2 # Guess values for system-dependent variables and create Makefiles.
3 # Generated by GNU Autoconf 2.59 for GNU Classpath 0.92.
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.92'
273 PACKAGE_STRING
='GNU Classpath 0.92'
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 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 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 CXX CXXFLAGS ac_ct_CXX CXXDEPMODE am__fastdepCXX_TRUE am__fastdepCXX_FALSE RANLIB ac_ct_RANLIB LIBTOOL 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 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.92 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.92:";;
872 --disable-FEATURE do not include FEATURE
(same as
--enable-FEATURE=no
)
873 --enable-FEATURE[=ARG
] include FEATURE
[ARG
=yes]
874 --enable-collections create collections.jar default
=no
875 --enable-jni compile JNI
source default
=yes
876 --enable-core-jni compile JNI sources
for core default
=yes
877 --enable-default-preferences-peer
878 fully qualified class name of default Preferences
880 --disable-gconf-peer compile GConf native peers
(disabled by
881 --disable-jni) default
=yes
883 --enable-Werror whether to compile C code with
-Werror which turns
884 any compiler warning into a compilation failure
886 --enable-default-toolkit
887 fully qualified class name of default AWT toolkit
888 --enable-xmlj compile native libxml
/xslt library default
=no
889 --disable-alsa compile ALSA providers
(enable by
--enable-alsa)
891 --disable-dependency-tracking speeds up one-time build
892 --enable-dependency-tracking do not reject slow dependency extractors
893 --disable-dssi compile DSSI providers
(enable by
--enable-dssi)
895 --disable-gtk-peer compile GTK native peers
(disabled by
--disable-jni)
897 --enable-qt-peer compile Qt4 native peers
(disabled by
--disable-jni)
899 --disable-plugin compile gcjwebplugin
(disabled by
--disable-plugin)
901 --enable-regen-headers automatically regenerate JNI headers default
=no
902 --enable-tool-wrappers create tool wrapper binaries default
=no
903 --enable-static=PKGS build static libraries default
=no
904 --enable-shared=PKGS build shared libraries default
=yes
905 --enable-fast-install=PKGS optimize
for fast installation default
=yes
906 --disable-libtool-lock avoid locking
(might
break parallel builds
)
907 --disable-rpath do not hardcode runtime library paths
908 --enable-maintainer-mode enable make rules and dependencies not useful
909 (and sometimes confusing
) to the casual installer
910 --enable-debug enable runtime debugging code
911 --enable-load-library enable to use JNI native methods default
=yes
912 --enable-java-lang-system-explicit-initialization
913 will the VM explicitly invoke java.lang.System
's
914 static initialization methods default=no
915 --enable-examples enable build of the examples default=yes
916 --enable-portable-native-sync
917 synchronize VM threads portably
918 --enable-local-sockets enables local (AF_LOCAL) socket API default: no
921 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
922 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
923 --with-native-libdir sets the installation directory for native libraries
924 default='${libdir}/${PACKAGE}'
925 --with-glibj-dir sets the installation directory for glibj.zip
926 default='${libdir}/${PACKAGE}'
927 --with-vm sets the VM binary name
928 default='${prefix}/bin
/jamvm
'
929 --with-gnu-ld assume the C compiler uses GNU ld default=no
930 --with-pic try to use only PIC/non-PIC objects default=use both
931 --with-libiconv-prefix[=DIR] search for libiconv in DIR/include and DIR/lib
932 --without-libiconv-prefix don't search
for libiconv
in includedir and libdir
933 --with-x use the X Window System
934 --with-qt4dir=DIR Qt4 installation directory used
for OS-X. For other
935 systems use pkg-config.
936 --with-javah specify path or name of a javah-like program
937 --with-gcj bytecode compilation with gcj
938 --with-jikes bytecode compilation with jikes
939 --with-kjc bytecode compilation with kjc
940 --with-gcjx bytecode compilation with gcjx
941 --with-ecj bytecode compilation with ecj
942 --with-classpath specify path to a classes.
zip like
file
943 --with-vm-classes specify path to VM override
source files
944 --with-fastjar=PATH define to use a fastjar style tool
945 --with-glibj define what to
install (zip|flat|both|none|build
)
947 --with-gjdoc generate documentation using gjdoc
(default is NO
)
948 --with-jay Regenerate the parsers with jay must be given the
949 path to the jay executable
950 --with-glibj-zip=ABS.PATH
951 use prebuilt glibj.
zip class library
952 --with-escher=ABS.PATH specify path to escher dir or JAR
for X peers
954 Some influential environment variables
:
955 CC C compiler
command
956 CFLAGS C compiler flags
957 LDFLAGS linker flags
, e.g.
-L<lib dir
> if you have libraries
in a
958 nonstandard directory
<lib dir
>
959 CPPFLAGS C
/C
++ preprocessor flags
, e.g.
-I<include dir
> if you have
960 headers
in a nonstandard directory
<include dir
>
962 CXX C
++ compiler
command
963 CXXFLAGS C
++ compiler flags
964 CXXCPP C
++ preprocessor
966 Use these variables to override the choices made by
`configure' or to help
967 it to find libraries and programs with nonstandard names/locations.
969 Report bugs to <classpath@gnu.org>.
973 if test "$ac_init_help" = "recursive"; then
974 # If there are subdirs, report their specific --help.
976 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
977 test -d $ac_dir || continue
980 if test "$ac_dir" != .; then
981 ac_dir_suffix=/`echo "$ac_dir" |
sed 's,^\.[\\/],,'`
982 # A "../" for each directory in $ac_dir_suffix.
983 ac_top_builddir=`echo "$ac_dir_suffix" |
sed 's,/[^\\/]*,../,g'`
985 ac_dir_suffix= ac_top_builddir=
989 .) # No --srcdir option. We are building in place.
991 if test -z "$ac_top_builddir"; then
994 ac_top_srcdir=`echo $ac_top_builddir |
sed 's,/$,,'`
996 [\\/]* | ?:[\\/]* ) # Absolute path.
997 ac_srcdir=$srcdir$ac_dir_suffix;
998 ac_top_srcdir=$srcdir ;;
1000 ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
1001 ac_top_srcdir=$ac_top_builddir$srcdir ;;
1004 # Do not use `cd foo
&& pwd` to compute absolute paths, because
1005 # the directories may not exist.
1007 .) ac_abs_builddir="$ac_dir";;
1010 .) ac_abs_builddir=`pwd`;;
1011 [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";;
1012 *) ac_abs_builddir=`pwd`/"$ac_dir";;
1015 case $ac_abs_builddir in
1016 .) ac_abs_top_builddir=${ac_top_builddir}.;;
1018 case ${ac_top_builddir}. in
1019 .) ac_abs_top_builddir=$ac_abs_builddir;;
1020 [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;;
1021 *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;;
1024 case $ac_abs_builddir in
1025 .) ac_abs_srcdir=$ac_srcdir;;
1028 .) ac_abs_srcdir=$ac_abs_builddir;;
1029 [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
1030 *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;;
1033 case $ac_abs_builddir in
1034 .) ac_abs_top_srcdir=$ac_top_srcdir;;
1036 case $ac_top_srcdir in
1037 .) ac_abs_top_srcdir=$ac_abs_builddir;;
1038 [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;;
1039 *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;;
1044 # Check for guested configure; otherwise get Cygnus style configure.
1045 if test -f $ac_srcdir/configure.gnu; then
1047 $SHELL $ac_srcdir/configure.gnu --help=recursive
1048 elif test -f $ac_srcdir/configure; then
1050 $SHELL $ac_srcdir/configure --help=recursive
1051 elif test -f $ac_srcdir/configure.ac ||
1052 test -f $ac_srcdir/configure.in; then
1054 $ac_configure --help
1056 echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1062 test -n "$ac_init_help" && exit 0
1063 if $ac_init_version; then
1065 GNU Classpath configure 0.92
1066 generated by GNU Autoconf 2.59
1068 Copyright (C) 2003 Free Software Foundation, Inc.
1069 This configure script is free software; the Free Software Foundation
1070 gives unlimited permission to copy, distribute and modify it.
1076 This file contains any messages produced by compilers while
1077 running configure, to aid debugging if configure makes a mistake.
1079 It was created by GNU Classpath $as_me 0.92, which was
1080 generated by GNU Autoconf 2.59. Invocation command line was
1091 hostname = `(hostname || uname
-n) 2>/dev
/null |
sed 1q
`
1092 uname -m = `(uname
-m) 2>/dev
/null ||
echo unknown
`
1093 uname -r = `(uname
-r) 2>/dev
/null ||
echo unknown
`
1094 uname -s = `(uname
-s) 2>/dev
/null ||
echo unknown
`
1095 uname -v = `(uname
-v) 2>/dev
/null ||
echo unknown
`
1097 /usr/bin/uname -p = `(/usr
/bin
/uname
-p) 2>/dev
/null ||
echo unknown
`
1098 /bin/uname -X = `(/bin
/uname
-X) 2>/dev
/null ||
echo unknown
`
1100 /bin/arch = `(/bin
/arch
) 2>/dev
/null ||
echo unknown
`
1101 /usr/bin/arch -k = `(/usr
/bin
/arch
-k) 2>/dev
/null ||
echo unknown
`
1102 /usr/convex/getsysinfo = `(/usr
/convex
/getsysinfo
) 2>/dev
/null ||
echo unknown
`
1103 hostinfo = `(hostinfo
) 2>/dev
/null ||
echo unknown
`
1104 /bin/machine = `(/bin
/machine
) 2>/dev
/null ||
echo unknown
`
1105 /usr/bin/oslevel = `(/usr
/bin
/oslevel
) 2>/dev
/null ||
echo unknown
`
1106 /bin/universe = `(/bin
/universe
) 2>/dev
/null ||
echo unknown
`
1110 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1114 test -z "$as_dir" && as_dir=.
1115 echo "PATH: $as_dir"
1130 # Keep a trace of the command line.
1131 # Strip out --no-create and --no-recursion so they do not pile up.
1132 # Strip out --silent because we don't want to record it for future runs.
1133 # Also quote any args containing shell meta-characters.
1134 # Make two passes to allow for proper duplicate-argument suppression.
1139 ac_must_keep_next=false
1145 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
1146 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1147 | -silent | --silent | --silen | --sile | --sil)
1149 *" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
1150 ac_arg=`echo "$ac_arg" |
sed "s/'/'\\\\\\\\''/g"` ;;
1153 1) ac_configure_args0="$ac_configure_args0 '$ac_arg'" ;;
1155 ac_configure_args1="$ac_configure_args1 '$ac_arg'"
1156 if test $ac_must_keep_next = true; then
1157 ac_must_keep_next=false # Got value, back to normal.
1160 *=* | --config-cache | -C | -disable-* | --disable-* \
1161 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
1162 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
1163 | -with-* | --with-* | -without-* | --without-* | --x)
1164 case "$ac_configure_args0 " in
1165 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
1168 -* ) ac_must_keep_next=true ;;
1171 ac_configure_args="$ac_configure_args$ac_sep'$ac_arg'"
1172 # Get rid of the leading space.
1178 $as_unset ac_configure_args0 || test "${ac_configure_args0+set}" != set || { ac_configure_args0=; export ac_configure_args0; }
1179 $as_unset ac_configure_args1 || test "${ac_configure_args1+set}" != set || { ac_configure_args1=; export ac_configure_args1; }
1181 # When interrupted or exit'd, cleanup temporary files, and complete
1182 # config.log. We remove comments because anyway the quotes in there
1183 # would cause problems or look ugly.
1184 # WARNING: Be sure not to use single quotes in there, as some shells,
1185 # such as our DU 5.0 friend, will then `close
' the trap.
1186 trap 'exit_status
=$?
1187 # Save into config.log some information that might help in debugging.
1192 ## ---------------- ##
1193 ## Cache variables. ##
1194 ## ---------------- ##
1197 # The following way of writing the cache mishandles newlines in values,
1200 case `(ac_space='"'"' '"'"'; set | grep ac_space) 2>&1` in
1203 "s/'"'"'/'"'"'\\\\'"'"''"'"'/g;
1204 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='"'"'\\2'"'"'/p"
1208 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
1215 ## ----------------- ##
1216 ## Output variables. ##
1217 ## ----------------- ##
1220 for ac_var
in $ac_subst_vars
1222 eval ac_val
=$
`echo $ac_var`
1223 echo "$ac_var='"'"'$ac_val'"'"'"
1227 if test -n "$ac_subst_files"; then
1234 for ac_var
in $ac_subst_files
1236 eval ac_val
=$
`echo $ac_var`
1237 echo "$ac_var='"'"'$ac_val'"'"'"
1242 if test -s confdefs.h
; then
1249 sed "/^$/d" confdefs.h |
sort
1252 test "$ac_signal" != 0 &&
1253 echo "$as_me: caught signal $ac_signal"
1254 echo "$as_me: exit $exit_status"
1256 rm -f core
*.core
&&
1257 rm -rf conftest
* confdefs
* conf$$
* $ac_clean_files &&
1260 for ac_signal in 1 2 13 15; do
1261 trap 'ac_signal
='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
1265 # confdefs.h avoids OS command line length limits that DEFS can exceed.
1266 rm -rf conftest* confdefs.h
1267 # AIX cpp loses on an empty file, so make sure it contains at least a newline.
1270 # Predefined preprocessor variables.
1272 cat >>confdefs.h <<_ACEOF
1273 #define PACKAGE_NAME "$PACKAGE_NAME"
1277 cat >>confdefs.h <<_ACEOF
1278 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
1282 cat >>confdefs.h <<_ACEOF
1283 #define PACKAGE_VERSION "$PACKAGE_VERSION"
1287 cat >>confdefs.h <<_ACEOF
1288 #define PACKAGE_STRING "$PACKAGE_STRING"
1292 cat >>confdefs.h <<_ACEOF
1293 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
1297 # Let the site file select an alternate cache file if it wants to.
1298 # Prefer explicitly selected file to automatically selected ones.
1299 if test -z "$CONFIG_SITE"; then
1300 if test "x$prefix" != xNONE; then
1301 CONFIG_SITE="$prefix/share/config.site $prefix/etc/config.site"
1303 CONFIG_SITE="$ac_default_prefix/share/config.site $ac_default_prefix/etc/config.site"
1306 for ac_site_file in $CONFIG_SITE; do
1307 if test -r "$ac_site_file"; then
1308 { echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
1309 echo "$as_me: loading site script $ac_site_file" >&6;}
1310 sed 's
/^
/|
/' "$ac_site_file" >&5
1315 if test -r "$cache_file"; then
1316 # Some versions of bash will fail to source /dev/null (special
1317 # files actually), so we avoid doing that.
1318 if test -f "$cache_file"; then
1319 { echo "$as_me:$LINENO: loading cache $cache_file" >&5
1320 echo "$as_me: loading cache $cache_file" >&6;}
1322 [\\/]* | ?:[\\/]* ) . $cache_file;;
1323 *) . ./$cache_file;;
1327 { echo "$as_me:$LINENO: creating cache $cache_file" >&5
1328 echo "$as_me: creating cache $cache_file" >&6;}
1332 # Check that the precious variables saved in the cache have kept the same
1334 ac_cache_corrupted=false
1335 for ac_var in `(set) 2>&1 |
1336 sed -n 's
/^ac_env_\
([a-zA-Z_0-9
]*\
)_set
=.
*/\
1/p
'`; do
1337 eval ac_old_set=\$ac_cv_env_${ac_var}_set
1338 eval ac_new_set=\$ac_env_${ac_var}_set
1339 eval ac_old_val="\$ac_cv_env_${ac_var}_value"
1340 eval ac_new_val="\$ac_env_${ac_var}_value"
1341 case $ac_old_set,$ac_new_set in
1343 { echo "$as_me:$LINENO: error: \`$ac_var' was
set to \
`$ac_old_val' in the previous run" >&5
1344 echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run
" >&2;}
1345 ac_cache_corrupted=: ;;
1347 { echo "$as_me:$LINENO: error
: \
`$ac_var' was not set in the previous run" >&5
1348 echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
1349 ac_cache_corrupted=: ;;
1352 if test "x$ac_old_val" != "x$ac_new_val"; then
1353 { echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run
:" >&5
1354 echo "$as_me: error
: \
`$ac_var' has changed since the previous run:" >&2;}
1355 { echo "$as_me:$LINENO: former value: $ac_old_val" >&5
1356 echo "$as_me: former value: $ac_old_val" >&2;}
1357 { echo "$as_me:$LINENO: current value: $ac_new_val" >&5
1358 echo "$as_me: current value: $ac_new_val" >&2;}
1359 ac_cache_corrupted=:
1362 # Pass precious variables to config.status.
1363 if test "$ac_new_set" = set; then
1365 *" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
1366 ac_arg=$ac_var=`echo "$ac_new_val" |
sed "s/'/'\\\\\\\\''/g"` ;;
1367 *) ac_arg=$ac_var=$ac_new_val ;;
1369 case " $ac_configure_args " in
1370 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
1371 *) ac_configure_args="$ac_configure_args '$ac_arg'" ;;
1375 if $ac_cache_corrupted; then
1376 { echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5
1377 echo "$as_me: error: changes in the environment can compromise the build" >&2;}
1378 { { echo "$as_me:$LINENO: error: run \`make distclean
' and/or \`rm $cache_file' and start over
" >&5
1379 echo "$as_me: error
: run \
`make distclean' and/or \`rm $cache_file' and start over" >&2;}
1380 { (exit 1); exit 1; }; }
1384 ac_cpp='$CPP $CPPFLAGS'
1385 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
1386 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
1387 ac_compiler_gnu=$ac_cv_c_compiler_gnu
1418 for ac_dir in $srcdir $srcdir/.. $srcdir/../..; do
1419 if test -f $ac_dir/install-sh; then
1421 ac_install_sh="$ac_aux_dir/install-sh -c"
1423 elif test -f $ac_dir/install.sh; then
1425 ac_install_sh="$ac_aux_dir/install.sh -c"
1427 elif test -f $ac_dir/shtool; then
1429 ac_install_sh="$ac_aux_dir/shtool install -c"
1433 if test -z "$ac_aux_dir"; then
1434 { { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." >&5
1435 echo "$as_me: error: cannot find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." >&2;}
1436 { (exit 1); exit 1; }; }
1438 ac_config_guess="$SHELL $ac_aux_dir/config.guess"
1439 ac_config_sub="$SHELL $ac_aux_dir/config.sub"
1440 ac_configure="$SHELL $ac_aux_dir/configure" # This should be Cygnus configure.
1442 # Make sure we can run config.sub.
1443 $ac_config_sub sun4 >/dev/null 2>&1 ||
1444 { { echo "$as_me:$LINENO: error: cannot run $ac_config_sub" >&5
1445 echo "$as_me: error: cannot run $ac_config_sub" >&2;}
1446 { (exit 1); exit 1; }; }
1448 echo "$as_me:$LINENO: checking build system type" >&5
1449 echo $ECHO_N "checking build system type... $ECHO_C" >&6
1450 if test "${ac_cv_build+set}" = set; then
1451 echo $ECHO_N "(cached) $ECHO_C" >&6
1453 ac_cv_build_alias=$build_alias
1454 test -z "$ac_cv_build_alias" &&
1455 ac_cv_build_alias=`$ac_config_guess`
1456 test -z "$ac_cv_build_alias" &&
1457 { { echo "$as_me:$LINENO: error: cannot guess build type; you must specify one" >&5
1458 echo "$as_me: error: cannot guess build type; you must specify one" >&2;}
1459 { (exit 1); exit 1; }; }
1460 ac_cv_build=`$ac_config_sub $ac_cv_build_alias` ||
1461 { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_build_alias failed" >&5
1462 echo "$as_me: error: $ac_config_sub $ac_cv_build_alias failed" >&2;}
1463 { (exit 1); exit 1; }; }
1466 echo "$as_me:$LINENO: result: $ac_cv_build" >&5
1467 echo "${ECHO_T}$ac_cv_build" >&6
1469 build_cpu=`echo $ac_cv_build | sed 's
/^\
([^
-]*\
)-\
([^
-]*\
)-\
(.
*\
)$
/\
1/'`
1470 build_vendor=`echo $ac_cv_build | sed 's
/^\
([^
-]*\
)-\
([^
-]*\
)-\
(.
*\
)$
/\
2/'`
1471 build_os=`echo $ac_cv_build | sed 's
/^\
([^
-]*\
)-\
([^
-]*\
)-\
(.
*\
)$
/\
3/'`
1474 echo "$as_me:$LINENO: checking host system type" >&5
1475 echo $ECHO_N "checking host system type... $ECHO_C" >&6
1476 if test "${ac_cv_host+set}" = set; then
1477 echo $ECHO_N "(cached) $ECHO_C" >&6
1479 ac_cv_host_alias=$host_alias
1480 test -z "$ac_cv_host_alias" &&
1481 ac_cv_host_alias=$ac_cv_build_alias
1482 ac_cv_host=`$ac_config_sub $ac_cv_host_alias` ||
1483 { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_host_alias failed" >&5
1484 echo "$as_me: error: $ac_config_sub $ac_cv_host_alias failed" >&2;}
1485 { (exit 1); exit 1; }; }
1488 echo "$as_me:$LINENO: result: $ac_cv_host" >&5
1489 echo "${ECHO_T}$ac_cv_host" >&6
1491 host_cpu=`echo $ac_cv_host | sed 's
/^\
([^
-]*\
)-\
([^
-]*\
)-\
(.
*\
)$
/\
1/'`
1492 host_vendor=`echo $ac_cv_host | sed 's
/^\
([^
-]*\
)-\
([^
-]*\
)-\
(.
*\
)$
/\
2/'`
1493 host_os=`echo $ac_cv_host | sed 's
/^\
([^
-]*\
)-\
([^
-]*\
)-\
(.
*\
)$
/\
3/'`
1496 echo "$as_me:$LINENO: checking target system type" >&5
1497 echo $ECHO_N "checking target system type... $ECHO_C" >&6
1498 if test "${ac_cv_target+set}" = set; then
1499 echo $ECHO_N "(cached) $ECHO_C" >&6
1501 ac_cv_target_alias=$target_alias
1502 test "x$ac_cv_target_alias" = "x" &&
1503 ac_cv_target_alias=$ac_cv_host_alias
1504 ac_cv_target=`$ac_config_sub $ac_cv_target_alias` ||
1505 { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_target_alias failed" >&5
1506 echo "$as_me: error: $ac_config_sub $ac_cv_target_alias failed" >&2;}
1507 { (exit 1); exit 1; }; }
1510 echo "$as_me:$LINENO: result: $ac_cv_target" >&5
1511 echo "${ECHO_T}$ac_cv_target" >&6
1512 target=$ac_cv_target
1513 target_cpu=`echo $ac_cv_target | sed 's
/^\
([^
-]*\
)-\
([^
-]*\
)-\
(.
*\
)$
/\
1/'`
1514 target_vendor=`echo $ac_cv_target | sed 's
/^\
([^
-]*\
)-\
([^
-]*\
)-\
(.
*\
)$
/\
2/'`
1515 target_os=`echo $ac_cv_target | sed 's
/^\
([^
-]*\
)-\
([^
-]*\
)-\
(.
*\
)$
/\
3/'`
1518 # The aliases save the names the user supplied, while $host etc.
1519 # will get canonicalized.
1520 test -n "$target_alias" &&
1521 test "$program_prefix$program_suffix$program_transform_name" = \
1523 program_prefix=${target_alias}-
1525 if expr ${target_cpu} : '.
*86' > /dev/null; then target_cpu=x86; fi
1538 CLASSPATH_MODULE="${cp_module} -version-info ${LIBVERSION} -no-undefined"
1541 CLASSPATH_CONVENIENCE="-no-undefined"
1545 am__api_version="1.9"
1546 # Find a good install program. We prefer a C program (faster),
1547 # so one script is as good as another. But avoid the broken or
1548 # incompatible versions:
1549 # SysV /etc/install, /usr/sbin/install
1550 # SunOS /usr/etc/install
1551 # IRIX /sbin/install
1553 # AmigaOS /C/install, which installs bootblocks on floppy discs
1554 # AIX 4 /usr/bin/installbsd, which doesn't work without a
-g flag
1555 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
1556 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
1557 # OS/2's system install, which has a completely different semantic
1558 # ./install, which can be erroneously created by make from ./install.sh.
1559 echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
1560 echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6
1561 if test -z "$INSTALL"; then
1562 if test "${ac_cv_path_install+set}" = set; then
1563 echo $ECHO_N "(cached) $ECHO_C" >&6
1565 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
1569 test -z "$as_dir" && as_dir
=.
1570 # Account for people who put trailing slashes in PATH elements.
1572 .
/ | .
// |
/cC
/* | \
1573 /etc
/* |
/usr
/sbin
/* |
/usr
/etc
/* |
/sbin
/* |
/usr
/afsws
/bin
/* | \
1574 ?
:\\/os2
\\/install\\/* | ?
:\\/OS2
\\/INSTALL
\\/* | \
1577 # OSF1 and SCO ODT 3.0 have their own names for install.
1578 # Don't use installbsd from OSF since it installs stuff as root
1580 for ac_prog
in ginstall scoinst
install; do
1581 for ac_exec_ext
in '' $ac_executable_extensions; do
1582 if $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
1583 if test $ac_prog = install &&
1584 grep dspmsg
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
1585 # AIX install. It has an incompatible calling convention.
1587 elif test $ac_prog = install &&
1588 grep pwplus
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
1589 # program-specific install script used by HP pwplus--don't use.
1592 ac_cv_path_install
="$as_dir/$ac_prog$ac_exec_ext -c"
1604 if test "${ac_cv_path_install+set}" = set; then
1605 INSTALL
=$ac_cv_path_install
1607 # As a last resort, use the slow shell script. We don't cache a
1608 # path for INSTALL within a source directory, because that will
1609 # break other packages using the cache if that directory is
1610 # removed, or if the path is relative.
1611 INSTALL
=$ac_install_sh
1614 echo "$as_me:$LINENO: result: $INSTALL" >&5
1615 echo "${ECHO_T}$INSTALL" >&6
1617 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
1618 # It thinks the first close brace ends the variable substitution.
1619 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM
='${INSTALL}'
1621 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT
='${INSTALL}'
1623 test -z "$INSTALL_DATA" && INSTALL_DATA
='${INSTALL} -m 644'
1625 echo "$as_me:$LINENO: checking whether build environment is sane" >&5
1626 echo $ECHO_N "checking whether build environment is sane... $ECHO_C" >&6
1629 echo timestamp
> conftest.
file
1630 # Do `set' in a subshell so we don't clobber the current shell's
1631 # arguments. Must try -L first in case configure is actually a
1632 # symlink; some systems play weird games with the mod time of symlinks
1633 # (eg FreeBSD returns the mod time of the symlink's containing
1636 set X
`ls -Lt $srcdir/configure conftest.file 2> /dev/null`
1637 if test "$*" = "X"; then
1639 set X
`ls -t $srcdir/configure conftest.file`
1642 if test "$*" != "X $srcdir/configure conftest.file" \
1643 && test "$*" != "X conftest.file $srcdir/configure"; then
1645 # If neither matched, then we have a broken ls. This can happen
1646 # if, for instance, CONFIG_SHELL is bash and it inherits a
1647 # broken ls alias from the environment. This has actually
1648 # happened. Such a system could not be considered "sane".
1649 { { echo "$as_me:$LINENO: error: ls -t appears to fail. Make sure there is not a broken
1650 alias in your environment" >&5
1651 echo "$as_me: error: ls -t appears to fail. Make sure there is not a broken
1652 alias in your environment" >&2;}
1653 { (exit 1); exit 1; }; }
1656 test "$2" = conftest.
file
1662 { { echo "$as_me:$LINENO: error: newly created file is older than distributed files!
1663 Check your system clock" >&5
1664 echo "$as_me: error: newly created file is older than distributed files!
1665 Check your system clock" >&2;}
1666 { (exit 1); exit 1; }; }
1668 echo "$as_me:$LINENO: result: yes" >&5
1669 echo "${ECHO_T}yes" >&6
1670 test "$program_prefix" != NONE
&&
1671 program_transform_name
="s,^,$program_prefix,;$program_transform_name"
1672 # Use a double $ so make ignores it.
1673 test "$program_suffix" != NONE
&&
1674 program_transform_name
="s,\$,$program_suffix,;$program_transform_name"
1675 # Double any \ or $. echo might interpret backslashes.
1676 # By default was `s,x,x', remove it if useless.
1677 cat <<\_ACEOF
>conftest.
sed
1678 s
/[\\$
]/&&/g
;s
/;s
,x
,x
,$
//
1680 program_transform_name
=`echo $program_transform_name | sed -f conftest.sed`
1683 # expand $ac_aux_dir to an absolute path
1684 am_aux_dir
=`cd $ac_aux_dir && pwd`
1686 test x
"${MISSING+set}" = xset || MISSING
="\${SHELL} $am_aux_dir/missing"
1687 # Use eval to expand $SHELL
1688 if eval "$MISSING --run true"; then
1689 am_missing_run
="$MISSING --run "
1692 { echo "$as_me:$LINENO: WARNING: \`missing' script is too old or missing" >&5
1693 echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;}
1696 if mkdir
-p --version .
>/dev
/null
2>&1 && test ! -d .
/--version; then
1697 # We used to keeping the `.' as first argument, in order to
1698 # allow $(mkdir_p) to be used without argument. As in
1699 # $(mkdir_p) $(somedir)
1700 # where $(somedir) is conditionally defined. However this is wrong
1702 # 1. if the package is installed by a user who cannot write `.'
1703 # make install will fail,
1704 # 2. the above comment should most certainly read
1705 # $(mkdir_p) $(DESTDIR)$(somedir)
1706 # so it does not work when $(somedir) is undefined and
1707 # $(DESTDIR) is not.
1708 # To support the latter case, we have to write
1709 # test -z "$(somedir)" || $(mkdir_p) $(DESTDIR)$(somedir),
1710 # so the `.' trick is pointless.
1711 mkdir_p
='mkdir -p --'
1713 # On NextStep and OpenStep, the `mkdir' command does not
1714 # recognize any option. It will interpret all options as
1715 # directories to create, and then abort because `.' already
1717 for d
in .
/-p .
/--version;
1719 test -d $d && rmdir $d
1721 # $(mkinstalldirs) is defined by Automake if mkinstalldirs exists.
1722 if test -f "$ac_aux_dir/mkinstalldirs"; then
1723 mkdir_p
='$(mkinstalldirs)'
1725 mkdir_p
='$(install_sh) -d'
1729 for ac_prog
in gawk mawk nawk
awk
1731 # Extract the first word of "$ac_prog", so it can be a program name with args.
1732 set dummy
$ac_prog; ac_word
=$2
1733 echo "$as_me:$LINENO: checking for $ac_word" >&5
1734 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1735 if test "${ac_cv_prog_AWK+set}" = set; then
1736 echo $ECHO_N "(cached) $ECHO_C" >&6
1738 if test -n "$AWK"; then
1739 ac_cv_prog_AWK
="$AWK" # Let the user override the test.
1741 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
1745 test -z "$as_dir" && as_dir
=.
1746 for ac_exec_ext
in '' $ac_executable_extensions; do
1747 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1748 ac_cv_prog_AWK
="$ac_prog"
1749 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1758 if test -n "$AWK"; then
1759 echo "$as_me:$LINENO: result: $AWK" >&5
1760 echo "${ECHO_T}$AWK" >&6
1762 echo "$as_me:$LINENO: result: no" >&5
1763 echo "${ECHO_T}no" >&6
1766 test -n "$AWK" && break
1769 echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
1770 echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6
1771 set dummy
${MAKE-make}; ac_make
=`echo "$2" | sed 'y,:./+-,___p_,'`
1772 if eval "test \"\${ac_cv_prog_make_${ac_make}_set+set}\" = set"; then
1773 echo $ECHO_N "(cached) $ECHO_C" >&6
1775 cat >conftest.
make <<\_ACEOF
1777 @
echo 'ac_maketemp="$(MAKE)"'
1779 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
1780 eval `${MAKE-make} -f conftest.make 2>/dev/null | grep temp=`
1781 if test -n "$ac_maketemp"; then
1782 eval ac_cv_prog_make_
${ac_make}_set
=yes
1784 eval ac_cv_prog_make_
${ac_make}_set
=no
1788 if eval "test \"`echo '$ac_cv_prog_make_'${ac_make}_set`\" = yes"; then
1789 echo "$as_me:$LINENO: result: yes" >&5
1790 echo "${ECHO_T}yes" >&6
1793 echo "$as_me:$LINENO: result: no" >&5
1794 echo "${ECHO_T}no" >&6
1795 SET_MAKE
="MAKE=${MAKE-make}"
1798 rm -rf .tst
2>/dev
/null
1799 mkdir .tst
2>/dev
/null
1800 if test -d .tst
; then
1805 rmdir .tst
2>/dev
/null
1807 # test to see if srcdir already configured
1808 if test "`cd $srcdir && pwd`" != "`pwd`" &&
1809 test -f $srcdir/config.status
; then
1810 { { echo "$as_me:$LINENO: error: source directory already configured; run \"make distclean\" there first" >&5
1811 echo "$as_me: error: source directory already configured; run \"make distclean\" there first" >&2;}
1812 { (exit 1); exit 1; }; }
1815 # test whether we have cygpath
1816 if test -z "$CYGPATH_W"; then
1817 if (cygpath
--version) >/dev
/null
2>/dev
/null
; then
1818 CYGPATH_W
='cygpath -w'
1825 # Define the identity of the package.
1830 cat >>confdefs.h
<<_ACEOF
1831 #define PACKAGE "$PACKAGE"
1835 cat >>confdefs.h
<<_ACEOF
1836 #define VERSION "$VERSION"
1839 # Some tools Automake needs.
1841 ACLOCAL
=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
1844 AUTOCONF
=${AUTOCONF-"${am_missing_run}autoconf"}
1847 AUTOMAKE
=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
1850 AUTOHEADER
=${AUTOHEADER-"${am_missing_run}autoheader"}
1853 MAKEINFO
=${MAKEINFO-"${am_missing_run}makeinfo"}
1855 install_sh
=${install_sh-"$am_aux_dir/install-sh"}
1857 # Installed binaries are usually stripped using `strip' when the user
1858 # run `make install-strip'. However `strip' might not be the right
1859 # tool to use in cross-compilation environments, therefore Automake
1860 # will honor the `STRIP' environment variable to overrule this program.
1861 if test "$cross_compiling" != no
; then
1862 if test -n "$ac_tool_prefix"; then
1863 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
1864 set dummy
${ac_tool_prefix}strip
; ac_word
=$2
1865 echo "$as_me:$LINENO: checking for $ac_word" >&5
1866 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1867 if test "${ac_cv_prog_STRIP+set}" = set; then
1868 echo $ECHO_N "(cached) $ECHO_C" >&6
1870 if test -n "$STRIP"; then
1871 ac_cv_prog_STRIP
="$STRIP" # Let the user override the test.
1873 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
1877 test -z "$as_dir" && as_dir
=.
1878 for ac_exec_ext
in '' $ac_executable_extensions; do
1879 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1880 ac_cv_prog_STRIP
="${ac_tool_prefix}strip"
1881 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1889 STRIP
=$ac_cv_prog_STRIP
1890 if test -n "$STRIP"; then
1891 echo "$as_me:$LINENO: result: $STRIP" >&5
1892 echo "${ECHO_T}$STRIP" >&6
1894 echo "$as_me:$LINENO: result: no" >&5
1895 echo "${ECHO_T}no" >&6
1899 if test -z "$ac_cv_prog_STRIP"; then
1901 # Extract the first word of "strip", so it can be a program name with args.
1902 set dummy strip
; ac_word
=$2
1903 echo "$as_me:$LINENO: checking for $ac_word" >&5
1904 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1905 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
1906 echo $ECHO_N "(cached) $ECHO_C" >&6
1908 if test -n "$ac_ct_STRIP"; then
1909 ac_cv_prog_ac_ct_STRIP
="$ac_ct_STRIP" # Let the user override the test.
1911 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
1915 test -z "$as_dir" && as_dir
=.
1916 for ac_exec_ext
in '' $ac_executable_extensions; do
1917 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1918 ac_cv_prog_ac_ct_STRIP
="strip"
1919 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1925 test -z "$ac_cv_prog_ac_ct_STRIP" && ac_cv_prog_ac_ct_STRIP
=":"
1928 ac_ct_STRIP
=$ac_cv_prog_ac_ct_STRIP
1929 if test -n "$ac_ct_STRIP"; then
1930 echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
1931 echo "${ECHO_T}$ac_ct_STRIP" >&6
1933 echo "$as_me:$LINENO: result: no" >&5
1934 echo "${ECHO_T}no" >&6
1939 STRIP
="$ac_cv_prog_STRIP"
1943 INSTALL_STRIP_PROGRAM
="\${SHELL} \$(install_sh) -c -s"
1945 # We need awk for the "check" target. The system "awk" is bad on
1947 # Always define AMTAR for backward compatibility.
1949 AMTAR
=${AMTAR-"${am_missing_run}tar"}
1952 echo "$as_me:$LINENO: checking how to create a ustar tar archive" >&5
1953 echo $ECHO_N "checking how to create a ustar tar archive... $ECHO_C" >&6
1954 # Loop over all known methods to create a tar archive until one works.
1955 _am_tools
='gnutar plaintar pax cpio none'
1956 _am_tools
=${am_cv_prog_tar_ustar-$_am_tools}
1957 # Do not fold the above two line into one, because Tru64 sh and
1958 # Solaris sh will not grok spaces in the rhs of `-'.
1959 for _am_tool
in $_am_tools
1963 for _am_tar
in tar gnutar gtar
;
1965 { echo "$as_me:$LINENO: $_am_tar --version" >&5
1966 ($_am_tar --version) >&5 2>&5
1968 echo "$as_me:$LINENO: \$? = $ac_status" >&5
1969 (exit $ac_status); } && break
1971 am__tar
="$_am_tar --format=ustar -chf - "'"$$tardir"'
1972 am__tar_
="$_am_tar --format=ustar -chf - "'"$tardir"'
1973 am__untar
="$_am_tar -xf -"
1976 # Must skip GNU tar: if it does not support --format= it doesn't create
1977 # ustar tarball either.
1978 (tar --version) >/dev
/null
2>&1 && continue
1979 am__tar
='tar chf - "$$tardir"'
1980 am__tar_
='tar chf - "$tardir"'
1981 am__untar
='tar xf -'
1984 am__tar
='pax -L -x ustar -w "$$tardir"'
1985 am__tar_
='pax -L -x ustar -w "$tardir"'
1989 am__tar
='find "$$tardir" -print | cpio -o -H ustar -L'
1990 am__tar_
='find "$tardir" -print | cpio -o -H ustar -L'
1991 am__untar
='cpio -i -H ustar -d'
2000 # If the value was cached, stop now. We just wanted to have am__tar
2001 # and am__untar set.
2002 test -n "${am_cv_prog_tar_ustar}" && break
2004 # tar/untar a dummy directory, and stop if the command works
2007 echo GrepMe
> conftest.dir
/file
2008 { echo "$as_me:$LINENO: tardir=conftest.dir && eval $am__tar_ >conftest.tar" >&5
2009 (tardir
=conftest.dir
&& eval $am__tar_ >conftest.
tar) >&5 2>&5
2011 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2012 (exit $ac_status); }
2014 if test -s conftest.
tar; then
2015 { echo "$as_me:$LINENO: $am__untar <conftest.tar" >&5
2016 ($am__untar <conftest.
tar) >&5 2>&5
2018 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2019 (exit $ac_status); }
2020 grep GrepMe conftest.dir
/file >/dev
/null
2>&1 && break
2025 if test "${am_cv_prog_tar_ustar+set}" = set; then
2026 echo $ECHO_N "(cached) $ECHO_C" >&6
2028 am_cv_prog_tar_ustar
=$_am_tool
2031 echo "$as_me:$LINENO: result: $am_cv_prog_tar_ustar" >&5
2032 echo "${ECHO_T}$am_cv_prog_tar_ustar" >&6
2038 ac_config_headers
="$ac_config_headers include/config.h"
2042 # Check whether --enable-collections or --disable-collections was given.
2043 if test "${enable_collections+set}" = set; then
2044 enableval
="$enable_collections"
2045 case x
"${enableval}" in
2046 xyes
) COMPILE_COLLECTIONS
=yes; COLLECTIONS_PREFIX
="\"gnu/java/util/collections\"" ;;
2047 xno
) COMPILE_COLLECTIONS
=no
;;
2048 x
) COMPILE_COLLECTIONS
=yes; COLLECTIONS_PREFIX
="\"gnu/java/util/collections\"" ;;
2049 *) COMPILE_COLLECTIONS
=yes; COLLECTIONS_PREFIX
="\"${enableval}\"" ;;
2052 COMPILE_COLLECTIONS
=no
2056 if test "x${COMPILE_COLLECTIONS}" = xyes
; then
2057 CREATE_COLLECTIONS_TRUE
=
2058 CREATE_COLLECTIONS_FALSE
='#'
2060 CREATE_COLLECTIONS_TRUE
='#'
2061 CREATE_COLLECTIONS_FALSE
=
2065 # Check whether --enable-jni or --disable-jni was given.
2066 if test "${enable_jni+set}" = set; then
2067 enableval
="$enable_jni"
2068 case "${enableval}" in
2069 yes) COMPILE_JNI
=yes; COMPILE_JAVA
=yes ;;
2070 no
) COMPILE_JNI
=no
;;
2071 *) COMPILE_JNI
=yes; COMPILE_JAVA
=yes ;;
2078 if test "x${COMPILE_JNI}" = xyes
; then
2079 CREATE_JNI_LIBRARIES_TRUE
=
2080 CREATE_JNI_LIBRARIES_FALSE
='#'
2082 CREATE_JNI_LIBRARIES_TRUE
='#'
2083 CREATE_JNI_LIBRARIES_FALSE
=
2087 # Check whether --enable-core-jni or --disable-core-jni was given.
2088 if test "${enable_core_jni+set}" = set; then
2089 enableval
="$enable_core_jni"
2090 case "${enableval}" in
2091 yes) COMPILE_CORE_JNI
=yes; COMPILE_JAVA
=yes ;;
2092 no
) COMPILE_CORE_JNI
=no
;;
2093 *) COMPILE_CORE_JNI
=yes; COMPILE_JAVA
=yes ;;
2096 COMPILE_CORE_JNI
=yes
2100 if test "x${COMPILE_CORE_JNI}" = xyes
; then
2101 CREATE_CORE_JNI_LIBRARIES_TRUE
=
2102 CREATE_CORE_JNI_LIBRARIES_FALSE
='#'
2104 CREATE_CORE_JNI_LIBRARIES_TRUE
='#'
2105 CREATE_CORE_JNI_LIBRARIES_FALSE
=
2109 # Check whether --enable-default-preferences-peer or --disable-default-preferences-peer was given.
2110 if test "${enable_default_preferences_peer+set}" = set; then
2111 enableval
="$enable_default_preferences_peer"
2114 DEFAULT_PREFS_PEER
=$enable_default_preferences_peer
2115 if test "$DEFAULT_PREFS_PEER" = ""; then
2116 DEFAULT_PREFS_PEER
=gnu.java.util.prefs.FileBasedFactory
2119 # Check whether --enable-gconf-peer or --disable-gconf-peer was given.
2120 if test "${enable_gconf_peer+set}" = set; then
2121 enableval
="$enable_gconf_peer"
2122 case "${enableval}" in
2123 yes) COMPILE_GCONF_PEER
=yes ;;
2124 no
) COMPILE_GCONF_PEER
=no
;;
2125 *) COMPILE_GCONF_PEER
=yes ;;
2128 COMPILE_GCONF_PEER
=yes
2132 if test "x${COMPILE_GCONF_PEER}" = xyes
; then
2133 CREATE_GCONF_PEER_LIBRARIES_TRUE
=
2134 CREATE_GCONF_PEER_LIBRARIES_FALSE
='#'
2136 CREATE_GCONF_PEER_LIBRARIES_TRUE
='#'
2137 CREATE_GCONF_PEER_LIBRARIES_FALSE
=
2141 # Check whether --enable-gconf-peers or --disable-gconf-peers was given.
2142 if test "${enable_gconf_peers+set}" = set; then
2143 enableval
="$enable_gconf_peers"
2144 { { echo "$as_me:$LINENO: error: No --enable-gconf-peers (or --disable-gconf-peers) option; you want --enable-gconf-peer" >&5
2145 echo "$as_me: error: No --enable-gconf-peers (or --disable-gconf-peers) option; you want --enable-gconf-peer" >&2;}
2146 { (exit 1); exit 1; }; }
2149 # Check whether --enable-Werror or --disable-Werror was given.
2150 if test "${enable_Werror+set}" = set; then
2151 enableval
="$enable_Werror"
2152 case "${enableval}" in
2153 yes) ENABLE_WERROR
=yes ;;
2154 no
) ENABLE_WERROR
=no
;;
2155 *) ENABLE_WERROR
=no
;;
2161 # Check whether --enable-default-toolkit or --disable-default-toolkit was given.
2162 if test "${enable_default_toolkit+set}" = set; then
2163 enableval
="$enable_default_toolkit"
2166 default_toolkit
=$enable_default_toolkit
2167 if test "$default_toolkit" = ""; then
2168 default_toolkit
=gnu.java.awt.peer.gtk.GtkToolkit
2172 # Check whether --enable-xmlj or --disable-xmlj was given.
2173 if test "${enable_xmlj+set}" = set; then
2174 enableval
="$enable_xmlj"
2175 case "${enableval}" in
2176 yes) COMPILE_XMLJ
=yes ;;
2177 no
) COMPILE_XMLJ
=no
;;
2178 *) COMPILE_XMLJ
=no
;;
2185 if test "x${COMPILE_XMLJ}" = xyes
; then
2186 CREATE_XMLJ_LIBRARY_TRUE
=
2187 CREATE_XMLJ_LIBRARY_FALSE
='#'
2189 CREATE_XMLJ_LIBRARY_TRUE
='#'
2190 CREATE_XMLJ_LIBRARY_FALSE
=
2194 DEPDIR
="${am__leading_dot}deps"
2196 ac_config_commands
="$ac_config_commands depfiles"
2199 am_make
=${MAKE-make}
2200 cat > confinc
<< 'END'
2205 # If we don't find an include directive, just comment out the code.
2206 echo "$as_me:$LINENO: checking for style of include used by $am_make" >&5
2207 echo $ECHO_N "checking for style of include used by $am_make... $ECHO_C" >&6
2211 # First try GNU make style include.
2212 echo "include confinc" > confmf
2213 # We grep out `Entering directory' and `Leaving directory'
2214 # messages which can occur if `w' ends up in MAKEFLAGS.
2215 # In particular we don't look at `^make:' because GNU make might
2216 # be invoked under some other name (usually "gmake"), in which
2217 # case it prints its new name instead of `make'.
2218 if test "`$am_make -s -f confmf 2> /dev/null | grep -v 'ing directory'`" = "done"; then
2223 # Now try BSD make style include.
2224 if test "$am__include" = "#"; then
2225 echo '.include "confinc"' > confmf
2226 if test "`$am_make -s -f confmf 2> /dev/null`" = "done"; then
2227 am__include
=.include
2234 echo "$as_me:$LINENO: result: $_am_result" >&5
2235 echo "${ECHO_T}$_am_result" >&6
2236 rm -f confinc confmf
2238 # Check whether --enable-dependency-tracking or --disable-dependency-tracking was given.
2239 if test "${enable_dependency_tracking+set}" = set; then
2240 enableval
="$enable_dependency_tracking"
2243 if test "x$enable_dependency_tracking" != xno
; then
2244 am_depcomp
="$ac_aux_dir/depcomp"
2249 if test "x$enable_dependency_tracking" != xno; then
2260 ac_cpp
='$CPP $CPPFLAGS'
2261 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2262 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2263 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
2264 if test -n "$ac_tool_prefix"; then
2265 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
2266 set dummy
${ac_tool_prefix}gcc
; ac_word
=$2
2267 echo "$as_me:$LINENO: checking for $ac_word" >&5
2268 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2269 if test "${ac_cv_prog_CC+set}" = set; then
2270 echo $ECHO_N "(cached) $ECHO_C" >&6
2272 if test -n "$CC"; then
2273 ac_cv_prog_CC
="$CC" # Let the user override the test.
2275 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2279 test -z "$as_dir" && as_dir
=.
2280 for ac_exec_ext
in '' $ac_executable_extensions; do
2281 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2282 ac_cv_prog_CC
="${ac_tool_prefix}gcc"
2283 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2292 if test -n "$CC"; then
2293 echo "$as_me:$LINENO: result: $CC" >&5
2294 echo "${ECHO_T}$CC" >&6
2296 echo "$as_me:$LINENO: result: no" >&5
2297 echo "${ECHO_T}no" >&6
2301 if test -z "$ac_cv_prog_CC"; then
2303 # Extract the first word of "gcc", so it can be a program name with args.
2304 set dummy gcc
; ac_word
=$2
2305 echo "$as_me:$LINENO: checking for $ac_word" >&5
2306 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2307 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
2308 echo $ECHO_N "(cached) $ECHO_C" >&6
2310 if test -n "$ac_ct_CC"; then
2311 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
2313 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2317 test -z "$as_dir" && as_dir
=.
2318 for ac_exec_ext
in '' $ac_executable_extensions; do
2319 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2320 ac_cv_prog_ac_ct_CC
="gcc"
2321 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2329 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
2330 if test -n "$ac_ct_CC"; then
2331 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
2332 echo "${ECHO_T}$ac_ct_CC" >&6
2334 echo "$as_me:$LINENO: result: no" >&5
2335 echo "${ECHO_T}no" >&6
2343 if test -z "$CC"; then
2344 if test -n "$ac_tool_prefix"; then
2345 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
2346 set dummy
${ac_tool_prefix}cc
; ac_word
=$2
2347 echo "$as_me:$LINENO: checking for $ac_word" >&5
2348 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2349 if test "${ac_cv_prog_CC+set}" = set; then
2350 echo $ECHO_N "(cached) $ECHO_C" >&6
2352 if test -n "$CC"; then
2353 ac_cv_prog_CC
="$CC" # Let the user override the test.
2355 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2359 test -z "$as_dir" && as_dir
=.
2360 for ac_exec_ext
in '' $ac_executable_extensions; do
2361 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2362 ac_cv_prog_CC
="${ac_tool_prefix}cc"
2363 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2372 if test -n "$CC"; then
2373 echo "$as_me:$LINENO: result: $CC" >&5
2374 echo "${ECHO_T}$CC" >&6
2376 echo "$as_me:$LINENO: result: no" >&5
2377 echo "${ECHO_T}no" >&6
2381 if test -z "$ac_cv_prog_CC"; then
2383 # Extract the first word of "cc", so it can be a program name with args.
2384 set dummy cc
; ac_word
=$2
2385 echo "$as_me:$LINENO: checking for $ac_word" >&5
2386 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2387 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
2388 echo $ECHO_N "(cached) $ECHO_C" >&6
2390 if test -n "$ac_ct_CC"; then
2391 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
2393 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2397 test -z "$as_dir" && as_dir
=.
2398 for ac_exec_ext
in '' $ac_executable_extensions; do
2399 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2400 ac_cv_prog_ac_ct_CC
="cc"
2401 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2409 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
2410 if test -n "$ac_ct_CC"; then
2411 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
2412 echo "${ECHO_T}$ac_ct_CC" >&6
2414 echo "$as_me:$LINENO: result: no" >&5
2415 echo "${ECHO_T}no" >&6
2424 if test -z "$CC"; then
2425 # Extract the first word of "cc", so it can be a program name with args.
2426 set dummy cc
; ac_word
=$2
2427 echo "$as_me:$LINENO: checking for $ac_word" >&5
2428 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2429 if test "${ac_cv_prog_CC+set}" = set; then
2430 echo $ECHO_N "(cached) $ECHO_C" >&6
2432 if test -n "$CC"; then
2433 ac_cv_prog_CC
="$CC" # Let the user override the test.
2436 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2440 test -z "$as_dir" && as_dir
=.
2441 for ac_exec_ext
in '' $ac_executable_extensions; do
2442 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2443 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
2444 ac_prog_rejected
=yes
2448 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2454 if test $ac_prog_rejected = yes; then
2455 # We found a bogon in the path, so make sure we never use it.
2456 set dummy
$ac_cv_prog_CC
2458 if test $# != 0; then
2459 # We chose a different compiler from the bogus one.
2460 # However, it has the same basename, so the bogon will be chosen
2461 # first if we set CC to just the basename; use the full file name.
2463 ac_cv_prog_CC
="$as_dir/$ac_word${1+' '}$@"
2469 if test -n "$CC"; then
2470 echo "$as_me:$LINENO: result: $CC" >&5
2471 echo "${ECHO_T}$CC" >&6
2473 echo "$as_me:$LINENO: result: no" >&5
2474 echo "${ECHO_T}no" >&6
2478 if test -z "$CC"; then
2479 if test -n "$ac_tool_prefix"; then
2482 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
2483 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
2484 echo "$as_me:$LINENO: checking for $ac_word" >&5
2485 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2486 if test "${ac_cv_prog_CC+set}" = set; then
2487 echo $ECHO_N "(cached) $ECHO_C" >&6
2489 if test -n "$CC"; then
2490 ac_cv_prog_CC
="$CC" # Let the user override the test.
2492 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2496 test -z "$as_dir" && as_dir
=.
2497 for ac_exec_ext
in '' $ac_executable_extensions; do
2498 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2499 ac_cv_prog_CC
="$ac_tool_prefix$ac_prog"
2500 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2509 if test -n "$CC"; then
2510 echo "$as_me:$LINENO: result: $CC" >&5
2511 echo "${ECHO_T}$CC" >&6
2513 echo "$as_me:$LINENO: result: no" >&5
2514 echo "${ECHO_T}no" >&6
2517 test -n "$CC" && break
2520 if test -z "$CC"; then
2524 # Extract the first word of "$ac_prog", so it can be a program name with args.
2525 set dummy
$ac_prog; ac_word
=$2
2526 echo "$as_me:$LINENO: checking for $ac_word" >&5
2527 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2528 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
2529 echo $ECHO_N "(cached) $ECHO_C" >&6
2531 if test -n "$ac_ct_CC"; then
2532 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
2534 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2538 test -z "$as_dir" && as_dir
=.
2539 for ac_exec_ext
in '' $ac_executable_extensions; do
2540 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2541 ac_cv_prog_ac_ct_CC
="$ac_prog"
2542 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2550 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
2551 if test -n "$ac_ct_CC"; then
2552 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
2553 echo "${ECHO_T}$ac_ct_CC" >&6
2555 echo "$as_me:$LINENO: result: no" >&5
2556 echo "${ECHO_T}no" >&6
2559 test -n "$ac_ct_CC" && break
2568 test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
2569 See \`config.log' for more details." >&5
2570 echo "$as_me: error: no acceptable C compiler found in \$PATH
2571 See \`config.log' for more details." >&2;}
2572 { (exit 1); exit 1; }; }
2574 # Provide some information about the compiler.
2575 echo "$as_me:$LINENO:" \
2576 "checking for C compiler version" >&5
2577 ac_compiler
=`set X $ac_compile; echo $2`
2578 { (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5
2579 (eval $ac_compiler --version </dev
/null
>&5) 2>&5
2581 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2582 (exit $ac_status); }
2583 { (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5
2584 (eval $ac_compiler -v </dev
/null
>&5) 2>&5
2586 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2587 (exit $ac_status); }
2588 { (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5
2589 (eval $ac_compiler -V </dev
/null
>&5) 2>&5
2591 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2592 (exit $ac_status); }
2594 cat >conftest.
$ac_ext <<_ACEOF
2597 cat confdefs.h
>>conftest.
$ac_ext
2598 cat >>conftest.
$ac_ext <<_ACEOF
2599 /* end confdefs.h. */
2609 ac_clean_files_save
=$ac_clean_files
2610 ac_clean_files
="$ac_clean_files a.out a.exe b.out"
2611 # Try to create an executable without -o first, disregard a.out.
2612 # It will help us diagnose broken compilers, and finding out an intuition
2614 echo "$as_me:$LINENO: checking for C compiler default output file name" >&5
2615 echo $ECHO_N "checking for C compiler default output file name... $ECHO_C" >&6
2616 ac_link_default
=`echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
2617 if { (eval echo "$as_me:$LINENO: \"$ac_link_default\"") >&5
2618 (eval $ac_link_default) 2>&5
2620 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2621 (exit $ac_status); }; then
2622 # Find the output, starting from the most likely. This scheme is
2623 # not robust to junk in `.', hence go to wildcards (a.*) only as a last
2626 # Be careful to initialize this variable, since it used to be cached.
2627 # Otherwise an old cache value of `no' led to `EXEEXT = no' in a Makefile.
2629 # b.out is created by i960 compilers.
2630 for ac_file
in a_out.exe a.exe conftest.exe a.out conftest a.
* conftest.
* b.out
2632 test -f "$ac_file" ||
continue
2634 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg |
*.o |
*.obj
)
2637 # This is the source file.
2640 # We found the default executable, but exeext='' is most
2644 ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
2645 # FIXME: I believe we export ac_cv_exeext for Libtool,
2646 # but it would be cool to find out if it's true. Does anybody
2647 # maintain Libtool? --akim.
2655 echo "$as_me: failed program was:" >&5
2656 sed 's/^/| /' conftest.
$ac_ext >&5
2658 { { echo "$as_me:$LINENO: error: C compiler cannot create executables
2659 See \`config.log' for more details." >&5
2660 echo "$as_me: error: C compiler cannot create executables
2661 See \`config.log' for more details." >&2;}
2662 { (exit 77); exit 77; }; }
2665 ac_exeext
=$ac_cv_exeext
2666 echo "$as_me:$LINENO: result: $ac_file" >&5
2667 echo "${ECHO_T}$ac_file" >&6
2669 # Check the compiler produces executables we can run. If not, either
2670 # the compiler is broken, or we cross compile.
2671 echo "$as_me:$LINENO: checking whether the C compiler works" >&5
2672 echo $ECHO_N "checking whether the C compiler works... $ECHO_C" >&6
2673 # FIXME: These cross compiler hacks should be removed for Autoconf 3.0
2674 # If not cross compiling, check that we can run a simple program.
2675 if test "$cross_compiling" != yes; then
2676 if { ac_try
='./$ac_file'
2677 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2680 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2681 (exit $ac_status); }; }; then
2684 if test "$cross_compiling" = maybe
; then
2687 { { echo "$as_me:$LINENO: error: cannot run C compiled programs.
2688 If you meant to cross compile, use \`--host'.
2689 See \`config.log' for more details." >&5
2690 echo "$as_me: error: cannot run C compiled programs.
2691 If you meant to cross compile, use \`--host'.
2692 See \`config.log' for more details." >&2;}
2693 { (exit 1); exit 1; }; }
2697 echo "$as_me:$LINENO: result: yes" >&5
2698 echo "${ECHO_T}yes" >&6
2700 rm -f a.out a.exe conftest
$ac_cv_exeext b.out
2701 ac_clean_files
=$ac_clean_files_save
2702 # Check the compiler produces executables we can run. If not, either
2703 # the compiler is broken, or we cross compile.
2704 echo "$as_me:$LINENO: checking whether we are cross compiling" >&5
2705 echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6
2706 echo "$as_me:$LINENO: result: $cross_compiling" >&5
2707 echo "${ECHO_T}$cross_compiling" >&6
2709 echo "$as_me:$LINENO: checking for suffix of executables" >&5
2710 echo $ECHO_N "checking for suffix of executables... $ECHO_C" >&6
2711 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
2712 (eval $ac_link) 2>&5
2714 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2715 (exit $ac_status); }; then
2716 # If both `conftest.exe' and `conftest' are `present' (well, observable)
2717 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
2718 # work properly (i.e., refer to `conftest.exe'), while it won't with
2720 for ac_file
in conftest.exe conftest conftest.
*; do
2721 test -f "$ac_file" ||
continue
2723 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg |
*.o |
*.obj
) ;;
2724 *.
* ) ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
2731 { { echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link
2732 See \`config.log' for more details." >&5
2733 echo "$as_me: error: cannot compute suffix of executables: cannot compile and link
2734 See \`config.log' for more details." >&2;}
2735 { (exit 1); exit 1; }; }
2738 rm -f conftest
$ac_cv_exeext
2739 echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
2740 echo "${ECHO_T}$ac_cv_exeext" >&6
2742 rm -f conftest.
$ac_ext
2743 EXEEXT
=$ac_cv_exeext
2745 echo "$as_me:$LINENO: checking for suffix of object files" >&5
2746 echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6
2747 if test "${ac_cv_objext+set}" = set; then
2748 echo $ECHO_N "(cached) $ECHO_C" >&6
2750 cat >conftest.
$ac_ext <<_ACEOF
2753 cat confdefs.h
>>conftest.
$ac_ext
2754 cat >>conftest.
$ac_ext <<_ACEOF
2755 /* end confdefs.h. */
2765 rm -f conftest.o conftest.obj
2766 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2767 (eval $ac_compile) 2>&5
2769 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2770 (exit $ac_status); }; then
2771 for ac_file
in `(ls conftest.o conftest.obj; ls conftest.*) 2>/dev/null`; do
2773 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg
) ;;
2774 *) ac_cv_objext
=`expr "$ac_file" : '.*\.\(.*\)'`
2779 echo "$as_me: failed program was:" >&5
2780 sed 's/^/| /' conftest.
$ac_ext >&5
2782 { { echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile
2783 See \`config.log' for more details." >&5
2784 echo "$as_me: error: cannot compute suffix of object files: cannot compile
2785 See \`config.log' for more details." >&2;}
2786 { (exit 1); exit 1; }; }
2789 rm -f conftest.
$ac_cv_objext conftest.
$ac_ext
2791 echo "$as_me:$LINENO: result: $ac_cv_objext" >&5
2792 echo "${ECHO_T}$ac_cv_objext" >&6
2793 OBJEXT
=$ac_cv_objext
2795 echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
2796 echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6
2797 if test "${ac_cv_c_compiler_gnu+set}" = set; then
2798 echo $ECHO_N "(cached) $ECHO_C" >&6
2800 cat >conftest.
$ac_ext <<_ACEOF
2803 cat confdefs.h
>>conftest.
$ac_ext
2804 cat >>conftest.
$ac_ext <<_ACEOF
2805 /* end confdefs.h. */
2818 rm -f conftest.
$ac_objext
2819 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2820 (eval $ac_compile) 2>conftest.er1
2822 grep -v '^ *+' conftest.er1
>conftest.err
2824 cat conftest.err
>&5
2825 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2826 (exit $ac_status); } &&
2827 { ac_try
='test -z "$ac_c_werror_flag"
2828 || test ! -s conftest.err'
2829 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2832 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2833 (exit $ac_status); }; } &&
2834 { ac_try
='test -s conftest.$ac_objext'
2835 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2838 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2839 (exit $ac_status); }; }; then
2842 echo "$as_me: failed program was:" >&5
2843 sed 's/^/| /' conftest.
$ac_ext >&5
2847 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
2848 ac_cv_c_compiler_gnu
=$ac_compiler_gnu
2851 echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
2852 echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6
2853 GCC
=`test $ac_compiler_gnu = yes && echo yes`
2854 ac_test_CFLAGS
=${CFLAGS+set}
2855 ac_save_CFLAGS
=$CFLAGS
2857 echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
2858 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6
2859 if test "${ac_cv_prog_cc_g+set}" = set; then
2860 echo $ECHO_N "(cached) $ECHO_C" >&6
2862 cat >conftest.
$ac_ext <<_ACEOF
2865 cat confdefs.h
>>conftest.
$ac_ext
2866 cat >>conftest.
$ac_ext <<_ACEOF
2867 /* end confdefs.h. */
2877 rm -f conftest.
$ac_objext
2878 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2879 (eval $ac_compile) 2>conftest.er1
2881 grep -v '^ *+' conftest.er1
>conftest.err
2883 cat conftest.err
>&5
2884 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2885 (exit $ac_status); } &&
2886 { ac_try
='test -z "$ac_c_werror_flag"
2887 || test ! -s conftest.err'
2888 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2891 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2892 (exit $ac_status); }; } &&
2893 { ac_try
='test -s conftest.$ac_objext'
2894 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2897 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2898 (exit $ac_status); }; }; then
2901 echo "$as_me: failed program was:" >&5
2902 sed 's/^/| /' conftest.
$ac_ext >&5
2906 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
2908 echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
2909 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6
2910 if test "$ac_test_CFLAGS" = set; then
2911 CFLAGS
=$ac_save_CFLAGS
2912 elif test $ac_cv_prog_cc_g = yes; then
2913 if test "$GCC" = yes; then
2919 if test "$GCC" = yes; then
2925 echo "$as_me:$LINENO: checking for $CC option to accept ANSI C" >&5
2926 echo $ECHO_N "checking for $CC option to accept ANSI C... $ECHO_C" >&6
2927 if test "${ac_cv_prog_cc_stdc+set}" = set; then
2928 echo $ECHO_N "(cached) $ECHO_C" >&6
2930 ac_cv_prog_cc_stdc
=no
2932 cat >conftest.
$ac_ext <<_ACEOF
2935 cat confdefs.h
>>conftest.
$ac_ext
2936 cat >>conftest.
$ac_ext <<_ACEOF
2937 /* end confdefs.h. */
2940 #include <sys/types.h>
2941 #include <sys/stat.h>
2942 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
2943 struct buf { int x; };
2944 FILE * (*rcsopen) (struct buf *, struct stat *, int);
2945 static char *e (p, i)
2951 static char *f (char * (*g) (char **, int), char **p, ...)
2956 s = g (p, va_arg (v,int));
2961 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
2962 function prototypes and stuff, but not '\xHH' hex character constants.
2963 These don't provoke an error unfortunately, instead are silently treated
2964 as 'x'. The following induces an error, until -std1 is added to get
2965 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
2966 array size at least. It's necessary to write '\x00'==0 to get something
2967 that's true only with -std1. */
2968 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
2970 int test (int i, double x);
2971 struct s1 {int (*f) (int a);};
2972 struct s2 {int (*f) (double a);};
2973 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
2979 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
2984 # Don't try gcc -ansi; that turns off useful extensions and
2985 # breaks some systems' header files.
2986 # AIX -qlanglvl=ansi
2987 # Ultrix and OSF/1 -std1
2988 # HP-UX 10.20 and later -Ae
2989 # HP-UX older versions -Aa -D_HPUX_SOURCE
2990 # SVR4 -Xc -D__EXTENSIONS__
2991 for ac_arg
in "" -qlanglvl=ansi
-std1 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
2993 CC
="$ac_save_CC $ac_arg"
2994 rm -f conftest.
$ac_objext
2995 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2996 (eval $ac_compile) 2>conftest.er1
2998 grep -v '^ *+' conftest.er1
>conftest.err
3000 cat conftest.err
>&5
3001 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3002 (exit $ac_status); } &&
3003 { ac_try
='test -z "$ac_c_werror_flag"
3004 || test ! -s conftest.err'
3005 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3008 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3009 (exit $ac_status); }; } &&
3010 { ac_try
='test -s conftest.$ac_objext'
3011 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3014 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3015 (exit $ac_status); }; }; then
3016 ac_cv_prog_cc_stdc
=$ac_arg
3019 echo "$as_me: failed program was:" >&5
3020 sed 's/^/| /' conftest.
$ac_ext >&5
3023 rm -f conftest.err conftest.
$ac_objext
3025 rm -f conftest.
$ac_ext conftest.
$ac_objext
3030 case "x$ac_cv_prog_cc_stdc" in
3032 echo "$as_me:$LINENO: result: none needed" >&5
3033 echo "${ECHO_T}none needed" >&6 ;;
3035 echo "$as_me:$LINENO: result: $ac_cv_prog_cc_stdc" >&5
3036 echo "${ECHO_T}$ac_cv_prog_cc_stdc" >&6
3037 CC
="$CC $ac_cv_prog_cc_stdc" ;;
3040 # Some people use a C++ compiler to compile C. Since we use `exit',
3041 # in C++ we need to declare it. In case someone uses the same compiler
3042 # for both compiling C and C++ we need to have the C++ compiler decide
3043 # the declaration of exit, since it's the most demanding environment.
3044 cat >conftest.
$ac_ext <<_ACEOF
3049 rm -f conftest.
$ac_objext
3050 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3051 (eval $ac_compile) 2>conftest.er1
3053 grep -v '^ *+' conftest.er1
>conftest.err
3055 cat conftest.err
>&5
3056 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3057 (exit $ac_status); } &&
3058 { ac_try
='test -z "$ac_c_werror_flag"
3059 || test ! -s conftest.err'
3060 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3063 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3064 (exit $ac_status); }; } &&
3065 { ac_try
='test -s conftest.$ac_objext'
3066 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3069 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3070 (exit $ac_status); }; }; then
3071 for ac_declaration
in \
3073 'extern "C" void std::exit (int) throw (); using std::exit;' \
3074 'extern "C" void std::exit (int); using std::exit;' \
3075 'extern "C" void exit (int) throw ();' \
3076 'extern "C" void exit (int);' \
3079 cat >conftest.
$ac_ext <<_ACEOF
3082 cat confdefs.h
>>conftest.
$ac_ext
3083 cat >>conftest.
$ac_ext <<_ACEOF
3084 /* end confdefs.h. */
3095 rm -f conftest.
$ac_objext
3096 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3097 (eval $ac_compile) 2>conftest.er1
3099 grep -v '^ *+' conftest.er1
>conftest.err
3101 cat conftest.err
>&5
3102 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3103 (exit $ac_status); } &&
3104 { ac_try
='test -z "$ac_c_werror_flag"
3105 || test ! -s conftest.err'
3106 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3109 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3110 (exit $ac_status); }; } &&
3111 { ac_try
='test -s conftest.$ac_objext'
3112 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3115 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3116 (exit $ac_status); }; }; then
3119 echo "$as_me: failed program was:" >&5
3120 sed 's/^/| /' conftest.
$ac_ext >&5
3124 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
3125 cat >conftest.
$ac_ext <<_ACEOF
3128 cat confdefs.h
>>conftest.
$ac_ext
3129 cat >>conftest.
$ac_ext <<_ACEOF
3130 /* end confdefs.h. */
3140 rm -f conftest.
$ac_objext
3141 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3142 (eval $ac_compile) 2>conftest.er1
3144 grep -v '^ *+' conftest.er1
>conftest.err
3146 cat conftest.err
>&5
3147 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3148 (exit $ac_status); } &&
3149 { ac_try
='test -z "$ac_c_werror_flag"
3150 || test ! -s conftest.err'
3151 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3154 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3155 (exit $ac_status); }; } &&
3156 { ac_try
='test -s conftest.$ac_objext'
3157 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3160 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3161 (exit $ac_status); }; }; then
3164 echo "$as_me: failed program was:" >&5
3165 sed 's/^/| /' conftest.
$ac_ext >&5
3168 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
3171 if test -n "$ac_declaration"; then
3172 echo '#ifdef __cplusplus' >>confdefs.h
3173 echo $ac_declaration >>confdefs.h
3174 echo '#endif' >>confdefs.h
3178 echo "$as_me: failed program was:" >&5
3179 sed 's/^/| /' conftest.
$ac_ext >&5
3182 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
3184 ac_cpp
='$CPP $CPPFLAGS'
3185 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3186 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3187 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
3189 depcc
="$CC" am_compiler_list
=
3191 echo "$as_me:$LINENO: checking dependency style of $depcc" >&5
3192 echo $ECHO_N "checking dependency style of $depcc... $ECHO_C" >&6
3193 if test "${am_cv_CC_dependencies_compiler_type+set}" = set; then
3194 echo $ECHO_N "(cached) $ECHO_C" >&6
3196 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
3197 # We make a subdir and do the tests there. Otherwise we can end up
3198 # making bogus files that we don't know about and never remove. For
3199 # instance it was reported that on HP-UX the gcc test will end up
3200 # making a dummy file named `D' -- because `-MD' means `put the output
3203 # Copy depcomp to subdir because otherwise we won't find it if we're
3204 # using a relative directory.
3205 cp "$am_depcomp" conftest.dir
3207 # We will build objects and dependencies in a subdirectory because
3208 # it helps to detect inapplicable dependency modes. For instance
3209 # both Tru64's cc and ICC support -MD to output dependencies as a
3210 # side effect of compilation, but ICC will put the dependencies in
3211 # the current directory while Tru64 will put them in the object
3215 am_cv_CC_dependencies_compiler_type
=none
3216 if test "$am_compiler_list" = ""; then
3217 am_compiler_list
=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
3219 for depmode
in $am_compiler_list; do
3220 # Setup a source with many dependencies, because some compilers
3221 # like to wrap large dependency lists on column 80 (with \), and
3222 # we should not choose a depcomp mode which is confused by this.
3224 # We need to recreate these files for each test, as the compiler may
3225 # overwrite some of them when testing with obscure command lines.
3226 # This happens at least with the AIX C compiler.
3228 for i
in 1 2 3 4 5 6; do
3229 echo '#include "conftst'$i'.h"' >> sub
/conftest.c
3230 # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
3231 # Solaris 8's {/usr,}/bin/sh.
3232 touch sub
/conftst
$i.h
3234 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
3238 # after this tag, mechanisms are not by side-effect, so they'll
3239 # only be used when explicitly requested
3240 if test "x$enable_dependency_tracking" = xyes
; then
3248 # We check with `-c' and `-o' for the sake of the "dashmstdout"
3249 # mode. It turns out that the SunPro C++ compiler does not properly
3250 # handle `-M -o', and we need to detect this.
3251 if depmode
=$depmode \
3252 source=sub
/conftest.c object
=sub
/conftest.
${OBJEXT-o} \
3253 depfile
=sub
/conftest.Po tmpdepfile
=sub
/conftest.TPo \
3254 $SHELL .
/depcomp
$depcc -c -o sub
/conftest.
${OBJEXT-o} sub
/conftest.c \
3255 >/dev
/null
2>conftest.err
&&
3256 grep sub
/conftst6.h sub
/conftest.Po
> /dev
/null
2>&1 &&
3257 grep sub
/conftest.
${OBJEXT-o} sub
/conftest.Po
> /dev
/null
2>&1 &&
3258 ${MAKE-make} -s -f confmf
> /dev
/null
2>&1; then
3259 # icc doesn't choke on unknown options, it will just issue warnings
3260 # or remarks (even with -Werror). So we grep stderr for any message
3261 # that says an option was ignored or not supported.
3262 # When given -MP, icc 7.0 and 7.1 complain thusly:
3263 # icc: Command line warning: ignoring option '-M'; no argument required
3264 # The diagnosis changed in icc 8.0:
3265 # icc: Command line remark: option '-MP' not supported
3266 if (grep 'ignoring option' conftest.err ||
3267 grep 'not supported' conftest.err
) >/dev
/null
2>&1; then :; else
3268 am_cv_CC_dependencies_compiler_type
=$depmode
3277 am_cv_CC_dependencies_compiler_type
=none
3281 echo "$as_me:$LINENO: result: $am_cv_CC_dependencies_compiler_type" >&5
3282 echo "${ECHO_T}$am_cv_CC_dependencies_compiler_type" >&6
3283 CCDEPMODE
=depmode
=$am_cv_CC_dependencies_compiler_type
3288 test "x$enable_dependency_tracking" != xno \
3289 && test "$am_cv_CC_dependencies_compiler_type" = gcc3
; then
3291 am__fastdepCC_FALSE
='#'
3293 am__fastdepCC_TRUE
='#'
3294 am__fastdepCC_FALSE
=
3300 ac_cpp
='$CPP $CPPFLAGS'
3301 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3302 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3303 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
3304 echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5
3305 echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6
3306 # On Suns, sometimes $CPP names a directory.
3307 if test -n "$CPP" && test -d "$CPP"; then
3310 if test -z "$CPP"; then
3311 if test "${ac_cv_prog_CPP+set}" = set; then
3312 echo $ECHO_N "(cached) $ECHO_C" >&6
3314 # Double quotes because CPP needs to be expanded
3315 for CPP
in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
3318 for ac_c_preproc_warn_flag
in '' yes
3320 # Use a header file that comes with gcc, so configuring glibc
3321 # with a fresh cross-compiler works.
3322 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
3323 # <limits.h> exists even on freestanding compilers.
3324 # On the NeXT, cc -E runs the code through the compiler's parser,
3325 # not just through cpp. "Syntax error" is here to catch this case.
3326 cat >conftest.
$ac_ext <<_ACEOF
3329 cat confdefs.h
>>conftest.
$ac_ext
3330 cat >>conftest.
$ac_ext <<_ACEOF
3331 /* end confdefs.h. */
3333 # include <limits.h>
3335 # include <assert.h>
3339 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
3340 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
3342 grep -v '^ *+' conftest.er1
>conftest.err
3344 cat conftest.err
>&5
3345 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3346 (exit $ac_status); } >/dev
/null
; then
3347 if test -s conftest.err
; then
3348 ac_cpp_err
=$ac_c_preproc_warn_flag
3349 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
3356 if test -z "$ac_cpp_err"; then
3359 echo "$as_me: failed program was:" >&5
3360 sed 's/^/| /' conftest.
$ac_ext >&5
3362 # Broken: fails on valid input.
3365 rm -f conftest.err conftest.
$ac_ext
3367 # OK, works on sane cases. Now check whether non-existent headers
3368 # can be detected and how.
3369 cat >conftest.
$ac_ext <<_ACEOF
3372 cat confdefs.h
>>conftest.
$ac_ext
3373 cat >>conftest.
$ac_ext <<_ACEOF
3374 /* end confdefs.h. */
3375 #include <ac_nonexistent.h>
3377 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
3378 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
3380 grep -v '^ *+' conftest.er1
>conftest.err
3382 cat conftest.err
>&5
3383 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3384 (exit $ac_status); } >/dev
/null
; then
3385 if test -s conftest.err
; then
3386 ac_cpp_err
=$ac_c_preproc_warn_flag
3387 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
3394 if test -z "$ac_cpp_err"; then
3395 # Broken: success on invalid input.
3398 echo "$as_me: failed program was:" >&5
3399 sed 's/^/| /' conftest.
$ac_ext >&5
3401 # Passes both tests.
3405 rm -f conftest.err conftest.
$ac_ext
3408 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
3409 rm -f conftest.err conftest.
$ac_ext
3410 if $ac_preproc_ok; then
3422 echo "$as_me:$LINENO: result: $CPP" >&5
3423 echo "${ECHO_T}$CPP" >&6
3425 for ac_c_preproc_warn_flag
in '' yes
3427 # Use a header file that comes with gcc, so configuring glibc
3428 # with a fresh cross-compiler works.
3429 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
3430 # <limits.h> exists even on freestanding compilers.
3431 # On the NeXT, cc -E runs the code through the compiler's parser,
3432 # not just through cpp. "Syntax error" is here to catch this case.
3433 cat >conftest.
$ac_ext <<_ACEOF
3436 cat confdefs.h
>>conftest.
$ac_ext
3437 cat >>conftest.
$ac_ext <<_ACEOF
3438 /* end confdefs.h. */
3440 # include <limits.h>
3442 # include <assert.h>
3446 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
3447 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
3449 grep -v '^ *+' conftest.er1
>conftest.err
3451 cat conftest.err
>&5
3452 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3453 (exit $ac_status); } >/dev
/null
; then
3454 if test -s conftest.err
; then
3455 ac_cpp_err
=$ac_c_preproc_warn_flag
3456 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
3463 if test -z "$ac_cpp_err"; then
3466 echo "$as_me: failed program was:" >&5
3467 sed 's/^/| /' conftest.
$ac_ext >&5
3469 # Broken: fails on valid input.
3472 rm -f conftest.err conftest.
$ac_ext
3474 # OK, works on sane cases. Now check whether non-existent headers
3475 # can be detected and how.
3476 cat >conftest.
$ac_ext <<_ACEOF
3479 cat confdefs.h
>>conftest.
$ac_ext
3480 cat >>conftest.
$ac_ext <<_ACEOF
3481 /* end confdefs.h. */
3482 #include <ac_nonexistent.h>
3484 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
3485 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
3487 grep -v '^ *+' conftest.er1
>conftest.err
3489 cat conftest.err
>&5
3490 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3491 (exit $ac_status); } >/dev
/null
; then
3492 if test -s conftest.err
; then
3493 ac_cpp_err
=$ac_c_preproc_warn_flag
3494 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
3501 if test -z "$ac_cpp_err"; then
3502 # Broken: success on invalid input.
3505 echo "$as_me: failed program was:" >&5
3506 sed 's/^/| /' conftest.
$ac_ext >&5
3508 # Passes both tests.
3512 rm -f conftest.err conftest.
$ac_ext
3515 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
3516 rm -f conftest.err conftest.
$ac_ext
3517 if $ac_preproc_ok; then
3520 { { echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check
3521 See \`config.log' for more details." >&5
3522 echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check
3523 See \`config.log' for more details." >&2;}
3524 { (exit 1); exit 1; }; }
3528 ac_cpp
='$CPP $CPPFLAGS'
3529 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3530 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3531 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
3534 echo "$as_me:$LINENO: checking for egrep" >&5
3535 echo $ECHO_N "checking for egrep... $ECHO_C" >&6
3536 if test "${ac_cv_prog_egrep+set}" = set; then
3537 echo $ECHO_N "(cached) $ECHO_C" >&6
3539 if echo a |
(grep -E '(a|b)') >/dev
/null
2>&1
3540 then ac_cv_prog_egrep
='grep -E'
3541 else ac_cv_prog_egrep
='egrep'
3544 echo "$as_me:$LINENO: result: $ac_cv_prog_egrep" >&5
3545 echo "${ECHO_T}$ac_cv_prog_egrep" >&6
3546 EGREP
=$ac_cv_prog_egrep
3549 echo "$as_me:$LINENO: checking for ANSI C header files" >&5
3550 echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6
3551 if test "${ac_cv_header_stdc+set}" = set; then
3552 echo $ECHO_N "(cached) $ECHO_C" >&6
3554 cat >conftest.
$ac_ext <<_ACEOF
3557 cat confdefs.h
>>conftest.
$ac_ext
3558 cat >>conftest.
$ac_ext <<_ACEOF
3559 /* end confdefs.h. */
3573 rm -f conftest.
$ac_objext
3574 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3575 (eval $ac_compile) 2>conftest.er1
3577 grep -v '^ *+' conftest.er1
>conftest.err
3579 cat conftest.err
>&5
3580 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3581 (exit $ac_status); } &&
3582 { ac_try
='test -z "$ac_c_werror_flag"
3583 || test ! -s conftest.err'
3584 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3587 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3588 (exit $ac_status); }; } &&
3589 { ac_try
='test -s conftest.$ac_objext'
3590 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3593 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3594 (exit $ac_status); }; }; then
3595 ac_cv_header_stdc
=yes
3597 echo "$as_me: failed program was:" >&5
3598 sed 's/^/| /' conftest.
$ac_ext >&5
3600 ac_cv_header_stdc
=no
3602 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
3604 if test $ac_cv_header_stdc = yes; then
3605 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
3606 cat >conftest.
$ac_ext <<_ACEOF
3609 cat confdefs.h
>>conftest.
$ac_ext
3610 cat >>conftest.
$ac_ext <<_ACEOF
3611 /* end confdefs.h. */
3615 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
3616 $EGREP "memchr" >/dev
/null
2>&1; then
3619 ac_cv_header_stdc
=no
3625 if test $ac_cv_header_stdc = yes; then
3626 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
3627 cat >conftest.
$ac_ext <<_ACEOF
3630 cat confdefs.h
>>conftest.
$ac_ext
3631 cat >>conftest.
$ac_ext <<_ACEOF
3632 /* end confdefs.h. */
3636 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
3637 $EGREP "free" >/dev
/null
2>&1; then
3640 ac_cv_header_stdc
=no
3646 if test $ac_cv_header_stdc = yes; then
3647 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
3648 if test "$cross_compiling" = yes; then
3651 cat >conftest.
$ac_ext <<_ACEOF
3654 cat confdefs.h
>>conftest.
$ac_ext
3655 cat >>conftest.
$ac_ext <<_ACEOF
3656 /* end confdefs.h. */
3658 #if ((' ' & 0x0FF) == 0x020)
3659 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
3660 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
3662 # define ISLOWER(c) \
3663 (('a' <= (c) && (c) <= 'i') \
3664 || ('j' <= (c) && (c) <= 'r') \
3665 || ('s' <= (c) && (c) <= 'z'))
3666 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
3669 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
3674 for (i = 0; i < 256; i++)
3675 if (XOR (islower (i), ISLOWER (i))
3676 || toupper (i) != TOUPPER (i))
3681 rm -f conftest
$ac_exeext
3682 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
3683 (eval $ac_link) 2>&5
3685 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3686 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
3687 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3690 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3691 (exit $ac_status); }; }; then
3694 echo "$as_me: program exited with status $ac_status" >&5
3695 echo "$as_me: failed program was:" >&5
3696 sed 's/^/| /' conftest.
$ac_ext >&5
3699 ac_cv_header_stdc
=no
3701 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
3705 echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
3706 echo "${ECHO_T}$ac_cv_header_stdc" >&6
3707 if test $ac_cv_header_stdc = yes; then
3709 cat >>confdefs.h
<<\_ACEOF
3710 #define STDC_HEADERS 1
3715 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
3725 for ac_header
in sys
/types.h sys
/stat.h stdlib.h string.h memory.h
strings.h \
3726 inttypes.h stdint.h unistd.h
3728 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
3729 echo "$as_me:$LINENO: checking for $ac_header" >&5
3730 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
3731 if eval "test \"\${$as_ac_Header+set}\" = set"; then
3732 echo $ECHO_N "(cached) $ECHO_C" >&6
3734 cat >conftest.
$ac_ext <<_ACEOF
3737 cat confdefs.h
>>conftest.
$ac_ext
3738 cat >>conftest.
$ac_ext <<_ACEOF
3739 /* end confdefs.h. */
3740 $ac_includes_default
3742 #include <$ac_header>
3744 rm -f conftest.
$ac_objext
3745 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3746 (eval $ac_compile) 2>conftest.er1
3748 grep -v '^ *+' conftest.er1
>conftest.err
3750 cat conftest.err
>&5
3751 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3752 (exit $ac_status); } &&
3753 { ac_try
='test -z "$ac_c_werror_flag"
3754 || test ! -s conftest.err'
3755 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3758 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3759 (exit $ac_status); }; } &&
3760 { ac_try
='test -s conftest.$ac_objext'
3761 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3764 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3765 (exit $ac_status); }; }; then
3766 eval "$as_ac_Header=yes"
3768 echo "$as_me: failed program was:" >&5
3769 sed 's/^/| /' conftest.
$ac_ext >&5
3771 eval "$as_ac_Header=no"
3773 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
3775 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
3776 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
3777 if test `eval echo '${'$as_ac_Header'}'` = yes; then
3778 cat >>confdefs.h
<<_ACEOF
3779 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
3787 # Check whether --enable-alsa or --disable-alsa was given.
3788 if test "${enable_alsa+set}" = set; then
3789 enableval
="$enable_alsa"
3790 case "${enableval}" in
3791 yes) COMPILE_ALSA
=yes ;;
3792 no
) COMPILE_ALSA
=no
;;
3793 *) COMPILE_ALSA
=yes ;;
3797 for ac_header
in alsa
/asoundlib.h
3799 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
3800 if eval "test \"\${$as_ac_Header+set}\" = set"; then
3801 echo "$as_me:$LINENO: checking for $ac_header" >&5
3802 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
3803 if eval "test \"\${$as_ac_Header+set}\" = set"; then
3804 echo $ECHO_N "(cached) $ECHO_C" >&6
3806 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
3807 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
3809 # Is the header compilable?
3810 echo "$as_me:$LINENO: checking $ac_header usability" >&5
3811 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
3812 cat >conftest.
$ac_ext <<_ACEOF
3815 cat confdefs.h
>>conftest.
$ac_ext
3816 cat >>conftest.
$ac_ext <<_ACEOF
3817 /* end confdefs.h. */
3818 $ac_includes_default
3819 #include <$ac_header>
3821 rm -f conftest.
$ac_objext
3822 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3823 (eval $ac_compile) 2>conftest.er1
3825 grep -v '^ *+' conftest.er1
>conftest.err
3827 cat conftest.err
>&5
3828 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3829 (exit $ac_status); } &&
3830 { ac_try
='test -z "$ac_c_werror_flag"
3831 || test ! -s conftest.err'
3832 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3835 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3836 (exit $ac_status); }; } &&
3837 { ac_try
='test -s conftest.$ac_objext'
3838 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3841 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3842 (exit $ac_status); }; }; then
3843 ac_header_compiler
=yes
3845 echo "$as_me: failed program was:" >&5
3846 sed 's/^/| /' conftest.
$ac_ext >&5
3848 ac_header_compiler
=no
3850 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
3851 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
3852 echo "${ECHO_T}$ac_header_compiler" >&6
3854 # Is the header present?
3855 echo "$as_me:$LINENO: checking $ac_header presence" >&5
3856 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
3857 cat >conftest.
$ac_ext <<_ACEOF
3860 cat confdefs.h
>>conftest.
$ac_ext
3861 cat >>conftest.
$ac_ext <<_ACEOF
3862 /* end confdefs.h. */
3863 #include <$ac_header>
3865 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
3866 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
3868 grep -v '^ *+' conftest.er1
>conftest.err
3870 cat conftest.err
>&5
3871 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3872 (exit $ac_status); } >/dev
/null
; then
3873 if test -s conftest.err
; then
3874 ac_cpp_err
=$ac_c_preproc_warn_flag
3875 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
3882 if test -z "$ac_cpp_err"; then
3883 ac_header_preproc
=yes
3885 echo "$as_me: failed program was:" >&5
3886 sed 's/^/| /' conftest.
$ac_ext >&5
3888 ac_header_preproc
=no
3890 rm -f conftest.err conftest.
$ac_ext
3891 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
3892 echo "${ECHO_T}$ac_header_preproc" >&6
3894 # So? What about this header?
3895 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
3897 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
3898 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
3899 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
3900 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
3901 ac_header_preproc
=yes
3904 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
3905 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
3906 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
3907 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
3908 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
3909 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
3910 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
3911 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
3912 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
3913 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
3914 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
3915 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
3918 ## -------------------------------- ##
3919 ## Report this to classpath@gnu.org ##
3920 ## -------------------------------- ##
3923 sed "s/^/$as_me: WARNING: /" >&2
3926 echo "$as_me:$LINENO: checking for $ac_header" >&5
3927 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
3928 if eval "test \"\${$as_ac_Header+set}\" = set"; then
3929 echo $ECHO_N "(cached) $ECHO_C" >&6
3931 eval "$as_ac_Header=\$ac_header_preproc"
3933 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
3934 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
3937 if test `eval echo '${'$as_ac_Header'}'` = yes; then
3938 cat >>confdefs.h
<<_ACEOF
3939 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
3941 echo "$as_me:$LINENO: checking for snd_seq_open in -lasound" >&5
3942 echo $ECHO_N "checking for snd_seq_open in -lasound... $ECHO_C" >&6
3943 if test "${ac_cv_lib_asound_snd_seq_open+set}" = set; then
3944 echo $ECHO_N "(cached) $ECHO_C" >&6
3946 ac_check_lib_save_LIBS
=$LIBS
3947 LIBS
="-lasound $LIBS"
3948 cat >conftest.
$ac_ext <<_ACEOF
3951 cat confdefs.h
>>conftest.
$ac_ext
3952 cat >>conftest.
$ac_ext <<_ACEOF
3953 /* end confdefs.h. */
3955 /* Override any gcc2 internal prototype to avoid an error. */
3959 /* We use char because int might match the return type of a gcc2
3960 builtin and then its argument prototype would still apply. */
3961 char snd_seq_open ();
3970 rm -f conftest.
$ac_objext conftest
$ac_exeext
3971 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
3972 (eval $ac_link) 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); } &&
3979 { ac_try
='test -z "$ac_c_werror_flag"
3980 || test ! -s conftest.err'
3981 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3984 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3985 (exit $ac_status); }; } &&
3986 { ac_try
='test -s conftest$ac_exeext'
3987 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3990 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3991 (exit $ac_status); }; }; then
3992 ac_cv_lib_asound_snd_seq_open
=yes
3994 echo "$as_me: failed program was:" >&5
3995 sed 's/^/| /' conftest.
$ac_ext >&5
3997 ac_cv_lib_asound_snd_seq_open
=no
3999 rm -f conftest.err conftest.
$ac_objext \
4000 conftest
$ac_exeext conftest.
$ac_ext
4001 LIBS
=$ac_check_lib_save_LIBS
4003 echo "$as_me:$LINENO: result: $ac_cv_lib_asound_snd_seq_open" >&5
4004 echo "${ECHO_T}$ac_cv_lib_asound_snd_seq_open" >&6
4005 if test $ac_cv_lib_asound_snd_seq_open = yes; then
4020 if test "x${COMPILE_ALSA}" = xyes
; then
4021 CREATE_ALSA_LIBRARIES_TRUE
=
4022 CREATE_ALSA_LIBRARIES_FALSE
='#'
4024 CREATE_ALSA_LIBRARIES_TRUE
='#'
4025 CREATE_ALSA_LIBRARIES_FALSE
=
4029 # Check whether --enable-dssi or --disable-dssi was given.
4030 if test "${enable_dssi+set}" = set; then
4031 enableval
="$enable_dssi"
4032 case "${enableval}" in
4033 yes) COMPILE_DSSI
=yes ;;
4034 no
) COMPILE_DSSI
=no
;;
4035 *) COMPILE_DSSI
=yes ;;
4039 for ac_header
in dssi.h
4041 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
4042 if eval "test \"\${$as_ac_Header+set}\" = set"; then
4043 echo "$as_me:$LINENO: checking for $ac_header" >&5
4044 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
4045 if eval "test \"\${$as_ac_Header+set}\" = set"; then
4046 echo $ECHO_N "(cached) $ECHO_C" >&6
4048 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
4049 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
4051 # Is the header compilable?
4052 echo "$as_me:$LINENO: checking $ac_header usability" >&5
4053 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
4054 cat >conftest.
$ac_ext <<_ACEOF
4057 cat confdefs.h
>>conftest.
$ac_ext
4058 cat >>conftest.
$ac_ext <<_ACEOF
4059 /* end confdefs.h. */
4060 $ac_includes_default
4061 #include <$ac_header>
4063 rm -f conftest.
$ac_objext
4064 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4065 (eval $ac_compile) 2>conftest.er1
4067 grep -v '^ *+' conftest.er1
>conftest.err
4069 cat conftest.err
>&5
4070 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4071 (exit $ac_status); } &&
4072 { ac_try
='test -z "$ac_c_werror_flag"
4073 || test ! -s conftest.err'
4074 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4077 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4078 (exit $ac_status); }; } &&
4079 { ac_try
='test -s conftest.$ac_objext'
4080 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4083 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4084 (exit $ac_status); }; }; then
4085 ac_header_compiler
=yes
4087 echo "$as_me: failed program was:" >&5
4088 sed 's/^/| /' conftest.
$ac_ext >&5
4090 ac_header_compiler
=no
4092 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
4093 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
4094 echo "${ECHO_T}$ac_header_compiler" >&6
4096 # Is the header present?
4097 echo "$as_me:$LINENO: checking $ac_header presence" >&5
4098 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
4099 cat >conftest.
$ac_ext <<_ACEOF
4102 cat confdefs.h
>>conftest.
$ac_ext
4103 cat >>conftest.
$ac_ext <<_ACEOF
4104 /* end confdefs.h. */
4105 #include <$ac_header>
4107 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
4108 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
4110 grep -v '^ *+' conftest.er1
>conftest.err
4112 cat conftest.err
>&5
4113 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4114 (exit $ac_status); } >/dev
/null
; then
4115 if test -s conftest.err
; then
4116 ac_cpp_err
=$ac_c_preproc_warn_flag
4117 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
4124 if test -z "$ac_cpp_err"; then
4125 ac_header_preproc
=yes
4127 echo "$as_me: failed program was:" >&5
4128 sed 's/^/| /' conftest.
$ac_ext >&5
4130 ac_header_preproc
=no
4132 rm -f conftest.err conftest.
$ac_ext
4133 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
4134 echo "${ECHO_T}$ac_header_preproc" >&6
4136 # So? What about this header?
4137 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
4139 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
4140 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
4141 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
4142 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
4143 ac_header_preproc
=yes
4146 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
4147 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
4148 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
4149 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
4150 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
4151 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
4152 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
4153 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
4154 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
4155 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
4156 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
4157 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
4160 ## -------------------------------- ##
4161 ## Report this to classpath@gnu.org ##
4162 ## -------------------------------- ##
4165 sed "s/^/$as_me: WARNING: /" >&2
4168 echo "$as_me:$LINENO: checking for $ac_header" >&5
4169 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
4170 if eval "test \"\${$as_ac_Header+set}\" = set"; then
4171 echo $ECHO_N "(cached) $ECHO_C" >&6
4173 eval "$as_ac_Header=\$ac_header_preproc"
4175 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
4176 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
4179 if test `eval echo '${'$as_ac_Header'}'` = yes; then
4180 cat >>confdefs.h
<<_ACEOF
4181 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
4193 if test "x${COMPILE_DSSI}" = xyes
; then
4194 CREATE_DSSI_LIBRARIES_TRUE
=
4195 CREATE_DSSI_LIBRARIES_FALSE
='#'
4197 CREATE_DSSI_LIBRARIES_TRUE
='#'
4198 CREATE_DSSI_LIBRARIES_FALSE
=
4202 # Check whether --enable-gtk-peer or --disable-gtk-peer was given.
4203 if test "${enable_gtk_peer+set}" = set; then
4204 enableval
="$enable_gtk_peer"
4205 case "${enableval}" in
4206 yes) COMPILE_GTK_PEER
=yes ;;
4207 no
) COMPILE_GTK_PEER
=no
;;
4208 *) COMPILE_GTK_PEER
=yes ;;
4211 COMPILE_GTK_PEER
=yes
4215 if test "x${COMPILE_GTK_PEER}" = xyes
; then
4216 CREATE_GTK_PEER_LIBRARIES_TRUE
=
4217 CREATE_GTK_PEER_LIBRARIES_FALSE
='#'
4219 CREATE_GTK_PEER_LIBRARIES_TRUE
='#'
4220 CREATE_GTK_PEER_LIBRARIES_FALSE
=
4224 # Check whether --enable-gtk-peers or --disable-gtk-peers was given.
4225 if test "${enable_gtk_peers+set}" = set; then
4226 enableval
="$enable_gtk_peers"
4227 { { echo "$as_me:$LINENO: error: No --enable-gtk-peers (or --disable-gtk-peers) option; you want --enable-gtk-peer" >&5
4228 echo "$as_me: error: No --enable-gtk-peers (or --disable-gtk-peers) option; you want --enable-gtk-peer" >&2;}
4229 { (exit 1); exit 1; }; }
4232 # Check whether --enable-qt-peer or --disable-qt-peer was given.
4233 if test "${enable_qt_peer+set}" = set; then
4234 enableval
="$enable_qt_peer"
4235 case "${enableval}" in
4236 yes) COMPILE_QT_PEER
=yes ;;
4237 no
) COMPILE_QT_PEER
=no
;;
4238 *) COMPILE_QT_PEER
=yes ;;
4245 if test "x${COMPILE_QT_PEER}" = xyes
; then
4246 CREATE_QT_PEER_LIBRARIES_TRUE
=
4247 CREATE_QT_PEER_LIBRARIES_FALSE
='#'
4249 CREATE_QT_PEER_LIBRARIES_TRUE
='#'
4250 CREATE_QT_PEER_LIBRARIES_FALSE
=
4254 # Check whether --enable-plugin or --disable-plugin was given.
4255 if test "${enable_plugin+set}" = set; then
4256 enableval
="$enable_plugin"
4257 case "${enableval}" in
4258 yes) COMPILE_PLUGIN
=yes ;;
4259 no
) COMPILE_PLUGIN
=no
;;
4260 *) COMPILE_PLUGIN
=yes ;;
4267 if test "x${COMPILE_PLUGIN}" = xyes
; then
4269 CREATE_PLUGIN_FALSE
='#'
4271 CREATE_PLUGIN_TRUE
='#'
4272 CREATE_PLUGIN_FALSE
=
4277 # Check whether --with-native-libdir or --without-native-libdir was given.
4278 if test "${with_native_libdir+set}" = set; then
4279 withval
="$with_native_libdir"
4281 nativeexeclibdir
=${withval}
4285 nativeexeclibdir
='${libdir}/${PACKAGE}'
4292 # Check whether --with-glibj-dir or --without-glibj-dir was given.
4293 if test "${with_glibj_dir+set}" = set; then
4294 withval
="$with_glibj_dir"
4300 glibjdir
='${datadir}/${PACKAGE}'
4307 # Check whether --with-vm or --without-vm was given.
4308 if test "${with_vm+set}" = set; then
4311 VM_BINARY
=${withval}
4315 VM_BINARY
='${prefix}/bin/jamvm'
4322 if test "x`basename $VM_BINARY`" = xcacao
; then
4324 FOUND_CACAO_FALSE
='#'
4326 FOUND_CACAO_TRUE
='#'
4331 # Check whether --enable-regen-headers or --disable-regen-headers was given.
4332 if test "${enable_regen_headers+set}" = set; then
4333 enableval
="$enable_regen_headers"
4334 case "${enableval}" in
4335 yes) REGENERATE_JNI_HEADERS
=yes ;;
4336 no
) REGENERATE_JNI_HEADERS
=no
;;
4337 *) REGENERATE_JNI_HEADERS
=no
;;
4340 REGENERATE_JNI_HEADERS
=no
4344 if test "x${REGENERATE_JNI_HEADERS}" = xyes
; then
4345 CREATE_JNI_HEADERS_TRUE
=
4346 CREATE_JNI_HEADERS_FALSE
='#'
4348 CREATE_JNI_HEADERS_TRUE
='#'
4349 CREATE_JNI_HEADERS_FALSE
=
4353 # Check whether --enable-tool-wrappers or --disable-tool-wrappers was given.
4354 if test "${enable_tool_wrappers+set}" = set; then
4355 enableval
="$enable_tool_wrappers"
4356 case x
"${enableval}" in
4357 xyes
) COMPILE_WRAPPERS
=yes ;;
4358 xno
) COMPILE_WRAPPERS
=no
;;
4359 x
) COMPILE_WRAPPERS
=yes ;;
4360 *) COMPILE_WRAPPERS
=yes ;;
4367 if test "x${COMPILE_WRAPPERS}" = xyes
; then
4368 CREATE_WRAPPERS_TRUE
=
4369 CREATE_WRAPPERS_FALSE
='#'
4371 CREATE_WRAPPERS_TRUE
='#'
4372 CREATE_WRAPPERS_FALSE
=
4376 echo "$as_me:$LINENO: checking whether ln -s works" >&5
4377 echo $ECHO_N "checking whether ln -s works... $ECHO_C" >&6
4379 if test "$LN_S" = "ln -s"; then
4380 echo "$as_me:$LINENO: result: yes" >&5
4381 echo "${ECHO_T}yes" >&6
4383 echo "$as_me:$LINENO: result: no, using $LN_S" >&5
4384 echo "${ECHO_T}no, using $LN_S" >&6
4387 # Find a good install program. We prefer a C program (faster),
4388 # so one script is as good as another. But avoid the broken or
4389 # incompatible versions:
4390 # SysV /etc/install, /usr/sbin/install
4391 # SunOS /usr/etc/install
4392 # IRIX /sbin/install
4394 # AmigaOS /C/install, which installs bootblocks on floppy discs
4395 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
4396 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
4397 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
4398 # OS/2's system install, which has a completely different semantic
4399 # ./install, which can be erroneously created by make from ./install.sh.
4400 echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
4401 echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6
4402 if test -z "$INSTALL"; then
4403 if test "${ac_cv_path_install+set}" = set; then
4404 echo $ECHO_N "(cached) $ECHO_C" >&6
4406 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4410 test -z "$as_dir" && as_dir
=.
4411 # Account for people who put trailing slashes in PATH elements.
4413 .
/ | .
// |
/cC
/* | \
4414 /etc
/* |
/usr
/sbin
/* |
/usr
/etc
/* |
/sbin
/* |
/usr
/afsws
/bin
/* | \
4415 ?
:\\/os2
\\/install\\/* | ?
:\\/OS2
\\/INSTALL
\\/* | \
4418 # OSF1 and SCO ODT 3.0 have their own names for install.
4419 # Don't use installbsd from OSF since it installs stuff as root
4421 for ac_prog
in ginstall scoinst
install; do
4422 for ac_exec_ext
in '' $ac_executable_extensions; do
4423 if $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
4424 if test $ac_prog = install &&
4425 grep dspmsg
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
4426 # AIX install. It has an incompatible calling convention.
4428 elif test $ac_prog = install &&
4429 grep pwplus
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
4430 # program-specific install script used by HP pwplus--don't use.
4433 ac_cv_path_install
="$as_dir/$ac_prog$ac_exec_ext -c"
4445 if test "${ac_cv_path_install+set}" = set; then
4446 INSTALL
=$ac_cv_path_install
4448 # As a last resort, use the slow shell script. We don't cache a
4449 # path for INSTALL within a source directory, because that will
4450 # break other packages using the cache if that directory is
4451 # removed, or if the path is relative.
4452 INSTALL
=$ac_install_sh
4455 echo "$as_me:$LINENO: result: $INSTALL" >&5
4456 echo "${ECHO_T}$INSTALL" >&6
4458 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
4459 # It thinks the first close brace ends the variable substitution.
4460 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM
='${INSTALL}'
4462 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT
='${INSTALL}'
4464 test -z "$INSTALL_DATA" && INSTALL_DATA
='${INSTALL} -m 644'
4468 ac_cpp
='$CXXCPP $CPPFLAGS'
4469 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4470 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4471 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
4472 if test -n "$ac_tool_prefix"; then
4473 for ac_prog
in $CCC g
++ c
++ gpp aCC CC cxx cc
++ cl FCC KCC RCC xlC_r xlC
4475 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
4476 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
4477 echo "$as_me:$LINENO: checking for $ac_word" >&5
4478 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
4479 if test "${ac_cv_prog_CXX+set}" = set; then
4480 echo $ECHO_N "(cached) $ECHO_C" >&6
4482 if test -n "$CXX"; then
4483 ac_cv_prog_CXX
="$CXX" # Let the user override the test.
4485 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4489 test -z "$as_dir" && as_dir
=.
4490 for ac_exec_ext
in '' $ac_executable_extensions; do
4491 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4492 ac_cv_prog_CXX
="$ac_tool_prefix$ac_prog"
4493 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4502 if test -n "$CXX"; then
4503 echo "$as_me:$LINENO: result: $CXX" >&5
4504 echo "${ECHO_T}$CXX" >&6
4506 echo "$as_me:$LINENO: result: no" >&5
4507 echo "${ECHO_T}no" >&6
4510 test -n "$CXX" && break
4513 if test -z "$CXX"; then
4515 for ac_prog
in $CCC g
++ c
++ gpp aCC CC cxx cc
++ cl FCC KCC RCC xlC_r xlC
4517 # Extract the first word of "$ac_prog", so it can be a program name with args.
4518 set dummy
$ac_prog; ac_word
=$2
4519 echo "$as_me:$LINENO: checking for $ac_word" >&5
4520 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
4521 if test "${ac_cv_prog_ac_ct_CXX+set}" = set; then
4522 echo $ECHO_N "(cached) $ECHO_C" >&6
4524 if test -n "$ac_ct_CXX"; then
4525 ac_cv_prog_ac_ct_CXX
="$ac_ct_CXX" # Let the user override the test.
4527 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4531 test -z "$as_dir" && as_dir
=.
4532 for ac_exec_ext
in '' $ac_executable_extensions; do
4533 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4534 ac_cv_prog_ac_ct_CXX
="$ac_prog"
4535 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4543 ac_ct_CXX
=$ac_cv_prog_ac_ct_CXX
4544 if test -n "$ac_ct_CXX"; then
4545 echo "$as_me:$LINENO: result: $ac_ct_CXX" >&5
4546 echo "${ECHO_T}$ac_ct_CXX" >&6
4548 echo "$as_me:$LINENO: result: no" >&5
4549 echo "${ECHO_T}no" >&6
4552 test -n "$ac_ct_CXX" && break
4554 test -n "$ac_ct_CXX" || ac_ct_CXX
="g++"
4560 # Provide some information about the compiler.
4561 echo "$as_me:$LINENO:" \
4562 "checking for C++ compiler version" >&5
4563 ac_compiler
=`set X $ac_compile; echo $2`
4564 { (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5
4565 (eval $ac_compiler --version </dev
/null
>&5) 2>&5
4567 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4568 (exit $ac_status); }
4569 { (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5
4570 (eval $ac_compiler -v </dev
/null
>&5) 2>&5
4572 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4573 (exit $ac_status); }
4574 { (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5
4575 (eval $ac_compiler -V </dev
/null
>&5) 2>&5
4577 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4578 (exit $ac_status); }
4580 echo "$as_me:$LINENO: checking whether we are using the GNU C++ compiler" >&5
4581 echo $ECHO_N "checking whether we are using the GNU C++ compiler... $ECHO_C" >&6
4582 if test "${ac_cv_cxx_compiler_gnu+set}" = set; then
4583 echo $ECHO_N "(cached) $ECHO_C" >&6
4585 cat >conftest.
$ac_ext <<_ACEOF
4588 cat confdefs.h
>>conftest.
$ac_ext
4589 cat >>conftest.
$ac_ext <<_ACEOF
4590 /* end confdefs.h. */
4603 rm -f conftest.
$ac_objext
4604 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4605 (eval $ac_compile) 2>conftest.er1
4607 grep -v '^ *+' conftest.er1
>conftest.err
4609 cat conftest.err
>&5
4610 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4611 (exit $ac_status); } &&
4612 { ac_try
='test -z "$ac_cxx_werror_flag"
4613 || test ! -s conftest.err'
4614 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4617 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4618 (exit $ac_status); }; } &&
4619 { ac_try
='test -s conftest.$ac_objext'
4620 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4623 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4624 (exit $ac_status); }; }; then
4627 echo "$as_me: failed program was:" >&5
4628 sed 's/^/| /' conftest.
$ac_ext >&5
4632 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
4633 ac_cv_cxx_compiler_gnu
=$ac_compiler_gnu
4636 echo "$as_me:$LINENO: result: $ac_cv_cxx_compiler_gnu" >&5
4637 echo "${ECHO_T}$ac_cv_cxx_compiler_gnu" >&6
4638 GXX
=`test $ac_compiler_gnu = yes && echo yes`
4639 ac_test_CXXFLAGS
=${CXXFLAGS+set}
4640 ac_save_CXXFLAGS
=$CXXFLAGS
4642 echo "$as_me:$LINENO: checking whether $CXX accepts -g" >&5
4643 echo $ECHO_N "checking whether $CXX accepts -g... $ECHO_C" >&6
4644 if test "${ac_cv_prog_cxx_g+set}" = set; then
4645 echo $ECHO_N "(cached) $ECHO_C" >&6
4647 cat >conftest.
$ac_ext <<_ACEOF
4650 cat confdefs.h
>>conftest.
$ac_ext
4651 cat >>conftest.
$ac_ext <<_ACEOF
4652 /* end confdefs.h. */
4662 rm -f conftest.
$ac_objext
4663 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4664 (eval $ac_compile) 2>conftest.er1
4666 grep -v '^ *+' conftest.er1
>conftest.err
4668 cat conftest.err
>&5
4669 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4670 (exit $ac_status); } &&
4671 { ac_try
='test -z "$ac_cxx_werror_flag"
4672 || test ! -s conftest.err'
4673 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4676 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4677 (exit $ac_status); }; } &&
4678 { ac_try
='test -s conftest.$ac_objext'
4679 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4682 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4683 (exit $ac_status); }; }; then
4684 ac_cv_prog_cxx_g
=yes
4686 echo "$as_me: failed program was:" >&5
4687 sed 's/^/| /' conftest.
$ac_ext >&5
4691 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
4693 echo "$as_me:$LINENO: result: $ac_cv_prog_cxx_g" >&5
4694 echo "${ECHO_T}$ac_cv_prog_cxx_g" >&6
4695 if test "$ac_test_CXXFLAGS" = set; then
4696 CXXFLAGS
=$ac_save_CXXFLAGS
4697 elif test $ac_cv_prog_cxx_g = yes; then
4698 if test "$GXX" = yes; then
4704 if test "$GXX" = yes; then
4710 for ac_declaration
in \
4712 'extern "C" void std::exit (int) throw (); using std::exit;' \
4713 'extern "C" void std::exit (int); using std::exit;' \
4714 'extern "C" void exit (int) throw ();' \
4715 'extern "C" void exit (int);' \
4718 cat >conftest.
$ac_ext <<_ACEOF
4721 cat confdefs.h
>>conftest.
$ac_ext
4722 cat >>conftest.
$ac_ext <<_ACEOF
4723 /* end confdefs.h. */
4734 rm -f conftest.
$ac_objext
4735 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4736 (eval $ac_compile) 2>conftest.er1
4738 grep -v '^ *+' conftest.er1
>conftest.err
4740 cat conftest.err
>&5
4741 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4742 (exit $ac_status); } &&
4743 { ac_try
='test -z "$ac_cxx_werror_flag"
4744 || test ! -s conftest.err'
4745 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4748 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4749 (exit $ac_status); }; } &&
4750 { ac_try
='test -s conftest.$ac_objext'
4751 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4754 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4755 (exit $ac_status); }; }; then
4758 echo "$as_me: failed program was:" >&5
4759 sed 's/^/| /' conftest.
$ac_ext >&5
4763 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
4764 cat >conftest.
$ac_ext <<_ACEOF
4767 cat confdefs.h
>>conftest.
$ac_ext
4768 cat >>conftest.
$ac_ext <<_ACEOF
4769 /* end confdefs.h. */
4779 rm -f conftest.
$ac_objext
4780 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4781 (eval $ac_compile) 2>conftest.er1
4783 grep -v '^ *+' conftest.er1
>conftest.err
4785 cat conftest.err
>&5
4786 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4787 (exit $ac_status); } &&
4788 { ac_try
='test -z "$ac_cxx_werror_flag"
4789 || test ! -s conftest.err'
4790 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4793 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4794 (exit $ac_status); }; } &&
4795 { ac_try
='test -s conftest.$ac_objext'
4796 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4799 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4800 (exit $ac_status); }; }; then
4803 echo "$as_me: failed program was:" >&5
4804 sed 's/^/| /' conftest.
$ac_ext >&5
4807 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
4810 if test -n "$ac_declaration"; then
4811 echo '#ifdef __cplusplus' >>confdefs.h
4812 echo $ac_declaration >>confdefs.h
4813 echo '#endif' >>confdefs.h
4817 ac_cpp
='$CPP $CPPFLAGS'
4818 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4819 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4820 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
4822 depcc
="$CXX" am_compiler_list
=
4824 echo "$as_me:$LINENO: checking dependency style of $depcc" >&5
4825 echo $ECHO_N "checking dependency style of $depcc... $ECHO_C" >&6
4826 if test "${am_cv_CXX_dependencies_compiler_type+set}" = set; then
4827 echo $ECHO_N "(cached) $ECHO_C" >&6
4829 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
4830 # We make a subdir and do the tests there. Otherwise we can end up
4831 # making bogus files that we don't know about and never remove. For
4832 # instance it was reported that on HP-UX the gcc test will end up
4833 # making a dummy file named `D' -- because `-MD' means `put the output
4836 # Copy depcomp to subdir because otherwise we won't find it if we're
4837 # using a relative directory.
4838 cp "$am_depcomp" conftest.dir
4840 # We will build objects and dependencies in a subdirectory because
4841 # it helps to detect inapplicable dependency modes. For instance
4842 # both Tru64's cc and ICC support -MD to output dependencies as a
4843 # side effect of compilation, but ICC will put the dependencies in
4844 # the current directory while Tru64 will put them in the object
4848 am_cv_CXX_dependencies_compiler_type
=none
4849 if test "$am_compiler_list" = ""; then
4850 am_compiler_list
=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
4852 for depmode
in $am_compiler_list; do
4853 # Setup a source with many dependencies, because some compilers
4854 # like to wrap large dependency lists on column 80 (with \), and
4855 # we should not choose a depcomp mode which is confused by this.
4857 # We need to recreate these files for each test, as the compiler may
4858 # overwrite some of them when testing with obscure command lines.
4859 # This happens at least with the AIX C compiler.
4861 for i
in 1 2 3 4 5 6; do
4862 echo '#include "conftst'$i'.h"' >> sub
/conftest.c
4863 # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
4864 # Solaris 8's {/usr,}/bin/sh.
4865 touch sub
/conftst
$i.h
4867 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
4871 # after this tag, mechanisms are not by side-effect, so they'll
4872 # only be used when explicitly requested
4873 if test "x$enable_dependency_tracking" = xyes
; then
4881 # We check with `-c' and `-o' for the sake of the "dashmstdout"
4882 # mode. It turns out that the SunPro C++ compiler does not properly
4883 # handle `-M -o', and we need to detect this.
4884 if depmode
=$depmode \
4885 source=sub
/conftest.c object
=sub
/conftest.
${OBJEXT-o} \
4886 depfile
=sub
/conftest.Po tmpdepfile
=sub
/conftest.TPo \
4887 $SHELL .
/depcomp
$depcc -c -o sub
/conftest.
${OBJEXT-o} sub
/conftest.c \
4888 >/dev
/null
2>conftest.err
&&
4889 grep sub
/conftst6.h sub
/conftest.Po
> /dev
/null
2>&1 &&
4890 grep sub
/conftest.
${OBJEXT-o} sub
/conftest.Po
> /dev
/null
2>&1 &&
4891 ${MAKE-make} -s -f confmf
> /dev
/null
2>&1; then
4892 # icc doesn't choke on unknown options, it will just issue warnings
4893 # or remarks (even with -Werror). So we grep stderr for any message
4894 # that says an option was ignored or not supported.
4895 # When given -MP, icc 7.0 and 7.1 complain thusly:
4896 # icc: Command line warning: ignoring option '-M'; no argument required
4897 # The diagnosis changed in icc 8.0:
4898 # icc: Command line remark: option '-MP' not supported
4899 if (grep 'ignoring option' conftest.err ||
4900 grep 'not supported' conftest.err
) >/dev
/null
2>&1; then :; else
4901 am_cv_CXX_dependencies_compiler_type
=$depmode
4910 am_cv_CXX_dependencies_compiler_type
=none
4914 echo "$as_me:$LINENO: result: $am_cv_CXX_dependencies_compiler_type" >&5
4915 echo "${ECHO_T}$am_cv_CXX_dependencies_compiler_type" >&6
4916 CXXDEPMODE
=depmode
=$am_cv_CXX_dependencies_compiler_type
4921 test "x$enable_dependency_tracking" != xno \
4922 && test "$am_cv_CXX_dependencies_compiler_type" = gcc3
; then
4923 am__fastdepCXX_TRUE
=
4924 am__fastdepCXX_FALSE
='#'
4926 am__fastdepCXX_TRUE
='#'
4927 am__fastdepCXX_FALSE
=
4931 # Check whether --enable-static or --disable-static was given.
4932 if test "${enable_static+set}" = set; then
4933 enableval
="$enable_static"
4934 p
=${PACKAGE-default}
4936 yes) enable_static
=yes ;;
4937 no
) enable_static
=no
;;
4940 # Look at the argument we got. We use all the common list separators.
4941 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
="${IFS}:,"
4942 for pkg
in $enableval; do
4943 if test "X$pkg" = "X$p"; then
4953 # Check whether --enable-shared or --disable-shared was given.
4954 if test "${enable_shared+set}" = set; then
4955 enableval
="$enable_shared"
4956 p
=${PACKAGE-default}
4958 yes) enable_shared
=yes ;;
4959 no
) enable_shared
=no
;;
4962 # Look at the argument we got. We use all the common list separators.
4963 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
="${IFS}:,"
4964 for pkg
in $enableval; do
4965 if test "X$pkg" = "X$p"; then
4975 # Check whether --enable-fast-install or --disable-fast-install was given.
4976 if test "${enable_fast_install+set}" = set; then
4977 enableval
="$enable_fast_install"
4978 p
=${PACKAGE-default}
4980 yes) enable_fast_install
=yes ;;
4981 no
) enable_fast_install
=no
;;
4983 enable_fast_install
=no
4984 # Look at the argument we got. We use all the common list separators.
4985 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
="${IFS}:,"
4986 for pkg
in $enableval; do
4987 if test "X$pkg" = "X$p"; then
4988 enable_fast_install
=yes
4995 enable_fast_install
=yes
4998 # Check whether --with-gnu-ld or --without-gnu-ld was given.
4999 if test "${with_gnu_ld+set}" = set; then
5000 withval
="$with_gnu_ld"
5001 test "$withval" = no || with_gnu_ld
=yes
5006 if test "$GCC" = yes; then
5007 # Check if gcc -print-prog-name=ld gives a path.
5008 echo "$as_me:$LINENO: checking for ld used by GCC" >&5
5009 echo $ECHO_N "checking for ld used by GCC... $ECHO_C" >&6
5012 # gcc leaves a trailing carriage return which upsets mingw
5013 ac_prog
=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
5015 ac_prog
=`($CC -print-prog-name=ld) 2>&5` ;;
5018 # Accept absolute paths.
5019 [\\/]* |
[A-Za-z
]:[\\/]*)
5020 re_direlt
='/[^/][^/]*/\.\./'
5021 # Canonicalize the path of ld
5022 ac_prog
=`echo $ac_prog| sed 's%\\\\%/%g'`
5023 while echo $ac_prog |
grep "$re_direlt" > /dev
/null
2>&1; do
5024 ac_prog
=`echo $ac_prog| sed "s%$re_direlt%/%"`
5026 test -z "$LD" && LD
="$ac_prog"
5029 # If it fails, then pretend we aren't using GCC.
5033 # If it is relative, then search for the first ld in PATH.
5037 elif test "$with_gnu_ld" = yes; then
5038 echo "$as_me:$LINENO: checking for GNU ld" >&5
5039 echo $ECHO_N "checking for GNU ld... $ECHO_C" >&6
5041 echo "$as_me:$LINENO: checking for non-GNU ld" >&5
5042 echo $ECHO_N "checking for non-GNU ld... $ECHO_C" >&6
5044 if test "${lt_cv_path_LD+set}" = set; then
5045 echo $ECHO_N "(cached) $ECHO_C" >&6
5047 if test -z "$LD"; then
5048 IFS
="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}${PATH_SEPARATOR-:}"
5049 for ac_dir
in $PATH; do
5050 test -z "$ac_dir" && ac_dir
=.
5051 if test -f "$ac_dir/$ac_prog" ||
test -f "$ac_dir/$ac_prog$ac_exeext"; then
5052 lt_cv_path_LD
="$ac_dir/$ac_prog"
5053 # Check to see if the program is GNU ld. I'd rather use --version,
5054 # but apparently some GNU ld's only accept -v.
5055 # Break only if it was the GNU/non-GNU ld that we prefer.
5056 if "$lt_cv_path_LD" -v 2>&1 < /dev
/null |
egrep '(GNU|with BFD)' > /dev
/null
; then
5057 test "$with_gnu_ld" != no
&& break
5059 test "$with_gnu_ld" != yes && break
5065 lt_cv_path_LD
="$LD" # Let the user override the test with a path.
5070 if test -n "$LD"; then
5071 echo "$as_me:$LINENO: result: $LD" >&5
5072 echo "${ECHO_T}$LD" >&6
5074 echo "$as_me:$LINENO: result: no" >&5
5075 echo "${ECHO_T}no" >&6
5077 test -z "$LD" && { { echo "$as_me:$LINENO: error: no acceptable ld found in \$PATH" >&5
5078 echo "$as_me: error: no acceptable ld found in \$PATH" >&2;}
5079 { (exit 1); exit 1; }; }
5080 echo "$as_me:$LINENO: checking if the linker ($LD) is GNU ld" >&5
5081 echo $ECHO_N "checking if the linker ($LD) is GNU ld... $ECHO_C" >&6
5082 if test "${lt_cv_prog_gnu_ld+set}" = set; then
5083 echo $ECHO_N "(cached) $ECHO_C" >&6
5085 # I'd rather use --version here, but apparently some GNU ld's only accept -v.
5086 if $LD -v 2>&1 </dev
/null |
egrep '(GNU|with BFD)' 1>&5; then
5087 lt_cv_prog_gnu_ld
=yes
5089 lt_cv_prog_gnu_ld
=no
5092 echo "$as_me:$LINENO: result: $lt_cv_prog_gnu_ld" >&5
5093 echo "${ECHO_T}$lt_cv_prog_gnu_ld" >&6
5094 with_gnu_ld
=$lt_cv_prog_gnu_ld
5097 echo "$as_me:$LINENO: checking for $LD option to reload object files" >&5
5098 echo $ECHO_N "checking for $LD option to reload object files... $ECHO_C" >&6
5099 if test "${lt_cv_ld_reload_flag+set}" = set; then
5100 echo $ECHO_N "(cached) $ECHO_C" >&6
5102 lt_cv_ld_reload_flag
='-r'
5104 echo "$as_me:$LINENO: result: $lt_cv_ld_reload_flag" >&5
5105 echo "${ECHO_T}$lt_cv_ld_reload_flag" >&6
5106 reload_flag
=$lt_cv_ld_reload_flag
5107 test -n "$reload_flag" && reload_flag
=" $reload_flag"
5109 echo "$as_me:$LINENO: checking for BSD-compatible nm" >&5
5110 echo $ECHO_N "checking for BSD-compatible nm... $ECHO_C" >&6
5111 if test "${lt_cv_path_NM+set}" = set; then
5112 echo $ECHO_N "(cached) $ECHO_C" >&6
5114 if test -n "$NM"; then
5115 # Let the user override the test.
5118 IFS
="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}${PATH_SEPARATOR-:}"
5119 for ac_dir
in $PATH /usr
/ccs
/bin
/usr
/ucb
/bin
; do
5120 test -z "$ac_dir" && ac_dir
=.
5121 tmp_nm
=$ac_dir/${ac_tool_prefix}nm
5122 if test -f $tmp_nm ||
test -f $tmp_nm$ac_exeext ; then
5123 # Check to see if the nm accepts a BSD-compat flag.
5124 # Adding the `sed 1q' prevents false positives on HP-UX, which says:
5125 # nm: unknown option "B" ignored
5126 # Tru64's nm complains that /dev/null is an invalid object file
5127 if ($tmp_nm -B /dev
/null
2>&1 |
sed '1q'; exit 0) |
egrep '(/dev/null|Invalid file or object type)' >/dev
/null
; then
5128 lt_cv_path_NM
="$tmp_nm -B"
5130 elif ($tmp_nm -p /dev
/null
2>&1 |
sed '1q'; exit 0) |
egrep /dev
/null
>/dev
/null
; then
5131 lt_cv_path_NM
="$tmp_nm -p"
5134 lt_cv_path_NM
=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but
5135 continue # so that we can try to find one that supports BSD flags
5140 test -z "$lt_cv_path_NM" && lt_cv_path_NM
=nm
5145 echo "$as_me:$LINENO: result: $NM" >&5
5146 echo "${ECHO_T}$NM" >&6
5148 echo "$as_me:$LINENO: checking how to recognise dependant libraries" >&5
5149 echo $ECHO_N "checking how to recognise dependant libraries... $ECHO_C" >&6
5150 if test "${lt_cv_deplibs_check_method+set}" = set; then
5151 echo $ECHO_N "(cached) $ECHO_C" >&6
5153 lt_cv_file_magic_cmd
='$MAGIC_CMD'
5154 lt_cv_file_magic_test_file
=
5155 lt_cv_deplibs_check_method
='unknown'
5156 # Need to set the preceding variable on all platforms that support
5157 # interlibrary dependencies.
5158 # 'none' -- dependencies not supported.
5159 # `unknown' -- same as none, but documents that we really don't know.
5160 # 'pass_all' -- all dependencies passed with no checks.
5161 # 'test_compile' -- check by making test program.
5162 # 'file_magic [regex]' -- check by looking for files in library path
5163 # which responds to the $file_magic_cmd with a given egrep regex.
5164 # If you have `file' or equivalent on your system and you're not sure
5165 # whether `pass_all' will *always* work, you probably want this one.
5169 lt_cv_deplibs_check_method
=pass_all
5173 lt_cv_deplibs_check_method
=pass_all
5177 lt_cv_deplibs_check_method
='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib)'
5178 lt_cv_file_magic_cmd
='/usr/bin/file -L'
5179 lt_cv_file_magic_test_file
=/shlib
/libc.so
5182 cygwin
* | mingw
* |pw32
*)
5183 lt_cv_deplibs_check_method
='file_magic file format pei*-i386(.*architecture: i386)?'
5184 lt_cv_file_magic_cmd
='$OBJDUMP -f'
5187 darwin
* | rhapsody
*)
5188 # this will be overwritten by pass_all, but leave it in just in case
5189 lt_cv_deplibs_check_method
='file_magic Mach-O dynamically linked shared library'
5190 lt_cv_file_magic_cmd
='/usr/bin/file -L'
5192 rhapsody
* | darwin1.012
)
5193 lt_cv_file_magic_test_file
='/System/Library/Frameworks/System.framework/System'
5196 lt_cv_file_magic_test_file
='/usr/lib/libSystem.dylib'
5199 lt_cv_deplibs_check_method
=pass_all
5202 freebsd
* | kfreebsd
*-gnu)
5203 if echo __ELF__ |
$CC -E - |
grep __ELF__
> /dev
/null
; then
5206 # Not sure whether the presence of OpenBSD here was a mistake.
5207 # Let's accept both of them until this is cleared up.
5208 lt_cv_deplibs_check_method
='file_magic (FreeBSD|OpenBSD)/i[3-9]86 (compact )?demand paged shared library'
5209 lt_cv_file_magic_cmd
=/usr
/bin
/file
5210 lt_cv_file_magic_test_file
=`echo /usr/lib/libc.so.*`
5214 lt_cv_deplibs_check_method
=pass_all
5219 lt_cv_deplibs_check_method
=pass_all
5225 lt_cv_deplibs_check_method
='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9].[0-9]) shared library'
5226 lt_cv_file_magic_cmd
=/usr
/bin
/file
5227 lt_cv_file_magic_test_file
=/usr
/lib
/libc.sl
5230 lt_cv_deplibs_check_method
='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - IA64'
5231 lt_cv_file_magic_cmd
=/usr
/bin
/file
5232 lt_cv_file_magic_test_file
=/usr
/lib
/hpux32
/libc.so
5240 # this will be overridden with pass_all, but let us keep it just in case
5241 lt_cv_deplibs_check_method
="file_magic ELF 32-bit MSB dynamic lib MIPS - version 1"
5245 *-32|
*"-32 ") libmagic
=32-bit;;
5246 *-n32|
*"-n32 ") libmagic
=N32
;;
5247 *-64|
*"-64 ") libmagic
=64-bit;;
5248 *) libmagic
=never-match
;;
5250 # this will be overridden with pass_all, but let us keep it just in case
5251 lt_cv_deplibs_check_method
="file_magic ELF ${libmagic} MSB mips-[1234] dynamic lib MIPS - version 1"
5254 lt_cv_file_magic_test_file
=`echo /lib${libsuff}/libc.so*`
5255 lt_cv_deplibs_check_method
=pass_all
5258 # This must be Linux ELF.
5260 lt_cv_deplibs_check_method
=pass_all
5263 netbsd
* | knetbsd
*-gnu)
5264 if echo __ELF__ |
$CC -E - |
grep __ELF__
> /dev
/null
; then
5265 lt_cv_deplibs_check_method
='match_pattern /lib[^/\.]+\.so\.[0-9]+\.[0-9]+$'
5267 lt_cv_deplibs_check_method
='match_pattern /lib[^/\.]+\.so$'
5272 lt_cv_deplibs_check_method
='file_magic ELF [0-9][0-9]*-bit [ML]SB (executable|dynamic lib)'
5273 lt_cv_file_magic_cmd
=/usr
/bin
/file
5274 lt_cv_file_magic_test_file
=/usr
/lib
/libnls.so
5277 osf3
* | osf4
* | osf5
*)
5278 # this will be overridden with pass_all, but let us keep it just in case
5279 lt_cv_deplibs_check_method
='file_magic COFF format alpha shared library'
5280 lt_cv_file_magic_test_file
=/shlib
/libc.so
5281 lt_cv_deplibs_check_method
=pass_all
5285 lt_cv_deplibs_check_method
=pass_all
5289 lt_cv_deplibs_check_method
=pass_all
5290 lt_cv_file_magic_test_file
=/lib
/libc.so
5293 sysv5uw
[78]* | sysv4
*uw2
*)
5294 lt_cv_deplibs_check_method
=pass_all
5297 sysv4 | sysv4.2uw2
* | sysv4.3
* | sysv5
*)
5298 case $host_vendor in
5300 lt_cv_deplibs_check_method
=pass_all
5303 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]'
5304 lt_cv_file_magic_test_file
=`echo /usr/lib/libc.so*`
5311 echo "$as_me:$LINENO: result: $lt_cv_deplibs_check_method" >&5
5312 echo "${ECHO_T}$lt_cv_deplibs_check_method" >&6
5313 file_magic_cmd
=$lt_cv_file_magic_cmd
5314 deplibs_check_method
=$lt_cv_deplibs_check_method
5319 # Autoconf 2.13's AC_OBJEXT and AC_EXEEXT macros only works for C compilers!
5321 # find the maximum length of command line arguments
5322 echo "$as_me:$LINENO: checking the maximum length of command line arguments" >&5
5323 echo $ECHO_N "checking the maximum length of command line arguments... $ECHO_C" >&6
5324 if test "${lt_cv_sys_max_cmd_len+set}" = set; then
5325 echo $ECHO_N "(cached) $ECHO_C" >&6
5332 # On DJGPP, this test can blow up pretty badly due to problems in libc
5333 # (any single argument exceeding 2000 bytes causes a buffer overrun
5334 # during glob expansion). Even if it were fixed, the result of this
5335 # check would be larger than it should be.
5336 lt_cv_sys_max_cmd_len
=12288; # 12K is about right
5340 # On Win9x/ME, this test blows up -- it succeeds, but takes
5341 # about 5 minutes as the teststring grows exponentially.
5342 # Worse, since 9x/ME are not pre-emptively multitasking,
5343 # you end up with a "frozen" computer, even though with patience
5344 # the test eventually succeeds (with a max line length of 256k).
5345 # Instead, let's just punt: use the minimum linelength reported by
5346 # all of the supported platforms: 8192 (on NT/2K/XP).
5347 lt_cv_sys_max_cmd_len
=8192;
5351 # On AmigaOS with pdksh, this test takes hours, literally.
5352 # So we just punt and use a minimum line length of 8192.
5353 lt_cv_sys_max_cmd_len
=8192;
5356 netbsd
* | freebsd
* | openbsd
* | darwin
* | dragonfly
*)
5357 # This has been around since 386BSD, at least. Likely further.
5358 if test -x /sbin
/sysctl
; then
5359 lt_cv_sys_max_cmd_len
=`/sbin/sysctl -n kern.argmax`
5360 elif test -x /usr
/sbin
/sysctl
; then
5361 lt_cv_sys_max_cmd_len
=`/usr/sbin/sysctl -n kern.argmax`
5363 lt_cv_sys_max_cmd_len
=65536 # usable default for *BSD
5365 # And add a safety zone
5366 lt_cv_sys_max_cmd_len
=`expr $lt_cv_sys_max_cmd_len \/ 4`
5367 lt_cv_sys_max_cmd_len
=`expr $lt_cv_sys_max_cmd_len \* 3`
5373 if test -n "$lt_cv_sys_max_cmd_len" ; then
5374 echo "$as_me:$LINENO: result: $lt_cv_sys_max_cmd_len" >&5
5375 echo "${ECHO_T}$lt_cv_sys_max_cmd_len" >&6
5377 echo "$as_me:$LINENO: result: none" >&5
5378 echo "${ECHO_T}none" >&6
5382 # Only perform the check for file, if the check method requires it
5383 case $deplibs_check_method in
5385 if test "$file_magic_cmd" = '$MAGIC_CMD'; then
5386 echo "$as_me:$LINENO: checking for ${ac_tool_prefix}file" >&5
5387 echo $ECHO_N "checking for ${ac_tool_prefix}file... $ECHO_C" >&6
5388 if test "${lt_cv_path_MAGIC_CMD+set}" = set; then
5389 echo $ECHO_N "(cached) $ECHO_C" >&6
5393 lt_cv_path_MAGIC_CMD
="$MAGIC_CMD" # Let the user override the test with a path.
5396 lt_cv_path_MAGIC_CMD
="$MAGIC_CMD" # Let the user override the test with a dos path.
5399 ac_save_MAGIC_CMD
="$MAGIC_CMD"
5400 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
=":"
5401 ac_dummy
="/usr/bin:$PATH"
5402 for ac_dir
in $ac_dummy; do
5403 test -z "$ac_dir" && ac_dir
=.
5404 if test -f $ac_dir/${ac_tool_prefix}file; then
5405 lt_cv_path_MAGIC_CMD
="$ac_dir/${ac_tool_prefix}file"
5406 if test -n "$file_magic_test_file"; then
5407 case $deplibs_check_method in
5409 file_magic_regex
="`expr \"$deplibs_check_method\" : \"file_magic \(.*\)\"`"
5410 MAGIC_CMD
="$lt_cv_path_MAGIC_CMD"
5411 if eval $file_magic_cmd \
$file_magic_test_file 2> /dev
/null |
5412 egrep "$file_magic_regex" > /dev
/null
; then
5417 *** Warning: the command libtool uses to detect shared libraries,
5418 *** $file_magic_cmd, produces output that libtool cannot recognize.
5419 *** The result is that libtool may fail to recognize shared libraries
5420 *** as such. This will affect the creation of libtool libraries that
5421 *** depend on shared libraries, but programs linked with such libtool
5422 *** libraries will work regardless of this problem. Nevertheless, you
5423 *** may want to report the problem to your system manager and/or to
5424 *** bug-libtool@gnu.org
5434 MAGIC_CMD
="$ac_save_MAGIC_CMD"
5439 MAGIC_CMD
="$lt_cv_path_MAGIC_CMD"
5440 if test -n "$MAGIC_CMD"; then
5441 echo "$as_me:$LINENO: result: $MAGIC_CMD" >&5
5442 echo "${ECHO_T}$MAGIC_CMD" >&6
5444 echo "$as_me:$LINENO: result: no" >&5
5445 echo "${ECHO_T}no" >&6
5448 if test -z "$lt_cv_path_MAGIC_CMD"; then
5449 if test -n "$ac_tool_prefix"; then
5450 echo "$as_me:$LINENO: checking for file" >&5
5451 echo $ECHO_N "checking for file... $ECHO_C" >&6
5452 if test "${lt_cv_path_MAGIC_CMD+set}" = set; then
5453 echo $ECHO_N "(cached) $ECHO_C" >&6
5457 lt_cv_path_MAGIC_CMD
="$MAGIC_CMD" # Let the user override the test with a path.
5460 lt_cv_path_MAGIC_CMD
="$MAGIC_CMD" # Let the user override the test with a dos path.
5463 ac_save_MAGIC_CMD
="$MAGIC_CMD"
5464 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
=":"
5465 ac_dummy
="/usr/bin:$PATH"
5466 for ac_dir
in $ac_dummy; do
5467 test -z "$ac_dir" && ac_dir
=.
5468 if test -f $ac_dir/file; then
5469 lt_cv_path_MAGIC_CMD
="$ac_dir/file"
5470 if test -n "$file_magic_test_file"; then
5471 case $deplibs_check_method in
5473 file_magic_regex
="`expr \"$deplibs_check_method\" : \"file_magic \(.*\)\"`"
5474 MAGIC_CMD
="$lt_cv_path_MAGIC_CMD"
5475 if eval $file_magic_cmd \
$file_magic_test_file 2> /dev
/null |
5476 egrep "$file_magic_regex" > /dev
/null
; then
5481 *** Warning: the command libtool uses to detect shared libraries,
5482 *** $file_magic_cmd, produces output that libtool cannot recognize.
5483 *** The result is that libtool may fail to recognize shared libraries
5484 *** as such. This will affect the creation of libtool libraries that
5485 *** depend on shared libraries, but programs linked with such libtool
5486 *** libraries will work regardless of this problem. Nevertheless, you
5487 *** may want to report the problem to your system manager and/or to
5488 *** bug-libtool@gnu.org
5498 MAGIC_CMD
="$ac_save_MAGIC_CMD"
5503 MAGIC_CMD
="$lt_cv_path_MAGIC_CMD"
5504 if test -n "$MAGIC_CMD"; then
5505 echo "$as_me:$LINENO: result: $MAGIC_CMD" >&5
5506 echo "${ECHO_T}$MAGIC_CMD" >&6
5508 echo "$as_me:$LINENO: result: no" >&5
5509 echo "${ECHO_T}no" >&6
5521 if test -n "$ac_tool_prefix"; then
5522 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
5523 set dummy
${ac_tool_prefix}ranlib
; ac_word
=$2
5524 echo "$as_me:$LINENO: checking for $ac_word" >&5
5525 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
5526 if test "${ac_cv_prog_RANLIB+set}" = set; then
5527 echo $ECHO_N "(cached) $ECHO_C" >&6
5529 if test -n "$RANLIB"; then
5530 ac_cv_prog_RANLIB
="$RANLIB" # Let the user override the test.
5532 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5536 test -z "$as_dir" && as_dir
=.
5537 for ac_exec_ext
in '' $ac_executable_extensions; do
5538 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5539 ac_cv_prog_RANLIB
="${ac_tool_prefix}ranlib"
5540 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5548 RANLIB
=$ac_cv_prog_RANLIB
5549 if test -n "$RANLIB"; then
5550 echo "$as_me:$LINENO: result: $RANLIB" >&5
5551 echo "${ECHO_T}$RANLIB" >&6
5553 echo "$as_me:$LINENO: result: no" >&5
5554 echo "${ECHO_T}no" >&6
5558 if test -z "$ac_cv_prog_RANLIB"; then
5559 ac_ct_RANLIB
=$RANLIB
5560 # Extract the first word of "ranlib", so it can be a program name with args.
5561 set dummy ranlib
; ac_word
=$2
5562 echo "$as_me:$LINENO: checking for $ac_word" >&5
5563 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
5564 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
5565 echo $ECHO_N "(cached) $ECHO_C" >&6
5567 if test -n "$ac_ct_RANLIB"; then
5568 ac_cv_prog_ac_ct_RANLIB
="$ac_ct_RANLIB" # Let the user override the test.
5570 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5574 test -z "$as_dir" && as_dir
=.
5575 for ac_exec_ext
in '' $ac_executable_extensions; do
5576 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5577 ac_cv_prog_ac_ct_RANLIB
="ranlib"
5578 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5584 test -z "$ac_cv_prog_ac_ct_RANLIB" && ac_cv_prog_ac_ct_RANLIB
=":"
5587 ac_ct_RANLIB
=$ac_cv_prog_ac_ct_RANLIB
5588 if test -n "$ac_ct_RANLIB"; then
5589 echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
5590 echo "${ECHO_T}$ac_ct_RANLIB" >&6
5592 echo "$as_me:$LINENO: result: no" >&5
5593 echo "${ECHO_T}no" >&6
5596 RANLIB
=$ac_ct_RANLIB
5598 RANLIB
="$ac_cv_prog_RANLIB"
5601 if test -n "$ac_tool_prefix"; then
5602 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
5603 set dummy
${ac_tool_prefix}strip
; ac_word
=$2
5604 echo "$as_me:$LINENO: checking for $ac_word" >&5
5605 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
5606 if test "${ac_cv_prog_STRIP+set}" = set; then
5607 echo $ECHO_N "(cached) $ECHO_C" >&6
5609 if test -n "$STRIP"; then
5610 ac_cv_prog_STRIP
="$STRIP" # Let the user override the test.
5612 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5616 test -z "$as_dir" && as_dir
=.
5617 for ac_exec_ext
in '' $ac_executable_extensions; do
5618 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5619 ac_cv_prog_STRIP
="${ac_tool_prefix}strip"
5620 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5628 STRIP
=$ac_cv_prog_STRIP
5629 if test -n "$STRIP"; then
5630 echo "$as_me:$LINENO: result: $STRIP" >&5
5631 echo "${ECHO_T}$STRIP" >&6
5633 echo "$as_me:$LINENO: result: no" >&5
5634 echo "${ECHO_T}no" >&6
5638 if test -z "$ac_cv_prog_STRIP"; then
5640 # Extract the first word of "strip", so it can be a program name with args.
5641 set dummy strip
; ac_word
=$2
5642 echo "$as_me:$LINENO: checking for $ac_word" >&5
5643 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
5644 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
5645 echo $ECHO_N "(cached) $ECHO_C" >&6
5647 if test -n "$ac_ct_STRIP"; then
5648 ac_cv_prog_ac_ct_STRIP
="$ac_ct_STRIP" # Let the user override the test.
5650 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5654 test -z "$as_dir" && as_dir
=.
5655 for ac_exec_ext
in '' $ac_executable_extensions; do
5656 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5657 ac_cv_prog_ac_ct_STRIP
="strip"
5658 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5664 test -z "$ac_cv_prog_ac_ct_STRIP" && ac_cv_prog_ac_ct_STRIP
=":"
5667 ac_ct_STRIP
=$ac_cv_prog_ac_ct_STRIP
5668 if test -n "$ac_ct_STRIP"; then
5669 echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
5670 echo "${ECHO_T}$ac_ct_STRIP" >&6
5672 echo "$as_me:$LINENO: result: no" >&5
5673 echo "${ECHO_T}no" >&6
5678 STRIP
="$ac_cv_prog_STRIP"
5682 # Check for any special flags to pass to ltconfig.
5683 libtool_flags
="--cache-file=$cache_file"
5684 test "$enable_shared" = no
&& libtool_flags
="$libtool_flags --disable-shared"
5685 test "$enable_static" = no
&& libtool_flags
="$libtool_flags --disable-static"
5686 test "$enable_fast_install" = no
&& libtool_flags
="$libtool_flags --disable-fast-install"
5687 test "$GCC" = yes && libtool_flags
="$libtool_flags --with-gcc"
5688 test "$lt_cv_prog_gnu_ld" = yes && libtool_flags
="$libtool_flags --with-gnu-ld"
5691 # Check whether --enable-libtool-lock or --disable-libtool-lock was given.
5692 if test "${enable_libtool_lock+set}" = set; then
5693 enableval
="$enable_libtool_lock"
5696 test "x$enable_libtool_lock" = xno
&& libtool_flags
="$libtool_flags --disable-lock"
5697 test x
"$silent" = xyes
&& libtool_flags
="$libtool_flags --silent"
5700 # Check whether --with-pic or --without-pic was given.
5701 if test "${with_pic+set}" = set; then
5707 test x
"$pic_mode" = xyes
&& libtool_flags
="$libtool_flags --prefer-pic"
5708 test x
"$pic_mode" = xno
&& libtool_flags
="$libtool_flags --prefer-non-pic"
5710 # Some flags need to be propagated to the compiler or linker for good
5714 # Find out which ABI we are using.
5715 echo '#line 5715 "configure"' > conftest.
$ac_ext
5716 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5717 (eval $ac_compile) 2>&5
5719 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5720 (exit $ac_status); }; then
5721 if test "$lt_cv_prog_gnu_ld" = yes; then
5722 case `/usr/bin/file conftest.$ac_objext` in
5724 LD
="${LD-ld} -melf32bsmip"
5727 LD
="${LD-ld} -melf32bmipn32"
5730 LD
="${LD-ld} -melf64bmip"
5734 case `/usr/bin/file conftest.$ac_objext` in
5751 # Find out which ABI we are using.
5752 echo 'int i;' > conftest.
$ac_ext
5753 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5754 (eval $ac_compile) 2>&5
5756 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5757 (exit $ac_status); }; then
5758 case "`/usr/bin/file conftest.o`" in
5770 x86_64-
*linux
*|ppc
*-*linux
*|powerpc
*-*linux
*|s390
*-*linux
*|sparc
*-*linux
*)
5771 # Find out which ABI we are using.
5772 echo 'int i;' > conftest.
$ac_ext
5773 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5774 (eval $ac_compile) 2>&5
5776 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5777 (exit $ac_status); }; then
5778 case "`/usr/bin/file conftest.o`" in
5782 LD
="${LD-ld} -m elf_i386"
5784 ppc64-
*linux
*|powerpc64-
*linux
*)
5785 LD
="${LD-ld} -m elf32ppclinux"
5788 LD
="${LD-ld} -m elf_s390"
5791 LD
="${LD-ld} -m elf32_sparc"
5798 LD
="${LD-ld} -m elf_x86_64"
5800 ppc
*-*linux
*|powerpc
*-*linux
*)
5801 LD
="${LD-ld} -m elf64ppc"
5804 LD
="${LD-ld} -m elf64_s390"
5807 LD
="${LD-ld} -m elf64_sparc"
5817 # On SCO OpenServer 5, we need -belf to get full-featured binaries.
5818 SAVE_CFLAGS
="$CFLAGS"
5819 CFLAGS
="$CFLAGS -belf"
5820 echo "$as_me:$LINENO: checking whether the C compiler needs -belf" >&5
5821 echo $ECHO_N "checking whether the C compiler needs -belf... $ECHO_C" >&6
5822 if test "${lt_cv_cc_needs_belf+set}" = set; then
5823 echo $ECHO_N "(cached) $ECHO_C" >&6
5828 ac_cpp
='$CPP $CPPFLAGS'
5829 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5830 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5831 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
5833 cat >conftest.
$ac_ext <<_ACEOF
5836 cat confdefs.h
>>conftest.
$ac_ext
5837 cat >>conftest.
$ac_ext <<_ACEOF
5838 /* end confdefs.h. */
5848 rm -f conftest.
$ac_objext conftest
$ac_exeext
5849 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
5850 (eval $ac_link) 2>conftest.er1
5852 grep -v '^ *+' conftest.er1
>conftest.err
5854 cat conftest.err
>&5
5855 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5856 (exit $ac_status); } &&
5857 { ac_try
='test -z "$ac_c_werror_flag"
5858 || test ! -s conftest.err'
5859 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5862 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5863 (exit $ac_status); }; } &&
5864 { ac_try
='test -s conftest$ac_exeext'
5865 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5868 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5869 (exit $ac_status); }; }; then
5870 lt_cv_cc_needs_belf
=yes
5872 echo "$as_me: failed program was:" >&5
5873 sed 's/^/| /' conftest.
$ac_ext >&5
5875 lt_cv_cc_needs_belf
=no
5877 rm -f conftest.err conftest.
$ac_objext \
5878 conftest
$ac_exeext conftest.
$ac_ext
5880 ac_cpp
='$CPP $CPPFLAGS'
5881 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5882 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5883 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
5886 echo "$as_me:$LINENO: result: $lt_cv_cc_needs_belf" >&5
5887 echo "${ECHO_T}$lt_cv_cc_needs_belf" >&6
5888 if test x
"$lt_cv_cc_needs_belf" != x
"yes"; then
5889 # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
5890 CFLAGS
="$SAVE_CFLAGS"
5898 # Save cache, so that ltconfig can load it
5899 cat >confcache
<<\_ACEOF
5900 # This file is a shell script that caches the results of configure
5901 # tests run on this system so they can be shared between configure
5902 # scripts and configure runs, see configure's option --config-cache.
5903 # It is not useful on other systems. If it contains results you don't
5904 # want to keep, you may remove or edit it.
5906 # config.status only pays attention to the cache file if you give it
5907 # the --recheck option to rerun configure.
5909 # `ac_cv_env_foo' variables (set or unset) will be overridden when
5910 # loading this file, other *unset* `ac_cv_foo' will be assigned the
5915 # The following way of writing the cache mishandles newlines in values,
5916 # but we know of no workaround that is simple, portable, and efficient.
5917 # So, don't put newlines in cache variables' values.
5918 # Ultrix sh set writes to stderr and can't be redirected directly,
5919 # and sets the high bit in the cache file unless we assign to the vars.
5922 case `(ac_space=' '; set | grep ac_space) 2>&1` in
5924 # `set' does not quote correctly, so add quotes (double-quote
5925 # substitution turns \\\\ into \\, and sed turns \\ into \).
5928 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
5931 # `set' quotes correctly as required by POSIX, so do not add quotes.
5933 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
5940 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
5942 /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
5944 if diff $cache_file confcache
>/dev
/null
2>&1; then :; else
5945 if test -w $cache_file; then
5946 test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
5947 cat confcache
>$cache_file
5949 echo "not updating unwritable cache $cache_file"
5954 # Actually configure libtool. ac_aux_dir is where install-sh is found.
5955 AR
="$AR" LTCC
="$CC" CC
="$CC" CFLAGS
="$CFLAGS" CPPFLAGS
="$CPPFLAGS" \
5956 MAGIC_CMD
="$MAGIC_CMD" LD
="$LD" LDFLAGS
="$LDFLAGS" LIBS
="$LIBS" \
5957 LN_S
="$LN_S" NM
="$NM" RANLIB
="$RANLIB" STRIP
="$STRIP" \
5958 AS
="$AS" DLLTOOL
="$DLLTOOL" OBJDUMP
="$OBJDUMP" \
5959 objext
="$OBJEXT" exeext
="$EXEEXT" reload_flag
="$reload_flag" \
5960 deplibs_check_method
="$deplibs_check_method" file_magic_cmd
="$file_magic_cmd" \
5961 ${CONFIG_SHELL-/bin/sh} $ac_aux_dir/ltconfig
--no-reexec \
5962 $libtool_flags --no-verify --build="$build" $ac_aux_dir/ltmain.sh
$host \
5963 ||
{ { echo "$as_me:$LINENO: error: libtool configure failed" >&5
5964 echo "$as_me: error: libtool configure failed" >&2;}
5965 { (exit 1); exit 1; }; }
5967 # Reload cache, that may have been modified by ltconfig
5968 if test -r "$cache_file"; then
5969 # Some versions of bash will fail to source /dev/null (special
5970 # files actually), so we avoid doing that.
5971 if test -f "$cache_file"; then
5972 { echo "$as_me:$LINENO: loading cache $cache_file" >&5
5973 echo "$as_me: loading cache $cache_file" >&6;}
5975 [\\/]* | ?
:[\\/]* ) .
$cache_file;;
5976 *) . .
/$cache_file;;
5980 { echo "$as_me:$LINENO: creating cache $cache_file" >&5
5981 echo "$as_me: creating cache $cache_file" >&6;}
5986 # This can be used to rebuild libtool when needed
5987 LIBTOOL_DEPS
="$ac_aux_dir/ltconfig $ac_aux_dir/ltmain.sh $ac_aux_dir/ltcf-c.sh"
5989 # Always use our own libtool.
5990 LIBTOOL
='$(SHELL) $(top_builddir)/libtool'
5992 # Redirect the config.log output again, so that the ltconfig log is not
5993 # clobbered by the next message.
5994 exec 5>>.
/config.log
5997 ac_cpp
='$CXXCPP $CPPFLAGS'
5998 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5999 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6000 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
6001 echo "$as_me:$LINENO: checking how to run the C++ preprocessor" >&5
6002 echo $ECHO_N "checking how to run the C++ preprocessor... $ECHO_C" >&6
6003 if test -z "$CXXCPP"; then
6004 if test "${ac_cv_prog_CXXCPP+set}" = set; then
6005 echo $ECHO_N "(cached) $ECHO_C" >&6
6007 # Double quotes because CXXCPP needs to be expanded
6008 for CXXCPP
in "$CXX -E" "/lib/cpp"
6011 for ac_cxx_preproc_warn_flag
in '' yes
6013 # Use a header file that comes with gcc, so configuring glibc
6014 # with a fresh cross-compiler works.
6015 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
6016 # <limits.h> exists even on freestanding compilers.
6017 # On the NeXT, cc -E runs the code through the compiler's parser,
6018 # not just through cpp. "Syntax error" is here to catch this case.
6019 cat >conftest.
$ac_ext <<_ACEOF
6022 cat confdefs.h
>>conftest.
$ac_ext
6023 cat >>conftest.
$ac_ext <<_ACEOF
6024 /* end confdefs.h. */
6026 # include <limits.h>
6028 # include <assert.h>
6032 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
6033 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
6035 grep -v '^ *+' conftest.er1
>conftest.err
6037 cat conftest.err
>&5
6038 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6039 (exit $ac_status); } >/dev
/null
; then
6040 if test -s conftest.err
; then
6041 ac_cpp_err
=$ac_cxx_preproc_warn_flag
6042 ac_cpp_err
=$ac_cpp_err$ac_cxx_werror_flag
6049 if test -z "$ac_cpp_err"; then
6052 echo "$as_me: failed program was:" >&5
6053 sed 's/^/| /' conftest.
$ac_ext >&5
6055 # Broken: fails on valid input.
6058 rm -f conftest.err conftest.
$ac_ext
6060 # OK, works on sane cases. Now check whether non-existent headers
6061 # can be detected and how.
6062 cat >conftest.
$ac_ext <<_ACEOF
6065 cat confdefs.h
>>conftest.
$ac_ext
6066 cat >>conftest.
$ac_ext <<_ACEOF
6067 /* end confdefs.h. */
6068 #include <ac_nonexistent.h>
6070 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
6071 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
6073 grep -v '^ *+' conftest.er1
>conftest.err
6075 cat conftest.err
>&5
6076 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6077 (exit $ac_status); } >/dev
/null
; then
6078 if test -s conftest.err
; then
6079 ac_cpp_err
=$ac_cxx_preproc_warn_flag
6080 ac_cpp_err
=$ac_cpp_err$ac_cxx_werror_flag
6087 if test -z "$ac_cpp_err"; then
6088 # Broken: success on invalid input.
6091 echo "$as_me: failed program was:" >&5
6092 sed 's/^/| /' conftest.
$ac_ext >&5
6094 # Passes both tests.
6098 rm -f conftest.err conftest.
$ac_ext
6101 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
6102 rm -f conftest.err conftest.
$ac_ext
6103 if $ac_preproc_ok; then
6108 ac_cv_prog_CXXCPP
=$CXXCPP
6111 CXXCPP
=$ac_cv_prog_CXXCPP
6113 ac_cv_prog_CXXCPP
=$CXXCPP
6115 echo "$as_me:$LINENO: result: $CXXCPP" >&5
6116 echo "${ECHO_T}$CXXCPP" >&6
6118 for ac_cxx_preproc_warn_flag
in '' yes
6120 # Use a header file that comes with gcc, so configuring glibc
6121 # with a fresh cross-compiler works.
6122 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
6123 # <limits.h> exists even on freestanding compilers.
6124 # On the NeXT, cc -E runs the code through the compiler's parser,
6125 # not just through cpp. "Syntax error" is here to catch this case.
6126 cat >conftest.
$ac_ext <<_ACEOF
6129 cat confdefs.h
>>conftest.
$ac_ext
6130 cat >>conftest.
$ac_ext <<_ACEOF
6131 /* end confdefs.h. */
6133 # include <limits.h>
6135 # include <assert.h>
6139 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
6140 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
6142 grep -v '^ *+' conftest.er1
>conftest.err
6144 cat conftest.err
>&5
6145 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6146 (exit $ac_status); } >/dev
/null
; then
6147 if test -s conftest.err
; then
6148 ac_cpp_err
=$ac_cxx_preproc_warn_flag
6149 ac_cpp_err
=$ac_cpp_err$ac_cxx_werror_flag
6156 if test -z "$ac_cpp_err"; then
6159 echo "$as_me: failed program was:" >&5
6160 sed 's/^/| /' conftest.
$ac_ext >&5
6162 # Broken: fails on valid input.
6165 rm -f conftest.err conftest.
$ac_ext
6167 # OK, works on sane cases. Now check whether non-existent headers
6168 # can be detected and how.
6169 cat >conftest.
$ac_ext <<_ACEOF
6172 cat confdefs.h
>>conftest.
$ac_ext
6173 cat >>conftest.
$ac_ext <<_ACEOF
6174 /* end confdefs.h. */
6175 #include <ac_nonexistent.h>
6177 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
6178 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
6180 grep -v '^ *+' conftest.er1
>conftest.err
6182 cat conftest.err
>&5
6183 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6184 (exit $ac_status); } >/dev
/null
; then
6185 if test -s conftest.err
; then
6186 ac_cpp_err
=$ac_cxx_preproc_warn_flag
6187 ac_cpp_err
=$ac_cpp_err$ac_cxx_werror_flag
6194 if test -z "$ac_cpp_err"; then
6195 # Broken: success on invalid input.
6198 echo "$as_me: failed program was:" >&5
6199 sed 's/^/| /' conftest.
$ac_ext >&5
6201 # Passes both tests.
6205 rm -f conftest.err conftest.
$ac_ext
6208 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
6209 rm -f conftest.err conftest.
$ac_ext
6210 if $ac_preproc_ok; then
6213 { { echo "$as_me:$LINENO: error: C++ preprocessor \"$CXXCPP\" fails sanity check
6214 See \`config.log' for more details." >&5
6215 echo "$as_me: error: C++ preprocessor \"$CXXCPP\" fails sanity check
6216 See \`config.log' for more details." >&2;}
6217 { (exit 1); exit 1; }; }
6221 ac_cpp
='$CPP $CPPFLAGS'
6222 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6223 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6224 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
6228 LIBTOOL_DEPS
=$LIBTOOL_DEPS" $ac_aux_dir/ltcf-cxx.sh"
6230 lt_save_CFLAGS
="$CFLAGS"
6231 AR
="$AR" LTCC
="$CC" CC
="$CXX" CXX
="$CXX" CFLAGS
="$CXXFLAGS" CPPFLAGS
="$CPPFLAGS" \
6232 MAGIC_CMD
="$MAGIC_CMD" LD
="$LD" LDFLAGS
="$LDFLAGS" LIBS
="$LIBS" \
6233 LN_S
="$LN_S" NM
="$NM" RANLIB
="$RANLIB" STRIP
="$STRIP" \
6234 AS
="$AS" DLLTOOL
="$DLLTOOL" OBJDUMP
="$OBJDUMP" \
6235 objext
="$OBJEXT" exeext
="$EXEEXT" reload_flag
="$reload_flag" \
6236 deplibs_check_method
="$deplibs_check_method" \
6237 file_magic_cmd
="$file_magic_cmd" \
6238 ${CONFIG_SHELL-/bin/sh} $ac_aux_dir/ltconfig
-o libtool
$libtool_flags \
6239 --build="$build" --add-tag=CXX
$ac_aux_dir/ltcf-cxx.sh
$host \
6240 ||
{ { echo "$as_me:$LINENO: error: libtool tag configuration failed" >&5
6241 echo "$as_me: error: libtool tag configuration failed" >&2;}
6242 { (exit 1); exit 1; }; }
6244 CFLAGS
="$lt_save_CFLAGS"
6246 # Redirect the config.log output again, so that the ltconfig log is not
6247 # clobbered by the next message.
6248 exec 5>>.
/config.log
6256 ac_cpp
='$CPP $CPPFLAGS'
6257 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6258 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6259 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
6260 if test -n "$ac_tool_prefix"; then
6261 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
6262 set dummy
${ac_tool_prefix}gcc
; ac_word
=$2
6263 echo "$as_me:$LINENO: checking for $ac_word" >&5
6264 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
6265 if test "${ac_cv_prog_CC+set}" = set; then
6266 echo $ECHO_N "(cached) $ECHO_C" >&6
6268 if test -n "$CC"; then
6269 ac_cv_prog_CC
="$CC" # Let the user override the test.
6271 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6275 test -z "$as_dir" && as_dir
=.
6276 for ac_exec_ext
in '' $ac_executable_extensions; do
6277 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6278 ac_cv_prog_CC
="${ac_tool_prefix}gcc"
6279 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6288 if test -n "$CC"; then
6289 echo "$as_me:$LINENO: result: $CC" >&5
6290 echo "${ECHO_T}$CC" >&6
6292 echo "$as_me:$LINENO: result: no" >&5
6293 echo "${ECHO_T}no" >&6
6297 if test -z "$ac_cv_prog_CC"; then
6299 # Extract the first word of "gcc", so it can be a program name with args.
6300 set dummy gcc
; ac_word
=$2
6301 echo "$as_me:$LINENO: checking for $ac_word" >&5
6302 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
6303 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
6304 echo $ECHO_N "(cached) $ECHO_C" >&6
6306 if test -n "$ac_ct_CC"; then
6307 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
6309 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6313 test -z "$as_dir" && as_dir
=.
6314 for ac_exec_ext
in '' $ac_executable_extensions; do
6315 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6316 ac_cv_prog_ac_ct_CC
="gcc"
6317 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6325 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
6326 if test -n "$ac_ct_CC"; then
6327 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
6328 echo "${ECHO_T}$ac_ct_CC" >&6
6330 echo "$as_me:$LINENO: result: no" >&5
6331 echo "${ECHO_T}no" >&6
6339 if test -z "$CC"; then
6340 if test -n "$ac_tool_prefix"; then
6341 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
6342 set dummy
${ac_tool_prefix}cc
; ac_word
=$2
6343 echo "$as_me:$LINENO: checking for $ac_word" >&5
6344 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
6345 if test "${ac_cv_prog_CC+set}" = set; then
6346 echo $ECHO_N "(cached) $ECHO_C" >&6
6348 if test -n "$CC"; then
6349 ac_cv_prog_CC
="$CC" # Let the user override the test.
6351 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6355 test -z "$as_dir" && as_dir
=.
6356 for ac_exec_ext
in '' $ac_executable_extensions; do
6357 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6358 ac_cv_prog_CC
="${ac_tool_prefix}cc"
6359 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6368 if test -n "$CC"; then
6369 echo "$as_me:$LINENO: result: $CC" >&5
6370 echo "${ECHO_T}$CC" >&6
6372 echo "$as_me:$LINENO: result: no" >&5
6373 echo "${ECHO_T}no" >&6
6377 if test -z "$ac_cv_prog_CC"; then
6379 # Extract the first word of "cc", so it can be a program name with args.
6380 set dummy cc
; ac_word
=$2
6381 echo "$as_me:$LINENO: checking for $ac_word" >&5
6382 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
6383 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
6384 echo $ECHO_N "(cached) $ECHO_C" >&6
6386 if test -n "$ac_ct_CC"; then
6387 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
6389 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6393 test -z "$as_dir" && as_dir
=.
6394 for ac_exec_ext
in '' $ac_executable_extensions; do
6395 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6396 ac_cv_prog_ac_ct_CC
="cc"
6397 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6405 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
6406 if test -n "$ac_ct_CC"; then
6407 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
6408 echo "${ECHO_T}$ac_ct_CC" >&6
6410 echo "$as_me:$LINENO: result: no" >&5
6411 echo "${ECHO_T}no" >&6
6420 if test -z "$CC"; then
6421 # Extract the first word of "cc", so it can be a program name with args.
6422 set dummy cc
; ac_word
=$2
6423 echo "$as_me:$LINENO: checking for $ac_word" >&5
6424 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
6425 if test "${ac_cv_prog_CC+set}" = set; then
6426 echo $ECHO_N "(cached) $ECHO_C" >&6
6428 if test -n "$CC"; then
6429 ac_cv_prog_CC
="$CC" # Let the user override the test.
6432 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6436 test -z "$as_dir" && as_dir
=.
6437 for ac_exec_ext
in '' $ac_executable_extensions; do
6438 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6439 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
6440 ac_prog_rejected
=yes
6444 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6450 if test $ac_prog_rejected = yes; then
6451 # We found a bogon in the path, so make sure we never use it.
6452 set dummy
$ac_cv_prog_CC
6454 if test $# != 0; then
6455 # We chose a different compiler from the bogus one.
6456 # However, it has the same basename, so the bogon will be chosen
6457 # first if we set CC to just the basename; use the full file name.
6459 ac_cv_prog_CC
="$as_dir/$ac_word${1+' '}$@"
6465 if test -n "$CC"; then
6466 echo "$as_me:$LINENO: result: $CC" >&5
6467 echo "${ECHO_T}$CC" >&6
6469 echo "$as_me:$LINENO: result: no" >&5
6470 echo "${ECHO_T}no" >&6
6474 if test -z "$CC"; then
6475 if test -n "$ac_tool_prefix"; then
6478 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
6479 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
6480 echo "$as_me:$LINENO: checking for $ac_word" >&5
6481 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
6482 if test "${ac_cv_prog_CC+set}" = set; then
6483 echo $ECHO_N "(cached) $ECHO_C" >&6
6485 if test -n "$CC"; then
6486 ac_cv_prog_CC
="$CC" # Let the user override the test.
6488 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6492 test -z "$as_dir" && as_dir
=.
6493 for ac_exec_ext
in '' $ac_executable_extensions; do
6494 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6495 ac_cv_prog_CC
="$ac_tool_prefix$ac_prog"
6496 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6505 if test -n "$CC"; then
6506 echo "$as_me:$LINENO: result: $CC" >&5
6507 echo "${ECHO_T}$CC" >&6
6509 echo "$as_me:$LINENO: result: no" >&5
6510 echo "${ECHO_T}no" >&6
6513 test -n "$CC" && break
6516 if test -z "$CC"; then
6520 # Extract the first word of "$ac_prog", so it can be a program name with args.
6521 set dummy
$ac_prog; ac_word
=$2
6522 echo "$as_me:$LINENO: checking for $ac_word" >&5
6523 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
6524 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
6525 echo $ECHO_N "(cached) $ECHO_C" >&6
6527 if test -n "$ac_ct_CC"; then
6528 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
6530 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6534 test -z "$as_dir" && as_dir
=.
6535 for ac_exec_ext
in '' $ac_executable_extensions; do
6536 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6537 ac_cv_prog_ac_ct_CC
="$ac_prog"
6538 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6546 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
6547 if test -n "$ac_ct_CC"; then
6548 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
6549 echo "${ECHO_T}$ac_ct_CC" >&6
6551 echo "$as_me:$LINENO: result: no" >&5
6552 echo "${ECHO_T}no" >&6
6555 test -n "$ac_ct_CC" && break
6564 test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
6565 See \`config.log' for more details." >&5
6566 echo "$as_me: error: no acceptable C compiler found in \$PATH
6567 See \`config.log' for more details." >&2;}
6568 { (exit 1); exit 1; }; }
6570 # Provide some information about the compiler.
6571 echo "$as_me:$LINENO:" \
6572 "checking for C compiler version" >&5
6573 ac_compiler
=`set X $ac_compile; echo $2`
6574 { (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5
6575 (eval $ac_compiler --version </dev
/null
>&5) 2>&5
6577 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6578 (exit $ac_status); }
6579 { (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5
6580 (eval $ac_compiler -v </dev
/null
>&5) 2>&5
6582 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6583 (exit $ac_status); }
6584 { (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5
6585 (eval $ac_compiler -V </dev
/null
>&5) 2>&5
6587 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6588 (exit $ac_status); }
6590 echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
6591 echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6
6592 if test "${ac_cv_c_compiler_gnu+set}" = set; then
6593 echo $ECHO_N "(cached) $ECHO_C" >&6
6595 cat >conftest.
$ac_ext <<_ACEOF
6598 cat confdefs.h
>>conftest.
$ac_ext
6599 cat >>conftest.
$ac_ext <<_ACEOF
6600 /* end confdefs.h. */
6613 rm -f conftest.
$ac_objext
6614 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6615 (eval $ac_compile) 2>conftest.er1
6617 grep -v '^ *+' conftest.er1
>conftest.err
6619 cat conftest.err
>&5
6620 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6621 (exit $ac_status); } &&
6622 { ac_try
='test -z "$ac_c_werror_flag"
6623 || test ! -s conftest.err'
6624 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6627 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6628 (exit $ac_status); }; } &&
6629 { ac_try
='test -s conftest.$ac_objext'
6630 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6633 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6634 (exit $ac_status); }; }; then
6637 echo "$as_me: failed program was:" >&5
6638 sed 's/^/| /' conftest.
$ac_ext >&5
6642 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
6643 ac_cv_c_compiler_gnu
=$ac_compiler_gnu
6646 echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
6647 echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6
6648 GCC
=`test $ac_compiler_gnu = yes && echo yes`
6649 ac_test_CFLAGS
=${CFLAGS+set}
6650 ac_save_CFLAGS
=$CFLAGS
6652 echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
6653 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6
6654 if test "${ac_cv_prog_cc_g+set}" = set; then
6655 echo $ECHO_N "(cached) $ECHO_C" >&6
6657 cat >conftest.
$ac_ext <<_ACEOF
6660 cat confdefs.h
>>conftest.
$ac_ext
6661 cat >>conftest.
$ac_ext <<_ACEOF
6662 /* end confdefs.h. */
6672 rm -f conftest.
$ac_objext
6673 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6674 (eval $ac_compile) 2>conftest.er1
6676 grep -v '^ *+' conftest.er1
>conftest.err
6678 cat conftest.err
>&5
6679 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6680 (exit $ac_status); } &&
6681 { ac_try
='test -z "$ac_c_werror_flag"
6682 || test ! -s conftest.err'
6683 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6686 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6687 (exit $ac_status); }; } &&
6688 { ac_try
='test -s conftest.$ac_objext'
6689 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6692 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6693 (exit $ac_status); }; }; then
6696 echo "$as_me: failed program was:" >&5
6697 sed 's/^/| /' conftest.
$ac_ext >&5
6701 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
6703 echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
6704 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6
6705 if test "$ac_test_CFLAGS" = set; then
6706 CFLAGS
=$ac_save_CFLAGS
6707 elif test $ac_cv_prog_cc_g = yes; then
6708 if test "$GCC" = yes; then
6714 if test "$GCC" = yes; then
6720 echo "$as_me:$LINENO: checking for $CC option to accept ANSI C" >&5
6721 echo $ECHO_N "checking for $CC option to accept ANSI C... $ECHO_C" >&6
6722 if test "${ac_cv_prog_cc_stdc+set}" = set; then
6723 echo $ECHO_N "(cached) $ECHO_C" >&6
6725 ac_cv_prog_cc_stdc
=no
6727 cat >conftest.
$ac_ext <<_ACEOF
6730 cat confdefs.h
>>conftest.
$ac_ext
6731 cat >>conftest.
$ac_ext <<_ACEOF
6732 /* end confdefs.h. */
6735 #include <sys/types.h>
6736 #include <sys/stat.h>
6737 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
6738 struct buf { int x; };
6739 FILE * (*rcsopen) (struct buf *, struct stat *, int);
6740 static char *e (p, i)
6746 static char *f (char * (*g) (char **, int), char **p, ...)
6751 s = g (p, va_arg (v,int));
6756 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
6757 function prototypes and stuff, but not '\xHH' hex character constants.
6758 These don't provoke an error unfortunately, instead are silently treated
6759 as 'x'. The following induces an error, until -std1 is added to get
6760 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
6761 array size at least. It's necessary to write '\x00'==0 to get something
6762 that's true only with -std1. */
6763 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
6765 int test (int i, double x);
6766 struct s1 {int (*f) (int a);};
6767 struct s2 {int (*f) (double a);};
6768 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
6774 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
6779 # Don't try gcc -ansi; that turns off useful extensions and
6780 # breaks some systems' header files.
6781 # AIX -qlanglvl=ansi
6782 # Ultrix and OSF/1 -std1
6783 # HP-UX 10.20 and later -Ae
6784 # HP-UX older versions -Aa -D_HPUX_SOURCE
6785 # SVR4 -Xc -D__EXTENSIONS__
6786 for ac_arg
in "" -qlanglvl=ansi
-std1 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
6788 CC
="$ac_save_CC $ac_arg"
6789 rm -f conftest.
$ac_objext
6790 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6791 (eval $ac_compile) 2>conftest.er1
6793 grep -v '^ *+' conftest.er1
>conftest.err
6795 cat conftest.err
>&5
6796 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6797 (exit $ac_status); } &&
6798 { ac_try
='test -z "$ac_c_werror_flag"
6799 || test ! -s conftest.err'
6800 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6803 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6804 (exit $ac_status); }; } &&
6805 { ac_try
='test -s conftest.$ac_objext'
6806 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6809 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6810 (exit $ac_status); }; }; then
6811 ac_cv_prog_cc_stdc
=$ac_arg
6814 echo "$as_me: failed program was:" >&5
6815 sed 's/^/| /' conftest.
$ac_ext >&5
6818 rm -f conftest.err conftest.
$ac_objext
6820 rm -f conftest.
$ac_ext conftest.
$ac_objext
6825 case "x$ac_cv_prog_cc_stdc" in
6827 echo "$as_me:$LINENO: result: none needed" >&5
6828 echo "${ECHO_T}none needed" >&6 ;;
6830 echo "$as_me:$LINENO: result: $ac_cv_prog_cc_stdc" >&5
6831 echo "${ECHO_T}$ac_cv_prog_cc_stdc" >&6
6832 CC
="$CC $ac_cv_prog_cc_stdc" ;;
6835 # Some people use a C++ compiler to compile C. Since we use `exit',
6836 # in C++ we need to declare it. In case someone uses the same compiler
6837 # for both compiling C and C++ we need to have the C++ compiler decide
6838 # the declaration of exit, since it's the most demanding environment.
6839 cat >conftest.
$ac_ext <<_ACEOF
6844 rm -f conftest.
$ac_objext
6845 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6846 (eval $ac_compile) 2>conftest.er1
6848 grep -v '^ *+' conftest.er1
>conftest.err
6850 cat conftest.err
>&5
6851 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6852 (exit $ac_status); } &&
6853 { ac_try
='test -z "$ac_c_werror_flag"
6854 || test ! -s conftest.err'
6855 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6858 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6859 (exit $ac_status); }; } &&
6860 { ac_try
='test -s conftest.$ac_objext'
6861 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6864 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6865 (exit $ac_status); }; }; then
6866 for ac_declaration
in \
6868 'extern "C" void std::exit (int) throw (); using std::exit;' \
6869 'extern "C" void std::exit (int); using std::exit;' \
6870 'extern "C" void exit (int) throw ();' \
6871 'extern "C" void exit (int);' \
6874 cat >conftest.
$ac_ext <<_ACEOF
6877 cat confdefs.h
>>conftest.
$ac_ext
6878 cat >>conftest.
$ac_ext <<_ACEOF
6879 /* end confdefs.h. */
6890 rm -f conftest.
$ac_objext
6891 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6892 (eval $ac_compile) 2>conftest.er1
6894 grep -v '^ *+' conftest.er1
>conftest.err
6896 cat conftest.err
>&5
6897 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6898 (exit $ac_status); } &&
6899 { ac_try
='test -z "$ac_c_werror_flag"
6900 || test ! -s conftest.err'
6901 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6904 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6905 (exit $ac_status); }; } &&
6906 { ac_try
='test -s conftest.$ac_objext'
6907 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6910 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6911 (exit $ac_status); }; }; then
6914 echo "$as_me: failed program was:" >&5
6915 sed 's/^/| /' conftest.
$ac_ext >&5
6919 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
6920 cat >conftest.
$ac_ext <<_ACEOF
6923 cat confdefs.h
>>conftest.
$ac_ext
6924 cat >>conftest.
$ac_ext <<_ACEOF
6925 /* end confdefs.h. */
6935 rm -f conftest.
$ac_objext
6936 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6937 (eval $ac_compile) 2>conftest.er1
6939 grep -v '^ *+' conftest.er1
>conftest.err
6941 cat conftest.err
>&5
6942 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6943 (exit $ac_status); } &&
6944 { ac_try
='test -z "$ac_c_werror_flag"
6945 || test ! -s conftest.err'
6946 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6949 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6950 (exit $ac_status); }; } &&
6951 { ac_try
='test -s conftest.$ac_objext'
6952 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6955 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6956 (exit $ac_status); }; }; then
6959 echo "$as_me: failed program was:" >&5
6960 sed 's/^/| /' conftest.
$ac_ext >&5
6963 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
6966 if test -n "$ac_declaration"; then
6967 echo '#ifdef __cplusplus' >>confdefs.h
6968 echo $ac_declaration >>confdefs.h
6969 echo '#endif' >>confdefs.h
6973 echo "$as_me: failed program was:" >&5
6974 sed 's/^/| /' conftest.
$ac_ext >&5
6977 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
6979 ac_cpp
='$CPP $CPPFLAGS'
6980 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6981 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6982 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
6984 depcc
="$CC" am_compiler_list
=
6986 echo "$as_me:$LINENO: checking dependency style of $depcc" >&5
6987 echo $ECHO_N "checking dependency style of $depcc... $ECHO_C" >&6
6988 if test "${am_cv_CC_dependencies_compiler_type+set}" = set; then
6989 echo $ECHO_N "(cached) $ECHO_C" >&6
6991 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
6992 # We make a subdir and do the tests there. Otherwise we can end up
6993 # making bogus files that we don't know about and never remove. For
6994 # instance it was reported that on HP-UX the gcc test will end up
6995 # making a dummy file named `D' -- because `-MD' means `put the output
6998 # Copy depcomp to subdir because otherwise we won't find it if we're
6999 # using a relative directory.
7000 cp "$am_depcomp" conftest.dir
7002 # We will build objects and dependencies in a subdirectory because
7003 # it helps to detect inapplicable dependency modes. For instance
7004 # both Tru64's cc and ICC support -MD to output dependencies as a
7005 # side effect of compilation, but ICC will put the dependencies in
7006 # the current directory while Tru64 will put them in the object
7010 am_cv_CC_dependencies_compiler_type
=none
7011 if test "$am_compiler_list" = ""; then
7012 am_compiler_list
=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
7014 for depmode
in $am_compiler_list; do
7015 # Setup a source with many dependencies, because some compilers
7016 # like to wrap large dependency lists on column 80 (with \), and
7017 # we should not choose a depcomp mode which is confused by this.
7019 # We need to recreate these files for each test, as the compiler may
7020 # overwrite some of them when testing with obscure command lines.
7021 # This happens at least with the AIX C compiler.
7023 for i
in 1 2 3 4 5 6; do
7024 echo '#include "conftst'$i'.h"' >> sub
/conftest.c
7025 # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
7026 # Solaris 8's {/usr,}/bin/sh.
7027 touch sub
/conftst
$i.h
7029 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
7033 # after this tag, mechanisms are not by side-effect, so they'll
7034 # only be used when explicitly requested
7035 if test "x$enable_dependency_tracking" = xyes
; then
7043 # We check with `-c' and `-o' for the sake of the "dashmstdout"
7044 # mode. It turns out that the SunPro C++ compiler does not properly
7045 # handle `-M -o', and we need to detect this.
7046 if depmode
=$depmode \
7047 source=sub
/conftest.c object
=sub
/conftest.
${OBJEXT-o} \
7048 depfile
=sub
/conftest.Po tmpdepfile
=sub
/conftest.TPo \
7049 $SHELL .
/depcomp
$depcc -c -o sub
/conftest.
${OBJEXT-o} sub
/conftest.c \
7050 >/dev
/null
2>conftest.err
&&
7051 grep sub
/conftst6.h sub
/conftest.Po
> /dev
/null
2>&1 &&
7052 grep sub
/conftest.
${OBJEXT-o} sub
/conftest.Po
> /dev
/null
2>&1 &&
7053 ${MAKE-make} -s -f confmf
> /dev
/null
2>&1; then
7054 # icc doesn't choke on unknown options, it will just issue warnings
7055 # or remarks (even with -Werror). So we grep stderr for any message
7056 # that says an option was ignored or not supported.
7057 # When given -MP, icc 7.0 and 7.1 complain thusly:
7058 # icc: Command line warning: ignoring option '-M'; no argument required
7059 # The diagnosis changed in icc 8.0:
7060 # icc: Command line remark: option '-MP' not supported
7061 if (grep 'ignoring option' conftest.err ||
7062 grep 'not supported' conftest.err
) >/dev
/null
2>&1; then :; else
7063 am_cv_CC_dependencies_compiler_type
=$depmode
7072 am_cv_CC_dependencies_compiler_type
=none
7076 echo "$as_me:$LINENO: result: $am_cv_CC_dependencies_compiler_type" >&5
7077 echo "${ECHO_T}$am_cv_CC_dependencies_compiler_type" >&6
7078 CCDEPMODE
=depmode
=$am_cv_CC_dependencies_compiler_type
7083 test "x$enable_dependency_tracking" != xno \
7084 && test "$am_cv_CC_dependencies_compiler_type" = gcc3
; then
7086 am__fastdepCC_FALSE
='#'
7088 am__fastdepCC_TRUE
='#'
7089 am__fastdepCC_FALSE
=
7094 ac_cpp
='$CPP $CPPFLAGS'
7095 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7096 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7097 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
7098 echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5
7099 echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6
7100 # On Suns, sometimes $CPP names a directory.
7101 if test -n "$CPP" && test -d "$CPP"; then
7104 if test -z "$CPP"; then
7105 if test "${ac_cv_prog_CPP+set}" = set; then
7106 echo $ECHO_N "(cached) $ECHO_C" >&6
7108 # Double quotes because CPP needs to be expanded
7109 for CPP
in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
7112 for ac_c_preproc_warn_flag
in '' yes
7114 # Use a header file that comes with gcc, so configuring glibc
7115 # with a fresh cross-compiler works.
7116 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
7117 # <limits.h> exists even on freestanding compilers.
7118 # On the NeXT, cc -E runs the code through the compiler's parser,
7119 # not just through cpp. "Syntax error" is here to catch this case.
7120 cat >conftest.
$ac_ext <<_ACEOF
7123 cat confdefs.h
>>conftest.
$ac_ext
7124 cat >>conftest.
$ac_ext <<_ACEOF
7125 /* end confdefs.h. */
7127 # include <limits.h>
7129 # include <assert.h>
7133 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
7134 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
7136 grep -v '^ *+' conftest.er1
>conftest.err
7138 cat conftest.err
>&5
7139 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7140 (exit $ac_status); } >/dev
/null
; then
7141 if test -s conftest.err
; then
7142 ac_cpp_err
=$ac_c_preproc_warn_flag
7143 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
7150 if test -z "$ac_cpp_err"; then
7153 echo "$as_me: failed program was:" >&5
7154 sed 's/^/| /' conftest.
$ac_ext >&5
7156 # Broken: fails on valid input.
7159 rm -f conftest.err conftest.
$ac_ext
7161 # OK, works on sane cases. Now check whether non-existent headers
7162 # can be detected and how.
7163 cat >conftest.
$ac_ext <<_ACEOF
7166 cat confdefs.h
>>conftest.
$ac_ext
7167 cat >>conftest.
$ac_ext <<_ACEOF
7168 /* end confdefs.h. */
7169 #include <ac_nonexistent.h>
7171 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
7172 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
7174 grep -v '^ *+' conftest.er1
>conftest.err
7176 cat conftest.err
>&5
7177 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7178 (exit $ac_status); } >/dev
/null
; then
7179 if test -s conftest.err
; then
7180 ac_cpp_err
=$ac_c_preproc_warn_flag
7181 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
7188 if test -z "$ac_cpp_err"; then
7189 # Broken: success on invalid input.
7192 echo "$as_me: failed program was:" >&5
7193 sed 's/^/| /' conftest.
$ac_ext >&5
7195 # Passes both tests.
7199 rm -f conftest.err conftest.
$ac_ext
7202 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
7203 rm -f conftest.err conftest.
$ac_ext
7204 if $ac_preproc_ok; then
7216 echo "$as_me:$LINENO: result: $CPP" >&5
7217 echo "${ECHO_T}$CPP" >&6
7219 for ac_c_preproc_warn_flag
in '' yes
7221 # Use a header file that comes with gcc, so configuring glibc
7222 # with a fresh cross-compiler works.
7223 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
7224 # <limits.h> exists even on freestanding compilers.
7225 # On the NeXT, cc -E runs the code through the compiler's parser,
7226 # not just through cpp. "Syntax error" is here to catch this case.
7227 cat >conftest.
$ac_ext <<_ACEOF
7230 cat confdefs.h
>>conftest.
$ac_ext
7231 cat >>conftest.
$ac_ext <<_ACEOF
7232 /* end confdefs.h. */
7234 # include <limits.h>
7236 # include <assert.h>
7240 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
7241 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
7243 grep -v '^ *+' conftest.er1
>conftest.err
7245 cat conftest.err
>&5
7246 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7247 (exit $ac_status); } >/dev
/null
; then
7248 if test -s conftest.err
; then
7249 ac_cpp_err
=$ac_c_preproc_warn_flag
7250 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
7257 if test -z "$ac_cpp_err"; then
7260 echo "$as_me: failed program was:" >&5
7261 sed 's/^/| /' conftest.
$ac_ext >&5
7263 # Broken: fails on valid input.
7266 rm -f conftest.err conftest.
$ac_ext
7268 # OK, works on sane cases. Now check whether non-existent headers
7269 # can be detected and how.
7270 cat >conftest.
$ac_ext <<_ACEOF
7273 cat confdefs.h
>>conftest.
$ac_ext
7274 cat >>conftest.
$ac_ext <<_ACEOF
7275 /* end confdefs.h. */
7276 #include <ac_nonexistent.h>
7278 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
7279 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
7281 grep -v '^ *+' conftest.er1
>conftest.err
7283 cat conftest.err
>&5
7284 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7285 (exit $ac_status); } >/dev
/null
; then
7286 if test -s conftest.err
; then
7287 ac_cpp_err
=$ac_c_preproc_warn_flag
7288 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
7295 if test -z "$ac_cpp_err"; then
7296 # Broken: success on invalid input.
7299 echo "$as_me: failed program was:" >&5
7300 sed 's/^/| /' conftest.
$ac_ext >&5
7302 # Passes both tests.
7306 rm -f conftest.err conftest.
$ac_ext
7309 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
7310 rm -f conftest.err conftest.
$ac_ext
7311 if $ac_preproc_ok; then
7314 { { echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check
7315 See \`config.log' for more details." >&5
7316 echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check
7317 See \`config.log' for more details." >&2;}
7318 { (exit 1); exit 1; }; }
7322 ac_cpp
='$CPP $CPPFLAGS'
7323 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7324 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7325 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
7328 if test "x${COMPILE_COLLECTIONS}" = xyes
; then
7329 # Extract the first word of "perl", so it can be a program name with args.
7330 set dummy perl
; ac_word
=$2
7331 echo "$as_me:$LINENO: checking for $ac_word" >&5
7332 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
7333 if test "${ac_cv_path_PERL+set}" = set; then
7334 echo $ECHO_N "(cached) $ECHO_C" >&6
7338 ac_cv_path_PERL
="$PERL" # Let the user override the test with a path.
7341 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7345 test -z "$as_dir" && as_dir
=.
7346 for ac_exec_ext
in '' $ac_executable_extensions; do
7347 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7348 ac_cv_path_PERL
="$as_dir/$ac_word$ac_exec_ext"
7349 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
7358 PERL
=$ac_cv_path_PERL
7360 if test -n "$PERL"; then
7361 echo "$as_me:$LINENO: result: $PERL" >&5
7362 echo "${ECHO_T}$PERL" >&6
7364 echo "$as_me:$LINENO: result: no" >&5
7365 echo "${ECHO_T}no" >&6
7370 ac_config_files
="$ac_config_files lib/mkcollections.pl"
7372 ac_config_commands
="$ac_config_commands mkcollections.pl"
7376 if test "x${COMPILE_JNI}" = xyes
; then
7377 echo "$as_me:$LINENO: checking for ANSI C header files" >&5
7378 echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6
7379 if test "${ac_cv_header_stdc+set}" = set; then
7380 echo $ECHO_N "(cached) $ECHO_C" >&6
7382 cat >conftest.
$ac_ext <<_ACEOF
7385 cat confdefs.h
>>conftest.
$ac_ext
7386 cat >>conftest.
$ac_ext <<_ACEOF
7387 /* end confdefs.h. */
7401 rm -f conftest.
$ac_objext
7402 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7403 (eval $ac_compile) 2>conftest.er1
7405 grep -v '^ *+' conftest.er1
>conftest.err
7407 cat conftest.err
>&5
7408 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7409 (exit $ac_status); } &&
7410 { ac_try
='test -z "$ac_c_werror_flag"
7411 || test ! -s conftest.err'
7412 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7415 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7416 (exit $ac_status); }; } &&
7417 { ac_try
='test -s conftest.$ac_objext'
7418 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7421 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7422 (exit $ac_status); }; }; then
7423 ac_cv_header_stdc
=yes
7425 echo "$as_me: failed program was:" >&5
7426 sed 's/^/| /' conftest.
$ac_ext >&5
7428 ac_cv_header_stdc
=no
7430 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
7432 if test $ac_cv_header_stdc = yes; then
7433 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
7434 cat >conftest.
$ac_ext <<_ACEOF
7437 cat confdefs.h
>>conftest.
$ac_ext
7438 cat >>conftest.
$ac_ext <<_ACEOF
7439 /* end confdefs.h. */
7443 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
7444 $EGREP "memchr" >/dev
/null
2>&1; then
7447 ac_cv_header_stdc
=no
7453 if test $ac_cv_header_stdc = yes; then
7454 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
7455 cat >conftest.
$ac_ext <<_ACEOF
7458 cat confdefs.h
>>conftest.
$ac_ext
7459 cat >>conftest.
$ac_ext <<_ACEOF
7460 /* end confdefs.h. */
7464 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
7465 $EGREP "free" >/dev
/null
2>&1; then
7468 ac_cv_header_stdc
=no
7474 if test $ac_cv_header_stdc = yes; then
7475 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
7476 if test "$cross_compiling" = yes; then
7479 cat >conftest.
$ac_ext <<_ACEOF
7482 cat confdefs.h
>>conftest.
$ac_ext
7483 cat >>conftest.
$ac_ext <<_ACEOF
7484 /* end confdefs.h. */
7486 #if ((' ' & 0x0FF) == 0x020)
7487 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
7488 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
7490 # define ISLOWER(c) \
7491 (('a' <= (c) && (c) <= 'i') \
7492 || ('j' <= (c) && (c) <= 'r') \
7493 || ('s' <= (c) && (c) <= 'z'))
7494 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
7497 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
7502 for (i = 0; i < 256; i++)
7503 if (XOR (islower (i), ISLOWER (i))
7504 || toupper (i) != TOUPPER (i))
7509 rm -f conftest
$ac_exeext
7510 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
7511 (eval $ac_link) 2>&5
7513 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7514 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
7515 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7518 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7519 (exit $ac_status); }; }; then
7522 echo "$as_me: program exited with status $ac_status" >&5
7523 echo "$as_me: failed program was:" >&5
7524 sed 's/^/| /' conftest.
$ac_ext >&5
7527 ac_cv_header_stdc
=no
7529 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
7533 echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
7534 echo "${ECHO_T}$ac_cv_header_stdc" >&6
7535 if test $ac_cv_header_stdc = yes; then
7537 cat >>confdefs.h
<<\_ACEOF
7538 #define STDC_HEADERS 1
7544 echo "$as_me:$LINENO: checking size of void *" >&5
7545 echo $ECHO_N "checking size of void *... $ECHO_C" >&6
7546 if test "${ac_cv_sizeof_void_p+set}" = set; then
7547 echo $ECHO_N "(cached) $ECHO_C" >&6
7549 for ac_size
in 4 8 1 2 16 12 ; do # List sizes in rough order of prevalence.
7550 cat >conftest.
$ac_ext <<_ACEOF
7553 cat confdefs.h
>>conftest.
$ac_ext
7554 cat >>conftest.
$ac_ext <<_ACEOF
7555 /* end confdefs.h. */
7556 #include "confdefs.h"
7557 #include <sys/types.h>
7563 switch (0) case 0: case (sizeof (void *) == $ac_size):;
7568 rm -f conftest.
$ac_objext
7569 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7570 (eval $ac_compile) 2>conftest.er1
7572 grep -v '^ *+' conftest.er1
>conftest.err
7574 cat conftest.err
>&5
7575 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7576 (exit $ac_status); } &&
7577 { ac_try
='test -z "$ac_c_werror_flag"
7578 || test ! -s conftest.err'
7579 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7582 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7583 (exit $ac_status); }; } &&
7584 { ac_try
='test -s conftest.$ac_objext'
7585 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7588 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7589 (exit $ac_status); }; }; then
7590 ac_cv_sizeof_void_p
=$ac_size
7592 echo "$as_me: failed program was:" >&5
7593 sed 's/^/| /' conftest.
$ac_ext >&5
7596 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
7597 if test x
$ac_cv_sizeof_void_p != x
; then break; fi
7602 if test x
$ac_cv_sizeof_void_p = x
; then
7603 { { echo "$as_me:$LINENO: error: cannot determine a size for void *" >&5
7604 echo "$as_me: error: cannot determine a size for void *" >&2;}
7605 { (exit 1); exit 1; }; }
7607 echo "$as_me:$LINENO: result: $ac_cv_sizeof_void_p" >&5
7608 echo "${ECHO_T}$ac_cv_sizeof_void_p" >&6
7610 cat >>confdefs.h
<<_ACEOF
7611 #define SIZEOF_VOID_P $ac_cv_sizeof_void_p
7616 echo "$as_me:$LINENO: checking whether byte ordering is bigendian" >&5
7617 echo $ECHO_N "checking whether byte ordering is bigendian... $ECHO_C" >&6
7618 if test "${ac_cv_c_bigendian+set}" = set; then
7619 echo $ECHO_N "(cached) $ECHO_C" >&6
7621 ac_cv_c_bigendian
=unknown
7622 # See if sys/param.h defines the BYTE_ORDER macro.
7623 cat >conftest.
$ac_ext <<_ACEOF
7626 cat confdefs.h
>>conftest.
$ac_ext
7627 cat >>conftest.
$ac_ext <<_ACEOF
7628 /* end confdefs.h. */
7629 #include <sys/types.h>
7630 #include <sys/param.h>
7635 #if !BYTE_ORDER || !BIG_ENDIAN || !LITTLE_ENDIAN
7642 rm -f conftest.
$ac_objext
7643 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7644 (eval $ac_compile) 2>conftest.er1
7646 grep -v '^ *+' conftest.er1
>conftest.err
7648 cat conftest.err
>&5
7649 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7650 (exit $ac_status); } &&
7651 { ac_try
='test -z "$ac_c_werror_flag"
7652 || test ! -s conftest.err'
7653 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7656 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7657 (exit $ac_status); }; } &&
7658 { ac_try
='test -s conftest.$ac_objext'
7659 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7662 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7663 (exit $ac_status); }; }; then
7664 # It does; now see whether it defined to BIG_ENDIAN or not.
7665 cat >conftest.
$ac_ext <<_ACEOF
7668 cat confdefs.h
>>conftest.
$ac_ext
7669 cat >>conftest.
$ac_ext <<_ACEOF
7670 /* end confdefs.h. */
7671 #include <sys/types.h>
7672 #include <sys/param.h>
7677 #if BYTE_ORDER != BIG_ENDIAN
7684 rm -f conftest.
$ac_objext
7685 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7686 (eval $ac_compile) 2>conftest.er1
7688 grep -v '^ *+' conftest.er1
>conftest.err
7690 cat conftest.err
>&5
7691 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7692 (exit $ac_status); } &&
7693 { ac_try
='test -z "$ac_c_werror_flag"
7694 || test ! -s conftest.err'
7695 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7698 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7699 (exit $ac_status); }; } &&
7700 { ac_try
='test -s conftest.$ac_objext'
7701 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7704 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7705 (exit $ac_status); }; }; then
7706 ac_cv_c_bigendian
=yes
7708 echo "$as_me: failed program was:" >&5
7709 sed 's/^/| /' conftest.
$ac_ext >&5
7711 ac_cv_c_bigendian
=no
7713 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
7715 echo "$as_me: failed program was:" >&5
7716 sed 's/^/| /' conftest.
$ac_ext >&5
7719 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
7720 if test $ac_cv_c_bigendian = unknown
; then
7721 if test "$cross_compiling" = yes; then
7722 echo $ac_n "cross-compiling... " 2>&6
7724 cat >conftest.
$ac_ext <<_ACEOF
7727 cat confdefs.h
>>conftest.
$ac_ext
7728 cat >>conftest.
$ac_ext <<_ACEOF
7729 /* end confdefs.h. */
7731 /* Are we little or big endian? From Harbison&Steele. */
7735 char c[sizeof (long)];
7738 exit (u.c[sizeof (long) - 1] == 1);
7741 rm -f conftest
$ac_exeext
7742 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
7743 (eval $ac_link) 2>&5
7745 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7746 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
7747 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7750 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7751 (exit $ac_status); }; }; then
7752 ac_cv_c_bigendian
=no
7754 echo "$as_me: program exited with status $ac_status" >&5
7755 echo "$as_me: failed program was:" >&5
7756 sed 's/^/| /' conftest.
$ac_ext >&5
7759 ac_cv_c_bigendian
=yes
7761 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
7765 echo "$as_me:$LINENO: result: $ac_cv_c_bigendian" >&5
7766 echo "${ECHO_T}$ac_cv_c_bigendian" >&6
7767 if test $ac_cv_c_bigendian = unknown
; then
7768 echo "$as_me:$LINENO: checking to probe for byte ordering" >&5
7769 echo $ECHO_N "checking to probe for byte ordering... $ECHO_C" >&6
7771 cat >conftest.c
<<EOF
7772 short ascii_mm[] = { 0x4249, 0x4765, 0x6E44, 0x6961, 0x6E53, 0x7953, 0 };
7773 short ascii_ii[] = { 0x694C, 0x5454, 0x656C, 0x6E45, 0x6944, 0x6E61, 0 };
7774 void _ascii() { char* s = (char*) ascii_mm; s = (char*) ascii_ii; }
7775 short ebcdic_ii[] = { 0x89D3, 0xE3E3, 0x8593, 0x95C5, 0x89C4, 0x9581, 0 };
7776 short ebcdic_mm[] = { 0xC2C9, 0xC785, 0x95C4, 0x8981, 0x95E2, 0xA8E2, 0 };
7777 void _ebcdic() { char* s = (char*) ebcdic_mm; s = (char*) ebcdic_ii; }
7778 int main() { _ascii (); _ebcdic (); return 0; }
7780 if test -f conftest.c
; then
7781 if ${CC-cc} ${CFLAGS} -c conftest.c
-o conftest.o
&& test -f conftest.o
; then
7782 if test `grep -l BIGenDianSyS conftest.o` ; then
7783 echo $ac_n ' big endian probe OK, ' 1>&6
7784 ac_cv_c_bigendian
=yes
7786 if test `grep -l LiTTleEnDian conftest.o` ; then
7787 echo $ac_n ' little endian probe OK, ' 1>&6
7788 if test $ac_cv_c_bigendian = yes ; then
7789 ac_cv_c_bigendian
=unknown
;
7791 ac_cv_c_bigendian
=no
7794 echo $ac_n 'guessing bigendian ... ' >&6
7797 echo "$as_me:$LINENO: result: $ac_cv_c_bigendian" >&5
7798 echo "${ECHO_T}$ac_cv_c_bigendian" >&6
7800 if test $ac_cv_c_bigendian = yes; then
7802 cat >>confdefs.h
<<\_ACEOF
7803 #define WORDS_BIGENDIAN 1
7807 cat >>confdefs.h
<<\_ACEOF
7808 #define HOST_WORDS_BIG_ENDIAN 1
7816 cat >>confdefs.h
<<_ACEOF
7817 #define BYTEORDER $BYTEORDER
7820 if test $ac_cv_c_bigendian = unknown
; then
7821 { { echo "$as_me:$LINENO: error: unknown endianess - sorry, please pre-set ac_cv_c_bigendian" >&5
7822 echo "$as_me: error: unknown endianess - sorry, please pre-set ac_cv_c_bigendian" >&2;}
7823 { (exit 1); exit 1; }; }
7843 for ac_header
in unistd.h sys
/types.h sys
/config.h sys
/ioctl.h \
7845 inttypes.h stdint.h utime.h sys
/utime.h sys
/filio.h \
7853 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
7854 if eval "test \"\${$as_ac_Header+set}\" = set"; then
7855 echo "$as_me:$LINENO: checking for $ac_header" >&5
7856 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
7857 if eval "test \"\${$as_ac_Header+set}\" = set"; then
7858 echo $ECHO_N "(cached) $ECHO_C" >&6
7860 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
7861 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
7863 # Is the header compilable?
7864 echo "$as_me:$LINENO: checking $ac_header usability" >&5
7865 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
7866 cat >conftest.
$ac_ext <<_ACEOF
7869 cat confdefs.h
>>conftest.
$ac_ext
7870 cat >>conftest.
$ac_ext <<_ACEOF
7871 /* end confdefs.h. */
7872 $ac_includes_default
7873 #include <$ac_header>
7875 rm -f conftest.
$ac_objext
7876 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7877 (eval $ac_compile) 2>conftest.er1
7879 grep -v '^ *+' conftest.er1
>conftest.err
7881 cat conftest.err
>&5
7882 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7883 (exit $ac_status); } &&
7884 { ac_try
='test -z "$ac_c_werror_flag"
7885 || test ! -s conftest.err'
7886 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7889 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7890 (exit $ac_status); }; } &&
7891 { ac_try
='test -s conftest.$ac_objext'
7892 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7895 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7896 (exit $ac_status); }; }; then
7897 ac_header_compiler
=yes
7899 echo "$as_me: failed program was:" >&5
7900 sed 's/^/| /' conftest.
$ac_ext >&5
7902 ac_header_compiler
=no
7904 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
7905 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
7906 echo "${ECHO_T}$ac_header_compiler" >&6
7908 # Is the header present?
7909 echo "$as_me:$LINENO: checking $ac_header presence" >&5
7910 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
7911 cat >conftest.
$ac_ext <<_ACEOF
7914 cat confdefs.h
>>conftest.
$ac_ext
7915 cat >>conftest.
$ac_ext <<_ACEOF
7916 /* end confdefs.h. */
7917 #include <$ac_header>
7919 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
7920 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
7922 grep -v '^ *+' conftest.er1
>conftest.err
7924 cat conftest.err
>&5
7925 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7926 (exit $ac_status); } >/dev
/null
; then
7927 if test -s conftest.err
; then
7928 ac_cpp_err
=$ac_c_preproc_warn_flag
7929 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
7936 if test -z "$ac_cpp_err"; then
7937 ac_header_preproc
=yes
7939 echo "$as_me: failed program was:" >&5
7940 sed 's/^/| /' conftest.
$ac_ext >&5
7942 ac_header_preproc
=no
7944 rm -f conftest.err conftest.
$ac_ext
7945 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
7946 echo "${ECHO_T}$ac_header_preproc" >&6
7948 # So? What about this header?
7949 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
7951 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
7952 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
7953 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
7954 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
7955 ac_header_preproc
=yes
7958 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
7959 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
7960 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
7961 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
7962 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
7963 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
7964 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
7965 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
7966 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
7967 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
7968 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
7969 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
7972 ## -------------------------------- ##
7973 ## Report this to classpath@gnu.org ##
7974 ## -------------------------------- ##
7977 sed "s/^/$as_me: WARNING: /" >&2
7980 echo "$as_me:$LINENO: checking for $ac_header" >&5
7981 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
7982 if eval "test \"\${$as_ac_Header+set}\" = set"; then
7983 echo $ECHO_N "(cached) $ECHO_C" >&6
7985 eval "$as_ac_Header=\$ac_header_preproc"
7987 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
7988 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
7991 if test `eval echo '${'$as_ac_Header'}'` = yes; then
7992 cat >>confdefs.h
<<_ACEOF
7993 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
8001 cat >conftest.
$ac_ext <<_ACEOF
8004 cat confdefs.h
>>conftest.
$ac_ext
8005 cat >>conftest.
$ac_ext <<_ACEOF
8006 /* end confdefs.h. */
8010 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
8011 $EGREP "uint32_t" >/dev
/null
2>&1; then
8013 cat >>confdefs.h
<<\_ACEOF
8014 #define HAVE_INT32_DEFINED 1
8020 cat >conftest.
$ac_ext <<_ACEOF
8023 cat confdefs.h
>>conftest.
$ac_ext
8024 cat >>conftest.
$ac_ext <<_ACEOF
8025 /* end confdefs.h. */
8026 #include <inttypes.h>
8029 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
8030 $EGREP "uint32_t" >/dev
/null
2>&1; then
8032 cat >>confdefs.h
<<\_ACEOF
8033 #define HAVE_INT32_DEFINED 1
8039 cat >conftest.
$ac_ext <<_ACEOF
8042 cat confdefs.h
>>conftest.
$ac_ext
8043 cat >>conftest.
$ac_ext <<_ACEOF
8044 /* end confdefs.h. */
8045 #include <sys/types.h>
8048 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
8049 $EGREP "u_int32_t" >/dev
/null
2>&1; then
8051 cat >>confdefs.h
<<\_ACEOF
8052 #define HAVE_BSD_INT32_DEFINED 1
8058 cat >conftest.
$ac_ext <<_ACEOF
8061 cat confdefs.h
>>conftest.
$ac_ext
8062 cat >>conftest.
$ac_ext <<_ACEOF
8063 /* end confdefs.h. */
8064 #include <sys/config.h>
8067 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
8068 $EGREP "u_int32_t" >/dev
/null
2>&1; then
8070 cat >>confdefs.h
<<\_ACEOF
8071 #define HAVE_BSD_INT32_DEFINED 1
8121 for ac_func
in ftruncate fsync
select \
8122 gethostname socket strerror fork pipe execve open close \
8123 lseek fstat
read write htonl memset htons connect \
8124 getsockname getpeername
bind listen accept \
8125 recvfrom send sendto setsockopt getsockopt
time mktime \
8129 mmap munmap mincore msync madvise getpagesize sysconf \
8133 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
8134 echo "$as_me:$LINENO: checking for $ac_func" >&5
8135 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
8136 if eval "test \"\${$as_ac_var+set}\" = set"; then
8137 echo $ECHO_N "(cached) $ECHO_C" >&6
8139 cat >conftest.
$ac_ext <<_ACEOF
8142 cat confdefs.h
>>conftest.
$ac_ext
8143 cat >>conftest.
$ac_ext <<_ACEOF
8144 /* end confdefs.h. */
8145 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
8146 For example, HP-UX 11i <limits.h> declares gettimeofday. */
8147 #define $ac_func innocuous_$ac_func
8149 /* System header to define __stub macros and hopefully few prototypes,
8150 which can conflict with char $ac_func (); below.
8151 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
8152 <limits.h> exists even on freestanding compilers. */
8155 # include <limits.h>
8157 # include <assert.h>
8162 /* Override any gcc2 internal prototype to avoid an error. */
8167 /* We use char because int might match the return type of a gcc2
8168 builtin and then its argument prototype would still apply. */
8170 /* The GNU C library defines this for functions which it implements
8171 to always fail with ENOSYS. Some functions are actually named
8172 something starting with __ and the normal name is an alias. */
8173 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
8176 char (*f) () = $ac_func;
8185 return f != $ac_func;
8190 rm -f conftest.
$ac_objext conftest
$ac_exeext
8191 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8192 (eval $ac_link) 2>conftest.er1
8194 grep -v '^ *+' conftest.er1
>conftest.err
8196 cat conftest.err
>&5
8197 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8198 (exit $ac_status); } &&
8199 { ac_try
='test -z "$ac_c_werror_flag"
8200 || test ! -s conftest.err'
8201 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8204 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8205 (exit $ac_status); }; } &&
8206 { ac_try
='test -s conftest$ac_exeext'
8207 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8210 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8211 (exit $ac_status); }; }; then
8212 eval "$as_ac_var=yes"
8214 echo "$as_me: failed program was:" >&5
8215 sed 's/^/| /' conftest.
$ac_ext >&5
8217 eval "$as_ac_var=no"
8219 rm -f conftest.err conftest.
$ac_objext \
8220 conftest
$ac_exeext conftest.
$ac_ext
8222 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
8223 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
8224 if test `eval echo '${'$as_ac_var'}'` = yes; then
8225 cat >>confdefs.h
<<_ACEOF
8226 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
8234 echo "$as_me:$LINENO: checking for magic_open in -lmagic" >&5
8235 echo $ECHO_N "checking for magic_open in -lmagic... $ECHO_C" >&6
8236 if test "${ac_cv_lib_magic_magic_open+set}" = set; then
8237 echo $ECHO_N "(cached) $ECHO_C" >&6
8239 ac_check_lib_save_LIBS
=$LIBS
8240 LIBS
="-lmagic $LIBS"
8241 cat >conftest.
$ac_ext <<_ACEOF
8244 cat confdefs.h
>>conftest.
$ac_ext
8245 cat >>conftest.
$ac_ext <<_ACEOF
8246 /* end confdefs.h. */
8248 /* Override any gcc2 internal prototype to avoid an error. */
8252 /* We use char because int might match the return type of a gcc2
8253 builtin and then its argument prototype would still apply. */
8263 rm -f conftest.
$ac_objext conftest
$ac_exeext
8264 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8265 (eval $ac_link) 2>conftest.er1
8267 grep -v '^ *+' conftest.er1
>conftest.err
8269 cat conftest.err
>&5
8270 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8271 (exit $ac_status); } &&
8272 { ac_try
='test -z "$ac_c_werror_flag"
8273 || test ! -s conftest.err'
8274 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8277 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8278 (exit $ac_status); }; } &&
8279 { ac_try
='test -s conftest$ac_exeext'
8280 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8283 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8284 (exit $ac_status); }; }; then
8285 ac_cv_lib_magic_magic_open
=yes
8287 echo "$as_me: failed program was:" >&5
8288 sed 's/^/| /' conftest.
$ac_ext >&5
8290 ac_cv_lib_magic_magic_open
=no
8292 rm -f conftest.err conftest.
$ac_objext \
8293 conftest
$ac_exeext conftest.
$ac_ext
8294 LIBS
=$ac_check_lib_save_LIBS
8296 echo "$as_me:$LINENO: result: $ac_cv_lib_magic_magic_open" >&5
8297 echo "${ECHO_T}$ac_cv_lib_magic_magic_open" >&6
8298 if test $ac_cv_lib_magic_magic_open = yes; then
8304 echo "$as_me:$LINENO: checking whether time.h and sys/time.h may both be included" >&5
8305 echo $ECHO_N "checking whether time.h and sys/time.h may both be included... $ECHO_C" >&6
8306 if test "${ac_cv_header_time+set}" = set; then
8307 echo $ECHO_N "(cached) $ECHO_C" >&6
8309 cat >conftest.
$ac_ext <<_ACEOF
8312 cat confdefs.h
>>conftest.
$ac_ext
8313 cat >>conftest.
$ac_ext <<_ACEOF
8314 /* end confdefs.h. */
8315 #include <sys/types.h>
8316 #include <sys/time.h>
8322 if ((struct tm *) 0)
8328 rm -f conftest.
$ac_objext
8329 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
8330 (eval $ac_compile) 2>conftest.er1
8332 grep -v '^ *+' conftest.er1
>conftest.err
8334 cat conftest.err
>&5
8335 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8336 (exit $ac_status); } &&
8337 { ac_try
='test -z "$ac_c_werror_flag"
8338 || test ! -s conftest.err'
8339 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8342 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8343 (exit $ac_status); }; } &&
8344 { ac_try
='test -s conftest.$ac_objext'
8345 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8348 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8349 (exit $ac_status); }; }; then
8350 ac_cv_header_time
=yes
8352 echo "$as_me: failed program was:" >&5
8353 sed 's/^/| /' conftest.
$ac_ext >&5
8355 ac_cv_header_time
=no
8357 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
8359 echo "$as_me:$LINENO: result: $ac_cv_header_time" >&5
8360 echo "${ECHO_T}$ac_cv_header_time" >&6
8361 if test $ac_cv_header_time = yes; then
8363 cat >>confdefs.h
<<\_ACEOF
8364 #define TIME_WITH_SYS_TIME 1
8369 echo "$as_me:$LINENO: checking whether struct tm is in sys/time.h or time.h" >&5
8370 echo $ECHO_N "checking whether struct tm is in sys/time.h or time.h... $ECHO_C" >&6
8371 if test "${ac_cv_struct_tm+set}" = set; then
8372 echo $ECHO_N "(cached) $ECHO_C" >&6
8374 cat >conftest.
$ac_ext <<_ACEOF
8377 cat confdefs.h
>>conftest.
$ac_ext
8378 cat >>conftest.
$ac_ext <<_ACEOF
8379 /* end confdefs.h. */
8380 #include <sys/types.h>
8386 struct tm *tp; tp->tm_sec;
8391 rm -f conftest.
$ac_objext
8392 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
8393 (eval $ac_compile) 2>conftest.er1
8395 grep -v '^ *+' conftest.er1
>conftest.err
8397 cat conftest.err
>&5
8398 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8399 (exit $ac_status); } &&
8400 { ac_try
='test -z "$ac_c_werror_flag"
8401 || test ! -s conftest.err'
8402 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8405 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8406 (exit $ac_status); }; } &&
8407 { ac_try
='test -s conftest.$ac_objext'
8408 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8411 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8412 (exit $ac_status); }; }; then
8413 ac_cv_struct_tm
=time.h
8415 echo "$as_me: failed program was:" >&5
8416 sed 's/^/| /' conftest.
$ac_ext >&5
8418 ac_cv_struct_tm
=sys
/time.h
8420 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
8422 echo "$as_me:$LINENO: result: $ac_cv_struct_tm" >&5
8423 echo "${ECHO_T}$ac_cv_struct_tm" >&6
8424 if test $ac_cv_struct_tm = sys
/time.h
; then
8426 cat >>confdefs.h
<<\_ACEOF
8427 #define TM_IN_SYS_TIME 1
8432 echo "$as_me:$LINENO: checking for struct tm.tm_zone" >&5
8433 echo $ECHO_N "checking for struct tm.tm_zone... $ECHO_C" >&6
8434 if test "${ac_cv_member_struct_tm_tm_zone+set}" = set; then
8435 echo $ECHO_N "(cached) $ECHO_C" >&6
8437 cat >conftest.
$ac_ext <<_ACEOF
8440 cat confdefs.h
>>conftest.
$ac_ext
8441 cat >>conftest.
$ac_ext <<_ACEOF
8442 /* end confdefs.h. */
8443 #include <sys/types.h>
8444 #include <$ac_cv_struct_tm>
8450 static struct tm ac_aggr;
8451 if (ac_aggr.tm_zone)
8457 rm -f conftest.
$ac_objext
8458 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
8459 (eval $ac_compile) 2>conftest.er1
8461 grep -v '^ *+' conftest.er1
>conftest.err
8463 cat conftest.err
>&5
8464 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8465 (exit $ac_status); } &&
8466 { ac_try
='test -z "$ac_c_werror_flag"
8467 || test ! -s conftest.err'
8468 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8471 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8472 (exit $ac_status); }; } &&
8473 { ac_try
='test -s conftest.$ac_objext'
8474 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8477 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8478 (exit $ac_status); }; }; then
8479 ac_cv_member_struct_tm_tm_zone
=yes
8481 echo "$as_me: failed program was:" >&5
8482 sed 's/^/| /' conftest.
$ac_ext >&5
8484 cat >conftest.
$ac_ext <<_ACEOF
8487 cat confdefs.h
>>conftest.
$ac_ext
8488 cat >>conftest.
$ac_ext <<_ACEOF
8489 /* end confdefs.h. */
8490 #include <sys/types.h>
8491 #include <$ac_cv_struct_tm>
8497 static struct tm ac_aggr;
8498 if (sizeof ac_aggr.tm_zone)
8504 rm -f conftest.
$ac_objext
8505 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
8506 (eval $ac_compile) 2>conftest.er1
8508 grep -v '^ *+' conftest.er1
>conftest.err
8510 cat conftest.err
>&5
8511 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8512 (exit $ac_status); } &&
8513 { ac_try
='test -z "$ac_c_werror_flag"
8514 || test ! -s conftest.err'
8515 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8518 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8519 (exit $ac_status); }; } &&
8520 { ac_try
='test -s conftest.$ac_objext'
8521 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8524 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8525 (exit $ac_status); }; }; then
8526 ac_cv_member_struct_tm_tm_zone
=yes
8528 echo "$as_me: failed program was:" >&5
8529 sed 's/^/| /' conftest.
$ac_ext >&5
8531 ac_cv_member_struct_tm_tm_zone
=no
8533 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
8535 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
8537 echo "$as_me:$LINENO: result: $ac_cv_member_struct_tm_tm_zone" >&5
8538 echo "${ECHO_T}$ac_cv_member_struct_tm_tm_zone" >&6
8539 if test $ac_cv_member_struct_tm_tm_zone = yes; then
8541 cat >>confdefs.h
<<_ACEOF
8542 #define HAVE_STRUCT_TM_TM_ZONE 1
8548 if test "$ac_cv_member_struct_tm_tm_zone" = yes; then
8550 cat >>confdefs.h
<<\_ACEOF
8551 #define HAVE_TM_ZONE 1
8555 echo "$as_me:$LINENO: checking for tzname" >&5
8556 echo $ECHO_N "checking for tzname... $ECHO_C" >&6
8557 if test "${ac_cv_var_tzname+set}" = set; then
8558 echo $ECHO_N "(cached) $ECHO_C" >&6
8560 cat >conftest.
$ac_ext <<_ACEOF
8563 cat confdefs.h
>>conftest.
$ac_ext
8564 cat >>conftest.
$ac_ext <<_ACEOF
8565 /* end confdefs.h. */
8567 #ifndef tzname /* For SGI. */
8568 extern char *tzname[]; /* RS6000 and others reject char **tzname. */
8579 rm -f conftest.
$ac_objext conftest
$ac_exeext
8580 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8581 (eval $ac_link) 2>conftest.er1
8583 grep -v '^ *+' conftest.er1
>conftest.err
8585 cat conftest.err
>&5
8586 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8587 (exit $ac_status); } &&
8588 { ac_try
='test -z "$ac_c_werror_flag"
8589 || test ! -s conftest.err'
8590 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8593 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8594 (exit $ac_status); }; } &&
8595 { ac_try
='test -s conftest$ac_exeext'
8596 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8599 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8600 (exit $ac_status); }; }; then
8601 ac_cv_var_tzname
=yes
8603 echo "$as_me: failed program was:" >&5
8604 sed 's/^/| /' conftest.
$ac_ext >&5
8608 rm -f conftest.err conftest.
$ac_objext \
8609 conftest
$ac_exeext conftest.
$ac_ext
8611 echo "$as_me:$LINENO: result: $ac_cv_var_tzname" >&5
8612 echo "${ECHO_T}$ac_cv_var_tzname" >&6
8613 if test $ac_cv_var_tzname = yes; then
8615 cat >>confdefs.h
<<\_ACEOF
8616 #define HAVE_TZNAME 1
8623 echo "$as_me:$LINENO: checking for tm_gmtoff in struct tm" >&5
8624 echo $ECHO_N "checking for tm_gmtoff in struct tm... $ECHO_C" >&6
8625 cat >conftest.
$ac_ext <<_ACEOF
8628 cat confdefs.h
>>conftest.
$ac_ext
8629 cat >>conftest.
$ac_ext <<_ACEOF
8630 /* end confdefs.h. */
8635 struct tm tim; tim.tm_gmtoff = 0;
8640 rm -f conftest.
$ac_objext
8641 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
8642 (eval $ac_compile) 2>conftest.er1
8644 grep -v '^ *+' conftest.er1
>conftest.err
8646 cat conftest.err
>&5
8647 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8648 (exit $ac_status); } &&
8649 { ac_try
='test -z "$ac_c_werror_flag"
8650 || test ! -s conftest.err'
8651 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8654 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8655 (exit $ac_status); }; } &&
8656 { ac_try
='test -s conftest.$ac_objext'
8657 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8660 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8661 (exit $ac_status); }; }; then
8663 cat >>confdefs.h
<<\_ACEOF
8664 #define STRUCT_TM_HAS_GMTOFF 1
8667 echo "$as_me:$LINENO: result: yes" >&5
8668 echo "${ECHO_T}yes" >&6
8670 echo "$as_me: failed program was:" >&5
8671 sed 's/^/| /' conftest.
$ac_ext >&5
8673 echo "$as_me:$LINENO: result: no" >&5
8674 echo "${ECHO_T}no" >&6
8675 echo "$as_me:$LINENO: checking for global timezone variable" >&5
8676 echo $ECHO_N "checking for global timezone variable... $ECHO_C" >&6
8677 cat >conftest.
$ac_ext <<_ACEOF
8680 cat confdefs.h
>>conftest.
$ac_ext
8681 cat >>conftest.
$ac_ext <<_ACEOF
8682 /* end confdefs.h. */
8687 void i(){long z2 = 2*timezone;}
8692 rm -f conftest.
$ac_objext
8693 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
8694 (eval $ac_compile) 2>conftest.er1
8696 grep -v '^ *+' conftest.er1
>conftest.err
8698 cat conftest.err
>&5
8699 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8700 (exit $ac_status); } &&
8701 { ac_try
='test -z "$ac_c_werror_flag"
8702 || test ! -s conftest.err'
8703 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8706 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8707 (exit $ac_status); }; } &&
8708 { ac_try
='test -s conftest.$ac_objext'
8709 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8712 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8713 (exit $ac_status); }; }; then
8715 cat >>confdefs.h
<<\_ACEOF
8716 #define HAVE_TIMEZONE 1
8719 echo "$as_me:$LINENO: result: yes" >&5
8720 echo "${ECHO_T}yes" >&6
8722 echo "$as_me: failed program was:" >&5
8723 sed 's/^/| /' conftest.
$ac_ext >&5
8725 echo "$as_me:$LINENO: result: no" >&5
8726 echo "${ECHO_T}no" >&6
8727 echo "$as_me:$LINENO: checking for global _timezone variable" >&5
8728 echo $ECHO_N "checking for global _timezone variable... $ECHO_C" >&6
8729 cat >conftest.
$ac_ext <<_ACEOF
8732 cat confdefs.h
>>conftest.
$ac_ext
8733 cat >>conftest.
$ac_ext <<_ACEOF
8734 /* end confdefs.h. */
8739 long z2 = _timezone;
8744 rm -f conftest.
$ac_objext
8745 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
8746 (eval $ac_compile) 2>conftest.er1
8748 grep -v '^ *+' conftest.er1
>conftest.err
8750 cat conftest.err
>&5
8751 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8752 (exit $ac_status); } &&
8753 { ac_try
='test -z "$ac_c_werror_flag"
8754 || test ! -s conftest.err'
8755 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8758 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8759 (exit $ac_status); }; } &&
8760 { ac_try
='test -s conftest.$ac_objext'
8761 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8764 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8765 (exit $ac_status); }; }; then
8767 cat >>confdefs.h
<<\_ACEOF
8768 #define HAVE_UNDERSCORE_TIMEZONE 1
8771 echo "$as_me:$LINENO: result: yes" >&5
8772 echo "${ECHO_T}yes" >&6
8774 echo "$as_me: failed program was:" >&5
8775 sed 's/^/| /' conftest.
$ac_ext >&5
8777 echo "$as_me:$LINENO: result: no" >&5
8778 echo "${ECHO_T}no" >&6
8780 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
8782 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
8784 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
8786 echo "$as_me:$LINENO: checking for an ANSI C-conforming const" >&5
8787 echo $ECHO_N "checking for an ANSI C-conforming const... $ECHO_C" >&6
8788 if test "${ac_cv_c_const+set}" = set; then
8789 echo $ECHO_N "(cached) $ECHO_C" >&6
8791 cat >conftest.
$ac_ext <<_ACEOF
8794 cat confdefs.h
>>conftest.
$ac_ext
8795 cat >>conftest.
$ac_ext <<_ACEOF
8796 /* end confdefs.h. */
8801 /* FIXME: Include the comments suggested by Paul. */
8803 /* Ultrix mips cc rejects this. */
8804 typedef int charset[2];
8806 /* SunOS 4.1.1 cc rejects this. */
8807 char const *const *ccp;
8809 /* NEC SVR4.0.2 mips cc rejects this. */
8810 struct point {int x, y;};
8811 static struct point const zero = {0,0};
8812 /* AIX XL C 1.02.0.0 rejects this.
8813 It does not let you subtract one const X* pointer from another in
8814 an arm of an if-expression whose if-part is not a constant
8816 const char *g = "string";
8817 ccp = &g + (g ? g-g : 0);
8818 /* HPUX 7.0 cc rejects these. */
8821 ccp = (char const *const *) p;
8822 { /* SCO 3.2v4 cc rejects this. */
8824 char const *s = 0 ? (char *) 0 : (char const *) 0;
8828 { /* Someone thinks the Sun supposedly-ANSI compiler will reject this. */
8830 const int *foo = &x[0];
8833 { /* Sun SC1.0 ANSI compiler rejects this -- but not the above. */
8834 typedef const int *iptr;
8838 { /* AIX XL C 1.02.0.0 rejects this saying
8839 "k.c", line 2.27: 1506-025 (S) Operand must be a modifiable lvalue. */
8840 struct s { int j; const int *ap[3]; };
8841 struct s *b; b->j = 5;
8843 { /* ULTRIX-32 V3.1 (Rev 9) vcc rejects this */
8852 rm -f conftest.
$ac_objext
8853 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
8854 (eval $ac_compile) 2>conftest.er1
8856 grep -v '^ *+' conftest.er1
>conftest.err
8858 cat conftest.err
>&5
8859 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8860 (exit $ac_status); } &&
8861 { ac_try
='test -z "$ac_c_werror_flag"
8862 || test ! -s conftest.err'
8863 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8866 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8867 (exit $ac_status); }; } &&
8868 { ac_try
='test -s conftest.$ac_objext'
8869 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8872 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8873 (exit $ac_status); }; }; then
8876 echo "$as_me: failed program was:" >&5
8877 sed 's/^/| /' conftest.
$ac_ext >&5
8881 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
8883 echo "$as_me:$LINENO: result: $ac_cv_c_const" >&5
8884 echo "${ECHO_T}$ac_cv_c_const" >&6
8885 if test $ac_cv_c_const = no
; then
8887 cat >>confdefs.h
<<\_ACEOF
8893 echo "$as_me:$LINENO: checking for __attribute__" >&5
8894 echo $ECHO_N "checking for __attribute__... $ECHO_C" >&6
8895 if test "${ac_cv_c_attribute+set}" = set; then
8896 echo $ECHO_N "(cached) $ECHO_C" >&6
8899 cat >conftest.
$ac_ext <<_ACEOF
8902 cat confdefs.h
>>conftest.
$ac_ext
8903 cat >>conftest.
$ac_ext <<_ACEOF
8904 /* end confdefs.h. */
8905 void foo(void) __attribute__ ((__noreturn__));
8908 rm -f conftest.
$ac_objext
8909 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
8910 (eval $ac_compile) 2>conftest.er1
8912 grep -v '^ *+' conftest.er1
>conftest.err
8914 cat conftest.err
>&5
8915 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8916 (exit $ac_status); } &&
8917 { ac_try
='test -z "$ac_c_werror_flag"
8918 || test ! -s conftest.err'
8919 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8922 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8923 (exit $ac_status); }; } &&
8924 { ac_try
='test -s conftest.$ac_objext'
8925 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8928 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8929 (exit $ac_status); }; }; then
8930 ac_cv_c_attribute
=yes
8932 echo "$as_me: failed program was:" >&5
8933 sed 's/^/| /' conftest.
$ac_ext >&5
8935 ac_cv_c_attribute
=no
8938 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
8941 echo "$as_me:$LINENO: result: $ac_cv_c_attribute" >&5
8942 echo "${ECHO_T}$ac_cv_c_attribute" >&6
8945 case $ac_cv_c_attribute in
8948 cat >>confdefs.h
<<_ACEOF
8949 #define __attribute__(x) /* nothing */
8956 if test "X$prefix" = "XNONE"; then
8957 acl_final_prefix
="$ac_default_prefix"
8959 acl_final_prefix
="$prefix"
8961 if test "X$exec_prefix" = "XNONE"; then
8962 acl_final_exec_prefix
='${prefix}'
8964 acl_final_exec_prefix
="$exec_prefix"
8966 acl_save_prefix
="$prefix"
8967 prefix
="$acl_final_prefix"
8968 eval acl_final_exec_prefix
=\"$acl_final_exec_prefix\"
8969 prefix
="$acl_save_prefix"
8972 # Check whether --with-gnu-ld or --without-gnu-ld was given.
8973 if test "${with_gnu_ld+set}" = set; then
8974 withval
="$with_gnu_ld"
8975 test "$withval" = no || with_gnu_ld
=yes
8979 # Prepare PATH_SEPARATOR.
8980 # The user is always right.
8981 if test "${PATH_SEPARATOR+set}" != set; then
8982 echo "#! /bin/sh" >conf$$.sh
8983 echo "exit 0" >>conf$$.sh
8985 if (PATH
="/nonexistent;."; conf$$.sh
) >/dev
/null
2>&1; then
8993 if test "$GCC" = yes; then
8994 # Check if gcc -print-prog-name=ld gives a path.
8995 echo "$as_me:$LINENO: checking for ld used by GCC" >&5
8996 echo $ECHO_N "checking for ld used by GCC... $ECHO_C" >&6
8999 # gcc leaves a trailing carriage return which upsets mingw
9000 ac_prog
=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
9002 ac_prog
=`($CC -print-prog-name=ld) 2>&5` ;;
9005 # Accept absolute paths.
9006 [\\/]* |
[A-Za-z
]:[\\/]*)
9007 re_direlt
='/[^/][^/]*/\.\./'
9008 # Canonicalize the path of ld
9009 ac_prog
=`echo $ac_prog| sed 's%\\\\%/%g'`
9010 while echo $ac_prog |
grep "$re_direlt" > /dev
/null
2>&1; do
9011 ac_prog
=`echo $ac_prog| sed "s%$re_direlt%/%"`
9013 test -z "$LD" && LD
="$ac_prog"
9016 # If it fails, then pretend we aren't using GCC.
9020 # If it is relative, then search for the first ld in PATH.
9024 elif test "$with_gnu_ld" = yes; then
9025 echo "$as_me:$LINENO: checking for GNU ld" >&5
9026 echo $ECHO_N "checking for GNU ld... $ECHO_C" >&6
9028 echo "$as_me:$LINENO: checking for non-GNU ld" >&5
9029 echo $ECHO_N "checking for non-GNU ld... $ECHO_C" >&6
9031 if test "${acl_cv_path_LD+set}" = set; then
9032 echo $ECHO_N "(cached) $ECHO_C" >&6
9034 if test -z "$LD"; then
9035 IFS
="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}${PATH_SEPARATOR-:}"
9036 for ac_dir
in $PATH; do
9037 test -z "$ac_dir" && ac_dir
=.
9038 if test -f "$ac_dir/$ac_prog" ||
test -f "$ac_dir/$ac_prog$ac_exeext"; then
9039 acl_cv_path_LD
="$ac_dir/$ac_prog"
9040 # Check to see if the program is GNU ld. I'd rather use --version,
9041 # but apparently some GNU ld's only accept -v.
9042 # Break only if it was the GNU/non-GNU ld that we prefer.
9043 if "$acl_cv_path_LD" -v 2>&1 < /dev
/null |
egrep '(GNU|with BFD)' > /dev
/null
; then
9044 test "$with_gnu_ld" != no
&& break
9046 test "$with_gnu_ld" != yes && break
9052 acl_cv_path_LD
="$LD" # Let the user override the test with a path.
9056 LD
="$acl_cv_path_LD"
9057 if test -n "$LD"; then
9058 echo "$as_me:$LINENO: result: $LD" >&5
9059 echo "${ECHO_T}$LD" >&6
9061 echo "$as_me:$LINENO: result: no" >&5
9062 echo "${ECHO_T}no" >&6
9064 test -z "$LD" && { { echo "$as_me:$LINENO: error: no acceptable ld found in \$PATH" >&5
9065 echo "$as_me: error: no acceptable ld found in \$PATH" >&2;}
9066 { (exit 1); exit 1; }; }
9067 echo "$as_me:$LINENO: checking if the linker ($LD) is GNU ld" >&5
9068 echo $ECHO_N "checking if the linker ($LD) is GNU ld... $ECHO_C" >&6
9069 if test "${acl_cv_prog_gnu_ld+set}" = set; then
9070 echo $ECHO_N "(cached) $ECHO_C" >&6
9072 # I'd rather use --version here, but apparently some GNU ld's only accept -v.
9073 if $LD -v 2>&1 </dev
/null |
egrep '(GNU|with BFD)' 1>&5; then
9074 acl_cv_prog_gnu_ld
=yes
9076 acl_cv_prog_gnu_ld
=no
9079 echo "$as_me:$LINENO: result: $acl_cv_prog_gnu_ld" >&5
9080 echo "${ECHO_T}$acl_cv_prog_gnu_ld" >&6
9081 with_gnu_ld
=$acl_cv_prog_gnu_ld
9085 echo "$as_me:$LINENO: checking for shared library run path origin" >&5
9086 echo $ECHO_N "checking for shared library run path origin... $ECHO_C" >&6
9087 if test "${acl_cv_rpath+set}" = set; then
9088 echo $ECHO_N "(cached) $ECHO_C" >&6
9091 CC
="$CC" GCC
="$GCC" LDFLAGS
="$LDFLAGS" LD
="$LD" with_gnu_ld
="$with_gnu_ld" \
9092 ${CONFIG_SHELL-/bin/sh} "$ac_aux_dir/config.rpath" "$host" > conftest.sh
9098 echo "$as_me:$LINENO: result: $acl_cv_rpath" >&5
9099 echo "${ECHO_T}$acl_cv_rpath" >&6
9101 libext
="$acl_cv_libext"
9102 shlibext
="$acl_cv_shlibext"
9103 hardcode_libdir_flag_spec
="$acl_cv_hardcode_libdir_flag_spec"
9104 hardcode_libdir_separator
="$acl_cv_hardcode_libdir_separator"
9105 hardcode_direct
="$acl_cv_hardcode_direct"
9106 hardcode_minus_L
="$acl_cv_hardcode_minus_L"
9107 # Check whether --enable-rpath or --disable-rpath was given.
9108 if test "${enable_rpath+set}" = set; then
9109 enableval
="$enable_rpath"
9123 acl_save_prefix
="$prefix"
9124 prefix
="$acl_final_prefix"
9125 acl_save_exec_prefix
="$exec_prefix"
9126 exec_prefix
="$acl_final_exec_prefix"
9128 eval additional_includedir
=\"$includedir\"
9129 eval additional_libdir
=\"$libdir\"
9131 exec_prefix
="$acl_save_exec_prefix"
9132 prefix
="$acl_save_prefix"
9135 # Check whether --with-libiconv-prefix or --without-libiconv-prefix was given.
9136 if test "${with_libiconv_prefix+set}" = set; then
9137 withval
="$with_libiconv_prefix"
9139 if test "X$withval" = "Xno"; then
9142 if test "X$withval" = "X"; then
9144 acl_save_prefix
="$prefix"
9145 prefix
="$acl_final_prefix"
9146 acl_save_exec_prefix
="$exec_prefix"
9147 exec_prefix
="$acl_final_exec_prefix"
9149 eval additional_includedir
=\"$includedir\"
9150 eval additional_libdir
=\"$libdir\"
9152 exec_prefix
="$acl_save_exec_prefix"
9153 prefix
="$acl_save_prefix"
9156 additional_includedir
="$withval/include"
9157 additional_libdir
="$withval/lib"
9167 names_already_handled
=
9168 names_next_round
='iconv '
9169 while test -n "$names_next_round"; do
9170 names_this_round
="$names_next_round"
9172 for name
in $names_this_round; do
9174 for n
in $names_already_handled; do
9175 if test "$n" = "$name"; then
9180 if test -z "$already_handled"; then
9181 names_already_handled
="$names_already_handled $name"
9182 uppername
=`echo "$name" | sed -e 'y|abcdefghijklmnopqrstuvwxyz./-|ABCDEFGHIJKLMNOPQRSTUVWXYZ___|'`
9183 eval value
=\"\
$HAVE_LIB$uppername\"
9184 if test -n "$value"; then
9185 if test "$value" = yes; then
9186 eval value
=\"\
$LIB$uppername\"
9187 test -z "$value" || LIBICONV
="${LIBICONV}${LIBICONV:+ }$value"
9188 eval value
=\"\
$LTLIB$uppername\"
9189 test -z "$value" || LTLIBICONV
="${LTLIBICONV}${LTLIBICONV:+ }$value"
9198 if test $use_additional = yes; then
9199 if test -n "$shlibext" && test -f "$additional_libdir/lib$name.$shlibext"; then
9200 found_dir
="$additional_libdir"
9201 found_so
="$additional_libdir/lib$name.$shlibext"
9202 if test -f "$additional_libdir/lib$name.la"; then
9203 found_la
="$additional_libdir/lib$name.la"
9206 if test -f "$additional_libdir/lib$name.$libext"; then
9207 found_dir
="$additional_libdir"
9208 found_a
="$additional_libdir/lib$name.$libext"
9209 if test -f "$additional_libdir/lib$name.la"; then
9210 found_la
="$additional_libdir/lib$name.la"
9215 if test "X$found_dir" = "X"; then
9216 for x
in $LDFLAGS $LTLIBICONV; do
9218 acl_save_prefix
="$prefix"
9219 prefix
="$acl_final_prefix"
9220 acl_save_exec_prefix
="$exec_prefix"
9221 exec_prefix
="$acl_final_exec_prefix"
9223 exec_prefix
="$acl_save_exec_prefix"
9224 prefix
="$acl_save_prefix"
9228 dir
=`echo "X$x" | sed -e 's/^X-L//'`
9229 if test -n "$shlibext" && test -f "$dir/lib$name.$shlibext"; then
9231 found_so
="$dir/lib$name.$shlibext"
9232 if test -f "$dir/lib$name.la"; then
9233 found_la
="$dir/lib$name.la"
9236 if test -f "$dir/lib$name.$libext"; then
9238 found_a
="$dir/lib$name.$libext"
9239 if test -f "$dir/lib$name.la"; then
9240 found_la
="$dir/lib$name.la"
9246 if test "X$found_dir" != "X"; then
9251 if test "X$found_dir" != "X"; then
9252 LTLIBICONV
="${LTLIBICONV}${LTLIBICONV:+ }-L$found_dir -l$name"
9253 if test "X$found_so" != "X"; then
9254 if test "$enable_rpath" = no ||
test "X$found_dir" = "X/usr/lib"; then
9255 LIBICONV
="${LIBICONV}${LIBICONV:+ }$found_so"
9258 for x
in $ltrpathdirs; do
9259 if test "X$x" = "X$found_dir"; then
9264 if test -z "$haveit"; then
9265 ltrpathdirs
="$ltrpathdirs $found_dir"
9267 if test "$hardcode_direct" = yes; then
9268 LIBICONV
="${LIBICONV}${LIBICONV:+ }$found_so"
9270 if test -n "$hardcode_libdir_flag_spec" && test "$hardcode_minus_L" = no
; then
9271 LIBICONV
="${LIBICONV}${LIBICONV:+ }$found_so"
9273 for x
in $rpathdirs; do
9274 if test "X$x" = "X$found_dir"; then
9279 if test -z "$haveit"; then
9280 rpathdirs
="$rpathdirs $found_dir"
9284 for x
in $LDFLAGS $LIBICONV; do
9286 acl_save_prefix
="$prefix"
9287 prefix
="$acl_final_prefix"
9288 acl_save_exec_prefix
="$exec_prefix"
9289 exec_prefix
="$acl_final_exec_prefix"
9291 exec_prefix
="$acl_save_exec_prefix"
9292 prefix
="$acl_save_prefix"
9294 if test "X$x" = "X-L$found_dir"; then
9299 if test -z "$haveit"; then
9300 LIBICONV
="${LIBICONV}${LIBICONV:+ }-L$found_dir"
9302 if test "$hardcode_minus_L" != no
; then
9303 LIBICONV
="${LIBICONV}${LIBICONV:+ }$found_so"
9305 LIBICONV
="${LIBICONV}${LIBICONV:+ }-l$name"
9311 if test "X$found_a" != "X"; then
9312 LIBICONV
="${LIBICONV}${LIBICONV:+ }$found_a"
9314 LIBICONV
="${LIBICONV}${LIBICONV:+ }-L$found_dir -l$name"
9317 additional_includedir
=
9318 case "$found_dir" in
9320 basedir
=`echo "X$found_dir" | sed -e 's,^X,,' -e 's,/lib/*$,,'`
9321 additional_includedir
="$basedir/include"
9324 if test "X$additional_includedir" != "X"; then
9325 if test "X$additional_includedir" != "X/usr/include"; then
9327 if test "X$additional_includedir" = "X/usr/local/include"; then
9328 if test -n "$GCC"; then
9330 linux
*) haveit
=yes;;
9334 if test -z "$haveit"; then
9335 for x
in $CPPFLAGS $INCICONV; do
9337 acl_save_prefix
="$prefix"
9338 prefix
="$acl_final_prefix"
9339 acl_save_exec_prefix
="$exec_prefix"
9340 exec_prefix
="$acl_final_exec_prefix"
9342 exec_prefix
="$acl_save_exec_prefix"
9343 prefix
="$acl_save_prefix"
9345 if test "X$x" = "X-I$additional_includedir"; then
9350 if test -z "$haveit"; then
9351 if test -d "$additional_includedir"; then
9352 INCICONV
="${INCICONV}${INCICONV:+ }-I$additional_includedir"
9358 if test -n "$found_la"; then
9359 save_libdir
="$libdir"
9361 */* |
*\\*) .
"$found_la" ;;
9362 *) .
"./$found_la" ;;
9364 libdir
="$save_libdir"
9365 for dep
in $dependency_libs; do
9368 additional_libdir
=`echo "X$dep" | sed -e 's/^X-L//'`
9369 if test "X$additional_libdir" != "X/usr/lib"; then
9371 if test "X$additional_libdir" = "X/usr/local/lib"; then
9372 if test -n "$GCC"; then
9374 linux
*) haveit
=yes;;
9378 if test -z "$haveit"; then
9380 for x
in $LDFLAGS $LIBICONV; do
9382 acl_save_prefix
="$prefix"
9383 prefix
="$acl_final_prefix"
9384 acl_save_exec_prefix
="$exec_prefix"
9385 exec_prefix
="$acl_final_exec_prefix"
9387 exec_prefix
="$acl_save_exec_prefix"
9388 prefix
="$acl_save_prefix"
9390 if test "X$x" = "X-L$additional_libdir"; then
9395 if test -z "$haveit"; then
9396 if test -d "$additional_libdir"; then
9397 LIBICONV
="${LIBICONV}${LIBICONV:+ }-L$additional_libdir"
9401 for x
in $LDFLAGS $LTLIBICONV; do
9403 acl_save_prefix
="$prefix"
9404 prefix
="$acl_final_prefix"
9405 acl_save_exec_prefix
="$exec_prefix"
9406 exec_prefix
="$acl_final_exec_prefix"
9408 exec_prefix
="$acl_save_exec_prefix"
9409 prefix
="$acl_save_prefix"
9411 if test "X$x" = "X-L$additional_libdir"; then
9416 if test -z "$haveit"; then
9417 if test -d "$additional_libdir"; then
9418 LTLIBICONV
="${LTLIBICONV}${LTLIBICONV:+ }-L$additional_libdir"
9425 dir
=`echo "X$dep" | sed -e 's/^X-R//'`
9426 if test "$enable_rpath" != no
; then
9428 for x
in $rpathdirs; do
9429 if test "X$x" = "X$dir"; then
9434 if test -z "$haveit"; then
9435 rpathdirs
="$rpathdirs $dir"
9438 for x
in $ltrpathdirs; do
9439 if test "X$x" = "X$dir"; then
9444 if test -z "$haveit"; then
9445 ltrpathdirs
="$ltrpathdirs $dir"
9450 names_next_round
="$names_next_round "`echo "X$dep" | sed -e 's/^X-l//'`
9453 names_next_round
="$names_next_round "`echo "X$dep" | sed -e 's,^X.*/,,' -e 's,^lib,,' -e 's,\.la$,,'`
9456 LIBICONV
="${LIBICONV}${LIBICONV:+ }$dep"
9457 LTLIBICONV
="${LTLIBICONV}${LTLIBICONV:+ }$dep"
9463 LIBICONV
="${LIBICONV}${LIBICONV:+ }-l$name"
9464 LTLIBICONV
="${LTLIBICONV}${LTLIBICONV:+ }-l$name"
9470 if test "X$rpathdirs" != "X"; then
9471 if test -n "$hardcode_libdir_separator"; then
9473 for found_dir
in $rpathdirs; do
9474 alldirs
="${alldirs}${alldirs:+$hardcode_libdir_separator}$found_dir"
9476 acl_save_libdir
="$libdir"
9478 eval flag
=\"$hardcode_libdir_flag_spec\"
9479 libdir
="$acl_save_libdir"
9480 LIBICONV
="${LIBICONV}${LIBICONV:+ }$flag"
9482 for found_dir
in $rpathdirs; do
9483 acl_save_libdir
="$libdir"
9485 eval flag
=\"$hardcode_libdir_flag_spec\"
9486 libdir
="$acl_save_libdir"
9487 LIBICONV
="${LIBICONV}${LIBICONV:+ }$flag"
9491 if test "X$ltrpathdirs" != "X"; then
9492 for found_dir
in $ltrpathdirs; do
9493 LTLIBICONV
="${LTLIBICONV}${LTLIBICONV:+ }-R$found_dir"
9503 am_save_CPPFLAGS
="$CPPFLAGS"
9505 for element
in $INCICONV; do
9507 for x
in $CPPFLAGS; do
9509 acl_save_prefix
="$prefix"
9510 prefix
="$acl_final_prefix"
9511 acl_save_exec_prefix
="$exec_prefix"
9512 exec_prefix
="$acl_final_exec_prefix"
9514 exec_prefix
="$acl_save_exec_prefix"
9515 prefix
="$acl_save_prefix"
9517 if test "X$x" = "X$element"; then
9522 if test -z "$haveit"; then
9523 CPPFLAGS
="${CPPFLAGS}${CPPFLAGS:+ }$element"
9528 echo "$as_me:$LINENO: checking for iconv" >&5
9529 echo $ECHO_N "checking for iconv... $ECHO_C" >&6
9530 if test "${am_cv_func_iconv+set}" = set; then
9531 echo $ECHO_N "(cached) $ECHO_C" >&6
9534 am_cv_func_iconv
="no, consider installing GNU libiconv"
9536 cat >conftest.
$ac_ext <<_ACEOF
9539 cat confdefs.h
>>conftest.
$ac_ext
9540 cat >>conftest.
$ac_ext <<_ACEOF
9541 /* end confdefs.h. */
9547 iconv_t cd = iconv_open("","");
9548 iconv(cd,NULL,NULL,NULL,NULL);
9554 rm -f conftest.
$ac_objext conftest
$ac_exeext
9555 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
9556 (eval $ac_link) 2>conftest.er1
9558 grep -v '^ *+' conftest.er1
>conftest.err
9560 cat conftest.err
>&5
9561 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9562 (exit $ac_status); } &&
9563 { ac_try
='test -z "$ac_c_werror_flag"
9564 || test ! -s conftest.err'
9565 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9568 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9569 (exit $ac_status); }; } &&
9570 { ac_try
='test -s conftest$ac_exeext'
9571 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9574 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9575 (exit $ac_status); }; }; then
9576 am_cv_func_iconv
=yes
9578 echo "$as_me: failed program was:" >&5
9579 sed 's/^/| /' conftest.
$ac_ext >&5
9582 rm -f conftest.err conftest.
$ac_objext \
9583 conftest
$ac_exeext conftest.
$ac_ext
9584 if test "$am_cv_func_iconv" != yes; then
9585 am_save_LIBS
="$LIBS"
9586 LIBS
="$LIBS $LIBICONV"
9587 cat >conftest.
$ac_ext <<_ACEOF
9590 cat confdefs.h
>>conftest.
$ac_ext
9591 cat >>conftest.
$ac_ext <<_ACEOF
9592 /* end confdefs.h. */
9598 iconv_t cd = iconv_open("","");
9599 iconv(cd,NULL,NULL,NULL,NULL);
9605 rm -f conftest.
$ac_objext conftest
$ac_exeext
9606 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
9607 (eval $ac_link) 2>conftest.er1
9609 grep -v '^ *+' conftest.er1
>conftest.err
9611 cat conftest.err
>&5
9612 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9613 (exit $ac_status); } &&
9614 { ac_try
='test -z "$ac_c_werror_flag"
9615 || test ! -s conftest.err'
9616 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9619 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9620 (exit $ac_status); }; } &&
9621 { ac_try
='test -s conftest$ac_exeext'
9622 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9625 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9626 (exit $ac_status); }; }; then
9628 am_cv_func_iconv
=yes
9630 echo "$as_me: failed program was:" >&5
9631 sed 's/^/| /' conftest.
$ac_ext >&5
9634 rm -f conftest.err conftest.
$ac_objext \
9635 conftest
$ac_exeext conftest.
$ac_ext
9636 LIBS
="$am_save_LIBS"
9640 echo "$as_me:$LINENO: result: $am_cv_func_iconv" >&5
9641 echo "${ECHO_T}$am_cv_func_iconv" >&6
9642 if test "$am_cv_func_iconv" = yes; then
9644 cat >>confdefs.h
<<\_ACEOF
9645 #define HAVE_ICONV 1
9649 if test "$am_cv_lib_iconv" = yes; then
9650 echo "$as_me:$LINENO: checking how to link with libiconv" >&5
9651 echo $ECHO_N "checking how to link with libiconv... $ECHO_C" >&6
9652 echo "$as_me:$LINENO: result: $LIBICONV" >&5
9653 echo "${ECHO_T}$LIBICONV" >&6
9655 CPPFLAGS
="$am_save_CPPFLAGS"
9662 if test "$am_cv_func_iconv" = yes; then
9663 echo "$as_me:$LINENO: checking for iconv declaration" >&5
9664 echo $ECHO_N "checking for iconv declaration... $ECHO_C" >&6
9665 if test "${am_cv_proto_iconv+set}" = set; then
9666 echo $ECHO_N "(cached) $ECHO_C" >&6
9669 cat >conftest.
$ac_ext <<_ACEOF
9672 cat confdefs.h
>>conftest.
$ac_ext
9673 cat >>conftest.
$ac_ext <<_ACEOF
9674 /* end confdefs.h. */
9682 #if defined(__STDC__) || defined(__cplusplus)
9683 size_t iconv (iconv_t cd, char * *inbuf, size_t *inbytesleft, char * *outbuf, size_t *outbytesleft);
9696 rm -f conftest.
$ac_objext
9697 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
9698 (eval $ac_compile) 2>conftest.er1
9700 grep -v '^ *+' conftest.er1
>conftest.err
9702 cat conftest.err
>&5
9703 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9704 (exit $ac_status); } &&
9705 { ac_try
='test -z "$ac_c_werror_flag"
9706 || test ! -s conftest.err'
9707 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9710 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9711 (exit $ac_status); }; } &&
9712 { ac_try
='test -s conftest.$ac_objext'
9713 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9716 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9717 (exit $ac_status); }; }; then
9718 am_cv_proto_iconv_arg1
=""
9720 echo "$as_me: failed program was:" >&5
9721 sed 's/^/| /' conftest.
$ac_ext >&5
9723 am_cv_proto_iconv_arg1
="const"
9725 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
9726 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);"
9729 am_cv_proto_iconv
=`echo "$am_cv_proto_iconv" | tr -s ' ' | sed -e 's/( /(/'`
9730 echo "$as_me:$LINENO: result: ${ac_t:-
9731 }$am_cv_proto_iconv" >&5
9732 echo "${ECHO_T}${ac_t:-
9733 }$am_cv_proto_iconv" >&6
9735 cat >>confdefs.h
<<_ACEOF
9736 #define ICONV_CONST $am_cv_proto_iconv_arg1
9742 if test "x${GCC}" = xyes
; then
9744 WARNING_CFLAGS
='-pedantic -W -Wall -Wmissing-declarations -Wwrite-strings -Wmissing-prototypes -Wno-long-long'
9747 STRICT_WARNING_CFLAGS
=-Wstrict-prototypes
9751 if test "x${ENABLE_WERROR}" = xyes
; then
9752 ERROR_CFLAGS
='-Werror'
9757 if test "x${COMPILE_XMLJ}" = xyes
; then
9761 if test -z "$PKG_CONFIG"; then
9762 # Extract the first word of "pkg-config", so it can be a program name with args.
9763 set dummy pkg-config
; ac_word
=$2
9764 echo "$as_me:$LINENO: checking for $ac_word" >&5
9765 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
9766 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
9767 echo $ECHO_N "(cached) $ECHO_C" >&6
9771 ac_cv_path_PKG_CONFIG
="$PKG_CONFIG" # Let the user override the test with a path.
9774 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
9778 test -z "$as_dir" && as_dir
=.
9779 for ac_exec_ext
in '' $ac_executable_extensions; do
9780 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
9781 ac_cv_path_PKG_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
9782 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
9788 test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG
="no"
9792 PKG_CONFIG
=$ac_cv_path_PKG_CONFIG
9794 if test -n "$PKG_CONFIG"; then
9795 echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
9796 echo "${ECHO_T}$PKG_CONFIG" >&6
9798 echo "$as_me:$LINENO: result: no" >&5
9799 echo "${ECHO_T}no" >&6
9804 if test "$PKG_CONFIG" = "no" ; then
9805 echo "*** The pkg-config script could not be found. Make sure it is"
9806 echo "*** in your path, or set the PKG_CONFIG environment variable"
9807 echo "*** to the full path to pkg-config."
9808 echo "*** Or see http://www.freedesktop.org/software/pkgconfig to get pkg-config."
9810 PKG_CONFIG_MIN_VERSION
=0.9.0
9811 if $PKG_CONFIG --atleast-pkgconfig-version $PKG_CONFIG_MIN_VERSION; then
9812 echo "$as_me:$LINENO: checking for libxml-2.0 >= 2.6.8" >&5
9813 echo $ECHO_N "checking for libxml-2.0 >= 2.6.8... $ECHO_C" >&6
9815 if $PKG_CONFIG --exists "libxml-2.0 >= 2.6.8" ; then
9816 echo "$as_me:$LINENO: result: yes" >&5
9817 echo "${ECHO_T}yes" >&6
9820 echo "$as_me:$LINENO: checking XML_CFLAGS" >&5
9821 echo $ECHO_N "checking XML_CFLAGS... $ECHO_C" >&6
9822 XML_CFLAGS
=`$PKG_CONFIG --cflags "libxml-2.0 >= 2.6.8"`
9823 echo "$as_me:$LINENO: result: $XML_CFLAGS" >&5
9824 echo "${ECHO_T}$XML_CFLAGS" >&6
9826 echo "$as_me:$LINENO: checking XML_LIBS" >&5
9827 echo $ECHO_N "checking XML_LIBS... $ECHO_C" >&6
9828 XML_LIBS
=`$PKG_CONFIG --libs "libxml-2.0 >= 2.6.8"`
9829 echo "$as_me:$LINENO: result: $XML_LIBS" >&5
9830 echo "${ECHO_T}$XML_LIBS" >&6
9834 ## If we have a custom action on failure, don't print errors, but
9835 ## do set a variable so people can do so.
9836 XML_PKG_ERRORS
=`$PKG_CONFIG --errors-to-stdout --print-errors "libxml-2.0 >= 2.6.8"`
9837 echo $XML_PKG_ERRORS
9843 echo "*** Your version of pkg-config is too old. You need version $PKG_CONFIG_MIN_VERSION or newer."
9844 echo "*** See http://www.freedesktop.org/software/pkgconfig"
9848 if test $succeeded = yes; then
9851 { { 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
9852 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;}
9853 { (exit 1); exit 1; }; }
9859 if test -z "$PKG_CONFIG"; then
9860 # Extract the first word of "pkg-config", so it can be a program name with args.
9861 set dummy pkg-config
; ac_word
=$2
9862 echo "$as_me:$LINENO: checking for $ac_word" >&5
9863 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
9864 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
9865 echo $ECHO_N "(cached) $ECHO_C" >&6
9869 ac_cv_path_PKG_CONFIG
="$PKG_CONFIG" # Let the user override the test with a path.
9872 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
9876 test -z "$as_dir" && as_dir
=.
9877 for ac_exec_ext
in '' $ac_executable_extensions; do
9878 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
9879 ac_cv_path_PKG_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
9880 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
9886 test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG
="no"
9890 PKG_CONFIG
=$ac_cv_path_PKG_CONFIG
9892 if test -n "$PKG_CONFIG"; then
9893 echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
9894 echo "${ECHO_T}$PKG_CONFIG" >&6
9896 echo "$as_me:$LINENO: result: no" >&5
9897 echo "${ECHO_T}no" >&6
9902 if test "$PKG_CONFIG" = "no" ; then
9903 echo "*** The pkg-config script could not be found. Make sure it is"
9904 echo "*** in your path, or set the PKG_CONFIG environment variable"
9905 echo "*** to the full path to pkg-config."
9906 echo "*** Or see http://www.freedesktop.org/software/pkgconfig to get pkg-config."
9908 PKG_CONFIG_MIN_VERSION
=0.9.0
9909 if $PKG_CONFIG --atleast-pkgconfig-version $PKG_CONFIG_MIN_VERSION; then
9910 echo "$as_me:$LINENO: checking for libxslt >= 1.1.11" >&5
9911 echo $ECHO_N "checking for libxslt >= 1.1.11... $ECHO_C" >&6
9913 if $PKG_CONFIG --exists "libxslt >= 1.1.11" ; then
9914 echo "$as_me:$LINENO: result: yes" >&5
9915 echo "${ECHO_T}yes" >&6
9918 echo "$as_me:$LINENO: checking XSLT_CFLAGS" >&5
9919 echo $ECHO_N "checking XSLT_CFLAGS... $ECHO_C" >&6
9920 XSLT_CFLAGS
=`$PKG_CONFIG --cflags "libxslt >= 1.1.11"`
9921 echo "$as_me:$LINENO: result: $XSLT_CFLAGS" >&5
9922 echo "${ECHO_T}$XSLT_CFLAGS" >&6
9924 echo "$as_me:$LINENO: checking XSLT_LIBS" >&5
9925 echo $ECHO_N "checking XSLT_LIBS... $ECHO_C" >&6
9926 XSLT_LIBS
=`$PKG_CONFIG --libs "libxslt >= 1.1.11"`
9927 echo "$as_me:$LINENO: result: $XSLT_LIBS" >&5
9928 echo "${ECHO_T}$XSLT_LIBS" >&6
9932 ## If we have a custom action on failure, don't print errors, but
9933 ## do set a variable so people can do so.
9934 XSLT_PKG_ERRORS
=`$PKG_CONFIG --errors-to-stdout --print-errors "libxslt >= 1.1.11"`
9935 echo $XSLT_PKG_ERRORS
9941 echo "*** Your version of pkg-config is too old. You need version $PKG_CONFIG_MIN_VERSION or newer."
9942 echo "*** See http://www.freedesktop.org/software/pkgconfig"
9946 if test $succeeded = yes; then
9949 { { 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
9950 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;}
9951 { (exit 1); exit 1; }; }
9960 if test "x${COMPILE_GTK_PEER}" = xyes
; then
9961 echo "$as_me:$LINENO: checking for X" >&5
9962 echo $ECHO_N "checking for X... $ECHO_C" >&6
9965 # Check whether --with-x or --without-x was given.
9966 if test "${with_x+set}" = set; then
9970 # $have_x is `yes', `no', `disabled', or empty when we do not yet know.
9971 if test "x$with_x" = xno
; then
9972 # The user explicitly disabled X.
9975 if test "x$x_includes" != xNONE
&& test "x$x_libraries" != xNONE
; then
9976 # Both variables are already set.
9979 if test "${ac_cv_have_x+set}" = set; then
9980 echo $ECHO_N "(cached) $ECHO_C" >&6
9982 # One or both of the vars are not set, and there is no cached value.
9983 ac_x_includes
=no ac_x_libraries
=no
9985 if mkdir conftest.dir
; then
9987 # Make sure to not put "make" in the Imakefile rules, since we grep it out.
9988 cat >Imakefile
<<'_ACEOF'
9990 @echo 'ac_im_incroot="${INCROOT}"; ac_im_usrlibdir="${USRLIBDIR}"; ac_im_libdir="${LIBDIR}"'
9992 if (xmkmf
) >/dev
/null
2>/dev
/null
&& test -f Makefile
; then
9993 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
9994 eval `${MAKE-make} acfindx 2>/dev/null | grep -v make`
9995 # Open Windows xmkmf reportedly sets LIBDIR instead of USRLIBDIR.
9996 for ac_extension
in a so sl
; do
9997 if test ! -f $ac_im_usrlibdir/libX11.
$ac_extension &&
9998 test -f $ac_im_libdir/libX11.
$ac_extension; then
9999 ac_im_usrlibdir
=$ac_im_libdir; break
10002 # Screen out bogus values from the imake configuration. They are
10003 # bogus both because they are the default anyway, and because
10004 # using them would break gcc on systems where it needs fixed includes.
10005 case $ac_im_incroot in
10007 *) test -f "$ac_im_incroot/X11/Xos.h" && ac_x_includes
=$ac_im_incroot;;
10009 case $ac_im_usrlibdir in
10010 /usr
/lib |
/lib
) ;;
10011 *) test -d "$ac_im_usrlibdir" && ac_x_libraries
=$ac_im_usrlibdir ;;
10015 rm -fr conftest.dir
10018 # Standard set of common directories for X headers.
10019 # Check X11 before X11Rn because it is often a symlink to the current release.
10031 /usr/local/X11/include
10032 /usr/local/X11R6/include
10033 /usr/local/X11R5/include
10034 /usr/local/X11R4/include
10036 /usr/local/include/X11
10037 /usr/local/include/X11R6
10038 /usr/local/include/X11R5
10039 /usr/local/include/X11R4
10043 /usr/XFree86/include/X11
10047 /usr/unsupported/include
10048 /usr/athena/include
10049 /usr/local/x11r5/include
10050 /usr/lpp/Xamples/include
10052 /usr/openwin/include
10053 /usr/openwin/share/include'
10055 if test "$ac_x_includes" = no
; then
10056 # Guess where to find include files, by looking for Xlib.h.
10057 # First, try using that file with no special directory specified.
10058 cat >conftest.
$ac_ext <<_ACEOF
10061 cat confdefs.h
>>conftest.
$ac_ext
10062 cat >>conftest.
$ac_ext <<_ACEOF
10063 /* end confdefs.h. */
10064 #include <X11/Xlib.h>
10066 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
10067 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
10069 grep -v '^ *+' conftest.er1
>conftest.err
10071 cat conftest.err
>&5
10072 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10073 (exit $ac_status); } >/dev
/null
; then
10074 if test -s conftest.err
; then
10075 ac_cpp_err
=$ac_c_preproc_warn_flag
10076 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
10083 if test -z "$ac_cpp_err"; then
10084 # We can compile using X headers with no special include directory.
10087 echo "$as_me: failed program was:" >&5
10088 sed 's/^/| /' conftest.
$ac_ext >&5
10090 for ac_dir
in $ac_x_header_dirs; do
10091 if test -r "$ac_dir/X11/Xlib.h"; then
10092 ac_x_includes
=$ac_dir
10097 rm -f conftest.err conftest.
$ac_ext
10098 fi # $ac_x_includes = no
10100 if test "$ac_x_libraries" = no
; then
10101 # Check for the libraries.
10102 # See if we find them without any special options.
10103 # Don't add to $LIBS permanently.
10106 cat >conftest.
$ac_ext <<_ACEOF
10109 cat confdefs.h
>>conftest.
$ac_ext
10110 cat >>conftest.
$ac_ext <<_ACEOF
10111 /* end confdefs.h. */
10112 #include <X11/Xlib.h>
10121 rm -f conftest.
$ac_objext conftest
$ac_exeext
10122 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10123 (eval $ac_link) 2>conftest.er1
10125 grep -v '^ *+' conftest.er1
>conftest.err
10127 cat conftest.err
>&5
10128 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10129 (exit $ac_status); } &&
10130 { ac_try
='test -z "$ac_c_werror_flag"
10131 || test ! -s conftest.err'
10132 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10133 (eval $ac_try) 2>&5
10135 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10136 (exit $ac_status); }; } &&
10137 { ac_try
='test -s conftest$ac_exeext'
10138 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10139 (eval $ac_try) 2>&5
10141 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10142 (exit $ac_status); }; }; then
10144 # We can link X programs with no special library path.
10147 echo "$as_me: failed program was:" >&5
10148 sed 's/^/| /' conftest.
$ac_ext >&5
10151 for ac_dir
in `echo "$ac_x_includes $ac_x_header_dirs" | sed s/include/lib/g`
10153 # Don't even attempt the hair of trying to link an X program!
10154 for ac_extension
in a so sl
; do
10155 if test -r $ac_dir/libXt.
$ac_extension; then
10156 ac_x_libraries
=$ac_dir
10162 rm -f conftest.err conftest.
$ac_objext \
10163 conftest
$ac_exeext conftest.
$ac_ext
10164 fi # $ac_x_libraries = no
10166 if test "$ac_x_includes" = no ||
test "$ac_x_libraries" = no
; then
10167 # Didn't find X anywhere. Cache the known absence of X.
10168 ac_cv_have_x
="have_x=no"
10170 # Record where we found X for the cache.
10171 ac_cv_have_x
="have_x=yes \
10172 ac_x_includes=$ac_x_includes ac_x_libraries=$ac_x_libraries"
10177 eval "$ac_cv_have_x"
10180 if test "$have_x" != yes; then
10181 echo "$as_me:$LINENO: result: $have_x" >&5
10182 echo "${ECHO_T}$have_x" >&6
10185 # If each of the values was on the command line, it overrides each guess.
10186 test "x$x_includes" = xNONE
&& x_includes
=$ac_x_includes
10187 test "x$x_libraries" = xNONE
&& x_libraries
=$ac_x_libraries
10188 # Update the cache value to reflect the command line values.
10189 ac_cv_have_x
="have_x=yes \
10190 ac_x_includes=$x_includes ac_x_libraries=$x_libraries"
10191 echo "$as_me:$LINENO: result: libraries $x_libraries, headers $x_includes" >&5
10192 echo "${ECHO_T}libraries $x_libraries, headers $x_includes" >&6
10195 if test "$no_x" = yes; then
10196 # Not all programs may use this symbol, but it does not hurt to define it.
10198 cat >>confdefs.h
<<\_ACEOF
10199 #define X_DISPLAY_MISSING 1
10202 X_CFLAGS
= X_PRE_LIBS
= X_LIBS
= X_EXTRA_LIBS
=
10204 if test -n "$x_includes"; then
10205 X_CFLAGS
="$X_CFLAGS -I$x_includes"
10208 # It would also be nice to do this for all -L options, not just this one.
10209 if test -n "$x_libraries"; then
10210 X_LIBS
="$X_LIBS -L$x_libraries"
10211 # For Solaris; some versions of Sun CC require a space after -R and
10212 # others require no space. Words are not sufficient . . . .
10213 case `(uname -sr) 2>/dev/null` in
10215 echo "$as_me:$LINENO: checking whether -R must be followed by a space" >&5
10216 echo $ECHO_N "checking whether -R must be followed by a space... $ECHO_C" >&6
10217 ac_xsave_LIBS
=$LIBS; LIBS
="$LIBS -R$x_libraries"
10218 cat >conftest.
$ac_ext <<_ACEOF
10221 cat confdefs.h
>>conftest.
$ac_ext
10222 cat >>conftest.
$ac_ext <<_ACEOF
10223 /* end confdefs.h. */
10233 rm -f conftest.
$ac_objext conftest
$ac_exeext
10234 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10235 (eval $ac_link) 2>conftest.er1
10237 grep -v '^ *+' conftest.er1
>conftest.err
10239 cat conftest.err
>&5
10240 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10241 (exit $ac_status); } &&
10242 { ac_try
='test -z "$ac_c_werror_flag"
10243 || test ! -s conftest.err'
10244 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10245 (eval $ac_try) 2>&5
10247 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10248 (exit $ac_status); }; } &&
10249 { ac_try
='test -s conftest$ac_exeext'
10250 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10251 (eval $ac_try) 2>&5
10253 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10254 (exit $ac_status); }; }; then
10257 echo "$as_me: failed program was:" >&5
10258 sed 's/^/| /' conftest.
$ac_ext >&5
10262 rm -f conftest.err conftest.
$ac_objext \
10263 conftest
$ac_exeext conftest.
$ac_ext
10264 if test $ac_R_nospace = yes; then
10265 echo "$as_me:$LINENO: result: no" >&5
10266 echo "${ECHO_T}no" >&6
10267 X_LIBS
="$X_LIBS -R$x_libraries"
10269 LIBS
="$ac_xsave_LIBS -R $x_libraries"
10270 cat >conftest.
$ac_ext <<_ACEOF
10273 cat confdefs.h
>>conftest.
$ac_ext
10274 cat >>conftest.
$ac_ext <<_ACEOF
10275 /* end confdefs.h. */
10285 rm -f conftest.
$ac_objext conftest
$ac_exeext
10286 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10287 (eval $ac_link) 2>conftest.er1
10289 grep -v '^ *+' conftest.er1
>conftest.err
10291 cat conftest.err
>&5
10292 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10293 (exit $ac_status); } &&
10294 { ac_try
='test -z "$ac_c_werror_flag"
10295 || test ! -s conftest.err'
10296 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10297 (eval $ac_try) 2>&5
10299 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10300 (exit $ac_status); }; } &&
10301 { ac_try
='test -s conftest$ac_exeext'
10302 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10303 (eval $ac_try) 2>&5
10305 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10306 (exit $ac_status); }; }; then
10309 echo "$as_me: failed program was:" >&5
10310 sed 's/^/| /' conftest.
$ac_ext >&5
10314 rm -f conftest.err conftest.
$ac_objext \
10315 conftest
$ac_exeext conftest.
$ac_ext
10316 if test $ac_R_space = yes; then
10317 echo "$as_me:$LINENO: result: yes" >&5
10318 echo "${ECHO_T}yes" >&6
10319 X_LIBS
="$X_LIBS -R $x_libraries"
10321 echo "$as_me:$LINENO: result: neither works" >&5
10322 echo "${ECHO_T}neither works" >&6
10325 LIBS
=$ac_xsave_LIBS
10329 # Check for system-dependent libraries X programs must link with.
10330 # Do this before checking for the system-independent R6 libraries
10331 # (-lICE), since we may need -lsocket or whatever for X linking.
10333 if test "$ISC" = yes; then
10334 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lnsl_s -linet"
10336 # Martyn Johnson says this is needed for Ultrix, if the X
10337 # libraries were built with DECnet support. And Karl Berry says
10338 # the Alpha needs dnet_stub (dnet does not exist).
10339 ac_xsave_LIBS
="$LIBS"; LIBS
="$LIBS $X_LIBS -lX11"
10340 cat >conftest.
$ac_ext <<_ACEOF
10343 cat confdefs.h
>>conftest.
$ac_ext
10344 cat >>conftest.
$ac_ext <<_ACEOF
10345 /* end confdefs.h. */
10347 /* Override any gcc2 internal prototype to avoid an error. */
10351 /* We use char because int might match the return type of a gcc2
10352 builtin and then its argument prototype would still apply. */
10353 char XOpenDisplay ();
10362 rm -f conftest.
$ac_objext conftest
$ac_exeext
10363 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10364 (eval $ac_link) 2>conftest.er1
10366 grep -v '^ *+' conftest.er1
>conftest.err
10368 cat conftest.err
>&5
10369 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10370 (exit $ac_status); } &&
10371 { ac_try
='test -z "$ac_c_werror_flag"
10372 || test ! -s conftest.err'
10373 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10374 (eval $ac_try) 2>&5
10376 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10377 (exit $ac_status); }; } &&
10378 { ac_try
='test -s conftest$ac_exeext'
10379 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10380 (eval $ac_try) 2>&5
10382 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10383 (exit $ac_status); }; }; then
10386 echo "$as_me: failed program was:" >&5
10387 sed 's/^/| /' conftest.
$ac_ext >&5
10389 echo "$as_me:$LINENO: checking for dnet_ntoa in -ldnet" >&5
10390 echo $ECHO_N "checking for dnet_ntoa in -ldnet... $ECHO_C" >&6
10391 if test "${ac_cv_lib_dnet_dnet_ntoa+set}" = set; then
10392 echo $ECHO_N "(cached) $ECHO_C" >&6
10394 ac_check_lib_save_LIBS
=$LIBS
10395 LIBS
="-ldnet $LIBS"
10396 cat >conftest.
$ac_ext <<_ACEOF
10399 cat confdefs.h
>>conftest.
$ac_ext
10400 cat >>conftest.
$ac_ext <<_ACEOF
10401 /* end confdefs.h. */
10403 /* Override any gcc2 internal prototype to avoid an error. */
10407 /* We use char because int might match the return type of a gcc2
10408 builtin and then its argument prototype would still apply. */
10418 rm -f conftest.
$ac_objext conftest
$ac_exeext
10419 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10420 (eval $ac_link) 2>conftest.er1
10422 grep -v '^ *+' conftest.er1
>conftest.err
10424 cat conftest.err
>&5
10425 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10426 (exit $ac_status); } &&
10427 { ac_try
='test -z "$ac_c_werror_flag"
10428 || test ! -s conftest.err'
10429 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10430 (eval $ac_try) 2>&5
10432 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10433 (exit $ac_status); }; } &&
10434 { ac_try
='test -s conftest$ac_exeext'
10435 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10436 (eval $ac_try) 2>&5
10438 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10439 (exit $ac_status); }; }; then
10440 ac_cv_lib_dnet_dnet_ntoa
=yes
10442 echo "$as_me: failed program was:" >&5
10443 sed 's/^/| /' conftest.
$ac_ext >&5
10445 ac_cv_lib_dnet_dnet_ntoa
=no
10447 rm -f conftest.err conftest.
$ac_objext \
10448 conftest
$ac_exeext conftest.
$ac_ext
10449 LIBS
=$ac_check_lib_save_LIBS
10451 echo "$as_me:$LINENO: result: $ac_cv_lib_dnet_dnet_ntoa" >&5
10452 echo "${ECHO_T}$ac_cv_lib_dnet_dnet_ntoa" >&6
10453 if test $ac_cv_lib_dnet_dnet_ntoa = yes; then
10454 X_EXTRA_LIBS
="$X_EXTRA_LIBS -ldnet"
10457 if test $ac_cv_lib_dnet_dnet_ntoa = no
; then
10458 echo "$as_me:$LINENO: checking for dnet_ntoa in -ldnet_stub" >&5
10459 echo $ECHO_N "checking for dnet_ntoa in -ldnet_stub... $ECHO_C" >&6
10460 if test "${ac_cv_lib_dnet_stub_dnet_ntoa+set}" = set; then
10461 echo $ECHO_N "(cached) $ECHO_C" >&6
10463 ac_check_lib_save_LIBS
=$LIBS
10464 LIBS
="-ldnet_stub $LIBS"
10465 cat >conftest.
$ac_ext <<_ACEOF
10468 cat confdefs.h
>>conftest.
$ac_ext
10469 cat >>conftest.
$ac_ext <<_ACEOF
10470 /* end confdefs.h. */
10472 /* Override any gcc2 internal prototype to avoid an error. */
10476 /* We use char because int might match the return type of a gcc2
10477 builtin and then its argument prototype would still apply. */
10487 rm -f conftest.
$ac_objext conftest
$ac_exeext
10488 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10489 (eval $ac_link) 2>conftest.er1
10491 grep -v '^ *+' conftest.er1
>conftest.err
10493 cat conftest.err
>&5
10494 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10495 (exit $ac_status); } &&
10496 { ac_try
='test -z "$ac_c_werror_flag"
10497 || test ! -s conftest.err'
10498 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10499 (eval $ac_try) 2>&5
10501 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10502 (exit $ac_status); }; } &&
10503 { ac_try
='test -s conftest$ac_exeext'
10504 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10505 (eval $ac_try) 2>&5
10507 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10508 (exit $ac_status); }; }; then
10509 ac_cv_lib_dnet_stub_dnet_ntoa
=yes
10511 echo "$as_me: failed program was:" >&5
10512 sed 's/^/| /' conftest.
$ac_ext >&5
10514 ac_cv_lib_dnet_stub_dnet_ntoa
=no
10516 rm -f conftest.err conftest.
$ac_objext \
10517 conftest
$ac_exeext conftest.
$ac_ext
10518 LIBS
=$ac_check_lib_save_LIBS
10520 echo "$as_me:$LINENO: result: $ac_cv_lib_dnet_stub_dnet_ntoa" >&5
10521 echo "${ECHO_T}$ac_cv_lib_dnet_stub_dnet_ntoa" >&6
10522 if test $ac_cv_lib_dnet_stub_dnet_ntoa = yes; then
10523 X_EXTRA_LIBS
="$X_EXTRA_LIBS -ldnet_stub"
10528 rm -f conftest.err conftest.
$ac_objext \
10529 conftest
$ac_exeext conftest.
$ac_ext
10530 LIBS
="$ac_xsave_LIBS"
10532 # msh@cis.ufl.edu says -lnsl (and -lsocket) are needed for his 386/AT,
10533 # to get the SysV transport functions.
10534 # Chad R. Larson says the Pyramis MIS-ES running DC/OSx (SVR4)
10536 # The nsl library prevents programs from opening the X display
10537 # on Irix 5.2, according to T.E. Dickey.
10538 # The functions gethostbyname, getservbyname, and inet_addr are
10539 # in -lbsd on LynxOS 3.0.1/i386, according to Lars Hecking.
10540 echo "$as_me:$LINENO: checking for gethostbyname" >&5
10541 echo $ECHO_N "checking for gethostbyname... $ECHO_C" >&6
10542 if test "${ac_cv_func_gethostbyname+set}" = set; then
10543 echo $ECHO_N "(cached) $ECHO_C" >&6
10545 cat >conftest.
$ac_ext <<_ACEOF
10548 cat confdefs.h
>>conftest.
$ac_ext
10549 cat >>conftest.
$ac_ext <<_ACEOF
10550 /* end confdefs.h. */
10551 /* Define gethostbyname to an innocuous variant, in case <limits.h> declares gethostbyname.
10552 For example, HP-UX 11i <limits.h> declares gettimeofday. */
10553 #define gethostbyname innocuous_gethostbyname
10555 /* System header to define __stub macros and hopefully few prototypes,
10556 which can conflict with char gethostbyname (); below.
10557 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
10558 <limits.h> exists even on freestanding compilers. */
10561 # include <limits.h>
10563 # include <assert.h>
10566 #undef gethostbyname
10568 /* Override any gcc2 internal prototype to avoid an error. */
10573 /* We use char because int might match the return type of a gcc2
10574 builtin and then its argument prototype would still apply. */
10575 char gethostbyname ();
10576 /* The GNU C library defines this for functions which it implements
10577 to always fail with ENOSYS. Some functions are actually named
10578 something starting with __ and the normal name is an alias. */
10579 #if defined (__stub_gethostbyname) || defined (__stub___gethostbyname)
10582 char (*f) () = gethostbyname;
10591 return f != gethostbyname;
10596 rm -f conftest.
$ac_objext conftest
$ac_exeext
10597 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10598 (eval $ac_link) 2>conftest.er1
10600 grep -v '^ *+' conftest.er1
>conftest.err
10602 cat conftest.err
>&5
10603 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10604 (exit $ac_status); } &&
10605 { ac_try
='test -z "$ac_c_werror_flag"
10606 || test ! -s conftest.err'
10607 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10608 (eval $ac_try) 2>&5
10610 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10611 (exit $ac_status); }; } &&
10612 { ac_try
='test -s conftest$ac_exeext'
10613 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10614 (eval $ac_try) 2>&5
10616 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10617 (exit $ac_status); }; }; then
10618 ac_cv_func_gethostbyname
=yes
10620 echo "$as_me: failed program was:" >&5
10621 sed 's/^/| /' conftest.
$ac_ext >&5
10623 ac_cv_func_gethostbyname
=no
10625 rm -f conftest.err conftest.
$ac_objext \
10626 conftest
$ac_exeext conftest.
$ac_ext
10628 echo "$as_me:$LINENO: result: $ac_cv_func_gethostbyname" >&5
10629 echo "${ECHO_T}$ac_cv_func_gethostbyname" >&6
10631 if test $ac_cv_func_gethostbyname = no
; then
10632 echo "$as_me:$LINENO: checking for gethostbyname in -lnsl" >&5
10633 echo $ECHO_N "checking for gethostbyname in -lnsl... $ECHO_C" >&6
10634 if test "${ac_cv_lib_nsl_gethostbyname+set}" = set; then
10635 echo $ECHO_N "(cached) $ECHO_C" >&6
10637 ac_check_lib_save_LIBS
=$LIBS
10639 cat >conftest.
$ac_ext <<_ACEOF
10642 cat confdefs.h
>>conftest.
$ac_ext
10643 cat >>conftest.
$ac_ext <<_ACEOF
10644 /* end confdefs.h. */
10646 /* Override any gcc2 internal prototype to avoid an error. */
10650 /* We use char because int might match the return type of a gcc2
10651 builtin and then its argument prototype would still apply. */
10652 char gethostbyname ();
10661 rm -f conftest.
$ac_objext conftest
$ac_exeext
10662 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10663 (eval $ac_link) 2>conftest.er1
10665 grep -v '^ *+' conftest.er1
>conftest.err
10667 cat conftest.err
>&5
10668 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10669 (exit $ac_status); } &&
10670 { ac_try
='test -z "$ac_c_werror_flag"
10671 || test ! -s conftest.err'
10672 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10673 (eval $ac_try) 2>&5
10675 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10676 (exit $ac_status); }; } &&
10677 { ac_try
='test -s conftest$ac_exeext'
10678 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10679 (eval $ac_try) 2>&5
10681 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10682 (exit $ac_status); }; }; then
10683 ac_cv_lib_nsl_gethostbyname
=yes
10685 echo "$as_me: failed program was:" >&5
10686 sed 's/^/| /' conftest.
$ac_ext >&5
10688 ac_cv_lib_nsl_gethostbyname
=no
10690 rm -f conftest.err conftest.
$ac_objext \
10691 conftest
$ac_exeext conftest.
$ac_ext
10692 LIBS
=$ac_check_lib_save_LIBS
10694 echo "$as_me:$LINENO: result: $ac_cv_lib_nsl_gethostbyname" >&5
10695 echo "${ECHO_T}$ac_cv_lib_nsl_gethostbyname" >&6
10696 if test $ac_cv_lib_nsl_gethostbyname = yes; then
10697 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lnsl"
10700 if test $ac_cv_lib_nsl_gethostbyname = no
; then
10701 echo "$as_me:$LINENO: checking for gethostbyname in -lbsd" >&5
10702 echo $ECHO_N "checking for gethostbyname in -lbsd... $ECHO_C" >&6
10703 if test "${ac_cv_lib_bsd_gethostbyname+set}" = set; then
10704 echo $ECHO_N "(cached) $ECHO_C" >&6
10706 ac_check_lib_save_LIBS
=$LIBS
10708 cat >conftest.
$ac_ext <<_ACEOF
10711 cat confdefs.h
>>conftest.
$ac_ext
10712 cat >>conftest.
$ac_ext <<_ACEOF
10713 /* end confdefs.h. */
10715 /* Override any gcc2 internal prototype to avoid an error. */
10719 /* We use char because int might match the return type of a gcc2
10720 builtin and then its argument prototype would still apply. */
10721 char gethostbyname ();
10730 rm -f conftest.
$ac_objext conftest
$ac_exeext
10731 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10732 (eval $ac_link) 2>conftest.er1
10734 grep -v '^ *+' conftest.er1
>conftest.err
10736 cat conftest.err
>&5
10737 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10738 (exit $ac_status); } &&
10739 { ac_try
='test -z "$ac_c_werror_flag"
10740 || test ! -s conftest.err'
10741 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10742 (eval $ac_try) 2>&5
10744 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10745 (exit $ac_status); }; } &&
10746 { ac_try
='test -s conftest$ac_exeext'
10747 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10748 (eval $ac_try) 2>&5
10750 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10751 (exit $ac_status); }; }; then
10752 ac_cv_lib_bsd_gethostbyname
=yes
10754 echo "$as_me: failed program was:" >&5
10755 sed 's/^/| /' conftest.
$ac_ext >&5
10757 ac_cv_lib_bsd_gethostbyname
=no
10759 rm -f conftest.err conftest.
$ac_objext \
10760 conftest
$ac_exeext conftest.
$ac_ext
10761 LIBS
=$ac_check_lib_save_LIBS
10763 echo "$as_me:$LINENO: result: $ac_cv_lib_bsd_gethostbyname" >&5
10764 echo "${ECHO_T}$ac_cv_lib_bsd_gethostbyname" >&6
10765 if test $ac_cv_lib_bsd_gethostbyname = yes; then
10766 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lbsd"
10772 # lieder@skyler.mavd.honeywell.com says without -lsocket,
10773 # socket/setsockopt and other routines are undefined under SCO ODT
10774 # 2.0. But -lsocket is broken on IRIX 5.2 (and is not necessary
10775 # on later versions), says Simon Leinen: it contains gethostby*
10776 # variants that don't use the name server (or something). -lsocket
10777 # must be given before -lnsl if both are needed. We assume that
10778 # if connect needs -lnsl, so does gethostbyname.
10779 echo "$as_me:$LINENO: checking for connect" >&5
10780 echo $ECHO_N "checking for connect... $ECHO_C" >&6
10781 if test "${ac_cv_func_connect+set}" = set; then
10782 echo $ECHO_N "(cached) $ECHO_C" >&6
10784 cat >conftest.
$ac_ext <<_ACEOF
10787 cat confdefs.h
>>conftest.
$ac_ext
10788 cat >>conftest.
$ac_ext <<_ACEOF
10789 /* end confdefs.h. */
10790 /* Define connect to an innocuous variant, in case <limits.h> declares connect.
10791 For example, HP-UX 11i <limits.h> declares gettimeofday. */
10792 #define connect innocuous_connect
10794 /* System header to define __stub macros and hopefully few prototypes,
10795 which can conflict with char connect (); below.
10796 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
10797 <limits.h> exists even on freestanding compilers. */
10800 # include <limits.h>
10802 # include <assert.h>
10807 /* Override any gcc2 internal prototype to avoid an error. */
10812 /* We use char because int might match the return type of a gcc2
10813 builtin and then its argument prototype would still apply. */
10815 /* The GNU C library defines this for functions which it implements
10816 to always fail with ENOSYS. Some functions are actually named
10817 something starting with __ and the normal name is an alias. */
10818 #if defined (__stub_connect) || defined (__stub___connect)
10821 char (*f) () = connect;
10830 return f != connect;
10835 rm -f conftest.
$ac_objext conftest
$ac_exeext
10836 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10837 (eval $ac_link) 2>conftest.er1
10839 grep -v '^ *+' conftest.er1
>conftest.err
10841 cat conftest.err
>&5
10842 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10843 (exit $ac_status); } &&
10844 { ac_try
='test -z "$ac_c_werror_flag"
10845 || test ! -s conftest.err'
10846 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10847 (eval $ac_try) 2>&5
10849 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10850 (exit $ac_status); }; } &&
10851 { ac_try
='test -s conftest$ac_exeext'
10852 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10853 (eval $ac_try) 2>&5
10855 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10856 (exit $ac_status); }; }; then
10857 ac_cv_func_connect
=yes
10859 echo "$as_me: failed program was:" >&5
10860 sed 's/^/| /' conftest.
$ac_ext >&5
10862 ac_cv_func_connect
=no
10864 rm -f conftest.err conftest.
$ac_objext \
10865 conftest
$ac_exeext conftest.
$ac_ext
10867 echo "$as_me:$LINENO: result: $ac_cv_func_connect" >&5
10868 echo "${ECHO_T}$ac_cv_func_connect" >&6
10870 if test $ac_cv_func_connect = no
; then
10871 echo "$as_me:$LINENO: checking for connect in -lsocket" >&5
10872 echo $ECHO_N "checking for connect in -lsocket... $ECHO_C" >&6
10873 if test "${ac_cv_lib_socket_connect+set}" = set; then
10874 echo $ECHO_N "(cached) $ECHO_C" >&6
10876 ac_check_lib_save_LIBS
=$LIBS
10877 LIBS
="-lsocket $X_EXTRA_LIBS $LIBS"
10878 cat >conftest.
$ac_ext <<_ACEOF
10881 cat confdefs.h
>>conftest.
$ac_ext
10882 cat >>conftest.
$ac_ext <<_ACEOF
10883 /* end confdefs.h. */
10885 /* Override any gcc2 internal prototype to avoid an error. */
10889 /* We use char because int might match the return type of a gcc2
10890 builtin and then its argument prototype would still apply. */
10900 rm -f conftest.
$ac_objext conftest
$ac_exeext
10901 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10902 (eval $ac_link) 2>conftest.er1
10904 grep -v '^ *+' conftest.er1
>conftest.err
10906 cat conftest.err
>&5
10907 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10908 (exit $ac_status); } &&
10909 { ac_try
='test -z "$ac_c_werror_flag"
10910 || test ! -s conftest.err'
10911 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10912 (eval $ac_try) 2>&5
10914 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10915 (exit $ac_status); }; } &&
10916 { ac_try
='test -s conftest$ac_exeext'
10917 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10918 (eval $ac_try) 2>&5
10920 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10921 (exit $ac_status); }; }; then
10922 ac_cv_lib_socket_connect
=yes
10924 echo "$as_me: failed program was:" >&5
10925 sed 's/^/| /' conftest.
$ac_ext >&5
10927 ac_cv_lib_socket_connect
=no
10929 rm -f conftest.err conftest.
$ac_objext \
10930 conftest
$ac_exeext conftest.
$ac_ext
10931 LIBS
=$ac_check_lib_save_LIBS
10933 echo "$as_me:$LINENO: result: $ac_cv_lib_socket_connect" >&5
10934 echo "${ECHO_T}$ac_cv_lib_socket_connect" >&6
10935 if test $ac_cv_lib_socket_connect = yes; then
10936 X_EXTRA_LIBS
="-lsocket $X_EXTRA_LIBS"
10941 # Guillermo Gomez says -lposix is necessary on A/UX.
10942 echo "$as_me:$LINENO: checking for remove" >&5
10943 echo $ECHO_N "checking for remove... $ECHO_C" >&6
10944 if test "${ac_cv_func_remove+set}" = set; then
10945 echo $ECHO_N "(cached) $ECHO_C" >&6
10947 cat >conftest.
$ac_ext <<_ACEOF
10950 cat confdefs.h
>>conftest.
$ac_ext
10951 cat >>conftest.
$ac_ext <<_ACEOF
10952 /* end confdefs.h. */
10953 /* Define remove to an innocuous variant, in case <limits.h> declares remove.
10954 For example, HP-UX 11i <limits.h> declares gettimeofday. */
10955 #define remove innocuous_remove
10957 /* System header to define __stub macros and hopefully few prototypes,
10958 which can conflict with char remove (); below.
10959 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
10960 <limits.h> exists even on freestanding compilers. */
10963 # include <limits.h>
10965 # include <assert.h>
10970 /* Override any gcc2 internal prototype to avoid an error. */
10975 /* We use char because int might match the return type of a gcc2
10976 builtin and then its argument prototype would still apply. */
10978 /* The GNU C library defines this for functions which it implements
10979 to always fail with ENOSYS. Some functions are actually named
10980 something starting with __ and the normal name is an alias. */
10981 #if defined (__stub_remove) || defined (__stub___remove)
10984 char (*f) () = remove;
10993 return f != remove;
10998 rm -f conftest.
$ac_objext conftest
$ac_exeext
10999 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
11000 (eval $ac_link) 2>conftest.er1
11002 grep -v '^ *+' conftest.er1
>conftest.err
11004 cat conftest.err
>&5
11005 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11006 (exit $ac_status); } &&
11007 { ac_try
='test -z "$ac_c_werror_flag"
11008 || test ! -s conftest.err'
11009 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11010 (eval $ac_try) 2>&5
11012 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11013 (exit $ac_status); }; } &&
11014 { ac_try
='test -s conftest$ac_exeext'
11015 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11016 (eval $ac_try) 2>&5
11018 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11019 (exit $ac_status); }; }; then
11020 ac_cv_func_remove
=yes
11022 echo "$as_me: failed program was:" >&5
11023 sed 's/^/| /' conftest.
$ac_ext >&5
11025 ac_cv_func_remove
=no
11027 rm -f conftest.err conftest.
$ac_objext \
11028 conftest
$ac_exeext conftest.
$ac_ext
11030 echo "$as_me:$LINENO: result: $ac_cv_func_remove" >&5
11031 echo "${ECHO_T}$ac_cv_func_remove" >&6
11033 if test $ac_cv_func_remove = no
; then
11034 echo "$as_me:$LINENO: checking for remove in -lposix" >&5
11035 echo $ECHO_N "checking for remove in -lposix... $ECHO_C" >&6
11036 if test "${ac_cv_lib_posix_remove+set}" = set; then
11037 echo $ECHO_N "(cached) $ECHO_C" >&6
11039 ac_check_lib_save_LIBS
=$LIBS
11040 LIBS
="-lposix $LIBS"
11041 cat >conftest.
$ac_ext <<_ACEOF
11044 cat confdefs.h
>>conftest.
$ac_ext
11045 cat >>conftest.
$ac_ext <<_ACEOF
11046 /* end confdefs.h. */
11048 /* Override any gcc2 internal prototype to avoid an error. */
11052 /* We use char because int might match the return type of a gcc2
11053 builtin and then its argument prototype would still apply. */
11063 rm -f conftest.
$ac_objext conftest
$ac_exeext
11064 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
11065 (eval $ac_link) 2>conftest.er1
11067 grep -v '^ *+' conftest.er1
>conftest.err
11069 cat conftest.err
>&5
11070 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11071 (exit $ac_status); } &&
11072 { ac_try
='test -z "$ac_c_werror_flag"
11073 || test ! -s conftest.err'
11074 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11075 (eval $ac_try) 2>&5
11077 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11078 (exit $ac_status); }; } &&
11079 { ac_try
='test -s conftest$ac_exeext'
11080 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11081 (eval $ac_try) 2>&5
11083 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11084 (exit $ac_status); }; }; then
11085 ac_cv_lib_posix_remove
=yes
11087 echo "$as_me: failed program was:" >&5
11088 sed 's/^/| /' conftest.
$ac_ext >&5
11090 ac_cv_lib_posix_remove
=no
11092 rm -f conftest.err conftest.
$ac_objext \
11093 conftest
$ac_exeext conftest.
$ac_ext
11094 LIBS
=$ac_check_lib_save_LIBS
11096 echo "$as_me:$LINENO: result: $ac_cv_lib_posix_remove" >&5
11097 echo "${ECHO_T}$ac_cv_lib_posix_remove" >&6
11098 if test $ac_cv_lib_posix_remove = yes; then
11099 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lposix"
11104 # BSDI BSD/OS 2.1 needs -lipc for XOpenDisplay.
11105 echo "$as_me:$LINENO: checking for shmat" >&5
11106 echo $ECHO_N "checking for shmat... $ECHO_C" >&6
11107 if test "${ac_cv_func_shmat+set}" = set; then
11108 echo $ECHO_N "(cached) $ECHO_C" >&6
11110 cat >conftest.
$ac_ext <<_ACEOF
11113 cat confdefs.h
>>conftest.
$ac_ext
11114 cat >>conftest.
$ac_ext <<_ACEOF
11115 /* end confdefs.h. */
11116 /* Define shmat to an innocuous variant, in case <limits.h> declares shmat.
11117 For example, HP-UX 11i <limits.h> declares gettimeofday. */
11118 #define shmat innocuous_shmat
11120 /* System header to define __stub macros and hopefully few prototypes,
11121 which can conflict with char shmat (); below.
11122 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
11123 <limits.h> exists even on freestanding compilers. */
11126 # include <limits.h>
11128 # include <assert.h>
11133 /* Override any gcc2 internal prototype to avoid an error. */
11138 /* We use char because int might match the return type of a gcc2
11139 builtin and then its argument prototype would still apply. */
11141 /* The GNU C library defines this for functions which it implements
11142 to always fail with ENOSYS. Some functions are actually named
11143 something starting with __ and the normal name is an alias. */
11144 #if defined (__stub_shmat) || defined (__stub___shmat)
11147 char (*f) () = shmat;
11161 rm -f conftest.
$ac_objext conftest
$ac_exeext
11162 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
11163 (eval $ac_link) 2>conftest.er1
11165 grep -v '^ *+' conftest.er1
>conftest.err
11167 cat conftest.err
>&5
11168 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11169 (exit $ac_status); } &&
11170 { ac_try
='test -z "$ac_c_werror_flag"
11171 || test ! -s conftest.err'
11172 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11173 (eval $ac_try) 2>&5
11175 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11176 (exit $ac_status); }; } &&
11177 { ac_try
='test -s conftest$ac_exeext'
11178 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11179 (eval $ac_try) 2>&5
11181 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11182 (exit $ac_status); }; }; then
11183 ac_cv_func_shmat
=yes
11185 echo "$as_me: failed program was:" >&5
11186 sed 's/^/| /' conftest.
$ac_ext >&5
11188 ac_cv_func_shmat
=no
11190 rm -f conftest.err conftest.
$ac_objext \
11191 conftest
$ac_exeext conftest.
$ac_ext
11193 echo "$as_me:$LINENO: result: $ac_cv_func_shmat" >&5
11194 echo "${ECHO_T}$ac_cv_func_shmat" >&6
11196 if test $ac_cv_func_shmat = no
; then
11197 echo "$as_me:$LINENO: checking for shmat in -lipc" >&5
11198 echo $ECHO_N "checking for shmat in -lipc... $ECHO_C" >&6
11199 if test "${ac_cv_lib_ipc_shmat+set}" = set; then
11200 echo $ECHO_N "(cached) $ECHO_C" >&6
11202 ac_check_lib_save_LIBS
=$LIBS
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_ipc_shmat
=yes
11250 echo "$as_me: failed program was:" >&5
11251 sed 's/^/| /' conftest.
$ac_ext >&5
11253 ac_cv_lib_ipc_shmat
=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_ipc_shmat" >&5
11260 echo "${ECHO_T}$ac_cv_lib_ipc_shmat" >&6
11261 if test $ac_cv_lib_ipc_shmat = yes; then
11262 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lipc"
11268 # Check for libraries that X11R6 Xt/Xaw programs need.
11269 ac_save_LDFLAGS
=$LDFLAGS
11270 test -n "$x_libraries" && LDFLAGS
="$LDFLAGS -L$x_libraries"
11271 # SM needs ICE to (dynamically) link under SunOS 4.x (so we have to
11272 # check for ICE first), but we must link in the order -lSM -lICE or
11273 # we get undefined symbols. So assume we have SM if we have ICE.
11274 # These have to be linked with before -lX11, unlike the other
11275 # libraries we check for below, so use a different variable.
11276 # John Interrante, Karl Berry
11277 echo "$as_me:$LINENO: checking for IceConnectionNumber in -lICE" >&5
11278 echo $ECHO_N "checking for IceConnectionNumber in -lICE... $ECHO_C" >&6
11279 if test "${ac_cv_lib_ICE_IceConnectionNumber+set}" = set; then
11280 echo $ECHO_N "(cached) $ECHO_C" >&6
11282 ac_check_lib_save_LIBS
=$LIBS
11283 LIBS
="-lICE $X_EXTRA_LIBS $LIBS"
11284 cat >conftest.
$ac_ext <<_ACEOF
11287 cat confdefs.h
>>conftest.
$ac_ext
11288 cat >>conftest.
$ac_ext <<_ACEOF
11289 /* end confdefs.h. */
11291 /* Override any gcc2 internal prototype to avoid an error. */
11295 /* We use char because int might match the return type of a gcc2
11296 builtin and then its argument prototype would still apply. */
11297 char IceConnectionNumber ();
11301 IceConnectionNumber ();
11306 rm -f conftest.
$ac_objext conftest
$ac_exeext
11307 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
11308 (eval $ac_link) 2>conftest.er1
11310 grep -v '^ *+' conftest.er1
>conftest.err
11312 cat conftest.err
>&5
11313 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11314 (exit $ac_status); } &&
11315 { ac_try
='test -z "$ac_c_werror_flag"
11316 || test ! -s conftest.err'
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); }; } &&
11322 { ac_try
='test -s conftest$ac_exeext'
11323 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11324 (eval $ac_try) 2>&5
11326 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11327 (exit $ac_status); }; }; then
11328 ac_cv_lib_ICE_IceConnectionNumber
=yes
11330 echo "$as_me: failed program was:" >&5
11331 sed 's/^/| /' conftest.
$ac_ext >&5
11333 ac_cv_lib_ICE_IceConnectionNumber
=no
11335 rm -f conftest.err conftest.
$ac_objext \
11336 conftest
$ac_exeext conftest.
$ac_ext
11337 LIBS
=$ac_check_lib_save_LIBS
11339 echo "$as_me:$LINENO: result: $ac_cv_lib_ICE_IceConnectionNumber" >&5
11340 echo "${ECHO_T}$ac_cv_lib_ICE_IceConnectionNumber" >&6
11341 if test $ac_cv_lib_ICE_IceConnectionNumber = yes; then
11342 X_PRE_LIBS
="$X_PRE_LIBS -lSM -lICE"
11345 LDFLAGS
=$ac_save_LDFLAGS
11349 if test "$no_x" = yes; then
11350 { { echo "$as_me:$LINENO: error: GTK+ peers requested but no X library available" >&5
11351 echo "$as_me: error: GTK+ peers requested but no X library available" >&2;}
11352 { (exit 1); exit 1; }; }
11354 echo "$as_me:$LINENO: checking for XTestQueryExtension in -lXtst" >&5
11355 echo $ECHO_N "checking for XTestQueryExtension in -lXtst... $ECHO_C" >&6
11356 if test "${ac_cv_lib_Xtst_XTestQueryExtension+set}" = set; then
11357 echo $ECHO_N "(cached) $ECHO_C" >&6
11359 ac_check_lib_save_LIBS
=$LIBS
11360 LIBS
="-lXtst ${X_LIBS} $LIBS"
11361 cat >conftest.
$ac_ext <<_ACEOF
11364 cat confdefs.h
>>conftest.
$ac_ext
11365 cat >>conftest.
$ac_ext <<_ACEOF
11366 /* end confdefs.h. */
11368 /* Override any gcc2 internal prototype to avoid an error. */
11372 /* We use char because int might match the return type of a gcc2
11373 builtin and then its argument prototype would still apply. */
11374 char XTestQueryExtension ();
11378 XTestQueryExtension ();
11383 rm -f conftest.
$ac_objext conftest
$ac_exeext
11384 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
11385 (eval $ac_link) 2>conftest.er1
11387 grep -v '^ *+' conftest.er1
>conftest.err
11389 cat conftest.err
>&5
11390 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11391 (exit $ac_status); } &&
11392 { ac_try
='test -z "$ac_c_werror_flag"
11393 || test ! -s conftest.err'
11394 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11395 (eval $ac_try) 2>&5
11397 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11398 (exit $ac_status); }; } &&
11399 { ac_try
='test -s conftest$ac_exeext'
11400 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11401 (eval $ac_try) 2>&5
11403 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11404 (exit $ac_status); }; }; then
11405 ac_cv_lib_Xtst_XTestQueryExtension
=yes
11407 echo "$as_me: failed program was:" >&5
11408 sed 's/^/| /' conftest.
$ac_ext >&5
11410 ac_cv_lib_Xtst_XTestQueryExtension
=no
11412 rm -f conftest.err conftest.
$ac_objext \
11413 conftest
$ac_exeext conftest.
$ac_ext
11414 LIBS
=$ac_check_lib_save_LIBS
11416 echo "$as_me:$LINENO: result: $ac_cv_lib_Xtst_XTestQueryExtension" >&5
11417 echo "${ECHO_T}$ac_cv_lib_Xtst_XTestQueryExtension" >&6
11418 if test $ac_cv_lib_Xtst_XTestQueryExtension = yes; then
11419 XTEST_LIBS
="$XTEST_LIBS -lX11 -lXtst"
11421 { { echo "$as_me:$LINENO: error: libXtst NOT found, required for GdkRobot" >&5
11422 echo "$as_me: error: libXtst NOT found, required for GdkRobot" >&2;}
11423 { (exit 1); exit 1; }; }
11430 if test -z "$PKG_CONFIG"; then
11431 # Extract the first word of "pkg-config", so it can be a program name with args.
11432 set dummy pkg-config
; ac_word
=$2
11433 echo "$as_me:$LINENO: checking for $ac_word" >&5
11434 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
11435 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
11436 echo $ECHO_N "(cached) $ECHO_C" >&6
11438 case $PKG_CONFIG in
11440 ac_cv_path_PKG_CONFIG
="$PKG_CONFIG" # Let the user override the test with a path.
11443 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
11444 for as_dir
in $PATH
11447 test -z "$as_dir" && as_dir
=.
11448 for ac_exec_ext
in '' $ac_executable_extensions; do
11449 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
11450 ac_cv_path_PKG_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
11451 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
11457 test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG
="no"
11461 PKG_CONFIG
=$ac_cv_path_PKG_CONFIG
11463 if test -n "$PKG_CONFIG"; then
11464 echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
11465 echo "${ECHO_T}$PKG_CONFIG" >&6
11467 echo "$as_me:$LINENO: result: no" >&5
11468 echo "${ECHO_T}no" >&6
11473 if test "$PKG_CONFIG" = "no" ; then
11474 echo "*** The pkg-config script could not be found. Make sure it is"
11475 echo "*** in your path, or set the PKG_CONFIG environment variable"
11476 echo "*** to the full path to pkg-config."
11477 echo "*** Or see http://www.freedesktop.org/software/pkgconfig to get pkg-config."
11479 PKG_CONFIG_MIN_VERSION
=0.9.0
11480 if $PKG_CONFIG --atleast-pkgconfig-version $PKG_CONFIG_MIN_VERSION; then
11481 echo "$as_me:$LINENO: checking for gtk+-2.0 >= 2.8 gthread-2.0 >= 2.2 gdk-pixbuf-2.0" >&5
11482 echo $ECHO_N "checking for gtk+-2.0 >= 2.8 gthread-2.0 >= 2.2 gdk-pixbuf-2.0... $ECHO_C" >&6
11484 if $PKG_CONFIG --exists "gtk+-2.0 >= 2.8 gthread-2.0 >= 2.2 gdk-pixbuf-2.0" ; then
11485 echo "$as_me:$LINENO: result: yes" >&5
11486 echo "${ECHO_T}yes" >&6
11489 echo "$as_me:$LINENO: checking GTK_CFLAGS" >&5
11490 echo $ECHO_N "checking GTK_CFLAGS... $ECHO_C" >&6
11491 GTK_CFLAGS
=`$PKG_CONFIG --cflags "gtk+-2.0 >= 2.8 gthread-2.0 >= 2.2 gdk-pixbuf-2.0"`
11492 echo "$as_me:$LINENO: result: $GTK_CFLAGS" >&5
11493 echo "${ECHO_T}$GTK_CFLAGS" >&6
11495 echo "$as_me:$LINENO: checking GTK_LIBS" >&5
11496 echo $ECHO_N "checking GTK_LIBS... $ECHO_C" >&6
11497 GTK_LIBS
=`$PKG_CONFIG --libs "gtk+-2.0 >= 2.8 gthread-2.0 >= 2.2 gdk-pixbuf-2.0"`
11498 echo "$as_me:$LINENO: result: $GTK_LIBS" >&5
11499 echo "${ECHO_T}$GTK_LIBS" >&6
11503 ## If we have a custom action on failure, don't print errors, but
11504 ## do set a variable so people can do so.
11505 GTK_PKG_ERRORS
=`$PKG_CONFIG --errors-to-stdout --print-errors "gtk+-2.0 >= 2.8 gthread-2.0 >= 2.2 gdk-pixbuf-2.0"`
11506 echo $GTK_PKG_ERRORS
11512 echo "*** Your version of pkg-config is too old. You need version $PKG_CONFIG_MIN_VERSION or newer."
11513 echo "*** See http://www.freedesktop.org/software/pkgconfig"
11517 if test $succeeded = yes; then
11520 { { 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
11521 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;}
11522 { (exit 1); exit 1; }; }
11528 if test -z "$PKG_CONFIG"; then
11529 # Extract the first word of "pkg-config", so it can be a program name with args.
11530 set dummy pkg-config
; ac_word
=$2
11531 echo "$as_me:$LINENO: checking for $ac_word" >&5
11532 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
11533 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
11534 echo $ECHO_N "(cached) $ECHO_C" >&6
11536 case $PKG_CONFIG in
11538 ac_cv_path_PKG_CONFIG
="$PKG_CONFIG" # Let the user override the test with a path.
11541 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
11542 for as_dir
in $PATH
11545 test -z "$as_dir" && as_dir
=.
11546 for ac_exec_ext
in '' $ac_executable_extensions; do
11547 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
11548 ac_cv_path_PKG_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
11549 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
11555 test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG
="no"
11559 PKG_CONFIG
=$ac_cv_path_PKG_CONFIG
11561 if test -n "$PKG_CONFIG"; then
11562 echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
11563 echo "${ECHO_T}$PKG_CONFIG" >&6
11565 echo "$as_me:$LINENO: result: no" >&5
11566 echo "${ECHO_T}no" >&6
11571 if test "$PKG_CONFIG" = "no" ; then
11572 echo "*** The pkg-config script could not be found. Make sure it is"
11573 echo "*** in your path, or set the PKG_CONFIG environment variable"
11574 echo "*** to the full path to pkg-config."
11575 echo "*** Or see http://www.freedesktop.org/software/pkgconfig to get pkg-config."
11577 PKG_CONFIG_MIN_VERSION
=0.9.0
11578 if $PKG_CONFIG --atleast-pkgconfig-version $PKG_CONFIG_MIN_VERSION; then
11579 echo "$as_me:$LINENO: checking for freetype2" >&5
11580 echo $ECHO_N "checking for freetype2... $ECHO_C" >&6
11582 if $PKG_CONFIG --exists "freetype2" ; then
11583 echo "$as_me:$LINENO: result: yes" >&5
11584 echo "${ECHO_T}yes" >&6
11587 echo "$as_me:$LINENO: checking FREETYPE2_CFLAGS" >&5
11588 echo $ECHO_N "checking FREETYPE2_CFLAGS... $ECHO_C" >&6
11589 FREETYPE2_CFLAGS
=`$PKG_CONFIG --cflags "freetype2"`
11590 echo "$as_me:$LINENO: result: $FREETYPE2_CFLAGS" >&5
11591 echo "${ECHO_T}$FREETYPE2_CFLAGS" >&6
11593 echo "$as_me:$LINENO: checking FREETYPE2_LIBS" >&5
11594 echo $ECHO_N "checking FREETYPE2_LIBS... $ECHO_C" >&6
11595 FREETYPE2_LIBS
=`$PKG_CONFIG --libs "freetype2"`
11596 echo "$as_me:$LINENO: result: $FREETYPE2_LIBS" >&5
11597 echo "${ECHO_T}$FREETYPE2_LIBS" >&6
11599 FREETYPE2_CFLAGS
=""
11601 ## If we have a custom action on failure, don't print errors, but
11602 ## do set a variable so people can do so.
11603 FREETYPE2_PKG_ERRORS
=`$PKG_CONFIG --errors-to-stdout --print-errors "freetype2"`
11604 echo $FREETYPE2_PKG_ERRORS
11610 echo "*** Your version of pkg-config is too old. You need version $PKG_CONFIG_MIN_VERSION or newer."
11611 echo "*** See http://www.freedesktop.org/software/pkgconfig"
11615 if test $succeeded = yes; then
11618 { { 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
11619 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;}
11620 { (exit 1); exit 1; }; }
11626 if test -z "$PKG_CONFIG"; then
11627 # Extract the first word of "pkg-config", so it can be a program name with args.
11628 set dummy pkg-config
; ac_word
=$2
11629 echo "$as_me:$LINENO: checking for $ac_word" >&5
11630 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
11631 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
11632 echo $ECHO_N "(cached) $ECHO_C" >&6
11634 case $PKG_CONFIG in
11636 ac_cv_path_PKG_CONFIG
="$PKG_CONFIG" # Let the user override the test with a path.
11639 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
11640 for as_dir
in $PATH
11643 test -z "$as_dir" && as_dir
=.
11644 for ac_exec_ext
in '' $ac_executable_extensions; do
11645 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
11646 ac_cv_path_PKG_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
11647 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
11653 test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG
="no"
11657 PKG_CONFIG
=$ac_cv_path_PKG_CONFIG
11659 if test -n "$PKG_CONFIG"; then
11660 echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
11661 echo "${ECHO_T}$PKG_CONFIG" >&6
11663 echo "$as_me:$LINENO: result: no" >&5
11664 echo "${ECHO_T}no" >&6
11669 if test "$PKG_CONFIG" = "no" ; then
11670 echo "*** The pkg-config script could not be found. Make sure it is"
11671 echo "*** in your path, or set the PKG_CONFIG environment variable"
11672 echo "*** to the full path to pkg-config."
11673 echo "*** Or see http://www.freedesktop.org/software/pkgconfig to get pkg-config."
11675 PKG_CONFIG_MIN_VERSION
=0.9.0
11676 if $PKG_CONFIG --atleast-pkgconfig-version $PKG_CONFIG_MIN_VERSION; then
11677 echo "$as_me:$LINENO: checking for pangoft2" >&5
11678 echo $ECHO_N "checking for pangoft2... $ECHO_C" >&6
11680 if $PKG_CONFIG --exists "pangoft2" ; then
11681 echo "$as_me:$LINENO: result: yes" >&5
11682 echo "${ECHO_T}yes" >&6
11685 echo "$as_me:$LINENO: checking PANGOFT2_CFLAGS" >&5
11686 echo $ECHO_N "checking PANGOFT2_CFLAGS... $ECHO_C" >&6
11687 PANGOFT2_CFLAGS
=`$PKG_CONFIG --cflags "pangoft2"`
11688 echo "$as_me:$LINENO: result: $PANGOFT2_CFLAGS" >&5
11689 echo "${ECHO_T}$PANGOFT2_CFLAGS" >&6
11691 echo "$as_me:$LINENO: checking PANGOFT2_LIBS" >&5
11692 echo $ECHO_N "checking PANGOFT2_LIBS... $ECHO_C" >&6
11693 PANGOFT2_LIBS
=`$PKG_CONFIG --libs "pangoft2"`
11694 echo "$as_me:$LINENO: result: $PANGOFT2_LIBS" >&5
11695 echo "${ECHO_T}$PANGOFT2_LIBS" >&6
11699 ## If we have a custom action on failure, don't print errors, but
11700 ## do set a variable so people can do so.
11701 PANGOFT2_PKG_ERRORS
=`$PKG_CONFIG --errors-to-stdout --print-errors "pangoft2"`
11702 echo $PANGOFT2_PKG_ERRORS
11708 echo "*** Your version of pkg-config is too old. You need version $PKG_CONFIG_MIN_VERSION or newer."
11709 echo "*** See http://www.freedesktop.org/software/pkgconfig"
11713 if test $succeeded = yes; then
11716 { { 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
11717 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;}
11718 { (exit 1); exit 1; }; }
11721 echo "$as_me:$LINENO: checking for XRenderQueryExtension in -lXrender" >&5
11722 echo $ECHO_N "checking for XRenderQueryExtension in -lXrender... $ECHO_C" >&6
11723 if test "${ac_cv_lib_Xrender_XRenderQueryExtension+set}" = set; then
11724 echo $ECHO_N "(cached) $ECHO_C" >&6
11726 ac_check_lib_save_LIBS
=$LIBS
11727 LIBS
="-lXrender ${X_LIBS} $LIBS"
11728 cat >conftest.
$ac_ext <<_ACEOF
11731 cat confdefs.h
>>conftest.
$ac_ext
11732 cat >>conftest.
$ac_ext <<_ACEOF
11733 /* end confdefs.h. */
11735 /* Override any gcc2 internal prototype to avoid an error. */
11739 /* We use char because int might match the return type of a gcc2
11740 builtin and then its argument prototype would still apply. */
11741 char XRenderQueryExtension ();
11745 XRenderQueryExtension ();
11750 rm -f conftest.
$ac_objext conftest
$ac_exeext
11751 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
11752 (eval $ac_link) 2>conftest.er1
11754 grep -v '^ *+' conftest.er1
>conftest.err
11756 cat conftest.err
>&5
11757 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11758 (exit $ac_status); } &&
11759 { ac_try
='test -z "$ac_c_werror_flag"
11760 || test ! -s conftest.err'
11761 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11762 (eval $ac_try) 2>&5
11764 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11765 (exit $ac_status); }; } &&
11766 { ac_try
='test -s conftest$ac_exeext'
11767 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11768 (eval $ac_try) 2>&5
11770 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11771 (exit $ac_status); }; }; then
11772 ac_cv_lib_Xrender_XRenderQueryExtension
=yes
11774 echo "$as_me: failed program was:" >&5
11775 sed 's/^/| /' conftest.
$ac_ext >&5
11777 ac_cv_lib_Xrender_XRenderQueryExtension
=no
11779 rm -f conftest.err conftest.
$ac_objext \
11780 conftest
$ac_exeext conftest.
$ac_ext
11781 LIBS
=$ac_check_lib_save_LIBS
11783 echo "$as_me:$LINENO: result: $ac_cv_lib_Xrender_XRenderQueryExtension" >&5
11784 echo "${ECHO_T}$ac_cv_lib_Xrender_XRenderQueryExtension" >&6
11785 if test $ac_cv_lib_Xrender_XRenderQueryExtension = yes; then
11787 cat >>confdefs.h
<<\_ACEOF
11788 #define HAVE_XRENDER 1
11790 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lXrender"
11796 echo "$as_me:$LINENO: checking for XRRQueryExtension in -lXrandr" >&5
11797 echo $ECHO_N "checking for XRRQueryExtension in -lXrandr... $ECHO_C" >&6
11798 if test "${ac_cv_lib_Xrandr_XRRQueryExtension+set}" = set; then
11799 echo $ECHO_N "(cached) $ECHO_C" >&6
11801 ac_check_lib_save_LIBS
=$LIBS
11802 LIBS
="-lXrandr ${X_LIBS} $LIBS"
11803 cat >conftest.
$ac_ext <<_ACEOF
11806 cat confdefs.h
>>conftest.
$ac_ext
11807 cat >>conftest.
$ac_ext <<_ACEOF
11808 /* end confdefs.h. */
11810 /* Override any gcc2 internal prototype to avoid an error. */
11814 /* We use char because int might match the return type of a gcc2
11815 builtin and then its argument prototype would still apply. */
11816 char XRRQueryExtension ();
11820 XRRQueryExtension ();
11825 rm -f conftest.
$ac_objext conftest
$ac_exeext
11826 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
11827 (eval $ac_link) 2>conftest.er1
11829 grep -v '^ *+' conftest.er1
>conftest.err
11831 cat conftest.err
>&5
11832 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11833 (exit $ac_status); } &&
11834 { ac_try
='test -z "$ac_c_werror_flag"
11835 || test ! -s conftest.err'
11836 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11837 (eval $ac_try) 2>&5
11839 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11840 (exit $ac_status); }; } &&
11841 { ac_try
='test -s conftest$ac_exeext'
11842 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11843 (eval $ac_try) 2>&5
11845 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11846 (exit $ac_status); }; }; then
11847 ac_cv_lib_Xrandr_XRRQueryExtension
=yes
11849 echo "$as_me: failed program was:" >&5
11850 sed 's/^/| /' conftest.
$ac_ext >&5
11852 ac_cv_lib_Xrandr_XRRQueryExtension
=no
11854 rm -f conftest.err conftest.
$ac_objext \
11855 conftest
$ac_exeext conftest.
$ac_ext
11856 LIBS
=$ac_check_lib_save_LIBS
11858 echo "$as_me:$LINENO: result: $ac_cv_lib_Xrandr_XRRQueryExtension" >&5
11859 echo "${ECHO_T}$ac_cv_lib_Xrandr_XRRQueryExtension" >&6
11860 if test $ac_cv_lib_Xrandr_XRRQueryExtension = yes; then
11862 cat >>confdefs.h
<<\_ACEOF
11863 #define HAVE_XRANDR 1
11865 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lXrandr"
11880 if test "x${COMPILE_GCONF_PEER}" = xyes
; then
11884 if test -z "$PKG_CONFIG"; then
11885 # Extract the first word of "pkg-config", so it can be a program name with args.
11886 set dummy pkg-config
; ac_word
=$2
11887 echo "$as_me:$LINENO: checking for $ac_word" >&5
11888 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
11889 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
11890 echo $ECHO_N "(cached) $ECHO_C" >&6
11892 case $PKG_CONFIG in
11894 ac_cv_path_PKG_CONFIG
="$PKG_CONFIG" # Let the user override the test with a path.
11897 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
11898 for as_dir
in $PATH
11901 test -z "$as_dir" && as_dir
=.
11902 for ac_exec_ext
in '' $ac_executable_extensions; do
11903 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
11904 ac_cv_path_PKG_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
11905 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
11911 test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG
="no"
11915 PKG_CONFIG
=$ac_cv_path_PKG_CONFIG
11917 if test -n "$PKG_CONFIG"; then
11918 echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
11919 echo "${ECHO_T}$PKG_CONFIG" >&6
11921 echo "$as_me:$LINENO: result: no" >&5
11922 echo "${ECHO_T}no" >&6
11927 if test "$PKG_CONFIG" = "no" ; then
11928 echo "*** The pkg-config script could not be found. Make sure it is"
11929 echo "*** in your path, or set the PKG_CONFIG environment variable"
11930 echo "*** to the full path to pkg-config."
11931 echo "*** Or see http://www.freedesktop.org/software/pkgconfig to get pkg-config."
11933 PKG_CONFIG_MIN_VERSION
=0.9.0
11934 if $PKG_CONFIG --atleast-pkgconfig-version $PKG_CONFIG_MIN_VERSION; then
11935 echo "$as_me:$LINENO: checking for gconf-2.0 >= 2.11.2" >&5
11936 echo $ECHO_N "checking for gconf-2.0 >= 2.11.2... $ECHO_C" >&6
11938 if $PKG_CONFIG --exists "gconf-2.0 >= 2.11.2" ; then
11939 echo "$as_me:$LINENO: result: yes" >&5
11940 echo "${ECHO_T}yes" >&6
11943 echo "$as_me:$LINENO: checking GCONF_CFLAGS" >&5
11944 echo $ECHO_N "checking GCONF_CFLAGS... $ECHO_C" >&6
11945 GCONF_CFLAGS
=`$PKG_CONFIG --cflags "gconf-2.0 >= 2.11.2"`
11946 echo "$as_me:$LINENO: result: $GCONF_CFLAGS" >&5
11947 echo "${ECHO_T}$GCONF_CFLAGS" >&6
11949 echo "$as_me:$LINENO: checking GCONF_LIBS" >&5
11950 echo $ECHO_N "checking GCONF_LIBS... $ECHO_C" >&6
11951 GCONF_LIBS
=`$PKG_CONFIG --libs "gconf-2.0 >= 2.11.2"`
11952 echo "$as_me:$LINENO: result: $GCONF_LIBS" >&5
11953 echo "${ECHO_T}$GCONF_LIBS" >&6
11957 ## If we have a custom action on failure, don't print errors, but
11958 ## do set a variable so people can do so.
11959 GCONF_PKG_ERRORS
=`$PKG_CONFIG --errors-to-stdout --print-errors "gconf-2.0 >= 2.11.2"`
11960 echo $GCONF_PKG_ERRORS
11966 echo "*** Your version of pkg-config is too old. You need version $PKG_CONFIG_MIN_VERSION or newer."
11967 echo "*** See http://www.freedesktop.org/software/pkgconfig"
11971 if test $succeeded = yes; then
11974 { { 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
11975 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;}
11976 { (exit 1); exit 1; }; }
11984 if test -z "$PKG_CONFIG"; then
11985 # Extract the first word of "pkg-config", so it can be a program name with args.
11986 set dummy pkg-config
; ac_word
=$2
11987 echo "$as_me:$LINENO: checking for $ac_word" >&5
11988 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
11989 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
11990 echo $ECHO_N "(cached) $ECHO_C" >&6
11992 case $PKG_CONFIG in
11994 ac_cv_path_PKG_CONFIG
="$PKG_CONFIG" # Let the user override the test with a path.
11997 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
11998 for as_dir
in $PATH
12001 test -z "$as_dir" && as_dir
=.
12002 for ac_exec_ext
in '' $ac_executable_extensions; do
12003 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
12004 ac_cv_path_PKG_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
12005 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
12011 test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG
="no"
12015 PKG_CONFIG
=$ac_cv_path_PKG_CONFIG
12017 if test -n "$PKG_CONFIG"; then
12018 echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
12019 echo "${ECHO_T}$PKG_CONFIG" >&6
12021 echo "$as_me:$LINENO: result: no" >&5
12022 echo "${ECHO_T}no" >&6
12027 if test "$PKG_CONFIG" = "no" ; then
12028 echo "*** The pkg-config script could not be found. Make sure it is"
12029 echo "*** in your path, or set the PKG_CONFIG environment variable"
12030 echo "*** to the full path to pkg-config."
12031 echo "*** Or see http://www.freedesktop.org/software/pkgconfig to get pkg-config."
12033 PKG_CONFIG_MIN_VERSION
=0.9.0
12034 if $PKG_CONFIG --atleast-pkgconfig-version $PKG_CONFIG_MIN_VERSION; then
12035 echo "$as_me:$LINENO: checking for gdk-2.0 >= 2.8" >&5
12036 echo $ECHO_N "checking for gdk-2.0 >= 2.8... $ECHO_C" >&6
12038 if $PKG_CONFIG --exists "gdk-2.0 >= 2.8" ; then
12039 echo "$as_me:$LINENO: result: yes" >&5
12040 echo "${ECHO_T}yes" >&6
12043 echo "$as_me:$LINENO: checking GDK_CFLAGS" >&5
12044 echo $ECHO_N "checking GDK_CFLAGS... $ECHO_C" >&6
12045 GDK_CFLAGS
=`$PKG_CONFIG --cflags "gdk-2.0 >= 2.8"`
12046 echo "$as_me:$LINENO: result: $GDK_CFLAGS" >&5
12047 echo "${ECHO_T}$GDK_CFLAGS" >&6
12049 echo "$as_me:$LINENO: checking GDK_LIBS" >&5
12050 echo $ECHO_N "checking GDK_LIBS... $ECHO_C" >&6
12051 GDK_LIBS
=`$PKG_CONFIG --libs "gdk-2.0 >= 2.8"`
12052 echo "$as_me:$LINENO: result: $GDK_LIBS" >&5
12053 echo "${ECHO_T}$GDK_LIBS" >&6
12057 ## If we have a custom action on failure, don't print errors, but
12058 ## do set a variable so people can do so.
12059 GDK_PKG_ERRORS
=`$PKG_CONFIG --errors-to-stdout --print-errors "gdk-2.0 >= 2.8"`
12060 echo $GDK_PKG_ERRORS
12066 echo "*** Your version of pkg-config is too old. You need version $PKG_CONFIG_MIN_VERSION or newer."
12067 echo "*** See http://www.freedesktop.org/software/pkgconfig"
12071 if test $succeeded = yes; then
12074 { { 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
12075 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;}
12076 { (exit 1); exit 1; }; }
12081 USE_GCONF_PREFS_PEER
=$enable_default_preferences_peer
12082 if test "$USE_GCONF_PREFS_PEER" = ""; then
12083 DEFAULT_PREFS_PEER
=gnu.java.util.prefs.GConfBasedFactory
12087 if test "x${COMPILE_QT_PEER}" = xyes
; then
12091 if test -z "$PKG_CONFIG"; then
12092 # Extract the first word of "pkg-config", so it can be a program name with args.
12093 set dummy pkg-config
; ac_word
=$2
12094 echo "$as_me:$LINENO: checking for $ac_word" >&5
12095 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
12096 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
12097 echo $ECHO_N "(cached) $ECHO_C" >&6
12099 case $PKG_CONFIG in
12101 ac_cv_path_PKG_CONFIG
="$PKG_CONFIG" # Let the user override the test with a path.
12104 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
12105 for as_dir
in $PATH
12108 test -z "$as_dir" && as_dir
=.
12109 for ac_exec_ext
in '' $ac_executable_extensions; do
12110 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
12111 ac_cv_path_PKG_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
12112 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
12118 test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG
="no"
12122 PKG_CONFIG
=$ac_cv_path_PKG_CONFIG
12124 if test -n "$PKG_CONFIG"; then
12125 echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
12126 echo "${ECHO_T}$PKG_CONFIG" >&6
12128 echo "$as_me:$LINENO: result: no" >&5
12129 echo "${ECHO_T}no" >&6
12134 if test "$PKG_CONFIG" = "no" ; then
12135 echo "*** The pkg-config script could not be found. Make sure it is"
12136 echo "*** in your path, or set the PKG_CONFIG environment variable"
12137 echo "*** to the full path to pkg-config."
12138 echo "*** Or see http://www.freedesktop.org/software/pkgconfig to get pkg-config."
12140 PKG_CONFIG_MIN_VERSION
=0.9.0
12141 if $PKG_CONFIG --atleast-pkgconfig-version $PKG_CONFIG_MIN_VERSION; then
12142 echo "$as_me:$LINENO: checking for QtCore QtGui >= 4.1.0" >&5
12143 echo $ECHO_N "checking for QtCore QtGui >= 4.1.0... $ECHO_C" >&6
12145 if $PKG_CONFIG --exists "QtCore QtGui >= 4.1.0" ; then
12146 echo "$as_me:$LINENO: result: yes" >&5
12147 echo "${ECHO_T}yes" >&6
12150 echo "$as_me:$LINENO: checking QT_CFLAGS" >&5
12151 echo $ECHO_N "checking QT_CFLAGS... $ECHO_C" >&6
12152 QT_CFLAGS
=`$PKG_CONFIG --cflags "QtCore QtGui >= 4.1.0"`
12153 echo "$as_me:$LINENO: result: $QT_CFLAGS" >&5
12154 echo "${ECHO_T}$QT_CFLAGS" >&6
12156 echo "$as_me:$LINENO: checking QT_LIBS" >&5
12157 echo $ECHO_N "checking QT_LIBS... $ECHO_C" >&6
12158 QT_LIBS
=`$PKG_CONFIG --libs "QtCore QtGui >= 4.1.0"`
12159 echo "$as_me:$LINENO: result: $QT_LIBS" >&5
12160 echo "${ECHO_T}$QT_LIBS" >&6
12164 ## If we have a custom action on failure, don't print errors, but
12165 ## do set a variable so people can do so.
12166 QT_PKG_ERRORS
=`$PKG_CONFIG --errors-to-stdout --print-errors "QtCore QtGui >= 4.1.0"`
12173 echo "*** Your version of pkg-config is too old. You need version $PKG_CONFIG_MIN_VERSION or newer."
12174 echo "*** See http://www.freedesktop.org/software/pkgconfig"
12178 if test $succeeded = yes; then
12184 if test "x$HAVE_QT4" = "xyes"; then
12185 QT_INCLUDE_DIR
=`$PKG_CONFIG --variable=includedir QtGui`
12186 EXTRA_QT_INCLUDE_DIR
="$QT_INCLUDE_DIR/Qt"
12187 as_ac_File
=`echo "ac_cv_file_$QT_INCLUDE_DIR/QWidget" | $as_tr_sh`
12188 echo "$as_me:$LINENO: checking for $QT_INCLUDE_DIR/QWidget" >&5
12189 echo $ECHO_N "checking for $QT_INCLUDE_DIR/QWidget... $ECHO_C" >&6
12190 if eval "test \"\${$as_ac_File+set}\" = set"; then
12191 echo $ECHO_N "(cached) $ECHO_C" >&6
12193 test "$cross_compiling" = yes &&
12194 { { echo "$as_me:$LINENO: error: cannot check for file existence when cross compiling" >&5
12195 echo "$as_me: error: cannot check for file existence when cross compiling" >&2;}
12196 { (exit 1); exit 1; }; }
12197 if test -r "$QT_INCLUDE_DIR/QWidget"; then
12198 eval "$as_ac_File=yes"
12200 eval "$as_ac_File=no"
12203 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_File'}'`" >&5
12204 echo "${ECHO_T}`eval echo '${'$as_ac_File'}'`" >&6
12205 if test `eval echo '${'$as_ac_File'}'` = yes; then
12206 { echo "$as_me:$LINENO: No extra QT_INCLUDE_DIR needed" >&5
12207 echo "$as_me: No extra QT_INCLUDE_DIR needed" >&6;}
12209 as_ac_File
=`echo "ac_cv_file_$EXTRA_QT_INCLUDE_DIR/QWidget" | $as_tr_sh`
12210 echo "$as_me:$LINENO: checking for $EXTRA_QT_INCLUDE_DIR/QWidget" >&5
12211 echo $ECHO_N "checking for $EXTRA_QT_INCLUDE_DIR/QWidget... $ECHO_C" >&6
12212 if eval "test \"\${$as_ac_File+set}\" = set"; then
12213 echo $ECHO_N "(cached) $ECHO_C" >&6
12215 test "$cross_compiling" = yes &&
12216 { { echo "$as_me:$LINENO: error: cannot check for file existence when cross compiling" >&5
12217 echo "$as_me: error: cannot check for file existence when cross compiling" >&2;}
12218 { (exit 1); exit 1; }; }
12219 if test -r "$EXTRA_QT_INCLUDE_DIR/QWidget"; then
12220 eval "$as_ac_File=yes"
12222 eval "$as_ac_File=no"
12225 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_File'}'`" >&5
12226 echo "${ECHO_T}`eval echo '${'$as_ac_File'}'`" >&6
12227 if test `eval echo '${'$as_ac_File'}'` = yes; then
12228 QT_CFLAGS
="$QT_CFLAGS -I$EXTRA_QT_INCLUDE_DIR"
12230 { echo "$as_me:$LINENO: WARNING: QWidget not found" >&5
12231 echo "$as_me: WARNING: QWidget not found" >&2;}
12236 # Extract the first word of "moc", so it can be a program name with args.
12237 set dummy moc
; ac_word
=$2
12238 echo "$as_me:$LINENO: checking for $ac_word" >&5
12239 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
12240 if test "${ac_cv_prog_MOC+set}" = set; then
12241 echo $ECHO_N "(cached) $ECHO_C" >&6
12243 if test -n "$MOC"; then
12244 ac_cv_prog_MOC
="$MOC" # Let the user override the test.
12246 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
12247 for as_dir
in $PATH
12250 test -z "$as_dir" && as_dir
=.
12251 for ac_exec_ext
in '' $ac_executable_extensions; do
12252 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
12253 ac_cv_prog_MOC
="moc"
12254 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
12262 MOC
=$ac_cv_prog_MOC
12263 if test -n "$MOC"; then
12264 echo "$as_me:$LINENO: result: $MOC" >&5
12265 echo "${ECHO_T}$MOC" >&6
12267 echo "$as_me:$LINENO: result: no" >&5
12268 echo "${ECHO_T}no" >&6
12271 # Extract the first word of "moc-qt4", so it can be a program name with args.
12272 set dummy moc-qt4
; ac_word
=$2
12273 echo "$as_me:$LINENO: checking for $ac_word" >&5
12274 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
12275 if test "${ac_cv_prog_MOC+set}" = set; then
12276 echo $ECHO_N "(cached) $ECHO_C" >&6
12278 if test -n "$MOC"; then
12279 ac_cv_prog_MOC
="$MOC" # Let the user override the test.
12281 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
12282 for as_dir
in $PATH
12285 test -z "$as_dir" && as_dir
=.
12286 for ac_exec_ext
in '' $ac_executable_extensions; do
12287 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
12288 ac_cv_prog_MOC
="moc-qt4"
12289 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
12297 MOC
=$ac_cv_prog_MOC
12298 if test -n "$MOC"; then
12299 echo "$as_me:$LINENO: result: $MOC" >&5
12300 echo "${ECHO_T}$MOC" >&6
12302 echo "$as_me:$LINENO: result: no" >&5
12303 echo "${ECHO_T}no" >&6
12307 if test "x$HAVE_QT4" = "xno"; then
12308 { echo "$as_me:$LINENO: Looking for QT_CFLAGS and QT_LIBS without pkg-config" >&5
12309 echo "$as_me: Looking for QT_CFLAGS and QT_LIBS without pkg-config" >&6;}
12313 # Check whether --with-qt4dir or --without-qt4dir was given.
12314 if test "${with_qt4dir+set}" = set; then
12315 withval
="$with_qt4dir"
12319 if test x
"$QT4DIR" = x
; then
12320 { { echo "$as_me:$LINENO: error: *** No path for Qt4 --with-qt4dir option given" >&5
12321 echo "$as_me: error: *** No path for Qt4 --with-qt4dir option given" >&2;}
12322 { (exit 1); exit 1; }; }
12324 echo "$as_me:$LINENO: result: QT4DIR... $QT4DIR" >&5
12325 echo "${ECHO_T}QT4DIR... $QT4DIR" >&6
12326 # Extract the first word of "moc", so it can be a program name with args.
12327 set dummy moc
; ac_word
=$2
12328 echo "$as_me:$LINENO: checking for $ac_word" >&5
12329 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
12330 if test "${ac_cv_prog_MOC+set}" = set; then
12331 echo $ECHO_N "(cached) $ECHO_C" >&6
12333 if test -n "$MOC"; then
12334 ac_cv_prog_MOC
="$MOC" # Let the user override the test.
12336 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
12337 for as_dir
in $QT4DIR/bin
12340 test -z "$as_dir" && as_dir
=.
12341 for ac_exec_ext
in '' $ac_executable_extensions; do
12342 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
12343 ac_cv_prog_MOC
="$QT4DIR/bin/moc"
12344 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
12352 MOC
=$ac_cv_prog_MOC
12353 if test -n "$MOC"; then
12354 echo "$as_me:$LINENO: result: $MOC" >&5
12355 echo "${ECHO_T}$MOC" >&6
12357 echo "$as_me:$LINENO: result: no" >&5
12358 echo "${ECHO_T}no" >&6
12361 if test x
"$MOC" = x
; then
12362 { { echo "$as_me:$LINENO: error: *** This is not the right Qt installation" >&5
12363 echo "$as_me: error: *** This is not the right Qt installation" >&2;}
12364 { (exit 1); exit 1; }; }
12366 QT_CFLAGS
="-F$QT4DIR/lib -I$QT4DIR/lib/QtCore.framework/Headers"
12367 QT_CFLAGS
="$QT_CFLAGS -I$QT4DIR/lib/QtGui.framework/Headers"
12368 QT_LIBS
="-Xlinker -F$QT4DIR/lib -Xlinker -framework -Xlinker QtCore"
12369 QT_LIBS
="$QT_LIBS -Xlinker -framework -Xlinker QtGui"
12372 { { echo "$as_me:$LINENO: error: *** Please check PKG_CONFIG_PATH or the version
12373 of your installed Qt4 installation." >&5
12374 echo "$as_me: error: *** Please check PKG_CONFIG_PATH or the version
12375 of your installed Qt4 installation." >&2;}
12376 { (exit 1); exit 1; }; }
12380 { echo "$as_me:$LINENO: Set QT_CFLAGS... $QT_CFLAGS" >&5
12381 echo "$as_me: Set QT_CFLAGS... $QT_CFLAGS" >&6;}
12386 if test "x${COMPILE_PLUGIN}" = xyes
; then
12390 if test -z "$PKG_CONFIG"; then
12391 # Extract the first word of "pkg-config", so it can be a program name with args.
12392 set dummy pkg-config
; ac_word
=$2
12393 echo "$as_me:$LINENO: checking for $ac_word" >&5
12394 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
12395 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
12396 echo $ECHO_N "(cached) $ECHO_C" >&6
12398 case $PKG_CONFIG in
12400 ac_cv_path_PKG_CONFIG
="$PKG_CONFIG" # Let the user override the test with a path.
12403 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
12404 for as_dir
in $PATH
12407 test -z "$as_dir" && as_dir
=.
12408 for ac_exec_ext
in '' $ac_executable_extensions; do
12409 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
12410 ac_cv_path_PKG_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
12411 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
12417 test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG
="no"
12421 PKG_CONFIG
=$ac_cv_path_PKG_CONFIG
12423 if test -n "$PKG_CONFIG"; then
12424 echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
12425 echo "${ECHO_T}$PKG_CONFIG" >&6
12427 echo "$as_me:$LINENO: result: no" >&5
12428 echo "${ECHO_T}no" >&6
12433 if test "$PKG_CONFIG" = "no" ; then
12434 echo "*** The pkg-config script could not be found. Make sure it is"
12435 echo "*** in your path, or set the PKG_CONFIG environment variable"
12436 echo "*** to the full path to pkg-config."
12437 echo "*** Or see http://www.freedesktop.org/software/pkgconfig to get pkg-config."
12439 PKG_CONFIG_MIN_VERSION
=0.9.0
12440 if $PKG_CONFIG --atleast-pkgconfig-version $PKG_CONFIG_MIN_VERSION; then
12441 echo "$as_me:$LINENO: checking for mozilla-plugin" >&5
12442 echo $ECHO_N "checking for mozilla-plugin... $ECHO_C" >&6
12444 if $PKG_CONFIG --exists "mozilla-plugin" ; then
12445 echo "$as_me:$LINENO: result: yes" >&5
12446 echo "${ECHO_T}yes" >&6
12449 echo "$as_me:$LINENO: checking MOZILLA_CFLAGS" >&5
12450 echo $ECHO_N "checking MOZILLA_CFLAGS... $ECHO_C" >&6
12451 MOZILLA_CFLAGS
=`$PKG_CONFIG --cflags "mozilla-plugin"`
12452 echo "$as_me:$LINENO: result: $MOZILLA_CFLAGS" >&5
12453 echo "${ECHO_T}$MOZILLA_CFLAGS" >&6
12455 echo "$as_me:$LINENO: checking MOZILLA_LIBS" >&5
12456 echo $ECHO_N "checking MOZILLA_LIBS... $ECHO_C" >&6
12457 MOZILLA_LIBS
=`$PKG_CONFIG --libs "mozilla-plugin"`
12458 echo "$as_me:$LINENO: result: $MOZILLA_LIBS" >&5
12459 echo "${ECHO_T}$MOZILLA_LIBS" >&6
12463 ## If we have a custom action on failure, don't print errors, but
12464 ## do set a variable so people can do so.
12465 MOZILLA_PKG_ERRORS
=`$PKG_CONFIG --errors-to-stdout --print-errors "mozilla-plugin"`
12472 echo "*** Your version of pkg-config is too old. You need version $PKG_CONFIG_MIN_VERSION or newer."
12473 echo "*** See http://www.freedesktop.org/software/pkgconfig"
12477 if test $succeeded = yes; then
12483 if test "x${MOZILLA_FOUND}" = xno
; then
12487 if test -z "$PKG_CONFIG"; then
12488 # Extract the first word of "pkg-config", so it can be a program name with args.
12489 set dummy pkg-config
; ac_word
=$2
12490 echo "$as_me:$LINENO: checking for $ac_word" >&5
12491 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
12492 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
12493 echo $ECHO_N "(cached) $ECHO_C" >&6
12495 case $PKG_CONFIG in
12497 ac_cv_path_PKG_CONFIG
="$PKG_CONFIG" # Let the user override the test with a path.
12500 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
12501 for as_dir
in $PATH
12504 test -z "$as_dir" && as_dir
=.
12505 for ac_exec_ext
in '' $ac_executable_extensions; do
12506 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
12507 ac_cv_path_PKG_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
12508 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
12514 test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG
="no"
12518 PKG_CONFIG
=$ac_cv_path_PKG_CONFIG
12520 if test -n "$PKG_CONFIG"; then
12521 echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
12522 echo "${ECHO_T}$PKG_CONFIG" >&6
12524 echo "$as_me:$LINENO: result: no" >&5
12525 echo "${ECHO_T}no" >&6
12530 if test "$PKG_CONFIG" = "no" ; then
12531 echo "*** The pkg-config script could not be found. Make sure it is"
12532 echo "*** in your path, or set the PKG_CONFIG environment variable"
12533 echo "*** to the full path to pkg-config."
12534 echo "*** Or see http://www.freedesktop.org/software/pkgconfig to get pkg-config."
12536 PKG_CONFIG_MIN_VERSION
=0.9.0
12537 if $PKG_CONFIG --atleast-pkgconfig-version $PKG_CONFIG_MIN_VERSION; then
12538 echo "$as_me:$LINENO: checking for firefox-plugin" >&5
12539 echo $ECHO_N "checking for firefox-plugin... $ECHO_C" >&6
12541 if $PKG_CONFIG --exists "firefox-plugin" ; then
12542 echo "$as_me:$LINENO: result: yes" >&5
12543 echo "${ECHO_T}yes" >&6
12546 echo "$as_me:$LINENO: checking MOZILLA_CFLAGS" >&5
12547 echo $ECHO_N "checking MOZILLA_CFLAGS... $ECHO_C" >&6
12548 MOZILLA_CFLAGS
=`$PKG_CONFIG --cflags "firefox-plugin"`
12549 echo "$as_me:$LINENO: result: $MOZILLA_CFLAGS" >&5
12550 echo "${ECHO_T}$MOZILLA_CFLAGS" >&6
12552 echo "$as_me:$LINENO: checking MOZILLA_LIBS" >&5
12553 echo $ECHO_N "checking MOZILLA_LIBS... $ECHO_C" >&6
12554 MOZILLA_LIBS
=`$PKG_CONFIG --libs "firefox-plugin"`
12555 echo "$as_me:$LINENO: result: $MOZILLA_LIBS" >&5
12556 echo "${ECHO_T}$MOZILLA_LIBS" >&6
12560 ## If we have a custom action on failure, don't print errors, but
12561 ## do set a variable so people can do so.
12562 MOZILLA_PKG_ERRORS
=`$PKG_CONFIG --errors-to-stdout --print-errors "firefox-plugin"`
12569 echo "*** Your version of pkg-config is too old. You need version $PKG_CONFIG_MIN_VERSION or newer."
12570 echo "*** See http://www.freedesktop.org/software/pkgconfig"
12574 if test $succeeded = yes; then
12581 if test "x${MOZILLA_FOUND}" = xno
; then
12585 if test -z "$PKG_CONFIG"; then
12586 # Extract the first word of "pkg-config", so it can be a program name with args.
12587 set dummy pkg-config
; ac_word
=$2
12588 echo "$as_me:$LINENO: checking for $ac_word" >&5
12589 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
12590 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
12591 echo $ECHO_N "(cached) $ECHO_C" >&6
12593 case $PKG_CONFIG in
12595 ac_cv_path_PKG_CONFIG
="$PKG_CONFIG" # Let the user override the test with a path.
12598 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
12599 for as_dir
in $PATH
12602 test -z "$as_dir" && as_dir
=.
12603 for ac_exec_ext
in '' $ac_executable_extensions; do
12604 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
12605 ac_cv_path_PKG_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
12606 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
12612 test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG
="no"
12616 PKG_CONFIG
=$ac_cv_path_PKG_CONFIG
12618 if test -n "$PKG_CONFIG"; then
12619 echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
12620 echo "${ECHO_T}$PKG_CONFIG" >&6
12622 echo "$as_me:$LINENO: result: no" >&5
12623 echo "${ECHO_T}no" >&6
12628 if test "$PKG_CONFIG" = "no" ; then
12629 echo "*** The pkg-config script could not be found. Make sure it is"
12630 echo "*** in your path, or set the PKG_CONFIG environment variable"
12631 echo "*** to the full path to pkg-config."
12632 echo "*** Or see http://www.freedesktop.org/software/pkgconfig to get pkg-config."
12634 PKG_CONFIG_MIN_VERSION
=0.9.0
12635 if $PKG_CONFIG --atleast-pkgconfig-version $PKG_CONFIG_MIN_VERSION; then
12636 echo "$as_me:$LINENO: checking for xulrunner-plugin" >&5
12637 echo $ECHO_N "checking for xulrunner-plugin... $ECHO_C" >&6
12639 if $PKG_CONFIG --exists "xulrunner-plugin" ; then
12640 echo "$as_me:$LINENO: result: yes" >&5
12641 echo "${ECHO_T}yes" >&6
12644 echo "$as_me:$LINENO: checking MOZILLA_CFLAGS" >&5
12645 echo $ECHO_N "checking MOZILLA_CFLAGS... $ECHO_C" >&6
12646 MOZILLA_CFLAGS
=`$PKG_CONFIG --cflags "xulrunner-plugin"`
12647 echo "$as_me:$LINENO: result: $MOZILLA_CFLAGS" >&5
12648 echo "${ECHO_T}$MOZILLA_CFLAGS" >&6
12650 echo "$as_me:$LINENO: checking MOZILLA_LIBS" >&5
12651 echo $ECHO_N "checking MOZILLA_LIBS... $ECHO_C" >&6
12652 MOZILLA_LIBS
=`$PKG_CONFIG --libs "xulrunner-plugin"`
12653 echo "$as_me:$LINENO: result: $MOZILLA_LIBS" >&5
12654 echo "${ECHO_T}$MOZILLA_LIBS" >&6
12658 ## If we have a custom action on failure, don't print errors, but
12659 ## do set a variable so people can do so.
12660 MOZILLA_PKG_ERRORS
=`$PKG_CONFIG --errors-to-stdout --print-errors "xulrunner-plugin"`
12667 echo "*** Your version of pkg-config is too old. You need version $PKG_CONFIG_MIN_VERSION or newer."
12668 echo "*** See http://www.freedesktop.org/software/pkgconfig"
12672 if test $succeeded = yes; then
12679 if test "x${MOZILLA_FOUND}" = xno
; then
12683 if test -z "$PKG_CONFIG"; then
12684 # Extract the first word of "pkg-config", so it can be a program name with args.
12685 set dummy pkg-config
; ac_word
=$2
12686 echo "$as_me:$LINENO: checking for $ac_word" >&5
12687 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
12688 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
12689 echo $ECHO_N "(cached) $ECHO_C" >&6
12691 case $PKG_CONFIG in
12693 ac_cv_path_PKG_CONFIG
="$PKG_CONFIG" # Let the user override the test with a path.
12696 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
12697 for as_dir
in $PATH
12700 test -z "$as_dir" && as_dir
=.
12701 for ac_exec_ext
in '' $ac_executable_extensions; do
12702 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
12703 ac_cv_path_PKG_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
12704 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
12710 test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG
="no"
12714 PKG_CONFIG
=$ac_cv_path_PKG_CONFIG
12716 if test -n "$PKG_CONFIG"; then
12717 echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
12718 echo "${ECHO_T}$PKG_CONFIG" >&6
12720 echo "$as_me:$LINENO: result: no" >&5
12721 echo "${ECHO_T}no" >&6
12726 if test "$PKG_CONFIG" = "no" ; then
12727 echo "*** The pkg-config script could not be found. Make sure it is"
12728 echo "*** in your path, or set the PKG_CONFIG environment variable"
12729 echo "*** to the full path to pkg-config."
12730 echo "*** Or see http://www.freedesktop.org/software/pkgconfig to get pkg-config."
12732 PKG_CONFIG_MIN_VERSION
=0.9.0
12733 if $PKG_CONFIG --atleast-pkgconfig-version $PKG_CONFIG_MIN_VERSION; then
12734 echo "$as_me:$LINENO: checking for mozilla-firefox-plugin" >&5
12735 echo $ECHO_N "checking for mozilla-firefox-plugin... $ECHO_C" >&6
12737 if $PKG_CONFIG --exists "mozilla-firefox-plugin" ; then
12738 echo "$as_me:$LINENO: result: yes" >&5
12739 echo "${ECHO_T}yes" >&6
12742 echo "$as_me:$LINENO: checking MOZILLA_CFLAGS" >&5
12743 echo $ECHO_N "checking MOZILLA_CFLAGS... $ECHO_C" >&6
12744 MOZILLA_CFLAGS
=`$PKG_CONFIG --cflags "mozilla-firefox-plugin"`
12745 echo "$as_me:$LINENO: result: $MOZILLA_CFLAGS" >&5
12746 echo "${ECHO_T}$MOZILLA_CFLAGS" >&6
12748 echo "$as_me:$LINENO: checking MOZILLA_LIBS" >&5
12749 echo $ECHO_N "checking MOZILLA_LIBS... $ECHO_C" >&6
12750 MOZILLA_LIBS
=`$PKG_CONFIG --libs "mozilla-firefox-plugin"`
12751 echo "$as_me:$LINENO: result: $MOZILLA_LIBS" >&5
12752 echo "${ECHO_T}$MOZILLA_LIBS" >&6
12756 ## If we have a custom action on failure, don't print errors, but
12757 ## do set a variable so people can do so.
12758 MOZILLA_PKG_ERRORS
=`$PKG_CONFIG --errors-to-stdout --print-errors "mozilla-firefox-plugin"`
12765 echo "*** Your version of pkg-config is too old. You need version $PKG_CONFIG_MIN_VERSION or newer."
12766 echo "*** See http://www.freedesktop.org/software/pkgconfig"
12770 if test $succeeded = yes; then
12780 if test -z "$PKG_CONFIG"; then
12781 # Extract the first word of "pkg-config", so it can be a program name with args.
12782 set dummy pkg-config
; ac_word
=$2
12783 echo "$as_me:$LINENO: checking for $ac_word" >&5
12784 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
12785 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
12786 echo $ECHO_N "(cached) $ECHO_C" >&6
12788 case $PKG_CONFIG in
12790 ac_cv_path_PKG_CONFIG
="$PKG_CONFIG" # Let the user override the test with a path.
12793 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
12794 for as_dir
in $PATH
12797 test -z "$as_dir" && as_dir
=.
12798 for ac_exec_ext
in '' $ac_executable_extensions; do
12799 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
12800 ac_cv_path_PKG_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
12801 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
12807 test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG
="no"
12811 PKG_CONFIG
=$ac_cv_path_PKG_CONFIG
12813 if test -n "$PKG_CONFIG"; then
12814 echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
12815 echo "${ECHO_T}$PKG_CONFIG" >&6
12817 echo "$as_me:$LINENO: result: no" >&5
12818 echo "${ECHO_T}no" >&6
12823 if test "$PKG_CONFIG" = "no" ; then
12824 echo "*** The pkg-config script could not be found. Make sure it is"
12825 echo "*** in your path, or set the PKG_CONFIG environment variable"
12826 echo "*** to the full path to pkg-config."
12827 echo "*** Or see http://www.freedesktop.org/software/pkgconfig to get pkg-config."
12829 PKG_CONFIG_MIN_VERSION
=0.9.0
12830 if $PKG_CONFIG --atleast-pkgconfig-version $PKG_CONFIG_MIN_VERSION; then
12831 echo "$as_me:$LINENO: checking for glib-2.0" >&5
12832 echo $ECHO_N "checking for glib-2.0... $ECHO_C" >&6
12834 if $PKG_CONFIG --exists "glib-2.0" ; then
12835 echo "$as_me:$LINENO: result: yes" >&5
12836 echo "${ECHO_T}yes" >&6
12839 echo "$as_me:$LINENO: checking GLIB_CFLAGS" >&5
12840 echo $ECHO_N "checking GLIB_CFLAGS... $ECHO_C" >&6
12841 GLIB_CFLAGS
=`$PKG_CONFIG --cflags "glib-2.0"`
12842 echo "$as_me:$LINENO: result: $GLIB_CFLAGS" >&5
12843 echo "${ECHO_T}$GLIB_CFLAGS" >&6
12845 echo "$as_me:$LINENO: checking GLIB_LIBS" >&5
12846 echo $ECHO_N "checking GLIB_LIBS... $ECHO_C" >&6
12847 GLIB_LIBS
=`$PKG_CONFIG --libs "glib-2.0"`
12848 echo "$as_me:$LINENO: result: $GLIB_LIBS" >&5
12849 echo "${ECHO_T}$GLIB_LIBS" >&6
12853 ## If we have a custom action on failure, don't print errors, but
12854 ## do set a variable so people can do so.
12855 GLIB_PKG_ERRORS
=`$PKG_CONFIG --errors-to-stdout --print-errors "glib-2.0"`
12856 echo $GLIB_PKG_ERRORS
12862 echo "*** Your version of pkg-config is too old. You need version $PKG_CONFIG_MIN_VERSION or newer."
12863 echo "*** See http://www.freedesktop.org/software/pkgconfig"
12867 if test $succeeded = yes; then
12870 { { 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
12871 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;}
12872 { (exit 1); exit 1; }; }
12881 PLUGIN_DIR
=$HOME/.mozilla
/plugins
/
12888 # Check whether --with-javah or --without-javah was given.
12889 if test "${with_javah+set}" = set; then
12890 withval
="$with_javah"
12892 if test "x${withval}" != x && test "x${withval}" != xyes && test "x${withval}" != xno
; then
12894 if test "x${withval}" != x
; then
12895 if test -f "${withval}"; then
12896 USER_JAVAH
="${withval}"
12898 # Extract the first word of ""${withval}"", so it can be a program name with args.
12899 set dummy
"${withval}"; ac_word
=$2
12900 echo "$as_me:$LINENO: checking for $ac_word" >&5
12901 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
12902 if test "${ac_cv_path_USER_JAVAH+set}" = set; then
12903 echo $ECHO_N "(cached) $ECHO_C" >&6
12905 case $USER_JAVAH in
12907 ac_cv_path_USER_JAVAH
="$USER_JAVAH" # Let the user override the test with a path.
12910 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
12911 for as_dir
in $PATH
12914 test -z "$as_dir" && as_dir
=.
12915 for ac_exec_ext
in '' $ac_executable_extensions; do
12916 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
12917 ac_cv_path_USER_JAVAH
="$as_dir/$ac_word$ac_exec_ext"
12918 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
12927 USER_JAVAH
=$ac_cv_path_USER_JAVAH
12929 if test -n "$USER_JAVAH"; then
12930 echo "$as_me:$LINENO: result: $USER_JAVAH" >&5
12931 echo "${ECHO_T}$USER_JAVAH" >&6
12933 echo "$as_me:$LINENO: result: no" >&5
12934 echo "${ECHO_T}no" >&6
12939 for javah_name
in gcjh javah
; do
12940 # Extract the first word of ""$javah_name"", so it can be a program name with args.
12941 set dummy
"$javah_name"; ac_word
=$2
12942 echo "$as_me:$LINENO: checking for $ac_word" >&5
12943 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
12944 if test "${ac_cv_path_USER_JAVAH+set}" = set; then
12945 echo $ECHO_N "(cached) $ECHO_C" >&6
12947 case $USER_JAVAH in
12949 ac_cv_path_USER_JAVAH
="$USER_JAVAH" # Let the user override the test with a path.
12952 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
12953 for as_dir
in $PATH
12956 test -z "$as_dir" && as_dir
=.
12957 for ac_exec_ext
in '' $ac_executable_extensions; do
12958 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
12959 ac_cv_path_USER_JAVAH
="$as_dir/$ac_word$ac_exec_ext"
12960 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
12969 USER_JAVAH
=$ac_cv_path_USER_JAVAH
12971 if test -n "$USER_JAVAH"; then
12972 echo "$as_me:$LINENO: result: $USER_JAVAH" >&5
12973 echo "${ECHO_T}$USER_JAVAH" >&6
12975 echo "$as_me:$LINENO: result: no" >&5
12976 echo "${ECHO_T}no" >&6
12979 if test "x${USER_JAVAH}" != x
; then
12985 # if test "x${USER_JAVAH}" = x; then
12986 # echo "configure: cannot find javah" 1>&2
12992 if test "x" != x
; then
12993 if test -f ""; then
12996 # Extract the first word of """", so it can be a program name with args.
12997 set dummy
""; ac_word
=$2
12998 echo "$as_me:$LINENO: checking for $ac_word" >&5
12999 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
13000 if test "${ac_cv_path_USER_JAVAH+set}" = set; then
13001 echo $ECHO_N "(cached) $ECHO_C" >&6
13003 case $USER_JAVAH in
13005 ac_cv_path_USER_JAVAH
="$USER_JAVAH" # Let the user override the test with a path.
13008 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
13009 for as_dir
in $PATH
13012 test -z "$as_dir" && as_dir
=.
13013 for ac_exec_ext
in '' $ac_executable_extensions; do
13014 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
13015 ac_cv_path_USER_JAVAH
="$as_dir/$ac_word$ac_exec_ext"
13016 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
13025 USER_JAVAH
=$ac_cv_path_USER_JAVAH
13027 if test -n "$USER_JAVAH"; then
13028 echo "$as_me:$LINENO: result: $USER_JAVAH" >&5
13029 echo "${ECHO_T}$USER_JAVAH" >&6
13031 echo "$as_me:$LINENO: result: no" >&5
13032 echo "${ECHO_T}no" >&6
13037 for javah_name
in gcjh javah
; do
13038 # Extract the first word of ""$javah_name"", so it can be a program name with args.
13039 set dummy
"$javah_name"; ac_word
=$2
13040 echo "$as_me:$LINENO: checking for $ac_word" >&5
13041 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
13042 if test "${ac_cv_path_USER_JAVAH+set}" = set; then
13043 echo $ECHO_N "(cached) $ECHO_C" >&6
13045 case $USER_JAVAH in
13047 ac_cv_path_USER_JAVAH
="$USER_JAVAH" # Let the user override the test with a path.
13050 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
13051 for as_dir
in $PATH
13054 test -z "$as_dir" && as_dir
=.
13055 for ac_exec_ext
in '' $ac_executable_extensions; do
13056 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
13057 ac_cv_path_USER_JAVAH
="$as_dir/$ac_word$ac_exec_ext"
13058 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
13067 USER_JAVAH
=$ac_cv_path_USER_JAVAH
13069 if test -n "$USER_JAVAH"; then
13070 echo "$as_me:$LINENO: result: $USER_JAVAH" >&5
13071 echo "${ECHO_T}$USER_JAVAH" >&6
13073 echo "$as_me:$LINENO: result: no" >&5
13074 echo "${ECHO_T}no" >&6
13077 if test "x${USER_JAVAH}" != x
; then
13083 # if test "x${USER_JAVAH}" = x; then
13084 # echo "configure: cannot find javah" 1>&2
13093 if test "x" != x
; then
13094 if test -f ""; then
13097 # Extract the first word of """", so it can be a program name with args.
13098 set dummy
""; ac_word
=$2
13099 echo "$as_me:$LINENO: checking for $ac_word" >&5
13100 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
13101 if test "${ac_cv_path_USER_JAVAH+set}" = set; then
13102 echo $ECHO_N "(cached) $ECHO_C" >&6
13104 case $USER_JAVAH in
13106 ac_cv_path_USER_JAVAH
="$USER_JAVAH" # Let the user override the test with a path.
13109 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
13110 for as_dir
in $PATH
13113 test -z "$as_dir" && as_dir
=.
13114 for ac_exec_ext
in '' $ac_executable_extensions; do
13115 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
13116 ac_cv_path_USER_JAVAH
="$as_dir/$ac_word$ac_exec_ext"
13117 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
13126 USER_JAVAH
=$ac_cv_path_USER_JAVAH
13128 if test -n "$USER_JAVAH"; then
13129 echo "$as_me:$LINENO: result: $USER_JAVAH" >&5
13130 echo "${ECHO_T}$USER_JAVAH" >&6
13132 echo "$as_me:$LINENO: result: no" >&5
13133 echo "${ECHO_T}no" >&6
13138 for javah_name
in gcjh javah
; do
13139 # Extract the first word of ""$javah_name"", so it can be a program name with args.
13140 set dummy
"$javah_name"; ac_word
=$2
13141 echo "$as_me:$LINENO: checking for $ac_word" >&5
13142 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
13143 if test "${ac_cv_path_USER_JAVAH+set}" = set; then
13144 echo $ECHO_N "(cached) $ECHO_C" >&6
13146 case $USER_JAVAH in
13148 ac_cv_path_USER_JAVAH
="$USER_JAVAH" # Let the user override the test with a path.
13151 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
13152 for as_dir
in $PATH
13155 test -z "$as_dir" && as_dir
=.
13156 for ac_exec_ext
in '' $ac_executable_extensions; do
13157 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
13158 ac_cv_path_USER_JAVAH
="$as_dir/$ac_word$ac_exec_ext"
13159 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
13168 USER_JAVAH
=$ac_cv_path_USER_JAVAH
13170 if test -n "$USER_JAVAH"; then
13171 echo "$as_me:$LINENO: result: $USER_JAVAH" >&5
13172 echo "${ECHO_T}$USER_JAVAH" >&6
13174 echo "$as_me:$LINENO: result: no" >&5
13175 echo "${ECHO_T}no" >&6
13178 if test "x${USER_JAVAH}" != x
; then
13184 # if test "x${USER_JAVAH}" = x; then
13185 # echo "configure: cannot find javah" 1>&2
13193 if test "x${USER_JAVAH}" != x
; then
13194 USER_SPECIFIED_JAVAH_TRUE
=
13195 USER_SPECIFIED_JAVAH_FALSE
='#'
13197 USER_SPECIFIED_JAVAH_TRUE
='#'
13198 USER_SPECIFIED_JAVAH_FALSE
=
13204 CLASSPATH_INCLUDES
="-I\$(top_srcdir)/include -I\$(top_srcdir)/native/jni/classpath -I\$(top_srcdir)/native/target/Linux -I\$(top_srcdir)/native/target/generic"
13207 if test "x${COMPILE_JNI}" = xyes
; then
13208 echo "$as_me:$LINENO: checking jni_md.h support" >&5
13209 echo $ECHO_N "checking jni_md.h support... $ECHO_C" >&6
13210 if test -f ${srcdir}/include/jni_md-${target_cpu}-${target_os}.h
; then
13211 echo "$as_me:$LINENO: result: yes" >&5
13212 echo "${ECHO_T}yes" >&6
13215 target_os
=linux-gnu
13216 { echo "$as_me:$LINENO: WARNING: no" >&5
13217 echo "$as_me: WARNING: no" >&2;}
13219 ac_sources
="include/jni_md-${target_cpu}-${target_os}.h"
13220 ac_dests
="include/jni_md.h"
13221 while test -n "$ac_sources"; do
13222 set $ac_dests; ac_dest
=$1; shift; ac_dests
=$
*
13223 set $ac_sources; ac_source
=$1; shift; ac_sources
=$
*
13224 ac_config_links_1
="$ac_config_links_1 $ac_dest:$ac_source"
13226 ac_config_links
="$ac_config_links $ac_config_links_1"
13231 user_specified_javac
=
13235 # Check whether --with-gcj or --without-gcj was given.
13236 if test "${with_gcj+set}" = set; then
13237 withval
="$with_gcj"
13239 if test "x${withval}" != x && test "x${withval}" != xyes && test "x${withval}" != xno
; then
13241 if test "x${withval}" != x
; then
13242 if test -f "${withval}"; then
13245 # Extract the first word of ""${withval}"", so it can be a program name with args.
13246 set dummy
"${withval}"; ac_word
=$2
13247 echo "$as_me:$LINENO: checking for $ac_word" >&5
13248 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
13249 if test "${ac_cv_path_GCJ+set}" = set; then
13250 echo $ECHO_N "(cached) $ECHO_C" >&6
13254 ac_cv_path_GCJ
="$GCJ" # Let the user override the test with a path.
13257 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
13258 for as_dir
in $PATH
13261 test -z "$as_dir" && as_dir
=.
13262 for ac_exec_ext
in '' $ac_executable_extensions; do
13263 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
13264 ac_cv_path_GCJ
="$as_dir/$ac_word$ac_exec_ext"
13265 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
13274 GCJ
=$ac_cv_path_GCJ
13276 if test -n "$GCJ"; then
13277 echo "$as_me:$LINENO: result: $GCJ" >&5
13278 echo "${ECHO_T}$GCJ" >&6
13280 echo "$as_me:$LINENO: result: no" >&5
13281 echo "${ECHO_T}no" >&6
13286 # Extract the first word of ""gcj"", so it can be a program name with args.
13287 set dummy
"gcj"; ac_word
=$2
13288 echo "$as_me:$LINENO: checking for $ac_word" >&5
13289 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
13290 if test "${ac_cv_path_GCJ+set}" = set; then
13291 echo $ECHO_N "(cached) $ECHO_C" >&6
13295 ac_cv_path_GCJ
="$GCJ" # Let the user override the test with a path.
13298 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
13299 for as_dir
in $PATH
13302 test -z "$as_dir" && as_dir
=.
13303 for ac_exec_ext
in '' $ac_executable_extensions; do
13304 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
13305 ac_cv_path_GCJ
="$as_dir/$ac_word$ac_exec_ext"
13306 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
13315 GCJ
=$ac_cv_path_GCJ
13317 if test -n "$GCJ"; then
13318 echo "$as_me:$LINENO: result: $GCJ" >&5
13319 echo "${ECHO_T}$GCJ" >&6
13321 echo "$as_me:$LINENO: result: no" >&5
13322 echo "${ECHO_T}no" >&6
13326 if test "x$GCJ" != x
; then
13327 echo "$as_me:$LINENO: checking gcj version 4.0" >&5
13328 echo $ECHO_N "checking gcj version 4.0... $ECHO_C" >&6
13330 ac_cpp
='$CPP $CPPFLAGS'
13331 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13332 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13333 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
13335 cat >conftest.
$ac_ext <<_ACEOF
13337 #error GCJ 4.0.0 or higher is required
13341 $GCJ -E conftest.c
> /dev
/null
13343 if test "x$gcj_4_result" = "x0"; then
13344 echo "$as_me:$LINENO: result: 4.0 or higher found" >&5
13345 echo "${ECHO_T}4.0 or higher found" >&6
13347 { echo "$as_me:$LINENO: WARNING: 4.0 or higher required" >&5
13348 echo "$as_me: WARNING: 4.0 or higher required" >&2;}
13351 ac_cpp
='$CPP $CPPFLAGS'
13352 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13353 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13354 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
13359 if test "x${withval}" != xno
; then
13361 if test "x" != x
; then
13362 if test -f ""; then
13365 # Extract the first word of """", so it can be a program name with args.
13366 set dummy
""; ac_word
=$2
13367 echo "$as_me:$LINENO: checking for $ac_word" >&5
13368 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
13369 if test "${ac_cv_path_GCJ+set}" = set; then
13370 echo $ECHO_N "(cached) $ECHO_C" >&6
13374 ac_cv_path_GCJ
="$GCJ" # Let the user override the test with a path.
13377 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
13378 for as_dir
in $PATH
13381 test -z "$as_dir" && as_dir
=.
13382 for ac_exec_ext
in '' $ac_executable_extensions; do
13383 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
13384 ac_cv_path_GCJ
="$as_dir/$ac_word$ac_exec_ext"
13385 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
13394 GCJ
=$ac_cv_path_GCJ
13396 if test -n "$GCJ"; then
13397 echo "$as_me:$LINENO: result: $GCJ" >&5
13398 echo "${ECHO_T}$GCJ" >&6
13400 echo "$as_me:$LINENO: result: no" >&5
13401 echo "${ECHO_T}no" >&6
13406 # Extract the first word of ""gcj"", so it can be a program name with args.
13407 set dummy
"gcj"; ac_word
=$2
13408 echo "$as_me:$LINENO: checking for $ac_word" >&5
13409 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
13410 if test "${ac_cv_path_GCJ+set}" = set; then
13411 echo $ECHO_N "(cached) $ECHO_C" >&6
13415 ac_cv_path_GCJ
="$GCJ" # Let the user override the test with a path.
13418 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
13419 for as_dir
in $PATH
13422 test -z "$as_dir" && as_dir
=.
13423 for ac_exec_ext
in '' $ac_executable_extensions; do
13424 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
13425 ac_cv_path_GCJ
="$as_dir/$ac_word$ac_exec_ext"
13426 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
13435 GCJ
=$ac_cv_path_GCJ
13437 if test -n "$GCJ"; then
13438 echo "$as_me:$LINENO: result: $GCJ" >&5
13439 echo "${ECHO_T}$GCJ" >&6
13441 echo "$as_me:$LINENO: result: no" >&5
13442 echo "${ECHO_T}no" >&6
13446 if test "x$GCJ" != x
; then
13447 echo "$as_me:$LINENO: checking gcj version 4.0" >&5
13448 echo $ECHO_N "checking gcj version 4.0... $ECHO_C" >&6
13450 ac_cpp
='$CPP $CPPFLAGS'
13451 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13452 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13453 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
13455 cat >conftest.
$ac_ext <<_ACEOF
13457 #error GCJ 4.0.0 or higher is required
13461 $GCJ -E conftest.c
> /dev
/null
13463 if test "x$gcj_4_result" = "x0"; then
13464 echo "$as_me:$LINENO: result: 4.0 or higher found" >&5
13465 echo "${ECHO_T}4.0 or higher found" >&6
13467 { echo "$as_me:$LINENO: WARNING: 4.0 or higher required" >&5
13468 echo "$as_me: WARNING: 4.0 or higher required" >&2;}
13471 ac_cpp
='$CPP $CPPFLAGS'
13472 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13473 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13474 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
13480 user_specified_javac
=gcj
13485 if test "x" != x
; then
13486 if test -f ""; then
13489 # Extract the first word of """", so it can be a program name with args.
13490 set dummy
""; ac_word
=$2
13491 echo "$as_me:$LINENO: checking for $ac_word" >&5
13492 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
13493 if test "${ac_cv_path_GCJ+set}" = set; then
13494 echo $ECHO_N "(cached) $ECHO_C" >&6
13498 ac_cv_path_GCJ
="$GCJ" # Let the user override the test with a path.
13501 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
13502 for as_dir
in $PATH
13505 test -z "$as_dir" && as_dir
=.
13506 for ac_exec_ext
in '' $ac_executable_extensions; do
13507 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
13508 ac_cv_path_GCJ
="$as_dir/$ac_word$ac_exec_ext"
13509 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
13518 GCJ
=$ac_cv_path_GCJ
13520 if test -n "$GCJ"; then
13521 echo "$as_me:$LINENO: result: $GCJ" >&5
13522 echo "${ECHO_T}$GCJ" >&6
13524 echo "$as_me:$LINENO: result: no" >&5
13525 echo "${ECHO_T}no" >&6
13530 # Extract the first word of ""gcj"", so it can be a program name with args.
13531 set dummy
"gcj"; ac_word
=$2
13532 echo "$as_me:$LINENO: checking for $ac_word" >&5
13533 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
13534 if test "${ac_cv_path_GCJ+set}" = set; then
13535 echo $ECHO_N "(cached) $ECHO_C" >&6
13539 ac_cv_path_GCJ
="$GCJ" # Let the user override the test with a path.
13542 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
13543 for as_dir
in $PATH
13546 test -z "$as_dir" && as_dir
=.
13547 for ac_exec_ext
in '' $ac_executable_extensions; do
13548 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
13549 ac_cv_path_GCJ
="$as_dir/$ac_word$ac_exec_ext"
13550 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
13559 GCJ
=$ac_cv_path_GCJ
13561 if test -n "$GCJ"; then
13562 echo "$as_me:$LINENO: result: $GCJ" >&5
13563 echo "${ECHO_T}$GCJ" >&6
13565 echo "$as_me:$LINENO: result: no" >&5
13566 echo "${ECHO_T}no" >&6
13570 if test "x$GCJ" != x
; then
13571 echo "$as_me:$LINENO: checking gcj version 4.0" >&5
13572 echo $ECHO_N "checking gcj version 4.0... $ECHO_C" >&6
13574 ac_cpp
='$CPP $CPPFLAGS'
13575 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13576 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13577 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
13579 cat >conftest.
$ac_ext <<_ACEOF
13581 #error GCJ 4.0.0 or higher is required
13585 $GCJ -E conftest.c
> /dev
/null
13587 if test "x$gcj_4_result" = "x0"; then
13588 echo "$as_me:$LINENO: result: 4.0 or higher found" >&5
13589 echo "${ECHO_T}4.0 or higher found" >&6
13591 { echo "$as_me:$LINENO: WARNING: 4.0 or higher required" >&5
13592 echo "$as_me: WARNING: 4.0 or higher required" >&2;}
13595 ac_cpp
='$CPP $CPPFLAGS'
13596 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13597 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13598 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
13608 # Check whether --with-jikes or --without-jikes was given.
13609 if test "${with_jikes+set}" = set; then
13610 withval
="$with_jikes"
13612 if test "x${withval}" != x && test "x${withval}" != xyes && test "x${withval}" != xno
; then
13614 if test "x${withval}" != x
; then
13615 if test -f "${withval}"; then
13618 # Extract the first word of ""${withval}"", so it can be a program name with args.
13619 set dummy
"${withval}"; ac_word
=$2
13620 echo "$as_me:$LINENO: checking for $ac_word" >&5
13621 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
13622 if test "${ac_cv_path_JIKES+set}" = set; then
13623 echo $ECHO_N "(cached) $ECHO_C" >&6
13627 ac_cv_path_JIKES
="$JIKES" # Let the user override the test with a path.
13630 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
13631 for as_dir
in $PATH
13634 test -z "$as_dir" && as_dir
=.
13635 for ac_exec_ext
in '' $ac_executable_extensions; do
13636 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
13637 ac_cv_path_JIKES
="$as_dir/$ac_word$ac_exec_ext"
13638 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
13647 JIKES
=$ac_cv_path_JIKES
13649 if test -n "$JIKES"; then
13650 echo "$as_me:$LINENO: result: $JIKES" >&5
13651 echo "${ECHO_T}$JIKES" >&6
13653 echo "$as_me:$LINENO: result: no" >&5
13654 echo "${ECHO_T}no" >&6
13659 # Extract the first word of ""jikes"", so it can be a program name with args.
13660 set dummy
"jikes"; ac_word
=$2
13661 echo "$as_me:$LINENO: checking for $ac_word" >&5
13662 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
13663 if test "${ac_cv_path_JIKES+set}" = set; then
13664 echo $ECHO_N "(cached) $ECHO_C" >&6
13668 ac_cv_path_JIKES
="$JIKES" # Let the user override the test with a path.
13671 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
13672 for as_dir
in $PATH
13675 test -z "$as_dir" && as_dir
=.
13676 for ac_exec_ext
in '' $ac_executable_extensions; do
13677 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
13678 ac_cv_path_JIKES
="$as_dir/$ac_word$ac_exec_ext"
13679 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
13688 JIKES
=$ac_cv_path_JIKES
13690 if test -n "$JIKES"; then
13691 echo "$as_me:$LINENO: result: $JIKES" >&5
13692 echo "${ECHO_T}$JIKES" >&6
13694 echo "$as_me:$LINENO: result: no" >&5
13695 echo "${ECHO_T}no" >&6
13699 if test "x$JIKES" != "x"; then
13700 echo "$as_me:$LINENO: checking jikes version" >&5
13701 echo $ECHO_N "checking jikes version... $ECHO_C" >&6
13702 JIKES_VERSION
=`$JIKES --version | awk '/^Jikes Compiler/' | cut -d ' ' -f 5`
13703 JIKES_VERSION_MAJOR
=`echo "$JIKES_VERSION" | cut -d '.' -f 1`
13704 JIKES_VERSION_MINOR
=`echo "$JIKES_VERSION" | cut -d '.' -f 2`
13705 if expr "$JIKES_VERSION_MAJOR" = 1 > /dev
/null
; then
13706 if expr "$JIKES_VERSION_MINOR" \
< 19 > /dev
/null
; then
13710 if test "x$JIKES" != "x"; then
13711 echo "$as_me:$LINENO: result: $JIKES_VERSION" >&5
13712 echo "${ECHO_T}$JIKES_VERSION" >&6
13714 { echo "$as_me:$LINENO: WARNING: $JIKES_VERSION: jikes 1.19 or higher required" >&5
13715 echo "$as_me: WARNING: $JIKES_VERSION: jikes 1.19 or higher required" >&2;}
13719 if test -n "`$JIKES --help 2>&1 | grep encoding`"; then
13720 JIKESENCODING
='-encoding UTF-8'
13724 JIKESWARNINGS
="+Pno-switchcheck"
13725 if test "x$JIKES_VERSION_MAJOR" = x
"1" ; then
13726 if ! test "x$JIKES_VERSION_MINOR" = x
"19"; then
13727 JIKESWARNINGS
="$JIKESWARNINGS +Pno-shadow"
13735 if test "x${withval}" != xno
; then
13737 if test "x" != x
; then
13738 if test -f ""; then
13741 # Extract the first word of """", so it can be a program name with args.
13742 set dummy
""; ac_word
=$2
13743 echo "$as_me:$LINENO: checking for $ac_word" >&5
13744 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
13745 if test "${ac_cv_path_JIKES+set}" = set; then
13746 echo $ECHO_N "(cached) $ECHO_C" >&6
13750 ac_cv_path_JIKES
="$JIKES" # Let the user override the test with a path.
13753 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
13754 for as_dir
in $PATH
13757 test -z "$as_dir" && as_dir
=.
13758 for ac_exec_ext
in '' $ac_executable_extensions; do
13759 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
13760 ac_cv_path_JIKES
="$as_dir/$ac_word$ac_exec_ext"
13761 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
13770 JIKES
=$ac_cv_path_JIKES
13772 if test -n "$JIKES"; then
13773 echo "$as_me:$LINENO: result: $JIKES" >&5
13774 echo "${ECHO_T}$JIKES" >&6
13776 echo "$as_me:$LINENO: result: no" >&5
13777 echo "${ECHO_T}no" >&6
13782 # Extract the first word of ""jikes"", so it can be a program name with args.
13783 set dummy
"jikes"; ac_word
=$2
13784 echo "$as_me:$LINENO: checking for $ac_word" >&5
13785 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
13786 if test "${ac_cv_path_JIKES+set}" = set; then
13787 echo $ECHO_N "(cached) $ECHO_C" >&6
13791 ac_cv_path_JIKES
="$JIKES" # Let the user override the test with a path.
13794 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
13795 for as_dir
in $PATH
13798 test -z "$as_dir" && as_dir
=.
13799 for ac_exec_ext
in '' $ac_executable_extensions; do
13800 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
13801 ac_cv_path_JIKES
="$as_dir/$ac_word$ac_exec_ext"
13802 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
13811 JIKES
=$ac_cv_path_JIKES
13813 if test -n "$JIKES"; then
13814 echo "$as_me:$LINENO: result: $JIKES" >&5
13815 echo "${ECHO_T}$JIKES" >&6
13817 echo "$as_me:$LINENO: result: no" >&5
13818 echo "${ECHO_T}no" >&6
13822 if test "x$JIKES" != "x"; then
13823 echo "$as_me:$LINENO: checking jikes version" >&5
13824 echo $ECHO_N "checking jikes version... $ECHO_C" >&6
13825 JIKES_VERSION
=`$JIKES --version | awk '/^Jikes Compiler/' | cut -d ' ' -f 5`
13826 JIKES_VERSION_MAJOR
=`echo "$JIKES_VERSION" | cut -d '.' -f 1`
13827 JIKES_VERSION_MINOR
=`echo "$JIKES_VERSION" | cut -d '.' -f 2`
13828 if expr "$JIKES_VERSION_MAJOR" = 1 > /dev
/null
; then
13829 if expr "$JIKES_VERSION_MINOR" \
< 19 > /dev
/null
; then
13833 if test "x$JIKES" != "x"; then
13834 echo "$as_me:$LINENO: result: $JIKES_VERSION" >&5
13835 echo "${ECHO_T}$JIKES_VERSION" >&6
13837 { echo "$as_me:$LINENO: WARNING: $JIKES_VERSION: jikes 1.19 or higher required" >&5
13838 echo "$as_me: WARNING: $JIKES_VERSION: jikes 1.19 or higher required" >&2;}
13842 if test -n "`$JIKES --help 2>&1 | grep encoding`"; then
13843 JIKESENCODING
='-encoding UTF-8'
13847 JIKESWARNINGS
="+Pno-switchcheck"
13848 if test "x$JIKES_VERSION_MAJOR" = x
"1" ; then
13849 if ! test "x$JIKES_VERSION_MINOR" = x
"19"; then
13850 JIKESWARNINGS
="$JIKESWARNINGS +Pno-shadow"
13859 user_specified_javac
=jikes
13864 if test "x" != x
; then
13865 if test -f ""; then
13868 # Extract the first word of """", so it can be a program name with args.
13869 set dummy
""; ac_word
=$2
13870 echo "$as_me:$LINENO: checking for $ac_word" >&5
13871 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
13872 if test "${ac_cv_path_JIKES+set}" = set; then
13873 echo $ECHO_N "(cached) $ECHO_C" >&6
13877 ac_cv_path_JIKES
="$JIKES" # Let the user override the test with a path.
13880 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
13881 for as_dir
in $PATH
13884 test -z "$as_dir" && as_dir
=.
13885 for ac_exec_ext
in '' $ac_executable_extensions; do
13886 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
13887 ac_cv_path_JIKES
="$as_dir/$ac_word$ac_exec_ext"
13888 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
13897 JIKES
=$ac_cv_path_JIKES
13899 if test -n "$JIKES"; then
13900 echo "$as_me:$LINENO: result: $JIKES" >&5
13901 echo "${ECHO_T}$JIKES" >&6
13903 echo "$as_me:$LINENO: result: no" >&5
13904 echo "${ECHO_T}no" >&6
13909 # Extract the first word of ""jikes"", so it can be a program name with args.
13910 set dummy
"jikes"; ac_word
=$2
13911 echo "$as_me:$LINENO: checking for $ac_word" >&5
13912 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
13913 if test "${ac_cv_path_JIKES+set}" = set; then
13914 echo $ECHO_N "(cached) $ECHO_C" >&6
13918 ac_cv_path_JIKES
="$JIKES" # Let the user override the test with a path.
13921 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
13922 for as_dir
in $PATH
13925 test -z "$as_dir" && as_dir
=.
13926 for ac_exec_ext
in '' $ac_executable_extensions; do
13927 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
13928 ac_cv_path_JIKES
="$as_dir/$ac_word$ac_exec_ext"
13929 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
13938 JIKES
=$ac_cv_path_JIKES
13940 if test -n "$JIKES"; then
13941 echo "$as_me:$LINENO: result: $JIKES" >&5
13942 echo "${ECHO_T}$JIKES" >&6
13944 echo "$as_me:$LINENO: result: no" >&5
13945 echo "${ECHO_T}no" >&6
13949 if test "x$JIKES" != "x"; then
13950 echo "$as_me:$LINENO: checking jikes version" >&5
13951 echo $ECHO_N "checking jikes version... $ECHO_C" >&6
13952 JIKES_VERSION
=`$JIKES --version | awk '/^Jikes Compiler/' | cut -d ' ' -f 5`
13953 JIKES_VERSION_MAJOR
=`echo "$JIKES_VERSION" | cut -d '.' -f 1`
13954 JIKES_VERSION_MINOR
=`echo "$JIKES_VERSION" | cut -d '.' -f 2`
13955 if expr "$JIKES_VERSION_MAJOR" = 1 > /dev
/null
; then
13956 if expr "$JIKES_VERSION_MINOR" \
< 19 > /dev
/null
; then
13960 if test "x$JIKES" != "x"; then
13961 echo "$as_me:$LINENO: result: $JIKES_VERSION" >&5
13962 echo "${ECHO_T}$JIKES_VERSION" >&6
13964 { echo "$as_me:$LINENO: WARNING: $JIKES_VERSION: jikes 1.19 or higher required" >&5
13965 echo "$as_me: WARNING: $JIKES_VERSION: jikes 1.19 or higher required" >&2;}
13969 if test -n "`$JIKES --help 2>&1 | grep encoding`"; then
13970 JIKESENCODING
='-encoding UTF-8'
13974 JIKESWARNINGS
="+Pno-switchcheck"
13975 if test "x$JIKES_VERSION_MAJOR" = x
"1" ; then
13976 if ! test "x$JIKES_VERSION_MINOR" = x
"19"; then
13977 JIKESWARNINGS
="$JIKESWARNINGS +Pno-shadow"
13990 # Check whether --with-kjc or --without-kjc was given.
13991 if test "${with_kjc+set}" = set; then
13992 withval
="$with_kjc"
13994 if test "x${withval}" != x && test "x${withval}" != xyes && test "x${withval}" != xno
; then
13996 if test "x${withval}" != x
; then
13997 if test -f "${withval}"; then
14000 # Extract the first word of ""${withval}"", so it can be a program name with args.
14001 set dummy
"${withval}"; ac_word
=$2
14002 echo "$as_me:$LINENO: checking for $ac_word" >&5
14003 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
14004 if test "${ac_cv_path_KJC+set}" = set; then
14005 echo $ECHO_N "(cached) $ECHO_C" >&6
14009 ac_cv_path_KJC
="$KJC" # Let the user override the test with a path.
14012 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
14013 for as_dir
in $PATH
14016 test -z "$as_dir" && as_dir
=.
14017 for ac_exec_ext
in '' $ac_executable_extensions; do
14018 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
14019 ac_cv_path_KJC
="$as_dir/$ac_word$ac_exec_ext"
14020 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
14029 KJC
=$ac_cv_path_KJC
14031 if test -n "$KJC"; then
14032 echo "$as_me:$LINENO: result: $KJC" >&5
14033 echo "${ECHO_T}$KJC" >&6
14035 echo "$as_me:$LINENO: result: no" >&5
14036 echo "${ECHO_T}no" >&6
14041 # Extract the first word of ""kJC"", so it can be a program name with args.
14042 set dummy
"kJC"; ac_word
=$2
14043 echo "$as_me:$LINENO: checking for $ac_word" >&5
14044 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
14045 if test "${ac_cv_path_KJC+set}" = set; then
14046 echo $ECHO_N "(cached) $ECHO_C" >&6
14050 ac_cv_path_KJC
="$KJC" # Let the user override the test with a path.
14053 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
14054 for as_dir
in $PATH
14057 test -z "$as_dir" && as_dir
=.
14058 for ac_exec_ext
in '' $ac_executable_extensions; do
14059 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
14060 ac_cv_path_KJC
="$as_dir/$ac_word$ac_exec_ext"
14061 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
14070 KJC
=$ac_cv_path_KJC
14072 if test -n "$KJC"; then
14073 echo "$as_me:$LINENO: result: $KJC" >&5
14074 echo "${ECHO_T}$KJC" >&6
14076 echo "$as_me:$LINENO: result: no" >&5
14077 echo "${ECHO_T}no" >&6
14083 if test "x${withval}" != xno
; then
14085 if test "x" != x
; then
14086 if test -f ""; then
14089 # Extract the first word of """", so it can be a program name with args.
14090 set dummy
""; ac_word
=$2
14091 echo "$as_me:$LINENO: checking for $ac_word" >&5
14092 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
14093 if test "${ac_cv_path_KJC+set}" = set; then
14094 echo $ECHO_N "(cached) $ECHO_C" >&6
14098 ac_cv_path_KJC
="$KJC" # Let the user override the test with a path.
14101 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
14102 for as_dir
in $PATH
14105 test -z "$as_dir" && as_dir
=.
14106 for ac_exec_ext
in '' $ac_executable_extensions; do
14107 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
14108 ac_cv_path_KJC
="$as_dir/$ac_word$ac_exec_ext"
14109 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
14118 KJC
=$ac_cv_path_KJC
14120 if test -n "$KJC"; then
14121 echo "$as_me:$LINENO: result: $KJC" >&5
14122 echo "${ECHO_T}$KJC" >&6
14124 echo "$as_me:$LINENO: result: no" >&5
14125 echo "${ECHO_T}no" >&6
14130 # Extract the first word of ""kJC"", so it can be a program name with args.
14131 set dummy
"kJC"; ac_word
=$2
14132 echo "$as_me:$LINENO: checking for $ac_word" >&5
14133 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
14134 if test "${ac_cv_path_KJC+set}" = set; then
14135 echo $ECHO_N "(cached) $ECHO_C" >&6
14139 ac_cv_path_KJC
="$KJC" # Let the user override the test with a path.
14142 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
14143 for as_dir
in $PATH
14146 test -z "$as_dir" && as_dir
=.
14147 for ac_exec_ext
in '' $ac_executable_extensions; do
14148 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
14149 ac_cv_path_KJC
="$as_dir/$ac_word$ac_exec_ext"
14150 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
14159 KJC
=$ac_cv_path_KJC
14161 if test -n "$KJC"; then
14162 echo "$as_me:$LINENO: result: $KJC" >&5
14163 echo "${ECHO_T}$KJC" >&6
14165 echo "$as_me:$LINENO: result: no" >&5
14166 echo "${ECHO_T}no" >&6
14173 user_specified_javac
=kjc
14178 if test "x" != x
; then
14179 if test -f ""; then
14182 # Extract the first word of """", so it can be a program name with args.
14183 set dummy
""; ac_word
=$2
14184 echo "$as_me:$LINENO: checking for $ac_word" >&5
14185 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
14186 if test "${ac_cv_path_KJC+set}" = set; then
14187 echo $ECHO_N "(cached) $ECHO_C" >&6
14191 ac_cv_path_KJC
="$KJC" # Let the user override the test with a path.
14194 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
14195 for as_dir
in $PATH
14198 test -z "$as_dir" && as_dir
=.
14199 for ac_exec_ext
in '' $ac_executable_extensions; do
14200 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
14201 ac_cv_path_KJC
="$as_dir/$ac_word$ac_exec_ext"
14202 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
14211 KJC
=$ac_cv_path_KJC
14213 if test -n "$KJC"; then
14214 echo "$as_me:$LINENO: result: $KJC" >&5
14215 echo "${ECHO_T}$KJC" >&6
14217 echo "$as_me:$LINENO: result: no" >&5
14218 echo "${ECHO_T}no" >&6
14223 # Extract the first word of ""kJC"", so it can be a program name with args.
14224 set dummy
"kJC"; ac_word
=$2
14225 echo "$as_me:$LINENO: checking for $ac_word" >&5
14226 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
14227 if test "${ac_cv_path_KJC+set}" = set; then
14228 echo $ECHO_N "(cached) $ECHO_C" >&6
14232 ac_cv_path_KJC
="$KJC" # Let the user override the test with a path.
14235 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
14236 for as_dir
in $PATH
14239 test -z "$as_dir" && as_dir
=.
14240 for ac_exec_ext
in '' $ac_executable_extensions; do
14241 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
14242 ac_cv_path_KJC
="$as_dir/$ac_word$ac_exec_ext"
14243 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
14252 KJC
=$ac_cv_path_KJC
14254 if test -n "$KJC"; then
14255 echo "$as_me:$LINENO: result: $KJC" >&5
14256 echo "${ECHO_T}$KJC" >&6
14258 echo "$as_me:$LINENO: result: no" >&5
14259 echo "${ECHO_T}no" >&6
14270 # Check whether --with-gcjx or --without-gcjx was given.
14271 if test "${with_gcjx+set}" = set; then
14272 withval
="$with_gcjx"
14274 if test "x${withval}" != x && test "x${withval}" != xyes && test "x${withval}" != xno
; then
14276 if test "x${withval}" != x
; then
14277 if test -f "${withval}"; then
14280 # Extract the first word of ""${withval}"", so it can be a program name with args.
14281 set dummy
"${withval}"; ac_word
=$2
14282 echo "$as_me:$LINENO: checking for $ac_word" >&5
14283 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
14284 if test "${ac_cv_path_GCJX+set}" = set; then
14285 echo $ECHO_N "(cached) $ECHO_C" >&6
14289 ac_cv_path_GCJX
="$GCJX" # Let the user override the test with a path.
14292 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
14293 for as_dir
in $PATH
14296 test -z "$as_dir" && as_dir
=.
14297 for ac_exec_ext
in '' $ac_executable_extensions; do
14298 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
14299 ac_cv_path_GCJX
="$as_dir/$ac_word$ac_exec_ext"
14300 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
14309 GCJX
=$ac_cv_path_GCJX
14311 if test -n "$GCJX"; then
14312 echo "$as_me:$LINENO: result: $GCJX" >&5
14313 echo "${ECHO_T}$GCJX" >&6
14315 echo "$as_me:$LINENO: result: no" >&5
14316 echo "${ECHO_T}no" >&6
14321 # Extract the first word of ""gcjx"", so it can be a program name with args.
14322 set dummy
"gcjx"; ac_word
=$2
14323 echo "$as_me:$LINENO: checking for $ac_word" >&5
14324 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
14325 if test "${ac_cv_path_GCJX+set}" = set; then
14326 echo $ECHO_N "(cached) $ECHO_C" >&6
14330 ac_cv_path_GCJX
="$GCJX" # Let the user override the test with a path.
14333 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
14334 for as_dir
in $PATH
14337 test -z "$as_dir" && as_dir
=.
14338 for ac_exec_ext
in '' $ac_executable_extensions; do
14339 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
14340 ac_cv_path_GCJX
="$as_dir/$ac_word$ac_exec_ext"
14341 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
14350 GCJX
=$ac_cv_path_GCJX
14352 if test -n "$GCJX"; then
14353 echo "$as_me:$LINENO: result: $GCJX" >&5
14354 echo "${ECHO_T}$GCJX" >&6
14356 echo "$as_me:$LINENO: result: no" >&5
14357 echo "${ECHO_T}no" >&6
14363 if test "x${withval}" != xno
; then
14365 if test "x" != x
; then
14366 if test -f ""; then
14369 # Extract the first word of """", so it can be a program name with args.
14370 set dummy
""; ac_word
=$2
14371 echo "$as_me:$LINENO: checking for $ac_word" >&5
14372 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
14373 if test "${ac_cv_path_GCJX+set}" = set; then
14374 echo $ECHO_N "(cached) $ECHO_C" >&6
14378 ac_cv_path_GCJX
="$GCJX" # Let the user override the test with a path.
14381 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
14382 for as_dir
in $PATH
14385 test -z "$as_dir" && as_dir
=.
14386 for ac_exec_ext
in '' $ac_executable_extensions; do
14387 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
14388 ac_cv_path_GCJX
="$as_dir/$ac_word$ac_exec_ext"
14389 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
14398 GCJX
=$ac_cv_path_GCJX
14400 if test -n "$GCJX"; then
14401 echo "$as_me:$LINENO: result: $GCJX" >&5
14402 echo "${ECHO_T}$GCJX" >&6
14404 echo "$as_me:$LINENO: result: no" >&5
14405 echo "${ECHO_T}no" >&6
14410 # Extract the first word of ""gcjx"", so it can be a program name with args.
14411 set dummy
"gcjx"; ac_word
=$2
14412 echo "$as_me:$LINENO: checking for $ac_word" >&5
14413 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
14414 if test "${ac_cv_path_GCJX+set}" = set; then
14415 echo $ECHO_N "(cached) $ECHO_C" >&6
14419 ac_cv_path_GCJX
="$GCJX" # Let the user override the test with a path.
14422 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
14423 for as_dir
in $PATH
14426 test -z "$as_dir" && as_dir
=.
14427 for ac_exec_ext
in '' $ac_executable_extensions; do
14428 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
14429 ac_cv_path_GCJX
="$as_dir/$ac_word$ac_exec_ext"
14430 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
14439 GCJX
=$ac_cv_path_GCJX
14441 if test -n "$GCJX"; then
14442 echo "$as_me:$LINENO: result: $GCJX" >&5
14443 echo "${ECHO_T}$GCJX" >&6
14445 echo "$as_me:$LINENO: result: no" >&5
14446 echo "${ECHO_T}no" >&6
14453 user_specified_javac
=gcjx
14458 if test "x" != x
; then
14459 if test -f ""; then
14462 # Extract the first word of """", so it can be a program name with args.
14463 set dummy
""; ac_word
=$2
14464 echo "$as_me:$LINENO: checking for $ac_word" >&5
14465 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
14466 if test "${ac_cv_path_GCJX+set}" = set; then
14467 echo $ECHO_N "(cached) $ECHO_C" >&6
14471 ac_cv_path_GCJX
="$GCJX" # Let the user override the test with a path.
14474 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
14475 for as_dir
in $PATH
14478 test -z "$as_dir" && as_dir
=.
14479 for ac_exec_ext
in '' $ac_executable_extensions; do
14480 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
14481 ac_cv_path_GCJX
="$as_dir/$ac_word$ac_exec_ext"
14482 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
14491 GCJX
=$ac_cv_path_GCJX
14493 if test -n "$GCJX"; then
14494 echo "$as_me:$LINENO: result: $GCJX" >&5
14495 echo "${ECHO_T}$GCJX" >&6
14497 echo "$as_me:$LINENO: result: no" >&5
14498 echo "${ECHO_T}no" >&6
14503 # Extract the first word of ""gcjx"", so it can be a program name with args.
14504 set dummy
"gcjx"; ac_word
=$2
14505 echo "$as_me:$LINENO: checking for $ac_word" >&5
14506 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
14507 if test "${ac_cv_path_GCJX+set}" = set; then
14508 echo $ECHO_N "(cached) $ECHO_C" >&6
14512 ac_cv_path_GCJX
="$GCJX" # Let the user override the test with a path.
14515 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
14516 for as_dir
in $PATH
14519 test -z "$as_dir" && as_dir
=.
14520 for ac_exec_ext
in '' $ac_executable_extensions; do
14521 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
14522 ac_cv_path_GCJX
="$as_dir/$ac_word$ac_exec_ext"
14523 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
14532 GCJX
=$ac_cv_path_GCJX
14534 if test -n "$GCJX"; then
14535 echo "$as_me:$LINENO: result: $GCJX" >&5
14536 echo "${ECHO_T}$GCJX" >&6
14538 echo "$as_me:$LINENO: result: no" >&5
14539 echo "${ECHO_T}no" >&6
14550 # Check whether --with-ecj or --without-ecj was given.
14551 if test "${with_ecj+set}" = set; then
14552 withval
="$with_ecj"
14554 if test "x${withval}" != x && test "x${withval}" != xyes && test "x${withval}" != xno
; then
14556 if test "x${withval}" != x
; then
14557 if test -f "${withval}"; then
14560 # Extract the first word of ""${withval}"", so it can be a program name with args.
14561 set dummy
"${withval}"; ac_word
=$2
14562 echo "$as_me:$LINENO: checking for $ac_word" >&5
14563 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
14564 if test "${ac_cv_path_ECJ+set}" = set; then
14565 echo $ECHO_N "(cached) $ECHO_C" >&6
14569 ac_cv_path_ECJ
="$ECJ" # Let the user override the test with a path.
14572 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
14573 for as_dir
in $PATH
14576 test -z "$as_dir" && as_dir
=.
14577 for ac_exec_ext
in '' $ac_executable_extensions; do
14578 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
14579 ac_cv_path_ECJ
="$as_dir/$ac_word$ac_exec_ext"
14580 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
14589 ECJ
=$ac_cv_path_ECJ
14591 if test -n "$ECJ"; then
14592 echo "$as_me:$LINENO: result: $ECJ" >&5
14593 echo "${ECHO_T}$ECJ" >&6
14595 echo "$as_me:$LINENO: result: no" >&5
14596 echo "${ECHO_T}no" >&6
14601 # Extract the first word of ""ecj"", so it can be a program name with args.
14602 set dummy
"ecj"; ac_word
=$2
14603 echo "$as_me:$LINENO: checking for $ac_word" >&5
14604 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
14605 if test "${ac_cv_path_ECJ+set}" = set; then
14606 echo $ECHO_N "(cached) $ECHO_C" >&6
14610 ac_cv_path_ECJ
="$ECJ" # Let the user override the test with a path.
14613 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
14614 for as_dir
in $PATH
14617 test -z "$as_dir" && as_dir
=.
14618 for ac_exec_ext
in '' $ac_executable_extensions; do
14619 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
14620 ac_cv_path_ECJ
="$as_dir/$ac_word$ac_exec_ext"
14621 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
14630 ECJ
=$ac_cv_path_ECJ
14632 if test -n "$ECJ"; then
14633 echo "$as_me:$LINENO: result: $ECJ" >&5
14634 echo "${ECHO_T}$ECJ" >&6
14636 echo "$as_me:$LINENO: result: no" >&5
14637 echo "${ECHO_T}no" >&6
14643 if test "x${withval}" != xno
; then
14645 if test "x" != x
; then
14646 if test -f ""; then
14649 # Extract the first word of """", so it can be a program name with args.
14650 set dummy
""; ac_word
=$2
14651 echo "$as_me:$LINENO: checking for $ac_word" >&5
14652 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
14653 if test "${ac_cv_path_ECJ+set}" = set; then
14654 echo $ECHO_N "(cached) $ECHO_C" >&6
14658 ac_cv_path_ECJ
="$ECJ" # Let the user override the test with a path.
14661 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
14662 for as_dir
in $PATH
14665 test -z "$as_dir" && as_dir
=.
14666 for ac_exec_ext
in '' $ac_executable_extensions; do
14667 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
14668 ac_cv_path_ECJ
="$as_dir/$ac_word$ac_exec_ext"
14669 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
14678 ECJ
=$ac_cv_path_ECJ
14680 if test -n "$ECJ"; then
14681 echo "$as_me:$LINENO: result: $ECJ" >&5
14682 echo "${ECHO_T}$ECJ" >&6
14684 echo "$as_me:$LINENO: result: no" >&5
14685 echo "${ECHO_T}no" >&6
14690 # Extract the first word of ""ecj"", so it can be a program name with args.
14691 set dummy
"ecj"; ac_word
=$2
14692 echo "$as_me:$LINENO: checking for $ac_word" >&5
14693 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
14694 if test "${ac_cv_path_ECJ+set}" = set; then
14695 echo $ECHO_N "(cached) $ECHO_C" >&6
14699 ac_cv_path_ECJ
="$ECJ" # Let the user override the test with a path.
14702 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
14703 for as_dir
in $PATH
14706 test -z "$as_dir" && as_dir
=.
14707 for ac_exec_ext
in '' $ac_executable_extensions; do
14708 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
14709 ac_cv_path_ECJ
="$as_dir/$ac_word$ac_exec_ext"
14710 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
14719 ECJ
=$ac_cv_path_ECJ
14721 if test -n "$ECJ"; then
14722 echo "$as_me:$LINENO: result: $ECJ" >&5
14723 echo "${ECHO_T}$ECJ" >&6
14725 echo "$as_me:$LINENO: result: no" >&5
14726 echo "${ECHO_T}no" >&6
14733 user_specified_javac
=ecj
14738 if test "x" != x
; then
14739 if test -f ""; then
14742 # Extract the first word of """", so it can be a program name with args.
14743 set dummy
""; ac_word
=$2
14744 echo "$as_me:$LINENO: checking for $ac_word" >&5
14745 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
14746 if test "${ac_cv_path_ECJ+set}" = set; then
14747 echo $ECHO_N "(cached) $ECHO_C" >&6
14751 ac_cv_path_ECJ
="$ECJ" # Let the user override the test with a path.
14754 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
14755 for as_dir
in $PATH
14758 test -z "$as_dir" && as_dir
=.
14759 for ac_exec_ext
in '' $ac_executable_extensions; do
14760 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
14761 ac_cv_path_ECJ
="$as_dir/$ac_word$ac_exec_ext"
14762 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
14771 ECJ
=$ac_cv_path_ECJ
14773 if test -n "$ECJ"; then
14774 echo "$as_me:$LINENO: result: $ECJ" >&5
14775 echo "${ECHO_T}$ECJ" >&6
14777 echo "$as_me:$LINENO: result: no" >&5
14778 echo "${ECHO_T}no" >&6
14783 # Extract the first word of ""ecj"", so it can be a program name with args.
14784 set dummy
"ecj"; ac_word
=$2
14785 echo "$as_me:$LINENO: checking for $ac_word" >&5
14786 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
14787 if test "${ac_cv_path_ECJ+set}" = set; then
14788 echo $ECHO_N "(cached) $ECHO_C" >&6
14792 ac_cv_path_ECJ
="$ECJ" # Let the user override the test with a path.
14795 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
14796 for as_dir
in $PATH
14799 test -z "$as_dir" && as_dir
=.
14800 for ac_exec_ext
in '' $ac_executable_extensions; do
14801 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
14802 ac_cv_path_ECJ
="$as_dir/$ac_word$ac_exec_ext"
14803 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
14812 ECJ
=$ac_cv_path_ECJ
14814 if test -n "$ECJ"; then
14815 echo "$as_me:$LINENO: result: $ECJ" >&5
14816 echo "${ECHO_T}$ECJ" >&6
14818 echo "$as_me:$LINENO: result: no" >&5
14819 echo "${ECHO_T}no" >&6
14829 if test "x${user_specified_javac}" = x
; then
14832 if test "x${GCJ}" != x
; then
14834 FOUND_GCJ_FALSE
='#'
14842 if test "x${JIKES}" != x
; then
14844 FOUND_JIKES_FALSE
='#'
14846 FOUND_JIKES_TRUE
='#'
14852 if test "x${ECJ}" != x
; then
14854 FOUND_ECJ_FALSE
='#'
14863 if test "x${user_specified_javac}" = xgcj
; then
14865 FOUND_GCJ_FALSE
='#'
14873 if test "x${user_specified_javac}" = xjikes
; then
14875 FOUND_JIKES_FALSE
='#'
14877 FOUND_JIKES_TRUE
='#'
14883 if test "x${user_specified_javac}" = xecj
; then
14885 FOUND_ECJ_FALSE
='#'
14894 if test "x${user_specified_javac}" = xkjc
; then
14896 FOUND_KJC_FALSE
='#'
14904 if test "x${user_specified_javac}" = xgcjx
; then
14906 FOUND_GCJX_FALSE
='#'
14908 FOUND_GCJX_TRUE
='#'
14913 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
14914 { { echo "$as_me:$LINENO: error: cannot find javac, try --with-gcj, --with-jikes, --with-kjc, --with-ecj, or --with-gcjx" >&5
14915 echo "$as_me: error: cannot find javac, try --with-gcj, --with-jikes, --with-kjc, --with-ecj, or --with-gcjx" >&2;}
14916 { (exit 1); exit 1; }; }
14922 # Check whether --with-classpath or --without-classpath was given.
14923 if test "${with_classpath+set}" = set; then
14924 withval
="$with_classpath"
14926 if test "x${withval}" = xyes
; then
14927 # set user classpath to CLASSPATH from env
14928 echo "$as_me:$LINENO: checking for classlib" >&5
14929 echo $ECHO_N "checking for classlib... $ECHO_C" >&6
14930 USER_CLASSLIB
=${CLASSPATH}
14932 echo "$as_me:$LINENO: result: ${USER_CLASSLIB}" >&5
14933 echo "${ECHO_T}${USER_CLASSLIB}" >&6
14934 conditional_with_classlib
=true
14935 elif test "x${withval}" != x
&& test "x${withval}" != xno
; then
14936 # set user classpath to specified value
14937 echo "$as_me:$LINENO: checking for classlib" >&5
14938 echo $ECHO_N "checking for classlib... $ECHO_C" >&6
14939 USER_CLASSLIB
=${withval}
14941 echo "$as_me:$LINENO: result: ${withval}" >&5
14942 echo "${ECHO_T}${withval}" >&6
14943 conditional_with_classlib
=true
14947 conditional_with_classlib
=false
14951 if test "x${conditional_with_classlib}" = xtrue
; then
14952 USER_SPECIFIED_CLASSLIB_TRUE
=
14953 USER_SPECIFIED_CLASSLIB_FALSE
='#'
14955 USER_SPECIFIED_CLASSLIB_TRUE
='#'
14956 USER_SPECIFIED_CLASSLIB_FALSE
=
14961 # Check whether --with-vm-classes or --without-vm-classes was given.
14962 if test "${with_vm_classes+set}" = set; then
14963 withval
="$with_vm_classes"
14964 vm_classes
="$with_vm_classes"
14966 vm_classes
='${top_srcdir}/vm/reference'
14971 echo "$as_me:$LINENO: checking whether to enable maintainer-specific portions of Makefiles" >&5
14972 echo $ECHO_N "checking whether to enable maintainer-specific portions of Makefiles... $ECHO_C" >&6
14973 # Check whether --enable-maintainer-mode or --disable-maintainer-mode was given.
14974 if test "${enable_maintainer_mode+set}" = set; then
14975 enableval
="$enable_maintainer_mode"
14976 USE_MAINTAINER_MODE
=$enableval
14978 USE_MAINTAINER_MODE
=no
14980 echo "$as_me:$LINENO: result: $USE_MAINTAINER_MODE" >&5
14981 echo "${ECHO_T}$USE_MAINTAINER_MODE" >&6
14984 if test $USE_MAINTAINER_MODE = yes; then
14985 MAINTAINER_MODE_TRUE
=
14986 MAINTAINER_MODE_FALSE
='#'
14988 MAINTAINER_MODE_TRUE
='#'
14989 MAINTAINER_MODE_FALSE
=
14992 MAINT
=$MAINTAINER_MODE_TRUE
14996 # Check whether --enable-debug or --disable-debug was given.
14997 if test "${enable_debug+set}" = set; then
14998 enableval
="$enable_debug"
14999 case "${enableval}" in
15003 cat >>confdefs.h
<<\_ACEOF
15008 no
) LIBDEBUG
="false" ;;
15009 *) { { echo "$as_me:$LINENO: error: bad value ${enableval} for --enable-debug" >&5
15010 echo "$as_me: error: bad value ${enableval} for --enable-debug" >&2;}
15011 { (exit 1); exit 1; }; } ;;
15018 # Check whether --enable-load-library or --disable-load-library was given.
15019 if test "${enable_load_library+set}" = set; then
15020 enableval
="$enable_load_library"
15021 case "${enableval}" in
15022 yes) INIT_LOAD_LIBRARY
="true" ;;
15023 no
) INIT_LOAD_LIBRARY
="false" ;;
15024 *) { { echo "$as_me:$LINENO: error: bad value ${enableval} for --enable-load-library" >&5
15025 echo "$as_me: error: bad value ${enableval} for --enable-load-library" >&2;}
15026 { (exit 1); exit 1; }; } ;;
15029 INIT_LOAD_LIBRARY
="true"
15034 # Check whether --enable-java-lang-system-explicit-initialization or --disable-java-lang-system-explicit-initialization was given.
15035 if test "${enable_java_lang_system_explicit_initialization+set}" = set; then
15036 enableval
="$enable_java_lang_system_explicit_initialization"
15037 case "${enableval}" in
15038 yes|true
) JAVA_LANG_SYSTEM_EXPLICIT_INITIALIZATION
="true" ;;
15039 no|false
) JAVA_LANG_SYSTEM_EXPLICIT_INITIALIZATION
="false" ;;
15040 *) { { echo "$as_me:$LINENO: error: bad value ${enableval} for --enable-java-lang-system-explicit-initialization" >&5
15041 echo "$as_me: error: bad value ${enableval} for --enable-java-lang-system-explicit-initialization" >&2;}
15042 { (exit 1); exit 1; }; } ;;
15045 JAVA_LANG_SYSTEM_EXPLICIT_INITIALIZATION
="false"
15053 # Extract the first word of "mkdir", so it can be a program name with args.
15054 set dummy mkdir
; ac_word
=$2
15055 echo "$as_me:$LINENO: checking for $ac_word" >&5
15056 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
15057 if test "${ac_cv_path_MKDIR+set}" = set; then
15058 echo $ECHO_N "(cached) $ECHO_C" >&6
15062 ac_cv_path_MKDIR
="$MKDIR" # Let the user override the test with a path.
15065 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
15066 for as_dir
in $PATH
15069 test -z "$as_dir" && as_dir
=.
15070 for ac_exec_ext
in '' $ac_executable_extensions; do
15071 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
15072 ac_cv_path_MKDIR
="$as_dir/$ac_word$ac_exec_ext"
15073 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
15082 MKDIR
=$ac_cv_path_MKDIR
15084 if test -n "$MKDIR"; then
15085 echo "$as_me:$LINENO: result: $MKDIR" >&5
15086 echo "${ECHO_T}$MKDIR" >&6
15088 echo "$as_me:$LINENO: result: no" >&5
15089 echo "${ECHO_T}no" >&6
15092 # Extract the first word of "cp", so it can be a program name with args.
15093 set dummy
cp; ac_word
=$2
15094 echo "$as_me:$LINENO: checking for $ac_word" >&5
15095 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
15096 if test "${ac_cv_path_CP+set}" = set; then
15097 echo $ECHO_N "(cached) $ECHO_C" >&6
15101 ac_cv_path_CP
="$CP" # Let the user override the test with a path.
15104 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
15105 for as_dir
in $PATH
15108 test -z "$as_dir" && as_dir
=.
15109 for ac_exec_ext
in '' $ac_executable_extensions; do
15110 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
15111 ac_cv_path_CP
="$as_dir/$ac_word$ac_exec_ext"
15112 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
15123 if test -n "$CP"; then
15124 echo "$as_me:$LINENO: result: $CP" >&5
15125 echo "${ECHO_T}$CP" >&6
15127 echo "$as_me:$LINENO: result: no" >&5
15128 echo "${ECHO_T}no" >&6
15131 # Extract the first word of "date", so it can be a program name with args.
15132 set dummy
date; ac_word
=$2
15133 echo "$as_me:$LINENO: checking for $ac_word" >&5
15134 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
15135 if test "${ac_cv_path_DATE+set}" = set; then
15136 echo $ECHO_N "(cached) $ECHO_C" >&6
15140 ac_cv_path_DATE
="$DATE" # Let the user override the test with a path.
15143 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
15144 for as_dir
in $PATH
15147 test -z "$as_dir" && as_dir
=.
15148 for ac_exec_ext
in '' $ac_executable_extensions; do
15149 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
15150 ac_cv_path_DATE
="$as_dir/$ac_word$ac_exec_ext"
15151 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
15160 DATE
=$ac_cv_path_DATE
15162 if test -n "$DATE"; then
15163 echo "$as_me:$LINENO: result: $DATE" >&5
15164 echo "${ECHO_T}$DATE" >&6
15166 echo "$as_me:$LINENO: result: no" >&5
15167 echo "${ECHO_T}no" >&6
15171 # Extract the first word of "find", so it can be a program name with args.
15172 set dummy
find; ac_word
=$2
15173 echo "$as_me:$LINENO: checking for $ac_word" >&5
15174 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
15175 if test "${ac_cv_path_FIND+set}" = set; then
15176 echo $ECHO_N "(cached) $ECHO_C" >&6
15180 ac_cv_path_FIND
="$FIND" # Let the user override the test with a path.
15183 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
15184 for as_dir
in $PATH
15187 test -z "$as_dir" && as_dir
=.
15188 for ac_exec_ext
in '' $ac_executable_extensions; do
15189 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
15190 ac_cv_path_FIND
="$as_dir/$ac_word$ac_exec_ext"
15191 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
15200 FIND
=$ac_cv_path_FIND
15202 if test -n "$FIND"; then
15203 echo "$as_me:$LINENO: result: $FIND" >&5
15204 echo "${ECHO_T}$FIND" >&6
15206 echo "$as_me:$LINENO: result: no" >&5
15207 echo "${ECHO_T}no" >&6
15212 # Extract the first word of "zip", so it can be a program name with args.
15213 set dummy
zip; ac_word
=$2
15214 echo "$as_me:$LINENO: checking for $ac_word" >&5
15215 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
15216 if test "${ac_cv_path_ZIP+set}" = set; then
15217 echo $ECHO_N "(cached) $ECHO_C" >&6
15221 ac_cv_path_ZIP
="$ZIP" # Let the user override the test with a path.
15224 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
15225 for as_dir
in $PATH
15228 test -z "$as_dir" && as_dir
=.
15229 for ac_exec_ext
in '' $ac_executable_extensions; do
15230 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
15231 ac_cv_path_ZIP
="$as_dir/$ac_word$ac_exec_ext"
15232 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
15241 ZIP
=$ac_cv_path_ZIP
15243 if test -n "$ZIP"; then
15244 echo "$as_me:$LINENO: result: $ZIP" >&5
15245 echo "${ECHO_T}$ZIP" >&6
15247 echo "$as_me:$LINENO: result: no" >&5
15248 echo "${ECHO_T}no" >&6
15252 # Check whether --with-fastjar or --without-fastjar was given.
15253 if test "${with_fastjar+set}" = set; then
15254 withval
="$with_fastjar"
15256 echo "$as_me:$LINENO: checking for user supplied fastjar" >&5
15257 echo $ECHO_N "checking for user supplied fastjar... $ECHO_C" >&6
15259 echo "$as_me:$LINENO: result: ${FASTJAR}" >&5
15260 echo "${ECHO_T}${FASTJAR}" >&6
15263 # Extract the first word of "fastjar", so it can be a program name with args.
15264 set dummy fastjar
; ac_word
=$2
15265 echo "$as_me:$LINENO: checking for $ac_word" >&5
15266 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
15267 if test "${ac_cv_path_FASTJAR+set}" = set; then
15268 echo $ECHO_N "(cached) $ECHO_C" >&6
15272 ac_cv_path_FASTJAR
="$FASTJAR" # Let the user override the test with a path.
15275 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
15276 for as_dir
in $PATH
15279 test -z "$as_dir" && as_dir
=.
15280 for ac_exec_ext
in '' $ac_executable_extensions; do
15281 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
15282 ac_cv_path_FASTJAR
="$as_dir/$ac_word$ac_exec_ext"
15283 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
15292 FASTJAR
=$ac_cv_path_FASTJAR
15294 if test -n "$FASTJAR"; then
15295 echo "$as_me:$LINENO: result: $FASTJAR" >&5
15296 echo "${ECHO_T}$FASTJAR" >&6
15298 echo "$as_me:$LINENO: result: no" >&5
15299 echo "${ECHO_T}no" >&6
15303 if test x
"${FASTJAR}" != x
; then
15308 # Check whether --with-glibj or --without-glibj was given.
15309 if test "${with_glibj+set}" = set; then
15310 withval
="$with_glibj"
15312 if test "x${withval}" = xyes ||
test "x${withval}" = xzip
; then
15313 install_class_files
=no
15314 build_class_files
=yes
15316 elif test "x${withval}" = xboth
; then
15317 install_class_files
=yes
15318 build_class_files
=yes
15320 elif test "x${withval}" = xflat
; then
15321 install_class_files
=yes
15322 build_class_files
=yes
15324 elif test "x${withval}" = xno ||
test "x${withval}" = xnone
; then
15325 install_class_files
=no
15326 build_class_files
=no
15328 elif test "x${withval}" = xbuild
; then
15329 install_class_files
=no
15330 build_class_files
=yes
15333 { { echo "$as_me:$LINENO: error: unknown value given to --with-glibj" >&5
15334 echo "$as_me: error: unknown value given to --with-glibj" >&2;}
15335 { (exit 1); exit 1; }; }
15340 install_class_files
=no
15346 if test "x${use_zip}" = xyes
; then
15347 INSTALL_GLIBJ_ZIP_TRUE
=
15348 INSTALL_GLIBJ_ZIP_FALSE
='#'
15350 INSTALL_GLIBJ_ZIP_TRUE
='#'
15351 INSTALL_GLIBJ_ZIP_FALSE
=
15356 if test "x${install_class_files}" = xyes
; then
15357 INSTALL_CLASS_FILES_TRUE
=
15358 INSTALL_CLASS_FILES_FALSE
='#'
15360 INSTALL_CLASS_FILES_TRUE
='#'
15361 INSTALL_CLASS_FILES_FALSE
=
15366 if test "x${build_class_files}" = xyes
; then
15367 BUILD_CLASS_FILES_TRUE
=
15368 BUILD_CLASS_FILES_FALSE
='#'
15370 BUILD_CLASS_FILES_TRUE
='#'
15371 BUILD_CLASS_FILES_FALSE
=
15375 # Check whether --enable-examples or --disable-examples was given.
15376 if test "${enable_examples+set}" = set; then
15377 enableval
="$enable_examples"
15378 case "${enableval}" in
15379 yes) EXAMPLESDIR
="examples" ;;
15380 no
) EXAMPLESDIR
="" ;;
15381 *) { { echo "$as_me:$LINENO: error: bad value ${enableval} for --enable-examples" >&5
15382 echo "$as_me: error: bad value ${enableval} for --enable-examples" >&2;}
15383 { (exit 1); exit 1; }; } ;;
15386 EXAMPLESDIR
="examples"
15388 if test "x${use_zip}" = xno
&& test "x${install_class_files}" = xno
; then
15396 # Check whether --with-gjdoc or --without-gjdoc was given.
15397 if test "${with_gjdoc+set}" = set; then
15398 withval
="$with_gjdoc"
15399 if test "x${withval}" = xno
; then
15401 elif test "x${withval}" = xyes
-o "x{withval}" = x
; then
15403 # Extract the first word of "gjdoc", so it can be a program name with args.
15404 set dummy gjdoc
; ac_word
=$2
15405 echo "$as_me:$LINENO: checking for $ac_word" >&5
15406 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
15407 if test "${ac_cv_path_GJDOC+set}" = set; then
15408 echo $ECHO_N "(cached) $ECHO_C" >&6
15412 ac_cv_path_GJDOC
="$GJDOC" # Let the user override the test with a path.
15415 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
15416 for as_dir
in $PATH
15419 test -z "$as_dir" && as_dir
=.
15420 for ac_exec_ext
in '' $ac_executable_extensions; do
15421 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
15422 ac_cv_path_GJDOC
="$as_dir/$ac_word$ac_exec_ext"
15423 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
15429 test -z "$ac_cv_path_GJDOC" && ac_cv_path_GJDOC
=""no
""
15433 GJDOC
=$ac_cv_path_GJDOC
15435 if test -n "$GJDOC"; then
15436 echo "$as_me:$LINENO: result: $GJDOC" >&5
15437 echo "${ECHO_T}$GJDOC" >&6
15439 echo "$as_me:$LINENO: result: no" >&5
15440 echo "${ECHO_T}no" >&6
15443 if test "x${GJDOC}" = xno
; then
15444 { { echo "$as_me:$LINENO: error: \"gjdoc executable not found\"" >&5
15445 echo "$as_me: error: \"gjdoc executable not found\"" >&2;}
15446 { (exit 1); exit 1; }; };
15451 as_ac_File
=`echo "ac_cv_file_${GJDOC}" | $as_tr_sh`
15452 echo "$as_me:$LINENO: checking for ${GJDOC}" >&5
15453 echo $ECHO_N "checking for ${GJDOC}... $ECHO_C" >&6
15454 if eval "test \"\${$as_ac_File+set}\" = set"; then
15455 echo $ECHO_N "(cached) $ECHO_C" >&6
15457 test "$cross_compiling" = yes &&
15458 { { echo "$as_me:$LINENO: error: cannot check for file existence when cross compiling" >&5
15459 echo "$as_me: error: cannot check for file existence when cross compiling" >&2;}
15460 { (exit 1); exit 1; }; }
15461 if test -r "${GJDOC}"; then
15462 eval "$as_ac_File=yes"
15464 eval "$as_ac_File=no"
15467 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_File'}'`" >&5
15468 echo "${ECHO_T}`eval echo '${'$as_ac_File'}'`" >&6
15469 if test `eval echo '${'$as_ac_File'}'` = yes; then
15472 { { echo "$as_me:$LINENO: error: \"Cannot use ${withval} as gjdoc executable since it doesn't exist\"" >&5
15473 echo "$as_me: error: \"Cannot use ${withval} as gjdoc executable since it doesn't exist\"" >&2;}
15474 { (exit 1); exit 1; }; }
15484 if test "x${WITH_GJDOC}" = xyes
; then
15485 CREATE_API_DOCS_TRUE
=
15486 CREATE_API_DOCS_FALSE
='#'
15488 CREATE_API_DOCS_TRUE
='#'
15489 CREATE_API_DOCS_FALSE
=
15496 # Check whether --with-jay or --without-jay was given.
15497 if test "${with_jay+set}" = set; then
15498 withval
="$with_jay"
15500 if test -d "${withval}"; then
15501 JAY_DIR_PATH
="${withval}"
15502 # Extract the first word of "jay", so it can be a program name with args.
15503 set dummy jay
; ac_word
=$2
15504 echo "$as_me:$LINENO: checking for $ac_word" >&5
15505 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
15506 if test "${ac_cv_path_JAY+set}" = set; then
15507 echo $ECHO_N "(cached) $ECHO_C" >&6
15511 ac_cv_path_JAY
="$JAY" # Let the user override the test with a path.
15514 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
15515 for as_dir
in ${JAY_DIR_PATH}
15518 test -z "$as_dir" && as_dir
=.
15519 for ac_exec_ext
in '' $ac_executable_extensions; do
15520 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
15521 ac_cv_path_JAY
="$as_dir/$ac_word$ac_exec_ext"
15522 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
15528 test -z "$ac_cv_path_JAY" && ac_cv_path_JAY
=""no
""
15532 JAY
=$ac_cv_path_JAY
15534 if test -n "$JAY"; then
15535 echo "$as_me:$LINENO: result: $JAY" >&5
15536 echo "${ECHO_T}$JAY" >&6
15538 echo "$as_me:$LINENO: result: no" >&5
15539 echo "${ECHO_T}no" >&6
15542 if test "x${JAY}" = xno
; then
15543 { { echo "$as_me:$LINENO: error: \"jay executable not found\"" >&5
15544 echo "$as_me: error: \"jay executable not found\"" >&2;}
15545 { (exit 1); exit 1; }; };
15548 JAY_DIR_PATH
=`dirname "${withval}"`
15552 JAY_SKELETON
="${JAY_DIR_PATH}/skeleton"
15553 as_ac_File
=`echo "ac_cv_file_${JAY_SKELETON}" | $as_tr_sh`
15554 echo "$as_me:$LINENO: checking for ${JAY_SKELETON}" >&5
15555 echo $ECHO_N "checking for ${JAY_SKELETON}... $ECHO_C" >&6
15556 if eval "test \"\${$as_ac_File+set}\" = set"; then
15557 echo $ECHO_N "(cached) $ECHO_C" >&6
15559 test "$cross_compiling" = yes &&
15560 { { echo "$as_me:$LINENO: error: cannot check for file existence when cross compiling" >&5
15561 echo "$as_me: error: cannot check for file existence when cross compiling" >&2;}
15562 { (exit 1); exit 1; }; }
15563 if test -r "${JAY_SKELETON}"; then
15564 eval "$as_ac_File=yes"
15566 eval "$as_ac_File=no"
15569 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_File'}'`" >&5
15570 echo "${ECHO_T}`eval echo '${'$as_ac_File'}'`" >&6
15571 if test `eval echo '${'$as_ac_File'}'` = yes; then
15574 { { echo "$as_me:$LINENO: error: \"Expected skeleton file in \`dirname ${withval}\`\"" >&5
15575 echo "$as_me: error: \"Expected skeleton file in \`dirname ${withval}\`\"" >&2;}
15576 { (exit 1); exit 1; }; }
15588 if test "x${JAY_FOUND}" = xyes
; then
15589 REGEN_PARSERS_TRUE
=
15590 REGEN_PARSERS_FALSE
='#'
15592 REGEN_PARSERS_TRUE
='#'
15593 REGEN_PARSERS_FALSE
=
15598 # Check whether --enable-portable-native-sync or --disable-portable-native-sync was given.
15599 if test "${enable_portable_native_sync+set}" = set; then
15600 enableval
="$enable_portable_native_sync"
15601 case "${enableval}" in
15604 cat >>confdefs.h
<<\_ACEOF
15605 #define PORTABLE_NATIVE_SYNC 1
15611 { { echo "$as_me:$LINENO: error: bad value ${enableval} for --enable-portable-native-sync" >&5
15612 echo "$as_me: error: bad value ${enableval} for --enable-portable-native-sync" >&2;}
15613 { (exit 1); exit 1; }; }
15618 # ------ AX CREATE STDINT H -------------------------------------
15619 echo "$as_me:$LINENO: checking for stdint types" >&5
15620 echo $ECHO_N "checking for stdint types... $ECHO_C" >&6
15621 ac_stdint_h
=`echo include/config-int.h`
15622 # try to shortcircuit - if the default include path of the compiler
15623 # can find a "stdint.h" header then we assume that all compilers can.
15624 if test "${ac_cv_header_stdint_t+set}" = set; then
15625 echo $ECHO_N "(cached) $ECHO_C" >&6
15628 old_CXXFLAGS
="$CXXFLAGS" ; CXXFLAGS
=""
15629 old_CPPFLAGS
="$CPPFLAGS" ; CPPFLAGS
=""
15630 old_CFLAGS
="$CFLAGS" ; CFLAGS
=""
15631 cat >conftest.
$ac_ext <<_ACEOF
15634 cat confdefs.h
>>conftest.
$ac_ext
15635 cat >>conftest.
$ac_ext <<_ACEOF
15636 /* end confdefs.h. */
15637 #include <stdint.h>
15641 int_least32_t v = 0;
15646 rm -f conftest.
$ac_objext
15647 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15648 (eval $ac_compile) 2>conftest.er1
15650 grep -v '^ *+' conftest.er1
>conftest.err
15652 cat conftest.err
>&5
15653 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15654 (exit $ac_status); } &&
15655 { ac_try
='test -z "$ac_c_werror_flag"
15656 || test ! -s conftest.err'
15657 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15658 (eval $ac_try) 2>&5
15660 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15661 (exit $ac_status); }; } &&
15662 { ac_try
='test -s conftest.$ac_objext'
15663 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15664 (eval $ac_try) 2>&5
15666 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15667 (exit $ac_status); }; }; then
15668 ac_cv_stdint_result
="(assuming C99 compatible system)"
15669 ac_cv_header_stdint_t
="stdint.h";
15671 echo "$as_me: failed program was:" >&5
15672 sed 's/^/| /' conftest.
$ac_ext >&5
15674 ac_cv_header_stdint_t
=""
15676 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
15677 CXXFLAGS
="$old_CXXFLAGS"
15678 CPPFLAGS
="$old_CPPFLAGS"
15679 CFLAGS
="$old_CFLAGS"
15683 v
="... $ac_cv_header_stdint_h"
15684 if test "$ac_stdint_h" = "stdint.h" ; then
15685 echo "$as_me:$LINENO: result: (are you sure you want them in ./stdint.h?)" >&5
15686 echo "${ECHO_T}(are you sure you want them in ./stdint.h?)" >&6
15687 elif test "$ac_stdint_h" = "inttypes.h" ; then
15688 echo "$as_me:$LINENO: result: (are you sure you want them in ./inttypes.h?)" >&5
15689 echo "${ECHO_T}(are you sure you want them in ./inttypes.h?)" >&6
15690 elif test "_$ac_cv_header_stdint_t" = "_" ; then
15691 echo "$as_me:$LINENO: result: (putting them into $ac_stdint_h)$v" >&5
15692 echo "${ECHO_T}(putting them into $ac_stdint_h)$v" >&6
15694 ac_cv_header_stdint
="$ac_cv_header_stdint_t"
15695 echo "$as_me:$LINENO: result: $ac_cv_header_stdint (shortcircuit)" >&5
15696 echo "${ECHO_T}$ac_cv_header_stdint (shortcircuit)" >&6
15699 if test "_$ac_cv_header_stdint_t" = "_" ; then # can not shortcircuit..
15702 inttype_headers
=`echo | sed -e 's/,/ /g'`
15704 ac_cv_stdint_result
="(no helpful system typedefs seen)"
15706 echo "$as_me:$LINENO: checking for stdint uintptr_t" >&5
15707 echo $ECHO_N "checking for stdint uintptr_t... $ECHO_C" >&6
15708 if test "${ac_cv_header_stdint_x+set}" = set; then
15709 echo $ECHO_N "(cached) $ECHO_C" >&6
15712 ac_cv_header_stdint_x
="" # the 1997 typedefs (inttypes.h)
15713 echo "$as_me:$LINENO: result: (..)" >&5
15714 echo "${ECHO_T}(..)" >&6
15715 for i
in stdint.h inttypes.h sys
/inttypes.h
$inttype_headers ; do
15716 unset ac_cv_type_uintptr_t
15717 unset ac_cv_type_uint64_t
15718 echo "$as_me:$LINENO: checking for uintptr_t" >&5
15719 echo $ECHO_N "checking for uintptr_t... $ECHO_C" >&6
15720 if test "${ac_cv_type_uintptr_t+set}" = set; then
15721 echo $ECHO_N "(cached) $ECHO_C" >&6
15723 cat >conftest.
$ac_ext <<_ACEOF
15726 cat confdefs.h
>>conftest.
$ac_ext
15727 cat >>conftest.
$ac_ext <<_ACEOF
15728 /* end confdefs.h. */
15734 if ((uintptr_t *) 0)
15736 if (sizeof (uintptr_t))
15742 rm -f conftest.
$ac_objext
15743 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15744 (eval $ac_compile) 2>conftest.er1
15746 grep -v '^ *+' conftest.er1
>conftest.err
15748 cat conftest.err
>&5
15749 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15750 (exit $ac_status); } &&
15751 { ac_try
='test -z "$ac_c_werror_flag"
15752 || test ! -s conftest.err'
15753 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15754 (eval $ac_try) 2>&5
15756 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15757 (exit $ac_status); }; } &&
15758 { ac_try
='test -s conftest.$ac_objext'
15759 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15760 (eval $ac_try) 2>&5
15762 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15763 (exit $ac_status); }; }; then
15764 ac_cv_type_uintptr_t
=yes
15766 echo "$as_me: failed program was:" >&5
15767 sed 's/^/| /' conftest.
$ac_ext >&5
15769 ac_cv_type_uintptr_t
=no
15771 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
15773 echo "$as_me:$LINENO: result: $ac_cv_type_uintptr_t" >&5
15774 echo "${ECHO_T}$ac_cv_type_uintptr_t" >&6
15775 if test $ac_cv_type_uintptr_t = yes; then
15776 ac_cv_header_stdint_x
=$i
15781 echo "$as_me:$LINENO: checking for uint64_t" >&5
15782 echo $ECHO_N "checking for uint64_t... $ECHO_C" >&6
15783 if test "${ac_cv_type_uint64_t+set}" = set; then
15784 echo $ECHO_N "(cached) $ECHO_C" >&6
15786 cat >conftest.
$ac_ext <<_ACEOF
15789 cat confdefs.h
>>conftest.
$ac_ext
15790 cat >>conftest.
$ac_ext <<_ACEOF
15791 /* end confdefs.h. */
15797 if ((uint64_t *) 0)
15799 if (sizeof (uint64_t))
15805 rm -f conftest.
$ac_objext
15806 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15807 (eval $ac_compile) 2>conftest.er1
15809 grep -v '^ *+' conftest.er1
>conftest.err
15811 cat conftest.err
>&5
15812 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15813 (exit $ac_status); } &&
15814 { ac_try
='test -z "$ac_c_werror_flag"
15815 || test ! -s conftest.err'
15816 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15817 (eval $ac_try) 2>&5
15819 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15820 (exit $ac_status); }; } &&
15821 { ac_try
='test -s conftest.$ac_objext'
15822 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15823 (eval $ac_try) 2>&5
15825 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15826 (exit $ac_status); }; }; then
15827 ac_cv_type_uint64_t
=yes
15829 echo "$as_me: failed program was:" >&5
15830 sed 's/^/| /' conftest.
$ac_ext >&5
15832 ac_cv_type_uint64_t
=no
15834 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
15836 echo "$as_me:$LINENO: result: $ac_cv_type_uint64_t" >&5
15837 echo "${ECHO_T}$ac_cv_type_uint64_t" >&6
15838 if test $ac_cv_type_uint64_t = yes; then
15844 stdint.h inttypes.h sys
/inttypes.h
$inttype_headers
15847 echo "$as_me:$LINENO: checking for stdint uintptr_t" >&5
15848 echo $ECHO_N "checking for stdint uintptr_t... $ECHO_C" >&6
15851 echo "$as_me:$LINENO: result: $ac_cv_header_stdint_x" >&5
15852 echo "${ECHO_T}$ac_cv_header_stdint_x" >&6
15855 if test "_$ac_cv_header_stdint_x" = "_" ; then
15857 echo "$as_me:$LINENO: checking for stdint uint32_t" >&5
15858 echo $ECHO_N "checking for stdint uint32_t... $ECHO_C" >&6
15859 if test "${ac_cv_header_stdint_o+set}" = set; then
15860 echo $ECHO_N "(cached) $ECHO_C" >&6
15863 ac_cv_header_stdint_o
="" # the 1995 typedefs (sys/inttypes.h)
15864 echo "$as_me:$LINENO: result: (..)" >&5
15865 echo "${ECHO_T}(..)" >&6
15866 for i
in inttypes.h sys
/inttypes.h stdint.h
$inttype_headers ; do
15867 unset ac_cv_type_uint32_t
15868 unset ac_cv_type_uint64_t
15869 echo "$as_me:$LINENO: checking for uint32_t" >&5
15870 echo $ECHO_N "checking for uint32_t... $ECHO_C" >&6
15871 if test "${ac_cv_type_uint32_t+set}" = set; then
15872 echo $ECHO_N "(cached) $ECHO_C" >&6
15874 cat >conftest.
$ac_ext <<_ACEOF
15877 cat confdefs.h
>>conftest.
$ac_ext
15878 cat >>conftest.
$ac_ext <<_ACEOF
15879 /* end confdefs.h. */
15885 if ((uint32_t *) 0)
15887 if (sizeof (uint32_t))
15893 rm -f conftest.
$ac_objext
15894 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15895 (eval $ac_compile) 2>conftest.er1
15897 grep -v '^ *+' conftest.er1
>conftest.err
15899 cat conftest.err
>&5
15900 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15901 (exit $ac_status); } &&
15902 { ac_try
='test -z "$ac_c_werror_flag"
15903 || test ! -s conftest.err'
15904 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15905 (eval $ac_try) 2>&5
15907 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15908 (exit $ac_status); }; } &&
15909 { ac_try
='test -s conftest.$ac_objext'
15910 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15911 (eval $ac_try) 2>&5
15913 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15914 (exit $ac_status); }; }; then
15915 ac_cv_type_uint32_t
=yes
15917 echo "$as_me: failed program was:" >&5
15918 sed 's/^/| /' conftest.
$ac_ext >&5
15920 ac_cv_type_uint32_t
=no
15922 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
15924 echo "$as_me:$LINENO: result: $ac_cv_type_uint32_t" >&5
15925 echo "${ECHO_T}$ac_cv_type_uint32_t" >&6
15926 if test $ac_cv_type_uint32_t = yes; then
15927 ac_cv_header_stdint_o
=$i
15932 echo "$as_me:$LINENO: checking for uint64_t" >&5
15933 echo $ECHO_N "checking for uint64_t... $ECHO_C" >&6
15934 if test "${ac_cv_type_uint64_t+set}" = set; then
15935 echo $ECHO_N "(cached) $ECHO_C" >&6
15937 cat >conftest.
$ac_ext <<_ACEOF
15940 cat confdefs.h
>>conftest.
$ac_ext
15941 cat >>conftest.
$ac_ext <<_ACEOF
15942 /* end confdefs.h. */
15948 if ((uint64_t *) 0)
15950 if (sizeof (uint64_t))
15956 rm -f conftest.
$ac_objext
15957 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15958 (eval $ac_compile) 2>conftest.er1
15960 grep -v '^ *+' conftest.er1
>conftest.err
15962 cat conftest.err
>&5
15963 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15964 (exit $ac_status); } &&
15965 { ac_try
='test -z "$ac_c_werror_flag"
15966 || test ! -s conftest.err'
15967 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15968 (eval $ac_try) 2>&5
15970 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15971 (exit $ac_status); }; } &&
15972 { ac_try
='test -s conftest.$ac_objext'
15973 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15974 (eval $ac_try) 2>&5
15976 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15977 (exit $ac_status); }; }; then
15978 ac_cv_type_uint64_t
=yes
15980 echo "$as_me: failed program was:" >&5
15981 sed 's/^/| /' conftest.
$ac_ext >&5
15983 ac_cv_type_uint64_t
=no
15985 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
15987 echo "$as_me:$LINENO: result: $ac_cv_type_uint64_t" >&5
15988 echo "${ECHO_T}$ac_cv_type_uint64_t" >&6
15989 if test $ac_cv_type_uint64_t = yes; then
15995 inttypes.h sys
/inttypes.h stdint.h
$inttype_headers
15999 echo "$as_me:$LINENO: checking for stdint uint32_t" >&5
16000 echo $ECHO_N "checking for stdint uint32_t... $ECHO_C" >&6
16003 echo "$as_me:$LINENO: result: $ac_cv_header_stdint_o" >&5
16004 echo "${ECHO_T}$ac_cv_header_stdint_o" >&6
16008 if test "_$ac_cv_header_stdint_x" = "_" ; then
16009 if test "_$ac_cv_header_stdint_o" = "_" ; then
16011 echo "$as_me:$LINENO: checking for stdint u_int32_t" >&5
16012 echo $ECHO_N "checking for stdint u_int32_t... $ECHO_C" >&6
16013 if test "${ac_cv_header_stdint_u+set}" = set; then
16014 echo $ECHO_N "(cached) $ECHO_C" >&6
16017 ac_cv_header_stdint_u
="" # the BSD typedefs (sys/types.h)
16018 echo "$as_me:$LINENO: result: (..)" >&5
16019 echo "${ECHO_T}(..)" >&6
16020 for i
in sys
/types.h inttypes.h sys
/inttypes.h
$inttype_headers ; do
16021 unset ac_cv_type_u_int32_t
16022 unset ac_cv_type_u_int64_t
16023 echo "$as_me:$LINENO: checking for u_int32_t" >&5
16024 echo $ECHO_N "checking for u_int32_t... $ECHO_C" >&6
16025 if test "${ac_cv_type_u_int32_t+set}" = set; then
16026 echo $ECHO_N "(cached) $ECHO_C" >&6
16028 cat >conftest.
$ac_ext <<_ACEOF
16031 cat confdefs.h
>>conftest.
$ac_ext
16032 cat >>conftest.
$ac_ext <<_ACEOF
16033 /* end confdefs.h. */
16039 if ((u_int32_t *) 0)
16041 if (sizeof (u_int32_t))
16047 rm -f conftest.
$ac_objext
16048 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16049 (eval $ac_compile) 2>conftest.er1
16051 grep -v '^ *+' conftest.er1
>conftest.err
16053 cat conftest.err
>&5
16054 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16055 (exit $ac_status); } &&
16056 { ac_try
='test -z "$ac_c_werror_flag"
16057 || test ! -s conftest.err'
16058 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16059 (eval $ac_try) 2>&5
16061 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16062 (exit $ac_status); }; } &&
16063 { ac_try
='test -s conftest.$ac_objext'
16064 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16065 (eval $ac_try) 2>&5
16067 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16068 (exit $ac_status); }; }; then
16069 ac_cv_type_u_int32_t
=yes
16071 echo "$as_me: failed program was:" >&5
16072 sed 's/^/| /' conftest.
$ac_ext >&5
16074 ac_cv_type_u_int32_t
=no
16076 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
16078 echo "$as_me:$LINENO: result: $ac_cv_type_u_int32_t" >&5
16079 echo "${ECHO_T}$ac_cv_type_u_int32_t" >&6
16080 if test $ac_cv_type_u_int32_t = yes; then
16081 ac_cv_header_stdint_u
=$i
16086 echo "$as_me:$LINENO: checking for u_int64_t" >&5
16087 echo $ECHO_N "checking for u_int64_t... $ECHO_C" >&6
16088 if test "${ac_cv_type_u_int64_t+set}" = set; then
16089 echo $ECHO_N "(cached) $ECHO_C" >&6
16091 cat >conftest.
$ac_ext <<_ACEOF
16094 cat confdefs.h
>>conftest.
$ac_ext
16095 cat >>conftest.
$ac_ext <<_ACEOF
16096 /* end confdefs.h. */
16102 if ((u_int64_t *) 0)
16104 if (sizeof (u_int64_t))
16110 rm -f conftest.
$ac_objext
16111 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16112 (eval $ac_compile) 2>conftest.er1
16114 grep -v '^ *+' conftest.er1
>conftest.err
16116 cat conftest.err
>&5
16117 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16118 (exit $ac_status); } &&
16119 { ac_try
='test -z "$ac_c_werror_flag"
16120 || test ! -s conftest.err'
16121 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16122 (eval $ac_try) 2>&5
16124 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16125 (exit $ac_status); }; } &&
16126 { ac_try
='test -s conftest.$ac_objext'
16127 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16128 (eval $ac_try) 2>&5
16130 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16131 (exit $ac_status); }; }; then
16132 ac_cv_type_u_int64_t
=yes
16134 echo "$as_me: failed program was:" >&5
16135 sed 's/^/| /' conftest.
$ac_ext >&5
16137 ac_cv_type_u_int64_t
=no
16139 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
16141 echo "$as_me:$LINENO: result: $ac_cv_type_u_int64_t" >&5
16142 echo "${ECHO_T}$ac_cv_type_u_int64_t" >&6
16143 if test $ac_cv_type_u_int64_t = yes; then
16149 sys
/types.h inttypes.h sys
/inttypes.h
$inttype_headers
16153 echo "$as_me:$LINENO: checking for stdint u_int32_t" >&5
16154 echo $ECHO_N "checking for stdint u_int32_t... $ECHO_C" >&6
16157 echo "$as_me:$LINENO: result: $ac_cv_header_stdint_u" >&5
16158 echo "${ECHO_T}$ac_cv_header_stdint_u" >&6
16162 if test "_$ac_cv_header_stdint_x" = "_" ; then
16163 echo "$as_me:$LINENO: checking for stdint datatype model" >&5
16164 echo $ECHO_N "checking for stdint datatype model... $ECHO_C" >&6
16165 echo "$as_me:$LINENO: result: (..)" >&5
16166 echo "${ECHO_T}(..)" >&6
16168 echo "$as_me:$LINENO: checking for char" >&5
16169 echo $ECHO_N "checking for char... $ECHO_C" >&6
16170 if test "${ac_cv_type_char+set}" = set; then
16171 echo $ECHO_N "(cached) $ECHO_C" >&6
16173 cat >conftest.
$ac_ext <<_ACEOF
16176 cat confdefs.h
>>conftest.
$ac_ext
16177 cat >>conftest.
$ac_ext <<_ACEOF
16178 /* end confdefs.h. */
16179 $ac_includes_default
16191 rm -f conftest.
$ac_objext
16192 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16193 (eval $ac_compile) 2>conftest.er1
16195 grep -v '^ *+' conftest.er1
>conftest.err
16197 cat conftest.err
>&5
16198 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16199 (exit $ac_status); } &&
16200 { ac_try
='test -z "$ac_c_werror_flag"
16201 || test ! -s conftest.err'
16202 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16203 (eval $ac_try) 2>&5
16205 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16206 (exit $ac_status); }; } &&
16207 { ac_try
='test -s conftest.$ac_objext'
16208 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16209 (eval $ac_try) 2>&5
16211 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16212 (exit $ac_status); }; }; then
16213 ac_cv_type_char
=yes
16215 echo "$as_me: failed program was:" >&5
16216 sed 's/^/| /' conftest.
$ac_ext >&5
16220 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
16222 echo "$as_me:$LINENO: result: $ac_cv_type_char" >&5
16223 echo "${ECHO_T}$ac_cv_type_char" >&6
16225 echo "$as_me:$LINENO: checking size of char" >&5
16226 echo $ECHO_N "checking size of char... $ECHO_C" >&6
16227 if test "${ac_cv_sizeof_char+set}" = set; then
16228 echo $ECHO_N "(cached) $ECHO_C" >&6
16230 if test "$ac_cv_type_char" = yes; then
16231 # The cast to unsigned long works around a bug in the HP C Compiler
16232 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
16233 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
16234 # This bug is HP SR number 8606223364.
16235 if test "$cross_compiling" = yes; then
16236 # Depending upon the size, compute the lo and hi bounds.
16237 cat >conftest.
$ac_ext <<_ACEOF
16240 cat confdefs.h
>>conftest.
$ac_ext
16241 cat >>conftest.
$ac_ext <<_ACEOF
16242 /* end confdefs.h. */
16243 $ac_includes_default
16247 static int test_array [1 - 2 * !(((long) (sizeof (char))) >= 0)];
16254 rm -f conftest.
$ac_objext
16255 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16256 (eval $ac_compile) 2>conftest.er1
16258 grep -v '^ *+' conftest.er1
>conftest.err
16260 cat conftest.err
>&5
16261 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16262 (exit $ac_status); } &&
16263 { ac_try
='test -z "$ac_c_werror_flag"
16264 || test ! -s conftest.err'
16265 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16266 (eval $ac_try) 2>&5
16268 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16269 (exit $ac_status); }; } &&
16270 { ac_try
='test -s conftest.$ac_objext'
16271 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16272 (eval $ac_try) 2>&5
16274 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16275 (exit $ac_status); }; }; then
16278 cat >conftest.
$ac_ext <<_ACEOF
16281 cat confdefs.h
>>conftest.
$ac_ext
16282 cat >>conftest.
$ac_ext <<_ACEOF
16283 /* end confdefs.h. */
16284 $ac_includes_default
16288 static int test_array [1 - 2 * !(((long) (sizeof (char))) <= $ac_mid)];
16295 rm -f conftest.
$ac_objext
16296 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16297 (eval $ac_compile) 2>conftest.er1
16299 grep -v '^ *+' conftest.er1
>conftest.err
16301 cat conftest.err
>&5
16302 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16303 (exit $ac_status); } &&
16304 { ac_try
='test -z "$ac_c_werror_flag"
16305 || test ! -s conftest.err'
16306 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16307 (eval $ac_try) 2>&5
16309 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16310 (exit $ac_status); }; } &&
16311 { ac_try
='test -s conftest.$ac_objext'
16312 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16313 (eval $ac_try) 2>&5
16315 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16316 (exit $ac_status); }; }; then
16317 ac_hi
=$ac_mid; break
16319 echo "$as_me: failed program was:" >&5
16320 sed 's/^/| /' conftest.
$ac_ext >&5
16322 ac_lo
=`expr $ac_mid + 1`
16323 if test $ac_lo -le $ac_mid; then
16327 ac_mid
=`expr 2 '*' $ac_mid + 1`
16329 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
16332 echo "$as_me: failed program was:" >&5
16333 sed 's/^/| /' conftest.
$ac_ext >&5
16335 cat >conftest.
$ac_ext <<_ACEOF
16338 cat confdefs.h
>>conftest.
$ac_ext
16339 cat >>conftest.
$ac_ext <<_ACEOF
16340 /* end confdefs.h. */
16341 $ac_includes_default
16345 static int test_array [1 - 2 * !(((long) (sizeof (char))) < 0)];
16352 rm -f conftest.
$ac_objext
16353 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16354 (eval $ac_compile) 2>conftest.er1
16356 grep -v '^ *+' conftest.er1
>conftest.err
16358 cat conftest.err
>&5
16359 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16360 (exit $ac_status); } &&
16361 { ac_try
='test -z "$ac_c_werror_flag"
16362 || test ! -s conftest.err'
16363 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16364 (eval $ac_try) 2>&5
16366 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16367 (exit $ac_status); }; } &&
16368 { ac_try
='test -s conftest.$ac_objext'
16369 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16370 (eval $ac_try) 2>&5
16372 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16373 (exit $ac_status); }; }; then
16376 cat >conftest.
$ac_ext <<_ACEOF
16379 cat confdefs.h
>>conftest.
$ac_ext
16380 cat >>conftest.
$ac_ext <<_ACEOF
16381 /* end confdefs.h. */
16382 $ac_includes_default
16386 static int test_array [1 - 2 * !(((long) (sizeof (char))) >= $ac_mid)];
16393 rm -f conftest.
$ac_objext
16394 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16395 (eval $ac_compile) 2>conftest.er1
16397 grep -v '^ *+' conftest.er1
>conftest.err
16399 cat conftest.err
>&5
16400 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16401 (exit $ac_status); } &&
16402 { ac_try
='test -z "$ac_c_werror_flag"
16403 || test ! -s conftest.err'
16404 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16405 (eval $ac_try) 2>&5
16407 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16408 (exit $ac_status); }; } &&
16409 { ac_try
='test -s conftest.$ac_objext'
16410 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16411 (eval $ac_try) 2>&5
16413 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16414 (exit $ac_status); }; }; then
16415 ac_lo
=$ac_mid; break
16417 echo "$as_me: failed program was:" >&5
16418 sed 's/^/| /' conftest.
$ac_ext >&5
16420 ac_hi
=`expr '(' $ac_mid ')' - 1`
16421 if test $ac_mid -le $ac_hi; then
16425 ac_mid
=`expr 2 '*' $ac_mid`
16427 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
16430 echo "$as_me: failed program was:" >&5
16431 sed 's/^/| /' conftest.
$ac_ext >&5
16435 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
16437 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
16438 # Binary search between lo and hi bounds.
16439 while test "x$ac_lo" != "x$ac_hi"; do
16440 ac_mid
=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
16441 cat >conftest.
$ac_ext <<_ACEOF
16444 cat confdefs.h
>>conftest.
$ac_ext
16445 cat >>conftest.
$ac_ext <<_ACEOF
16446 /* end confdefs.h. */
16447 $ac_includes_default
16451 static int test_array [1 - 2 * !(((long) (sizeof (char))) <= $ac_mid)];
16458 rm -f conftest.
$ac_objext
16459 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16460 (eval $ac_compile) 2>conftest.er1
16462 grep -v '^ *+' conftest.er1
>conftest.err
16464 cat conftest.err
>&5
16465 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16466 (exit $ac_status); } &&
16467 { ac_try
='test -z "$ac_c_werror_flag"
16468 || test ! -s conftest.err'
16469 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16470 (eval $ac_try) 2>&5
16472 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16473 (exit $ac_status); }; } &&
16474 { ac_try
='test -s conftest.$ac_objext'
16475 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16476 (eval $ac_try) 2>&5
16478 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16479 (exit $ac_status); }; }; then
16482 echo "$as_me: failed program was:" >&5
16483 sed 's/^/| /' conftest.
$ac_ext >&5
16485 ac_lo
=`expr '(' $ac_mid ')' + 1`
16487 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
16490 ?
*) ac_cv_sizeof_char
=$ac_lo;;
16491 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (char), 77
16492 See \`config.log' for more details." >&5
16493 echo "$as_me: error: cannot compute sizeof (char), 77
16494 See \`config.log' for more details." >&2;}
16495 { (exit 1); exit 1; }; } ;;
16498 if test "$cross_compiling" = yes; then
16499 { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
16500 See \`config.log' for more details." >&5
16501 echo "$as_me: error: cannot run test program while cross compiling
16502 See \`config.log' for more details." >&2;}
16503 { (exit 1); exit 1; }; }
16505 cat >conftest.
$ac_ext <<_ACEOF
16508 cat confdefs.h
>>conftest.
$ac_ext
16509 cat >>conftest.
$ac_ext <<_ACEOF
16510 /* end confdefs.h. */
16511 $ac_includes_default
16512 long longval () { return (long) (sizeof (char)); }
16513 unsigned long ulongval () { return (long) (sizeof (char)); }
16515 #include <stdlib.h>
16520 FILE *f = fopen ("conftest.val", "w");
16523 if (((long) (sizeof (char))) < 0)
16525 long i = longval ();
16526 if (i != ((long) (sizeof (char))))
16528 fprintf (f, "%ld\n", i);
16532 unsigned long i = ulongval ();
16533 if (i != ((long) (sizeof (char))))
16535 fprintf (f, "%lu\n", i);
16537 exit (ferror (f) || fclose (f) != 0);
16543 rm -f conftest
$ac_exeext
16544 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
16545 (eval $ac_link) 2>&5
16547 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16548 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
16549 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16550 (eval $ac_try) 2>&5
16552 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16553 (exit $ac_status); }; }; then
16554 ac_cv_sizeof_char
=`cat conftest.val`
16556 echo "$as_me: program exited with status $ac_status" >&5
16557 echo "$as_me: failed program was:" >&5
16558 sed 's/^/| /' conftest.
$ac_ext >&5
16560 ( exit $ac_status )
16561 { { echo "$as_me:$LINENO: error: cannot compute sizeof (char), 77
16562 See \`config.log' for more details." >&5
16563 echo "$as_me: error: cannot compute sizeof (char), 77
16564 See \`config.log' for more details." >&2;}
16565 { (exit 1); exit 1; }; }
16567 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
16572 ac_cv_sizeof_char
=0
16575 echo "$as_me:$LINENO: result: $ac_cv_sizeof_char" >&5
16576 echo "${ECHO_T}$ac_cv_sizeof_char" >&6
16577 cat >>confdefs.h
<<_ACEOF
16578 #define SIZEOF_CHAR $ac_cv_sizeof_char
16582 echo "$as_me:$LINENO: checking for short" >&5
16583 echo $ECHO_N "checking for short... $ECHO_C" >&6
16584 if test "${ac_cv_type_short+set}" = set; then
16585 echo $ECHO_N "(cached) $ECHO_C" >&6
16587 cat >conftest.
$ac_ext <<_ACEOF
16590 cat confdefs.h
>>conftest.
$ac_ext
16591 cat >>conftest.
$ac_ext <<_ACEOF
16592 /* end confdefs.h. */
16593 $ac_includes_default
16599 if (sizeof (short))
16605 rm -f conftest.
$ac_objext
16606 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16607 (eval $ac_compile) 2>conftest.er1
16609 grep -v '^ *+' conftest.er1
>conftest.err
16611 cat conftest.err
>&5
16612 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16613 (exit $ac_status); } &&
16614 { ac_try
='test -z "$ac_c_werror_flag"
16615 || test ! -s conftest.err'
16616 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16617 (eval $ac_try) 2>&5
16619 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16620 (exit $ac_status); }; } &&
16621 { ac_try
='test -s conftest.$ac_objext'
16622 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16623 (eval $ac_try) 2>&5
16625 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16626 (exit $ac_status); }; }; then
16627 ac_cv_type_short
=yes
16629 echo "$as_me: failed program was:" >&5
16630 sed 's/^/| /' conftest.
$ac_ext >&5
16632 ac_cv_type_short
=no
16634 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
16636 echo "$as_me:$LINENO: result: $ac_cv_type_short" >&5
16637 echo "${ECHO_T}$ac_cv_type_short" >&6
16639 echo "$as_me:$LINENO: checking size of short" >&5
16640 echo $ECHO_N "checking size of short... $ECHO_C" >&6
16641 if test "${ac_cv_sizeof_short+set}" = set; then
16642 echo $ECHO_N "(cached) $ECHO_C" >&6
16644 if test "$ac_cv_type_short" = yes; then
16645 # The cast to unsigned long works around a bug in the HP C Compiler
16646 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
16647 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
16648 # This bug is HP SR number 8606223364.
16649 if test "$cross_compiling" = yes; then
16650 # Depending upon the size, compute the lo and hi bounds.
16651 cat >conftest.
$ac_ext <<_ACEOF
16654 cat confdefs.h
>>conftest.
$ac_ext
16655 cat >>conftest.
$ac_ext <<_ACEOF
16656 /* end confdefs.h. */
16657 $ac_includes_default
16661 static int test_array [1 - 2 * !(((long) (sizeof (short))) >= 0)];
16668 rm -f conftest.
$ac_objext
16669 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16670 (eval $ac_compile) 2>conftest.er1
16672 grep -v '^ *+' conftest.er1
>conftest.err
16674 cat conftest.err
>&5
16675 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16676 (exit $ac_status); } &&
16677 { ac_try
='test -z "$ac_c_werror_flag"
16678 || test ! -s conftest.err'
16679 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16680 (eval $ac_try) 2>&5
16682 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16683 (exit $ac_status); }; } &&
16684 { ac_try
='test -s conftest.$ac_objext'
16685 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16686 (eval $ac_try) 2>&5
16688 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16689 (exit $ac_status); }; }; then
16692 cat >conftest.
$ac_ext <<_ACEOF
16695 cat confdefs.h
>>conftest.
$ac_ext
16696 cat >>conftest.
$ac_ext <<_ACEOF
16697 /* end confdefs.h. */
16698 $ac_includes_default
16702 static int test_array [1 - 2 * !(((long) (sizeof (short))) <= $ac_mid)];
16709 rm -f conftest.
$ac_objext
16710 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16711 (eval $ac_compile) 2>conftest.er1
16713 grep -v '^ *+' conftest.er1
>conftest.err
16715 cat conftest.err
>&5
16716 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16717 (exit $ac_status); } &&
16718 { ac_try
='test -z "$ac_c_werror_flag"
16719 || test ! -s conftest.err'
16720 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16721 (eval $ac_try) 2>&5
16723 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16724 (exit $ac_status); }; } &&
16725 { ac_try
='test -s conftest.$ac_objext'
16726 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16727 (eval $ac_try) 2>&5
16729 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16730 (exit $ac_status); }; }; then
16731 ac_hi
=$ac_mid; break
16733 echo "$as_me: failed program was:" >&5
16734 sed 's/^/| /' conftest.
$ac_ext >&5
16736 ac_lo
=`expr $ac_mid + 1`
16737 if test $ac_lo -le $ac_mid; then
16741 ac_mid
=`expr 2 '*' $ac_mid + 1`
16743 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
16746 echo "$as_me: failed program was:" >&5
16747 sed 's/^/| /' conftest.
$ac_ext >&5
16749 cat >conftest.
$ac_ext <<_ACEOF
16752 cat confdefs.h
>>conftest.
$ac_ext
16753 cat >>conftest.
$ac_ext <<_ACEOF
16754 /* end confdefs.h. */
16755 $ac_includes_default
16759 static int test_array [1 - 2 * !(((long) (sizeof (short))) < 0)];
16766 rm -f conftest.
$ac_objext
16767 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16768 (eval $ac_compile) 2>conftest.er1
16770 grep -v '^ *+' conftest.er1
>conftest.err
16772 cat conftest.err
>&5
16773 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16774 (exit $ac_status); } &&
16775 { ac_try
='test -z "$ac_c_werror_flag"
16776 || test ! -s conftest.err'
16777 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16778 (eval $ac_try) 2>&5
16780 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16781 (exit $ac_status); }; } &&
16782 { ac_try
='test -s conftest.$ac_objext'
16783 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16784 (eval $ac_try) 2>&5
16786 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16787 (exit $ac_status); }; }; then
16790 cat >conftest.
$ac_ext <<_ACEOF
16793 cat confdefs.h
>>conftest.
$ac_ext
16794 cat >>conftest.
$ac_ext <<_ACEOF
16795 /* end confdefs.h. */
16796 $ac_includes_default
16800 static int test_array [1 - 2 * !(((long) (sizeof (short))) >= $ac_mid)];
16807 rm -f conftest.
$ac_objext
16808 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16809 (eval $ac_compile) 2>conftest.er1
16811 grep -v '^ *+' conftest.er1
>conftest.err
16813 cat conftest.err
>&5
16814 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16815 (exit $ac_status); } &&
16816 { ac_try
='test -z "$ac_c_werror_flag"
16817 || test ! -s conftest.err'
16818 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16819 (eval $ac_try) 2>&5
16821 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16822 (exit $ac_status); }; } &&
16823 { ac_try
='test -s conftest.$ac_objext'
16824 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16825 (eval $ac_try) 2>&5
16827 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16828 (exit $ac_status); }; }; then
16829 ac_lo
=$ac_mid; break
16831 echo "$as_me: failed program was:" >&5
16832 sed 's/^/| /' conftest.
$ac_ext >&5
16834 ac_hi
=`expr '(' $ac_mid ')' - 1`
16835 if test $ac_mid -le $ac_hi; then
16839 ac_mid
=`expr 2 '*' $ac_mid`
16841 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
16844 echo "$as_me: failed program was:" >&5
16845 sed 's/^/| /' conftest.
$ac_ext >&5
16849 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
16851 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
16852 # Binary search between lo and hi bounds.
16853 while test "x$ac_lo" != "x$ac_hi"; do
16854 ac_mid
=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
16855 cat >conftest.
$ac_ext <<_ACEOF
16858 cat confdefs.h
>>conftest.
$ac_ext
16859 cat >>conftest.
$ac_ext <<_ACEOF
16860 /* end confdefs.h. */
16861 $ac_includes_default
16865 static int test_array [1 - 2 * !(((long) (sizeof (short))) <= $ac_mid)];
16872 rm -f conftest.
$ac_objext
16873 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16874 (eval $ac_compile) 2>conftest.er1
16876 grep -v '^ *+' conftest.er1
>conftest.err
16878 cat conftest.err
>&5
16879 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16880 (exit $ac_status); } &&
16881 { ac_try
='test -z "$ac_c_werror_flag"
16882 || test ! -s conftest.err'
16883 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16884 (eval $ac_try) 2>&5
16886 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16887 (exit $ac_status); }; } &&
16888 { ac_try
='test -s conftest.$ac_objext'
16889 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16890 (eval $ac_try) 2>&5
16892 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16893 (exit $ac_status); }; }; then
16896 echo "$as_me: failed program was:" >&5
16897 sed 's/^/| /' conftest.
$ac_ext >&5
16899 ac_lo
=`expr '(' $ac_mid ')' + 1`
16901 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
16904 ?
*) ac_cv_sizeof_short
=$ac_lo;;
16905 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (short), 77
16906 See \`config.log' for more details." >&5
16907 echo "$as_me: error: cannot compute sizeof (short), 77
16908 See \`config.log' for more details." >&2;}
16909 { (exit 1); exit 1; }; } ;;
16912 if test "$cross_compiling" = yes; then
16913 { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
16914 See \`config.log' for more details." >&5
16915 echo "$as_me: error: cannot run test program while cross compiling
16916 See \`config.log' for more details." >&2;}
16917 { (exit 1); exit 1; }; }
16919 cat >conftest.
$ac_ext <<_ACEOF
16922 cat confdefs.h
>>conftest.
$ac_ext
16923 cat >>conftest.
$ac_ext <<_ACEOF
16924 /* end confdefs.h. */
16925 $ac_includes_default
16926 long longval () { return (long) (sizeof (short)); }
16927 unsigned long ulongval () { return (long) (sizeof (short)); }
16929 #include <stdlib.h>
16934 FILE *f = fopen ("conftest.val", "w");
16937 if (((long) (sizeof (short))) < 0)
16939 long i = longval ();
16940 if (i != ((long) (sizeof (short))))
16942 fprintf (f, "%ld\n", i);
16946 unsigned long i = ulongval ();
16947 if (i != ((long) (sizeof (short))))
16949 fprintf (f, "%lu\n", i);
16951 exit (ferror (f) || fclose (f) != 0);
16957 rm -f conftest
$ac_exeext
16958 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
16959 (eval $ac_link) 2>&5
16961 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16962 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
16963 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16964 (eval $ac_try) 2>&5
16966 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16967 (exit $ac_status); }; }; then
16968 ac_cv_sizeof_short
=`cat conftest.val`
16970 echo "$as_me: program exited with status $ac_status" >&5
16971 echo "$as_me: failed program was:" >&5
16972 sed 's/^/| /' conftest.
$ac_ext >&5
16974 ( exit $ac_status )
16975 { { echo "$as_me:$LINENO: error: cannot compute sizeof (short), 77
16976 See \`config.log' for more details." >&5
16977 echo "$as_me: error: cannot compute sizeof (short), 77
16978 See \`config.log' for more details." >&2;}
16979 { (exit 1); exit 1; }; }
16981 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
16986 ac_cv_sizeof_short
=0
16989 echo "$as_me:$LINENO: result: $ac_cv_sizeof_short" >&5
16990 echo "${ECHO_T}$ac_cv_sizeof_short" >&6
16991 cat >>confdefs.h
<<_ACEOF
16992 #define SIZEOF_SHORT $ac_cv_sizeof_short
16996 echo "$as_me:$LINENO: checking for int" >&5
16997 echo $ECHO_N "checking for int... $ECHO_C" >&6
16998 if test "${ac_cv_type_int+set}" = set; then
16999 echo $ECHO_N "(cached) $ECHO_C" >&6
17001 cat >conftest.
$ac_ext <<_ACEOF
17004 cat confdefs.h
>>conftest.
$ac_ext
17005 cat >>conftest.
$ac_ext <<_ACEOF
17006 /* end confdefs.h. */
17007 $ac_includes_default
17019 rm -f conftest.
$ac_objext
17020 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17021 (eval $ac_compile) 2>conftest.er1
17023 grep -v '^ *+' conftest.er1
>conftest.err
17025 cat conftest.err
>&5
17026 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17027 (exit $ac_status); } &&
17028 { ac_try
='test -z "$ac_c_werror_flag"
17029 || test ! -s conftest.err'
17030 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17031 (eval $ac_try) 2>&5
17033 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17034 (exit $ac_status); }; } &&
17035 { ac_try
='test -s conftest.$ac_objext'
17036 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17037 (eval $ac_try) 2>&5
17039 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17040 (exit $ac_status); }; }; then
17043 echo "$as_me: failed program was:" >&5
17044 sed 's/^/| /' conftest.
$ac_ext >&5
17048 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
17050 echo "$as_me:$LINENO: result: $ac_cv_type_int" >&5
17051 echo "${ECHO_T}$ac_cv_type_int" >&6
17053 echo "$as_me:$LINENO: checking size of int" >&5
17054 echo $ECHO_N "checking size of int... $ECHO_C" >&6
17055 if test "${ac_cv_sizeof_int+set}" = set; then
17056 echo $ECHO_N "(cached) $ECHO_C" >&6
17058 if test "$ac_cv_type_int" = yes; then
17059 # The cast to unsigned long works around a bug in the HP C Compiler
17060 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
17061 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
17062 # This bug is HP SR number 8606223364.
17063 if test "$cross_compiling" = yes; then
17064 # Depending upon the size, compute the lo and hi bounds.
17065 cat >conftest.
$ac_ext <<_ACEOF
17068 cat confdefs.h
>>conftest.
$ac_ext
17069 cat >>conftest.
$ac_ext <<_ACEOF
17070 /* end confdefs.h. */
17071 $ac_includes_default
17075 static int test_array [1 - 2 * !(((long) (sizeof (int))) >= 0)];
17082 rm -f conftest.
$ac_objext
17083 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17084 (eval $ac_compile) 2>conftest.er1
17086 grep -v '^ *+' conftest.er1
>conftest.err
17088 cat conftest.err
>&5
17089 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17090 (exit $ac_status); } &&
17091 { ac_try
='test -z "$ac_c_werror_flag"
17092 || test ! -s conftest.err'
17093 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17094 (eval $ac_try) 2>&5
17096 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17097 (exit $ac_status); }; } &&
17098 { ac_try
='test -s conftest.$ac_objext'
17099 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17100 (eval $ac_try) 2>&5
17102 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17103 (exit $ac_status); }; }; then
17106 cat >conftest.
$ac_ext <<_ACEOF
17109 cat confdefs.h
>>conftest.
$ac_ext
17110 cat >>conftest.
$ac_ext <<_ACEOF
17111 /* end confdefs.h. */
17112 $ac_includes_default
17116 static int test_array [1 - 2 * !(((long) (sizeof (int))) <= $ac_mid)];
17123 rm -f conftest.
$ac_objext
17124 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17125 (eval $ac_compile) 2>conftest.er1
17127 grep -v '^ *+' conftest.er1
>conftest.err
17129 cat conftest.err
>&5
17130 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17131 (exit $ac_status); } &&
17132 { ac_try
='test -z "$ac_c_werror_flag"
17133 || test ! -s conftest.err'
17134 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17135 (eval $ac_try) 2>&5
17137 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17138 (exit $ac_status); }; } &&
17139 { ac_try
='test -s conftest.$ac_objext'
17140 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17141 (eval $ac_try) 2>&5
17143 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17144 (exit $ac_status); }; }; then
17145 ac_hi
=$ac_mid; break
17147 echo "$as_me: failed program was:" >&5
17148 sed 's/^/| /' conftest.
$ac_ext >&5
17150 ac_lo
=`expr $ac_mid + 1`
17151 if test $ac_lo -le $ac_mid; then
17155 ac_mid
=`expr 2 '*' $ac_mid + 1`
17157 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
17160 echo "$as_me: failed program was:" >&5
17161 sed 's/^/| /' conftest.
$ac_ext >&5
17163 cat >conftest.
$ac_ext <<_ACEOF
17166 cat confdefs.h
>>conftest.
$ac_ext
17167 cat >>conftest.
$ac_ext <<_ACEOF
17168 /* end confdefs.h. */
17169 $ac_includes_default
17173 static int test_array [1 - 2 * !(((long) (sizeof (int))) < 0)];
17180 rm -f conftest.
$ac_objext
17181 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17182 (eval $ac_compile) 2>conftest.er1
17184 grep -v '^ *+' conftest.er1
>conftest.err
17186 cat conftest.err
>&5
17187 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17188 (exit $ac_status); } &&
17189 { ac_try
='test -z "$ac_c_werror_flag"
17190 || test ! -s conftest.err'
17191 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17192 (eval $ac_try) 2>&5
17194 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17195 (exit $ac_status); }; } &&
17196 { ac_try
='test -s conftest.$ac_objext'
17197 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17198 (eval $ac_try) 2>&5
17200 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17201 (exit $ac_status); }; }; then
17204 cat >conftest.
$ac_ext <<_ACEOF
17207 cat confdefs.h
>>conftest.
$ac_ext
17208 cat >>conftest.
$ac_ext <<_ACEOF
17209 /* end confdefs.h. */
17210 $ac_includes_default
17214 static int test_array [1 - 2 * !(((long) (sizeof (int))) >= $ac_mid)];
17221 rm -f conftest.
$ac_objext
17222 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17223 (eval $ac_compile) 2>conftest.er1
17225 grep -v '^ *+' conftest.er1
>conftest.err
17227 cat conftest.err
>&5
17228 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17229 (exit $ac_status); } &&
17230 { ac_try
='test -z "$ac_c_werror_flag"
17231 || test ! -s conftest.err'
17232 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17233 (eval $ac_try) 2>&5
17235 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17236 (exit $ac_status); }; } &&
17237 { ac_try
='test -s conftest.$ac_objext'
17238 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17239 (eval $ac_try) 2>&5
17241 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17242 (exit $ac_status); }; }; then
17243 ac_lo
=$ac_mid; break
17245 echo "$as_me: failed program was:" >&5
17246 sed 's/^/| /' conftest.
$ac_ext >&5
17248 ac_hi
=`expr '(' $ac_mid ')' - 1`
17249 if test $ac_mid -le $ac_hi; then
17253 ac_mid
=`expr 2 '*' $ac_mid`
17255 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
17258 echo "$as_me: failed program was:" >&5
17259 sed 's/^/| /' conftest.
$ac_ext >&5
17263 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
17265 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
17266 # Binary search between lo and hi bounds.
17267 while test "x$ac_lo" != "x$ac_hi"; do
17268 ac_mid
=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
17269 cat >conftest.
$ac_ext <<_ACEOF
17272 cat confdefs.h
>>conftest.
$ac_ext
17273 cat >>conftest.
$ac_ext <<_ACEOF
17274 /* end confdefs.h. */
17275 $ac_includes_default
17279 static int test_array [1 - 2 * !(((long) (sizeof (int))) <= $ac_mid)];
17286 rm -f conftest.
$ac_objext
17287 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17288 (eval $ac_compile) 2>conftest.er1
17290 grep -v '^ *+' conftest.er1
>conftest.err
17292 cat conftest.err
>&5
17293 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17294 (exit $ac_status); } &&
17295 { ac_try
='test -z "$ac_c_werror_flag"
17296 || test ! -s conftest.err'
17297 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17298 (eval $ac_try) 2>&5
17300 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17301 (exit $ac_status); }; } &&
17302 { ac_try
='test -s conftest.$ac_objext'
17303 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17304 (eval $ac_try) 2>&5
17306 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17307 (exit $ac_status); }; }; then
17310 echo "$as_me: failed program was:" >&5
17311 sed 's/^/| /' conftest.
$ac_ext >&5
17313 ac_lo
=`expr '(' $ac_mid ')' + 1`
17315 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
17318 ?
*) ac_cv_sizeof_int
=$ac_lo;;
17319 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (int), 77
17320 See \`config.log' for more details." >&5
17321 echo "$as_me: error: cannot compute sizeof (int), 77
17322 See \`config.log' for more details." >&2;}
17323 { (exit 1); exit 1; }; } ;;
17326 if test "$cross_compiling" = yes; then
17327 { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
17328 See \`config.log' for more details." >&5
17329 echo "$as_me: error: cannot run test program while cross compiling
17330 See \`config.log' for more details." >&2;}
17331 { (exit 1); exit 1; }; }
17333 cat >conftest.
$ac_ext <<_ACEOF
17336 cat confdefs.h
>>conftest.
$ac_ext
17337 cat >>conftest.
$ac_ext <<_ACEOF
17338 /* end confdefs.h. */
17339 $ac_includes_default
17340 long longval () { return (long) (sizeof (int)); }
17341 unsigned long ulongval () { return (long) (sizeof (int)); }
17343 #include <stdlib.h>
17348 FILE *f = fopen ("conftest.val", "w");
17351 if (((long) (sizeof (int))) < 0)
17353 long i = longval ();
17354 if (i != ((long) (sizeof (int))))
17356 fprintf (f, "%ld\n", i);
17360 unsigned long i = ulongval ();
17361 if (i != ((long) (sizeof (int))))
17363 fprintf (f, "%lu\n", i);
17365 exit (ferror (f) || fclose (f) != 0);
17371 rm -f conftest
$ac_exeext
17372 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
17373 (eval $ac_link) 2>&5
17375 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17376 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
17377 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17378 (eval $ac_try) 2>&5
17380 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17381 (exit $ac_status); }; }; then
17382 ac_cv_sizeof_int
=`cat conftest.val`
17384 echo "$as_me: program exited with status $ac_status" >&5
17385 echo "$as_me: failed program was:" >&5
17386 sed 's/^/| /' conftest.
$ac_ext >&5
17388 ( exit $ac_status )
17389 { { echo "$as_me:$LINENO: error: cannot compute sizeof (int), 77
17390 See \`config.log' for more details." >&5
17391 echo "$as_me: error: cannot compute sizeof (int), 77
17392 See \`config.log' for more details." >&2;}
17393 { (exit 1); exit 1; }; }
17395 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
17403 echo "$as_me:$LINENO: result: $ac_cv_sizeof_int" >&5
17404 echo "${ECHO_T}$ac_cv_sizeof_int" >&6
17405 cat >>confdefs.h
<<_ACEOF
17406 #define SIZEOF_INT $ac_cv_sizeof_int
17410 echo "$as_me:$LINENO: checking for long" >&5
17411 echo $ECHO_N "checking for long... $ECHO_C" >&6
17412 if test "${ac_cv_type_long+set}" = set; then
17413 echo $ECHO_N "(cached) $ECHO_C" >&6
17415 cat >conftest.
$ac_ext <<_ACEOF
17418 cat confdefs.h
>>conftest.
$ac_ext
17419 cat >>conftest.
$ac_ext <<_ACEOF
17420 /* end confdefs.h. */
17421 $ac_includes_default
17433 rm -f conftest.
$ac_objext
17434 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17435 (eval $ac_compile) 2>conftest.er1
17437 grep -v '^ *+' conftest.er1
>conftest.err
17439 cat conftest.err
>&5
17440 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17441 (exit $ac_status); } &&
17442 { ac_try
='test -z "$ac_c_werror_flag"
17443 || test ! -s conftest.err'
17444 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17445 (eval $ac_try) 2>&5
17447 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17448 (exit $ac_status); }; } &&
17449 { ac_try
='test -s conftest.$ac_objext'
17450 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17451 (eval $ac_try) 2>&5
17453 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17454 (exit $ac_status); }; }; then
17455 ac_cv_type_long
=yes
17457 echo "$as_me: failed program was:" >&5
17458 sed 's/^/| /' conftest.
$ac_ext >&5
17462 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
17464 echo "$as_me:$LINENO: result: $ac_cv_type_long" >&5
17465 echo "${ECHO_T}$ac_cv_type_long" >&6
17467 echo "$as_me:$LINENO: checking size of long" >&5
17468 echo $ECHO_N "checking size of long... $ECHO_C" >&6
17469 if test "${ac_cv_sizeof_long+set}" = set; then
17470 echo $ECHO_N "(cached) $ECHO_C" >&6
17472 if test "$ac_cv_type_long" = yes; then
17473 # The cast to unsigned long works around a bug in the HP C Compiler
17474 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
17475 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
17476 # This bug is HP SR number 8606223364.
17477 if test "$cross_compiling" = yes; then
17478 # Depending upon the size, compute the lo and hi bounds.
17479 cat >conftest.
$ac_ext <<_ACEOF
17482 cat confdefs.h
>>conftest.
$ac_ext
17483 cat >>conftest.
$ac_ext <<_ACEOF
17484 /* end confdefs.h. */
17485 $ac_includes_default
17489 static int test_array [1 - 2 * !(((long) (sizeof (long))) >= 0)];
17496 rm -f conftest.
$ac_objext
17497 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17498 (eval $ac_compile) 2>conftest.er1
17500 grep -v '^ *+' conftest.er1
>conftest.err
17502 cat conftest.err
>&5
17503 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17504 (exit $ac_status); } &&
17505 { ac_try
='test -z "$ac_c_werror_flag"
17506 || test ! -s conftest.err'
17507 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17508 (eval $ac_try) 2>&5
17510 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17511 (exit $ac_status); }; } &&
17512 { ac_try
='test -s conftest.$ac_objext'
17513 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17514 (eval $ac_try) 2>&5
17516 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17517 (exit $ac_status); }; }; then
17520 cat >conftest.
$ac_ext <<_ACEOF
17523 cat confdefs.h
>>conftest.
$ac_ext
17524 cat >>conftest.
$ac_ext <<_ACEOF
17525 /* end confdefs.h. */
17526 $ac_includes_default
17530 static int test_array [1 - 2 * !(((long) (sizeof (long))) <= $ac_mid)];
17537 rm -f conftest.
$ac_objext
17538 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17539 (eval $ac_compile) 2>conftest.er1
17541 grep -v '^ *+' conftest.er1
>conftest.err
17543 cat conftest.err
>&5
17544 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17545 (exit $ac_status); } &&
17546 { ac_try
='test -z "$ac_c_werror_flag"
17547 || test ! -s conftest.err'
17548 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17549 (eval $ac_try) 2>&5
17551 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17552 (exit $ac_status); }; } &&
17553 { ac_try
='test -s conftest.$ac_objext'
17554 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17555 (eval $ac_try) 2>&5
17557 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17558 (exit $ac_status); }; }; then
17559 ac_hi
=$ac_mid; break
17561 echo "$as_me: failed program was:" >&5
17562 sed 's/^/| /' conftest.
$ac_ext >&5
17564 ac_lo
=`expr $ac_mid + 1`
17565 if test $ac_lo -le $ac_mid; then
17569 ac_mid
=`expr 2 '*' $ac_mid + 1`
17571 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
17574 echo "$as_me: failed program was:" >&5
17575 sed 's/^/| /' conftest.
$ac_ext >&5
17577 cat >conftest.
$ac_ext <<_ACEOF
17580 cat confdefs.h
>>conftest.
$ac_ext
17581 cat >>conftest.
$ac_ext <<_ACEOF
17582 /* end confdefs.h. */
17583 $ac_includes_default
17587 static int test_array [1 - 2 * !(((long) (sizeof (long))) < 0)];
17594 rm -f conftest.
$ac_objext
17595 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17596 (eval $ac_compile) 2>conftest.er1
17598 grep -v '^ *+' conftest.er1
>conftest.err
17600 cat conftest.err
>&5
17601 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17602 (exit $ac_status); } &&
17603 { ac_try
='test -z "$ac_c_werror_flag"
17604 || test ! -s conftest.err'
17605 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17606 (eval $ac_try) 2>&5
17608 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17609 (exit $ac_status); }; } &&
17610 { ac_try
='test -s conftest.$ac_objext'
17611 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17612 (eval $ac_try) 2>&5
17614 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17615 (exit $ac_status); }; }; then
17618 cat >conftest.
$ac_ext <<_ACEOF
17621 cat confdefs.h
>>conftest.
$ac_ext
17622 cat >>conftest.
$ac_ext <<_ACEOF
17623 /* end confdefs.h. */
17624 $ac_includes_default
17628 static int test_array [1 - 2 * !(((long) (sizeof (long))) >= $ac_mid)];
17635 rm -f conftest.
$ac_objext
17636 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17637 (eval $ac_compile) 2>conftest.er1
17639 grep -v '^ *+' conftest.er1
>conftest.err
17641 cat conftest.err
>&5
17642 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17643 (exit $ac_status); } &&
17644 { ac_try
='test -z "$ac_c_werror_flag"
17645 || test ! -s conftest.err'
17646 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17647 (eval $ac_try) 2>&5
17649 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17650 (exit $ac_status); }; } &&
17651 { ac_try
='test -s conftest.$ac_objext'
17652 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17653 (eval $ac_try) 2>&5
17655 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17656 (exit $ac_status); }; }; then
17657 ac_lo
=$ac_mid; break
17659 echo "$as_me: failed program was:" >&5
17660 sed 's/^/| /' conftest.
$ac_ext >&5
17662 ac_hi
=`expr '(' $ac_mid ')' - 1`
17663 if test $ac_mid -le $ac_hi; then
17667 ac_mid
=`expr 2 '*' $ac_mid`
17669 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
17672 echo "$as_me: failed program was:" >&5
17673 sed 's/^/| /' conftest.
$ac_ext >&5
17677 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
17679 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
17680 # Binary search between lo and hi bounds.
17681 while test "x$ac_lo" != "x$ac_hi"; do
17682 ac_mid
=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
17683 cat >conftest.
$ac_ext <<_ACEOF
17686 cat confdefs.h
>>conftest.
$ac_ext
17687 cat >>conftest.
$ac_ext <<_ACEOF
17688 /* end confdefs.h. */
17689 $ac_includes_default
17693 static int test_array [1 - 2 * !(((long) (sizeof (long))) <= $ac_mid)];
17700 rm -f conftest.
$ac_objext
17701 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17702 (eval $ac_compile) 2>conftest.er1
17704 grep -v '^ *+' conftest.er1
>conftest.err
17706 cat conftest.err
>&5
17707 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17708 (exit $ac_status); } &&
17709 { ac_try
='test -z "$ac_c_werror_flag"
17710 || test ! -s conftest.err'
17711 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17712 (eval $ac_try) 2>&5
17714 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17715 (exit $ac_status); }; } &&
17716 { ac_try
='test -s conftest.$ac_objext'
17717 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17718 (eval $ac_try) 2>&5
17720 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17721 (exit $ac_status); }; }; then
17724 echo "$as_me: failed program was:" >&5
17725 sed 's/^/| /' conftest.
$ac_ext >&5
17727 ac_lo
=`expr '(' $ac_mid ')' + 1`
17729 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
17732 ?
*) ac_cv_sizeof_long
=$ac_lo;;
17733 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (long), 77
17734 See \`config.log' for more details." >&5
17735 echo "$as_me: error: cannot compute sizeof (long), 77
17736 See \`config.log' for more details." >&2;}
17737 { (exit 1); exit 1; }; } ;;
17740 if test "$cross_compiling" = yes; then
17741 { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
17742 See \`config.log' for more details." >&5
17743 echo "$as_me: error: cannot run test program while cross compiling
17744 See \`config.log' for more details." >&2;}
17745 { (exit 1); exit 1; }; }
17747 cat >conftest.
$ac_ext <<_ACEOF
17750 cat confdefs.h
>>conftest.
$ac_ext
17751 cat >>conftest.
$ac_ext <<_ACEOF
17752 /* end confdefs.h. */
17753 $ac_includes_default
17754 long longval () { return (long) (sizeof (long)); }
17755 unsigned long ulongval () { return (long) (sizeof (long)); }
17757 #include <stdlib.h>
17762 FILE *f = fopen ("conftest.val", "w");
17765 if (((long) (sizeof (long))) < 0)
17767 long i = longval ();
17768 if (i != ((long) (sizeof (long))))
17770 fprintf (f, "%ld\n", i);
17774 unsigned long i = ulongval ();
17775 if (i != ((long) (sizeof (long))))
17777 fprintf (f, "%lu\n", i);
17779 exit (ferror (f) || fclose (f) != 0);
17785 rm -f conftest
$ac_exeext
17786 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
17787 (eval $ac_link) 2>&5
17789 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17790 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
17791 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17792 (eval $ac_try) 2>&5
17794 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17795 (exit $ac_status); }; }; then
17796 ac_cv_sizeof_long
=`cat conftest.val`
17798 echo "$as_me: program exited with status $ac_status" >&5
17799 echo "$as_me: failed program was:" >&5
17800 sed 's/^/| /' conftest.
$ac_ext >&5
17802 ( exit $ac_status )
17803 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long), 77
17804 See \`config.log' for more details." >&5
17805 echo "$as_me: error: cannot compute sizeof (long), 77
17806 See \`config.log' for more details." >&2;}
17807 { (exit 1); exit 1; }; }
17809 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
17814 ac_cv_sizeof_long
=0
17817 echo "$as_me:$LINENO: result: $ac_cv_sizeof_long" >&5
17818 echo "${ECHO_T}$ac_cv_sizeof_long" >&6
17819 cat >>confdefs.h
<<_ACEOF
17820 #define SIZEOF_LONG $ac_cv_sizeof_long
17824 echo "$as_me:$LINENO: checking for void*" >&5
17825 echo $ECHO_N "checking for void*... $ECHO_C" >&6
17826 if test "${ac_cv_type_voidp+set}" = set; then
17827 echo $ECHO_N "(cached) $ECHO_C" >&6
17829 cat >conftest.
$ac_ext <<_ACEOF
17832 cat confdefs.h
>>conftest.
$ac_ext
17833 cat >>conftest.
$ac_ext <<_ACEOF
17834 /* end confdefs.h. */
17835 $ac_includes_default
17841 if (sizeof (void*))
17847 rm -f conftest.
$ac_objext
17848 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17849 (eval $ac_compile) 2>conftest.er1
17851 grep -v '^ *+' conftest.er1
>conftest.err
17853 cat conftest.err
>&5
17854 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17855 (exit $ac_status); } &&
17856 { ac_try
='test -z "$ac_c_werror_flag"
17857 || test ! -s conftest.err'
17858 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17859 (eval $ac_try) 2>&5
17861 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17862 (exit $ac_status); }; } &&
17863 { ac_try
='test -s conftest.$ac_objext'
17864 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17865 (eval $ac_try) 2>&5
17867 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17868 (exit $ac_status); }; }; then
17869 ac_cv_type_voidp
=yes
17871 echo "$as_me: failed program was:" >&5
17872 sed 's/^/| /' conftest.
$ac_ext >&5
17874 ac_cv_type_voidp
=no
17876 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
17878 echo "$as_me:$LINENO: result: $ac_cv_type_voidp" >&5
17879 echo "${ECHO_T}$ac_cv_type_voidp" >&6
17881 echo "$as_me:$LINENO: checking size of void*" >&5
17882 echo $ECHO_N "checking size of void*... $ECHO_C" >&6
17883 if test "${ac_cv_sizeof_voidp+set}" = set; then
17884 echo $ECHO_N "(cached) $ECHO_C" >&6
17886 if test "$ac_cv_type_voidp" = yes; then
17887 # The cast to unsigned long works around a bug in the HP C Compiler
17888 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
17889 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
17890 # This bug is HP SR number 8606223364.
17891 if test "$cross_compiling" = yes; then
17892 # Depending upon the size, compute the lo and hi bounds.
17893 cat >conftest.
$ac_ext <<_ACEOF
17896 cat confdefs.h
>>conftest.
$ac_ext
17897 cat >>conftest.
$ac_ext <<_ACEOF
17898 /* end confdefs.h. */
17899 $ac_includes_default
17903 static int test_array [1 - 2 * !(((long) (sizeof (void*))) >= 0)];
17910 rm -f conftest.
$ac_objext
17911 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17912 (eval $ac_compile) 2>conftest.er1
17914 grep -v '^ *+' conftest.er1
>conftest.err
17916 cat conftest.err
>&5
17917 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17918 (exit $ac_status); } &&
17919 { ac_try
='test -z "$ac_c_werror_flag"
17920 || test ! -s conftest.err'
17921 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17922 (eval $ac_try) 2>&5
17924 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17925 (exit $ac_status); }; } &&
17926 { ac_try
='test -s conftest.$ac_objext'
17927 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17928 (eval $ac_try) 2>&5
17930 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17931 (exit $ac_status); }; }; then
17934 cat >conftest.
$ac_ext <<_ACEOF
17937 cat confdefs.h
>>conftest.
$ac_ext
17938 cat >>conftest.
$ac_ext <<_ACEOF
17939 /* end confdefs.h. */
17940 $ac_includes_default
17944 static int test_array [1 - 2 * !(((long) (sizeof (void*))) <= $ac_mid)];
17951 rm -f conftest.
$ac_objext
17952 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17953 (eval $ac_compile) 2>conftest.er1
17955 grep -v '^ *+' conftest.er1
>conftest.err
17957 cat conftest.err
>&5
17958 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17959 (exit $ac_status); } &&
17960 { ac_try
='test -z "$ac_c_werror_flag"
17961 || test ! -s conftest.err'
17962 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17963 (eval $ac_try) 2>&5
17965 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17966 (exit $ac_status); }; } &&
17967 { ac_try
='test -s conftest.$ac_objext'
17968 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17969 (eval $ac_try) 2>&5
17971 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17972 (exit $ac_status); }; }; then
17973 ac_hi
=$ac_mid; break
17975 echo "$as_me: failed program was:" >&5
17976 sed 's/^/| /' conftest.
$ac_ext >&5
17978 ac_lo
=`expr $ac_mid + 1`
17979 if test $ac_lo -le $ac_mid; then
17983 ac_mid
=`expr 2 '*' $ac_mid + 1`
17985 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
17988 echo "$as_me: failed program was:" >&5
17989 sed 's/^/| /' conftest.
$ac_ext >&5
17991 cat >conftest.
$ac_ext <<_ACEOF
17994 cat confdefs.h
>>conftest.
$ac_ext
17995 cat >>conftest.
$ac_ext <<_ACEOF
17996 /* end confdefs.h. */
17997 $ac_includes_default
18001 static int test_array [1 - 2 * !(((long) (sizeof (void*))) < 0)];
18008 rm -f conftest.
$ac_objext
18009 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18010 (eval $ac_compile) 2>conftest.er1
18012 grep -v '^ *+' conftest.er1
>conftest.err
18014 cat conftest.err
>&5
18015 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18016 (exit $ac_status); } &&
18017 { ac_try
='test -z "$ac_c_werror_flag"
18018 || test ! -s conftest.err'
18019 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18020 (eval $ac_try) 2>&5
18022 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18023 (exit $ac_status); }; } &&
18024 { ac_try
='test -s conftest.$ac_objext'
18025 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18026 (eval $ac_try) 2>&5
18028 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18029 (exit $ac_status); }; }; then
18032 cat >conftest.
$ac_ext <<_ACEOF
18035 cat confdefs.h
>>conftest.
$ac_ext
18036 cat >>conftest.
$ac_ext <<_ACEOF
18037 /* end confdefs.h. */
18038 $ac_includes_default
18042 static int test_array [1 - 2 * !(((long) (sizeof (void*))) >= $ac_mid)];
18049 rm -f conftest.
$ac_objext
18050 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18051 (eval $ac_compile) 2>conftest.er1
18053 grep -v '^ *+' conftest.er1
>conftest.err
18055 cat conftest.err
>&5
18056 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18057 (exit $ac_status); } &&
18058 { ac_try
='test -z "$ac_c_werror_flag"
18059 || test ! -s conftest.err'
18060 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18061 (eval $ac_try) 2>&5
18063 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18064 (exit $ac_status); }; } &&
18065 { ac_try
='test -s conftest.$ac_objext'
18066 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18067 (eval $ac_try) 2>&5
18069 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18070 (exit $ac_status); }; }; then
18071 ac_lo
=$ac_mid; break
18073 echo "$as_me: failed program was:" >&5
18074 sed 's/^/| /' conftest.
$ac_ext >&5
18076 ac_hi
=`expr '(' $ac_mid ')' - 1`
18077 if test $ac_mid -le $ac_hi; then
18081 ac_mid
=`expr 2 '*' $ac_mid`
18083 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
18086 echo "$as_me: failed program was:" >&5
18087 sed 's/^/| /' conftest.
$ac_ext >&5
18091 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
18093 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
18094 # Binary search between lo and hi bounds.
18095 while test "x$ac_lo" != "x$ac_hi"; do
18096 ac_mid
=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
18097 cat >conftest.
$ac_ext <<_ACEOF
18100 cat confdefs.h
>>conftest.
$ac_ext
18101 cat >>conftest.
$ac_ext <<_ACEOF
18102 /* end confdefs.h. */
18103 $ac_includes_default
18107 static int test_array [1 - 2 * !(((long) (sizeof (void*))) <= $ac_mid)];
18114 rm -f conftest.
$ac_objext
18115 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18116 (eval $ac_compile) 2>conftest.er1
18118 grep -v '^ *+' conftest.er1
>conftest.err
18120 cat conftest.err
>&5
18121 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18122 (exit $ac_status); } &&
18123 { ac_try
='test -z "$ac_c_werror_flag"
18124 || test ! -s conftest.err'
18125 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18126 (eval $ac_try) 2>&5
18128 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18129 (exit $ac_status); }; } &&
18130 { ac_try
='test -s conftest.$ac_objext'
18131 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18132 (eval $ac_try) 2>&5
18134 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18135 (exit $ac_status); }; }; then
18138 echo "$as_me: failed program was:" >&5
18139 sed 's/^/| /' conftest.
$ac_ext >&5
18141 ac_lo
=`expr '(' $ac_mid ')' + 1`
18143 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
18146 ?
*) ac_cv_sizeof_voidp
=$ac_lo;;
18147 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (void*), 77
18148 See \`config.log' for more details." >&5
18149 echo "$as_me: error: cannot compute sizeof (void*), 77
18150 See \`config.log' for more details." >&2;}
18151 { (exit 1); exit 1; }; } ;;
18154 if test "$cross_compiling" = yes; then
18155 { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
18156 See \`config.log' for more details." >&5
18157 echo "$as_me: error: cannot run test program while cross compiling
18158 See \`config.log' for more details." >&2;}
18159 { (exit 1); exit 1; }; }
18161 cat >conftest.
$ac_ext <<_ACEOF
18164 cat confdefs.h
>>conftest.
$ac_ext
18165 cat >>conftest.
$ac_ext <<_ACEOF
18166 /* end confdefs.h. */
18167 $ac_includes_default
18168 long longval () { return (long) (sizeof (void*)); }
18169 unsigned long ulongval () { return (long) (sizeof (void*)); }
18171 #include <stdlib.h>
18176 FILE *f = fopen ("conftest.val", "w");
18179 if (((long) (sizeof (void*))) < 0)
18181 long i = longval ();
18182 if (i != ((long) (sizeof (void*))))
18184 fprintf (f, "%ld\n", i);
18188 unsigned long i = ulongval ();
18189 if (i != ((long) (sizeof (void*))))
18191 fprintf (f, "%lu\n", i);
18193 exit (ferror (f) || fclose (f) != 0);
18199 rm -f conftest
$ac_exeext
18200 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
18201 (eval $ac_link) 2>&5
18203 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18204 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
18205 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18206 (eval $ac_try) 2>&5
18208 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18209 (exit $ac_status); }; }; then
18210 ac_cv_sizeof_voidp
=`cat conftest.val`
18212 echo "$as_me: program exited with status $ac_status" >&5
18213 echo "$as_me: failed program was:" >&5
18214 sed 's/^/| /' conftest.
$ac_ext >&5
18216 ( exit $ac_status )
18217 { { echo "$as_me:$LINENO: error: cannot compute sizeof (void*), 77
18218 See \`config.log' for more details." >&5
18219 echo "$as_me: error: cannot compute sizeof (void*), 77
18220 See \`config.log' for more details." >&2;}
18221 { (exit 1); exit 1; }; }
18223 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
18228 ac_cv_sizeof_voidp
=0
18231 echo "$as_me:$LINENO: result: $ac_cv_sizeof_voidp" >&5
18232 echo "${ECHO_T}$ac_cv_sizeof_voidp" >&6
18233 cat >>confdefs.h
<<_ACEOF
18234 #define SIZEOF_VOIDP $ac_cv_sizeof_voidp
18238 ac_cv_char_data_model
=""
18239 ac_cv_char_data_model
="$ac_cv_char_data_model$ac_cv_sizeof_char"
18240 ac_cv_char_data_model
="$ac_cv_char_data_model$ac_cv_sizeof_short"
18241 ac_cv_char_data_model
="$ac_cv_char_data_model$ac_cv_sizeof_int"
18242 ac_cv_long_data_model
=""
18243 ac_cv_long_data_model
="$ac_cv_long_data_model$ac_cv_sizeof_int"
18244 ac_cv_long_data_model
="$ac_cv_long_data_model$ac_cv_sizeof_long"
18245 ac_cv_long_data_model
="$ac_cv_long_data_model$ac_cv_sizeof_voidp"
18246 echo "$as_me:$LINENO: checking data model" >&5
18247 echo $ECHO_N "checking data model... $ECHO_C" >&6
18248 case "$ac_cv_char_data_model/$ac_cv_long_data_model" in
18249 122/242) ac_cv_data_model
="IP16" ; n
="standard 16bit machine" ;;
18250 122/244) ac_cv_data_model
="LP32" ; n
="standard 32bit machine" ;;
18251 122/*) ac_cv_data_model
="i16" ; n
="unusual int16 model" ;;
18252 124/444) ac_cv_data_model
="ILP32" ; n
="standard 32bit unixish" ;;
18253 124/488) ac_cv_data_model
="LP64" ; n
="standard 64bit unixish" ;;
18254 124/448) ac_cv_data_model
="LLP64" ; n
="unusual 64bit unixish" ;;
18255 124/*) ac_cv_data_model
="i32" ; n
="unusual int32 model" ;;
18256 128/888) ac_cv_data_model
="ILP64" ; n
="unusual 64bit numeric" ;;
18257 128/*) ac_cv_data_model
="i64" ; n
="unusual int64 model" ;;
18258 222/*2) ac_cv_data_model
="DSP16" ; n
="strict 16bit dsptype" ;;
18259 333/*3) ac_cv_data_model
="DSP24" ; n
="strict 24bit dsptype" ;;
18260 444/*4) ac_cv_data_model
="DSP32" ; n
="strict 32bit dsptype" ;;
18261 666/*6) ac_cv_data_model
="DSP48" ; n
="strict 48bit dsptype" ;;
18262 888/*8) ac_cv_data_model
="DSP64" ; n
="strict 64bit dsptype" ;;
18263 222/*|
333/*|
444/*|
666/*|
888/*) :
18264 ac_cv_data_model
="iDSP" ; n
="unusual dsptype" ;;
18265 *) ac_cv_data_model
="none" ; n
="very unusual model" ;;
18267 echo "$as_me:$LINENO: result: $ac_cv_data_model ($ac_cv_long_data_model, $n)" >&5
18268 echo "${ECHO_T}$ac_cv_data_model ($ac_cv_long_data_model, $n)" >&6
18272 if test "_$ac_cv_header_stdint_x" != "_" ; then
18273 ac_cv_header_stdint
="$ac_cv_header_stdint_x"
18274 elif test "_$ac_cv_header_stdint_o" != "_" ; then
18275 ac_cv_header_stdint
="$ac_cv_header_stdint_o"
18276 elif test "_$ac_cv_header_stdint_u" != "_" ; then
18277 ac_cv_header_stdint
="$ac_cv_header_stdint_u"
18279 ac_cv_header_stdint
="stddef.h"
18282 echo "$as_me:$LINENO: checking for extra inttypes in chosen header" >&5
18283 echo $ECHO_N "checking for extra inttypes in chosen header... $ECHO_C" >&6
18284 echo "$as_me:$LINENO: result: ($ac_cv_header_stdint)" >&5
18285 echo "${ECHO_T}($ac_cv_header_stdint)" >&6
18286 unset ac_cv_type_int_least32_t
18287 unset ac_cv_type_int_fast32_t
18288 echo "$as_me:$LINENO: checking for int_least32_t" >&5
18289 echo $ECHO_N "checking for int_least32_t... $ECHO_C" >&6
18290 if test "${ac_cv_type_int_least32_t+set}" = set; then
18291 echo $ECHO_N "(cached) $ECHO_C" >&6
18293 cat >conftest.
$ac_ext <<_ACEOF
18296 cat confdefs.h
>>conftest.
$ac_ext
18297 cat >>conftest.
$ac_ext <<_ACEOF
18298 /* end confdefs.h. */
18299 #include <$ac_cv_header_stdint>
18304 if ((int_least32_t *) 0)
18306 if (sizeof (int_least32_t))
18312 rm -f conftest.
$ac_objext
18313 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18314 (eval $ac_compile) 2>conftest.er1
18316 grep -v '^ *+' conftest.er1
>conftest.err
18318 cat conftest.err
>&5
18319 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18320 (exit $ac_status); } &&
18321 { ac_try
='test -z "$ac_c_werror_flag"
18322 || test ! -s conftest.err'
18323 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18324 (eval $ac_try) 2>&5
18326 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18327 (exit $ac_status); }; } &&
18328 { ac_try
='test -s conftest.$ac_objext'
18329 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18330 (eval $ac_try) 2>&5
18332 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18333 (exit $ac_status); }; }; then
18334 ac_cv_type_int_least32_t
=yes
18336 echo "$as_me: failed program was:" >&5
18337 sed 's/^/| /' conftest.
$ac_ext >&5
18339 ac_cv_type_int_least32_t
=no
18341 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
18343 echo "$as_me:$LINENO: result: $ac_cv_type_int_least32_t" >&5
18344 echo "${ECHO_T}$ac_cv_type_int_least32_t" >&6
18346 echo "$as_me:$LINENO: checking for int_fast32_t" >&5
18347 echo $ECHO_N "checking for int_fast32_t... $ECHO_C" >&6
18348 if test "${ac_cv_type_int_fast32_t+set}" = set; then
18349 echo $ECHO_N "(cached) $ECHO_C" >&6
18351 cat >conftest.
$ac_ext <<_ACEOF
18354 cat confdefs.h
>>conftest.
$ac_ext
18355 cat >>conftest.
$ac_ext <<_ACEOF
18356 /* end confdefs.h. */
18357 #include<$ac_cv_header_stdint>
18362 if ((int_fast32_t *) 0)
18364 if (sizeof (int_fast32_t))
18370 rm -f conftest.
$ac_objext
18371 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18372 (eval $ac_compile) 2>conftest.er1
18374 grep -v '^ *+' conftest.er1
>conftest.err
18376 cat conftest.err
>&5
18377 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18378 (exit $ac_status); } &&
18379 { ac_try
='test -z "$ac_c_werror_flag"
18380 || test ! -s conftest.err'
18381 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18382 (eval $ac_try) 2>&5
18384 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18385 (exit $ac_status); }; } &&
18386 { ac_try
='test -s conftest.$ac_objext'
18387 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18388 (eval $ac_try) 2>&5
18390 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18391 (exit $ac_status); }; }; then
18392 ac_cv_type_int_fast32_t
=yes
18394 echo "$as_me: failed program was:" >&5
18395 sed 's/^/| /' conftest.
$ac_ext >&5
18397 ac_cv_type_int_fast32_t
=no
18399 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
18401 echo "$as_me:$LINENO: result: $ac_cv_type_int_fast32_t" >&5
18402 echo "${ECHO_T}$ac_cv_type_int_fast32_t" >&6
18404 echo "$as_me:$LINENO: checking for intmax_t" >&5
18405 echo $ECHO_N "checking for intmax_t... $ECHO_C" >&6
18406 if test "${ac_cv_type_intmax_t+set}" = set; then
18407 echo $ECHO_N "(cached) $ECHO_C" >&6
18409 cat >conftest.
$ac_ext <<_ACEOF
18412 cat confdefs.h
>>conftest.
$ac_ext
18413 cat >>conftest.
$ac_ext <<_ACEOF
18414 /* end confdefs.h. */
18415 #include <$ac_cv_header_stdint>
18420 if ((intmax_t *) 0)
18422 if (sizeof (intmax_t))
18428 rm -f conftest.
$ac_objext
18429 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18430 (eval $ac_compile) 2>conftest.er1
18432 grep -v '^ *+' conftest.er1
>conftest.err
18434 cat conftest.err
>&5
18435 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18436 (exit $ac_status); } &&
18437 { ac_try
='test -z "$ac_c_werror_flag"
18438 || test ! -s conftest.err'
18439 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18440 (eval $ac_try) 2>&5
18442 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18443 (exit $ac_status); }; } &&
18444 { ac_try
='test -s conftest.$ac_objext'
18445 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18446 (eval $ac_try) 2>&5
18448 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18449 (exit $ac_status); }; }; then
18450 ac_cv_type_intmax_t
=yes
18452 echo "$as_me: failed program was:" >&5
18453 sed 's/^/| /' conftest.
$ac_ext >&5
18455 ac_cv_type_intmax_t
=no
18457 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
18459 echo "$as_me:$LINENO: result: $ac_cv_type_intmax_t" >&5
18460 echo "${ECHO_T}$ac_cv_type_intmax_t" >&6
18463 fi # shortcircut to system "stdint.h"
18464 # ------------------ PREPARE VARIABLES ------------------------------
18465 if test "$GCC" = "yes" ; then
18466 ac_cv_stdint_message
="using gnu compiler "`$CC --version | head -1`
18468 ac_cv_stdint_message
="using $CC"
18471 echo "$as_me:$LINENO: result: make use of $ac_cv_header_stdint in $ac_stdint_h $ac_cv_stdint_result" >&5
18472 echo "${ECHO_T}make use of $ac_cv_header_stdint in $ac_stdint_h $ac_cv_stdint_result" >&6
18474 # ----------------- DONE inttypes.h checks START header -------------
18475 ac_config_commands
="$ac_config_commands $ac_stdint_h"
18480 # Check whether --with-glibj_zip or --without-glibj_zip was given.
18481 if test "${with_glibj_zip+set}" = set; then
18482 withval
="$with_glibj_zip"
18486 case "$with_glibj_zip" in
18488 use_glibj_zip
=false
18491 use_glibj_zip
=false
18494 { { echo "$as_me:$LINENO: error: Please suply an absolute path to a prebuilt glibj.zip" >&5
18495 echo "$as_me: error: Please suply an absolute path to a prebuilt glibj.zip" >&2;}
18496 { (exit 1); exit 1; }; }
18500 PATH_TO_GLIBJ_ZIP
=$with_glibj_zip
18506 if test x
$use_glibj_zip = xtrue
; then
18507 USE_PREBUILT_GLIBJ_ZIP_TRUE
=
18508 USE_PREBUILT_GLIBJ_ZIP_FALSE
='#'
18510 USE_PREBUILT_GLIBJ_ZIP_TRUE
='#'
18511 USE_PREBUILT_GLIBJ_ZIP_FALSE
=
18517 # Check whether --with-escher or --without-escher was given.
18518 if test "${with_escher+set}" = set; then
18519 withval
="$with_escher"
18522 case "$with_escher" in
18530 { { echo "$as_me:$LINENO: error: Please suply an absolute path to Escher library" >&5
18531 echo "$as_me: error: Please suply an absolute path to Escher library" >&2;}
18532 { (exit 1); exit 1; }; }
18536 PATH_TO_ESCHER
=$with_escher
18542 if test x
$use_escher = xtrue
; then
18544 USE_ESCHER_FALSE
='#'
18546 USE_ESCHER_TRUE
='#'
18552 # Check whether --enable-local-sockets or --disable-local-sockets was given.
18553 if test "${enable_local_sockets+set}" = set; then
18554 enableval
="$enable_local_sockets"
18555 case "${enableval}" in
18557 ENABLE_LOCAL_SOCKETS
=yes
18560 ENABLE_LOCAL_SOCKETS
=no
18564 if test "x$ENABLE_LOCAL_SOCKETS" = "xyes"
18566 if test "${ac_cv_header_sys_un_h+set}" = set; then
18567 echo "$as_me:$LINENO: checking for sys/un.h" >&5
18568 echo $ECHO_N "checking for sys/un.h... $ECHO_C" >&6
18569 if test "${ac_cv_header_sys_un_h+set}" = set; then
18570 echo $ECHO_N "(cached) $ECHO_C" >&6
18572 echo "$as_me:$LINENO: result: $ac_cv_header_sys_un_h" >&5
18573 echo "${ECHO_T}$ac_cv_header_sys_un_h" >&6
18575 # Is the header compilable?
18576 echo "$as_me:$LINENO: checking sys/un.h usability" >&5
18577 echo $ECHO_N "checking sys/un.h usability... $ECHO_C" >&6
18578 cat >conftest.
$ac_ext <<_ACEOF
18581 cat confdefs.h
>>conftest.
$ac_ext
18582 cat >>conftest.
$ac_ext <<_ACEOF
18583 /* end confdefs.h. */
18584 $ac_includes_default
18585 #include <sys/un.h>
18587 rm -f conftest.
$ac_objext
18588 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18589 (eval $ac_compile) 2>conftest.er1
18591 grep -v '^ *+' conftest.er1
>conftest.err
18593 cat conftest.err
>&5
18594 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18595 (exit $ac_status); } &&
18596 { ac_try
='test -z "$ac_c_werror_flag"
18597 || test ! -s conftest.err'
18598 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18599 (eval $ac_try) 2>&5
18601 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18602 (exit $ac_status); }; } &&
18603 { ac_try
='test -s conftest.$ac_objext'
18604 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18605 (eval $ac_try) 2>&5
18607 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18608 (exit $ac_status); }; }; then
18609 ac_header_compiler
=yes
18611 echo "$as_me: failed program was:" >&5
18612 sed 's/^/| /' conftest.
$ac_ext >&5
18614 ac_header_compiler
=no
18616 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
18617 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
18618 echo "${ECHO_T}$ac_header_compiler" >&6
18620 # Is the header present?
18621 echo "$as_me:$LINENO: checking sys/un.h presence" >&5
18622 echo $ECHO_N "checking sys/un.h presence... $ECHO_C" >&6
18623 cat >conftest.
$ac_ext <<_ACEOF
18626 cat confdefs.h
>>conftest.
$ac_ext
18627 cat >>conftest.
$ac_ext <<_ACEOF
18628 /* end confdefs.h. */
18629 #include <sys/un.h>
18631 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
18632 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
18634 grep -v '^ *+' conftest.er1
>conftest.err
18636 cat conftest.err
>&5
18637 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18638 (exit $ac_status); } >/dev
/null
; then
18639 if test -s conftest.err
; then
18640 ac_cpp_err
=$ac_c_preproc_warn_flag
18641 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
18648 if test -z "$ac_cpp_err"; then
18649 ac_header_preproc
=yes
18651 echo "$as_me: failed program was:" >&5
18652 sed 's/^/| /' conftest.
$ac_ext >&5
18654 ac_header_preproc
=no
18656 rm -f conftest.err conftest.
$ac_ext
18657 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
18658 echo "${ECHO_T}$ac_header_preproc" >&6
18660 # So? What about this header?
18661 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
18663 { echo "$as_me:$LINENO: WARNING: sys/un.h: accepted by the compiler, rejected by the preprocessor!" >&5
18664 echo "$as_me: WARNING: sys/un.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
18665 { echo "$as_me:$LINENO: WARNING: sys/un.h: proceeding with the compiler's result" >&5
18666 echo "$as_me: WARNING: sys/un.h: proceeding with the compiler's result" >&2;}
18667 ac_header_preproc
=yes
18670 { echo "$as_me:$LINENO: WARNING: sys/un.h: present but cannot be compiled" >&5
18671 echo "$as_me: WARNING: sys/un.h: present but cannot be compiled" >&2;}
18672 { echo "$as_me:$LINENO: WARNING: sys/un.h: check for missing prerequisite headers?" >&5
18673 echo "$as_me: WARNING: sys/un.h: check for missing prerequisite headers?" >&2;}
18674 { echo "$as_me:$LINENO: WARNING: sys/un.h: see the Autoconf documentation" >&5
18675 echo "$as_me: WARNING: sys/un.h: see the Autoconf documentation" >&2;}
18676 { echo "$as_me:$LINENO: WARNING: sys/un.h: section \"Present But Cannot Be Compiled\"" >&5
18677 echo "$as_me: WARNING: sys/un.h: section \"Present But Cannot Be Compiled\"" >&2;}
18678 { echo "$as_me:$LINENO: WARNING: sys/un.h: proceeding with the preprocessor's result" >&5
18679 echo "$as_me: WARNING: sys/un.h: proceeding with the preprocessor's result" >&2;}
18680 { echo "$as_me:$LINENO: WARNING: sys/un.h: in the future, the compiler will take precedence" >&5
18681 echo "$as_me: WARNING: sys/un.h: in the future, the compiler will take precedence" >&2;}
18684 ## -------------------------------- ##
18685 ## Report this to classpath@gnu.org ##
18686 ## -------------------------------- ##
18689 sed "s/^/$as_me: WARNING: /" >&2
18692 echo "$as_me:$LINENO: checking for sys/un.h" >&5
18693 echo $ECHO_N "checking for sys/un.h... $ECHO_C" >&6
18694 if test "${ac_cv_header_sys_un_h+set}" = set; then
18695 echo $ECHO_N "(cached) $ECHO_C" >&6
18697 ac_cv_header_sys_un_h
=$ac_header_preproc
18699 echo "$as_me:$LINENO: result: $ac_cv_header_sys_un_h" >&5
18700 echo "${ECHO_T}$ac_cv_header_sys_un_h" >&6
18711 for ac_func
in read write bind listen accept shutdown
18713 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
18714 echo "$as_me:$LINENO: checking for $ac_func" >&5
18715 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
18716 if eval "test \"\${$as_ac_var+set}\" = set"; then
18717 echo $ECHO_N "(cached) $ECHO_C" >&6
18719 cat >conftest.
$ac_ext <<_ACEOF
18722 cat confdefs.h
>>conftest.
$ac_ext
18723 cat >>conftest.
$ac_ext <<_ACEOF
18724 /* end confdefs.h. */
18725 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
18726 For example, HP-UX 11i <limits.h> declares gettimeofday. */
18727 #define $ac_func innocuous_$ac_func
18729 /* System header to define __stub macros and hopefully few prototypes,
18730 which can conflict with char $ac_func (); below.
18731 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
18732 <limits.h> exists even on freestanding compilers. */
18735 # include <limits.h>
18737 # include <assert.h>
18742 /* Override any gcc2 internal prototype to avoid an error. */
18747 /* We use char because int might match the return type of a gcc2
18748 builtin and then its argument prototype would still apply. */
18750 /* The GNU C library defines this for functions which it implements
18751 to always fail with ENOSYS. Some functions are actually named
18752 something starting with __ and the normal name is an alias. */
18753 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
18756 char (*f) () = $ac_func;
18765 return f != $ac_func;
18770 rm -f conftest.
$ac_objext conftest
$ac_exeext
18771 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
18772 (eval $ac_link) 2>conftest.er1
18774 grep -v '^ *+' conftest.er1
>conftest.err
18776 cat conftest.err
>&5
18777 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18778 (exit $ac_status); } &&
18779 { ac_try
='test -z "$ac_c_werror_flag"
18780 || test ! -s conftest.err'
18781 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18782 (eval $ac_try) 2>&5
18784 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18785 (exit $ac_status); }; } &&
18786 { ac_try
='test -s conftest$ac_exeext'
18787 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18788 (eval $ac_try) 2>&5
18790 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18791 (exit $ac_status); }; }; then
18792 eval "$as_ac_var=yes"
18794 echo "$as_me: failed program was:" >&5
18795 sed 's/^/| /' conftest.
$ac_ext >&5
18797 eval "$as_ac_var=no"
18799 rm -f conftest.err conftest.
$ac_objext \
18800 conftest
$ac_exeext conftest.
$ac_ext
18802 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
18803 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
18804 if test `eval echo '${'$as_ac_var'}'` = yes; then
18805 cat >>confdefs.h
<<_ACEOF
18806 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
18810 { { echo "$as_me:$LINENO: error: networking support not available" >&5
18811 echo "$as_me: error: networking support not available" >&2;}
18812 { (exit 1); exit 1; }; }
18817 cat >>confdefs.h
<<\_ACEOF
18818 #define ENABLE_LOCAL_SOCKETS 1
18824 if test "x$ENABLE_LOCAL_SOCKETS" = "xyes"; then
18825 ENABLE_LOCAL_SOCKETS_TRUE
=
18826 ENABLE_LOCAL_SOCKETS_FALSE
='#'
18828 ENABLE_LOCAL_SOCKETS_TRUE
='#'
18829 ENABLE_LOCAL_SOCKETS_FALSE
=
18835 ac_config_files
="$ac_config_files Makefile doc/Makefile doc/api/Makefile external/Makefile external/sax/Makefile external/w3c_dom/Makefile external/relaxngDatatype/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/plugin/Makefile native/target/Makefile native/target/Linux/Makefile native/target/generic/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"
18838 if test "x${COMPILE_WRAPPERS}" = xno
18840 ac_config_files
="$ac_config_files tools/gappletviewer tools/gjarsigner tools/gkeytool tools/gjar tools/gnative2ascii tools/gserialver"
18842 ac_config_commands
="$ac_config_commands gappletviewer"
18844 ac_config_commands
="$ac_config_commands gjarsigner"
18846 ac_config_commands
="$ac_config_commands gkeytool"
18848 ac_config_commands
="$ac_config_commands gjar"
18850 ac_config_commands
="$ac_config_commands gnative2ascii"
18852 ac_config_commands
="$ac_config_commands gserialver"
18857 if test "x${COMPILE_WRAPPERS}" = xno
18859 ac_config_files
="$ac_config_files tools/appletviewer tools/jarsigner tools/keytool"
18861 ac_config_commands
="$ac_config_commands appletviewer"
18863 ac_config_commands
="$ac_config_commands jarsigner"
18865 ac_config_commands
="$ac_config_commands keytool"
18869 ac_config_commands
="$ac_config_commands gen-classlist"
18871 ac_config_commands
="$ac_config_commands copy-vmresources"
18873 cat >confcache
<<\_ACEOF
18874 # This file is a shell script that caches the results of configure
18875 # tests run on this system so they can be shared between configure
18876 # scripts and configure runs, see configure's option --config-cache.
18877 # It is not useful on other systems. If it contains results you don't
18878 # want to keep, you may remove or edit it.
18880 # config.status only pays attention to the cache file if you give it
18881 # the --recheck option to rerun configure.
18883 # `ac_cv_env_foo' variables (set or unset) will be overridden when
18884 # loading this file, other *unset* `ac_cv_foo' will be assigned the
18885 # following values.
18889 # The following way of writing the cache mishandles newlines in values,
18890 # but we know of no workaround that is simple, portable, and efficient.
18891 # So, don't put newlines in cache variables' values.
18892 # Ultrix sh set writes to stderr and can't be redirected directly,
18893 # and sets the high bit in the cache file unless we assign to the vars.
18896 case `(ac_space=' '; set | grep ac_space) 2>&1` in
18898 # `set' does not quote correctly, so add quotes (double-quote
18899 # substitution turns \\\\ into \\, and sed turns \\ into \).
18902 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
18905 # `set' quotes correctly as required by POSIX, so do not add quotes.
18907 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
18914 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
18916 /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
18918 if diff $cache_file confcache
>/dev
/null
2>&1; then :; else
18919 if test -w $cache_file; then
18920 test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
18921 cat confcache
>$cache_file
18923 echo "not updating unwritable cache $cache_file"
18928 test "x$prefix" = xNONE
&& prefix
=$ac_default_prefix
18929 # Let make expand exec_prefix.
18930 test "x$exec_prefix" = xNONE
&& exec_prefix
='${prefix}'
18932 # VPATH may cause trouble with some makes, so we remove $(srcdir),
18933 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
18934 # trailing colons and then remove the whole line if VPATH becomes empty
18935 # (actually we leave an empty line to preserve line numbers).
18936 if test "x$srcdir" = x.
; then
18937 ac_vpsub
='/^[ ]*VPATH[ ]*=/{
18938 s/:*\$(srcdir):*/:/;
18939 s/:*\${srcdir}:*/:/;
18941 s/^\([^=]*=[ ]*\):*/\1/;
18947 DEFS
=-DHAVE_CONFIG_H
18951 for ac_i
in : $LIBOBJS; do test "x$ac_i" = x
: && continue
18952 # 1. Remove the extension, and $U if already installed.
18953 ac_i
=`echo "$ac_i" |
18954 sed 's/\$U\././;s/\.o$//;s/\.obj$//'`
18956 ac_libobjs
="$ac_libobjs $ac_i\$U.$ac_objext"
18957 ac_ltlibobjs
="$ac_ltlibobjs $ac_i"'$U.lo'
18959 LIBOBJS
=$ac_libobjs
18961 LTLIBOBJS
=$ac_ltlibobjs
18964 if test -z "${CREATE_COLLECTIONS_TRUE}" && test -z "${CREATE_COLLECTIONS_FALSE}"; then
18965 { { echo "$as_me:$LINENO: error: conditional \"CREATE_COLLECTIONS\" was never defined.
18966 Usually this means the macro was only invoked conditionally." >&5
18967 echo "$as_me: error: conditional \"CREATE_COLLECTIONS\" was never defined.
18968 Usually this means the macro was only invoked conditionally." >&2;}
18969 { (exit 1); exit 1; }; }
18971 if test -z "${CREATE_JNI_LIBRARIES_TRUE}" && test -z "${CREATE_JNI_LIBRARIES_FALSE}"; then
18972 { { echo "$as_me:$LINENO: error: conditional \"CREATE_JNI_LIBRARIES\" was never defined.
18973 Usually this means the macro was only invoked conditionally." >&5
18974 echo "$as_me: error: conditional \"CREATE_JNI_LIBRARIES\" was never defined.
18975 Usually this means the macro was only invoked conditionally." >&2;}
18976 { (exit 1); exit 1; }; }
18978 if test -z "${CREATE_CORE_JNI_LIBRARIES_TRUE}" && test -z "${CREATE_CORE_JNI_LIBRARIES_FALSE}"; then
18979 { { echo "$as_me:$LINENO: error: conditional \"CREATE_CORE_JNI_LIBRARIES\" was never defined.
18980 Usually this means the macro was only invoked conditionally." >&5
18981 echo "$as_me: error: conditional \"CREATE_CORE_JNI_LIBRARIES\" was never defined.
18982 Usually this means the macro was only invoked conditionally." >&2;}
18983 { (exit 1); exit 1; }; }
18985 if test -z "${CREATE_GCONF_PEER_LIBRARIES_TRUE}" && test -z "${CREATE_GCONF_PEER_LIBRARIES_FALSE}"; then
18986 { { echo "$as_me:$LINENO: error: conditional \"CREATE_GCONF_PEER_LIBRARIES\" was never defined.
18987 Usually this means the macro was only invoked conditionally." >&5
18988 echo "$as_me: error: conditional \"CREATE_GCONF_PEER_LIBRARIES\" was never defined.
18989 Usually this means the macro was only invoked conditionally." >&2;}
18990 { (exit 1); exit 1; }; }
18992 if test -z "${CREATE_XMLJ_LIBRARY_TRUE}" && test -z "${CREATE_XMLJ_LIBRARY_FALSE}"; then
18993 { { echo "$as_me:$LINENO: error: conditional \"CREATE_XMLJ_LIBRARY\" was never defined.
18994 Usually this means the macro was only invoked conditionally." >&5
18995 echo "$as_me: error: conditional \"CREATE_XMLJ_LIBRARY\" was never defined.
18996 Usually this means the macro was only invoked conditionally." >&2;}
18997 { (exit 1); exit 1; }; }
18999 if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
19000 { { echo "$as_me:$LINENO: error: conditional \"AMDEP\" was never defined.
19001 Usually this means the macro was only invoked conditionally." >&5
19002 echo "$as_me: error: conditional \"AMDEP\" was never defined.
19003 Usually this means the macro was only invoked conditionally." >&2;}
19004 { (exit 1); exit 1; }; }
19006 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
19007 { { echo "$as_me:$LINENO: error: conditional \"am__fastdepCC\" was never defined.
19008 Usually this means the macro was only invoked conditionally." >&5
19009 echo "$as_me: error: conditional \"am__fastdepCC\" was never defined.
19010 Usually this means the macro was only invoked conditionally." >&2;}
19011 { (exit 1); exit 1; }; }
19013 if test -z "${CREATE_ALSA_LIBRARIES_TRUE}" && test -z "${CREATE_ALSA_LIBRARIES_FALSE}"; then
19014 { { echo "$as_me:$LINENO: error: conditional \"CREATE_ALSA_LIBRARIES\" was never defined.
19015 Usually this means the macro was only invoked conditionally." >&5
19016 echo "$as_me: error: conditional \"CREATE_ALSA_LIBRARIES\" was never defined.
19017 Usually this means the macro was only invoked conditionally." >&2;}
19018 { (exit 1); exit 1; }; }
19020 if test -z "${CREATE_DSSI_LIBRARIES_TRUE}" && test -z "${CREATE_DSSI_LIBRARIES_FALSE}"; then
19021 { { echo "$as_me:$LINENO: error: conditional \"CREATE_DSSI_LIBRARIES\" was never defined.
19022 Usually this means the macro was only invoked conditionally." >&5
19023 echo "$as_me: error: conditional \"CREATE_DSSI_LIBRARIES\" was never defined.
19024 Usually this means the macro was only invoked conditionally." >&2;}
19025 { (exit 1); exit 1; }; }
19027 if test -z "${CREATE_GTK_PEER_LIBRARIES_TRUE}" && test -z "${CREATE_GTK_PEER_LIBRARIES_FALSE}"; then
19028 { { echo "$as_me:$LINENO: error: conditional \"CREATE_GTK_PEER_LIBRARIES\" was never defined.
19029 Usually this means the macro was only invoked conditionally." >&5
19030 echo "$as_me: error: conditional \"CREATE_GTK_PEER_LIBRARIES\" was never defined.
19031 Usually this means the macro was only invoked conditionally." >&2;}
19032 { (exit 1); exit 1; }; }
19034 if test -z "${CREATE_QT_PEER_LIBRARIES_TRUE}" && test -z "${CREATE_QT_PEER_LIBRARIES_FALSE}"; then
19035 { { echo "$as_me:$LINENO: error: conditional \"CREATE_QT_PEER_LIBRARIES\" was never defined.
19036 Usually this means the macro was only invoked conditionally." >&5
19037 echo "$as_me: error: conditional \"CREATE_QT_PEER_LIBRARIES\" was never defined.
19038 Usually this means the macro was only invoked conditionally." >&2;}
19039 { (exit 1); exit 1; }; }
19041 if test -z "${CREATE_PLUGIN_TRUE}" && test -z "${CREATE_PLUGIN_FALSE}"; then
19042 { { echo "$as_me:$LINENO: error: conditional \"CREATE_PLUGIN\" was never defined.
19043 Usually this means the macro was only invoked conditionally." >&5
19044 echo "$as_me: error: conditional \"CREATE_PLUGIN\" was never defined.
19045 Usually this means the macro was only invoked conditionally." >&2;}
19046 { (exit 1); exit 1; }; }
19048 if test -z "${FOUND_CACAO_TRUE}" && test -z "${FOUND_CACAO_FALSE}"; then
19049 { { echo "$as_me:$LINENO: error: conditional \"FOUND_CACAO\" was never defined.
19050 Usually this means the macro was only invoked conditionally." >&5
19051 echo "$as_me: error: conditional \"FOUND_CACAO\" was never defined.
19052 Usually this means the macro was only invoked conditionally." >&2;}
19053 { (exit 1); exit 1; }; }
19055 if test -z "${CREATE_JNI_HEADERS_TRUE}" && test -z "${CREATE_JNI_HEADERS_FALSE}"; then
19056 { { echo "$as_me:$LINENO: error: conditional \"CREATE_JNI_HEADERS\" was never defined.
19057 Usually this means the macro was only invoked conditionally." >&5
19058 echo "$as_me: error: conditional \"CREATE_JNI_HEADERS\" was never defined.
19059 Usually this means the macro was only invoked conditionally." >&2;}
19060 { (exit 1); exit 1; }; }
19062 if test -z "${CREATE_WRAPPERS_TRUE}" && test -z "${CREATE_WRAPPERS_FALSE}"; then
19063 { { echo "$as_me:$LINENO: error: conditional \"CREATE_WRAPPERS\" was never defined.
19064 Usually this means the macro was only invoked conditionally." >&5
19065 echo "$as_me: error: conditional \"CREATE_WRAPPERS\" was never defined.
19066 Usually this means the macro was only invoked conditionally." >&2;}
19067 { (exit 1); exit 1; }; }
19069 if test -z "${am__fastdepCXX_TRUE}" && test -z "${am__fastdepCXX_FALSE}"; then
19070 { { echo "$as_me:$LINENO: error: conditional \"am__fastdepCXX\" was never defined.
19071 Usually this means the macro was only invoked conditionally." >&5
19072 echo "$as_me: error: conditional \"am__fastdepCXX\" was never defined.
19073 Usually this means the macro was only invoked conditionally." >&2;}
19074 { (exit 1); exit 1; }; }
19076 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
19077 { { echo "$as_me:$LINENO: error: conditional \"am__fastdepCC\" was never defined.
19078 Usually this means the macro was only invoked conditionally." >&5
19079 echo "$as_me: error: conditional \"am__fastdepCC\" was never defined.
19080 Usually this means the macro was only invoked conditionally." >&2;}
19081 { (exit 1); exit 1; }; }
19083 if test -z "${USER_SPECIFIED_JAVAH_TRUE}" && test -z "${USER_SPECIFIED_JAVAH_FALSE}"; then
19084 { { echo "$as_me:$LINENO: error: conditional \"USER_SPECIFIED_JAVAH\" was never defined.
19085 Usually this means the macro was only invoked conditionally." >&5
19086 echo "$as_me: error: conditional \"USER_SPECIFIED_JAVAH\" was never defined.
19087 Usually this means the macro was only invoked conditionally." >&2;}
19088 { (exit 1); exit 1; }; }
19090 if test -z "${FOUND_GCJ_TRUE}" && test -z "${FOUND_GCJ_FALSE}"; then
19091 { { echo "$as_me:$LINENO: error: conditional \"FOUND_GCJ\" was never defined.
19092 Usually this means the macro was only invoked conditionally." >&5
19093 echo "$as_me: error: conditional \"FOUND_GCJ\" was never defined.
19094 Usually this means the macro was only invoked conditionally." >&2;}
19095 { (exit 1); exit 1; }; }
19097 if test -z "${FOUND_JIKES_TRUE}" && test -z "${FOUND_JIKES_FALSE}"; then
19098 { { echo "$as_me:$LINENO: error: conditional \"FOUND_JIKES\" was never defined.
19099 Usually this means the macro was only invoked conditionally." >&5
19100 echo "$as_me: error: conditional \"FOUND_JIKES\" was never defined.
19101 Usually this means the macro was only invoked conditionally." >&2;}
19102 { (exit 1); exit 1; }; }
19104 if test -z "${FOUND_ECJ_TRUE}" && test -z "${FOUND_ECJ_FALSE}"; then
19105 { { echo "$as_me:$LINENO: error: conditional \"FOUND_ECJ\" was never defined.
19106 Usually this means the macro was only invoked conditionally." >&5
19107 echo "$as_me: error: conditional \"FOUND_ECJ\" was never defined.
19108 Usually this means the macro was only invoked conditionally." >&2;}
19109 { (exit 1); exit 1; }; }
19111 if test -z "${FOUND_GCJ_TRUE}" && test -z "${FOUND_GCJ_FALSE}"; then
19112 { { echo "$as_me:$LINENO: error: conditional \"FOUND_GCJ\" was never defined.
19113 Usually this means the macro was only invoked conditionally." >&5
19114 echo "$as_me: error: conditional \"FOUND_GCJ\" was never defined.
19115 Usually this means the macro was only invoked conditionally." >&2;}
19116 { (exit 1); exit 1; }; }
19118 if test -z "${FOUND_JIKES_TRUE}" && test -z "${FOUND_JIKES_FALSE}"; then
19119 { { echo "$as_me:$LINENO: error: conditional \"FOUND_JIKES\" was never defined.
19120 Usually this means the macro was only invoked conditionally." >&5
19121 echo "$as_me: error: conditional \"FOUND_JIKES\" was never defined.
19122 Usually this means the macro was only invoked conditionally." >&2;}
19123 { (exit 1); exit 1; }; }
19125 if test -z "${FOUND_ECJ_TRUE}" && test -z "${FOUND_ECJ_FALSE}"; then
19126 { { echo "$as_me:$LINENO: error: conditional \"FOUND_ECJ\" was never defined.
19127 Usually this means the macro was only invoked conditionally." >&5
19128 echo "$as_me: error: conditional \"FOUND_ECJ\" was never defined.
19129 Usually this means the macro was only invoked conditionally." >&2;}
19130 { (exit 1); exit 1; }; }
19132 if test -z "${FOUND_KJC_TRUE}" && test -z "${FOUND_KJC_FALSE}"; then
19133 { { echo "$as_me:$LINENO: error: conditional \"FOUND_KJC\" was never defined.
19134 Usually this means the macro was only invoked conditionally." >&5
19135 echo "$as_me: error: conditional \"FOUND_KJC\" was never defined.
19136 Usually this means the macro was only invoked conditionally." >&2;}
19137 { (exit 1); exit 1; }; }
19139 if test -z "${FOUND_GCJX_TRUE}" && test -z "${FOUND_GCJX_FALSE}"; then
19140 { { echo "$as_me:$LINENO: error: conditional \"FOUND_GCJX\" was never defined.
19141 Usually this means the macro was only invoked conditionally." >&5
19142 echo "$as_me: error: conditional \"FOUND_GCJX\" was never defined.
19143 Usually this means the macro was only invoked conditionally." >&2;}
19144 { (exit 1); exit 1; }; }
19146 if test -z "${USER_SPECIFIED_CLASSLIB_TRUE}" && test -z "${USER_SPECIFIED_CLASSLIB_FALSE}"; then
19147 { { echo "$as_me:$LINENO: error: conditional \"USER_SPECIFIED_CLASSLIB\" was never defined.
19148 Usually this means the macro was only invoked conditionally." >&5
19149 echo "$as_me: error: conditional \"USER_SPECIFIED_CLASSLIB\" was never defined.
19150 Usually this means the macro was only invoked conditionally." >&2;}
19151 { (exit 1); exit 1; }; }
19153 if test -z "${MAINTAINER_MODE_TRUE}" && test -z "${MAINTAINER_MODE_FALSE}"; then
19154 { { echo "$as_me:$LINENO: error: conditional \"MAINTAINER_MODE\" was never defined.
19155 Usually this means the macro was only invoked conditionally." >&5
19156 echo "$as_me: error: conditional \"MAINTAINER_MODE\" was never defined.
19157 Usually this means the macro was only invoked conditionally." >&2;}
19158 { (exit 1); exit 1; }; }
19160 if test -z "${INSTALL_GLIBJ_ZIP_TRUE}" && test -z "${INSTALL_GLIBJ_ZIP_FALSE}"; then
19161 { { echo "$as_me:$LINENO: error: conditional \"INSTALL_GLIBJ_ZIP\" was never defined.
19162 Usually this means the macro was only invoked conditionally." >&5
19163 echo "$as_me: error: conditional \"INSTALL_GLIBJ_ZIP\" was never defined.
19164 Usually this means the macro was only invoked conditionally." >&2;}
19165 { (exit 1); exit 1; }; }
19167 if test -z "${INSTALL_CLASS_FILES_TRUE}" && test -z "${INSTALL_CLASS_FILES_FALSE}"; then
19168 { { echo "$as_me:$LINENO: error: conditional \"INSTALL_CLASS_FILES\" was never defined.
19169 Usually this means the macro was only invoked conditionally." >&5
19170 echo "$as_me: error: conditional \"INSTALL_CLASS_FILES\" was never defined.
19171 Usually this means the macro was only invoked conditionally." >&2;}
19172 { (exit 1); exit 1; }; }
19174 if test -z "${BUILD_CLASS_FILES_TRUE}" && test -z "${BUILD_CLASS_FILES_FALSE}"; then
19175 { { echo "$as_me:$LINENO: error: conditional \"BUILD_CLASS_FILES\" was never defined.
19176 Usually this means the macro was only invoked conditionally." >&5
19177 echo "$as_me: error: conditional \"BUILD_CLASS_FILES\" was never defined.
19178 Usually this means the macro was only invoked conditionally." >&2;}
19179 { (exit 1); exit 1; }; }
19181 if test -z "${CREATE_API_DOCS_TRUE}" && test -z "${CREATE_API_DOCS_FALSE}"; then
19182 { { echo "$as_me:$LINENO: error: conditional \"CREATE_API_DOCS\" was never defined.
19183 Usually this means the macro was only invoked conditionally." >&5
19184 echo "$as_me: error: conditional \"CREATE_API_DOCS\" was never defined.
19185 Usually this means the macro was only invoked conditionally." >&2;}
19186 { (exit 1); exit 1; }; }
19188 if test -z "${REGEN_PARSERS_TRUE}" && test -z "${REGEN_PARSERS_FALSE}"; then
19189 { { echo "$as_me:$LINENO: error: conditional \"REGEN_PARSERS\" was never defined.
19190 Usually this means the macro was only invoked conditionally." >&5
19191 echo "$as_me: error: conditional \"REGEN_PARSERS\" was never defined.
19192 Usually this means the macro was only invoked conditionally." >&2;}
19193 { (exit 1); exit 1; }; }
19195 if test -z "${USE_PREBUILT_GLIBJ_ZIP_TRUE}" && test -z "${USE_PREBUILT_GLIBJ_ZIP_FALSE}"; then
19196 { { echo "$as_me:$LINENO: error: conditional \"USE_PREBUILT_GLIBJ_ZIP\" was never defined.
19197 Usually this means the macro was only invoked conditionally." >&5
19198 echo "$as_me: error: conditional \"USE_PREBUILT_GLIBJ_ZIP\" was never defined.
19199 Usually this means the macro was only invoked conditionally." >&2;}
19200 { (exit 1); exit 1; }; }
19202 if test -z "${USE_ESCHER_TRUE}" && test -z "${USE_ESCHER_FALSE}"; then
19203 { { echo "$as_me:$LINENO: error: conditional \"USE_ESCHER\" was never defined.
19204 Usually this means the macro was only invoked conditionally." >&5
19205 echo "$as_me: error: conditional \"USE_ESCHER\" was never defined.
19206 Usually this means the macro was only invoked conditionally." >&2;}
19207 { (exit 1); exit 1; }; }
19209 if test -z "${ENABLE_LOCAL_SOCKETS_TRUE}" && test -z "${ENABLE_LOCAL_SOCKETS_FALSE}"; then
19210 { { echo "$as_me:$LINENO: error: conditional \"ENABLE_LOCAL_SOCKETS\" was never defined.
19211 Usually this means the macro was only invoked conditionally." >&5
19212 echo "$as_me: error: conditional \"ENABLE_LOCAL_SOCKETS\" was never defined.
19213 Usually this means the macro was only invoked conditionally." >&2;}
19214 { (exit 1); exit 1; }; }
19217 : ${CONFIG_STATUS=./config.status}
19218 ac_clean_files_save
=$ac_clean_files
19219 ac_clean_files
="$ac_clean_files $CONFIG_STATUS"
19220 { echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
19221 echo "$as_me: creating $CONFIG_STATUS" >&6;}
19222 cat >$CONFIG_STATUS <<_ACEOF
19224 # Generated by $as_me.
19225 # Run this file to recreate the current configuration.
19226 # Compiler output produced by configure, useful for debugging
19227 # configure, is in config.log if it exists.
19230 ac_cs_recheck=false
19232 SHELL=\${CONFIG_SHELL-$SHELL}
19235 cat >>$CONFIG_STATUS <<\_ACEOF
19236 ## --------------------- ##
19237 ## M4sh Initialization. ##
19238 ## --------------------- ##
19240 # Be Bourne compatible
19241 if test -n "${ZSH_VERSION+set}" && (emulate sh
) >/dev
/null
2>&1; then
19244 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
19245 # is contrary to our usage. Disable this feature.
19246 alias -g '${1+"$@"}'='"$@"'
19247 elif test -n "${BASH_VERSION+set}" && (set -o posix
) >/dev
/null
2>&1; then
19250 DUALCASE
=1; export DUALCASE
# for MKS sh
19252 # Support unset when possible.
19253 if ( (MAIL
=60; unset MAIL
) ||
exit) >/dev
/null
2>&1; then
19260 # Work around bugs in pre-3.0 UWIN ksh.
19261 $as_unset ENV MAIL MAILPATH
19268 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
19269 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
19270 LC_TELEPHONE LC_TIME
19272 if (set +x
; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
19273 eval $as_var=C
; export $as_var
19279 # Required to use basename.
19280 if expr a
: '\(a\)' >/dev
/null
2>&1; then
19286 if (basename /) >/dev
/null
2>&1 && test "X`basename / 2>&1`" = "X/"; then
19287 as_basename
=basename
19293 # Name of the executable.
19294 as_me
=`$as_basename "$0" ||
19295 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
19296 X"$0" : 'X\(//\)$' \| \
19297 X"$0" : 'X\(/\)$' \| \
19298 . : '\(.\)' 2>/dev/null ||
19300 sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; }
19301 /^X\/\(\/\/\)$/{ s//\1/; q; }
19302 /^X\/\(\/\).*/{ s//\1/; q; }
19306 # PATH needs CR, and LINENO needs CR and PATH.
19307 # Avoid depending upon Character Ranges.
19308 as_cr_letters
='abcdefghijklmnopqrstuvwxyz'
19309 as_cr_LETTERS
='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
19310 as_cr_Letters
=$as_cr_letters$as_cr_LETTERS
19311 as_cr_digits
='0123456789'
19312 as_cr_alnum
=$as_cr_Letters$as_cr_digits
19314 # The user is always right.
19315 if test "${PATH_SEPARATOR+set}" != set; then
19316 echo "#! /bin/sh" >conf$$.sh
19317 echo "exit 0" >>conf$$.sh
19319 if (PATH
="/nonexistent;."; conf$$.sh
) >/dev
/null
2>&1; then
19328 as_lineno_1
=$LINENO
19329 as_lineno_2
=$LINENO
19330 as_lineno_3
=`(expr $as_lineno_1 + 1) 2>/dev/null`
19331 test "x$as_lineno_1" != "x$as_lineno_2" &&
19332 test "x$as_lineno_3" = "x$as_lineno_2" ||
{
19333 # Find who we are. Look in the path if we contain no path at all
19336 *[\\/]* ) as_myself
=$0 ;;
19337 *) as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
19338 for as_dir
in $PATH
19341 test -z "$as_dir" && as_dir
=.
19342 test -r "$as_dir/$0" && as_myself
=$as_dir/$0 && break
19347 # We did not find ourselves, most probably we were run as `sh COMMAND'
19348 # in which case we are not to be found in the path.
19349 if test "x$as_myself" = x
; then
19352 if test ! -f "$as_myself"; then
19353 { { echo "$as_me:$LINENO: error: cannot find myself; rerun with an absolute path" >&5
19354 echo "$as_me: error: cannot find myself; rerun with an absolute path" >&2;}
19355 { (exit 1); exit 1; }; }
19357 case $CONFIG_SHELL in
19359 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
19360 for as_dir
in /bin
$PATH_SEPARATOR/usr
/bin
$PATH_SEPARATOR$PATH
19363 test -z "$as_dir" && as_dir
=.
19364 for as_base
in sh bash ksh sh5
; do
19367 if ("$as_dir/$as_base" -c '
19368 as_lineno_1=$LINENO
19369 as_lineno_2=$LINENO
19370 as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
19371 test "x$as_lineno_1" != "x$as_lineno_2" &&
19372 test "x$as_lineno_3" = "x$as_lineno_2" ') 2>/dev
/null
; then
19373 $as_unset BASH_ENV ||
test "${BASH_ENV+set}" != set ||
{ BASH_ENV
=; export BASH_ENV
; }
19374 $as_unset ENV ||
test "${ENV+set}" != set ||
{ ENV
=; export ENV
; }
19375 CONFIG_SHELL
=$as_dir/$as_base
19376 export CONFIG_SHELL
19377 exec "$CONFIG_SHELL" "$0" ${1+"$@"}
19385 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
19386 # uniformly replaced by the line number. The first 'sed' inserts a
19387 # line-number line before each line; the second 'sed' does the real
19388 # work. The second script uses 'N' to pair each line-number line
19389 # with the numbered line, and appends trailing '-' during
19390 # substitution so that $LINENO is not a special case at line end.
19391 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
19392 # second 'sed' script. Blame Lee E. McMahon for sed's syntax. :-)
19393 sed '=' <$as_myself |
19398 s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3,
19401 s,^['$as_cr_digits']*\n,,
19402 ' >$as_me.lineno
&&
19403 chmod +x
$as_me.lineno ||
19404 { { echo "$as_me:$LINENO: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&5
19405 echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2;}
19406 { (exit 1); exit 1; }; }
19408 # Don't try to exec as it changes $[0], causing all sort of problems
19409 # (the dirname of $[0] is not the place where we might find the
19410 # original and so on. Autoconf is especially sensible to this).
19412 # Exit status is that of the last command.
19417 case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in
19418 *c
*,-n*) ECHO_N
= ECHO_C
='
19420 *c
*,* ) ECHO_N
=-n ECHO_C
= ECHO_T
= ;;
19421 *) ECHO_N
= ECHO_C
='\c' ECHO_T
= ;;
19424 if expr a
: '\(a\)' >/dev
/null
2>&1; then
19430 rm -f conf$$ conf$$.exe conf$$.
file
19432 if ln -s conf$$.
file conf$$
2>/dev
/null
; then
19433 # We could just check for DJGPP; but this test a) works b) is more generic
19434 # and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04).
19435 if test -f conf$$.exe
; then
19436 # Don't use ln at all; we don't have any links
19441 elif ln conf$$.
file conf$$
2>/dev
/null
; then
19446 rm -f conf$$ conf$$.exe conf$$.
file
19448 if mkdir
-p .
2>/dev
/null
; then
19451 test -d .
/-p && rmdir .
/-p
19455 as_executable_p
="test -f"
19457 # Sed expression to map a string onto a valid CPP name.
19458 as_tr_cpp
="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
19460 # Sed expression to map a string onto a valid variable name.
19461 as_tr_sh
="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
19465 # We need space, tab and new line, in precisely that order.
19475 # Open the log real soon, to keep \$[0] and so on meaningful, and to
19476 # report actual input values of CONFIG_FILES etc. instead of their
19477 # values after options handling. Logging --version etc. is OK.
19481 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
19482 ## Running $as_me. ##
19487 This file was extended by GNU Classpath $as_me 0.92, which was
19488 generated by GNU Autoconf 2.59. Invocation command line was
19490 CONFIG_FILES = $CONFIG_FILES
19491 CONFIG_HEADERS = $CONFIG_HEADERS
19492 CONFIG_LINKS = $CONFIG_LINKS
19493 CONFIG_COMMANDS = $CONFIG_COMMANDS
19497 echo "on `(hostname || uname -n) 2>/dev/null | sed 1q`" >&5
19501 # Files that config.status was made for.
19502 if test -n "$ac_config_files"; then
19503 echo "config_files=\"$ac_config_files\"" >>$CONFIG_STATUS
19506 if test -n "$ac_config_headers"; then
19507 echo "config_headers=\"$ac_config_headers\"" >>$CONFIG_STATUS
19510 if test -n "$ac_config_links"; then
19511 echo "config_links=\"$ac_config_links\"" >>$CONFIG_STATUS
19514 if test -n "$ac_config_commands"; then
19515 echo "config_commands=\"$ac_config_commands\"" >>$CONFIG_STATUS
19518 cat >>$CONFIG_STATUS <<\_ACEOF
19521 \`$as_me' instantiates files from templates according to the
19522 current configuration.
19524 Usage: $0 [OPTIONS] [FILE]...
19526 -h, --help print this help, then exit
19527 -V, --version print version number, then exit
19528 -q, --quiet do not print progress messages
19529 -d, --debug don't remove temporary files
19530 --recheck update $as_me by reconfiguring in the same conditions
19531 --file=FILE[:TEMPLATE]
19532 instantiate the configuration file FILE
19533 --header=FILE[:TEMPLATE]
19534 instantiate the configuration header FILE
19536 Configuration files:
19539 Configuration headers:
19542 Configuration links:
19545 Configuration commands:
19548 Report bugs to <bug-autoconf@gnu.org>."
19551 cat >>$CONFIG_STATUS <<_ACEOF
19553 GNU Classpath config.status 0.92
19554 configured by $0, generated by GNU Autoconf 2.59,
19555 with options \\"`echo "$ac_configure_args" | sed 's/[\\""\`\$]/\\\\&/g'`\\"
19557 Copyright (C) 2003 Free Software Foundation, Inc.
19558 This config.status script is free software; the Free Software Foundation
19559 gives unlimited permission to copy, distribute and modify it."
19564 cat >>$CONFIG_STATUS <<\_ACEOF
19565 # If no file are specified by the user, then we need to provide default
19566 # value. By we need to know if files were specified by the user.
19572 ac_option
=`expr "x$1" : 'x\([^=]*\)='`
19573 ac_optarg
=`expr "x$1" : 'x[^=]*=\(.*\)'`
19581 *) # This is not an option, so the user has probably given explicit
19584 ac_need_defaults
=false
;;
19588 # Handling of the options.
19590 cat >>$CONFIG_STATUS <<\_ACEOF
19591 -recheck |
--recheck |
--rechec |
--reche |
--rech |
--rec |
--re |
--r)
19593 --version |
--vers* |
-V )
19594 echo "$ac_cs_version"; exit 0 ;;
19596 # Conflict between --help and --header
19597 { { echo "$as_me:$LINENO: error: ambiguous option: $1
19598 Try \`$0 --help' for more information." >&5
19599 echo "$as_me: error: ambiguous option: $1
19600 Try \`$0 --help' for more information." >&2;}
19601 { (exit 1); exit 1; }; };;
19602 --help |
--hel |
-h )
19603 echo "$ac_cs_usage"; exit 0 ;;
19604 --debug |
--d* |
-d )
19606 --file |
--fil |
--fi |
--f )
19608 CONFIG_FILES
="$CONFIG_FILES $ac_optarg"
19609 ac_need_defaults
=false
;;
19610 --header |
--heade |
--head |
--hea )
19612 CONFIG_HEADERS
="$CONFIG_HEADERS $ac_optarg"
19613 ac_need_defaults
=false
;;
19614 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
19615 |
-silent |
--silent |
--silen |
--sile |
--sil |
--si |
--s)
19618 # This is an error.
19619 -*) { { echo "$as_me:$LINENO: error: unrecognized option: $1
19620 Try \`$0 --help' for more information." >&5
19621 echo "$as_me: error: unrecognized option: $1
19622 Try \`$0 --help' for more information." >&2;}
19623 { (exit 1); exit 1; }; } ;;
19625 *) ac_config_targets
="$ac_config_targets $1" ;;
19631 ac_configure_extra_args
=
19633 if $ac_cs_silent; then
19635 ac_configure_extra_args
="$ac_configure_extra_args --silent"
19639 cat >>$CONFIG_STATUS <<_ACEOF
19640 if \$ac_cs_recheck; then
19641 echo "running $SHELL $0 " $ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6
19642 exec $SHELL $0 $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
19647 cat >>$CONFIG_STATUS <<_ACEOF
19649 # INIT-COMMANDS section.
19652 AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
19653 # variables for create stdint.h replacement
19656 ac_stdint_h="$ac_stdint_h"
19657 _ac_stdint_h=`echo "_$PACKAGE-$ac_stdint_h" | $as_tr_cpp`
19658 ac_cv_stdint_message="$ac_cv_stdint_message"
19659 ac_cv_header_stdint_t="$ac_cv_header_stdint_t"
19660 ac_cv_header_stdint_x="$ac_cv_header_stdint_x"
19661 ac_cv_header_stdint_o="$ac_cv_header_stdint_o"
19662 ac_cv_header_stdint_u="$ac_cv_header_stdint_u"
19663 ac_cv_type_uint64_t="$ac_cv_type_uint64_t"
19664 ac_cv_type_u_int64_t="$ac_cv_type_u_int64_t"
19665 ac_cv_char_data_model="$ac_cv_char_data_model"
19666 ac_cv_long_data_model="$ac_cv_long_data_model"
19667 ac_cv_type_int_least32_t="$ac_cv_type_int_least32_t"
19668 ac_cv_type_int_fast32_t="$ac_cv_type_int_fast32_t"
19669 ac_cv_type_intmax_t="$ac_cv_type_intmax_t"
19676 cat >>$CONFIG_STATUS <<\_ACEOF
19677 for ac_config_target
in $ac_config_targets
19679 case "$ac_config_target" in
19680 # Handling of arguments.
19681 "lib/mkcollections.pl" ) CONFIG_FILES
="$CONFIG_FILES lib/mkcollections.pl" ;;
19682 "Makefile" ) CONFIG_FILES
="$CONFIG_FILES Makefile" ;;
19683 "doc/Makefile" ) CONFIG_FILES
="$CONFIG_FILES doc/Makefile" ;;
19684 "doc/api/Makefile" ) CONFIG_FILES
="$CONFIG_FILES doc/api/Makefile" ;;
19685 "external/Makefile" ) CONFIG_FILES
="$CONFIG_FILES external/Makefile" ;;
19686 "external/sax/Makefile" ) CONFIG_FILES
="$CONFIG_FILES external/sax/Makefile" ;;
19687 "external/w3c_dom/Makefile" ) CONFIG_FILES
="$CONFIG_FILES external/w3c_dom/Makefile" ;;
19688 "external/relaxngDatatype/Makefile" ) CONFIG_FILES
="$CONFIG_FILES external/relaxngDatatype/Makefile" ;;
19689 "gnu/classpath/Configuration.java" ) CONFIG_FILES
="$CONFIG_FILES gnu/classpath/Configuration.java" ;;
19690 "gnu/java/security/Configuration.java" ) CONFIG_FILES
="$CONFIG_FILES gnu/java/security/Configuration.java" ;;
19691 "include/Makefile" ) CONFIG_FILES
="$CONFIG_FILES include/Makefile" ;;
19692 "native/Makefile" ) CONFIG_FILES
="$CONFIG_FILES native/Makefile" ;;
19693 "native/fdlibm/Makefile" ) CONFIG_FILES
="$CONFIG_FILES native/fdlibm/Makefile" ;;
19694 "native/jawt/Makefile" ) CONFIG_FILES
="$CONFIG_FILES native/jawt/Makefile" ;;
19695 "native/jni/Makefile" ) CONFIG_FILES
="$CONFIG_FILES native/jni/Makefile" ;;
19696 "native/jni/classpath/Makefile" ) CONFIG_FILES
="$CONFIG_FILES native/jni/classpath/Makefile" ;;
19697 "native/jni/java-io/Makefile" ) CONFIG_FILES
="$CONFIG_FILES native/jni/java-io/Makefile" ;;
19698 "native/jni/java-lang/Makefile" ) CONFIG_FILES
="$CONFIG_FILES native/jni/java-lang/Makefile" ;;
19699 "native/jni/java-net/Makefile" ) CONFIG_FILES
="$CONFIG_FILES native/jni/java-net/Makefile" ;;
19700 "native/jni/java-nio/Makefile" ) CONFIG_FILES
="$CONFIG_FILES native/jni/java-nio/Makefile" ;;
19701 "native/jni/java-util/Makefile" ) CONFIG_FILES
="$CONFIG_FILES native/jni/java-util/Makefile" ;;
19702 "native/jni/gtk-peer/Makefile" ) CONFIG_FILES
="$CONFIG_FILES native/jni/gtk-peer/Makefile" ;;
19703 "native/jni/gconf-peer/Makefile" ) CONFIG_FILES
="$CONFIG_FILES native/jni/gconf-peer/Makefile" ;;
19704 "native/jni/qt-peer/Makefile" ) CONFIG_FILES
="$CONFIG_FILES native/jni/qt-peer/Makefile" ;;
19705 "native/jni/xmlj/Makefile" ) CONFIG_FILES
="$CONFIG_FILES native/jni/xmlj/Makefile" ;;
19706 "native/jni/midi-alsa/Makefile" ) CONFIG_FILES
="$CONFIG_FILES native/jni/midi-alsa/Makefile" ;;
19707 "native/jni/midi-dssi/Makefile" ) CONFIG_FILES
="$CONFIG_FILES native/jni/midi-dssi/Makefile" ;;
19708 "native/plugin/Makefile" ) CONFIG_FILES
="$CONFIG_FILES native/plugin/Makefile" ;;
19709 "native/target/Makefile" ) CONFIG_FILES
="$CONFIG_FILES native/target/Makefile" ;;
19710 "native/target/Linux/Makefile" ) CONFIG_FILES
="$CONFIG_FILES native/target/Linux/Makefile" ;;
19711 "native/target/generic/Makefile" ) CONFIG_FILES
="$CONFIG_FILES native/target/generic/Makefile" ;;
19712 "resource/Makefile" ) CONFIG_FILES
="$CONFIG_FILES resource/Makefile" ;;
19713 "resource/META-INF/services/java.util.prefs.PreferencesFactory" ) CONFIG_FILES
="$CONFIG_FILES resource/META-INF/services/java.util.prefs.PreferencesFactory" ;;
19714 "scripts/Makefile" ) CONFIG_FILES
="$CONFIG_FILES scripts/Makefile" ;;
19715 "scripts/classpath.spec" ) CONFIG_FILES
="$CONFIG_FILES scripts/classpath.spec" ;;
19716 "lib/Makefile" ) CONFIG_FILES
="$CONFIG_FILES lib/Makefile" ;;
19717 "lib/gen-classlist.sh" ) CONFIG_FILES
="$CONFIG_FILES lib/gen-classlist.sh" ;;
19718 "lib/copy-vmresources.sh" ) CONFIG_FILES
="$CONFIG_FILES lib/copy-vmresources.sh" ;;
19719 "tools/Makefile" ) CONFIG_FILES
="$CONFIG_FILES tools/Makefile" ;;
19720 "examples/Makefile" ) CONFIG_FILES
="$CONFIG_FILES examples/Makefile" ;;
19721 "examples/Makefile.jawt" ) CONFIG_FILES
="$CONFIG_FILES examples/Makefile.jawt" ;;
19722 "examples/Makefile.java2d" ) CONFIG_FILES
="$CONFIG_FILES examples/Makefile.java2d" ;;
19723 "tools/gappletviewer" ) CONFIG_FILES
="$CONFIG_FILES tools/gappletviewer" ;;
19724 "tools/gjarsigner" ) CONFIG_FILES
="$CONFIG_FILES tools/gjarsigner" ;;
19725 "tools/gkeytool" ) CONFIG_FILES
="$CONFIG_FILES tools/gkeytool" ;;
19726 "tools/gjar" ) CONFIG_FILES
="$CONFIG_FILES tools/gjar" ;;
19727 "tools/gnative2ascii" ) CONFIG_FILES
="$CONFIG_FILES tools/gnative2ascii" ;;
19728 "tools/gserialver" ) CONFIG_FILES
="$CONFIG_FILES tools/gserialver" ;;
19729 "tools/appletviewer" ) CONFIG_FILES
="$CONFIG_FILES tools/appletviewer" ;;
19730 "tools/jarsigner" ) CONFIG_FILES
="$CONFIG_FILES tools/jarsigner" ;;
19731 "tools/keytool" ) CONFIG_FILES
="$CONFIG_FILES tools/keytool" ;;
19732 "$ac_config_links_1" ) CONFIG_LINKS
="$CONFIG_LINKS $ac_config_links_1" ;;
19733 "depfiles" ) CONFIG_COMMANDS
="$CONFIG_COMMANDS depfiles" ;;
19734 "mkcollections.pl" ) CONFIG_COMMANDS
="$CONFIG_COMMANDS mkcollections.pl" ;;
19735 "$ac_stdint_h" ) CONFIG_COMMANDS
="$CONFIG_COMMANDS $ac_stdint_h" ;;
19736 "gappletviewer" ) CONFIG_COMMANDS
="$CONFIG_COMMANDS gappletviewer" ;;
19737 "gjarsigner" ) CONFIG_COMMANDS
="$CONFIG_COMMANDS gjarsigner" ;;
19738 "gkeytool" ) CONFIG_COMMANDS
="$CONFIG_COMMANDS gkeytool" ;;
19739 "gjar" ) CONFIG_COMMANDS
="$CONFIG_COMMANDS gjar" ;;
19740 "gnative2ascii" ) CONFIG_COMMANDS
="$CONFIG_COMMANDS gnative2ascii" ;;
19741 "gserialver" ) CONFIG_COMMANDS
="$CONFIG_COMMANDS gserialver" ;;
19742 "appletviewer" ) CONFIG_COMMANDS
="$CONFIG_COMMANDS appletviewer" ;;
19743 "jarsigner" ) CONFIG_COMMANDS
="$CONFIG_COMMANDS jarsigner" ;;
19744 "keytool" ) CONFIG_COMMANDS
="$CONFIG_COMMANDS keytool" ;;
19745 "gen-classlist" ) CONFIG_COMMANDS
="$CONFIG_COMMANDS gen-classlist" ;;
19746 "copy-vmresources" ) CONFIG_COMMANDS
="$CONFIG_COMMANDS copy-vmresources" ;;
19747 "include/config.h" ) CONFIG_HEADERS
="$CONFIG_HEADERS include/config.h" ;;
19748 *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
19749 echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
19750 { (exit 1); exit 1; }; };;
19754 # If the user did not use the arguments to specify the items to instantiate,
19755 # then the envvar interface is used. Set only those that are not.
19756 # We use the long form for the default assignment because of an extremely
19757 # bizarre bug on SunOS 4.1.3.
19758 if $ac_need_defaults; then
19759 test "${CONFIG_FILES+set}" = set || CONFIG_FILES
=$config_files
19760 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS
=$config_headers
19761 test "${CONFIG_LINKS+set}" = set || CONFIG_LINKS
=$config_links
19762 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS
=$config_commands
19765 # Have a temporary directory for convenience. Make it in the build tree
19766 # simply because there is no reason to put it here, and in addition,
19767 # creating and moving files from /tmp can sometimes cause problems.
19768 # Create a temporary directory, and hook for its removal unless debugging.
19771 trap 'exit_status=$?; rm -rf $tmp && exit $exit_status' 0
19772 trap '{ (exit 1); exit 1; }' 1 2 13 15
19775 # Create a (secure) tmp directory for tmp files.
19778 tmp
=`(umask 077 && mktemp -d -q "./confstatXXXXXX") 2>/dev/null` &&
19779 test -n "$tmp" && test -d "$tmp"
19782 tmp
=.
/confstat$$
-$RANDOM
19783 (umask 077 && mkdir
$tmp)
19786 echo "$me: cannot create a temporary directory in ." >&2
19787 { (exit 1); exit 1; }
19792 cat >>$CONFIG_STATUS <<_ACEOF
19795 # CONFIG_FILES section.
19798 # No need to generate the scripts if there are no CONFIG_FILES.
19799 # This happens for instance when ./config.status config.h
19800 if test -n "\$CONFIG_FILES"; then
19801 # Protect against being on the right side of a sed subst in config.status.
19802 sed 's/,@/@@/; s/@,/@@/; s/,;t t\$/@;t t/; /@;t t\$/s/[\\\\&,]/\\\\&/g;
19803 s/@@/,@/; s/@@/@,/; s/@;t t\$/,;t t/' >\$tmp/subs.sed <<\\CEOF
19804 s,@SHELL@,$SHELL,;t t
19805 s,@PATH_SEPARATOR@,$PATH_SEPARATOR,;t t
19806 s,@PACKAGE_NAME@,$PACKAGE_NAME,;t t
19807 s,@PACKAGE_TARNAME@,$PACKAGE_TARNAME,;t t
19808 s,@PACKAGE_VERSION@,$PACKAGE_VERSION,;t t
19809 s,@PACKAGE_STRING@,$PACKAGE_STRING,;t t
19810 s,@PACKAGE_BUGREPORT@,$PACKAGE_BUGREPORT,;t t
19811 s,@exec_prefix@,$exec_prefix,;t t
19812 s,@prefix@,$prefix,;t t
19813 s,@program_transform_name@,$program_transform_name,;t t
19814 s,@bindir@,$bindir,;t t
19815 s,@sbindir@,$sbindir,;t t
19816 s,@libexecdir@,$libexecdir,;t t
19817 s,@datadir@,$datadir,;t t
19818 s,@sysconfdir@,$sysconfdir,;t t
19819 s,@sharedstatedir@,$sharedstatedir,;t t
19820 s,@localstatedir@,$localstatedir,;t t
19821 s,@libdir@,$libdir,;t t
19822 s,@includedir@,$includedir,;t t
19823 s,@oldincludedir@,$oldincludedir,;t t
19824 s,@infodir@,$infodir,;t t
19825 s,@mandir@,$mandir,;t t
19826 s,@build_alias@,$build_alias,;t t
19827 s,@host_alias@,$host_alias,;t t
19828 s,@target_alias@,$target_alias,;t t
19829 s,@DEFS@,$DEFS,;t t
19830 s,@ECHO_C@,$ECHO_C,;t t
19831 s,@ECHO_N@,$ECHO_N,;t t
19832 s,@ECHO_T@,$ECHO_T,;t t
19833 s,@LIBS@,$LIBS,;t t
19834 s,@build@,$build,;t t
19835 s,@build_cpu@,$build_cpu,;t t
19836 s,@build_vendor@,$build_vendor,;t t
19837 s,@build_os@,$build_os,;t t
19838 s,@host@,$host,;t t
19839 s,@host_cpu@,$host_cpu,;t t
19840 s,@host_vendor@,$host_vendor,;t t
19841 s,@host_os@,$host_os,;t t
19842 s,@target@,$target,;t t
19843 s,@target_cpu@,$target_cpu,;t t
19844 s,@target_vendor@,$target_vendor,;t t
19845 s,@target_os@,$target_os,;t t
19846 s,@LIBVERSION@,$LIBVERSION,;t t
19847 s,@CLASSPATH_MODULE@,$CLASSPATH_MODULE,;t t
19848 s,@CLASSPATH_CONVENIENCE@,$CLASSPATH_CONVENIENCE,;t t
19849 s,@INSTALL_PROGRAM@,$INSTALL_PROGRAM,;t t
19850 s,@INSTALL_SCRIPT@,$INSTALL_SCRIPT,;t t
19851 s,@INSTALL_DATA@,$INSTALL_DATA,;t t
19852 s,@CYGPATH_W@,$CYGPATH_W,;t t
19853 s,@PACKAGE@,$PACKAGE,;t t
19854 s,@VERSION@,$VERSION,;t t
19855 s,@ACLOCAL@,$ACLOCAL,;t t
19856 s,@AUTOCONF@,$AUTOCONF,;t t
19857 s,@AUTOMAKE@,$AUTOMAKE,;t t
19858 s,@AUTOHEADER@,$AUTOHEADER,;t t
19859 s,@MAKEINFO@,$MAKEINFO,;t t
19860 s,@install_sh@,$install_sh,;t t
19861 s,@STRIP@,$STRIP,;t t
19862 s,@ac_ct_STRIP@,$ac_ct_STRIP,;t t
19863 s,@INSTALL_STRIP_PROGRAM@,$INSTALL_STRIP_PROGRAM,;t t
19864 s,@mkdir_p@,$mkdir_p,;t t
19866 s,@SET_MAKE@,$SET_MAKE,;t t
19867 s,@am__leading_dot@,$am__leading_dot,;t t
19868 s,@AMTAR@,$AMTAR,;t t
19869 s,@am__tar@,$am__tar,;t t
19870 s,@am__untar@,$am__untar,;t t
19871 s,@CREATE_COLLECTIONS_TRUE@,$CREATE_COLLECTIONS_TRUE,;t t
19872 s,@CREATE_COLLECTIONS_FALSE@,$CREATE_COLLECTIONS_FALSE,;t t
19873 s,@CREATE_JNI_LIBRARIES_TRUE@,$CREATE_JNI_LIBRARIES_TRUE,;t t
19874 s,@CREATE_JNI_LIBRARIES_FALSE@,$CREATE_JNI_LIBRARIES_FALSE,;t t
19875 s,@CREATE_CORE_JNI_LIBRARIES_TRUE@,$CREATE_CORE_JNI_LIBRARIES_TRUE,;t t
19876 s,@CREATE_CORE_JNI_LIBRARIES_FALSE@,$CREATE_CORE_JNI_LIBRARIES_FALSE,;t t
19877 s,@CREATE_GCONF_PEER_LIBRARIES_TRUE@,$CREATE_GCONF_PEER_LIBRARIES_TRUE,;t t
19878 s,@CREATE_GCONF_PEER_LIBRARIES_FALSE@,$CREATE_GCONF_PEER_LIBRARIES_FALSE,;t t
19879 s,@default_toolkit@,$default_toolkit,;t t
19880 s,@CREATE_XMLJ_LIBRARY_TRUE@,$CREATE_XMLJ_LIBRARY_TRUE,;t t
19881 s,@CREATE_XMLJ_LIBRARY_FALSE@,$CREATE_XMLJ_LIBRARY_FALSE,;t t
19883 s,@CFLAGS@,$CFLAGS,;t t
19884 s,@LDFLAGS@,$LDFLAGS,;t t
19885 s,@CPPFLAGS@,$CPPFLAGS,;t t
19886 s,@ac_ct_CC@,$ac_ct_CC,;t t
19887 s,@EXEEXT@,$EXEEXT,;t t
19888 s,@OBJEXT@,$OBJEXT,;t t
19889 s,@DEPDIR@,$DEPDIR,;t t
19890 s,@am__include@,$am__include,;t t
19891 s,@am__quote@,$am__quote,;t t
19892 s,@AMDEP_TRUE@,$AMDEP_TRUE,;t t
19893 s,@AMDEP_FALSE@,$AMDEP_FALSE,;t t
19894 s,@AMDEPBACKSLASH@,$AMDEPBACKSLASH,;t t
19895 s,@CCDEPMODE@,$CCDEPMODE,;t t
19896 s,@am__fastdepCC_TRUE@,$am__fastdepCC_TRUE,;t t
19897 s,@am__fastdepCC_FALSE@,$am__fastdepCC_FALSE,;t t
19899 s,@EGREP@,$EGREP,;t t
19900 s,@CREATE_ALSA_LIBRARIES_TRUE@,$CREATE_ALSA_LIBRARIES_TRUE,;t t
19901 s,@CREATE_ALSA_LIBRARIES_FALSE@,$CREATE_ALSA_LIBRARIES_FALSE,;t t
19902 s,@CREATE_DSSI_LIBRARIES_TRUE@,$CREATE_DSSI_LIBRARIES_TRUE,;t t
19903 s,@CREATE_DSSI_LIBRARIES_FALSE@,$CREATE_DSSI_LIBRARIES_FALSE,;t t
19904 s,@CREATE_GTK_PEER_LIBRARIES_TRUE@,$CREATE_GTK_PEER_LIBRARIES_TRUE,;t t
19905 s,@CREATE_GTK_PEER_LIBRARIES_FALSE@,$CREATE_GTK_PEER_LIBRARIES_FALSE,;t t
19906 s,@CREATE_QT_PEER_LIBRARIES_TRUE@,$CREATE_QT_PEER_LIBRARIES_TRUE,;t t
19907 s,@CREATE_QT_PEER_LIBRARIES_FALSE@,$CREATE_QT_PEER_LIBRARIES_FALSE,;t t
19908 s,@CREATE_PLUGIN_TRUE@,$CREATE_PLUGIN_TRUE,;t t
19909 s,@CREATE_PLUGIN_FALSE@,$CREATE_PLUGIN_FALSE,;t t
19910 s,@nativeexeclibdir@,$nativeexeclibdir,;t t
19911 s,@glibjdir@,$glibjdir,;t t
19912 s,@VM_BINARY@,$VM_BINARY,;t t
19913 s,@FOUND_CACAO_TRUE@,$FOUND_CACAO_TRUE,;t t
19914 s,@FOUND_CACAO_FALSE@,$FOUND_CACAO_FALSE,;t t
19915 s,@CREATE_JNI_HEADERS_TRUE@,$CREATE_JNI_HEADERS_TRUE,;t t
19916 s,@CREATE_JNI_HEADERS_FALSE@,$CREATE_JNI_HEADERS_FALSE,;t t
19917 s,@CREATE_WRAPPERS_TRUE@,$CREATE_WRAPPERS_TRUE,;t t
19918 s,@CREATE_WRAPPERS_FALSE@,$CREATE_WRAPPERS_FALSE,;t t
19919 s,@LN_S@,$LN_S,;t t
19921 s,@CXXFLAGS@,$CXXFLAGS,;t t
19922 s,@ac_ct_CXX@,$ac_ct_CXX,;t t
19923 s,@CXXDEPMODE@,$CXXDEPMODE,;t t
19924 s,@am__fastdepCXX_TRUE@,$am__fastdepCXX_TRUE,;t t
19925 s,@am__fastdepCXX_FALSE@,$am__fastdepCXX_FALSE,;t t
19926 s,@RANLIB@,$RANLIB,;t t
19927 s,@ac_ct_RANLIB@,$ac_ct_RANLIB,;t t
19928 s,@LIBTOOL@,$LIBTOOL,;t t
19929 s,@CXXCPP@,$CXXCPP,;t t
19930 s,@PERL@,$PERL,;t t
19931 s,@COLLECTIONS_PREFIX@,$COLLECTIONS_PREFIX,;t t
19932 s,@LIBMAGIC@,$LIBMAGIC,;t t
19933 s,@LIBICONV@,$LIBICONV,;t t
19934 s,@LTLIBICONV@,$LTLIBICONV,;t t
19935 s,@WARNING_CFLAGS@,$WARNING_CFLAGS,;t t
19936 s,@STRICT_WARNING_CFLAGS@,$STRICT_WARNING_CFLAGS,;t t
19937 s,@ERROR_CFLAGS@,$ERROR_CFLAGS,;t t
19938 s,@PKG_CONFIG@,$PKG_CONFIG,;t t
19939 s,@XML_CFLAGS@,$XML_CFLAGS,;t t
19940 s,@XML_LIBS@,$XML_LIBS,;t t
19941 s,@XSLT_CFLAGS@,$XSLT_CFLAGS,;t t
19942 s,@XSLT_LIBS@,$XSLT_LIBS,;t t
19943 s,@X_CFLAGS@,$X_CFLAGS,;t t
19944 s,@X_PRE_LIBS@,$X_PRE_LIBS,;t t
19945 s,@X_LIBS@,$X_LIBS,;t t
19946 s,@X_EXTRA_LIBS@,$X_EXTRA_LIBS,;t t
19947 s,@GTK_CFLAGS@,$GTK_CFLAGS,;t t
19948 s,@GTK_LIBS@,$GTK_LIBS,;t t
19949 s,@FREETYPE2_CFLAGS@,$FREETYPE2_CFLAGS,;t t
19950 s,@FREETYPE2_LIBS@,$FREETYPE2_LIBS,;t t
19951 s,@PANGOFT2_CFLAGS@,$PANGOFT2_CFLAGS,;t t
19952 s,@PANGOFT2_LIBS@,$PANGOFT2_LIBS,;t t
19953 s,@XTEST_LIBS@,$XTEST_LIBS,;t t
19954 s,@GCONF_CFLAGS@,$GCONF_CFLAGS,;t t
19955 s,@GCONF_LIBS@,$GCONF_LIBS,;t t
19956 s,@GDK_CFLAGS@,$GDK_CFLAGS,;t t
19957 s,@GDK_LIBS@,$GDK_LIBS,;t t
19958 s,@QT_CFLAGS@,$QT_CFLAGS,;t t
19959 s,@QT_LIBS@,$QT_LIBS,;t t
19961 s,@MOZILLA_CFLAGS@,$MOZILLA_CFLAGS,;t t
19962 s,@MOZILLA_LIBS@,$MOZILLA_LIBS,;t t
19963 s,@GLIB_CFLAGS@,$GLIB_CFLAGS,;t t
19964 s,@GLIB_LIBS@,$GLIB_LIBS,;t t
19965 s,@PLUGIN_DIR@,$PLUGIN_DIR,;t t
19966 s,@USER_JAVAH@,$USER_JAVAH,;t t
19967 s,@USER_SPECIFIED_JAVAH_TRUE@,$USER_SPECIFIED_JAVAH_TRUE,;t t
19968 s,@USER_SPECIFIED_JAVAH_FALSE@,$USER_SPECIFIED_JAVAH_FALSE,;t t
19969 s,@CLASSPATH_INCLUDES@,$CLASSPATH_INCLUDES,;t t
19971 s,@JIKES@,$JIKES,;t t
19972 s,@JIKESENCODING@,$JIKESENCODING,;t t
19973 s,@JIKESWARNINGS@,$JIKESWARNINGS,;t t
19975 s,@GCJX@,$GCJX,;t t
19977 s,@FOUND_GCJ_TRUE@,$FOUND_GCJ_TRUE,;t t
19978 s,@FOUND_GCJ_FALSE@,$FOUND_GCJ_FALSE,;t t
19979 s,@FOUND_JIKES_TRUE@,$FOUND_JIKES_TRUE,;t t
19980 s,@FOUND_JIKES_FALSE@,$FOUND_JIKES_FALSE,;t t
19981 s,@FOUND_ECJ_TRUE@,$FOUND_ECJ_TRUE,;t t
19982 s,@FOUND_ECJ_FALSE@,$FOUND_ECJ_FALSE,;t t
19983 s,@FOUND_KJC_TRUE@,$FOUND_KJC_TRUE,;t t
19984 s,@FOUND_KJC_FALSE@,$FOUND_KJC_FALSE,;t t
19985 s,@FOUND_GCJX_TRUE@,$FOUND_GCJX_TRUE,;t t
19986 s,@FOUND_GCJX_FALSE@,$FOUND_GCJX_FALSE,;t t
19987 s,@USER_CLASSLIB@,$USER_CLASSLIB,;t t
19988 s,@USER_SPECIFIED_CLASSLIB_TRUE@,$USER_SPECIFIED_CLASSLIB_TRUE,;t t
19989 s,@USER_SPECIFIED_CLASSLIB_FALSE@,$USER_SPECIFIED_CLASSLIB_FALSE,;t t
19990 s,@vm_classes@,$vm_classes,;t t
19991 s,@MAINTAINER_MODE_TRUE@,$MAINTAINER_MODE_TRUE,;t t
19992 s,@MAINTAINER_MODE_FALSE@,$MAINTAINER_MODE_FALSE,;t t
19993 s,@MAINT@,$MAINT,;t t
19994 s,@LIBDEBUG@,$LIBDEBUG,;t t
19995 s,@INIT_LOAD_LIBRARY@,$INIT_LOAD_LIBRARY,;t t
19996 s,@JAVA_LANG_SYSTEM_EXPLICIT_INITIALIZATION@,$JAVA_LANG_SYSTEM_EXPLICIT_INITIALIZATION,;t t
19997 s,@REMOVE@,$REMOVE,;t t
19998 s,@MKDIR@,$MKDIR,;t t
20000 s,@DATE@,$DATE,;t t
20001 s,@FIND@,$FIND,;t t
20003 s,@FASTJAR@,$FASTJAR,;t t
20004 s,@INSTALL_GLIBJ_ZIP_TRUE@,$INSTALL_GLIBJ_ZIP_TRUE,;t t
20005 s,@INSTALL_GLIBJ_ZIP_FALSE@,$INSTALL_GLIBJ_ZIP_FALSE,;t t
20006 s,@INSTALL_CLASS_FILES_TRUE@,$INSTALL_CLASS_FILES_TRUE,;t t
20007 s,@INSTALL_CLASS_FILES_FALSE@,$INSTALL_CLASS_FILES_FALSE,;t t
20008 s,@BUILD_CLASS_FILES_TRUE@,$BUILD_CLASS_FILES_TRUE,;t t
20009 s,@BUILD_CLASS_FILES_FALSE@,$BUILD_CLASS_FILES_FALSE,;t t
20010 s,@EXAMPLESDIR@,$EXAMPLESDIR,;t t
20011 s,@GJDOC@,$GJDOC,;t t
20012 s,@CREATE_API_DOCS_TRUE@,$CREATE_API_DOCS_TRUE,;t t
20013 s,@CREATE_API_DOCS_FALSE@,$CREATE_API_DOCS_FALSE,;t t
20015 s,@JAY_SKELETON@,$JAY_SKELETON,;t t
20016 s,@REGEN_PARSERS_TRUE@,$REGEN_PARSERS_TRUE,;t t
20017 s,@REGEN_PARSERS_FALSE@,$REGEN_PARSERS_FALSE,;t t
20018 s,@USE_PREBUILT_GLIBJ_ZIP_TRUE@,$USE_PREBUILT_GLIBJ_ZIP_TRUE,;t t
20019 s,@USE_PREBUILT_GLIBJ_ZIP_FALSE@,$USE_PREBUILT_GLIBJ_ZIP_FALSE,;t t
20020 s,@PATH_TO_GLIBJ_ZIP@,$PATH_TO_GLIBJ_ZIP,;t t
20021 s,@USE_ESCHER_TRUE@,$USE_ESCHER_TRUE,;t t
20022 s,@USE_ESCHER_FALSE@,$USE_ESCHER_FALSE,;t t
20023 s,@PATH_TO_ESCHER@,$PATH_TO_ESCHER,;t t
20024 s,@ENABLE_LOCAL_SOCKETS_TRUE@,$ENABLE_LOCAL_SOCKETS_TRUE,;t t
20025 s,@ENABLE_LOCAL_SOCKETS_FALSE@,$ENABLE_LOCAL_SOCKETS_FALSE,;t t
20026 s,@DEFAULT_PREFS_PEER@,$DEFAULT_PREFS_PEER,;t t
20027 s,@LIBOBJS@,$LIBOBJS,;t t
20028 s,@LTLIBOBJS@,$LTLIBOBJS,;t t
20033 cat >>$CONFIG_STATUS <<\_ACEOF
20034 # Split the substitutions into bite-sized pieces for seds with
20035 # small command number limits, like on Digital OSF/1 and HP-UX.
20036 ac_max_sed_lines
=48
20037 ac_sed_frag
=1 # Number of current file.
20038 ac_beg
=1 # First line for current file.
20039 ac_end
=$ac_max_sed_lines # Line after last line for current file.
20042 while $ac_more_lines; do
20043 if test $ac_beg -gt 1; then
20044 sed "1,${ac_beg}d; ${ac_end}q" $tmp/subs.
sed >$tmp/subs.frag
20046 sed "${ac_end}q" $tmp/subs.
sed >$tmp/subs.frag
20048 if test ! -s $tmp/subs.frag
; then
20049 ac_more_lines
=false
20051 # The purpose of the label and of the branching condition is to
20052 # speed up the sed processing (if there are no `@' at all, there
20053 # is no need to browse any of the substitutions).
20054 # These are the two extra sed commands mentioned above.
20056 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b' && cat $tmp/subs.frag
) >$tmp/subs-
$ac_sed_frag.
sed
20057 if test -z "$ac_sed_cmds"; then
20058 ac_sed_cmds
="sed -f $tmp/subs-$ac_sed_frag.sed"
20060 ac_sed_cmds
="$ac_sed_cmds | sed -f $tmp/subs-$ac_sed_frag.sed"
20062 ac_sed_frag
=`expr $ac_sed_frag + 1`
20064 ac_end
=`expr $ac_end + $ac_max_sed_lines`
20067 if test -z "$ac_sed_cmds"; then
20070 fi # test -n "$CONFIG_FILES"
20073 cat >>$CONFIG_STATUS <<\_ACEOF
20074 for ac_file
in : $CONFIG_FILES; do test "x$ac_file" = x
: && continue
20075 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
20077 - |
*:- |
*:-:* ) # input from stdin
20079 ac_file_in
=`echo "$ac_file" | sed 's,[^:]*:,,'`
20080 ac_file
=`echo "$ac_file" | sed 's,:.*,,'` ;;
20081 *:* ) ac_file_in
=`echo "$ac_file" | sed 's,[^:]*:,,'`
20082 ac_file
=`echo "$ac_file" | sed 's,:.*,,'` ;;
20083 * ) ac_file_in
=$ac_file.
in ;;
20086 # Compute @srcdir@, @top_srcdir@, and @INSTALL@ for subdirectories.
20087 ac_dir
=`(dirname "$ac_file") 2>/dev/null ||
20088 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
20089 X"$ac_file" : 'X\(//\)[^/]' \| \
20090 X"$ac_file" : 'X\(//\)$' \| \
20091 X"$ac_file" : 'X\(/\)' \| \
20092 . : '\(.\)' 2>/dev/null ||
20094 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
20095 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
20096 /^X\(\/\/\)$/{ s//\1/; q; }
20097 /^X\(\/\).*/{ s//\1/; q; }
20099 { if $as_mkdir_p; then
20104 while test ! -d "$as_dir"; do
20105 as_dirs
="$as_dir $as_dirs"
20106 as_dir
=`(dirname "$as_dir") 2>/dev/null ||
20107 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
20108 X"$as_dir" : 'X\(//\)[^/]' \| \
20109 X"$as_dir" : 'X\(//\)$' \| \
20110 X"$as_dir" : 'X\(/\)' \| \
20111 . : '\(.\)' 2>/dev/null ||
20113 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
20114 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
20115 /^X\(\/\/\)$/{ s//\1/; q; }
20116 /^X\(\/\).*/{ s//\1/; q; }
20119 test ! -n "$as_dirs" || mkdir
$as_dirs
20120 fi ||
{ { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
20121 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
20122 { (exit 1); exit 1; }; }; }
20126 if test "$ac_dir" != .
; then
20127 ac_dir_suffix
=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
20128 # A "../" for each directory in $ac_dir_suffix.
20129 ac_top_builddir
=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
20131 ac_dir_suffix
= ac_top_builddir
=
20135 .
) # No --srcdir option. We are building in place.
20137 if test -z "$ac_top_builddir"; then
20140 ac_top_srcdir
=`echo $ac_top_builddir | sed 's,/$,,'`
20142 [\\/]* | ?
:[\\/]* ) # Absolute path.
20143 ac_srcdir
=$srcdir$ac_dir_suffix;
20144 ac_top_srcdir
=$srcdir ;;
20145 *) # Relative path.
20146 ac_srcdir
=$ac_top_builddir$srcdir$ac_dir_suffix
20147 ac_top_srcdir
=$ac_top_builddir$srcdir ;;
20150 # Do not use `cd foo && pwd` to compute absolute paths, because
20151 # the directories may not exist.
20153 .
) ac_abs_builddir
="$ac_dir";;
20156 .
) ac_abs_builddir
=`pwd`;;
20157 [\\/]* | ?
:[\\/]* ) ac_abs_builddir
="$ac_dir";;
20158 *) ac_abs_builddir
=`pwd`/"$ac_dir";;
20161 case $ac_abs_builddir in
20162 .
) ac_abs_top_builddir
=${ac_top_builddir}.
;;
20164 case ${ac_top_builddir}.
in
20165 .
) ac_abs_top_builddir
=$ac_abs_builddir;;
20166 [\\/]* | ?
:[\\/]* ) ac_abs_top_builddir
=${ac_top_builddir}.
;;
20167 *) ac_abs_top_builddir
=$ac_abs_builddir/${ac_top_builddir}.
;;
20170 case $ac_abs_builddir in
20171 .
) ac_abs_srcdir
=$ac_srcdir;;
20174 .
) ac_abs_srcdir
=$ac_abs_builddir;;
20175 [\\/]* | ?
:[\\/]* ) ac_abs_srcdir
=$ac_srcdir;;
20176 *) ac_abs_srcdir
=$ac_abs_builddir/$ac_srcdir;;
20179 case $ac_abs_builddir in
20180 .
) ac_abs_top_srcdir
=$ac_top_srcdir;;
20182 case $ac_top_srcdir in
20183 .
) ac_abs_top_srcdir
=$ac_abs_builddir;;
20184 [\\/]* | ?
:[\\/]* ) ac_abs_top_srcdir
=$ac_top_srcdir;;
20185 *) ac_abs_top_srcdir
=$ac_abs_builddir/$ac_top_srcdir;;
20191 [\\/$
]* | ?
:[\\/]* ) ac_INSTALL
=$INSTALL ;;
20192 *) ac_INSTALL
=$ac_top_builddir$INSTALL ;;
20195 if test x
"$ac_file" != x-
; then
20196 { echo "$as_me:$LINENO: creating $ac_file" >&5
20197 echo "$as_me: creating $ac_file" >&6;}
20200 # Let's still pretend it is `configure' which instantiates (i.e., don't
20201 # use $as_me), people would be surprised to read:
20202 # /* config.h. Generated by config.status. */
20203 if test x
"$ac_file" = x-
; then
20206 configure_input
="$ac_file. "
20208 configure_input
=$configure_input"Generated from `echo $ac_file_in |
20209 sed 's,.*/,,'` by configure."
20211 # First look for the input files in the build tree, otherwise in the
20213 ac_file_inputs
=`IFS=:
20214 for f in $ac_file_in; do
20216 -) echo $tmp/stdin ;;
20218 # Absolute (can't be DOS-style, as IFS=:)
20219 test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
20220 echo "$as_me: error: cannot find input file: $f" >&2;}
20221 { (exit 1); exit 1; }; }
20224 if test -f "$f"; then
20227 elif test -f "$srcdir/$f"; then
20232 { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
20233 echo "$as_me: error: cannot find input file: $f" >&2;}
20234 { (exit 1); exit 1; }; }
20237 done` ||
{ (exit 1); exit 1; }
20239 cat >>$CONFIG_STATUS <<_ACEOF
20243 cat >>$CONFIG_STATUS <<\_ACEOF
20245 /@
[a-zA-Z_
][a-zA-Z_0-9
]*@
/!b
20246 s
,@configure_input@
,$configure_input,;t t
20247 s
,@srcdir@
,$ac_srcdir,;t t
20248 s
,@abs_srcdir@
,$ac_abs_srcdir,;t t
20249 s
,@top_srcdir@
,$ac_top_srcdir,;t t
20250 s
,@abs_top_srcdir@
,$ac_abs_top_srcdir,;t t
20251 s
,@builddir@
,$ac_builddir,;t t
20252 s
,@abs_builddir@
,$ac_abs_builddir,;t t
20253 s
,@top_builddir@
,$ac_top_builddir,;t t
20254 s
,@abs_top_builddir@
,$ac_abs_top_builddir,;t t
20255 s
,@INSTALL@
,$ac_INSTALL,;t t
20256 " $ac_file_inputs | (eval "$ac_sed_cmds") >$tmp/out
20258 if test x"$ac_file" != x-; then
20259 mv $tmp/out $ac_file
20267 cat >>$CONFIG_STATUS <<\_ACEOF
20270 # CONFIG_HEADER section.
20273 # These sed commands are passed to sed as "A NAME B NAME C VALUE D
", where
20274 # NAME is the cpp macro being defined and VALUE is the value it is being given.
20276 # ac_d sets the value in "#define NAME VALUE" lines.
20277 ac_dA
='s,^\([ ]*\)#\([ ]*define[ ][ ]*\)'
20278 ac_dB
='[ ].*$,\1#\2'
20281 # ac_u turns "#undef NAME" without trailing blanks into "#define NAME VALUE".
20282 ac_uA
='s,^\([ ]*\)#\([ ]*\)undef\([ ][ ]*\)'
20283 ac_uB
='$,\1#\2define\3'
20287 for ac_file
in : $CONFIG_HEADERS; do test "x$ac_file" = x
: && continue
20288 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
20290 - |
*:- |
*:-:* ) # input from stdin
20292 ac_file_in
=`echo "$ac_file" | sed 's,[^:]*:,,'`
20293 ac_file
=`echo "$ac_file" | sed 's,:.*,,'` ;;
20294 *:* ) ac_file_in
=`echo "$ac_file" | sed 's,[^:]*:,,'`
20295 ac_file
=`echo "$ac_file" | sed 's,:.*,,'` ;;
20296 * ) ac_file_in
=$ac_file.
in ;;
20299 test x
"$ac_file" != x-
&& { echo "$as_me:$LINENO: creating $ac_file" >&5
20300 echo "$as_me: creating $ac_file" >&6;}
20302 # First look for the input files in the build tree, otherwise in the
20304 ac_file_inputs
=`IFS=:
20305 for f in $ac_file_in; do
20307 -) echo $tmp/stdin ;;
20309 # Absolute (can't be DOS-style, as IFS=:)
20310 test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
20311 echo "$as_me: error: cannot find input file: $f" >&2;}
20312 { (exit 1); exit 1; }; }
20313 # Do quote $f, to prevent DOS paths from being IFS'd.
20316 if test -f "$f"; then
20319 elif test -f "$srcdir/$f"; then
20324 { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
20325 echo "$as_me: error: cannot find input file: $f" >&2;}
20326 { (exit 1); exit 1; }; }
20329 done` ||
{ (exit 1); exit 1; }
20330 # Remove the trailing spaces.
20331 sed 's/[ ]*$//' $ac_file_inputs >$tmp/in
20335 # Transform confdefs.h into two sed scripts, `conftest.defines' and
20336 # `conftest.undefs', that substitutes the proper values into
20337 # config.h.in to produce config.h. The first handles `#define'
20338 # templates, and the second `#undef' templates.
20339 # And first: Protect against being on the right side of a sed subst in
20340 # config.status. Protect against being in an unquoted here document
20341 # in config.status.
20342 rm -f conftest.defines conftest.undefs
20343 # Using a here document instead of a string reduces the quoting nightmare.
20344 # Putting comments in sed scripts is not portable.
20346 # `end' is used to avoid that the second main sed command (meant for
20347 # 0-ary CPP macros) applies to n-ary macro definitions.
20348 # See the Autoconf documentation for `clear'.
20349 cat >confdef2sed.
sed <<\_ACEOF
20354 s,^[ ]*#[ ]*define[ ][ ]*\([^ (][^ (]*\)\(([^)]*)\)[ ]*\(.*\)$,${ac_dA}\1${ac_dB}\1\2${ac_dC}\3${ac_dD},gp
20356 s,^[ ]*#[ ]*define[ ][ ]*\([^ ][^ ]*\)[ ]*\(.*\)$,${ac_dA}\1${ac_dB}\1${ac_dC}\2${ac_dD},gp
20359 # If some macros were called several times there might be several times
20360 # the same #defines, which is useless. Nevertheless, we may not want to
20361 # sort them, since we want the *last* AC-DEFINE to be honored.
20362 uniq confdefs.h | sed -n -f confdef2sed.sed >conftest.defines
20363 sed 's/ac_d/ac_u/g' conftest.defines >conftest.undefs
20364 rm -f confdef2sed.sed
20366 # This sed command replaces #undef with comments. This is necessary, for
20367 # example, in the case of _POSIX_SOURCE, which is predefined and required
20368 # on some systems where configure will not decide to define it.
20369 cat >>conftest.undefs <<\_ACEOF
20370 s,^[ ]*#[ ]*undef[ ][ ]*[a-zA-Z_][a-zA-Z_0-9]*,/* & */,
20373 # Break up conftest.defines because some shells have a limit on the size
20374 # of here documents, and old seds have small limits too (100 cmds).
20375 echo ' # Handle all the #define templates only if necessary.' >>$CONFIG_STATUS
20376 echo ' if grep "^[ ]*#[ ]*define" $tmp/in >/dev/null; then' >>$CONFIG_STATUS
20377 echo ' # If there are no defines, we may have an empty if/fi' >>$CONFIG_STATUS
20378 echo ' :' >>$CONFIG_STATUS
20379 rm -f conftest.tail
20380 while grep . conftest.defines >/dev/null
20382 # Write a limited-size here document to $tmp/defines.sed.
20383 echo ' cat >$tmp/defines.sed <<CEOF' >>$CONFIG_STATUS
20384 # Speed up: don't consider the non `#define' lines.
20385 echo '/^[ ]*#[ ]*define/!b' >>$CONFIG_STATUS
20386 # Work around the forget-to-reset-the-flag bug.
20387 echo 't clr' >>$CONFIG_STATUS
20388 echo ': clr' >>$CONFIG_STATUS
20389 sed ${ac_max_here_lines}q conftest.defines
>>$CONFIG_STATUS
20391 sed -f $tmp/defines.sed $tmp/in >$tmp/out
20393 mv $tmp/out $tmp/in
20395 sed 1,${ac_max_here_lines}d conftest.defines
>conftest.
tail
20396 rm -f conftest.defines
20397 mv conftest.
tail conftest.defines
20399 rm -f conftest.defines
20400 echo ' fi # grep' >>$CONFIG_STATUS
20401 echo >>$CONFIG_STATUS
20403 # Break up conftest.undefs because some shells have a limit on the size
20404 # of here documents, and old seds have small limits too (100 cmds).
20405 echo ' # Handle all the #undef templates' >>$CONFIG_STATUS
20406 rm -f conftest.
tail
20407 while grep . conftest.undefs
>/dev
/null
20409 # Write a limited-size here document to $tmp/undefs.sed.
20410 echo ' cat >$tmp/undefs.sed <<CEOF' >>$CONFIG_STATUS
20411 # Speed up: don't consider the non
`#undef'
20412 echo '/^[ ]*#[ ]*undef/!b' >>$CONFIG_STATUS
20413 # Work around the forget-to-reset-the-flag bug.
20414 echo 't clr' >>$CONFIG_STATUS
20415 echo ': clr' >>$CONFIG_STATUS
20416 sed ${ac_max_here_lines}q conftest.undefs >>$CONFIG_STATUS
20418 sed -f $tmp/undefs.sed $tmp/in >$tmp/out
20420 mv $tmp/out $tmp/in
20422 sed 1,${ac_max_here_lines}d conftest.undefs >conftest.tail
20423 rm -f conftest.undefs
20424 mv conftest.tail conftest.undefs
20426 rm -f conftest.undefs
20428 cat >>$CONFIG_STATUS <<\_ACEOF
20429 # Let's still pretend it is `configure
' which instantiates (i.e., don't
20430 # use $as_me), people would be surprised to read:
20431 # /* config.h. Generated by config.status. */
20432 if test x
"$ac_file" = x-
; then
20433 echo "/* Generated by configure. */" >$tmp/config.h
20435 echo "/* $ac_file. Generated by configure. */" >$tmp/config.h
20437 cat $tmp/in >>$tmp/config.h
20439 if test x
"$ac_file" != x-
; then
20440 if diff $ac_file $tmp/config.h
>/dev
/null
2>&1; then
20441 { echo "$as_me:$LINENO: $ac_file is unchanged" >&5
20442 echo "$as_me: $ac_file is unchanged" >&6;}
20444 ac_dir
=`(dirname "$ac_file") 2>/dev/null ||
20445 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
20446 X"$ac_file" : 'X\(//\)[^/]' \| \
20447 X"$ac_file" : 'X\(//\)$' \| \
20448 X"$ac_file" : 'X\(/\)' \| \
20449 . : '\(.\)' 2>/dev/null ||
20451 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
20452 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
20453 /^X\(\/\/\)$/{ s//\1/; q; }
20454 /^X\(\/\).*/{ s//\1/; q; }
20456 { if $as_mkdir_p; then
20461 while test ! -d "$as_dir"; do
20462 as_dirs
="$as_dir $as_dirs"
20463 as_dir
=`(dirname "$as_dir") 2>/dev/null ||
20464 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
20465 X"$as_dir" : 'X\(//\)[^/]' \| \
20466 X"$as_dir" : 'X\(//\)$' \| \
20467 X"$as_dir" : 'X\(/\)' \| \
20468 . : '\(.\)' 2>/dev/null ||
20470 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
20471 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
20472 /^X\(\/\/\)$/{ s//\1/; q; }
20473 /^X\(\/\).*/{ s//\1/; q; }
20476 test ! -n "$as_dirs" || mkdir
$as_dirs
20477 fi ||
{ { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
20478 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
20479 { (exit 1); exit 1; }; }; }
20482 mv $tmp/config.h
$ac_file
20486 rm -f $tmp/config.h
20488 # Compute $ac_file's index in $config_headers.
20490 for _am_header
in $config_headers :; do
20491 case $_am_header in
20492 $ac_file |
$ac_file:* )
20495 _am_stamp_count
=`expr $_am_stamp_count + 1` ;;
20498 echo "timestamp for $ac_file" >`(dirname $ac_file) 2>/dev/null ||
20499 $as_expr X$ac_file : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
20500 X$ac_file : 'X\(//\)[^/]' \| \
20501 X$ac_file : 'X\(//\)$' \| \
20502 X$ac_file : 'X\(/\)' \| \
20503 . : '\(.\)' 2>/dev/null ||
20505 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
20506 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
20507 /^X\(\/\/\)$/{ s//\1/; q; }
20508 /^X\(\/\).*/{ s//\1/; q; }
20509 s/.*/./; q'`/stamp-h
$_am_stamp_count
20512 cat >>$CONFIG_STATUS <<\_ACEOF
20515 # CONFIG_LINKS section.
20518 for ac_file
in : $CONFIG_LINKS; do test "x$ac_file" = x
: && continue
20519 ac_dest
=`echo "$ac_file" | sed 's,:.*,,'`
20520 ac_source
=`echo "$ac_file" | sed 's,[^:]*:,,'`
20522 { echo "$as_me:$LINENO: linking $srcdir/$ac_source to $ac_dest" >&5
20523 echo "$as_me: linking $srcdir/$ac_source to $ac_dest" >&6;}
20525 if test ! -r $srcdir/$ac_source; then
20526 { { echo "$as_me:$LINENO: error: $srcdir/$ac_source: file not found" >&5
20527 echo "$as_me: error: $srcdir/$ac_source: file not found" >&2;}
20528 { (exit 1); exit 1; }; }
20532 # Make relative symlinks.
20533 ac_dest_dir
=`(dirname "$ac_dest") 2>/dev/null ||
20534 $as_expr X"$ac_dest" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
20535 X"$ac_dest" : 'X\(//\)[^/]' \| \
20536 X"$ac_dest" : 'X\(//\)$' \| \
20537 X"$ac_dest" : 'X\(/\)' \| \
20538 . : '\(.\)' 2>/dev/null ||
20540 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
20541 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
20542 /^X\(\/\/\)$/{ s//\1/; q; }
20543 /^X\(\/\).*/{ s//\1/; q; }
20545 { if $as_mkdir_p; then
20546 mkdir
-p "$ac_dest_dir"
20548 as_dir
="$ac_dest_dir"
20550 while test ! -d "$as_dir"; do
20551 as_dirs
="$as_dir $as_dirs"
20552 as_dir
=`(dirname "$as_dir") 2>/dev/null ||
20553 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
20554 X"$as_dir" : 'X\(//\)[^/]' \| \
20555 X"$as_dir" : 'X\(//\)$' \| \
20556 X"$as_dir" : 'X\(/\)' \| \
20557 . : '\(.\)' 2>/dev/null ||
20559 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
20560 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
20561 /^X\(\/\/\)$/{ s//\1/; q; }
20562 /^X\(\/\).*/{ s//\1/; q; }
20565 test ! -n "$as_dirs" || mkdir
$as_dirs
20566 fi ||
{ { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dest_dir\"" >&5
20567 echo "$as_me: error: cannot create directory \"$ac_dest_dir\"" >&2;}
20568 { (exit 1); exit 1; }; }; }
20572 if test "$ac_dest_dir" != .
; then
20573 ac_dir_suffix
=/`echo "$ac_dest_dir" | sed 's,^\.[\\/],,'`
20574 # A "../" for each directory in $ac_dir_suffix.
20575 ac_top_builddir
=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
20577 ac_dir_suffix
= ac_top_builddir
=
20581 .
) # No --srcdir option. We are building in place.
20583 if test -z "$ac_top_builddir"; then
20586 ac_top_srcdir
=`echo $ac_top_builddir | sed 's,/$,,'`
20588 [\\/]* | ?
:[\\/]* ) # Absolute path.
20589 ac_srcdir
=$srcdir$ac_dir_suffix;
20590 ac_top_srcdir
=$srcdir ;;
20591 *) # Relative path.
20592 ac_srcdir
=$ac_top_builddir$srcdir$ac_dir_suffix
20593 ac_top_srcdir
=$ac_top_builddir$srcdir ;;
20596 # Do not use `cd foo && pwd` to compute absolute paths, because
20597 # the directories may not exist.
20599 .
) ac_abs_builddir
="$ac_dest_dir";;
20601 case "$ac_dest_dir" in
20602 .
) ac_abs_builddir
=`pwd`;;
20603 [\\/]* | ?
:[\\/]* ) ac_abs_builddir
="$ac_dest_dir";;
20604 *) ac_abs_builddir
=`pwd`/"$ac_dest_dir";;
20607 case $ac_abs_builddir in
20608 .
) ac_abs_top_builddir
=${ac_top_builddir}.
;;
20610 case ${ac_top_builddir}.
in
20611 .
) ac_abs_top_builddir
=$ac_abs_builddir;;
20612 [\\/]* | ?
:[\\/]* ) ac_abs_top_builddir
=${ac_top_builddir}.
;;
20613 *) ac_abs_top_builddir
=$ac_abs_builddir/${ac_top_builddir}.
;;
20616 case $ac_abs_builddir in
20617 .
) ac_abs_srcdir
=$ac_srcdir;;
20620 .
) ac_abs_srcdir
=$ac_abs_builddir;;
20621 [\\/]* | ?
:[\\/]* ) ac_abs_srcdir
=$ac_srcdir;;
20622 *) ac_abs_srcdir
=$ac_abs_builddir/$ac_srcdir;;
20625 case $ac_abs_builddir in
20626 .
) ac_abs_top_srcdir
=$ac_top_srcdir;;
20628 case $ac_top_srcdir in
20629 .
) ac_abs_top_srcdir
=$ac_abs_builddir;;
20630 [\\/]* | ?
:[\\/]* ) ac_abs_top_srcdir
=$ac_top_srcdir;;
20631 *) ac_abs_top_srcdir
=$ac_abs_builddir/$ac_top_srcdir;;
20637 [\\/$
]* | ?
:[\\/]* ) ac_rel_source
=$srcdir/$ac_source ;;
20638 *) ac_rel_source
=$ac_top_builddir$srcdir/$ac_source ;;
20641 # Try a symlink, then a hard link, then a copy.
20642 ln -s $ac_rel_source $ac_dest 2>/dev
/null ||
20643 ln $srcdir/$ac_source $ac_dest 2>/dev
/null ||
20644 cp -p $srcdir/$ac_source $ac_dest ||
20645 { { echo "$as_me:$LINENO: error: cannot link or copy $srcdir/$ac_source to $ac_dest" >&5
20646 echo "$as_me: error: cannot link or copy $srcdir/$ac_source to $ac_dest" >&2;}
20647 { (exit 1); exit 1; }; }
20650 cat >>$CONFIG_STATUS <<\_ACEOF
20653 # CONFIG_COMMANDS section.
20655 for ac_file
in : $CONFIG_COMMANDS; do test "x$ac_file" = x
: && continue
20656 ac_dest
=`echo "$ac_file" | sed 's,:.*,,'`
20657 ac_source
=`echo "$ac_file" | sed 's,[^:]*:,,'`
20658 ac_dir
=`(dirname "$ac_dest") 2>/dev/null ||
20659 $as_expr X"$ac_dest" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
20660 X"$ac_dest" : 'X\(//\)[^/]' \| \
20661 X"$ac_dest" : 'X\(//\)$' \| \
20662 X"$ac_dest" : 'X\(/\)' \| \
20663 . : '\(.\)' 2>/dev/null ||
20665 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
20666 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
20667 /^X\(\/\/\)$/{ s//\1/; q; }
20668 /^X\(\/\).*/{ s//\1/; q; }
20670 { if $as_mkdir_p; then
20675 while test ! -d "$as_dir"; do
20676 as_dirs
="$as_dir $as_dirs"
20677 as_dir
=`(dirname "$as_dir") 2>/dev/null ||
20678 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
20679 X"$as_dir" : 'X\(//\)[^/]' \| \
20680 X"$as_dir" : 'X\(//\)$' \| \
20681 X"$as_dir" : 'X\(/\)' \| \
20682 . : '\(.\)' 2>/dev/null ||
20684 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
20685 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
20686 /^X\(\/\/\)$/{ s//\1/; q; }
20687 /^X\(\/\).*/{ s//\1/; q; }
20690 test ! -n "$as_dirs" || mkdir
$as_dirs
20691 fi ||
{ { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
20692 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
20693 { (exit 1); exit 1; }; }; }
20697 if test "$ac_dir" != .
; then
20698 ac_dir_suffix
=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
20699 # A "../" for each directory in $ac_dir_suffix.
20700 ac_top_builddir
=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
20702 ac_dir_suffix
= ac_top_builddir
=
20706 .
) # No --srcdir option. We are building in place.
20708 if test -z "$ac_top_builddir"; then
20711 ac_top_srcdir
=`echo $ac_top_builddir | sed 's,/$,,'`
20713 [\\/]* | ?
:[\\/]* ) # Absolute path.
20714 ac_srcdir
=$srcdir$ac_dir_suffix;
20715 ac_top_srcdir
=$srcdir ;;
20716 *) # Relative path.
20717 ac_srcdir
=$ac_top_builddir$srcdir$ac_dir_suffix
20718 ac_top_srcdir
=$ac_top_builddir$srcdir ;;
20721 # Do not use `cd foo && pwd` to compute absolute paths, because
20722 # the directories may not exist.
20724 .
) ac_abs_builddir
="$ac_dir";;
20727 .
) ac_abs_builddir
=`pwd`;;
20728 [\\/]* | ?
:[\\/]* ) ac_abs_builddir
="$ac_dir";;
20729 *) ac_abs_builddir
=`pwd`/"$ac_dir";;
20732 case $ac_abs_builddir in
20733 .
) ac_abs_top_builddir
=${ac_top_builddir}.
;;
20735 case ${ac_top_builddir}.
in
20736 .
) ac_abs_top_builddir
=$ac_abs_builddir;;
20737 [\\/]* | ?
:[\\/]* ) ac_abs_top_builddir
=${ac_top_builddir}.
;;
20738 *) ac_abs_top_builddir
=$ac_abs_builddir/${ac_top_builddir}.
;;
20741 case $ac_abs_builddir in
20742 .
) ac_abs_srcdir
=$ac_srcdir;;
20745 .
) ac_abs_srcdir
=$ac_abs_builddir;;
20746 [\\/]* | ?
:[\\/]* ) ac_abs_srcdir
=$ac_srcdir;;
20747 *) ac_abs_srcdir
=$ac_abs_builddir/$ac_srcdir;;
20750 case $ac_abs_builddir in
20751 .
) ac_abs_top_srcdir
=$ac_top_srcdir;;
20753 case $ac_top_srcdir in
20754 .
) ac_abs_top_srcdir
=$ac_abs_builddir;;
20755 [\\/]* | ?
:[\\/]* ) ac_abs_top_srcdir
=$ac_top_srcdir;;
20756 *) ac_abs_top_srcdir
=$ac_abs_builddir/$ac_top_srcdir;;
20761 { echo "$as_me:$LINENO: executing $ac_dest commands" >&5
20762 echo "$as_me: executing $ac_dest commands" >&6;}
20764 depfiles
) test x
"$AMDEP_TRUE" != x
"" ||
for mf
in $CONFIG_FILES; do
20765 # Strip MF so we end up with the name of the file.
20766 mf
=`echo "$mf" | sed -e 's/:.*$//'`
20767 # Check whether this is an Automake generated Makefile or not.
20768 # We used to match only the files named `Makefile.in', but
20769 # some people rename them; so instead we look at the file content.
20770 # Grep'ing the first line is not enough: some people post-process
20771 # each Makefile.in and add a new line on top of each file to say so.
20772 # So let's grep whole file.
20773 if grep '^#.*generated by automake' $mf > /dev
/null
2>&1; then
20774 dirpart
=`(dirname "$mf") 2>/dev/null ||
20775 $as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
20776 X"$mf" : 'X\(//\)[^/]' \| \
20777 X"$mf" : 'X\(//\)$' \| \
20778 X"$mf" : 'X\(/\)' \| \
20779 . : '\(.\)' 2>/dev/null ||
20781 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
20782 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
20783 /^X\(\/\/\)$/{ s//\1/; q; }
20784 /^X\(\/\).*/{ s//\1/; q; }
20789 # Extract the definition of DEPDIR, am__include, and am__quote
20790 # from the Makefile without running `make'.
20791 DEPDIR
=`sed -n 's/^DEPDIR = //p' < "$mf"`
20792 test -z "$DEPDIR" && continue
20793 am__include
=`sed -n 's/^am__include = //p' < "$mf"`
20794 test -z "am__include" && continue
20795 am__quote
=`sed -n 's/^am__quote = //p' < "$mf"`
20796 # When using ansi2knr, U may be empty or an underscore; expand it
20797 U
=`sed -n 's/^U = //p' < "$mf"`
20798 # Find all dependency output files, they are included files with
20799 # $(DEPDIR) in their names. We invoke sed twice because it is the
20800 # simplest approach to changing $(DEPDIR) to its actual value in the
20802 for file in `sed -n "
20803 s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
20804 sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do
20805 # Make sure the directory exists.
20806 test -f "$dirpart/$file" && continue
20807 fdir
=`(dirname "$file") 2>/dev/null ||
20808 $as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
20809 X"$file" : 'X\(//\)[^/]' \| \
20810 X"$file" : 'X\(//\)$' \| \
20811 X"$file" : 'X\(/\)' \| \
20812 . : '\(.\)' 2>/dev/null ||
20814 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
20815 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
20816 /^X\(\/\/\)$/{ s//\1/; q; }
20817 /^X\(\/\).*/{ s//\1/; q; }
20819 { if $as_mkdir_p; then
20820 mkdir
-p $dirpart/$fdir
20822 as_dir
=$dirpart/$fdir
20824 while test ! -d "$as_dir"; do
20825 as_dirs
="$as_dir $as_dirs"
20826 as_dir
=`(dirname "$as_dir") 2>/dev/null ||
20827 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
20828 X"$as_dir" : 'X\(//\)[^/]' \| \
20829 X"$as_dir" : 'X\(//\)$' \| \
20830 X"$as_dir" : 'X\(/\)' \| \
20831 . : '\(.\)' 2>/dev/null ||
20833 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
20834 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
20835 /^X\(\/\/\)$/{ s//\1/; q; }
20836 /^X\(\/\).*/{ s//\1/; q; }
20839 test ! -n "$as_dirs" || mkdir
$as_dirs
20840 fi ||
{ { echo "$as_me:$LINENO: error: cannot create directory $dirpart/$fdir" >&5
20841 echo "$as_me: error: cannot create directory $dirpart/$fdir" >&2;}
20842 { (exit 1); exit 1; }; }; }
20844 # echo "creating $dirpart/$file"
20845 echo '# dummy' > "$dirpart/$file"
20849 mkcollections.pl
) chmod 755 lib
/mkcollections.pl
;;
20851 { echo "$as_me:$LINENO: creating $ac_stdint_h : $_ac_stdint_h" >&5
20852 echo "$as_me: creating $ac_stdint_h : $_ac_stdint_h" >&6;}
20853 ac_stdint
=$tmp/_stdint.h
20855 echo "#ifndef" $_ac_stdint_h >$ac_stdint
20856 echo "#define" $_ac_stdint_h "1" >>$ac_stdint
20857 echo "#ifndef" _GENERATED_STDINT_H
>>$ac_stdint
20858 echo "#define" _GENERATED_STDINT_H
'"'$PACKAGE $VERSION'"' >>$ac_stdint
20859 echo "/* generated $ac_cv_stdint_message */" >>$ac_stdint
20860 if test "_$ac_cv_header_stdint_t" != "_" ; then
20861 echo "#define _STDINT_HAVE_STDINT_H" "1" >>$ac_stdint
20862 echo "#include <stdint.h>" >>$ac_stdint
20863 echo "#endif" >>$ac_stdint
20864 echo "#endif" >>$ac_stdint
20867 cat >>$ac_stdint <<STDINT_EOF
20869 /* ................... shortcircuit part ........................... */
20871 #if defined HAVE_STDINT_H || defined _STDINT_HAVE_STDINT_H
20872 #include <stdint.h>
20874 #include <stddef.h>
20876 /* .................... configured part ............................ */
20880 echo "/* whether we have a C99 compatible stdint header file */" >>$ac_stdint
20881 if test "_$ac_cv_header_stdint_x" != "_" ; then
20882 ac_header
="$ac_cv_header_stdint_x"
20883 echo "#define _STDINT_HEADER_INTPTR" '"'"$ac_header"'"' >>$ac_stdint
20885 echo "/* #undef _STDINT_HEADER_INTPTR */" >>$ac_stdint
20888 echo "/* whether we have a C96 compatible inttypes header file */" >>$ac_stdint
20889 if test "_$ac_cv_header_stdint_o" != "_" ; then
20890 ac_header
="$ac_cv_header_stdint_o"
20891 echo "#define _STDINT_HEADER_UINT32" '"'"$ac_header"'"' >>$ac_stdint
20893 echo "/* #undef _STDINT_HEADER_UINT32 */" >>$ac_stdint
20896 echo "/* whether we have a BSD compatible inet types header */" >>$ac_stdint
20897 if test "_$ac_cv_header_stdint_u" != "_" ; then
20898 ac_header
="$ac_cv_header_stdint_u"
20899 echo "#define _STDINT_HEADER_U_INT32" '"'"$ac_header"'"' >>$ac_stdint
20901 echo "/* #undef _STDINT_HEADER_U_INT32 */" >>$ac_stdint
20904 echo "" >>$ac_stdint
20906 if test "_$ac_header" != "_" ; then if test "$ac_header" != "stddef.h" ; then
20907 echo "#include <$ac_header>" >>$ac_stdint
20908 echo "" >>$ac_stdint
20911 echo "/* which 64bit typedef has been found */" >>$ac_stdint
20912 if test "$ac_cv_type_uint64_t" = "yes" ; then
20913 echo "#define _STDINT_HAVE_UINT64_T" "1" >>$ac_stdint
20915 echo "/* #undef _STDINT_HAVE_UINT64_T */" >>$ac_stdint
20917 if test "$ac_cv_type_u_int64_t" = "yes" ; then
20918 echo "#define _STDINT_HAVE_U_INT64_T" "1" >>$ac_stdint
20920 echo "/* #undef _STDINT_HAVE_U_INT64_T */" >>$ac_stdint
20922 echo "" >>$ac_stdint
20924 echo "/* which type model has been detected */" >>$ac_stdint
20925 if test "_$ac_cv_char_data_model" != "_" ; then
20926 echo "#define _STDINT_CHAR_MODEL" "$ac_cv_char_data_model" >>$ac_stdint
20927 echo "#define _STDINT_LONG_MODEL" "$ac_cv_long_data_model" >>$ac_stdint
20929 echo "/* #undef _STDINT_CHAR_MODEL // skipped */" >>$ac_stdint
20930 echo "/* #undef _STDINT_LONG_MODEL // skipped */" >>$ac_stdint
20932 echo "" >>$ac_stdint
20934 echo "/* whether int_least types were detected */" >>$ac_stdint
20935 if test "$ac_cv_type_int_least32_t" = "yes"; then
20936 echo "#define _STDINT_HAVE_INT_LEAST32_T" "1" >>$ac_stdint
20938 echo "/* #undef _STDINT_HAVE_INT_LEAST32_T */" >>$ac_stdint
20940 echo "/* whether int_fast types were detected */" >>$ac_stdint
20941 if test "$ac_cv_type_int_fast32_t" = "yes"; then
20942 echo "#define _STDINT_HAVE_INT_FAST32_T" "1" >>$ac_stdint
20944 echo "/* #undef _STDINT_HAVE_INT_FAST32_T */" >>$ac_stdint
20946 echo "/* whether intmax_t type was detected */" >>$ac_stdint
20947 if test "$ac_cv_type_intmax_t" = "yes"; then
20948 echo "#define _STDINT_HAVE_INTMAX_T" "1" >>$ac_stdint
20950 echo "/* #undef _STDINT_HAVE_INTMAX_T */" >>$ac_stdint
20952 echo "" >>$ac_stdint
20954 cat >>$ac_stdint <<STDINT_EOF
20955 /* .................... detections part ............................ */
20957 /* whether we need to define bitspecific types from compiler base types */
20958 #ifndef _STDINT_HEADER_INTPTR
20959 #ifndef _STDINT_HEADER_UINT32
20960 #ifndef _STDINT_HEADER_U_INT32
20961 #define _STDINT_NEED_INT_MODEL_T
20963 #define _STDINT_HAVE_U_INT_TYPES
20968 #ifdef _STDINT_HAVE_U_INT_TYPES
20969 #undef _STDINT_NEED_INT_MODEL_T
20972 #ifdef _STDINT_CHAR_MODEL
20973 #if _STDINT_CHAR_MODEL+0 == 122 || _STDINT_CHAR_MODEL+0 == 124
20974 #ifndef _STDINT_BYTE_MODEL
20975 #define _STDINT_BYTE_MODEL 12
20980 #ifndef _STDINT_HAVE_INT_LEAST32_T
20981 #define _STDINT_NEED_INT_LEAST_T
20984 #ifndef _STDINT_HAVE_INT_FAST32_T
20985 #define _STDINT_NEED_INT_FAST_T
20988 #ifndef _STDINT_HEADER_INTPTR
20989 #define _STDINT_NEED_INTPTR_T
20990 #ifndef _STDINT_HAVE_INTMAX_T
20991 #define _STDINT_NEED_INTMAX_T
20996 /* .................... definition part ............................ */
20998 /* some system headers have good uint64_t */
20999 #ifndef _HAVE_UINT64_T
21000 #if defined _STDINT_HAVE_UINT64_T || defined HAVE_UINT64_T
21001 #define _HAVE_UINT64_T
21002 #elif defined _STDINT_HAVE_U_INT64_T || defined HAVE_U_INT64_T
21003 #define _HAVE_UINT64_T
21004 typedef u_int64_t uint64_t;
21008 #ifndef _HAVE_UINT64_T
21009 /* .. here are some common heuristics using compiler runtime specifics */
21010 #if defined __STDC_VERSION__ && defined __STDC_VERSION__ >= 199901L
21011 #define _HAVE_UINT64_T
21012 #define _HAVE_LONGLONG_UINT64_T
21013 typedef long long int64_t;
21014 typedef unsigned long long uint64_t;
21016 #elif !defined __STRICT_ANSI__
21017 #if defined _MSC_VER || defined __WATCOMC__ || defined __BORLANDC__
21018 #define _HAVE_UINT64_T
21019 typedef __int64 int64_t;
21020 typedef unsigned __int64 uint64_t;
21022 #elif defined __GNUC__ || defined __MWERKS__ || defined __ELF__
21023 /* note: all ELF-systems seem to have loff-support which needs 64-bit */
21024 #if !defined _NO_LONGLONG
21025 #define _HAVE_UINT64_T
21026 #define _HAVE_LONGLONG_UINT64_T
21027 typedef long long int64_t;
21028 typedef unsigned long long uint64_t;
21031 #elif defined __alpha || (defined __mips && defined _ABIN32)
21032 #if !defined _NO_LONGLONG
21033 typedef long int64_t;
21034 typedef unsigned long uint64_t;
21036 /* compiler/cpu type to define int64_t */
21041 #if defined _STDINT_HAVE_U_INT_TYPES
21042 /* int8_t int16_t int32_t defined by inet code, redeclare the u_intXX types */
21043 typedef u_int8_t uint8_t;
21044 typedef u_int16_t uint16_t;
21045 typedef u_int32_t uint32_t;
21047 /* glibc compatibility */
21048 #ifndef __int8_t_defined
21049 #define __int8_t_defined
21053 #ifdef _STDINT_NEED_INT_MODEL_T
21054 /* we must guess all the basic types. Apart from byte-adressable system, */
21055 /* there a few 32-bit-only dsp-systems that we guard with BYTE_MODEL 8-} */
21056 /* (btw, those nibble-addressable systems are way off, or so we assume) */
21059 #if defined _STDINT_BYTE_MODEL
21060 #if _STDINT_LONG_MODEL+0 == 242
21061 /* 2:4:2 = IP16 = a normal 16-bit system */
21062 typedef unsigned char uint8_t;
21063 typedef unsigned short uint16_t;
21064 typedef unsigned long uint32_t;
21065 #ifndef __int8_t_defined
21066 #define __int8_t_defined
21067 typedef char int8_t;
21068 typedef short int16_t;
21069 typedef long int32_t;
21071 #elif _STDINT_LONG_MODEL+0 == 244 || _STDINT_LONG_MODEL == 444
21072 /* 2:4:4 = LP32 = a 32-bit system derived from a 16-bit */
21073 /* 4:4:4 = ILP32 = a normal 32-bit system */
21074 typedef unsigned char uint8_t;
21075 typedef unsigned short uint16_t;
21076 typedef unsigned int uint32_t;
21077 #ifndef __int8_t_defined
21078 #define __int8_t_defined
21079 typedef char int8_t;
21080 typedef short int16_t;
21081 typedef int int32_t;
21083 #elif _STDINT_LONG_MODEL+0 == 484 || _STDINT_LONG_MODEL+0 == 488
21084 /* 4:8:4 = IP32 = a 32-bit system prepared for 64-bit */
21085 /* 4:8:8 = LP64 = a normal 64-bit system */
21086 typedef unsigned char uint8_t;
21087 typedef unsigned short uint16_t;
21088 typedef unsigned int uint32_t;
21089 #ifndef __int8_t_defined
21090 #define __int8_t_defined
21091 typedef char int8_t;
21092 typedef short int16_t;
21093 typedef int int32_t;
21095 /* this system has a "long" of 64bit */
21096 #ifndef _HAVE_UINT64_T
21097 #define _HAVE_UINT64_T
21098 typedef unsigned long uint64_t;
21099 typedef long int64_t;
21101 #elif _STDINT_LONG_MODEL+0 == 448
21102 /* LLP64 a 64-bit system derived from a 32-bit system */
21103 typedef unsigned char uint8_t;
21104 typedef unsigned short uint16_t;
21105 typedef unsigned int uint32_t;
21106 #ifndef __int8_t_defined
21107 #define __int8_t_defined
21108 typedef char int8_t;
21109 typedef short int16_t;
21110 typedef int int32_t;
21112 /* assuming the system has a "long long" */
21113 #ifndef _HAVE_UINT64_T
21114 #define _HAVE_UINT64_T
21115 #define _HAVE_LONGLONG_UINT64_T
21116 typedef unsigned long long uint64_t;
21117 typedef long long int64_t;
21120 #define _STDINT_NO_INT32_T
21123 #define _STDINT_NO_INT8_T
21124 #define _STDINT_NO_INT32_T
21129 * quote from SunOS-5.8 sys/inttypes.h:
21130 * Use at your own risk. As of February 1996, the committee is squarely
21131 * behind the fixed sized types; the "least" and "fast" types are still being
21132 * discussed. The probability that the "fast" types may be removed before
21133 * the standard is finalized is high enough that they are not currently
21137 #if defined _STDINT_NEED_INT_LEAST_T
21138 typedef int8_t int_least8_t;
21139 typedef int16_t int_least16_t;
21140 typedef int32_t int_least32_t;
21141 #ifdef _HAVE_UINT64_T
21142 typedef int64_t int_least64_t;
21145 typedef uint8_t uint_least8_t;
21146 typedef uint16_t uint_least16_t;
21147 typedef uint32_t uint_least32_t;
21148 #ifdef _HAVE_UINT64_T
21149 typedef uint64_t uint_least64_t;
21154 #if defined _STDINT_NEED_INT_FAST_T
21155 typedef int8_t int_fast8_t;
21156 typedef int int_fast16_t;
21157 typedef int32_t int_fast32_t;
21158 #ifdef _HAVE_UINT64_T
21159 typedef int64_t int_fast64_t;
21162 typedef uint8_t uint_fast8_t;
21163 typedef unsigned uint_fast16_t;
21164 typedef uint32_t uint_fast32_t;
21165 #ifdef _HAVE_UINT64_T
21166 typedef uint64_t uint_fast64_t;
21171 #ifdef _STDINT_NEED_INTMAX_T
21172 #ifdef _HAVE_UINT64_T
21173 typedef int64_t intmax_t;
21174 typedef uint64_t uintmax_t;
21176 typedef long intmax_t;
21177 typedef unsigned long uintmax_t;
21181 #ifdef _STDINT_NEED_INTPTR_T
21182 #ifndef __intptr_t_defined
21183 #define __intptr_t_defined
21184 /* we encourage using "long" to store pointer values, never use "int" ! */
21185 #if _STDINT_LONG_MODEL+0 == 242 || _STDINT_LONG_MODEL+0 == 484
21186 typedef unsigned int uintptr_t;
21187 typedef int intptr_t;
21188 #elif _STDINT_LONG_MODEL+0 == 244 || _STDINT_LONG_MODEL+0 == 444
21189 typedef unsigned long uintptr_t;
21190 typedef long intptr_t;
21191 #elif _STDINT_LONG_MODEL+0 == 448 && defined _HAVE_UINT64_T
21192 typedef uint64_t uintptr_t;
21193 typedef int64_t intptr_t;
21194 #else /* matches typical system types ILP32 and LP64 - but not IP16 or LLP64 */
21195 typedef unsigned long uintptr_t;
21196 typedef long intptr_t;
21201 /* The ISO C99 standard specifies that in C++ implementations these
21202 should only be defined if explicitly requested. */
21203 #if !defined __cplusplus || defined __STDC_CONSTANT_MACROS
21207 # define INT8_C(c) c
21208 # define INT16_C(c) c
21209 # define INT32_C(c) c
21210 # ifdef _HAVE_LONGLONG_UINT64_T
21211 # define INT64_C(c) c ## L
21213 # define INT64_C(c) c ## LL
21217 # define UINT8_C(c) c ## U
21218 # define UINT16_C(c) c ## U
21219 # define UINT32_C(c) c ## U
21220 # ifdef _HAVE_LONGLONG_UINT64_T
21221 # define UINT64_C(c) c ## UL
21223 # define UINT64_C(c) c ## ULL
21226 /* Maximal type. */
21227 # ifdef _HAVE_LONGLONG_UINT64_T
21228 # define INTMAX_C(c) c ## L
21229 # define UINTMAX_C(c) c ## UL
21231 # define INTMAX_C(c) c ## LL
21232 # define UINTMAX_C(c) c ## ULL
21235 /* literalnumbers */
21239 /* These limits are merily those of a two complement byte-oriented system */
21241 /* Minimum of signed integral types. */
21242 # define INT8_MIN (-128)
21243 # define INT16_MIN (-32767-1)
21244 # define INT32_MIN (-2147483647-1)
21245 # define INT64_MIN (-__INT64_C(9223372036854775807)-1)
21246 /* Maximum of signed integral types. */
21247 # define INT8_MAX (127)
21248 # define INT16_MAX (32767)
21249 # define INT32_MAX (2147483647)
21250 # define INT64_MAX (__INT64_C(9223372036854775807))
21252 /* Maximum of unsigned integral types. */
21253 # define UINT8_MAX (255)
21254 # define UINT16_MAX (65535)
21255 # define UINT32_MAX (4294967295U)
21256 # define UINT64_MAX (__UINT64_C(18446744073709551615))
21258 /* Minimum of signed integral types having a minimum size. */
21259 # define INT_LEAST8_MIN INT8_MIN
21260 # define INT_LEAST16_MIN INT16_MIN
21261 # define INT_LEAST32_MIN INT32_MIN
21262 # define INT_LEAST64_MIN INT64_MIN
21263 /* Maximum of signed integral types having a minimum size. */
21264 # define INT_LEAST8_MAX INT8_MAX
21265 # define INT_LEAST16_MAX INT16_MAX
21266 # define INT_LEAST32_MAX INT32_MAX
21267 # define INT_LEAST64_MAX INT64_MAX
21269 /* Maximum of unsigned integral types having a minimum size. */
21270 # define UINT_LEAST8_MAX UINT8_MAX
21271 # define UINT_LEAST16_MAX UINT16_MAX
21272 # define UINT_LEAST32_MAX UINT32_MAX
21273 # define UINT_LEAST64_MAX UINT64_MAX
21282 if cmp -s $ac_stdint_h $ac_stdint 2>/dev
/null
; then
21283 { echo "$as_me:$LINENO: $ac_stdint_h is unchanged" >&5
21284 echo "$as_me: $ac_stdint_h is unchanged" >&6;}
21286 ac_dir
=`(dirname "$ac_stdint_h") 2>/dev/null ||
21287 $as_expr X"$ac_stdint_h" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
21288 X"$ac_stdint_h" : 'X\(//\)[^/]' \| \
21289 X"$ac_stdint_h" : 'X\(//\)$' \| \
21290 X"$ac_stdint_h" : 'X\(/\)' \| \
21291 . : '\(.\)' 2>/dev/null ||
21292 echo X"$ac_stdint_h" |
21293 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
21294 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
21295 /^X\(\/\/\)$/{ s//\1/; q; }
21296 /^X\(\/\).*/{ s//\1/; q; }
21298 { if $as_mkdir_p; then
21303 while test ! -d "$as_dir"; do
21304 as_dirs
="$as_dir $as_dirs"
21305 as_dir
=`(dirname "$as_dir") 2>/dev/null ||
21306 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
21307 X"$as_dir" : 'X\(//\)[^/]' \| \
21308 X"$as_dir" : 'X\(//\)$' \| \
21309 X"$as_dir" : 'X\(/\)' \| \
21310 . : '\(.\)' 2>/dev/null ||
21312 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
21313 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
21314 /^X\(\/\/\)$/{ s//\1/; q; }
21315 /^X\(\/\).*/{ s//\1/; q; }
21318 test ! -n "$as_dirs" || mkdir
$as_dirs
21319 fi ||
{ { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
21320 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
21321 { (exit 1); exit 1; }; }; }
21324 mv $ac_stdint $ac_stdint_h
21327 gappletviewer
) chmod 755 tools
/gappletviewer
;;
21328 gjarsigner
) chmod 755 tools
/gjarsigner
;;
21329 gkeytool
) chmod 755 tools
/gkeytool
;;
21330 gjar
) chmod 755 tools
/gjar
;;
21331 gnative2ascii
) chmod 755 tools
/gnative2ascii
;;
21332 gserialver
) chmod 755 tools
/gserialver
;;
21333 appletviewer
) chmod 755 tools
/appletviewer
;;
21334 jarsigner
) chmod 755 tools
/jarsigner
;;
21335 keytool
) chmod 755 tools
/keytool
;;
21336 gen-classlist
) chmod 755 lib
/gen-classlist.sh
;;
21337 copy-vmresources
) chmod 755 lib
/copy-vmresources.sh
;;
21342 cat >>$CONFIG_STATUS <<\_ACEOF
21344 { (exit 0); exit 0; }
21346 chmod +x
$CONFIG_STATUS
21347 ac_clean_files
=$ac_clean_files_save
21350 # configure is writing to config.log, and then calls config.status.
21351 # config.status does its own redirection, appending to config.log.
21352 # Unfortunately, on DOS this fails, as config.log is still kept open
21353 # by configure, so config.status won't be able to write to it; its
21354 # output is simply discarded. So we exec the FD to /dev/null,
21355 # effectively closing config.log, so it can be properly (re)opened and
21356 # appended to by config.status. When coming back to configure, we
21357 # need to make the FD available again.
21358 if test "$no_create" != yes; then
21360 ac_config_status_args
=
21361 test "$silent" = yes &&
21362 ac_config_status_args
="$ac_config_status_args --quiet"
21364 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success
=false
21366 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
21367 # would make configure fail if this is the last instruction.
21368 $ac_cs_success ||
{ (exit 1); exit 1; }
21372 # Create standard.omit based on decisions we just made.
21373 cat ${srcdir}/lib
/standard.omit.
in > lib
/standard.omit
21374 if test x
$use_escher != xtrue
; then
21375 echo gnu
/java
/awt
/peer
/x
/.
*java$
>> lib
/standard.omit