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 toolexeclibdir nativeexeclibdir glibjdir VM_BINARY FOUND_CACAO_TRUE FOUND_CACAO_FALSE CREATE_JNI_HEADERS_TRUE CREATE_JNI_HEADERS_FALSE CREATE_WRAPPERS_TRUE CREATE_WRAPPERS_FALSE LN_S 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 multi_os_directory
=`$CC -print-multi-os-directory`
4278 case $multi_os_directory in
4279 .
) toolexeclibdir
=${libdir} ;; # Avoid trailing /.
4280 *) toolexeclibdir
=${libdir}/${multi_os_directory} ;;
4286 # Check whether --with-native-libdir or --without-native-libdir was given.
4287 if test "${with_native_libdir+set}" = set; then
4288 withval
="$with_native_libdir"
4290 nativeexeclibdir
=${withval}
4294 nativeexeclibdir
='${toolexeclibdir}/gcj-'`cat ${srcdir}/../../gcc/BASE-VER`
4301 # Check whether --with-glibj-dir or --without-glibj-dir was given.
4302 if test "${with_glibj_dir+set}" = set; then
4303 withval
="$with_glibj_dir"
4309 glibjdir
='${datadir}/${PACKAGE}'
4316 # Check whether --with-vm or --without-vm was given.
4317 if test "${with_vm+set}" = set; then
4320 VM_BINARY
=${withval}
4324 VM_BINARY
='${prefix}/bin/jamvm'
4331 if test "x`basename $VM_BINARY`" = xcacao
; then
4333 FOUND_CACAO_FALSE
='#'
4335 FOUND_CACAO_TRUE
='#'
4340 # Check whether --enable-regen-headers or --disable-regen-headers was given.
4341 if test "${enable_regen_headers+set}" = set; then
4342 enableval
="$enable_regen_headers"
4343 case "${enableval}" in
4344 yes) REGENERATE_JNI_HEADERS
=yes ;;
4345 no
) REGENERATE_JNI_HEADERS
=no
;;
4346 *) REGENERATE_JNI_HEADERS
=no
;;
4349 REGENERATE_JNI_HEADERS
=no
4353 if test "x${REGENERATE_JNI_HEADERS}" = xyes
; then
4354 CREATE_JNI_HEADERS_TRUE
=
4355 CREATE_JNI_HEADERS_FALSE
='#'
4357 CREATE_JNI_HEADERS_TRUE
='#'
4358 CREATE_JNI_HEADERS_FALSE
=
4362 # Check whether --enable-tool-wrappers or --disable-tool-wrappers was given.
4363 if test "${enable_tool_wrappers+set}" = set; then
4364 enableval
="$enable_tool_wrappers"
4365 case x
"${enableval}" in
4366 xyes
) COMPILE_WRAPPERS
=yes ;;
4367 xno
) COMPILE_WRAPPERS
=no
;;
4368 x
) COMPILE_WRAPPERS
=yes ;;
4369 *) COMPILE_WRAPPERS
=yes ;;
4376 if test "x${COMPILE_WRAPPERS}" = xyes
; then
4377 CREATE_WRAPPERS_TRUE
=
4378 CREATE_WRAPPERS_FALSE
='#'
4380 CREATE_WRAPPERS_TRUE
='#'
4381 CREATE_WRAPPERS_FALSE
=
4385 echo "$as_me:$LINENO: checking whether ln -s works" >&5
4386 echo $ECHO_N "checking whether ln -s works... $ECHO_C" >&6
4388 if test "$LN_S" = "ln -s"; then
4389 echo "$as_me:$LINENO: result: yes" >&5
4390 echo "${ECHO_T}yes" >&6
4392 echo "$as_me:$LINENO: result: no, using $LN_S" >&5
4393 echo "${ECHO_T}no, using $LN_S" >&6
4396 # Find a good install program. We prefer a C program (faster),
4397 # so one script is as good as another. But avoid the broken or
4398 # incompatible versions:
4399 # SysV /etc/install, /usr/sbin/install
4400 # SunOS /usr/etc/install
4401 # IRIX /sbin/install
4403 # AmigaOS /C/install, which installs bootblocks on floppy discs
4404 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
4405 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
4406 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
4407 # OS/2's system install, which has a completely different semantic
4408 # ./install, which can be erroneously created by make from ./install.sh.
4409 echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
4410 echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6
4411 if test -z "$INSTALL"; then
4412 if test "${ac_cv_path_install+set}" = set; then
4413 echo $ECHO_N "(cached) $ECHO_C" >&6
4415 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4419 test -z "$as_dir" && as_dir
=.
4420 # Account for people who put trailing slashes in PATH elements.
4422 .
/ | .
// |
/cC
/* | \
4423 /etc
/* |
/usr
/sbin
/* |
/usr
/etc
/* |
/sbin
/* |
/usr
/afsws
/bin
/* | \
4424 ?
:\\/os2
\\/install\\/* | ?
:\\/OS2
\\/INSTALL
\\/* | \
4427 # OSF1 and SCO ODT 3.0 have their own names for install.
4428 # Don't use installbsd from OSF since it installs stuff as root
4430 for ac_prog
in ginstall scoinst
install; do
4431 for ac_exec_ext
in '' $ac_executable_extensions; do
4432 if $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
4433 if test $ac_prog = install &&
4434 grep dspmsg
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
4435 # AIX install. It has an incompatible calling convention.
4437 elif test $ac_prog = install &&
4438 grep pwplus
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
4439 # program-specific install script used by HP pwplus--don't use.
4442 ac_cv_path_install
="$as_dir/$ac_prog$ac_exec_ext -c"
4454 if test "${ac_cv_path_install+set}" = set; then
4455 INSTALL
=$ac_cv_path_install
4457 # As a last resort, use the slow shell script. We don't cache a
4458 # path for INSTALL within a source directory, because that will
4459 # break other packages using the cache if that directory is
4460 # removed, or if the path is relative.
4461 INSTALL
=$ac_install_sh
4464 echo "$as_me:$LINENO: result: $INSTALL" >&5
4465 echo "${ECHO_T}$INSTALL" >&6
4467 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
4468 # It thinks the first close brace ends the variable substitution.
4469 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM
='${INSTALL}'
4471 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT
='${INSTALL}'
4473 test -z "$INSTALL_DATA" && INSTALL_DATA
='${INSTALL} -m 644'
4477 ac_cpp
='$CXXCPP $CPPFLAGS'
4478 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4479 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4480 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
4481 if test -n "$ac_tool_prefix"; then
4482 for ac_prog
in $CCC g
++ c
++ gpp aCC CC cxx cc
++ cl FCC KCC RCC xlC_r xlC
4484 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
4485 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
4486 echo "$as_me:$LINENO: checking for $ac_word" >&5
4487 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
4488 if test "${ac_cv_prog_CXX+set}" = set; then
4489 echo $ECHO_N "(cached) $ECHO_C" >&6
4491 if test -n "$CXX"; then
4492 ac_cv_prog_CXX
="$CXX" # Let the user override the test.
4494 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4498 test -z "$as_dir" && as_dir
=.
4499 for ac_exec_ext
in '' $ac_executable_extensions; do
4500 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4501 ac_cv_prog_CXX
="$ac_tool_prefix$ac_prog"
4502 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4511 if test -n "$CXX"; then
4512 echo "$as_me:$LINENO: result: $CXX" >&5
4513 echo "${ECHO_T}$CXX" >&6
4515 echo "$as_me:$LINENO: result: no" >&5
4516 echo "${ECHO_T}no" >&6
4519 test -n "$CXX" && break
4522 if test -z "$CXX"; then
4524 for ac_prog
in $CCC g
++ c
++ gpp aCC CC cxx cc
++ cl FCC KCC RCC xlC_r xlC
4526 # Extract the first word of "$ac_prog", so it can be a program name with args.
4527 set dummy
$ac_prog; ac_word
=$2
4528 echo "$as_me:$LINENO: checking for $ac_word" >&5
4529 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
4530 if test "${ac_cv_prog_ac_ct_CXX+set}" = set; then
4531 echo $ECHO_N "(cached) $ECHO_C" >&6
4533 if test -n "$ac_ct_CXX"; then
4534 ac_cv_prog_ac_ct_CXX
="$ac_ct_CXX" # Let the user override the test.
4536 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4540 test -z "$as_dir" && as_dir
=.
4541 for ac_exec_ext
in '' $ac_executable_extensions; do
4542 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4543 ac_cv_prog_ac_ct_CXX
="$ac_prog"
4544 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4552 ac_ct_CXX
=$ac_cv_prog_ac_ct_CXX
4553 if test -n "$ac_ct_CXX"; then
4554 echo "$as_me:$LINENO: result: $ac_ct_CXX" >&5
4555 echo "${ECHO_T}$ac_ct_CXX" >&6
4557 echo "$as_me:$LINENO: result: no" >&5
4558 echo "${ECHO_T}no" >&6
4561 test -n "$ac_ct_CXX" && break
4563 test -n "$ac_ct_CXX" || ac_ct_CXX
="g++"
4569 # Provide some information about the compiler.
4570 echo "$as_me:$LINENO:" \
4571 "checking for C++ compiler version" >&5
4572 ac_compiler
=`set X $ac_compile; echo $2`
4573 { (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5
4574 (eval $ac_compiler --version </dev
/null
>&5) 2>&5
4576 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4577 (exit $ac_status); }
4578 { (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5
4579 (eval $ac_compiler -v </dev
/null
>&5) 2>&5
4581 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4582 (exit $ac_status); }
4583 { (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5
4584 (eval $ac_compiler -V </dev
/null
>&5) 2>&5
4586 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4587 (exit $ac_status); }
4589 echo "$as_me:$LINENO: checking whether we are using the GNU C++ compiler" >&5
4590 echo $ECHO_N "checking whether we are using the GNU C++ compiler... $ECHO_C" >&6
4591 if test "${ac_cv_cxx_compiler_gnu+set}" = set; then
4592 echo $ECHO_N "(cached) $ECHO_C" >&6
4594 cat >conftest.
$ac_ext <<_ACEOF
4597 cat confdefs.h
>>conftest.
$ac_ext
4598 cat >>conftest.
$ac_ext <<_ACEOF
4599 /* end confdefs.h. */
4612 rm -f conftest.
$ac_objext
4613 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4614 (eval $ac_compile) 2>conftest.er1
4616 grep -v '^ *+' conftest.er1
>conftest.err
4618 cat conftest.err
>&5
4619 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4620 (exit $ac_status); } &&
4621 { ac_try
='test -z "$ac_cxx_werror_flag"
4622 || test ! -s conftest.err'
4623 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4626 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4627 (exit $ac_status); }; } &&
4628 { ac_try
='test -s conftest.$ac_objext'
4629 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4632 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4633 (exit $ac_status); }; }; then
4636 echo "$as_me: failed program was:" >&5
4637 sed 's/^/| /' conftest.
$ac_ext >&5
4641 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
4642 ac_cv_cxx_compiler_gnu
=$ac_compiler_gnu
4645 echo "$as_me:$LINENO: result: $ac_cv_cxx_compiler_gnu" >&5
4646 echo "${ECHO_T}$ac_cv_cxx_compiler_gnu" >&6
4647 GXX
=`test $ac_compiler_gnu = yes && echo yes`
4648 ac_test_CXXFLAGS
=${CXXFLAGS+set}
4649 ac_save_CXXFLAGS
=$CXXFLAGS
4651 echo "$as_me:$LINENO: checking whether $CXX accepts -g" >&5
4652 echo $ECHO_N "checking whether $CXX accepts -g... $ECHO_C" >&6
4653 if test "${ac_cv_prog_cxx_g+set}" = set; then
4654 echo $ECHO_N "(cached) $ECHO_C" >&6
4656 cat >conftest.
$ac_ext <<_ACEOF
4659 cat confdefs.h
>>conftest.
$ac_ext
4660 cat >>conftest.
$ac_ext <<_ACEOF
4661 /* end confdefs.h. */
4671 rm -f conftest.
$ac_objext
4672 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4673 (eval $ac_compile) 2>conftest.er1
4675 grep -v '^ *+' conftest.er1
>conftest.err
4677 cat conftest.err
>&5
4678 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4679 (exit $ac_status); } &&
4680 { ac_try
='test -z "$ac_cxx_werror_flag"
4681 || test ! -s conftest.err'
4682 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4685 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4686 (exit $ac_status); }; } &&
4687 { ac_try
='test -s conftest.$ac_objext'
4688 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4691 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4692 (exit $ac_status); }; }; then
4693 ac_cv_prog_cxx_g
=yes
4695 echo "$as_me: failed program was:" >&5
4696 sed 's/^/| /' conftest.
$ac_ext >&5
4700 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
4702 echo "$as_me:$LINENO: result: $ac_cv_prog_cxx_g" >&5
4703 echo "${ECHO_T}$ac_cv_prog_cxx_g" >&6
4704 if test "$ac_test_CXXFLAGS" = set; then
4705 CXXFLAGS
=$ac_save_CXXFLAGS
4706 elif test $ac_cv_prog_cxx_g = yes; then
4707 if test "$GXX" = yes; then
4713 if test "$GXX" = yes; then
4719 for ac_declaration
in \
4721 'extern "C" void std::exit (int) throw (); using std::exit;' \
4722 'extern "C" void std::exit (int); using std::exit;' \
4723 'extern "C" void exit (int) throw ();' \
4724 'extern "C" void exit (int);' \
4727 cat >conftest.
$ac_ext <<_ACEOF
4730 cat confdefs.h
>>conftest.
$ac_ext
4731 cat >>conftest.
$ac_ext <<_ACEOF
4732 /* end confdefs.h. */
4743 rm -f conftest.
$ac_objext
4744 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4745 (eval $ac_compile) 2>conftest.er1
4747 grep -v '^ *+' conftest.er1
>conftest.err
4749 cat conftest.err
>&5
4750 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4751 (exit $ac_status); } &&
4752 { ac_try
='test -z "$ac_cxx_werror_flag"
4753 || test ! -s conftest.err'
4754 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4757 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4758 (exit $ac_status); }; } &&
4759 { ac_try
='test -s conftest.$ac_objext'
4760 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4763 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4764 (exit $ac_status); }; }; then
4767 echo "$as_me: failed program was:" >&5
4768 sed 's/^/| /' conftest.
$ac_ext >&5
4772 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
4773 cat >conftest.
$ac_ext <<_ACEOF
4776 cat confdefs.h
>>conftest.
$ac_ext
4777 cat >>conftest.
$ac_ext <<_ACEOF
4778 /* end confdefs.h. */
4788 rm -f conftest.
$ac_objext
4789 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4790 (eval $ac_compile) 2>conftest.er1
4792 grep -v '^ *+' conftest.er1
>conftest.err
4794 cat conftest.err
>&5
4795 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4796 (exit $ac_status); } &&
4797 { ac_try
='test -z "$ac_cxx_werror_flag"
4798 || test ! -s conftest.err'
4799 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4802 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4803 (exit $ac_status); }; } &&
4804 { ac_try
='test -s conftest.$ac_objext'
4805 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4808 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4809 (exit $ac_status); }; }; then
4812 echo "$as_me: failed program was:" >&5
4813 sed 's/^/| /' conftest.
$ac_ext >&5
4816 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
4819 if test -n "$ac_declaration"; then
4820 echo '#ifdef __cplusplus' >>confdefs.h
4821 echo $ac_declaration >>confdefs.h
4822 echo '#endif' >>confdefs.h
4826 ac_cpp
='$CPP $CPPFLAGS'
4827 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4828 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4829 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
4831 depcc
="$CXX" am_compiler_list
=
4833 echo "$as_me:$LINENO: checking dependency style of $depcc" >&5
4834 echo $ECHO_N "checking dependency style of $depcc... $ECHO_C" >&6
4835 if test "${am_cv_CXX_dependencies_compiler_type+set}" = set; then
4836 echo $ECHO_N "(cached) $ECHO_C" >&6
4838 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
4839 # We make a subdir and do the tests there. Otherwise we can end up
4840 # making bogus files that we don't know about and never remove. For
4841 # instance it was reported that on HP-UX the gcc test will end up
4842 # making a dummy file named `D' -- because `-MD' means `put the output
4845 # Copy depcomp to subdir because otherwise we won't find it if we're
4846 # using a relative directory.
4847 cp "$am_depcomp" conftest.dir
4849 # We will build objects and dependencies in a subdirectory because
4850 # it helps to detect inapplicable dependency modes. For instance
4851 # both Tru64's cc and ICC support -MD to output dependencies as a
4852 # side effect of compilation, but ICC will put the dependencies in
4853 # the current directory while Tru64 will put them in the object
4857 am_cv_CXX_dependencies_compiler_type
=none
4858 if test "$am_compiler_list" = ""; then
4859 am_compiler_list
=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
4861 for depmode
in $am_compiler_list; do
4862 # Setup a source with many dependencies, because some compilers
4863 # like to wrap large dependency lists on column 80 (with \), and
4864 # we should not choose a depcomp mode which is confused by this.
4866 # We need to recreate these files for each test, as the compiler may
4867 # overwrite some of them when testing with obscure command lines.
4868 # This happens at least with the AIX C compiler.
4870 for i
in 1 2 3 4 5 6; do
4871 echo '#include "conftst'$i'.h"' >> sub
/conftest.c
4872 # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
4873 # Solaris 8's {/usr,}/bin/sh.
4874 touch sub
/conftst
$i.h
4876 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
4880 # after this tag, mechanisms are not by side-effect, so they'll
4881 # only be used when explicitly requested
4882 if test "x$enable_dependency_tracking" = xyes
; then
4890 # We check with `-c' and `-o' for the sake of the "dashmstdout"
4891 # mode. It turns out that the SunPro C++ compiler does not properly
4892 # handle `-M -o', and we need to detect this.
4893 if depmode
=$depmode \
4894 source=sub
/conftest.c object
=sub
/conftest.
${OBJEXT-o} \
4895 depfile
=sub
/conftest.Po tmpdepfile
=sub
/conftest.TPo \
4896 $SHELL .
/depcomp
$depcc -c -o sub
/conftest.
${OBJEXT-o} sub
/conftest.c \
4897 >/dev
/null
2>conftest.err
&&
4898 grep sub
/conftst6.h sub
/conftest.Po
> /dev
/null
2>&1 &&
4899 grep sub
/conftest.
${OBJEXT-o} sub
/conftest.Po
> /dev
/null
2>&1 &&
4900 ${MAKE-make} -s -f confmf
> /dev
/null
2>&1; then
4901 # icc doesn't choke on unknown options, it will just issue warnings
4902 # or remarks (even with -Werror). So we grep stderr for any message
4903 # that says an option was ignored or not supported.
4904 # When given -MP, icc 7.0 and 7.1 complain thusly:
4905 # icc: Command line warning: ignoring option '-M'; no argument required
4906 # The diagnosis changed in icc 8.0:
4907 # icc: Command line remark: option '-MP' not supported
4908 if (grep 'ignoring option' conftest.err ||
4909 grep 'not supported' conftest.err
) >/dev
/null
2>&1; then :; else
4910 am_cv_CXX_dependencies_compiler_type
=$depmode
4919 am_cv_CXX_dependencies_compiler_type
=none
4923 echo "$as_me:$LINENO: result: $am_cv_CXX_dependencies_compiler_type" >&5
4924 echo "${ECHO_T}$am_cv_CXX_dependencies_compiler_type" >&6
4925 CXXDEPMODE
=depmode
=$am_cv_CXX_dependencies_compiler_type
4930 test "x$enable_dependency_tracking" != xno \
4931 && test "$am_cv_CXX_dependencies_compiler_type" = gcc3
; then
4932 am__fastdepCXX_TRUE
=
4933 am__fastdepCXX_FALSE
='#'
4935 am__fastdepCXX_TRUE
='#'
4936 am__fastdepCXX_FALSE
=
4940 # Check whether --enable-static or --disable-static was given.
4941 if test "${enable_static+set}" = set; then
4942 enableval
="$enable_static"
4943 p
=${PACKAGE-default}
4945 yes) enable_static
=yes ;;
4946 no
) enable_static
=no
;;
4949 # Look at the argument we got. We use all the common list separators.
4950 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
="${IFS}:,"
4951 for pkg
in $enableval; do
4952 if test "X$pkg" = "X$p"; then
4962 # Check whether --enable-shared or --disable-shared was given.
4963 if test "${enable_shared+set}" = set; then
4964 enableval
="$enable_shared"
4965 p
=${PACKAGE-default}
4967 yes) enable_shared
=yes ;;
4968 no
) enable_shared
=no
;;
4971 # Look at the argument we got. We use all the common list separators.
4972 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
="${IFS}:,"
4973 for pkg
in $enableval; do
4974 if test "X$pkg" = "X$p"; then
4984 # Check whether --enable-fast-install or --disable-fast-install was given.
4985 if test "${enable_fast_install+set}" = set; then
4986 enableval
="$enable_fast_install"
4987 p
=${PACKAGE-default}
4989 yes) enable_fast_install
=yes ;;
4990 no
) enable_fast_install
=no
;;
4992 enable_fast_install
=no
4993 # Look at the argument we got. We use all the common list separators.
4994 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
="${IFS}:,"
4995 for pkg
in $enableval; do
4996 if test "X$pkg" = "X$p"; then
4997 enable_fast_install
=yes
5004 enable_fast_install
=yes
5007 # Check whether --with-gnu-ld or --without-gnu-ld was given.
5008 if test "${with_gnu_ld+set}" = set; then
5009 withval
="$with_gnu_ld"
5010 test "$withval" = no || with_gnu_ld
=yes
5015 if test "$GCC" = yes; then
5016 # Check if gcc -print-prog-name=ld gives a path.
5017 echo "$as_me:$LINENO: checking for ld used by GCC" >&5
5018 echo $ECHO_N "checking for ld used by GCC... $ECHO_C" >&6
5021 # gcc leaves a trailing carriage return which upsets mingw
5022 ac_prog
=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
5024 ac_prog
=`($CC -print-prog-name=ld) 2>&5` ;;
5027 # Accept absolute paths.
5028 [\\/]* |
[A-Za-z
]:[\\/]*)
5029 re_direlt
='/[^/][^/]*/\.\./'
5030 # Canonicalize the path of ld
5031 ac_prog
=`echo $ac_prog| sed 's%\\\\%/%g'`
5032 while echo $ac_prog |
grep "$re_direlt" > /dev
/null
2>&1; do
5033 ac_prog
=`echo $ac_prog| sed "s%$re_direlt%/%"`
5035 test -z "$LD" && LD
="$ac_prog"
5038 # If it fails, then pretend we aren't using GCC.
5042 # If it is relative, then search for the first ld in PATH.
5046 elif test "$with_gnu_ld" = yes; then
5047 echo "$as_me:$LINENO: checking for GNU ld" >&5
5048 echo $ECHO_N "checking for GNU ld... $ECHO_C" >&6
5050 echo "$as_me:$LINENO: checking for non-GNU ld" >&5
5051 echo $ECHO_N "checking for non-GNU ld... $ECHO_C" >&6
5053 if test "${lt_cv_path_LD+set}" = set; then
5054 echo $ECHO_N "(cached) $ECHO_C" >&6
5056 if test -z "$LD"; then
5057 IFS
="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}${PATH_SEPARATOR-:}"
5058 for ac_dir
in $PATH; do
5059 test -z "$ac_dir" && ac_dir
=.
5060 if test -f "$ac_dir/$ac_prog" ||
test -f "$ac_dir/$ac_prog$ac_exeext"; then
5061 lt_cv_path_LD
="$ac_dir/$ac_prog"
5062 # Check to see if the program is GNU ld. I'd rather use --version,
5063 # but apparently some GNU ld's only accept -v.
5064 # Break only if it was the GNU/non-GNU ld that we prefer.
5065 if "$lt_cv_path_LD" -v 2>&1 < /dev
/null |
egrep '(GNU|with BFD)' > /dev
/null
; then
5066 test "$with_gnu_ld" != no
&& break
5068 test "$with_gnu_ld" != yes && break
5074 lt_cv_path_LD
="$LD" # Let the user override the test with a path.
5079 if test -n "$LD"; then
5080 echo "$as_me:$LINENO: result: $LD" >&5
5081 echo "${ECHO_T}$LD" >&6
5083 echo "$as_me:$LINENO: result: no" >&5
5084 echo "${ECHO_T}no" >&6
5086 test -z "$LD" && { { echo "$as_me:$LINENO: error: no acceptable ld found in \$PATH" >&5
5087 echo "$as_me: error: no acceptable ld found in \$PATH" >&2;}
5088 { (exit 1); exit 1; }; }
5089 echo "$as_me:$LINENO: checking if the linker ($LD) is GNU ld" >&5
5090 echo $ECHO_N "checking if the linker ($LD) is GNU ld... $ECHO_C" >&6
5091 if test "${lt_cv_prog_gnu_ld+set}" = set; then
5092 echo $ECHO_N "(cached) $ECHO_C" >&6
5094 # I'd rather use --version here, but apparently some GNU ld's only accept -v.
5095 if $LD -v 2>&1 </dev
/null |
egrep '(GNU|with BFD)' 1>&5; then
5096 lt_cv_prog_gnu_ld
=yes
5098 lt_cv_prog_gnu_ld
=no
5101 echo "$as_me:$LINENO: result: $lt_cv_prog_gnu_ld" >&5
5102 echo "${ECHO_T}$lt_cv_prog_gnu_ld" >&6
5103 with_gnu_ld
=$lt_cv_prog_gnu_ld
5106 echo "$as_me:$LINENO: checking for $LD option to reload object files" >&5
5107 echo $ECHO_N "checking for $LD option to reload object files... $ECHO_C" >&6
5108 if test "${lt_cv_ld_reload_flag+set}" = set; then
5109 echo $ECHO_N "(cached) $ECHO_C" >&6
5111 lt_cv_ld_reload_flag
='-r'
5113 echo "$as_me:$LINENO: result: $lt_cv_ld_reload_flag" >&5
5114 echo "${ECHO_T}$lt_cv_ld_reload_flag" >&6
5115 reload_flag
=$lt_cv_ld_reload_flag
5116 test -n "$reload_flag" && reload_flag
=" $reload_flag"
5118 echo "$as_me:$LINENO: checking for BSD-compatible nm" >&5
5119 echo $ECHO_N "checking for BSD-compatible nm... $ECHO_C" >&6
5120 if test "${lt_cv_path_NM+set}" = set; then
5121 echo $ECHO_N "(cached) $ECHO_C" >&6
5123 if test -n "$NM"; then
5124 # Let the user override the test.
5127 IFS
="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}${PATH_SEPARATOR-:}"
5128 for ac_dir
in $PATH /usr
/ccs
/bin
/usr
/ucb
/bin
; do
5129 test -z "$ac_dir" && ac_dir
=.
5130 tmp_nm
=$ac_dir/${ac_tool_prefix}nm
5131 if test -f $tmp_nm ||
test -f $tmp_nm$ac_exeext ; then
5132 # Check to see if the nm accepts a BSD-compat flag.
5133 # Adding the `sed 1q' prevents false positives on HP-UX, which says:
5134 # nm: unknown option "B" ignored
5135 # Tru64's nm complains that /dev/null is an invalid object file
5136 if ($tmp_nm -B /dev
/null
2>&1 |
sed '1q'; exit 0) |
egrep '(/dev/null|Invalid file or object type)' >/dev
/null
; then
5137 lt_cv_path_NM
="$tmp_nm -B"
5139 elif ($tmp_nm -p /dev
/null
2>&1 |
sed '1q'; exit 0) |
egrep /dev
/null
>/dev
/null
; then
5140 lt_cv_path_NM
="$tmp_nm -p"
5143 lt_cv_path_NM
=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but
5144 continue # so that we can try to find one that supports BSD flags
5149 test -z "$lt_cv_path_NM" && lt_cv_path_NM
=nm
5154 echo "$as_me:$LINENO: result: $NM" >&5
5155 echo "${ECHO_T}$NM" >&6
5157 echo "$as_me:$LINENO: checking how to recognise dependant libraries" >&5
5158 echo $ECHO_N "checking how to recognise dependant libraries... $ECHO_C" >&6
5159 if test "${lt_cv_deplibs_check_method+set}" = set; then
5160 echo $ECHO_N "(cached) $ECHO_C" >&6
5162 lt_cv_file_magic_cmd
='$MAGIC_CMD'
5163 lt_cv_file_magic_test_file
=
5164 lt_cv_deplibs_check_method
='unknown'
5165 # Need to set the preceding variable on all platforms that support
5166 # interlibrary dependencies.
5167 # 'none' -- dependencies not supported.
5168 # `unknown' -- same as none, but documents that we really don't know.
5169 # 'pass_all' -- all dependencies passed with no checks.
5170 # 'test_compile' -- check by making test program.
5171 # 'file_magic [regex]' -- check by looking for files in library path
5172 # which responds to the $file_magic_cmd with a given egrep regex.
5173 # If you have `file' or equivalent on your system and you're not sure
5174 # whether `pass_all' will *always* work, you probably want this one.
5178 lt_cv_deplibs_check_method
=pass_all
5182 lt_cv_deplibs_check_method
=pass_all
5186 lt_cv_deplibs_check_method
='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib)'
5187 lt_cv_file_magic_cmd
='/usr/bin/file -L'
5188 lt_cv_file_magic_test_file
=/shlib
/libc.so
5191 cygwin
* | mingw
* |pw32
*)
5192 lt_cv_deplibs_check_method
='file_magic file format pei*-i386(.*architecture: i386)?'
5193 lt_cv_file_magic_cmd
='$OBJDUMP -f'
5196 darwin
* | rhapsody
*)
5197 # this will be overwritten by pass_all, but leave it in just in case
5198 lt_cv_deplibs_check_method
='file_magic Mach-O dynamically linked shared library'
5199 lt_cv_file_magic_cmd
='/usr/bin/file -L'
5201 rhapsody
* | darwin1.012
)
5202 lt_cv_file_magic_test_file
='/System/Library/Frameworks/System.framework/System'
5205 lt_cv_file_magic_test_file
='/usr/lib/libSystem.dylib'
5208 lt_cv_deplibs_check_method
=pass_all
5211 freebsd
* | kfreebsd
*-gnu)
5212 if echo __ELF__ |
$CC -E - |
grep __ELF__
> /dev
/null
; then
5215 # Not sure whether the presence of OpenBSD here was a mistake.
5216 # Let's accept both of them until this is cleared up.
5217 lt_cv_deplibs_check_method
='file_magic (FreeBSD|OpenBSD)/i[3-9]86 (compact )?demand paged shared library'
5218 lt_cv_file_magic_cmd
=/usr
/bin
/file
5219 lt_cv_file_magic_test_file
=`echo /usr/lib/libc.so.*`
5223 lt_cv_deplibs_check_method
=pass_all
5228 lt_cv_deplibs_check_method
=pass_all
5234 lt_cv_deplibs_check_method
='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9].[0-9]) shared library'
5235 lt_cv_file_magic_cmd
=/usr
/bin
/file
5236 lt_cv_file_magic_test_file
=/usr
/lib
/libc.sl
5239 lt_cv_deplibs_check_method
='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - IA64'
5240 lt_cv_file_magic_cmd
=/usr
/bin
/file
5241 lt_cv_file_magic_test_file
=/usr
/lib
/hpux32
/libc.so
5249 # this will be overridden with pass_all, but let us keep it just in case
5250 lt_cv_deplibs_check_method
="file_magic ELF 32-bit MSB dynamic lib MIPS - version 1"
5254 *-32|
*"-32 ") libmagic
=32-bit;;
5255 *-n32|
*"-n32 ") libmagic
=N32
;;
5256 *-64|
*"-64 ") libmagic
=64-bit;;
5257 *) libmagic
=never-match
;;
5259 # this will be overridden with pass_all, but let us keep it just in case
5260 lt_cv_deplibs_check_method
="file_magic ELF ${libmagic} MSB mips-[1234] dynamic lib MIPS - version 1"
5263 lt_cv_file_magic_test_file
=`echo /lib${libsuff}/libc.so*`
5264 lt_cv_deplibs_check_method
=pass_all
5267 # This must be Linux ELF.
5269 lt_cv_deplibs_check_method
=pass_all
5272 netbsd
* | knetbsd
*-gnu)
5273 if echo __ELF__ |
$CC -E - |
grep __ELF__
> /dev
/null
; then
5274 lt_cv_deplibs_check_method
='match_pattern /lib[^/\.]+\.so\.[0-9]+\.[0-9]+$'
5276 lt_cv_deplibs_check_method
='match_pattern /lib[^/\.]+\.so$'
5281 lt_cv_deplibs_check_method
='file_magic ELF [0-9][0-9]*-bit [ML]SB (executable|dynamic lib)'
5282 lt_cv_file_magic_cmd
=/usr
/bin
/file
5283 lt_cv_file_magic_test_file
=/usr
/lib
/libnls.so
5286 osf3
* | osf4
* | osf5
*)
5287 # this will be overridden with pass_all, but let us keep it just in case
5288 lt_cv_deplibs_check_method
='file_magic COFF format alpha shared library'
5289 lt_cv_file_magic_test_file
=/shlib
/libc.so
5290 lt_cv_deplibs_check_method
=pass_all
5294 lt_cv_deplibs_check_method
=pass_all
5298 lt_cv_deplibs_check_method
=pass_all
5299 lt_cv_file_magic_test_file
=/lib
/libc.so
5302 sysv5uw
[78]* | sysv4
*uw2
*)
5303 lt_cv_deplibs_check_method
=pass_all
5306 sysv4 | sysv4.2uw2
* | sysv4.3
* | sysv5
*)
5307 case $host_vendor in
5309 lt_cv_deplibs_check_method
=pass_all
5312 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]'
5313 lt_cv_file_magic_test_file
=`echo /usr/lib/libc.so*`
5320 echo "$as_me:$LINENO: result: $lt_cv_deplibs_check_method" >&5
5321 echo "${ECHO_T}$lt_cv_deplibs_check_method" >&6
5322 file_magic_cmd
=$lt_cv_file_magic_cmd
5323 deplibs_check_method
=$lt_cv_deplibs_check_method
5328 # Autoconf 2.13's AC_OBJEXT and AC_EXEEXT macros only works for C compilers!
5330 # find the maximum length of command line arguments
5331 echo "$as_me:$LINENO: checking the maximum length of command line arguments" >&5
5332 echo $ECHO_N "checking the maximum length of command line arguments... $ECHO_C" >&6
5333 if test "${lt_cv_sys_max_cmd_len+set}" = set; then
5334 echo $ECHO_N "(cached) $ECHO_C" >&6
5341 # On DJGPP, this test can blow up pretty badly due to problems in libc
5342 # (any single argument exceeding 2000 bytes causes a buffer overrun
5343 # during glob expansion). Even if it were fixed, the result of this
5344 # check would be larger than it should be.
5345 lt_cv_sys_max_cmd_len
=12288; # 12K is about right
5349 # On Win9x/ME, this test blows up -- it succeeds, but takes
5350 # about 5 minutes as the teststring grows exponentially.
5351 # Worse, since 9x/ME are not pre-emptively multitasking,
5352 # you end up with a "frozen" computer, even though with patience
5353 # the test eventually succeeds (with a max line length of 256k).
5354 # Instead, let's just punt: use the minimum linelength reported by
5355 # all of the supported platforms: 8192 (on NT/2K/XP).
5356 lt_cv_sys_max_cmd_len
=8192;
5360 # On AmigaOS with pdksh, this test takes hours, literally.
5361 # So we just punt and use a minimum line length of 8192.
5362 lt_cv_sys_max_cmd_len
=8192;
5365 netbsd
* | freebsd
* | openbsd
* | darwin
* | dragonfly
*)
5366 # This has been around since 386BSD, at least. Likely further.
5367 if test -x /sbin
/sysctl
; then
5368 lt_cv_sys_max_cmd_len
=`/sbin/sysctl -n kern.argmax`
5369 elif test -x /usr
/sbin
/sysctl
; then
5370 lt_cv_sys_max_cmd_len
=`/usr/sbin/sysctl -n kern.argmax`
5372 lt_cv_sys_max_cmd_len
=65536 # usable default for *BSD
5374 # And add a safety zone
5375 lt_cv_sys_max_cmd_len
=`expr $lt_cv_sys_max_cmd_len \/ 4`
5376 lt_cv_sys_max_cmd_len
=`expr $lt_cv_sys_max_cmd_len \* 3`
5382 if test -n "$lt_cv_sys_max_cmd_len" ; then
5383 echo "$as_me:$LINENO: result: $lt_cv_sys_max_cmd_len" >&5
5384 echo "${ECHO_T}$lt_cv_sys_max_cmd_len" >&6
5386 echo "$as_me:$LINENO: result: none" >&5
5387 echo "${ECHO_T}none" >&6
5391 # Only perform the check for file, if the check method requires it
5392 case $deplibs_check_method in
5394 if test "$file_magic_cmd" = '$MAGIC_CMD'; then
5395 echo "$as_me:$LINENO: checking for ${ac_tool_prefix}file" >&5
5396 echo $ECHO_N "checking for ${ac_tool_prefix}file... $ECHO_C" >&6
5397 if test "${lt_cv_path_MAGIC_CMD+set}" = set; then
5398 echo $ECHO_N "(cached) $ECHO_C" >&6
5402 lt_cv_path_MAGIC_CMD
="$MAGIC_CMD" # Let the user override the test with a path.
5405 lt_cv_path_MAGIC_CMD
="$MAGIC_CMD" # Let the user override the test with a dos path.
5408 ac_save_MAGIC_CMD
="$MAGIC_CMD"
5409 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
=":"
5410 ac_dummy
="/usr/bin:$PATH"
5411 for ac_dir
in $ac_dummy; do
5412 test -z "$ac_dir" && ac_dir
=.
5413 if test -f $ac_dir/${ac_tool_prefix}file; then
5414 lt_cv_path_MAGIC_CMD
="$ac_dir/${ac_tool_prefix}file"
5415 if test -n "$file_magic_test_file"; then
5416 case $deplibs_check_method in
5418 file_magic_regex
="`expr \"$deplibs_check_method\" : \"file_magic \(.*\)\"`"
5419 MAGIC_CMD
="$lt_cv_path_MAGIC_CMD"
5420 if eval $file_magic_cmd \
$file_magic_test_file 2> /dev
/null |
5421 egrep "$file_magic_regex" > /dev
/null
; then
5426 *** Warning: the command libtool uses to detect shared libraries,
5427 *** $file_magic_cmd, produces output that libtool cannot recognize.
5428 *** The result is that libtool may fail to recognize shared libraries
5429 *** as such. This will affect the creation of libtool libraries that
5430 *** depend on shared libraries, but programs linked with such libtool
5431 *** libraries will work regardless of this problem. Nevertheless, you
5432 *** may want to report the problem to your system manager and/or to
5433 *** bug-libtool@gnu.org
5443 MAGIC_CMD
="$ac_save_MAGIC_CMD"
5448 MAGIC_CMD
="$lt_cv_path_MAGIC_CMD"
5449 if test -n "$MAGIC_CMD"; then
5450 echo "$as_me:$LINENO: result: $MAGIC_CMD" >&5
5451 echo "${ECHO_T}$MAGIC_CMD" >&6
5453 echo "$as_me:$LINENO: result: no" >&5
5454 echo "${ECHO_T}no" >&6
5457 if test -z "$lt_cv_path_MAGIC_CMD"; then
5458 if test -n "$ac_tool_prefix"; then
5459 echo "$as_me:$LINENO: checking for file" >&5
5460 echo $ECHO_N "checking for file... $ECHO_C" >&6
5461 if test "${lt_cv_path_MAGIC_CMD+set}" = set; then
5462 echo $ECHO_N "(cached) $ECHO_C" >&6
5466 lt_cv_path_MAGIC_CMD
="$MAGIC_CMD" # Let the user override the test with a path.
5469 lt_cv_path_MAGIC_CMD
="$MAGIC_CMD" # Let the user override the test with a dos path.
5472 ac_save_MAGIC_CMD
="$MAGIC_CMD"
5473 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
=":"
5474 ac_dummy
="/usr/bin:$PATH"
5475 for ac_dir
in $ac_dummy; do
5476 test -z "$ac_dir" && ac_dir
=.
5477 if test -f $ac_dir/file; then
5478 lt_cv_path_MAGIC_CMD
="$ac_dir/file"
5479 if test -n "$file_magic_test_file"; then
5480 case $deplibs_check_method in
5482 file_magic_regex
="`expr \"$deplibs_check_method\" : \"file_magic \(.*\)\"`"
5483 MAGIC_CMD
="$lt_cv_path_MAGIC_CMD"
5484 if eval $file_magic_cmd \
$file_magic_test_file 2> /dev
/null |
5485 egrep "$file_magic_regex" > /dev
/null
; then
5490 *** Warning: the command libtool uses to detect shared libraries,
5491 *** $file_magic_cmd, produces output that libtool cannot recognize.
5492 *** The result is that libtool may fail to recognize shared libraries
5493 *** as such. This will affect the creation of libtool libraries that
5494 *** depend on shared libraries, but programs linked with such libtool
5495 *** libraries will work regardless of this problem. Nevertheless, you
5496 *** may want to report the problem to your system manager and/or to
5497 *** bug-libtool@gnu.org
5507 MAGIC_CMD
="$ac_save_MAGIC_CMD"
5512 MAGIC_CMD
="$lt_cv_path_MAGIC_CMD"
5513 if test -n "$MAGIC_CMD"; then
5514 echo "$as_me:$LINENO: result: $MAGIC_CMD" >&5
5515 echo "${ECHO_T}$MAGIC_CMD" >&6
5517 echo "$as_me:$LINENO: result: no" >&5
5518 echo "${ECHO_T}no" >&6
5530 if test -n "$ac_tool_prefix"; then
5531 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
5532 set dummy
${ac_tool_prefix}ranlib
; ac_word
=$2
5533 echo "$as_me:$LINENO: checking for $ac_word" >&5
5534 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
5535 if test "${ac_cv_prog_RANLIB+set}" = set; then
5536 echo $ECHO_N "(cached) $ECHO_C" >&6
5538 if test -n "$RANLIB"; then
5539 ac_cv_prog_RANLIB
="$RANLIB" # Let the user override the test.
5541 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5545 test -z "$as_dir" && as_dir
=.
5546 for ac_exec_ext
in '' $ac_executable_extensions; do
5547 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5548 ac_cv_prog_RANLIB
="${ac_tool_prefix}ranlib"
5549 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5557 RANLIB
=$ac_cv_prog_RANLIB
5558 if test -n "$RANLIB"; then
5559 echo "$as_me:$LINENO: result: $RANLIB" >&5
5560 echo "${ECHO_T}$RANLIB" >&6
5562 echo "$as_me:$LINENO: result: no" >&5
5563 echo "${ECHO_T}no" >&6
5567 if test -z "$ac_cv_prog_RANLIB"; then
5568 ac_ct_RANLIB
=$RANLIB
5569 # Extract the first word of "ranlib", so it can be a program name with args.
5570 set dummy ranlib
; ac_word
=$2
5571 echo "$as_me:$LINENO: checking for $ac_word" >&5
5572 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
5573 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
5574 echo $ECHO_N "(cached) $ECHO_C" >&6
5576 if test -n "$ac_ct_RANLIB"; then
5577 ac_cv_prog_ac_ct_RANLIB
="$ac_ct_RANLIB" # Let the user override the test.
5579 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5583 test -z "$as_dir" && as_dir
=.
5584 for ac_exec_ext
in '' $ac_executable_extensions; do
5585 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5586 ac_cv_prog_ac_ct_RANLIB
="ranlib"
5587 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5593 test -z "$ac_cv_prog_ac_ct_RANLIB" && ac_cv_prog_ac_ct_RANLIB
=":"
5596 ac_ct_RANLIB
=$ac_cv_prog_ac_ct_RANLIB
5597 if test -n "$ac_ct_RANLIB"; then
5598 echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
5599 echo "${ECHO_T}$ac_ct_RANLIB" >&6
5601 echo "$as_me:$LINENO: result: no" >&5
5602 echo "${ECHO_T}no" >&6
5605 RANLIB
=$ac_ct_RANLIB
5607 RANLIB
="$ac_cv_prog_RANLIB"
5610 if test -n "$ac_tool_prefix"; then
5611 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
5612 set dummy
${ac_tool_prefix}strip
; ac_word
=$2
5613 echo "$as_me:$LINENO: checking for $ac_word" >&5
5614 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
5615 if test "${ac_cv_prog_STRIP+set}" = set; then
5616 echo $ECHO_N "(cached) $ECHO_C" >&6
5618 if test -n "$STRIP"; then
5619 ac_cv_prog_STRIP
="$STRIP" # Let the user override the test.
5621 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5625 test -z "$as_dir" && as_dir
=.
5626 for ac_exec_ext
in '' $ac_executable_extensions; do
5627 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5628 ac_cv_prog_STRIP
="${ac_tool_prefix}strip"
5629 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5637 STRIP
=$ac_cv_prog_STRIP
5638 if test -n "$STRIP"; then
5639 echo "$as_me:$LINENO: result: $STRIP" >&5
5640 echo "${ECHO_T}$STRIP" >&6
5642 echo "$as_me:$LINENO: result: no" >&5
5643 echo "${ECHO_T}no" >&6
5647 if test -z "$ac_cv_prog_STRIP"; then
5649 # Extract the first word of "strip", so it can be a program name with args.
5650 set dummy strip
; ac_word
=$2
5651 echo "$as_me:$LINENO: checking for $ac_word" >&5
5652 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
5653 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
5654 echo $ECHO_N "(cached) $ECHO_C" >&6
5656 if test -n "$ac_ct_STRIP"; then
5657 ac_cv_prog_ac_ct_STRIP
="$ac_ct_STRIP" # Let the user override the test.
5659 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5663 test -z "$as_dir" && as_dir
=.
5664 for ac_exec_ext
in '' $ac_executable_extensions; do
5665 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5666 ac_cv_prog_ac_ct_STRIP
="strip"
5667 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5673 test -z "$ac_cv_prog_ac_ct_STRIP" && ac_cv_prog_ac_ct_STRIP
=":"
5676 ac_ct_STRIP
=$ac_cv_prog_ac_ct_STRIP
5677 if test -n "$ac_ct_STRIP"; then
5678 echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
5679 echo "${ECHO_T}$ac_ct_STRIP" >&6
5681 echo "$as_me:$LINENO: result: no" >&5
5682 echo "${ECHO_T}no" >&6
5687 STRIP
="$ac_cv_prog_STRIP"
5691 # Check for any special flags to pass to ltconfig.
5692 libtool_flags
="--cache-file=$cache_file"
5693 test "$enable_shared" = no
&& libtool_flags
="$libtool_flags --disable-shared"
5694 test "$enable_static" = no
&& libtool_flags
="$libtool_flags --disable-static"
5695 test "$enable_fast_install" = no
&& libtool_flags
="$libtool_flags --disable-fast-install"
5696 test "$GCC" = yes && libtool_flags
="$libtool_flags --with-gcc"
5697 test "$lt_cv_prog_gnu_ld" = yes && libtool_flags
="$libtool_flags --with-gnu-ld"
5700 # Check whether --enable-libtool-lock or --disable-libtool-lock was given.
5701 if test "${enable_libtool_lock+set}" = set; then
5702 enableval
="$enable_libtool_lock"
5705 test "x$enable_libtool_lock" = xno
&& libtool_flags
="$libtool_flags --disable-lock"
5706 test x
"$silent" = xyes
&& libtool_flags
="$libtool_flags --silent"
5709 # Check whether --with-pic or --without-pic was given.
5710 if test "${with_pic+set}" = set; then
5716 test x
"$pic_mode" = xyes
&& libtool_flags
="$libtool_flags --prefer-pic"
5717 test x
"$pic_mode" = xno
&& libtool_flags
="$libtool_flags --prefer-non-pic"
5719 # Some flags need to be propagated to the compiler or linker for good
5723 # Find out which ABI we are using.
5724 echo '#line 5724 "configure"' > conftest.
$ac_ext
5725 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5726 (eval $ac_compile) 2>&5
5728 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5729 (exit $ac_status); }; then
5730 if test "$lt_cv_prog_gnu_ld" = yes; then
5731 case `/usr/bin/file conftest.$ac_objext` in
5733 LD
="${LD-ld} -melf32bsmip"
5736 LD
="${LD-ld} -melf32bmipn32"
5739 LD
="${LD-ld} -melf64bmip"
5743 case `/usr/bin/file conftest.$ac_objext` in
5760 # Find out which ABI we are using.
5761 echo 'int i;' > conftest.
$ac_ext
5762 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5763 (eval $ac_compile) 2>&5
5765 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5766 (exit $ac_status); }; then
5767 case "`/usr/bin/file conftest.o`" in
5779 x86_64-
*linux
*|ppc
*-*linux
*|powerpc
*-*linux
*|s390
*-*linux
*|sparc
*-*linux
*)
5780 # Find out which ABI we are using.
5781 echo 'int i;' > conftest.
$ac_ext
5782 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5783 (eval $ac_compile) 2>&5
5785 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5786 (exit $ac_status); }; then
5787 case "`/usr/bin/file conftest.o`" in
5791 LD
="${LD-ld} -m elf_i386"
5793 ppc64-
*linux
*|powerpc64-
*linux
*)
5794 LD
="${LD-ld} -m elf32ppclinux"
5797 LD
="${LD-ld} -m elf_s390"
5800 LD
="${LD-ld} -m elf32_sparc"
5807 LD
="${LD-ld} -m elf_x86_64"
5809 ppc
*-*linux
*|powerpc
*-*linux
*)
5810 LD
="${LD-ld} -m elf64ppc"
5813 LD
="${LD-ld} -m elf64_s390"
5816 LD
="${LD-ld} -m elf64_sparc"
5826 # On SCO OpenServer 5, we need -belf to get full-featured binaries.
5827 SAVE_CFLAGS
="$CFLAGS"
5828 CFLAGS
="$CFLAGS -belf"
5829 echo "$as_me:$LINENO: checking whether the C compiler needs -belf" >&5
5830 echo $ECHO_N "checking whether the C compiler needs -belf... $ECHO_C" >&6
5831 if test "${lt_cv_cc_needs_belf+set}" = set; then
5832 echo $ECHO_N "(cached) $ECHO_C" >&6
5837 ac_cpp
='$CPP $CPPFLAGS'
5838 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5839 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5840 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
5842 cat >conftest.
$ac_ext <<_ACEOF
5845 cat confdefs.h
>>conftest.
$ac_ext
5846 cat >>conftest.
$ac_ext <<_ACEOF
5847 /* end confdefs.h. */
5857 rm -f conftest.
$ac_objext conftest
$ac_exeext
5858 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
5859 (eval $ac_link) 2>conftest.er1
5861 grep -v '^ *+' conftest.er1
>conftest.err
5863 cat conftest.err
>&5
5864 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5865 (exit $ac_status); } &&
5866 { ac_try
='test -z "$ac_c_werror_flag"
5867 || test ! -s conftest.err'
5868 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5871 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5872 (exit $ac_status); }; } &&
5873 { ac_try
='test -s conftest$ac_exeext'
5874 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5877 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5878 (exit $ac_status); }; }; then
5879 lt_cv_cc_needs_belf
=yes
5881 echo "$as_me: failed program was:" >&5
5882 sed 's/^/| /' conftest.
$ac_ext >&5
5884 lt_cv_cc_needs_belf
=no
5886 rm -f conftest.err conftest.
$ac_objext \
5887 conftest
$ac_exeext conftest.
$ac_ext
5889 ac_cpp
='$CPP $CPPFLAGS'
5890 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5891 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5892 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
5895 echo "$as_me:$LINENO: result: $lt_cv_cc_needs_belf" >&5
5896 echo "${ECHO_T}$lt_cv_cc_needs_belf" >&6
5897 if test x
"$lt_cv_cc_needs_belf" != x
"yes"; then
5898 # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
5899 CFLAGS
="$SAVE_CFLAGS"
5907 # Save cache, so that ltconfig can load it
5908 cat >confcache
<<\_ACEOF
5909 # This file is a shell script that caches the results of configure
5910 # tests run on this system so they can be shared between configure
5911 # scripts and configure runs, see configure's option --config-cache.
5912 # It is not useful on other systems. If it contains results you don't
5913 # want to keep, you may remove or edit it.
5915 # config.status only pays attention to the cache file if you give it
5916 # the --recheck option to rerun configure.
5918 # `ac_cv_env_foo' variables (set or unset) will be overridden when
5919 # loading this file, other *unset* `ac_cv_foo' will be assigned the
5924 # The following way of writing the cache mishandles newlines in values,
5925 # but we know of no workaround that is simple, portable, and efficient.
5926 # So, don't put newlines in cache variables' values.
5927 # Ultrix sh set writes to stderr and can't be redirected directly,
5928 # and sets the high bit in the cache file unless we assign to the vars.
5931 case `(ac_space=' '; set | grep ac_space) 2>&1` in
5933 # `set' does not quote correctly, so add quotes (double-quote
5934 # substitution turns \\\\ into \\, and sed turns \\ into \).
5937 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
5940 # `set' quotes correctly as required by POSIX, so do not add quotes.
5942 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
5949 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
5951 /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
5953 if diff $cache_file confcache
>/dev
/null
2>&1; then :; else
5954 if test -w $cache_file; then
5955 test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
5956 cat confcache
>$cache_file
5958 echo "not updating unwritable cache $cache_file"
5963 # Actually configure libtool. ac_aux_dir is where install-sh is found.
5964 AR
="$AR" LTCC
="$CC" CC
="$CC" CFLAGS
="$CFLAGS" CPPFLAGS
="$CPPFLAGS" \
5965 MAGIC_CMD
="$MAGIC_CMD" LD
="$LD" LDFLAGS
="$LDFLAGS" LIBS
="$LIBS" \
5966 LN_S
="$LN_S" NM
="$NM" RANLIB
="$RANLIB" STRIP
="$STRIP" \
5967 AS
="$AS" DLLTOOL
="$DLLTOOL" OBJDUMP
="$OBJDUMP" \
5968 objext
="$OBJEXT" exeext
="$EXEEXT" reload_flag
="$reload_flag" \
5969 deplibs_check_method
="$deplibs_check_method" file_magic_cmd
="$file_magic_cmd" \
5970 ${CONFIG_SHELL-/bin/sh} $ac_aux_dir/ltconfig
--no-reexec \
5971 $libtool_flags --no-verify --build="$build" $ac_aux_dir/ltmain.sh
$host \
5972 ||
{ { echo "$as_me:$LINENO: error: libtool configure failed" >&5
5973 echo "$as_me: error: libtool configure failed" >&2;}
5974 { (exit 1); exit 1; }; }
5976 # Reload cache, that may have been modified by ltconfig
5977 if test -r "$cache_file"; then
5978 # Some versions of bash will fail to source /dev/null (special
5979 # files actually), so we avoid doing that.
5980 if test -f "$cache_file"; then
5981 { echo "$as_me:$LINENO: loading cache $cache_file" >&5
5982 echo "$as_me: loading cache $cache_file" >&6;}
5984 [\\/]* | ?
:[\\/]* ) .
$cache_file;;
5985 *) . .
/$cache_file;;
5989 { echo "$as_me:$LINENO: creating cache $cache_file" >&5
5990 echo "$as_me: creating cache $cache_file" >&6;}
5995 # This can be used to rebuild libtool when needed
5996 LIBTOOL_DEPS
="$ac_aux_dir/ltconfig $ac_aux_dir/ltmain.sh $ac_aux_dir/ltcf-c.sh"
5998 # Always use our own libtool.
5999 LIBTOOL
='$(SHELL) $(top_builddir)/libtool'
6001 # Redirect the config.log output again, so that the ltconfig log is not
6002 # clobbered by the next message.
6003 exec 5>>.
/config.log
6006 ac_cpp
='$CXXCPP $CPPFLAGS'
6007 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6008 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6009 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
6010 echo "$as_me:$LINENO: checking how to run the C++ preprocessor" >&5
6011 echo $ECHO_N "checking how to run the C++ preprocessor... $ECHO_C" >&6
6012 if test -z "$CXXCPP"; then
6013 if test "${ac_cv_prog_CXXCPP+set}" = set; then
6014 echo $ECHO_N "(cached) $ECHO_C" >&6
6016 # Double quotes because CXXCPP needs to be expanded
6017 for CXXCPP
in "$CXX -E" "/lib/cpp"
6020 for ac_cxx_preproc_warn_flag
in '' yes
6022 # Use a header file that comes with gcc, so configuring glibc
6023 # with a fresh cross-compiler works.
6024 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
6025 # <limits.h> exists even on freestanding compilers.
6026 # On the NeXT, cc -E runs the code through the compiler's parser,
6027 # not just through cpp. "Syntax error" is here to catch this case.
6028 cat >conftest.
$ac_ext <<_ACEOF
6031 cat confdefs.h
>>conftest.
$ac_ext
6032 cat >>conftest.
$ac_ext <<_ACEOF
6033 /* end confdefs.h. */
6035 # include <limits.h>
6037 # include <assert.h>
6041 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
6042 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
6044 grep -v '^ *+' conftest.er1
>conftest.err
6046 cat conftest.err
>&5
6047 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6048 (exit $ac_status); } >/dev
/null
; then
6049 if test -s conftest.err
; then
6050 ac_cpp_err
=$ac_cxx_preproc_warn_flag
6051 ac_cpp_err
=$ac_cpp_err$ac_cxx_werror_flag
6058 if test -z "$ac_cpp_err"; then
6061 echo "$as_me: failed program was:" >&5
6062 sed 's/^/| /' conftest.
$ac_ext >&5
6064 # Broken: fails on valid input.
6067 rm -f conftest.err conftest.
$ac_ext
6069 # OK, works on sane cases. Now check whether non-existent headers
6070 # can be detected and how.
6071 cat >conftest.
$ac_ext <<_ACEOF
6074 cat confdefs.h
>>conftest.
$ac_ext
6075 cat >>conftest.
$ac_ext <<_ACEOF
6076 /* end confdefs.h. */
6077 #include <ac_nonexistent.h>
6079 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
6080 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
6082 grep -v '^ *+' conftest.er1
>conftest.err
6084 cat conftest.err
>&5
6085 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6086 (exit $ac_status); } >/dev
/null
; then
6087 if test -s conftest.err
; then
6088 ac_cpp_err
=$ac_cxx_preproc_warn_flag
6089 ac_cpp_err
=$ac_cpp_err$ac_cxx_werror_flag
6096 if test -z "$ac_cpp_err"; then
6097 # Broken: success on invalid input.
6100 echo "$as_me: failed program was:" >&5
6101 sed 's/^/| /' conftest.
$ac_ext >&5
6103 # Passes both tests.
6107 rm -f conftest.err conftest.
$ac_ext
6110 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
6111 rm -f conftest.err conftest.
$ac_ext
6112 if $ac_preproc_ok; then
6117 ac_cv_prog_CXXCPP
=$CXXCPP
6120 CXXCPP
=$ac_cv_prog_CXXCPP
6122 ac_cv_prog_CXXCPP
=$CXXCPP
6124 echo "$as_me:$LINENO: result: $CXXCPP" >&5
6125 echo "${ECHO_T}$CXXCPP" >&6
6127 for ac_cxx_preproc_warn_flag
in '' yes
6129 # Use a header file that comes with gcc, so configuring glibc
6130 # with a fresh cross-compiler works.
6131 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
6132 # <limits.h> exists even on freestanding compilers.
6133 # On the NeXT, cc -E runs the code through the compiler's parser,
6134 # not just through cpp. "Syntax error" is here to catch this case.
6135 cat >conftest.
$ac_ext <<_ACEOF
6138 cat confdefs.h
>>conftest.
$ac_ext
6139 cat >>conftest.
$ac_ext <<_ACEOF
6140 /* end confdefs.h. */
6142 # include <limits.h>
6144 # include <assert.h>
6148 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
6149 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
6151 grep -v '^ *+' conftest.er1
>conftest.err
6153 cat conftest.err
>&5
6154 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6155 (exit $ac_status); } >/dev
/null
; then
6156 if test -s conftest.err
; then
6157 ac_cpp_err
=$ac_cxx_preproc_warn_flag
6158 ac_cpp_err
=$ac_cpp_err$ac_cxx_werror_flag
6165 if test -z "$ac_cpp_err"; then
6168 echo "$as_me: failed program was:" >&5
6169 sed 's/^/| /' conftest.
$ac_ext >&5
6171 # Broken: fails on valid input.
6174 rm -f conftest.err conftest.
$ac_ext
6176 # OK, works on sane cases. Now check whether non-existent headers
6177 # can be detected and how.
6178 cat >conftest.
$ac_ext <<_ACEOF
6181 cat confdefs.h
>>conftest.
$ac_ext
6182 cat >>conftest.
$ac_ext <<_ACEOF
6183 /* end confdefs.h. */
6184 #include <ac_nonexistent.h>
6186 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
6187 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
6189 grep -v '^ *+' conftest.er1
>conftest.err
6191 cat conftest.err
>&5
6192 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6193 (exit $ac_status); } >/dev
/null
; then
6194 if test -s conftest.err
; then
6195 ac_cpp_err
=$ac_cxx_preproc_warn_flag
6196 ac_cpp_err
=$ac_cpp_err$ac_cxx_werror_flag
6203 if test -z "$ac_cpp_err"; then
6204 # Broken: success on invalid input.
6207 echo "$as_me: failed program was:" >&5
6208 sed 's/^/| /' conftest.
$ac_ext >&5
6210 # Passes both tests.
6214 rm -f conftest.err conftest.
$ac_ext
6217 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
6218 rm -f conftest.err conftest.
$ac_ext
6219 if $ac_preproc_ok; then
6222 { { echo "$as_me:$LINENO: error: C++ preprocessor \"$CXXCPP\" fails sanity check
6223 See \`config.log' for more details." >&5
6224 echo "$as_me: error: C++ preprocessor \"$CXXCPP\" fails sanity check
6225 See \`config.log' for more details." >&2;}
6226 { (exit 1); exit 1; }; }
6230 ac_cpp
='$CPP $CPPFLAGS'
6231 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6232 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6233 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
6237 LIBTOOL_DEPS
=$LIBTOOL_DEPS" $ac_aux_dir/ltcf-cxx.sh"
6239 lt_save_CFLAGS
="$CFLAGS"
6240 AR
="$AR" LTCC
="$CC" CC
="$CXX" CXX
="$CXX" CFLAGS
="$CXXFLAGS" CPPFLAGS
="$CPPFLAGS" \
6241 MAGIC_CMD
="$MAGIC_CMD" LD
="$LD" LDFLAGS
="$LDFLAGS" LIBS
="$LIBS" \
6242 LN_S
="$LN_S" NM
="$NM" RANLIB
="$RANLIB" STRIP
="$STRIP" \
6243 AS
="$AS" DLLTOOL
="$DLLTOOL" OBJDUMP
="$OBJDUMP" \
6244 objext
="$OBJEXT" exeext
="$EXEEXT" reload_flag
="$reload_flag" \
6245 deplibs_check_method
="$deplibs_check_method" \
6246 file_magic_cmd
="$file_magic_cmd" \
6247 ${CONFIG_SHELL-/bin/sh} $ac_aux_dir/ltconfig
-o libtool
$libtool_flags \
6248 --build="$build" --add-tag=CXX
$ac_aux_dir/ltcf-cxx.sh
$host \
6249 ||
{ { echo "$as_me:$LINENO: error: libtool tag configuration failed" >&5
6250 echo "$as_me: error: libtool tag configuration failed" >&2;}
6251 { (exit 1); exit 1; }; }
6253 CFLAGS
="$lt_save_CFLAGS"
6255 # Redirect the config.log output again, so that the ltconfig log is not
6256 # clobbered by the next message.
6257 exec 5>>.
/config.log
6265 ac_cpp
='$CPP $CPPFLAGS'
6266 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6267 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6268 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
6269 if test -n "$ac_tool_prefix"; then
6270 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
6271 set dummy
${ac_tool_prefix}gcc
; ac_word
=$2
6272 echo "$as_me:$LINENO: checking for $ac_word" >&5
6273 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
6274 if test "${ac_cv_prog_CC+set}" = set; then
6275 echo $ECHO_N "(cached) $ECHO_C" >&6
6277 if test -n "$CC"; then
6278 ac_cv_prog_CC
="$CC" # Let the user override the test.
6280 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6284 test -z "$as_dir" && as_dir
=.
6285 for ac_exec_ext
in '' $ac_executable_extensions; do
6286 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6287 ac_cv_prog_CC
="${ac_tool_prefix}gcc"
6288 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6297 if test -n "$CC"; then
6298 echo "$as_me:$LINENO: result: $CC" >&5
6299 echo "${ECHO_T}$CC" >&6
6301 echo "$as_me:$LINENO: result: no" >&5
6302 echo "${ECHO_T}no" >&6
6306 if test -z "$ac_cv_prog_CC"; then
6308 # Extract the first word of "gcc", so it can be a program name with args.
6309 set dummy gcc
; ac_word
=$2
6310 echo "$as_me:$LINENO: checking for $ac_word" >&5
6311 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
6312 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
6313 echo $ECHO_N "(cached) $ECHO_C" >&6
6315 if test -n "$ac_ct_CC"; then
6316 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
6318 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6322 test -z "$as_dir" && as_dir
=.
6323 for ac_exec_ext
in '' $ac_executable_extensions; do
6324 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6325 ac_cv_prog_ac_ct_CC
="gcc"
6326 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6334 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
6335 if test -n "$ac_ct_CC"; then
6336 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
6337 echo "${ECHO_T}$ac_ct_CC" >&6
6339 echo "$as_me:$LINENO: result: no" >&5
6340 echo "${ECHO_T}no" >&6
6348 if test -z "$CC"; then
6349 if test -n "$ac_tool_prefix"; then
6350 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
6351 set dummy
${ac_tool_prefix}cc
; ac_word
=$2
6352 echo "$as_me:$LINENO: checking for $ac_word" >&5
6353 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
6354 if test "${ac_cv_prog_CC+set}" = set; then
6355 echo $ECHO_N "(cached) $ECHO_C" >&6
6357 if test -n "$CC"; then
6358 ac_cv_prog_CC
="$CC" # Let the user override the test.
6360 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6364 test -z "$as_dir" && as_dir
=.
6365 for ac_exec_ext
in '' $ac_executable_extensions; do
6366 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6367 ac_cv_prog_CC
="${ac_tool_prefix}cc"
6368 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6377 if test -n "$CC"; then
6378 echo "$as_me:$LINENO: result: $CC" >&5
6379 echo "${ECHO_T}$CC" >&6
6381 echo "$as_me:$LINENO: result: no" >&5
6382 echo "${ECHO_T}no" >&6
6386 if test -z "$ac_cv_prog_CC"; then
6388 # Extract the first word of "cc", so it can be a program name with args.
6389 set dummy cc
; ac_word
=$2
6390 echo "$as_me:$LINENO: checking for $ac_word" >&5
6391 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
6392 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
6393 echo $ECHO_N "(cached) $ECHO_C" >&6
6395 if test -n "$ac_ct_CC"; then
6396 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
6398 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6402 test -z "$as_dir" && as_dir
=.
6403 for ac_exec_ext
in '' $ac_executable_extensions; do
6404 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6405 ac_cv_prog_ac_ct_CC
="cc"
6406 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6414 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
6415 if test -n "$ac_ct_CC"; then
6416 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
6417 echo "${ECHO_T}$ac_ct_CC" >&6
6419 echo "$as_me:$LINENO: result: no" >&5
6420 echo "${ECHO_T}no" >&6
6429 if test -z "$CC"; then
6430 # Extract the first word of "cc", so it can be a program name with args.
6431 set dummy cc
; ac_word
=$2
6432 echo "$as_me:$LINENO: checking for $ac_word" >&5
6433 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
6434 if test "${ac_cv_prog_CC+set}" = set; then
6435 echo $ECHO_N "(cached) $ECHO_C" >&6
6437 if test -n "$CC"; then
6438 ac_cv_prog_CC
="$CC" # Let the user override the test.
6441 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6445 test -z "$as_dir" && as_dir
=.
6446 for ac_exec_ext
in '' $ac_executable_extensions; do
6447 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6448 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
6449 ac_prog_rejected
=yes
6453 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6459 if test $ac_prog_rejected = yes; then
6460 # We found a bogon in the path, so make sure we never use it.
6461 set dummy
$ac_cv_prog_CC
6463 if test $# != 0; then
6464 # We chose a different compiler from the bogus one.
6465 # However, it has the same basename, so the bogon will be chosen
6466 # first if we set CC to just the basename; use the full file name.
6468 ac_cv_prog_CC
="$as_dir/$ac_word${1+' '}$@"
6474 if test -n "$CC"; then
6475 echo "$as_me:$LINENO: result: $CC" >&5
6476 echo "${ECHO_T}$CC" >&6
6478 echo "$as_me:$LINENO: result: no" >&5
6479 echo "${ECHO_T}no" >&6
6483 if test -z "$CC"; then
6484 if test -n "$ac_tool_prefix"; then
6487 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
6488 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
6489 echo "$as_me:$LINENO: checking for $ac_word" >&5
6490 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
6491 if test "${ac_cv_prog_CC+set}" = set; then
6492 echo $ECHO_N "(cached) $ECHO_C" >&6
6494 if test -n "$CC"; then
6495 ac_cv_prog_CC
="$CC" # Let the user override the test.
6497 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6501 test -z "$as_dir" && as_dir
=.
6502 for ac_exec_ext
in '' $ac_executable_extensions; do
6503 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6504 ac_cv_prog_CC
="$ac_tool_prefix$ac_prog"
6505 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6514 if test -n "$CC"; then
6515 echo "$as_me:$LINENO: result: $CC" >&5
6516 echo "${ECHO_T}$CC" >&6
6518 echo "$as_me:$LINENO: result: no" >&5
6519 echo "${ECHO_T}no" >&6
6522 test -n "$CC" && break
6525 if test -z "$CC"; then
6529 # Extract the first word of "$ac_prog", so it can be a program name with args.
6530 set dummy
$ac_prog; ac_word
=$2
6531 echo "$as_me:$LINENO: checking for $ac_word" >&5
6532 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
6533 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
6534 echo $ECHO_N "(cached) $ECHO_C" >&6
6536 if test -n "$ac_ct_CC"; then
6537 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
6539 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6543 test -z "$as_dir" && as_dir
=.
6544 for ac_exec_ext
in '' $ac_executable_extensions; do
6545 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6546 ac_cv_prog_ac_ct_CC
="$ac_prog"
6547 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6555 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
6556 if test -n "$ac_ct_CC"; then
6557 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
6558 echo "${ECHO_T}$ac_ct_CC" >&6
6560 echo "$as_me:$LINENO: result: no" >&5
6561 echo "${ECHO_T}no" >&6
6564 test -n "$ac_ct_CC" && break
6573 test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
6574 See \`config.log' for more details." >&5
6575 echo "$as_me: error: no acceptable C compiler found in \$PATH
6576 See \`config.log' for more details." >&2;}
6577 { (exit 1); exit 1; }; }
6579 # Provide some information about the compiler.
6580 echo "$as_me:$LINENO:" \
6581 "checking for C compiler version" >&5
6582 ac_compiler
=`set X $ac_compile; echo $2`
6583 { (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5
6584 (eval $ac_compiler --version </dev
/null
>&5) 2>&5
6586 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6587 (exit $ac_status); }
6588 { (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5
6589 (eval $ac_compiler -v </dev
/null
>&5) 2>&5
6591 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6592 (exit $ac_status); }
6593 { (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5
6594 (eval $ac_compiler -V </dev
/null
>&5) 2>&5
6596 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6597 (exit $ac_status); }
6599 echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
6600 echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6
6601 if test "${ac_cv_c_compiler_gnu+set}" = set; then
6602 echo $ECHO_N "(cached) $ECHO_C" >&6
6604 cat >conftest.
$ac_ext <<_ACEOF
6607 cat confdefs.h
>>conftest.
$ac_ext
6608 cat >>conftest.
$ac_ext <<_ACEOF
6609 /* end confdefs.h. */
6622 rm -f conftest.
$ac_objext
6623 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6624 (eval $ac_compile) 2>conftest.er1
6626 grep -v '^ *+' conftest.er1
>conftest.err
6628 cat conftest.err
>&5
6629 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6630 (exit $ac_status); } &&
6631 { ac_try
='test -z "$ac_c_werror_flag"
6632 || test ! -s conftest.err'
6633 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6636 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6637 (exit $ac_status); }; } &&
6638 { ac_try
='test -s conftest.$ac_objext'
6639 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6642 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6643 (exit $ac_status); }; }; then
6646 echo "$as_me: failed program was:" >&5
6647 sed 's/^/| /' conftest.
$ac_ext >&5
6651 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
6652 ac_cv_c_compiler_gnu
=$ac_compiler_gnu
6655 echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
6656 echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6
6657 GCC
=`test $ac_compiler_gnu = yes && echo yes`
6658 ac_test_CFLAGS
=${CFLAGS+set}
6659 ac_save_CFLAGS
=$CFLAGS
6661 echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
6662 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6
6663 if test "${ac_cv_prog_cc_g+set}" = set; then
6664 echo $ECHO_N "(cached) $ECHO_C" >&6
6666 cat >conftest.
$ac_ext <<_ACEOF
6669 cat confdefs.h
>>conftest.
$ac_ext
6670 cat >>conftest.
$ac_ext <<_ACEOF
6671 /* end confdefs.h. */
6681 rm -f conftest.
$ac_objext
6682 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6683 (eval $ac_compile) 2>conftest.er1
6685 grep -v '^ *+' conftest.er1
>conftest.err
6687 cat conftest.err
>&5
6688 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6689 (exit $ac_status); } &&
6690 { ac_try
='test -z "$ac_c_werror_flag"
6691 || test ! -s conftest.err'
6692 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6695 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6696 (exit $ac_status); }; } &&
6697 { ac_try
='test -s conftest.$ac_objext'
6698 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6701 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6702 (exit $ac_status); }; }; then
6705 echo "$as_me: failed program was:" >&5
6706 sed 's/^/| /' conftest.
$ac_ext >&5
6710 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
6712 echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
6713 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6
6714 if test "$ac_test_CFLAGS" = set; then
6715 CFLAGS
=$ac_save_CFLAGS
6716 elif test $ac_cv_prog_cc_g = yes; then
6717 if test "$GCC" = yes; then
6723 if test "$GCC" = yes; then
6729 echo "$as_me:$LINENO: checking for $CC option to accept ANSI C" >&5
6730 echo $ECHO_N "checking for $CC option to accept ANSI C... $ECHO_C" >&6
6731 if test "${ac_cv_prog_cc_stdc+set}" = set; then
6732 echo $ECHO_N "(cached) $ECHO_C" >&6
6734 ac_cv_prog_cc_stdc
=no
6736 cat >conftest.
$ac_ext <<_ACEOF
6739 cat confdefs.h
>>conftest.
$ac_ext
6740 cat >>conftest.
$ac_ext <<_ACEOF
6741 /* end confdefs.h. */
6744 #include <sys/types.h>
6745 #include <sys/stat.h>
6746 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
6747 struct buf { int x; };
6748 FILE * (*rcsopen) (struct buf *, struct stat *, int);
6749 static char *e (p, i)
6755 static char *f (char * (*g) (char **, int), char **p, ...)
6760 s = g (p, va_arg (v,int));
6765 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
6766 function prototypes and stuff, but not '\xHH' hex character constants.
6767 These don't provoke an error unfortunately, instead are silently treated
6768 as 'x'. The following induces an error, until -std1 is added to get
6769 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
6770 array size at least. It's necessary to write '\x00'==0 to get something
6771 that's true only with -std1. */
6772 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
6774 int test (int i, double x);
6775 struct s1 {int (*f) (int a);};
6776 struct s2 {int (*f) (double a);};
6777 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
6783 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
6788 # Don't try gcc -ansi; that turns off useful extensions and
6789 # breaks some systems' header files.
6790 # AIX -qlanglvl=ansi
6791 # Ultrix and OSF/1 -std1
6792 # HP-UX 10.20 and later -Ae
6793 # HP-UX older versions -Aa -D_HPUX_SOURCE
6794 # SVR4 -Xc -D__EXTENSIONS__
6795 for ac_arg
in "" -qlanglvl=ansi
-std1 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
6797 CC
="$ac_save_CC $ac_arg"
6798 rm -f conftest.
$ac_objext
6799 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6800 (eval $ac_compile) 2>conftest.er1
6802 grep -v '^ *+' conftest.er1
>conftest.err
6804 cat conftest.err
>&5
6805 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6806 (exit $ac_status); } &&
6807 { ac_try
='test -z "$ac_c_werror_flag"
6808 || test ! -s conftest.err'
6809 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6812 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6813 (exit $ac_status); }; } &&
6814 { ac_try
='test -s conftest.$ac_objext'
6815 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6818 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6819 (exit $ac_status); }; }; then
6820 ac_cv_prog_cc_stdc
=$ac_arg
6823 echo "$as_me: failed program was:" >&5
6824 sed 's/^/| /' conftest.
$ac_ext >&5
6827 rm -f conftest.err conftest.
$ac_objext
6829 rm -f conftest.
$ac_ext conftest.
$ac_objext
6834 case "x$ac_cv_prog_cc_stdc" in
6836 echo "$as_me:$LINENO: result: none needed" >&5
6837 echo "${ECHO_T}none needed" >&6 ;;
6839 echo "$as_me:$LINENO: result: $ac_cv_prog_cc_stdc" >&5
6840 echo "${ECHO_T}$ac_cv_prog_cc_stdc" >&6
6841 CC
="$CC $ac_cv_prog_cc_stdc" ;;
6844 # Some people use a C++ compiler to compile C. Since we use `exit',
6845 # in C++ we need to declare it. In case someone uses the same compiler
6846 # for both compiling C and C++ we need to have the C++ compiler decide
6847 # the declaration of exit, since it's the most demanding environment.
6848 cat >conftest.
$ac_ext <<_ACEOF
6853 rm -f conftest.
$ac_objext
6854 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6855 (eval $ac_compile) 2>conftest.er1
6857 grep -v '^ *+' conftest.er1
>conftest.err
6859 cat conftest.err
>&5
6860 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6861 (exit $ac_status); } &&
6862 { ac_try
='test -z "$ac_c_werror_flag"
6863 || test ! -s conftest.err'
6864 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6867 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6868 (exit $ac_status); }; } &&
6869 { ac_try
='test -s conftest.$ac_objext'
6870 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6873 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6874 (exit $ac_status); }; }; then
6875 for ac_declaration
in \
6877 'extern "C" void std::exit (int) throw (); using std::exit;' \
6878 'extern "C" void std::exit (int); using std::exit;' \
6879 'extern "C" void exit (int) throw ();' \
6880 'extern "C" void exit (int);' \
6883 cat >conftest.
$ac_ext <<_ACEOF
6886 cat confdefs.h
>>conftest.
$ac_ext
6887 cat >>conftest.
$ac_ext <<_ACEOF
6888 /* end confdefs.h. */
6899 rm -f conftest.
$ac_objext
6900 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6901 (eval $ac_compile) 2>conftest.er1
6903 grep -v '^ *+' conftest.er1
>conftest.err
6905 cat conftest.err
>&5
6906 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6907 (exit $ac_status); } &&
6908 { ac_try
='test -z "$ac_c_werror_flag"
6909 || test ! -s conftest.err'
6910 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6913 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6914 (exit $ac_status); }; } &&
6915 { ac_try
='test -s conftest.$ac_objext'
6916 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6919 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6920 (exit $ac_status); }; }; then
6923 echo "$as_me: failed program was:" >&5
6924 sed 's/^/| /' conftest.
$ac_ext >&5
6928 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
6929 cat >conftest.
$ac_ext <<_ACEOF
6932 cat confdefs.h
>>conftest.
$ac_ext
6933 cat >>conftest.
$ac_ext <<_ACEOF
6934 /* end confdefs.h. */
6944 rm -f conftest.
$ac_objext
6945 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6946 (eval $ac_compile) 2>conftest.er1
6948 grep -v '^ *+' conftest.er1
>conftest.err
6950 cat conftest.err
>&5
6951 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6952 (exit $ac_status); } &&
6953 { ac_try
='test -z "$ac_c_werror_flag"
6954 || test ! -s conftest.err'
6955 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6958 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6959 (exit $ac_status); }; } &&
6960 { ac_try
='test -s conftest.$ac_objext'
6961 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6964 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6965 (exit $ac_status); }; }; then
6968 echo "$as_me: failed program was:" >&5
6969 sed 's/^/| /' conftest.
$ac_ext >&5
6972 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
6975 if test -n "$ac_declaration"; then
6976 echo '#ifdef __cplusplus' >>confdefs.h
6977 echo $ac_declaration >>confdefs.h
6978 echo '#endif' >>confdefs.h
6982 echo "$as_me: failed program was:" >&5
6983 sed 's/^/| /' conftest.
$ac_ext >&5
6986 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
6988 ac_cpp
='$CPP $CPPFLAGS'
6989 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6990 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6991 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
6993 depcc
="$CC" am_compiler_list
=
6995 echo "$as_me:$LINENO: checking dependency style of $depcc" >&5
6996 echo $ECHO_N "checking dependency style of $depcc... $ECHO_C" >&6
6997 if test "${am_cv_CC_dependencies_compiler_type+set}" = set; then
6998 echo $ECHO_N "(cached) $ECHO_C" >&6
7000 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
7001 # We make a subdir and do the tests there. Otherwise we can end up
7002 # making bogus files that we don't know about and never remove. For
7003 # instance it was reported that on HP-UX the gcc test will end up
7004 # making a dummy file named `D' -- because `-MD' means `put the output
7007 # Copy depcomp to subdir because otherwise we won't find it if we're
7008 # using a relative directory.
7009 cp "$am_depcomp" conftest.dir
7011 # We will build objects and dependencies in a subdirectory because
7012 # it helps to detect inapplicable dependency modes. For instance
7013 # both Tru64's cc and ICC support -MD to output dependencies as a
7014 # side effect of compilation, but ICC will put the dependencies in
7015 # the current directory while Tru64 will put them in the object
7019 am_cv_CC_dependencies_compiler_type
=none
7020 if test "$am_compiler_list" = ""; then
7021 am_compiler_list
=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
7023 for depmode
in $am_compiler_list; do
7024 # Setup a source with many dependencies, because some compilers
7025 # like to wrap large dependency lists on column 80 (with \), and
7026 # we should not choose a depcomp mode which is confused by this.
7028 # We need to recreate these files for each test, as the compiler may
7029 # overwrite some of them when testing with obscure command lines.
7030 # This happens at least with the AIX C compiler.
7032 for i
in 1 2 3 4 5 6; do
7033 echo '#include "conftst'$i'.h"' >> sub
/conftest.c
7034 # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
7035 # Solaris 8's {/usr,}/bin/sh.
7036 touch sub
/conftst
$i.h
7038 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
7042 # after this tag, mechanisms are not by side-effect, so they'll
7043 # only be used when explicitly requested
7044 if test "x$enable_dependency_tracking" = xyes
; then
7052 # We check with `-c' and `-o' for the sake of the "dashmstdout"
7053 # mode. It turns out that the SunPro C++ compiler does not properly
7054 # handle `-M -o', and we need to detect this.
7055 if depmode
=$depmode \
7056 source=sub
/conftest.c object
=sub
/conftest.
${OBJEXT-o} \
7057 depfile
=sub
/conftest.Po tmpdepfile
=sub
/conftest.TPo \
7058 $SHELL .
/depcomp
$depcc -c -o sub
/conftest.
${OBJEXT-o} sub
/conftest.c \
7059 >/dev
/null
2>conftest.err
&&
7060 grep sub
/conftst6.h sub
/conftest.Po
> /dev
/null
2>&1 &&
7061 grep sub
/conftest.
${OBJEXT-o} sub
/conftest.Po
> /dev
/null
2>&1 &&
7062 ${MAKE-make} -s -f confmf
> /dev
/null
2>&1; then
7063 # icc doesn't choke on unknown options, it will just issue warnings
7064 # or remarks (even with -Werror). So we grep stderr for any message
7065 # that says an option was ignored or not supported.
7066 # When given -MP, icc 7.0 and 7.1 complain thusly:
7067 # icc: Command line warning: ignoring option '-M'; no argument required
7068 # The diagnosis changed in icc 8.0:
7069 # icc: Command line remark: option '-MP' not supported
7070 if (grep 'ignoring option' conftest.err ||
7071 grep 'not supported' conftest.err
) >/dev
/null
2>&1; then :; else
7072 am_cv_CC_dependencies_compiler_type
=$depmode
7081 am_cv_CC_dependencies_compiler_type
=none
7085 echo "$as_me:$LINENO: result: $am_cv_CC_dependencies_compiler_type" >&5
7086 echo "${ECHO_T}$am_cv_CC_dependencies_compiler_type" >&6
7087 CCDEPMODE
=depmode
=$am_cv_CC_dependencies_compiler_type
7092 test "x$enable_dependency_tracking" != xno \
7093 && test "$am_cv_CC_dependencies_compiler_type" = gcc3
; then
7095 am__fastdepCC_FALSE
='#'
7097 am__fastdepCC_TRUE
='#'
7098 am__fastdepCC_FALSE
=
7103 ac_cpp
='$CPP $CPPFLAGS'
7104 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7105 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7106 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
7107 echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5
7108 echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6
7109 # On Suns, sometimes $CPP names a directory.
7110 if test -n "$CPP" && test -d "$CPP"; then
7113 if test -z "$CPP"; then
7114 if test "${ac_cv_prog_CPP+set}" = set; then
7115 echo $ECHO_N "(cached) $ECHO_C" >&6
7117 # Double quotes because CPP needs to be expanded
7118 for CPP
in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
7121 for ac_c_preproc_warn_flag
in '' yes
7123 # Use a header file that comes with gcc, so configuring glibc
7124 # with a fresh cross-compiler works.
7125 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
7126 # <limits.h> exists even on freestanding compilers.
7127 # On the NeXT, cc -E runs the code through the compiler's parser,
7128 # not just through cpp. "Syntax error" is here to catch this case.
7129 cat >conftest.
$ac_ext <<_ACEOF
7132 cat confdefs.h
>>conftest.
$ac_ext
7133 cat >>conftest.
$ac_ext <<_ACEOF
7134 /* end confdefs.h. */
7136 # include <limits.h>
7138 # include <assert.h>
7142 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
7143 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
7145 grep -v '^ *+' conftest.er1
>conftest.err
7147 cat conftest.err
>&5
7148 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7149 (exit $ac_status); } >/dev
/null
; then
7150 if test -s conftest.err
; then
7151 ac_cpp_err
=$ac_c_preproc_warn_flag
7152 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
7159 if test -z "$ac_cpp_err"; then
7162 echo "$as_me: failed program was:" >&5
7163 sed 's/^/| /' conftest.
$ac_ext >&5
7165 # Broken: fails on valid input.
7168 rm -f conftest.err conftest.
$ac_ext
7170 # OK, works on sane cases. Now check whether non-existent headers
7171 # can be detected and how.
7172 cat >conftest.
$ac_ext <<_ACEOF
7175 cat confdefs.h
>>conftest.
$ac_ext
7176 cat >>conftest.
$ac_ext <<_ACEOF
7177 /* end confdefs.h. */
7178 #include <ac_nonexistent.h>
7180 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
7181 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
7183 grep -v '^ *+' conftest.er1
>conftest.err
7185 cat conftest.err
>&5
7186 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7187 (exit $ac_status); } >/dev
/null
; then
7188 if test -s conftest.err
; then
7189 ac_cpp_err
=$ac_c_preproc_warn_flag
7190 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
7197 if test -z "$ac_cpp_err"; then
7198 # Broken: success on invalid input.
7201 echo "$as_me: failed program was:" >&5
7202 sed 's/^/| /' conftest.
$ac_ext >&5
7204 # Passes both tests.
7208 rm -f conftest.err conftest.
$ac_ext
7211 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
7212 rm -f conftest.err conftest.
$ac_ext
7213 if $ac_preproc_ok; then
7225 echo "$as_me:$LINENO: result: $CPP" >&5
7226 echo "${ECHO_T}$CPP" >&6
7228 for ac_c_preproc_warn_flag
in '' yes
7230 # Use a header file that comes with gcc, so configuring glibc
7231 # with a fresh cross-compiler works.
7232 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
7233 # <limits.h> exists even on freestanding compilers.
7234 # On the NeXT, cc -E runs the code through the compiler's parser,
7235 # not just through cpp. "Syntax error" is here to catch this case.
7236 cat >conftest.
$ac_ext <<_ACEOF
7239 cat confdefs.h
>>conftest.
$ac_ext
7240 cat >>conftest.
$ac_ext <<_ACEOF
7241 /* end confdefs.h. */
7243 # include <limits.h>
7245 # include <assert.h>
7249 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
7250 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
7252 grep -v '^ *+' conftest.er1
>conftest.err
7254 cat conftest.err
>&5
7255 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7256 (exit $ac_status); } >/dev
/null
; then
7257 if test -s conftest.err
; then
7258 ac_cpp_err
=$ac_c_preproc_warn_flag
7259 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
7266 if test -z "$ac_cpp_err"; then
7269 echo "$as_me: failed program was:" >&5
7270 sed 's/^/| /' conftest.
$ac_ext >&5
7272 # Broken: fails on valid input.
7275 rm -f conftest.err conftest.
$ac_ext
7277 # OK, works on sane cases. Now check whether non-existent headers
7278 # can be detected and how.
7279 cat >conftest.
$ac_ext <<_ACEOF
7282 cat confdefs.h
>>conftest.
$ac_ext
7283 cat >>conftest.
$ac_ext <<_ACEOF
7284 /* end confdefs.h. */
7285 #include <ac_nonexistent.h>
7287 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
7288 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
7290 grep -v '^ *+' conftest.er1
>conftest.err
7292 cat conftest.err
>&5
7293 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7294 (exit $ac_status); } >/dev
/null
; then
7295 if test -s conftest.err
; then
7296 ac_cpp_err
=$ac_c_preproc_warn_flag
7297 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
7304 if test -z "$ac_cpp_err"; then
7305 # Broken: success on invalid input.
7308 echo "$as_me: failed program was:" >&5
7309 sed 's/^/| /' conftest.
$ac_ext >&5
7311 # Passes both tests.
7315 rm -f conftest.err conftest.
$ac_ext
7318 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
7319 rm -f conftest.err conftest.
$ac_ext
7320 if $ac_preproc_ok; then
7323 { { echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check
7324 See \`config.log' for more details." >&5
7325 echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check
7326 See \`config.log' for more details." >&2;}
7327 { (exit 1); exit 1; }; }
7331 ac_cpp
='$CPP $CPPFLAGS'
7332 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7333 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7334 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
7337 if test "x${COMPILE_COLLECTIONS}" = xyes
; then
7338 # Extract the first word of "perl", so it can be a program name with args.
7339 set dummy perl
; ac_word
=$2
7340 echo "$as_me:$LINENO: checking for $ac_word" >&5
7341 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
7342 if test "${ac_cv_path_PERL+set}" = set; then
7343 echo $ECHO_N "(cached) $ECHO_C" >&6
7347 ac_cv_path_PERL
="$PERL" # Let the user override the test with a path.
7350 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7354 test -z "$as_dir" && as_dir
=.
7355 for ac_exec_ext
in '' $ac_executable_extensions; do
7356 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7357 ac_cv_path_PERL
="$as_dir/$ac_word$ac_exec_ext"
7358 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
7367 PERL
=$ac_cv_path_PERL
7369 if test -n "$PERL"; then
7370 echo "$as_me:$LINENO: result: $PERL" >&5
7371 echo "${ECHO_T}$PERL" >&6
7373 echo "$as_me:$LINENO: result: no" >&5
7374 echo "${ECHO_T}no" >&6
7379 ac_config_files
="$ac_config_files lib/mkcollections.pl"
7381 ac_config_commands
="$ac_config_commands mkcollections.pl"
7385 if test "x${COMPILE_JNI}" = xyes
; then
7386 echo "$as_me:$LINENO: checking for ANSI C header files" >&5
7387 echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6
7388 if test "${ac_cv_header_stdc+set}" = set; then
7389 echo $ECHO_N "(cached) $ECHO_C" >&6
7391 cat >conftest.
$ac_ext <<_ACEOF
7394 cat confdefs.h
>>conftest.
$ac_ext
7395 cat >>conftest.
$ac_ext <<_ACEOF
7396 /* end confdefs.h. */
7410 rm -f conftest.
$ac_objext
7411 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7412 (eval $ac_compile) 2>conftest.er1
7414 grep -v '^ *+' conftest.er1
>conftest.err
7416 cat conftest.err
>&5
7417 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7418 (exit $ac_status); } &&
7419 { ac_try
='test -z "$ac_c_werror_flag"
7420 || test ! -s conftest.err'
7421 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7424 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7425 (exit $ac_status); }; } &&
7426 { ac_try
='test -s conftest.$ac_objext'
7427 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7430 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7431 (exit $ac_status); }; }; then
7432 ac_cv_header_stdc
=yes
7434 echo "$as_me: failed program was:" >&5
7435 sed 's/^/| /' conftest.
$ac_ext >&5
7437 ac_cv_header_stdc
=no
7439 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
7441 if test $ac_cv_header_stdc = yes; then
7442 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
7443 cat >conftest.
$ac_ext <<_ACEOF
7446 cat confdefs.h
>>conftest.
$ac_ext
7447 cat >>conftest.
$ac_ext <<_ACEOF
7448 /* end confdefs.h. */
7452 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
7453 $EGREP "memchr" >/dev
/null
2>&1; then
7456 ac_cv_header_stdc
=no
7462 if test $ac_cv_header_stdc = yes; then
7463 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
7464 cat >conftest.
$ac_ext <<_ACEOF
7467 cat confdefs.h
>>conftest.
$ac_ext
7468 cat >>conftest.
$ac_ext <<_ACEOF
7469 /* end confdefs.h. */
7473 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
7474 $EGREP "free" >/dev
/null
2>&1; then
7477 ac_cv_header_stdc
=no
7483 if test $ac_cv_header_stdc = yes; then
7484 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
7485 if test "$cross_compiling" = yes; then
7488 cat >conftest.
$ac_ext <<_ACEOF
7491 cat confdefs.h
>>conftest.
$ac_ext
7492 cat >>conftest.
$ac_ext <<_ACEOF
7493 /* end confdefs.h. */
7495 #if ((' ' & 0x0FF) == 0x020)
7496 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
7497 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
7499 # define ISLOWER(c) \
7500 (('a' <= (c) && (c) <= 'i') \
7501 || ('j' <= (c) && (c) <= 'r') \
7502 || ('s' <= (c) && (c) <= 'z'))
7503 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
7506 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
7511 for (i = 0; i < 256; i++)
7512 if (XOR (islower (i), ISLOWER (i))
7513 || toupper (i) != TOUPPER (i))
7518 rm -f conftest
$ac_exeext
7519 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
7520 (eval $ac_link) 2>&5
7522 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7523 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
7524 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7527 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7528 (exit $ac_status); }; }; then
7531 echo "$as_me: program exited with status $ac_status" >&5
7532 echo "$as_me: failed program was:" >&5
7533 sed 's/^/| /' conftest.
$ac_ext >&5
7536 ac_cv_header_stdc
=no
7538 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
7542 echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
7543 echo "${ECHO_T}$ac_cv_header_stdc" >&6
7544 if test $ac_cv_header_stdc = yes; then
7546 cat >>confdefs.h
<<\_ACEOF
7547 #define STDC_HEADERS 1
7553 echo "$as_me:$LINENO: checking size of void *" >&5
7554 echo $ECHO_N "checking size of void *... $ECHO_C" >&6
7555 if test "${ac_cv_sizeof_void_p+set}" = set; then
7556 echo $ECHO_N "(cached) $ECHO_C" >&6
7558 for ac_size
in 4 8 1 2 16 12 ; do # List sizes in rough order of prevalence.
7559 cat >conftest.
$ac_ext <<_ACEOF
7562 cat confdefs.h
>>conftest.
$ac_ext
7563 cat >>conftest.
$ac_ext <<_ACEOF
7564 /* end confdefs.h. */
7565 #include "confdefs.h"
7566 #include <sys/types.h>
7572 switch (0) case 0: case (sizeof (void *) == $ac_size):;
7577 rm -f conftest.
$ac_objext
7578 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7579 (eval $ac_compile) 2>conftest.er1
7581 grep -v '^ *+' conftest.er1
>conftest.err
7583 cat conftest.err
>&5
7584 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7585 (exit $ac_status); } &&
7586 { ac_try
='test -z "$ac_c_werror_flag"
7587 || test ! -s conftest.err'
7588 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7591 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7592 (exit $ac_status); }; } &&
7593 { ac_try
='test -s conftest.$ac_objext'
7594 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7597 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7598 (exit $ac_status); }; }; then
7599 ac_cv_sizeof_void_p
=$ac_size
7601 echo "$as_me: failed program was:" >&5
7602 sed 's/^/| /' conftest.
$ac_ext >&5
7605 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
7606 if test x
$ac_cv_sizeof_void_p != x
; then break; fi
7611 if test x
$ac_cv_sizeof_void_p = x
; then
7612 { { echo "$as_me:$LINENO: error: cannot determine a size for void *" >&5
7613 echo "$as_me: error: cannot determine a size for void *" >&2;}
7614 { (exit 1); exit 1; }; }
7616 echo "$as_me:$LINENO: result: $ac_cv_sizeof_void_p" >&5
7617 echo "${ECHO_T}$ac_cv_sizeof_void_p" >&6
7619 cat >>confdefs.h
<<_ACEOF
7620 #define SIZEOF_VOID_P $ac_cv_sizeof_void_p
7625 echo "$as_me:$LINENO: checking whether byte ordering is bigendian" >&5
7626 echo $ECHO_N "checking whether byte ordering is bigendian... $ECHO_C" >&6
7627 if test "${ac_cv_c_bigendian+set}" = set; then
7628 echo $ECHO_N "(cached) $ECHO_C" >&6
7630 ac_cv_c_bigendian
=unknown
7631 # See if sys/param.h defines the BYTE_ORDER macro.
7632 cat >conftest.
$ac_ext <<_ACEOF
7635 cat confdefs.h
>>conftest.
$ac_ext
7636 cat >>conftest.
$ac_ext <<_ACEOF
7637 /* end confdefs.h. */
7638 #include <sys/types.h>
7639 #include <sys/param.h>
7644 #if !BYTE_ORDER || !BIG_ENDIAN || !LITTLE_ENDIAN
7651 rm -f conftest.
$ac_objext
7652 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7653 (eval $ac_compile) 2>conftest.er1
7655 grep -v '^ *+' conftest.er1
>conftest.err
7657 cat conftest.err
>&5
7658 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7659 (exit $ac_status); } &&
7660 { ac_try
='test -z "$ac_c_werror_flag"
7661 || test ! -s conftest.err'
7662 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7665 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7666 (exit $ac_status); }; } &&
7667 { ac_try
='test -s conftest.$ac_objext'
7668 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7671 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7672 (exit $ac_status); }; }; then
7673 # It does; now see whether it defined to BIG_ENDIAN or not.
7674 cat >conftest.
$ac_ext <<_ACEOF
7677 cat confdefs.h
>>conftest.
$ac_ext
7678 cat >>conftest.
$ac_ext <<_ACEOF
7679 /* end confdefs.h. */
7680 #include <sys/types.h>
7681 #include <sys/param.h>
7686 #if BYTE_ORDER != BIG_ENDIAN
7693 rm -f conftest.
$ac_objext
7694 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7695 (eval $ac_compile) 2>conftest.er1
7697 grep -v '^ *+' conftest.er1
>conftest.err
7699 cat conftest.err
>&5
7700 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7701 (exit $ac_status); } &&
7702 { ac_try
='test -z "$ac_c_werror_flag"
7703 || test ! -s conftest.err'
7704 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7707 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7708 (exit $ac_status); }; } &&
7709 { ac_try
='test -s conftest.$ac_objext'
7710 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7713 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7714 (exit $ac_status); }; }; then
7715 ac_cv_c_bigendian
=yes
7717 echo "$as_me: failed program was:" >&5
7718 sed 's/^/| /' conftest.
$ac_ext >&5
7720 ac_cv_c_bigendian
=no
7722 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
7724 echo "$as_me: failed program was:" >&5
7725 sed 's/^/| /' conftest.
$ac_ext >&5
7728 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
7729 if test $ac_cv_c_bigendian = unknown
; then
7730 if test "$cross_compiling" = yes; then
7731 echo $ac_n "cross-compiling... " 2>&6
7733 cat >conftest.
$ac_ext <<_ACEOF
7736 cat confdefs.h
>>conftest.
$ac_ext
7737 cat >>conftest.
$ac_ext <<_ACEOF
7738 /* end confdefs.h. */
7740 /* Are we little or big endian? From Harbison&Steele. */
7744 char c[sizeof (long)];
7747 exit (u.c[sizeof (long) - 1] == 1);
7750 rm -f conftest
$ac_exeext
7751 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
7752 (eval $ac_link) 2>&5
7754 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7755 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
7756 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7759 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7760 (exit $ac_status); }; }; then
7761 ac_cv_c_bigendian
=no
7763 echo "$as_me: program exited with status $ac_status" >&5
7764 echo "$as_me: failed program was:" >&5
7765 sed 's/^/| /' conftest.
$ac_ext >&5
7768 ac_cv_c_bigendian
=yes
7770 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
7774 echo "$as_me:$LINENO: result: $ac_cv_c_bigendian" >&5
7775 echo "${ECHO_T}$ac_cv_c_bigendian" >&6
7776 if test $ac_cv_c_bigendian = unknown
; then
7777 echo "$as_me:$LINENO: checking to probe for byte ordering" >&5
7778 echo $ECHO_N "checking to probe for byte ordering... $ECHO_C" >&6
7780 cat >conftest.c
<<EOF
7781 short ascii_mm[] = { 0x4249, 0x4765, 0x6E44, 0x6961, 0x6E53, 0x7953, 0 };
7782 short ascii_ii[] = { 0x694C, 0x5454, 0x656C, 0x6E45, 0x6944, 0x6E61, 0 };
7783 void _ascii() { char* s = (char*) ascii_mm; s = (char*) ascii_ii; }
7784 short ebcdic_ii[] = { 0x89D3, 0xE3E3, 0x8593, 0x95C5, 0x89C4, 0x9581, 0 };
7785 short ebcdic_mm[] = { 0xC2C9, 0xC785, 0x95C4, 0x8981, 0x95E2, 0xA8E2, 0 };
7786 void _ebcdic() { char* s = (char*) ebcdic_mm; s = (char*) ebcdic_ii; }
7787 int main() { _ascii (); _ebcdic (); return 0; }
7789 if test -f conftest.c
; then
7790 if ${CC-cc} ${CFLAGS} -c conftest.c
-o conftest.o
&& test -f conftest.o
; then
7791 if test `grep -l BIGenDianSyS conftest.o` ; then
7792 echo $ac_n ' big endian probe OK, ' 1>&6
7793 ac_cv_c_bigendian
=yes
7795 if test `grep -l LiTTleEnDian conftest.o` ; then
7796 echo $ac_n ' little endian probe OK, ' 1>&6
7797 if test $ac_cv_c_bigendian = yes ; then
7798 ac_cv_c_bigendian
=unknown
;
7800 ac_cv_c_bigendian
=no
7803 echo $ac_n 'guessing bigendian ... ' >&6
7806 echo "$as_me:$LINENO: result: $ac_cv_c_bigendian" >&5
7807 echo "${ECHO_T}$ac_cv_c_bigendian" >&6
7809 if test $ac_cv_c_bigendian = yes; then
7811 cat >>confdefs.h
<<\_ACEOF
7812 #define WORDS_BIGENDIAN 1
7816 cat >>confdefs.h
<<\_ACEOF
7817 #define HOST_WORDS_BIG_ENDIAN 1
7825 cat >>confdefs.h
<<_ACEOF
7826 #define BYTEORDER $BYTEORDER
7829 if test $ac_cv_c_bigendian = unknown
; then
7830 { { echo "$as_me:$LINENO: error: unknown endianess - sorry, please pre-set ac_cv_c_bigendian" >&5
7831 echo "$as_me: error: unknown endianess - sorry, please pre-set ac_cv_c_bigendian" >&2;}
7832 { (exit 1); exit 1; }; }
7852 for ac_header
in unistd.h sys
/types.h sys
/config.h sys
/ioctl.h \
7854 inttypes.h stdint.h utime.h sys
/utime.h sys
/filio.h \
7862 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
7863 if eval "test \"\${$as_ac_Header+set}\" = set"; then
7864 echo "$as_me:$LINENO: checking for $ac_header" >&5
7865 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
7866 if eval "test \"\${$as_ac_Header+set}\" = set"; then
7867 echo $ECHO_N "(cached) $ECHO_C" >&6
7869 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
7870 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
7872 # Is the header compilable?
7873 echo "$as_me:$LINENO: checking $ac_header usability" >&5
7874 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
7875 cat >conftest.
$ac_ext <<_ACEOF
7878 cat confdefs.h
>>conftest.
$ac_ext
7879 cat >>conftest.
$ac_ext <<_ACEOF
7880 /* end confdefs.h. */
7881 $ac_includes_default
7882 #include <$ac_header>
7884 rm -f conftest.
$ac_objext
7885 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7886 (eval $ac_compile) 2>conftest.er1
7888 grep -v '^ *+' conftest.er1
>conftest.err
7890 cat conftest.err
>&5
7891 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7892 (exit $ac_status); } &&
7893 { ac_try
='test -z "$ac_c_werror_flag"
7894 || test ! -s conftest.err'
7895 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7898 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7899 (exit $ac_status); }; } &&
7900 { ac_try
='test -s conftest.$ac_objext'
7901 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7904 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7905 (exit $ac_status); }; }; then
7906 ac_header_compiler
=yes
7908 echo "$as_me: failed program was:" >&5
7909 sed 's/^/| /' conftest.
$ac_ext >&5
7911 ac_header_compiler
=no
7913 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
7914 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
7915 echo "${ECHO_T}$ac_header_compiler" >&6
7917 # Is the header present?
7918 echo "$as_me:$LINENO: checking $ac_header presence" >&5
7919 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
7920 cat >conftest.
$ac_ext <<_ACEOF
7923 cat confdefs.h
>>conftest.
$ac_ext
7924 cat >>conftest.
$ac_ext <<_ACEOF
7925 /* end confdefs.h. */
7926 #include <$ac_header>
7928 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
7929 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
7931 grep -v '^ *+' conftest.er1
>conftest.err
7933 cat conftest.err
>&5
7934 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7935 (exit $ac_status); } >/dev
/null
; then
7936 if test -s conftest.err
; then
7937 ac_cpp_err
=$ac_c_preproc_warn_flag
7938 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
7945 if test -z "$ac_cpp_err"; then
7946 ac_header_preproc
=yes
7948 echo "$as_me: failed program was:" >&5
7949 sed 's/^/| /' conftest.
$ac_ext >&5
7951 ac_header_preproc
=no
7953 rm -f conftest.err conftest.
$ac_ext
7954 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
7955 echo "${ECHO_T}$ac_header_preproc" >&6
7957 # So? What about this header?
7958 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
7960 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
7961 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
7962 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
7963 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
7964 ac_header_preproc
=yes
7967 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
7968 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
7969 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
7970 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
7971 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
7972 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
7973 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
7974 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
7975 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
7976 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
7977 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
7978 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
7981 ## -------------------------------- ##
7982 ## Report this to classpath@gnu.org ##
7983 ## -------------------------------- ##
7986 sed "s/^/$as_me: WARNING: /" >&2
7989 echo "$as_me:$LINENO: checking for $ac_header" >&5
7990 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
7991 if eval "test \"\${$as_ac_Header+set}\" = set"; then
7992 echo $ECHO_N "(cached) $ECHO_C" >&6
7994 eval "$as_ac_Header=\$ac_header_preproc"
7996 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
7997 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
8000 if test `eval echo '${'$as_ac_Header'}'` = yes; then
8001 cat >>confdefs.h
<<_ACEOF
8002 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
8010 cat >conftest.
$ac_ext <<_ACEOF
8013 cat confdefs.h
>>conftest.
$ac_ext
8014 cat >>conftest.
$ac_ext <<_ACEOF
8015 /* end confdefs.h. */
8019 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
8020 $EGREP "uint32_t" >/dev
/null
2>&1; then
8022 cat >>confdefs.h
<<\_ACEOF
8023 #define HAVE_INT32_DEFINED 1
8029 cat >conftest.
$ac_ext <<_ACEOF
8032 cat confdefs.h
>>conftest.
$ac_ext
8033 cat >>conftest.
$ac_ext <<_ACEOF
8034 /* end confdefs.h. */
8035 #include <inttypes.h>
8038 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
8039 $EGREP "uint32_t" >/dev
/null
2>&1; then
8041 cat >>confdefs.h
<<\_ACEOF
8042 #define HAVE_INT32_DEFINED 1
8048 cat >conftest.
$ac_ext <<_ACEOF
8051 cat confdefs.h
>>conftest.
$ac_ext
8052 cat >>conftest.
$ac_ext <<_ACEOF
8053 /* end confdefs.h. */
8054 #include <sys/types.h>
8057 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
8058 $EGREP "u_int32_t" >/dev
/null
2>&1; then
8060 cat >>confdefs.h
<<\_ACEOF
8061 #define HAVE_BSD_INT32_DEFINED 1
8067 cat >conftest.
$ac_ext <<_ACEOF
8070 cat confdefs.h
>>conftest.
$ac_ext
8071 cat >>conftest.
$ac_ext <<_ACEOF
8072 /* end confdefs.h. */
8073 #include <sys/config.h>
8076 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
8077 $EGREP "u_int32_t" >/dev
/null
2>&1; then
8079 cat >>confdefs.h
<<\_ACEOF
8080 #define HAVE_BSD_INT32_DEFINED 1
8130 for ac_func
in ftruncate fsync
select \
8131 gethostname socket strerror fork pipe execve open close \
8132 lseek fstat
read write htonl memset htons connect \
8133 getsockname getpeername
bind listen accept \
8134 recvfrom send sendto setsockopt getsockopt
time mktime \
8138 mmap munmap mincore msync madvise getpagesize sysconf \
8142 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
8143 echo "$as_me:$LINENO: checking for $ac_func" >&5
8144 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
8145 if eval "test \"\${$as_ac_var+set}\" = set"; then
8146 echo $ECHO_N "(cached) $ECHO_C" >&6
8148 cat >conftest.
$ac_ext <<_ACEOF
8151 cat confdefs.h
>>conftest.
$ac_ext
8152 cat >>conftest.
$ac_ext <<_ACEOF
8153 /* end confdefs.h. */
8154 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
8155 For example, HP-UX 11i <limits.h> declares gettimeofday. */
8156 #define $ac_func innocuous_$ac_func
8158 /* System header to define __stub macros and hopefully few prototypes,
8159 which can conflict with char $ac_func (); below.
8160 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
8161 <limits.h> exists even on freestanding compilers. */
8164 # include <limits.h>
8166 # include <assert.h>
8171 /* Override any gcc2 internal prototype to avoid an error. */
8176 /* We use char because int might match the return type of a gcc2
8177 builtin and then its argument prototype would still apply. */
8179 /* The GNU C library defines this for functions which it implements
8180 to always fail with ENOSYS. Some functions are actually named
8181 something starting with __ and the normal name is an alias. */
8182 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
8185 char (*f) () = $ac_func;
8194 return f != $ac_func;
8199 rm -f conftest.
$ac_objext conftest
$ac_exeext
8200 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8201 (eval $ac_link) 2>conftest.er1
8203 grep -v '^ *+' conftest.er1
>conftest.err
8205 cat conftest.err
>&5
8206 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8207 (exit $ac_status); } &&
8208 { ac_try
='test -z "$ac_c_werror_flag"
8209 || test ! -s conftest.err'
8210 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8213 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8214 (exit $ac_status); }; } &&
8215 { ac_try
='test -s conftest$ac_exeext'
8216 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8219 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8220 (exit $ac_status); }; }; then
8221 eval "$as_ac_var=yes"
8223 echo "$as_me: failed program was:" >&5
8224 sed 's/^/| /' conftest.
$ac_ext >&5
8226 eval "$as_ac_var=no"
8228 rm -f conftest.err conftest.
$ac_objext \
8229 conftest
$ac_exeext conftest.
$ac_ext
8231 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
8232 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
8233 if test `eval echo '${'$as_ac_var'}'` = yes; then
8234 cat >>confdefs.h
<<_ACEOF
8235 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
8243 echo "$as_me:$LINENO: checking for magic_open in -lmagic" >&5
8244 echo $ECHO_N "checking for magic_open in -lmagic... $ECHO_C" >&6
8245 if test "${ac_cv_lib_magic_magic_open+set}" = set; then
8246 echo $ECHO_N "(cached) $ECHO_C" >&6
8248 ac_check_lib_save_LIBS
=$LIBS
8249 LIBS
="-lmagic $LIBS"
8250 cat >conftest.
$ac_ext <<_ACEOF
8253 cat confdefs.h
>>conftest.
$ac_ext
8254 cat >>conftest.
$ac_ext <<_ACEOF
8255 /* end confdefs.h. */
8257 /* Override any gcc2 internal prototype to avoid an error. */
8261 /* We use char because int might match the return type of a gcc2
8262 builtin and then its argument prototype would still apply. */
8272 rm -f conftest.
$ac_objext conftest
$ac_exeext
8273 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8274 (eval $ac_link) 2>conftest.er1
8276 grep -v '^ *+' conftest.er1
>conftest.err
8278 cat conftest.err
>&5
8279 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8280 (exit $ac_status); } &&
8281 { ac_try
='test -z "$ac_c_werror_flag"
8282 || test ! -s conftest.err'
8283 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8286 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8287 (exit $ac_status); }; } &&
8288 { ac_try
='test -s conftest$ac_exeext'
8289 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8292 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8293 (exit $ac_status); }; }; then
8294 ac_cv_lib_magic_magic_open
=yes
8296 echo "$as_me: failed program was:" >&5
8297 sed 's/^/| /' conftest.
$ac_ext >&5
8299 ac_cv_lib_magic_magic_open
=no
8301 rm -f conftest.err conftest.
$ac_objext \
8302 conftest
$ac_exeext conftest.
$ac_ext
8303 LIBS
=$ac_check_lib_save_LIBS
8305 echo "$as_me:$LINENO: result: $ac_cv_lib_magic_magic_open" >&5
8306 echo "${ECHO_T}$ac_cv_lib_magic_magic_open" >&6
8307 if test $ac_cv_lib_magic_magic_open = yes; then
8313 echo "$as_me:$LINENO: checking whether time.h and sys/time.h may both be included" >&5
8314 echo $ECHO_N "checking whether time.h and sys/time.h may both be included... $ECHO_C" >&6
8315 if test "${ac_cv_header_time+set}" = set; then
8316 echo $ECHO_N "(cached) $ECHO_C" >&6
8318 cat >conftest.
$ac_ext <<_ACEOF
8321 cat confdefs.h
>>conftest.
$ac_ext
8322 cat >>conftest.
$ac_ext <<_ACEOF
8323 /* end confdefs.h. */
8324 #include <sys/types.h>
8325 #include <sys/time.h>
8331 if ((struct tm *) 0)
8337 rm -f conftest.
$ac_objext
8338 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
8339 (eval $ac_compile) 2>conftest.er1
8341 grep -v '^ *+' conftest.er1
>conftest.err
8343 cat conftest.err
>&5
8344 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8345 (exit $ac_status); } &&
8346 { ac_try
='test -z "$ac_c_werror_flag"
8347 || test ! -s conftest.err'
8348 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8351 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8352 (exit $ac_status); }; } &&
8353 { ac_try
='test -s conftest.$ac_objext'
8354 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8357 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8358 (exit $ac_status); }; }; then
8359 ac_cv_header_time
=yes
8361 echo "$as_me: failed program was:" >&5
8362 sed 's/^/| /' conftest.
$ac_ext >&5
8364 ac_cv_header_time
=no
8366 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
8368 echo "$as_me:$LINENO: result: $ac_cv_header_time" >&5
8369 echo "${ECHO_T}$ac_cv_header_time" >&6
8370 if test $ac_cv_header_time = yes; then
8372 cat >>confdefs.h
<<\_ACEOF
8373 #define TIME_WITH_SYS_TIME 1
8378 echo "$as_me:$LINENO: checking whether struct tm is in sys/time.h or time.h" >&5
8379 echo $ECHO_N "checking whether struct tm is in sys/time.h or time.h... $ECHO_C" >&6
8380 if test "${ac_cv_struct_tm+set}" = set; then
8381 echo $ECHO_N "(cached) $ECHO_C" >&6
8383 cat >conftest.
$ac_ext <<_ACEOF
8386 cat confdefs.h
>>conftest.
$ac_ext
8387 cat >>conftest.
$ac_ext <<_ACEOF
8388 /* end confdefs.h. */
8389 #include <sys/types.h>
8395 struct tm *tp; tp->tm_sec;
8400 rm -f conftest.
$ac_objext
8401 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
8402 (eval $ac_compile) 2>conftest.er1
8404 grep -v '^ *+' conftest.er1
>conftest.err
8406 cat conftest.err
>&5
8407 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8408 (exit $ac_status); } &&
8409 { ac_try
='test -z "$ac_c_werror_flag"
8410 || test ! -s conftest.err'
8411 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8414 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8415 (exit $ac_status); }; } &&
8416 { ac_try
='test -s conftest.$ac_objext'
8417 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8420 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8421 (exit $ac_status); }; }; then
8422 ac_cv_struct_tm
=time.h
8424 echo "$as_me: failed program was:" >&5
8425 sed 's/^/| /' conftest.
$ac_ext >&5
8427 ac_cv_struct_tm
=sys
/time.h
8429 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
8431 echo "$as_me:$LINENO: result: $ac_cv_struct_tm" >&5
8432 echo "${ECHO_T}$ac_cv_struct_tm" >&6
8433 if test $ac_cv_struct_tm = sys
/time.h
; then
8435 cat >>confdefs.h
<<\_ACEOF
8436 #define TM_IN_SYS_TIME 1
8441 echo "$as_me:$LINENO: checking for struct tm.tm_zone" >&5
8442 echo $ECHO_N "checking for struct tm.tm_zone... $ECHO_C" >&6
8443 if test "${ac_cv_member_struct_tm_tm_zone+set}" = set; then
8444 echo $ECHO_N "(cached) $ECHO_C" >&6
8446 cat >conftest.
$ac_ext <<_ACEOF
8449 cat confdefs.h
>>conftest.
$ac_ext
8450 cat >>conftest.
$ac_ext <<_ACEOF
8451 /* end confdefs.h. */
8452 #include <sys/types.h>
8453 #include <$ac_cv_struct_tm>
8459 static struct tm ac_aggr;
8460 if (ac_aggr.tm_zone)
8466 rm -f conftest.
$ac_objext
8467 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
8468 (eval $ac_compile) 2>conftest.er1
8470 grep -v '^ *+' conftest.er1
>conftest.err
8472 cat conftest.err
>&5
8473 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8474 (exit $ac_status); } &&
8475 { ac_try
='test -z "$ac_c_werror_flag"
8476 || test ! -s conftest.err'
8477 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8480 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8481 (exit $ac_status); }; } &&
8482 { ac_try
='test -s conftest.$ac_objext'
8483 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8486 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8487 (exit $ac_status); }; }; then
8488 ac_cv_member_struct_tm_tm_zone
=yes
8490 echo "$as_me: failed program was:" >&5
8491 sed 's/^/| /' conftest.
$ac_ext >&5
8493 cat >conftest.
$ac_ext <<_ACEOF
8496 cat confdefs.h
>>conftest.
$ac_ext
8497 cat >>conftest.
$ac_ext <<_ACEOF
8498 /* end confdefs.h. */
8499 #include <sys/types.h>
8500 #include <$ac_cv_struct_tm>
8506 static struct tm ac_aggr;
8507 if (sizeof ac_aggr.tm_zone)
8513 rm -f conftest.
$ac_objext
8514 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
8515 (eval $ac_compile) 2>conftest.er1
8517 grep -v '^ *+' conftest.er1
>conftest.err
8519 cat conftest.err
>&5
8520 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8521 (exit $ac_status); } &&
8522 { ac_try
='test -z "$ac_c_werror_flag"
8523 || test ! -s conftest.err'
8524 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8527 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8528 (exit $ac_status); }; } &&
8529 { ac_try
='test -s conftest.$ac_objext'
8530 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8533 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8534 (exit $ac_status); }; }; then
8535 ac_cv_member_struct_tm_tm_zone
=yes
8537 echo "$as_me: failed program was:" >&5
8538 sed 's/^/| /' conftest.
$ac_ext >&5
8540 ac_cv_member_struct_tm_tm_zone
=no
8542 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
8544 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
8546 echo "$as_me:$LINENO: result: $ac_cv_member_struct_tm_tm_zone" >&5
8547 echo "${ECHO_T}$ac_cv_member_struct_tm_tm_zone" >&6
8548 if test $ac_cv_member_struct_tm_tm_zone = yes; then
8550 cat >>confdefs.h
<<_ACEOF
8551 #define HAVE_STRUCT_TM_TM_ZONE 1
8557 if test "$ac_cv_member_struct_tm_tm_zone" = yes; then
8559 cat >>confdefs.h
<<\_ACEOF
8560 #define HAVE_TM_ZONE 1
8564 echo "$as_me:$LINENO: checking for tzname" >&5
8565 echo $ECHO_N "checking for tzname... $ECHO_C" >&6
8566 if test "${ac_cv_var_tzname+set}" = set; then
8567 echo $ECHO_N "(cached) $ECHO_C" >&6
8569 cat >conftest.
$ac_ext <<_ACEOF
8572 cat confdefs.h
>>conftest.
$ac_ext
8573 cat >>conftest.
$ac_ext <<_ACEOF
8574 /* end confdefs.h. */
8576 #ifndef tzname /* For SGI. */
8577 extern char *tzname[]; /* RS6000 and others reject char **tzname. */
8588 rm -f conftest.
$ac_objext conftest
$ac_exeext
8589 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8590 (eval $ac_link) 2>conftest.er1
8592 grep -v '^ *+' conftest.er1
>conftest.err
8594 cat conftest.err
>&5
8595 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8596 (exit $ac_status); } &&
8597 { ac_try
='test -z "$ac_c_werror_flag"
8598 || test ! -s conftest.err'
8599 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8602 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8603 (exit $ac_status); }; } &&
8604 { ac_try
='test -s conftest$ac_exeext'
8605 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8608 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8609 (exit $ac_status); }; }; then
8610 ac_cv_var_tzname
=yes
8612 echo "$as_me: failed program was:" >&5
8613 sed 's/^/| /' conftest.
$ac_ext >&5
8617 rm -f conftest.err conftest.
$ac_objext \
8618 conftest
$ac_exeext conftest.
$ac_ext
8620 echo "$as_me:$LINENO: result: $ac_cv_var_tzname" >&5
8621 echo "${ECHO_T}$ac_cv_var_tzname" >&6
8622 if test $ac_cv_var_tzname = yes; then
8624 cat >>confdefs.h
<<\_ACEOF
8625 #define HAVE_TZNAME 1
8632 echo "$as_me:$LINENO: checking for tm_gmtoff in struct tm" >&5
8633 echo $ECHO_N "checking for tm_gmtoff in struct tm... $ECHO_C" >&6
8634 cat >conftest.
$ac_ext <<_ACEOF
8637 cat confdefs.h
>>conftest.
$ac_ext
8638 cat >>conftest.
$ac_ext <<_ACEOF
8639 /* end confdefs.h. */
8644 struct tm tim; tim.tm_gmtoff = 0;
8649 rm -f conftest.
$ac_objext
8650 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
8651 (eval $ac_compile) 2>conftest.er1
8653 grep -v '^ *+' conftest.er1
>conftest.err
8655 cat conftest.err
>&5
8656 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8657 (exit $ac_status); } &&
8658 { ac_try
='test -z "$ac_c_werror_flag"
8659 || test ! -s conftest.err'
8660 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8663 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8664 (exit $ac_status); }; } &&
8665 { ac_try
='test -s conftest.$ac_objext'
8666 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8669 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8670 (exit $ac_status); }; }; then
8672 cat >>confdefs.h
<<\_ACEOF
8673 #define STRUCT_TM_HAS_GMTOFF 1
8676 echo "$as_me:$LINENO: result: yes" >&5
8677 echo "${ECHO_T}yes" >&6
8679 echo "$as_me: failed program was:" >&5
8680 sed 's/^/| /' conftest.
$ac_ext >&5
8682 echo "$as_me:$LINENO: result: no" >&5
8683 echo "${ECHO_T}no" >&6
8684 echo "$as_me:$LINENO: checking for global timezone variable" >&5
8685 echo $ECHO_N "checking for global timezone variable... $ECHO_C" >&6
8686 cat >conftest.
$ac_ext <<_ACEOF
8689 cat confdefs.h
>>conftest.
$ac_ext
8690 cat >>conftest.
$ac_ext <<_ACEOF
8691 /* end confdefs.h. */
8696 void i(){long z2 = 2*timezone;}
8701 rm -f conftest.
$ac_objext
8702 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
8703 (eval $ac_compile) 2>conftest.er1
8705 grep -v '^ *+' conftest.er1
>conftest.err
8707 cat conftest.err
>&5
8708 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8709 (exit $ac_status); } &&
8710 { ac_try
='test -z "$ac_c_werror_flag"
8711 || test ! -s conftest.err'
8712 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8715 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8716 (exit $ac_status); }; } &&
8717 { ac_try
='test -s conftest.$ac_objext'
8718 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8721 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8722 (exit $ac_status); }; }; then
8724 cat >>confdefs.h
<<\_ACEOF
8725 #define HAVE_TIMEZONE 1
8728 echo "$as_me:$LINENO: result: yes" >&5
8729 echo "${ECHO_T}yes" >&6
8731 echo "$as_me: failed program was:" >&5
8732 sed 's/^/| /' conftest.
$ac_ext >&5
8734 echo "$as_me:$LINENO: result: no" >&5
8735 echo "${ECHO_T}no" >&6
8736 echo "$as_me:$LINENO: checking for global _timezone variable" >&5
8737 echo $ECHO_N "checking for global _timezone variable... $ECHO_C" >&6
8738 cat >conftest.
$ac_ext <<_ACEOF
8741 cat confdefs.h
>>conftest.
$ac_ext
8742 cat >>conftest.
$ac_ext <<_ACEOF
8743 /* end confdefs.h. */
8748 long z2 = _timezone;
8753 rm -f conftest.
$ac_objext
8754 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
8755 (eval $ac_compile) 2>conftest.er1
8757 grep -v '^ *+' conftest.er1
>conftest.err
8759 cat conftest.err
>&5
8760 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8761 (exit $ac_status); } &&
8762 { ac_try
='test -z "$ac_c_werror_flag"
8763 || test ! -s conftest.err'
8764 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8767 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8768 (exit $ac_status); }; } &&
8769 { ac_try
='test -s conftest.$ac_objext'
8770 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8773 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8774 (exit $ac_status); }; }; then
8776 cat >>confdefs.h
<<\_ACEOF
8777 #define HAVE_UNDERSCORE_TIMEZONE 1
8780 echo "$as_me:$LINENO: result: yes" >&5
8781 echo "${ECHO_T}yes" >&6
8783 echo "$as_me: failed program was:" >&5
8784 sed 's/^/| /' conftest.
$ac_ext >&5
8786 echo "$as_me:$LINENO: result: no" >&5
8787 echo "${ECHO_T}no" >&6
8789 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
8791 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
8793 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
8795 echo "$as_me:$LINENO: checking for an ANSI C-conforming const" >&5
8796 echo $ECHO_N "checking for an ANSI C-conforming const... $ECHO_C" >&6
8797 if test "${ac_cv_c_const+set}" = set; then
8798 echo $ECHO_N "(cached) $ECHO_C" >&6
8800 cat >conftest.
$ac_ext <<_ACEOF
8803 cat confdefs.h
>>conftest.
$ac_ext
8804 cat >>conftest.
$ac_ext <<_ACEOF
8805 /* end confdefs.h. */
8810 /* FIXME: Include the comments suggested by Paul. */
8812 /* Ultrix mips cc rejects this. */
8813 typedef int charset[2];
8815 /* SunOS 4.1.1 cc rejects this. */
8816 char const *const *ccp;
8818 /* NEC SVR4.0.2 mips cc rejects this. */
8819 struct point {int x, y;};
8820 static struct point const zero = {0,0};
8821 /* AIX XL C 1.02.0.0 rejects this.
8822 It does not let you subtract one const X* pointer from another in
8823 an arm of an if-expression whose if-part is not a constant
8825 const char *g = "string";
8826 ccp = &g + (g ? g-g : 0);
8827 /* HPUX 7.0 cc rejects these. */
8830 ccp = (char const *const *) p;
8831 { /* SCO 3.2v4 cc rejects this. */
8833 char const *s = 0 ? (char *) 0 : (char const *) 0;
8837 { /* Someone thinks the Sun supposedly-ANSI compiler will reject this. */
8839 const int *foo = &x[0];
8842 { /* Sun SC1.0 ANSI compiler rejects this -- but not the above. */
8843 typedef const int *iptr;
8847 { /* AIX XL C 1.02.0.0 rejects this saying
8848 "k.c", line 2.27: 1506-025 (S) Operand must be a modifiable lvalue. */
8849 struct s { int j; const int *ap[3]; };
8850 struct s *b; b->j = 5;
8852 { /* ULTRIX-32 V3.1 (Rev 9) vcc rejects this */
8861 rm -f conftest.
$ac_objext
8862 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
8863 (eval $ac_compile) 2>conftest.er1
8865 grep -v '^ *+' conftest.er1
>conftest.err
8867 cat conftest.err
>&5
8868 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8869 (exit $ac_status); } &&
8870 { ac_try
='test -z "$ac_c_werror_flag"
8871 || test ! -s conftest.err'
8872 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8875 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8876 (exit $ac_status); }; } &&
8877 { ac_try
='test -s conftest.$ac_objext'
8878 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8881 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8882 (exit $ac_status); }; }; then
8885 echo "$as_me: failed program was:" >&5
8886 sed 's/^/| /' conftest.
$ac_ext >&5
8890 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
8892 echo "$as_me:$LINENO: result: $ac_cv_c_const" >&5
8893 echo "${ECHO_T}$ac_cv_c_const" >&6
8894 if test $ac_cv_c_const = no
; then
8896 cat >>confdefs.h
<<\_ACEOF
8902 echo "$as_me:$LINENO: checking for __attribute__" >&5
8903 echo $ECHO_N "checking for __attribute__... $ECHO_C" >&6
8904 if test "${ac_cv_c_attribute+set}" = set; then
8905 echo $ECHO_N "(cached) $ECHO_C" >&6
8908 cat >conftest.
$ac_ext <<_ACEOF
8911 cat confdefs.h
>>conftest.
$ac_ext
8912 cat >>conftest.
$ac_ext <<_ACEOF
8913 /* end confdefs.h. */
8914 void foo(void) __attribute__ ((__noreturn__));
8917 rm -f conftest.
$ac_objext
8918 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
8919 (eval $ac_compile) 2>conftest.er1
8921 grep -v '^ *+' conftest.er1
>conftest.err
8923 cat conftest.err
>&5
8924 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8925 (exit $ac_status); } &&
8926 { ac_try
='test -z "$ac_c_werror_flag"
8927 || test ! -s conftest.err'
8928 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8931 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8932 (exit $ac_status); }; } &&
8933 { ac_try
='test -s conftest.$ac_objext'
8934 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8937 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8938 (exit $ac_status); }; }; then
8939 ac_cv_c_attribute
=yes
8941 echo "$as_me: failed program was:" >&5
8942 sed 's/^/| /' conftest.
$ac_ext >&5
8944 ac_cv_c_attribute
=no
8947 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
8950 echo "$as_me:$LINENO: result: $ac_cv_c_attribute" >&5
8951 echo "${ECHO_T}$ac_cv_c_attribute" >&6
8954 case $ac_cv_c_attribute in
8957 cat >>confdefs.h
<<_ACEOF
8958 #define __attribute__(x) /* nothing */
8965 if test "X$prefix" = "XNONE"; then
8966 acl_final_prefix
="$ac_default_prefix"
8968 acl_final_prefix
="$prefix"
8970 if test "X$exec_prefix" = "XNONE"; then
8971 acl_final_exec_prefix
='${prefix}'
8973 acl_final_exec_prefix
="$exec_prefix"
8975 acl_save_prefix
="$prefix"
8976 prefix
="$acl_final_prefix"
8977 eval acl_final_exec_prefix
=\"$acl_final_exec_prefix\"
8978 prefix
="$acl_save_prefix"
8981 # Check whether --with-gnu-ld or --without-gnu-ld was given.
8982 if test "${with_gnu_ld+set}" = set; then
8983 withval
="$with_gnu_ld"
8984 test "$withval" = no || with_gnu_ld
=yes
8988 # Prepare PATH_SEPARATOR.
8989 # The user is always right.
8990 if test "${PATH_SEPARATOR+set}" != set; then
8991 echo "#! /bin/sh" >conf$$.sh
8992 echo "exit 0" >>conf$$.sh
8994 if (PATH
="/nonexistent;."; conf$$.sh
) >/dev
/null
2>&1; then
9002 if test "$GCC" = yes; then
9003 # Check if gcc -print-prog-name=ld gives a path.
9004 echo "$as_me:$LINENO: checking for ld used by GCC" >&5
9005 echo $ECHO_N "checking for ld used by GCC... $ECHO_C" >&6
9008 # gcc leaves a trailing carriage return which upsets mingw
9009 ac_prog
=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
9011 ac_prog
=`($CC -print-prog-name=ld) 2>&5` ;;
9014 # Accept absolute paths.
9015 [\\/]* |
[A-Za-z
]:[\\/]*)
9016 re_direlt
='/[^/][^/]*/\.\./'
9017 # Canonicalize the path of ld
9018 ac_prog
=`echo $ac_prog| sed 's%\\\\%/%g'`
9019 while echo $ac_prog |
grep "$re_direlt" > /dev
/null
2>&1; do
9020 ac_prog
=`echo $ac_prog| sed "s%$re_direlt%/%"`
9022 test -z "$LD" && LD
="$ac_prog"
9025 # If it fails, then pretend we aren't using GCC.
9029 # If it is relative, then search for the first ld in PATH.
9033 elif test "$with_gnu_ld" = yes; then
9034 echo "$as_me:$LINENO: checking for GNU ld" >&5
9035 echo $ECHO_N "checking for GNU ld... $ECHO_C" >&6
9037 echo "$as_me:$LINENO: checking for non-GNU ld" >&5
9038 echo $ECHO_N "checking for non-GNU ld... $ECHO_C" >&6
9040 if test "${acl_cv_path_LD+set}" = set; then
9041 echo $ECHO_N "(cached) $ECHO_C" >&6
9043 if test -z "$LD"; then
9044 IFS
="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}${PATH_SEPARATOR-:}"
9045 for ac_dir
in $PATH; do
9046 test -z "$ac_dir" && ac_dir
=.
9047 if test -f "$ac_dir/$ac_prog" ||
test -f "$ac_dir/$ac_prog$ac_exeext"; then
9048 acl_cv_path_LD
="$ac_dir/$ac_prog"
9049 # Check to see if the program is GNU ld. I'd rather use --version,
9050 # but apparently some GNU ld's only accept -v.
9051 # Break only if it was the GNU/non-GNU ld that we prefer.
9052 if "$acl_cv_path_LD" -v 2>&1 < /dev
/null |
egrep '(GNU|with BFD)' > /dev
/null
; then
9053 test "$with_gnu_ld" != no
&& break
9055 test "$with_gnu_ld" != yes && break
9061 acl_cv_path_LD
="$LD" # Let the user override the test with a path.
9065 LD
="$acl_cv_path_LD"
9066 if test -n "$LD"; then
9067 echo "$as_me:$LINENO: result: $LD" >&5
9068 echo "${ECHO_T}$LD" >&6
9070 echo "$as_me:$LINENO: result: no" >&5
9071 echo "${ECHO_T}no" >&6
9073 test -z "$LD" && { { echo "$as_me:$LINENO: error: no acceptable ld found in \$PATH" >&5
9074 echo "$as_me: error: no acceptable ld found in \$PATH" >&2;}
9075 { (exit 1); exit 1; }; }
9076 echo "$as_me:$LINENO: checking if the linker ($LD) is GNU ld" >&5
9077 echo $ECHO_N "checking if the linker ($LD) is GNU ld... $ECHO_C" >&6
9078 if test "${acl_cv_prog_gnu_ld+set}" = set; then
9079 echo $ECHO_N "(cached) $ECHO_C" >&6
9081 # I'd rather use --version here, but apparently some GNU ld's only accept -v.
9082 if $LD -v 2>&1 </dev
/null |
egrep '(GNU|with BFD)' 1>&5; then
9083 acl_cv_prog_gnu_ld
=yes
9085 acl_cv_prog_gnu_ld
=no
9088 echo "$as_me:$LINENO: result: $acl_cv_prog_gnu_ld" >&5
9089 echo "${ECHO_T}$acl_cv_prog_gnu_ld" >&6
9090 with_gnu_ld
=$acl_cv_prog_gnu_ld
9094 echo "$as_me:$LINENO: checking for shared library run path origin" >&5
9095 echo $ECHO_N "checking for shared library run path origin... $ECHO_C" >&6
9096 if test "${acl_cv_rpath+set}" = set; then
9097 echo $ECHO_N "(cached) $ECHO_C" >&6
9100 CC
="$CC" GCC
="$GCC" LDFLAGS
="$LDFLAGS" LD
="$LD" with_gnu_ld
="$with_gnu_ld" \
9101 ${CONFIG_SHELL-/bin/sh} "$ac_aux_dir/config.rpath" "$host" > conftest.sh
9107 echo "$as_me:$LINENO: result: $acl_cv_rpath" >&5
9108 echo "${ECHO_T}$acl_cv_rpath" >&6
9110 libext
="$acl_cv_libext"
9111 shlibext
="$acl_cv_shlibext"
9112 hardcode_libdir_flag_spec
="$acl_cv_hardcode_libdir_flag_spec"
9113 hardcode_libdir_separator
="$acl_cv_hardcode_libdir_separator"
9114 hardcode_direct
="$acl_cv_hardcode_direct"
9115 hardcode_minus_L
="$acl_cv_hardcode_minus_L"
9116 # Check whether --enable-rpath or --disable-rpath was given.
9117 if test "${enable_rpath+set}" = set; then
9118 enableval
="$enable_rpath"
9132 acl_save_prefix
="$prefix"
9133 prefix
="$acl_final_prefix"
9134 acl_save_exec_prefix
="$exec_prefix"
9135 exec_prefix
="$acl_final_exec_prefix"
9137 eval additional_includedir
=\"$includedir\"
9138 eval additional_libdir
=\"$libdir\"
9140 exec_prefix
="$acl_save_exec_prefix"
9141 prefix
="$acl_save_prefix"
9144 # Check whether --with-libiconv-prefix or --without-libiconv-prefix was given.
9145 if test "${with_libiconv_prefix+set}" = set; then
9146 withval
="$with_libiconv_prefix"
9148 if test "X$withval" = "Xno"; then
9151 if test "X$withval" = "X"; then
9153 acl_save_prefix
="$prefix"
9154 prefix
="$acl_final_prefix"
9155 acl_save_exec_prefix
="$exec_prefix"
9156 exec_prefix
="$acl_final_exec_prefix"
9158 eval additional_includedir
=\"$includedir\"
9159 eval additional_libdir
=\"$libdir\"
9161 exec_prefix
="$acl_save_exec_prefix"
9162 prefix
="$acl_save_prefix"
9165 additional_includedir
="$withval/include"
9166 additional_libdir
="$withval/lib"
9176 names_already_handled
=
9177 names_next_round
='iconv '
9178 while test -n "$names_next_round"; do
9179 names_this_round
="$names_next_round"
9181 for name
in $names_this_round; do
9183 for n
in $names_already_handled; do
9184 if test "$n" = "$name"; then
9189 if test -z "$already_handled"; then
9190 names_already_handled
="$names_already_handled $name"
9191 uppername
=`echo "$name" | sed -e 'y|abcdefghijklmnopqrstuvwxyz./-|ABCDEFGHIJKLMNOPQRSTUVWXYZ___|'`
9192 eval value
=\"\
$HAVE_LIB$uppername\"
9193 if test -n "$value"; then
9194 if test "$value" = yes; then
9195 eval value
=\"\
$LIB$uppername\"
9196 test -z "$value" || LIBICONV
="${LIBICONV}${LIBICONV:+ }$value"
9197 eval value
=\"\
$LTLIB$uppername\"
9198 test -z "$value" || LTLIBICONV
="${LTLIBICONV}${LTLIBICONV:+ }$value"
9207 if test $use_additional = yes; then
9208 if test -n "$shlibext" && test -f "$additional_libdir/lib$name.$shlibext"; then
9209 found_dir
="$additional_libdir"
9210 found_so
="$additional_libdir/lib$name.$shlibext"
9211 if test -f "$additional_libdir/lib$name.la"; then
9212 found_la
="$additional_libdir/lib$name.la"
9215 if test -f "$additional_libdir/lib$name.$libext"; then
9216 found_dir
="$additional_libdir"
9217 found_a
="$additional_libdir/lib$name.$libext"
9218 if test -f "$additional_libdir/lib$name.la"; then
9219 found_la
="$additional_libdir/lib$name.la"
9224 if test "X$found_dir" = "X"; then
9225 for x
in $LDFLAGS $LTLIBICONV; do
9227 acl_save_prefix
="$prefix"
9228 prefix
="$acl_final_prefix"
9229 acl_save_exec_prefix
="$exec_prefix"
9230 exec_prefix
="$acl_final_exec_prefix"
9232 exec_prefix
="$acl_save_exec_prefix"
9233 prefix
="$acl_save_prefix"
9237 dir
=`echo "X$x" | sed -e 's/^X-L//'`
9238 if test -n "$shlibext" && test -f "$dir/lib$name.$shlibext"; then
9240 found_so
="$dir/lib$name.$shlibext"
9241 if test -f "$dir/lib$name.la"; then
9242 found_la
="$dir/lib$name.la"
9245 if test -f "$dir/lib$name.$libext"; then
9247 found_a
="$dir/lib$name.$libext"
9248 if test -f "$dir/lib$name.la"; then
9249 found_la
="$dir/lib$name.la"
9255 if test "X$found_dir" != "X"; then
9260 if test "X$found_dir" != "X"; then
9261 LTLIBICONV
="${LTLIBICONV}${LTLIBICONV:+ }-L$found_dir -l$name"
9262 if test "X$found_so" != "X"; then
9263 if test "$enable_rpath" = no ||
test "X$found_dir" = "X/usr/lib"; then
9264 LIBICONV
="${LIBICONV}${LIBICONV:+ }$found_so"
9267 for x
in $ltrpathdirs; do
9268 if test "X$x" = "X$found_dir"; then
9273 if test -z "$haveit"; then
9274 ltrpathdirs
="$ltrpathdirs $found_dir"
9276 if test "$hardcode_direct" = yes; then
9277 LIBICONV
="${LIBICONV}${LIBICONV:+ }$found_so"
9279 if test -n "$hardcode_libdir_flag_spec" && test "$hardcode_minus_L" = no
; then
9280 LIBICONV
="${LIBICONV}${LIBICONV:+ }$found_so"
9282 for x
in $rpathdirs; do
9283 if test "X$x" = "X$found_dir"; then
9288 if test -z "$haveit"; then
9289 rpathdirs
="$rpathdirs $found_dir"
9293 for x
in $LDFLAGS $LIBICONV; do
9295 acl_save_prefix
="$prefix"
9296 prefix
="$acl_final_prefix"
9297 acl_save_exec_prefix
="$exec_prefix"
9298 exec_prefix
="$acl_final_exec_prefix"
9300 exec_prefix
="$acl_save_exec_prefix"
9301 prefix
="$acl_save_prefix"
9303 if test "X$x" = "X-L$found_dir"; then
9308 if test -z "$haveit"; then
9309 LIBICONV
="${LIBICONV}${LIBICONV:+ }-L$found_dir"
9311 if test "$hardcode_minus_L" != no
; then
9312 LIBICONV
="${LIBICONV}${LIBICONV:+ }$found_so"
9314 LIBICONV
="${LIBICONV}${LIBICONV:+ }-l$name"
9320 if test "X$found_a" != "X"; then
9321 LIBICONV
="${LIBICONV}${LIBICONV:+ }$found_a"
9323 LIBICONV
="${LIBICONV}${LIBICONV:+ }-L$found_dir -l$name"
9326 additional_includedir
=
9327 case "$found_dir" in
9329 basedir
=`echo "X$found_dir" | sed -e 's,^X,,' -e 's,/lib/*$,,'`
9330 additional_includedir
="$basedir/include"
9333 if test "X$additional_includedir" != "X"; then
9334 if test "X$additional_includedir" != "X/usr/include"; then
9336 if test "X$additional_includedir" = "X/usr/local/include"; then
9337 if test -n "$GCC"; then
9339 linux
*) haveit
=yes;;
9343 if test -z "$haveit"; then
9344 for x
in $CPPFLAGS $INCICONV; do
9346 acl_save_prefix
="$prefix"
9347 prefix
="$acl_final_prefix"
9348 acl_save_exec_prefix
="$exec_prefix"
9349 exec_prefix
="$acl_final_exec_prefix"
9351 exec_prefix
="$acl_save_exec_prefix"
9352 prefix
="$acl_save_prefix"
9354 if test "X$x" = "X-I$additional_includedir"; then
9359 if test -z "$haveit"; then
9360 if test -d "$additional_includedir"; then
9361 INCICONV
="${INCICONV}${INCICONV:+ }-I$additional_includedir"
9367 if test -n "$found_la"; then
9368 save_libdir
="$libdir"
9370 */* |
*\\*) .
"$found_la" ;;
9371 *) .
"./$found_la" ;;
9373 libdir
="$save_libdir"
9374 for dep
in $dependency_libs; do
9377 additional_libdir
=`echo "X$dep" | sed -e 's/^X-L//'`
9378 if test "X$additional_libdir" != "X/usr/lib"; then
9380 if test "X$additional_libdir" = "X/usr/local/lib"; then
9381 if test -n "$GCC"; then
9383 linux
*) haveit
=yes;;
9387 if test -z "$haveit"; then
9389 for x
in $LDFLAGS $LIBICONV; do
9391 acl_save_prefix
="$prefix"
9392 prefix
="$acl_final_prefix"
9393 acl_save_exec_prefix
="$exec_prefix"
9394 exec_prefix
="$acl_final_exec_prefix"
9396 exec_prefix
="$acl_save_exec_prefix"
9397 prefix
="$acl_save_prefix"
9399 if test "X$x" = "X-L$additional_libdir"; then
9404 if test -z "$haveit"; then
9405 if test -d "$additional_libdir"; then
9406 LIBICONV
="${LIBICONV}${LIBICONV:+ }-L$additional_libdir"
9410 for x
in $LDFLAGS $LTLIBICONV; do
9412 acl_save_prefix
="$prefix"
9413 prefix
="$acl_final_prefix"
9414 acl_save_exec_prefix
="$exec_prefix"
9415 exec_prefix
="$acl_final_exec_prefix"
9417 exec_prefix
="$acl_save_exec_prefix"
9418 prefix
="$acl_save_prefix"
9420 if test "X$x" = "X-L$additional_libdir"; then
9425 if test -z "$haveit"; then
9426 if test -d "$additional_libdir"; then
9427 LTLIBICONV
="${LTLIBICONV}${LTLIBICONV:+ }-L$additional_libdir"
9434 dir
=`echo "X$dep" | sed -e 's/^X-R//'`
9435 if test "$enable_rpath" != no
; then
9437 for x
in $rpathdirs; do
9438 if test "X$x" = "X$dir"; then
9443 if test -z "$haveit"; then
9444 rpathdirs
="$rpathdirs $dir"
9447 for x
in $ltrpathdirs; do
9448 if test "X$x" = "X$dir"; then
9453 if test -z "$haveit"; then
9454 ltrpathdirs
="$ltrpathdirs $dir"
9459 names_next_round
="$names_next_round "`echo "X$dep" | sed -e 's/^X-l//'`
9462 names_next_round
="$names_next_round "`echo "X$dep" | sed -e 's,^X.*/,,' -e 's,^lib,,' -e 's,\.la$,,'`
9465 LIBICONV
="${LIBICONV}${LIBICONV:+ }$dep"
9466 LTLIBICONV
="${LTLIBICONV}${LTLIBICONV:+ }$dep"
9472 LIBICONV
="${LIBICONV}${LIBICONV:+ }-l$name"
9473 LTLIBICONV
="${LTLIBICONV}${LTLIBICONV:+ }-l$name"
9479 if test "X$rpathdirs" != "X"; then
9480 if test -n "$hardcode_libdir_separator"; then
9482 for found_dir
in $rpathdirs; do
9483 alldirs
="${alldirs}${alldirs:+$hardcode_libdir_separator}$found_dir"
9485 acl_save_libdir
="$libdir"
9487 eval flag
=\"$hardcode_libdir_flag_spec\"
9488 libdir
="$acl_save_libdir"
9489 LIBICONV
="${LIBICONV}${LIBICONV:+ }$flag"
9491 for found_dir
in $rpathdirs; do
9492 acl_save_libdir
="$libdir"
9494 eval flag
=\"$hardcode_libdir_flag_spec\"
9495 libdir
="$acl_save_libdir"
9496 LIBICONV
="${LIBICONV}${LIBICONV:+ }$flag"
9500 if test "X$ltrpathdirs" != "X"; then
9501 for found_dir
in $ltrpathdirs; do
9502 LTLIBICONV
="${LTLIBICONV}${LTLIBICONV:+ }-R$found_dir"
9512 am_save_CPPFLAGS
="$CPPFLAGS"
9514 for element
in $INCICONV; do
9516 for x
in $CPPFLAGS; do
9518 acl_save_prefix
="$prefix"
9519 prefix
="$acl_final_prefix"
9520 acl_save_exec_prefix
="$exec_prefix"
9521 exec_prefix
="$acl_final_exec_prefix"
9523 exec_prefix
="$acl_save_exec_prefix"
9524 prefix
="$acl_save_prefix"
9526 if test "X$x" = "X$element"; then
9531 if test -z "$haveit"; then
9532 CPPFLAGS
="${CPPFLAGS}${CPPFLAGS:+ }$element"
9537 echo "$as_me:$LINENO: checking for iconv" >&5
9538 echo $ECHO_N "checking for iconv... $ECHO_C" >&6
9539 if test "${am_cv_func_iconv+set}" = set; then
9540 echo $ECHO_N "(cached) $ECHO_C" >&6
9543 am_cv_func_iconv
="no, consider installing GNU libiconv"
9545 cat >conftest.
$ac_ext <<_ACEOF
9548 cat confdefs.h
>>conftest.
$ac_ext
9549 cat >>conftest.
$ac_ext <<_ACEOF
9550 /* end confdefs.h. */
9556 iconv_t cd = iconv_open("","");
9557 iconv(cd,NULL,NULL,NULL,NULL);
9563 rm -f conftest.
$ac_objext conftest
$ac_exeext
9564 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
9565 (eval $ac_link) 2>conftest.er1
9567 grep -v '^ *+' conftest.er1
>conftest.err
9569 cat conftest.err
>&5
9570 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9571 (exit $ac_status); } &&
9572 { ac_try
='test -z "$ac_c_werror_flag"
9573 || test ! -s conftest.err'
9574 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9577 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9578 (exit $ac_status); }; } &&
9579 { ac_try
='test -s conftest$ac_exeext'
9580 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9583 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9584 (exit $ac_status); }; }; then
9585 am_cv_func_iconv
=yes
9587 echo "$as_me: failed program was:" >&5
9588 sed 's/^/| /' conftest.
$ac_ext >&5
9591 rm -f conftest.err conftest.
$ac_objext \
9592 conftest
$ac_exeext conftest.
$ac_ext
9593 if test "$am_cv_func_iconv" != yes; then
9594 am_save_LIBS
="$LIBS"
9595 LIBS
="$LIBS $LIBICONV"
9596 cat >conftest.
$ac_ext <<_ACEOF
9599 cat confdefs.h
>>conftest.
$ac_ext
9600 cat >>conftest.
$ac_ext <<_ACEOF
9601 /* end confdefs.h. */
9607 iconv_t cd = iconv_open("","");
9608 iconv(cd,NULL,NULL,NULL,NULL);
9614 rm -f conftest.
$ac_objext conftest
$ac_exeext
9615 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
9616 (eval $ac_link) 2>conftest.er1
9618 grep -v '^ *+' conftest.er1
>conftest.err
9620 cat conftest.err
>&5
9621 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9622 (exit $ac_status); } &&
9623 { ac_try
='test -z "$ac_c_werror_flag"
9624 || test ! -s conftest.err'
9625 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9628 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9629 (exit $ac_status); }; } &&
9630 { ac_try
='test -s conftest$ac_exeext'
9631 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9634 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9635 (exit $ac_status); }; }; then
9637 am_cv_func_iconv
=yes
9639 echo "$as_me: failed program was:" >&5
9640 sed 's/^/| /' conftest.
$ac_ext >&5
9643 rm -f conftest.err conftest.
$ac_objext \
9644 conftest
$ac_exeext conftest.
$ac_ext
9645 LIBS
="$am_save_LIBS"
9649 echo "$as_me:$LINENO: result: $am_cv_func_iconv" >&5
9650 echo "${ECHO_T}$am_cv_func_iconv" >&6
9651 if test "$am_cv_func_iconv" = yes; then
9653 cat >>confdefs.h
<<\_ACEOF
9654 #define HAVE_ICONV 1
9658 if test "$am_cv_lib_iconv" = yes; then
9659 echo "$as_me:$LINENO: checking how to link with libiconv" >&5
9660 echo $ECHO_N "checking how to link with libiconv... $ECHO_C" >&6
9661 echo "$as_me:$LINENO: result: $LIBICONV" >&5
9662 echo "${ECHO_T}$LIBICONV" >&6
9664 CPPFLAGS
="$am_save_CPPFLAGS"
9671 if test "$am_cv_func_iconv" = yes; then
9672 echo "$as_me:$LINENO: checking for iconv declaration" >&5
9673 echo $ECHO_N "checking for iconv declaration... $ECHO_C" >&6
9674 if test "${am_cv_proto_iconv+set}" = set; then
9675 echo $ECHO_N "(cached) $ECHO_C" >&6
9678 cat >conftest.
$ac_ext <<_ACEOF
9681 cat confdefs.h
>>conftest.
$ac_ext
9682 cat >>conftest.
$ac_ext <<_ACEOF
9683 /* end confdefs.h. */
9691 #if defined(__STDC__) || defined(__cplusplus)
9692 size_t iconv (iconv_t cd, char * *inbuf, size_t *inbytesleft, char * *outbuf, size_t *outbytesleft);
9705 rm -f conftest.
$ac_objext
9706 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
9707 (eval $ac_compile) 2>conftest.er1
9709 grep -v '^ *+' conftest.er1
>conftest.err
9711 cat conftest.err
>&5
9712 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9713 (exit $ac_status); } &&
9714 { ac_try
='test -z "$ac_c_werror_flag"
9715 || test ! -s conftest.err'
9716 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9719 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9720 (exit $ac_status); }; } &&
9721 { ac_try
='test -s conftest.$ac_objext'
9722 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9725 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9726 (exit $ac_status); }; }; then
9727 am_cv_proto_iconv_arg1
=""
9729 echo "$as_me: failed program was:" >&5
9730 sed 's/^/| /' conftest.
$ac_ext >&5
9732 am_cv_proto_iconv_arg1
="const"
9734 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
9735 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);"
9738 am_cv_proto_iconv
=`echo "$am_cv_proto_iconv" | tr -s ' ' | sed -e 's/( /(/'`
9739 echo "$as_me:$LINENO: result: ${ac_t:-
9740 }$am_cv_proto_iconv" >&5
9741 echo "${ECHO_T}${ac_t:-
9742 }$am_cv_proto_iconv" >&6
9744 cat >>confdefs.h
<<_ACEOF
9745 #define ICONV_CONST $am_cv_proto_iconv_arg1
9751 if test "x${GCC}" = xyes
; then
9753 WARNING_CFLAGS
='-pedantic -W -Wall -Wmissing-declarations -Wwrite-strings -Wmissing-prototypes -Wno-long-long'
9756 STRICT_WARNING_CFLAGS
=-Wstrict-prototypes
9760 if test "x${ENABLE_WERROR}" = xyes
; then
9761 ERROR_CFLAGS
='-Werror'
9766 if test "x${COMPILE_XMLJ}" = xyes
; then
9770 if test -z "$PKG_CONFIG"; then
9771 # Extract the first word of "pkg-config", so it can be a program name with args.
9772 set dummy pkg-config
; ac_word
=$2
9773 echo "$as_me:$LINENO: checking for $ac_word" >&5
9774 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
9775 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
9776 echo $ECHO_N "(cached) $ECHO_C" >&6
9780 ac_cv_path_PKG_CONFIG
="$PKG_CONFIG" # Let the user override the test with a path.
9783 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
9787 test -z "$as_dir" && as_dir
=.
9788 for ac_exec_ext
in '' $ac_executable_extensions; do
9789 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
9790 ac_cv_path_PKG_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
9791 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
9797 test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG
="no"
9801 PKG_CONFIG
=$ac_cv_path_PKG_CONFIG
9803 if test -n "$PKG_CONFIG"; then
9804 echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
9805 echo "${ECHO_T}$PKG_CONFIG" >&6
9807 echo "$as_me:$LINENO: result: no" >&5
9808 echo "${ECHO_T}no" >&6
9813 if test "$PKG_CONFIG" = "no" ; then
9814 echo "*** The pkg-config script could not be found. Make sure it is"
9815 echo "*** in your path, or set the PKG_CONFIG environment variable"
9816 echo "*** to the full path to pkg-config."
9817 echo "*** Or see http://www.freedesktop.org/software/pkgconfig to get pkg-config."
9819 PKG_CONFIG_MIN_VERSION
=0.9.0
9820 if $PKG_CONFIG --atleast-pkgconfig-version $PKG_CONFIG_MIN_VERSION; then
9821 echo "$as_me:$LINENO: checking for libxml-2.0 >= 2.6.8" >&5
9822 echo $ECHO_N "checking for libxml-2.0 >= 2.6.8... $ECHO_C" >&6
9824 if $PKG_CONFIG --exists "libxml-2.0 >= 2.6.8" ; then
9825 echo "$as_me:$LINENO: result: yes" >&5
9826 echo "${ECHO_T}yes" >&6
9829 echo "$as_me:$LINENO: checking XML_CFLAGS" >&5
9830 echo $ECHO_N "checking XML_CFLAGS... $ECHO_C" >&6
9831 XML_CFLAGS
=`$PKG_CONFIG --cflags "libxml-2.0 >= 2.6.8"`
9832 echo "$as_me:$LINENO: result: $XML_CFLAGS" >&5
9833 echo "${ECHO_T}$XML_CFLAGS" >&6
9835 echo "$as_me:$LINENO: checking XML_LIBS" >&5
9836 echo $ECHO_N "checking XML_LIBS... $ECHO_C" >&6
9837 XML_LIBS
=`$PKG_CONFIG --libs "libxml-2.0 >= 2.6.8"`
9838 echo "$as_me:$LINENO: result: $XML_LIBS" >&5
9839 echo "${ECHO_T}$XML_LIBS" >&6
9843 ## If we have a custom action on failure, don't print errors, but
9844 ## do set a variable so people can do so.
9845 XML_PKG_ERRORS
=`$PKG_CONFIG --errors-to-stdout --print-errors "libxml-2.0 >= 2.6.8"`
9846 echo $XML_PKG_ERRORS
9852 echo "*** Your version of pkg-config is too old. You need version $PKG_CONFIG_MIN_VERSION or newer."
9853 echo "*** See http://www.freedesktop.org/software/pkgconfig"
9857 if test $succeeded = yes; then
9860 { { 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
9861 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;}
9862 { (exit 1); exit 1; }; }
9868 if test -z "$PKG_CONFIG"; then
9869 # Extract the first word of "pkg-config", so it can be a program name with args.
9870 set dummy pkg-config
; ac_word
=$2
9871 echo "$as_me:$LINENO: checking for $ac_word" >&5
9872 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
9873 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
9874 echo $ECHO_N "(cached) $ECHO_C" >&6
9878 ac_cv_path_PKG_CONFIG
="$PKG_CONFIG" # Let the user override the test with a path.
9881 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
9885 test -z "$as_dir" && as_dir
=.
9886 for ac_exec_ext
in '' $ac_executable_extensions; do
9887 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
9888 ac_cv_path_PKG_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
9889 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
9895 test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG
="no"
9899 PKG_CONFIG
=$ac_cv_path_PKG_CONFIG
9901 if test -n "$PKG_CONFIG"; then
9902 echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
9903 echo "${ECHO_T}$PKG_CONFIG" >&6
9905 echo "$as_me:$LINENO: result: no" >&5
9906 echo "${ECHO_T}no" >&6
9911 if test "$PKG_CONFIG" = "no" ; then
9912 echo "*** The pkg-config script could not be found. Make sure it is"
9913 echo "*** in your path, or set the PKG_CONFIG environment variable"
9914 echo "*** to the full path to pkg-config."
9915 echo "*** Or see http://www.freedesktop.org/software/pkgconfig to get pkg-config."
9917 PKG_CONFIG_MIN_VERSION
=0.9.0
9918 if $PKG_CONFIG --atleast-pkgconfig-version $PKG_CONFIG_MIN_VERSION; then
9919 echo "$as_me:$LINENO: checking for libxslt >= 1.1.11" >&5
9920 echo $ECHO_N "checking for libxslt >= 1.1.11... $ECHO_C" >&6
9922 if $PKG_CONFIG --exists "libxslt >= 1.1.11" ; then
9923 echo "$as_me:$LINENO: result: yes" >&5
9924 echo "${ECHO_T}yes" >&6
9927 echo "$as_me:$LINENO: checking XSLT_CFLAGS" >&5
9928 echo $ECHO_N "checking XSLT_CFLAGS... $ECHO_C" >&6
9929 XSLT_CFLAGS
=`$PKG_CONFIG --cflags "libxslt >= 1.1.11"`
9930 echo "$as_me:$LINENO: result: $XSLT_CFLAGS" >&5
9931 echo "${ECHO_T}$XSLT_CFLAGS" >&6
9933 echo "$as_me:$LINENO: checking XSLT_LIBS" >&5
9934 echo $ECHO_N "checking XSLT_LIBS... $ECHO_C" >&6
9935 XSLT_LIBS
=`$PKG_CONFIG --libs "libxslt >= 1.1.11"`
9936 echo "$as_me:$LINENO: result: $XSLT_LIBS" >&5
9937 echo "${ECHO_T}$XSLT_LIBS" >&6
9941 ## If we have a custom action on failure, don't print errors, but
9942 ## do set a variable so people can do so.
9943 XSLT_PKG_ERRORS
=`$PKG_CONFIG --errors-to-stdout --print-errors "libxslt >= 1.1.11"`
9944 echo $XSLT_PKG_ERRORS
9950 echo "*** Your version of pkg-config is too old. You need version $PKG_CONFIG_MIN_VERSION or newer."
9951 echo "*** See http://www.freedesktop.org/software/pkgconfig"
9955 if test $succeeded = yes; then
9958 { { 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
9959 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;}
9960 { (exit 1); exit 1; }; }
9969 if test "x${COMPILE_GTK_PEER}" = xyes
; then
9970 echo "$as_me:$LINENO: checking for X" >&5
9971 echo $ECHO_N "checking for X... $ECHO_C" >&6
9974 # Check whether --with-x or --without-x was given.
9975 if test "${with_x+set}" = set; then
9979 # $have_x is `yes', `no', `disabled', or empty when we do not yet know.
9980 if test "x$with_x" = xno
; then
9981 # The user explicitly disabled X.
9984 if test "x$x_includes" != xNONE
&& test "x$x_libraries" != xNONE
; then
9985 # Both variables are already set.
9988 if test "${ac_cv_have_x+set}" = set; then
9989 echo $ECHO_N "(cached) $ECHO_C" >&6
9991 # One or both of the vars are not set, and there is no cached value.
9992 ac_x_includes
=no ac_x_libraries
=no
9994 if mkdir conftest.dir
; then
9996 # Make sure to not put "make" in the Imakefile rules, since we grep it out.
9997 cat >Imakefile
<<'_ACEOF'
9999 @echo 'ac_im_incroot="${INCROOT}"; ac_im_usrlibdir="${USRLIBDIR}"; ac_im_libdir="${LIBDIR}"'
10001 if (xmkmf
) >/dev
/null
2>/dev
/null
&& test -f Makefile
; then
10002 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
10003 eval `${MAKE-make} acfindx 2>/dev/null | grep -v make`
10004 # Open Windows xmkmf reportedly sets LIBDIR instead of USRLIBDIR.
10005 for ac_extension
in a so sl
; do
10006 if test ! -f $ac_im_usrlibdir/libX11.
$ac_extension &&
10007 test -f $ac_im_libdir/libX11.
$ac_extension; then
10008 ac_im_usrlibdir
=$ac_im_libdir; break
10011 # Screen out bogus values from the imake configuration. They are
10012 # bogus both because they are the default anyway, and because
10013 # using them would break gcc on systems where it needs fixed includes.
10014 case $ac_im_incroot in
10016 *) test -f "$ac_im_incroot/X11/Xos.h" && ac_x_includes
=$ac_im_incroot;;
10018 case $ac_im_usrlibdir in
10019 /usr
/lib |
/lib
) ;;
10020 *) test -d "$ac_im_usrlibdir" && ac_x_libraries
=$ac_im_usrlibdir ;;
10024 rm -fr conftest.dir
10027 # Standard set of common directories for X headers.
10028 # Check X11 before X11Rn because it is often a symlink to the current release.
10040 /usr/local/X11/include
10041 /usr/local/X11R6/include
10042 /usr/local/X11R5/include
10043 /usr/local/X11R4/include
10045 /usr/local/include/X11
10046 /usr/local/include/X11R6
10047 /usr/local/include/X11R5
10048 /usr/local/include/X11R4
10052 /usr/XFree86/include/X11
10056 /usr/unsupported/include
10057 /usr/athena/include
10058 /usr/local/x11r5/include
10059 /usr/lpp/Xamples/include
10061 /usr/openwin/include
10062 /usr/openwin/share/include'
10064 if test "$ac_x_includes" = no
; then
10065 # Guess where to find include files, by looking for Xlib.h.
10066 # First, try using that file with no special directory specified.
10067 cat >conftest.
$ac_ext <<_ACEOF
10070 cat confdefs.h
>>conftest.
$ac_ext
10071 cat >>conftest.
$ac_ext <<_ACEOF
10072 /* end confdefs.h. */
10073 #include <X11/Xlib.h>
10075 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
10076 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
10078 grep -v '^ *+' conftest.er1
>conftest.err
10080 cat conftest.err
>&5
10081 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10082 (exit $ac_status); } >/dev
/null
; then
10083 if test -s conftest.err
; then
10084 ac_cpp_err
=$ac_c_preproc_warn_flag
10085 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
10092 if test -z "$ac_cpp_err"; then
10093 # We can compile using X headers with no special include directory.
10096 echo "$as_me: failed program was:" >&5
10097 sed 's/^/| /' conftest.
$ac_ext >&5
10099 for ac_dir
in $ac_x_header_dirs; do
10100 if test -r "$ac_dir/X11/Xlib.h"; then
10101 ac_x_includes
=$ac_dir
10106 rm -f conftest.err conftest.
$ac_ext
10107 fi # $ac_x_includes = no
10109 if test "$ac_x_libraries" = no
; then
10110 # Check for the libraries.
10111 # See if we find them without any special options.
10112 # Don't add to $LIBS permanently.
10115 cat >conftest.
$ac_ext <<_ACEOF
10118 cat confdefs.h
>>conftest.
$ac_ext
10119 cat >>conftest.
$ac_ext <<_ACEOF
10120 /* end confdefs.h. */
10121 #include <X11/Xlib.h>
10130 rm -f conftest.
$ac_objext conftest
$ac_exeext
10131 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10132 (eval $ac_link) 2>conftest.er1
10134 grep -v '^ *+' conftest.er1
>conftest.err
10136 cat conftest.err
>&5
10137 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10138 (exit $ac_status); } &&
10139 { ac_try
='test -z "$ac_c_werror_flag"
10140 || test ! -s conftest.err'
10141 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10142 (eval $ac_try) 2>&5
10144 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10145 (exit $ac_status); }; } &&
10146 { ac_try
='test -s conftest$ac_exeext'
10147 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10148 (eval $ac_try) 2>&5
10150 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10151 (exit $ac_status); }; }; then
10153 # We can link X programs with no special library path.
10156 echo "$as_me: failed program was:" >&5
10157 sed 's/^/| /' conftest.
$ac_ext >&5
10160 for ac_dir
in `echo "$ac_x_includes $ac_x_header_dirs" | sed s/include/lib/g`
10162 # Don't even attempt the hair of trying to link an X program!
10163 for ac_extension
in a so sl
; do
10164 if test -r $ac_dir/libXt.
$ac_extension; then
10165 ac_x_libraries
=$ac_dir
10171 rm -f conftest.err conftest.
$ac_objext \
10172 conftest
$ac_exeext conftest.
$ac_ext
10173 fi # $ac_x_libraries = no
10175 if test "$ac_x_includes" = no ||
test "$ac_x_libraries" = no
; then
10176 # Didn't find X anywhere. Cache the known absence of X.
10177 ac_cv_have_x
="have_x=no"
10179 # Record where we found X for the cache.
10180 ac_cv_have_x
="have_x=yes \
10181 ac_x_includes=$ac_x_includes ac_x_libraries=$ac_x_libraries"
10186 eval "$ac_cv_have_x"
10189 if test "$have_x" != yes; then
10190 echo "$as_me:$LINENO: result: $have_x" >&5
10191 echo "${ECHO_T}$have_x" >&6
10194 # If each of the values was on the command line, it overrides each guess.
10195 test "x$x_includes" = xNONE
&& x_includes
=$ac_x_includes
10196 test "x$x_libraries" = xNONE
&& x_libraries
=$ac_x_libraries
10197 # Update the cache value to reflect the command line values.
10198 ac_cv_have_x
="have_x=yes \
10199 ac_x_includes=$x_includes ac_x_libraries=$x_libraries"
10200 echo "$as_me:$LINENO: result: libraries $x_libraries, headers $x_includes" >&5
10201 echo "${ECHO_T}libraries $x_libraries, headers $x_includes" >&6
10204 if test "$no_x" = yes; then
10205 # Not all programs may use this symbol, but it does not hurt to define it.
10207 cat >>confdefs.h
<<\_ACEOF
10208 #define X_DISPLAY_MISSING 1
10211 X_CFLAGS
= X_PRE_LIBS
= X_LIBS
= X_EXTRA_LIBS
=
10213 if test -n "$x_includes"; then
10214 X_CFLAGS
="$X_CFLAGS -I$x_includes"
10217 # It would also be nice to do this for all -L options, not just this one.
10218 if test -n "$x_libraries"; then
10219 X_LIBS
="$X_LIBS -L$x_libraries"
10220 # For Solaris; some versions of Sun CC require a space after -R and
10221 # others require no space. Words are not sufficient . . . .
10222 case `(uname -sr) 2>/dev/null` in
10224 echo "$as_me:$LINENO: checking whether -R must be followed by a space" >&5
10225 echo $ECHO_N "checking whether -R must be followed by a space... $ECHO_C" >&6
10226 ac_xsave_LIBS
=$LIBS; LIBS
="$LIBS -R$x_libraries"
10227 cat >conftest.
$ac_ext <<_ACEOF
10230 cat confdefs.h
>>conftest.
$ac_ext
10231 cat >>conftest.
$ac_ext <<_ACEOF
10232 /* end confdefs.h. */
10242 rm -f conftest.
$ac_objext conftest
$ac_exeext
10243 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10244 (eval $ac_link) 2>conftest.er1
10246 grep -v '^ *+' conftest.er1
>conftest.err
10248 cat conftest.err
>&5
10249 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10250 (exit $ac_status); } &&
10251 { ac_try
='test -z "$ac_c_werror_flag"
10252 || test ! -s conftest.err'
10253 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10254 (eval $ac_try) 2>&5
10256 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10257 (exit $ac_status); }; } &&
10258 { ac_try
='test -s conftest$ac_exeext'
10259 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10260 (eval $ac_try) 2>&5
10262 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10263 (exit $ac_status); }; }; then
10266 echo "$as_me: failed program was:" >&5
10267 sed 's/^/| /' conftest.
$ac_ext >&5
10271 rm -f conftest.err conftest.
$ac_objext \
10272 conftest
$ac_exeext conftest.
$ac_ext
10273 if test $ac_R_nospace = yes; then
10274 echo "$as_me:$LINENO: result: no" >&5
10275 echo "${ECHO_T}no" >&6
10276 X_LIBS
="$X_LIBS -R$x_libraries"
10278 LIBS
="$ac_xsave_LIBS -R $x_libraries"
10279 cat >conftest.
$ac_ext <<_ACEOF
10282 cat confdefs.h
>>conftest.
$ac_ext
10283 cat >>conftest.
$ac_ext <<_ACEOF
10284 /* end confdefs.h. */
10294 rm -f conftest.
$ac_objext conftest
$ac_exeext
10295 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10296 (eval $ac_link) 2>conftest.er1
10298 grep -v '^ *+' conftest.er1
>conftest.err
10300 cat conftest.err
>&5
10301 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10302 (exit $ac_status); } &&
10303 { ac_try
='test -z "$ac_c_werror_flag"
10304 || test ! -s conftest.err'
10305 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10306 (eval $ac_try) 2>&5
10308 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10309 (exit $ac_status); }; } &&
10310 { ac_try
='test -s conftest$ac_exeext'
10311 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10312 (eval $ac_try) 2>&5
10314 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10315 (exit $ac_status); }; }; then
10318 echo "$as_me: failed program was:" >&5
10319 sed 's/^/| /' conftest.
$ac_ext >&5
10323 rm -f conftest.err conftest.
$ac_objext \
10324 conftest
$ac_exeext conftest.
$ac_ext
10325 if test $ac_R_space = yes; then
10326 echo "$as_me:$LINENO: result: yes" >&5
10327 echo "${ECHO_T}yes" >&6
10328 X_LIBS
="$X_LIBS -R $x_libraries"
10330 echo "$as_me:$LINENO: result: neither works" >&5
10331 echo "${ECHO_T}neither works" >&6
10334 LIBS
=$ac_xsave_LIBS
10338 # Check for system-dependent libraries X programs must link with.
10339 # Do this before checking for the system-independent R6 libraries
10340 # (-lICE), since we may need -lsocket or whatever for X linking.
10342 if test "$ISC" = yes; then
10343 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lnsl_s -linet"
10345 # Martyn Johnson says this is needed for Ultrix, if the X
10346 # libraries were built with DECnet support. And Karl Berry says
10347 # the Alpha needs dnet_stub (dnet does not exist).
10348 ac_xsave_LIBS
="$LIBS"; LIBS
="$LIBS $X_LIBS -lX11"
10349 cat >conftest.
$ac_ext <<_ACEOF
10352 cat confdefs.h
>>conftest.
$ac_ext
10353 cat >>conftest.
$ac_ext <<_ACEOF
10354 /* end confdefs.h. */
10356 /* Override any gcc2 internal prototype to avoid an error. */
10360 /* We use char because int might match the return type of a gcc2
10361 builtin and then its argument prototype would still apply. */
10362 char XOpenDisplay ();
10371 rm -f conftest.
$ac_objext conftest
$ac_exeext
10372 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10373 (eval $ac_link) 2>conftest.er1
10375 grep -v '^ *+' conftest.er1
>conftest.err
10377 cat conftest.err
>&5
10378 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10379 (exit $ac_status); } &&
10380 { ac_try
='test -z "$ac_c_werror_flag"
10381 || test ! -s conftest.err'
10382 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10383 (eval $ac_try) 2>&5
10385 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10386 (exit $ac_status); }; } &&
10387 { ac_try
='test -s conftest$ac_exeext'
10388 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10389 (eval $ac_try) 2>&5
10391 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10392 (exit $ac_status); }; }; then
10395 echo "$as_me: failed program was:" >&5
10396 sed 's/^/| /' conftest.
$ac_ext >&5
10398 echo "$as_me:$LINENO: checking for dnet_ntoa in -ldnet" >&5
10399 echo $ECHO_N "checking for dnet_ntoa in -ldnet... $ECHO_C" >&6
10400 if test "${ac_cv_lib_dnet_dnet_ntoa+set}" = set; then
10401 echo $ECHO_N "(cached) $ECHO_C" >&6
10403 ac_check_lib_save_LIBS
=$LIBS
10404 LIBS
="-ldnet $LIBS"
10405 cat >conftest.
$ac_ext <<_ACEOF
10408 cat confdefs.h
>>conftest.
$ac_ext
10409 cat >>conftest.
$ac_ext <<_ACEOF
10410 /* end confdefs.h. */
10412 /* Override any gcc2 internal prototype to avoid an error. */
10416 /* We use char because int might match the return type of a gcc2
10417 builtin and then its argument prototype would still apply. */
10427 rm -f conftest.
$ac_objext conftest
$ac_exeext
10428 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10429 (eval $ac_link) 2>conftest.er1
10431 grep -v '^ *+' conftest.er1
>conftest.err
10433 cat conftest.err
>&5
10434 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10435 (exit $ac_status); } &&
10436 { ac_try
='test -z "$ac_c_werror_flag"
10437 || test ! -s conftest.err'
10438 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10439 (eval $ac_try) 2>&5
10441 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10442 (exit $ac_status); }; } &&
10443 { ac_try
='test -s conftest$ac_exeext'
10444 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10445 (eval $ac_try) 2>&5
10447 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10448 (exit $ac_status); }; }; then
10449 ac_cv_lib_dnet_dnet_ntoa
=yes
10451 echo "$as_me: failed program was:" >&5
10452 sed 's/^/| /' conftest.
$ac_ext >&5
10454 ac_cv_lib_dnet_dnet_ntoa
=no
10456 rm -f conftest.err conftest.
$ac_objext \
10457 conftest
$ac_exeext conftest.
$ac_ext
10458 LIBS
=$ac_check_lib_save_LIBS
10460 echo "$as_me:$LINENO: result: $ac_cv_lib_dnet_dnet_ntoa" >&5
10461 echo "${ECHO_T}$ac_cv_lib_dnet_dnet_ntoa" >&6
10462 if test $ac_cv_lib_dnet_dnet_ntoa = yes; then
10463 X_EXTRA_LIBS
="$X_EXTRA_LIBS -ldnet"
10466 if test $ac_cv_lib_dnet_dnet_ntoa = no
; then
10467 echo "$as_me:$LINENO: checking for dnet_ntoa in -ldnet_stub" >&5
10468 echo $ECHO_N "checking for dnet_ntoa in -ldnet_stub... $ECHO_C" >&6
10469 if test "${ac_cv_lib_dnet_stub_dnet_ntoa+set}" = set; then
10470 echo $ECHO_N "(cached) $ECHO_C" >&6
10472 ac_check_lib_save_LIBS
=$LIBS
10473 LIBS
="-ldnet_stub $LIBS"
10474 cat >conftest.
$ac_ext <<_ACEOF
10477 cat confdefs.h
>>conftest.
$ac_ext
10478 cat >>conftest.
$ac_ext <<_ACEOF
10479 /* end confdefs.h. */
10481 /* Override any gcc2 internal prototype to avoid an error. */
10485 /* We use char because int might match the return type of a gcc2
10486 builtin and then its argument prototype would still apply. */
10496 rm -f conftest.
$ac_objext conftest
$ac_exeext
10497 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10498 (eval $ac_link) 2>conftest.er1
10500 grep -v '^ *+' conftest.er1
>conftest.err
10502 cat conftest.err
>&5
10503 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10504 (exit $ac_status); } &&
10505 { ac_try
='test -z "$ac_c_werror_flag"
10506 || test ! -s conftest.err'
10507 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10508 (eval $ac_try) 2>&5
10510 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10511 (exit $ac_status); }; } &&
10512 { ac_try
='test -s conftest$ac_exeext'
10513 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10514 (eval $ac_try) 2>&5
10516 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10517 (exit $ac_status); }; }; then
10518 ac_cv_lib_dnet_stub_dnet_ntoa
=yes
10520 echo "$as_me: failed program was:" >&5
10521 sed 's/^/| /' conftest.
$ac_ext >&5
10523 ac_cv_lib_dnet_stub_dnet_ntoa
=no
10525 rm -f conftest.err conftest.
$ac_objext \
10526 conftest
$ac_exeext conftest.
$ac_ext
10527 LIBS
=$ac_check_lib_save_LIBS
10529 echo "$as_me:$LINENO: result: $ac_cv_lib_dnet_stub_dnet_ntoa" >&5
10530 echo "${ECHO_T}$ac_cv_lib_dnet_stub_dnet_ntoa" >&6
10531 if test $ac_cv_lib_dnet_stub_dnet_ntoa = yes; then
10532 X_EXTRA_LIBS
="$X_EXTRA_LIBS -ldnet_stub"
10537 rm -f conftest.err conftest.
$ac_objext \
10538 conftest
$ac_exeext conftest.
$ac_ext
10539 LIBS
="$ac_xsave_LIBS"
10541 # msh@cis.ufl.edu says -lnsl (and -lsocket) are needed for his 386/AT,
10542 # to get the SysV transport functions.
10543 # Chad R. Larson says the Pyramis MIS-ES running DC/OSx (SVR4)
10545 # The nsl library prevents programs from opening the X display
10546 # on Irix 5.2, according to T.E. Dickey.
10547 # The functions gethostbyname, getservbyname, and inet_addr are
10548 # in -lbsd on LynxOS 3.0.1/i386, according to Lars Hecking.
10549 echo "$as_me:$LINENO: checking for gethostbyname" >&5
10550 echo $ECHO_N "checking for gethostbyname... $ECHO_C" >&6
10551 if test "${ac_cv_func_gethostbyname+set}" = set; then
10552 echo $ECHO_N "(cached) $ECHO_C" >&6
10554 cat >conftest.
$ac_ext <<_ACEOF
10557 cat confdefs.h
>>conftest.
$ac_ext
10558 cat >>conftest.
$ac_ext <<_ACEOF
10559 /* end confdefs.h. */
10560 /* Define gethostbyname to an innocuous variant, in case <limits.h> declares gethostbyname.
10561 For example, HP-UX 11i <limits.h> declares gettimeofday. */
10562 #define gethostbyname innocuous_gethostbyname
10564 /* System header to define __stub macros and hopefully few prototypes,
10565 which can conflict with char gethostbyname (); below.
10566 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
10567 <limits.h> exists even on freestanding compilers. */
10570 # include <limits.h>
10572 # include <assert.h>
10575 #undef gethostbyname
10577 /* Override any gcc2 internal prototype to avoid an error. */
10582 /* We use char because int might match the return type of a gcc2
10583 builtin and then its argument prototype would still apply. */
10584 char gethostbyname ();
10585 /* The GNU C library defines this for functions which it implements
10586 to always fail with ENOSYS. Some functions are actually named
10587 something starting with __ and the normal name is an alias. */
10588 #if defined (__stub_gethostbyname) || defined (__stub___gethostbyname)
10591 char (*f) () = gethostbyname;
10600 return f != gethostbyname;
10605 rm -f conftest.
$ac_objext conftest
$ac_exeext
10606 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10607 (eval $ac_link) 2>conftest.er1
10609 grep -v '^ *+' conftest.er1
>conftest.err
10611 cat conftest.err
>&5
10612 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10613 (exit $ac_status); } &&
10614 { ac_try
='test -z "$ac_c_werror_flag"
10615 || test ! -s conftest.err'
10616 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10617 (eval $ac_try) 2>&5
10619 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10620 (exit $ac_status); }; } &&
10621 { ac_try
='test -s conftest$ac_exeext'
10622 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10623 (eval $ac_try) 2>&5
10625 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10626 (exit $ac_status); }; }; then
10627 ac_cv_func_gethostbyname
=yes
10629 echo "$as_me: failed program was:" >&5
10630 sed 's/^/| /' conftest.
$ac_ext >&5
10632 ac_cv_func_gethostbyname
=no
10634 rm -f conftest.err conftest.
$ac_objext \
10635 conftest
$ac_exeext conftest.
$ac_ext
10637 echo "$as_me:$LINENO: result: $ac_cv_func_gethostbyname" >&5
10638 echo "${ECHO_T}$ac_cv_func_gethostbyname" >&6
10640 if test $ac_cv_func_gethostbyname = no
; then
10641 echo "$as_me:$LINENO: checking for gethostbyname in -lnsl" >&5
10642 echo $ECHO_N "checking for gethostbyname in -lnsl... $ECHO_C" >&6
10643 if test "${ac_cv_lib_nsl_gethostbyname+set}" = set; then
10644 echo $ECHO_N "(cached) $ECHO_C" >&6
10646 ac_check_lib_save_LIBS
=$LIBS
10648 cat >conftest.
$ac_ext <<_ACEOF
10651 cat confdefs.h
>>conftest.
$ac_ext
10652 cat >>conftest.
$ac_ext <<_ACEOF
10653 /* end confdefs.h. */
10655 /* Override any gcc2 internal prototype to avoid an error. */
10659 /* We use char because int might match the return type of a gcc2
10660 builtin and then its argument prototype would still apply. */
10661 char gethostbyname ();
10670 rm -f conftest.
$ac_objext conftest
$ac_exeext
10671 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10672 (eval $ac_link) 2>conftest.er1
10674 grep -v '^ *+' conftest.er1
>conftest.err
10676 cat conftest.err
>&5
10677 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10678 (exit $ac_status); } &&
10679 { ac_try
='test -z "$ac_c_werror_flag"
10680 || test ! -s conftest.err'
10681 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10682 (eval $ac_try) 2>&5
10684 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10685 (exit $ac_status); }; } &&
10686 { ac_try
='test -s conftest$ac_exeext'
10687 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10688 (eval $ac_try) 2>&5
10690 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10691 (exit $ac_status); }; }; then
10692 ac_cv_lib_nsl_gethostbyname
=yes
10694 echo "$as_me: failed program was:" >&5
10695 sed 's/^/| /' conftest.
$ac_ext >&5
10697 ac_cv_lib_nsl_gethostbyname
=no
10699 rm -f conftest.err conftest.
$ac_objext \
10700 conftest
$ac_exeext conftest.
$ac_ext
10701 LIBS
=$ac_check_lib_save_LIBS
10703 echo "$as_me:$LINENO: result: $ac_cv_lib_nsl_gethostbyname" >&5
10704 echo "${ECHO_T}$ac_cv_lib_nsl_gethostbyname" >&6
10705 if test $ac_cv_lib_nsl_gethostbyname = yes; then
10706 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lnsl"
10709 if test $ac_cv_lib_nsl_gethostbyname = no
; then
10710 echo "$as_me:$LINENO: checking for gethostbyname in -lbsd" >&5
10711 echo $ECHO_N "checking for gethostbyname in -lbsd... $ECHO_C" >&6
10712 if test "${ac_cv_lib_bsd_gethostbyname+set}" = set; then
10713 echo $ECHO_N "(cached) $ECHO_C" >&6
10715 ac_check_lib_save_LIBS
=$LIBS
10717 cat >conftest.
$ac_ext <<_ACEOF
10720 cat confdefs.h
>>conftest.
$ac_ext
10721 cat >>conftest.
$ac_ext <<_ACEOF
10722 /* end confdefs.h. */
10724 /* Override any gcc2 internal prototype to avoid an error. */
10728 /* We use char because int might match the return type of a gcc2
10729 builtin and then its argument prototype would still apply. */
10730 char gethostbyname ();
10739 rm -f conftest.
$ac_objext conftest
$ac_exeext
10740 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10741 (eval $ac_link) 2>conftest.er1
10743 grep -v '^ *+' conftest.er1
>conftest.err
10745 cat conftest.err
>&5
10746 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10747 (exit $ac_status); } &&
10748 { ac_try
='test -z "$ac_c_werror_flag"
10749 || test ! -s conftest.err'
10750 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10751 (eval $ac_try) 2>&5
10753 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10754 (exit $ac_status); }; } &&
10755 { ac_try
='test -s conftest$ac_exeext'
10756 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10757 (eval $ac_try) 2>&5
10759 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10760 (exit $ac_status); }; }; then
10761 ac_cv_lib_bsd_gethostbyname
=yes
10763 echo "$as_me: failed program was:" >&5
10764 sed 's/^/| /' conftest.
$ac_ext >&5
10766 ac_cv_lib_bsd_gethostbyname
=no
10768 rm -f conftest.err conftest.
$ac_objext \
10769 conftest
$ac_exeext conftest.
$ac_ext
10770 LIBS
=$ac_check_lib_save_LIBS
10772 echo "$as_me:$LINENO: result: $ac_cv_lib_bsd_gethostbyname" >&5
10773 echo "${ECHO_T}$ac_cv_lib_bsd_gethostbyname" >&6
10774 if test $ac_cv_lib_bsd_gethostbyname = yes; then
10775 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lbsd"
10781 # lieder@skyler.mavd.honeywell.com says without -lsocket,
10782 # socket/setsockopt and other routines are undefined under SCO ODT
10783 # 2.0. But -lsocket is broken on IRIX 5.2 (and is not necessary
10784 # on later versions), says Simon Leinen: it contains gethostby*
10785 # variants that don't use the name server (or something). -lsocket
10786 # must be given before -lnsl if both are needed. We assume that
10787 # if connect needs -lnsl, so does gethostbyname.
10788 echo "$as_me:$LINENO: checking for connect" >&5
10789 echo $ECHO_N "checking for connect... $ECHO_C" >&6
10790 if test "${ac_cv_func_connect+set}" = set; then
10791 echo $ECHO_N "(cached) $ECHO_C" >&6
10793 cat >conftest.
$ac_ext <<_ACEOF
10796 cat confdefs.h
>>conftest.
$ac_ext
10797 cat >>conftest.
$ac_ext <<_ACEOF
10798 /* end confdefs.h. */
10799 /* Define connect to an innocuous variant, in case <limits.h> declares connect.
10800 For example, HP-UX 11i <limits.h> declares gettimeofday. */
10801 #define connect innocuous_connect
10803 /* System header to define __stub macros and hopefully few prototypes,
10804 which can conflict with char connect (); below.
10805 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
10806 <limits.h> exists even on freestanding compilers. */
10809 # include <limits.h>
10811 # include <assert.h>
10816 /* Override any gcc2 internal prototype to avoid an error. */
10821 /* We use char because int might match the return type of a gcc2
10822 builtin and then its argument prototype would still apply. */
10824 /* The GNU C library defines this for functions which it implements
10825 to always fail with ENOSYS. Some functions are actually named
10826 something starting with __ and the normal name is an alias. */
10827 #if defined (__stub_connect) || defined (__stub___connect)
10830 char (*f) () = connect;
10839 return f != connect;
10844 rm -f conftest.
$ac_objext conftest
$ac_exeext
10845 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10846 (eval $ac_link) 2>conftest.er1
10848 grep -v '^ *+' conftest.er1
>conftest.err
10850 cat conftest.err
>&5
10851 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10852 (exit $ac_status); } &&
10853 { ac_try
='test -z "$ac_c_werror_flag"
10854 || test ! -s conftest.err'
10855 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10856 (eval $ac_try) 2>&5
10858 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10859 (exit $ac_status); }; } &&
10860 { ac_try
='test -s conftest$ac_exeext'
10861 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10862 (eval $ac_try) 2>&5
10864 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10865 (exit $ac_status); }; }; then
10866 ac_cv_func_connect
=yes
10868 echo "$as_me: failed program was:" >&5
10869 sed 's/^/| /' conftest.
$ac_ext >&5
10871 ac_cv_func_connect
=no
10873 rm -f conftest.err conftest.
$ac_objext \
10874 conftest
$ac_exeext conftest.
$ac_ext
10876 echo "$as_me:$LINENO: result: $ac_cv_func_connect" >&5
10877 echo "${ECHO_T}$ac_cv_func_connect" >&6
10879 if test $ac_cv_func_connect = no
; then
10880 echo "$as_me:$LINENO: checking for connect in -lsocket" >&5
10881 echo $ECHO_N "checking for connect in -lsocket... $ECHO_C" >&6
10882 if test "${ac_cv_lib_socket_connect+set}" = set; then
10883 echo $ECHO_N "(cached) $ECHO_C" >&6
10885 ac_check_lib_save_LIBS
=$LIBS
10886 LIBS
="-lsocket $X_EXTRA_LIBS $LIBS"
10887 cat >conftest.
$ac_ext <<_ACEOF
10890 cat confdefs.h
>>conftest.
$ac_ext
10891 cat >>conftest.
$ac_ext <<_ACEOF
10892 /* end confdefs.h. */
10894 /* Override any gcc2 internal prototype to avoid an error. */
10898 /* We use char because int might match the return type of a gcc2
10899 builtin and then its argument prototype would still apply. */
10909 rm -f conftest.
$ac_objext conftest
$ac_exeext
10910 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10911 (eval $ac_link) 2>conftest.er1
10913 grep -v '^ *+' conftest.er1
>conftest.err
10915 cat conftest.err
>&5
10916 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10917 (exit $ac_status); } &&
10918 { ac_try
='test -z "$ac_c_werror_flag"
10919 || test ! -s conftest.err'
10920 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10921 (eval $ac_try) 2>&5
10923 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10924 (exit $ac_status); }; } &&
10925 { ac_try
='test -s conftest$ac_exeext'
10926 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10927 (eval $ac_try) 2>&5
10929 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10930 (exit $ac_status); }; }; then
10931 ac_cv_lib_socket_connect
=yes
10933 echo "$as_me: failed program was:" >&5
10934 sed 's/^/| /' conftest.
$ac_ext >&5
10936 ac_cv_lib_socket_connect
=no
10938 rm -f conftest.err conftest.
$ac_objext \
10939 conftest
$ac_exeext conftest.
$ac_ext
10940 LIBS
=$ac_check_lib_save_LIBS
10942 echo "$as_me:$LINENO: result: $ac_cv_lib_socket_connect" >&5
10943 echo "${ECHO_T}$ac_cv_lib_socket_connect" >&6
10944 if test $ac_cv_lib_socket_connect = yes; then
10945 X_EXTRA_LIBS
="-lsocket $X_EXTRA_LIBS"
10950 # Guillermo Gomez says -lposix is necessary on A/UX.
10951 echo "$as_me:$LINENO: checking for remove" >&5
10952 echo $ECHO_N "checking for remove... $ECHO_C" >&6
10953 if test "${ac_cv_func_remove+set}" = set; then
10954 echo $ECHO_N "(cached) $ECHO_C" >&6
10956 cat >conftest.
$ac_ext <<_ACEOF
10959 cat confdefs.h
>>conftest.
$ac_ext
10960 cat >>conftest.
$ac_ext <<_ACEOF
10961 /* end confdefs.h. */
10962 /* Define remove to an innocuous variant, in case <limits.h> declares remove.
10963 For example, HP-UX 11i <limits.h> declares gettimeofday. */
10964 #define remove innocuous_remove
10966 /* System header to define __stub macros and hopefully few prototypes,
10967 which can conflict with char remove (); below.
10968 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
10969 <limits.h> exists even on freestanding compilers. */
10972 # include <limits.h>
10974 # include <assert.h>
10979 /* Override any gcc2 internal prototype to avoid an error. */
10984 /* We use char because int might match the return type of a gcc2
10985 builtin and then its argument prototype would still apply. */
10987 /* The GNU C library defines this for functions which it implements
10988 to always fail with ENOSYS. Some functions are actually named
10989 something starting with __ and the normal name is an alias. */
10990 #if defined (__stub_remove) || defined (__stub___remove)
10993 char (*f) () = remove;
11002 return f != remove;
11007 rm -f conftest.
$ac_objext conftest
$ac_exeext
11008 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
11009 (eval $ac_link) 2>conftest.er1
11011 grep -v '^ *+' conftest.er1
>conftest.err
11013 cat conftest.err
>&5
11014 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11015 (exit $ac_status); } &&
11016 { ac_try
='test -z "$ac_c_werror_flag"
11017 || test ! -s conftest.err'
11018 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11019 (eval $ac_try) 2>&5
11021 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11022 (exit $ac_status); }; } &&
11023 { ac_try
='test -s conftest$ac_exeext'
11024 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11025 (eval $ac_try) 2>&5
11027 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11028 (exit $ac_status); }; }; then
11029 ac_cv_func_remove
=yes
11031 echo "$as_me: failed program was:" >&5
11032 sed 's/^/| /' conftest.
$ac_ext >&5
11034 ac_cv_func_remove
=no
11036 rm -f conftest.err conftest.
$ac_objext \
11037 conftest
$ac_exeext conftest.
$ac_ext
11039 echo "$as_me:$LINENO: result: $ac_cv_func_remove" >&5
11040 echo "${ECHO_T}$ac_cv_func_remove" >&6
11042 if test $ac_cv_func_remove = no
; then
11043 echo "$as_me:$LINENO: checking for remove in -lposix" >&5
11044 echo $ECHO_N "checking for remove in -lposix... $ECHO_C" >&6
11045 if test "${ac_cv_lib_posix_remove+set}" = set; then
11046 echo $ECHO_N "(cached) $ECHO_C" >&6
11048 ac_check_lib_save_LIBS
=$LIBS
11049 LIBS
="-lposix $LIBS"
11050 cat >conftest.
$ac_ext <<_ACEOF
11053 cat confdefs.h
>>conftest.
$ac_ext
11054 cat >>conftest.
$ac_ext <<_ACEOF
11055 /* end confdefs.h. */
11057 /* Override any gcc2 internal prototype to avoid an error. */
11061 /* We use char because int might match the return type of a gcc2
11062 builtin and then its argument prototype would still apply. */
11072 rm -f conftest.
$ac_objext conftest
$ac_exeext
11073 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
11074 (eval $ac_link) 2>conftest.er1
11076 grep -v '^ *+' conftest.er1
>conftest.err
11078 cat conftest.err
>&5
11079 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11080 (exit $ac_status); } &&
11081 { ac_try
='test -z "$ac_c_werror_flag"
11082 || test ! -s conftest.err'
11083 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11084 (eval $ac_try) 2>&5
11086 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11087 (exit $ac_status); }; } &&
11088 { ac_try
='test -s conftest$ac_exeext'
11089 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11090 (eval $ac_try) 2>&5
11092 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11093 (exit $ac_status); }; }; then
11094 ac_cv_lib_posix_remove
=yes
11096 echo "$as_me: failed program was:" >&5
11097 sed 's/^/| /' conftest.
$ac_ext >&5
11099 ac_cv_lib_posix_remove
=no
11101 rm -f conftest.err conftest.
$ac_objext \
11102 conftest
$ac_exeext conftest.
$ac_ext
11103 LIBS
=$ac_check_lib_save_LIBS
11105 echo "$as_me:$LINENO: result: $ac_cv_lib_posix_remove" >&5
11106 echo "${ECHO_T}$ac_cv_lib_posix_remove" >&6
11107 if test $ac_cv_lib_posix_remove = yes; then
11108 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lposix"
11113 # BSDI BSD/OS 2.1 needs -lipc for XOpenDisplay.
11114 echo "$as_me:$LINENO: checking for shmat" >&5
11115 echo $ECHO_N "checking for shmat... $ECHO_C" >&6
11116 if test "${ac_cv_func_shmat+set}" = set; then
11117 echo $ECHO_N "(cached) $ECHO_C" >&6
11119 cat >conftest.
$ac_ext <<_ACEOF
11122 cat confdefs.h
>>conftest.
$ac_ext
11123 cat >>conftest.
$ac_ext <<_ACEOF
11124 /* end confdefs.h. */
11125 /* Define shmat to an innocuous variant, in case <limits.h> declares shmat.
11126 For example, HP-UX 11i <limits.h> declares gettimeofday. */
11127 #define shmat innocuous_shmat
11129 /* System header to define __stub macros and hopefully few prototypes,
11130 which can conflict with char shmat (); below.
11131 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
11132 <limits.h> exists even on freestanding compilers. */
11135 # include <limits.h>
11137 # include <assert.h>
11142 /* Override any gcc2 internal prototype to avoid an error. */
11147 /* We use char because int might match the return type of a gcc2
11148 builtin and then its argument prototype would still apply. */
11150 /* The GNU C library defines this for functions which it implements
11151 to always fail with ENOSYS. Some functions are actually named
11152 something starting with __ and the normal name is an alias. */
11153 #if defined (__stub_shmat) || defined (__stub___shmat)
11156 char (*f) () = shmat;
11170 rm -f conftest.
$ac_objext conftest
$ac_exeext
11171 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
11172 (eval $ac_link) 2>conftest.er1
11174 grep -v '^ *+' conftest.er1
>conftest.err
11176 cat conftest.err
>&5
11177 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11178 (exit $ac_status); } &&
11179 { ac_try
='test -z "$ac_c_werror_flag"
11180 || test ! -s conftest.err'
11181 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11182 (eval $ac_try) 2>&5
11184 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11185 (exit $ac_status); }; } &&
11186 { ac_try
='test -s conftest$ac_exeext'
11187 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11188 (eval $ac_try) 2>&5
11190 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11191 (exit $ac_status); }; }; then
11192 ac_cv_func_shmat
=yes
11194 echo "$as_me: failed program was:" >&5
11195 sed 's/^/| /' conftest.
$ac_ext >&5
11197 ac_cv_func_shmat
=no
11199 rm -f conftest.err conftest.
$ac_objext \
11200 conftest
$ac_exeext conftest.
$ac_ext
11202 echo "$as_me:$LINENO: result: $ac_cv_func_shmat" >&5
11203 echo "${ECHO_T}$ac_cv_func_shmat" >&6
11205 if test $ac_cv_func_shmat = no
; then
11206 echo "$as_me:$LINENO: checking for shmat in -lipc" >&5
11207 echo $ECHO_N "checking for shmat in -lipc... $ECHO_C" >&6
11208 if test "${ac_cv_lib_ipc_shmat+set}" = set; then
11209 echo $ECHO_N "(cached) $ECHO_C" >&6
11211 ac_check_lib_save_LIBS
=$LIBS
11213 cat >conftest.
$ac_ext <<_ACEOF
11216 cat confdefs.h
>>conftest.
$ac_ext
11217 cat >>conftest.
$ac_ext <<_ACEOF
11218 /* end confdefs.h. */
11220 /* Override any gcc2 internal prototype to avoid an error. */
11224 /* We use char because int might match the return type of a gcc2
11225 builtin and then its argument prototype would still apply. */
11235 rm -f conftest.
$ac_objext conftest
$ac_exeext
11236 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
11237 (eval $ac_link) 2>conftest.er1
11239 grep -v '^ *+' conftest.er1
>conftest.err
11241 cat conftest.err
>&5
11242 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11243 (exit $ac_status); } &&
11244 { ac_try
='test -z "$ac_c_werror_flag"
11245 || test ! -s conftest.err'
11246 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11247 (eval $ac_try) 2>&5
11249 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11250 (exit $ac_status); }; } &&
11251 { ac_try
='test -s conftest$ac_exeext'
11252 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11253 (eval $ac_try) 2>&5
11255 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11256 (exit $ac_status); }; }; then
11257 ac_cv_lib_ipc_shmat
=yes
11259 echo "$as_me: failed program was:" >&5
11260 sed 's/^/| /' conftest.
$ac_ext >&5
11262 ac_cv_lib_ipc_shmat
=no
11264 rm -f conftest.err conftest.
$ac_objext \
11265 conftest
$ac_exeext conftest.
$ac_ext
11266 LIBS
=$ac_check_lib_save_LIBS
11268 echo "$as_me:$LINENO: result: $ac_cv_lib_ipc_shmat" >&5
11269 echo "${ECHO_T}$ac_cv_lib_ipc_shmat" >&6
11270 if test $ac_cv_lib_ipc_shmat = yes; then
11271 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lipc"
11277 # Check for libraries that X11R6 Xt/Xaw programs need.
11278 ac_save_LDFLAGS
=$LDFLAGS
11279 test -n "$x_libraries" && LDFLAGS
="$LDFLAGS -L$x_libraries"
11280 # SM needs ICE to (dynamically) link under SunOS 4.x (so we have to
11281 # check for ICE first), but we must link in the order -lSM -lICE or
11282 # we get undefined symbols. So assume we have SM if we have ICE.
11283 # These have to be linked with before -lX11, unlike the other
11284 # libraries we check for below, so use a different variable.
11285 # John Interrante, Karl Berry
11286 echo "$as_me:$LINENO: checking for IceConnectionNumber in -lICE" >&5
11287 echo $ECHO_N "checking for IceConnectionNumber in -lICE... $ECHO_C" >&6
11288 if test "${ac_cv_lib_ICE_IceConnectionNumber+set}" = set; then
11289 echo $ECHO_N "(cached) $ECHO_C" >&6
11291 ac_check_lib_save_LIBS
=$LIBS
11292 LIBS
="-lICE $X_EXTRA_LIBS $LIBS"
11293 cat >conftest.
$ac_ext <<_ACEOF
11296 cat confdefs.h
>>conftest.
$ac_ext
11297 cat >>conftest.
$ac_ext <<_ACEOF
11298 /* end confdefs.h. */
11300 /* Override any gcc2 internal prototype to avoid an error. */
11304 /* We use char because int might match the return type of a gcc2
11305 builtin and then its argument prototype would still apply. */
11306 char IceConnectionNumber ();
11310 IceConnectionNumber ();
11315 rm -f conftest.
$ac_objext conftest
$ac_exeext
11316 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
11317 (eval $ac_link) 2>conftest.er1
11319 grep -v '^ *+' conftest.er1
>conftest.err
11321 cat conftest.err
>&5
11322 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11323 (exit $ac_status); } &&
11324 { ac_try
='test -z "$ac_c_werror_flag"
11325 || test ! -s conftest.err'
11326 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11327 (eval $ac_try) 2>&5
11329 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11330 (exit $ac_status); }; } &&
11331 { ac_try
='test -s conftest$ac_exeext'
11332 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11333 (eval $ac_try) 2>&5
11335 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11336 (exit $ac_status); }; }; then
11337 ac_cv_lib_ICE_IceConnectionNumber
=yes
11339 echo "$as_me: failed program was:" >&5
11340 sed 's/^/| /' conftest.
$ac_ext >&5
11342 ac_cv_lib_ICE_IceConnectionNumber
=no
11344 rm -f conftest.err conftest.
$ac_objext \
11345 conftest
$ac_exeext conftest.
$ac_ext
11346 LIBS
=$ac_check_lib_save_LIBS
11348 echo "$as_me:$LINENO: result: $ac_cv_lib_ICE_IceConnectionNumber" >&5
11349 echo "${ECHO_T}$ac_cv_lib_ICE_IceConnectionNumber" >&6
11350 if test $ac_cv_lib_ICE_IceConnectionNumber = yes; then
11351 X_PRE_LIBS
="$X_PRE_LIBS -lSM -lICE"
11354 LDFLAGS
=$ac_save_LDFLAGS
11358 if test "$no_x" = yes; then
11359 { { echo "$as_me:$LINENO: error: GTK+ peers requested but no X library available" >&5
11360 echo "$as_me: error: GTK+ peers requested but no X library available" >&2;}
11361 { (exit 1); exit 1; }; }
11363 echo "$as_me:$LINENO: checking for XTestQueryExtension in -lXtst" >&5
11364 echo $ECHO_N "checking for XTestQueryExtension in -lXtst... $ECHO_C" >&6
11365 if test "${ac_cv_lib_Xtst_XTestQueryExtension+set}" = set; then
11366 echo $ECHO_N "(cached) $ECHO_C" >&6
11368 ac_check_lib_save_LIBS
=$LIBS
11369 LIBS
="-lXtst ${X_LIBS} $LIBS"
11370 cat >conftest.
$ac_ext <<_ACEOF
11373 cat confdefs.h
>>conftest.
$ac_ext
11374 cat >>conftest.
$ac_ext <<_ACEOF
11375 /* end confdefs.h. */
11377 /* Override any gcc2 internal prototype to avoid an error. */
11381 /* We use char because int might match the return type of a gcc2
11382 builtin and then its argument prototype would still apply. */
11383 char XTestQueryExtension ();
11387 XTestQueryExtension ();
11392 rm -f conftest.
$ac_objext conftest
$ac_exeext
11393 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
11394 (eval $ac_link) 2>conftest.er1
11396 grep -v '^ *+' conftest.er1
>conftest.err
11398 cat conftest.err
>&5
11399 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11400 (exit $ac_status); } &&
11401 { ac_try
='test -z "$ac_c_werror_flag"
11402 || test ! -s conftest.err'
11403 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11404 (eval $ac_try) 2>&5
11406 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11407 (exit $ac_status); }; } &&
11408 { ac_try
='test -s conftest$ac_exeext'
11409 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11410 (eval $ac_try) 2>&5
11412 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11413 (exit $ac_status); }; }; then
11414 ac_cv_lib_Xtst_XTestQueryExtension
=yes
11416 echo "$as_me: failed program was:" >&5
11417 sed 's/^/| /' conftest.
$ac_ext >&5
11419 ac_cv_lib_Xtst_XTestQueryExtension
=no
11421 rm -f conftest.err conftest.
$ac_objext \
11422 conftest
$ac_exeext conftest.
$ac_ext
11423 LIBS
=$ac_check_lib_save_LIBS
11425 echo "$as_me:$LINENO: result: $ac_cv_lib_Xtst_XTestQueryExtension" >&5
11426 echo "${ECHO_T}$ac_cv_lib_Xtst_XTestQueryExtension" >&6
11427 if test $ac_cv_lib_Xtst_XTestQueryExtension = yes; then
11428 XTEST_LIBS
="$XTEST_LIBS -lX11 -lXtst"
11430 { { echo "$as_me:$LINENO: error: libXtst NOT found, required for GdkRobot" >&5
11431 echo "$as_me: error: libXtst NOT found, required for GdkRobot" >&2;}
11432 { (exit 1); exit 1; }; }
11439 if test -z "$PKG_CONFIG"; then
11440 # Extract the first word of "pkg-config", so it can be a program name with args.
11441 set dummy pkg-config
; ac_word
=$2
11442 echo "$as_me:$LINENO: checking for $ac_word" >&5
11443 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
11444 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
11445 echo $ECHO_N "(cached) $ECHO_C" >&6
11447 case $PKG_CONFIG in
11449 ac_cv_path_PKG_CONFIG
="$PKG_CONFIG" # Let the user override the test with a path.
11452 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
11453 for as_dir
in $PATH
11456 test -z "$as_dir" && as_dir
=.
11457 for ac_exec_ext
in '' $ac_executable_extensions; do
11458 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
11459 ac_cv_path_PKG_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
11460 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
11466 test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG
="no"
11470 PKG_CONFIG
=$ac_cv_path_PKG_CONFIG
11472 if test -n "$PKG_CONFIG"; then
11473 echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
11474 echo "${ECHO_T}$PKG_CONFIG" >&6
11476 echo "$as_me:$LINENO: result: no" >&5
11477 echo "${ECHO_T}no" >&6
11482 if test "$PKG_CONFIG" = "no" ; then
11483 echo "*** The pkg-config script could not be found. Make sure it is"
11484 echo "*** in your path, or set the PKG_CONFIG environment variable"
11485 echo "*** to the full path to pkg-config."
11486 echo "*** Or see http://www.freedesktop.org/software/pkgconfig to get pkg-config."
11488 PKG_CONFIG_MIN_VERSION
=0.9.0
11489 if $PKG_CONFIG --atleast-pkgconfig-version $PKG_CONFIG_MIN_VERSION; then
11490 echo "$as_me:$LINENO: checking for gtk+-2.0 >= 2.8 gthread-2.0 >= 2.2 gdk-pixbuf-2.0" >&5
11491 echo $ECHO_N "checking for gtk+-2.0 >= 2.8 gthread-2.0 >= 2.2 gdk-pixbuf-2.0... $ECHO_C" >&6
11493 if $PKG_CONFIG --exists "gtk+-2.0 >= 2.8 gthread-2.0 >= 2.2 gdk-pixbuf-2.0" ; then
11494 echo "$as_me:$LINENO: result: yes" >&5
11495 echo "${ECHO_T}yes" >&6
11498 echo "$as_me:$LINENO: checking GTK_CFLAGS" >&5
11499 echo $ECHO_N "checking GTK_CFLAGS... $ECHO_C" >&6
11500 GTK_CFLAGS
=`$PKG_CONFIG --cflags "gtk+-2.0 >= 2.8 gthread-2.0 >= 2.2 gdk-pixbuf-2.0"`
11501 echo "$as_me:$LINENO: result: $GTK_CFLAGS" >&5
11502 echo "${ECHO_T}$GTK_CFLAGS" >&6
11504 echo "$as_me:$LINENO: checking GTK_LIBS" >&5
11505 echo $ECHO_N "checking GTK_LIBS... $ECHO_C" >&6
11506 GTK_LIBS
=`$PKG_CONFIG --libs "gtk+-2.0 >= 2.8 gthread-2.0 >= 2.2 gdk-pixbuf-2.0"`
11507 echo "$as_me:$LINENO: result: $GTK_LIBS" >&5
11508 echo "${ECHO_T}$GTK_LIBS" >&6
11512 ## If we have a custom action on failure, don't print errors, but
11513 ## do set a variable so people can do so.
11514 GTK_PKG_ERRORS
=`$PKG_CONFIG --errors-to-stdout --print-errors "gtk+-2.0 >= 2.8 gthread-2.0 >= 2.2 gdk-pixbuf-2.0"`
11515 echo $GTK_PKG_ERRORS
11521 echo "*** Your version of pkg-config is too old. You need version $PKG_CONFIG_MIN_VERSION or newer."
11522 echo "*** See http://www.freedesktop.org/software/pkgconfig"
11526 if test $succeeded = yes; then
11529 { { 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
11530 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;}
11531 { (exit 1); exit 1; }; }
11537 if test -z "$PKG_CONFIG"; then
11538 # Extract the first word of "pkg-config", so it can be a program name with args.
11539 set dummy pkg-config
; ac_word
=$2
11540 echo "$as_me:$LINENO: checking for $ac_word" >&5
11541 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
11542 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
11543 echo $ECHO_N "(cached) $ECHO_C" >&6
11545 case $PKG_CONFIG in
11547 ac_cv_path_PKG_CONFIG
="$PKG_CONFIG" # Let the user override the test with a path.
11550 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
11551 for as_dir
in $PATH
11554 test -z "$as_dir" && as_dir
=.
11555 for ac_exec_ext
in '' $ac_executable_extensions; do
11556 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
11557 ac_cv_path_PKG_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
11558 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
11564 test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG
="no"
11568 PKG_CONFIG
=$ac_cv_path_PKG_CONFIG
11570 if test -n "$PKG_CONFIG"; then
11571 echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
11572 echo "${ECHO_T}$PKG_CONFIG" >&6
11574 echo "$as_me:$LINENO: result: no" >&5
11575 echo "${ECHO_T}no" >&6
11580 if test "$PKG_CONFIG" = "no" ; then
11581 echo "*** The pkg-config script could not be found. Make sure it is"
11582 echo "*** in your path, or set the PKG_CONFIG environment variable"
11583 echo "*** to the full path to pkg-config."
11584 echo "*** Or see http://www.freedesktop.org/software/pkgconfig to get pkg-config."
11586 PKG_CONFIG_MIN_VERSION
=0.9.0
11587 if $PKG_CONFIG --atleast-pkgconfig-version $PKG_CONFIG_MIN_VERSION; then
11588 echo "$as_me:$LINENO: checking for freetype2" >&5
11589 echo $ECHO_N "checking for freetype2... $ECHO_C" >&6
11591 if $PKG_CONFIG --exists "freetype2" ; then
11592 echo "$as_me:$LINENO: result: yes" >&5
11593 echo "${ECHO_T}yes" >&6
11596 echo "$as_me:$LINENO: checking FREETYPE2_CFLAGS" >&5
11597 echo $ECHO_N "checking FREETYPE2_CFLAGS... $ECHO_C" >&6
11598 FREETYPE2_CFLAGS
=`$PKG_CONFIG --cflags "freetype2"`
11599 echo "$as_me:$LINENO: result: $FREETYPE2_CFLAGS" >&5
11600 echo "${ECHO_T}$FREETYPE2_CFLAGS" >&6
11602 echo "$as_me:$LINENO: checking FREETYPE2_LIBS" >&5
11603 echo $ECHO_N "checking FREETYPE2_LIBS... $ECHO_C" >&6
11604 FREETYPE2_LIBS
=`$PKG_CONFIG --libs "freetype2"`
11605 echo "$as_me:$LINENO: result: $FREETYPE2_LIBS" >&5
11606 echo "${ECHO_T}$FREETYPE2_LIBS" >&6
11608 FREETYPE2_CFLAGS
=""
11610 ## If we have a custom action on failure, don't print errors, but
11611 ## do set a variable so people can do so.
11612 FREETYPE2_PKG_ERRORS
=`$PKG_CONFIG --errors-to-stdout --print-errors "freetype2"`
11613 echo $FREETYPE2_PKG_ERRORS
11619 echo "*** Your version of pkg-config is too old. You need version $PKG_CONFIG_MIN_VERSION or newer."
11620 echo "*** See http://www.freedesktop.org/software/pkgconfig"
11624 if test $succeeded = yes; then
11627 { { 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
11628 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;}
11629 { (exit 1); exit 1; }; }
11635 if test -z "$PKG_CONFIG"; then
11636 # Extract the first word of "pkg-config", so it can be a program name with args.
11637 set dummy pkg-config
; ac_word
=$2
11638 echo "$as_me:$LINENO: checking for $ac_word" >&5
11639 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
11640 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
11641 echo $ECHO_N "(cached) $ECHO_C" >&6
11643 case $PKG_CONFIG in
11645 ac_cv_path_PKG_CONFIG
="$PKG_CONFIG" # Let the user override the test with a path.
11648 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
11649 for as_dir
in $PATH
11652 test -z "$as_dir" && as_dir
=.
11653 for ac_exec_ext
in '' $ac_executable_extensions; do
11654 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
11655 ac_cv_path_PKG_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
11656 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
11662 test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG
="no"
11666 PKG_CONFIG
=$ac_cv_path_PKG_CONFIG
11668 if test -n "$PKG_CONFIG"; then
11669 echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
11670 echo "${ECHO_T}$PKG_CONFIG" >&6
11672 echo "$as_me:$LINENO: result: no" >&5
11673 echo "${ECHO_T}no" >&6
11678 if test "$PKG_CONFIG" = "no" ; then
11679 echo "*** The pkg-config script could not be found. Make sure it is"
11680 echo "*** in your path, or set the PKG_CONFIG environment variable"
11681 echo "*** to the full path to pkg-config."
11682 echo "*** Or see http://www.freedesktop.org/software/pkgconfig to get pkg-config."
11684 PKG_CONFIG_MIN_VERSION
=0.9.0
11685 if $PKG_CONFIG --atleast-pkgconfig-version $PKG_CONFIG_MIN_VERSION; then
11686 echo "$as_me:$LINENO: checking for pangoft2" >&5
11687 echo $ECHO_N "checking for pangoft2... $ECHO_C" >&6
11689 if $PKG_CONFIG --exists "pangoft2" ; then
11690 echo "$as_me:$LINENO: result: yes" >&5
11691 echo "${ECHO_T}yes" >&6
11694 echo "$as_me:$LINENO: checking PANGOFT2_CFLAGS" >&5
11695 echo $ECHO_N "checking PANGOFT2_CFLAGS... $ECHO_C" >&6
11696 PANGOFT2_CFLAGS
=`$PKG_CONFIG --cflags "pangoft2"`
11697 echo "$as_me:$LINENO: result: $PANGOFT2_CFLAGS" >&5
11698 echo "${ECHO_T}$PANGOFT2_CFLAGS" >&6
11700 echo "$as_me:$LINENO: checking PANGOFT2_LIBS" >&5
11701 echo $ECHO_N "checking PANGOFT2_LIBS... $ECHO_C" >&6
11702 PANGOFT2_LIBS
=`$PKG_CONFIG --libs "pangoft2"`
11703 echo "$as_me:$LINENO: result: $PANGOFT2_LIBS" >&5
11704 echo "${ECHO_T}$PANGOFT2_LIBS" >&6
11708 ## If we have a custom action on failure, don't print errors, but
11709 ## do set a variable so people can do so.
11710 PANGOFT2_PKG_ERRORS
=`$PKG_CONFIG --errors-to-stdout --print-errors "pangoft2"`
11711 echo $PANGOFT2_PKG_ERRORS
11717 echo "*** Your version of pkg-config is too old. You need version $PKG_CONFIG_MIN_VERSION or newer."
11718 echo "*** See http://www.freedesktop.org/software/pkgconfig"
11722 if test $succeeded = yes; then
11725 { { 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
11726 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;}
11727 { (exit 1); exit 1; }; }
11730 echo "$as_me:$LINENO: checking for XRenderQueryExtension in -lXrender" >&5
11731 echo $ECHO_N "checking for XRenderQueryExtension in -lXrender... $ECHO_C" >&6
11732 if test "${ac_cv_lib_Xrender_XRenderQueryExtension+set}" = set; then
11733 echo $ECHO_N "(cached) $ECHO_C" >&6
11735 ac_check_lib_save_LIBS
=$LIBS
11736 LIBS
="-lXrender ${X_LIBS} $LIBS"
11737 cat >conftest.
$ac_ext <<_ACEOF
11740 cat confdefs.h
>>conftest.
$ac_ext
11741 cat >>conftest.
$ac_ext <<_ACEOF
11742 /* end confdefs.h. */
11744 /* Override any gcc2 internal prototype to avoid an error. */
11748 /* We use char because int might match the return type of a gcc2
11749 builtin and then its argument prototype would still apply. */
11750 char XRenderQueryExtension ();
11754 XRenderQueryExtension ();
11759 rm -f conftest.
$ac_objext conftest
$ac_exeext
11760 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
11761 (eval $ac_link) 2>conftest.er1
11763 grep -v '^ *+' conftest.er1
>conftest.err
11765 cat conftest.err
>&5
11766 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11767 (exit $ac_status); } &&
11768 { ac_try
='test -z "$ac_c_werror_flag"
11769 || test ! -s conftest.err'
11770 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11771 (eval $ac_try) 2>&5
11773 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11774 (exit $ac_status); }; } &&
11775 { ac_try
='test -s conftest$ac_exeext'
11776 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11777 (eval $ac_try) 2>&5
11779 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11780 (exit $ac_status); }; }; then
11781 ac_cv_lib_Xrender_XRenderQueryExtension
=yes
11783 echo "$as_me: failed program was:" >&5
11784 sed 's/^/| /' conftest.
$ac_ext >&5
11786 ac_cv_lib_Xrender_XRenderQueryExtension
=no
11788 rm -f conftest.err conftest.
$ac_objext \
11789 conftest
$ac_exeext conftest.
$ac_ext
11790 LIBS
=$ac_check_lib_save_LIBS
11792 echo "$as_me:$LINENO: result: $ac_cv_lib_Xrender_XRenderQueryExtension" >&5
11793 echo "${ECHO_T}$ac_cv_lib_Xrender_XRenderQueryExtension" >&6
11794 if test $ac_cv_lib_Xrender_XRenderQueryExtension = yes; then
11796 cat >>confdefs.h
<<\_ACEOF
11797 #define HAVE_XRENDER 1
11799 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lXrender"
11805 echo "$as_me:$LINENO: checking for XRRQueryExtension in -lXrandr" >&5
11806 echo $ECHO_N "checking for XRRQueryExtension in -lXrandr... $ECHO_C" >&6
11807 if test "${ac_cv_lib_Xrandr_XRRQueryExtension+set}" = set; then
11808 echo $ECHO_N "(cached) $ECHO_C" >&6
11810 ac_check_lib_save_LIBS
=$LIBS
11811 LIBS
="-lXrandr ${X_LIBS} $LIBS"
11812 cat >conftest.
$ac_ext <<_ACEOF
11815 cat confdefs.h
>>conftest.
$ac_ext
11816 cat >>conftest.
$ac_ext <<_ACEOF
11817 /* end confdefs.h. */
11819 /* Override any gcc2 internal prototype to avoid an error. */
11823 /* We use char because int might match the return type of a gcc2
11824 builtin and then its argument prototype would still apply. */
11825 char XRRQueryExtension ();
11829 XRRQueryExtension ();
11834 rm -f conftest.
$ac_objext conftest
$ac_exeext
11835 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
11836 (eval $ac_link) 2>conftest.er1
11838 grep -v '^ *+' conftest.er1
>conftest.err
11840 cat conftest.err
>&5
11841 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11842 (exit $ac_status); } &&
11843 { ac_try
='test -z "$ac_c_werror_flag"
11844 || test ! -s conftest.err'
11845 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11846 (eval $ac_try) 2>&5
11848 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11849 (exit $ac_status); }; } &&
11850 { ac_try
='test -s conftest$ac_exeext'
11851 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11852 (eval $ac_try) 2>&5
11854 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11855 (exit $ac_status); }; }; then
11856 ac_cv_lib_Xrandr_XRRQueryExtension
=yes
11858 echo "$as_me: failed program was:" >&5
11859 sed 's/^/| /' conftest.
$ac_ext >&5
11861 ac_cv_lib_Xrandr_XRRQueryExtension
=no
11863 rm -f conftest.err conftest.
$ac_objext \
11864 conftest
$ac_exeext conftest.
$ac_ext
11865 LIBS
=$ac_check_lib_save_LIBS
11867 echo "$as_me:$LINENO: result: $ac_cv_lib_Xrandr_XRRQueryExtension" >&5
11868 echo "${ECHO_T}$ac_cv_lib_Xrandr_XRRQueryExtension" >&6
11869 if test $ac_cv_lib_Xrandr_XRRQueryExtension = yes; then
11871 cat >>confdefs.h
<<\_ACEOF
11872 #define HAVE_XRANDR 1
11874 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lXrandr"
11889 if test "x${COMPILE_GCONF_PEER}" = xyes
; then
11893 if test -z "$PKG_CONFIG"; then
11894 # Extract the first word of "pkg-config", so it can be a program name with args.
11895 set dummy pkg-config
; ac_word
=$2
11896 echo "$as_me:$LINENO: checking for $ac_word" >&5
11897 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
11898 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
11899 echo $ECHO_N "(cached) $ECHO_C" >&6
11901 case $PKG_CONFIG in
11903 ac_cv_path_PKG_CONFIG
="$PKG_CONFIG" # Let the user override the test with a path.
11906 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
11907 for as_dir
in $PATH
11910 test -z "$as_dir" && as_dir
=.
11911 for ac_exec_ext
in '' $ac_executable_extensions; do
11912 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
11913 ac_cv_path_PKG_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
11914 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
11920 test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG
="no"
11924 PKG_CONFIG
=$ac_cv_path_PKG_CONFIG
11926 if test -n "$PKG_CONFIG"; then
11927 echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
11928 echo "${ECHO_T}$PKG_CONFIG" >&6
11930 echo "$as_me:$LINENO: result: no" >&5
11931 echo "${ECHO_T}no" >&6
11936 if test "$PKG_CONFIG" = "no" ; then
11937 echo "*** The pkg-config script could not be found. Make sure it is"
11938 echo "*** in your path, or set the PKG_CONFIG environment variable"
11939 echo "*** to the full path to pkg-config."
11940 echo "*** Or see http://www.freedesktop.org/software/pkgconfig to get pkg-config."
11942 PKG_CONFIG_MIN_VERSION
=0.9.0
11943 if $PKG_CONFIG --atleast-pkgconfig-version $PKG_CONFIG_MIN_VERSION; then
11944 echo "$as_me:$LINENO: checking for gconf-2.0 >= 2.11.2" >&5
11945 echo $ECHO_N "checking for gconf-2.0 >= 2.11.2... $ECHO_C" >&6
11947 if $PKG_CONFIG --exists "gconf-2.0 >= 2.11.2" ; then
11948 echo "$as_me:$LINENO: result: yes" >&5
11949 echo "${ECHO_T}yes" >&6
11952 echo "$as_me:$LINENO: checking GCONF_CFLAGS" >&5
11953 echo $ECHO_N "checking GCONF_CFLAGS... $ECHO_C" >&6
11954 GCONF_CFLAGS
=`$PKG_CONFIG --cflags "gconf-2.0 >= 2.11.2"`
11955 echo "$as_me:$LINENO: result: $GCONF_CFLAGS" >&5
11956 echo "${ECHO_T}$GCONF_CFLAGS" >&6
11958 echo "$as_me:$LINENO: checking GCONF_LIBS" >&5
11959 echo $ECHO_N "checking GCONF_LIBS... $ECHO_C" >&6
11960 GCONF_LIBS
=`$PKG_CONFIG --libs "gconf-2.0 >= 2.11.2"`
11961 echo "$as_me:$LINENO: result: $GCONF_LIBS" >&5
11962 echo "${ECHO_T}$GCONF_LIBS" >&6
11966 ## If we have a custom action on failure, don't print errors, but
11967 ## do set a variable so people can do so.
11968 GCONF_PKG_ERRORS
=`$PKG_CONFIG --errors-to-stdout --print-errors "gconf-2.0 >= 2.11.2"`
11969 echo $GCONF_PKG_ERRORS
11975 echo "*** Your version of pkg-config is too old. You need version $PKG_CONFIG_MIN_VERSION or newer."
11976 echo "*** See http://www.freedesktop.org/software/pkgconfig"
11980 if test $succeeded = yes; then
11983 { { 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
11984 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;}
11985 { (exit 1); exit 1; }; }
11993 if test -z "$PKG_CONFIG"; then
11994 # Extract the first word of "pkg-config", so it can be a program name with args.
11995 set dummy pkg-config
; ac_word
=$2
11996 echo "$as_me:$LINENO: checking for $ac_word" >&5
11997 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
11998 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
11999 echo $ECHO_N "(cached) $ECHO_C" >&6
12001 case $PKG_CONFIG in
12003 ac_cv_path_PKG_CONFIG
="$PKG_CONFIG" # Let the user override the test with a path.
12006 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
12007 for as_dir
in $PATH
12010 test -z "$as_dir" && as_dir
=.
12011 for ac_exec_ext
in '' $ac_executable_extensions; do
12012 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
12013 ac_cv_path_PKG_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
12014 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
12020 test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG
="no"
12024 PKG_CONFIG
=$ac_cv_path_PKG_CONFIG
12026 if test -n "$PKG_CONFIG"; then
12027 echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
12028 echo "${ECHO_T}$PKG_CONFIG" >&6
12030 echo "$as_me:$LINENO: result: no" >&5
12031 echo "${ECHO_T}no" >&6
12036 if test "$PKG_CONFIG" = "no" ; then
12037 echo "*** The pkg-config script could not be found. Make sure it is"
12038 echo "*** in your path, or set the PKG_CONFIG environment variable"
12039 echo "*** to the full path to pkg-config."
12040 echo "*** Or see http://www.freedesktop.org/software/pkgconfig to get pkg-config."
12042 PKG_CONFIG_MIN_VERSION
=0.9.0
12043 if $PKG_CONFIG --atleast-pkgconfig-version $PKG_CONFIG_MIN_VERSION; then
12044 echo "$as_me:$LINENO: checking for gdk-2.0 >= 2.8" >&5
12045 echo $ECHO_N "checking for gdk-2.0 >= 2.8... $ECHO_C" >&6
12047 if $PKG_CONFIG --exists "gdk-2.0 >= 2.8" ; then
12048 echo "$as_me:$LINENO: result: yes" >&5
12049 echo "${ECHO_T}yes" >&6
12052 echo "$as_me:$LINENO: checking GDK_CFLAGS" >&5
12053 echo $ECHO_N "checking GDK_CFLAGS... $ECHO_C" >&6
12054 GDK_CFLAGS
=`$PKG_CONFIG --cflags "gdk-2.0 >= 2.8"`
12055 echo "$as_me:$LINENO: result: $GDK_CFLAGS" >&5
12056 echo "${ECHO_T}$GDK_CFLAGS" >&6
12058 echo "$as_me:$LINENO: checking GDK_LIBS" >&5
12059 echo $ECHO_N "checking GDK_LIBS... $ECHO_C" >&6
12060 GDK_LIBS
=`$PKG_CONFIG --libs "gdk-2.0 >= 2.8"`
12061 echo "$as_me:$LINENO: result: $GDK_LIBS" >&5
12062 echo "${ECHO_T}$GDK_LIBS" >&6
12066 ## If we have a custom action on failure, don't print errors, but
12067 ## do set a variable so people can do so.
12068 GDK_PKG_ERRORS
=`$PKG_CONFIG --errors-to-stdout --print-errors "gdk-2.0 >= 2.8"`
12069 echo $GDK_PKG_ERRORS
12075 echo "*** Your version of pkg-config is too old. You need version $PKG_CONFIG_MIN_VERSION or newer."
12076 echo "*** See http://www.freedesktop.org/software/pkgconfig"
12080 if test $succeeded = yes; then
12083 { { 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
12084 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;}
12085 { (exit 1); exit 1; }; }
12090 USE_GCONF_PREFS_PEER
=$enable_default_preferences_peer
12091 if test "$USE_GCONF_PREFS_PEER" = ""; then
12092 DEFAULT_PREFS_PEER
=gnu.java.util.prefs.GConfBasedFactory
12096 if test "x${COMPILE_QT_PEER}" = xyes
; then
12100 if test -z "$PKG_CONFIG"; then
12101 # Extract the first word of "pkg-config", so it can be a program name with args.
12102 set dummy pkg-config
; ac_word
=$2
12103 echo "$as_me:$LINENO: checking for $ac_word" >&5
12104 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
12105 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
12106 echo $ECHO_N "(cached) $ECHO_C" >&6
12108 case $PKG_CONFIG in
12110 ac_cv_path_PKG_CONFIG
="$PKG_CONFIG" # Let the user override the test with a path.
12113 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
12114 for as_dir
in $PATH
12117 test -z "$as_dir" && as_dir
=.
12118 for ac_exec_ext
in '' $ac_executable_extensions; do
12119 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
12120 ac_cv_path_PKG_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
12121 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
12127 test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG
="no"
12131 PKG_CONFIG
=$ac_cv_path_PKG_CONFIG
12133 if test -n "$PKG_CONFIG"; then
12134 echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
12135 echo "${ECHO_T}$PKG_CONFIG" >&6
12137 echo "$as_me:$LINENO: result: no" >&5
12138 echo "${ECHO_T}no" >&6
12143 if test "$PKG_CONFIG" = "no" ; then
12144 echo "*** The pkg-config script could not be found. Make sure it is"
12145 echo "*** in your path, or set the PKG_CONFIG environment variable"
12146 echo "*** to the full path to pkg-config."
12147 echo "*** Or see http://www.freedesktop.org/software/pkgconfig to get pkg-config."
12149 PKG_CONFIG_MIN_VERSION
=0.9.0
12150 if $PKG_CONFIG --atleast-pkgconfig-version $PKG_CONFIG_MIN_VERSION; then
12151 echo "$as_me:$LINENO: checking for QtCore QtGui >= 4.1.0" >&5
12152 echo $ECHO_N "checking for QtCore QtGui >= 4.1.0... $ECHO_C" >&6
12154 if $PKG_CONFIG --exists "QtCore QtGui >= 4.1.0" ; then
12155 echo "$as_me:$LINENO: result: yes" >&5
12156 echo "${ECHO_T}yes" >&6
12159 echo "$as_me:$LINENO: checking QT_CFLAGS" >&5
12160 echo $ECHO_N "checking QT_CFLAGS... $ECHO_C" >&6
12161 QT_CFLAGS
=`$PKG_CONFIG --cflags "QtCore QtGui >= 4.1.0"`
12162 echo "$as_me:$LINENO: result: $QT_CFLAGS" >&5
12163 echo "${ECHO_T}$QT_CFLAGS" >&6
12165 echo "$as_me:$LINENO: checking QT_LIBS" >&5
12166 echo $ECHO_N "checking QT_LIBS... $ECHO_C" >&6
12167 QT_LIBS
=`$PKG_CONFIG --libs "QtCore QtGui >= 4.1.0"`
12168 echo "$as_me:$LINENO: result: $QT_LIBS" >&5
12169 echo "${ECHO_T}$QT_LIBS" >&6
12173 ## If we have a custom action on failure, don't print errors, but
12174 ## do set a variable so people can do so.
12175 QT_PKG_ERRORS
=`$PKG_CONFIG --errors-to-stdout --print-errors "QtCore QtGui >= 4.1.0"`
12182 echo "*** Your version of pkg-config is too old. You need version $PKG_CONFIG_MIN_VERSION or newer."
12183 echo "*** See http://www.freedesktop.org/software/pkgconfig"
12187 if test $succeeded = yes; then
12193 if test "x$HAVE_QT4" = "xyes"; then
12194 QT_INCLUDE_DIR
=`$PKG_CONFIG --variable=includedir QtGui`
12195 EXTRA_QT_INCLUDE_DIR
="$QT_INCLUDE_DIR/Qt"
12196 as_ac_File
=`echo "ac_cv_file_$QT_INCLUDE_DIR/QWidget" | $as_tr_sh`
12197 echo "$as_me:$LINENO: checking for $QT_INCLUDE_DIR/QWidget" >&5
12198 echo $ECHO_N "checking for $QT_INCLUDE_DIR/QWidget... $ECHO_C" >&6
12199 if eval "test \"\${$as_ac_File+set}\" = set"; then
12200 echo $ECHO_N "(cached) $ECHO_C" >&6
12202 test "$cross_compiling" = yes &&
12203 { { echo "$as_me:$LINENO: error: cannot check for file existence when cross compiling" >&5
12204 echo "$as_me: error: cannot check for file existence when cross compiling" >&2;}
12205 { (exit 1); exit 1; }; }
12206 if test -r "$QT_INCLUDE_DIR/QWidget"; then
12207 eval "$as_ac_File=yes"
12209 eval "$as_ac_File=no"
12212 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_File'}'`" >&5
12213 echo "${ECHO_T}`eval echo '${'$as_ac_File'}'`" >&6
12214 if test `eval echo '${'$as_ac_File'}'` = yes; then
12215 { echo "$as_me:$LINENO: No extra QT_INCLUDE_DIR needed" >&5
12216 echo "$as_me: No extra QT_INCLUDE_DIR needed" >&6;}
12218 as_ac_File
=`echo "ac_cv_file_$EXTRA_QT_INCLUDE_DIR/QWidget" | $as_tr_sh`
12219 echo "$as_me:$LINENO: checking for $EXTRA_QT_INCLUDE_DIR/QWidget" >&5
12220 echo $ECHO_N "checking for $EXTRA_QT_INCLUDE_DIR/QWidget... $ECHO_C" >&6
12221 if eval "test \"\${$as_ac_File+set}\" = set"; then
12222 echo $ECHO_N "(cached) $ECHO_C" >&6
12224 test "$cross_compiling" = yes &&
12225 { { echo "$as_me:$LINENO: error: cannot check for file existence when cross compiling" >&5
12226 echo "$as_me: error: cannot check for file existence when cross compiling" >&2;}
12227 { (exit 1); exit 1; }; }
12228 if test -r "$EXTRA_QT_INCLUDE_DIR/QWidget"; then
12229 eval "$as_ac_File=yes"
12231 eval "$as_ac_File=no"
12234 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_File'}'`" >&5
12235 echo "${ECHO_T}`eval echo '${'$as_ac_File'}'`" >&6
12236 if test `eval echo '${'$as_ac_File'}'` = yes; then
12237 QT_CFLAGS
="$QT_CFLAGS -I$EXTRA_QT_INCLUDE_DIR"
12239 { echo "$as_me:$LINENO: WARNING: QWidget not found" >&5
12240 echo "$as_me: WARNING: QWidget not found" >&2;}
12245 # Extract the first word of "moc", so it can be a program name with args.
12246 set dummy moc
; ac_word
=$2
12247 echo "$as_me:$LINENO: checking for $ac_word" >&5
12248 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
12249 if test "${ac_cv_prog_MOC+set}" = set; then
12250 echo $ECHO_N "(cached) $ECHO_C" >&6
12252 if test -n "$MOC"; then
12253 ac_cv_prog_MOC
="$MOC" # Let the user override the test.
12255 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
12256 for as_dir
in $PATH
12259 test -z "$as_dir" && as_dir
=.
12260 for ac_exec_ext
in '' $ac_executable_extensions; do
12261 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
12262 ac_cv_prog_MOC
="moc"
12263 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
12271 MOC
=$ac_cv_prog_MOC
12272 if test -n "$MOC"; then
12273 echo "$as_me:$LINENO: result: $MOC" >&5
12274 echo "${ECHO_T}$MOC" >&6
12276 echo "$as_me:$LINENO: result: no" >&5
12277 echo "${ECHO_T}no" >&6
12280 # Extract the first word of "moc-qt4", so it can be a program name with args.
12281 set dummy moc-qt4
; ac_word
=$2
12282 echo "$as_me:$LINENO: checking for $ac_word" >&5
12283 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
12284 if test "${ac_cv_prog_MOC+set}" = set; then
12285 echo $ECHO_N "(cached) $ECHO_C" >&6
12287 if test -n "$MOC"; then
12288 ac_cv_prog_MOC
="$MOC" # Let the user override the test.
12290 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
12291 for as_dir
in $PATH
12294 test -z "$as_dir" && as_dir
=.
12295 for ac_exec_ext
in '' $ac_executable_extensions; do
12296 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
12297 ac_cv_prog_MOC
="moc-qt4"
12298 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
12306 MOC
=$ac_cv_prog_MOC
12307 if test -n "$MOC"; then
12308 echo "$as_me:$LINENO: result: $MOC" >&5
12309 echo "${ECHO_T}$MOC" >&6
12311 echo "$as_me:$LINENO: result: no" >&5
12312 echo "${ECHO_T}no" >&6
12316 if test "x$HAVE_QT4" = "xno"; then
12317 { echo "$as_me:$LINENO: Looking for QT_CFLAGS and QT_LIBS without pkg-config" >&5
12318 echo "$as_me: Looking for QT_CFLAGS and QT_LIBS without pkg-config" >&6;}
12322 # Check whether --with-qt4dir or --without-qt4dir was given.
12323 if test "${with_qt4dir+set}" = set; then
12324 withval
="$with_qt4dir"
12328 if test x
"$QT4DIR" = x
; then
12329 { { echo "$as_me:$LINENO: error: *** No path for Qt4 --with-qt4dir option given" >&5
12330 echo "$as_me: error: *** No path for Qt4 --with-qt4dir option given" >&2;}
12331 { (exit 1); exit 1; }; }
12333 echo "$as_me:$LINENO: result: QT4DIR... $QT4DIR" >&5
12334 echo "${ECHO_T}QT4DIR... $QT4DIR" >&6
12335 # Extract the first word of "moc", so it can be a program name with args.
12336 set dummy moc
; ac_word
=$2
12337 echo "$as_me:$LINENO: checking for $ac_word" >&5
12338 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
12339 if test "${ac_cv_prog_MOC+set}" = set; then
12340 echo $ECHO_N "(cached) $ECHO_C" >&6
12342 if test -n "$MOC"; then
12343 ac_cv_prog_MOC
="$MOC" # Let the user override the test.
12345 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
12346 for as_dir
in $QT4DIR/bin
12349 test -z "$as_dir" && as_dir
=.
12350 for ac_exec_ext
in '' $ac_executable_extensions; do
12351 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
12352 ac_cv_prog_MOC
="$QT4DIR/bin/moc"
12353 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
12361 MOC
=$ac_cv_prog_MOC
12362 if test -n "$MOC"; then
12363 echo "$as_me:$LINENO: result: $MOC" >&5
12364 echo "${ECHO_T}$MOC" >&6
12366 echo "$as_me:$LINENO: result: no" >&5
12367 echo "${ECHO_T}no" >&6
12370 if test x
"$MOC" = x
; then
12371 { { echo "$as_me:$LINENO: error: *** This is not the right Qt installation" >&5
12372 echo "$as_me: error: *** This is not the right Qt installation" >&2;}
12373 { (exit 1); exit 1; }; }
12375 QT_CFLAGS
="-F$QT4DIR/lib -I$QT4DIR/lib/QtCore.framework/Headers"
12376 QT_CFLAGS
="$QT_CFLAGS -I$QT4DIR/lib/QtGui.framework/Headers"
12377 QT_LIBS
="-Xlinker -F$QT4DIR/lib -Xlinker -framework -Xlinker QtCore"
12378 QT_LIBS
="$QT_LIBS -Xlinker -framework -Xlinker QtGui"
12381 { { echo "$as_me:$LINENO: error: *** Please check PKG_CONFIG_PATH or the version
12382 of your installed Qt4 installation." >&5
12383 echo "$as_me: error: *** Please check PKG_CONFIG_PATH or the version
12384 of your installed Qt4 installation." >&2;}
12385 { (exit 1); exit 1; }; }
12389 { echo "$as_me:$LINENO: Set QT_CFLAGS... $QT_CFLAGS" >&5
12390 echo "$as_me: Set QT_CFLAGS... $QT_CFLAGS" >&6;}
12395 if test "x${COMPILE_PLUGIN}" = xyes
; then
12399 if test -z "$PKG_CONFIG"; then
12400 # Extract the first word of "pkg-config", so it can be a program name with args.
12401 set dummy pkg-config
; ac_word
=$2
12402 echo "$as_me:$LINENO: checking for $ac_word" >&5
12403 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
12404 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
12405 echo $ECHO_N "(cached) $ECHO_C" >&6
12407 case $PKG_CONFIG in
12409 ac_cv_path_PKG_CONFIG
="$PKG_CONFIG" # Let the user override the test with a path.
12412 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
12413 for as_dir
in $PATH
12416 test -z "$as_dir" && as_dir
=.
12417 for ac_exec_ext
in '' $ac_executable_extensions; do
12418 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
12419 ac_cv_path_PKG_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
12420 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
12426 test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG
="no"
12430 PKG_CONFIG
=$ac_cv_path_PKG_CONFIG
12432 if test -n "$PKG_CONFIG"; then
12433 echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
12434 echo "${ECHO_T}$PKG_CONFIG" >&6
12436 echo "$as_me:$LINENO: result: no" >&5
12437 echo "${ECHO_T}no" >&6
12442 if test "$PKG_CONFIG" = "no" ; then
12443 echo "*** The pkg-config script could not be found. Make sure it is"
12444 echo "*** in your path, or set the PKG_CONFIG environment variable"
12445 echo "*** to the full path to pkg-config."
12446 echo "*** Or see http://www.freedesktop.org/software/pkgconfig to get pkg-config."
12448 PKG_CONFIG_MIN_VERSION
=0.9.0
12449 if $PKG_CONFIG --atleast-pkgconfig-version $PKG_CONFIG_MIN_VERSION; then
12450 echo "$as_me:$LINENO: checking for mozilla-plugin" >&5
12451 echo $ECHO_N "checking for mozilla-plugin... $ECHO_C" >&6
12453 if $PKG_CONFIG --exists "mozilla-plugin" ; then
12454 echo "$as_me:$LINENO: result: yes" >&5
12455 echo "${ECHO_T}yes" >&6
12458 echo "$as_me:$LINENO: checking MOZILLA_CFLAGS" >&5
12459 echo $ECHO_N "checking MOZILLA_CFLAGS... $ECHO_C" >&6
12460 MOZILLA_CFLAGS
=`$PKG_CONFIG --cflags "mozilla-plugin"`
12461 echo "$as_me:$LINENO: result: $MOZILLA_CFLAGS" >&5
12462 echo "${ECHO_T}$MOZILLA_CFLAGS" >&6
12464 echo "$as_me:$LINENO: checking MOZILLA_LIBS" >&5
12465 echo $ECHO_N "checking MOZILLA_LIBS... $ECHO_C" >&6
12466 MOZILLA_LIBS
=`$PKG_CONFIG --libs "mozilla-plugin"`
12467 echo "$as_me:$LINENO: result: $MOZILLA_LIBS" >&5
12468 echo "${ECHO_T}$MOZILLA_LIBS" >&6
12472 ## If we have a custom action on failure, don't print errors, but
12473 ## do set a variable so people can do so.
12474 MOZILLA_PKG_ERRORS
=`$PKG_CONFIG --errors-to-stdout --print-errors "mozilla-plugin"`
12481 echo "*** Your version of pkg-config is too old. You need version $PKG_CONFIG_MIN_VERSION or newer."
12482 echo "*** See http://www.freedesktop.org/software/pkgconfig"
12486 if test $succeeded = yes; then
12492 if test "x${MOZILLA_FOUND}" = xno
; then
12496 if test -z "$PKG_CONFIG"; then
12497 # Extract the first word of "pkg-config", so it can be a program name with args.
12498 set dummy pkg-config
; ac_word
=$2
12499 echo "$as_me:$LINENO: checking for $ac_word" >&5
12500 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
12501 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
12502 echo $ECHO_N "(cached) $ECHO_C" >&6
12504 case $PKG_CONFIG in
12506 ac_cv_path_PKG_CONFIG
="$PKG_CONFIG" # Let the user override the test with a path.
12509 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
12510 for as_dir
in $PATH
12513 test -z "$as_dir" && as_dir
=.
12514 for ac_exec_ext
in '' $ac_executable_extensions; do
12515 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
12516 ac_cv_path_PKG_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
12517 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
12523 test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG
="no"
12527 PKG_CONFIG
=$ac_cv_path_PKG_CONFIG
12529 if test -n "$PKG_CONFIG"; then
12530 echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
12531 echo "${ECHO_T}$PKG_CONFIG" >&6
12533 echo "$as_me:$LINENO: result: no" >&5
12534 echo "${ECHO_T}no" >&6
12539 if test "$PKG_CONFIG" = "no" ; then
12540 echo "*** The pkg-config script could not be found. Make sure it is"
12541 echo "*** in your path, or set the PKG_CONFIG environment variable"
12542 echo "*** to the full path to pkg-config."
12543 echo "*** Or see http://www.freedesktop.org/software/pkgconfig to get pkg-config."
12545 PKG_CONFIG_MIN_VERSION
=0.9.0
12546 if $PKG_CONFIG --atleast-pkgconfig-version $PKG_CONFIG_MIN_VERSION; then
12547 echo "$as_me:$LINENO: checking for firefox-plugin" >&5
12548 echo $ECHO_N "checking for firefox-plugin... $ECHO_C" >&6
12550 if $PKG_CONFIG --exists "firefox-plugin" ; then
12551 echo "$as_me:$LINENO: result: yes" >&5
12552 echo "${ECHO_T}yes" >&6
12555 echo "$as_me:$LINENO: checking MOZILLA_CFLAGS" >&5
12556 echo $ECHO_N "checking MOZILLA_CFLAGS... $ECHO_C" >&6
12557 MOZILLA_CFLAGS
=`$PKG_CONFIG --cflags "firefox-plugin"`
12558 echo "$as_me:$LINENO: result: $MOZILLA_CFLAGS" >&5
12559 echo "${ECHO_T}$MOZILLA_CFLAGS" >&6
12561 echo "$as_me:$LINENO: checking MOZILLA_LIBS" >&5
12562 echo $ECHO_N "checking MOZILLA_LIBS... $ECHO_C" >&6
12563 MOZILLA_LIBS
=`$PKG_CONFIG --libs "firefox-plugin"`
12564 echo "$as_me:$LINENO: result: $MOZILLA_LIBS" >&5
12565 echo "${ECHO_T}$MOZILLA_LIBS" >&6
12569 ## If we have a custom action on failure, don't print errors, but
12570 ## do set a variable so people can do so.
12571 MOZILLA_PKG_ERRORS
=`$PKG_CONFIG --errors-to-stdout --print-errors "firefox-plugin"`
12578 echo "*** Your version of pkg-config is too old. You need version $PKG_CONFIG_MIN_VERSION or newer."
12579 echo "*** See http://www.freedesktop.org/software/pkgconfig"
12583 if test $succeeded = yes; then
12590 if test "x${MOZILLA_FOUND}" = xno
; then
12594 if test -z "$PKG_CONFIG"; then
12595 # Extract the first word of "pkg-config", so it can be a program name with args.
12596 set dummy pkg-config
; ac_word
=$2
12597 echo "$as_me:$LINENO: checking for $ac_word" >&5
12598 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
12599 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
12600 echo $ECHO_N "(cached) $ECHO_C" >&6
12602 case $PKG_CONFIG in
12604 ac_cv_path_PKG_CONFIG
="$PKG_CONFIG" # Let the user override the test with a path.
12607 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
12608 for as_dir
in $PATH
12611 test -z "$as_dir" && as_dir
=.
12612 for ac_exec_ext
in '' $ac_executable_extensions; do
12613 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
12614 ac_cv_path_PKG_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
12615 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
12621 test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG
="no"
12625 PKG_CONFIG
=$ac_cv_path_PKG_CONFIG
12627 if test -n "$PKG_CONFIG"; then
12628 echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
12629 echo "${ECHO_T}$PKG_CONFIG" >&6
12631 echo "$as_me:$LINENO: result: no" >&5
12632 echo "${ECHO_T}no" >&6
12637 if test "$PKG_CONFIG" = "no" ; then
12638 echo "*** The pkg-config script could not be found. Make sure it is"
12639 echo "*** in your path, or set the PKG_CONFIG environment variable"
12640 echo "*** to the full path to pkg-config."
12641 echo "*** Or see http://www.freedesktop.org/software/pkgconfig to get pkg-config."
12643 PKG_CONFIG_MIN_VERSION
=0.9.0
12644 if $PKG_CONFIG --atleast-pkgconfig-version $PKG_CONFIG_MIN_VERSION; then
12645 echo "$as_me:$LINENO: checking for xulrunner-plugin" >&5
12646 echo $ECHO_N "checking for xulrunner-plugin... $ECHO_C" >&6
12648 if $PKG_CONFIG --exists "xulrunner-plugin" ; then
12649 echo "$as_me:$LINENO: result: yes" >&5
12650 echo "${ECHO_T}yes" >&6
12653 echo "$as_me:$LINENO: checking MOZILLA_CFLAGS" >&5
12654 echo $ECHO_N "checking MOZILLA_CFLAGS... $ECHO_C" >&6
12655 MOZILLA_CFLAGS
=`$PKG_CONFIG --cflags "xulrunner-plugin"`
12656 echo "$as_me:$LINENO: result: $MOZILLA_CFLAGS" >&5
12657 echo "${ECHO_T}$MOZILLA_CFLAGS" >&6
12659 echo "$as_me:$LINENO: checking MOZILLA_LIBS" >&5
12660 echo $ECHO_N "checking MOZILLA_LIBS... $ECHO_C" >&6
12661 MOZILLA_LIBS
=`$PKG_CONFIG --libs "xulrunner-plugin"`
12662 echo "$as_me:$LINENO: result: $MOZILLA_LIBS" >&5
12663 echo "${ECHO_T}$MOZILLA_LIBS" >&6
12667 ## If we have a custom action on failure, don't print errors, but
12668 ## do set a variable so people can do so.
12669 MOZILLA_PKG_ERRORS
=`$PKG_CONFIG --errors-to-stdout --print-errors "xulrunner-plugin"`
12676 echo "*** Your version of pkg-config is too old. You need version $PKG_CONFIG_MIN_VERSION or newer."
12677 echo "*** See http://www.freedesktop.org/software/pkgconfig"
12681 if test $succeeded = yes; then
12688 if test "x${MOZILLA_FOUND}" = xno
; then
12692 if test -z "$PKG_CONFIG"; then
12693 # Extract the first word of "pkg-config", so it can be a program name with args.
12694 set dummy pkg-config
; ac_word
=$2
12695 echo "$as_me:$LINENO: checking for $ac_word" >&5
12696 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
12697 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
12698 echo $ECHO_N "(cached) $ECHO_C" >&6
12700 case $PKG_CONFIG in
12702 ac_cv_path_PKG_CONFIG
="$PKG_CONFIG" # Let the user override the test with a path.
12705 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
12706 for as_dir
in $PATH
12709 test -z "$as_dir" && as_dir
=.
12710 for ac_exec_ext
in '' $ac_executable_extensions; do
12711 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
12712 ac_cv_path_PKG_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
12713 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
12719 test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG
="no"
12723 PKG_CONFIG
=$ac_cv_path_PKG_CONFIG
12725 if test -n "$PKG_CONFIG"; then
12726 echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
12727 echo "${ECHO_T}$PKG_CONFIG" >&6
12729 echo "$as_me:$LINENO: result: no" >&5
12730 echo "${ECHO_T}no" >&6
12735 if test "$PKG_CONFIG" = "no" ; then
12736 echo "*** The pkg-config script could not be found. Make sure it is"
12737 echo "*** in your path, or set the PKG_CONFIG environment variable"
12738 echo "*** to the full path to pkg-config."
12739 echo "*** Or see http://www.freedesktop.org/software/pkgconfig to get pkg-config."
12741 PKG_CONFIG_MIN_VERSION
=0.9.0
12742 if $PKG_CONFIG --atleast-pkgconfig-version $PKG_CONFIG_MIN_VERSION; then
12743 echo "$as_me:$LINENO: checking for mozilla-firefox-plugin" >&5
12744 echo $ECHO_N "checking for mozilla-firefox-plugin... $ECHO_C" >&6
12746 if $PKG_CONFIG --exists "mozilla-firefox-plugin" ; then
12747 echo "$as_me:$LINENO: result: yes" >&5
12748 echo "${ECHO_T}yes" >&6
12751 echo "$as_me:$LINENO: checking MOZILLA_CFLAGS" >&5
12752 echo $ECHO_N "checking MOZILLA_CFLAGS... $ECHO_C" >&6
12753 MOZILLA_CFLAGS
=`$PKG_CONFIG --cflags "mozilla-firefox-plugin"`
12754 echo "$as_me:$LINENO: result: $MOZILLA_CFLAGS" >&5
12755 echo "${ECHO_T}$MOZILLA_CFLAGS" >&6
12757 echo "$as_me:$LINENO: checking MOZILLA_LIBS" >&5
12758 echo $ECHO_N "checking MOZILLA_LIBS... $ECHO_C" >&6
12759 MOZILLA_LIBS
=`$PKG_CONFIG --libs "mozilla-firefox-plugin"`
12760 echo "$as_me:$LINENO: result: $MOZILLA_LIBS" >&5
12761 echo "${ECHO_T}$MOZILLA_LIBS" >&6
12765 ## If we have a custom action on failure, don't print errors, but
12766 ## do set a variable so people can do so.
12767 MOZILLA_PKG_ERRORS
=`$PKG_CONFIG --errors-to-stdout --print-errors "mozilla-firefox-plugin"`
12774 echo "*** Your version of pkg-config is too old. You need version $PKG_CONFIG_MIN_VERSION or newer."
12775 echo "*** See http://www.freedesktop.org/software/pkgconfig"
12779 if test $succeeded = yes; then
12789 if test -z "$PKG_CONFIG"; then
12790 # Extract the first word of "pkg-config", so it can be a program name with args.
12791 set dummy pkg-config
; ac_word
=$2
12792 echo "$as_me:$LINENO: checking for $ac_word" >&5
12793 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
12794 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
12795 echo $ECHO_N "(cached) $ECHO_C" >&6
12797 case $PKG_CONFIG in
12799 ac_cv_path_PKG_CONFIG
="$PKG_CONFIG" # Let the user override the test with a path.
12802 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
12803 for as_dir
in $PATH
12806 test -z "$as_dir" && as_dir
=.
12807 for ac_exec_ext
in '' $ac_executable_extensions; do
12808 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
12809 ac_cv_path_PKG_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
12810 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
12816 test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG
="no"
12820 PKG_CONFIG
=$ac_cv_path_PKG_CONFIG
12822 if test -n "$PKG_CONFIG"; then
12823 echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
12824 echo "${ECHO_T}$PKG_CONFIG" >&6
12826 echo "$as_me:$LINENO: result: no" >&5
12827 echo "${ECHO_T}no" >&6
12832 if test "$PKG_CONFIG" = "no" ; then
12833 echo "*** The pkg-config script could not be found. Make sure it is"
12834 echo "*** in your path, or set the PKG_CONFIG environment variable"
12835 echo "*** to the full path to pkg-config."
12836 echo "*** Or see http://www.freedesktop.org/software/pkgconfig to get pkg-config."
12838 PKG_CONFIG_MIN_VERSION
=0.9.0
12839 if $PKG_CONFIG --atleast-pkgconfig-version $PKG_CONFIG_MIN_VERSION; then
12840 echo "$as_me:$LINENO: checking for glib-2.0" >&5
12841 echo $ECHO_N "checking for glib-2.0... $ECHO_C" >&6
12843 if $PKG_CONFIG --exists "glib-2.0" ; then
12844 echo "$as_me:$LINENO: result: yes" >&5
12845 echo "${ECHO_T}yes" >&6
12848 echo "$as_me:$LINENO: checking GLIB_CFLAGS" >&5
12849 echo $ECHO_N "checking GLIB_CFLAGS... $ECHO_C" >&6
12850 GLIB_CFLAGS
=`$PKG_CONFIG --cflags "glib-2.0"`
12851 echo "$as_me:$LINENO: result: $GLIB_CFLAGS" >&5
12852 echo "${ECHO_T}$GLIB_CFLAGS" >&6
12854 echo "$as_me:$LINENO: checking GLIB_LIBS" >&5
12855 echo $ECHO_N "checking GLIB_LIBS... $ECHO_C" >&6
12856 GLIB_LIBS
=`$PKG_CONFIG --libs "glib-2.0"`
12857 echo "$as_me:$LINENO: result: $GLIB_LIBS" >&5
12858 echo "${ECHO_T}$GLIB_LIBS" >&6
12862 ## If we have a custom action on failure, don't print errors, but
12863 ## do set a variable so people can do so.
12864 GLIB_PKG_ERRORS
=`$PKG_CONFIG --errors-to-stdout --print-errors "glib-2.0"`
12865 echo $GLIB_PKG_ERRORS
12871 echo "*** Your version of pkg-config is too old. You need version $PKG_CONFIG_MIN_VERSION or newer."
12872 echo "*** See http://www.freedesktop.org/software/pkgconfig"
12876 if test $succeeded = yes; then
12879 { { 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
12880 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;}
12881 { (exit 1); exit 1; }; }
12890 PLUGIN_DIR
=$HOME/.mozilla
/plugins
/
12897 # Check whether --with-javah or --without-javah was given.
12898 if test "${with_javah+set}" = set; then
12899 withval
="$with_javah"
12901 if test "x${withval}" != x && test "x${withval}" != xyes && test "x${withval}" != xno
; then
12903 if test "x${withval}" != x
; then
12904 if test -f "${withval}"; then
12905 USER_JAVAH
="${withval}"
12907 # Extract the first word of ""${withval}"", so it can be a program name with args.
12908 set dummy
"${withval}"; ac_word
=$2
12909 echo "$as_me:$LINENO: checking for $ac_word" >&5
12910 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
12911 if test "${ac_cv_path_USER_JAVAH+set}" = set; then
12912 echo $ECHO_N "(cached) $ECHO_C" >&6
12914 case $USER_JAVAH in
12916 ac_cv_path_USER_JAVAH
="$USER_JAVAH" # Let the user override the test with a path.
12919 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
12920 for as_dir
in $PATH
12923 test -z "$as_dir" && as_dir
=.
12924 for ac_exec_ext
in '' $ac_executable_extensions; do
12925 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
12926 ac_cv_path_USER_JAVAH
="$as_dir/$ac_word$ac_exec_ext"
12927 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
12936 USER_JAVAH
=$ac_cv_path_USER_JAVAH
12938 if test -n "$USER_JAVAH"; then
12939 echo "$as_me:$LINENO: result: $USER_JAVAH" >&5
12940 echo "${ECHO_T}$USER_JAVAH" >&6
12942 echo "$as_me:$LINENO: result: no" >&5
12943 echo "${ECHO_T}no" >&6
12948 for javah_name
in gcjh javah
; do
12949 # Extract the first word of ""$javah_name"", so it can be a program name with args.
12950 set dummy
"$javah_name"; ac_word
=$2
12951 echo "$as_me:$LINENO: checking for $ac_word" >&5
12952 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
12953 if test "${ac_cv_path_USER_JAVAH+set}" = set; then
12954 echo $ECHO_N "(cached) $ECHO_C" >&6
12956 case $USER_JAVAH in
12958 ac_cv_path_USER_JAVAH
="$USER_JAVAH" # Let the user override the test with a path.
12961 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
12962 for as_dir
in $PATH
12965 test -z "$as_dir" && as_dir
=.
12966 for ac_exec_ext
in '' $ac_executable_extensions; do
12967 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
12968 ac_cv_path_USER_JAVAH
="$as_dir/$ac_word$ac_exec_ext"
12969 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
12978 USER_JAVAH
=$ac_cv_path_USER_JAVAH
12980 if test -n "$USER_JAVAH"; then
12981 echo "$as_me:$LINENO: result: $USER_JAVAH" >&5
12982 echo "${ECHO_T}$USER_JAVAH" >&6
12984 echo "$as_me:$LINENO: result: no" >&5
12985 echo "${ECHO_T}no" >&6
12988 if test "x${USER_JAVAH}" != x
; then
12994 # if test "x${USER_JAVAH}" = x; then
12995 # echo "configure: cannot find javah" 1>&2
13001 if test "x" != x
; then
13002 if test -f ""; then
13005 # Extract the first word of """", so it can be a program name with args.
13006 set dummy
""; ac_word
=$2
13007 echo "$as_me:$LINENO: checking for $ac_word" >&5
13008 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
13009 if test "${ac_cv_path_USER_JAVAH+set}" = set; then
13010 echo $ECHO_N "(cached) $ECHO_C" >&6
13012 case $USER_JAVAH in
13014 ac_cv_path_USER_JAVAH
="$USER_JAVAH" # Let the user override the test with a path.
13017 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
13018 for as_dir
in $PATH
13021 test -z "$as_dir" && as_dir
=.
13022 for ac_exec_ext
in '' $ac_executable_extensions; do
13023 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
13024 ac_cv_path_USER_JAVAH
="$as_dir/$ac_word$ac_exec_ext"
13025 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
13034 USER_JAVAH
=$ac_cv_path_USER_JAVAH
13036 if test -n "$USER_JAVAH"; then
13037 echo "$as_me:$LINENO: result: $USER_JAVAH" >&5
13038 echo "${ECHO_T}$USER_JAVAH" >&6
13040 echo "$as_me:$LINENO: result: no" >&5
13041 echo "${ECHO_T}no" >&6
13046 for javah_name
in gcjh javah
; do
13047 # Extract the first word of ""$javah_name"", so it can be a program name with args.
13048 set dummy
"$javah_name"; ac_word
=$2
13049 echo "$as_me:$LINENO: checking for $ac_word" >&5
13050 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
13051 if test "${ac_cv_path_USER_JAVAH+set}" = set; then
13052 echo $ECHO_N "(cached) $ECHO_C" >&6
13054 case $USER_JAVAH in
13056 ac_cv_path_USER_JAVAH
="$USER_JAVAH" # Let the user override the test with a path.
13059 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
13060 for as_dir
in $PATH
13063 test -z "$as_dir" && as_dir
=.
13064 for ac_exec_ext
in '' $ac_executable_extensions; do
13065 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
13066 ac_cv_path_USER_JAVAH
="$as_dir/$ac_word$ac_exec_ext"
13067 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
13076 USER_JAVAH
=$ac_cv_path_USER_JAVAH
13078 if test -n "$USER_JAVAH"; then
13079 echo "$as_me:$LINENO: result: $USER_JAVAH" >&5
13080 echo "${ECHO_T}$USER_JAVAH" >&6
13082 echo "$as_me:$LINENO: result: no" >&5
13083 echo "${ECHO_T}no" >&6
13086 if test "x${USER_JAVAH}" != x
; then
13092 # if test "x${USER_JAVAH}" = x; then
13093 # echo "configure: cannot find javah" 1>&2
13102 if test "x" != x
; then
13103 if test -f ""; then
13106 # Extract the first word of """", so it can be a program name with args.
13107 set dummy
""; ac_word
=$2
13108 echo "$as_me:$LINENO: checking for $ac_word" >&5
13109 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
13110 if test "${ac_cv_path_USER_JAVAH+set}" = set; then
13111 echo $ECHO_N "(cached) $ECHO_C" >&6
13113 case $USER_JAVAH in
13115 ac_cv_path_USER_JAVAH
="$USER_JAVAH" # Let the user override the test with a path.
13118 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
13119 for as_dir
in $PATH
13122 test -z "$as_dir" && as_dir
=.
13123 for ac_exec_ext
in '' $ac_executable_extensions; do
13124 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
13125 ac_cv_path_USER_JAVAH
="$as_dir/$ac_word$ac_exec_ext"
13126 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
13135 USER_JAVAH
=$ac_cv_path_USER_JAVAH
13137 if test -n "$USER_JAVAH"; then
13138 echo "$as_me:$LINENO: result: $USER_JAVAH" >&5
13139 echo "${ECHO_T}$USER_JAVAH" >&6
13141 echo "$as_me:$LINENO: result: no" >&5
13142 echo "${ECHO_T}no" >&6
13147 for javah_name
in gcjh javah
; do
13148 # Extract the first word of ""$javah_name"", so it can be a program name with args.
13149 set dummy
"$javah_name"; ac_word
=$2
13150 echo "$as_me:$LINENO: checking for $ac_word" >&5
13151 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
13152 if test "${ac_cv_path_USER_JAVAH+set}" = set; then
13153 echo $ECHO_N "(cached) $ECHO_C" >&6
13155 case $USER_JAVAH in
13157 ac_cv_path_USER_JAVAH
="$USER_JAVAH" # Let the user override the test with a path.
13160 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
13161 for as_dir
in $PATH
13164 test -z "$as_dir" && as_dir
=.
13165 for ac_exec_ext
in '' $ac_executable_extensions; do
13166 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
13167 ac_cv_path_USER_JAVAH
="$as_dir/$ac_word$ac_exec_ext"
13168 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
13177 USER_JAVAH
=$ac_cv_path_USER_JAVAH
13179 if test -n "$USER_JAVAH"; then
13180 echo "$as_me:$LINENO: result: $USER_JAVAH" >&5
13181 echo "${ECHO_T}$USER_JAVAH" >&6
13183 echo "$as_me:$LINENO: result: no" >&5
13184 echo "${ECHO_T}no" >&6
13187 if test "x${USER_JAVAH}" != x
; then
13193 # if test "x${USER_JAVAH}" = x; then
13194 # echo "configure: cannot find javah" 1>&2
13202 if test "x${USER_JAVAH}" != x
; then
13203 USER_SPECIFIED_JAVAH_TRUE
=
13204 USER_SPECIFIED_JAVAH_FALSE
='#'
13206 USER_SPECIFIED_JAVAH_TRUE
='#'
13207 USER_SPECIFIED_JAVAH_FALSE
=
13213 CLASSPATH_INCLUDES
="-I\$(top_srcdir)/include -I\$(top_srcdir)/native/jni/classpath -I\$(top_srcdir)/native/target/Linux -I\$(top_srcdir)/native/target/generic"
13216 if test "x${COMPILE_JNI}" = xyes
; then
13217 echo "$as_me:$LINENO: checking jni_md.h support" >&5
13218 echo $ECHO_N "checking jni_md.h support... $ECHO_C" >&6
13219 if test -f ${srcdir}/include/jni_md-${target_cpu}-${target_os}.h
; then
13220 echo "$as_me:$LINENO: result: yes" >&5
13221 echo "${ECHO_T}yes" >&6
13224 target_os
=linux-gnu
13225 { echo "$as_me:$LINENO: WARNING: no" >&5
13226 echo "$as_me: WARNING: no" >&2;}
13228 ac_sources
="include/jni_md-${target_cpu}-${target_os}.h"
13229 ac_dests
="include/jni_md.h"
13230 while test -n "$ac_sources"; do
13231 set $ac_dests; ac_dest
=$1; shift; ac_dests
=$
*
13232 set $ac_sources; ac_source
=$1; shift; ac_sources
=$
*
13233 ac_config_links_1
="$ac_config_links_1 $ac_dest:$ac_source"
13235 ac_config_links
="$ac_config_links $ac_config_links_1"
13240 user_specified_javac
=
13244 # Check whether --with-gcj or --without-gcj was given.
13245 if test "${with_gcj+set}" = set; then
13246 withval
="$with_gcj"
13248 if test "x${withval}" != x && test "x${withval}" != xyes && test "x${withval}" != xno
; then
13250 if test "x${withval}" != x
; then
13251 if test -f "${withval}"; then
13254 # Extract the first word of ""${withval}"", so it can be a program name with args.
13255 set dummy
"${withval}"; ac_word
=$2
13256 echo "$as_me:$LINENO: checking for $ac_word" >&5
13257 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
13258 if test "${ac_cv_path_GCJ+set}" = set; then
13259 echo $ECHO_N "(cached) $ECHO_C" >&6
13263 ac_cv_path_GCJ
="$GCJ" # Let the user override the test with a path.
13266 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
13267 for as_dir
in $PATH
13270 test -z "$as_dir" && as_dir
=.
13271 for ac_exec_ext
in '' $ac_executable_extensions; do
13272 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
13273 ac_cv_path_GCJ
="$as_dir/$ac_word$ac_exec_ext"
13274 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
13283 GCJ
=$ac_cv_path_GCJ
13285 if test -n "$GCJ"; then
13286 echo "$as_me:$LINENO: result: $GCJ" >&5
13287 echo "${ECHO_T}$GCJ" >&6
13289 echo "$as_me:$LINENO: result: no" >&5
13290 echo "${ECHO_T}no" >&6
13295 # Extract the first word of ""gcj"", so it can be a program name with args.
13296 set dummy
"gcj"; ac_word
=$2
13297 echo "$as_me:$LINENO: checking for $ac_word" >&5
13298 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
13299 if test "${ac_cv_path_GCJ+set}" = set; then
13300 echo $ECHO_N "(cached) $ECHO_C" >&6
13304 ac_cv_path_GCJ
="$GCJ" # Let the user override the test with a path.
13307 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
13308 for as_dir
in $PATH
13311 test -z "$as_dir" && as_dir
=.
13312 for ac_exec_ext
in '' $ac_executable_extensions; do
13313 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
13314 ac_cv_path_GCJ
="$as_dir/$ac_word$ac_exec_ext"
13315 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
13324 GCJ
=$ac_cv_path_GCJ
13326 if test -n "$GCJ"; then
13327 echo "$as_me:$LINENO: result: $GCJ" >&5
13328 echo "${ECHO_T}$GCJ" >&6
13330 echo "$as_me:$LINENO: result: no" >&5
13331 echo "${ECHO_T}no" >&6
13335 if test "x$GCJ" != x
; then
13336 echo "$as_me:$LINENO: checking gcj version 4.0" >&5
13337 echo $ECHO_N "checking gcj version 4.0... $ECHO_C" >&6
13339 ac_cpp
='$CPP $CPPFLAGS'
13340 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13341 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13342 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
13344 cat >conftest.
$ac_ext <<_ACEOF
13346 #error GCJ 4.0.0 or higher is required
13350 $GCJ -E conftest.c
> /dev
/null
13352 if test "x$gcj_4_result" = "x0"; then
13353 echo "$as_me:$LINENO: result: 4.0 or higher found" >&5
13354 echo "${ECHO_T}4.0 or higher found" >&6
13356 { echo "$as_me:$LINENO: WARNING: 4.0 or higher required" >&5
13357 echo "$as_me: WARNING: 4.0 or higher required" >&2;}
13360 ac_cpp
='$CPP $CPPFLAGS'
13361 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13362 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13363 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
13368 if test "x${withval}" != xno
; then
13370 if test "x" != x
; then
13371 if test -f ""; then
13374 # Extract the first word of """", so it can be a program name with args.
13375 set dummy
""; ac_word
=$2
13376 echo "$as_me:$LINENO: checking for $ac_word" >&5
13377 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
13378 if test "${ac_cv_path_GCJ+set}" = set; then
13379 echo $ECHO_N "(cached) $ECHO_C" >&6
13383 ac_cv_path_GCJ
="$GCJ" # Let the user override the test with a path.
13386 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
13387 for as_dir
in $PATH
13390 test -z "$as_dir" && as_dir
=.
13391 for ac_exec_ext
in '' $ac_executable_extensions; do
13392 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
13393 ac_cv_path_GCJ
="$as_dir/$ac_word$ac_exec_ext"
13394 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
13403 GCJ
=$ac_cv_path_GCJ
13405 if test -n "$GCJ"; then
13406 echo "$as_me:$LINENO: result: $GCJ" >&5
13407 echo "${ECHO_T}$GCJ" >&6
13409 echo "$as_me:$LINENO: result: no" >&5
13410 echo "${ECHO_T}no" >&6
13415 # Extract the first word of ""gcj"", so it can be a program name with args.
13416 set dummy
"gcj"; ac_word
=$2
13417 echo "$as_me:$LINENO: checking for $ac_word" >&5
13418 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
13419 if test "${ac_cv_path_GCJ+set}" = set; then
13420 echo $ECHO_N "(cached) $ECHO_C" >&6
13424 ac_cv_path_GCJ
="$GCJ" # Let the user override the test with a path.
13427 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
13428 for as_dir
in $PATH
13431 test -z "$as_dir" && as_dir
=.
13432 for ac_exec_ext
in '' $ac_executable_extensions; do
13433 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
13434 ac_cv_path_GCJ
="$as_dir/$ac_word$ac_exec_ext"
13435 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
13444 GCJ
=$ac_cv_path_GCJ
13446 if test -n "$GCJ"; then
13447 echo "$as_me:$LINENO: result: $GCJ" >&5
13448 echo "${ECHO_T}$GCJ" >&6
13450 echo "$as_me:$LINENO: result: no" >&5
13451 echo "${ECHO_T}no" >&6
13455 if test "x$GCJ" != x
; then
13456 echo "$as_me:$LINENO: checking gcj version 4.0" >&5
13457 echo $ECHO_N "checking gcj version 4.0... $ECHO_C" >&6
13459 ac_cpp
='$CPP $CPPFLAGS'
13460 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13461 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13462 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
13464 cat >conftest.
$ac_ext <<_ACEOF
13466 #error GCJ 4.0.0 or higher is required
13470 $GCJ -E conftest.c
> /dev
/null
13472 if test "x$gcj_4_result" = "x0"; then
13473 echo "$as_me:$LINENO: result: 4.0 or higher found" >&5
13474 echo "${ECHO_T}4.0 or higher found" >&6
13476 { echo "$as_me:$LINENO: WARNING: 4.0 or higher required" >&5
13477 echo "$as_me: WARNING: 4.0 or higher required" >&2;}
13480 ac_cpp
='$CPP $CPPFLAGS'
13481 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13482 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13483 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
13489 user_specified_javac
=gcj
13494 if test "x" != x
; then
13495 if test -f ""; then
13498 # Extract the first word of """", so it can be a program name with args.
13499 set dummy
""; ac_word
=$2
13500 echo "$as_me:$LINENO: checking for $ac_word" >&5
13501 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
13502 if test "${ac_cv_path_GCJ+set}" = set; then
13503 echo $ECHO_N "(cached) $ECHO_C" >&6
13507 ac_cv_path_GCJ
="$GCJ" # Let the user override the test with a path.
13510 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
13511 for as_dir
in $PATH
13514 test -z "$as_dir" && as_dir
=.
13515 for ac_exec_ext
in '' $ac_executable_extensions; do
13516 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
13517 ac_cv_path_GCJ
="$as_dir/$ac_word$ac_exec_ext"
13518 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
13527 GCJ
=$ac_cv_path_GCJ
13529 if test -n "$GCJ"; then
13530 echo "$as_me:$LINENO: result: $GCJ" >&5
13531 echo "${ECHO_T}$GCJ" >&6
13533 echo "$as_me:$LINENO: result: no" >&5
13534 echo "${ECHO_T}no" >&6
13539 # Extract the first word of ""gcj"", so it can be a program name with args.
13540 set dummy
"gcj"; ac_word
=$2
13541 echo "$as_me:$LINENO: checking for $ac_word" >&5
13542 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
13543 if test "${ac_cv_path_GCJ+set}" = set; then
13544 echo $ECHO_N "(cached) $ECHO_C" >&6
13548 ac_cv_path_GCJ
="$GCJ" # Let the user override the test with a path.
13551 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
13552 for as_dir
in $PATH
13555 test -z "$as_dir" && as_dir
=.
13556 for ac_exec_ext
in '' $ac_executable_extensions; do
13557 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
13558 ac_cv_path_GCJ
="$as_dir/$ac_word$ac_exec_ext"
13559 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
13568 GCJ
=$ac_cv_path_GCJ
13570 if test -n "$GCJ"; then
13571 echo "$as_me:$LINENO: result: $GCJ" >&5
13572 echo "${ECHO_T}$GCJ" >&6
13574 echo "$as_me:$LINENO: result: no" >&5
13575 echo "${ECHO_T}no" >&6
13579 if test "x$GCJ" != x
; then
13580 echo "$as_me:$LINENO: checking gcj version 4.0" >&5
13581 echo $ECHO_N "checking gcj version 4.0... $ECHO_C" >&6
13583 ac_cpp
='$CPP $CPPFLAGS'
13584 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13585 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13586 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
13588 cat >conftest.
$ac_ext <<_ACEOF
13590 #error GCJ 4.0.0 or higher is required
13594 $GCJ -E conftest.c
> /dev
/null
13596 if test "x$gcj_4_result" = "x0"; then
13597 echo "$as_me:$LINENO: result: 4.0 or higher found" >&5
13598 echo "${ECHO_T}4.0 or higher found" >&6
13600 { echo "$as_me:$LINENO: WARNING: 4.0 or higher required" >&5
13601 echo "$as_me: WARNING: 4.0 or higher required" >&2;}
13604 ac_cpp
='$CPP $CPPFLAGS'
13605 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13606 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13607 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
13617 # Check whether --with-jikes or --without-jikes was given.
13618 if test "${with_jikes+set}" = set; then
13619 withval
="$with_jikes"
13621 if test "x${withval}" != x && test "x${withval}" != xyes && test "x${withval}" != xno
; then
13623 if test "x${withval}" != x
; then
13624 if test -f "${withval}"; then
13627 # Extract the first word of ""${withval}"", so it can be a program name with args.
13628 set dummy
"${withval}"; ac_word
=$2
13629 echo "$as_me:$LINENO: checking for $ac_word" >&5
13630 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
13631 if test "${ac_cv_path_JIKES+set}" = set; then
13632 echo $ECHO_N "(cached) $ECHO_C" >&6
13636 ac_cv_path_JIKES
="$JIKES" # Let the user override the test with a path.
13639 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
13640 for as_dir
in $PATH
13643 test -z "$as_dir" && as_dir
=.
13644 for ac_exec_ext
in '' $ac_executable_extensions; do
13645 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
13646 ac_cv_path_JIKES
="$as_dir/$ac_word$ac_exec_ext"
13647 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
13656 JIKES
=$ac_cv_path_JIKES
13658 if test -n "$JIKES"; then
13659 echo "$as_me:$LINENO: result: $JIKES" >&5
13660 echo "${ECHO_T}$JIKES" >&6
13662 echo "$as_me:$LINENO: result: no" >&5
13663 echo "${ECHO_T}no" >&6
13668 # Extract the first word of ""jikes"", so it can be a program name with args.
13669 set dummy
"jikes"; ac_word
=$2
13670 echo "$as_me:$LINENO: checking for $ac_word" >&5
13671 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
13672 if test "${ac_cv_path_JIKES+set}" = set; then
13673 echo $ECHO_N "(cached) $ECHO_C" >&6
13677 ac_cv_path_JIKES
="$JIKES" # Let the user override the test with a path.
13680 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
13681 for as_dir
in $PATH
13684 test -z "$as_dir" && as_dir
=.
13685 for ac_exec_ext
in '' $ac_executable_extensions; do
13686 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
13687 ac_cv_path_JIKES
="$as_dir/$ac_word$ac_exec_ext"
13688 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
13697 JIKES
=$ac_cv_path_JIKES
13699 if test -n "$JIKES"; then
13700 echo "$as_me:$LINENO: result: $JIKES" >&5
13701 echo "${ECHO_T}$JIKES" >&6
13703 echo "$as_me:$LINENO: result: no" >&5
13704 echo "${ECHO_T}no" >&6
13708 if test "x$JIKES" != "x"; then
13709 echo "$as_me:$LINENO: checking jikes version" >&5
13710 echo $ECHO_N "checking jikes version... $ECHO_C" >&6
13711 JIKES_VERSION
=`$JIKES --version | awk '/^Jikes Compiler/' | cut -d ' ' -f 5`
13712 JIKES_VERSION_MAJOR
=`echo "$JIKES_VERSION" | cut -d '.' -f 1`
13713 JIKES_VERSION_MINOR
=`echo "$JIKES_VERSION" | cut -d '.' -f 2`
13714 if expr "$JIKES_VERSION_MAJOR" = 1 > /dev
/null
; then
13715 if expr "$JIKES_VERSION_MINOR" \
< 19 > /dev
/null
; then
13719 if test "x$JIKES" != "x"; then
13720 echo "$as_me:$LINENO: result: $JIKES_VERSION" >&5
13721 echo "${ECHO_T}$JIKES_VERSION" >&6
13723 { echo "$as_me:$LINENO: WARNING: $JIKES_VERSION: jikes 1.19 or higher required" >&5
13724 echo "$as_me: WARNING: $JIKES_VERSION: jikes 1.19 or higher required" >&2;}
13728 if test -n "`$JIKES --help 2>&1 | grep encoding`"; then
13729 JIKESENCODING
='-encoding UTF-8'
13733 JIKESWARNINGS
="+Pno-switchcheck"
13734 if test "x$JIKES_VERSION_MAJOR" = x
"1" ; then
13735 if ! test "x$JIKES_VERSION_MINOR" = x
"19"; then
13736 JIKESWARNINGS
="$JIKESWARNINGS +Pno-shadow"
13744 if test "x${withval}" != xno
; then
13746 if test "x" != x
; then
13747 if test -f ""; then
13750 # Extract the first word of """", so it can be a program name with args.
13751 set dummy
""; ac_word
=$2
13752 echo "$as_me:$LINENO: checking for $ac_word" >&5
13753 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
13754 if test "${ac_cv_path_JIKES+set}" = set; then
13755 echo $ECHO_N "(cached) $ECHO_C" >&6
13759 ac_cv_path_JIKES
="$JIKES" # Let the user override the test with a path.
13762 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
13763 for as_dir
in $PATH
13766 test -z "$as_dir" && as_dir
=.
13767 for ac_exec_ext
in '' $ac_executable_extensions; do
13768 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
13769 ac_cv_path_JIKES
="$as_dir/$ac_word$ac_exec_ext"
13770 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
13779 JIKES
=$ac_cv_path_JIKES
13781 if test -n "$JIKES"; then
13782 echo "$as_me:$LINENO: result: $JIKES" >&5
13783 echo "${ECHO_T}$JIKES" >&6
13785 echo "$as_me:$LINENO: result: no" >&5
13786 echo "${ECHO_T}no" >&6
13791 # Extract the first word of ""jikes"", so it can be a program name with args.
13792 set dummy
"jikes"; ac_word
=$2
13793 echo "$as_me:$LINENO: checking for $ac_word" >&5
13794 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
13795 if test "${ac_cv_path_JIKES+set}" = set; then
13796 echo $ECHO_N "(cached) $ECHO_C" >&6
13800 ac_cv_path_JIKES
="$JIKES" # Let the user override the test with a path.
13803 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
13804 for as_dir
in $PATH
13807 test -z "$as_dir" && as_dir
=.
13808 for ac_exec_ext
in '' $ac_executable_extensions; do
13809 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
13810 ac_cv_path_JIKES
="$as_dir/$ac_word$ac_exec_ext"
13811 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
13820 JIKES
=$ac_cv_path_JIKES
13822 if test -n "$JIKES"; then
13823 echo "$as_me:$LINENO: result: $JIKES" >&5
13824 echo "${ECHO_T}$JIKES" >&6
13826 echo "$as_me:$LINENO: result: no" >&5
13827 echo "${ECHO_T}no" >&6
13831 if test "x$JIKES" != "x"; then
13832 echo "$as_me:$LINENO: checking jikes version" >&5
13833 echo $ECHO_N "checking jikes version... $ECHO_C" >&6
13834 JIKES_VERSION
=`$JIKES --version | awk '/^Jikes Compiler/' | cut -d ' ' -f 5`
13835 JIKES_VERSION_MAJOR
=`echo "$JIKES_VERSION" | cut -d '.' -f 1`
13836 JIKES_VERSION_MINOR
=`echo "$JIKES_VERSION" | cut -d '.' -f 2`
13837 if expr "$JIKES_VERSION_MAJOR" = 1 > /dev
/null
; then
13838 if expr "$JIKES_VERSION_MINOR" \
< 19 > /dev
/null
; then
13842 if test "x$JIKES" != "x"; then
13843 echo "$as_me:$LINENO: result: $JIKES_VERSION" >&5
13844 echo "${ECHO_T}$JIKES_VERSION" >&6
13846 { echo "$as_me:$LINENO: WARNING: $JIKES_VERSION: jikes 1.19 or higher required" >&5
13847 echo "$as_me: WARNING: $JIKES_VERSION: jikes 1.19 or higher required" >&2;}
13851 if test -n "`$JIKES --help 2>&1 | grep encoding`"; then
13852 JIKESENCODING
='-encoding UTF-8'
13856 JIKESWARNINGS
="+Pno-switchcheck"
13857 if test "x$JIKES_VERSION_MAJOR" = x
"1" ; then
13858 if ! test "x$JIKES_VERSION_MINOR" = x
"19"; then
13859 JIKESWARNINGS
="$JIKESWARNINGS +Pno-shadow"
13868 user_specified_javac
=jikes
13873 if test "x" != x
; then
13874 if test -f ""; then
13877 # Extract the first word of """", so it can be a program name with args.
13878 set dummy
""; ac_word
=$2
13879 echo "$as_me:$LINENO: checking for $ac_word" >&5
13880 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
13881 if test "${ac_cv_path_JIKES+set}" = set; then
13882 echo $ECHO_N "(cached) $ECHO_C" >&6
13886 ac_cv_path_JIKES
="$JIKES" # Let the user override the test with a path.
13889 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
13890 for as_dir
in $PATH
13893 test -z "$as_dir" && as_dir
=.
13894 for ac_exec_ext
in '' $ac_executable_extensions; do
13895 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
13896 ac_cv_path_JIKES
="$as_dir/$ac_word$ac_exec_ext"
13897 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
13906 JIKES
=$ac_cv_path_JIKES
13908 if test -n "$JIKES"; then
13909 echo "$as_me:$LINENO: result: $JIKES" >&5
13910 echo "${ECHO_T}$JIKES" >&6
13912 echo "$as_me:$LINENO: result: no" >&5
13913 echo "${ECHO_T}no" >&6
13918 # Extract the first word of ""jikes"", so it can be a program name with args.
13919 set dummy
"jikes"; ac_word
=$2
13920 echo "$as_me:$LINENO: checking for $ac_word" >&5
13921 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
13922 if test "${ac_cv_path_JIKES+set}" = set; then
13923 echo $ECHO_N "(cached) $ECHO_C" >&6
13927 ac_cv_path_JIKES
="$JIKES" # Let the user override the test with a path.
13930 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
13931 for as_dir
in $PATH
13934 test -z "$as_dir" && as_dir
=.
13935 for ac_exec_ext
in '' $ac_executable_extensions; do
13936 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
13937 ac_cv_path_JIKES
="$as_dir/$ac_word$ac_exec_ext"
13938 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
13947 JIKES
=$ac_cv_path_JIKES
13949 if test -n "$JIKES"; then
13950 echo "$as_me:$LINENO: result: $JIKES" >&5
13951 echo "${ECHO_T}$JIKES" >&6
13953 echo "$as_me:$LINENO: result: no" >&5
13954 echo "${ECHO_T}no" >&6
13958 if test "x$JIKES" != "x"; then
13959 echo "$as_me:$LINENO: checking jikes version" >&5
13960 echo $ECHO_N "checking jikes version... $ECHO_C" >&6
13961 JIKES_VERSION
=`$JIKES --version | awk '/^Jikes Compiler/' | cut -d ' ' -f 5`
13962 JIKES_VERSION_MAJOR
=`echo "$JIKES_VERSION" | cut -d '.' -f 1`
13963 JIKES_VERSION_MINOR
=`echo "$JIKES_VERSION" | cut -d '.' -f 2`
13964 if expr "$JIKES_VERSION_MAJOR" = 1 > /dev
/null
; then
13965 if expr "$JIKES_VERSION_MINOR" \
< 19 > /dev
/null
; then
13969 if test "x$JIKES" != "x"; then
13970 echo "$as_me:$LINENO: result: $JIKES_VERSION" >&5
13971 echo "${ECHO_T}$JIKES_VERSION" >&6
13973 { echo "$as_me:$LINENO: WARNING: $JIKES_VERSION: jikes 1.19 or higher required" >&5
13974 echo "$as_me: WARNING: $JIKES_VERSION: jikes 1.19 or higher required" >&2;}
13978 if test -n "`$JIKES --help 2>&1 | grep encoding`"; then
13979 JIKESENCODING
='-encoding UTF-8'
13983 JIKESWARNINGS
="+Pno-switchcheck"
13984 if test "x$JIKES_VERSION_MAJOR" = x
"1" ; then
13985 if ! test "x$JIKES_VERSION_MINOR" = x
"19"; then
13986 JIKESWARNINGS
="$JIKESWARNINGS +Pno-shadow"
13999 # Check whether --with-kjc or --without-kjc was given.
14000 if test "${with_kjc+set}" = set; then
14001 withval
="$with_kjc"
14003 if test "x${withval}" != x && test "x${withval}" != xyes && test "x${withval}" != xno
; then
14005 if test "x${withval}" != x
; then
14006 if test -f "${withval}"; then
14009 # Extract the first word of ""${withval}"", so it can be a program name with args.
14010 set dummy
"${withval}"; ac_word
=$2
14011 echo "$as_me:$LINENO: checking for $ac_word" >&5
14012 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
14013 if test "${ac_cv_path_KJC+set}" = set; then
14014 echo $ECHO_N "(cached) $ECHO_C" >&6
14018 ac_cv_path_KJC
="$KJC" # Let the user override the test with a path.
14021 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
14022 for as_dir
in $PATH
14025 test -z "$as_dir" && as_dir
=.
14026 for ac_exec_ext
in '' $ac_executable_extensions; do
14027 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
14028 ac_cv_path_KJC
="$as_dir/$ac_word$ac_exec_ext"
14029 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
14038 KJC
=$ac_cv_path_KJC
14040 if test -n "$KJC"; then
14041 echo "$as_me:$LINENO: result: $KJC" >&5
14042 echo "${ECHO_T}$KJC" >&6
14044 echo "$as_me:$LINENO: result: no" >&5
14045 echo "${ECHO_T}no" >&6
14050 # Extract the first word of ""kJC"", so it can be a program name with args.
14051 set dummy
"kJC"; ac_word
=$2
14052 echo "$as_me:$LINENO: checking for $ac_word" >&5
14053 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
14054 if test "${ac_cv_path_KJC+set}" = set; then
14055 echo $ECHO_N "(cached) $ECHO_C" >&6
14059 ac_cv_path_KJC
="$KJC" # Let the user override the test with a path.
14062 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
14063 for as_dir
in $PATH
14066 test -z "$as_dir" && as_dir
=.
14067 for ac_exec_ext
in '' $ac_executable_extensions; do
14068 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
14069 ac_cv_path_KJC
="$as_dir/$ac_word$ac_exec_ext"
14070 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
14079 KJC
=$ac_cv_path_KJC
14081 if test -n "$KJC"; then
14082 echo "$as_me:$LINENO: result: $KJC" >&5
14083 echo "${ECHO_T}$KJC" >&6
14085 echo "$as_me:$LINENO: result: no" >&5
14086 echo "${ECHO_T}no" >&6
14092 if test "x${withval}" != xno
; then
14094 if test "x" != x
; then
14095 if test -f ""; then
14098 # Extract the first word of """", so it can be a program name with args.
14099 set dummy
""; ac_word
=$2
14100 echo "$as_me:$LINENO: checking for $ac_word" >&5
14101 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
14102 if test "${ac_cv_path_KJC+set}" = set; then
14103 echo $ECHO_N "(cached) $ECHO_C" >&6
14107 ac_cv_path_KJC
="$KJC" # Let the user override the test with a path.
14110 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
14111 for as_dir
in $PATH
14114 test -z "$as_dir" && as_dir
=.
14115 for ac_exec_ext
in '' $ac_executable_extensions; do
14116 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
14117 ac_cv_path_KJC
="$as_dir/$ac_word$ac_exec_ext"
14118 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
14127 KJC
=$ac_cv_path_KJC
14129 if test -n "$KJC"; then
14130 echo "$as_me:$LINENO: result: $KJC" >&5
14131 echo "${ECHO_T}$KJC" >&6
14133 echo "$as_me:$LINENO: result: no" >&5
14134 echo "${ECHO_T}no" >&6
14139 # Extract the first word of ""kJC"", so it can be a program name with args.
14140 set dummy
"kJC"; ac_word
=$2
14141 echo "$as_me:$LINENO: checking for $ac_word" >&5
14142 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
14143 if test "${ac_cv_path_KJC+set}" = set; then
14144 echo $ECHO_N "(cached) $ECHO_C" >&6
14148 ac_cv_path_KJC
="$KJC" # Let the user override the test with a path.
14151 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
14152 for as_dir
in $PATH
14155 test -z "$as_dir" && as_dir
=.
14156 for ac_exec_ext
in '' $ac_executable_extensions; do
14157 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
14158 ac_cv_path_KJC
="$as_dir/$ac_word$ac_exec_ext"
14159 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
14168 KJC
=$ac_cv_path_KJC
14170 if test -n "$KJC"; then
14171 echo "$as_me:$LINENO: result: $KJC" >&5
14172 echo "${ECHO_T}$KJC" >&6
14174 echo "$as_me:$LINENO: result: no" >&5
14175 echo "${ECHO_T}no" >&6
14182 user_specified_javac
=kjc
14187 if test "x" != x
; then
14188 if test -f ""; then
14191 # Extract the first word of """", so it can be a program name with args.
14192 set dummy
""; ac_word
=$2
14193 echo "$as_me:$LINENO: checking for $ac_word" >&5
14194 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
14195 if test "${ac_cv_path_KJC+set}" = set; then
14196 echo $ECHO_N "(cached) $ECHO_C" >&6
14200 ac_cv_path_KJC
="$KJC" # Let the user override the test with a path.
14203 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
14204 for as_dir
in $PATH
14207 test -z "$as_dir" && as_dir
=.
14208 for ac_exec_ext
in '' $ac_executable_extensions; do
14209 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
14210 ac_cv_path_KJC
="$as_dir/$ac_word$ac_exec_ext"
14211 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
14220 KJC
=$ac_cv_path_KJC
14222 if test -n "$KJC"; then
14223 echo "$as_me:$LINENO: result: $KJC" >&5
14224 echo "${ECHO_T}$KJC" >&6
14226 echo "$as_me:$LINENO: result: no" >&5
14227 echo "${ECHO_T}no" >&6
14232 # Extract the first word of ""kJC"", so it can be a program name with args.
14233 set dummy
"kJC"; ac_word
=$2
14234 echo "$as_me:$LINENO: checking for $ac_word" >&5
14235 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
14236 if test "${ac_cv_path_KJC+set}" = set; then
14237 echo $ECHO_N "(cached) $ECHO_C" >&6
14241 ac_cv_path_KJC
="$KJC" # Let the user override the test with a path.
14244 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
14245 for as_dir
in $PATH
14248 test -z "$as_dir" && as_dir
=.
14249 for ac_exec_ext
in '' $ac_executable_extensions; do
14250 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
14251 ac_cv_path_KJC
="$as_dir/$ac_word$ac_exec_ext"
14252 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
14261 KJC
=$ac_cv_path_KJC
14263 if test -n "$KJC"; then
14264 echo "$as_me:$LINENO: result: $KJC" >&5
14265 echo "${ECHO_T}$KJC" >&6
14267 echo "$as_me:$LINENO: result: no" >&5
14268 echo "${ECHO_T}no" >&6
14279 # Check whether --with-gcjx or --without-gcjx was given.
14280 if test "${with_gcjx+set}" = set; then
14281 withval
="$with_gcjx"
14283 if test "x${withval}" != x && test "x${withval}" != xyes && test "x${withval}" != xno
; then
14285 if test "x${withval}" != x
; then
14286 if test -f "${withval}"; then
14289 # Extract the first word of ""${withval}"", so it can be a program name with args.
14290 set dummy
"${withval}"; ac_word
=$2
14291 echo "$as_me:$LINENO: checking for $ac_word" >&5
14292 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
14293 if test "${ac_cv_path_GCJX+set}" = set; then
14294 echo $ECHO_N "(cached) $ECHO_C" >&6
14298 ac_cv_path_GCJX
="$GCJX" # Let the user override the test with a path.
14301 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
14302 for as_dir
in $PATH
14305 test -z "$as_dir" && as_dir
=.
14306 for ac_exec_ext
in '' $ac_executable_extensions; do
14307 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
14308 ac_cv_path_GCJX
="$as_dir/$ac_word$ac_exec_ext"
14309 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
14318 GCJX
=$ac_cv_path_GCJX
14320 if test -n "$GCJX"; then
14321 echo "$as_me:$LINENO: result: $GCJX" >&5
14322 echo "${ECHO_T}$GCJX" >&6
14324 echo "$as_me:$LINENO: result: no" >&5
14325 echo "${ECHO_T}no" >&6
14330 # Extract the first word of ""gcjx"", so it can be a program name with args.
14331 set dummy
"gcjx"; ac_word
=$2
14332 echo "$as_me:$LINENO: checking for $ac_word" >&5
14333 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
14334 if test "${ac_cv_path_GCJX+set}" = set; then
14335 echo $ECHO_N "(cached) $ECHO_C" >&6
14339 ac_cv_path_GCJX
="$GCJX" # Let the user override the test with a path.
14342 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
14343 for as_dir
in $PATH
14346 test -z "$as_dir" && as_dir
=.
14347 for ac_exec_ext
in '' $ac_executable_extensions; do
14348 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
14349 ac_cv_path_GCJX
="$as_dir/$ac_word$ac_exec_ext"
14350 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
14359 GCJX
=$ac_cv_path_GCJX
14361 if test -n "$GCJX"; then
14362 echo "$as_me:$LINENO: result: $GCJX" >&5
14363 echo "${ECHO_T}$GCJX" >&6
14365 echo "$as_me:$LINENO: result: no" >&5
14366 echo "${ECHO_T}no" >&6
14372 if test "x${withval}" != xno
; then
14374 if test "x" != x
; then
14375 if test -f ""; then
14378 # Extract the first word of """", so it can be a program name with args.
14379 set dummy
""; ac_word
=$2
14380 echo "$as_me:$LINENO: checking for $ac_word" >&5
14381 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
14382 if test "${ac_cv_path_GCJX+set}" = set; then
14383 echo $ECHO_N "(cached) $ECHO_C" >&6
14387 ac_cv_path_GCJX
="$GCJX" # Let the user override the test with a path.
14390 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
14391 for as_dir
in $PATH
14394 test -z "$as_dir" && as_dir
=.
14395 for ac_exec_ext
in '' $ac_executable_extensions; do
14396 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
14397 ac_cv_path_GCJX
="$as_dir/$ac_word$ac_exec_ext"
14398 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
14407 GCJX
=$ac_cv_path_GCJX
14409 if test -n "$GCJX"; then
14410 echo "$as_me:$LINENO: result: $GCJX" >&5
14411 echo "${ECHO_T}$GCJX" >&6
14413 echo "$as_me:$LINENO: result: no" >&5
14414 echo "${ECHO_T}no" >&6
14419 # Extract the first word of ""gcjx"", so it can be a program name with args.
14420 set dummy
"gcjx"; ac_word
=$2
14421 echo "$as_me:$LINENO: checking for $ac_word" >&5
14422 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
14423 if test "${ac_cv_path_GCJX+set}" = set; then
14424 echo $ECHO_N "(cached) $ECHO_C" >&6
14428 ac_cv_path_GCJX
="$GCJX" # Let the user override the test with a path.
14431 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
14432 for as_dir
in $PATH
14435 test -z "$as_dir" && as_dir
=.
14436 for ac_exec_ext
in '' $ac_executable_extensions; do
14437 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
14438 ac_cv_path_GCJX
="$as_dir/$ac_word$ac_exec_ext"
14439 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
14448 GCJX
=$ac_cv_path_GCJX
14450 if test -n "$GCJX"; then
14451 echo "$as_me:$LINENO: result: $GCJX" >&5
14452 echo "${ECHO_T}$GCJX" >&6
14454 echo "$as_me:$LINENO: result: no" >&5
14455 echo "${ECHO_T}no" >&6
14462 user_specified_javac
=gcjx
14467 if test "x" != x
; then
14468 if test -f ""; then
14471 # Extract the first word of """", so it can be a program name with args.
14472 set dummy
""; ac_word
=$2
14473 echo "$as_me:$LINENO: checking for $ac_word" >&5
14474 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
14475 if test "${ac_cv_path_GCJX+set}" = set; then
14476 echo $ECHO_N "(cached) $ECHO_C" >&6
14480 ac_cv_path_GCJX
="$GCJX" # Let the user override the test with a path.
14483 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
14484 for as_dir
in $PATH
14487 test -z "$as_dir" && as_dir
=.
14488 for ac_exec_ext
in '' $ac_executable_extensions; do
14489 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
14490 ac_cv_path_GCJX
="$as_dir/$ac_word$ac_exec_ext"
14491 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
14500 GCJX
=$ac_cv_path_GCJX
14502 if test -n "$GCJX"; then
14503 echo "$as_me:$LINENO: result: $GCJX" >&5
14504 echo "${ECHO_T}$GCJX" >&6
14506 echo "$as_me:$LINENO: result: no" >&5
14507 echo "${ECHO_T}no" >&6
14512 # Extract the first word of ""gcjx"", so it can be a program name with args.
14513 set dummy
"gcjx"; ac_word
=$2
14514 echo "$as_me:$LINENO: checking for $ac_word" >&5
14515 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
14516 if test "${ac_cv_path_GCJX+set}" = set; then
14517 echo $ECHO_N "(cached) $ECHO_C" >&6
14521 ac_cv_path_GCJX
="$GCJX" # Let the user override the test with a path.
14524 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
14525 for as_dir
in $PATH
14528 test -z "$as_dir" && as_dir
=.
14529 for ac_exec_ext
in '' $ac_executable_extensions; do
14530 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
14531 ac_cv_path_GCJX
="$as_dir/$ac_word$ac_exec_ext"
14532 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
14541 GCJX
=$ac_cv_path_GCJX
14543 if test -n "$GCJX"; then
14544 echo "$as_me:$LINENO: result: $GCJX" >&5
14545 echo "${ECHO_T}$GCJX" >&6
14547 echo "$as_me:$LINENO: result: no" >&5
14548 echo "${ECHO_T}no" >&6
14559 # Check whether --with-ecj or --without-ecj was given.
14560 if test "${with_ecj+set}" = set; then
14561 withval
="$with_ecj"
14563 if test "x${withval}" != x && test "x${withval}" != xyes && test "x${withval}" != xno
; then
14565 if test "x${withval}" != x
; then
14566 if test -f "${withval}"; then
14569 # Extract the first word of ""${withval}"", so it can be a program name with args.
14570 set dummy
"${withval}"; ac_word
=$2
14571 echo "$as_me:$LINENO: checking for $ac_word" >&5
14572 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
14573 if test "${ac_cv_path_ECJ+set}" = set; then
14574 echo $ECHO_N "(cached) $ECHO_C" >&6
14578 ac_cv_path_ECJ
="$ECJ" # Let the user override the test with a path.
14581 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
14582 for as_dir
in $PATH
14585 test -z "$as_dir" && as_dir
=.
14586 for ac_exec_ext
in '' $ac_executable_extensions; do
14587 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
14588 ac_cv_path_ECJ
="$as_dir/$ac_word$ac_exec_ext"
14589 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
14598 ECJ
=$ac_cv_path_ECJ
14600 if test -n "$ECJ"; then
14601 echo "$as_me:$LINENO: result: $ECJ" >&5
14602 echo "${ECHO_T}$ECJ" >&6
14604 echo "$as_me:$LINENO: result: no" >&5
14605 echo "${ECHO_T}no" >&6
14610 # Extract the first word of ""ecj"", so it can be a program name with args.
14611 set dummy
"ecj"; ac_word
=$2
14612 echo "$as_me:$LINENO: checking for $ac_word" >&5
14613 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
14614 if test "${ac_cv_path_ECJ+set}" = set; then
14615 echo $ECHO_N "(cached) $ECHO_C" >&6
14619 ac_cv_path_ECJ
="$ECJ" # Let the user override the test with a path.
14622 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
14623 for as_dir
in $PATH
14626 test -z "$as_dir" && as_dir
=.
14627 for ac_exec_ext
in '' $ac_executable_extensions; do
14628 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
14629 ac_cv_path_ECJ
="$as_dir/$ac_word$ac_exec_ext"
14630 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
14639 ECJ
=$ac_cv_path_ECJ
14641 if test -n "$ECJ"; then
14642 echo "$as_me:$LINENO: result: $ECJ" >&5
14643 echo "${ECHO_T}$ECJ" >&6
14645 echo "$as_me:$LINENO: result: no" >&5
14646 echo "${ECHO_T}no" >&6
14652 if test "x${withval}" != xno
; then
14654 if test "x" != x
; then
14655 if test -f ""; then
14658 # Extract the first word of """", so it can be a program name with args.
14659 set dummy
""; ac_word
=$2
14660 echo "$as_me:$LINENO: checking for $ac_word" >&5
14661 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
14662 if test "${ac_cv_path_ECJ+set}" = set; then
14663 echo $ECHO_N "(cached) $ECHO_C" >&6
14667 ac_cv_path_ECJ
="$ECJ" # Let the user override the test with a path.
14670 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
14671 for as_dir
in $PATH
14674 test -z "$as_dir" && as_dir
=.
14675 for ac_exec_ext
in '' $ac_executable_extensions; do
14676 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
14677 ac_cv_path_ECJ
="$as_dir/$ac_word$ac_exec_ext"
14678 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
14687 ECJ
=$ac_cv_path_ECJ
14689 if test -n "$ECJ"; then
14690 echo "$as_me:$LINENO: result: $ECJ" >&5
14691 echo "${ECHO_T}$ECJ" >&6
14693 echo "$as_me:$LINENO: result: no" >&5
14694 echo "${ECHO_T}no" >&6
14699 # Extract the first word of ""ecj"", so it can be a program name with args.
14700 set dummy
"ecj"; ac_word
=$2
14701 echo "$as_me:$LINENO: checking for $ac_word" >&5
14702 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
14703 if test "${ac_cv_path_ECJ+set}" = set; then
14704 echo $ECHO_N "(cached) $ECHO_C" >&6
14708 ac_cv_path_ECJ
="$ECJ" # Let the user override the test with a path.
14711 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
14712 for as_dir
in $PATH
14715 test -z "$as_dir" && as_dir
=.
14716 for ac_exec_ext
in '' $ac_executable_extensions; do
14717 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
14718 ac_cv_path_ECJ
="$as_dir/$ac_word$ac_exec_ext"
14719 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
14728 ECJ
=$ac_cv_path_ECJ
14730 if test -n "$ECJ"; then
14731 echo "$as_me:$LINENO: result: $ECJ" >&5
14732 echo "${ECHO_T}$ECJ" >&6
14734 echo "$as_me:$LINENO: result: no" >&5
14735 echo "${ECHO_T}no" >&6
14742 user_specified_javac
=ecj
14747 if test "x" != x
; then
14748 if test -f ""; then
14751 # Extract the first word of """", so it can be a program name with args.
14752 set dummy
""; ac_word
=$2
14753 echo "$as_me:$LINENO: checking for $ac_word" >&5
14754 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
14755 if test "${ac_cv_path_ECJ+set}" = set; then
14756 echo $ECHO_N "(cached) $ECHO_C" >&6
14760 ac_cv_path_ECJ
="$ECJ" # Let the user override the test with a path.
14763 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
14764 for as_dir
in $PATH
14767 test -z "$as_dir" && as_dir
=.
14768 for ac_exec_ext
in '' $ac_executable_extensions; do
14769 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
14770 ac_cv_path_ECJ
="$as_dir/$ac_word$ac_exec_ext"
14771 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
14780 ECJ
=$ac_cv_path_ECJ
14782 if test -n "$ECJ"; then
14783 echo "$as_me:$LINENO: result: $ECJ" >&5
14784 echo "${ECHO_T}$ECJ" >&6
14786 echo "$as_me:$LINENO: result: no" >&5
14787 echo "${ECHO_T}no" >&6
14792 # Extract the first word of ""ecj"", so it can be a program name with args.
14793 set dummy
"ecj"; ac_word
=$2
14794 echo "$as_me:$LINENO: checking for $ac_word" >&5
14795 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
14796 if test "${ac_cv_path_ECJ+set}" = set; then
14797 echo $ECHO_N "(cached) $ECHO_C" >&6
14801 ac_cv_path_ECJ
="$ECJ" # Let the user override the test with a path.
14804 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
14805 for as_dir
in $PATH
14808 test -z "$as_dir" && as_dir
=.
14809 for ac_exec_ext
in '' $ac_executable_extensions; do
14810 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
14811 ac_cv_path_ECJ
="$as_dir/$ac_word$ac_exec_ext"
14812 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
14821 ECJ
=$ac_cv_path_ECJ
14823 if test -n "$ECJ"; then
14824 echo "$as_me:$LINENO: result: $ECJ" >&5
14825 echo "${ECHO_T}$ECJ" >&6
14827 echo "$as_me:$LINENO: result: no" >&5
14828 echo "${ECHO_T}no" >&6
14838 if test "x${user_specified_javac}" = x
; then
14841 if test "x${GCJ}" != x
; then
14843 FOUND_GCJ_FALSE
='#'
14851 if test "x${JIKES}" != x
; then
14853 FOUND_JIKES_FALSE
='#'
14855 FOUND_JIKES_TRUE
='#'
14861 if test "x${ECJ}" != x
; then
14863 FOUND_ECJ_FALSE
='#'
14872 if test "x${user_specified_javac}" = xgcj
; then
14874 FOUND_GCJ_FALSE
='#'
14882 if test "x${user_specified_javac}" = xjikes
; then
14884 FOUND_JIKES_FALSE
='#'
14886 FOUND_JIKES_TRUE
='#'
14892 if test "x${user_specified_javac}" = xecj
; then
14894 FOUND_ECJ_FALSE
='#'
14903 if test "x${user_specified_javac}" = xkjc
; then
14905 FOUND_KJC_FALSE
='#'
14913 if test "x${user_specified_javac}" = xgcjx
; then
14915 FOUND_GCJX_FALSE
='#'
14917 FOUND_GCJX_TRUE
='#'
14922 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
14923 { { echo "$as_me:$LINENO: error: cannot find javac, try --with-gcj, --with-jikes, --with-kjc, --with-ecj, or --with-gcjx" >&5
14924 echo "$as_me: error: cannot find javac, try --with-gcj, --with-jikes, --with-kjc, --with-ecj, or --with-gcjx" >&2;}
14925 { (exit 1); exit 1; }; }
14931 # Check whether --with-classpath or --without-classpath was given.
14932 if test "${with_classpath+set}" = set; then
14933 withval
="$with_classpath"
14935 if test "x${withval}" = xyes
; then
14936 # set user classpath to CLASSPATH from env
14937 echo "$as_me:$LINENO: checking for classlib" >&5
14938 echo $ECHO_N "checking for classlib... $ECHO_C" >&6
14939 USER_CLASSLIB
=${CLASSPATH}
14941 echo "$as_me:$LINENO: result: ${USER_CLASSLIB}" >&5
14942 echo "${ECHO_T}${USER_CLASSLIB}" >&6
14943 conditional_with_classlib
=true
14944 elif test "x${withval}" != x
&& test "x${withval}" != xno
; then
14945 # set user classpath to specified value
14946 echo "$as_me:$LINENO: checking for classlib" >&5
14947 echo $ECHO_N "checking for classlib... $ECHO_C" >&6
14948 USER_CLASSLIB
=${withval}
14950 echo "$as_me:$LINENO: result: ${withval}" >&5
14951 echo "${ECHO_T}${withval}" >&6
14952 conditional_with_classlib
=true
14956 conditional_with_classlib
=false
14960 if test "x${conditional_with_classlib}" = xtrue
; then
14961 USER_SPECIFIED_CLASSLIB_TRUE
=
14962 USER_SPECIFIED_CLASSLIB_FALSE
='#'
14964 USER_SPECIFIED_CLASSLIB_TRUE
='#'
14965 USER_SPECIFIED_CLASSLIB_FALSE
=
14970 # Check whether --with-vm-classes or --without-vm-classes was given.
14971 if test "${with_vm_classes+set}" = set; then
14972 withval
="$with_vm_classes"
14973 vm_classes
="$with_vm_classes"
14975 vm_classes
='${top_srcdir}/vm/reference'
14980 echo "$as_me:$LINENO: checking whether to enable maintainer-specific portions of Makefiles" >&5
14981 echo $ECHO_N "checking whether to enable maintainer-specific portions of Makefiles... $ECHO_C" >&6
14982 # Check whether --enable-maintainer-mode or --disable-maintainer-mode was given.
14983 if test "${enable_maintainer_mode+set}" = set; then
14984 enableval
="$enable_maintainer_mode"
14985 USE_MAINTAINER_MODE
=$enableval
14987 USE_MAINTAINER_MODE
=no
14989 echo "$as_me:$LINENO: result: $USE_MAINTAINER_MODE" >&5
14990 echo "${ECHO_T}$USE_MAINTAINER_MODE" >&6
14993 if test $USE_MAINTAINER_MODE = yes; then
14994 MAINTAINER_MODE_TRUE
=
14995 MAINTAINER_MODE_FALSE
='#'
14997 MAINTAINER_MODE_TRUE
='#'
14998 MAINTAINER_MODE_FALSE
=
15001 MAINT
=$MAINTAINER_MODE_TRUE
15005 # Check whether --enable-debug or --disable-debug was given.
15006 if test "${enable_debug+set}" = set; then
15007 enableval
="$enable_debug"
15008 case "${enableval}" in
15012 cat >>confdefs.h
<<\_ACEOF
15017 no
) LIBDEBUG
="false" ;;
15018 *) { { echo "$as_me:$LINENO: error: bad value ${enableval} for --enable-debug" >&5
15019 echo "$as_me: error: bad value ${enableval} for --enable-debug" >&2;}
15020 { (exit 1); exit 1; }; } ;;
15027 # Check whether --enable-load-library or --disable-load-library was given.
15028 if test "${enable_load_library+set}" = set; then
15029 enableval
="$enable_load_library"
15030 case "${enableval}" in
15031 yes) INIT_LOAD_LIBRARY
="true" ;;
15032 no
) INIT_LOAD_LIBRARY
="false" ;;
15033 *) { { echo "$as_me:$LINENO: error: bad value ${enableval} for --enable-load-library" >&5
15034 echo "$as_me: error: bad value ${enableval} for --enable-load-library" >&2;}
15035 { (exit 1); exit 1; }; } ;;
15038 INIT_LOAD_LIBRARY
="true"
15043 # Check whether --enable-java-lang-system-explicit-initialization or --disable-java-lang-system-explicit-initialization was given.
15044 if test "${enable_java_lang_system_explicit_initialization+set}" = set; then
15045 enableval
="$enable_java_lang_system_explicit_initialization"
15046 case "${enableval}" in
15047 yes|true
) JAVA_LANG_SYSTEM_EXPLICIT_INITIALIZATION
="true" ;;
15048 no|false
) JAVA_LANG_SYSTEM_EXPLICIT_INITIALIZATION
="false" ;;
15049 *) { { echo "$as_me:$LINENO: error: bad value ${enableval} for --enable-java-lang-system-explicit-initialization" >&5
15050 echo "$as_me: error: bad value ${enableval} for --enable-java-lang-system-explicit-initialization" >&2;}
15051 { (exit 1); exit 1; }; } ;;
15054 JAVA_LANG_SYSTEM_EXPLICIT_INITIALIZATION
="false"
15062 # Extract the first word of "mkdir", so it can be a program name with args.
15063 set dummy mkdir
; ac_word
=$2
15064 echo "$as_me:$LINENO: checking for $ac_word" >&5
15065 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
15066 if test "${ac_cv_path_MKDIR+set}" = set; then
15067 echo $ECHO_N "(cached) $ECHO_C" >&6
15071 ac_cv_path_MKDIR
="$MKDIR" # Let the user override the test with a path.
15074 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
15075 for as_dir
in $PATH
15078 test -z "$as_dir" && as_dir
=.
15079 for ac_exec_ext
in '' $ac_executable_extensions; do
15080 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
15081 ac_cv_path_MKDIR
="$as_dir/$ac_word$ac_exec_ext"
15082 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
15091 MKDIR
=$ac_cv_path_MKDIR
15093 if test -n "$MKDIR"; then
15094 echo "$as_me:$LINENO: result: $MKDIR" >&5
15095 echo "${ECHO_T}$MKDIR" >&6
15097 echo "$as_me:$LINENO: result: no" >&5
15098 echo "${ECHO_T}no" >&6
15101 # Extract the first word of "cp", so it can be a program name with args.
15102 set dummy
cp; ac_word
=$2
15103 echo "$as_me:$LINENO: checking for $ac_word" >&5
15104 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
15105 if test "${ac_cv_path_CP+set}" = set; then
15106 echo $ECHO_N "(cached) $ECHO_C" >&6
15110 ac_cv_path_CP
="$CP" # Let the user override the test with a path.
15113 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
15114 for as_dir
in $PATH
15117 test -z "$as_dir" && as_dir
=.
15118 for ac_exec_ext
in '' $ac_executable_extensions; do
15119 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
15120 ac_cv_path_CP
="$as_dir/$ac_word$ac_exec_ext"
15121 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
15132 if test -n "$CP"; then
15133 echo "$as_me:$LINENO: result: $CP" >&5
15134 echo "${ECHO_T}$CP" >&6
15136 echo "$as_me:$LINENO: result: no" >&5
15137 echo "${ECHO_T}no" >&6
15140 # Extract the first word of "date", so it can be a program name with args.
15141 set dummy
date; ac_word
=$2
15142 echo "$as_me:$LINENO: checking for $ac_word" >&5
15143 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
15144 if test "${ac_cv_path_DATE+set}" = set; then
15145 echo $ECHO_N "(cached) $ECHO_C" >&6
15149 ac_cv_path_DATE
="$DATE" # Let the user override the test with a path.
15152 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
15153 for as_dir
in $PATH
15156 test -z "$as_dir" && as_dir
=.
15157 for ac_exec_ext
in '' $ac_executable_extensions; do
15158 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
15159 ac_cv_path_DATE
="$as_dir/$ac_word$ac_exec_ext"
15160 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
15169 DATE
=$ac_cv_path_DATE
15171 if test -n "$DATE"; then
15172 echo "$as_me:$LINENO: result: $DATE" >&5
15173 echo "${ECHO_T}$DATE" >&6
15175 echo "$as_me:$LINENO: result: no" >&5
15176 echo "${ECHO_T}no" >&6
15180 # Extract the first word of "find", so it can be a program name with args.
15181 set dummy
find; ac_word
=$2
15182 echo "$as_me:$LINENO: checking for $ac_word" >&5
15183 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
15184 if test "${ac_cv_path_FIND+set}" = set; then
15185 echo $ECHO_N "(cached) $ECHO_C" >&6
15189 ac_cv_path_FIND
="$FIND" # Let the user override the test with a path.
15192 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
15193 for as_dir
in $PATH
15196 test -z "$as_dir" && as_dir
=.
15197 for ac_exec_ext
in '' $ac_executable_extensions; do
15198 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
15199 ac_cv_path_FIND
="$as_dir/$ac_word$ac_exec_ext"
15200 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
15209 FIND
=$ac_cv_path_FIND
15211 if test -n "$FIND"; then
15212 echo "$as_me:$LINENO: result: $FIND" >&5
15213 echo "${ECHO_T}$FIND" >&6
15215 echo "$as_me:$LINENO: result: no" >&5
15216 echo "${ECHO_T}no" >&6
15221 # Extract the first word of "zip", so it can be a program name with args.
15222 set dummy
zip; ac_word
=$2
15223 echo "$as_me:$LINENO: checking for $ac_word" >&5
15224 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
15225 if test "${ac_cv_path_ZIP+set}" = set; then
15226 echo $ECHO_N "(cached) $ECHO_C" >&6
15230 ac_cv_path_ZIP
="$ZIP" # Let the user override the test with a path.
15233 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
15234 for as_dir
in $PATH
15237 test -z "$as_dir" && as_dir
=.
15238 for ac_exec_ext
in '' $ac_executable_extensions; do
15239 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
15240 ac_cv_path_ZIP
="$as_dir/$ac_word$ac_exec_ext"
15241 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
15250 ZIP
=$ac_cv_path_ZIP
15252 if test -n "$ZIP"; then
15253 echo "$as_me:$LINENO: result: $ZIP" >&5
15254 echo "${ECHO_T}$ZIP" >&6
15256 echo "$as_me:$LINENO: result: no" >&5
15257 echo "${ECHO_T}no" >&6
15261 # Check whether --with-fastjar or --without-fastjar was given.
15262 if test "${with_fastjar+set}" = set; then
15263 withval
="$with_fastjar"
15265 echo "$as_me:$LINENO: checking for user supplied fastjar" >&5
15266 echo $ECHO_N "checking for user supplied fastjar... $ECHO_C" >&6
15268 echo "$as_me:$LINENO: result: ${FASTJAR}" >&5
15269 echo "${ECHO_T}${FASTJAR}" >&6
15272 # Extract the first word of "fastjar", so it can be a program name with args.
15273 set dummy fastjar
; ac_word
=$2
15274 echo "$as_me:$LINENO: checking for $ac_word" >&5
15275 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
15276 if test "${ac_cv_path_FASTJAR+set}" = set; then
15277 echo $ECHO_N "(cached) $ECHO_C" >&6
15281 ac_cv_path_FASTJAR
="$FASTJAR" # Let the user override the test with a path.
15284 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
15285 for as_dir
in $PATH
15288 test -z "$as_dir" && as_dir
=.
15289 for ac_exec_ext
in '' $ac_executable_extensions; do
15290 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
15291 ac_cv_path_FASTJAR
="$as_dir/$ac_word$ac_exec_ext"
15292 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
15301 FASTJAR
=$ac_cv_path_FASTJAR
15303 if test -n "$FASTJAR"; then
15304 echo "$as_me:$LINENO: result: $FASTJAR" >&5
15305 echo "${ECHO_T}$FASTJAR" >&6
15307 echo "$as_me:$LINENO: result: no" >&5
15308 echo "${ECHO_T}no" >&6
15312 if test x
"${FASTJAR}" != x
; then
15317 # Check whether --with-glibj or --without-glibj was given.
15318 if test "${with_glibj+set}" = set; then
15319 withval
="$with_glibj"
15321 if test "x${withval}" = xyes ||
test "x${withval}" = xzip
; then
15322 install_class_files
=no
15323 build_class_files
=yes
15325 elif test "x${withval}" = xboth
; then
15326 install_class_files
=yes
15327 build_class_files
=yes
15329 elif test "x${withval}" = xflat
; then
15330 install_class_files
=yes
15331 build_class_files
=yes
15333 elif test "x${withval}" = xno ||
test "x${withval}" = xnone
; then
15334 install_class_files
=no
15335 build_class_files
=no
15337 elif test "x${withval}" = xbuild
; then
15338 install_class_files
=no
15339 build_class_files
=yes
15342 { { echo "$as_me:$LINENO: error: unknown value given to --with-glibj" >&5
15343 echo "$as_me: error: unknown value given to --with-glibj" >&2;}
15344 { (exit 1); exit 1; }; }
15349 install_class_files
=no
15355 if test "x${use_zip}" = xyes
; then
15356 INSTALL_GLIBJ_ZIP_TRUE
=
15357 INSTALL_GLIBJ_ZIP_FALSE
='#'
15359 INSTALL_GLIBJ_ZIP_TRUE
='#'
15360 INSTALL_GLIBJ_ZIP_FALSE
=
15365 if test "x${install_class_files}" = xyes
; then
15366 INSTALL_CLASS_FILES_TRUE
=
15367 INSTALL_CLASS_FILES_FALSE
='#'
15369 INSTALL_CLASS_FILES_TRUE
='#'
15370 INSTALL_CLASS_FILES_FALSE
=
15375 if test "x${build_class_files}" = xyes
; then
15376 BUILD_CLASS_FILES_TRUE
=
15377 BUILD_CLASS_FILES_FALSE
='#'
15379 BUILD_CLASS_FILES_TRUE
='#'
15380 BUILD_CLASS_FILES_FALSE
=
15384 # Check whether --enable-examples or --disable-examples was given.
15385 if test "${enable_examples+set}" = set; then
15386 enableval
="$enable_examples"
15387 case "${enableval}" in
15388 yes) EXAMPLESDIR
="examples" ;;
15389 no
) EXAMPLESDIR
="" ;;
15390 *) { { echo "$as_me:$LINENO: error: bad value ${enableval} for --enable-examples" >&5
15391 echo "$as_me: error: bad value ${enableval} for --enable-examples" >&2;}
15392 { (exit 1); exit 1; }; } ;;
15395 EXAMPLESDIR
="examples"
15397 if test "x${use_zip}" = xno
&& test "x${install_class_files}" = xno
; then
15405 # Check whether --with-gjdoc or --without-gjdoc was given.
15406 if test "${with_gjdoc+set}" = set; then
15407 withval
="$with_gjdoc"
15408 if test "x${withval}" = xno
; then
15410 elif test "x${withval}" = xyes
-o "x{withval}" = x
; then
15412 # Extract the first word of "gjdoc", so it can be a program name with args.
15413 set dummy gjdoc
; ac_word
=$2
15414 echo "$as_me:$LINENO: checking for $ac_word" >&5
15415 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
15416 if test "${ac_cv_path_GJDOC+set}" = set; then
15417 echo $ECHO_N "(cached) $ECHO_C" >&6
15421 ac_cv_path_GJDOC
="$GJDOC" # Let the user override the test with a path.
15424 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
15425 for as_dir
in $PATH
15428 test -z "$as_dir" && as_dir
=.
15429 for ac_exec_ext
in '' $ac_executable_extensions; do
15430 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
15431 ac_cv_path_GJDOC
="$as_dir/$ac_word$ac_exec_ext"
15432 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
15438 test -z "$ac_cv_path_GJDOC" && ac_cv_path_GJDOC
=""no
""
15442 GJDOC
=$ac_cv_path_GJDOC
15444 if test -n "$GJDOC"; then
15445 echo "$as_me:$LINENO: result: $GJDOC" >&5
15446 echo "${ECHO_T}$GJDOC" >&6
15448 echo "$as_me:$LINENO: result: no" >&5
15449 echo "${ECHO_T}no" >&6
15452 if test "x${GJDOC}" = xno
; then
15453 { { echo "$as_me:$LINENO: error: \"gjdoc executable not found\"" >&5
15454 echo "$as_me: error: \"gjdoc executable not found\"" >&2;}
15455 { (exit 1); exit 1; }; };
15460 as_ac_File
=`echo "ac_cv_file_${GJDOC}" | $as_tr_sh`
15461 echo "$as_me:$LINENO: checking for ${GJDOC}" >&5
15462 echo $ECHO_N "checking for ${GJDOC}... $ECHO_C" >&6
15463 if eval "test \"\${$as_ac_File+set}\" = set"; then
15464 echo $ECHO_N "(cached) $ECHO_C" >&6
15466 test "$cross_compiling" = yes &&
15467 { { echo "$as_me:$LINENO: error: cannot check for file existence when cross compiling" >&5
15468 echo "$as_me: error: cannot check for file existence when cross compiling" >&2;}
15469 { (exit 1); exit 1; }; }
15470 if test -r "${GJDOC}"; then
15471 eval "$as_ac_File=yes"
15473 eval "$as_ac_File=no"
15476 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_File'}'`" >&5
15477 echo "${ECHO_T}`eval echo '${'$as_ac_File'}'`" >&6
15478 if test `eval echo '${'$as_ac_File'}'` = yes; then
15481 { { echo "$as_me:$LINENO: error: \"Cannot use ${withval} as gjdoc executable since it doesn't exist\"" >&5
15482 echo "$as_me: error: \"Cannot use ${withval} as gjdoc executable since it doesn't exist\"" >&2;}
15483 { (exit 1); exit 1; }; }
15493 if test "x${WITH_GJDOC}" = xyes
; then
15494 CREATE_API_DOCS_TRUE
=
15495 CREATE_API_DOCS_FALSE
='#'
15497 CREATE_API_DOCS_TRUE
='#'
15498 CREATE_API_DOCS_FALSE
=
15505 # Check whether --with-jay or --without-jay was given.
15506 if test "${with_jay+set}" = set; then
15507 withval
="$with_jay"
15509 if test -d "${withval}"; then
15510 JAY_DIR_PATH
="${withval}"
15511 # Extract the first word of "jay", so it can be a program name with args.
15512 set dummy jay
; ac_word
=$2
15513 echo "$as_me:$LINENO: checking for $ac_word" >&5
15514 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
15515 if test "${ac_cv_path_JAY+set}" = set; then
15516 echo $ECHO_N "(cached) $ECHO_C" >&6
15520 ac_cv_path_JAY
="$JAY" # Let the user override the test with a path.
15523 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
15524 for as_dir
in ${JAY_DIR_PATH}
15527 test -z "$as_dir" && as_dir
=.
15528 for ac_exec_ext
in '' $ac_executable_extensions; do
15529 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
15530 ac_cv_path_JAY
="$as_dir/$ac_word$ac_exec_ext"
15531 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
15537 test -z "$ac_cv_path_JAY" && ac_cv_path_JAY
=""no
""
15541 JAY
=$ac_cv_path_JAY
15543 if test -n "$JAY"; then
15544 echo "$as_me:$LINENO: result: $JAY" >&5
15545 echo "${ECHO_T}$JAY" >&6
15547 echo "$as_me:$LINENO: result: no" >&5
15548 echo "${ECHO_T}no" >&6
15551 if test "x${JAY}" = xno
; then
15552 { { echo "$as_me:$LINENO: error: \"jay executable not found\"" >&5
15553 echo "$as_me: error: \"jay executable not found\"" >&2;}
15554 { (exit 1); exit 1; }; };
15557 JAY_DIR_PATH
=`dirname "${withval}"`
15561 JAY_SKELETON
="${JAY_DIR_PATH}/skeleton"
15562 as_ac_File
=`echo "ac_cv_file_${JAY_SKELETON}" | $as_tr_sh`
15563 echo "$as_me:$LINENO: checking for ${JAY_SKELETON}" >&5
15564 echo $ECHO_N "checking for ${JAY_SKELETON}... $ECHO_C" >&6
15565 if eval "test \"\${$as_ac_File+set}\" = set"; then
15566 echo $ECHO_N "(cached) $ECHO_C" >&6
15568 test "$cross_compiling" = yes &&
15569 { { echo "$as_me:$LINENO: error: cannot check for file existence when cross compiling" >&5
15570 echo "$as_me: error: cannot check for file existence when cross compiling" >&2;}
15571 { (exit 1); exit 1; }; }
15572 if test -r "${JAY_SKELETON}"; then
15573 eval "$as_ac_File=yes"
15575 eval "$as_ac_File=no"
15578 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_File'}'`" >&5
15579 echo "${ECHO_T}`eval echo '${'$as_ac_File'}'`" >&6
15580 if test `eval echo '${'$as_ac_File'}'` = yes; then
15583 { { echo "$as_me:$LINENO: error: \"Expected skeleton file in \`dirname ${withval}\`\"" >&5
15584 echo "$as_me: error: \"Expected skeleton file in \`dirname ${withval}\`\"" >&2;}
15585 { (exit 1); exit 1; }; }
15597 if test "x${JAY_FOUND}" = xyes
; then
15598 REGEN_PARSERS_TRUE
=
15599 REGEN_PARSERS_FALSE
='#'
15601 REGEN_PARSERS_TRUE
='#'
15602 REGEN_PARSERS_FALSE
=
15607 # Check whether --enable-portable-native-sync or --disable-portable-native-sync was given.
15608 if test "${enable_portable_native_sync+set}" = set; then
15609 enableval
="$enable_portable_native_sync"
15610 case "${enableval}" in
15613 cat >>confdefs.h
<<\_ACEOF
15614 #define PORTABLE_NATIVE_SYNC 1
15620 { { echo "$as_me:$LINENO: error: bad value ${enableval} for --enable-portable-native-sync" >&5
15621 echo "$as_me: error: bad value ${enableval} for --enable-portable-native-sync" >&2;}
15622 { (exit 1); exit 1; }; }
15627 # ------ AX CREATE STDINT H -------------------------------------
15628 echo "$as_me:$LINENO: checking for stdint types" >&5
15629 echo $ECHO_N "checking for stdint types... $ECHO_C" >&6
15630 ac_stdint_h
=`echo include/config-int.h`
15631 # try to shortcircuit - if the default include path of the compiler
15632 # can find a "stdint.h" header then we assume that all compilers can.
15633 if test "${ac_cv_header_stdint_t+set}" = set; then
15634 echo $ECHO_N "(cached) $ECHO_C" >&6
15637 old_CXXFLAGS
="$CXXFLAGS" ; CXXFLAGS
=""
15638 old_CPPFLAGS
="$CPPFLAGS" ; CPPFLAGS
=""
15639 old_CFLAGS
="$CFLAGS" ; CFLAGS
=""
15640 cat >conftest.
$ac_ext <<_ACEOF
15643 cat confdefs.h
>>conftest.
$ac_ext
15644 cat >>conftest.
$ac_ext <<_ACEOF
15645 /* end confdefs.h. */
15646 #include <stdint.h>
15650 int_least32_t v = 0;
15655 rm -f conftest.
$ac_objext
15656 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15657 (eval $ac_compile) 2>conftest.er1
15659 grep -v '^ *+' conftest.er1
>conftest.err
15661 cat conftest.err
>&5
15662 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15663 (exit $ac_status); } &&
15664 { ac_try
='test -z "$ac_c_werror_flag"
15665 || test ! -s conftest.err'
15666 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15667 (eval $ac_try) 2>&5
15669 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15670 (exit $ac_status); }; } &&
15671 { ac_try
='test -s conftest.$ac_objext'
15672 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15673 (eval $ac_try) 2>&5
15675 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15676 (exit $ac_status); }; }; then
15677 ac_cv_stdint_result
="(assuming C99 compatible system)"
15678 ac_cv_header_stdint_t
="stdint.h";
15680 echo "$as_me: failed program was:" >&5
15681 sed 's/^/| /' conftest.
$ac_ext >&5
15683 ac_cv_header_stdint_t
=""
15685 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
15686 CXXFLAGS
="$old_CXXFLAGS"
15687 CPPFLAGS
="$old_CPPFLAGS"
15688 CFLAGS
="$old_CFLAGS"
15692 v
="... $ac_cv_header_stdint_h"
15693 if test "$ac_stdint_h" = "stdint.h" ; then
15694 echo "$as_me:$LINENO: result: (are you sure you want them in ./stdint.h?)" >&5
15695 echo "${ECHO_T}(are you sure you want them in ./stdint.h?)" >&6
15696 elif test "$ac_stdint_h" = "inttypes.h" ; then
15697 echo "$as_me:$LINENO: result: (are you sure you want them in ./inttypes.h?)" >&5
15698 echo "${ECHO_T}(are you sure you want them in ./inttypes.h?)" >&6
15699 elif test "_$ac_cv_header_stdint_t" = "_" ; then
15700 echo "$as_me:$LINENO: result: (putting them into $ac_stdint_h)$v" >&5
15701 echo "${ECHO_T}(putting them into $ac_stdint_h)$v" >&6
15703 ac_cv_header_stdint
="$ac_cv_header_stdint_t"
15704 echo "$as_me:$LINENO: result: $ac_cv_header_stdint (shortcircuit)" >&5
15705 echo "${ECHO_T}$ac_cv_header_stdint (shortcircuit)" >&6
15708 if test "_$ac_cv_header_stdint_t" = "_" ; then # can not shortcircuit..
15711 inttype_headers
=`echo | sed -e 's/,/ /g'`
15713 ac_cv_stdint_result
="(no helpful system typedefs seen)"
15715 echo "$as_me:$LINENO: checking for stdint uintptr_t" >&5
15716 echo $ECHO_N "checking for stdint uintptr_t... $ECHO_C" >&6
15717 if test "${ac_cv_header_stdint_x+set}" = set; then
15718 echo $ECHO_N "(cached) $ECHO_C" >&6
15721 ac_cv_header_stdint_x
="" # the 1997 typedefs (inttypes.h)
15722 echo "$as_me:$LINENO: result: (..)" >&5
15723 echo "${ECHO_T}(..)" >&6
15724 for i
in stdint.h inttypes.h sys
/inttypes.h
$inttype_headers ; do
15725 unset ac_cv_type_uintptr_t
15726 unset ac_cv_type_uint64_t
15727 echo "$as_me:$LINENO: checking for uintptr_t" >&5
15728 echo $ECHO_N "checking for uintptr_t... $ECHO_C" >&6
15729 if test "${ac_cv_type_uintptr_t+set}" = set; then
15730 echo $ECHO_N "(cached) $ECHO_C" >&6
15732 cat >conftest.
$ac_ext <<_ACEOF
15735 cat confdefs.h
>>conftest.
$ac_ext
15736 cat >>conftest.
$ac_ext <<_ACEOF
15737 /* end confdefs.h. */
15743 if ((uintptr_t *) 0)
15745 if (sizeof (uintptr_t))
15751 rm -f conftest.
$ac_objext
15752 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15753 (eval $ac_compile) 2>conftest.er1
15755 grep -v '^ *+' conftest.er1
>conftest.err
15757 cat conftest.err
>&5
15758 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15759 (exit $ac_status); } &&
15760 { ac_try
='test -z "$ac_c_werror_flag"
15761 || test ! -s conftest.err'
15762 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15763 (eval $ac_try) 2>&5
15765 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15766 (exit $ac_status); }; } &&
15767 { ac_try
='test -s conftest.$ac_objext'
15768 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15769 (eval $ac_try) 2>&5
15771 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15772 (exit $ac_status); }; }; then
15773 ac_cv_type_uintptr_t
=yes
15775 echo "$as_me: failed program was:" >&5
15776 sed 's/^/| /' conftest.
$ac_ext >&5
15778 ac_cv_type_uintptr_t
=no
15780 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
15782 echo "$as_me:$LINENO: result: $ac_cv_type_uintptr_t" >&5
15783 echo "${ECHO_T}$ac_cv_type_uintptr_t" >&6
15784 if test $ac_cv_type_uintptr_t = yes; then
15785 ac_cv_header_stdint_x
=$i
15790 echo "$as_me:$LINENO: checking for uint64_t" >&5
15791 echo $ECHO_N "checking for uint64_t... $ECHO_C" >&6
15792 if test "${ac_cv_type_uint64_t+set}" = set; then
15793 echo $ECHO_N "(cached) $ECHO_C" >&6
15795 cat >conftest.
$ac_ext <<_ACEOF
15798 cat confdefs.h
>>conftest.
$ac_ext
15799 cat >>conftest.
$ac_ext <<_ACEOF
15800 /* end confdefs.h. */
15806 if ((uint64_t *) 0)
15808 if (sizeof (uint64_t))
15814 rm -f conftest.
$ac_objext
15815 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15816 (eval $ac_compile) 2>conftest.er1
15818 grep -v '^ *+' conftest.er1
>conftest.err
15820 cat conftest.err
>&5
15821 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15822 (exit $ac_status); } &&
15823 { ac_try
='test -z "$ac_c_werror_flag"
15824 || test ! -s conftest.err'
15825 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15826 (eval $ac_try) 2>&5
15828 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15829 (exit $ac_status); }; } &&
15830 { ac_try
='test -s conftest.$ac_objext'
15831 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15832 (eval $ac_try) 2>&5
15834 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15835 (exit $ac_status); }; }; then
15836 ac_cv_type_uint64_t
=yes
15838 echo "$as_me: failed program was:" >&5
15839 sed 's/^/| /' conftest.
$ac_ext >&5
15841 ac_cv_type_uint64_t
=no
15843 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
15845 echo "$as_me:$LINENO: result: $ac_cv_type_uint64_t" >&5
15846 echo "${ECHO_T}$ac_cv_type_uint64_t" >&6
15847 if test $ac_cv_type_uint64_t = yes; then
15853 stdint.h inttypes.h sys
/inttypes.h
$inttype_headers
15856 echo "$as_me:$LINENO: checking for stdint uintptr_t" >&5
15857 echo $ECHO_N "checking for stdint uintptr_t... $ECHO_C" >&6
15860 echo "$as_me:$LINENO: result: $ac_cv_header_stdint_x" >&5
15861 echo "${ECHO_T}$ac_cv_header_stdint_x" >&6
15864 if test "_$ac_cv_header_stdint_x" = "_" ; then
15866 echo "$as_me:$LINENO: checking for stdint uint32_t" >&5
15867 echo $ECHO_N "checking for stdint uint32_t... $ECHO_C" >&6
15868 if test "${ac_cv_header_stdint_o+set}" = set; then
15869 echo $ECHO_N "(cached) $ECHO_C" >&6
15872 ac_cv_header_stdint_o
="" # the 1995 typedefs (sys/inttypes.h)
15873 echo "$as_me:$LINENO: result: (..)" >&5
15874 echo "${ECHO_T}(..)" >&6
15875 for i
in inttypes.h sys
/inttypes.h stdint.h
$inttype_headers ; do
15876 unset ac_cv_type_uint32_t
15877 unset ac_cv_type_uint64_t
15878 echo "$as_me:$LINENO: checking for uint32_t" >&5
15879 echo $ECHO_N "checking for uint32_t... $ECHO_C" >&6
15880 if test "${ac_cv_type_uint32_t+set}" = set; then
15881 echo $ECHO_N "(cached) $ECHO_C" >&6
15883 cat >conftest.
$ac_ext <<_ACEOF
15886 cat confdefs.h
>>conftest.
$ac_ext
15887 cat >>conftest.
$ac_ext <<_ACEOF
15888 /* end confdefs.h. */
15894 if ((uint32_t *) 0)
15896 if (sizeof (uint32_t))
15902 rm -f conftest.
$ac_objext
15903 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15904 (eval $ac_compile) 2>conftest.er1
15906 grep -v '^ *+' conftest.er1
>conftest.err
15908 cat conftest.err
>&5
15909 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15910 (exit $ac_status); } &&
15911 { ac_try
='test -z "$ac_c_werror_flag"
15912 || test ! -s conftest.err'
15913 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15914 (eval $ac_try) 2>&5
15916 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15917 (exit $ac_status); }; } &&
15918 { ac_try
='test -s conftest.$ac_objext'
15919 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15920 (eval $ac_try) 2>&5
15922 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15923 (exit $ac_status); }; }; then
15924 ac_cv_type_uint32_t
=yes
15926 echo "$as_me: failed program was:" >&5
15927 sed 's/^/| /' conftest.
$ac_ext >&5
15929 ac_cv_type_uint32_t
=no
15931 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
15933 echo "$as_me:$LINENO: result: $ac_cv_type_uint32_t" >&5
15934 echo "${ECHO_T}$ac_cv_type_uint32_t" >&6
15935 if test $ac_cv_type_uint32_t = yes; then
15936 ac_cv_header_stdint_o
=$i
15941 echo "$as_me:$LINENO: checking for uint64_t" >&5
15942 echo $ECHO_N "checking for uint64_t... $ECHO_C" >&6
15943 if test "${ac_cv_type_uint64_t+set}" = set; then
15944 echo $ECHO_N "(cached) $ECHO_C" >&6
15946 cat >conftest.
$ac_ext <<_ACEOF
15949 cat confdefs.h
>>conftest.
$ac_ext
15950 cat >>conftest.
$ac_ext <<_ACEOF
15951 /* end confdefs.h. */
15957 if ((uint64_t *) 0)
15959 if (sizeof (uint64_t))
15965 rm -f conftest.
$ac_objext
15966 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15967 (eval $ac_compile) 2>conftest.er1
15969 grep -v '^ *+' conftest.er1
>conftest.err
15971 cat conftest.err
>&5
15972 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15973 (exit $ac_status); } &&
15974 { ac_try
='test -z "$ac_c_werror_flag"
15975 || test ! -s conftest.err'
15976 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15977 (eval $ac_try) 2>&5
15979 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15980 (exit $ac_status); }; } &&
15981 { ac_try
='test -s conftest.$ac_objext'
15982 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15983 (eval $ac_try) 2>&5
15985 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15986 (exit $ac_status); }; }; then
15987 ac_cv_type_uint64_t
=yes
15989 echo "$as_me: failed program was:" >&5
15990 sed 's/^/| /' conftest.
$ac_ext >&5
15992 ac_cv_type_uint64_t
=no
15994 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
15996 echo "$as_me:$LINENO: result: $ac_cv_type_uint64_t" >&5
15997 echo "${ECHO_T}$ac_cv_type_uint64_t" >&6
15998 if test $ac_cv_type_uint64_t = yes; then
16004 inttypes.h sys
/inttypes.h stdint.h
$inttype_headers
16008 echo "$as_me:$LINENO: checking for stdint uint32_t" >&5
16009 echo $ECHO_N "checking for stdint uint32_t... $ECHO_C" >&6
16012 echo "$as_me:$LINENO: result: $ac_cv_header_stdint_o" >&5
16013 echo "${ECHO_T}$ac_cv_header_stdint_o" >&6
16017 if test "_$ac_cv_header_stdint_x" = "_" ; then
16018 if test "_$ac_cv_header_stdint_o" = "_" ; then
16020 echo "$as_me:$LINENO: checking for stdint u_int32_t" >&5
16021 echo $ECHO_N "checking for stdint u_int32_t... $ECHO_C" >&6
16022 if test "${ac_cv_header_stdint_u+set}" = set; then
16023 echo $ECHO_N "(cached) $ECHO_C" >&6
16026 ac_cv_header_stdint_u
="" # the BSD typedefs (sys/types.h)
16027 echo "$as_me:$LINENO: result: (..)" >&5
16028 echo "${ECHO_T}(..)" >&6
16029 for i
in sys
/types.h inttypes.h sys
/inttypes.h
$inttype_headers ; do
16030 unset ac_cv_type_u_int32_t
16031 unset ac_cv_type_u_int64_t
16032 echo "$as_me:$LINENO: checking for u_int32_t" >&5
16033 echo $ECHO_N "checking for u_int32_t... $ECHO_C" >&6
16034 if test "${ac_cv_type_u_int32_t+set}" = set; then
16035 echo $ECHO_N "(cached) $ECHO_C" >&6
16037 cat >conftest.
$ac_ext <<_ACEOF
16040 cat confdefs.h
>>conftest.
$ac_ext
16041 cat >>conftest.
$ac_ext <<_ACEOF
16042 /* end confdefs.h. */
16048 if ((u_int32_t *) 0)
16050 if (sizeof (u_int32_t))
16056 rm -f conftest.
$ac_objext
16057 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16058 (eval $ac_compile) 2>conftest.er1
16060 grep -v '^ *+' conftest.er1
>conftest.err
16062 cat conftest.err
>&5
16063 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16064 (exit $ac_status); } &&
16065 { ac_try
='test -z "$ac_c_werror_flag"
16066 || test ! -s conftest.err'
16067 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16068 (eval $ac_try) 2>&5
16070 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16071 (exit $ac_status); }; } &&
16072 { ac_try
='test -s conftest.$ac_objext'
16073 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16074 (eval $ac_try) 2>&5
16076 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16077 (exit $ac_status); }; }; then
16078 ac_cv_type_u_int32_t
=yes
16080 echo "$as_me: failed program was:" >&5
16081 sed 's/^/| /' conftest.
$ac_ext >&5
16083 ac_cv_type_u_int32_t
=no
16085 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
16087 echo "$as_me:$LINENO: result: $ac_cv_type_u_int32_t" >&5
16088 echo "${ECHO_T}$ac_cv_type_u_int32_t" >&6
16089 if test $ac_cv_type_u_int32_t = yes; then
16090 ac_cv_header_stdint_u
=$i
16095 echo "$as_me:$LINENO: checking for u_int64_t" >&5
16096 echo $ECHO_N "checking for u_int64_t... $ECHO_C" >&6
16097 if test "${ac_cv_type_u_int64_t+set}" = set; then
16098 echo $ECHO_N "(cached) $ECHO_C" >&6
16100 cat >conftest.
$ac_ext <<_ACEOF
16103 cat confdefs.h
>>conftest.
$ac_ext
16104 cat >>conftest.
$ac_ext <<_ACEOF
16105 /* end confdefs.h. */
16111 if ((u_int64_t *) 0)
16113 if (sizeof (u_int64_t))
16119 rm -f conftest.
$ac_objext
16120 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16121 (eval $ac_compile) 2>conftest.er1
16123 grep -v '^ *+' conftest.er1
>conftest.err
16125 cat conftest.err
>&5
16126 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16127 (exit $ac_status); } &&
16128 { ac_try
='test -z "$ac_c_werror_flag"
16129 || test ! -s conftest.err'
16130 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16131 (eval $ac_try) 2>&5
16133 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16134 (exit $ac_status); }; } &&
16135 { ac_try
='test -s conftest.$ac_objext'
16136 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16137 (eval $ac_try) 2>&5
16139 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16140 (exit $ac_status); }; }; then
16141 ac_cv_type_u_int64_t
=yes
16143 echo "$as_me: failed program was:" >&5
16144 sed 's/^/| /' conftest.
$ac_ext >&5
16146 ac_cv_type_u_int64_t
=no
16148 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
16150 echo "$as_me:$LINENO: result: $ac_cv_type_u_int64_t" >&5
16151 echo "${ECHO_T}$ac_cv_type_u_int64_t" >&6
16152 if test $ac_cv_type_u_int64_t = yes; then
16158 sys
/types.h inttypes.h sys
/inttypes.h
$inttype_headers
16162 echo "$as_me:$LINENO: checking for stdint u_int32_t" >&5
16163 echo $ECHO_N "checking for stdint u_int32_t... $ECHO_C" >&6
16166 echo "$as_me:$LINENO: result: $ac_cv_header_stdint_u" >&5
16167 echo "${ECHO_T}$ac_cv_header_stdint_u" >&6
16171 if test "_$ac_cv_header_stdint_x" = "_" ; then
16172 echo "$as_me:$LINENO: checking for stdint datatype model" >&5
16173 echo $ECHO_N "checking for stdint datatype model... $ECHO_C" >&6
16174 echo "$as_me:$LINENO: result: (..)" >&5
16175 echo "${ECHO_T}(..)" >&6
16177 echo "$as_me:$LINENO: checking for char" >&5
16178 echo $ECHO_N "checking for char... $ECHO_C" >&6
16179 if test "${ac_cv_type_char+set}" = set; then
16180 echo $ECHO_N "(cached) $ECHO_C" >&6
16182 cat >conftest.
$ac_ext <<_ACEOF
16185 cat confdefs.h
>>conftest.
$ac_ext
16186 cat >>conftest.
$ac_ext <<_ACEOF
16187 /* end confdefs.h. */
16188 $ac_includes_default
16200 rm -f conftest.
$ac_objext
16201 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16202 (eval $ac_compile) 2>conftest.er1
16204 grep -v '^ *+' conftest.er1
>conftest.err
16206 cat conftest.err
>&5
16207 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16208 (exit $ac_status); } &&
16209 { ac_try
='test -z "$ac_c_werror_flag"
16210 || test ! -s conftest.err'
16211 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16212 (eval $ac_try) 2>&5
16214 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16215 (exit $ac_status); }; } &&
16216 { ac_try
='test -s conftest.$ac_objext'
16217 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16218 (eval $ac_try) 2>&5
16220 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16221 (exit $ac_status); }; }; then
16222 ac_cv_type_char
=yes
16224 echo "$as_me: failed program was:" >&5
16225 sed 's/^/| /' conftest.
$ac_ext >&5
16229 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
16231 echo "$as_me:$LINENO: result: $ac_cv_type_char" >&5
16232 echo "${ECHO_T}$ac_cv_type_char" >&6
16234 echo "$as_me:$LINENO: checking size of char" >&5
16235 echo $ECHO_N "checking size of char... $ECHO_C" >&6
16236 if test "${ac_cv_sizeof_char+set}" = set; then
16237 echo $ECHO_N "(cached) $ECHO_C" >&6
16239 if test "$ac_cv_type_char" = yes; then
16240 # The cast to unsigned long works around a bug in the HP C Compiler
16241 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
16242 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
16243 # This bug is HP SR number 8606223364.
16244 if test "$cross_compiling" = yes; then
16245 # Depending upon the size, compute the lo and hi bounds.
16246 cat >conftest.
$ac_ext <<_ACEOF
16249 cat confdefs.h
>>conftest.
$ac_ext
16250 cat >>conftest.
$ac_ext <<_ACEOF
16251 /* end confdefs.h. */
16252 $ac_includes_default
16256 static int test_array [1 - 2 * !(((long) (sizeof (char))) >= 0)];
16263 rm -f conftest.
$ac_objext
16264 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16265 (eval $ac_compile) 2>conftest.er1
16267 grep -v '^ *+' conftest.er1
>conftest.err
16269 cat conftest.err
>&5
16270 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16271 (exit $ac_status); } &&
16272 { ac_try
='test -z "$ac_c_werror_flag"
16273 || test ! -s conftest.err'
16274 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16275 (eval $ac_try) 2>&5
16277 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16278 (exit $ac_status); }; } &&
16279 { ac_try
='test -s conftest.$ac_objext'
16280 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16281 (eval $ac_try) 2>&5
16283 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16284 (exit $ac_status); }; }; then
16287 cat >conftest.
$ac_ext <<_ACEOF
16290 cat confdefs.h
>>conftest.
$ac_ext
16291 cat >>conftest.
$ac_ext <<_ACEOF
16292 /* end confdefs.h. */
16293 $ac_includes_default
16297 static int test_array [1 - 2 * !(((long) (sizeof (char))) <= $ac_mid)];
16304 rm -f conftest.
$ac_objext
16305 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16306 (eval $ac_compile) 2>conftest.er1
16308 grep -v '^ *+' conftest.er1
>conftest.err
16310 cat conftest.err
>&5
16311 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16312 (exit $ac_status); } &&
16313 { ac_try
='test -z "$ac_c_werror_flag"
16314 || test ! -s conftest.err'
16315 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16316 (eval $ac_try) 2>&5
16318 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16319 (exit $ac_status); }; } &&
16320 { ac_try
='test -s conftest.$ac_objext'
16321 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16322 (eval $ac_try) 2>&5
16324 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16325 (exit $ac_status); }; }; then
16326 ac_hi
=$ac_mid; break
16328 echo "$as_me: failed program was:" >&5
16329 sed 's/^/| /' conftest.
$ac_ext >&5
16331 ac_lo
=`expr $ac_mid + 1`
16332 if test $ac_lo -le $ac_mid; then
16336 ac_mid
=`expr 2 '*' $ac_mid + 1`
16338 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
16341 echo "$as_me: failed program was:" >&5
16342 sed 's/^/| /' conftest.
$ac_ext >&5
16344 cat >conftest.
$ac_ext <<_ACEOF
16347 cat confdefs.h
>>conftest.
$ac_ext
16348 cat >>conftest.
$ac_ext <<_ACEOF
16349 /* end confdefs.h. */
16350 $ac_includes_default
16354 static int test_array [1 - 2 * !(((long) (sizeof (char))) < 0)];
16361 rm -f conftest.
$ac_objext
16362 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16363 (eval $ac_compile) 2>conftest.er1
16365 grep -v '^ *+' conftest.er1
>conftest.err
16367 cat conftest.err
>&5
16368 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16369 (exit $ac_status); } &&
16370 { ac_try
='test -z "$ac_c_werror_flag"
16371 || test ! -s conftest.err'
16372 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16373 (eval $ac_try) 2>&5
16375 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16376 (exit $ac_status); }; } &&
16377 { ac_try
='test -s conftest.$ac_objext'
16378 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16379 (eval $ac_try) 2>&5
16381 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16382 (exit $ac_status); }; }; then
16385 cat >conftest.
$ac_ext <<_ACEOF
16388 cat confdefs.h
>>conftest.
$ac_ext
16389 cat >>conftest.
$ac_ext <<_ACEOF
16390 /* end confdefs.h. */
16391 $ac_includes_default
16395 static int test_array [1 - 2 * !(((long) (sizeof (char))) >= $ac_mid)];
16402 rm -f conftest.
$ac_objext
16403 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16404 (eval $ac_compile) 2>conftest.er1
16406 grep -v '^ *+' conftest.er1
>conftest.err
16408 cat conftest.err
>&5
16409 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16410 (exit $ac_status); } &&
16411 { ac_try
='test -z "$ac_c_werror_flag"
16412 || test ! -s conftest.err'
16413 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16414 (eval $ac_try) 2>&5
16416 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16417 (exit $ac_status); }; } &&
16418 { ac_try
='test -s conftest.$ac_objext'
16419 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16420 (eval $ac_try) 2>&5
16422 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16423 (exit $ac_status); }; }; then
16424 ac_lo
=$ac_mid; break
16426 echo "$as_me: failed program was:" >&5
16427 sed 's/^/| /' conftest.
$ac_ext >&5
16429 ac_hi
=`expr '(' $ac_mid ')' - 1`
16430 if test $ac_mid -le $ac_hi; then
16434 ac_mid
=`expr 2 '*' $ac_mid`
16436 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
16439 echo "$as_me: failed program was:" >&5
16440 sed 's/^/| /' conftest.
$ac_ext >&5
16444 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
16446 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
16447 # Binary search between lo and hi bounds.
16448 while test "x$ac_lo" != "x$ac_hi"; do
16449 ac_mid
=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
16450 cat >conftest.
$ac_ext <<_ACEOF
16453 cat confdefs.h
>>conftest.
$ac_ext
16454 cat >>conftest.
$ac_ext <<_ACEOF
16455 /* end confdefs.h. */
16456 $ac_includes_default
16460 static int test_array [1 - 2 * !(((long) (sizeof (char))) <= $ac_mid)];
16467 rm -f conftest.
$ac_objext
16468 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16469 (eval $ac_compile) 2>conftest.er1
16471 grep -v '^ *+' conftest.er1
>conftest.err
16473 cat conftest.err
>&5
16474 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16475 (exit $ac_status); } &&
16476 { ac_try
='test -z "$ac_c_werror_flag"
16477 || test ! -s conftest.err'
16478 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16479 (eval $ac_try) 2>&5
16481 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16482 (exit $ac_status); }; } &&
16483 { ac_try
='test -s conftest.$ac_objext'
16484 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16485 (eval $ac_try) 2>&5
16487 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16488 (exit $ac_status); }; }; then
16491 echo "$as_me: failed program was:" >&5
16492 sed 's/^/| /' conftest.
$ac_ext >&5
16494 ac_lo
=`expr '(' $ac_mid ')' + 1`
16496 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
16499 ?
*) ac_cv_sizeof_char
=$ac_lo;;
16500 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (char), 77
16501 See \`config.log' for more details." >&5
16502 echo "$as_me: error: cannot compute sizeof (char), 77
16503 See \`config.log' for more details." >&2;}
16504 { (exit 1); exit 1; }; } ;;
16507 if test "$cross_compiling" = yes; then
16508 { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
16509 See \`config.log' for more details." >&5
16510 echo "$as_me: error: cannot run test program while cross compiling
16511 See \`config.log' for more details." >&2;}
16512 { (exit 1); exit 1; }; }
16514 cat >conftest.
$ac_ext <<_ACEOF
16517 cat confdefs.h
>>conftest.
$ac_ext
16518 cat >>conftest.
$ac_ext <<_ACEOF
16519 /* end confdefs.h. */
16520 $ac_includes_default
16521 long longval () { return (long) (sizeof (char)); }
16522 unsigned long ulongval () { return (long) (sizeof (char)); }
16524 #include <stdlib.h>
16529 FILE *f = fopen ("conftest.val", "w");
16532 if (((long) (sizeof (char))) < 0)
16534 long i = longval ();
16535 if (i != ((long) (sizeof (char))))
16537 fprintf (f, "%ld\n", i);
16541 unsigned long i = ulongval ();
16542 if (i != ((long) (sizeof (char))))
16544 fprintf (f, "%lu\n", i);
16546 exit (ferror (f) || fclose (f) != 0);
16552 rm -f conftest
$ac_exeext
16553 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
16554 (eval $ac_link) 2>&5
16556 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16557 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
16558 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16559 (eval $ac_try) 2>&5
16561 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16562 (exit $ac_status); }; }; then
16563 ac_cv_sizeof_char
=`cat conftest.val`
16565 echo "$as_me: program exited with status $ac_status" >&5
16566 echo "$as_me: failed program was:" >&5
16567 sed 's/^/| /' conftest.
$ac_ext >&5
16569 ( exit $ac_status )
16570 { { echo "$as_me:$LINENO: error: cannot compute sizeof (char), 77
16571 See \`config.log' for more details." >&5
16572 echo "$as_me: error: cannot compute sizeof (char), 77
16573 See \`config.log' for more details." >&2;}
16574 { (exit 1); exit 1; }; }
16576 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
16581 ac_cv_sizeof_char
=0
16584 echo "$as_me:$LINENO: result: $ac_cv_sizeof_char" >&5
16585 echo "${ECHO_T}$ac_cv_sizeof_char" >&6
16586 cat >>confdefs.h
<<_ACEOF
16587 #define SIZEOF_CHAR $ac_cv_sizeof_char
16591 echo "$as_me:$LINENO: checking for short" >&5
16592 echo $ECHO_N "checking for short... $ECHO_C" >&6
16593 if test "${ac_cv_type_short+set}" = set; then
16594 echo $ECHO_N "(cached) $ECHO_C" >&6
16596 cat >conftest.
$ac_ext <<_ACEOF
16599 cat confdefs.h
>>conftest.
$ac_ext
16600 cat >>conftest.
$ac_ext <<_ACEOF
16601 /* end confdefs.h. */
16602 $ac_includes_default
16608 if (sizeof (short))
16614 rm -f conftest.
$ac_objext
16615 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16616 (eval $ac_compile) 2>conftest.er1
16618 grep -v '^ *+' conftest.er1
>conftest.err
16620 cat conftest.err
>&5
16621 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16622 (exit $ac_status); } &&
16623 { ac_try
='test -z "$ac_c_werror_flag"
16624 || test ! -s conftest.err'
16625 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16626 (eval $ac_try) 2>&5
16628 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16629 (exit $ac_status); }; } &&
16630 { ac_try
='test -s conftest.$ac_objext'
16631 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16632 (eval $ac_try) 2>&5
16634 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16635 (exit $ac_status); }; }; then
16636 ac_cv_type_short
=yes
16638 echo "$as_me: failed program was:" >&5
16639 sed 's/^/| /' conftest.
$ac_ext >&5
16641 ac_cv_type_short
=no
16643 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
16645 echo "$as_me:$LINENO: result: $ac_cv_type_short" >&5
16646 echo "${ECHO_T}$ac_cv_type_short" >&6
16648 echo "$as_me:$LINENO: checking size of short" >&5
16649 echo $ECHO_N "checking size of short... $ECHO_C" >&6
16650 if test "${ac_cv_sizeof_short+set}" = set; then
16651 echo $ECHO_N "(cached) $ECHO_C" >&6
16653 if test "$ac_cv_type_short" = yes; then
16654 # The cast to unsigned long works around a bug in the HP C Compiler
16655 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
16656 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
16657 # This bug is HP SR number 8606223364.
16658 if test "$cross_compiling" = yes; then
16659 # Depending upon the size, compute the lo and hi bounds.
16660 cat >conftest.
$ac_ext <<_ACEOF
16663 cat confdefs.h
>>conftest.
$ac_ext
16664 cat >>conftest.
$ac_ext <<_ACEOF
16665 /* end confdefs.h. */
16666 $ac_includes_default
16670 static int test_array [1 - 2 * !(((long) (sizeof (short))) >= 0)];
16677 rm -f conftest.
$ac_objext
16678 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16679 (eval $ac_compile) 2>conftest.er1
16681 grep -v '^ *+' conftest.er1
>conftest.err
16683 cat conftest.err
>&5
16684 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16685 (exit $ac_status); } &&
16686 { ac_try
='test -z "$ac_c_werror_flag"
16687 || test ! -s conftest.err'
16688 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16689 (eval $ac_try) 2>&5
16691 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16692 (exit $ac_status); }; } &&
16693 { ac_try
='test -s conftest.$ac_objext'
16694 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16695 (eval $ac_try) 2>&5
16697 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16698 (exit $ac_status); }; }; then
16701 cat >conftest.
$ac_ext <<_ACEOF
16704 cat confdefs.h
>>conftest.
$ac_ext
16705 cat >>conftest.
$ac_ext <<_ACEOF
16706 /* end confdefs.h. */
16707 $ac_includes_default
16711 static int test_array [1 - 2 * !(((long) (sizeof (short))) <= $ac_mid)];
16718 rm -f conftest.
$ac_objext
16719 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16720 (eval $ac_compile) 2>conftest.er1
16722 grep -v '^ *+' conftest.er1
>conftest.err
16724 cat conftest.err
>&5
16725 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16726 (exit $ac_status); } &&
16727 { ac_try
='test -z "$ac_c_werror_flag"
16728 || test ! -s conftest.err'
16729 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16730 (eval $ac_try) 2>&5
16732 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16733 (exit $ac_status); }; } &&
16734 { ac_try
='test -s conftest.$ac_objext'
16735 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16736 (eval $ac_try) 2>&5
16738 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16739 (exit $ac_status); }; }; then
16740 ac_hi
=$ac_mid; break
16742 echo "$as_me: failed program was:" >&5
16743 sed 's/^/| /' conftest.
$ac_ext >&5
16745 ac_lo
=`expr $ac_mid + 1`
16746 if test $ac_lo -le $ac_mid; then
16750 ac_mid
=`expr 2 '*' $ac_mid + 1`
16752 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
16755 echo "$as_me: failed program was:" >&5
16756 sed 's/^/| /' conftest.
$ac_ext >&5
16758 cat >conftest.
$ac_ext <<_ACEOF
16761 cat confdefs.h
>>conftest.
$ac_ext
16762 cat >>conftest.
$ac_ext <<_ACEOF
16763 /* end confdefs.h. */
16764 $ac_includes_default
16768 static int test_array [1 - 2 * !(((long) (sizeof (short))) < 0)];
16775 rm -f conftest.
$ac_objext
16776 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16777 (eval $ac_compile) 2>conftest.er1
16779 grep -v '^ *+' conftest.er1
>conftest.err
16781 cat conftest.err
>&5
16782 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16783 (exit $ac_status); } &&
16784 { ac_try
='test -z "$ac_c_werror_flag"
16785 || test ! -s conftest.err'
16786 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16787 (eval $ac_try) 2>&5
16789 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16790 (exit $ac_status); }; } &&
16791 { ac_try
='test -s conftest.$ac_objext'
16792 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16793 (eval $ac_try) 2>&5
16795 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16796 (exit $ac_status); }; }; then
16799 cat >conftest.
$ac_ext <<_ACEOF
16802 cat confdefs.h
>>conftest.
$ac_ext
16803 cat >>conftest.
$ac_ext <<_ACEOF
16804 /* end confdefs.h. */
16805 $ac_includes_default
16809 static int test_array [1 - 2 * !(((long) (sizeof (short))) >= $ac_mid)];
16816 rm -f conftest.
$ac_objext
16817 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16818 (eval $ac_compile) 2>conftest.er1
16820 grep -v '^ *+' conftest.er1
>conftest.err
16822 cat conftest.err
>&5
16823 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16824 (exit $ac_status); } &&
16825 { ac_try
='test -z "$ac_c_werror_flag"
16826 || test ! -s conftest.err'
16827 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16828 (eval $ac_try) 2>&5
16830 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16831 (exit $ac_status); }; } &&
16832 { ac_try
='test -s conftest.$ac_objext'
16833 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16834 (eval $ac_try) 2>&5
16836 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16837 (exit $ac_status); }; }; then
16838 ac_lo
=$ac_mid; break
16840 echo "$as_me: failed program was:" >&5
16841 sed 's/^/| /' conftest.
$ac_ext >&5
16843 ac_hi
=`expr '(' $ac_mid ')' - 1`
16844 if test $ac_mid -le $ac_hi; then
16848 ac_mid
=`expr 2 '*' $ac_mid`
16850 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
16853 echo "$as_me: failed program was:" >&5
16854 sed 's/^/| /' conftest.
$ac_ext >&5
16858 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
16860 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
16861 # Binary search between lo and hi bounds.
16862 while test "x$ac_lo" != "x$ac_hi"; do
16863 ac_mid
=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
16864 cat >conftest.
$ac_ext <<_ACEOF
16867 cat confdefs.h
>>conftest.
$ac_ext
16868 cat >>conftest.
$ac_ext <<_ACEOF
16869 /* end confdefs.h. */
16870 $ac_includes_default
16874 static int test_array [1 - 2 * !(((long) (sizeof (short))) <= $ac_mid)];
16881 rm -f conftest.
$ac_objext
16882 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16883 (eval $ac_compile) 2>conftest.er1
16885 grep -v '^ *+' conftest.er1
>conftest.err
16887 cat conftest.err
>&5
16888 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16889 (exit $ac_status); } &&
16890 { ac_try
='test -z "$ac_c_werror_flag"
16891 || test ! -s conftest.err'
16892 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16893 (eval $ac_try) 2>&5
16895 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16896 (exit $ac_status); }; } &&
16897 { ac_try
='test -s conftest.$ac_objext'
16898 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16899 (eval $ac_try) 2>&5
16901 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16902 (exit $ac_status); }; }; then
16905 echo "$as_me: failed program was:" >&5
16906 sed 's/^/| /' conftest.
$ac_ext >&5
16908 ac_lo
=`expr '(' $ac_mid ')' + 1`
16910 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
16913 ?
*) ac_cv_sizeof_short
=$ac_lo;;
16914 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (short), 77
16915 See \`config.log' for more details." >&5
16916 echo "$as_me: error: cannot compute sizeof (short), 77
16917 See \`config.log' for more details." >&2;}
16918 { (exit 1); exit 1; }; } ;;
16921 if test "$cross_compiling" = yes; then
16922 { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
16923 See \`config.log' for more details." >&5
16924 echo "$as_me: error: cannot run test program while cross compiling
16925 See \`config.log' for more details." >&2;}
16926 { (exit 1); exit 1; }; }
16928 cat >conftest.
$ac_ext <<_ACEOF
16931 cat confdefs.h
>>conftest.
$ac_ext
16932 cat >>conftest.
$ac_ext <<_ACEOF
16933 /* end confdefs.h. */
16934 $ac_includes_default
16935 long longval () { return (long) (sizeof (short)); }
16936 unsigned long ulongval () { return (long) (sizeof (short)); }
16938 #include <stdlib.h>
16943 FILE *f = fopen ("conftest.val", "w");
16946 if (((long) (sizeof (short))) < 0)
16948 long i = longval ();
16949 if (i != ((long) (sizeof (short))))
16951 fprintf (f, "%ld\n", i);
16955 unsigned long i = ulongval ();
16956 if (i != ((long) (sizeof (short))))
16958 fprintf (f, "%lu\n", i);
16960 exit (ferror (f) || fclose (f) != 0);
16966 rm -f conftest
$ac_exeext
16967 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
16968 (eval $ac_link) 2>&5
16970 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16971 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
16972 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16973 (eval $ac_try) 2>&5
16975 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16976 (exit $ac_status); }; }; then
16977 ac_cv_sizeof_short
=`cat conftest.val`
16979 echo "$as_me: program exited with status $ac_status" >&5
16980 echo "$as_me: failed program was:" >&5
16981 sed 's/^/| /' conftest.
$ac_ext >&5
16983 ( exit $ac_status )
16984 { { echo "$as_me:$LINENO: error: cannot compute sizeof (short), 77
16985 See \`config.log' for more details." >&5
16986 echo "$as_me: error: cannot compute sizeof (short), 77
16987 See \`config.log' for more details." >&2;}
16988 { (exit 1); exit 1; }; }
16990 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
16995 ac_cv_sizeof_short
=0
16998 echo "$as_me:$LINENO: result: $ac_cv_sizeof_short" >&5
16999 echo "${ECHO_T}$ac_cv_sizeof_short" >&6
17000 cat >>confdefs.h
<<_ACEOF
17001 #define SIZEOF_SHORT $ac_cv_sizeof_short
17005 echo "$as_me:$LINENO: checking for int" >&5
17006 echo $ECHO_N "checking for int... $ECHO_C" >&6
17007 if test "${ac_cv_type_int+set}" = set; then
17008 echo $ECHO_N "(cached) $ECHO_C" >&6
17010 cat >conftest.
$ac_ext <<_ACEOF
17013 cat confdefs.h
>>conftest.
$ac_ext
17014 cat >>conftest.
$ac_ext <<_ACEOF
17015 /* end confdefs.h. */
17016 $ac_includes_default
17028 rm -f conftest.
$ac_objext
17029 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17030 (eval $ac_compile) 2>conftest.er1
17032 grep -v '^ *+' conftest.er1
>conftest.err
17034 cat conftest.err
>&5
17035 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17036 (exit $ac_status); } &&
17037 { ac_try
='test -z "$ac_c_werror_flag"
17038 || test ! -s conftest.err'
17039 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17040 (eval $ac_try) 2>&5
17042 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17043 (exit $ac_status); }; } &&
17044 { ac_try
='test -s conftest.$ac_objext'
17045 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17046 (eval $ac_try) 2>&5
17048 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17049 (exit $ac_status); }; }; then
17052 echo "$as_me: failed program was:" >&5
17053 sed 's/^/| /' conftest.
$ac_ext >&5
17057 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
17059 echo "$as_me:$LINENO: result: $ac_cv_type_int" >&5
17060 echo "${ECHO_T}$ac_cv_type_int" >&6
17062 echo "$as_me:$LINENO: checking size of int" >&5
17063 echo $ECHO_N "checking size of int... $ECHO_C" >&6
17064 if test "${ac_cv_sizeof_int+set}" = set; then
17065 echo $ECHO_N "(cached) $ECHO_C" >&6
17067 if test "$ac_cv_type_int" = yes; then
17068 # The cast to unsigned long works around a bug in the HP C Compiler
17069 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
17070 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
17071 # This bug is HP SR number 8606223364.
17072 if test "$cross_compiling" = yes; then
17073 # Depending upon the size, compute the lo and hi bounds.
17074 cat >conftest.
$ac_ext <<_ACEOF
17077 cat confdefs.h
>>conftest.
$ac_ext
17078 cat >>conftest.
$ac_ext <<_ACEOF
17079 /* end confdefs.h. */
17080 $ac_includes_default
17084 static int test_array [1 - 2 * !(((long) (sizeof (int))) >= 0)];
17091 rm -f conftest.
$ac_objext
17092 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17093 (eval $ac_compile) 2>conftest.er1
17095 grep -v '^ *+' conftest.er1
>conftest.err
17097 cat conftest.err
>&5
17098 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17099 (exit $ac_status); } &&
17100 { ac_try
='test -z "$ac_c_werror_flag"
17101 || test ! -s conftest.err'
17102 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17103 (eval $ac_try) 2>&5
17105 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17106 (exit $ac_status); }; } &&
17107 { ac_try
='test -s conftest.$ac_objext'
17108 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17109 (eval $ac_try) 2>&5
17111 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17112 (exit $ac_status); }; }; then
17115 cat >conftest.
$ac_ext <<_ACEOF
17118 cat confdefs.h
>>conftest.
$ac_ext
17119 cat >>conftest.
$ac_ext <<_ACEOF
17120 /* end confdefs.h. */
17121 $ac_includes_default
17125 static int test_array [1 - 2 * !(((long) (sizeof (int))) <= $ac_mid)];
17132 rm -f conftest.
$ac_objext
17133 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17134 (eval $ac_compile) 2>conftest.er1
17136 grep -v '^ *+' conftest.er1
>conftest.err
17138 cat conftest.err
>&5
17139 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17140 (exit $ac_status); } &&
17141 { ac_try
='test -z "$ac_c_werror_flag"
17142 || test ! -s conftest.err'
17143 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17144 (eval $ac_try) 2>&5
17146 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17147 (exit $ac_status); }; } &&
17148 { ac_try
='test -s conftest.$ac_objext'
17149 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17150 (eval $ac_try) 2>&5
17152 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17153 (exit $ac_status); }; }; then
17154 ac_hi
=$ac_mid; break
17156 echo "$as_me: failed program was:" >&5
17157 sed 's/^/| /' conftest.
$ac_ext >&5
17159 ac_lo
=`expr $ac_mid + 1`
17160 if test $ac_lo -le $ac_mid; then
17164 ac_mid
=`expr 2 '*' $ac_mid + 1`
17166 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
17169 echo "$as_me: failed program was:" >&5
17170 sed 's/^/| /' conftest.
$ac_ext >&5
17172 cat >conftest.
$ac_ext <<_ACEOF
17175 cat confdefs.h
>>conftest.
$ac_ext
17176 cat >>conftest.
$ac_ext <<_ACEOF
17177 /* end confdefs.h. */
17178 $ac_includes_default
17182 static int test_array [1 - 2 * !(((long) (sizeof (int))) < 0)];
17189 rm -f conftest.
$ac_objext
17190 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17191 (eval $ac_compile) 2>conftest.er1
17193 grep -v '^ *+' conftest.er1
>conftest.err
17195 cat conftest.err
>&5
17196 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17197 (exit $ac_status); } &&
17198 { ac_try
='test -z "$ac_c_werror_flag"
17199 || test ! -s conftest.err'
17200 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17201 (eval $ac_try) 2>&5
17203 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17204 (exit $ac_status); }; } &&
17205 { ac_try
='test -s conftest.$ac_objext'
17206 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17207 (eval $ac_try) 2>&5
17209 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17210 (exit $ac_status); }; }; then
17213 cat >conftest.
$ac_ext <<_ACEOF
17216 cat confdefs.h
>>conftest.
$ac_ext
17217 cat >>conftest.
$ac_ext <<_ACEOF
17218 /* end confdefs.h. */
17219 $ac_includes_default
17223 static int test_array [1 - 2 * !(((long) (sizeof (int))) >= $ac_mid)];
17230 rm -f conftest.
$ac_objext
17231 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17232 (eval $ac_compile) 2>conftest.er1
17234 grep -v '^ *+' conftest.er1
>conftest.err
17236 cat conftest.err
>&5
17237 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17238 (exit $ac_status); } &&
17239 { ac_try
='test -z "$ac_c_werror_flag"
17240 || test ! -s conftest.err'
17241 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17242 (eval $ac_try) 2>&5
17244 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17245 (exit $ac_status); }; } &&
17246 { ac_try
='test -s conftest.$ac_objext'
17247 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17248 (eval $ac_try) 2>&5
17250 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17251 (exit $ac_status); }; }; then
17252 ac_lo
=$ac_mid; break
17254 echo "$as_me: failed program was:" >&5
17255 sed 's/^/| /' conftest.
$ac_ext >&5
17257 ac_hi
=`expr '(' $ac_mid ')' - 1`
17258 if test $ac_mid -le $ac_hi; then
17262 ac_mid
=`expr 2 '*' $ac_mid`
17264 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
17267 echo "$as_me: failed program was:" >&5
17268 sed 's/^/| /' conftest.
$ac_ext >&5
17272 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
17274 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
17275 # Binary search between lo and hi bounds.
17276 while test "x$ac_lo" != "x$ac_hi"; do
17277 ac_mid
=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
17278 cat >conftest.
$ac_ext <<_ACEOF
17281 cat confdefs.h
>>conftest.
$ac_ext
17282 cat >>conftest.
$ac_ext <<_ACEOF
17283 /* end confdefs.h. */
17284 $ac_includes_default
17288 static int test_array [1 - 2 * !(((long) (sizeof (int))) <= $ac_mid)];
17295 rm -f conftest.
$ac_objext
17296 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17297 (eval $ac_compile) 2>conftest.er1
17299 grep -v '^ *+' conftest.er1
>conftest.err
17301 cat conftest.err
>&5
17302 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17303 (exit $ac_status); } &&
17304 { ac_try
='test -z "$ac_c_werror_flag"
17305 || test ! -s conftest.err'
17306 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17307 (eval $ac_try) 2>&5
17309 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17310 (exit $ac_status); }; } &&
17311 { ac_try
='test -s conftest.$ac_objext'
17312 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17313 (eval $ac_try) 2>&5
17315 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17316 (exit $ac_status); }; }; then
17319 echo "$as_me: failed program was:" >&5
17320 sed 's/^/| /' conftest.
$ac_ext >&5
17322 ac_lo
=`expr '(' $ac_mid ')' + 1`
17324 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
17327 ?
*) ac_cv_sizeof_int
=$ac_lo;;
17328 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (int), 77
17329 See \`config.log' for more details." >&5
17330 echo "$as_me: error: cannot compute sizeof (int), 77
17331 See \`config.log' for more details." >&2;}
17332 { (exit 1); exit 1; }; } ;;
17335 if test "$cross_compiling" = yes; then
17336 { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
17337 See \`config.log' for more details." >&5
17338 echo "$as_me: error: cannot run test program while cross compiling
17339 See \`config.log' for more details." >&2;}
17340 { (exit 1); exit 1; }; }
17342 cat >conftest.
$ac_ext <<_ACEOF
17345 cat confdefs.h
>>conftest.
$ac_ext
17346 cat >>conftest.
$ac_ext <<_ACEOF
17347 /* end confdefs.h. */
17348 $ac_includes_default
17349 long longval () { return (long) (sizeof (int)); }
17350 unsigned long ulongval () { return (long) (sizeof (int)); }
17352 #include <stdlib.h>
17357 FILE *f = fopen ("conftest.val", "w");
17360 if (((long) (sizeof (int))) < 0)
17362 long i = longval ();
17363 if (i != ((long) (sizeof (int))))
17365 fprintf (f, "%ld\n", i);
17369 unsigned long i = ulongval ();
17370 if (i != ((long) (sizeof (int))))
17372 fprintf (f, "%lu\n", i);
17374 exit (ferror (f) || fclose (f) != 0);
17380 rm -f conftest
$ac_exeext
17381 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
17382 (eval $ac_link) 2>&5
17384 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17385 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
17386 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17387 (eval $ac_try) 2>&5
17389 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17390 (exit $ac_status); }; }; then
17391 ac_cv_sizeof_int
=`cat conftest.val`
17393 echo "$as_me: program exited with status $ac_status" >&5
17394 echo "$as_me: failed program was:" >&5
17395 sed 's/^/| /' conftest.
$ac_ext >&5
17397 ( exit $ac_status )
17398 { { echo "$as_me:$LINENO: error: cannot compute sizeof (int), 77
17399 See \`config.log' for more details." >&5
17400 echo "$as_me: error: cannot compute sizeof (int), 77
17401 See \`config.log' for more details." >&2;}
17402 { (exit 1); exit 1; }; }
17404 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
17412 echo "$as_me:$LINENO: result: $ac_cv_sizeof_int" >&5
17413 echo "${ECHO_T}$ac_cv_sizeof_int" >&6
17414 cat >>confdefs.h
<<_ACEOF
17415 #define SIZEOF_INT $ac_cv_sizeof_int
17419 echo "$as_me:$LINENO: checking for long" >&5
17420 echo $ECHO_N "checking for long... $ECHO_C" >&6
17421 if test "${ac_cv_type_long+set}" = set; then
17422 echo $ECHO_N "(cached) $ECHO_C" >&6
17424 cat >conftest.
$ac_ext <<_ACEOF
17427 cat confdefs.h
>>conftest.
$ac_ext
17428 cat >>conftest.
$ac_ext <<_ACEOF
17429 /* end confdefs.h. */
17430 $ac_includes_default
17442 rm -f conftest.
$ac_objext
17443 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17444 (eval $ac_compile) 2>conftest.er1
17446 grep -v '^ *+' conftest.er1
>conftest.err
17448 cat conftest.err
>&5
17449 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17450 (exit $ac_status); } &&
17451 { ac_try
='test -z "$ac_c_werror_flag"
17452 || test ! -s conftest.err'
17453 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17454 (eval $ac_try) 2>&5
17456 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17457 (exit $ac_status); }; } &&
17458 { ac_try
='test -s conftest.$ac_objext'
17459 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17460 (eval $ac_try) 2>&5
17462 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17463 (exit $ac_status); }; }; then
17464 ac_cv_type_long
=yes
17466 echo "$as_me: failed program was:" >&5
17467 sed 's/^/| /' conftest.
$ac_ext >&5
17471 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
17473 echo "$as_me:$LINENO: result: $ac_cv_type_long" >&5
17474 echo "${ECHO_T}$ac_cv_type_long" >&6
17476 echo "$as_me:$LINENO: checking size of long" >&5
17477 echo $ECHO_N "checking size of long... $ECHO_C" >&6
17478 if test "${ac_cv_sizeof_long+set}" = set; then
17479 echo $ECHO_N "(cached) $ECHO_C" >&6
17481 if test "$ac_cv_type_long" = yes; then
17482 # The cast to unsigned long works around a bug in the HP C Compiler
17483 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
17484 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
17485 # This bug is HP SR number 8606223364.
17486 if test "$cross_compiling" = yes; then
17487 # Depending upon the size, compute the lo and hi bounds.
17488 cat >conftest.
$ac_ext <<_ACEOF
17491 cat confdefs.h
>>conftest.
$ac_ext
17492 cat >>conftest.
$ac_ext <<_ACEOF
17493 /* end confdefs.h. */
17494 $ac_includes_default
17498 static int test_array [1 - 2 * !(((long) (sizeof (long))) >= 0)];
17505 rm -f conftest.
$ac_objext
17506 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17507 (eval $ac_compile) 2>conftest.er1
17509 grep -v '^ *+' conftest.er1
>conftest.err
17511 cat conftest.err
>&5
17512 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17513 (exit $ac_status); } &&
17514 { ac_try
='test -z "$ac_c_werror_flag"
17515 || test ! -s conftest.err'
17516 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17517 (eval $ac_try) 2>&5
17519 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17520 (exit $ac_status); }; } &&
17521 { ac_try
='test -s conftest.$ac_objext'
17522 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17523 (eval $ac_try) 2>&5
17525 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17526 (exit $ac_status); }; }; then
17529 cat >conftest.
$ac_ext <<_ACEOF
17532 cat confdefs.h
>>conftest.
$ac_ext
17533 cat >>conftest.
$ac_ext <<_ACEOF
17534 /* end confdefs.h. */
17535 $ac_includes_default
17539 static int test_array [1 - 2 * !(((long) (sizeof (long))) <= $ac_mid)];
17546 rm -f conftest.
$ac_objext
17547 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17548 (eval $ac_compile) 2>conftest.er1
17550 grep -v '^ *+' conftest.er1
>conftest.err
17552 cat conftest.err
>&5
17553 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17554 (exit $ac_status); } &&
17555 { ac_try
='test -z "$ac_c_werror_flag"
17556 || test ! -s conftest.err'
17557 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17558 (eval $ac_try) 2>&5
17560 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17561 (exit $ac_status); }; } &&
17562 { ac_try
='test -s conftest.$ac_objext'
17563 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17564 (eval $ac_try) 2>&5
17566 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17567 (exit $ac_status); }; }; then
17568 ac_hi
=$ac_mid; break
17570 echo "$as_me: failed program was:" >&5
17571 sed 's/^/| /' conftest.
$ac_ext >&5
17573 ac_lo
=`expr $ac_mid + 1`
17574 if test $ac_lo -le $ac_mid; then
17578 ac_mid
=`expr 2 '*' $ac_mid + 1`
17580 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
17583 echo "$as_me: failed program was:" >&5
17584 sed 's/^/| /' conftest.
$ac_ext >&5
17586 cat >conftest.
$ac_ext <<_ACEOF
17589 cat confdefs.h
>>conftest.
$ac_ext
17590 cat >>conftest.
$ac_ext <<_ACEOF
17591 /* end confdefs.h. */
17592 $ac_includes_default
17596 static int test_array [1 - 2 * !(((long) (sizeof (long))) < 0)];
17603 rm -f conftest.
$ac_objext
17604 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17605 (eval $ac_compile) 2>conftest.er1
17607 grep -v '^ *+' conftest.er1
>conftest.err
17609 cat conftest.err
>&5
17610 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17611 (exit $ac_status); } &&
17612 { ac_try
='test -z "$ac_c_werror_flag"
17613 || test ! -s conftest.err'
17614 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17615 (eval $ac_try) 2>&5
17617 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17618 (exit $ac_status); }; } &&
17619 { ac_try
='test -s conftest.$ac_objext'
17620 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17621 (eval $ac_try) 2>&5
17623 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17624 (exit $ac_status); }; }; then
17627 cat >conftest.
$ac_ext <<_ACEOF
17630 cat confdefs.h
>>conftest.
$ac_ext
17631 cat >>conftest.
$ac_ext <<_ACEOF
17632 /* end confdefs.h. */
17633 $ac_includes_default
17637 static int test_array [1 - 2 * !(((long) (sizeof (long))) >= $ac_mid)];
17644 rm -f conftest.
$ac_objext
17645 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17646 (eval $ac_compile) 2>conftest.er1
17648 grep -v '^ *+' conftest.er1
>conftest.err
17650 cat conftest.err
>&5
17651 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17652 (exit $ac_status); } &&
17653 { ac_try
='test -z "$ac_c_werror_flag"
17654 || test ! -s conftest.err'
17655 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17656 (eval $ac_try) 2>&5
17658 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17659 (exit $ac_status); }; } &&
17660 { ac_try
='test -s conftest.$ac_objext'
17661 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17662 (eval $ac_try) 2>&5
17664 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17665 (exit $ac_status); }; }; then
17666 ac_lo
=$ac_mid; break
17668 echo "$as_me: failed program was:" >&5
17669 sed 's/^/| /' conftest.
$ac_ext >&5
17671 ac_hi
=`expr '(' $ac_mid ')' - 1`
17672 if test $ac_mid -le $ac_hi; then
17676 ac_mid
=`expr 2 '*' $ac_mid`
17678 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
17681 echo "$as_me: failed program was:" >&5
17682 sed 's/^/| /' conftest.
$ac_ext >&5
17686 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
17688 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
17689 # Binary search between lo and hi bounds.
17690 while test "x$ac_lo" != "x$ac_hi"; do
17691 ac_mid
=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
17692 cat >conftest.
$ac_ext <<_ACEOF
17695 cat confdefs.h
>>conftest.
$ac_ext
17696 cat >>conftest.
$ac_ext <<_ACEOF
17697 /* end confdefs.h. */
17698 $ac_includes_default
17702 static int test_array [1 - 2 * !(((long) (sizeof (long))) <= $ac_mid)];
17709 rm -f conftest.
$ac_objext
17710 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17711 (eval $ac_compile) 2>conftest.er1
17713 grep -v '^ *+' conftest.er1
>conftest.err
17715 cat conftest.err
>&5
17716 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17717 (exit $ac_status); } &&
17718 { ac_try
='test -z "$ac_c_werror_flag"
17719 || test ! -s conftest.err'
17720 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17721 (eval $ac_try) 2>&5
17723 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17724 (exit $ac_status); }; } &&
17725 { ac_try
='test -s conftest.$ac_objext'
17726 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17727 (eval $ac_try) 2>&5
17729 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17730 (exit $ac_status); }; }; then
17733 echo "$as_me: failed program was:" >&5
17734 sed 's/^/| /' conftest.
$ac_ext >&5
17736 ac_lo
=`expr '(' $ac_mid ')' + 1`
17738 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
17741 ?
*) ac_cv_sizeof_long
=$ac_lo;;
17742 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (long), 77
17743 See \`config.log' for more details." >&5
17744 echo "$as_me: error: cannot compute sizeof (long), 77
17745 See \`config.log' for more details." >&2;}
17746 { (exit 1); exit 1; }; } ;;
17749 if test "$cross_compiling" = yes; then
17750 { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
17751 See \`config.log' for more details." >&5
17752 echo "$as_me: error: cannot run test program while cross compiling
17753 See \`config.log' for more details." >&2;}
17754 { (exit 1); exit 1; }; }
17756 cat >conftest.
$ac_ext <<_ACEOF
17759 cat confdefs.h
>>conftest.
$ac_ext
17760 cat >>conftest.
$ac_ext <<_ACEOF
17761 /* end confdefs.h. */
17762 $ac_includes_default
17763 long longval () { return (long) (sizeof (long)); }
17764 unsigned long ulongval () { return (long) (sizeof (long)); }
17766 #include <stdlib.h>
17771 FILE *f = fopen ("conftest.val", "w");
17774 if (((long) (sizeof (long))) < 0)
17776 long i = longval ();
17777 if (i != ((long) (sizeof (long))))
17779 fprintf (f, "%ld\n", i);
17783 unsigned long i = ulongval ();
17784 if (i != ((long) (sizeof (long))))
17786 fprintf (f, "%lu\n", i);
17788 exit (ferror (f) || fclose (f) != 0);
17794 rm -f conftest
$ac_exeext
17795 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
17796 (eval $ac_link) 2>&5
17798 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17799 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
17800 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17801 (eval $ac_try) 2>&5
17803 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17804 (exit $ac_status); }; }; then
17805 ac_cv_sizeof_long
=`cat conftest.val`
17807 echo "$as_me: program exited with status $ac_status" >&5
17808 echo "$as_me: failed program was:" >&5
17809 sed 's/^/| /' conftest.
$ac_ext >&5
17811 ( exit $ac_status )
17812 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long), 77
17813 See \`config.log' for more details." >&5
17814 echo "$as_me: error: cannot compute sizeof (long), 77
17815 See \`config.log' for more details." >&2;}
17816 { (exit 1); exit 1; }; }
17818 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
17823 ac_cv_sizeof_long
=0
17826 echo "$as_me:$LINENO: result: $ac_cv_sizeof_long" >&5
17827 echo "${ECHO_T}$ac_cv_sizeof_long" >&6
17828 cat >>confdefs.h
<<_ACEOF
17829 #define SIZEOF_LONG $ac_cv_sizeof_long
17833 echo "$as_me:$LINENO: checking for void*" >&5
17834 echo $ECHO_N "checking for void*... $ECHO_C" >&6
17835 if test "${ac_cv_type_voidp+set}" = set; then
17836 echo $ECHO_N "(cached) $ECHO_C" >&6
17838 cat >conftest.
$ac_ext <<_ACEOF
17841 cat confdefs.h
>>conftest.
$ac_ext
17842 cat >>conftest.
$ac_ext <<_ACEOF
17843 /* end confdefs.h. */
17844 $ac_includes_default
17850 if (sizeof (void*))
17856 rm -f conftest.
$ac_objext
17857 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17858 (eval $ac_compile) 2>conftest.er1
17860 grep -v '^ *+' conftest.er1
>conftest.err
17862 cat conftest.err
>&5
17863 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17864 (exit $ac_status); } &&
17865 { ac_try
='test -z "$ac_c_werror_flag"
17866 || test ! -s conftest.err'
17867 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17868 (eval $ac_try) 2>&5
17870 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17871 (exit $ac_status); }; } &&
17872 { ac_try
='test -s conftest.$ac_objext'
17873 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17874 (eval $ac_try) 2>&5
17876 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17877 (exit $ac_status); }; }; then
17878 ac_cv_type_voidp
=yes
17880 echo "$as_me: failed program was:" >&5
17881 sed 's/^/| /' conftest.
$ac_ext >&5
17883 ac_cv_type_voidp
=no
17885 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
17887 echo "$as_me:$LINENO: result: $ac_cv_type_voidp" >&5
17888 echo "${ECHO_T}$ac_cv_type_voidp" >&6
17890 echo "$as_me:$LINENO: checking size of void*" >&5
17891 echo $ECHO_N "checking size of void*... $ECHO_C" >&6
17892 if test "${ac_cv_sizeof_voidp+set}" = set; then
17893 echo $ECHO_N "(cached) $ECHO_C" >&6
17895 if test "$ac_cv_type_voidp" = yes; then
17896 # The cast to unsigned long works around a bug in the HP C Compiler
17897 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
17898 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
17899 # This bug is HP SR number 8606223364.
17900 if test "$cross_compiling" = yes; then
17901 # Depending upon the size, compute the lo and hi bounds.
17902 cat >conftest.
$ac_ext <<_ACEOF
17905 cat confdefs.h
>>conftest.
$ac_ext
17906 cat >>conftest.
$ac_ext <<_ACEOF
17907 /* end confdefs.h. */
17908 $ac_includes_default
17912 static int test_array [1 - 2 * !(((long) (sizeof (void*))) >= 0)];
17919 rm -f conftest.
$ac_objext
17920 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17921 (eval $ac_compile) 2>conftest.er1
17923 grep -v '^ *+' conftest.er1
>conftest.err
17925 cat conftest.err
>&5
17926 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17927 (exit $ac_status); } &&
17928 { ac_try
='test -z "$ac_c_werror_flag"
17929 || test ! -s conftest.err'
17930 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17931 (eval $ac_try) 2>&5
17933 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17934 (exit $ac_status); }; } &&
17935 { ac_try
='test -s conftest.$ac_objext'
17936 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17937 (eval $ac_try) 2>&5
17939 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17940 (exit $ac_status); }; }; then
17943 cat >conftest.
$ac_ext <<_ACEOF
17946 cat confdefs.h
>>conftest.
$ac_ext
17947 cat >>conftest.
$ac_ext <<_ACEOF
17948 /* end confdefs.h. */
17949 $ac_includes_default
17953 static int test_array [1 - 2 * !(((long) (sizeof (void*))) <= $ac_mid)];
17960 rm -f conftest.
$ac_objext
17961 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17962 (eval $ac_compile) 2>conftest.er1
17964 grep -v '^ *+' conftest.er1
>conftest.err
17966 cat conftest.err
>&5
17967 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17968 (exit $ac_status); } &&
17969 { ac_try
='test -z "$ac_c_werror_flag"
17970 || test ! -s conftest.err'
17971 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17972 (eval $ac_try) 2>&5
17974 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17975 (exit $ac_status); }; } &&
17976 { ac_try
='test -s conftest.$ac_objext'
17977 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17978 (eval $ac_try) 2>&5
17980 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17981 (exit $ac_status); }; }; then
17982 ac_hi
=$ac_mid; break
17984 echo "$as_me: failed program was:" >&5
17985 sed 's/^/| /' conftest.
$ac_ext >&5
17987 ac_lo
=`expr $ac_mid + 1`
17988 if test $ac_lo -le $ac_mid; then
17992 ac_mid
=`expr 2 '*' $ac_mid + 1`
17994 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
17997 echo "$as_me: failed program was:" >&5
17998 sed 's/^/| /' conftest.
$ac_ext >&5
18000 cat >conftest.
$ac_ext <<_ACEOF
18003 cat confdefs.h
>>conftest.
$ac_ext
18004 cat >>conftest.
$ac_ext <<_ACEOF
18005 /* end confdefs.h. */
18006 $ac_includes_default
18010 static int test_array [1 - 2 * !(((long) (sizeof (void*))) < 0)];
18017 rm -f conftest.
$ac_objext
18018 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18019 (eval $ac_compile) 2>conftest.er1
18021 grep -v '^ *+' conftest.er1
>conftest.err
18023 cat conftest.err
>&5
18024 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18025 (exit $ac_status); } &&
18026 { ac_try
='test -z "$ac_c_werror_flag"
18027 || test ! -s conftest.err'
18028 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18029 (eval $ac_try) 2>&5
18031 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18032 (exit $ac_status); }; } &&
18033 { ac_try
='test -s conftest.$ac_objext'
18034 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18035 (eval $ac_try) 2>&5
18037 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18038 (exit $ac_status); }; }; then
18041 cat >conftest.
$ac_ext <<_ACEOF
18044 cat confdefs.h
>>conftest.
$ac_ext
18045 cat >>conftest.
$ac_ext <<_ACEOF
18046 /* end confdefs.h. */
18047 $ac_includes_default
18051 static int test_array [1 - 2 * !(((long) (sizeof (void*))) >= $ac_mid)];
18058 rm -f conftest.
$ac_objext
18059 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18060 (eval $ac_compile) 2>conftest.er1
18062 grep -v '^ *+' conftest.er1
>conftest.err
18064 cat conftest.err
>&5
18065 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18066 (exit $ac_status); } &&
18067 { ac_try
='test -z "$ac_c_werror_flag"
18068 || test ! -s conftest.err'
18069 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18070 (eval $ac_try) 2>&5
18072 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18073 (exit $ac_status); }; } &&
18074 { ac_try
='test -s conftest.$ac_objext'
18075 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18076 (eval $ac_try) 2>&5
18078 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18079 (exit $ac_status); }; }; then
18080 ac_lo
=$ac_mid; break
18082 echo "$as_me: failed program was:" >&5
18083 sed 's/^/| /' conftest.
$ac_ext >&5
18085 ac_hi
=`expr '(' $ac_mid ')' - 1`
18086 if test $ac_mid -le $ac_hi; then
18090 ac_mid
=`expr 2 '*' $ac_mid`
18092 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
18095 echo "$as_me: failed program was:" >&5
18096 sed 's/^/| /' conftest.
$ac_ext >&5
18100 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
18102 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
18103 # Binary search between lo and hi bounds.
18104 while test "x$ac_lo" != "x$ac_hi"; do
18105 ac_mid
=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
18106 cat >conftest.
$ac_ext <<_ACEOF
18109 cat confdefs.h
>>conftest.
$ac_ext
18110 cat >>conftest.
$ac_ext <<_ACEOF
18111 /* end confdefs.h. */
18112 $ac_includes_default
18116 static int test_array [1 - 2 * !(((long) (sizeof (void*))) <= $ac_mid)];
18123 rm -f conftest.
$ac_objext
18124 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18125 (eval $ac_compile) 2>conftest.er1
18127 grep -v '^ *+' conftest.er1
>conftest.err
18129 cat conftest.err
>&5
18130 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18131 (exit $ac_status); } &&
18132 { ac_try
='test -z "$ac_c_werror_flag"
18133 || test ! -s conftest.err'
18134 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18135 (eval $ac_try) 2>&5
18137 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18138 (exit $ac_status); }; } &&
18139 { ac_try
='test -s conftest.$ac_objext'
18140 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18141 (eval $ac_try) 2>&5
18143 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18144 (exit $ac_status); }; }; then
18147 echo "$as_me: failed program was:" >&5
18148 sed 's/^/| /' conftest.
$ac_ext >&5
18150 ac_lo
=`expr '(' $ac_mid ')' + 1`
18152 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
18155 ?
*) ac_cv_sizeof_voidp
=$ac_lo;;
18156 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (void*), 77
18157 See \`config.log' for more details." >&5
18158 echo "$as_me: error: cannot compute sizeof (void*), 77
18159 See \`config.log' for more details." >&2;}
18160 { (exit 1); exit 1; }; } ;;
18163 if test "$cross_compiling" = yes; then
18164 { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
18165 See \`config.log' for more details." >&5
18166 echo "$as_me: error: cannot run test program while cross compiling
18167 See \`config.log' for more details." >&2;}
18168 { (exit 1); exit 1; }; }
18170 cat >conftest.
$ac_ext <<_ACEOF
18173 cat confdefs.h
>>conftest.
$ac_ext
18174 cat >>conftest.
$ac_ext <<_ACEOF
18175 /* end confdefs.h. */
18176 $ac_includes_default
18177 long longval () { return (long) (sizeof (void*)); }
18178 unsigned long ulongval () { return (long) (sizeof (void*)); }
18180 #include <stdlib.h>
18185 FILE *f = fopen ("conftest.val", "w");
18188 if (((long) (sizeof (void*))) < 0)
18190 long i = longval ();
18191 if (i != ((long) (sizeof (void*))))
18193 fprintf (f, "%ld\n", i);
18197 unsigned long i = ulongval ();
18198 if (i != ((long) (sizeof (void*))))
18200 fprintf (f, "%lu\n", i);
18202 exit (ferror (f) || fclose (f) != 0);
18208 rm -f conftest
$ac_exeext
18209 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
18210 (eval $ac_link) 2>&5
18212 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18213 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
18214 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18215 (eval $ac_try) 2>&5
18217 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18218 (exit $ac_status); }; }; then
18219 ac_cv_sizeof_voidp
=`cat conftest.val`
18221 echo "$as_me: program exited with status $ac_status" >&5
18222 echo "$as_me: failed program was:" >&5
18223 sed 's/^/| /' conftest.
$ac_ext >&5
18225 ( exit $ac_status )
18226 { { echo "$as_me:$LINENO: error: cannot compute sizeof (void*), 77
18227 See \`config.log' for more details." >&5
18228 echo "$as_me: error: cannot compute sizeof (void*), 77
18229 See \`config.log' for more details." >&2;}
18230 { (exit 1); exit 1; }; }
18232 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
18237 ac_cv_sizeof_voidp
=0
18240 echo "$as_me:$LINENO: result: $ac_cv_sizeof_voidp" >&5
18241 echo "${ECHO_T}$ac_cv_sizeof_voidp" >&6
18242 cat >>confdefs.h
<<_ACEOF
18243 #define SIZEOF_VOIDP $ac_cv_sizeof_voidp
18247 ac_cv_char_data_model
=""
18248 ac_cv_char_data_model
="$ac_cv_char_data_model$ac_cv_sizeof_char"
18249 ac_cv_char_data_model
="$ac_cv_char_data_model$ac_cv_sizeof_short"
18250 ac_cv_char_data_model
="$ac_cv_char_data_model$ac_cv_sizeof_int"
18251 ac_cv_long_data_model
=""
18252 ac_cv_long_data_model
="$ac_cv_long_data_model$ac_cv_sizeof_int"
18253 ac_cv_long_data_model
="$ac_cv_long_data_model$ac_cv_sizeof_long"
18254 ac_cv_long_data_model
="$ac_cv_long_data_model$ac_cv_sizeof_voidp"
18255 echo "$as_me:$LINENO: checking data model" >&5
18256 echo $ECHO_N "checking data model... $ECHO_C" >&6
18257 case "$ac_cv_char_data_model/$ac_cv_long_data_model" in
18258 122/242) ac_cv_data_model
="IP16" ; n
="standard 16bit machine" ;;
18259 122/244) ac_cv_data_model
="LP32" ; n
="standard 32bit machine" ;;
18260 122/*) ac_cv_data_model
="i16" ; n
="unusual int16 model" ;;
18261 124/444) ac_cv_data_model
="ILP32" ; n
="standard 32bit unixish" ;;
18262 124/488) ac_cv_data_model
="LP64" ; n
="standard 64bit unixish" ;;
18263 124/448) ac_cv_data_model
="LLP64" ; n
="unusual 64bit unixish" ;;
18264 124/*) ac_cv_data_model
="i32" ; n
="unusual int32 model" ;;
18265 128/888) ac_cv_data_model
="ILP64" ; n
="unusual 64bit numeric" ;;
18266 128/*) ac_cv_data_model
="i64" ; n
="unusual int64 model" ;;
18267 222/*2) ac_cv_data_model
="DSP16" ; n
="strict 16bit dsptype" ;;
18268 333/*3) ac_cv_data_model
="DSP24" ; n
="strict 24bit dsptype" ;;
18269 444/*4) ac_cv_data_model
="DSP32" ; n
="strict 32bit dsptype" ;;
18270 666/*6) ac_cv_data_model
="DSP48" ; n
="strict 48bit dsptype" ;;
18271 888/*8) ac_cv_data_model
="DSP64" ; n
="strict 64bit dsptype" ;;
18272 222/*|
333/*|
444/*|
666/*|
888/*) :
18273 ac_cv_data_model
="iDSP" ; n
="unusual dsptype" ;;
18274 *) ac_cv_data_model
="none" ; n
="very unusual model" ;;
18276 echo "$as_me:$LINENO: result: $ac_cv_data_model ($ac_cv_long_data_model, $n)" >&5
18277 echo "${ECHO_T}$ac_cv_data_model ($ac_cv_long_data_model, $n)" >&6
18281 if test "_$ac_cv_header_stdint_x" != "_" ; then
18282 ac_cv_header_stdint
="$ac_cv_header_stdint_x"
18283 elif test "_$ac_cv_header_stdint_o" != "_" ; then
18284 ac_cv_header_stdint
="$ac_cv_header_stdint_o"
18285 elif test "_$ac_cv_header_stdint_u" != "_" ; then
18286 ac_cv_header_stdint
="$ac_cv_header_stdint_u"
18288 ac_cv_header_stdint
="stddef.h"
18291 echo "$as_me:$LINENO: checking for extra inttypes in chosen header" >&5
18292 echo $ECHO_N "checking for extra inttypes in chosen header... $ECHO_C" >&6
18293 echo "$as_me:$LINENO: result: ($ac_cv_header_stdint)" >&5
18294 echo "${ECHO_T}($ac_cv_header_stdint)" >&6
18295 unset ac_cv_type_int_least32_t
18296 unset ac_cv_type_int_fast32_t
18297 echo "$as_me:$LINENO: checking for int_least32_t" >&5
18298 echo $ECHO_N "checking for int_least32_t... $ECHO_C" >&6
18299 if test "${ac_cv_type_int_least32_t+set}" = set; then
18300 echo $ECHO_N "(cached) $ECHO_C" >&6
18302 cat >conftest.
$ac_ext <<_ACEOF
18305 cat confdefs.h
>>conftest.
$ac_ext
18306 cat >>conftest.
$ac_ext <<_ACEOF
18307 /* end confdefs.h. */
18308 #include <$ac_cv_header_stdint>
18313 if ((int_least32_t *) 0)
18315 if (sizeof (int_least32_t))
18321 rm -f conftest.
$ac_objext
18322 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18323 (eval $ac_compile) 2>conftest.er1
18325 grep -v '^ *+' conftest.er1
>conftest.err
18327 cat conftest.err
>&5
18328 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18329 (exit $ac_status); } &&
18330 { ac_try
='test -z "$ac_c_werror_flag"
18331 || test ! -s conftest.err'
18332 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18333 (eval $ac_try) 2>&5
18335 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18336 (exit $ac_status); }; } &&
18337 { ac_try
='test -s conftest.$ac_objext'
18338 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18339 (eval $ac_try) 2>&5
18341 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18342 (exit $ac_status); }; }; then
18343 ac_cv_type_int_least32_t
=yes
18345 echo "$as_me: failed program was:" >&5
18346 sed 's/^/| /' conftest.
$ac_ext >&5
18348 ac_cv_type_int_least32_t
=no
18350 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
18352 echo "$as_me:$LINENO: result: $ac_cv_type_int_least32_t" >&5
18353 echo "${ECHO_T}$ac_cv_type_int_least32_t" >&6
18355 echo "$as_me:$LINENO: checking for int_fast32_t" >&5
18356 echo $ECHO_N "checking for int_fast32_t... $ECHO_C" >&6
18357 if test "${ac_cv_type_int_fast32_t+set}" = set; then
18358 echo $ECHO_N "(cached) $ECHO_C" >&6
18360 cat >conftest.
$ac_ext <<_ACEOF
18363 cat confdefs.h
>>conftest.
$ac_ext
18364 cat >>conftest.
$ac_ext <<_ACEOF
18365 /* end confdefs.h. */
18366 #include<$ac_cv_header_stdint>
18371 if ((int_fast32_t *) 0)
18373 if (sizeof (int_fast32_t))
18379 rm -f conftest.
$ac_objext
18380 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18381 (eval $ac_compile) 2>conftest.er1
18383 grep -v '^ *+' conftest.er1
>conftest.err
18385 cat conftest.err
>&5
18386 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18387 (exit $ac_status); } &&
18388 { ac_try
='test -z "$ac_c_werror_flag"
18389 || test ! -s conftest.err'
18390 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18391 (eval $ac_try) 2>&5
18393 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18394 (exit $ac_status); }; } &&
18395 { ac_try
='test -s conftest.$ac_objext'
18396 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18397 (eval $ac_try) 2>&5
18399 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18400 (exit $ac_status); }; }; then
18401 ac_cv_type_int_fast32_t
=yes
18403 echo "$as_me: failed program was:" >&5
18404 sed 's/^/| /' conftest.
$ac_ext >&5
18406 ac_cv_type_int_fast32_t
=no
18408 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
18410 echo "$as_me:$LINENO: result: $ac_cv_type_int_fast32_t" >&5
18411 echo "${ECHO_T}$ac_cv_type_int_fast32_t" >&6
18413 echo "$as_me:$LINENO: checking for intmax_t" >&5
18414 echo $ECHO_N "checking for intmax_t... $ECHO_C" >&6
18415 if test "${ac_cv_type_intmax_t+set}" = set; then
18416 echo $ECHO_N "(cached) $ECHO_C" >&6
18418 cat >conftest.
$ac_ext <<_ACEOF
18421 cat confdefs.h
>>conftest.
$ac_ext
18422 cat >>conftest.
$ac_ext <<_ACEOF
18423 /* end confdefs.h. */
18424 #include <$ac_cv_header_stdint>
18429 if ((intmax_t *) 0)
18431 if (sizeof (intmax_t))
18437 rm -f conftest.
$ac_objext
18438 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18439 (eval $ac_compile) 2>conftest.er1
18441 grep -v '^ *+' conftest.er1
>conftest.err
18443 cat conftest.err
>&5
18444 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18445 (exit $ac_status); } &&
18446 { ac_try
='test -z "$ac_c_werror_flag"
18447 || test ! -s conftest.err'
18448 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18449 (eval $ac_try) 2>&5
18451 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18452 (exit $ac_status); }; } &&
18453 { ac_try
='test -s conftest.$ac_objext'
18454 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18455 (eval $ac_try) 2>&5
18457 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18458 (exit $ac_status); }; }; then
18459 ac_cv_type_intmax_t
=yes
18461 echo "$as_me: failed program was:" >&5
18462 sed 's/^/| /' conftest.
$ac_ext >&5
18464 ac_cv_type_intmax_t
=no
18466 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
18468 echo "$as_me:$LINENO: result: $ac_cv_type_intmax_t" >&5
18469 echo "${ECHO_T}$ac_cv_type_intmax_t" >&6
18472 fi # shortcircut to system "stdint.h"
18473 # ------------------ PREPARE VARIABLES ------------------------------
18474 if test "$GCC" = "yes" ; then
18475 ac_cv_stdint_message
="using gnu compiler "`$CC --version | head -1`
18477 ac_cv_stdint_message
="using $CC"
18480 echo "$as_me:$LINENO: result: make use of $ac_cv_header_stdint in $ac_stdint_h $ac_cv_stdint_result" >&5
18481 echo "${ECHO_T}make use of $ac_cv_header_stdint in $ac_stdint_h $ac_cv_stdint_result" >&6
18483 # ----------------- DONE inttypes.h checks START header -------------
18484 ac_config_commands
="$ac_config_commands $ac_stdint_h"
18489 # Check whether --with-glibj_zip or --without-glibj_zip was given.
18490 if test "${with_glibj_zip+set}" = set; then
18491 withval
="$with_glibj_zip"
18495 case "$with_glibj_zip" in
18497 use_glibj_zip
=false
18500 use_glibj_zip
=false
18503 { { echo "$as_me:$LINENO: error: Please suply an absolute path to a prebuilt glibj.zip" >&5
18504 echo "$as_me: error: Please suply an absolute path to a prebuilt glibj.zip" >&2;}
18505 { (exit 1); exit 1; }; }
18509 PATH_TO_GLIBJ_ZIP
=$with_glibj_zip
18515 if test x
$use_glibj_zip = xtrue
; then
18516 USE_PREBUILT_GLIBJ_ZIP_TRUE
=
18517 USE_PREBUILT_GLIBJ_ZIP_FALSE
='#'
18519 USE_PREBUILT_GLIBJ_ZIP_TRUE
='#'
18520 USE_PREBUILT_GLIBJ_ZIP_FALSE
=
18526 # Check whether --with-escher or --without-escher was given.
18527 if test "${with_escher+set}" = set; then
18528 withval
="$with_escher"
18531 case "$with_escher" in
18539 { { echo "$as_me:$LINENO: error: Please suply an absolute path to Escher library" >&5
18540 echo "$as_me: error: Please suply an absolute path to Escher library" >&2;}
18541 { (exit 1); exit 1; }; }
18545 PATH_TO_ESCHER
=$with_escher
18551 if test x
$use_escher = xtrue
; then
18553 USE_ESCHER_FALSE
='#'
18555 USE_ESCHER_TRUE
='#'
18561 # Check whether --enable-local-sockets or --disable-local-sockets was given.
18562 if test "${enable_local_sockets+set}" = set; then
18563 enableval
="$enable_local_sockets"
18564 case "${enableval}" in
18566 ENABLE_LOCAL_SOCKETS
=yes
18569 ENABLE_LOCAL_SOCKETS
=no
18573 if test "x$ENABLE_LOCAL_SOCKETS" = "xyes"
18575 if test "${ac_cv_header_sys_un_h+set}" = set; then
18576 echo "$as_me:$LINENO: checking for sys/un.h" >&5
18577 echo $ECHO_N "checking for sys/un.h... $ECHO_C" >&6
18578 if test "${ac_cv_header_sys_un_h+set}" = set; then
18579 echo $ECHO_N "(cached) $ECHO_C" >&6
18581 echo "$as_me:$LINENO: result: $ac_cv_header_sys_un_h" >&5
18582 echo "${ECHO_T}$ac_cv_header_sys_un_h" >&6
18584 # Is the header compilable?
18585 echo "$as_me:$LINENO: checking sys/un.h usability" >&5
18586 echo $ECHO_N "checking sys/un.h usability... $ECHO_C" >&6
18587 cat >conftest.
$ac_ext <<_ACEOF
18590 cat confdefs.h
>>conftest.
$ac_ext
18591 cat >>conftest.
$ac_ext <<_ACEOF
18592 /* end confdefs.h. */
18593 $ac_includes_default
18594 #include <sys/un.h>
18596 rm -f conftest.
$ac_objext
18597 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18598 (eval $ac_compile) 2>conftest.er1
18600 grep -v '^ *+' conftest.er1
>conftest.err
18602 cat conftest.err
>&5
18603 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18604 (exit $ac_status); } &&
18605 { ac_try
='test -z "$ac_c_werror_flag"
18606 || test ! -s conftest.err'
18607 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18608 (eval $ac_try) 2>&5
18610 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18611 (exit $ac_status); }; } &&
18612 { ac_try
='test -s conftest.$ac_objext'
18613 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18614 (eval $ac_try) 2>&5
18616 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18617 (exit $ac_status); }; }; then
18618 ac_header_compiler
=yes
18620 echo "$as_me: failed program was:" >&5
18621 sed 's/^/| /' conftest.
$ac_ext >&5
18623 ac_header_compiler
=no
18625 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
18626 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
18627 echo "${ECHO_T}$ac_header_compiler" >&6
18629 # Is the header present?
18630 echo "$as_me:$LINENO: checking sys/un.h presence" >&5
18631 echo $ECHO_N "checking sys/un.h presence... $ECHO_C" >&6
18632 cat >conftest.
$ac_ext <<_ACEOF
18635 cat confdefs.h
>>conftest.
$ac_ext
18636 cat >>conftest.
$ac_ext <<_ACEOF
18637 /* end confdefs.h. */
18638 #include <sys/un.h>
18640 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
18641 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
18643 grep -v '^ *+' conftest.er1
>conftest.err
18645 cat conftest.err
>&5
18646 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18647 (exit $ac_status); } >/dev
/null
; then
18648 if test -s conftest.err
; then
18649 ac_cpp_err
=$ac_c_preproc_warn_flag
18650 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
18657 if test -z "$ac_cpp_err"; then
18658 ac_header_preproc
=yes
18660 echo "$as_me: failed program was:" >&5
18661 sed 's/^/| /' conftest.
$ac_ext >&5
18663 ac_header_preproc
=no
18665 rm -f conftest.err conftest.
$ac_ext
18666 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
18667 echo "${ECHO_T}$ac_header_preproc" >&6
18669 # So? What about this header?
18670 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
18672 { echo "$as_me:$LINENO: WARNING: sys/un.h: accepted by the compiler, rejected by the preprocessor!" >&5
18673 echo "$as_me: WARNING: sys/un.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
18674 { echo "$as_me:$LINENO: WARNING: sys/un.h: proceeding with the compiler's result" >&5
18675 echo "$as_me: WARNING: sys/un.h: proceeding with the compiler's result" >&2;}
18676 ac_header_preproc
=yes
18679 { echo "$as_me:$LINENO: WARNING: sys/un.h: present but cannot be compiled" >&5
18680 echo "$as_me: WARNING: sys/un.h: present but cannot be compiled" >&2;}
18681 { echo "$as_me:$LINENO: WARNING: sys/un.h: check for missing prerequisite headers?" >&5
18682 echo "$as_me: WARNING: sys/un.h: check for missing prerequisite headers?" >&2;}
18683 { echo "$as_me:$LINENO: WARNING: sys/un.h: see the Autoconf documentation" >&5
18684 echo "$as_me: WARNING: sys/un.h: see the Autoconf documentation" >&2;}
18685 { echo "$as_me:$LINENO: WARNING: sys/un.h: section \"Present But Cannot Be Compiled\"" >&5
18686 echo "$as_me: WARNING: sys/un.h: section \"Present But Cannot Be Compiled\"" >&2;}
18687 { echo "$as_me:$LINENO: WARNING: sys/un.h: proceeding with the preprocessor's result" >&5
18688 echo "$as_me: WARNING: sys/un.h: proceeding with the preprocessor's result" >&2;}
18689 { echo "$as_me:$LINENO: WARNING: sys/un.h: in the future, the compiler will take precedence" >&5
18690 echo "$as_me: WARNING: sys/un.h: in the future, the compiler will take precedence" >&2;}
18693 ## -------------------------------- ##
18694 ## Report this to classpath@gnu.org ##
18695 ## -------------------------------- ##
18698 sed "s/^/$as_me: WARNING: /" >&2
18701 echo "$as_me:$LINENO: checking for sys/un.h" >&5
18702 echo $ECHO_N "checking for sys/un.h... $ECHO_C" >&6
18703 if test "${ac_cv_header_sys_un_h+set}" = set; then
18704 echo $ECHO_N "(cached) $ECHO_C" >&6
18706 ac_cv_header_sys_un_h
=$ac_header_preproc
18708 echo "$as_me:$LINENO: result: $ac_cv_header_sys_un_h" >&5
18709 echo "${ECHO_T}$ac_cv_header_sys_un_h" >&6
18720 for ac_func
in read write bind listen accept shutdown
18722 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
18723 echo "$as_me:$LINENO: checking for $ac_func" >&5
18724 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
18725 if eval "test \"\${$as_ac_var+set}\" = set"; then
18726 echo $ECHO_N "(cached) $ECHO_C" >&6
18728 cat >conftest.
$ac_ext <<_ACEOF
18731 cat confdefs.h
>>conftest.
$ac_ext
18732 cat >>conftest.
$ac_ext <<_ACEOF
18733 /* end confdefs.h. */
18734 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
18735 For example, HP-UX 11i <limits.h> declares gettimeofday. */
18736 #define $ac_func innocuous_$ac_func
18738 /* System header to define __stub macros and hopefully few prototypes,
18739 which can conflict with char $ac_func (); below.
18740 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
18741 <limits.h> exists even on freestanding compilers. */
18744 # include <limits.h>
18746 # include <assert.h>
18751 /* Override any gcc2 internal prototype to avoid an error. */
18756 /* We use char because int might match the return type of a gcc2
18757 builtin and then its argument prototype would still apply. */
18759 /* The GNU C library defines this for functions which it implements
18760 to always fail with ENOSYS. Some functions are actually named
18761 something starting with __ and the normal name is an alias. */
18762 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
18765 char (*f) () = $ac_func;
18774 return f != $ac_func;
18779 rm -f conftest.
$ac_objext conftest
$ac_exeext
18780 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
18781 (eval $ac_link) 2>conftest.er1
18783 grep -v '^ *+' conftest.er1
>conftest.err
18785 cat conftest.err
>&5
18786 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18787 (exit $ac_status); } &&
18788 { ac_try
='test -z "$ac_c_werror_flag"
18789 || test ! -s conftest.err'
18790 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18791 (eval $ac_try) 2>&5
18793 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18794 (exit $ac_status); }; } &&
18795 { ac_try
='test -s conftest$ac_exeext'
18796 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18797 (eval $ac_try) 2>&5
18799 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18800 (exit $ac_status); }; }; then
18801 eval "$as_ac_var=yes"
18803 echo "$as_me: failed program was:" >&5
18804 sed 's/^/| /' conftest.
$ac_ext >&5
18806 eval "$as_ac_var=no"
18808 rm -f conftest.err conftest.
$ac_objext \
18809 conftest
$ac_exeext conftest.
$ac_ext
18811 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
18812 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
18813 if test `eval echo '${'$as_ac_var'}'` = yes; then
18814 cat >>confdefs.h
<<_ACEOF
18815 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
18819 { { echo "$as_me:$LINENO: error: networking support not available" >&5
18820 echo "$as_me: error: networking support not available" >&2;}
18821 { (exit 1); exit 1; }; }
18826 cat >>confdefs.h
<<\_ACEOF
18827 #define ENABLE_LOCAL_SOCKETS 1
18833 if test "x$ENABLE_LOCAL_SOCKETS" = "xyes"; then
18834 ENABLE_LOCAL_SOCKETS_TRUE
=
18835 ENABLE_LOCAL_SOCKETS_FALSE
='#'
18837 ENABLE_LOCAL_SOCKETS_TRUE
='#'
18838 ENABLE_LOCAL_SOCKETS_FALSE
=
18844 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"
18847 if test "x${COMPILE_WRAPPERS}" = xno
18849 ac_config_files
="$ac_config_files tools/gappletviewer tools/gjarsigner tools/gkeytool tools/gjar tools/gnative2ascii tools/gserialver"
18851 ac_config_commands
="$ac_config_commands gappletviewer"
18853 ac_config_commands
="$ac_config_commands gjarsigner"
18855 ac_config_commands
="$ac_config_commands gkeytool"
18857 ac_config_commands
="$ac_config_commands gjar"
18859 ac_config_commands
="$ac_config_commands gnative2ascii"
18861 ac_config_commands
="$ac_config_commands gserialver"
18866 if test "x${COMPILE_WRAPPERS}" = xno
18868 ac_config_files
="$ac_config_files tools/appletviewer tools/jarsigner tools/keytool"
18870 ac_config_commands
="$ac_config_commands appletviewer"
18872 ac_config_commands
="$ac_config_commands jarsigner"
18874 ac_config_commands
="$ac_config_commands keytool"
18878 ac_config_commands
="$ac_config_commands gen-classlist"
18880 ac_config_commands
="$ac_config_commands copy-vmresources"
18882 cat >confcache
<<\_ACEOF
18883 # This file is a shell script that caches the results of configure
18884 # tests run on this system so they can be shared between configure
18885 # scripts and configure runs, see configure's option --config-cache.
18886 # It is not useful on other systems. If it contains results you don't
18887 # want to keep, you may remove or edit it.
18889 # config.status only pays attention to the cache file if you give it
18890 # the --recheck option to rerun configure.
18892 # `ac_cv_env_foo' variables (set or unset) will be overridden when
18893 # loading this file, other *unset* `ac_cv_foo' will be assigned the
18894 # following values.
18898 # The following way of writing the cache mishandles newlines in values,
18899 # but we know of no workaround that is simple, portable, and efficient.
18900 # So, don't put newlines in cache variables' values.
18901 # Ultrix sh set writes to stderr and can't be redirected directly,
18902 # and sets the high bit in the cache file unless we assign to the vars.
18905 case `(ac_space=' '; set | grep ac_space) 2>&1` in
18907 # `set' does not quote correctly, so add quotes (double-quote
18908 # substitution turns \\\\ into \\, and sed turns \\ into \).
18911 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
18914 # `set' quotes correctly as required by POSIX, so do not add quotes.
18916 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
18923 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
18925 /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
18927 if diff $cache_file confcache
>/dev
/null
2>&1; then :; else
18928 if test -w $cache_file; then
18929 test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
18930 cat confcache
>$cache_file
18932 echo "not updating unwritable cache $cache_file"
18937 test "x$prefix" = xNONE
&& prefix
=$ac_default_prefix
18938 # Let make expand exec_prefix.
18939 test "x$exec_prefix" = xNONE
&& exec_prefix
='${prefix}'
18941 # VPATH may cause trouble with some makes, so we remove $(srcdir),
18942 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
18943 # trailing colons and then remove the whole line if VPATH becomes empty
18944 # (actually we leave an empty line to preserve line numbers).
18945 if test "x$srcdir" = x.
; then
18946 ac_vpsub
='/^[ ]*VPATH[ ]*=/{
18947 s/:*\$(srcdir):*/:/;
18948 s/:*\${srcdir}:*/:/;
18950 s/^\([^=]*=[ ]*\):*/\1/;
18956 DEFS
=-DHAVE_CONFIG_H
18960 for ac_i
in : $LIBOBJS; do test "x$ac_i" = x
: && continue
18961 # 1. Remove the extension, and $U if already installed.
18962 ac_i
=`echo "$ac_i" |
18963 sed 's/\$U\././;s/\.o$//;s/\.obj$//'`
18965 ac_libobjs
="$ac_libobjs $ac_i\$U.$ac_objext"
18966 ac_ltlibobjs
="$ac_ltlibobjs $ac_i"'$U.lo'
18968 LIBOBJS
=$ac_libobjs
18970 LTLIBOBJS
=$ac_ltlibobjs
18973 if test -z "${CREATE_COLLECTIONS_TRUE}" && test -z "${CREATE_COLLECTIONS_FALSE}"; then
18974 { { echo "$as_me:$LINENO: error: conditional \"CREATE_COLLECTIONS\" was never defined.
18975 Usually this means the macro was only invoked conditionally." >&5
18976 echo "$as_me: error: conditional \"CREATE_COLLECTIONS\" was never defined.
18977 Usually this means the macro was only invoked conditionally." >&2;}
18978 { (exit 1); exit 1; }; }
18980 if test -z "${CREATE_JNI_LIBRARIES_TRUE}" && test -z "${CREATE_JNI_LIBRARIES_FALSE}"; then
18981 { { echo "$as_me:$LINENO: error: conditional \"CREATE_JNI_LIBRARIES\" was never defined.
18982 Usually this means the macro was only invoked conditionally." >&5
18983 echo "$as_me: error: conditional \"CREATE_JNI_LIBRARIES\" was never defined.
18984 Usually this means the macro was only invoked conditionally." >&2;}
18985 { (exit 1); exit 1; }; }
18987 if test -z "${CREATE_CORE_JNI_LIBRARIES_TRUE}" && test -z "${CREATE_CORE_JNI_LIBRARIES_FALSE}"; then
18988 { { echo "$as_me:$LINENO: error: conditional \"CREATE_CORE_JNI_LIBRARIES\" was never defined.
18989 Usually this means the macro was only invoked conditionally." >&5
18990 echo "$as_me: error: conditional \"CREATE_CORE_JNI_LIBRARIES\" was never defined.
18991 Usually this means the macro was only invoked conditionally." >&2;}
18992 { (exit 1); exit 1; }; }
18994 if test -z "${CREATE_GCONF_PEER_LIBRARIES_TRUE}" && test -z "${CREATE_GCONF_PEER_LIBRARIES_FALSE}"; then
18995 { { echo "$as_me:$LINENO: error: conditional \"CREATE_GCONF_PEER_LIBRARIES\" was never defined.
18996 Usually this means the macro was only invoked conditionally." >&5
18997 echo "$as_me: error: conditional \"CREATE_GCONF_PEER_LIBRARIES\" was never defined.
18998 Usually this means the macro was only invoked conditionally." >&2;}
18999 { (exit 1); exit 1; }; }
19001 if test -z "${CREATE_XMLJ_LIBRARY_TRUE}" && test -z "${CREATE_XMLJ_LIBRARY_FALSE}"; then
19002 { { echo "$as_me:$LINENO: error: conditional \"CREATE_XMLJ_LIBRARY\" was never defined.
19003 Usually this means the macro was only invoked conditionally." >&5
19004 echo "$as_me: error: conditional \"CREATE_XMLJ_LIBRARY\" was never defined.
19005 Usually this means the macro was only invoked conditionally." >&2;}
19006 { (exit 1); exit 1; }; }
19008 if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
19009 { { echo "$as_me:$LINENO: error: conditional \"AMDEP\" was never defined.
19010 Usually this means the macro was only invoked conditionally." >&5
19011 echo "$as_me: error: conditional \"AMDEP\" was never defined.
19012 Usually this means the macro was only invoked conditionally." >&2;}
19013 { (exit 1); exit 1; }; }
19015 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
19016 { { echo "$as_me:$LINENO: error: conditional \"am__fastdepCC\" was never defined.
19017 Usually this means the macro was only invoked conditionally." >&5
19018 echo "$as_me: error: conditional \"am__fastdepCC\" was never defined.
19019 Usually this means the macro was only invoked conditionally." >&2;}
19020 { (exit 1); exit 1; }; }
19022 if test -z "${CREATE_ALSA_LIBRARIES_TRUE}" && test -z "${CREATE_ALSA_LIBRARIES_FALSE}"; then
19023 { { echo "$as_me:$LINENO: error: conditional \"CREATE_ALSA_LIBRARIES\" was never defined.
19024 Usually this means the macro was only invoked conditionally." >&5
19025 echo "$as_me: error: conditional \"CREATE_ALSA_LIBRARIES\" was never defined.
19026 Usually this means the macro was only invoked conditionally." >&2;}
19027 { (exit 1); exit 1; }; }
19029 if test -z "${CREATE_DSSI_LIBRARIES_TRUE}" && test -z "${CREATE_DSSI_LIBRARIES_FALSE}"; then
19030 { { echo "$as_me:$LINENO: error: conditional \"CREATE_DSSI_LIBRARIES\" was never defined.
19031 Usually this means the macro was only invoked conditionally." >&5
19032 echo "$as_me: error: conditional \"CREATE_DSSI_LIBRARIES\" was never defined.
19033 Usually this means the macro was only invoked conditionally." >&2;}
19034 { (exit 1); exit 1; }; }
19036 if test -z "${CREATE_GTK_PEER_LIBRARIES_TRUE}" && test -z "${CREATE_GTK_PEER_LIBRARIES_FALSE}"; then
19037 { { echo "$as_me:$LINENO: error: conditional \"CREATE_GTK_PEER_LIBRARIES\" was never defined.
19038 Usually this means the macro was only invoked conditionally." >&5
19039 echo "$as_me: error: conditional \"CREATE_GTK_PEER_LIBRARIES\" was never defined.
19040 Usually this means the macro was only invoked conditionally." >&2;}
19041 { (exit 1); exit 1; }; }
19043 if test -z "${CREATE_QT_PEER_LIBRARIES_TRUE}" && test -z "${CREATE_QT_PEER_LIBRARIES_FALSE}"; then
19044 { { echo "$as_me:$LINENO: error: conditional \"CREATE_QT_PEER_LIBRARIES\" was never defined.
19045 Usually this means the macro was only invoked conditionally." >&5
19046 echo "$as_me: error: conditional \"CREATE_QT_PEER_LIBRARIES\" was never defined.
19047 Usually this means the macro was only invoked conditionally." >&2;}
19048 { (exit 1); exit 1; }; }
19050 if test -z "${CREATE_PLUGIN_TRUE}" && test -z "${CREATE_PLUGIN_FALSE}"; then
19051 { { echo "$as_me:$LINENO: error: conditional \"CREATE_PLUGIN\" was never defined.
19052 Usually this means the macro was only invoked conditionally." >&5
19053 echo "$as_me: error: conditional \"CREATE_PLUGIN\" was never defined.
19054 Usually this means the macro was only invoked conditionally." >&2;}
19055 { (exit 1); exit 1; }; }
19057 if test -z "${FOUND_CACAO_TRUE}" && test -z "${FOUND_CACAO_FALSE}"; then
19058 { { echo "$as_me:$LINENO: error: conditional \"FOUND_CACAO\" was never defined.
19059 Usually this means the macro was only invoked conditionally." >&5
19060 echo "$as_me: error: conditional \"FOUND_CACAO\" was never defined.
19061 Usually this means the macro was only invoked conditionally." >&2;}
19062 { (exit 1); exit 1; }; }
19064 if test -z "${CREATE_JNI_HEADERS_TRUE}" && test -z "${CREATE_JNI_HEADERS_FALSE}"; then
19065 { { echo "$as_me:$LINENO: error: conditional \"CREATE_JNI_HEADERS\" was never defined.
19066 Usually this means the macro was only invoked conditionally." >&5
19067 echo "$as_me: error: conditional \"CREATE_JNI_HEADERS\" was never defined.
19068 Usually this means the macro was only invoked conditionally." >&2;}
19069 { (exit 1); exit 1; }; }
19071 if test -z "${CREATE_WRAPPERS_TRUE}" && test -z "${CREATE_WRAPPERS_FALSE}"; then
19072 { { echo "$as_me:$LINENO: error: conditional \"CREATE_WRAPPERS\" was never defined.
19073 Usually this means the macro was only invoked conditionally." >&5
19074 echo "$as_me: error: conditional \"CREATE_WRAPPERS\" was never defined.
19075 Usually this means the macro was only invoked conditionally." >&2;}
19076 { (exit 1); exit 1; }; }
19078 if test -z "${am__fastdepCXX_TRUE}" && test -z "${am__fastdepCXX_FALSE}"; then
19079 { { echo "$as_me:$LINENO: error: conditional \"am__fastdepCXX\" was never defined.
19080 Usually this means the macro was only invoked conditionally." >&5
19081 echo "$as_me: error: conditional \"am__fastdepCXX\" was never defined.
19082 Usually this means the macro was only invoked conditionally." >&2;}
19083 { (exit 1); exit 1; }; }
19085 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
19086 { { echo "$as_me:$LINENO: error: conditional \"am__fastdepCC\" was never defined.
19087 Usually this means the macro was only invoked conditionally." >&5
19088 echo "$as_me: error: conditional \"am__fastdepCC\" was never defined.
19089 Usually this means the macro was only invoked conditionally." >&2;}
19090 { (exit 1); exit 1; }; }
19092 if test -z "${USER_SPECIFIED_JAVAH_TRUE}" && test -z "${USER_SPECIFIED_JAVAH_FALSE}"; then
19093 { { echo "$as_me:$LINENO: error: conditional \"USER_SPECIFIED_JAVAH\" was never defined.
19094 Usually this means the macro was only invoked conditionally." >&5
19095 echo "$as_me: error: conditional \"USER_SPECIFIED_JAVAH\" was never defined.
19096 Usually this means the macro was only invoked conditionally." >&2;}
19097 { (exit 1); exit 1; }; }
19099 if test -z "${FOUND_GCJ_TRUE}" && test -z "${FOUND_GCJ_FALSE}"; then
19100 { { echo "$as_me:$LINENO: error: conditional \"FOUND_GCJ\" was never defined.
19101 Usually this means the macro was only invoked conditionally." >&5
19102 echo "$as_me: error: conditional \"FOUND_GCJ\" was never defined.
19103 Usually this means the macro was only invoked conditionally." >&2;}
19104 { (exit 1); exit 1; }; }
19106 if test -z "${FOUND_JIKES_TRUE}" && test -z "${FOUND_JIKES_FALSE}"; then
19107 { { echo "$as_me:$LINENO: error: conditional \"FOUND_JIKES\" was never defined.
19108 Usually this means the macro was only invoked conditionally." >&5
19109 echo "$as_me: error: conditional \"FOUND_JIKES\" was never defined.
19110 Usually this means the macro was only invoked conditionally." >&2;}
19111 { (exit 1); exit 1; }; }
19113 if test -z "${FOUND_ECJ_TRUE}" && test -z "${FOUND_ECJ_FALSE}"; then
19114 { { echo "$as_me:$LINENO: error: conditional \"FOUND_ECJ\" was never defined.
19115 Usually this means the macro was only invoked conditionally." >&5
19116 echo "$as_me: error: conditional \"FOUND_ECJ\" was never defined.
19117 Usually this means the macro was only invoked conditionally." >&2;}
19118 { (exit 1); exit 1; }; }
19120 if test -z "${FOUND_GCJ_TRUE}" && test -z "${FOUND_GCJ_FALSE}"; then
19121 { { echo "$as_me:$LINENO: error: conditional \"FOUND_GCJ\" was never defined.
19122 Usually this means the macro was only invoked conditionally." >&5
19123 echo "$as_me: error: conditional \"FOUND_GCJ\" was never defined.
19124 Usually this means the macro was only invoked conditionally." >&2;}
19125 { (exit 1); exit 1; }; }
19127 if test -z "${FOUND_JIKES_TRUE}" && test -z "${FOUND_JIKES_FALSE}"; then
19128 { { echo "$as_me:$LINENO: error: conditional \"FOUND_JIKES\" was never defined.
19129 Usually this means the macro was only invoked conditionally." >&5
19130 echo "$as_me: error: conditional \"FOUND_JIKES\" was never defined.
19131 Usually this means the macro was only invoked conditionally." >&2;}
19132 { (exit 1); exit 1; }; }
19134 if test -z "${FOUND_ECJ_TRUE}" && test -z "${FOUND_ECJ_FALSE}"; then
19135 { { echo "$as_me:$LINENO: error: conditional \"FOUND_ECJ\" was never defined.
19136 Usually this means the macro was only invoked conditionally." >&5
19137 echo "$as_me: error: conditional \"FOUND_ECJ\" was never defined.
19138 Usually this means the macro was only invoked conditionally." >&2;}
19139 { (exit 1); exit 1; }; }
19141 if test -z "${FOUND_KJC_TRUE}" && test -z "${FOUND_KJC_FALSE}"; then
19142 { { echo "$as_me:$LINENO: error: conditional \"FOUND_KJC\" was never defined.
19143 Usually this means the macro was only invoked conditionally." >&5
19144 echo "$as_me: error: conditional \"FOUND_KJC\" was never defined.
19145 Usually this means the macro was only invoked conditionally." >&2;}
19146 { (exit 1); exit 1; }; }
19148 if test -z "${FOUND_GCJX_TRUE}" && test -z "${FOUND_GCJX_FALSE}"; then
19149 { { echo "$as_me:$LINENO: error: conditional \"FOUND_GCJX\" was never defined.
19150 Usually this means the macro was only invoked conditionally." >&5
19151 echo "$as_me: error: conditional \"FOUND_GCJX\" was never defined.
19152 Usually this means the macro was only invoked conditionally." >&2;}
19153 { (exit 1); exit 1; }; }
19155 if test -z "${USER_SPECIFIED_CLASSLIB_TRUE}" && test -z "${USER_SPECIFIED_CLASSLIB_FALSE}"; then
19156 { { echo "$as_me:$LINENO: error: conditional \"USER_SPECIFIED_CLASSLIB\" was never defined.
19157 Usually this means the macro was only invoked conditionally." >&5
19158 echo "$as_me: error: conditional \"USER_SPECIFIED_CLASSLIB\" was never defined.
19159 Usually this means the macro was only invoked conditionally." >&2;}
19160 { (exit 1); exit 1; }; }
19162 if test -z "${MAINTAINER_MODE_TRUE}" && test -z "${MAINTAINER_MODE_FALSE}"; then
19163 { { echo "$as_me:$LINENO: error: conditional \"MAINTAINER_MODE\" was never defined.
19164 Usually this means the macro was only invoked conditionally." >&5
19165 echo "$as_me: error: conditional \"MAINTAINER_MODE\" was never defined.
19166 Usually this means the macro was only invoked conditionally." >&2;}
19167 { (exit 1); exit 1; }; }
19169 if test -z "${INSTALL_GLIBJ_ZIP_TRUE}" && test -z "${INSTALL_GLIBJ_ZIP_FALSE}"; then
19170 { { echo "$as_me:$LINENO: error: conditional \"INSTALL_GLIBJ_ZIP\" was never defined.
19171 Usually this means the macro was only invoked conditionally." >&5
19172 echo "$as_me: error: conditional \"INSTALL_GLIBJ_ZIP\" was never defined.
19173 Usually this means the macro was only invoked conditionally." >&2;}
19174 { (exit 1); exit 1; }; }
19176 if test -z "${INSTALL_CLASS_FILES_TRUE}" && test -z "${INSTALL_CLASS_FILES_FALSE}"; then
19177 { { echo "$as_me:$LINENO: error: conditional \"INSTALL_CLASS_FILES\" was never defined.
19178 Usually this means the macro was only invoked conditionally." >&5
19179 echo "$as_me: error: conditional \"INSTALL_CLASS_FILES\" was never defined.
19180 Usually this means the macro was only invoked conditionally." >&2;}
19181 { (exit 1); exit 1; }; }
19183 if test -z "${BUILD_CLASS_FILES_TRUE}" && test -z "${BUILD_CLASS_FILES_FALSE}"; then
19184 { { echo "$as_me:$LINENO: error: conditional \"BUILD_CLASS_FILES\" was never defined.
19185 Usually this means the macro was only invoked conditionally." >&5
19186 echo "$as_me: error: conditional \"BUILD_CLASS_FILES\" was never defined.
19187 Usually this means the macro was only invoked conditionally." >&2;}
19188 { (exit 1); exit 1; }; }
19190 if test -z "${CREATE_API_DOCS_TRUE}" && test -z "${CREATE_API_DOCS_FALSE}"; then
19191 { { echo "$as_me:$LINENO: error: conditional \"CREATE_API_DOCS\" was never defined.
19192 Usually this means the macro was only invoked conditionally." >&5
19193 echo "$as_me: error: conditional \"CREATE_API_DOCS\" was never defined.
19194 Usually this means the macro was only invoked conditionally." >&2;}
19195 { (exit 1); exit 1; }; }
19197 if test -z "${REGEN_PARSERS_TRUE}" && test -z "${REGEN_PARSERS_FALSE}"; then
19198 { { echo "$as_me:$LINENO: error: conditional \"REGEN_PARSERS\" was never defined.
19199 Usually this means the macro was only invoked conditionally." >&5
19200 echo "$as_me: error: conditional \"REGEN_PARSERS\" was never defined.
19201 Usually this means the macro was only invoked conditionally." >&2;}
19202 { (exit 1); exit 1; }; }
19204 if test -z "${USE_PREBUILT_GLIBJ_ZIP_TRUE}" && test -z "${USE_PREBUILT_GLIBJ_ZIP_FALSE}"; then
19205 { { echo "$as_me:$LINENO: error: conditional \"USE_PREBUILT_GLIBJ_ZIP\" was never defined.
19206 Usually this means the macro was only invoked conditionally." >&5
19207 echo "$as_me: error: conditional \"USE_PREBUILT_GLIBJ_ZIP\" was never defined.
19208 Usually this means the macro was only invoked conditionally." >&2;}
19209 { (exit 1); exit 1; }; }
19211 if test -z "${USE_ESCHER_TRUE}" && test -z "${USE_ESCHER_FALSE}"; then
19212 { { echo "$as_me:$LINENO: error: conditional \"USE_ESCHER\" was never defined.
19213 Usually this means the macro was only invoked conditionally." >&5
19214 echo "$as_me: error: conditional \"USE_ESCHER\" was never defined.
19215 Usually this means the macro was only invoked conditionally." >&2;}
19216 { (exit 1); exit 1; }; }
19218 if test -z "${ENABLE_LOCAL_SOCKETS_TRUE}" && test -z "${ENABLE_LOCAL_SOCKETS_FALSE}"; then
19219 { { echo "$as_me:$LINENO: error: conditional \"ENABLE_LOCAL_SOCKETS\" was never defined.
19220 Usually this means the macro was only invoked conditionally." >&5
19221 echo "$as_me: error: conditional \"ENABLE_LOCAL_SOCKETS\" was never defined.
19222 Usually this means the macro was only invoked conditionally." >&2;}
19223 { (exit 1); exit 1; }; }
19226 : ${CONFIG_STATUS=./config.status}
19227 ac_clean_files_save
=$ac_clean_files
19228 ac_clean_files
="$ac_clean_files $CONFIG_STATUS"
19229 { echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
19230 echo "$as_me: creating $CONFIG_STATUS" >&6;}
19231 cat >$CONFIG_STATUS <<_ACEOF
19233 # Generated by $as_me.
19234 # Run this file to recreate the current configuration.
19235 # Compiler output produced by configure, useful for debugging
19236 # configure, is in config.log if it exists.
19239 ac_cs_recheck=false
19241 SHELL=\${CONFIG_SHELL-$SHELL}
19244 cat >>$CONFIG_STATUS <<\_ACEOF
19245 ## --------------------- ##
19246 ## M4sh Initialization. ##
19247 ## --------------------- ##
19249 # Be Bourne compatible
19250 if test -n "${ZSH_VERSION+set}" && (emulate sh
) >/dev
/null
2>&1; then
19253 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
19254 # is contrary to our usage. Disable this feature.
19255 alias -g '${1+"$@"}'='"$@"'
19256 elif test -n "${BASH_VERSION+set}" && (set -o posix
) >/dev
/null
2>&1; then
19259 DUALCASE
=1; export DUALCASE
# for MKS sh
19261 # Support unset when possible.
19262 if ( (MAIL
=60; unset MAIL
) ||
exit) >/dev
/null
2>&1; then
19269 # Work around bugs in pre-3.0 UWIN ksh.
19270 $as_unset ENV MAIL MAILPATH
19277 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
19278 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
19279 LC_TELEPHONE LC_TIME
19281 if (set +x
; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
19282 eval $as_var=C
; export $as_var
19288 # Required to use basename.
19289 if expr a
: '\(a\)' >/dev
/null
2>&1; then
19295 if (basename /) >/dev
/null
2>&1 && test "X`basename / 2>&1`" = "X/"; then
19296 as_basename
=basename
19302 # Name of the executable.
19303 as_me
=`$as_basename "$0" ||
19304 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
19305 X"$0" : 'X\(//\)$' \| \
19306 X"$0" : 'X\(/\)$' \| \
19307 . : '\(.\)' 2>/dev/null ||
19309 sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; }
19310 /^X\/\(\/\/\)$/{ s//\1/; q; }
19311 /^X\/\(\/\).*/{ s//\1/; q; }
19315 # PATH needs CR, and LINENO needs CR and PATH.
19316 # Avoid depending upon Character Ranges.
19317 as_cr_letters
='abcdefghijklmnopqrstuvwxyz'
19318 as_cr_LETTERS
='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
19319 as_cr_Letters
=$as_cr_letters$as_cr_LETTERS
19320 as_cr_digits
='0123456789'
19321 as_cr_alnum
=$as_cr_Letters$as_cr_digits
19323 # The user is always right.
19324 if test "${PATH_SEPARATOR+set}" != set; then
19325 echo "#! /bin/sh" >conf$$.sh
19326 echo "exit 0" >>conf$$.sh
19328 if (PATH
="/nonexistent;."; conf$$.sh
) >/dev
/null
2>&1; then
19337 as_lineno_1
=$LINENO
19338 as_lineno_2
=$LINENO
19339 as_lineno_3
=`(expr $as_lineno_1 + 1) 2>/dev/null`
19340 test "x$as_lineno_1" != "x$as_lineno_2" &&
19341 test "x$as_lineno_3" = "x$as_lineno_2" ||
{
19342 # Find who we are. Look in the path if we contain no path at all
19345 *[\\/]* ) as_myself
=$0 ;;
19346 *) as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
19347 for as_dir
in $PATH
19350 test -z "$as_dir" && as_dir
=.
19351 test -r "$as_dir/$0" && as_myself
=$as_dir/$0 && break
19356 # We did not find ourselves, most probably we were run as `sh COMMAND'
19357 # in which case we are not to be found in the path.
19358 if test "x$as_myself" = x
; then
19361 if test ! -f "$as_myself"; then
19362 { { echo "$as_me:$LINENO: error: cannot find myself; rerun with an absolute path" >&5
19363 echo "$as_me: error: cannot find myself; rerun with an absolute path" >&2;}
19364 { (exit 1); exit 1; }; }
19366 case $CONFIG_SHELL in
19368 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
19369 for as_dir
in /bin
$PATH_SEPARATOR/usr
/bin
$PATH_SEPARATOR$PATH
19372 test -z "$as_dir" && as_dir
=.
19373 for as_base
in sh bash ksh sh5
; do
19376 if ("$as_dir/$as_base" -c '
19377 as_lineno_1=$LINENO
19378 as_lineno_2=$LINENO
19379 as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
19380 test "x$as_lineno_1" != "x$as_lineno_2" &&
19381 test "x$as_lineno_3" = "x$as_lineno_2" ') 2>/dev
/null
; then
19382 $as_unset BASH_ENV ||
test "${BASH_ENV+set}" != set ||
{ BASH_ENV
=; export BASH_ENV
; }
19383 $as_unset ENV ||
test "${ENV+set}" != set ||
{ ENV
=; export ENV
; }
19384 CONFIG_SHELL
=$as_dir/$as_base
19385 export CONFIG_SHELL
19386 exec "$CONFIG_SHELL" "$0" ${1+"$@"}
19394 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
19395 # uniformly replaced by the line number. The first 'sed' inserts a
19396 # line-number line before each line; the second 'sed' does the real
19397 # work. The second script uses 'N' to pair each line-number line
19398 # with the numbered line, and appends trailing '-' during
19399 # substitution so that $LINENO is not a special case at line end.
19400 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
19401 # second 'sed' script. Blame Lee E. McMahon for sed's syntax. :-)
19402 sed '=' <$as_myself |
19407 s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3,
19410 s,^['$as_cr_digits']*\n,,
19411 ' >$as_me.lineno
&&
19412 chmod +x
$as_me.lineno ||
19413 { { echo "$as_me:$LINENO: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&5
19414 echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2;}
19415 { (exit 1); exit 1; }; }
19417 # Don't try to exec as it changes $[0], causing all sort of problems
19418 # (the dirname of $[0] is not the place where we might find the
19419 # original and so on. Autoconf is especially sensible to this).
19421 # Exit status is that of the last command.
19426 case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in
19427 *c
*,-n*) ECHO_N
= ECHO_C
='
19429 *c
*,* ) ECHO_N
=-n ECHO_C
= ECHO_T
= ;;
19430 *) ECHO_N
= ECHO_C
='\c' ECHO_T
= ;;
19433 if expr a
: '\(a\)' >/dev
/null
2>&1; then
19439 rm -f conf$$ conf$$.exe conf$$.
file
19441 if ln -s conf$$.
file conf$$
2>/dev
/null
; then
19442 # We could just check for DJGPP; but this test a) works b) is more generic
19443 # and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04).
19444 if test -f conf$$.exe
; then
19445 # Don't use ln at all; we don't have any links
19450 elif ln conf$$.
file conf$$
2>/dev
/null
; then
19455 rm -f conf$$ conf$$.exe conf$$.
file
19457 if mkdir
-p .
2>/dev
/null
; then
19460 test -d .
/-p && rmdir .
/-p
19464 as_executable_p
="test -f"
19466 # Sed expression to map a string onto a valid CPP name.
19467 as_tr_cpp
="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
19469 # Sed expression to map a string onto a valid variable name.
19470 as_tr_sh
="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
19474 # We need space, tab and new line, in precisely that order.
19484 # Open the log real soon, to keep \$[0] and so on meaningful, and to
19485 # report actual input values of CONFIG_FILES etc. instead of their
19486 # values after options handling. Logging --version etc. is OK.
19490 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
19491 ## Running $as_me. ##
19496 This file was extended by GNU Classpath $as_me 0.92, which was
19497 generated by GNU Autoconf 2.59. Invocation command line was
19499 CONFIG_FILES = $CONFIG_FILES
19500 CONFIG_HEADERS = $CONFIG_HEADERS
19501 CONFIG_LINKS = $CONFIG_LINKS
19502 CONFIG_COMMANDS = $CONFIG_COMMANDS
19506 echo "on `(hostname || uname -n) 2>/dev/null | sed 1q`" >&5
19510 # Files that config.status was made for.
19511 if test -n "$ac_config_files"; then
19512 echo "config_files=\"$ac_config_files\"" >>$CONFIG_STATUS
19515 if test -n "$ac_config_headers"; then
19516 echo "config_headers=\"$ac_config_headers\"" >>$CONFIG_STATUS
19519 if test -n "$ac_config_links"; then
19520 echo "config_links=\"$ac_config_links\"" >>$CONFIG_STATUS
19523 if test -n "$ac_config_commands"; then
19524 echo "config_commands=\"$ac_config_commands\"" >>$CONFIG_STATUS
19527 cat >>$CONFIG_STATUS <<\_ACEOF
19530 \`$as_me' instantiates files from templates according to the
19531 current configuration.
19533 Usage: $0 [OPTIONS] [FILE]...
19535 -h, --help print this help, then exit
19536 -V, --version print version number, then exit
19537 -q, --quiet do not print progress messages
19538 -d, --debug don't remove temporary files
19539 --recheck update $as_me by reconfiguring in the same conditions
19540 --file=FILE[:TEMPLATE]
19541 instantiate the configuration file FILE
19542 --header=FILE[:TEMPLATE]
19543 instantiate the configuration header FILE
19545 Configuration files:
19548 Configuration headers:
19551 Configuration links:
19554 Configuration commands:
19557 Report bugs to <bug-autoconf@gnu.org>."
19560 cat >>$CONFIG_STATUS <<_ACEOF
19562 GNU Classpath config.status 0.92
19563 configured by $0, generated by GNU Autoconf 2.59,
19564 with options \\"`echo "$ac_configure_args" | sed 's/[\\""\`\$]/\\\\&/g'`\\"
19566 Copyright (C) 2003 Free Software Foundation, Inc.
19567 This config.status script is free software; the Free Software Foundation
19568 gives unlimited permission to copy, distribute and modify it."
19573 cat >>$CONFIG_STATUS <<\_ACEOF
19574 # If no file are specified by the user, then we need to provide default
19575 # value. By we need to know if files were specified by the user.
19581 ac_option
=`expr "x$1" : 'x\([^=]*\)='`
19582 ac_optarg
=`expr "x$1" : 'x[^=]*=\(.*\)'`
19590 *) # This is not an option, so the user has probably given explicit
19593 ac_need_defaults
=false
;;
19597 # Handling of the options.
19599 cat >>$CONFIG_STATUS <<\_ACEOF
19600 -recheck |
--recheck |
--rechec |
--reche |
--rech |
--rec |
--re |
--r)
19602 --version |
--vers* |
-V )
19603 echo "$ac_cs_version"; exit 0 ;;
19605 # Conflict between --help and --header
19606 { { echo "$as_me:$LINENO: error: ambiguous option: $1
19607 Try \`$0 --help' for more information." >&5
19608 echo "$as_me: error: ambiguous option: $1
19609 Try \`$0 --help' for more information." >&2;}
19610 { (exit 1); exit 1; }; };;
19611 --help |
--hel |
-h )
19612 echo "$ac_cs_usage"; exit 0 ;;
19613 --debug |
--d* |
-d )
19615 --file |
--fil |
--fi |
--f )
19617 CONFIG_FILES
="$CONFIG_FILES $ac_optarg"
19618 ac_need_defaults
=false
;;
19619 --header |
--heade |
--head |
--hea )
19621 CONFIG_HEADERS
="$CONFIG_HEADERS $ac_optarg"
19622 ac_need_defaults
=false
;;
19623 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
19624 |
-silent |
--silent |
--silen |
--sile |
--sil |
--si |
--s)
19627 # This is an error.
19628 -*) { { echo "$as_me:$LINENO: error: unrecognized option: $1
19629 Try \`$0 --help' for more information." >&5
19630 echo "$as_me: error: unrecognized option: $1
19631 Try \`$0 --help' for more information." >&2;}
19632 { (exit 1); exit 1; }; } ;;
19634 *) ac_config_targets
="$ac_config_targets $1" ;;
19640 ac_configure_extra_args
=
19642 if $ac_cs_silent; then
19644 ac_configure_extra_args
="$ac_configure_extra_args --silent"
19648 cat >>$CONFIG_STATUS <<_ACEOF
19649 if \$ac_cs_recheck; then
19650 echo "running $SHELL $0 " $ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6
19651 exec $SHELL $0 $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
19656 cat >>$CONFIG_STATUS <<_ACEOF
19658 # INIT-COMMANDS section.
19661 AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
19662 # variables for create stdint.h replacement
19665 ac_stdint_h="$ac_stdint_h"
19666 _ac_stdint_h=`echo "_$PACKAGE-$ac_stdint_h" | $as_tr_cpp`
19667 ac_cv_stdint_message="$ac_cv_stdint_message"
19668 ac_cv_header_stdint_t="$ac_cv_header_stdint_t"
19669 ac_cv_header_stdint_x="$ac_cv_header_stdint_x"
19670 ac_cv_header_stdint_o="$ac_cv_header_stdint_o"
19671 ac_cv_header_stdint_u="$ac_cv_header_stdint_u"
19672 ac_cv_type_uint64_t="$ac_cv_type_uint64_t"
19673 ac_cv_type_u_int64_t="$ac_cv_type_u_int64_t"
19674 ac_cv_char_data_model="$ac_cv_char_data_model"
19675 ac_cv_long_data_model="$ac_cv_long_data_model"
19676 ac_cv_type_int_least32_t="$ac_cv_type_int_least32_t"
19677 ac_cv_type_int_fast32_t="$ac_cv_type_int_fast32_t"
19678 ac_cv_type_intmax_t="$ac_cv_type_intmax_t"
19685 cat >>$CONFIG_STATUS <<\_ACEOF
19686 for ac_config_target
in $ac_config_targets
19688 case "$ac_config_target" in
19689 # Handling of arguments.
19690 "lib/mkcollections.pl" ) CONFIG_FILES
="$CONFIG_FILES lib/mkcollections.pl" ;;
19691 "Makefile" ) CONFIG_FILES
="$CONFIG_FILES Makefile" ;;
19692 "doc/Makefile" ) CONFIG_FILES
="$CONFIG_FILES doc/Makefile" ;;
19693 "doc/api/Makefile" ) CONFIG_FILES
="$CONFIG_FILES doc/api/Makefile" ;;
19694 "external/Makefile" ) CONFIG_FILES
="$CONFIG_FILES external/Makefile" ;;
19695 "external/sax/Makefile" ) CONFIG_FILES
="$CONFIG_FILES external/sax/Makefile" ;;
19696 "external/w3c_dom/Makefile" ) CONFIG_FILES
="$CONFIG_FILES external/w3c_dom/Makefile" ;;
19697 "external/relaxngDatatype/Makefile" ) CONFIG_FILES
="$CONFIG_FILES external/relaxngDatatype/Makefile" ;;
19698 "gnu/classpath/Configuration.java" ) CONFIG_FILES
="$CONFIG_FILES gnu/classpath/Configuration.java" ;;
19699 "gnu/java/security/Configuration.java" ) CONFIG_FILES
="$CONFIG_FILES gnu/java/security/Configuration.java" ;;
19700 "include/Makefile" ) CONFIG_FILES
="$CONFIG_FILES include/Makefile" ;;
19701 "native/Makefile" ) CONFIG_FILES
="$CONFIG_FILES native/Makefile" ;;
19702 "native/fdlibm/Makefile" ) CONFIG_FILES
="$CONFIG_FILES native/fdlibm/Makefile" ;;
19703 "native/jawt/Makefile" ) CONFIG_FILES
="$CONFIG_FILES native/jawt/Makefile" ;;
19704 "native/jni/Makefile" ) CONFIG_FILES
="$CONFIG_FILES native/jni/Makefile" ;;
19705 "native/jni/classpath/Makefile" ) CONFIG_FILES
="$CONFIG_FILES native/jni/classpath/Makefile" ;;
19706 "native/jni/java-io/Makefile" ) CONFIG_FILES
="$CONFIG_FILES native/jni/java-io/Makefile" ;;
19707 "native/jni/java-lang/Makefile" ) CONFIG_FILES
="$CONFIG_FILES native/jni/java-lang/Makefile" ;;
19708 "native/jni/java-net/Makefile" ) CONFIG_FILES
="$CONFIG_FILES native/jni/java-net/Makefile" ;;
19709 "native/jni/java-nio/Makefile" ) CONFIG_FILES
="$CONFIG_FILES native/jni/java-nio/Makefile" ;;
19710 "native/jni/java-util/Makefile" ) CONFIG_FILES
="$CONFIG_FILES native/jni/java-util/Makefile" ;;
19711 "native/jni/gtk-peer/Makefile" ) CONFIG_FILES
="$CONFIG_FILES native/jni/gtk-peer/Makefile" ;;
19712 "native/jni/gconf-peer/Makefile" ) CONFIG_FILES
="$CONFIG_FILES native/jni/gconf-peer/Makefile" ;;
19713 "native/jni/qt-peer/Makefile" ) CONFIG_FILES
="$CONFIG_FILES native/jni/qt-peer/Makefile" ;;
19714 "native/jni/xmlj/Makefile" ) CONFIG_FILES
="$CONFIG_FILES native/jni/xmlj/Makefile" ;;
19715 "native/jni/midi-alsa/Makefile" ) CONFIG_FILES
="$CONFIG_FILES native/jni/midi-alsa/Makefile" ;;
19716 "native/jni/midi-dssi/Makefile" ) CONFIG_FILES
="$CONFIG_FILES native/jni/midi-dssi/Makefile" ;;
19717 "native/plugin/Makefile" ) CONFIG_FILES
="$CONFIG_FILES native/plugin/Makefile" ;;
19718 "native/target/Makefile" ) CONFIG_FILES
="$CONFIG_FILES native/target/Makefile" ;;
19719 "native/target/Linux/Makefile" ) CONFIG_FILES
="$CONFIG_FILES native/target/Linux/Makefile" ;;
19720 "native/target/generic/Makefile" ) CONFIG_FILES
="$CONFIG_FILES native/target/generic/Makefile" ;;
19721 "resource/Makefile" ) CONFIG_FILES
="$CONFIG_FILES resource/Makefile" ;;
19722 "resource/META-INF/services/java.util.prefs.PreferencesFactory" ) CONFIG_FILES
="$CONFIG_FILES resource/META-INF/services/java.util.prefs.PreferencesFactory" ;;
19723 "scripts/Makefile" ) CONFIG_FILES
="$CONFIG_FILES scripts/Makefile" ;;
19724 "scripts/classpath.spec" ) CONFIG_FILES
="$CONFIG_FILES scripts/classpath.spec" ;;
19725 "lib/Makefile" ) CONFIG_FILES
="$CONFIG_FILES lib/Makefile" ;;
19726 "lib/gen-classlist.sh" ) CONFIG_FILES
="$CONFIG_FILES lib/gen-classlist.sh" ;;
19727 "lib/copy-vmresources.sh" ) CONFIG_FILES
="$CONFIG_FILES lib/copy-vmresources.sh" ;;
19728 "tools/Makefile" ) CONFIG_FILES
="$CONFIG_FILES tools/Makefile" ;;
19729 "examples/Makefile" ) CONFIG_FILES
="$CONFIG_FILES examples/Makefile" ;;
19730 "examples/Makefile.jawt" ) CONFIG_FILES
="$CONFIG_FILES examples/Makefile.jawt" ;;
19731 "examples/Makefile.java2d" ) CONFIG_FILES
="$CONFIG_FILES examples/Makefile.java2d" ;;
19732 "tools/gappletviewer" ) CONFIG_FILES
="$CONFIG_FILES tools/gappletviewer" ;;
19733 "tools/gjarsigner" ) CONFIG_FILES
="$CONFIG_FILES tools/gjarsigner" ;;
19734 "tools/gkeytool" ) CONFIG_FILES
="$CONFIG_FILES tools/gkeytool" ;;
19735 "tools/gjar" ) CONFIG_FILES
="$CONFIG_FILES tools/gjar" ;;
19736 "tools/gnative2ascii" ) CONFIG_FILES
="$CONFIG_FILES tools/gnative2ascii" ;;
19737 "tools/gserialver" ) CONFIG_FILES
="$CONFIG_FILES tools/gserialver" ;;
19738 "tools/appletviewer" ) CONFIG_FILES
="$CONFIG_FILES tools/appletviewer" ;;
19739 "tools/jarsigner" ) CONFIG_FILES
="$CONFIG_FILES tools/jarsigner" ;;
19740 "tools/keytool" ) CONFIG_FILES
="$CONFIG_FILES tools/keytool" ;;
19741 "$ac_config_links_1" ) CONFIG_LINKS
="$CONFIG_LINKS $ac_config_links_1" ;;
19742 "depfiles" ) CONFIG_COMMANDS
="$CONFIG_COMMANDS depfiles" ;;
19743 "mkcollections.pl" ) CONFIG_COMMANDS
="$CONFIG_COMMANDS mkcollections.pl" ;;
19744 "$ac_stdint_h" ) CONFIG_COMMANDS
="$CONFIG_COMMANDS $ac_stdint_h" ;;
19745 "gappletviewer" ) CONFIG_COMMANDS
="$CONFIG_COMMANDS gappletviewer" ;;
19746 "gjarsigner" ) CONFIG_COMMANDS
="$CONFIG_COMMANDS gjarsigner" ;;
19747 "gkeytool" ) CONFIG_COMMANDS
="$CONFIG_COMMANDS gkeytool" ;;
19748 "gjar" ) CONFIG_COMMANDS
="$CONFIG_COMMANDS gjar" ;;
19749 "gnative2ascii" ) CONFIG_COMMANDS
="$CONFIG_COMMANDS gnative2ascii" ;;
19750 "gserialver" ) CONFIG_COMMANDS
="$CONFIG_COMMANDS gserialver" ;;
19751 "appletviewer" ) CONFIG_COMMANDS
="$CONFIG_COMMANDS appletviewer" ;;
19752 "jarsigner" ) CONFIG_COMMANDS
="$CONFIG_COMMANDS jarsigner" ;;
19753 "keytool" ) CONFIG_COMMANDS
="$CONFIG_COMMANDS keytool" ;;
19754 "gen-classlist" ) CONFIG_COMMANDS
="$CONFIG_COMMANDS gen-classlist" ;;
19755 "copy-vmresources" ) CONFIG_COMMANDS
="$CONFIG_COMMANDS copy-vmresources" ;;
19756 "include/config.h" ) CONFIG_HEADERS
="$CONFIG_HEADERS include/config.h" ;;
19757 *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
19758 echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
19759 { (exit 1); exit 1; }; };;
19763 # If the user did not use the arguments to specify the items to instantiate,
19764 # then the envvar interface is used. Set only those that are not.
19765 # We use the long form for the default assignment because of an extremely
19766 # bizarre bug on SunOS 4.1.3.
19767 if $ac_need_defaults; then
19768 test "${CONFIG_FILES+set}" = set || CONFIG_FILES
=$config_files
19769 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS
=$config_headers
19770 test "${CONFIG_LINKS+set}" = set || CONFIG_LINKS
=$config_links
19771 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS
=$config_commands
19774 # Have a temporary directory for convenience. Make it in the build tree
19775 # simply because there is no reason to put it here, and in addition,
19776 # creating and moving files from /tmp can sometimes cause problems.
19777 # Create a temporary directory, and hook for its removal unless debugging.
19780 trap 'exit_status=$?; rm -rf $tmp && exit $exit_status' 0
19781 trap '{ (exit 1); exit 1; }' 1 2 13 15
19784 # Create a (secure) tmp directory for tmp files.
19787 tmp
=`(umask 077 && mktemp -d -q "./confstatXXXXXX") 2>/dev/null` &&
19788 test -n "$tmp" && test -d "$tmp"
19791 tmp
=.
/confstat$$
-$RANDOM
19792 (umask 077 && mkdir
$tmp)
19795 echo "$me: cannot create a temporary directory in ." >&2
19796 { (exit 1); exit 1; }
19801 cat >>$CONFIG_STATUS <<_ACEOF
19804 # CONFIG_FILES section.
19807 # No need to generate the scripts if there are no CONFIG_FILES.
19808 # This happens for instance when ./config.status config.h
19809 if test -n "\$CONFIG_FILES"; then
19810 # Protect against being on the right side of a sed subst in config.status.
19811 sed 's/,@/@@/; s/@,/@@/; s/,;t t\$/@;t t/; /@;t t\$/s/[\\\\&,]/\\\\&/g;
19812 s/@@/,@/; s/@@/@,/; s/@;t t\$/,;t t/' >\$tmp/subs.sed <<\\CEOF
19813 s,@SHELL@,$SHELL,;t t
19814 s,@PATH_SEPARATOR@,$PATH_SEPARATOR,;t t
19815 s,@PACKAGE_NAME@,$PACKAGE_NAME,;t t
19816 s,@PACKAGE_TARNAME@,$PACKAGE_TARNAME,;t t
19817 s,@PACKAGE_VERSION@,$PACKAGE_VERSION,;t t
19818 s,@PACKAGE_STRING@,$PACKAGE_STRING,;t t
19819 s,@PACKAGE_BUGREPORT@,$PACKAGE_BUGREPORT,;t t
19820 s,@exec_prefix@,$exec_prefix,;t t
19821 s,@prefix@,$prefix,;t t
19822 s,@program_transform_name@,$program_transform_name,;t t
19823 s,@bindir@,$bindir,;t t
19824 s,@sbindir@,$sbindir,;t t
19825 s,@libexecdir@,$libexecdir,;t t
19826 s,@datadir@,$datadir,;t t
19827 s,@sysconfdir@,$sysconfdir,;t t
19828 s,@sharedstatedir@,$sharedstatedir,;t t
19829 s,@localstatedir@,$localstatedir,;t t
19830 s,@libdir@,$libdir,;t t
19831 s,@includedir@,$includedir,;t t
19832 s,@oldincludedir@,$oldincludedir,;t t
19833 s,@infodir@,$infodir,;t t
19834 s,@mandir@,$mandir,;t t
19835 s,@build_alias@,$build_alias,;t t
19836 s,@host_alias@,$host_alias,;t t
19837 s,@target_alias@,$target_alias,;t t
19838 s,@DEFS@,$DEFS,;t t
19839 s,@ECHO_C@,$ECHO_C,;t t
19840 s,@ECHO_N@,$ECHO_N,;t t
19841 s,@ECHO_T@,$ECHO_T,;t t
19842 s,@LIBS@,$LIBS,;t t
19843 s,@build@,$build,;t t
19844 s,@build_cpu@,$build_cpu,;t t
19845 s,@build_vendor@,$build_vendor,;t t
19846 s,@build_os@,$build_os,;t t
19847 s,@host@,$host,;t t
19848 s,@host_cpu@,$host_cpu,;t t
19849 s,@host_vendor@,$host_vendor,;t t
19850 s,@host_os@,$host_os,;t t
19851 s,@target@,$target,;t t
19852 s,@target_cpu@,$target_cpu,;t t
19853 s,@target_vendor@,$target_vendor,;t t
19854 s,@target_os@,$target_os,;t t
19855 s,@LIBVERSION@,$LIBVERSION,;t t
19856 s,@CLASSPATH_MODULE@,$CLASSPATH_MODULE,;t t
19857 s,@CLASSPATH_CONVENIENCE@,$CLASSPATH_CONVENIENCE,;t t
19858 s,@INSTALL_PROGRAM@,$INSTALL_PROGRAM,;t t
19859 s,@INSTALL_SCRIPT@,$INSTALL_SCRIPT,;t t
19860 s,@INSTALL_DATA@,$INSTALL_DATA,;t t
19861 s,@CYGPATH_W@,$CYGPATH_W,;t t
19862 s,@PACKAGE@,$PACKAGE,;t t
19863 s,@VERSION@,$VERSION,;t t
19864 s,@ACLOCAL@,$ACLOCAL,;t t
19865 s,@AUTOCONF@,$AUTOCONF,;t t
19866 s,@AUTOMAKE@,$AUTOMAKE,;t t
19867 s,@AUTOHEADER@,$AUTOHEADER,;t t
19868 s,@MAKEINFO@,$MAKEINFO,;t t
19869 s,@install_sh@,$install_sh,;t t
19870 s,@STRIP@,$STRIP,;t t
19871 s,@ac_ct_STRIP@,$ac_ct_STRIP,;t t
19872 s,@INSTALL_STRIP_PROGRAM@,$INSTALL_STRIP_PROGRAM,;t t
19873 s,@mkdir_p@,$mkdir_p,;t t
19875 s,@SET_MAKE@,$SET_MAKE,;t t
19876 s,@am__leading_dot@,$am__leading_dot,;t t
19877 s,@AMTAR@,$AMTAR,;t t
19878 s,@am__tar@,$am__tar,;t t
19879 s,@am__untar@,$am__untar,;t t
19880 s,@CREATE_COLLECTIONS_TRUE@,$CREATE_COLLECTIONS_TRUE,;t t
19881 s,@CREATE_COLLECTIONS_FALSE@,$CREATE_COLLECTIONS_FALSE,;t t
19882 s,@CREATE_JNI_LIBRARIES_TRUE@,$CREATE_JNI_LIBRARIES_TRUE,;t t
19883 s,@CREATE_JNI_LIBRARIES_FALSE@,$CREATE_JNI_LIBRARIES_FALSE,;t t
19884 s,@CREATE_CORE_JNI_LIBRARIES_TRUE@,$CREATE_CORE_JNI_LIBRARIES_TRUE,;t t
19885 s,@CREATE_CORE_JNI_LIBRARIES_FALSE@,$CREATE_CORE_JNI_LIBRARIES_FALSE,;t t
19886 s,@CREATE_GCONF_PEER_LIBRARIES_TRUE@,$CREATE_GCONF_PEER_LIBRARIES_TRUE,;t t
19887 s,@CREATE_GCONF_PEER_LIBRARIES_FALSE@,$CREATE_GCONF_PEER_LIBRARIES_FALSE,;t t
19888 s,@default_toolkit@,$default_toolkit,;t t
19889 s,@CREATE_XMLJ_LIBRARY_TRUE@,$CREATE_XMLJ_LIBRARY_TRUE,;t t
19890 s,@CREATE_XMLJ_LIBRARY_FALSE@,$CREATE_XMLJ_LIBRARY_FALSE,;t t
19892 s,@CFLAGS@,$CFLAGS,;t t
19893 s,@LDFLAGS@,$LDFLAGS,;t t
19894 s,@CPPFLAGS@,$CPPFLAGS,;t t
19895 s,@ac_ct_CC@,$ac_ct_CC,;t t
19896 s,@EXEEXT@,$EXEEXT,;t t
19897 s,@OBJEXT@,$OBJEXT,;t t
19898 s,@DEPDIR@,$DEPDIR,;t t
19899 s,@am__include@,$am__include,;t t
19900 s,@am__quote@,$am__quote,;t t
19901 s,@AMDEP_TRUE@,$AMDEP_TRUE,;t t
19902 s,@AMDEP_FALSE@,$AMDEP_FALSE,;t t
19903 s,@AMDEPBACKSLASH@,$AMDEPBACKSLASH,;t t
19904 s,@CCDEPMODE@,$CCDEPMODE,;t t
19905 s,@am__fastdepCC_TRUE@,$am__fastdepCC_TRUE,;t t
19906 s,@am__fastdepCC_FALSE@,$am__fastdepCC_FALSE,;t t
19908 s,@EGREP@,$EGREP,;t t
19909 s,@CREATE_ALSA_LIBRARIES_TRUE@,$CREATE_ALSA_LIBRARIES_TRUE,;t t
19910 s,@CREATE_ALSA_LIBRARIES_FALSE@,$CREATE_ALSA_LIBRARIES_FALSE,;t t
19911 s,@CREATE_DSSI_LIBRARIES_TRUE@,$CREATE_DSSI_LIBRARIES_TRUE,;t t
19912 s,@CREATE_DSSI_LIBRARIES_FALSE@,$CREATE_DSSI_LIBRARIES_FALSE,;t t
19913 s,@CREATE_GTK_PEER_LIBRARIES_TRUE@,$CREATE_GTK_PEER_LIBRARIES_TRUE,;t t
19914 s,@CREATE_GTK_PEER_LIBRARIES_FALSE@,$CREATE_GTK_PEER_LIBRARIES_FALSE,;t t
19915 s,@CREATE_QT_PEER_LIBRARIES_TRUE@,$CREATE_QT_PEER_LIBRARIES_TRUE,;t t
19916 s,@CREATE_QT_PEER_LIBRARIES_FALSE@,$CREATE_QT_PEER_LIBRARIES_FALSE,;t t
19917 s,@CREATE_PLUGIN_TRUE@,$CREATE_PLUGIN_TRUE,;t t
19918 s,@CREATE_PLUGIN_FALSE@,$CREATE_PLUGIN_FALSE,;t t
19919 s,@toolexeclibdir@,$toolexeclibdir,;t t
19920 s,@nativeexeclibdir@,$nativeexeclibdir,;t t
19921 s,@glibjdir@,$glibjdir,;t t
19922 s,@VM_BINARY@,$VM_BINARY,;t t
19923 s,@FOUND_CACAO_TRUE@,$FOUND_CACAO_TRUE,;t t
19924 s,@FOUND_CACAO_FALSE@,$FOUND_CACAO_FALSE,;t t
19925 s,@CREATE_JNI_HEADERS_TRUE@,$CREATE_JNI_HEADERS_TRUE,;t t
19926 s,@CREATE_JNI_HEADERS_FALSE@,$CREATE_JNI_HEADERS_FALSE,;t t
19927 s,@CREATE_WRAPPERS_TRUE@,$CREATE_WRAPPERS_TRUE,;t t
19928 s,@CREATE_WRAPPERS_FALSE@,$CREATE_WRAPPERS_FALSE,;t t
19929 s,@LN_S@,$LN_S,;t t
19931 s,@CXXFLAGS@,$CXXFLAGS,;t t
19932 s,@ac_ct_CXX@,$ac_ct_CXX,;t t
19933 s,@CXXDEPMODE@,$CXXDEPMODE,;t t
19934 s,@am__fastdepCXX_TRUE@,$am__fastdepCXX_TRUE,;t t
19935 s,@am__fastdepCXX_FALSE@,$am__fastdepCXX_FALSE,;t t
19936 s,@RANLIB@,$RANLIB,;t t
19937 s,@ac_ct_RANLIB@,$ac_ct_RANLIB,;t t
19938 s,@LIBTOOL@,$LIBTOOL,;t t
19939 s,@CXXCPP@,$CXXCPP,;t t
19940 s,@PERL@,$PERL,;t t
19941 s,@COLLECTIONS_PREFIX@,$COLLECTIONS_PREFIX,;t t
19942 s,@LIBMAGIC@,$LIBMAGIC,;t t
19943 s,@LIBICONV@,$LIBICONV,;t t
19944 s,@LTLIBICONV@,$LTLIBICONV,;t t
19945 s,@WARNING_CFLAGS@,$WARNING_CFLAGS,;t t
19946 s,@STRICT_WARNING_CFLAGS@,$STRICT_WARNING_CFLAGS,;t t
19947 s,@ERROR_CFLAGS@,$ERROR_CFLAGS,;t t
19948 s,@PKG_CONFIG@,$PKG_CONFIG,;t t
19949 s,@XML_CFLAGS@,$XML_CFLAGS,;t t
19950 s,@XML_LIBS@,$XML_LIBS,;t t
19951 s,@XSLT_CFLAGS@,$XSLT_CFLAGS,;t t
19952 s,@XSLT_LIBS@,$XSLT_LIBS,;t t
19953 s,@X_CFLAGS@,$X_CFLAGS,;t t
19954 s,@X_PRE_LIBS@,$X_PRE_LIBS,;t t
19955 s,@X_LIBS@,$X_LIBS,;t t
19956 s,@X_EXTRA_LIBS@,$X_EXTRA_LIBS,;t t
19957 s,@GTK_CFLAGS@,$GTK_CFLAGS,;t t
19958 s,@GTK_LIBS@,$GTK_LIBS,;t t
19959 s,@FREETYPE2_CFLAGS@,$FREETYPE2_CFLAGS,;t t
19960 s,@FREETYPE2_LIBS@,$FREETYPE2_LIBS,;t t
19961 s,@PANGOFT2_CFLAGS@,$PANGOFT2_CFLAGS,;t t
19962 s,@PANGOFT2_LIBS@,$PANGOFT2_LIBS,;t t
19963 s,@XTEST_LIBS@,$XTEST_LIBS,;t t
19964 s,@GCONF_CFLAGS@,$GCONF_CFLAGS,;t t
19965 s,@GCONF_LIBS@,$GCONF_LIBS,;t t
19966 s,@GDK_CFLAGS@,$GDK_CFLAGS,;t t
19967 s,@GDK_LIBS@,$GDK_LIBS,;t t
19968 s,@QT_CFLAGS@,$QT_CFLAGS,;t t
19969 s,@QT_LIBS@,$QT_LIBS,;t t
19971 s,@MOZILLA_CFLAGS@,$MOZILLA_CFLAGS,;t t
19972 s,@MOZILLA_LIBS@,$MOZILLA_LIBS,;t t
19973 s,@GLIB_CFLAGS@,$GLIB_CFLAGS,;t t
19974 s,@GLIB_LIBS@,$GLIB_LIBS,;t t
19975 s,@PLUGIN_DIR@,$PLUGIN_DIR,;t t
19976 s,@USER_JAVAH@,$USER_JAVAH,;t t
19977 s,@USER_SPECIFIED_JAVAH_TRUE@,$USER_SPECIFIED_JAVAH_TRUE,;t t
19978 s,@USER_SPECIFIED_JAVAH_FALSE@,$USER_SPECIFIED_JAVAH_FALSE,;t t
19979 s,@CLASSPATH_INCLUDES@,$CLASSPATH_INCLUDES,;t t
19981 s,@JIKES@,$JIKES,;t t
19982 s,@JIKESENCODING@,$JIKESENCODING,;t t
19983 s,@JIKESWARNINGS@,$JIKESWARNINGS,;t t
19985 s,@GCJX@,$GCJX,;t t
19987 s,@FOUND_GCJ_TRUE@,$FOUND_GCJ_TRUE,;t t
19988 s,@FOUND_GCJ_FALSE@,$FOUND_GCJ_FALSE,;t t
19989 s,@FOUND_JIKES_TRUE@,$FOUND_JIKES_TRUE,;t t
19990 s,@FOUND_JIKES_FALSE@,$FOUND_JIKES_FALSE,;t t
19991 s,@FOUND_ECJ_TRUE@,$FOUND_ECJ_TRUE,;t t
19992 s,@FOUND_ECJ_FALSE@,$FOUND_ECJ_FALSE,;t t
19993 s,@FOUND_KJC_TRUE@,$FOUND_KJC_TRUE,;t t
19994 s,@FOUND_KJC_FALSE@,$FOUND_KJC_FALSE,;t t
19995 s,@FOUND_GCJX_TRUE@,$FOUND_GCJX_TRUE,;t t
19996 s,@FOUND_GCJX_FALSE@,$FOUND_GCJX_FALSE,;t t
19997 s,@USER_CLASSLIB@,$USER_CLASSLIB,;t t
19998 s,@USER_SPECIFIED_CLASSLIB_TRUE@,$USER_SPECIFIED_CLASSLIB_TRUE,;t t
19999 s,@USER_SPECIFIED_CLASSLIB_FALSE@,$USER_SPECIFIED_CLASSLIB_FALSE,;t t
20000 s,@vm_classes@,$vm_classes,;t t
20001 s,@MAINTAINER_MODE_TRUE@,$MAINTAINER_MODE_TRUE,;t t
20002 s,@MAINTAINER_MODE_FALSE@,$MAINTAINER_MODE_FALSE,;t t
20003 s,@MAINT@,$MAINT,;t t
20004 s,@LIBDEBUG@,$LIBDEBUG,;t t
20005 s,@INIT_LOAD_LIBRARY@,$INIT_LOAD_LIBRARY,;t t
20006 s,@JAVA_LANG_SYSTEM_EXPLICIT_INITIALIZATION@,$JAVA_LANG_SYSTEM_EXPLICIT_INITIALIZATION,;t t
20007 s,@REMOVE@,$REMOVE,;t t
20008 s,@MKDIR@,$MKDIR,;t t
20010 s,@DATE@,$DATE,;t t
20011 s,@FIND@,$FIND,;t t
20013 s,@FASTJAR@,$FASTJAR,;t t
20014 s,@INSTALL_GLIBJ_ZIP_TRUE@,$INSTALL_GLIBJ_ZIP_TRUE,;t t
20015 s,@INSTALL_GLIBJ_ZIP_FALSE@,$INSTALL_GLIBJ_ZIP_FALSE,;t t
20016 s,@INSTALL_CLASS_FILES_TRUE@,$INSTALL_CLASS_FILES_TRUE,;t t
20017 s,@INSTALL_CLASS_FILES_FALSE@,$INSTALL_CLASS_FILES_FALSE,;t t
20018 s,@BUILD_CLASS_FILES_TRUE@,$BUILD_CLASS_FILES_TRUE,;t t
20019 s,@BUILD_CLASS_FILES_FALSE@,$BUILD_CLASS_FILES_FALSE,;t t
20020 s,@EXAMPLESDIR@,$EXAMPLESDIR,;t t
20021 s,@GJDOC@,$GJDOC,;t t
20022 s,@CREATE_API_DOCS_TRUE@,$CREATE_API_DOCS_TRUE,;t t
20023 s,@CREATE_API_DOCS_FALSE@,$CREATE_API_DOCS_FALSE,;t t
20025 s,@JAY_SKELETON@,$JAY_SKELETON,;t t
20026 s,@REGEN_PARSERS_TRUE@,$REGEN_PARSERS_TRUE,;t t
20027 s,@REGEN_PARSERS_FALSE@,$REGEN_PARSERS_FALSE,;t t
20028 s,@USE_PREBUILT_GLIBJ_ZIP_TRUE@,$USE_PREBUILT_GLIBJ_ZIP_TRUE,;t t
20029 s,@USE_PREBUILT_GLIBJ_ZIP_FALSE@,$USE_PREBUILT_GLIBJ_ZIP_FALSE,;t t
20030 s,@PATH_TO_GLIBJ_ZIP@,$PATH_TO_GLIBJ_ZIP,;t t
20031 s,@USE_ESCHER_TRUE@,$USE_ESCHER_TRUE,;t t
20032 s,@USE_ESCHER_FALSE@,$USE_ESCHER_FALSE,;t t
20033 s,@PATH_TO_ESCHER@,$PATH_TO_ESCHER,;t t
20034 s,@ENABLE_LOCAL_SOCKETS_TRUE@,$ENABLE_LOCAL_SOCKETS_TRUE,;t t
20035 s,@ENABLE_LOCAL_SOCKETS_FALSE@,$ENABLE_LOCAL_SOCKETS_FALSE,;t t
20036 s,@DEFAULT_PREFS_PEER@,$DEFAULT_PREFS_PEER,;t t
20037 s,@LIBOBJS@,$LIBOBJS,;t t
20038 s,@LTLIBOBJS@,$LTLIBOBJS,;t t
20043 cat >>$CONFIG_STATUS <<\_ACEOF
20044 # Split the substitutions into bite-sized pieces for seds with
20045 # small command number limits, like on Digital OSF/1 and HP-UX.
20046 ac_max_sed_lines
=48
20047 ac_sed_frag
=1 # Number of current file.
20048 ac_beg
=1 # First line for current file.
20049 ac_end
=$ac_max_sed_lines # Line after last line for current file.
20052 while $ac_more_lines; do
20053 if test $ac_beg -gt 1; then
20054 sed "1,${ac_beg}d; ${ac_end}q" $tmp/subs.
sed >$tmp/subs.frag
20056 sed "${ac_end}q" $tmp/subs.
sed >$tmp/subs.frag
20058 if test ! -s $tmp/subs.frag
; then
20059 ac_more_lines
=false
20061 # The purpose of the label and of the branching condition is to
20062 # speed up the sed processing (if there are no `@' at all, there
20063 # is no need to browse any of the substitutions).
20064 # These are the two extra sed commands mentioned above.
20066 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b' && cat $tmp/subs.frag
) >$tmp/subs-
$ac_sed_frag.
sed
20067 if test -z "$ac_sed_cmds"; then
20068 ac_sed_cmds
="sed -f $tmp/subs-$ac_sed_frag.sed"
20070 ac_sed_cmds
="$ac_sed_cmds | sed -f $tmp/subs-$ac_sed_frag.sed"
20072 ac_sed_frag
=`expr $ac_sed_frag + 1`
20074 ac_end
=`expr $ac_end + $ac_max_sed_lines`
20077 if test -z "$ac_sed_cmds"; then
20080 fi # test -n "$CONFIG_FILES"
20083 cat >>$CONFIG_STATUS <<\_ACEOF
20084 for ac_file
in : $CONFIG_FILES; do test "x$ac_file" = x
: && continue
20085 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
20087 - |
*:- |
*:-:* ) # input from stdin
20089 ac_file_in
=`echo "$ac_file" | sed 's,[^:]*:,,'`
20090 ac_file
=`echo "$ac_file" | sed 's,:.*,,'` ;;
20091 *:* ) ac_file_in
=`echo "$ac_file" | sed 's,[^:]*:,,'`
20092 ac_file
=`echo "$ac_file" | sed 's,:.*,,'` ;;
20093 * ) ac_file_in
=$ac_file.
in ;;
20096 # Compute @srcdir@, @top_srcdir@, and @INSTALL@ for subdirectories.
20097 ac_dir
=`(dirname "$ac_file") 2>/dev/null ||
20098 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
20099 X"$ac_file" : 'X\(//\)[^/]' \| \
20100 X"$ac_file" : 'X\(//\)$' \| \
20101 X"$ac_file" : 'X\(/\)' \| \
20102 . : '\(.\)' 2>/dev/null ||
20104 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
20105 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
20106 /^X\(\/\/\)$/{ s//\1/; q; }
20107 /^X\(\/\).*/{ s//\1/; q; }
20109 { if $as_mkdir_p; then
20114 while test ! -d "$as_dir"; do
20115 as_dirs
="$as_dir $as_dirs"
20116 as_dir
=`(dirname "$as_dir") 2>/dev/null ||
20117 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
20118 X"$as_dir" : 'X\(//\)[^/]' \| \
20119 X"$as_dir" : 'X\(//\)$' \| \
20120 X"$as_dir" : 'X\(/\)' \| \
20121 . : '\(.\)' 2>/dev/null ||
20123 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
20124 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
20125 /^X\(\/\/\)$/{ s//\1/; q; }
20126 /^X\(\/\).*/{ s//\1/; q; }
20129 test ! -n "$as_dirs" || mkdir
$as_dirs
20130 fi ||
{ { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
20131 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
20132 { (exit 1); exit 1; }; }; }
20136 if test "$ac_dir" != .
; then
20137 ac_dir_suffix
=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
20138 # A "../" for each directory in $ac_dir_suffix.
20139 ac_top_builddir
=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
20141 ac_dir_suffix
= ac_top_builddir
=
20145 .
) # No --srcdir option. We are building in place.
20147 if test -z "$ac_top_builddir"; then
20150 ac_top_srcdir
=`echo $ac_top_builddir | sed 's,/$,,'`
20152 [\\/]* | ?
:[\\/]* ) # Absolute path.
20153 ac_srcdir
=$srcdir$ac_dir_suffix;
20154 ac_top_srcdir
=$srcdir ;;
20155 *) # Relative path.
20156 ac_srcdir
=$ac_top_builddir$srcdir$ac_dir_suffix
20157 ac_top_srcdir
=$ac_top_builddir$srcdir ;;
20160 # Do not use `cd foo && pwd` to compute absolute paths, because
20161 # the directories may not exist.
20163 .
) ac_abs_builddir
="$ac_dir";;
20166 .
) ac_abs_builddir
=`pwd`;;
20167 [\\/]* | ?
:[\\/]* ) ac_abs_builddir
="$ac_dir";;
20168 *) ac_abs_builddir
=`pwd`/"$ac_dir";;
20171 case $ac_abs_builddir in
20172 .
) ac_abs_top_builddir
=${ac_top_builddir}.
;;
20174 case ${ac_top_builddir}.
in
20175 .
) ac_abs_top_builddir
=$ac_abs_builddir;;
20176 [\\/]* | ?
:[\\/]* ) ac_abs_top_builddir
=${ac_top_builddir}.
;;
20177 *) ac_abs_top_builddir
=$ac_abs_builddir/${ac_top_builddir}.
;;
20180 case $ac_abs_builddir in
20181 .
) ac_abs_srcdir
=$ac_srcdir;;
20184 .
) ac_abs_srcdir
=$ac_abs_builddir;;
20185 [\\/]* | ?
:[\\/]* ) ac_abs_srcdir
=$ac_srcdir;;
20186 *) ac_abs_srcdir
=$ac_abs_builddir/$ac_srcdir;;
20189 case $ac_abs_builddir in
20190 .
) ac_abs_top_srcdir
=$ac_top_srcdir;;
20192 case $ac_top_srcdir in
20193 .
) ac_abs_top_srcdir
=$ac_abs_builddir;;
20194 [\\/]* | ?
:[\\/]* ) ac_abs_top_srcdir
=$ac_top_srcdir;;
20195 *) ac_abs_top_srcdir
=$ac_abs_builddir/$ac_top_srcdir;;
20201 [\\/$
]* | ?
:[\\/]* ) ac_INSTALL
=$INSTALL ;;
20202 *) ac_INSTALL
=$ac_top_builddir$INSTALL ;;
20205 if test x
"$ac_file" != x-
; then
20206 { echo "$as_me:$LINENO: creating $ac_file" >&5
20207 echo "$as_me: creating $ac_file" >&6;}
20210 # Let's still pretend it is `configure' which instantiates (i.e., don't
20211 # use $as_me), people would be surprised to read:
20212 # /* config.h. Generated by config.status. */
20213 if test x
"$ac_file" = x-
; then
20216 configure_input
="$ac_file. "
20218 configure_input
=$configure_input"Generated from `echo $ac_file_in |
20219 sed 's,.*/,,'` by configure."
20221 # First look for the input files in the build tree, otherwise in the
20223 ac_file_inputs
=`IFS=:
20224 for f in $ac_file_in; do
20226 -) echo $tmp/stdin ;;
20228 # Absolute (can't be DOS-style, as IFS=:)
20229 test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
20230 echo "$as_me: error: cannot find input file: $f" >&2;}
20231 { (exit 1); exit 1; }; }
20234 if test -f "$f"; then
20237 elif test -f "$srcdir/$f"; then
20242 { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
20243 echo "$as_me: error: cannot find input file: $f" >&2;}
20244 { (exit 1); exit 1; }; }
20247 done` ||
{ (exit 1); exit 1; }
20249 cat >>$CONFIG_STATUS <<_ACEOF
20253 cat >>$CONFIG_STATUS <<\_ACEOF
20255 /@
[a-zA-Z_
][a-zA-Z_0-9
]*@
/!b
20256 s
,@configure_input@
,$configure_input,;t t
20257 s
,@srcdir@
,$ac_srcdir,;t t
20258 s
,@abs_srcdir@
,$ac_abs_srcdir,;t t
20259 s
,@top_srcdir@
,$ac_top_srcdir,;t t
20260 s
,@abs_top_srcdir@
,$ac_abs_top_srcdir,;t t
20261 s
,@builddir@
,$ac_builddir,;t t
20262 s
,@abs_builddir@
,$ac_abs_builddir,;t t
20263 s
,@top_builddir@
,$ac_top_builddir,;t t
20264 s
,@abs_top_builddir@
,$ac_abs_top_builddir,;t t
20265 s
,@INSTALL@
,$ac_INSTALL,;t t
20266 " $ac_file_inputs | (eval "$ac_sed_cmds") >$tmp/out
20268 if test x"$ac_file" != x-; then
20269 mv $tmp/out $ac_file
20277 cat >>$CONFIG_STATUS <<\_ACEOF
20280 # CONFIG_HEADER section.
20283 # These sed commands are passed to sed as "A NAME B NAME C VALUE D
", where
20284 # NAME is the cpp macro being defined and VALUE is the value it is being given.
20286 # ac_d sets the value in "#define NAME VALUE" lines.
20287 ac_dA
='s,^\([ ]*\)#\([ ]*define[ ][ ]*\)'
20288 ac_dB
='[ ].*$,\1#\2'
20291 # ac_u turns "#undef NAME" without trailing blanks into "#define NAME VALUE".
20292 ac_uA
='s,^\([ ]*\)#\([ ]*\)undef\([ ][ ]*\)'
20293 ac_uB
='$,\1#\2define\3'
20297 for ac_file
in : $CONFIG_HEADERS; do test "x$ac_file" = x
: && continue
20298 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
20300 - |
*:- |
*:-:* ) # input from stdin
20302 ac_file_in
=`echo "$ac_file" | sed 's,[^:]*:,,'`
20303 ac_file
=`echo "$ac_file" | sed 's,:.*,,'` ;;
20304 *:* ) ac_file_in
=`echo "$ac_file" | sed 's,[^:]*:,,'`
20305 ac_file
=`echo "$ac_file" | sed 's,:.*,,'` ;;
20306 * ) ac_file_in
=$ac_file.
in ;;
20309 test x
"$ac_file" != x-
&& { echo "$as_me:$LINENO: creating $ac_file" >&5
20310 echo "$as_me: creating $ac_file" >&6;}
20312 # First look for the input files in the build tree, otherwise in the
20314 ac_file_inputs
=`IFS=:
20315 for f in $ac_file_in; do
20317 -) echo $tmp/stdin ;;
20319 # Absolute (can't be DOS-style, as IFS=:)
20320 test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
20321 echo "$as_me: error: cannot find input file: $f" >&2;}
20322 { (exit 1); exit 1; }; }
20323 # Do quote $f, to prevent DOS paths from being IFS'd.
20326 if test -f "$f"; then
20329 elif test -f "$srcdir/$f"; then
20334 { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
20335 echo "$as_me: error: cannot find input file: $f" >&2;}
20336 { (exit 1); exit 1; }; }
20339 done` ||
{ (exit 1); exit 1; }
20340 # Remove the trailing spaces.
20341 sed 's/[ ]*$//' $ac_file_inputs >$tmp/in
20345 # Transform confdefs.h into two sed scripts, `conftest.defines' and
20346 # `conftest.undefs', that substitutes the proper values into
20347 # config.h.in to produce config.h. The first handles `#define'
20348 # templates, and the second `#undef' templates.
20349 # And first: Protect against being on the right side of a sed subst in
20350 # config.status. Protect against being in an unquoted here document
20351 # in config.status.
20352 rm -f conftest.defines conftest.undefs
20353 # Using a here document instead of a string reduces the quoting nightmare.
20354 # Putting comments in sed scripts is not portable.
20356 # `end' is used to avoid that the second main sed command (meant for
20357 # 0-ary CPP macros) applies to n-ary macro definitions.
20358 # See the Autoconf documentation for `clear'.
20359 cat >confdef2sed.
sed <<\_ACEOF
20364 s,^[ ]*#[ ]*define[ ][ ]*\([^ (][^ (]*\)\(([^)]*)\)[ ]*\(.*\)$,${ac_dA}\1${ac_dB}\1\2${ac_dC}\3${ac_dD},gp
20366 s,^[ ]*#[ ]*define[ ][ ]*\([^ ][^ ]*\)[ ]*\(.*\)$,${ac_dA}\1${ac_dB}\1${ac_dC}\2${ac_dD},gp
20369 # If some macros were called several times there might be several times
20370 # the same #defines, which is useless. Nevertheless, we may not want to
20371 # sort them, since we want the *last* AC-DEFINE to be honored.
20372 uniq confdefs.h | sed -n -f confdef2sed.sed >conftest.defines
20373 sed 's/ac_d/ac_u/g' conftest.defines >conftest.undefs
20374 rm -f confdef2sed.sed
20376 # This sed command replaces #undef with comments. This is necessary, for
20377 # example, in the case of _POSIX_SOURCE, which is predefined and required
20378 # on some systems where configure will not decide to define it.
20379 cat >>conftest.undefs <<\_ACEOF
20380 s,^[ ]*#[ ]*undef[ ][ ]*[a-zA-Z_][a-zA-Z_0-9]*,/* & */,
20383 # Break up conftest.defines because some shells have a limit on the size
20384 # of here documents, and old seds have small limits too (100 cmds).
20385 echo ' # Handle all the #define templates only if necessary.' >>$CONFIG_STATUS
20386 echo ' if grep "^[ ]*#[ ]*define" $tmp/in >/dev/null; then' >>$CONFIG_STATUS
20387 echo ' # If there are no defines, we may have an empty if/fi' >>$CONFIG_STATUS
20388 echo ' :' >>$CONFIG_STATUS
20389 rm -f conftest.tail
20390 while grep . conftest.defines >/dev/null
20392 # Write a limited-size here document to $tmp/defines.sed.
20393 echo ' cat >$tmp/defines.sed <<CEOF' >>$CONFIG_STATUS
20394 # Speed up: don't consider the non `#define' lines.
20395 echo '/^[ ]*#[ ]*define/!b' >>$CONFIG_STATUS
20396 # Work around the forget-to-reset-the-flag bug.
20397 echo 't clr' >>$CONFIG_STATUS
20398 echo ': clr' >>$CONFIG_STATUS
20399 sed ${ac_max_here_lines}q conftest.defines
>>$CONFIG_STATUS
20401 sed -f $tmp/defines.sed $tmp/in >$tmp/out
20403 mv $tmp/out $tmp/in
20405 sed 1,${ac_max_here_lines}d conftest.defines
>conftest.
tail
20406 rm -f conftest.defines
20407 mv conftest.
tail conftest.defines
20409 rm -f conftest.defines
20410 echo ' fi # grep' >>$CONFIG_STATUS
20411 echo >>$CONFIG_STATUS
20413 # Break up conftest.undefs because some shells have a limit on the size
20414 # of here documents, and old seds have small limits too (100 cmds).
20415 echo ' # Handle all the #undef templates' >>$CONFIG_STATUS
20416 rm -f conftest.
tail
20417 while grep . conftest.undefs
>/dev
/null
20419 # Write a limited-size here document to $tmp/undefs.sed.
20420 echo ' cat >$tmp/undefs.sed <<CEOF' >>$CONFIG_STATUS
20421 # Speed up: don't consider the non
`#undef'
20422 echo '/^[ ]*#[ ]*undef/!b' >>$CONFIG_STATUS
20423 # Work around the forget-to-reset-the-flag bug.
20424 echo 't clr' >>$CONFIG_STATUS
20425 echo ': clr' >>$CONFIG_STATUS
20426 sed ${ac_max_here_lines}q conftest.undefs >>$CONFIG_STATUS
20428 sed -f $tmp/undefs.sed $tmp/in >$tmp/out
20430 mv $tmp/out $tmp/in
20432 sed 1,${ac_max_here_lines}d conftest.undefs >conftest.tail
20433 rm -f conftest.undefs
20434 mv conftest.tail conftest.undefs
20436 rm -f conftest.undefs
20438 cat >>$CONFIG_STATUS <<\_ACEOF
20439 # Let's still pretend it is `configure
' which instantiates (i.e., don't
20440 # use $as_me), people would be surprised to read:
20441 # /* config.h. Generated by config.status. */
20442 if test x
"$ac_file" = x-
; then
20443 echo "/* Generated by configure. */" >$tmp/config.h
20445 echo "/* $ac_file. Generated by configure. */" >$tmp/config.h
20447 cat $tmp/in >>$tmp/config.h
20449 if test x
"$ac_file" != x-
; then
20450 if diff $ac_file $tmp/config.h
>/dev
/null
2>&1; then
20451 { echo "$as_me:$LINENO: $ac_file is unchanged" >&5
20452 echo "$as_me: $ac_file is unchanged" >&6;}
20454 ac_dir
=`(dirname "$ac_file") 2>/dev/null ||
20455 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
20456 X"$ac_file" : 'X\(//\)[^/]' \| \
20457 X"$ac_file" : 'X\(//\)$' \| \
20458 X"$ac_file" : 'X\(/\)' \| \
20459 . : '\(.\)' 2>/dev/null ||
20461 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
20462 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
20463 /^X\(\/\/\)$/{ s//\1/; q; }
20464 /^X\(\/\).*/{ s//\1/; q; }
20466 { if $as_mkdir_p; then
20471 while test ! -d "$as_dir"; do
20472 as_dirs
="$as_dir $as_dirs"
20473 as_dir
=`(dirname "$as_dir") 2>/dev/null ||
20474 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
20475 X"$as_dir" : 'X\(//\)[^/]' \| \
20476 X"$as_dir" : 'X\(//\)$' \| \
20477 X"$as_dir" : 'X\(/\)' \| \
20478 . : '\(.\)' 2>/dev/null ||
20480 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
20481 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
20482 /^X\(\/\/\)$/{ s//\1/; q; }
20483 /^X\(\/\).*/{ s//\1/; q; }
20486 test ! -n "$as_dirs" || mkdir
$as_dirs
20487 fi ||
{ { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
20488 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
20489 { (exit 1); exit 1; }; }; }
20492 mv $tmp/config.h
$ac_file
20496 rm -f $tmp/config.h
20498 # Compute $ac_file's index in $config_headers.
20500 for _am_header
in $config_headers :; do
20501 case $_am_header in
20502 $ac_file |
$ac_file:* )
20505 _am_stamp_count
=`expr $_am_stamp_count + 1` ;;
20508 echo "timestamp for $ac_file" >`(dirname $ac_file) 2>/dev/null ||
20509 $as_expr X$ac_file : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
20510 X$ac_file : 'X\(//\)[^/]' \| \
20511 X$ac_file : 'X\(//\)$' \| \
20512 X$ac_file : 'X\(/\)' \| \
20513 . : '\(.\)' 2>/dev/null ||
20515 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
20516 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
20517 /^X\(\/\/\)$/{ s//\1/; q; }
20518 /^X\(\/\).*/{ s//\1/; q; }
20519 s/.*/./; q'`/stamp-h
$_am_stamp_count
20522 cat >>$CONFIG_STATUS <<\_ACEOF
20525 # CONFIG_LINKS section.
20528 for ac_file
in : $CONFIG_LINKS; do test "x$ac_file" = x
: && continue
20529 ac_dest
=`echo "$ac_file" | sed 's,:.*,,'`
20530 ac_source
=`echo "$ac_file" | sed 's,[^:]*:,,'`
20532 { echo "$as_me:$LINENO: linking $srcdir/$ac_source to $ac_dest" >&5
20533 echo "$as_me: linking $srcdir/$ac_source to $ac_dest" >&6;}
20535 if test ! -r $srcdir/$ac_source; then
20536 { { echo "$as_me:$LINENO: error: $srcdir/$ac_source: file not found" >&5
20537 echo "$as_me: error: $srcdir/$ac_source: file not found" >&2;}
20538 { (exit 1); exit 1; }; }
20542 # Make relative symlinks.
20543 ac_dest_dir
=`(dirname "$ac_dest") 2>/dev/null ||
20544 $as_expr X"$ac_dest" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
20545 X"$ac_dest" : 'X\(//\)[^/]' \| \
20546 X"$ac_dest" : 'X\(//\)$' \| \
20547 X"$ac_dest" : 'X\(/\)' \| \
20548 . : '\(.\)' 2>/dev/null ||
20550 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
20551 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
20552 /^X\(\/\/\)$/{ s//\1/; q; }
20553 /^X\(\/\).*/{ s//\1/; q; }
20555 { if $as_mkdir_p; then
20556 mkdir
-p "$ac_dest_dir"
20558 as_dir
="$ac_dest_dir"
20560 while test ! -d "$as_dir"; do
20561 as_dirs
="$as_dir $as_dirs"
20562 as_dir
=`(dirname "$as_dir") 2>/dev/null ||
20563 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
20564 X"$as_dir" : 'X\(//\)[^/]' \| \
20565 X"$as_dir" : 'X\(//\)$' \| \
20566 X"$as_dir" : 'X\(/\)' \| \
20567 . : '\(.\)' 2>/dev/null ||
20569 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
20570 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
20571 /^X\(\/\/\)$/{ s//\1/; q; }
20572 /^X\(\/\).*/{ s//\1/; q; }
20575 test ! -n "$as_dirs" || mkdir
$as_dirs
20576 fi ||
{ { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dest_dir\"" >&5
20577 echo "$as_me: error: cannot create directory \"$ac_dest_dir\"" >&2;}
20578 { (exit 1); exit 1; }; }; }
20582 if test "$ac_dest_dir" != .
; then
20583 ac_dir_suffix
=/`echo "$ac_dest_dir" | sed 's,^\.[\\/],,'`
20584 # A "../" for each directory in $ac_dir_suffix.
20585 ac_top_builddir
=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
20587 ac_dir_suffix
= ac_top_builddir
=
20591 .
) # No --srcdir option. We are building in place.
20593 if test -z "$ac_top_builddir"; then
20596 ac_top_srcdir
=`echo $ac_top_builddir | sed 's,/$,,'`
20598 [\\/]* | ?
:[\\/]* ) # Absolute path.
20599 ac_srcdir
=$srcdir$ac_dir_suffix;
20600 ac_top_srcdir
=$srcdir ;;
20601 *) # Relative path.
20602 ac_srcdir
=$ac_top_builddir$srcdir$ac_dir_suffix
20603 ac_top_srcdir
=$ac_top_builddir$srcdir ;;
20606 # Do not use `cd foo && pwd` to compute absolute paths, because
20607 # the directories may not exist.
20609 .
) ac_abs_builddir
="$ac_dest_dir";;
20611 case "$ac_dest_dir" in
20612 .
) ac_abs_builddir
=`pwd`;;
20613 [\\/]* | ?
:[\\/]* ) ac_abs_builddir
="$ac_dest_dir";;
20614 *) ac_abs_builddir
=`pwd`/"$ac_dest_dir";;
20617 case $ac_abs_builddir in
20618 .
) ac_abs_top_builddir
=${ac_top_builddir}.
;;
20620 case ${ac_top_builddir}.
in
20621 .
) ac_abs_top_builddir
=$ac_abs_builddir;;
20622 [\\/]* | ?
:[\\/]* ) ac_abs_top_builddir
=${ac_top_builddir}.
;;
20623 *) ac_abs_top_builddir
=$ac_abs_builddir/${ac_top_builddir}.
;;
20626 case $ac_abs_builddir in
20627 .
) ac_abs_srcdir
=$ac_srcdir;;
20630 .
) ac_abs_srcdir
=$ac_abs_builddir;;
20631 [\\/]* | ?
:[\\/]* ) ac_abs_srcdir
=$ac_srcdir;;
20632 *) ac_abs_srcdir
=$ac_abs_builddir/$ac_srcdir;;
20635 case $ac_abs_builddir in
20636 .
) ac_abs_top_srcdir
=$ac_top_srcdir;;
20638 case $ac_top_srcdir in
20639 .
) ac_abs_top_srcdir
=$ac_abs_builddir;;
20640 [\\/]* | ?
:[\\/]* ) ac_abs_top_srcdir
=$ac_top_srcdir;;
20641 *) ac_abs_top_srcdir
=$ac_abs_builddir/$ac_top_srcdir;;
20647 [\\/$
]* | ?
:[\\/]* ) ac_rel_source
=$srcdir/$ac_source ;;
20648 *) ac_rel_source
=$ac_top_builddir$srcdir/$ac_source ;;
20651 # Try a symlink, then a hard link, then a copy.
20652 ln -s $ac_rel_source $ac_dest 2>/dev
/null ||
20653 ln $srcdir/$ac_source $ac_dest 2>/dev
/null ||
20654 cp -p $srcdir/$ac_source $ac_dest ||
20655 { { echo "$as_me:$LINENO: error: cannot link or copy $srcdir/$ac_source to $ac_dest" >&5
20656 echo "$as_me: error: cannot link or copy $srcdir/$ac_source to $ac_dest" >&2;}
20657 { (exit 1); exit 1; }; }
20660 cat >>$CONFIG_STATUS <<\_ACEOF
20663 # CONFIG_COMMANDS section.
20665 for ac_file
in : $CONFIG_COMMANDS; do test "x$ac_file" = x
: && continue
20666 ac_dest
=`echo "$ac_file" | sed 's,:.*,,'`
20667 ac_source
=`echo "$ac_file" | sed 's,[^:]*:,,'`
20668 ac_dir
=`(dirname "$ac_dest") 2>/dev/null ||
20669 $as_expr X"$ac_dest" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
20670 X"$ac_dest" : 'X\(//\)[^/]' \| \
20671 X"$ac_dest" : 'X\(//\)$' \| \
20672 X"$ac_dest" : 'X\(/\)' \| \
20673 . : '\(.\)' 2>/dev/null ||
20675 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
20676 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
20677 /^X\(\/\/\)$/{ s//\1/; q; }
20678 /^X\(\/\).*/{ s//\1/; q; }
20680 { if $as_mkdir_p; then
20685 while test ! -d "$as_dir"; do
20686 as_dirs
="$as_dir $as_dirs"
20687 as_dir
=`(dirname "$as_dir") 2>/dev/null ||
20688 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
20689 X"$as_dir" : 'X\(//\)[^/]' \| \
20690 X"$as_dir" : 'X\(//\)$' \| \
20691 X"$as_dir" : 'X\(/\)' \| \
20692 . : '\(.\)' 2>/dev/null ||
20694 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
20695 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
20696 /^X\(\/\/\)$/{ s//\1/; q; }
20697 /^X\(\/\).*/{ s//\1/; q; }
20700 test ! -n "$as_dirs" || mkdir
$as_dirs
20701 fi ||
{ { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
20702 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
20703 { (exit 1); exit 1; }; }; }
20707 if test "$ac_dir" != .
; then
20708 ac_dir_suffix
=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
20709 # A "../" for each directory in $ac_dir_suffix.
20710 ac_top_builddir
=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
20712 ac_dir_suffix
= ac_top_builddir
=
20716 .
) # No --srcdir option. We are building in place.
20718 if test -z "$ac_top_builddir"; then
20721 ac_top_srcdir
=`echo $ac_top_builddir | sed 's,/$,,'`
20723 [\\/]* | ?
:[\\/]* ) # Absolute path.
20724 ac_srcdir
=$srcdir$ac_dir_suffix;
20725 ac_top_srcdir
=$srcdir ;;
20726 *) # Relative path.
20727 ac_srcdir
=$ac_top_builddir$srcdir$ac_dir_suffix
20728 ac_top_srcdir
=$ac_top_builddir$srcdir ;;
20731 # Do not use `cd foo && pwd` to compute absolute paths, because
20732 # the directories may not exist.
20734 .
) ac_abs_builddir
="$ac_dir";;
20737 .
) ac_abs_builddir
=`pwd`;;
20738 [\\/]* | ?
:[\\/]* ) ac_abs_builddir
="$ac_dir";;
20739 *) ac_abs_builddir
=`pwd`/"$ac_dir";;
20742 case $ac_abs_builddir in
20743 .
) ac_abs_top_builddir
=${ac_top_builddir}.
;;
20745 case ${ac_top_builddir}.
in
20746 .
) ac_abs_top_builddir
=$ac_abs_builddir;;
20747 [\\/]* | ?
:[\\/]* ) ac_abs_top_builddir
=${ac_top_builddir}.
;;
20748 *) ac_abs_top_builddir
=$ac_abs_builddir/${ac_top_builddir}.
;;
20751 case $ac_abs_builddir in
20752 .
) ac_abs_srcdir
=$ac_srcdir;;
20755 .
) ac_abs_srcdir
=$ac_abs_builddir;;
20756 [\\/]* | ?
:[\\/]* ) ac_abs_srcdir
=$ac_srcdir;;
20757 *) ac_abs_srcdir
=$ac_abs_builddir/$ac_srcdir;;
20760 case $ac_abs_builddir in
20761 .
) ac_abs_top_srcdir
=$ac_top_srcdir;;
20763 case $ac_top_srcdir in
20764 .
) ac_abs_top_srcdir
=$ac_abs_builddir;;
20765 [\\/]* | ?
:[\\/]* ) ac_abs_top_srcdir
=$ac_top_srcdir;;
20766 *) ac_abs_top_srcdir
=$ac_abs_builddir/$ac_top_srcdir;;
20771 { echo "$as_me:$LINENO: executing $ac_dest commands" >&5
20772 echo "$as_me: executing $ac_dest commands" >&6;}
20774 depfiles
) test x
"$AMDEP_TRUE" != x
"" ||
for mf
in $CONFIG_FILES; do
20775 # Strip MF so we end up with the name of the file.
20776 mf
=`echo "$mf" | sed -e 's/:.*$//'`
20777 # Check whether this is an Automake generated Makefile or not.
20778 # We used to match only the files named `Makefile.in', but
20779 # some people rename them; so instead we look at the file content.
20780 # Grep'ing the first line is not enough: some people post-process
20781 # each Makefile.in and add a new line on top of each file to say so.
20782 # So let's grep whole file.
20783 if grep '^#.*generated by automake' $mf > /dev
/null
2>&1; then
20784 dirpart
=`(dirname "$mf") 2>/dev/null ||
20785 $as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
20786 X"$mf" : 'X\(//\)[^/]' \| \
20787 X"$mf" : 'X\(//\)$' \| \
20788 X"$mf" : 'X\(/\)' \| \
20789 . : '\(.\)' 2>/dev/null ||
20791 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
20792 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
20793 /^X\(\/\/\)$/{ s//\1/; q; }
20794 /^X\(\/\).*/{ s//\1/; q; }
20799 # Extract the definition of DEPDIR, am__include, and am__quote
20800 # from the Makefile without running `make'.
20801 DEPDIR
=`sed -n 's/^DEPDIR = //p' < "$mf"`
20802 test -z "$DEPDIR" && continue
20803 am__include
=`sed -n 's/^am__include = //p' < "$mf"`
20804 test -z "am__include" && continue
20805 am__quote
=`sed -n 's/^am__quote = //p' < "$mf"`
20806 # When using ansi2knr, U may be empty or an underscore; expand it
20807 U
=`sed -n 's/^U = //p' < "$mf"`
20808 # Find all dependency output files, they are included files with
20809 # $(DEPDIR) in their names. We invoke sed twice because it is the
20810 # simplest approach to changing $(DEPDIR) to its actual value in the
20812 for file in `sed -n "
20813 s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
20814 sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do
20815 # Make sure the directory exists.
20816 test -f "$dirpart/$file" && continue
20817 fdir
=`(dirname "$file") 2>/dev/null ||
20818 $as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
20819 X"$file" : 'X\(//\)[^/]' \| \
20820 X"$file" : 'X\(//\)$' \| \
20821 X"$file" : 'X\(/\)' \| \
20822 . : '\(.\)' 2>/dev/null ||
20824 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
20825 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
20826 /^X\(\/\/\)$/{ s//\1/; q; }
20827 /^X\(\/\).*/{ s//\1/; q; }
20829 { if $as_mkdir_p; then
20830 mkdir
-p $dirpart/$fdir
20832 as_dir
=$dirpart/$fdir
20834 while test ! -d "$as_dir"; do
20835 as_dirs
="$as_dir $as_dirs"
20836 as_dir
=`(dirname "$as_dir") 2>/dev/null ||
20837 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
20838 X"$as_dir" : 'X\(//\)[^/]' \| \
20839 X"$as_dir" : 'X\(//\)$' \| \
20840 X"$as_dir" : 'X\(/\)' \| \
20841 . : '\(.\)' 2>/dev/null ||
20843 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
20844 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
20845 /^X\(\/\/\)$/{ s//\1/; q; }
20846 /^X\(\/\).*/{ s//\1/; q; }
20849 test ! -n "$as_dirs" || mkdir
$as_dirs
20850 fi ||
{ { echo "$as_me:$LINENO: error: cannot create directory $dirpart/$fdir" >&5
20851 echo "$as_me: error: cannot create directory $dirpart/$fdir" >&2;}
20852 { (exit 1); exit 1; }; }; }
20854 # echo "creating $dirpart/$file"
20855 echo '# dummy' > "$dirpart/$file"
20859 mkcollections.pl
) chmod 755 lib
/mkcollections.pl
;;
20861 { echo "$as_me:$LINENO: creating $ac_stdint_h : $_ac_stdint_h" >&5
20862 echo "$as_me: creating $ac_stdint_h : $_ac_stdint_h" >&6;}
20863 ac_stdint
=$tmp/_stdint.h
20865 echo "#ifndef" $_ac_stdint_h >$ac_stdint
20866 echo "#define" $_ac_stdint_h "1" >>$ac_stdint
20867 echo "#ifndef" _GENERATED_STDINT_H
>>$ac_stdint
20868 echo "#define" _GENERATED_STDINT_H
'"'$PACKAGE $VERSION'"' >>$ac_stdint
20869 echo "/* generated $ac_cv_stdint_message */" >>$ac_stdint
20870 if test "_$ac_cv_header_stdint_t" != "_" ; then
20871 echo "#define _STDINT_HAVE_STDINT_H" "1" >>$ac_stdint
20872 echo "#include <stdint.h>" >>$ac_stdint
20873 echo "#endif" >>$ac_stdint
20874 echo "#endif" >>$ac_stdint
20877 cat >>$ac_stdint <<STDINT_EOF
20879 /* ................... shortcircuit part ........................... */
20881 #if defined HAVE_STDINT_H || defined _STDINT_HAVE_STDINT_H
20882 #include <stdint.h>
20884 #include <stddef.h>
20886 /* .................... configured part ............................ */
20890 echo "/* whether we have a C99 compatible stdint header file */" >>$ac_stdint
20891 if test "_$ac_cv_header_stdint_x" != "_" ; then
20892 ac_header
="$ac_cv_header_stdint_x"
20893 echo "#define _STDINT_HEADER_INTPTR" '"'"$ac_header"'"' >>$ac_stdint
20895 echo "/* #undef _STDINT_HEADER_INTPTR */" >>$ac_stdint
20898 echo "/* whether we have a C96 compatible inttypes header file */" >>$ac_stdint
20899 if test "_$ac_cv_header_stdint_o" != "_" ; then
20900 ac_header
="$ac_cv_header_stdint_o"
20901 echo "#define _STDINT_HEADER_UINT32" '"'"$ac_header"'"' >>$ac_stdint
20903 echo "/* #undef _STDINT_HEADER_UINT32 */" >>$ac_stdint
20906 echo "/* whether we have a BSD compatible inet types header */" >>$ac_stdint
20907 if test "_$ac_cv_header_stdint_u" != "_" ; then
20908 ac_header
="$ac_cv_header_stdint_u"
20909 echo "#define _STDINT_HEADER_U_INT32" '"'"$ac_header"'"' >>$ac_stdint
20911 echo "/* #undef _STDINT_HEADER_U_INT32 */" >>$ac_stdint
20914 echo "" >>$ac_stdint
20916 if test "_$ac_header" != "_" ; then if test "$ac_header" != "stddef.h" ; then
20917 echo "#include <$ac_header>" >>$ac_stdint
20918 echo "" >>$ac_stdint
20921 echo "/* which 64bit typedef has been found */" >>$ac_stdint
20922 if test "$ac_cv_type_uint64_t" = "yes" ; then
20923 echo "#define _STDINT_HAVE_UINT64_T" "1" >>$ac_stdint
20925 echo "/* #undef _STDINT_HAVE_UINT64_T */" >>$ac_stdint
20927 if test "$ac_cv_type_u_int64_t" = "yes" ; then
20928 echo "#define _STDINT_HAVE_U_INT64_T" "1" >>$ac_stdint
20930 echo "/* #undef _STDINT_HAVE_U_INT64_T */" >>$ac_stdint
20932 echo "" >>$ac_stdint
20934 echo "/* which type model has been detected */" >>$ac_stdint
20935 if test "_$ac_cv_char_data_model" != "_" ; then
20936 echo "#define _STDINT_CHAR_MODEL" "$ac_cv_char_data_model" >>$ac_stdint
20937 echo "#define _STDINT_LONG_MODEL" "$ac_cv_long_data_model" >>$ac_stdint
20939 echo "/* #undef _STDINT_CHAR_MODEL // skipped */" >>$ac_stdint
20940 echo "/* #undef _STDINT_LONG_MODEL // skipped */" >>$ac_stdint
20942 echo "" >>$ac_stdint
20944 echo "/* whether int_least types were detected */" >>$ac_stdint
20945 if test "$ac_cv_type_int_least32_t" = "yes"; then
20946 echo "#define _STDINT_HAVE_INT_LEAST32_T" "1" >>$ac_stdint
20948 echo "/* #undef _STDINT_HAVE_INT_LEAST32_T */" >>$ac_stdint
20950 echo "/* whether int_fast types were detected */" >>$ac_stdint
20951 if test "$ac_cv_type_int_fast32_t" = "yes"; then
20952 echo "#define _STDINT_HAVE_INT_FAST32_T" "1" >>$ac_stdint
20954 echo "/* #undef _STDINT_HAVE_INT_FAST32_T */" >>$ac_stdint
20956 echo "/* whether intmax_t type was detected */" >>$ac_stdint
20957 if test "$ac_cv_type_intmax_t" = "yes"; then
20958 echo "#define _STDINT_HAVE_INTMAX_T" "1" >>$ac_stdint
20960 echo "/* #undef _STDINT_HAVE_INTMAX_T */" >>$ac_stdint
20962 echo "" >>$ac_stdint
20964 cat >>$ac_stdint <<STDINT_EOF
20965 /* .................... detections part ............................ */
20967 /* whether we need to define bitspecific types from compiler base types */
20968 #ifndef _STDINT_HEADER_INTPTR
20969 #ifndef _STDINT_HEADER_UINT32
20970 #ifndef _STDINT_HEADER_U_INT32
20971 #define _STDINT_NEED_INT_MODEL_T
20973 #define _STDINT_HAVE_U_INT_TYPES
20978 #ifdef _STDINT_HAVE_U_INT_TYPES
20979 #undef _STDINT_NEED_INT_MODEL_T
20982 #ifdef _STDINT_CHAR_MODEL
20983 #if _STDINT_CHAR_MODEL+0 == 122 || _STDINT_CHAR_MODEL+0 == 124
20984 #ifndef _STDINT_BYTE_MODEL
20985 #define _STDINT_BYTE_MODEL 12
20990 #ifndef _STDINT_HAVE_INT_LEAST32_T
20991 #define _STDINT_NEED_INT_LEAST_T
20994 #ifndef _STDINT_HAVE_INT_FAST32_T
20995 #define _STDINT_NEED_INT_FAST_T
20998 #ifndef _STDINT_HEADER_INTPTR
20999 #define _STDINT_NEED_INTPTR_T
21000 #ifndef _STDINT_HAVE_INTMAX_T
21001 #define _STDINT_NEED_INTMAX_T
21006 /* .................... definition part ............................ */
21008 /* some system headers have good uint64_t */
21009 #ifndef _HAVE_UINT64_T
21010 #if defined _STDINT_HAVE_UINT64_T || defined HAVE_UINT64_T
21011 #define _HAVE_UINT64_T
21012 #elif defined _STDINT_HAVE_U_INT64_T || defined HAVE_U_INT64_T
21013 #define _HAVE_UINT64_T
21014 typedef u_int64_t uint64_t;
21018 #ifndef _HAVE_UINT64_T
21019 /* .. here are some common heuristics using compiler runtime specifics */
21020 #if defined __STDC_VERSION__ && defined __STDC_VERSION__ >= 199901L
21021 #define _HAVE_UINT64_T
21022 #define _HAVE_LONGLONG_UINT64_T
21023 typedef long long int64_t;
21024 typedef unsigned long long uint64_t;
21026 #elif !defined __STRICT_ANSI__
21027 #if defined _MSC_VER || defined __WATCOMC__ || defined __BORLANDC__
21028 #define _HAVE_UINT64_T
21029 typedef __int64 int64_t;
21030 typedef unsigned __int64 uint64_t;
21032 #elif defined __GNUC__ || defined __MWERKS__ || defined __ELF__
21033 /* note: all ELF-systems seem to have loff-support which needs 64-bit */
21034 #if !defined _NO_LONGLONG
21035 #define _HAVE_UINT64_T
21036 #define _HAVE_LONGLONG_UINT64_T
21037 typedef long long int64_t;
21038 typedef unsigned long long uint64_t;
21041 #elif defined __alpha || (defined __mips && defined _ABIN32)
21042 #if !defined _NO_LONGLONG
21043 typedef long int64_t;
21044 typedef unsigned long uint64_t;
21046 /* compiler/cpu type to define int64_t */
21051 #if defined _STDINT_HAVE_U_INT_TYPES
21052 /* int8_t int16_t int32_t defined by inet code, redeclare the u_intXX types */
21053 typedef u_int8_t uint8_t;
21054 typedef u_int16_t uint16_t;
21055 typedef u_int32_t uint32_t;
21057 /* glibc compatibility */
21058 #ifndef __int8_t_defined
21059 #define __int8_t_defined
21063 #ifdef _STDINT_NEED_INT_MODEL_T
21064 /* we must guess all the basic types. Apart from byte-adressable system, */
21065 /* there a few 32-bit-only dsp-systems that we guard with BYTE_MODEL 8-} */
21066 /* (btw, those nibble-addressable systems are way off, or so we assume) */
21069 #if defined _STDINT_BYTE_MODEL
21070 #if _STDINT_LONG_MODEL+0 == 242
21071 /* 2:4:2 = IP16 = a normal 16-bit system */
21072 typedef unsigned char uint8_t;
21073 typedef unsigned short uint16_t;
21074 typedef unsigned long uint32_t;
21075 #ifndef __int8_t_defined
21076 #define __int8_t_defined
21077 typedef char int8_t;
21078 typedef short int16_t;
21079 typedef long int32_t;
21081 #elif _STDINT_LONG_MODEL+0 == 244 || _STDINT_LONG_MODEL == 444
21082 /* 2:4:4 = LP32 = a 32-bit system derived from a 16-bit */
21083 /* 4:4:4 = ILP32 = a normal 32-bit system */
21084 typedef unsigned char uint8_t;
21085 typedef unsigned short uint16_t;
21086 typedef unsigned int uint32_t;
21087 #ifndef __int8_t_defined
21088 #define __int8_t_defined
21089 typedef char int8_t;
21090 typedef short int16_t;
21091 typedef int int32_t;
21093 #elif _STDINT_LONG_MODEL+0 == 484 || _STDINT_LONG_MODEL+0 == 488
21094 /* 4:8:4 = IP32 = a 32-bit system prepared for 64-bit */
21095 /* 4:8:8 = LP64 = a normal 64-bit system */
21096 typedef unsigned char uint8_t;
21097 typedef unsigned short uint16_t;
21098 typedef unsigned int uint32_t;
21099 #ifndef __int8_t_defined
21100 #define __int8_t_defined
21101 typedef char int8_t;
21102 typedef short int16_t;
21103 typedef int int32_t;
21105 /* this system has a "long" of 64bit */
21106 #ifndef _HAVE_UINT64_T
21107 #define _HAVE_UINT64_T
21108 typedef unsigned long uint64_t;
21109 typedef long int64_t;
21111 #elif _STDINT_LONG_MODEL+0 == 448
21112 /* LLP64 a 64-bit system derived from a 32-bit system */
21113 typedef unsigned char uint8_t;
21114 typedef unsigned short uint16_t;
21115 typedef unsigned int uint32_t;
21116 #ifndef __int8_t_defined
21117 #define __int8_t_defined
21118 typedef char int8_t;
21119 typedef short int16_t;
21120 typedef int int32_t;
21122 /* assuming the system has a "long long" */
21123 #ifndef _HAVE_UINT64_T
21124 #define _HAVE_UINT64_T
21125 #define _HAVE_LONGLONG_UINT64_T
21126 typedef unsigned long long uint64_t;
21127 typedef long long int64_t;
21130 #define _STDINT_NO_INT32_T
21133 #define _STDINT_NO_INT8_T
21134 #define _STDINT_NO_INT32_T
21139 * quote from SunOS-5.8 sys/inttypes.h:
21140 * Use at your own risk. As of February 1996, the committee is squarely
21141 * behind the fixed sized types; the "least" and "fast" types are still being
21142 * discussed. The probability that the "fast" types may be removed before
21143 * the standard is finalized is high enough that they are not currently
21147 #if defined _STDINT_NEED_INT_LEAST_T
21148 typedef int8_t int_least8_t;
21149 typedef int16_t int_least16_t;
21150 typedef int32_t int_least32_t;
21151 #ifdef _HAVE_UINT64_T
21152 typedef int64_t int_least64_t;
21155 typedef uint8_t uint_least8_t;
21156 typedef uint16_t uint_least16_t;
21157 typedef uint32_t uint_least32_t;
21158 #ifdef _HAVE_UINT64_T
21159 typedef uint64_t uint_least64_t;
21164 #if defined _STDINT_NEED_INT_FAST_T
21165 typedef int8_t int_fast8_t;
21166 typedef int int_fast16_t;
21167 typedef int32_t int_fast32_t;
21168 #ifdef _HAVE_UINT64_T
21169 typedef int64_t int_fast64_t;
21172 typedef uint8_t uint_fast8_t;
21173 typedef unsigned uint_fast16_t;
21174 typedef uint32_t uint_fast32_t;
21175 #ifdef _HAVE_UINT64_T
21176 typedef uint64_t uint_fast64_t;
21181 #ifdef _STDINT_NEED_INTMAX_T
21182 #ifdef _HAVE_UINT64_T
21183 typedef int64_t intmax_t;
21184 typedef uint64_t uintmax_t;
21186 typedef long intmax_t;
21187 typedef unsigned long uintmax_t;
21191 #ifdef _STDINT_NEED_INTPTR_T
21192 #ifndef __intptr_t_defined
21193 #define __intptr_t_defined
21194 /* we encourage using "long" to store pointer values, never use "int" ! */
21195 #if _STDINT_LONG_MODEL+0 == 242 || _STDINT_LONG_MODEL+0 == 484
21196 typedef unsigned int uintptr_t;
21197 typedef int intptr_t;
21198 #elif _STDINT_LONG_MODEL+0 == 244 || _STDINT_LONG_MODEL+0 == 444
21199 typedef unsigned long uintptr_t;
21200 typedef long intptr_t;
21201 #elif _STDINT_LONG_MODEL+0 == 448 && defined _HAVE_UINT64_T
21202 typedef uint64_t uintptr_t;
21203 typedef int64_t intptr_t;
21204 #else /* matches typical system types ILP32 and LP64 - but not IP16 or LLP64 */
21205 typedef unsigned long uintptr_t;
21206 typedef long intptr_t;
21211 /* The ISO C99 standard specifies that in C++ implementations these
21212 should only be defined if explicitly requested. */
21213 #if !defined __cplusplus || defined __STDC_CONSTANT_MACROS
21217 # define INT8_C(c) c
21218 # define INT16_C(c) c
21219 # define INT32_C(c) c
21220 # ifdef _HAVE_LONGLONG_UINT64_T
21221 # define INT64_C(c) c ## L
21223 # define INT64_C(c) c ## LL
21227 # define UINT8_C(c) c ## U
21228 # define UINT16_C(c) c ## U
21229 # define UINT32_C(c) c ## U
21230 # ifdef _HAVE_LONGLONG_UINT64_T
21231 # define UINT64_C(c) c ## UL
21233 # define UINT64_C(c) c ## ULL
21236 /* Maximal type. */
21237 # ifdef _HAVE_LONGLONG_UINT64_T
21238 # define INTMAX_C(c) c ## L
21239 # define UINTMAX_C(c) c ## UL
21241 # define INTMAX_C(c) c ## LL
21242 # define UINTMAX_C(c) c ## ULL
21245 /* literalnumbers */
21249 /* These limits are merily those of a two complement byte-oriented system */
21251 /* Minimum of signed integral types. */
21252 # define INT8_MIN (-128)
21253 # define INT16_MIN (-32767-1)
21254 # define INT32_MIN (-2147483647-1)
21255 # define INT64_MIN (-__INT64_C(9223372036854775807)-1)
21256 /* Maximum of signed integral types. */
21257 # define INT8_MAX (127)
21258 # define INT16_MAX (32767)
21259 # define INT32_MAX (2147483647)
21260 # define INT64_MAX (__INT64_C(9223372036854775807))
21262 /* Maximum of unsigned integral types. */
21263 # define UINT8_MAX (255)
21264 # define UINT16_MAX (65535)
21265 # define UINT32_MAX (4294967295U)
21266 # define UINT64_MAX (__UINT64_C(18446744073709551615))
21268 /* Minimum of signed integral types having a minimum size. */
21269 # define INT_LEAST8_MIN INT8_MIN
21270 # define INT_LEAST16_MIN INT16_MIN
21271 # define INT_LEAST32_MIN INT32_MIN
21272 # define INT_LEAST64_MIN INT64_MIN
21273 /* Maximum of signed integral types having a minimum size. */
21274 # define INT_LEAST8_MAX INT8_MAX
21275 # define INT_LEAST16_MAX INT16_MAX
21276 # define INT_LEAST32_MAX INT32_MAX
21277 # define INT_LEAST64_MAX INT64_MAX
21279 /* Maximum of unsigned integral types having a minimum size. */
21280 # define UINT_LEAST8_MAX UINT8_MAX
21281 # define UINT_LEAST16_MAX UINT16_MAX
21282 # define UINT_LEAST32_MAX UINT32_MAX
21283 # define UINT_LEAST64_MAX UINT64_MAX
21292 if cmp -s $ac_stdint_h $ac_stdint 2>/dev
/null
; then
21293 { echo "$as_me:$LINENO: $ac_stdint_h is unchanged" >&5
21294 echo "$as_me: $ac_stdint_h is unchanged" >&6;}
21296 ac_dir
=`(dirname "$ac_stdint_h") 2>/dev/null ||
21297 $as_expr X"$ac_stdint_h" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
21298 X"$ac_stdint_h" : 'X\(//\)[^/]' \| \
21299 X"$ac_stdint_h" : 'X\(//\)$' \| \
21300 X"$ac_stdint_h" : 'X\(/\)' \| \
21301 . : '\(.\)' 2>/dev/null ||
21302 echo X"$ac_stdint_h" |
21303 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
21304 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
21305 /^X\(\/\/\)$/{ s//\1/; q; }
21306 /^X\(\/\).*/{ s//\1/; q; }
21308 { if $as_mkdir_p; then
21313 while test ! -d "$as_dir"; do
21314 as_dirs
="$as_dir $as_dirs"
21315 as_dir
=`(dirname "$as_dir") 2>/dev/null ||
21316 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
21317 X"$as_dir" : 'X\(//\)[^/]' \| \
21318 X"$as_dir" : 'X\(//\)$' \| \
21319 X"$as_dir" : 'X\(/\)' \| \
21320 . : '\(.\)' 2>/dev/null ||
21322 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
21323 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
21324 /^X\(\/\/\)$/{ s//\1/; q; }
21325 /^X\(\/\).*/{ s//\1/; q; }
21328 test ! -n "$as_dirs" || mkdir
$as_dirs
21329 fi ||
{ { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
21330 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
21331 { (exit 1); exit 1; }; }; }
21334 mv $ac_stdint $ac_stdint_h
21337 gappletviewer
) chmod 755 tools
/gappletviewer
;;
21338 gjarsigner
) chmod 755 tools
/gjarsigner
;;
21339 gkeytool
) chmod 755 tools
/gkeytool
;;
21340 gjar
) chmod 755 tools
/gjar
;;
21341 gnative2ascii
) chmod 755 tools
/gnative2ascii
;;
21342 gserialver
) chmod 755 tools
/gserialver
;;
21343 appletviewer
) chmod 755 tools
/appletviewer
;;
21344 jarsigner
) chmod 755 tools
/jarsigner
;;
21345 keytool
) chmod 755 tools
/keytool
;;
21346 gen-classlist
) chmod 755 lib
/gen-classlist.sh
;;
21347 copy-vmresources
) chmod 755 lib
/copy-vmresources.sh
;;
21352 cat >>$CONFIG_STATUS <<\_ACEOF
21354 { (exit 0); exit 0; }
21356 chmod +x
$CONFIG_STATUS
21357 ac_clean_files
=$ac_clean_files_save
21360 # configure is writing to config.log, and then calls config.status.
21361 # config.status does its own redirection, appending to config.log.
21362 # Unfortunately, on DOS this fails, as config.log is still kept open
21363 # by configure, so config.status won't be able to write to it; its
21364 # output is simply discarded. So we exec the FD to /dev/null,
21365 # effectively closing config.log, so it can be properly (re)opened and
21366 # appended to by config.status. When coming back to configure, we
21367 # need to make the FD available again.
21368 if test "$no_create" != yes; then
21370 ac_config_status_args
=
21371 test "$silent" = yes &&
21372 ac_config_status_args
="$ac_config_status_args --quiet"
21374 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success
=false
21376 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
21377 # would make configure fail if this is the last instruction.
21378 $ac_cs_success ||
{ (exit 1); exit 1; }
21382 # Create standard.omit based on decisions we just made.
21383 cat ${srcdir}/lib
/standard.omit.
in > lib
/standard.omit
21384 if test x
$use_escher != xtrue
; then
21385 echo gnu
/java
/awt
/peer
/x
/.
*java$
>> lib
/standard.omit