2 # Guess values for system-dependent variables and create Makefiles.
3 # Generated by GNU Autoconf 2.59 for GNU Classpath 0.94-pre.
5 # Report bugs to <classpath@gnu.org>.
7 # Copyright (C) 2003 Free Software Foundation, Inc.
8 # This configure script is free software; the Free Software Foundation
9 # gives unlimited permission to copy, distribute and modify it.
10 ## --------------------- ##
11 ## M4sh Initialization. ##
12 ## --------------------- ##
14 # Be Bourne compatible
15 if test -n "${ZSH_VERSION+set}" && (emulate sh
) >/dev
/null
2>&1; then
18 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
19 # is contrary to our usage. Disable this feature.
20 alias -g '${1+"$@"}'='"$@"'
21 elif test -n "${BASH_VERSION+set}" && (set -o posix
) >/dev
/null
2>&1; then
24 DUALCASE
=1; export DUALCASE
# for MKS sh
26 # Support unset when possible.
27 if ( (MAIL
=60; unset MAIL
) ||
exit) >/dev
/null
2>&1; then
34 # Work around bugs in pre-3.0 UWIN ksh.
35 $as_unset ENV MAIL MAILPATH
42 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
43 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
46 if (set +x
; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
47 eval $as_var=C
; export $as_var
53 # Required to use basename.
54 if expr a
: '\(a\)' >/dev
/null
2>&1; then
60 if (basename /) >/dev
/null
2>&1 && test "X`basename / 2>&1`" = "X/"; then
67 # Name of the executable.
68 as_me
=`$as_basename "$0" ||
69 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
70 X"$0" : 'X\(//\)$' \| \
71 X"$0" : 'X\(/\)$' \| \
72 . : '\(.\)' 2>/dev/null ||
74 sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; }
75 /^X\/\(\/\/\)$/{ s//\1/; q; }
76 /^X\/\(\/\).*/{ s//\1/; q; }
80 # PATH needs CR, and LINENO needs CR and PATH.
81 # Avoid depending upon Character Ranges.
82 as_cr_letters
='abcdefghijklmnopqrstuvwxyz'
83 as_cr_LETTERS
='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
84 as_cr_Letters
=$as_cr_letters$as_cr_LETTERS
85 as_cr_digits
='0123456789'
86 as_cr_alnum
=$as_cr_Letters$as_cr_digits
88 # The user is always right.
89 if test "${PATH_SEPARATOR+set}" != set; then
90 echo "#! /bin/sh" >conf$$.sh
91 echo "exit 0" >>conf$$.sh
93 if (PATH
="/nonexistent;."; conf$$.sh
) >/dev
/null
2>&1; then
104 as_lineno_3
=`(expr $as_lineno_1 + 1) 2>/dev/null`
105 test "x$as_lineno_1" != "x$as_lineno_2" &&
106 test "x$as_lineno_3" = "x$as_lineno_2" ||
{
107 # Find who we are. Look in the path if we contain no path at all
110 *[\\/]* ) as_myself
=$0 ;;
111 *) as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
115 test -z "$as_dir" && as_dir
=.
116 test -r "$as_dir/$0" && as_myself
=$as_dir/$0 && break
121 # We did not find ourselves, most probably we were run as `sh COMMAND'
122 # in which case we are not to be found in the path.
123 if test "x$as_myself" = x
; then
126 if test ! -f "$as_myself"; then
127 { echo "$as_me: error: cannot find myself; rerun with an absolute path" >&2
128 { (exit 1); exit 1; }; }
130 case $CONFIG_SHELL in
132 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
133 for as_dir
in /bin
$PATH_SEPARATOR/usr
/bin
$PATH_SEPARATOR$PATH
136 test -z "$as_dir" && as_dir
=.
137 for as_base
in sh bash ksh sh5
; do
140 if ("$as_dir/$as_base" -c '
143 as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
144 test "x$as_lineno_1" != "x$as_lineno_2" &&
145 test "x$as_lineno_3" = "x$as_lineno_2" ') 2>/dev
/null
; then
146 $as_unset BASH_ENV ||
test "${BASH_ENV+set}" != set ||
{ BASH_ENV
=; export BASH_ENV
; }
147 $as_unset ENV ||
test "${ENV+set}" != set ||
{ ENV
=; export ENV
; }
148 CONFIG_SHELL
=$as_dir/$as_base
150 exec "$CONFIG_SHELL" "$0" ${1+"$@"}
158 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
159 # uniformly replaced by the line number. The first 'sed' inserts a
160 # line-number line before each line; the second 'sed' does the real
161 # work. The second script uses 'N' to pair each line-number line
162 # with the numbered line, and appends trailing '-' during
163 # substitution so that $LINENO is not a special case at line end.
164 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
165 # second 'sed' script. Blame Lee E. McMahon for sed's syntax. :-)
166 sed '=' <$as_myself |
171 s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3,
174 s,^['$as_cr_digits']*\n,,
176 chmod +x
$as_me.lineno ||
177 { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
178 { (exit 1); exit 1; }; }
180 # Don't try to exec as it changes $[0], causing all sort of problems
181 # (the dirname of $[0] is not the place where we might find the
182 # original and so on. Autoconf is especially sensible to this).
184 # Exit status is that of the last command.
189 case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in
190 *c
*,-n*) ECHO_N
= ECHO_C
='
192 *c
*,* ) ECHO_N
=-n ECHO_C
= ECHO_T
= ;;
193 *) ECHO_N
= ECHO_C
='\c' ECHO_T
= ;;
196 if expr a
: '\(a\)' >/dev
/null
2>&1; then
202 rm -f conf$$ conf$$.exe conf$$.
file
204 if ln -s conf$$.
file conf$$
2>/dev
/null
; then
205 # We could just check for DJGPP; but this test a) works b) is more generic
206 # and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04).
207 if test -f conf$$.exe
; then
208 # Don't use ln at all; we don't have any links
213 elif ln conf$$.
file conf$$
2>/dev
/null
; then
218 rm -f conf$$ conf$$.exe conf$$.
file
220 if mkdir
-p .
2>/dev
/null
; then
223 test -d .
/-p && rmdir .
/-p
227 as_executable_p
="test -f"
229 # Sed expression to map a string onto a valid CPP name.
230 as_tr_cpp
="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
232 # Sed expression to map a string onto a valid variable name.
233 as_tr_sh
="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
237 # We need space, tab and new line, in precisely that order.
247 # hostname on some systems (SVR3.2, Linux) returns a bogus exit status,
248 # so uname gets run too.
249 ac_hostname
=`(hostname || uname -n) 2>/dev/null | sed 1q`
256 ac_default_prefix
=/usr
/local
257 ac_config_libobj_dir
=.
262 SHELL
=${CONFIG_SHELL-/bin/sh}
264 # Maximum number of lines to put in a shell here document.
265 # This variable seems obsolete. It should probably be removed, and
266 # only ac_max_sed_lines should be used.
267 : ${ac_max_here_lines=38}
269 # Identity of this package.
270 PACKAGE_NAME
='GNU Classpath'
271 PACKAGE_TARNAME
='classpath'
272 PACKAGE_VERSION
='0.94-pre'
273 PACKAGE_STRING
='GNU Classpath 0.94-pre'
274 PACKAGE_BUGREPORT
='classpath@gnu.org'
276 ac_unique_file
="java/lang/System.java"
277 ac_default_prefix
=/usr
/local
/classpath
278 # Factoring default headers for most tests.
279 ac_includes_default
="\
282 # include <sys/types.h>
285 # include <sys/stat.h>
296 # if !STDC_HEADERS && HAVE_MEMORY_H
302 # include <strings.h>
305 # include <inttypes.h>
315 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 host host_cpu host_vendor host_os target target_cpu target_vendor target_os JAVA_MAINTAINER_MODE_TRUE JAVA_MAINTAINER_MODE_FALSE multi_basedir LIBVERSION CLASSPATH_MODULE CLASSPATH_CONVENIENCE 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 CREATE_COLLECTIONS_TRUE CREATE_COLLECTIONS_FALSE CREATE_JNI_LIBRARIES_TRUE CREATE_JNI_LIBRARIES_FALSE CREATE_CORE_JNI_LIBRARIES_TRUE CREATE_CORE_JNI_LIBRARIES_FALSE CREATE_GCONF_PEER_LIBRARIES_TRUE CREATE_GCONF_PEER_LIBRARIES_FALSE default_toolkit CREATE_XMLJ_LIBRARY_TRUE CREATE_XMLJ_LIBRARY_FALSE CC CFLAGS LDFLAGS CPPFLAGS ac_ct_CC EXEEXT OBJEXT DEPDIR am__include am__quote AMDEP_TRUE AMDEP_FALSE AMDEPBACKSLASH CCDEPMODE am__fastdepCC_TRUE am__fastdepCC_FALSE CPP EGREP CREATE_ALSA_LIBRARIES_TRUE CREATE_ALSA_LIBRARIES_FALSE CREATE_DSSI_LIBRARIES_TRUE CREATE_DSSI_LIBRARIES_FALSE CREATE_GTK_PEER_LIBRARIES_TRUE CREATE_GTK_PEER_LIBRARIES_FALSE CREATE_QT_PEER_LIBRARIES_TRUE CREATE_QT_PEER_LIBRARIES_FALSE CREATE_PLUGIN_TRUE CREATE_PLUGIN_FALSE toolexeclibdir nativeexeclibdir glibjdir VM_BINARY FOUND_CACAO_TRUE FOUND_CACAO_FALSE CREATE_JNI_HEADERS_TRUE CREATE_JNI_HEADERS_FALSE CREATE_WRAPPERS_TRUE CREATE_WRAPPERS_FALSE LN_S RANLIB ac_ct_RANLIB LIBTOOL CXX CXXFLAGS ac_ct_CXX CXXDEPMODE am__fastdepCXX_TRUE am__fastdepCXX_FALSE CXXCPP PERL COLLECTIONS_PREFIX LIBMAGIC LIBICONV LTLIBICONV WARNING_CFLAGS STRICT_WARNING_CFLAGS ERROR_CFLAGS PKG_CONFIG XML_CFLAGS XML_LIBS XSLT_CFLAGS XSLT_LIBS X_CFLAGS X_PRE_LIBS X_LIBS X_EXTRA_LIBS GTK_CFLAGS GTK_LIBS FREETYPE2_CFLAGS FREETYPE2_LIBS PANGOFT2_CFLAGS PANGOFT2_LIBS XTEST_LIBS GCONF_CFLAGS GCONF_LIBS GDK_CFLAGS GDK_LIBS QT_CFLAGS QT_LIBS MOC MOZILLA_CFLAGS MOZILLA_LIBS GLIB_CFLAGS GLIB_LIBS PLUGIN_DIR USER_JAVAH USER_SPECIFIED_JAVAH_TRUE USER_SPECIFIED_JAVAH_FALSE CLASSPATH_INCLUDES GCJ JIKES JIKESENCODING JIKESWARNINGS KJC GCJX ECJ FOUND_GCJ_TRUE FOUND_GCJ_FALSE FOUND_JIKES_TRUE FOUND_JIKES_FALSE FOUND_ECJ_TRUE FOUND_ECJ_FALSE FOUND_KJC_TRUE FOUND_KJC_FALSE FOUND_GCJX_TRUE FOUND_GCJX_FALSE USER_CLASSLIB USER_SPECIFIED_CLASSLIB_TRUE USER_SPECIFIED_CLASSLIB_FALSE vm_classes MAINTAINER_MODE_TRUE MAINTAINER_MODE_FALSE MAINT LIBDEBUG INIT_LOAD_LIBRARY ECJ_JAR JAVA_LANG_SYSTEM_EXPLICIT_INITIALIZATION REMOVE MKDIR CP DATE FIND ZIP FASTJAR INSTALL_GLIBJ_ZIP_TRUE INSTALL_GLIBJ_ZIP_FALSE INSTALL_CLASS_FILES_TRUE INSTALL_CLASS_FILES_FALSE BUILD_CLASS_FILES_TRUE BUILD_CLASS_FILES_FALSE EXAMPLESDIR GJDOC CREATE_API_DOCS_TRUE CREATE_API_DOCS_FALSE JAY JAY_SKELETON REGEN_PARSERS_TRUE REGEN_PARSERS_FALSE USE_PREBUILT_GLIBJ_ZIP_TRUE USE_PREBUILT_GLIBJ_ZIP_FALSE PATH_TO_GLIBJ_ZIP USE_ESCHER_TRUE USE_ESCHER_FALSE PATH_TO_ESCHER ENABLE_LOCAL_SOCKETS_TRUE ENABLE_LOCAL_SOCKETS_FALSE DEFAULT_PREFS_PEER LIBOBJS LTLIBOBJS'
318 # Initialize some variables set by options.
320 ac_init_version
=false
321 # The variables have the same names as the options, with
322 # dashes changed to underlines.
330 program_transform_name
=s
,x
,x
,
338 # Installation directory options.
339 # These are left unexpanded so users can "make install exec_prefix=/foo"
340 # and all the variables that are supposed to be based on exec_prefix
341 # by default will actually change.
342 # Use braces instead of parens because sh, perl, etc. also accept them.
343 bindir
='${exec_prefix}/bin'
344 sbindir
='${exec_prefix}/sbin'
345 libexecdir
='${exec_prefix}/libexec'
346 datadir
='${prefix}/share'
347 sysconfdir
='${prefix}/etc'
348 sharedstatedir
='${prefix}/com'
349 localstatedir
='${prefix}/var'
350 libdir
='${exec_prefix}/lib'
351 includedir
='${prefix}/include'
352 oldincludedir
='/usr/include'
353 infodir
='${prefix}/info'
354 mandir
='${prefix}/man'
359 # If the previous option needs an argument, assign it.
360 if test -n "$ac_prev"; then
361 eval "$ac_prev=\$ac_option"
366 ac_optarg
=`expr "x$ac_option" : 'x[^=]*=\(.*\)'`
368 # Accept the important Cygnus configure options, so we can diagnose typos.
372 -bindir |
--bindir |
--bindi |
--bind |
--bin |
--bi)
374 -bindir=* |
--bindir=* |
--bindi=* |
--bind=* |
--bin=* |
--bi=*)
377 -build |
--build |
--buil |
--bui |
--bu)
378 ac_prev
=build_alias
;;
379 -build=* |
--build=* |
--buil=* |
--bui=* |
--bu=*)
380 build_alias
=$ac_optarg ;;
382 -cache-file |
--cache-file |
--cache-fil |
--cache-fi \
383 |
--cache-f |
--cache- |
--cache |
--cach |
--cac |
--ca |
--c)
384 ac_prev
=cache_file
;;
385 -cache-file=* |
--cache-file=* |
--cache-fil=* |
--cache-fi=* \
386 |
--cache-f=* |
--cache-=* |
--cache=* |
--cach=* |
--cac=* |
--ca=* |
--c=*)
387 cache_file
=$ac_optarg ;;
390 cache_file
=config.cache
;;
392 -datadir |
--datadir |
--datadi |
--datad |
--data |
--dat |
--da)
394 -datadir=* |
--datadir=* |
--datadi=* |
--datad=* |
--data=* |
--dat=* \
396 datadir
=$ac_optarg ;;
398 -disable-* |
--disable-*)
399 ac_feature
=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
400 # Reject names that are not valid shell variable names.
401 expr "x$ac_feature" : ".*[^-_$as_cr_alnum]" >/dev
/null
&&
402 { echo "$as_me: error: invalid feature name: $ac_feature" >&2
403 { (exit 1); exit 1; }; }
404 ac_feature
=`echo $ac_feature | sed 's/-/_/g'`
405 eval "enable_$ac_feature=no" ;;
407 -enable-* |
--enable-*)
408 ac_feature
=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
409 # Reject names that are not valid shell variable names.
410 expr "x$ac_feature" : ".*[^-_$as_cr_alnum]" >/dev
/null
&&
411 { echo "$as_me: error: invalid feature name: $ac_feature" >&2
412 { (exit 1); exit 1; }; }
413 ac_feature
=`echo $ac_feature | sed 's/-/_/g'`
415 *=*) ac_optarg
=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`;;
418 eval "enable_$ac_feature='$ac_optarg'" ;;
420 -exec-prefix |
--exec_prefix |
--exec-prefix |
--exec-prefi \
421 |
--exec-pref |
--exec-pre |
--exec-pr |
--exec-p |
--exec- \
422 |
--exec |
--exe |
--ex)
423 ac_prev
=exec_prefix
;;
424 -exec-prefix=* |
--exec_prefix=* |
--exec-prefix=* |
--exec-prefi=* \
425 |
--exec-pref=* |
--exec-pre=* |
--exec-pr=* |
--exec-p=* |
--exec-=* \
426 |
--exec=* |
--exe=* |
--ex=*)
427 exec_prefix
=$ac_optarg ;;
429 -gas |
--gas |
--ga |
--g)
430 # Obsolete; use --with-gas.
433 -help |
--help |
--hel |
--he |
-h)
435 -help=r
* |
--help=r
* |
--hel=r
* |
--he=r
* |
-hr*)
436 ac_init_help
=recursive
;;
437 -help=s
* |
--help=s
* |
--hel=s
* |
--he=s
* |
-hs*)
438 ac_init_help
=short
;;
440 -host |
--host |
--hos |
--ho)
441 ac_prev
=host_alias
;;
442 -host=* |
--host=* |
--hos=* |
--ho=*)
443 host_alias
=$ac_optarg ;;
445 -includedir |
--includedir |
--includedi |
--included |
--include \
446 |
--includ |
--inclu |
--incl |
--inc)
447 ac_prev
=includedir
;;
448 -includedir=* |
--includedir=* |
--includedi=* |
--included=* |
--include=* \
449 |
--includ=* |
--inclu=* |
--incl=* |
--inc=*)
450 includedir
=$ac_optarg ;;
452 -infodir |
--infodir |
--infodi |
--infod |
--info |
--inf)
454 -infodir=* |
--infodir=* |
--infodi=* |
--infod=* |
--info=* |
--inf=*)
455 infodir
=$ac_optarg ;;
457 -libdir |
--libdir |
--libdi |
--libd)
459 -libdir=* |
--libdir=* |
--libdi=* |
--libd=*)
462 -libexecdir |
--libexecdir |
--libexecdi |
--libexecd |
--libexec \
463 |
--libexe |
--libex |
--libe)
464 ac_prev
=libexecdir
;;
465 -libexecdir=* |
--libexecdir=* |
--libexecdi=* |
--libexecd=* |
--libexec=* \
466 |
--libexe=* |
--libex=* |
--libe=*)
467 libexecdir
=$ac_optarg ;;
469 -localstatedir |
--localstatedir |
--localstatedi |
--localstated \
470 |
--localstate |
--localstat |
--localsta |
--localst \
471 |
--locals |
--local |
--loca |
--loc |
--lo)
472 ac_prev
=localstatedir
;;
473 -localstatedir=* |
--localstatedir=* |
--localstatedi=* |
--localstated=* \
474 |
--localstate=* |
--localstat=* |
--localsta=* |
--localst=* \
475 |
--locals=* |
--local=* |
--loca=* |
--loc=* |
--lo=*)
476 localstatedir
=$ac_optarg ;;
478 -mandir |
--mandir |
--mandi |
--mand |
--man |
--ma |
--m)
480 -mandir=* |
--mandir=* |
--mandi=* |
--mand=* |
--man=* |
--ma=* |
--m=*)
484 # Obsolete; use --without-fp.
487 -no-create |
--no-create |
--no-creat |
--no-crea |
--no-cre \
488 |
--no-cr |
--no-c |
-n)
491 -no-recursion |
--no-recursion |
--no-recursio |
--no-recursi \
492 |
--no-recurs |
--no-recur |
--no-recu |
--no-rec |
--no-re |
--no-r)
495 -oldincludedir |
--oldincludedir |
--oldincludedi |
--oldincluded \
496 |
--oldinclude |
--oldinclud |
--oldinclu |
--oldincl |
--oldinc \
497 |
--oldin |
--oldi |
--old |
--ol |
--o)
498 ac_prev
=oldincludedir
;;
499 -oldincludedir=* |
--oldincludedir=* |
--oldincludedi=* |
--oldincluded=* \
500 |
--oldinclude=* |
--oldinclud=* |
--oldinclu=* |
--oldincl=* |
--oldinc=* \
501 |
--oldin=* |
--oldi=* |
--old=* |
--ol=* |
--o=*)
502 oldincludedir
=$ac_optarg ;;
504 -prefix |
--prefix |
--prefi |
--pref |
--pre |
--pr |
--p)
506 -prefix=* |
--prefix=* |
--prefi=* |
--pref=* |
--pre=* |
--pr=* |
--p=*)
509 -program-prefix |
--program-prefix |
--program-prefi |
--program-pref \
510 |
--program-pre |
--program-pr |
--program-p)
511 ac_prev
=program_prefix
;;
512 -program-prefix=* |
--program-prefix=* |
--program-prefi=* \
513 |
--program-pref=* |
--program-pre=* |
--program-pr=* |
--program-p=*)
514 program_prefix
=$ac_optarg ;;
516 -program-suffix |
--program-suffix |
--program-suffi |
--program-suff \
517 |
--program-suf |
--program-su |
--program-s)
518 ac_prev
=program_suffix
;;
519 -program-suffix=* |
--program-suffix=* |
--program-suffi=* \
520 |
--program-suff=* |
--program-suf=* |
--program-su=* |
--program-s=*)
521 program_suffix
=$ac_optarg ;;
523 -program-transform-name |
--program-transform-name \
524 |
--program-transform-nam |
--program-transform-na \
525 |
--program-transform-n |
--program-transform- \
526 |
--program-transform |
--program-transfor \
527 |
--program-transfo |
--program-transf \
528 |
--program-trans |
--program-tran \
529 |
--progr-tra |
--program-tr |
--program-t)
530 ac_prev
=program_transform_name
;;
531 -program-transform-name=* |
--program-transform-name=* \
532 |
--program-transform-nam=* |
--program-transform-na=* \
533 |
--program-transform-n=* |
--program-transform-=* \
534 |
--program-transform=* |
--program-transfor=* \
535 |
--program-transfo=* |
--program-transf=* \
536 |
--program-trans=* |
--program-tran=* \
537 |
--progr-tra=* |
--program-tr=* |
--program-t=*)
538 program_transform_name
=$ac_optarg ;;
540 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
541 |
-silent |
--silent |
--silen |
--sile |
--sil)
544 -sbindir |
--sbindir |
--sbindi |
--sbind |
--sbin |
--sbi |
--sb)
546 -sbindir=* |
--sbindir=* |
--sbindi=* |
--sbind=* |
--sbin=* \
548 sbindir
=$ac_optarg ;;
550 -sharedstatedir |
--sharedstatedir |
--sharedstatedi \
551 |
--sharedstated |
--sharedstate |
--sharedstat |
--sharedsta \
552 |
--sharedst |
--shareds |
--shared |
--share |
--shar \
554 ac_prev
=sharedstatedir
;;
555 -sharedstatedir=* |
--sharedstatedir=* |
--sharedstatedi=* \
556 |
--sharedstated=* |
--sharedstate=* |
--sharedstat=* |
--sharedsta=* \
557 |
--sharedst=* |
--shareds=* |
--shared=* |
--share=* |
--shar=* \
559 sharedstatedir
=$ac_optarg ;;
561 -site |
--site |
--sit)
563 -site=* |
--site=* |
--sit=*)
566 -srcdir |
--srcdir |
--srcdi |
--srcd |
--src |
--sr)
568 -srcdir=* |
--srcdir=* |
--srcdi=* |
--srcd=* |
--src=* |
--sr=*)
571 -sysconfdir |
--sysconfdir |
--sysconfdi |
--sysconfd |
--sysconf \
572 |
--syscon |
--sysco |
--sysc |
--sys |
--sy)
573 ac_prev
=sysconfdir
;;
574 -sysconfdir=* |
--sysconfdir=* |
--sysconfdi=* |
--sysconfd=* |
--sysconf=* \
575 |
--syscon=* |
--sysco=* |
--sysc=* |
--sys=* |
--sy=*)
576 sysconfdir
=$ac_optarg ;;
578 -target |
--target |
--targe |
--targ |
--tar |
--ta |
--t)
579 ac_prev
=target_alias
;;
580 -target=* |
--target=* |
--targe=* |
--targ=* |
--tar=* |
--ta=* |
--t=*)
581 target_alias
=$ac_optarg ;;
583 -v |
-verbose |
--verbose |
--verbos |
--verbo |
--verb)
586 -version |
--version |
--versio |
--versi |
--vers |
-V)
590 ac_package
=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
591 # Reject names that are not valid shell variable names.
592 expr "x$ac_package" : ".*[^-_$as_cr_alnum]" >/dev
/null
&&
593 { echo "$as_me: error: invalid package name: $ac_package" >&2
594 { (exit 1); exit 1; }; }
595 ac_package
=`echo $ac_package| sed 's/-/_/g'`
597 *=*) ac_optarg
=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`;;
600 eval "with_$ac_package='$ac_optarg'" ;;
602 -without-* |
--without-*)
603 ac_package
=`expr "x$ac_option" : 'x-*without-\(.*\)'`
604 # Reject names that are not valid shell variable names.
605 expr "x$ac_package" : ".*[^-_$as_cr_alnum]" >/dev
/null
&&
606 { echo "$as_me: error: invalid package name: $ac_package" >&2
607 { (exit 1); exit 1; }; }
608 ac_package
=`echo $ac_package | sed 's/-/_/g'`
609 eval "with_$ac_package=no" ;;
612 # Obsolete; use --with-x.
615 -x-includes |
--x-includes |
--x-include |
--x-includ |
--x-inclu \
616 |
--x-incl |
--x-inc |
--x-in |
--x-i)
617 ac_prev
=x_includes
;;
618 -x-includes=* |
--x-includes=* |
--x-include=* |
--x-includ=* |
--x-inclu=* \
619 |
--x-incl=* |
--x-inc=* |
--x-in=* |
--x-i=*)
620 x_includes
=$ac_optarg ;;
622 -x-libraries |
--x-libraries |
--x-librarie |
--x-librari \
623 |
--x-librar |
--x-libra |
--x-libr |
--x-lib |
--x-li |
--x-l)
624 ac_prev
=x_libraries
;;
625 -x-libraries=* |
--x-libraries=* |
--x-librarie=* |
--x-librari=* \
626 |
--x-librar=* |
--x-libra=* |
--x-libr=* |
--x-lib=* |
--x-li=* |
--x-l=*)
627 x_libraries
=$ac_optarg ;;
629 -*) { echo "$as_me: error: unrecognized option: $ac_option
630 Try \`$0 --help' for more information." >&2
631 { (exit 1); exit 1; }; }
635 ac_envvar
=`expr "x$ac_option" : 'x\([^=]*\)='`
636 # Reject names that are not valid shell variable names.
637 expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev
/null
&&
638 { echo "$as_me: error: invalid variable name: $ac_envvar" >&2
639 { (exit 1); exit 1; }; }
640 ac_optarg
=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`
641 eval "$ac_envvar='$ac_optarg'"
645 # FIXME: should be removed in autoconf 3.0.
646 echo "$as_me: WARNING: you should use --build, --host, --target" >&2
647 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev
/null
&&
648 echo "$as_me: WARNING: invalid host type: $ac_option" >&2
649 : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
655 if test -n "$ac_prev"; then
656 ac_option
=--`echo $ac_prev | sed 's/_/-/g'`
657 { echo "$as_me: error: missing argument to $ac_option" >&2
658 { (exit 1); exit 1; }; }
661 # Be sure to have absolute paths.
662 for ac_var
in exec_prefix prefix
664 eval ac_val
=$
`echo $ac_var`
666 [\\/$
]* | ?
:[\\/]* | NONE |
'' ) ;;
667 *) { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
668 { (exit 1); exit 1; }; };;
672 # Be sure to have absolute paths.
673 for ac_var
in bindir sbindir libexecdir datadir sysconfdir sharedstatedir \
674 localstatedir libdir includedir oldincludedir infodir mandir
676 eval ac_val
=$
`echo $ac_var`
678 [\\/$
]* | ?
:[\\/]* ) ;;
679 *) { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
680 { (exit 1); exit 1; }; };;
684 # There might be people who depend on the old broken behavior: `$host'
685 # used to hold the argument of --host etc.
686 # FIXME: To remove some day.
691 # FIXME: To remove some day.
692 if test "x$host_alias" != x
; then
693 if test "x$build_alias" = x
; then
694 cross_compiling
=maybe
695 echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
696 If a cross compiler is detected then cross compile mode will be used." >&2
697 elif test "x$build_alias" != "x$host_alias"; then
703 test -n "$host_alias" && ac_tool_prefix
=$host_alias-
705 test "$silent" = yes && exec 6>/dev
/null
708 # Find the source files, if location was not specified.
709 if test -z "$srcdir"; then
710 ac_srcdir_defaulted
=yes
711 # Try the directory containing this script, then its parent.
712 ac_confdir
=`(dirname "$0") 2>/dev/null ||
713 $as_expr X"$0" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
714 X"$0" : 'X\(//\)[^/]' \| \
715 X"$0" : 'X\(//\)$' \| \
716 X"$0" : 'X\(/\)' \| \
717 . : '\(.\)' 2>/dev/null ||
719 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
720 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
721 /^X\(\/\/\)$/{ s//\1/; q; }
722 /^X\(\/\).*/{ s//\1/; q; }
725 if test ! -r $srcdir/$ac_unique_file; then
729 ac_srcdir_defaulted
=no
731 if test ! -r $srcdir/$ac_unique_file; then
732 if test "$ac_srcdir_defaulted" = yes; then
733 { echo "$as_me: error: cannot find sources ($ac_unique_file) in $ac_confdir or .." >&2
734 { (exit 1); exit 1; }; }
736 { echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2
737 { (exit 1); exit 1; }; }
740 (cd $srcdir && test -r .
/$ac_unique_file) 2>/dev
/null ||
741 { echo "$as_me: error: sources are in $srcdir, but \`cd $srcdir' does not work" >&2
742 { (exit 1); exit 1; }; }
743 srcdir
=`echo "$srcdir" | sed 's%\([^\\/]\)[\\/]*$%\1%'`
744 ac_env_build_alias_set
=${build_alias+set}
745 ac_env_build_alias_value
=$build_alias
746 ac_cv_env_build_alias_set
=${build_alias+set}
747 ac_cv_env_build_alias_value
=$build_alias
748 ac_env_host_alias_set
=${host_alias+set}
749 ac_env_host_alias_value
=$host_alias
750 ac_cv_env_host_alias_set
=${host_alias+set}
751 ac_cv_env_host_alias_value
=$host_alias
752 ac_env_target_alias_set
=${target_alias+set}
753 ac_env_target_alias_value
=$target_alias
754 ac_cv_env_target_alias_set
=${target_alias+set}
755 ac_cv_env_target_alias_value
=$target_alias
756 ac_env_CC_set
=${CC+set}
758 ac_cv_env_CC_set
=${CC+set}
759 ac_cv_env_CC_value
=$CC
760 ac_env_CFLAGS_set
=${CFLAGS+set}
761 ac_env_CFLAGS_value
=$CFLAGS
762 ac_cv_env_CFLAGS_set
=${CFLAGS+set}
763 ac_cv_env_CFLAGS_value
=$CFLAGS
764 ac_env_LDFLAGS_set
=${LDFLAGS+set}
765 ac_env_LDFLAGS_value
=$LDFLAGS
766 ac_cv_env_LDFLAGS_set
=${LDFLAGS+set}
767 ac_cv_env_LDFLAGS_value
=$LDFLAGS
768 ac_env_CPPFLAGS_set
=${CPPFLAGS+set}
769 ac_env_CPPFLAGS_value
=$CPPFLAGS
770 ac_cv_env_CPPFLAGS_set
=${CPPFLAGS+set}
771 ac_cv_env_CPPFLAGS_value
=$CPPFLAGS
772 ac_env_CPP_set
=${CPP+set}
773 ac_env_CPP_value
=$CPP
774 ac_cv_env_CPP_set
=${CPP+set}
775 ac_cv_env_CPP_value
=$CPP
776 ac_env_CXX_set
=${CXX+set}
777 ac_env_CXX_value
=$CXX
778 ac_cv_env_CXX_set
=${CXX+set}
779 ac_cv_env_CXX_value
=$CXX
780 ac_env_CXXFLAGS_set
=${CXXFLAGS+set}
781 ac_env_CXXFLAGS_value
=$CXXFLAGS
782 ac_cv_env_CXXFLAGS_set
=${CXXFLAGS+set}
783 ac_cv_env_CXXFLAGS_value
=$CXXFLAGS
784 ac_env_CXXCPP_set
=${CXXCPP+set}
785 ac_env_CXXCPP_value
=$CXXCPP
786 ac_cv_env_CXXCPP_set
=${CXXCPP+set}
787 ac_cv_env_CXXCPP_value
=$CXXCPP
790 # Report the --help message.
792 if test "$ac_init_help" = "long"; then
793 # Omit some internal or obsolete options to make the list less imposing.
794 # This message is too long to be a string in the A/UX 3.1 sh.
796 \`configure' configures GNU Classpath 0.94-pre to adapt to many kinds of systems.
798 Usage: $0 [OPTION]... [VAR=VALUE]...
800 To assign environment variables (e.g., CC, CFLAGS...), specify them as
801 VAR=VALUE. See below for descriptions of some of the useful variables.
803 Defaults for the options are specified in brackets.
806 -h, --help display this help and exit
807 --help=short display options specific to this package
808 --help=recursive display the short help of all the included packages
809 -V, --version display version information and exit
810 -q, --quiet, --silent do not print \`checking...' messages
811 --cache-file=FILE cache test results in FILE [disabled]
812 -C, --config-cache alias for \`--cache-file=config.cache'
813 -n, --no-create do not create output files
814 --srcdir=DIR find the sources in DIR [configure dir or \`..']
819 Installation directories:
820 --prefix=PREFIX install architecture-independent files in PREFIX
822 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
825 By default, \`make install' will install all the files in
826 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
827 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
828 for instance \`--prefix=\$HOME'.
830 For better control, use the options below.
832 Fine tuning of the installation directories:
833 --bindir=DIR user executables [EPREFIX/bin]
834 --sbindir=DIR system admin executables [EPREFIX/sbin]
835 --libexecdir=DIR program executables [EPREFIX/libexec]
836 --datadir=DIR read-only architecture-independent data [PREFIX/share]
837 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
838 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
839 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
840 --libdir=DIR object code libraries [EPREFIX/lib]
841 --includedir=DIR C header files [PREFIX/include]
842 --oldincludedir=DIR C header files for non-gcc [/usr/include]
843 --infodir=DIR info documentation [PREFIX/info]
844 --mandir=DIR man documentation [PREFIX/man]
850 --program-prefix=PREFIX prepend PREFIX to installed program names
851 --program-suffix=SUFFIX append SUFFIX to installed program names
852 --program-transform-name=PROGRAM run
sed PROGRAM on installed program names
855 --x-includes=DIR X include files are
in DIR
856 --x-libraries=DIR X library files are
in DIR
859 --build=BUILD configure
for building on BUILD
[guessed
]
860 --host=HOST cross-compile to build programs to run on HOST
[BUILD
]
861 --target=TARGET configure
for building compilers
for TARGET
[HOST
]
865 if test -n "$ac_init_help"; then
866 case $ac_init_help in
867 short | recursive
) echo "Configuration of GNU Classpath 0.94-pre:";;
872 --disable-FEATURE do not include FEATURE
(same as
--enable-FEATURE=no
)
873 --enable-FEATURE[=ARG
] include FEATURE
[ARG
=yes]
874 --enable-java-maintainer-mode
875 allow rebuilding of .class and .h files
876 --enable-multilib build many library versions
(default
)
877 --enable-collections create collections.jar default
=no
878 --enable-jni compile JNI
source default
=yes
879 --enable-core-jni compile JNI sources
for core default
=yes
880 --enable-default-preferences-peer[=peer
type or class name
]
881 specify one of
: "gconf" [default
] for a GConf based
882 backend
, "file" for a
file based one
, "memory" for a
883 transient one
, or a fully qualified class name
884 implementing java.util.prefs.PreferencesFactory
885 --disable-gconf-peer compile GConf native peers
(disabled by
886 --disable-jni) default
=yes
888 --enable-Werror whether to compile C code with
-Werror which turns
889 any compiler warning into a compilation failure
891 --enable-default-toolkit
892 fully qualified class name of default AWT toolkit
893 --enable-xmlj compile native libxml
/xslt library default
=no
894 --disable-alsa compile ALSA providers
(enable by
--enable-alsa)
896 --disable-dependency-tracking speeds up one-time build
897 --enable-dependency-tracking do not reject slow dependency extractors
898 --disable-dssi compile DSSI providers
(enable by
--enable-dssi)
900 --disable-gtk-peer compile GTK native peers
(disabled by
--disable-jni)
902 --enable-qt-peer compile Qt4 native peers
(disabled by
--disable-jni)
904 --disable-plugin compile gcjwebplugin
(disabled by
--disable-plugin)
906 --enable-regen-headers automatically regenerate JNI headers default
=no
907 --enable-tool-wrappers create tool wrapper binaries default
=no
908 --enable-static=PKGS build static libraries default
=no
909 --enable-shared=PKGS build shared libraries default
=yes
910 --enable-fast-install=PKGS optimize
for fast installation default
=yes
911 --disable-libtool-lock avoid locking
(might
break parallel builds
)
912 --disable-rpath do not hardcode runtime library paths
913 --enable-maintainer-mode enable make rules and dependencies not useful
914 (and sometimes confusing
) to the casual installer
915 --enable-debug enable runtime debugging code
916 --enable-load-library enable to use JNI native methods default
=yes
917 --enable-java-lang-system-explicit-initialization
918 will the VM explicitly invoke java.lang.System
's
919 static initialization methods default=no
920 --enable-examples enable build of the examples default=yes
921 --enable-portable-native-sync
922 synchronize VM threads portably
923 --enable-local-sockets enables local (AF_LOCAL) socket API default: no
926 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
927 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
928 --with-native-libdir sets the installation directory for native libraries
929 default='${libdir}/${PACKAGE}'
930 --with-glibj-dir sets the installation directory for glibj.zip
931 default='${libdir}/${PACKAGE}'
932 --with-vm sets the VM binary name
933 default='${prefix}/bin
/jamvm
'
934 --with-gnu-ld assume the C compiler uses GNU ld default=no
935 --with-pic try to use only PIC/non-PIC objects default=use both
936 --with-libiconv-prefix[=DIR] search for libiconv in DIR/include and DIR/lib
937 --without-libiconv-prefix don't search
for libiconv
in includedir and libdir
938 --with-x use the X Window System
939 --with-qt4dir=DIR Qt4 installation directory used
for OS-X. For other
940 systems use pkg-config.
941 --with-javah specify path or name of a javah-like program
942 --with-gcj bytecode compilation with gcj
943 --with-jikes bytecode compilation with jikes
944 --with-kjc bytecode compilation with kjc
945 --with-gcjx bytecode compilation with gcjx
946 --with-ecj bytecode compilation with ecj
947 --with-classpath specify path to a classes.
zip like
file
948 --with-vm-classes specify path to VM override
source files
949 --with-ecj-jar=ABS.PATH specify jar
file containing the Eclipse Java
951 --with-fastjar=PATH define to use a fastjar style tool
952 --with-glibj define what to
install (zip|flat|both|none|build
)
954 --with-gjdoc generate documentation using gjdoc
(default is NO
)
955 --with-jay Regenerate the parsers with jay must be given the
956 path to the jay executable
957 --with-glibj-zip=ABS.PATH
958 use prebuilt glibj.
zip class library
959 --with-escher=ABS.PATH specify path to escher dir or JAR
for X peers
961 Some influential environment variables
:
962 CC C compiler
command
963 CFLAGS C compiler flags
964 LDFLAGS linker flags
, e.g.
-L<lib dir
> if you have libraries
in a
965 nonstandard directory
<lib dir
>
966 CPPFLAGS C
/C
++ preprocessor flags
, e.g.
-I<include dir
> if you have
967 headers
in a nonstandard directory
<include dir
>
969 CXX C
++ compiler
command
970 CXXFLAGS C
++ compiler flags
971 CXXCPP C
++ preprocessor
973 Use these variables to override the choices made by
`configure' or to help
974 it to find libraries and programs with nonstandard names/locations.
976 Report bugs to <classpath@gnu.org>.
980 if test "$ac_init_help" = "recursive"; then
981 # If there are subdirs, report their specific --help.
983 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
984 test -d $ac_dir || continue
987 if test "$ac_dir" != .; then
988 ac_dir_suffix=/`echo "$ac_dir" |
sed 's,^\.[\\/],,'`
989 # A "../" for each directory in $ac_dir_suffix.
990 ac_top_builddir=`echo "$ac_dir_suffix" |
sed 's,/[^\\/]*,../,g'`
992 ac_dir_suffix= ac_top_builddir=
996 .) # No --srcdir option. We are building in place.
998 if test -z "$ac_top_builddir"; then
1001 ac_top_srcdir=`echo $ac_top_builddir |
sed 's,/$,,'`
1003 [\\/]* | ?:[\\/]* ) # Absolute path.
1004 ac_srcdir=$srcdir$ac_dir_suffix;
1005 ac_top_srcdir=$srcdir ;;
1007 ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
1008 ac_top_srcdir=$ac_top_builddir$srcdir ;;
1011 # Do not use `cd foo
&& pwd` to compute absolute paths, because
1012 # the directories may not exist.
1014 .) ac_abs_builddir="$ac_dir";;
1017 .) ac_abs_builddir=`pwd`;;
1018 [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";;
1019 *) ac_abs_builddir=`pwd`/"$ac_dir";;
1022 case $ac_abs_builddir in
1023 .) ac_abs_top_builddir=${ac_top_builddir}.;;
1025 case ${ac_top_builddir}. in
1026 .) ac_abs_top_builddir=$ac_abs_builddir;;
1027 [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;;
1028 *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;;
1031 case $ac_abs_builddir in
1032 .) ac_abs_srcdir=$ac_srcdir;;
1035 .) ac_abs_srcdir=$ac_abs_builddir;;
1036 [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
1037 *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;;
1040 case $ac_abs_builddir in
1041 .) ac_abs_top_srcdir=$ac_top_srcdir;;
1043 case $ac_top_srcdir in
1044 .) ac_abs_top_srcdir=$ac_abs_builddir;;
1045 [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;;
1046 *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;;
1051 # Check for guested configure; otherwise get Cygnus style configure.
1052 if test -f $ac_srcdir/configure.gnu; then
1054 $SHELL $ac_srcdir/configure.gnu --help=recursive
1055 elif test -f $ac_srcdir/configure; then
1057 $SHELL $ac_srcdir/configure --help=recursive
1058 elif test -f $ac_srcdir/configure.ac ||
1059 test -f $ac_srcdir/configure.in; then
1061 $ac_configure --help
1063 echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1069 test -n "$ac_init_help" && exit 0
1070 if $ac_init_version; then
1072 GNU Classpath configure 0.94-pre
1073 generated by GNU Autoconf 2.59
1075 Copyright (C) 2003 Free Software Foundation, Inc.
1076 This configure script is free software; the Free Software Foundation
1077 gives unlimited permission to copy, distribute and modify it.
1083 This file contains any messages produced by compilers while
1084 running configure, to aid debugging if configure makes a mistake.
1086 It was created by GNU Classpath $as_me 0.94-pre, which was
1087 generated by GNU Autoconf 2.59. Invocation command line was
1098 hostname = `(hostname || uname
-n) 2>/dev
/null |
sed 1q
`
1099 uname -m = `(uname
-m) 2>/dev
/null ||
echo unknown
`
1100 uname -r = `(uname
-r) 2>/dev
/null ||
echo unknown
`
1101 uname -s = `(uname
-s) 2>/dev
/null ||
echo unknown
`
1102 uname -v = `(uname
-v) 2>/dev
/null ||
echo unknown
`
1104 /usr/bin/uname -p = `(/usr
/bin
/uname
-p) 2>/dev
/null ||
echo unknown
`
1105 /bin/uname -X = `(/bin
/uname
-X) 2>/dev
/null ||
echo unknown
`
1107 /bin/arch = `(/bin
/arch
) 2>/dev
/null ||
echo unknown
`
1108 /usr/bin/arch -k = `(/usr
/bin
/arch
-k) 2>/dev
/null ||
echo unknown
`
1109 /usr/convex/getsysinfo = `(/usr
/convex
/getsysinfo
) 2>/dev
/null ||
echo unknown
`
1110 hostinfo = `(hostinfo
) 2>/dev
/null ||
echo unknown
`
1111 /bin/machine = `(/bin
/machine
) 2>/dev
/null ||
echo unknown
`
1112 /usr/bin/oslevel = `(/usr
/bin
/oslevel
) 2>/dev
/null ||
echo unknown
`
1113 /bin/universe = `(/bin
/universe
) 2>/dev
/null ||
echo unknown
`
1117 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1121 test -z "$as_dir" && as_dir=.
1122 echo "PATH: $as_dir"
1137 # Keep a trace of the command line.
1138 # Strip out --no-create and --no-recursion so they do not pile up.
1139 # Strip out --silent because we don't want to record it for future runs.
1140 # Also quote any args containing shell meta-characters.
1141 # Make two passes to allow for proper duplicate-argument suppression.
1146 ac_must_keep_next=false
1152 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
1153 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1154 | -silent | --silent | --silen | --sile | --sil)
1156 *" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
1157 ac_arg=`echo "$ac_arg" |
sed "s/'/'\\\\\\\\''/g"` ;;
1160 1) ac_configure_args0="$ac_configure_args0 '$ac_arg'" ;;
1162 ac_configure_args1="$ac_configure_args1 '$ac_arg'"
1163 if test $ac_must_keep_next = true; then
1164 ac_must_keep_next=false # Got value, back to normal.
1167 *=* | --config-cache | -C | -disable-* | --disable-* \
1168 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
1169 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
1170 | -with-* | --with-* | -without-* | --without-* | --x)
1171 case "$ac_configure_args0 " in
1172 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
1175 -* ) ac_must_keep_next=true ;;
1178 ac_configure_args="$ac_configure_args$ac_sep'$ac_arg'"
1179 # Get rid of the leading space.
1185 $as_unset ac_configure_args0 || test "${ac_configure_args0+set}" != set || { ac_configure_args0=; export ac_configure_args0; }
1186 $as_unset ac_configure_args1 || test "${ac_configure_args1+set}" != set || { ac_configure_args1=; export ac_configure_args1; }
1188 # When interrupted or exit'd, cleanup temporary files, and complete
1189 # config.log. We remove comments because anyway the quotes in there
1190 # would cause problems or look ugly.
1191 # WARNING: Be sure not to use single quotes in there, as some shells,
1192 # such as our DU 5.0 friend, will then `close
' the trap.
1193 trap 'exit_status
=$?
1194 # Save into config.log some information that might help in debugging.
1199 ## ---------------- ##
1200 ## Cache variables. ##
1201 ## ---------------- ##
1204 # The following way of writing the cache mishandles newlines in values,
1207 case `(ac_space='"'"' '"'"'; set | grep ac_space) 2>&1` in
1210 "s/'"'"'/'"'"'\\\\'"'"''"'"'/g;
1211 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='"'"'\\2'"'"'/p"
1215 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
1222 ## ----------------- ##
1223 ## Output variables. ##
1224 ## ----------------- ##
1227 for ac_var
in $ac_subst_vars
1229 eval ac_val
=$
`echo $ac_var`
1230 echo "$ac_var='"'"'$ac_val'"'"'"
1234 if test -n "$ac_subst_files"; then
1241 for ac_var
in $ac_subst_files
1243 eval ac_val
=$
`echo $ac_var`
1244 echo "$ac_var='"'"'$ac_val'"'"'"
1249 if test -s confdefs.h
; then
1256 sed "/^$/d" confdefs.h |
sort
1259 test "$ac_signal" != 0 &&
1260 echo "$as_me: caught signal $ac_signal"
1261 echo "$as_me: exit $exit_status"
1263 rm -f core
*.core
&&
1264 rm -rf conftest
* confdefs
* conf$$
* $ac_clean_files &&
1267 for ac_signal in 1 2 13 15; do
1268 trap 'ac_signal
='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
1272 # confdefs.h avoids OS command line length limits that DEFS can exceed.
1273 rm -rf conftest* confdefs.h
1274 # AIX cpp loses on an empty file, so make sure it contains at least a newline.
1277 # Predefined preprocessor variables.
1279 cat >>confdefs.h <<_ACEOF
1280 #define PACKAGE_NAME "$PACKAGE_NAME"
1284 cat >>confdefs.h <<_ACEOF
1285 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
1289 cat >>confdefs.h <<_ACEOF
1290 #define PACKAGE_VERSION "$PACKAGE_VERSION"
1294 cat >>confdefs.h <<_ACEOF
1295 #define PACKAGE_STRING "$PACKAGE_STRING"
1299 cat >>confdefs.h <<_ACEOF
1300 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
1304 # Let the site file select an alternate cache file if it wants to.
1305 # Prefer explicitly selected file to automatically selected ones.
1306 if test -z "$CONFIG_SITE"; then
1307 if test "x$prefix" != xNONE; then
1308 CONFIG_SITE="$prefix/share/config.site $prefix/etc/config.site"
1310 CONFIG_SITE="$ac_default_prefix/share/config.site $ac_default_prefix/etc/config.site"
1313 for ac_site_file in $CONFIG_SITE; do
1314 if test -r "$ac_site_file"; then
1315 { echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
1316 echo "$as_me: loading site script $ac_site_file" >&6;}
1317 sed 's
/^
/|
/' "$ac_site_file" >&5
1322 if test -r "$cache_file"; then
1323 # Some versions of bash will fail to source /dev/null (special
1324 # files actually), so we avoid doing that.
1325 if test -f "$cache_file"; then
1326 { echo "$as_me:$LINENO: loading cache $cache_file" >&5
1327 echo "$as_me: loading cache $cache_file" >&6;}
1329 [\\/]* | ?:[\\/]* ) . $cache_file;;
1330 *) . ./$cache_file;;
1334 { echo "$as_me:$LINENO: creating cache $cache_file" >&5
1335 echo "$as_me: creating cache $cache_file" >&6;}
1339 # Check that the precious variables saved in the cache have kept the same
1341 ac_cache_corrupted=false
1342 for ac_var in `(set) 2>&1 |
1343 sed -n 's
/^ac_env_\
([a-zA-Z_0-9
]*\
)_set
=.
*/\
1/p
'`; do
1344 eval ac_old_set=\$ac_cv_env_${ac_var}_set
1345 eval ac_new_set=\$ac_env_${ac_var}_set
1346 eval ac_old_val="\$ac_cv_env_${ac_var}_value"
1347 eval ac_new_val="\$ac_env_${ac_var}_value"
1348 case $ac_old_set,$ac_new_set in
1350 { echo "$as_me:$LINENO: error: \`$ac_var' was
set to \
`$ac_old_val' in the previous run" >&5
1351 echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run
" >&2;}
1352 ac_cache_corrupted=: ;;
1354 { echo "$as_me:$LINENO: error
: \
`$ac_var' was not set in the previous run" >&5
1355 echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
1356 ac_cache_corrupted=: ;;
1359 if test "x$ac_old_val" != "x$ac_new_val"; then
1360 { echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run
:" >&5
1361 echo "$as_me: error
: \
`$ac_var' has changed since the previous run:" >&2;}
1362 { echo "$as_me:$LINENO: former value: $ac_old_val" >&5
1363 echo "$as_me: former value: $ac_old_val" >&2;}
1364 { echo "$as_me:$LINENO: current value: $ac_new_val" >&5
1365 echo "$as_me: current value: $ac_new_val" >&2;}
1366 ac_cache_corrupted=:
1369 # Pass precious variables to config.status.
1370 if test "$ac_new_set" = set; then
1372 *" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
1373 ac_arg=$ac_var=`echo "$ac_new_val" |
sed "s/'/'\\\\\\\\''/g"` ;;
1374 *) ac_arg=$ac_var=$ac_new_val ;;
1376 case " $ac_configure_args " in
1377 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
1378 *) ac_configure_args="$ac_configure_args '$ac_arg'" ;;
1382 if $ac_cache_corrupted; then
1383 { echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5
1384 echo "$as_me: error: changes in the environment can compromise the build" >&2;}
1385 { { echo "$as_me:$LINENO: error: run \`make distclean
' and/or \`rm $cache_file' and start over
" >&5
1386 echo "$as_me: error
: run \
`make distclean' and/or \`rm $cache_file' and start over" >&2;}
1387 { (exit 1); exit 1; }; }
1391 ac_cpp='$CPP $CPPFLAGS'
1392 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
1393 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
1394 ac_compiler_gnu=$ac_cv_c_compiler_gnu
1425 for ac_dir in $srcdir $srcdir/.. $srcdir/../..; do
1426 if test -f $ac_dir/install-sh; then
1428 ac_install_sh="$ac_aux_dir/install-sh -c"
1430 elif test -f $ac_dir/install.sh; then
1432 ac_install_sh="$ac_aux_dir/install.sh -c"
1434 elif test -f $ac_dir/shtool; then
1436 ac_install_sh="$ac_aux_dir/shtool install -c"
1440 if test -z "$ac_aux_dir"; then
1441 { { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." >&5
1442 echo "$as_me: error: cannot find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." >&2;}
1443 { (exit 1); exit 1; }; }
1445 ac_config_guess="$SHELL $ac_aux_dir/config.guess"
1446 ac_config_sub="$SHELL $ac_aux_dir/config.sub"
1447 ac_configure="$SHELL $ac_aux_dir/configure" # This should be Cygnus configure.
1449 # Make sure we can run config.sub.
1450 $ac_config_sub sun4 >/dev/null 2>&1 ||
1451 { { echo "$as_me:$LINENO: error: cannot run $ac_config_sub" >&5
1452 echo "$as_me: error: cannot run $ac_config_sub" >&2;}
1453 { (exit 1); exit 1; }; }
1455 echo "$as_me:$LINENO: checking build system type" >&5
1456 echo $ECHO_N "checking build system type... $ECHO_C" >&6
1457 if test "${ac_cv_build+set}" = set; then
1458 echo $ECHO_N "(cached) $ECHO_C" >&6
1460 ac_cv_build_alias=$build_alias
1461 test -z "$ac_cv_build_alias" &&
1462 ac_cv_build_alias=`$ac_config_guess`
1463 test -z "$ac_cv_build_alias" &&
1464 { { echo "$as_me:$LINENO: error: cannot guess build type; you must specify one" >&5
1465 echo "$as_me: error: cannot guess build type; you must specify one" >&2;}
1466 { (exit 1); exit 1; }; }
1467 ac_cv_build=`$ac_config_sub $ac_cv_build_alias` ||
1468 { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_build_alias failed" >&5
1469 echo "$as_me: error: $ac_config_sub $ac_cv_build_alias failed" >&2;}
1470 { (exit 1); exit 1; }; }
1473 echo "$as_me:$LINENO: result: $ac_cv_build" >&5
1474 echo "${ECHO_T}$ac_cv_build" >&6
1476 build_cpu=`echo $ac_cv_build | sed 's
/^\
([^
-]*\
)-\
([^
-]*\
)-\
(.
*\
)$
/\
1/'`
1477 build_vendor=`echo $ac_cv_build | sed 's
/^\
([^
-]*\
)-\
([^
-]*\
)-\
(.
*\
)$
/\
2/'`
1478 build_os=`echo $ac_cv_build | sed 's
/^\
([^
-]*\
)-\
([^
-]*\
)-\
(.
*\
)$
/\
3/'`
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}-
1532 # Check whether --enable-java-maintainer-mode or --disable-java-maintainer-mode was given.
1533 if test "${enable_java_maintainer_mode+set}" = set; then
1534 enableval="$enable_java_maintainer_mode"
1539 if test "$enable_java_maintainer_mode" = yes; then
1540 JAVA_MAINTAINER_MODE_TRUE=
1541 JAVA_MAINTAINER_MODE_FALSE='#'
1543 JAVA_MAINTAINER_MODE_TRUE
='#'
1544 JAVA_MAINTAINER_MODE_FALSE
=
1548 # Find the rest of the source tree framework.
1549 # Default to --enable-multilib
1550 # Check whether --enable-multilib or --disable-multilib was given.
1551 if test "${enable_multilib+set}" = set; then
1552 enableval
="$enable_multilib"
1553 case "$enableval" in
1554 yes) multilib
=yes ;;
1556 *) { { echo "$as_me:$LINENO: error: bad value $enableval for multilib option" >&5
1557 echo "$as_me: error: bad value $enableval for multilib option" >&2;}
1558 { (exit 1); exit 1; }; } ;;
1564 # We may get other options which we leave undocumented:
1565 # --with-target-subdir, --with-multisrctop, --with-multisubdir
1566 # See config-ml.in if you want the gory details.
1568 if test "$srcdir" = "."; then
1569 if test "$with_target_subdir" != "."; then
1570 multi_basedir
="$srcdir/$with_multisrctop../../.."
1572 multi_basedir
="$srcdir/$with_multisrctop../.."
1575 multi_basedir
="$srcdir/../.."
1579 # Even if the default multilib is not a cross compilation,
1580 # it may be that some of the other multilibs are.
1581 if test $cross_compiling = no
&& test $multilib = yes \
1582 && test "x${with_multisubdir}" != x
; then
1583 cross_compiling
=maybe
1586 ac_config_commands
="$ac_config_commands default-1"
1589 if expr ${target_cpu} : '.*86' > /dev
/null
; then target_cpu
=x86
; fi
1602 CLASSPATH_MODULE
="${cp_module} -version-info ${LIBVERSION} -no-undefined"
1605 CLASSPATH_CONVENIENCE
="-no-undefined"
1609 am__api_version
="1.9"
1610 # Find a good install program. We prefer a C program (faster),
1611 # so one script is as good as another. But avoid the broken or
1612 # incompatible versions:
1613 # SysV /etc/install, /usr/sbin/install
1614 # SunOS /usr/etc/install
1615 # IRIX /sbin/install
1617 # AmigaOS /C/install, which installs bootblocks on floppy discs
1618 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
1619 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
1620 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
1621 # OS/2's system install, which has a completely different semantic
1622 # ./install, which can be erroneously created by make from ./install.sh.
1623 echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
1624 echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6
1625 if test -z "$INSTALL"; then
1626 if test "${ac_cv_path_install+set}" = set; then
1627 echo $ECHO_N "(cached) $ECHO_C" >&6
1629 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
1633 test -z "$as_dir" && as_dir
=.
1634 # Account for people who put trailing slashes in PATH elements.
1636 .
/ | .
// |
/cC
/* | \
1637 /etc
/* |
/usr
/sbin
/* |
/usr
/etc
/* |
/sbin
/* |
/usr
/afsws
/bin
/* | \
1638 ?
:\\/os2
\\/install\\/* | ?
:\\/OS2
\\/INSTALL
\\/* | \
1641 # OSF1 and SCO ODT 3.0 have their own names for install.
1642 # Don't use installbsd from OSF since it installs stuff as root
1644 for ac_prog
in ginstall scoinst
install; do
1645 for ac_exec_ext
in '' $ac_executable_extensions; do
1646 if $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
1647 if test $ac_prog = install &&
1648 grep dspmsg
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
1649 # AIX install. It has an incompatible calling convention.
1651 elif test $ac_prog = install &&
1652 grep pwplus
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
1653 # program-specific install script used by HP pwplus--don't use.
1656 ac_cv_path_install
="$as_dir/$ac_prog$ac_exec_ext -c"
1668 if test "${ac_cv_path_install+set}" = set; then
1669 INSTALL
=$ac_cv_path_install
1671 # As a last resort, use the slow shell script. We don't cache a
1672 # path for INSTALL within a source directory, because that will
1673 # break other packages using the cache if that directory is
1674 # removed, or if the path is relative.
1675 INSTALL
=$ac_install_sh
1678 echo "$as_me:$LINENO: result: $INSTALL" >&5
1679 echo "${ECHO_T}$INSTALL" >&6
1681 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
1682 # It thinks the first close brace ends the variable substitution.
1683 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM
='${INSTALL}'
1685 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT
='${INSTALL}'
1687 test -z "$INSTALL_DATA" && INSTALL_DATA
='${INSTALL} -m 644'
1689 echo "$as_me:$LINENO: checking whether build environment is sane" >&5
1690 echo $ECHO_N "checking whether build environment is sane... $ECHO_C" >&6
1693 echo timestamp
> conftest.
file
1694 # Do `set' in a subshell so we don't clobber the current shell's
1695 # arguments. Must try -L first in case configure is actually a
1696 # symlink; some systems play weird games with the mod time of symlinks
1697 # (eg FreeBSD returns the mod time of the symlink's containing
1700 set X
`ls -Lt $srcdir/configure conftest.file 2> /dev/null`
1701 if test "$*" = "X"; then
1703 set X
`ls -t $srcdir/configure conftest.file`
1706 if test "$*" != "X $srcdir/configure conftest.file" \
1707 && test "$*" != "X conftest.file $srcdir/configure"; then
1709 # If neither matched, then we have a broken ls. This can happen
1710 # if, for instance, CONFIG_SHELL is bash and it inherits a
1711 # broken ls alias from the environment. This has actually
1712 # happened. Such a system could not be considered "sane".
1713 { { echo "$as_me:$LINENO: error: ls -t appears to fail. Make sure there is not a broken
1714 alias in your environment" >&5
1715 echo "$as_me: error: ls -t appears to fail. Make sure there is not a broken
1716 alias in your environment" >&2;}
1717 { (exit 1); exit 1; }; }
1720 test "$2" = conftest.
file
1726 { { echo "$as_me:$LINENO: error: newly created file is older than distributed files!
1727 Check your system clock" >&5
1728 echo "$as_me: error: newly created file is older than distributed files!
1729 Check your system clock" >&2;}
1730 { (exit 1); exit 1; }; }
1732 echo "$as_me:$LINENO: result: yes" >&5
1733 echo "${ECHO_T}yes" >&6
1734 test "$program_prefix" != NONE
&&
1735 program_transform_name
="s,^,$program_prefix,;$program_transform_name"
1736 # Use a double $ so make ignores it.
1737 test "$program_suffix" != NONE
&&
1738 program_transform_name
="s,\$,$program_suffix,;$program_transform_name"
1739 # Double any \ or $. echo might interpret backslashes.
1740 # By default was `s,x,x', remove it if useless.
1741 cat <<\_ACEOF
>conftest.
sed
1742 s
/[\\$
]/&&/g
;s
/;s
,x
,x
,$
//
1744 program_transform_name
=`echo $program_transform_name | sed -f conftest.sed`
1747 # expand $ac_aux_dir to an absolute path
1748 am_aux_dir
=`cd $ac_aux_dir && pwd`
1750 test x
"${MISSING+set}" = xset || MISSING
="\${SHELL} $am_aux_dir/missing"
1751 # Use eval to expand $SHELL
1752 if eval "$MISSING --run true"; then
1753 am_missing_run
="$MISSING --run "
1756 { echo "$as_me:$LINENO: WARNING: \`missing' script is too old or missing" >&5
1757 echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;}
1760 if mkdir
-p --version .
>/dev
/null
2>&1 && test ! -d .
/--version; then
1761 # We used to keeping the `.' as first argument, in order to
1762 # allow $(mkdir_p) to be used without argument. As in
1763 # $(mkdir_p) $(somedir)
1764 # where $(somedir) is conditionally defined. However this is wrong
1766 # 1. if the package is installed by a user who cannot write `.'
1767 # make install will fail,
1768 # 2. the above comment should most certainly read
1769 # $(mkdir_p) $(DESTDIR)$(somedir)
1770 # so it does not work when $(somedir) is undefined and
1771 # $(DESTDIR) is not.
1772 # To support the latter case, we have to write
1773 # test -z "$(somedir)" || $(mkdir_p) $(DESTDIR)$(somedir),
1774 # so the `.' trick is pointless.
1775 mkdir_p
='mkdir -p --'
1777 # On NextStep and OpenStep, the `mkdir' command does not
1778 # recognize any option. It will interpret all options as
1779 # directories to create, and then abort because `.' already
1781 for d
in .
/-p .
/--version;
1783 test -d $d && rmdir $d
1785 # $(mkinstalldirs) is defined by Automake if mkinstalldirs exists.
1786 if test -f "$ac_aux_dir/mkinstalldirs"; then
1787 mkdir_p
='$(mkinstalldirs)'
1789 mkdir_p
='$(install_sh) -d'
1793 for ac_prog
in gawk mawk nawk
awk
1795 # Extract the first word of "$ac_prog", so it can be a program name with args.
1796 set dummy
$ac_prog; ac_word
=$2
1797 echo "$as_me:$LINENO: checking for $ac_word" >&5
1798 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1799 if test "${ac_cv_prog_AWK+set}" = set; then
1800 echo $ECHO_N "(cached) $ECHO_C" >&6
1802 if test -n "$AWK"; then
1803 ac_cv_prog_AWK
="$AWK" # Let the user override the test.
1805 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
1809 test -z "$as_dir" && as_dir
=.
1810 for ac_exec_ext
in '' $ac_executable_extensions; do
1811 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1812 ac_cv_prog_AWK
="$ac_prog"
1813 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1822 if test -n "$AWK"; then
1823 echo "$as_me:$LINENO: result: $AWK" >&5
1824 echo "${ECHO_T}$AWK" >&6
1826 echo "$as_me:$LINENO: result: no" >&5
1827 echo "${ECHO_T}no" >&6
1830 test -n "$AWK" && break
1833 echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
1834 echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6
1835 set dummy
${MAKE-make}; ac_make
=`echo "$2" | sed 'y,:./+-,___p_,'`
1836 if eval "test \"\${ac_cv_prog_make_${ac_make}_set+set}\" = set"; then
1837 echo $ECHO_N "(cached) $ECHO_C" >&6
1839 cat >conftest.
make <<\_ACEOF
1841 @
echo 'ac_maketemp="$(MAKE)"'
1843 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
1844 eval `${MAKE-make} -f conftest.make 2>/dev/null | grep temp=`
1845 if test -n "$ac_maketemp"; then
1846 eval ac_cv_prog_make_
${ac_make}_set
=yes
1848 eval ac_cv_prog_make_
${ac_make}_set
=no
1852 if eval "test \"`echo '$ac_cv_prog_make_'${ac_make}_set`\" = yes"; then
1853 echo "$as_me:$LINENO: result: yes" >&5
1854 echo "${ECHO_T}yes" >&6
1857 echo "$as_me:$LINENO: result: no" >&5
1858 echo "${ECHO_T}no" >&6
1859 SET_MAKE
="MAKE=${MAKE-make}"
1862 rm -rf .tst
2>/dev
/null
1863 mkdir .tst
2>/dev
/null
1864 if test -d .tst
; then
1869 rmdir .tst
2>/dev
/null
1871 # test to see if srcdir already configured
1872 if test "`cd $srcdir && pwd`" != "`pwd`" &&
1873 test -f $srcdir/config.status
; then
1874 { { echo "$as_me:$LINENO: error: source directory already configured; run \"make distclean\" there first" >&5
1875 echo "$as_me: error: source directory already configured; run \"make distclean\" there first" >&2;}
1876 { (exit 1); exit 1; }; }
1879 # test whether we have cygpath
1880 if test -z "$CYGPATH_W"; then
1881 if (cygpath
--version) >/dev
/null
2>/dev
/null
; then
1882 CYGPATH_W
='cygpath -w'
1889 # Define the identity of the package.
1894 cat >>confdefs.h
<<_ACEOF
1895 #define PACKAGE "$PACKAGE"
1899 cat >>confdefs.h
<<_ACEOF
1900 #define VERSION "$VERSION"
1903 # Some tools Automake needs.
1905 ACLOCAL
=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
1908 AUTOCONF
=${AUTOCONF-"${am_missing_run}autoconf"}
1911 AUTOMAKE
=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
1914 AUTOHEADER
=${AUTOHEADER-"${am_missing_run}autoheader"}
1917 MAKEINFO
=${MAKEINFO-"${am_missing_run}makeinfo"}
1919 install_sh
=${install_sh-"$am_aux_dir/install-sh"}
1921 # Installed binaries are usually stripped using `strip' when the user
1922 # run `make install-strip'. However `strip' might not be the right
1923 # tool to use in cross-compilation environments, therefore Automake
1924 # will honor the `STRIP' environment variable to overrule this program.
1925 if test "$cross_compiling" != no
; then
1926 if test -n "$ac_tool_prefix"; then
1927 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
1928 set dummy
${ac_tool_prefix}strip
; ac_word
=$2
1929 echo "$as_me:$LINENO: checking for $ac_word" >&5
1930 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1931 if test "${ac_cv_prog_STRIP+set}" = set; then
1932 echo $ECHO_N "(cached) $ECHO_C" >&6
1934 if test -n "$STRIP"; then
1935 ac_cv_prog_STRIP
="$STRIP" # Let the user override the test.
1937 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
1941 test -z "$as_dir" && as_dir
=.
1942 for ac_exec_ext
in '' $ac_executable_extensions; do
1943 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1944 ac_cv_prog_STRIP
="${ac_tool_prefix}strip"
1945 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1953 STRIP
=$ac_cv_prog_STRIP
1954 if test -n "$STRIP"; then
1955 echo "$as_me:$LINENO: result: $STRIP" >&5
1956 echo "${ECHO_T}$STRIP" >&6
1958 echo "$as_me:$LINENO: result: no" >&5
1959 echo "${ECHO_T}no" >&6
1963 if test -z "$ac_cv_prog_STRIP"; then
1965 # Extract the first word of "strip", so it can be a program name with args.
1966 set dummy strip
; ac_word
=$2
1967 echo "$as_me:$LINENO: checking for $ac_word" >&5
1968 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1969 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
1970 echo $ECHO_N "(cached) $ECHO_C" >&6
1972 if test -n "$ac_ct_STRIP"; then
1973 ac_cv_prog_ac_ct_STRIP
="$ac_ct_STRIP" # Let the user override the test.
1975 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
1979 test -z "$as_dir" && as_dir
=.
1980 for ac_exec_ext
in '' $ac_executable_extensions; do
1981 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1982 ac_cv_prog_ac_ct_STRIP
="strip"
1983 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1989 test -z "$ac_cv_prog_ac_ct_STRIP" && ac_cv_prog_ac_ct_STRIP
=":"
1992 ac_ct_STRIP
=$ac_cv_prog_ac_ct_STRIP
1993 if test -n "$ac_ct_STRIP"; then
1994 echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
1995 echo "${ECHO_T}$ac_ct_STRIP" >&6
1997 echo "$as_me:$LINENO: result: no" >&5
1998 echo "${ECHO_T}no" >&6
2003 STRIP
="$ac_cv_prog_STRIP"
2007 INSTALL_STRIP_PROGRAM
="\${SHELL} \$(install_sh) -c -s"
2009 # We need awk for the "check" target. The system "awk" is bad on
2011 # Always define AMTAR for backward compatibility.
2013 AMTAR
=${AMTAR-"${am_missing_run}tar"}
2016 echo "$as_me:$LINENO: checking how to create a ustar tar archive" >&5
2017 echo $ECHO_N "checking how to create a ustar tar archive... $ECHO_C" >&6
2018 # Loop over all known methods to create a tar archive until one works.
2019 _am_tools
='gnutar plaintar pax cpio none'
2020 _am_tools
=${am_cv_prog_tar_ustar-$_am_tools}
2021 # Do not fold the above two line into one, because Tru64 sh and
2022 # Solaris sh will not grok spaces in the rhs of `-'.
2023 for _am_tool
in $_am_tools
2027 for _am_tar
in tar gnutar gtar
;
2029 { echo "$as_me:$LINENO: $_am_tar --version" >&5
2030 ($_am_tar --version) >&5 2>&5
2032 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2033 (exit $ac_status); } && break
2035 am__tar
="$_am_tar --format=ustar -chf - "'"$$tardir"'
2036 am__tar_
="$_am_tar --format=ustar -chf - "'"$tardir"'
2037 am__untar
="$_am_tar -xf -"
2040 # Must skip GNU tar: if it does not support --format= it doesn't create
2041 # ustar tarball either.
2042 (tar --version) >/dev
/null
2>&1 && continue
2043 am__tar
='tar chf - "$$tardir"'
2044 am__tar_
='tar chf - "$tardir"'
2045 am__untar
='tar xf -'
2048 am__tar
='pax -L -x ustar -w "$$tardir"'
2049 am__tar_
='pax -L -x ustar -w "$tardir"'
2053 am__tar
='find "$$tardir" -print | cpio -o -H ustar -L'
2054 am__tar_
='find "$tardir" -print | cpio -o -H ustar -L'
2055 am__untar
='cpio -i -H ustar -d'
2064 # If the value was cached, stop now. We just wanted to have am__tar
2065 # and am__untar set.
2066 test -n "${am_cv_prog_tar_ustar}" && break
2068 # tar/untar a dummy directory, and stop if the command works
2071 echo GrepMe
> conftest.dir
/file
2072 { echo "$as_me:$LINENO: tardir=conftest.dir && eval $am__tar_ >conftest.tar" >&5
2073 (tardir
=conftest.dir
&& eval $am__tar_ >conftest.
tar) >&5 2>&5
2075 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2076 (exit $ac_status); }
2078 if test -s conftest.
tar; then
2079 { echo "$as_me:$LINENO: $am__untar <conftest.tar" >&5
2080 ($am__untar <conftest.
tar) >&5 2>&5
2082 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2083 (exit $ac_status); }
2084 grep GrepMe conftest.dir
/file >/dev
/null
2>&1 && break
2089 if test "${am_cv_prog_tar_ustar+set}" = set; then
2090 echo $ECHO_N "(cached) $ECHO_C" >&6
2092 am_cv_prog_tar_ustar
=$_am_tool
2095 echo "$as_me:$LINENO: result: $am_cv_prog_tar_ustar" >&5
2096 echo "${ECHO_T}$am_cv_prog_tar_ustar" >&6
2102 ac_config_headers
="$ac_config_headers include/config.h"
2108 # Check whether --enable-collections or --disable-collections was given.
2109 if test "${enable_collections+set}" = set; then
2110 enableval
="$enable_collections"
2111 case x
"${enableval}" in
2112 xyes
) COMPILE_COLLECTIONS
=yes; COLLECTIONS_PREFIX
="\"gnu/java/util/collections\"" ;;
2113 xno
) COMPILE_COLLECTIONS
=no
;;
2114 x
) COMPILE_COLLECTIONS
=yes; COLLECTIONS_PREFIX
="\"gnu/java/util/collections\"" ;;
2115 *) COMPILE_COLLECTIONS
=yes; COLLECTIONS_PREFIX
="\"${enableval}\"" ;;
2118 COMPILE_COLLECTIONS
=no
2122 if test "x${COMPILE_COLLECTIONS}" = xyes
; then
2123 CREATE_COLLECTIONS_TRUE
=
2124 CREATE_COLLECTIONS_FALSE
='#'
2126 CREATE_COLLECTIONS_TRUE
='#'
2127 CREATE_COLLECTIONS_FALSE
=
2131 # Check whether --enable-jni or --disable-jni was given.
2132 if test "${enable_jni+set}" = set; then
2133 enableval
="$enable_jni"
2134 case "${enableval}" in
2135 yes) COMPILE_JNI
=yes; COMPILE_JAVA
=yes ;;
2136 no
) COMPILE_JNI
=no
;;
2137 *) COMPILE_JNI
=yes; COMPILE_JAVA
=yes ;;
2144 if test "x${COMPILE_JNI}" = xyes
; then
2145 CREATE_JNI_LIBRARIES_TRUE
=
2146 CREATE_JNI_LIBRARIES_FALSE
='#'
2148 CREATE_JNI_LIBRARIES_TRUE
='#'
2149 CREATE_JNI_LIBRARIES_FALSE
=
2153 # Check whether --enable-core-jni or --disable-core-jni was given.
2154 if test "${enable_core_jni+set}" = set; then
2155 enableval
="$enable_core_jni"
2156 case "${enableval}" in
2157 yes) COMPILE_CORE_JNI
=yes; COMPILE_JAVA
=yes ;;
2158 no
) COMPILE_CORE_JNI
=no
;;
2159 *) COMPILE_CORE_JNI
=yes; COMPILE_JAVA
=yes ;;
2162 COMPILE_CORE_JNI
=yes
2166 if test "x${COMPILE_CORE_JNI}" = xyes
; then
2167 CREATE_CORE_JNI_LIBRARIES_TRUE
=
2168 CREATE_CORE_JNI_LIBRARIES_FALSE
='#'
2170 CREATE_CORE_JNI_LIBRARIES_TRUE
='#'
2171 CREATE_CORE_JNI_LIBRARIES_FALSE
=
2175 # Check whether --enable-default-preferences-peer or --disable-default-preferences-peer was given.
2176 if test "${enable_default_preferences_peer+set}" = set; then
2177 enableval
="$enable_default_preferences_peer"
2178 case "${enableval}" in
2179 file) DEFAULT_PREFS_PEER
=gnu.java.util.prefs.FileBasedFactory
;;
2180 gconf|
yes|true
) DEFAULT_PREFS_PEER
=gnu.java.util.prefs.GConfBasedFactory
;;
2181 memory
) DEFAULT_PREFS_PEER
=gnu.java.util.prefs.MemoryBasedFactory
;;
2182 no|false
) { { echo "$as_me:$LINENO: error: bad value '${enableval}' for --enable-default-preferences-peer" >&5
2183 echo "$as_me: error: bad value '${enableval}' for --enable-default-preferences-peer" >&2;}
2184 { (exit 1); exit 1; }; } ;;
2185 *) DEFAULT_PREFS_PEER
=${enableval} ;;
2188 DEFAULT_PREFS_PEER
=gnu.java.util.prefs.GConfBasedFactory
2191 # Check whether --enable-gconf-peer or --disable-gconf-peer was given.
2192 if test "${enable_gconf_peer+set}" = set; then
2193 enableval
="$enable_gconf_peer"
2194 case "${enableval}" in
2195 yes) COMPILE_GCONF_PEER
=yes ;;
2196 no
) COMPILE_GCONF_PEER
=no
;;
2197 *) COMPILE_GCONF_PEER
=yes ;;
2200 COMPILE_GCONF_PEER
=yes
2204 if test "x${COMPILE_GCONF_PEER}" = xyes
; then
2205 CREATE_GCONF_PEER_LIBRARIES_TRUE
=
2206 CREATE_GCONF_PEER_LIBRARIES_FALSE
='#'
2208 CREATE_GCONF_PEER_LIBRARIES_TRUE
='#'
2209 CREATE_GCONF_PEER_LIBRARIES_FALSE
=
2213 # Check whether --enable-gconf-peers or --disable-gconf-peers was given.
2214 if test "${enable_gconf_peers+set}" = set; then
2215 enableval
="$enable_gconf_peers"
2216 { { echo "$as_me:$LINENO: error: No --enable-gconf-peers (or --disable-gconf-peers) option; you want --enable-gconf-peer" >&5
2217 echo "$as_me: error: No --enable-gconf-peers (or --disable-gconf-peers) option; you want --enable-gconf-peer" >&2;}
2218 { (exit 1); exit 1; }; }
2221 # Check whether --enable-Werror or --disable-Werror was given.
2222 if test "${enable_Werror+set}" = set; then
2223 enableval
="$enable_Werror"
2224 case "${enableval}" in
2225 yes) ENABLE_WERROR
=yes ;;
2226 no
) ENABLE_WERROR
=no
;;
2227 *) ENABLE_WERROR
=default
;;
2230 ENABLE_WERROR
=default
2233 # Check whether --enable-default-toolkit or --disable-default-toolkit was given.
2234 if test "${enable_default_toolkit+set}" = set; then
2235 enableval
="$enable_default_toolkit"
2238 default_toolkit
=$enable_default_toolkit
2239 if test "$default_toolkit" = ""; then
2240 default_toolkit
=gnu.java.awt.peer.gtk.GtkToolkit
2244 # Check whether --enable-xmlj or --disable-xmlj was given.
2245 if test "${enable_xmlj+set}" = set; then
2246 enableval
="$enable_xmlj"
2247 case "${enableval}" in
2248 yes) COMPILE_XMLJ
=yes ;;
2249 no
) COMPILE_XMLJ
=no
;;
2250 *) COMPILE_XMLJ
=no
;;
2257 if test "x${COMPILE_XMLJ}" = xyes
; then
2258 CREATE_XMLJ_LIBRARY_TRUE
=
2259 CREATE_XMLJ_LIBRARY_FALSE
='#'
2261 CREATE_XMLJ_LIBRARY_TRUE
='#'
2262 CREATE_XMLJ_LIBRARY_FALSE
=
2266 DEPDIR
="${am__leading_dot}deps"
2268 ac_config_commands
="$ac_config_commands depfiles"
2271 am_make
=${MAKE-make}
2272 cat > confinc
<< 'END'
2277 # If we don't find an include directive, just comment out the code.
2278 echo "$as_me:$LINENO: checking for style of include used by $am_make" >&5
2279 echo $ECHO_N "checking for style of include used by $am_make... $ECHO_C" >&6
2283 # First try GNU make style include.
2284 echo "include confinc" > confmf
2285 # We grep out `Entering directory' and `Leaving directory'
2286 # messages which can occur if `w' ends up in MAKEFLAGS.
2287 # In particular we don't look at `^make:' because GNU make might
2288 # be invoked under some other name (usually "gmake"), in which
2289 # case it prints its new name instead of `make'.
2290 if test "`$am_make -s -f confmf 2> /dev/null | grep -v 'ing directory'`" = "done"; then
2295 # Now try BSD make style include.
2296 if test "$am__include" = "#"; then
2297 echo '.include "confinc"' > confmf
2298 if test "`$am_make -s -f confmf 2> /dev/null`" = "done"; then
2299 am__include
=.include
2306 echo "$as_me:$LINENO: result: $_am_result" >&5
2307 echo "${ECHO_T}$_am_result" >&6
2308 rm -f confinc confmf
2310 # Check whether --enable-dependency-tracking or --disable-dependency-tracking was given.
2311 if test "${enable_dependency_tracking+set}" = set; then
2312 enableval
="$enable_dependency_tracking"
2315 if test "x$enable_dependency_tracking" != xno
; then
2316 am_depcomp
="$ac_aux_dir/depcomp"
2321 if test "x$enable_dependency_tracking" != xno; then
2332 ac_cpp
='$CPP $CPPFLAGS'
2333 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2334 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2335 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
2336 if test -n "$ac_tool_prefix"; then
2337 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
2338 set dummy
${ac_tool_prefix}gcc
; ac_word
=$2
2339 echo "$as_me:$LINENO: checking for $ac_word" >&5
2340 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2341 if test "${ac_cv_prog_CC+set}" = set; then
2342 echo $ECHO_N "(cached) $ECHO_C" >&6
2344 if test -n "$CC"; then
2345 ac_cv_prog_CC
="$CC" # Let the user override the test.
2347 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2351 test -z "$as_dir" && as_dir
=.
2352 for ac_exec_ext
in '' $ac_executable_extensions; do
2353 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2354 ac_cv_prog_CC
="${ac_tool_prefix}gcc"
2355 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2364 if test -n "$CC"; then
2365 echo "$as_me:$LINENO: result: $CC" >&5
2366 echo "${ECHO_T}$CC" >&6
2368 echo "$as_me:$LINENO: result: no" >&5
2369 echo "${ECHO_T}no" >&6
2373 if test -z "$ac_cv_prog_CC"; then
2375 # Extract the first word of "gcc", so it can be a program name with args.
2376 set dummy gcc
; ac_word
=$2
2377 echo "$as_me:$LINENO: checking for $ac_word" >&5
2378 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2379 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
2380 echo $ECHO_N "(cached) $ECHO_C" >&6
2382 if test -n "$ac_ct_CC"; then
2383 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
2385 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2389 test -z "$as_dir" && as_dir
=.
2390 for ac_exec_ext
in '' $ac_executable_extensions; do
2391 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2392 ac_cv_prog_ac_ct_CC
="gcc"
2393 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2401 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
2402 if test -n "$ac_ct_CC"; then
2403 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
2404 echo "${ECHO_T}$ac_ct_CC" >&6
2406 echo "$as_me:$LINENO: result: no" >&5
2407 echo "${ECHO_T}no" >&6
2415 if test -z "$CC"; then
2416 if test -n "$ac_tool_prefix"; then
2417 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
2418 set dummy
${ac_tool_prefix}cc
; ac_word
=$2
2419 echo "$as_me:$LINENO: checking for $ac_word" >&5
2420 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2421 if test "${ac_cv_prog_CC+set}" = set; then
2422 echo $ECHO_N "(cached) $ECHO_C" >&6
2424 if test -n "$CC"; then
2425 ac_cv_prog_CC
="$CC" # Let the user override the test.
2427 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2431 test -z "$as_dir" && as_dir
=.
2432 for ac_exec_ext
in '' $ac_executable_extensions; do
2433 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2434 ac_cv_prog_CC
="${ac_tool_prefix}cc"
2435 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2444 if test -n "$CC"; then
2445 echo "$as_me:$LINENO: result: $CC" >&5
2446 echo "${ECHO_T}$CC" >&6
2448 echo "$as_me:$LINENO: result: no" >&5
2449 echo "${ECHO_T}no" >&6
2453 if test -z "$ac_cv_prog_CC"; then
2455 # Extract the first word of "cc", so it can be a program name with args.
2456 set dummy cc
; ac_word
=$2
2457 echo "$as_me:$LINENO: checking for $ac_word" >&5
2458 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2459 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
2460 echo $ECHO_N "(cached) $ECHO_C" >&6
2462 if test -n "$ac_ct_CC"; then
2463 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
2465 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2469 test -z "$as_dir" && as_dir
=.
2470 for ac_exec_ext
in '' $ac_executable_extensions; do
2471 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2472 ac_cv_prog_ac_ct_CC
="cc"
2473 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2481 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
2482 if test -n "$ac_ct_CC"; then
2483 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
2484 echo "${ECHO_T}$ac_ct_CC" >&6
2486 echo "$as_me:$LINENO: result: no" >&5
2487 echo "${ECHO_T}no" >&6
2496 if test -z "$CC"; then
2497 # Extract the first word of "cc", so it can be a program name with args.
2498 set dummy cc
; ac_word
=$2
2499 echo "$as_me:$LINENO: checking for $ac_word" >&5
2500 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2501 if test "${ac_cv_prog_CC+set}" = set; then
2502 echo $ECHO_N "(cached) $ECHO_C" >&6
2504 if test -n "$CC"; then
2505 ac_cv_prog_CC
="$CC" # Let the user override the test.
2508 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2512 test -z "$as_dir" && as_dir
=.
2513 for ac_exec_ext
in '' $ac_executable_extensions; do
2514 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2515 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
2516 ac_prog_rejected
=yes
2520 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2526 if test $ac_prog_rejected = yes; then
2527 # We found a bogon in the path, so make sure we never use it.
2528 set dummy
$ac_cv_prog_CC
2530 if test $# != 0; then
2531 # We chose a different compiler from the bogus one.
2532 # However, it has the same basename, so the bogon will be chosen
2533 # first if we set CC to just the basename; use the full file name.
2535 ac_cv_prog_CC
="$as_dir/$ac_word${1+' '}$@"
2541 if test -n "$CC"; then
2542 echo "$as_me:$LINENO: result: $CC" >&5
2543 echo "${ECHO_T}$CC" >&6
2545 echo "$as_me:$LINENO: result: no" >&5
2546 echo "${ECHO_T}no" >&6
2550 if test -z "$CC"; then
2551 if test -n "$ac_tool_prefix"; then
2554 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
2555 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
2556 echo "$as_me:$LINENO: checking for $ac_word" >&5
2557 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2558 if test "${ac_cv_prog_CC+set}" = set; then
2559 echo $ECHO_N "(cached) $ECHO_C" >&6
2561 if test -n "$CC"; then
2562 ac_cv_prog_CC
="$CC" # Let the user override the test.
2564 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2568 test -z "$as_dir" && as_dir
=.
2569 for ac_exec_ext
in '' $ac_executable_extensions; do
2570 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2571 ac_cv_prog_CC
="$ac_tool_prefix$ac_prog"
2572 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2581 if test -n "$CC"; then
2582 echo "$as_me:$LINENO: result: $CC" >&5
2583 echo "${ECHO_T}$CC" >&6
2585 echo "$as_me:$LINENO: result: no" >&5
2586 echo "${ECHO_T}no" >&6
2589 test -n "$CC" && break
2592 if test -z "$CC"; then
2596 # Extract the first word of "$ac_prog", so it can be a program name with args.
2597 set dummy
$ac_prog; ac_word
=$2
2598 echo "$as_me:$LINENO: checking for $ac_word" >&5
2599 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2600 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
2601 echo $ECHO_N "(cached) $ECHO_C" >&6
2603 if test -n "$ac_ct_CC"; then
2604 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
2606 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2610 test -z "$as_dir" && as_dir
=.
2611 for ac_exec_ext
in '' $ac_executable_extensions; do
2612 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2613 ac_cv_prog_ac_ct_CC
="$ac_prog"
2614 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2622 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
2623 if test -n "$ac_ct_CC"; then
2624 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
2625 echo "${ECHO_T}$ac_ct_CC" >&6
2627 echo "$as_me:$LINENO: result: no" >&5
2628 echo "${ECHO_T}no" >&6
2631 test -n "$ac_ct_CC" && break
2640 test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
2641 See \`config.log' for more details." >&5
2642 echo "$as_me: error: no acceptable C compiler found in \$PATH
2643 See \`config.log' for more details." >&2;}
2644 { (exit 1); exit 1; }; }
2646 # Provide some information about the compiler.
2647 echo "$as_me:$LINENO:" \
2648 "checking for C compiler version" >&5
2649 ac_compiler
=`set X $ac_compile; echo $2`
2650 { (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5
2651 (eval $ac_compiler --version </dev
/null
>&5) 2>&5
2653 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2654 (exit $ac_status); }
2655 { (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5
2656 (eval $ac_compiler -v </dev
/null
>&5) 2>&5
2658 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2659 (exit $ac_status); }
2660 { (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5
2661 (eval $ac_compiler -V </dev
/null
>&5) 2>&5
2663 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2664 (exit $ac_status); }
2666 cat >conftest.
$ac_ext <<_ACEOF
2669 cat confdefs.h
>>conftest.
$ac_ext
2670 cat >>conftest.
$ac_ext <<_ACEOF
2671 /* end confdefs.h. */
2682 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
2683 (eval $ac_link) 2>&5
2685 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2686 (exit $ac_status); }; then
2692 if test x
$gcc_no_link = xyes
; then
2693 # Setting cross_compile will disable run tests; it will
2694 # also disable AC_CHECK_FILE but that's generally
2695 # correct if we can't link.
2699 cat >conftest.
$ac_ext <<_ACEOF
2702 cat confdefs.h
>>conftest.
$ac_ext
2703 cat >>conftest.
$ac_ext <<_ACEOF
2704 /* end confdefs.h. */
2714 ac_clean_files_save
=$ac_clean_files
2715 ac_clean_files
="$ac_clean_files a.out a.exe b.out"
2716 # Try to create an executable without -o first, disregard a.out.
2717 # It will help us diagnose broken compilers, and finding out an intuition
2719 echo "$as_me:$LINENO: checking for C compiler default output file name" >&5
2720 echo $ECHO_N "checking for C compiler default output file name... $ECHO_C" >&6
2721 ac_link_default
=`echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
2722 if { (eval echo "$as_me:$LINENO: \"$ac_link_default\"") >&5
2723 (eval $ac_link_default) 2>&5
2725 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2726 (exit $ac_status); }; then
2727 # Find the output, starting from the most likely. This scheme is
2728 # not robust to junk in `.', hence go to wildcards (a.*) only as a last
2731 # Be careful to initialize this variable, since it used to be cached.
2732 # Otherwise an old cache value of `no' led to `EXEEXT = no' in a Makefile.
2734 # b.out is created by i960 compilers.
2735 for ac_file
in a_out.exe a.exe conftest.exe a.out conftest a.
* conftest.
* b.out
2737 test -f "$ac_file" ||
continue
2739 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg |
*.o |
*.obj
)
2742 # This is the source file.
2745 # We found the default executable, but exeext='' is most
2749 ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
2750 # FIXME: I believe we export ac_cv_exeext for Libtool,
2751 # but it would be cool to find out if it's true. Does anybody
2752 # maintain Libtool? --akim.
2760 echo "$as_me: failed program was:" >&5
2761 sed 's/^/| /' conftest.
$ac_ext >&5
2763 { { echo "$as_me:$LINENO: error: C compiler cannot create executables
2764 See \`config.log' for more details." >&5
2765 echo "$as_me: error: C compiler cannot create executables
2766 See \`config.log' for more details." >&2;}
2767 { (exit 77); exit 77; }; }
2770 ac_exeext
=$ac_cv_exeext
2771 echo "$as_me:$LINENO: result: $ac_file" >&5
2772 echo "${ECHO_T}$ac_file" >&6
2774 # Check the compiler produces executables we can run. If not, either
2775 # the compiler is broken, or we cross compile.
2776 echo "$as_me:$LINENO: checking whether the C compiler works" >&5
2777 echo $ECHO_N "checking whether the C compiler works... $ECHO_C" >&6
2778 # FIXME: These cross compiler hacks should be removed for Autoconf 3.0
2779 # If not cross compiling, check that we can run a simple program.
2780 if test "$cross_compiling" != yes; then
2781 if { ac_try
='./$ac_file'
2782 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2785 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2786 (exit $ac_status); }; }; then
2789 if test "$cross_compiling" = maybe
; then
2792 { { echo "$as_me:$LINENO: error: cannot run C compiled programs.
2793 If you meant to cross compile, use \`--host'.
2794 See \`config.log' for more details." >&5
2795 echo "$as_me: error: cannot run C compiled programs.
2796 If you meant to cross compile, use \`--host'.
2797 See \`config.log' for more details." >&2;}
2798 { (exit 1); exit 1; }; }
2802 echo "$as_me:$LINENO: result: yes" >&5
2803 echo "${ECHO_T}yes" >&6
2805 rm -f a.out a.exe conftest
$ac_cv_exeext b.out
2806 ac_clean_files
=$ac_clean_files_save
2807 # Check the compiler produces executables we can run. If not, either
2808 # the compiler is broken, or we cross compile.
2809 echo "$as_me:$LINENO: checking whether we are cross compiling" >&5
2810 echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6
2811 echo "$as_me:$LINENO: result: $cross_compiling" >&5
2812 echo "${ECHO_T}$cross_compiling" >&6
2814 echo "$as_me:$LINENO: checking for suffix of executables" >&5
2815 echo $ECHO_N "checking for suffix of executables... $ECHO_C" >&6
2816 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
2817 (eval $ac_link) 2>&5
2819 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2820 (exit $ac_status); }; then
2821 # If both `conftest.exe' and `conftest' are `present' (well, observable)
2822 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
2823 # work properly (i.e., refer to `conftest.exe'), while it won't with
2825 for ac_file
in conftest.exe conftest conftest.
*; do
2826 test -f "$ac_file" ||
continue
2828 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg |
*.o |
*.obj
) ;;
2829 *.
* ) ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
2836 { { echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link
2837 See \`config.log' for more details." >&5
2838 echo "$as_me: error: cannot compute suffix of executables: cannot compile and link
2839 See \`config.log' for more details." >&2;}
2840 { (exit 1); exit 1; }; }
2843 rm -f conftest
$ac_cv_exeext
2844 echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
2845 echo "${ECHO_T}$ac_cv_exeext" >&6
2847 rm -f conftest.
$ac_ext
2848 EXEEXT
=$ac_cv_exeext
2851 echo "$as_me:$LINENO: checking for suffix of object files" >&5
2852 echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6
2853 if test "${ac_cv_objext+set}" = set; then
2854 echo $ECHO_N "(cached) $ECHO_C" >&6
2856 cat >conftest.
$ac_ext <<_ACEOF
2859 cat confdefs.h
>>conftest.
$ac_ext
2860 cat >>conftest.
$ac_ext <<_ACEOF
2861 /* end confdefs.h. */
2871 rm -f conftest.o conftest.obj
2872 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2873 (eval $ac_compile) 2>&5
2875 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2876 (exit $ac_status); }; then
2877 for ac_file
in `(ls conftest.o conftest.obj; ls conftest.*) 2>/dev/null`; do
2879 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg
) ;;
2880 *) ac_cv_objext
=`expr "$ac_file" : '.*\.\(.*\)'`
2885 echo "$as_me: failed program was:" >&5
2886 sed 's/^/| /' conftest.
$ac_ext >&5
2888 { { echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile
2889 See \`config.log' for more details." >&5
2890 echo "$as_me: error: cannot compute suffix of object files: cannot compile
2891 See \`config.log' for more details." >&2;}
2892 { (exit 1); exit 1; }; }
2895 rm -f conftest.
$ac_cv_objext conftest.
$ac_ext
2897 echo "$as_me:$LINENO: result: $ac_cv_objext" >&5
2898 echo "${ECHO_T}$ac_cv_objext" >&6
2899 OBJEXT
=$ac_cv_objext
2901 echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
2902 echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6
2903 if test "${ac_cv_c_compiler_gnu+set}" = set; then
2904 echo $ECHO_N "(cached) $ECHO_C" >&6
2906 cat >conftest.
$ac_ext <<_ACEOF
2909 cat confdefs.h
>>conftest.
$ac_ext
2910 cat >>conftest.
$ac_ext <<_ACEOF
2911 /* end confdefs.h. */
2924 rm -f conftest.
$ac_objext
2925 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2926 (eval $ac_compile) 2>conftest.er1
2928 grep -v '^ *+' conftest.er1
>conftest.err
2930 cat conftest.err
>&5
2931 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2932 (exit $ac_status); } &&
2933 { ac_try
='test -z "$ac_c_werror_flag"
2934 || test ! -s conftest.err'
2935 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2938 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2939 (exit $ac_status); }; } &&
2940 { ac_try
='test -s conftest.$ac_objext'
2941 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2944 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2945 (exit $ac_status); }; }; then
2948 echo "$as_me: failed program was:" >&5
2949 sed 's/^/| /' conftest.
$ac_ext >&5
2953 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
2954 ac_cv_c_compiler_gnu
=$ac_compiler_gnu
2957 echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
2958 echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6
2959 GCC
=`test $ac_compiler_gnu = yes && echo yes`
2960 ac_test_CFLAGS
=${CFLAGS+set}
2961 ac_save_CFLAGS
=$CFLAGS
2963 echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
2964 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6
2965 if test "${ac_cv_prog_cc_g+set}" = set; then
2966 echo $ECHO_N "(cached) $ECHO_C" >&6
2968 cat >conftest.
$ac_ext <<_ACEOF
2971 cat confdefs.h
>>conftest.
$ac_ext
2972 cat >>conftest.
$ac_ext <<_ACEOF
2973 /* end confdefs.h. */
2983 rm -f conftest.
$ac_objext
2984 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2985 (eval $ac_compile) 2>conftest.er1
2987 grep -v '^ *+' conftest.er1
>conftest.err
2989 cat conftest.err
>&5
2990 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2991 (exit $ac_status); } &&
2992 { ac_try
='test -z "$ac_c_werror_flag"
2993 || test ! -s conftest.err'
2994 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2997 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2998 (exit $ac_status); }; } &&
2999 { ac_try
='test -s conftest.$ac_objext'
3000 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3003 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3004 (exit $ac_status); }; }; then
3007 echo "$as_me: failed program was:" >&5
3008 sed 's/^/| /' conftest.
$ac_ext >&5
3012 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
3014 echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
3015 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6
3016 if test "$ac_test_CFLAGS" = set; then
3017 CFLAGS
=$ac_save_CFLAGS
3018 elif test $ac_cv_prog_cc_g = yes; then
3019 if test "$GCC" = yes; then
3025 if test "$GCC" = yes; then
3031 echo "$as_me:$LINENO: checking for $CC option to accept ANSI C" >&5
3032 echo $ECHO_N "checking for $CC option to accept ANSI C... $ECHO_C" >&6
3033 if test "${ac_cv_prog_cc_stdc+set}" = set; then
3034 echo $ECHO_N "(cached) $ECHO_C" >&6
3036 ac_cv_prog_cc_stdc
=no
3038 cat >conftest.
$ac_ext <<_ACEOF
3041 cat confdefs.h
>>conftest.
$ac_ext
3042 cat >>conftest.
$ac_ext <<_ACEOF
3043 /* end confdefs.h. */
3046 #include <sys/types.h>
3047 #include <sys/stat.h>
3048 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
3049 struct buf { int x; };
3050 FILE * (*rcsopen) (struct buf *, struct stat *, int);
3051 static char *e (p, i)
3057 static char *f (char * (*g) (char **, int), char **p, ...)
3062 s = g (p, va_arg (v,int));
3067 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
3068 function prototypes and stuff, but not '\xHH' hex character constants.
3069 These don't provoke an error unfortunately, instead are silently treated
3070 as 'x'. The following induces an error, until -std1 is added to get
3071 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
3072 array size at least. It's necessary to write '\x00'==0 to get something
3073 that's true only with -std1. */
3074 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
3076 int test (int i, double x);
3077 struct s1 {int (*f) (int a);};
3078 struct s2 {int (*f) (double a);};
3079 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
3085 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
3090 # Don't try gcc -ansi; that turns off useful extensions and
3091 # breaks some systems' header files.
3092 # AIX -qlanglvl=ansi
3093 # Ultrix and OSF/1 -std1
3094 # HP-UX 10.20 and later -Ae
3095 # HP-UX older versions -Aa -D_HPUX_SOURCE
3096 # SVR4 -Xc -D__EXTENSIONS__
3097 for ac_arg
in "" -qlanglvl=ansi
-std1 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
3099 CC
="$ac_save_CC $ac_arg"
3100 rm -f conftest.
$ac_objext
3101 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3102 (eval $ac_compile) 2>conftest.er1
3104 grep -v '^ *+' conftest.er1
>conftest.err
3106 cat conftest.err
>&5
3107 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3108 (exit $ac_status); } &&
3109 { ac_try
='test -z "$ac_c_werror_flag"
3110 || test ! -s conftest.err'
3111 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3114 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3115 (exit $ac_status); }; } &&
3116 { ac_try
='test -s conftest.$ac_objext'
3117 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3120 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3121 (exit $ac_status); }; }; then
3122 ac_cv_prog_cc_stdc
=$ac_arg
3125 echo "$as_me: failed program was:" >&5
3126 sed 's/^/| /' conftest.
$ac_ext >&5
3129 rm -f conftest.err conftest.
$ac_objext
3131 rm -f conftest.
$ac_ext conftest.
$ac_objext
3136 case "x$ac_cv_prog_cc_stdc" in
3138 echo "$as_me:$LINENO: result: none needed" >&5
3139 echo "${ECHO_T}none needed" >&6 ;;
3141 echo "$as_me:$LINENO: result: $ac_cv_prog_cc_stdc" >&5
3142 echo "${ECHO_T}$ac_cv_prog_cc_stdc" >&6
3143 CC
="$CC $ac_cv_prog_cc_stdc" ;;
3146 # Some people use a C++ compiler to compile C. Since we use `exit',
3147 # in C++ we need to declare it. In case someone uses the same compiler
3148 # for both compiling C and C++ we need to have the C++ compiler decide
3149 # the declaration of exit, since it's the most demanding environment.
3150 cat >conftest.
$ac_ext <<_ACEOF
3155 rm -f conftest.
$ac_objext
3156 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3157 (eval $ac_compile) 2>conftest.er1
3159 grep -v '^ *+' conftest.er1
>conftest.err
3161 cat conftest.err
>&5
3162 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3163 (exit $ac_status); } &&
3164 { ac_try
='test -z "$ac_c_werror_flag"
3165 || test ! -s conftest.err'
3166 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3169 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3170 (exit $ac_status); }; } &&
3171 { ac_try
='test -s conftest.$ac_objext'
3172 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3175 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3176 (exit $ac_status); }; }; then
3177 for ac_declaration
in \
3179 'extern "C" void std::exit (int) throw (); using std::exit;' \
3180 'extern "C" void std::exit (int); using std::exit;' \
3181 'extern "C" void exit (int) throw ();' \
3182 'extern "C" void exit (int);' \
3185 cat >conftest.
$ac_ext <<_ACEOF
3188 cat confdefs.h
>>conftest.
$ac_ext
3189 cat >>conftest.
$ac_ext <<_ACEOF
3190 /* end confdefs.h. */
3201 rm -f conftest.
$ac_objext
3202 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3203 (eval $ac_compile) 2>conftest.er1
3205 grep -v '^ *+' conftest.er1
>conftest.err
3207 cat conftest.err
>&5
3208 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3209 (exit $ac_status); } &&
3210 { ac_try
='test -z "$ac_c_werror_flag"
3211 || test ! -s conftest.err'
3212 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3215 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3216 (exit $ac_status); }; } &&
3217 { ac_try
='test -s conftest.$ac_objext'
3218 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3221 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3222 (exit $ac_status); }; }; then
3225 echo "$as_me: failed program was:" >&5
3226 sed 's/^/| /' conftest.
$ac_ext >&5
3230 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
3231 cat >conftest.
$ac_ext <<_ACEOF
3234 cat confdefs.h
>>conftest.
$ac_ext
3235 cat >>conftest.
$ac_ext <<_ACEOF
3236 /* end confdefs.h. */
3246 rm -f conftest.
$ac_objext
3247 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3248 (eval $ac_compile) 2>conftest.er1
3250 grep -v '^ *+' conftest.er1
>conftest.err
3252 cat conftest.err
>&5
3253 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3254 (exit $ac_status); } &&
3255 { ac_try
='test -z "$ac_c_werror_flag"
3256 || test ! -s conftest.err'
3257 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3260 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3261 (exit $ac_status); }; } &&
3262 { ac_try
='test -s conftest.$ac_objext'
3263 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3266 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3267 (exit $ac_status); }; }; then
3270 echo "$as_me: failed program was:" >&5
3271 sed 's/^/| /' conftest.
$ac_ext >&5
3274 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
3277 if test -n "$ac_declaration"; then
3278 echo '#ifdef __cplusplus' >>confdefs.h
3279 echo $ac_declaration >>confdefs.h
3280 echo '#endif' >>confdefs.h
3284 echo "$as_me: failed program was:" >&5
3285 sed 's/^/| /' conftest.
$ac_ext >&5
3288 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
3290 ac_cpp
='$CPP $CPPFLAGS'
3291 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3292 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3293 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
3295 depcc
="$CC" am_compiler_list
=
3297 echo "$as_me:$LINENO: checking dependency style of $depcc" >&5
3298 echo $ECHO_N "checking dependency style of $depcc... $ECHO_C" >&6
3299 if test "${am_cv_CC_dependencies_compiler_type+set}" = set; then
3300 echo $ECHO_N "(cached) $ECHO_C" >&6
3302 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
3303 # We make a subdir and do the tests there. Otherwise we can end up
3304 # making bogus files that we don't know about and never remove. For
3305 # instance it was reported that on HP-UX the gcc test will end up
3306 # making a dummy file named `D' -- because `-MD' means `put the output
3309 # Copy depcomp to subdir because otherwise we won't find it if we're
3310 # using a relative directory.
3311 cp "$am_depcomp" conftest.dir
3313 # We will build objects and dependencies in a subdirectory because
3314 # it helps to detect inapplicable dependency modes. For instance
3315 # both Tru64's cc and ICC support -MD to output dependencies as a
3316 # side effect of compilation, but ICC will put the dependencies in
3317 # the current directory while Tru64 will put them in the object
3321 am_cv_CC_dependencies_compiler_type
=none
3322 if test "$am_compiler_list" = ""; then
3323 am_compiler_list
=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
3325 for depmode
in $am_compiler_list; do
3326 # Setup a source with many dependencies, because some compilers
3327 # like to wrap large dependency lists on column 80 (with \), and
3328 # we should not choose a depcomp mode which is confused by this.
3330 # We need to recreate these files for each test, as the compiler may
3331 # overwrite some of them when testing with obscure command lines.
3332 # This happens at least with the AIX C compiler.
3334 for i
in 1 2 3 4 5 6; do
3335 echo '#include "conftst'$i'.h"' >> sub
/conftest.c
3336 # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
3337 # Solaris 8's {/usr,}/bin/sh.
3338 touch sub
/conftst
$i.h
3340 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
3344 # after this tag, mechanisms are not by side-effect, so they'll
3345 # only be used when explicitly requested
3346 if test "x$enable_dependency_tracking" = xyes
; then
3354 # We check with `-c' and `-o' for the sake of the "dashmstdout"
3355 # mode. It turns out that the SunPro C++ compiler does not properly
3356 # handle `-M -o', and we need to detect this.
3357 if depmode
=$depmode \
3358 source=sub
/conftest.c object
=sub
/conftest.
${OBJEXT-o} \
3359 depfile
=sub
/conftest.Po tmpdepfile
=sub
/conftest.TPo \
3360 $SHELL .
/depcomp
$depcc -c -o sub
/conftest.
${OBJEXT-o} sub
/conftest.c \
3361 >/dev
/null
2>conftest.err
&&
3362 grep sub
/conftst6.h sub
/conftest.Po
> /dev
/null
2>&1 &&
3363 grep sub
/conftest.
${OBJEXT-o} sub
/conftest.Po
> /dev
/null
2>&1 &&
3364 ${MAKE-make} -s -f confmf
> /dev
/null
2>&1; then
3365 # icc doesn't choke on unknown options, it will just issue warnings
3366 # or remarks (even with -Werror). So we grep stderr for any message
3367 # that says an option was ignored or not supported.
3368 # When given -MP, icc 7.0 and 7.1 complain thusly:
3369 # icc: Command line warning: ignoring option '-M'; no argument required
3370 # The diagnosis changed in icc 8.0:
3371 # icc: Command line remark: option '-MP' not supported
3372 if (grep 'ignoring option' conftest.err ||
3373 grep 'not supported' conftest.err
) >/dev
/null
2>&1; then :; else
3374 am_cv_CC_dependencies_compiler_type
=$depmode
3383 am_cv_CC_dependencies_compiler_type
=none
3387 echo "$as_me:$LINENO: result: $am_cv_CC_dependencies_compiler_type" >&5
3388 echo "${ECHO_T}$am_cv_CC_dependencies_compiler_type" >&6
3389 CCDEPMODE
=depmode
=$am_cv_CC_dependencies_compiler_type
3394 test "x$enable_dependency_tracking" != xno \
3395 && test "$am_cv_CC_dependencies_compiler_type" = gcc3
; then
3397 am__fastdepCC_FALSE
='#'
3399 am__fastdepCC_TRUE
='#'
3400 am__fastdepCC_FALSE
=
3406 ac_cpp
='$CPP $CPPFLAGS'
3407 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3408 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3409 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
3410 echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5
3411 echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6
3412 # On Suns, sometimes $CPP names a directory.
3413 if test -n "$CPP" && test -d "$CPP"; then
3416 if test -z "$CPP"; then
3417 if test "${ac_cv_prog_CPP+set}" = set; then
3418 echo $ECHO_N "(cached) $ECHO_C" >&6
3420 # Double quotes because CPP needs to be expanded
3421 for CPP
in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
3424 for ac_c_preproc_warn_flag
in '' yes
3426 # Use a header file that comes with gcc, so configuring glibc
3427 # with a fresh cross-compiler works.
3428 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
3429 # <limits.h> exists even on freestanding compilers.
3430 # On the NeXT, cc -E runs the code through the compiler's parser,
3431 # not just through cpp. "Syntax error" is here to catch this case.
3432 cat >conftest.
$ac_ext <<_ACEOF
3435 cat confdefs.h
>>conftest.
$ac_ext
3436 cat >>conftest.
$ac_ext <<_ACEOF
3437 /* end confdefs.h. */
3439 # include <limits.h>
3441 # include <assert.h>
3445 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
3446 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
3448 grep -v '^ *+' conftest.er1
>conftest.err
3450 cat conftest.err
>&5
3451 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3452 (exit $ac_status); } >/dev
/null
; then
3453 if test -s conftest.err
; then
3454 ac_cpp_err
=$ac_c_preproc_warn_flag
3455 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
3462 if test -z "$ac_cpp_err"; then
3465 echo "$as_me: failed program was:" >&5
3466 sed 's/^/| /' conftest.
$ac_ext >&5
3468 # Broken: fails on valid input.
3471 rm -f conftest.err conftest.
$ac_ext
3473 # OK, works on sane cases. Now check whether non-existent headers
3474 # can be detected and how.
3475 cat >conftest.
$ac_ext <<_ACEOF
3478 cat confdefs.h
>>conftest.
$ac_ext
3479 cat >>conftest.
$ac_ext <<_ACEOF
3480 /* end confdefs.h. */
3481 #include <ac_nonexistent.h>
3483 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
3484 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
3486 grep -v '^ *+' conftest.er1
>conftest.err
3488 cat conftest.err
>&5
3489 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3490 (exit $ac_status); } >/dev
/null
; then
3491 if test -s conftest.err
; then
3492 ac_cpp_err
=$ac_c_preproc_warn_flag
3493 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
3500 if test -z "$ac_cpp_err"; then
3501 # Broken: success on invalid input.
3504 echo "$as_me: failed program was:" >&5
3505 sed 's/^/| /' conftest.
$ac_ext >&5
3507 # Passes both tests.
3511 rm -f conftest.err conftest.
$ac_ext
3514 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
3515 rm -f conftest.err conftest.
$ac_ext
3516 if $ac_preproc_ok; then
3528 echo "$as_me:$LINENO: result: $CPP" >&5
3529 echo "${ECHO_T}$CPP" >&6
3531 for ac_c_preproc_warn_flag
in '' yes
3533 # Use a header file that comes with gcc, so configuring glibc
3534 # with a fresh cross-compiler works.
3535 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
3536 # <limits.h> exists even on freestanding compilers.
3537 # On the NeXT, cc -E runs the code through the compiler's parser,
3538 # not just through cpp. "Syntax error" is here to catch this case.
3539 cat >conftest.
$ac_ext <<_ACEOF
3542 cat confdefs.h
>>conftest.
$ac_ext
3543 cat >>conftest.
$ac_ext <<_ACEOF
3544 /* end confdefs.h. */
3546 # include <limits.h>
3548 # include <assert.h>
3552 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
3553 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
3555 grep -v '^ *+' conftest.er1
>conftest.err
3557 cat conftest.err
>&5
3558 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3559 (exit $ac_status); } >/dev
/null
; then
3560 if test -s conftest.err
; then
3561 ac_cpp_err
=$ac_c_preproc_warn_flag
3562 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
3569 if test -z "$ac_cpp_err"; then
3572 echo "$as_me: failed program was:" >&5
3573 sed 's/^/| /' conftest.
$ac_ext >&5
3575 # Broken: fails on valid input.
3578 rm -f conftest.err conftest.
$ac_ext
3580 # OK, works on sane cases. Now check whether non-existent headers
3581 # can be detected and how.
3582 cat >conftest.
$ac_ext <<_ACEOF
3585 cat confdefs.h
>>conftest.
$ac_ext
3586 cat >>conftest.
$ac_ext <<_ACEOF
3587 /* end confdefs.h. */
3588 #include <ac_nonexistent.h>
3590 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
3591 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
3593 grep -v '^ *+' conftest.er1
>conftest.err
3595 cat conftest.err
>&5
3596 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3597 (exit $ac_status); } >/dev
/null
; then
3598 if test -s conftest.err
; then
3599 ac_cpp_err
=$ac_c_preproc_warn_flag
3600 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
3607 if test -z "$ac_cpp_err"; then
3608 # Broken: success on invalid input.
3611 echo "$as_me: failed program was:" >&5
3612 sed 's/^/| /' conftest.
$ac_ext >&5
3614 # Passes both tests.
3618 rm -f conftest.err conftest.
$ac_ext
3621 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
3622 rm -f conftest.err conftest.
$ac_ext
3623 if $ac_preproc_ok; then
3626 { { echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check
3627 See \`config.log' for more details." >&5
3628 echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check
3629 See \`config.log' for more details." >&2;}
3630 { (exit 1); exit 1; }; }
3634 ac_cpp
='$CPP $CPPFLAGS'
3635 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3636 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3637 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
3640 echo "$as_me:$LINENO: checking for egrep" >&5
3641 echo $ECHO_N "checking for egrep... $ECHO_C" >&6
3642 if test "${ac_cv_prog_egrep+set}" = set; then
3643 echo $ECHO_N "(cached) $ECHO_C" >&6
3645 if echo a |
(grep -E '(a|b)') >/dev
/null
2>&1
3646 then ac_cv_prog_egrep
='grep -E'
3647 else ac_cv_prog_egrep
='egrep'
3650 echo "$as_me:$LINENO: result: $ac_cv_prog_egrep" >&5
3651 echo "${ECHO_T}$ac_cv_prog_egrep" >&6
3652 EGREP
=$ac_cv_prog_egrep
3655 echo "$as_me:$LINENO: checking for ANSI C header files" >&5
3656 echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6
3657 if test "${ac_cv_header_stdc+set}" = set; then
3658 echo $ECHO_N "(cached) $ECHO_C" >&6
3660 cat >conftest.
$ac_ext <<_ACEOF
3663 cat confdefs.h
>>conftest.
$ac_ext
3664 cat >>conftest.
$ac_ext <<_ACEOF
3665 /* end confdefs.h. */
3679 rm -f conftest.
$ac_objext
3680 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3681 (eval $ac_compile) 2>conftest.er1
3683 grep -v '^ *+' conftest.er1
>conftest.err
3685 cat conftest.err
>&5
3686 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3687 (exit $ac_status); } &&
3688 { ac_try
='test -z "$ac_c_werror_flag"
3689 || test ! -s conftest.err'
3690 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3693 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3694 (exit $ac_status); }; } &&
3695 { ac_try
='test -s conftest.$ac_objext'
3696 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3699 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3700 (exit $ac_status); }; }; then
3701 ac_cv_header_stdc
=yes
3703 echo "$as_me: failed program was:" >&5
3704 sed 's/^/| /' conftest.
$ac_ext >&5
3706 ac_cv_header_stdc
=no
3708 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
3710 if test $ac_cv_header_stdc = yes; then
3711 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
3712 cat >conftest.
$ac_ext <<_ACEOF
3715 cat confdefs.h
>>conftest.
$ac_ext
3716 cat >>conftest.
$ac_ext <<_ACEOF
3717 /* end confdefs.h. */
3721 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
3722 $EGREP "memchr" >/dev
/null
2>&1; then
3725 ac_cv_header_stdc
=no
3731 if test $ac_cv_header_stdc = yes; then
3732 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
3733 cat >conftest.
$ac_ext <<_ACEOF
3736 cat confdefs.h
>>conftest.
$ac_ext
3737 cat >>conftest.
$ac_ext <<_ACEOF
3738 /* end confdefs.h. */
3742 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
3743 $EGREP "free" >/dev
/null
2>&1; then
3746 ac_cv_header_stdc
=no
3752 if test $ac_cv_header_stdc = yes; then
3753 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
3754 if test "$cross_compiling" = yes; then
3757 cat >conftest.
$ac_ext <<_ACEOF
3760 cat confdefs.h
>>conftest.
$ac_ext
3761 cat >>conftest.
$ac_ext <<_ACEOF
3762 /* end confdefs.h. */
3764 #if ((' ' & 0x0FF) == 0x020)
3765 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
3766 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
3768 # define ISLOWER(c) \
3769 (('a' <= (c) && (c) <= 'i') \
3770 || ('j' <= (c) && (c) <= 'r') \
3771 || ('s' <= (c) && (c) <= 'z'))
3772 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
3775 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
3780 for (i = 0; i < 256; i++)
3781 if (XOR (islower (i), ISLOWER (i))
3782 || toupper (i) != TOUPPER (i))
3787 rm -f conftest
$ac_exeext
3788 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
3789 (eval $ac_link) 2>&5
3791 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3792 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
3793 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3796 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3797 (exit $ac_status); }; }; then
3800 echo "$as_me: program exited with status $ac_status" >&5
3801 echo "$as_me: failed program was:" >&5
3802 sed 's/^/| /' conftest.
$ac_ext >&5
3805 ac_cv_header_stdc
=no
3807 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
3811 echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
3812 echo "${ECHO_T}$ac_cv_header_stdc" >&6
3813 if test $ac_cv_header_stdc = yes; then
3815 cat >>confdefs.h
<<\_ACEOF
3816 #define STDC_HEADERS 1
3821 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
3831 for ac_header
in sys
/types.h sys
/stat.h stdlib.h string.h memory.h
strings.h \
3832 inttypes.h stdint.h unistd.h
3834 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
3835 echo "$as_me:$LINENO: checking for $ac_header" >&5
3836 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
3837 if eval "test \"\${$as_ac_Header+set}\" = set"; then
3838 echo $ECHO_N "(cached) $ECHO_C" >&6
3840 cat >conftest.
$ac_ext <<_ACEOF
3843 cat confdefs.h
>>conftest.
$ac_ext
3844 cat >>conftest.
$ac_ext <<_ACEOF
3845 /* end confdefs.h. */
3846 $ac_includes_default
3848 #include <$ac_header>
3850 rm -f conftest.
$ac_objext
3851 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3852 (eval $ac_compile) 2>conftest.er1
3854 grep -v '^ *+' conftest.er1
>conftest.err
3856 cat conftest.err
>&5
3857 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3858 (exit $ac_status); } &&
3859 { ac_try
='test -z "$ac_c_werror_flag"
3860 || test ! -s conftest.err'
3861 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3864 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3865 (exit $ac_status); }; } &&
3866 { ac_try
='test -s conftest.$ac_objext'
3867 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3870 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3871 (exit $ac_status); }; }; then
3872 eval "$as_ac_Header=yes"
3874 echo "$as_me: failed program was:" >&5
3875 sed 's/^/| /' conftest.
$ac_ext >&5
3877 eval "$as_ac_Header=no"
3879 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
3881 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
3882 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
3883 if test `eval echo '${'$as_ac_Header'}'` = yes; then
3884 cat >>confdefs.h
<<_ACEOF
3885 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
3893 # Check whether --enable-alsa or --disable-alsa was given.
3894 if test "${enable_alsa+set}" = set; then
3895 enableval
="$enable_alsa"
3896 case "${enableval}" in
3897 yes) COMPILE_ALSA
=yes ;;
3898 no
) COMPILE_ALSA
=no
;;
3899 *) COMPILE_ALSA
=yes ;;
3903 for ac_header
in alsa
/asoundlib.h
3905 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
3906 if eval "test \"\${$as_ac_Header+set}\" = set"; then
3907 echo "$as_me:$LINENO: checking for $ac_header" >&5
3908 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
3909 if eval "test \"\${$as_ac_Header+set}\" = set"; then
3910 echo $ECHO_N "(cached) $ECHO_C" >&6
3912 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
3913 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
3915 # Is the header compilable?
3916 echo "$as_me:$LINENO: checking $ac_header usability" >&5
3917 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
3918 cat >conftest.
$ac_ext <<_ACEOF
3921 cat confdefs.h
>>conftest.
$ac_ext
3922 cat >>conftest.
$ac_ext <<_ACEOF
3923 /* end confdefs.h. */
3924 $ac_includes_default
3925 #include <$ac_header>
3927 rm -f conftest.
$ac_objext
3928 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3929 (eval $ac_compile) 2>conftest.er1
3931 grep -v '^ *+' conftest.er1
>conftest.err
3933 cat conftest.err
>&5
3934 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3935 (exit $ac_status); } &&
3936 { ac_try
='test -z "$ac_c_werror_flag"
3937 || test ! -s conftest.err'
3938 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3941 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3942 (exit $ac_status); }; } &&
3943 { ac_try
='test -s conftest.$ac_objext'
3944 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3947 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3948 (exit $ac_status); }; }; then
3949 ac_header_compiler
=yes
3951 echo "$as_me: failed program was:" >&5
3952 sed 's/^/| /' conftest.
$ac_ext >&5
3954 ac_header_compiler
=no
3956 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
3957 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
3958 echo "${ECHO_T}$ac_header_compiler" >&6
3960 # Is the header present?
3961 echo "$as_me:$LINENO: checking $ac_header presence" >&5
3962 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
3963 cat >conftest.
$ac_ext <<_ACEOF
3966 cat confdefs.h
>>conftest.
$ac_ext
3967 cat >>conftest.
$ac_ext <<_ACEOF
3968 /* end confdefs.h. */
3969 #include <$ac_header>
3971 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
3972 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
3974 grep -v '^ *+' conftest.er1
>conftest.err
3976 cat conftest.err
>&5
3977 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3978 (exit $ac_status); } >/dev
/null
; then
3979 if test -s conftest.err
; then
3980 ac_cpp_err
=$ac_c_preproc_warn_flag
3981 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
3988 if test -z "$ac_cpp_err"; then
3989 ac_header_preproc
=yes
3991 echo "$as_me: failed program was:" >&5
3992 sed 's/^/| /' conftest.
$ac_ext >&5
3994 ac_header_preproc
=no
3996 rm -f conftest.err conftest.
$ac_ext
3997 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
3998 echo "${ECHO_T}$ac_header_preproc" >&6
4000 # So? What about this header?
4001 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
4003 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
4004 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
4005 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
4006 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
4007 ac_header_preproc
=yes
4010 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
4011 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
4012 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
4013 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
4014 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
4015 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
4016 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
4017 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
4018 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
4019 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
4020 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
4021 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
4024 ## -------------------------------- ##
4025 ## Report this to classpath@gnu.org ##
4026 ## -------------------------------- ##
4029 sed "s/^/$as_me: WARNING: /" >&2
4032 echo "$as_me:$LINENO: checking for $ac_header" >&5
4033 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
4034 if eval "test \"\${$as_ac_Header+set}\" = set"; then
4035 echo $ECHO_N "(cached) $ECHO_C" >&6
4037 eval "$as_ac_Header=\$ac_header_preproc"
4039 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
4040 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
4043 if test `eval echo '${'$as_ac_Header'}'` = yes; then
4044 cat >>confdefs.h
<<_ACEOF
4045 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
4047 echo "$as_me:$LINENO: checking for snd_seq_open in -lasound" >&5
4048 echo $ECHO_N "checking for snd_seq_open in -lasound... $ECHO_C" >&6
4049 if test "${ac_cv_lib_asound_snd_seq_open+set}" = set; then
4050 echo $ECHO_N "(cached) $ECHO_C" >&6
4052 ac_check_lib_save_LIBS
=$LIBS
4053 LIBS
="-lasound $LIBS"
4054 if test x
$gcc_no_link = xyes
; then
4055 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
4056 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
4057 { (exit 1); exit 1; }; }
4059 cat >conftest.
$ac_ext <<_ACEOF
4062 cat confdefs.h
>>conftest.
$ac_ext
4063 cat >>conftest.
$ac_ext <<_ACEOF
4064 /* end confdefs.h. */
4066 /* Override any gcc2 internal prototype to avoid an error. */
4070 /* We use char because int might match the return type of a gcc2
4071 builtin and then its argument prototype would still apply. */
4072 char snd_seq_open ();
4081 rm -f conftest.
$ac_objext conftest
$ac_exeext
4082 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
4083 (eval $ac_link) 2>conftest.er1
4085 grep -v '^ *+' conftest.er1
>conftest.err
4087 cat conftest.err
>&5
4088 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4089 (exit $ac_status); } &&
4090 { ac_try
='test -z "$ac_c_werror_flag"
4091 || test ! -s conftest.err'
4092 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4095 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4096 (exit $ac_status); }; } &&
4097 { ac_try
='test -s conftest$ac_exeext'
4098 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4101 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4102 (exit $ac_status); }; }; then
4103 ac_cv_lib_asound_snd_seq_open
=yes
4105 echo "$as_me: failed program was:" >&5
4106 sed 's/^/| /' conftest.
$ac_ext >&5
4108 ac_cv_lib_asound_snd_seq_open
=no
4110 rm -f conftest.err conftest.
$ac_objext \
4111 conftest
$ac_exeext conftest.
$ac_ext
4112 LIBS
=$ac_check_lib_save_LIBS
4114 echo "$as_me:$LINENO: result: $ac_cv_lib_asound_snd_seq_open" >&5
4115 echo "${ECHO_T}$ac_cv_lib_asound_snd_seq_open" >&6
4116 if test $ac_cv_lib_asound_snd_seq_open = yes; then
4131 if test "x${COMPILE_ALSA}" = xyes
; then
4132 CREATE_ALSA_LIBRARIES_TRUE
=
4133 CREATE_ALSA_LIBRARIES_FALSE
='#'
4135 CREATE_ALSA_LIBRARIES_TRUE
='#'
4136 CREATE_ALSA_LIBRARIES_FALSE
=
4140 # Check whether --enable-dssi or --disable-dssi was given.
4141 if test "${enable_dssi+set}" = set; then
4142 enableval
="$enable_dssi"
4143 case "${enableval}" in
4144 yes) COMPILE_DSSI
=yes ;;
4145 no
) COMPILE_DSSI
=no
;;
4146 *) COMPILE_DSSI
=yes ;;
4151 for ac_header
in dssi.h
4153 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
4154 if eval "test \"\${$as_ac_Header+set}\" = set"; then
4155 echo "$as_me:$LINENO: checking for $ac_header" >&5
4156 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
4157 if eval "test \"\${$as_ac_Header+set}\" = set"; then
4158 echo $ECHO_N "(cached) $ECHO_C" >&6
4160 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
4161 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
4163 # Is the header compilable?
4164 echo "$as_me:$LINENO: checking $ac_header usability" >&5
4165 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
4166 cat >conftest.
$ac_ext <<_ACEOF
4169 cat confdefs.h
>>conftest.
$ac_ext
4170 cat >>conftest.
$ac_ext <<_ACEOF
4171 /* end confdefs.h. */
4172 $ac_includes_default
4173 #include <$ac_header>
4175 rm -f conftest.
$ac_objext
4176 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4177 (eval $ac_compile) 2>conftest.er1
4179 grep -v '^ *+' conftest.er1
>conftest.err
4181 cat conftest.err
>&5
4182 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4183 (exit $ac_status); } &&
4184 { ac_try
='test -z "$ac_c_werror_flag"
4185 || test ! -s conftest.err'
4186 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4189 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4190 (exit $ac_status); }; } &&
4191 { ac_try
='test -s conftest.$ac_objext'
4192 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4195 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4196 (exit $ac_status); }; }; then
4197 ac_header_compiler
=yes
4199 echo "$as_me: failed program was:" >&5
4200 sed 's/^/| /' conftest.
$ac_ext >&5
4202 ac_header_compiler
=no
4204 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
4205 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
4206 echo "${ECHO_T}$ac_header_compiler" >&6
4208 # Is the header present?
4209 echo "$as_me:$LINENO: checking $ac_header presence" >&5
4210 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
4211 cat >conftest.
$ac_ext <<_ACEOF
4214 cat confdefs.h
>>conftest.
$ac_ext
4215 cat >>conftest.
$ac_ext <<_ACEOF
4216 /* end confdefs.h. */
4217 #include <$ac_header>
4219 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
4220 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
4222 grep -v '^ *+' conftest.er1
>conftest.err
4224 cat conftest.err
>&5
4225 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4226 (exit $ac_status); } >/dev
/null
; then
4227 if test -s conftest.err
; then
4228 ac_cpp_err
=$ac_c_preproc_warn_flag
4229 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
4236 if test -z "$ac_cpp_err"; then
4237 ac_header_preproc
=yes
4239 echo "$as_me: failed program was:" >&5
4240 sed 's/^/| /' conftest.
$ac_ext >&5
4242 ac_header_preproc
=no
4244 rm -f conftest.err conftest.
$ac_ext
4245 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
4246 echo "${ECHO_T}$ac_header_preproc" >&6
4248 # So? What about this header?
4249 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
4251 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
4252 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
4253 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
4254 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
4255 ac_header_preproc
=yes
4258 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
4259 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
4260 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
4261 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
4262 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
4263 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
4264 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
4265 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
4266 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
4267 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
4268 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
4269 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
4272 ## -------------------------------- ##
4273 ## Report this to classpath@gnu.org ##
4274 ## -------------------------------- ##
4277 sed "s/^/$as_me: WARNING: /" >&2
4280 echo "$as_me:$LINENO: checking for $ac_header" >&5
4281 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
4282 if eval "test \"\${$as_ac_Header+set}\" = set"; then
4283 echo $ECHO_N "(cached) $ECHO_C" >&6
4285 eval "$as_ac_Header=\$ac_header_preproc"
4287 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
4288 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
4291 if test `eval echo '${'$as_ac_Header'}'` = yes; then
4292 cat >>confdefs.h
<<_ACEOF
4293 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
4297 for ac_header
in jack
/jack.h
4299 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
4300 if eval "test \"\${$as_ac_Header+set}\" = set"; then
4301 echo "$as_me:$LINENO: checking for $ac_header" >&5
4302 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
4303 if eval "test \"\${$as_ac_Header+set}\" = set"; then
4304 echo $ECHO_N "(cached) $ECHO_C" >&6
4306 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
4307 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
4309 # Is the header compilable?
4310 echo "$as_me:$LINENO: checking $ac_header usability" >&5
4311 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
4312 cat >conftest.
$ac_ext <<_ACEOF
4315 cat confdefs.h
>>conftest.
$ac_ext
4316 cat >>conftest.
$ac_ext <<_ACEOF
4317 /* end confdefs.h. */
4318 $ac_includes_default
4319 #include <$ac_header>
4321 rm -f conftest.
$ac_objext
4322 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4323 (eval $ac_compile) 2>conftest.er1
4325 grep -v '^ *+' conftest.er1
>conftest.err
4327 cat conftest.err
>&5
4328 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4329 (exit $ac_status); } &&
4330 { ac_try
='test -z "$ac_c_werror_flag"
4331 || test ! -s conftest.err'
4332 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4335 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4336 (exit $ac_status); }; } &&
4337 { ac_try
='test -s conftest.$ac_objext'
4338 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4341 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4342 (exit $ac_status); }; }; then
4343 ac_header_compiler
=yes
4345 echo "$as_me: failed program was:" >&5
4346 sed 's/^/| /' conftest.
$ac_ext >&5
4348 ac_header_compiler
=no
4350 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
4351 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
4352 echo "${ECHO_T}$ac_header_compiler" >&6
4354 # Is the header present?
4355 echo "$as_me:$LINENO: checking $ac_header presence" >&5
4356 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
4357 cat >conftest.
$ac_ext <<_ACEOF
4360 cat confdefs.h
>>conftest.
$ac_ext
4361 cat >>conftest.
$ac_ext <<_ACEOF
4362 /* end confdefs.h. */
4363 #include <$ac_header>
4365 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
4366 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
4368 grep -v '^ *+' conftest.er1
>conftest.err
4370 cat conftest.err
>&5
4371 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4372 (exit $ac_status); } >/dev
/null
; then
4373 if test -s conftest.err
; then
4374 ac_cpp_err
=$ac_c_preproc_warn_flag
4375 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
4382 if test -z "$ac_cpp_err"; then
4383 ac_header_preproc
=yes
4385 echo "$as_me: failed program was:" >&5
4386 sed 's/^/| /' conftest.
$ac_ext >&5
4388 ac_header_preproc
=no
4390 rm -f conftest.err conftest.
$ac_ext
4391 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
4392 echo "${ECHO_T}$ac_header_preproc" >&6
4394 # So? What about this header?
4395 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
4397 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
4398 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
4399 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
4400 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
4401 ac_header_preproc
=yes
4404 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
4405 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
4406 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
4407 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
4408 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
4409 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
4410 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
4411 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
4412 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
4413 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
4414 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
4415 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
4418 ## -------------------------------- ##
4419 ## Report this to classpath@gnu.org ##
4420 ## -------------------------------- ##
4423 sed "s/^/$as_me: WARNING: /" >&2
4426 echo "$as_me:$LINENO: checking for $ac_header" >&5
4427 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
4428 if eval "test \"\${$as_ac_Header+set}\" = set"; then
4429 echo $ECHO_N "(cached) $ECHO_C" >&6
4431 eval "$as_ac_Header=\$ac_header_preproc"
4433 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
4434 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
4437 if test `eval echo '${'$as_ac_Header'}'` = yes; then
4438 cat >>confdefs.h
<<_ACEOF
4439 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
4453 if test "x${COMPILE_DSSI}" = xyes
; then
4454 CREATE_DSSI_LIBRARIES_TRUE
=
4455 CREATE_DSSI_LIBRARIES_FALSE
='#'
4457 CREATE_DSSI_LIBRARIES_TRUE
='#'
4458 CREATE_DSSI_LIBRARIES_FALSE
=
4462 # Check whether --enable-gtk-peer or --disable-gtk-peer was given.
4463 if test "${enable_gtk_peer+set}" = set; then
4464 enableval
="$enable_gtk_peer"
4465 case "${enableval}" in
4466 yes) COMPILE_GTK_PEER
=yes ;;
4467 no
) COMPILE_GTK_PEER
=no
;;
4468 *) COMPILE_GTK_PEER
=yes ;;
4471 COMPILE_GTK_PEER
=yes
4475 if test "x${COMPILE_GTK_PEER}" = xyes
; then
4476 CREATE_GTK_PEER_LIBRARIES_TRUE
=
4477 CREATE_GTK_PEER_LIBRARIES_FALSE
='#'
4479 CREATE_GTK_PEER_LIBRARIES_TRUE
='#'
4480 CREATE_GTK_PEER_LIBRARIES_FALSE
=
4484 # Check whether --enable-gtk-peers or --disable-gtk-peers was given.
4485 if test "${enable_gtk_peers+set}" = set; then
4486 enableval
="$enable_gtk_peers"
4487 { { echo "$as_me:$LINENO: error: No --enable-gtk-peers (or --disable-gtk-peers) option; you want --enable-gtk-peer" >&5
4488 echo "$as_me: error: No --enable-gtk-peers (or --disable-gtk-peers) option; you want --enable-gtk-peer" >&2;}
4489 { (exit 1); exit 1; }; }
4492 # Check whether --enable-qt-peer or --disable-qt-peer was given.
4493 if test "${enable_qt_peer+set}" = set; then
4494 enableval
="$enable_qt_peer"
4495 case "${enableval}" in
4496 yes) COMPILE_QT_PEER
=yes ;;
4497 no
) COMPILE_QT_PEER
=no
;;
4498 *) COMPILE_QT_PEER
=yes ;;
4505 if test "x${COMPILE_QT_PEER}" = xyes
; then
4506 CREATE_QT_PEER_LIBRARIES_TRUE
=
4507 CREATE_QT_PEER_LIBRARIES_FALSE
='#'
4509 CREATE_QT_PEER_LIBRARIES_TRUE
='#'
4510 CREATE_QT_PEER_LIBRARIES_FALSE
=
4514 # Check whether --enable-plugin or --disable-plugin was given.
4515 if test "${enable_plugin+set}" = set; then
4516 enableval
="$enable_plugin"
4517 case "${enableval}" in
4518 yes) COMPILE_PLUGIN
=yes ;;
4519 no
) COMPILE_PLUGIN
=no
;;
4520 *) COMPILE_PLUGIN
=yes ;;
4527 if test "x${COMPILE_PLUGIN}" = xyes
; then
4529 CREATE_PLUGIN_FALSE
='#'
4531 CREATE_PLUGIN_TRUE
='#'
4532 CREATE_PLUGIN_FALSE
=
4537 multi_os_directory
=`$CC -print-multi-os-directory`
4538 case $multi_os_directory in
4539 .
) toolexeclibdir
=${libdir} ;; # Avoid trailing /.
4540 *) toolexeclibdir
=${libdir}/${multi_os_directory} ;;
4546 # Check whether --with-native-libdir or --without-native-libdir was given.
4547 if test "${with_native_libdir+set}" = set; then
4548 withval
="$with_native_libdir"
4550 nativeexeclibdir
=${withval}
4554 nativeexeclibdir
='${toolexeclibdir}/gcj-'`cat ${srcdir}/../../gcc/BASE-VER`
4561 # Check whether --with-glibj-dir or --without-glibj-dir was given.
4562 if test "${with_glibj_dir+set}" = set; then
4563 withval
="$with_glibj_dir"
4569 glibjdir
='${datadir}/${PACKAGE}'
4576 # Check whether --with-vm or --without-vm was given.
4577 if test "${with_vm+set}" = set; then
4580 VM_BINARY
=${withval}
4584 VM_BINARY
='${prefix}/bin/jamvm'
4591 if test "x`basename $VM_BINARY`" = xcacao
; then
4593 FOUND_CACAO_FALSE
='#'
4595 FOUND_CACAO_TRUE
='#'
4600 # Check whether --enable-regen-headers or --disable-regen-headers was given.
4601 if test "${enable_regen_headers+set}" = set; then
4602 enableval
="$enable_regen_headers"
4603 case "${enableval}" in
4604 yes) REGENERATE_JNI_HEADERS
=yes ;;
4605 no
) REGENERATE_JNI_HEADERS
=no
;;
4606 *) REGENERATE_JNI_HEADERS
=no
;;
4609 REGENERATE_JNI_HEADERS
=no
4613 if test "x${REGENERATE_JNI_HEADERS}" = xyes
; then
4614 CREATE_JNI_HEADERS_TRUE
=
4615 CREATE_JNI_HEADERS_FALSE
='#'
4617 CREATE_JNI_HEADERS_TRUE
='#'
4618 CREATE_JNI_HEADERS_FALSE
=
4622 # Check whether --enable-tool-wrappers or --disable-tool-wrappers was given.
4623 if test "${enable_tool_wrappers+set}" = set; then
4624 enableval
="$enable_tool_wrappers"
4625 case x
"${enableval}" in
4627 COMPILE_WRAPPERS
=yes;
4629 for ac_header
in ltdl.h
4631 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
4632 if eval "test \"\${$as_ac_Header+set}\" = set"; then
4633 echo "$as_me:$LINENO: checking for $ac_header" >&5
4634 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
4635 if eval "test \"\${$as_ac_Header+set}\" = set"; then
4636 echo $ECHO_N "(cached) $ECHO_C" >&6
4638 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
4639 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
4641 # Is the header compilable?
4642 echo "$as_me:$LINENO: checking $ac_header usability" >&5
4643 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
4644 cat >conftest.
$ac_ext <<_ACEOF
4647 cat confdefs.h
>>conftest.
$ac_ext
4648 cat >>conftest.
$ac_ext <<_ACEOF
4649 /* end confdefs.h. */
4650 $ac_includes_default
4651 #include <$ac_header>
4653 rm -f conftest.
$ac_objext
4654 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4655 (eval $ac_compile) 2>conftest.er1
4657 grep -v '^ *+' conftest.er1
>conftest.err
4659 cat conftest.err
>&5
4660 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4661 (exit $ac_status); } &&
4662 { ac_try
='test -z "$ac_c_werror_flag"
4663 || test ! -s conftest.err'
4664 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4667 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4668 (exit $ac_status); }; } &&
4669 { ac_try
='test -s conftest.$ac_objext'
4670 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4673 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4674 (exit $ac_status); }; }; then
4675 ac_header_compiler
=yes
4677 echo "$as_me: failed program was:" >&5
4678 sed 's/^/| /' conftest.
$ac_ext >&5
4680 ac_header_compiler
=no
4682 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
4683 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
4684 echo "${ECHO_T}$ac_header_compiler" >&6
4686 # Is the header present?
4687 echo "$as_me:$LINENO: checking $ac_header presence" >&5
4688 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
4689 cat >conftest.
$ac_ext <<_ACEOF
4692 cat confdefs.h
>>conftest.
$ac_ext
4693 cat >>conftest.
$ac_ext <<_ACEOF
4694 /* end confdefs.h. */
4695 #include <$ac_header>
4697 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
4698 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
4700 grep -v '^ *+' conftest.er1
>conftest.err
4702 cat conftest.err
>&5
4703 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4704 (exit $ac_status); } >/dev
/null
; then
4705 if test -s conftest.err
; then
4706 ac_cpp_err
=$ac_c_preproc_warn_flag
4707 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
4714 if test -z "$ac_cpp_err"; then
4715 ac_header_preproc
=yes
4717 echo "$as_me: failed program was:" >&5
4718 sed 's/^/| /' conftest.
$ac_ext >&5
4720 ac_header_preproc
=no
4722 rm -f conftest.err conftest.
$ac_ext
4723 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
4724 echo "${ECHO_T}$ac_header_preproc" >&6
4726 # So? What about this header?
4727 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
4729 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
4730 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
4731 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
4732 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
4733 ac_header_preproc
=yes
4736 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
4737 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
4738 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
4739 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
4740 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
4741 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
4742 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
4743 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
4744 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
4745 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
4746 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
4747 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
4750 ## -------------------------------- ##
4751 ## Report this to classpath@gnu.org ##
4752 ## -------------------------------- ##
4755 sed "s/^/$as_me: WARNING: /" >&2
4758 echo "$as_me:$LINENO: checking for $ac_header" >&5
4759 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
4760 if eval "test \"\${$as_ac_Header+set}\" = set"; then
4761 echo $ECHO_N "(cached) $ECHO_C" >&6
4763 eval "$as_ac_Header=\$ac_header_preproc"
4765 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
4766 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
4769 if test `eval echo '${'$as_ac_Header'}'` = yes; then
4770 cat >>confdefs.h
<<_ACEOF
4771 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
4775 { { echo "$as_me:$LINENO: error: cannot find ltdl.h" >&5
4776 echo "$as_me: error: cannot find ltdl.h" >&2;}
4777 { (exit 1); exit 1; }; }
4783 echo "$as_me:$LINENO: checking for lt_dlopen in -lltdl" >&5
4784 echo $ECHO_N "checking for lt_dlopen in -lltdl... $ECHO_C" >&6
4785 if test "${ac_cv_lib_ltdl_lt_dlopen+set}" = set; then
4786 echo $ECHO_N "(cached) $ECHO_C" >&6
4788 ac_check_lib_save_LIBS
=$LIBS
4790 if test x
$gcc_no_link = xyes
; then
4791 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
4792 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
4793 { (exit 1); exit 1; }; }
4795 cat >conftest.
$ac_ext <<_ACEOF
4798 cat confdefs.h
>>conftest.
$ac_ext
4799 cat >>conftest.
$ac_ext <<_ACEOF
4800 /* end confdefs.h. */
4802 /* Override any gcc2 internal prototype to avoid an error. */
4806 /* We use char because int might match the return type of a gcc2
4807 builtin and then its argument prototype would still apply. */
4817 rm -f conftest.
$ac_objext conftest
$ac_exeext
4818 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
4819 (eval $ac_link) 2>conftest.er1
4821 grep -v '^ *+' conftest.er1
>conftest.err
4823 cat conftest.err
>&5
4824 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4825 (exit $ac_status); } &&
4826 { ac_try
='test -z "$ac_c_werror_flag"
4827 || test ! -s conftest.err'
4828 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4831 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4832 (exit $ac_status); }; } &&
4833 { ac_try
='test -s conftest$ac_exeext'
4834 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4837 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4838 (exit $ac_status); }; }; then
4839 ac_cv_lib_ltdl_lt_dlopen
=yes
4841 echo "$as_me: failed program was:" >&5
4842 sed 's/^/| /' conftest.
$ac_ext >&5
4844 ac_cv_lib_ltdl_lt_dlopen
=no
4846 rm -f conftest.err conftest.
$ac_objext \
4847 conftest
$ac_exeext conftest.
$ac_ext
4848 LIBS
=$ac_check_lib_save_LIBS
4850 echo "$as_me:$LINENO: result: $ac_cv_lib_ltdl_lt_dlopen" >&5
4851 echo "${ECHO_T}$ac_cv_lib_ltdl_lt_dlopen" >&6
4852 if test $ac_cv_lib_ltdl_lt_dlopen = yes; then
4853 cat >>confdefs.h
<<_ACEOF
4854 #define HAVE_LIBLTDL 1
4860 { { echo "$as_me:$LINENO: error: cannot find libltdl" >&5
4861 echo "$as_me: error: cannot find libltdl" >&2;}
4862 { (exit 1); exit 1; }; }
4866 xno
) COMPILE_WRAPPERS
=no
;;
4867 x
) COMPILE_WRAPPERS
=yes ;;
4868 *) COMPILE_WRAPPERS
=yes ;;
4875 if test "x${COMPILE_WRAPPERS}" = xyes
; then
4876 CREATE_WRAPPERS_TRUE
=
4877 CREATE_WRAPPERS_FALSE
='#'
4879 CREATE_WRAPPERS_TRUE
='#'
4880 CREATE_WRAPPERS_FALSE
=
4884 echo "$as_me:$LINENO: checking whether ln -s works" >&5
4885 echo $ECHO_N "checking whether ln -s works... $ECHO_C" >&6
4887 if test "$LN_S" = "ln -s"; then
4888 echo "$as_me:$LINENO: result: yes" >&5
4889 echo "${ECHO_T}yes" >&6
4891 echo "$as_me:$LINENO: result: no, using $LN_S" >&5
4892 echo "${ECHO_T}no, using $LN_S" >&6
4895 # Find a good install program. We prefer a C program (faster),
4896 # so one script is as good as another. But avoid the broken or
4897 # incompatible versions:
4898 # SysV /etc/install, /usr/sbin/install
4899 # SunOS /usr/etc/install
4900 # IRIX /sbin/install
4902 # AmigaOS /C/install, which installs bootblocks on floppy discs
4903 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
4904 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
4905 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
4906 # OS/2's system install, which has a completely different semantic
4907 # ./install, which can be erroneously created by make from ./install.sh.
4908 echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
4909 echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6
4910 if test -z "$INSTALL"; then
4911 if test "${ac_cv_path_install+set}" = set; then
4912 echo $ECHO_N "(cached) $ECHO_C" >&6
4914 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4918 test -z "$as_dir" && as_dir
=.
4919 # Account for people who put trailing slashes in PATH elements.
4921 .
/ | .
// |
/cC
/* | \
4922 /etc
/* |
/usr
/sbin
/* |
/usr
/etc
/* |
/sbin
/* |
/usr
/afsws
/bin
/* | \
4923 ?
:\\/os2
\\/install\\/* | ?
:\\/OS2
\\/INSTALL
\\/* | \
4926 # OSF1 and SCO ODT 3.0 have their own names for install.
4927 # Don't use installbsd from OSF since it installs stuff as root
4929 for ac_prog
in ginstall scoinst
install; do
4930 for ac_exec_ext
in '' $ac_executable_extensions; do
4931 if $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
4932 if test $ac_prog = install &&
4933 grep dspmsg
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
4934 # AIX install. It has an incompatible calling convention.
4936 elif test $ac_prog = install &&
4937 grep pwplus
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
4938 # program-specific install script used by HP pwplus--don't use.
4941 ac_cv_path_install
="$as_dir/$ac_prog$ac_exec_ext -c"
4953 if test "${ac_cv_path_install+set}" = set; then
4954 INSTALL
=$ac_cv_path_install
4956 # As a last resort, use the slow shell script. We don't cache a
4957 # path for INSTALL within a source directory, because that will
4958 # break other packages using the cache if that directory is
4959 # removed, or if the path is relative.
4960 INSTALL
=$ac_install_sh
4963 echo "$as_me:$LINENO: result: $INSTALL" >&5
4964 echo "${ECHO_T}$INSTALL" >&6
4966 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
4967 # It thinks the first close brace ends the variable substitution.
4968 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM
='${INSTALL}'
4970 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT
='${INSTALL}'
4972 test -z "$INSTALL_DATA" && INSTALL_DATA
='${INSTALL} -m 644'
4976 # Check whether --enable-static or --disable-static was given.
4977 if test "${enable_static+set}" = set; then
4978 enableval
="$enable_static"
4979 p
=${PACKAGE-default}
4981 yes) enable_static
=yes ;;
4982 no
) enable_static
=no
;;
4985 # Look at the argument we got. We use all the common list separators.
4986 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
="${IFS}:,"
4987 for pkg
in $enableval; do
4988 if test "X$pkg" = "X$p"; then
4998 # Check whether --enable-shared or --disable-shared was given.
4999 if test "${enable_shared+set}" = set; then
5000 enableval
="$enable_shared"
5001 p
=${PACKAGE-default}
5003 yes) enable_shared
=yes ;;
5004 no
) enable_shared
=no
;;
5007 # Look at the argument we got. We use all the common list separators.
5008 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
="${IFS}:,"
5009 for pkg
in $enableval; do
5010 if test "X$pkg" = "X$p"; then
5020 # Check whether --enable-fast-install or --disable-fast-install was given.
5021 if test "${enable_fast_install+set}" = set; then
5022 enableval
="$enable_fast_install"
5023 p
=${PACKAGE-default}
5025 yes) enable_fast_install
=yes ;;
5026 no
) enable_fast_install
=no
;;
5028 enable_fast_install
=no
5029 # Look at the argument we got. We use all the common list separators.
5030 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
="${IFS}:,"
5031 for pkg
in $enableval; do
5032 if test "X$pkg" = "X$p"; then
5033 enable_fast_install
=yes
5040 enable_fast_install
=yes
5043 # Check whether --with-gnu-ld or --without-gnu-ld was given.
5044 if test "${with_gnu_ld+set}" = set; then
5045 withval
="$with_gnu_ld"
5046 test "$withval" = no || with_gnu_ld
=yes
5051 if test "$GCC" = yes; then
5052 # Check if gcc -print-prog-name=ld gives a path.
5053 echo "$as_me:$LINENO: checking for ld used by GCC" >&5
5054 echo $ECHO_N "checking for ld used by GCC... $ECHO_C" >&6
5057 # gcc leaves a trailing carriage return which upsets mingw
5058 ac_prog
=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
5060 ac_prog
=`($CC -print-prog-name=ld) 2>&5` ;;
5063 # Accept absolute paths.
5064 [\\/]* |
[A-Za-z
]:[\\/]*)
5065 re_direlt
='/[^/][^/]*/\.\./'
5066 # Canonicalize the path of ld
5067 ac_prog
=`echo $ac_prog| sed 's%\\\\%/%g'`
5068 while echo $ac_prog |
grep "$re_direlt" > /dev
/null
2>&1; do
5069 ac_prog
=`echo $ac_prog| sed "s%$re_direlt%/%"`
5071 test -z "$LD" && LD
="$ac_prog"
5074 # If it fails, then pretend we aren't using GCC.
5078 # If it is relative, then search for the first ld in PATH.
5082 elif test "$with_gnu_ld" = yes; then
5083 echo "$as_me:$LINENO: checking for GNU ld" >&5
5084 echo $ECHO_N "checking for GNU ld... $ECHO_C" >&6
5086 echo "$as_me:$LINENO: checking for non-GNU ld" >&5
5087 echo $ECHO_N "checking for non-GNU ld... $ECHO_C" >&6
5089 if test "${lt_cv_path_LD+set}" = set; then
5090 echo $ECHO_N "(cached) $ECHO_C" >&6
5092 if test -z "$LD"; then
5093 IFS
="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}${PATH_SEPARATOR-:}"
5094 for ac_dir
in $PATH; do
5095 test -z "$ac_dir" && ac_dir
=.
5096 if test -f "$ac_dir/$ac_prog" ||
test -f "$ac_dir/$ac_prog$ac_exeext"; then
5097 lt_cv_path_LD
="$ac_dir/$ac_prog"
5098 # Check to see if the program is GNU ld. I'd rather use --version,
5099 # but apparently some GNU ld's only accept -v.
5100 # Break only if it was the GNU/non-GNU ld that we prefer.
5101 if "$lt_cv_path_LD" -v 2>&1 < /dev
/null |
egrep '(GNU|with BFD)' > /dev
/null
; then
5102 test "$with_gnu_ld" != no
&& break
5104 test "$with_gnu_ld" != yes && break
5110 lt_cv_path_LD
="$LD" # Let the user override the test with a path.
5115 if test -n "$LD"; then
5116 echo "$as_me:$LINENO: result: $LD" >&5
5117 echo "${ECHO_T}$LD" >&6
5119 echo "$as_me:$LINENO: result: no" >&5
5120 echo "${ECHO_T}no" >&6
5122 test -z "$LD" && { { echo "$as_me:$LINENO: error: no acceptable ld found in \$PATH" >&5
5123 echo "$as_me: error: no acceptable ld found in \$PATH" >&2;}
5124 { (exit 1); exit 1; }; }
5125 echo "$as_me:$LINENO: checking if the linker ($LD) is GNU ld" >&5
5126 echo $ECHO_N "checking if the linker ($LD) is GNU ld... $ECHO_C" >&6
5127 if test "${lt_cv_prog_gnu_ld+set}" = set; then
5128 echo $ECHO_N "(cached) $ECHO_C" >&6
5130 # I'd rather use --version here, but apparently some GNU ld's only accept -v.
5131 if $LD -v 2>&1 </dev
/null |
egrep '(GNU|with BFD)' 1>&5; then
5132 lt_cv_prog_gnu_ld
=yes
5134 lt_cv_prog_gnu_ld
=no
5137 echo "$as_me:$LINENO: result: $lt_cv_prog_gnu_ld" >&5
5138 echo "${ECHO_T}$lt_cv_prog_gnu_ld" >&6
5139 with_gnu_ld
=$lt_cv_prog_gnu_ld
5142 echo "$as_me:$LINENO: checking for $LD option to reload object files" >&5
5143 echo $ECHO_N "checking for $LD option to reload object files... $ECHO_C" >&6
5144 if test "${lt_cv_ld_reload_flag+set}" = set; then
5145 echo $ECHO_N "(cached) $ECHO_C" >&6
5147 lt_cv_ld_reload_flag
='-r'
5149 echo "$as_me:$LINENO: result: $lt_cv_ld_reload_flag" >&5
5150 echo "${ECHO_T}$lt_cv_ld_reload_flag" >&6
5151 reload_flag
=$lt_cv_ld_reload_flag
5152 test -n "$reload_flag" && reload_flag
=" $reload_flag"
5154 echo "$as_me:$LINENO: checking for BSD-compatible nm" >&5
5155 echo $ECHO_N "checking for BSD-compatible nm... $ECHO_C" >&6
5156 if test "${lt_cv_path_NM+set}" = set; then
5157 echo $ECHO_N "(cached) $ECHO_C" >&6
5159 if test -n "$NM"; then
5160 # Let the user override the test.
5163 IFS
="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}${PATH_SEPARATOR-:}"
5164 for ac_dir
in $PATH /usr
/ccs
/bin
/usr
/ucb
/bin
; do
5165 test -z "$ac_dir" && ac_dir
=.
5166 tmp_nm
=$ac_dir/${ac_tool_prefix}nm
5167 if test -f $tmp_nm ||
test -f $tmp_nm$ac_exeext ; then
5168 # Check to see if the nm accepts a BSD-compat flag.
5169 # Adding the `sed 1q' prevents false positives on HP-UX, which says:
5170 # nm: unknown option "B" ignored
5171 # Tru64's nm complains that /dev/null is an invalid object file
5172 if ($tmp_nm -B /dev
/null
2>&1 |
sed '1q'; exit 0) |
egrep '(/dev/null|Invalid file or object type)' >/dev
/null
; then
5173 lt_cv_path_NM
="$tmp_nm -B"
5175 elif ($tmp_nm -p /dev
/null
2>&1 |
sed '1q'; exit 0) |
egrep /dev
/null
>/dev
/null
; then
5176 lt_cv_path_NM
="$tmp_nm -p"
5179 lt_cv_path_NM
=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but
5180 continue # so that we can try to find one that supports BSD flags
5185 test -z "$lt_cv_path_NM" && lt_cv_path_NM
=nm
5190 echo "$as_me:$LINENO: result: $NM" >&5
5191 echo "${ECHO_T}$NM" >&6
5193 echo "$as_me:$LINENO: checking how to recognise dependant libraries" >&5
5194 echo $ECHO_N "checking how to recognise dependant libraries... $ECHO_C" >&6
5195 if test "${lt_cv_deplibs_check_method+set}" = set; then
5196 echo $ECHO_N "(cached) $ECHO_C" >&6
5198 lt_cv_file_magic_cmd
='$MAGIC_CMD'
5199 lt_cv_file_magic_test_file
=
5200 lt_cv_deplibs_check_method
='unknown'
5201 # Need to set the preceding variable on all platforms that support
5202 # interlibrary dependencies.
5203 # 'none' -- dependencies not supported.
5204 # `unknown' -- same as none, but documents that we really don't know.
5205 # 'pass_all' -- all dependencies passed with no checks.
5206 # 'test_compile' -- check by making test program.
5207 # 'file_magic [regex]' -- check by looking for files in library path
5208 # which responds to the $file_magic_cmd with a given egrep regex.
5209 # If you have `file' or equivalent on your system and you're not sure
5210 # whether `pass_all' will *always* work, you probably want this one.
5214 lt_cv_deplibs_check_method
=pass_all
5218 lt_cv_deplibs_check_method
=pass_all
5222 lt_cv_deplibs_check_method
='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib)'
5223 lt_cv_file_magic_cmd
='/usr/bin/file -L'
5224 lt_cv_file_magic_test_file
=/shlib
/libc.so
5227 cygwin
* | mingw
* |pw32
*)
5228 lt_cv_deplibs_check_method
='file_magic file format pei*-i386(.*architecture: i386)?'
5229 lt_cv_file_magic_cmd
='$OBJDUMP -f'
5232 darwin
* | rhapsody
*)
5233 # this will be overwritten by pass_all, but leave it in just in case
5234 lt_cv_deplibs_check_method
='file_magic Mach-O dynamically linked shared library'
5235 lt_cv_file_magic_cmd
='/usr/bin/file -L'
5237 rhapsody
* | darwin1.012
)
5238 lt_cv_file_magic_test_file
='/System/Library/Frameworks/System.framework/System'
5241 lt_cv_file_magic_test_file
='/usr/lib/libSystem.dylib'
5244 lt_cv_deplibs_check_method
=pass_all
5247 freebsd
* | kfreebsd
*-gnu)
5248 if echo __ELF__ |
$CC -E - |
grep __ELF__
> /dev
/null
; then
5251 # Not sure whether the presence of OpenBSD here was a mistake.
5252 # Let's accept both of them until this is cleared up.
5253 lt_cv_deplibs_check_method
='file_magic (FreeBSD|OpenBSD)/i[3-9]86 (compact )?demand paged shared library'
5254 lt_cv_file_magic_cmd
=/usr
/bin
/file
5255 lt_cv_file_magic_test_file
=`echo /usr/lib/libc.so.*`
5259 lt_cv_deplibs_check_method
=pass_all
5264 lt_cv_deplibs_check_method
=pass_all
5270 lt_cv_deplibs_check_method
='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9].[0-9]) shared library'
5271 lt_cv_file_magic_cmd
=/usr
/bin
/file
5272 lt_cv_file_magic_test_file
=/usr
/lib
/libc.sl
5275 lt_cv_deplibs_check_method
='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - IA64'
5276 lt_cv_file_magic_cmd
=/usr
/bin
/file
5277 lt_cv_file_magic_test_file
=/usr
/lib
/hpux32
/libc.so
5285 # this will be overridden with pass_all, but let us keep it just in case
5286 lt_cv_deplibs_check_method
="file_magic ELF 32-bit MSB dynamic lib MIPS - version 1"
5290 *-32|
*"-32 ") libmagic
=32-bit;;
5291 *-n32|
*"-n32 ") libmagic
=N32
;;
5292 *-64|
*"-64 ") libmagic
=64-bit;;
5293 *) libmagic
=never-match
;;
5295 # this will be overridden with pass_all, but let us keep it just in case
5296 lt_cv_deplibs_check_method
="file_magic ELF ${libmagic} MSB mips-[1234] dynamic lib MIPS - version 1"
5299 lt_cv_file_magic_test_file
=`echo /lib${libsuff}/libc.so*`
5300 lt_cv_deplibs_check_method
=pass_all
5303 # This must be Linux ELF.
5305 lt_cv_deplibs_check_method
=pass_all
5308 netbsd
* | knetbsd
*-gnu)
5309 if echo __ELF__ |
$CC -E - |
grep __ELF__
> /dev
/null
; then
5310 lt_cv_deplibs_check_method
='match_pattern /lib[^/\.]+\.so\.[0-9]+\.[0-9]+$'
5312 lt_cv_deplibs_check_method
='match_pattern /lib[^/\.]+\.so$'
5317 lt_cv_deplibs_check_method
='file_magic ELF [0-9][0-9]*-bit [ML]SB (executable|dynamic lib)'
5318 lt_cv_file_magic_cmd
=/usr
/bin
/file
5319 lt_cv_file_magic_test_file
=/usr
/lib
/libnls.so
5322 osf3
* | osf4
* | osf5
*)
5323 # this will be overridden with pass_all, but let us keep it just in case
5324 lt_cv_deplibs_check_method
='file_magic COFF format alpha shared library'
5325 lt_cv_file_magic_test_file
=/shlib
/libc.so
5326 lt_cv_deplibs_check_method
=pass_all
5330 lt_cv_deplibs_check_method
=pass_all
5334 lt_cv_deplibs_check_method
=pass_all
5335 lt_cv_file_magic_test_file
=/lib
/libc.so
5338 sysv5uw
[78]* | sysv4
*uw2
*)
5339 lt_cv_deplibs_check_method
=pass_all
5342 sysv4 | sysv4.2uw2
* | sysv4.3
* | sysv5
*)
5343 case $host_vendor in
5345 lt_cv_deplibs_check_method
=pass_all
5348 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]'
5349 lt_cv_file_magic_test_file
=`echo /usr/lib/libc.so*`
5356 echo "$as_me:$LINENO: result: $lt_cv_deplibs_check_method" >&5
5357 echo "${ECHO_T}$lt_cv_deplibs_check_method" >&6
5358 file_magic_cmd
=$lt_cv_file_magic_cmd
5359 deplibs_check_method
=$lt_cv_deplibs_check_method
5364 # Autoconf 2.13's AC_OBJEXT and AC_EXEEXT macros only works for C compilers!
5366 # find the maximum length of command line arguments
5367 echo "$as_me:$LINENO: checking the maximum length of command line arguments" >&5
5368 echo $ECHO_N "checking the maximum length of command line arguments... $ECHO_C" >&6
5369 if test "${lt_cv_sys_max_cmd_len+set}" = set; then
5370 echo $ECHO_N "(cached) $ECHO_C" >&6
5377 # On DJGPP, this test can blow up pretty badly due to problems in libc
5378 # (any single argument exceeding 2000 bytes causes a buffer overrun
5379 # during glob expansion). Even if it were fixed, the result of this
5380 # check would be larger than it should be.
5381 lt_cv_sys_max_cmd_len
=12288; # 12K is about right
5385 # On Win9x/ME, this test blows up -- it succeeds, but takes
5386 # about 5 minutes as the teststring grows exponentially.
5387 # Worse, since 9x/ME are not pre-emptively multitasking,
5388 # you end up with a "frozen" computer, even though with patience
5389 # the test eventually succeeds (with a max line length of 256k).
5390 # Instead, let's just punt: use the minimum linelength reported by
5391 # all of the supported platforms: 8192 (on NT/2K/XP).
5392 lt_cv_sys_max_cmd_len
=8192;
5396 # On AmigaOS with pdksh, this test takes hours, literally.
5397 # So we just punt and use a minimum line length of 8192.
5398 lt_cv_sys_max_cmd_len
=8192;
5401 netbsd
* | freebsd
* | openbsd
* | darwin
* | dragonfly
*)
5402 # This has been around since 386BSD, at least. Likely further.
5403 if test -x /sbin
/sysctl
; then
5404 lt_cv_sys_max_cmd_len
=`/sbin/sysctl -n kern.argmax`
5405 elif test -x /usr
/sbin
/sysctl
; then
5406 lt_cv_sys_max_cmd_len
=`/usr/sbin/sysctl -n kern.argmax`
5408 lt_cv_sys_max_cmd_len
=65536 # usable default for *BSD
5410 # And add a safety zone
5411 lt_cv_sys_max_cmd_len
=`expr $lt_cv_sys_max_cmd_len \/ 4`
5412 lt_cv_sys_max_cmd_len
=`expr $lt_cv_sys_max_cmd_len \* 3`
5418 if test -n "$lt_cv_sys_max_cmd_len" ; then
5419 echo "$as_me:$LINENO: result: $lt_cv_sys_max_cmd_len" >&5
5420 echo "${ECHO_T}$lt_cv_sys_max_cmd_len" >&6
5422 echo "$as_me:$LINENO: result: none" >&5
5423 echo "${ECHO_T}none" >&6
5427 # Only perform the check for file, if the check method requires it
5428 case $deplibs_check_method in
5430 if test "$file_magic_cmd" = '$MAGIC_CMD'; then
5431 echo "$as_me:$LINENO: checking for ${ac_tool_prefix}file" >&5
5432 echo $ECHO_N "checking for ${ac_tool_prefix}file... $ECHO_C" >&6
5433 if test "${lt_cv_path_MAGIC_CMD+set}" = set; then
5434 echo $ECHO_N "(cached) $ECHO_C" >&6
5438 lt_cv_path_MAGIC_CMD
="$MAGIC_CMD" # Let the user override the test with a path.
5441 lt_cv_path_MAGIC_CMD
="$MAGIC_CMD" # Let the user override the test with a dos path.
5444 ac_save_MAGIC_CMD
="$MAGIC_CMD"
5445 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
=":"
5446 ac_dummy
="/usr/bin:$PATH"
5447 for ac_dir
in $ac_dummy; do
5448 test -z "$ac_dir" && ac_dir
=.
5449 if test -f $ac_dir/${ac_tool_prefix}file; then
5450 lt_cv_path_MAGIC_CMD
="$ac_dir/${ac_tool_prefix}file"
5451 if test -n "$file_magic_test_file"; then
5452 case $deplibs_check_method in
5454 file_magic_regex
="`expr \"$deplibs_check_method\" : \"file_magic \(.*\)\"`"
5455 MAGIC_CMD
="$lt_cv_path_MAGIC_CMD"
5456 if eval $file_magic_cmd \
$file_magic_test_file 2> /dev
/null |
5457 egrep "$file_magic_regex" > /dev
/null
; then
5462 *** Warning: the command libtool uses to detect shared libraries,
5463 *** $file_magic_cmd, produces output that libtool cannot recognize.
5464 *** The result is that libtool may fail to recognize shared libraries
5465 *** as such. This will affect the creation of libtool libraries that
5466 *** depend on shared libraries, but programs linked with such libtool
5467 *** libraries will work regardless of this problem. Nevertheless, you
5468 *** may want to report the problem to your system manager and/or to
5469 *** bug-libtool@gnu.org
5479 MAGIC_CMD
="$ac_save_MAGIC_CMD"
5484 MAGIC_CMD
="$lt_cv_path_MAGIC_CMD"
5485 if test -n "$MAGIC_CMD"; then
5486 echo "$as_me:$LINENO: result: $MAGIC_CMD" >&5
5487 echo "${ECHO_T}$MAGIC_CMD" >&6
5489 echo "$as_me:$LINENO: result: no" >&5
5490 echo "${ECHO_T}no" >&6
5493 if test -z "$lt_cv_path_MAGIC_CMD"; then
5494 if test -n "$ac_tool_prefix"; then
5495 echo "$as_me:$LINENO: checking for file" >&5
5496 echo $ECHO_N "checking for file... $ECHO_C" >&6
5497 if test "${lt_cv_path_MAGIC_CMD+set}" = set; then
5498 echo $ECHO_N "(cached) $ECHO_C" >&6
5502 lt_cv_path_MAGIC_CMD
="$MAGIC_CMD" # Let the user override the test with a path.
5505 lt_cv_path_MAGIC_CMD
="$MAGIC_CMD" # Let the user override the test with a dos path.
5508 ac_save_MAGIC_CMD
="$MAGIC_CMD"
5509 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
=":"
5510 ac_dummy
="/usr/bin:$PATH"
5511 for ac_dir
in $ac_dummy; do
5512 test -z "$ac_dir" && ac_dir
=.
5513 if test -f $ac_dir/file; then
5514 lt_cv_path_MAGIC_CMD
="$ac_dir/file"
5515 if test -n "$file_magic_test_file"; then
5516 case $deplibs_check_method in
5518 file_magic_regex
="`expr \"$deplibs_check_method\" : \"file_magic \(.*\)\"`"
5519 MAGIC_CMD
="$lt_cv_path_MAGIC_CMD"
5520 if eval $file_magic_cmd \
$file_magic_test_file 2> /dev
/null |
5521 egrep "$file_magic_regex" > /dev
/null
; then
5526 *** Warning: the command libtool uses to detect shared libraries,
5527 *** $file_magic_cmd, produces output that libtool cannot recognize.
5528 *** The result is that libtool may fail to recognize shared libraries
5529 *** as such. This will affect the creation of libtool libraries that
5530 *** depend on shared libraries, but programs linked with such libtool
5531 *** libraries will work regardless of this problem. Nevertheless, you
5532 *** may want to report the problem to your system manager and/or to
5533 *** bug-libtool@gnu.org
5543 MAGIC_CMD
="$ac_save_MAGIC_CMD"
5548 MAGIC_CMD
="$lt_cv_path_MAGIC_CMD"
5549 if test -n "$MAGIC_CMD"; then
5550 echo "$as_me:$LINENO: result: $MAGIC_CMD" >&5
5551 echo "${ECHO_T}$MAGIC_CMD" >&6
5553 echo "$as_me:$LINENO: result: no" >&5
5554 echo "${ECHO_T}no" >&6
5566 if test -n "$ac_tool_prefix"; then
5567 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
5568 set dummy
${ac_tool_prefix}ranlib
; ac_word
=$2
5569 echo "$as_me:$LINENO: checking for $ac_word" >&5
5570 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
5571 if test "${ac_cv_prog_RANLIB+set}" = set; then
5572 echo $ECHO_N "(cached) $ECHO_C" >&6
5574 if test -n "$RANLIB"; then
5575 ac_cv_prog_RANLIB
="$RANLIB" # Let the user override the test.
5577 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5581 test -z "$as_dir" && as_dir
=.
5582 for ac_exec_ext
in '' $ac_executable_extensions; do
5583 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5584 ac_cv_prog_RANLIB
="${ac_tool_prefix}ranlib"
5585 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5593 RANLIB
=$ac_cv_prog_RANLIB
5594 if test -n "$RANLIB"; then
5595 echo "$as_me:$LINENO: result: $RANLIB" >&5
5596 echo "${ECHO_T}$RANLIB" >&6
5598 echo "$as_me:$LINENO: result: no" >&5
5599 echo "${ECHO_T}no" >&6
5603 if test -z "$ac_cv_prog_RANLIB"; then
5604 ac_ct_RANLIB
=$RANLIB
5605 # Extract the first word of "ranlib", so it can be a program name with args.
5606 set dummy ranlib
; ac_word
=$2
5607 echo "$as_me:$LINENO: checking for $ac_word" >&5
5608 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
5609 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
5610 echo $ECHO_N "(cached) $ECHO_C" >&6
5612 if test -n "$ac_ct_RANLIB"; then
5613 ac_cv_prog_ac_ct_RANLIB
="$ac_ct_RANLIB" # Let the user override the test.
5615 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5619 test -z "$as_dir" && as_dir
=.
5620 for ac_exec_ext
in '' $ac_executable_extensions; do
5621 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5622 ac_cv_prog_ac_ct_RANLIB
="ranlib"
5623 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5629 test -z "$ac_cv_prog_ac_ct_RANLIB" && ac_cv_prog_ac_ct_RANLIB
=":"
5632 ac_ct_RANLIB
=$ac_cv_prog_ac_ct_RANLIB
5633 if test -n "$ac_ct_RANLIB"; then
5634 echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
5635 echo "${ECHO_T}$ac_ct_RANLIB" >&6
5637 echo "$as_me:$LINENO: result: no" >&5
5638 echo "${ECHO_T}no" >&6
5641 RANLIB
=$ac_ct_RANLIB
5643 RANLIB
="$ac_cv_prog_RANLIB"
5646 if test -n "$ac_tool_prefix"; then
5647 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
5648 set dummy
${ac_tool_prefix}strip
; ac_word
=$2
5649 echo "$as_me:$LINENO: checking for $ac_word" >&5
5650 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
5651 if test "${ac_cv_prog_STRIP+set}" = set; then
5652 echo $ECHO_N "(cached) $ECHO_C" >&6
5654 if test -n "$STRIP"; then
5655 ac_cv_prog_STRIP
="$STRIP" # Let the user override the test.
5657 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5661 test -z "$as_dir" && as_dir
=.
5662 for ac_exec_ext
in '' $ac_executable_extensions; do
5663 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5664 ac_cv_prog_STRIP
="${ac_tool_prefix}strip"
5665 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5673 STRIP
=$ac_cv_prog_STRIP
5674 if test -n "$STRIP"; then
5675 echo "$as_me:$LINENO: result: $STRIP" >&5
5676 echo "${ECHO_T}$STRIP" >&6
5678 echo "$as_me:$LINENO: result: no" >&5
5679 echo "${ECHO_T}no" >&6
5683 if test -z "$ac_cv_prog_STRIP"; then
5685 # Extract the first word of "strip", so it can be a program name with args.
5686 set dummy strip
; ac_word
=$2
5687 echo "$as_me:$LINENO: checking for $ac_word" >&5
5688 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
5689 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
5690 echo $ECHO_N "(cached) $ECHO_C" >&6
5692 if test -n "$ac_ct_STRIP"; then
5693 ac_cv_prog_ac_ct_STRIP
="$ac_ct_STRIP" # Let the user override the test.
5695 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5699 test -z "$as_dir" && as_dir
=.
5700 for ac_exec_ext
in '' $ac_executable_extensions; do
5701 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5702 ac_cv_prog_ac_ct_STRIP
="strip"
5703 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5709 test -z "$ac_cv_prog_ac_ct_STRIP" && ac_cv_prog_ac_ct_STRIP
=":"
5712 ac_ct_STRIP
=$ac_cv_prog_ac_ct_STRIP
5713 if test -n "$ac_ct_STRIP"; then
5714 echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
5715 echo "${ECHO_T}$ac_ct_STRIP" >&6
5717 echo "$as_me:$LINENO: result: no" >&5
5718 echo "${ECHO_T}no" >&6
5723 STRIP
="$ac_cv_prog_STRIP"
5727 # Check for any special flags to pass to ltconfig.
5728 libtool_flags
="--cache-file=$cache_file"
5729 test "$enable_shared" = no
&& libtool_flags
="$libtool_flags --disable-shared"
5730 test "$enable_static" = no
&& libtool_flags
="$libtool_flags --disable-static"
5731 test "$enable_fast_install" = no
&& libtool_flags
="$libtool_flags --disable-fast-install"
5732 test "$GCC" = yes && libtool_flags
="$libtool_flags --with-gcc"
5733 test "$lt_cv_prog_gnu_ld" = yes && libtool_flags
="$libtool_flags --with-gnu-ld"
5736 # Check whether --enable-libtool-lock or --disable-libtool-lock was given.
5737 if test "${enable_libtool_lock+set}" = set; then
5738 enableval
="$enable_libtool_lock"
5741 test "x$enable_libtool_lock" = xno
&& libtool_flags
="$libtool_flags --disable-lock"
5742 test x
"$silent" = xyes
&& libtool_flags
="$libtool_flags --silent"
5745 # Check whether --with-pic or --without-pic was given.
5746 if test "${with_pic+set}" = set; then
5752 test x
"$pic_mode" = xyes
&& libtool_flags
="$libtool_flags --prefer-pic"
5753 test x
"$pic_mode" = xno
&& libtool_flags
="$libtool_flags --prefer-non-pic"
5755 # Some flags need to be propagated to the compiler or linker for good
5759 # Find out which ABI we are using.
5760 echo '#line 5760 "configure"' > conftest.
$ac_ext
5761 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5762 (eval $ac_compile) 2>&5
5764 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5765 (exit $ac_status); }; then
5766 if test "$lt_cv_prog_gnu_ld" = yes; then
5767 case `/usr/bin/file conftest.$ac_objext` in
5769 LD
="${LD-ld} -melf32bsmip"
5772 LD
="${LD-ld} -melf32bmipn32"
5775 LD
="${LD-ld} -melf64bmip"
5779 case `/usr/bin/file conftest.$ac_objext` in
5796 # Find out which ABI we are using.
5797 echo 'int i;' > conftest.
$ac_ext
5798 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5799 (eval $ac_compile) 2>&5
5801 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5802 (exit $ac_status); }; then
5803 case "`/usr/bin/file conftest.o`" in
5815 x86_64-
*linux
*|ppc
*-*linux
*|powerpc
*-*linux
*|s390
*-*linux
*|sparc
*-*linux
*)
5816 # Find out which ABI we are using.
5817 echo 'int i;' > conftest.
$ac_ext
5818 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5819 (eval $ac_compile) 2>&5
5821 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5822 (exit $ac_status); }; then
5823 case "`/usr/bin/file conftest.o`" in
5827 LD
="${LD-ld} -m elf_i386"
5829 ppc64-
*linux
*|powerpc64-
*linux
*)
5830 LD
="${LD-ld} -m elf32ppclinux"
5833 LD
="${LD-ld} -m elf_s390"
5836 LD
="${LD-ld} -m elf32_sparc"
5843 LD
="${LD-ld} -m elf_x86_64"
5845 ppc
*-*linux
*|powerpc
*-*linux
*)
5846 LD
="${LD-ld} -m elf64ppc"
5849 LD
="${LD-ld} -m elf64_s390"
5852 LD
="${LD-ld} -m elf64_sparc"
5862 # On SCO OpenServer 5, we need -belf to get full-featured binaries.
5863 SAVE_CFLAGS
="$CFLAGS"
5864 CFLAGS
="$CFLAGS -belf"
5865 echo "$as_me:$LINENO: checking whether the C compiler needs -belf" >&5
5866 echo $ECHO_N "checking whether the C compiler needs -belf... $ECHO_C" >&6
5867 if test "${lt_cv_cc_needs_belf+set}" = set; then
5868 echo $ECHO_N "(cached) $ECHO_C" >&6
5873 ac_cpp
='$CPP $CPPFLAGS'
5874 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5875 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5876 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
5878 if test x
$gcc_no_link = xyes
; then
5879 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
5880 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
5881 { (exit 1); exit 1; }; }
5883 cat >conftest.
$ac_ext <<_ACEOF
5886 cat confdefs.h
>>conftest.
$ac_ext
5887 cat >>conftest.
$ac_ext <<_ACEOF
5888 /* end confdefs.h. */
5898 rm -f conftest.
$ac_objext conftest
$ac_exeext
5899 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
5900 (eval $ac_link) 2>conftest.er1
5902 grep -v '^ *+' conftest.er1
>conftest.err
5904 cat conftest.err
>&5
5905 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5906 (exit $ac_status); } &&
5907 { ac_try
='test -z "$ac_c_werror_flag"
5908 || test ! -s conftest.err'
5909 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5912 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5913 (exit $ac_status); }; } &&
5914 { ac_try
='test -s conftest$ac_exeext'
5915 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5918 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5919 (exit $ac_status); }; }; then
5920 lt_cv_cc_needs_belf
=yes
5922 echo "$as_me: failed program was:" >&5
5923 sed 's/^/| /' conftest.
$ac_ext >&5
5925 lt_cv_cc_needs_belf
=no
5927 rm -f conftest.err conftest.
$ac_objext \
5928 conftest
$ac_exeext conftest.
$ac_ext
5930 ac_cpp
='$CPP $CPPFLAGS'
5931 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5932 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5933 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
5936 echo "$as_me:$LINENO: result: $lt_cv_cc_needs_belf" >&5
5937 echo "${ECHO_T}$lt_cv_cc_needs_belf" >&6
5938 if test x
"$lt_cv_cc_needs_belf" != x
"yes"; then
5939 # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
5940 CFLAGS
="$SAVE_CFLAGS"
5948 # Save cache, so that ltconfig can load it
5949 cat >confcache
<<\_ACEOF
5950 # This file is a shell script that caches the results of configure
5951 # tests run on this system so they can be shared between configure
5952 # scripts and configure runs, see configure's option --config-cache.
5953 # It is not useful on other systems. If it contains results you don't
5954 # want to keep, you may remove or edit it.
5956 # config.status only pays attention to the cache file if you give it
5957 # the --recheck option to rerun configure.
5959 # `ac_cv_env_foo' variables (set or unset) will be overridden when
5960 # loading this file, other *unset* `ac_cv_foo' will be assigned the
5965 # The following way of writing the cache mishandles newlines in values,
5966 # but we know of no workaround that is simple, portable, and efficient.
5967 # So, don't put newlines in cache variables' values.
5968 # Ultrix sh set writes to stderr and can't be redirected directly,
5969 # and sets the high bit in the cache file unless we assign to the vars.
5972 case `(ac_space=' '; set | grep ac_space) 2>&1` in
5974 # `set' does not quote correctly, so add quotes (double-quote
5975 # substitution turns \\\\ into \\, and sed turns \\ into \).
5978 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
5981 # `set' quotes correctly as required by POSIX, so do not add quotes.
5983 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
5990 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
5992 /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
5994 if diff $cache_file confcache
>/dev
/null
2>&1; then :; else
5995 if test -w $cache_file; then
5996 test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
5997 cat confcache
>$cache_file
5999 echo "not updating unwritable cache $cache_file"
6004 # Actually configure libtool. ac_aux_dir is where install-sh is found.
6005 AR
="$AR" LTCC
="$CC" CC
="$CC" CFLAGS
="$CFLAGS" CPPFLAGS
="$CPPFLAGS" \
6006 MAGIC_CMD
="$MAGIC_CMD" LD
="$LD" LDFLAGS
="$LDFLAGS" LIBS
="$LIBS" \
6007 LN_S
="$LN_S" NM
="$NM" RANLIB
="$RANLIB" STRIP
="$STRIP" \
6008 AS
="$AS" DLLTOOL
="$DLLTOOL" OBJDUMP
="$OBJDUMP" \
6009 objext
="$OBJEXT" exeext
="$EXEEXT" reload_flag
="$reload_flag" \
6010 deplibs_check_method
="$deplibs_check_method" file_magic_cmd
="$file_magic_cmd" \
6011 ${CONFIG_SHELL-/bin/sh} $ac_aux_dir/ltconfig
--no-reexec \
6012 $libtool_flags --no-verify --build="$build" $ac_aux_dir/ltmain.sh
$host \
6013 ||
{ { echo "$as_me:$LINENO: error: libtool configure failed" >&5
6014 echo "$as_me: error: libtool configure failed" >&2;}
6015 { (exit 1); exit 1; }; }
6017 # Reload cache, that may have been modified by ltconfig
6018 if test -r "$cache_file"; then
6019 # Some versions of bash will fail to source /dev/null (special
6020 # files actually), so we avoid doing that.
6021 if test -f "$cache_file"; then
6022 { echo "$as_me:$LINENO: loading cache $cache_file" >&5
6023 echo "$as_me: loading cache $cache_file" >&6;}
6025 [\\/]* | ?
:[\\/]* ) .
$cache_file;;
6026 *) . .
/$cache_file;;
6030 { echo "$as_me:$LINENO: creating cache $cache_file" >&5
6031 echo "$as_me: creating cache $cache_file" >&6;}
6036 # This can be used to rebuild libtool when needed
6037 LIBTOOL_DEPS
="$ac_aux_dir/ltconfig $ac_aux_dir/ltmain.sh $ac_aux_dir/ltcf-c.sh"
6039 # Always use our own libtool.
6040 LIBTOOL
='$(SHELL) $(top_builddir)/libtool'
6042 # Redirect the config.log output again, so that the ltconfig log is not
6043 # clobbered by the next message.
6044 exec 5>>.
/config.log
6052 ac_cpp
='$CPP $CPPFLAGS'
6053 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6054 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6055 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
6056 if test -n "$ac_tool_prefix"; then
6057 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
6058 set dummy
${ac_tool_prefix}gcc
; ac_word
=$2
6059 echo "$as_me:$LINENO: checking for $ac_word" >&5
6060 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
6061 if test "${ac_cv_prog_CC+set}" = set; then
6062 echo $ECHO_N "(cached) $ECHO_C" >&6
6064 if test -n "$CC"; then
6065 ac_cv_prog_CC
="$CC" # Let the user override the test.
6067 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6071 test -z "$as_dir" && as_dir
=.
6072 for ac_exec_ext
in '' $ac_executable_extensions; do
6073 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6074 ac_cv_prog_CC
="${ac_tool_prefix}gcc"
6075 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6084 if test -n "$CC"; then
6085 echo "$as_me:$LINENO: result: $CC" >&5
6086 echo "${ECHO_T}$CC" >&6
6088 echo "$as_me:$LINENO: result: no" >&5
6089 echo "${ECHO_T}no" >&6
6093 if test -z "$ac_cv_prog_CC"; then
6095 # Extract the first word of "gcc", so it can be a program name with args.
6096 set dummy gcc
; ac_word
=$2
6097 echo "$as_me:$LINENO: checking for $ac_word" >&5
6098 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
6099 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
6100 echo $ECHO_N "(cached) $ECHO_C" >&6
6102 if test -n "$ac_ct_CC"; then
6103 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
6105 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6109 test -z "$as_dir" && as_dir
=.
6110 for ac_exec_ext
in '' $ac_executable_extensions; do
6111 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6112 ac_cv_prog_ac_ct_CC
="gcc"
6113 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6121 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
6122 if test -n "$ac_ct_CC"; then
6123 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
6124 echo "${ECHO_T}$ac_ct_CC" >&6
6126 echo "$as_me:$LINENO: result: no" >&5
6127 echo "${ECHO_T}no" >&6
6135 if test -z "$CC"; then
6136 if test -n "$ac_tool_prefix"; then
6137 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
6138 set dummy
${ac_tool_prefix}cc
; ac_word
=$2
6139 echo "$as_me:$LINENO: checking for $ac_word" >&5
6140 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
6141 if test "${ac_cv_prog_CC+set}" = set; then
6142 echo $ECHO_N "(cached) $ECHO_C" >&6
6144 if test -n "$CC"; then
6145 ac_cv_prog_CC
="$CC" # Let the user override the test.
6147 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6151 test -z "$as_dir" && as_dir
=.
6152 for ac_exec_ext
in '' $ac_executable_extensions; do
6153 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6154 ac_cv_prog_CC
="${ac_tool_prefix}cc"
6155 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6164 if test -n "$CC"; then
6165 echo "$as_me:$LINENO: result: $CC" >&5
6166 echo "${ECHO_T}$CC" >&6
6168 echo "$as_me:$LINENO: result: no" >&5
6169 echo "${ECHO_T}no" >&6
6173 if test -z "$ac_cv_prog_CC"; then
6175 # Extract the first word of "cc", so it can be a program name with args.
6176 set dummy cc
; ac_word
=$2
6177 echo "$as_me:$LINENO: checking for $ac_word" >&5
6178 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
6179 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
6180 echo $ECHO_N "(cached) $ECHO_C" >&6
6182 if test -n "$ac_ct_CC"; then
6183 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
6185 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6189 test -z "$as_dir" && as_dir
=.
6190 for ac_exec_ext
in '' $ac_executable_extensions; do
6191 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6192 ac_cv_prog_ac_ct_CC
="cc"
6193 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6201 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
6202 if test -n "$ac_ct_CC"; then
6203 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
6204 echo "${ECHO_T}$ac_ct_CC" >&6
6206 echo "$as_me:$LINENO: result: no" >&5
6207 echo "${ECHO_T}no" >&6
6216 if test -z "$CC"; then
6217 # Extract the first word of "cc", so it can be a program name with args.
6218 set dummy cc
; ac_word
=$2
6219 echo "$as_me:$LINENO: checking for $ac_word" >&5
6220 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
6221 if test "${ac_cv_prog_CC+set}" = set; then
6222 echo $ECHO_N "(cached) $ECHO_C" >&6
6224 if test -n "$CC"; then
6225 ac_cv_prog_CC
="$CC" # Let the user override the test.
6228 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6232 test -z "$as_dir" && as_dir
=.
6233 for ac_exec_ext
in '' $ac_executable_extensions; do
6234 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6235 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
6236 ac_prog_rejected
=yes
6240 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6246 if test $ac_prog_rejected = yes; then
6247 # We found a bogon in the path, so make sure we never use it.
6248 set dummy
$ac_cv_prog_CC
6250 if test $# != 0; then
6251 # We chose a different compiler from the bogus one.
6252 # However, it has the same basename, so the bogon will be chosen
6253 # first if we set CC to just the basename; use the full file name.
6255 ac_cv_prog_CC
="$as_dir/$ac_word${1+' '}$@"
6261 if test -n "$CC"; then
6262 echo "$as_me:$LINENO: result: $CC" >&5
6263 echo "${ECHO_T}$CC" >&6
6265 echo "$as_me:$LINENO: result: no" >&5
6266 echo "${ECHO_T}no" >&6
6270 if test -z "$CC"; then
6271 if test -n "$ac_tool_prefix"; then
6274 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
6275 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
6276 echo "$as_me:$LINENO: checking for $ac_word" >&5
6277 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
6278 if test "${ac_cv_prog_CC+set}" = set; then
6279 echo $ECHO_N "(cached) $ECHO_C" >&6
6281 if test -n "$CC"; then
6282 ac_cv_prog_CC
="$CC" # Let the user override the test.
6284 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6288 test -z "$as_dir" && as_dir
=.
6289 for ac_exec_ext
in '' $ac_executable_extensions; do
6290 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6291 ac_cv_prog_CC
="$ac_tool_prefix$ac_prog"
6292 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6301 if test -n "$CC"; then
6302 echo "$as_me:$LINENO: result: $CC" >&5
6303 echo "${ECHO_T}$CC" >&6
6305 echo "$as_me:$LINENO: result: no" >&5
6306 echo "${ECHO_T}no" >&6
6309 test -n "$CC" && break
6312 if test -z "$CC"; then
6316 # Extract the first word of "$ac_prog", so it can be a program name with args.
6317 set dummy
$ac_prog; ac_word
=$2
6318 echo "$as_me:$LINENO: checking for $ac_word" >&5
6319 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
6320 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
6321 echo $ECHO_N "(cached) $ECHO_C" >&6
6323 if test -n "$ac_ct_CC"; then
6324 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
6326 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6330 test -z "$as_dir" && as_dir
=.
6331 for ac_exec_ext
in '' $ac_executable_extensions; do
6332 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6333 ac_cv_prog_ac_ct_CC
="$ac_prog"
6334 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6342 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
6343 if test -n "$ac_ct_CC"; then
6344 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
6345 echo "${ECHO_T}$ac_ct_CC" >&6
6347 echo "$as_me:$LINENO: result: no" >&5
6348 echo "${ECHO_T}no" >&6
6351 test -n "$ac_ct_CC" && break
6360 test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
6361 See \`config.log' for more details." >&5
6362 echo "$as_me: error: no acceptable C compiler found in \$PATH
6363 See \`config.log' for more details." >&2;}
6364 { (exit 1); exit 1; }; }
6366 # Provide some information about the compiler.
6367 echo "$as_me:$LINENO:" \
6368 "checking for C compiler version" >&5
6369 ac_compiler
=`set X $ac_compile; echo $2`
6370 { (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5
6371 (eval $ac_compiler --version </dev
/null
>&5) 2>&5
6373 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6374 (exit $ac_status); }
6375 { (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5
6376 (eval $ac_compiler -v </dev
/null
>&5) 2>&5
6378 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6379 (exit $ac_status); }
6380 { (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5
6381 (eval $ac_compiler -V </dev
/null
>&5) 2>&5
6383 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6384 (exit $ac_status); }
6386 echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
6387 echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6
6388 if test "${ac_cv_c_compiler_gnu+set}" = set; then
6389 echo $ECHO_N "(cached) $ECHO_C" >&6
6391 cat >conftest.
$ac_ext <<_ACEOF
6394 cat confdefs.h
>>conftest.
$ac_ext
6395 cat >>conftest.
$ac_ext <<_ACEOF
6396 /* end confdefs.h. */
6409 rm -f conftest.
$ac_objext
6410 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6411 (eval $ac_compile) 2>conftest.er1
6413 grep -v '^ *+' conftest.er1
>conftest.err
6415 cat conftest.err
>&5
6416 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6417 (exit $ac_status); } &&
6418 { ac_try
='test -z "$ac_c_werror_flag"
6419 || test ! -s conftest.err'
6420 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6423 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6424 (exit $ac_status); }; } &&
6425 { ac_try
='test -s conftest.$ac_objext'
6426 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6429 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6430 (exit $ac_status); }; }; then
6433 echo "$as_me: failed program was:" >&5
6434 sed 's/^/| /' conftest.
$ac_ext >&5
6438 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
6439 ac_cv_c_compiler_gnu
=$ac_compiler_gnu
6442 echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
6443 echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6
6444 GCC
=`test $ac_compiler_gnu = yes && echo yes`
6445 ac_test_CFLAGS
=${CFLAGS+set}
6446 ac_save_CFLAGS
=$CFLAGS
6448 echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
6449 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6
6450 if test "${ac_cv_prog_cc_g+set}" = set; then
6451 echo $ECHO_N "(cached) $ECHO_C" >&6
6453 cat >conftest.
$ac_ext <<_ACEOF
6456 cat confdefs.h
>>conftest.
$ac_ext
6457 cat >>conftest.
$ac_ext <<_ACEOF
6458 /* end confdefs.h. */
6468 rm -f conftest.
$ac_objext
6469 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6470 (eval $ac_compile) 2>conftest.er1
6472 grep -v '^ *+' conftest.er1
>conftest.err
6474 cat conftest.err
>&5
6475 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6476 (exit $ac_status); } &&
6477 { ac_try
='test -z "$ac_c_werror_flag"
6478 || test ! -s conftest.err'
6479 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6482 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6483 (exit $ac_status); }; } &&
6484 { ac_try
='test -s conftest.$ac_objext'
6485 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6488 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6489 (exit $ac_status); }; }; then
6492 echo "$as_me: failed program was:" >&5
6493 sed 's/^/| /' conftest.
$ac_ext >&5
6497 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
6499 echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
6500 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6
6501 if test "$ac_test_CFLAGS" = set; then
6502 CFLAGS
=$ac_save_CFLAGS
6503 elif test $ac_cv_prog_cc_g = yes; then
6504 if test "$GCC" = yes; then
6510 if test "$GCC" = yes; then
6516 echo "$as_me:$LINENO: checking for $CC option to accept ANSI C" >&5
6517 echo $ECHO_N "checking for $CC option to accept ANSI C... $ECHO_C" >&6
6518 if test "${ac_cv_prog_cc_stdc+set}" = set; then
6519 echo $ECHO_N "(cached) $ECHO_C" >&6
6521 ac_cv_prog_cc_stdc
=no
6523 cat >conftest.
$ac_ext <<_ACEOF
6526 cat confdefs.h
>>conftest.
$ac_ext
6527 cat >>conftest.
$ac_ext <<_ACEOF
6528 /* end confdefs.h. */
6531 #include <sys/types.h>
6532 #include <sys/stat.h>
6533 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
6534 struct buf { int x; };
6535 FILE * (*rcsopen) (struct buf *, struct stat *, int);
6536 static char *e (p, i)
6542 static char *f (char * (*g) (char **, int), char **p, ...)
6547 s = g (p, va_arg (v,int));
6552 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
6553 function prototypes and stuff, but not '\xHH' hex character constants.
6554 These don't provoke an error unfortunately, instead are silently treated
6555 as 'x'. The following induces an error, until -std1 is added to get
6556 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
6557 array size at least. It's necessary to write '\x00'==0 to get something
6558 that's true only with -std1. */
6559 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
6561 int test (int i, double x);
6562 struct s1 {int (*f) (int a);};
6563 struct s2 {int (*f) (double a);};
6564 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
6570 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
6575 # Don't try gcc -ansi; that turns off useful extensions and
6576 # breaks some systems' header files.
6577 # AIX -qlanglvl=ansi
6578 # Ultrix and OSF/1 -std1
6579 # HP-UX 10.20 and later -Ae
6580 # HP-UX older versions -Aa -D_HPUX_SOURCE
6581 # SVR4 -Xc -D__EXTENSIONS__
6582 for ac_arg
in "" -qlanglvl=ansi
-std1 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
6584 CC
="$ac_save_CC $ac_arg"
6585 rm -f conftest.
$ac_objext
6586 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6587 (eval $ac_compile) 2>conftest.er1
6589 grep -v '^ *+' conftest.er1
>conftest.err
6591 cat conftest.err
>&5
6592 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6593 (exit $ac_status); } &&
6594 { ac_try
='test -z "$ac_c_werror_flag"
6595 || test ! -s conftest.err'
6596 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6599 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6600 (exit $ac_status); }; } &&
6601 { ac_try
='test -s conftest.$ac_objext'
6602 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6605 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6606 (exit $ac_status); }; }; then
6607 ac_cv_prog_cc_stdc
=$ac_arg
6610 echo "$as_me: failed program was:" >&5
6611 sed 's/^/| /' conftest.
$ac_ext >&5
6614 rm -f conftest.err conftest.
$ac_objext
6616 rm -f conftest.
$ac_ext conftest.
$ac_objext
6621 case "x$ac_cv_prog_cc_stdc" in
6623 echo "$as_me:$LINENO: result: none needed" >&5
6624 echo "${ECHO_T}none needed" >&6 ;;
6626 echo "$as_me:$LINENO: result: $ac_cv_prog_cc_stdc" >&5
6627 echo "${ECHO_T}$ac_cv_prog_cc_stdc" >&6
6628 CC
="$CC $ac_cv_prog_cc_stdc" ;;
6631 # Some people use a C++ compiler to compile C. Since we use `exit',
6632 # in C++ we need to declare it. In case someone uses the same compiler
6633 # for both compiling C and C++ we need to have the C++ compiler decide
6634 # the declaration of exit, since it's the most demanding environment.
6635 cat >conftest.
$ac_ext <<_ACEOF
6640 rm -f conftest.
$ac_objext
6641 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6642 (eval $ac_compile) 2>conftest.er1
6644 grep -v '^ *+' conftest.er1
>conftest.err
6646 cat conftest.err
>&5
6647 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6648 (exit $ac_status); } &&
6649 { ac_try
='test -z "$ac_c_werror_flag"
6650 || test ! -s conftest.err'
6651 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6654 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6655 (exit $ac_status); }; } &&
6656 { ac_try
='test -s conftest.$ac_objext'
6657 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6660 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6661 (exit $ac_status); }; }; then
6662 for ac_declaration
in \
6664 'extern "C" void std::exit (int) throw (); using std::exit;' \
6665 'extern "C" void std::exit (int); using std::exit;' \
6666 'extern "C" void exit (int) throw ();' \
6667 'extern "C" void exit (int);' \
6670 cat >conftest.
$ac_ext <<_ACEOF
6673 cat confdefs.h
>>conftest.
$ac_ext
6674 cat >>conftest.
$ac_ext <<_ACEOF
6675 /* end confdefs.h. */
6686 rm -f conftest.
$ac_objext
6687 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6688 (eval $ac_compile) 2>conftest.er1
6690 grep -v '^ *+' conftest.er1
>conftest.err
6692 cat conftest.err
>&5
6693 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6694 (exit $ac_status); } &&
6695 { ac_try
='test -z "$ac_c_werror_flag"
6696 || test ! -s conftest.err'
6697 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6700 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6701 (exit $ac_status); }; } &&
6702 { ac_try
='test -s conftest.$ac_objext'
6703 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6706 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6707 (exit $ac_status); }; }; then
6710 echo "$as_me: failed program was:" >&5
6711 sed 's/^/| /' conftest.
$ac_ext >&5
6715 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
6716 cat >conftest.
$ac_ext <<_ACEOF
6719 cat confdefs.h
>>conftest.
$ac_ext
6720 cat >>conftest.
$ac_ext <<_ACEOF
6721 /* end confdefs.h. */
6731 rm -f conftest.
$ac_objext
6732 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6733 (eval $ac_compile) 2>conftest.er1
6735 grep -v '^ *+' conftest.er1
>conftest.err
6737 cat conftest.err
>&5
6738 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6739 (exit $ac_status); } &&
6740 { ac_try
='test -z "$ac_c_werror_flag"
6741 || test ! -s conftest.err'
6742 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6745 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6746 (exit $ac_status); }; } &&
6747 { ac_try
='test -s conftest.$ac_objext'
6748 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6751 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6752 (exit $ac_status); }; }; then
6755 echo "$as_me: failed program was:" >&5
6756 sed 's/^/| /' conftest.
$ac_ext >&5
6759 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
6762 if test -n "$ac_declaration"; then
6763 echo '#ifdef __cplusplus' >>confdefs.h
6764 echo $ac_declaration >>confdefs.h
6765 echo '#endif' >>confdefs.h
6769 echo "$as_me: failed program was:" >&5
6770 sed 's/^/| /' conftest.
$ac_ext >&5
6773 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
6775 ac_cpp
='$CPP $CPPFLAGS'
6776 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6777 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6778 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
6780 depcc
="$CC" am_compiler_list
=
6782 echo "$as_me:$LINENO: checking dependency style of $depcc" >&5
6783 echo $ECHO_N "checking dependency style of $depcc... $ECHO_C" >&6
6784 if test "${am_cv_CC_dependencies_compiler_type+set}" = set; then
6785 echo $ECHO_N "(cached) $ECHO_C" >&6
6787 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
6788 # We make a subdir and do the tests there. Otherwise we can end up
6789 # making bogus files that we don't know about and never remove. For
6790 # instance it was reported that on HP-UX the gcc test will end up
6791 # making a dummy file named `D' -- because `-MD' means `put the output
6794 # Copy depcomp to subdir because otherwise we won't find it if we're
6795 # using a relative directory.
6796 cp "$am_depcomp" conftest.dir
6798 # We will build objects and dependencies in a subdirectory because
6799 # it helps to detect inapplicable dependency modes. For instance
6800 # both Tru64's cc and ICC support -MD to output dependencies as a
6801 # side effect of compilation, but ICC will put the dependencies in
6802 # the current directory while Tru64 will put them in the object
6806 am_cv_CC_dependencies_compiler_type
=none
6807 if test "$am_compiler_list" = ""; then
6808 am_compiler_list
=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
6810 for depmode
in $am_compiler_list; do
6811 # Setup a source with many dependencies, because some compilers
6812 # like to wrap large dependency lists on column 80 (with \), and
6813 # we should not choose a depcomp mode which is confused by this.
6815 # We need to recreate these files for each test, as the compiler may
6816 # overwrite some of them when testing with obscure command lines.
6817 # This happens at least with the AIX C compiler.
6819 for i
in 1 2 3 4 5 6; do
6820 echo '#include "conftst'$i'.h"' >> sub
/conftest.c
6821 # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
6822 # Solaris 8's {/usr,}/bin/sh.
6823 touch sub
/conftst
$i.h
6825 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
6829 # after this tag, mechanisms are not by side-effect, so they'll
6830 # only be used when explicitly requested
6831 if test "x$enable_dependency_tracking" = xyes
; then
6839 # We check with `-c' and `-o' for the sake of the "dashmstdout"
6840 # mode. It turns out that the SunPro C++ compiler does not properly
6841 # handle `-M -o', and we need to detect this.
6842 if depmode
=$depmode \
6843 source=sub
/conftest.c object
=sub
/conftest.
${OBJEXT-o} \
6844 depfile
=sub
/conftest.Po tmpdepfile
=sub
/conftest.TPo \
6845 $SHELL .
/depcomp
$depcc -c -o sub
/conftest.
${OBJEXT-o} sub
/conftest.c \
6846 >/dev
/null
2>conftest.err
&&
6847 grep sub
/conftst6.h sub
/conftest.Po
> /dev
/null
2>&1 &&
6848 grep sub
/conftest.
${OBJEXT-o} sub
/conftest.Po
> /dev
/null
2>&1 &&
6849 ${MAKE-make} -s -f confmf
> /dev
/null
2>&1; then
6850 # icc doesn't choke on unknown options, it will just issue warnings
6851 # or remarks (even with -Werror). So we grep stderr for any message
6852 # that says an option was ignored or not supported.
6853 # When given -MP, icc 7.0 and 7.1 complain thusly:
6854 # icc: Command line warning: ignoring option '-M'; no argument required
6855 # The diagnosis changed in icc 8.0:
6856 # icc: Command line remark: option '-MP' not supported
6857 if (grep 'ignoring option' conftest.err ||
6858 grep 'not supported' conftest.err
) >/dev
/null
2>&1; then :; else
6859 am_cv_CC_dependencies_compiler_type
=$depmode
6868 am_cv_CC_dependencies_compiler_type
=none
6872 echo "$as_me:$LINENO: result: $am_cv_CC_dependencies_compiler_type" >&5
6873 echo "${ECHO_T}$am_cv_CC_dependencies_compiler_type" >&6
6874 CCDEPMODE
=depmode
=$am_cv_CC_dependencies_compiler_type
6879 test "x$enable_dependency_tracking" != xno \
6880 && test "$am_cv_CC_dependencies_compiler_type" = gcc3
; then
6882 am__fastdepCC_FALSE
='#'
6884 am__fastdepCC_TRUE
='#'
6885 am__fastdepCC_FALSE
=
6890 ac_cpp
='$CPP $CPPFLAGS'
6891 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6892 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6893 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
6894 echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5
6895 echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6
6896 # On Suns, sometimes $CPP names a directory.
6897 if test -n "$CPP" && test -d "$CPP"; then
6900 if test -z "$CPP"; then
6901 if test "${ac_cv_prog_CPP+set}" = set; then
6902 echo $ECHO_N "(cached) $ECHO_C" >&6
6904 # Double quotes because CPP needs to be expanded
6905 for CPP
in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
6908 for ac_c_preproc_warn_flag
in '' yes
6910 # Use a header file that comes with gcc, so configuring glibc
6911 # with a fresh cross-compiler works.
6912 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
6913 # <limits.h> exists even on freestanding compilers.
6914 # On the NeXT, cc -E runs the code through the compiler's parser,
6915 # not just through cpp. "Syntax error" is here to catch this case.
6916 cat >conftest.
$ac_ext <<_ACEOF
6919 cat confdefs.h
>>conftest.
$ac_ext
6920 cat >>conftest.
$ac_ext <<_ACEOF
6921 /* end confdefs.h. */
6923 # include <limits.h>
6925 # include <assert.h>
6929 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
6930 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
6932 grep -v '^ *+' conftest.er1
>conftest.err
6934 cat conftest.err
>&5
6935 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6936 (exit $ac_status); } >/dev
/null
; then
6937 if test -s conftest.err
; then
6938 ac_cpp_err
=$ac_c_preproc_warn_flag
6939 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
6946 if test -z "$ac_cpp_err"; then
6949 echo "$as_me: failed program was:" >&5
6950 sed 's/^/| /' conftest.
$ac_ext >&5
6952 # Broken: fails on valid input.
6955 rm -f conftest.err conftest.
$ac_ext
6957 # OK, works on sane cases. Now check whether non-existent headers
6958 # can be detected and how.
6959 cat >conftest.
$ac_ext <<_ACEOF
6962 cat confdefs.h
>>conftest.
$ac_ext
6963 cat >>conftest.
$ac_ext <<_ACEOF
6964 /* end confdefs.h. */
6965 #include <ac_nonexistent.h>
6967 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
6968 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
6970 grep -v '^ *+' conftest.er1
>conftest.err
6972 cat conftest.err
>&5
6973 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6974 (exit $ac_status); } >/dev
/null
; then
6975 if test -s conftest.err
; then
6976 ac_cpp_err
=$ac_c_preproc_warn_flag
6977 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
6984 if test -z "$ac_cpp_err"; then
6985 # Broken: success on invalid input.
6988 echo "$as_me: failed program was:" >&5
6989 sed 's/^/| /' conftest.
$ac_ext >&5
6991 # Passes both tests.
6995 rm -f conftest.err conftest.
$ac_ext
6998 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
6999 rm -f conftest.err conftest.
$ac_ext
7000 if $ac_preproc_ok; then
7012 echo "$as_me:$LINENO: result: $CPP" >&5
7013 echo "${ECHO_T}$CPP" >&6
7015 for ac_c_preproc_warn_flag
in '' yes
7017 # Use a header file that comes with gcc, so configuring glibc
7018 # with a fresh cross-compiler works.
7019 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
7020 # <limits.h> exists even on freestanding compilers.
7021 # On the NeXT, cc -E runs the code through the compiler's parser,
7022 # not just through cpp. "Syntax error" is here to catch this case.
7023 cat >conftest.
$ac_ext <<_ACEOF
7026 cat confdefs.h
>>conftest.
$ac_ext
7027 cat >>conftest.
$ac_ext <<_ACEOF
7028 /* end confdefs.h. */
7030 # include <limits.h>
7032 # include <assert.h>
7036 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
7037 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
7039 grep -v '^ *+' conftest.er1
>conftest.err
7041 cat conftest.err
>&5
7042 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7043 (exit $ac_status); } >/dev
/null
; then
7044 if test -s conftest.err
; then
7045 ac_cpp_err
=$ac_c_preproc_warn_flag
7046 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
7053 if test -z "$ac_cpp_err"; then
7056 echo "$as_me: failed program was:" >&5
7057 sed 's/^/| /' conftest.
$ac_ext >&5
7059 # Broken: fails on valid input.
7062 rm -f conftest.err conftest.
$ac_ext
7064 # OK, works on sane cases. Now check whether non-existent headers
7065 # can be detected and how.
7066 cat >conftest.
$ac_ext <<_ACEOF
7069 cat confdefs.h
>>conftest.
$ac_ext
7070 cat >>conftest.
$ac_ext <<_ACEOF
7071 /* end confdefs.h. */
7072 #include <ac_nonexistent.h>
7074 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
7075 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
7077 grep -v '^ *+' conftest.er1
>conftest.err
7079 cat conftest.err
>&5
7080 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7081 (exit $ac_status); } >/dev
/null
; then
7082 if test -s conftest.err
; then
7083 ac_cpp_err
=$ac_c_preproc_warn_flag
7084 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
7091 if test -z "$ac_cpp_err"; then
7092 # Broken: success on invalid input.
7095 echo "$as_me: failed program was:" >&5
7096 sed 's/^/| /' conftest.
$ac_ext >&5
7098 # Passes both tests.
7102 rm -f conftest.err conftest.
$ac_ext
7105 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
7106 rm -f conftest.err conftest.
$ac_ext
7107 if $ac_preproc_ok; then
7110 { { echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check
7111 See \`config.log' for more details." >&5
7112 echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check
7113 See \`config.log' for more details." >&2;}
7114 { (exit 1); exit 1; }; }
7118 ac_cpp
='$CPP $CPPFLAGS'
7119 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7120 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7121 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
7124 ac_cpp
='$CXXCPP $CPPFLAGS'
7125 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7126 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7127 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
7128 if test -n "$ac_tool_prefix"; then
7129 for ac_prog
in $CCC g
++ c
++ gpp aCC CC cxx cc
++ cl FCC KCC RCC xlC_r xlC
7131 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
7132 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
7133 echo "$as_me:$LINENO: checking for $ac_word" >&5
7134 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
7135 if test "${ac_cv_prog_CXX+set}" = set; then
7136 echo $ECHO_N "(cached) $ECHO_C" >&6
7138 if test -n "$CXX"; then
7139 ac_cv_prog_CXX
="$CXX" # Let the user override the test.
7141 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7145 test -z "$as_dir" && as_dir
=.
7146 for ac_exec_ext
in '' $ac_executable_extensions; do
7147 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7148 ac_cv_prog_CXX
="$ac_tool_prefix$ac_prog"
7149 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
7158 if test -n "$CXX"; then
7159 echo "$as_me:$LINENO: result: $CXX" >&5
7160 echo "${ECHO_T}$CXX" >&6
7162 echo "$as_me:$LINENO: result: no" >&5
7163 echo "${ECHO_T}no" >&6
7166 test -n "$CXX" && break
7169 if test -z "$CXX"; then
7171 for ac_prog
in $CCC g
++ c
++ gpp aCC CC cxx cc
++ cl FCC KCC RCC xlC_r xlC
7173 # Extract the first word of "$ac_prog", so it can be a program name with args.
7174 set dummy
$ac_prog; ac_word
=$2
7175 echo "$as_me:$LINENO: checking for $ac_word" >&5
7176 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
7177 if test "${ac_cv_prog_ac_ct_CXX+set}" = set; then
7178 echo $ECHO_N "(cached) $ECHO_C" >&6
7180 if test -n "$ac_ct_CXX"; then
7181 ac_cv_prog_ac_ct_CXX
="$ac_ct_CXX" # Let the user override the test.
7183 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7187 test -z "$as_dir" && as_dir
=.
7188 for ac_exec_ext
in '' $ac_executable_extensions; do
7189 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7190 ac_cv_prog_ac_ct_CXX
="$ac_prog"
7191 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
7199 ac_ct_CXX
=$ac_cv_prog_ac_ct_CXX
7200 if test -n "$ac_ct_CXX"; then
7201 echo "$as_me:$LINENO: result: $ac_ct_CXX" >&5
7202 echo "${ECHO_T}$ac_ct_CXX" >&6
7204 echo "$as_me:$LINENO: result: no" >&5
7205 echo "${ECHO_T}no" >&6
7208 test -n "$ac_ct_CXX" && break
7210 test -n "$ac_ct_CXX" || ac_ct_CXX
="g++"
7216 # Provide some information about the compiler.
7217 echo "$as_me:$LINENO:" \
7218 "checking for C++ compiler version" >&5
7219 ac_compiler
=`set X $ac_compile; echo $2`
7220 { (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5
7221 (eval $ac_compiler --version </dev
/null
>&5) 2>&5
7223 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7224 (exit $ac_status); }
7225 { (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5
7226 (eval $ac_compiler -v </dev
/null
>&5) 2>&5
7228 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7229 (exit $ac_status); }
7230 { (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5
7231 (eval $ac_compiler -V </dev
/null
>&5) 2>&5
7233 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7234 (exit $ac_status); }
7236 echo "$as_me:$LINENO: checking whether we are using the GNU C++ compiler" >&5
7237 echo $ECHO_N "checking whether we are using the GNU C++ compiler... $ECHO_C" >&6
7238 if test "${ac_cv_cxx_compiler_gnu+set}" = set; then
7239 echo $ECHO_N "(cached) $ECHO_C" >&6
7241 cat >conftest.
$ac_ext <<_ACEOF
7244 cat confdefs.h
>>conftest.
$ac_ext
7245 cat >>conftest.
$ac_ext <<_ACEOF
7246 /* end confdefs.h. */
7259 rm -f conftest.
$ac_objext
7260 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7261 (eval $ac_compile) 2>conftest.er1
7263 grep -v '^ *+' conftest.er1
>conftest.err
7265 cat conftest.err
>&5
7266 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7267 (exit $ac_status); } &&
7268 { ac_try
='test -z "$ac_cxx_werror_flag"
7269 || test ! -s conftest.err'
7270 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7273 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7274 (exit $ac_status); }; } &&
7275 { ac_try
='test -s conftest.$ac_objext'
7276 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7279 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7280 (exit $ac_status); }; }; then
7283 echo "$as_me: failed program was:" >&5
7284 sed 's/^/| /' conftest.
$ac_ext >&5
7288 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
7289 ac_cv_cxx_compiler_gnu
=$ac_compiler_gnu
7292 echo "$as_me:$LINENO: result: $ac_cv_cxx_compiler_gnu" >&5
7293 echo "${ECHO_T}$ac_cv_cxx_compiler_gnu" >&6
7294 GXX
=`test $ac_compiler_gnu = yes && echo yes`
7295 ac_test_CXXFLAGS
=${CXXFLAGS+set}
7296 ac_save_CXXFLAGS
=$CXXFLAGS
7298 echo "$as_me:$LINENO: checking whether $CXX accepts -g" >&5
7299 echo $ECHO_N "checking whether $CXX accepts -g... $ECHO_C" >&6
7300 if test "${ac_cv_prog_cxx_g+set}" = set; then
7301 echo $ECHO_N "(cached) $ECHO_C" >&6
7303 cat >conftest.
$ac_ext <<_ACEOF
7306 cat confdefs.h
>>conftest.
$ac_ext
7307 cat >>conftest.
$ac_ext <<_ACEOF
7308 /* end confdefs.h. */
7318 rm -f conftest.
$ac_objext
7319 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7320 (eval $ac_compile) 2>conftest.er1
7322 grep -v '^ *+' conftest.er1
>conftest.err
7324 cat conftest.err
>&5
7325 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7326 (exit $ac_status); } &&
7327 { ac_try
='test -z "$ac_cxx_werror_flag"
7328 || test ! -s conftest.err'
7329 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7332 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7333 (exit $ac_status); }; } &&
7334 { ac_try
='test -s conftest.$ac_objext'
7335 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7338 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7339 (exit $ac_status); }; }; then
7340 ac_cv_prog_cxx_g
=yes
7342 echo "$as_me: failed program was:" >&5
7343 sed 's/^/| /' conftest.
$ac_ext >&5
7347 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
7349 echo "$as_me:$LINENO: result: $ac_cv_prog_cxx_g" >&5
7350 echo "${ECHO_T}$ac_cv_prog_cxx_g" >&6
7351 if test "$ac_test_CXXFLAGS" = set; then
7352 CXXFLAGS
=$ac_save_CXXFLAGS
7353 elif test $ac_cv_prog_cxx_g = yes; then
7354 if test "$GXX" = yes; then
7360 if test "$GXX" = yes; then
7366 for ac_declaration
in \
7368 'extern "C" void std::exit (int) throw (); using std::exit;' \
7369 'extern "C" void std::exit (int); using std::exit;' \
7370 'extern "C" void exit (int) throw ();' \
7371 'extern "C" void exit (int);' \
7374 cat >conftest.
$ac_ext <<_ACEOF
7377 cat confdefs.h
>>conftest.
$ac_ext
7378 cat >>conftest.
$ac_ext <<_ACEOF
7379 /* end confdefs.h. */
7390 rm -f conftest.
$ac_objext
7391 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7392 (eval $ac_compile) 2>conftest.er1
7394 grep -v '^ *+' conftest.er1
>conftest.err
7396 cat conftest.err
>&5
7397 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7398 (exit $ac_status); } &&
7399 { ac_try
='test -z "$ac_cxx_werror_flag"
7400 || test ! -s conftest.err'
7401 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7404 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7405 (exit $ac_status); }; } &&
7406 { ac_try
='test -s conftest.$ac_objext'
7407 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7410 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7411 (exit $ac_status); }; }; then
7414 echo "$as_me: failed program was:" >&5
7415 sed 's/^/| /' conftest.
$ac_ext >&5
7419 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
7420 cat >conftest.
$ac_ext <<_ACEOF
7423 cat confdefs.h
>>conftest.
$ac_ext
7424 cat >>conftest.
$ac_ext <<_ACEOF
7425 /* end confdefs.h. */
7435 rm -f conftest.
$ac_objext
7436 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7437 (eval $ac_compile) 2>conftest.er1
7439 grep -v '^ *+' conftest.er1
>conftest.err
7441 cat conftest.err
>&5
7442 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7443 (exit $ac_status); } &&
7444 { ac_try
='test -z "$ac_cxx_werror_flag"
7445 || test ! -s conftest.err'
7446 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7449 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7450 (exit $ac_status); }; } &&
7451 { ac_try
='test -s conftest.$ac_objext'
7452 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7455 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7456 (exit $ac_status); }; }; then
7459 echo "$as_me: failed program was:" >&5
7460 sed 's/^/| /' conftest.
$ac_ext >&5
7463 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
7466 if test -n "$ac_declaration"; then
7467 echo '#ifdef __cplusplus' >>confdefs.h
7468 echo $ac_declaration >>confdefs.h
7469 echo '#endif' >>confdefs.h
7473 ac_cpp
='$CPP $CPPFLAGS'
7474 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7475 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7476 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
7478 depcc
="$CXX" am_compiler_list
=
7480 echo "$as_me:$LINENO: checking dependency style of $depcc" >&5
7481 echo $ECHO_N "checking dependency style of $depcc... $ECHO_C" >&6
7482 if test "${am_cv_CXX_dependencies_compiler_type+set}" = set; then
7483 echo $ECHO_N "(cached) $ECHO_C" >&6
7485 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
7486 # We make a subdir and do the tests there. Otherwise we can end up
7487 # making bogus files that we don't know about and never remove. For
7488 # instance it was reported that on HP-UX the gcc test will end up
7489 # making a dummy file named `D' -- because `-MD' means `put the output
7492 # Copy depcomp to subdir because otherwise we won't find it if we're
7493 # using a relative directory.
7494 cp "$am_depcomp" conftest.dir
7496 # We will build objects and dependencies in a subdirectory because
7497 # it helps to detect inapplicable dependency modes. For instance
7498 # both Tru64's cc and ICC support -MD to output dependencies as a
7499 # side effect of compilation, but ICC will put the dependencies in
7500 # the current directory while Tru64 will put them in the object
7504 am_cv_CXX_dependencies_compiler_type
=none
7505 if test "$am_compiler_list" = ""; then
7506 am_compiler_list
=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
7508 for depmode
in $am_compiler_list; do
7509 # Setup a source with many dependencies, because some compilers
7510 # like to wrap large dependency lists on column 80 (with \), and
7511 # we should not choose a depcomp mode which is confused by this.
7513 # We need to recreate these files for each test, as the compiler may
7514 # overwrite some of them when testing with obscure command lines.
7515 # This happens at least with the AIX C compiler.
7517 for i
in 1 2 3 4 5 6; do
7518 echo '#include "conftst'$i'.h"' >> sub
/conftest.c
7519 # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
7520 # Solaris 8's {/usr,}/bin/sh.
7521 touch sub
/conftst
$i.h
7523 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
7527 # after this tag, mechanisms are not by side-effect, so they'll
7528 # only be used when explicitly requested
7529 if test "x$enable_dependency_tracking" = xyes
; then
7537 # We check with `-c' and `-o' for the sake of the "dashmstdout"
7538 # mode. It turns out that the SunPro C++ compiler does not properly
7539 # handle `-M -o', and we need to detect this.
7540 if depmode
=$depmode \
7541 source=sub
/conftest.c object
=sub
/conftest.
${OBJEXT-o} \
7542 depfile
=sub
/conftest.Po tmpdepfile
=sub
/conftest.TPo \
7543 $SHELL .
/depcomp
$depcc -c -o sub
/conftest.
${OBJEXT-o} sub
/conftest.c \
7544 >/dev
/null
2>conftest.err
&&
7545 grep sub
/conftst6.h sub
/conftest.Po
> /dev
/null
2>&1 &&
7546 grep sub
/conftest.
${OBJEXT-o} sub
/conftest.Po
> /dev
/null
2>&1 &&
7547 ${MAKE-make} -s -f confmf
> /dev
/null
2>&1; then
7548 # icc doesn't choke on unknown options, it will just issue warnings
7549 # or remarks (even with -Werror). So we grep stderr for any message
7550 # that says an option was ignored or not supported.
7551 # When given -MP, icc 7.0 and 7.1 complain thusly:
7552 # icc: Command line warning: ignoring option '-M'; no argument required
7553 # The diagnosis changed in icc 8.0:
7554 # icc: Command line remark: option '-MP' not supported
7555 if (grep 'ignoring option' conftest.err ||
7556 grep 'not supported' conftest.err
) >/dev
/null
2>&1; then :; else
7557 am_cv_CXX_dependencies_compiler_type
=$depmode
7566 am_cv_CXX_dependencies_compiler_type
=none
7570 echo "$as_me:$LINENO: result: $am_cv_CXX_dependencies_compiler_type" >&5
7571 echo "${ECHO_T}$am_cv_CXX_dependencies_compiler_type" >&6
7572 CXXDEPMODE
=depmode
=$am_cv_CXX_dependencies_compiler_type
7577 test "x$enable_dependency_tracking" != xno \
7578 && test "$am_cv_CXX_dependencies_compiler_type" = gcc3
; then
7579 am__fastdepCXX_TRUE
=
7580 am__fastdepCXX_FALSE
='#'
7582 am__fastdepCXX_TRUE
='#'
7583 am__fastdepCXX_FALSE
=
7587 ac_cpp
='$CXXCPP $CPPFLAGS'
7588 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7589 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7590 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
7591 echo "$as_me:$LINENO: checking how to run the C++ preprocessor" >&5
7592 echo $ECHO_N "checking how to run the C++ preprocessor... $ECHO_C" >&6
7593 if test -z "$CXXCPP"; then
7594 if test "${ac_cv_prog_CXXCPP+set}" = set; then
7595 echo $ECHO_N "(cached) $ECHO_C" >&6
7597 # Double quotes because CXXCPP needs to be expanded
7598 for CXXCPP
in "$CXX -E" "/lib/cpp"
7601 for ac_cxx_preproc_warn_flag
in '' yes
7603 # Use a header file that comes with gcc, so configuring glibc
7604 # with a fresh cross-compiler works.
7605 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
7606 # <limits.h> exists even on freestanding compilers.
7607 # On the NeXT, cc -E runs the code through the compiler's parser,
7608 # not just through cpp. "Syntax error" is here to catch this case.
7609 cat >conftest.
$ac_ext <<_ACEOF
7612 cat confdefs.h
>>conftest.
$ac_ext
7613 cat >>conftest.
$ac_ext <<_ACEOF
7614 /* end confdefs.h. */
7616 # include <limits.h>
7618 # include <assert.h>
7622 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
7623 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
7625 grep -v '^ *+' conftest.er1
>conftest.err
7627 cat conftest.err
>&5
7628 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7629 (exit $ac_status); } >/dev
/null
; then
7630 if test -s conftest.err
; then
7631 ac_cpp_err
=$ac_cxx_preproc_warn_flag
7632 ac_cpp_err
=$ac_cpp_err$ac_cxx_werror_flag
7639 if test -z "$ac_cpp_err"; then
7642 echo "$as_me: failed program was:" >&5
7643 sed 's/^/| /' conftest.
$ac_ext >&5
7645 # Broken: fails on valid input.
7648 rm -f conftest.err conftest.
$ac_ext
7650 # OK, works on sane cases. Now check whether non-existent headers
7651 # can be detected and how.
7652 cat >conftest.
$ac_ext <<_ACEOF
7655 cat confdefs.h
>>conftest.
$ac_ext
7656 cat >>conftest.
$ac_ext <<_ACEOF
7657 /* end confdefs.h. */
7658 #include <ac_nonexistent.h>
7660 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
7661 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
7663 grep -v '^ *+' conftest.er1
>conftest.err
7665 cat conftest.err
>&5
7666 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7667 (exit $ac_status); } >/dev
/null
; then
7668 if test -s conftest.err
; then
7669 ac_cpp_err
=$ac_cxx_preproc_warn_flag
7670 ac_cpp_err
=$ac_cpp_err$ac_cxx_werror_flag
7677 if test -z "$ac_cpp_err"; then
7678 # Broken: success on invalid input.
7681 echo "$as_me: failed program was:" >&5
7682 sed 's/^/| /' conftest.
$ac_ext >&5
7684 # Passes both tests.
7688 rm -f conftest.err conftest.
$ac_ext
7691 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
7692 rm -f conftest.err conftest.
$ac_ext
7693 if $ac_preproc_ok; then
7698 ac_cv_prog_CXXCPP
=$CXXCPP
7701 CXXCPP
=$ac_cv_prog_CXXCPP
7703 ac_cv_prog_CXXCPP
=$CXXCPP
7705 echo "$as_me:$LINENO: result: $CXXCPP" >&5
7706 echo "${ECHO_T}$CXXCPP" >&6
7708 for ac_cxx_preproc_warn_flag
in '' yes
7710 # Use a header file that comes with gcc, so configuring glibc
7711 # with a fresh cross-compiler works.
7712 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
7713 # <limits.h> exists even on freestanding compilers.
7714 # On the NeXT, cc -E runs the code through the compiler's parser,
7715 # not just through cpp. "Syntax error" is here to catch this case.
7716 cat >conftest.
$ac_ext <<_ACEOF
7719 cat confdefs.h
>>conftest.
$ac_ext
7720 cat >>conftest.
$ac_ext <<_ACEOF
7721 /* end confdefs.h. */
7723 # include <limits.h>
7725 # include <assert.h>
7729 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
7730 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
7732 grep -v '^ *+' conftest.er1
>conftest.err
7734 cat conftest.err
>&5
7735 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7736 (exit $ac_status); } >/dev
/null
; then
7737 if test -s conftest.err
; then
7738 ac_cpp_err
=$ac_cxx_preproc_warn_flag
7739 ac_cpp_err
=$ac_cpp_err$ac_cxx_werror_flag
7746 if test -z "$ac_cpp_err"; then
7749 echo "$as_me: failed program was:" >&5
7750 sed 's/^/| /' conftest.
$ac_ext >&5
7752 # Broken: fails on valid input.
7755 rm -f conftest.err conftest.
$ac_ext
7757 # OK, works on sane cases. Now check whether non-existent headers
7758 # can be detected and how.
7759 cat >conftest.
$ac_ext <<_ACEOF
7762 cat confdefs.h
>>conftest.
$ac_ext
7763 cat >>conftest.
$ac_ext <<_ACEOF
7764 /* end confdefs.h. */
7765 #include <ac_nonexistent.h>
7767 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
7768 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
7770 grep -v '^ *+' conftest.er1
>conftest.err
7772 cat conftest.err
>&5
7773 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7774 (exit $ac_status); } >/dev
/null
; then
7775 if test -s conftest.err
; then
7776 ac_cpp_err
=$ac_cxx_preproc_warn_flag
7777 ac_cpp_err
=$ac_cpp_err$ac_cxx_werror_flag
7784 if test -z "$ac_cpp_err"; then
7785 # Broken: success on invalid input.
7788 echo "$as_me: failed program was:" >&5
7789 sed 's/^/| /' conftest.
$ac_ext >&5
7791 # Passes both tests.
7795 rm -f conftest.err conftest.
$ac_ext
7798 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
7799 rm -f conftest.err conftest.
$ac_ext
7800 if $ac_preproc_ok; then
7803 { { echo "$as_me:$LINENO: error: C++ preprocessor \"$CXXCPP\" fails sanity check
7804 See \`config.log' for more details." >&5
7805 echo "$as_me: error: C++ preprocessor \"$CXXCPP\" fails sanity check
7806 See \`config.log' for more details." >&2;}
7807 { (exit 1); exit 1; }; }
7811 ac_cpp
='$CPP $CPPFLAGS'
7812 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7813 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7814 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
7818 LIBTOOL_DEPS
=$LIBTOOL_DEPS" $ac_aux_dir/ltcf-cxx.sh"
7820 lt_save_CFLAGS
="$CFLAGS"
7821 AR
="$AR" LTCC
="$CC" CC
="$CXX" CXX
="$CXX" CFLAGS
="$CXXFLAGS" CPPFLAGS
="$CPPFLAGS" \
7822 MAGIC_CMD
="$MAGIC_CMD" LD
="$LD" LDFLAGS
="$LDFLAGS" LIBS
="$LIBS" \
7823 LN_S
="$LN_S" NM
="$NM" RANLIB
="$RANLIB" STRIP
="$STRIP" \
7824 AS
="$AS" DLLTOOL
="$DLLTOOL" OBJDUMP
="$OBJDUMP" \
7825 objext
="$OBJEXT" exeext
="$EXEEXT" reload_flag
="$reload_flag" \
7826 deplibs_check_method
="$deplibs_check_method" \
7827 file_magic_cmd
="$file_magic_cmd" \
7828 ${CONFIG_SHELL-/bin/sh} $ac_aux_dir/ltconfig
-o libtool
$libtool_flags \
7829 --build="$build" --add-tag=CXX
$ac_aux_dir/ltcf-cxx.sh
$host \
7830 ||
{ { echo "$as_me:$LINENO: error: libtool tag configuration failed" >&5
7831 echo "$as_me: error: libtool tag configuration failed" >&2;}
7832 { (exit 1); exit 1; }; }
7834 CFLAGS
="$lt_save_CFLAGS"
7836 # Redirect the config.log output again, so that the ltconfig log is not
7837 # clobbered by the next message.
7838 exec 5>>.
/config.log
7843 # Handle -Werror default case.
7844 if test "$ENABLE_WERROR" = default
; then
7847 if test "$GCC" = yes; then
7854 if test "x${COMPILE_COLLECTIONS}" = xyes
; then
7855 # Extract the first word of "perl", so it can be a program name with args.
7856 set dummy perl
; ac_word
=$2
7857 echo "$as_me:$LINENO: checking for $ac_word" >&5
7858 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
7859 if test "${ac_cv_path_PERL+set}" = set; then
7860 echo $ECHO_N "(cached) $ECHO_C" >&6
7864 ac_cv_path_PERL
="$PERL" # Let the user override the test with a path.
7867 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7871 test -z "$as_dir" && as_dir
=.
7872 for ac_exec_ext
in '' $ac_executable_extensions; do
7873 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7874 ac_cv_path_PERL
="$as_dir/$ac_word$ac_exec_ext"
7875 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
7884 PERL
=$ac_cv_path_PERL
7886 if test -n "$PERL"; then
7887 echo "$as_me:$LINENO: result: $PERL" >&5
7888 echo "${ECHO_T}$PERL" >&6
7890 echo "$as_me:$LINENO: result: no" >&5
7891 echo "${ECHO_T}no" >&6
7896 ac_config_files
="$ac_config_files lib/mkcollections.pl"
7898 ac_config_commands
="$ac_config_commands mkcollections.pl"
7902 if test "x${COMPILE_JNI}" = xyes
; then
7906 echo "$as_me:$LINENO: checking __attribute__((,,))" >&5
7907 echo $ECHO_N "checking __attribute__((,,))... $ECHO_C" >&6
7908 if test "${cv_c_gcc_attribute_supported+set}" = set; then
7909 echo $ECHO_N "(cached) $ECHO_C" >&6
7912 cat >conftest.
$ac_ext <<_ACEOF
7915 cat confdefs.h
>>conftest.
$ac_ext
7916 cat >>conftest.
$ac_ext <<_ACEOF
7917 /* end confdefs.h. */
7922 extern int testfunction(int x) __attribute__((,,))
7927 rm -f conftest.
$ac_objext
7928 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7929 (eval $ac_compile) 2>conftest.er1
7931 grep -v '^ *+' conftest.er1
>conftest.err
7933 cat conftest.err
>&5
7934 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7935 (exit $ac_status); } &&
7936 { ac_try
='test -z "$ac_c_werror_flag"
7937 || test ! -s conftest.err'
7938 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7941 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7942 (exit $ac_status); }; } &&
7943 { ac_try
='test -s conftest.$ac_objext'
7944 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7947 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7948 (exit $ac_status); }; }; then
7949 cv_c_gcc_attribute_supported
=yes
7951 echo "$as_me: failed program was:" >&5
7952 sed 's/^/| /' conftest.
$ac_ext >&5
7954 cv_c_gcc_attribute_supported
=no
7956 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
7960 if test "x$cv_c_gcc_attribute_supported" = xyes
; then
7962 echo "$as_me:$LINENO: result: yes" >&5
7963 echo "${ECHO_T}yes" >&6
7965 cat >>confdefs.h
<<\_ACEOF
7966 #define HAVE_GNUC25_ATTRIB
7972 echo "$as_me:$LINENO: result: no" >&5
7973 echo "${ECHO_T}no" >&6
7986 echo "$as_me:$LINENO: checking __attribute__((unused))" >&5
7987 echo $ECHO_N "checking __attribute__((unused))... $ECHO_C" >&6
7988 if test "${cv_c_gcc_attribute_unused+set}" = set; then
7989 echo $ECHO_N "(cached) $ECHO_C" >&6
7992 cat >conftest.
$ac_ext <<_ACEOF
7995 cat confdefs.h
>>conftest.
$ac_ext
7996 cat >>conftest.
$ac_ext <<_ACEOF
7997 /* end confdefs.h. */
8002 extern int testfunction(int x) __attribute__((unused))
8007 rm -f conftest.
$ac_objext
8008 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
8009 (eval $ac_compile) 2>conftest.er1
8011 grep -v '^ *+' conftest.er1
>conftest.err
8013 cat conftest.err
>&5
8014 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8015 (exit $ac_status); } &&
8016 { ac_try
='test -z "$ac_c_werror_flag"
8017 || test ! -s conftest.err'
8018 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8021 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8022 (exit $ac_status); }; } &&
8023 { ac_try
='test -s conftest.$ac_objext'
8024 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8027 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8028 (exit $ac_status); }; }; then
8029 cv_c_gcc_attribute_unused
=yes
8031 echo "$as_me: failed program was:" >&5
8032 sed 's/^/| /' conftest.
$ac_ext >&5
8034 cv_c_gcc_attribute_unused
=no
8036 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
8040 if test "x$cv_c_gcc_attribute_unused" = xyes
; then
8042 echo "$as_me:$LINENO: result: yes" >&5
8043 echo "${ECHO_T}yes" >&6
8045 cat >>confdefs.h
<<\_ACEOF
8046 #define HAVE_GNUC25_UNUSED
8052 echo "$as_me:$LINENO: result: no" >&5
8053 echo "${ECHO_T}no" >&6
8062 echo "$as_me:$LINENO: checking for ANSI C header files" >&5
8063 echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6
8064 if test "${ac_cv_header_stdc+set}" = set; then
8065 echo $ECHO_N "(cached) $ECHO_C" >&6
8067 cat >conftest.
$ac_ext <<_ACEOF
8070 cat confdefs.h
>>conftest.
$ac_ext
8071 cat >>conftest.
$ac_ext <<_ACEOF
8072 /* end confdefs.h. */
8086 rm -f conftest.
$ac_objext
8087 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
8088 (eval $ac_compile) 2>conftest.er1
8090 grep -v '^ *+' conftest.er1
>conftest.err
8092 cat conftest.err
>&5
8093 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8094 (exit $ac_status); } &&
8095 { ac_try
='test -z "$ac_c_werror_flag"
8096 || test ! -s conftest.err'
8097 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8100 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8101 (exit $ac_status); }; } &&
8102 { ac_try
='test -s conftest.$ac_objext'
8103 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8106 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8107 (exit $ac_status); }; }; then
8108 ac_cv_header_stdc
=yes
8110 echo "$as_me: failed program was:" >&5
8111 sed 's/^/| /' conftest.
$ac_ext >&5
8113 ac_cv_header_stdc
=no
8115 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
8117 if test $ac_cv_header_stdc = yes; then
8118 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
8119 cat >conftest.
$ac_ext <<_ACEOF
8122 cat confdefs.h
>>conftest.
$ac_ext
8123 cat >>conftest.
$ac_ext <<_ACEOF
8124 /* end confdefs.h. */
8128 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
8129 $EGREP "memchr" >/dev
/null
2>&1; then
8132 ac_cv_header_stdc
=no
8138 if test $ac_cv_header_stdc = yes; then
8139 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
8140 cat >conftest.
$ac_ext <<_ACEOF
8143 cat confdefs.h
>>conftest.
$ac_ext
8144 cat >>conftest.
$ac_ext <<_ACEOF
8145 /* end confdefs.h. */
8149 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
8150 $EGREP "free" >/dev
/null
2>&1; then
8153 ac_cv_header_stdc
=no
8159 if test $ac_cv_header_stdc = yes; then
8160 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
8161 if test "$cross_compiling" = yes; then
8164 cat >conftest.
$ac_ext <<_ACEOF
8167 cat confdefs.h
>>conftest.
$ac_ext
8168 cat >>conftest.
$ac_ext <<_ACEOF
8169 /* end confdefs.h. */
8171 #if ((' ' & 0x0FF) == 0x020)
8172 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
8173 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
8175 # define ISLOWER(c) \
8176 (('a' <= (c) && (c) <= 'i') \
8177 || ('j' <= (c) && (c) <= 'r') \
8178 || ('s' <= (c) && (c) <= 'z'))
8179 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
8182 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
8187 for (i = 0; i < 256; i++)
8188 if (XOR (islower (i), ISLOWER (i))
8189 || toupper (i) != TOUPPER (i))
8194 rm -f conftest
$ac_exeext
8195 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8196 (eval $ac_link) 2>&5
8198 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8199 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
8200 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8203 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8204 (exit $ac_status); }; }; then
8207 echo "$as_me: program exited with status $ac_status" >&5
8208 echo "$as_me: failed program was:" >&5
8209 sed 's/^/| /' conftest.
$ac_ext >&5
8212 ac_cv_header_stdc
=no
8214 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
8218 echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
8219 echo "${ECHO_T}$ac_cv_header_stdc" >&6
8220 if test $ac_cv_header_stdc = yes; then
8222 cat >>confdefs.h
<<\_ACEOF
8223 #define STDC_HEADERS 1
8229 echo "$as_me:$LINENO: checking size of void *" >&5
8230 echo $ECHO_N "checking size of void *... $ECHO_C" >&6
8231 if test "${ac_cv_sizeof_void_p+set}" = set; then
8232 echo $ECHO_N "(cached) $ECHO_C" >&6
8234 for ac_size
in 4 8 1 2 16 12 ; do # List sizes in rough order of prevalence.
8235 cat >conftest.
$ac_ext <<_ACEOF
8238 cat confdefs.h
>>conftest.
$ac_ext
8239 cat >>conftest.
$ac_ext <<_ACEOF
8240 /* end confdefs.h. */
8241 #include "confdefs.h"
8242 #include <sys/types.h>
8248 switch (0) case 0: case (sizeof (void *) == $ac_size):;
8253 rm -f conftest.
$ac_objext
8254 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
8255 (eval $ac_compile) 2>conftest.er1
8257 grep -v '^ *+' conftest.er1
>conftest.err
8259 cat conftest.err
>&5
8260 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8261 (exit $ac_status); } &&
8262 { ac_try
='test -z "$ac_c_werror_flag"
8263 || test ! -s conftest.err'
8264 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8267 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8268 (exit $ac_status); }; } &&
8269 { ac_try
='test -s conftest.$ac_objext'
8270 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8273 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8274 (exit $ac_status); }; }; then
8275 ac_cv_sizeof_void_p
=$ac_size
8277 echo "$as_me: failed program was:" >&5
8278 sed 's/^/| /' conftest.
$ac_ext >&5
8281 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
8282 if test x
$ac_cv_sizeof_void_p != x
; then break; fi
8287 if test x
$ac_cv_sizeof_void_p = x
; then
8288 { { echo "$as_me:$LINENO: error: cannot determine a size for void *" >&5
8289 echo "$as_me: error: cannot determine a size for void *" >&2;}
8290 { (exit 1); exit 1; }; }
8292 echo "$as_me:$LINENO: result: $ac_cv_sizeof_void_p" >&5
8293 echo "${ECHO_T}$ac_cv_sizeof_void_p" >&6
8295 cat >>confdefs.h
<<_ACEOF
8296 #define SIZEOF_VOID_P $ac_cv_sizeof_void_p
8301 echo "$as_me:$LINENO: checking whether byte ordering is bigendian" >&5
8302 echo $ECHO_N "checking whether byte ordering is bigendian... $ECHO_C" >&6
8303 if test "${ac_cv_c_bigendian+set}" = set; then
8304 echo $ECHO_N "(cached) $ECHO_C" >&6
8306 ac_cv_c_bigendian
=unknown
8307 # See if sys/param.h defines the BYTE_ORDER macro.
8308 cat >conftest.
$ac_ext <<_ACEOF
8311 cat confdefs.h
>>conftest.
$ac_ext
8312 cat >>conftest.
$ac_ext <<_ACEOF
8313 /* end confdefs.h. */
8314 #include <sys/types.h>
8315 #include <sys/param.h>
8320 #if !BYTE_ORDER || !BIG_ENDIAN || !LITTLE_ENDIAN
8327 rm -f conftest.
$ac_objext
8328 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
8329 (eval $ac_compile) 2>conftest.er1
8331 grep -v '^ *+' conftest.er1
>conftest.err
8333 cat conftest.err
>&5
8334 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8335 (exit $ac_status); } &&
8336 { ac_try
='test -z "$ac_c_werror_flag"
8337 || test ! -s conftest.err'
8338 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8341 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8342 (exit $ac_status); }; } &&
8343 { ac_try
='test -s conftest.$ac_objext'
8344 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8347 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8348 (exit $ac_status); }; }; then
8349 # It does; now see whether it defined to BIG_ENDIAN or not.
8350 cat >conftest.
$ac_ext <<_ACEOF
8353 cat confdefs.h
>>conftest.
$ac_ext
8354 cat >>conftest.
$ac_ext <<_ACEOF
8355 /* end confdefs.h. */
8356 #include <sys/types.h>
8357 #include <sys/param.h>
8362 #if BYTE_ORDER != BIG_ENDIAN
8369 rm -f conftest.
$ac_objext
8370 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
8371 (eval $ac_compile) 2>conftest.er1
8373 grep -v '^ *+' conftest.er1
>conftest.err
8375 cat conftest.err
>&5
8376 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8377 (exit $ac_status); } &&
8378 { ac_try
='test -z "$ac_c_werror_flag"
8379 || test ! -s conftest.err'
8380 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8383 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8384 (exit $ac_status); }; } &&
8385 { ac_try
='test -s conftest.$ac_objext'
8386 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8389 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8390 (exit $ac_status); }; }; then
8391 ac_cv_c_bigendian
=yes
8393 echo "$as_me: failed program was:" >&5
8394 sed 's/^/| /' conftest.
$ac_ext >&5
8396 ac_cv_c_bigendian
=no
8398 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
8400 echo "$as_me: failed program was:" >&5
8401 sed 's/^/| /' conftest.
$ac_ext >&5
8404 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
8405 if test $ac_cv_c_bigendian = unknown
; then
8406 if test "$cross_compiling" = yes; then
8407 echo $ac_n "cross-compiling... " 2>&6
8409 cat >conftest.
$ac_ext <<_ACEOF
8412 cat confdefs.h
>>conftest.
$ac_ext
8413 cat >>conftest.
$ac_ext <<_ACEOF
8414 /* end confdefs.h. */
8416 /* Are we little or big endian? From Harbison&Steele. */
8420 char c[sizeof (long)];
8423 exit (u.c[sizeof (long) - 1] == 1);
8426 rm -f conftest
$ac_exeext
8427 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8428 (eval $ac_link) 2>&5
8430 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8431 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
8432 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8435 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8436 (exit $ac_status); }; }; then
8437 ac_cv_c_bigendian
=no
8439 echo "$as_me: program exited with status $ac_status" >&5
8440 echo "$as_me: failed program was:" >&5
8441 sed 's/^/| /' conftest.
$ac_ext >&5
8444 ac_cv_c_bigendian
=yes
8446 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
8450 echo "$as_me:$LINENO: result: $ac_cv_c_bigendian" >&5
8451 echo "${ECHO_T}$ac_cv_c_bigendian" >&6
8452 if test $ac_cv_c_bigendian = unknown
; then
8453 echo "$as_me:$LINENO: checking to probe for byte ordering" >&5
8454 echo $ECHO_N "checking to probe for byte ordering... $ECHO_C" >&6
8456 cat >conftest.c
<<EOF
8457 short ascii_mm[] = { 0x4249, 0x4765, 0x6E44, 0x6961, 0x6E53, 0x7953, 0 };
8458 short ascii_ii[] = { 0x694C, 0x5454, 0x656C, 0x6E45, 0x6944, 0x6E61, 0 };
8459 void _ascii() { char* s = (char*) ascii_mm; s = (char*) ascii_ii; }
8460 short ebcdic_ii[] = { 0x89D3, 0xE3E3, 0x8593, 0x95C5, 0x89C4, 0x9581, 0 };
8461 short ebcdic_mm[] = { 0xC2C9, 0xC785, 0x95C4, 0x8981, 0x95E2, 0xA8E2, 0 };
8462 void _ebcdic() { char* s = (char*) ebcdic_mm; s = (char*) ebcdic_ii; }
8463 int main() { _ascii (); _ebcdic (); return 0; }
8465 if test -f conftest.c
; then
8466 if ${CC-cc} ${CFLAGS} -c conftest.c
-o conftest.o
&& test -f conftest.o
; then
8467 if test `grep -l BIGenDianSyS conftest.o` ; then
8468 echo $ac_n ' big endian probe OK, ' 1>&6
8469 ac_cv_c_bigendian
=yes
8471 if test `grep -l LiTTleEnDian conftest.o` ; then
8472 echo $ac_n ' little endian probe OK, ' 1>&6
8473 if test $ac_cv_c_bigendian = yes ; then
8474 ac_cv_c_bigendian
=unknown
;
8476 ac_cv_c_bigendian
=no
8479 echo $ac_n 'guessing bigendian ... ' >&6
8482 echo "$as_me:$LINENO: result: $ac_cv_c_bigendian" >&5
8483 echo "${ECHO_T}$ac_cv_c_bigendian" >&6
8485 if test $ac_cv_c_bigendian = yes; then
8487 cat >>confdefs.h
<<\_ACEOF
8488 #define WORDS_BIGENDIAN 1
8492 cat >>confdefs.h
<<\_ACEOF
8493 #define HOST_WORDS_BIG_ENDIAN 1
8501 cat >>confdefs.h
<<_ACEOF
8502 #define BYTEORDER $BYTEORDER
8505 if test $ac_cv_c_bigendian = unknown
; then
8506 { { echo "$as_me:$LINENO: error: unknown endianess - sorry, please pre-set ac_cv_c_bigendian" >&5
8507 echo "$as_me: error: unknown endianess - sorry, please pre-set ac_cv_c_bigendian" >&2;}
8508 { (exit 1); exit 1; }; }
8531 for ac_header
in unistd.h sys
/types.h sys
/config.h sys
/ioctl.h \
8533 inttypes.h stdint.h utime.h sys
/utime.h sys
/filio.h \
8540 sys
/event.h sys
/epoll.h \
8543 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
8544 if eval "test \"\${$as_ac_Header+set}\" = set"; then
8545 echo "$as_me:$LINENO: checking for $ac_header" >&5
8546 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
8547 if eval "test \"\${$as_ac_Header+set}\" = set"; then
8548 echo $ECHO_N "(cached) $ECHO_C" >&6
8550 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
8551 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
8553 # Is the header compilable?
8554 echo "$as_me:$LINENO: checking $ac_header usability" >&5
8555 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
8556 cat >conftest.
$ac_ext <<_ACEOF
8559 cat confdefs.h
>>conftest.
$ac_ext
8560 cat >>conftest.
$ac_ext <<_ACEOF
8561 /* end confdefs.h. */
8562 $ac_includes_default
8563 #include <$ac_header>
8565 rm -f conftest.
$ac_objext
8566 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
8567 (eval $ac_compile) 2>conftest.er1
8569 grep -v '^ *+' conftest.er1
>conftest.err
8571 cat conftest.err
>&5
8572 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8573 (exit $ac_status); } &&
8574 { ac_try
='test -z "$ac_c_werror_flag"
8575 || test ! -s conftest.err'
8576 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8579 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8580 (exit $ac_status); }; } &&
8581 { ac_try
='test -s conftest.$ac_objext'
8582 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8585 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8586 (exit $ac_status); }; }; then
8587 ac_header_compiler
=yes
8589 echo "$as_me: failed program was:" >&5
8590 sed 's/^/| /' conftest.
$ac_ext >&5
8592 ac_header_compiler
=no
8594 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
8595 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
8596 echo "${ECHO_T}$ac_header_compiler" >&6
8598 # Is the header present?
8599 echo "$as_me:$LINENO: checking $ac_header presence" >&5
8600 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
8601 cat >conftest.
$ac_ext <<_ACEOF
8604 cat confdefs.h
>>conftest.
$ac_ext
8605 cat >>conftest.
$ac_ext <<_ACEOF
8606 /* end confdefs.h. */
8607 #include <$ac_header>
8609 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
8610 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
8612 grep -v '^ *+' conftest.er1
>conftest.err
8614 cat conftest.err
>&5
8615 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8616 (exit $ac_status); } >/dev
/null
; then
8617 if test -s conftest.err
; then
8618 ac_cpp_err
=$ac_c_preproc_warn_flag
8619 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
8626 if test -z "$ac_cpp_err"; then
8627 ac_header_preproc
=yes
8629 echo "$as_me: failed program was:" >&5
8630 sed 's/^/| /' conftest.
$ac_ext >&5
8632 ac_header_preproc
=no
8634 rm -f conftest.err conftest.
$ac_ext
8635 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
8636 echo "${ECHO_T}$ac_header_preproc" >&6
8638 # So? What about this header?
8639 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
8641 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
8642 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
8643 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
8644 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
8645 ac_header_preproc
=yes
8648 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
8649 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
8650 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
8651 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
8652 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
8653 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
8654 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
8655 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
8656 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
8657 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
8658 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
8659 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
8662 ## -------------------------------- ##
8663 ## Report this to classpath@gnu.org ##
8664 ## -------------------------------- ##
8667 sed "s/^/$as_me: WARNING: /" >&2
8670 echo "$as_me:$LINENO: checking for $ac_header" >&5
8671 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
8672 if eval "test \"\${$as_ac_Header+set}\" = set"; then
8673 echo $ECHO_N "(cached) $ECHO_C" >&6
8675 eval "$as_ac_Header=\$ac_header_preproc"
8677 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
8678 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
8681 if test `eval echo '${'$as_ac_Header'}'` = yes; then
8682 cat >>confdefs.h
<<_ACEOF
8683 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
8691 cat >conftest.
$ac_ext <<_ACEOF
8694 cat confdefs.h
>>conftest.
$ac_ext
8695 cat >>conftest.
$ac_ext <<_ACEOF
8696 /* end confdefs.h. */
8700 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
8701 $EGREP "uint32_t" >/dev
/null
2>&1; then
8703 cat >>confdefs.h
<<\_ACEOF
8704 #define HAVE_INT32_DEFINED 1
8710 cat >conftest.
$ac_ext <<_ACEOF
8713 cat confdefs.h
>>conftest.
$ac_ext
8714 cat >>conftest.
$ac_ext <<_ACEOF
8715 /* end confdefs.h. */
8716 #include <inttypes.h>
8719 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
8720 $EGREP "uint32_t" >/dev
/null
2>&1; then
8722 cat >>confdefs.h
<<\_ACEOF
8723 #define HAVE_INT32_DEFINED 1
8729 cat >conftest.
$ac_ext <<_ACEOF
8732 cat confdefs.h
>>conftest.
$ac_ext
8733 cat >>conftest.
$ac_ext <<_ACEOF
8734 /* end confdefs.h. */
8735 #include <sys/types.h>
8738 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
8739 $EGREP "u_int32_t" >/dev
/null
2>&1; then
8741 cat >>confdefs.h
<<\_ACEOF
8742 #define HAVE_BSD_INT32_DEFINED 1
8748 cat >conftest.
$ac_ext <<_ACEOF
8751 cat confdefs.h
>>conftest.
$ac_ext
8752 cat >>conftest.
$ac_ext <<_ACEOF
8753 /* end confdefs.h. */
8754 #include <sys/config.h>
8757 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
8758 $EGREP "u_int32_t" >/dev
/null
2>&1; then
8760 cat >>confdefs.h
<<\_ACEOF
8761 #define HAVE_BSD_INT32_DEFINED 1
8822 for ac_func
in ftruncate fsync
select \
8823 gethostname socket strerror fork pipe execve open close \
8824 lseek fstat
read readv
write writev htonl memset htons connect \
8825 getsockname getpeername
bind listen accept \
8826 recvfrom send sendto setsockopt getsockopt
time mktime \
8827 gethostbyname_r localtime_r \
8830 mmap munmap mincore msync madvise getpagesize sysconf \
8832 inet_aton inet_addr inet_pton \
8833 getifaddrs kqueue kevent epoll_create \
8836 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
8837 echo "$as_me:$LINENO: checking for $ac_func" >&5
8838 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
8839 if eval "test \"\${$as_ac_var+set}\" = set"; then
8840 echo $ECHO_N "(cached) $ECHO_C" >&6
8842 if test x
$gcc_no_link = xyes
; then
8843 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
8844 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
8845 { (exit 1); exit 1; }; }
8847 cat >conftest.
$ac_ext <<_ACEOF
8850 cat confdefs.h
>>conftest.
$ac_ext
8851 cat >>conftest.
$ac_ext <<_ACEOF
8852 /* end confdefs.h. */
8853 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
8854 For example, HP-UX 11i <limits.h> declares gettimeofday. */
8855 #define $ac_func innocuous_$ac_func
8857 /* System header to define __stub macros and hopefully few prototypes,
8858 which can conflict with char $ac_func (); below.
8859 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
8860 <limits.h> exists even on freestanding compilers. */
8863 # include <limits.h>
8865 # include <assert.h>
8870 /* Override any gcc2 internal prototype to avoid an error. */
8875 /* We use char because int might match the return type of a gcc2
8876 builtin and then its argument prototype would still apply. */
8878 /* The GNU C library defines this for functions which it implements
8879 to always fail with ENOSYS. Some functions are actually named
8880 something starting with __ and the normal name is an alias. */
8881 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
8884 char (*f) () = $ac_func;
8893 return f != $ac_func;
8898 rm -f conftest.
$ac_objext conftest
$ac_exeext
8899 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8900 (eval $ac_link) 2>conftest.er1
8902 grep -v '^ *+' conftest.er1
>conftest.err
8904 cat conftest.err
>&5
8905 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8906 (exit $ac_status); } &&
8907 { ac_try
='test -z "$ac_c_werror_flag"
8908 || test ! -s conftest.err'
8909 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8912 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8913 (exit $ac_status); }; } &&
8914 { ac_try
='test -s conftest$ac_exeext'
8915 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8918 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8919 (exit $ac_status); }; }; then
8920 eval "$as_ac_var=yes"
8922 echo "$as_me: failed program was:" >&5
8923 sed 's/^/| /' conftest.
$ac_ext >&5
8925 eval "$as_ac_var=no"
8927 rm -f conftest.err conftest.
$ac_objext \
8928 conftest
$ac_exeext conftest.
$ac_ext
8930 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
8931 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
8932 if test `eval echo '${'$as_ac_var'}'` = yes; then
8933 cat >>confdefs.h
<<_ACEOF
8934 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
8942 echo "$as_me:$LINENO: checking for magic_open in -lmagic" >&5
8943 echo $ECHO_N "checking for magic_open in -lmagic... $ECHO_C" >&6
8944 if test "${ac_cv_lib_magic_magic_open+set}" = set; then
8945 echo $ECHO_N "(cached) $ECHO_C" >&6
8947 ac_check_lib_save_LIBS
=$LIBS
8948 LIBS
="-lmagic $LIBS"
8949 if test x
$gcc_no_link = xyes
; then
8950 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
8951 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
8952 { (exit 1); exit 1; }; }
8954 cat >conftest.
$ac_ext <<_ACEOF
8957 cat confdefs.h
>>conftest.
$ac_ext
8958 cat >>conftest.
$ac_ext <<_ACEOF
8959 /* end confdefs.h. */
8961 /* Override any gcc2 internal prototype to avoid an error. */
8965 /* We use char because int might match the return type of a gcc2
8966 builtin and then its argument prototype would still apply. */
8976 rm -f conftest.
$ac_objext conftest
$ac_exeext
8977 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8978 (eval $ac_link) 2>conftest.er1
8980 grep -v '^ *+' conftest.er1
>conftest.err
8982 cat conftest.err
>&5
8983 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8984 (exit $ac_status); } &&
8985 { ac_try
='test -z "$ac_c_werror_flag"
8986 || test ! -s conftest.err'
8987 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8990 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8991 (exit $ac_status); }; } &&
8992 { ac_try
='test -s conftest$ac_exeext'
8993 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8996 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8997 (exit $ac_status); }; }; then
8998 ac_cv_lib_magic_magic_open
=yes
9000 echo "$as_me: failed program was:" >&5
9001 sed 's/^/| /' conftest.
$ac_ext >&5
9003 ac_cv_lib_magic_magic_open
=no
9005 rm -f conftest.err conftest.
$ac_objext \
9006 conftest
$ac_exeext conftest.
$ac_ext
9007 LIBS
=$ac_check_lib_save_LIBS
9009 echo "$as_me:$LINENO: result: $ac_cv_lib_magic_magic_open" >&5
9010 echo "${ECHO_T}$ac_cv_lib_magic_magic_open" >&6
9011 if test $ac_cv_lib_magic_magic_open = yes; then
9017 echo "$as_me:$LINENO: checking whether struct sockaddr_in6 is in netinet/in.h" >&5
9018 echo $ECHO_N "checking whether struct sockaddr_in6 is in netinet/in.h... $ECHO_C" >&6
9019 cat >conftest.
$ac_ext <<_ACEOF
9022 cat confdefs.h
>>conftest.
$ac_ext
9023 cat >>conftest.
$ac_ext <<_ACEOF
9024 /* end confdefs.h. */
9025 #include <netinet/in.h>
9029 struct sockaddr_in6 addr6;
9034 rm -f conftest.
$ac_objext
9035 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
9036 (eval $ac_compile) 2>conftest.er1
9038 grep -v '^ *+' conftest.er1
>conftest.err
9040 cat conftest.err
>&5
9041 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9042 (exit $ac_status); } &&
9043 { ac_try
='test -z "$ac_c_werror_flag"
9044 || test ! -s conftest.err'
9045 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9048 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9049 (exit $ac_status); }; } &&
9050 { ac_try
='test -s conftest.$ac_objext'
9051 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9054 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9055 (exit $ac_status); }; }; then
9057 cat >>confdefs.h
<<\_ACEOF
9058 #define HAVE_INET6 1
9061 echo "$as_me:$LINENO: result: yes" >&5
9062 echo "${ECHO_T}yes" >&6
9064 echo "$as_me: failed program was:" >&5
9065 sed 's/^/| /' conftest.
$ac_ext >&5
9067 echo "$as_me:$LINENO: result: no" >&5
9068 echo "${ECHO_T}no" >&6
9070 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
9072 echo "$as_me:$LINENO: checking whether time.h and sys/time.h may both be included" >&5
9073 echo $ECHO_N "checking whether time.h and sys/time.h may both be included... $ECHO_C" >&6
9074 if test "${ac_cv_header_time+set}" = set; then
9075 echo $ECHO_N "(cached) $ECHO_C" >&6
9077 cat >conftest.
$ac_ext <<_ACEOF
9080 cat confdefs.h
>>conftest.
$ac_ext
9081 cat >>conftest.
$ac_ext <<_ACEOF
9082 /* end confdefs.h. */
9083 #include <sys/types.h>
9084 #include <sys/time.h>
9090 if ((struct tm *) 0)
9096 rm -f conftest.
$ac_objext
9097 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
9098 (eval $ac_compile) 2>conftest.er1
9100 grep -v '^ *+' conftest.er1
>conftest.err
9102 cat conftest.err
>&5
9103 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9104 (exit $ac_status); } &&
9105 { ac_try
='test -z "$ac_c_werror_flag"
9106 || test ! -s conftest.err'
9107 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9110 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9111 (exit $ac_status); }; } &&
9112 { ac_try
='test -s conftest.$ac_objext'
9113 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9116 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9117 (exit $ac_status); }; }; then
9118 ac_cv_header_time
=yes
9120 echo "$as_me: failed program was:" >&5
9121 sed 's/^/| /' conftest.
$ac_ext >&5
9123 ac_cv_header_time
=no
9125 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
9127 echo "$as_me:$LINENO: result: $ac_cv_header_time" >&5
9128 echo "${ECHO_T}$ac_cv_header_time" >&6
9129 if test $ac_cv_header_time = yes; then
9131 cat >>confdefs.h
<<\_ACEOF
9132 #define TIME_WITH_SYS_TIME 1
9137 echo "$as_me:$LINENO: checking whether struct tm is in sys/time.h or time.h" >&5
9138 echo $ECHO_N "checking whether struct tm is in sys/time.h or time.h... $ECHO_C" >&6
9139 if test "${ac_cv_struct_tm+set}" = set; then
9140 echo $ECHO_N "(cached) $ECHO_C" >&6
9142 cat >conftest.
$ac_ext <<_ACEOF
9145 cat confdefs.h
>>conftest.
$ac_ext
9146 cat >>conftest.
$ac_ext <<_ACEOF
9147 /* end confdefs.h. */
9148 #include <sys/types.h>
9154 struct tm *tp; tp->tm_sec;
9159 rm -f conftest.
$ac_objext
9160 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
9161 (eval $ac_compile) 2>conftest.er1
9163 grep -v '^ *+' conftest.er1
>conftest.err
9165 cat conftest.err
>&5
9166 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9167 (exit $ac_status); } &&
9168 { ac_try
='test -z "$ac_c_werror_flag"
9169 || test ! -s conftest.err'
9170 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9173 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9174 (exit $ac_status); }; } &&
9175 { ac_try
='test -s conftest.$ac_objext'
9176 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9179 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9180 (exit $ac_status); }; }; then
9181 ac_cv_struct_tm
=time.h
9183 echo "$as_me: failed program was:" >&5
9184 sed 's/^/| /' conftest.
$ac_ext >&5
9186 ac_cv_struct_tm
=sys
/time.h
9188 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
9190 echo "$as_me:$LINENO: result: $ac_cv_struct_tm" >&5
9191 echo "${ECHO_T}$ac_cv_struct_tm" >&6
9192 if test $ac_cv_struct_tm = sys
/time.h
; then
9194 cat >>confdefs.h
<<\_ACEOF
9195 #define TM_IN_SYS_TIME 1
9200 echo "$as_me:$LINENO: checking for struct tm.tm_zone" >&5
9201 echo $ECHO_N "checking for struct tm.tm_zone... $ECHO_C" >&6
9202 if test "${ac_cv_member_struct_tm_tm_zone+set}" = set; then
9203 echo $ECHO_N "(cached) $ECHO_C" >&6
9205 cat >conftest.
$ac_ext <<_ACEOF
9208 cat confdefs.h
>>conftest.
$ac_ext
9209 cat >>conftest.
$ac_ext <<_ACEOF
9210 /* end confdefs.h. */
9211 #include <sys/types.h>
9212 #include <$ac_cv_struct_tm>
9218 static struct tm ac_aggr;
9219 if (ac_aggr.tm_zone)
9225 rm -f conftest.
$ac_objext
9226 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
9227 (eval $ac_compile) 2>conftest.er1
9229 grep -v '^ *+' conftest.er1
>conftest.err
9231 cat conftest.err
>&5
9232 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9233 (exit $ac_status); } &&
9234 { ac_try
='test -z "$ac_c_werror_flag"
9235 || test ! -s conftest.err'
9236 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9239 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9240 (exit $ac_status); }; } &&
9241 { ac_try
='test -s conftest.$ac_objext'
9242 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9245 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9246 (exit $ac_status); }; }; then
9247 ac_cv_member_struct_tm_tm_zone
=yes
9249 echo "$as_me: failed program was:" >&5
9250 sed 's/^/| /' conftest.
$ac_ext >&5
9252 cat >conftest.
$ac_ext <<_ACEOF
9255 cat confdefs.h
>>conftest.
$ac_ext
9256 cat >>conftest.
$ac_ext <<_ACEOF
9257 /* end confdefs.h. */
9258 #include <sys/types.h>
9259 #include <$ac_cv_struct_tm>
9265 static struct tm ac_aggr;
9266 if (sizeof ac_aggr.tm_zone)
9272 rm -f conftest.
$ac_objext
9273 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
9274 (eval $ac_compile) 2>conftest.er1
9276 grep -v '^ *+' conftest.er1
>conftest.err
9278 cat conftest.err
>&5
9279 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9280 (exit $ac_status); } &&
9281 { ac_try
='test -z "$ac_c_werror_flag"
9282 || test ! -s conftest.err'
9283 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9286 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9287 (exit $ac_status); }; } &&
9288 { ac_try
='test -s conftest.$ac_objext'
9289 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9292 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9293 (exit $ac_status); }; }; then
9294 ac_cv_member_struct_tm_tm_zone
=yes
9296 echo "$as_me: failed program was:" >&5
9297 sed 's/^/| /' conftest.
$ac_ext >&5
9299 ac_cv_member_struct_tm_tm_zone
=no
9301 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
9303 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
9305 echo "$as_me:$LINENO: result: $ac_cv_member_struct_tm_tm_zone" >&5
9306 echo "${ECHO_T}$ac_cv_member_struct_tm_tm_zone" >&6
9307 if test $ac_cv_member_struct_tm_tm_zone = yes; then
9309 cat >>confdefs.h
<<_ACEOF
9310 #define HAVE_STRUCT_TM_TM_ZONE 1
9316 if test "$ac_cv_member_struct_tm_tm_zone" = yes; then
9318 cat >>confdefs.h
<<\_ACEOF
9319 #define HAVE_TM_ZONE 1
9323 echo "$as_me:$LINENO: checking for tzname" >&5
9324 echo $ECHO_N "checking for tzname... $ECHO_C" >&6
9325 if test "${ac_cv_var_tzname+set}" = set; then
9326 echo $ECHO_N "(cached) $ECHO_C" >&6
9328 if test x
$gcc_no_link = xyes
; then
9329 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
9330 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
9331 { (exit 1); exit 1; }; }
9333 cat >conftest.
$ac_ext <<_ACEOF
9336 cat confdefs.h
>>conftest.
$ac_ext
9337 cat >>conftest.
$ac_ext <<_ACEOF
9338 /* end confdefs.h. */
9340 #ifndef tzname /* For SGI. */
9341 extern char *tzname[]; /* RS6000 and others reject char **tzname. */
9352 rm -f conftest.
$ac_objext conftest
$ac_exeext
9353 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
9354 (eval $ac_link) 2>conftest.er1
9356 grep -v '^ *+' conftest.er1
>conftest.err
9358 cat conftest.err
>&5
9359 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9360 (exit $ac_status); } &&
9361 { ac_try
='test -z "$ac_c_werror_flag"
9362 || test ! -s conftest.err'
9363 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9366 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9367 (exit $ac_status); }; } &&
9368 { ac_try
='test -s conftest$ac_exeext'
9369 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9372 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9373 (exit $ac_status); }; }; then
9374 ac_cv_var_tzname
=yes
9376 echo "$as_me: failed program was:" >&5
9377 sed 's/^/| /' conftest.
$ac_ext >&5
9381 rm -f conftest.err conftest.
$ac_objext \
9382 conftest
$ac_exeext conftest.
$ac_ext
9384 echo "$as_me:$LINENO: result: $ac_cv_var_tzname" >&5
9385 echo "${ECHO_T}$ac_cv_var_tzname" >&6
9386 if test $ac_cv_var_tzname = yes; then
9388 cat >>confdefs.h
<<\_ACEOF
9389 #define HAVE_TZNAME 1
9396 echo "$as_me:$LINENO: checking for tm_gmtoff in struct tm" >&5
9397 echo $ECHO_N "checking for tm_gmtoff in struct tm... $ECHO_C" >&6
9398 cat >conftest.
$ac_ext <<_ACEOF
9401 cat confdefs.h
>>conftest.
$ac_ext
9402 cat >>conftest.
$ac_ext <<_ACEOF
9403 /* end confdefs.h. */
9408 struct tm tim; tim.tm_gmtoff = 0;
9413 rm -f conftest.
$ac_objext
9414 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
9415 (eval $ac_compile) 2>conftest.er1
9417 grep -v '^ *+' conftest.er1
>conftest.err
9419 cat conftest.err
>&5
9420 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9421 (exit $ac_status); } &&
9422 { ac_try
='test -z "$ac_c_werror_flag"
9423 || test ! -s conftest.err'
9424 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9427 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9428 (exit $ac_status); }; } &&
9429 { ac_try
='test -s conftest.$ac_objext'
9430 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9433 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9434 (exit $ac_status); }; }; then
9436 cat >>confdefs.h
<<\_ACEOF
9437 #define STRUCT_TM_HAS_GMTOFF 1
9440 echo "$as_me:$LINENO: result: yes" >&5
9441 echo "${ECHO_T}yes" >&6
9443 echo "$as_me: failed program was:" >&5
9444 sed 's/^/| /' conftest.
$ac_ext >&5
9446 echo "$as_me:$LINENO: result: no" >&5
9447 echo "${ECHO_T}no" >&6
9448 echo "$as_me:$LINENO: checking for global timezone variable" >&5
9449 echo $ECHO_N "checking for global timezone variable... $ECHO_C" >&6
9450 cat >conftest.
$ac_ext <<_ACEOF
9453 cat confdefs.h
>>conftest.
$ac_ext
9454 cat >>conftest.
$ac_ext <<_ACEOF
9455 /* end confdefs.h. */
9460 void i(){long z2 = 2*timezone;}
9465 rm -f conftest.
$ac_objext
9466 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
9467 (eval $ac_compile) 2>conftest.er1
9469 grep -v '^ *+' conftest.er1
>conftest.err
9471 cat conftest.err
>&5
9472 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9473 (exit $ac_status); } &&
9474 { ac_try
='test -z "$ac_c_werror_flag"
9475 || test ! -s conftest.err'
9476 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9479 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9480 (exit $ac_status); }; } &&
9481 { ac_try
='test -s conftest.$ac_objext'
9482 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9485 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9486 (exit $ac_status); }; }; then
9488 cat >>confdefs.h
<<\_ACEOF
9489 #define HAVE_TIMEZONE 1
9492 echo "$as_me:$LINENO: result: yes" >&5
9493 echo "${ECHO_T}yes" >&6
9495 echo "$as_me: failed program was:" >&5
9496 sed 's/^/| /' conftest.
$ac_ext >&5
9498 echo "$as_me:$LINENO: result: no" >&5
9499 echo "${ECHO_T}no" >&6
9500 echo "$as_me:$LINENO: checking for global _timezone variable" >&5
9501 echo $ECHO_N "checking for global _timezone variable... $ECHO_C" >&6
9502 cat >conftest.
$ac_ext <<_ACEOF
9505 cat confdefs.h
>>conftest.
$ac_ext
9506 cat >>conftest.
$ac_ext <<_ACEOF
9507 /* end confdefs.h. */
9512 long z2 = _timezone;
9517 rm -f conftest.
$ac_objext
9518 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
9519 (eval $ac_compile) 2>conftest.er1
9521 grep -v '^ *+' conftest.er1
>conftest.err
9523 cat conftest.err
>&5
9524 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9525 (exit $ac_status); } &&
9526 { ac_try
='test -z "$ac_c_werror_flag"
9527 || test ! -s conftest.err'
9528 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9531 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9532 (exit $ac_status); }; } &&
9533 { ac_try
='test -s conftest.$ac_objext'
9534 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9537 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9538 (exit $ac_status); }; }; then
9540 cat >>confdefs.h
<<\_ACEOF
9541 #define HAVE_UNDERSCORE_TIMEZONE 1
9544 echo "$as_me:$LINENO: result: yes" >&5
9545 echo "${ECHO_T}yes" >&6
9547 echo "$as_me: failed program was:" >&5
9548 sed 's/^/| /' conftest.
$ac_ext >&5
9550 echo "$as_me:$LINENO: result: no" >&5
9551 echo "${ECHO_T}no" >&6
9553 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
9555 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
9557 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
9559 echo "$as_me:$LINENO: checking for an ANSI C-conforming const" >&5
9560 echo $ECHO_N "checking for an ANSI C-conforming const... $ECHO_C" >&6
9561 if test "${ac_cv_c_const+set}" = set; then
9562 echo $ECHO_N "(cached) $ECHO_C" >&6
9564 cat >conftest.
$ac_ext <<_ACEOF
9567 cat confdefs.h
>>conftest.
$ac_ext
9568 cat >>conftest.
$ac_ext <<_ACEOF
9569 /* end confdefs.h. */
9574 /* FIXME: Include the comments suggested by Paul. */
9576 /* Ultrix mips cc rejects this. */
9577 typedef int charset[2];
9579 /* SunOS 4.1.1 cc rejects this. */
9580 char const *const *ccp;
9582 /* NEC SVR4.0.2 mips cc rejects this. */
9583 struct point {int x, y;};
9584 static struct point const zero = {0,0};
9585 /* AIX XL C 1.02.0.0 rejects this.
9586 It does not let you subtract one const X* pointer from another in
9587 an arm of an if-expression whose if-part is not a constant
9589 const char *g = "string";
9590 ccp = &g + (g ? g-g : 0);
9591 /* HPUX 7.0 cc rejects these. */
9594 ccp = (char const *const *) p;
9595 { /* SCO 3.2v4 cc rejects this. */
9597 char const *s = 0 ? (char *) 0 : (char const *) 0;
9601 { /* Someone thinks the Sun supposedly-ANSI compiler will reject this. */
9603 const int *foo = &x[0];
9606 { /* Sun SC1.0 ANSI compiler rejects this -- but not the above. */
9607 typedef const int *iptr;
9611 { /* AIX XL C 1.02.0.0 rejects this saying
9612 "k.c", line 2.27: 1506-025 (S) Operand must be a modifiable lvalue. */
9613 struct s { int j; const int *ap[3]; };
9614 struct s *b; b->j = 5;
9616 { /* ULTRIX-32 V3.1 (Rev 9) vcc rejects this */
9625 rm -f conftest.
$ac_objext
9626 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
9627 (eval $ac_compile) 2>conftest.er1
9629 grep -v '^ *+' conftest.er1
>conftest.err
9631 cat conftest.err
>&5
9632 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9633 (exit $ac_status); } &&
9634 { ac_try
='test -z "$ac_c_werror_flag"
9635 || test ! -s conftest.err'
9636 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9639 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9640 (exit $ac_status); }; } &&
9641 { ac_try
='test -s conftest.$ac_objext'
9642 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9645 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9646 (exit $ac_status); }; }; then
9649 echo "$as_me: failed program was:" >&5
9650 sed 's/^/| /' conftest.
$ac_ext >&5
9654 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
9656 echo "$as_me:$LINENO: result: $ac_cv_c_const" >&5
9657 echo "${ECHO_T}$ac_cv_c_const" >&6
9658 if test $ac_cv_c_const = no
; then
9660 cat >>confdefs.h
<<\_ACEOF
9666 echo "$as_me:$LINENO: checking for __attribute__" >&5
9667 echo $ECHO_N "checking for __attribute__... $ECHO_C" >&6
9668 if test "${ac_cv_c_attribute+set}" = set; then
9669 echo $ECHO_N "(cached) $ECHO_C" >&6
9672 cat >conftest.
$ac_ext <<_ACEOF
9675 cat confdefs.h
>>conftest.
$ac_ext
9676 cat >>conftest.
$ac_ext <<_ACEOF
9677 /* end confdefs.h. */
9678 void foo(void) __attribute__ ((__noreturn__));
9681 rm -f conftest.
$ac_objext
9682 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
9683 (eval $ac_compile) 2>conftest.er1
9685 grep -v '^ *+' conftest.er1
>conftest.err
9687 cat conftest.err
>&5
9688 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9689 (exit $ac_status); } &&
9690 { ac_try
='test -z "$ac_c_werror_flag"
9691 || test ! -s conftest.err'
9692 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9695 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9696 (exit $ac_status); }; } &&
9697 { ac_try
='test -s conftest.$ac_objext'
9698 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9701 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9702 (exit $ac_status); }; }; then
9703 ac_cv_c_attribute
=yes
9705 echo "$as_me: failed program was:" >&5
9706 sed 's/^/| /' conftest.
$ac_ext >&5
9708 ac_cv_c_attribute
=no
9711 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
9714 echo "$as_me:$LINENO: result: $ac_cv_c_attribute" >&5
9715 echo "${ECHO_T}$ac_cv_c_attribute" >&6
9718 case $ac_cv_c_attribute in
9721 cat >>confdefs.h
<<_ACEOF
9722 #define __attribute__(x) /* nothing */
9729 if test "X$prefix" = "XNONE"; then
9730 acl_final_prefix
="$ac_default_prefix"
9732 acl_final_prefix
="$prefix"
9734 if test "X$exec_prefix" = "XNONE"; then
9735 acl_final_exec_prefix
='${prefix}'
9737 acl_final_exec_prefix
="$exec_prefix"
9739 acl_save_prefix
="$prefix"
9740 prefix
="$acl_final_prefix"
9741 eval acl_final_exec_prefix
=\"$acl_final_exec_prefix\"
9742 prefix
="$acl_save_prefix"
9745 # Check whether --with-gnu-ld or --without-gnu-ld was given.
9746 if test "${with_gnu_ld+set}" = set; then
9747 withval
="$with_gnu_ld"
9748 test "$withval" = no || with_gnu_ld
=yes
9752 # Prepare PATH_SEPARATOR.
9753 # The user is always right.
9754 if test "${PATH_SEPARATOR+set}" != set; then
9755 echo "#! /bin/sh" >conf$$.sh
9756 echo "exit 0" >>conf$$.sh
9758 if (PATH
="/nonexistent;."; conf$$.sh
) >/dev
/null
2>&1; then
9766 if test "$GCC" = yes; then
9767 # Check if gcc -print-prog-name=ld gives a path.
9768 echo "$as_me:$LINENO: checking for ld used by GCC" >&5
9769 echo $ECHO_N "checking for ld used by GCC... $ECHO_C" >&6
9772 # gcc leaves a trailing carriage return which upsets mingw
9773 ac_prog
=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
9775 ac_prog
=`($CC -print-prog-name=ld) 2>&5` ;;
9778 # Accept absolute paths.
9779 [\\/]* |
[A-Za-z
]:[\\/]*)
9780 re_direlt
='/[^/][^/]*/\.\./'
9781 # Canonicalize the path of ld
9782 ac_prog
=`echo $ac_prog| sed 's%\\\\%/%g'`
9783 while echo $ac_prog |
grep "$re_direlt" > /dev
/null
2>&1; do
9784 ac_prog
=`echo $ac_prog| sed "s%$re_direlt%/%"`
9786 test -z "$LD" && LD
="$ac_prog"
9789 # If it fails, then pretend we aren't using GCC.
9793 # If it is relative, then search for the first ld in PATH.
9797 elif test "$with_gnu_ld" = yes; then
9798 echo "$as_me:$LINENO: checking for GNU ld" >&5
9799 echo $ECHO_N "checking for GNU ld... $ECHO_C" >&6
9801 echo "$as_me:$LINENO: checking for non-GNU ld" >&5
9802 echo $ECHO_N "checking for non-GNU ld... $ECHO_C" >&6
9804 if test "${acl_cv_path_LD+set}" = set; then
9805 echo $ECHO_N "(cached) $ECHO_C" >&6
9807 if test -z "$LD"; then
9808 IFS
="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}${PATH_SEPARATOR-:}"
9809 for ac_dir
in $PATH; do
9810 test -z "$ac_dir" && ac_dir
=.
9811 if test -f "$ac_dir/$ac_prog" ||
test -f "$ac_dir/$ac_prog$ac_exeext"; then
9812 acl_cv_path_LD
="$ac_dir/$ac_prog"
9813 # Check to see if the program is GNU ld. I'd rather use --version,
9814 # but apparently some GNU ld's only accept -v.
9815 # Break only if it was the GNU/non-GNU ld that we prefer.
9816 if "$acl_cv_path_LD" -v 2>&1 < /dev
/null |
egrep '(GNU|with BFD)' > /dev
/null
; then
9817 test "$with_gnu_ld" != no
&& break
9819 test "$with_gnu_ld" != yes && break
9825 acl_cv_path_LD
="$LD" # Let the user override the test with a path.
9829 LD
="$acl_cv_path_LD"
9830 if test -n "$LD"; then
9831 echo "$as_me:$LINENO: result: $LD" >&5
9832 echo "${ECHO_T}$LD" >&6
9834 echo "$as_me:$LINENO: result: no" >&5
9835 echo "${ECHO_T}no" >&6
9837 test -z "$LD" && { { echo "$as_me:$LINENO: error: no acceptable ld found in \$PATH" >&5
9838 echo "$as_me: error: no acceptable ld found in \$PATH" >&2;}
9839 { (exit 1); exit 1; }; }
9840 echo "$as_me:$LINENO: checking if the linker ($LD) is GNU ld" >&5
9841 echo $ECHO_N "checking if the linker ($LD) is GNU ld... $ECHO_C" >&6
9842 if test "${acl_cv_prog_gnu_ld+set}" = set; then
9843 echo $ECHO_N "(cached) $ECHO_C" >&6
9845 # I'd rather use --version here, but apparently some GNU ld's only accept -v.
9846 if $LD -v 2>&1 </dev
/null |
egrep '(GNU|with BFD)' 1>&5; then
9847 acl_cv_prog_gnu_ld
=yes
9849 acl_cv_prog_gnu_ld
=no
9852 echo "$as_me:$LINENO: result: $acl_cv_prog_gnu_ld" >&5
9853 echo "${ECHO_T}$acl_cv_prog_gnu_ld" >&6
9854 with_gnu_ld
=$acl_cv_prog_gnu_ld
9858 echo "$as_me:$LINENO: checking for shared library run path origin" >&5
9859 echo $ECHO_N "checking for shared library run path origin... $ECHO_C" >&6
9860 if test "${acl_cv_rpath+set}" = set; then
9861 echo $ECHO_N "(cached) $ECHO_C" >&6
9864 CC
="$CC" GCC
="$GCC" LDFLAGS
="$LDFLAGS" LD
="$LD" with_gnu_ld
="$with_gnu_ld" \
9865 ${CONFIG_SHELL-/bin/sh} "$ac_aux_dir/config.rpath" "$host" > conftest.sh
9871 echo "$as_me:$LINENO: result: $acl_cv_rpath" >&5
9872 echo "${ECHO_T}$acl_cv_rpath" >&6
9874 libext
="$acl_cv_libext"
9875 shlibext
="$acl_cv_shlibext"
9876 hardcode_libdir_flag_spec
="$acl_cv_hardcode_libdir_flag_spec"
9877 hardcode_libdir_separator
="$acl_cv_hardcode_libdir_separator"
9878 hardcode_direct
="$acl_cv_hardcode_direct"
9879 hardcode_minus_L
="$acl_cv_hardcode_minus_L"
9880 # Check whether --enable-rpath or --disable-rpath was given.
9881 if test "${enable_rpath+set}" = set; then
9882 enableval
="$enable_rpath"
9896 acl_save_prefix
="$prefix"
9897 prefix
="$acl_final_prefix"
9898 acl_save_exec_prefix
="$exec_prefix"
9899 exec_prefix
="$acl_final_exec_prefix"
9901 eval additional_includedir
=\"$includedir\"
9902 eval additional_libdir
=\"$libdir\"
9904 exec_prefix
="$acl_save_exec_prefix"
9905 prefix
="$acl_save_prefix"
9908 # Check whether --with-libiconv-prefix or --without-libiconv-prefix was given.
9909 if test "${with_libiconv_prefix+set}" = set; then
9910 withval
="$with_libiconv_prefix"
9912 if test "X$withval" = "Xno"; then
9915 if test "X$withval" = "X"; then
9917 acl_save_prefix
="$prefix"
9918 prefix
="$acl_final_prefix"
9919 acl_save_exec_prefix
="$exec_prefix"
9920 exec_prefix
="$acl_final_exec_prefix"
9922 eval additional_includedir
=\"$includedir\"
9923 eval additional_libdir
=\"$libdir\"
9925 exec_prefix
="$acl_save_exec_prefix"
9926 prefix
="$acl_save_prefix"
9929 additional_includedir
="$withval/include"
9930 additional_libdir
="$withval/lib"
9940 names_already_handled
=
9941 names_next_round
='iconv '
9942 while test -n "$names_next_round"; do
9943 names_this_round
="$names_next_round"
9945 for name
in $names_this_round; do
9947 for n
in $names_already_handled; do
9948 if test "$n" = "$name"; then
9953 if test -z "$already_handled"; then
9954 names_already_handled
="$names_already_handled $name"
9955 uppername
=`echo "$name" | sed -e 'y|abcdefghijklmnopqrstuvwxyz./-|ABCDEFGHIJKLMNOPQRSTUVWXYZ___|'`
9956 eval value
=\"\
$HAVE_LIB$uppername\"
9957 if test -n "$value"; then
9958 if test "$value" = yes; then
9959 eval value
=\"\
$LIB$uppername\"
9960 test -z "$value" || LIBICONV
="${LIBICONV}${LIBICONV:+ }$value"
9961 eval value
=\"\
$LTLIB$uppername\"
9962 test -z "$value" || LTLIBICONV
="${LTLIBICONV}${LTLIBICONV:+ }$value"
9971 if test $use_additional = yes; then
9972 if test -n "$shlibext" && test -f "$additional_libdir/lib$name.$shlibext"; then
9973 found_dir
="$additional_libdir"
9974 found_so
="$additional_libdir/lib$name.$shlibext"
9975 if test -f "$additional_libdir/lib$name.la"; then
9976 found_la
="$additional_libdir/lib$name.la"
9979 if test -f "$additional_libdir/lib$name.$libext"; then
9980 found_dir
="$additional_libdir"
9981 found_a
="$additional_libdir/lib$name.$libext"
9982 if test -f "$additional_libdir/lib$name.la"; then
9983 found_la
="$additional_libdir/lib$name.la"
9988 if test "X$found_dir" = "X"; then
9989 for x
in $LDFLAGS $LTLIBICONV; do
9991 acl_save_prefix
="$prefix"
9992 prefix
="$acl_final_prefix"
9993 acl_save_exec_prefix
="$exec_prefix"
9994 exec_prefix
="$acl_final_exec_prefix"
9996 exec_prefix
="$acl_save_exec_prefix"
9997 prefix
="$acl_save_prefix"
10001 dir
=`echo "X$x" | sed -e 's/^X-L//'`
10002 if test -n "$shlibext" && test -f "$dir/lib$name.$shlibext"; then
10004 found_so
="$dir/lib$name.$shlibext"
10005 if test -f "$dir/lib$name.la"; then
10006 found_la
="$dir/lib$name.la"
10009 if test -f "$dir/lib$name.$libext"; then
10011 found_a
="$dir/lib$name.$libext"
10012 if test -f "$dir/lib$name.la"; then
10013 found_la
="$dir/lib$name.la"
10019 if test "X$found_dir" != "X"; then
10024 if test "X$found_dir" != "X"; then
10025 LTLIBICONV
="${LTLIBICONV}${LTLIBICONV:+ }-L$found_dir -l$name"
10026 if test "X$found_so" != "X"; then
10027 if test "$enable_rpath" = no ||
test "X$found_dir" = "X/usr/lib"; then
10028 LIBICONV
="${LIBICONV}${LIBICONV:+ }$found_so"
10031 for x
in $ltrpathdirs; do
10032 if test "X$x" = "X$found_dir"; then
10037 if test -z "$haveit"; then
10038 ltrpathdirs
="$ltrpathdirs $found_dir"
10040 if test "$hardcode_direct" = yes; then
10041 LIBICONV
="${LIBICONV}${LIBICONV:+ }$found_so"
10043 if test -n "$hardcode_libdir_flag_spec" && test "$hardcode_minus_L" = no
; then
10044 LIBICONV
="${LIBICONV}${LIBICONV:+ }$found_so"
10046 for x
in $rpathdirs; do
10047 if test "X$x" = "X$found_dir"; then
10052 if test -z "$haveit"; then
10053 rpathdirs
="$rpathdirs $found_dir"
10057 for x
in $LDFLAGS $LIBICONV; do
10059 acl_save_prefix
="$prefix"
10060 prefix
="$acl_final_prefix"
10061 acl_save_exec_prefix
="$exec_prefix"
10062 exec_prefix
="$acl_final_exec_prefix"
10064 exec_prefix
="$acl_save_exec_prefix"
10065 prefix
="$acl_save_prefix"
10067 if test "X$x" = "X-L$found_dir"; then
10072 if test -z "$haveit"; then
10073 LIBICONV
="${LIBICONV}${LIBICONV:+ }-L$found_dir"
10075 if test "$hardcode_minus_L" != no
; then
10076 LIBICONV
="${LIBICONV}${LIBICONV:+ }$found_so"
10078 LIBICONV
="${LIBICONV}${LIBICONV:+ }-l$name"
10084 if test "X$found_a" != "X"; then
10085 LIBICONV
="${LIBICONV}${LIBICONV:+ }$found_a"
10087 LIBICONV
="${LIBICONV}${LIBICONV:+ }-L$found_dir -l$name"
10090 additional_includedir
=
10091 case "$found_dir" in
10093 basedir
=`echo "X$found_dir" | sed -e 's,^X,,' -e 's,/lib/*$,,'`
10094 additional_includedir
="$basedir/include"
10097 if test "X$additional_includedir" != "X"; then
10098 if test "X$additional_includedir" != "X/usr/include"; then
10100 if test "X$additional_includedir" = "X/usr/local/include"; then
10101 if test -n "$GCC"; then
10103 linux
*) haveit
=yes;;
10107 if test -z "$haveit"; then
10108 for x
in $CPPFLAGS $INCICONV; do
10110 acl_save_prefix
="$prefix"
10111 prefix
="$acl_final_prefix"
10112 acl_save_exec_prefix
="$exec_prefix"
10113 exec_prefix
="$acl_final_exec_prefix"
10115 exec_prefix
="$acl_save_exec_prefix"
10116 prefix
="$acl_save_prefix"
10118 if test "X$x" = "X-I$additional_includedir"; then
10123 if test -z "$haveit"; then
10124 if test -d "$additional_includedir"; then
10125 INCICONV
="${INCICONV}${INCICONV:+ }-I$additional_includedir"
10131 if test -n "$found_la"; then
10132 save_libdir
="$libdir"
10133 case "$found_la" in
10134 */* |
*\\*) .
"$found_la" ;;
10135 *) .
"./$found_la" ;;
10137 libdir
="$save_libdir"
10138 for dep
in $dependency_libs; do
10141 additional_libdir
=`echo "X$dep" | sed -e 's/^X-L//'`
10142 if test "X$additional_libdir" != "X/usr/lib"; then
10144 if test "X$additional_libdir" = "X/usr/local/lib"; then
10145 if test -n "$GCC"; then
10147 linux
*) haveit
=yes;;
10151 if test -z "$haveit"; then
10153 for x
in $LDFLAGS $LIBICONV; do
10155 acl_save_prefix
="$prefix"
10156 prefix
="$acl_final_prefix"
10157 acl_save_exec_prefix
="$exec_prefix"
10158 exec_prefix
="$acl_final_exec_prefix"
10160 exec_prefix
="$acl_save_exec_prefix"
10161 prefix
="$acl_save_prefix"
10163 if test "X$x" = "X-L$additional_libdir"; then
10168 if test -z "$haveit"; then
10169 if test -d "$additional_libdir"; then
10170 LIBICONV
="${LIBICONV}${LIBICONV:+ }-L$additional_libdir"
10174 for x
in $LDFLAGS $LTLIBICONV; do
10176 acl_save_prefix
="$prefix"
10177 prefix
="$acl_final_prefix"
10178 acl_save_exec_prefix
="$exec_prefix"
10179 exec_prefix
="$acl_final_exec_prefix"
10181 exec_prefix
="$acl_save_exec_prefix"
10182 prefix
="$acl_save_prefix"
10184 if test "X$x" = "X-L$additional_libdir"; then
10189 if test -z "$haveit"; then
10190 if test -d "$additional_libdir"; then
10191 LTLIBICONV
="${LTLIBICONV}${LTLIBICONV:+ }-L$additional_libdir"
10198 dir
=`echo "X$dep" | sed -e 's/^X-R//'`
10199 if test "$enable_rpath" != no
; then
10201 for x
in $rpathdirs; do
10202 if test "X$x" = "X$dir"; then
10207 if test -z "$haveit"; then
10208 rpathdirs
="$rpathdirs $dir"
10211 for x
in $ltrpathdirs; do
10212 if test "X$x" = "X$dir"; then
10217 if test -z "$haveit"; then
10218 ltrpathdirs
="$ltrpathdirs $dir"
10223 names_next_round
="$names_next_round "`echo "X$dep" | sed -e 's/^X-l//'`
10226 names_next_round
="$names_next_round "`echo "X$dep" | sed -e 's,^X.*/,,' -e 's,^lib,,' -e 's,\.la$,,'`
10229 LIBICONV
="${LIBICONV}${LIBICONV:+ }$dep"
10230 LTLIBICONV
="${LTLIBICONV}${LTLIBICONV:+ }$dep"
10236 LIBICONV
="${LIBICONV}${LIBICONV:+ }-l$name"
10237 LTLIBICONV
="${LTLIBICONV}${LTLIBICONV:+ }-l$name"
10243 if test "X$rpathdirs" != "X"; then
10244 if test -n "$hardcode_libdir_separator"; then
10246 for found_dir
in $rpathdirs; do
10247 alldirs
="${alldirs}${alldirs:+$hardcode_libdir_separator}$found_dir"
10249 acl_save_libdir
="$libdir"
10251 eval flag
=\"$hardcode_libdir_flag_spec\"
10252 libdir
="$acl_save_libdir"
10253 LIBICONV
="${LIBICONV}${LIBICONV:+ }$flag"
10255 for found_dir
in $rpathdirs; do
10256 acl_save_libdir
="$libdir"
10257 libdir
="$found_dir"
10258 eval flag
=\"$hardcode_libdir_flag_spec\"
10259 libdir
="$acl_save_libdir"
10260 LIBICONV
="${LIBICONV}${LIBICONV:+ }$flag"
10264 if test "X$ltrpathdirs" != "X"; then
10265 for found_dir
in $ltrpathdirs; do
10266 LTLIBICONV
="${LTLIBICONV}${LTLIBICONV:+ }-R$found_dir"
10276 am_save_CPPFLAGS
="$CPPFLAGS"
10278 for element
in $INCICONV; do
10280 for x
in $CPPFLAGS; do
10282 acl_save_prefix
="$prefix"
10283 prefix
="$acl_final_prefix"
10284 acl_save_exec_prefix
="$exec_prefix"
10285 exec_prefix
="$acl_final_exec_prefix"
10287 exec_prefix
="$acl_save_exec_prefix"
10288 prefix
="$acl_save_prefix"
10290 if test "X$x" = "X$element"; then
10295 if test -z "$haveit"; then
10296 CPPFLAGS
="${CPPFLAGS}${CPPFLAGS:+ }$element"
10301 echo "$as_me:$LINENO: checking for iconv" >&5
10302 echo $ECHO_N "checking for iconv... $ECHO_C" >&6
10303 if test "${am_cv_func_iconv+set}" = set; then
10304 echo $ECHO_N "(cached) $ECHO_C" >&6
10307 am_cv_func_iconv
="no, consider installing GNU libiconv"
10309 if test x
$gcc_no_link = xyes
; then
10310 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
10311 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
10312 { (exit 1); exit 1; }; }
10314 cat >conftest.
$ac_ext <<_ACEOF
10317 cat confdefs.h
>>conftest.
$ac_ext
10318 cat >>conftest.
$ac_ext <<_ACEOF
10319 /* end confdefs.h. */
10320 #include <stdlib.h>
10325 iconv_t cd = iconv_open("","");
10326 iconv(cd,NULL,NULL,NULL,NULL);
10332 rm -f conftest.
$ac_objext conftest
$ac_exeext
10333 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10334 (eval $ac_link) 2>conftest.er1
10336 grep -v '^ *+' conftest.er1
>conftest.err
10338 cat conftest.err
>&5
10339 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10340 (exit $ac_status); } &&
10341 { ac_try
='test -z "$ac_c_werror_flag"
10342 || test ! -s conftest.err'
10343 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10344 (eval $ac_try) 2>&5
10346 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10347 (exit $ac_status); }; } &&
10348 { ac_try
='test -s conftest$ac_exeext'
10349 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10350 (eval $ac_try) 2>&5
10352 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10353 (exit $ac_status); }; }; then
10354 am_cv_func_iconv
=yes
10356 echo "$as_me: failed program was:" >&5
10357 sed 's/^/| /' conftest.
$ac_ext >&5
10360 rm -f conftest.err conftest.
$ac_objext \
10361 conftest
$ac_exeext conftest.
$ac_ext
10362 if test "$am_cv_func_iconv" != yes; then
10363 am_save_LIBS
="$LIBS"
10364 LIBS
="$LIBS $LIBICONV"
10365 if test x
$gcc_no_link = xyes
; then
10366 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
10367 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
10368 { (exit 1); exit 1; }; }
10370 cat >conftest.
$ac_ext <<_ACEOF
10373 cat confdefs.h
>>conftest.
$ac_ext
10374 cat >>conftest.
$ac_ext <<_ACEOF
10375 /* end confdefs.h. */
10376 #include <stdlib.h>
10381 iconv_t cd = iconv_open("","");
10382 iconv(cd,NULL,NULL,NULL,NULL);
10388 rm -f conftest.
$ac_objext conftest
$ac_exeext
10389 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10390 (eval $ac_link) 2>conftest.er1
10392 grep -v '^ *+' conftest.er1
>conftest.err
10394 cat conftest.err
>&5
10395 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10396 (exit $ac_status); } &&
10397 { ac_try
='test -z "$ac_c_werror_flag"
10398 || test ! -s conftest.err'
10399 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10400 (eval $ac_try) 2>&5
10402 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10403 (exit $ac_status); }; } &&
10404 { ac_try
='test -s conftest$ac_exeext'
10405 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10406 (eval $ac_try) 2>&5
10408 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10409 (exit $ac_status); }; }; then
10410 am_cv_lib_iconv
=yes
10411 am_cv_func_iconv
=yes
10413 echo "$as_me: failed program was:" >&5
10414 sed 's/^/| /' conftest.
$ac_ext >&5
10417 rm -f conftest.err conftest.
$ac_objext \
10418 conftest
$ac_exeext conftest.
$ac_ext
10419 LIBS
="$am_save_LIBS"
10423 echo "$as_me:$LINENO: result: $am_cv_func_iconv" >&5
10424 echo "${ECHO_T}$am_cv_func_iconv" >&6
10425 if test "$am_cv_func_iconv" = yes; then
10427 cat >>confdefs.h
<<\_ACEOF
10428 #define HAVE_ICONV 1
10432 if test "$am_cv_lib_iconv" = yes; then
10433 echo "$as_me:$LINENO: checking how to link with libiconv" >&5
10434 echo $ECHO_N "checking how to link with libiconv... $ECHO_C" >&6
10435 echo "$as_me:$LINENO: result: $LIBICONV" >&5
10436 echo "${ECHO_T}$LIBICONV" >&6
10438 CPPFLAGS
="$am_save_CPPFLAGS"
10445 if test "$am_cv_func_iconv" = yes; then
10446 echo "$as_me:$LINENO: checking for iconv declaration" >&5
10447 echo $ECHO_N "checking for iconv declaration... $ECHO_C" >&6
10448 if test "${am_cv_proto_iconv+set}" = set; then
10449 echo $ECHO_N "(cached) $ECHO_C" >&6
10452 cat >conftest.
$ac_ext <<_ACEOF
10455 cat confdefs.h
>>conftest.
$ac_ext
10456 cat >>conftest.
$ac_ext <<_ACEOF
10457 /* end confdefs.h. */
10459 #include <stdlib.h>
10465 #if defined(__STDC__) || defined(__cplusplus)
10466 size_t iconv (iconv_t cd, char * *inbuf, size_t *inbytesleft, char * *outbuf, size_t *outbytesleft);
10479 rm -f conftest.
$ac_objext
10480 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
10481 (eval $ac_compile) 2>conftest.er1
10483 grep -v '^ *+' conftest.er1
>conftest.err
10485 cat conftest.err
>&5
10486 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10487 (exit $ac_status); } &&
10488 { ac_try
='test -z "$ac_c_werror_flag"
10489 || test ! -s conftest.err'
10490 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10491 (eval $ac_try) 2>&5
10493 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10494 (exit $ac_status); }; } &&
10495 { ac_try
='test -s conftest.$ac_objext'
10496 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10497 (eval $ac_try) 2>&5
10499 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10500 (exit $ac_status); }; }; then
10501 am_cv_proto_iconv_arg1
=""
10503 echo "$as_me: failed program was:" >&5
10504 sed 's/^/| /' conftest.
$ac_ext >&5
10506 am_cv_proto_iconv_arg1
="const"
10508 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
10509 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);"
10512 am_cv_proto_iconv
=`echo "$am_cv_proto_iconv" | tr -s ' ' | sed -e 's/( /(/'`
10513 echo "$as_me:$LINENO: result: ${ac_t:-
10514 }$am_cv_proto_iconv" >&5
10515 echo "${ECHO_T}${ac_t:-
10516 }$am_cv_proto_iconv" >&6
10518 cat >>confdefs.h
<<_ACEOF
10519 #define ICONV_CONST $am_cv_proto_iconv_arg1
10525 if test "x${GCC}" = xyes
; then
10527 WARNING_CFLAGS
='-W -Wall -Wmissing-declarations -Wwrite-strings -Wmissing-prototypes -Wno-long-long'
10530 STRICT_WARNING_CFLAGS
='-Wstrict-prototypes -pedantic'
10534 if test "x${ENABLE_WERROR}" = xyes
; then
10535 ERROR_CFLAGS
='-Werror'
10540 if test "x${COMPILE_XMLJ}" = xyes
; then
10544 if test -z "$PKG_CONFIG"; then
10545 # Extract the first word of "pkg-config", so it can be a program name with args.
10546 set dummy pkg-config
; ac_word
=$2
10547 echo "$as_me:$LINENO: checking for $ac_word" >&5
10548 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
10549 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
10550 echo $ECHO_N "(cached) $ECHO_C" >&6
10552 case $PKG_CONFIG in
10554 ac_cv_path_PKG_CONFIG
="$PKG_CONFIG" # Let the user override the test with a path.
10557 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
10558 for as_dir
in $PATH
10561 test -z "$as_dir" && as_dir
=.
10562 for ac_exec_ext
in '' $ac_executable_extensions; do
10563 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
10564 ac_cv_path_PKG_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
10565 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
10571 test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG
="no"
10575 PKG_CONFIG
=$ac_cv_path_PKG_CONFIG
10577 if test -n "$PKG_CONFIG"; then
10578 echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
10579 echo "${ECHO_T}$PKG_CONFIG" >&6
10581 echo "$as_me:$LINENO: result: no" >&5
10582 echo "${ECHO_T}no" >&6
10587 if test "$PKG_CONFIG" = "no" ; then
10588 echo "*** The pkg-config script could not be found. Make sure it is"
10589 echo "*** in your path, or set the PKG_CONFIG environment variable"
10590 echo "*** to the full path to pkg-config."
10591 echo "*** Or see http://www.freedesktop.org/software/pkgconfig to get pkg-config."
10593 PKG_CONFIG_MIN_VERSION
=0.9.0
10594 if $PKG_CONFIG --atleast-pkgconfig-version $PKG_CONFIG_MIN_VERSION; then
10595 echo "$as_me:$LINENO: checking for libxml-2.0 >= 2.6.8" >&5
10596 echo $ECHO_N "checking for libxml-2.0 >= 2.6.8... $ECHO_C" >&6
10598 if $PKG_CONFIG --exists "libxml-2.0 >= 2.6.8" ; then
10599 echo "$as_me:$LINENO: result: yes" >&5
10600 echo "${ECHO_T}yes" >&6
10603 echo "$as_me:$LINENO: checking XML_CFLAGS" >&5
10604 echo $ECHO_N "checking XML_CFLAGS... $ECHO_C" >&6
10605 XML_CFLAGS
=`$PKG_CONFIG --cflags "libxml-2.0 >= 2.6.8"`
10606 echo "$as_me:$LINENO: result: $XML_CFLAGS" >&5
10607 echo "${ECHO_T}$XML_CFLAGS" >&6
10609 echo "$as_me:$LINENO: checking XML_LIBS" >&5
10610 echo $ECHO_N "checking XML_LIBS... $ECHO_C" >&6
10611 XML_LIBS
=`$PKG_CONFIG --libs "libxml-2.0 >= 2.6.8"`
10612 echo "$as_me:$LINENO: result: $XML_LIBS" >&5
10613 echo "${ECHO_T}$XML_LIBS" >&6
10617 ## If we have a custom action on failure, don't print errors, but
10618 ## do set a variable so people can do so.
10619 XML_PKG_ERRORS
=`$PKG_CONFIG --errors-to-stdout --print-errors "libxml-2.0 >= 2.6.8"`
10620 echo $XML_PKG_ERRORS
10626 echo "*** Your version of pkg-config is too old. You need version $PKG_CONFIG_MIN_VERSION or newer."
10627 echo "*** See http://www.freedesktop.org/software/pkgconfig"
10631 if test $succeeded = yes; then
10634 { { echo "$as_me:$LINENO: error: Library requirements (libxml-2.0 >= 2.6.8) 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
10635 echo "$as_me: error: Library requirements (libxml-2.0 >= 2.6.8) 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;}
10636 { (exit 1); exit 1; }; }
10642 if test -z "$PKG_CONFIG"; then
10643 # Extract the first word of "pkg-config", so it can be a program name with args.
10644 set dummy pkg-config
; ac_word
=$2
10645 echo "$as_me:$LINENO: checking for $ac_word" >&5
10646 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
10647 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
10648 echo $ECHO_N "(cached) $ECHO_C" >&6
10650 case $PKG_CONFIG in
10652 ac_cv_path_PKG_CONFIG
="$PKG_CONFIG" # Let the user override the test with a path.
10655 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
10656 for as_dir
in $PATH
10659 test -z "$as_dir" && as_dir
=.
10660 for ac_exec_ext
in '' $ac_executable_extensions; do
10661 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
10662 ac_cv_path_PKG_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
10663 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
10669 test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG
="no"
10673 PKG_CONFIG
=$ac_cv_path_PKG_CONFIG
10675 if test -n "$PKG_CONFIG"; then
10676 echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
10677 echo "${ECHO_T}$PKG_CONFIG" >&6
10679 echo "$as_me:$LINENO: result: no" >&5
10680 echo "${ECHO_T}no" >&6
10685 if test "$PKG_CONFIG" = "no" ; then
10686 echo "*** The pkg-config script could not be found. Make sure it is"
10687 echo "*** in your path, or set the PKG_CONFIG environment variable"
10688 echo "*** to the full path to pkg-config."
10689 echo "*** Or see http://www.freedesktop.org/software/pkgconfig to get pkg-config."
10691 PKG_CONFIG_MIN_VERSION
=0.9.0
10692 if $PKG_CONFIG --atleast-pkgconfig-version $PKG_CONFIG_MIN_VERSION; then
10693 echo "$as_me:$LINENO: checking for libxslt >= 1.1.11" >&5
10694 echo $ECHO_N "checking for libxslt >= 1.1.11... $ECHO_C" >&6
10696 if $PKG_CONFIG --exists "libxslt >= 1.1.11" ; then
10697 echo "$as_me:$LINENO: result: yes" >&5
10698 echo "${ECHO_T}yes" >&6
10701 echo "$as_me:$LINENO: checking XSLT_CFLAGS" >&5
10702 echo $ECHO_N "checking XSLT_CFLAGS... $ECHO_C" >&6
10703 XSLT_CFLAGS
=`$PKG_CONFIG --cflags "libxslt >= 1.1.11"`
10704 echo "$as_me:$LINENO: result: $XSLT_CFLAGS" >&5
10705 echo "${ECHO_T}$XSLT_CFLAGS" >&6
10707 echo "$as_me:$LINENO: checking XSLT_LIBS" >&5
10708 echo $ECHO_N "checking XSLT_LIBS... $ECHO_C" >&6
10709 XSLT_LIBS
=`$PKG_CONFIG --libs "libxslt >= 1.1.11"`
10710 echo "$as_me:$LINENO: result: $XSLT_LIBS" >&5
10711 echo "${ECHO_T}$XSLT_LIBS" >&6
10715 ## If we have a custom action on failure, don't print errors, but
10716 ## do set a variable so people can do so.
10717 XSLT_PKG_ERRORS
=`$PKG_CONFIG --errors-to-stdout --print-errors "libxslt >= 1.1.11"`
10718 echo $XSLT_PKG_ERRORS
10724 echo "*** Your version of pkg-config is too old. You need version $PKG_CONFIG_MIN_VERSION or newer."
10725 echo "*** See http://www.freedesktop.org/software/pkgconfig"
10729 if test $succeeded = yes; then
10732 { { echo "$as_me:$LINENO: error: Library requirements (libxslt >= 1.1.11) 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
10733 echo "$as_me: error: Library requirements (libxslt >= 1.1.11) 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;}
10734 { (exit 1); exit 1; }; }
10743 if test "x${COMPILE_GTK_PEER}" = xyes
; then
10744 echo "$as_me:$LINENO: checking for X" >&5
10745 echo $ECHO_N "checking for X... $ECHO_C" >&6
10748 # Check whether --with-x or --without-x was given.
10749 if test "${with_x+set}" = set; then
10753 # $have_x is `yes', `no', `disabled', or empty when we do not yet know.
10754 if test "x$with_x" = xno
; then
10755 # The user explicitly disabled X.
10758 if test "x$x_includes" != xNONE
&& test "x$x_libraries" != xNONE
; then
10759 # Both variables are already set.
10762 if test "${ac_cv_have_x+set}" = set; then
10763 echo $ECHO_N "(cached) $ECHO_C" >&6
10765 # One or both of the vars are not set, and there is no cached value.
10766 ac_x_includes
=no ac_x_libraries
=no
10767 rm -fr conftest.dir
10768 if mkdir conftest.dir
; then
10770 # Make sure to not put "make" in the Imakefile rules, since we grep it out.
10771 cat >Imakefile
<<'_ACEOF'
10773 @echo 'ac_im_incroot="${INCROOT}"; ac_im_usrlibdir="${USRLIBDIR}"; ac_im_libdir="${LIBDIR}"'
10775 if (xmkmf
) >/dev
/null
2>/dev
/null
&& test -f Makefile
; then
10776 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
10777 eval `${MAKE-make} acfindx 2>/dev/null | grep -v make`
10778 # Open Windows xmkmf reportedly sets LIBDIR instead of USRLIBDIR.
10779 for ac_extension
in a so sl
; do
10780 if test ! -f $ac_im_usrlibdir/libX11.
$ac_extension &&
10781 test -f $ac_im_libdir/libX11.
$ac_extension; then
10782 ac_im_usrlibdir
=$ac_im_libdir; break
10785 # Screen out bogus values from the imake configuration. They are
10786 # bogus both because they are the default anyway, and because
10787 # using them would break gcc on systems where it needs fixed includes.
10788 case $ac_im_incroot in
10790 *) test -f "$ac_im_incroot/X11/Xos.h" && ac_x_includes
=$ac_im_incroot;;
10792 case $ac_im_usrlibdir in
10793 /usr
/lib |
/lib
) ;;
10794 *) test -d "$ac_im_usrlibdir" && ac_x_libraries
=$ac_im_usrlibdir ;;
10798 rm -fr conftest.dir
10801 # Standard set of common directories for X headers.
10802 # Check X11 before X11Rn because it is often a symlink to the current release.
10814 /usr/local/X11/include
10815 /usr/local/X11R6/include
10816 /usr/local/X11R5/include
10817 /usr/local/X11R4/include
10819 /usr/local/include/X11
10820 /usr/local/include/X11R6
10821 /usr/local/include/X11R5
10822 /usr/local/include/X11R4
10826 /usr/XFree86/include/X11
10830 /usr/unsupported/include
10831 /usr/athena/include
10832 /usr/local/x11r5/include
10833 /usr/lpp/Xamples/include
10835 /usr/openwin/include
10836 /usr/openwin/share/include'
10838 if test "$ac_x_includes" = no
; then
10839 # Guess where to find include files, by looking for Xlib.h.
10840 # First, try using that file with no special directory specified.
10841 cat >conftest.
$ac_ext <<_ACEOF
10844 cat confdefs.h
>>conftest.
$ac_ext
10845 cat >>conftest.
$ac_ext <<_ACEOF
10846 /* end confdefs.h. */
10847 #include <X11/Xlib.h>
10849 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
10850 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
10852 grep -v '^ *+' conftest.er1
>conftest.err
10854 cat conftest.err
>&5
10855 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10856 (exit $ac_status); } >/dev
/null
; then
10857 if test -s conftest.err
; then
10858 ac_cpp_err
=$ac_c_preproc_warn_flag
10859 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
10866 if test -z "$ac_cpp_err"; then
10867 # We can compile using X headers with no special include directory.
10870 echo "$as_me: failed program was:" >&5
10871 sed 's/^/| /' conftest.
$ac_ext >&5
10873 for ac_dir
in $ac_x_header_dirs; do
10874 if test -r "$ac_dir/X11/Xlib.h"; then
10875 ac_x_includes
=$ac_dir
10880 rm -f conftest.err conftest.
$ac_ext
10881 fi # $ac_x_includes = no
10883 if test "$ac_x_libraries" = no
; then
10884 # Check for the libraries.
10885 # See if we find them without any special options.
10886 # Don't add to $LIBS permanently.
10889 if test x
$gcc_no_link = xyes
; then
10890 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
10891 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
10892 { (exit 1); exit 1; }; }
10894 cat >conftest.
$ac_ext <<_ACEOF
10897 cat confdefs.h
>>conftest.
$ac_ext
10898 cat >>conftest.
$ac_ext <<_ACEOF
10899 /* end confdefs.h. */
10900 #include <X11/Xlib.h>
10909 rm -f conftest.
$ac_objext conftest
$ac_exeext
10910 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10911 (eval $ac_link) 2>conftest.er1
10913 grep -v '^ *+' conftest.er1
>conftest.err
10915 cat conftest.err
>&5
10916 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10917 (exit $ac_status); } &&
10918 { ac_try
='test -z "$ac_c_werror_flag"
10919 || test ! -s conftest.err'
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); }; } &&
10925 { ac_try
='test -s conftest$ac_exeext'
10926 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10927 (eval $ac_try) 2>&5
10929 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10930 (exit $ac_status); }; }; then
10932 # We can link X programs with no special library path.
10935 echo "$as_me: failed program was:" >&5
10936 sed 's/^/| /' conftest.
$ac_ext >&5
10939 for ac_dir
in `echo "$ac_x_includes $ac_x_header_dirs" | sed s/include/lib/g`
10941 # Don't even attempt the hair of trying to link an X program!
10942 for ac_extension
in a so sl
; do
10943 if test -r $ac_dir/libXt.
$ac_extension; then
10944 ac_x_libraries
=$ac_dir
10950 rm -f conftest.err conftest.
$ac_objext \
10951 conftest
$ac_exeext conftest.
$ac_ext
10952 fi # $ac_x_libraries = no
10954 if test "$ac_x_includes" = no ||
test "$ac_x_libraries" = no
; then
10955 # Didn't find X anywhere. Cache the known absence of X.
10956 ac_cv_have_x
="have_x=no"
10958 # Record where we found X for the cache.
10959 ac_cv_have_x
="have_x=yes \
10960 ac_x_includes=$ac_x_includes ac_x_libraries=$ac_x_libraries"
10965 eval "$ac_cv_have_x"
10968 if test "$have_x" != yes; then
10969 echo "$as_me:$LINENO: result: $have_x" >&5
10970 echo "${ECHO_T}$have_x" >&6
10973 # If each of the values was on the command line, it overrides each guess.
10974 test "x$x_includes" = xNONE
&& x_includes
=$ac_x_includes
10975 test "x$x_libraries" = xNONE
&& x_libraries
=$ac_x_libraries
10976 # Update the cache value to reflect the command line values.
10977 ac_cv_have_x
="have_x=yes \
10978 ac_x_includes=$x_includes ac_x_libraries=$x_libraries"
10979 echo "$as_me:$LINENO: result: libraries $x_libraries, headers $x_includes" >&5
10980 echo "${ECHO_T}libraries $x_libraries, headers $x_includes" >&6
10983 if test "$no_x" = yes; then
10984 # Not all programs may use this symbol, but it does not hurt to define it.
10986 cat >>confdefs.h
<<\_ACEOF
10987 #define X_DISPLAY_MISSING 1
10990 X_CFLAGS
= X_PRE_LIBS
= X_LIBS
= X_EXTRA_LIBS
=
10992 if test -n "$x_includes"; then
10993 X_CFLAGS
="$X_CFLAGS -I$x_includes"
10996 # It would also be nice to do this for all -L options, not just this one.
10997 if test -n "$x_libraries"; then
10998 X_LIBS
="$X_LIBS -L$x_libraries"
10999 # For Solaris; some versions of Sun CC require a space after -R and
11000 # others require no space. Words are not sufficient . . . .
11001 case `(uname -sr) 2>/dev/null` in
11003 echo "$as_me:$LINENO: checking whether -R must be followed by a space" >&5
11004 echo $ECHO_N "checking whether -R must be followed by a space... $ECHO_C" >&6
11005 ac_xsave_LIBS
=$LIBS; LIBS
="$LIBS -R$x_libraries"
11006 if test x
$gcc_no_link = xyes
; then
11007 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
11008 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
11009 { (exit 1); exit 1; }; }
11011 cat >conftest.
$ac_ext <<_ACEOF
11014 cat confdefs.h
>>conftest.
$ac_ext
11015 cat >>conftest.
$ac_ext <<_ACEOF
11016 /* end confdefs.h. */
11026 rm -f conftest.
$ac_objext conftest
$ac_exeext
11027 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
11028 (eval $ac_link) 2>conftest.er1
11030 grep -v '^ *+' conftest.er1
>conftest.err
11032 cat conftest.err
>&5
11033 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11034 (exit $ac_status); } &&
11035 { ac_try
='test -z "$ac_c_werror_flag"
11036 || test ! -s conftest.err'
11037 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11038 (eval $ac_try) 2>&5
11040 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11041 (exit $ac_status); }; } &&
11042 { ac_try
='test -s conftest$ac_exeext'
11043 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11044 (eval $ac_try) 2>&5
11046 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11047 (exit $ac_status); }; }; then
11050 echo "$as_me: failed program was:" >&5
11051 sed 's/^/| /' conftest.
$ac_ext >&5
11055 rm -f conftest.err conftest.
$ac_objext \
11056 conftest
$ac_exeext conftest.
$ac_ext
11057 if test $ac_R_nospace = yes; then
11058 echo "$as_me:$LINENO: result: no" >&5
11059 echo "${ECHO_T}no" >&6
11060 X_LIBS
="$X_LIBS -R$x_libraries"
11062 LIBS
="$ac_xsave_LIBS -R $x_libraries"
11063 if test x
$gcc_no_link = xyes
; then
11064 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
11065 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
11066 { (exit 1); exit 1; }; }
11068 cat >conftest.
$ac_ext <<_ACEOF
11071 cat confdefs.h
>>conftest.
$ac_ext
11072 cat >>conftest.
$ac_ext <<_ACEOF
11073 /* end confdefs.h. */
11083 rm -f conftest.
$ac_objext conftest
$ac_exeext
11084 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
11085 (eval $ac_link) 2>conftest.er1
11087 grep -v '^ *+' conftest.er1
>conftest.err
11089 cat conftest.err
>&5
11090 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11091 (exit $ac_status); } &&
11092 { ac_try
='test -z "$ac_c_werror_flag"
11093 || test ! -s conftest.err'
11094 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11095 (eval $ac_try) 2>&5
11097 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11098 (exit $ac_status); }; } &&
11099 { ac_try
='test -s conftest$ac_exeext'
11100 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11101 (eval $ac_try) 2>&5
11103 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11104 (exit $ac_status); }; }; then
11107 echo "$as_me: failed program was:" >&5
11108 sed 's/^/| /' conftest.
$ac_ext >&5
11112 rm -f conftest.err conftest.
$ac_objext \
11113 conftest
$ac_exeext conftest.
$ac_ext
11114 if test $ac_R_space = yes; then
11115 echo "$as_me:$LINENO: result: yes" >&5
11116 echo "${ECHO_T}yes" >&6
11117 X_LIBS
="$X_LIBS -R $x_libraries"
11119 echo "$as_me:$LINENO: result: neither works" >&5
11120 echo "${ECHO_T}neither works" >&6
11123 LIBS
=$ac_xsave_LIBS
11127 # Check for system-dependent libraries X programs must link with.
11128 # Do this before checking for the system-independent R6 libraries
11129 # (-lICE), since we may need -lsocket or whatever for X linking.
11131 if test "$ISC" = yes; then
11132 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lnsl_s -linet"
11134 # Martyn Johnson says this is needed for Ultrix, if the X
11135 # libraries were built with DECnet support. And Karl Berry says
11136 # the Alpha needs dnet_stub (dnet does not exist).
11137 ac_xsave_LIBS
="$LIBS"; LIBS
="$LIBS $X_LIBS -lX11"
11138 if test x
$gcc_no_link = xyes
; then
11139 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
11140 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
11141 { (exit 1); exit 1; }; }
11143 cat >conftest.
$ac_ext <<_ACEOF
11146 cat confdefs.h
>>conftest.
$ac_ext
11147 cat >>conftest.
$ac_ext <<_ACEOF
11148 /* end confdefs.h. */
11150 /* Override any gcc2 internal prototype to avoid an error. */
11154 /* We use char because int might match the return type of a gcc2
11155 builtin and then its argument prototype would still apply. */
11156 char XOpenDisplay ();
11165 rm -f conftest.
$ac_objext conftest
$ac_exeext
11166 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
11167 (eval $ac_link) 2>conftest.er1
11169 grep -v '^ *+' conftest.er1
>conftest.err
11171 cat conftest.err
>&5
11172 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11173 (exit $ac_status); } &&
11174 { ac_try
='test -z "$ac_c_werror_flag"
11175 || test ! -s conftest.err'
11176 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11177 (eval $ac_try) 2>&5
11179 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11180 (exit $ac_status); }; } &&
11181 { ac_try
='test -s conftest$ac_exeext'
11182 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11183 (eval $ac_try) 2>&5
11185 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11186 (exit $ac_status); }; }; then
11189 echo "$as_me: failed program was:" >&5
11190 sed 's/^/| /' conftest.
$ac_ext >&5
11192 echo "$as_me:$LINENO: checking for dnet_ntoa in -ldnet" >&5
11193 echo $ECHO_N "checking for dnet_ntoa in -ldnet... $ECHO_C" >&6
11194 if test "${ac_cv_lib_dnet_dnet_ntoa+set}" = set; then
11195 echo $ECHO_N "(cached) $ECHO_C" >&6
11197 ac_check_lib_save_LIBS
=$LIBS
11198 LIBS
="-ldnet $LIBS"
11199 if test x
$gcc_no_link = xyes
; then
11200 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
11201 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
11202 { (exit 1); exit 1; }; }
11204 cat >conftest.
$ac_ext <<_ACEOF
11207 cat confdefs.h
>>conftest.
$ac_ext
11208 cat >>conftest.
$ac_ext <<_ACEOF
11209 /* end confdefs.h. */
11211 /* Override any gcc2 internal prototype to avoid an error. */
11215 /* We use char because int might match the return type of a gcc2
11216 builtin and then its argument prototype would still apply. */
11226 rm -f conftest.
$ac_objext conftest
$ac_exeext
11227 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
11228 (eval $ac_link) 2>conftest.er1
11230 grep -v '^ *+' conftest.er1
>conftest.err
11232 cat conftest.err
>&5
11233 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11234 (exit $ac_status); } &&
11235 { ac_try
='test -z "$ac_c_werror_flag"
11236 || test ! -s conftest.err'
11237 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11238 (eval $ac_try) 2>&5
11240 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11241 (exit $ac_status); }; } &&
11242 { ac_try
='test -s conftest$ac_exeext'
11243 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11244 (eval $ac_try) 2>&5
11246 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11247 (exit $ac_status); }; }; then
11248 ac_cv_lib_dnet_dnet_ntoa
=yes
11250 echo "$as_me: failed program was:" >&5
11251 sed 's/^/| /' conftest.
$ac_ext >&5
11253 ac_cv_lib_dnet_dnet_ntoa
=no
11255 rm -f conftest.err conftest.
$ac_objext \
11256 conftest
$ac_exeext conftest.
$ac_ext
11257 LIBS
=$ac_check_lib_save_LIBS
11259 echo "$as_me:$LINENO: result: $ac_cv_lib_dnet_dnet_ntoa" >&5
11260 echo "${ECHO_T}$ac_cv_lib_dnet_dnet_ntoa" >&6
11261 if test $ac_cv_lib_dnet_dnet_ntoa = yes; then
11262 X_EXTRA_LIBS
="$X_EXTRA_LIBS -ldnet"
11265 if test $ac_cv_lib_dnet_dnet_ntoa = no
; then
11266 echo "$as_me:$LINENO: checking for dnet_ntoa in -ldnet_stub" >&5
11267 echo $ECHO_N "checking for dnet_ntoa in -ldnet_stub... $ECHO_C" >&6
11268 if test "${ac_cv_lib_dnet_stub_dnet_ntoa+set}" = set; then
11269 echo $ECHO_N "(cached) $ECHO_C" >&6
11271 ac_check_lib_save_LIBS
=$LIBS
11272 LIBS
="-ldnet_stub $LIBS"
11273 if test x
$gcc_no_link = xyes
; then
11274 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
11275 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
11276 { (exit 1); exit 1; }; }
11278 cat >conftest.
$ac_ext <<_ACEOF
11281 cat confdefs.h
>>conftest.
$ac_ext
11282 cat >>conftest.
$ac_ext <<_ACEOF
11283 /* end confdefs.h. */
11285 /* Override any gcc2 internal prototype to avoid an error. */
11289 /* We use char because int might match the return type of a gcc2
11290 builtin and then its argument prototype would still apply. */
11300 rm -f conftest.
$ac_objext conftest
$ac_exeext
11301 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
11302 (eval $ac_link) 2>conftest.er1
11304 grep -v '^ *+' conftest.er1
>conftest.err
11306 cat conftest.err
>&5
11307 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11308 (exit $ac_status); } &&
11309 { ac_try
='test -z "$ac_c_werror_flag"
11310 || test ! -s conftest.err'
11311 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11312 (eval $ac_try) 2>&5
11314 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11315 (exit $ac_status); }; } &&
11316 { ac_try
='test -s conftest$ac_exeext'
11317 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11318 (eval $ac_try) 2>&5
11320 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11321 (exit $ac_status); }; }; then
11322 ac_cv_lib_dnet_stub_dnet_ntoa
=yes
11324 echo "$as_me: failed program was:" >&5
11325 sed 's/^/| /' conftest.
$ac_ext >&5
11327 ac_cv_lib_dnet_stub_dnet_ntoa
=no
11329 rm -f conftest.err conftest.
$ac_objext \
11330 conftest
$ac_exeext conftest.
$ac_ext
11331 LIBS
=$ac_check_lib_save_LIBS
11333 echo "$as_me:$LINENO: result: $ac_cv_lib_dnet_stub_dnet_ntoa" >&5
11334 echo "${ECHO_T}$ac_cv_lib_dnet_stub_dnet_ntoa" >&6
11335 if test $ac_cv_lib_dnet_stub_dnet_ntoa = yes; then
11336 X_EXTRA_LIBS
="$X_EXTRA_LIBS -ldnet_stub"
11341 rm -f conftest.err conftest.
$ac_objext \
11342 conftest
$ac_exeext conftest.
$ac_ext
11343 LIBS
="$ac_xsave_LIBS"
11345 # msh@cis.ufl.edu says -lnsl (and -lsocket) are needed for his 386/AT,
11346 # to get the SysV transport functions.
11347 # Chad R. Larson says the Pyramis MIS-ES running DC/OSx (SVR4)
11349 # The nsl library prevents programs from opening the X display
11350 # on Irix 5.2, according to T.E. Dickey.
11351 # The functions gethostbyname, getservbyname, and inet_addr are
11352 # in -lbsd on LynxOS 3.0.1/i386, according to Lars Hecking.
11353 echo "$as_me:$LINENO: checking for gethostbyname" >&5
11354 echo $ECHO_N "checking for gethostbyname... $ECHO_C" >&6
11355 if test "${ac_cv_func_gethostbyname+set}" = set; then
11356 echo $ECHO_N "(cached) $ECHO_C" >&6
11358 if test x
$gcc_no_link = xyes
; then
11359 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
11360 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
11361 { (exit 1); exit 1; }; }
11363 cat >conftest.
$ac_ext <<_ACEOF
11366 cat confdefs.h
>>conftest.
$ac_ext
11367 cat >>conftest.
$ac_ext <<_ACEOF
11368 /* end confdefs.h. */
11369 /* Define gethostbyname to an innocuous variant, in case <limits.h> declares gethostbyname.
11370 For example, HP-UX 11i <limits.h> declares gettimeofday. */
11371 #define gethostbyname innocuous_gethostbyname
11373 /* System header to define __stub macros and hopefully few prototypes,
11374 which can conflict with char gethostbyname (); below.
11375 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
11376 <limits.h> exists even on freestanding compilers. */
11379 # include <limits.h>
11381 # include <assert.h>
11384 #undef gethostbyname
11386 /* Override any gcc2 internal prototype to avoid an error. */
11391 /* We use char because int might match the return type of a gcc2
11392 builtin and then its argument prototype would still apply. */
11393 char gethostbyname ();
11394 /* The GNU C library defines this for functions which it implements
11395 to always fail with ENOSYS. Some functions are actually named
11396 something starting with __ and the normal name is an alias. */
11397 #if defined (__stub_gethostbyname) || defined (__stub___gethostbyname)
11400 char (*f) () = gethostbyname;
11409 return f != gethostbyname;
11414 rm -f conftest.
$ac_objext conftest
$ac_exeext
11415 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
11416 (eval $ac_link) 2>conftest.er1
11418 grep -v '^ *+' conftest.er1
>conftest.err
11420 cat conftest.err
>&5
11421 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11422 (exit $ac_status); } &&
11423 { ac_try
='test -z "$ac_c_werror_flag"
11424 || test ! -s conftest.err'
11425 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11426 (eval $ac_try) 2>&5
11428 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11429 (exit $ac_status); }; } &&
11430 { ac_try
='test -s conftest$ac_exeext'
11431 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11432 (eval $ac_try) 2>&5
11434 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11435 (exit $ac_status); }; }; then
11436 ac_cv_func_gethostbyname
=yes
11438 echo "$as_me: failed program was:" >&5
11439 sed 's/^/| /' conftest.
$ac_ext >&5
11441 ac_cv_func_gethostbyname
=no
11443 rm -f conftest.err conftest.
$ac_objext \
11444 conftest
$ac_exeext conftest.
$ac_ext
11446 echo "$as_me:$LINENO: result: $ac_cv_func_gethostbyname" >&5
11447 echo "${ECHO_T}$ac_cv_func_gethostbyname" >&6
11449 if test $ac_cv_func_gethostbyname = no
; then
11450 echo "$as_me:$LINENO: checking for gethostbyname in -lnsl" >&5
11451 echo $ECHO_N "checking for gethostbyname in -lnsl... $ECHO_C" >&6
11452 if test "${ac_cv_lib_nsl_gethostbyname+set}" = set; then
11453 echo $ECHO_N "(cached) $ECHO_C" >&6
11455 ac_check_lib_save_LIBS
=$LIBS
11457 if test x
$gcc_no_link = xyes
; then
11458 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
11459 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
11460 { (exit 1); exit 1; }; }
11462 cat >conftest.
$ac_ext <<_ACEOF
11465 cat confdefs.h
>>conftest.
$ac_ext
11466 cat >>conftest.
$ac_ext <<_ACEOF
11467 /* end confdefs.h. */
11469 /* Override any gcc2 internal prototype to avoid an error. */
11473 /* We use char because int might match the return type of a gcc2
11474 builtin and then its argument prototype would still apply. */
11475 char gethostbyname ();
11484 rm -f conftest.
$ac_objext conftest
$ac_exeext
11485 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
11486 (eval $ac_link) 2>conftest.er1
11488 grep -v '^ *+' conftest.er1
>conftest.err
11490 cat conftest.err
>&5
11491 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11492 (exit $ac_status); } &&
11493 { ac_try
='test -z "$ac_c_werror_flag"
11494 || test ! -s conftest.err'
11495 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11496 (eval $ac_try) 2>&5
11498 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11499 (exit $ac_status); }; } &&
11500 { ac_try
='test -s conftest$ac_exeext'
11501 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11502 (eval $ac_try) 2>&5
11504 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11505 (exit $ac_status); }; }; then
11506 ac_cv_lib_nsl_gethostbyname
=yes
11508 echo "$as_me: failed program was:" >&5
11509 sed 's/^/| /' conftest.
$ac_ext >&5
11511 ac_cv_lib_nsl_gethostbyname
=no
11513 rm -f conftest.err conftest.
$ac_objext \
11514 conftest
$ac_exeext conftest.
$ac_ext
11515 LIBS
=$ac_check_lib_save_LIBS
11517 echo "$as_me:$LINENO: result: $ac_cv_lib_nsl_gethostbyname" >&5
11518 echo "${ECHO_T}$ac_cv_lib_nsl_gethostbyname" >&6
11519 if test $ac_cv_lib_nsl_gethostbyname = yes; then
11520 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lnsl"
11523 if test $ac_cv_lib_nsl_gethostbyname = no
; then
11524 echo "$as_me:$LINENO: checking for gethostbyname in -lbsd" >&5
11525 echo $ECHO_N "checking for gethostbyname in -lbsd... $ECHO_C" >&6
11526 if test "${ac_cv_lib_bsd_gethostbyname+set}" = set; then
11527 echo $ECHO_N "(cached) $ECHO_C" >&6
11529 ac_check_lib_save_LIBS
=$LIBS
11531 if test x
$gcc_no_link = xyes
; then
11532 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
11533 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
11534 { (exit 1); exit 1; }; }
11536 cat >conftest.
$ac_ext <<_ACEOF
11539 cat confdefs.h
>>conftest.
$ac_ext
11540 cat >>conftest.
$ac_ext <<_ACEOF
11541 /* end confdefs.h. */
11543 /* Override any gcc2 internal prototype to avoid an error. */
11547 /* We use char because int might match the return type of a gcc2
11548 builtin and then its argument prototype would still apply. */
11549 char gethostbyname ();
11558 rm -f conftest.
$ac_objext conftest
$ac_exeext
11559 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
11560 (eval $ac_link) 2>conftest.er1
11562 grep -v '^ *+' conftest.er1
>conftest.err
11564 cat conftest.err
>&5
11565 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11566 (exit $ac_status); } &&
11567 { ac_try
='test -z "$ac_c_werror_flag"
11568 || test ! -s conftest.err'
11569 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11570 (eval $ac_try) 2>&5
11572 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11573 (exit $ac_status); }; } &&
11574 { ac_try
='test -s conftest$ac_exeext'
11575 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11576 (eval $ac_try) 2>&5
11578 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11579 (exit $ac_status); }; }; then
11580 ac_cv_lib_bsd_gethostbyname
=yes
11582 echo "$as_me: failed program was:" >&5
11583 sed 's/^/| /' conftest.
$ac_ext >&5
11585 ac_cv_lib_bsd_gethostbyname
=no
11587 rm -f conftest.err conftest.
$ac_objext \
11588 conftest
$ac_exeext conftest.
$ac_ext
11589 LIBS
=$ac_check_lib_save_LIBS
11591 echo "$as_me:$LINENO: result: $ac_cv_lib_bsd_gethostbyname" >&5
11592 echo "${ECHO_T}$ac_cv_lib_bsd_gethostbyname" >&6
11593 if test $ac_cv_lib_bsd_gethostbyname = yes; then
11594 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lbsd"
11600 # lieder@skyler.mavd.honeywell.com says without -lsocket,
11601 # socket/setsockopt and other routines are undefined under SCO ODT
11602 # 2.0. But -lsocket is broken on IRIX 5.2 (and is not necessary
11603 # on later versions), says Simon Leinen: it contains gethostby*
11604 # variants that don't use the name server (or something). -lsocket
11605 # must be given before -lnsl if both are needed. We assume that
11606 # if connect needs -lnsl, so does gethostbyname.
11607 echo "$as_me:$LINENO: checking for connect" >&5
11608 echo $ECHO_N "checking for connect... $ECHO_C" >&6
11609 if test "${ac_cv_func_connect+set}" = set; then
11610 echo $ECHO_N "(cached) $ECHO_C" >&6
11612 if test x
$gcc_no_link = xyes
; then
11613 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
11614 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
11615 { (exit 1); exit 1; }; }
11617 cat >conftest.
$ac_ext <<_ACEOF
11620 cat confdefs.h
>>conftest.
$ac_ext
11621 cat >>conftest.
$ac_ext <<_ACEOF
11622 /* end confdefs.h. */
11623 /* Define connect to an innocuous variant, in case <limits.h> declares connect.
11624 For example, HP-UX 11i <limits.h> declares gettimeofday. */
11625 #define connect innocuous_connect
11627 /* System header to define __stub macros and hopefully few prototypes,
11628 which can conflict with char connect (); below.
11629 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
11630 <limits.h> exists even on freestanding compilers. */
11633 # include <limits.h>
11635 # include <assert.h>
11640 /* Override any gcc2 internal prototype to avoid an error. */
11645 /* We use char because int might match the return type of a gcc2
11646 builtin and then its argument prototype would still apply. */
11648 /* The GNU C library defines this for functions which it implements
11649 to always fail with ENOSYS. Some functions are actually named
11650 something starting with __ and the normal name is an alias. */
11651 #if defined (__stub_connect) || defined (__stub___connect)
11654 char (*f) () = connect;
11663 return f != connect;
11668 rm -f conftest.
$ac_objext conftest
$ac_exeext
11669 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
11670 (eval $ac_link) 2>conftest.er1
11672 grep -v '^ *+' conftest.er1
>conftest.err
11674 cat conftest.err
>&5
11675 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11676 (exit $ac_status); } &&
11677 { ac_try
='test -z "$ac_c_werror_flag"
11678 || test ! -s conftest.err'
11679 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11680 (eval $ac_try) 2>&5
11682 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11683 (exit $ac_status); }; } &&
11684 { ac_try
='test -s conftest$ac_exeext'
11685 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11686 (eval $ac_try) 2>&5
11688 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11689 (exit $ac_status); }; }; then
11690 ac_cv_func_connect
=yes
11692 echo "$as_me: failed program was:" >&5
11693 sed 's/^/| /' conftest.
$ac_ext >&5
11695 ac_cv_func_connect
=no
11697 rm -f conftest.err conftest.
$ac_objext \
11698 conftest
$ac_exeext conftest.
$ac_ext
11700 echo "$as_me:$LINENO: result: $ac_cv_func_connect" >&5
11701 echo "${ECHO_T}$ac_cv_func_connect" >&6
11703 if test $ac_cv_func_connect = no
; then
11704 echo "$as_me:$LINENO: checking for connect in -lsocket" >&5
11705 echo $ECHO_N "checking for connect in -lsocket... $ECHO_C" >&6
11706 if test "${ac_cv_lib_socket_connect+set}" = set; then
11707 echo $ECHO_N "(cached) $ECHO_C" >&6
11709 ac_check_lib_save_LIBS
=$LIBS
11710 LIBS
="-lsocket $X_EXTRA_LIBS $LIBS"
11711 if test x
$gcc_no_link = xyes
; then
11712 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
11713 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
11714 { (exit 1); exit 1; }; }
11716 cat >conftest.
$ac_ext <<_ACEOF
11719 cat confdefs.h
>>conftest.
$ac_ext
11720 cat >>conftest.
$ac_ext <<_ACEOF
11721 /* end confdefs.h. */
11723 /* Override any gcc2 internal prototype to avoid an error. */
11727 /* We use char because int might match the return type of a gcc2
11728 builtin and then its argument prototype would still apply. */
11738 rm -f conftest.
$ac_objext conftest
$ac_exeext
11739 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
11740 (eval $ac_link) 2>conftest.er1
11742 grep -v '^ *+' conftest.er1
>conftest.err
11744 cat conftest.err
>&5
11745 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11746 (exit $ac_status); } &&
11747 { ac_try
='test -z "$ac_c_werror_flag"
11748 || test ! -s conftest.err'
11749 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11750 (eval $ac_try) 2>&5
11752 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11753 (exit $ac_status); }; } &&
11754 { ac_try
='test -s conftest$ac_exeext'
11755 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11756 (eval $ac_try) 2>&5
11758 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11759 (exit $ac_status); }; }; then
11760 ac_cv_lib_socket_connect
=yes
11762 echo "$as_me: failed program was:" >&5
11763 sed 's/^/| /' conftest.
$ac_ext >&5
11765 ac_cv_lib_socket_connect
=no
11767 rm -f conftest.err conftest.
$ac_objext \
11768 conftest
$ac_exeext conftest.
$ac_ext
11769 LIBS
=$ac_check_lib_save_LIBS
11771 echo "$as_me:$LINENO: result: $ac_cv_lib_socket_connect" >&5
11772 echo "${ECHO_T}$ac_cv_lib_socket_connect" >&6
11773 if test $ac_cv_lib_socket_connect = yes; then
11774 X_EXTRA_LIBS
="-lsocket $X_EXTRA_LIBS"
11779 # Guillermo Gomez says -lposix is necessary on A/UX.
11780 echo "$as_me:$LINENO: checking for remove" >&5
11781 echo $ECHO_N "checking for remove... $ECHO_C" >&6
11782 if test "${ac_cv_func_remove+set}" = set; then
11783 echo $ECHO_N "(cached) $ECHO_C" >&6
11785 if test x
$gcc_no_link = xyes
; then
11786 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
11787 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
11788 { (exit 1); exit 1; }; }
11790 cat >conftest.
$ac_ext <<_ACEOF
11793 cat confdefs.h
>>conftest.
$ac_ext
11794 cat >>conftest.
$ac_ext <<_ACEOF
11795 /* end confdefs.h. */
11796 /* Define remove to an innocuous variant, in case <limits.h> declares remove.
11797 For example, HP-UX 11i <limits.h> declares gettimeofday. */
11798 #define remove innocuous_remove
11800 /* System header to define __stub macros and hopefully few prototypes,
11801 which can conflict with char remove (); below.
11802 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
11803 <limits.h> exists even on freestanding compilers. */
11806 # include <limits.h>
11808 # include <assert.h>
11813 /* Override any gcc2 internal prototype to avoid an error. */
11818 /* We use char because int might match the return type of a gcc2
11819 builtin and then its argument prototype would still apply. */
11821 /* The GNU C library defines this for functions which it implements
11822 to always fail with ENOSYS. Some functions are actually named
11823 something starting with __ and the normal name is an alias. */
11824 #if defined (__stub_remove) || defined (__stub___remove)
11827 char (*f) () = remove;
11836 return f != remove;
11841 rm -f conftest.
$ac_objext conftest
$ac_exeext
11842 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
11843 (eval $ac_link) 2>conftest.er1
11845 grep -v '^ *+' conftest.er1
>conftest.err
11847 cat conftest.err
>&5
11848 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11849 (exit $ac_status); } &&
11850 { ac_try
='test -z "$ac_c_werror_flag"
11851 || test ! -s conftest.err'
11852 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11853 (eval $ac_try) 2>&5
11855 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11856 (exit $ac_status); }; } &&
11857 { ac_try
='test -s conftest$ac_exeext'
11858 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11859 (eval $ac_try) 2>&5
11861 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11862 (exit $ac_status); }; }; then
11863 ac_cv_func_remove
=yes
11865 echo "$as_me: failed program was:" >&5
11866 sed 's/^/| /' conftest.
$ac_ext >&5
11868 ac_cv_func_remove
=no
11870 rm -f conftest.err conftest.
$ac_objext \
11871 conftest
$ac_exeext conftest.
$ac_ext
11873 echo "$as_me:$LINENO: result: $ac_cv_func_remove" >&5
11874 echo "${ECHO_T}$ac_cv_func_remove" >&6
11876 if test $ac_cv_func_remove = no
; then
11877 echo "$as_me:$LINENO: checking for remove in -lposix" >&5
11878 echo $ECHO_N "checking for remove in -lposix... $ECHO_C" >&6
11879 if test "${ac_cv_lib_posix_remove+set}" = set; then
11880 echo $ECHO_N "(cached) $ECHO_C" >&6
11882 ac_check_lib_save_LIBS
=$LIBS
11883 LIBS
="-lposix $LIBS"
11884 if test x
$gcc_no_link = xyes
; then
11885 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
11886 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
11887 { (exit 1); exit 1; }; }
11889 cat >conftest.
$ac_ext <<_ACEOF
11892 cat confdefs.h
>>conftest.
$ac_ext
11893 cat >>conftest.
$ac_ext <<_ACEOF
11894 /* end confdefs.h. */
11896 /* Override any gcc2 internal prototype to avoid an error. */
11900 /* We use char because int might match the return type of a gcc2
11901 builtin and then its argument prototype would still apply. */
11911 rm -f conftest.
$ac_objext conftest
$ac_exeext
11912 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
11913 (eval $ac_link) 2>conftest.er1
11915 grep -v '^ *+' conftest.er1
>conftest.err
11917 cat conftest.err
>&5
11918 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11919 (exit $ac_status); } &&
11920 { ac_try
='test -z "$ac_c_werror_flag"
11921 || test ! -s conftest.err'
11922 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11923 (eval $ac_try) 2>&5
11925 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11926 (exit $ac_status); }; } &&
11927 { ac_try
='test -s conftest$ac_exeext'
11928 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11929 (eval $ac_try) 2>&5
11931 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11932 (exit $ac_status); }; }; then
11933 ac_cv_lib_posix_remove
=yes
11935 echo "$as_me: failed program was:" >&5
11936 sed 's/^/| /' conftest.
$ac_ext >&5
11938 ac_cv_lib_posix_remove
=no
11940 rm -f conftest.err conftest.
$ac_objext \
11941 conftest
$ac_exeext conftest.
$ac_ext
11942 LIBS
=$ac_check_lib_save_LIBS
11944 echo "$as_me:$LINENO: result: $ac_cv_lib_posix_remove" >&5
11945 echo "${ECHO_T}$ac_cv_lib_posix_remove" >&6
11946 if test $ac_cv_lib_posix_remove = yes; then
11947 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lposix"
11952 # BSDI BSD/OS 2.1 needs -lipc for XOpenDisplay.
11953 echo "$as_me:$LINENO: checking for shmat" >&5
11954 echo $ECHO_N "checking for shmat... $ECHO_C" >&6
11955 if test "${ac_cv_func_shmat+set}" = set; then
11956 echo $ECHO_N "(cached) $ECHO_C" >&6
11958 if test x
$gcc_no_link = xyes
; then
11959 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
11960 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
11961 { (exit 1); exit 1; }; }
11963 cat >conftest.
$ac_ext <<_ACEOF
11966 cat confdefs.h
>>conftest.
$ac_ext
11967 cat >>conftest.
$ac_ext <<_ACEOF
11968 /* end confdefs.h. */
11969 /* Define shmat to an innocuous variant, in case <limits.h> declares shmat.
11970 For example, HP-UX 11i <limits.h> declares gettimeofday. */
11971 #define shmat innocuous_shmat
11973 /* System header to define __stub macros and hopefully few prototypes,
11974 which can conflict with char shmat (); below.
11975 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
11976 <limits.h> exists even on freestanding compilers. */
11979 # include <limits.h>
11981 # include <assert.h>
11986 /* Override any gcc2 internal prototype to avoid an error. */
11991 /* We use char because int might match the return type of a gcc2
11992 builtin and then its argument prototype would still apply. */
11994 /* The GNU C library defines this for functions which it implements
11995 to always fail with ENOSYS. Some functions are actually named
11996 something starting with __ and the normal name is an alias. */
11997 #if defined (__stub_shmat) || defined (__stub___shmat)
12000 char (*f) () = shmat;
12014 rm -f conftest.
$ac_objext conftest
$ac_exeext
12015 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12016 (eval $ac_link) 2>conftest.er1
12018 grep -v '^ *+' conftest.er1
>conftest.err
12020 cat conftest.err
>&5
12021 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12022 (exit $ac_status); } &&
12023 { ac_try
='test -z "$ac_c_werror_flag"
12024 || test ! -s conftest.err'
12025 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12026 (eval $ac_try) 2>&5
12028 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12029 (exit $ac_status); }; } &&
12030 { ac_try
='test -s conftest$ac_exeext'
12031 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12032 (eval $ac_try) 2>&5
12034 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12035 (exit $ac_status); }; }; then
12036 ac_cv_func_shmat
=yes
12038 echo "$as_me: failed program was:" >&5
12039 sed 's/^/| /' conftest.
$ac_ext >&5
12041 ac_cv_func_shmat
=no
12043 rm -f conftest.err conftest.
$ac_objext \
12044 conftest
$ac_exeext conftest.
$ac_ext
12046 echo "$as_me:$LINENO: result: $ac_cv_func_shmat" >&5
12047 echo "${ECHO_T}$ac_cv_func_shmat" >&6
12049 if test $ac_cv_func_shmat = no
; then
12050 echo "$as_me:$LINENO: checking for shmat in -lipc" >&5
12051 echo $ECHO_N "checking for shmat in -lipc... $ECHO_C" >&6
12052 if test "${ac_cv_lib_ipc_shmat+set}" = set; then
12053 echo $ECHO_N "(cached) $ECHO_C" >&6
12055 ac_check_lib_save_LIBS
=$LIBS
12057 if test x
$gcc_no_link = xyes
; then
12058 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
12059 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
12060 { (exit 1); exit 1; }; }
12062 cat >conftest.
$ac_ext <<_ACEOF
12065 cat confdefs.h
>>conftest.
$ac_ext
12066 cat >>conftest.
$ac_ext <<_ACEOF
12067 /* end confdefs.h. */
12069 /* Override any gcc2 internal prototype to avoid an error. */
12073 /* We use char because int might match the return type of a gcc2
12074 builtin and then its argument prototype would still apply. */
12084 rm -f conftest.
$ac_objext conftest
$ac_exeext
12085 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12086 (eval $ac_link) 2>conftest.er1
12088 grep -v '^ *+' conftest.er1
>conftest.err
12090 cat conftest.err
>&5
12091 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12092 (exit $ac_status); } &&
12093 { ac_try
='test -z "$ac_c_werror_flag"
12094 || test ! -s conftest.err'
12095 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12096 (eval $ac_try) 2>&5
12098 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12099 (exit $ac_status); }; } &&
12100 { ac_try
='test -s conftest$ac_exeext'
12101 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12102 (eval $ac_try) 2>&5
12104 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12105 (exit $ac_status); }; }; then
12106 ac_cv_lib_ipc_shmat
=yes
12108 echo "$as_me: failed program was:" >&5
12109 sed 's/^/| /' conftest.
$ac_ext >&5
12111 ac_cv_lib_ipc_shmat
=no
12113 rm -f conftest.err conftest.
$ac_objext \
12114 conftest
$ac_exeext conftest.
$ac_ext
12115 LIBS
=$ac_check_lib_save_LIBS
12117 echo "$as_me:$LINENO: result: $ac_cv_lib_ipc_shmat" >&5
12118 echo "${ECHO_T}$ac_cv_lib_ipc_shmat" >&6
12119 if test $ac_cv_lib_ipc_shmat = yes; then
12120 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lipc"
12126 # Check for libraries that X11R6 Xt/Xaw programs need.
12127 ac_save_LDFLAGS
=$LDFLAGS
12128 test -n "$x_libraries" && LDFLAGS
="$LDFLAGS -L$x_libraries"
12129 # SM needs ICE to (dynamically) link under SunOS 4.x (so we have to
12130 # check for ICE first), but we must link in the order -lSM -lICE or
12131 # we get undefined symbols. So assume we have SM if we have ICE.
12132 # These have to be linked with before -lX11, unlike the other
12133 # libraries we check for below, so use a different variable.
12134 # John Interrante, Karl Berry
12135 echo "$as_me:$LINENO: checking for IceConnectionNumber in -lICE" >&5
12136 echo $ECHO_N "checking for IceConnectionNumber in -lICE... $ECHO_C" >&6
12137 if test "${ac_cv_lib_ICE_IceConnectionNumber+set}" = set; then
12138 echo $ECHO_N "(cached) $ECHO_C" >&6
12140 ac_check_lib_save_LIBS
=$LIBS
12141 LIBS
="-lICE $X_EXTRA_LIBS $LIBS"
12142 if test x
$gcc_no_link = xyes
; then
12143 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
12144 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
12145 { (exit 1); exit 1; }; }
12147 cat >conftest.
$ac_ext <<_ACEOF
12150 cat confdefs.h
>>conftest.
$ac_ext
12151 cat >>conftest.
$ac_ext <<_ACEOF
12152 /* end confdefs.h. */
12154 /* Override any gcc2 internal prototype to avoid an error. */
12158 /* We use char because int might match the return type of a gcc2
12159 builtin and then its argument prototype would still apply. */
12160 char IceConnectionNumber ();
12164 IceConnectionNumber ();
12169 rm -f conftest.
$ac_objext conftest
$ac_exeext
12170 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12171 (eval $ac_link) 2>conftest.er1
12173 grep -v '^ *+' conftest.er1
>conftest.err
12175 cat conftest.err
>&5
12176 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12177 (exit $ac_status); } &&
12178 { ac_try
='test -z "$ac_c_werror_flag"
12179 || test ! -s conftest.err'
12180 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12181 (eval $ac_try) 2>&5
12183 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12184 (exit $ac_status); }; } &&
12185 { ac_try
='test -s conftest$ac_exeext'
12186 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12187 (eval $ac_try) 2>&5
12189 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12190 (exit $ac_status); }; }; then
12191 ac_cv_lib_ICE_IceConnectionNumber
=yes
12193 echo "$as_me: failed program was:" >&5
12194 sed 's/^/| /' conftest.
$ac_ext >&5
12196 ac_cv_lib_ICE_IceConnectionNumber
=no
12198 rm -f conftest.err conftest.
$ac_objext \
12199 conftest
$ac_exeext conftest.
$ac_ext
12200 LIBS
=$ac_check_lib_save_LIBS
12202 echo "$as_me:$LINENO: result: $ac_cv_lib_ICE_IceConnectionNumber" >&5
12203 echo "${ECHO_T}$ac_cv_lib_ICE_IceConnectionNumber" >&6
12204 if test $ac_cv_lib_ICE_IceConnectionNumber = yes; then
12205 X_PRE_LIBS
="$X_PRE_LIBS -lSM -lICE"
12208 LDFLAGS
=$ac_save_LDFLAGS
12212 if test "$no_x" = yes; then
12213 { { echo "$as_me:$LINENO: error: GTK+ peers requested but no X library available" >&5
12214 echo "$as_me: error: GTK+ peers requested but no X library available" >&2;}
12215 { (exit 1); exit 1; }; }
12217 echo "$as_me:$LINENO: checking for XTestQueryExtension in -lXtst" >&5
12218 echo $ECHO_N "checking for XTestQueryExtension in -lXtst... $ECHO_C" >&6
12219 if test "${ac_cv_lib_Xtst_XTestQueryExtension+set}" = set; then
12220 echo $ECHO_N "(cached) $ECHO_C" >&6
12222 ac_check_lib_save_LIBS
=$LIBS
12223 LIBS
="-lXtst ${X_LIBS} $LIBS"
12224 if test x
$gcc_no_link = xyes
; then
12225 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
12226 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
12227 { (exit 1); exit 1; }; }
12229 cat >conftest.
$ac_ext <<_ACEOF
12232 cat confdefs.h
>>conftest.
$ac_ext
12233 cat >>conftest.
$ac_ext <<_ACEOF
12234 /* end confdefs.h. */
12236 /* Override any gcc2 internal prototype to avoid an error. */
12240 /* We use char because int might match the return type of a gcc2
12241 builtin and then its argument prototype would still apply. */
12242 char XTestQueryExtension ();
12246 XTestQueryExtension ();
12251 rm -f conftest.
$ac_objext conftest
$ac_exeext
12252 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12253 (eval $ac_link) 2>conftest.er1
12255 grep -v '^ *+' conftest.er1
>conftest.err
12257 cat conftest.err
>&5
12258 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12259 (exit $ac_status); } &&
12260 { ac_try
='test -z "$ac_c_werror_flag"
12261 || test ! -s conftest.err'
12262 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12263 (eval $ac_try) 2>&5
12265 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12266 (exit $ac_status); }; } &&
12267 { ac_try
='test -s conftest$ac_exeext'
12268 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12269 (eval $ac_try) 2>&5
12271 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12272 (exit $ac_status); }; }; then
12273 ac_cv_lib_Xtst_XTestQueryExtension
=yes
12275 echo "$as_me: failed program was:" >&5
12276 sed 's/^/| /' conftest.
$ac_ext >&5
12278 ac_cv_lib_Xtst_XTestQueryExtension
=no
12280 rm -f conftest.err conftest.
$ac_objext \
12281 conftest
$ac_exeext conftest.
$ac_ext
12282 LIBS
=$ac_check_lib_save_LIBS
12284 echo "$as_me:$LINENO: result: $ac_cv_lib_Xtst_XTestQueryExtension" >&5
12285 echo "${ECHO_T}$ac_cv_lib_Xtst_XTestQueryExtension" >&6
12286 if test $ac_cv_lib_Xtst_XTestQueryExtension = yes; then
12287 XTEST_LIBS
="$XTEST_LIBS -lX11 -lXtst"
12289 { { echo "$as_me:$LINENO: error: libXtst NOT found, required for GdkRobot" >&5
12290 echo "$as_me: error: libXtst NOT found, required for GdkRobot" >&2;}
12291 { (exit 1); exit 1; }; }
12298 if test -z "$PKG_CONFIG"; then
12299 # Extract the first word of "pkg-config", so it can be a program name with args.
12300 set dummy pkg-config
; ac_word
=$2
12301 echo "$as_me:$LINENO: checking for $ac_word" >&5
12302 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
12303 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
12304 echo $ECHO_N "(cached) $ECHO_C" >&6
12306 case $PKG_CONFIG in
12308 ac_cv_path_PKG_CONFIG
="$PKG_CONFIG" # Let the user override the test with a path.
12311 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
12312 for as_dir
in $PATH
12315 test -z "$as_dir" && as_dir
=.
12316 for ac_exec_ext
in '' $ac_executable_extensions; do
12317 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
12318 ac_cv_path_PKG_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
12319 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
12325 test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG
="no"
12329 PKG_CONFIG
=$ac_cv_path_PKG_CONFIG
12331 if test -n "$PKG_CONFIG"; then
12332 echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
12333 echo "${ECHO_T}$PKG_CONFIG" >&6
12335 echo "$as_me:$LINENO: result: no" >&5
12336 echo "${ECHO_T}no" >&6
12341 if test "$PKG_CONFIG" = "no" ; then
12342 echo "*** The pkg-config script could not be found. Make sure it is"
12343 echo "*** in your path, or set the PKG_CONFIG environment variable"
12344 echo "*** to the full path to pkg-config."
12345 echo "*** Or see http://www.freedesktop.org/software/pkgconfig to get pkg-config."
12347 PKG_CONFIG_MIN_VERSION
=0.9.0
12348 if $PKG_CONFIG --atleast-pkgconfig-version $PKG_CONFIG_MIN_VERSION; then
12349 echo "$as_me:$LINENO: checking for gtk+-2.0 >= 2.8 gthread-2.0 >= 2.2 gdk-pixbuf-2.0" >&5
12350 echo $ECHO_N "checking for gtk+-2.0 >= 2.8 gthread-2.0 >= 2.2 gdk-pixbuf-2.0... $ECHO_C" >&6
12352 if $PKG_CONFIG --exists "gtk+-2.0 >= 2.8 gthread-2.0 >= 2.2 gdk-pixbuf-2.0" ; then
12353 echo "$as_me:$LINENO: result: yes" >&5
12354 echo "${ECHO_T}yes" >&6
12357 echo "$as_me:$LINENO: checking GTK_CFLAGS" >&5
12358 echo $ECHO_N "checking GTK_CFLAGS... $ECHO_C" >&6
12359 GTK_CFLAGS
=`$PKG_CONFIG --cflags "gtk+-2.0 >= 2.8 gthread-2.0 >= 2.2 gdk-pixbuf-2.0"`
12360 echo "$as_me:$LINENO: result: $GTK_CFLAGS" >&5
12361 echo "${ECHO_T}$GTK_CFLAGS" >&6
12363 echo "$as_me:$LINENO: checking GTK_LIBS" >&5
12364 echo $ECHO_N "checking GTK_LIBS... $ECHO_C" >&6
12365 GTK_LIBS
=`$PKG_CONFIG --libs "gtk+-2.0 >= 2.8 gthread-2.0 >= 2.2 gdk-pixbuf-2.0"`
12366 echo "$as_me:$LINENO: result: $GTK_LIBS" >&5
12367 echo "${ECHO_T}$GTK_LIBS" >&6
12371 ## If we have a custom action on failure, don't print errors, but
12372 ## do set a variable so people can do so.
12373 GTK_PKG_ERRORS
=`$PKG_CONFIG --errors-to-stdout --print-errors "gtk+-2.0 >= 2.8 gthread-2.0 >= 2.2 gdk-pixbuf-2.0"`
12374 echo $GTK_PKG_ERRORS
12380 echo "*** Your version of pkg-config is too old. You need version $PKG_CONFIG_MIN_VERSION or newer."
12381 echo "*** See http://www.freedesktop.org/software/pkgconfig"
12385 if test $succeeded = yes; then
12388 { { echo "$as_me:$LINENO: error: Library requirements (gtk+-2.0 >= 2.8 gthread-2.0 >= 2.2 gdk-pixbuf-2.0) 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
12389 echo "$as_me: error: Library requirements (gtk+-2.0 >= 2.8 gthread-2.0 >= 2.2 gdk-pixbuf-2.0) 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;}
12390 { (exit 1); exit 1; }; }
12396 if test -z "$PKG_CONFIG"; then
12397 # Extract the first word of "pkg-config", so it can be a program name with args.
12398 set dummy pkg-config
; ac_word
=$2
12399 echo "$as_me:$LINENO: checking for $ac_word" >&5
12400 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
12401 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
12402 echo $ECHO_N "(cached) $ECHO_C" >&6
12404 case $PKG_CONFIG in
12406 ac_cv_path_PKG_CONFIG
="$PKG_CONFIG" # Let the user override the test with a path.
12409 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
12410 for as_dir
in $PATH
12413 test -z "$as_dir" && as_dir
=.
12414 for ac_exec_ext
in '' $ac_executable_extensions; do
12415 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
12416 ac_cv_path_PKG_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
12417 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
12423 test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG
="no"
12427 PKG_CONFIG
=$ac_cv_path_PKG_CONFIG
12429 if test -n "$PKG_CONFIG"; then
12430 echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
12431 echo "${ECHO_T}$PKG_CONFIG" >&6
12433 echo "$as_me:$LINENO: result: no" >&5
12434 echo "${ECHO_T}no" >&6
12439 if test "$PKG_CONFIG" = "no" ; then
12440 echo "*** The pkg-config script could not be found. Make sure it is"
12441 echo "*** in your path, or set the PKG_CONFIG environment variable"
12442 echo "*** to the full path to pkg-config."
12443 echo "*** Or see http://www.freedesktop.org/software/pkgconfig to get pkg-config."
12445 PKG_CONFIG_MIN_VERSION
=0.9.0
12446 if $PKG_CONFIG --atleast-pkgconfig-version $PKG_CONFIG_MIN_VERSION; then
12447 echo "$as_me:$LINENO: checking for freetype2" >&5
12448 echo $ECHO_N "checking for freetype2... $ECHO_C" >&6
12450 if $PKG_CONFIG --exists "freetype2" ; then
12451 echo "$as_me:$LINENO: result: yes" >&5
12452 echo "${ECHO_T}yes" >&6
12455 echo "$as_me:$LINENO: checking FREETYPE2_CFLAGS" >&5
12456 echo $ECHO_N "checking FREETYPE2_CFLAGS... $ECHO_C" >&6
12457 FREETYPE2_CFLAGS
=`$PKG_CONFIG --cflags "freetype2"`
12458 echo "$as_me:$LINENO: result: $FREETYPE2_CFLAGS" >&5
12459 echo "${ECHO_T}$FREETYPE2_CFLAGS" >&6
12461 echo "$as_me:$LINENO: checking FREETYPE2_LIBS" >&5
12462 echo $ECHO_N "checking FREETYPE2_LIBS... $ECHO_C" >&6
12463 FREETYPE2_LIBS
=`$PKG_CONFIG --libs "freetype2"`
12464 echo "$as_me:$LINENO: result: $FREETYPE2_LIBS" >&5
12465 echo "${ECHO_T}$FREETYPE2_LIBS" >&6
12467 FREETYPE2_CFLAGS
=""
12469 ## If we have a custom action on failure, don't print errors, but
12470 ## do set a variable so people can do so.
12471 FREETYPE2_PKG_ERRORS
=`$PKG_CONFIG --errors-to-stdout --print-errors "freetype2"`
12472 echo $FREETYPE2_PKG_ERRORS
12478 echo "*** Your version of pkg-config is too old. You need version $PKG_CONFIG_MIN_VERSION or newer."
12479 echo "*** See http://www.freedesktop.org/software/pkgconfig"
12483 if test $succeeded = yes; then
12486 { { echo "$as_me:$LINENO: error: Library requirements (freetype2) 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
12487 echo "$as_me: error: Library requirements (freetype2) 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;}
12488 { (exit 1); exit 1; }; }
12494 if test -z "$PKG_CONFIG"; then
12495 # Extract the first word of "pkg-config", so it can be a program name with args.
12496 set dummy pkg-config
; ac_word
=$2
12497 echo "$as_me:$LINENO: checking for $ac_word" >&5
12498 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
12499 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
12500 echo $ECHO_N "(cached) $ECHO_C" >&6
12502 case $PKG_CONFIG in
12504 ac_cv_path_PKG_CONFIG
="$PKG_CONFIG" # Let the user override the test with a path.
12507 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
12508 for as_dir
in $PATH
12511 test -z "$as_dir" && as_dir
=.
12512 for ac_exec_ext
in '' $ac_executable_extensions; do
12513 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
12514 ac_cv_path_PKG_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
12515 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
12521 test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG
="no"
12525 PKG_CONFIG
=$ac_cv_path_PKG_CONFIG
12527 if test -n "$PKG_CONFIG"; then
12528 echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
12529 echo "${ECHO_T}$PKG_CONFIG" >&6
12531 echo "$as_me:$LINENO: result: no" >&5
12532 echo "${ECHO_T}no" >&6
12537 if test "$PKG_CONFIG" = "no" ; then
12538 echo "*** The pkg-config script could not be found. Make sure it is"
12539 echo "*** in your path, or set the PKG_CONFIG environment variable"
12540 echo "*** to the full path to pkg-config."
12541 echo "*** Or see http://www.freedesktop.org/software/pkgconfig to get pkg-config."
12543 PKG_CONFIG_MIN_VERSION
=0.9.0
12544 if $PKG_CONFIG --atleast-pkgconfig-version $PKG_CONFIG_MIN_VERSION; then
12545 echo "$as_me:$LINENO: checking for pangoft2" >&5
12546 echo $ECHO_N "checking for pangoft2... $ECHO_C" >&6
12548 if $PKG_CONFIG --exists "pangoft2" ; then
12549 echo "$as_me:$LINENO: result: yes" >&5
12550 echo "${ECHO_T}yes" >&6
12553 echo "$as_me:$LINENO: checking PANGOFT2_CFLAGS" >&5
12554 echo $ECHO_N "checking PANGOFT2_CFLAGS... $ECHO_C" >&6
12555 PANGOFT2_CFLAGS
=`$PKG_CONFIG --cflags "pangoft2"`
12556 echo "$as_me:$LINENO: result: $PANGOFT2_CFLAGS" >&5
12557 echo "${ECHO_T}$PANGOFT2_CFLAGS" >&6
12559 echo "$as_me:$LINENO: checking PANGOFT2_LIBS" >&5
12560 echo $ECHO_N "checking PANGOFT2_LIBS... $ECHO_C" >&6
12561 PANGOFT2_LIBS
=`$PKG_CONFIG --libs "pangoft2"`
12562 echo "$as_me:$LINENO: result: $PANGOFT2_LIBS" >&5
12563 echo "${ECHO_T}$PANGOFT2_LIBS" >&6
12567 ## If we have a custom action on failure, don't print errors, but
12568 ## do set a variable so people can do so.
12569 PANGOFT2_PKG_ERRORS
=`$PKG_CONFIG --errors-to-stdout --print-errors "pangoft2"`
12570 echo $PANGOFT2_PKG_ERRORS
12576 echo "*** Your version of pkg-config is too old. You need version $PKG_CONFIG_MIN_VERSION or newer."
12577 echo "*** See http://www.freedesktop.org/software/pkgconfig"
12581 if test $succeeded = yes; then
12584 { { 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
12585 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;}
12586 { (exit 1); exit 1; }; }
12589 echo "$as_me:$LINENO: checking for XRenderQueryExtension in -lXrender" >&5
12590 echo $ECHO_N "checking for XRenderQueryExtension in -lXrender... $ECHO_C" >&6
12591 if test "${ac_cv_lib_Xrender_XRenderQueryExtension+set}" = set; then
12592 echo $ECHO_N "(cached) $ECHO_C" >&6
12594 ac_check_lib_save_LIBS
=$LIBS
12595 LIBS
="-lXrender ${X_LIBS} $LIBS"
12596 if test x
$gcc_no_link = xyes
; then
12597 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
12598 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
12599 { (exit 1); exit 1; }; }
12601 cat >conftest.
$ac_ext <<_ACEOF
12604 cat confdefs.h
>>conftest.
$ac_ext
12605 cat >>conftest.
$ac_ext <<_ACEOF
12606 /* end confdefs.h. */
12608 /* Override any gcc2 internal prototype to avoid an error. */
12612 /* We use char because int might match the return type of a gcc2
12613 builtin and then its argument prototype would still apply. */
12614 char XRenderQueryExtension ();
12618 XRenderQueryExtension ();
12623 rm -f conftest.
$ac_objext conftest
$ac_exeext
12624 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12625 (eval $ac_link) 2>conftest.er1
12627 grep -v '^ *+' conftest.er1
>conftest.err
12629 cat conftest.err
>&5
12630 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12631 (exit $ac_status); } &&
12632 { ac_try
='test -z "$ac_c_werror_flag"
12633 || test ! -s conftest.err'
12634 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12635 (eval $ac_try) 2>&5
12637 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12638 (exit $ac_status); }; } &&
12639 { ac_try
='test -s conftest$ac_exeext'
12640 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12641 (eval $ac_try) 2>&5
12643 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12644 (exit $ac_status); }; }; then
12645 ac_cv_lib_Xrender_XRenderQueryExtension
=yes
12647 echo "$as_me: failed program was:" >&5
12648 sed 's/^/| /' conftest.
$ac_ext >&5
12650 ac_cv_lib_Xrender_XRenderQueryExtension
=no
12652 rm -f conftest.err conftest.
$ac_objext \
12653 conftest
$ac_exeext conftest.
$ac_ext
12654 LIBS
=$ac_check_lib_save_LIBS
12656 echo "$as_me:$LINENO: result: $ac_cv_lib_Xrender_XRenderQueryExtension" >&5
12657 echo "${ECHO_T}$ac_cv_lib_Xrender_XRenderQueryExtension" >&6
12658 if test $ac_cv_lib_Xrender_XRenderQueryExtension = yes; then
12660 cat >>confdefs.h
<<\_ACEOF
12661 #define HAVE_XRENDER 1
12663 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lXrender"
12669 echo "$as_me:$LINENO: checking for XRRQueryExtension in -lXrandr" >&5
12670 echo $ECHO_N "checking for XRRQueryExtension in -lXrandr... $ECHO_C" >&6
12671 if test "${ac_cv_lib_Xrandr_XRRQueryExtension+set}" = set; then
12672 echo $ECHO_N "(cached) $ECHO_C" >&6
12674 ac_check_lib_save_LIBS
=$LIBS
12675 LIBS
="-lXrandr ${X_LIBS} $LIBS"
12676 if test x
$gcc_no_link = xyes
; then
12677 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
12678 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
12679 { (exit 1); exit 1; }; }
12681 cat >conftest.
$ac_ext <<_ACEOF
12684 cat confdefs.h
>>conftest.
$ac_ext
12685 cat >>conftest.
$ac_ext <<_ACEOF
12686 /* end confdefs.h. */
12688 /* Override any gcc2 internal prototype to avoid an error. */
12692 /* We use char because int might match the return type of a gcc2
12693 builtin and then its argument prototype would still apply. */
12694 char XRRQueryExtension ();
12698 XRRQueryExtension ();
12703 rm -f conftest.
$ac_objext conftest
$ac_exeext
12704 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12705 (eval $ac_link) 2>conftest.er1
12707 grep -v '^ *+' conftest.er1
>conftest.err
12709 cat conftest.err
>&5
12710 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12711 (exit $ac_status); } &&
12712 { ac_try
='test -z "$ac_c_werror_flag"
12713 || test ! -s conftest.err'
12714 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12715 (eval $ac_try) 2>&5
12717 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12718 (exit $ac_status); }; } &&
12719 { ac_try
='test -s conftest$ac_exeext'
12720 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12721 (eval $ac_try) 2>&5
12723 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12724 (exit $ac_status); }; }; then
12725 ac_cv_lib_Xrandr_XRRQueryExtension
=yes
12727 echo "$as_me: failed program was:" >&5
12728 sed 's/^/| /' conftest.
$ac_ext >&5
12730 ac_cv_lib_Xrandr_XRRQueryExtension
=no
12732 rm -f conftest.err conftest.
$ac_objext \
12733 conftest
$ac_exeext conftest.
$ac_ext
12734 LIBS
=$ac_check_lib_save_LIBS
12736 echo "$as_me:$LINENO: result: $ac_cv_lib_Xrandr_XRRQueryExtension" >&5
12737 echo "${ECHO_T}$ac_cv_lib_Xrandr_XRRQueryExtension" >&6
12738 if test $ac_cv_lib_Xrandr_XRRQueryExtension = yes; then
12740 cat >>confdefs.h
<<\_ACEOF
12741 #define HAVE_XRANDR 1
12743 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lXrandr"
12758 if test "x${COMPILE_GCONF_PEER}" = xyes
; then
12762 if test -z "$PKG_CONFIG"; then
12763 # Extract the first word of "pkg-config", so it can be a program name with args.
12764 set dummy pkg-config
; ac_word
=$2
12765 echo "$as_me:$LINENO: checking for $ac_word" >&5
12766 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
12767 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
12768 echo $ECHO_N "(cached) $ECHO_C" >&6
12770 case $PKG_CONFIG in
12772 ac_cv_path_PKG_CONFIG
="$PKG_CONFIG" # Let the user override the test with a path.
12775 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
12776 for as_dir
in $PATH
12779 test -z "$as_dir" && as_dir
=.
12780 for ac_exec_ext
in '' $ac_executable_extensions; do
12781 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
12782 ac_cv_path_PKG_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
12783 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
12789 test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG
="no"
12793 PKG_CONFIG
=$ac_cv_path_PKG_CONFIG
12795 if test -n "$PKG_CONFIG"; then
12796 echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
12797 echo "${ECHO_T}$PKG_CONFIG" >&6
12799 echo "$as_me:$LINENO: result: no" >&5
12800 echo "${ECHO_T}no" >&6
12805 if test "$PKG_CONFIG" = "no" ; then
12806 echo "*** The pkg-config script could not be found. Make sure it is"
12807 echo "*** in your path, or set the PKG_CONFIG environment variable"
12808 echo "*** to the full path to pkg-config."
12809 echo "*** Or see http://www.freedesktop.org/software/pkgconfig to get pkg-config."
12811 PKG_CONFIG_MIN_VERSION
=0.9.0
12812 if $PKG_CONFIG --atleast-pkgconfig-version $PKG_CONFIG_MIN_VERSION; then
12813 echo "$as_me:$LINENO: checking for gconf-2.0 >= 2.11.2" >&5
12814 echo $ECHO_N "checking for gconf-2.0 >= 2.11.2... $ECHO_C" >&6
12816 if $PKG_CONFIG --exists "gconf-2.0 >= 2.11.2" ; then
12817 echo "$as_me:$LINENO: result: yes" >&5
12818 echo "${ECHO_T}yes" >&6
12821 echo "$as_me:$LINENO: checking GCONF_CFLAGS" >&5
12822 echo $ECHO_N "checking GCONF_CFLAGS... $ECHO_C" >&6
12823 GCONF_CFLAGS
=`$PKG_CONFIG --cflags "gconf-2.0 >= 2.11.2"`
12824 echo "$as_me:$LINENO: result: $GCONF_CFLAGS" >&5
12825 echo "${ECHO_T}$GCONF_CFLAGS" >&6
12827 echo "$as_me:$LINENO: checking GCONF_LIBS" >&5
12828 echo $ECHO_N "checking GCONF_LIBS... $ECHO_C" >&6
12829 GCONF_LIBS
=`$PKG_CONFIG --libs "gconf-2.0 >= 2.11.2"`
12830 echo "$as_me:$LINENO: result: $GCONF_LIBS" >&5
12831 echo "${ECHO_T}$GCONF_LIBS" >&6
12835 ## If we have a custom action on failure, don't print errors, but
12836 ## do set a variable so people can do so.
12837 GCONF_PKG_ERRORS
=`$PKG_CONFIG --errors-to-stdout --print-errors "gconf-2.0 >= 2.11.2"`
12838 echo $GCONF_PKG_ERRORS
12844 echo "*** Your version of pkg-config is too old. You need version $PKG_CONFIG_MIN_VERSION or newer."
12845 echo "*** See http://www.freedesktop.org/software/pkgconfig"
12849 if test $succeeded = yes; then
12852 { { echo "$as_me:$LINENO: error: Library requirements (gconf-2.0 >= 2.11.2) 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
12853 echo "$as_me: error: Library requirements (gconf-2.0 >= 2.11.2) 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;}
12854 { (exit 1); exit 1; }; }
12862 if test -z "$PKG_CONFIG"; then
12863 # Extract the first word of "pkg-config", so it can be a program name with args.
12864 set dummy pkg-config
; ac_word
=$2
12865 echo "$as_me:$LINENO: checking for $ac_word" >&5
12866 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
12867 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
12868 echo $ECHO_N "(cached) $ECHO_C" >&6
12870 case $PKG_CONFIG in
12872 ac_cv_path_PKG_CONFIG
="$PKG_CONFIG" # Let the user override the test with a path.
12875 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
12876 for as_dir
in $PATH
12879 test -z "$as_dir" && as_dir
=.
12880 for ac_exec_ext
in '' $ac_executable_extensions; do
12881 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
12882 ac_cv_path_PKG_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
12883 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
12889 test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG
="no"
12893 PKG_CONFIG
=$ac_cv_path_PKG_CONFIG
12895 if test -n "$PKG_CONFIG"; then
12896 echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
12897 echo "${ECHO_T}$PKG_CONFIG" >&6
12899 echo "$as_me:$LINENO: result: no" >&5
12900 echo "${ECHO_T}no" >&6
12905 if test "$PKG_CONFIG" = "no" ; then
12906 echo "*** The pkg-config script could not be found. Make sure it is"
12907 echo "*** in your path, or set the PKG_CONFIG environment variable"
12908 echo "*** to the full path to pkg-config."
12909 echo "*** Or see http://www.freedesktop.org/software/pkgconfig to get pkg-config."
12911 PKG_CONFIG_MIN_VERSION
=0.9.0
12912 if $PKG_CONFIG --atleast-pkgconfig-version $PKG_CONFIG_MIN_VERSION; then
12913 echo "$as_me:$LINENO: checking for gdk-2.0 >= 2.8" >&5
12914 echo $ECHO_N "checking for gdk-2.0 >= 2.8... $ECHO_C" >&6
12916 if $PKG_CONFIG --exists "gdk-2.0 >= 2.8" ; then
12917 echo "$as_me:$LINENO: result: yes" >&5
12918 echo "${ECHO_T}yes" >&6
12921 echo "$as_me:$LINENO: checking GDK_CFLAGS" >&5
12922 echo $ECHO_N "checking GDK_CFLAGS... $ECHO_C" >&6
12923 GDK_CFLAGS
=`$PKG_CONFIG --cflags "gdk-2.0 >= 2.8"`
12924 echo "$as_me:$LINENO: result: $GDK_CFLAGS" >&5
12925 echo "${ECHO_T}$GDK_CFLAGS" >&6
12927 echo "$as_me:$LINENO: checking GDK_LIBS" >&5
12928 echo $ECHO_N "checking GDK_LIBS... $ECHO_C" >&6
12929 GDK_LIBS
=`$PKG_CONFIG --libs "gdk-2.0 >= 2.8"`
12930 echo "$as_me:$LINENO: result: $GDK_LIBS" >&5
12931 echo "${ECHO_T}$GDK_LIBS" >&6
12935 ## If we have a custom action on failure, don't print errors, but
12936 ## do set a variable so people can do so.
12937 GDK_PKG_ERRORS
=`$PKG_CONFIG --errors-to-stdout --print-errors "gdk-2.0 >= 2.8"`
12938 echo $GDK_PKG_ERRORS
12944 echo "*** Your version of pkg-config is too old. You need version $PKG_CONFIG_MIN_VERSION or newer."
12945 echo "*** See http://www.freedesktop.org/software/pkgconfig"
12949 if test $succeeded = yes; then
12952 { { echo "$as_me:$LINENO: error: Library requirements (gdk-2.0 >= 2.8) 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
12953 echo "$as_me: error: Library requirements (gdk-2.0 >= 2.8) 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;}
12954 { (exit 1); exit 1; }; }
12959 USE_GCONF_PREFS_PEER
=$enable_default_preferences_peer
12960 if test "$USE_GCONF_PREFS_PEER" = ""; then
12961 DEFAULT_PREFS_PEER
=gnu.java.util.prefs.GConfBasedFactory
12965 if test "x${COMPILE_QT_PEER}" = xyes
; then
12969 if test -z "$PKG_CONFIG"; then
12970 # Extract the first word of "pkg-config", so it can be a program name with args.
12971 set dummy pkg-config
; ac_word
=$2
12972 echo "$as_me:$LINENO: checking for $ac_word" >&5
12973 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
12974 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
12975 echo $ECHO_N "(cached) $ECHO_C" >&6
12977 case $PKG_CONFIG in
12979 ac_cv_path_PKG_CONFIG
="$PKG_CONFIG" # Let the user override the test with a path.
12982 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
12983 for as_dir
in $PATH
12986 test -z "$as_dir" && as_dir
=.
12987 for ac_exec_ext
in '' $ac_executable_extensions; do
12988 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
12989 ac_cv_path_PKG_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
12990 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
12996 test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG
="no"
13000 PKG_CONFIG
=$ac_cv_path_PKG_CONFIG
13002 if test -n "$PKG_CONFIG"; then
13003 echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
13004 echo "${ECHO_T}$PKG_CONFIG" >&6
13006 echo "$as_me:$LINENO: result: no" >&5
13007 echo "${ECHO_T}no" >&6
13012 if test "$PKG_CONFIG" = "no" ; then
13013 echo "*** The pkg-config script could not be found. Make sure it is"
13014 echo "*** in your path, or set the PKG_CONFIG environment variable"
13015 echo "*** to the full path to pkg-config."
13016 echo "*** Or see http://www.freedesktop.org/software/pkgconfig to get pkg-config."
13018 PKG_CONFIG_MIN_VERSION
=0.9.0
13019 if $PKG_CONFIG --atleast-pkgconfig-version $PKG_CONFIG_MIN_VERSION; then
13020 echo "$as_me:$LINENO: checking for QtCore QtGui >= 4.1.0" >&5
13021 echo $ECHO_N "checking for QtCore QtGui >= 4.1.0... $ECHO_C" >&6
13023 if $PKG_CONFIG --exists "QtCore QtGui >= 4.1.0" ; then
13024 echo "$as_me:$LINENO: result: yes" >&5
13025 echo "${ECHO_T}yes" >&6
13028 echo "$as_me:$LINENO: checking QT_CFLAGS" >&5
13029 echo $ECHO_N "checking QT_CFLAGS... $ECHO_C" >&6
13030 QT_CFLAGS
=`$PKG_CONFIG --cflags "QtCore QtGui >= 4.1.0"`
13031 echo "$as_me:$LINENO: result: $QT_CFLAGS" >&5
13032 echo "${ECHO_T}$QT_CFLAGS" >&6
13034 echo "$as_me:$LINENO: checking QT_LIBS" >&5
13035 echo $ECHO_N "checking QT_LIBS... $ECHO_C" >&6
13036 QT_LIBS
=`$PKG_CONFIG --libs "QtCore QtGui >= 4.1.0"`
13037 echo "$as_me:$LINENO: result: $QT_LIBS" >&5
13038 echo "${ECHO_T}$QT_LIBS" >&6
13042 ## If we have a custom action on failure, don't print errors, but
13043 ## do set a variable so people can do so.
13044 QT_PKG_ERRORS
=`$PKG_CONFIG --errors-to-stdout --print-errors "QtCore QtGui >= 4.1.0"`
13051 echo "*** Your version of pkg-config is too old. You need version $PKG_CONFIG_MIN_VERSION or newer."
13052 echo "*** See http://www.freedesktop.org/software/pkgconfig"
13056 if test $succeeded = yes; then
13062 if test "x$HAVE_QT4" = "xyes"; then
13063 QT_INCLUDE_DIR
=`$PKG_CONFIG --variable=includedir QtGui`
13064 EXTRA_QT_INCLUDE_DIR
="$QT_INCLUDE_DIR/Qt"
13065 as_ac_File
=`echo "ac_cv_file_$QT_INCLUDE_DIR/QWidget" | $as_tr_sh`
13066 echo "$as_me:$LINENO: checking for $QT_INCLUDE_DIR/QWidget" >&5
13067 echo $ECHO_N "checking for $QT_INCLUDE_DIR/QWidget... $ECHO_C" >&6
13068 if eval "test \"\${$as_ac_File+set}\" = set"; then
13069 echo $ECHO_N "(cached) $ECHO_C" >&6
13071 test "$cross_compiling" = yes &&
13072 { { echo "$as_me:$LINENO: error: cannot check for file existence when cross compiling" >&5
13073 echo "$as_me: error: cannot check for file existence when cross compiling" >&2;}
13074 { (exit 1); exit 1; }; }
13075 if test -r "$QT_INCLUDE_DIR/QWidget"; then
13076 eval "$as_ac_File=yes"
13078 eval "$as_ac_File=no"
13081 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_File'}'`" >&5
13082 echo "${ECHO_T}`eval echo '${'$as_ac_File'}'`" >&6
13083 if test `eval echo '${'$as_ac_File'}'` = yes; then
13084 { echo "$as_me:$LINENO: No extra QT_INCLUDE_DIR needed" >&5
13085 echo "$as_me: No extra QT_INCLUDE_DIR needed" >&6;}
13087 as_ac_File
=`echo "ac_cv_file_$EXTRA_QT_INCLUDE_DIR/QWidget" | $as_tr_sh`
13088 echo "$as_me:$LINENO: checking for $EXTRA_QT_INCLUDE_DIR/QWidget" >&5
13089 echo $ECHO_N "checking for $EXTRA_QT_INCLUDE_DIR/QWidget... $ECHO_C" >&6
13090 if eval "test \"\${$as_ac_File+set}\" = set"; then
13091 echo $ECHO_N "(cached) $ECHO_C" >&6
13093 test "$cross_compiling" = yes &&
13094 { { echo "$as_me:$LINENO: error: cannot check for file existence when cross compiling" >&5
13095 echo "$as_me: error: cannot check for file existence when cross compiling" >&2;}
13096 { (exit 1); exit 1; }; }
13097 if test -r "$EXTRA_QT_INCLUDE_DIR/QWidget"; then
13098 eval "$as_ac_File=yes"
13100 eval "$as_ac_File=no"
13103 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_File'}'`" >&5
13104 echo "${ECHO_T}`eval echo '${'$as_ac_File'}'`" >&6
13105 if test `eval echo '${'$as_ac_File'}'` = yes; then
13106 QT_CFLAGS
="$QT_CFLAGS -I$EXTRA_QT_INCLUDE_DIR"
13108 { echo "$as_me:$LINENO: WARNING: QWidget not found" >&5
13109 echo "$as_me: WARNING: QWidget not found" >&2;}
13114 # Extract the first word of "moc", so it can be a program name with args.
13115 set dummy moc
; ac_word
=$2
13116 echo "$as_me:$LINENO: checking for $ac_word" >&5
13117 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
13118 if test "${ac_cv_prog_MOC+set}" = set; then
13119 echo $ECHO_N "(cached) $ECHO_C" >&6
13121 if test -n "$MOC"; then
13122 ac_cv_prog_MOC
="$MOC" # Let the user override the test.
13124 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
13125 for as_dir
in $PATH
13128 test -z "$as_dir" && as_dir
=.
13129 for ac_exec_ext
in '' $ac_executable_extensions; do
13130 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
13131 ac_cv_prog_MOC
="moc"
13132 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
13140 MOC
=$ac_cv_prog_MOC
13141 if test -n "$MOC"; then
13142 echo "$as_me:$LINENO: result: $MOC" >&5
13143 echo "${ECHO_T}$MOC" >&6
13145 echo "$as_me:$LINENO: result: no" >&5
13146 echo "${ECHO_T}no" >&6
13149 # Extract the first word of "moc-qt4", so it can be a program name with args.
13150 set dummy moc-qt4
; ac_word
=$2
13151 echo "$as_me:$LINENO: checking for $ac_word" >&5
13152 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
13153 if test "${ac_cv_prog_MOC+set}" = set; then
13154 echo $ECHO_N "(cached) $ECHO_C" >&6
13156 if test -n "$MOC"; then
13157 ac_cv_prog_MOC
="$MOC" # Let the user override the test.
13159 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
13160 for as_dir
in $PATH
13163 test -z "$as_dir" && as_dir
=.
13164 for ac_exec_ext
in '' $ac_executable_extensions; do
13165 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
13166 ac_cv_prog_MOC
="moc-qt4"
13167 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
13175 MOC
=$ac_cv_prog_MOC
13176 if test -n "$MOC"; then
13177 echo "$as_me:$LINENO: result: $MOC" >&5
13178 echo "${ECHO_T}$MOC" >&6
13180 echo "$as_me:$LINENO: result: no" >&5
13181 echo "${ECHO_T}no" >&6
13185 if test "x$HAVE_QT4" = "xno"; then
13186 { echo "$as_me:$LINENO: Looking for QT_CFLAGS and QT_LIBS without pkg-config" >&5
13187 echo "$as_me: Looking for QT_CFLAGS and QT_LIBS without pkg-config" >&6;}
13191 # Check whether --with-qt4dir or --without-qt4dir was given.
13192 if test "${with_qt4dir+set}" = set; then
13193 withval
="$with_qt4dir"
13197 if test x
"$QT4DIR" = x
; then
13198 { { echo "$as_me:$LINENO: error: *** No path for Qt4 --with-qt4dir option given" >&5
13199 echo "$as_me: error: *** No path for Qt4 --with-qt4dir option given" >&2;}
13200 { (exit 1); exit 1; }; }
13202 echo "$as_me:$LINENO: result: QT4DIR... $QT4DIR" >&5
13203 echo "${ECHO_T}QT4DIR... $QT4DIR" >&6
13204 # Extract the first word of "moc", so it can be a program name with args.
13205 set dummy moc
; ac_word
=$2
13206 echo "$as_me:$LINENO: checking for $ac_word" >&5
13207 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
13208 if test "${ac_cv_prog_MOC+set}" = set; then
13209 echo $ECHO_N "(cached) $ECHO_C" >&6
13211 if test -n "$MOC"; then
13212 ac_cv_prog_MOC
="$MOC" # Let the user override the test.
13214 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
13215 for as_dir
in $QT4DIR/bin
13218 test -z "$as_dir" && as_dir
=.
13219 for ac_exec_ext
in '' $ac_executable_extensions; do
13220 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
13221 ac_cv_prog_MOC
="$QT4DIR/bin/moc"
13222 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
13230 MOC
=$ac_cv_prog_MOC
13231 if test -n "$MOC"; then
13232 echo "$as_me:$LINENO: result: $MOC" >&5
13233 echo "${ECHO_T}$MOC" >&6
13235 echo "$as_me:$LINENO: result: no" >&5
13236 echo "${ECHO_T}no" >&6
13239 if test x
"$MOC" = x
; then
13240 { { echo "$as_me:$LINENO: error: *** This is not the right Qt installation" >&5
13241 echo "$as_me: error: *** This is not the right Qt installation" >&2;}
13242 { (exit 1); exit 1; }; }
13244 QT_CFLAGS
="-F$QT4DIR/lib -I$QT4DIR/lib/QtCore.framework/Headers"
13245 QT_CFLAGS
="$QT_CFLAGS -I$QT4DIR/lib/QtGui.framework/Headers"
13246 QT_LIBS
="-Xlinker -F$QT4DIR/lib -Xlinker -framework -Xlinker QtCore"
13247 QT_LIBS
="$QT_LIBS -Xlinker -framework -Xlinker QtGui"
13250 { { echo "$as_me:$LINENO: error: *** Please check PKG_CONFIG_PATH or the version
13251 of your installed Qt4 installation." >&5
13252 echo "$as_me: error: *** Please check PKG_CONFIG_PATH or the version
13253 of your installed Qt4 installation." >&2;}
13254 { (exit 1); exit 1; }; }
13258 { echo "$as_me:$LINENO: Set QT_CFLAGS... $QT_CFLAGS" >&5
13259 echo "$as_me: Set QT_CFLAGS... $QT_CFLAGS" >&6;}
13263 echo "$as_me:$LINENO: checking for MSG_NOSIGNAL" >&5
13264 echo $ECHO_N "checking for MSG_NOSIGNAL... $ECHO_C" >&6
13265 cat >conftest.
$ac_ext <<_ACEOF
13268 cat confdefs.h
>>conftest.
$ac_ext
13269 cat >>conftest.
$ac_ext <<_ACEOF
13270 /* end confdefs.h. */
13271 #include <sys/socket.h>
13275 int f = MSG_NOSIGNAL;
13280 rm -f conftest.
$ac_objext
13281 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13282 (eval $ac_compile) 2>conftest.er1
13284 grep -v '^ *+' conftest.er1
>conftest.err
13286 cat conftest.err
>&5
13287 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13288 (exit $ac_status); } &&
13289 { ac_try
='test -z "$ac_c_werror_flag"
13290 || test ! -s conftest.err'
13291 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13292 (eval $ac_try) 2>&5
13294 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13295 (exit $ac_status); }; } &&
13296 { ac_try
='test -s conftest.$ac_objext'
13297 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13298 (eval $ac_try) 2>&5
13300 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13301 (exit $ac_status); }; }; then
13302 echo "$as_me:$LINENO: result: yes" >&5
13303 echo "${ECHO_T}yes" >&6
13305 cat >>confdefs.h
<<\_ACEOF
13306 #define HAVE_MSG_NOSIGNAL 1
13310 echo "$as_me: failed program was:" >&5
13311 sed 's/^/| /' conftest.
$ac_ext >&5
13313 echo "$as_me:$LINENO: result: no" >&5
13314 echo "${ECHO_T}no" >&6
13317 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
13318 echo "$as_me:$LINENO: checking for SO_NOSIGPIPE " >&5
13319 echo $ECHO_N "checking for SO_NOSIGPIPE ... $ECHO_C" >&6
13320 cat >conftest.
$ac_ext <<_ACEOF
13323 cat confdefs.h
>>conftest.
$ac_ext
13324 cat >>conftest.
$ac_ext <<_ACEOF
13325 /* end confdefs.h. */
13326 #include <sys/socket.h>
13330 int f = SO_NOSIGPIPE;
13335 rm -f conftest.
$ac_objext
13336 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13337 (eval $ac_compile) 2>conftest.er1
13339 grep -v '^ *+' conftest.er1
>conftest.err
13341 cat conftest.err
>&5
13342 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13343 (exit $ac_status); } &&
13344 { ac_try
='test -z "$ac_c_werror_flag"
13345 || test ! -s conftest.err'
13346 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13347 (eval $ac_try) 2>&5
13349 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13350 (exit $ac_status); }; } &&
13351 { ac_try
='test -s conftest.$ac_objext'
13352 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13353 (eval $ac_try) 2>&5
13355 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13356 (exit $ac_status); }; }; then
13357 echo "$as_me:$LINENO: result: yes" >&5
13358 echo "${ECHO_T}yes" >&6
13360 cat >>confdefs.h
<<\_ACEOF
13361 #define HAVE_SO_NOSIGPIPE 1
13365 echo "$as_me: failed program was:" >&5
13366 sed 's/^/| /' conftest.
$ac_ext >&5
13368 echo "$as_me:$LINENO: result: no" >&5
13369 echo "${ECHO_T}no" >&6
13372 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
13374 if test "x${COMPILE_PLUGIN}" = xyes
; then
13378 if test -z "$PKG_CONFIG"; then
13379 # Extract the first word of "pkg-config", so it can be a program name with args.
13380 set dummy pkg-config
; ac_word
=$2
13381 echo "$as_me:$LINENO: checking for $ac_word" >&5
13382 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
13383 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
13384 echo $ECHO_N "(cached) $ECHO_C" >&6
13386 case $PKG_CONFIG in
13388 ac_cv_path_PKG_CONFIG
="$PKG_CONFIG" # Let the user override the test with a path.
13391 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
13392 for as_dir
in $PATH
13395 test -z "$as_dir" && as_dir
=.
13396 for ac_exec_ext
in '' $ac_executable_extensions; do
13397 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
13398 ac_cv_path_PKG_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
13399 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
13405 test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG
="no"
13409 PKG_CONFIG
=$ac_cv_path_PKG_CONFIG
13411 if test -n "$PKG_CONFIG"; then
13412 echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
13413 echo "${ECHO_T}$PKG_CONFIG" >&6
13415 echo "$as_me:$LINENO: result: no" >&5
13416 echo "${ECHO_T}no" >&6
13421 if test "$PKG_CONFIG" = "no" ; then
13422 echo "*** The pkg-config script could not be found. Make sure it is"
13423 echo "*** in your path, or set the PKG_CONFIG environment variable"
13424 echo "*** to the full path to pkg-config."
13425 echo "*** Or see http://www.freedesktop.org/software/pkgconfig to get pkg-config."
13427 PKG_CONFIG_MIN_VERSION
=0.9.0
13428 if $PKG_CONFIG --atleast-pkgconfig-version $PKG_CONFIG_MIN_VERSION; then
13429 echo "$as_me:$LINENO: checking for mozilla-plugin" >&5
13430 echo $ECHO_N "checking for mozilla-plugin... $ECHO_C" >&6
13432 if $PKG_CONFIG --exists "mozilla-plugin" ; then
13433 echo "$as_me:$LINENO: result: yes" >&5
13434 echo "${ECHO_T}yes" >&6
13437 echo "$as_me:$LINENO: checking MOZILLA_CFLAGS" >&5
13438 echo $ECHO_N "checking MOZILLA_CFLAGS... $ECHO_C" >&6
13439 MOZILLA_CFLAGS
=`$PKG_CONFIG --cflags "mozilla-plugin"`
13440 echo "$as_me:$LINENO: result: $MOZILLA_CFLAGS" >&5
13441 echo "${ECHO_T}$MOZILLA_CFLAGS" >&6
13443 echo "$as_me:$LINENO: checking MOZILLA_LIBS" >&5
13444 echo $ECHO_N "checking MOZILLA_LIBS... $ECHO_C" >&6
13445 MOZILLA_LIBS
=`$PKG_CONFIG --libs "mozilla-plugin"`
13446 echo "$as_me:$LINENO: result: $MOZILLA_LIBS" >&5
13447 echo "${ECHO_T}$MOZILLA_LIBS" >&6
13451 ## If we have a custom action on failure, don't print errors, but
13452 ## do set a variable so people can do so.
13453 MOZILLA_PKG_ERRORS
=`$PKG_CONFIG --errors-to-stdout --print-errors "mozilla-plugin"`
13460 echo "*** Your version of pkg-config is too old. You need version $PKG_CONFIG_MIN_VERSION or newer."
13461 echo "*** See http://www.freedesktop.org/software/pkgconfig"
13465 if test $succeeded = yes; then
13471 if test "x${MOZILLA_FOUND}" = xno
; then
13475 if test -z "$PKG_CONFIG"; then
13476 # Extract the first word of "pkg-config", so it can be a program name with args.
13477 set dummy pkg-config
; ac_word
=$2
13478 echo "$as_me:$LINENO: checking for $ac_word" >&5
13479 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
13480 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
13481 echo $ECHO_N "(cached) $ECHO_C" >&6
13483 case $PKG_CONFIG in
13485 ac_cv_path_PKG_CONFIG
="$PKG_CONFIG" # Let the user override the test with a path.
13488 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
13489 for as_dir
in $PATH
13492 test -z "$as_dir" && as_dir
=.
13493 for ac_exec_ext
in '' $ac_executable_extensions; do
13494 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
13495 ac_cv_path_PKG_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
13496 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
13502 test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG
="no"
13506 PKG_CONFIG
=$ac_cv_path_PKG_CONFIG
13508 if test -n "$PKG_CONFIG"; then
13509 echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
13510 echo "${ECHO_T}$PKG_CONFIG" >&6
13512 echo "$as_me:$LINENO: result: no" >&5
13513 echo "${ECHO_T}no" >&6
13518 if test "$PKG_CONFIG" = "no" ; then
13519 echo "*** The pkg-config script could not be found. Make sure it is"
13520 echo "*** in your path, or set the PKG_CONFIG environment variable"
13521 echo "*** to the full path to pkg-config."
13522 echo "*** Or see http://www.freedesktop.org/software/pkgconfig to get pkg-config."
13524 PKG_CONFIG_MIN_VERSION
=0.9.0
13525 if $PKG_CONFIG --atleast-pkgconfig-version $PKG_CONFIG_MIN_VERSION; then
13526 echo "$as_me:$LINENO: checking for firefox-plugin firefox-xpcom" >&5
13527 echo $ECHO_N "checking for firefox-plugin firefox-xpcom... $ECHO_C" >&6
13529 if $PKG_CONFIG --exists "firefox-plugin firefox-xpcom" ; then
13530 echo "$as_me:$LINENO: result: yes" >&5
13531 echo "${ECHO_T}yes" >&6
13534 echo "$as_me:$LINENO: checking MOZILLA_CFLAGS" >&5
13535 echo $ECHO_N "checking MOZILLA_CFLAGS... $ECHO_C" >&6
13536 MOZILLA_CFLAGS
=`$PKG_CONFIG --cflags "firefox-plugin firefox-xpcom"`
13537 echo "$as_me:$LINENO: result: $MOZILLA_CFLAGS" >&5
13538 echo "${ECHO_T}$MOZILLA_CFLAGS" >&6
13540 echo "$as_me:$LINENO: checking MOZILLA_LIBS" >&5
13541 echo $ECHO_N "checking MOZILLA_LIBS... $ECHO_C" >&6
13542 MOZILLA_LIBS
=`$PKG_CONFIG --libs "firefox-plugin firefox-xpcom"`
13543 echo "$as_me:$LINENO: result: $MOZILLA_LIBS" >&5
13544 echo "${ECHO_T}$MOZILLA_LIBS" >&6
13548 ## If we have a custom action on failure, don't print errors, but
13549 ## do set a variable so people can do so.
13550 MOZILLA_PKG_ERRORS
=`$PKG_CONFIG --errors-to-stdout --print-errors "firefox-plugin firefox-xpcom"`
13557 echo "*** Your version of pkg-config is too old. You need version $PKG_CONFIG_MIN_VERSION or newer."
13558 echo "*** See http://www.freedesktop.org/software/pkgconfig"
13562 if test $succeeded = yes; then
13569 if test "x${MOZILLA_FOUND}" = xno
; then
13573 if test -z "$PKG_CONFIG"; then
13574 # Extract the first word of "pkg-config", so it can be a program name with args.
13575 set dummy pkg-config
; ac_word
=$2
13576 echo "$as_me:$LINENO: checking for $ac_word" >&5
13577 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
13578 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
13579 echo $ECHO_N "(cached) $ECHO_C" >&6
13581 case $PKG_CONFIG in
13583 ac_cv_path_PKG_CONFIG
="$PKG_CONFIG" # Let the user override the test with a path.
13586 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
13587 for as_dir
in $PATH
13590 test -z "$as_dir" && as_dir
=.
13591 for ac_exec_ext
in '' $ac_executable_extensions; do
13592 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
13593 ac_cv_path_PKG_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
13594 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
13600 test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG
="no"
13604 PKG_CONFIG
=$ac_cv_path_PKG_CONFIG
13606 if test -n "$PKG_CONFIG"; then
13607 echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
13608 echo "${ECHO_T}$PKG_CONFIG" >&6
13610 echo "$as_me:$LINENO: result: no" >&5
13611 echo "${ECHO_T}no" >&6
13616 if test "$PKG_CONFIG" = "no" ; then
13617 echo "*** The pkg-config script could not be found. Make sure it is"
13618 echo "*** in your path, or set the PKG_CONFIG environment variable"
13619 echo "*** to the full path to pkg-config."
13620 echo "*** Or see http://www.freedesktop.org/software/pkgconfig to get pkg-config."
13622 PKG_CONFIG_MIN_VERSION
=0.9.0
13623 if $PKG_CONFIG --atleast-pkgconfig-version $PKG_CONFIG_MIN_VERSION; then
13624 echo "$as_me:$LINENO: checking for xulrunner-plugin xulrunner-xpcom" >&5
13625 echo $ECHO_N "checking for xulrunner-plugin xulrunner-xpcom... $ECHO_C" >&6
13627 if $PKG_CONFIG --exists "xulrunner-plugin xulrunner-xpcom" ; then
13628 echo "$as_me:$LINENO: result: yes" >&5
13629 echo "${ECHO_T}yes" >&6
13632 echo "$as_me:$LINENO: checking MOZILLA_CFLAGS" >&5
13633 echo $ECHO_N "checking MOZILLA_CFLAGS... $ECHO_C" >&6
13634 MOZILLA_CFLAGS
=`$PKG_CONFIG --cflags "xulrunner-plugin xulrunner-xpcom"`
13635 echo "$as_me:$LINENO: result: $MOZILLA_CFLAGS" >&5
13636 echo "${ECHO_T}$MOZILLA_CFLAGS" >&6
13638 echo "$as_me:$LINENO: checking MOZILLA_LIBS" >&5
13639 echo $ECHO_N "checking MOZILLA_LIBS... $ECHO_C" >&6
13640 MOZILLA_LIBS
=`$PKG_CONFIG --libs "xulrunner-plugin xulrunner-xpcom"`
13641 echo "$as_me:$LINENO: result: $MOZILLA_LIBS" >&5
13642 echo "${ECHO_T}$MOZILLA_LIBS" >&6
13646 ## If we have a custom action on failure, don't print errors, but
13647 ## do set a variable so people can do so.
13648 MOZILLA_PKG_ERRORS
=`$PKG_CONFIG --errors-to-stdout --print-errors "xulrunner-plugin xulrunner-xpcom"`
13655 echo "*** Your version of pkg-config is too old. You need version $PKG_CONFIG_MIN_VERSION or newer."
13656 echo "*** See http://www.freedesktop.org/software/pkgconfig"
13660 if test $succeeded = yes; then
13667 if test "x${MOZILLA_FOUND}" = xno
; then
13671 if test -z "$PKG_CONFIG"; then
13672 # Extract the first word of "pkg-config", so it can be a program name with args.
13673 set dummy pkg-config
; ac_word
=$2
13674 echo "$as_me:$LINENO: checking for $ac_word" >&5
13675 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
13676 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
13677 echo $ECHO_N "(cached) $ECHO_C" >&6
13679 case $PKG_CONFIG in
13681 ac_cv_path_PKG_CONFIG
="$PKG_CONFIG" # Let the user override the test with a path.
13684 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
13685 for as_dir
in $PATH
13688 test -z "$as_dir" && as_dir
=.
13689 for ac_exec_ext
in '' $ac_executable_extensions; do
13690 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
13691 ac_cv_path_PKG_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
13692 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
13698 test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG
="no"
13702 PKG_CONFIG
=$ac_cv_path_PKG_CONFIG
13704 if test -n "$PKG_CONFIG"; then
13705 echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
13706 echo "${ECHO_T}$PKG_CONFIG" >&6
13708 echo "$as_me:$LINENO: result: no" >&5
13709 echo "${ECHO_T}no" >&6
13714 if test "$PKG_CONFIG" = "no" ; then
13715 echo "*** The pkg-config script could not be found. Make sure it is"
13716 echo "*** in your path, or set the PKG_CONFIG environment variable"
13717 echo "*** to the full path to pkg-config."
13718 echo "*** Or see http://www.freedesktop.org/software/pkgconfig to get pkg-config."
13720 PKG_CONFIG_MIN_VERSION
=0.9.0
13721 if $PKG_CONFIG --atleast-pkgconfig-version $PKG_CONFIG_MIN_VERSION; then
13722 echo "$as_me:$LINENO: checking for mozilla-firefox-plugin mozilla-firefox-xpcom" >&5
13723 echo $ECHO_N "checking for mozilla-firefox-plugin mozilla-firefox-xpcom... $ECHO_C" >&6
13725 if $PKG_CONFIG --exists "mozilla-firefox-plugin mozilla-firefox-xpcom" ; then
13726 echo "$as_me:$LINENO: result: yes" >&5
13727 echo "${ECHO_T}yes" >&6
13730 echo "$as_me:$LINENO: checking MOZILLA_CFLAGS" >&5
13731 echo $ECHO_N "checking MOZILLA_CFLAGS... $ECHO_C" >&6
13732 MOZILLA_CFLAGS
=`$PKG_CONFIG --cflags "mozilla-firefox-plugin mozilla-firefox-xpcom"`
13733 echo "$as_me:$LINENO: result: $MOZILLA_CFLAGS" >&5
13734 echo "${ECHO_T}$MOZILLA_CFLAGS" >&6
13736 echo "$as_me:$LINENO: checking MOZILLA_LIBS" >&5
13737 echo $ECHO_N "checking MOZILLA_LIBS... $ECHO_C" >&6
13738 MOZILLA_LIBS
=`$PKG_CONFIG --libs "mozilla-firefox-plugin mozilla-firefox-xpcom"`
13739 echo "$as_me:$LINENO: result: $MOZILLA_LIBS" >&5
13740 echo "${ECHO_T}$MOZILLA_LIBS" >&6
13744 ## If we have a custom action on failure, don't print errors, but
13745 ## do set a variable so people can do so.
13746 MOZILLA_PKG_ERRORS
=`$PKG_CONFIG --errors-to-stdout --print-errors "mozilla-firefox-plugin mozilla-firefox-xpcom"`
13753 echo "*** Your version of pkg-config is too old. You need version $PKG_CONFIG_MIN_VERSION or newer."
13754 echo "*** See http://www.freedesktop.org/software/pkgconfig"
13758 if test $succeeded = yes; then
13765 if test "x${MOZILLA_FOUND}" = xno
; then
13769 if test -z "$PKG_CONFIG"; then
13770 # Extract the first word of "pkg-config", so it can be a program name with args.
13771 set dummy pkg-config
; ac_word
=$2
13772 echo "$as_me:$LINENO: checking for $ac_word" >&5
13773 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
13774 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
13775 echo $ECHO_N "(cached) $ECHO_C" >&6
13777 case $PKG_CONFIG in
13779 ac_cv_path_PKG_CONFIG
="$PKG_CONFIG" # Let the user override the test with a path.
13782 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
13783 for as_dir
in $PATH
13786 test -z "$as_dir" && as_dir
=.
13787 for ac_exec_ext
in '' $ac_executable_extensions; do
13788 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
13789 ac_cv_path_PKG_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
13790 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
13796 test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG
="no"
13800 PKG_CONFIG
=$ac_cv_path_PKG_CONFIG
13802 if test -n "$PKG_CONFIG"; then
13803 echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
13804 echo "${ECHO_T}$PKG_CONFIG" >&6
13806 echo "$as_me:$LINENO: result: no" >&5
13807 echo "${ECHO_T}no" >&6
13812 if test "$PKG_CONFIG" = "no" ; then
13813 echo "*** The pkg-config script could not be found. Make sure it is"
13814 echo "*** in your path, or set the PKG_CONFIG environment variable"
13815 echo "*** to the full path to pkg-config."
13816 echo "*** Or see http://www.freedesktop.org/software/pkgconfig to get pkg-config."
13818 PKG_CONFIG_MIN_VERSION
=0.9.0
13819 if $PKG_CONFIG --atleast-pkgconfig-version $PKG_CONFIG_MIN_VERSION; then
13820 echo "$as_me:$LINENO: checking for seamonkey-plugin seamonkey-xpcom" >&5
13821 echo $ECHO_N "checking for seamonkey-plugin seamonkey-xpcom... $ECHO_C" >&6
13823 if $PKG_CONFIG --exists "seamonkey-plugin seamonkey-xpcom" ; then
13824 echo "$as_me:$LINENO: result: yes" >&5
13825 echo "${ECHO_T}yes" >&6
13828 echo "$as_me:$LINENO: checking MOZILLA_CFLAGS" >&5
13829 echo $ECHO_N "checking MOZILLA_CFLAGS... $ECHO_C" >&6
13830 MOZILLA_CFLAGS
=`$PKG_CONFIG --cflags "seamonkey-plugin seamonkey-xpcom"`
13831 echo "$as_me:$LINENO: result: $MOZILLA_CFLAGS" >&5
13832 echo "${ECHO_T}$MOZILLA_CFLAGS" >&6
13834 echo "$as_me:$LINENO: checking MOZILLA_LIBS" >&5
13835 echo $ECHO_N "checking MOZILLA_LIBS... $ECHO_C" >&6
13836 MOZILLA_LIBS
=`$PKG_CONFIG --libs "seamonkey-plugin seamonkey-xpcom"`
13837 echo "$as_me:$LINENO: result: $MOZILLA_LIBS" >&5
13838 echo "${ECHO_T}$MOZILLA_LIBS" >&6
13842 ## If we have a custom action on failure, don't print errors, but
13843 ## do set a variable so people can do so.
13844 MOZILLA_PKG_ERRORS
=`$PKG_CONFIG --errors-to-stdout --print-errors "seamonkey-plugin seamonkey-xpcom"`
13851 echo "*** Your version of pkg-config is too old. You need version $PKG_CONFIG_MIN_VERSION or newer."
13852 echo "*** See http://www.freedesktop.org/software/pkgconfig"
13856 if test $succeeded = yes; then
13866 if test -z "$PKG_CONFIG"; then
13867 # Extract the first word of "pkg-config", so it can be a program name with args.
13868 set dummy pkg-config
; ac_word
=$2
13869 echo "$as_me:$LINENO: checking for $ac_word" >&5
13870 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
13871 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
13872 echo $ECHO_N "(cached) $ECHO_C" >&6
13874 case $PKG_CONFIG in
13876 ac_cv_path_PKG_CONFIG
="$PKG_CONFIG" # Let the user override the test with a path.
13879 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
13880 for as_dir
in $PATH
13883 test -z "$as_dir" && as_dir
=.
13884 for ac_exec_ext
in '' $ac_executable_extensions; do
13885 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
13886 ac_cv_path_PKG_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
13887 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
13893 test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG
="no"
13897 PKG_CONFIG
=$ac_cv_path_PKG_CONFIG
13899 if test -n "$PKG_CONFIG"; then
13900 echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
13901 echo "${ECHO_T}$PKG_CONFIG" >&6
13903 echo "$as_me:$LINENO: result: no" >&5
13904 echo "${ECHO_T}no" >&6
13909 if test "$PKG_CONFIG" = "no" ; then
13910 echo "*** The pkg-config script could not be found. Make sure it is"
13911 echo "*** in your path, or set the PKG_CONFIG environment variable"
13912 echo "*** to the full path to pkg-config."
13913 echo "*** Or see http://www.freedesktop.org/software/pkgconfig to get pkg-config."
13915 PKG_CONFIG_MIN_VERSION
=0.9.0
13916 if $PKG_CONFIG --atleast-pkgconfig-version $PKG_CONFIG_MIN_VERSION; then
13917 echo "$as_me:$LINENO: checking for glib-2.0" >&5
13918 echo $ECHO_N "checking for glib-2.0... $ECHO_C" >&6
13920 if $PKG_CONFIG --exists "glib-2.0" ; then
13921 echo "$as_me:$LINENO: result: yes" >&5
13922 echo "${ECHO_T}yes" >&6
13925 echo "$as_me:$LINENO: checking GLIB_CFLAGS" >&5
13926 echo $ECHO_N "checking GLIB_CFLAGS... $ECHO_C" >&6
13927 GLIB_CFLAGS
=`$PKG_CONFIG --cflags "glib-2.0"`
13928 echo "$as_me:$LINENO: result: $GLIB_CFLAGS" >&5
13929 echo "${ECHO_T}$GLIB_CFLAGS" >&6
13931 echo "$as_me:$LINENO: checking GLIB_LIBS" >&5
13932 echo $ECHO_N "checking GLIB_LIBS... $ECHO_C" >&6
13933 GLIB_LIBS
=`$PKG_CONFIG --libs "glib-2.0"`
13934 echo "$as_me:$LINENO: result: $GLIB_LIBS" >&5
13935 echo "${ECHO_T}$GLIB_LIBS" >&6
13939 ## If we have a custom action on failure, don't print errors, but
13940 ## do set a variable so people can do so.
13941 GLIB_PKG_ERRORS
=`$PKG_CONFIG --errors-to-stdout --print-errors "glib-2.0"`
13942 echo $GLIB_PKG_ERRORS
13948 echo "*** Your version of pkg-config is too old. You need version $PKG_CONFIG_MIN_VERSION or newer."
13949 echo "*** See http://www.freedesktop.org/software/pkgconfig"
13953 if test $succeeded = yes; then
13956 { { echo "$as_me:$LINENO: error: Library requirements (glib-2.0) 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
13957 echo "$as_me: error: Library requirements (glib-2.0) 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;}
13958 { (exit 1); exit 1; }; }
13967 PLUGIN_DIR
=$HOME/.mozilla
/plugins
/
13974 # Check whether --with-javah or --without-javah was given.
13975 if test "${with_javah+set}" = set; then
13976 withval
="$with_javah"
13978 if test "x${withval}" != x && test "x${withval}" != xyes && test "x${withval}" != xno
; then
13980 if test "x${withval}" != x
; then
13981 if test -f "${withval}"; then
13982 USER_JAVAH
="${withval}"
13984 # Extract the first word of ""${withval}"", so it can be a program name with args.
13985 set dummy
"${withval}"; ac_word
=$2
13986 echo "$as_me:$LINENO: checking for $ac_word" >&5
13987 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
13988 if test "${ac_cv_path_USER_JAVAH+set}" = set; then
13989 echo $ECHO_N "(cached) $ECHO_C" >&6
13991 case $USER_JAVAH in
13993 ac_cv_path_USER_JAVAH
="$USER_JAVAH" # Let the user override the test with a path.
13996 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
13997 for as_dir
in $PATH
14000 test -z "$as_dir" && as_dir
=.
14001 for ac_exec_ext
in '' $ac_executable_extensions; do
14002 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
14003 ac_cv_path_USER_JAVAH
="$as_dir/$ac_word$ac_exec_ext"
14004 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
14013 USER_JAVAH
=$ac_cv_path_USER_JAVAH
14015 if test -n "$USER_JAVAH"; then
14016 echo "$as_me:$LINENO: result: $USER_JAVAH" >&5
14017 echo "${ECHO_T}$USER_JAVAH" >&6
14019 echo "$as_me:$LINENO: result: no" >&5
14020 echo "${ECHO_T}no" >&6
14025 for javah_name
in gcjh javah
; do
14026 # Extract the first word of ""$javah_name"", so it can be a program name with args.
14027 set dummy
"$javah_name"; ac_word
=$2
14028 echo "$as_me:$LINENO: checking for $ac_word" >&5
14029 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
14030 if test "${ac_cv_path_USER_JAVAH+set}" = set; then
14031 echo $ECHO_N "(cached) $ECHO_C" >&6
14033 case $USER_JAVAH in
14035 ac_cv_path_USER_JAVAH
="$USER_JAVAH" # Let the user override the test with a path.
14038 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
14039 for as_dir
in $PATH
14042 test -z "$as_dir" && as_dir
=.
14043 for ac_exec_ext
in '' $ac_executable_extensions; do
14044 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
14045 ac_cv_path_USER_JAVAH
="$as_dir/$ac_word$ac_exec_ext"
14046 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
14055 USER_JAVAH
=$ac_cv_path_USER_JAVAH
14057 if test -n "$USER_JAVAH"; then
14058 echo "$as_me:$LINENO: result: $USER_JAVAH" >&5
14059 echo "${ECHO_T}$USER_JAVAH" >&6
14061 echo "$as_me:$LINENO: result: no" >&5
14062 echo "${ECHO_T}no" >&6
14065 if test "x${USER_JAVAH}" != x
; then
14071 # if test "x${USER_JAVAH}" = x; then
14072 # echo "configure: cannot find javah" 1>&2
14078 if test "x" != x
; then
14079 if test -f ""; then
14082 # Extract the first word of """", so it can be a program name with args.
14083 set dummy
""; ac_word
=$2
14084 echo "$as_me:$LINENO: checking for $ac_word" >&5
14085 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
14086 if test "${ac_cv_path_USER_JAVAH+set}" = set; then
14087 echo $ECHO_N "(cached) $ECHO_C" >&6
14089 case $USER_JAVAH in
14091 ac_cv_path_USER_JAVAH
="$USER_JAVAH" # Let the user override the test with a path.
14094 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
14095 for as_dir
in $PATH
14098 test -z "$as_dir" && as_dir
=.
14099 for ac_exec_ext
in '' $ac_executable_extensions; do
14100 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
14101 ac_cv_path_USER_JAVAH
="$as_dir/$ac_word$ac_exec_ext"
14102 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
14111 USER_JAVAH
=$ac_cv_path_USER_JAVAH
14113 if test -n "$USER_JAVAH"; then
14114 echo "$as_me:$LINENO: result: $USER_JAVAH" >&5
14115 echo "${ECHO_T}$USER_JAVAH" >&6
14117 echo "$as_me:$LINENO: result: no" >&5
14118 echo "${ECHO_T}no" >&6
14123 for javah_name
in gcjh javah
; do
14124 # Extract the first word of ""$javah_name"", so it can be a program name with args.
14125 set dummy
"$javah_name"; ac_word
=$2
14126 echo "$as_me:$LINENO: checking for $ac_word" >&5
14127 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
14128 if test "${ac_cv_path_USER_JAVAH+set}" = set; then
14129 echo $ECHO_N "(cached) $ECHO_C" >&6
14131 case $USER_JAVAH in
14133 ac_cv_path_USER_JAVAH
="$USER_JAVAH" # Let the user override the test with a path.
14136 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
14137 for as_dir
in $PATH
14140 test -z "$as_dir" && as_dir
=.
14141 for ac_exec_ext
in '' $ac_executable_extensions; do
14142 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
14143 ac_cv_path_USER_JAVAH
="$as_dir/$ac_word$ac_exec_ext"
14144 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
14153 USER_JAVAH
=$ac_cv_path_USER_JAVAH
14155 if test -n "$USER_JAVAH"; then
14156 echo "$as_me:$LINENO: result: $USER_JAVAH" >&5
14157 echo "${ECHO_T}$USER_JAVAH" >&6
14159 echo "$as_me:$LINENO: result: no" >&5
14160 echo "${ECHO_T}no" >&6
14163 if test "x${USER_JAVAH}" != x
; then
14169 # if test "x${USER_JAVAH}" = x; then
14170 # echo "configure: cannot find javah" 1>&2
14179 if test "x" != x
; then
14180 if test -f ""; then
14183 # Extract the first word of """", so it can be a program name with args.
14184 set dummy
""; ac_word
=$2
14185 echo "$as_me:$LINENO: checking for $ac_word" >&5
14186 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
14187 if test "${ac_cv_path_USER_JAVAH+set}" = set; then
14188 echo $ECHO_N "(cached) $ECHO_C" >&6
14190 case $USER_JAVAH in
14192 ac_cv_path_USER_JAVAH
="$USER_JAVAH" # Let the user override the test with a path.
14195 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
14196 for as_dir
in $PATH
14199 test -z "$as_dir" && as_dir
=.
14200 for ac_exec_ext
in '' $ac_executable_extensions; do
14201 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
14202 ac_cv_path_USER_JAVAH
="$as_dir/$ac_word$ac_exec_ext"
14203 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
14212 USER_JAVAH
=$ac_cv_path_USER_JAVAH
14214 if test -n "$USER_JAVAH"; then
14215 echo "$as_me:$LINENO: result: $USER_JAVAH" >&5
14216 echo "${ECHO_T}$USER_JAVAH" >&6
14218 echo "$as_me:$LINENO: result: no" >&5
14219 echo "${ECHO_T}no" >&6
14224 for javah_name
in gcjh javah
; do
14225 # Extract the first word of ""$javah_name"", so it can be a program name with args.
14226 set dummy
"$javah_name"; ac_word
=$2
14227 echo "$as_me:$LINENO: checking for $ac_word" >&5
14228 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
14229 if test "${ac_cv_path_USER_JAVAH+set}" = set; then
14230 echo $ECHO_N "(cached) $ECHO_C" >&6
14232 case $USER_JAVAH in
14234 ac_cv_path_USER_JAVAH
="$USER_JAVAH" # Let the user override the test with a path.
14237 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
14238 for as_dir
in $PATH
14241 test -z "$as_dir" && as_dir
=.
14242 for ac_exec_ext
in '' $ac_executable_extensions; do
14243 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
14244 ac_cv_path_USER_JAVAH
="$as_dir/$ac_word$ac_exec_ext"
14245 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
14254 USER_JAVAH
=$ac_cv_path_USER_JAVAH
14256 if test -n "$USER_JAVAH"; then
14257 echo "$as_me:$LINENO: result: $USER_JAVAH" >&5
14258 echo "${ECHO_T}$USER_JAVAH" >&6
14260 echo "$as_me:$LINENO: result: no" >&5
14261 echo "${ECHO_T}no" >&6
14264 if test "x${USER_JAVAH}" != x
; then
14270 # if test "x${USER_JAVAH}" = x; then
14271 # echo "configure: cannot find javah" 1>&2
14279 if test "x${USER_JAVAH}" != x
; then
14280 USER_SPECIFIED_JAVAH_TRUE
=
14281 USER_SPECIFIED_JAVAH_FALSE
='#'
14283 USER_SPECIFIED_JAVAH_TRUE
='#'
14284 USER_SPECIFIED_JAVAH_FALSE
=
14290 CLASSPATH_INCLUDES
="-I\$(top_srcdir)/include -I\$(top_srcdir)/native/jni/classpath -I\$(top_srcdir)/native/jni/native-lib"
14293 if test "x${COMPILE_JNI}" = xyes
; then
14294 echo "$as_me:$LINENO: checking jni_md.h support" >&5
14295 echo $ECHO_N "checking jni_md.h support... $ECHO_C" >&6
14296 if test -f ${srcdir}/include/jni_md-${target_cpu}-${target_os}.h
; then
14297 echo "$as_me:$LINENO: result: yes" >&5
14298 echo "${ECHO_T}yes" >&6
14301 target_os
=linux-gnu
14302 { echo "$as_me:$LINENO: WARNING: no" >&5
14303 echo "$as_me: WARNING: no" >&2;}
14305 ac_sources
="include/jni_md-${target_cpu}-${target_os}.h"
14306 ac_dests
="include/jni_md.h"
14307 while test -n "$ac_sources"; do
14308 set $ac_dests; ac_dest
=$1; shift; ac_dests
=$
*
14309 set $ac_sources; ac_source
=$1; shift; ac_sources
=$
*
14310 ac_config_links_1
="$ac_config_links_1 $ac_dest:$ac_source"
14312 ac_config_links
="$ac_config_links $ac_config_links_1"
14317 user_specified_javac
=
14321 # Check whether --with-gcj or --without-gcj was given.
14322 if test "${with_gcj+set}" = set; then
14323 withval
="$with_gcj"
14325 if test "x${withval}" != x && test "x${withval}" != xyes && test "x${withval}" != xno
; then
14327 if test "x${withval}" != x
; then
14328 if test -f "${withval}"; then
14331 # Extract the first word of ""${withval}"", so it can be a program name with args.
14332 set dummy
"${withval}"; ac_word
=$2
14333 echo "$as_me:$LINENO: checking for $ac_word" >&5
14334 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
14335 if test "${ac_cv_path_GCJ+set}" = set; then
14336 echo $ECHO_N "(cached) $ECHO_C" >&6
14340 ac_cv_path_GCJ
="$GCJ" # Let the user override the test with a path.
14343 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
14344 for as_dir
in $PATH
14347 test -z "$as_dir" && as_dir
=.
14348 for ac_exec_ext
in '' $ac_executable_extensions; do
14349 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
14350 ac_cv_path_GCJ
="$as_dir/$ac_word$ac_exec_ext"
14351 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
14360 GCJ
=$ac_cv_path_GCJ
14362 if test -n "$GCJ"; then
14363 echo "$as_me:$LINENO: result: $GCJ" >&5
14364 echo "${ECHO_T}$GCJ" >&6
14366 echo "$as_me:$LINENO: result: no" >&5
14367 echo "${ECHO_T}no" >&6
14372 # Extract the first word of ""gcj"", so it can be a program name with args.
14373 set dummy
"gcj"; ac_word
=$2
14374 echo "$as_me:$LINENO: checking for $ac_word" >&5
14375 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
14376 if test "${ac_cv_path_GCJ+set}" = set; then
14377 echo $ECHO_N "(cached) $ECHO_C" >&6
14381 ac_cv_path_GCJ
="$GCJ" # Let the user override the test with a path.
14384 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
14385 for as_dir
in $PATH
14388 test -z "$as_dir" && as_dir
=.
14389 for ac_exec_ext
in '' $ac_executable_extensions; do
14390 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
14391 ac_cv_path_GCJ
="$as_dir/$ac_word$ac_exec_ext"
14392 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
14401 GCJ
=$ac_cv_path_GCJ
14403 if test -n "$GCJ"; then
14404 echo "$as_me:$LINENO: result: $GCJ" >&5
14405 echo "${ECHO_T}$GCJ" >&6
14407 echo "$as_me:$LINENO: result: no" >&5
14408 echo "${ECHO_T}no" >&6
14412 if test "x$GCJ" != x
; then
14413 echo "$as_me:$LINENO: checking gcj version 4.0" >&5
14414 echo $ECHO_N "checking gcj version 4.0... $ECHO_C" >&6
14416 ac_cpp
='$CPP $CPPFLAGS'
14417 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14418 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14419 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
14421 cat >conftest.
$ac_ext <<_ACEOF
14423 #error GCJ 4.0.0 or higher is required
14427 $GCJ -E conftest.c
> /dev
/null
14429 if test "x$gcj_4_result" = "x0"; then
14430 echo "$as_me:$LINENO: result: 4.0 or higher found" >&5
14431 echo "${ECHO_T}4.0 or higher found" >&6
14433 { echo "$as_me:$LINENO: WARNING: 4.0 or higher required" >&5
14434 echo "$as_me: WARNING: 4.0 or higher required" >&2;}
14437 ac_cpp
='$CPP $CPPFLAGS'
14438 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14439 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14440 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
14445 if test "x${withval}" != xno
; then
14447 if test "x" != x
; then
14448 if test -f ""; then
14451 # Extract the first word of """", so it can be a program name with args.
14452 set dummy
""; ac_word
=$2
14453 echo "$as_me:$LINENO: checking for $ac_word" >&5
14454 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
14455 if test "${ac_cv_path_GCJ+set}" = set; then
14456 echo $ECHO_N "(cached) $ECHO_C" >&6
14460 ac_cv_path_GCJ
="$GCJ" # Let the user override the test with a path.
14463 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
14464 for as_dir
in $PATH
14467 test -z "$as_dir" && as_dir
=.
14468 for ac_exec_ext
in '' $ac_executable_extensions; do
14469 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
14470 ac_cv_path_GCJ
="$as_dir/$ac_word$ac_exec_ext"
14471 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
14480 GCJ
=$ac_cv_path_GCJ
14482 if test -n "$GCJ"; then
14483 echo "$as_me:$LINENO: result: $GCJ" >&5
14484 echo "${ECHO_T}$GCJ" >&6
14486 echo "$as_me:$LINENO: result: no" >&5
14487 echo "${ECHO_T}no" >&6
14492 # Extract the first word of ""gcj"", so it can be a program name with args.
14493 set dummy
"gcj"; ac_word
=$2
14494 echo "$as_me:$LINENO: checking for $ac_word" >&5
14495 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
14496 if test "${ac_cv_path_GCJ+set}" = set; then
14497 echo $ECHO_N "(cached) $ECHO_C" >&6
14501 ac_cv_path_GCJ
="$GCJ" # Let the user override the test with a path.
14504 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
14505 for as_dir
in $PATH
14508 test -z "$as_dir" && as_dir
=.
14509 for ac_exec_ext
in '' $ac_executable_extensions; do
14510 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
14511 ac_cv_path_GCJ
="$as_dir/$ac_word$ac_exec_ext"
14512 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
14521 GCJ
=$ac_cv_path_GCJ
14523 if test -n "$GCJ"; then
14524 echo "$as_me:$LINENO: result: $GCJ" >&5
14525 echo "${ECHO_T}$GCJ" >&6
14527 echo "$as_me:$LINENO: result: no" >&5
14528 echo "${ECHO_T}no" >&6
14532 if test "x$GCJ" != x
; then
14533 echo "$as_me:$LINENO: checking gcj version 4.0" >&5
14534 echo $ECHO_N "checking gcj version 4.0... $ECHO_C" >&6
14536 ac_cpp
='$CPP $CPPFLAGS'
14537 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14538 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14539 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
14541 cat >conftest.
$ac_ext <<_ACEOF
14543 #error GCJ 4.0.0 or higher is required
14547 $GCJ -E conftest.c
> /dev
/null
14549 if test "x$gcj_4_result" = "x0"; then
14550 echo "$as_me:$LINENO: result: 4.0 or higher found" >&5
14551 echo "${ECHO_T}4.0 or higher found" >&6
14553 { echo "$as_me:$LINENO: WARNING: 4.0 or higher required" >&5
14554 echo "$as_me: WARNING: 4.0 or higher required" >&2;}
14557 ac_cpp
='$CPP $CPPFLAGS'
14558 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14559 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14560 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
14566 user_specified_javac
=gcj
14571 if test "x" != x
; then
14572 if test -f ""; then
14575 # Extract the first word of """", so it can be a program name with args.
14576 set dummy
""; ac_word
=$2
14577 echo "$as_me:$LINENO: checking for $ac_word" >&5
14578 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
14579 if test "${ac_cv_path_GCJ+set}" = set; then
14580 echo $ECHO_N "(cached) $ECHO_C" >&6
14584 ac_cv_path_GCJ
="$GCJ" # Let the user override the test with a path.
14587 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
14588 for as_dir
in $PATH
14591 test -z "$as_dir" && as_dir
=.
14592 for ac_exec_ext
in '' $ac_executable_extensions; do
14593 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
14594 ac_cv_path_GCJ
="$as_dir/$ac_word$ac_exec_ext"
14595 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
14604 GCJ
=$ac_cv_path_GCJ
14606 if test -n "$GCJ"; then
14607 echo "$as_me:$LINENO: result: $GCJ" >&5
14608 echo "${ECHO_T}$GCJ" >&6
14610 echo "$as_me:$LINENO: result: no" >&5
14611 echo "${ECHO_T}no" >&6
14616 # Extract the first word of ""gcj"", so it can be a program name with args.
14617 set dummy
"gcj"; ac_word
=$2
14618 echo "$as_me:$LINENO: checking for $ac_word" >&5
14619 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
14620 if test "${ac_cv_path_GCJ+set}" = set; then
14621 echo $ECHO_N "(cached) $ECHO_C" >&6
14625 ac_cv_path_GCJ
="$GCJ" # Let the user override the test with a path.
14628 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
14629 for as_dir
in $PATH
14632 test -z "$as_dir" && as_dir
=.
14633 for ac_exec_ext
in '' $ac_executable_extensions; do
14634 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
14635 ac_cv_path_GCJ
="$as_dir/$ac_word$ac_exec_ext"
14636 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
14645 GCJ
=$ac_cv_path_GCJ
14647 if test -n "$GCJ"; then
14648 echo "$as_me:$LINENO: result: $GCJ" >&5
14649 echo "${ECHO_T}$GCJ" >&6
14651 echo "$as_me:$LINENO: result: no" >&5
14652 echo "${ECHO_T}no" >&6
14656 if test "x$GCJ" != x
; then
14657 echo "$as_me:$LINENO: checking gcj version 4.0" >&5
14658 echo $ECHO_N "checking gcj version 4.0... $ECHO_C" >&6
14660 ac_cpp
='$CPP $CPPFLAGS'
14661 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14662 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14663 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
14665 cat >conftest.
$ac_ext <<_ACEOF
14667 #error GCJ 4.0.0 or higher is required
14671 $GCJ -E conftest.c
> /dev
/null
14673 if test "x$gcj_4_result" = "x0"; then
14674 echo "$as_me:$LINENO: result: 4.0 or higher found" >&5
14675 echo "${ECHO_T}4.0 or higher found" >&6
14677 { echo "$as_me:$LINENO: WARNING: 4.0 or higher required" >&5
14678 echo "$as_me: WARNING: 4.0 or higher required" >&2;}
14681 ac_cpp
='$CPP $CPPFLAGS'
14682 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14683 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14684 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
14694 # Check whether --with-jikes or --without-jikes was given.
14695 if test "${with_jikes+set}" = set; then
14696 withval
="$with_jikes"
14698 if test "x${withval}" != x && test "x${withval}" != xyes && test "x${withval}" != xno
; then
14700 if test "x${withval}" != x
; then
14701 if test -f "${withval}"; then
14704 # Extract the first word of ""${withval}"", so it can be a program name with args.
14705 set dummy
"${withval}"; ac_word
=$2
14706 echo "$as_me:$LINENO: checking for $ac_word" >&5
14707 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
14708 if test "${ac_cv_path_JIKES+set}" = set; then
14709 echo $ECHO_N "(cached) $ECHO_C" >&6
14713 ac_cv_path_JIKES
="$JIKES" # Let the user override the test with a path.
14716 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
14717 for as_dir
in $PATH
14720 test -z "$as_dir" && as_dir
=.
14721 for ac_exec_ext
in '' $ac_executable_extensions; do
14722 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
14723 ac_cv_path_JIKES
="$as_dir/$ac_word$ac_exec_ext"
14724 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
14733 JIKES
=$ac_cv_path_JIKES
14735 if test -n "$JIKES"; then
14736 echo "$as_me:$LINENO: result: $JIKES" >&5
14737 echo "${ECHO_T}$JIKES" >&6
14739 echo "$as_me:$LINENO: result: no" >&5
14740 echo "${ECHO_T}no" >&6
14745 # Extract the first word of ""jikes"", so it can be a program name with args.
14746 set dummy
"jikes"; ac_word
=$2
14747 echo "$as_me:$LINENO: checking for $ac_word" >&5
14748 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
14749 if test "${ac_cv_path_JIKES+set}" = set; then
14750 echo $ECHO_N "(cached) $ECHO_C" >&6
14754 ac_cv_path_JIKES
="$JIKES" # Let the user override the test with a path.
14757 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
14758 for as_dir
in $PATH
14761 test -z "$as_dir" && as_dir
=.
14762 for ac_exec_ext
in '' $ac_executable_extensions; do
14763 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
14764 ac_cv_path_JIKES
="$as_dir/$ac_word$ac_exec_ext"
14765 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
14774 JIKES
=$ac_cv_path_JIKES
14776 if test -n "$JIKES"; then
14777 echo "$as_me:$LINENO: result: $JIKES" >&5
14778 echo "${ECHO_T}$JIKES" >&6
14780 echo "$as_me:$LINENO: result: no" >&5
14781 echo "${ECHO_T}no" >&6
14785 if test "x$JIKES" != "x"; then
14786 echo "$as_me:$LINENO: checking jikes version" >&5
14787 echo $ECHO_N "checking jikes version... $ECHO_C" >&6
14788 JIKES_VERSION
=`$JIKES --version | awk '/^Jikes Compiler/' | cut -d ' ' -f 5`
14789 JIKES_VERSION_MAJOR
=`echo "$JIKES_VERSION" | cut -d '.' -f 1`
14790 JIKES_VERSION_MINOR
=`echo "$JIKES_VERSION" | cut -d '.' -f 2`
14791 if expr "$JIKES_VERSION_MAJOR" = 1 > /dev
/null
; then
14792 if expr "$JIKES_VERSION_MINOR" \
< 19 > /dev
/null
; then
14796 if test "x$JIKES" != "x"; then
14797 echo "$as_me:$LINENO: result: $JIKES_VERSION" >&5
14798 echo "${ECHO_T}$JIKES_VERSION" >&6
14800 { echo "$as_me:$LINENO: WARNING: $JIKES_VERSION: jikes 1.19 or higher required" >&5
14801 echo "$as_me: WARNING: $JIKES_VERSION: jikes 1.19 or higher required" >&2;}
14805 if test -n "`$JIKES --help 2>&1 | grep encoding`"; then
14806 JIKESENCODING
='-encoding UTF-8'
14810 JIKESWARNINGS
="+Pno-switchcheck"
14811 if test "x$JIKES_VERSION_MAJOR" = x
"1" ; then
14812 if ! test "x$JIKES_VERSION_MINOR" = x
"19"; then
14813 JIKESWARNINGS
="$JIKESWARNINGS +Pno-shadow"
14821 if test "x${withval}" != xno
; then
14823 if test "x" != x
; then
14824 if test -f ""; then
14827 # Extract the first word of """", so it can be a program name with args.
14828 set dummy
""; ac_word
=$2
14829 echo "$as_me:$LINENO: checking for $ac_word" >&5
14830 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
14831 if test "${ac_cv_path_JIKES+set}" = set; then
14832 echo $ECHO_N "(cached) $ECHO_C" >&6
14836 ac_cv_path_JIKES
="$JIKES" # Let the user override the test with a path.
14839 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
14840 for as_dir
in $PATH
14843 test -z "$as_dir" && as_dir
=.
14844 for ac_exec_ext
in '' $ac_executable_extensions; do
14845 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
14846 ac_cv_path_JIKES
="$as_dir/$ac_word$ac_exec_ext"
14847 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
14856 JIKES
=$ac_cv_path_JIKES
14858 if test -n "$JIKES"; then
14859 echo "$as_me:$LINENO: result: $JIKES" >&5
14860 echo "${ECHO_T}$JIKES" >&6
14862 echo "$as_me:$LINENO: result: no" >&5
14863 echo "${ECHO_T}no" >&6
14868 # Extract the first word of ""jikes"", so it can be a program name with args.
14869 set dummy
"jikes"; ac_word
=$2
14870 echo "$as_me:$LINENO: checking for $ac_word" >&5
14871 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
14872 if test "${ac_cv_path_JIKES+set}" = set; then
14873 echo $ECHO_N "(cached) $ECHO_C" >&6
14877 ac_cv_path_JIKES
="$JIKES" # Let the user override the test with a path.
14880 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
14881 for as_dir
in $PATH
14884 test -z "$as_dir" && as_dir
=.
14885 for ac_exec_ext
in '' $ac_executable_extensions; do
14886 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
14887 ac_cv_path_JIKES
="$as_dir/$ac_word$ac_exec_ext"
14888 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
14897 JIKES
=$ac_cv_path_JIKES
14899 if test -n "$JIKES"; then
14900 echo "$as_me:$LINENO: result: $JIKES" >&5
14901 echo "${ECHO_T}$JIKES" >&6
14903 echo "$as_me:$LINENO: result: no" >&5
14904 echo "${ECHO_T}no" >&6
14908 if test "x$JIKES" != "x"; then
14909 echo "$as_me:$LINENO: checking jikes version" >&5
14910 echo $ECHO_N "checking jikes version... $ECHO_C" >&6
14911 JIKES_VERSION
=`$JIKES --version | awk '/^Jikes Compiler/' | cut -d ' ' -f 5`
14912 JIKES_VERSION_MAJOR
=`echo "$JIKES_VERSION" | cut -d '.' -f 1`
14913 JIKES_VERSION_MINOR
=`echo "$JIKES_VERSION" | cut -d '.' -f 2`
14914 if expr "$JIKES_VERSION_MAJOR" = 1 > /dev
/null
; then
14915 if expr "$JIKES_VERSION_MINOR" \
< 19 > /dev
/null
; then
14919 if test "x$JIKES" != "x"; then
14920 echo "$as_me:$LINENO: result: $JIKES_VERSION" >&5
14921 echo "${ECHO_T}$JIKES_VERSION" >&6
14923 { echo "$as_me:$LINENO: WARNING: $JIKES_VERSION: jikes 1.19 or higher required" >&5
14924 echo "$as_me: WARNING: $JIKES_VERSION: jikes 1.19 or higher required" >&2;}
14928 if test -n "`$JIKES --help 2>&1 | grep encoding`"; then
14929 JIKESENCODING
='-encoding UTF-8'
14933 JIKESWARNINGS
="+Pno-switchcheck"
14934 if test "x$JIKES_VERSION_MAJOR" = x
"1" ; then
14935 if ! test "x$JIKES_VERSION_MINOR" = x
"19"; then
14936 JIKESWARNINGS
="$JIKESWARNINGS +Pno-shadow"
14945 user_specified_javac
=jikes
14950 if test "x" != x
; then
14951 if test -f ""; then
14954 # Extract the first word of """", so it can be a program name with args.
14955 set dummy
""; ac_word
=$2
14956 echo "$as_me:$LINENO: checking for $ac_word" >&5
14957 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
14958 if test "${ac_cv_path_JIKES+set}" = set; then
14959 echo $ECHO_N "(cached) $ECHO_C" >&6
14963 ac_cv_path_JIKES
="$JIKES" # Let the user override the test with a path.
14966 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
14967 for as_dir
in $PATH
14970 test -z "$as_dir" && as_dir
=.
14971 for ac_exec_ext
in '' $ac_executable_extensions; do
14972 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
14973 ac_cv_path_JIKES
="$as_dir/$ac_word$ac_exec_ext"
14974 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
14983 JIKES
=$ac_cv_path_JIKES
14985 if test -n "$JIKES"; then
14986 echo "$as_me:$LINENO: result: $JIKES" >&5
14987 echo "${ECHO_T}$JIKES" >&6
14989 echo "$as_me:$LINENO: result: no" >&5
14990 echo "${ECHO_T}no" >&6
14995 # Extract the first word of ""jikes"", so it can be a program name with args.
14996 set dummy
"jikes"; ac_word
=$2
14997 echo "$as_me:$LINENO: checking for $ac_word" >&5
14998 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
14999 if test "${ac_cv_path_JIKES+set}" = set; then
15000 echo $ECHO_N "(cached) $ECHO_C" >&6
15004 ac_cv_path_JIKES
="$JIKES" # Let the user override the test with a path.
15007 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
15008 for as_dir
in $PATH
15011 test -z "$as_dir" && as_dir
=.
15012 for ac_exec_ext
in '' $ac_executable_extensions; do
15013 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
15014 ac_cv_path_JIKES
="$as_dir/$ac_word$ac_exec_ext"
15015 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
15024 JIKES
=$ac_cv_path_JIKES
15026 if test -n "$JIKES"; then
15027 echo "$as_me:$LINENO: result: $JIKES" >&5
15028 echo "${ECHO_T}$JIKES" >&6
15030 echo "$as_me:$LINENO: result: no" >&5
15031 echo "${ECHO_T}no" >&6
15035 if test "x$JIKES" != "x"; then
15036 echo "$as_me:$LINENO: checking jikes version" >&5
15037 echo $ECHO_N "checking jikes version... $ECHO_C" >&6
15038 JIKES_VERSION
=`$JIKES --version | awk '/^Jikes Compiler/' | cut -d ' ' -f 5`
15039 JIKES_VERSION_MAJOR
=`echo "$JIKES_VERSION" | cut -d '.' -f 1`
15040 JIKES_VERSION_MINOR
=`echo "$JIKES_VERSION" | cut -d '.' -f 2`
15041 if expr "$JIKES_VERSION_MAJOR" = 1 > /dev
/null
; then
15042 if expr "$JIKES_VERSION_MINOR" \
< 19 > /dev
/null
; then
15046 if test "x$JIKES" != "x"; then
15047 echo "$as_me:$LINENO: result: $JIKES_VERSION" >&5
15048 echo "${ECHO_T}$JIKES_VERSION" >&6
15050 { echo "$as_me:$LINENO: WARNING: $JIKES_VERSION: jikes 1.19 or higher required" >&5
15051 echo "$as_me: WARNING: $JIKES_VERSION: jikes 1.19 or higher required" >&2;}
15055 if test -n "`$JIKES --help 2>&1 | grep encoding`"; then
15056 JIKESENCODING
='-encoding UTF-8'
15060 JIKESWARNINGS
="+Pno-switchcheck"
15061 if test "x$JIKES_VERSION_MAJOR" = x
"1" ; then
15062 if ! test "x$JIKES_VERSION_MINOR" = x
"19"; then
15063 JIKESWARNINGS
="$JIKESWARNINGS +Pno-shadow"
15076 # Check whether --with-kjc or --without-kjc was given.
15077 if test "${with_kjc+set}" = set; then
15078 withval
="$with_kjc"
15080 if test "x${withval}" != x && test "x${withval}" != xyes && test "x${withval}" != xno
; then
15082 if test "x${withval}" != x
; then
15083 if test -f "${withval}"; then
15086 # Extract the first word of ""${withval}"", so it can be a program name with args.
15087 set dummy
"${withval}"; ac_word
=$2
15088 echo "$as_me:$LINENO: checking for $ac_word" >&5
15089 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
15090 if test "${ac_cv_path_KJC+set}" = set; then
15091 echo $ECHO_N "(cached) $ECHO_C" >&6
15095 ac_cv_path_KJC
="$KJC" # Let the user override the test with a path.
15098 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
15099 for as_dir
in $PATH
15102 test -z "$as_dir" && as_dir
=.
15103 for ac_exec_ext
in '' $ac_executable_extensions; do
15104 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
15105 ac_cv_path_KJC
="$as_dir/$ac_word$ac_exec_ext"
15106 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
15115 KJC
=$ac_cv_path_KJC
15117 if test -n "$KJC"; then
15118 echo "$as_me:$LINENO: result: $KJC" >&5
15119 echo "${ECHO_T}$KJC" >&6
15121 echo "$as_me:$LINENO: result: no" >&5
15122 echo "${ECHO_T}no" >&6
15127 # Extract the first word of ""kJC"", so it can be a program name with args.
15128 set dummy
"kJC"; ac_word
=$2
15129 echo "$as_me:$LINENO: checking for $ac_word" >&5
15130 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
15131 if test "${ac_cv_path_KJC+set}" = set; then
15132 echo $ECHO_N "(cached) $ECHO_C" >&6
15136 ac_cv_path_KJC
="$KJC" # Let the user override the test with a path.
15139 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
15140 for as_dir
in $PATH
15143 test -z "$as_dir" && as_dir
=.
15144 for ac_exec_ext
in '' $ac_executable_extensions; do
15145 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
15146 ac_cv_path_KJC
="$as_dir/$ac_word$ac_exec_ext"
15147 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
15156 KJC
=$ac_cv_path_KJC
15158 if test -n "$KJC"; then
15159 echo "$as_me:$LINENO: result: $KJC" >&5
15160 echo "${ECHO_T}$KJC" >&6
15162 echo "$as_me:$LINENO: result: no" >&5
15163 echo "${ECHO_T}no" >&6
15169 if test "x${withval}" != xno
; then
15171 if test "x" != x
; then
15172 if test -f ""; then
15175 # Extract the first word of """", so it can be a program name with args.
15176 set dummy
""; ac_word
=$2
15177 echo "$as_me:$LINENO: checking for $ac_word" >&5
15178 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
15179 if test "${ac_cv_path_KJC+set}" = set; then
15180 echo $ECHO_N "(cached) $ECHO_C" >&6
15184 ac_cv_path_KJC
="$KJC" # Let the user override the test with a path.
15187 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
15188 for as_dir
in $PATH
15191 test -z "$as_dir" && as_dir
=.
15192 for ac_exec_ext
in '' $ac_executable_extensions; do
15193 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
15194 ac_cv_path_KJC
="$as_dir/$ac_word$ac_exec_ext"
15195 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
15204 KJC
=$ac_cv_path_KJC
15206 if test -n "$KJC"; then
15207 echo "$as_me:$LINENO: result: $KJC" >&5
15208 echo "${ECHO_T}$KJC" >&6
15210 echo "$as_me:$LINENO: result: no" >&5
15211 echo "${ECHO_T}no" >&6
15216 # Extract the first word of ""kJC"", so it can be a program name with args.
15217 set dummy
"kJC"; ac_word
=$2
15218 echo "$as_me:$LINENO: checking for $ac_word" >&5
15219 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
15220 if test "${ac_cv_path_KJC+set}" = set; then
15221 echo $ECHO_N "(cached) $ECHO_C" >&6
15225 ac_cv_path_KJC
="$KJC" # Let the user override the test with a path.
15228 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
15229 for as_dir
in $PATH
15232 test -z "$as_dir" && as_dir
=.
15233 for ac_exec_ext
in '' $ac_executable_extensions; do
15234 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
15235 ac_cv_path_KJC
="$as_dir/$ac_word$ac_exec_ext"
15236 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
15245 KJC
=$ac_cv_path_KJC
15247 if test -n "$KJC"; then
15248 echo "$as_me:$LINENO: result: $KJC" >&5
15249 echo "${ECHO_T}$KJC" >&6
15251 echo "$as_me:$LINENO: result: no" >&5
15252 echo "${ECHO_T}no" >&6
15259 user_specified_javac
=kjc
15264 if test "x" != x
; then
15265 if test -f ""; then
15268 # Extract the first word of """", so it can be a program name with args.
15269 set dummy
""; ac_word
=$2
15270 echo "$as_me:$LINENO: checking for $ac_word" >&5
15271 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
15272 if test "${ac_cv_path_KJC+set}" = set; then
15273 echo $ECHO_N "(cached) $ECHO_C" >&6
15277 ac_cv_path_KJC
="$KJC" # Let the user override the test with a path.
15280 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
15281 for as_dir
in $PATH
15284 test -z "$as_dir" && as_dir
=.
15285 for ac_exec_ext
in '' $ac_executable_extensions; do
15286 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
15287 ac_cv_path_KJC
="$as_dir/$ac_word$ac_exec_ext"
15288 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
15297 KJC
=$ac_cv_path_KJC
15299 if test -n "$KJC"; then
15300 echo "$as_me:$LINENO: result: $KJC" >&5
15301 echo "${ECHO_T}$KJC" >&6
15303 echo "$as_me:$LINENO: result: no" >&5
15304 echo "${ECHO_T}no" >&6
15309 # Extract the first word of ""kJC"", so it can be a program name with args.
15310 set dummy
"kJC"; ac_word
=$2
15311 echo "$as_me:$LINENO: checking for $ac_word" >&5
15312 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
15313 if test "${ac_cv_path_KJC+set}" = set; then
15314 echo $ECHO_N "(cached) $ECHO_C" >&6
15318 ac_cv_path_KJC
="$KJC" # Let the user override the test with a path.
15321 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
15322 for as_dir
in $PATH
15325 test -z "$as_dir" && as_dir
=.
15326 for ac_exec_ext
in '' $ac_executable_extensions; do
15327 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
15328 ac_cv_path_KJC
="$as_dir/$ac_word$ac_exec_ext"
15329 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
15338 KJC
=$ac_cv_path_KJC
15340 if test -n "$KJC"; then
15341 echo "$as_me:$LINENO: result: $KJC" >&5
15342 echo "${ECHO_T}$KJC" >&6
15344 echo "$as_me:$LINENO: result: no" >&5
15345 echo "${ECHO_T}no" >&6
15356 # Check whether --with-gcjx or --without-gcjx was given.
15357 if test "${with_gcjx+set}" = set; then
15358 withval
="$with_gcjx"
15360 if test "x${withval}" != x && test "x${withval}" != xyes && test "x${withval}" != xno
; then
15362 if test "x${withval}" != x
; then
15363 if test -f "${withval}"; then
15366 # Extract the first word of ""${withval}"", so it can be a program name with args.
15367 set dummy
"${withval}"; ac_word
=$2
15368 echo "$as_me:$LINENO: checking for $ac_word" >&5
15369 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
15370 if test "${ac_cv_path_GCJX+set}" = set; then
15371 echo $ECHO_N "(cached) $ECHO_C" >&6
15375 ac_cv_path_GCJX
="$GCJX" # Let the user override the test with a path.
15378 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
15379 for as_dir
in $PATH
15382 test -z "$as_dir" && as_dir
=.
15383 for ac_exec_ext
in '' $ac_executable_extensions; do
15384 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
15385 ac_cv_path_GCJX
="$as_dir/$ac_word$ac_exec_ext"
15386 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
15395 GCJX
=$ac_cv_path_GCJX
15397 if test -n "$GCJX"; then
15398 echo "$as_me:$LINENO: result: $GCJX" >&5
15399 echo "${ECHO_T}$GCJX" >&6
15401 echo "$as_me:$LINENO: result: no" >&5
15402 echo "${ECHO_T}no" >&6
15407 # Extract the first word of ""gcjx"", so it can be a program name with args.
15408 set dummy
"gcjx"; ac_word
=$2
15409 echo "$as_me:$LINENO: checking for $ac_word" >&5
15410 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
15411 if test "${ac_cv_path_GCJX+set}" = set; then
15412 echo $ECHO_N "(cached) $ECHO_C" >&6
15416 ac_cv_path_GCJX
="$GCJX" # Let the user override the test with a path.
15419 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
15420 for as_dir
in $PATH
15423 test -z "$as_dir" && as_dir
=.
15424 for ac_exec_ext
in '' $ac_executable_extensions; do
15425 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
15426 ac_cv_path_GCJX
="$as_dir/$ac_word$ac_exec_ext"
15427 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
15436 GCJX
=$ac_cv_path_GCJX
15438 if test -n "$GCJX"; then
15439 echo "$as_me:$LINENO: result: $GCJX" >&5
15440 echo "${ECHO_T}$GCJX" >&6
15442 echo "$as_me:$LINENO: result: no" >&5
15443 echo "${ECHO_T}no" >&6
15449 if test "x${withval}" != xno
; then
15451 if test "x" != x
; then
15452 if test -f ""; then
15455 # Extract the first word of """", so it can be a program name with args.
15456 set dummy
""; ac_word
=$2
15457 echo "$as_me:$LINENO: checking for $ac_word" >&5
15458 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
15459 if test "${ac_cv_path_GCJX+set}" = set; then
15460 echo $ECHO_N "(cached) $ECHO_C" >&6
15464 ac_cv_path_GCJX
="$GCJX" # Let the user override the test with a path.
15467 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
15468 for as_dir
in $PATH
15471 test -z "$as_dir" && as_dir
=.
15472 for ac_exec_ext
in '' $ac_executable_extensions; do
15473 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
15474 ac_cv_path_GCJX
="$as_dir/$ac_word$ac_exec_ext"
15475 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
15484 GCJX
=$ac_cv_path_GCJX
15486 if test -n "$GCJX"; then
15487 echo "$as_me:$LINENO: result: $GCJX" >&5
15488 echo "${ECHO_T}$GCJX" >&6
15490 echo "$as_me:$LINENO: result: no" >&5
15491 echo "${ECHO_T}no" >&6
15496 # Extract the first word of ""gcjx"", so it can be a program name with args.
15497 set dummy
"gcjx"; ac_word
=$2
15498 echo "$as_me:$LINENO: checking for $ac_word" >&5
15499 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
15500 if test "${ac_cv_path_GCJX+set}" = set; then
15501 echo $ECHO_N "(cached) $ECHO_C" >&6
15505 ac_cv_path_GCJX
="$GCJX" # Let the user override the test with a path.
15508 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
15509 for as_dir
in $PATH
15512 test -z "$as_dir" && as_dir
=.
15513 for ac_exec_ext
in '' $ac_executable_extensions; do
15514 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
15515 ac_cv_path_GCJX
="$as_dir/$ac_word$ac_exec_ext"
15516 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
15525 GCJX
=$ac_cv_path_GCJX
15527 if test -n "$GCJX"; then
15528 echo "$as_me:$LINENO: result: $GCJX" >&5
15529 echo "${ECHO_T}$GCJX" >&6
15531 echo "$as_me:$LINENO: result: no" >&5
15532 echo "${ECHO_T}no" >&6
15539 user_specified_javac
=gcjx
15544 if test "x" != x
; then
15545 if test -f ""; then
15548 # Extract the first word of """", so it can be a program name with args.
15549 set dummy
""; ac_word
=$2
15550 echo "$as_me:$LINENO: checking for $ac_word" >&5
15551 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
15552 if test "${ac_cv_path_GCJX+set}" = set; then
15553 echo $ECHO_N "(cached) $ECHO_C" >&6
15557 ac_cv_path_GCJX
="$GCJX" # Let the user override the test with a path.
15560 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
15561 for as_dir
in $PATH
15564 test -z "$as_dir" && as_dir
=.
15565 for ac_exec_ext
in '' $ac_executable_extensions; do
15566 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
15567 ac_cv_path_GCJX
="$as_dir/$ac_word$ac_exec_ext"
15568 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
15577 GCJX
=$ac_cv_path_GCJX
15579 if test -n "$GCJX"; then
15580 echo "$as_me:$LINENO: result: $GCJX" >&5
15581 echo "${ECHO_T}$GCJX" >&6
15583 echo "$as_me:$LINENO: result: no" >&5
15584 echo "${ECHO_T}no" >&6
15589 # Extract the first word of ""gcjx"", so it can be a program name with args.
15590 set dummy
"gcjx"; ac_word
=$2
15591 echo "$as_me:$LINENO: checking for $ac_word" >&5
15592 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
15593 if test "${ac_cv_path_GCJX+set}" = set; then
15594 echo $ECHO_N "(cached) $ECHO_C" >&6
15598 ac_cv_path_GCJX
="$GCJX" # Let the user override the test with a path.
15601 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
15602 for as_dir
in $PATH
15605 test -z "$as_dir" && as_dir
=.
15606 for ac_exec_ext
in '' $ac_executable_extensions; do
15607 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
15608 ac_cv_path_GCJX
="$as_dir/$ac_word$ac_exec_ext"
15609 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
15618 GCJX
=$ac_cv_path_GCJX
15620 if test -n "$GCJX"; then
15621 echo "$as_me:$LINENO: result: $GCJX" >&5
15622 echo "${ECHO_T}$GCJX" >&6
15624 echo "$as_me:$LINENO: result: no" >&5
15625 echo "${ECHO_T}no" >&6
15636 # Check whether --with-ecj or --without-ecj was given.
15637 if test "${with_ecj+set}" = set; then
15638 withval
="$with_ecj"
15640 if test "x${withval}" != x && test "x${withval}" != xyes && test "x${withval}" != xno
; then
15642 if test "x${withval}" != x
; then
15643 if test -f "${withval}"; then
15646 # Extract the first word of ""${withval}"", so it can be a program name with args.
15647 set dummy
"${withval}"; ac_word
=$2
15648 echo "$as_me:$LINENO: checking for $ac_word" >&5
15649 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
15650 if test "${ac_cv_path_ECJ+set}" = set; then
15651 echo $ECHO_N "(cached) $ECHO_C" >&6
15655 ac_cv_path_ECJ
="$ECJ" # Let the user override the test with a path.
15658 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
15659 for as_dir
in $PATH
15662 test -z "$as_dir" && as_dir
=.
15663 for ac_exec_ext
in '' $ac_executable_extensions; do
15664 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
15665 ac_cv_path_ECJ
="$as_dir/$ac_word$ac_exec_ext"
15666 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
15675 ECJ
=$ac_cv_path_ECJ
15677 if test -n "$ECJ"; then
15678 echo "$as_me:$LINENO: result: $ECJ" >&5
15679 echo "${ECHO_T}$ECJ" >&6
15681 echo "$as_me:$LINENO: result: no" >&5
15682 echo "${ECHO_T}no" >&6
15687 # Extract the first word of ""ecj"", so it can be a program name with args.
15688 set dummy
"ecj"; ac_word
=$2
15689 echo "$as_me:$LINENO: checking for $ac_word" >&5
15690 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
15691 if test "${ac_cv_path_ECJ+set}" = set; then
15692 echo $ECHO_N "(cached) $ECHO_C" >&6
15696 ac_cv_path_ECJ
="$ECJ" # Let the user override the test with a path.
15699 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
15700 for as_dir
in $PATH
15703 test -z "$as_dir" && as_dir
=.
15704 for ac_exec_ext
in '' $ac_executable_extensions; do
15705 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
15706 ac_cv_path_ECJ
="$as_dir/$ac_word$ac_exec_ext"
15707 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
15716 ECJ
=$ac_cv_path_ECJ
15718 if test -n "$ECJ"; then
15719 echo "$as_me:$LINENO: result: $ECJ" >&5
15720 echo "${ECHO_T}$ECJ" >&6
15722 echo "$as_me:$LINENO: result: no" >&5
15723 echo "${ECHO_T}no" >&6
15729 if test "x${withval}" != xno
; then
15731 if test "x" != x
; then
15732 if test -f ""; then
15735 # Extract the first word of """", so it can be a program name with args.
15736 set dummy
""; ac_word
=$2
15737 echo "$as_me:$LINENO: checking for $ac_word" >&5
15738 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
15739 if test "${ac_cv_path_ECJ+set}" = set; then
15740 echo $ECHO_N "(cached) $ECHO_C" >&6
15744 ac_cv_path_ECJ
="$ECJ" # Let the user override the test with a path.
15747 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
15748 for as_dir
in $PATH
15751 test -z "$as_dir" && as_dir
=.
15752 for ac_exec_ext
in '' $ac_executable_extensions; do
15753 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
15754 ac_cv_path_ECJ
="$as_dir/$ac_word$ac_exec_ext"
15755 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
15764 ECJ
=$ac_cv_path_ECJ
15766 if test -n "$ECJ"; then
15767 echo "$as_me:$LINENO: result: $ECJ" >&5
15768 echo "${ECHO_T}$ECJ" >&6
15770 echo "$as_me:$LINENO: result: no" >&5
15771 echo "${ECHO_T}no" >&6
15776 # Extract the first word of ""ecj"", so it can be a program name with args.
15777 set dummy
"ecj"; ac_word
=$2
15778 echo "$as_me:$LINENO: checking for $ac_word" >&5
15779 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
15780 if test "${ac_cv_path_ECJ+set}" = set; then
15781 echo $ECHO_N "(cached) $ECHO_C" >&6
15785 ac_cv_path_ECJ
="$ECJ" # Let the user override the test with a path.
15788 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
15789 for as_dir
in $PATH
15792 test -z "$as_dir" && as_dir
=.
15793 for ac_exec_ext
in '' $ac_executable_extensions; do
15794 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
15795 ac_cv_path_ECJ
="$as_dir/$ac_word$ac_exec_ext"
15796 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
15805 ECJ
=$ac_cv_path_ECJ
15807 if test -n "$ECJ"; then
15808 echo "$as_me:$LINENO: result: $ECJ" >&5
15809 echo "${ECHO_T}$ECJ" >&6
15811 echo "$as_me:$LINENO: result: no" >&5
15812 echo "${ECHO_T}no" >&6
15819 user_specified_javac
=ecj
15824 if test "x" != x
; then
15825 if test -f ""; then
15828 # Extract the first word of """", so it can be a program name with args.
15829 set dummy
""; ac_word
=$2
15830 echo "$as_me:$LINENO: checking for $ac_word" >&5
15831 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
15832 if test "${ac_cv_path_ECJ+set}" = set; then
15833 echo $ECHO_N "(cached) $ECHO_C" >&6
15837 ac_cv_path_ECJ
="$ECJ" # Let the user override the test with a path.
15840 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
15841 for as_dir
in $PATH
15844 test -z "$as_dir" && as_dir
=.
15845 for ac_exec_ext
in '' $ac_executable_extensions; do
15846 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
15847 ac_cv_path_ECJ
="$as_dir/$ac_word$ac_exec_ext"
15848 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
15857 ECJ
=$ac_cv_path_ECJ
15859 if test -n "$ECJ"; then
15860 echo "$as_me:$LINENO: result: $ECJ" >&5
15861 echo "${ECHO_T}$ECJ" >&6
15863 echo "$as_me:$LINENO: result: no" >&5
15864 echo "${ECHO_T}no" >&6
15869 # Extract the first word of ""ecj"", so it can be a program name with args.
15870 set dummy
"ecj"; ac_word
=$2
15871 echo "$as_me:$LINENO: checking for $ac_word" >&5
15872 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
15873 if test "${ac_cv_path_ECJ+set}" = set; then
15874 echo $ECHO_N "(cached) $ECHO_C" >&6
15878 ac_cv_path_ECJ
="$ECJ" # Let the user override the test with a path.
15881 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
15882 for as_dir
in $PATH
15885 test -z "$as_dir" && as_dir
=.
15886 for ac_exec_ext
in '' $ac_executable_extensions; do
15887 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
15888 ac_cv_path_ECJ
="$as_dir/$ac_word$ac_exec_ext"
15889 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
15898 ECJ
=$ac_cv_path_ECJ
15900 if test -n "$ECJ"; then
15901 echo "$as_me:$LINENO: result: $ECJ" >&5
15902 echo "${ECHO_T}$ECJ" >&6
15904 echo "$as_me:$LINENO: result: no" >&5
15905 echo "${ECHO_T}no" >&6
15915 if test "x${user_specified_javac}" = x
; then
15918 if test "x${GCJ}" != x
; then
15920 FOUND_GCJ_FALSE
='#'
15928 if test "x${JIKES}" != x
; then
15930 FOUND_JIKES_FALSE
='#'
15932 FOUND_JIKES_TRUE
='#'
15938 if test "x${ECJ}" != x
; then
15940 FOUND_ECJ_FALSE
='#'
15949 if test "x${user_specified_javac}" = xgcj
; then
15951 FOUND_GCJ_FALSE
='#'
15959 if test "x${user_specified_javac}" = xjikes
; then
15961 FOUND_JIKES_FALSE
='#'
15963 FOUND_JIKES_TRUE
='#'
15969 if test "x${user_specified_javac}" = xecj
; then
15971 FOUND_ECJ_FALSE
='#'
15980 if test "x${user_specified_javac}" = xkjc
; then
15982 FOUND_KJC_FALSE
='#'
15990 if test "x${user_specified_javac}" = xgcjx
; then
15992 FOUND_GCJX_FALSE
='#'
15994 FOUND_GCJX_TRUE
='#'
15999 if test "x${GCJ}" = x && test "x${JIKES}" = x && test "x${user_specified_javac}" != xkjc && test "x${user_specified_javac}" != xgcjx && test "x${user_specified_javac}" != xecj
; then
16000 { { echo "$as_me:$LINENO: error: cannot find javac, try --with-gcj, --with-jikes, --with-kjc, --with-ecj, or --with-gcjx" >&5
16001 echo "$as_me: error: cannot find javac, try --with-gcj, --with-jikes, --with-kjc, --with-ecj, or --with-gcjx" >&2;}
16002 { (exit 1); exit 1; }; }
16008 # Check whether --with-classpath or --without-classpath was given.
16009 if test "${with_classpath+set}" = set; then
16010 withval
="$with_classpath"
16012 if test "x${withval}" = xyes
; then
16013 # set user classpath to CLASSPATH from env
16014 echo "$as_me:$LINENO: checking for classlib" >&5
16015 echo $ECHO_N "checking for classlib... $ECHO_C" >&6
16016 USER_CLASSLIB
=${CLASSPATH}
16018 echo "$as_me:$LINENO: result: ${USER_CLASSLIB}" >&5
16019 echo "${ECHO_T}${USER_CLASSLIB}" >&6
16020 conditional_with_classlib
=true
16021 elif test "x${withval}" != x
&& test "x${withval}" != xno
; then
16022 # set user classpath to specified value
16023 echo "$as_me:$LINENO: checking for classlib" >&5
16024 echo $ECHO_N "checking for classlib... $ECHO_C" >&6
16025 USER_CLASSLIB
=${withval}
16027 echo "$as_me:$LINENO: result: ${withval}" >&5
16028 echo "${ECHO_T}${withval}" >&6
16029 conditional_with_classlib
=true
16033 conditional_with_classlib
=false
16037 if test "x${conditional_with_classlib}" = xtrue
; then
16038 USER_SPECIFIED_CLASSLIB_TRUE
=
16039 USER_SPECIFIED_CLASSLIB_FALSE
='#'
16041 USER_SPECIFIED_CLASSLIB_TRUE
='#'
16042 USER_SPECIFIED_CLASSLIB_FALSE
=
16047 # Check whether --with-vm-classes or --without-vm-classes was given.
16048 if test "${with_vm_classes+set}" = set; then
16049 withval
="$with_vm_classes"
16050 vm_classes
="$with_vm_classes"
16052 vm_classes
='${top_srcdir}/vm/reference'
16057 echo "$as_me:$LINENO: checking whether to enable maintainer-specific portions of Makefiles" >&5
16058 echo $ECHO_N "checking whether to enable maintainer-specific portions of Makefiles... $ECHO_C" >&6
16059 # Check whether --enable-maintainer-mode or --disable-maintainer-mode was given.
16060 if test "${enable_maintainer_mode+set}" = set; then
16061 enableval
="$enable_maintainer_mode"
16062 USE_MAINTAINER_MODE
=$enableval
16064 USE_MAINTAINER_MODE
=no
16066 echo "$as_me:$LINENO: result: $USE_MAINTAINER_MODE" >&5
16067 echo "${ECHO_T}$USE_MAINTAINER_MODE" >&6
16070 if test $USE_MAINTAINER_MODE = yes; then
16071 MAINTAINER_MODE_TRUE
=
16072 MAINTAINER_MODE_FALSE
='#'
16074 MAINTAINER_MODE_TRUE
='#'
16075 MAINTAINER_MODE_FALSE
=
16078 MAINT
=$MAINTAINER_MODE_TRUE
16082 # Check whether --enable-debug or --disable-debug was given.
16083 if test "${enable_debug+set}" = set; then
16084 enableval
="$enable_debug"
16085 case "${enableval}" in
16089 cat >>confdefs.h
<<\_ACEOF
16094 no
) LIBDEBUG
="false" ;;
16095 *) { { echo "$as_me:$LINENO: error: bad value ${enableval} for --enable-debug" >&5
16096 echo "$as_me: error: bad value ${enableval} for --enable-debug" >&2;}
16097 { (exit 1); exit 1; }; } ;;
16104 # Check whether --enable-load-library or --disable-load-library was given.
16105 if test "${enable_load_library+set}" = set; then
16106 enableval
="$enable_load_library"
16107 case "${enableval}" in
16108 yes) INIT_LOAD_LIBRARY
="true" ;;
16109 no
) INIT_LOAD_LIBRARY
="false" ;;
16110 *) { { echo "$as_me:$LINENO: error: bad value ${enableval} for --enable-load-library" >&5
16111 echo "$as_me: error: bad value ${enableval} for --enable-load-library" >&2;}
16112 { (exit 1); exit 1; }; } ;;
16115 INIT_LOAD_LIBRARY
="true"
16121 # Check whether --with-ecj-jar or --without-ecj-jar was given.
16122 if test "${with_ecj_jar+set}" = set; then
16123 withval
="$with_ecj_jar"
16126 if test -f $multi_basedir/ecj.jar
; then
16127 ECJ_JAR
='$(jardir)/ecj.jar'
16132 # Check whether --enable-java-lang-system-explicit-initialization or --disable-java-lang-system-explicit-initialization was given.
16133 if test "${enable_java_lang_system_explicit_initialization+set}" = set; then
16134 enableval
="$enable_java_lang_system_explicit_initialization"
16135 case "${enableval}" in
16136 yes|true
) JAVA_LANG_SYSTEM_EXPLICIT_INITIALIZATION
="true" ;;
16137 no|false
) JAVA_LANG_SYSTEM_EXPLICIT_INITIALIZATION
="false" ;;
16138 *) { { echo "$as_me:$LINENO: error: bad value ${enableval} for --enable-java-lang-system-explicit-initialization" >&5
16139 echo "$as_me: error: bad value ${enableval} for --enable-java-lang-system-explicit-initialization" >&2;}
16140 { (exit 1); exit 1; }; } ;;
16143 JAVA_LANG_SYSTEM_EXPLICIT_INITIALIZATION
="false"
16151 # Extract the first word of "mkdir", so it can be a program name with args.
16152 set dummy mkdir
; ac_word
=$2
16153 echo "$as_me:$LINENO: checking for $ac_word" >&5
16154 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
16155 if test "${ac_cv_path_MKDIR+set}" = set; then
16156 echo $ECHO_N "(cached) $ECHO_C" >&6
16160 ac_cv_path_MKDIR
="$MKDIR" # Let the user override the test with a path.
16163 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
16164 for as_dir
in $PATH
16167 test -z "$as_dir" && as_dir
=.
16168 for ac_exec_ext
in '' $ac_executable_extensions; do
16169 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
16170 ac_cv_path_MKDIR
="$as_dir/$ac_word$ac_exec_ext"
16171 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
16180 MKDIR
=$ac_cv_path_MKDIR
16182 if test -n "$MKDIR"; then
16183 echo "$as_me:$LINENO: result: $MKDIR" >&5
16184 echo "${ECHO_T}$MKDIR" >&6
16186 echo "$as_me:$LINENO: result: no" >&5
16187 echo "${ECHO_T}no" >&6
16190 # Extract the first word of "cp", so it can be a program name with args.
16191 set dummy
cp; ac_word
=$2
16192 echo "$as_me:$LINENO: checking for $ac_word" >&5
16193 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
16194 if test "${ac_cv_path_CP+set}" = set; then
16195 echo $ECHO_N "(cached) $ECHO_C" >&6
16199 ac_cv_path_CP
="$CP" # Let the user override the test with a path.
16202 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
16203 for as_dir
in $PATH
16206 test -z "$as_dir" && as_dir
=.
16207 for ac_exec_ext
in '' $ac_executable_extensions; do
16208 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
16209 ac_cv_path_CP
="$as_dir/$ac_word$ac_exec_ext"
16210 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
16221 if test -n "$CP"; then
16222 echo "$as_me:$LINENO: result: $CP" >&5
16223 echo "${ECHO_T}$CP" >&6
16225 echo "$as_me:$LINENO: result: no" >&5
16226 echo "${ECHO_T}no" >&6
16229 # Extract the first word of "date", so it can be a program name with args.
16230 set dummy
date; ac_word
=$2
16231 echo "$as_me:$LINENO: checking for $ac_word" >&5
16232 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
16233 if test "${ac_cv_path_DATE+set}" = set; then
16234 echo $ECHO_N "(cached) $ECHO_C" >&6
16238 ac_cv_path_DATE
="$DATE" # Let the user override the test with a path.
16241 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
16242 for as_dir
in $PATH
16245 test -z "$as_dir" && as_dir
=.
16246 for ac_exec_ext
in '' $ac_executable_extensions; do
16247 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
16248 ac_cv_path_DATE
="$as_dir/$ac_word$ac_exec_ext"
16249 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
16258 DATE
=$ac_cv_path_DATE
16260 if test -n "$DATE"; then
16261 echo "$as_me:$LINENO: result: $DATE" >&5
16262 echo "${ECHO_T}$DATE" >&6
16264 echo "$as_me:$LINENO: result: no" >&5
16265 echo "${ECHO_T}no" >&6
16269 # Extract the first word of "find", so it can be a program name with args.
16270 set dummy
find; ac_word
=$2
16271 echo "$as_me:$LINENO: checking for $ac_word" >&5
16272 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
16273 if test "${ac_cv_path_FIND+set}" = set; then
16274 echo $ECHO_N "(cached) $ECHO_C" >&6
16278 ac_cv_path_FIND
="$FIND" # Let the user override the test with a path.
16281 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
16282 for as_dir
in $PATH
16285 test -z "$as_dir" && as_dir
=.
16286 for ac_exec_ext
in '' $ac_executable_extensions; do
16287 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
16288 ac_cv_path_FIND
="$as_dir/$ac_word$ac_exec_ext"
16289 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
16298 FIND
=$ac_cv_path_FIND
16300 if test -n "$FIND"; then
16301 echo "$as_me:$LINENO: result: $FIND" >&5
16302 echo "${ECHO_T}$FIND" >&6
16304 echo "$as_me:$LINENO: result: no" >&5
16305 echo "${ECHO_T}no" >&6
16310 # Extract the first word of "zip", so it can be a program name with args.
16311 set dummy
zip; ac_word
=$2
16312 echo "$as_me:$LINENO: checking for $ac_word" >&5
16313 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
16314 if test "${ac_cv_path_ZIP+set}" = set; then
16315 echo $ECHO_N "(cached) $ECHO_C" >&6
16319 ac_cv_path_ZIP
="$ZIP" # Let the user override the test with a path.
16322 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
16323 for as_dir
in $PATH
16326 test -z "$as_dir" && as_dir
=.
16327 for ac_exec_ext
in '' $ac_executable_extensions; do
16328 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
16329 ac_cv_path_ZIP
="$as_dir/$ac_word$ac_exec_ext"
16330 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
16339 ZIP
=$ac_cv_path_ZIP
16341 if test -n "$ZIP"; then
16342 echo "$as_me:$LINENO: result: $ZIP" >&5
16343 echo "${ECHO_T}$ZIP" >&6
16345 echo "$as_me:$LINENO: result: no" >&5
16346 echo "${ECHO_T}no" >&6
16350 # Check whether --with-fastjar or --without-fastjar was given.
16351 if test "${with_fastjar+set}" = set; then
16352 withval
="$with_fastjar"
16354 echo "$as_me:$LINENO: checking for user supplied fastjar" >&5
16355 echo $ECHO_N "checking for user supplied fastjar... $ECHO_C" >&6
16357 echo "$as_me:$LINENO: result: ${FASTJAR}" >&5
16358 echo "${ECHO_T}${FASTJAR}" >&6
16361 # Extract the first word of "fastjar", so it can be a program name with args.
16362 set dummy fastjar
; ac_word
=$2
16363 echo "$as_me:$LINENO: checking for $ac_word" >&5
16364 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
16365 if test "${ac_cv_path_FASTJAR+set}" = set; then
16366 echo $ECHO_N "(cached) $ECHO_C" >&6
16370 ac_cv_path_FASTJAR
="$FASTJAR" # Let the user override the test with a path.
16373 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
16374 for as_dir
in $PATH
16377 test -z "$as_dir" && as_dir
=.
16378 for ac_exec_ext
in '' $ac_executable_extensions; do
16379 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
16380 ac_cv_path_FASTJAR
="$as_dir/$ac_word$ac_exec_ext"
16381 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
16390 FASTJAR
=$ac_cv_path_FASTJAR
16392 if test -n "$FASTJAR"; then
16393 echo "$as_me:$LINENO: result: $FASTJAR" >&5
16394 echo "${ECHO_T}$FASTJAR" >&6
16396 echo "$as_me:$LINENO: result: no" >&5
16397 echo "${ECHO_T}no" >&6
16401 if test x
"${FASTJAR}" != x
; then
16406 # Check whether --with-glibj or --without-glibj was given.
16407 if test "${with_glibj+set}" = set; then
16408 withval
="$with_glibj"
16410 if test "x${withval}" = xyes ||
test "x${withval}" = xzip
; then
16411 install_class_files
=no
16412 build_class_files
=yes
16414 elif test "x${withval}" = xboth
; then
16415 install_class_files
=yes
16416 build_class_files
=yes
16418 elif test "x${withval}" = xflat
; then
16419 install_class_files
=yes
16420 build_class_files
=yes
16422 elif test "x${withval}" = xno ||
test "x${withval}" = xnone
; then
16423 install_class_files
=no
16424 build_class_files
=no
16426 elif test "x${withval}" = xbuild
; then
16427 install_class_files
=no
16428 build_class_files
=yes
16431 { { echo "$as_me:$LINENO: error: unknown value given to --with-glibj" >&5
16432 echo "$as_me: error: unknown value given to --with-glibj" >&2;}
16433 { (exit 1); exit 1; }; }
16438 install_class_files
=no
16444 if test "x${use_zip}" = xyes
; then
16445 INSTALL_GLIBJ_ZIP_TRUE
=
16446 INSTALL_GLIBJ_ZIP_FALSE
='#'
16448 INSTALL_GLIBJ_ZIP_TRUE
='#'
16449 INSTALL_GLIBJ_ZIP_FALSE
=
16454 if test "x${install_class_files}" = xyes
; then
16455 INSTALL_CLASS_FILES_TRUE
=
16456 INSTALL_CLASS_FILES_FALSE
='#'
16458 INSTALL_CLASS_FILES_TRUE
='#'
16459 INSTALL_CLASS_FILES_FALSE
=
16464 if test "x${build_class_files}" = xyes
; then
16465 BUILD_CLASS_FILES_TRUE
=
16466 BUILD_CLASS_FILES_FALSE
='#'
16468 BUILD_CLASS_FILES_TRUE
='#'
16469 BUILD_CLASS_FILES_FALSE
=
16473 # Check whether --enable-examples or --disable-examples was given.
16474 if test "${enable_examples+set}" = set; then
16475 enableval
="$enable_examples"
16476 case "${enableval}" in
16477 yes) EXAMPLESDIR
="examples" ;;
16478 no
) EXAMPLESDIR
="" ;;
16479 *) { { echo "$as_me:$LINENO: error: bad value ${enableval} for --enable-examples" >&5
16480 echo "$as_me: error: bad value ${enableval} for --enable-examples" >&2;}
16481 { (exit 1); exit 1; }; } ;;
16484 EXAMPLESDIR
="examples"
16486 if test "x${use_zip}" = xno
&& test "x${install_class_files}" = xno
; then
16494 # Check whether --with-gjdoc or --without-gjdoc was given.
16495 if test "${with_gjdoc+set}" = set; then
16496 withval
="$with_gjdoc"
16497 if test "x${withval}" = xno
; then
16499 elif test "x${withval}" = xyes
-o "x{withval}" = x
; then
16501 # Extract the first word of "gjdoc", so it can be a program name with args.
16502 set dummy gjdoc
; ac_word
=$2
16503 echo "$as_me:$LINENO: checking for $ac_word" >&5
16504 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
16505 if test "${ac_cv_path_GJDOC+set}" = set; then
16506 echo $ECHO_N "(cached) $ECHO_C" >&6
16510 ac_cv_path_GJDOC
="$GJDOC" # Let the user override the test with a path.
16513 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
16514 for as_dir
in $PATH
16517 test -z "$as_dir" && as_dir
=.
16518 for ac_exec_ext
in '' $ac_executable_extensions; do
16519 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
16520 ac_cv_path_GJDOC
="$as_dir/$ac_word$ac_exec_ext"
16521 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
16527 test -z "$ac_cv_path_GJDOC" && ac_cv_path_GJDOC
=""no
""
16531 GJDOC
=$ac_cv_path_GJDOC
16533 if test -n "$GJDOC"; then
16534 echo "$as_me:$LINENO: result: $GJDOC" >&5
16535 echo "${ECHO_T}$GJDOC" >&6
16537 echo "$as_me:$LINENO: result: no" >&5
16538 echo "${ECHO_T}no" >&6
16541 if test "x${GJDOC}" = xno
; then
16542 { { echo "$as_me:$LINENO: error: \"gjdoc executable not found\"" >&5
16543 echo "$as_me: error: \"gjdoc executable not found\"" >&2;}
16544 { (exit 1); exit 1; }; };
16549 as_ac_File
=`echo "ac_cv_file_${GJDOC}" | $as_tr_sh`
16550 echo "$as_me:$LINENO: checking for ${GJDOC}" >&5
16551 echo $ECHO_N "checking for ${GJDOC}... $ECHO_C" >&6
16552 if eval "test \"\${$as_ac_File+set}\" = set"; then
16553 echo $ECHO_N "(cached) $ECHO_C" >&6
16555 test "$cross_compiling" = yes &&
16556 { { echo "$as_me:$LINENO: error: cannot check for file existence when cross compiling" >&5
16557 echo "$as_me: error: cannot check for file existence when cross compiling" >&2;}
16558 { (exit 1); exit 1; }; }
16559 if test -r "${GJDOC}"; then
16560 eval "$as_ac_File=yes"
16562 eval "$as_ac_File=no"
16565 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_File'}'`" >&5
16566 echo "${ECHO_T}`eval echo '${'$as_ac_File'}'`" >&6
16567 if test `eval echo '${'$as_ac_File'}'` = yes; then
16570 { { echo "$as_me:$LINENO: error: \"Cannot use ${withval} as gjdoc executable since it doesn't exist\"" >&5
16571 echo "$as_me: error: \"Cannot use ${withval} as gjdoc executable since it doesn't exist\"" >&2;}
16572 { (exit 1); exit 1; }; }
16582 if test "x${WITH_GJDOC}" = xyes
; then
16583 CREATE_API_DOCS_TRUE
=
16584 CREATE_API_DOCS_FALSE
='#'
16586 CREATE_API_DOCS_TRUE
='#'
16587 CREATE_API_DOCS_FALSE
=
16594 # Check whether --with-jay or --without-jay was given.
16595 if test "${with_jay+set}" = set; then
16596 withval
="$with_jay"
16598 if test -d "${withval}"; then
16599 JAY_DIR_PATH
="${withval}"
16600 # Extract the first word of "jay", so it can be a program name with args.
16601 set dummy jay
; ac_word
=$2
16602 echo "$as_me:$LINENO: checking for $ac_word" >&5
16603 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
16604 if test "${ac_cv_path_JAY+set}" = set; then
16605 echo $ECHO_N "(cached) $ECHO_C" >&6
16609 ac_cv_path_JAY
="$JAY" # Let the user override the test with a path.
16612 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
16613 for as_dir
in ${JAY_DIR_PATH}
16616 test -z "$as_dir" && as_dir
=.
16617 for ac_exec_ext
in '' $ac_executable_extensions; do
16618 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
16619 ac_cv_path_JAY
="$as_dir/$ac_word$ac_exec_ext"
16620 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
16626 test -z "$ac_cv_path_JAY" && ac_cv_path_JAY
=""no
""
16630 JAY
=$ac_cv_path_JAY
16632 if test -n "$JAY"; then
16633 echo "$as_me:$LINENO: result: $JAY" >&5
16634 echo "${ECHO_T}$JAY" >&6
16636 echo "$as_me:$LINENO: result: no" >&5
16637 echo "${ECHO_T}no" >&6
16640 if test "x${JAY}" = xno
; then
16641 { { echo "$as_me:$LINENO: error: \"jay executable not found\"" >&5
16642 echo "$as_me: error: \"jay executable not found\"" >&2;}
16643 { (exit 1); exit 1; }; };
16646 JAY_DIR_PATH
=`dirname "${withval}"`
16650 JAY_SKELETON
="${JAY_DIR_PATH}/skeleton"
16651 as_ac_File
=`echo "ac_cv_file_${JAY_SKELETON}" | $as_tr_sh`
16652 echo "$as_me:$LINENO: checking for ${JAY_SKELETON}" >&5
16653 echo $ECHO_N "checking for ${JAY_SKELETON}... $ECHO_C" >&6
16654 if eval "test \"\${$as_ac_File+set}\" = set"; then
16655 echo $ECHO_N "(cached) $ECHO_C" >&6
16657 test "$cross_compiling" = yes &&
16658 { { echo "$as_me:$LINENO: error: cannot check for file existence when cross compiling" >&5
16659 echo "$as_me: error: cannot check for file existence when cross compiling" >&2;}
16660 { (exit 1); exit 1; }; }
16661 if test -r "${JAY_SKELETON}"; then
16662 eval "$as_ac_File=yes"
16664 eval "$as_ac_File=no"
16667 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_File'}'`" >&5
16668 echo "${ECHO_T}`eval echo '${'$as_ac_File'}'`" >&6
16669 if test `eval echo '${'$as_ac_File'}'` = yes; then
16672 { { echo "$as_me:$LINENO: error: \"Expected skeleton file in \`dirname ${withval}\`\"" >&5
16673 echo "$as_me: error: \"Expected skeleton file in \`dirname ${withval}\`\"" >&2;}
16674 { (exit 1); exit 1; }; }
16686 if test "x${JAY_FOUND}" = xyes
; then
16687 REGEN_PARSERS_TRUE
=
16688 REGEN_PARSERS_FALSE
='#'
16690 REGEN_PARSERS_TRUE
='#'
16691 REGEN_PARSERS_FALSE
=
16696 # Check whether --enable-portable-native-sync or --disable-portable-native-sync was given.
16697 if test "${enable_portable_native_sync+set}" = set; then
16698 enableval
="$enable_portable_native_sync"
16699 case "${enableval}" in
16702 cat >>confdefs.h
<<\_ACEOF
16703 #define PORTABLE_NATIVE_SYNC 1
16709 { { echo "$as_me:$LINENO: error: bad value ${enableval} for --enable-portable-native-sync" >&5
16710 echo "$as_me: error: bad value ${enableval} for --enable-portable-native-sync" >&2;}
16711 { (exit 1); exit 1; }; }
16716 # ------ AX CREATE STDINT H -------------------------------------
16717 echo "$as_me:$LINENO: checking for stdint types" >&5
16718 echo $ECHO_N "checking for stdint types... $ECHO_C" >&6
16719 ac_stdint_h
=`echo include/config-int.h`
16720 # try to shortcircuit - if the default include path of the compiler
16721 # can find a "stdint.h" header then we assume that all compilers can.
16722 if test "${ac_cv_header_stdint_t+set}" = set; then
16723 echo $ECHO_N "(cached) $ECHO_C" >&6
16726 old_CXXFLAGS
="$CXXFLAGS" ; CXXFLAGS
=""
16727 old_CPPFLAGS
="$CPPFLAGS" ; CPPFLAGS
=""
16728 old_CFLAGS
="$CFLAGS" ; CFLAGS
=""
16729 cat >conftest.
$ac_ext <<_ACEOF
16732 cat confdefs.h
>>conftest.
$ac_ext
16733 cat >>conftest.
$ac_ext <<_ACEOF
16734 /* end confdefs.h. */
16735 #include <stdint.h>
16739 int_least32_t v = 0;
16744 rm -f conftest.
$ac_objext
16745 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16746 (eval $ac_compile) 2>conftest.er1
16748 grep -v '^ *+' conftest.er1
>conftest.err
16750 cat conftest.err
>&5
16751 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16752 (exit $ac_status); } &&
16753 { ac_try
='test -z "$ac_c_werror_flag"
16754 || test ! -s conftest.err'
16755 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16756 (eval $ac_try) 2>&5
16758 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16759 (exit $ac_status); }; } &&
16760 { ac_try
='test -s conftest.$ac_objext'
16761 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16762 (eval $ac_try) 2>&5
16764 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16765 (exit $ac_status); }; }; then
16766 ac_cv_stdint_result
="(assuming C99 compatible system)"
16767 ac_cv_header_stdint_t
="stdint.h";
16769 echo "$as_me: failed program was:" >&5
16770 sed 's/^/| /' conftest.
$ac_ext >&5
16772 ac_cv_header_stdint_t
=""
16774 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
16775 CXXFLAGS
="$old_CXXFLAGS"
16776 CPPFLAGS
="$old_CPPFLAGS"
16777 CFLAGS
="$old_CFLAGS"
16781 v
="... $ac_cv_header_stdint_h"
16782 if test "$ac_stdint_h" = "stdint.h" ; then
16783 echo "$as_me:$LINENO: result: (are you sure you want them in ./stdint.h?)" >&5
16784 echo "${ECHO_T}(are you sure you want them in ./stdint.h?)" >&6
16785 elif test "$ac_stdint_h" = "inttypes.h" ; then
16786 echo "$as_me:$LINENO: result: (are you sure you want them in ./inttypes.h?)" >&5
16787 echo "${ECHO_T}(are you sure you want them in ./inttypes.h?)" >&6
16788 elif test "_$ac_cv_header_stdint_t" = "_" ; then
16789 echo "$as_me:$LINENO: result: (putting them into $ac_stdint_h)$v" >&5
16790 echo "${ECHO_T}(putting them into $ac_stdint_h)$v" >&6
16792 ac_cv_header_stdint
="$ac_cv_header_stdint_t"
16793 echo "$as_me:$LINENO: result: $ac_cv_header_stdint (shortcircuit)" >&5
16794 echo "${ECHO_T}$ac_cv_header_stdint (shortcircuit)" >&6
16797 if test "_$ac_cv_header_stdint_t" = "_" ; then # can not shortcircuit..
16800 inttype_headers
=`echo | sed -e 's/,/ /g'`
16802 ac_cv_stdint_result
="(no helpful system typedefs seen)"
16804 echo "$as_me:$LINENO: checking for stdint uintptr_t" >&5
16805 echo $ECHO_N "checking for stdint uintptr_t... $ECHO_C" >&6
16806 if test "${ac_cv_header_stdint_x+set}" = set; then
16807 echo $ECHO_N "(cached) $ECHO_C" >&6
16810 ac_cv_header_stdint_x
="" # the 1997 typedefs (inttypes.h)
16811 echo "$as_me:$LINENO: result: (..)" >&5
16812 echo "${ECHO_T}(..)" >&6
16813 for i
in stdint.h inttypes.h sys
/inttypes.h
$inttype_headers ; do
16814 unset ac_cv_type_uintptr_t
16815 unset ac_cv_type_uint64_t
16816 echo "$as_me:$LINENO: checking for uintptr_t" >&5
16817 echo $ECHO_N "checking for uintptr_t... $ECHO_C" >&6
16818 if test "${ac_cv_type_uintptr_t+set}" = set; then
16819 echo $ECHO_N "(cached) $ECHO_C" >&6
16821 cat >conftest.
$ac_ext <<_ACEOF
16824 cat confdefs.h
>>conftest.
$ac_ext
16825 cat >>conftest.
$ac_ext <<_ACEOF
16826 /* end confdefs.h. */
16832 if ((uintptr_t *) 0)
16834 if (sizeof (uintptr_t))
16840 rm -f conftest.
$ac_objext
16841 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16842 (eval $ac_compile) 2>conftest.er1
16844 grep -v '^ *+' conftest.er1
>conftest.err
16846 cat conftest.err
>&5
16847 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16848 (exit $ac_status); } &&
16849 { ac_try
='test -z "$ac_c_werror_flag"
16850 || test ! -s conftest.err'
16851 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16852 (eval $ac_try) 2>&5
16854 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16855 (exit $ac_status); }; } &&
16856 { ac_try
='test -s conftest.$ac_objext'
16857 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16858 (eval $ac_try) 2>&5
16860 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16861 (exit $ac_status); }; }; then
16862 ac_cv_type_uintptr_t
=yes
16864 echo "$as_me: failed program was:" >&5
16865 sed 's/^/| /' conftest.
$ac_ext >&5
16867 ac_cv_type_uintptr_t
=no
16869 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
16871 echo "$as_me:$LINENO: result: $ac_cv_type_uintptr_t" >&5
16872 echo "${ECHO_T}$ac_cv_type_uintptr_t" >&6
16873 if test $ac_cv_type_uintptr_t = yes; then
16874 ac_cv_header_stdint_x
=$i
16879 echo "$as_me:$LINENO: checking for uint64_t" >&5
16880 echo $ECHO_N "checking for uint64_t... $ECHO_C" >&6
16881 if test "${ac_cv_type_uint64_t+set}" = set; then
16882 echo $ECHO_N "(cached) $ECHO_C" >&6
16884 cat >conftest.
$ac_ext <<_ACEOF
16887 cat confdefs.h
>>conftest.
$ac_ext
16888 cat >>conftest.
$ac_ext <<_ACEOF
16889 /* end confdefs.h. */
16895 if ((uint64_t *) 0)
16897 if (sizeof (uint64_t))
16903 rm -f conftest.
$ac_objext
16904 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16905 (eval $ac_compile) 2>conftest.er1
16907 grep -v '^ *+' conftest.er1
>conftest.err
16909 cat conftest.err
>&5
16910 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16911 (exit $ac_status); } &&
16912 { ac_try
='test -z "$ac_c_werror_flag"
16913 || test ! -s conftest.err'
16914 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16915 (eval $ac_try) 2>&5
16917 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16918 (exit $ac_status); }; } &&
16919 { ac_try
='test -s conftest.$ac_objext'
16920 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16921 (eval $ac_try) 2>&5
16923 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16924 (exit $ac_status); }; }; then
16925 ac_cv_type_uint64_t
=yes
16927 echo "$as_me: failed program was:" >&5
16928 sed 's/^/| /' conftest.
$ac_ext >&5
16930 ac_cv_type_uint64_t
=no
16932 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
16934 echo "$as_me:$LINENO: result: $ac_cv_type_uint64_t" >&5
16935 echo "${ECHO_T}$ac_cv_type_uint64_t" >&6
16936 if test $ac_cv_type_uint64_t = yes; then
16942 stdint.h inttypes.h sys
/inttypes.h
$inttype_headers
16945 echo "$as_me:$LINENO: checking for stdint uintptr_t" >&5
16946 echo $ECHO_N "checking for stdint uintptr_t... $ECHO_C" >&6
16949 echo "$as_me:$LINENO: result: $ac_cv_header_stdint_x" >&5
16950 echo "${ECHO_T}$ac_cv_header_stdint_x" >&6
16953 if test "_$ac_cv_header_stdint_x" = "_" ; then
16955 echo "$as_me:$LINENO: checking for stdint uint32_t" >&5
16956 echo $ECHO_N "checking for stdint uint32_t... $ECHO_C" >&6
16957 if test "${ac_cv_header_stdint_o+set}" = set; then
16958 echo $ECHO_N "(cached) $ECHO_C" >&6
16961 ac_cv_header_stdint_o
="" # the 1995 typedefs (sys/inttypes.h)
16962 echo "$as_me:$LINENO: result: (..)" >&5
16963 echo "${ECHO_T}(..)" >&6
16964 for i
in inttypes.h sys
/inttypes.h stdint.h
$inttype_headers ; do
16965 unset ac_cv_type_uint32_t
16966 unset ac_cv_type_uint64_t
16967 echo "$as_me:$LINENO: checking for uint32_t" >&5
16968 echo $ECHO_N "checking for uint32_t... $ECHO_C" >&6
16969 if test "${ac_cv_type_uint32_t+set}" = set; then
16970 echo $ECHO_N "(cached) $ECHO_C" >&6
16972 cat >conftest.
$ac_ext <<_ACEOF
16975 cat confdefs.h
>>conftest.
$ac_ext
16976 cat >>conftest.
$ac_ext <<_ACEOF
16977 /* end confdefs.h. */
16983 if ((uint32_t *) 0)
16985 if (sizeof (uint32_t))
16991 rm -f conftest.
$ac_objext
16992 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16993 (eval $ac_compile) 2>conftest.er1
16995 grep -v '^ *+' conftest.er1
>conftest.err
16997 cat conftest.err
>&5
16998 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16999 (exit $ac_status); } &&
17000 { ac_try
='test -z "$ac_c_werror_flag"
17001 || test ! -s conftest.err'
17002 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17003 (eval $ac_try) 2>&5
17005 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17006 (exit $ac_status); }; } &&
17007 { ac_try
='test -s conftest.$ac_objext'
17008 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17009 (eval $ac_try) 2>&5
17011 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17012 (exit $ac_status); }; }; then
17013 ac_cv_type_uint32_t
=yes
17015 echo "$as_me: failed program was:" >&5
17016 sed 's/^/| /' conftest.
$ac_ext >&5
17018 ac_cv_type_uint32_t
=no
17020 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
17022 echo "$as_me:$LINENO: result: $ac_cv_type_uint32_t" >&5
17023 echo "${ECHO_T}$ac_cv_type_uint32_t" >&6
17024 if test $ac_cv_type_uint32_t = yes; then
17025 ac_cv_header_stdint_o
=$i
17030 echo "$as_me:$LINENO: checking for uint64_t" >&5
17031 echo $ECHO_N "checking for uint64_t... $ECHO_C" >&6
17032 if test "${ac_cv_type_uint64_t+set}" = set; then
17033 echo $ECHO_N "(cached) $ECHO_C" >&6
17035 cat >conftest.
$ac_ext <<_ACEOF
17038 cat confdefs.h
>>conftest.
$ac_ext
17039 cat >>conftest.
$ac_ext <<_ACEOF
17040 /* end confdefs.h. */
17046 if ((uint64_t *) 0)
17048 if (sizeof (uint64_t))
17054 rm -f conftest.
$ac_objext
17055 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17056 (eval $ac_compile) 2>conftest.er1
17058 grep -v '^ *+' conftest.er1
>conftest.err
17060 cat conftest.err
>&5
17061 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17062 (exit $ac_status); } &&
17063 { ac_try
='test -z "$ac_c_werror_flag"
17064 || test ! -s conftest.err'
17065 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17066 (eval $ac_try) 2>&5
17068 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17069 (exit $ac_status); }; } &&
17070 { ac_try
='test -s conftest.$ac_objext'
17071 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17072 (eval $ac_try) 2>&5
17074 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17075 (exit $ac_status); }; }; then
17076 ac_cv_type_uint64_t
=yes
17078 echo "$as_me: failed program was:" >&5
17079 sed 's/^/| /' conftest.
$ac_ext >&5
17081 ac_cv_type_uint64_t
=no
17083 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
17085 echo "$as_me:$LINENO: result: $ac_cv_type_uint64_t" >&5
17086 echo "${ECHO_T}$ac_cv_type_uint64_t" >&6
17087 if test $ac_cv_type_uint64_t = yes; then
17093 inttypes.h sys
/inttypes.h stdint.h
$inttype_headers
17097 echo "$as_me:$LINENO: checking for stdint uint32_t" >&5
17098 echo $ECHO_N "checking for stdint uint32_t... $ECHO_C" >&6
17101 echo "$as_me:$LINENO: result: $ac_cv_header_stdint_o" >&5
17102 echo "${ECHO_T}$ac_cv_header_stdint_o" >&6
17106 if test "_$ac_cv_header_stdint_x" = "_" ; then
17107 if test "_$ac_cv_header_stdint_o" = "_" ; then
17109 echo "$as_me:$LINENO: checking for stdint u_int32_t" >&5
17110 echo $ECHO_N "checking for stdint u_int32_t... $ECHO_C" >&6
17111 if test "${ac_cv_header_stdint_u+set}" = set; then
17112 echo $ECHO_N "(cached) $ECHO_C" >&6
17115 ac_cv_header_stdint_u
="" # the BSD typedefs (sys/types.h)
17116 echo "$as_me:$LINENO: result: (..)" >&5
17117 echo "${ECHO_T}(..)" >&6
17118 for i
in sys
/types.h inttypes.h sys
/inttypes.h
$inttype_headers ; do
17119 unset ac_cv_type_u_int32_t
17120 unset ac_cv_type_u_int64_t
17121 echo "$as_me:$LINENO: checking for u_int32_t" >&5
17122 echo $ECHO_N "checking for u_int32_t... $ECHO_C" >&6
17123 if test "${ac_cv_type_u_int32_t+set}" = set; then
17124 echo $ECHO_N "(cached) $ECHO_C" >&6
17126 cat >conftest.
$ac_ext <<_ACEOF
17129 cat confdefs.h
>>conftest.
$ac_ext
17130 cat >>conftest.
$ac_ext <<_ACEOF
17131 /* end confdefs.h. */
17137 if ((u_int32_t *) 0)
17139 if (sizeof (u_int32_t))
17145 rm -f conftest.
$ac_objext
17146 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17147 (eval $ac_compile) 2>conftest.er1
17149 grep -v '^ *+' conftest.er1
>conftest.err
17151 cat conftest.err
>&5
17152 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17153 (exit $ac_status); } &&
17154 { ac_try
='test -z "$ac_c_werror_flag"
17155 || test ! -s conftest.err'
17156 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17157 (eval $ac_try) 2>&5
17159 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17160 (exit $ac_status); }; } &&
17161 { ac_try
='test -s conftest.$ac_objext'
17162 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17163 (eval $ac_try) 2>&5
17165 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17166 (exit $ac_status); }; }; then
17167 ac_cv_type_u_int32_t
=yes
17169 echo "$as_me: failed program was:" >&5
17170 sed 's/^/| /' conftest.
$ac_ext >&5
17172 ac_cv_type_u_int32_t
=no
17174 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
17176 echo "$as_me:$LINENO: result: $ac_cv_type_u_int32_t" >&5
17177 echo "${ECHO_T}$ac_cv_type_u_int32_t" >&6
17178 if test $ac_cv_type_u_int32_t = yes; then
17179 ac_cv_header_stdint_u
=$i
17184 echo "$as_me:$LINENO: checking for u_int64_t" >&5
17185 echo $ECHO_N "checking for u_int64_t... $ECHO_C" >&6
17186 if test "${ac_cv_type_u_int64_t+set}" = set; then
17187 echo $ECHO_N "(cached) $ECHO_C" >&6
17189 cat >conftest.
$ac_ext <<_ACEOF
17192 cat confdefs.h
>>conftest.
$ac_ext
17193 cat >>conftest.
$ac_ext <<_ACEOF
17194 /* end confdefs.h. */
17200 if ((u_int64_t *) 0)
17202 if (sizeof (u_int64_t))
17208 rm -f conftest.
$ac_objext
17209 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17210 (eval $ac_compile) 2>conftest.er1
17212 grep -v '^ *+' conftest.er1
>conftest.err
17214 cat conftest.err
>&5
17215 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17216 (exit $ac_status); } &&
17217 { ac_try
='test -z "$ac_c_werror_flag"
17218 || test ! -s conftest.err'
17219 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17220 (eval $ac_try) 2>&5
17222 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17223 (exit $ac_status); }; } &&
17224 { ac_try
='test -s conftest.$ac_objext'
17225 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17226 (eval $ac_try) 2>&5
17228 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17229 (exit $ac_status); }; }; then
17230 ac_cv_type_u_int64_t
=yes
17232 echo "$as_me: failed program was:" >&5
17233 sed 's/^/| /' conftest.
$ac_ext >&5
17235 ac_cv_type_u_int64_t
=no
17237 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
17239 echo "$as_me:$LINENO: result: $ac_cv_type_u_int64_t" >&5
17240 echo "${ECHO_T}$ac_cv_type_u_int64_t" >&6
17241 if test $ac_cv_type_u_int64_t = yes; then
17247 sys
/types.h inttypes.h sys
/inttypes.h
$inttype_headers
17251 echo "$as_me:$LINENO: checking for stdint u_int32_t" >&5
17252 echo $ECHO_N "checking for stdint u_int32_t... $ECHO_C" >&6
17255 echo "$as_me:$LINENO: result: $ac_cv_header_stdint_u" >&5
17256 echo "${ECHO_T}$ac_cv_header_stdint_u" >&6
17260 if test "_$ac_cv_header_stdint_x" = "_" ; then
17261 echo "$as_me:$LINENO: checking for stdint datatype model" >&5
17262 echo $ECHO_N "checking for stdint datatype model... $ECHO_C" >&6
17263 echo "$as_me:$LINENO: result: (..)" >&5
17264 echo "${ECHO_T}(..)" >&6
17266 echo "$as_me:$LINENO: checking for char" >&5
17267 echo $ECHO_N "checking for char... $ECHO_C" >&6
17268 if test "${ac_cv_type_char+set}" = set; then
17269 echo $ECHO_N "(cached) $ECHO_C" >&6
17271 cat >conftest.
$ac_ext <<_ACEOF
17274 cat confdefs.h
>>conftest.
$ac_ext
17275 cat >>conftest.
$ac_ext <<_ACEOF
17276 /* end confdefs.h. */
17277 $ac_includes_default
17289 rm -f conftest.
$ac_objext
17290 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17291 (eval $ac_compile) 2>conftest.er1
17293 grep -v '^ *+' conftest.er1
>conftest.err
17295 cat conftest.err
>&5
17296 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17297 (exit $ac_status); } &&
17298 { ac_try
='test -z "$ac_c_werror_flag"
17299 || test ! -s conftest.err'
17300 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17301 (eval $ac_try) 2>&5
17303 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17304 (exit $ac_status); }; } &&
17305 { ac_try
='test -s conftest.$ac_objext'
17306 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17307 (eval $ac_try) 2>&5
17309 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17310 (exit $ac_status); }; }; then
17311 ac_cv_type_char
=yes
17313 echo "$as_me: failed program was:" >&5
17314 sed 's/^/| /' conftest.
$ac_ext >&5
17318 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
17320 echo "$as_me:$LINENO: result: $ac_cv_type_char" >&5
17321 echo "${ECHO_T}$ac_cv_type_char" >&6
17323 echo "$as_me:$LINENO: checking size of char" >&5
17324 echo $ECHO_N "checking size of char... $ECHO_C" >&6
17325 if test "${ac_cv_sizeof_char+set}" = set; then
17326 echo $ECHO_N "(cached) $ECHO_C" >&6
17328 if test "$ac_cv_type_char" = yes; then
17329 # The cast to unsigned long works around a bug in the HP C Compiler
17330 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
17331 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
17332 # This bug is HP SR number 8606223364.
17333 if test "$cross_compiling" = yes; then
17334 # Depending upon the size, compute the lo and hi bounds.
17335 cat >conftest.
$ac_ext <<_ACEOF
17338 cat confdefs.h
>>conftest.
$ac_ext
17339 cat >>conftest.
$ac_ext <<_ACEOF
17340 /* end confdefs.h. */
17341 $ac_includes_default
17345 static int test_array [1 - 2 * !(((long) (sizeof (char))) >= 0)];
17352 rm -f conftest.
$ac_objext
17353 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17354 (eval $ac_compile) 2>conftest.er1
17356 grep -v '^ *+' conftest.er1
>conftest.err
17358 cat conftest.err
>&5
17359 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17360 (exit $ac_status); } &&
17361 { ac_try
='test -z "$ac_c_werror_flag"
17362 || test ! -s conftest.err'
17363 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17364 (eval $ac_try) 2>&5
17366 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17367 (exit $ac_status); }; } &&
17368 { ac_try
='test -s conftest.$ac_objext'
17369 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17370 (eval $ac_try) 2>&5
17372 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17373 (exit $ac_status); }; }; then
17376 cat >conftest.
$ac_ext <<_ACEOF
17379 cat confdefs.h
>>conftest.
$ac_ext
17380 cat >>conftest.
$ac_ext <<_ACEOF
17381 /* end confdefs.h. */
17382 $ac_includes_default
17386 static int test_array [1 - 2 * !(((long) (sizeof (char))) <= $ac_mid)];
17393 rm -f conftest.
$ac_objext
17394 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17395 (eval $ac_compile) 2>conftest.er1
17397 grep -v '^ *+' conftest.er1
>conftest.err
17399 cat conftest.err
>&5
17400 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17401 (exit $ac_status); } &&
17402 { ac_try
='test -z "$ac_c_werror_flag"
17403 || test ! -s conftest.err'
17404 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17405 (eval $ac_try) 2>&5
17407 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17408 (exit $ac_status); }; } &&
17409 { ac_try
='test -s conftest.$ac_objext'
17410 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17411 (eval $ac_try) 2>&5
17413 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17414 (exit $ac_status); }; }; then
17415 ac_hi
=$ac_mid; break
17417 echo "$as_me: failed program was:" >&5
17418 sed 's/^/| /' conftest.
$ac_ext >&5
17420 ac_lo
=`expr $ac_mid + 1`
17421 if test $ac_lo -le $ac_mid; then
17425 ac_mid
=`expr 2 '*' $ac_mid + 1`
17427 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
17430 echo "$as_me: failed program was:" >&5
17431 sed 's/^/| /' conftest.
$ac_ext >&5
17433 cat >conftest.
$ac_ext <<_ACEOF
17436 cat confdefs.h
>>conftest.
$ac_ext
17437 cat >>conftest.
$ac_ext <<_ACEOF
17438 /* end confdefs.h. */
17439 $ac_includes_default
17443 static int test_array [1 - 2 * !(((long) (sizeof (char))) < 0)];
17450 rm -f conftest.
$ac_objext
17451 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17452 (eval $ac_compile) 2>conftest.er1
17454 grep -v '^ *+' conftest.er1
>conftest.err
17456 cat conftest.err
>&5
17457 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17458 (exit $ac_status); } &&
17459 { ac_try
='test -z "$ac_c_werror_flag"
17460 || test ! -s conftest.err'
17461 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17462 (eval $ac_try) 2>&5
17464 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17465 (exit $ac_status); }; } &&
17466 { ac_try
='test -s conftest.$ac_objext'
17467 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17468 (eval $ac_try) 2>&5
17470 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17471 (exit $ac_status); }; }; then
17474 cat >conftest.
$ac_ext <<_ACEOF
17477 cat confdefs.h
>>conftest.
$ac_ext
17478 cat >>conftest.
$ac_ext <<_ACEOF
17479 /* end confdefs.h. */
17480 $ac_includes_default
17484 static int test_array [1 - 2 * !(((long) (sizeof (char))) >= $ac_mid)];
17491 rm -f conftest.
$ac_objext
17492 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17493 (eval $ac_compile) 2>conftest.er1
17495 grep -v '^ *+' conftest.er1
>conftest.err
17497 cat conftest.err
>&5
17498 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17499 (exit $ac_status); } &&
17500 { ac_try
='test -z "$ac_c_werror_flag"
17501 || test ! -s conftest.err'
17502 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17503 (eval $ac_try) 2>&5
17505 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17506 (exit $ac_status); }; } &&
17507 { ac_try
='test -s conftest.$ac_objext'
17508 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17509 (eval $ac_try) 2>&5
17511 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17512 (exit $ac_status); }; }; then
17513 ac_lo
=$ac_mid; break
17515 echo "$as_me: failed program was:" >&5
17516 sed 's/^/| /' conftest.
$ac_ext >&5
17518 ac_hi
=`expr '(' $ac_mid ')' - 1`
17519 if test $ac_mid -le $ac_hi; then
17523 ac_mid
=`expr 2 '*' $ac_mid`
17525 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
17528 echo "$as_me: failed program was:" >&5
17529 sed 's/^/| /' conftest.
$ac_ext >&5
17533 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
17535 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
17536 # Binary search between lo and hi bounds.
17537 while test "x$ac_lo" != "x$ac_hi"; do
17538 ac_mid
=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
17539 cat >conftest.
$ac_ext <<_ACEOF
17542 cat confdefs.h
>>conftest.
$ac_ext
17543 cat >>conftest.
$ac_ext <<_ACEOF
17544 /* end confdefs.h. */
17545 $ac_includes_default
17549 static int test_array [1 - 2 * !(((long) (sizeof (char))) <= $ac_mid)];
17556 rm -f conftest.
$ac_objext
17557 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17558 (eval $ac_compile) 2>conftest.er1
17560 grep -v '^ *+' conftest.er1
>conftest.err
17562 cat conftest.err
>&5
17563 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17564 (exit $ac_status); } &&
17565 { ac_try
='test -z "$ac_c_werror_flag"
17566 || test ! -s conftest.err'
17567 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17568 (eval $ac_try) 2>&5
17570 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17571 (exit $ac_status); }; } &&
17572 { ac_try
='test -s conftest.$ac_objext'
17573 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17574 (eval $ac_try) 2>&5
17576 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17577 (exit $ac_status); }; }; then
17580 echo "$as_me: failed program was:" >&5
17581 sed 's/^/| /' conftest.
$ac_ext >&5
17583 ac_lo
=`expr '(' $ac_mid ')' + 1`
17585 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
17588 ?
*) ac_cv_sizeof_char
=$ac_lo;;
17589 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (char), 77
17590 See \`config.log' for more details." >&5
17591 echo "$as_me: error: cannot compute sizeof (char), 77
17592 See \`config.log' for more details." >&2;}
17593 { (exit 1); exit 1; }; } ;;
17596 if test "$cross_compiling" = yes; then
17597 { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
17598 See \`config.log' for more details." >&5
17599 echo "$as_me: error: cannot run test program while cross compiling
17600 See \`config.log' for more details." >&2;}
17601 { (exit 1); exit 1; }; }
17603 cat >conftest.
$ac_ext <<_ACEOF
17606 cat confdefs.h
>>conftest.
$ac_ext
17607 cat >>conftest.
$ac_ext <<_ACEOF
17608 /* end confdefs.h. */
17609 $ac_includes_default
17610 long longval () { return (long) (sizeof (char)); }
17611 unsigned long ulongval () { return (long) (sizeof (char)); }
17613 #include <stdlib.h>
17618 FILE *f = fopen ("conftest.val", "w");
17621 if (((long) (sizeof (char))) < 0)
17623 long i = longval ();
17624 if (i != ((long) (sizeof (char))))
17626 fprintf (f, "%ld\n", i);
17630 unsigned long i = ulongval ();
17631 if (i != ((long) (sizeof (char))))
17633 fprintf (f, "%lu\n", i);
17635 exit (ferror (f) || fclose (f) != 0);
17641 rm -f conftest
$ac_exeext
17642 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
17643 (eval $ac_link) 2>&5
17645 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17646 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
17647 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17648 (eval $ac_try) 2>&5
17650 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17651 (exit $ac_status); }; }; then
17652 ac_cv_sizeof_char
=`cat conftest.val`
17654 echo "$as_me: program exited with status $ac_status" >&5
17655 echo "$as_me: failed program was:" >&5
17656 sed 's/^/| /' conftest.
$ac_ext >&5
17658 ( exit $ac_status )
17659 { { echo "$as_me:$LINENO: error: cannot compute sizeof (char), 77
17660 See \`config.log' for more details." >&5
17661 echo "$as_me: error: cannot compute sizeof (char), 77
17662 See \`config.log' for more details." >&2;}
17663 { (exit 1); exit 1; }; }
17665 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
17670 ac_cv_sizeof_char
=0
17673 echo "$as_me:$LINENO: result: $ac_cv_sizeof_char" >&5
17674 echo "${ECHO_T}$ac_cv_sizeof_char" >&6
17675 cat >>confdefs.h
<<_ACEOF
17676 #define SIZEOF_CHAR $ac_cv_sizeof_char
17680 echo "$as_me:$LINENO: checking for short" >&5
17681 echo $ECHO_N "checking for short... $ECHO_C" >&6
17682 if test "${ac_cv_type_short+set}" = set; then
17683 echo $ECHO_N "(cached) $ECHO_C" >&6
17685 cat >conftest.
$ac_ext <<_ACEOF
17688 cat confdefs.h
>>conftest.
$ac_ext
17689 cat >>conftest.
$ac_ext <<_ACEOF
17690 /* end confdefs.h. */
17691 $ac_includes_default
17697 if (sizeof (short))
17703 rm -f conftest.
$ac_objext
17704 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17705 (eval $ac_compile) 2>conftest.er1
17707 grep -v '^ *+' conftest.er1
>conftest.err
17709 cat conftest.err
>&5
17710 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17711 (exit $ac_status); } &&
17712 { ac_try
='test -z "$ac_c_werror_flag"
17713 || test ! -s conftest.err'
17714 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17715 (eval $ac_try) 2>&5
17717 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17718 (exit $ac_status); }; } &&
17719 { ac_try
='test -s conftest.$ac_objext'
17720 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17721 (eval $ac_try) 2>&5
17723 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17724 (exit $ac_status); }; }; then
17725 ac_cv_type_short
=yes
17727 echo "$as_me: failed program was:" >&5
17728 sed 's/^/| /' conftest.
$ac_ext >&5
17730 ac_cv_type_short
=no
17732 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
17734 echo "$as_me:$LINENO: result: $ac_cv_type_short" >&5
17735 echo "${ECHO_T}$ac_cv_type_short" >&6
17737 echo "$as_me:$LINENO: checking size of short" >&5
17738 echo $ECHO_N "checking size of short... $ECHO_C" >&6
17739 if test "${ac_cv_sizeof_short+set}" = set; then
17740 echo $ECHO_N "(cached) $ECHO_C" >&6
17742 if test "$ac_cv_type_short" = yes; then
17743 # The cast to unsigned long works around a bug in the HP C Compiler
17744 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
17745 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
17746 # This bug is HP SR number 8606223364.
17747 if test "$cross_compiling" = yes; then
17748 # Depending upon the size, compute the lo and hi bounds.
17749 cat >conftest.
$ac_ext <<_ACEOF
17752 cat confdefs.h
>>conftest.
$ac_ext
17753 cat >>conftest.
$ac_ext <<_ACEOF
17754 /* end confdefs.h. */
17755 $ac_includes_default
17759 static int test_array [1 - 2 * !(((long) (sizeof (short))) >= 0)];
17766 rm -f conftest.
$ac_objext
17767 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17768 (eval $ac_compile) 2>conftest.er1
17770 grep -v '^ *+' conftest.er1
>conftest.err
17772 cat conftest.err
>&5
17773 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17774 (exit $ac_status); } &&
17775 { ac_try
='test -z "$ac_c_werror_flag"
17776 || test ! -s conftest.err'
17777 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17778 (eval $ac_try) 2>&5
17780 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17781 (exit $ac_status); }; } &&
17782 { ac_try
='test -s conftest.$ac_objext'
17783 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17784 (eval $ac_try) 2>&5
17786 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17787 (exit $ac_status); }; }; then
17790 cat >conftest.
$ac_ext <<_ACEOF
17793 cat confdefs.h
>>conftest.
$ac_ext
17794 cat >>conftest.
$ac_ext <<_ACEOF
17795 /* end confdefs.h. */
17796 $ac_includes_default
17800 static int test_array [1 - 2 * !(((long) (sizeof (short))) <= $ac_mid)];
17807 rm -f conftest.
$ac_objext
17808 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17809 (eval $ac_compile) 2>conftest.er1
17811 grep -v '^ *+' conftest.er1
>conftest.err
17813 cat conftest.err
>&5
17814 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17815 (exit $ac_status); } &&
17816 { ac_try
='test -z "$ac_c_werror_flag"
17817 || test ! -s conftest.err'
17818 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17819 (eval $ac_try) 2>&5
17821 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17822 (exit $ac_status); }; } &&
17823 { ac_try
='test -s conftest.$ac_objext'
17824 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17825 (eval $ac_try) 2>&5
17827 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17828 (exit $ac_status); }; }; then
17829 ac_hi
=$ac_mid; break
17831 echo "$as_me: failed program was:" >&5
17832 sed 's/^/| /' conftest.
$ac_ext >&5
17834 ac_lo
=`expr $ac_mid + 1`
17835 if test $ac_lo -le $ac_mid; then
17839 ac_mid
=`expr 2 '*' $ac_mid + 1`
17841 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
17844 echo "$as_me: failed program was:" >&5
17845 sed 's/^/| /' conftest.
$ac_ext >&5
17847 cat >conftest.
$ac_ext <<_ACEOF
17850 cat confdefs.h
>>conftest.
$ac_ext
17851 cat >>conftest.
$ac_ext <<_ACEOF
17852 /* end confdefs.h. */
17853 $ac_includes_default
17857 static int test_array [1 - 2 * !(((long) (sizeof (short))) < 0)];
17864 rm -f conftest.
$ac_objext
17865 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17866 (eval $ac_compile) 2>conftest.er1
17868 grep -v '^ *+' conftest.er1
>conftest.err
17870 cat conftest.err
>&5
17871 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17872 (exit $ac_status); } &&
17873 { ac_try
='test -z "$ac_c_werror_flag"
17874 || test ! -s conftest.err'
17875 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17876 (eval $ac_try) 2>&5
17878 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17879 (exit $ac_status); }; } &&
17880 { ac_try
='test -s conftest.$ac_objext'
17881 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17882 (eval $ac_try) 2>&5
17884 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17885 (exit $ac_status); }; }; then
17888 cat >conftest.
$ac_ext <<_ACEOF
17891 cat confdefs.h
>>conftest.
$ac_ext
17892 cat >>conftest.
$ac_ext <<_ACEOF
17893 /* end confdefs.h. */
17894 $ac_includes_default
17898 static int test_array [1 - 2 * !(((long) (sizeof (short))) >= $ac_mid)];
17905 rm -f conftest.
$ac_objext
17906 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17907 (eval $ac_compile) 2>conftest.er1
17909 grep -v '^ *+' conftest.er1
>conftest.err
17911 cat conftest.err
>&5
17912 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17913 (exit $ac_status); } &&
17914 { ac_try
='test -z "$ac_c_werror_flag"
17915 || test ! -s conftest.err'
17916 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17917 (eval $ac_try) 2>&5
17919 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17920 (exit $ac_status); }; } &&
17921 { ac_try
='test -s conftest.$ac_objext'
17922 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17923 (eval $ac_try) 2>&5
17925 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17926 (exit $ac_status); }; }; then
17927 ac_lo
=$ac_mid; break
17929 echo "$as_me: failed program was:" >&5
17930 sed 's/^/| /' conftest.
$ac_ext >&5
17932 ac_hi
=`expr '(' $ac_mid ')' - 1`
17933 if test $ac_mid -le $ac_hi; then
17937 ac_mid
=`expr 2 '*' $ac_mid`
17939 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
17942 echo "$as_me: failed program was:" >&5
17943 sed 's/^/| /' conftest.
$ac_ext >&5
17947 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
17949 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
17950 # Binary search between lo and hi bounds.
17951 while test "x$ac_lo" != "x$ac_hi"; do
17952 ac_mid
=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
17953 cat >conftest.
$ac_ext <<_ACEOF
17956 cat confdefs.h
>>conftest.
$ac_ext
17957 cat >>conftest.
$ac_ext <<_ACEOF
17958 /* end confdefs.h. */
17959 $ac_includes_default
17963 static int test_array [1 - 2 * !(((long) (sizeof (short))) <= $ac_mid)];
17970 rm -f conftest.
$ac_objext
17971 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17972 (eval $ac_compile) 2>conftest.er1
17974 grep -v '^ *+' conftest.er1
>conftest.err
17976 cat conftest.err
>&5
17977 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17978 (exit $ac_status); } &&
17979 { ac_try
='test -z "$ac_c_werror_flag"
17980 || test ! -s conftest.err'
17981 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17982 (eval $ac_try) 2>&5
17984 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17985 (exit $ac_status); }; } &&
17986 { ac_try
='test -s conftest.$ac_objext'
17987 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17988 (eval $ac_try) 2>&5
17990 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17991 (exit $ac_status); }; }; then
17994 echo "$as_me: failed program was:" >&5
17995 sed 's/^/| /' conftest.
$ac_ext >&5
17997 ac_lo
=`expr '(' $ac_mid ')' + 1`
17999 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
18002 ?
*) ac_cv_sizeof_short
=$ac_lo;;
18003 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (short), 77
18004 See \`config.log' for more details." >&5
18005 echo "$as_me: error: cannot compute sizeof (short), 77
18006 See \`config.log' for more details." >&2;}
18007 { (exit 1); exit 1; }; } ;;
18010 if test "$cross_compiling" = yes; then
18011 { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
18012 See \`config.log' for more details." >&5
18013 echo "$as_me: error: cannot run test program while cross compiling
18014 See \`config.log' for more details." >&2;}
18015 { (exit 1); exit 1; }; }
18017 cat >conftest.
$ac_ext <<_ACEOF
18020 cat confdefs.h
>>conftest.
$ac_ext
18021 cat >>conftest.
$ac_ext <<_ACEOF
18022 /* end confdefs.h. */
18023 $ac_includes_default
18024 long longval () { return (long) (sizeof (short)); }
18025 unsigned long ulongval () { return (long) (sizeof (short)); }
18027 #include <stdlib.h>
18032 FILE *f = fopen ("conftest.val", "w");
18035 if (((long) (sizeof (short))) < 0)
18037 long i = longval ();
18038 if (i != ((long) (sizeof (short))))
18040 fprintf (f, "%ld\n", i);
18044 unsigned long i = ulongval ();
18045 if (i != ((long) (sizeof (short))))
18047 fprintf (f, "%lu\n", i);
18049 exit (ferror (f) || fclose (f) != 0);
18055 rm -f conftest
$ac_exeext
18056 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
18057 (eval $ac_link) 2>&5
18059 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18060 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
18061 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18062 (eval $ac_try) 2>&5
18064 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18065 (exit $ac_status); }; }; then
18066 ac_cv_sizeof_short
=`cat conftest.val`
18068 echo "$as_me: program exited with status $ac_status" >&5
18069 echo "$as_me: failed program was:" >&5
18070 sed 's/^/| /' conftest.
$ac_ext >&5
18072 ( exit $ac_status )
18073 { { echo "$as_me:$LINENO: error: cannot compute sizeof (short), 77
18074 See \`config.log' for more details." >&5
18075 echo "$as_me: error: cannot compute sizeof (short), 77
18076 See \`config.log' for more details." >&2;}
18077 { (exit 1); exit 1; }; }
18079 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
18084 ac_cv_sizeof_short
=0
18087 echo "$as_me:$LINENO: result: $ac_cv_sizeof_short" >&5
18088 echo "${ECHO_T}$ac_cv_sizeof_short" >&6
18089 cat >>confdefs.h
<<_ACEOF
18090 #define SIZEOF_SHORT $ac_cv_sizeof_short
18094 echo "$as_me:$LINENO: checking for int" >&5
18095 echo $ECHO_N "checking for int... $ECHO_C" >&6
18096 if test "${ac_cv_type_int+set}" = set; then
18097 echo $ECHO_N "(cached) $ECHO_C" >&6
18099 cat >conftest.
$ac_ext <<_ACEOF
18102 cat confdefs.h
>>conftest.
$ac_ext
18103 cat >>conftest.
$ac_ext <<_ACEOF
18104 /* end confdefs.h. */
18105 $ac_includes_default
18117 rm -f conftest.
$ac_objext
18118 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18119 (eval $ac_compile) 2>conftest.er1
18121 grep -v '^ *+' conftest.er1
>conftest.err
18123 cat conftest.err
>&5
18124 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18125 (exit $ac_status); } &&
18126 { ac_try
='test -z "$ac_c_werror_flag"
18127 || test ! -s conftest.err'
18128 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18129 (eval $ac_try) 2>&5
18131 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18132 (exit $ac_status); }; } &&
18133 { ac_try
='test -s conftest.$ac_objext'
18134 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18135 (eval $ac_try) 2>&5
18137 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18138 (exit $ac_status); }; }; then
18141 echo "$as_me: failed program was:" >&5
18142 sed 's/^/| /' conftest.
$ac_ext >&5
18146 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
18148 echo "$as_me:$LINENO: result: $ac_cv_type_int" >&5
18149 echo "${ECHO_T}$ac_cv_type_int" >&6
18151 echo "$as_me:$LINENO: checking size of int" >&5
18152 echo $ECHO_N "checking size of int... $ECHO_C" >&6
18153 if test "${ac_cv_sizeof_int+set}" = set; then
18154 echo $ECHO_N "(cached) $ECHO_C" >&6
18156 if test "$ac_cv_type_int" = yes; then
18157 # The cast to unsigned long works around a bug in the HP C Compiler
18158 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
18159 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
18160 # This bug is HP SR number 8606223364.
18161 if test "$cross_compiling" = yes; then
18162 # Depending upon the size, compute the lo and hi bounds.
18163 cat >conftest.
$ac_ext <<_ACEOF
18166 cat confdefs.h
>>conftest.
$ac_ext
18167 cat >>conftest.
$ac_ext <<_ACEOF
18168 /* end confdefs.h. */
18169 $ac_includes_default
18173 static int test_array [1 - 2 * !(((long) (sizeof (int))) >= 0)];
18180 rm -f conftest.
$ac_objext
18181 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18182 (eval $ac_compile) 2>conftest.er1
18184 grep -v '^ *+' conftest.er1
>conftest.err
18186 cat conftest.err
>&5
18187 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18188 (exit $ac_status); } &&
18189 { ac_try
='test -z "$ac_c_werror_flag"
18190 || test ! -s conftest.err'
18191 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18192 (eval $ac_try) 2>&5
18194 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18195 (exit $ac_status); }; } &&
18196 { ac_try
='test -s conftest.$ac_objext'
18197 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18198 (eval $ac_try) 2>&5
18200 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18201 (exit $ac_status); }; }; then
18204 cat >conftest.
$ac_ext <<_ACEOF
18207 cat confdefs.h
>>conftest.
$ac_ext
18208 cat >>conftest.
$ac_ext <<_ACEOF
18209 /* end confdefs.h. */
18210 $ac_includes_default
18214 static int test_array [1 - 2 * !(((long) (sizeof (int))) <= $ac_mid)];
18221 rm -f conftest.
$ac_objext
18222 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18223 (eval $ac_compile) 2>conftest.er1
18225 grep -v '^ *+' conftest.er1
>conftest.err
18227 cat conftest.err
>&5
18228 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18229 (exit $ac_status); } &&
18230 { ac_try
='test -z "$ac_c_werror_flag"
18231 || test ! -s conftest.err'
18232 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18233 (eval $ac_try) 2>&5
18235 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18236 (exit $ac_status); }; } &&
18237 { ac_try
='test -s conftest.$ac_objext'
18238 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18239 (eval $ac_try) 2>&5
18241 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18242 (exit $ac_status); }; }; then
18243 ac_hi
=$ac_mid; break
18245 echo "$as_me: failed program was:" >&5
18246 sed 's/^/| /' conftest.
$ac_ext >&5
18248 ac_lo
=`expr $ac_mid + 1`
18249 if test $ac_lo -le $ac_mid; then
18253 ac_mid
=`expr 2 '*' $ac_mid + 1`
18255 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
18258 echo "$as_me: failed program was:" >&5
18259 sed 's/^/| /' conftest.
$ac_ext >&5
18261 cat >conftest.
$ac_ext <<_ACEOF
18264 cat confdefs.h
>>conftest.
$ac_ext
18265 cat >>conftest.
$ac_ext <<_ACEOF
18266 /* end confdefs.h. */
18267 $ac_includes_default
18271 static int test_array [1 - 2 * !(((long) (sizeof (int))) < 0)];
18278 rm -f conftest.
$ac_objext
18279 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18280 (eval $ac_compile) 2>conftest.er1
18282 grep -v '^ *+' conftest.er1
>conftest.err
18284 cat conftest.err
>&5
18285 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18286 (exit $ac_status); } &&
18287 { ac_try
='test -z "$ac_c_werror_flag"
18288 || test ! -s conftest.err'
18289 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18290 (eval $ac_try) 2>&5
18292 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18293 (exit $ac_status); }; } &&
18294 { ac_try
='test -s conftest.$ac_objext'
18295 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18296 (eval $ac_try) 2>&5
18298 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18299 (exit $ac_status); }; }; then
18302 cat >conftest.
$ac_ext <<_ACEOF
18305 cat confdefs.h
>>conftest.
$ac_ext
18306 cat >>conftest.
$ac_ext <<_ACEOF
18307 /* end confdefs.h. */
18308 $ac_includes_default
18312 static int test_array [1 - 2 * !(((long) (sizeof (int))) >= $ac_mid)];
18319 rm -f conftest.
$ac_objext
18320 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18321 (eval $ac_compile) 2>conftest.er1
18323 grep -v '^ *+' conftest.er1
>conftest.err
18325 cat conftest.err
>&5
18326 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18327 (exit $ac_status); } &&
18328 { ac_try
='test -z "$ac_c_werror_flag"
18329 || test ! -s conftest.err'
18330 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18331 (eval $ac_try) 2>&5
18333 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18334 (exit $ac_status); }; } &&
18335 { ac_try
='test -s conftest.$ac_objext'
18336 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18337 (eval $ac_try) 2>&5
18339 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18340 (exit $ac_status); }; }; then
18341 ac_lo
=$ac_mid; break
18343 echo "$as_me: failed program was:" >&5
18344 sed 's/^/| /' conftest.
$ac_ext >&5
18346 ac_hi
=`expr '(' $ac_mid ')' - 1`
18347 if test $ac_mid -le $ac_hi; then
18351 ac_mid
=`expr 2 '*' $ac_mid`
18353 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
18356 echo "$as_me: failed program was:" >&5
18357 sed 's/^/| /' conftest.
$ac_ext >&5
18361 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
18363 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
18364 # Binary search between lo and hi bounds.
18365 while test "x$ac_lo" != "x$ac_hi"; do
18366 ac_mid
=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
18367 cat >conftest.
$ac_ext <<_ACEOF
18370 cat confdefs.h
>>conftest.
$ac_ext
18371 cat >>conftest.
$ac_ext <<_ACEOF
18372 /* end confdefs.h. */
18373 $ac_includes_default
18377 static int test_array [1 - 2 * !(((long) (sizeof (int))) <= $ac_mid)];
18384 rm -f conftest.
$ac_objext
18385 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18386 (eval $ac_compile) 2>conftest.er1
18388 grep -v '^ *+' conftest.er1
>conftest.err
18390 cat conftest.err
>&5
18391 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18392 (exit $ac_status); } &&
18393 { ac_try
='test -z "$ac_c_werror_flag"
18394 || test ! -s conftest.err'
18395 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18396 (eval $ac_try) 2>&5
18398 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18399 (exit $ac_status); }; } &&
18400 { ac_try
='test -s conftest.$ac_objext'
18401 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18402 (eval $ac_try) 2>&5
18404 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18405 (exit $ac_status); }; }; then
18408 echo "$as_me: failed program was:" >&5
18409 sed 's/^/| /' conftest.
$ac_ext >&5
18411 ac_lo
=`expr '(' $ac_mid ')' + 1`
18413 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
18416 ?
*) ac_cv_sizeof_int
=$ac_lo;;
18417 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (int), 77
18418 See \`config.log' for more details." >&5
18419 echo "$as_me: error: cannot compute sizeof (int), 77
18420 See \`config.log' for more details." >&2;}
18421 { (exit 1); exit 1; }; } ;;
18424 if test "$cross_compiling" = yes; then
18425 { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
18426 See \`config.log' for more details." >&5
18427 echo "$as_me: error: cannot run test program while cross compiling
18428 See \`config.log' for more details." >&2;}
18429 { (exit 1); exit 1; }; }
18431 cat >conftest.
$ac_ext <<_ACEOF
18434 cat confdefs.h
>>conftest.
$ac_ext
18435 cat >>conftest.
$ac_ext <<_ACEOF
18436 /* end confdefs.h. */
18437 $ac_includes_default
18438 long longval () { return (long) (sizeof (int)); }
18439 unsigned long ulongval () { return (long) (sizeof (int)); }
18441 #include <stdlib.h>
18446 FILE *f = fopen ("conftest.val", "w");
18449 if (((long) (sizeof (int))) < 0)
18451 long i = longval ();
18452 if (i != ((long) (sizeof (int))))
18454 fprintf (f, "%ld\n", i);
18458 unsigned long i = ulongval ();
18459 if (i != ((long) (sizeof (int))))
18461 fprintf (f, "%lu\n", i);
18463 exit (ferror (f) || fclose (f) != 0);
18469 rm -f conftest
$ac_exeext
18470 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
18471 (eval $ac_link) 2>&5
18473 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18474 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
18475 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18476 (eval $ac_try) 2>&5
18478 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18479 (exit $ac_status); }; }; then
18480 ac_cv_sizeof_int
=`cat conftest.val`
18482 echo "$as_me: program exited with status $ac_status" >&5
18483 echo "$as_me: failed program was:" >&5
18484 sed 's/^/| /' conftest.
$ac_ext >&5
18486 ( exit $ac_status )
18487 { { echo "$as_me:$LINENO: error: cannot compute sizeof (int), 77
18488 See \`config.log' for more details." >&5
18489 echo "$as_me: error: cannot compute sizeof (int), 77
18490 See \`config.log' for more details." >&2;}
18491 { (exit 1); exit 1; }; }
18493 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
18501 echo "$as_me:$LINENO: result: $ac_cv_sizeof_int" >&5
18502 echo "${ECHO_T}$ac_cv_sizeof_int" >&6
18503 cat >>confdefs.h
<<_ACEOF
18504 #define SIZEOF_INT $ac_cv_sizeof_int
18508 echo "$as_me:$LINENO: checking for long" >&5
18509 echo $ECHO_N "checking for long... $ECHO_C" >&6
18510 if test "${ac_cv_type_long+set}" = set; then
18511 echo $ECHO_N "(cached) $ECHO_C" >&6
18513 cat >conftest.
$ac_ext <<_ACEOF
18516 cat confdefs.h
>>conftest.
$ac_ext
18517 cat >>conftest.
$ac_ext <<_ACEOF
18518 /* end confdefs.h. */
18519 $ac_includes_default
18531 rm -f conftest.
$ac_objext
18532 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18533 (eval $ac_compile) 2>conftest.er1
18535 grep -v '^ *+' conftest.er1
>conftest.err
18537 cat conftest.err
>&5
18538 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18539 (exit $ac_status); } &&
18540 { ac_try
='test -z "$ac_c_werror_flag"
18541 || test ! -s conftest.err'
18542 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18543 (eval $ac_try) 2>&5
18545 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18546 (exit $ac_status); }; } &&
18547 { ac_try
='test -s conftest.$ac_objext'
18548 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18549 (eval $ac_try) 2>&5
18551 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18552 (exit $ac_status); }; }; then
18553 ac_cv_type_long
=yes
18555 echo "$as_me: failed program was:" >&5
18556 sed 's/^/| /' conftest.
$ac_ext >&5
18560 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
18562 echo "$as_me:$LINENO: result: $ac_cv_type_long" >&5
18563 echo "${ECHO_T}$ac_cv_type_long" >&6
18565 echo "$as_me:$LINENO: checking size of long" >&5
18566 echo $ECHO_N "checking size of long... $ECHO_C" >&6
18567 if test "${ac_cv_sizeof_long+set}" = set; then
18568 echo $ECHO_N "(cached) $ECHO_C" >&6
18570 if test "$ac_cv_type_long" = yes; then
18571 # The cast to unsigned long works around a bug in the HP C Compiler
18572 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
18573 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
18574 # This bug is HP SR number 8606223364.
18575 if test "$cross_compiling" = yes; then
18576 # Depending upon the size, compute the lo and hi bounds.
18577 cat >conftest.
$ac_ext <<_ACEOF
18580 cat confdefs.h
>>conftest.
$ac_ext
18581 cat >>conftest.
$ac_ext <<_ACEOF
18582 /* end confdefs.h. */
18583 $ac_includes_default
18587 static int test_array [1 - 2 * !(((long) (sizeof (long))) >= 0)];
18594 rm -f conftest.
$ac_objext
18595 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18596 (eval $ac_compile) 2>conftest.er1
18598 grep -v '^ *+' conftest.er1
>conftest.err
18600 cat conftest.err
>&5
18601 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18602 (exit $ac_status); } &&
18603 { ac_try
='test -z "$ac_c_werror_flag"
18604 || test ! -s conftest.err'
18605 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18606 (eval $ac_try) 2>&5
18608 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18609 (exit $ac_status); }; } &&
18610 { ac_try
='test -s conftest.$ac_objext'
18611 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18612 (eval $ac_try) 2>&5
18614 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18615 (exit $ac_status); }; }; then
18618 cat >conftest.
$ac_ext <<_ACEOF
18621 cat confdefs.h
>>conftest.
$ac_ext
18622 cat >>conftest.
$ac_ext <<_ACEOF
18623 /* end confdefs.h. */
18624 $ac_includes_default
18628 static int test_array [1 - 2 * !(((long) (sizeof (long))) <= $ac_mid)];
18635 rm -f conftest.
$ac_objext
18636 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18637 (eval $ac_compile) 2>conftest.er1
18639 grep -v '^ *+' conftest.er1
>conftest.err
18641 cat conftest.err
>&5
18642 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18643 (exit $ac_status); } &&
18644 { ac_try
='test -z "$ac_c_werror_flag"
18645 || test ! -s conftest.err'
18646 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18647 (eval $ac_try) 2>&5
18649 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18650 (exit $ac_status); }; } &&
18651 { ac_try
='test -s conftest.$ac_objext'
18652 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18653 (eval $ac_try) 2>&5
18655 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18656 (exit $ac_status); }; }; then
18657 ac_hi
=$ac_mid; break
18659 echo "$as_me: failed program was:" >&5
18660 sed 's/^/| /' conftest.
$ac_ext >&5
18662 ac_lo
=`expr $ac_mid + 1`
18663 if test $ac_lo -le $ac_mid; then
18667 ac_mid
=`expr 2 '*' $ac_mid + 1`
18669 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
18672 echo "$as_me: failed program was:" >&5
18673 sed 's/^/| /' conftest.
$ac_ext >&5
18675 cat >conftest.
$ac_ext <<_ACEOF
18678 cat confdefs.h
>>conftest.
$ac_ext
18679 cat >>conftest.
$ac_ext <<_ACEOF
18680 /* end confdefs.h. */
18681 $ac_includes_default
18685 static int test_array [1 - 2 * !(((long) (sizeof (long))) < 0)];
18692 rm -f conftest.
$ac_objext
18693 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18694 (eval $ac_compile) 2>conftest.er1
18696 grep -v '^ *+' conftest.er1
>conftest.err
18698 cat conftest.err
>&5
18699 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18700 (exit $ac_status); } &&
18701 { ac_try
='test -z "$ac_c_werror_flag"
18702 || test ! -s conftest.err'
18703 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18704 (eval $ac_try) 2>&5
18706 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18707 (exit $ac_status); }; } &&
18708 { ac_try
='test -s conftest.$ac_objext'
18709 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18710 (eval $ac_try) 2>&5
18712 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18713 (exit $ac_status); }; }; then
18716 cat >conftest.
$ac_ext <<_ACEOF
18719 cat confdefs.h
>>conftest.
$ac_ext
18720 cat >>conftest.
$ac_ext <<_ACEOF
18721 /* end confdefs.h. */
18722 $ac_includes_default
18726 static int test_array [1 - 2 * !(((long) (sizeof (long))) >= $ac_mid)];
18733 rm -f conftest.
$ac_objext
18734 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18735 (eval $ac_compile) 2>conftest.er1
18737 grep -v '^ *+' conftest.er1
>conftest.err
18739 cat conftest.err
>&5
18740 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18741 (exit $ac_status); } &&
18742 { ac_try
='test -z "$ac_c_werror_flag"
18743 || test ! -s conftest.err'
18744 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18745 (eval $ac_try) 2>&5
18747 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18748 (exit $ac_status); }; } &&
18749 { ac_try
='test -s conftest.$ac_objext'
18750 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18751 (eval $ac_try) 2>&5
18753 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18754 (exit $ac_status); }; }; then
18755 ac_lo
=$ac_mid; break
18757 echo "$as_me: failed program was:" >&5
18758 sed 's/^/| /' conftest.
$ac_ext >&5
18760 ac_hi
=`expr '(' $ac_mid ')' - 1`
18761 if test $ac_mid -le $ac_hi; then
18765 ac_mid
=`expr 2 '*' $ac_mid`
18767 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
18770 echo "$as_me: failed program was:" >&5
18771 sed 's/^/| /' conftest.
$ac_ext >&5
18775 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
18777 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
18778 # Binary search between lo and hi bounds.
18779 while test "x$ac_lo" != "x$ac_hi"; do
18780 ac_mid
=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
18781 cat >conftest.
$ac_ext <<_ACEOF
18784 cat confdefs.h
>>conftest.
$ac_ext
18785 cat >>conftest.
$ac_ext <<_ACEOF
18786 /* end confdefs.h. */
18787 $ac_includes_default
18791 static int test_array [1 - 2 * !(((long) (sizeof (long))) <= $ac_mid)];
18798 rm -f conftest.
$ac_objext
18799 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18800 (eval $ac_compile) 2>conftest.er1
18802 grep -v '^ *+' conftest.er1
>conftest.err
18804 cat conftest.err
>&5
18805 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18806 (exit $ac_status); } &&
18807 { ac_try
='test -z "$ac_c_werror_flag"
18808 || test ! -s conftest.err'
18809 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18810 (eval $ac_try) 2>&5
18812 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18813 (exit $ac_status); }; } &&
18814 { ac_try
='test -s conftest.$ac_objext'
18815 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18816 (eval $ac_try) 2>&5
18818 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18819 (exit $ac_status); }; }; then
18822 echo "$as_me: failed program was:" >&5
18823 sed 's/^/| /' conftest.
$ac_ext >&5
18825 ac_lo
=`expr '(' $ac_mid ')' + 1`
18827 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
18830 ?
*) ac_cv_sizeof_long
=$ac_lo;;
18831 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (long), 77
18832 See \`config.log' for more details." >&5
18833 echo "$as_me: error: cannot compute sizeof (long), 77
18834 See \`config.log' for more details." >&2;}
18835 { (exit 1); exit 1; }; } ;;
18838 if test "$cross_compiling" = yes; then
18839 { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
18840 See \`config.log' for more details." >&5
18841 echo "$as_me: error: cannot run test program while cross compiling
18842 See \`config.log' for more details." >&2;}
18843 { (exit 1); exit 1; }; }
18845 cat >conftest.
$ac_ext <<_ACEOF
18848 cat confdefs.h
>>conftest.
$ac_ext
18849 cat >>conftest.
$ac_ext <<_ACEOF
18850 /* end confdefs.h. */
18851 $ac_includes_default
18852 long longval () { return (long) (sizeof (long)); }
18853 unsigned long ulongval () { return (long) (sizeof (long)); }
18855 #include <stdlib.h>
18860 FILE *f = fopen ("conftest.val", "w");
18863 if (((long) (sizeof (long))) < 0)
18865 long i = longval ();
18866 if (i != ((long) (sizeof (long))))
18868 fprintf (f, "%ld\n", i);
18872 unsigned long i = ulongval ();
18873 if (i != ((long) (sizeof (long))))
18875 fprintf (f, "%lu\n", i);
18877 exit (ferror (f) || fclose (f) != 0);
18883 rm -f conftest
$ac_exeext
18884 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
18885 (eval $ac_link) 2>&5
18887 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18888 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
18889 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18890 (eval $ac_try) 2>&5
18892 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18893 (exit $ac_status); }; }; then
18894 ac_cv_sizeof_long
=`cat conftest.val`
18896 echo "$as_me: program exited with status $ac_status" >&5
18897 echo "$as_me: failed program was:" >&5
18898 sed 's/^/| /' conftest.
$ac_ext >&5
18900 ( exit $ac_status )
18901 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long), 77
18902 See \`config.log' for more details." >&5
18903 echo "$as_me: error: cannot compute sizeof (long), 77
18904 See \`config.log' for more details." >&2;}
18905 { (exit 1); exit 1; }; }
18907 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
18912 ac_cv_sizeof_long
=0
18915 echo "$as_me:$LINENO: result: $ac_cv_sizeof_long" >&5
18916 echo "${ECHO_T}$ac_cv_sizeof_long" >&6
18917 cat >>confdefs.h
<<_ACEOF
18918 #define SIZEOF_LONG $ac_cv_sizeof_long
18922 echo "$as_me:$LINENO: checking for void*" >&5
18923 echo $ECHO_N "checking for void*... $ECHO_C" >&6
18924 if test "${ac_cv_type_voidp+set}" = set; then
18925 echo $ECHO_N "(cached) $ECHO_C" >&6
18927 cat >conftest.
$ac_ext <<_ACEOF
18930 cat confdefs.h
>>conftest.
$ac_ext
18931 cat >>conftest.
$ac_ext <<_ACEOF
18932 /* end confdefs.h. */
18933 $ac_includes_default
18939 if (sizeof (void*))
18945 rm -f conftest.
$ac_objext
18946 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18947 (eval $ac_compile) 2>conftest.er1
18949 grep -v '^ *+' conftest.er1
>conftest.err
18951 cat conftest.err
>&5
18952 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18953 (exit $ac_status); } &&
18954 { ac_try
='test -z "$ac_c_werror_flag"
18955 || test ! -s conftest.err'
18956 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18957 (eval $ac_try) 2>&5
18959 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18960 (exit $ac_status); }; } &&
18961 { ac_try
='test -s conftest.$ac_objext'
18962 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18963 (eval $ac_try) 2>&5
18965 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18966 (exit $ac_status); }; }; then
18967 ac_cv_type_voidp
=yes
18969 echo "$as_me: failed program was:" >&5
18970 sed 's/^/| /' conftest.
$ac_ext >&5
18972 ac_cv_type_voidp
=no
18974 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
18976 echo "$as_me:$LINENO: result: $ac_cv_type_voidp" >&5
18977 echo "${ECHO_T}$ac_cv_type_voidp" >&6
18979 echo "$as_me:$LINENO: checking size of void*" >&5
18980 echo $ECHO_N "checking size of void*... $ECHO_C" >&6
18981 if test "${ac_cv_sizeof_voidp+set}" = set; then
18982 echo $ECHO_N "(cached) $ECHO_C" >&6
18984 if test "$ac_cv_type_voidp" = yes; then
18985 # The cast to unsigned long works around a bug in the HP C Compiler
18986 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
18987 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
18988 # This bug is HP SR number 8606223364.
18989 if test "$cross_compiling" = yes; then
18990 # Depending upon the size, compute the lo and hi bounds.
18991 cat >conftest.
$ac_ext <<_ACEOF
18994 cat confdefs.h
>>conftest.
$ac_ext
18995 cat >>conftest.
$ac_ext <<_ACEOF
18996 /* end confdefs.h. */
18997 $ac_includes_default
19001 static int test_array [1 - 2 * !(((long) (sizeof (void*))) >= 0)];
19008 rm -f conftest.
$ac_objext
19009 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19010 (eval $ac_compile) 2>conftest.er1
19012 grep -v '^ *+' conftest.er1
>conftest.err
19014 cat conftest.err
>&5
19015 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19016 (exit $ac_status); } &&
19017 { ac_try
='test -z "$ac_c_werror_flag"
19018 || test ! -s conftest.err'
19019 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19020 (eval $ac_try) 2>&5
19022 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19023 (exit $ac_status); }; } &&
19024 { ac_try
='test -s conftest.$ac_objext'
19025 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19026 (eval $ac_try) 2>&5
19028 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19029 (exit $ac_status); }; }; then
19032 cat >conftest.
$ac_ext <<_ACEOF
19035 cat confdefs.h
>>conftest.
$ac_ext
19036 cat >>conftest.
$ac_ext <<_ACEOF
19037 /* end confdefs.h. */
19038 $ac_includes_default
19042 static int test_array [1 - 2 * !(((long) (sizeof (void*))) <= $ac_mid)];
19049 rm -f conftest.
$ac_objext
19050 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19051 (eval $ac_compile) 2>conftest.er1
19053 grep -v '^ *+' conftest.er1
>conftest.err
19055 cat conftest.err
>&5
19056 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19057 (exit $ac_status); } &&
19058 { ac_try
='test -z "$ac_c_werror_flag"
19059 || test ! -s conftest.err'
19060 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19061 (eval $ac_try) 2>&5
19063 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19064 (exit $ac_status); }; } &&
19065 { ac_try
='test -s conftest.$ac_objext'
19066 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19067 (eval $ac_try) 2>&5
19069 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19070 (exit $ac_status); }; }; then
19071 ac_hi
=$ac_mid; break
19073 echo "$as_me: failed program was:" >&5
19074 sed 's/^/| /' conftest.
$ac_ext >&5
19076 ac_lo
=`expr $ac_mid + 1`
19077 if test $ac_lo -le $ac_mid; then
19081 ac_mid
=`expr 2 '*' $ac_mid + 1`
19083 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
19086 echo "$as_me: failed program was:" >&5
19087 sed 's/^/| /' conftest.
$ac_ext >&5
19089 cat >conftest.
$ac_ext <<_ACEOF
19092 cat confdefs.h
>>conftest.
$ac_ext
19093 cat >>conftest.
$ac_ext <<_ACEOF
19094 /* end confdefs.h. */
19095 $ac_includes_default
19099 static int test_array [1 - 2 * !(((long) (sizeof (void*))) < 0)];
19106 rm -f conftest.
$ac_objext
19107 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19108 (eval $ac_compile) 2>conftest.er1
19110 grep -v '^ *+' conftest.er1
>conftest.err
19112 cat conftest.err
>&5
19113 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19114 (exit $ac_status); } &&
19115 { ac_try
='test -z "$ac_c_werror_flag"
19116 || test ! -s conftest.err'
19117 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19118 (eval $ac_try) 2>&5
19120 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19121 (exit $ac_status); }; } &&
19122 { ac_try
='test -s conftest.$ac_objext'
19123 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19124 (eval $ac_try) 2>&5
19126 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19127 (exit $ac_status); }; }; then
19130 cat >conftest.
$ac_ext <<_ACEOF
19133 cat confdefs.h
>>conftest.
$ac_ext
19134 cat >>conftest.
$ac_ext <<_ACEOF
19135 /* end confdefs.h. */
19136 $ac_includes_default
19140 static int test_array [1 - 2 * !(((long) (sizeof (void*))) >= $ac_mid)];
19147 rm -f conftest.
$ac_objext
19148 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19149 (eval $ac_compile) 2>conftest.er1
19151 grep -v '^ *+' conftest.er1
>conftest.err
19153 cat conftest.err
>&5
19154 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19155 (exit $ac_status); } &&
19156 { ac_try
='test -z "$ac_c_werror_flag"
19157 || test ! -s conftest.err'
19158 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19159 (eval $ac_try) 2>&5
19161 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19162 (exit $ac_status); }; } &&
19163 { ac_try
='test -s conftest.$ac_objext'
19164 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19165 (eval $ac_try) 2>&5
19167 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19168 (exit $ac_status); }; }; then
19169 ac_lo
=$ac_mid; break
19171 echo "$as_me: failed program was:" >&5
19172 sed 's/^/| /' conftest.
$ac_ext >&5
19174 ac_hi
=`expr '(' $ac_mid ')' - 1`
19175 if test $ac_mid -le $ac_hi; then
19179 ac_mid
=`expr 2 '*' $ac_mid`
19181 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
19184 echo "$as_me: failed program was:" >&5
19185 sed 's/^/| /' conftest.
$ac_ext >&5
19189 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
19191 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
19192 # Binary search between lo and hi bounds.
19193 while test "x$ac_lo" != "x$ac_hi"; do
19194 ac_mid
=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
19195 cat >conftest.
$ac_ext <<_ACEOF
19198 cat confdefs.h
>>conftest.
$ac_ext
19199 cat >>conftest.
$ac_ext <<_ACEOF
19200 /* end confdefs.h. */
19201 $ac_includes_default
19205 static int test_array [1 - 2 * !(((long) (sizeof (void*))) <= $ac_mid)];
19212 rm -f conftest.
$ac_objext
19213 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19214 (eval $ac_compile) 2>conftest.er1
19216 grep -v '^ *+' conftest.er1
>conftest.err
19218 cat conftest.err
>&5
19219 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19220 (exit $ac_status); } &&
19221 { ac_try
='test -z "$ac_c_werror_flag"
19222 || test ! -s conftest.err'
19223 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19224 (eval $ac_try) 2>&5
19226 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19227 (exit $ac_status); }; } &&
19228 { ac_try
='test -s conftest.$ac_objext'
19229 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19230 (eval $ac_try) 2>&5
19232 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19233 (exit $ac_status); }; }; then
19236 echo "$as_me: failed program was:" >&5
19237 sed 's/^/| /' conftest.
$ac_ext >&5
19239 ac_lo
=`expr '(' $ac_mid ')' + 1`
19241 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
19244 ?
*) ac_cv_sizeof_voidp
=$ac_lo;;
19245 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (void*), 77
19246 See \`config.log' for more details." >&5
19247 echo "$as_me: error: cannot compute sizeof (void*), 77
19248 See \`config.log' for more details." >&2;}
19249 { (exit 1); exit 1; }; } ;;
19252 if test "$cross_compiling" = yes; then
19253 { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
19254 See \`config.log' for more details." >&5
19255 echo "$as_me: error: cannot run test program while cross compiling
19256 See \`config.log' for more details." >&2;}
19257 { (exit 1); exit 1; }; }
19259 cat >conftest.
$ac_ext <<_ACEOF
19262 cat confdefs.h
>>conftest.
$ac_ext
19263 cat >>conftest.
$ac_ext <<_ACEOF
19264 /* end confdefs.h. */
19265 $ac_includes_default
19266 long longval () { return (long) (sizeof (void*)); }
19267 unsigned long ulongval () { return (long) (sizeof (void*)); }
19269 #include <stdlib.h>
19274 FILE *f = fopen ("conftest.val", "w");
19277 if (((long) (sizeof (void*))) < 0)
19279 long i = longval ();
19280 if (i != ((long) (sizeof (void*))))
19282 fprintf (f, "%ld\n", i);
19286 unsigned long i = ulongval ();
19287 if (i != ((long) (sizeof (void*))))
19289 fprintf (f, "%lu\n", i);
19291 exit (ferror (f) || fclose (f) != 0);
19297 rm -f conftest
$ac_exeext
19298 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
19299 (eval $ac_link) 2>&5
19301 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19302 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
19303 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19304 (eval $ac_try) 2>&5
19306 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19307 (exit $ac_status); }; }; then
19308 ac_cv_sizeof_voidp
=`cat conftest.val`
19310 echo "$as_me: program exited with status $ac_status" >&5
19311 echo "$as_me: failed program was:" >&5
19312 sed 's/^/| /' conftest.
$ac_ext >&5
19314 ( exit $ac_status )
19315 { { echo "$as_me:$LINENO: error: cannot compute sizeof (void*), 77
19316 See \`config.log' for more details." >&5
19317 echo "$as_me: error: cannot compute sizeof (void*), 77
19318 See \`config.log' for more details." >&2;}
19319 { (exit 1); exit 1; }; }
19321 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
19326 ac_cv_sizeof_voidp
=0
19329 echo "$as_me:$LINENO: result: $ac_cv_sizeof_voidp" >&5
19330 echo "${ECHO_T}$ac_cv_sizeof_voidp" >&6
19331 cat >>confdefs.h
<<_ACEOF
19332 #define SIZEOF_VOIDP $ac_cv_sizeof_voidp
19336 ac_cv_char_data_model
=""
19337 ac_cv_char_data_model
="$ac_cv_char_data_model$ac_cv_sizeof_char"
19338 ac_cv_char_data_model
="$ac_cv_char_data_model$ac_cv_sizeof_short"
19339 ac_cv_char_data_model
="$ac_cv_char_data_model$ac_cv_sizeof_int"
19340 ac_cv_long_data_model
=""
19341 ac_cv_long_data_model
="$ac_cv_long_data_model$ac_cv_sizeof_int"
19342 ac_cv_long_data_model
="$ac_cv_long_data_model$ac_cv_sizeof_long"
19343 ac_cv_long_data_model
="$ac_cv_long_data_model$ac_cv_sizeof_voidp"
19344 echo "$as_me:$LINENO: checking data model" >&5
19345 echo $ECHO_N "checking data model... $ECHO_C" >&6
19346 case "$ac_cv_char_data_model/$ac_cv_long_data_model" in
19347 122/242) ac_cv_data_model
="IP16" ; n
="standard 16bit machine" ;;
19348 122/244) ac_cv_data_model
="LP32" ; n
="standard 32bit machine" ;;
19349 122/*) ac_cv_data_model
="i16" ; n
="unusual int16 model" ;;
19350 124/444) ac_cv_data_model
="ILP32" ; n
="standard 32bit unixish" ;;
19351 124/488) ac_cv_data_model
="LP64" ; n
="standard 64bit unixish" ;;
19352 124/448) ac_cv_data_model
="LLP64" ; n
="unusual 64bit unixish" ;;
19353 124/*) ac_cv_data_model
="i32" ; n
="unusual int32 model" ;;
19354 128/888) ac_cv_data_model
="ILP64" ; n
="unusual 64bit numeric" ;;
19355 128/*) ac_cv_data_model
="i64" ; n
="unusual int64 model" ;;
19356 222/*2) ac_cv_data_model
="DSP16" ; n
="strict 16bit dsptype" ;;
19357 333/*3) ac_cv_data_model
="DSP24" ; n
="strict 24bit dsptype" ;;
19358 444/*4) ac_cv_data_model
="DSP32" ; n
="strict 32bit dsptype" ;;
19359 666/*6) ac_cv_data_model
="DSP48" ; n
="strict 48bit dsptype" ;;
19360 888/*8) ac_cv_data_model
="DSP64" ; n
="strict 64bit dsptype" ;;
19361 222/*|
333/*|
444/*|
666/*|
888/*) :
19362 ac_cv_data_model
="iDSP" ; n
="unusual dsptype" ;;
19363 *) ac_cv_data_model
="none" ; n
="very unusual model" ;;
19365 echo "$as_me:$LINENO: result: $ac_cv_data_model ($ac_cv_long_data_model, $n)" >&5
19366 echo "${ECHO_T}$ac_cv_data_model ($ac_cv_long_data_model, $n)" >&6
19370 if test "_$ac_cv_header_stdint_x" != "_" ; then
19371 ac_cv_header_stdint
="$ac_cv_header_stdint_x"
19372 elif test "_$ac_cv_header_stdint_o" != "_" ; then
19373 ac_cv_header_stdint
="$ac_cv_header_stdint_o"
19374 elif test "_$ac_cv_header_stdint_u" != "_" ; then
19375 ac_cv_header_stdint
="$ac_cv_header_stdint_u"
19377 ac_cv_header_stdint
="stddef.h"
19380 echo "$as_me:$LINENO: checking for extra inttypes in chosen header" >&5
19381 echo $ECHO_N "checking for extra inttypes in chosen header... $ECHO_C" >&6
19382 echo "$as_me:$LINENO: result: ($ac_cv_header_stdint)" >&5
19383 echo "${ECHO_T}($ac_cv_header_stdint)" >&6
19384 unset ac_cv_type_int_least32_t
19385 unset ac_cv_type_int_fast32_t
19386 echo "$as_me:$LINENO: checking for int_least32_t" >&5
19387 echo $ECHO_N "checking for int_least32_t... $ECHO_C" >&6
19388 if test "${ac_cv_type_int_least32_t+set}" = set; then
19389 echo $ECHO_N "(cached) $ECHO_C" >&6
19391 cat >conftest.
$ac_ext <<_ACEOF
19394 cat confdefs.h
>>conftest.
$ac_ext
19395 cat >>conftest.
$ac_ext <<_ACEOF
19396 /* end confdefs.h. */
19397 #include <$ac_cv_header_stdint>
19402 if ((int_least32_t *) 0)
19404 if (sizeof (int_least32_t))
19410 rm -f conftest.
$ac_objext
19411 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19412 (eval $ac_compile) 2>conftest.er1
19414 grep -v '^ *+' conftest.er1
>conftest.err
19416 cat conftest.err
>&5
19417 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19418 (exit $ac_status); } &&
19419 { ac_try
='test -z "$ac_c_werror_flag"
19420 || test ! -s conftest.err'
19421 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19422 (eval $ac_try) 2>&5
19424 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19425 (exit $ac_status); }; } &&
19426 { ac_try
='test -s conftest.$ac_objext'
19427 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19428 (eval $ac_try) 2>&5
19430 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19431 (exit $ac_status); }; }; then
19432 ac_cv_type_int_least32_t
=yes
19434 echo "$as_me: failed program was:" >&5
19435 sed 's/^/| /' conftest.
$ac_ext >&5
19437 ac_cv_type_int_least32_t
=no
19439 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
19441 echo "$as_me:$LINENO: result: $ac_cv_type_int_least32_t" >&5
19442 echo "${ECHO_T}$ac_cv_type_int_least32_t" >&6
19444 echo "$as_me:$LINENO: checking for int_fast32_t" >&5
19445 echo $ECHO_N "checking for int_fast32_t... $ECHO_C" >&6
19446 if test "${ac_cv_type_int_fast32_t+set}" = set; then
19447 echo $ECHO_N "(cached) $ECHO_C" >&6
19449 cat >conftest.
$ac_ext <<_ACEOF
19452 cat confdefs.h
>>conftest.
$ac_ext
19453 cat >>conftest.
$ac_ext <<_ACEOF
19454 /* end confdefs.h. */
19455 #include<$ac_cv_header_stdint>
19460 if ((int_fast32_t *) 0)
19462 if (sizeof (int_fast32_t))
19468 rm -f conftest.
$ac_objext
19469 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19470 (eval $ac_compile) 2>conftest.er1
19472 grep -v '^ *+' conftest.er1
>conftest.err
19474 cat conftest.err
>&5
19475 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19476 (exit $ac_status); } &&
19477 { ac_try
='test -z "$ac_c_werror_flag"
19478 || test ! -s conftest.err'
19479 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19480 (eval $ac_try) 2>&5
19482 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19483 (exit $ac_status); }; } &&
19484 { ac_try
='test -s conftest.$ac_objext'
19485 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19486 (eval $ac_try) 2>&5
19488 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19489 (exit $ac_status); }; }; then
19490 ac_cv_type_int_fast32_t
=yes
19492 echo "$as_me: failed program was:" >&5
19493 sed 's/^/| /' conftest.
$ac_ext >&5
19495 ac_cv_type_int_fast32_t
=no
19497 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
19499 echo "$as_me:$LINENO: result: $ac_cv_type_int_fast32_t" >&5
19500 echo "${ECHO_T}$ac_cv_type_int_fast32_t" >&6
19502 echo "$as_me:$LINENO: checking for intmax_t" >&5
19503 echo $ECHO_N "checking for intmax_t... $ECHO_C" >&6
19504 if test "${ac_cv_type_intmax_t+set}" = set; then
19505 echo $ECHO_N "(cached) $ECHO_C" >&6
19507 cat >conftest.
$ac_ext <<_ACEOF
19510 cat confdefs.h
>>conftest.
$ac_ext
19511 cat >>conftest.
$ac_ext <<_ACEOF
19512 /* end confdefs.h. */
19513 #include <$ac_cv_header_stdint>
19518 if ((intmax_t *) 0)
19520 if (sizeof (intmax_t))
19526 rm -f conftest.
$ac_objext
19527 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19528 (eval $ac_compile) 2>conftest.er1
19530 grep -v '^ *+' conftest.er1
>conftest.err
19532 cat conftest.err
>&5
19533 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19534 (exit $ac_status); } &&
19535 { ac_try
='test -z "$ac_c_werror_flag"
19536 || test ! -s conftest.err'
19537 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19538 (eval $ac_try) 2>&5
19540 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19541 (exit $ac_status); }; } &&
19542 { ac_try
='test -s conftest.$ac_objext'
19543 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19544 (eval $ac_try) 2>&5
19546 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19547 (exit $ac_status); }; }; then
19548 ac_cv_type_intmax_t
=yes
19550 echo "$as_me: failed program was:" >&5
19551 sed 's/^/| /' conftest.
$ac_ext >&5
19553 ac_cv_type_intmax_t
=no
19555 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
19557 echo "$as_me:$LINENO: result: $ac_cv_type_intmax_t" >&5
19558 echo "${ECHO_T}$ac_cv_type_intmax_t" >&6
19561 fi # shortcircut to system "stdint.h"
19562 # ------------------ PREPARE VARIABLES ------------------------------
19563 if test "$GCC" = "yes" ; then
19564 ac_cv_stdint_message
="using gnu compiler "`$CC --version | head -1`
19566 ac_cv_stdint_message
="using $CC"
19569 echo "$as_me:$LINENO: result: make use of $ac_cv_header_stdint in $ac_stdint_h $ac_cv_stdint_result" >&5
19570 echo "${ECHO_T}make use of $ac_cv_header_stdint in $ac_stdint_h $ac_cv_stdint_result" >&6
19572 # ----------------- DONE inttypes.h checks START header -------------
19573 ac_config_commands
="$ac_config_commands $ac_stdint_h"
19578 # Check whether --with-glibj_zip or --without-glibj_zip was given.
19579 if test "${with_glibj_zip+set}" = set; then
19580 withval
="$with_glibj_zip"
19584 case "$with_glibj_zip" in
19586 use_glibj_zip
=false
19589 use_glibj_zip
=false
19592 { { echo "$as_me:$LINENO: error: Please suply an absolute path to a prebuilt glibj.zip" >&5
19593 echo "$as_me: error: Please suply an absolute path to a prebuilt glibj.zip" >&2;}
19594 { (exit 1); exit 1; }; }
19598 PATH_TO_GLIBJ_ZIP
=$with_glibj_zip
19604 if test x
$use_glibj_zip = xtrue
; then
19605 USE_PREBUILT_GLIBJ_ZIP_TRUE
=
19606 USE_PREBUILT_GLIBJ_ZIP_FALSE
='#'
19608 USE_PREBUILT_GLIBJ_ZIP_TRUE
='#'
19609 USE_PREBUILT_GLIBJ_ZIP_FALSE
=
19615 # Check whether --with-escher or --without-escher was given.
19616 if test "${with_escher+set}" = set; then
19617 withval
="$with_escher"
19620 case "$with_escher" in
19628 { { echo "$as_me:$LINENO: error: Please supply an absolute path to Escher library" >&5
19629 echo "$as_me: error: Please supply an absolute path to Escher library" >&2;}
19630 { (exit 1); exit 1; }; }
19634 PATH_TO_ESCHER
=$with_escher
19640 if test x
$use_escher = xtrue
; then
19642 USE_ESCHER_FALSE
='#'
19644 USE_ESCHER_TRUE
='#'
19650 # Check whether --enable-local-sockets or --disable-local-sockets was given.
19651 if test "${enable_local_sockets+set}" = set; then
19652 enableval
="$enable_local_sockets"
19653 case "${enableval}" in
19655 ENABLE_LOCAL_SOCKETS
=yes
19658 ENABLE_LOCAL_SOCKETS
=no
19662 if test "x$ENABLE_LOCAL_SOCKETS" = "xyes"
19664 if test "${ac_cv_header_sys_un_h+set}" = set; then
19665 echo "$as_me:$LINENO: checking for sys/un.h" >&5
19666 echo $ECHO_N "checking for sys/un.h... $ECHO_C" >&6
19667 if test "${ac_cv_header_sys_un_h+set}" = set; then
19668 echo $ECHO_N "(cached) $ECHO_C" >&6
19670 echo "$as_me:$LINENO: result: $ac_cv_header_sys_un_h" >&5
19671 echo "${ECHO_T}$ac_cv_header_sys_un_h" >&6
19673 # Is the header compilable?
19674 echo "$as_me:$LINENO: checking sys/un.h usability" >&5
19675 echo $ECHO_N "checking sys/un.h usability... $ECHO_C" >&6
19676 cat >conftest.
$ac_ext <<_ACEOF
19679 cat confdefs.h
>>conftest.
$ac_ext
19680 cat >>conftest.
$ac_ext <<_ACEOF
19681 /* end confdefs.h. */
19682 $ac_includes_default
19683 #include <sys/un.h>
19685 rm -f conftest.
$ac_objext
19686 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19687 (eval $ac_compile) 2>conftest.er1
19689 grep -v '^ *+' conftest.er1
>conftest.err
19691 cat conftest.err
>&5
19692 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19693 (exit $ac_status); } &&
19694 { ac_try
='test -z "$ac_c_werror_flag"
19695 || test ! -s conftest.err'
19696 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19697 (eval $ac_try) 2>&5
19699 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19700 (exit $ac_status); }; } &&
19701 { ac_try
='test -s conftest.$ac_objext'
19702 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19703 (eval $ac_try) 2>&5
19705 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19706 (exit $ac_status); }; }; then
19707 ac_header_compiler
=yes
19709 echo "$as_me: failed program was:" >&5
19710 sed 's/^/| /' conftest.
$ac_ext >&5
19712 ac_header_compiler
=no
19714 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
19715 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
19716 echo "${ECHO_T}$ac_header_compiler" >&6
19718 # Is the header present?
19719 echo "$as_me:$LINENO: checking sys/un.h presence" >&5
19720 echo $ECHO_N "checking sys/un.h presence... $ECHO_C" >&6
19721 cat >conftest.
$ac_ext <<_ACEOF
19724 cat confdefs.h
>>conftest.
$ac_ext
19725 cat >>conftest.
$ac_ext <<_ACEOF
19726 /* end confdefs.h. */
19727 #include <sys/un.h>
19729 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
19730 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
19732 grep -v '^ *+' conftest.er1
>conftest.err
19734 cat conftest.err
>&5
19735 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19736 (exit $ac_status); } >/dev
/null
; then
19737 if test -s conftest.err
; then
19738 ac_cpp_err
=$ac_c_preproc_warn_flag
19739 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
19746 if test -z "$ac_cpp_err"; then
19747 ac_header_preproc
=yes
19749 echo "$as_me: failed program was:" >&5
19750 sed 's/^/| /' conftest.
$ac_ext >&5
19752 ac_header_preproc
=no
19754 rm -f conftest.err conftest.
$ac_ext
19755 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
19756 echo "${ECHO_T}$ac_header_preproc" >&6
19758 # So? What about this header?
19759 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
19761 { echo "$as_me:$LINENO: WARNING: sys/un.h: accepted by the compiler, rejected by the preprocessor!" >&5
19762 echo "$as_me: WARNING: sys/un.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
19763 { echo "$as_me:$LINENO: WARNING: sys/un.h: proceeding with the compiler's result" >&5
19764 echo "$as_me: WARNING: sys/un.h: proceeding with the compiler's result" >&2;}
19765 ac_header_preproc
=yes
19768 { echo "$as_me:$LINENO: WARNING: sys/un.h: present but cannot be compiled" >&5
19769 echo "$as_me: WARNING: sys/un.h: present but cannot be compiled" >&2;}
19770 { echo "$as_me:$LINENO: WARNING: sys/un.h: check for missing prerequisite headers?" >&5
19771 echo "$as_me: WARNING: sys/un.h: check for missing prerequisite headers?" >&2;}
19772 { echo "$as_me:$LINENO: WARNING: sys/un.h: see the Autoconf documentation" >&5
19773 echo "$as_me: WARNING: sys/un.h: see the Autoconf documentation" >&2;}
19774 { echo "$as_me:$LINENO: WARNING: sys/un.h: section \"Present But Cannot Be Compiled\"" >&5
19775 echo "$as_me: WARNING: sys/un.h: section \"Present But Cannot Be Compiled\"" >&2;}
19776 { echo "$as_me:$LINENO: WARNING: sys/un.h: proceeding with the preprocessor's result" >&5
19777 echo "$as_me: WARNING: sys/un.h: proceeding with the preprocessor's result" >&2;}
19778 { echo "$as_me:$LINENO: WARNING: sys/un.h: in the future, the compiler will take precedence" >&5
19779 echo "$as_me: WARNING: sys/un.h: in the future, the compiler will take precedence" >&2;}
19782 ## -------------------------------- ##
19783 ## Report this to classpath@gnu.org ##
19784 ## -------------------------------- ##
19787 sed "s/^/$as_me: WARNING: /" >&2
19790 echo "$as_me:$LINENO: checking for sys/un.h" >&5
19791 echo $ECHO_N "checking for sys/un.h... $ECHO_C" >&6
19792 if test "${ac_cv_header_sys_un_h+set}" = set; then
19793 echo $ECHO_N "(cached) $ECHO_C" >&6
19795 ac_cv_header_sys_un_h
=$ac_header_preproc
19797 echo "$as_me:$LINENO: result: $ac_cv_header_sys_un_h" >&5
19798 echo "${ECHO_T}$ac_cv_header_sys_un_h" >&6
19809 for ac_func
in read write bind listen accept shutdown
19811 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
19812 echo "$as_me:$LINENO: checking for $ac_func" >&5
19813 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
19814 if eval "test \"\${$as_ac_var+set}\" = set"; then
19815 echo $ECHO_N "(cached) $ECHO_C" >&6
19817 if test x
$gcc_no_link = xyes
; then
19818 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
19819 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
19820 { (exit 1); exit 1; }; }
19822 cat >conftest.
$ac_ext <<_ACEOF
19825 cat confdefs.h
>>conftest.
$ac_ext
19826 cat >>conftest.
$ac_ext <<_ACEOF
19827 /* end confdefs.h. */
19828 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
19829 For example, HP-UX 11i <limits.h> declares gettimeofday. */
19830 #define $ac_func innocuous_$ac_func
19832 /* System header to define __stub macros and hopefully few prototypes,
19833 which can conflict with char $ac_func (); below.
19834 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
19835 <limits.h> exists even on freestanding compilers. */
19838 # include <limits.h>
19840 # include <assert.h>
19845 /* Override any gcc2 internal prototype to avoid an error. */
19850 /* We use char because int might match the return type of a gcc2
19851 builtin and then its argument prototype would still apply. */
19853 /* The GNU C library defines this for functions which it implements
19854 to always fail with ENOSYS. Some functions are actually named
19855 something starting with __ and the normal name is an alias. */
19856 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
19859 char (*f) () = $ac_func;
19868 return f != $ac_func;
19873 rm -f conftest.
$ac_objext conftest
$ac_exeext
19874 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
19875 (eval $ac_link) 2>conftest.er1
19877 grep -v '^ *+' conftest.er1
>conftest.err
19879 cat conftest.err
>&5
19880 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19881 (exit $ac_status); } &&
19882 { ac_try
='test -z "$ac_c_werror_flag"
19883 || test ! -s conftest.err'
19884 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19885 (eval $ac_try) 2>&5
19887 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19888 (exit $ac_status); }; } &&
19889 { ac_try
='test -s conftest$ac_exeext'
19890 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19891 (eval $ac_try) 2>&5
19893 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19894 (exit $ac_status); }; }; then
19895 eval "$as_ac_var=yes"
19897 echo "$as_me: failed program was:" >&5
19898 sed 's/^/| /' conftest.
$ac_ext >&5
19900 eval "$as_ac_var=no"
19902 rm -f conftest.err conftest.
$ac_objext \
19903 conftest
$ac_exeext conftest.
$ac_ext
19905 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
19906 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
19907 if test `eval echo '${'$as_ac_var'}'` = yes; then
19908 cat >>confdefs.h
<<_ACEOF
19909 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
19913 { { echo "$as_me:$LINENO: error: networking support not available" >&5
19914 echo "$as_me: error: networking support not available" >&2;}
19915 { (exit 1); exit 1; }; }
19920 cat >>confdefs.h
<<\_ACEOF
19921 #define ENABLE_LOCAL_SOCKETS 1
19927 if test "x$ENABLE_LOCAL_SOCKETS" = "xyes"; then
19928 ENABLE_LOCAL_SOCKETS_TRUE
=
19929 ENABLE_LOCAL_SOCKETS_FALSE
='#'
19931 ENABLE_LOCAL_SOCKETS_TRUE
='#'
19932 ENABLE_LOCAL_SOCKETS_FALSE
=
19938 ac_config_files
="$ac_config_files Makefile doc/Makefile doc/api/Makefile external/Makefile external/sax/Makefile external/w3c_dom/Makefile external/relaxngDatatype/Makefile external/jsr166/Makefile gnu/classpath/Configuration.java gnu/java/security/Configuration.java include/Makefile native/Makefile native/fdlibm/Makefile native/jawt/Makefile native/jni/Makefile native/jni/classpath/Makefile native/jni/java-io/Makefile native/jni/java-lang/Makefile native/jni/java-net/Makefile native/jni/java-nio/Makefile native/jni/java-util/Makefile native/jni/gtk-peer/Makefile native/jni/gconf-peer/Makefile native/jni/qt-peer/Makefile native/jni/xmlj/Makefile native/jni/midi-alsa/Makefile native/jni/midi-dssi/Makefile native/jni/native-lib/Makefile native/plugin/Makefile resource/Makefile resource/META-INF/services/java.util.prefs.PreferencesFactory scripts/Makefile scripts/classpath.spec lib/Makefile lib/gen-classlist.sh lib/copy-vmresources.sh tools/Makefile examples/Makefile examples/Makefile.jawt examples/Makefile.java2d"
19941 if test "x${COMPILE_WRAPPERS}" = xno
19943 ac_config_files
="$ac_config_files tools/gappletviewer tools/gjarsigner tools/gkeytool tools/gjar tools/gnative2ascii tools/gserialver tools/grmiregistry tools/gtnameserv tools/gorbd tools/grmid tools/grmic tools/gjavah"
19945 ac_config_commands
="$ac_config_commands gappletviewer"
19947 ac_config_commands
="$ac_config_commands gjarsigner"
19949 ac_config_commands
="$ac_config_commands gkeytool"
19951 ac_config_commands
="$ac_config_commands gjar"
19953 ac_config_commands
="$ac_config_commands gnative2ascii"
19955 ac_config_commands
="$ac_config_commands gserialver"
19957 ac_config_commands
="$ac_config_commands grmiregistry"
19959 ac_config_commands
="$ac_config_commands gtnameserv"
19961 ac_config_commands
="$ac_config_commands gorbd"
19963 ac_config_commands
="$ac_config_commands grmid"
19965 ac_config_commands
="$ac_config_commands grmic"
19967 ac_config_commands
="$ac_config_commands gjavah"
19971 ac_config_commands
="$ac_config_commands gen-classlist"
19973 ac_config_commands
="$ac_config_commands copy-vmresources"
19975 cat >confcache
<<\_ACEOF
19976 # This file is a shell script that caches the results of configure
19977 # tests run on this system so they can be shared between configure
19978 # scripts and configure runs, see configure's option --config-cache.
19979 # It is not useful on other systems. If it contains results you don't
19980 # want to keep, you may remove or edit it.
19982 # config.status only pays attention to the cache file if you give it
19983 # the --recheck option to rerun configure.
19985 # `ac_cv_env_foo' variables (set or unset) will be overridden when
19986 # loading this file, other *unset* `ac_cv_foo' will be assigned the
19987 # following values.
19991 # The following way of writing the cache mishandles newlines in values,
19992 # but we know of no workaround that is simple, portable, and efficient.
19993 # So, don't put newlines in cache variables' values.
19994 # Ultrix sh set writes to stderr and can't be redirected directly,
19995 # and sets the high bit in the cache file unless we assign to the vars.
19998 case `(ac_space=' '; set | grep ac_space) 2>&1` in
20000 # `set' does not quote correctly, so add quotes (double-quote
20001 # substitution turns \\\\ into \\, and sed turns \\ into \).
20004 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
20007 # `set' quotes correctly as required by POSIX, so do not add quotes.
20009 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
20016 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
20018 /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
20020 if diff $cache_file confcache
>/dev
/null
2>&1; then :; else
20021 if test -w $cache_file; then
20022 test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
20023 cat confcache
>$cache_file
20025 echo "not updating unwritable cache $cache_file"
20030 test "x$prefix" = xNONE
&& prefix
=$ac_default_prefix
20031 # Let make expand exec_prefix.
20032 test "x$exec_prefix" = xNONE
&& exec_prefix
='${prefix}'
20034 # VPATH may cause trouble with some makes, so we remove $(srcdir),
20035 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
20036 # trailing colons and then remove the whole line if VPATH becomes empty
20037 # (actually we leave an empty line to preserve line numbers).
20038 if test "x$srcdir" = x.
; then
20039 ac_vpsub
='/^[ ]*VPATH[ ]*=/{
20040 s/:*\$(srcdir):*/:/;
20041 s/:*\${srcdir}:*/:/;
20043 s/^\([^=]*=[ ]*\):*/\1/;
20049 DEFS
=-DHAVE_CONFIG_H
20053 for ac_i
in : $LIBOBJS; do test "x$ac_i" = x
: && continue
20054 # 1. Remove the extension, and $U if already installed.
20055 ac_i
=`echo "$ac_i" |
20056 sed 's/\$U\././;s/\.o$//;s/\.obj$//'`
20058 ac_libobjs
="$ac_libobjs $ac_i\$U.$ac_objext"
20059 ac_ltlibobjs
="$ac_ltlibobjs $ac_i"'$U.lo'
20061 LIBOBJS
=$ac_libobjs
20063 LTLIBOBJS
=$ac_ltlibobjs
20066 if test -z "${JAVA_MAINTAINER_MODE_TRUE}" && test -z "${JAVA_MAINTAINER_MODE_FALSE}"; then
20067 { { echo "$as_me:$LINENO: error: conditional \"JAVA_MAINTAINER_MODE\" was never defined.
20068 Usually this means the macro was only invoked conditionally." >&5
20069 echo "$as_me: error: conditional \"JAVA_MAINTAINER_MODE\" was never defined.
20070 Usually this means the macro was only invoked conditionally." >&2;}
20071 { (exit 1); exit 1; }; }
20073 if test -z "${CREATE_COLLECTIONS_TRUE}" && test -z "${CREATE_COLLECTIONS_FALSE}"; then
20074 { { echo "$as_me:$LINENO: error: conditional \"CREATE_COLLECTIONS\" was never defined.
20075 Usually this means the macro was only invoked conditionally." >&5
20076 echo "$as_me: error: conditional \"CREATE_COLLECTIONS\" was never defined.
20077 Usually this means the macro was only invoked conditionally." >&2;}
20078 { (exit 1); exit 1; }; }
20080 if test -z "${CREATE_JNI_LIBRARIES_TRUE}" && test -z "${CREATE_JNI_LIBRARIES_FALSE}"; then
20081 { { echo "$as_me:$LINENO: error: conditional \"CREATE_JNI_LIBRARIES\" was never defined.
20082 Usually this means the macro was only invoked conditionally." >&5
20083 echo "$as_me: error: conditional \"CREATE_JNI_LIBRARIES\" was never defined.
20084 Usually this means the macro was only invoked conditionally." >&2;}
20085 { (exit 1); exit 1; }; }
20087 if test -z "${CREATE_CORE_JNI_LIBRARIES_TRUE}" && test -z "${CREATE_CORE_JNI_LIBRARIES_FALSE}"; then
20088 { { echo "$as_me:$LINENO: error: conditional \"CREATE_CORE_JNI_LIBRARIES\" was never defined.
20089 Usually this means the macro was only invoked conditionally." >&5
20090 echo "$as_me: error: conditional \"CREATE_CORE_JNI_LIBRARIES\" was never defined.
20091 Usually this means the macro was only invoked conditionally." >&2;}
20092 { (exit 1); exit 1; }; }
20094 if test -z "${CREATE_GCONF_PEER_LIBRARIES_TRUE}" && test -z "${CREATE_GCONF_PEER_LIBRARIES_FALSE}"; then
20095 { { echo "$as_me:$LINENO: error: conditional \"CREATE_GCONF_PEER_LIBRARIES\" was never defined.
20096 Usually this means the macro was only invoked conditionally." >&5
20097 echo "$as_me: error: conditional \"CREATE_GCONF_PEER_LIBRARIES\" was never defined.
20098 Usually this means the macro was only invoked conditionally." >&2;}
20099 { (exit 1); exit 1; }; }
20101 if test -z "${CREATE_XMLJ_LIBRARY_TRUE}" && test -z "${CREATE_XMLJ_LIBRARY_FALSE}"; then
20102 { { echo "$as_me:$LINENO: error: conditional \"CREATE_XMLJ_LIBRARY\" was never defined.
20103 Usually this means the macro was only invoked conditionally." >&5
20104 echo "$as_me: error: conditional \"CREATE_XMLJ_LIBRARY\" was never defined.
20105 Usually this means the macro was only invoked conditionally." >&2;}
20106 { (exit 1); exit 1; }; }
20108 if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
20109 { { echo "$as_me:$LINENO: error: conditional \"AMDEP\" was never defined.
20110 Usually this means the macro was only invoked conditionally." >&5
20111 echo "$as_me: error: conditional \"AMDEP\" was never defined.
20112 Usually this means the macro was only invoked conditionally." >&2;}
20113 { (exit 1); exit 1; }; }
20115 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
20116 { { echo "$as_me:$LINENO: error: conditional \"am__fastdepCC\" was never defined.
20117 Usually this means the macro was only invoked conditionally." >&5
20118 echo "$as_me: error: conditional \"am__fastdepCC\" was never defined.
20119 Usually this means the macro was only invoked conditionally." >&2;}
20120 { (exit 1); exit 1; }; }
20122 if test -z "${CREATE_ALSA_LIBRARIES_TRUE}" && test -z "${CREATE_ALSA_LIBRARIES_FALSE}"; then
20123 { { echo "$as_me:$LINENO: error: conditional \"CREATE_ALSA_LIBRARIES\" was never defined.
20124 Usually this means the macro was only invoked conditionally." >&5
20125 echo "$as_me: error: conditional \"CREATE_ALSA_LIBRARIES\" was never defined.
20126 Usually this means the macro was only invoked conditionally." >&2;}
20127 { (exit 1); exit 1; }; }
20129 if test -z "${CREATE_DSSI_LIBRARIES_TRUE}" && test -z "${CREATE_DSSI_LIBRARIES_FALSE}"; then
20130 { { echo "$as_me:$LINENO: error: conditional \"CREATE_DSSI_LIBRARIES\" was never defined.
20131 Usually this means the macro was only invoked conditionally." >&5
20132 echo "$as_me: error: conditional \"CREATE_DSSI_LIBRARIES\" was never defined.
20133 Usually this means the macro was only invoked conditionally." >&2;}
20134 { (exit 1); exit 1; }; }
20136 if test -z "${CREATE_GTK_PEER_LIBRARIES_TRUE}" && test -z "${CREATE_GTK_PEER_LIBRARIES_FALSE}"; then
20137 { { echo "$as_me:$LINENO: error: conditional \"CREATE_GTK_PEER_LIBRARIES\" was never defined.
20138 Usually this means the macro was only invoked conditionally." >&5
20139 echo "$as_me: error: conditional \"CREATE_GTK_PEER_LIBRARIES\" was never defined.
20140 Usually this means the macro was only invoked conditionally." >&2;}
20141 { (exit 1); exit 1; }; }
20143 if test -z "${CREATE_QT_PEER_LIBRARIES_TRUE}" && test -z "${CREATE_QT_PEER_LIBRARIES_FALSE}"; then
20144 { { echo "$as_me:$LINENO: error: conditional \"CREATE_QT_PEER_LIBRARIES\" was never defined.
20145 Usually this means the macro was only invoked conditionally." >&5
20146 echo "$as_me: error: conditional \"CREATE_QT_PEER_LIBRARIES\" was never defined.
20147 Usually this means the macro was only invoked conditionally." >&2;}
20148 { (exit 1); exit 1; }; }
20150 if test -z "${CREATE_PLUGIN_TRUE}" && test -z "${CREATE_PLUGIN_FALSE}"; then
20151 { { echo "$as_me:$LINENO: error: conditional \"CREATE_PLUGIN\" was never defined.
20152 Usually this means the macro was only invoked conditionally." >&5
20153 echo "$as_me: error: conditional \"CREATE_PLUGIN\" was never defined.
20154 Usually this means the macro was only invoked conditionally." >&2;}
20155 { (exit 1); exit 1; }; }
20157 if test -z "${FOUND_CACAO_TRUE}" && test -z "${FOUND_CACAO_FALSE}"; then
20158 { { echo "$as_me:$LINENO: error: conditional \"FOUND_CACAO\" was never defined.
20159 Usually this means the macro was only invoked conditionally." >&5
20160 echo "$as_me: error: conditional \"FOUND_CACAO\" was never defined.
20161 Usually this means the macro was only invoked conditionally." >&2;}
20162 { (exit 1); exit 1; }; }
20164 if test -z "${CREATE_JNI_HEADERS_TRUE}" && test -z "${CREATE_JNI_HEADERS_FALSE}"; then
20165 { { echo "$as_me:$LINENO: error: conditional \"CREATE_JNI_HEADERS\" was never defined.
20166 Usually this means the macro was only invoked conditionally." >&5
20167 echo "$as_me: error: conditional \"CREATE_JNI_HEADERS\" was never defined.
20168 Usually this means the macro was only invoked conditionally." >&2;}
20169 { (exit 1); exit 1; }; }
20171 if test -z "${CREATE_WRAPPERS_TRUE}" && test -z "${CREATE_WRAPPERS_FALSE}"; then
20172 { { echo "$as_me:$LINENO: error: conditional \"CREATE_WRAPPERS\" was never defined.
20173 Usually this means the macro was only invoked conditionally." >&5
20174 echo "$as_me: error: conditional \"CREATE_WRAPPERS\" was never defined.
20175 Usually this means the macro was only invoked conditionally." >&2;}
20176 { (exit 1); exit 1; }; }
20178 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
20179 { { echo "$as_me:$LINENO: error: conditional \"am__fastdepCC\" was never defined.
20180 Usually this means the macro was only invoked conditionally." >&5
20181 echo "$as_me: error: conditional \"am__fastdepCC\" was never defined.
20182 Usually this means the macro was only invoked conditionally." >&2;}
20183 { (exit 1); exit 1; }; }
20185 if test -z "${am__fastdepCXX_TRUE}" && test -z "${am__fastdepCXX_FALSE}"; then
20186 { { echo "$as_me:$LINENO: error: conditional \"am__fastdepCXX\" was never defined.
20187 Usually this means the macro was only invoked conditionally." >&5
20188 echo "$as_me: error: conditional \"am__fastdepCXX\" was never defined.
20189 Usually this means the macro was only invoked conditionally." >&2;}
20190 { (exit 1); exit 1; }; }
20192 if test -z "${USER_SPECIFIED_JAVAH_TRUE}" && test -z "${USER_SPECIFIED_JAVAH_FALSE}"; then
20193 { { echo "$as_me:$LINENO: error: conditional \"USER_SPECIFIED_JAVAH\" was never defined.
20194 Usually this means the macro was only invoked conditionally." >&5
20195 echo "$as_me: error: conditional \"USER_SPECIFIED_JAVAH\" was never defined.
20196 Usually this means the macro was only invoked conditionally." >&2;}
20197 { (exit 1); exit 1; }; }
20199 if test -z "${FOUND_GCJ_TRUE}" && test -z "${FOUND_GCJ_FALSE}"; then
20200 { { echo "$as_me:$LINENO: error: conditional \"FOUND_GCJ\" was never defined.
20201 Usually this means the macro was only invoked conditionally." >&5
20202 echo "$as_me: error: conditional \"FOUND_GCJ\" was never defined.
20203 Usually this means the macro was only invoked conditionally." >&2;}
20204 { (exit 1); exit 1; }; }
20206 if test -z "${FOUND_JIKES_TRUE}" && test -z "${FOUND_JIKES_FALSE}"; then
20207 { { echo "$as_me:$LINENO: error: conditional \"FOUND_JIKES\" was never defined.
20208 Usually this means the macro was only invoked conditionally." >&5
20209 echo "$as_me: error: conditional \"FOUND_JIKES\" was never defined.
20210 Usually this means the macro was only invoked conditionally." >&2;}
20211 { (exit 1); exit 1; }; }
20213 if test -z "${FOUND_ECJ_TRUE}" && test -z "${FOUND_ECJ_FALSE}"; then
20214 { { echo "$as_me:$LINENO: error: conditional \"FOUND_ECJ\" was never defined.
20215 Usually this means the macro was only invoked conditionally." >&5
20216 echo "$as_me: error: conditional \"FOUND_ECJ\" was never defined.
20217 Usually this means the macro was only invoked conditionally." >&2;}
20218 { (exit 1); exit 1; }; }
20220 if test -z "${FOUND_GCJ_TRUE}" && test -z "${FOUND_GCJ_FALSE}"; then
20221 { { echo "$as_me:$LINENO: error: conditional \"FOUND_GCJ\" was never defined.
20222 Usually this means the macro was only invoked conditionally." >&5
20223 echo "$as_me: error: conditional \"FOUND_GCJ\" was never defined.
20224 Usually this means the macro was only invoked conditionally." >&2;}
20225 { (exit 1); exit 1; }; }
20227 if test -z "${FOUND_JIKES_TRUE}" && test -z "${FOUND_JIKES_FALSE}"; then
20228 { { echo "$as_me:$LINENO: error: conditional \"FOUND_JIKES\" was never defined.
20229 Usually this means the macro was only invoked conditionally." >&5
20230 echo "$as_me: error: conditional \"FOUND_JIKES\" was never defined.
20231 Usually this means the macro was only invoked conditionally." >&2;}
20232 { (exit 1); exit 1; }; }
20234 if test -z "${FOUND_ECJ_TRUE}" && test -z "${FOUND_ECJ_FALSE}"; then
20235 { { echo "$as_me:$LINENO: error: conditional \"FOUND_ECJ\" was never defined.
20236 Usually this means the macro was only invoked conditionally." >&5
20237 echo "$as_me: error: conditional \"FOUND_ECJ\" was never defined.
20238 Usually this means the macro was only invoked conditionally." >&2;}
20239 { (exit 1); exit 1; }; }
20241 if test -z "${FOUND_KJC_TRUE}" && test -z "${FOUND_KJC_FALSE}"; then
20242 { { echo "$as_me:$LINENO: error: conditional \"FOUND_KJC\" was never defined.
20243 Usually this means the macro was only invoked conditionally." >&5
20244 echo "$as_me: error: conditional \"FOUND_KJC\" was never defined.
20245 Usually this means the macro was only invoked conditionally." >&2;}
20246 { (exit 1); exit 1; }; }
20248 if test -z "${FOUND_GCJX_TRUE}" && test -z "${FOUND_GCJX_FALSE}"; then
20249 { { echo "$as_me:$LINENO: error: conditional \"FOUND_GCJX\" was never defined.
20250 Usually this means the macro was only invoked conditionally." >&5
20251 echo "$as_me: error: conditional \"FOUND_GCJX\" was never defined.
20252 Usually this means the macro was only invoked conditionally." >&2;}
20253 { (exit 1); exit 1; }; }
20255 if test -z "${USER_SPECIFIED_CLASSLIB_TRUE}" && test -z "${USER_SPECIFIED_CLASSLIB_FALSE}"; then
20256 { { echo "$as_me:$LINENO: error: conditional \"USER_SPECIFIED_CLASSLIB\" was never defined.
20257 Usually this means the macro was only invoked conditionally." >&5
20258 echo "$as_me: error: conditional \"USER_SPECIFIED_CLASSLIB\" was never defined.
20259 Usually this means the macro was only invoked conditionally." >&2;}
20260 { (exit 1); exit 1; }; }
20262 if test -z "${MAINTAINER_MODE_TRUE}" && test -z "${MAINTAINER_MODE_FALSE}"; then
20263 { { echo "$as_me:$LINENO: error: conditional \"MAINTAINER_MODE\" was never defined.
20264 Usually this means the macro was only invoked conditionally." >&5
20265 echo "$as_me: error: conditional \"MAINTAINER_MODE\" was never defined.
20266 Usually this means the macro was only invoked conditionally." >&2;}
20267 { (exit 1); exit 1; }; }
20269 if test -z "${INSTALL_GLIBJ_ZIP_TRUE}" && test -z "${INSTALL_GLIBJ_ZIP_FALSE}"; then
20270 { { echo "$as_me:$LINENO: error: conditional \"INSTALL_GLIBJ_ZIP\" was never defined.
20271 Usually this means the macro was only invoked conditionally." >&5
20272 echo "$as_me: error: conditional \"INSTALL_GLIBJ_ZIP\" was never defined.
20273 Usually this means the macro was only invoked conditionally." >&2;}
20274 { (exit 1); exit 1; }; }
20276 if test -z "${INSTALL_CLASS_FILES_TRUE}" && test -z "${INSTALL_CLASS_FILES_FALSE}"; then
20277 { { echo "$as_me:$LINENO: error: conditional \"INSTALL_CLASS_FILES\" was never defined.
20278 Usually this means the macro was only invoked conditionally." >&5
20279 echo "$as_me: error: conditional \"INSTALL_CLASS_FILES\" was never defined.
20280 Usually this means the macro was only invoked conditionally." >&2;}
20281 { (exit 1); exit 1; }; }
20283 if test -z "${BUILD_CLASS_FILES_TRUE}" && test -z "${BUILD_CLASS_FILES_FALSE}"; then
20284 { { echo "$as_me:$LINENO: error: conditional \"BUILD_CLASS_FILES\" was never defined.
20285 Usually this means the macro was only invoked conditionally." >&5
20286 echo "$as_me: error: conditional \"BUILD_CLASS_FILES\" was never defined.
20287 Usually this means the macro was only invoked conditionally." >&2;}
20288 { (exit 1); exit 1; }; }
20290 if test -z "${CREATE_API_DOCS_TRUE}" && test -z "${CREATE_API_DOCS_FALSE}"; then
20291 { { echo "$as_me:$LINENO: error: conditional \"CREATE_API_DOCS\" was never defined.
20292 Usually this means the macro was only invoked conditionally." >&5
20293 echo "$as_me: error: conditional \"CREATE_API_DOCS\" was never defined.
20294 Usually this means the macro was only invoked conditionally." >&2;}
20295 { (exit 1); exit 1; }; }
20297 if test -z "${REGEN_PARSERS_TRUE}" && test -z "${REGEN_PARSERS_FALSE}"; then
20298 { { echo "$as_me:$LINENO: error: conditional \"REGEN_PARSERS\" was never defined.
20299 Usually this means the macro was only invoked conditionally." >&5
20300 echo "$as_me: error: conditional \"REGEN_PARSERS\" was never defined.
20301 Usually this means the macro was only invoked conditionally." >&2;}
20302 { (exit 1); exit 1; }; }
20304 if test -z "${USE_PREBUILT_GLIBJ_ZIP_TRUE}" && test -z "${USE_PREBUILT_GLIBJ_ZIP_FALSE}"; then
20305 { { echo "$as_me:$LINENO: error: conditional \"USE_PREBUILT_GLIBJ_ZIP\" was never defined.
20306 Usually this means the macro was only invoked conditionally." >&5
20307 echo "$as_me: error: conditional \"USE_PREBUILT_GLIBJ_ZIP\" was never defined.
20308 Usually this means the macro was only invoked conditionally." >&2;}
20309 { (exit 1); exit 1; }; }
20311 if test -z "${USE_ESCHER_TRUE}" && test -z "${USE_ESCHER_FALSE}"; then
20312 { { echo "$as_me:$LINENO: error: conditional \"USE_ESCHER\" was never defined.
20313 Usually this means the macro was only invoked conditionally." >&5
20314 echo "$as_me: error: conditional \"USE_ESCHER\" was never defined.
20315 Usually this means the macro was only invoked conditionally." >&2;}
20316 { (exit 1); exit 1; }; }
20318 if test -z "${ENABLE_LOCAL_SOCKETS_TRUE}" && test -z "${ENABLE_LOCAL_SOCKETS_FALSE}"; then
20319 { { echo "$as_me:$LINENO: error: conditional \"ENABLE_LOCAL_SOCKETS\" was never defined.
20320 Usually this means the macro was only invoked conditionally." >&5
20321 echo "$as_me: error: conditional \"ENABLE_LOCAL_SOCKETS\" was never defined.
20322 Usually this means the macro was only invoked conditionally." >&2;}
20323 { (exit 1); exit 1; }; }
20326 : ${CONFIG_STATUS=./config.status}
20327 ac_clean_files_save
=$ac_clean_files
20328 ac_clean_files
="$ac_clean_files $CONFIG_STATUS"
20329 { echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
20330 echo "$as_me: creating $CONFIG_STATUS" >&6;}
20331 cat >$CONFIG_STATUS <<_ACEOF
20333 # Generated by $as_me.
20334 # Run this file to recreate the current configuration.
20335 # Compiler output produced by configure, useful for debugging
20336 # configure, is in config.log if it exists.
20339 ac_cs_recheck=false
20341 SHELL=\${CONFIG_SHELL-$SHELL}
20344 cat >>$CONFIG_STATUS <<\_ACEOF
20345 ## --------------------- ##
20346 ## M4sh Initialization. ##
20347 ## --------------------- ##
20349 # Be Bourne compatible
20350 if test -n "${ZSH_VERSION+set}" && (emulate sh
) >/dev
/null
2>&1; then
20353 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
20354 # is contrary to our usage. Disable this feature.
20355 alias -g '${1+"$@"}'='"$@"'
20356 elif test -n "${BASH_VERSION+set}" && (set -o posix
) >/dev
/null
2>&1; then
20359 DUALCASE
=1; export DUALCASE
# for MKS sh
20361 # Support unset when possible.
20362 if ( (MAIL
=60; unset MAIL
) ||
exit) >/dev
/null
2>&1; then
20369 # Work around bugs in pre-3.0 UWIN ksh.
20370 $as_unset ENV MAIL MAILPATH
20377 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
20378 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
20379 LC_TELEPHONE LC_TIME
20381 if (set +x
; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
20382 eval $as_var=C
; export $as_var
20388 # Required to use basename.
20389 if expr a
: '\(a\)' >/dev
/null
2>&1; then
20395 if (basename /) >/dev
/null
2>&1 && test "X`basename / 2>&1`" = "X/"; then
20396 as_basename
=basename
20402 # Name of the executable.
20403 as_me
=`$as_basename "$0" ||
20404 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
20405 X"$0" : 'X\(//\)$' \| \
20406 X"$0" : 'X\(/\)$' \| \
20407 . : '\(.\)' 2>/dev/null ||
20409 sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; }
20410 /^X\/\(\/\/\)$/{ s//\1/; q; }
20411 /^X\/\(\/\).*/{ s//\1/; q; }
20415 # PATH needs CR, and LINENO needs CR and PATH.
20416 # Avoid depending upon Character Ranges.
20417 as_cr_letters
='abcdefghijklmnopqrstuvwxyz'
20418 as_cr_LETTERS
='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
20419 as_cr_Letters
=$as_cr_letters$as_cr_LETTERS
20420 as_cr_digits
='0123456789'
20421 as_cr_alnum
=$as_cr_Letters$as_cr_digits
20423 # The user is always right.
20424 if test "${PATH_SEPARATOR+set}" != set; then
20425 echo "#! /bin/sh" >conf$$.sh
20426 echo "exit 0" >>conf$$.sh
20428 if (PATH
="/nonexistent;."; conf$$.sh
) >/dev
/null
2>&1; then
20437 as_lineno_1
=$LINENO
20438 as_lineno_2
=$LINENO
20439 as_lineno_3
=`(expr $as_lineno_1 + 1) 2>/dev/null`
20440 test "x$as_lineno_1" != "x$as_lineno_2" &&
20441 test "x$as_lineno_3" = "x$as_lineno_2" ||
{
20442 # Find who we are. Look in the path if we contain no path at all
20445 *[\\/]* ) as_myself
=$0 ;;
20446 *) as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
20447 for as_dir
in $PATH
20450 test -z "$as_dir" && as_dir
=.
20451 test -r "$as_dir/$0" && as_myself
=$as_dir/$0 && break
20456 # We did not find ourselves, most probably we were run as `sh COMMAND'
20457 # in which case we are not to be found in the path.
20458 if test "x$as_myself" = x
; then
20461 if test ! -f "$as_myself"; then
20462 { { echo "$as_me:$LINENO: error: cannot find myself; rerun with an absolute path" >&5
20463 echo "$as_me: error: cannot find myself; rerun with an absolute path" >&2;}
20464 { (exit 1); exit 1; }; }
20466 case $CONFIG_SHELL in
20468 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
20469 for as_dir
in /bin
$PATH_SEPARATOR/usr
/bin
$PATH_SEPARATOR$PATH
20472 test -z "$as_dir" && as_dir
=.
20473 for as_base
in sh bash ksh sh5
; do
20476 if ("$as_dir/$as_base" -c '
20477 as_lineno_1=$LINENO
20478 as_lineno_2=$LINENO
20479 as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
20480 test "x$as_lineno_1" != "x$as_lineno_2" &&
20481 test "x$as_lineno_3" = "x$as_lineno_2" ') 2>/dev
/null
; then
20482 $as_unset BASH_ENV ||
test "${BASH_ENV+set}" != set ||
{ BASH_ENV
=; export BASH_ENV
; }
20483 $as_unset ENV ||
test "${ENV+set}" != set ||
{ ENV
=; export ENV
; }
20484 CONFIG_SHELL
=$as_dir/$as_base
20485 export CONFIG_SHELL
20486 exec "$CONFIG_SHELL" "$0" ${1+"$@"}
20494 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
20495 # uniformly replaced by the line number. The first 'sed' inserts a
20496 # line-number line before each line; the second 'sed' does the real
20497 # work. The second script uses 'N' to pair each line-number line
20498 # with the numbered line, and appends trailing '-' during
20499 # substitution so that $LINENO is not a special case at line end.
20500 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
20501 # second 'sed' script. Blame Lee E. McMahon for sed's syntax. :-)
20502 sed '=' <$as_myself |
20507 s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3,
20510 s,^['$as_cr_digits']*\n,,
20511 ' >$as_me.lineno
&&
20512 chmod +x
$as_me.lineno ||
20513 { { echo "$as_me:$LINENO: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&5
20514 echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2;}
20515 { (exit 1); exit 1; }; }
20517 # Don't try to exec as it changes $[0], causing all sort of problems
20518 # (the dirname of $[0] is not the place where we might find the
20519 # original and so on. Autoconf is especially sensible to this).
20521 # Exit status is that of the last command.
20526 case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in
20527 *c
*,-n*) ECHO_N
= ECHO_C
='
20529 *c
*,* ) ECHO_N
=-n ECHO_C
= ECHO_T
= ;;
20530 *) ECHO_N
= ECHO_C
='\c' ECHO_T
= ;;
20533 if expr a
: '\(a\)' >/dev
/null
2>&1; then
20539 rm -f conf$$ conf$$.exe conf$$.
file
20541 if ln -s conf$$.
file conf$$
2>/dev
/null
; then
20542 # We could just check for DJGPP; but this test a) works b) is more generic
20543 # and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04).
20544 if test -f conf$$.exe
; then
20545 # Don't use ln at all; we don't have any links
20550 elif ln conf$$.
file conf$$
2>/dev
/null
; then
20555 rm -f conf$$ conf$$.exe conf$$.
file
20557 if mkdir
-p .
2>/dev
/null
; then
20560 test -d .
/-p && rmdir .
/-p
20564 as_executable_p
="test -f"
20566 # Sed expression to map a string onto a valid CPP name.
20567 as_tr_cpp
="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
20569 # Sed expression to map a string onto a valid variable name.
20570 as_tr_sh
="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
20574 # We need space, tab and new line, in precisely that order.
20584 # Open the log real soon, to keep \$[0] and so on meaningful, and to
20585 # report actual input values of CONFIG_FILES etc. instead of their
20586 # values after options handling. Logging --version etc. is OK.
20590 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
20591 ## Running $as_me. ##
20596 This file was extended by GNU Classpath $as_me 0.94-pre, which was
20597 generated by GNU Autoconf 2.59. Invocation command line was
20599 CONFIG_FILES = $CONFIG_FILES
20600 CONFIG_HEADERS = $CONFIG_HEADERS
20601 CONFIG_LINKS = $CONFIG_LINKS
20602 CONFIG_COMMANDS = $CONFIG_COMMANDS
20606 echo "on `(hostname || uname -n) 2>/dev/null | sed 1q`" >&5
20610 # Files that config.status was made for.
20611 if test -n "$ac_config_files"; then
20612 echo "config_files=\"$ac_config_files\"" >>$CONFIG_STATUS
20615 if test -n "$ac_config_headers"; then
20616 echo "config_headers=\"$ac_config_headers\"" >>$CONFIG_STATUS
20619 if test -n "$ac_config_links"; then
20620 echo "config_links=\"$ac_config_links\"" >>$CONFIG_STATUS
20623 if test -n "$ac_config_commands"; then
20624 echo "config_commands=\"$ac_config_commands\"" >>$CONFIG_STATUS
20627 cat >>$CONFIG_STATUS <<\_ACEOF
20630 \`$as_me' instantiates files from templates according to the
20631 current configuration.
20633 Usage: $0 [OPTIONS] [FILE]...
20635 -h, --help print this help, then exit
20636 -V, --version print version number, then exit
20637 -q, --quiet do not print progress messages
20638 -d, --debug don't remove temporary files
20639 --recheck update $as_me by reconfiguring in the same conditions
20640 --file=FILE[:TEMPLATE]
20641 instantiate the configuration file FILE
20642 --header=FILE[:TEMPLATE]
20643 instantiate the configuration header FILE
20645 Configuration files:
20648 Configuration headers:
20651 Configuration links:
20654 Configuration commands:
20657 Report bugs to <bug-autoconf@gnu.org>."
20660 cat >>$CONFIG_STATUS <<_ACEOF
20662 GNU Classpath config.status 0.94-pre
20663 configured by $0, generated by GNU Autoconf 2.59,
20664 with options \\"`echo "$ac_configure_args" | sed 's/[\\""\`\$]/\\\\&/g'`\\"
20666 Copyright (C) 2003 Free Software Foundation, Inc.
20667 This config.status script is free software; the Free Software Foundation
20668 gives unlimited permission to copy, distribute and modify it."
20673 cat >>$CONFIG_STATUS <<\_ACEOF
20674 # If no file are specified by the user, then we need to provide default
20675 # value. By we need to know if files were specified by the user.
20681 ac_option
=`expr "x$1" : 'x\([^=]*\)='`
20682 ac_optarg
=`expr "x$1" : 'x[^=]*=\(.*\)'`
20690 *) # This is not an option, so the user has probably given explicit
20693 ac_need_defaults
=false
;;
20697 # Handling of the options.
20699 cat >>$CONFIG_STATUS <<\_ACEOF
20700 -recheck |
--recheck |
--rechec |
--reche |
--rech |
--rec |
--re |
--r)
20702 --version |
--vers* |
-V )
20703 echo "$ac_cs_version"; exit 0 ;;
20705 # Conflict between --help and --header
20706 { { echo "$as_me:$LINENO: error: ambiguous option: $1
20707 Try \`$0 --help' for more information." >&5
20708 echo "$as_me: error: ambiguous option: $1
20709 Try \`$0 --help' for more information." >&2;}
20710 { (exit 1); exit 1; }; };;
20711 --help |
--hel |
-h )
20712 echo "$ac_cs_usage"; exit 0 ;;
20713 --debug |
--d* |
-d )
20715 --file |
--fil |
--fi |
--f )
20717 CONFIG_FILES
="$CONFIG_FILES $ac_optarg"
20718 ac_need_defaults
=false
;;
20719 --header |
--heade |
--head |
--hea )
20721 CONFIG_HEADERS
="$CONFIG_HEADERS $ac_optarg"
20722 ac_need_defaults
=false
;;
20723 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
20724 |
-silent |
--silent |
--silen |
--sile |
--sil |
--si |
--s)
20727 # This is an error.
20728 -*) { { echo "$as_me:$LINENO: error: unrecognized option: $1
20729 Try \`$0 --help' for more information." >&5
20730 echo "$as_me: error: unrecognized option: $1
20731 Try \`$0 --help' for more information." >&2;}
20732 { (exit 1); exit 1; }; } ;;
20734 *) ac_config_targets
="$ac_config_targets $1" ;;
20740 ac_configure_extra_args
=
20742 if $ac_cs_silent; then
20744 ac_configure_extra_args
="$ac_configure_extra_args --silent"
20748 cat >>$CONFIG_STATUS <<_ACEOF
20749 if \$ac_cs_recheck; then
20750 echo "running $SHELL $0 " $ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6
20751 exec $SHELL $0 $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
20756 cat >>$CONFIG_STATUS <<_ACEOF
20758 # INIT-COMMANDS section.
20765 with_multisubdir="$with_multisubdir"
20766 with_multisrctop="$with_multisrctop"
20767 with_target_subdir="$with_target_subdir"
20768 ac_configure_args="${multilib_arg} ${ac_configure_args}"
20769 multi_basedir="$multi_basedir"
20770 CONFIG_SHELL=${CONFIG_SHELL-/bin/sh}
20772 AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
20773 # variables for create stdint.h replacement
20776 ac_stdint_h="$ac_stdint_h"
20777 _ac_stdint_h=`echo "_$PACKAGE-$ac_stdint_h" | $as_tr_cpp`
20778 ac_cv_stdint_message="$ac_cv_stdint_message"
20779 ac_cv_header_stdint_t="$ac_cv_header_stdint_t"
20780 ac_cv_header_stdint_x="$ac_cv_header_stdint_x"
20781 ac_cv_header_stdint_o="$ac_cv_header_stdint_o"
20782 ac_cv_header_stdint_u="$ac_cv_header_stdint_u"
20783 ac_cv_type_uint64_t="$ac_cv_type_uint64_t"
20784 ac_cv_type_u_int64_t="$ac_cv_type_u_int64_t"
20785 ac_cv_char_data_model="$ac_cv_char_data_model"
20786 ac_cv_long_data_model="$ac_cv_long_data_model"
20787 ac_cv_type_int_least32_t="$ac_cv_type_int_least32_t"
20788 ac_cv_type_int_fast32_t="$ac_cv_type_int_fast32_t"
20789 ac_cv_type_intmax_t="$ac_cv_type_intmax_t"
20796 cat >>$CONFIG_STATUS <<\_ACEOF
20797 for ac_config_target
in $ac_config_targets
20799 case "$ac_config_target" in
20800 # Handling of arguments.
20801 "lib/mkcollections.pl" ) CONFIG_FILES
="$CONFIG_FILES lib/mkcollections.pl" ;;
20802 "Makefile" ) CONFIG_FILES
="$CONFIG_FILES Makefile" ;;
20803 "doc/Makefile" ) CONFIG_FILES
="$CONFIG_FILES doc/Makefile" ;;
20804 "doc/api/Makefile" ) CONFIG_FILES
="$CONFIG_FILES doc/api/Makefile" ;;
20805 "external/Makefile" ) CONFIG_FILES
="$CONFIG_FILES external/Makefile" ;;
20806 "external/sax/Makefile" ) CONFIG_FILES
="$CONFIG_FILES external/sax/Makefile" ;;
20807 "external/w3c_dom/Makefile" ) CONFIG_FILES
="$CONFIG_FILES external/w3c_dom/Makefile" ;;
20808 "external/relaxngDatatype/Makefile" ) CONFIG_FILES
="$CONFIG_FILES external/relaxngDatatype/Makefile" ;;
20809 "external/jsr166/Makefile" ) CONFIG_FILES
="$CONFIG_FILES external/jsr166/Makefile" ;;
20810 "gnu/classpath/Configuration.java" ) CONFIG_FILES
="$CONFIG_FILES gnu/classpath/Configuration.java" ;;
20811 "gnu/java/security/Configuration.java" ) CONFIG_FILES
="$CONFIG_FILES gnu/java/security/Configuration.java" ;;
20812 "include/Makefile" ) CONFIG_FILES
="$CONFIG_FILES include/Makefile" ;;
20813 "native/Makefile" ) CONFIG_FILES
="$CONFIG_FILES native/Makefile" ;;
20814 "native/fdlibm/Makefile" ) CONFIG_FILES
="$CONFIG_FILES native/fdlibm/Makefile" ;;
20815 "native/jawt/Makefile" ) CONFIG_FILES
="$CONFIG_FILES native/jawt/Makefile" ;;
20816 "native/jni/Makefile" ) CONFIG_FILES
="$CONFIG_FILES native/jni/Makefile" ;;
20817 "native/jni/classpath/Makefile" ) CONFIG_FILES
="$CONFIG_FILES native/jni/classpath/Makefile" ;;
20818 "native/jni/java-io/Makefile" ) CONFIG_FILES
="$CONFIG_FILES native/jni/java-io/Makefile" ;;
20819 "native/jni/java-lang/Makefile" ) CONFIG_FILES
="$CONFIG_FILES native/jni/java-lang/Makefile" ;;
20820 "native/jni/java-net/Makefile" ) CONFIG_FILES
="$CONFIG_FILES native/jni/java-net/Makefile" ;;
20821 "native/jni/java-nio/Makefile" ) CONFIG_FILES
="$CONFIG_FILES native/jni/java-nio/Makefile" ;;
20822 "native/jni/java-util/Makefile" ) CONFIG_FILES
="$CONFIG_FILES native/jni/java-util/Makefile" ;;
20823 "native/jni/gtk-peer/Makefile" ) CONFIG_FILES
="$CONFIG_FILES native/jni/gtk-peer/Makefile" ;;
20824 "native/jni/gconf-peer/Makefile" ) CONFIG_FILES
="$CONFIG_FILES native/jni/gconf-peer/Makefile" ;;
20825 "native/jni/qt-peer/Makefile" ) CONFIG_FILES
="$CONFIG_FILES native/jni/qt-peer/Makefile" ;;
20826 "native/jni/xmlj/Makefile" ) CONFIG_FILES
="$CONFIG_FILES native/jni/xmlj/Makefile" ;;
20827 "native/jni/midi-alsa/Makefile" ) CONFIG_FILES
="$CONFIG_FILES native/jni/midi-alsa/Makefile" ;;
20828 "native/jni/midi-dssi/Makefile" ) CONFIG_FILES
="$CONFIG_FILES native/jni/midi-dssi/Makefile" ;;
20829 "native/jni/native-lib/Makefile" ) CONFIG_FILES
="$CONFIG_FILES native/jni/native-lib/Makefile" ;;
20830 "native/plugin/Makefile" ) CONFIG_FILES
="$CONFIG_FILES native/plugin/Makefile" ;;
20831 "resource/Makefile" ) CONFIG_FILES
="$CONFIG_FILES resource/Makefile" ;;
20832 "resource/META-INF/services/java.util.prefs.PreferencesFactory" ) CONFIG_FILES
="$CONFIG_FILES resource/META-INF/services/java.util.prefs.PreferencesFactory" ;;
20833 "scripts/Makefile" ) CONFIG_FILES
="$CONFIG_FILES scripts/Makefile" ;;
20834 "scripts/classpath.spec" ) CONFIG_FILES
="$CONFIG_FILES scripts/classpath.spec" ;;
20835 "lib/Makefile" ) CONFIG_FILES
="$CONFIG_FILES lib/Makefile" ;;
20836 "lib/gen-classlist.sh" ) CONFIG_FILES
="$CONFIG_FILES lib/gen-classlist.sh" ;;
20837 "lib/copy-vmresources.sh" ) CONFIG_FILES
="$CONFIG_FILES lib/copy-vmresources.sh" ;;
20838 "tools/Makefile" ) CONFIG_FILES
="$CONFIG_FILES tools/Makefile" ;;
20839 "examples/Makefile" ) CONFIG_FILES
="$CONFIG_FILES examples/Makefile" ;;
20840 "examples/Makefile.jawt" ) CONFIG_FILES
="$CONFIG_FILES examples/Makefile.jawt" ;;
20841 "examples/Makefile.java2d" ) CONFIG_FILES
="$CONFIG_FILES examples/Makefile.java2d" ;;
20842 "tools/gappletviewer" ) CONFIG_FILES
="$CONFIG_FILES tools/gappletviewer" ;;
20843 "tools/gjarsigner" ) CONFIG_FILES
="$CONFIG_FILES tools/gjarsigner" ;;
20844 "tools/gkeytool" ) CONFIG_FILES
="$CONFIG_FILES tools/gkeytool" ;;
20845 "tools/gjar" ) CONFIG_FILES
="$CONFIG_FILES tools/gjar" ;;
20846 "tools/gnative2ascii" ) CONFIG_FILES
="$CONFIG_FILES tools/gnative2ascii" ;;
20847 "tools/gserialver" ) CONFIG_FILES
="$CONFIG_FILES tools/gserialver" ;;
20848 "tools/grmiregistry" ) CONFIG_FILES
="$CONFIG_FILES tools/grmiregistry" ;;
20849 "tools/gtnameserv" ) CONFIG_FILES
="$CONFIG_FILES tools/gtnameserv" ;;
20850 "tools/gorbd" ) CONFIG_FILES
="$CONFIG_FILES tools/gorbd" ;;
20851 "tools/grmid" ) CONFIG_FILES
="$CONFIG_FILES tools/grmid" ;;
20852 "tools/grmic" ) CONFIG_FILES
="$CONFIG_FILES tools/grmic" ;;
20853 "tools/gjavah" ) CONFIG_FILES
="$CONFIG_FILES tools/gjavah" ;;
20854 "$ac_config_links_1" ) CONFIG_LINKS
="$CONFIG_LINKS $ac_config_links_1" ;;
20855 "default-1" ) CONFIG_COMMANDS
="$CONFIG_COMMANDS default-1" ;;
20856 "depfiles" ) CONFIG_COMMANDS
="$CONFIG_COMMANDS depfiles" ;;
20857 "mkcollections.pl" ) CONFIG_COMMANDS
="$CONFIG_COMMANDS mkcollections.pl" ;;
20858 "$ac_stdint_h" ) CONFIG_COMMANDS
="$CONFIG_COMMANDS $ac_stdint_h" ;;
20859 "gappletviewer" ) CONFIG_COMMANDS
="$CONFIG_COMMANDS gappletviewer" ;;
20860 "gjarsigner" ) CONFIG_COMMANDS
="$CONFIG_COMMANDS gjarsigner" ;;
20861 "gkeytool" ) CONFIG_COMMANDS
="$CONFIG_COMMANDS gkeytool" ;;
20862 "gjar" ) CONFIG_COMMANDS
="$CONFIG_COMMANDS gjar" ;;
20863 "gnative2ascii" ) CONFIG_COMMANDS
="$CONFIG_COMMANDS gnative2ascii" ;;
20864 "gserialver" ) CONFIG_COMMANDS
="$CONFIG_COMMANDS gserialver" ;;
20865 "grmiregistry" ) CONFIG_COMMANDS
="$CONFIG_COMMANDS grmiregistry" ;;
20866 "gtnameserv" ) CONFIG_COMMANDS
="$CONFIG_COMMANDS gtnameserv" ;;
20867 "gorbd" ) CONFIG_COMMANDS
="$CONFIG_COMMANDS gorbd" ;;
20868 "grmid" ) CONFIG_COMMANDS
="$CONFIG_COMMANDS grmid" ;;
20869 "grmic" ) CONFIG_COMMANDS
="$CONFIG_COMMANDS grmic" ;;
20870 "gjavah" ) CONFIG_COMMANDS
="$CONFIG_COMMANDS gjavah" ;;
20871 "gen-classlist" ) CONFIG_COMMANDS
="$CONFIG_COMMANDS gen-classlist" ;;
20872 "copy-vmresources" ) CONFIG_COMMANDS
="$CONFIG_COMMANDS copy-vmresources" ;;
20873 "include/config.h" ) CONFIG_HEADERS
="$CONFIG_HEADERS include/config.h" ;;
20874 *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
20875 echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
20876 { (exit 1); exit 1; }; };;
20880 # If the user did not use the arguments to specify the items to instantiate,
20881 # then the envvar interface is used. Set only those that are not.
20882 # We use the long form for the default assignment because of an extremely
20883 # bizarre bug on SunOS 4.1.3.
20884 if $ac_need_defaults; then
20885 test "${CONFIG_FILES+set}" = set || CONFIG_FILES
=$config_files
20886 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS
=$config_headers
20887 test "${CONFIG_LINKS+set}" = set || CONFIG_LINKS
=$config_links
20888 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS
=$config_commands
20891 # Have a temporary directory for convenience. Make it in the build tree
20892 # simply because there is no reason to put it here, and in addition,
20893 # creating and moving files from /tmp can sometimes cause problems.
20894 # Create a temporary directory, and hook for its removal unless debugging.
20897 trap 'exit_status=$?; rm -rf $tmp && exit $exit_status' 0
20898 trap '{ (exit 1); exit 1; }' 1 2 13 15
20901 # Create a (secure) tmp directory for tmp files.
20904 tmp
=`(umask 077 && mktemp -d -q "./confstatXXXXXX") 2>/dev/null` &&
20905 test -n "$tmp" && test -d "$tmp"
20908 tmp
=.
/confstat$$
-$RANDOM
20909 (umask 077 && mkdir
$tmp)
20912 echo "$me: cannot create a temporary directory in ." >&2
20913 { (exit 1); exit 1; }
20918 cat >>$CONFIG_STATUS <<_ACEOF
20921 # CONFIG_FILES section.
20924 # No need to generate the scripts if there are no CONFIG_FILES.
20925 # This happens for instance when ./config.status config.h
20926 if test -n "\$CONFIG_FILES"; then
20927 # Protect against being on the right side of a sed subst in config.status.
20928 sed 's/,@/@@/; s/@,/@@/; s/,;t t\$/@;t t/; /@;t t\$/s/[\\\\&,]/\\\\&/g;
20929 s/@@/,@/; s/@@/@,/; s/@;t t\$/,;t t/' >\$tmp/subs.sed <<\\CEOF
20930 s,@SHELL@,$SHELL,;t t
20931 s,@PATH_SEPARATOR@,$PATH_SEPARATOR,;t t
20932 s,@PACKAGE_NAME@,$PACKAGE_NAME,;t t
20933 s,@PACKAGE_TARNAME@,$PACKAGE_TARNAME,;t t
20934 s,@PACKAGE_VERSION@,$PACKAGE_VERSION,;t t
20935 s,@PACKAGE_STRING@,$PACKAGE_STRING,;t t
20936 s,@PACKAGE_BUGREPORT@,$PACKAGE_BUGREPORT,;t t
20937 s,@exec_prefix@,$exec_prefix,;t t
20938 s,@prefix@,$prefix,;t t
20939 s,@program_transform_name@,$program_transform_name,;t t
20940 s,@bindir@,$bindir,;t t
20941 s,@sbindir@,$sbindir,;t t
20942 s,@libexecdir@,$libexecdir,;t t
20943 s,@datadir@,$datadir,;t t
20944 s,@sysconfdir@,$sysconfdir,;t t
20945 s,@sharedstatedir@,$sharedstatedir,;t t
20946 s,@localstatedir@,$localstatedir,;t t
20947 s,@libdir@,$libdir,;t t
20948 s,@includedir@,$includedir,;t t
20949 s,@oldincludedir@,$oldincludedir,;t t
20950 s,@infodir@,$infodir,;t t
20951 s,@mandir@,$mandir,;t t
20952 s,@build_alias@,$build_alias,;t t
20953 s,@host_alias@,$host_alias,;t t
20954 s,@target_alias@,$target_alias,;t t
20955 s,@DEFS@,$DEFS,;t t
20956 s,@ECHO_C@,$ECHO_C,;t t
20957 s,@ECHO_N@,$ECHO_N,;t t
20958 s,@ECHO_T@,$ECHO_T,;t t
20959 s,@LIBS@,$LIBS,;t t
20960 s,@build@,$build,;t t
20961 s,@build_cpu@,$build_cpu,;t t
20962 s,@build_vendor@,$build_vendor,;t t
20963 s,@build_os@,$build_os,;t t
20964 s,@host@,$host,;t t
20965 s,@host_cpu@,$host_cpu,;t t
20966 s,@host_vendor@,$host_vendor,;t t
20967 s,@host_os@,$host_os,;t t
20968 s,@target@,$target,;t t
20969 s,@target_cpu@,$target_cpu,;t t
20970 s,@target_vendor@,$target_vendor,;t t
20971 s,@target_os@,$target_os,;t t
20972 s,@JAVA_MAINTAINER_MODE_TRUE@,$JAVA_MAINTAINER_MODE_TRUE,;t t
20973 s,@JAVA_MAINTAINER_MODE_FALSE@,$JAVA_MAINTAINER_MODE_FALSE,;t t
20974 s,@multi_basedir@,$multi_basedir,;t t
20975 s,@LIBVERSION@,$LIBVERSION,;t t
20976 s,@CLASSPATH_MODULE@,$CLASSPATH_MODULE,;t t
20977 s,@CLASSPATH_CONVENIENCE@,$CLASSPATH_CONVENIENCE,;t t
20978 s,@INSTALL_PROGRAM@,$INSTALL_PROGRAM,;t t
20979 s,@INSTALL_SCRIPT@,$INSTALL_SCRIPT,;t t
20980 s,@INSTALL_DATA@,$INSTALL_DATA,;t t
20981 s,@CYGPATH_W@,$CYGPATH_W,;t t
20982 s,@PACKAGE@,$PACKAGE,;t t
20983 s,@VERSION@,$VERSION,;t t
20984 s,@ACLOCAL@,$ACLOCAL,;t t
20985 s,@AUTOCONF@,$AUTOCONF,;t t
20986 s,@AUTOMAKE@,$AUTOMAKE,;t t
20987 s,@AUTOHEADER@,$AUTOHEADER,;t t
20988 s,@MAKEINFO@,$MAKEINFO,;t t
20989 s,@install_sh@,$install_sh,;t t
20990 s,@STRIP@,$STRIP,;t t
20991 s,@ac_ct_STRIP@,$ac_ct_STRIP,;t t
20992 s,@INSTALL_STRIP_PROGRAM@,$INSTALL_STRIP_PROGRAM,;t t
20993 s,@mkdir_p@,$mkdir_p,;t t
20995 s,@SET_MAKE@,$SET_MAKE,;t t
20996 s,@am__leading_dot@,$am__leading_dot,;t t
20997 s,@AMTAR@,$AMTAR,;t t
20998 s,@am__tar@,$am__tar,;t t
20999 s,@am__untar@,$am__untar,;t t
21000 s,@CREATE_COLLECTIONS_TRUE@,$CREATE_COLLECTIONS_TRUE,;t t
21001 s,@CREATE_COLLECTIONS_FALSE@,$CREATE_COLLECTIONS_FALSE,;t t
21002 s,@CREATE_JNI_LIBRARIES_TRUE@,$CREATE_JNI_LIBRARIES_TRUE,;t t
21003 s,@CREATE_JNI_LIBRARIES_FALSE@,$CREATE_JNI_LIBRARIES_FALSE,;t t
21004 s,@CREATE_CORE_JNI_LIBRARIES_TRUE@,$CREATE_CORE_JNI_LIBRARIES_TRUE,;t t
21005 s,@CREATE_CORE_JNI_LIBRARIES_FALSE@,$CREATE_CORE_JNI_LIBRARIES_FALSE,;t t
21006 s,@CREATE_GCONF_PEER_LIBRARIES_TRUE@,$CREATE_GCONF_PEER_LIBRARIES_TRUE,;t t
21007 s,@CREATE_GCONF_PEER_LIBRARIES_FALSE@,$CREATE_GCONF_PEER_LIBRARIES_FALSE,;t t
21008 s,@default_toolkit@,$default_toolkit,;t t
21009 s,@CREATE_XMLJ_LIBRARY_TRUE@,$CREATE_XMLJ_LIBRARY_TRUE,;t t
21010 s,@CREATE_XMLJ_LIBRARY_FALSE@,$CREATE_XMLJ_LIBRARY_FALSE,;t t
21012 s,@CFLAGS@,$CFLAGS,;t t
21013 s,@LDFLAGS@,$LDFLAGS,;t t
21014 s,@CPPFLAGS@,$CPPFLAGS,;t t
21015 s,@ac_ct_CC@,$ac_ct_CC,;t t
21016 s,@EXEEXT@,$EXEEXT,;t t
21017 s,@OBJEXT@,$OBJEXT,;t t
21018 s,@DEPDIR@,$DEPDIR,;t t
21019 s,@am__include@,$am__include,;t t
21020 s,@am__quote@,$am__quote,;t t
21021 s,@AMDEP_TRUE@,$AMDEP_TRUE,;t t
21022 s,@AMDEP_FALSE@,$AMDEP_FALSE,;t t
21023 s,@AMDEPBACKSLASH@,$AMDEPBACKSLASH,;t t
21024 s,@CCDEPMODE@,$CCDEPMODE,;t t
21025 s,@am__fastdepCC_TRUE@,$am__fastdepCC_TRUE,;t t
21026 s,@am__fastdepCC_FALSE@,$am__fastdepCC_FALSE,;t t
21028 s,@EGREP@,$EGREP,;t t
21029 s,@CREATE_ALSA_LIBRARIES_TRUE@,$CREATE_ALSA_LIBRARIES_TRUE,;t t
21030 s,@CREATE_ALSA_LIBRARIES_FALSE@,$CREATE_ALSA_LIBRARIES_FALSE,;t t
21031 s,@CREATE_DSSI_LIBRARIES_TRUE@,$CREATE_DSSI_LIBRARIES_TRUE,;t t
21032 s,@CREATE_DSSI_LIBRARIES_FALSE@,$CREATE_DSSI_LIBRARIES_FALSE,;t t
21033 s,@CREATE_GTK_PEER_LIBRARIES_TRUE@,$CREATE_GTK_PEER_LIBRARIES_TRUE,;t t
21034 s,@CREATE_GTK_PEER_LIBRARIES_FALSE@,$CREATE_GTK_PEER_LIBRARIES_FALSE,;t t
21035 s,@CREATE_QT_PEER_LIBRARIES_TRUE@,$CREATE_QT_PEER_LIBRARIES_TRUE,;t t
21036 s,@CREATE_QT_PEER_LIBRARIES_FALSE@,$CREATE_QT_PEER_LIBRARIES_FALSE,;t t
21037 s,@CREATE_PLUGIN_TRUE@,$CREATE_PLUGIN_TRUE,;t t
21038 s,@CREATE_PLUGIN_FALSE@,$CREATE_PLUGIN_FALSE,;t t
21039 s,@toolexeclibdir@,$toolexeclibdir,;t t
21040 s,@nativeexeclibdir@,$nativeexeclibdir,;t t
21041 s,@glibjdir@,$glibjdir,;t t
21042 s,@VM_BINARY@,$VM_BINARY,;t t
21043 s,@FOUND_CACAO_TRUE@,$FOUND_CACAO_TRUE,;t t
21044 s,@FOUND_CACAO_FALSE@,$FOUND_CACAO_FALSE,;t t
21045 s,@CREATE_JNI_HEADERS_TRUE@,$CREATE_JNI_HEADERS_TRUE,;t t
21046 s,@CREATE_JNI_HEADERS_FALSE@,$CREATE_JNI_HEADERS_FALSE,;t t
21047 s,@CREATE_WRAPPERS_TRUE@,$CREATE_WRAPPERS_TRUE,;t t
21048 s,@CREATE_WRAPPERS_FALSE@,$CREATE_WRAPPERS_FALSE,;t t
21049 s,@LN_S@,$LN_S,;t t
21050 s,@RANLIB@,$RANLIB,;t t
21051 s,@ac_ct_RANLIB@,$ac_ct_RANLIB,;t t
21052 s,@LIBTOOL@,$LIBTOOL,;t t
21054 s,@CXXFLAGS@,$CXXFLAGS,;t t
21055 s,@ac_ct_CXX@,$ac_ct_CXX,;t t
21056 s,@CXXDEPMODE@,$CXXDEPMODE,;t t
21057 s,@am__fastdepCXX_TRUE@,$am__fastdepCXX_TRUE,;t t
21058 s,@am__fastdepCXX_FALSE@,$am__fastdepCXX_FALSE,;t t
21059 s,@CXXCPP@,$CXXCPP,;t t
21060 s,@PERL@,$PERL,;t t
21061 s,@COLLECTIONS_PREFIX@,$COLLECTIONS_PREFIX,;t t
21062 s,@LIBMAGIC@,$LIBMAGIC,;t t
21063 s,@LIBICONV@,$LIBICONV,;t t
21064 s,@LTLIBICONV@,$LTLIBICONV,;t t
21065 s,@WARNING_CFLAGS@,$WARNING_CFLAGS,;t t
21066 s,@STRICT_WARNING_CFLAGS@,$STRICT_WARNING_CFLAGS,;t t
21067 s,@ERROR_CFLAGS@,$ERROR_CFLAGS,;t t
21068 s,@PKG_CONFIG@,$PKG_CONFIG,;t t
21069 s,@XML_CFLAGS@,$XML_CFLAGS,;t t
21070 s,@XML_LIBS@,$XML_LIBS,;t t
21071 s,@XSLT_CFLAGS@,$XSLT_CFLAGS,;t t
21072 s,@XSLT_LIBS@,$XSLT_LIBS,;t t
21073 s,@X_CFLAGS@,$X_CFLAGS,;t t
21074 s,@X_PRE_LIBS@,$X_PRE_LIBS,;t t
21075 s,@X_LIBS@,$X_LIBS,;t t
21076 s,@X_EXTRA_LIBS@,$X_EXTRA_LIBS,;t t
21077 s,@GTK_CFLAGS@,$GTK_CFLAGS,;t t
21078 s,@GTK_LIBS@,$GTK_LIBS,;t t
21079 s,@FREETYPE2_CFLAGS@,$FREETYPE2_CFLAGS,;t t
21080 s,@FREETYPE2_LIBS@,$FREETYPE2_LIBS,;t t
21081 s,@PANGOFT2_CFLAGS@,$PANGOFT2_CFLAGS,;t t
21082 s,@PANGOFT2_LIBS@,$PANGOFT2_LIBS,;t t
21083 s,@XTEST_LIBS@,$XTEST_LIBS,;t t
21084 s,@GCONF_CFLAGS@,$GCONF_CFLAGS,;t t
21085 s,@GCONF_LIBS@,$GCONF_LIBS,;t t
21086 s,@GDK_CFLAGS@,$GDK_CFLAGS,;t t
21087 s,@GDK_LIBS@,$GDK_LIBS,;t t
21088 s,@QT_CFLAGS@,$QT_CFLAGS,;t t
21089 s,@QT_LIBS@,$QT_LIBS,;t t
21091 s,@MOZILLA_CFLAGS@,$MOZILLA_CFLAGS,;t t
21092 s,@MOZILLA_LIBS@,$MOZILLA_LIBS,;t t
21093 s,@GLIB_CFLAGS@,$GLIB_CFLAGS,;t t
21094 s,@GLIB_LIBS@,$GLIB_LIBS,;t t
21095 s,@PLUGIN_DIR@,$PLUGIN_DIR,;t t
21096 s,@USER_JAVAH@,$USER_JAVAH,;t t
21097 s,@USER_SPECIFIED_JAVAH_TRUE@,$USER_SPECIFIED_JAVAH_TRUE,;t t
21098 s,@USER_SPECIFIED_JAVAH_FALSE@,$USER_SPECIFIED_JAVAH_FALSE,;t t
21099 s,@CLASSPATH_INCLUDES@,$CLASSPATH_INCLUDES,;t t
21101 s,@JIKES@,$JIKES,;t t
21102 s,@JIKESENCODING@,$JIKESENCODING,;t t
21103 s,@JIKESWARNINGS@,$JIKESWARNINGS,;t t
21105 s,@GCJX@,$GCJX,;t t
21107 s,@FOUND_GCJ_TRUE@,$FOUND_GCJ_TRUE,;t t
21108 s,@FOUND_GCJ_FALSE@,$FOUND_GCJ_FALSE,;t t
21109 s,@FOUND_JIKES_TRUE@,$FOUND_JIKES_TRUE,;t t
21110 s,@FOUND_JIKES_FALSE@,$FOUND_JIKES_FALSE,;t t
21111 s,@FOUND_ECJ_TRUE@,$FOUND_ECJ_TRUE,;t t
21112 s,@FOUND_ECJ_FALSE@,$FOUND_ECJ_FALSE,;t t
21113 s,@FOUND_KJC_TRUE@,$FOUND_KJC_TRUE,;t t
21114 s,@FOUND_KJC_FALSE@,$FOUND_KJC_FALSE,;t t
21115 s,@FOUND_GCJX_TRUE@,$FOUND_GCJX_TRUE,;t t
21116 s,@FOUND_GCJX_FALSE@,$FOUND_GCJX_FALSE,;t t
21117 s,@USER_CLASSLIB@,$USER_CLASSLIB,;t t
21118 s,@USER_SPECIFIED_CLASSLIB_TRUE@,$USER_SPECIFIED_CLASSLIB_TRUE,;t t
21119 s,@USER_SPECIFIED_CLASSLIB_FALSE@,$USER_SPECIFIED_CLASSLIB_FALSE,;t t
21120 s,@vm_classes@,$vm_classes,;t t
21121 s,@MAINTAINER_MODE_TRUE@,$MAINTAINER_MODE_TRUE,;t t
21122 s,@MAINTAINER_MODE_FALSE@,$MAINTAINER_MODE_FALSE,;t t
21123 s,@MAINT@,$MAINT,;t t
21124 s,@LIBDEBUG@,$LIBDEBUG,;t t
21125 s,@INIT_LOAD_LIBRARY@,$INIT_LOAD_LIBRARY,;t t
21126 s,@ECJ_JAR@,$ECJ_JAR,;t t
21127 s,@JAVA_LANG_SYSTEM_EXPLICIT_INITIALIZATION@,$JAVA_LANG_SYSTEM_EXPLICIT_INITIALIZATION,;t t
21128 s,@REMOVE@,$REMOVE,;t t
21129 s,@MKDIR@,$MKDIR,;t t
21131 s,@DATE@,$DATE,;t t
21132 s,@FIND@,$FIND,;t t
21134 s,@FASTJAR@,$FASTJAR,;t t
21135 s,@INSTALL_GLIBJ_ZIP_TRUE@,$INSTALL_GLIBJ_ZIP_TRUE,;t t
21136 s,@INSTALL_GLIBJ_ZIP_FALSE@,$INSTALL_GLIBJ_ZIP_FALSE,;t t
21137 s,@INSTALL_CLASS_FILES_TRUE@,$INSTALL_CLASS_FILES_TRUE,;t t
21138 s,@INSTALL_CLASS_FILES_FALSE@,$INSTALL_CLASS_FILES_FALSE,;t t
21139 s,@BUILD_CLASS_FILES_TRUE@,$BUILD_CLASS_FILES_TRUE,;t t
21140 s,@BUILD_CLASS_FILES_FALSE@,$BUILD_CLASS_FILES_FALSE,;t t
21141 s,@EXAMPLESDIR@,$EXAMPLESDIR,;t t
21142 s,@GJDOC@,$GJDOC,;t t
21143 s,@CREATE_API_DOCS_TRUE@,$CREATE_API_DOCS_TRUE,;t t
21144 s,@CREATE_API_DOCS_FALSE@,$CREATE_API_DOCS_FALSE,;t t
21146 s,@JAY_SKELETON@,$JAY_SKELETON,;t t
21147 s,@REGEN_PARSERS_TRUE@,$REGEN_PARSERS_TRUE,;t t
21148 s,@REGEN_PARSERS_FALSE@,$REGEN_PARSERS_FALSE,;t t
21149 s,@USE_PREBUILT_GLIBJ_ZIP_TRUE@,$USE_PREBUILT_GLIBJ_ZIP_TRUE,;t t
21150 s,@USE_PREBUILT_GLIBJ_ZIP_FALSE@,$USE_PREBUILT_GLIBJ_ZIP_FALSE,;t t
21151 s,@PATH_TO_GLIBJ_ZIP@,$PATH_TO_GLIBJ_ZIP,;t t
21152 s,@USE_ESCHER_TRUE@,$USE_ESCHER_TRUE,;t t
21153 s,@USE_ESCHER_FALSE@,$USE_ESCHER_FALSE,;t t
21154 s,@PATH_TO_ESCHER@,$PATH_TO_ESCHER,;t t
21155 s,@ENABLE_LOCAL_SOCKETS_TRUE@,$ENABLE_LOCAL_SOCKETS_TRUE,;t t
21156 s,@ENABLE_LOCAL_SOCKETS_FALSE@,$ENABLE_LOCAL_SOCKETS_FALSE,;t t
21157 s,@DEFAULT_PREFS_PEER@,$DEFAULT_PREFS_PEER,;t t
21158 s,@LIBOBJS@,$LIBOBJS,;t t
21159 s,@LTLIBOBJS@,$LTLIBOBJS,;t t
21164 cat >>$CONFIG_STATUS <<\_ACEOF
21165 # Split the substitutions into bite-sized pieces for seds with
21166 # small command number limits, like on Digital OSF/1 and HP-UX.
21167 ac_max_sed_lines
=48
21168 ac_sed_frag
=1 # Number of current file.
21169 ac_beg
=1 # First line for current file.
21170 ac_end
=$ac_max_sed_lines # Line after last line for current file.
21173 while $ac_more_lines; do
21174 if test $ac_beg -gt 1; then
21175 sed "1,${ac_beg}d; ${ac_end}q" $tmp/subs.
sed >$tmp/subs.frag
21177 sed "${ac_end}q" $tmp/subs.
sed >$tmp/subs.frag
21179 if test ! -s $tmp/subs.frag
; then
21180 ac_more_lines
=false
21182 # The purpose of the label and of the branching condition is to
21183 # speed up the sed processing (if there are no `@' at all, there
21184 # is no need to browse any of the substitutions).
21185 # These are the two extra sed commands mentioned above.
21187 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b' && cat $tmp/subs.frag
) >$tmp/subs-
$ac_sed_frag.
sed
21188 if test -z "$ac_sed_cmds"; then
21189 ac_sed_cmds
="sed -f $tmp/subs-$ac_sed_frag.sed"
21191 ac_sed_cmds
="$ac_sed_cmds | sed -f $tmp/subs-$ac_sed_frag.sed"
21193 ac_sed_frag
=`expr $ac_sed_frag + 1`
21195 ac_end
=`expr $ac_end + $ac_max_sed_lines`
21198 if test -z "$ac_sed_cmds"; then
21201 fi # test -n "$CONFIG_FILES"
21204 cat >>$CONFIG_STATUS <<\_ACEOF
21205 for ac_file
in : $CONFIG_FILES; do test "x$ac_file" = x
: && continue
21206 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
21208 - |
*:- |
*:-:* ) # input from stdin
21210 ac_file_in
=`echo "$ac_file" | sed 's,[^:]*:,,'`
21211 ac_file
=`echo "$ac_file" | sed 's,:.*,,'` ;;
21212 *:* ) ac_file_in
=`echo "$ac_file" | sed 's,[^:]*:,,'`
21213 ac_file
=`echo "$ac_file" | sed 's,:.*,,'` ;;
21214 * ) ac_file_in
=$ac_file.
in ;;
21217 # Compute @srcdir@, @top_srcdir@, and @INSTALL@ for subdirectories.
21218 ac_dir
=`(dirname "$ac_file") 2>/dev/null ||
21219 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
21220 X"$ac_file" : 'X\(//\)[^/]' \| \
21221 X"$ac_file" : 'X\(//\)$' \| \
21222 X"$ac_file" : 'X\(/\)' \| \
21223 . : '\(.\)' 2>/dev/null ||
21225 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
21226 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
21227 /^X\(\/\/\)$/{ s//\1/; q; }
21228 /^X\(\/\).*/{ s//\1/; q; }
21230 { if $as_mkdir_p; then
21235 while test ! -d "$as_dir"; do
21236 as_dirs
="$as_dir $as_dirs"
21237 as_dir
=`(dirname "$as_dir") 2>/dev/null ||
21238 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
21239 X"$as_dir" : 'X\(//\)[^/]' \| \
21240 X"$as_dir" : 'X\(//\)$' \| \
21241 X"$as_dir" : 'X\(/\)' \| \
21242 . : '\(.\)' 2>/dev/null ||
21244 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
21245 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
21246 /^X\(\/\/\)$/{ s//\1/; q; }
21247 /^X\(\/\).*/{ s//\1/; q; }
21250 test ! -n "$as_dirs" || mkdir
$as_dirs
21251 fi ||
{ { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
21252 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
21253 { (exit 1); exit 1; }; }; }
21257 if test "$ac_dir" != .
; then
21258 ac_dir_suffix
=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
21259 # A "../" for each directory in $ac_dir_suffix.
21260 ac_top_builddir
=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
21262 ac_dir_suffix
= ac_top_builddir
=
21266 .
) # No --srcdir option. We are building in place.
21268 if test -z "$ac_top_builddir"; then
21271 ac_top_srcdir
=`echo $ac_top_builddir | sed 's,/$,,'`
21273 [\\/]* | ?
:[\\/]* ) # Absolute path.
21274 ac_srcdir
=$srcdir$ac_dir_suffix;
21275 ac_top_srcdir
=$srcdir ;;
21276 *) # Relative path.
21277 ac_srcdir
=$ac_top_builddir$srcdir$ac_dir_suffix
21278 ac_top_srcdir
=$ac_top_builddir$srcdir ;;
21281 # Do not use `cd foo && pwd` to compute absolute paths, because
21282 # the directories may not exist.
21284 .
) ac_abs_builddir
="$ac_dir";;
21287 .
) ac_abs_builddir
=`pwd`;;
21288 [\\/]* | ?
:[\\/]* ) ac_abs_builddir
="$ac_dir";;
21289 *) ac_abs_builddir
=`pwd`/"$ac_dir";;
21292 case $ac_abs_builddir in
21293 .
) ac_abs_top_builddir
=${ac_top_builddir}.
;;
21295 case ${ac_top_builddir}.
in
21296 .
) ac_abs_top_builddir
=$ac_abs_builddir;;
21297 [\\/]* | ?
:[\\/]* ) ac_abs_top_builddir
=${ac_top_builddir}.
;;
21298 *) ac_abs_top_builddir
=$ac_abs_builddir/${ac_top_builddir}.
;;
21301 case $ac_abs_builddir in
21302 .
) ac_abs_srcdir
=$ac_srcdir;;
21305 .
) ac_abs_srcdir
=$ac_abs_builddir;;
21306 [\\/]* | ?
:[\\/]* ) ac_abs_srcdir
=$ac_srcdir;;
21307 *) ac_abs_srcdir
=$ac_abs_builddir/$ac_srcdir;;
21310 case $ac_abs_builddir in
21311 .
) ac_abs_top_srcdir
=$ac_top_srcdir;;
21313 case $ac_top_srcdir in
21314 .
) ac_abs_top_srcdir
=$ac_abs_builddir;;
21315 [\\/]* | ?
:[\\/]* ) ac_abs_top_srcdir
=$ac_top_srcdir;;
21316 *) ac_abs_top_srcdir
=$ac_abs_builddir/$ac_top_srcdir;;
21322 [\\/$
]* | ?
:[\\/]* ) ac_INSTALL
=$INSTALL ;;
21323 *) ac_INSTALL
=$ac_top_builddir$INSTALL ;;
21326 if test x
"$ac_file" != x-
; then
21327 { echo "$as_me:$LINENO: creating $ac_file" >&5
21328 echo "$as_me: creating $ac_file" >&6;}
21331 # Let's still pretend it is `configure' which instantiates (i.e., don't
21332 # use $as_me), people would be surprised to read:
21333 # /* config.h. Generated by config.status. */
21334 if test x
"$ac_file" = x-
; then
21337 configure_input
="$ac_file. "
21339 configure_input
=$configure_input"Generated from `echo $ac_file_in |
21340 sed 's,.*/,,'` by configure."
21342 # First look for the input files in the build tree, otherwise in the
21344 ac_file_inputs
=`IFS=:
21345 for f in $ac_file_in; do
21347 -) echo $tmp/stdin ;;
21349 # Absolute (can't be DOS-style, as IFS=:)
21350 test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
21351 echo "$as_me: error: cannot find input file: $f" >&2;}
21352 { (exit 1); exit 1; }; }
21355 if test -f "$f"; then
21358 elif test -f "$srcdir/$f"; then
21363 { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
21364 echo "$as_me: error: cannot find input file: $f" >&2;}
21365 { (exit 1); exit 1; }; }
21368 done` ||
{ (exit 1); exit 1; }
21370 cat >>$CONFIG_STATUS <<_ACEOF
21374 cat >>$CONFIG_STATUS <<\_ACEOF
21376 /@
[a-zA-Z_
][a-zA-Z_0-9
]*@
/!b
21377 s
,@configure_input@
,$configure_input,;t t
21378 s
,@srcdir@
,$ac_srcdir,;t t
21379 s
,@abs_srcdir@
,$ac_abs_srcdir,;t t
21380 s
,@top_srcdir@
,$ac_top_srcdir,;t t
21381 s
,@abs_top_srcdir@
,$ac_abs_top_srcdir,;t t
21382 s
,@builddir@
,$ac_builddir,;t t
21383 s
,@abs_builddir@
,$ac_abs_builddir,;t t
21384 s
,@top_builddir@
,$ac_top_builddir,;t t
21385 s
,@abs_top_builddir@
,$ac_abs_top_builddir,;t t
21386 s
,@INSTALL@
,$ac_INSTALL,;t t
21387 " $ac_file_inputs | (eval "$ac_sed_cmds") >$tmp/out
21389 if test x"$ac_file" != x-; then
21390 mv $tmp/out $ac_file
21398 cat >>$CONFIG_STATUS <<\_ACEOF
21401 # CONFIG_HEADER section.
21404 # These sed commands are passed to sed as "A NAME B NAME C VALUE D
", where
21405 # NAME is the cpp macro being defined and VALUE is the value it is being given.
21407 # ac_d sets the value in "#define NAME VALUE" lines.
21408 ac_dA
='s,^\([ ]*\)#\([ ]*define[ ][ ]*\)'
21409 ac_dB
='[ ].*$,\1#\2'
21412 # ac_u turns "#undef NAME" without trailing blanks into "#define NAME VALUE".
21413 ac_uA
='s,^\([ ]*\)#\([ ]*\)undef\([ ][ ]*\)'
21414 ac_uB
='$,\1#\2define\3'
21418 for ac_file
in : $CONFIG_HEADERS; do test "x$ac_file" = x
: && continue
21419 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
21421 - |
*:- |
*:-:* ) # input from stdin
21423 ac_file_in
=`echo "$ac_file" | sed 's,[^:]*:,,'`
21424 ac_file
=`echo "$ac_file" | sed 's,:.*,,'` ;;
21425 *:* ) ac_file_in
=`echo "$ac_file" | sed 's,[^:]*:,,'`
21426 ac_file
=`echo "$ac_file" | sed 's,:.*,,'` ;;
21427 * ) ac_file_in
=$ac_file.
in ;;
21430 test x
"$ac_file" != x-
&& { echo "$as_me:$LINENO: creating $ac_file" >&5
21431 echo "$as_me: creating $ac_file" >&6;}
21433 # First look for the input files in the build tree, otherwise in the
21435 ac_file_inputs
=`IFS=:
21436 for f in $ac_file_in; do
21438 -) echo $tmp/stdin ;;
21440 # Absolute (can't be DOS-style, as IFS=:)
21441 test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
21442 echo "$as_me: error: cannot find input file: $f" >&2;}
21443 { (exit 1); exit 1; }; }
21444 # Do quote $f, to prevent DOS paths from being IFS'd.
21447 if test -f "$f"; then
21450 elif test -f "$srcdir/$f"; then
21455 { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
21456 echo "$as_me: error: cannot find input file: $f" >&2;}
21457 { (exit 1); exit 1; }; }
21460 done` ||
{ (exit 1); exit 1; }
21461 # Remove the trailing spaces.
21462 sed 's/[ ]*$//' $ac_file_inputs >$tmp/in
21466 # Transform confdefs.h into two sed scripts, `conftest.defines' and
21467 # `conftest.undefs', that substitutes the proper values into
21468 # config.h.in to produce config.h. The first handles `#define'
21469 # templates, and the second `#undef' templates.
21470 # And first: Protect against being on the right side of a sed subst in
21471 # config.status. Protect against being in an unquoted here document
21472 # in config.status.
21473 rm -f conftest.defines conftest.undefs
21474 # Using a here document instead of a string reduces the quoting nightmare.
21475 # Putting comments in sed scripts is not portable.
21477 # `end' is used to avoid that the second main sed command (meant for
21478 # 0-ary CPP macros) applies to n-ary macro definitions.
21479 # See the Autoconf documentation for `clear'.
21480 cat >confdef2sed.
sed <<\_ACEOF
21485 s,^[ ]*#[ ]*define[ ][ ]*\([^ (][^ (]*\)\(([^)]*)\)[ ]*\(.*\)$,${ac_dA}\1${ac_dB}\1\2${ac_dC}\3${ac_dD},gp
21487 s,^[ ]*#[ ]*define[ ][ ]*\([^ ][^ ]*\)[ ]*\(.*\)$,${ac_dA}\1${ac_dB}\1${ac_dC}\2${ac_dD},gp
21490 # If some macros were called several times there might be several times
21491 # the same #defines, which is useless. Nevertheless, we may not want to
21492 # sort them, since we want the *last* AC-DEFINE to be honored.
21493 uniq confdefs.h | sed -n -f confdef2sed.sed >conftest.defines
21494 sed 's/ac_d/ac_u/g' conftest.defines >conftest.undefs
21495 rm -f confdef2sed.sed
21497 # This sed command replaces #undef with comments. This is necessary, for
21498 # example, in the case of _POSIX_SOURCE, which is predefined and required
21499 # on some systems where configure will not decide to define it.
21500 cat >>conftest.undefs <<\_ACEOF
21501 s,^[ ]*#[ ]*undef[ ][ ]*[a-zA-Z_][a-zA-Z_0-9]*,/* & */,
21504 # Break up conftest.defines because some shells have a limit on the size
21505 # of here documents, and old seds have small limits too (100 cmds).
21506 echo ' # Handle all the #define templates only if necessary.' >>$CONFIG_STATUS
21507 echo ' if grep "^[ ]*#[ ]*define" $tmp/in >/dev/null; then' >>$CONFIG_STATUS
21508 echo ' # If there are no defines, we may have an empty if/fi' >>$CONFIG_STATUS
21509 echo ' :' >>$CONFIG_STATUS
21510 rm -f conftest.tail
21511 while grep . conftest.defines >/dev/null
21513 # Write a limited-size here document to $tmp/defines.sed.
21514 echo ' cat >$tmp/defines.sed <<CEOF' >>$CONFIG_STATUS
21515 # Speed up: don't consider the non `#define' lines.
21516 echo '/^[ ]*#[ ]*define/!b' >>$CONFIG_STATUS
21517 # Work around the forget-to-reset-the-flag bug.
21518 echo 't clr' >>$CONFIG_STATUS
21519 echo ': clr' >>$CONFIG_STATUS
21520 sed ${ac_max_here_lines}q conftest.defines
>>$CONFIG_STATUS
21522 sed -f $tmp/defines.sed $tmp/in >$tmp/out
21524 mv $tmp/out $tmp/in
21526 sed 1,${ac_max_here_lines}d conftest.defines
>conftest.
tail
21527 rm -f conftest.defines
21528 mv conftest.
tail conftest.defines
21530 rm -f conftest.defines
21531 echo ' fi # grep' >>$CONFIG_STATUS
21532 echo >>$CONFIG_STATUS
21534 # Break up conftest.undefs because some shells have a limit on the size
21535 # of here documents, and old seds have small limits too (100 cmds).
21536 echo ' # Handle all the #undef templates' >>$CONFIG_STATUS
21537 rm -f conftest.
tail
21538 while grep . conftest.undefs
>/dev
/null
21540 # Write a limited-size here document to $tmp/undefs.sed.
21541 echo ' cat >$tmp/undefs.sed <<CEOF' >>$CONFIG_STATUS
21542 # Speed up: don't consider the non
`#undef'
21543 echo '/^[ ]*#[ ]*undef/!b' >>$CONFIG_STATUS
21544 # Work around the forget-to-reset-the-flag bug.
21545 echo 't clr' >>$CONFIG_STATUS
21546 echo ': clr' >>$CONFIG_STATUS
21547 sed ${ac_max_here_lines}q conftest.undefs >>$CONFIG_STATUS
21549 sed -f $tmp/undefs.sed $tmp/in >$tmp/out
21551 mv $tmp/out $tmp/in
21553 sed 1,${ac_max_here_lines}d conftest.undefs >conftest.tail
21554 rm -f conftest.undefs
21555 mv conftest.tail conftest.undefs
21557 rm -f conftest.undefs
21559 cat >>$CONFIG_STATUS <<\_ACEOF
21560 # Let's still pretend it is `configure
' which instantiates (i.e., don't
21561 # use $as_me), people would be surprised to read:
21562 # /* config.h. Generated by config.status. */
21563 if test x
"$ac_file" = x-
; then
21564 echo "/* Generated by configure. */" >$tmp/config.h
21566 echo "/* $ac_file. Generated by configure. */" >$tmp/config.h
21568 cat $tmp/in >>$tmp/config.h
21570 if test x
"$ac_file" != x-
; then
21571 if diff $ac_file $tmp/config.h
>/dev
/null
2>&1; then
21572 { echo "$as_me:$LINENO: $ac_file is unchanged" >&5
21573 echo "$as_me: $ac_file is unchanged" >&6;}
21575 ac_dir
=`(dirname "$ac_file") 2>/dev/null ||
21576 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
21577 X"$ac_file" : 'X\(//\)[^/]' \| \
21578 X"$ac_file" : 'X\(//\)$' \| \
21579 X"$ac_file" : 'X\(/\)' \| \
21580 . : '\(.\)' 2>/dev/null ||
21582 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
21583 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
21584 /^X\(\/\/\)$/{ s//\1/; q; }
21585 /^X\(\/\).*/{ s//\1/; q; }
21587 { if $as_mkdir_p; then
21592 while test ! -d "$as_dir"; do
21593 as_dirs
="$as_dir $as_dirs"
21594 as_dir
=`(dirname "$as_dir") 2>/dev/null ||
21595 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
21596 X"$as_dir" : 'X\(//\)[^/]' \| \
21597 X"$as_dir" : 'X\(//\)$' \| \
21598 X"$as_dir" : 'X\(/\)' \| \
21599 . : '\(.\)' 2>/dev/null ||
21601 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
21602 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
21603 /^X\(\/\/\)$/{ s//\1/; q; }
21604 /^X\(\/\).*/{ s//\1/; q; }
21607 test ! -n "$as_dirs" || mkdir
$as_dirs
21608 fi ||
{ { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
21609 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
21610 { (exit 1); exit 1; }; }; }
21613 mv $tmp/config.h
$ac_file
21617 rm -f $tmp/config.h
21619 # Compute $ac_file's index in $config_headers.
21621 for _am_header
in $config_headers :; do
21622 case $_am_header in
21623 $ac_file |
$ac_file:* )
21626 _am_stamp_count
=`expr $_am_stamp_count + 1` ;;
21629 echo "timestamp for $ac_file" >`(dirname $ac_file) 2>/dev/null ||
21630 $as_expr X$ac_file : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
21631 X$ac_file : 'X\(//\)[^/]' \| \
21632 X$ac_file : 'X\(//\)$' \| \
21633 X$ac_file : 'X\(/\)' \| \
21634 . : '\(.\)' 2>/dev/null ||
21636 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
21637 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
21638 /^X\(\/\/\)$/{ s//\1/; q; }
21639 /^X\(\/\).*/{ s//\1/; q; }
21640 s/.*/./; q'`/stamp-h
$_am_stamp_count
21643 cat >>$CONFIG_STATUS <<\_ACEOF
21646 # CONFIG_LINKS section.
21649 for ac_file
in : $CONFIG_LINKS; do test "x$ac_file" = x
: && continue
21650 ac_dest
=`echo "$ac_file" | sed 's,:.*,,'`
21651 ac_source
=`echo "$ac_file" | sed 's,[^:]*:,,'`
21653 { echo "$as_me:$LINENO: linking $srcdir/$ac_source to $ac_dest" >&5
21654 echo "$as_me: linking $srcdir/$ac_source to $ac_dest" >&6;}
21656 if test ! -r $srcdir/$ac_source; then
21657 { { echo "$as_me:$LINENO: error: $srcdir/$ac_source: file not found" >&5
21658 echo "$as_me: error: $srcdir/$ac_source: file not found" >&2;}
21659 { (exit 1); exit 1; }; }
21663 # Make relative symlinks.
21664 ac_dest_dir
=`(dirname "$ac_dest") 2>/dev/null ||
21665 $as_expr X"$ac_dest" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
21666 X"$ac_dest" : 'X\(//\)[^/]' \| \
21667 X"$ac_dest" : 'X\(//\)$' \| \
21668 X"$ac_dest" : 'X\(/\)' \| \
21669 . : '\(.\)' 2>/dev/null ||
21671 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
21672 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
21673 /^X\(\/\/\)$/{ s//\1/; q; }
21674 /^X\(\/\).*/{ s//\1/; q; }
21676 { if $as_mkdir_p; then
21677 mkdir
-p "$ac_dest_dir"
21679 as_dir
="$ac_dest_dir"
21681 while test ! -d "$as_dir"; do
21682 as_dirs
="$as_dir $as_dirs"
21683 as_dir
=`(dirname "$as_dir") 2>/dev/null ||
21684 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
21685 X"$as_dir" : 'X\(//\)[^/]' \| \
21686 X"$as_dir" : 'X\(//\)$' \| \
21687 X"$as_dir" : 'X\(/\)' \| \
21688 . : '\(.\)' 2>/dev/null ||
21690 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
21691 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
21692 /^X\(\/\/\)$/{ s//\1/; q; }
21693 /^X\(\/\).*/{ s//\1/; q; }
21696 test ! -n "$as_dirs" || mkdir
$as_dirs
21697 fi ||
{ { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dest_dir\"" >&5
21698 echo "$as_me: error: cannot create directory \"$ac_dest_dir\"" >&2;}
21699 { (exit 1); exit 1; }; }; }
21703 if test "$ac_dest_dir" != .
; then
21704 ac_dir_suffix
=/`echo "$ac_dest_dir" | sed 's,^\.[\\/],,'`
21705 # A "../" for each directory in $ac_dir_suffix.
21706 ac_top_builddir
=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
21708 ac_dir_suffix
= ac_top_builddir
=
21712 .
) # No --srcdir option. We are building in place.
21714 if test -z "$ac_top_builddir"; then
21717 ac_top_srcdir
=`echo $ac_top_builddir | sed 's,/$,,'`
21719 [\\/]* | ?
:[\\/]* ) # Absolute path.
21720 ac_srcdir
=$srcdir$ac_dir_suffix;
21721 ac_top_srcdir
=$srcdir ;;
21722 *) # Relative path.
21723 ac_srcdir
=$ac_top_builddir$srcdir$ac_dir_suffix
21724 ac_top_srcdir
=$ac_top_builddir$srcdir ;;
21727 # Do not use `cd foo && pwd` to compute absolute paths, because
21728 # the directories may not exist.
21730 .
) ac_abs_builddir
="$ac_dest_dir";;
21732 case "$ac_dest_dir" in
21733 .
) ac_abs_builddir
=`pwd`;;
21734 [\\/]* | ?
:[\\/]* ) ac_abs_builddir
="$ac_dest_dir";;
21735 *) ac_abs_builddir
=`pwd`/"$ac_dest_dir";;
21738 case $ac_abs_builddir in
21739 .
) ac_abs_top_builddir
=${ac_top_builddir}.
;;
21741 case ${ac_top_builddir}.
in
21742 .
) ac_abs_top_builddir
=$ac_abs_builddir;;
21743 [\\/]* | ?
:[\\/]* ) ac_abs_top_builddir
=${ac_top_builddir}.
;;
21744 *) ac_abs_top_builddir
=$ac_abs_builddir/${ac_top_builddir}.
;;
21747 case $ac_abs_builddir in
21748 .
) ac_abs_srcdir
=$ac_srcdir;;
21751 .
) ac_abs_srcdir
=$ac_abs_builddir;;
21752 [\\/]* | ?
:[\\/]* ) ac_abs_srcdir
=$ac_srcdir;;
21753 *) ac_abs_srcdir
=$ac_abs_builddir/$ac_srcdir;;
21756 case $ac_abs_builddir in
21757 .
) ac_abs_top_srcdir
=$ac_top_srcdir;;
21759 case $ac_top_srcdir in
21760 .
) ac_abs_top_srcdir
=$ac_abs_builddir;;
21761 [\\/]* | ?
:[\\/]* ) ac_abs_top_srcdir
=$ac_top_srcdir;;
21762 *) ac_abs_top_srcdir
=$ac_abs_builddir/$ac_top_srcdir;;
21768 [\\/$
]* | ?
:[\\/]* ) ac_rel_source
=$srcdir/$ac_source ;;
21769 *) ac_rel_source
=$ac_top_builddir$srcdir/$ac_source ;;
21772 # Try a symlink, then a hard link, then a copy.
21773 ln -s $ac_rel_source $ac_dest 2>/dev
/null ||
21774 ln $srcdir/$ac_source $ac_dest 2>/dev
/null ||
21775 cp -p $srcdir/$ac_source $ac_dest ||
21776 { { echo "$as_me:$LINENO: error: cannot link or copy $srcdir/$ac_source to $ac_dest" >&5
21777 echo "$as_me: error: cannot link or copy $srcdir/$ac_source to $ac_dest" >&2;}
21778 { (exit 1); exit 1; }; }
21781 cat >>$CONFIG_STATUS <<\_ACEOF
21784 # CONFIG_COMMANDS section.
21786 for ac_file
in : $CONFIG_COMMANDS; do test "x$ac_file" = x
: && continue
21787 ac_dest
=`echo "$ac_file" | sed 's,:.*,,'`
21788 ac_source
=`echo "$ac_file" | sed 's,[^:]*:,,'`
21789 ac_dir
=`(dirname "$ac_dest") 2>/dev/null ||
21790 $as_expr X"$ac_dest" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
21791 X"$ac_dest" : 'X\(//\)[^/]' \| \
21792 X"$ac_dest" : 'X\(//\)$' \| \
21793 X"$ac_dest" : 'X\(/\)' \| \
21794 . : '\(.\)' 2>/dev/null ||
21796 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
21797 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
21798 /^X\(\/\/\)$/{ s//\1/; q; }
21799 /^X\(\/\).*/{ s//\1/; q; }
21801 { if $as_mkdir_p; then
21806 while test ! -d "$as_dir"; do
21807 as_dirs
="$as_dir $as_dirs"
21808 as_dir
=`(dirname "$as_dir") 2>/dev/null ||
21809 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
21810 X"$as_dir" : 'X\(//\)[^/]' \| \
21811 X"$as_dir" : 'X\(//\)$' \| \
21812 X"$as_dir" : 'X\(/\)' \| \
21813 . : '\(.\)' 2>/dev/null ||
21815 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
21816 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
21817 /^X\(\/\/\)$/{ s//\1/; q; }
21818 /^X\(\/\).*/{ s//\1/; q; }
21821 test ! -n "$as_dirs" || mkdir
$as_dirs
21822 fi ||
{ { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
21823 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
21824 { (exit 1); exit 1; }; }; }
21828 if test "$ac_dir" != .
; then
21829 ac_dir_suffix
=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
21830 # A "../" for each directory in $ac_dir_suffix.
21831 ac_top_builddir
=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
21833 ac_dir_suffix
= ac_top_builddir
=
21837 .
) # No --srcdir option. We are building in place.
21839 if test -z "$ac_top_builddir"; then
21842 ac_top_srcdir
=`echo $ac_top_builddir | sed 's,/$,,'`
21844 [\\/]* | ?
:[\\/]* ) # Absolute path.
21845 ac_srcdir
=$srcdir$ac_dir_suffix;
21846 ac_top_srcdir
=$srcdir ;;
21847 *) # Relative path.
21848 ac_srcdir
=$ac_top_builddir$srcdir$ac_dir_suffix
21849 ac_top_srcdir
=$ac_top_builddir$srcdir ;;
21852 # Do not use `cd foo && pwd` to compute absolute paths, because
21853 # the directories may not exist.
21855 .
) ac_abs_builddir
="$ac_dir";;
21858 .
) ac_abs_builddir
=`pwd`;;
21859 [\\/]* | ?
:[\\/]* ) ac_abs_builddir
="$ac_dir";;
21860 *) ac_abs_builddir
=`pwd`/"$ac_dir";;
21863 case $ac_abs_builddir in
21864 .
) ac_abs_top_builddir
=${ac_top_builddir}.
;;
21866 case ${ac_top_builddir}.
in
21867 .
) ac_abs_top_builddir
=$ac_abs_builddir;;
21868 [\\/]* | ?
:[\\/]* ) ac_abs_top_builddir
=${ac_top_builddir}.
;;
21869 *) ac_abs_top_builddir
=$ac_abs_builddir/${ac_top_builddir}.
;;
21872 case $ac_abs_builddir in
21873 .
) ac_abs_srcdir
=$ac_srcdir;;
21876 .
) ac_abs_srcdir
=$ac_abs_builddir;;
21877 [\\/]* | ?
:[\\/]* ) ac_abs_srcdir
=$ac_srcdir;;
21878 *) ac_abs_srcdir
=$ac_abs_builddir/$ac_srcdir;;
21881 case $ac_abs_builddir in
21882 .
) ac_abs_top_srcdir
=$ac_top_srcdir;;
21884 case $ac_top_srcdir in
21885 .
) ac_abs_top_srcdir
=$ac_abs_builddir;;
21886 [\\/]* | ?
:[\\/]* ) ac_abs_top_srcdir
=$ac_top_srcdir;;
21887 *) ac_abs_top_srcdir
=$ac_abs_builddir/$ac_top_srcdir;;
21892 { echo "$as_me:$LINENO: executing $ac_dest commands" >&5
21893 echo "$as_me: executing $ac_dest commands" >&6;}
21896 # Only add multilib support code if we just rebuilt the top-level
21898 case " $CONFIG_FILES " in
21900 ac_file
=Makefile .
${multi_basedir}/config-ml.
in
21903 depfiles
) test x
"$AMDEP_TRUE" != x
"" ||
for mf
in $CONFIG_FILES; do
21904 # Strip MF so we end up with the name of the file.
21905 mf
=`echo "$mf" | sed -e 's/:.*$//'`
21906 # Check whether this is an Automake generated Makefile or not.
21907 # We used to match only the files named `Makefile.in', but
21908 # some people rename them; so instead we look at the file content.
21909 # Grep'ing the first line is not enough: some people post-process
21910 # each Makefile.in and add a new line on top of each file to say so.
21911 # So let's grep whole file.
21912 if grep '^#.*generated by automake' $mf > /dev
/null
2>&1; then
21913 dirpart
=`(dirname "$mf") 2>/dev/null ||
21914 $as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
21915 X"$mf" : 'X\(//\)[^/]' \| \
21916 X"$mf" : 'X\(//\)$' \| \
21917 X"$mf" : 'X\(/\)' \| \
21918 . : '\(.\)' 2>/dev/null ||
21920 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
21921 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
21922 /^X\(\/\/\)$/{ s//\1/; q; }
21923 /^X\(\/\).*/{ s//\1/; q; }
21928 # Extract the definition of DEPDIR, am__include, and am__quote
21929 # from the Makefile without running `make'.
21930 DEPDIR
=`sed -n 's/^DEPDIR = //p' < "$mf"`
21931 test -z "$DEPDIR" && continue
21932 am__include
=`sed -n 's/^am__include = //p' < "$mf"`
21933 test -z "am__include" && continue
21934 am__quote
=`sed -n 's/^am__quote = //p' < "$mf"`
21935 # When using ansi2knr, U may be empty or an underscore; expand it
21936 U
=`sed -n 's/^U = //p' < "$mf"`
21937 # Find all dependency output files, they are included files with
21938 # $(DEPDIR) in their names. We invoke sed twice because it is the
21939 # simplest approach to changing $(DEPDIR) to its actual value in the
21941 for file in `sed -n "
21942 s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
21943 sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do
21944 # Make sure the directory exists.
21945 test -f "$dirpart/$file" && continue
21946 fdir
=`(dirname "$file") 2>/dev/null ||
21947 $as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
21948 X"$file" : 'X\(//\)[^/]' \| \
21949 X"$file" : 'X\(//\)$' \| \
21950 X"$file" : 'X\(/\)' \| \
21951 . : '\(.\)' 2>/dev/null ||
21953 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
21954 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
21955 /^X\(\/\/\)$/{ s//\1/; q; }
21956 /^X\(\/\).*/{ s//\1/; q; }
21958 { if $as_mkdir_p; then
21959 mkdir
-p $dirpart/$fdir
21961 as_dir
=$dirpart/$fdir
21963 while test ! -d "$as_dir"; do
21964 as_dirs
="$as_dir $as_dirs"
21965 as_dir
=`(dirname "$as_dir") 2>/dev/null ||
21966 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
21967 X"$as_dir" : 'X\(//\)[^/]' \| \
21968 X"$as_dir" : 'X\(//\)$' \| \
21969 X"$as_dir" : 'X\(/\)' \| \
21970 . : '\(.\)' 2>/dev/null ||
21972 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
21973 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
21974 /^X\(\/\/\)$/{ s//\1/; q; }
21975 /^X\(\/\).*/{ s//\1/; q; }
21978 test ! -n "$as_dirs" || mkdir
$as_dirs
21979 fi ||
{ { echo "$as_me:$LINENO: error: cannot create directory $dirpart/$fdir" >&5
21980 echo "$as_me: error: cannot create directory $dirpart/$fdir" >&2;}
21981 { (exit 1); exit 1; }; }; }
21983 # echo "creating $dirpart/$file"
21984 echo '# dummy' > "$dirpart/$file"
21988 mkcollections.pl
) chmod 755 lib
/mkcollections.pl
;;
21990 { echo "$as_me:$LINENO: creating $ac_stdint_h : $_ac_stdint_h" >&5
21991 echo "$as_me: creating $ac_stdint_h : $_ac_stdint_h" >&6;}
21992 ac_stdint
=$tmp/_stdint.h
21994 echo "#ifndef" $_ac_stdint_h >$ac_stdint
21995 echo "#define" $_ac_stdint_h "1" >>$ac_stdint
21996 echo "#ifndef" _GENERATED_STDINT_H
>>$ac_stdint
21997 echo "#define" _GENERATED_STDINT_H
'"'$PACKAGE $VERSION'"' >>$ac_stdint
21998 echo "/* generated $ac_cv_stdint_message */" >>$ac_stdint
21999 if test "_$ac_cv_header_stdint_t" != "_" ; then
22000 echo "#define _STDINT_HAVE_STDINT_H" "1" >>$ac_stdint
22001 echo "#include <stdint.h>" >>$ac_stdint
22002 echo "#endif" >>$ac_stdint
22003 echo "#endif" >>$ac_stdint
22006 cat >>$ac_stdint <<STDINT_EOF
22008 /* ................... shortcircuit part ........................... */
22010 #if defined HAVE_STDINT_H || defined _STDINT_HAVE_STDINT_H
22011 #include <stdint.h>
22013 #include <stddef.h>
22015 /* .................... configured part ............................ */
22019 echo "/* whether we have a C99 compatible stdint header file */" >>$ac_stdint
22020 if test "_$ac_cv_header_stdint_x" != "_" ; then
22021 ac_header
="$ac_cv_header_stdint_x"
22022 echo "#define _STDINT_HEADER_INTPTR" '"'"$ac_header"'"' >>$ac_stdint
22024 echo "/* #undef _STDINT_HEADER_INTPTR */" >>$ac_stdint
22027 echo "/* whether we have a C96 compatible inttypes header file */" >>$ac_stdint
22028 if test "_$ac_cv_header_stdint_o" != "_" ; then
22029 ac_header
="$ac_cv_header_stdint_o"
22030 echo "#define _STDINT_HEADER_UINT32" '"'"$ac_header"'"' >>$ac_stdint
22032 echo "/* #undef _STDINT_HEADER_UINT32 */" >>$ac_stdint
22035 echo "/* whether we have a BSD compatible inet types header */" >>$ac_stdint
22036 if test "_$ac_cv_header_stdint_u" != "_" ; then
22037 ac_header
="$ac_cv_header_stdint_u"
22038 echo "#define _STDINT_HEADER_U_INT32" '"'"$ac_header"'"' >>$ac_stdint
22040 echo "/* #undef _STDINT_HEADER_U_INT32 */" >>$ac_stdint
22043 echo "" >>$ac_stdint
22045 if test "_$ac_header" != "_" ; then if test "$ac_header" != "stddef.h" ; then
22046 echo "#include <$ac_header>" >>$ac_stdint
22047 echo "" >>$ac_stdint
22050 echo "/* which 64bit typedef has been found */" >>$ac_stdint
22051 if test "$ac_cv_type_uint64_t" = "yes" ; then
22052 echo "#define _STDINT_HAVE_UINT64_T" "1" >>$ac_stdint
22054 echo "/* #undef _STDINT_HAVE_UINT64_T */" >>$ac_stdint
22056 if test "$ac_cv_type_u_int64_t" = "yes" ; then
22057 echo "#define _STDINT_HAVE_U_INT64_T" "1" >>$ac_stdint
22059 echo "/* #undef _STDINT_HAVE_U_INT64_T */" >>$ac_stdint
22061 echo "" >>$ac_stdint
22063 echo "/* which type model has been detected */" >>$ac_stdint
22064 if test "_$ac_cv_char_data_model" != "_" ; then
22065 echo "#define _STDINT_CHAR_MODEL" "$ac_cv_char_data_model" >>$ac_stdint
22066 echo "#define _STDINT_LONG_MODEL" "$ac_cv_long_data_model" >>$ac_stdint
22068 echo "/* #undef _STDINT_CHAR_MODEL // skipped */" >>$ac_stdint
22069 echo "/* #undef _STDINT_LONG_MODEL // skipped */" >>$ac_stdint
22071 echo "" >>$ac_stdint
22073 echo "/* whether int_least types were detected */" >>$ac_stdint
22074 if test "$ac_cv_type_int_least32_t" = "yes"; then
22075 echo "#define _STDINT_HAVE_INT_LEAST32_T" "1" >>$ac_stdint
22077 echo "/* #undef _STDINT_HAVE_INT_LEAST32_T */" >>$ac_stdint
22079 echo "/* whether int_fast types were detected */" >>$ac_stdint
22080 if test "$ac_cv_type_int_fast32_t" = "yes"; then
22081 echo "#define _STDINT_HAVE_INT_FAST32_T" "1" >>$ac_stdint
22083 echo "/* #undef _STDINT_HAVE_INT_FAST32_T */" >>$ac_stdint
22085 echo "/* whether intmax_t type was detected */" >>$ac_stdint
22086 if test "$ac_cv_type_intmax_t" = "yes"; then
22087 echo "#define _STDINT_HAVE_INTMAX_T" "1" >>$ac_stdint
22089 echo "/* #undef _STDINT_HAVE_INTMAX_T */" >>$ac_stdint
22091 echo "" >>$ac_stdint
22093 cat >>$ac_stdint <<STDINT_EOF
22094 /* .................... detections part ............................ */
22096 /* whether we need to define bitspecific types from compiler base types */
22097 #ifndef _STDINT_HEADER_INTPTR
22098 #ifndef _STDINT_HEADER_UINT32
22099 #ifndef _STDINT_HEADER_U_INT32
22100 #define _STDINT_NEED_INT_MODEL_T
22102 #define _STDINT_HAVE_U_INT_TYPES
22107 #ifdef _STDINT_HAVE_U_INT_TYPES
22108 #undef _STDINT_NEED_INT_MODEL_T
22111 #ifdef _STDINT_CHAR_MODEL
22112 #if _STDINT_CHAR_MODEL+0 == 122 || _STDINT_CHAR_MODEL+0 == 124
22113 #ifndef _STDINT_BYTE_MODEL
22114 #define _STDINT_BYTE_MODEL 12
22119 #ifndef _STDINT_HAVE_INT_LEAST32_T
22120 #define _STDINT_NEED_INT_LEAST_T
22123 #ifndef _STDINT_HAVE_INT_FAST32_T
22124 #define _STDINT_NEED_INT_FAST_T
22127 #ifndef _STDINT_HEADER_INTPTR
22128 #define _STDINT_NEED_INTPTR_T
22129 #ifndef _STDINT_HAVE_INTMAX_T
22130 #define _STDINT_NEED_INTMAX_T
22135 /* .................... definition part ............................ */
22137 /* some system headers have good uint64_t */
22138 #ifndef _HAVE_UINT64_T
22139 #if defined _STDINT_HAVE_UINT64_T || defined HAVE_UINT64_T
22140 #define _HAVE_UINT64_T
22141 #elif defined _STDINT_HAVE_U_INT64_T || defined HAVE_U_INT64_T
22142 #define _HAVE_UINT64_T
22143 typedef u_int64_t uint64_t;
22147 #ifndef _HAVE_UINT64_T
22148 /* .. here are some common heuristics using compiler runtime specifics */
22149 #if defined __STDC_VERSION__ && defined __STDC_VERSION__ >= 199901L
22150 #define _HAVE_UINT64_T
22151 #define _HAVE_LONGLONG_UINT64_T
22152 typedef long long int64_t;
22153 typedef unsigned long long uint64_t;
22155 #elif !defined __STRICT_ANSI__
22156 #if defined _MSC_VER || defined __WATCOMC__ || defined __BORLANDC__
22157 #define _HAVE_UINT64_T
22158 typedef __int64 int64_t;
22159 typedef unsigned __int64 uint64_t;
22161 #elif defined __GNUC__ || defined __MWERKS__ || defined __ELF__
22162 /* note: all ELF-systems seem to have loff-support which needs 64-bit */
22163 #if !defined _NO_LONGLONG
22164 #define _HAVE_UINT64_T
22165 #define _HAVE_LONGLONG_UINT64_T
22166 typedef long long int64_t;
22167 typedef unsigned long long uint64_t;
22170 #elif defined __alpha || (defined __mips && defined _ABIN32)
22171 #if !defined _NO_LONGLONG
22172 typedef long int64_t;
22173 typedef unsigned long uint64_t;
22175 /* compiler/cpu type to define int64_t */
22180 #if defined _STDINT_HAVE_U_INT_TYPES
22181 /* int8_t int16_t int32_t defined by inet code, redeclare the u_intXX types */
22182 typedef u_int8_t uint8_t;
22183 typedef u_int16_t uint16_t;
22184 typedef u_int32_t uint32_t;
22186 /* glibc compatibility */
22187 #ifndef __int8_t_defined
22188 #define __int8_t_defined
22192 #ifdef _STDINT_NEED_INT_MODEL_T
22193 /* we must guess all the basic types. Apart from byte-adressable system, */
22194 /* there a few 32-bit-only dsp-systems that we guard with BYTE_MODEL 8-} */
22195 /* (btw, those nibble-addressable systems are way off, or so we assume) */
22198 #if defined _STDINT_BYTE_MODEL
22199 #if _STDINT_LONG_MODEL+0 == 242
22200 /* 2:4:2 = IP16 = a normal 16-bit system */
22201 typedef unsigned char uint8_t;
22202 typedef unsigned short uint16_t;
22203 typedef unsigned long uint32_t;
22204 #ifndef __int8_t_defined
22205 #define __int8_t_defined
22206 typedef char int8_t;
22207 typedef short int16_t;
22208 typedef long int32_t;
22210 #elif _STDINT_LONG_MODEL+0 == 244 || _STDINT_LONG_MODEL == 444
22211 /* 2:4:4 = LP32 = a 32-bit system derived from a 16-bit */
22212 /* 4:4:4 = ILP32 = a normal 32-bit system */
22213 typedef unsigned char uint8_t;
22214 typedef unsigned short uint16_t;
22215 typedef unsigned int uint32_t;
22216 #ifndef __int8_t_defined
22217 #define __int8_t_defined
22218 typedef char int8_t;
22219 typedef short int16_t;
22220 typedef int int32_t;
22222 #elif _STDINT_LONG_MODEL+0 == 484 || _STDINT_LONG_MODEL+0 == 488
22223 /* 4:8:4 = IP32 = a 32-bit system prepared for 64-bit */
22224 /* 4:8:8 = LP64 = a normal 64-bit system */
22225 typedef unsigned char uint8_t;
22226 typedef unsigned short uint16_t;
22227 typedef unsigned int uint32_t;
22228 #ifndef __int8_t_defined
22229 #define __int8_t_defined
22230 typedef char int8_t;
22231 typedef short int16_t;
22232 typedef int int32_t;
22234 /* this system has a "long" of 64bit */
22235 #ifndef _HAVE_UINT64_T
22236 #define _HAVE_UINT64_T
22237 typedef unsigned long uint64_t;
22238 typedef long int64_t;
22240 #elif _STDINT_LONG_MODEL+0 == 448
22241 /* LLP64 a 64-bit system derived from a 32-bit system */
22242 typedef unsigned char uint8_t;
22243 typedef unsigned short uint16_t;
22244 typedef unsigned int uint32_t;
22245 #ifndef __int8_t_defined
22246 #define __int8_t_defined
22247 typedef char int8_t;
22248 typedef short int16_t;
22249 typedef int int32_t;
22251 /* assuming the system has a "long long" */
22252 #ifndef _HAVE_UINT64_T
22253 #define _HAVE_UINT64_T
22254 #define _HAVE_LONGLONG_UINT64_T
22255 typedef unsigned long long uint64_t;
22256 typedef long long int64_t;
22259 #define _STDINT_NO_INT32_T
22262 #define _STDINT_NO_INT8_T
22263 #define _STDINT_NO_INT32_T
22268 * quote from SunOS-5.8 sys/inttypes.h:
22269 * Use at your own risk. As of February 1996, the committee is squarely
22270 * behind the fixed sized types; the "least" and "fast" types are still being
22271 * discussed. The probability that the "fast" types may be removed before
22272 * the standard is finalized is high enough that they are not currently
22276 #if defined _STDINT_NEED_INT_LEAST_T
22277 typedef int8_t int_least8_t;
22278 typedef int16_t int_least16_t;
22279 typedef int32_t int_least32_t;
22280 #ifdef _HAVE_UINT64_T
22281 typedef int64_t int_least64_t;
22284 typedef uint8_t uint_least8_t;
22285 typedef uint16_t uint_least16_t;
22286 typedef uint32_t uint_least32_t;
22287 #ifdef _HAVE_UINT64_T
22288 typedef uint64_t uint_least64_t;
22293 #if defined _STDINT_NEED_INT_FAST_T
22294 typedef int8_t int_fast8_t;
22295 typedef int int_fast16_t;
22296 typedef int32_t int_fast32_t;
22297 #ifdef _HAVE_UINT64_T
22298 typedef int64_t int_fast64_t;
22301 typedef uint8_t uint_fast8_t;
22302 typedef unsigned uint_fast16_t;
22303 typedef uint32_t uint_fast32_t;
22304 #ifdef _HAVE_UINT64_T
22305 typedef uint64_t uint_fast64_t;
22310 #ifdef _STDINT_NEED_INTMAX_T
22311 #ifdef _HAVE_UINT64_T
22312 typedef int64_t intmax_t;
22313 typedef uint64_t uintmax_t;
22315 typedef long intmax_t;
22316 typedef unsigned long uintmax_t;
22320 #ifdef _STDINT_NEED_INTPTR_T
22321 #ifndef __intptr_t_defined
22322 #define __intptr_t_defined
22323 /* we encourage using "long" to store pointer values, never use "int" ! */
22324 #if _STDINT_LONG_MODEL+0 == 242 || _STDINT_LONG_MODEL+0 == 484
22325 typedef unsigned int uintptr_t;
22326 typedef int intptr_t;
22327 #elif _STDINT_LONG_MODEL+0 == 244 || _STDINT_LONG_MODEL+0 == 444
22328 typedef unsigned long uintptr_t;
22329 typedef long intptr_t;
22330 #elif _STDINT_LONG_MODEL+0 == 448 && defined _HAVE_UINT64_T
22331 typedef uint64_t uintptr_t;
22332 typedef int64_t intptr_t;
22333 #else /* matches typical system types ILP32 and LP64 - but not IP16 or LLP64 */
22334 typedef unsigned long uintptr_t;
22335 typedef long intptr_t;
22340 /* The ISO C99 standard specifies that in C++ implementations these
22341 should only be defined if explicitly requested. */
22342 #if !defined __cplusplus || defined __STDC_CONSTANT_MACROS
22346 # define INT8_C(c) c
22347 # define INT16_C(c) c
22348 # define INT32_C(c) c
22349 # ifdef _HAVE_LONGLONG_UINT64_T
22350 # define INT64_C(c) c ## L
22352 # define INT64_C(c) c ## LL
22356 # define UINT8_C(c) c ## U
22357 # define UINT16_C(c) c ## U
22358 # define UINT32_C(c) c ## U
22359 # ifdef _HAVE_LONGLONG_UINT64_T
22360 # define UINT64_C(c) c ## UL
22362 # define UINT64_C(c) c ## ULL
22365 /* Maximal type. */
22366 # ifdef _HAVE_LONGLONG_UINT64_T
22367 # define INTMAX_C(c) c ## L
22368 # define UINTMAX_C(c) c ## UL
22370 # define INTMAX_C(c) c ## LL
22371 # define UINTMAX_C(c) c ## ULL
22374 /* literalnumbers */
22378 /* These limits are merily those of a two complement byte-oriented system */
22380 /* Minimum of signed integral types. */
22381 # define INT8_MIN (-128)
22382 # define INT16_MIN (-32767-1)
22383 # define INT32_MIN (-2147483647-1)
22384 # define INT64_MIN (-__INT64_C(9223372036854775807)-1)
22385 /* Maximum of signed integral types. */
22386 # define INT8_MAX (127)
22387 # define INT16_MAX (32767)
22388 # define INT32_MAX (2147483647)
22389 # define INT64_MAX (__INT64_C(9223372036854775807))
22391 /* Maximum of unsigned integral types. */
22392 # define UINT8_MAX (255)
22393 # define UINT16_MAX (65535)
22394 # define UINT32_MAX (4294967295U)
22395 # define UINT64_MAX (__UINT64_C(18446744073709551615))
22397 /* Minimum of signed integral types having a minimum size. */
22398 # define INT_LEAST8_MIN INT8_MIN
22399 # define INT_LEAST16_MIN INT16_MIN
22400 # define INT_LEAST32_MIN INT32_MIN
22401 # define INT_LEAST64_MIN INT64_MIN
22402 /* Maximum of signed integral types having a minimum size. */
22403 # define INT_LEAST8_MAX INT8_MAX
22404 # define INT_LEAST16_MAX INT16_MAX
22405 # define INT_LEAST32_MAX INT32_MAX
22406 # define INT_LEAST64_MAX INT64_MAX
22408 /* Maximum of unsigned integral types having a minimum size. */
22409 # define UINT_LEAST8_MAX UINT8_MAX
22410 # define UINT_LEAST16_MAX UINT16_MAX
22411 # define UINT_LEAST32_MAX UINT32_MAX
22412 # define UINT_LEAST64_MAX UINT64_MAX
22421 if cmp -s $ac_stdint_h $ac_stdint 2>/dev
/null
; then
22422 { echo "$as_me:$LINENO: $ac_stdint_h is unchanged" >&5
22423 echo "$as_me: $ac_stdint_h is unchanged" >&6;}
22425 ac_dir
=`(dirname "$ac_stdint_h") 2>/dev/null ||
22426 $as_expr X"$ac_stdint_h" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
22427 X"$ac_stdint_h" : 'X\(//\)[^/]' \| \
22428 X"$ac_stdint_h" : 'X\(//\)$' \| \
22429 X"$ac_stdint_h" : 'X\(/\)' \| \
22430 . : '\(.\)' 2>/dev/null ||
22431 echo X"$ac_stdint_h" |
22432 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
22433 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
22434 /^X\(\/\/\)$/{ s//\1/; q; }
22435 /^X\(\/\).*/{ s//\1/; q; }
22437 { if $as_mkdir_p; then
22442 while test ! -d "$as_dir"; do
22443 as_dirs
="$as_dir $as_dirs"
22444 as_dir
=`(dirname "$as_dir") 2>/dev/null ||
22445 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
22446 X"$as_dir" : 'X\(//\)[^/]' \| \
22447 X"$as_dir" : 'X\(//\)$' \| \
22448 X"$as_dir" : 'X\(/\)' \| \
22449 . : '\(.\)' 2>/dev/null ||
22451 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
22452 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
22453 /^X\(\/\/\)$/{ s//\1/; q; }
22454 /^X\(\/\).*/{ s//\1/; q; }
22457 test ! -n "$as_dirs" || mkdir
$as_dirs
22458 fi ||
{ { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
22459 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
22460 { (exit 1); exit 1; }; }; }
22463 mv $ac_stdint $ac_stdint_h
22466 gappletviewer
) chmod 755 tools
/gappletviewer
;;
22467 gjarsigner
) chmod 755 tools
/gjarsigner
;;
22468 gkeytool
) chmod 755 tools
/gkeytool
;;
22469 gjar
) chmod 755 tools
/gjar
;;
22470 gnative2ascii
) chmod 755 tools
/gnative2ascii
;;
22471 gserialver
) chmod 755 tools
/gserialver
;;
22472 grmiregistry
) chmod 755 tools
/grmiregistry
;;
22473 gtnameserv
) chmod 755 tools
/gtnameserv
;;
22474 gorbd
) chmod 755 tools
/gorbd
;;
22475 grmid
) chmod 755 tools
/grmid
;;
22476 grmic
) chmod 755 tools
/grmic
;;
22477 gjavah
) chmod 755 tools
/gjavah
;;
22478 gen-classlist
) chmod 755 lib
/gen-classlist.sh
;;
22479 copy-vmresources
) chmod 755 lib
/copy-vmresources.sh
;;
22484 cat >>$CONFIG_STATUS <<\_ACEOF
22486 { (exit 0); exit 0; }
22488 chmod +x
$CONFIG_STATUS
22489 ac_clean_files
=$ac_clean_files_save
22492 # configure is writing to config.log, and then calls config.status.
22493 # config.status does its own redirection, appending to config.log.
22494 # Unfortunately, on DOS this fails, as config.log is still kept open
22495 # by configure, so config.status won't be able to write to it; its
22496 # output is simply discarded. So we exec the FD to /dev/null,
22497 # effectively closing config.log, so it can be properly (re)opened and
22498 # appended to by config.status. When coming back to configure, we
22499 # need to make the FD available again.
22500 if test "$no_create" != yes; then
22502 ac_config_status_args
=
22503 test "$silent" = yes &&
22504 ac_config_status_args
="$ac_config_status_args --quiet"
22506 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success
=false
22508 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
22509 # would make configure fail if this is the last instruction.
22510 $ac_cs_success ||
{ (exit 1); exit 1; }
22514 # Create standard.omit based on decisions we just made.
22515 cat ${srcdir}/lib
/standard.omit.
in > lib
/standard.omit
22516 if test x
$use_escher != xtrue
; then
22517 echo gnu
/java
/awt
/peer
/x
/.
*java$
>> lib
/standard.omit