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 extra_ldflags_libjava GCLIBS GCINCS GCDEPS GCSPEC JC1GCSPEC GCTESTSPEC USING_BOEHMGC_TRUE USING_BOEHMGC_FALSE USING_NOGC_TRUE USING_NOGC_FALSE THREADLIBS THREADINCS THREADDEPS THREADSPEC THREADLDFLAGS THREADCXXFLAGS USING_POSIX_THREADS_TRUE USING_POSIX_THREADS_FALSE USING_WIN32_THREADS_TRUE USING_WIN32_THREADS_FALSE USING_NO_THREADS_TRUE USING_NO_THREADS_FALSE HASH_SYNC_SPEC USING_GCC_TRUE USING_GCC_FALSE LIBICONV LTLIBICONV GTK_CFLAGS GTK_LIBS GLIB_CFLAGS GLIB_LIBS LIBART_CFLAGS LIBART_LIBS 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 # Only use libltdl for non-newlib builds.
4015 if test "x${with_newlib}" = "x" ||
test "x${with_newlib}" = "xno"; then
4016 echo "$as_me:$LINENO: checking dynamic linker characteristics" >&5
4017 echo $ECHO_N "checking dynamic linker characteristics... $ECHO_C" >&6
4019 libname_spec
='lib$name'
4027 shlibpath_overrides_runpath
=unknown
4029 dynamic_linker
="$host_os ld.so"
4030 sys_lib_dlsearch_path_spec
="/lib /usr/lib"
4031 if test "$GCC" = yes; then
4032 sys_lib_search_path_spec
=`$CC -print-search-dirs | grep "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
4033 if echo "$sys_lib_search_path_spec" |
grep ';' >/dev
/null
; then
4034 # if the path contains ";" then we assume it to be the separator
4035 # otherwise default to the standard path separator (i.e. ":") - it is
4036 # assumed that no part of a normal pathname contains ";" but that should
4037 # okay in the real world where ";" in dirpaths is itself problematic.
4038 sys_lib_search_path_spec
=`echo "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
4040 sys_lib_search_path_spec
=`echo "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
4043 sys_lib_search_path_spec
="/lib /usr/lib /usr/local/lib"
4045 need_lib_prefix
=unknown
4046 hardcode_into_libs
=no
4048 # when you set need_version to no, make sure it does not cause -set_version
4049 # flags to be left without arguments
4050 need_version
=unknown
4055 library_names_spec
='${libname}${release}${shared_ext}$versuffix $libname.a'
4056 shlibpath_var
=LIBPATH
4058 # AIX 3 has no versioning support, so we append a major version to the name.
4059 soname_spec
='${libname}${release}${shared_ext}$major'
4066 hardcode_into_libs
=yes
4067 if test "$host_cpu" = ia64
; then
4068 # AIX 5 supports IA64
4069 library_names_spec
='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
4070 shlibpath_var
=LD_LIBRARY_PATH
4072 # With GCC up to 2.95.x, collect2 would create an import file
4073 # for dependence libraries. The import file would start with
4074 # the line `#! .'. This would cause the generated library to
4075 # depend on `.', always an invalid library. This was fixed in
4076 # development snapshots of GCC prior to 3.0.
4078 aix4 | aix4.
[01] | aix4.
[01].
*)
4079 if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
4081 echo '#endif'; } |
${CC} -E - |
grep yes > /dev
/null
; then
4088 # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
4089 # soname into executable. Probably we can add versioning support to
4090 # collect2, so additional links can be useful in future.
4091 if test "$aix_use_runtimelinking" = yes; then
4092 # If using run time linking (on AIX 4.2 or later) use lib<name>.so
4093 # instead of lib<name>.a to let people know that these are not
4094 # typical AIX shared libraries.
4095 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
4097 # We preserve .a as extension for shared libraries through AIX4.2
4098 # and later when we are not doing run time linking.
4099 library_names_spec
='${libname}${release}.a $libname.a'
4100 soname_spec
='${libname}${release}${shared_ext}$major'
4102 shlibpath_var
=LIBPATH
4107 library_names_spec
='$libname.ixlibrary $libname.a'
4108 # Create ${libname}_ixlibrary.a entries in /sys/libs.
4109 finish_eval
='for lib in `ls $libdir/*.ixlibrary 2>/dev/null`; do libname=`$echo "X$lib" | $Xsed -e '\''s%^.*/\([^/]*\)\.ixlibrary$%\1%'\''`; test $rm /sys/libs/${libname}_ixlibrary.a; $show "(cd /sys/libs && $LN_S $lib ${libname}_ixlibrary.a)"; (cd /sys/libs && $LN_S $lib ${libname}_ixlibrary.a) || exit 1; done'
4113 library_names_spec
='${libname}${shared_ext}'
4114 dynamic_linker
="$host_os ld.so"
4115 shlibpath_var
=LIBRARY_PATH
4121 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
4122 soname_spec
='${libname}${release}${shared_ext}$major'
4123 finish_cmds
='PATH="\$PATH:/sbin" ldconfig $libdir'
4124 shlibpath_var
=LD_LIBRARY_PATH
4125 sys_lib_search_path_spec
="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
4126 sys_lib_dlsearch_path_spec
="/shlib /usr/lib /usr/local/lib"
4127 # the default ld.so.conf also contains /usr/contrib/lib and
4128 # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
4129 # libtool to hard-code these into programs
4132 cygwin
* | mingw
* | pw32
*)
4133 version_type
=windows
4138 case $GCC,$host_os in
4139 yes,cygwin
* |
yes,mingw
* |
yes,pw32
*)
4140 library_names_spec
='$libname.dll.a'
4141 # DLL is installed to $(libdir)/../bin by postinstall_cmds
4142 postinstall_cmds
='base_file=`basename \${file}`~
4143 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i;echo \$dlname'\''`~
4144 dldir=$destdir/`dirname \$dlpath`~
4145 test -d \$dldir || mkdir -p \$dldir~
4146 $install_prog $dir/$dlname \$dldir/$dlname'
4147 postuninstall_cmds
='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
4148 dlpath=$dir/\$dldll~
4150 shlibpath_overrides_runpath
=yes
4154 # Cygwin DLLs use 'cyg' prefix rather than 'lib'
4155 soname_spec
='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
4156 sys_lib_search_path_spec
="/lib /lib/w32api /usr/lib /usr/local/lib"
4159 # MinGW DLLs use traditional 'lib' prefix
4160 soname_spec
='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
4161 sys_lib_search_path_spec
=`$CC -print-search-dirs | grep "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
4162 if echo "$sys_lib_search_path_spec" |
grep ';[c-zC-Z]:/' >/dev
/null
; then
4163 # It is most probably a Windows format PATH printed by
4164 # mingw gcc, but we are running on Cygwin. Gcc prints its search
4165 # path with ; separators, and with drive letters. We can handle the
4166 # drive letters (cygwin fileutils understands them), so leave them,
4167 # especially as we might pass files found there to a mingw objdump,
4168 # which wouldn't understand a cygwinified path. Ahh.
4169 sys_lib_search_path_spec
=`echo "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
4171 sys_lib_search_path_spec
=`echo "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
4175 # pw32 DLLs use 'pw' prefix rather than 'lib'
4176 library_names_spec
='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/./-/g'`${versuffix}${shared_ext}'
4182 library_names_spec
='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
4185 dynamic_linker
='Win32 ld.exe'
4186 # FIXME: first we should search . and the directory the executable is in
4190 darwin
* | rhapsody
*)
4191 dynamic_linker
="$host_os dyld"
4195 # FIXME: Relying on posixy $() will cause problems for
4196 # cross-compilation, but unfortunately the echo tests do not
4197 # yet detect zsh echo's removal of \ escapes.
4198 library_names_spec
='${libname}${release}${versuffix}$shared_ext ${libname}${release}${major}$shared_ext ${libname}$shared_ext'
4199 soname_spec
='${libname}${release}${major}$shared_ext'
4200 shlibpath_overrides_runpath
=yes
4201 shlibpath_var
=DYLD_LIBRARY_PATH
4202 shrext
='$(test .$module = .yes && echo .so || echo .dylib)'
4203 # Apple's gcc prints 'gcc -print-search-dirs' doesn't operate the same.
4204 if $CC -v 2>&1 |
grep 'Apple' >/dev
/null
; then
4205 sys_lib_search_path_spec
=`$CC -print-search-dirs | tr "\n" "$PATH_SEPARATOR" | sed -e 's/libraries:/@libraries:/' | tr "@" "\n" | grep "^libraries:" | sed -e "s/^libraries://" -e "s,=/,/,g" -e "s,$PATH_SEPARATOR, ,g" -e "s,.*,& /lib /usr/lib /usr/local/lib,g"`
4207 sys_lib_dlsearch_path_spec
='/usr/local/lib /lib /usr/lib'
4214 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
4215 soname_spec
='${libname}${release}${shared_ext}$major'
4216 shlibpath_var
=LD_LIBRARY_PATH
4224 objformat
=`test -x /usr/bin/objformat && /usr/bin/objformat || echo aout`
4225 version_type
=freebsd-
$objformat
4226 case $version_type in
4228 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
4233 library_names_spec
='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
4237 shlibpath_var
=LD_LIBRARY_PATH
4240 shlibpath_overrides_runpath
=yes
4242 freebsd3.01
* | freebsdelf3.01
*)
4243 shlibpath_overrides_runpath
=yes
4244 hardcode_into_libs
=yes
4247 shlibpath_overrides_runpath
=no
4248 hardcode_into_libs
=yes
4257 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
4258 soname_spec
='${libname}${release}${shared_ext}$major'
4259 shlibpath_var
=LD_LIBRARY_PATH
4260 hardcode_into_libs
=yes
4263 hpux9
* | hpux10
* | hpux11
*)
4264 # Give a soname corresponding to the major version so that dld.sl refuses to
4265 # link against other versions.
4272 hardcode_into_libs
=yes
4273 dynamic_linker
="$host_os dld.so"
4274 shlibpath_var
=LD_LIBRARY_PATH
4275 shlibpath_overrides_runpath
=yes # Unless +noenvvar is specified.
4276 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
4277 soname_spec
='${libname}${release}${shared_ext}$major'
4278 if test "X$HPUX_IA64_MODE" = X32
; then
4279 sys_lib_search_path_spec
="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
4281 sys_lib_search_path_spec
="/usr/lib/hpux64 /usr/local/lib/hpux64"
4283 sys_lib_dlsearch_path_spec
=$sys_lib_search_path_spec
4287 hardcode_into_libs
=yes
4288 dynamic_linker
="$host_os dld.sl"
4289 shlibpath_var
=LD_LIBRARY_PATH
# How should we handle SHLIB_PATH
4290 shlibpath_overrides_runpath
=yes # Unless +noenvvar is specified.
4291 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
4292 soname_spec
='${libname}${release}${shared_ext}$major'
4293 sys_lib_search_path_spec
="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
4294 sys_lib_dlsearch_path_spec
=$sys_lib_search_path_spec
4298 dynamic_linker
="$host_os dld.sl"
4299 shlibpath_var
=SHLIB_PATH
4300 shlibpath_overrides_runpath
=no
# +s is required to enable SHLIB_PATH
4301 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
4302 soname_spec
='${libname}${release}${shared_ext}$major'
4305 # HP-UX runs *really* slowly unless shared libraries are mode 555.
4306 postinstall_cmds
='chmod 555 $lib'
4309 irix5
* | irix6
* | nonstopux
*)
4311 nonstopux
*) version_type
=nonstopux
;;
4313 if test "$lt_cv_prog_gnu_ld" = yes; then
4321 soname_spec
='${libname}${release}${shared_ext}$major'
4322 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
4324 irix5
* | nonstopux
*)
4328 case $LD in # libtool.m4 will add one of these switches to LD
4329 *-32|
*"-32 "|
*-melf32bsmip|
*"-melf32bsmip ")
4330 libsuff
= shlibsuff
= libmagic
=32-bit;;
4331 *-n32|
*"-n32 "|
*-melf32bmipn32|
*"-melf32bmipn32 ")
4332 libsuff
=32 shlibsuff
=N32 libmagic
=N32
;;
4333 *-64|
*"-64 "|
*-melf64bmip|
*"-melf64bmip ")
4334 libsuff
=64 shlibsuff
=64 libmagic
=64-bit;;
4335 *) libsuff
= shlibsuff
= libmagic
=never-match
;;
4339 shlibpath_var
=LD_LIBRARY
${shlibsuff}_PATH
4340 shlibpath_overrides_runpath
=no
4341 sys_lib_search_path_spec
="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
4342 sys_lib_dlsearch_path_spec
="/usr/lib${libsuff} /lib${libsuff}"
4343 hardcode_into_libs
=yes
4346 # No shared lib support for Linux oldld, aout, or coff.
4347 linux
*oldld
* | linux
*aout
* | linux
*coff
*)
4351 # This must be Linux ELF.
4356 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
4357 soname_spec
='${libname}${release}${shared_ext}$major'
4358 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -n $libdir'
4359 shlibpath_var
=LD_LIBRARY_PATH
4360 shlibpath_overrides_runpath
=no
4361 # This implies no fast_install, which is unacceptable.
4362 # Some rework will be needed to allow for fast_install
4363 # before this can be enabled.
4364 hardcode_into_libs
=yes
4366 # We used to test for /lib/ld.so.1 and disable shared libraries on
4367 # powerpc, because MkLinux only supported shared libraries with the
4368 # GNU dynamic linker. Since this was broken with cross compilers,
4369 # most powerpc-linux boxes support dynamic linking these days and
4370 # people can always --disable-shared, the test was removed, and we
4371 # assume the GNU/Linux dynamic linker is in use.
4372 dynamic_linker
='GNU/Linux ld.so'
4379 if echo __ELF__ |
$CC -E - |
grep __ELF__
>/dev
/null
; then
4380 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
4381 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -m $libdir'
4382 dynamic_linker
='NetBSD (a.out) ld.so'
4384 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} ${libname}${shared_ext}'
4385 soname_spec
='${libname}${release}${shared_ext}$major'
4386 dynamic_linker
='NetBSD ld.elf_so'
4388 shlibpath_var
=LD_LIBRARY_PATH
4389 shlibpath_overrides_runpath
=yes
4390 hardcode_into_libs
=yes
4395 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
4396 shlibpath_var
=LD_LIBRARY_PATH
4397 shlibpath_overrides_runpath
=yes
4404 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
4405 soname_spec
='${libname}${release}${shared_ext}$major'
4406 shlibpath_var
=LD_LIBRARY_PATH
4407 shlibpath_overrides_runpath
=yes
4414 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
4415 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -m $libdir'
4416 shlibpath_var
=LD_LIBRARY_PATH
4417 if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" ||
test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
4419 openbsd2.
[89] | openbsd2.
[89].
*)
4420 shlibpath_overrides_runpath
=no
4423 shlibpath_overrides_runpath
=yes
4427 shlibpath_overrides_runpath
=yes
4432 libname_spec
='$name'
4435 library_names_spec
='$libname${shared_ext} $libname.a'
4436 dynamic_linker
='OS/2 ld.exe'
4437 shlibpath_var
=LIBPATH
4440 osf3
* | osf4
* | osf5
*)
4444 soname_spec
='${libname}${release}${shared_ext}$major'
4445 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
4446 shlibpath_var
=LD_LIBRARY_PATH
4447 sys_lib_search_path_spec
="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
4448 sys_lib_dlsearch_path_spec
="$sys_lib_search_path_spec"
4453 soname_spec
='${libname}${release}${shared_ext}$major'
4454 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
4455 shlibpath_var
=LD_LIBRARY_PATH
4462 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
4463 soname_spec
='${libname}${release}${shared_ext}$major'
4464 shlibpath_var
=LD_LIBRARY_PATH
4465 shlibpath_overrides_runpath
=yes
4466 hardcode_into_libs
=yes
4467 # ldd complains unless libraries are executable
4468 postinstall_cmds
='chmod +x $lib'
4473 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
4474 finish_cmds
='PATH="\$PATH:/usr/etc" ldconfig $libdir'
4475 shlibpath_var
=LD_LIBRARY_PATH
4476 shlibpath_overrides_runpath
=yes
4477 if test "$with_gnu_ld" = yes; then
4483 sysv4 | sysv4.2uw2
* | sysv4.3
* | sysv5
*)
4485 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
4486 soname_spec
='${libname}${release}${shared_ext}$major'
4487 shlibpath_var
=LD_LIBRARY_PATH
4488 case $host_vendor in
4490 shlibpath_overrides_runpath
=no
4492 export_dynamic_flag_spec
='${wl}-Blargedynsym'
4493 runpath_var
=LD_RUN_PATH
4501 shlibpath_overrides_runpath
=no
4502 sys_lib_search_path_spec
='/lib /usr/lib /usr/ccs/lib'
4508 if test -d /usr
/nec
;then
4510 library_names_spec
='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
4511 soname_spec
='$libname${shared_ext}.$major'
4512 shlibpath_var
=LD_LIBRARY_PATH
4518 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
4519 soname_spec
='${libname}${release}${shared_ext}$major'
4520 shlibpath_var
=LD_LIBRARY_PATH
4527 echo "$as_me:$LINENO: result: $dynamic_linker" >&5
4528 echo "${ECHO_T}$dynamic_linker" >&6
4529 test "$dynamic_linker" = no
&& can_build_shared
=no
4532 echo "$as_me:$LINENO: checking which variable specifies run-time library path" >&5
4533 echo $ECHO_N "checking which variable specifies run-time library path... $ECHO_C" >&6
4534 if test "${libltdl_cv_shlibpath_var+set}" = set; then
4535 echo $ECHO_N "(cached) $ECHO_C" >&6
4537 libltdl_cv_shlibpath_var
="$shlibpath_var"
4539 echo "$as_me:$LINENO: result: $libltdl_cv_shlibpath_var" >&5
4540 echo "${ECHO_T}$libltdl_cv_shlibpath_var" >&6
4541 if test -n "$libltdl_cv_shlibpath_var"; then
4543 cat >>confdefs.h
<<_ACEOF
4544 #define LTDL_SHLIBPATH_VAR "$libltdl_cv_shlibpath_var"
4551 ac_config_headers
="$ac_config_headers include/config.h gcj/libgcj-config.h"
4554 # See if the user has requested runtime debugging.
4555 LIBGCJDEBUG
="disable"
4557 # Check whether --enable-libgcj-debug or --disable-libgcj-debug was given.
4558 if test "${enable_libgcj_debug+set}" = set; then
4559 enableval
="$enable_libgcj_debug"
4560 if test "$enable_libgcj_debug" = yes; then
4562 cat >>confdefs.h
<<\_ACEOF
4566 LIBGCJDEBUG
="enable"
4570 # Determine which AWT peer libraries to build
4571 # Check whether --enable-java-awt or --disable-java-awt was given.
4572 if test "${enable_java_awt+set}" = set; then
4573 enableval
="$enable_java_awt"
4577 peerlibs
="`echo ${enable_java_awt} | tr ',' ' '`"
4580 # The default toolkit to use is the first one specified.
4584 for peer
in $peerlibs ; do
4587 if test "$no_x" = yes; then
4588 echo "*** xlib peers requested but no X library available" 1>&2
4592 if test -z "$TOOLKIT"; then
4593 TOOLKIT
=gnu.awt.xlib.XToolkit
4598 if test "$no_x" = yes; then
4599 echo "*** xlib peers requested but no X library available" 1>&2
4603 if test -z "$TOOLKIT"; then
4604 TOOLKIT
=gnu.java.awt.peer.gtk.GtkToolkit
4614 echo "*** unrecognised argument \"${peer}\" for --enable-java-awt" 1>&2
4621 if test "$use_xlib_awt" = yes; then
4631 if test "$use_gtk_awt" = yes; then
4640 # Create standard.omit based on decisions we just made.
4641 cp $srcdir/standard.omit.
in standard.omit
4642 if test "$use_xlib_awt" != yes; then
4643 echo gnu
/awt
/xlib
>> standard.omit
4644 echo gnu
/gcj
/xlib
>> standard.omit
4646 if test "$use_gtk_awt" != yes; then
4647 echo gnu
/java
/awt
/peer
/gtk
>> standard.omit
4650 if test -z "${with_multisubdir}"; then
4653 builddotdot
=`echo ${with_multisubdir} | sed -e 's:[^/][^/]*:..:g'`
4658 # Which gcj do we use?
4660 built_gcc_dir
="`cd ${builddotdot}/../../${host_subdir}/gcc && ${PWDCMD-pwd}`"
4661 if test -n "${with_cross_host}"; then
4662 # We are being configured with a cross compiler. We can't
4663 # use ac_exeext, because that is for the target platform.
4666 case "${with_cross_host}" in
4668 cross_host_exeext
=.exe
4671 if test -x "${built_gcc_dir}/gcj${cross_host_exeext}"; then
4672 if test x
"$build_noncanonical" = x
"$with_cross_host"; then
4673 # Ordinary cross (host!=target and host=build)
4676 # Canadian cross (host!=target and host!=build)
4683 # We are being configured with a native or crossed-native compiler
4684 if test -x "${built_gcc_dir}/gcj${ac_exeext}"; then
4685 if test x
"$build" = x
"$host"; then
4686 # True native build (host=target and host=build)
4689 # Crossed-native build (host=target and host!=build)
4696 case "${which_gcj}" in
4698 GCJ
="$built_gcc_dir/gcj -B`${PWDCMD-pwd}`/ -B$built_gcc_dir/"
4699 GCJH
='$(top_builddir)/$(MULTIBUILDTOP)../../$(host_subdir)/gcc/gcjh'
4700 ZIP
='$(top_builddir)/$(MULTIBUILDTOP)../../$(host_subdir)/fastjar/fastjar'
4703 if test "x${with_newlib}" = "xyes"; then
4704 # FIXME (comment): Why is this needed?
4706 GCJ
="${target_noncanonical}-gcj"
4708 GCJ
="${target_noncanonical}-gcj -B`${PWDCMD-pwd}`/"
4710 ZIP
='$(target_noncanonical)-fastjar'
4711 GCJH
='$(target_noncanonical)-gcjh'
4714 GCJ
="gcj -B`${PWDCMD-pwd}`/"
4715 ## In this case, gcj is found outside the build tree. However, zip is
4716 ## found in the build tree.
4717 ZIP
='$(top_builddir)/$(MULTIBUILDTOP)../$(COMPPATH)/fastjar/fastjar'
4725 # Create it, so that compile/link tests don't fail
4726 test -f libgcj.spec ||
touch libgcj.spec
4730 # Set up to configure Classpath.
4731 # FIXME: no supported way to pass args in autoconf.
4732 ac_configure_args
="$ac_configure_args --disable-load-library"
4733 ac_configure_args
="$ac_configure_args --${LIBGCJDEBUG}-debug"
4734 ac_configure_args
="$ac_configure_args --enable-default-toolkit=$TOOLKIT"
4735 dir1
=`cd $srcdir && pwd`
4737 ac_configure_args
="$ac_configure_args --with-vm-classes=$dir1:$dir2"
4738 ac_configure_args
="$ac_configure_args --disable-core-jni"
4739 ac_configure_args
="$ac_configure_args --disable-examples"
4740 ac_configure_args
="$ac_configure_args --with-glibj=build"
4741 if test "$use_gtk_awt" != yes; then
4742 ac_configure_args
="$ac_configure_args --disable-gtk-peer"
4745 # Only use libltdl for non-newlib builds.
4746 if test "x${with_newlib}" = "x" ||
test "x${with_newlib}" = "xno"; then
4747 case $enable_ltdl_convenience in
4748 no
) { { echo "$as_me:$LINENO: error: this package needs a convenience libltdl" >&5
4749 echo "$as_me: error: this package needs a convenience libltdl" >&2;}
4750 { (exit 1); exit 1; }; } ;;
4751 "") enable_ltdl_convenience
=yes
4752 ac_configure_args
="$ac_configure_args --enable-ltdl-convenience" ;;
4754 LIBLTDL
='${top_builddir}/''libltdl'/libltdlc.la
4755 INCLTDL
='-I${top_srcdir}/''libltdl'
4760 cat >>confdefs.h
<<\_ACEOF
4764 # Sigh. Libtool's macro doesn't do the right thing.
4765 INCLTDL
="-I\$(top_srcdir)/libltdl $INCLTDL"
4766 # FIXME: this is a hack.
4767 sub_auxdir
="`cd $ac_aux_dir && ${PWDCMD-pwd}`"
4768 ac_configure_args
="$ac_configure_args --with-auxdir=$sub_auxdir"
4773 # Check whether --enable-shared or --disable-shared was given.
4774 if test "${enable_shared+set}" = set; then
4775 enableval
="$enable_shared"
4776 p
=${PACKAGE-default}
4778 yes) enable_shared
=yes ;;
4779 no
) enable_shared
=no
;;
4782 # Look at the argument we got. We use all the common list separators.
4783 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
="${IFS}:,"
4784 for pkg
in $enableval; do
4785 if test "X$pkg" = "X$p"; then
4795 # Check whether --enable-static or --disable-static was given.
4796 if test "${enable_static+set}" = set; then
4797 enableval
="$enable_static"
4798 p
=${PACKAGE-default}
4800 yes) enable_static
=yes ;;
4801 no
) enable_static
=no
;;
4804 # Look at the argument we got. We use all the common list separators.
4805 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
="${IFS}:,"
4806 for pkg
in $enableval; do
4807 if test "X$pkg" = "X$p"; then
4817 # Check whether --enable-fast-install or --disable-fast-install was given.
4818 if test "${enable_fast_install+set}" = set; then
4819 enableval
="$enable_fast_install"
4820 p
=${PACKAGE-default}
4822 yes) enable_fast_install
=yes ;;
4823 no
) enable_fast_install
=no
;;
4825 enable_fast_install
=no
4826 # Look at the argument we got. We use all the common list separators.
4827 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
="${IFS}:,"
4828 for pkg
in $enableval; do
4829 if test "X$pkg" = "X$p"; then
4830 enable_fast_install
=yes
4837 enable_fast_install
=yes
4840 # Check whether --with-gnu-ld or --without-gnu-ld was given.
4841 if test "${with_gnu_ld+set}" = set; then
4842 withval
="$with_gnu_ld"
4843 test "$withval" = no || with_gnu_ld
=yes
4848 if test "$GCC" = yes; then
4849 # Check if gcc -print-prog-name=ld gives a path.
4850 echo "$as_me:$LINENO: checking for ld used by GCC" >&5
4851 echo $ECHO_N "checking for ld used by GCC... $ECHO_C" >&6
4854 # gcc leaves a trailing carriage return which upsets mingw
4855 ac_prog
=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
4857 ac_prog
=`($CC -print-prog-name=ld) 2>&5` ;;
4860 # Accept absolute paths.
4861 [\\/]* |
[A-Za-z
]:[\\/]*)
4862 re_direlt
='/[^/][^/]*/\.\./'
4863 # Canonicalize the path of ld
4864 ac_prog
=`echo $ac_prog| sed 's%\\\\%/%g'`
4865 while echo $ac_prog |
grep "$re_direlt" > /dev
/null
2>&1; do
4866 ac_prog
=`echo $ac_prog| sed "s%$re_direlt%/%"`
4868 test -z "$LD" && LD
="$ac_prog"
4871 # If it fails, then pretend we aren't using GCC.
4875 # If it is relative, then search for the first ld in PATH.
4879 elif test "$with_gnu_ld" = yes; then
4880 echo "$as_me:$LINENO: checking for GNU ld" >&5
4881 echo $ECHO_N "checking for GNU ld... $ECHO_C" >&6
4883 echo "$as_me:$LINENO: checking for non-GNU ld" >&5
4884 echo $ECHO_N "checking for non-GNU ld... $ECHO_C" >&6
4886 if test "${lt_cv_path_LD+set}" = set; then
4887 echo $ECHO_N "(cached) $ECHO_C" >&6
4889 if test -z "$LD"; then
4890 IFS
="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}${PATH_SEPARATOR-:}"
4891 for ac_dir
in $PATH; do
4892 test -z "$ac_dir" && ac_dir
=.
4893 if test -f "$ac_dir/$ac_prog" ||
test -f "$ac_dir/$ac_prog$ac_exeext"; then
4894 lt_cv_path_LD
="$ac_dir/$ac_prog"
4895 # Check to see if the program is GNU ld. I'd rather use --version,
4896 # but apparently some GNU ld's only accept -v.
4897 # Break only if it was the GNU/non-GNU ld that we prefer.
4898 if "$lt_cv_path_LD" -v 2>&1 < /dev
/null |
egrep '(GNU|with BFD)' > /dev
/null
; then
4899 test "$with_gnu_ld" != no
&& break
4901 test "$with_gnu_ld" != yes && break
4907 lt_cv_path_LD
="$LD" # Let the user override the test with a path.
4912 if test -n "$LD"; then
4913 echo "$as_me:$LINENO: result: $LD" >&5
4914 echo "${ECHO_T}$LD" >&6
4916 echo "$as_me:$LINENO: result: no" >&5
4917 echo "${ECHO_T}no" >&6
4919 test -z "$LD" && { { echo "$as_me:$LINENO: error: no acceptable ld found in \$PATH" >&5
4920 echo "$as_me: error: no acceptable ld found in \$PATH" >&2;}
4921 { (exit 1); exit 1; }; }
4922 echo "$as_me:$LINENO: checking if the linker ($LD) is GNU ld" >&5
4923 echo $ECHO_N "checking if the linker ($LD) is GNU ld... $ECHO_C" >&6
4924 if test "${lt_cv_prog_gnu_ld+set}" = set; then
4925 echo $ECHO_N "(cached) $ECHO_C" >&6
4927 # I'd rather use --version here, but apparently some GNU ld's only accept -v.
4928 if $LD -v 2>&1 </dev
/null |
egrep '(GNU|with BFD)' 1>&5; then
4929 lt_cv_prog_gnu_ld
=yes
4931 lt_cv_prog_gnu_ld
=no
4934 echo "$as_me:$LINENO: result: $lt_cv_prog_gnu_ld" >&5
4935 echo "${ECHO_T}$lt_cv_prog_gnu_ld" >&6
4936 with_gnu_ld
=$lt_cv_prog_gnu_ld
4939 echo "$as_me:$LINENO: checking for $LD option to reload object files" >&5
4940 echo $ECHO_N "checking for $LD option to reload object files... $ECHO_C" >&6
4941 if test "${lt_cv_ld_reload_flag+set}" = set; then
4942 echo $ECHO_N "(cached) $ECHO_C" >&6
4944 lt_cv_ld_reload_flag
='-r'
4946 echo "$as_me:$LINENO: result: $lt_cv_ld_reload_flag" >&5
4947 echo "${ECHO_T}$lt_cv_ld_reload_flag" >&6
4948 reload_flag
=$lt_cv_ld_reload_flag
4949 test -n "$reload_flag" && reload_flag
=" $reload_flag"
4951 echo "$as_me:$LINENO: checking for BSD-compatible nm" >&5
4952 echo $ECHO_N "checking for BSD-compatible nm... $ECHO_C" >&6
4953 if test "${lt_cv_path_NM+set}" = set; then
4954 echo $ECHO_N "(cached) $ECHO_C" >&6
4956 if test -n "$NM"; then
4957 # Let the user override the test.
4960 IFS
="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}${PATH_SEPARATOR-:}"
4961 for ac_dir
in $PATH /usr
/ccs
/bin
/usr
/ucb
/bin
; do
4962 test -z "$ac_dir" && ac_dir
=.
4963 tmp_nm
=$ac_dir/${ac_tool_prefix}nm
4964 if test -f $tmp_nm ||
test -f $tmp_nm$ac_exeext ; then
4965 # Check to see if the nm accepts a BSD-compat flag.
4966 # Adding the `sed 1q' prevents false positives on HP-UX, which says:
4967 # nm: unknown option "B" ignored
4968 # Tru64's nm complains that /dev/null is an invalid object file
4969 if ($tmp_nm -B /dev
/null
2>&1 |
sed '1q'; exit 0) |
egrep '(/dev/null|Invalid file or object type)' >/dev
/null
; then
4970 lt_cv_path_NM
="$tmp_nm -B"
4972 elif ($tmp_nm -p /dev
/null
2>&1 |
sed '1q'; exit 0) |
egrep /dev
/null
>/dev
/null
; then
4973 lt_cv_path_NM
="$tmp_nm -p"
4976 lt_cv_path_NM
=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but
4977 continue # so that we can try to find one that supports BSD flags
4982 test -z "$lt_cv_path_NM" && lt_cv_path_NM
=nm
4987 echo "$as_me:$LINENO: result: $NM" >&5
4988 echo "${ECHO_T}$NM" >&6
4990 echo "$as_me:$LINENO: checking how to recognise dependant libraries" >&5
4991 echo $ECHO_N "checking how to recognise dependant libraries... $ECHO_C" >&6
4992 if test "${lt_cv_deplibs_check_method+set}" = set; then
4993 echo $ECHO_N "(cached) $ECHO_C" >&6
4995 lt_cv_file_magic_cmd
='$MAGIC_CMD'
4996 lt_cv_file_magic_test_file
=
4997 lt_cv_deplibs_check_method
='unknown'
4998 # Need to set the preceding variable on all platforms that support
4999 # interlibrary dependencies.
5000 # 'none' -- dependencies not supported.
5001 # `unknown' -- same as none, but documents that we really don't know.
5002 # 'pass_all' -- all dependencies passed with no checks.
5003 # 'test_compile' -- check by making test program.
5004 # 'file_magic [regex]' -- check by looking for files in library path
5005 # which responds to the $file_magic_cmd with a given egrep regex.
5006 # If you have `file' or equivalent on your system and you're not sure
5007 # whether `pass_all' will *always* work, you probably want this one.
5011 lt_cv_deplibs_check_method
=pass_all
5015 lt_cv_deplibs_check_method
=pass_all
5019 lt_cv_deplibs_check_method
='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib)'
5020 lt_cv_file_magic_cmd
='/usr/bin/file -L'
5021 lt_cv_file_magic_test_file
=/shlib
/libc.so
5024 cygwin
* | mingw
* |pw32
*)
5025 lt_cv_deplibs_check_method
='file_magic file format pei*-i386(.*architecture: i386)?'
5026 lt_cv_file_magic_cmd
='$OBJDUMP -f'
5029 darwin
* | rhapsody
*)
5030 # this will be overwritten by pass_all, but leave it in just in case
5031 lt_cv_deplibs_check_method
='file_magic Mach-O dynamically linked shared library'
5032 lt_cv_file_magic_cmd
='/usr/bin/file -L'
5034 rhapsody
* | darwin1.012
)
5035 lt_cv_file_magic_test_file
='/System/Library/Frameworks/System.framework/System'
5038 lt_cv_file_magic_test_file
='/usr/lib/libSystem.dylib'
5041 lt_cv_deplibs_check_method
=pass_all
5044 freebsd
* | kfreebsd
*-gnu)
5045 if echo __ELF__ |
$CC -E - |
grep __ELF__
> /dev
/null
; then
5048 # Not sure whether the presence of OpenBSD here was a mistake.
5049 # Let's accept both of them until this is cleared up.
5050 lt_cv_deplibs_check_method
='file_magic (FreeBSD|OpenBSD)/i[3-9]86 (compact )?demand paged shared library'
5051 lt_cv_file_magic_cmd
=/usr
/bin
/file
5052 lt_cv_file_magic_test_file
=`echo /usr/lib/libc.so.*`
5056 lt_cv_deplibs_check_method
=pass_all
5061 lt_cv_deplibs_check_method
=pass_all
5067 lt_cv_deplibs_check_method
='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9].[0-9]) shared library'
5068 lt_cv_file_magic_cmd
=/usr
/bin
/file
5069 lt_cv_file_magic_test_file
=/usr
/lib
/libc.sl
5072 lt_cv_deplibs_check_method
='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - IA64'
5073 lt_cv_file_magic_cmd
=/usr
/bin
/file
5074 lt_cv_file_magic_test_file
=/usr
/lib
/hpux32
/libc.so
5082 # this will be overridden with pass_all, but let us keep it just in case
5083 lt_cv_deplibs_check_method
="file_magic ELF 32-bit MSB dynamic lib MIPS - version 1"
5087 *-32|
*"-32 ") libmagic
=32-bit;;
5088 *-n32|
*"-n32 ") libmagic
=N32
;;
5089 *-64|
*"-64 ") libmagic
=64-bit;;
5090 *) libmagic
=never-match
;;
5092 # this will be overridden with pass_all, but let us keep it just in case
5093 lt_cv_deplibs_check_method
="file_magic ELF ${libmagic} MSB mips-[1234] dynamic lib MIPS - version 1"
5096 lt_cv_file_magic_test_file
=`echo /lib${libsuff}/libc.so*`
5097 lt_cv_deplibs_check_method
=pass_all
5100 # This must be Linux ELF.
5102 lt_cv_deplibs_check_method
=pass_all
5105 netbsd
* | knetbsd
*-gnu)
5106 if echo __ELF__ |
$CC -E - |
grep __ELF__
> /dev
/null
; then
5107 lt_cv_deplibs_check_method
='match_pattern /lib[^/\.]+\.so\.[0-9]+\.[0-9]+$'
5109 lt_cv_deplibs_check_method
='match_pattern /lib[^/\.]+\.so$'
5114 lt_cv_deplibs_check_method
='file_magic ELF [0-9][0-9]*-bit [ML]SB (executable|dynamic lib)'
5115 lt_cv_file_magic_cmd
=/usr
/bin
/file
5116 lt_cv_file_magic_test_file
=/usr
/lib
/libnls.so
5119 osf3
* | osf4
* | osf5
*)
5120 # this will be overridden with pass_all, but let us keep it just in case
5121 lt_cv_deplibs_check_method
='file_magic COFF format alpha shared library'
5122 lt_cv_file_magic_test_file
=/shlib
/libc.so
5123 lt_cv_deplibs_check_method
=pass_all
5127 lt_cv_deplibs_check_method
=pass_all
5131 lt_cv_deplibs_check_method
=pass_all
5132 lt_cv_file_magic_test_file
=/lib
/libc.so
5135 sysv5uw
[78]* | sysv4
*uw2
*)
5136 lt_cv_deplibs_check_method
=pass_all
5139 sysv4 | sysv4.2uw2
* | sysv4.3
* | sysv5
*)
5140 case $host_vendor in
5142 lt_cv_deplibs_check_method
=pass_all
5145 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]'
5146 lt_cv_file_magic_test_file
=`echo /usr/lib/libc.so*`
5153 echo "$as_me:$LINENO: result: $lt_cv_deplibs_check_method" >&5
5154 echo "${ECHO_T}$lt_cv_deplibs_check_method" >&6
5155 file_magic_cmd
=$lt_cv_file_magic_cmd
5156 deplibs_check_method
=$lt_cv_deplibs_check_method
5161 # Autoconf 2.13's AC_OBJEXT and AC_EXEEXT macros only works for C compilers!
5163 # find the maximum length of command line arguments
5164 echo "$as_me:$LINENO: checking the maximum length of command line arguments" >&5
5165 echo $ECHO_N "checking the maximum length of command line arguments... $ECHO_C" >&6
5166 if test "${lt_cv_sys_max_cmd_len+set}" = set; then
5167 echo $ECHO_N "(cached) $ECHO_C" >&6
5174 # On DJGPP, this test can blow up pretty badly due to problems in libc
5175 # (any single argument exceeding 2000 bytes causes a buffer overrun
5176 # during glob expansion). Even if it were fixed, the result of this
5177 # check would be larger than it should be.
5178 lt_cv_sys_max_cmd_len
=12288; # 12K is about right
5182 # On Win9x/ME, this test blows up -- it succeeds, but takes
5183 # about 5 minutes as the teststring grows exponentially.
5184 # Worse, since 9x/ME are not pre-emptively multitasking,
5185 # you end up with a "frozen" computer, even though with patience
5186 # the test eventually succeeds (with a max line length of 256k).
5187 # Instead, let's just punt: use the minimum linelength reported by
5188 # all of the supported platforms: 8192 (on NT/2K/XP).
5189 lt_cv_sys_max_cmd_len
=8192;
5193 # On AmigaOS with pdksh, this test takes hours, literally.
5194 # So we just punt and use a minimum line length of 8192.
5195 lt_cv_sys_max_cmd_len
=8192;
5198 netbsd
* | freebsd
* | openbsd
* | darwin
* | dragonfly
*)
5199 # This has been around since 386BSD, at least. Likely further.
5200 if test -x /sbin
/sysctl
; then
5201 lt_cv_sys_max_cmd_len
=`/sbin/sysctl -n kern.argmax`
5202 elif test -x /usr
/sbin
/sysctl
; then
5203 lt_cv_sys_max_cmd_len
=`/usr/sbin/sysctl -n kern.argmax`
5205 lt_cv_sys_max_cmd_len
=65536 # usable default for *BSD
5207 # And add a safety zone
5208 lt_cv_sys_max_cmd_len
=`expr $lt_cv_sys_max_cmd_len \/ 4`
5209 lt_cv_sys_max_cmd_len
=`expr $lt_cv_sys_max_cmd_len \* 3`
5215 if test -n "$lt_cv_sys_max_cmd_len" ; then
5216 echo "$as_me:$LINENO: result: $lt_cv_sys_max_cmd_len" >&5
5217 echo "${ECHO_T}$lt_cv_sys_max_cmd_len" >&6
5219 echo "$as_me:$LINENO: result: none" >&5
5220 echo "${ECHO_T}none" >&6
5224 # Only perform the check for file, if the check method requires it
5225 case $deplibs_check_method in
5227 if test "$file_magic_cmd" = '$MAGIC_CMD'; then
5228 echo "$as_me:$LINENO: checking for ${ac_tool_prefix}file" >&5
5229 echo $ECHO_N "checking for ${ac_tool_prefix}file... $ECHO_C" >&6
5230 if test "${lt_cv_path_MAGIC_CMD+set}" = set; then
5231 echo $ECHO_N "(cached) $ECHO_C" >&6
5235 lt_cv_path_MAGIC_CMD
="$MAGIC_CMD" # Let the user override the test with a path.
5238 lt_cv_path_MAGIC_CMD
="$MAGIC_CMD" # Let the user override the test with a dos path.
5241 ac_save_MAGIC_CMD
="$MAGIC_CMD"
5242 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
=":"
5243 ac_dummy
="/usr/bin:$PATH"
5244 for ac_dir
in $ac_dummy; do
5245 test -z "$ac_dir" && ac_dir
=.
5246 if test -f $ac_dir/${ac_tool_prefix}file; then
5247 lt_cv_path_MAGIC_CMD
="$ac_dir/${ac_tool_prefix}file"
5248 if test -n "$file_magic_test_file"; then
5249 case $deplibs_check_method in
5251 file_magic_regex
="`expr \"$deplibs_check_method\" : \"file_magic \(.*\)\"`"
5252 MAGIC_CMD
="$lt_cv_path_MAGIC_CMD"
5253 if eval $file_magic_cmd \
$file_magic_test_file 2> /dev
/null |
5254 egrep "$file_magic_regex" > /dev
/null
; then
5259 *** Warning: the command libtool uses to detect shared libraries,
5260 *** $file_magic_cmd, produces output that libtool cannot recognize.
5261 *** The result is that libtool may fail to recognize shared libraries
5262 *** as such. This will affect the creation of libtool libraries that
5263 *** depend on shared libraries, but programs linked with such libtool
5264 *** libraries will work regardless of this problem. Nevertheless, you
5265 *** may want to report the problem to your system manager and/or to
5266 *** bug-libtool@gnu.org
5276 MAGIC_CMD
="$ac_save_MAGIC_CMD"
5281 MAGIC_CMD
="$lt_cv_path_MAGIC_CMD"
5282 if test -n "$MAGIC_CMD"; then
5283 echo "$as_me:$LINENO: result: $MAGIC_CMD" >&5
5284 echo "${ECHO_T}$MAGIC_CMD" >&6
5286 echo "$as_me:$LINENO: result: no" >&5
5287 echo "${ECHO_T}no" >&6
5290 if test -z "$lt_cv_path_MAGIC_CMD"; then
5291 if test -n "$ac_tool_prefix"; then
5292 echo "$as_me:$LINENO: checking for file" >&5
5293 echo $ECHO_N "checking for file... $ECHO_C" >&6
5294 if test "${lt_cv_path_MAGIC_CMD+set}" = set; then
5295 echo $ECHO_N "(cached) $ECHO_C" >&6
5299 lt_cv_path_MAGIC_CMD
="$MAGIC_CMD" # Let the user override the test with a path.
5302 lt_cv_path_MAGIC_CMD
="$MAGIC_CMD" # Let the user override the test with a dos path.
5305 ac_save_MAGIC_CMD
="$MAGIC_CMD"
5306 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
=":"
5307 ac_dummy
="/usr/bin:$PATH"
5308 for ac_dir
in $ac_dummy; do
5309 test -z "$ac_dir" && ac_dir
=.
5310 if test -f $ac_dir/file; then
5311 lt_cv_path_MAGIC_CMD
="$ac_dir/file"
5312 if test -n "$file_magic_test_file"; then
5313 case $deplibs_check_method in
5315 file_magic_regex
="`expr \"$deplibs_check_method\" : \"file_magic \(.*\)\"`"
5316 MAGIC_CMD
="$lt_cv_path_MAGIC_CMD"
5317 if eval $file_magic_cmd \
$file_magic_test_file 2> /dev
/null |
5318 egrep "$file_magic_regex" > /dev
/null
; then
5323 *** Warning: the command libtool uses to detect shared libraries,
5324 *** $file_magic_cmd, produces output that libtool cannot recognize.
5325 *** The result is that libtool may fail to recognize shared libraries
5326 *** as such. This will affect the creation of libtool libraries that
5327 *** depend on shared libraries, but programs linked with such libtool
5328 *** libraries will work regardless of this problem. Nevertheless, you
5329 *** may want to report the problem to your system manager and/or to
5330 *** bug-libtool@gnu.org
5340 MAGIC_CMD
="$ac_save_MAGIC_CMD"
5345 MAGIC_CMD
="$lt_cv_path_MAGIC_CMD"
5346 if test -n "$MAGIC_CMD"; then
5347 echo "$as_me:$LINENO: result: $MAGIC_CMD" >&5
5348 echo "${ECHO_T}$MAGIC_CMD" >&6
5350 echo "$as_me:$LINENO: result: no" >&5
5351 echo "${ECHO_T}no" >&6
5363 if test -n "$ac_tool_prefix"; then
5364 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
5365 set dummy
${ac_tool_prefix}ranlib
; ac_word
=$2
5366 echo "$as_me:$LINENO: checking for $ac_word" >&5
5367 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
5368 if test "${ac_cv_prog_RANLIB+set}" = set; then
5369 echo $ECHO_N "(cached) $ECHO_C" >&6
5371 if test -n "$RANLIB"; then
5372 ac_cv_prog_RANLIB
="$RANLIB" # Let the user override the test.
5374 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5378 test -z "$as_dir" && as_dir
=.
5379 for ac_exec_ext
in '' $ac_executable_extensions; do
5380 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5381 ac_cv_prog_RANLIB
="${ac_tool_prefix}ranlib"
5382 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5390 RANLIB
=$ac_cv_prog_RANLIB
5391 if test -n "$RANLIB"; then
5392 echo "$as_me:$LINENO: result: $RANLIB" >&5
5393 echo "${ECHO_T}$RANLIB" >&6
5395 echo "$as_me:$LINENO: result: no" >&5
5396 echo "${ECHO_T}no" >&6
5400 if test -z "$ac_cv_prog_RANLIB"; then
5401 ac_ct_RANLIB
=$RANLIB
5402 # Extract the first word of "ranlib", so it can be a program name with args.
5403 set dummy ranlib
; ac_word
=$2
5404 echo "$as_me:$LINENO: checking for $ac_word" >&5
5405 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
5406 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
5407 echo $ECHO_N "(cached) $ECHO_C" >&6
5409 if test -n "$ac_ct_RANLIB"; then
5410 ac_cv_prog_ac_ct_RANLIB
="$ac_ct_RANLIB" # Let the user override the test.
5412 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5416 test -z "$as_dir" && as_dir
=.
5417 for ac_exec_ext
in '' $ac_executable_extensions; do
5418 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5419 ac_cv_prog_ac_ct_RANLIB
="ranlib"
5420 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5426 test -z "$ac_cv_prog_ac_ct_RANLIB" && ac_cv_prog_ac_ct_RANLIB
=":"
5429 ac_ct_RANLIB
=$ac_cv_prog_ac_ct_RANLIB
5430 if test -n "$ac_ct_RANLIB"; then
5431 echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
5432 echo "${ECHO_T}$ac_ct_RANLIB" >&6
5434 echo "$as_me:$LINENO: result: no" >&5
5435 echo "${ECHO_T}no" >&6
5438 RANLIB
=$ac_ct_RANLIB
5440 RANLIB
="$ac_cv_prog_RANLIB"
5443 if test -n "$ac_tool_prefix"; then
5444 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
5445 set dummy
${ac_tool_prefix}strip
; ac_word
=$2
5446 echo "$as_me:$LINENO: checking for $ac_word" >&5
5447 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
5448 if test "${ac_cv_prog_STRIP+set}" = set; then
5449 echo $ECHO_N "(cached) $ECHO_C" >&6
5451 if test -n "$STRIP"; then
5452 ac_cv_prog_STRIP
="$STRIP" # Let the user override the test.
5454 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5458 test -z "$as_dir" && as_dir
=.
5459 for ac_exec_ext
in '' $ac_executable_extensions; do
5460 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5461 ac_cv_prog_STRIP
="${ac_tool_prefix}strip"
5462 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5470 STRIP
=$ac_cv_prog_STRIP
5471 if test -n "$STRIP"; then
5472 echo "$as_me:$LINENO: result: $STRIP" >&5
5473 echo "${ECHO_T}$STRIP" >&6
5475 echo "$as_me:$LINENO: result: no" >&5
5476 echo "${ECHO_T}no" >&6
5480 if test -z "$ac_cv_prog_STRIP"; then
5482 # Extract the first word of "strip", so it can be a program name with args.
5483 set dummy strip
; ac_word
=$2
5484 echo "$as_me:$LINENO: checking for $ac_word" >&5
5485 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
5486 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
5487 echo $ECHO_N "(cached) $ECHO_C" >&6
5489 if test -n "$ac_ct_STRIP"; then
5490 ac_cv_prog_ac_ct_STRIP
="$ac_ct_STRIP" # Let the user override the test.
5492 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5496 test -z "$as_dir" && as_dir
=.
5497 for ac_exec_ext
in '' $ac_executable_extensions; do
5498 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5499 ac_cv_prog_ac_ct_STRIP
="strip"
5500 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5506 test -z "$ac_cv_prog_ac_ct_STRIP" && ac_cv_prog_ac_ct_STRIP
=":"
5509 ac_ct_STRIP
=$ac_cv_prog_ac_ct_STRIP
5510 if test -n "$ac_ct_STRIP"; then
5511 echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
5512 echo "${ECHO_T}$ac_ct_STRIP" >&6
5514 echo "$as_me:$LINENO: result: no" >&5
5515 echo "${ECHO_T}no" >&6
5520 STRIP
="$ac_cv_prog_STRIP"
5524 # Check for any special flags to pass to ltconfig.
5525 libtool_flags
="--cache-file=$cache_file"
5526 test "$enable_shared" = no
&& libtool_flags
="$libtool_flags --disable-shared"
5527 test "$enable_static" = no
&& libtool_flags
="$libtool_flags --disable-static"
5528 test "$enable_fast_install" = no
&& libtool_flags
="$libtool_flags --disable-fast-install"
5529 test "$GCC" = yes && libtool_flags
="$libtool_flags --with-gcc"
5530 test "$lt_cv_prog_gnu_ld" = yes && libtool_flags
="$libtool_flags --with-gnu-ld"
5533 # Check whether --enable-libtool-lock or --disable-libtool-lock was given.
5534 if test "${enable_libtool_lock+set}" = set; then
5535 enableval
="$enable_libtool_lock"
5538 test "x$enable_libtool_lock" = xno
&& libtool_flags
="$libtool_flags --disable-lock"
5539 test x
"$silent" = xyes
&& libtool_flags
="$libtool_flags --silent"
5542 # Check whether --with-pic or --without-pic was given.
5543 if test "${with_pic+set}" = set; then
5549 test x
"$pic_mode" = xyes
&& libtool_flags
="$libtool_flags --prefer-pic"
5550 test x
"$pic_mode" = xno
&& libtool_flags
="$libtool_flags --prefer-non-pic"
5552 # Some flags need to be propagated to the compiler or linker for good
5556 # Find out which ABI we are using.
5557 echo '#line 5557 "configure"' > conftest.
$ac_ext
5558 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5559 (eval $ac_compile) 2>&5
5561 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5562 (exit $ac_status); }; then
5563 if test "$lt_cv_prog_gnu_ld" = yes; then
5564 case `/usr/bin/file conftest.$ac_objext` in
5566 LD
="${LD-ld} -melf32bsmip"
5569 LD
="${LD-ld} -melf32bmipn32"
5572 LD
="${LD-ld} -melf64bmip"
5576 case `/usr/bin/file conftest.$ac_objext` in
5593 # Find out which ABI we are using.
5594 echo 'int i;' > conftest.
$ac_ext
5595 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5596 (eval $ac_compile) 2>&5
5598 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5599 (exit $ac_status); }; then
5600 case "`/usr/bin/file conftest.o`" in
5612 x86_64-
*linux
*|ppc
*-*linux
*|powerpc
*-*linux
*|s390
*-*linux
*|sparc
*-*linux
*)
5613 # Find out which ABI we are using.
5614 echo 'int i;' > conftest.
$ac_ext
5615 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5616 (eval $ac_compile) 2>&5
5618 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5619 (exit $ac_status); }; then
5620 case "`/usr/bin/file conftest.o`" in
5624 LD
="${LD-ld} -m elf_i386"
5626 ppc64-
*linux
*|powerpc64-
*linux
*)
5627 LD
="${LD-ld} -m elf32ppclinux"
5630 LD
="${LD-ld} -m elf_s390"
5633 LD
="${LD-ld} -m elf32_sparc"
5640 LD
="${LD-ld} -m elf_x86_64"
5642 ppc
*-*linux
*|powerpc
*-*linux
*)
5643 LD
="${LD-ld} -m elf64ppc"
5646 LD
="${LD-ld} -m elf64_s390"
5649 LD
="${LD-ld} -m elf64_sparc"
5659 # On SCO OpenServer 5, we need -belf to get full-featured binaries.
5660 SAVE_CFLAGS
="$CFLAGS"
5661 CFLAGS
="$CFLAGS -belf"
5662 echo "$as_me:$LINENO: checking whether the C compiler needs -belf" >&5
5663 echo $ECHO_N "checking whether the C compiler needs -belf... $ECHO_C" >&6
5664 if test "${lt_cv_cc_needs_belf+set}" = set; then
5665 echo $ECHO_N "(cached) $ECHO_C" >&6
5670 ac_cpp
='$CPP $CPPFLAGS'
5671 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5672 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5673 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
5675 if test x
$gcc_no_link = xyes
; then
5676 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
5677 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
5678 { (exit 1); exit 1; }; }
5680 cat >conftest.
$ac_ext <<_ACEOF
5683 cat confdefs.h
>>conftest.
$ac_ext
5684 cat >>conftest.
$ac_ext <<_ACEOF
5685 /* end confdefs.h. */
5695 rm -f conftest.
$ac_objext conftest
$ac_exeext
5696 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
5697 (eval $ac_link) 2>conftest.er1
5699 grep -v '^ *+' conftest.er1
>conftest.err
5701 cat conftest.err
>&5
5702 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5703 (exit $ac_status); } &&
5704 { ac_try
='test -z "$ac_c_werror_flag"
5705 || test ! -s conftest.err'
5706 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5709 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5710 (exit $ac_status); }; } &&
5711 { ac_try
='test -s conftest$ac_exeext'
5712 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5715 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5716 (exit $ac_status); }; }; then
5717 lt_cv_cc_needs_belf
=yes
5719 echo "$as_me: failed program was:" >&5
5720 sed 's/^/| /' conftest.
$ac_ext >&5
5722 lt_cv_cc_needs_belf
=no
5724 rm -f conftest.err conftest.
$ac_objext \
5725 conftest
$ac_exeext conftest.
$ac_ext
5727 ac_cpp
='$CPP $CPPFLAGS'
5728 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5729 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5730 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
5733 echo "$as_me:$LINENO: result: $lt_cv_cc_needs_belf" >&5
5734 echo "${ECHO_T}$lt_cv_cc_needs_belf" >&6
5735 if test x
"$lt_cv_cc_needs_belf" != x
"yes"; then
5736 # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
5737 CFLAGS
="$SAVE_CFLAGS"
5745 # Save cache, so that ltconfig can load it
5746 cat >confcache
<<\_ACEOF
5747 # This file is a shell script that caches the results of configure
5748 # tests run on this system so they can be shared between configure
5749 # scripts and configure runs, see configure's option --config-cache.
5750 # It is not useful on other systems. If it contains results you don't
5751 # want to keep, you may remove or edit it.
5753 # config.status only pays attention to the cache file if you give it
5754 # the --recheck option to rerun configure.
5756 # `ac_cv_env_foo' variables (set or unset) will be overridden when
5757 # loading this file, other *unset* `ac_cv_foo' will be assigned the
5762 # The following way of writing the cache mishandles newlines in values,
5763 # but we know of no workaround that is simple, portable, and efficient.
5764 # So, don't put newlines in cache variables' values.
5765 # Ultrix sh set writes to stderr and can't be redirected directly,
5766 # and sets the high bit in the cache file unless we assign to the vars.
5769 case `(ac_space=' '; set | grep ac_space) 2>&1` in
5771 # `set' does not quote correctly, so add quotes (double-quote
5772 # substitution turns \\\\ into \\, and sed turns \\ into \).
5775 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
5778 # `set' quotes correctly as required by POSIX, so do not add quotes.
5780 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
5787 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
5789 /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
5791 if diff $cache_file confcache
>/dev
/null
2>&1; then :; else
5792 if test -w $cache_file; then
5793 test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
5794 cat confcache
>$cache_file
5796 echo "not updating unwritable cache $cache_file"
5801 # Actually configure libtool. ac_aux_dir is where install-sh is found.
5802 AR
="$AR" LTCC
="$CC" CC
="$CC" CFLAGS
="$CFLAGS" CPPFLAGS
="$CPPFLAGS" \
5803 MAGIC_CMD
="$MAGIC_CMD" LD
="$LD" LDFLAGS
="$LDFLAGS" LIBS
="$LIBS" \
5804 LN_S
="$LN_S" NM
="$NM" RANLIB
="$RANLIB" STRIP
="$STRIP" \
5805 AS
="$AS" DLLTOOL
="$DLLTOOL" OBJDUMP
="$OBJDUMP" \
5806 objext
="$OBJEXT" exeext
="$EXEEXT" reload_flag
="$reload_flag" \
5807 deplibs_check_method
="$deplibs_check_method" file_magic_cmd
="$file_magic_cmd" \
5808 ${CONFIG_SHELL-/bin/sh} $ac_aux_dir/ltconfig
--no-reexec \
5809 $libtool_flags --no-verify --build="$build" $ac_aux_dir/ltmain.sh
$host \
5810 ||
{ { echo "$as_me:$LINENO: error: libtool configure failed" >&5
5811 echo "$as_me: error: libtool configure failed" >&2;}
5812 { (exit 1); exit 1; }; }
5814 # Reload cache, that may have been modified by ltconfig
5815 if test -r "$cache_file"; then
5816 # Some versions of bash will fail to source /dev/null (special
5817 # files actually), so we avoid doing that.
5818 if test -f "$cache_file"; then
5819 { echo "$as_me:$LINENO: loading cache $cache_file" >&5
5820 echo "$as_me: loading cache $cache_file" >&6;}
5822 [\\/]* | ?
:[\\/]* ) .
$cache_file;;
5823 *) . .
/$cache_file;;
5827 { echo "$as_me:$LINENO: creating cache $cache_file" >&5
5828 echo "$as_me: creating cache $cache_file" >&6;}
5833 # This can be used to rebuild libtool when needed
5834 LIBTOOL_DEPS
="$ac_aux_dir/ltconfig $ac_aux_dir/ltmain.sh $ac_aux_dir/ltcf-c.sh"
5836 # Always use our own libtool.
5837 LIBTOOL
='$(SHELL) $(top_builddir)/libtool'
5839 # Redirect the config.log output again, so that the ltconfig log is not
5840 # clobbered by the next message.
5841 exec 5>>.
/config.log
5844 ac_cpp
='$CXXCPP $CPPFLAGS'
5845 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5846 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5847 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
5848 echo "$as_me:$LINENO: checking how to run the C++ preprocessor" >&5
5849 echo $ECHO_N "checking how to run the C++ preprocessor... $ECHO_C" >&6
5850 if test -z "$CXXCPP"; then
5851 if test "${ac_cv_prog_CXXCPP+set}" = set; then
5852 echo $ECHO_N "(cached) $ECHO_C" >&6
5854 # Double quotes because CXXCPP needs to be expanded
5855 for CXXCPP
in "$CXX -E" "/lib/cpp"
5858 for ac_cxx_preproc_warn_flag
in '' yes
5860 # Use a header file that comes with gcc, so configuring glibc
5861 # with a fresh cross-compiler works.
5862 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
5863 # <limits.h> exists even on freestanding compilers.
5864 # On the NeXT, cc -E runs the code through the compiler's parser,
5865 # not just through cpp. "Syntax error" is here to catch this case.
5866 cat >conftest.
$ac_ext <<_ACEOF
5869 cat confdefs.h
>>conftest.
$ac_ext
5870 cat >>conftest.
$ac_ext <<_ACEOF
5871 /* end confdefs.h. */
5873 # include <limits.h>
5875 # include <assert.h>
5879 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
5880 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
5882 grep -v '^ *+' conftest.er1
>conftest.err
5884 cat conftest.err
>&5
5885 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5886 (exit $ac_status); } >/dev
/null
; then
5887 if test -s conftest.err
; then
5888 ac_cpp_err
=$ac_cxx_preproc_warn_flag
5889 ac_cpp_err
=$ac_cpp_err$ac_cxx_werror_flag
5896 if test -z "$ac_cpp_err"; then
5899 echo "$as_me: failed program was:" >&5
5900 sed 's/^/| /' conftest.
$ac_ext >&5
5902 # Broken: fails on valid input.
5905 rm -f conftest.err conftest.
$ac_ext
5907 # OK, works on sane cases. Now check whether non-existent headers
5908 # can be detected and how.
5909 cat >conftest.
$ac_ext <<_ACEOF
5912 cat confdefs.h
>>conftest.
$ac_ext
5913 cat >>conftest.
$ac_ext <<_ACEOF
5914 /* end confdefs.h. */
5915 #include <ac_nonexistent.h>
5917 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
5918 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
5920 grep -v '^ *+' conftest.er1
>conftest.err
5922 cat conftest.err
>&5
5923 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5924 (exit $ac_status); } >/dev
/null
; then
5925 if test -s conftest.err
; then
5926 ac_cpp_err
=$ac_cxx_preproc_warn_flag
5927 ac_cpp_err
=$ac_cpp_err$ac_cxx_werror_flag
5934 if test -z "$ac_cpp_err"; then
5935 # Broken: success on invalid input.
5938 echo "$as_me: failed program was:" >&5
5939 sed 's/^/| /' conftest.
$ac_ext >&5
5941 # Passes both tests.
5945 rm -f conftest.err conftest.
$ac_ext
5948 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
5949 rm -f conftest.err conftest.
$ac_ext
5950 if $ac_preproc_ok; then
5955 ac_cv_prog_CXXCPP
=$CXXCPP
5958 CXXCPP
=$ac_cv_prog_CXXCPP
5960 ac_cv_prog_CXXCPP
=$CXXCPP
5962 echo "$as_me:$LINENO: result: $CXXCPP" >&5
5963 echo "${ECHO_T}$CXXCPP" >&6
5965 for ac_cxx_preproc_warn_flag
in '' yes
5967 # Use a header file that comes with gcc, so configuring glibc
5968 # with a fresh cross-compiler works.
5969 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
5970 # <limits.h> exists even on freestanding compilers.
5971 # On the NeXT, cc -E runs the code through the compiler's parser,
5972 # not just through cpp. "Syntax error" is here to catch this case.
5973 cat >conftest.
$ac_ext <<_ACEOF
5976 cat confdefs.h
>>conftest.
$ac_ext
5977 cat >>conftest.
$ac_ext <<_ACEOF
5978 /* end confdefs.h. */
5980 # include <limits.h>
5982 # include <assert.h>
5986 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
5987 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
5989 grep -v '^ *+' conftest.er1
>conftest.err
5991 cat conftest.err
>&5
5992 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5993 (exit $ac_status); } >/dev
/null
; then
5994 if test -s conftest.err
; then
5995 ac_cpp_err
=$ac_cxx_preproc_warn_flag
5996 ac_cpp_err
=$ac_cpp_err$ac_cxx_werror_flag
6003 if test -z "$ac_cpp_err"; then
6006 echo "$as_me: failed program was:" >&5
6007 sed 's/^/| /' conftest.
$ac_ext >&5
6009 # Broken: fails on valid input.
6012 rm -f conftest.err conftest.
$ac_ext
6014 # OK, works on sane cases. Now check whether non-existent headers
6015 # can be detected and how.
6016 cat >conftest.
$ac_ext <<_ACEOF
6019 cat confdefs.h
>>conftest.
$ac_ext
6020 cat >>conftest.
$ac_ext <<_ACEOF
6021 /* end confdefs.h. */
6022 #include <ac_nonexistent.h>
6024 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
6025 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
6027 grep -v '^ *+' conftest.er1
>conftest.err
6029 cat conftest.err
>&5
6030 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6031 (exit $ac_status); } >/dev
/null
; then
6032 if test -s conftest.err
; then
6033 ac_cpp_err
=$ac_cxx_preproc_warn_flag
6034 ac_cpp_err
=$ac_cpp_err$ac_cxx_werror_flag
6041 if test -z "$ac_cpp_err"; then
6042 # Broken: success on invalid input.
6045 echo "$as_me: failed program was:" >&5
6046 sed 's/^/| /' conftest.
$ac_ext >&5
6048 # Passes both tests.
6052 rm -f conftest.err conftest.
$ac_ext
6055 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
6056 rm -f conftest.err conftest.
$ac_ext
6057 if $ac_preproc_ok; then
6060 { { echo "$as_me:$LINENO: error: C++ preprocessor \"$CXXCPP\" fails sanity check
6061 See \`config.log' for more details." >&5
6062 echo "$as_me: error: C++ preprocessor \"$CXXCPP\" fails sanity check
6063 See \`config.log' for more details." >&2;}
6064 { (exit 1); exit 1; }; }
6068 ac_cpp
='$CPP $CPPFLAGS'
6069 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6070 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6071 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
6075 LIBTOOL_DEPS
=$LIBTOOL_DEPS" $ac_aux_dir/ltcf-cxx.sh"
6077 lt_save_CFLAGS
="$CFLAGS"
6078 AR
="$AR" LTCC
="$CC" CC
="$CXX" CXX
="$CXX" CFLAGS
="$CXXFLAGS" CPPFLAGS
="$CPPFLAGS" \
6079 MAGIC_CMD
="$MAGIC_CMD" LD
="$LD" LDFLAGS
="$LDFLAGS" LIBS
="$LIBS" \
6080 LN_S
="$LN_S" NM
="$NM" RANLIB
="$RANLIB" STRIP
="$STRIP" \
6081 AS
="$AS" DLLTOOL
="$DLLTOOL" OBJDUMP
="$OBJDUMP" \
6082 objext
="$OBJEXT" exeext
="$EXEEXT" reload_flag
="$reload_flag" \
6083 deplibs_check_method
="$deplibs_check_method" \
6084 file_magic_cmd
="$file_magic_cmd" \
6085 ${CONFIG_SHELL-/bin/sh} $ac_aux_dir/ltconfig
-o libtool
$libtool_flags \
6086 --build="$build" --add-tag=CXX
$ac_aux_dir/ltcf-cxx.sh
$host \
6087 ||
{ { echo "$as_me:$LINENO: error: libtool tag configuration failed" >&5
6088 echo "$as_me: error: libtool tag configuration failed" >&2;}
6089 { (exit 1); exit 1; }; }
6091 CFLAGS
="$lt_save_CFLAGS"
6093 # Redirect the config.log output again, so that the ltconfig log is not
6094 # clobbered by the next message.
6095 exec 5>>.
/config.log
6105 # Extract the first word of "$ac_prog", so it can be a program name with args.
6106 set dummy
$ac_prog; ac_word
=$2
6107 echo "$as_me:$LINENO: checking for $ac_word" >&5
6108 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
6109 if test "${ac_cv_prog_GCJ+set}" = set; then
6110 echo $ECHO_N "(cached) $ECHO_C" >&6
6112 if test -n "$GCJ"; then
6113 ac_cv_prog_GCJ
="$GCJ" # Let the user override the test.
6115 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6119 test -z "$as_dir" && as_dir
=.
6120 for ac_exec_ext
in '' $ac_executable_extensions; do
6121 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6122 ac_cv_prog_GCJ
="$ac_prog"
6123 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6132 if test -n "$GCJ"; then
6133 echo "$as_me:$LINENO: result: $GCJ" >&5
6134 echo "${ECHO_T}$GCJ" >&6
6136 echo "$as_me:$LINENO: result: no" >&5
6137 echo "${ECHO_T}no" >&6
6140 test -n "$GCJ" && break
6142 test -n "$GCJ" || GCJ
="gcj"
6144 test -z "$GCJ" && { { echo "$as_me:$LINENO: error: no acceptable gcj found in \$PATH" >&5
6145 echo "$as_me: error: no acceptable gcj found in \$PATH" >&2;}
6146 { (exit 1); exit 1; }; }
6147 if test "x${GCJFLAGS-unset}" = xunset
; then
6152 depcc
="$GCJ" am_compiler_list
='gcc3 gcc'
6154 echo "$as_me:$LINENO: checking dependency style of $depcc" >&5
6155 echo $ECHO_N "checking dependency style of $depcc... $ECHO_C" >&6
6156 if test "${am_cv_GCJ_dependencies_compiler_type+set}" = set; then
6157 echo $ECHO_N "(cached) $ECHO_C" >&6
6159 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
6160 # We make a subdir and do the tests there. Otherwise we can end up
6161 # making bogus files that we don't know about and never remove. For
6162 # instance it was reported that on HP-UX the gcc test will end up
6163 # making a dummy file named `D' -- because `-MD' means `put the output
6166 # Copy depcomp to subdir because otherwise we won't find it if we're
6167 # using a relative directory.
6168 cp "$am_depcomp" conftest.dir
6170 # We will build objects and dependencies in a subdirectory because
6171 # it helps to detect inapplicable dependency modes. For instance
6172 # both Tru64's cc and ICC support -MD to output dependencies as a
6173 # side effect of compilation, but ICC will put the dependencies in
6174 # the current directory while Tru64 will put them in the object
6178 am_cv_GCJ_dependencies_compiler_type
=none
6179 if test "$am_compiler_list" = ""; then
6180 am_compiler_list
=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
6182 for depmode
in $am_compiler_list; do
6183 # Setup a source with many dependencies, because some compilers
6184 # like to wrap large dependency lists on column 80 (with \), and
6185 # we should not choose a depcomp mode which is confused by this.
6187 # We need to recreate these files for each test, as the compiler may
6188 # overwrite some of them when testing with obscure command lines.
6189 # This happens at least with the AIX C compiler.
6191 for i
in 1 2 3 4 5 6; do
6192 echo '#include "conftst'$i'.h"' >> sub
/conftest.c
6193 # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
6194 # Solaris 8's {/usr,}/bin/sh.
6195 touch sub
/conftst
$i.h
6197 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
6201 # after this tag, mechanisms are not by side-effect, so they'll
6202 # only be used when explicitly requested
6203 if test "x$enable_dependency_tracking" = xyes
; then
6211 # We check with `-c' and `-o' for the sake of the "dashmstdout"
6212 # mode. It turns out that the SunPro C++ compiler does not properly
6213 # handle `-M -o', and we need to detect this.
6214 if depmode
=$depmode \
6215 source=sub
/conftest.c object
=sub
/conftest.
${OBJEXT-o} \
6216 depfile
=sub
/conftest.Po tmpdepfile
=sub
/conftest.TPo \
6217 $SHELL .
/depcomp
$depcc -c -o sub
/conftest.
${OBJEXT-o} sub
/conftest.c \
6218 >/dev
/null
2>conftest.err
&&
6219 grep sub
/conftst6.h sub
/conftest.Po
> /dev
/null
2>&1 &&
6220 grep sub
/conftest.
${OBJEXT-o} sub
/conftest.Po
> /dev
/null
2>&1 &&
6221 ${MAKE-make} -s -f confmf
> /dev
/null
2>&1; then
6222 # icc doesn't choke on unknown options, it will just issue warnings
6223 # or remarks (even with -Werror). So we grep stderr for any message
6224 # that says an option was ignored or not supported.
6225 # When given -MP, icc 7.0 and 7.1 complain thusly:
6226 # icc: Command line warning: ignoring option '-M'; no argument required
6227 # The diagnosis changed in icc 8.0:
6228 # icc: Command line remark: option '-MP' not supported
6229 if (grep 'ignoring option' conftest.err ||
6230 grep 'not supported' conftest.err
) >/dev
/null
2>&1; then :; else
6231 am_cv_GCJ_dependencies_compiler_type
=$depmode
6240 am_cv_GCJ_dependencies_compiler_type
=none
6244 echo "$as_me:$LINENO: result: $am_cv_GCJ_dependencies_compiler_type" >&5
6245 echo "${ECHO_T}$am_cv_GCJ_dependencies_compiler_type" >&6
6246 GCJDEPMODE
=depmode
=$am_cv_GCJ_dependencies_compiler_type
6251 test "x$enable_dependency_tracking" != xno \
6252 && test "$am_cv_GCJ_dependencies_compiler_type" = gcc3
; then
6253 am__fastdepGCJ_TRUE
=
6254 am__fastdepGCJ_FALSE
='#'
6256 am__fastdepGCJ_TRUE
='#'
6257 am__fastdepGCJ_FALSE
=
6263 LIBTOOL_DEPS
=$LIBTOOL_DEPS" $ac_aux_dir/ltcf-gcj.sh"
6265 lt_save_CFLAGS
="$CFLAGS"
6266 AR
="$AR" LTCC
="$CC" CC
="$GCJ" CFLAGS
="$GCJFLAGS" CPPFLAGS
="$CPPFLAGS" \
6267 MAGIC_CMD
="$MAGIC_CMD" LD
="$LD" LDFLAGS
="$LDFLAGS" LIBS
="$LIBS" \
6268 LN_S
="$LN_S" NM
="$NM" RANLIB
="$RANLIB" STRIP
="$STRIP" \
6269 AS
="$AS" DLLTOOL
="$DLLTOOL" OBJDUMP
="$OBJDUMP" \
6270 objext
="$OBJEXT" exeext
="$EXEEXT" reload_flag
="$reload_flag" \
6271 deplibs_check_method
="$deplibs_check_method" \
6272 file_magic_cmd
="$file_magic_cmd" \
6273 ${CONFIG_SHELL-/bin/sh} $ac_aux_dir/ltconfig
-o libtool
$libtool_flags \
6274 --build="$build" --add-tag=GCJ
$ac_aux_dir/ltcf-gcj.sh
$host \
6275 ||
{ { echo "$as_me:$LINENO: error: libtool tag configuration failed" >&5
6276 echo "$as_me: error: libtool tag configuration failed" >&2;}
6277 { (exit 1); exit 1; }; }
6279 CFLAGS
="$lt_save_CFLAGS"
6281 # Redirect the config.log output again, so that the ltconfig log is not
6282 # clobbered by the next message.
6283 exec 5>>.
/config.log
6287 if test "x$CC" != xcc
; then
6288 echo "$as_me:$LINENO: checking whether $CC and cc understand -c and -o together" >&5
6289 echo $ECHO_N "checking whether $CC and cc understand -c and -o together... $ECHO_C" >&6
6291 echo "$as_me:$LINENO: checking whether cc understands -c and -o together" >&5
6292 echo $ECHO_N "checking whether cc understands -c and -o together... $ECHO_C" >&6
6294 set dummy
$CC; ac_cc
=`echo $2 |
6295 sed 's/[^a-zA-Z0-9_]/_/g;s/^[0-9]/_/'`
6296 if eval "test \"\${ac_cv_prog_cc_${ac_cc}_c_o+set}\" = set"; then
6297 echo $ECHO_N "(cached) $ECHO_C" >&6
6299 cat >conftest.
$ac_ext <<_ACEOF
6302 cat confdefs.h
>>conftest.
$ac_ext
6303 cat >>conftest.
$ac_ext <<_ACEOF
6304 /* end confdefs.h. */
6314 # Make sure it works both with $CC and with simple cc.
6315 # We do the test twice because some compilers refuse to overwrite an
6316 # existing .o file with -o, though they will create one.
6317 ac_try
='$CC -c conftest.$ac_ext -o conftest.$ac_objext >&5'
6318 if { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6321 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6322 (exit $ac_status); } &&
6323 test -f conftest.
$ac_objext && { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6326 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6327 (exit $ac_status); };
6329 eval ac_cv_prog_cc_
${ac_cc}_c_o
=yes
6330 if test "x$CC" != xcc
; then
6331 # Test first that cc exists at all.
6332 if { ac_try
='cc -c conftest.$ac_ext >&5'
6333 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6336 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6337 (exit $ac_status); }; }; then
6338 ac_try
='cc -c conftest.$ac_ext -o conftest.$ac_objext >&5'
6339 if { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6342 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6343 (exit $ac_status); } &&
6344 test -f conftest.
$ac_objext && { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6347 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6348 (exit $ac_status); };
6353 # cc exists but doesn't like -o.
6354 eval ac_cv_prog_cc_
${ac_cc}_c_o
=no
6359 eval ac_cv_prog_cc_
${ac_cc}_c_o
=no
6364 if eval "test \"`echo '$ac_cv_prog_cc_'${ac_cc}_c_o`\" = yes"; then
6365 echo "$as_me:$LINENO: result: yes" >&5
6366 echo "${ECHO_T}yes" >&6
6368 echo "$as_me:$LINENO: result: no" >&5
6369 echo "${ECHO_T}no" >&6
6371 cat >>confdefs.h
<<\_ACEOF
6372 #define NO_MINUS_C_MINUS_O 1
6377 # FIXME: we rely on the cache variable name because
6378 # there is no other way.
6380 ac_cc
=`echo $2 | sed 's/[^a-zA-Z0-9_]/_/g;s/^[0-9]/_/'`
6381 if eval "test \"`echo '$ac_cv_prog_cc_'${ac_cc}_c_o`\" != yes"; then
6382 # Losing compiler, so override with the script.
6383 # FIXME: It is wrong to rewrite CC.
6384 # But if we don't then we get into trouble of one sort or another.
6385 # A longer-term fix would be to have automake use am__CC in this case,
6386 # and then we could set am__CC="\$(top_srcdir)/compile \$(CC)"
6387 CC
="$am_aux_dir/compile $CC"
6393 subdirs
="$subdirs classpath libltdl"
6396 # The -no-testsuite modules omit the test subdir.
6399 if test -d $srcdir/testsuite
; then
6401 TESTSUBDIR_FALSE
='#'
6408 # Should the runtime set system properties by examining the
6409 # environment variable GCJ_PROPERTIES?
6410 # Check whether --enable-getenv-properties or --disable-getenv-properties was given.
6411 if test "${enable_getenv_properties+set}" = set; then
6412 enableval
="$enable_getenv_properties"
6416 # Whether GCJ_PROPERTIES is used depends on the target.
6417 if test -z "$enable_getenv_properties"; then
6418 enable_getenv_properties
=${enable_getenv_properties_default-yes}
6420 if test "$enable_getenv_properties" = no
; then
6422 cat >>confdefs.h
<<\_ACEOF
6423 #define DISABLE_GETENV_PROPERTIES 1
6428 # Whether we should use arguments to main()
6429 if test -z "$enable_main_args"; then
6430 enable_main_args
=${enable_main_args_default-yes}
6432 if test "$enable_main_args" = no
; then
6434 cat >>confdefs.h
<<\_ACEOF
6435 #define DISABLE_MAIN_ARGS 1
6441 # Should we use hashtable-based synchronization?
6442 # Currently works only for Linux X86/ia64
6443 # Typically faster and more space-efficient
6444 # Check whether --enable-hash-synchronization or --disable-hash-synchronization was given.
6445 if test "${enable_hash_synchronization+set}" = set; then
6446 enableval
="$enable_hash_synchronization"
6450 if test -z "$enable_hash_synchronization"; then
6451 enable_hash_synchronization
=$enable_hash_synchronization_default
6455 # Check whether --with-java-home or --without-java-home was given.
6456 if test "${with_java_home+set}" = set; then
6457 withval
="$with_java_home"
6458 JAVA_HOME
="${withval}"
6464 if test ! -z "$JAVA_HOME"; then
6466 JAVA_HOME_SET_FALSE
='#'
6468 JAVA_HOME_SET_TRUE
='#'
6469 JAVA_HOME_SET_FALSE
=
6474 # What is the native OS API for MinGW?
6476 # Check whether --with-win32-nlsapi or --without-win32-nlsapi was given.
6477 if test "${with_win32_nlsapi+set}" = set; then
6478 withval
="$with_win32_nlsapi"
6479 case "${withval}" in
6480 ansi
) with_win32_nlsapi
=ansi
;;
6481 unicows
) with_win32_nlsapi
=unicows
;;
6482 unicode
) with_win32_nlsapi
=unicode
;;
6483 *) { { echo "$as_me:$LINENO: error: Bad value ${withval} for --with-win32-nlsapi." >&5
6484 echo "$as_me: error: Bad value ${withval} for --with-win32-nlsapi." >&2;}
6485 { (exit 1); exit 1; }; } ;;
6488 with_win32_nlsapi
=ansi
6491 case "${with_win32_nlsapi}" in
6494 cat >>confdefs.h
<<\_ACEOF
6495 #define MINGW_LIBGCJ_UNICODE 1
6501 # configure.host sets slow_pthread_self if the synchronization code should
6502 # try to avoid pthread_self calls by caching thread IDs in a hashtable.
6503 if test "${slow_pthread_self}" = "yes"; then
6505 cat >>confdefs.h
<<\_ACEOF
6506 #define SLOW_PTHREAD_SELF 1
6511 # Check for gc debugging. This option is handled both here and in the GC.
6512 # Check whether --enable-gc-debug or --disable-gc-debug was given.
6513 if test "${enable_gc_debug+set}" = set; then
6514 enableval
="$enable_gc_debug"
6515 if test "$enable_gc_debug" = "yes"; then
6517 cat >>confdefs.h
<<\_ACEOF
6518 #define LIBGCJ_GC_DEBUG 1
6524 # See if the user has the interpreter included.
6525 # Check whether --enable-interpreter or --disable-interpreter was given.
6526 if test "${enable_interpreter+set}" = set; then
6527 enableval
="$enable_interpreter"
6528 if test "$enable_interpreter" = yes; then
6529 # This can also be set in configure.host.
6530 libgcj_interpreter
=yes
6531 elif test "$enable_interpreter" = no
; then
6532 libgcj_interpreter
=no
6536 if test "$libgcj_interpreter" = yes; then
6538 cat >>confdefs.h
<<\_ACEOF
6539 #define INTERPRETER 1
6543 INTERPRETER
="$libgcj_interpreter"
6546 echo "$as_me:$LINENO: checking for exception model to use" >&5
6547 echo $ECHO_N "checking for exception model to use... $ECHO_C" >&6
6549 ac_cpp
='$CXXCPP $CPPFLAGS'
6550 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6551 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6552 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
6554 # Check whether --enable-sjlj-exceptions or --disable-sjlj-exceptions was given.
6555 if test "${enable_sjlj_exceptions+set}" = set; then
6556 enableval
="$enable_sjlj_exceptions"
6559 cat > conftest.
$ac_ext << EOF
6560 #line 6560 "configure"
6569 old_CXXFLAGS
="$CXXFLAGS"
6571 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6572 (eval $ac_compile) 2>&5
6574 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6575 (exit $ac_status); }; then
6576 if grep _Unwind_SjLj_Resume conftest.s
>/dev
/null
2>&1 ; then
6577 enable_sjlj_exceptions
=yes
6578 elif grep _Unwind_Resume conftest.s
>/dev
/null
2>&1 ; then
6579 enable_sjlj_exceptions
=no
6582 CXXFLAGS
="$old_CXXFLAGS"
6585 if test x
$enable_sjlj_exceptions = xyes
; then
6587 cat >>confdefs.h
<<\_ACEOF
6588 #define SJLJ_EXCEPTIONS 1
6591 ac_exception_model_name
=sjlj
6592 elif test x
$enable_sjlj_exceptions = xno
; then
6593 ac_exception_model_name
="call frame"
6595 { { echo "$as_me:$LINENO: error: unable to detect exception model" >&5
6596 echo "$as_me: error: unable to detect exception model" >&2;}
6597 { (exit 1); exit 1; }; }
6600 ac_cpp
='$CPP $CPPFLAGS'
6601 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6602 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6603 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
6605 echo "$as_me:$LINENO: result: $ac_exception_model_name" >&5
6606 echo "${ECHO_T}$ac_exception_model_name" >&6
6608 # If we are non using SJLJ exceptions, and this host does not have support
6609 # for unwinding from a signal handler, enable checked dereferences and divides.
6610 if test $can_unwind_signal = no
&& test $enable_sjlj_exceptions = no
; then
6611 CHECKREFSPEC
=-fcheck-references
6612 DIVIDESPEC
=-fuse-divide-subroutine
6616 # See if the user wants to disable java.net. This is the mildly
6617 # ugly way that we admit that target-side configuration sucks.
6618 # Check whether --enable-java-net or --disable-java-net was given.
6619 if test "${enable_java_net+set}" = set; then
6620 enableval
="$enable_java_net"
6624 # Whether java.net is built by default can depend on the target.
6625 if test -z "$enable_java_net"; then
6626 enable_java_net
=${enable_java_net_default-yes}
6628 if test "$enable_java_net" = no
; then
6630 cat >>confdefs.h
<<\_ACEOF
6631 #define DISABLE_JAVA_NET 1
6636 # See if the user wants to configure without libffi. Some
6637 # architectures don't support it, and default values are set in
6640 # Check whether --with-libffi or --without-libffi was given.
6641 if test "${with_libffi+set}" = set; then
6642 withval
="$with_libffi"
6645 with_libffi
=${with_libffi_default-yes}
6650 if test "$with_libffi" != no
; then
6652 cat >>confdefs.h
<<\_ACEOF
6653 #define USE_LIBFFI 1
6656 LIBFFI
=..
/libffi
/libffi_convenience.la
6657 LIBFFIINCS
='-I$(top_srcdir)/../libffi/include -I../libffi/include'
6662 # See if the user wants to disable JVMPI support.
6663 # Check whether --enable-jvmpi or --disable-jvmpi was given.
6664 if test "${enable_jvmpi+set}" = set; then
6665 enableval
="$enable_jvmpi"
6669 if test "$enable_jvmpi" != no
; then
6671 cat >>confdefs.h
<<\_ACEOF
6672 #define ENABLE_JVMPI 1
6677 # If the target is an eCos system, use the appropriate eCos
6679 # FIXME: this should not be a local option but a global target
6680 # system; at present there is no eCos target.
6681 TARGET_ECOS
=${PROCESS-"no"}
6683 # Check whether --with-ecos or --without-ecos was given.
6684 if test "${with_ecos+set}" = set; then
6685 withval
="$with_ecos"
6686 TARGET_ECOS
="$with_ecos"
6692 PLATFORM_INNER_NAT_HDRS
=
6693 case "$TARGET_ECOS" in
6700 echo "$as_me:$LINENO: checking whether 'ld' is at least 2.13" >&5
6701 echo $ECHO_N "checking whether 'ld' is at least 2.13... $ECHO_C" >&6
6702 LD_PROG
=`$CC --print-prog-name=ld`
6703 LD_VERSION
=`$LD_PROG --version`
6704 LD_VERSION_MAJOR
=`echo "$LD_VERSION" | head -1 | cut -d '.' -f 1 | cut -d ' ' -f 4`
6705 LD_VERSION_MINOR
=`echo "$LD_VERSION" | head -1 | cut -d '.' -f 2`
6706 if expr "$LD_VERSION_MAJOR" \
> 2 > /dev
/null
; then
6709 if expr "$LD_VERSION_MAJOR" = 2 && expr "$LD_VERSION_MINOR" \
>= 13 > /dev
/null
; then
6713 if test "x$LD_OK" != x
; then
6714 echo "$as_me:$LINENO: result: yes; major=$LD_VERSION_MAJOR, minor=$LD_VERSION_MINOR" >&5
6715 echo "${ECHO_T}yes; major=$LD_VERSION_MAJOR, minor=$LD_VERSION_MINOR" >&6
6717 echo "$as_me:$LINENO: result: no; major=$LD_VERSION_MAJOR, minor=$LD_VERSION_MINOR" >&5
6718 echo "${ECHO_T}no; major=$LD_VERSION_MAJOR, minor=$LD_VERSION_MINOR" >&6
6719 { echo "$as_me:$LINENO: WARNING: ld <2.13 detected; enabling JV_LINKER_CANNOT_8BYTE_ALIGN_STATICS hack..." >&5
6720 echo "$as_me: WARNING: ld <2.13 detected; enabling JV_LINKER_CANNOT_8BYTE_ALIGN_STATICS hack..." >&2;}
6722 cat >>confdefs.h
<<\_ACEOF
6723 #define JV_LINKER_CANNOT_8BYTE_ALIGN_STATICS 1
6732 PLATFORM_INNER_NAT_HDRS
='java/lang/ConcreteProcess$$ProcessManager.h'
6740 cat >>confdefs.h
<<\_ACEOF
6748 ac_config_links
="$ac_config_links include/platform.h:include/$PLATFORMH"
6752 ac_cpp
='$CPP $CPPFLAGS'
6753 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6754 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6755 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
6756 echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5
6757 echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6
6758 # On Suns, sometimes $CPP names a directory.
6759 if test -n "$CPP" && test -d "$CPP"; then
6762 if test -z "$CPP"; then
6763 if test "${ac_cv_prog_CPP+set}" = set; then
6764 echo $ECHO_N "(cached) $ECHO_C" >&6
6766 # Double quotes because CPP needs to be expanded
6767 for CPP
in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
6770 for ac_c_preproc_warn_flag
in '' yes
6772 # Use a header file that comes with gcc, so configuring glibc
6773 # with a fresh cross-compiler works.
6774 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
6775 # <limits.h> exists even on freestanding compilers.
6776 # On the NeXT, cc -E runs the code through the compiler's parser,
6777 # not just through cpp. "Syntax error" is here to catch this case.
6778 cat >conftest.
$ac_ext <<_ACEOF
6781 cat confdefs.h
>>conftest.
$ac_ext
6782 cat >>conftest.
$ac_ext <<_ACEOF
6783 /* end confdefs.h. */
6785 # include <limits.h>
6787 # include <assert.h>
6791 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
6792 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
6794 grep -v '^ *+' conftest.er1
>conftest.err
6796 cat conftest.err
>&5
6797 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6798 (exit $ac_status); } >/dev
/null
; then
6799 if test -s conftest.err
; then
6800 ac_cpp_err
=$ac_c_preproc_warn_flag
6801 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
6808 if test -z "$ac_cpp_err"; then
6811 echo "$as_me: failed program was:" >&5
6812 sed 's/^/| /' conftest.
$ac_ext >&5
6814 # Broken: fails on valid input.
6817 rm -f conftest.err conftest.
$ac_ext
6819 # OK, works on sane cases. Now check whether non-existent headers
6820 # can be detected and how.
6821 cat >conftest.
$ac_ext <<_ACEOF
6824 cat confdefs.h
>>conftest.
$ac_ext
6825 cat >>conftest.
$ac_ext <<_ACEOF
6826 /* end confdefs.h. */
6827 #include <ac_nonexistent.h>
6829 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
6830 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
6832 grep -v '^ *+' conftest.er1
>conftest.err
6834 cat conftest.err
>&5
6835 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6836 (exit $ac_status); } >/dev
/null
; then
6837 if test -s conftest.err
; then
6838 ac_cpp_err
=$ac_c_preproc_warn_flag
6839 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
6846 if test -z "$ac_cpp_err"; then
6847 # Broken: success on invalid input.
6850 echo "$as_me: failed program was:" >&5
6851 sed 's/^/| /' conftest.
$ac_ext >&5
6853 # Passes both tests.
6857 rm -f conftest.err conftest.
$ac_ext
6860 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
6861 rm -f conftest.err conftest.
$ac_ext
6862 if $ac_preproc_ok; then
6874 echo "$as_me:$LINENO: result: $CPP" >&5
6875 echo "${ECHO_T}$CPP" >&6
6877 for ac_c_preproc_warn_flag
in '' yes
6879 # Use a header file that comes with gcc, so configuring glibc
6880 # with a fresh cross-compiler works.
6881 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
6882 # <limits.h> exists even on freestanding compilers.
6883 # On the NeXT, cc -E runs the code through the compiler's parser,
6884 # not just through cpp. "Syntax error" is here to catch this case.
6885 cat >conftest.
$ac_ext <<_ACEOF
6888 cat confdefs.h
>>conftest.
$ac_ext
6889 cat >>conftest.
$ac_ext <<_ACEOF
6890 /* end confdefs.h. */
6892 # include <limits.h>
6894 # include <assert.h>
6898 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
6899 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
6901 grep -v '^ *+' conftest.er1
>conftest.err
6903 cat conftest.err
>&5
6904 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6905 (exit $ac_status); } >/dev
/null
; then
6906 if test -s conftest.err
; then
6907 ac_cpp_err
=$ac_c_preproc_warn_flag
6908 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
6915 if test -z "$ac_cpp_err"; then
6918 echo "$as_me: failed program was:" >&5
6919 sed 's/^/| /' conftest.
$ac_ext >&5
6921 # Broken: fails on valid input.
6924 rm -f conftest.err conftest.
$ac_ext
6926 # OK, works on sane cases. Now check whether non-existent headers
6927 # can be detected and how.
6928 cat >conftest.
$ac_ext <<_ACEOF
6931 cat confdefs.h
>>conftest.
$ac_ext
6932 cat >>conftest.
$ac_ext <<_ACEOF
6933 /* end confdefs.h. */
6934 #include <ac_nonexistent.h>
6936 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
6937 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
6939 grep -v '^ *+' conftest.er1
>conftest.err
6941 cat conftest.err
>&5
6942 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6943 (exit $ac_status); } >/dev
/null
; then
6944 if test -s conftest.err
; then
6945 ac_cpp_err
=$ac_c_preproc_warn_flag
6946 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
6953 if test -z "$ac_cpp_err"; then
6954 # Broken: success on invalid input.
6957 echo "$as_me: failed program was:" >&5
6958 sed 's/^/| /' conftest.
$ac_ext >&5
6960 # Passes both tests.
6964 rm -f conftest.err conftest.
$ac_ext
6967 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
6968 rm -f conftest.err conftest.
$ac_ext
6969 if $ac_preproc_ok; then
6972 { { echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check
6973 See \`config.log' for more details." >&5
6974 echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check
6975 See \`config.log' for more details." >&2;}
6976 { (exit 1); exit 1; }; }
6980 ac_cpp
='$CPP $CPPFLAGS'
6981 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6982 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6983 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
6986 echo "$as_me:$LINENO: checking for egrep" >&5
6987 echo $ECHO_N "checking for egrep... $ECHO_C" >&6
6988 if test "${ac_cv_prog_egrep+set}" = set; then
6989 echo $ECHO_N "(cached) $ECHO_C" >&6
6991 if echo a |
(grep -E '(a|b)') >/dev
/null
2>&1
6992 then ac_cv_prog_egrep
='grep -E'
6993 else ac_cv_prog_egrep
='egrep'
6996 echo "$as_me:$LINENO: result: $ac_cv_prog_egrep" >&5
6997 echo "${ECHO_T}$ac_cv_prog_egrep" >&6
6998 EGREP
=$ac_cv_prog_egrep
7001 cat >conftest.
$ac_ext <<_ACEOF
7004 cat confdefs.h
>>conftest.
$ac_ext
7005 cat >>conftest.
$ac_ext <<_ACEOF
7006 /* end confdefs.h. */
7010 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
7011 $EGREP "uint32_t" >/dev
/null
2>&1; then
7013 cat >>confdefs.h
<<\_ACEOF
7014 #define HAVE_INT32_DEFINED 1
7020 cat >conftest.
$ac_ext <<_ACEOF
7023 cat confdefs.h
>>conftest.
$ac_ext
7024 cat >>conftest.
$ac_ext <<_ACEOF
7025 /* end confdefs.h. */
7026 #include <inttypes.h>
7029 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
7030 $EGREP "uint32_t" >/dev
/null
2>&1; then
7032 cat >>confdefs.h
<<\_ACEOF
7033 #define HAVE_INT32_DEFINED 1
7039 cat >conftest.
$ac_ext <<_ACEOF
7042 cat confdefs.h
>>conftest.
$ac_ext
7043 cat >>conftest.
$ac_ext <<_ACEOF
7044 /* end confdefs.h. */
7045 #include <sys/types.h>
7048 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
7049 $EGREP "u_int32_t" >/dev
/null
2>&1; then
7051 cat >>confdefs.h
<<\_ACEOF
7052 #define HAVE_BSD_INT32_DEFINED 1
7058 cat >conftest.
$ac_ext <<_ACEOF
7061 cat confdefs.h
>>conftest.
$ac_ext
7062 cat >>conftest.
$ac_ext <<_ACEOF
7063 /* end confdefs.h. */
7064 #include <sys/config.h>
7067 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
7068 $EGREP "u_int32_t" >/dev
/null
2>&1; then
7070 cat >>confdefs.h
<<\_ACEOF
7071 #define HAVE_BSD_INT32_DEFINED 1
7080 if test "$PLATFORM" = Win32
; then
7081 USING_WIN32_PLATFORM_TRUE
=
7082 USING_WIN32_PLATFORM_FALSE
='#'
7084 USING_WIN32_PLATFORM_TRUE
='#'
7085 USING_WIN32_PLATFORM_FALSE
=
7090 if test "$PLATFORM" = Posix ||
test "$PLATFORM" = Ecos
; then
7091 USING_POSIX_PLATFORM_TRUE
=
7092 USING_POSIX_PLATFORM_FALSE
='#'
7094 USING_POSIX_PLATFORM_TRUE
='#'
7095 USING_POSIX_PLATFORM_FALSE
=
7100 *-darwin*) DARWIN_CRT
=true
;;
7101 *) DARWIN_CRT
=false
;;
7105 if $DARWIN_CRT; then
7106 USING_DARWIN_CRT_TRUE
=
7107 USING_DARWIN_CRT_FALSE
='#'
7109 USING_DARWIN_CRT_TRUE
='#'
7110 USING_DARWIN_CRT_FALSE
=
7114 # These may not be defined in a non-ANS conformant embedded system.
7115 # FIXME: Should these case a runtime exception in that case?
7116 cat >conftest.
$ac_ext <<_ACEOF
7119 cat confdefs.h
>>conftest.
$ac_ext
7120 cat >>conftest.
$ac_ext <<_ACEOF
7121 /* end confdefs.h. */
7125 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
7126 $EGREP "mktime" >/dev
/null
2>&1; then
7128 cat >>confdefs.h
<<\_ACEOF
7129 #define HAVE_MKTIME 1
7135 cat >conftest.
$ac_ext <<_ACEOF
7138 cat confdefs.h
>>conftest.
$ac_ext
7139 cat >>conftest.
$ac_ext <<_ACEOF
7140 /* end confdefs.h. */
7144 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
7145 $EGREP "localtime" >/dev
/null
2>&1; then
7147 cat >>confdefs.h
<<\_ACEOF
7148 #define HAVE_LOCALTIME 1
7155 # Create the subdirectory for natFile.cc, or the attempt
7156 # to create the link will fail.
7157 test -d java || mkdir java
7158 test -d java
/io || mkdir java
/io
7159 test -d gnu || mkdir gnu
7160 ac_config_links
="$ac_config_links java/io/natFile.cc:java/io/natFile${FILE-${PLATFORM}}.cc"
7163 # Likewise for ConcreteProcess.java and natConcreteProcess.cc.
7164 test -d java
/lang || mkdir java
/lang
7165 ac_config_links
="$ac_config_links java/lang/ConcreteProcess.java:java/lang/${PLATFORM}Process.java"
7167 ac_config_links
="$ac_config_links java/lang/natConcreteProcess.cc:java/lang/nat${PLATFORM}Process.cc"
7170 # Likewise for natInetAddress.cc and natVMNetworkInterface.cc.
7171 test -d java
/net || mkdir java
/net
7172 ac_config_links
="$ac_config_links java/net/natInetAddress.cc:java/net/natInetAddress${PLATFORMNET}.cc"
7174 ac_config_links
="$ac_config_links java/net/natVMNetworkInterface.cc:java/net/natVMNetworkInterface${PLATFORMNET}.cc"
7177 # Likewise for natPlainSocketImpl.cc and natPlainDatagramSocketImpl.cc.
7178 test -d gnu
/java || mkdir gnu
/java
7179 test -d gnu
/java
/net || mkdir gnu
/java
/net
7180 ac_config_links
="$ac_config_links gnu/java/net/natPlainSocketImpl.cc:gnu/java/net/natPlainSocketImpl${PLATFORMNET}.cc"
7182 ac_config_links
="$ac_config_links gnu/java/net/natPlainDatagramSocketImpl.cc:gnu/java/net/natPlainDatagramSocketImpl${PLATFORMNET}.cc"
7185 # Likewise for natPipeImpl.cc and natSelectorImpl.cc.
7186 test -d gnu
/java
/nio || mkdir gnu
/java
/nio
7187 ac_config_links
="$ac_config_links gnu/java/nio/natPipeImpl.cc:gnu/java/nio/natPipeImpl${PLATFORM}.cc"
7189 ac_config_links
="$ac_config_links gnu/java/nio/natSelectorImpl.cc:gnu/java/nio/natSelectorImpl${PLATFORM}.cc"
7191 test -d gnu
/java
/nio
/channels || mkdir gnu
/java
/nio
/channels
7192 ac_config_links
="$ac_config_links gnu/java/nio/channels/natFileChannelImpl.cc:gnu/java/nio/channels/natFileChannel${FILE-${PLATFORM}}.cc"
7197 SYSTEMSPEC
="-lgdi32 -lws2_32"
7198 if test "${with_win32_nlsapi}" = "unicows"; then
7199 SYSTEMSPEC
="-lunicows $SYSTEMSPEC"
7208 LIBGCJTESTSPEC
="-L`${PWDCMD-pwd}`/.libs -rpath `${PWDCMD-pwd}`/.libs"
7212 # Check whether --with-system-zlib or --without-system-zlib was given.
7213 if test "${with_system_zlib+set}" = set; then
7214 withval
="$with_system_zlib"
7222 echo "$as_me:$LINENO: checking for X" >&5
7223 echo $ECHO_N "checking for X... $ECHO_C" >&6
7226 # Check whether --with-x or --without-x was given.
7227 if test "${with_x+set}" = set; then
7231 # $have_x is `yes', `no', `disabled', or empty when we do not yet know.
7232 if test "x$with_x" = xno
; then
7233 # The user explicitly disabled X.
7236 if test "x$x_includes" != xNONE
&& test "x$x_libraries" != xNONE
; then
7237 # Both variables are already set.
7240 if test "${ac_cv_have_x+set}" = set; then
7241 echo $ECHO_N "(cached) $ECHO_C" >&6
7243 # One or both of the vars are not set, and there is no cached value.
7244 ac_x_includes
=no ac_x_libraries
=no
7246 if mkdir conftest.dir
; then
7248 # Make sure to not put "make" in the Imakefile rules, since we grep it out.
7249 cat >Imakefile
<<'_ACEOF'
7251 @echo 'ac_im_incroot="${INCROOT}"; ac_im_usrlibdir="${USRLIBDIR}"; ac_im_libdir="${LIBDIR}"'
7253 if (xmkmf
) >/dev
/null
2>/dev
/null
&& test -f Makefile
; then
7254 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
7255 eval `${MAKE-make} acfindx 2>/dev/null | grep -v make`
7256 # Open Windows xmkmf reportedly sets LIBDIR instead of USRLIBDIR.
7257 for ac_extension
in a so sl
; do
7258 if test ! -f $ac_im_usrlibdir/libX11.
$ac_extension &&
7259 test -f $ac_im_libdir/libX11.
$ac_extension; then
7260 ac_im_usrlibdir
=$ac_im_libdir; break
7263 # Screen out bogus values from the imake configuration. They are
7264 # bogus both because they are the default anyway, and because
7265 # using them would break gcc on systems where it needs fixed includes.
7266 case $ac_im_incroot in
7268 *) test -f "$ac_im_incroot/X11/Xos.h" && ac_x_includes
=$ac_im_incroot;;
7270 case $ac_im_usrlibdir in
7272 *) test -d "$ac_im_usrlibdir" && ac_x_libraries
=$ac_im_usrlibdir ;;
7279 # Standard set of common directories for X headers.
7280 # Check X11 before X11Rn because it is often a symlink to the current release.
7292 /usr/local/X11/include
7293 /usr/local/X11R6/include
7294 /usr/local/X11R5/include
7295 /usr/local/X11R4/include
7297 /usr/local/include/X11
7298 /usr/local/include/X11R6
7299 /usr/local/include/X11R5
7300 /usr/local/include/X11R4
7304 /usr/XFree86/include/X11
7308 /usr/unsupported/include
7310 /usr/local/x11r5/include
7311 /usr/lpp/Xamples/include
7313 /usr/openwin/include
7314 /usr/openwin/share/include'
7316 if test "$ac_x_includes" = no
; then
7317 # Guess where to find include files, by looking for Intrinsic.h.
7318 # First, try using that file with no special directory specified.
7319 cat >conftest.
$ac_ext <<_ACEOF
7322 cat confdefs.h
>>conftest.
$ac_ext
7323 cat >>conftest.
$ac_ext <<_ACEOF
7324 /* end confdefs.h. */
7325 #include <X11/Intrinsic.h>
7327 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
7328 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
7330 grep -v '^ *+' conftest.er1
>conftest.err
7332 cat conftest.err
>&5
7333 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7334 (exit $ac_status); } >/dev
/null
; then
7335 if test -s conftest.err
; then
7336 ac_cpp_err
=$ac_c_preproc_warn_flag
7337 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
7344 if test -z "$ac_cpp_err"; then
7345 # We can compile using X headers with no special include directory.
7348 echo "$as_me: failed program was:" >&5
7349 sed 's/^/| /' conftest.
$ac_ext >&5
7351 for ac_dir
in $ac_x_header_dirs; do
7352 if test -r "$ac_dir/X11/Intrinsic.h"; then
7353 ac_x_includes
=$ac_dir
7358 rm -f conftest.err conftest.
$ac_ext
7359 fi # $ac_x_includes = no
7361 if test "$ac_x_libraries" = no
; then
7362 # Check for the libraries.
7363 # See if we find them without any special options.
7364 # Don't add to $LIBS permanently.
7367 if test x
$gcc_no_link = xyes
; then
7368 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
7369 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
7370 { (exit 1); exit 1; }; }
7372 cat >conftest.
$ac_ext <<_ACEOF
7375 cat confdefs.h
>>conftest.
$ac_ext
7376 cat >>conftest.
$ac_ext <<_ACEOF
7377 /* end confdefs.h. */
7378 #include <X11/Intrinsic.h>
7387 rm -f conftest.
$ac_objext conftest
$ac_exeext
7388 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
7389 (eval $ac_link) 2>conftest.er1
7391 grep -v '^ *+' conftest.er1
>conftest.err
7393 cat conftest.err
>&5
7394 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7395 (exit $ac_status); } &&
7396 { ac_try
='test -z "$ac_c_werror_flag"
7397 || test ! -s conftest.err'
7398 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7401 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7402 (exit $ac_status); }; } &&
7403 { ac_try
='test -s conftest$ac_exeext'
7404 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7407 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7408 (exit $ac_status); }; }; then
7410 # We can link X programs with no special library path.
7413 echo "$as_me: failed program was:" >&5
7414 sed 's/^/| /' conftest.
$ac_ext >&5
7417 for ac_dir
in `echo "$ac_x_includes $ac_x_header_dirs" | sed s/include/lib/g`
7419 # Don't even attempt the hair of trying to link an X program!
7420 for ac_extension
in a so sl
; do
7421 if test -r $ac_dir/libXt.
$ac_extension; then
7422 ac_x_libraries
=$ac_dir
7428 rm -f conftest.err conftest.
$ac_objext \
7429 conftest
$ac_exeext conftest.
$ac_ext
7430 fi # $ac_x_libraries = no
7432 if test "$ac_x_includes" = no ||
test "$ac_x_libraries" = no
; then
7433 # Didn't find X anywhere. Cache the known absence of X.
7434 ac_cv_have_x
="have_x=no"
7436 # Record where we found X for the cache.
7437 ac_cv_have_x
="have_x=yes \
7438 ac_x_includes=$ac_x_includes ac_x_libraries=$ac_x_libraries"
7443 eval "$ac_cv_have_x"
7446 if test "$have_x" != yes; then
7447 echo "$as_me:$LINENO: result: $have_x" >&5
7448 echo "${ECHO_T}$have_x" >&6
7451 # If each of the values was on the command line, it overrides each guess.
7452 test "x$x_includes" = xNONE
&& x_includes
=$ac_x_includes
7453 test "x$x_libraries" = xNONE
&& x_libraries
=$ac_x_libraries
7454 # Update the cache value to reflect the command line values.
7455 ac_cv_have_x
="have_x=yes \
7456 ac_x_includes=$x_includes ac_x_libraries=$x_libraries"
7457 echo "$as_me:$LINENO: result: libraries $x_libraries, headers $x_includes" >&5
7458 echo "${ECHO_T}libraries $x_libraries, headers $x_includes" >&6
7461 if test "$no_x" = yes; then
7462 # Not all programs may use this symbol, but it does not hurt to define it.
7464 cat >>confdefs.h
<<\_ACEOF
7465 #define X_DISPLAY_MISSING 1
7468 X_CFLAGS
= X_PRE_LIBS
= X_LIBS
= X_EXTRA_LIBS
=
7470 if test -n "$x_includes"; then
7471 X_CFLAGS
="$X_CFLAGS -I$x_includes"
7474 # It would also be nice to do this for all -L options, not just this one.
7475 if test -n "$x_libraries"; then
7476 X_LIBS
="$X_LIBS -L$x_libraries"
7477 # For Solaris; some versions of Sun CC require a space after -R and
7478 # others require no space. Words are not sufficient . . . .
7479 case `(uname -sr) 2>/dev/null` in
7481 echo "$as_me:$LINENO: checking whether -R must be followed by a space" >&5
7482 echo $ECHO_N "checking whether -R must be followed by a space... $ECHO_C" >&6
7483 ac_xsave_LIBS
=$LIBS; LIBS
="$LIBS -R$x_libraries"
7484 if test x
$gcc_no_link = xyes
; then
7485 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
7486 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
7487 { (exit 1); exit 1; }; }
7489 cat >conftest.
$ac_ext <<_ACEOF
7492 cat confdefs.h
>>conftest.
$ac_ext
7493 cat >>conftest.
$ac_ext <<_ACEOF
7494 /* end confdefs.h. */
7504 rm -f conftest.
$ac_objext conftest
$ac_exeext
7505 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
7506 (eval $ac_link) 2>conftest.er1
7508 grep -v '^ *+' conftest.er1
>conftest.err
7510 cat conftest.err
>&5
7511 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7512 (exit $ac_status); } &&
7513 { ac_try
='test -z "$ac_c_werror_flag"
7514 || test ! -s conftest.err'
7515 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7518 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7519 (exit $ac_status); }; } &&
7520 { ac_try
='test -s conftest$ac_exeext'
7521 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7524 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7525 (exit $ac_status); }; }; then
7528 echo "$as_me: failed program was:" >&5
7529 sed 's/^/| /' conftest.
$ac_ext >&5
7533 rm -f conftest.err conftest.
$ac_objext \
7534 conftest
$ac_exeext conftest.
$ac_ext
7535 if test $ac_R_nospace = yes; then
7536 echo "$as_me:$LINENO: result: no" >&5
7537 echo "${ECHO_T}no" >&6
7538 X_LIBS
="$X_LIBS -R$x_libraries"
7540 LIBS
="$ac_xsave_LIBS -R $x_libraries"
7541 if test x
$gcc_no_link = xyes
; then
7542 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
7543 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
7544 { (exit 1); exit 1; }; }
7546 cat >conftest.
$ac_ext <<_ACEOF
7549 cat confdefs.h
>>conftest.
$ac_ext
7550 cat >>conftest.
$ac_ext <<_ACEOF
7551 /* end confdefs.h. */
7561 rm -f conftest.
$ac_objext conftest
$ac_exeext
7562 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
7563 (eval $ac_link) 2>conftest.er1
7565 grep -v '^ *+' conftest.er1
>conftest.err
7567 cat conftest.err
>&5
7568 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7569 (exit $ac_status); } &&
7570 { ac_try
='test -z "$ac_c_werror_flag"
7571 || test ! -s conftest.err'
7572 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7575 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7576 (exit $ac_status); }; } &&
7577 { ac_try
='test -s conftest$ac_exeext'
7578 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7581 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7582 (exit $ac_status); }; }; then
7585 echo "$as_me: failed program was:" >&5
7586 sed 's/^/| /' conftest.
$ac_ext >&5
7590 rm -f conftest.err conftest.
$ac_objext \
7591 conftest
$ac_exeext conftest.
$ac_ext
7592 if test $ac_R_space = yes; then
7593 echo "$as_me:$LINENO: result: yes" >&5
7594 echo "${ECHO_T}yes" >&6
7595 X_LIBS
="$X_LIBS -R $x_libraries"
7597 echo "$as_me:$LINENO: result: neither works" >&5
7598 echo "${ECHO_T}neither works" >&6
7605 # Check for system-dependent libraries X programs must link with.
7606 # Do this before checking for the system-independent R6 libraries
7607 # (-lICE), since we may need -lsocket or whatever for X linking.
7609 if test "$ISC" = yes; then
7610 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lnsl_s -linet"
7612 # Martyn Johnson says this is needed for Ultrix, if the X
7613 # libraries were built with DECnet support. And Karl Berry says
7614 # the Alpha needs dnet_stub (dnet does not exist).
7615 ac_xsave_LIBS
="$LIBS"; LIBS
="$LIBS $X_LIBS -lX11"
7616 if test x
$gcc_no_link = xyes
; then
7617 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
7618 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
7619 { (exit 1); exit 1; }; }
7621 cat >conftest.
$ac_ext <<_ACEOF
7624 cat confdefs.h
>>conftest.
$ac_ext
7625 cat >>conftest.
$ac_ext <<_ACEOF
7626 /* end confdefs.h. */
7628 /* Override any gcc2 internal prototype to avoid an error. */
7632 /* We use char because int might match the return type of a gcc2
7633 builtin and then its argument prototype would still apply. */
7634 char XOpenDisplay ();
7643 rm -f conftest.
$ac_objext conftest
$ac_exeext
7644 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
7645 (eval $ac_link) 2>conftest.er1
7647 grep -v '^ *+' conftest.er1
>conftest.err
7649 cat conftest.err
>&5
7650 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7651 (exit $ac_status); } &&
7652 { ac_try
='test -z "$ac_c_werror_flag"
7653 || test ! -s conftest.err'
7654 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7657 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7658 (exit $ac_status); }; } &&
7659 { ac_try
='test -s conftest$ac_exeext'
7660 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7663 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7664 (exit $ac_status); }; }; then
7667 echo "$as_me: failed program was:" >&5
7668 sed 's/^/| /' conftest.
$ac_ext >&5
7670 echo "$as_me:$LINENO: checking for dnet_ntoa in -ldnet" >&5
7671 echo $ECHO_N "checking for dnet_ntoa in -ldnet... $ECHO_C" >&6
7672 if test "${ac_cv_lib_dnet_dnet_ntoa+set}" = set; then
7673 echo $ECHO_N "(cached) $ECHO_C" >&6
7675 ac_check_lib_save_LIBS
=$LIBS
7677 if test x
$gcc_no_link = xyes
; then
7678 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
7679 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
7680 { (exit 1); exit 1; }; }
7682 cat >conftest.
$ac_ext <<_ACEOF
7685 cat confdefs.h
>>conftest.
$ac_ext
7686 cat >>conftest.
$ac_ext <<_ACEOF
7687 /* end confdefs.h. */
7689 /* Override any gcc2 internal prototype to avoid an error. */
7693 /* We use char because int might match the return type of a gcc2
7694 builtin and then its argument prototype would still apply. */
7704 rm -f conftest.
$ac_objext conftest
$ac_exeext
7705 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
7706 (eval $ac_link) 2>conftest.er1
7708 grep -v '^ *+' conftest.er1
>conftest.err
7710 cat conftest.err
>&5
7711 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7712 (exit $ac_status); } &&
7713 { ac_try
='test -z "$ac_c_werror_flag"
7714 || test ! -s conftest.err'
7715 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7718 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7719 (exit $ac_status); }; } &&
7720 { ac_try
='test -s conftest$ac_exeext'
7721 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7724 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7725 (exit $ac_status); }; }; then
7726 ac_cv_lib_dnet_dnet_ntoa
=yes
7728 echo "$as_me: failed program was:" >&5
7729 sed 's/^/| /' conftest.
$ac_ext >&5
7731 ac_cv_lib_dnet_dnet_ntoa
=no
7733 rm -f conftest.err conftest.
$ac_objext \
7734 conftest
$ac_exeext conftest.
$ac_ext
7735 LIBS
=$ac_check_lib_save_LIBS
7737 echo "$as_me:$LINENO: result: $ac_cv_lib_dnet_dnet_ntoa" >&5
7738 echo "${ECHO_T}$ac_cv_lib_dnet_dnet_ntoa" >&6
7739 if test $ac_cv_lib_dnet_dnet_ntoa = yes; then
7740 X_EXTRA_LIBS
="$X_EXTRA_LIBS -ldnet"
7743 if test $ac_cv_lib_dnet_dnet_ntoa = no
; then
7744 echo "$as_me:$LINENO: checking for dnet_ntoa in -ldnet_stub" >&5
7745 echo $ECHO_N "checking for dnet_ntoa in -ldnet_stub... $ECHO_C" >&6
7746 if test "${ac_cv_lib_dnet_stub_dnet_ntoa+set}" = set; then
7747 echo $ECHO_N "(cached) $ECHO_C" >&6
7749 ac_check_lib_save_LIBS
=$LIBS
7750 LIBS
="-ldnet_stub $LIBS"
7751 if test x
$gcc_no_link = xyes
; then
7752 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
7753 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
7754 { (exit 1); exit 1; }; }
7756 cat >conftest.
$ac_ext <<_ACEOF
7759 cat confdefs.h
>>conftest.
$ac_ext
7760 cat >>conftest.
$ac_ext <<_ACEOF
7761 /* end confdefs.h. */
7763 /* Override any gcc2 internal prototype to avoid an error. */
7767 /* We use char because int might match the return type of a gcc2
7768 builtin and then its argument prototype would still apply. */
7778 rm -f conftest.
$ac_objext conftest
$ac_exeext
7779 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
7780 (eval $ac_link) 2>conftest.er1
7782 grep -v '^ *+' conftest.er1
>conftest.err
7784 cat conftest.err
>&5
7785 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7786 (exit $ac_status); } &&
7787 { ac_try
='test -z "$ac_c_werror_flag"
7788 || test ! -s conftest.err'
7789 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7792 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7793 (exit $ac_status); }; } &&
7794 { ac_try
='test -s conftest$ac_exeext'
7795 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7798 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7799 (exit $ac_status); }; }; then
7800 ac_cv_lib_dnet_stub_dnet_ntoa
=yes
7802 echo "$as_me: failed program was:" >&5
7803 sed 's/^/| /' conftest.
$ac_ext >&5
7805 ac_cv_lib_dnet_stub_dnet_ntoa
=no
7807 rm -f conftest.err conftest.
$ac_objext \
7808 conftest
$ac_exeext conftest.
$ac_ext
7809 LIBS
=$ac_check_lib_save_LIBS
7811 echo "$as_me:$LINENO: result: $ac_cv_lib_dnet_stub_dnet_ntoa" >&5
7812 echo "${ECHO_T}$ac_cv_lib_dnet_stub_dnet_ntoa" >&6
7813 if test $ac_cv_lib_dnet_stub_dnet_ntoa = yes; then
7814 X_EXTRA_LIBS
="$X_EXTRA_LIBS -ldnet_stub"
7819 rm -f conftest.err conftest.
$ac_objext \
7820 conftest
$ac_exeext conftest.
$ac_ext
7821 LIBS
="$ac_xsave_LIBS"
7823 # msh@cis.ufl.edu says -lnsl (and -lsocket) are needed for his 386/AT,
7824 # to get the SysV transport functions.
7825 # Chad R. Larson says the Pyramis MIS-ES running DC/OSx (SVR4)
7827 # The nsl library prevents programs from opening the X display
7828 # on Irix 5.2, according to T.E. Dickey.
7829 # The functions gethostbyname, getservbyname, and inet_addr are
7830 # in -lbsd on LynxOS 3.0.1/i386, according to Lars Hecking.
7831 echo "$as_me:$LINENO: checking for gethostbyname" >&5
7832 echo $ECHO_N "checking for gethostbyname... $ECHO_C" >&6
7833 if test "${ac_cv_func_gethostbyname+set}" = set; then
7834 echo $ECHO_N "(cached) $ECHO_C" >&6
7836 if test x
$gcc_no_link = xyes
; then
7837 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
7838 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
7839 { (exit 1); exit 1; }; }
7841 cat >conftest.
$ac_ext <<_ACEOF
7844 cat confdefs.h
>>conftest.
$ac_ext
7845 cat >>conftest.
$ac_ext <<_ACEOF
7846 /* end confdefs.h. */
7847 /* Define gethostbyname to an innocuous variant, in case <limits.h> declares gethostbyname.
7848 For example, HP-UX 11i <limits.h> declares gettimeofday. */
7849 #define gethostbyname innocuous_gethostbyname
7851 /* System header to define __stub macros and hopefully few prototypes,
7852 which can conflict with char gethostbyname (); below.
7853 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
7854 <limits.h> exists even on freestanding compilers. */
7857 # include <limits.h>
7859 # include <assert.h>
7862 #undef gethostbyname
7864 /* Override any gcc2 internal prototype to avoid an error. */
7869 /* We use char because int might match the return type of a gcc2
7870 builtin and then its argument prototype would still apply. */
7871 char gethostbyname ();
7872 /* The GNU C library defines this for functions which it implements
7873 to always fail with ENOSYS. Some functions are actually named
7874 something starting with __ and the normal name is an alias. */
7875 #if defined (__stub_gethostbyname) || defined (__stub___gethostbyname)
7878 char (*f) () = gethostbyname;
7887 return f != gethostbyname;
7892 rm -f conftest.
$ac_objext conftest
$ac_exeext
7893 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
7894 (eval $ac_link) 2>conftest.er1
7896 grep -v '^ *+' conftest.er1
>conftest.err
7898 cat conftest.err
>&5
7899 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7900 (exit $ac_status); } &&
7901 { ac_try
='test -z "$ac_c_werror_flag"
7902 || test ! -s conftest.err'
7903 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7906 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7907 (exit $ac_status); }; } &&
7908 { ac_try
='test -s conftest$ac_exeext'
7909 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7912 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7913 (exit $ac_status); }; }; then
7914 ac_cv_func_gethostbyname
=yes
7916 echo "$as_me: failed program was:" >&5
7917 sed 's/^/| /' conftest.
$ac_ext >&5
7919 ac_cv_func_gethostbyname
=no
7921 rm -f conftest.err conftest.
$ac_objext \
7922 conftest
$ac_exeext conftest.
$ac_ext
7924 echo "$as_me:$LINENO: result: $ac_cv_func_gethostbyname" >&5
7925 echo "${ECHO_T}$ac_cv_func_gethostbyname" >&6
7927 if test $ac_cv_func_gethostbyname = no
; then
7928 echo "$as_me:$LINENO: checking for gethostbyname in -lnsl" >&5
7929 echo $ECHO_N "checking for gethostbyname in -lnsl... $ECHO_C" >&6
7930 if test "${ac_cv_lib_nsl_gethostbyname+set}" = set; then
7931 echo $ECHO_N "(cached) $ECHO_C" >&6
7933 ac_check_lib_save_LIBS
=$LIBS
7935 if test x
$gcc_no_link = xyes
; then
7936 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
7937 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
7938 { (exit 1); exit 1; }; }
7940 cat >conftest.
$ac_ext <<_ACEOF
7943 cat confdefs.h
>>conftest.
$ac_ext
7944 cat >>conftest.
$ac_ext <<_ACEOF
7945 /* end confdefs.h. */
7947 /* Override any gcc2 internal prototype to avoid an error. */
7951 /* We use char because int might match the return type of a gcc2
7952 builtin and then its argument prototype would still apply. */
7953 char gethostbyname ();
7962 rm -f conftest.
$ac_objext conftest
$ac_exeext
7963 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
7964 (eval $ac_link) 2>conftest.er1
7966 grep -v '^ *+' conftest.er1
>conftest.err
7968 cat conftest.err
>&5
7969 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7970 (exit $ac_status); } &&
7971 { ac_try
='test -z "$ac_c_werror_flag"
7972 || test ! -s conftest.err'
7973 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7976 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7977 (exit $ac_status); }; } &&
7978 { ac_try
='test -s conftest$ac_exeext'
7979 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7982 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7983 (exit $ac_status); }; }; then
7984 ac_cv_lib_nsl_gethostbyname
=yes
7986 echo "$as_me: failed program was:" >&5
7987 sed 's/^/| /' conftest.
$ac_ext >&5
7989 ac_cv_lib_nsl_gethostbyname
=no
7991 rm -f conftest.err conftest.
$ac_objext \
7992 conftest
$ac_exeext conftest.
$ac_ext
7993 LIBS
=$ac_check_lib_save_LIBS
7995 echo "$as_me:$LINENO: result: $ac_cv_lib_nsl_gethostbyname" >&5
7996 echo "${ECHO_T}$ac_cv_lib_nsl_gethostbyname" >&6
7997 if test $ac_cv_lib_nsl_gethostbyname = yes; then
7998 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lnsl"
8001 if test $ac_cv_lib_nsl_gethostbyname = no
; then
8002 echo "$as_me:$LINENO: checking for gethostbyname in -lbsd" >&5
8003 echo $ECHO_N "checking for gethostbyname in -lbsd... $ECHO_C" >&6
8004 if test "${ac_cv_lib_bsd_gethostbyname+set}" = set; then
8005 echo $ECHO_N "(cached) $ECHO_C" >&6
8007 ac_check_lib_save_LIBS
=$LIBS
8009 if test x
$gcc_no_link = xyes
; then
8010 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
8011 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
8012 { (exit 1); exit 1; }; }
8014 cat >conftest.
$ac_ext <<_ACEOF
8017 cat confdefs.h
>>conftest.
$ac_ext
8018 cat >>conftest.
$ac_ext <<_ACEOF
8019 /* end confdefs.h. */
8021 /* Override any gcc2 internal prototype to avoid an error. */
8025 /* We use char because int might match the return type of a gcc2
8026 builtin and then its argument prototype would still apply. */
8027 char gethostbyname ();
8036 rm -f conftest.
$ac_objext conftest
$ac_exeext
8037 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8038 (eval $ac_link) 2>conftest.er1
8040 grep -v '^ *+' conftest.er1
>conftest.err
8042 cat conftest.err
>&5
8043 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8044 (exit $ac_status); } &&
8045 { ac_try
='test -z "$ac_c_werror_flag"
8046 || test ! -s conftest.err'
8047 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8050 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8051 (exit $ac_status); }; } &&
8052 { ac_try
='test -s conftest$ac_exeext'
8053 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8056 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8057 (exit $ac_status); }; }; then
8058 ac_cv_lib_bsd_gethostbyname
=yes
8060 echo "$as_me: failed program was:" >&5
8061 sed 's/^/| /' conftest.
$ac_ext >&5
8063 ac_cv_lib_bsd_gethostbyname
=no
8065 rm -f conftest.err conftest.
$ac_objext \
8066 conftest
$ac_exeext conftest.
$ac_ext
8067 LIBS
=$ac_check_lib_save_LIBS
8069 echo "$as_me:$LINENO: result: $ac_cv_lib_bsd_gethostbyname" >&5
8070 echo "${ECHO_T}$ac_cv_lib_bsd_gethostbyname" >&6
8071 if test $ac_cv_lib_bsd_gethostbyname = yes; then
8072 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lbsd"
8078 # lieder@skyler.mavd.honeywell.com says without -lsocket,
8079 # socket/setsockopt and other routines are undefined under SCO ODT
8080 # 2.0. But -lsocket is broken on IRIX 5.2 (and is not necessary
8081 # on later versions), says Simon Leinen: it contains gethostby*
8082 # variants that don't use the name server (or something). -lsocket
8083 # must be given before -lnsl if both are needed. We assume that
8084 # if connect needs -lnsl, so does gethostbyname.
8085 echo "$as_me:$LINENO: checking for connect" >&5
8086 echo $ECHO_N "checking for connect... $ECHO_C" >&6
8087 if test "${ac_cv_func_connect+set}" = set; then
8088 echo $ECHO_N "(cached) $ECHO_C" >&6
8090 if test x
$gcc_no_link = xyes
; then
8091 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
8092 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
8093 { (exit 1); exit 1; }; }
8095 cat >conftest.
$ac_ext <<_ACEOF
8098 cat confdefs.h
>>conftest.
$ac_ext
8099 cat >>conftest.
$ac_ext <<_ACEOF
8100 /* end confdefs.h. */
8101 /* Define connect to an innocuous variant, in case <limits.h> declares connect.
8102 For example, HP-UX 11i <limits.h> declares gettimeofday. */
8103 #define connect innocuous_connect
8105 /* System header to define __stub macros and hopefully few prototypes,
8106 which can conflict with char connect (); below.
8107 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
8108 <limits.h> exists even on freestanding compilers. */
8111 # include <limits.h>
8113 # include <assert.h>
8118 /* Override any gcc2 internal prototype to avoid an error. */
8123 /* We use char because int might match the return type of a gcc2
8124 builtin and then its argument prototype would still apply. */
8126 /* The GNU C library defines this for functions which it implements
8127 to always fail with ENOSYS. Some functions are actually named
8128 something starting with __ and the normal name is an alias. */
8129 #if defined (__stub_connect) || defined (__stub___connect)
8132 char (*f) () = connect;
8141 return f != connect;
8146 rm -f conftest.
$ac_objext conftest
$ac_exeext
8147 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8148 (eval $ac_link) 2>conftest.er1
8150 grep -v '^ *+' conftest.er1
>conftest.err
8152 cat conftest.err
>&5
8153 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8154 (exit $ac_status); } &&
8155 { ac_try
='test -z "$ac_c_werror_flag"
8156 || test ! -s conftest.err'
8157 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8160 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8161 (exit $ac_status); }; } &&
8162 { ac_try
='test -s conftest$ac_exeext'
8163 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8166 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8167 (exit $ac_status); }; }; then
8168 ac_cv_func_connect
=yes
8170 echo "$as_me: failed program was:" >&5
8171 sed 's/^/| /' conftest.
$ac_ext >&5
8173 ac_cv_func_connect
=no
8175 rm -f conftest.err conftest.
$ac_objext \
8176 conftest
$ac_exeext conftest.
$ac_ext
8178 echo "$as_me:$LINENO: result: $ac_cv_func_connect" >&5
8179 echo "${ECHO_T}$ac_cv_func_connect" >&6
8181 if test $ac_cv_func_connect = no
; then
8182 echo "$as_me:$LINENO: checking for connect in -lsocket" >&5
8183 echo $ECHO_N "checking for connect in -lsocket... $ECHO_C" >&6
8184 if test "${ac_cv_lib_socket_connect+set}" = set; then
8185 echo $ECHO_N "(cached) $ECHO_C" >&6
8187 ac_check_lib_save_LIBS
=$LIBS
8188 LIBS
="-lsocket $X_EXTRA_LIBS $LIBS"
8189 if test x
$gcc_no_link = xyes
; then
8190 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
8191 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
8192 { (exit 1); exit 1; }; }
8194 cat >conftest.
$ac_ext <<_ACEOF
8197 cat confdefs.h
>>conftest.
$ac_ext
8198 cat >>conftest.
$ac_ext <<_ACEOF
8199 /* end confdefs.h. */
8201 /* Override any gcc2 internal prototype to avoid an error. */
8205 /* We use char because int might match the return type of a gcc2
8206 builtin and then its argument prototype would still apply. */
8216 rm -f conftest.
$ac_objext conftest
$ac_exeext
8217 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8218 (eval $ac_link) 2>conftest.er1
8220 grep -v '^ *+' conftest.er1
>conftest.err
8222 cat conftest.err
>&5
8223 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8224 (exit $ac_status); } &&
8225 { ac_try
='test -z "$ac_c_werror_flag"
8226 || test ! -s conftest.err'
8227 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8230 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8231 (exit $ac_status); }; } &&
8232 { ac_try
='test -s conftest$ac_exeext'
8233 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8236 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8237 (exit $ac_status); }; }; then
8238 ac_cv_lib_socket_connect
=yes
8240 echo "$as_me: failed program was:" >&5
8241 sed 's/^/| /' conftest.
$ac_ext >&5
8243 ac_cv_lib_socket_connect
=no
8245 rm -f conftest.err conftest.
$ac_objext \
8246 conftest
$ac_exeext conftest.
$ac_ext
8247 LIBS
=$ac_check_lib_save_LIBS
8249 echo "$as_me:$LINENO: result: $ac_cv_lib_socket_connect" >&5
8250 echo "${ECHO_T}$ac_cv_lib_socket_connect" >&6
8251 if test $ac_cv_lib_socket_connect = yes; then
8252 X_EXTRA_LIBS
="-lsocket $X_EXTRA_LIBS"
8257 # Guillermo Gomez says -lposix is necessary on A/UX.
8258 echo "$as_me:$LINENO: checking for remove" >&5
8259 echo $ECHO_N "checking for remove... $ECHO_C" >&6
8260 if test "${ac_cv_func_remove+set}" = set; then
8261 echo $ECHO_N "(cached) $ECHO_C" >&6
8263 if test x
$gcc_no_link = xyes
; then
8264 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
8265 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
8266 { (exit 1); exit 1; }; }
8268 cat >conftest.
$ac_ext <<_ACEOF
8271 cat confdefs.h
>>conftest.
$ac_ext
8272 cat >>conftest.
$ac_ext <<_ACEOF
8273 /* end confdefs.h. */
8274 /* Define remove to an innocuous variant, in case <limits.h> declares remove.
8275 For example, HP-UX 11i <limits.h> declares gettimeofday. */
8276 #define remove innocuous_remove
8278 /* System header to define __stub macros and hopefully few prototypes,
8279 which can conflict with char remove (); below.
8280 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
8281 <limits.h> exists even on freestanding compilers. */
8284 # include <limits.h>
8286 # include <assert.h>
8291 /* Override any gcc2 internal prototype to avoid an error. */
8296 /* We use char because int might match the return type of a gcc2
8297 builtin and then its argument prototype would still apply. */
8299 /* The GNU C library defines this for functions which it implements
8300 to always fail with ENOSYS. Some functions are actually named
8301 something starting with __ and the normal name is an alias. */
8302 #if defined (__stub_remove) || defined (__stub___remove)
8305 char (*f) () = remove;
8319 rm -f conftest.
$ac_objext conftest
$ac_exeext
8320 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8321 (eval $ac_link) 2>conftest.er1
8323 grep -v '^ *+' conftest.er1
>conftest.err
8325 cat conftest.err
>&5
8326 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8327 (exit $ac_status); } &&
8328 { ac_try
='test -z "$ac_c_werror_flag"
8329 || test ! -s conftest.err'
8330 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8333 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8334 (exit $ac_status); }; } &&
8335 { ac_try
='test -s conftest$ac_exeext'
8336 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8339 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8340 (exit $ac_status); }; }; then
8341 ac_cv_func_remove
=yes
8343 echo "$as_me: failed program was:" >&5
8344 sed 's/^/| /' conftest.
$ac_ext >&5
8346 ac_cv_func_remove
=no
8348 rm -f conftest.err conftest.
$ac_objext \
8349 conftest
$ac_exeext conftest.
$ac_ext
8351 echo "$as_me:$LINENO: result: $ac_cv_func_remove" >&5
8352 echo "${ECHO_T}$ac_cv_func_remove" >&6
8354 if test $ac_cv_func_remove = no
; then
8355 echo "$as_me:$LINENO: checking for remove in -lposix" >&5
8356 echo $ECHO_N "checking for remove in -lposix... $ECHO_C" >&6
8357 if test "${ac_cv_lib_posix_remove+set}" = set; then
8358 echo $ECHO_N "(cached) $ECHO_C" >&6
8360 ac_check_lib_save_LIBS
=$LIBS
8361 LIBS
="-lposix $LIBS"
8362 if test x
$gcc_no_link = xyes
; then
8363 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
8364 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
8365 { (exit 1); exit 1; }; }
8367 cat >conftest.
$ac_ext <<_ACEOF
8370 cat confdefs.h
>>conftest.
$ac_ext
8371 cat >>conftest.
$ac_ext <<_ACEOF
8372 /* end confdefs.h. */
8374 /* Override any gcc2 internal prototype to avoid an error. */
8378 /* We use char because int might match the return type of a gcc2
8379 builtin and then its argument prototype would still apply. */
8389 rm -f conftest.
$ac_objext conftest
$ac_exeext
8390 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8391 (eval $ac_link) 2>conftest.er1
8393 grep -v '^ *+' conftest.er1
>conftest.err
8395 cat conftest.err
>&5
8396 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8397 (exit $ac_status); } &&
8398 { ac_try
='test -z "$ac_c_werror_flag"
8399 || test ! -s conftest.err'
8400 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8403 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8404 (exit $ac_status); }; } &&
8405 { ac_try
='test -s conftest$ac_exeext'
8406 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8409 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8410 (exit $ac_status); }; }; then
8411 ac_cv_lib_posix_remove
=yes
8413 echo "$as_me: failed program was:" >&5
8414 sed 's/^/| /' conftest.
$ac_ext >&5
8416 ac_cv_lib_posix_remove
=no
8418 rm -f conftest.err conftest.
$ac_objext \
8419 conftest
$ac_exeext conftest.
$ac_ext
8420 LIBS
=$ac_check_lib_save_LIBS
8422 echo "$as_me:$LINENO: result: $ac_cv_lib_posix_remove" >&5
8423 echo "${ECHO_T}$ac_cv_lib_posix_remove" >&6
8424 if test $ac_cv_lib_posix_remove = yes; then
8425 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lposix"
8430 # BSDI BSD/OS 2.1 needs -lipc for XOpenDisplay.
8431 echo "$as_me:$LINENO: checking for shmat" >&5
8432 echo $ECHO_N "checking for shmat... $ECHO_C" >&6
8433 if test "${ac_cv_func_shmat+set}" = set; then
8434 echo $ECHO_N "(cached) $ECHO_C" >&6
8436 if test x
$gcc_no_link = xyes
; then
8437 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
8438 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
8439 { (exit 1); exit 1; }; }
8441 cat >conftest.
$ac_ext <<_ACEOF
8444 cat confdefs.h
>>conftest.
$ac_ext
8445 cat >>conftest.
$ac_ext <<_ACEOF
8446 /* end confdefs.h. */
8447 /* Define shmat to an innocuous variant, in case <limits.h> declares shmat.
8448 For example, HP-UX 11i <limits.h> declares gettimeofday. */
8449 #define shmat innocuous_shmat
8451 /* System header to define __stub macros and hopefully few prototypes,
8452 which can conflict with char shmat (); below.
8453 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
8454 <limits.h> exists even on freestanding compilers. */
8457 # include <limits.h>
8459 # include <assert.h>
8464 /* Override any gcc2 internal prototype to avoid an error. */
8469 /* We use char because int might match the return type of a gcc2
8470 builtin and then its argument prototype would still apply. */
8472 /* The GNU C library defines this for functions which it implements
8473 to always fail with ENOSYS. Some functions are actually named
8474 something starting with __ and the normal name is an alias. */
8475 #if defined (__stub_shmat) || defined (__stub___shmat)
8478 char (*f) () = shmat;
8492 rm -f conftest.
$ac_objext conftest
$ac_exeext
8493 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8494 (eval $ac_link) 2>conftest.er1
8496 grep -v '^ *+' conftest.er1
>conftest.err
8498 cat conftest.err
>&5
8499 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8500 (exit $ac_status); } &&
8501 { ac_try
='test -z "$ac_c_werror_flag"
8502 || test ! -s conftest.err'
8503 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8506 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8507 (exit $ac_status); }; } &&
8508 { ac_try
='test -s conftest$ac_exeext'
8509 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8512 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8513 (exit $ac_status); }; }; then
8514 ac_cv_func_shmat
=yes
8516 echo "$as_me: failed program was:" >&5
8517 sed 's/^/| /' conftest.
$ac_ext >&5
8521 rm -f conftest.err conftest.
$ac_objext \
8522 conftest
$ac_exeext conftest.
$ac_ext
8524 echo "$as_me:$LINENO: result: $ac_cv_func_shmat" >&5
8525 echo "${ECHO_T}$ac_cv_func_shmat" >&6
8527 if test $ac_cv_func_shmat = no
; then
8528 echo "$as_me:$LINENO: checking for shmat in -lipc" >&5
8529 echo $ECHO_N "checking for shmat in -lipc... $ECHO_C" >&6
8530 if test "${ac_cv_lib_ipc_shmat+set}" = set; then
8531 echo $ECHO_N "(cached) $ECHO_C" >&6
8533 ac_check_lib_save_LIBS
=$LIBS
8535 if test x
$gcc_no_link = xyes
; then
8536 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
8537 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
8538 { (exit 1); exit 1; }; }
8540 cat >conftest.
$ac_ext <<_ACEOF
8543 cat confdefs.h
>>conftest.
$ac_ext
8544 cat >>conftest.
$ac_ext <<_ACEOF
8545 /* end confdefs.h. */
8547 /* Override any gcc2 internal prototype to avoid an error. */
8551 /* We use char because int might match the return type of a gcc2
8552 builtin and then its argument prototype would still apply. */
8562 rm -f conftest.
$ac_objext conftest
$ac_exeext
8563 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8564 (eval $ac_link) 2>conftest.er1
8566 grep -v '^ *+' conftest.er1
>conftest.err
8568 cat conftest.err
>&5
8569 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8570 (exit $ac_status); } &&
8571 { ac_try
='test -z "$ac_c_werror_flag"
8572 || test ! -s conftest.err'
8573 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8576 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8577 (exit $ac_status); }; } &&
8578 { ac_try
='test -s conftest$ac_exeext'
8579 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8582 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8583 (exit $ac_status); }; }; then
8584 ac_cv_lib_ipc_shmat
=yes
8586 echo "$as_me: failed program was:" >&5
8587 sed 's/^/| /' conftest.
$ac_ext >&5
8589 ac_cv_lib_ipc_shmat
=no
8591 rm -f conftest.err conftest.
$ac_objext \
8592 conftest
$ac_exeext conftest.
$ac_ext
8593 LIBS
=$ac_check_lib_save_LIBS
8595 echo "$as_me:$LINENO: result: $ac_cv_lib_ipc_shmat" >&5
8596 echo "${ECHO_T}$ac_cv_lib_ipc_shmat" >&6
8597 if test $ac_cv_lib_ipc_shmat = yes; then
8598 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lipc"
8604 # Check for libraries that X11R6 Xt/Xaw programs need.
8605 ac_save_LDFLAGS
=$LDFLAGS
8606 test -n "$x_libraries" && LDFLAGS
="$LDFLAGS -L$x_libraries"
8607 # SM needs ICE to (dynamically) link under SunOS 4.x (so we have to
8608 # check for ICE first), but we must link in the order -lSM -lICE or
8609 # we get undefined symbols. So assume we have SM if we have ICE.
8610 # These have to be linked with before -lX11, unlike the other
8611 # libraries we check for below, so use a different variable.
8612 # John Interrante, Karl Berry
8613 echo "$as_me:$LINENO: checking for IceConnectionNumber in -lICE" >&5
8614 echo $ECHO_N "checking for IceConnectionNumber in -lICE... $ECHO_C" >&6
8615 if test "${ac_cv_lib_ICE_IceConnectionNumber+set}" = set; then
8616 echo $ECHO_N "(cached) $ECHO_C" >&6
8618 ac_check_lib_save_LIBS
=$LIBS
8619 LIBS
="-lICE $X_EXTRA_LIBS $LIBS"
8620 if test x
$gcc_no_link = xyes
; then
8621 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
8622 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
8623 { (exit 1); exit 1; }; }
8625 cat >conftest.
$ac_ext <<_ACEOF
8628 cat confdefs.h
>>conftest.
$ac_ext
8629 cat >>conftest.
$ac_ext <<_ACEOF
8630 /* end confdefs.h. */
8632 /* Override any gcc2 internal prototype to avoid an error. */
8636 /* We use char because int might match the return type of a gcc2
8637 builtin and then its argument prototype would still apply. */
8638 char IceConnectionNumber ();
8642 IceConnectionNumber ();
8647 rm -f conftest.
$ac_objext conftest
$ac_exeext
8648 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8649 (eval $ac_link) 2>conftest.er1
8651 grep -v '^ *+' conftest.er1
>conftest.err
8653 cat conftest.err
>&5
8654 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8655 (exit $ac_status); } &&
8656 { ac_try
='test -z "$ac_c_werror_flag"
8657 || test ! -s conftest.err'
8658 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8661 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8662 (exit $ac_status); }; } &&
8663 { ac_try
='test -s conftest$ac_exeext'
8664 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8667 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8668 (exit $ac_status); }; }; then
8669 ac_cv_lib_ICE_IceConnectionNumber
=yes
8671 echo "$as_me: failed program was:" >&5
8672 sed 's/^/| /' conftest.
$ac_ext >&5
8674 ac_cv_lib_ICE_IceConnectionNumber
=no
8676 rm -f conftest.err conftest.
$ac_objext \
8677 conftest
$ac_exeext conftest.
$ac_ext
8678 LIBS
=$ac_check_lib_save_LIBS
8680 echo "$as_me:$LINENO: result: $ac_cv_lib_ICE_IceConnectionNumber" >&5
8681 echo "${ECHO_T}$ac_cv_lib_ICE_IceConnectionNumber" >&6
8682 if test $ac_cv_lib_ICE_IceConnectionNumber = yes; then
8683 X_PRE_LIBS
="$X_PRE_LIBS -lSM -lICE"
8686 LDFLAGS
=$ac_save_LDFLAGS
8691 # determine whether to enable the cairo GTK Graphics2D backend
8692 # Check whether --enable-gtk-cairo or --disable-gtk-cairo was given.
8693 if test "${enable_gtk_cairo+set}" = set; then
8694 enableval
="$enable_gtk_cairo"
8699 if test "x${enable_gtk_cairo}" = xyes
; then
8707 if test "x${enable_gtk_cairo}" = xyes
8712 if test -z "$PKG_CONFIG"; then
8713 # Extract the first word of "pkg-config", so it can be a program name with args.
8714 set dummy pkg-config
; ac_word
=$2
8715 echo "$as_me:$LINENO: checking for $ac_word" >&5
8716 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
8717 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
8718 echo $ECHO_N "(cached) $ECHO_C" >&6
8722 ac_cv_path_PKG_CONFIG
="$PKG_CONFIG" # Let the user override the test with a path.
8725 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
8729 test -z "$as_dir" && as_dir
=.
8730 for ac_exec_ext
in '' $ac_executable_extensions; do
8731 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8732 ac_cv_path_PKG_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
8733 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
8739 test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG
="no"
8743 PKG_CONFIG
=$ac_cv_path_PKG_CONFIG
8745 if test -n "$PKG_CONFIG"; then
8746 echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
8747 echo "${ECHO_T}$PKG_CONFIG" >&6
8749 echo "$as_me:$LINENO: result: no" >&5
8750 echo "${ECHO_T}no" >&6
8755 if test "$PKG_CONFIG" = "no" ; then
8756 echo "*** The pkg-config script could not be found. Make sure it is"
8757 echo "*** in your path, or set the PKG_CONFIG environment variable"
8758 echo "*** to the full path to pkg-config."
8759 echo "*** Or see http://www.freedesktop.org/software/pkgconfig to get pkg-config."
8761 PKG_CONFIG_MIN_VERSION
=0.9.0
8762 if $PKG_CONFIG --atleast-pkgconfig-version $PKG_CONFIG_MIN_VERSION; then
8763 echo "$as_me:$LINENO: checking for cairo" >&5
8764 echo $ECHO_N "checking for cairo... $ECHO_C" >&6
8766 if $PKG_CONFIG --exists "cairo" ; then
8767 echo "$as_me:$LINENO: result: yes" >&5
8768 echo "${ECHO_T}yes" >&6
8771 echo "$as_me:$LINENO: checking CAIRO_CFLAGS" >&5
8772 echo $ECHO_N "checking CAIRO_CFLAGS... $ECHO_C" >&6
8773 CAIRO_CFLAGS
=`$PKG_CONFIG --cflags "cairo"`
8774 echo "$as_me:$LINENO: result: $CAIRO_CFLAGS" >&5
8775 echo "${ECHO_T}$CAIRO_CFLAGS" >&6
8777 echo "$as_me:$LINENO: checking CAIRO_LIBS" >&5
8778 echo $ECHO_N "checking CAIRO_LIBS... $ECHO_C" >&6
8779 CAIRO_LIBS
=`$PKG_CONFIG --libs "cairo"`
8780 echo "$as_me:$LINENO: result: $CAIRO_LIBS" >&5
8781 echo "${ECHO_T}$CAIRO_LIBS" >&6
8785 ## If we have a custom action on failure, don't print errors, but
8786 ## do set a variable so people can do so.
8787 CAIRO_PKG_ERRORS
=`$PKG_CONFIG --errors-to-stdout --print-errors "cairo"`
8788 echo $CAIRO_PKG_ERRORS
8794 echo "*** Your version of pkg-config is too old. You need version $PKG_CONFIG_MIN_VERSION or newer."
8795 echo "*** See http://www.freedesktop.org/software/pkgconfig"
8799 if test $succeeded = yes; then
8802 { { 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
8803 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;}
8804 { (exit 1); exit 1; }; }
8810 if test -z "$PKG_CONFIG"; then
8811 # Extract the first word of "pkg-config", so it can be a program name with args.
8812 set dummy pkg-config
; ac_word
=$2
8813 echo "$as_me:$LINENO: checking for $ac_word" >&5
8814 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
8815 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
8816 echo $ECHO_N "(cached) $ECHO_C" >&6
8820 ac_cv_path_PKG_CONFIG
="$PKG_CONFIG" # Let the user override the test with a path.
8823 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
8827 test -z "$as_dir" && as_dir
=.
8828 for ac_exec_ext
in '' $ac_executable_extensions; do
8829 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8830 ac_cv_path_PKG_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
8831 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
8837 test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG
="no"
8841 PKG_CONFIG
=$ac_cv_path_PKG_CONFIG
8843 if test -n "$PKG_CONFIG"; then
8844 echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
8845 echo "${ECHO_T}$PKG_CONFIG" >&6
8847 echo "$as_me:$LINENO: result: no" >&5
8848 echo "${ECHO_T}no" >&6
8853 if test "$PKG_CONFIG" = "no" ; then
8854 echo "*** The pkg-config script could not be found. Make sure it is"
8855 echo "*** in your path, or set the PKG_CONFIG environment variable"
8856 echo "*** to the full path to pkg-config."
8857 echo "*** Or see http://www.freedesktop.org/software/pkgconfig to get pkg-config."
8859 PKG_CONFIG_MIN_VERSION
=0.9.0
8860 if $PKG_CONFIG --atleast-pkgconfig-version $PKG_CONFIG_MIN_VERSION; then
8861 echo "$as_me:$LINENO: checking for pangoft2" >&5
8862 echo $ECHO_N "checking for pangoft2... $ECHO_C" >&6
8864 if $PKG_CONFIG --exists "pangoft2" ; then
8865 echo "$as_me:$LINENO: result: yes" >&5
8866 echo "${ECHO_T}yes" >&6
8869 echo "$as_me:$LINENO: checking PANGOFT2_CFLAGS" >&5
8870 echo $ECHO_N "checking PANGOFT2_CFLAGS... $ECHO_C" >&6
8871 PANGOFT2_CFLAGS
=`$PKG_CONFIG --cflags "pangoft2"`
8872 echo "$as_me:$LINENO: result: $PANGOFT2_CFLAGS" >&5
8873 echo "${ECHO_T}$PANGOFT2_CFLAGS" >&6
8875 echo "$as_me:$LINENO: checking PANGOFT2_LIBS" >&5
8876 echo $ECHO_N "checking PANGOFT2_LIBS... $ECHO_C" >&6
8877 PANGOFT2_LIBS
=`$PKG_CONFIG --libs "pangoft2"`
8878 echo "$as_me:$LINENO: result: $PANGOFT2_LIBS" >&5
8879 echo "${ECHO_T}$PANGOFT2_LIBS" >&6
8883 ## If we have a custom action on failure, don't print errors, but
8884 ## do set a variable so people can do so.
8885 PANGOFT2_PKG_ERRORS
=`$PKG_CONFIG --errors-to-stdout --print-errors "pangoft2"`
8886 echo $PANGOFT2_PKG_ERRORS
8892 echo "*** Your version of pkg-config is too old. You need version $PKG_CONFIG_MIN_VERSION or newer."
8893 echo "*** See http://www.freedesktop.org/software/pkgconfig"
8897 if test $succeeded = yes; then
8900 { { 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
8901 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;}
8902 { (exit 1); exit 1; }; }
8911 # FIXME: this should be _libs on some hosts.
8914 # extra LD Flags which are required for targets
8917 # For now we have to disable it on darwin[8-9] because it slows down
8918 # the linking phase. A possible bug in ld?
8919 # on Darwin -single_module speeds up loading of the dynamic libraries.
8920 extra_ldflags_libjava
=-Wl,-single_module
8925 # Allow the GC to be disabled. Can be useful when debugging.
8926 echo "$as_me:$LINENO: checking for garbage collector to use" >&5
8927 echo $ECHO_N "checking for garbage collector to use... $ECHO_C" >&6
8928 # Check whether --enable-java-gc or --disable-java-gc was given.
8929 if test "${enable_java_gc+set}" = set; then
8930 enableval
="$enable_java_gc"
8943 echo "$as_me:$LINENO: result: boehm" >&5
8944 echo "${ECHO_T}boehm" >&6
8945 GCLIBS
=..
/boehm-gc
/libgcjgc_convenience.la
8946 JC1GCSPEC
='-fuse-boehm-gc'
8947 GCTESTSPEC
="-L`${PWDCMD-pwd}`/../boehm-gc/.libs -rpath `${PWDCMD-pwd}`/../boehm-gc/.libs"
8948 GCINCS
='-I$(top_srcdir)/../boehm-gc/include -I../boehm-gc/include'
8951 # The POSIX thread support needs to know this.
8953 cat >>confdefs.h
<<\_ACEOF
8954 #define HAVE_BOEHM_GC 1
8959 echo "$as_me:$LINENO: result: none" >&5
8960 echo "${ECHO_T}none" >&6
8964 { { echo "$as_me:$LINENO: error: unrecognized collector \"$GC\"" >&5
8965 echo "$as_me: error: unrecognized collector \"$GC\"" >&2;}
8966 { (exit 1); exit 1; }; }
8975 ac_config_links
="$ac_config_links include/java-gc.h:include/$GCHDR"
8979 if test "$GC" = boehm
; then
8981 USING_BOEHMGC_FALSE
='#'
8983 USING_BOEHMGC_TRUE
='#'
8984 USING_BOEHMGC_FALSE
=
8989 if test "$GC" = no
; then
8991 USING_NOGC_FALSE
='#'
8999 echo "$as_me:$LINENO: checking for thread model used by GCC" >&5
9000 echo $ECHO_N "checking for thread model used by GCC... $ECHO_C" >&6
9001 THREADS
=`$CC -v 2>&1 | sed -n 's/^Thread model: //p'`
9002 echo "$as_me:$LINENO: result: $THREADS" >&5
9003 echo "${ECHO_T}$THREADS" >&6
9009 posix | posix95 | pthreads
)
9014 cat >>confdefs.h
<<\_ACEOF
9015 #define LINUX_THREADS 1
9023 decosf1 | irix | mach | os2 | solaris | dce | vxworks
)
9024 { { echo "$as_me:$LINENO: error: thread package $THREADS not yet supported" >&5
9025 echo "$as_me: error: thread package $THREADS not yet supported" >&2;}
9026 { (exit 1); exit 1; }; }
9029 { { echo "$as_me:$LINENO: error: $THREADS is an unknown thread package" >&5
9030 echo "$as_me: error: $THREADS is an unknown thread package" >&2;}
9031 { (exit 1); exit 1; }; }
9046 # Don't set THREADLIBS here. Cygwin doesn't have -lpthread.
9049 # Before FreeBSD 5, it didn't have -lpthread (or any library which
9050 # merely adds pthread_* functions) but it does have a -pthread switch
9051 # which is required at link-time to select -lc_r *instead* of -lc.
9052 THREADLDFLAGS
=-pthread
9053 # Don't set THREADSPEC here as might be expected since -pthread is
9054 # not processed when found within a spec file, it must come from
9055 # the command line. For now, the user must provide the -pthread
9056 # switch to link code compiled with gcj. In future, consider adding
9057 # support for weak references to pthread_* functions ala gthr.h API.
9058 THREADSPEC
='%{!pthread: %{!shared: %eUnder this configuration, the user must provide -pthread when linking.}}'
9061 # FreeBSD 5 implements a model much closer to other modern UNIX
9062 # which support threads. However, it still does not support
9064 THREADLDFLAGS
=-pthread
9068 THREADCXXFLAGS
=-pthread
9069 # boehm-gc needs some functions from librt, so link that too.
9070 THREADLIBS
='-lpthread -lrt'
9071 THREADSPEC
='-lpthread -lrt'
9074 THREADLIBS
=-lpthread
9075 THREADSPEC
=-lpthread
9078 THREADH
=posix-threads.h
9079 # MIT pthreads doesn't seem to have the mutexattr functions.
9080 # But for now we don't check for it. We just assume you aren't
9081 # using MIT pthreads.
9083 cat >>confdefs.h
<<\_ACEOF
9084 #define HAVE_PTHREAD_MUTEXATTR_INIT 1
9088 # If we're using the Boehm GC, then we happen to know that it
9089 # defines _REENTRANT, so we don't bother. Eww.
9090 if test "$GC" != boehm
; then
9092 cat >>confdefs.h
<<\_ACEOF
9093 #define _REENTRANT 1
9098 cat >>confdefs.h
<<\_ACEOF
9099 #define _POSIX_PTHREAD_SEMANTICS 1
9105 THREADH
=win32-threads.h
9109 THREADH
=no-threads.h
9112 ac_config_links
="$ac_config_links include/java-threads.h:include/$THREADH"
9122 if test "$THREADS" = posix
; then
9123 USING_POSIX_THREADS_TRUE
=
9124 USING_POSIX_THREADS_FALSE
='#'
9126 USING_POSIX_THREADS_TRUE
='#'
9127 USING_POSIX_THREADS_FALSE
=
9132 if test "$THREADS" = win32
; then
9133 USING_WIN32_THREADS_TRUE
=
9134 USING_WIN32_THREADS_FALSE
='#'
9136 USING_WIN32_THREADS_TRUE
='#'
9137 USING_WIN32_THREADS_FALSE
=
9142 if test "$THREADS" = none
; then
9143 USING_NO_THREADS_TRUE
=
9144 USING_NO_THREADS_FALSE
='#'
9146 USING_NO_THREADS_TRUE
='#'
9147 USING_NO_THREADS_FALSE
=
9151 if test -d sysdep
; then true
; else mkdir sysdep
; fi
9152 ac_config_links
="$ac_config_links sysdep/locks.h:sysdep/$sysdeps_dir/locks.h"
9154 ac_config_links
="$ac_config_links sysdep/backtrace.h:$fallback_backtrace_h"
9156 ac_config_links
="$ac_config_links sysdep/descriptor.h:$descriptor_h"
9160 # Hash synchronization is only useful with posix threads right now.
9161 if test "$enable_hash_synchronization" = yes && test "$THREADS" != "none"; then
9162 HASH_SYNC_SPEC
=-fhash-synchronization
9164 cat >>confdefs.h
<<\_ACEOF
9165 #define JV_HASH_SYNCHRONIZATION 1
9173 if test "$GCC" = yes; then
9182 # We're in the tree with gcc, and need to include some of its headers.
9183 GCC_UNWIND_INCLUDE
='-I$(libgcj_basedir)/../gcc'
9185 if test "x${with_newlib}" = "xyes"; then
9186 # We are being configured with a cross compiler. AC_REPLACE_FUNCS
9187 # may not work correctly, because the compiler may not be able to
9190 # We assume newlib. This lets us hard-code the functions we know
9193 cat >>confdefs.h
<<\_ACEOF
9194 #define HAVE_MEMMOVE 1
9198 cat >>confdefs.h
<<\_ACEOF
9199 #define HAVE_MEMCPY 1
9203 cat >>confdefs.h
<<\_ACEOF
9204 #define HAVE_STRERROR 1
9208 cat >>confdefs.h
<<\_ACEOF
9213 cat >>confdefs.h
<<\_ACEOF
9214 #define HAVE_GMTIME_R 1
9218 cat >>confdefs.h
<<\_ACEOF
9219 #define HAVE_LOCALTIME_R 1
9223 cat >>confdefs.h
<<\_ACEOF
9224 #define HAVE_USLEEP_DECL 1
9227 # This is only for POSIX threads.
9229 cat >>confdefs.h
<<\_ACEOF
9230 #define HAVE_PTHREAD_MUTEXATTR_INIT 1
9233 # We also assume we are using gcc, which provides alloca.
9234 cat >>confdefs.h
<<\_ACEOF
9235 #define HAVE_ALLOCA 1
9239 # Assume we do not have getuid and friends.
9241 cat >>confdefs.h
<<\_ACEOF
9279 for ac_func
in strerror ioctl
select fstat open fsync
sleep opendir \
9280 gmtime_r localtime_r readdir_r getpwuid_r getcwd \
9281 access stat mkdir rename
rmdir unlink realpath utime
chmod \
9282 nl_langinfo setlocale \
9283 inet_pton uname inet_ntoa \
9284 fork execvp pipe sigaction ftruncate
9286 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
9287 echo "$as_me:$LINENO: checking for $ac_func" >&5
9288 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
9289 if eval "test \"\${$as_ac_var+set}\" = set"; then
9290 echo $ECHO_N "(cached) $ECHO_C" >&6
9292 if test x
$gcc_no_link = xyes
; then
9293 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
9294 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
9295 { (exit 1); exit 1; }; }
9297 cat >conftest.
$ac_ext <<_ACEOF
9300 cat confdefs.h
>>conftest.
$ac_ext
9301 cat >>conftest.
$ac_ext <<_ACEOF
9302 /* end confdefs.h. */
9303 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
9304 For example, HP-UX 11i <limits.h> declares gettimeofday. */
9305 #define $ac_func innocuous_$ac_func
9307 /* System header to define __stub macros and hopefully few prototypes,
9308 which can conflict with char $ac_func (); below.
9309 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
9310 <limits.h> exists even on freestanding compilers. */
9313 # include <limits.h>
9315 # include <assert.h>
9320 /* Override any gcc2 internal prototype to avoid an error. */
9325 /* We use char because int might match the return type of a gcc2
9326 builtin and then its argument prototype would still apply. */
9328 /* The GNU C library defines this for functions which it implements
9329 to always fail with ENOSYS. Some functions are actually named
9330 something starting with __ and the normal name is an alias. */
9331 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
9334 char (*f) () = $ac_func;
9343 return f != $ac_func;
9348 rm -f conftest.
$ac_objext conftest
$ac_exeext
9349 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
9350 (eval $ac_link) 2>conftest.er1
9352 grep -v '^ *+' conftest.er1
>conftest.err
9354 cat conftest.err
>&5
9355 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9356 (exit $ac_status); } &&
9357 { ac_try
='test -z "$ac_c_werror_flag"
9358 || test ! -s conftest.err'
9359 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9362 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9363 (exit $ac_status); }; } &&
9364 { ac_try
='test -s conftest$ac_exeext'
9365 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9368 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9369 (exit $ac_status); }; }; then
9370 eval "$as_ac_var=yes"
9372 echo "$as_me: failed program was:" >&5
9373 sed 's/^/| /' conftest.
$ac_ext >&5
9375 eval "$as_ac_var=no"
9377 rm -f conftest.err conftest.
$ac_objext \
9378 conftest
$ac_exeext conftest.
$ac_ext
9380 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
9381 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
9382 if test `eval echo '${'$as_ac_var'}'` = yes; then
9383 cat >>confdefs.h
<<_ACEOF
9384 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
9392 for ac_func
in inet_aton inet_addr
9394 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
9395 echo "$as_me:$LINENO: checking for $ac_func" >&5
9396 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
9397 if eval "test \"\${$as_ac_var+set}\" = set"; then
9398 echo $ECHO_N "(cached) $ECHO_C" >&6
9400 if test x
$gcc_no_link = xyes
; then
9401 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
9402 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
9403 { (exit 1); exit 1; }; }
9405 cat >conftest.
$ac_ext <<_ACEOF
9408 cat confdefs.h
>>conftest.
$ac_ext
9409 cat >>conftest.
$ac_ext <<_ACEOF
9410 /* end confdefs.h. */
9411 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
9412 For example, HP-UX 11i <limits.h> declares gettimeofday. */
9413 #define $ac_func innocuous_$ac_func
9415 /* System header to define __stub macros and hopefully few prototypes,
9416 which can conflict with char $ac_func (); below.
9417 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
9418 <limits.h> exists even on freestanding compilers. */
9421 # include <limits.h>
9423 # include <assert.h>
9428 /* Override any gcc2 internal prototype to avoid an error. */
9433 /* We use char because int might match the return type of a gcc2
9434 builtin and then its argument prototype would still apply. */
9436 /* The GNU C library defines this for functions which it implements
9437 to always fail with ENOSYS. Some functions are actually named
9438 something starting with __ and the normal name is an alias. */
9439 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
9442 char (*f) () = $ac_func;
9451 return f != $ac_func;
9456 rm -f conftest.
$ac_objext conftest
$ac_exeext
9457 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
9458 (eval $ac_link) 2>conftest.er1
9460 grep -v '^ *+' conftest.er1
>conftest.err
9462 cat conftest.err
>&5
9463 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9464 (exit $ac_status); } &&
9465 { ac_try
='test -z "$ac_c_werror_flag"
9466 || test ! -s conftest.err'
9467 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9470 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9471 (exit $ac_status); }; } &&
9472 { ac_try
='test -s conftest$ac_exeext'
9473 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9476 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9477 (exit $ac_status); }; }; then
9478 eval "$as_ac_var=yes"
9480 echo "$as_me: failed program was:" >&5
9481 sed 's/^/| /' conftest.
$ac_ext >&5
9483 eval "$as_ac_var=no"
9485 rm -f conftest.err conftest.
$ac_objext \
9486 conftest
$ac_exeext conftest.
$ac_ext
9488 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
9489 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
9490 if test `eval echo '${'$as_ac_var'}'` = yes; then
9491 cat >>confdefs.h
<<_ACEOF
9492 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
9498 echo "$as_me:$LINENO: checking for ANSI C header files" >&5
9499 echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6
9500 if test "${ac_cv_header_stdc+set}" = set; then
9501 echo $ECHO_N "(cached) $ECHO_C" >&6
9503 cat >conftest.
$ac_ext <<_ACEOF
9506 cat confdefs.h
>>conftest.
$ac_ext
9507 cat >>conftest.
$ac_ext <<_ACEOF
9508 /* end confdefs.h. */
9522 rm -f conftest.
$ac_objext
9523 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
9524 (eval $ac_compile) 2>conftest.er1
9526 grep -v '^ *+' conftest.er1
>conftest.err
9528 cat conftest.err
>&5
9529 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9530 (exit $ac_status); } &&
9531 { ac_try
='test -z "$ac_c_werror_flag"
9532 || test ! -s conftest.err'
9533 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9536 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9537 (exit $ac_status); }; } &&
9538 { ac_try
='test -s conftest.$ac_objext'
9539 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9542 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9543 (exit $ac_status); }; }; then
9544 ac_cv_header_stdc
=yes
9546 echo "$as_me: failed program was:" >&5
9547 sed 's/^/| /' conftest.
$ac_ext >&5
9549 ac_cv_header_stdc
=no
9551 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
9553 if test $ac_cv_header_stdc = yes; then
9554 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
9555 cat >conftest.
$ac_ext <<_ACEOF
9558 cat confdefs.h
>>conftest.
$ac_ext
9559 cat >>conftest.
$ac_ext <<_ACEOF
9560 /* end confdefs.h. */
9564 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
9565 $EGREP "memchr" >/dev
/null
2>&1; then
9568 ac_cv_header_stdc
=no
9574 if test $ac_cv_header_stdc = yes; then
9575 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
9576 cat >conftest.
$ac_ext <<_ACEOF
9579 cat confdefs.h
>>conftest.
$ac_ext
9580 cat >>conftest.
$ac_ext <<_ACEOF
9581 /* end confdefs.h. */
9585 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
9586 $EGREP "free" >/dev
/null
2>&1; then
9589 ac_cv_header_stdc
=no
9595 if test $ac_cv_header_stdc = yes; then
9596 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
9597 if test "$cross_compiling" = yes; then
9600 cat >conftest.
$ac_ext <<_ACEOF
9603 cat confdefs.h
>>conftest.
$ac_ext
9604 cat >>conftest.
$ac_ext <<_ACEOF
9605 /* end confdefs.h. */
9607 #if ((' ' & 0x0FF) == 0x020)
9608 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
9609 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
9611 # define ISLOWER(c) \
9612 (('a' <= (c) && (c) <= 'i') \
9613 || ('j' <= (c) && (c) <= 'r') \
9614 || ('s' <= (c) && (c) <= 'z'))
9615 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
9618 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
9623 for (i = 0; i < 256; i++)
9624 if (XOR (islower (i), ISLOWER (i))
9625 || toupper (i) != TOUPPER (i))
9630 rm -f conftest
$ac_exeext
9631 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
9632 (eval $ac_link) 2>&5
9634 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9635 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
9636 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9639 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9640 (exit $ac_status); }; }; then
9643 echo "$as_me: program exited with status $ac_status" >&5
9644 echo "$as_me: failed program was:" >&5
9645 sed 's/^/| /' conftest.
$ac_ext >&5
9648 ac_cv_header_stdc
=no
9650 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
9654 echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
9655 echo "${ECHO_T}$ac_cv_header_stdc" >&6
9656 if test $ac_cv_header_stdc = yes; then
9658 cat >>confdefs.h
<<\_ACEOF
9659 #define STDC_HEADERS 1
9664 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
9674 for ac_header
in sys
/types.h sys
/stat.h stdlib.h string.h memory.h
strings.h \
9675 inttypes.h stdint.h unistd.h
9677 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
9678 echo "$as_me:$LINENO: checking for $ac_header" >&5
9679 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
9680 if eval "test \"\${$as_ac_Header+set}\" = set"; then
9681 echo $ECHO_N "(cached) $ECHO_C" >&6
9683 cat >conftest.
$ac_ext <<_ACEOF
9686 cat confdefs.h
>>conftest.
$ac_ext
9687 cat >>conftest.
$ac_ext <<_ACEOF
9688 /* end confdefs.h. */
9689 $ac_includes_default
9691 #include <$ac_header>
9693 rm -f conftest.
$ac_objext
9694 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
9695 (eval $ac_compile) 2>conftest.er1
9697 grep -v '^ *+' conftest.er1
>conftest.err
9699 cat conftest.err
>&5
9700 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9701 (exit $ac_status); } &&
9702 { ac_try
='test -z "$ac_c_werror_flag"
9703 || test ! -s conftest.err'
9704 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9707 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9708 (exit $ac_status); }; } &&
9709 { ac_try
='test -s conftest.$ac_objext'
9710 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9713 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9714 (exit $ac_status); }; }; then
9715 eval "$as_ac_Header=yes"
9717 echo "$as_me: failed program was:" >&5
9718 sed 's/^/| /' conftest.
$ac_ext >&5
9720 eval "$as_ac_Header=no"
9722 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
9724 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
9725 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
9726 if test `eval echo '${'$as_ac_Header'}'` = yes; then
9727 cat >>confdefs.h
<<_ACEOF
9728 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
9739 for ac_header
in execinfo.h unistd.h dlfcn.h
9741 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
9742 if eval "test \"\${$as_ac_Header+set}\" = set"; then
9743 echo "$as_me:$LINENO: checking for $ac_header" >&5
9744 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
9745 if eval "test \"\${$as_ac_Header+set}\" = set"; then
9746 echo $ECHO_N "(cached) $ECHO_C" >&6
9748 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
9749 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
9751 # Is the header compilable?
9752 echo "$as_me:$LINENO: checking $ac_header usability" >&5
9753 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
9754 cat >conftest.
$ac_ext <<_ACEOF
9757 cat confdefs.h
>>conftest.
$ac_ext
9758 cat >>conftest.
$ac_ext <<_ACEOF
9759 /* end confdefs.h. */
9760 $ac_includes_default
9761 #include <$ac_header>
9763 rm -f conftest.
$ac_objext
9764 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
9765 (eval $ac_compile) 2>conftest.er1
9767 grep -v '^ *+' conftest.er1
>conftest.err
9769 cat conftest.err
>&5
9770 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9771 (exit $ac_status); } &&
9772 { ac_try
='test -z "$ac_c_werror_flag"
9773 || test ! -s conftest.err'
9774 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9777 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9778 (exit $ac_status); }; } &&
9779 { ac_try
='test -s conftest.$ac_objext'
9780 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9783 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9784 (exit $ac_status); }; }; then
9785 ac_header_compiler
=yes
9787 echo "$as_me: failed program was:" >&5
9788 sed 's/^/| /' conftest.
$ac_ext >&5
9790 ac_header_compiler
=no
9792 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
9793 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
9794 echo "${ECHO_T}$ac_header_compiler" >&6
9796 # Is the header present?
9797 echo "$as_me:$LINENO: checking $ac_header presence" >&5
9798 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
9799 cat >conftest.
$ac_ext <<_ACEOF
9802 cat confdefs.h
>>conftest.
$ac_ext
9803 cat >>conftest.
$ac_ext <<_ACEOF
9804 /* end confdefs.h. */
9805 #include <$ac_header>
9807 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
9808 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
9810 grep -v '^ *+' conftest.er1
>conftest.err
9812 cat conftest.err
>&5
9813 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9814 (exit $ac_status); } >/dev
/null
; then
9815 if test -s conftest.err
; then
9816 ac_cpp_err
=$ac_c_preproc_warn_flag
9817 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
9824 if test -z "$ac_cpp_err"; then
9825 ac_header_preproc
=yes
9827 echo "$as_me: failed program was:" >&5
9828 sed 's/^/| /' conftest.
$ac_ext >&5
9830 ac_header_preproc
=no
9832 rm -f conftest.err conftest.
$ac_ext
9833 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
9834 echo "${ECHO_T}$ac_header_preproc" >&6
9836 # So? What about this header?
9837 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
9839 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
9840 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
9841 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
9842 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
9843 ac_header_preproc
=yes
9846 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
9847 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
9848 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
9849 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
9850 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
9851 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
9852 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
9853 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
9854 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
9855 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
9856 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
9857 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
9860 ## ---------------------------------- ##
9861 ## Report this to the libjava lists. ##
9862 ## ---------------------------------- ##
9865 sed "s/^/$as_me: WARNING: /" >&2
9868 echo "$as_me:$LINENO: checking for $ac_header" >&5
9869 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
9870 if eval "test \"\${$as_ac_Header+set}\" = set"; then
9871 echo $ECHO_N "(cached) $ECHO_C" >&6
9873 eval "$as_ac_Header=\$ac_header_preproc"
9875 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
9876 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
9879 if test `eval echo '${'$as_ac_Header'}'` = yes; then
9880 cat >>confdefs.h
<<_ACEOF
9881 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
9888 echo "$as_me:$LINENO: checking for backtrace" >&5
9889 echo $ECHO_N "checking for backtrace... $ECHO_C" >&6
9890 if test "${ac_cv_func_backtrace+set}" = set; then
9891 echo $ECHO_N "(cached) $ECHO_C" >&6
9893 if test x
$gcc_no_link = xyes
; then
9894 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
9895 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
9896 { (exit 1); exit 1; }; }
9898 cat >conftest.
$ac_ext <<_ACEOF
9901 cat confdefs.h
>>conftest.
$ac_ext
9902 cat >>conftest.
$ac_ext <<_ACEOF
9903 /* end confdefs.h. */
9904 /* Define backtrace to an innocuous variant, in case <limits.h> declares backtrace.
9905 For example, HP-UX 11i <limits.h> declares gettimeofday. */
9906 #define backtrace innocuous_backtrace
9908 /* System header to define __stub macros and hopefully few prototypes,
9909 which can conflict with char backtrace (); below.
9910 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
9911 <limits.h> exists even on freestanding compilers. */
9914 # include <limits.h>
9916 # include <assert.h>
9921 /* Override any gcc2 internal prototype to avoid an error. */
9926 /* We use char because int might match the return type of a gcc2
9927 builtin and then its argument prototype would still apply. */
9929 /* The GNU C library defines this for functions which it implements
9930 to always fail with ENOSYS. Some functions are actually named
9931 something starting with __ and the normal name is an alias. */
9932 #if defined (__stub_backtrace) || defined (__stub___backtrace)
9935 char (*f) () = backtrace;
9944 return f != backtrace;
9949 rm -f conftest.
$ac_objext conftest
$ac_exeext
9950 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
9951 (eval $ac_link) 2>conftest.er1
9953 grep -v '^ *+' conftest.er1
>conftest.err
9955 cat conftest.err
>&5
9956 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9957 (exit $ac_status); } &&
9958 { ac_try
='test -z "$ac_c_werror_flag"
9959 || test ! -s conftest.err'
9960 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9963 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9964 (exit $ac_status); }; } &&
9965 { ac_try
='test -s conftest$ac_exeext'
9966 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9969 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9970 (exit $ac_status); }; }; then
9971 ac_cv_func_backtrace
=yes
9973 echo "$as_me: failed program was:" >&5
9974 sed 's/^/| /' conftest.
$ac_ext >&5
9976 ac_cv_func_backtrace
=no
9978 rm -f conftest.err conftest.
$ac_objext \
9979 conftest
$ac_exeext conftest.
$ac_ext
9981 echo "$as_me:$LINENO: result: $ac_cv_func_backtrace" >&5
9982 echo "${ECHO_T}$ac_cv_func_backtrace" >&6
9983 if test $ac_cv_func_backtrace = yes; then
9987 # Has broken backtrace()
9990 # Has broken backtrace(), but we supply our own.
9991 if test -d sysdep
; then true
; else mkdir
-p sysdep
; fi
9992 supply_backtrace
=yes
9994 cat >>confdefs.h
<<\_ACEOF
9995 #define HAVE_BACKTRACE 1
10001 cat >>confdefs.h
<<\_ACEOF
10002 #define HAVE_BACKTRACE 1
10012 # Has backtrace() defined in libgcj itself
10014 cat >>confdefs.h
<<\_ACEOF
10015 #define HAVE_BACKTRACE 1
10024 echo "$as_me:$LINENO: checking for dladdr in -ldl" >&5
10025 echo $ECHO_N "checking for dladdr in -ldl... $ECHO_C" >&6
10026 if test "${ac_cv_lib_dl_dladdr+set}" = set; then
10027 echo $ECHO_N "(cached) $ECHO_C" >&6
10029 ac_check_lib_save_LIBS
=$LIBS
10031 if test x
$gcc_no_link = xyes
; then
10032 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
10033 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
10034 { (exit 1); exit 1; }; }
10036 cat >conftest.
$ac_ext <<_ACEOF
10039 cat confdefs.h
>>conftest.
$ac_ext
10040 cat >>conftest.
$ac_ext <<_ACEOF
10041 /* end confdefs.h. */
10043 /* Override any gcc2 internal prototype to avoid an error. */
10047 /* We use char because int might match the return type of a gcc2
10048 builtin and then its argument prototype would still apply. */
10058 rm -f conftest.
$ac_objext conftest
$ac_exeext
10059 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10060 (eval $ac_link) 2>conftest.er1
10062 grep -v '^ *+' conftest.er1
>conftest.err
10064 cat conftest.err
>&5
10065 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10066 (exit $ac_status); } &&
10067 { ac_try
='test -z "$ac_c_werror_flag"
10068 || test ! -s conftest.err'
10069 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10070 (eval $ac_try) 2>&5
10072 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10073 (exit $ac_status); }; } &&
10074 { ac_try
='test -s conftest$ac_exeext'
10075 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10076 (eval $ac_try) 2>&5
10078 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10079 (exit $ac_status); }; }; then
10080 ac_cv_lib_dl_dladdr
=yes
10082 echo "$as_me: failed program was:" >&5
10083 sed 's/^/| /' conftest.
$ac_ext >&5
10085 ac_cv_lib_dl_dladdr
=no
10087 rm -f conftest.err conftest.
$ac_objext \
10088 conftest
$ac_exeext conftest.
$ac_ext
10089 LIBS
=$ac_check_lib_save_LIBS
10091 echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dladdr" >&5
10092 echo "${ECHO_T}$ac_cv_lib_dl_dladdr" >&6
10093 if test $ac_cv_lib_dl_dladdr = yes; then
10095 if test "x${disable_dladdr}" = "xyes"; then
10100 cat >>confdefs.h
<<\_ACEOF
10101 #define HAVE_DLADDR 1
10108 if test x
"$build" = x
"$host"; then
10109 echo "$as_me:$LINENO: checking for /proc/self/exe" >&5
10110 echo $ECHO_N "checking for /proc/self/exe... $ECHO_C" >&6
10111 if test "${ac_cv_file__proc_self_exe+set}" = set; then
10112 echo $ECHO_N "(cached) $ECHO_C" >&6
10114 test "$cross_compiling" = yes &&
10115 { { echo "$as_me:$LINENO: error: cannot check for file existence when cross compiling" >&5
10116 echo "$as_me: error: cannot check for file existence when cross compiling" >&2;}
10117 { (exit 1); exit 1; }; }
10118 if test -r "/proc/self/exe"; then
10119 ac_cv_file__proc_self_exe
=yes
10121 ac_cv_file__proc_self_exe
=no
10124 echo "$as_me:$LINENO: result: $ac_cv_file__proc_self_exe" >&5
10125 echo "${ECHO_T}$ac_cv_file__proc_self_exe" >&6
10126 if test $ac_cv_file__proc_self_exe = yes; then
10128 cat >>confdefs.h
<<_ACEOF
10129 #define HAVE__PROC_SELF_EXE 1
10134 cat >>confdefs.h
<<\_ACEOF
10135 #define HAVE_PROC_SELF_EXE 1
10144 cat >>confdefs.h
<<\_ACEOF
10145 #define HAVE_PROC_SELF_EXE 1
10153 if test "X$prefix" = "XNONE"; then
10154 acl_final_prefix
="$ac_default_prefix"
10156 acl_final_prefix
="$prefix"
10158 if test "X$exec_prefix" = "XNONE"; then
10159 acl_final_exec_prefix
='${prefix}'
10161 acl_final_exec_prefix
="$exec_prefix"
10163 acl_save_prefix
="$prefix"
10164 prefix
="$acl_final_prefix"
10165 eval acl_final_exec_prefix
=\"$acl_final_exec_prefix\"
10166 prefix
="$acl_save_prefix"
10169 # Check whether --with-gnu-ld or --without-gnu-ld was given.
10170 if test "${with_gnu_ld+set}" = set; then
10171 withval
="$with_gnu_ld"
10172 test "$withval" = no || with_gnu_ld
=yes
10176 # Prepare PATH_SEPARATOR.
10177 # The user is always right.
10178 if test "${PATH_SEPARATOR+set}" != set; then
10179 echo "#! /bin/sh" >conf$$.sh
10180 echo "exit 0" >>conf$$.sh
10182 if (PATH
="/nonexistent;."; conf$$.sh
) >/dev
/null
2>&1; then
10190 if test "$GCC" = yes; then
10191 # Check if gcc -print-prog-name=ld gives a path.
10192 echo "$as_me:$LINENO: checking for ld used by GCC" >&5
10193 echo $ECHO_N "checking for ld used by GCC... $ECHO_C" >&6
10196 # gcc leaves a trailing carriage return which upsets mingw
10197 ac_prog
=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
10199 ac_prog
=`($CC -print-prog-name=ld) 2>&5` ;;
10202 # Accept absolute paths.
10203 [\\/]* |
[A-Za-z
]:[\\/]*)
10204 re_direlt
='/[^/][^/]*/\.\./'
10205 # Canonicalize the path of ld
10206 ac_prog
=`echo $ac_prog| sed 's%\\\\%/%g'`
10207 while echo $ac_prog |
grep "$re_direlt" > /dev
/null
2>&1; do
10208 ac_prog
=`echo $ac_prog| sed "s%$re_direlt%/%"`
10210 test -z "$LD" && LD
="$ac_prog"
10213 # If it fails, then pretend we aren't using GCC.
10217 # If it is relative, then search for the first ld in PATH.
10218 with_gnu_ld
=unknown
10221 elif test "$with_gnu_ld" = yes; then
10222 echo "$as_me:$LINENO: checking for GNU ld" >&5
10223 echo $ECHO_N "checking for GNU ld... $ECHO_C" >&6
10225 echo "$as_me:$LINENO: checking for non-GNU ld" >&5
10226 echo $ECHO_N "checking for non-GNU ld... $ECHO_C" >&6
10228 if test "${acl_cv_path_LD+set}" = set; then
10229 echo $ECHO_N "(cached) $ECHO_C" >&6
10231 if test -z "$LD"; then
10232 IFS
="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}${PATH_SEPARATOR-:}"
10233 for ac_dir
in $PATH; do
10234 test -z "$ac_dir" && ac_dir
=.
10235 if test -f "$ac_dir/$ac_prog" ||
test -f "$ac_dir/$ac_prog$ac_exeext"; then
10236 acl_cv_path_LD
="$ac_dir/$ac_prog"
10237 # Check to see if the program is GNU ld. I'd rather use --version,
10238 # but apparently some GNU ld's only accept -v.
10239 # Break only if it was the GNU/non-GNU ld that we prefer.
10240 if "$acl_cv_path_LD" -v 2>&1 < /dev
/null |
egrep '(GNU|with BFD)' > /dev
/null
; then
10241 test "$with_gnu_ld" != no
&& break
10243 test "$with_gnu_ld" != yes && break
10249 acl_cv_path_LD
="$LD" # Let the user override the test with a path.
10253 LD
="$acl_cv_path_LD"
10254 if test -n "$LD"; then
10255 echo "$as_me:$LINENO: result: $LD" >&5
10256 echo "${ECHO_T}$LD" >&6
10258 echo "$as_me:$LINENO: result: no" >&5
10259 echo "${ECHO_T}no" >&6
10261 test -z "$LD" && { { echo "$as_me:$LINENO: error: no acceptable ld found in \$PATH" >&5
10262 echo "$as_me: error: no acceptable ld found in \$PATH" >&2;}
10263 { (exit 1); exit 1; }; }
10264 echo "$as_me:$LINENO: checking if the linker ($LD) is GNU ld" >&5
10265 echo $ECHO_N "checking if the linker ($LD) is GNU ld... $ECHO_C" >&6
10266 if test "${acl_cv_prog_gnu_ld+set}" = set; then
10267 echo $ECHO_N "(cached) $ECHO_C" >&6
10269 # I'd rather use --version here, but apparently some GNU ld's only accept -v.
10270 if $LD -v 2>&1 </dev
/null |
egrep '(GNU|with BFD)' 1>&5; then
10271 acl_cv_prog_gnu_ld
=yes
10273 acl_cv_prog_gnu_ld
=no
10276 echo "$as_me:$LINENO: result: $acl_cv_prog_gnu_ld" >&5
10277 echo "${ECHO_T}$acl_cv_prog_gnu_ld" >&6
10278 with_gnu_ld
=$acl_cv_prog_gnu_ld
10282 echo "$as_me:$LINENO: checking for shared library run path origin" >&5
10283 echo $ECHO_N "checking for shared library run path origin... $ECHO_C" >&6
10284 if test "${acl_cv_rpath+set}" = set; then
10285 echo $ECHO_N "(cached) $ECHO_C" >&6
10288 CC
="$CC" GCC
="$GCC" LDFLAGS
="$LDFLAGS" LD
="$LD" with_gnu_ld
="$with_gnu_ld" \
10289 ${CONFIG_SHELL-/bin/sh} "$ac_aux_dir/config.rpath" "$host" > conftest.sh
10291 rm -f .
/conftest.sh
10295 echo "$as_me:$LINENO: result: $acl_cv_rpath" >&5
10296 echo "${ECHO_T}$acl_cv_rpath" >&6
10298 libext
="$acl_cv_libext"
10299 shlibext
="$acl_cv_shlibext"
10300 hardcode_libdir_flag_spec
="$acl_cv_hardcode_libdir_flag_spec"
10301 hardcode_libdir_separator
="$acl_cv_hardcode_libdir_separator"
10302 hardcode_direct
="$acl_cv_hardcode_direct"
10303 hardcode_minus_L
="$acl_cv_hardcode_minus_L"
10304 # Check whether --enable-rpath or --disable-rpath was given.
10305 if test "${enable_rpath+set}" = set; then
10306 enableval
="$enable_rpath"
10320 acl_save_prefix
="$prefix"
10321 prefix
="$acl_final_prefix"
10322 acl_save_exec_prefix
="$exec_prefix"
10323 exec_prefix
="$acl_final_exec_prefix"
10325 eval additional_includedir
=\"$includedir\"
10326 eval additional_libdir
=\"$libdir\"
10328 exec_prefix
="$acl_save_exec_prefix"
10329 prefix
="$acl_save_prefix"
10332 # Check whether --with-libiconv-prefix or --without-libiconv-prefix was given.
10333 if test "${with_libiconv_prefix+set}" = set; then
10334 withval
="$with_libiconv_prefix"
10336 if test "X$withval" = "Xno"; then
10339 if test "X$withval" = "X"; then
10341 acl_save_prefix
="$prefix"
10342 prefix
="$acl_final_prefix"
10343 acl_save_exec_prefix
="$exec_prefix"
10344 exec_prefix
="$acl_final_exec_prefix"
10346 eval additional_includedir
=\"$includedir\"
10347 eval additional_libdir
=\"$libdir\"
10349 exec_prefix
="$acl_save_exec_prefix"
10350 prefix
="$acl_save_prefix"
10353 additional_includedir
="$withval/include"
10354 additional_libdir
="$withval/lib"
10364 names_already_handled
=
10365 names_next_round
='iconv '
10366 while test -n "$names_next_round"; do
10367 names_this_round
="$names_next_round"
10369 for name
in $names_this_round; do
10371 for n
in $names_already_handled; do
10372 if test "$n" = "$name"; then
10373 already_handled
=yes
10377 if test -z "$already_handled"; then
10378 names_already_handled
="$names_already_handled $name"
10379 uppername
=`echo "$name" | sed -e 'y|abcdefghijklmnopqrstuvwxyz./-|ABCDEFGHIJKLMNOPQRSTUVWXYZ___|'`
10380 eval value
=\"\
$HAVE_LIB$uppername\"
10381 if test -n "$value"; then
10382 if test "$value" = yes; then
10383 eval value
=\"\
$LIB$uppername\"
10384 test -z "$value" || LIBICONV
="${LIBICONV}${LIBICONV:+ }$value"
10385 eval value
=\"\
$LTLIB$uppername\"
10386 test -z "$value" || LTLIBICONV
="${LTLIBICONV}${LTLIBICONV:+ }$value"
10395 if test $use_additional = yes; then
10396 if test -n "$shlibext" && test -f "$additional_libdir/lib$name.$shlibext"; then
10397 found_dir
="$additional_libdir"
10398 found_so
="$additional_libdir/lib$name.$shlibext"
10399 if test -f "$additional_libdir/lib$name.la"; then
10400 found_la
="$additional_libdir/lib$name.la"
10403 if test -f "$additional_libdir/lib$name.$libext"; then
10404 found_dir
="$additional_libdir"
10405 found_a
="$additional_libdir/lib$name.$libext"
10406 if test -f "$additional_libdir/lib$name.la"; then
10407 found_la
="$additional_libdir/lib$name.la"
10412 if test "X$found_dir" = "X"; then
10413 for x
in $LDFLAGS $LTLIBICONV; do
10415 acl_save_prefix
="$prefix"
10416 prefix
="$acl_final_prefix"
10417 acl_save_exec_prefix
="$exec_prefix"
10418 exec_prefix
="$acl_final_exec_prefix"
10420 exec_prefix
="$acl_save_exec_prefix"
10421 prefix
="$acl_save_prefix"
10425 dir
=`echo "X$x" | sed -e 's/^X-L//'`
10426 if test -n "$shlibext" && test -f "$dir/lib$name.$shlibext"; then
10428 found_so
="$dir/lib$name.$shlibext"
10429 if test -f "$dir/lib$name.la"; then
10430 found_la
="$dir/lib$name.la"
10433 if test -f "$dir/lib$name.$libext"; then
10435 found_a
="$dir/lib$name.$libext"
10436 if test -f "$dir/lib$name.la"; then
10437 found_la
="$dir/lib$name.la"
10443 if test "X$found_dir" != "X"; then
10448 if test "X$found_dir" != "X"; then
10449 LTLIBICONV
="${LTLIBICONV}${LTLIBICONV:+ }-L$found_dir -l$name"
10450 if test "X$found_so" != "X"; then
10451 if test "$enable_rpath" = no ||
test "X$found_dir" = "X/usr/lib"; then
10452 LIBICONV
="${LIBICONV}${LIBICONV:+ }$found_so"
10455 for x
in $ltrpathdirs; do
10456 if test "X$x" = "X$found_dir"; then
10461 if test -z "$haveit"; then
10462 ltrpathdirs
="$ltrpathdirs $found_dir"
10464 if test "$hardcode_direct" = yes; then
10465 LIBICONV
="${LIBICONV}${LIBICONV:+ }$found_so"
10467 if test -n "$hardcode_libdir_flag_spec" && test "$hardcode_minus_L" = no
; then
10468 LIBICONV
="${LIBICONV}${LIBICONV:+ }$found_so"
10470 for x
in $rpathdirs; do
10471 if test "X$x" = "X$found_dir"; then
10476 if test -z "$haveit"; then
10477 rpathdirs
="$rpathdirs $found_dir"
10481 for x
in $LDFLAGS $LIBICONV; do
10483 acl_save_prefix
="$prefix"
10484 prefix
="$acl_final_prefix"
10485 acl_save_exec_prefix
="$exec_prefix"
10486 exec_prefix
="$acl_final_exec_prefix"
10488 exec_prefix
="$acl_save_exec_prefix"
10489 prefix
="$acl_save_prefix"
10491 if test "X$x" = "X-L$found_dir"; then
10496 if test -z "$haveit"; then
10497 LIBICONV
="${LIBICONV}${LIBICONV:+ }-L$found_dir"
10499 if test "$hardcode_minus_L" != no
; then
10500 LIBICONV
="${LIBICONV}${LIBICONV:+ }$found_so"
10502 LIBICONV
="${LIBICONV}${LIBICONV:+ }-l$name"
10508 if test "X$found_a" != "X"; then
10509 LIBICONV
="${LIBICONV}${LIBICONV:+ }$found_a"
10511 LIBICONV
="${LIBICONV}${LIBICONV:+ }-L$found_dir -l$name"
10514 additional_includedir
=
10515 case "$found_dir" in
10517 basedir
=`echo "X$found_dir" | sed -e 's,^X,,' -e 's,/lib/*$,,'`
10518 additional_includedir
="$basedir/include"
10521 if test "X$additional_includedir" != "X"; then
10522 if test "X$additional_includedir" != "X/usr/include"; then
10524 if test "X$additional_includedir" = "X/usr/local/include"; then
10525 if test -n "$GCC"; then
10527 linux
*) haveit
=yes;;
10531 if test -z "$haveit"; then
10532 for x
in $CPPFLAGS $INCICONV; do
10534 acl_save_prefix
="$prefix"
10535 prefix
="$acl_final_prefix"
10536 acl_save_exec_prefix
="$exec_prefix"
10537 exec_prefix
="$acl_final_exec_prefix"
10539 exec_prefix
="$acl_save_exec_prefix"
10540 prefix
="$acl_save_prefix"
10542 if test "X$x" = "X-I$additional_includedir"; then
10547 if test -z "$haveit"; then
10548 if test -d "$additional_includedir"; then
10549 INCICONV
="${INCICONV}${INCICONV:+ }-I$additional_includedir"
10555 if test -n "$found_la"; then
10556 save_libdir
="$libdir"
10557 case "$found_la" in
10558 */* |
*\\*) .
"$found_la" ;;
10559 *) .
"./$found_la" ;;
10561 libdir
="$save_libdir"
10562 for dep
in $dependency_libs; do
10565 additional_libdir
=`echo "X$dep" | sed -e 's/^X-L//'`
10566 if test "X$additional_libdir" != "X/usr/lib"; then
10568 if test "X$additional_libdir" = "X/usr/local/lib"; then
10569 if test -n "$GCC"; then
10571 linux
*) haveit
=yes;;
10575 if test -z "$haveit"; then
10577 for x
in $LDFLAGS $LIBICONV; do
10579 acl_save_prefix
="$prefix"
10580 prefix
="$acl_final_prefix"
10581 acl_save_exec_prefix
="$exec_prefix"
10582 exec_prefix
="$acl_final_exec_prefix"
10584 exec_prefix
="$acl_save_exec_prefix"
10585 prefix
="$acl_save_prefix"
10587 if test "X$x" = "X-L$additional_libdir"; then
10592 if test -z "$haveit"; then
10593 if test -d "$additional_libdir"; then
10594 LIBICONV
="${LIBICONV}${LIBICONV:+ }-L$additional_libdir"
10598 for x
in $LDFLAGS $LTLIBICONV; do
10600 acl_save_prefix
="$prefix"
10601 prefix
="$acl_final_prefix"
10602 acl_save_exec_prefix
="$exec_prefix"
10603 exec_prefix
="$acl_final_exec_prefix"
10605 exec_prefix
="$acl_save_exec_prefix"
10606 prefix
="$acl_save_prefix"
10608 if test "X$x" = "X-L$additional_libdir"; then
10613 if test -z "$haveit"; then
10614 if test -d "$additional_libdir"; then
10615 LTLIBICONV
="${LTLIBICONV}${LTLIBICONV:+ }-L$additional_libdir"
10622 dir
=`echo "X$dep" | sed -e 's/^X-R//'`
10623 if test "$enable_rpath" != no
; then
10625 for x
in $rpathdirs; do
10626 if test "X$x" = "X$dir"; then
10631 if test -z "$haveit"; then
10632 rpathdirs
="$rpathdirs $dir"
10635 for x
in $ltrpathdirs; do
10636 if test "X$x" = "X$dir"; then
10641 if test -z "$haveit"; then
10642 ltrpathdirs
="$ltrpathdirs $dir"
10647 names_next_round
="$names_next_round "`echo "X$dep" | sed -e 's/^X-l//'`
10650 names_next_round
="$names_next_round "`echo "X$dep" | sed -e 's,^X.*/,,' -e 's,^lib,,' -e 's,\.la$,,'`
10653 LIBICONV
="${LIBICONV}${LIBICONV:+ }$dep"
10654 LTLIBICONV
="${LTLIBICONV}${LTLIBICONV:+ }$dep"
10660 LIBICONV
="${LIBICONV}${LIBICONV:+ }-l$name"
10661 LTLIBICONV
="${LTLIBICONV}${LTLIBICONV:+ }-l$name"
10667 if test "X$rpathdirs" != "X"; then
10668 if test -n "$hardcode_libdir_separator"; then
10670 for found_dir
in $rpathdirs; do
10671 alldirs
="${alldirs}${alldirs:+$hardcode_libdir_separator}$found_dir"
10673 acl_save_libdir
="$libdir"
10675 eval flag
=\"$hardcode_libdir_flag_spec\"
10676 libdir
="$acl_save_libdir"
10677 LIBICONV
="${LIBICONV}${LIBICONV:+ }$flag"
10679 for found_dir
in $rpathdirs; do
10680 acl_save_libdir
="$libdir"
10681 libdir
="$found_dir"
10682 eval flag
=\"$hardcode_libdir_flag_spec\"
10683 libdir
="$acl_save_libdir"
10684 LIBICONV
="${LIBICONV}${LIBICONV:+ }$flag"
10688 if test "X$ltrpathdirs" != "X"; then
10689 for found_dir
in $ltrpathdirs; do
10690 LTLIBICONV
="${LTLIBICONV}${LTLIBICONV:+ }-R$found_dir"
10700 am_save_CPPFLAGS
="$CPPFLAGS"
10702 for element
in $INCICONV; do
10704 for x
in $CPPFLAGS; do
10706 acl_save_prefix
="$prefix"
10707 prefix
="$acl_final_prefix"
10708 acl_save_exec_prefix
="$exec_prefix"
10709 exec_prefix
="$acl_final_exec_prefix"
10711 exec_prefix
="$acl_save_exec_prefix"
10712 prefix
="$acl_save_prefix"
10714 if test "X$x" = "X$element"; then
10719 if test -z "$haveit"; then
10720 CPPFLAGS
="${CPPFLAGS}${CPPFLAGS:+ }$element"
10725 echo "$as_me:$LINENO: checking for iconv" >&5
10726 echo $ECHO_N "checking for iconv... $ECHO_C" >&6
10727 if test "${am_cv_func_iconv+set}" = set; then
10728 echo $ECHO_N "(cached) $ECHO_C" >&6
10731 am_cv_func_iconv
="no, consider installing GNU libiconv"
10733 if test x
$gcc_no_link = xyes
; then
10734 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
10735 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
10736 { (exit 1); exit 1; }; }
10738 cat >conftest.
$ac_ext <<_ACEOF
10741 cat confdefs.h
>>conftest.
$ac_ext
10742 cat >>conftest.
$ac_ext <<_ACEOF
10743 /* end confdefs.h. */
10744 #include <stdlib.h>
10749 iconv_t cd = iconv_open("","");
10750 iconv(cd,NULL,NULL,NULL,NULL);
10756 rm -f conftest.
$ac_objext conftest
$ac_exeext
10757 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10758 (eval $ac_link) 2>conftest.er1
10760 grep -v '^ *+' conftest.er1
>conftest.err
10762 cat conftest.err
>&5
10763 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10764 (exit $ac_status); } &&
10765 { ac_try
='test -z "$ac_c_werror_flag"
10766 || test ! -s conftest.err'
10767 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10768 (eval $ac_try) 2>&5
10770 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10771 (exit $ac_status); }; } &&
10772 { ac_try
='test -s conftest$ac_exeext'
10773 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10774 (eval $ac_try) 2>&5
10776 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10777 (exit $ac_status); }; }; then
10778 am_cv_func_iconv
=yes
10780 echo "$as_me: failed program was:" >&5
10781 sed 's/^/| /' conftest.
$ac_ext >&5
10784 rm -f conftest.err conftest.
$ac_objext \
10785 conftest
$ac_exeext conftest.
$ac_ext
10786 if test "$am_cv_func_iconv" != yes; then
10787 am_save_LIBS
="$LIBS"
10788 LIBS
="$LIBS $LIBICONV"
10789 if test x
$gcc_no_link = xyes
; then
10790 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
10791 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
10792 { (exit 1); exit 1; }; }
10794 cat >conftest.
$ac_ext <<_ACEOF
10797 cat confdefs.h
>>conftest.
$ac_ext
10798 cat >>conftest.
$ac_ext <<_ACEOF
10799 /* end confdefs.h. */
10800 #include <stdlib.h>
10805 iconv_t cd = iconv_open("","");
10806 iconv(cd,NULL,NULL,NULL,NULL);
10812 rm -f conftest.
$ac_objext conftest
$ac_exeext
10813 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10814 (eval $ac_link) 2>conftest.er1
10816 grep -v '^ *+' conftest.er1
>conftest.err
10818 cat conftest.err
>&5
10819 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10820 (exit $ac_status); } &&
10821 { ac_try
='test -z "$ac_c_werror_flag"
10822 || test ! -s conftest.err'
10823 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10824 (eval $ac_try) 2>&5
10826 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10827 (exit $ac_status); }; } &&
10828 { ac_try
='test -s conftest$ac_exeext'
10829 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10830 (eval $ac_try) 2>&5
10832 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10833 (exit $ac_status); }; }; then
10834 am_cv_lib_iconv
=yes
10835 am_cv_func_iconv
=yes
10837 echo "$as_me: failed program was:" >&5
10838 sed 's/^/| /' conftest.
$ac_ext >&5
10841 rm -f conftest.err conftest.
$ac_objext \
10842 conftest
$ac_exeext conftest.
$ac_ext
10843 LIBS
="$am_save_LIBS"
10847 echo "$as_me:$LINENO: result: $am_cv_func_iconv" >&5
10848 echo "${ECHO_T}$am_cv_func_iconv" >&6
10849 if test "$am_cv_func_iconv" = yes; then
10851 cat >>confdefs.h
<<\_ACEOF
10852 #define HAVE_ICONV 1
10856 if test "$am_cv_lib_iconv" = yes; then
10857 echo "$as_me:$LINENO: checking how to link with libiconv" >&5
10858 echo $ECHO_N "checking how to link with libiconv... $ECHO_C" >&6
10859 echo "$as_me:$LINENO: result: $LIBICONV" >&5
10860 echo "${ECHO_T}$LIBICONV" >&6
10862 CPPFLAGS
="$am_save_CPPFLAGS"
10869 if test "$am_cv_func_iconv" = yes; then
10870 echo "$as_me:$LINENO: checking for iconv declaration" >&5
10871 echo $ECHO_N "checking for iconv declaration... $ECHO_C" >&6
10872 if test "${am_cv_proto_iconv+set}" = set; then
10873 echo $ECHO_N "(cached) $ECHO_C" >&6
10876 cat >conftest.
$ac_ext <<_ACEOF
10879 cat confdefs.h
>>conftest.
$ac_ext
10880 cat >>conftest.
$ac_ext <<_ACEOF
10881 /* end confdefs.h. */
10883 #include <stdlib.h>
10889 #if defined(__STDC__) || defined(__cplusplus)
10890 size_t iconv (iconv_t cd, char * *inbuf, size_t *inbytesleft, char * *outbuf, size_t *outbytesleft);
10903 rm -f conftest.
$ac_objext
10904 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
10905 (eval $ac_compile) 2>conftest.er1
10907 grep -v '^ *+' conftest.er1
>conftest.err
10909 cat conftest.err
>&5
10910 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10911 (exit $ac_status); } &&
10912 { ac_try
='test -z "$ac_c_werror_flag"
10913 || test ! -s conftest.err'
10914 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10915 (eval $ac_try) 2>&5
10917 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10918 (exit $ac_status); }; } &&
10919 { ac_try
='test -s conftest.$ac_objext'
10920 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10921 (eval $ac_try) 2>&5
10923 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10924 (exit $ac_status); }; }; then
10925 am_cv_proto_iconv_arg1
=""
10927 echo "$as_me: failed program was:" >&5
10928 sed 's/^/| /' conftest.
$ac_ext >&5
10930 am_cv_proto_iconv_arg1
="const"
10932 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
10933 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);"
10936 am_cv_proto_iconv
=`echo "$am_cv_proto_iconv" | tr -s ' ' | sed -e 's/( /(/'`
10937 echo "$as_me:$LINENO: result: ${ac_t:-
10938 }$am_cv_proto_iconv" >&5
10939 echo "${ECHO_T}${ac_t:-
10940 }$am_cv_proto_iconv" >&6
10942 cat >>confdefs.h
<<_ACEOF
10943 #define ICONV_CONST $am_cv_proto_iconv_arg1
10949 echo "$as_me:$LINENO: checking for LC_MESSAGES" >&5
10950 echo $ECHO_N "checking for LC_MESSAGES... $ECHO_C" >&6
10951 if test "${am_cv_val_LC_MESSAGES+set}" = set; then
10952 echo $ECHO_N "(cached) $ECHO_C" >&6
10954 if test x
$gcc_no_link = xyes
; then
10955 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
10956 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
10957 { (exit 1); exit 1; }; }
10959 cat >conftest.
$ac_ext <<_ACEOF
10962 cat confdefs.h
>>conftest.
$ac_ext
10963 cat >>conftest.
$ac_ext <<_ACEOF
10964 /* end confdefs.h. */
10965 #include <locale.h>
10974 rm -f conftest.
$ac_objext conftest
$ac_exeext
10975 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10976 (eval $ac_link) 2>conftest.er1
10978 grep -v '^ *+' conftest.er1
>conftest.err
10980 cat conftest.err
>&5
10981 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10982 (exit $ac_status); } &&
10983 { ac_try
='test -z "$ac_c_werror_flag"
10984 || test ! -s conftest.err'
10985 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10986 (eval $ac_try) 2>&5
10988 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10989 (exit $ac_status); }; } &&
10990 { ac_try
='test -s conftest$ac_exeext'
10991 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10992 (eval $ac_try) 2>&5
10994 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10995 (exit $ac_status); }; }; then
10996 am_cv_val_LC_MESSAGES
=yes
10998 echo "$as_me: failed program was:" >&5
10999 sed 's/^/| /' conftest.
$ac_ext >&5
11001 am_cv_val_LC_MESSAGES
=no
11003 rm -f conftest.err conftest.
$ac_objext \
11004 conftest
$ac_exeext conftest.
$ac_ext
11006 echo "$as_me:$LINENO: result: $am_cv_val_LC_MESSAGES" >&5
11007 echo "${ECHO_T}$am_cv_val_LC_MESSAGES" >&6
11008 if test $am_cv_val_LC_MESSAGES = yes; then
11010 cat >>confdefs.h
<<\_ACEOF
11011 #define HAVE_LC_MESSAGES 1
11016 echo "$as_me:$LINENO: checking whether struct tm is in sys/time.h or time.h" >&5
11017 echo $ECHO_N "checking whether struct tm is in sys/time.h or time.h... $ECHO_C" >&6
11018 if test "${ac_cv_struct_tm+set}" = set; then
11019 echo $ECHO_N "(cached) $ECHO_C" >&6
11021 cat >conftest.
$ac_ext <<_ACEOF
11024 cat confdefs.h
>>conftest.
$ac_ext
11025 cat >>conftest.
$ac_ext <<_ACEOF
11026 /* end confdefs.h. */
11027 #include <sys/types.h>
11033 struct tm *tp; tp->tm_sec;
11038 rm -f conftest.
$ac_objext
11039 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11040 (eval $ac_compile) 2>conftest.er1
11042 grep -v '^ *+' conftest.er1
>conftest.err
11044 cat conftest.err
>&5
11045 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11046 (exit $ac_status); } &&
11047 { ac_try
='test -z "$ac_c_werror_flag"
11048 || test ! -s conftest.err'
11049 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11050 (eval $ac_try) 2>&5
11052 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11053 (exit $ac_status); }; } &&
11054 { ac_try
='test -s conftest.$ac_objext'
11055 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11056 (eval $ac_try) 2>&5
11058 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11059 (exit $ac_status); }; }; then
11060 ac_cv_struct_tm
=time.h
11062 echo "$as_me: failed program was:" >&5
11063 sed 's/^/| /' conftest.
$ac_ext >&5
11065 ac_cv_struct_tm
=sys
/time.h
11067 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
11069 echo "$as_me:$LINENO: result: $ac_cv_struct_tm" >&5
11070 echo "${ECHO_T}$ac_cv_struct_tm" >&6
11071 if test $ac_cv_struct_tm = sys
/time.h
; then
11073 cat >>confdefs.h
<<\_ACEOF
11074 #define TM_IN_SYS_TIME 1
11079 echo "$as_me:$LINENO: checking for struct tm.tm_zone" >&5
11080 echo $ECHO_N "checking for struct tm.tm_zone... $ECHO_C" >&6
11081 if test "${ac_cv_member_struct_tm_tm_zone+set}" = set; then
11082 echo $ECHO_N "(cached) $ECHO_C" >&6
11084 cat >conftest.
$ac_ext <<_ACEOF
11087 cat confdefs.h
>>conftest.
$ac_ext
11088 cat >>conftest.
$ac_ext <<_ACEOF
11089 /* end confdefs.h. */
11090 #include <sys/types.h>
11091 #include <$ac_cv_struct_tm>
11097 static struct tm ac_aggr;
11098 if (ac_aggr.tm_zone)
11104 rm -f conftest.
$ac_objext
11105 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11106 (eval $ac_compile) 2>conftest.er1
11108 grep -v '^ *+' conftest.er1
>conftest.err
11110 cat conftest.err
>&5
11111 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11112 (exit $ac_status); } &&
11113 { ac_try
='test -z "$ac_c_werror_flag"
11114 || test ! -s conftest.err'
11115 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11116 (eval $ac_try) 2>&5
11118 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11119 (exit $ac_status); }; } &&
11120 { ac_try
='test -s conftest.$ac_objext'
11121 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11122 (eval $ac_try) 2>&5
11124 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11125 (exit $ac_status); }; }; then
11126 ac_cv_member_struct_tm_tm_zone
=yes
11128 echo "$as_me: failed program was:" >&5
11129 sed 's/^/| /' conftest.
$ac_ext >&5
11131 cat >conftest.
$ac_ext <<_ACEOF
11134 cat confdefs.h
>>conftest.
$ac_ext
11135 cat >>conftest.
$ac_ext <<_ACEOF
11136 /* end confdefs.h. */
11137 #include <sys/types.h>
11138 #include <$ac_cv_struct_tm>
11144 static struct tm ac_aggr;
11145 if (sizeof ac_aggr.tm_zone)
11151 rm -f conftest.
$ac_objext
11152 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11153 (eval $ac_compile) 2>conftest.er1
11155 grep -v '^ *+' conftest.er1
>conftest.err
11157 cat conftest.err
>&5
11158 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11159 (exit $ac_status); } &&
11160 { ac_try
='test -z "$ac_c_werror_flag"
11161 || test ! -s conftest.err'
11162 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11163 (eval $ac_try) 2>&5
11165 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11166 (exit $ac_status); }; } &&
11167 { ac_try
='test -s conftest.$ac_objext'
11168 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11169 (eval $ac_try) 2>&5
11171 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11172 (exit $ac_status); }; }; then
11173 ac_cv_member_struct_tm_tm_zone
=yes
11175 echo "$as_me: failed program was:" >&5
11176 sed 's/^/| /' conftest.
$ac_ext >&5
11178 ac_cv_member_struct_tm_tm_zone
=no
11180 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
11182 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
11184 echo "$as_me:$LINENO: result: $ac_cv_member_struct_tm_tm_zone" >&5
11185 echo "${ECHO_T}$ac_cv_member_struct_tm_tm_zone" >&6
11186 if test $ac_cv_member_struct_tm_tm_zone = yes; then
11188 cat >>confdefs.h
<<_ACEOF
11189 #define HAVE_STRUCT_TM_TM_ZONE 1
11195 if test "$ac_cv_member_struct_tm_tm_zone" = yes; then
11197 cat >>confdefs.h
<<\_ACEOF
11198 #define HAVE_TM_ZONE 1
11202 echo "$as_me:$LINENO: checking for tzname" >&5
11203 echo $ECHO_N "checking for tzname... $ECHO_C" >&6
11204 if test "${ac_cv_var_tzname+set}" = set; then
11205 echo $ECHO_N "(cached) $ECHO_C" >&6
11207 if test x
$gcc_no_link = xyes
; then
11208 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
11209 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
11210 { (exit 1); exit 1; }; }
11212 cat >conftest.
$ac_ext <<_ACEOF
11215 cat confdefs.h
>>conftest.
$ac_ext
11216 cat >>conftest.
$ac_ext <<_ACEOF
11217 /* end confdefs.h. */
11219 #ifndef tzname /* For SGI. */
11220 extern char *tzname[]; /* RS6000 and others reject char **tzname. */
11231 rm -f conftest.
$ac_objext conftest
$ac_exeext
11232 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
11233 (eval $ac_link) 2>conftest.er1
11235 grep -v '^ *+' conftest.er1
>conftest.err
11237 cat conftest.err
>&5
11238 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11239 (exit $ac_status); } &&
11240 { ac_try
='test -z "$ac_c_werror_flag"
11241 || test ! -s conftest.err'
11242 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11243 (eval $ac_try) 2>&5
11245 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11246 (exit $ac_status); }; } &&
11247 { ac_try
='test -s conftest$ac_exeext'
11248 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11249 (eval $ac_try) 2>&5
11251 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11252 (exit $ac_status); }; }; then
11253 ac_cv_var_tzname
=yes
11255 echo "$as_me: failed program was:" >&5
11256 sed 's/^/| /' conftest.
$ac_ext >&5
11258 ac_cv_var_tzname
=no
11260 rm -f conftest.err conftest.
$ac_objext \
11261 conftest
$ac_exeext conftest.
$ac_ext
11263 echo "$as_me:$LINENO: result: $ac_cv_var_tzname" >&5
11264 echo "${ECHO_T}$ac_cv_var_tzname" >&6
11265 if test $ac_cv_var_tzname = yes; then
11267 cat >>confdefs.h
<<\_ACEOF
11268 #define HAVE_TZNAME 1
11277 for ac_func
in gethostbyname_r
11279 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
11280 echo "$as_me:$LINENO: checking for $ac_func" >&5
11281 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
11282 if eval "test \"\${$as_ac_var+set}\" = set"; then
11283 echo $ECHO_N "(cached) $ECHO_C" >&6
11285 if test x
$gcc_no_link = xyes
; then
11286 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
11287 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
11288 { (exit 1); exit 1; }; }
11290 cat >conftest.
$ac_ext <<_ACEOF
11293 cat confdefs.h
>>conftest.
$ac_ext
11294 cat >>conftest.
$ac_ext <<_ACEOF
11295 /* end confdefs.h. */
11296 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
11297 For example, HP-UX 11i <limits.h> declares gettimeofday. */
11298 #define $ac_func innocuous_$ac_func
11300 /* System header to define __stub macros and hopefully few prototypes,
11301 which can conflict with char $ac_func (); below.
11302 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
11303 <limits.h> exists even on freestanding compilers. */
11306 # include <limits.h>
11308 # include <assert.h>
11313 /* Override any gcc2 internal prototype to avoid an error. */
11318 /* We use char because int might match the return type of a gcc2
11319 builtin and then its argument prototype would still apply. */
11321 /* The GNU C library defines this for functions which it implements
11322 to always fail with ENOSYS. Some functions are actually named
11323 something starting with __ and the normal name is an alias. */
11324 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
11327 char (*f) () = $ac_func;
11336 return f != $ac_func;
11341 rm -f conftest.
$ac_objext conftest
$ac_exeext
11342 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
11343 (eval $ac_link) 2>conftest.er1
11345 grep -v '^ *+' conftest.er1
>conftest.err
11347 cat conftest.err
>&5
11348 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11349 (exit $ac_status); } &&
11350 { ac_try
='test -z "$ac_c_werror_flag"
11351 || test ! -s conftest.err'
11352 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11353 (eval $ac_try) 2>&5
11355 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11356 (exit $ac_status); }; } &&
11357 { ac_try
='test -s conftest$ac_exeext'
11358 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11359 (eval $ac_try) 2>&5
11361 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11362 (exit $ac_status); }; }; then
11363 eval "$as_ac_var=yes"
11365 echo "$as_me: failed program was:" >&5
11366 sed 's/^/| /' conftest.
$ac_ext >&5
11368 eval "$as_ac_var=no"
11370 rm -f conftest.err conftest.
$ac_objext \
11371 conftest
$ac_exeext conftest.
$ac_ext
11373 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
11374 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
11375 if test `eval echo '${'$as_ac_var'}'` = yes; then
11376 cat >>confdefs.h
<<_ACEOF
11377 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
11381 cat >>confdefs.h
<<\_ACEOF
11382 #define HAVE_GETHOSTBYNAME_R 1
11385 # There are two different kinds of gethostbyname_r.
11386 # We look for the one that returns `int'.
11387 # Hopefully this check is robust enough.
11388 cat >conftest.
$ac_ext <<_ACEOF
11391 cat confdefs.h
>>conftest.
$ac_ext
11392 cat >>conftest.
$ac_ext <<_ACEOF
11393 /* end confdefs.h. */
11397 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
11398 $EGREP "int.*gethostbyname_r" >/dev
/null
2>&1; then
11401 cat >>confdefs.h
<<\_ACEOF
11402 #define GETHOSTBYNAME_R_RETURNS_INT 1
11409 case " $GCINCS " in
11410 *" -D_REENTRANT "*) ;;
11412 echo "$as_me:$LINENO: checking whether gethostbyname_r declaration requires -D_REENTRANT" >&5
11413 echo $ECHO_N "checking whether gethostbyname_r declaration requires -D_REENTRANT... $ECHO_C" >&6
11414 if test "${libjava_cv_gethostbyname_r_needs_reentrant+set}" = set; then
11415 echo $ECHO_N "(cached) $ECHO_C" >&6
11418 ac_cpp
='$CXXCPP $CPPFLAGS'
11419 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11420 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11421 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
11423 cat >conftest.
$ac_ext <<_ACEOF
11426 cat confdefs.h
>>conftest.
$ac_ext
11427 cat >>conftest.
$ac_ext <<_ACEOF
11428 /* end confdefs.h. */
11433 gethostbyname_r("", 0, 0);
11438 rm -f conftest.
$ac_objext
11439 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11440 (eval $ac_compile) 2>conftest.er1
11442 grep -v '^ *+' conftest.er1
>conftest.err
11444 cat conftest.err
>&5
11445 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11446 (exit $ac_status); } &&
11447 { ac_try
='test -z "$ac_cxx_werror_flag"
11448 || test ! -s conftest.err'
11449 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11450 (eval $ac_try) 2>&5
11452 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11453 (exit $ac_status); }; } &&
11454 { ac_try
='test -s conftest.$ac_objext'
11455 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11456 (eval $ac_try) 2>&5
11458 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11459 (exit $ac_status); }; }; then
11460 libjava_cv_gethostbyname_r_needs_reentrant
=no
11462 echo "$as_me: failed program was:" >&5
11463 sed 's/^/| /' conftest.
$ac_ext >&5
11465 CPPFLAGS_SAVE
="$CPPFLAGS"
11466 CPPFLAGS
="$CPPFLAGS -D_REENTRANT"
11467 cat >conftest.
$ac_ext <<_ACEOF
11470 cat confdefs.h
>>conftest.
$ac_ext
11471 cat >>conftest.
$ac_ext <<_ACEOF
11472 /* end confdefs.h. */
11477 gethostbyname_r("", 0, 0);
11482 rm -f conftest.
$ac_objext
11483 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11484 (eval $ac_compile) 2>conftest.er1
11486 grep -v '^ *+' conftest.er1
>conftest.err
11488 cat conftest.err
>&5
11489 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11490 (exit $ac_status); } &&
11491 { ac_try
='test -z "$ac_cxx_werror_flag"
11492 || test ! -s conftest.err'
11493 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11494 (eval $ac_try) 2>&5
11496 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11497 (exit $ac_status); }; } &&
11498 { ac_try
='test -s conftest.$ac_objext'
11499 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11500 (eval $ac_try) 2>&5
11502 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11503 (exit $ac_status); }; }; then
11504 libjava_cv_gethostbyname_r_needs_reentrant
=yes
11506 echo "$as_me: failed program was:" >&5
11507 sed 's/^/| /' conftest.
$ac_ext >&5
11509 libjava_cv_gethostbyname_r_needs_reentrant
=fail
11511 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
11512 CPPFLAGS
="$CPPFLAGS_SAVE"
11515 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
11517 ac_cpp
='$CPP $CPPFLAGS'
11518 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11519 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11520 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
11524 echo "$as_me:$LINENO: result: $libjava_cv_gethostbyname_r_needs_reentrant" >&5
11525 echo "${ECHO_T}$libjava_cv_gethostbyname_r_needs_reentrant" >&6
11526 if test "x$libjava_cv_gethostbyname_r_needs_reentrant" = xyes
; then
11528 cat >>confdefs.h
<<\_ACEOF
11529 #define _REENTRANT 1
11536 echo "$as_me:$LINENO: checking for struct hostent_data" >&5
11537 echo $ECHO_N "checking for struct hostent_data... $ECHO_C" >&6
11538 if test "${libjava_cv_struct_hostent_data+set}" = set; then
11539 echo $ECHO_N "(cached) $ECHO_C" >&6
11541 cat >conftest.
$ac_ext <<_ACEOF
11544 cat confdefs.h
>>conftest.
$ac_ext
11545 cat >>conftest.
$ac_ext <<_ACEOF
11546 /* end confdefs.h. */
11548 #if GETHOSTBYNAME_R_NEEDS_REENTRANT && !defined(_REENTRANT)
11549 # define _REENTRANT 1
11555 struct hostent_data data;
11560 rm -f conftest.
$ac_objext
11561 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11562 (eval $ac_compile) 2>conftest.er1
11564 grep -v '^ *+' conftest.er1
>conftest.err
11566 cat conftest.err
>&5
11567 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11568 (exit $ac_status); } &&
11569 { ac_try
='test -z "$ac_c_werror_flag"
11570 || test ! -s conftest.err'
11571 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11572 (eval $ac_try) 2>&5
11574 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11575 (exit $ac_status); }; } &&
11576 { ac_try
='test -s conftest.$ac_objext'
11577 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11578 (eval $ac_try) 2>&5
11580 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11581 (exit $ac_status); }; }; then
11582 libjava_cv_struct_hostent_data
=yes
11584 echo "$as_me: failed program was:" >&5
11585 sed 's/^/| /' conftest.
$ac_ext >&5
11587 libjava_cv_struct_hostent_data
=no
11589 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
11591 echo "$as_me:$LINENO: result: $libjava_cv_struct_hostent_data" >&5
11592 echo "${ECHO_T}$libjava_cv_struct_hostent_data" >&6
11593 if test "x$libjava_cv_struct_hostent_data" = xyes
; then
11595 cat >>confdefs.h
<<\_ACEOF
11596 #define HAVE_STRUCT_HOSTENT_DATA 1
11605 # FIXME: libjava source code expects to find a prototype for
11606 # gethostbyaddr_r in netdb.h. The outer check ensures that
11607 # HAVE_GETHOSTBYADDR_R will not be defined if the prototype fails
11608 # to exist where expected. (The root issue: AC_CHECK_FUNCS assumes C
11609 # linkage check is enough, yet C++ code requires proper prototypes.)
11610 cat >conftest.
$ac_ext <<_ACEOF
11613 cat confdefs.h
>>conftest.
$ac_ext
11614 cat >>conftest.
$ac_ext <<_ACEOF
11615 /* end confdefs.h. */
11619 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
11620 $EGREP "gethostbyaddr_r" >/dev
/null
2>&1; then
11623 for ac_func
in gethostbyaddr_r
11625 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
11626 echo "$as_me:$LINENO: checking for $ac_func" >&5
11627 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
11628 if eval "test \"\${$as_ac_var+set}\" = set"; then
11629 echo $ECHO_N "(cached) $ECHO_C" >&6
11631 if test x
$gcc_no_link = xyes
; then
11632 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
11633 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
11634 { (exit 1); exit 1; }; }
11636 cat >conftest.
$ac_ext <<_ACEOF
11639 cat confdefs.h
>>conftest.
$ac_ext
11640 cat >>conftest.
$ac_ext <<_ACEOF
11641 /* end confdefs.h. */
11642 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
11643 For example, HP-UX 11i <limits.h> declares gettimeofday. */
11644 #define $ac_func innocuous_$ac_func
11646 /* System header to define __stub macros and hopefully few prototypes,
11647 which can conflict with char $ac_func (); below.
11648 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
11649 <limits.h> exists even on freestanding compilers. */
11652 # include <limits.h>
11654 # include <assert.h>
11659 /* Override any gcc2 internal prototype to avoid an error. */
11664 /* We use char because int might match the return type of a gcc2
11665 builtin and then its argument prototype would still apply. */
11667 /* The GNU C library defines this for functions which it implements
11668 to always fail with ENOSYS. Some functions are actually named
11669 something starting with __ and the normal name is an alias. */
11670 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
11673 char (*f) () = $ac_func;
11682 return f != $ac_func;
11687 rm -f conftest.
$ac_objext conftest
$ac_exeext
11688 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
11689 (eval $ac_link) 2>conftest.er1
11691 grep -v '^ *+' conftest.er1
>conftest.err
11693 cat conftest.err
>&5
11694 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11695 (exit $ac_status); } &&
11696 { ac_try
='test -z "$ac_c_werror_flag"
11697 || test ! -s conftest.err'
11698 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11699 (eval $ac_try) 2>&5
11701 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11702 (exit $ac_status); }; } &&
11703 { ac_try
='test -s conftest$ac_exeext'
11704 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11705 (eval $ac_try) 2>&5
11707 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11708 (exit $ac_status); }; }; then
11709 eval "$as_ac_var=yes"
11711 echo "$as_me: failed program was:" >&5
11712 sed 's/^/| /' conftest.
$ac_ext >&5
11714 eval "$as_ac_var=no"
11716 rm -f conftest.err conftest.
$ac_objext \
11717 conftest
$ac_exeext conftest.
$ac_ext
11719 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
11720 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
11721 if test `eval echo '${'$as_ac_var'}'` = yes; then
11722 cat >>confdefs.h
<<_ACEOF
11723 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
11727 cat >>confdefs.h
<<\_ACEOF
11728 #define HAVE_GETHOSTBYADDR_R 1
11731 # There are two different kinds of gethostbyaddr_r.
11732 # We look for the one that returns `int'.
11733 # Hopefully this check is robust enough.
11734 cat >conftest.
$ac_ext <<_ACEOF
11737 cat confdefs.h
>>conftest.
$ac_ext
11738 cat >>conftest.
$ac_ext <<_ACEOF
11739 /* end confdefs.h. */
11743 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
11744 $EGREP "int.*gethostbyaddr_r" >/dev
/null
2>&1; then
11747 cat >>confdefs.h
<<\_ACEOF
11748 #define GETHOSTBYADDR_R_RETURNS_INT 1
11762 for ac_func
in gethostname
11764 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
11765 echo "$as_me:$LINENO: checking for $ac_func" >&5
11766 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
11767 if eval "test \"\${$as_ac_var+set}\" = set"; then
11768 echo $ECHO_N "(cached) $ECHO_C" >&6
11770 if test x
$gcc_no_link = xyes
; then
11771 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
11772 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
11773 { (exit 1); exit 1; }; }
11775 cat >conftest.
$ac_ext <<_ACEOF
11778 cat confdefs.h
>>conftest.
$ac_ext
11779 cat >>conftest.
$ac_ext <<_ACEOF
11780 /* end confdefs.h. */
11781 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
11782 For example, HP-UX 11i <limits.h> declares gettimeofday. */
11783 #define $ac_func innocuous_$ac_func
11785 /* System header to define __stub macros and hopefully few prototypes,
11786 which can conflict with char $ac_func (); below.
11787 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
11788 <limits.h> exists even on freestanding compilers. */
11791 # include <limits.h>
11793 # include <assert.h>
11798 /* Override any gcc2 internal prototype to avoid an error. */
11803 /* We use char because int might match the return type of a gcc2
11804 builtin and then its argument prototype would still apply. */
11806 /* The GNU C library defines this for functions which it implements
11807 to always fail with ENOSYS. Some functions are actually named
11808 something starting with __ and the normal name is an alias. */
11809 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
11812 char (*f) () = $ac_func;
11821 return f != $ac_func;
11826 rm -f conftest.
$ac_objext conftest
$ac_exeext
11827 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
11828 (eval $ac_link) 2>conftest.er1
11830 grep -v '^ *+' conftest.er1
>conftest.err
11832 cat conftest.err
>&5
11833 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11834 (exit $ac_status); } &&
11835 { ac_try
='test -z "$ac_c_werror_flag"
11836 || test ! -s conftest.err'
11837 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11838 (eval $ac_try) 2>&5
11840 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11841 (exit $ac_status); }; } &&
11842 { ac_try
='test -s conftest$ac_exeext'
11843 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11844 (eval $ac_try) 2>&5
11846 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11847 (exit $ac_status); }; }; then
11848 eval "$as_ac_var=yes"
11850 echo "$as_me: failed program was:" >&5
11851 sed 's/^/| /' conftest.
$ac_ext >&5
11853 eval "$as_ac_var=no"
11855 rm -f conftest.err conftest.
$ac_objext \
11856 conftest
$ac_exeext conftest.
$ac_ext
11858 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
11859 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
11860 if test `eval echo '${'$as_ac_var'}'` = yes; then
11861 cat >>confdefs.h
<<_ACEOF
11862 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
11866 cat >>confdefs.h
<<\_ACEOF
11867 #define HAVE_GETHOSTNAME 1
11870 cat >conftest.
$ac_ext <<_ACEOF
11873 cat confdefs.h
>>conftest.
$ac_ext
11874 cat >>conftest.
$ac_ext <<_ACEOF
11875 /* end confdefs.h. */
11876 #include <unistd.h>
11879 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
11880 $EGREP "gethostname" >/dev
/null
2>&1; then
11883 cat >>confdefs.h
<<\_ACEOF
11884 #define HAVE_GETHOSTNAME_DECL 1
11895 for ac_func
in usleep
11897 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
11898 echo "$as_me:$LINENO: checking for $ac_func" >&5
11899 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
11900 if eval "test \"\${$as_ac_var+set}\" = set"; then
11901 echo $ECHO_N "(cached) $ECHO_C" >&6
11903 if test x
$gcc_no_link = xyes
; then
11904 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
11905 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
11906 { (exit 1); exit 1; }; }
11908 cat >conftest.
$ac_ext <<_ACEOF
11911 cat confdefs.h
>>conftest.
$ac_ext
11912 cat >>conftest.
$ac_ext <<_ACEOF
11913 /* end confdefs.h. */
11914 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
11915 For example, HP-UX 11i <limits.h> declares gettimeofday. */
11916 #define $ac_func innocuous_$ac_func
11918 /* System header to define __stub macros and hopefully few prototypes,
11919 which can conflict with char $ac_func (); below.
11920 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
11921 <limits.h> exists even on freestanding compilers. */
11924 # include <limits.h>
11926 # include <assert.h>
11931 /* Override any gcc2 internal prototype to avoid an error. */
11936 /* We use char because int might match the return type of a gcc2
11937 builtin and then its argument prototype would still apply. */
11939 /* The GNU C library defines this for functions which it implements
11940 to always fail with ENOSYS. Some functions are actually named
11941 something starting with __ and the normal name is an alias. */
11942 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
11945 char (*f) () = $ac_func;
11954 return f != $ac_func;
11959 rm -f conftest.
$ac_objext conftest
$ac_exeext
11960 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
11961 (eval $ac_link) 2>conftest.er1
11963 grep -v '^ *+' conftest.er1
>conftest.err
11965 cat conftest.err
>&5
11966 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11967 (exit $ac_status); } &&
11968 { ac_try
='test -z "$ac_c_werror_flag"
11969 || test ! -s conftest.err'
11970 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11971 (eval $ac_try) 2>&5
11973 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11974 (exit $ac_status); }; } &&
11975 { ac_try
='test -s conftest$ac_exeext'
11976 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11977 (eval $ac_try) 2>&5
11979 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11980 (exit $ac_status); }; }; then
11981 eval "$as_ac_var=yes"
11983 echo "$as_me: failed program was:" >&5
11984 sed 's/^/| /' conftest.
$ac_ext >&5
11986 eval "$as_ac_var=no"
11988 rm -f conftest.err conftest.
$ac_objext \
11989 conftest
$ac_exeext conftest.
$ac_ext
11991 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
11992 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
11993 if test `eval echo '${'$as_ac_var'}'` = yes; then
11994 cat >>confdefs.h
<<_ACEOF
11995 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
11998 cat >conftest.
$ac_ext <<_ACEOF
12001 cat confdefs.h
>>conftest.
$ac_ext
12002 cat >>conftest.
$ac_ext <<_ACEOF
12003 /* end confdefs.h. */
12004 #include <unistd.h>
12007 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
12008 $EGREP "usleep" >/dev
/null
2>&1; then
12011 cat >>confdefs.h
<<\_ACEOF
12012 #define HAVE_USLEEP_DECL 1
12022 # Look for these functions in the thread library, but only bother
12023 # if using POSIX threads.
12024 if test "$THREADS" = posix
; then
12026 LIBS
="$LIBS $THREADLIBS"
12027 # Some POSIX thread systems don't have pthread_mutexattr_settype.
12031 for ac_func
in pthread_mutexattr_settype pthread_mutexattr_setkind_np
12033 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
12034 echo "$as_me:$LINENO: checking for $ac_func" >&5
12035 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
12036 if eval "test \"\${$as_ac_var+set}\" = set"; then
12037 echo $ECHO_N "(cached) $ECHO_C" >&6
12039 if test x
$gcc_no_link = xyes
; then
12040 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
12041 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
12042 { (exit 1); exit 1; }; }
12044 cat >conftest.
$ac_ext <<_ACEOF
12047 cat confdefs.h
>>conftest.
$ac_ext
12048 cat >>conftest.
$ac_ext <<_ACEOF
12049 /* end confdefs.h. */
12050 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
12051 For example, HP-UX 11i <limits.h> declares gettimeofday. */
12052 #define $ac_func innocuous_$ac_func
12054 /* System header to define __stub macros and hopefully few prototypes,
12055 which can conflict with char $ac_func (); below.
12056 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
12057 <limits.h> exists even on freestanding compilers. */
12060 # include <limits.h>
12062 # include <assert.h>
12067 /* Override any gcc2 internal prototype to avoid an error. */
12072 /* We use char because int might match the return type of a gcc2
12073 builtin and then its argument prototype would still apply. */
12075 /* The GNU C library defines this for functions which it implements
12076 to always fail with ENOSYS. Some functions are actually named
12077 something starting with __ and the normal name is an alias. */
12078 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
12081 char (*f) () = $ac_func;
12090 return f != $ac_func;
12095 rm -f conftest.
$ac_objext conftest
$ac_exeext
12096 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12097 (eval $ac_link) 2>conftest.er1
12099 grep -v '^ *+' conftest.er1
>conftest.err
12101 cat conftest.err
>&5
12102 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12103 (exit $ac_status); } &&
12104 { ac_try
='test -z "$ac_c_werror_flag"
12105 || test ! -s conftest.err'
12106 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12107 (eval $ac_try) 2>&5
12109 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12110 (exit $ac_status); }; } &&
12111 { ac_try
='test -s conftest$ac_exeext'
12112 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12113 (eval $ac_try) 2>&5
12115 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12116 (exit $ac_status); }; }; then
12117 eval "$as_ac_var=yes"
12119 echo "$as_me: failed program was:" >&5
12120 sed 's/^/| /' conftest.
$ac_ext >&5
12122 eval "$as_ac_var=no"
12124 rm -f conftest.err conftest.
$ac_objext \
12125 conftest
$ac_exeext conftest.
$ac_ext
12127 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
12128 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
12129 if test `eval echo '${'$as_ac_var'}'` = yes; then
12130 cat >>confdefs.h
<<_ACEOF
12131 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
12138 # Look for sched_yield. Up to Solaris 2.6, it is in libposix4, since
12139 # Solaris 7 the name librt is preferred.
12141 for ac_func
in sched_yield
12143 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
12144 echo "$as_me:$LINENO: checking for $ac_func" >&5
12145 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
12146 if eval "test \"\${$as_ac_var+set}\" = set"; then
12147 echo $ECHO_N "(cached) $ECHO_C" >&6
12149 if test x
$gcc_no_link = xyes
; then
12150 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
12151 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
12152 { (exit 1); exit 1; }; }
12154 cat >conftest.
$ac_ext <<_ACEOF
12157 cat confdefs.h
>>conftest.
$ac_ext
12158 cat >>conftest.
$ac_ext <<_ACEOF
12159 /* end confdefs.h. */
12160 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
12161 For example, HP-UX 11i <limits.h> declares gettimeofday. */
12162 #define $ac_func innocuous_$ac_func
12164 /* System header to define __stub macros and hopefully few prototypes,
12165 which can conflict with char $ac_func (); below.
12166 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
12167 <limits.h> exists even on freestanding compilers. */
12170 # include <limits.h>
12172 # include <assert.h>
12177 /* Override any gcc2 internal prototype to avoid an error. */
12182 /* We use char because int might match the return type of a gcc2
12183 builtin and then its argument prototype would still apply. */
12185 /* The GNU C library defines this for functions which it implements
12186 to always fail with ENOSYS. Some functions are actually named
12187 something starting with __ and the normal name is an alias. */
12188 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
12191 char (*f) () = $ac_func;
12200 return f != $ac_func;
12205 rm -f conftest.
$ac_objext conftest
$ac_exeext
12206 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12207 (eval $ac_link) 2>conftest.er1
12209 grep -v '^ *+' conftest.er1
>conftest.err
12211 cat conftest.err
>&5
12212 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12213 (exit $ac_status); } &&
12214 { ac_try
='test -z "$ac_c_werror_flag"
12215 || test ! -s conftest.err'
12216 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12217 (eval $ac_try) 2>&5
12219 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12220 (exit $ac_status); }; } &&
12221 { ac_try
='test -s conftest$ac_exeext'
12222 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12223 (eval $ac_try) 2>&5
12225 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12226 (exit $ac_status); }; }; then
12227 eval "$as_ac_var=yes"
12229 echo "$as_me: failed program was:" >&5
12230 sed 's/^/| /' conftest.
$ac_ext >&5
12232 eval "$as_ac_var=no"
12234 rm -f conftest.err conftest.
$ac_objext \
12235 conftest
$ac_exeext conftest.
$ac_ext
12237 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
12238 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
12239 if test `eval echo '${'$as_ac_var'}'` = yes; then
12240 cat >>confdefs.h
<<_ACEOF
12241 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
12246 echo "$as_me:$LINENO: checking for sched_yield in -lrt" >&5
12247 echo $ECHO_N "checking for sched_yield in -lrt... $ECHO_C" >&6
12248 if test "${ac_cv_lib_rt_sched_yield+set}" = set; then
12249 echo $ECHO_N "(cached) $ECHO_C" >&6
12251 ac_check_lib_save_LIBS
=$LIBS
12253 if test x
$gcc_no_link = xyes
; then
12254 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
12255 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
12256 { (exit 1); exit 1; }; }
12258 cat >conftest.
$ac_ext <<_ACEOF
12261 cat confdefs.h
>>conftest.
$ac_ext
12262 cat >>conftest.
$ac_ext <<_ACEOF
12263 /* end confdefs.h. */
12265 /* Override any gcc2 internal prototype to avoid an error. */
12269 /* We use char because int might match the return type of a gcc2
12270 builtin and then its argument prototype would still apply. */
12271 char sched_yield ();
12280 rm -f conftest.
$ac_objext conftest
$ac_exeext
12281 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12282 (eval $ac_link) 2>conftest.er1
12284 grep -v '^ *+' conftest.er1
>conftest.err
12286 cat conftest.err
>&5
12287 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12288 (exit $ac_status); } &&
12289 { ac_try
='test -z "$ac_c_werror_flag"
12290 || test ! -s conftest.err'
12291 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12292 (eval $ac_try) 2>&5
12294 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12295 (exit $ac_status); }; } &&
12296 { ac_try
='test -s conftest$ac_exeext'
12297 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12298 (eval $ac_try) 2>&5
12300 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12301 (exit $ac_status); }; }; then
12302 ac_cv_lib_rt_sched_yield
=yes
12304 echo "$as_me: failed program was:" >&5
12305 sed 's/^/| /' conftest.
$ac_ext >&5
12307 ac_cv_lib_rt_sched_yield
=no
12309 rm -f conftest.err conftest.
$ac_objext \
12310 conftest
$ac_exeext conftest.
$ac_ext
12311 LIBS
=$ac_check_lib_save_LIBS
12313 echo "$as_me:$LINENO: result: $ac_cv_lib_rt_sched_yield" >&5
12314 echo "${ECHO_T}$ac_cv_lib_rt_sched_yield" >&6
12315 if test $ac_cv_lib_rt_sched_yield = yes; then
12317 cat >>confdefs.h
<<\_ACEOF
12318 #define HAVE_SCHED_YIELD 1
12321 THREADLIBS
="$THREADLIBS -lrt"
12322 THREADSPEC
="$THREADSPEC -lrt"
12325 echo "$as_me:$LINENO: checking for sched_yield in -lposix4" >&5
12326 echo $ECHO_N "checking for sched_yield in -lposix4... $ECHO_C" >&6
12327 if test "${ac_cv_lib_posix4_sched_yield+set}" = set; then
12328 echo $ECHO_N "(cached) $ECHO_C" >&6
12330 ac_check_lib_save_LIBS
=$LIBS
12331 LIBS
="-lposix4 $LIBS"
12332 if test x
$gcc_no_link = xyes
; then
12333 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
12334 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
12335 { (exit 1); exit 1; }; }
12337 cat >conftest.
$ac_ext <<_ACEOF
12340 cat confdefs.h
>>conftest.
$ac_ext
12341 cat >>conftest.
$ac_ext <<_ACEOF
12342 /* end confdefs.h. */
12344 /* Override any gcc2 internal prototype to avoid an error. */
12348 /* We use char because int might match the return type of a gcc2
12349 builtin and then its argument prototype would still apply. */
12350 char sched_yield ();
12359 rm -f conftest.
$ac_objext conftest
$ac_exeext
12360 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12361 (eval $ac_link) 2>conftest.er1
12363 grep -v '^ *+' conftest.er1
>conftest.err
12365 cat conftest.err
>&5
12366 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12367 (exit $ac_status); } &&
12368 { ac_try
='test -z "$ac_c_werror_flag"
12369 || test ! -s conftest.err'
12370 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12371 (eval $ac_try) 2>&5
12373 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12374 (exit $ac_status); }; } &&
12375 { ac_try
='test -s conftest$ac_exeext'
12376 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12377 (eval $ac_try) 2>&5
12379 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12380 (exit $ac_status); }; }; then
12381 ac_cv_lib_posix4_sched_yield
=yes
12383 echo "$as_me: failed program was:" >&5
12384 sed 's/^/| /' conftest.
$ac_ext >&5
12386 ac_cv_lib_posix4_sched_yield
=no
12388 rm -f conftest.err conftest.
$ac_objext \
12389 conftest
$ac_exeext conftest.
$ac_ext
12390 LIBS
=$ac_check_lib_save_LIBS
12392 echo "$as_me:$LINENO: result: $ac_cv_lib_posix4_sched_yield" >&5
12393 echo "${ECHO_T}$ac_cv_lib_posix4_sched_yield" >&6
12394 if test $ac_cv_lib_posix4_sched_yield = yes; then
12396 cat >>confdefs.h
<<\_ACEOF
12397 #define HAVE_SCHED_YIELD 1
12400 THREADLIBS
="$THREADLIBS -lposix4"
12401 THREADSPEC
="$THREADSPEC -lposix4"
12411 # We can save a little space at runtime if the mutex has m_count
12412 # or __m_count. This is a nice hack for Linux.
12413 cat >conftest.
$ac_ext <<_ACEOF
12416 cat confdefs.h
>>conftest.
$ac_ext
12417 cat >>conftest.
$ac_ext <<_ACEOF
12418 /* end confdefs.h. */
12419 #include <pthread.h>
12424 extern pthread_mutex_t *mutex; int q = mutex->m_count;
12430 rm -f conftest.
$ac_objext
12431 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12432 (eval $ac_compile) 2>conftest.er1
12434 grep -v '^ *+' conftest.er1
>conftest.err
12436 cat conftest.err
>&5
12437 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12438 (exit $ac_status); } &&
12439 { ac_try
='test -z "$ac_c_werror_flag"
12440 || test ! -s conftest.err'
12441 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12442 (eval $ac_try) 2>&5
12444 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12445 (exit $ac_status); }; } &&
12446 { ac_try
='test -s conftest.$ac_objext'
12447 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12448 (eval $ac_try) 2>&5
12450 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12451 (exit $ac_status); }; }; then
12453 cat >>confdefs.h
<<\_ACEOF
12454 #define PTHREAD_MUTEX_HAVE_M_COUNT 1
12458 echo "$as_me: failed program was:" >&5
12459 sed 's/^/| /' conftest.
$ac_ext >&5
12462 cat >conftest.
$ac_ext <<_ACEOF
12465 cat confdefs.h
>>conftest.
$ac_ext
12466 cat >>conftest.
$ac_ext <<_ACEOF
12467 /* end confdefs.h. */
12468 #include <pthread.h>
12473 extern pthread_mutex_t *mutex; int q = mutex->__m_count;
12479 rm -f conftest.
$ac_objext
12480 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12481 (eval $ac_compile) 2>conftest.er1
12483 grep -v '^ *+' conftest.er1
>conftest.err
12485 cat conftest.err
>&5
12486 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12487 (exit $ac_status); } &&
12488 { ac_try
='test -z "$ac_c_werror_flag"
12489 || test ! -s conftest.err'
12490 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12491 (eval $ac_try) 2>&5
12493 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12494 (exit $ac_status); }; } &&
12495 { ac_try
='test -s conftest.$ac_objext'
12496 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12497 (eval $ac_try) 2>&5
12499 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12500 (exit $ac_status); }; }; then
12502 cat >>confdefs.h
<<\_ACEOF
12503 #define PTHREAD_MUTEX_HAVE___M_COUNT 1
12507 echo "$as_me: failed program was:" >&5
12508 sed 's/^/| /' conftest.
$ac_ext >&5
12511 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
12513 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
12516 # We require a way to get the time.
12521 for ac_func
in gettimeofday
time ftime
12523 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
12524 echo "$as_me:$LINENO: checking for $ac_func" >&5
12525 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
12526 if eval "test \"\${$as_ac_var+set}\" = set"; then
12527 echo $ECHO_N "(cached) $ECHO_C" >&6
12529 if test x
$gcc_no_link = xyes
; then
12530 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
12531 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
12532 { (exit 1); exit 1; }; }
12534 cat >conftest.
$ac_ext <<_ACEOF
12537 cat confdefs.h
>>conftest.
$ac_ext
12538 cat >>conftest.
$ac_ext <<_ACEOF
12539 /* end confdefs.h. */
12540 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
12541 For example, HP-UX 11i <limits.h> declares gettimeofday. */
12542 #define $ac_func innocuous_$ac_func
12544 /* System header to define __stub macros and hopefully few prototypes,
12545 which can conflict with char $ac_func (); below.
12546 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
12547 <limits.h> exists even on freestanding compilers. */
12550 # include <limits.h>
12552 # include <assert.h>
12557 /* Override any gcc2 internal prototype to avoid an error. */
12562 /* We use char because int might match the return type of a gcc2
12563 builtin and then its argument prototype would still apply. */
12565 /* The GNU C library defines this for functions which it implements
12566 to always fail with ENOSYS. Some functions are actually named
12567 something starting with __ and the normal name is an alias. */
12568 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
12571 char (*f) () = $ac_func;
12580 return f != $ac_func;
12585 rm -f conftest.
$ac_objext conftest
$ac_exeext
12586 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12587 (eval $ac_link) 2>conftest.er1
12589 grep -v '^ *+' conftest.er1
>conftest.err
12591 cat conftest.err
>&5
12592 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12593 (exit $ac_status); } &&
12594 { ac_try
='test -z "$ac_c_werror_flag"
12595 || test ! -s conftest.err'
12596 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12597 (eval $ac_try) 2>&5
12599 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12600 (exit $ac_status); }; } &&
12601 { ac_try
='test -s conftest$ac_exeext'
12602 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12603 (eval $ac_try) 2>&5
12605 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12606 (exit $ac_status); }; }; then
12607 eval "$as_ac_var=yes"
12609 echo "$as_me: failed program was:" >&5
12610 sed 's/^/| /' conftest.
$ac_ext >&5
12612 eval "$as_ac_var=no"
12614 rm -f conftest.err conftest.
$ac_objext \
12615 conftest
$ac_exeext conftest.
$ac_ext
12617 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
12618 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
12619 if test `eval echo '${'$as_ac_var'}'` = yes; then
12620 cat >>confdefs.h
<<_ACEOF
12621 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
12627 if test "$time_found" = no
; then
12628 { { echo "$as_me:$LINENO: error: no function found to get the time" >&5
12629 echo "$as_me: error: no function found to get the time" >&2;}
12630 { (exit 1); exit 1; }; }
12634 for ac_func
in memmove
12636 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
12637 echo "$as_me:$LINENO: checking for $ac_func" >&5
12638 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
12639 if eval "test \"\${$as_ac_var+set}\" = set"; then
12640 echo $ECHO_N "(cached) $ECHO_C" >&6
12642 if test x
$gcc_no_link = xyes
; then
12643 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
12644 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
12645 { (exit 1); exit 1; }; }
12647 cat >conftest.
$ac_ext <<_ACEOF
12650 cat confdefs.h
>>conftest.
$ac_ext
12651 cat >>conftest.
$ac_ext <<_ACEOF
12652 /* end confdefs.h. */
12653 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
12654 For example, HP-UX 11i <limits.h> declares gettimeofday. */
12655 #define $ac_func innocuous_$ac_func
12657 /* System header to define __stub macros and hopefully few prototypes,
12658 which can conflict with char $ac_func (); below.
12659 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
12660 <limits.h> exists even on freestanding compilers. */
12663 # include <limits.h>
12665 # include <assert.h>
12670 /* Override any gcc2 internal prototype to avoid an error. */
12675 /* We use char because int might match the return type of a gcc2
12676 builtin and then its argument prototype would still apply. */
12678 /* The GNU C library defines this for functions which it implements
12679 to always fail with ENOSYS. Some functions are actually named
12680 something starting with __ and the normal name is an alias. */
12681 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
12684 char (*f) () = $ac_func;
12693 return f != $ac_func;
12698 rm -f conftest.
$ac_objext conftest
$ac_exeext
12699 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12700 (eval $ac_link) 2>conftest.er1
12702 grep -v '^ *+' conftest.er1
>conftest.err
12704 cat conftest.err
>&5
12705 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12706 (exit $ac_status); } &&
12707 { ac_try
='test -z "$ac_c_werror_flag"
12708 || test ! -s conftest.err'
12709 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12710 (eval $ac_try) 2>&5
12712 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12713 (exit $ac_status); }; } &&
12714 { ac_try
='test -s conftest$ac_exeext'
12715 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12716 (eval $ac_try) 2>&5
12718 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12719 (exit $ac_status); }; }; then
12720 eval "$as_ac_var=yes"
12722 echo "$as_me: failed program was:" >&5
12723 sed 's/^/| /' conftest.
$ac_ext >&5
12725 eval "$as_ac_var=no"
12727 rm -f conftest.err conftest.
$ac_objext \
12728 conftest
$ac_exeext conftest.
$ac_ext
12730 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
12731 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
12732 if test `eval echo '${'$as_ac_var'}'` = yes; then
12733 cat >>confdefs.h
<<_ACEOF
12734 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
12741 # We require memcpy.
12744 for ac_func
in memcpy
12746 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
12747 echo "$as_me:$LINENO: checking for $ac_func" >&5
12748 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
12749 if eval "test \"\${$as_ac_var+set}\" = set"; then
12750 echo $ECHO_N "(cached) $ECHO_C" >&6
12752 if test x
$gcc_no_link = xyes
; then
12753 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
12754 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
12755 { (exit 1); exit 1; }; }
12757 cat >conftest.
$ac_ext <<_ACEOF
12760 cat confdefs.h
>>conftest.
$ac_ext
12761 cat >>conftest.
$ac_ext <<_ACEOF
12762 /* end confdefs.h. */
12763 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
12764 For example, HP-UX 11i <limits.h> declares gettimeofday. */
12765 #define $ac_func innocuous_$ac_func
12767 /* System header to define __stub macros and hopefully few prototypes,
12768 which can conflict with char $ac_func (); below.
12769 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
12770 <limits.h> exists even on freestanding compilers. */
12773 # include <limits.h>
12775 # include <assert.h>
12780 /* Override any gcc2 internal prototype to avoid an error. */
12785 /* We use char because int might match the return type of a gcc2
12786 builtin and then its argument prototype would still apply. */
12788 /* The GNU C library defines this for functions which it implements
12789 to always fail with ENOSYS. Some functions are actually named
12790 something starting with __ and the normal name is an alias. */
12791 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
12794 char (*f) () = $ac_func;
12803 return f != $ac_func;
12808 rm -f conftest.
$ac_objext conftest
$ac_exeext
12809 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12810 (eval $ac_link) 2>conftest.er1
12812 grep -v '^ *+' conftest.er1
>conftest.err
12814 cat conftest.err
>&5
12815 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12816 (exit $ac_status); } &&
12817 { ac_try
='test -z "$ac_c_werror_flag"
12818 || test ! -s conftest.err'
12819 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12820 (eval $ac_try) 2>&5
12822 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12823 (exit $ac_status); }; } &&
12824 { ac_try
='test -s conftest$ac_exeext'
12825 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12826 (eval $ac_try) 2>&5
12828 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12829 (exit $ac_status); }; }; then
12830 eval "$as_ac_var=yes"
12832 echo "$as_me: failed program was:" >&5
12833 sed 's/^/| /' conftest.
$ac_ext >&5
12835 eval "$as_ac_var=no"
12837 rm -f conftest.err conftest.
$ac_objext \
12838 conftest
$ac_exeext conftest.
$ac_ext
12840 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
12841 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
12842 if test `eval echo '${'$as_ac_var'}'` = yes; then
12843 cat >>confdefs.h
<<_ACEOF
12844 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
12850 if test "$memcpy_found" = no
; then
12851 { { echo "$as_me:$LINENO: error: memcpy is required" >&5
12852 echo "$as_me: error: memcpy is required" >&2;}
12853 { (exit 1); exit 1; }; }
12856 echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
12857 echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6
12858 if test "${ac_cv_lib_dl_dlopen+set}" = set; then
12859 echo $ECHO_N "(cached) $ECHO_C" >&6
12861 ac_check_lib_save_LIBS
=$LIBS
12863 if test x
$gcc_no_link = xyes
; then
12864 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
12865 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
12866 { (exit 1); exit 1; }; }
12868 cat >conftest.
$ac_ext <<_ACEOF
12871 cat confdefs.h
>>conftest.
$ac_ext
12872 cat >>conftest.
$ac_ext <<_ACEOF
12873 /* end confdefs.h. */
12875 /* Override any gcc2 internal prototype to avoid an error. */
12879 /* We use char because int might match the return type of a gcc2
12880 builtin and then its argument prototype would still apply. */
12890 rm -f conftest.
$ac_objext conftest
$ac_exeext
12891 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12892 (eval $ac_link) 2>conftest.er1
12894 grep -v '^ *+' conftest.er1
>conftest.err
12896 cat conftest.err
>&5
12897 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12898 (exit $ac_status); } &&
12899 { ac_try
='test -z "$ac_c_werror_flag"
12900 || test ! -s conftest.err'
12901 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12902 (eval $ac_try) 2>&5
12904 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12905 (exit $ac_status); }; } &&
12906 { ac_try
='test -s conftest$ac_exeext'
12907 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12908 (eval $ac_try) 2>&5
12910 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12911 (exit $ac_status); }; }; then
12912 ac_cv_lib_dl_dlopen
=yes
12914 echo "$as_me: failed program was:" >&5
12915 sed 's/^/| /' conftest.
$ac_ext >&5
12917 ac_cv_lib_dl_dlopen
=no
12919 rm -f conftest.err conftest.
$ac_objext \
12920 conftest
$ac_exeext conftest.
$ac_ext
12921 LIBS
=$ac_check_lib_save_LIBS
12923 echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
12924 echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6
12925 if test $ac_cv_lib_dl_dlopen = yes; then
12928 cat >>confdefs.h
<<\_ACEOF
12929 #define HAVE_DLOPEN 1
12935 # Some library-finding code we stole from Tcl.
12936 #--------------------------------------------------------------------
12937 # Check for the existence of the -lsocket and -lnsl libraries.
12938 # The order here is important, so that they end up in the right
12939 # order in the command line generated by make. Here are some
12940 # special considerations:
12941 # 1. Use "connect" and "accept" to check for -lsocket, and
12942 # "gethostbyname" to check for -lnsl.
12943 # 2. Use each function name only once: can't redo a check because
12944 # autoconf caches the results of the last check and won't redo it.
12945 # 3. Use -lnsl and -lsocket only if they supply procedures that
12946 # aren't already present in the normal libraries. This is because
12947 # IRIX 5.2 has libraries, but they aren't needed and they're
12948 # bogus: they goof up name resolution if used.
12949 # 4. On some SVR4 systems, can't use -lsocket without -lnsl too.
12950 # To get around this problem, check for both libraries together
12951 # if -lsocket doesn't work by itself.
12952 #--------------------------------------------------------------------
12954 echo "$as_me:$LINENO: checking for socket libraries" >&5
12955 echo $ECHO_N "checking for socket libraries... $ECHO_C" >&6
12956 if test "${gcj_cv_lib_sockets+set}" = set; then
12957 echo $ECHO_N "(cached) $ECHO_C" >&6
12959 gcj_cv_lib_sockets
=
12961 unset ac_cv_func_connect
12962 echo "$as_me:$LINENO: checking for connect" >&5
12963 echo $ECHO_N "checking for connect... $ECHO_C" >&6
12964 if test "${ac_cv_func_connect+set}" = set; then
12965 echo $ECHO_N "(cached) $ECHO_C" >&6
12967 if test x
$gcc_no_link = xyes
; then
12968 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
12969 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
12970 { (exit 1); exit 1; }; }
12972 cat >conftest.
$ac_ext <<_ACEOF
12975 cat confdefs.h
>>conftest.
$ac_ext
12976 cat >>conftest.
$ac_ext <<_ACEOF
12977 /* end confdefs.h. */
12978 /* Define connect to an innocuous variant, in case <limits.h> declares connect.
12979 For example, HP-UX 11i <limits.h> declares gettimeofday. */
12980 #define connect innocuous_connect
12982 /* System header to define __stub macros and hopefully few prototypes,
12983 which can conflict with char connect (); below.
12984 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
12985 <limits.h> exists even on freestanding compilers. */
12988 # include <limits.h>
12990 # include <assert.h>
12995 /* Override any gcc2 internal prototype to avoid an error. */
13000 /* We use char because int might match the return type of a gcc2
13001 builtin and then its argument prototype would still apply. */
13003 /* The GNU C library defines this for functions which it implements
13004 to always fail with ENOSYS. Some functions are actually named
13005 something starting with __ and the normal name is an alias. */
13006 #if defined (__stub_connect) || defined (__stub___connect)
13009 char (*f) () = connect;
13018 return f != connect;
13023 rm -f conftest.
$ac_objext conftest
$ac_exeext
13024 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
13025 (eval $ac_link) 2>conftest.er1
13027 grep -v '^ *+' conftest.er1
>conftest.err
13029 cat conftest.err
>&5
13030 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13031 (exit $ac_status); } &&
13032 { ac_try
='test -z "$ac_c_werror_flag"
13033 || test ! -s conftest.err'
13034 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13035 (eval $ac_try) 2>&5
13037 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13038 (exit $ac_status); }; } &&
13039 { ac_try
='test -s conftest$ac_exeext'
13040 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13041 (eval $ac_try) 2>&5
13043 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13044 (exit $ac_status); }; }; then
13045 ac_cv_func_connect
=yes
13047 echo "$as_me: failed program was:" >&5
13048 sed 's/^/| /' conftest.
$ac_ext >&5
13050 ac_cv_func_connect
=no
13052 rm -f conftest.err conftest.
$ac_objext \
13053 conftest
$ac_exeext conftest.
$ac_ext
13055 echo "$as_me:$LINENO: result: $ac_cv_func_connect" >&5
13056 echo "${ECHO_T}$ac_cv_func_connect" >&6
13057 if test $ac_cv_func_connect = yes; then
13063 if test "$gcj_checkSocket" = 1; then
13064 unset ac_cv_func_connect
13065 echo "$as_me:$LINENO: checking for main in -lsocket" >&5
13066 echo $ECHO_N "checking for main in -lsocket... $ECHO_C" >&6
13067 if test "${ac_cv_lib_socket_main+set}" = set; then
13068 echo $ECHO_N "(cached) $ECHO_C" >&6
13070 ac_check_lib_save_LIBS
=$LIBS
13071 LIBS
="-lsocket $LIBS"
13072 if test x
$gcc_no_link = xyes
; then
13073 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
13074 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
13075 { (exit 1); exit 1; }; }
13077 cat >conftest.
$ac_ext <<_ACEOF
13080 cat confdefs.h
>>conftest.
$ac_ext
13081 cat >>conftest.
$ac_ext <<_ACEOF
13082 /* end confdefs.h. */
13093 rm -f conftest.
$ac_objext conftest
$ac_exeext
13094 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
13095 (eval $ac_link) 2>conftest.er1
13097 grep -v '^ *+' conftest.er1
>conftest.err
13099 cat conftest.err
>&5
13100 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13101 (exit $ac_status); } &&
13102 { ac_try
='test -z "$ac_c_werror_flag"
13103 || test ! -s conftest.err'
13104 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13105 (eval $ac_try) 2>&5
13107 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13108 (exit $ac_status); }; } &&
13109 { ac_try
='test -s conftest$ac_exeext'
13110 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13111 (eval $ac_try) 2>&5
13113 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13114 (exit $ac_status); }; }; then
13115 ac_cv_lib_socket_main
=yes
13117 echo "$as_me: failed program was:" >&5
13118 sed 's/^/| /' conftest.
$ac_ext >&5
13120 ac_cv_lib_socket_main
=no
13122 rm -f conftest.err conftest.
$ac_objext \
13123 conftest
$ac_exeext conftest.
$ac_ext
13124 LIBS
=$ac_check_lib_save_LIBS
13126 echo "$as_me:$LINENO: result: $ac_cv_lib_socket_main" >&5
13127 echo "${ECHO_T}$ac_cv_lib_socket_main" >&6
13128 if test $ac_cv_lib_socket_main = yes; then
13129 gcj_cv_lib_sockets
="-lsocket"
13135 if test "$gcj_checkBoth" = 1; then
13137 LIBS
="$LIBS -lsocket -lnsl"
13138 unset ac_cv_func_accept
13139 echo "$as_me:$LINENO: checking for accept" >&5
13140 echo $ECHO_N "checking for accept... $ECHO_C" >&6
13141 if test "${ac_cv_func_accept+set}" = set; then
13142 echo $ECHO_N "(cached) $ECHO_C" >&6
13144 if test x
$gcc_no_link = xyes
; then
13145 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
13146 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
13147 { (exit 1); exit 1; }; }
13149 cat >conftest.
$ac_ext <<_ACEOF
13152 cat confdefs.h
>>conftest.
$ac_ext
13153 cat >>conftest.
$ac_ext <<_ACEOF
13154 /* end confdefs.h. */
13155 /* Define accept to an innocuous variant, in case <limits.h> declares accept.
13156 For example, HP-UX 11i <limits.h> declares gettimeofday. */
13157 #define accept innocuous_accept
13159 /* System header to define __stub macros and hopefully few prototypes,
13160 which can conflict with char accept (); below.
13161 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
13162 <limits.h> exists even on freestanding compilers. */
13165 # include <limits.h>
13167 # include <assert.h>
13172 /* Override any gcc2 internal prototype to avoid an error. */
13177 /* We use char because int might match the return type of a gcc2
13178 builtin and then its argument prototype would still apply. */
13180 /* The GNU C library defines this for functions which it implements
13181 to always fail with ENOSYS. Some functions are actually named
13182 something starting with __ and the normal name is an alias. */
13183 #if defined (__stub_accept) || defined (__stub___accept)
13186 char (*f) () = accept;
13195 return f != accept;
13200 rm -f conftest.
$ac_objext conftest
$ac_exeext
13201 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
13202 (eval $ac_link) 2>conftest.er1
13204 grep -v '^ *+' conftest.er1
>conftest.err
13206 cat conftest.err
>&5
13207 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13208 (exit $ac_status); } &&
13209 { ac_try
='test -z "$ac_c_werror_flag"
13210 || test ! -s conftest.err'
13211 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13212 (eval $ac_try) 2>&5
13214 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13215 (exit $ac_status); }; } &&
13216 { ac_try
='test -s conftest$ac_exeext'
13217 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13218 (eval $ac_try) 2>&5
13220 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13221 (exit $ac_status); }; }; then
13222 ac_cv_func_accept
=yes
13224 echo "$as_me: failed program was:" >&5
13225 sed 's/^/| /' conftest.
$ac_ext >&5
13227 ac_cv_func_accept
=no
13229 rm -f conftest.err conftest.
$ac_objext \
13230 conftest
$ac_exeext conftest.
$ac_ext
13232 echo "$as_me:$LINENO: result: $ac_cv_func_accept" >&5
13233 echo "${ECHO_T}$ac_cv_func_accept" >&6
13234 if test $ac_cv_func_accept = yes; then
13236 gcj_cv_lib_sockets
="-lsocket -lnsl"
13239 unset ac_cv_func_accept
13242 unset ac_cv_func_gethostbyname
13244 LIBS
="$LIBS $gcj_cv_lib_sockets"
13245 echo "$as_me:$LINENO: checking for gethostbyname" >&5
13246 echo $ECHO_N "checking for gethostbyname... $ECHO_C" >&6
13247 if test "${ac_cv_func_gethostbyname+set}" = set; then
13248 echo $ECHO_N "(cached) $ECHO_C" >&6
13250 if test x
$gcc_no_link = xyes
; then
13251 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
13252 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
13253 { (exit 1); exit 1; }; }
13255 cat >conftest.
$ac_ext <<_ACEOF
13258 cat confdefs.h
>>conftest.
$ac_ext
13259 cat >>conftest.
$ac_ext <<_ACEOF
13260 /* end confdefs.h. */
13261 /* Define gethostbyname to an innocuous variant, in case <limits.h> declares gethostbyname.
13262 For example, HP-UX 11i <limits.h> declares gettimeofday. */
13263 #define gethostbyname innocuous_gethostbyname
13265 /* System header to define __stub macros and hopefully few prototypes,
13266 which can conflict with char gethostbyname (); below.
13267 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
13268 <limits.h> exists even on freestanding compilers. */
13271 # include <limits.h>
13273 # include <assert.h>
13276 #undef gethostbyname
13278 /* Override any gcc2 internal prototype to avoid an error. */
13283 /* We use char because int might match the return type of a gcc2
13284 builtin and then its argument prototype would still apply. */
13285 char gethostbyname ();
13286 /* The GNU C library defines this for functions which it implements
13287 to always fail with ENOSYS. Some functions are actually named
13288 something starting with __ and the normal name is an alias. */
13289 #if defined (__stub_gethostbyname) || defined (__stub___gethostbyname)
13292 char (*f) () = gethostbyname;
13301 return f != gethostbyname;
13306 rm -f conftest.
$ac_objext conftest
$ac_exeext
13307 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
13308 (eval $ac_link) 2>conftest.er1
13310 grep -v '^ *+' conftest.er1
>conftest.err
13312 cat conftest.err
>&5
13313 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13314 (exit $ac_status); } &&
13315 { ac_try
='test -z "$ac_c_werror_flag"
13316 || test ! -s conftest.err'
13317 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13318 (eval $ac_try) 2>&5
13320 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13321 (exit $ac_status); }; } &&
13322 { ac_try
='test -s conftest$ac_exeext'
13323 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13324 (eval $ac_try) 2>&5
13326 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13327 (exit $ac_status); }; }; then
13328 ac_cv_func_gethostbyname
=yes
13330 echo "$as_me: failed program was:" >&5
13331 sed 's/^/| /' conftest.
$ac_ext >&5
13333 ac_cv_func_gethostbyname
=no
13335 rm -f conftest.err conftest.
$ac_objext \
13336 conftest
$ac_exeext conftest.
$ac_ext
13338 echo "$as_me:$LINENO: result: $ac_cv_func_gethostbyname" >&5
13339 echo "${ECHO_T}$ac_cv_func_gethostbyname" >&6
13340 if test $ac_cv_func_gethostbyname = yes; then
13343 echo "$as_me:$LINENO: checking for main in -lnsl" >&5
13344 echo $ECHO_N "checking for main in -lnsl... $ECHO_C" >&6
13345 if test "${ac_cv_lib_nsl_main+set}" = set; then
13346 echo $ECHO_N "(cached) $ECHO_C" >&6
13348 ac_check_lib_save_LIBS
=$LIBS
13350 if test x
$gcc_no_link = xyes
; then
13351 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
13352 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
13353 { (exit 1); exit 1; }; }
13355 cat >conftest.
$ac_ext <<_ACEOF
13358 cat confdefs.h
>>conftest.
$ac_ext
13359 cat >>conftest.
$ac_ext <<_ACEOF
13360 /* end confdefs.h. */
13371 rm -f conftest.
$ac_objext conftest
$ac_exeext
13372 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
13373 (eval $ac_link) 2>conftest.er1
13375 grep -v '^ *+' conftest.er1
>conftest.err
13377 cat conftest.err
>&5
13378 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13379 (exit $ac_status); } &&
13380 { ac_try
='test -z "$ac_c_werror_flag"
13381 || test ! -s conftest.err'
13382 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13383 (eval $ac_try) 2>&5
13385 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13386 (exit $ac_status); }; } &&
13387 { ac_try
='test -s conftest$ac_exeext'
13388 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13389 (eval $ac_try) 2>&5
13391 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13392 (exit $ac_status); }; }; then
13393 ac_cv_lib_nsl_main
=yes
13395 echo "$as_me: failed program was:" >&5
13396 sed 's/^/| /' conftest.
$ac_ext >&5
13398 ac_cv_lib_nsl_main
=no
13400 rm -f conftest.err conftest.
$ac_objext \
13401 conftest
$ac_exeext conftest.
$ac_ext
13402 LIBS
=$ac_check_lib_save_LIBS
13404 echo "$as_me:$LINENO: result: $ac_cv_lib_nsl_main" >&5
13405 echo "${ECHO_T}$ac_cv_lib_nsl_main" >&6
13406 if test $ac_cv_lib_nsl_main = yes; then
13407 gcj_cv_lib_sockets
="$gcj_cv_lib_sockets -lnsl"
13412 unset ac_cv_func_gethostbyname
13416 echo "$as_me:$LINENO: result: $gcj_cv_lib_sockets" >&5
13417 echo "${ECHO_T}$gcj_cv_lib_sockets" >&6
13418 SYSTEMSPEC
="$SYSTEMSPEC $gcj_cv_lib_sockets"
13420 if test "$with_system_zlib" = yes; then
13421 echo "$as_me:$LINENO: checking for deflate in -lz" >&5
13422 echo $ECHO_N "checking for deflate in -lz... $ECHO_C" >&6
13423 if test "${ac_cv_lib_z_deflate+set}" = set; then
13424 echo $ECHO_N "(cached) $ECHO_C" >&6
13426 ac_check_lib_save_LIBS
=$LIBS
13428 if test x
$gcc_no_link = xyes
; then
13429 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
13430 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
13431 { (exit 1); exit 1; }; }
13433 cat >conftest.
$ac_ext <<_ACEOF
13436 cat confdefs.h
>>conftest.
$ac_ext
13437 cat >>conftest.
$ac_ext <<_ACEOF
13438 /* end confdefs.h. */
13440 /* Override any gcc2 internal prototype to avoid an error. */
13444 /* We use char because int might match the return type of a gcc2
13445 builtin and then its argument prototype would still apply. */
13455 rm -f conftest.
$ac_objext conftest
$ac_exeext
13456 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
13457 (eval $ac_link) 2>conftest.er1
13459 grep -v '^ *+' conftest.er1
>conftest.err
13461 cat conftest.err
>&5
13462 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13463 (exit $ac_status); } &&
13464 { ac_try
='test -z "$ac_c_werror_flag"
13465 || test ! -s conftest.err'
13466 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13467 (eval $ac_try) 2>&5
13469 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13470 (exit $ac_status); }; } &&
13471 { ac_try
='test -s conftest$ac_exeext'
13472 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13473 (eval $ac_try) 2>&5
13475 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13476 (exit $ac_status); }; }; then
13477 ac_cv_lib_z_deflate
=yes
13479 echo "$as_me: failed program was:" >&5
13480 sed 's/^/| /' conftest.
$ac_ext >&5
13482 ac_cv_lib_z_deflate
=no
13484 rm -f conftest.err conftest.
$ac_objext \
13485 conftest
$ac_exeext conftest.
$ac_ext
13486 LIBS
=$ac_check_lib_save_LIBS
13488 echo "$as_me:$LINENO: result: $ac_cv_lib_z_deflate" >&5
13489 echo "${ECHO_T}$ac_cv_lib_z_deflate" >&6
13490 if test $ac_cv_lib_z_deflate = yes; then
13498 # Test for Gtk stuff, if asked for.
13499 if test "$use_gtk_awt" = yes; then
13503 if test -z "$PKG_CONFIG"; then
13504 # Extract the first word of "pkg-config", so it can be a program name with args.
13505 set dummy pkg-config
; ac_word
=$2
13506 echo "$as_me:$LINENO: checking for $ac_word" >&5
13507 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
13508 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
13509 echo $ECHO_N "(cached) $ECHO_C" >&6
13511 case $PKG_CONFIG in
13513 ac_cv_path_PKG_CONFIG
="$PKG_CONFIG" # Let the user override the test with a path.
13516 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
13517 for as_dir
in $PATH
13520 test -z "$as_dir" && as_dir
=.
13521 for ac_exec_ext
in '' $ac_executable_extensions; do
13522 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
13523 ac_cv_path_PKG_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
13524 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
13530 test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG
="no"
13534 PKG_CONFIG
=$ac_cv_path_PKG_CONFIG
13536 if test -n "$PKG_CONFIG"; then
13537 echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
13538 echo "${ECHO_T}$PKG_CONFIG" >&6
13540 echo "$as_me:$LINENO: result: no" >&5
13541 echo "${ECHO_T}no" >&6
13546 if test "$PKG_CONFIG" = "no" ; then
13547 echo "*** The pkg-config script could not be found. Make sure it is"
13548 echo "*** in your path, or set the PKG_CONFIG environment variable"
13549 echo "*** to the full path to pkg-config."
13550 echo "*** Or see http://www.freedesktop.org/software/pkgconfig to get pkg-config."
13552 PKG_CONFIG_MIN_VERSION
=0.9.0
13553 if $PKG_CONFIG --atleast-pkgconfig-version $PKG_CONFIG_MIN_VERSION; then
13554 echo "$as_me:$LINENO: checking for gtk+-2.0 >= 2.4" >&5
13555 echo $ECHO_N "checking for gtk+-2.0 >= 2.4... $ECHO_C" >&6
13557 if $PKG_CONFIG --exists "gtk+-2.0 >= 2.4" ; then
13558 echo "$as_me:$LINENO: result: yes" >&5
13559 echo "${ECHO_T}yes" >&6
13562 echo "$as_me:$LINENO: checking GTK_CFLAGS" >&5
13563 echo $ECHO_N "checking GTK_CFLAGS... $ECHO_C" >&6
13564 GTK_CFLAGS
=`$PKG_CONFIG --cflags "gtk+-2.0 >= 2.4"`
13565 echo "$as_me:$LINENO: result: $GTK_CFLAGS" >&5
13566 echo "${ECHO_T}$GTK_CFLAGS" >&6
13568 echo "$as_me:$LINENO: checking GTK_LIBS" >&5
13569 echo $ECHO_N "checking GTK_LIBS... $ECHO_C" >&6
13570 GTK_LIBS
=`$PKG_CONFIG --libs "gtk+-2.0 >= 2.4"`
13571 echo "$as_me:$LINENO: result: $GTK_LIBS" >&5
13572 echo "${ECHO_T}$GTK_LIBS" >&6
13576 ## If we have a custom action on failure, don't print errors, but
13577 ## do set a variable so people can do so.
13578 GTK_PKG_ERRORS
=`$PKG_CONFIG --errors-to-stdout --print-errors "gtk+-2.0 >= 2.4"`
13579 echo $GTK_PKG_ERRORS
13585 echo "*** Your version of pkg-config is too old. You need version $PKG_CONFIG_MIN_VERSION or newer."
13586 echo "*** See http://www.freedesktop.org/software/pkgconfig"
13590 if test $succeeded = yes; then
13593 { { 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
13594 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;}
13595 { (exit 1); exit 1; }; }
13604 if test -z "$PKG_CONFIG"; then
13605 # Extract the first word of "pkg-config", so it can be a program name with args.
13606 set dummy pkg-config
; ac_word
=$2
13607 echo "$as_me:$LINENO: checking for $ac_word" >&5
13608 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
13609 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
13610 echo $ECHO_N "(cached) $ECHO_C" >&6
13612 case $PKG_CONFIG in
13614 ac_cv_path_PKG_CONFIG
="$PKG_CONFIG" # Let the user override the test with a path.
13617 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
13618 for as_dir
in $PATH
13621 test -z "$as_dir" && as_dir
=.
13622 for ac_exec_ext
in '' $ac_executable_extensions; do
13623 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
13624 ac_cv_path_PKG_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
13625 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
13631 test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG
="no"
13635 PKG_CONFIG
=$ac_cv_path_PKG_CONFIG
13637 if test -n "$PKG_CONFIG"; then
13638 echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
13639 echo "${ECHO_T}$PKG_CONFIG" >&6
13641 echo "$as_me:$LINENO: result: no" >&5
13642 echo "${ECHO_T}no" >&6
13647 if test "$PKG_CONFIG" = "no" ; then
13648 echo "*** The pkg-config script could not be found. Make sure it is"
13649 echo "*** in your path, or set the PKG_CONFIG environment variable"
13650 echo "*** to the full path to pkg-config."
13651 echo "*** Or see http://www.freedesktop.org/software/pkgconfig to get pkg-config."
13653 PKG_CONFIG_MIN_VERSION
=0.9.0
13654 if $PKG_CONFIG --atleast-pkgconfig-version $PKG_CONFIG_MIN_VERSION; then
13655 echo "$as_me:$LINENO: checking for glib-2.0 >= 2.4 gthread-2.0 >= 2.4" >&5
13656 echo $ECHO_N "checking for glib-2.0 >= 2.4 gthread-2.0 >= 2.4... $ECHO_C" >&6
13658 if $PKG_CONFIG --exists "glib-2.0 >= 2.4 gthread-2.0 >= 2.4" ; then
13659 echo "$as_me:$LINENO: result: yes" >&5
13660 echo "${ECHO_T}yes" >&6
13663 echo "$as_me:$LINENO: checking GLIB_CFLAGS" >&5
13664 echo $ECHO_N "checking GLIB_CFLAGS... $ECHO_C" >&6
13665 GLIB_CFLAGS
=`$PKG_CONFIG --cflags "glib-2.0 >= 2.4 gthread-2.0 >= 2.4"`
13666 echo "$as_me:$LINENO: result: $GLIB_CFLAGS" >&5
13667 echo "${ECHO_T}$GLIB_CFLAGS" >&6
13669 echo "$as_me:$LINENO: checking GLIB_LIBS" >&5
13670 echo $ECHO_N "checking GLIB_LIBS... $ECHO_C" >&6
13671 GLIB_LIBS
=`$PKG_CONFIG --libs "glib-2.0 >= 2.4 gthread-2.0 >= 2.4"`
13672 echo "$as_me:$LINENO: result: $GLIB_LIBS" >&5
13673 echo "${ECHO_T}$GLIB_LIBS" >&6
13677 ## If we have a custom action on failure, don't print errors, but
13678 ## do set a variable so people can do so.
13679 GLIB_PKG_ERRORS
=`$PKG_CONFIG --errors-to-stdout --print-errors "glib-2.0 >= 2.4 gthread-2.0 >= 2.4"`
13680 echo $GLIB_PKG_ERRORS
13686 echo "*** Your version of pkg-config is too old. You need version $PKG_CONFIG_MIN_VERSION or newer."
13687 echo "*** See http://www.freedesktop.org/software/pkgconfig"
13691 if test $succeeded = yes; then
13694 { { 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
13695 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;}
13696 { (exit 1); exit 1; }; }
13705 if test -z "$PKG_CONFIG"; then
13706 # Extract the first word of "pkg-config", so it can be a program name with args.
13707 set dummy pkg-config
; ac_word
=$2
13708 echo "$as_me:$LINENO: checking for $ac_word" >&5
13709 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
13710 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
13711 echo $ECHO_N "(cached) $ECHO_C" >&6
13713 case $PKG_CONFIG in
13715 ac_cv_path_PKG_CONFIG
="$PKG_CONFIG" # Let the user override the test with a path.
13718 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
13719 for as_dir
in $PATH
13722 test -z "$as_dir" && as_dir
=.
13723 for ac_exec_ext
in '' $ac_executable_extensions; do
13724 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
13725 ac_cv_path_PKG_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
13726 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
13732 test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG
="no"
13736 PKG_CONFIG
=$ac_cv_path_PKG_CONFIG
13738 if test -n "$PKG_CONFIG"; then
13739 echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
13740 echo "${ECHO_T}$PKG_CONFIG" >&6
13742 echo "$as_me:$LINENO: result: no" >&5
13743 echo "${ECHO_T}no" >&6
13748 if test "$PKG_CONFIG" = "no" ; then
13749 echo "*** The pkg-config script could not be found. Make sure it is"
13750 echo "*** in your path, or set the PKG_CONFIG environment variable"
13751 echo "*** to the full path to pkg-config."
13752 echo "*** Or see http://www.freedesktop.org/software/pkgconfig to get pkg-config."
13754 PKG_CONFIG_MIN_VERSION
=0.9.0
13755 if $PKG_CONFIG --atleast-pkgconfig-version $PKG_CONFIG_MIN_VERSION; then
13756 echo "$as_me:$LINENO: checking for libart-2.0 >= 2.1" >&5
13757 echo $ECHO_N "checking for libart-2.0 >= 2.1... $ECHO_C" >&6
13759 if $PKG_CONFIG --exists "libart-2.0 >= 2.1" ; then
13760 echo "$as_me:$LINENO: result: yes" >&5
13761 echo "${ECHO_T}yes" >&6
13764 echo "$as_me:$LINENO: checking LIBART_CFLAGS" >&5
13765 echo $ECHO_N "checking LIBART_CFLAGS... $ECHO_C" >&6
13766 LIBART_CFLAGS
=`$PKG_CONFIG --cflags "libart-2.0 >= 2.1"`
13767 echo "$as_me:$LINENO: result: $LIBART_CFLAGS" >&5
13768 echo "${ECHO_T}$LIBART_CFLAGS" >&6
13770 echo "$as_me:$LINENO: checking LIBART_LIBS" >&5
13771 echo $ECHO_N "checking LIBART_LIBS... $ECHO_C" >&6
13772 LIBART_LIBS
=`$PKG_CONFIG --libs "libart-2.0 >= 2.1"`
13773 echo "$as_me:$LINENO: result: $LIBART_LIBS" >&5
13774 echo "${ECHO_T}$LIBART_LIBS" >&6
13778 ## If we have a custom action on failure, don't print errors, but
13779 ## do set a variable so people can do so.
13780 LIBART_PKG_ERRORS
=`$PKG_CONFIG --errors-to-stdout --print-errors "libart-2.0 >= 2.1"`
13781 echo $LIBART_PKG_ERRORS
13787 echo "*** Your version of pkg-config is too old. You need version $PKG_CONFIG_MIN_VERSION or newer."
13788 echo "*** See http://www.freedesktop.org/software/pkgconfig"
13792 if test $succeeded = yes; then
13795 { { 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
13796 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;}
13797 { (exit 1); exit 1; }; }
13803 # We require the XTest Extension to support java.awt.Robot.
13804 echo "$as_me:$LINENO: checking for XTestQueryExtension in -lXtst" >&5
13805 echo $ECHO_N "checking for XTestQueryExtension in -lXtst... $ECHO_C" >&6
13806 if test "${ac_cv_lib_Xtst_XTestQueryExtension+set}" = set; then
13807 echo $ECHO_N "(cached) $ECHO_C" >&6
13809 ac_check_lib_save_LIBS
=$LIBS
13810 LIBS
="-lXtst ${X_LIBS} $LIBS"
13811 if test x
$gcc_no_link = xyes
; then
13812 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
13813 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
13814 { (exit 1); exit 1; }; }
13816 cat >conftest.
$ac_ext <<_ACEOF
13819 cat confdefs.h
>>conftest.
$ac_ext
13820 cat >>conftest.
$ac_ext <<_ACEOF
13821 /* end confdefs.h. */
13823 /* Override any gcc2 internal prototype to avoid an error. */
13827 /* We use char because int might match the return type of a gcc2
13828 builtin and then its argument prototype would still apply. */
13829 char XTestQueryExtension ();
13833 XTestQueryExtension ();
13838 rm -f conftest.
$ac_objext conftest
$ac_exeext
13839 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
13840 (eval $ac_link) 2>conftest.er1
13842 grep -v '^ *+' conftest.er1
>conftest.err
13844 cat conftest.err
>&5
13845 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13846 (exit $ac_status); } &&
13847 { ac_try
='test -z "$ac_c_werror_flag"
13848 || test ! -s conftest.err'
13849 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13850 (eval $ac_try) 2>&5
13852 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13853 (exit $ac_status); }; } &&
13854 { ac_try
='test -s conftest$ac_exeext'
13855 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13856 (eval $ac_try) 2>&5
13858 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13859 (exit $ac_status); }; }; then
13860 ac_cv_lib_Xtst_XTestQueryExtension
=yes
13862 echo "$as_me: failed program was:" >&5
13863 sed 's/^/| /' conftest.
$ac_ext >&5
13865 ac_cv_lib_Xtst_XTestQueryExtension
=no
13867 rm -f conftest.err conftest.
$ac_objext \
13868 conftest
$ac_exeext conftest.
$ac_ext
13869 LIBS
=$ac_check_lib_save_LIBS
13871 echo "$as_me:$LINENO: result: $ac_cv_lib_Xtst_XTestQueryExtension" >&5
13872 echo "${ECHO_T}$ac_cv_lib_Xtst_XTestQueryExtension" >&6
13873 if test $ac_cv_lib_Xtst_XTestQueryExtension = yes; then
13876 { { echo "$as_me:$LINENO: error: libXtst not found, required by java.awt.Robot" >&5
13877 echo "$as_me: error: libXtst not found, required by java.awt.Robot" >&2;}
13878 { (exit 1); exit 1; }; }
13883 # On Solaris, and maybe other architectures, the Boehm collector
13885 if test "$GC" = boehm
; then
13886 echo "$as_me:$LINENO: checking for main in -ldl" >&5
13887 echo $ECHO_N "checking for main in -ldl... $ECHO_C" >&6
13888 if test "${ac_cv_lib_dl_main+set}" = set; then
13889 echo $ECHO_N "(cached) $ECHO_C" >&6
13891 ac_check_lib_save_LIBS
=$LIBS
13893 if test x
$gcc_no_link = xyes
; then
13894 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
13895 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
13896 { (exit 1); exit 1; }; }
13898 cat >conftest.
$ac_ext <<_ACEOF
13901 cat confdefs.h
>>conftest.
$ac_ext
13902 cat >>conftest.
$ac_ext <<_ACEOF
13903 /* end confdefs.h. */
13914 rm -f conftest.
$ac_objext conftest
$ac_exeext
13915 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
13916 (eval $ac_link) 2>conftest.er1
13918 grep -v '^ *+' conftest.er1
>conftest.err
13920 cat conftest.err
>&5
13921 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13922 (exit $ac_status); } &&
13923 { ac_try
='test -z "$ac_c_werror_flag"
13924 || test ! -s conftest.err'
13925 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13926 (eval $ac_try) 2>&5
13928 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13929 (exit $ac_status); }; } &&
13930 { ac_try
='test -s conftest$ac_exeext'
13931 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13932 (eval $ac_try) 2>&5
13934 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13935 (exit $ac_status); }; }; then
13936 ac_cv_lib_dl_main
=yes
13938 echo "$as_me: failed program was:" >&5
13939 sed 's/^/| /' conftest.
$ac_ext >&5
13941 ac_cv_lib_dl_main
=no
13943 rm -f conftest.err conftest.
$ac_objext \
13944 conftest
$ac_exeext conftest.
$ac_ext
13945 LIBS
=$ac_check_lib_save_LIBS
13947 echo "$as_me:$LINENO: result: $ac_cv_lib_dl_main" >&5
13948 echo "${ECHO_T}$ac_cv_lib_dl_main" >&6
13949 if test $ac_cv_lib_dl_main = yes; then
13950 SYSTEMSPEC
="$SYSTEMSPEC -ldl"
13957 if test "$supply_backtrace" = yes; then
13958 SUPPLY_BACKTRACE_TRUE
=
13959 SUPPLY_BACKTRACE_FALSE
='#'
13961 SUPPLY_BACKTRACE_TRUE
='#'
13962 SUPPLY_BACKTRACE_FALSE
=
13966 # Use a semicolon as CLASSPATH separator for MinGW, otherwise a colon.
13968 *-mingw32) CLASSPATH_SEPARATOR
=';' ;;
13969 *) CLASSPATH_SEPARATOR
=':' ;;
13973 # We must search the source tree for java.lang, since we still don't
13974 # have libgcj.jar nor java/lang/*.class
13975 GCJ_SAVE_CPPFLAGS
=$CPPFLAGS
13976 CPPFLAGS
="$CPPFLAGS -I`${PWDCMD-pwd}` -I`cd $srcdir && ${PWDCMD-pwd}`"
13978 # Since some classes depend on this one, we need its source available
13979 # before we can do any GCJ compilation test :-(
13980 if test ! -f gnu
/classpath
/Configuration.java
; then
13981 test -d gnu || mkdir gnu
13982 test -d gnu
/classpath || mkdir gnu
/classpath
13983 # Note that it is not crucial that all the values here be correct.
13984 sed -e "s,@prefix@,$prefix," \
13985 -e "s,@VERSION@,$VERSION," \
13986 -e "s,@LIBDEBUG@,false," \
13987 -e "s,@INIT_LOAD_LIBRARY@,false," \
13988 -e "s,@@,$LIBGCJDEBUG," \
13989 -e "s,@default_toolkit@,$TOOLKIT," \
13990 -e "s,@JAVA_LANG_SYSTEM_EXPLICIT_INITIALIZATION@,false," \
13991 -e "s,@GTK_CAIRO_ENABLED@,false," \
13992 < $srcdir/classpath
/gnu
/classpath
/Configuration.java.
in \
13993 > gnu
/classpath
/Configuration.java
13994 # We do not want to redirect the output of the grep below to /dev/null,
13995 # but we add /dev/null to the input list so that grep will print the
13996 # filename of Configuration.java in case it finds any matches.
13997 if grep '@.*@' gnu
/classpath
/Configuration.java
/dev
/null
; then
13998 { { echo "$as_me:$LINENO: error: configure.ac is missing the substitutions above" >&5
13999 echo "$as_me: error: configure.ac is missing the substitutions above" >&2;}
14000 { (exit 1); exit 1; }; }
14004 if test -n "$ac_tool_prefix"; then
14005 # Extract the first word of "${ac_tool_prefix}gcj", so it can be a program name with args.
14006 set dummy
${ac_tool_prefix}gcj
; ac_word
=$2
14007 echo "$as_me:$LINENO: checking for $ac_word" >&5
14008 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
14009 if test "${ac_cv_prog_GCJ+set}" = set; then
14010 echo $ECHO_N "(cached) $ECHO_C" >&6
14012 if test -n "$GCJ"; then
14013 ac_cv_prog_GCJ
="$GCJ" # Let the user override the test.
14015 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
14016 for as_dir
in $PATH
14019 test -z "$as_dir" && as_dir
=.
14020 for ac_exec_ext
in '' $ac_executable_extensions; do
14021 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
14022 ac_cv_prog_GCJ
="${ac_tool_prefix}gcj"
14023 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
14031 GCJ
=$ac_cv_prog_GCJ
14032 if test -n "$GCJ"; then
14033 echo "$as_me:$LINENO: result: $GCJ" >&5
14034 echo "${ECHO_T}$GCJ" >&6
14036 echo "$as_me:$LINENO: result: no" >&5
14037 echo "${ECHO_T}no" >&6
14041 if test -z "$ac_cv_prog_GCJ"; then
14043 # Extract the first word of "gcj", so it can be a program name with args.
14044 set dummy gcj
; ac_word
=$2
14045 echo "$as_me:$LINENO: checking for $ac_word" >&5
14046 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
14047 if test "${ac_cv_prog_ac_ct_GCJ+set}" = set; then
14048 echo $ECHO_N "(cached) $ECHO_C" >&6
14050 if test -n "$ac_ct_GCJ"; then
14051 ac_cv_prog_ac_ct_GCJ
="$ac_ct_GCJ" # Let the user override the test.
14053 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
14054 for as_dir
in $PATH
14057 test -z "$as_dir" && as_dir
=.
14058 for ac_exec_ext
in '' $ac_executable_extensions; do
14059 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
14060 ac_cv_prog_ac_ct_GCJ
="gcj"
14061 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
14067 test -z "$ac_cv_prog_ac_ct_GCJ" && ac_cv_prog_ac_ct_GCJ
="no"
14070 ac_ct_GCJ
=$ac_cv_prog_ac_ct_GCJ
14071 if test -n "$ac_ct_GCJ"; then
14072 echo "$as_me:$LINENO: result: $ac_ct_GCJ" >&5
14073 echo "${ECHO_T}$ac_ct_GCJ" >&6
14075 echo "$as_me:$LINENO: result: no" >&5
14076 echo "${ECHO_T}no" >&6
14081 GCJ
="$ac_cv_prog_GCJ"
14084 test "x${GCJFLAGS+set}" = xset || GCJFLAGS
="-g -O2"
14090 rm -f gnu
/classpath
/Configuration.java
14092 CPPFLAGS
=$GCJ_SAVE_CPPFLAGS
14094 echo "$as_me:$LINENO: checking for void *" >&5
14095 echo $ECHO_N "checking for void *... $ECHO_C" >&6
14096 if test "${ac_cv_type_void_p+set}" = set; then
14097 echo $ECHO_N "(cached) $ECHO_C" >&6
14099 cat >conftest.
$ac_ext <<_ACEOF
14102 cat confdefs.h
>>conftest.
$ac_ext
14103 cat >>conftest.
$ac_ext <<_ACEOF
14104 /* end confdefs.h. */
14105 $ac_includes_default
14111 if (sizeof (void *))
14117 rm -f conftest.
$ac_objext
14118 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14119 (eval $ac_compile) 2>conftest.er1
14121 grep -v '^ *+' conftest.er1
>conftest.err
14123 cat conftest.err
>&5
14124 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14125 (exit $ac_status); } &&
14126 { ac_try
='test -z "$ac_c_werror_flag"
14127 || test ! -s conftest.err'
14128 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14129 (eval $ac_try) 2>&5
14131 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14132 (exit $ac_status); }; } &&
14133 { ac_try
='test -s conftest.$ac_objext'
14134 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14135 (eval $ac_try) 2>&5
14137 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14138 (exit $ac_status); }; }; then
14139 ac_cv_type_void_p
=yes
14141 echo "$as_me: failed program was:" >&5
14142 sed 's/^/| /' conftest.
$ac_ext >&5
14144 ac_cv_type_void_p
=no
14146 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
14148 echo "$as_me:$LINENO: result: $ac_cv_type_void_p" >&5
14149 echo "${ECHO_T}$ac_cv_type_void_p" >&6
14151 echo "$as_me:$LINENO: checking size of void *" >&5
14152 echo $ECHO_N "checking size of void *... $ECHO_C" >&6
14153 if test "${ac_cv_sizeof_void_p+set}" = set; then
14154 echo $ECHO_N "(cached) $ECHO_C" >&6
14156 if test "$ac_cv_type_void_p" = yes; then
14157 # The cast to unsigned long works around a bug in the HP C Compiler
14158 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
14159 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
14160 # This bug is HP SR number 8606223364.
14161 if test "$cross_compiling" = yes; then
14162 # Depending upon the size, compute the lo and hi bounds.
14163 cat >conftest.
$ac_ext <<_ACEOF
14166 cat confdefs.h
>>conftest.
$ac_ext
14167 cat >>conftest.
$ac_ext <<_ACEOF
14168 /* end confdefs.h. */
14169 $ac_includes_default
14173 static int test_array [1 - 2 * !(((long) (sizeof (void *))) >= 0)];
14180 rm -f conftest.
$ac_objext
14181 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14182 (eval $ac_compile) 2>conftest.er1
14184 grep -v '^ *+' conftest.er1
>conftest.err
14186 cat conftest.err
>&5
14187 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14188 (exit $ac_status); } &&
14189 { ac_try
='test -z "$ac_c_werror_flag"
14190 || test ! -s conftest.err'
14191 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14192 (eval $ac_try) 2>&5
14194 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14195 (exit $ac_status); }; } &&
14196 { ac_try
='test -s conftest.$ac_objext'
14197 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14198 (eval $ac_try) 2>&5
14200 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14201 (exit $ac_status); }; }; then
14204 cat >conftest.
$ac_ext <<_ACEOF
14207 cat confdefs.h
>>conftest.
$ac_ext
14208 cat >>conftest.
$ac_ext <<_ACEOF
14209 /* end confdefs.h. */
14210 $ac_includes_default
14214 static int test_array [1 - 2 * !(((long) (sizeof (void *))) <= $ac_mid)];
14221 rm -f conftest.
$ac_objext
14222 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14223 (eval $ac_compile) 2>conftest.er1
14225 grep -v '^ *+' conftest.er1
>conftest.err
14227 cat conftest.err
>&5
14228 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14229 (exit $ac_status); } &&
14230 { ac_try
='test -z "$ac_c_werror_flag"
14231 || test ! -s conftest.err'
14232 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14233 (eval $ac_try) 2>&5
14235 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14236 (exit $ac_status); }; } &&
14237 { ac_try
='test -s conftest.$ac_objext'
14238 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14239 (eval $ac_try) 2>&5
14241 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14242 (exit $ac_status); }; }; then
14243 ac_hi
=$ac_mid; break
14245 echo "$as_me: failed program was:" >&5
14246 sed 's/^/| /' conftest.
$ac_ext >&5
14248 ac_lo
=`expr $ac_mid + 1`
14249 if test $ac_lo -le $ac_mid; then
14253 ac_mid
=`expr 2 '*' $ac_mid + 1`
14255 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
14258 echo "$as_me: failed program was:" >&5
14259 sed 's/^/| /' conftest.
$ac_ext >&5
14261 cat >conftest.
$ac_ext <<_ACEOF
14264 cat confdefs.h
>>conftest.
$ac_ext
14265 cat >>conftest.
$ac_ext <<_ACEOF
14266 /* end confdefs.h. */
14267 $ac_includes_default
14271 static int test_array [1 - 2 * !(((long) (sizeof (void *))) < 0)];
14278 rm -f conftest.
$ac_objext
14279 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14280 (eval $ac_compile) 2>conftest.er1
14282 grep -v '^ *+' conftest.er1
>conftest.err
14284 cat conftest.err
>&5
14285 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14286 (exit $ac_status); } &&
14287 { ac_try
='test -z "$ac_c_werror_flag"
14288 || test ! -s conftest.err'
14289 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14290 (eval $ac_try) 2>&5
14292 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14293 (exit $ac_status); }; } &&
14294 { ac_try
='test -s conftest.$ac_objext'
14295 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14296 (eval $ac_try) 2>&5
14298 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14299 (exit $ac_status); }; }; then
14302 cat >conftest.
$ac_ext <<_ACEOF
14305 cat confdefs.h
>>conftest.
$ac_ext
14306 cat >>conftest.
$ac_ext <<_ACEOF
14307 /* end confdefs.h. */
14308 $ac_includes_default
14312 static int test_array [1 - 2 * !(((long) (sizeof (void *))) >= $ac_mid)];
14319 rm -f conftest.
$ac_objext
14320 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14321 (eval $ac_compile) 2>conftest.er1
14323 grep -v '^ *+' conftest.er1
>conftest.err
14325 cat conftest.err
>&5
14326 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14327 (exit $ac_status); } &&
14328 { ac_try
='test -z "$ac_c_werror_flag"
14329 || test ! -s conftest.err'
14330 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14331 (eval $ac_try) 2>&5
14333 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14334 (exit $ac_status); }; } &&
14335 { ac_try
='test -s conftest.$ac_objext'
14336 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14337 (eval $ac_try) 2>&5
14339 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14340 (exit $ac_status); }; }; then
14341 ac_lo
=$ac_mid; break
14343 echo "$as_me: failed program was:" >&5
14344 sed 's/^/| /' conftest.
$ac_ext >&5
14346 ac_hi
=`expr '(' $ac_mid ')' - 1`
14347 if test $ac_mid -le $ac_hi; then
14351 ac_mid
=`expr 2 '*' $ac_mid`
14353 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
14356 echo "$as_me: failed program was:" >&5
14357 sed 's/^/| /' conftest.
$ac_ext >&5
14361 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
14363 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
14364 # Binary search between lo and hi bounds.
14365 while test "x$ac_lo" != "x$ac_hi"; do
14366 ac_mid
=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
14367 cat >conftest.
$ac_ext <<_ACEOF
14370 cat confdefs.h
>>conftest.
$ac_ext
14371 cat >>conftest.
$ac_ext <<_ACEOF
14372 /* end confdefs.h. */
14373 $ac_includes_default
14377 static int test_array [1 - 2 * !(((long) (sizeof (void *))) <= $ac_mid)];
14384 rm -f conftest.
$ac_objext
14385 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14386 (eval $ac_compile) 2>conftest.er1
14388 grep -v '^ *+' conftest.er1
>conftest.err
14390 cat conftest.err
>&5
14391 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14392 (exit $ac_status); } &&
14393 { ac_try
='test -z "$ac_c_werror_flag"
14394 || test ! -s conftest.err'
14395 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14396 (eval $ac_try) 2>&5
14398 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14399 (exit $ac_status); }; } &&
14400 { ac_try
='test -s conftest.$ac_objext'
14401 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14402 (eval $ac_try) 2>&5
14404 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14405 (exit $ac_status); }; }; then
14408 echo "$as_me: failed program was:" >&5
14409 sed 's/^/| /' conftest.
$ac_ext >&5
14411 ac_lo
=`expr '(' $ac_mid ')' + 1`
14413 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
14416 ?
*) ac_cv_sizeof_void_p
=$ac_lo;;
14417 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (void *), 77
14418 See \`config.log' for more details." >&5
14419 echo "$as_me: error: cannot compute sizeof (void *), 77
14420 See \`config.log' for more details." >&2;}
14421 { (exit 1); exit 1; }; } ;;
14424 if test "$cross_compiling" = yes; then
14425 { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
14426 See \`config.log' for more details." >&5
14427 echo "$as_me: error: cannot run test program while cross compiling
14428 See \`config.log' for more details." >&2;}
14429 { (exit 1); exit 1; }; }
14431 cat >conftest.
$ac_ext <<_ACEOF
14434 cat confdefs.h
>>conftest.
$ac_ext
14435 cat >>conftest.
$ac_ext <<_ACEOF
14436 /* end confdefs.h. */
14437 $ac_includes_default
14438 long longval () { return (long) (sizeof (void *)); }
14439 unsigned long ulongval () { return (long) (sizeof (void *)); }
14441 #include <stdlib.h>
14446 FILE *f = fopen ("conftest.val", "w");
14449 if (((long) (sizeof (void *))) < 0)
14451 long i = longval ();
14452 if (i != ((long) (sizeof (void *))))
14454 fprintf (f, "%ld\n", i);
14458 unsigned long i = ulongval ();
14459 if (i != ((long) (sizeof (void *))))
14461 fprintf (f, "%lu\n", i);
14463 exit (ferror (f) || fclose (f) != 0);
14469 rm -f conftest
$ac_exeext
14470 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
14471 (eval $ac_link) 2>&5
14473 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14474 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
14475 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14476 (eval $ac_try) 2>&5
14478 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14479 (exit $ac_status); }; }; then
14480 ac_cv_sizeof_void_p
=`cat conftest.val`
14482 echo "$as_me: program exited with status $ac_status" >&5
14483 echo "$as_me: failed program was:" >&5
14484 sed 's/^/| /' conftest.
$ac_ext >&5
14486 ( exit $ac_status )
14487 { { echo "$as_me:$LINENO: error: cannot compute sizeof (void *), 77
14488 See \`config.log' for more details." >&5
14489 echo "$as_me: error: cannot compute sizeof (void *), 77
14490 See \`config.log' for more details." >&2;}
14491 { (exit 1); exit 1; }; }
14493 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
14498 ac_cv_sizeof_void_p
=0
14501 echo "$as_me:$LINENO: result: $ac_cv_sizeof_void_p" >&5
14502 echo "${ECHO_T}$ac_cv_sizeof_void_p" >&6
14503 cat >>confdefs.h
<<_ACEOF
14504 #define SIZEOF_VOID_P $ac_cv_sizeof_void_p
14509 echo "$as_me:$LINENO: checking whether byte ordering is bigendian" >&5
14510 echo $ECHO_N "checking whether byte ordering is bigendian... $ECHO_C" >&6
14511 if test "${ac_cv_c_bigendian+set}" = set; then
14512 echo $ECHO_N "(cached) $ECHO_C" >&6
14514 # See if sys/param.h defines the BYTE_ORDER macro.
14515 cat >conftest.
$ac_ext <<_ACEOF
14518 cat confdefs.h
>>conftest.
$ac_ext
14519 cat >>conftest.
$ac_ext <<_ACEOF
14520 /* end confdefs.h. */
14521 #include <sys/types.h>
14522 #include <sys/param.h>
14527 #if !BYTE_ORDER || !BIG_ENDIAN || !LITTLE_ENDIAN
14528 bogus endian macros
14535 rm -f conftest.
$ac_objext
14536 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14537 (eval $ac_compile) 2>conftest.er1
14539 grep -v '^ *+' conftest.er1
>conftest.err
14541 cat conftest.err
>&5
14542 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14543 (exit $ac_status); } &&
14544 { ac_try
='test -z "$ac_c_werror_flag"
14545 || test ! -s conftest.err'
14546 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14547 (eval $ac_try) 2>&5
14549 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14550 (exit $ac_status); }; } &&
14551 { ac_try
='test -s conftest.$ac_objext'
14552 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14553 (eval $ac_try) 2>&5
14555 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14556 (exit $ac_status); }; }; then
14557 # It does; now see whether it defined to BIG_ENDIAN or not.
14558 cat >conftest.
$ac_ext <<_ACEOF
14561 cat confdefs.h
>>conftest.
$ac_ext
14562 cat >>conftest.
$ac_ext <<_ACEOF
14563 /* end confdefs.h. */
14564 #include <sys/types.h>
14565 #include <sys/param.h>
14570 #if BYTE_ORDER != BIG_ENDIAN
14578 rm -f conftest.
$ac_objext
14579 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14580 (eval $ac_compile) 2>conftest.er1
14582 grep -v '^ *+' conftest.er1
>conftest.err
14584 cat conftest.err
>&5
14585 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14586 (exit $ac_status); } &&
14587 { ac_try
='test -z "$ac_c_werror_flag"
14588 || test ! -s conftest.err'
14589 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14590 (eval $ac_try) 2>&5
14592 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14593 (exit $ac_status); }; } &&
14594 { ac_try
='test -s conftest.$ac_objext'
14595 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14596 (eval $ac_try) 2>&5
14598 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14599 (exit $ac_status); }; }; then
14600 ac_cv_c_bigendian
=yes
14602 echo "$as_me: failed program was:" >&5
14603 sed 's/^/| /' conftest.
$ac_ext >&5
14605 ac_cv_c_bigendian
=no
14607 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
14609 echo "$as_me: failed program was:" >&5
14610 sed 's/^/| /' conftest.
$ac_ext >&5
14612 # It does not; compile a test program.
14613 if test "$cross_compiling" = yes; then
14614 # try to guess the endianness by grepping values into an object file
14615 ac_cv_c_bigendian
=unknown
14616 cat >conftest.
$ac_ext <<_ACEOF
14619 cat confdefs.h
>>conftest.
$ac_ext
14620 cat >>conftest.
$ac_ext <<_ACEOF
14621 /* end confdefs.h. */
14622 short ascii_mm[] = { 0x4249, 0x4765, 0x6E44, 0x6961, 0x6E53, 0x7953, 0 };
14623 short ascii_ii[] = { 0x694C, 0x5454, 0x656C, 0x6E45, 0x6944, 0x6E61, 0 };
14624 void _ascii () { char *s = (char *) ascii_mm; s = (char *) ascii_ii; }
14625 short ebcdic_ii[] = { 0x89D3, 0xE3E3, 0x8593, 0x95C5, 0x89C4, 0x9581, 0 };
14626 short ebcdic_mm[] = { 0xC2C9, 0xC785, 0x95C4, 0x8981, 0x95E2, 0xA8E2, 0 };
14627 void _ebcdic () { char *s = (char *) ebcdic_mm; s = (char *) ebcdic_ii; }
14631 _ascii (); _ebcdic ();
14636 rm -f conftest.
$ac_objext
14637 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14638 (eval $ac_compile) 2>conftest.er1
14640 grep -v '^ *+' conftest.er1
>conftest.err
14642 cat conftest.err
>&5
14643 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14644 (exit $ac_status); } &&
14645 { ac_try
='test -z "$ac_c_werror_flag"
14646 || test ! -s conftest.err'
14647 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14648 (eval $ac_try) 2>&5
14650 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14651 (exit $ac_status); }; } &&
14652 { ac_try
='test -s conftest.$ac_objext'
14653 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14654 (eval $ac_try) 2>&5
14656 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14657 (exit $ac_status); }; }; then
14658 if grep BIGenDianSyS conftest.
$ac_objext >/dev
/null
; then
14659 ac_cv_c_bigendian
=yes
14661 if grep LiTTleEnDian conftest.
$ac_objext >/dev
/null
; then
14662 if test "$ac_cv_c_bigendian" = unknown
; then
14663 ac_cv_c_bigendian
=no
14665 # finding both strings is unlikely to happen, but who knows?
14666 ac_cv_c_bigendian
=unknown
14670 echo "$as_me: failed program was:" >&5
14671 sed 's/^/| /' conftest.
$ac_ext >&5
14674 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
14676 cat >conftest.
$ac_ext <<_ACEOF
14679 cat confdefs.h
>>conftest.
$ac_ext
14680 cat >>conftest.
$ac_ext <<_ACEOF
14681 /* end confdefs.h. */
14685 /* Are we little or big endian? From Harbison&Steele. */
14689 char c[sizeof (long)];
14692 exit (u.c[sizeof (long) - 1] == 1);
14695 rm -f conftest
$ac_exeext
14696 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
14697 (eval $ac_link) 2>&5
14699 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14700 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
14701 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14702 (eval $ac_try) 2>&5
14704 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14705 (exit $ac_status); }; }; then
14706 ac_cv_c_bigendian
=no
14708 echo "$as_me: program exited with status $ac_status" >&5
14709 echo "$as_me: failed program was:" >&5
14710 sed 's/^/| /' conftest.
$ac_ext >&5
14712 ( exit $ac_status )
14713 ac_cv_c_bigendian
=yes
14715 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
14718 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
14720 echo "$as_me:$LINENO: result: $ac_cv_c_bigendian" >&5
14721 echo "${ECHO_T}$ac_cv_c_bigendian" >&6
14722 case $ac_cv_c_bigendian in
14725 cat >>confdefs.h
<<\_ACEOF
14726 #define WORDS_BIGENDIAN 1
14732 { { echo "$as_me:$LINENO: error: unknown endianness
14733 presetting ac_cv_c_bigendian=no (or yes) will help" >&5
14734 echo "$as_me: error: unknown endianness
14735 presetting ac_cv_c_bigendian=no (or yes) will help" >&2;}
14736 { (exit 1); exit 1; }; } ;;
14744 if test -z "$ZLIBSPEC"; then
14745 # Use zlib from the GCC tree.
14746 ZINCS
='-I$(top_srcdir)/../zlib'
14747 ZLIBS
=..
/zlib
/libzgcj_convenience.la
14750 SYS_ZLIBS
="$ZLIBSPEC"
14763 if test "$NATIVE" = yes; then
14773 if test "$NEEDS_DATA_START" = yes && test "$NATIVE" = yes; then
14774 NEEDS_DATA_START_TRUE
=
14775 NEEDS_DATA_START_FALSE
='#'
14777 NEEDS_DATA_START_TRUE
='#'
14778 NEEDS_DATA_START_FALSE
=
14783 # Process the option "--enable-version-specific-runtime-libs"
14784 # Calculate toolexeclibdir
14785 case ${version_specific_libs} in
14787 # Need the gcc compiler version to know where to install libraries
14788 # and header files if --enable-version-specific-runtime-libs option
14790 includedir
='$(libdir)/gcc/$(target_noncanonical)/$(gcc_version)/include/'
14791 toolexecdir
='$(libdir)/gcc/$(target_noncanonical)'
14792 toolexecmainlibdir
='$(toolexecdir)/$(gcc_version)$(MULTISUBDIR)'
14793 toolexeclibdir
=$toolexecmainlibdir
14796 if test -n "$with_cross_host" &&
14797 test x
"$with_cross_host" != x
"no"; then
14798 # Install a library built with a cross compiler in tooldir, not libdir.
14799 toolexecdir
='$(exec_prefix)/$(target_noncanonical)'
14800 toolexecmainlibdir
='$(toolexecdir)/lib'
14802 toolexecdir
='$(libdir)/gcc-lib/$(target_noncanonical)'
14803 toolexecmainlibdir
='$(libdir)'
14805 multi_os_directory
=`$CC -print-multi-os-directory`
14806 case $multi_os_directory in
14807 .
) toolexeclibdir
=$toolexecmainlibdir ;; # Avoid trailing /.
14808 *) toolexeclibdir
=$toolexecmainlibdir/$multi_os_directory ;;
14816 # Determine gcj version number.
14817 gcjversion
=`$GCJ -v 2>&1 | sed -n 's/^.*version \([^ ]*\).*$/\1/p'`
14818 GCJVERSION
=$gcjversion
14821 cat >>confdefs.h
<<_ACEOF
14822 #define GCJVERSION "$GCJVERSION"
14827 cat >>confdefs.h
<<\_ACEOF
14828 #define JV_VERSION "1.4.2"
14832 cat >>confdefs.h
<<\_ACEOF
14833 #define JV_API_VERSION "1.4"
14838 case "${with_gxx_include_dir}" in
14840 { { echo "$as_me:$LINENO: error: --with-gxx-include-dir=[dir] requires a directory" >&5
14841 echo "$as_me: error: --with-gxx-include-dir=[dir] requires a directory" >&2;}
14842 { (exit 1); exit 1; }; }
14845 case "${enable_version_specific_runtime_libs}" in
14846 yes) gxx_include_dir
='$(libsubdir)/include/c++' ;;
14848 libstdcxx_incdir
='c++/$(gcc_version)'
14849 gxx_include_dir
='$(prefix)/include/$(libstdcxx_incdir)' ;;
14851 *) gxx_include_dir
=${with_gxx_include_dir} ;;
14857 # We check for sys/filio.h because Solaris 2.5 defines FIONREAD there.
14858 # On that system, sys/ioctl.h will not include sys/filio.h unless
14859 # BSD_COMP is defined; just including sys/filio.h is simpler.
14860 # We avoid AC_HEADER_DIRENT since we really only care about dirent.h
14861 # for now. If you change this, you also must update natFile.cc.
14882 for ac_header
in unistd.h bstring.h sys
/time.h sys
/types.h fcntl.h \
14883 sys
/ioctl.h sys
/filio.h sys
/stat.h sys
/select.h \
14884 sys
/socket.h netinet
/in.h arpa
/inet.h netdb.h net
/if.h \
14885 pwd.h sys
/config.h stdint.h langinfo.h locale.h \
14888 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
14889 if eval "test \"\${$as_ac_Header+set}\" = set"; then
14890 echo "$as_me:$LINENO: checking for $ac_header" >&5
14891 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
14892 if eval "test \"\${$as_ac_Header+set}\" = set"; then
14893 echo $ECHO_N "(cached) $ECHO_C" >&6
14895 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
14896 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
14898 # Is the header compilable?
14899 echo "$as_me:$LINENO: checking $ac_header usability" >&5
14900 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
14901 cat >conftest.
$ac_ext <<_ACEOF
14904 cat confdefs.h
>>conftest.
$ac_ext
14905 cat >>conftest.
$ac_ext <<_ACEOF
14906 /* end confdefs.h. */
14907 $ac_includes_default
14908 #include <$ac_header>
14910 rm -f conftest.
$ac_objext
14911 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14912 (eval $ac_compile) 2>conftest.er1
14914 grep -v '^ *+' conftest.er1
>conftest.err
14916 cat conftest.err
>&5
14917 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14918 (exit $ac_status); } &&
14919 { ac_try
='test -z "$ac_c_werror_flag"
14920 || test ! -s conftest.err'
14921 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14922 (eval $ac_try) 2>&5
14924 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14925 (exit $ac_status); }; } &&
14926 { ac_try
='test -s conftest.$ac_objext'
14927 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14928 (eval $ac_try) 2>&5
14930 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14931 (exit $ac_status); }; }; then
14932 ac_header_compiler
=yes
14934 echo "$as_me: failed program was:" >&5
14935 sed 's/^/| /' conftest.
$ac_ext >&5
14937 ac_header_compiler
=no
14939 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
14940 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
14941 echo "${ECHO_T}$ac_header_compiler" >&6
14943 # Is the header present?
14944 echo "$as_me:$LINENO: checking $ac_header presence" >&5
14945 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
14946 cat >conftest.
$ac_ext <<_ACEOF
14949 cat confdefs.h
>>conftest.
$ac_ext
14950 cat >>conftest.
$ac_ext <<_ACEOF
14951 /* end confdefs.h. */
14952 #include <$ac_header>
14954 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
14955 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
14957 grep -v '^ *+' conftest.er1
>conftest.err
14959 cat conftest.err
>&5
14960 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14961 (exit $ac_status); } >/dev
/null
; then
14962 if test -s conftest.err
; then
14963 ac_cpp_err
=$ac_c_preproc_warn_flag
14964 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
14971 if test -z "$ac_cpp_err"; then
14972 ac_header_preproc
=yes
14974 echo "$as_me: failed program was:" >&5
14975 sed 's/^/| /' conftest.
$ac_ext >&5
14977 ac_header_preproc
=no
14979 rm -f conftest.err conftest.
$ac_ext
14980 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
14981 echo "${ECHO_T}$ac_header_preproc" >&6
14983 # So? What about this header?
14984 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
14986 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
14987 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
14988 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
14989 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
14990 ac_header_preproc
=yes
14993 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
14994 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
14995 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
14996 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
14997 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
14998 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
14999 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
15000 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
15001 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
15002 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
15003 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
15004 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
15007 ## ---------------------------------- ##
15008 ## Report this to the libjava lists. ##
15009 ## ---------------------------------- ##
15012 sed "s/^/$as_me: WARNING: /" >&2
15015 echo "$as_me:$LINENO: checking for $ac_header" >&5
15016 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
15017 if eval "test \"\${$as_ac_Header+set}\" = set"; then
15018 echo $ECHO_N "(cached) $ECHO_C" >&6
15020 eval "$as_ac_Header=\$ac_header_preproc"
15022 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
15023 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
15026 if test `eval echo '${'$as_ac_Header'}'` = yes; then
15027 cat >>confdefs.h
<<_ACEOF
15028 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
15036 for ac_header
in inttypes.h
15038 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
15039 if eval "test \"\${$as_ac_Header+set}\" = set"; then
15040 echo "$as_me:$LINENO: checking for $ac_header" >&5
15041 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
15042 if eval "test \"\${$as_ac_Header+set}\" = set"; then
15043 echo $ECHO_N "(cached) $ECHO_C" >&6
15045 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
15046 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
15048 # Is the header compilable?
15049 echo "$as_me:$LINENO: checking $ac_header usability" >&5
15050 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
15051 cat >conftest.
$ac_ext <<_ACEOF
15054 cat confdefs.h
>>conftest.
$ac_ext
15055 cat >>conftest.
$ac_ext <<_ACEOF
15056 /* end confdefs.h. */
15057 $ac_includes_default
15058 #include <$ac_header>
15060 rm -f conftest.
$ac_objext
15061 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15062 (eval $ac_compile) 2>conftest.er1
15064 grep -v '^ *+' conftest.er1
>conftest.err
15066 cat conftest.err
>&5
15067 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15068 (exit $ac_status); } &&
15069 { ac_try
='test -z "$ac_c_werror_flag"
15070 || test ! -s conftest.err'
15071 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15072 (eval $ac_try) 2>&5
15074 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15075 (exit $ac_status); }; } &&
15076 { ac_try
='test -s conftest.$ac_objext'
15077 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15078 (eval $ac_try) 2>&5
15080 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15081 (exit $ac_status); }; }; then
15082 ac_header_compiler
=yes
15084 echo "$as_me: failed program was:" >&5
15085 sed 's/^/| /' conftest.
$ac_ext >&5
15087 ac_header_compiler
=no
15089 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
15090 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
15091 echo "${ECHO_T}$ac_header_compiler" >&6
15093 # Is the header present?
15094 echo "$as_me:$LINENO: checking $ac_header presence" >&5
15095 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
15096 cat >conftest.
$ac_ext <<_ACEOF
15099 cat confdefs.h
>>conftest.
$ac_ext
15100 cat >>conftest.
$ac_ext <<_ACEOF
15101 /* end confdefs.h. */
15102 #include <$ac_header>
15104 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
15105 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
15107 grep -v '^ *+' conftest.er1
>conftest.err
15109 cat conftest.err
>&5
15110 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15111 (exit $ac_status); } >/dev
/null
; then
15112 if test -s conftest.err
; then
15113 ac_cpp_err
=$ac_c_preproc_warn_flag
15114 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
15121 if test -z "$ac_cpp_err"; then
15122 ac_header_preproc
=yes
15124 echo "$as_me: failed program was:" >&5
15125 sed 's/^/| /' conftest.
$ac_ext >&5
15127 ac_header_preproc
=no
15129 rm -f conftest.err conftest.
$ac_ext
15130 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
15131 echo "${ECHO_T}$ac_header_preproc" >&6
15133 # So? What about this header?
15134 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
15136 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
15137 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
15138 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
15139 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
15140 ac_header_preproc
=yes
15143 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
15144 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
15145 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
15146 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
15147 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
15148 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
15149 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
15150 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
15151 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
15152 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
15153 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
15154 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
15157 ## ---------------------------------- ##
15158 ## Report this to the libjava lists. ##
15159 ## ---------------------------------- ##
15162 sed "s/^/$as_me: WARNING: /" >&2
15165 echo "$as_me:$LINENO: checking for $ac_header" >&5
15166 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
15167 if eval "test \"\${$as_ac_Header+set}\" = set"; then
15168 echo $ECHO_N "(cached) $ECHO_C" >&6
15170 eval "$as_ac_Header=\$ac_header_preproc"
15172 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
15173 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
15176 if test `eval echo '${'$as_ac_Header'}'` = yes; then
15177 cat >>confdefs.h
<<_ACEOF
15178 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
15182 cat >>confdefs.h
<<\_ACEOF
15183 #define HAVE_INTTYPES_H 1
15187 cat >>confdefs.h
<<\_ACEOF
15188 #define JV_HAVE_INTTYPES_H 1
15196 echo "$as_me:$LINENO: checking for sys/wait.h that is POSIX.1 compatible" >&5
15197 echo $ECHO_N "checking for sys/wait.h that is POSIX.1 compatible... $ECHO_C" >&6
15198 if test "${ac_cv_header_sys_wait_h+set}" = set; then
15199 echo $ECHO_N "(cached) $ECHO_C" >&6
15201 cat >conftest.
$ac_ext <<_ACEOF
15204 cat confdefs.h
>>conftest.
$ac_ext
15205 cat >>conftest.
$ac_ext <<_ACEOF
15206 /* end confdefs.h. */
15207 #include <sys/types.h>
15208 #include <sys/wait.h>
15209 #ifndef WEXITSTATUS
15210 # define WEXITSTATUS(stat_val) ((unsigned)(stat_val) >> 8)
15213 # define WIFEXITED(stat_val) (((stat_val) & 255) == 0)
15221 s = WIFEXITED (s) ? WEXITSTATUS (s) : 1;
15226 rm -f conftest.
$ac_objext
15227 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15228 (eval $ac_compile) 2>conftest.er1
15230 grep -v '^ *+' conftest.er1
>conftest.err
15232 cat conftest.err
>&5
15233 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15234 (exit $ac_status); } &&
15235 { ac_try
='test -z "$ac_c_werror_flag"
15236 || test ! -s conftest.err'
15237 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15238 (eval $ac_try) 2>&5
15240 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15241 (exit $ac_status); }; } &&
15242 { ac_try
='test -s conftest.$ac_objext'
15243 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15244 (eval $ac_try) 2>&5
15246 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15247 (exit $ac_status); }; }; then
15248 ac_cv_header_sys_wait_h
=yes
15250 echo "$as_me: failed program was:" >&5
15251 sed 's/^/| /' conftest.
$ac_ext >&5
15253 ac_cv_header_sys_wait_h
=no
15255 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
15257 echo "$as_me:$LINENO: result: $ac_cv_header_sys_wait_h" >&5
15258 echo "${ECHO_T}$ac_cv_header_sys_wait_h" >&6
15259 if test $ac_cv_header_sys_wait_h = yes; then
15261 cat >>confdefs.h
<<\_ACEOF
15262 #define HAVE_SYS_WAIT_H 1
15268 echo "$as_me:$LINENO: checking for ssize_t" >&5
15269 echo $ECHO_N "checking for ssize_t... $ECHO_C" >&6
15270 if test "${ac_cv_type_ssize_t+set}" = set; then
15271 echo $ECHO_N "(cached) $ECHO_C" >&6
15273 cat >conftest.
$ac_ext <<_ACEOF
15276 cat confdefs.h
>>conftest.
$ac_ext
15277 cat >>conftest.
$ac_ext <<_ACEOF
15278 /* end confdefs.h. */
15279 $ac_includes_default
15285 if (sizeof (ssize_t))
15291 rm -f conftest.
$ac_objext
15292 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15293 (eval $ac_compile) 2>conftest.er1
15295 grep -v '^ *+' conftest.er1
>conftest.err
15297 cat conftest.err
>&5
15298 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15299 (exit $ac_status); } &&
15300 { ac_try
='test -z "$ac_c_werror_flag"
15301 || test ! -s conftest.err'
15302 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15303 (eval $ac_try) 2>&5
15305 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15306 (exit $ac_status); }; } &&
15307 { ac_try
='test -s conftest.$ac_objext'
15308 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15309 (eval $ac_try) 2>&5
15311 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15312 (exit $ac_status); }; }; then
15313 ac_cv_type_ssize_t
=yes
15315 echo "$as_me: failed program was:" >&5
15316 sed 's/^/| /' conftest.
$ac_ext >&5
15318 ac_cv_type_ssize_t
=no
15320 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
15322 echo "$as_me:$LINENO: result: $ac_cv_type_ssize_t" >&5
15323 echo "${ECHO_T}$ac_cv_type_ssize_t" >&6
15324 if test $ac_cv_type_ssize_t = yes; then
15328 cat >>confdefs.h
<<_ACEOF
15329 #define ssize_t int
15335 echo "$as_me:$LINENO: checking for in_addr_t" >&5
15336 echo $ECHO_N "checking for in_addr_t... $ECHO_C" >&6
15337 cat >conftest.
$ac_ext <<_ACEOF
15340 cat confdefs.h
>>conftest.
$ac_ext
15341 cat >>conftest.
$ac_ext <<_ACEOF
15342 /* end confdefs.h. */
15343 #include <sys/types.h>
15345 #include <stdlib.h>
15346 #include <stddef.h>
15348 #if HAVE_NETINET_IN_H
15349 #include <netinet/in.h>
15359 rm -f conftest.
$ac_objext
15360 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15361 (eval $ac_compile) 2>conftest.er1
15363 grep -v '^ *+' conftest.er1
>conftest.err
15365 cat conftest.err
>&5
15366 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15367 (exit $ac_status); } &&
15368 { ac_try
='test -z "$ac_c_werror_flag"
15369 || test ! -s conftest.err'
15370 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15371 (eval $ac_try) 2>&5
15373 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15374 (exit $ac_status); }; } &&
15375 { ac_try
='test -s conftest.$ac_objext'
15376 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15377 (eval $ac_try) 2>&5
15379 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15380 (exit $ac_status); }; }; then
15382 cat >>confdefs.h
<<\_ACEOF
15383 #define HAVE_IN_ADDR_T 1
15386 echo "$as_me:$LINENO: result: yes" >&5
15387 echo "${ECHO_T}yes" >&6
15389 echo "$as_me: failed program was:" >&5
15390 sed 's/^/| /' conftest.
$ac_ext >&5
15392 echo "$as_me:$LINENO: result: no" >&5
15393 echo "${ECHO_T}no" >&6
15395 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
15397 echo "$as_me:$LINENO: checking whether struct ip_mreq is in netinet/in.h" >&5
15398 echo $ECHO_N "checking whether struct ip_mreq is in netinet/in.h... $ECHO_C" >&6
15399 cat >conftest.
$ac_ext <<_ACEOF
15402 cat confdefs.h
>>conftest.
$ac_ext
15403 cat >>conftest.
$ac_ext <<_ACEOF
15404 /* end confdefs.h. */
15405 #include <netinet/in.h>
15409 struct ip_mreq mreq;
15414 rm -f conftest.
$ac_objext
15415 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15416 (eval $ac_compile) 2>conftest.er1
15418 grep -v '^ *+' conftest.er1
>conftest.err
15420 cat conftest.err
>&5
15421 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15422 (exit $ac_status); } &&
15423 { ac_try
='test -z "$ac_c_werror_flag"
15424 || test ! -s conftest.err'
15425 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15426 (eval $ac_try) 2>&5
15428 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15429 (exit $ac_status); }; } &&
15430 { ac_try
='test -s conftest.$ac_objext'
15431 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15432 (eval $ac_try) 2>&5
15434 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15435 (exit $ac_status); }; }; then
15437 cat >>confdefs.h
<<\_ACEOF
15438 #define HAVE_STRUCT_IP_MREQ 1
15441 echo "$as_me:$LINENO: result: yes" >&5
15442 echo "${ECHO_T}yes" >&6
15444 echo "$as_me: failed program was:" >&5
15445 sed 's/^/| /' conftest.
$ac_ext >&5
15447 echo "$as_me:$LINENO: result: no" >&5
15448 echo "${ECHO_T}no" >&6
15450 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
15452 echo "$as_me:$LINENO: checking whether struct ipv6_mreq is in netinet/in.h" >&5
15453 echo $ECHO_N "checking whether struct ipv6_mreq is in netinet/in.h... $ECHO_C" >&6
15454 cat >conftest.
$ac_ext <<_ACEOF
15457 cat confdefs.h
>>conftest.
$ac_ext
15458 cat >>conftest.
$ac_ext <<_ACEOF
15459 /* end confdefs.h. */
15460 #include <netinet/in.h>
15464 struct ipv6_mreq mreq6;
15469 rm -f conftest.
$ac_objext
15470 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15471 (eval $ac_compile) 2>conftest.er1
15473 grep -v '^ *+' conftest.er1
>conftest.err
15475 cat conftest.err
>&5
15476 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15477 (exit $ac_status); } &&
15478 { ac_try
='test -z "$ac_c_werror_flag"
15479 || test ! -s conftest.err'
15480 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15481 (eval $ac_try) 2>&5
15483 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15484 (exit $ac_status); }; } &&
15485 { ac_try
='test -s conftest.$ac_objext'
15486 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15487 (eval $ac_try) 2>&5
15489 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15490 (exit $ac_status); }; }; then
15492 cat >>confdefs.h
<<\_ACEOF
15493 #define HAVE_STRUCT_IPV6_MREQ 1
15496 echo "$as_me:$LINENO: result: yes" >&5
15497 echo "${ECHO_T}yes" >&6
15499 echo "$as_me: failed program was:" >&5
15500 sed 's/^/| /' conftest.
$ac_ext >&5
15502 echo "$as_me:$LINENO: result: no" >&5
15503 echo "${ECHO_T}no" >&6
15505 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
15507 echo "$as_me:$LINENO: checking whether struct sockaddr_in6 is in netinet/in.h" >&5
15508 echo $ECHO_N "checking whether struct sockaddr_in6 is in netinet/in.h... $ECHO_C" >&6
15509 cat >conftest.
$ac_ext <<_ACEOF
15512 cat confdefs.h
>>conftest.
$ac_ext
15513 cat >>conftest.
$ac_ext <<_ACEOF
15514 /* end confdefs.h. */
15515 #include <netinet/in.h>
15519 struct sockaddr_in6 addr6;
15524 rm -f conftest.
$ac_objext
15525 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15526 (eval $ac_compile) 2>conftest.er1
15528 grep -v '^ *+' conftest.er1
>conftest.err
15530 cat conftest.err
>&5
15531 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15532 (exit $ac_status); } &&
15533 { ac_try
='test -z "$ac_c_werror_flag"
15534 || test ! -s conftest.err'
15535 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15536 (eval $ac_try) 2>&5
15538 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15539 (exit $ac_status); }; } &&
15540 { ac_try
='test -s conftest.$ac_objext'
15541 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15542 (eval $ac_try) 2>&5
15544 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15545 (exit $ac_status); }; }; then
15547 cat >>confdefs.h
<<\_ACEOF
15548 #define HAVE_INET6 1
15551 echo "$as_me:$LINENO: result: yes" >&5
15552 echo "${ECHO_T}yes" >&6
15554 echo "$as_me: failed program was:" >&5
15555 sed 's/^/| /' conftest.
$ac_ext >&5
15557 echo "$as_me:$LINENO: result: no" >&5
15558 echo "${ECHO_T}no" >&6
15560 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
15562 echo "$as_me:$LINENO: checking for socklen_t in sys/socket.h" >&5
15563 echo $ECHO_N "checking for socklen_t in sys/socket.h... $ECHO_C" >&6
15564 cat >conftest.
$ac_ext <<_ACEOF
15567 cat confdefs.h
>>conftest.
$ac_ext
15568 cat >>conftest.
$ac_ext <<_ACEOF
15569 /* end confdefs.h. */
15570 #define _POSIX_PII_SOCKET
15571 #include <sys/types.h>
15572 #include <sys/socket.h>
15581 rm -f conftest.
$ac_objext
15582 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15583 (eval $ac_compile) 2>conftest.er1
15585 grep -v '^ *+' conftest.er1
>conftest.err
15587 cat conftest.err
>&5
15588 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15589 (exit $ac_status); } &&
15590 { ac_try
='test -z "$ac_c_werror_flag"
15591 || test ! -s conftest.err'
15592 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15593 (eval $ac_try) 2>&5
15595 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15596 (exit $ac_status); }; } &&
15597 { ac_try
='test -s conftest.$ac_objext'
15598 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15599 (eval $ac_try) 2>&5
15601 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15602 (exit $ac_status); }; }; then
15604 cat >>confdefs.h
<<\_ACEOF
15605 #define HAVE_SOCKLEN_T 1
15608 echo "$as_me:$LINENO: result: yes" >&5
15609 echo "${ECHO_T}yes" >&6
15611 echo "$as_me: failed program was:" >&5
15612 sed 's/^/| /' conftest.
$ac_ext >&5
15614 echo "$as_me:$LINENO: result: no" >&5
15615 echo "${ECHO_T}no" >&6
15617 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
15619 echo "$as_me:$LINENO: checking for tm_gmtoff in struct tm" >&5
15620 echo $ECHO_N "checking for tm_gmtoff in struct tm... $ECHO_C" >&6
15621 cat >conftest.
$ac_ext <<_ACEOF
15624 cat confdefs.h
>>conftest.
$ac_ext
15625 cat >>conftest.
$ac_ext <<_ACEOF
15626 /* end confdefs.h. */
15631 struct tm tim; tim.tm_gmtoff = 0;
15636 rm -f conftest.
$ac_objext
15637 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15638 (eval $ac_compile) 2>conftest.er1
15640 grep -v '^ *+' conftest.er1
>conftest.err
15642 cat conftest.err
>&5
15643 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15644 (exit $ac_status); } &&
15645 { ac_try
='test -z "$ac_c_werror_flag"
15646 || test ! -s conftest.err'
15647 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15648 (eval $ac_try) 2>&5
15650 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15651 (exit $ac_status); }; } &&
15652 { ac_try
='test -s conftest.$ac_objext'
15653 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15654 (eval $ac_try) 2>&5
15656 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15657 (exit $ac_status); }; }; then
15659 cat >>confdefs.h
<<\_ACEOF
15660 #define STRUCT_TM_HAS_GMTOFF 1
15663 echo "$as_me:$LINENO: result: yes" >&5
15664 echo "${ECHO_T}yes" >&6
15666 echo "$as_me: failed program was:" >&5
15667 sed 's/^/| /' conftest.
$ac_ext >&5
15669 echo "$as_me:$LINENO: result: no" >&5
15670 echo "${ECHO_T}no" >&6
15671 echo "$as_me:$LINENO: checking for global timezone variable" >&5
15672 echo $ECHO_N "checking for global timezone variable... $ECHO_C" >&6
15673 cat >conftest.
$ac_ext <<_ACEOF
15676 cat confdefs.h
>>conftest.
$ac_ext
15677 cat >>conftest.
$ac_ext <<_ACEOF
15678 /* end confdefs.h. */
15683 void i(){long z2 = 2*timezone;}
15688 rm -f conftest.
$ac_objext
15689 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15690 (eval $ac_compile) 2>conftest.er1
15692 grep -v '^ *+' conftest.er1
>conftest.err
15694 cat conftest.err
>&5
15695 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15696 (exit $ac_status); } &&
15697 { ac_try
='test -z "$ac_c_werror_flag"
15698 || test ! -s conftest.err'
15699 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15700 (eval $ac_try) 2>&5
15702 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15703 (exit $ac_status); }; } &&
15704 { ac_try
='test -s conftest.$ac_objext'
15705 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15706 (eval $ac_try) 2>&5
15708 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15709 (exit $ac_status); }; }; then
15711 cat >>confdefs.h
<<\_ACEOF
15712 #define HAVE_TIMEZONE 1
15715 echo "$as_me:$LINENO: result: yes" >&5
15716 echo "${ECHO_T}yes" >&6
15718 echo "$as_me: failed program was:" >&5
15719 sed 's/^/| /' conftest.
$ac_ext >&5
15721 echo "$as_me:$LINENO: result: no" >&5
15722 echo "${ECHO_T}no" >&6
15723 echo "$as_me:$LINENO: checking for global _timezone variable" >&5
15724 echo $ECHO_N "checking for global _timezone variable... $ECHO_C" >&6
15725 cat >conftest.
$ac_ext <<_ACEOF
15728 cat confdefs.h
>>conftest.
$ac_ext
15729 cat >>conftest.
$ac_ext <<_ACEOF
15730 /* end confdefs.h. */
15735 long z2 = _timezone;
15740 rm -f conftest.
$ac_objext
15741 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15742 (eval $ac_compile) 2>conftest.er1
15744 grep -v '^ *+' conftest.er1
>conftest.err
15746 cat conftest.err
>&5
15747 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15748 (exit $ac_status); } &&
15749 { ac_try
='test -z "$ac_c_werror_flag"
15750 || test ! -s conftest.err'
15751 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15752 (eval $ac_try) 2>&5
15754 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15755 (exit $ac_status); }; } &&
15756 { ac_try
='test -s conftest.$ac_objext'
15757 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15758 (eval $ac_try) 2>&5
15760 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15761 (exit $ac_status); }; }; then
15763 cat >>confdefs.h
<<\_ACEOF
15764 #define HAVE_UNDERSCORE_TIMEZONE 1
15767 echo "$as_me:$LINENO: result: yes" >&5
15768 echo "${ECHO_T}yes" >&6
15770 echo "$as_me: failed program was:" >&5
15771 sed 's/^/| /' conftest.
$ac_ext >&5
15773 echo "$as_me:$LINENO: result: no" >&5
15774 echo "${ECHO_T}no" >&6
15776 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
15778 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
15780 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
15782 # The Ultrix 4.2 mips builtin alloca declared by alloca.h only works
15783 # for constant arguments. Useless!
15784 echo "$as_me:$LINENO: checking for working alloca.h" >&5
15785 echo $ECHO_N "checking for working alloca.h... $ECHO_C" >&6
15786 if test "${ac_cv_working_alloca_h+set}" = set; then
15787 echo $ECHO_N "(cached) $ECHO_C" >&6
15789 if test x
$gcc_no_link = xyes
; then
15790 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
15791 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
15792 { (exit 1); exit 1; }; }
15794 cat >conftest.
$ac_ext <<_ACEOF
15797 cat confdefs.h
>>conftest.
$ac_ext
15798 cat >>conftest.
$ac_ext <<_ACEOF
15799 /* end confdefs.h. */
15800 #include <alloca.h>
15804 char *p = (char *) alloca (2 * sizeof (int));
15809 rm -f conftest.
$ac_objext conftest
$ac_exeext
15810 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
15811 (eval $ac_link) 2>conftest.er1
15813 grep -v '^ *+' conftest.er1
>conftest.err
15815 cat conftest.err
>&5
15816 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15817 (exit $ac_status); } &&
15818 { ac_try
='test -z "$ac_c_werror_flag"
15819 || test ! -s conftest.err'
15820 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15821 (eval $ac_try) 2>&5
15823 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15824 (exit $ac_status); }; } &&
15825 { ac_try
='test -s conftest$ac_exeext'
15826 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15827 (eval $ac_try) 2>&5
15829 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15830 (exit $ac_status); }; }; then
15831 ac_cv_working_alloca_h
=yes
15833 echo "$as_me: failed program was:" >&5
15834 sed 's/^/| /' conftest.
$ac_ext >&5
15836 ac_cv_working_alloca_h
=no
15838 rm -f conftest.err conftest.
$ac_objext \
15839 conftest
$ac_exeext conftest.
$ac_ext
15841 echo "$as_me:$LINENO: result: $ac_cv_working_alloca_h" >&5
15842 echo "${ECHO_T}$ac_cv_working_alloca_h" >&6
15843 if test $ac_cv_working_alloca_h = yes; then
15845 cat >>confdefs.h
<<\_ACEOF
15846 #define HAVE_ALLOCA_H 1
15851 echo "$as_me:$LINENO: checking for alloca" >&5
15852 echo $ECHO_N "checking for alloca... $ECHO_C" >&6
15853 if test "${ac_cv_func_alloca_works+set}" = set; then
15854 echo $ECHO_N "(cached) $ECHO_C" >&6
15856 if test x
$gcc_no_link = xyes
; then
15857 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
15858 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
15859 { (exit 1); exit 1; }; }
15861 cat >conftest.
$ac_ext <<_ACEOF
15864 cat confdefs.h
>>conftest.
$ac_ext
15865 cat >>conftest.
$ac_ext <<_ACEOF
15866 /* end confdefs.h. */
15868 # define alloca __builtin_alloca
15871 # include <malloc.h>
15872 # define alloca _alloca
15875 # include <alloca.h>
15880 # ifndef alloca /* predefined by HP cc +Olibcalls */
15891 char *p = (char *) alloca (1);
15896 rm -f conftest.
$ac_objext conftest
$ac_exeext
15897 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
15898 (eval $ac_link) 2>conftest.er1
15900 grep -v '^ *+' conftest.er1
>conftest.err
15902 cat conftest.err
>&5
15903 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15904 (exit $ac_status); } &&
15905 { ac_try
='test -z "$ac_c_werror_flag"
15906 || test ! -s conftest.err'
15907 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15908 (eval $ac_try) 2>&5
15910 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15911 (exit $ac_status); }; } &&
15912 { ac_try
='test -s conftest$ac_exeext'
15913 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15914 (eval $ac_try) 2>&5
15916 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15917 (exit $ac_status); }; }; then
15918 ac_cv_func_alloca_works
=yes
15920 echo "$as_me: failed program was:" >&5
15921 sed 's/^/| /' conftest.
$ac_ext >&5
15923 ac_cv_func_alloca_works
=no
15925 rm -f conftest.err conftest.
$ac_objext \
15926 conftest
$ac_exeext conftest.
$ac_ext
15928 echo "$as_me:$LINENO: result: $ac_cv_func_alloca_works" >&5
15929 echo "${ECHO_T}$ac_cv_func_alloca_works" >&6
15931 if test $ac_cv_func_alloca_works = yes; then
15933 cat >>confdefs.h
<<\_ACEOF
15934 #define HAVE_ALLOCA 1
15938 # The SVR3 libPW and SVR4 libucb both contain incompatible functions
15939 # that cause trouble. Some versions do not even contain alloca or
15940 # contain a buggy version. If you still want to use their alloca,
15941 # use ar to extract alloca.o from them instead of compiling alloca.c.
15943 ALLOCA
=alloca.
$ac_objext
15945 cat >>confdefs.h
<<\_ACEOF
15950 echo "$as_me:$LINENO: checking whether \`alloca.c' needs Cray hooks" >&5
15951 echo $ECHO_N "checking whether \`alloca.c' needs Cray hooks... $ECHO_C" >&6
15952 if test "${ac_cv_os_cray+set}" = set; then
15953 echo $ECHO_N "(cached) $ECHO_C" >&6
15955 cat >conftest.
$ac_ext <<_ACEOF
15958 cat confdefs.h
>>conftest.
$ac_ext
15959 cat >>conftest.
$ac_ext <<_ACEOF
15960 /* end confdefs.h. */
15961 #if defined(CRAY) && ! defined(CRAY2)
15968 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
15969 $EGREP "webecray" >/dev
/null
2>&1; then
15977 echo "$as_me:$LINENO: result: $ac_cv_os_cray" >&5
15978 echo "${ECHO_T}$ac_cv_os_cray" >&6
15979 if test $ac_cv_os_cray = yes; then
15980 for ac_func
in _getb67 GETB67 getb67
; do
15981 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
15982 echo "$as_me:$LINENO: checking for $ac_func" >&5
15983 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
15984 if eval "test \"\${$as_ac_var+set}\" = set"; then
15985 echo $ECHO_N "(cached) $ECHO_C" >&6
15987 if test x
$gcc_no_link = xyes
; then
15988 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
15989 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
15990 { (exit 1); exit 1; }; }
15992 cat >conftest.
$ac_ext <<_ACEOF
15995 cat confdefs.h
>>conftest.
$ac_ext
15996 cat >>conftest.
$ac_ext <<_ACEOF
15997 /* end confdefs.h. */
15998 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
15999 For example, HP-UX 11i <limits.h> declares gettimeofday. */
16000 #define $ac_func innocuous_$ac_func
16002 /* System header to define __stub macros and hopefully few prototypes,
16003 which can conflict with char $ac_func (); below.
16004 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
16005 <limits.h> exists even on freestanding compilers. */
16008 # include <limits.h>
16010 # include <assert.h>
16015 /* Override any gcc2 internal prototype to avoid an error. */
16020 /* We use char because int might match the return type of a gcc2
16021 builtin and then its argument prototype would still apply. */
16023 /* The GNU C library defines this for functions which it implements
16024 to always fail with ENOSYS. Some functions are actually named
16025 something starting with __ and the normal name is an alias. */
16026 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
16029 char (*f) () = $ac_func;
16038 return f != $ac_func;
16043 rm -f conftest.
$ac_objext conftest
$ac_exeext
16044 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
16045 (eval $ac_link) 2>conftest.er1
16047 grep -v '^ *+' conftest.er1
>conftest.err
16049 cat conftest.err
>&5
16050 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16051 (exit $ac_status); } &&
16052 { ac_try
='test -z "$ac_c_werror_flag"
16053 || test ! -s conftest.err'
16054 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16055 (eval $ac_try) 2>&5
16057 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16058 (exit $ac_status); }; } &&
16059 { ac_try
='test -s conftest$ac_exeext'
16060 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16061 (eval $ac_try) 2>&5
16063 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16064 (exit $ac_status); }; }; then
16065 eval "$as_ac_var=yes"
16067 echo "$as_me: failed program was:" >&5
16068 sed 's/^/| /' conftest.
$ac_ext >&5
16070 eval "$as_ac_var=no"
16072 rm -f conftest.err conftest.
$ac_objext \
16073 conftest
$ac_exeext conftest.
$ac_ext
16075 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
16076 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
16077 if test `eval echo '${'$as_ac_var'}'` = yes; then
16079 cat >>confdefs.h
<<_ACEOF
16080 #define CRAY_STACKSEG_END $ac_func
16089 echo "$as_me:$LINENO: checking stack direction for C alloca" >&5
16090 echo $ECHO_N "checking stack direction for C alloca... $ECHO_C" >&6
16091 if test "${ac_cv_c_stack_direction+set}" = set; then
16092 echo $ECHO_N "(cached) $ECHO_C" >&6
16094 if test "$cross_compiling" = yes; then
16095 ac_cv_c_stack_direction
=0
16097 cat >conftest.
$ac_ext <<_ACEOF
16100 cat confdefs.h
>>conftest.
$ac_ext
16101 cat >>conftest.
$ac_ext <<_ACEOF
16102 /* end confdefs.h. */
16104 find_stack_direction ()
16106 static char *addr = 0;
16111 return find_stack_direction ();
16114 return (&dummy > addr) ? 1 : -1;
16120 exit (find_stack_direction () < 0);
16123 rm -f conftest
$ac_exeext
16124 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
16125 (eval $ac_link) 2>&5
16127 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16128 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
16129 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16130 (eval $ac_try) 2>&5
16132 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16133 (exit $ac_status); }; }; then
16134 ac_cv_c_stack_direction
=1
16136 echo "$as_me: program exited with status $ac_status" >&5
16137 echo "$as_me: failed program was:" >&5
16138 sed 's/^/| /' conftest.
$ac_ext >&5
16140 ( exit $ac_status )
16141 ac_cv_c_stack_direction
=-1
16143 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
16146 echo "$as_me:$LINENO: result: $ac_cv_c_stack_direction" >&5
16147 echo "${ECHO_T}$ac_cv_c_stack_direction" >&6
16149 cat >>confdefs.h
<<_ACEOF
16150 #define STACK_DIRECTION $ac_cv_c_stack_direction
16156 if test x
$gcc_no_link = xyes
; then
16157 if test "x${ac_cv_func_mmap_fixed_mapped+set}" != xset
; then
16158 ac_cv_func_mmap_fixed_mapped
=no
16161 if test "x${ac_cv_func_mmap_fixed_mapped}" != xno
; then
16164 for ac_header
in stdlib.h unistd.h
16166 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
16167 if eval "test \"\${$as_ac_Header+set}\" = set"; then
16168 echo "$as_me:$LINENO: checking for $ac_header" >&5
16169 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
16170 if eval "test \"\${$as_ac_Header+set}\" = set"; then
16171 echo $ECHO_N "(cached) $ECHO_C" >&6
16173 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
16174 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
16176 # Is the header compilable?
16177 echo "$as_me:$LINENO: checking $ac_header usability" >&5
16178 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
16179 cat >conftest.
$ac_ext <<_ACEOF
16182 cat confdefs.h
>>conftest.
$ac_ext
16183 cat >>conftest.
$ac_ext <<_ACEOF
16184 /* end confdefs.h. */
16185 $ac_includes_default
16186 #include <$ac_header>
16188 rm -f conftest.
$ac_objext
16189 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16190 (eval $ac_compile) 2>conftest.er1
16192 grep -v '^ *+' conftest.er1
>conftest.err
16194 cat conftest.err
>&5
16195 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16196 (exit $ac_status); } &&
16197 { ac_try
='test -z "$ac_c_werror_flag"
16198 || test ! -s conftest.err'
16199 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16200 (eval $ac_try) 2>&5
16202 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16203 (exit $ac_status); }; } &&
16204 { ac_try
='test -s conftest.$ac_objext'
16205 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16206 (eval $ac_try) 2>&5
16208 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16209 (exit $ac_status); }; }; then
16210 ac_header_compiler
=yes
16212 echo "$as_me: failed program was:" >&5
16213 sed 's/^/| /' conftest.
$ac_ext >&5
16215 ac_header_compiler
=no
16217 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
16218 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
16219 echo "${ECHO_T}$ac_header_compiler" >&6
16221 # Is the header present?
16222 echo "$as_me:$LINENO: checking $ac_header presence" >&5
16223 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
16224 cat >conftest.
$ac_ext <<_ACEOF
16227 cat confdefs.h
>>conftest.
$ac_ext
16228 cat >>conftest.
$ac_ext <<_ACEOF
16229 /* end confdefs.h. */
16230 #include <$ac_header>
16232 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
16233 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
16235 grep -v '^ *+' conftest.er1
>conftest.err
16237 cat conftest.err
>&5
16238 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16239 (exit $ac_status); } >/dev
/null
; then
16240 if test -s conftest.err
; then
16241 ac_cpp_err
=$ac_c_preproc_warn_flag
16242 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
16249 if test -z "$ac_cpp_err"; then
16250 ac_header_preproc
=yes
16252 echo "$as_me: failed program was:" >&5
16253 sed 's/^/| /' conftest.
$ac_ext >&5
16255 ac_header_preproc
=no
16257 rm -f conftest.err conftest.
$ac_ext
16258 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
16259 echo "${ECHO_T}$ac_header_preproc" >&6
16261 # So? What about this header?
16262 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
16264 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
16265 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
16266 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
16267 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
16268 ac_header_preproc
=yes
16271 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
16272 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
16273 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
16274 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
16275 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
16276 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
16277 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
16278 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
16279 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
16280 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
16281 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
16282 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
16285 ## ---------------------------------- ##
16286 ## Report this to the libjava lists. ##
16287 ## ---------------------------------- ##
16290 sed "s/^/$as_me: WARNING: /" >&2
16293 echo "$as_me:$LINENO: checking for $ac_header" >&5
16294 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
16295 if eval "test \"\${$as_ac_Header+set}\" = set"; then
16296 echo $ECHO_N "(cached) $ECHO_C" >&6
16298 eval "$as_ac_Header=\$ac_header_preproc"
16300 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
16301 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
16304 if test `eval echo '${'$as_ac_Header'}'` = yes; then
16305 cat >>confdefs.h
<<_ACEOF
16306 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
16314 for ac_func
in getpagesize
16316 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
16317 echo "$as_me:$LINENO: checking for $ac_func" >&5
16318 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
16319 if eval "test \"\${$as_ac_var+set}\" = set"; then
16320 echo $ECHO_N "(cached) $ECHO_C" >&6
16322 if test x
$gcc_no_link = xyes
; then
16323 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
16324 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
16325 { (exit 1); exit 1; }; }
16327 cat >conftest.
$ac_ext <<_ACEOF
16330 cat confdefs.h
>>conftest.
$ac_ext
16331 cat >>conftest.
$ac_ext <<_ACEOF
16332 /* end confdefs.h. */
16333 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
16334 For example, HP-UX 11i <limits.h> declares gettimeofday. */
16335 #define $ac_func innocuous_$ac_func
16337 /* System header to define __stub macros and hopefully few prototypes,
16338 which can conflict with char $ac_func (); below.
16339 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
16340 <limits.h> exists even on freestanding compilers. */
16343 # include <limits.h>
16345 # include <assert.h>
16350 /* Override any gcc2 internal prototype to avoid an error. */
16355 /* We use char because int might match the return type of a gcc2
16356 builtin and then its argument prototype would still apply. */
16358 /* The GNU C library defines this for functions which it implements
16359 to always fail with ENOSYS. Some functions are actually named
16360 something starting with __ and the normal name is an alias. */
16361 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
16364 char (*f) () = $ac_func;
16373 return f != $ac_func;
16378 rm -f conftest.
$ac_objext conftest
$ac_exeext
16379 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
16380 (eval $ac_link) 2>conftest.er1
16382 grep -v '^ *+' conftest.er1
>conftest.err
16384 cat conftest.err
>&5
16385 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16386 (exit $ac_status); } &&
16387 { ac_try
='test -z "$ac_c_werror_flag"
16388 || test ! -s conftest.err'
16389 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16390 (eval $ac_try) 2>&5
16392 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16393 (exit $ac_status); }; } &&
16394 { ac_try
='test -s conftest$ac_exeext'
16395 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16396 (eval $ac_try) 2>&5
16398 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16399 (exit $ac_status); }; }; then
16400 eval "$as_ac_var=yes"
16402 echo "$as_me: failed program was:" >&5
16403 sed 's/^/| /' conftest.
$ac_ext >&5
16405 eval "$as_ac_var=no"
16407 rm -f conftest.err conftest.
$ac_objext \
16408 conftest
$ac_exeext conftest.
$ac_ext
16410 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
16411 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
16412 if test `eval echo '${'$as_ac_var'}'` = yes; then
16413 cat >>confdefs.h
<<_ACEOF
16414 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
16420 echo "$as_me:$LINENO: checking for working mmap" >&5
16421 echo $ECHO_N "checking for working mmap... $ECHO_C" >&6
16422 if test "${ac_cv_func_mmap_fixed_mapped+set}" = set; then
16423 echo $ECHO_N "(cached) $ECHO_C" >&6
16425 if test "$cross_compiling" = yes; then
16426 ac_cv_func_mmap_fixed_mapped
=no
16428 cat >conftest.
$ac_ext <<_ACEOF
16431 cat confdefs.h
>>conftest.
$ac_ext
16432 cat >>conftest.
$ac_ext <<_ACEOF
16433 /* end confdefs.h. */
16434 $ac_includes_default
16435 /* malloc might have been renamed as rpl_malloc. */
16438 /* Thanks to Mike Haertel and Jim Avera for this test.
16439 Here is a matrix of mmap possibilities:
16440 mmap private not fixed
16441 mmap private fixed at somewhere currently unmapped
16442 mmap private fixed at somewhere already mapped
16443 mmap shared not fixed
16444 mmap shared fixed at somewhere currently unmapped
16445 mmap shared fixed at somewhere already mapped
16446 For private mappings, we should verify that changes cannot be read()
16447 back from the file, nor mmap's back from the file at a different
16448 address. (There have been systems where private was not correctly
16449 implemented like the infamous i386 svr4.0, and systems where the
16450 VM page cache was not coherent with the file system buffer cache
16451 like early versions of FreeBSD and possibly contemporary NetBSD.)
16452 For shared mappings, we should conversely verify that changes get
16453 propagated back to all the places they're supposed to be.
16455 Grep wants private fixed already mapped.
16456 The main things grep needs to know about mmap are:
16457 * does it exist and is it safe to write into the mmap'd area
16458 * how to use it (BSD variants) */
16461 #include <sys/mman.h>
16463 #if !STDC_HEADERS && !HAVE_STDLIB_H
16467 /* This mess was copied from the GNU getpagesize.h. */
16468 #if !HAVE_GETPAGESIZE
16469 /* Assume that all systems that can run configure have sys/param.h. */
16470 # if !HAVE_SYS_PARAM_H
16471 # define HAVE_SYS_PARAM_H 1
16474 # ifdef _SC_PAGESIZE
16475 # define getpagesize() sysconf(_SC_PAGESIZE)
16476 # else /* no _SC_PAGESIZE */
16477 # if HAVE_SYS_PARAM_H
16478 # include <sys/param.h>
16479 # ifdef EXEC_PAGESIZE
16480 # define getpagesize() EXEC_PAGESIZE
16481 # else /* no EXEC_PAGESIZE */
16483 # define getpagesize() NBPG * CLSIZE
16486 # endif /* no CLSIZE */
16487 # else /* no NBPG */
16489 # define getpagesize() NBPC
16490 # else /* no NBPC */
16492 # define getpagesize() PAGESIZE
16493 # endif /* PAGESIZE */
16494 # endif /* no NBPC */
16495 # endif /* no NBPG */
16496 # endif /* no EXEC_PAGESIZE */
16497 # else /* no HAVE_SYS_PARAM_H */
16498 # define getpagesize() 8192 /* punt totally */
16499 # endif /* no HAVE_SYS_PARAM_H */
16500 # endif /* no _SC_PAGESIZE */
16502 #endif /* no HAVE_GETPAGESIZE */
16507 char *data, *data2, *data3;
16511 pagesize = getpagesize ();
16513 /* First, make a file with some known garbage in it. */
16514 data = (char *) malloc (pagesize);
16517 for (i = 0; i < pagesize; ++i)
16518 *(data + i) = rand ();
16520 fd = creat ("conftest.mmap", 0600);
16523 if (write (fd, data, pagesize) != pagesize)
16527 /* Next, try to mmap the file at a fixed address which already has
16528 something else allocated at it. If we can, also make sure that
16529 we see the same garbage. */
16530 fd = open ("conftest.mmap", O_RDWR);
16533 data2 = (char *) malloc (2 * pagesize);
16536 data2 += (pagesize - ((long) data2 & (pagesize - 1))) & (pagesize - 1);
16537 if (data2 != mmap (data2, pagesize, PROT_READ | PROT_WRITE,
16538 MAP_PRIVATE | MAP_FIXED, fd, 0L))
16540 for (i = 0; i < pagesize; ++i)
16541 if (*(data + i) != *(data2 + i))
16544 /* Finally, make sure that changes to the mapped area do not
16545 percolate back to the file as seen by read(). (This is a bug on
16546 some variants of i386 svr4.0.) */
16547 for (i = 0; i < pagesize; ++i)
16548 *(data2 + i) = *(data2 + i) + 1;
16549 data3 = (char *) malloc (pagesize);
16552 if (read (fd, data3, pagesize) != pagesize)
16554 for (i = 0; i < pagesize; ++i)
16555 if (*(data + i) != *(data3 + i))
16561 rm -f conftest
$ac_exeext
16562 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
16563 (eval $ac_link) 2>&5
16565 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16566 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
16567 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16568 (eval $ac_try) 2>&5
16570 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16571 (exit $ac_status); }; }; then
16572 ac_cv_func_mmap_fixed_mapped
=yes
16574 echo "$as_me: program exited with status $ac_status" >&5
16575 echo "$as_me: failed program was:" >&5
16576 sed 's/^/| /' conftest.
$ac_ext >&5
16578 ( exit $ac_status )
16579 ac_cv_func_mmap_fixed_mapped
=no
16581 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
16584 echo "$as_me:$LINENO: result: $ac_cv_func_mmap_fixed_mapped" >&5
16585 echo "${ECHO_T}$ac_cv_func_mmap_fixed_mapped" >&6
16586 if test $ac_cv_func_mmap_fixed_mapped = yes; then
16588 cat >>confdefs.h
<<\_ACEOF
16589 #define HAVE_MMAP 1
16593 rm -f conftest.mmap
16597 for ac_prog
in perl
16599 # Extract the first word of "$ac_prog", so it can be a program name with args.
16600 set dummy
$ac_prog; ac_word
=$2
16601 echo "$as_me:$LINENO: checking for $ac_word" >&5
16602 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
16603 if test "${ac_cv_prog_PERL+set}" = set; then
16604 echo $ECHO_N "(cached) $ECHO_C" >&6
16606 if test -n "$PERL"; then
16607 ac_cv_prog_PERL
="$PERL" # Let the user override the test.
16609 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
16610 for as_dir
in $PATH
16613 test -z "$as_dir" && as_dir
=.
16614 for ac_exec_ext
in '' $ac_executable_extensions; do
16615 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
16616 ac_cv_prog_PERL
="$ac_prog"
16617 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
16625 PERL
=$ac_cv_prog_PERL
16626 if test -n "$PERL"; then
16627 echo "$as_me:$LINENO: result: $PERL" >&5
16628 echo "${ECHO_T}$PERL" >&6
16630 echo "$as_me:$LINENO: result: no" >&5
16631 echo "${ECHO_T}no" >&6
16634 test -n "$PERL" && break
16636 test -n "$PERL" || PERL
="false"
16640 SIGNAL_HANDLER_AUX
=
16644 SIGNAL_HANDLER
=include
/i386-signal.h
16646 sparc
*-sun-solaris*)
16647 SIGNAL_HANDLER
=include
/sparc-signal.h
16650 # SYSDEP_SOURCES=sysdep/ia64.c
16651 # test -d sysdep || mkdir sysdep
16654 SIGNAL_HANDLER
=include
/pa-signal.h
16657 SIGNAL_HANDLER
=include
/dwarf2-signal.h
16660 SIGNAL_HANDLER
=include
/powerpc-signal.h
16663 SIGNAL_HANDLER
=include
/dwarf2-signal.h
16666 SIGNAL_HANDLER
=include
/s390-signal.h
16669 SIGNAL_HANDLER
=include
/x86_64-signal.h
16670 SIGNAL_HANDLER_AUX
=include
/i386-signal.h
16673 SIGNAL_HANDLER
=include
/dwarf2-signal.h
16676 SIGNAL_HANDLER
=include
/sh-signal.h
16679 SIGNAL_HANDLER
=include
/win32-signal.h
16682 SIGNAL_HANDLER
=include
/mips-signal.h
16685 SIGNAL_HANDLER
=include
/darwin-signal.h
16688 SIGNAL_HANDLER
=include
/default-signal.h
16692 # If we're using sjlj exceptions, forget what we just learned.
16693 if test "$enable_sjlj_exceptions" = yes; then
16694 SIGNAL_HANDLER
=include
/default-signal.h
16695 SIGNAL_HANDLER_AUX
=
16700 if test -z "$SIGNAL_HANDLER_AUX"; then
16701 SIGNAL_HANDLER_AUX
=$SIGNAL_HANDLER
16704 ac_config_links
="$ac_config_links include/java-signal.h:$SIGNAL_HANDLER include/java-signal-aux.h:$SIGNAL_HANDLER_AUX"
16707 if test "${multilib}" = "yes"; then
16708 multilib_arg
="--enable-multilib"
16715 here
=`${PWDCMD-pwd}`
16718 # We get this from the environment.
16721 ac_config_files
="$ac_config_files Makefile libgcj.pc libgcj.spec libgcj-test.spec gcj/Makefile include/Makefile testsuite/Makefile"
16724 ac_config_commands
="$ac_config_commands default"
16727 cat >confcache
<<\_ACEOF
16728 # This file is a shell script that caches the results of configure
16729 # tests run on this system so they can be shared between configure
16730 # scripts and configure runs, see configure's option --config-cache.
16731 # It is not useful on other systems. If it contains results you don't
16732 # want to keep, you may remove or edit it.
16734 # config.status only pays attention to the cache file if you give it
16735 # the --recheck option to rerun configure.
16737 # `ac_cv_env_foo' variables (set or unset) will be overridden when
16738 # loading this file, other *unset* `ac_cv_foo' will be assigned the
16739 # following values.
16743 # The following way of writing the cache mishandles newlines in values,
16744 # but we know of no workaround that is simple, portable, and efficient.
16745 # So, don't put newlines in cache variables' values.
16746 # Ultrix sh set writes to stderr and can't be redirected directly,
16747 # and sets the high bit in the cache file unless we assign to the vars.
16750 case `(ac_space=' '; set | grep ac_space) 2>&1` in
16752 # `set' does not quote correctly, so add quotes (double-quote
16753 # substitution turns \\\\ into \\, and sed turns \\ into \).
16756 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
16759 # `set' quotes correctly as required by POSIX, so do not add quotes.
16761 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
16768 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
16770 /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
16772 if diff $cache_file confcache
>/dev
/null
2>&1; then :; else
16773 if test -w $cache_file; then
16774 test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
16775 cat confcache
>$cache_file
16777 echo "not updating unwritable cache $cache_file"
16782 test "x$prefix" = xNONE
&& prefix
=$ac_default_prefix
16783 # Let make expand exec_prefix.
16784 test "x$exec_prefix" = xNONE
&& exec_prefix
='${prefix}'
16786 # VPATH may cause trouble with some makes, so we remove $(srcdir),
16787 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
16788 # trailing colons and then remove the whole line if VPATH becomes empty
16789 # (actually we leave an empty line to preserve line numbers).
16790 if test "x$srcdir" = x.
; then
16791 ac_vpsub
='/^[ ]*VPATH[ ]*=/{
16792 s/:*\$(srcdir):*/:/;
16793 s/:*\${srcdir}:*/:/;
16795 s/^\([^=]*=[ ]*\):*/\1/;
16801 DEFS
=-DHAVE_CONFIG_H
16805 for ac_i
in : $LIBOBJS; do test "x$ac_i" = x
: && continue
16806 # 1. Remove the extension, and $U if already installed.
16807 ac_i
=`echo "$ac_i" |
16808 sed 's/\$U\././;s/\.o$//;s/\.obj$//'`
16810 ac_libobjs
="$ac_libobjs $ac_i\$U.$ac_objext"
16811 ac_ltlibobjs
="$ac_ltlibobjs $ac_i"'$U.lo'
16813 LIBOBJS
=$ac_libobjs
16815 LTLIBOBJS
=$ac_ltlibobjs
16818 if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
16819 { { echo "$as_me:$LINENO: error: conditional \"AMDEP\" was never defined.
16820 Usually this means the macro was only invoked conditionally." >&5
16821 echo "$as_me: error: conditional \"AMDEP\" was never defined.
16822 Usually this means the macro was only invoked conditionally." >&2;}
16823 { (exit 1); exit 1; }; }
16825 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
16826 { { echo "$as_me:$LINENO: error: conditional \"am__fastdepCC\" was never defined.
16827 Usually this means the macro was only invoked conditionally." >&5
16828 echo "$as_me: error: conditional \"am__fastdepCC\" was never defined.
16829 Usually this means the macro was only invoked conditionally." >&2;}
16830 { (exit 1); exit 1; }; }
16832 if test -z "${am__fastdepCXX_TRUE}" && test -z "${am__fastdepCXX_FALSE}"; then
16833 { { echo "$as_me:$LINENO: error: conditional \"am__fastdepCXX\" was never defined.
16834 Usually this means the macro was only invoked conditionally." >&5
16835 echo "$as_me: error: conditional \"am__fastdepCXX\" was never defined.
16836 Usually this means the macro was only invoked conditionally." >&2;}
16837 { (exit 1); exit 1; }; }
16839 if test -z "${MAINTAINER_MODE_TRUE}" && test -z "${MAINTAINER_MODE_FALSE}"; then
16840 { { echo "$as_me:$LINENO: error: conditional \"MAINTAINER_MODE\" was never defined.
16841 Usually this means the macro was only invoked conditionally." >&5
16842 echo "$as_me: error: conditional \"MAINTAINER_MODE\" was never defined.
16843 Usually this means the macro was only invoked conditionally." >&2;}
16844 { (exit 1); exit 1; }; }
16846 if test -z "${XLIB_AWT_TRUE}" && test -z "${XLIB_AWT_FALSE}"; then
16847 { { echo "$as_me:$LINENO: error: conditional \"XLIB_AWT\" was never defined.
16848 Usually this means the macro was only invoked conditionally." >&5
16849 echo "$as_me: error: conditional \"XLIB_AWT\" was never defined.
16850 Usually this means the macro was only invoked conditionally." >&2;}
16851 { (exit 1); exit 1; }; }
16853 if test -z "${GTK_AWT_TRUE}" && test -z "${GTK_AWT_FALSE}"; then
16854 { { echo "$as_me:$LINENO: error: conditional \"GTK_AWT\" was never defined.
16855 Usually this means the macro was only invoked conditionally." >&5
16856 echo "$as_me: error: conditional \"GTK_AWT\" was never defined.
16857 Usually this means the macro was only invoked conditionally." >&2;}
16858 { (exit 1); exit 1; }; }
16860 if test -z "${am__fastdepGCJ_TRUE}" && test -z "${am__fastdepGCJ_FALSE}"; then
16861 { { echo "$as_me:$LINENO: error: conditional \"am__fastdepGCJ\" was never defined.
16862 Usually this means the macro was only invoked conditionally." >&5
16863 echo "$as_me: error: conditional \"am__fastdepGCJ\" was never defined.
16864 Usually this means the macro was only invoked conditionally." >&2;}
16865 { (exit 1); exit 1; }; }
16867 if test -z "${TESTSUBDIR_TRUE}" && test -z "${TESTSUBDIR_FALSE}"; then
16868 { { echo "$as_me:$LINENO: error: conditional \"TESTSUBDIR\" was never defined.
16869 Usually this means the macro was only invoked conditionally." >&5
16870 echo "$as_me: error: conditional \"TESTSUBDIR\" was never defined.
16871 Usually this means the macro was only invoked conditionally." >&2;}
16872 { (exit 1); exit 1; }; }
16874 if test -z "${JAVA_HOME_SET_TRUE}" && test -z "${JAVA_HOME_SET_FALSE}"; then
16875 { { echo "$as_me:$LINENO: error: conditional \"JAVA_HOME_SET\" was never defined.
16876 Usually this means the macro was only invoked conditionally." >&5
16877 echo "$as_me: error: conditional \"JAVA_HOME_SET\" was never defined.
16878 Usually this means the macro was only invoked conditionally." >&2;}
16879 { (exit 1); exit 1; }; }
16881 if test -z "${USING_WIN32_PLATFORM_TRUE}" && test -z "${USING_WIN32_PLATFORM_FALSE}"; then
16882 { { echo "$as_me:$LINENO: error: conditional \"USING_WIN32_PLATFORM\" was never defined.
16883 Usually this means the macro was only invoked conditionally." >&5
16884 echo "$as_me: error: conditional \"USING_WIN32_PLATFORM\" was never defined.
16885 Usually this means the macro was only invoked conditionally." >&2;}
16886 { (exit 1); exit 1; }; }
16888 if test -z "${USING_POSIX_PLATFORM_TRUE}" && test -z "${USING_POSIX_PLATFORM_FALSE}"; then
16889 { { echo "$as_me:$LINENO: error: conditional \"USING_POSIX_PLATFORM\" was never defined.
16890 Usually this means the macro was only invoked conditionally." >&5
16891 echo "$as_me: error: conditional \"USING_POSIX_PLATFORM\" was never defined.
16892 Usually this means the macro was only invoked conditionally." >&2;}
16893 { (exit 1); exit 1; }; }
16895 if test -z "${USING_DARWIN_CRT_TRUE}" && test -z "${USING_DARWIN_CRT_FALSE}"; then
16896 { { echo "$as_me:$LINENO: error: conditional \"USING_DARWIN_CRT\" was never defined.
16897 Usually this means the macro was only invoked conditionally." >&5
16898 echo "$as_me: error: conditional \"USING_DARWIN_CRT\" was never defined.
16899 Usually this means the macro was only invoked conditionally." >&2;}
16900 { (exit 1); exit 1; }; }
16902 if test -z "${GTK_CAIRO_TRUE}" && test -z "${GTK_CAIRO_FALSE}"; then
16903 { { echo "$as_me:$LINENO: error: conditional \"GTK_CAIRO\" was never defined.
16904 Usually this means the macro was only invoked conditionally." >&5
16905 echo "$as_me: error: conditional \"GTK_CAIRO\" was never defined.
16906 Usually this means the macro was only invoked conditionally." >&2;}
16907 { (exit 1); exit 1; }; }
16909 if test -z "${USING_BOEHMGC_TRUE}" && test -z "${USING_BOEHMGC_FALSE}"; then
16910 { { echo "$as_me:$LINENO: error: conditional \"USING_BOEHMGC\" was never defined.
16911 Usually this means the macro was only invoked conditionally." >&5
16912 echo "$as_me: error: conditional \"USING_BOEHMGC\" was never defined.
16913 Usually this means the macro was only invoked conditionally." >&2;}
16914 { (exit 1); exit 1; }; }
16916 if test -z "${USING_NOGC_TRUE}" && test -z "${USING_NOGC_FALSE}"; then
16917 { { echo "$as_me:$LINENO: error: conditional \"USING_NOGC\" was never defined.
16918 Usually this means the macro was only invoked conditionally." >&5
16919 echo "$as_me: error: conditional \"USING_NOGC\" was never defined.
16920 Usually this means the macro was only invoked conditionally." >&2;}
16921 { (exit 1); exit 1; }; }
16923 if test -z "${USING_POSIX_THREADS_TRUE}" && test -z "${USING_POSIX_THREADS_FALSE}"; then
16924 { { echo "$as_me:$LINENO: error: conditional \"USING_POSIX_THREADS\" was never defined.
16925 Usually this means the macro was only invoked conditionally." >&5
16926 echo "$as_me: error: conditional \"USING_POSIX_THREADS\" was never defined.
16927 Usually this means the macro was only invoked conditionally." >&2;}
16928 { (exit 1); exit 1; }; }
16930 if test -z "${USING_WIN32_THREADS_TRUE}" && test -z "${USING_WIN32_THREADS_FALSE}"; then
16931 { { echo "$as_me:$LINENO: error: conditional \"USING_WIN32_THREADS\" was never defined.
16932 Usually this means the macro was only invoked conditionally." >&5
16933 echo "$as_me: error: conditional \"USING_WIN32_THREADS\" was never defined.
16934 Usually this means the macro was only invoked conditionally." >&2;}
16935 { (exit 1); exit 1; }; }
16937 if test -z "${USING_NO_THREADS_TRUE}" && test -z "${USING_NO_THREADS_FALSE}"; then
16938 { { echo "$as_me:$LINENO: error: conditional \"USING_NO_THREADS\" was never defined.
16939 Usually this means the macro was only invoked conditionally." >&5
16940 echo "$as_me: error: conditional \"USING_NO_THREADS\" was never defined.
16941 Usually this means the macro was only invoked conditionally." >&2;}
16942 { (exit 1); exit 1; }; }
16944 if test -z "${USING_GCC_TRUE}" && test -z "${USING_GCC_FALSE}"; then
16945 { { echo "$as_me:$LINENO: error: conditional \"USING_GCC\" was never defined.
16946 Usually this means the macro was only invoked conditionally." >&5
16947 echo "$as_me: error: conditional \"USING_GCC\" was never defined.
16948 Usually this means the macro was only invoked conditionally." >&2;}
16949 { (exit 1); exit 1; }; }
16951 if test -z "${SUPPLY_BACKTRACE_TRUE}" && test -z "${SUPPLY_BACKTRACE_FALSE}"; then
16952 { { echo "$as_me:$LINENO: error: conditional \"SUPPLY_BACKTRACE\" was never defined.
16953 Usually this means the macro was only invoked conditionally." >&5
16954 echo "$as_me: error: conditional \"SUPPLY_BACKTRACE\" was never defined.
16955 Usually this means the macro was only invoked conditionally." >&2;}
16956 { (exit 1); exit 1; }; }
16958 if test -z "${NATIVE_TRUE}" && test -z "${NATIVE_FALSE}"; then
16959 { { echo "$as_me:$LINENO: error: conditional \"NATIVE\" was never defined.
16960 Usually this means the macro was only invoked conditionally." >&5
16961 echo "$as_me: error: conditional \"NATIVE\" was never defined.
16962 Usually this means the macro was only invoked conditionally." >&2;}
16963 { (exit 1); exit 1; }; }
16965 if test -z "${NEEDS_DATA_START_TRUE}" && test -z "${NEEDS_DATA_START_FALSE}"; then
16966 { { echo "$as_me:$LINENO: error: conditional \"NEEDS_DATA_START\" was never defined.
16967 Usually this means the macro was only invoked conditionally." >&5
16968 echo "$as_me: error: conditional \"NEEDS_DATA_START\" was never defined.
16969 Usually this means the macro was only invoked conditionally." >&2;}
16970 { (exit 1); exit 1; }; }
16973 : ${CONFIG_STATUS=./config.status}
16974 ac_clean_files_save
=$ac_clean_files
16975 ac_clean_files
="$ac_clean_files $CONFIG_STATUS"
16976 { echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
16977 echo "$as_me: creating $CONFIG_STATUS" >&6;}
16978 cat >$CONFIG_STATUS <<_ACEOF
16980 # Generated by $as_me.
16981 # Run this file to recreate the current configuration.
16982 # Compiler output produced by configure, useful for debugging
16983 # configure, is in config.log if it exists.
16986 ac_cs_recheck=false
16988 SHELL=\${CONFIG_SHELL-$SHELL}
16991 cat >>$CONFIG_STATUS <<\_ACEOF
16992 ## --------------------- ##
16993 ## M4sh Initialization. ##
16994 ## --------------------- ##
16996 # Be Bourne compatible
16997 if test -n "${ZSH_VERSION+set}" && (emulate sh
) >/dev
/null
2>&1; then
17000 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
17001 # is contrary to our usage. Disable this feature.
17002 alias -g '${1+"$@"}'='"$@"'
17003 elif test -n "${BASH_VERSION+set}" && (set -o posix
) >/dev
/null
2>&1; then
17006 DUALCASE
=1; export DUALCASE
# for MKS sh
17008 # Support unset when possible.
17009 if ( (MAIL
=60; unset MAIL
) ||
exit) >/dev
/null
2>&1; then
17016 # Work around bugs in pre-3.0 UWIN ksh.
17017 $as_unset ENV MAIL MAILPATH
17024 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
17025 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
17026 LC_TELEPHONE LC_TIME
17028 if (set +x
; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
17029 eval $as_var=C
; export $as_var
17035 # Required to use basename.
17036 if expr a
: '\(a\)' >/dev
/null
2>&1; then
17042 if (basename /) >/dev
/null
2>&1 && test "X`basename / 2>&1`" = "X/"; then
17043 as_basename
=basename
17049 # Name of the executable.
17050 as_me
=`$as_basename "$0" ||
17051 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
17052 X"$0" : 'X\(//\)$' \| \
17053 X"$0" : 'X\(/\)$' \| \
17054 . : '\(.\)' 2>/dev/null ||
17056 sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; }
17057 /^X\/\(\/\/\)$/{ s//\1/; q; }
17058 /^X\/\(\/\).*/{ s//\1/; q; }
17062 # PATH needs CR, and LINENO needs CR and PATH.
17063 # Avoid depending upon Character Ranges.
17064 as_cr_letters
='abcdefghijklmnopqrstuvwxyz'
17065 as_cr_LETTERS
='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
17066 as_cr_Letters
=$as_cr_letters$as_cr_LETTERS
17067 as_cr_digits
='0123456789'
17068 as_cr_alnum
=$as_cr_Letters$as_cr_digits
17070 # The user is always right.
17071 if test "${PATH_SEPARATOR+set}" != set; then
17072 echo "#! /bin/sh" >conf$$.sh
17073 echo "exit 0" >>conf$$.sh
17075 if (PATH
="/nonexistent;."; conf$$.sh
) >/dev
/null
2>&1; then
17084 as_lineno_1
=$LINENO
17085 as_lineno_2
=$LINENO
17086 as_lineno_3
=`(expr $as_lineno_1 + 1) 2>/dev/null`
17087 test "x$as_lineno_1" != "x$as_lineno_2" &&
17088 test "x$as_lineno_3" = "x$as_lineno_2" ||
{
17089 # Find who we are. Look in the path if we contain no path at all
17092 *[\\/]* ) as_myself
=$0 ;;
17093 *) as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
17094 for as_dir
in $PATH
17097 test -z "$as_dir" && as_dir
=.
17098 test -r "$as_dir/$0" && as_myself
=$as_dir/$0 && break
17103 # We did not find ourselves, most probably we were run as `sh COMMAND'
17104 # in which case we are not to be found in the path.
17105 if test "x$as_myself" = x
; then
17108 if test ! -f "$as_myself"; then
17109 { { echo "$as_me:$LINENO: error: cannot find myself; rerun with an absolute path" >&5
17110 echo "$as_me: error: cannot find myself; rerun with an absolute path" >&2;}
17111 { (exit 1); exit 1; }; }
17113 case $CONFIG_SHELL in
17115 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
17116 for as_dir
in /bin
$PATH_SEPARATOR/usr
/bin
$PATH_SEPARATOR$PATH
17119 test -z "$as_dir" && as_dir
=.
17120 for as_base
in sh bash ksh sh5
; do
17123 if ("$as_dir/$as_base" -c '
17124 as_lineno_1=$LINENO
17125 as_lineno_2=$LINENO
17126 as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
17127 test "x$as_lineno_1" != "x$as_lineno_2" &&
17128 test "x$as_lineno_3" = "x$as_lineno_2" ') 2>/dev
/null
; then
17129 $as_unset BASH_ENV ||
test "${BASH_ENV+set}" != set ||
{ BASH_ENV
=; export BASH_ENV
; }
17130 $as_unset ENV ||
test "${ENV+set}" != set ||
{ ENV
=; export ENV
; }
17131 CONFIG_SHELL
=$as_dir/$as_base
17132 export CONFIG_SHELL
17133 exec "$CONFIG_SHELL" "$0" ${1+"$@"}
17141 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
17142 # uniformly replaced by the line number. The first 'sed' inserts a
17143 # line-number line before each line; the second 'sed' does the real
17144 # work. The second script uses 'N' to pair each line-number line
17145 # with the numbered line, and appends trailing '-' during
17146 # substitution so that $LINENO is not a special case at line end.
17147 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
17148 # second 'sed' script. Blame Lee E. McMahon for sed's syntax. :-)
17149 sed '=' <$as_myself |
17154 s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3,
17157 s,^['$as_cr_digits']*\n,,
17158 ' >$as_me.lineno
&&
17159 chmod +x
$as_me.lineno ||
17160 { { echo "$as_me:$LINENO: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&5
17161 echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2;}
17162 { (exit 1); exit 1; }; }
17164 # Don't try to exec as it changes $[0], causing all sort of problems
17165 # (the dirname of $[0] is not the place where we might find the
17166 # original and so on. Autoconf is especially sensible to this).
17168 # Exit status is that of the last command.
17173 case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in
17174 *c
*,-n*) ECHO_N
= ECHO_C
='
17176 *c
*,* ) ECHO_N
=-n ECHO_C
= ECHO_T
= ;;
17177 *) ECHO_N
= ECHO_C
='\c' ECHO_T
= ;;
17180 if expr a
: '\(a\)' >/dev
/null
2>&1; then
17186 rm -f conf$$ conf$$.exe conf$$.
file
17188 if ln -s conf$$.
file conf$$
2>/dev
/null
; then
17189 # We could just check for DJGPP; but this test a) works b) is more generic
17190 # and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04).
17191 if test -f conf$$.exe
; then
17192 # Don't use ln at all; we don't have any links
17197 elif ln conf$$.
file conf$$
2>/dev
/null
; then
17202 rm -f conf$$ conf$$.exe conf$$.
file
17204 if mkdir
-p .
2>/dev
/null
; then
17207 test -d .
/-p && rmdir .
/-p
17211 as_executable_p
="test -f"
17213 # Sed expression to map a string onto a valid CPP name.
17214 as_tr_cpp
="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
17216 # Sed expression to map a string onto a valid variable name.
17217 as_tr_sh
="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
17221 # We need space, tab and new line, in precisely that order.
17231 # Open the log real soon, to keep \$[0] and so on meaningful, and to
17232 # report actual input values of CONFIG_FILES etc. instead of their
17233 # values after options handling. Logging --version etc. is OK.
17237 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
17238 ## Running $as_me. ##
17243 This file was extended by libjava $as_me version-unused, which was
17244 generated by GNU Autoconf 2.59. Invocation command line was
17246 CONFIG_FILES = $CONFIG_FILES
17247 CONFIG_HEADERS = $CONFIG_HEADERS
17248 CONFIG_LINKS = $CONFIG_LINKS
17249 CONFIG_COMMANDS = $CONFIG_COMMANDS
17253 echo "on `(hostname || uname -n) 2>/dev/null | sed 1q`" >&5
17257 # Files that config.status was made for.
17258 if test -n "$ac_config_files"; then
17259 echo "config_files=\"$ac_config_files\"" >>$CONFIG_STATUS
17262 if test -n "$ac_config_headers"; then
17263 echo "config_headers=\"$ac_config_headers\"" >>$CONFIG_STATUS
17266 if test -n "$ac_config_links"; then
17267 echo "config_links=\"$ac_config_links\"" >>$CONFIG_STATUS
17270 if test -n "$ac_config_commands"; then
17271 echo "config_commands=\"$ac_config_commands\"" >>$CONFIG_STATUS
17274 cat >>$CONFIG_STATUS <<\_ACEOF
17277 \`$as_me' instantiates files from templates according to the
17278 current configuration.
17280 Usage: $0 [OPTIONS] [FILE]...
17282 -h, --help print this help, then exit
17283 -V, --version print version number, then exit
17284 -q, --quiet do not print progress messages
17285 -d, --debug don't remove temporary files
17286 --recheck update $as_me by reconfiguring in the same conditions
17287 --file=FILE[:TEMPLATE]
17288 instantiate the configuration file FILE
17289 --header=FILE[:TEMPLATE]
17290 instantiate the configuration header FILE
17292 Configuration files:
17295 Configuration headers:
17298 Configuration links:
17301 Configuration commands:
17304 Report bugs to <bug-autoconf@gnu.org>."
17307 cat >>$CONFIG_STATUS <<_ACEOF
17309 libjava config.status version-unused
17310 configured by $0, generated by GNU Autoconf 2.59,
17311 with options \\"`echo "$ac_configure_args" | sed 's/[\\""\`\$]/\\\\&/g'`\\"
17313 Copyright (C) 2003 Free Software Foundation, Inc.
17314 This config.status script is free software; the Free Software Foundation
17315 gives unlimited permission to copy, distribute and modify it."
17320 cat >>$CONFIG_STATUS <<\_ACEOF
17321 # If no file are specified by the user, then we need to provide default
17322 # value. By we need to know if files were specified by the user.
17328 ac_option
=`expr "x$1" : 'x\([^=]*\)='`
17329 ac_optarg
=`expr "x$1" : 'x[^=]*=\(.*\)'`
17337 *) # This is not an option, so the user has probably given explicit
17340 ac_need_defaults
=false
;;
17344 # Handling of the options.
17346 cat >>$CONFIG_STATUS <<\_ACEOF
17347 -recheck |
--recheck |
--rechec |
--reche |
--rech |
--rec |
--re |
--r)
17349 --version |
--vers* |
-V )
17350 echo "$ac_cs_version"; exit 0 ;;
17352 # Conflict between --help and --header
17353 { { echo "$as_me:$LINENO: error: ambiguous option: $1
17354 Try \`$0 --help' for more information." >&5
17355 echo "$as_me: error: ambiguous option: $1
17356 Try \`$0 --help' for more information." >&2;}
17357 { (exit 1); exit 1; }; };;
17358 --help |
--hel |
-h )
17359 echo "$ac_cs_usage"; exit 0 ;;
17360 --debug |
--d* |
-d )
17362 --file |
--fil |
--fi |
--f )
17364 CONFIG_FILES
="$CONFIG_FILES $ac_optarg"
17365 ac_need_defaults
=false
;;
17366 --header |
--heade |
--head |
--hea )
17368 CONFIG_HEADERS
="$CONFIG_HEADERS $ac_optarg"
17369 ac_need_defaults
=false
;;
17370 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
17371 |
-silent |
--silent |
--silen |
--sile |
--sil |
--si |
--s)
17374 # This is an error.
17375 -*) { { echo "$as_me:$LINENO: error: unrecognized option: $1
17376 Try \`$0 --help' for more information." >&5
17377 echo "$as_me: error: unrecognized option: $1
17378 Try \`$0 --help' for more information." >&2;}
17379 { (exit 1); exit 1; }; } ;;
17381 *) ac_config_targets
="$ac_config_targets $1" ;;
17387 ac_configure_extra_args
=
17389 if $ac_cs_silent; then
17391 ac_configure_extra_args
="$ac_configure_extra_args --silent"
17395 cat >>$CONFIG_STATUS <<_ACEOF
17396 if \$ac_cs_recheck; then
17397 echo "running $SHELL $0 " $ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6
17398 exec $SHELL $0 $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
17403 cat >>$CONFIG_STATUS <<_ACEOF
17405 # INIT-COMMANDS section.
17408 AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
17412 with_multisubdir=${with_multisubdir}
17413 ac_configure_args="${multilib_arg} ${ac_configure_args}"
17414 CONFIG_SHELL=${CONFIG_SHELL-/bin/sh}
17415 libgcj_basedir=${libgcj_basedir}
17418 ORIGINAL_LD_FOR_MULTILIBS="${ORIGINAL_LD_FOR_MULTILIBS}"
17425 cat >>$CONFIG_STATUS <<\_ACEOF
17426 for ac_config_target
in $ac_config_targets
17428 case "$ac_config_target" in
17429 # Handling of arguments.
17430 "Makefile" ) CONFIG_FILES
="$CONFIG_FILES Makefile" ;;
17431 "libgcj.pc" ) CONFIG_FILES
="$CONFIG_FILES libgcj.pc" ;;
17432 "libgcj.spec" ) CONFIG_FILES
="$CONFIG_FILES libgcj.spec" ;;
17433 "libgcj-test.spec" ) CONFIG_FILES
="$CONFIG_FILES libgcj-test.spec" ;;
17434 "gcj/Makefile" ) CONFIG_FILES
="$CONFIG_FILES gcj/Makefile" ;;
17435 "include/Makefile" ) CONFIG_FILES
="$CONFIG_FILES include/Makefile" ;;
17436 "testsuite/Makefile" ) CONFIG_FILES
="$CONFIG_FILES testsuite/Makefile" ;;
17437 "include/platform.h" ) CONFIG_LINKS
="$CONFIG_LINKS include/platform.h:include/$PLATFORMH" ;;
17438 "java/io/natFile.cc" ) CONFIG_LINKS
="$CONFIG_LINKS java/io/natFile.cc:java/io/natFile${FILE-${PLATFORM}}.cc" ;;
17439 "java/lang/ConcreteProcess.java" ) CONFIG_LINKS
="$CONFIG_LINKS java/lang/ConcreteProcess.java:java/lang/${PLATFORM}Process.java" ;;
17440 "java/lang/natConcreteProcess.cc" ) CONFIG_LINKS
="$CONFIG_LINKS java/lang/natConcreteProcess.cc:java/lang/nat${PLATFORM}Process.cc" ;;
17441 "java/net/natInetAddress.cc" ) CONFIG_LINKS
="$CONFIG_LINKS java/net/natInetAddress.cc:java/net/natInetAddress${PLATFORMNET}.cc" ;;
17442 "java/net/natVMNetworkInterface.cc" ) CONFIG_LINKS
="$CONFIG_LINKS java/net/natVMNetworkInterface.cc:java/net/natVMNetworkInterface${PLATFORMNET}.cc" ;;
17443 "gnu/java/net/natPlainSocketImpl.cc" ) CONFIG_LINKS
="$CONFIG_LINKS gnu/java/net/natPlainSocketImpl.cc:gnu/java/net/natPlainSocketImpl${PLATFORMNET}.cc" ;;
17444 "gnu/java/net/natPlainDatagramSocketImpl.cc" ) CONFIG_LINKS
="$CONFIG_LINKS gnu/java/net/natPlainDatagramSocketImpl.cc:gnu/java/net/natPlainDatagramSocketImpl${PLATFORMNET}.cc" ;;
17445 "gnu/java/nio/natPipeImpl.cc" ) CONFIG_LINKS
="$CONFIG_LINKS gnu/java/nio/natPipeImpl.cc:gnu/java/nio/natPipeImpl${PLATFORM}.cc" ;;
17446 "gnu/java/nio/natSelectorImpl.cc" ) CONFIG_LINKS
="$CONFIG_LINKS gnu/java/nio/natSelectorImpl.cc:gnu/java/nio/natSelectorImpl${PLATFORM}.cc" ;;
17447 "gnu/java/nio/channels/natFileChannelImpl.cc" ) CONFIG_LINKS
="$CONFIG_LINKS gnu/java/nio/channels/natFileChannelImpl.cc:gnu/java/nio/channels/natFileChannel${FILE-${PLATFORM}}.cc" ;;
17448 "include/java-gc.h" ) CONFIG_LINKS
="$CONFIG_LINKS include/java-gc.h:include/$GCHDR" ;;
17449 "include/java-threads.h" ) CONFIG_LINKS
="$CONFIG_LINKS include/java-threads.h:include/$THREADH" ;;
17450 "sysdep/locks.h" ) CONFIG_LINKS
="$CONFIG_LINKS sysdep/locks.h:sysdep/$sysdeps_dir/locks.h" ;;
17451 "sysdep/backtrace.h" ) CONFIG_LINKS
="$CONFIG_LINKS sysdep/backtrace.h:$fallback_backtrace_h" ;;
17452 "sysdep/descriptor.h" ) CONFIG_LINKS
="$CONFIG_LINKS sysdep/descriptor.h:$descriptor_h" ;;
17453 "include/java-signal.h" ) CONFIG_LINKS
="$CONFIG_LINKS include/java-signal.h:$SIGNAL_HANDLER" ;;
17454 "include/java-signal-aux.h" ) CONFIG_LINKS
="$CONFIG_LINKS include/java-signal-aux.h:$SIGNAL_HANDLER_AUX" ;;
17455 "depfiles" ) CONFIG_COMMANDS
="$CONFIG_COMMANDS depfiles" ;;
17456 "default" ) CONFIG_COMMANDS
="$CONFIG_COMMANDS default" ;;
17457 "include/config.h" ) CONFIG_HEADERS
="$CONFIG_HEADERS include/config.h" ;;
17458 "gcj/libgcj-config.h" ) CONFIG_HEADERS
="$CONFIG_HEADERS gcj/libgcj-config.h" ;;
17459 *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
17460 echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
17461 { (exit 1); exit 1; }; };;
17465 # If the user did not use the arguments to specify the items to instantiate,
17466 # then the envvar interface is used. Set only those that are not.
17467 # We use the long form for the default assignment because of an extremely
17468 # bizarre bug on SunOS 4.1.3.
17469 if $ac_need_defaults; then
17470 test "${CONFIG_FILES+set}" = set || CONFIG_FILES
=$config_files
17471 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS
=$config_headers
17472 test "${CONFIG_LINKS+set}" = set || CONFIG_LINKS
=$config_links
17473 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS
=$config_commands
17476 # Have a temporary directory for convenience. Make it in the build tree
17477 # simply because there is no reason to put it here, and in addition,
17478 # creating and moving files from /tmp can sometimes cause problems.
17479 # Create a temporary directory, and hook for its removal unless debugging.
17482 trap 'exit_status=$?; rm -rf $tmp && exit $exit_status' 0
17483 trap '{ (exit 1); exit 1; }' 1 2 13 15
17486 # Create a (secure) tmp directory for tmp files.
17489 tmp
=`(umask 077 && mktemp -d -q "./confstatXXXXXX") 2>/dev/null` &&
17490 test -n "$tmp" && test -d "$tmp"
17493 tmp
=.
/confstat$$
-$RANDOM
17494 (umask 077 && mkdir
$tmp)
17497 echo "$me: cannot create a temporary directory in ." >&2
17498 { (exit 1); exit 1; }
17503 cat >>$CONFIG_STATUS <<_ACEOF
17506 # CONFIG_FILES section.
17509 # No need to generate the scripts if there are no CONFIG_FILES.
17510 # This happens for instance when ./config.status config.h
17511 if test -n "\$CONFIG_FILES"; then
17512 # Protect against being on the right side of a sed subst in config.status.
17513 sed 's/,@/@@/; s/@,/@@/; s/,;t t\$/@;t t/; /@;t t\$/s/[\\\\&,]/\\\\&/g;
17514 s/@@/,@/; s/@@/@,/; s/@;t t\$/,;t t/' >\$tmp/subs.sed <<\\CEOF
17515 s,@SHELL@,$SHELL,;t t
17516 s,@PATH_SEPARATOR@,$PATH_SEPARATOR,;t t
17517 s,@PACKAGE_NAME@,$PACKAGE_NAME,;t t
17518 s,@PACKAGE_TARNAME@,$PACKAGE_TARNAME,;t t
17519 s,@PACKAGE_VERSION@,$PACKAGE_VERSION,;t t
17520 s,@PACKAGE_STRING@,$PACKAGE_STRING,;t t
17521 s,@PACKAGE_BUGREPORT@,$PACKAGE_BUGREPORT,;t t
17522 s,@exec_prefix@,$exec_prefix,;t t
17523 s,@prefix@,$prefix,;t t
17524 s,@program_transform_name@,$program_transform_name,;t t
17525 s,@bindir@,$bindir,;t t
17526 s,@sbindir@,$sbindir,;t t
17527 s,@libexecdir@,$libexecdir,;t t
17528 s,@datadir@,$datadir,;t t
17529 s,@sysconfdir@,$sysconfdir,;t t
17530 s,@sharedstatedir@,$sharedstatedir,;t t
17531 s,@localstatedir@,$localstatedir,;t t
17532 s,@libdir@,$libdir,;t t
17533 s,@includedir@,$includedir,;t t
17534 s,@oldincludedir@,$oldincludedir,;t t
17535 s,@infodir@,$infodir,;t t
17536 s,@mandir@,$mandir,;t t
17537 s,@build_alias@,$build_alias,;t t
17538 s,@host_alias@,$host_alias,;t t
17539 s,@target_alias@,$target_alias,;t t
17540 s,@DEFS@,$DEFS,;t t
17541 s,@ECHO_C@,$ECHO_C,;t t
17542 s,@ECHO_N@,$ECHO_N,;t t
17543 s,@ECHO_T@,$ECHO_T,;t t
17544 s,@LIBS@,$LIBS,;t t
17545 s,@build@,$build,;t t
17546 s,@build_cpu@,$build_cpu,;t t
17547 s,@build_vendor@,$build_vendor,;t t
17548 s,@build_os@,$build_os,;t t
17549 s,@build_subdir@,$build_subdir,;t t
17550 s,@host_subdir@,$host_subdir,;t t
17551 s,@target_subdir@,$target_subdir,;t t
17552 s,@libgcj_basedir@,$libgcj_basedir,;t t
17553 s,@host@,$host,;t t
17554 s,@host_cpu@,$host_cpu,;t t
17555 s,@host_vendor@,$host_vendor,;t t
17556 s,@host_os@,$host_os,;t t
17557 s,@target@,$target,;t t
17558 s,@target_cpu@,$target_cpu,;t t
17559 s,@target_vendor@,$target_vendor,;t t
17560 s,@target_os@,$target_os,;t t
17561 s,@target_noncanonical@,$target_noncanonical,;t t
17562 s,@LN_S@,$LN_S,;t t
17563 s,@mkinstalldirs@,$mkinstalldirs,;t t
17565 s,@ac_ct_CC@,$ac_ct_CC,;t t
17566 s,@EXEEXT@,$EXEEXT,;t t
17567 s,@OBJEXT@,$OBJEXT,;t t
17569 s,@ac_ct_CXX@,$ac_ct_CXX,;t t
17570 s,@CFLAGS@,$CFLAGS,;t t
17571 s,@CXXFLAGS@,$CXXFLAGS,;t t
17572 s,@LDFLAGS@,$LDFLAGS,;t t
17573 s,@INSTALL_PROGRAM@,$INSTALL_PROGRAM,;t t
17574 s,@INSTALL_SCRIPT@,$INSTALL_SCRIPT,;t t
17575 s,@INSTALL_DATA@,$INSTALL_DATA,;t t
17576 s,@CYGPATH_W@,$CYGPATH_W,;t t
17577 s,@PACKAGE@,$PACKAGE,;t t
17578 s,@VERSION@,$VERSION,;t t
17579 s,@ACLOCAL@,$ACLOCAL,;t t
17580 s,@AUTOCONF@,$AUTOCONF,;t t
17581 s,@AUTOMAKE@,$AUTOMAKE,;t t
17582 s,@AUTOHEADER@,$AUTOHEADER,;t t
17583 s,@MAKEINFO@,$MAKEINFO,;t t
17584 s,@install_sh@,$install_sh,;t t
17585 s,@STRIP@,$STRIP,;t t
17586 s,@ac_ct_STRIP@,$ac_ct_STRIP,;t t
17587 s,@INSTALL_STRIP_PROGRAM@,$INSTALL_STRIP_PROGRAM,;t t
17588 s,@mkdir_p@,$mkdir_p,;t t
17590 s,@SET_MAKE@,$SET_MAKE,;t t
17591 s,@am__leading_dot@,$am__leading_dot,;t t
17592 s,@AMTAR@,$AMTAR,;t t
17593 s,@am__tar@,$am__tar,;t t
17594 s,@am__untar@,$am__untar,;t t
17595 s,@DEPDIR@,$DEPDIR,;t t
17596 s,@am__include@,$am__include,;t t
17597 s,@am__quote@,$am__quote,;t t
17598 s,@AMDEP_TRUE@,$AMDEP_TRUE,;t t
17599 s,@AMDEP_FALSE@,$AMDEP_FALSE,;t t
17600 s,@AMDEPBACKSLASH@,$AMDEPBACKSLASH,;t t
17601 s,@CCDEPMODE@,$CCDEPMODE,;t t
17602 s,@am__fastdepCC_TRUE@,$am__fastdepCC_TRUE,;t t
17603 s,@am__fastdepCC_FALSE@,$am__fastdepCC_FALSE,;t t
17604 s,@CXXDEPMODE@,$CXXDEPMODE,;t t
17605 s,@am__fastdepCXX_TRUE@,$am__fastdepCXX_TRUE,;t t
17606 s,@am__fastdepCXX_FALSE@,$am__fastdepCXX_FALSE,;t t
17608 s,@ac_ct_AS@,$ac_ct_AS,;t t
17610 s,@ac_ct_AR@,$ac_ct_AR,;t t
17611 s,@RANLIB@,$RANLIB,;t t
17612 s,@ac_ct_RANLIB@,$ac_ct_RANLIB,;t t
17613 s,@MAINTAINER_MODE_TRUE@,$MAINTAINER_MODE_TRUE,;t t
17614 s,@MAINTAINER_MODE_FALSE@,$MAINTAINER_MODE_FALSE,;t t
17615 s,@MAINT@,$MAINT,;t t
17616 s,@LIBGCJ_CFLAGS@,$LIBGCJ_CFLAGS,;t t
17617 s,@LIBGCJ_CXXFLAGS@,$LIBGCJ_CXXFLAGS,;t t
17618 s,@LIBGCJ_JAVAFLAGS@,$LIBGCJ_JAVAFLAGS,;t t
17619 s,@LIBGCJ_LD_SYMBOLIC@,$LIBGCJ_LD_SYMBOLIC,;t t
17620 s,@LIBGCJDEBUG@,$LIBGCJDEBUG,;t t
17621 s,@TOOLKIT@,$TOOLKIT,;t t
17622 s,@XLIB_AWT_TRUE@,$XLIB_AWT_TRUE,;t t
17623 s,@XLIB_AWT_FALSE@,$XLIB_AWT_FALSE,;t t
17624 s,@GTK_AWT_TRUE@,$GTK_AWT_TRUE,;t t
17625 s,@GTK_AWT_FALSE@,$GTK_AWT_FALSE,;t t
17626 s,@GCJH@,$GCJH,;t t
17628 s,@INCLTDL@,$INCLTDL,;t t
17629 s,@LIBLTDL@,$LIBLTDL,;t t
17630 s,@DIRLTDL@,$DIRLTDL,;t t
17631 s,@LIBTOOL@,$LIBTOOL,;t t
17632 s,@CXXCPP@,$CXXCPP,;t t
17633 s,@CPPFLAGS@,$CPPFLAGS,;t t
17635 s,@GCJFLAGS@,$GCJFLAGS,;t t
17636 s,@GCJDEPMODE@,$GCJDEPMODE,;t t
17637 s,@am__fastdepGCJ_TRUE@,$am__fastdepGCJ_TRUE,;t t
17638 s,@am__fastdepGCJ_FALSE@,$am__fastdepGCJ_FALSE,;t t
17639 s,@subdirs@,$subdirs,;t t
17640 s,@TESTSUBDIR_TRUE@,$TESTSUBDIR_TRUE,;t t
17641 s,@TESTSUBDIR_FALSE@,$TESTSUBDIR_FALSE,;t t
17642 s,@JAVA_HOME_SET_TRUE@,$JAVA_HOME_SET_TRUE,;t t
17643 s,@JAVA_HOME_SET_FALSE@,$JAVA_HOME_SET_FALSE,;t t
17644 s,@JAVA_HOME@,$JAVA_HOME,;t t
17645 s,@INTERPRETER@,$INTERPRETER,;t t
17646 s,@LIBFFI@,$LIBFFI,;t t
17647 s,@LIBFFIINCS@,$LIBFFIINCS,;t t
17648 s,@PLATFORM_INNER_NAT_HDRS@,$PLATFORM_INNER_NAT_HDRS,;t t
17650 s,@EGREP@,$EGREP,;t t
17651 s,@USING_WIN32_PLATFORM_TRUE@,$USING_WIN32_PLATFORM_TRUE,;t t
17652 s,@USING_WIN32_PLATFORM_FALSE@,$USING_WIN32_PLATFORM_FALSE,;t t
17653 s,@USING_POSIX_PLATFORM_TRUE@,$USING_POSIX_PLATFORM_TRUE,;t t
17654 s,@USING_POSIX_PLATFORM_FALSE@,$USING_POSIX_PLATFORM_FALSE,;t t
17655 s,@USING_DARWIN_CRT_TRUE@,$USING_DARWIN_CRT_TRUE,;t t
17656 s,@USING_DARWIN_CRT_FALSE@,$USING_DARWIN_CRT_FALSE,;t t
17657 s,@SYSTEMSPEC@,$SYSTEMSPEC,;t t
17658 s,@LIBGCJTESTSPEC@,$LIBGCJTESTSPEC,;t t
17659 s,@ZLIBSPEC@,$ZLIBSPEC,;t t
17660 s,@ZLIBTESTSPEC@,$ZLIBTESTSPEC,;t t
17661 s,@X_CFLAGS@,$X_CFLAGS,;t t
17662 s,@X_PRE_LIBS@,$X_PRE_LIBS,;t t
17663 s,@X_LIBS@,$X_LIBS,;t t
17664 s,@X_EXTRA_LIBS@,$X_EXTRA_LIBS,;t t
17665 s,@GTK_CAIRO_TRUE@,$GTK_CAIRO_TRUE,;t t
17666 s,@GTK_CAIRO_FALSE@,$GTK_CAIRO_FALSE,;t t
17667 s,@PKG_CONFIG@,$PKG_CONFIG,;t t
17668 s,@CAIRO_CFLAGS@,$CAIRO_CFLAGS,;t t
17669 s,@CAIRO_LIBS@,$CAIRO_LIBS,;t t
17670 s,@PANGOFT2_CFLAGS@,$PANGOFT2_CFLAGS,;t t
17671 s,@PANGOFT2_LIBS@,$PANGOFT2_LIBS,;t t
17672 s,@extra_ldflags_libjava@,$extra_ldflags_libjava,;t t
17673 s,@GCLIBS@,$GCLIBS,;t t
17674 s,@GCINCS@,$GCINCS,;t t
17675 s,@GCDEPS@,$GCDEPS,;t t
17676 s,@GCSPEC@,$GCSPEC,;t t
17677 s,@JC1GCSPEC@,$JC1GCSPEC,;t t
17678 s,@GCTESTSPEC@,$GCTESTSPEC,;t t
17679 s,@USING_BOEHMGC_TRUE@,$USING_BOEHMGC_TRUE,;t t
17680 s,@USING_BOEHMGC_FALSE@,$USING_BOEHMGC_FALSE,;t t
17681 s,@USING_NOGC_TRUE@,$USING_NOGC_TRUE,;t t
17682 s,@USING_NOGC_FALSE@,$USING_NOGC_FALSE,;t t
17683 s,@THREADLIBS@,$THREADLIBS,;t t
17684 s,@THREADINCS@,$THREADINCS,;t t
17685 s,@THREADDEPS@,$THREADDEPS,;t t
17686 s,@THREADSPEC@,$THREADSPEC,;t t
17687 s,@THREADLDFLAGS@,$THREADLDFLAGS,;t t
17688 s,@THREADCXXFLAGS@,$THREADCXXFLAGS,;t t
17689 s,@USING_POSIX_THREADS_TRUE@,$USING_POSIX_THREADS_TRUE,;t t
17690 s,@USING_POSIX_THREADS_FALSE@,$USING_POSIX_THREADS_FALSE,;t t
17691 s,@USING_WIN32_THREADS_TRUE@,$USING_WIN32_THREADS_TRUE,;t t
17692 s,@USING_WIN32_THREADS_FALSE@,$USING_WIN32_THREADS_FALSE,;t t
17693 s,@USING_NO_THREADS_TRUE@,$USING_NO_THREADS_TRUE,;t t
17694 s,@USING_NO_THREADS_FALSE@,$USING_NO_THREADS_FALSE,;t t
17695 s,@HASH_SYNC_SPEC@,$HASH_SYNC_SPEC,;t t
17696 s,@USING_GCC_TRUE@,$USING_GCC_TRUE,;t t
17697 s,@USING_GCC_FALSE@,$USING_GCC_FALSE,;t t
17698 s,@LIBICONV@,$LIBICONV,;t t
17699 s,@LTLIBICONV@,$LTLIBICONV,;t t
17700 s,@GTK_CFLAGS@,$GTK_CFLAGS,;t t
17701 s,@GTK_LIBS@,$GTK_LIBS,;t t
17702 s,@GLIB_CFLAGS@,$GLIB_CFLAGS,;t t
17703 s,@GLIB_LIBS@,$GLIB_LIBS,;t t
17704 s,@LIBART_CFLAGS@,$LIBART_CFLAGS,;t t
17705 s,@LIBART_LIBS@,$LIBART_LIBS,;t t
17706 s,@SUPPLY_BACKTRACE_TRUE@,$SUPPLY_BACKTRACE_TRUE,;t t
17707 s,@SUPPLY_BACKTRACE_FALSE@,$SUPPLY_BACKTRACE_FALSE,;t t
17708 s,@CLASSPATH_SEPARATOR@,$CLASSPATH_SEPARATOR,;t t
17709 s,@ac_ct_GCJ@,$ac_ct_GCJ,;t t
17710 s,@ZLIBS@,$ZLIBS,;t t
17711 s,@SYS_ZLIBS@,$SYS_ZLIBS,;t t
17712 s,@ZINCS@,$ZINCS,;t t
17713 s,@DIVIDESPEC@,$DIVIDESPEC,;t t
17714 s,@CHECKREFSPEC@,$CHECKREFSPEC,;t t
17715 s,@EXCEPTIONSPEC@,$EXCEPTIONSPEC,;t t
17716 s,@BACKTRACESPEC@,$BACKTRACESPEC,;t t
17717 s,@IEEESPEC@,$IEEESPEC,;t t
17718 s,@NATIVE_TRUE@,$NATIVE_TRUE,;t t
17719 s,@NATIVE_FALSE@,$NATIVE_FALSE,;t t
17720 s,@NEEDS_DATA_START_TRUE@,$NEEDS_DATA_START_TRUE,;t t
17721 s,@NEEDS_DATA_START_FALSE@,$NEEDS_DATA_START_FALSE,;t t
17722 s,@GCC_UNWIND_INCLUDE@,$GCC_UNWIND_INCLUDE,;t t
17723 s,@toolexecdir@,$toolexecdir,;t t
17724 s,@toolexecmainlibdir@,$toolexecmainlibdir,;t t
17725 s,@toolexeclibdir@,$toolexeclibdir,;t t
17726 s,@GCJVERSION@,$GCJVERSION,;t t
17727 s,@gxx_include_dir@,$gxx_include_dir,;t t
17728 s,@libstdcxx_incdir@,$libstdcxx_incdir,;t t
17729 s,@ALLOCA@,$ALLOCA,;t t
17730 s,@PERL@,$PERL,;t t
17731 s,@SYSDEP_SOURCES@,$SYSDEP_SOURCES,;t t
17732 s,@here@,$here,;t t
17733 s,@LIBOBJS@,$LIBOBJS,;t t
17734 s,@LTLIBOBJS@,$LTLIBOBJS,;t t
17739 cat >>$CONFIG_STATUS <<\_ACEOF
17740 # Split the substitutions into bite-sized pieces for seds with
17741 # small command number limits, like on Digital OSF/1 and HP-UX.
17742 ac_max_sed_lines
=48
17743 ac_sed_frag
=1 # Number of current file.
17744 ac_beg
=1 # First line for current file.
17745 ac_end
=$ac_max_sed_lines # Line after last line for current file.
17748 while $ac_more_lines; do
17749 if test $ac_beg -gt 1; then
17750 sed "1,${ac_beg}d; ${ac_end}q" $tmp/subs.
sed >$tmp/subs.frag
17752 sed "${ac_end}q" $tmp/subs.
sed >$tmp/subs.frag
17754 if test ! -s $tmp/subs.frag
; then
17755 ac_more_lines
=false
17757 # The purpose of the label and of the branching condition is to
17758 # speed up the sed processing (if there are no `@' at all, there
17759 # is no need to browse any of the substitutions).
17760 # These are the two extra sed commands mentioned above.
17762 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b' && cat $tmp/subs.frag
) >$tmp/subs-
$ac_sed_frag.
sed
17763 if test -z "$ac_sed_cmds"; then
17764 ac_sed_cmds
="sed -f $tmp/subs-$ac_sed_frag.sed"
17766 ac_sed_cmds
="$ac_sed_cmds | sed -f $tmp/subs-$ac_sed_frag.sed"
17768 ac_sed_frag
=`expr $ac_sed_frag + 1`
17770 ac_end
=`expr $ac_end + $ac_max_sed_lines`
17773 if test -z "$ac_sed_cmds"; then
17776 fi # test -n "$CONFIG_FILES"
17779 cat >>$CONFIG_STATUS <<\_ACEOF
17780 for ac_file
in : $CONFIG_FILES; do test "x$ac_file" = x
: && continue
17781 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
17783 - |
*:- |
*:-:* ) # input from stdin
17785 ac_file_in
=`echo "$ac_file" | sed 's,[^:]*:,,'`
17786 ac_file
=`echo "$ac_file" | sed 's,:.*,,'` ;;
17787 *:* ) ac_file_in
=`echo "$ac_file" | sed 's,[^:]*:,,'`
17788 ac_file
=`echo "$ac_file" | sed 's,:.*,,'` ;;
17789 * ) ac_file_in
=$ac_file.
in ;;
17792 # Compute @srcdir@, @top_srcdir@, and @INSTALL@ for subdirectories.
17793 ac_dir
=`(dirname "$ac_file") 2>/dev/null ||
17794 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
17795 X"$ac_file" : 'X\(//\)[^/]' \| \
17796 X"$ac_file" : 'X\(//\)$' \| \
17797 X"$ac_file" : 'X\(/\)' \| \
17798 . : '\(.\)' 2>/dev/null ||
17800 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
17801 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
17802 /^X\(\/\/\)$/{ s//\1/; q; }
17803 /^X\(\/\).*/{ s//\1/; q; }
17805 { if $as_mkdir_p; then
17810 while test ! -d "$as_dir"; do
17811 as_dirs
="$as_dir $as_dirs"
17812 as_dir
=`(dirname "$as_dir") 2>/dev/null ||
17813 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
17814 X"$as_dir" : 'X\(//\)[^/]' \| \
17815 X"$as_dir" : 'X\(//\)$' \| \
17816 X"$as_dir" : 'X\(/\)' \| \
17817 . : '\(.\)' 2>/dev/null ||
17819 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
17820 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
17821 /^X\(\/\/\)$/{ s//\1/; q; }
17822 /^X\(\/\).*/{ s//\1/; q; }
17825 test ! -n "$as_dirs" || mkdir
$as_dirs
17826 fi ||
{ { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
17827 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
17828 { (exit 1); exit 1; }; }; }
17832 if test "$ac_dir" != .
; then
17833 ac_dir_suffix
=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
17834 # A "../" for each directory in $ac_dir_suffix.
17835 ac_top_builddir
=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
17837 ac_dir_suffix
= ac_top_builddir
=
17841 .
) # No --srcdir option. We are building in place.
17843 if test -z "$ac_top_builddir"; then
17846 ac_top_srcdir
=`echo $ac_top_builddir | sed 's,/$,,'`
17848 [\\/]* | ?
:[\\/]* ) # Absolute path.
17849 ac_srcdir
=$srcdir$ac_dir_suffix;
17850 ac_top_srcdir
=$srcdir ;;
17851 *) # Relative path.
17852 ac_srcdir
=$ac_top_builddir$srcdir$ac_dir_suffix
17853 ac_top_srcdir
=$ac_top_builddir$srcdir ;;
17856 # Do not use `cd foo && pwd` to compute absolute paths, because
17857 # the directories may not exist.
17859 .
) ac_abs_builddir
="$ac_dir";;
17862 .
) ac_abs_builddir
=`pwd`;;
17863 [\\/]* | ?
:[\\/]* ) ac_abs_builddir
="$ac_dir";;
17864 *) ac_abs_builddir
=`pwd`/"$ac_dir";;
17867 case $ac_abs_builddir in
17868 .
) ac_abs_top_builddir
=${ac_top_builddir}.
;;
17870 case ${ac_top_builddir}.
in
17871 .
) ac_abs_top_builddir
=$ac_abs_builddir;;
17872 [\\/]* | ?
:[\\/]* ) ac_abs_top_builddir
=${ac_top_builddir}.
;;
17873 *) ac_abs_top_builddir
=$ac_abs_builddir/${ac_top_builddir}.
;;
17876 case $ac_abs_builddir in
17877 .
) ac_abs_srcdir
=$ac_srcdir;;
17880 .
) ac_abs_srcdir
=$ac_abs_builddir;;
17881 [\\/]* | ?
:[\\/]* ) ac_abs_srcdir
=$ac_srcdir;;
17882 *) ac_abs_srcdir
=$ac_abs_builddir/$ac_srcdir;;
17885 case $ac_abs_builddir in
17886 .
) ac_abs_top_srcdir
=$ac_top_srcdir;;
17888 case $ac_top_srcdir in
17889 .
) ac_abs_top_srcdir
=$ac_abs_builddir;;
17890 [\\/]* | ?
:[\\/]* ) ac_abs_top_srcdir
=$ac_top_srcdir;;
17891 *) ac_abs_top_srcdir
=$ac_abs_builddir/$ac_top_srcdir;;
17897 [\\/$
]* | ?
:[\\/]* ) ac_INSTALL
=$INSTALL ;;
17898 *) ac_INSTALL
=$ac_top_builddir$INSTALL ;;
17901 if test x
"$ac_file" != x-
; then
17902 { echo "$as_me:$LINENO: creating $ac_file" >&5
17903 echo "$as_me: creating $ac_file" >&6;}
17906 # Let's still pretend it is `configure' which instantiates (i.e., don't
17907 # use $as_me), people would be surprised to read:
17908 # /* config.h. Generated by config.status. */
17909 if test x
"$ac_file" = x-
; then
17912 configure_input
="$ac_file. "
17914 configure_input
=$configure_input"Generated from `echo $ac_file_in |
17915 sed 's,.*/,,'` by configure."
17917 # First look for the input files in the build tree, otherwise in the
17919 ac_file_inputs
=`IFS=:
17920 for f in $ac_file_in; do
17922 -) echo $tmp/stdin ;;
17924 # Absolute (can't be DOS-style, as IFS=:)
17925 test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
17926 echo "$as_me: error: cannot find input file: $f" >&2;}
17927 { (exit 1); exit 1; }; }
17930 if test -f "$f"; then
17933 elif test -f "$srcdir/$f"; then
17938 { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
17939 echo "$as_me: error: cannot find input file: $f" >&2;}
17940 { (exit 1); exit 1; }; }
17943 done` ||
{ (exit 1); exit 1; }
17945 cat >>$CONFIG_STATUS <<_ACEOF
17949 cat >>$CONFIG_STATUS <<\_ACEOF
17951 /@
[a-zA-Z_
][a-zA-Z_0-9
]*@
/!b
17952 s
,@configure_input@
,$configure_input,;t t
17953 s
,@srcdir@
,$ac_srcdir,;t t
17954 s
,@abs_srcdir@
,$ac_abs_srcdir,;t t
17955 s
,@top_srcdir@
,$ac_top_srcdir,;t t
17956 s
,@abs_top_srcdir@
,$ac_abs_top_srcdir,;t t
17957 s
,@builddir@
,$ac_builddir,;t t
17958 s
,@abs_builddir@
,$ac_abs_builddir,;t t
17959 s
,@top_builddir@
,$ac_top_builddir,;t t
17960 s
,@abs_top_builddir@
,$ac_abs_top_builddir,;t t
17961 s
,@INSTALL@
,$ac_INSTALL,;t t
17962 " $ac_file_inputs | (eval "$ac_sed_cmds") >$tmp/out
17964 if test x"$ac_file" != x-; then
17965 mv $tmp/out $ac_file
17973 cat >>$CONFIG_STATUS <<\_ACEOF
17976 # CONFIG_HEADER section.
17979 # These sed commands are passed to sed as "A NAME B NAME C VALUE D
", where
17980 # NAME is the cpp macro being defined and VALUE is the value it is being given.
17982 # ac_d sets the value in "#define NAME VALUE" lines.
17983 ac_dA
='s,^\([ ]*\)#\([ ]*define[ ][ ]*\)'
17984 ac_dB
='[ ].*$,\1#\2'
17987 # ac_u turns "#undef NAME" without trailing blanks into "#define NAME VALUE".
17988 ac_uA
='s,^\([ ]*\)#\([ ]*\)undef\([ ][ ]*\)'
17989 ac_uB
='$,\1#\2define\3'
17993 for ac_file
in : $CONFIG_HEADERS; do test "x$ac_file" = x
: && continue
17994 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
17996 - |
*:- |
*:-:* ) # input from stdin
17998 ac_file_in
=`echo "$ac_file" | sed 's,[^:]*:,,'`
17999 ac_file
=`echo "$ac_file" | sed 's,:.*,,'` ;;
18000 *:* ) ac_file_in
=`echo "$ac_file" | sed 's,[^:]*:,,'`
18001 ac_file
=`echo "$ac_file" | sed 's,:.*,,'` ;;
18002 * ) ac_file_in
=$ac_file.
in ;;
18005 test x
"$ac_file" != x-
&& { echo "$as_me:$LINENO: creating $ac_file" >&5
18006 echo "$as_me: creating $ac_file" >&6;}
18008 # First look for the input files in the build tree, otherwise in the
18010 ac_file_inputs
=`IFS=:
18011 for f in $ac_file_in; do
18013 -) echo $tmp/stdin ;;
18015 # Absolute (can't be DOS-style, as IFS=:)
18016 test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
18017 echo "$as_me: error: cannot find input file: $f" >&2;}
18018 { (exit 1); exit 1; }; }
18019 # Do quote $f, to prevent DOS paths from being IFS'd.
18022 if test -f "$f"; then
18025 elif test -f "$srcdir/$f"; then
18030 { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
18031 echo "$as_me: error: cannot find input file: $f" >&2;}
18032 { (exit 1); exit 1; }; }
18035 done` ||
{ (exit 1); exit 1; }
18036 # Remove the trailing spaces.
18037 sed 's/[ ]*$//' $ac_file_inputs >$tmp/in
18041 # Transform confdefs.h into two sed scripts, `conftest.defines' and
18042 # `conftest.undefs', that substitutes the proper values into
18043 # config.h.in to produce config.h. The first handles `#define'
18044 # templates, and the second `#undef' templates.
18045 # And first: Protect against being on the right side of a sed subst in
18046 # config.status. Protect against being in an unquoted here document
18047 # in config.status.
18048 rm -f conftest.defines conftest.undefs
18049 # Using a here document instead of a string reduces the quoting nightmare.
18050 # Putting comments in sed scripts is not portable.
18052 # `end' is used to avoid that the second main sed command (meant for
18053 # 0-ary CPP macros) applies to n-ary macro definitions.
18054 # See the Autoconf documentation for `clear'.
18055 cat >confdef2sed.
sed <<\_ACEOF
18060 s,^[ ]*#[ ]*define[ ][ ]*\([^ (][^ (]*\)\(([^)]*)\)[ ]*\(.*\)$,${ac_dA}\1${ac_dB}\1\2${ac_dC}\3${ac_dD},gp
18062 s,^[ ]*#[ ]*define[ ][ ]*\([^ ][^ ]*\)[ ]*\(.*\)$,${ac_dA}\1${ac_dB}\1${ac_dC}\2${ac_dD},gp
18065 # If some macros were called several times there might be several times
18066 # the same #defines, which is useless. Nevertheless, we may not want to
18067 # sort them, since we want the *last* AC-DEFINE to be honored.
18068 uniq confdefs.h | sed -n -f confdef2sed.sed >conftest.defines
18069 sed 's/ac_d/ac_u/g' conftest.defines >conftest.undefs
18070 rm -f confdef2sed.sed
18072 # This sed command replaces #undef with comments. This is necessary, for
18073 # example, in the case of _POSIX_SOURCE, which is predefined and required
18074 # on some systems where configure will not decide to define it.
18075 cat >>conftest.undefs <<\_ACEOF
18076 s,^[ ]*#[ ]*undef[ ][ ]*[a-zA-Z_][a-zA-Z_0-9]*,/* & */,
18079 # Break up conftest.defines because some shells have a limit on the size
18080 # of here documents, and old seds have small limits too (100 cmds).
18081 echo ' # Handle all the #define templates only if necessary.' >>$CONFIG_STATUS
18082 echo ' if grep "^[ ]*#[ ]*define" $tmp/in >/dev/null; then' >>$CONFIG_STATUS
18083 echo ' # If there are no defines, we may have an empty if/fi' >>$CONFIG_STATUS
18084 echo ' :' >>$CONFIG_STATUS
18085 rm -f conftest.tail
18086 while grep . conftest.defines >/dev/null
18088 # Write a limited-size here document to $tmp/defines.sed.
18089 echo ' cat >$tmp/defines.sed <<CEOF' >>$CONFIG_STATUS
18090 # Speed up: don't consider the non `#define' lines.
18091 echo '/^[ ]*#[ ]*define/!b' >>$CONFIG_STATUS
18092 # Work around the forget-to-reset-the-flag bug.
18093 echo 't clr' >>$CONFIG_STATUS
18094 echo ': clr' >>$CONFIG_STATUS
18095 sed ${ac_max_here_lines}q conftest.defines
>>$CONFIG_STATUS
18097 sed -f $tmp/defines.sed $tmp/in >$tmp/out
18099 mv $tmp/out $tmp/in
18101 sed 1,${ac_max_here_lines}d conftest.defines
>conftest.
tail
18102 rm -f conftest.defines
18103 mv conftest.
tail conftest.defines
18105 rm -f conftest.defines
18106 echo ' fi # grep' >>$CONFIG_STATUS
18107 echo >>$CONFIG_STATUS
18109 # Break up conftest.undefs because some shells have a limit on the size
18110 # of here documents, and old seds have small limits too (100 cmds).
18111 echo ' # Handle all the #undef templates' >>$CONFIG_STATUS
18112 rm -f conftest.
tail
18113 while grep . conftest.undefs
>/dev
/null
18115 # Write a limited-size here document to $tmp/undefs.sed.
18116 echo ' cat >$tmp/undefs.sed <<CEOF' >>$CONFIG_STATUS
18117 # Speed up: don't consider the non
`#undef'
18118 echo '/^[ ]*#[ ]*undef/!b' >>$CONFIG_STATUS
18119 # Work around the forget-to-reset-the-flag bug.
18120 echo 't clr' >>$CONFIG_STATUS
18121 echo ': clr' >>$CONFIG_STATUS
18122 sed ${ac_max_here_lines}q conftest.undefs >>$CONFIG_STATUS
18124 sed -f $tmp/undefs.sed $tmp/in >$tmp/out
18126 mv $tmp/out $tmp/in
18128 sed 1,${ac_max_here_lines}d conftest.undefs >conftest.tail
18129 rm -f conftest.undefs
18130 mv conftest.tail conftest.undefs
18132 rm -f conftest.undefs
18134 cat >>$CONFIG_STATUS <<\_ACEOF
18135 # Let's still pretend it is `configure
' which instantiates (i.e., don't
18136 # use $as_me), people would be surprised to read:
18137 # /* config.h. Generated by config.status. */
18138 if test x
"$ac_file" = x-
; then
18139 echo "/* Generated by configure. */" >$tmp/config.h
18141 echo "/* $ac_file. Generated by configure. */" >$tmp/config.h
18143 cat $tmp/in >>$tmp/config.h
18145 if test x
"$ac_file" != x-
; then
18146 if diff $ac_file $tmp/config.h
>/dev
/null
2>&1; then
18147 { echo "$as_me:$LINENO: $ac_file is unchanged" >&5
18148 echo "$as_me: $ac_file is unchanged" >&6;}
18150 ac_dir
=`(dirname "$ac_file") 2>/dev/null ||
18151 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
18152 X"$ac_file" : 'X\(//\)[^/]' \| \
18153 X"$ac_file" : 'X\(//\)$' \| \
18154 X"$ac_file" : 'X\(/\)' \| \
18155 . : '\(.\)' 2>/dev/null ||
18157 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
18158 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
18159 /^X\(\/\/\)$/{ s//\1/; q; }
18160 /^X\(\/\).*/{ s//\1/; q; }
18162 { if $as_mkdir_p; then
18167 while test ! -d "$as_dir"; do
18168 as_dirs
="$as_dir $as_dirs"
18169 as_dir
=`(dirname "$as_dir") 2>/dev/null ||
18170 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
18171 X"$as_dir" : 'X\(//\)[^/]' \| \
18172 X"$as_dir" : 'X\(//\)$' \| \
18173 X"$as_dir" : 'X\(/\)' \| \
18174 . : '\(.\)' 2>/dev/null ||
18176 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
18177 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
18178 /^X\(\/\/\)$/{ s//\1/; q; }
18179 /^X\(\/\).*/{ s//\1/; q; }
18182 test ! -n "$as_dirs" || mkdir
$as_dirs
18183 fi ||
{ { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
18184 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
18185 { (exit 1); exit 1; }; }; }
18188 mv $tmp/config.h
$ac_file
18192 rm -f $tmp/config.h
18194 # Compute $ac_file's index in $config_headers.
18196 for _am_header
in $config_headers :; do
18197 case $_am_header in
18198 $ac_file |
$ac_file:* )
18201 _am_stamp_count
=`expr $_am_stamp_count + 1` ;;
18204 echo "timestamp for $ac_file" >`(dirname $ac_file) 2>/dev/null ||
18205 $as_expr X$ac_file : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
18206 X$ac_file : 'X\(//\)[^/]' \| \
18207 X$ac_file : 'X\(//\)$' \| \
18208 X$ac_file : 'X\(/\)' \| \
18209 . : '\(.\)' 2>/dev/null ||
18211 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
18212 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
18213 /^X\(\/\/\)$/{ s//\1/; q; }
18214 /^X\(\/\).*/{ s//\1/; q; }
18215 s/.*/./; q'`/stamp-h
$_am_stamp_count
18218 cat >>$CONFIG_STATUS <<\_ACEOF
18221 # CONFIG_LINKS section.
18224 for ac_file
in : $CONFIG_LINKS; do test "x$ac_file" = x
: && continue
18225 ac_dest
=`echo "$ac_file" | sed 's,:.*,,'`
18226 ac_source
=`echo "$ac_file" | sed 's,[^:]*:,,'`
18228 { echo "$as_me:$LINENO: linking $srcdir/$ac_source to $ac_dest" >&5
18229 echo "$as_me: linking $srcdir/$ac_source to $ac_dest" >&6;}
18231 if test ! -r $srcdir/$ac_source; then
18232 { { echo "$as_me:$LINENO: error: $srcdir/$ac_source: file not found" >&5
18233 echo "$as_me: error: $srcdir/$ac_source: file not found" >&2;}
18234 { (exit 1); exit 1; }; }
18238 # Make relative symlinks.
18239 ac_dest_dir
=`(dirname "$ac_dest") 2>/dev/null ||
18240 $as_expr X"$ac_dest" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
18241 X"$ac_dest" : 'X\(//\)[^/]' \| \
18242 X"$ac_dest" : 'X\(//\)$' \| \
18243 X"$ac_dest" : 'X\(/\)' \| \
18244 . : '\(.\)' 2>/dev/null ||
18246 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
18247 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
18248 /^X\(\/\/\)$/{ s//\1/; q; }
18249 /^X\(\/\).*/{ s//\1/; q; }
18251 { if $as_mkdir_p; then
18252 mkdir
-p "$ac_dest_dir"
18254 as_dir
="$ac_dest_dir"
18256 while test ! -d "$as_dir"; do
18257 as_dirs
="$as_dir $as_dirs"
18258 as_dir
=`(dirname "$as_dir") 2>/dev/null ||
18259 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
18260 X"$as_dir" : 'X\(//\)[^/]' \| \
18261 X"$as_dir" : 'X\(//\)$' \| \
18262 X"$as_dir" : 'X\(/\)' \| \
18263 . : '\(.\)' 2>/dev/null ||
18265 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
18266 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
18267 /^X\(\/\/\)$/{ s//\1/; q; }
18268 /^X\(\/\).*/{ s//\1/; q; }
18271 test ! -n "$as_dirs" || mkdir
$as_dirs
18272 fi ||
{ { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dest_dir\"" >&5
18273 echo "$as_me: error: cannot create directory \"$ac_dest_dir\"" >&2;}
18274 { (exit 1); exit 1; }; }; }
18278 if test "$ac_dest_dir" != .
; then
18279 ac_dir_suffix
=/`echo "$ac_dest_dir" | sed 's,^\.[\\/],,'`
18280 # A "../" for each directory in $ac_dir_suffix.
18281 ac_top_builddir
=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
18283 ac_dir_suffix
= ac_top_builddir
=
18287 .
) # No --srcdir option. We are building in place.
18289 if test -z "$ac_top_builddir"; then
18292 ac_top_srcdir
=`echo $ac_top_builddir | sed 's,/$,,'`
18294 [\\/]* | ?
:[\\/]* ) # Absolute path.
18295 ac_srcdir
=$srcdir$ac_dir_suffix;
18296 ac_top_srcdir
=$srcdir ;;
18297 *) # Relative path.
18298 ac_srcdir
=$ac_top_builddir$srcdir$ac_dir_suffix
18299 ac_top_srcdir
=$ac_top_builddir$srcdir ;;
18302 # Do not use `cd foo && pwd` to compute absolute paths, because
18303 # the directories may not exist.
18305 .
) ac_abs_builddir
="$ac_dest_dir";;
18307 case "$ac_dest_dir" in
18308 .
) ac_abs_builddir
=`pwd`;;
18309 [\\/]* | ?
:[\\/]* ) ac_abs_builddir
="$ac_dest_dir";;
18310 *) ac_abs_builddir
=`pwd`/"$ac_dest_dir";;
18313 case $ac_abs_builddir in
18314 .
) ac_abs_top_builddir
=${ac_top_builddir}.
;;
18316 case ${ac_top_builddir}.
in
18317 .
) ac_abs_top_builddir
=$ac_abs_builddir;;
18318 [\\/]* | ?
:[\\/]* ) ac_abs_top_builddir
=${ac_top_builddir}.
;;
18319 *) ac_abs_top_builddir
=$ac_abs_builddir/${ac_top_builddir}.
;;
18322 case $ac_abs_builddir in
18323 .
) ac_abs_srcdir
=$ac_srcdir;;
18326 .
) ac_abs_srcdir
=$ac_abs_builddir;;
18327 [\\/]* | ?
:[\\/]* ) ac_abs_srcdir
=$ac_srcdir;;
18328 *) ac_abs_srcdir
=$ac_abs_builddir/$ac_srcdir;;
18331 case $ac_abs_builddir in
18332 .
) ac_abs_top_srcdir
=$ac_top_srcdir;;
18334 case $ac_top_srcdir in
18335 .
) ac_abs_top_srcdir
=$ac_abs_builddir;;
18336 [\\/]* | ?
:[\\/]* ) ac_abs_top_srcdir
=$ac_top_srcdir;;
18337 *) ac_abs_top_srcdir
=$ac_abs_builddir/$ac_top_srcdir;;
18343 [\\/$
]* | ?
:[\\/]* ) ac_rel_source
=$srcdir/$ac_source ;;
18344 *) ac_rel_source
=$ac_top_builddir$srcdir/$ac_source ;;
18347 # Try a symlink, then a hard link, then a copy.
18348 ln -s $ac_rel_source $ac_dest 2>/dev
/null ||
18349 ln $srcdir/$ac_source $ac_dest 2>/dev
/null ||
18350 cp -p $srcdir/$ac_source $ac_dest ||
18351 { { echo "$as_me:$LINENO: error: cannot link or copy $srcdir/$ac_source to $ac_dest" >&5
18352 echo "$as_me: error: cannot link or copy $srcdir/$ac_source to $ac_dest" >&2;}
18353 { (exit 1); exit 1; }; }
18356 cat >>$CONFIG_STATUS <<\_ACEOF
18359 # CONFIG_COMMANDS section.
18361 for ac_file
in : $CONFIG_COMMANDS; do test "x$ac_file" = x
: && continue
18362 ac_dest
=`echo "$ac_file" | sed 's,:.*,,'`
18363 ac_source
=`echo "$ac_file" | sed 's,[^:]*:,,'`
18364 ac_dir
=`(dirname "$ac_dest") 2>/dev/null ||
18365 $as_expr X"$ac_dest" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
18366 X"$ac_dest" : 'X\(//\)[^/]' \| \
18367 X"$ac_dest" : 'X\(//\)$' \| \
18368 X"$ac_dest" : 'X\(/\)' \| \
18369 . : '\(.\)' 2>/dev/null ||
18371 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
18372 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
18373 /^X\(\/\/\)$/{ s//\1/; q; }
18374 /^X\(\/\).*/{ s//\1/; q; }
18376 { if $as_mkdir_p; then
18381 while test ! -d "$as_dir"; do
18382 as_dirs
="$as_dir $as_dirs"
18383 as_dir
=`(dirname "$as_dir") 2>/dev/null ||
18384 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
18385 X"$as_dir" : 'X\(//\)[^/]' \| \
18386 X"$as_dir" : 'X\(//\)$' \| \
18387 X"$as_dir" : 'X\(/\)' \| \
18388 . : '\(.\)' 2>/dev/null ||
18390 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
18391 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
18392 /^X\(\/\/\)$/{ s//\1/; q; }
18393 /^X\(\/\).*/{ s//\1/; q; }
18396 test ! -n "$as_dirs" || mkdir
$as_dirs
18397 fi ||
{ { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
18398 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
18399 { (exit 1); exit 1; }; }; }
18403 if test "$ac_dir" != .
; then
18404 ac_dir_suffix
=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
18405 # A "../" for each directory in $ac_dir_suffix.
18406 ac_top_builddir
=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
18408 ac_dir_suffix
= ac_top_builddir
=
18412 .
) # No --srcdir option. We are building in place.
18414 if test -z "$ac_top_builddir"; then
18417 ac_top_srcdir
=`echo $ac_top_builddir | sed 's,/$,,'`
18419 [\\/]* | ?
:[\\/]* ) # Absolute path.
18420 ac_srcdir
=$srcdir$ac_dir_suffix;
18421 ac_top_srcdir
=$srcdir ;;
18422 *) # Relative path.
18423 ac_srcdir
=$ac_top_builddir$srcdir$ac_dir_suffix
18424 ac_top_srcdir
=$ac_top_builddir$srcdir ;;
18427 # Do not use `cd foo && pwd` to compute absolute paths, because
18428 # the directories may not exist.
18430 .
) ac_abs_builddir
="$ac_dir";;
18433 .
) ac_abs_builddir
=`pwd`;;
18434 [\\/]* | ?
:[\\/]* ) ac_abs_builddir
="$ac_dir";;
18435 *) ac_abs_builddir
=`pwd`/"$ac_dir";;
18438 case $ac_abs_builddir in
18439 .
) ac_abs_top_builddir
=${ac_top_builddir}.
;;
18441 case ${ac_top_builddir}.
in
18442 .
) ac_abs_top_builddir
=$ac_abs_builddir;;
18443 [\\/]* | ?
:[\\/]* ) ac_abs_top_builddir
=${ac_top_builddir}.
;;
18444 *) ac_abs_top_builddir
=$ac_abs_builddir/${ac_top_builddir}.
;;
18447 case $ac_abs_builddir in
18448 .
) ac_abs_srcdir
=$ac_srcdir;;
18451 .
) ac_abs_srcdir
=$ac_abs_builddir;;
18452 [\\/]* | ?
:[\\/]* ) ac_abs_srcdir
=$ac_srcdir;;
18453 *) ac_abs_srcdir
=$ac_abs_builddir/$ac_srcdir;;
18456 case $ac_abs_builddir in
18457 .
) ac_abs_top_srcdir
=$ac_top_srcdir;;
18459 case $ac_top_srcdir in
18460 .
) ac_abs_top_srcdir
=$ac_abs_builddir;;
18461 [\\/]* | ?
:[\\/]* ) ac_abs_top_srcdir
=$ac_top_srcdir;;
18462 *) ac_abs_top_srcdir
=$ac_abs_builddir/$ac_top_srcdir;;
18467 { echo "$as_me:$LINENO: executing $ac_dest commands" >&5
18468 echo "$as_me: executing $ac_dest commands" >&6;}
18470 depfiles
) test x
"$AMDEP_TRUE" != x
"" ||
for mf
in $CONFIG_FILES; do
18471 # Strip MF so we end up with the name of the file.
18472 mf
=`echo "$mf" | sed -e 's/:.*$//'`
18473 # Check whether this is an Automake generated Makefile or not.
18474 # We used to match only the files named `Makefile.in', but
18475 # some people rename them; so instead we look at the file content.
18476 # Grep'ing the first line is not enough: some people post-process
18477 # each Makefile.in and add a new line on top of each file to say so.
18478 # So let's grep whole file.
18479 if grep '^#.*generated by automake' $mf > /dev
/null
2>&1; then
18480 dirpart
=`(dirname "$mf") 2>/dev/null ||
18481 $as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
18482 X"$mf" : 'X\(//\)[^/]' \| \
18483 X"$mf" : 'X\(//\)$' \| \
18484 X"$mf" : 'X\(/\)' \| \
18485 . : '\(.\)' 2>/dev/null ||
18487 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
18488 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
18489 /^X\(\/\/\)$/{ s//\1/; q; }
18490 /^X\(\/\).*/{ s//\1/; q; }
18495 # Extract the definition of DEPDIR, am__include, and am__quote
18496 # from the Makefile without running `make'.
18497 DEPDIR
=`sed -n 's/^DEPDIR = //p' < "$mf"`
18498 test -z "$DEPDIR" && continue
18499 am__include
=`sed -n 's/^am__include = //p' < "$mf"`
18500 test -z "am__include" && continue
18501 am__quote
=`sed -n 's/^am__quote = //p' < "$mf"`
18502 # When using ansi2knr, U may be empty or an underscore; expand it
18503 U
=`sed -n 's/^U = //p' < "$mf"`
18504 # Find all dependency output files, they are included files with
18505 # $(DEPDIR) in their names. We invoke sed twice because it is the
18506 # simplest approach to changing $(DEPDIR) to its actual value in the
18508 for file in `sed -n "
18509 s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
18510 sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do
18511 # Make sure the directory exists.
18512 test -f "$dirpart/$file" && continue
18513 fdir
=`(dirname "$file") 2>/dev/null ||
18514 $as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
18515 X"$file" : 'X\(//\)[^/]' \| \
18516 X"$file" : 'X\(//\)$' \| \
18517 X"$file" : 'X\(/\)' \| \
18518 . : '\(.\)' 2>/dev/null ||
18520 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
18521 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
18522 /^X\(\/\/\)$/{ s//\1/; q; }
18523 /^X\(\/\).*/{ s//\1/; q; }
18525 { if $as_mkdir_p; then
18526 mkdir
-p $dirpart/$fdir
18528 as_dir
=$dirpart/$fdir
18530 while test ! -d "$as_dir"; do
18531 as_dirs
="$as_dir $as_dirs"
18532 as_dir
=`(dirname "$as_dir") 2>/dev/null ||
18533 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
18534 X"$as_dir" : 'X\(//\)[^/]' \| \
18535 X"$as_dir" : 'X\(//\)$' \| \
18536 X"$as_dir" : 'X\(/\)' \| \
18537 . : '\(.\)' 2>/dev/null ||
18539 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
18540 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
18541 /^X\(\/\/\)$/{ s//\1/; q; }
18542 /^X\(\/\).*/{ s//\1/; q; }
18545 test ! -n "$as_dirs" || mkdir
$as_dirs
18546 fi ||
{ { echo "$as_me:$LINENO: error: cannot create directory $dirpart/$fdir" >&5
18547 echo "$as_me: error: cannot create directory $dirpart/$fdir" >&2;}
18548 { (exit 1); exit 1; }; }; }
18550 # echo "creating $dirpart/$file"
18551 echo '# dummy' > "$dirpart/$file"
18555 default
) # Only add multilib support code if we just rebuilt top-level Makefile.
18556 case " $CONFIG_FILES " in
18558 LD
="${ORIGINAL_LD_FOR_MULTILIBS}"
18559 ac_file
=Makefile .
${libgcj_basedir}/..
/config-ml.
in
18562 for ac_multi_file
in $CONFIG_FILES; do
18563 case $ac_multi_file in
18565 grep "^MULTI[^ ]* =" Makefile
>> "$ac_multi_file" ;;
18573 cat >>$CONFIG_STATUS <<\_ACEOF
18575 { (exit 0); exit 0; }
18577 chmod +x
$CONFIG_STATUS
18578 ac_clean_files
=$ac_clean_files_save
18581 # configure is writing to config.log, and then calls config.status.
18582 # config.status does its own redirection, appending to config.log.
18583 # Unfortunately, on DOS this fails, as config.log is still kept open
18584 # by configure, so config.status won't be able to write to it; its
18585 # output is simply discarded. So we exec the FD to /dev/null,
18586 # effectively closing config.log, so it can be properly (re)opened and
18587 # appended to by config.status. When coming back to configure, we
18588 # need to make the FD available again.
18589 if test "$no_create" != yes; then
18591 ac_config_status_args
=
18592 test "$silent" = yes &&
18593 ac_config_status_args
="$ac_config_status_args --quiet"
18595 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success
=false
18597 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
18598 # would make configure fail if this is the last instruction.
18599 $ac_cs_success ||
{ (exit 1); exit 1; }
18603 # CONFIG_SUBDIRS section.
18605 if test "$no_recursion" != yes; then
18607 # Remove --cache-file and --srcdir arguments so they do not pile up.
18608 ac_sub_configure_args
=
18610 for ac_arg
in $ac_configure_args; do
18611 if test -n "$ac_prev"; then
18616 -cache-file |
--cache-file |
--cache-fil |
--cache-fi \
18617 |
--cache-f |
--cache- |
--cache |
--cach |
--cac |
--ca |
--c)
18618 ac_prev
=cache_file
;;
18619 -cache-file=* |
--cache-file=* |
--cache-fil=* |
--cache-fi=* \
18620 |
--cache-f=* |
--cache-=* |
--cache=* |
--cach=* |
--cac=* |
--ca=* \
18623 --config-cache |
-C)
18625 -srcdir |
--srcdir |
--srcdi |
--srcd |
--src |
--sr)
18627 -srcdir=* |
--srcdir=* |
--srcdi=* |
--srcd=* |
--src=* |
--sr=*)
18629 -prefix |
--prefix |
--prefi |
--pref |
--pre |
--pr |
--p)
18631 -prefix=* |
--prefix=* |
--prefi=* |
--pref=* |
--pre=* |
--pr=* |
--p=*)
18633 *) ac_sub_configure_args
="$ac_sub_configure_args $ac_arg" ;;
18637 # Always prepend --prefix to ensure using the same prefix
18638 # in subdir configurations.
18639 ac_sub_configure_args
="--prefix=$prefix $ac_sub_configure_args"
18642 for ac_dir
in : $subdirs; do test "x$ac_dir" = x
: && continue
18644 # Do not complain, so a configure script can configure whichever
18645 # parts of a large source tree are present.
18646 test -d $srcdir/$ac_dir ||
continue
18648 { echo "$as_me:$LINENO: configuring in $ac_dir" >&5
18649 echo "$as_me: configuring in $ac_dir" >&6;}
18650 { if $as_mkdir_p; then
18655 while test ! -d "$as_dir"; do
18656 as_dirs
="$as_dir $as_dirs"
18657 as_dir
=`(dirname "$as_dir") 2>/dev/null ||
18658 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
18659 X"$as_dir" : 'X\(//\)[^/]' \| \
18660 X"$as_dir" : 'X\(//\)$' \| \
18661 X"$as_dir" : 'X\(/\)' \| \
18662 . : '\(.\)' 2>/dev/null ||
18664 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
18665 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
18666 /^X\(\/\/\)$/{ s//\1/; q; }
18667 /^X\(\/\).*/{ s//\1/; q; }
18670 test ! -n "$as_dirs" || mkdir
$as_dirs
18671 fi ||
{ { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
18672 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
18673 { (exit 1); exit 1; }; }; }
18677 if test "$ac_dir" != .
; then
18678 ac_dir_suffix
=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
18679 # A "../" for each directory in $ac_dir_suffix.
18680 ac_top_builddir
=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
18682 ac_dir_suffix
= ac_top_builddir
=
18686 .
) # No --srcdir option. We are building in place.
18688 if test -z "$ac_top_builddir"; then
18691 ac_top_srcdir
=`echo $ac_top_builddir | sed 's,/$,,'`
18693 [\\/]* | ?
:[\\/]* ) # Absolute path.
18694 ac_srcdir
=$srcdir$ac_dir_suffix;
18695 ac_top_srcdir
=$srcdir ;;
18696 *) # Relative path.
18697 ac_srcdir
=$ac_top_builddir$srcdir$ac_dir_suffix
18698 ac_top_srcdir
=$ac_top_builddir$srcdir ;;
18701 # Do not use `cd foo && pwd` to compute absolute paths, because
18702 # the directories may not exist.
18704 .
) ac_abs_builddir
="$ac_dir";;
18707 .
) ac_abs_builddir
=`pwd`;;
18708 [\\/]* | ?
:[\\/]* ) ac_abs_builddir
="$ac_dir";;
18709 *) ac_abs_builddir
=`pwd`/"$ac_dir";;
18712 case $ac_abs_builddir in
18713 .
) ac_abs_top_builddir
=${ac_top_builddir}.
;;
18715 case ${ac_top_builddir}.
in
18716 .
) ac_abs_top_builddir
=$ac_abs_builddir;;
18717 [\\/]* | ?
:[\\/]* ) ac_abs_top_builddir
=${ac_top_builddir}.
;;
18718 *) ac_abs_top_builddir
=$ac_abs_builddir/${ac_top_builddir}.
;;
18721 case $ac_abs_builddir in
18722 .
) ac_abs_srcdir
=$ac_srcdir;;
18725 .
) ac_abs_srcdir
=$ac_abs_builddir;;
18726 [\\/]* | ?
:[\\/]* ) ac_abs_srcdir
=$ac_srcdir;;
18727 *) ac_abs_srcdir
=$ac_abs_builddir/$ac_srcdir;;
18730 case $ac_abs_builddir in
18731 .
) ac_abs_top_srcdir
=$ac_top_srcdir;;
18733 case $ac_top_srcdir in
18734 .
) ac_abs_top_srcdir
=$ac_abs_builddir;;
18735 [\\/]* | ?
:[\\/]* ) ac_abs_top_srcdir
=$ac_top_srcdir;;
18736 *) ac_abs_top_srcdir
=$ac_abs_builddir/$ac_top_srcdir;;
18743 # Check for guested configure; otherwise get Cygnus style configure.
18744 if test -f $ac_srcdir/configure.gnu
; then
18745 ac_sub_configure
="$SHELL '$ac_srcdir/configure.gnu'"
18746 elif test -f $ac_srcdir/configure
; then
18747 ac_sub_configure
="$SHELL '$ac_srcdir/configure'"
18748 elif test -f $ac_srcdir/configure.
in; then
18749 ac_sub_configure
=$ac_configure
18751 { echo "$as_me:$LINENO: WARNING: no configuration information is in $ac_dir" >&5
18752 echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2;}
18756 # The recursion is here.
18757 if test -n "$ac_sub_configure"; then
18758 # Make the cache file name correct relative to the subdirectory.
18759 case $cache_file in
18760 [\\/]* | ?
:[\\/]* ) ac_sub_cache_file
=$cache_file ;;
18761 *) # Relative path.
18762 ac_sub_cache_file
=$ac_top_builddir$cache_file ;;
18765 { echo "$as_me:$LINENO: running $ac_sub_configure $ac_sub_configure_args --cache-file=$ac_sub_cache_file --srcdir=$ac_srcdir" >&5
18766 echo "$as_me: running $ac_sub_configure $ac_sub_configure_args --cache-file=$ac_sub_cache_file --srcdir=$ac_srcdir" >&6;}
18767 # The eval makes quoting arguments work.
18768 eval $ac_sub_configure $ac_sub_configure_args \
18769 --cache-file=$ac_sub_cache_file --srcdir=$ac_srcdir ||
18770 { { echo "$as_me:$LINENO: error: $ac_sub_configure failed for $ac_dir" >&5
18771 echo "$as_me: error: $ac_sub_configure failed for $ac_dir" >&2;}
18772 { (exit 1); exit 1; }; }