2 # Guess values for system-dependent variables and create Makefiles.
3 # Generated by GNU Autoconf 2.59 for GNU Classpath 0.92-pre.
5 # Report bugs to <classpath@gnu.org>.
7 # Copyright (C) 2003 Free Software Foundation, Inc.
8 # This configure script is free software; the Free Software Foundation
9 # gives unlimited permission to copy, distribute and modify it.
10 ## --------------------- ##
11 ## M4sh Initialization. ##
12 ## --------------------- ##
14 # Be Bourne compatible
15 if test -n "${ZSH_VERSION+set}" && (emulate sh
) >/dev
/null
2>&1; then
18 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
19 # is contrary to our usage. Disable this feature.
20 alias -g '${1+"$@"}'='"$@"'
21 elif test -n "${BASH_VERSION+set}" && (set -o posix
) >/dev
/null
2>&1; then
24 DUALCASE
=1; export DUALCASE
# for MKS sh
26 # Support unset when possible.
27 if ( (MAIL
=60; unset MAIL
) ||
exit) >/dev
/null
2>&1; then
34 # Work around bugs in pre-3.0 UWIN ksh.
35 $as_unset ENV MAIL MAILPATH
42 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
43 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
46 if (set +x
; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
47 eval $as_var=C
; export $as_var
53 # Required to use basename.
54 if expr a
: '\(a\)' >/dev
/null
2>&1; then
60 if (basename /) >/dev
/null
2>&1 && test "X`basename / 2>&1`" = "X/"; then
67 # Name of the executable.
68 as_me
=`$as_basename "$0" ||
69 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
70 X"$0" : 'X\(//\)$' \| \
71 X"$0" : 'X\(/\)$' \| \
72 . : '\(.\)' 2>/dev/null ||
74 sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; }
75 /^X\/\(\/\/\)$/{ s//\1/; q; }
76 /^X\/\(\/\).*/{ s//\1/; q; }
80 # PATH needs CR, and LINENO needs CR and PATH.
81 # Avoid depending upon Character Ranges.
82 as_cr_letters
='abcdefghijklmnopqrstuvwxyz'
83 as_cr_LETTERS
='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
84 as_cr_Letters
=$as_cr_letters$as_cr_LETTERS
85 as_cr_digits
='0123456789'
86 as_cr_alnum
=$as_cr_Letters$as_cr_digits
88 # The user is always right.
89 if test "${PATH_SEPARATOR+set}" != set; then
90 echo "#! /bin/sh" >conf$$.sh
91 echo "exit 0" >>conf$$.sh
93 if (PATH
="/nonexistent;."; conf$$.sh
) >/dev
/null
2>&1; then
104 as_lineno_3
=`(expr $as_lineno_1 + 1) 2>/dev/null`
105 test "x$as_lineno_1" != "x$as_lineno_2" &&
106 test "x$as_lineno_3" = "x$as_lineno_2" ||
{
107 # Find who we are. Look in the path if we contain no path at all
110 *[\\/]* ) as_myself
=$0 ;;
111 *) as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
115 test -z "$as_dir" && as_dir
=.
116 test -r "$as_dir/$0" && as_myself
=$as_dir/$0 && break
121 # We did not find ourselves, most probably we were run as `sh COMMAND'
122 # in which case we are not to be found in the path.
123 if test "x$as_myself" = x
; then
126 if test ! -f "$as_myself"; then
127 { echo "$as_me: error: cannot find myself; rerun with an absolute path" >&2
128 { (exit 1); exit 1; }; }
130 case $CONFIG_SHELL in
132 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
133 for as_dir
in /bin
$PATH_SEPARATOR/usr
/bin
$PATH_SEPARATOR$PATH
136 test -z "$as_dir" && as_dir
=.
137 for as_base
in sh bash ksh sh5
; do
140 if ("$as_dir/$as_base" -c '
143 as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
144 test "x$as_lineno_1" != "x$as_lineno_2" &&
145 test "x$as_lineno_3" = "x$as_lineno_2" ') 2>/dev
/null
; then
146 $as_unset BASH_ENV ||
test "${BASH_ENV+set}" != set ||
{ BASH_ENV
=; export BASH_ENV
; }
147 $as_unset ENV ||
test "${ENV+set}" != set ||
{ ENV
=; export ENV
; }
148 CONFIG_SHELL
=$as_dir/$as_base
150 exec "$CONFIG_SHELL" "$0" ${1+"$@"}
158 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
159 # uniformly replaced by the line number. The first 'sed' inserts a
160 # line-number line before each line; the second 'sed' does the real
161 # work. The second script uses 'N' to pair each line-number line
162 # with the numbered line, and appends trailing '-' during
163 # substitution so that $LINENO is not a special case at line end.
164 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
165 # second 'sed' script. Blame Lee E. McMahon for sed's syntax. :-)
166 sed '=' <$as_myself |
171 s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3,
174 s,^['$as_cr_digits']*\n,,
176 chmod +x
$as_me.lineno ||
177 { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
178 { (exit 1); exit 1; }; }
180 # Don't try to exec as it changes $[0], causing all sort of problems
181 # (the dirname of $[0] is not the place where we might find the
182 # original and so on. Autoconf is especially sensible to this).
184 # Exit status is that of the last command.
189 case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in
190 *c
*,-n*) ECHO_N
= ECHO_C
='
192 *c
*,* ) ECHO_N
=-n ECHO_C
= ECHO_T
= ;;
193 *) ECHO_N
= ECHO_C
='\c' ECHO_T
= ;;
196 if expr a
: '\(a\)' >/dev
/null
2>&1; then
202 rm -f conf$$ conf$$.exe conf$$.
file
204 if ln -s conf$$.
file conf$$
2>/dev
/null
; then
205 # We could just check for DJGPP; but this test a) works b) is more generic
206 # and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04).
207 if test -f conf$$.exe
; then
208 # Don't use ln at all; we don't have any links
213 elif ln conf$$.
file conf$$
2>/dev
/null
; then
218 rm -f conf$$ conf$$.exe conf$$.
file
220 if mkdir
-p .
2>/dev
/null
; then
223 test -d .
/-p && rmdir .
/-p
227 as_executable_p
="test -f"
229 # Sed expression to map a string onto a valid CPP name.
230 as_tr_cpp
="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
232 # Sed expression to map a string onto a valid variable name.
233 as_tr_sh
="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
237 # We need space, tab and new line, in precisely that order.
247 # hostname on some systems (SVR3.2, Linux) returns a bogus exit status,
248 # so uname gets run too.
249 ac_hostname
=`(hostname || uname -n) 2>/dev/null | sed 1q`
256 ac_default_prefix
=/usr
/local
257 ac_config_libobj_dir
=.
262 SHELL
=${CONFIG_SHELL-/bin/sh}
264 # Maximum number of lines to put in a shell here document.
265 # This variable seems obsolete. It should probably be removed, and
266 # only ac_max_sed_lines should be used.
267 : ${ac_max_here_lines=38}
269 # Identity of this package.
270 PACKAGE_NAME
='GNU Classpath'
271 PACKAGE_TARNAME
='classpath'
272 PACKAGE_VERSION
='0.92-pre'
273 PACKAGE_STRING
='GNU Classpath 0.92-pre'
274 PACKAGE_BUGREPORT
='classpath@gnu.org'
276 ac_unique_file
="java/lang/System.java"
277 ac_default_prefix
=/usr
/local
/classpath
278 # Factoring default headers for most tests.
279 ac_includes_default
="\
282 # include <sys/types.h>
285 # include <sys/stat.h>
296 # if !STDC_HEADERS && HAVE_MEMORY_H
302 # include <strings.h>
305 # include <inttypes.h>
315 ac_subst_vars
='SHELL PATH_SEPARATOR PACKAGE_NAME PACKAGE_TARNAME PACKAGE_VERSION PACKAGE_STRING PACKAGE_BUGREPORT exec_prefix prefix program_transform_name bindir sbindir libexecdir datadir sysconfdir sharedstatedir localstatedir libdir includedir oldincludedir infodir mandir build_alias host_alias target_alias DEFS ECHO_C ECHO_N ECHO_T LIBS build build_cpu build_vendor build_os host host_cpu host_vendor host_os target target_cpu target_vendor target_os 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 default_toolkit CREATE_XMLJ_LIBRARY_TRUE CREATE_XMLJ_LIBRARY_FALSE CC CFLAGS LDFLAGS CPPFLAGS ac_ct_CC EXEEXT OBJEXT DEPDIR am__include am__quote AMDEP_TRUE AMDEP_FALSE AMDEPBACKSLASH CCDEPMODE am__fastdepCC_TRUE am__fastdepCC_FALSE CPP EGREP CREATE_ALSA_LIBRARIES_TRUE CREATE_ALSA_LIBRARIES_FALSE CREATE_DSSI_LIBRARIES_TRUE CREATE_DSSI_LIBRARIES_FALSE CREATE_GTK_PEER_LIBRARIES_TRUE CREATE_GTK_PEER_LIBRARIES_FALSE CREATE_QT_PEER_LIBRARIES_TRUE CREATE_QT_PEER_LIBRARIES_FALSE CREATE_PLUGIN_TRUE CREATE_PLUGIN_FALSE nativeexeclibdir glibjdir VM_BINARY FOUND_CACAO_TRUE FOUND_CACAO_FALSE CREATE_JNI_HEADERS_TRUE CREATE_JNI_HEADERS_FALSE CREATE_WRAPPERS_TRUE CREATE_WRAPPERS_FALSE LN_S CXX CXXFLAGS ac_ct_CXX CXXDEPMODE am__fastdepCXX_TRUE am__fastdepCXX_FALSE RANLIB ac_ct_RANLIB LIBTOOL CXXCPP PERL COLLECTIONS_PREFIX LIBMAGIC LIBICONV LTLIBICONV WARNING_CFLAGS STRICT_WARNING_CFLAGS ERROR_CFLAGS PKG_CONFIG XML_CFLAGS XML_LIBS XSLT_CFLAGS XSLT_LIBS X_CFLAGS X_PRE_LIBS X_LIBS X_EXTRA_LIBS GTK_CFLAGS GTK_LIBS FREETYPE2_CFLAGS FREETYPE2_LIBS PANGOFT2_CFLAGS PANGOFT2_LIBS XTEST_LIBS 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 ENABLE_LOCAL_SOCKETS_TRUE ENABLE_LOCAL_SOCKETS_FALSE 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-pre to adapt to many kinds of systems.
798 Usage: $0 [OPTION]... [VAR=VALUE]...
800 To assign environment variables (e.g., CC, CFLAGS...), specify them as
801 VAR=VALUE. See below for descriptions of some of the useful variables.
803 Defaults for the options are specified in brackets.
806 -h, --help display this help and exit
807 --help=short display options specific to this package
808 --help=recursive display the short help of all the included packages
809 -V, --version display version information and exit
810 -q, --quiet, --silent do not print \`checking...' messages
811 --cache-file=FILE cache test results in FILE [disabled]
812 -C, --config-cache alias for \`--cache-file=config.cache'
813 -n, --no-create do not create output files
814 --srcdir=DIR find the sources in DIR [configure dir or \`..']
819 Installation directories:
820 --prefix=PREFIX install architecture-independent files in PREFIX
822 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
825 By default, \`make install' will install all the files in
826 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
827 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
828 for instance \`--prefix=\$HOME'.
830 For better control, use the options below.
832 Fine tuning of the installation directories:
833 --bindir=DIR user executables [EPREFIX/bin]
834 --sbindir=DIR system admin executables [EPREFIX/sbin]
835 --libexecdir=DIR program executables [EPREFIX/libexec]
836 --datadir=DIR read-only architecture-independent data [PREFIX/share]
837 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
838 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
839 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
840 --libdir=DIR object code libraries [EPREFIX/lib]
841 --includedir=DIR C header files [PREFIX/include]
842 --oldincludedir=DIR C header files for non-gcc [/usr/include]
843 --infodir=DIR info documentation [PREFIX/info]
844 --mandir=DIR man documentation [PREFIX/man]
850 --program-prefix=PREFIX prepend PREFIX to installed program names
851 --program-suffix=SUFFIX append SUFFIX to installed program names
852 --program-transform-name=PROGRAM run
sed PROGRAM on installed program names
855 --x-includes=DIR X include files are
in DIR
856 --x-libraries=DIR X library files are
in DIR
859 --build=BUILD configure
for building on BUILD
[guessed
]
860 --host=HOST cross-compile to build programs to run on HOST
[BUILD
]
861 --target=TARGET configure
for building compilers
for TARGET
[HOST
]
865 if test -n "$ac_init_help"; then
866 case $ac_init_help in
867 short | recursive
) echo "Configuration of GNU Classpath 0.92-pre:";;
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-Werror whether to compile C code with
-Werror which turns
878 any compiler warning into a compilation failure
880 --enable-default-toolkit
881 fully qualified class name of default AWT toolkit
882 --enable-xmlj compile native libxml
/xslt library default
=no
883 --disable-alsa compile ALSA providers
(enable by
--enable-alsa)
885 --disable-dependency-tracking speeds up one-time build
886 --enable-dependency-tracking do not reject slow dependency extractors
887 --disable-dssi compile DSSI providers
(enable by
--enable-dssi)
889 --disable-gtk-peer compile GTK native peers
(disabled by
--disable-jni)
892 --enable-qt-peer compile Qt4 native peers
(disabled by
--disable-jni)
894 --disable-plugin compile gcjwebplugin
(disabled by
--disable-plugin)
896 --enable-regen-headers automatically regenerate JNI headers default
=no
897 --enable-tool-wrappers create tool wrapper binaries default
=no
898 --enable-static=PKGS build static libraries default
=no
899 --enable-shared=PKGS build shared libraries default
=yes
900 --enable-fast-install=PKGS optimize
for fast installation default
=yes
901 --disable-libtool-lock avoid locking
(might
break parallel builds
)
902 --disable-rpath do not hardcode runtime library paths
903 --enable-maintainer-mode enable make rules and dependencies not useful
904 (and sometimes confusing
) to the casual installer
905 --enable-debug enable runtime debugging code
906 --enable-load-library enable to use JNI native methods default
=yes
907 --enable-java-lang-system-explicit-initialization
908 will the VM explicitly invoke java.lang.System
's
909 static initialization methods default=no
910 --enable-examples enable build of the examples default=yes
911 --enable-portable-native-sync
912 synchronize VM threads portably
913 --enable-local-sockets enables local (AF_LOCAL) socket API default: no
916 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
917 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
918 --with-native-libdir sets the installation directory for native libraries
919 default='${libdir}/${PACKAGE}'
920 --with-glibj-dir sets the installation directory for glibj.zip
921 default='${libdir}/${PACKAGE}'
922 --with-vm sets the VM binary name
923 default='${prefix}/bin
/jamvm
'
924 --with-gnu-ld assume the C compiler uses GNU ld default=no
925 --with-pic try to use only PIC/non-PIC objects default=use both
926 --with-libiconv-prefix[=DIR] search for libiconv in DIR/include and DIR/lib
927 --without-libiconv-prefix don't search
for libiconv
in includedir and libdir
928 --with-x use the X Window System
929 --with-qt4dir=DIR Qt4 installation directory used
for OS-X. For other
930 systems use pkg-config.
931 --with-javah specify path or name of a javah-like program
932 --with-gcj bytecode compilation with gcj
933 --with-jikes bytecode compilation with jikes
934 --with-kjc bytecode compilation with kjc
935 --with-gcjx bytecode compilation with gcjx
936 --with-ecj bytecode compilation with ecj
937 --with-classpath specify path to a classes.
zip like
file
938 --with-vm-classes specify path to VM override
source files
939 --with-fastjar=PATH define to use a fastjar style tool
940 --with-glibj define what to
install (zip|flat|both|none|build
)
942 --with-gjdoc generate documentation using gjdoc
(default is NO
)
943 --with-jay Regenerate the parsers with jay must be given the
944 path to the jay executable
945 --with-glibj-zip=ABS.PATH
946 use prebuilt glibj.
zip class library
948 Some influential environment variables
:
949 CC C compiler
command
950 CFLAGS C compiler flags
951 LDFLAGS linker flags
, e.g.
-L<lib dir
> if you have libraries
in a
952 nonstandard directory
<lib dir
>
953 CPPFLAGS C
/C
++ preprocessor flags
, e.g.
-I<include dir
> if you have
954 headers
in a nonstandard directory
<include dir
>
956 CXX C
++ compiler
command
957 CXXFLAGS C
++ compiler flags
958 CXXCPP C
++ preprocessor
960 Use these variables to override the choices made by
`configure' or to help
961 it to find libraries and programs with nonstandard names/locations.
963 Report bugs to <classpath@gnu.org>.
967 if test "$ac_init_help" = "recursive"; then
968 # If there are subdirs, report their specific --help.
970 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
971 test -d $ac_dir || continue
974 if test "$ac_dir" != .; then
975 ac_dir_suffix=/`echo "$ac_dir" |
sed 's,^\.[\\/],,'`
976 # A "../" for each directory in $ac_dir_suffix.
977 ac_top_builddir=`echo "$ac_dir_suffix" |
sed 's,/[^\\/]*,../,g'`
979 ac_dir_suffix= ac_top_builddir=
983 .) # No --srcdir option. We are building in place.
985 if test -z "$ac_top_builddir"; then
988 ac_top_srcdir=`echo $ac_top_builddir |
sed 's,/$,,'`
990 [\\/]* | ?:[\\/]* ) # Absolute path.
991 ac_srcdir=$srcdir$ac_dir_suffix;
992 ac_top_srcdir=$srcdir ;;
994 ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
995 ac_top_srcdir=$ac_top_builddir$srcdir ;;
998 # Do not use `cd foo
&& pwd` to compute absolute paths, because
999 # the directories may not exist.
1001 .) ac_abs_builddir="$ac_dir";;
1004 .) ac_abs_builddir=`pwd`;;
1005 [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";;
1006 *) ac_abs_builddir=`pwd`/"$ac_dir";;
1009 case $ac_abs_builddir in
1010 .) ac_abs_top_builddir=${ac_top_builddir}.;;
1012 case ${ac_top_builddir}. in
1013 .) ac_abs_top_builddir=$ac_abs_builddir;;
1014 [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;;
1015 *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;;
1018 case $ac_abs_builddir in
1019 .) ac_abs_srcdir=$ac_srcdir;;
1022 .) ac_abs_srcdir=$ac_abs_builddir;;
1023 [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
1024 *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;;
1027 case $ac_abs_builddir in
1028 .) ac_abs_top_srcdir=$ac_top_srcdir;;
1030 case $ac_top_srcdir in
1031 .) ac_abs_top_srcdir=$ac_abs_builddir;;
1032 [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;;
1033 *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;;
1038 # Check for guested configure; otherwise get Cygnus style configure.
1039 if test -f $ac_srcdir/configure.gnu; then
1041 $SHELL $ac_srcdir/configure.gnu --help=recursive
1042 elif test -f $ac_srcdir/configure; then
1044 $SHELL $ac_srcdir/configure --help=recursive
1045 elif test -f $ac_srcdir/configure.ac ||
1046 test -f $ac_srcdir/configure.in; then
1048 $ac_configure --help
1050 echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1056 test -n "$ac_init_help" && exit 0
1057 if $ac_init_version; then
1059 GNU Classpath configure 0.92-pre
1060 generated by GNU Autoconf 2.59
1062 Copyright (C) 2003 Free Software Foundation, Inc.
1063 This configure script is free software; the Free Software Foundation
1064 gives unlimited permission to copy, distribute and modify it.
1070 This file contains any messages produced by compilers while
1071 running configure, to aid debugging if configure makes a mistake.
1073 It was created by GNU Classpath $as_me 0.92-pre, which was
1074 generated by GNU Autoconf 2.59. Invocation command line was
1085 hostname = `(hostname || uname
-n) 2>/dev
/null |
sed 1q
`
1086 uname -m = `(uname
-m) 2>/dev
/null ||
echo unknown
`
1087 uname -r = `(uname
-r) 2>/dev
/null ||
echo unknown
`
1088 uname -s = `(uname
-s) 2>/dev
/null ||
echo unknown
`
1089 uname -v = `(uname
-v) 2>/dev
/null ||
echo unknown
`
1091 /usr/bin/uname -p = `(/usr
/bin
/uname
-p) 2>/dev
/null ||
echo unknown
`
1092 /bin/uname -X = `(/bin
/uname
-X) 2>/dev
/null ||
echo unknown
`
1094 /bin/arch = `(/bin
/arch
) 2>/dev
/null ||
echo unknown
`
1095 /usr/bin/arch -k = `(/usr
/bin
/arch
-k) 2>/dev
/null ||
echo unknown
`
1096 /usr/convex/getsysinfo = `(/usr
/convex
/getsysinfo
) 2>/dev
/null ||
echo unknown
`
1097 hostinfo = `(hostinfo
) 2>/dev
/null ||
echo unknown
`
1098 /bin/machine = `(/bin
/machine
) 2>/dev
/null ||
echo unknown
`
1099 /usr/bin/oslevel = `(/usr
/bin
/oslevel
) 2>/dev
/null ||
echo unknown
`
1100 /bin/universe = `(/bin
/universe
) 2>/dev
/null ||
echo unknown
`
1104 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1108 test -z "$as_dir" && as_dir=.
1109 echo "PATH: $as_dir"
1124 # Keep a trace of the command line.
1125 # Strip out --no-create and --no-recursion so they do not pile up.
1126 # Strip out --silent because we don't want to record it for future runs.
1127 # Also quote any args containing shell meta-characters.
1128 # Make two passes to allow for proper duplicate-argument suppression.
1133 ac_must_keep_next=false
1139 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
1140 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1141 | -silent | --silent | --silen | --sile | --sil)
1143 *" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
1144 ac_arg=`echo "$ac_arg" |
sed "s/'/'\\\\\\\\''/g"` ;;
1147 1) ac_configure_args0="$ac_configure_args0 '$ac_arg'" ;;
1149 ac_configure_args1="$ac_configure_args1 '$ac_arg'"
1150 if test $ac_must_keep_next = true; then
1151 ac_must_keep_next=false # Got value, back to normal.
1154 *=* | --config-cache | -C | -disable-* | --disable-* \
1155 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
1156 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
1157 | -with-* | --with-* | -without-* | --without-* | --x)
1158 case "$ac_configure_args0 " in
1159 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
1162 -* ) ac_must_keep_next=true ;;
1165 ac_configure_args="$ac_configure_args$ac_sep'$ac_arg'"
1166 # Get rid of the leading space.
1172 $as_unset ac_configure_args0 || test "${ac_configure_args0+set}" != set || { ac_configure_args0=; export ac_configure_args0; }
1173 $as_unset ac_configure_args1 || test "${ac_configure_args1+set}" != set || { ac_configure_args1=; export ac_configure_args1; }
1175 # When interrupted or exit'd, cleanup temporary files, and complete
1176 # config.log. We remove comments because anyway the quotes in there
1177 # would cause problems or look ugly.
1178 # WARNING: Be sure not to use single quotes in there, as some shells,
1179 # such as our DU 5.0 friend, will then `close
' the trap.
1180 trap 'exit_status
=$?
1181 # Save into config.log some information that might help in debugging.
1186 ## ---------------- ##
1187 ## Cache variables. ##
1188 ## ---------------- ##
1191 # The following way of writing the cache mishandles newlines in values,
1194 case `(ac_space='"'"' '"'"'; set | grep ac_space) 2>&1` in
1197 "s/'"'"'/'"'"'\\\\'"'"''"'"'/g;
1198 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='"'"'\\2'"'"'/p"
1202 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
1209 ## ----------------- ##
1210 ## Output variables. ##
1211 ## ----------------- ##
1214 for ac_var
in $ac_subst_vars
1216 eval ac_val
=$
`echo $ac_var`
1217 echo "$ac_var='"'"'$ac_val'"'"'"
1221 if test -n "$ac_subst_files"; then
1228 for ac_var
in $ac_subst_files
1230 eval ac_val
=$
`echo $ac_var`
1231 echo "$ac_var='"'"'$ac_val'"'"'"
1236 if test -s confdefs.h
; then
1243 sed "/^$/d" confdefs.h |
sort
1246 test "$ac_signal" != 0 &&
1247 echo "$as_me: caught signal $ac_signal"
1248 echo "$as_me: exit $exit_status"
1250 rm -f core
*.core
&&
1251 rm -rf conftest
* confdefs
* conf$$
* $ac_clean_files &&
1254 for ac_signal in 1 2 13 15; do
1255 trap 'ac_signal
='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
1259 # confdefs.h avoids OS command line length limits that DEFS can exceed.
1260 rm -rf conftest* confdefs.h
1261 # AIX cpp loses on an empty file, so make sure it contains at least a newline.
1264 # Predefined preprocessor variables.
1266 cat >>confdefs.h <<_ACEOF
1267 #define PACKAGE_NAME "$PACKAGE_NAME"
1271 cat >>confdefs.h <<_ACEOF
1272 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
1276 cat >>confdefs.h <<_ACEOF
1277 #define PACKAGE_VERSION "$PACKAGE_VERSION"
1281 cat >>confdefs.h <<_ACEOF
1282 #define PACKAGE_STRING "$PACKAGE_STRING"
1286 cat >>confdefs.h <<_ACEOF
1287 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
1291 # Let the site file select an alternate cache file if it wants to.
1292 # Prefer explicitly selected file to automatically selected ones.
1293 if test -z "$CONFIG_SITE"; then
1294 if test "x$prefix" != xNONE; then
1295 CONFIG_SITE="$prefix/share/config.site $prefix/etc/config.site"
1297 CONFIG_SITE="$ac_default_prefix/share/config.site $ac_default_prefix/etc/config.site"
1300 for ac_site_file in $CONFIG_SITE; do
1301 if test -r "$ac_site_file"; then
1302 { echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
1303 echo "$as_me: loading site script $ac_site_file" >&6;}
1304 sed 's
/^
/|
/' "$ac_site_file" >&5
1309 if test -r "$cache_file"; then
1310 # Some versions of bash will fail to source /dev/null (special
1311 # files actually), so we avoid doing that.
1312 if test -f "$cache_file"; then
1313 { echo "$as_me:$LINENO: loading cache $cache_file" >&5
1314 echo "$as_me: loading cache $cache_file" >&6;}
1316 [\\/]* | ?:[\\/]* ) . $cache_file;;
1317 *) . ./$cache_file;;
1321 { echo "$as_me:$LINENO: creating cache $cache_file" >&5
1322 echo "$as_me: creating cache $cache_file" >&6;}
1326 # Check that the precious variables saved in the cache have kept the same
1328 ac_cache_corrupted=false
1329 for ac_var in `(set) 2>&1 |
1330 sed -n 's
/^ac_env_\
([a-zA-Z_0-9
]*\
)_set
=.
*/\
1/p
'`; do
1331 eval ac_old_set=\$ac_cv_env_${ac_var}_set
1332 eval ac_new_set=\$ac_env_${ac_var}_set
1333 eval ac_old_val="\$ac_cv_env_${ac_var}_value"
1334 eval ac_new_val="\$ac_env_${ac_var}_value"
1335 case $ac_old_set,$ac_new_set in
1337 { echo "$as_me:$LINENO: error: \`$ac_var' was
set to \
`$ac_old_val' in the previous run" >&5
1338 echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run
" >&2;}
1339 ac_cache_corrupted=: ;;
1341 { echo "$as_me:$LINENO: error
: \
`$ac_var' was not set in the previous run" >&5
1342 echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
1343 ac_cache_corrupted=: ;;
1346 if test "x$ac_old_val" != "x$ac_new_val"; then
1347 { echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run
:" >&5
1348 echo "$as_me: error
: \
`$ac_var' has changed since the previous run:" >&2;}
1349 { echo "$as_me:$LINENO: former value: $ac_old_val" >&5
1350 echo "$as_me: former value: $ac_old_val" >&2;}
1351 { echo "$as_me:$LINENO: current value: $ac_new_val" >&5
1352 echo "$as_me: current value: $ac_new_val" >&2;}
1353 ac_cache_corrupted=:
1356 # Pass precious variables to config.status.
1357 if test "$ac_new_set" = set; then
1359 *" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
1360 ac_arg=$ac_var=`echo "$ac_new_val" |
sed "s/'/'\\\\\\\\''/g"` ;;
1361 *) ac_arg=$ac_var=$ac_new_val ;;
1363 case " $ac_configure_args " in
1364 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
1365 *) ac_configure_args="$ac_configure_args '$ac_arg'" ;;
1369 if $ac_cache_corrupted; then
1370 { echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5
1371 echo "$as_me: error: changes in the environment can compromise the build" >&2;}
1372 { { echo "$as_me:$LINENO: error: run \`make distclean
' and/or \`rm $cache_file' and start over
" >&5
1373 echo "$as_me: error
: run \
`make distclean' and/or \`rm $cache_file' and start over" >&2;}
1374 { (exit 1); exit 1; }; }
1378 ac_cpp='$CPP $CPPFLAGS'
1379 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
1380 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
1381 ac_compiler_gnu=$ac_cv_c_compiler_gnu
1412 for ac_dir in $srcdir $srcdir/.. $srcdir/../..; do
1413 if test -f $ac_dir/install-sh; then
1415 ac_install_sh="$ac_aux_dir/install-sh -c"
1417 elif test -f $ac_dir/install.sh; then
1419 ac_install_sh="$ac_aux_dir/install.sh -c"
1421 elif test -f $ac_dir/shtool; then
1423 ac_install_sh="$ac_aux_dir/shtool install -c"
1427 if test -z "$ac_aux_dir"; then
1428 { { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." >&5
1429 echo "$as_me: error: cannot find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." >&2;}
1430 { (exit 1); exit 1; }; }
1432 ac_config_guess="$SHELL $ac_aux_dir/config.guess"
1433 ac_config_sub="$SHELL $ac_aux_dir/config.sub"
1434 ac_configure="$SHELL $ac_aux_dir/configure" # This should be Cygnus configure.
1436 # Make sure we can run config.sub.
1437 $ac_config_sub sun4 >/dev/null 2>&1 ||
1438 { { echo "$as_me:$LINENO: error: cannot run $ac_config_sub" >&5
1439 echo "$as_me: error: cannot run $ac_config_sub" >&2;}
1440 { (exit 1); exit 1; }; }
1442 echo "$as_me:$LINENO: checking build system type" >&5
1443 echo $ECHO_N "checking build system type... $ECHO_C" >&6
1444 if test "${ac_cv_build+set}" = set; then
1445 echo $ECHO_N "(cached) $ECHO_C" >&6
1447 ac_cv_build_alias=$build_alias
1448 test -z "$ac_cv_build_alias" &&
1449 ac_cv_build_alias=`$ac_config_guess`
1450 test -z "$ac_cv_build_alias" &&
1451 { { echo "$as_me:$LINENO: error: cannot guess build type; you must specify one" >&5
1452 echo "$as_me: error: cannot guess build type; you must specify one" >&2;}
1453 { (exit 1); exit 1; }; }
1454 ac_cv_build=`$ac_config_sub $ac_cv_build_alias` ||
1455 { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_build_alias failed" >&5
1456 echo "$as_me: error: $ac_config_sub $ac_cv_build_alias failed" >&2;}
1457 { (exit 1); exit 1; }; }
1460 echo "$as_me:$LINENO: result: $ac_cv_build" >&5
1461 echo "${ECHO_T}$ac_cv_build" >&6
1463 build_cpu=`echo $ac_cv_build | sed 's
/^\
([^
-]*\
)-\
([^
-]*\
)-\
(.
*\
)$
/\
1/'`
1464 build_vendor=`echo $ac_cv_build | sed 's
/^\
([^
-]*\
)-\
([^
-]*\
)-\
(.
*\
)$
/\
2/'`
1465 build_os=`echo $ac_cv_build | sed 's
/^\
([^
-]*\
)-\
([^
-]*\
)-\
(.
*\
)$
/\
3/'`
1468 echo "$as_me:$LINENO: checking host system type" >&5
1469 echo $ECHO_N "checking host system type... $ECHO_C" >&6
1470 if test "${ac_cv_host+set}" = set; then
1471 echo $ECHO_N "(cached) $ECHO_C" >&6
1473 ac_cv_host_alias=$host_alias
1474 test -z "$ac_cv_host_alias" &&
1475 ac_cv_host_alias=$ac_cv_build_alias
1476 ac_cv_host=`$ac_config_sub $ac_cv_host_alias` ||
1477 { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_host_alias failed" >&5
1478 echo "$as_me: error: $ac_config_sub $ac_cv_host_alias failed" >&2;}
1479 { (exit 1); exit 1; }; }
1482 echo "$as_me:$LINENO: result: $ac_cv_host" >&5
1483 echo "${ECHO_T}$ac_cv_host" >&6
1485 host_cpu=`echo $ac_cv_host | sed 's
/^\
([^
-]*\
)-\
([^
-]*\
)-\
(.
*\
)$
/\
1/'`
1486 host_vendor=`echo $ac_cv_host | sed 's
/^\
([^
-]*\
)-\
([^
-]*\
)-\
(.
*\
)$
/\
2/'`
1487 host_os=`echo $ac_cv_host | sed 's
/^\
([^
-]*\
)-\
([^
-]*\
)-\
(.
*\
)$
/\
3/'`
1490 echo "$as_me:$LINENO: checking target system type" >&5
1491 echo $ECHO_N "checking target system type... $ECHO_C" >&6
1492 if test "${ac_cv_target+set}" = set; then
1493 echo $ECHO_N "(cached) $ECHO_C" >&6
1495 ac_cv_target_alias=$target_alias
1496 test "x$ac_cv_target_alias" = "x" &&
1497 ac_cv_target_alias=$ac_cv_host_alias
1498 ac_cv_target=`$ac_config_sub $ac_cv_target_alias` ||
1499 { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_target_alias failed" >&5
1500 echo "$as_me: error: $ac_config_sub $ac_cv_target_alias failed" >&2;}
1501 { (exit 1); exit 1; }; }
1504 echo "$as_me:$LINENO: result: $ac_cv_target" >&5
1505 echo "${ECHO_T}$ac_cv_target" >&6
1506 target=$ac_cv_target
1507 target_cpu=`echo $ac_cv_target | sed 's
/^\
([^
-]*\
)-\
([^
-]*\
)-\
(.
*\
)$
/\
1/'`
1508 target_vendor=`echo $ac_cv_target | sed 's
/^\
([^
-]*\
)-\
([^
-]*\
)-\
(.
*\
)$
/\
2/'`
1509 target_os=`echo $ac_cv_target | sed 's
/^\
([^
-]*\
)-\
([^
-]*\
)-\
(.
*\
)$
/\
3/'`
1512 # The aliases save the names the user supplied, while $host etc.
1513 # will get canonicalized.
1514 test -n "$target_alias" &&
1515 test "$program_prefix$program_suffix$program_transform_name" = \
1517 program_prefix=${target_alias}-
1519 if expr ${target_cpu} : '.
*86' > /dev/null; then target_cpu=x86; fi
1532 CLASSPATH_MODULE="${cp_module} -version-info ${LIBVERSION} -no-undefined"
1535 CLASSPATH_CONVENIENCE="-no-undefined"
1539 am__api_version="1.9"
1540 # Find a good install program. We prefer a C program (faster),
1541 # so one script is as good as another. But avoid the broken or
1542 # incompatible versions:
1543 # SysV /etc/install, /usr/sbin/install
1544 # SunOS /usr/etc/install
1545 # IRIX /sbin/install
1547 # AmigaOS /C/install, which installs bootblocks on floppy discs
1548 # AIX 4 /usr/bin/installbsd, which doesn't work without a
-g flag
1549 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
1550 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
1551 # OS/2's system install, which has a completely different semantic
1552 # ./install, which can be erroneously created by make from ./install.sh.
1553 echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
1554 echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6
1555 if test -z "$INSTALL"; then
1556 if test "${ac_cv_path_install+set}" = set; then
1557 echo $ECHO_N "(cached) $ECHO_C" >&6
1559 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
1563 test -z "$as_dir" && as_dir
=.
1564 # Account for people who put trailing slashes in PATH elements.
1566 .
/ | .
// |
/cC
/* | \
1567 /etc
/* |
/usr
/sbin
/* |
/usr
/etc
/* |
/sbin
/* |
/usr
/afsws
/bin
/* | \
1568 ?
:\\/os2
\\/install\\/* | ?
:\\/OS2
\\/INSTALL
\\/* | \
1571 # OSF1 and SCO ODT 3.0 have their own names for install.
1572 # Don't use installbsd from OSF since it installs stuff as root
1574 for ac_prog
in ginstall scoinst
install; do
1575 for ac_exec_ext
in '' $ac_executable_extensions; do
1576 if $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
1577 if test $ac_prog = install &&
1578 grep dspmsg
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
1579 # AIX install. It has an incompatible calling convention.
1581 elif test $ac_prog = install &&
1582 grep pwplus
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
1583 # program-specific install script used by HP pwplus--don't use.
1586 ac_cv_path_install
="$as_dir/$ac_prog$ac_exec_ext -c"
1598 if test "${ac_cv_path_install+set}" = set; then
1599 INSTALL
=$ac_cv_path_install
1601 # As a last resort, use the slow shell script. We don't cache a
1602 # path for INSTALL within a source directory, because that will
1603 # break other packages using the cache if that directory is
1604 # removed, or if the path is relative.
1605 INSTALL
=$ac_install_sh
1608 echo "$as_me:$LINENO: result: $INSTALL" >&5
1609 echo "${ECHO_T}$INSTALL" >&6
1611 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
1612 # It thinks the first close brace ends the variable substitution.
1613 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM
='${INSTALL}'
1615 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT
='${INSTALL}'
1617 test -z "$INSTALL_DATA" && INSTALL_DATA
='${INSTALL} -m 644'
1619 echo "$as_me:$LINENO: checking whether build environment is sane" >&5
1620 echo $ECHO_N "checking whether build environment is sane... $ECHO_C" >&6
1623 echo timestamp
> conftest.
file
1624 # Do `set' in a subshell so we don't clobber the current shell's
1625 # arguments. Must try -L first in case configure is actually a
1626 # symlink; some systems play weird games with the mod time of symlinks
1627 # (eg FreeBSD returns the mod time of the symlink's containing
1630 set X
`ls -Lt $srcdir/configure conftest.file 2> /dev/null`
1631 if test "$*" = "X"; then
1633 set X
`ls -t $srcdir/configure conftest.file`
1636 if test "$*" != "X $srcdir/configure conftest.file" \
1637 && test "$*" != "X conftest.file $srcdir/configure"; then
1639 # If neither matched, then we have a broken ls. This can happen
1640 # if, for instance, CONFIG_SHELL is bash and it inherits a
1641 # broken ls alias from the environment. This has actually
1642 # happened. Such a system could not be considered "sane".
1643 { { echo "$as_me:$LINENO: error: ls -t appears to fail. Make sure there is not a broken
1644 alias in your environment" >&5
1645 echo "$as_me: error: ls -t appears to fail. Make sure there is not a broken
1646 alias in your environment" >&2;}
1647 { (exit 1); exit 1; }; }
1650 test "$2" = conftest.
file
1656 { { echo "$as_me:$LINENO: error: newly created file is older than distributed files!
1657 Check your system clock" >&5
1658 echo "$as_me: error: newly created file is older than distributed files!
1659 Check your system clock" >&2;}
1660 { (exit 1); exit 1; }; }
1662 echo "$as_me:$LINENO: result: yes" >&5
1663 echo "${ECHO_T}yes" >&6
1664 test "$program_prefix" != NONE
&&
1665 program_transform_name
="s,^,$program_prefix,;$program_transform_name"
1666 # Use a double $ so make ignores it.
1667 test "$program_suffix" != NONE
&&
1668 program_transform_name
="s,\$,$program_suffix,;$program_transform_name"
1669 # Double any \ or $. echo might interpret backslashes.
1670 # By default was `s,x,x', remove it if useless.
1671 cat <<\_ACEOF
>conftest.
sed
1672 s
/[\\$
]/&&/g
;s
/;s
,x
,x
,$
//
1674 program_transform_name
=`echo $program_transform_name | sed -f conftest.sed`
1677 # expand $ac_aux_dir to an absolute path
1678 am_aux_dir
=`cd $ac_aux_dir && pwd`
1680 test x
"${MISSING+set}" = xset || MISSING
="\${SHELL} $am_aux_dir/missing"
1681 # Use eval to expand $SHELL
1682 if eval "$MISSING --run true"; then
1683 am_missing_run
="$MISSING --run "
1686 { echo "$as_me:$LINENO: WARNING: \`missing' script is too old or missing" >&5
1687 echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;}
1690 if mkdir
-p --version .
>/dev
/null
2>&1 && test ! -d .
/--version; then
1691 # We used to keeping the `.' as first argument, in order to
1692 # allow $(mkdir_p) to be used without argument. As in
1693 # $(mkdir_p) $(somedir)
1694 # where $(somedir) is conditionally defined. However this is wrong
1696 # 1. if the package is installed by a user who cannot write `.'
1697 # make install will fail,
1698 # 2. the above comment should most certainly read
1699 # $(mkdir_p) $(DESTDIR)$(somedir)
1700 # so it does not work when $(somedir) is undefined and
1701 # $(DESTDIR) is not.
1702 # To support the latter case, we have to write
1703 # test -z "$(somedir)" || $(mkdir_p) $(DESTDIR)$(somedir),
1704 # so the `.' trick is pointless.
1705 mkdir_p
='mkdir -p --'
1707 # On NextStep and OpenStep, the `mkdir' command does not
1708 # recognize any option. It will interpret all options as
1709 # directories to create, and then abort because `.' already
1711 for d
in .
/-p .
/--version;
1713 test -d $d && rmdir $d
1715 # $(mkinstalldirs) is defined by Automake if mkinstalldirs exists.
1716 if test -f "$ac_aux_dir/mkinstalldirs"; then
1717 mkdir_p
='$(mkinstalldirs)'
1719 mkdir_p
='$(install_sh) -d'
1723 for ac_prog
in gawk mawk nawk
awk
1725 # Extract the first word of "$ac_prog", so it can be a program name with args.
1726 set dummy
$ac_prog; ac_word
=$2
1727 echo "$as_me:$LINENO: checking for $ac_word" >&5
1728 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1729 if test "${ac_cv_prog_AWK+set}" = set; then
1730 echo $ECHO_N "(cached) $ECHO_C" >&6
1732 if test -n "$AWK"; then
1733 ac_cv_prog_AWK
="$AWK" # Let the user override the test.
1735 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
1739 test -z "$as_dir" && as_dir
=.
1740 for ac_exec_ext
in '' $ac_executable_extensions; do
1741 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1742 ac_cv_prog_AWK
="$ac_prog"
1743 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1752 if test -n "$AWK"; then
1753 echo "$as_me:$LINENO: result: $AWK" >&5
1754 echo "${ECHO_T}$AWK" >&6
1756 echo "$as_me:$LINENO: result: no" >&5
1757 echo "${ECHO_T}no" >&6
1760 test -n "$AWK" && break
1763 echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
1764 echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6
1765 set dummy
${MAKE-make}; ac_make
=`echo "$2" | sed 'y,:./+-,___p_,'`
1766 if eval "test \"\${ac_cv_prog_make_${ac_make}_set+set}\" = set"; then
1767 echo $ECHO_N "(cached) $ECHO_C" >&6
1769 cat >conftest.
make <<\_ACEOF
1771 @
echo 'ac_maketemp="$(MAKE)"'
1773 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
1774 eval `${MAKE-make} -f conftest.make 2>/dev/null | grep temp=`
1775 if test -n "$ac_maketemp"; then
1776 eval ac_cv_prog_make_
${ac_make}_set
=yes
1778 eval ac_cv_prog_make_
${ac_make}_set
=no
1782 if eval "test \"`echo '$ac_cv_prog_make_'${ac_make}_set`\" = yes"; then
1783 echo "$as_me:$LINENO: result: yes" >&5
1784 echo "${ECHO_T}yes" >&6
1787 echo "$as_me:$LINENO: result: no" >&5
1788 echo "${ECHO_T}no" >&6
1789 SET_MAKE
="MAKE=${MAKE-make}"
1792 rm -rf .tst
2>/dev
/null
1793 mkdir .tst
2>/dev
/null
1794 if test -d .tst
; then
1799 rmdir .tst
2>/dev
/null
1801 # test to see if srcdir already configured
1802 if test "`cd $srcdir && pwd`" != "`pwd`" &&
1803 test -f $srcdir/config.status
; then
1804 { { echo "$as_me:$LINENO: error: source directory already configured; run \"make distclean\" there first" >&5
1805 echo "$as_me: error: source directory already configured; run \"make distclean\" there first" >&2;}
1806 { (exit 1); exit 1; }; }
1809 # test whether we have cygpath
1810 if test -z "$CYGPATH_W"; then
1811 if (cygpath
--version) >/dev
/null
2>/dev
/null
; then
1812 CYGPATH_W
='cygpath -w'
1819 # Define the identity of the package.
1824 cat >>confdefs.h
<<_ACEOF
1825 #define PACKAGE "$PACKAGE"
1829 cat >>confdefs.h
<<_ACEOF
1830 #define VERSION "$VERSION"
1833 # Some tools Automake needs.
1835 ACLOCAL
=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
1838 AUTOCONF
=${AUTOCONF-"${am_missing_run}autoconf"}
1841 AUTOMAKE
=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
1844 AUTOHEADER
=${AUTOHEADER-"${am_missing_run}autoheader"}
1847 MAKEINFO
=${MAKEINFO-"${am_missing_run}makeinfo"}
1849 install_sh
=${install_sh-"$am_aux_dir/install-sh"}
1851 # Installed binaries are usually stripped using `strip' when the user
1852 # run `make install-strip'. However `strip' might not be the right
1853 # tool to use in cross-compilation environments, therefore Automake
1854 # will honor the `STRIP' environment variable to overrule this program.
1855 if test "$cross_compiling" != no
; then
1856 if test -n "$ac_tool_prefix"; then
1857 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
1858 set dummy
${ac_tool_prefix}strip
; ac_word
=$2
1859 echo "$as_me:$LINENO: checking for $ac_word" >&5
1860 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1861 if test "${ac_cv_prog_STRIP+set}" = set; then
1862 echo $ECHO_N "(cached) $ECHO_C" >&6
1864 if test -n "$STRIP"; then
1865 ac_cv_prog_STRIP
="$STRIP" # Let the user override the test.
1867 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
1871 test -z "$as_dir" && as_dir
=.
1872 for ac_exec_ext
in '' $ac_executable_extensions; do
1873 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1874 ac_cv_prog_STRIP
="${ac_tool_prefix}strip"
1875 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1883 STRIP
=$ac_cv_prog_STRIP
1884 if test -n "$STRIP"; then
1885 echo "$as_me:$LINENO: result: $STRIP" >&5
1886 echo "${ECHO_T}$STRIP" >&6
1888 echo "$as_me:$LINENO: result: no" >&5
1889 echo "${ECHO_T}no" >&6
1893 if test -z "$ac_cv_prog_STRIP"; then
1895 # Extract the first word of "strip", so it can be a program name with args.
1896 set dummy strip
; ac_word
=$2
1897 echo "$as_me:$LINENO: checking for $ac_word" >&5
1898 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1899 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
1900 echo $ECHO_N "(cached) $ECHO_C" >&6
1902 if test -n "$ac_ct_STRIP"; then
1903 ac_cv_prog_ac_ct_STRIP
="$ac_ct_STRIP" # Let the user override the test.
1905 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
1909 test -z "$as_dir" && as_dir
=.
1910 for ac_exec_ext
in '' $ac_executable_extensions; do
1911 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1912 ac_cv_prog_ac_ct_STRIP
="strip"
1913 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1919 test -z "$ac_cv_prog_ac_ct_STRIP" && ac_cv_prog_ac_ct_STRIP
=":"
1922 ac_ct_STRIP
=$ac_cv_prog_ac_ct_STRIP
1923 if test -n "$ac_ct_STRIP"; then
1924 echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
1925 echo "${ECHO_T}$ac_ct_STRIP" >&6
1927 echo "$as_me:$LINENO: result: no" >&5
1928 echo "${ECHO_T}no" >&6
1933 STRIP
="$ac_cv_prog_STRIP"
1937 INSTALL_STRIP_PROGRAM
="\${SHELL} \$(install_sh) -c -s"
1939 # We need awk for the "check" target. The system "awk" is bad on
1941 # Always define AMTAR for backward compatibility.
1943 AMTAR
=${AMTAR-"${am_missing_run}tar"}
1946 echo "$as_me:$LINENO: checking how to create a ustar tar archive" >&5
1947 echo $ECHO_N "checking how to create a ustar tar archive... $ECHO_C" >&6
1948 # Loop over all known methods to create a tar archive until one works.
1949 _am_tools
='gnutar plaintar pax cpio none'
1950 _am_tools
=${am_cv_prog_tar_ustar-$_am_tools}
1951 # Do not fold the above two line into one, because Tru64 sh and
1952 # Solaris sh will not grok spaces in the rhs of `-'.
1953 for _am_tool
in $_am_tools
1957 for _am_tar
in tar gnutar gtar
;
1959 { echo "$as_me:$LINENO: $_am_tar --version" >&5
1960 ($_am_tar --version) >&5 2>&5
1962 echo "$as_me:$LINENO: \$? = $ac_status" >&5
1963 (exit $ac_status); } && break
1965 am__tar
="$_am_tar --format=ustar -chf - "'"$$tardir"'
1966 am__tar_
="$_am_tar --format=ustar -chf - "'"$tardir"'
1967 am__untar
="$_am_tar -xf -"
1970 # Must skip GNU tar: if it does not support --format= it doesn't create
1971 # ustar tarball either.
1972 (tar --version) >/dev
/null
2>&1 && continue
1973 am__tar
='tar chf - "$$tardir"'
1974 am__tar_
='tar chf - "$tardir"'
1975 am__untar
='tar xf -'
1978 am__tar
='pax -L -x ustar -w "$$tardir"'
1979 am__tar_
='pax -L -x ustar -w "$tardir"'
1983 am__tar
='find "$$tardir" -print | cpio -o -H ustar -L'
1984 am__tar_
='find "$tardir" -print | cpio -o -H ustar -L'
1985 am__untar
='cpio -i -H ustar -d'
1994 # If the value was cached, stop now. We just wanted to have am__tar
1995 # and am__untar set.
1996 test -n "${am_cv_prog_tar_ustar}" && break
1998 # tar/untar a dummy directory, and stop if the command works
2001 echo GrepMe
> conftest.dir
/file
2002 { echo "$as_me:$LINENO: tardir=conftest.dir && eval $am__tar_ >conftest.tar" >&5
2003 (tardir
=conftest.dir
&& eval $am__tar_ >conftest.
tar) >&5 2>&5
2005 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2006 (exit $ac_status); }
2008 if test -s conftest.
tar; then
2009 { echo "$as_me:$LINENO: $am__untar <conftest.tar" >&5
2010 ($am__untar <conftest.
tar) >&5 2>&5
2012 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2013 (exit $ac_status); }
2014 grep GrepMe conftest.dir
/file >/dev
/null
2>&1 && break
2019 if test "${am_cv_prog_tar_ustar+set}" = set; then
2020 echo $ECHO_N "(cached) $ECHO_C" >&6
2022 am_cv_prog_tar_ustar
=$_am_tool
2025 echo "$as_me:$LINENO: result: $am_cv_prog_tar_ustar" >&5
2026 echo "${ECHO_T}$am_cv_prog_tar_ustar" >&6
2032 ac_config_headers
="$ac_config_headers include/config.h"
2036 # Check whether --enable-collections or --disable-collections was given.
2037 if test "${enable_collections+set}" = set; then
2038 enableval
="$enable_collections"
2039 case x
"${enableval}" in
2040 xyes
) COMPILE_COLLECTIONS
=yes; COLLECTIONS_PREFIX
="\"gnu/java/util/collections\"" ;;
2041 xno
) COMPILE_COLLECTIONS
=no
;;
2042 x
) COMPILE_COLLECTIONS
=yes; COLLECTIONS_PREFIX
="\"gnu/java/util/collections\"" ;;
2043 *) COMPILE_COLLECTIONS
=yes; COLLECTIONS_PREFIX
="\"${enableval}\"" ;;
2046 COMPILE_COLLECTIONS
=no
2050 if test "x${COMPILE_COLLECTIONS}" = xyes
; then
2051 CREATE_COLLECTIONS_TRUE
=
2052 CREATE_COLLECTIONS_FALSE
='#'
2054 CREATE_COLLECTIONS_TRUE
='#'
2055 CREATE_COLLECTIONS_FALSE
=
2059 # Check whether --enable-jni or --disable-jni was given.
2060 if test "${enable_jni+set}" = set; then
2061 enableval
="$enable_jni"
2062 case "${enableval}" in
2063 yes) COMPILE_JNI
=yes; COMPILE_JAVA
=yes ;;
2064 no
) COMPILE_JNI
=no
;;
2065 *) COMPILE_JNI
=yes; COMPILE_JAVA
=yes ;;
2072 if test "x${COMPILE_JNI}" = xyes
; then
2073 CREATE_JNI_LIBRARIES_TRUE
=
2074 CREATE_JNI_LIBRARIES_FALSE
='#'
2076 CREATE_JNI_LIBRARIES_TRUE
='#'
2077 CREATE_JNI_LIBRARIES_FALSE
=
2081 # Check whether --enable-core-jni or --disable-core-jni was given.
2082 if test "${enable_core_jni+set}" = set; then
2083 enableval
="$enable_core_jni"
2084 case "${enableval}" in
2085 yes) COMPILE_CORE_JNI
=yes; COMPILE_JAVA
=yes ;;
2086 no
) COMPILE_CORE_JNI
=no
;;
2087 *) COMPILE_CORE_JNI
=yes; COMPILE_JAVA
=yes ;;
2090 COMPILE_CORE_JNI
=yes
2094 if test "x${COMPILE_CORE_JNI}" = xyes
; then
2095 CREATE_CORE_JNI_LIBRARIES_TRUE
=
2096 CREATE_CORE_JNI_LIBRARIES_FALSE
='#'
2098 CREATE_CORE_JNI_LIBRARIES_TRUE
='#'
2099 CREATE_CORE_JNI_LIBRARIES_FALSE
=
2103 # Check whether --enable-Werror or --disable-Werror was given.
2104 if test "${enable_Werror+set}" = set; then
2105 enableval
="$enable_Werror"
2106 case "${enableval}" in
2107 yes) ENABLE_WERROR
=yes ;;
2108 no
) ENABLE_WERROR
=no
;;
2109 *) ENABLE_WERROR
=no
;;
2115 # Check whether --enable-default-toolkit or --disable-default-toolkit was given.
2116 if test "${enable_default_toolkit+set}" = set; then
2117 enableval
="$enable_default_toolkit"
2120 default_toolkit
=$enable_default_toolkit
2121 if test "$default_toolkit" = ""; then
2122 default_toolkit
=gnu.java.awt.peer.gtk.GtkToolkit
2126 # Check whether --enable-xmlj or --disable-xmlj was given.
2127 if test "${enable_xmlj+set}" = set; then
2128 enableval
="$enable_xmlj"
2129 case "${enableval}" in
2130 yes) COMPILE_XMLJ
=yes ;;
2131 no
) COMPILE_XMLJ
=no
;;
2132 *) COMPILE_XMLJ
=no
;;
2139 if test "x${COMPILE_XMLJ}" = xyes
; then
2140 CREATE_XMLJ_LIBRARY_TRUE
=
2141 CREATE_XMLJ_LIBRARY_FALSE
='#'
2143 CREATE_XMLJ_LIBRARY_TRUE
='#'
2144 CREATE_XMLJ_LIBRARY_FALSE
=
2148 DEPDIR
="${am__leading_dot}deps"
2150 ac_config_commands
="$ac_config_commands depfiles"
2153 am_make
=${MAKE-make}
2154 cat > confinc
<< 'END'
2159 # If we don't find an include directive, just comment out the code.
2160 echo "$as_me:$LINENO: checking for style of include used by $am_make" >&5
2161 echo $ECHO_N "checking for style of include used by $am_make... $ECHO_C" >&6
2165 # First try GNU make style include.
2166 echo "include confinc" > confmf
2167 # We grep out `Entering directory' and `Leaving directory'
2168 # messages which can occur if `w' ends up in MAKEFLAGS.
2169 # In particular we don't look at `^make:' because GNU make might
2170 # be invoked under some other name (usually "gmake"), in which
2171 # case it prints its new name instead of `make'.
2172 if test "`$am_make -s -f confmf 2> /dev/null | grep -v 'ing directory'`" = "done"; then
2177 # Now try BSD make style include.
2178 if test "$am__include" = "#"; then
2179 echo '.include "confinc"' > confmf
2180 if test "`$am_make -s -f confmf 2> /dev/null`" = "done"; then
2181 am__include
=.include
2188 echo "$as_me:$LINENO: result: $_am_result" >&5
2189 echo "${ECHO_T}$_am_result" >&6
2190 rm -f confinc confmf
2192 # Check whether --enable-dependency-tracking or --disable-dependency-tracking was given.
2193 if test "${enable_dependency_tracking+set}" = set; then
2194 enableval
="$enable_dependency_tracking"
2197 if test "x$enable_dependency_tracking" != xno
; then
2198 am_depcomp
="$ac_aux_dir/depcomp"
2203 if test "x$enable_dependency_tracking" != xno; then
2214 ac_cpp
='$CPP $CPPFLAGS'
2215 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2216 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2217 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
2218 if test -n "$ac_tool_prefix"; then
2219 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
2220 set dummy
${ac_tool_prefix}gcc
; ac_word
=$2
2221 echo "$as_me:$LINENO: checking for $ac_word" >&5
2222 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2223 if test "${ac_cv_prog_CC+set}" = set; then
2224 echo $ECHO_N "(cached) $ECHO_C" >&6
2226 if test -n "$CC"; then
2227 ac_cv_prog_CC
="$CC" # Let the user override the test.
2229 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2233 test -z "$as_dir" && as_dir
=.
2234 for ac_exec_ext
in '' $ac_executable_extensions; do
2235 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2236 ac_cv_prog_CC
="${ac_tool_prefix}gcc"
2237 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2246 if test -n "$CC"; then
2247 echo "$as_me:$LINENO: result: $CC" >&5
2248 echo "${ECHO_T}$CC" >&6
2250 echo "$as_me:$LINENO: result: no" >&5
2251 echo "${ECHO_T}no" >&6
2255 if test -z "$ac_cv_prog_CC"; then
2257 # Extract the first word of "gcc", so it can be a program name with args.
2258 set dummy gcc
; ac_word
=$2
2259 echo "$as_me:$LINENO: checking for $ac_word" >&5
2260 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2261 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
2262 echo $ECHO_N "(cached) $ECHO_C" >&6
2264 if test -n "$ac_ct_CC"; then
2265 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
2267 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2271 test -z "$as_dir" && as_dir
=.
2272 for ac_exec_ext
in '' $ac_executable_extensions; do
2273 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2274 ac_cv_prog_ac_ct_CC
="gcc"
2275 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2283 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
2284 if test -n "$ac_ct_CC"; then
2285 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
2286 echo "${ECHO_T}$ac_ct_CC" >&6
2288 echo "$as_me:$LINENO: result: no" >&5
2289 echo "${ECHO_T}no" >&6
2297 if test -z "$CC"; then
2298 if test -n "$ac_tool_prefix"; then
2299 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
2300 set dummy
${ac_tool_prefix}cc
; ac_word
=$2
2301 echo "$as_me:$LINENO: checking for $ac_word" >&5
2302 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2303 if test "${ac_cv_prog_CC+set}" = set; then
2304 echo $ECHO_N "(cached) $ECHO_C" >&6
2306 if test -n "$CC"; then
2307 ac_cv_prog_CC
="$CC" # Let the user override the test.
2309 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2313 test -z "$as_dir" && as_dir
=.
2314 for ac_exec_ext
in '' $ac_executable_extensions; do
2315 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2316 ac_cv_prog_CC
="${ac_tool_prefix}cc"
2317 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2326 if test -n "$CC"; then
2327 echo "$as_me:$LINENO: result: $CC" >&5
2328 echo "${ECHO_T}$CC" >&6
2330 echo "$as_me:$LINENO: result: no" >&5
2331 echo "${ECHO_T}no" >&6
2335 if test -z "$ac_cv_prog_CC"; then
2337 # Extract the first word of "cc", so it can be a program name with args.
2338 set dummy cc
; ac_word
=$2
2339 echo "$as_me:$LINENO: checking for $ac_word" >&5
2340 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2341 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
2342 echo $ECHO_N "(cached) $ECHO_C" >&6
2344 if test -n "$ac_ct_CC"; then
2345 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
2347 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2351 test -z "$as_dir" && as_dir
=.
2352 for ac_exec_ext
in '' $ac_executable_extensions; do
2353 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2354 ac_cv_prog_ac_ct_CC
="cc"
2355 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2363 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
2364 if test -n "$ac_ct_CC"; then
2365 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
2366 echo "${ECHO_T}$ac_ct_CC" >&6
2368 echo "$as_me:$LINENO: result: no" >&5
2369 echo "${ECHO_T}no" >&6
2378 if test -z "$CC"; then
2379 # Extract the first word of "cc", so it can be a program name with args.
2380 set dummy cc
; ac_word
=$2
2381 echo "$as_me:$LINENO: checking for $ac_word" >&5
2382 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2383 if test "${ac_cv_prog_CC+set}" = set; then
2384 echo $ECHO_N "(cached) $ECHO_C" >&6
2386 if test -n "$CC"; then
2387 ac_cv_prog_CC
="$CC" # Let the user override the test.
2390 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2394 test -z "$as_dir" && as_dir
=.
2395 for ac_exec_ext
in '' $ac_executable_extensions; do
2396 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2397 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
2398 ac_prog_rejected
=yes
2402 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2408 if test $ac_prog_rejected = yes; then
2409 # We found a bogon in the path, so make sure we never use it.
2410 set dummy
$ac_cv_prog_CC
2412 if test $# != 0; then
2413 # We chose a different compiler from the bogus one.
2414 # However, it has the same basename, so the bogon will be chosen
2415 # first if we set CC to just the basename; use the full file name.
2417 ac_cv_prog_CC
="$as_dir/$ac_word${1+' '}$@"
2423 if test -n "$CC"; then
2424 echo "$as_me:$LINENO: result: $CC" >&5
2425 echo "${ECHO_T}$CC" >&6
2427 echo "$as_me:$LINENO: result: no" >&5
2428 echo "${ECHO_T}no" >&6
2432 if test -z "$CC"; then
2433 if test -n "$ac_tool_prefix"; then
2436 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
2437 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
2438 echo "$as_me:$LINENO: checking for $ac_word" >&5
2439 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2440 if test "${ac_cv_prog_CC+set}" = set; then
2441 echo $ECHO_N "(cached) $ECHO_C" >&6
2443 if test -n "$CC"; then
2444 ac_cv_prog_CC
="$CC" # Let the user override the test.
2446 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2450 test -z "$as_dir" && as_dir
=.
2451 for ac_exec_ext
in '' $ac_executable_extensions; do
2452 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2453 ac_cv_prog_CC
="$ac_tool_prefix$ac_prog"
2454 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2463 if test -n "$CC"; then
2464 echo "$as_me:$LINENO: result: $CC" >&5
2465 echo "${ECHO_T}$CC" >&6
2467 echo "$as_me:$LINENO: result: no" >&5
2468 echo "${ECHO_T}no" >&6
2471 test -n "$CC" && break
2474 if test -z "$CC"; then
2478 # Extract the first word of "$ac_prog", so it can be a program name with args.
2479 set dummy
$ac_prog; ac_word
=$2
2480 echo "$as_me:$LINENO: checking for $ac_word" >&5
2481 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2482 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
2483 echo $ECHO_N "(cached) $ECHO_C" >&6
2485 if test -n "$ac_ct_CC"; then
2486 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
2488 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2492 test -z "$as_dir" && as_dir
=.
2493 for ac_exec_ext
in '' $ac_executable_extensions; do
2494 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2495 ac_cv_prog_ac_ct_CC
="$ac_prog"
2496 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2504 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
2505 if test -n "$ac_ct_CC"; then
2506 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
2507 echo "${ECHO_T}$ac_ct_CC" >&6
2509 echo "$as_me:$LINENO: result: no" >&5
2510 echo "${ECHO_T}no" >&6
2513 test -n "$ac_ct_CC" && break
2522 test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
2523 See \`config.log' for more details." >&5
2524 echo "$as_me: error: no acceptable C compiler found in \$PATH
2525 See \`config.log' for more details." >&2;}
2526 { (exit 1); exit 1; }; }
2528 # Provide some information about the compiler.
2529 echo "$as_me:$LINENO:" \
2530 "checking for C compiler version" >&5
2531 ac_compiler
=`set X $ac_compile; echo $2`
2532 { (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5
2533 (eval $ac_compiler --version </dev
/null
>&5) 2>&5
2535 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2536 (exit $ac_status); }
2537 { (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5
2538 (eval $ac_compiler -v </dev
/null
>&5) 2>&5
2540 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2541 (exit $ac_status); }
2542 { (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5
2543 (eval $ac_compiler -V </dev
/null
>&5) 2>&5
2545 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2546 (exit $ac_status); }
2548 cat >conftest.
$ac_ext <<_ACEOF
2551 cat confdefs.h
>>conftest.
$ac_ext
2552 cat >>conftest.
$ac_ext <<_ACEOF
2553 /* end confdefs.h. */
2563 ac_clean_files_save
=$ac_clean_files
2564 ac_clean_files
="$ac_clean_files a.out a.exe b.out"
2565 # Try to create an executable without -o first, disregard a.out.
2566 # It will help us diagnose broken compilers, and finding out an intuition
2568 echo "$as_me:$LINENO: checking for C compiler default output file name" >&5
2569 echo $ECHO_N "checking for C compiler default output file name... $ECHO_C" >&6
2570 ac_link_default
=`echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
2571 if { (eval echo "$as_me:$LINENO: \"$ac_link_default\"") >&5
2572 (eval $ac_link_default) 2>&5
2574 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2575 (exit $ac_status); }; then
2576 # Find the output, starting from the most likely. This scheme is
2577 # not robust to junk in `.', hence go to wildcards (a.*) only as a last
2580 # Be careful to initialize this variable, since it used to be cached.
2581 # Otherwise an old cache value of `no' led to `EXEEXT = no' in a Makefile.
2583 # b.out is created by i960 compilers.
2584 for ac_file
in a_out.exe a.exe conftest.exe a.out conftest a.
* conftest.
* b.out
2586 test -f "$ac_file" ||
continue
2588 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg |
*.o |
*.obj
)
2591 # This is the source file.
2594 # We found the default executable, but exeext='' is most
2598 ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
2599 # FIXME: I believe we export ac_cv_exeext for Libtool,
2600 # but it would be cool to find out if it's true. Does anybody
2601 # maintain Libtool? --akim.
2609 echo "$as_me: failed program was:" >&5
2610 sed 's/^/| /' conftest.
$ac_ext >&5
2612 { { echo "$as_me:$LINENO: error: C compiler cannot create executables
2613 See \`config.log' for more details." >&5
2614 echo "$as_me: error: C compiler cannot create executables
2615 See \`config.log' for more details." >&2;}
2616 { (exit 77); exit 77; }; }
2619 ac_exeext
=$ac_cv_exeext
2620 echo "$as_me:$LINENO: result: $ac_file" >&5
2621 echo "${ECHO_T}$ac_file" >&6
2623 # Check the compiler produces executables we can run. If not, either
2624 # the compiler is broken, or we cross compile.
2625 echo "$as_me:$LINENO: checking whether the C compiler works" >&5
2626 echo $ECHO_N "checking whether the C compiler works... $ECHO_C" >&6
2627 # FIXME: These cross compiler hacks should be removed for Autoconf 3.0
2628 # If not cross compiling, check that we can run a simple program.
2629 if test "$cross_compiling" != yes; then
2630 if { ac_try
='./$ac_file'
2631 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2634 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2635 (exit $ac_status); }; }; then
2638 if test "$cross_compiling" = maybe
; then
2641 { { echo "$as_me:$LINENO: error: cannot run C compiled programs.
2642 If you meant to cross compile, use \`--host'.
2643 See \`config.log' for more details." >&5
2644 echo "$as_me: error: cannot run C compiled programs.
2645 If you meant to cross compile, use \`--host'.
2646 See \`config.log' for more details." >&2;}
2647 { (exit 1); exit 1; }; }
2651 echo "$as_me:$LINENO: result: yes" >&5
2652 echo "${ECHO_T}yes" >&6
2654 rm -f a.out a.exe conftest
$ac_cv_exeext b.out
2655 ac_clean_files
=$ac_clean_files_save
2656 # Check the compiler produces executables we can run. If not, either
2657 # the compiler is broken, or we cross compile.
2658 echo "$as_me:$LINENO: checking whether we are cross compiling" >&5
2659 echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6
2660 echo "$as_me:$LINENO: result: $cross_compiling" >&5
2661 echo "${ECHO_T}$cross_compiling" >&6
2663 echo "$as_me:$LINENO: checking for suffix of executables" >&5
2664 echo $ECHO_N "checking for suffix of executables... $ECHO_C" >&6
2665 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
2666 (eval $ac_link) 2>&5
2668 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2669 (exit $ac_status); }; then
2670 # If both `conftest.exe' and `conftest' are `present' (well, observable)
2671 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
2672 # work properly (i.e., refer to `conftest.exe'), while it won't with
2674 for ac_file
in conftest.exe conftest conftest.
*; do
2675 test -f "$ac_file" ||
continue
2677 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg |
*.o |
*.obj
) ;;
2678 *.
* ) ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
2685 { { echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link
2686 See \`config.log' for more details." >&5
2687 echo "$as_me: error: cannot compute suffix of executables: cannot compile and link
2688 See \`config.log' for more details." >&2;}
2689 { (exit 1); exit 1; }; }
2692 rm -f conftest
$ac_cv_exeext
2693 echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
2694 echo "${ECHO_T}$ac_cv_exeext" >&6
2696 rm -f conftest.
$ac_ext
2697 EXEEXT
=$ac_cv_exeext
2699 echo "$as_me:$LINENO: checking for suffix of object files" >&5
2700 echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6
2701 if test "${ac_cv_objext+set}" = set; then
2702 echo $ECHO_N "(cached) $ECHO_C" >&6
2704 cat >conftest.
$ac_ext <<_ACEOF
2707 cat confdefs.h
>>conftest.
$ac_ext
2708 cat >>conftest.
$ac_ext <<_ACEOF
2709 /* end confdefs.h. */
2719 rm -f conftest.o conftest.obj
2720 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2721 (eval $ac_compile) 2>&5
2723 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2724 (exit $ac_status); }; then
2725 for ac_file
in `(ls conftest.o conftest.obj; ls conftest.*) 2>/dev/null`; do
2727 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg
) ;;
2728 *) ac_cv_objext
=`expr "$ac_file" : '.*\.\(.*\)'`
2733 echo "$as_me: failed program was:" >&5
2734 sed 's/^/| /' conftest.
$ac_ext >&5
2736 { { echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile
2737 See \`config.log' for more details." >&5
2738 echo "$as_me: error: cannot compute suffix of object files: cannot compile
2739 See \`config.log' for more details." >&2;}
2740 { (exit 1); exit 1; }; }
2743 rm -f conftest.
$ac_cv_objext conftest.
$ac_ext
2745 echo "$as_me:$LINENO: result: $ac_cv_objext" >&5
2746 echo "${ECHO_T}$ac_cv_objext" >&6
2747 OBJEXT
=$ac_cv_objext
2749 echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
2750 echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6
2751 if test "${ac_cv_c_compiler_gnu+set}" = set; then
2752 echo $ECHO_N "(cached) $ECHO_C" >&6
2754 cat >conftest.
$ac_ext <<_ACEOF
2757 cat confdefs.h
>>conftest.
$ac_ext
2758 cat >>conftest.
$ac_ext <<_ACEOF
2759 /* end confdefs.h. */
2772 rm -f conftest.
$ac_objext
2773 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2774 (eval $ac_compile) 2>conftest.er1
2776 grep -v '^ *+' conftest.er1
>conftest.err
2778 cat conftest.err
>&5
2779 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2780 (exit $ac_status); } &&
2781 { ac_try
='test -z "$ac_c_werror_flag"
2782 || test ! -s conftest.err'
2783 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2786 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2787 (exit $ac_status); }; } &&
2788 { ac_try
='test -s conftest.$ac_objext'
2789 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2792 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2793 (exit $ac_status); }; }; then
2796 echo "$as_me: failed program was:" >&5
2797 sed 's/^/| /' conftest.
$ac_ext >&5
2801 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
2802 ac_cv_c_compiler_gnu
=$ac_compiler_gnu
2805 echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
2806 echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6
2807 GCC
=`test $ac_compiler_gnu = yes && echo yes`
2808 ac_test_CFLAGS
=${CFLAGS+set}
2809 ac_save_CFLAGS
=$CFLAGS
2811 echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
2812 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6
2813 if test "${ac_cv_prog_cc_g+set}" = set; then
2814 echo $ECHO_N "(cached) $ECHO_C" >&6
2816 cat >conftest.
$ac_ext <<_ACEOF
2819 cat confdefs.h
>>conftest.
$ac_ext
2820 cat >>conftest.
$ac_ext <<_ACEOF
2821 /* end confdefs.h. */
2831 rm -f conftest.
$ac_objext
2832 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2833 (eval $ac_compile) 2>conftest.er1
2835 grep -v '^ *+' conftest.er1
>conftest.err
2837 cat conftest.err
>&5
2838 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2839 (exit $ac_status); } &&
2840 { ac_try
='test -z "$ac_c_werror_flag"
2841 || test ! -s conftest.err'
2842 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2845 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2846 (exit $ac_status); }; } &&
2847 { ac_try
='test -s conftest.$ac_objext'
2848 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2851 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2852 (exit $ac_status); }; }; then
2855 echo "$as_me: failed program was:" >&5
2856 sed 's/^/| /' conftest.
$ac_ext >&5
2860 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
2862 echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
2863 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6
2864 if test "$ac_test_CFLAGS" = set; then
2865 CFLAGS
=$ac_save_CFLAGS
2866 elif test $ac_cv_prog_cc_g = yes; then
2867 if test "$GCC" = yes; then
2873 if test "$GCC" = yes; then
2879 echo "$as_me:$LINENO: checking for $CC option to accept ANSI C" >&5
2880 echo $ECHO_N "checking for $CC option to accept ANSI C... $ECHO_C" >&6
2881 if test "${ac_cv_prog_cc_stdc+set}" = set; then
2882 echo $ECHO_N "(cached) $ECHO_C" >&6
2884 ac_cv_prog_cc_stdc
=no
2886 cat >conftest.
$ac_ext <<_ACEOF
2889 cat confdefs.h
>>conftest.
$ac_ext
2890 cat >>conftest.
$ac_ext <<_ACEOF
2891 /* end confdefs.h. */
2894 #include <sys/types.h>
2895 #include <sys/stat.h>
2896 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
2897 struct buf { int x; };
2898 FILE * (*rcsopen) (struct buf *, struct stat *, int);
2899 static char *e (p, i)
2905 static char *f (char * (*g) (char **, int), char **p, ...)
2910 s = g (p, va_arg (v,int));
2915 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
2916 function prototypes and stuff, but not '\xHH' hex character constants.
2917 These don't provoke an error unfortunately, instead are silently treated
2918 as 'x'. The following induces an error, until -std1 is added to get
2919 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
2920 array size at least. It's necessary to write '\x00'==0 to get something
2921 that's true only with -std1. */
2922 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
2924 int test (int i, double x);
2925 struct s1 {int (*f) (int a);};
2926 struct s2 {int (*f) (double a);};
2927 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
2933 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
2938 # Don't try gcc -ansi; that turns off useful extensions and
2939 # breaks some systems' header files.
2940 # AIX -qlanglvl=ansi
2941 # Ultrix and OSF/1 -std1
2942 # HP-UX 10.20 and later -Ae
2943 # HP-UX older versions -Aa -D_HPUX_SOURCE
2944 # SVR4 -Xc -D__EXTENSIONS__
2945 for ac_arg
in "" -qlanglvl=ansi
-std1 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
2947 CC
="$ac_save_CC $ac_arg"
2948 rm -f conftest.
$ac_objext
2949 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2950 (eval $ac_compile) 2>conftest.er1
2952 grep -v '^ *+' conftest.er1
>conftest.err
2954 cat conftest.err
>&5
2955 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2956 (exit $ac_status); } &&
2957 { ac_try
='test -z "$ac_c_werror_flag"
2958 || test ! -s conftest.err'
2959 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2962 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2963 (exit $ac_status); }; } &&
2964 { ac_try
='test -s conftest.$ac_objext'
2965 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2968 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2969 (exit $ac_status); }; }; then
2970 ac_cv_prog_cc_stdc
=$ac_arg
2973 echo "$as_me: failed program was:" >&5
2974 sed 's/^/| /' conftest.
$ac_ext >&5
2977 rm -f conftest.err conftest.
$ac_objext
2979 rm -f conftest.
$ac_ext conftest.
$ac_objext
2984 case "x$ac_cv_prog_cc_stdc" in
2986 echo "$as_me:$LINENO: result: none needed" >&5
2987 echo "${ECHO_T}none needed" >&6 ;;
2989 echo "$as_me:$LINENO: result: $ac_cv_prog_cc_stdc" >&5
2990 echo "${ECHO_T}$ac_cv_prog_cc_stdc" >&6
2991 CC
="$CC $ac_cv_prog_cc_stdc" ;;
2994 # Some people use a C++ compiler to compile C. Since we use `exit',
2995 # in C++ we need to declare it. In case someone uses the same compiler
2996 # for both compiling C and C++ we need to have the C++ compiler decide
2997 # the declaration of exit, since it's the most demanding environment.
2998 cat >conftest.
$ac_ext <<_ACEOF
3003 rm -f conftest.
$ac_objext
3004 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3005 (eval $ac_compile) 2>conftest.er1
3007 grep -v '^ *+' conftest.er1
>conftest.err
3009 cat conftest.err
>&5
3010 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3011 (exit $ac_status); } &&
3012 { ac_try
='test -z "$ac_c_werror_flag"
3013 || test ! -s conftest.err'
3014 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3017 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3018 (exit $ac_status); }; } &&
3019 { ac_try
='test -s conftest.$ac_objext'
3020 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3023 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3024 (exit $ac_status); }; }; then
3025 for ac_declaration
in \
3027 'extern "C" void std::exit (int) throw (); using std::exit;' \
3028 'extern "C" void std::exit (int); using std::exit;' \
3029 'extern "C" void exit (int) throw ();' \
3030 'extern "C" void exit (int);' \
3033 cat >conftest.
$ac_ext <<_ACEOF
3036 cat confdefs.h
>>conftest.
$ac_ext
3037 cat >>conftest.
$ac_ext <<_ACEOF
3038 /* end confdefs.h. */
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
3073 echo "$as_me: failed program was:" >&5
3074 sed 's/^/| /' conftest.
$ac_ext >&5
3078 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
3079 cat >conftest.
$ac_ext <<_ACEOF
3082 cat confdefs.h
>>conftest.
$ac_ext
3083 cat >>conftest.
$ac_ext <<_ACEOF
3084 /* end confdefs.h. */
3094 rm -f conftest.
$ac_objext
3095 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3096 (eval $ac_compile) 2>conftest.er1
3098 grep -v '^ *+' conftest.er1
>conftest.err
3100 cat conftest.err
>&5
3101 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3102 (exit $ac_status); } &&
3103 { ac_try
='test -z "$ac_c_werror_flag"
3104 || test ! -s conftest.err'
3105 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3108 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3109 (exit $ac_status); }; } &&
3110 { ac_try
='test -s conftest.$ac_objext'
3111 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3114 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3115 (exit $ac_status); }; }; then
3118 echo "$as_me: failed program was:" >&5
3119 sed 's/^/| /' conftest.
$ac_ext >&5
3122 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
3125 if test -n "$ac_declaration"; then
3126 echo '#ifdef __cplusplus' >>confdefs.h
3127 echo $ac_declaration >>confdefs.h
3128 echo '#endif' >>confdefs.h
3132 echo "$as_me: failed program was:" >&5
3133 sed 's/^/| /' conftest.
$ac_ext >&5
3136 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
3138 ac_cpp
='$CPP $CPPFLAGS'
3139 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3140 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3141 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
3143 depcc
="$CC" am_compiler_list
=
3145 echo "$as_me:$LINENO: checking dependency style of $depcc" >&5
3146 echo $ECHO_N "checking dependency style of $depcc... $ECHO_C" >&6
3147 if test "${am_cv_CC_dependencies_compiler_type+set}" = set; then
3148 echo $ECHO_N "(cached) $ECHO_C" >&6
3150 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
3151 # We make a subdir and do the tests there. Otherwise we can end up
3152 # making bogus files that we don't know about and never remove. For
3153 # instance it was reported that on HP-UX the gcc test will end up
3154 # making a dummy file named `D' -- because `-MD' means `put the output
3157 # Copy depcomp to subdir because otherwise we won't find it if we're
3158 # using a relative directory.
3159 cp "$am_depcomp" conftest.dir
3161 # We will build objects and dependencies in a subdirectory because
3162 # it helps to detect inapplicable dependency modes. For instance
3163 # both Tru64's cc and ICC support -MD to output dependencies as a
3164 # side effect of compilation, but ICC will put the dependencies in
3165 # the current directory while Tru64 will put them in the object
3169 am_cv_CC_dependencies_compiler_type
=none
3170 if test "$am_compiler_list" = ""; then
3171 am_compiler_list
=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
3173 for depmode
in $am_compiler_list; do
3174 # Setup a source with many dependencies, because some compilers
3175 # like to wrap large dependency lists on column 80 (with \), and
3176 # we should not choose a depcomp mode which is confused by this.
3178 # We need to recreate these files for each test, as the compiler may
3179 # overwrite some of them when testing with obscure command lines.
3180 # This happens at least with the AIX C compiler.
3182 for i
in 1 2 3 4 5 6; do
3183 echo '#include "conftst'$i'.h"' >> sub
/conftest.c
3184 # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
3185 # Solaris 8's {/usr,}/bin/sh.
3186 touch sub
/conftst
$i.h
3188 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
3192 # after this tag, mechanisms are not by side-effect, so they'll
3193 # only be used when explicitly requested
3194 if test "x$enable_dependency_tracking" = xyes
; then
3202 # We check with `-c' and `-o' for the sake of the "dashmstdout"
3203 # mode. It turns out that the SunPro C++ compiler does not properly
3204 # handle `-M -o', and we need to detect this.
3205 if depmode
=$depmode \
3206 source=sub
/conftest.c object
=sub
/conftest.
${OBJEXT-o} \
3207 depfile
=sub
/conftest.Po tmpdepfile
=sub
/conftest.TPo \
3208 $SHELL .
/depcomp
$depcc -c -o sub
/conftest.
${OBJEXT-o} sub
/conftest.c \
3209 >/dev
/null
2>conftest.err
&&
3210 grep sub
/conftst6.h sub
/conftest.Po
> /dev
/null
2>&1 &&
3211 grep sub
/conftest.
${OBJEXT-o} sub
/conftest.Po
> /dev
/null
2>&1 &&
3212 ${MAKE-make} -s -f confmf
> /dev
/null
2>&1; then
3213 # icc doesn't choke on unknown options, it will just issue warnings
3214 # or remarks (even with -Werror). So we grep stderr for any message
3215 # that says an option was ignored or not supported.
3216 # When given -MP, icc 7.0 and 7.1 complain thusly:
3217 # icc: Command line warning: ignoring option '-M'; no argument required
3218 # The diagnosis changed in icc 8.0:
3219 # icc: Command line remark: option '-MP' not supported
3220 if (grep 'ignoring option' conftest.err ||
3221 grep 'not supported' conftest.err
) >/dev
/null
2>&1; then :; else
3222 am_cv_CC_dependencies_compiler_type
=$depmode
3231 am_cv_CC_dependencies_compiler_type
=none
3235 echo "$as_me:$LINENO: result: $am_cv_CC_dependencies_compiler_type" >&5
3236 echo "${ECHO_T}$am_cv_CC_dependencies_compiler_type" >&6
3237 CCDEPMODE
=depmode
=$am_cv_CC_dependencies_compiler_type
3242 test "x$enable_dependency_tracking" != xno \
3243 && test "$am_cv_CC_dependencies_compiler_type" = gcc3
; then
3245 am__fastdepCC_FALSE
='#'
3247 am__fastdepCC_TRUE
='#'
3248 am__fastdepCC_FALSE
=
3254 ac_cpp
='$CPP $CPPFLAGS'
3255 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3256 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3257 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
3258 echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5
3259 echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6
3260 # On Suns, sometimes $CPP names a directory.
3261 if test -n "$CPP" && test -d "$CPP"; then
3264 if test -z "$CPP"; then
3265 if test "${ac_cv_prog_CPP+set}" = set; then
3266 echo $ECHO_N "(cached) $ECHO_C" >&6
3268 # Double quotes because CPP needs to be expanded
3269 for CPP
in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
3272 for ac_c_preproc_warn_flag
in '' yes
3274 # Use a header file that comes with gcc, so configuring glibc
3275 # with a fresh cross-compiler works.
3276 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
3277 # <limits.h> exists even on freestanding compilers.
3278 # On the NeXT, cc -E runs the code through the compiler's parser,
3279 # not just through cpp. "Syntax error" is here to catch this case.
3280 cat >conftest.
$ac_ext <<_ACEOF
3283 cat confdefs.h
>>conftest.
$ac_ext
3284 cat >>conftest.
$ac_ext <<_ACEOF
3285 /* end confdefs.h. */
3287 # include <limits.h>
3289 # include <assert.h>
3293 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
3294 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
3296 grep -v '^ *+' conftest.er1
>conftest.err
3298 cat conftest.err
>&5
3299 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3300 (exit $ac_status); } >/dev
/null
; then
3301 if test -s conftest.err
; then
3302 ac_cpp_err
=$ac_c_preproc_warn_flag
3303 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
3310 if test -z "$ac_cpp_err"; then
3313 echo "$as_me: failed program was:" >&5
3314 sed 's/^/| /' conftest.
$ac_ext >&5
3316 # Broken: fails on valid input.
3319 rm -f conftest.err conftest.
$ac_ext
3321 # OK, works on sane cases. Now check whether non-existent headers
3322 # can be detected and how.
3323 cat >conftest.
$ac_ext <<_ACEOF
3326 cat confdefs.h
>>conftest.
$ac_ext
3327 cat >>conftest.
$ac_ext <<_ACEOF
3328 /* end confdefs.h. */
3329 #include <ac_nonexistent.h>
3331 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
3332 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
3334 grep -v '^ *+' conftest.er1
>conftest.err
3336 cat conftest.err
>&5
3337 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3338 (exit $ac_status); } >/dev
/null
; then
3339 if test -s conftest.err
; then
3340 ac_cpp_err
=$ac_c_preproc_warn_flag
3341 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
3348 if test -z "$ac_cpp_err"; then
3349 # Broken: success on invalid input.
3352 echo "$as_me: failed program was:" >&5
3353 sed 's/^/| /' conftest.
$ac_ext >&5
3355 # Passes both tests.
3359 rm -f conftest.err conftest.
$ac_ext
3362 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
3363 rm -f conftest.err conftest.
$ac_ext
3364 if $ac_preproc_ok; then
3376 echo "$as_me:$LINENO: result: $CPP" >&5
3377 echo "${ECHO_T}$CPP" >&6
3379 for ac_c_preproc_warn_flag
in '' yes
3381 # Use a header file that comes with gcc, so configuring glibc
3382 # with a fresh cross-compiler works.
3383 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
3384 # <limits.h> exists even on freestanding compilers.
3385 # On the NeXT, cc -E runs the code through the compiler's parser,
3386 # not just through cpp. "Syntax error" is here to catch this case.
3387 cat >conftest.
$ac_ext <<_ACEOF
3390 cat confdefs.h
>>conftest.
$ac_ext
3391 cat >>conftest.
$ac_ext <<_ACEOF
3392 /* end confdefs.h. */
3394 # include <limits.h>
3396 # include <assert.h>
3400 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
3401 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
3403 grep -v '^ *+' conftest.er1
>conftest.err
3405 cat conftest.err
>&5
3406 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3407 (exit $ac_status); } >/dev
/null
; then
3408 if test -s conftest.err
; then
3409 ac_cpp_err
=$ac_c_preproc_warn_flag
3410 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
3417 if test -z "$ac_cpp_err"; then
3420 echo "$as_me: failed program was:" >&5
3421 sed 's/^/| /' conftest.
$ac_ext >&5
3423 # Broken: fails on valid input.
3426 rm -f conftest.err conftest.
$ac_ext
3428 # OK, works on sane cases. Now check whether non-existent headers
3429 # can be detected and how.
3430 cat >conftest.
$ac_ext <<_ACEOF
3433 cat confdefs.h
>>conftest.
$ac_ext
3434 cat >>conftest.
$ac_ext <<_ACEOF
3435 /* end confdefs.h. */
3436 #include <ac_nonexistent.h>
3438 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
3439 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
3441 grep -v '^ *+' conftest.er1
>conftest.err
3443 cat conftest.err
>&5
3444 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3445 (exit $ac_status); } >/dev
/null
; then
3446 if test -s conftest.err
; then
3447 ac_cpp_err
=$ac_c_preproc_warn_flag
3448 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
3455 if test -z "$ac_cpp_err"; then
3456 # Broken: success on invalid input.
3459 echo "$as_me: failed program was:" >&5
3460 sed 's/^/| /' conftest.
$ac_ext >&5
3462 # Passes both tests.
3466 rm -f conftest.err conftest.
$ac_ext
3469 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
3470 rm -f conftest.err conftest.
$ac_ext
3471 if $ac_preproc_ok; then
3474 { { echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check
3475 See \`config.log' for more details." >&5
3476 echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check
3477 See \`config.log' for more details." >&2;}
3478 { (exit 1); exit 1; }; }
3482 ac_cpp
='$CPP $CPPFLAGS'
3483 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3484 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3485 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
3488 echo "$as_me:$LINENO: checking for egrep" >&5
3489 echo $ECHO_N "checking for egrep... $ECHO_C" >&6
3490 if test "${ac_cv_prog_egrep+set}" = set; then
3491 echo $ECHO_N "(cached) $ECHO_C" >&6
3493 if echo a |
(grep -E '(a|b)') >/dev
/null
2>&1
3494 then ac_cv_prog_egrep
='grep -E'
3495 else ac_cv_prog_egrep
='egrep'
3498 echo "$as_me:$LINENO: result: $ac_cv_prog_egrep" >&5
3499 echo "${ECHO_T}$ac_cv_prog_egrep" >&6
3500 EGREP
=$ac_cv_prog_egrep
3503 echo "$as_me:$LINENO: checking for ANSI C header files" >&5
3504 echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6
3505 if test "${ac_cv_header_stdc+set}" = set; then
3506 echo $ECHO_N "(cached) $ECHO_C" >&6
3508 cat >conftest.
$ac_ext <<_ACEOF
3511 cat confdefs.h
>>conftest.
$ac_ext
3512 cat >>conftest.
$ac_ext <<_ACEOF
3513 /* end confdefs.h. */
3527 rm -f conftest.
$ac_objext
3528 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3529 (eval $ac_compile) 2>conftest.er1
3531 grep -v '^ *+' conftest.er1
>conftest.err
3533 cat conftest.err
>&5
3534 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3535 (exit $ac_status); } &&
3536 { ac_try
='test -z "$ac_c_werror_flag"
3537 || test ! -s conftest.err'
3538 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3541 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3542 (exit $ac_status); }; } &&
3543 { ac_try
='test -s conftest.$ac_objext'
3544 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3547 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3548 (exit $ac_status); }; }; then
3549 ac_cv_header_stdc
=yes
3551 echo "$as_me: failed program was:" >&5
3552 sed 's/^/| /' conftest.
$ac_ext >&5
3554 ac_cv_header_stdc
=no
3556 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
3558 if test $ac_cv_header_stdc = yes; then
3559 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
3560 cat >conftest.
$ac_ext <<_ACEOF
3563 cat confdefs.h
>>conftest.
$ac_ext
3564 cat >>conftest.
$ac_ext <<_ACEOF
3565 /* end confdefs.h. */
3569 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
3570 $EGREP "memchr" >/dev
/null
2>&1; then
3573 ac_cv_header_stdc
=no
3579 if test $ac_cv_header_stdc = yes; then
3580 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
3581 cat >conftest.
$ac_ext <<_ACEOF
3584 cat confdefs.h
>>conftest.
$ac_ext
3585 cat >>conftest.
$ac_ext <<_ACEOF
3586 /* end confdefs.h. */
3590 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
3591 $EGREP "free" >/dev
/null
2>&1; then
3594 ac_cv_header_stdc
=no
3600 if test $ac_cv_header_stdc = yes; then
3601 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
3602 if test "$cross_compiling" = yes; then
3605 cat >conftest.
$ac_ext <<_ACEOF
3608 cat confdefs.h
>>conftest.
$ac_ext
3609 cat >>conftest.
$ac_ext <<_ACEOF
3610 /* end confdefs.h. */
3612 #if ((' ' & 0x0FF) == 0x020)
3613 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
3614 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
3616 # define ISLOWER(c) \
3617 (('a' <= (c) && (c) <= 'i') \
3618 || ('j' <= (c) && (c) <= 'r') \
3619 || ('s' <= (c) && (c) <= 'z'))
3620 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
3623 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
3628 for (i = 0; i < 256; i++)
3629 if (XOR (islower (i), ISLOWER (i))
3630 || toupper (i) != TOUPPER (i))
3635 rm -f conftest
$ac_exeext
3636 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
3637 (eval $ac_link) 2>&5
3639 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3640 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
3641 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3644 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3645 (exit $ac_status); }; }; then
3648 echo "$as_me: program exited with status $ac_status" >&5
3649 echo "$as_me: failed program was:" >&5
3650 sed 's/^/| /' conftest.
$ac_ext >&5
3653 ac_cv_header_stdc
=no
3655 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
3659 echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
3660 echo "${ECHO_T}$ac_cv_header_stdc" >&6
3661 if test $ac_cv_header_stdc = yes; then
3663 cat >>confdefs.h
<<\_ACEOF
3664 #define STDC_HEADERS 1
3669 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
3679 for ac_header
in sys
/types.h sys
/stat.h stdlib.h string.h memory.h
strings.h \
3680 inttypes.h stdint.h unistd.h
3682 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
3683 echo "$as_me:$LINENO: checking for $ac_header" >&5
3684 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
3685 if eval "test \"\${$as_ac_Header+set}\" = set"; then
3686 echo $ECHO_N "(cached) $ECHO_C" >&6
3688 cat >conftest.
$ac_ext <<_ACEOF
3691 cat confdefs.h
>>conftest.
$ac_ext
3692 cat >>conftest.
$ac_ext <<_ACEOF
3693 /* end confdefs.h. */
3694 $ac_includes_default
3696 #include <$ac_header>
3698 rm -f conftest.
$ac_objext
3699 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3700 (eval $ac_compile) 2>conftest.er1
3702 grep -v '^ *+' conftest.er1
>conftest.err
3704 cat conftest.err
>&5
3705 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3706 (exit $ac_status); } &&
3707 { ac_try
='test -z "$ac_c_werror_flag"
3708 || test ! -s conftest.err'
3709 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3712 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3713 (exit $ac_status); }; } &&
3714 { ac_try
='test -s conftest.$ac_objext'
3715 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3718 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3719 (exit $ac_status); }; }; then
3720 eval "$as_ac_Header=yes"
3722 echo "$as_me: failed program was:" >&5
3723 sed 's/^/| /' conftest.
$ac_ext >&5
3725 eval "$as_ac_Header=no"
3727 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
3729 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
3730 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
3731 if test `eval echo '${'$as_ac_Header'}'` = yes; then
3732 cat >>confdefs.h
<<_ACEOF
3733 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
3741 # Check whether --enable-alsa or --disable-alsa was given.
3742 if test "${enable_alsa+set}" = set; then
3743 enableval
="$enable_alsa"
3744 case "${enableval}" in
3745 yes) COMPILE_ALSA
=yes ;;
3746 no
) COMPILE_ALSA
=no
;;
3747 *) COMPILE_ALSA
=yes ;;
3751 for ac_header
in alsa
/asoundlib.h
3753 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
3754 if eval "test \"\${$as_ac_Header+set}\" = set"; then
3755 echo "$as_me:$LINENO: checking for $ac_header" >&5
3756 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
3757 if eval "test \"\${$as_ac_Header+set}\" = set"; then
3758 echo $ECHO_N "(cached) $ECHO_C" >&6
3760 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
3761 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
3763 # Is the header compilable?
3764 echo "$as_me:$LINENO: checking $ac_header usability" >&5
3765 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
3766 cat >conftest.
$ac_ext <<_ACEOF
3769 cat confdefs.h
>>conftest.
$ac_ext
3770 cat >>conftest.
$ac_ext <<_ACEOF
3771 /* end confdefs.h. */
3772 $ac_includes_default
3773 #include <$ac_header>
3775 rm -f conftest.
$ac_objext
3776 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3777 (eval $ac_compile) 2>conftest.er1
3779 grep -v '^ *+' conftest.er1
>conftest.err
3781 cat conftest.err
>&5
3782 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3783 (exit $ac_status); } &&
3784 { ac_try
='test -z "$ac_c_werror_flag"
3785 || test ! -s conftest.err'
3786 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3789 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3790 (exit $ac_status); }; } &&
3791 { ac_try
='test -s conftest.$ac_objext'
3792 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3795 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3796 (exit $ac_status); }; }; then
3797 ac_header_compiler
=yes
3799 echo "$as_me: failed program was:" >&5
3800 sed 's/^/| /' conftest.
$ac_ext >&5
3802 ac_header_compiler
=no
3804 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
3805 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
3806 echo "${ECHO_T}$ac_header_compiler" >&6
3808 # Is the header present?
3809 echo "$as_me:$LINENO: checking $ac_header presence" >&5
3810 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
3811 cat >conftest.
$ac_ext <<_ACEOF
3814 cat confdefs.h
>>conftest.
$ac_ext
3815 cat >>conftest.
$ac_ext <<_ACEOF
3816 /* end confdefs.h. */
3817 #include <$ac_header>
3819 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
3820 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
3822 grep -v '^ *+' conftest.er1
>conftest.err
3824 cat conftest.err
>&5
3825 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3826 (exit $ac_status); } >/dev
/null
; then
3827 if test -s conftest.err
; then
3828 ac_cpp_err
=$ac_c_preproc_warn_flag
3829 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
3836 if test -z "$ac_cpp_err"; then
3837 ac_header_preproc
=yes
3839 echo "$as_me: failed program was:" >&5
3840 sed 's/^/| /' conftest.
$ac_ext >&5
3842 ac_header_preproc
=no
3844 rm -f conftest.err conftest.
$ac_ext
3845 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
3846 echo "${ECHO_T}$ac_header_preproc" >&6
3848 # So? What about this header?
3849 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
3851 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
3852 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
3853 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
3854 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
3855 ac_header_preproc
=yes
3858 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
3859 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
3860 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
3861 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
3862 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
3863 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
3864 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
3865 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
3866 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
3867 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
3868 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
3869 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
3872 ## -------------------------------- ##
3873 ## Report this to classpath@gnu.org ##
3874 ## -------------------------------- ##
3877 sed "s/^/$as_me: WARNING: /" >&2
3880 echo "$as_me:$LINENO: checking for $ac_header" >&5
3881 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
3882 if eval "test \"\${$as_ac_Header+set}\" = set"; then
3883 echo $ECHO_N "(cached) $ECHO_C" >&6
3885 eval "$as_ac_Header=\$ac_header_preproc"
3887 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
3888 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
3891 if test `eval echo '${'$as_ac_Header'}'` = yes; then
3892 cat >>confdefs.h
<<_ACEOF
3893 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
3895 echo "$as_me:$LINENO: checking for snd_seq_open in -lasound" >&5
3896 echo $ECHO_N "checking for snd_seq_open in -lasound... $ECHO_C" >&6
3897 if test "${ac_cv_lib_asound_snd_seq_open+set}" = set; then
3898 echo $ECHO_N "(cached) $ECHO_C" >&6
3900 ac_check_lib_save_LIBS
=$LIBS
3901 LIBS
="-lasound $LIBS"
3902 cat >conftest.
$ac_ext <<_ACEOF
3905 cat confdefs.h
>>conftest.
$ac_ext
3906 cat >>conftest.
$ac_ext <<_ACEOF
3907 /* end confdefs.h. */
3909 /* Override any gcc2 internal prototype to avoid an error. */
3913 /* We use char because int might match the return type of a gcc2
3914 builtin and then its argument prototype would still apply. */
3915 char snd_seq_open ();
3924 rm -f conftest.
$ac_objext conftest
$ac_exeext
3925 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
3926 (eval $ac_link) 2>conftest.er1
3928 grep -v '^ *+' conftest.er1
>conftest.err
3930 cat conftest.err
>&5
3931 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3932 (exit $ac_status); } &&
3933 { ac_try
='test -z "$ac_c_werror_flag"
3934 || test ! -s conftest.err'
3935 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3938 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3939 (exit $ac_status); }; } &&
3940 { ac_try
='test -s conftest$ac_exeext'
3941 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3944 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3945 (exit $ac_status); }; }; then
3946 ac_cv_lib_asound_snd_seq_open
=yes
3948 echo "$as_me: failed program was:" >&5
3949 sed 's/^/| /' conftest.
$ac_ext >&5
3951 ac_cv_lib_asound_snd_seq_open
=no
3953 rm -f conftest.err conftest.
$ac_objext \
3954 conftest
$ac_exeext conftest.
$ac_ext
3955 LIBS
=$ac_check_lib_save_LIBS
3957 echo "$as_me:$LINENO: result: $ac_cv_lib_asound_snd_seq_open" >&5
3958 echo "${ECHO_T}$ac_cv_lib_asound_snd_seq_open" >&6
3959 if test $ac_cv_lib_asound_snd_seq_open = yes; then
3974 if test "x${COMPILE_ALSA}" = xyes
; then
3975 CREATE_ALSA_LIBRARIES_TRUE
=
3976 CREATE_ALSA_LIBRARIES_FALSE
='#'
3978 CREATE_ALSA_LIBRARIES_TRUE
='#'
3979 CREATE_ALSA_LIBRARIES_FALSE
=
3983 # Check whether --enable-dssi or --disable-dssi was given.
3984 if test "${enable_dssi+set}" = set; then
3985 enableval
="$enable_dssi"
3986 case "${enableval}" in
3987 yes) COMPILE_DSSI
=yes ;;
3988 no
) COMPILE_DSSI
=no
;;
3989 *) COMPILE_DSSI
=yes ;;
3993 for ac_header
in dssi.h
3995 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
3996 if eval "test \"\${$as_ac_Header+set}\" = set"; then
3997 echo "$as_me:$LINENO: checking for $ac_header" >&5
3998 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
3999 if eval "test \"\${$as_ac_Header+set}\" = set"; then
4000 echo $ECHO_N "(cached) $ECHO_C" >&6
4002 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
4003 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
4005 # Is the header compilable?
4006 echo "$as_me:$LINENO: checking $ac_header usability" >&5
4007 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
4008 cat >conftest.
$ac_ext <<_ACEOF
4011 cat confdefs.h
>>conftest.
$ac_ext
4012 cat >>conftest.
$ac_ext <<_ACEOF
4013 /* end confdefs.h. */
4014 $ac_includes_default
4015 #include <$ac_header>
4017 rm -f conftest.
$ac_objext
4018 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4019 (eval $ac_compile) 2>conftest.er1
4021 grep -v '^ *+' conftest.er1
>conftest.err
4023 cat conftest.err
>&5
4024 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4025 (exit $ac_status); } &&
4026 { ac_try
='test -z "$ac_c_werror_flag"
4027 || test ! -s conftest.err'
4028 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4031 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4032 (exit $ac_status); }; } &&
4033 { ac_try
='test -s conftest.$ac_objext'
4034 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4037 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4038 (exit $ac_status); }; }; then
4039 ac_header_compiler
=yes
4041 echo "$as_me: failed program was:" >&5
4042 sed 's/^/| /' conftest.
$ac_ext >&5
4044 ac_header_compiler
=no
4046 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
4047 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
4048 echo "${ECHO_T}$ac_header_compiler" >&6
4050 # Is the header present?
4051 echo "$as_me:$LINENO: checking $ac_header presence" >&5
4052 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
4053 cat >conftest.
$ac_ext <<_ACEOF
4056 cat confdefs.h
>>conftest.
$ac_ext
4057 cat >>conftest.
$ac_ext <<_ACEOF
4058 /* end confdefs.h. */
4059 #include <$ac_header>
4061 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
4062 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
4064 grep -v '^ *+' conftest.er1
>conftest.err
4066 cat conftest.err
>&5
4067 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4068 (exit $ac_status); } >/dev
/null
; then
4069 if test -s conftest.err
; then
4070 ac_cpp_err
=$ac_c_preproc_warn_flag
4071 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
4078 if test -z "$ac_cpp_err"; then
4079 ac_header_preproc
=yes
4081 echo "$as_me: failed program was:" >&5
4082 sed 's/^/| /' conftest.
$ac_ext >&5
4084 ac_header_preproc
=no
4086 rm -f conftest.err conftest.
$ac_ext
4087 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
4088 echo "${ECHO_T}$ac_header_preproc" >&6
4090 # So? What about this header?
4091 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
4093 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
4094 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
4095 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
4096 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
4097 ac_header_preproc
=yes
4100 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
4101 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
4102 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
4103 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
4104 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
4105 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
4106 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
4107 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
4108 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
4109 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
4110 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
4111 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
4114 ## -------------------------------- ##
4115 ## Report this to classpath@gnu.org ##
4116 ## -------------------------------- ##
4119 sed "s/^/$as_me: WARNING: /" >&2
4122 echo "$as_me:$LINENO: checking for $ac_header" >&5
4123 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
4124 if eval "test \"\${$as_ac_Header+set}\" = set"; then
4125 echo $ECHO_N "(cached) $ECHO_C" >&6
4127 eval "$as_ac_Header=\$ac_header_preproc"
4129 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
4130 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
4133 if test `eval echo '${'$as_ac_Header'}'` = yes; then
4134 cat >>confdefs.h
<<_ACEOF
4135 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
4147 if test "x${COMPILE_DSSI}" = xyes
; then
4148 CREATE_DSSI_LIBRARIES_TRUE
=
4149 CREATE_DSSI_LIBRARIES_FALSE
='#'
4151 CREATE_DSSI_LIBRARIES_TRUE
='#'
4152 CREATE_DSSI_LIBRARIES_FALSE
=
4156 # Check whether --enable-gtk-peer or --disable-gtk-peer was given.
4157 if test "${enable_gtk_peer+set}" = set; then
4158 enableval
="$enable_gtk_peer"
4159 case "${enableval}" in
4160 yes) COMPILE_GTK_PEER
=yes ;;
4161 no
) COMPILE_GTK_PEER
=no
;;
4162 *) COMPILE_GTK_PEER
=yes ;;
4165 COMPILE_GTK_PEER
=yes
4169 if test "x${COMPILE_GTK_PEER}" = xyes
; then
4170 CREATE_GTK_PEER_LIBRARIES_TRUE
=
4171 CREATE_GTK_PEER_LIBRARIES_FALSE
='#'
4173 CREATE_GTK_PEER_LIBRARIES_TRUE
='#'
4174 CREATE_GTK_PEER_LIBRARIES_FALSE
=
4178 # Check whether --enable-gtk-peers or --disable-gtk-peers was given.
4179 if test "${enable_gtk_peers+set}" = set; then
4180 enableval
="$enable_gtk_peers"
4181 { { echo "$as_me:$LINENO: error: No --enable-gtk-peers (or --disable-gtk-peers) option; you want --enable-gtk-peer" >&5
4182 echo "$as_me: error: No --enable-gtk-peers (or --disable-gtk-peers) option; you want --enable-gtk-peer" >&2;}
4183 { (exit 1); exit 1; }; }
4186 # Check whether --enable-qt-peer or --disable-qt-peer was given.
4187 if test "${enable_qt_peer+set}" = set; then
4188 enableval
="$enable_qt_peer"
4189 case "${enableval}" in
4190 yes) COMPILE_QT_PEER
=yes ;;
4191 no
) COMPILE_QT_PEER
=no
;;
4192 *) COMPILE_QT_PEER
=yes ;;
4199 if test "x${COMPILE_QT_PEER}" = xyes
; then
4200 CREATE_QT_PEER_LIBRARIES_TRUE
=
4201 CREATE_QT_PEER_LIBRARIES_FALSE
='#'
4203 CREATE_QT_PEER_LIBRARIES_TRUE
='#'
4204 CREATE_QT_PEER_LIBRARIES_FALSE
=
4208 # Check whether --enable-plugin or --disable-plugin was given.
4209 if test "${enable_plugin+set}" = set; then
4210 enableval
="$enable_plugin"
4211 case "${enableval}" in
4212 yes) COMPILE_PLUGIN
=yes ;;
4213 no
) COMPILE_PLUGIN
=no
;;
4214 *) COMPILE_PLUGIN
=yes ;;
4221 if test "x${COMPILE_PLUGIN}" = xyes
; then
4223 CREATE_PLUGIN_FALSE
='#'
4225 CREATE_PLUGIN_TRUE
='#'
4226 CREATE_PLUGIN_FALSE
=
4231 # Check whether --with-native-libdir or --without-native-libdir was given.
4232 if test "${with_native_libdir+set}" = set; then
4233 withval
="$with_native_libdir"
4235 nativeexeclibdir
=${withval}
4239 nativeexeclibdir
='${libdir}/${PACKAGE}'
4246 # Check whether --with-glibj-dir or --without-glibj-dir was given.
4247 if test "${with_glibj_dir+set}" = set; then
4248 withval
="$with_glibj_dir"
4254 glibjdir
='${datadir}/${PACKAGE}'
4261 # Check whether --with-vm or --without-vm was given.
4262 if test "${with_vm+set}" = set; then
4265 VM_BINARY
=${withval}
4269 VM_BINARY
='${prefix}/bin/jamvm'
4276 if test "x`basename $VM_BINARY`" = xcacao
; then
4278 FOUND_CACAO_FALSE
='#'
4280 FOUND_CACAO_TRUE
='#'
4285 # Check whether --enable-regen-headers or --disable-regen-headers was given.
4286 if test "${enable_regen_headers+set}" = set; then
4287 enableval
="$enable_regen_headers"
4288 case "${enableval}" in
4289 yes) REGENERATE_JNI_HEADERS
=yes ;;
4290 no
) REGENERATE_JNI_HEADERS
=no
;;
4291 *) REGENERATE_JNI_HEADERS
=no
;;
4294 REGENERATE_JNI_HEADERS
=no
4298 if test "x${REGENERATE_JNI_HEADERS}" = xyes
; then
4299 CREATE_JNI_HEADERS_TRUE
=
4300 CREATE_JNI_HEADERS_FALSE
='#'
4302 CREATE_JNI_HEADERS_TRUE
='#'
4303 CREATE_JNI_HEADERS_FALSE
=
4307 # Check whether --enable-tool-wrappers or --disable-tool-wrappers was given.
4308 if test "${enable_tool_wrappers+set}" = set; then
4309 enableval
="$enable_tool_wrappers"
4310 case x
"${enableval}" in
4311 xyes
) COMPILE_WRAPPERS
=yes ;;
4312 xno
) COMPILE_WRAPPERS
=no
;;
4313 x
) COMPILE_WRAPPERS
=yes ;;
4314 *) COMPILE_WRAPPERS
=yes ;;
4321 if test "x${COMPILE_WRAPPERS}" = xyes
; then
4322 CREATE_WRAPPERS_TRUE
=
4323 CREATE_WRAPPERS_FALSE
='#'
4325 CREATE_WRAPPERS_TRUE
='#'
4326 CREATE_WRAPPERS_FALSE
=
4330 echo "$as_me:$LINENO: checking whether ln -s works" >&5
4331 echo $ECHO_N "checking whether ln -s works... $ECHO_C" >&6
4333 if test "$LN_S" = "ln -s"; then
4334 echo "$as_me:$LINENO: result: yes" >&5
4335 echo "${ECHO_T}yes" >&6
4337 echo "$as_me:$LINENO: result: no, using $LN_S" >&5
4338 echo "${ECHO_T}no, using $LN_S" >&6
4341 # Find a good install program. We prefer a C program (faster),
4342 # so one script is as good as another. But avoid the broken or
4343 # incompatible versions:
4344 # SysV /etc/install, /usr/sbin/install
4345 # SunOS /usr/etc/install
4346 # IRIX /sbin/install
4348 # AmigaOS /C/install, which installs bootblocks on floppy discs
4349 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
4350 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
4351 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
4352 # OS/2's system install, which has a completely different semantic
4353 # ./install, which can be erroneously created by make from ./install.sh.
4354 echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
4355 echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6
4356 if test -z "$INSTALL"; then
4357 if test "${ac_cv_path_install+set}" = set; then
4358 echo $ECHO_N "(cached) $ECHO_C" >&6
4360 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4364 test -z "$as_dir" && as_dir
=.
4365 # Account for people who put trailing slashes in PATH elements.
4367 .
/ | .
// |
/cC
/* | \
4368 /etc
/* |
/usr
/sbin
/* |
/usr
/etc
/* |
/sbin
/* |
/usr
/afsws
/bin
/* | \
4369 ?
:\\/os2
\\/install\\/* | ?
:\\/OS2
\\/INSTALL
\\/* | \
4372 # OSF1 and SCO ODT 3.0 have their own names for install.
4373 # Don't use installbsd from OSF since it installs stuff as root
4375 for ac_prog
in ginstall scoinst
install; do
4376 for ac_exec_ext
in '' $ac_executable_extensions; do
4377 if $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
4378 if test $ac_prog = install &&
4379 grep dspmsg
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
4380 # AIX install. It has an incompatible calling convention.
4382 elif test $ac_prog = install &&
4383 grep pwplus
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
4384 # program-specific install script used by HP pwplus--don't use.
4387 ac_cv_path_install
="$as_dir/$ac_prog$ac_exec_ext -c"
4399 if test "${ac_cv_path_install+set}" = set; then
4400 INSTALL
=$ac_cv_path_install
4402 # As a last resort, use the slow shell script. We don't cache a
4403 # path for INSTALL within a source directory, because that will
4404 # break other packages using the cache if that directory is
4405 # removed, or if the path is relative.
4406 INSTALL
=$ac_install_sh
4409 echo "$as_me:$LINENO: result: $INSTALL" >&5
4410 echo "${ECHO_T}$INSTALL" >&6
4412 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
4413 # It thinks the first close brace ends the variable substitution.
4414 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM
='${INSTALL}'
4416 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT
='${INSTALL}'
4418 test -z "$INSTALL_DATA" && INSTALL_DATA
='${INSTALL} -m 644'
4422 ac_cpp
='$CXXCPP $CPPFLAGS'
4423 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4424 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4425 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
4426 if test -n "$ac_tool_prefix"; then
4427 for ac_prog
in $CCC g
++ c
++ gpp aCC CC cxx cc
++ cl FCC KCC RCC xlC_r xlC
4429 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
4430 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
4431 echo "$as_me:$LINENO: checking for $ac_word" >&5
4432 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
4433 if test "${ac_cv_prog_CXX+set}" = set; then
4434 echo $ECHO_N "(cached) $ECHO_C" >&6
4436 if test -n "$CXX"; then
4437 ac_cv_prog_CXX
="$CXX" # Let the user override the test.
4439 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4443 test -z "$as_dir" && as_dir
=.
4444 for ac_exec_ext
in '' $ac_executable_extensions; do
4445 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4446 ac_cv_prog_CXX
="$ac_tool_prefix$ac_prog"
4447 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4456 if test -n "$CXX"; then
4457 echo "$as_me:$LINENO: result: $CXX" >&5
4458 echo "${ECHO_T}$CXX" >&6
4460 echo "$as_me:$LINENO: result: no" >&5
4461 echo "${ECHO_T}no" >&6
4464 test -n "$CXX" && break
4467 if test -z "$CXX"; then
4469 for ac_prog
in $CCC g
++ c
++ gpp aCC CC cxx cc
++ cl FCC KCC RCC xlC_r xlC
4471 # Extract the first word of "$ac_prog", so it can be a program name with args.
4472 set dummy
$ac_prog; ac_word
=$2
4473 echo "$as_me:$LINENO: checking for $ac_word" >&5
4474 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
4475 if test "${ac_cv_prog_ac_ct_CXX+set}" = set; then
4476 echo $ECHO_N "(cached) $ECHO_C" >&6
4478 if test -n "$ac_ct_CXX"; then
4479 ac_cv_prog_ac_ct_CXX
="$ac_ct_CXX" # Let the user override the test.
4481 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4485 test -z "$as_dir" && as_dir
=.
4486 for ac_exec_ext
in '' $ac_executable_extensions; do
4487 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4488 ac_cv_prog_ac_ct_CXX
="$ac_prog"
4489 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4497 ac_ct_CXX
=$ac_cv_prog_ac_ct_CXX
4498 if test -n "$ac_ct_CXX"; then
4499 echo "$as_me:$LINENO: result: $ac_ct_CXX" >&5
4500 echo "${ECHO_T}$ac_ct_CXX" >&6
4502 echo "$as_me:$LINENO: result: no" >&5
4503 echo "${ECHO_T}no" >&6
4506 test -n "$ac_ct_CXX" && break
4508 test -n "$ac_ct_CXX" || ac_ct_CXX
="g++"
4514 # Provide some information about the compiler.
4515 echo "$as_me:$LINENO:" \
4516 "checking for C++ compiler version" >&5
4517 ac_compiler
=`set X $ac_compile; echo $2`
4518 { (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5
4519 (eval $ac_compiler --version </dev
/null
>&5) 2>&5
4521 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4522 (exit $ac_status); }
4523 { (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5
4524 (eval $ac_compiler -v </dev
/null
>&5) 2>&5
4526 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4527 (exit $ac_status); }
4528 { (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5
4529 (eval $ac_compiler -V </dev
/null
>&5) 2>&5
4531 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4532 (exit $ac_status); }
4534 echo "$as_me:$LINENO: checking whether we are using the GNU C++ compiler" >&5
4535 echo $ECHO_N "checking whether we are using the GNU C++ compiler... $ECHO_C" >&6
4536 if test "${ac_cv_cxx_compiler_gnu+set}" = set; then
4537 echo $ECHO_N "(cached) $ECHO_C" >&6
4539 cat >conftest.
$ac_ext <<_ACEOF
4542 cat confdefs.h
>>conftest.
$ac_ext
4543 cat >>conftest.
$ac_ext <<_ACEOF
4544 /* end confdefs.h. */
4557 rm -f conftest.
$ac_objext
4558 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4559 (eval $ac_compile) 2>conftest.er1
4561 grep -v '^ *+' conftest.er1
>conftest.err
4563 cat conftest.err
>&5
4564 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4565 (exit $ac_status); } &&
4566 { ac_try
='test -z "$ac_cxx_werror_flag"
4567 || test ! -s conftest.err'
4568 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4571 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4572 (exit $ac_status); }; } &&
4573 { ac_try
='test -s conftest.$ac_objext'
4574 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4577 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4578 (exit $ac_status); }; }; then
4581 echo "$as_me: failed program was:" >&5
4582 sed 's/^/| /' conftest.
$ac_ext >&5
4586 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
4587 ac_cv_cxx_compiler_gnu
=$ac_compiler_gnu
4590 echo "$as_me:$LINENO: result: $ac_cv_cxx_compiler_gnu" >&5
4591 echo "${ECHO_T}$ac_cv_cxx_compiler_gnu" >&6
4592 GXX
=`test $ac_compiler_gnu = yes && echo yes`
4593 ac_test_CXXFLAGS
=${CXXFLAGS+set}
4594 ac_save_CXXFLAGS
=$CXXFLAGS
4596 echo "$as_me:$LINENO: checking whether $CXX accepts -g" >&5
4597 echo $ECHO_N "checking whether $CXX accepts -g... $ECHO_C" >&6
4598 if test "${ac_cv_prog_cxx_g+set}" = set; then
4599 echo $ECHO_N "(cached) $ECHO_C" >&6
4601 cat >conftest.
$ac_ext <<_ACEOF
4604 cat confdefs.h
>>conftest.
$ac_ext
4605 cat >>conftest.
$ac_ext <<_ACEOF
4606 /* end confdefs.h. */
4616 rm -f conftest.
$ac_objext
4617 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4618 (eval $ac_compile) 2>conftest.er1
4620 grep -v '^ *+' conftest.er1
>conftest.err
4622 cat conftest.err
>&5
4623 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4624 (exit $ac_status); } &&
4625 { ac_try
='test -z "$ac_cxx_werror_flag"
4626 || test ! -s conftest.err'
4627 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4630 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4631 (exit $ac_status); }; } &&
4632 { ac_try
='test -s conftest.$ac_objext'
4633 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4636 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4637 (exit $ac_status); }; }; then
4638 ac_cv_prog_cxx_g
=yes
4640 echo "$as_me: failed program was:" >&5
4641 sed 's/^/| /' conftest.
$ac_ext >&5
4645 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
4647 echo "$as_me:$LINENO: result: $ac_cv_prog_cxx_g" >&5
4648 echo "${ECHO_T}$ac_cv_prog_cxx_g" >&6
4649 if test "$ac_test_CXXFLAGS" = set; then
4650 CXXFLAGS
=$ac_save_CXXFLAGS
4651 elif test $ac_cv_prog_cxx_g = yes; then
4652 if test "$GXX" = yes; then
4658 if test "$GXX" = yes; then
4664 for ac_declaration
in \
4666 'extern "C" void std::exit (int) throw (); using std::exit;' \
4667 'extern "C" void std::exit (int); using std::exit;' \
4668 'extern "C" void exit (int) throw ();' \
4669 'extern "C" void exit (int);' \
4672 cat >conftest.
$ac_ext <<_ACEOF
4675 cat confdefs.h
>>conftest.
$ac_ext
4676 cat >>conftest.
$ac_ext <<_ACEOF
4677 /* end confdefs.h. */
4688 rm -f conftest.
$ac_objext
4689 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4690 (eval $ac_compile) 2>conftest.er1
4692 grep -v '^ *+' conftest.er1
>conftest.err
4694 cat conftest.err
>&5
4695 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4696 (exit $ac_status); } &&
4697 { ac_try
='test -z "$ac_cxx_werror_flag"
4698 || test ! -s conftest.err'
4699 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4702 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4703 (exit $ac_status); }; } &&
4704 { ac_try
='test -s conftest.$ac_objext'
4705 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4708 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4709 (exit $ac_status); }; }; then
4712 echo "$as_me: failed program was:" >&5
4713 sed 's/^/| /' conftest.
$ac_ext >&5
4717 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
4718 cat >conftest.
$ac_ext <<_ACEOF
4721 cat confdefs.h
>>conftest.
$ac_ext
4722 cat >>conftest.
$ac_ext <<_ACEOF
4723 /* end confdefs.h. */
4733 rm -f conftest.
$ac_objext
4734 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4735 (eval $ac_compile) 2>conftest.er1
4737 grep -v '^ *+' conftest.er1
>conftest.err
4739 cat conftest.err
>&5
4740 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4741 (exit $ac_status); } &&
4742 { ac_try
='test -z "$ac_cxx_werror_flag"
4743 || test ! -s conftest.err'
4744 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4747 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4748 (exit $ac_status); }; } &&
4749 { ac_try
='test -s conftest.$ac_objext'
4750 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4753 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4754 (exit $ac_status); }; }; then
4757 echo "$as_me: failed program was:" >&5
4758 sed 's/^/| /' conftest.
$ac_ext >&5
4761 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
4764 if test -n "$ac_declaration"; then
4765 echo '#ifdef __cplusplus' >>confdefs.h
4766 echo $ac_declaration >>confdefs.h
4767 echo '#endif' >>confdefs.h
4771 ac_cpp
='$CPP $CPPFLAGS'
4772 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4773 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4774 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
4776 depcc
="$CXX" am_compiler_list
=
4778 echo "$as_me:$LINENO: checking dependency style of $depcc" >&5
4779 echo $ECHO_N "checking dependency style of $depcc... $ECHO_C" >&6
4780 if test "${am_cv_CXX_dependencies_compiler_type+set}" = set; then
4781 echo $ECHO_N "(cached) $ECHO_C" >&6
4783 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
4784 # We make a subdir and do the tests there. Otherwise we can end up
4785 # making bogus files that we don't know about and never remove. For
4786 # instance it was reported that on HP-UX the gcc test will end up
4787 # making a dummy file named `D' -- because `-MD' means `put the output
4790 # Copy depcomp to subdir because otherwise we won't find it if we're
4791 # using a relative directory.
4792 cp "$am_depcomp" conftest.dir
4794 # We will build objects and dependencies in a subdirectory because
4795 # it helps to detect inapplicable dependency modes. For instance
4796 # both Tru64's cc and ICC support -MD to output dependencies as a
4797 # side effect of compilation, but ICC will put the dependencies in
4798 # the current directory while Tru64 will put them in the object
4802 am_cv_CXX_dependencies_compiler_type
=none
4803 if test "$am_compiler_list" = ""; then
4804 am_compiler_list
=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
4806 for depmode
in $am_compiler_list; do
4807 # Setup a source with many dependencies, because some compilers
4808 # like to wrap large dependency lists on column 80 (with \), and
4809 # we should not choose a depcomp mode which is confused by this.
4811 # We need to recreate these files for each test, as the compiler may
4812 # overwrite some of them when testing with obscure command lines.
4813 # This happens at least with the AIX C compiler.
4815 for i
in 1 2 3 4 5 6; do
4816 echo '#include "conftst'$i'.h"' >> sub
/conftest.c
4817 # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
4818 # Solaris 8's {/usr,}/bin/sh.
4819 touch sub
/conftst
$i.h
4821 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
4825 # after this tag, mechanisms are not by side-effect, so they'll
4826 # only be used when explicitly requested
4827 if test "x$enable_dependency_tracking" = xyes
; then
4835 # We check with `-c' and `-o' for the sake of the "dashmstdout"
4836 # mode. It turns out that the SunPro C++ compiler does not properly
4837 # handle `-M -o', and we need to detect this.
4838 if depmode
=$depmode \
4839 source=sub
/conftest.c object
=sub
/conftest.
${OBJEXT-o} \
4840 depfile
=sub
/conftest.Po tmpdepfile
=sub
/conftest.TPo \
4841 $SHELL .
/depcomp
$depcc -c -o sub
/conftest.
${OBJEXT-o} sub
/conftest.c \
4842 >/dev
/null
2>conftest.err
&&
4843 grep sub
/conftst6.h sub
/conftest.Po
> /dev
/null
2>&1 &&
4844 grep sub
/conftest.
${OBJEXT-o} sub
/conftest.Po
> /dev
/null
2>&1 &&
4845 ${MAKE-make} -s -f confmf
> /dev
/null
2>&1; then
4846 # icc doesn't choke on unknown options, it will just issue warnings
4847 # or remarks (even with -Werror). So we grep stderr for any message
4848 # that says an option was ignored or not supported.
4849 # When given -MP, icc 7.0 and 7.1 complain thusly:
4850 # icc: Command line warning: ignoring option '-M'; no argument required
4851 # The diagnosis changed in icc 8.0:
4852 # icc: Command line remark: option '-MP' not supported
4853 if (grep 'ignoring option' conftest.err ||
4854 grep 'not supported' conftest.err
) >/dev
/null
2>&1; then :; else
4855 am_cv_CXX_dependencies_compiler_type
=$depmode
4864 am_cv_CXX_dependencies_compiler_type
=none
4868 echo "$as_me:$LINENO: result: $am_cv_CXX_dependencies_compiler_type" >&5
4869 echo "${ECHO_T}$am_cv_CXX_dependencies_compiler_type" >&6
4870 CXXDEPMODE
=depmode
=$am_cv_CXX_dependencies_compiler_type
4875 test "x$enable_dependency_tracking" != xno \
4876 && test "$am_cv_CXX_dependencies_compiler_type" = gcc3
; then
4877 am__fastdepCXX_TRUE
=
4878 am__fastdepCXX_FALSE
='#'
4880 am__fastdepCXX_TRUE
='#'
4881 am__fastdepCXX_FALSE
=
4885 # Check whether --enable-static or --disable-static was given.
4886 if test "${enable_static+set}" = set; then
4887 enableval
="$enable_static"
4888 p
=${PACKAGE-default}
4890 yes) enable_static
=yes ;;
4891 no
) enable_static
=no
;;
4894 # Look at the argument we got. We use all the common list separators.
4895 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
="${IFS}:,"
4896 for pkg
in $enableval; do
4897 if test "X$pkg" = "X$p"; then
4907 # Check whether --enable-shared or --disable-shared was given.
4908 if test "${enable_shared+set}" = set; then
4909 enableval
="$enable_shared"
4910 p
=${PACKAGE-default}
4912 yes) enable_shared
=yes ;;
4913 no
) enable_shared
=no
;;
4916 # Look at the argument we got. We use all the common list separators.
4917 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
="${IFS}:,"
4918 for pkg
in $enableval; do
4919 if test "X$pkg" = "X$p"; then
4929 # Check whether --enable-fast-install or --disable-fast-install was given.
4930 if test "${enable_fast_install+set}" = set; then
4931 enableval
="$enable_fast_install"
4932 p
=${PACKAGE-default}
4934 yes) enable_fast_install
=yes ;;
4935 no
) enable_fast_install
=no
;;
4937 enable_fast_install
=no
4938 # Look at the argument we got. We use all the common list separators.
4939 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
="${IFS}:,"
4940 for pkg
in $enableval; do
4941 if test "X$pkg" = "X$p"; then
4942 enable_fast_install
=yes
4949 enable_fast_install
=yes
4952 # Check whether --with-gnu-ld or --without-gnu-ld was given.
4953 if test "${with_gnu_ld+set}" = set; then
4954 withval
="$with_gnu_ld"
4955 test "$withval" = no || with_gnu_ld
=yes
4960 if test "$GCC" = yes; then
4961 # Check if gcc -print-prog-name=ld gives a path.
4962 echo "$as_me:$LINENO: checking for ld used by GCC" >&5
4963 echo $ECHO_N "checking for ld used by GCC... $ECHO_C" >&6
4966 # gcc leaves a trailing carriage return which upsets mingw
4967 ac_prog
=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
4969 ac_prog
=`($CC -print-prog-name=ld) 2>&5` ;;
4972 # Accept absolute paths.
4973 [\\/]* |
[A-Za-z
]:[\\/]*)
4974 re_direlt
='/[^/][^/]*/\.\./'
4975 # Canonicalize the path of ld
4976 ac_prog
=`echo $ac_prog| sed 's%\\\\%/%g'`
4977 while echo $ac_prog |
grep "$re_direlt" > /dev
/null
2>&1; do
4978 ac_prog
=`echo $ac_prog| sed "s%$re_direlt%/%"`
4980 test -z "$LD" && LD
="$ac_prog"
4983 # If it fails, then pretend we aren't using GCC.
4987 # If it is relative, then search for the first ld in PATH.
4991 elif test "$with_gnu_ld" = yes; then
4992 echo "$as_me:$LINENO: checking for GNU ld" >&5
4993 echo $ECHO_N "checking for GNU ld... $ECHO_C" >&6
4995 echo "$as_me:$LINENO: checking for non-GNU ld" >&5
4996 echo $ECHO_N "checking for non-GNU ld... $ECHO_C" >&6
4998 if test "${lt_cv_path_LD+set}" = set; then
4999 echo $ECHO_N "(cached) $ECHO_C" >&6
5001 if test -z "$LD"; then
5002 IFS
="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}${PATH_SEPARATOR-:}"
5003 for ac_dir
in $PATH; do
5004 test -z "$ac_dir" && ac_dir
=.
5005 if test -f "$ac_dir/$ac_prog" ||
test -f "$ac_dir/$ac_prog$ac_exeext"; then
5006 lt_cv_path_LD
="$ac_dir/$ac_prog"
5007 # Check to see if the program is GNU ld. I'd rather use --version,
5008 # but apparently some GNU ld's only accept -v.
5009 # Break only if it was the GNU/non-GNU ld that we prefer.
5010 if "$lt_cv_path_LD" -v 2>&1 < /dev
/null |
egrep '(GNU|with BFD)' > /dev
/null
; then
5011 test "$with_gnu_ld" != no
&& break
5013 test "$with_gnu_ld" != yes && break
5019 lt_cv_path_LD
="$LD" # Let the user override the test with a path.
5024 if test -n "$LD"; then
5025 echo "$as_me:$LINENO: result: $LD" >&5
5026 echo "${ECHO_T}$LD" >&6
5028 echo "$as_me:$LINENO: result: no" >&5
5029 echo "${ECHO_T}no" >&6
5031 test -z "$LD" && { { echo "$as_me:$LINENO: error: no acceptable ld found in \$PATH" >&5
5032 echo "$as_me: error: no acceptable ld found in \$PATH" >&2;}
5033 { (exit 1); exit 1; }; }
5034 echo "$as_me:$LINENO: checking if the linker ($LD) is GNU ld" >&5
5035 echo $ECHO_N "checking if the linker ($LD) is GNU ld... $ECHO_C" >&6
5036 if test "${lt_cv_prog_gnu_ld+set}" = set; then
5037 echo $ECHO_N "(cached) $ECHO_C" >&6
5039 # I'd rather use --version here, but apparently some GNU ld's only accept -v.
5040 if $LD -v 2>&1 </dev
/null |
egrep '(GNU|with BFD)' 1>&5; then
5041 lt_cv_prog_gnu_ld
=yes
5043 lt_cv_prog_gnu_ld
=no
5046 echo "$as_me:$LINENO: result: $lt_cv_prog_gnu_ld" >&5
5047 echo "${ECHO_T}$lt_cv_prog_gnu_ld" >&6
5048 with_gnu_ld
=$lt_cv_prog_gnu_ld
5051 echo "$as_me:$LINENO: checking for $LD option to reload object files" >&5
5052 echo $ECHO_N "checking for $LD option to reload object files... $ECHO_C" >&6
5053 if test "${lt_cv_ld_reload_flag+set}" = set; then
5054 echo $ECHO_N "(cached) $ECHO_C" >&6
5056 lt_cv_ld_reload_flag
='-r'
5058 echo "$as_me:$LINENO: result: $lt_cv_ld_reload_flag" >&5
5059 echo "${ECHO_T}$lt_cv_ld_reload_flag" >&6
5060 reload_flag
=$lt_cv_ld_reload_flag
5061 test -n "$reload_flag" && reload_flag
=" $reload_flag"
5063 echo "$as_me:$LINENO: checking for BSD-compatible nm" >&5
5064 echo $ECHO_N "checking for BSD-compatible nm... $ECHO_C" >&6
5065 if test "${lt_cv_path_NM+set}" = set; then
5066 echo $ECHO_N "(cached) $ECHO_C" >&6
5068 if test -n "$NM"; then
5069 # Let the user override the test.
5072 IFS
="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}${PATH_SEPARATOR-:}"
5073 for ac_dir
in $PATH /usr
/ccs
/bin
/usr
/ucb
/bin
; do
5074 test -z "$ac_dir" && ac_dir
=.
5075 tmp_nm
=$ac_dir/${ac_tool_prefix}nm
5076 if test -f $tmp_nm ||
test -f $tmp_nm$ac_exeext ; then
5077 # Check to see if the nm accepts a BSD-compat flag.
5078 # Adding the `sed 1q' prevents false positives on HP-UX, which says:
5079 # nm: unknown option "B" ignored
5080 # Tru64's nm complains that /dev/null is an invalid object file
5081 if ($tmp_nm -B /dev
/null
2>&1 |
sed '1q'; exit 0) |
egrep '(/dev/null|Invalid file or object type)' >/dev
/null
; then
5082 lt_cv_path_NM
="$tmp_nm -B"
5084 elif ($tmp_nm -p /dev
/null
2>&1 |
sed '1q'; exit 0) |
egrep /dev
/null
>/dev
/null
; then
5085 lt_cv_path_NM
="$tmp_nm -p"
5088 lt_cv_path_NM
=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but
5089 continue # so that we can try to find one that supports BSD flags
5094 test -z "$lt_cv_path_NM" && lt_cv_path_NM
=nm
5099 echo "$as_me:$LINENO: result: $NM" >&5
5100 echo "${ECHO_T}$NM" >&6
5102 echo "$as_me:$LINENO: checking how to recognise dependant libraries" >&5
5103 echo $ECHO_N "checking how to recognise dependant libraries... $ECHO_C" >&6
5104 if test "${lt_cv_deplibs_check_method+set}" = set; then
5105 echo $ECHO_N "(cached) $ECHO_C" >&6
5107 lt_cv_file_magic_cmd
='$MAGIC_CMD'
5108 lt_cv_file_magic_test_file
=
5109 lt_cv_deplibs_check_method
='unknown'
5110 # Need to set the preceding variable on all platforms that support
5111 # interlibrary dependencies.
5112 # 'none' -- dependencies not supported.
5113 # `unknown' -- same as none, but documents that we really don't know.
5114 # 'pass_all' -- all dependencies passed with no checks.
5115 # 'test_compile' -- check by making test program.
5116 # 'file_magic [regex]' -- check by looking for files in library path
5117 # which responds to the $file_magic_cmd with a given egrep regex.
5118 # If you have `file' or equivalent on your system and you're not sure
5119 # whether `pass_all' will *always* work, you probably want this one.
5123 lt_cv_deplibs_check_method
=pass_all
5127 lt_cv_deplibs_check_method
=pass_all
5131 lt_cv_deplibs_check_method
='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib)'
5132 lt_cv_file_magic_cmd
='/usr/bin/file -L'
5133 lt_cv_file_magic_test_file
=/shlib
/libc.so
5136 cygwin
* | mingw
* |pw32
*)
5137 lt_cv_deplibs_check_method
='file_magic file format pei*-i386(.*architecture: i386)?'
5138 lt_cv_file_magic_cmd
='$OBJDUMP -f'
5141 darwin
* | rhapsody
*)
5142 # this will be overwritten by pass_all, but leave it in just in case
5143 lt_cv_deplibs_check_method
='file_magic Mach-O dynamically linked shared library'
5144 lt_cv_file_magic_cmd
='/usr/bin/file -L'
5146 rhapsody
* | darwin1.012
)
5147 lt_cv_file_magic_test_file
='/System/Library/Frameworks/System.framework/System'
5150 lt_cv_file_magic_test_file
='/usr/lib/libSystem.dylib'
5153 lt_cv_deplibs_check_method
=pass_all
5156 freebsd
* | kfreebsd
*-gnu)
5157 if echo __ELF__ |
$CC -E - |
grep __ELF__
> /dev
/null
; then
5160 # Not sure whether the presence of OpenBSD here was a mistake.
5161 # Let's accept both of them until this is cleared up.
5162 lt_cv_deplibs_check_method
='file_magic (FreeBSD|OpenBSD)/i[3-9]86 (compact )?demand paged shared library'
5163 lt_cv_file_magic_cmd
=/usr
/bin
/file
5164 lt_cv_file_magic_test_file
=`echo /usr/lib/libc.so.*`
5168 lt_cv_deplibs_check_method
=pass_all
5173 lt_cv_deplibs_check_method
=pass_all
5179 lt_cv_deplibs_check_method
='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9].[0-9]) shared library'
5180 lt_cv_file_magic_cmd
=/usr
/bin
/file
5181 lt_cv_file_magic_test_file
=/usr
/lib
/libc.sl
5184 lt_cv_deplibs_check_method
='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - IA64'
5185 lt_cv_file_magic_cmd
=/usr
/bin
/file
5186 lt_cv_file_magic_test_file
=/usr
/lib
/hpux32
/libc.so
5194 # this will be overridden with pass_all, but let us keep it just in case
5195 lt_cv_deplibs_check_method
="file_magic ELF 32-bit MSB dynamic lib MIPS - version 1"
5199 *-32|
*"-32 ") libmagic
=32-bit;;
5200 *-n32|
*"-n32 ") libmagic
=N32
;;
5201 *-64|
*"-64 ") libmagic
=64-bit;;
5202 *) libmagic
=never-match
;;
5204 # this will be overridden with pass_all, but let us keep it just in case
5205 lt_cv_deplibs_check_method
="file_magic ELF ${libmagic} MSB mips-[1234] dynamic lib MIPS - version 1"
5208 lt_cv_file_magic_test_file
=`echo /lib${libsuff}/libc.so*`
5209 lt_cv_deplibs_check_method
=pass_all
5212 # This must be Linux ELF.
5214 lt_cv_deplibs_check_method
=pass_all
5217 netbsd
* | knetbsd
*-gnu)
5218 if echo __ELF__ |
$CC -E - |
grep __ELF__
> /dev
/null
; then
5219 lt_cv_deplibs_check_method
='match_pattern /lib[^/\.]+\.so\.[0-9]+\.[0-9]+$'
5221 lt_cv_deplibs_check_method
='match_pattern /lib[^/\.]+\.so$'
5226 lt_cv_deplibs_check_method
='file_magic ELF [0-9][0-9]*-bit [ML]SB (executable|dynamic lib)'
5227 lt_cv_file_magic_cmd
=/usr
/bin
/file
5228 lt_cv_file_magic_test_file
=/usr
/lib
/libnls.so
5231 osf3
* | osf4
* | osf5
*)
5232 # this will be overridden with pass_all, but let us keep it just in case
5233 lt_cv_deplibs_check_method
='file_magic COFF format alpha shared library'
5234 lt_cv_file_magic_test_file
=/shlib
/libc.so
5235 lt_cv_deplibs_check_method
=pass_all
5239 lt_cv_deplibs_check_method
=pass_all
5243 lt_cv_deplibs_check_method
=pass_all
5244 lt_cv_file_magic_test_file
=/lib
/libc.so
5247 sysv5uw
[78]* | sysv4
*uw2
*)
5248 lt_cv_deplibs_check_method
=pass_all
5251 sysv4 | sysv4.2uw2
* | sysv4.3
* | sysv5
*)
5252 case $host_vendor in
5254 lt_cv_deplibs_check_method
=pass_all
5257 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]'
5258 lt_cv_file_magic_test_file
=`echo /usr/lib/libc.so*`
5265 echo "$as_me:$LINENO: result: $lt_cv_deplibs_check_method" >&5
5266 echo "${ECHO_T}$lt_cv_deplibs_check_method" >&6
5267 file_magic_cmd
=$lt_cv_file_magic_cmd
5268 deplibs_check_method
=$lt_cv_deplibs_check_method
5273 # Autoconf 2.13's AC_OBJEXT and AC_EXEEXT macros only works for C compilers!
5275 # find the maximum length of command line arguments
5276 echo "$as_me:$LINENO: checking the maximum length of command line arguments" >&5
5277 echo $ECHO_N "checking the maximum length of command line arguments... $ECHO_C" >&6
5278 if test "${lt_cv_sys_max_cmd_len+set}" = set; then
5279 echo $ECHO_N "(cached) $ECHO_C" >&6
5286 # On DJGPP, this test can blow up pretty badly due to problems in libc
5287 # (any single argument exceeding 2000 bytes causes a buffer overrun
5288 # during glob expansion). Even if it were fixed, the result of this
5289 # check would be larger than it should be.
5290 lt_cv_sys_max_cmd_len
=12288; # 12K is about right
5294 # On Win9x/ME, this test blows up -- it succeeds, but takes
5295 # about 5 minutes as the teststring grows exponentially.
5296 # Worse, since 9x/ME are not pre-emptively multitasking,
5297 # you end up with a "frozen" computer, even though with patience
5298 # the test eventually succeeds (with a max line length of 256k).
5299 # Instead, let's just punt: use the minimum linelength reported by
5300 # all of the supported platforms: 8192 (on NT/2K/XP).
5301 lt_cv_sys_max_cmd_len
=8192;
5305 # On AmigaOS with pdksh, this test takes hours, literally.
5306 # So we just punt and use a minimum line length of 8192.
5307 lt_cv_sys_max_cmd_len
=8192;
5310 netbsd
* | freebsd
* | openbsd
* | darwin
* | dragonfly
*)
5311 # This has been around since 386BSD, at least. Likely further.
5312 if test -x /sbin
/sysctl
; then
5313 lt_cv_sys_max_cmd_len
=`/sbin/sysctl -n kern.argmax`
5314 elif test -x /usr
/sbin
/sysctl
; then
5315 lt_cv_sys_max_cmd_len
=`/usr/sbin/sysctl -n kern.argmax`
5317 lt_cv_sys_max_cmd_len
=65536 # usable default for *BSD
5319 # And add a safety zone
5320 lt_cv_sys_max_cmd_len
=`expr $lt_cv_sys_max_cmd_len \/ 4`
5321 lt_cv_sys_max_cmd_len
=`expr $lt_cv_sys_max_cmd_len \* 3`
5327 if test -n "$lt_cv_sys_max_cmd_len" ; then
5328 echo "$as_me:$LINENO: result: $lt_cv_sys_max_cmd_len" >&5
5329 echo "${ECHO_T}$lt_cv_sys_max_cmd_len" >&6
5331 echo "$as_me:$LINENO: result: none" >&5
5332 echo "${ECHO_T}none" >&6
5336 # Only perform the check for file, if the check method requires it
5337 case $deplibs_check_method in
5339 if test "$file_magic_cmd" = '$MAGIC_CMD'; then
5340 echo "$as_me:$LINENO: checking for ${ac_tool_prefix}file" >&5
5341 echo $ECHO_N "checking for ${ac_tool_prefix}file... $ECHO_C" >&6
5342 if test "${lt_cv_path_MAGIC_CMD+set}" = set; then
5343 echo $ECHO_N "(cached) $ECHO_C" >&6
5347 lt_cv_path_MAGIC_CMD
="$MAGIC_CMD" # Let the user override the test with a path.
5350 lt_cv_path_MAGIC_CMD
="$MAGIC_CMD" # Let the user override the test with a dos path.
5353 ac_save_MAGIC_CMD
="$MAGIC_CMD"
5354 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
=":"
5355 ac_dummy
="/usr/bin:$PATH"
5356 for ac_dir
in $ac_dummy; do
5357 test -z "$ac_dir" && ac_dir
=.
5358 if test -f $ac_dir/${ac_tool_prefix}file; then
5359 lt_cv_path_MAGIC_CMD
="$ac_dir/${ac_tool_prefix}file"
5360 if test -n "$file_magic_test_file"; then
5361 case $deplibs_check_method in
5363 file_magic_regex
="`expr \"$deplibs_check_method\" : \"file_magic \(.*\)\"`"
5364 MAGIC_CMD
="$lt_cv_path_MAGIC_CMD"
5365 if eval $file_magic_cmd \
$file_magic_test_file 2> /dev
/null |
5366 egrep "$file_magic_regex" > /dev
/null
; then
5371 *** Warning: the command libtool uses to detect shared libraries,
5372 *** $file_magic_cmd, produces output that libtool cannot recognize.
5373 *** The result is that libtool may fail to recognize shared libraries
5374 *** as such. This will affect the creation of libtool libraries that
5375 *** depend on shared libraries, but programs linked with such libtool
5376 *** libraries will work regardless of this problem. Nevertheless, you
5377 *** may want to report the problem to your system manager and/or to
5378 *** bug-libtool@gnu.org
5388 MAGIC_CMD
="$ac_save_MAGIC_CMD"
5393 MAGIC_CMD
="$lt_cv_path_MAGIC_CMD"
5394 if test -n "$MAGIC_CMD"; then
5395 echo "$as_me:$LINENO: result: $MAGIC_CMD" >&5
5396 echo "${ECHO_T}$MAGIC_CMD" >&6
5398 echo "$as_me:$LINENO: result: no" >&5
5399 echo "${ECHO_T}no" >&6
5402 if test -z "$lt_cv_path_MAGIC_CMD"; then
5403 if test -n "$ac_tool_prefix"; then
5404 echo "$as_me:$LINENO: checking for file" >&5
5405 echo $ECHO_N "checking for file... $ECHO_C" >&6
5406 if test "${lt_cv_path_MAGIC_CMD+set}" = set; then
5407 echo $ECHO_N "(cached) $ECHO_C" >&6
5411 lt_cv_path_MAGIC_CMD
="$MAGIC_CMD" # Let the user override the test with a path.
5414 lt_cv_path_MAGIC_CMD
="$MAGIC_CMD" # Let the user override the test with a dos path.
5417 ac_save_MAGIC_CMD
="$MAGIC_CMD"
5418 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
=":"
5419 ac_dummy
="/usr/bin:$PATH"
5420 for ac_dir
in $ac_dummy; do
5421 test -z "$ac_dir" && ac_dir
=.
5422 if test -f $ac_dir/file; then
5423 lt_cv_path_MAGIC_CMD
="$ac_dir/file"
5424 if test -n "$file_magic_test_file"; then
5425 case $deplibs_check_method in
5427 file_magic_regex
="`expr \"$deplibs_check_method\" : \"file_magic \(.*\)\"`"
5428 MAGIC_CMD
="$lt_cv_path_MAGIC_CMD"
5429 if eval $file_magic_cmd \
$file_magic_test_file 2> /dev
/null |
5430 egrep "$file_magic_regex" > /dev
/null
; then
5435 *** Warning: the command libtool uses to detect shared libraries,
5436 *** $file_magic_cmd, produces output that libtool cannot recognize.
5437 *** The result is that libtool may fail to recognize shared libraries
5438 *** as such. This will affect the creation of libtool libraries that
5439 *** depend on shared libraries, but programs linked with such libtool
5440 *** libraries will work regardless of this problem. Nevertheless, you
5441 *** may want to report the problem to your system manager and/or to
5442 *** bug-libtool@gnu.org
5452 MAGIC_CMD
="$ac_save_MAGIC_CMD"
5457 MAGIC_CMD
="$lt_cv_path_MAGIC_CMD"
5458 if test -n "$MAGIC_CMD"; then
5459 echo "$as_me:$LINENO: result: $MAGIC_CMD" >&5
5460 echo "${ECHO_T}$MAGIC_CMD" >&6
5462 echo "$as_me:$LINENO: result: no" >&5
5463 echo "${ECHO_T}no" >&6
5475 if test -n "$ac_tool_prefix"; then
5476 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
5477 set dummy
${ac_tool_prefix}ranlib
; ac_word
=$2
5478 echo "$as_me:$LINENO: checking for $ac_word" >&5
5479 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
5480 if test "${ac_cv_prog_RANLIB+set}" = set; then
5481 echo $ECHO_N "(cached) $ECHO_C" >&6
5483 if test -n "$RANLIB"; then
5484 ac_cv_prog_RANLIB
="$RANLIB" # Let the user override the test.
5486 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5490 test -z "$as_dir" && as_dir
=.
5491 for ac_exec_ext
in '' $ac_executable_extensions; do
5492 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5493 ac_cv_prog_RANLIB
="${ac_tool_prefix}ranlib"
5494 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5502 RANLIB
=$ac_cv_prog_RANLIB
5503 if test -n "$RANLIB"; then
5504 echo "$as_me:$LINENO: result: $RANLIB" >&5
5505 echo "${ECHO_T}$RANLIB" >&6
5507 echo "$as_me:$LINENO: result: no" >&5
5508 echo "${ECHO_T}no" >&6
5512 if test -z "$ac_cv_prog_RANLIB"; then
5513 ac_ct_RANLIB
=$RANLIB
5514 # Extract the first word of "ranlib", so it can be a program name with args.
5515 set dummy ranlib
; ac_word
=$2
5516 echo "$as_me:$LINENO: checking for $ac_word" >&5
5517 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
5518 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
5519 echo $ECHO_N "(cached) $ECHO_C" >&6
5521 if test -n "$ac_ct_RANLIB"; then
5522 ac_cv_prog_ac_ct_RANLIB
="$ac_ct_RANLIB" # Let the user override the test.
5524 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5528 test -z "$as_dir" && as_dir
=.
5529 for ac_exec_ext
in '' $ac_executable_extensions; do
5530 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5531 ac_cv_prog_ac_ct_RANLIB
="ranlib"
5532 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5538 test -z "$ac_cv_prog_ac_ct_RANLIB" && ac_cv_prog_ac_ct_RANLIB
=":"
5541 ac_ct_RANLIB
=$ac_cv_prog_ac_ct_RANLIB
5542 if test -n "$ac_ct_RANLIB"; then
5543 echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
5544 echo "${ECHO_T}$ac_ct_RANLIB" >&6
5546 echo "$as_me:$LINENO: result: no" >&5
5547 echo "${ECHO_T}no" >&6
5550 RANLIB
=$ac_ct_RANLIB
5552 RANLIB
="$ac_cv_prog_RANLIB"
5555 if test -n "$ac_tool_prefix"; then
5556 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
5557 set dummy
${ac_tool_prefix}strip
; ac_word
=$2
5558 echo "$as_me:$LINENO: checking for $ac_word" >&5
5559 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
5560 if test "${ac_cv_prog_STRIP+set}" = set; then
5561 echo $ECHO_N "(cached) $ECHO_C" >&6
5563 if test -n "$STRIP"; then
5564 ac_cv_prog_STRIP
="$STRIP" # Let the user override the test.
5566 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5570 test -z "$as_dir" && as_dir
=.
5571 for ac_exec_ext
in '' $ac_executable_extensions; do
5572 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5573 ac_cv_prog_STRIP
="${ac_tool_prefix}strip"
5574 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5582 STRIP
=$ac_cv_prog_STRIP
5583 if test -n "$STRIP"; then
5584 echo "$as_me:$LINENO: result: $STRIP" >&5
5585 echo "${ECHO_T}$STRIP" >&6
5587 echo "$as_me:$LINENO: result: no" >&5
5588 echo "${ECHO_T}no" >&6
5592 if test -z "$ac_cv_prog_STRIP"; then
5594 # Extract the first word of "strip", so it can be a program name with args.
5595 set dummy strip
; ac_word
=$2
5596 echo "$as_me:$LINENO: checking for $ac_word" >&5
5597 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
5598 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
5599 echo $ECHO_N "(cached) $ECHO_C" >&6
5601 if test -n "$ac_ct_STRIP"; then
5602 ac_cv_prog_ac_ct_STRIP
="$ac_ct_STRIP" # Let the user override the test.
5604 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5608 test -z "$as_dir" && as_dir
=.
5609 for ac_exec_ext
in '' $ac_executable_extensions; do
5610 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5611 ac_cv_prog_ac_ct_STRIP
="strip"
5612 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5618 test -z "$ac_cv_prog_ac_ct_STRIP" && ac_cv_prog_ac_ct_STRIP
=":"
5621 ac_ct_STRIP
=$ac_cv_prog_ac_ct_STRIP
5622 if test -n "$ac_ct_STRIP"; then
5623 echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
5624 echo "${ECHO_T}$ac_ct_STRIP" >&6
5626 echo "$as_me:$LINENO: result: no" >&5
5627 echo "${ECHO_T}no" >&6
5632 STRIP
="$ac_cv_prog_STRIP"
5636 # Check for any special flags to pass to ltconfig.
5637 libtool_flags
="--cache-file=$cache_file"
5638 test "$enable_shared" = no
&& libtool_flags
="$libtool_flags --disable-shared"
5639 test "$enable_static" = no
&& libtool_flags
="$libtool_flags --disable-static"
5640 test "$enable_fast_install" = no
&& libtool_flags
="$libtool_flags --disable-fast-install"
5641 test "$GCC" = yes && libtool_flags
="$libtool_flags --with-gcc"
5642 test "$lt_cv_prog_gnu_ld" = yes && libtool_flags
="$libtool_flags --with-gnu-ld"
5645 # Check whether --enable-libtool-lock or --disable-libtool-lock was given.
5646 if test "${enable_libtool_lock+set}" = set; then
5647 enableval
="$enable_libtool_lock"
5650 test "x$enable_libtool_lock" = xno
&& libtool_flags
="$libtool_flags --disable-lock"
5651 test x
"$silent" = xyes
&& libtool_flags
="$libtool_flags --silent"
5654 # Check whether --with-pic or --without-pic was given.
5655 if test "${with_pic+set}" = set; then
5661 test x
"$pic_mode" = xyes
&& libtool_flags
="$libtool_flags --prefer-pic"
5662 test x
"$pic_mode" = xno
&& libtool_flags
="$libtool_flags --prefer-non-pic"
5664 # Some flags need to be propagated to the compiler or linker for good
5668 # Find out which ABI we are using.
5669 echo '#line 5669 "configure"' > conftest.
$ac_ext
5670 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5671 (eval $ac_compile) 2>&5
5673 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5674 (exit $ac_status); }; then
5675 if test "$lt_cv_prog_gnu_ld" = yes; then
5676 case `/usr/bin/file conftest.$ac_objext` in
5678 LD
="${LD-ld} -melf32bsmip"
5681 LD
="${LD-ld} -melf32bmipn32"
5684 LD
="${LD-ld} -melf64bmip"
5688 case `/usr/bin/file conftest.$ac_objext` in
5705 # Find out which ABI we are using.
5706 echo 'int i;' > conftest.
$ac_ext
5707 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5708 (eval $ac_compile) 2>&5
5710 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5711 (exit $ac_status); }; then
5712 case "`/usr/bin/file conftest.o`" in
5724 x86_64-
*linux
*|ppc
*-*linux
*|powerpc
*-*linux
*|s390
*-*linux
*|sparc
*-*linux
*)
5725 # Find out which ABI we are using.
5726 echo 'int i;' > conftest.
$ac_ext
5727 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5728 (eval $ac_compile) 2>&5
5730 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5731 (exit $ac_status); }; then
5732 case "`/usr/bin/file conftest.o`" in
5736 LD
="${LD-ld} -m elf_i386"
5738 ppc64-
*linux
*|powerpc64-
*linux
*)
5739 LD
="${LD-ld} -m elf32ppclinux"
5742 LD
="${LD-ld} -m elf_s390"
5745 LD
="${LD-ld} -m elf32_sparc"
5752 LD
="${LD-ld} -m elf_x86_64"
5754 ppc
*-*linux
*|powerpc
*-*linux
*)
5755 LD
="${LD-ld} -m elf64ppc"
5758 LD
="${LD-ld} -m elf64_s390"
5761 LD
="${LD-ld} -m elf64_sparc"
5771 # On SCO OpenServer 5, we need -belf to get full-featured binaries.
5772 SAVE_CFLAGS
="$CFLAGS"
5773 CFLAGS
="$CFLAGS -belf"
5774 echo "$as_me:$LINENO: checking whether the C compiler needs -belf" >&5
5775 echo $ECHO_N "checking whether the C compiler needs -belf... $ECHO_C" >&6
5776 if test "${lt_cv_cc_needs_belf+set}" = set; then
5777 echo $ECHO_N "(cached) $ECHO_C" >&6
5782 ac_cpp
='$CPP $CPPFLAGS'
5783 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5784 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5785 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
5787 cat >conftest.
$ac_ext <<_ACEOF
5790 cat confdefs.h
>>conftest.
$ac_ext
5791 cat >>conftest.
$ac_ext <<_ACEOF
5792 /* end confdefs.h. */
5802 rm -f conftest.
$ac_objext conftest
$ac_exeext
5803 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
5804 (eval $ac_link) 2>conftest.er1
5806 grep -v '^ *+' conftest.er1
>conftest.err
5808 cat conftest.err
>&5
5809 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5810 (exit $ac_status); } &&
5811 { ac_try
='test -z "$ac_c_werror_flag"
5812 || test ! -s conftest.err'
5813 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5816 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5817 (exit $ac_status); }; } &&
5818 { ac_try
='test -s conftest$ac_exeext'
5819 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5822 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5823 (exit $ac_status); }; }; then
5824 lt_cv_cc_needs_belf
=yes
5826 echo "$as_me: failed program was:" >&5
5827 sed 's/^/| /' conftest.
$ac_ext >&5
5829 lt_cv_cc_needs_belf
=no
5831 rm -f conftest.err conftest.
$ac_objext \
5832 conftest
$ac_exeext conftest.
$ac_ext
5834 ac_cpp
='$CPP $CPPFLAGS'
5835 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5836 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5837 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
5840 echo "$as_me:$LINENO: result: $lt_cv_cc_needs_belf" >&5
5841 echo "${ECHO_T}$lt_cv_cc_needs_belf" >&6
5842 if test x
"$lt_cv_cc_needs_belf" != x
"yes"; then
5843 # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
5844 CFLAGS
="$SAVE_CFLAGS"
5852 # Save cache, so that ltconfig can load it
5853 cat >confcache
<<\_ACEOF
5854 # This file is a shell script that caches the results of configure
5855 # tests run on this system so they can be shared between configure
5856 # scripts and configure runs, see configure's option --config-cache.
5857 # It is not useful on other systems. If it contains results you don't
5858 # want to keep, you may remove or edit it.
5860 # config.status only pays attention to the cache file if you give it
5861 # the --recheck option to rerun configure.
5863 # `ac_cv_env_foo' variables (set or unset) will be overridden when
5864 # loading this file, other *unset* `ac_cv_foo' will be assigned the
5869 # The following way of writing the cache mishandles newlines in values,
5870 # but we know of no workaround that is simple, portable, and efficient.
5871 # So, don't put newlines in cache variables' values.
5872 # Ultrix sh set writes to stderr and can't be redirected directly,
5873 # and sets the high bit in the cache file unless we assign to the vars.
5876 case `(ac_space=' '; set | grep ac_space) 2>&1` in
5878 # `set' does not quote correctly, so add quotes (double-quote
5879 # substitution turns \\\\ into \\, and sed turns \\ into \).
5882 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
5885 # `set' quotes correctly as required by POSIX, so do not add quotes.
5887 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
5894 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
5896 /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
5898 if diff $cache_file confcache
>/dev
/null
2>&1; then :; else
5899 if test -w $cache_file; then
5900 test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
5901 cat confcache
>$cache_file
5903 echo "not updating unwritable cache $cache_file"
5908 # Actually configure libtool. ac_aux_dir is where install-sh is found.
5909 AR
="$AR" LTCC
="$CC" CC
="$CC" CFLAGS
="$CFLAGS" CPPFLAGS
="$CPPFLAGS" \
5910 MAGIC_CMD
="$MAGIC_CMD" LD
="$LD" LDFLAGS
="$LDFLAGS" LIBS
="$LIBS" \
5911 LN_S
="$LN_S" NM
="$NM" RANLIB
="$RANLIB" STRIP
="$STRIP" \
5912 AS
="$AS" DLLTOOL
="$DLLTOOL" OBJDUMP
="$OBJDUMP" \
5913 objext
="$OBJEXT" exeext
="$EXEEXT" reload_flag
="$reload_flag" \
5914 deplibs_check_method
="$deplibs_check_method" file_magic_cmd
="$file_magic_cmd" \
5915 ${CONFIG_SHELL-/bin/sh} $ac_aux_dir/ltconfig
--no-reexec \
5916 $libtool_flags --no-verify --build="$build" $ac_aux_dir/ltmain.sh
$host \
5917 ||
{ { echo "$as_me:$LINENO: error: libtool configure failed" >&5
5918 echo "$as_me: error: libtool configure failed" >&2;}
5919 { (exit 1); exit 1; }; }
5921 # Reload cache, that may have been modified by ltconfig
5922 if test -r "$cache_file"; then
5923 # Some versions of bash will fail to source /dev/null (special
5924 # files actually), so we avoid doing that.
5925 if test -f "$cache_file"; then
5926 { echo "$as_me:$LINENO: loading cache $cache_file" >&5
5927 echo "$as_me: loading cache $cache_file" >&6;}
5929 [\\/]* | ?
:[\\/]* ) .
$cache_file;;
5930 *) . .
/$cache_file;;
5934 { echo "$as_me:$LINENO: creating cache $cache_file" >&5
5935 echo "$as_me: creating cache $cache_file" >&6;}
5940 # This can be used to rebuild libtool when needed
5941 LIBTOOL_DEPS
="$ac_aux_dir/ltconfig $ac_aux_dir/ltmain.sh $ac_aux_dir/ltcf-c.sh"
5943 # Always use our own libtool.
5944 LIBTOOL
='$(SHELL) $(top_builddir)/libtool'
5946 # Redirect the config.log output again, so that the ltconfig log is not
5947 # clobbered by the next message.
5948 exec 5>>.
/config.log
5951 ac_cpp
='$CXXCPP $CPPFLAGS'
5952 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5953 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5954 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
5955 echo "$as_me:$LINENO: checking how to run the C++ preprocessor" >&5
5956 echo $ECHO_N "checking how to run the C++ preprocessor... $ECHO_C" >&6
5957 if test -z "$CXXCPP"; then
5958 if test "${ac_cv_prog_CXXCPP+set}" = set; then
5959 echo $ECHO_N "(cached) $ECHO_C" >&6
5961 # Double quotes because CXXCPP needs to be expanded
5962 for CXXCPP
in "$CXX -E" "/lib/cpp"
5965 for ac_cxx_preproc_warn_flag
in '' yes
5967 # Use a header file that comes with gcc, so configuring glibc
5968 # with a fresh cross-compiler works.
5969 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
5970 # <limits.h> exists even on freestanding compilers.
5971 # On the NeXT, cc -E runs the code through the compiler's parser,
5972 # not just through cpp. "Syntax error" is here to catch this case.
5973 cat >conftest.
$ac_ext <<_ACEOF
5976 cat confdefs.h
>>conftest.
$ac_ext
5977 cat >>conftest.
$ac_ext <<_ACEOF
5978 /* end confdefs.h. */
5980 # include <limits.h>
5982 # include <assert.h>
5986 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
5987 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
5989 grep -v '^ *+' conftest.er1
>conftest.err
5991 cat conftest.err
>&5
5992 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5993 (exit $ac_status); } >/dev
/null
; then
5994 if test -s conftest.err
; then
5995 ac_cpp_err
=$ac_cxx_preproc_warn_flag
5996 ac_cpp_err
=$ac_cpp_err$ac_cxx_werror_flag
6003 if test -z "$ac_cpp_err"; then
6006 echo "$as_me: failed program was:" >&5
6007 sed 's/^/| /' conftest.
$ac_ext >&5
6009 # Broken: fails on valid input.
6012 rm -f conftest.err conftest.
$ac_ext
6014 # OK, works on sane cases. Now check whether non-existent headers
6015 # can be detected and how.
6016 cat >conftest.
$ac_ext <<_ACEOF
6019 cat confdefs.h
>>conftest.
$ac_ext
6020 cat >>conftest.
$ac_ext <<_ACEOF
6021 /* end confdefs.h. */
6022 #include <ac_nonexistent.h>
6024 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
6025 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
6027 grep -v '^ *+' conftest.er1
>conftest.err
6029 cat conftest.err
>&5
6030 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6031 (exit $ac_status); } >/dev
/null
; then
6032 if test -s conftest.err
; then
6033 ac_cpp_err
=$ac_cxx_preproc_warn_flag
6034 ac_cpp_err
=$ac_cpp_err$ac_cxx_werror_flag
6041 if test -z "$ac_cpp_err"; then
6042 # Broken: success on invalid input.
6045 echo "$as_me: failed program was:" >&5
6046 sed 's/^/| /' conftest.
$ac_ext >&5
6048 # Passes both tests.
6052 rm -f conftest.err conftest.
$ac_ext
6055 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
6056 rm -f conftest.err conftest.
$ac_ext
6057 if $ac_preproc_ok; then
6062 ac_cv_prog_CXXCPP
=$CXXCPP
6065 CXXCPP
=$ac_cv_prog_CXXCPP
6067 ac_cv_prog_CXXCPP
=$CXXCPP
6069 echo "$as_me:$LINENO: result: $CXXCPP" >&5
6070 echo "${ECHO_T}$CXXCPP" >&6
6072 for ac_cxx_preproc_warn_flag
in '' yes
6074 # Use a header file that comes with gcc, so configuring glibc
6075 # with a fresh cross-compiler works.
6076 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
6077 # <limits.h> exists even on freestanding compilers.
6078 # On the NeXT, cc -E runs the code through the compiler's parser,
6079 # not just through cpp. "Syntax error" is here to catch this case.
6080 cat >conftest.
$ac_ext <<_ACEOF
6083 cat confdefs.h
>>conftest.
$ac_ext
6084 cat >>conftest.
$ac_ext <<_ACEOF
6085 /* end confdefs.h. */
6087 # include <limits.h>
6089 # include <assert.h>
6093 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
6094 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
6096 grep -v '^ *+' conftest.er1
>conftest.err
6098 cat conftest.err
>&5
6099 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6100 (exit $ac_status); } >/dev
/null
; then
6101 if test -s conftest.err
; then
6102 ac_cpp_err
=$ac_cxx_preproc_warn_flag
6103 ac_cpp_err
=$ac_cpp_err$ac_cxx_werror_flag
6110 if test -z "$ac_cpp_err"; then
6113 echo "$as_me: failed program was:" >&5
6114 sed 's/^/| /' conftest.
$ac_ext >&5
6116 # Broken: fails on valid input.
6119 rm -f conftest.err conftest.
$ac_ext
6121 # OK, works on sane cases. Now check whether non-existent headers
6122 # can be detected and how.
6123 cat >conftest.
$ac_ext <<_ACEOF
6126 cat confdefs.h
>>conftest.
$ac_ext
6127 cat >>conftest.
$ac_ext <<_ACEOF
6128 /* end confdefs.h. */
6129 #include <ac_nonexistent.h>
6131 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
6132 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
6134 grep -v '^ *+' conftest.er1
>conftest.err
6136 cat conftest.err
>&5
6137 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6138 (exit $ac_status); } >/dev
/null
; then
6139 if test -s conftest.err
; then
6140 ac_cpp_err
=$ac_cxx_preproc_warn_flag
6141 ac_cpp_err
=$ac_cpp_err$ac_cxx_werror_flag
6148 if test -z "$ac_cpp_err"; then
6149 # Broken: success on invalid input.
6152 echo "$as_me: failed program was:" >&5
6153 sed 's/^/| /' conftest.
$ac_ext >&5
6155 # Passes both tests.
6159 rm -f conftest.err conftest.
$ac_ext
6162 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
6163 rm -f conftest.err conftest.
$ac_ext
6164 if $ac_preproc_ok; then
6167 { { echo "$as_me:$LINENO: error: C++ preprocessor \"$CXXCPP\" fails sanity check
6168 See \`config.log' for more details." >&5
6169 echo "$as_me: error: C++ preprocessor \"$CXXCPP\" fails sanity check
6170 See \`config.log' for more details." >&2;}
6171 { (exit 1); exit 1; }; }
6175 ac_cpp
='$CPP $CPPFLAGS'
6176 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6177 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6178 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
6182 LIBTOOL_DEPS
=$LIBTOOL_DEPS" $ac_aux_dir/ltcf-cxx.sh"
6184 lt_save_CFLAGS
="$CFLAGS"
6185 AR
="$AR" LTCC
="$CC" CC
="$CXX" CXX
="$CXX" CFLAGS
="$CXXFLAGS" CPPFLAGS
="$CPPFLAGS" \
6186 MAGIC_CMD
="$MAGIC_CMD" LD
="$LD" LDFLAGS
="$LDFLAGS" LIBS
="$LIBS" \
6187 LN_S
="$LN_S" NM
="$NM" RANLIB
="$RANLIB" STRIP
="$STRIP" \
6188 AS
="$AS" DLLTOOL
="$DLLTOOL" OBJDUMP
="$OBJDUMP" \
6189 objext
="$OBJEXT" exeext
="$EXEEXT" reload_flag
="$reload_flag" \
6190 deplibs_check_method
="$deplibs_check_method" \
6191 file_magic_cmd
="$file_magic_cmd" \
6192 ${CONFIG_SHELL-/bin/sh} $ac_aux_dir/ltconfig
-o libtool
$libtool_flags \
6193 --build="$build" --add-tag=CXX
$ac_aux_dir/ltcf-cxx.sh
$host \
6194 ||
{ { echo "$as_me:$LINENO: error: libtool tag configuration failed" >&5
6195 echo "$as_me: error: libtool tag configuration failed" >&2;}
6196 { (exit 1); exit 1; }; }
6198 CFLAGS
="$lt_save_CFLAGS"
6200 # Redirect the config.log output again, so that the ltconfig log is not
6201 # clobbered by the next message.
6202 exec 5>>.
/config.log
6210 ac_cpp
='$CPP $CPPFLAGS'
6211 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6212 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6213 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
6214 if test -n "$ac_tool_prefix"; then
6215 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
6216 set dummy
${ac_tool_prefix}gcc
; ac_word
=$2
6217 echo "$as_me:$LINENO: checking for $ac_word" >&5
6218 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
6219 if test "${ac_cv_prog_CC+set}" = set; then
6220 echo $ECHO_N "(cached) $ECHO_C" >&6
6222 if test -n "$CC"; then
6223 ac_cv_prog_CC
="$CC" # Let the user override the test.
6225 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6229 test -z "$as_dir" && as_dir
=.
6230 for ac_exec_ext
in '' $ac_executable_extensions; do
6231 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6232 ac_cv_prog_CC
="${ac_tool_prefix}gcc"
6233 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6242 if test -n "$CC"; then
6243 echo "$as_me:$LINENO: result: $CC" >&5
6244 echo "${ECHO_T}$CC" >&6
6246 echo "$as_me:$LINENO: result: no" >&5
6247 echo "${ECHO_T}no" >&6
6251 if test -z "$ac_cv_prog_CC"; then
6253 # Extract the first word of "gcc", so it can be a program name with args.
6254 set dummy gcc
; ac_word
=$2
6255 echo "$as_me:$LINENO: checking for $ac_word" >&5
6256 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
6257 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
6258 echo $ECHO_N "(cached) $ECHO_C" >&6
6260 if test -n "$ac_ct_CC"; then
6261 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
6263 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6267 test -z "$as_dir" && as_dir
=.
6268 for ac_exec_ext
in '' $ac_executable_extensions; do
6269 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6270 ac_cv_prog_ac_ct_CC
="gcc"
6271 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6279 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
6280 if test -n "$ac_ct_CC"; then
6281 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
6282 echo "${ECHO_T}$ac_ct_CC" >&6
6284 echo "$as_me:$LINENO: result: no" >&5
6285 echo "${ECHO_T}no" >&6
6293 if test -z "$CC"; then
6294 if test -n "$ac_tool_prefix"; then
6295 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
6296 set dummy
${ac_tool_prefix}cc
; ac_word
=$2
6297 echo "$as_me:$LINENO: checking for $ac_word" >&5
6298 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
6299 if test "${ac_cv_prog_CC+set}" = set; then
6300 echo $ECHO_N "(cached) $ECHO_C" >&6
6302 if test -n "$CC"; then
6303 ac_cv_prog_CC
="$CC" # Let the user override the test.
6305 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6309 test -z "$as_dir" && as_dir
=.
6310 for ac_exec_ext
in '' $ac_executable_extensions; do
6311 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6312 ac_cv_prog_CC
="${ac_tool_prefix}cc"
6313 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6322 if test -n "$CC"; then
6323 echo "$as_me:$LINENO: result: $CC" >&5
6324 echo "${ECHO_T}$CC" >&6
6326 echo "$as_me:$LINENO: result: no" >&5
6327 echo "${ECHO_T}no" >&6
6331 if test -z "$ac_cv_prog_CC"; then
6333 # Extract the first word of "cc", so it can be a program name with args.
6334 set dummy cc
; ac_word
=$2
6335 echo "$as_me:$LINENO: checking for $ac_word" >&5
6336 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
6337 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
6338 echo $ECHO_N "(cached) $ECHO_C" >&6
6340 if test -n "$ac_ct_CC"; then
6341 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
6343 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6347 test -z "$as_dir" && as_dir
=.
6348 for ac_exec_ext
in '' $ac_executable_extensions; do
6349 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6350 ac_cv_prog_ac_ct_CC
="cc"
6351 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6359 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
6360 if test -n "$ac_ct_CC"; then
6361 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
6362 echo "${ECHO_T}$ac_ct_CC" >&6
6364 echo "$as_me:$LINENO: result: no" >&5
6365 echo "${ECHO_T}no" >&6
6374 if test -z "$CC"; then
6375 # Extract the first word of "cc", so it can be a program name with args.
6376 set dummy cc
; ac_word
=$2
6377 echo "$as_me:$LINENO: checking for $ac_word" >&5
6378 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
6379 if test "${ac_cv_prog_CC+set}" = set; then
6380 echo $ECHO_N "(cached) $ECHO_C" >&6
6382 if test -n "$CC"; then
6383 ac_cv_prog_CC
="$CC" # Let the user override the test.
6386 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6390 test -z "$as_dir" && as_dir
=.
6391 for ac_exec_ext
in '' $ac_executable_extensions; do
6392 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6393 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
6394 ac_prog_rejected
=yes
6398 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6404 if test $ac_prog_rejected = yes; then
6405 # We found a bogon in the path, so make sure we never use it.
6406 set dummy
$ac_cv_prog_CC
6408 if test $# != 0; then
6409 # We chose a different compiler from the bogus one.
6410 # However, it has the same basename, so the bogon will be chosen
6411 # first if we set CC to just the basename; use the full file name.
6413 ac_cv_prog_CC
="$as_dir/$ac_word${1+' '}$@"
6419 if test -n "$CC"; then
6420 echo "$as_me:$LINENO: result: $CC" >&5
6421 echo "${ECHO_T}$CC" >&6
6423 echo "$as_me:$LINENO: result: no" >&5
6424 echo "${ECHO_T}no" >&6
6428 if test -z "$CC"; then
6429 if test -n "$ac_tool_prefix"; then
6432 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
6433 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
6434 echo "$as_me:$LINENO: checking for $ac_word" >&5
6435 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
6436 if test "${ac_cv_prog_CC+set}" = set; then
6437 echo $ECHO_N "(cached) $ECHO_C" >&6
6439 if test -n "$CC"; then
6440 ac_cv_prog_CC
="$CC" # Let the user override the test.
6442 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6446 test -z "$as_dir" && as_dir
=.
6447 for ac_exec_ext
in '' $ac_executable_extensions; do
6448 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6449 ac_cv_prog_CC
="$ac_tool_prefix$ac_prog"
6450 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6459 if test -n "$CC"; then
6460 echo "$as_me:$LINENO: result: $CC" >&5
6461 echo "${ECHO_T}$CC" >&6
6463 echo "$as_me:$LINENO: result: no" >&5
6464 echo "${ECHO_T}no" >&6
6467 test -n "$CC" && break
6470 if test -z "$CC"; then
6474 # Extract the first word of "$ac_prog", so it can be a program name with args.
6475 set dummy
$ac_prog; ac_word
=$2
6476 echo "$as_me:$LINENO: checking for $ac_word" >&5
6477 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
6478 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
6479 echo $ECHO_N "(cached) $ECHO_C" >&6
6481 if test -n "$ac_ct_CC"; then
6482 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
6484 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6488 test -z "$as_dir" && as_dir
=.
6489 for ac_exec_ext
in '' $ac_executable_extensions; do
6490 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6491 ac_cv_prog_ac_ct_CC
="$ac_prog"
6492 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6500 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
6501 if test -n "$ac_ct_CC"; then
6502 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
6503 echo "${ECHO_T}$ac_ct_CC" >&6
6505 echo "$as_me:$LINENO: result: no" >&5
6506 echo "${ECHO_T}no" >&6
6509 test -n "$ac_ct_CC" && break
6518 test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
6519 See \`config.log' for more details." >&5
6520 echo "$as_me: error: no acceptable C compiler found in \$PATH
6521 See \`config.log' for more details." >&2;}
6522 { (exit 1); exit 1; }; }
6524 # Provide some information about the compiler.
6525 echo "$as_me:$LINENO:" \
6526 "checking for C compiler version" >&5
6527 ac_compiler
=`set X $ac_compile; echo $2`
6528 { (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5
6529 (eval $ac_compiler --version </dev
/null
>&5) 2>&5
6531 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6532 (exit $ac_status); }
6533 { (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5
6534 (eval $ac_compiler -v </dev
/null
>&5) 2>&5
6536 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6537 (exit $ac_status); }
6538 { (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5
6539 (eval $ac_compiler -V </dev
/null
>&5) 2>&5
6541 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6542 (exit $ac_status); }
6544 echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
6545 echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6
6546 if test "${ac_cv_c_compiler_gnu+set}" = set; then
6547 echo $ECHO_N "(cached) $ECHO_C" >&6
6549 cat >conftest.
$ac_ext <<_ACEOF
6552 cat confdefs.h
>>conftest.
$ac_ext
6553 cat >>conftest.
$ac_ext <<_ACEOF
6554 /* end confdefs.h. */
6567 rm -f conftest.
$ac_objext
6568 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6569 (eval $ac_compile) 2>conftest.er1
6571 grep -v '^ *+' conftest.er1
>conftest.err
6573 cat conftest.err
>&5
6574 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6575 (exit $ac_status); } &&
6576 { ac_try
='test -z "$ac_c_werror_flag"
6577 || test ! -s conftest.err'
6578 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6581 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6582 (exit $ac_status); }; } &&
6583 { ac_try
='test -s conftest.$ac_objext'
6584 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6587 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6588 (exit $ac_status); }; }; then
6591 echo "$as_me: failed program was:" >&5
6592 sed 's/^/| /' conftest.
$ac_ext >&5
6596 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
6597 ac_cv_c_compiler_gnu
=$ac_compiler_gnu
6600 echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
6601 echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6
6602 GCC
=`test $ac_compiler_gnu = yes && echo yes`
6603 ac_test_CFLAGS
=${CFLAGS+set}
6604 ac_save_CFLAGS
=$CFLAGS
6606 echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
6607 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6
6608 if test "${ac_cv_prog_cc_g+set}" = set; then
6609 echo $ECHO_N "(cached) $ECHO_C" >&6
6611 cat >conftest.
$ac_ext <<_ACEOF
6614 cat confdefs.h
>>conftest.
$ac_ext
6615 cat >>conftest.
$ac_ext <<_ACEOF
6616 /* end confdefs.h. */
6626 rm -f conftest.
$ac_objext
6627 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6628 (eval $ac_compile) 2>conftest.er1
6630 grep -v '^ *+' conftest.er1
>conftest.err
6632 cat conftest.err
>&5
6633 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6634 (exit $ac_status); } &&
6635 { ac_try
='test -z "$ac_c_werror_flag"
6636 || test ! -s conftest.err'
6637 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6640 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6641 (exit $ac_status); }; } &&
6642 { ac_try
='test -s conftest.$ac_objext'
6643 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6646 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6647 (exit $ac_status); }; }; then
6650 echo "$as_me: failed program was:" >&5
6651 sed 's/^/| /' conftest.
$ac_ext >&5
6655 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
6657 echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
6658 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6
6659 if test "$ac_test_CFLAGS" = set; then
6660 CFLAGS
=$ac_save_CFLAGS
6661 elif test $ac_cv_prog_cc_g = yes; then
6662 if test "$GCC" = yes; then
6668 if test "$GCC" = yes; then
6674 echo "$as_me:$LINENO: checking for $CC option to accept ANSI C" >&5
6675 echo $ECHO_N "checking for $CC option to accept ANSI C... $ECHO_C" >&6
6676 if test "${ac_cv_prog_cc_stdc+set}" = set; then
6677 echo $ECHO_N "(cached) $ECHO_C" >&6
6679 ac_cv_prog_cc_stdc
=no
6681 cat >conftest.
$ac_ext <<_ACEOF
6684 cat confdefs.h
>>conftest.
$ac_ext
6685 cat >>conftest.
$ac_ext <<_ACEOF
6686 /* end confdefs.h. */
6689 #include <sys/types.h>
6690 #include <sys/stat.h>
6691 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
6692 struct buf { int x; };
6693 FILE * (*rcsopen) (struct buf *, struct stat *, int);
6694 static char *e (p, i)
6700 static char *f (char * (*g) (char **, int), char **p, ...)
6705 s = g (p, va_arg (v,int));
6710 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
6711 function prototypes and stuff, but not '\xHH' hex character constants.
6712 These don't provoke an error unfortunately, instead are silently treated
6713 as 'x'. The following induces an error, until -std1 is added to get
6714 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
6715 array size at least. It's necessary to write '\x00'==0 to get something
6716 that's true only with -std1. */
6717 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
6719 int test (int i, double x);
6720 struct s1 {int (*f) (int a);};
6721 struct s2 {int (*f) (double a);};
6722 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
6728 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
6733 # Don't try gcc -ansi; that turns off useful extensions and
6734 # breaks some systems' header files.
6735 # AIX -qlanglvl=ansi
6736 # Ultrix and OSF/1 -std1
6737 # HP-UX 10.20 and later -Ae
6738 # HP-UX older versions -Aa -D_HPUX_SOURCE
6739 # SVR4 -Xc -D__EXTENSIONS__
6740 for ac_arg
in "" -qlanglvl=ansi
-std1 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
6742 CC
="$ac_save_CC $ac_arg"
6743 rm -f conftest.
$ac_objext
6744 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6745 (eval $ac_compile) 2>conftest.er1
6747 grep -v '^ *+' conftest.er1
>conftest.err
6749 cat conftest.err
>&5
6750 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6751 (exit $ac_status); } &&
6752 { ac_try
='test -z "$ac_c_werror_flag"
6753 || test ! -s conftest.err'
6754 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6757 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6758 (exit $ac_status); }; } &&
6759 { ac_try
='test -s conftest.$ac_objext'
6760 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6763 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6764 (exit $ac_status); }; }; then
6765 ac_cv_prog_cc_stdc
=$ac_arg
6768 echo "$as_me: failed program was:" >&5
6769 sed 's/^/| /' conftest.
$ac_ext >&5
6772 rm -f conftest.err conftest.
$ac_objext
6774 rm -f conftest.
$ac_ext conftest.
$ac_objext
6779 case "x$ac_cv_prog_cc_stdc" in
6781 echo "$as_me:$LINENO: result: none needed" >&5
6782 echo "${ECHO_T}none needed" >&6 ;;
6784 echo "$as_me:$LINENO: result: $ac_cv_prog_cc_stdc" >&5
6785 echo "${ECHO_T}$ac_cv_prog_cc_stdc" >&6
6786 CC
="$CC $ac_cv_prog_cc_stdc" ;;
6789 # Some people use a C++ compiler to compile C. Since we use `exit',
6790 # in C++ we need to declare it. In case someone uses the same compiler
6791 # for both compiling C and C++ we need to have the C++ compiler decide
6792 # the declaration of exit, since it's the most demanding environment.
6793 cat >conftest.
$ac_ext <<_ACEOF
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 for ac_declaration
in \
6822 'extern "C" void std::exit (int) throw (); using std::exit;' \
6823 'extern "C" void std::exit (int); using std::exit;' \
6824 'extern "C" void exit (int) throw ();' \
6825 'extern "C" void exit (int);' \
6828 cat >conftest.
$ac_ext <<_ACEOF
6831 cat confdefs.h
>>conftest.
$ac_ext
6832 cat >>conftest.
$ac_ext <<_ACEOF
6833 /* end confdefs.h. */
6844 rm -f conftest.
$ac_objext
6845 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6846 (eval $ac_compile) 2>conftest.er1
6848 grep -v '^ *+' conftest.er1
>conftest.err
6850 cat conftest.err
>&5
6851 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6852 (exit $ac_status); } &&
6853 { ac_try
='test -z "$ac_c_werror_flag"
6854 || test ! -s conftest.err'
6855 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6858 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6859 (exit $ac_status); }; } &&
6860 { ac_try
='test -s conftest.$ac_objext'
6861 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6864 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6865 (exit $ac_status); }; }; then
6868 echo "$as_me: failed program was:" >&5
6869 sed 's/^/| /' conftest.
$ac_ext >&5
6873 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
6874 cat >conftest.
$ac_ext <<_ACEOF
6877 cat confdefs.h
>>conftest.
$ac_ext
6878 cat >>conftest.
$ac_ext <<_ACEOF
6879 /* end confdefs.h. */
6889 rm -f conftest.
$ac_objext
6890 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6891 (eval $ac_compile) 2>conftest.er1
6893 grep -v '^ *+' conftest.er1
>conftest.err
6895 cat conftest.err
>&5
6896 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6897 (exit $ac_status); } &&
6898 { ac_try
='test -z "$ac_c_werror_flag"
6899 || test ! -s conftest.err'
6900 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6903 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6904 (exit $ac_status); }; } &&
6905 { ac_try
='test -s conftest.$ac_objext'
6906 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6909 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6910 (exit $ac_status); }; }; then
6913 echo "$as_me: failed program was:" >&5
6914 sed 's/^/| /' conftest.
$ac_ext >&5
6917 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
6920 if test -n "$ac_declaration"; then
6921 echo '#ifdef __cplusplus' >>confdefs.h
6922 echo $ac_declaration >>confdefs.h
6923 echo '#endif' >>confdefs.h
6927 echo "$as_me: failed program was:" >&5
6928 sed 's/^/| /' conftest.
$ac_ext >&5
6931 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
6933 ac_cpp
='$CPP $CPPFLAGS'
6934 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6935 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6936 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
6938 depcc
="$CC" am_compiler_list
=
6940 echo "$as_me:$LINENO: checking dependency style of $depcc" >&5
6941 echo $ECHO_N "checking dependency style of $depcc... $ECHO_C" >&6
6942 if test "${am_cv_CC_dependencies_compiler_type+set}" = set; then
6943 echo $ECHO_N "(cached) $ECHO_C" >&6
6945 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
6946 # We make a subdir and do the tests there. Otherwise we can end up
6947 # making bogus files that we don't know about and never remove. For
6948 # instance it was reported that on HP-UX the gcc test will end up
6949 # making a dummy file named `D' -- because `-MD' means `put the output
6952 # Copy depcomp to subdir because otherwise we won't find it if we're
6953 # using a relative directory.
6954 cp "$am_depcomp" conftest.dir
6956 # We will build objects and dependencies in a subdirectory because
6957 # it helps to detect inapplicable dependency modes. For instance
6958 # both Tru64's cc and ICC support -MD to output dependencies as a
6959 # side effect of compilation, but ICC will put the dependencies in
6960 # the current directory while Tru64 will put them in the object
6964 am_cv_CC_dependencies_compiler_type
=none
6965 if test "$am_compiler_list" = ""; then
6966 am_compiler_list
=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
6968 for depmode
in $am_compiler_list; do
6969 # Setup a source with many dependencies, because some compilers
6970 # like to wrap large dependency lists on column 80 (with \), and
6971 # we should not choose a depcomp mode which is confused by this.
6973 # We need to recreate these files for each test, as the compiler may
6974 # overwrite some of them when testing with obscure command lines.
6975 # This happens at least with the AIX C compiler.
6977 for i
in 1 2 3 4 5 6; do
6978 echo '#include "conftst'$i'.h"' >> sub
/conftest.c
6979 # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
6980 # Solaris 8's {/usr,}/bin/sh.
6981 touch sub
/conftst
$i.h
6983 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
6987 # after this tag, mechanisms are not by side-effect, so they'll
6988 # only be used when explicitly requested
6989 if test "x$enable_dependency_tracking" = xyes
; then
6997 # We check with `-c' and `-o' for the sake of the "dashmstdout"
6998 # mode. It turns out that the SunPro C++ compiler does not properly
6999 # handle `-M -o', and we need to detect this.
7000 if depmode
=$depmode \
7001 source=sub
/conftest.c object
=sub
/conftest.
${OBJEXT-o} \
7002 depfile
=sub
/conftest.Po tmpdepfile
=sub
/conftest.TPo \
7003 $SHELL .
/depcomp
$depcc -c -o sub
/conftest.
${OBJEXT-o} sub
/conftest.c \
7004 >/dev
/null
2>conftest.err
&&
7005 grep sub
/conftst6.h sub
/conftest.Po
> /dev
/null
2>&1 &&
7006 grep sub
/conftest.
${OBJEXT-o} sub
/conftest.Po
> /dev
/null
2>&1 &&
7007 ${MAKE-make} -s -f confmf
> /dev
/null
2>&1; then
7008 # icc doesn't choke on unknown options, it will just issue warnings
7009 # or remarks (even with -Werror). So we grep stderr for any message
7010 # that says an option was ignored or not supported.
7011 # When given -MP, icc 7.0 and 7.1 complain thusly:
7012 # icc: Command line warning: ignoring option '-M'; no argument required
7013 # The diagnosis changed in icc 8.0:
7014 # icc: Command line remark: option '-MP' not supported
7015 if (grep 'ignoring option' conftest.err ||
7016 grep 'not supported' conftest.err
) >/dev
/null
2>&1; then :; else
7017 am_cv_CC_dependencies_compiler_type
=$depmode
7026 am_cv_CC_dependencies_compiler_type
=none
7030 echo "$as_me:$LINENO: result: $am_cv_CC_dependencies_compiler_type" >&5
7031 echo "${ECHO_T}$am_cv_CC_dependencies_compiler_type" >&6
7032 CCDEPMODE
=depmode
=$am_cv_CC_dependencies_compiler_type
7037 test "x$enable_dependency_tracking" != xno \
7038 && test "$am_cv_CC_dependencies_compiler_type" = gcc3
; then
7040 am__fastdepCC_FALSE
='#'
7042 am__fastdepCC_TRUE
='#'
7043 am__fastdepCC_FALSE
=
7048 ac_cpp
='$CPP $CPPFLAGS'
7049 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7050 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7051 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
7052 echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5
7053 echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6
7054 # On Suns, sometimes $CPP names a directory.
7055 if test -n "$CPP" && test -d "$CPP"; then
7058 if test -z "$CPP"; then
7059 if test "${ac_cv_prog_CPP+set}" = set; then
7060 echo $ECHO_N "(cached) $ECHO_C" >&6
7062 # Double quotes because CPP needs to be expanded
7063 for CPP
in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
7066 for ac_c_preproc_warn_flag
in '' yes
7068 # Use a header file that comes with gcc, so configuring glibc
7069 # with a fresh cross-compiler works.
7070 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
7071 # <limits.h> exists even on freestanding compilers.
7072 # On the NeXT, cc -E runs the code through the compiler's parser,
7073 # not just through cpp. "Syntax error" is here to catch this case.
7074 cat >conftest.
$ac_ext <<_ACEOF
7077 cat confdefs.h
>>conftest.
$ac_ext
7078 cat >>conftest.
$ac_ext <<_ACEOF
7079 /* end confdefs.h. */
7081 # include <limits.h>
7083 # include <assert.h>
7087 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
7088 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
7090 grep -v '^ *+' conftest.er1
>conftest.err
7092 cat conftest.err
>&5
7093 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7094 (exit $ac_status); } >/dev
/null
; then
7095 if test -s conftest.err
; then
7096 ac_cpp_err
=$ac_c_preproc_warn_flag
7097 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
7104 if test -z "$ac_cpp_err"; then
7107 echo "$as_me: failed program was:" >&5
7108 sed 's/^/| /' conftest.
$ac_ext >&5
7110 # Broken: fails on valid input.
7113 rm -f conftest.err conftest.
$ac_ext
7115 # OK, works on sane cases. Now check whether non-existent headers
7116 # can be detected and how.
7117 cat >conftest.
$ac_ext <<_ACEOF
7120 cat confdefs.h
>>conftest.
$ac_ext
7121 cat >>conftest.
$ac_ext <<_ACEOF
7122 /* end confdefs.h. */
7123 #include <ac_nonexistent.h>
7125 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
7126 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
7128 grep -v '^ *+' conftest.er1
>conftest.err
7130 cat conftest.err
>&5
7131 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7132 (exit $ac_status); } >/dev
/null
; then
7133 if test -s conftest.err
; then
7134 ac_cpp_err
=$ac_c_preproc_warn_flag
7135 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
7142 if test -z "$ac_cpp_err"; then
7143 # Broken: success on invalid input.
7146 echo "$as_me: failed program was:" >&5
7147 sed 's/^/| /' conftest.
$ac_ext >&5
7149 # Passes both tests.
7153 rm -f conftest.err conftest.
$ac_ext
7156 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
7157 rm -f conftest.err conftest.
$ac_ext
7158 if $ac_preproc_ok; then
7170 echo "$as_me:$LINENO: result: $CPP" >&5
7171 echo "${ECHO_T}$CPP" >&6
7173 for ac_c_preproc_warn_flag
in '' yes
7175 # Use a header file that comes with gcc, so configuring glibc
7176 # with a fresh cross-compiler works.
7177 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
7178 # <limits.h> exists even on freestanding compilers.
7179 # On the NeXT, cc -E runs the code through the compiler's parser,
7180 # not just through cpp. "Syntax error" is here to catch this case.
7181 cat >conftest.
$ac_ext <<_ACEOF
7184 cat confdefs.h
>>conftest.
$ac_ext
7185 cat >>conftest.
$ac_ext <<_ACEOF
7186 /* end confdefs.h. */
7188 # include <limits.h>
7190 # include <assert.h>
7194 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
7195 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
7197 grep -v '^ *+' conftest.er1
>conftest.err
7199 cat conftest.err
>&5
7200 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7201 (exit $ac_status); } >/dev
/null
; then
7202 if test -s conftest.err
; then
7203 ac_cpp_err
=$ac_c_preproc_warn_flag
7204 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
7211 if test -z "$ac_cpp_err"; then
7214 echo "$as_me: failed program was:" >&5
7215 sed 's/^/| /' conftest.
$ac_ext >&5
7217 # Broken: fails on valid input.
7220 rm -f conftest.err conftest.
$ac_ext
7222 # OK, works on sane cases. Now check whether non-existent headers
7223 # can be detected and how.
7224 cat >conftest.
$ac_ext <<_ACEOF
7227 cat confdefs.h
>>conftest.
$ac_ext
7228 cat >>conftest.
$ac_ext <<_ACEOF
7229 /* end confdefs.h. */
7230 #include <ac_nonexistent.h>
7232 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
7233 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
7235 grep -v '^ *+' conftest.er1
>conftest.err
7237 cat conftest.err
>&5
7238 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7239 (exit $ac_status); } >/dev
/null
; then
7240 if test -s conftest.err
; then
7241 ac_cpp_err
=$ac_c_preproc_warn_flag
7242 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
7249 if test -z "$ac_cpp_err"; then
7250 # Broken: success on invalid input.
7253 echo "$as_me: failed program was:" >&5
7254 sed 's/^/| /' conftest.
$ac_ext >&5
7256 # Passes both tests.
7260 rm -f conftest.err conftest.
$ac_ext
7263 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
7264 rm -f conftest.err conftest.
$ac_ext
7265 if $ac_preproc_ok; then
7268 { { echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check
7269 See \`config.log' for more details." >&5
7270 echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check
7271 See \`config.log' for more details." >&2;}
7272 { (exit 1); exit 1; }; }
7276 ac_cpp
='$CPP $CPPFLAGS'
7277 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7278 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7279 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
7282 if test "x${COMPILE_COLLECTIONS}" = xyes
; then
7283 # Extract the first word of "perl", so it can be a program name with args.
7284 set dummy perl
; ac_word
=$2
7285 echo "$as_me:$LINENO: checking for $ac_word" >&5
7286 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
7287 if test "${ac_cv_path_PERL+set}" = set; then
7288 echo $ECHO_N "(cached) $ECHO_C" >&6
7292 ac_cv_path_PERL
="$PERL" # Let the user override the test with a path.
7295 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7299 test -z "$as_dir" && as_dir
=.
7300 for ac_exec_ext
in '' $ac_executable_extensions; do
7301 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7302 ac_cv_path_PERL
="$as_dir/$ac_word$ac_exec_ext"
7303 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
7312 PERL
=$ac_cv_path_PERL
7314 if test -n "$PERL"; then
7315 echo "$as_me:$LINENO: result: $PERL" >&5
7316 echo "${ECHO_T}$PERL" >&6
7318 echo "$as_me:$LINENO: result: no" >&5
7319 echo "${ECHO_T}no" >&6
7324 ac_config_files
="$ac_config_files lib/mkcollections.pl"
7326 ac_config_commands
="$ac_config_commands mkcollections.pl"
7330 if test "x${COMPILE_JNI}" = xyes
; then
7331 echo "$as_me:$LINENO: checking for ANSI C header files" >&5
7332 echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6
7333 if test "${ac_cv_header_stdc+set}" = set; then
7334 echo $ECHO_N "(cached) $ECHO_C" >&6
7336 cat >conftest.
$ac_ext <<_ACEOF
7339 cat confdefs.h
>>conftest.
$ac_ext
7340 cat >>conftest.
$ac_ext <<_ACEOF
7341 /* end confdefs.h. */
7355 rm -f conftest.
$ac_objext
7356 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7357 (eval $ac_compile) 2>conftest.er1
7359 grep -v '^ *+' conftest.er1
>conftest.err
7361 cat conftest.err
>&5
7362 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7363 (exit $ac_status); } &&
7364 { ac_try
='test -z "$ac_c_werror_flag"
7365 || test ! -s conftest.err'
7366 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7369 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7370 (exit $ac_status); }; } &&
7371 { ac_try
='test -s conftest.$ac_objext'
7372 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7375 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7376 (exit $ac_status); }; }; then
7377 ac_cv_header_stdc
=yes
7379 echo "$as_me: failed program was:" >&5
7380 sed 's/^/| /' conftest.
$ac_ext >&5
7382 ac_cv_header_stdc
=no
7384 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
7386 if test $ac_cv_header_stdc = yes; then
7387 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
7388 cat >conftest.
$ac_ext <<_ACEOF
7391 cat confdefs.h
>>conftest.
$ac_ext
7392 cat >>conftest.
$ac_ext <<_ACEOF
7393 /* end confdefs.h. */
7397 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
7398 $EGREP "memchr" >/dev
/null
2>&1; then
7401 ac_cv_header_stdc
=no
7407 if test $ac_cv_header_stdc = yes; then
7408 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
7409 cat >conftest.
$ac_ext <<_ACEOF
7412 cat confdefs.h
>>conftest.
$ac_ext
7413 cat >>conftest.
$ac_ext <<_ACEOF
7414 /* end confdefs.h. */
7418 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
7419 $EGREP "free" >/dev
/null
2>&1; then
7422 ac_cv_header_stdc
=no
7428 if test $ac_cv_header_stdc = yes; then
7429 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
7430 if test "$cross_compiling" = yes; then
7433 cat >conftest.
$ac_ext <<_ACEOF
7436 cat confdefs.h
>>conftest.
$ac_ext
7437 cat >>conftest.
$ac_ext <<_ACEOF
7438 /* end confdefs.h. */
7440 #if ((' ' & 0x0FF) == 0x020)
7441 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
7442 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
7444 # define ISLOWER(c) \
7445 (('a' <= (c) && (c) <= 'i') \
7446 || ('j' <= (c) && (c) <= 'r') \
7447 || ('s' <= (c) && (c) <= 'z'))
7448 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
7451 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
7456 for (i = 0; i < 256; i++)
7457 if (XOR (islower (i), ISLOWER (i))
7458 || toupper (i) != TOUPPER (i))
7463 rm -f conftest
$ac_exeext
7464 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
7465 (eval $ac_link) 2>&5
7467 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7468 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
7469 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7472 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7473 (exit $ac_status); }; }; then
7476 echo "$as_me: program exited with status $ac_status" >&5
7477 echo "$as_me: failed program was:" >&5
7478 sed 's/^/| /' conftest.
$ac_ext >&5
7481 ac_cv_header_stdc
=no
7483 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
7487 echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
7488 echo "${ECHO_T}$ac_cv_header_stdc" >&6
7489 if test $ac_cv_header_stdc = yes; then
7491 cat >>confdefs.h
<<\_ACEOF
7492 #define STDC_HEADERS 1
7498 echo "$as_me:$LINENO: checking size of void *" >&5
7499 echo $ECHO_N "checking size of void *... $ECHO_C" >&6
7500 if test "${ac_cv_sizeof_void_p+set}" = set; then
7501 echo $ECHO_N "(cached) $ECHO_C" >&6
7503 for ac_size
in 4 8 1 2 16 12 ; do # List sizes in rough order of prevalence.
7504 cat >conftest.
$ac_ext <<_ACEOF
7507 cat confdefs.h
>>conftest.
$ac_ext
7508 cat >>conftest.
$ac_ext <<_ACEOF
7509 /* end confdefs.h. */
7510 #include "confdefs.h"
7511 #include <sys/types.h>
7517 switch (0) case 0: case (sizeof (void *) == $ac_size):;
7522 rm -f conftest.
$ac_objext
7523 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7524 (eval $ac_compile) 2>conftest.er1
7526 grep -v '^ *+' conftest.er1
>conftest.err
7528 cat conftest.err
>&5
7529 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7530 (exit $ac_status); } &&
7531 { ac_try
='test -z "$ac_c_werror_flag"
7532 || test ! -s conftest.err'
7533 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7536 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7537 (exit $ac_status); }; } &&
7538 { ac_try
='test -s conftest.$ac_objext'
7539 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7542 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7543 (exit $ac_status); }; }; then
7544 ac_cv_sizeof_void_p
=$ac_size
7546 echo "$as_me: failed program was:" >&5
7547 sed 's/^/| /' conftest.
$ac_ext >&5
7550 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
7551 if test x
$ac_cv_sizeof_void_p != x
; then break; fi
7556 if test x
$ac_cv_sizeof_void_p = x
; then
7557 { { echo "$as_me:$LINENO: error: cannot determine a size for void *" >&5
7558 echo "$as_me: error: cannot determine a size for void *" >&2;}
7559 { (exit 1); exit 1; }; }
7561 echo "$as_me:$LINENO: result: $ac_cv_sizeof_void_p" >&5
7562 echo "${ECHO_T}$ac_cv_sizeof_void_p" >&6
7564 cat >>confdefs.h
<<_ACEOF
7565 #define SIZEOF_VOID_P $ac_cv_sizeof_void_p
7570 echo "$as_me:$LINENO: checking whether byte ordering is bigendian" >&5
7571 echo $ECHO_N "checking whether byte ordering is bigendian... $ECHO_C" >&6
7572 if test "${ac_cv_c_bigendian+set}" = set; then
7573 echo $ECHO_N "(cached) $ECHO_C" >&6
7575 ac_cv_c_bigendian
=unknown
7576 # See if sys/param.h defines the BYTE_ORDER macro.
7577 cat >conftest.
$ac_ext <<_ACEOF
7580 cat confdefs.h
>>conftest.
$ac_ext
7581 cat >>conftest.
$ac_ext <<_ACEOF
7582 /* end confdefs.h. */
7583 #include <sys/types.h>
7584 #include <sys/param.h>
7589 #if !BYTE_ORDER || !BIG_ENDIAN || !LITTLE_ENDIAN
7596 rm -f conftest.
$ac_objext
7597 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7598 (eval $ac_compile) 2>conftest.er1
7600 grep -v '^ *+' conftest.er1
>conftest.err
7602 cat conftest.err
>&5
7603 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7604 (exit $ac_status); } &&
7605 { ac_try
='test -z "$ac_c_werror_flag"
7606 || test ! -s conftest.err'
7607 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7610 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7611 (exit $ac_status); }; } &&
7612 { ac_try
='test -s conftest.$ac_objext'
7613 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7616 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7617 (exit $ac_status); }; }; then
7618 # It does; now see whether it defined to BIG_ENDIAN or not.
7619 cat >conftest.
$ac_ext <<_ACEOF
7622 cat confdefs.h
>>conftest.
$ac_ext
7623 cat >>conftest.
$ac_ext <<_ACEOF
7624 /* end confdefs.h. */
7625 #include <sys/types.h>
7626 #include <sys/param.h>
7631 #if BYTE_ORDER != BIG_ENDIAN
7638 rm -f conftest.
$ac_objext
7639 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7640 (eval $ac_compile) 2>conftest.er1
7642 grep -v '^ *+' conftest.er1
>conftest.err
7644 cat conftest.err
>&5
7645 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7646 (exit $ac_status); } &&
7647 { ac_try
='test -z "$ac_c_werror_flag"
7648 || test ! -s conftest.err'
7649 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7652 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7653 (exit $ac_status); }; } &&
7654 { ac_try
='test -s conftest.$ac_objext'
7655 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7658 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7659 (exit $ac_status); }; }; then
7660 ac_cv_c_bigendian
=yes
7662 echo "$as_me: failed program was:" >&5
7663 sed 's/^/| /' conftest.
$ac_ext >&5
7665 ac_cv_c_bigendian
=no
7667 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
7669 echo "$as_me: failed program was:" >&5
7670 sed 's/^/| /' conftest.
$ac_ext >&5
7673 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
7674 if test $ac_cv_c_bigendian = unknown
; then
7675 if test "$cross_compiling" = yes; then
7676 echo $ac_n "cross-compiling... " 2>&6
7678 cat >conftest.
$ac_ext <<_ACEOF
7681 cat confdefs.h
>>conftest.
$ac_ext
7682 cat >>conftest.
$ac_ext <<_ACEOF
7683 /* end confdefs.h. */
7685 /* Are we little or big endian? From Harbison&Steele. */
7689 char c[sizeof (long)];
7692 exit (u.c[sizeof (long) - 1] == 1);
7695 rm -f conftest
$ac_exeext
7696 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
7697 (eval $ac_link) 2>&5
7699 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7700 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
7701 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7704 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7705 (exit $ac_status); }; }; then
7706 ac_cv_c_bigendian
=no
7708 echo "$as_me: program exited with status $ac_status" >&5
7709 echo "$as_me: failed program was:" >&5
7710 sed 's/^/| /' conftest.
$ac_ext >&5
7713 ac_cv_c_bigendian
=yes
7715 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
7719 echo "$as_me:$LINENO: result: $ac_cv_c_bigendian" >&5
7720 echo "${ECHO_T}$ac_cv_c_bigendian" >&6
7721 if test $ac_cv_c_bigendian = unknown
; then
7722 echo "$as_me:$LINENO: checking to probe for byte ordering" >&5
7723 echo $ECHO_N "checking to probe for byte ordering... $ECHO_C" >&6
7725 cat >conftest.c
<<EOF
7726 short ascii_mm[] = { 0x4249, 0x4765, 0x6E44, 0x6961, 0x6E53, 0x7953, 0 };
7727 short ascii_ii[] = { 0x694C, 0x5454, 0x656C, 0x6E45, 0x6944, 0x6E61, 0 };
7728 void _ascii() { char* s = (char*) ascii_mm; s = (char*) ascii_ii; }
7729 short ebcdic_ii[] = { 0x89D3, 0xE3E3, 0x8593, 0x95C5, 0x89C4, 0x9581, 0 };
7730 short ebcdic_mm[] = { 0xC2C9, 0xC785, 0x95C4, 0x8981, 0x95E2, 0xA8E2, 0 };
7731 void _ebcdic() { char* s = (char*) ebcdic_mm; s = (char*) ebcdic_ii; }
7732 int main() { _ascii (); _ebcdic (); return 0; }
7734 if test -f conftest.c
; then
7735 if ${CC-cc} ${CFLAGS} -c conftest.c
-o conftest.o
&& test -f conftest.o
; then
7736 if test `grep -l BIGenDianSyS conftest.o` ; then
7737 echo $ac_n ' big endian probe OK, ' 1>&6
7738 ac_cv_c_bigendian
=yes
7740 if test `grep -l LiTTleEnDian conftest.o` ; then
7741 echo $ac_n ' little endian probe OK, ' 1>&6
7742 if test $ac_cv_c_bigendian = yes ; then
7743 ac_cv_c_bigendian
=unknown
;
7745 ac_cv_c_bigendian
=no
7748 echo $ac_n 'guessing bigendian ... ' >&6
7751 echo "$as_me:$LINENO: result: $ac_cv_c_bigendian" >&5
7752 echo "${ECHO_T}$ac_cv_c_bigendian" >&6
7754 if test $ac_cv_c_bigendian = yes; then
7756 cat >>confdefs.h
<<\_ACEOF
7757 #define WORDS_BIGENDIAN 1
7761 cat >>confdefs.h
<<\_ACEOF
7762 #define HOST_WORDS_BIG_ENDIAN 1
7770 cat >>confdefs.h
<<_ACEOF
7771 #define BYTEORDER $BYTEORDER
7774 if test $ac_cv_c_bigendian = unknown
; then
7775 { { echo "$as_me:$LINENO: error: unknown endianess - sorry, please pre-set ac_cv_c_bigendian" >&5
7776 echo "$as_me: error: unknown endianess - sorry, please pre-set ac_cv_c_bigendian" >&2;}
7777 { (exit 1); exit 1; }; }
7797 for ac_header
in unistd.h sys
/types.h sys
/config.h sys
/ioctl.h \
7799 inttypes.h stdint.h utime.h sys
/utime.h sys
/filio.h \
7807 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
7808 if eval "test \"\${$as_ac_Header+set}\" = set"; then
7809 echo "$as_me:$LINENO: checking for $ac_header" >&5
7810 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
7811 if eval "test \"\${$as_ac_Header+set}\" = set"; then
7812 echo $ECHO_N "(cached) $ECHO_C" >&6
7814 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
7815 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
7817 # Is the header compilable?
7818 echo "$as_me:$LINENO: checking $ac_header usability" >&5
7819 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
7820 cat >conftest.
$ac_ext <<_ACEOF
7823 cat confdefs.h
>>conftest.
$ac_ext
7824 cat >>conftest.
$ac_ext <<_ACEOF
7825 /* end confdefs.h. */
7826 $ac_includes_default
7827 #include <$ac_header>
7829 rm -f conftest.
$ac_objext
7830 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7831 (eval $ac_compile) 2>conftest.er1
7833 grep -v '^ *+' conftest.er1
>conftest.err
7835 cat conftest.err
>&5
7836 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7837 (exit $ac_status); } &&
7838 { ac_try
='test -z "$ac_c_werror_flag"
7839 || test ! -s conftest.err'
7840 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7843 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7844 (exit $ac_status); }; } &&
7845 { ac_try
='test -s conftest.$ac_objext'
7846 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7849 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7850 (exit $ac_status); }; }; then
7851 ac_header_compiler
=yes
7853 echo "$as_me: failed program was:" >&5
7854 sed 's/^/| /' conftest.
$ac_ext >&5
7856 ac_header_compiler
=no
7858 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
7859 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
7860 echo "${ECHO_T}$ac_header_compiler" >&6
7862 # Is the header present?
7863 echo "$as_me:$LINENO: checking $ac_header presence" >&5
7864 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
7865 cat >conftest.
$ac_ext <<_ACEOF
7868 cat confdefs.h
>>conftest.
$ac_ext
7869 cat >>conftest.
$ac_ext <<_ACEOF
7870 /* end confdefs.h. */
7871 #include <$ac_header>
7873 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
7874 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
7876 grep -v '^ *+' conftest.er1
>conftest.err
7878 cat conftest.err
>&5
7879 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7880 (exit $ac_status); } >/dev
/null
; then
7881 if test -s conftest.err
; then
7882 ac_cpp_err
=$ac_c_preproc_warn_flag
7883 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
7890 if test -z "$ac_cpp_err"; then
7891 ac_header_preproc
=yes
7893 echo "$as_me: failed program was:" >&5
7894 sed 's/^/| /' conftest.
$ac_ext >&5
7896 ac_header_preproc
=no
7898 rm -f conftest.err conftest.
$ac_ext
7899 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
7900 echo "${ECHO_T}$ac_header_preproc" >&6
7902 # So? What about this header?
7903 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
7905 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
7906 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
7907 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
7908 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
7909 ac_header_preproc
=yes
7912 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
7913 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
7914 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
7915 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
7916 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
7917 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
7918 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
7919 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
7920 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
7921 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
7922 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
7923 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
7926 ## -------------------------------- ##
7927 ## Report this to classpath@gnu.org ##
7928 ## -------------------------------- ##
7931 sed "s/^/$as_me: WARNING: /" >&2
7934 echo "$as_me:$LINENO: checking for $ac_header" >&5
7935 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
7936 if eval "test \"\${$as_ac_Header+set}\" = set"; then
7937 echo $ECHO_N "(cached) $ECHO_C" >&6
7939 eval "$as_ac_Header=\$ac_header_preproc"
7941 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
7942 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
7945 if test `eval echo '${'$as_ac_Header'}'` = yes; then
7946 cat >>confdefs.h
<<_ACEOF
7947 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
7955 cat >conftest.
$ac_ext <<_ACEOF
7958 cat confdefs.h
>>conftest.
$ac_ext
7959 cat >>conftest.
$ac_ext <<_ACEOF
7960 /* end confdefs.h. */
7964 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
7965 $EGREP "uint32_t" >/dev
/null
2>&1; then
7967 cat >>confdefs.h
<<\_ACEOF
7968 #define HAVE_INT32_DEFINED 1
7974 cat >conftest.
$ac_ext <<_ACEOF
7977 cat confdefs.h
>>conftest.
$ac_ext
7978 cat >>conftest.
$ac_ext <<_ACEOF
7979 /* end confdefs.h. */
7980 #include <inttypes.h>
7983 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
7984 $EGREP "uint32_t" >/dev
/null
2>&1; then
7986 cat >>confdefs.h
<<\_ACEOF
7987 #define HAVE_INT32_DEFINED 1
7993 cat >conftest.
$ac_ext <<_ACEOF
7996 cat confdefs.h
>>conftest.
$ac_ext
7997 cat >>conftest.
$ac_ext <<_ACEOF
7998 /* end confdefs.h. */
7999 #include <sys/types.h>
8002 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
8003 $EGREP "u_int32_t" >/dev
/null
2>&1; then
8005 cat >>confdefs.h
<<\_ACEOF
8006 #define HAVE_BSD_INT32_DEFINED 1
8012 cat >conftest.
$ac_ext <<_ACEOF
8015 cat confdefs.h
>>conftest.
$ac_ext
8016 cat >>conftest.
$ac_ext <<_ACEOF
8017 /* end confdefs.h. */
8018 #include <sys/config.h>
8021 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
8022 $EGREP "u_int32_t" >/dev
/null
2>&1; then
8024 cat >>confdefs.h
<<\_ACEOF
8025 #define HAVE_BSD_INT32_DEFINED 1
8075 for ac_func
in ftruncate fsync
select \
8076 gethostname socket strerror fork pipe execve open close \
8077 lseek fstat
read write htonl memset htons connect \
8078 getsockname getpeername
bind listen accept \
8079 recvfrom send sendto setsockopt getsockopt
time mktime \
8083 mmap munmap mincore msync madvise getpagesize sysconf \
8087 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
8088 echo "$as_me:$LINENO: checking for $ac_func" >&5
8089 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
8090 if eval "test \"\${$as_ac_var+set}\" = set"; then
8091 echo $ECHO_N "(cached) $ECHO_C" >&6
8093 cat >conftest.
$ac_ext <<_ACEOF
8096 cat confdefs.h
>>conftest.
$ac_ext
8097 cat >>conftest.
$ac_ext <<_ACEOF
8098 /* end confdefs.h. */
8099 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
8100 For example, HP-UX 11i <limits.h> declares gettimeofday. */
8101 #define $ac_func innocuous_$ac_func
8103 /* System header to define __stub macros and hopefully few prototypes,
8104 which can conflict with char $ac_func (); below.
8105 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
8106 <limits.h> exists even on freestanding compilers. */
8109 # include <limits.h>
8111 # include <assert.h>
8116 /* Override any gcc2 internal prototype to avoid an error. */
8121 /* We use char because int might match the return type of a gcc2
8122 builtin and then its argument prototype would still apply. */
8124 /* The GNU C library defines this for functions which it implements
8125 to always fail with ENOSYS. Some functions are actually named
8126 something starting with __ and the normal name is an alias. */
8127 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
8130 char (*f) () = $ac_func;
8139 return f != $ac_func;
8144 rm -f conftest.
$ac_objext conftest
$ac_exeext
8145 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8146 (eval $ac_link) 2>conftest.er1
8148 grep -v '^ *+' conftest.er1
>conftest.err
8150 cat conftest.err
>&5
8151 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8152 (exit $ac_status); } &&
8153 { ac_try
='test -z "$ac_c_werror_flag"
8154 || test ! -s conftest.err'
8155 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8158 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8159 (exit $ac_status); }; } &&
8160 { ac_try
='test -s conftest$ac_exeext'
8161 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8164 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8165 (exit $ac_status); }; }; then
8166 eval "$as_ac_var=yes"
8168 echo "$as_me: failed program was:" >&5
8169 sed 's/^/| /' conftest.
$ac_ext >&5
8171 eval "$as_ac_var=no"
8173 rm -f conftest.err conftest.
$ac_objext \
8174 conftest
$ac_exeext conftest.
$ac_ext
8176 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
8177 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
8178 if test `eval echo '${'$as_ac_var'}'` = yes; then
8179 cat >>confdefs.h
<<_ACEOF
8180 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
8188 echo "$as_me:$LINENO: checking for magic_open in -lmagic" >&5
8189 echo $ECHO_N "checking for magic_open in -lmagic... $ECHO_C" >&6
8190 if test "${ac_cv_lib_magic_magic_open+set}" = set; then
8191 echo $ECHO_N "(cached) $ECHO_C" >&6
8193 ac_check_lib_save_LIBS
=$LIBS
8194 LIBS
="-lmagic $LIBS"
8195 cat >conftest.
$ac_ext <<_ACEOF
8198 cat confdefs.h
>>conftest.
$ac_ext
8199 cat >>conftest.
$ac_ext <<_ACEOF
8200 /* end confdefs.h. */
8202 /* Override any gcc2 internal prototype to avoid an error. */
8206 /* We use char because int might match the return type of a gcc2
8207 builtin and then its argument prototype would still apply. */
8217 rm -f conftest.
$ac_objext conftest
$ac_exeext
8218 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8219 (eval $ac_link) 2>conftest.er1
8221 grep -v '^ *+' conftest.er1
>conftest.err
8223 cat conftest.err
>&5
8224 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8225 (exit $ac_status); } &&
8226 { ac_try
='test -z "$ac_c_werror_flag"
8227 || test ! -s conftest.err'
8228 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8231 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8232 (exit $ac_status); }; } &&
8233 { ac_try
='test -s conftest$ac_exeext'
8234 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8237 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8238 (exit $ac_status); }; }; then
8239 ac_cv_lib_magic_magic_open
=yes
8241 echo "$as_me: failed program was:" >&5
8242 sed 's/^/| /' conftest.
$ac_ext >&5
8244 ac_cv_lib_magic_magic_open
=no
8246 rm -f conftest.err conftest.
$ac_objext \
8247 conftest
$ac_exeext conftest.
$ac_ext
8248 LIBS
=$ac_check_lib_save_LIBS
8250 echo "$as_me:$LINENO: result: $ac_cv_lib_magic_magic_open" >&5
8251 echo "${ECHO_T}$ac_cv_lib_magic_magic_open" >&6
8252 if test $ac_cv_lib_magic_magic_open = yes; then
8258 echo "$as_me:$LINENO: checking whether time.h and sys/time.h may both be included" >&5
8259 echo $ECHO_N "checking whether time.h and sys/time.h may both be included... $ECHO_C" >&6
8260 if test "${ac_cv_header_time+set}" = set; then
8261 echo $ECHO_N "(cached) $ECHO_C" >&6
8263 cat >conftest.
$ac_ext <<_ACEOF
8266 cat confdefs.h
>>conftest.
$ac_ext
8267 cat >>conftest.
$ac_ext <<_ACEOF
8268 /* end confdefs.h. */
8269 #include <sys/types.h>
8270 #include <sys/time.h>
8276 if ((struct tm *) 0)
8282 rm -f conftest.
$ac_objext
8283 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
8284 (eval $ac_compile) 2>conftest.er1
8286 grep -v '^ *+' conftest.er1
>conftest.err
8288 cat conftest.err
>&5
8289 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8290 (exit $ac_status); } &&
8291 { ac_try
='test -z "$ac_c_werror_flag"
8292 || test ! -s conftest.err'
8293 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8296 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8297 (exit $ac_status); }; } &&
8298 { ac_try
='test -s conftest.$ac_objext'
8299 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8302 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8303 (exit $ac_status); }; }; then
8304 ac_cv_header_time
=yes
8306 echo "$as_me: failed program was:" >&5
8307 sed 's/^/| /' conftest.
$ac_ext >&5
8309 ac_cv_header_time
=no
8311 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
8313 echo "$as_me:$LINENO: result: $ac_cv_header_time" >&5
8314 echo "${ECHO_T}$ac_cv_header_time" >&6
8315 if test $ac_cv_header_time = yes; then
8317 cat >>confdefs.h
<<\_ACEOF
8318 #define TIME_WITH_SYS_TIME 1
8323 echo "$as_me:$LINENO: checking whether struct tm is in sys/time.h or time.h" >&5
8324 echo $ECHO_N "checking whether struct tm is in sys/time.h or time.h... $ECHO_C" >&6
8325 if test "${ac_cv_struct_tm+set}" = set; then
8326 echo $ECHO_N "(cached) $ECHO_C" >&6
8328 cat >conftest.
$ac_ext <<_ACEOF
8331 cat confdefs.h
>>conftest.
$ac_ext
8332 cat >>conftest.
$ac_ext <<_ACEOF
8333 /* end confdefs.h. */
8334 #include <sys/types.h>
8340 struct tm *tp; tp->tm_sec;
8345 rm -f conftest.
$ac_objext
8346 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
8347 (eval $ac_compile) 2>conftest.er1
8349 grep -v '^ *+' conftest.er1
>conftest.err
8351 cat conftest.err
>&5
8352 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8353 (exit $ac_status); } &&
8354 { ac_try
='test -z "$ac_c_werror_flag"
8355 || test ! -s conftest.err'
8356 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8359 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8360 (exit $ac_status); }; } &&
8361 { ac_try
='test -s conftest.$ac_objext'
8362 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8365 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8366 (exit $ac_status); }; }; then
8367 ac_cv_struct_tm
=time.h
8369 echo "$as_me: failed program was:" >&5
8370 sed 's/^/| /' conftest.
$ac_ext >&5
8372 ac_cv_struct_tm
=sys
/time.h
8374 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
8376 echo "$as_me:$LINENO: result: $ac_cv_struct_tm" >&5
8377 echo "${ECHO_T}$ac_cv_struct_tm" >&6
8378 if test $ac_cv_struct_tm = sys
/time.h
; then
8380 cat >>confdefs.h
<<\_ACEOF
8381 #define TM_IN_SYS_TIME 1
8386 echo "$as_me:$LINENO: checking for struct tm.tm_zone" >&5
8387 echo $ECHO_N "checking for struct tm.tm_zone... $ECHO_C" >&6
8388 if test "${ac_cv_member_struct_tm_tm_zone+set}" = set; then
8389 echo $ECHO_N "(cached) $ECHO_C" >&6
8391 cat >conftest.
$ac_ext <<_ACEOF
8394 cat confdefs.h
>>conftest.
$ac_ext
8395 cat >>conftest.
$ac_ext <<_ACEOF
8396 /* end confdefs.h. */
8397 #include <sys/types.h>
8398 #include <$ac_cv_struct_tm>
8404 static struct tm ac_aggr;
8405 if (ac_aggr.tm_zone)
8411 rm -f conftest.
$ac_objext
8412 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
8413 (eval $ac_compile) 2>conftest.er1
8415 grep -v '^ *+' conftest.er1
>conftest.err
8417 cat conftest.err
>&5
8418 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8419 (exit $ac_status); } &&
8420 { ac_try
='test -z "$ac_c_werror_flag"
8421 || test ! -s conftest.err'
8422 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8425 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8426 (exit $ac_status); }; } &&
8427 { ac_try
='test -s conftest.$ac_objext'
8428 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8431 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8432 (exit $ac_status); }; }; then
8433 ac_cv_member_struct_tm_tm_zone
=yes
8435 echo "$as_me: failed program was:" >&5
8436 sed 's/^/| /' conftest.
$ac_ext >&5
8438 cat >conftest.
$ac_ext <<_ACEOF
8441 cat confdefs.h
>>conftest.
$ac_ext
8442 cat >>conftest.
$ac_ext <<_ACEOF
8443 /* end confdefs.h. */
8444 #include <sys/types.h>
8445 #include <$ac_cv_struct_tm>
8451 static struct tm ac_aggr;
8452 if (sizeof ac_aggr.tm_zone)
8458 rm -f conftest.
$ac_objext
8459 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
8460 (eval $ac_compile) 2>conftest.er1
8462 grep -v '^ *+' conftest.er1
>conftest.err
8464 cat conftest.err
>&5
8465 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8466 (exit $ac_status); } &&
8467 { ac_try
='test -z "$ac_c_werror_flag"
8468 || test ! -s conftest.err'
8469 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8472 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8473 (exit $ac_status); }; } &&
8474 { ac_try
='test -s conftest.$ac_objext'
8475 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8478 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8479 (exit $ac_status); }; }; then
8480 ac_cv_member_struct_tm_tm_zone
=yes
8482 echo "$as_me: failed program was:" >&5
8483 sed 's/^/| /' conftest.
$ac_ext >&5
8485 ac_cv_member_struct_tm_tm_zone
=no
8487 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
8489 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
8491 echo "$as_me:$LINENO: result: $ac_cv_member_struct_tm_tm_zone" >&5
8492 echo "${ECHO_T}$ac_cv_member_struct_tm_tm_zone" >&6
8493 if test $ac_cv_member_struct_tm_tm_zone = yes; then
8495 cat >>confdefs.h
<<_ACEOF
8496 #define HAVE_STRUCT_TM_TM_ZONE 1
8502 if test "$ac_cv_member_struct_tm_tm_zone" = yes; then
8504 cat >>confdefs.h
<<\_ACEOF
8505 #define HAVE_TM_ZONE 1
8509 echo "$as_me:$LINENO: checking for tzname" >&5
8510 echo $ECHO_N "checking for tzname... $ECHO_C" >&6
8511 if test "${ac_cv_var_tzname+set}" = set; then
8512 echo $ECHO_N "(cached) $ECHO_C" >&6
8514 cat >conftest.
$ac_ext <<_ACEOF
8517 cat confdefs.h
>>conftest.
$ac_ext
8518 cat >>conftest.
$ac_ext <<_ACEOF
8519 /* end confdefs.h. */
8521 #ifndef tzname /* For SGI. */
8522 extern char *tzname[]; /* RS6000 and others reject char **tzname. */
8533 rm -f conftest.
$ac_objext conftest
$ac_exeext
8534 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8535 (eval $ac_link) 2>conftest.er1
8537 grep -v '^ *+' conftest.er1
>conftest.err
8539 cat conftest.err
>&5
8540 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8541 (exit $ac_status); } &&
8542 { ac_try
='test -z "$ac_c_werror_flag"
8543 || test ! -s conftest.err'
8544 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8547 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8548 (exit $ac_status); }; } &&
8549 { ac_try
='test -s conftest$ac_exeext'
8550 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8553 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8554 (exit $ac_status); }; }; then
8555 ac_cv_var_tzname
=yes
8557 echo "$as_me: failed program was:" >&5
8558 sed 's/^/| /' conftest.
$ac_ext >&5
8562 rm -f conftest.err conftest.
$ac_objext \
8563 conftest
$ac_exeext conftest.
$ac_ext
8565 echo "$as_me:$LINENO: result: $ac_cv_var_tzname" >&5
8566 echo "${ECHO_T}$ac_cv_var_tzname" >&6
8567 if test $ac_cv_var_tzname = yes; then
8569 cat >>confdefs.h
<<\_ACEOF
8570 #define HAVE_TZNAME 1
8577 echo "$as_me:$LINENO: checking for tm_gmtoff in struct tm" >&5
8578 echo $ECHO_N "checking for tm_gmtoff in struct tm... $ECHO_C" >&6
8579 cat >conftest.
$ac_ext <<_ACEOF
8582 cat confdefs.h
>>conftest.
$ac_ext
8583 cat >>conftest.
$ac_ext <<_ACEOF
8584 /* end confdefs.h. */
8589 struct tm tim; tim.tm_gmtoff = 0;
8594 rm -f conftest.
$ac_objext
8595 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
8596 (eval $ac_compile) 2>conftest.er1
8598 grep -v '^ *+' conftest.er1
>conftest.err
8600 cat conftest.err
>&5
8601 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8602 (exit $ac_status); } &&
8603 { ac_try
='test -z "$ac_c_werror_flag"
8604 || test ! -s conftest.err'
8605 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8608 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8609 (exit $ac_status); }; } &&
8610 { ac_try
='test -s conftest.$ac_objext'
8611 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8614 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8615 (exit $ac_status); }; }; then
8617 cat >>confdefs.h
<<\_ACEOF
8618 #define STRUCT_TM_HAS_GMTOFF 1
8621 echo "$as_me:$LINENO: result: yes" >&5
8622 echo "${ECHO_T}yes" >&6
8624 echo "$as_me: failed program was:" >&5
8625 sed 's/^/| /' conftest.
$ac_ext >&5
8627 echo "$as_me:$LINENO: result: no" >&5
8628 echo "${ECHO_T}no" >&6
8629 echo "$as_me:$LINENO: checking for global timezone variable" >&5
8630 echo $ECHO_N "checking for global timezone variable... $ECHO_C" >&6
8631 cat >conftest.
$ac_ext <<_ACEOF
8634 cat confdefs.h
>>conftest.
$ac_ext
8635 cat >>conftest.
$ac_ext <<_ACEOF
8636 /* end confdefs.h. */
8641 void i(){long z2 = 2*timezone;}
8646 rm -f conftest.
$ac_objext
8647 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
8648 (eval $ac_compile) 2>conftest.er1
8650 grep -v '^ *+' conftest.er1
>conftest.err
8652 cat conftest.err
>&5
8653 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8654 (exit $ac_status); } &&
8655 { ac_try
='test -z "$ac_c_werror_flag"
8656 || test ! -s conftest.err'
8657 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8660 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8661 (exit $ac_status); }; } &&
8662 { ac_try
='test -s conftest.$ac_objext'
8663 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8666 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8667 (exit $ac_status); }; }; then
8669 cat >>confdefs.h
<<\_ACEOF
8670 #define HAVE_TIMEZONE 1
8673 echo "$as_me:$LINENO: result: yes" >&5
8674 echo "${ECHO_T}yes" >&6
8676 echo "$as_me: failed program was:" >&5
8677 sed 's/^/| /' conftest.
$ac_ext >&5
8679 echo "$as_me:$LINENO: result: no" >&5
8680 echo "${ECHO_T}no" >&6
8681 echo "$as_me:$LINENO: checking for global _timezone variable" >&5
8682 echo $ECHO_N "checking for global _timezone variable... $ECHO_C" >&6
8683 cat >conftest.
$ac_ext <<_ACEOF
8686 cat confdefs.h
>>conftest.
$ac_ext
8687 cat >>conftest.
$ac_ext <<_ACEOF
8688 /* end confdefs.h. */
8693 long z2 = _timezone;
8698 rm -f conftest.
$ac_objext
8699 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
8700 (eval $ac_compile) 2>conftest.er1
8702 grep -v '^ *+' conftest.er1
>conftest.err
8704 cat conftest.err
>&5
8705 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8706 (exit $ac_status); } &&
8707 { ac_try
='test -z "$ac_c_werror_flag"
8708 || test ! -s conftest.err'
8709 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8712 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8713 (exit $ac_status); }; } &&
8714 { ac_try
='test -s conftest.$ac_objext'
8715 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8718 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8719 (exit $ac_status); }; }; then
8721 cat >>confdefs.h
<<\_ACEOF
8722 #define HAVE_UNDERSCORE_TIMEZONE 1
8725 echo "$as_me:$LINENO: result: yes" >&5
8726 echo "${ECHO_T}yes" >&6
8728 echo "$as_me: failed program was:" >&5
8729 sed 's/^/| /' conftest.
$ac_ext >&5
8731 echo "$as_me:$LINENO: result: no" >&5
8732 echo "${ECHO_T}no" >&6
8734 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
8736 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
8738 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
8740 echo "$as_me:$LINENO: checking for an ANSI C-conforming const" >&5
8741 echo $ECHO_N "checking for an ANSI C-conforming const... $ECHO_C" >&6
8742 if test "${ac_cv_c_const+set}" = set; then
8743 echo $ECHO_N "(cached) $ECHO_C" >&6
8745 cat >conftest.
$ac_ext <<_ACEOF
8748 cat confdefs.h
>>conftest.
$ac_ext
8749 cat >>conftest.
$ac_ext <<_ACEOF
8750 /* end confdefs.h. */
8755 /* FIXME: Include the comments suggested by Paul. */
8757 /* Ultrix mips cc rejects this. */
8758 typedef int charset[2];
8760 /* SunOS 4.1.1 cc rejects this. */
8761 char const *const *ccp;
8763 /* NEC SVR4.0.2 mips cc rejects this. */
8764 struct point {int x, y;};
8765 static struct point const zero = {0,0};
8766 /* AIX XL C 1.02.0.0 rejects this.
8767 It does not let you subtract one const X* pointer from another in
8768 an arm of an if-expression whose if-part is not a constant
8770 const char *g = "string";
8771 ccp = &g + (g ? g-g : 0);
8772 /* HPUX 7.0 cc rejects these. */
8775 ccp = (char const *const *) p;
8776 { /* SCO 3.2v4 cc rejects this. */
8778 char const *s = 0 ? (char *) 0 : (char const *) 0;
8782 { /* Someone thinks the Sun supposedly-ANSI compiler will reject this. */
8784 const int *foo = &x[0];
8787 { /* Sun SC1.0 ANSI compiler rejects this -- but not the above. */
8788 typedef const int *iptr;
8792 { /* AIX XL C 1.02.0.0 rejects this saying
8793 "k.c", line 2.27: 1506-025 (S) Operand must be a modifiable lvalue. */
8794 struct s { int j; const int *ap[3]; };
8795 struct s *b; b->j = 5;
8797 { /* ULTRIX-32 V3.1 (Rev 9) vcc rejects this */
8806 rm -f conftest.
$ac_objext
8807 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
8808 (eval $ac_compile) 2>conftest.er1
8810 grep -v '^ *+' conftest.er1
>conftest.err
8812 cat conftest.err
>&5
8813 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8814 (exit $ac_status); } &&
8815 { ac_try
='test -z "$ac_c_werror_flag"
8816 || test ! -s conftest.err'
8817 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8820 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8821 (exit $ac_status); }; } &&
8822 { ac_try
='test -s conftest.$ac_objext'
8823 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8826 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8827 (exit $ac_status); }; }; then
8830 echo "$as_me: failed program was:" >&5
8831 sed 's/^/| /' conftest.
$ac_ext >&5
8835 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
8837 echo "$as_me:$LINENO: result: $ac_cv_c_const" >&5
8838 echo "${ECHO_T}$ac_cv_c_const" >&6
8839 if test $ac_cv_c_const = no
; then
8841 cat >>confdefs.h
<<\_ACEOF
8847 echo "$as_me:$LINENO: checking for __attribute__" >&5
8848 echo $ECHO_N "checking for __attribute__... $ECHO_C" >&6
8849 if test "${ac_cv_c_attribute+set}" = set; then
8850 echo $ECHO_N "(cached) $ECHO_C" >&6
8853 cat >conftest.
$ac_ext <<_ACEOF
8856 cat confdefs.h
>>conftest.
$ac_ext
8857 cat >>conftest.
$ac_ext <<_ACEOF
8858 /* end confdefs.h. */
8859 void foo(void) __attribute__ ((__noreturn__));
8862 rm -f conftest.
$ac_objext
8863 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
8864 (eval $ac_compile) 2>conftest.er1
8866 grep -v '^ *+' conftest.er1
>conftest.err
8868 cat conftest.err
>&5
8869 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8870 (exit $ac_status); } &&
8871 { ac_try
='test -z "$ac_c_werror_flag"
8872 || test ! -s conftest.err'
8873 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8876 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8877 (exit $ac_status); }; } &&
8878 { ac_try
='test -s conftest.$ac_objext'
8879 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8882 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8883 (exit $ac_status); }; }; then
8884 ac_cv_c_attribute
=yes
8886 echo "$as_me: failed program was:" >&5
8887 sed 's/^/| /' conftest.
$ac_ext >&5
8889 ac_cv_c_attribute
=no
8892 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
8895 echo "$as_me:$LINENO: result: $ac_cv_c_attribute" >&5
8896 echo "${ECHO_T}$ac_cv_c_attribute" >&6
8899 case $ac_cv_c_attribute in
8902 cat >>confdefs.h
<<_ACEOF
8903 #define __attribute__(x) /* nothing */
8910 if test "X$prefix" = "XNONE"; then
8911 acl_final_prefix
="$ac_default_prefix"
8913 acl_final_prefix
="$prefix"
8915 if test "X$exec_prefix" = "XNONE"; then
8916 acl_final_exec_prefix
='${prefix}'
8918 acl_final_exec_prefix
="$exec_prefix"
8920 acl_save_prefix
="$prefix"
8921 prefix
="$acl_final_prefix"
8922 eval acl_final_exec_prefix
=\"$acl_final_exec_prefix\"
8923 prefix
="$acl_save_prefix"
8926 # Check whether --with-gnu-ld or --without-gnu-ld was given.
8927 if test "${with_gnu_ld+set}" = set; then
8928 withval
="$with_gnu_ld"
8929 test "$withval" = no || with_gnu_ld
=yes
8933 # Prepare PATH_SEPARATOR.
8934 # The user is always right.
8935 if test "${PATH_SEPARATOR+set}" != set; then
8936 echo "#! /bin/sh" >conf$$.sh
8937 echo "exit 0" >>conf$$.sh
8939 if (PATH
="/nonexistent;."; conf$$.sh
) >/dev
/null
2>&1; then
8947 if test "$GCC" = yes; then
8948 # Check if gcc -print-prog-name=ld gives a path.
8949 echo "$as_me:$LINENO: checking for ld used by GCC" >&5
8950 echo $ECHO_N "checking for ld used by GCC... $ECHO_C" >&6
8953 # gcc leaves a trailing carriage return which upsets mingw
8954 ac_prog
=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
8956 ac_prog
=`($CC -print-prog-name=ld) 2>&5` ;;
8959 # Accept absolute paths.
8960 [\\/]* |
[A-Za-z
]:[\\/]*)
8961 re_direlt
='/[^/][^/]*/\.\./'
8962 # Canonicalize the path of ld
8963 ac_prog
=`echo $ac_prog| sed 's%\\\\%/%g'`
8964 while echo $ac_prog |
grep "$re_direlt" > /dev
/null
2>&1; do
8965 ac_prog
=`echo $ac_prog| sed "s%$re_direlt%/%"`
8967 test -z "$LD" && LD
="$ac_prog"
8970 # If it fails, then pretend we aren't using GCC.
8974 # If it is relative, then search for the first ld in PATH.
8978 elif test "$with_gnu_ld" = yes; then
8979 echo "$as_me:$LINENO: checking for GNU ld" >&5
8980 echo $ECHO_N "checking for GNU ld... $ECHO_C" >&6
8982 echo "$as_me:$LINENO: checking for non-GNU ld" >&5
8983 echo $ECHO_N "checking for non-GNU ld... $ECHO_C" >&6
8985 if test "${acl_cv_path_LD+set}" = set; then
8986 echo $ECHO_N "(cached) $ECHO_C" >&6
8988 if test -z "$LD"; then
8989 IFS
="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}${PATH_SEPARATOR-:}"
8990 for ac_dir
in $PATH; do
8991 test -z "$ac_dir" && ac_dir
=.
8992 if test -f "$ac_dir/$ac_prog" ||
test -f "$ac_dir/$ac_prog$ac_exeext"; then
8993 acl_cv_path_LD
="$ac_dir/$ac_prog"
8994 # Check to see if the program is GNU ld. I'd rather use --version,
8995 # but apparently some GNU ld's only accept -v.
8996 # Break only if it was the GNU/non-GNU ld that we prefer.
8997 if "$acl_cv_path_LD" -v 2>&1 < /dev
/null |
egrep '(GNU|with BFD)' > /dev
/null
; then
8998 test "$with_gnu_ld" != no
&& break
9000 test "$with_gnu_ld" != yes && break
9006 acl_cv_path_LD
="$LD" # Let the user override the test with a path.
9010 LD
="$acl_cv_path_LD"
9011 if test -n "$LD"; then
9012 echo "$as_me:$LINENO: result: $LD" >&5
9013 echo "${ECHO_T}$LD" >&6
9015 echo "$as_me:$LINENO: result: no" >&5
9016 echo "${ECHO_T}no" >&6
9018 test -z "$LD" && { { echo "$as_me:$LINENO: error: no acceptable ld found in \$PATH" >&5
9019 echo "$as_me: error: no acceptable ld found in \$PATH" >&2;}
9020 { (exit 1); exit 1; }; }
9021 echo "$as_me:$LINENO: checking if the linker ($LD) is GNU ld" >&5
9022 echo $ECHO_N "checking if the linker ($LD) is GNU ld... $ECHO_C" >&6
9023 if test "${acl_cv_prog_gnu_ld+set}" = set; then
9024 echo $ECHO_N "(cached) $ECHO_C" >&6
9026 # I'd rather use --version here, but apparently some GNU ld's only accept -v.
9027 if $LD -v 2>&1 </dev
/null |
egrep '(GNU|with BFD)' 1>&5; then
9028 acl_cv_prog_gnu_ld
=yes
9030 acl_cv_prog_gnu_ld
=no
9033 echo "$as_me:$LINENO: result: $acl_cv_prog_gnu_ld" >&5
9034 echo "${ECHO_T}$acl_cv_prog_gnu_ld" >&6
9035 with_gnu_ld
=$acl_cv_prog_gnu_ld
9039 echo "$as_me:$LINENO: checking for shared library run path origin" >&5
9040 echo $ECHO_N "checking for shared library run path origin... $ECHO_C" >&6
9041 if test "${acl_cv_rpath+set}" = set; then
9042 echo $ECHO_N "(cached) $ECHO_C" >&6
9045 CC
="$CC" GCC
="$GCC" LDFLAGS
="$LDFLAGS" LD
="$LD" with_gnu_ld
="$with_gnu_ld" \
9046 ${CONFIG_SHELL-/bin/sh} "$ac_aux_dir/config.rpath" "$host" > conftest.sh
9052 echo "$as_me:$LINENO: result: $acl_cv_rpath" >&5
9053 echo "${ECHO_T}$acl_cv_rpath" >&6
9055 libext
="$acl_cv_libext"
9056 shlibext
="$acl_cv_shlibext"
9057 hardcode_libdir_flag_spec
="$acl_cv_hardcode_libdir_flag_spec"
9058 hardcode_libdir_separator
="$acl_cv_hardcode_libdir_separator"
9059 hardcode_direct
="$acl_cv_hardcode_direct"
9060 hardcode_minus_L
="$acl_cv_hardcode_minus_L"
9061 # Check whether --enable-rpath or --disable-rpath was given.
9062 if test "${enable_rpath+set}" = set; then
9063 enableval
="$enable_rpath"
9077 acl_save_prefix
="$prefix"
9078 prefix
="$acl_final_prefix"
9079 acl_save_exec_prefix
="$exec_prefix"
9080 exec_prefix
="$acl_final_exec_prefix"
9082 eval additional_includedir
=\"$includedir\"
9083 eval additional_libdir
=\"$libdir\"
9085 exec_prefix
="$acl_save_exec_prefix"
9086 prefix
="$acl_save_prefix"
9089 # Check whether --with-libiconv-prefix or --without-libiconv-prefix was given.
9090 if test "${with_libiconv_prefix+set}" = set; then
9091 withval
="$with_libiconv_prefix"
9093 if test "X$withval" = "Xno"; then
9096 if test "X$withval" = "X"; then
9098 acl_save_prefix
="$prefix"
9099 prefix
="$acl_final_prefix"
9100 acl_save_exec_prefix
="$exec_prefix"
9101 exec_prefix
="$acl_final_exec_prefix"
9103 eval additional_includedir
=\"$includedir\"
9104 eval additional_libdir
=\"$libdir\"
9106 exec_prefix
="$acl_save_exec_prefix"
9107 prefix
="$acl_save_prefix"
9110 additional_includedir
="$withval/include"
9111 additional_libdir
="$withval/lib"
9121 names_already_handled
=
9122 names_next_round
='iconv '
9123 while test -n "$names_next_round"; do
9124 names_this_round
="$names_next_round"
9126 for name
in $names_this_round; do
9128 for n
in $names_already_handled; do
9129 if test "$n" = "$name"; then
9134 if test -z "$already_handled"; then
9135 names_already_handled
="$names_already_handled $name"
9136 uppername
=`echo "$name" | sed -e 'y|abcdefghijklmnopqrstuvwxyz./-|ABCDEFGHIJKLMNOPQRSTUVWXYZ___|'`
9137 eval value
=\"\
$HAVE_LIB$uppername\"
9138 if test -n "$value"; then
9139 if test "$value" = yes; then
9140 eval value
=\"\
$LIB$uppername\"
9141 test -z "$value" || LIBICONV
="${LIBICONV}${LIBICONV:+ }$value"
9142 eval value
=\"\
$LTLIB$uppername\"
9143 test -z "$value" || LTLIBICONV
="${LTLIBICONV}${LTLIBICONV:+ }$value"
9152 if test $use_additional = yes; then
9153 if test -n "$shlibext" && test -f "$additional_libdir/lib$name.$shlibext"; then
9154 found_dir
="$additional_libdir"
9155 found_so
="$additional_libdir/lib$name.$shlibext"
9156 if test -f "$additional_libdir/lib$name.la"; then
9157 found_la
="$additional_libdir/lib$name.la"
9160 if test -f "$additional_libdir/lib$name.$libext"; then
9161 found_dir
="$additional_libdir"
9162 found_a
="$additional_libdir/lib$name.$libext"
9163 if test -f "$additional_libdir/lib$name.la"; then
9164 found_la
="$additional_libdir/lib$name.la"
9169 if test "X$found_dir" = "X"; then
9170 for x
in $LDFLAGS $LTLIBICONV; do
9172 acl_save_prefix
="$prefix"
9173 prefix
="$acl_final_prefix"
9174 acl_save_exec_prefix
="$exec_prefix"
9175 exec_prefix
="$acl_final_exec_prefix"
9177 exec_prefix
="$acl_save_exec_prefix"
9178 prefix
="$acl_save_prefix"
9182 dir
=`echo "X$x" | sed -e 's/^X-L//'`
9183 if test -n "$shlibext" && test -f "$dir/lib$name.$shlibext"; then
9185 found_so
="$dir/lib$name.$shlibext"
9186 if test -f "$dir/lib$name.la"; then
9187 found_la
="$dir/lib$name.la"
9190 if test -f "$dir/lib$name.$libext"; then
9192 found_a
="$dir/lib$name.$libext"
9193 if test -f "$dir/lib$name.la"; then
9194 found_la
="$dir/lib$name.la"
9200 if test "X$found_dir" != "X"; then
9205 if test "X$found_dir" != "X"; then
9206 LTLIBICONV
="${LTLIBICONV}${LTLIBICONV:+ }-L$found_dir -l$name"
9207 if test "X$found_so" != "X"; then
9208 if test "$enable_rpath" = no ||
test "X$found_dir" = "X/usr/lib"; then
9209 LIBICONV
="${LIBICONV}${LIBICONV:+ }$found_so"
9212 for x
in $ltrpathdirs; do
9213 if test "X$x" = "X$found_dir"; then
9218 if test -z "$haveit"; then
9219 ltrpathdirs
="$ltrpathdirs $found_dir"
9221 if test "$hardcode_direct" = yes; then
9222 LIBICONV
="${LIBICONV}${LIBICONV:+ }$found_so"
9224 if test -n "$hardcode_libdir_flag_spec" && test "$hardcode_minus_L" = no
; then
9225 LIBICONV
="${LIBICONV}${LIBICONV:+ }$found_so"
9227 for x
in $rpathdirs; do
9228 if test "X$x" = "X$found_dir"; then
9233 if test -z "$haveit"; then
9234 rpathdirs
="$rpathdirs $found_dir"
9238 for x
in $LDFLAGS $LIBICONV; do
9240 acl_save_prefix
="$prefix"
9241 prefix
="$acl_final_prefix"
9242 acl_save_exec_prefix
="$exec_prefix"
9243 exec_prefix
="$acl_final_exec_prefix"
9245 exec_prefix
="$acl_save_exec_prefix"
9246 prefix
="$acl_save_prefix"
9248 if test "X$x" = "X-L$found_dir"; then
9253 if test -z "$haveit"; then
9254 LIBICONV
="${LIBICONV}${LIBICONV:+ }-L$found_dir"
9256 if test "$hardcode_minus_L" != no
; then
9257 LIBICONV
="${LIBICONV}${LIBICONV:+ }$found_so"
9259 LIBICONV
="${LIBICONV}${LIBICONV:+ }-l$name"
9265 if test "X$found_a" != "X"; then
9266 LIBICONV
="${LIBICONV}${LIBICONV:+ }$found_a"
9268 LIBICONV
="${LIBICONV}${LIBICONV:+ }-L$found_dir -l$name"
9271 additional_includedir
=
9272 case "$found_dir" in
9274 basedir
=`echo "X$found_dir" | sed -e 's,^X,,' -e 's,/lib/*$,,'`
9275 additional_includedir
="$basedir/include"
9278 if test "X$additional_includedir" != "X"; then
9279 if test "X$additional_includedir" != "X/usr/include"; then
9281 if test "X$additional_includedir" = "X/usr/local/include"; then
9282 if test -n "$GCC"; then
9284 linux
*) haveit
=yes;;
9288 if test -z "$haveit"; then
9289 for x
in $CPPFLAGS $INCICONV; do
9291 acl_save_prefix
="$prefix"
9292 prefix
="$acl_final_prefix"
9293 acl_save_exec_prefix
="$exec_prefix"
9294 exec_prefix
="$acl_final_exec_prefix"
9296 exec_prefix
="$acl_save_exec_prefix"
9297 prefix
="$acl_save_prefix"
9299 if test "X$x" = "X-I$additional_includedir"; then
9304 if test -z "$haveit"; then
9305 if test -d "$additional_includedir"; then
9306 INCICONV
="${INCICONV}${INCICONV:+ }-I$additional_includedir"
9312 if test -n "$found_la"; then
9313 save_libdir
="$libdir"
9315 */* |
*\\*) .
"$found_la" ;;
9316 *) .
"./$found_la" ;;
9318 libdir
="$save_libdir"
9319 for dep
in $dependency_libs; do
9322 additional_libdir
=`echo "X$dep" | sed -e 's/^X-L//'`
9323 if test "X$additional_libdir" != "X/usr/lib"; then
9325 if test "X$additional_libdir" = "X/usr/local/lib"; then
9326 if test -n "$GCC"; then
9328 linux
*) haveit
=yes;;
9332 if test -z "$haveit"; then
9334 for x
in $LDFLAGS $LIBICONV; do
9336 acl_save_prefix
="$prefix"
9337 prefix
="$acl_final_prefix"
9338 acl_save_exec_prefix
="$exec_prefix"
9339 exec_prefix
="$acl_final_exec_prefix"
9341 exec_prefix
="$acl_save_exec_prefix"
9342 prefix
="$acl_save_prefix"
9344 if test "X$x" = "X-L$additional_libdir"; then
9349 if test -z "$haveit"; then
9350 if test -d "$additional_libdir"; then
9351 LIBICONV
="${LIBICONV}${LIBICONV:+ }-L$additional_libdir"
9355 for x
in $LDFLAGS $LTLIBICONV; do
9357 acl_save_prefix
="$prefix"
9358 prefix
="$acl_final_prefix"
9359 acl_save_exec_prefix
="$exec_prefix"
9360 exec_prefix
="$acl_final_exec_prefix"
9362 exec_prefix
="$acl_save_exec_prefix"
9363 prefix
="$acl_save_prefix"
9365 if test "X$x" = "X-L$additional_libdir"; then
9370 if test -z "$haveit"; then
9371 if test -d "$additional_libdir"; then
9372 LTLIBICONV
="${LTLIBICONV}${LTLIBICONV:+ }-L$additional_libdir"
9379 dir
=`echo "X$dep" | sed -e 's/^X-R//'`
9380 if test "$enable_rpath" != no
; then
9382 for x
in $rpathdirs; do
9383 if test "X$x" = "X$dir"; then
9388 if test -z "$haveit"; then
9389 rpathdirs
="$rpathdirs $dir"
9392 for x
in $ltrpathdirs; do
9393 if test "X$x" = "X$dir"; then
9398 if test -z "$haveit"; then
9399 ltrpathdirs
="$ltrpathdirs $dir"
9404 names_next_round
="$names_next_round "`echo "X$dep" | sed -e 's/^X-l//'`
9407 names_next_round
="$names_next_round "`echo "X$dep" | sed -e 's,^X.*/,,' -e 's,^lib,,' -e 's,\.la$,,'`
9410 LIBICONV
="${LIBICONV}${LIBICONV:+ }$dep"
9411 LTLIBICONV
="${LTLIBICONV}${LTLIBICONV:+ }$dep"
9417 LIBICONV
="${LIBICONV}${LIBICONV:+ }-l$name"
9418 LTLIBICONV
="${LTLIBICONV}${LTLIBICONV:+ }-l$name"
9424 if test "X$rpathdirs" != "X"; then
9425 if test -n "$hardcode_libdir_separator"; then
9427 for found_dir
in $rpathdirs; do
9428 alldirs
="${alldirs}${alldirs:+$hardcode_libdir_separator}$found_dir"
9430 acl_save_libdir
="$libdir"
9432 eval flag
=\"$hardcode_libdir_flag_spec\"
9433 libdir
="$acl_save_libdir"
9434 LIBICONV
="${LIBICONV}${LIBICONV:+ }$flag"
9436 for found_dir
in $rpathdirs; do
9437 acl_save_libdir
="$libdir"
9439 eval flag
=\"$hardcode_libdir_flag_spec\"
9440 libdir
="$acl_save_libdir"
9441 LIBICONV
="${LIBICONV}${LIBICONV:+ }$flag"
9445 if test "X$ltrpathdirs" != "X"; then
9446 for found_dir
in $ltrpathdirs; do
9447 LTLIBICONV
="${LTLIBICONV}${LTLIBICONV:+ }-R$found_dir"
9457 am_save_CPPFLAGS
="$CPPFLAGS"
9459 for element
in $INCICONV; do
9461 for x
in $CPPFLAGS; do
9463 acl_save_prefix
="$prefix"
9464 prefix
="$acl_final_prefix"
9465 acl_save_exec_prefix
="$exec_prefix"
9466 exec_prefix
="$acl_final_exec_prefix"
9468 exec_prefix
="$acl_save_exec_prefix"
9469 prefix
="$acl_save_prefix"
9471 if test "X$x" = "X$element"; then
9476 if test -z "$haveit"; then
9477 CPPFLAGS
="${CPPFLAGS}${CPPFLAGS:+ }$element"
9482 echo "$as_me:$LINENO: checking for iconv" >&5
9483 echo $ECHO_N "checking for iconv... $ECHO_C" >&6
9484 if test "${am_cv_func_iconv+set}" = set; then
9485 echo $ECHO_N "(cached) $ECHO_C" >&6
9488 am_cv_func_iconv
="no, consider installing GNU libiconv"
9490 cat >conftest.
$ac_ext <<_ACEOF
9493 cat confdefs.h
>>conftest.
$ac_ext
9494 cat >>conftest.
$ac_ext <<_ACEOF
9495 /* end confdefs.h. */
9501 iconv_t cd = iconv_open("","");
9502 iconv(cd,NULL,NULL,NULL,NULL);
9508 rm -f conftest.
$ac_objext conftest
$ac_exeext
9509 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
9510 (eval $ac_link) 2>conftest.er1
9512 grep -v '^ *+' conftest.er1
>conftest.err
9514 cat conftest.err
>&5
9515 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9516 (exit $ac_status); } &&
9517 { ac_try
='test -z "$ac_c_werror_flag"
9518 || test ! -s conftest.err'
9519 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9522 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9523 (exit $ac_status); }; } &&
9524 { ac_try
='test -s conftest$ac_exeext'
9525 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9528 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9529 (exit $ac_status); }; }; then
9530 am_cv_func_iconv
=yes
9532 echo "$as_me: failed program was:" >&5
9533 sed 's/^/| /' conftest.
$ac_ext >&5
9536 rm -f conftest.err conftest.
$ac_objext \
9537 conftest
$ac_exeext conftest.
$ac_ext
9538 if test "$am_cv_func_iconv" != yes; then
9539 am_save_LIBS
="$LIBS"
9540 LIBS
="$LIBS $LIBICONV"
9541 cat >conftest.
$ac_ext <<_ACEOF
9544 cat confdefs.h
>>conftest.
$ac_ext
9545 cat >>conftest.
$ac_ext <<_ACEOF
9546 /* end confdefs.h. */
9552 iconv_t cd = iconv_open("","");
9553 iconv(cd,NULL,NULL,NULL,NULL);
9559 rm -f conftest.
$ac_objext conftest
$ac_exeext
9560 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
9561 (eval $ac_link) 2>conftest.er1
9563 grep -v '^ *+' conftest.er1
>conftest.err
9565 cat conftest.err
>&5
9566 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9567 (exit $ac_status); } &&
9568 { ac_try
='test -z "$ac_c_werror_flag"
9569 || test ! -s conftest.err'
9570 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9573 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9574 (exit $ac_status); }; } &&
9575 { ac_try
='test -s conftest$ac_exeext'
9576 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9579 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9580 (exit $ac_status); }; }; then
9582 am_cv_func_iconv
=yes
9584 echo "$as_me: failed program was:" >&5
9585 sed 's/^/| /' conftest.
$ac_ext >&5
9588 rm -f conftest.err conftest.
$ac_objext \
9589 conftest
$ac_exeext conftest.
$ac_ext
9590 LIBS
="$am_save_LIBS"
9594 echo "$as_me:$LINENO: result: $am_cv_func_iconv" >&5
9595 echo "${ECHO_T}$am_cv_func_iconv" >&6
9596 if test "$am_cv_func_iconv" = yes; then
9598 cat >>confdefs.h
<<\_ACEOF
9599 #define HAVE_ICONV 1
9603 if test "$am_cv_lib_iconv" = yes; then
9604 echo "$as_me:$LINENO: checking how to link with libiconv" >&5
9605 echo $ECHO_N "checking how to link with libiconv... $ECHO_C" >&6
9606 echo "$as_me:$LINENO: result: $LIBICONV" >&5
9607 echo "${ECHO_T}$LIBICONV" >&6
9609 CPPFLAGS
="$am_save_CPPFLAGS"
9616 if test "$am_cv_func_iconv" = yes; then
9617 echo "$as_me:$LINENO: checking for iconv declaration" >&5
9618 echo $ECHO_N "checking for iconv declaration... $ECHO_C" >&6
9619 if test "${am_cv_proto_iconv+set}" = set; then
9620 echo $ECHO_N "(cached) $ECHO_C" >&6
9623 cat >conftest.
$ac_ext <<_ACEOF
9626 cat confdefs.h
>>conftest.
$ac_ext
9627 cat >>conftest.
$ac_ext <<_ACEOF
9628 /* end confdefs.h. */
9636 #if defined(__STDC__) || defined(__cplusplus)
9637 size_t iconv (iconv_t cd, char * *inbuf, size_t *inbytesleft, char * *outbuf, size_t *outbytesleft);
9650 rm -f conftest.
$ac_objext
9651 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
9652 (eval $ac_compile) 2>conftest.er1
9654 grep -v '^ *+' conftest.er1
>conftest.err
9656 cat conftest.err
>&5
9657 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9658 (exit $ac_status); } &&
9659 { ac_try
='test -z "$ac_c_werror_flag"
9660 || test ! -s conftest.err'
9661 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9664 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9665 (exit $ac_status); }; } &&
9666 { ac_try
='test -s conftest.$ac_objext'
9667 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9670 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9671 (exit $ac_status); }; }; then
9672 am_cv_proto_iconv_arg1
=""
9674 echo "$as_me: failed program was:" >&5
9675 sed 's/^/| /' conftest.
$ac_ext >&5
9677 am_cv_proto_iconv_arg1
="const"
9679 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
9680 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);"
9683 am_cv_proto_iconv
=`echo "$am_cv_proto_iconv" | tr -s ' ' | sed -e 's/( /(/'`
9684 echo "$as_me:$LINENO: result: ${ac_t:-
9685 }$am_cv_proto_iconv" >&5
9686 echo "${ECHO_T}${ac_t:-
9687 }$am_cv_proto_iconv" >&6
9689 cat >>confdefs.h
<<_ACEOF
9690 #define ICONV_CONST $am_cv_proto_iconv_arg1
9696 if test "x${GCC}" = xyes
; then
9698 WARNING_CFLAGS
='-pedantic -W -Wall -Wmissing-declarations -Wwrite-strings -Wmissing-prototypes -Wno-long-long'
9701 STRICT_WARNING_CFLAGS
=-Wstrict-prototypes
9705 if test "x${ENABLE_WERROR}" = xyes
; then
9706 ERROR_CFLAGS
='-Werror'
9711 if test "x${COMPILE_XMLJ}" = xyes
; then
9715 if test -z "$PKG_CONFIG"; then
9716 # Extract the first word of "pkg-config", so it can be a program name with args.
9717 set dummy pkg-config
; ac_word
=$2
9718 echo "$as_me:$LINENO: checking for $ac_word" >&5
9719 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
9720 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
9721 echo $ECHO_N "(cached) $ECHO_C" >&6
9725 ac_cv_path_PKG_CONFIG
="$PKG_CONFIG" # Let the user override the test with a path.
9728 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
9732 test -z "$as_dir" && as_dir
=.
9733 for ac_exec_ext
in '' $ac_executable_extensions; do
9734 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
9735 ac_cv_path_PKG_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
9736 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
9742 test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG
="no"
9746 PKG_CONFIG
=$ac_cv_path_PKG_CONFIG
9748 if test -n "$PKG_CONFIG"; then
9749 echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
9750 echo "${ECHO_T}$PKG_CONFIG" >&6
9752 echo "$as_me:$LINENO: result: no" >&5
9753 echo "${ECHO_T}no" >&6
9758 if test "$PKG_CONFIG" = "no" ; then
9759 echo "*** The pkg-config script could not be found. Make sure it is"
9760 echo "*** in your path, or set the PKG_CONFIG environment variable"
9761 echo "*** to the full path to pkg-config."
9762 echo "*** Or see http://www.freedesktop.org/software/pkgconfig to get pkg-config."
9764 PKG_CONFIG_MIN_VERSION
=0.9.0
9765 if $PKG_CONFIG --atleast-pkgconfig-version $PKG_CONFIG_MIN_VERSION; then
9766 echo "$as_me:$LINENO: checking for libxml-2.0 >= 2.6.8" >&5
9767 echo $ECHO_N "checking for libxml-2.0 >= 2.6.8... $ECHO_C" >&6
9769 if $PKG_CONFIG --exists "libxml-2.0 >= 2.6.8" ; then
9770 echo "$as_me:$LINENO: result: yes" >&5
9771 echo "${ECHO_T}yes" >&6
9774 echo "$as_me:$LINENO: checking XML_CFLAGS" >&5
9775 echo $ECHO_N "checking XML_CFLAGS... $ECHO_C" >&6
9776 XML_CFLAGS
=`$PKG_CONFIG --cflags "libxml-2.0 >= 2.6.8"`
9777 echo "$as_me:$LINENO: result: $XML_CFLAGS" >&5
9778 echo "${ECHO_T}$XML_CFLAGS" >&6
9780 echo "$as_me:$LINENO: checking XML_LIBS" >&5
9781 echo $ECHO_N "checking XML_LIBS... $ECHO_C" >&6
9782 XML_LIBS
=`$PKG_CONFIG --libs "libxml-2.0 >= 2.6.8"`
9783 echo "$as_me:$LINENO: result: $XML_LIBS" >&5
9784 echo "${ECHO_T}$XML_LIBS" >&6
9788 ## If we have a custom action on failure, don't print errors, but
9789 ## do set a variable so people can do so.
9790 XML_PKG_ERRORS
=`$PKG_CONFIG --errors-to-stdout --print-errors "libxml-2.0 >= 2.6.8"`
9791 echo $XML_PKG_ERRORS
9797 echo "*** Your version of pkg-config is too old. You need version $PKG_CONFIG_MIN_VERSION or newer."
9798 echo "*** See http://www.freedesktop.org/software/pkgconfig"
9802 if test $succeeded = yes; then
9805 { { 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
9806 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;}
9807 { (exit 1); exit 1; }; }
9813 if test -z "$PKG_CONFIG"; then
9814 # Extract the first word of "pkg-config", so it can be a program name with args.
9815 set dummy pkg-config
; ac_word
=$2
9816 echo "$as_me:$LINENO: checking for $ac_word" >&5
9817 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
9818 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
9819 echo $ECHO_N "(cached) $ECHO_C" >&6
9823 ac_cv_path_PKG_CONFIG
="$PKG_CONFIG" # Let the user override the test with a path.
9826 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
9830 test -z "$as_dir" && as_dir
=.
9831 for ac_exec_ext
in '' $ac_executable_extensions; do
9832 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
9833 ac_cv_path_PKG_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
9834 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
9840 test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG
="no"
9844 PKG_CONFIG
=$ac_cv_path_PKG_CONFIG
9846 if test -n "$PKG_CONFIG"; then
9847 echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
9848 echo "${ECHO_T}$PKG_CONFIG" >&6
9850 echo "$as_me:$LINENO: result: no" >&5
9851 echo "${ECHO_T}no" >&6
9856 if test "$PKG_CONFIG" = "no" ; then
9857 echo "*** The pkg-config script could not be found. Make sure it is"
9858 echo "*** in your path, or set the PKG_CONFIG environment variable"
9859 echo "*** to the full path to pkg-config."
9860 echo "*** Or see http://www.freedesktop.org/software/pkgconfig to get pkg-config."
9862 PKG_CONFIG_MIN_VERSION
=0.9.0
9863 if $PKG_CONFIG --atleast-pkgconfig-version $PKG_CONFIG_MIN_VERSION; then
9864 echo "$as_me:$LINENO: checking for libxslt >= 1.1.11" >&5
9865 echo $ECHO_N "checking for libxslt >= 1.1.11... $ECHO_C" >&6
9867 if $PKG_CONFIG --exists "libxslt >= 1.1.11" ; then
9868 echo "$as_me:$LINENO: result: yes" >&5
9869 echo "${ECHO_T}yes" >&6
9872 echo "$as_me:$LINENO: checking XSLT_CFLAGS" >&5
9873 echo $ECHO_N "checking XSLT_CFLAGS... $ECHO_C" >&6
9874 XSLT_CFLAGS
=`$PKG_CONFIG --cflags "libxslt >= 1.1.11"`
9875 echo "$as_me:$LINENO: result: $XSLT_CFLAGS" >&5
9876 echo "${ECHO_T}$XSLT_CFLAGS" >&6
9878 echo "$as_me:$LINENO: checking XSLT_LIBS" >&5
9879 echo $ECHO_N "checking XSLT_LIBS... $ECHO_C" >&6
9880 XSLT_LIBS
=`$PKG_CONFIG --libs "libxslt >= 1.1.11"`
9881 echo "$as_me:$LINENO: result: $XSLT_LIBS" >&5
9882 echo "${ECHO_T}$XSLT_LIBS" >&6
9886 ## If we have a custom action on failure, don't print errors, but
9887 ## do set a variable so people can do so.
9888 XSLT_PKG_ERRORS
=`$PKG_CONFIG --errors-to-stdout --print-errors "libxslt >= 1.1.11"`
9889 echo $XSLT_PKG_ERRORS
9895 echo "*** Your version of pkg-config is too old. You need version $PKG_CONFIG_MIN_VERSION or newer."
9896 echo "*** See http://www.freedesktop.org/software/pkgconfig"
9900 if test $succeeded = yes; then
9903 { { 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
9904 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;}
9905 { (exit 1); exit 1; }; }
9914 if test "x${COMPILE_GTK_PEER}" = xyes
; then
9915 echo "$as_me:$LINENO: checking for X" >&5
9916 echo $ECHO_N "checking for X... $ECHO_C" >&6
9919 # Check whether --with-x or --without-x was given.
9920 if test "${with_x+set}" = set; then
9924 # $have_x is `yes', `no', `disabled', or empty when we do not yet know.
9925 if test "x$with_x" = xno
; then
9926 # The user explicitly disabled X.
9929 if test "x$x_includes" != xNONE
&& test "x$x_libraries" != xNONE
; then
9930 # Both variables are already set.
9933 if test "${ac_cv_have_x+set}" = set; then
9934 echo $ECHO_N "(cached) $ECHO_C" >&6
9936 # One or both of the vars are not set, and there is no cached value.
9937 ac_x_includes
=no ac_x_libraries
=no
9939 if mkdir conftest.dir
; then
9941 # Make sure to not put "make" in the Imakefile rules, since we grep it out.
9942 cat >Imakefile
<<'_ACEOF'
9944 @echo 'ac_im_incroot="${INCROOT}"; ac_im_usrlibdir="${USRLIBDIR}"; ac_im_libdir="${LIBDIR}"'
9946 if (xmkmf
) >/dev
/null
2>/dev
/null
&& test -f Makefile
; then
9947 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
9948 eval `${MAKE-make} acfindx 2>/dev/null | grep -v make`
9949 # Open Windows xmkmf reportedly sets LIBDIR instead of USRLIBDIR.
9950 for ac_extension
in a so sl
; do
9951 if test ! -f $ac_im_usrlibdir/libX11.
$ac_extension &&
9952 test -f $ac_im_libdir/libX11.
$ac_extension; then
9953 ac_im_usrlibdir
=$ac_im_libdir; break
9956 # Screen out bogus values from the imake configuration. They are
9957 # bogus both because they are the default anyway, and because
9958 # using them would break gcc on systems where it needs fixed includes.
9959 case $ac_im_incroot in
9961 *) test -f "$ac_im_incroot/X11/Xos.h" && ac_x_includes
=$ac_im_incroot;;
9963 case $ac_im_usrlibdir in
9965 *) test -d "$ac_im_usrlibdir" && ac_x_libraries
=$ac_im_usrlibdir ;;
9972 # Standard set of common directories for X headers.
9973 # Check X11 before X11Rn because it is often a symlink to the current release.
9985 /usr/local/X11/include
9986 /usr/local/X11R6/include
9987 /usr/local/X11R5/include
9988 /usr/local/X11R4/include
9990 /usr/local/include/X11
9991 /usr/local/include/X11R6
9992 /usr/local/include/X11R5
9993 /usr/local/include/X11R4
9997 /usr/XFree86/include/X11
10001 /usr/unsupported/include
10002 /usr/athena/include
10003 /usr/local/x11r5/include
10004 /usr/lpp/Xamples/include
10006 /usr/openwin/include
10007 /usr/openwin/share/include'
10009 if test "$ac_x_includes" = no
; then
10010 # Guess where to find include files, by looking for Intrinsic.h.
10011 # First, try using that file with no special directory specified.
10012 cat >conftest.
$ac_ext <<_ACEOF
10015 cat confdefs.h
>>conftest.
$ac_ext
10016 cat >>conftest.
$ac_ext <<_ACEOF
10017 /* end confdefs.h. */
10018 #include <X11/Intrinsic.h>
10020 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
10021 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
10023 grep -v '^ *+' conftest.er1
>conftest.err
10025 cat conftest.err
>&5
10026 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10027 (exit $ac_status); } >/dev
/null
; then
10028 if test -s conftest.err
; then
10029 ac_cpp_err
=$ac_c_preproc_warn_flag
10030 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
10037 if test -z "$ac_cpp_err"; then
10038 # We can compile using X headers with no special include directory.
10041 echo "$as_me: failed program was:" >&5
10042 sed 's/^/| /' conftest.
$ac_ext >&5
10044 for ac_dir
in $ac_x_header_dirs; do
10045 if test -r "$ac_dir/X11/Intrinsic.h"; then
10046 ac_x_includes
=$ac_dir
10051 rm -f conftest.err conftest.
$ac_ext
10052 fi # $ac_x_includes = no
10054 if test "$ac_x_libraries" = no
; then
10055 # Check for the libraries.
10056 # See if we find them without any special options.
10057 # Don't add to $LIBS permanently.
10060 cat >conftest.
$ac_ext <<_ACEOF
10063 cat confdefs.h
>>conftest.
$ac_ext
10064 cat >>conftest.
$ac_ext <<_ACEOF
10065 /* end confdefs.h. */
10066 #include <X11/Intrinsic.h>
10075 rm -f conftest.
$ac_objext conftest
$ac_exeext
10076 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10077 (eval $ac_link) 2>conftest.er1
10079 grep -v '^ *+' conftest.er1
>conftest.err
10081 cat conftest.err
>&5
10082 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10083 (exit $ac_status); } &&
10084 { ac_try
='test -z "$ac_c_werror_flag"
10085 || test ! -s conftest.err'
10086 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10087 (eval $ac_try) 2>&5
10089 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10090 (exit $ac_status); }; } &&
10091 { ac_try
='test -s conftest$ac_exeext'
10092 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10093 (eval $ac_try) 2>&5
10095 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10096 (exit $ac_status); }; }; then
10098 # We can link X programs with no special library path.
10101 echo "$as_me: failed program was:" >&5
10102 sed 's/^/| /' conftest.
$ac_ext >&5
10105 for ac_dir
in `echo "$ac_x_includes $ac_x_header_dirs" | sed s/include/lib/g`
10107 # Don't even attempt the hair of trying to link an X program!
10108 for ac_extension
in a so sl
; do
10109 if test -r $ac_dir/libXt.
$ac_extension; then
10110 ac_x_libraries
=$ac_dir
10116 rm -f conftest.err conftest.
$ac_objext \
10117 conftest
$ac_exeext conftest.
$ac_ext
10118 fi # $ac_x_libraries = no
10120 if test "$ac_x_includes" = no ||
test "$ac_x_libraries" = no
; then
10121 # Didn't find X anywhere. Cache the known absence of X.
10122 ac_cv_have_x
="have_x=no"
10124 # Record where we found X for the cache.
10125 ac_cv_have_x
="have_x=yes \
10126 ac_x_includes=$ac_x_includes ac_x_libraries=$ac_x_libraries"
10131 eval "$ac_cv_have_x"
10134 if test "$have_x" != yes; then
10135 echo "$as_me:$LINENO: result: $have_x" >&5
10136 echo "${ECHO_T}$have_x" >&6
10139 # If each of the values was on the command line, it overrides each guess.
10140 test "x$x_includes" = xNONE
&& x_includes
=$ac_x_includes
10141 test "x$x_libraries" = xNONE
&& x_libraries
=$ac_x_libraries
10142 # Update the cache value to reflect the command line values.
10143 ac_cv_have_x
="have_x=yes \
10144 ac_x_includes=$x_includes ac_x_libraries=$x_libraries"
10145 echo "$as_me:$LINENO: result: libraries $x_libraries, headers $x_includes" >&5
10146 echo "${ECHO_T}libraries $x_libraries, headers $x_includes" >&6
10149 if test "$no_x" = yes; then
10150 # Not all programs may use this symbol, but it does not hurt to define it.
10152 cat >>confdefs.h
<<\_ACEOF
10153 #define X_DISPLAY_MISSING 1
10156 X_CFLAGS
= X_PRE_LIBS
= X_LIBS
= X_EXTRA_LIBS
=
10158 if test -n "$x_includes"; then
10159 X_CFLAGS
="$X_CFLAGS -I$x_includes"
10162 # It would also be nice to do this for all -L options, not just this one.
10163 if test -n "$x_libraries"; then
10164 X_LIBS
="$X_LIBS -L$x_libraries"
10165 # For Solaris; some versions of Sun CC require a space after -R and
10166 # others require no space. Words are not sufficient . . . .
10167 case `(uname -sr) 2>/dev/null` in
10169 echo "$as_me:$LINENO: checking whether -R must be followed by a space" >&5
10170 echo $ECHO_N "checking whether -R must be followed by a space... $ECHO_C" >&6
10171 ac_xsave_LIBS
=$LIBS; LIBS
="$LIBS -R$x_libraries"
10172 cat >conftest.
$ac_ext <<_ACEOF
10175 cat confdefs.h
>>conftest.
$ac_ext
10176 cat >>conftest.
$ac_ext <<_ACEOF
10177 /* end confdefs.h. */
10187 rm -f conftest.
$ac_objext conftest
$ac_exeext
10188 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10189 (eval $ac_link) 2>conftest.er1
10191 grep -v '^ *+' conftest.er1
>conftest.err
10193 cat conftest.err
>&5
10194 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10195 (exit $ac_status); } &&
10196 { ac_try
='test -z "$ac_c_werror_flag"
10197 || test ! -s conftest.err'
10198 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10199 (eval $ac_try) 2>&5
10201 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10202 (exit $ac_status); }; } &&
10203 { ac_try
='test -s conftest$ac_exeext'
10204 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10205 (eval $ac_try) 2>&5
10207 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10208 (exit $ac_status); }; }; then
10211 echo "$as_me: failed program was:" >&5
10212 sed 's/^/| /' conftest.
$ac_ext >&5
10216 rm -f conftest.err conftest.
$ac_objext \
10217 conftest
$ac_exeext conftest.
$ac_ext
10218 if test $ac_R_nospace = yes; then
10219 echo "$as_me:$LINENO: result: no" >&5
10220 echo "${ECHO_T}no" >&6
10221 X_LIBS
="$X_LIBS -R$x_libraries"
10223 LIBS
="$ac_xsave_LIBS -R $x_libraries"
10224 cat >conftest.
$ac_ext <<_ACEOF
10227 cat confdefs.h
>>conftest.
$ac_ext
10228 cat >>conftest.
$ac_ext <<_ACEOF
10229 /* end confdefs.h. */
10239 rm -f conftest.
$ac_objext conftest
$ac_exeext
10240 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10241 (eval $ac_link) 2>conftest.er1
10243 grep -v '^ *+' conftest.er1
>conftest.err
10245 cat conftest.err
>&5
10246 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10247 (exit $ac_status); } &&
10248 { ac_try
='test -z "$ac_c_werror_flag"
10249 || test ! -s conftest.err'
10250 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10251 (eval $ac_try) 2>&5
10253 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10254 (exit $ac_status); }; } &&
10255 { ac_try
='test -s conftest$ac_exeext'
10256 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10257 (eval $ac_try) 2>&5
10259 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10260 (exit $ac_status); }; }; then
10263 echo "$as_me: failed program was:" >&5
10264 sed 's/^/| /' conftest.
$ac_ext >&5
10268 rm -f conftest.err conftest.
$ac_objext \
10269 conftest
$ac_exeext conftest.
$ac_ext
10270 if test $ac_R_space = yes; then
10271 echo "$as_me:$LINENO: result: yes" >&5
10272 echo "${ECHO_T}yes" >&6
10273 X_LIBS
="$X_LIBS -R $x_libraries"
10275 echo "$as_me:$LINENO: result: neither works" >&5
10276 echo "${ECHO_T}neither works" >&6
10279 LIBS
=$ac_xsave_LIBS
10283 # Check for system-dependent libraries X programs must link with.
10284 # Do this before checking for the system-independent R6 libraries
10285 # (-lICE), since we may need -lsocket or whatever for X linking.
10287 if test "$ISC" = yes; then
10288 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lnsl_s -linet"
10290 # Martyn Johnson says this is needed for Ultrix, if the X
10291 # libraries were built with DECnet support. And Karl Berry says
10292 # the Alpha needs dnet_stub (dnet does not exist).
10293 ac_xsave_LIBS
="$LIBS"; LIBS
="$LIBS $X_LIBS -lX11"
10294 cat >conftest.
$ac_ext <<_ACEOF
10297 cat confdefs.h
>>conftest.
$ac_ext
10298 cat >>conftest.
$ac_ext <<_ACEOF
10299 /* end confdefs.h. */
10301 /* Override any gcc2 internal prototype to avoid an error. */
10305 /* We use char because int might match the return type of a gcc2
10306 builtin and then its argument prototype would still apply. */
10307 char XOpenDisplay ();
10316 rm -f conftest.
$ac_objext conftest
$ac_exeext
10317 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10318 (eval $ac_link) 2>conftest.er1
10320 grep -v '^ *+' conftest.er1
>conftest.err
10322 cat conftest.err
>&5
10323 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10324 (exit $ac_status); } &&
10325 { ac_try
='test -z "$ac_c_werror_flag"
10326 || test ! -s conftest.err'
10327 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10328 (eval $ac_try) 2>&5
10330 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10331 (exit $ac_status); }; } &&
10332 { ac_try
='test -s conftest$ac_exeext'
10333 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10334 (eval $ac_try) 2>&5
10336 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10337 (exit $ac_status); }; }; then
10340 echo "$as_me: failed program was:" >&5
10341 sed 's/^/| /' conftest.
$ac_ext >&5
10343 echo "$as_me:$LINENO: checking for dnet_ntoa in -ldnet" >&5
10344 echo $ECHO_N "checking for dnet_ntoa in -ldnet... $ECHO_C" >&6
10345 if test "${ac_cv_lib_dnet_dnet_ntoa+set}" = set; then
10346 echo $ECHO_N "(cached) $ECHO_C" >&6
10348 ac_check_lib_save_LIBS
=$LIBS
10349 LIBS
="-ldnet $LIBS"
10350 cat >conftest.
$ac_ext <<_ACEOF
10353 cat confdefs.h
>>conftest.
$ac_ext
10354 cat >>conftest.
$ac_ext <<_ACEOF
10355 /* end confdefs.h. */
10357 /* Override any gcc2 internal prototype to avoid an error. */
10361 /* We use char because int might match the return type of a gcc2
10362 builtin and then its argument prototype would still apply. */
10372 rm -f conftest.
$ac_objext conftest
$ac_exeext
10373 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10374 (eval $ac_link) 2>conftest.er1
10376 grep -v '^ *+' conftest.er1
>conftest.err
10378 cat conftest.err
>&5
10379 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10380 (exit $ac_status); } &&
10381 { ac_try
='test -z "$ac_c_werror_flag"
10382 || test ! -s conftest.err'
10383 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10384 (eval $ac_try) 2>&5
10386 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10387 (exit $ac_status); }; } &&
10388 { ac_try
='test -s conftest$ac_exeext'
10389 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10390 (eval $ac_try) 2>&5
10392 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10393 (exit $ac_status); }; }; then
10394 ac_cv_lib_dnet_dnet_ntoa
=yes
10396 echo "$as_me: failed program was:" >&5
10397 sed 's/^/| /' conftest.
$ac_ext >&5
10399 ac_cv_lib_dnet_dnet_ntoa
=no
10401 rm -f conftest.err conftest.
$ac_objext \
10402 conftest
$ac_exeext conftest.
$ac_ext
10403 LIBS
=$ac_check_lib_save_LIBS
10405 echo "$as_me:$LINENO: result: $ac_cv_lib_dnet_dnet_ntoa" >&5
10406 echo "${ECHO_T}$ac_cv_lib_dnet_dnet_ntoa" >&6
10407 if test $ac_cv_lib_dnet_dnet_ntoa = yes; then
10408 X_EXTRA_LIBS
="$X_EXTRA_LIBS -ldnet"
10411 if test $ac_cv_lib_dnet_dnet_ntoa = no
; then
10412 echo "$as_me:$LINENO: checking for dnet_ntoa in -ldnet_stub" >&5
10413 echo $ECHO_N "checking for dnet_ntoa in -ldnet_stub... $ECHO_C" >&6
10414 if test "${ac_cv_lib_dnet_stub_dnet_ntoa+set}" = set; then
10415 echo $ECHO_N "(cached) $ECHO_C" >&6
10417 ac_check_lib_save_LIBS
=$LIBS
10418 LIBS
="-ldnet_stub $LIBS"
10419 cat >conftest.
$ac_ext <<_ACEOF
10422 cat confdefs.h
>>conftest.
$ac_ext
10423 cat >>conftest.
$ac_ext <<_ACEOF
10424 /* end confdefs.h. */
10426 /* Override any gcc2 internal prototype to avoid an error. */
10430 /* We use char because int might match the return type of a gcc2
10431 builtin and then its argument prototype would still apply. */
10441 rm -f conftest.
$ac_objext conftest
$ac_exeext
10442 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10443 (eval $ac_link) 2>conftest.er1
10445 grep -v '^ *+' conftest.er1
>conftest.err
10447 cat conftest.err
>&5
10448 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10449 (exit $ac_status); } &&
10450 { ac_try
='test -z "$ac_c_werror_flag"
10451 || test ! -s conftest.err'
10452 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10453 (eval $ac_try) 2>&5
10455 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10456 (exit $ac_status); }; } &&
10457 { ac_try
='test -s conftest$ac_exeext'
10458 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10459 (eval $ac_try) 2>&5
10461 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10462 (exit $ac_status); }; }; then
10463 ac_cv_lib_dnet_stub_dnet_ntoa
=yes
10465 echo "$as_me: failed program was:" >&5
10466 sed 's/^/| /' conftest.
$ac_ext >&5
10468 ac_cv_lib_dnet_stub_dnet_ntoa
=no
10470 rm -f conftest.err conftest.
$ac_objext \
10471 conftest
$ac_exeext conftest.
$ac_ext
10472 LIBS
=$ac_check_lib_save_LIBS
10474 echo "$as_me:$LINENO: result: $ac_cv_lib_dnet_stub_dnet_ntoa" >&5
10475 echo "${ECHO_T}$ac_cv_lib_dnet_stub_dnet_ntoa" >&6
10476 if test $ac_cv_lib_dnet_stub_dnet_ntoa = yes; then
10477 X_EXTRA_LIBS
="$X_EXTRA_LIBS -ldnet_stub"
10482 rm -f conftest.err conftest.
$ac_objext \
10483 conftest
$ac_exeext conftest.
$ac_ext
10484 LIBS
="$ac_xsave_LIBS"
10486 # msh@cis.ufl.edu says -lnsl (and -lsocket) are needed for his 386/AT,
10487 # to get the SysV transport functions.
10488 # Chad R. Larson says the Pyramis MIS-ES running DC/OSx (SVR4)
10490 # The nsl library prevents programs from opening the X display
10491 # on Irix 5.2, according to T.E. Dickey.
10492 # The functions gethostbyname, getservbyname, and inet_addr are
10493 # in -lbsd on LynxOS 3.0.1/i386, according to Lars Hecking.
10494 echo "$as_me:$LINENO: checking for gethostbyname" >&5
10495 echo $ECHO_N "checking for gethostbyname... $ECHO_C" >&6
10496 if test "${ac_cv_func_gethostbyname+set}" = set; then
10497 echo $ECHO_N "(cached) $ECHO_C" >&6
10499 cat >conftest.
$ac_ext <<_ACEOF
10502 cat confdefs.h
>>conftest.
$ac_ext
10503 cat >>conftest.
$ac_ext <<_ACEOF
10504 /* end confdefs.h. */
10505 /* Define gethostbyname to an innocuous variant, in case <limits.h> declares gethostbyname.
10506 For example, HP-UX 11i <limits.h> declares gettimeofday. */
10507 #define gethostbyname innocuous_gethostbyname
10509 /* System header to define __stub macros and hopefully few prototypes,
10510 which can conflict with char gethostbyname (); below.
10511 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
10512 <limits.h> exists even on freestanding compilers. */
10515 # include <limits.h>
10517 # include <assert.h>
10520 #undef gethostbyname
10522 /* Override any gcc2 internal prototype to avoid an error. */
10527 /* We use char because int might match the return type of a gcc2
10528 builtin and then its argument prototype would still apply. */
10529 char gethostbyname ();
10530 /* The GNU C library defines this for functions which it implements
10531 to always fail with ENOSYS. Some functions are actually named
10532 something starting with __ and the normal name is an alias. */
10533 #if defined (__stub_gethostbyname) || defined (__stub___gethostbyname)
10536 char (*f) () = gethostbyname;
10545 return f != gethostbyname;
10550 rm -f conftest.
$ac_objext conftest
$ac_exeext
10551 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10552 (eval $ac_link) 2>conftest.er1
10554 grep -v '^ *+' conftest.er1
>conftest.err
10556 cat conftest.err
>&5
10557 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10558 (exit $ac_status); } &&
10559 { ac_try
='test -z "$ac_c_werror_flag"
10560 || test ! -s conftest.err'
10561 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10562 (eval $ac_try) 2>&5
10564 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10565 (exit $ac_status); }; } &&
10566 { ac_try
='test -s conftest$ac_exeext'
10567 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10568 (eval $ac_try) 2>&5
10570 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10571 (exit $ac_status); }; }; then
10572 ac_cv_func_gethostbyname
=yes
10574 echo "$as_me: failed program was:" >&5
10575 sed 's/^/| /' conftest.
$ac_ext >&5
10577 ac_cv_func_gethostbyname
=no
10579 rm -f conftest.err conftest.
$ac_objext \
10580 conftest
$ac_exeext conftest.
$ac_ext
10582 echo "$as_me:$LINENO: result: $ac_cv_func_gethostbyname" >&5
10583 echo "${ECHO_T}$ac_cv_func_gethostbyname" >&6
10585 if test $ac_cv_func_gethostbyname = no
; then
10586 echo "$as_me:$LINENO: checking for gethostbyname in -lnsl" >&5
10587 echo $ECHO_N "checking for gethostbyname in -lnsl... $ECHO_C" >&6
10588 if test "${ac_cv_lib_nsl_gethostbyname+set}" = set; then
10589 echo $ECHO_N "(cached) $ECHO_C" >&6
10591 ac_check_lib_save_LIBS
=$LIBS
10593 cat >conftest.
$ac_ext <<_ACEOF
10596 cat confdefs.h
>>conftest.
$ac_ext
10597 cat >>conftest.
$ac_ext <<_ACEOF
10598 /* end confdefs.h. */
10600 /* Override any gcc2 internal prototype to avoid an error. */
10604 /* We use char because int might match the return type of a gcc2
10605 builtin and then its argument prototype would still apply. */
10606 char gethostbyname ();
10615 rm -f conftest.
$ac_objext conftest
$ac_exeext
10616 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10617 (eval $ac_link) 2>conftest.er1
10619 grep -v '^ *+' conftest.er1
>conftest.err
10621 cat conftest.err
>&5
10622 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10623 (exit $ac_status); } &&
10624 { ac_try
='test -z "$ac_c_werror_flag"
10625 || test ! -s conftest.err'
10626 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10627 (eval $ac_try) 2>&5
10629 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10630 (exit $ac_status); }; } &&
10631 { ac_try
='test -s conftest$ac_exeext'
10632 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10633 (eval $ac_try) 2>&5
10635 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10636 (exit $ac_status); }; }; then
10637 ac_cv_lib_nsl_gethostbyname
=yes
10639 echo "$as_me: failed program was:" >&5
10640 sed 's/^/| /' conftest.
$ac_ext >&5
10642 ac_cv_lib_nsl_gethostbyname
=no
10644 rm -f conftest.err conftest.
$ac_objext \
10645 conftest
$ac_exeext conftest.
$ac_ext
10646 LIBS
=$ac_check_lib_save_LIBS
10648 echo "$as_me:$LINENO: result: $ac_cv_lib_nsl_gethostbyname" >&5
10649 echo "${ECHO_T}$ac_cv_lib_nsl_gethostbyname" >&6
10650 if test $ac_cv_lib_nsl_gethostbyname = yes; then
10651 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lnsl"
10654 if test $ac_cv_lib_nsl_gethostbyname = no
; then
10655 echo "$as_me:$LINENO: checking for gethostbyname in -lbsd" >&5
10656 echo $ECHO_N "checking for gethostbyname in -lbsd... $ECHO_C" >&6
10657 if test "${ac_cv_lib_bsd_gethostbyname+set}" = set; then
10658 echo $ECHO_N "(cached) $ECHO_C" >&6
10660 ac_check_lib_save_LIBS
=$LIBS
10662 cat >conftest.
$ac_ext <<_ACEOF
10665 cat confdefs.h
>>conftest.
$ac_ext
10666 cat >>conftest.
$ac_ext <<_ACEOF
10667 /* end confdefs.h. */
10669 /* Override any gcc2 internal prototype to avoid an error. */
10673 /* We use char because int might match the return type of a gcc2
10674 builtin and then its argument prototype would still apply. */
10675 char gethostbyname ();
10684 rm -f conftest.
$ac_objext conftest
$ac_exeext
10685 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10686 (eval $ac_link) 2>conftest.er1
10688 grep -v '^ *+' conftest.er1
>conftest.err
10690 cat conftest.err
>&5
10691 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10692 (exit $ac_status); } &&
10693 { ac_try
='test -z "$ac_c_werror_flag"
10694 || test ! -s conftest.err'
10695 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10696 (eval $ac_try) 2>&5
10698 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10699 (exit $ac_status); }; } &&
10700 { ac_try
='test -s conftest$ac_exeext'
10701 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10702 (eval $ac_try) 2>&5
10704 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10705 (exit $ac_status); }; }; then
10706 ac_cv_lib_bsd_gethostbyname
=yes
10708 echo "$as_me: failed program was:" >&5
10709 sed 's/^/| /' conftest.
$ac_ext >&5
10711 ac_cv_lib_bsd_gethostbyname
=no
10713 rm -f conftest.err conftest.
$ac_objext \
10714 conftest
$ac_exeext conftest.
$ac_ext
10715 LIBS
=$ac_check_lib_save_LIBS
10717 echo "$as_me:$LINENO: result: $ac_cv_lib_bsd_gethostbyname" >&5
10718 echo "${ECHO_T}$ac_cv_lib_bsd_gethostbyname" >&6
10719 if test $ac_cv_lib_bsd_gethostbyname = yes; then
10720 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lbsd"
10726 # lieder@skyler.mavd.honeywell.com says without -lsocket,
10727 # socket/setsockopt and other routines are undefined under SCO ODT
10728 # 2.0. But -lsocket is broken on IRIX 5.2 (and is not necessary
10729 # on later versions), says Simon Leinen: it contains gethostby*
10730 # variants that don't use the name server (or something). -lsocket
10731 # must be given before -lnsl if both are needed. We assume that
10732 # if connect needs -lnsl, so does gethostbyname.
10733 echo "$as_me:$LINENO: checking for connect" >&5
10734 echo $ECHO_N "checking for connect... $ECHO_C" >&6
10735 if test "${ac_cv_func_connect+set}" = set; then
10736 echo $ECHO_N "(cached) $ECHO_C" >&6
10738 cat >conftest.
$ac_ext <<_ACEOF
10741 cat confdefs.h
>>conftest.
$ac_ext
10742 cat >>conftest.
$ac_ext <<_ACEOF
10743 /* end confdefs.h. */
10744 /* Define connect to an innocuous variant, in case <limits.h> declares connect.
10745 For example, HP-UX 11i <limits.h> declares gettimeofday. */
10746 #define connect innocuous_connect
10748 /* System header to define __stub macros and hopefully few prototypes,
10749 which can conflict with char connect (); below.
10750 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
10751 <limits.h> exists even on freestanding compilers. */
10754 # include <limits.h>
10756 # include <assert.h>
10761 /* Override any gcc2 internal prototype to avoid an error. */
10766 /* We use char because int might match the return type of a gcc2
10767 builtin and then its argument prototype would still apply. */
10769 /* The GNU C library defines this for functions which it implements
10770 to always fail with ENOSYS. Some functions are actually named
10771 something starting with __ and the normal name is an alias. */
10772 #if defined (__stub_connect) || defined (__stub___connect)
10775 char (*f) () = connect;
10784 return f != connect;
10789 rm -f conftest.
$ac_objext conftest
$ac_exeext
10790 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10791 (eval $ac_link) 2>conftest.er1
10793 grep -v '^ *+' conftest.er1
>conftest.err
10795 cat conftest.err
>&5
10796 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10797 (exit $ac_status); } &&
10798 { ac_try
='test -z "$ac_c_werror_flag"
10799 || test ! -s conftest.err'
10800 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10801 (eval $ac_try) 2>&5
10803 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10804 (exit $ac_status); }; } &&
10805 { ac_try
='test -s conftest$ac_exeext'
10806 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10807 (eval $ac_try) 2>&5
10809 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10810 (exit $ac_status); }; }; then
10811 ac_cv_func_connect
=yes
10813 echo "$as_me: failed program was:" >&5
10814 sed 's/^/| /' conftest.
$ac_ext >&5
10816 ac_cv_func_connect
=no
10818 rm -f conftest.err conftest.
$ac_objext \
10819 conftest
$ac_exeext conftest.
$ac_ext
10821 echo "$as_me:$LINENO: result: $ac_cv_func_connect" >&5
10822 echo "${ECHO_T}$ac_cv_func_connect" >&6
10824 if test $ac_cv_func_connect = no
; then
10825 echo "$as_me:$LINENO: checking for connect in -lsocket" >&5
10826 echo $ECHO_N "checking for connect in -lsocket... $ECHO_C" >&6
10827 if test "${ac_cv_lib_socket_connect+set}" = set; then
10828 echo $ECHO_N "(cached) $ECHO_C" >&6
10830 ac_check_lib_save_LIBS
=$LIBS
10831 LIBS
="-lsocket $X_EXTRA_LIBS $LIBS"
10832 cat >conftest.
$ac_ext <<_ACEOF
10835 cat confdefs.h
>>conftest.
$ac_ext
10836 cat >>conftest.
$ac_ext <<_ACEOF
10837 /* end confdefs.h. */
10839 /* Override any gcc2 internal prototype to avoid an error. */
10843 /* We use char because int might match the return type of a gcc2
10844 builtin and then its argument prototype would still apply. */
10854 rm -f conftest.
$ac_objext conftest
$ac_exeext
10855 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10856 (eval $ac_link) 2>conftest.er1
10858 grep -v '^ *+' conftest.er1
>conftest.err
10860 cat conftest.err
>&5
10861 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10862 (exit $ac_status); } &&
10863 { ac_try
='test -z "$ac_c_werror_flag"
10864 || test ! -s conftest.err'
10865 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10866 (eval $ac_try) 2>&5
10868 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10869 (exit $ac_status); }; } &&
10870 { ac_try
='test -s conftest$ac_exeext'
10871 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10872 (eval $ac_try) 2>&5
10874 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10875 (exit $ac_status); }; }; then
10876 ac_cv_lib_socket_connect
=yes
10878 echo "$as_me: failed program was:" >&5
10879 sed 's/^/| /' conftest.
$ac_ext >&5
10881 ac_cv_lib_socket_connect
=no
10883 rm -f conftest.err conftest.
$ac_objext \
10884 conftest
$ac_exeext conftest.
$ac_ext
10885 LIBS
=$ac_check_lib_save_LIBS
10887 echo "$as_me:$LINENO: result: $ac_cv_lib_socket_connect" >&5
10888 echo "${ECHO_T}$ac_cv_lib_socket_connect" >&6
10889 if test $ac_cv_lib_socket_connect = yes; then
10890 X_EXTRA_LIBS
="-lsocket $X_EXTRA_LIBS"
10895 # Guillermo Gomez says -lposix is necessary on A/UX.
10896 echo "$as_me:$LINENO: checking for remove" >&5
10897 echo $ECHO_N "checking for remove... $ECHO_C" >&6
10898 if test "${ac_cv_func_remove+set}" = set; then
10899 echo $ECHO_N "(cached) $ECHO_C" >&6
10901 cat >conftest.
$ac_ext <<_ACEOF
10904 cat confdefs.h
>>conftest.
$ac_ext
10905 cat >>conftest.
$ac_ext <<_ACEOF
10906 /* end confdefs.h. */
10907 /* Define remove to an innocuous variant, in case <limits.h> declares remove.
10908 For example, HP-UX 11i <limits.h> declares gettimeofday. */
10909 #define remove innocuous_remove
10911 /* System header to define __stub macros and hopefully few prototypes,
10912 which can conflict with char remove (); below.
10913 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
10914 <limits.h> exists even on freestanding compilers. */
10917 # include <limits.h>
10919 # include <assert.h>
10924 /* Override any gcc2 internal prototype to avoid an error. */
10929 /* We use char because int might match the return type of a gcc2
10930 builtin and then its argument prototype would still apply. */
10932 /* The GNU C library defines this for functions which it implements
10933 to always fail with ENOSYS. Some functions are actually named
10934 something starting with __ and the normal name is an alias. */
10935 #if defined (__stub_remove) || defined (__stub___remove)
10938 char (*f) () = remove;
10947 return f != remove;
10952 rm -f conftest.
$ac_objext conftest
$ac_exeext
10953 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10954 (eval $ac_link) 2>conftest.er1
10956 grep -v '^ *+' conftest.er1
>conftest.err
10958 cat conftest.err
>&5
10959 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10960 (exit $ac_status); } &&
10961 { ac_try
='test -z "$ac_c_werror_flag"
10962 || test ! -s conftest.err'
10963 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10964 (eval $ac_try) 2>&5
10966 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10967 (exit $ac_status); }; } &&
10968 { ac_try
='test -s conftest$ac_exeext'
10969 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10970 (eval $ac_try) 2>&5
10972 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10973 (exit $ac_status); }; }; then
10974 ac_cv_func_remove
=yes
10976 echo "$as_me: failed program was:" >&5
10977 sed 's/^/| /' conftest.
$ac_ext >&5
10979 ac_cv_func_remove
=no
10981 rm -f conftest.err conftest.
$ac_objext \
10982 conftest
$ac_exeext conftest.
$ac_ext
10984 echo "$as_me:$LINENO: result: $ac_cv_func_remove" >&5
10985 echo "${ECHO_T}$ac_cv_func_remove" >&6
10987 if test $ac_cv_func_remove = no
; then
10988 echo "$as_me:$LINENO: checking for remove in -lposix" >&5
10989 echo $ECHO_N "checking for remove in -lposix... $ECHO_C" >&6
10990 if test "${ac_cv_lib_posix_remove+set}" = set; then
10991 echo $ECHO_N "(cached) $ECHO_C" >&6
10993 ac_check_lib_save_LIBS
=$LIBS
10994 LIBS
="-lposix $LIBS"
10995 cat >conftest.
$ac_ext <<_ACEOF
10998 cat confdefs.h
>>conftest.
$ac_ext
10999 cat >>conftest.
$ac_ext <<_ACEOF
11000 /* end confdefs.h. */
11002 /* Override any gcc2 internal prototype to avoid an error. */
11006 /* We use char because int might match the return type of a gcc2
11007 builtin and then its argument prototype would still apply. */
11017 rm -f conftest.
$ac_objext conftest
$ac_exeext
11018 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
11019 (eval $ac_link) 2>conftest.er1
11021 grep -v '^ *+' conftest.er1
>conftest.err
11023 cat conftest.err
>&5
11024 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11025 (exit $ac_status); } &&
11026 { ac_try
='test -z "$ac_c_werror_flag"
11027 || test ! -s conftest.err'
11028 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11029 (eval $ac_try) 2>&5
11031 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11032 (exit $ac_status); }; } &&
11033 { ac_try
='test -s conftest$ac_exeext'
11034 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11035 (eval $ac_try) 2>&5
11037 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11038 (exit $ac_status); }; }; then
11039 ac_cv_lib_posix_remove
=yes
11041 echo "$as_me: failed program was:" >&5
11042 sed 's/^/| /' conftest.
$ac_ext >&5
11044 ac_cv_lib_posix_remove
=no
11046 rm -f conftest.err conftest.
$ac_objext \
11047 conftest
$ac_exeext conftest.
$ac_ext
11048 LIBS
=$ac_check_lib_save_LIBS
11050 echo "$as_me:$LINENO: result: $ac_cv_lib_posix_remove" >&5
11051 echo "${ECHO_T}$ac_cv_lib_posix_remove" >&6
11052 if test $ac_cv_lib_posix_remove = yes; then
11053 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lposix"
11058 # BSDI BSD/OS 2.1 needs -lipc for XOpenDisplay.
11059 echo "$as_me:$LINENO: checking for shmat" >&5
11060 echo $ECHO_N "checking for shmat... $ECHO_C" >&6
11061 if test "${ac_cv_func_shmat+set}" = set; then
11062 echo $ECHO_N "(cached) $ECHO_C" >&6
11064 cat >conftest.
$ac_ext <<_ACEOF
11067 cat confdefs.h
>>conftest.
$ac_ext
11068 cat >>conftest.
$ac_ext <<_ACEOF
11069 /* end confdefs.h. */
11070 /* Define shmat to an innocuous variant, in case <limits.h> declares shmat.
11071 For example, HP-UX 11i <limits.h> declares gettimeofday. */
11072 #define shmat innocuous_shmat
11074 /* System header to define __stub macros and hopefully few prototypes,
11075 which can conflict with char shmat (); below.
11076 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
11077 <limits.h> exists even on freestanding compilers. */
11080 # include <limits.h>
11082 # include <assert.h>
11087 /* Override any gcc2 internal prototype to avoid an error. */
11092 /* We use char because int might match the return type of a gcc2
11093 builtin and then its argument prototype would still apply. */
11095 /* The GNU C library defines this for functions which it implements
11096 to always fail with ENOSYS. Some functions are actually named
11097 something starting with __ and the normal name is an alias. */
11098 #if defined (__stub_shmat) || defined (__stub___shmat)
11101 char (*f) () = shmat;
11115 rm -f conftest.
$ac_objext conftest
$ac_exeext
11116 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
11117 (eval $ac_link) 2>conftest.er1
11119 grep -v '^ *+' conftest.er1
>conftest.err
11121 cat conftest.err
>&5
11122 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11123 (exit $ac_status); } &&
11124 { ac_try
='test -z "$ac_c_werror_flag"
11125 || test ! -s conftest.err'
11126 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11127 (eval $ac_try) 2>&5
11129 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11130 (exit $ac_status); }; } &&
11131 { ac_try
='test -s conftest$ac_exeext'
11132 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11133 (eval $ac_try) 2>&5
11135 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11136 (exit $ac_status); }; }; then
11137 ac_cv_func_shmat
=yes
11139 echo "$as_me: failed program was:" >&5
11140 sed 's/^/| /' conftest.
$ac_ext >&5
11142 ac_cv_func_shmat
=no
11144 rm -f conftest.err conftest.
$ac_objext \
11145 conftest
$ac_exeext conftest.
$ac_ext
11147 echo "$as_me:$LINENO: result: $ac_cv_func_shmat" >&5
11148 echo "${ECHO_T}$ac_cv_func_shmat" >&6
11150 if test $ac_cv_func_shmat = no
; then
11151 echo "$as_me:$LINENO: checking for shmat in -lipc" >&5
11152 echo $ECHO_N "checking for shmat in -lipc... $ECHO_C" >&6
11153 if test "${ac_cv_lib_ipc_shmat+set}" = set; then
11154 echo $ECHO_N "(cached) $ECHO_C" >&6
11156 ac_check_lib_save_LIBS
=$LIBS
11158 cat >conftest.
$ac_ext <<_ACEOF
11161 cat confdefs.h
>>conftest.
$ac_ext
11162 cat >>conftest.
$ac_ext <<_ACEOF
11163 /* end confdefs.h. */
11165 /* Override any gcc2 internal prototype to avoid an error. */
11169 /* We use char because int might match the return type of a gcc2
11170 builtin and then its argument prototype would still apply. */
11180 rm -f conftest.
$ac_objext conftest
$ac_exeext
11181 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
11182 (eval $ac_link) 2>conftest.er1
11184 grep -v '^ *+' conftest.er1
>conftest.err
11186 cat conftest.err
>&5
11187 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11188 (exit $ac_status); } &&
11189 { ac_try
='test -z "$ac_c_werror_flag"
11190 || test ! -s conftest.err'
11191 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11192 (eval $ac_try) 2>&5
11194 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11195 (exit $ac_status); }; } &&
11196 { ac_try
='test -s conftest$ac_exeext'
11197 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11198 (eval $ac_try) 2>&5
11200 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11201 (exit $ac_status); }; }; then
11202 ac_cv_lib_ipc_shmat
=yes
11204 echo "$as_me: failed program was:" >&5
11205 sed 's/^/| /' conftest.
$ac_ext >&5
11207 ac_cv_lib_ipc_shmat
=no
11209 rm -f conftest.err conftest.
$ac_objext \
11210 conftest
$ac_exeext conftest.
$ac_ext
11211 LIBS
=$ac_check_lib_save_LIBS
11213 echo "$as_me:$LINENO: result: $ac_cv_lib_ipc_shmat" >&5
11214 echo "${ECHO_T}$ac_cv_lib_ipc_shmat" >&6
11215 if test $ac_cv_lib_ipc_shmat = yes; then
11216 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lipc"
11222 # Check for libraries that X11R6 Xt/Xaw programs need.
11223 ac_save_LDFLAGS
=$LDFLAGS
11224 test -n "$x_libraries" && LDFLAGS
="$LDFLAGS -L$x_libraries"
11225 # SM needs ICE to (dynamically) link under SunOS 4.x (so we have to
11226 # check for ICE first), but we must link in the order -lSM -lICE or
11227 # we get undefined symbols. So assume we have SM if we have ICE.
11228 # These have to be linked with before -lX11, unlike the other
11229 # libraries we check for below, so use a different variable.
11230 # John Interrante, Karl Berry
11231 echo "$as_me:$LINENO: checking for IceConnectionNumber in -lICE" >&5
11232 echo $ECHO_N "checking for IceConnectionNumber in -lICE... $ECHO_C" >&6
11233 if test "${ac_cv_lib_ICE_IceConnectionNumber+set}" = set; then
11234 echo $ECHO_N "(cached) $ECHO_C" >&6
11236 ac_check_lib_save_LIBS
=$LIBS
11237 LIBS
="-lICE $X_EXTRA_LIBS $LIBS"
11238 cat >conftest.
$ac_ext <<_ACEOF
11241 cat confdefs.h
>>conftest.
$ac_ext
11242 cat >>conftest.
$ac_ext <<_ACEOF
11243 /* end confdefs.h. */
11245 /* Override any gcc2 internal prototype to avoid an error. */
11249 /* We use char because int might match the return type of a gcc2
11250 builtin and then its argument prototype would still apply. */
11251 char IceConnectionNumber ();
11255 IceConnectionNumber ();
11260 rm -f conftest.
$ac_objext conftest
$ac_exeext
11261 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
11262 (eval $ac_link) 2>conftest.er1
11264 grep -v '^ *+' conftest.er1
>conftest.err
11266 cat conftest.err
>&5
11267 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11268 (exit $ac_status); } &&
11269 { ac_try
='test -z "$ac_c_werror_flag"
11270 || test ! -s conftest.err'
11271 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11272 (eval $ac_try) 2>&5
11274 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11275 (exit $ac_status); }; } &&
11276 { ac_try
='test -s conftest$ac_exeext'
11277 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11278 (eval $ac_try) 2>&5
11280 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11281 (exit $ac_status); }; }; then
11282 ac_cv_lib_ICE_IceConnectionNumber
=yes
11284 echo "$as_me: failed program was:" >&5
11285 sed 's/^/| /' conftest.
$ac_ext >&5
11287 ac_cv_lib_ICE_IceConnectionNumber
=no
11289 rm -f conftest.err conftest.
$ac_objext \
11290 conftest
$ac_exeext conftest.
$ac_ext
11291 LIBS
=$ac_check_lib_save_LIBS
11293 echo "$as_me:$LINENO: result: $ac_cv_lib_ICE_IceConnectionNumber" >&5
11294 echo "${ECHO_T}$ac_cv_lib_ICE_IceConnectionNumber" >&6
11295 if test $ac_cv_lib_ICE_IceConnectionNumber = yes; then
11296 X_PRE_LIBS
="$X_PRE_LIBS -lSM -lICE"
11299 LDFLAGS
=$ac_save_LDFLAGS
11303 if test "$no_x" = yes; then
11304 { { echo "$as_me:$LINENO: error: GTK+ peers requested but no X library available" >&5
11305 echo "$as_me: error: GTK+ peers requested but no X library available" >&2;}
11306 { (exit 1); exit 1; }; }
11308 echo "$as_me:$LINENO: checking for XTestQueryExtension in -lXtst" >&5
11309 echo $ECHO_N "checking for XTestQueryExtension in -lXtst... $ECHO_C" >&6
11310 if test "${ac_cv_lib_Xtst_XTestQueryExtension+set}" = set; then
11311 echo $ECHO_N "(cached) $ECHO_C" >&6
11313 ac_check_lib_save_LIBS
=$LIBS
11314 LIBS
="-lXtst ${X_LIBS} $LIBS"
11315 cat >conftest.
$ac_ext <<_ACEOF
11318 cat confdefs.h
>>conftest.
$ac_ext
11319 cat >>conftest.
$ac_ext <<_ACEOF
11320 /* end confdefs.h. */
11322 /* Override any gcc2 internal prototype to avoid an error. */
11326 /* We use char because int might match the return type of a gcc2
11327 builtin and then its argument prototype would still apply. */
11328 char XTestQueryExtension ();
11332 XTestQueryExtension ();
11337 rm -f conftest.
$ac_objext conftest
$ac_exeext
11338 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
11339 (eval $ac_link) 2>conftest.er1
11341 grep -v '^ *+' conftest.er1
>conftest.err
11343 cat conftest.err
>&5
11344 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11345 (exit $ac_status); } &&
11346 { ac_try
='test -z "$ac_c_werror_flag"
11347 || test ! -s conftest.err'
11348 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11349 (eval $ac_try) 2>&5
11351 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11352 (exit $ac_status); }; } &&
11353 { ac_try
='test -s conftest$ac_exeext'
11354 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11355 (eval $ac_try) 2>&5
11357 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11358 (exit $ac_status); }; }; then
11359 ac_cv_lib_Xtst_XTestQueryExtension
=yes
11361 echo "$as_me: failed program was:" >&5
11362 sed 's/^/| /' conftest.
$ac_ext >&5
11364 ac_cv_lib_Xtst_XTestQueryExtension
=no
11366 rm -f conftest.err conftest.
$ac_objext \
11367 conftest
$ac_exeext conftest.
$ac_ext
11368 LIBS
=$ac_check_lib_save_LIBS
11370 echo "$as_me:$LINENO: result: $ac_cv_lib_Xtst_XTestQueryExtension" >&5
11371 echo "${ECHO_T}$ac_cv_lib_Xtst_XTestQueryExtension" >&6
11372 if test $ac_cv_lib_Xtst_XTestQueryExtension = yes; then
11373 XTEST_LIBS
="$XTEST_LIBS -lX11 -lXtst"
11375 { { echo "$as_me:$LINENO: error: libXtst NOT found, required for GdkRobot" >&5
11376 echo "$as_me: error: libXtst NOT found, required for GdkRobot" >&2;}
11377 { (exit 1); exit 1; }; }
11384 if test -z "$PKG_CONFIG"; then
11385 # Extract the first word of "pkg-config", so it can be a program name with args.
11386 set dummy pkg-config
; ac_word
=$2
11387 echo "$as_me:$LINENO: checking for $ac_word" >&5
11388 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
11389 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
11390 echo $ECHO_N "(cached) $ECHO_C" >&6
11392 case $PKG_CONFIG in
11394 ac_cv_path_PKG_CONFIG
="$PKG_CONFIG" # Let the user override the test with a path.
11397 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
11398 for as_dir
in $PATH
11401 test -z "$as_dir" && as_dir
=.
11402 for ac_exec_ext
in '' $ac_executable_extensions; do
11403 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
11404 ac_cv_path_PKG_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
11405 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
11411 test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG
="no"
11415 PKG_CONFIG
=$ac_cv_path_PKG_CONFIG
11417 if test -n "$PKG_CONFIG"; then
11418 echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
11419 echo "${ECHO_T}$PKG_CONFIG" >&6
11421 echo "$as_me:$LINENO: result: no" >&5
11422 echo "${ECHO_T}no" >&6
11427 if test "$PKG_CONFIG" = "no" ; then
11428 echo "*** The pkg-config script could not be found. Make sure it is"
11429 echo "*** in your path, or set the PKG_CONFIG environment variable"
11430 echo "*** to the full path to pkg-config."
11431 echo "*** Or see http://www.freedesktop.org/software/pkgconfig to get pkg-config."
11433 PKG_CONFIG_MIN_VERSION
=0.9.0
11434 if $PKG_CONFIG --atleast-pkgconfig-version $PKG_CONFIG_MIN_VERSION; then
11435 echo "$as_me:$LINENO: checking for gtk+-2.0 >= 2.8 gthread-2.0 >= 2.2 gdk-pixbuf-2.0" >&5
11436 echo $ECHO_N "checking for gtk+-2.0 >= 2.8 gthread-2.0 >= 2.2 gdk-pixbuf-2.0... $ECHO_C" >&6
11438 if $PKG_CONFIG --exists "gtk+-2.0 >= 2.8 gthread-2.0 >= 2.2 gdk-pixbuf-2.0" ; then
11439 echo "$as_me:$LINENO: result: yes" >&5
11440 echo "${ECHO_T}yes" >&6
11443 echo "$as_me:$LINENO: checking GTK_CFLAGS" >&5
11444 echo $ECHO_N "checking GTK_CFLAGS... $ECHO_C" >&6
11445 GTK_CFLAGS
=`$PKG_CONFIG --cflags "gtk+-2.0 >= 2.8 gthread-2.0 >= 2.2 gdk-pixbuf-2.0"`
11446 echo "$as_me:$LINENO: result: $GTK_CFLAGS" >&5
11447 echo "${ECHO_T}$GTK_CFLAGS" >&6
11449 echo "$as_me:$LINENO: checking GTK_LIBS" >&5
11450 echo $ECHO_N "checking GTK_LIBS... $ECHO_C" >&6
11451 GTK_LIBS
=`$PKG_CONFIG --libs "gtk+-2.0 >= 2.8 gthread-2.0 >= 2.2 gdk-pixbuf-2.0"`
11452 echo "$as_me:$LINENO: result: $GTK_LIBS" >&5
11453 echo "${ECHO_T}$GTK_LIBS" >&6
11457 ## If we have a custom action on failure, don't print errors, but
11458 ## do set a variable so people can do so.
11459 GTK_PKG_ERRORS
=`$PKG_CONFIG --errors-to-stdout --print-errors "gtk+-2.0 >= 2.8 gthread-2.0 >= 2.2 gdk-pixbuf-2.0"`
11460 echo $GTK_PKG_ERRORS
11466 echo "*** Your version of pkg-config is too old. You need version $PKG_CONFIG_MIN_VERSION or newer."
11467 echo "*** See http://www.freedesktop.org/software/pkgconfig"
11471 if test $succeeded = yes; then
11474 { { 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
11475 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;}
11476 { (exit 1); exit 1; }; }
11482 if test -z "$PKG_CONFIG"; then
11483 # Extract the first word of "pkg-config", so it can be a program name with args.
11484 set dummy pkg-config
; ac_word
=$2
11485 echo "$as_me:$LINENO: checking for $ac_word" >&5
11486 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
11487 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
11488 echo $ECHO_N "(cached) $ECHO_C" >&6
11490 case $PKG_CONFIG in
11492 ac_cv_path_PKG_CONFIG
="$PKG_CONFIG" # Let the user override the test with a path.
11495 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
11496 for as_dir
in $PATH
11499 test -z "$as_dir" && as_dir
=.
11500 for ac_exec_ext
in '' $ac_executable_extensions; do
11501 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
11502 ac_cv_path_PKG_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
11503 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
11509 test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG
="no"
11513 PKG_CONFIG
=$ac_cv_path_PKG_CONFIG
11515 if test -n "$PKG_CONFIG"; then
11516 echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
11517 echo "${ECHO_T}$PKG_CONFIG" >&6
11519 echo "$as_me:$LINENO: result: no" >&5
11520 echo "${ECHO_T}no" >&6
11525 if test "$PKG_CONFIG" = "no" ; then
11526 echo "*** The pkg-config script could not be found. Make sure it is"
11527 echo "*** in your path, or set the PKG_CONFIG environment variable"
11528 echo "*** to the full path to pkg-config."
11529 echo "*** Or see http://www.freedesktop.org/software/pkgconfig to get pkg-config."
11531 PKG_CONFIG_MIN_VERSION
=0.9.0
11532 if $PKG_CONFIG --atleast-pkgconfig-version $PKG_CONFIG_MIN_VERSION; then
11533 echo "$as_me:$LINENO: checking for freetype2" >&5
11534 echo $ECHO_N "checking for freetype2... $ECHO_C" >&6
11536 if $PKG_CONFIG --exists "freetype2" ; then
11537 echo "$as_me:$LINENO: result: yes" >&5
11538 echo "${ECHO_T}yes" >&6
11541 echo "$as_me:$LINENO: checking FREETYPE2_CFLAGS" >&5
11542 echo $ECHO_N "checking FREETYPE2_CFLAGS... $ECHO_C" >&6
11543 FREETYPE2_CFLAGS
=`$PKG_CONFIG --cflags "freetype2"`
11544 echo "$as_me:$LINENO: result: $FREETYPE2_CFLAGS" >&5
11545 echo "${ECHO_T}$FREETYPE2_CFLAGS" >&6
11547 echo "$as_me:$LINENO: checking FREETYPE2_LIBS" >&5
11548 echo $ECHO_N "checking FREETYPE2_LIBS... $ECHO_C" >&6
11549 FREETYPE2_LIBS
=`$PKG_CONFIG --libs "freetype2"`
11550 echo "$as_me:$LINENO: result: $FREETYPE2_LIBS" >&5
11551 echo "${ECHO_T}$FREETYPE2_LIBS" >&6
11553 FREETYPE2_CFLAGS
=""
11555 ## If we have a custom action on failure, don't print errors, but
11556 ## do set a variable so people can do so.
11557 FREETYPE2_PKG_ERRORS
=`$PKG_CONFIG --errors-to-stdout --print-errors "freetype2"`
11558 echo $FREETYPE2_PKG_ERRORS
11564 echo "*** Your version of pkg-config is too old. You need version $PKG_CONFIG_MIN_VERSION or newer."
11565 echo "*** See http://www.freedesktop.org/software/pkgconfig"
11569 if test $succeeded = yes; then
11572 { { 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
11573 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;}
11574 { (exit 1); exit 1; }; }
11580 if test -z "$PKG_CONFIG"; then
11581 # Extract the first word of "pkg-config", so it can be a program name with args.
11582 set dummy pkg-config
; ac_word
=$2
11583 echo "$as_me:$LINENO: checking for $ac_word" >&5
11584 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
11585 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
11586 echo $ECHO_N "(cached) $ECHO_C" >&6
11588 case $PKG_CONFIG in
11590 ac_cv_path_PKG_CONFIG
="$PKG_CONFIG" # Let the user override the test with a path.
11593 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
11594 for as_dir
in $PATH
11597 test -z "$as_dir" && as_dir
=.
11598 for ac_exec_ext
in '' $ac_executable_extensions; do
11599 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
11600 ac_cv_path_PKG_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
11601 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
11607 test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG
="no"
11611 PKG_CONFIG
=$ac_cv_path_PKG_CONFIG
11613 if test -n "$PKG_CONFIG"; then
11614 echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
11615 echo "${ECHO_T}$PKG_CONFIG" >&6
11617 echo "$as_me:$LINENO: result: no" >&5
11618 echo "${ECHO_T}no" >&6
11623 if test "$PKG_CONFIG" = "no" ; then
11624 echo "*** The pkg-config script could not be found. Make sure it is"
11625 echo "*** in your path, or set the PKG_CONFIG environment variable"
11626 echo "*** to the full path to pkg-config."
11627 echo "*** Or see http://www.freedesktop.org/software/pkgconfig to get pkg-config."
11629 PKG_CONFIG_MIN_VERSION
=0.9.0
11630 if $PKG_CONFIG --atleast-pkgconfig-version $PKG_CONFIG_MIN_VERSION; then
11631 echo "$as_me:$LINENO: checking for pangoft2" >&5
11632 echo $ECHO_N "checking for pangoft2... $ECHO_C" >&6
11634 if $PKG_CONFIG --exists "pangoft2" ; then
11635 echo "$as_me:$LINENO: result: yes" >&5
11636 echo "${ECHO_T}yes" >&6
11639 echo "$as_me:$LINENO: checking PANGOFT2_CFLAGS" >&5
11640 echo $ECHO_N "checking PANGOFT2_CFLAGS... $ECHO_C" >&6
11641 PANGOFT2_CFLAGS
=`$PKG_CONFIG --cflags "pangoft2"`
11642 echo "$as_me:$LINENO: result: $PANGOFT2_CFLAGS" >&5
11643 echo "${ECHO_T}$PANGOFT2_CFLAGS" >&6
11645 echo "$as_me:$LINENO: checking PANGOFT2_LIBS" >&5
11646 echo $ECHO_N "checking PANGOFT2_LIBS... $ECHO_C" >&6
11647 PANGOFT2_LIBS
=`$PKG_CONFIG --libs "pangoft2"`
11648 echo "$as_me:$LINENO: result: $PANGOFT2_LIBS" >&5
11649 echo "${ECHO_T}$PANGOFT2_LIBS" >&6
11653 ## If we have a custom action on failure, don't print errors, but
11654 ## do set a variable so people can do so.
11655 PANGOFT2_PKG_ERRORS
=`$PKG_CONFIG --errors-to-stdout --print-errors "pangoft2"`
11656 echo $PANGOFT2_PKG_ERRORS
11662 echo "*** Your version of pkg-config is too old. You need version $PKG_CONFIG_MIN_VERSION or newer."
11663 echo "*** See http://www.freedesktop.org/software/pkgconfig"
11667 if test $succeeded = yes; then
11670 { { 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
11671 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;}
11672 { (exit 1); exit 1; }; }
11675 echo "$as_me:$LINENO: checking for XRenderQueryExtension in -lXrender" >&5
11676 echo $ECHO_N "checking for XRenderQueryExtension in -lXrender... $ECHO_C" >&6
11677 if test "${ac_cv_lib_Xrender_XRenderQueryExtension+set}" = set; then
11678 echo $ECHO_N "(cached) $ECHO_C" >&6
11680 ac_check_lib_save_LIBS
=$LIBS
11681 LIBS
="-lXrender ${X_LIBS} $LIBS"
11682 cat >conftest.
$ac_ext <<_ACEOF
11685 cat confdefs.h
>>conftest.
$ac_ext
11686 cat >>conftest.
$ac_ext <<_ACEOF
11687 /* end confdefs.h. */
11689 /* Override any gcc2 internal prototype to avoid an error. */
11693 /* We use char because int might match the return type of a gcc2
11694 builtin and then its argument prototype would still apply. */
11695 char XRenderQueryExtension ();
11699 XRenderQueryExtension ();
11704 rm -f conftest.
$ac_objext conftest
$ac_exeext
11705 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
11706 (eval $ac_link) 2>conftest.er1
11708 grep -v '^ *+' conftest.er1
>conftest.err
11710 cat conftest.err
>&5
11711 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11712 (exit $ac_status); } &&
11713 { ac_try
='test -z "$ac_c_werror_flag"
11714 || test ! -s conftest.err'
11715 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11716 (eval $ac_try) 2>&5
11718 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11719 (exit $ac_status); }; } &&
11720 { ac_try
='test -s conftest$ac_exeext'
11721 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11722 (eval $ac_try) 2>&5
11724 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11725 (exit $ac_status); }; }; then
11726 ac_cv_lib_Xrender_XRenderQueryExtension
=yes
11728 echo "$as_me: failed program was:" >&5
11729 sed 's/^/| /' conftest.
$ac_ext >&5
11731 ac_cv_lib_Xrender_XRenderQueryExtension
=no
11733 rm -f conftest.err conftest.
$ac_objext \
11734 conftest
$ac_exeext conftest.
$ac_ext
11735 LIBS
=$ac_check_lib_save_LIBS
11737 echo "$as_me:$LINENO: result: $ac_cv_lib_Xrender_XRenderQueryExtension" >&5
11738 echo "${ECHO_T}$ac_cv_lib_Xrender_XRenderQueryExtension" >&6
11739 if test $ac_cv_lib_Xrender_XRenderQueryExtension = yes; then
11741 cat >>confdefs.h
<<\_ACEOF
11742 #define HAVE_XRENDER 1
11744 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lXrender"
11750 echo "$as_me:$LINENO: checking for XRRQueryExtension in -lXrandr" >&5
11751 echo $ECHO_N "checking for XRRQueryExtension in -lXrandr... $ECHO_C" >&6
11752 if test "${ac_cv_lib_Xrandr_XRRQueryExtension+set}" = set; then
11753 echo $ECHO_N "(cached) $ECHO_C" >&6
11755 ac_check_lib_save_LIBS
=$LIBS
11756 LIBS
="-lXrandr ${X_LIBS} $LIBS"
11757 cat >conftest.
$ac_ext <<_ACEOF
11760 cat confdefs.h
>>conftest.
$ac_ext
11761 cat >>conftest.
$ac_ext <<_ACEOF
11762 /* end confdefs.h. */
11764 /* Override any gcc2 internal prototype to avoid an error. */
11768 /* We use char because int might match the return type of a gcc2
11769 builtin and then its argument prototype would still apply. */
11770 char XRRQueryExtension ();
11774 XRRQueryExtension ();
11779 rm -f conftest.
$ac_objext conftest
$ac_exeext
11780 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
11781 (eval $ac_link) 2>conftest.er1
11783 grep -v '^ *+' conftest.er1
>conftest.err
11785 cat conftest.err
>&5
11786 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11787 (exit $ac_status); } &&
11788 { ac_try
='test -z "$ac_c_werror_flag"
11789 || test ! -s conftest.err'
11790 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11791 (eval $ac_try) 2>&5
11793 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11794 (exit $ac_status); }; } &&
11795 { ac_try
='test -s conftest$ac_exeext'
11796 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11797 (eval $ac_try) 2>&5
11799 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11800 (exit $ac_status); }; }; then
11801 ac_cv_lib_Xrandr_XRRQueryExtension
=yes
11803 echo "$as_me: failed program was:" >&5
11804 sed 's/^/| /' conftest.
$ac_ext >&5
11806 ac_cv_lib_Xrandr_XRRQueryExtension
=no
11808 rm -f conftest.err conftest.
$ac_objext \
11809 conftest
$ac_exeext conftest.
$ac_ext
11810 LIBS
=$ac_check_lib_save_LIBS
11812 echo "$as_me:$LINENO: result: $ac_cv_lib_Xrandr_XRRQueryExtension" >&5
11813 echo "${ECHO_T}$ac_cv_lib_Xrandr_XRRQueryExtension" >&6
11814 if test $ac_cv_lib_Xrandr_XRRQueryExtension = yes; then
11816 cat >>confdefs.h
<<\_ACEOF
11817 #define HAVE_XRANDR 1
11819 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lXrandr"
11834 if test "x${COMPILE_QT_PEER}" = xyes
; then
11838 if test -z "$PKG_CONFIG"; then
11839 # Extract the first word of "pkg-config", so it can be a program name with args.
11840 set dummy pkg-config
; ac_word
=$2
11841 echo "$as_me:$LINENO: checking for $ac_word" >&5
11842 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
11843 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
11844 echo $ECHO_N "(cached) $ECHO_C" >&6
11846 case $PKG_CONFIG in
11848 ac_cv_path_PKG_CONFIG
="$PKG_CONFIG" # Let the user override the test with a path.
11851 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
11852 for as_dir
in $PATH
11855 test -z "$as_dir" && as_dir
=.
11856 for ac_exec_ext
in '' $ac_executable_extensions; do
11857 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
11858 ac_cv_path_PKG_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
11859 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
11865 test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG
="no"
11869 PKG_CONFIG
=$ac_cv_path_PKG_CONFIG
11871 if test -n "$PKG_CONFIG"; then
11872 echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
11873 echo "${ECHO_T}$PKG_CONFIG" >&6
11875 echo "$as_me:$LINENO: result: no" >&5
11876 echo "${ECHO_T}no" >&6
11881 if test "$PKG_CONFIG" = "no" ; then
11882 echo "*** The pkg-config script could not be found. Make sure it is"
11883 echo "*** in your path, or set the PKG_CONFIG environment variable"
11884 echo "*** to the full path to pkg-config."
11885 echo "*** Or see http://www.freedesktop.org/software/pkgconfig to get pkg-config."
11887 PKG_CONFIG_MIN_VERSION
=0.9.0
11888 if $PKG_CONFIG --atleast-pkgconfig-version $PKG_CONFIG_MIN_VERSION; then
11889 echo "$as_me:$LINENO: checking for QtCore QtGui >= 4.1.0" >&5
11890 echo $ECHO_N "checking for QtCore QtGui >= 4.1.0... $ECHO_C" >&6
11892 if $PKG_CONFIG --exists "QtCore QtGui >= 4.1.0" ; then
11893 echo "$as_me:$LINENO: result: yes" >&5
11894 echo "${ECHO_T}yes" >&6
11897 echo "$as_me:$LINENO: checking QT_CFLAGS" >&5
11898 echo $ECHO_N "checking QT_CFLAGS... $ECHO_C" >&6
11899 QT_CFLAGS
=`$PKG_CONFIG --cflags "QtCore QtGui >= 4.1.0"`
11900 echo "$as_me:$LINENO: result: $QT_CFLAGS" >&5
11901 echo "${ECHO_T}$QT_CFLAGS" >&6
11903 echo "$as_me:$LINENO: checking QT_LIBS" >&5
11904 echo $ECHO_N "checking QT_LIBS... $ECHO_C" >&6
11905 QT_LIBS
=`$PKG_CONFIG --libs "QtCore QtGui >= 4.1.0"`
11906 echo "$as_me:$LINENO: result: $QT_LIBS" >&5
11907 echo "${ECHO_T}$QT_LIBS" >&6
11911 ## If we have a custom action on failure, don't print errors, but
11912 ## do set a variable so people can do so.
11913 QT_PKG_ERRORS
=`$PKG_CONFIG --errors-to-stdout --print-errors "QtCore QtGui >= 4.1.0"`
11920 echo "*** Your version of pkg-config is too old. You need version $PKG_CONFIG_MIN_VERSION or newer."
11921 echo "*** See http://www.freedesktop.org/software/pkgconfig"
11925 if test $succeeded = yes; then
11931 if test "x$HAVE_QT4" = "xyes"; then
11932 QT_INCLUDE_DIR
=`$PKG_CONFIG --variable=includedir QtGui`
11933 EXTRA_QT_INCLUDE_DIR
="$QT_INCLUDE_DIR/Qt"
11934 as_ac_File
=`echo "ac_cv_file_$QT_INCLUDE_DIR/QWidget" | $as_tr_sh`
11935 echo "$as_me:$LINENO: checking for $QT_INCLUDE_DIR/QWidget" >&5
11936 echo $ECHO_N "checking for $QT_INCLUDE_DIR/QWidget... $ECHO_C" >&6
11937 if eval "test \"\${$as_ac_File+set}\" = set"; then
11938 echo $ECHO_N "(cached) $ECHO_C" >&6
11940 test "$cross_compiling" = yes &&
11941 { { echo "$as_me:$LINENO: error: cannot check for file existence when cross compiling" >&5
11942 echo "$as_me: error: cannot check for file existence when cross compiling" >&2;}
11943 { (exit 1); exit 1; }; }
11944 if test -r "$QT_INCLUDE_DIR/QWidget"; then
11945 eval "$as_ac_File=yes"
11947 eval "$as_ac_File=no"
11950 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_File'}'`" >&5
11951 echo "${ECHO_T}`eval echo '${'$as_ac_File'}'`" >&6
11952 if test `eval echo '${'$as_ac_File'}'` = yes; then
11953 { echo "$as_me:$LINENO: No extra QT_INCLUDE_DIR needed" >&5
11954 echo "$as_me: No extra QT_INCLUDE_DIR needed" >&6;}
11956 as_ac_File
=`echo "ac_cv_file_$EXTRA_QT_INCLUDE_DIR/QWidget" | $as_tr_sh`
11957 echo "$as_me:$LINENO: checking for $EXTRA_QT_INCLUDE_DIR/QWidget" >&5
11958 echo $ECHO_N "checking for $EXTRA_QT_INCLUDE_DIR/QWidget... $ECHO_C" >&6
11959 if eval "test \"\${$as_ac_File+set}\" = set"; then
11960 echo $ECHO_N "(cached) $ECHO_C" >&6
11962 test "$cross_compiling" = yes &&
11963 { { echo "$as_me:$LINENO: error: cannot check for file existence when cross compiling" >&5
11964 echo "$as_me: error: cannot check for file existence when cross compiling" >&2;}
11965 { (exit 1); exit 1; }; }
11966 if test -r "$EXTRA_QT_INCLUDE_DIR/QWidget"; then
11967 eval "$as_ac_File=yes"
11969 eval "$as_ac_File=no"
11972 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_File'}'`" >&5
11973 echo "${ECHO_T}`eval echo '${'$as_ac_File'}'`" >&6
11974 if test `eval echo '${'$as_ac_File'}'` = yes; then
11975 QT_CFLAGS
="$QT_CFLAGS -I$EXTRA_QT_INCLUDE_DIR"
11977 { echo "$as_me:$LINENO: WARNING: QWidget not found" >&5
11978 echo "$as_me: WARNING: QWidget not found" >&2;}
11983 # Extract the first word of "moc", so it can be a program name with args.
11984 set dummy moc
; ac_word
=$2
11985 echo "$as_me:$LINENO: checking for $ac_word" >&5
11986 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
11987 if test "${ac_cv_prog_MOC+set}" = set; then
11988 echo $ECHO_N "(cached) $ECHO_C" >&6
11990 if test -n "$MOC"; then
11991 ac_cv_prog_MOC
="$MOC" # Let the user override the test.
11993 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
11994 for as_dir
in $PATH
11997 test -z "$as_dir" && as_dir
=.
11998 for ac_exec_ext
in '' $ac_executable_extensions; do
11999 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
12000 ac_cv_prog_MOC
="moc"
12001 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
12009 MOC
=$ac_cv_prog_MOC
12010 if test -n "$MOC"; then
12011 echo "$as_me:$LINENO: result: $MOC" >&5
12012 echo "${ECHO_T}$MOC" >&6
12014 echo "$as_me:$LINENO: result: no" >&5
12015 echo "${ECHO_T}no" >&6
12019 if test "x$HAVE_QT4" = "xno"; then
12020 { echo "$as_me:$LINENO: Looking for QT_CFLAGS and QT_LIBS without pkg-config" >&5
12021 echo "$as_me: Looking for QT_CFLAGS and QT_LIBS without pkg-config" >&6;}
12025 # Check whether --with-qt4dir or --without-qt4dir was given.
12026 if test "${with_qt4dir+set}" = set; then
12027 withval
="$with_qt4dir"
12031 if test x
"$QT4DIR" = x
; then
12032 { { echo "$as_me:$LINENO: error: *** No path for Qt4 --with-qt4dir option given" >&5
12033 echo "$as_me: error: *** No path for Qt4 --with-qt4dir option given" >&2;}
12034 { (exit 1); exit 1; }; }
12036 echo "$as_me:$LINENO: result: QT4DIR... $QT4DIR" >&5
12037 echo "${ECHO_T}QT4DIR... $QT4DIR" >&6
12038 # Extract the first word of "moc", so it can be a program name with args.
12039 set dummy moc
; ac_word
=$2
12040 echo "$as_me:$LINENO: checking for $ac_word" >&5
12041 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
12042 if test "${ac_cv_prog_MOC+set}" = set; then
12043 echo $ECHO_N "(cached) $ECHO_C" >&6
12045 if test -n "$MOC"; then
12046 ac_cv_prog_MOC
="$MOC" # Let the user override the test.
12048 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
12049 for as_dir
in $QT4DIR/bin
12052 test -z "$as_dir" && as_dir
=.
12053 for ac_exec_ext
in '' $ac_executable_extensions; do
12054 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
12055 ac_cv_prog_MOC
="$QT4DIR/bin/moc"
12056 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
12064 MOC
=$ac_cv_prog_MOC
12065 if test -n "$MOC"; then
12066 echo "$as_me:$LINENO: result: $MOC" >&5
12067 echo "${ECHO_T}$MOC" >&6
12069 echo "$as_me:$LINENO: result: no" >&5
12070 echo "${ECHO_T}no" >&6
12073 if test x
"$MOC" = x
; then
12074 { { echo "$as_me:$LINENO: error: *** This is not the right Qt installation" >&5
12075 echo "$as_me: error: *** This is not the right Qt installation" >&2;}
12076 { (exit 1); exit 1; }; }
12078 QT_CFLAGS
="-F$QT4DIR/lib -I$QT4DIR/lib/QtCore.framework/Headers"
12079 QT_CFLAGS
="$QT_CFLAGS -I$QT4DIR/lib/QtGui.framework/Headers"
12080 QT_LIBS
="-Xlinker -F$QT4DIR/lib -Xlinker -framework -Xlinker QtCore"
12081 QT_LIBS
="$QT_LIBS -Xlinker -framework -Xlinker QtGui"
12084 { { echo "$as_me:$LINENO: error: *** Please check PKG_CONFIG_PATH or the version
12085 of your installed Qt4 installation." >&5
12086 echo "$as_me: error: *** Please check PKG_CONFIG_PATH or the version
12087 of your installed Qt4 installation." >&2;}
12088 { (exit 1); exit 1; }; }
12092 { echo "$as_me:$LINENO: Set QT_CFLAGS... $QT_CFLAGS" >&5
12093 echo "$as_me: Set QT_CFLAGS... $QT_CFLAGS" >&6;}
12098 if test "x${COMPILE_PLUGIN}" = xyes
; then
12102 if test -z "$PKG_CONFIG"; then
12103 # Extract the first word of "pkg-config", so it can be a program name with args.
12104 set dummy pkg-config
; ac_word
=$2
12105 echo "$as_me:$LINENO: checking for $ac_word" >&5
12106 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
12107 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
12108 echo $ECHO_N "(cached) $ECHO_C" >&6
12110 case $PKG_CONFIG in
12112 ac_cv_path_PKG_CONFIG
="$PKG_CONFIG" # Let the user override the test with a path.
12115 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
12116 for as_dir
in $PATH
12119 test -z "$as_dir" && as_dir
=.
12120 for ac_exec_ext
in '' $ac_executable_extensions; do
12121 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
12122 ac_cv_path_PKG_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
12123 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
12129 test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG
="no"
12133 PKG_CONFIG
=$ac_cv_path_PKG_CONFIG
12135 if test -n "$PKG_CONFIG"; then
12136 echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
12137 echo "${ECHO_T}$PKG_CONFIG" >&6
12139 echo "$as_me:$LINENO: result: no" >&5
12140 echo "${ECHO_T}no" >&6
12145 if test "$PKG_CONFIG" = "no" ; then
12146 echo "*** The pkg-config script could not be found. Make sure it is"
12147 echo "*** in your path, or set the PKG_CONFIG environment variable"
12148 echo "*** to the full path to pkg-config."
12149 echo "*** Or see http://www.freedesktop.org/software/pkgconfig to get pkg-config."
12151 PKG_CONFIG_MIN_VERSION
=0.9.0
12152 if $PKG_CONFIG --atleast-pkgconfig-version $PKG_CONFIG_MIN_VERSION; then
12153 echo "$as_me:$LINENO: checking for mozilla-plugin" >&5
12154 echo $ECHO_N "checking for mozilla-plugin... $ECHO_C" >&6
12156 if $PKG_CONFIG --exists "mozilla-plugin" ; then
12157 echo "$as_me:$LINENO: result: yes" >&5
12158 echo "${ECHO_T}yes" >&6
12161 echo "$as_me:$LINENO: checking MOZILLA_CFLAGS" >&5
12162 echo $ECHO_N "checking MOZILLA_CFLAGS... $ECHO_C" >&6
12163 MOZILLA_CFLAGS
=`$PKG_CONFIG --cflags "mozilla-plugin"`
12164 echo "$as_me:$LINENO: result: $MOZILLA_CFLAGS" >&5
12165 echo "${ECHO_T}$MOZILLA_CFLAGS" >&6
12167 echo "$as_me:$LINENO: checking MOZILLA_LIBS" >&5
12168 echo $ECHO_N "checking MOZILLA_LIBS... $ECHO_C" >&6
12169 MOZILLA_LIBS
=`$PKG_CONFIG --libs "mozilla-plugin"`
12170 echo "$as_me:$LINENO: result: $MOZILLA_LIBS" >&5
12171 echo "${ECHO_T}$MOZILLA_LIBS" >&6
12175 ## If we have a custom action on failure, don't print errors, but
12176 ## do set a variable so people can do so.
12177 MOZILLA_PKG_ERRORS
=`$PKG_CONFIG --errors-to-stdout --print-errors "mozilla-plugin"`
12184 echo "*** Your version of pkg-config is too old. You need version $PKG_CONFIG_MIN_VERSION or newer."
12185 echo "*** See http://www.freedesktop.org/software/pkgconfig"
12189 if test $succeeded = yes; then
12195 if test "x${MOZILLA_FOUND}" = xno
; then
12199 if test -z "$PKG_CONFIG"; then
12200 # Extract the first word of "pkg-config", so it can be a program name with args.
12201 set dummy pkg-config
; ac_word
=$2
12202 echo "$as_me:$LINENO: checking for $ac_word" >&5
12203 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
12204 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
12205 echo $ECHO_N "(cached) $ECHO_C" >&6
12207 case $PKG_CONFIG in
12209 ac_cv_path_PKG_CONFIG
="$PKG_CONFIG" # Let the user override the test with a path.
12212 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
12213 for as_dir
in $PATH
12216 test -z "$as_dir" && as_dir
=.
12217 for ac_exec_ext
in '' $ac_executable_extensions; do
12218 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
12219 ac_cv_path_PKG_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
12220 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
12226 test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG
="no"
12230 PKG_CONFIG
=$ac_cv_path_PKG_CONFIG
12232 if test -n "$PKG_CONFIG"; then
12233 echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
12234 echo "${ECHO_T}$PKG_CONFIG" >&6
12236 echo "$as_me:$LINENO: result: no" >&5
12237 echo "${ECHO_T}no" >&6
12242 if test "$PKG_CONFIG" = "no" ; then
12243 echo "*** The pkg-config script could not be found. Make sure it is"
12244 echo "*** in your path, or set the PKG_CONFIG environment variable"
12245 echo "*** to the full path to pkg-config."
12246 echo "*** Or see http://www.freedesktop.org/software/pkgconfig to get pkg-config."
12248 PKG_CONFIG_MIN_VERSION
=0.9.0
12249 if $PKG_CONFIG --atleast-pkgconfig-version $PKG_CONFIG_MIN_VERSION; then
12250 echo "$as_me:$LINENO: checking for firefox-plugin" >&5
12251 echo $ECHO_N "checking for firefox-plugin... $ECHO_C" >&6
12253 if $PKG_CONFIG --exists "firefox-plugin" ; then
12254 echo "$as_me:$LINENO: result: yes" >&5
12255 echo "${ECHO_T}yes" >&6
12258 echo "$as_me:$LINENO: checking MOZILLA_CFLAGS" >&5
12259 echo $ECHO_N "checking MOZILLA_CFLAGS... $ECHO_C" >&6
12260 MOZILLA_CFLAGS
=`$PKG_CONFIG --cflags "firefox-plugin"`
12261 echo "$as_me:$LINENO: result: $MOZILLA_CFLAGS" >&5
12262 echo "${ECHO_T}$MOZILLA_CFLAGS" >&6
12264 echo "$as_me:$LINENO: checking MOZILLA_LIBS" >&5
12265 echo $ECHO_N "checking MOZILLA_LIBS... $ECHO_C" >&6
12266 MOZILLA_LIBS
=`$PKG_CONFIG --libs "firefox-plugin"`
12267 echo "$as_me:$LINENO: result: $MOZILLA_LIBS" >&5
12268 echo "${ECHO_T}$MOZILLA_LIBS" >&6
12272 ## If we have a custom action on failure, don't print errors, but
12273 ## do set a variable so people can do so.
12274 MOZILLA_PKG_ERRORS
=`$PKG_CONFIG --errors-to-stdout --print-errors "firefox-plugin"`
12281 echo "*** Your version of pkg-config is too old. You need version $PKG_CONFIG_MIN_VERSION or newer."
12282 echo "*** See http://www.freedesktop.org/software/pkgconfig"
12286 if test $succeeded = yes; then
12293 if test "x${MOZILLA_FOUND}" = xno
; then
12297 if test -z "$PKG_CONFIG"; then
12298 # Extract the first word of "pkg-config", so it can be a program name with args.
12299 set dummy pkg-config
; ac_word
=$2
12300 echo "$as_me:$LINENO: checking for $ac_word" >&5
12301 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
12302 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
12303 echo $ECHO_N "(cached) $ECHO_C" >&6
12305 case $PKG_CONFIG in
12307 ac_cv_path_PKG_CONFIG
="$PKG_CONFIG" # Let the user override the test with a path.
12310 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
12311 for as_dir
in $PATH
12314 test -z "$as_dir" && as_dir
=.
12315 for ac_exec_ext
in '' $ac_executable_extensions; do
12316 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
12317 ac_cv_path_PKG_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
12318 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
12324 test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG
="no"
12328 PKG_CONFIG
=$ac_cv_path_PKG_CONFIG
12330 if test -n "$PKG_CONFIG"; then
12331 echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
12332 echo "${ECHO_T}$PKG_CONFIG" >&6
12334 echo "$as_me:$LINENO: result: no" >&5
12335 echo "${ECHO_T}no" >&6
12340 if test "$PKG_CONFIG" = "no" ; then
12341 echo "*** The pkg-config script could not be found. Make sure it is"
12342 echo "*** in your path, or set the PKG_CONFIG environment variable"
12343 echo "*** to the full path to pkg-config."
12344 echo "*** Or see http://www.freedesktop.org/software/pkgconfig to get pkg-config."
12346 PKG_CONFIG_MIN_VERSION
=0.9.0
12347 if $PKG_CONFIG --atleast-pkgconfig-version $PKG_CONFIG_MIN_VERSION; then
12348 echo "$as_me:$LINENO: checking for xulrunner-plugin" >&5
12349 echo $ECHO_N "checking for xulrunner-plugin... $ECHO_C" >&6
12351 if $PKG_CONFIG --exists "xulrunner-plugin" ; then
12352 echo "$as_me:$LINENO: result: yes" >&5
12353 echo "${ECHO_T}yes" >&6
12356 echo "$as_me:$LINENO: checking MOZILLA_CFLAGS" >&5
12357 echo $ECHO_N "checking MOZILLA_CFLAGS... $ECHO_C" >&6
12358 MOZILLA_CFLAGS
=`$PKG_CONFIG --cflags "xulrunner-plugin"`
12359 echo "$as_me:$LINENO: result: $MOZILLA_CFLAGS" >&5
12360 echo "${ECHO_T}$MOZILLA_CFLAGS" >&6
12362 echo "$as_me:$LINENO: checking MOZILLA_LIBS" >&5
12363 echo $ECHO_N "checking MOZILLA_LIBS... $ECHO_C" >&6
12364 MOZILLA_LIBS
=`$PKG_CONFIG --libs "xulrunner-plugin"`
12365 echo "$as_me:$LINENO: result: $MOZILLA_LIBS" >&5
12366 echo "${ECHO_T}$MOZILLA_LIBS" >&6
12370 ## If we have a custom action on failure, don't print errors, but
12371 ## do set a variable so people can do so.
12372 MOZILLA_PKG_ERRORS
=`$PKG_CONFIG --errors-to-stdout --print-errors "xulrunner-plugin"`
12379 echo "*** Your version of pkg-config is too old. You need version $PKG_CONFIG_MIN_VERSION or newer."
12380 echo "*** See http://www.freedesktop.org/software/pkgconfig"
12384 if test $succeeded = yes; then
12394 if test -z "$PKG_CONFIG"; then
12395 # Extract the first word of "pkg-config", so it can be a program name with args.
12396 set dummy pkg-config
; ac_word
=$2
12397 echo "$as_me:$LINENO: checking for $ac_word" >&5
12398 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
12399 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
12400 echo $ECHO_N "(cached) $ECHO_C" >&6
12402 case $PKG_CONFIG in
12404 ac_cv_path_PKG_CONFIG
="$PKG_CONFIG" # Let the user override the test with a path.
12407 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
12408 for as_dir
in $PATH
12411 test -z "$as_dir" && as_dir
=.
12412 for ac_exec_ext
in '' $ac_executable_extensions; do
12413 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
12414 ac_cv_path_PKG_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
12415 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
12421 test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG
="no"
12425 PKG_CONFIG
=$ac_cv_path_PKG_CONFIG
12427 if test -n "$PKG_CONFIG"; then
12428 echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
12429 echo "${ECHO_T}$PKG_CONFIG" >&6
12431 echo "$as_me:$LINENO: result: no" >&5
12432 echo "${ECHO_T}no" >&6
12437 if test "$PKG_CONFIG" = "no" ; then
12438 echo "*** The pkg-config script could not be found. Make sure it is"
12439 echo "*** in your path, or set the PKG_CONFIG environment variable"
12440 echo "*** to the full path to pkg-config."
12441 echo "*** Or see http://www.freedesktop.org/software/pkgconfig to get pkg-config."
12443 PKG_CONFIG_MIN_VERSION
=0.9.0
12444 if $PKG_CONFIG --atleast-pkgconfig-version $PKG_CONFIG_MIN_VERSION; then
12445 echo "$as_me:$LINENO: checking for glib-2.0" >&5
12446 echo $ECHO_N "checking for glib-2.0... $ECHO_C" >&6
12448 if $PKG_CONFIG --exists "glib-2.0" ; then
12449 echo "$as_me:$LINENO: result: yes" >&5
12450 echo "${ECHO_T}yes" >&6
12453 echo "$as_me:$LINENO: checking GLIB_CFLAGS" >&5
12454 echo $ECHO_N "checking GLIB_CFLAGS... $ECHO_C" >&6
12455 GLIB_CFLAGS
=`$PKG_CONFIG --cflags "glib-2.0"`
12456 echo "$as_me:$LINENO: result: $GLIB_CFLAGS" >&5
12457 echo "${ECHO_T}$GLIB_CFLAGS" >&6
12459 echo "$as_me:$LINENO: checking GLIB_LIBS" >&5
12460 echo $ECHO_N "checking GLIB_LIBS... $ECHO_C" >&6
12461 GLIB_LIBS
=`$PKG_CONFIG --libs "glib-2.0"`
12462 echo "$as_me:$LINENO: result: $GLIB_LIBS" >&5
12463 echo "${ECHO_T}$GLIB_LIBS" >&6
12467 ## If we have a custom action on failure, don't print errors, but
12468 ## do set a variable so people can do so.
12469 GLIB_PKG_ERRORS
=`$PKG_CONFIG --errors-to-stdout --print-errors "glib-2.0"`
12470 echo $GLIB_PKG_ERRORS
12476 echo "*** Your version of pkg-config is too old. You need version $PKG_CONFIG_MIN_VERSION or newer."
12477 echo "*** See http://www.freedesktop.org/software/pkgconfig"
12481 if test $succeeded = yes; then
12484 { { 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
12485 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;}
12486 { (exit 1); exit 1; }; }
12495 PLUGIN_DIR
=$HOME/.mozilla
/plugins
/
12502 # Check whether --with-javah or --without-javah was given.
12503 if test "${with_javah+set}" = set; then
12504 withval
="$with_javah"
12506 if test "x${withval}" != x && test "x${withval}" != xyes && test "x${withval}" != xno
; then
12508 if test "x${withval}" != x
; then
12509 if test -f "${withval}"; then
12510 USER_JAVAH
="${withval}"
12512 # Extract the first word of ""${withval}"", so it can be a program name with args.
12513 set dummy
"${withval}"; ac_word
=$2
12514 echo "$as_me:$LINENO: checking for $ac_word" >&5
12515 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
12516 if test "${ac_cv_path_USER_JAVAH+set}" = set; then
12517 echo $ECHO_N "(cached) $ECHO_C" >&6
12519 case $USER_JAVAH in
12521 ac_cv_path_USER_JAVAH
="$USER_JAVAH" # Let the user override the test with a path.
12524 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
12525 for as_dir
in $PATH
12528 test -z "$as_dir" && as_dir
=.
12529 for ac_exec_ext
in '' $ac_executable_extensions; do
12530 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
12531 ac_cv_path_USER_JAVAH
="$as_dir/$ac_word$ac_exec_ext"
12532 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
12541 USER_JAVAH
=$ac_cv_path_USER_JAVAH
12543 if test -n "$USER_JAVAH"; then
12544 echo "$as_me:$LINENO: result: $USER_JAVAH" >&5
12545 echo "${ECHO_T}$USER_JAVAH" >&6
12547 echo "$as_me:$LINENO: result: no" >&5
12548 echo "${ECHO_T}no" >&6
12553 for javah_name
in gcjh javah
; do
12554 # Extract the first word of ""$javah_name"", so it can be a program name with args.
12555 set dummy
"$javah_name"; ac_word
=$2
12556 echo "$as_me:$LINENO: checking for $ac_word" >&5
12557 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
12558 if test "${ac_cv_path_USER_JAVAH+set}" = set; then
12559 echo $ECHO_N "(cached) $ECHO_C" >&6
12561 case $USER_JAVAH in
12563 ac_cv_path_USER_JAVAH
="$USER_JAVAH" # Let the user override the test with a path.
12566 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
12567 for as_dir
in $PATH
12570 test -z "$as_dir" && as_dir
=.
12571 for ac_exec_ext
in '' $ac_executable_extensions; do
12572 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
12573 ac_cv_path_USER_JAVAH
="$as_dir/$ac_word$ac_exec_ext"
12574 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
12583 USER_JAVAH
=$ac_cv_path_USER_JAVAH
12585 if test -n "$USER_JAVAH"; then
12586 echo "$as_me:$LINENO: result: $USER_JAVAH" >&5
12587 echo "${ECHO_T}$USER_JAVAH" >&6
12589 echo "$as_me:$LINENO: result: no" >&5
12590 echo "${ECHO_T}no" >&6
12593 if test "x${USER_JAVAH}" != x
; then
12599 # if test "x${USER_JAVAH}" = x; then
12600 # echo "configure: cannot find javah" 1>&2
12606 if test "x" != x
; then
12607 if test -f ""; then
12610 # Extract the first word of """", so it can be a program name with args.
12611 set dummy
""; ac_word
=$2
12612 echo "$as_me:$LINENO: checking for $ac_word" >&5
12613 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
12614 if test "${ac_cv_path_USER_JAVAH+set}" = set; then
12615 echo $ECHO_N "(cached) $ECHO_C" >&6
12617 case $USER_JAVAH in
12619 ac_cv_path_USER_JAVAH
="$USER_JAVAH" # Let the user override the test with a path.
12622 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
12623 for as_dir
in $PATH
12626 test -z "$as_dir" && as_dir
=.
12627 for ac_exec_ext
in '' $ac_executable_extensions; do
12628 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
12629 ac_cv_path_USER_JAVAH
="$as_dir/$ac_word$ac_exec_ext"
12630 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
12639 USER_JAVAH
=$ac_cv_path_USER_JAVAH
12641 if test -n "$USER_JAVAH"; then
12642 echo "$as_me:$LINENO: result: $USER_JAVAH" >&5
12643 echo "${ECHO_T}$USER_JAVAH" >&6
12645 echo "$as_me:$LINENO: result: no" >&5
12646 echo "${ECHO_T}no" >&6
12651 for javah_name
in gcjh javah
; do
12652 # Extract the first word of ""$javah_name"", so it can be a program name with args.
12653 set dummy
"$javah_name"; ac_word
=$2
12654 echo "$as_me:$LINENO: checking for $ac_word" >&5
12655 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
12656 if test "${ac_cv_path_USER_JAVAH+set}" = set; then
12657 echo $ECHO_N "(cached) $ECHO_C" >&6
12659 case $USER_JAVAH in
12661 ac_cv_path_USER_JAVAH
="$USER_JAVAH" # Let the user override the test with a path.
12664 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
12665 for as_dir
in $PATH
12668 test -z "$as_dir" && as_dir
=.
12669 for ac_exec_ext
in '' $ac_executable_extensions; do
12670 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
12671 ac_cv_path_USER_JAVAH
="$as_dir/$ac_word$ac_exec_ext"
12672 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
12681 USER_JAVAH
=$ac_cv_path_USER_JAVAH
12683 if test -n "$USER_JAVAH"; then
12684 echo "$as_me:$LINENO: result: $USER_JAVAH" >&5
12685 echo "${ECHO_T}$USER_JAVAH" >&6
12687 echo "$as_me:$LINENO: result: no" >&5
12688 echo "${ECHO_T}no" >&6
12691 if test "x${USER_JAVAH}" != x
; then
12697 # if test "x${USER_JAVAH}" = x; then
12698 # echo "configure: cannot find javah" 1>&2
12707 if test "x" != x
; then
12708 if test -f ""; then
12711 # Extract the first word of """", so it can be a program name with args.
12712 set dummy
""; ac_word
=$2
12713 echo "$as_me:$LINENO: checking for $ac_word" >&5
12714 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
12715 if test "${ac_cv_path_USER_JAVAH+set}" = set; then
12716 echo $ECHO_N "(cached) $ECHO_C" >&6
12718 case $USER_JAVAH in
12720 ac_cv_path_USER_JAVAH
="$USER_JAVAH" # Let the user override the test with a path.
12723 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
12724 for as_dir
in $PATH
12727 test -z "$as_dir" && as_dir
=.
12728 for ac_exec_ext
in '' $ac_executable_extensions; do
12729 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
12730 ac_cv_path_USER_JAVAH
="$as_dir/$ac_word$ac_exec_ext"
12731 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
12740 USER_JAVAH
=$ac_cv_path_USER_JAVAH
12742 if test -n "$USER_JAVAH"; then
12743 echo "$as_me:$LINENO: result: $USER_JAVAH" >&5
12744 echo "${ECHO_T}$USER_JAVAH" >&6
12746 echo "$as_me:$LINENO: result: no" >&5
12747 echo "${ECHO_T}no" >&6
12752 for javah_name
in gcjh javah
; do
12753 # Extract the first word of ""$javah_name"", so it can be a program name with args.
12754 set dummy
"$javah_name"; ac_word
=$2
12755 echo "$as_me:$LINENO: checking for $ac_word" >&5
12756 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
12757 if test "${ac_cv_path_USER_JAVAH+set}" = set; then
12758 echo $ECHO_N "(cached) $ECHO_C" >&6
12760 case $USER_JAVAH in
12762 ac_cv_path_USER_JAVAH
="$USER_JAVAH" # Let the user override the test with a path.
12765 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
12766 for as_dir
in $PATH
12769 test -z "$as_dir" && as_dir
=.
12770 for ac_exec_ext
in '' $ac_executable_extensions; do
12771 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
12772 ac_cv_path_USER_JAVAH
="$as_dir/$ac_word$ac_exec_ext"
12773 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
12782 USER_JAVAH
=$ac_cv_path_USER_JAVAH
12784 if test -n "$USER_JAVAH"; then
12785 echo "$as_me:$LINENO: result: $USER_JAVAH" >&5
12786 echo "${ECHO_T}$USER_JAVAH" >&6
12788 echo "$as_me:$LINENO: result: no" >&5
12789 echo "${ECHO_T}no" >&6
12792 if test "x${USER_JAVAH}" != x
; then
12798 # if test "x${USER_JAVAH}" = x; then
12799 # echo "configure: cannot find javah" 1>&2
12807 if test "x${USER_JAVAH}" != x
; then
12808 USER_SPECIFIED_JAVAH_TRUE
=
12809 USER_SPECIFIED_JAVAH_FALSE
='#'
12811 USER_SPECIFIED_JAVAH_TRUE
='#'
12812 USER_SPECIFIED_JAVAH_FALSE
=
12818 CLASSPATH_INCLUDES
="-I\$(top_srcdir)/include -I\$(top_srcdir)/native/jni/classpath -I\$(top_srcdir)/native/target/Linux -I\$(top_srcdir)/native/target/generic"
12821 if test "x${COMPILE_JNI}" = xyes
; then
12822 echo "$as_me:$LINENO: checking jni_md.h support" >&5
12823 echo $ECHO_N "checking jni_md.h support... $ECHO_C" >&6
12824 if test -f ${srcdir}/include/jni_md-${target_cpu}-${target_os}.h
; then
12825 echo "$as_me:$LINENO: result: yes" >&5
12826 echo "${ECHO_T}yes" >&6
12829 target_os
=linux-gnu
12830 { echo "$as_me:$LINENO: WARNING: no" >&5
12831 echo "$as_me: WARNING: no" >&2;}
12833 ac_sources
="include/jni_md-${target_cpu}-${target_os}.h"
12834 ac_dests
="include/jni_md.h"
12835 while test -n "$ac_sources"; do
12836 set $ac_dests; ac_dest
=$1; shift; ac_dests
=$
*
12837 set $ac_sources; ac_source
=$1; shift; ac_sources
=$
*
12838 ac_config_links_1
="$ac_config_links_1 $ac_dest:$ac_source"
12840 ac_config_links
="$ac_config_links $ac_config_links_1"
12845 user_specified_javac
=
12849 # Check whether --with-gcj or --without-gcj was given.
12850 if test "${with_gcj+set}" = set; then
12851 withval
="$with_gcj"
12853 if test "x${withval}" != x && test "x${withval}" != xyes && test "x${withval}" != xno
; then
12855 if test "x${withval}" != x
; then
12856 if test -f "${withval}"; then
12859 # Extract the first word of ""${withval}"", so it can be a program name with args.
12860 set dummy
"${withval}"; ac_word
=$2
12861 echo "$as_me:$LINENO: checking for $ac_word" >&5
12862 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
12863 if test "${ac_cv_path_GCJ+set}" = set; then
12864 echo $ECHO_N "(cached) $ECHO_C" >&6
12868 ac_cv_path_GCJ
="$GCJ" # Let the user override the test with a path.
12871 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
12872 for as_dir
in $PATH
12875 test -z "$as_dir" && as_dir
=.
12876 for ac_exec_ext
in '' $ac_executable_extensions; do
12877 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
12878 ac_cv_path_GCJ
="$as_dir/$ac_word$ac_exec_ext"
12879 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
12888 GCJ
=$ac_cv_path_GCJ
12890 if test -n "$GCJ"; then
12891 echo "$as_me:$LINENO: result: $GCJ" >&5
12892 echo "${ECHO_T}$GCJ" >&6
12894 echo "$as_me:$LINENO: result: no" >&5
12895 echo "${ECHO_T}no" >&6
12900 # Extract the first word of ""gcj"", so it can be a program name with args.
12901 set dummy
"gcj"; ac_word
=$2
12902 echo "$as_me:$LINENO: checking for $ac_word" >&5
12903 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
12904 if test "${ac_cv_path_GCJ+set}" = set; then
12905 echo $ECHO_N "(cached) $ECHO_C" >&6
12909 ac_cv_path_GCJ
="$GCJ" # Let the user override the test with a path.
12912 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
12913 for as_dir
in $PATH
12916 test -z "$as_dir" && as_dir
=.
12917 for ac_exec_ext
in '' $ac_executable_extensions; do
12918 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
12919 ac_cv_path_GCJ
="$as_dir/$ac_word$ac_exec_ext"
12920 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
12929 GCJ
=$ac_cv_path_GCJ
12931 if test -n "$GCJ"; then
12932 echo "$as_me:$LINENO: result: $GCJ" >&5
12933 echo "${ECHO_T}$GCJ" >&6
12935 echo "$as_me:$LINENO: result: no" >&5
12936 echo "${ECHO_T}no" >&6
12940 if test "x$GCJ" != x
; then
12941 echo "$as_me:$LINENO: checking gcj version 4.0" >&5
12942 echo $ECHO_N "checking gcj version 4.0... $ECHO_C" >&6
12944 ac_cpp
='$CPP $CPPFLAGS'
12945 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12946 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12947 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
12949 cat >conftest.
$ac_ext <<_ACEOF
12951 #error GCJ 4.0.0 or higher is required
12955 $GCJ -E conftest.c
> /dev
/null
12957 if test "x$gcj_4_result" = "x0"; then
12958 echo "$as_me:$LINENO: result: 4.0 or higher found" >&5
12959 echo "${ECHO_T}4.0 or higher found" >&6
12961 { echo "$as_me:$LINENO: WARNING: 4.0 or higher required" >&5
12962 echo "$as_me: WARNING: 4.0 or higher required" >&2;}
12965 ac_cpp
='$CPP $CPPFLAGS'
12966 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12967 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12968 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
12973 if test "x${withval}" != xno
; then
12975 if test "x" != x
; then
12976 if test -f ""; then
12979 # Extract the first word of """", so it can be a program name with args.
12980 set dummy
""; ac_word
=$2
12981 echo "$as_me:$LINENO: checking for $ac_word" >&5
12982 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
12983 if test "${ac_cv_path_GCJ+set}" = set; then
12984 echo $ECHO_N "(cached) $ECHO_C" >&6
12988 ac_cv_path_GCJ
="$GCJ" # Let the user override the test with a path.
12991 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
12992 for as_dir
in $PATH
12995 test -z "$as_dir" && as_dir
=.
12996 for ac_exec_ext
in '' $ac_executable_extensions; do
12997 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
12998 ac_cv_path_GCJ
="$as_dir/$ac_word$ac_exec_ext"
12999 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
13008 GCJ
=$ac_cv_path_GCJ
13010 if test -n "$GCJ"; then
13011 echo "$as_me:$LINENO: result: $GCJ" >&5
13012 echo "${ECHO_T}$GCJ" >&6
13014 echo "$as_me:$LINENO: result: no" >&5
13015 echo "${ECHO_T}no" >&6
13020 # Extract the first word of ""gcj"", so it can be a program name with args.
13021 set dummy
"gcj"; ac_word
=$2
13022 echo "$as_me:$LINENO: checking for $ac_word" >&5
13023 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
13024 if test "${ac_cv_path_GCJ+set}" = set; then
13025 echo $ECHO_N "(cached) $ECHO_C" >&6
13029 ac_cv_path_GCJ
="$GCJ" # Let the user override the test with a path.
13032 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
13033 for as_dir
in $PATH
13036 test -z "$as_dir" && as_dir
=.
13037 for ac_exec_ext
in '' $ac_executable_extensions; do
13038 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
13039 ac_cv_path_GCJ
="$as_dir/$ac_word$ac_exec_ext"
13040 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
13049 GCJ
=$ac_cv_path_GCJ
13051 if test -n "$GCJ"; then
13052 echo "$as_me:$LINENO: result: $GCJ" >&5
13053 echo "${ECHO_T}$GCJ" >&6
13055 echo "$as_me:$LINENO: result: no" >&5
13056 echo "${ECHO_T}no" >&6
13060 if test "x$GCJ" != x
; then
13061 echo "$as_me:$LINENO: checking gcj version 4.0" >&5
13062 echo $ECHO_N "checking gcj version 4.0... $ECHO_C" >&6
13064 ac_cpp
='$CPP $CPPFLAGS'
13065 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13066 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13067 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
13069 cat >conftest.
$ac_ext <<_ACEOF
13071 #error GCJ 4.0.0 or higher is required
13075 $GCJ -E conftest.c
> /dev
/null
13077 if test "x$gcj_4_result" = "x0"; then
13078 echo "$as_me:$LINENO: result: 4.0 or higher found" >&5
13079 echo "${ECHO_T}4.0 or higher found" >&6
13081 { echo "$as_me:$LINENO: WARNING: 4.0 or higher required" >&5
13082 echo "$as_me: WARNING: 4.0 or higher required" >&2;}
13085 ac_cpp
='$CPP $CPPFLAGS'
13086 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13087 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13088 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
13094 user_specified_javac
=gcj
13099 if test "x" != x
; then
13100 if test -f ""; then
13103 # Extract the first word of """", so it can be a program name with args.
13104 set dummy
""; ac_word
=$2
13105 echo "$as_me:$LINENO: checking for $ac_word" >&5
13106 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
13107 if test "${ac_cv_path_GCJ+set}" = set; then
13108 echo $ECHO_N "(cached) $ECHO_C" >&6
13112 ac_cv_path_GCJ
="$GCJ" # Let the user override the test with a path.
13115 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
13116 for as_dir
in $PATH
13119 test -z "$as_dir" && as_dir
=.
13120 for ac_exec_ext
in '' $ac_executable_extensions; do
13121 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
13122 ac_cv_path_GCJ
="$as_dir/$ac_word$ac_exec_ext"
13123 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
13132 GCJ
=$ac_cv_path_GCJ
13134 if test -n "$GCJ"; then
13135 echo "$as_me:$LINENO: result: $GCJ" >&5
13136 echo "${ECHO_T}$GCJ" >&6
13138 echo "$as_me:$LINENO: result: no" >&5
13139 echo "${ECHO_T}no" >&6
13144 # Extract the first word of ""gcj"", so it can be a program name with args.
13145 set dummy
"gcj"; ac_word
=$2
13146 echo "$as_me:$LINENO: checking for $ac_word" >&5
13147 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
13148 if test "${ac_cv_path_GCJ+set}" = set; then
13149 echo $ECHO_N "(cached) $ECHO_C" >&6
13153 ac_cv_path_GCJ
="$GCJ" # Let the user override the test with a path.
13156 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
13157 for as_dir
in $PATH
13160 test -z "$as_dir" && as_dir
=.
13161 for ac_exec_ext
in '' $ac_executable_extensions; do
13162 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
13163 ac_cv_path_GCJ
="$as_dir/$ac_word$ac_exec_ext"
13164 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
13173 GCJ
=$ac_cv_path_GCJ
13175 if test -n "$GCJ"; then
13176 echo "$as_me:$LINENO: result: $GCJ" >&5
13177 echo "${ECHO_T}$GCJ" >&6
13179 echo "$as_me:$LINENO: result: no" >&5
13180 echo "${ECHO_T}no" >&6
13184 if test "x$GCJ" != x
; then
13185 echo "$as_me:$LINENO: checking gcj version 4.0" >&5
13186 echo $ECHO_N "checking gcj version 4.0... $ECHO_C" >&6
13188 ac_cpp
='$CPP $CPPFLAGS'
13189 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13190 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13191 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
13193 cat >conftest.
$ac_ext <<_ACEOF
13195 #error GCJ 4.0.0 or higher is required
13199 $GCJ -E conftest.c
> /dev
/null
13201 if test "x$gcj_4_result" = "x0"; then
13202 echo "$as_me:$LINENO: result: 4.0 or higher found" >&5
13203 echo "${ECHO_T}4.0 or higher found" >&6
13205 { echo "$as_me:$LINENO: WARNING: 4.0 or higher required" >&5
13206 echo "$as_me: WARNING: 4.0 or higher required" >&2;}
13209 ac_cpp
='$CPP $CPPFLAGS'
13210 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13211 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13212 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
13222 # Check whether --with-jikes or --without-jikes was given.
13223 if test "${with_jikes+set}" = set; then
13224 withval
="$with_jikes"
13226 if test "x${withval}" != x && test "x${withval}" != xyes && test "x${withval}" != xno
; then
13228 if test "x${withval}" != x
; then
13229 if test -f "${withval}"; then
13232 # Extract the first word of ""${withval}"", so it can be a program name with args.
13233 set dummy
"${withval}"; ac_word
=$2
13234 echo "$as_me:$LINENO: checking for $ac_word" >&5
13235 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
13236 if test "${ac_cv_path_JIKES+set}" = set; then
13237 echo $ECHO_N "(cached) $ECHO_C" >&6
13241 ac_cv_path_JIKES
="$JIKES" # Let the user override the test with a path.
13244 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
13245 for as_dir
in $PATH
13248 test -z "$as_dir" && as_dir
=.
13249 for ac_exec_ext
in '' $ac_executable_extensions; do
13250 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
13251 ac_cv_path_JIKES
="$as_dir/$ac_word$ac_exec_ext"
13252 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
13261 JIKES
=$ac_cv_path_JIKES
13263 if test -n "$JIKES"; then
13264 echo "$as_me:$LINENO: result: $JIKES" >&5
13265 echo "${ECHO_T}$JIKES" >&6
13267 echo "$as_me:$LINENO: result: no" >&5
13268 echo "${ECHO_T}no" >&6
13273 # Extract the first word of ""jikes"", so it can be a program name with args.
13274 set dummy
"jikes"; ac_word
=$2
13275 echo "$as_me:$LINENO: checking for $ac_word" >&5
13276 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
13277 if test "${ac_cv_path_JIKES+set}" = set; then
13278 echo $ECHO_N "(cached) $ECHO_C" >&6
13282 ac_cv_path_JIKES
="$JIKES" # Let the user override the test with a path.
13285 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
13286 for as_dir
in $PATH
13289 test -z "$as_dir" && as_dir
=.
13290 for ac_exec_ext
in '' $ac_executable_extensions; do
13291 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
13292 ac_cv_path_JIKES
="$as_dir/$ac_word$ac_exec_ext"
13293 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
13302 JIKES
=$ac_cv_path_JIKES
13304 if test -n "$JIKES"; then
13305 echo "$as_me:$LINENO: result: $JIKES" >&5
13306 echo "${ECHO_T}$JIKES" >&6
13308 echo "$as_me:$LINENO: result: no" >&5
13309 echo "${ECHO_T}no" >&6
13313 if test "x$JIKES" != "x"; then
13314 echo "$as_me:$LINENO: checking jikes version" >&5
13315 echo $ECHO_N "checking jikes version... $ECHO_C" >&6
13316 JIKES_VERSION
=`$JIKES --version | awk '/^Jikes Compiler/' | cut -d ' ' -f 5`
13317 JIKES_VERSION_MAJOR
=`echo "$JIKES_VERSION" | cut -d '.' -f 1`
13318 JIKES_VERSION_MINOR
=`echo "$JIKES_VERSION" | cut -d '.' -f 2`
13319 if expr "$JIKES_VERSION_MAJOR" = 1 > /dev
/null
; then
13320 if expr "$JIKES_VERSION_MINOR" \
< 19 > /dev
/null
; then
13324 if test "x$JIKES" != "x"; then
13325 echo "$as_me:$LINENO: result: $JIKES_VERSION" >&5
13326 echo "${ECHO_T}$JIKES_VERSION" >&6
13328 { echo "$as_me:$LINENO: WARNING: $JIKES_VERSION: jikes 1.19 or higher required" >&5
13329 echo "$as_me: WARNING: $JIKES_VERSION: jikes 1.19 or higher required" >&2;}
13333 if test -n "`$JIKES --help 2>&1 | grep encoding`"; then
13334 JIKESENCODING
='-encoding UTF-8'
13338 JIKESWARNINGS
="+Pno-switchcheck"
13339 if test "x$JIKES_VERSION_MAJOR" = x
"1" ; then
13340 if ! test "x$JIKES_VERSION_MINOR" = x
"19"; then
13341 JIKESWARNINGS
="$JIKESWARNINGS +Pno-shadow"
13349 if test "x${withval}" != xno
; then
13351 if test "x" != x
; then
13352 if test -f ""; then
13355 # Extract the first word of """", so it can be a program name with args.
13356 set dummy
""; ac_word
=$2
13357 echo "$as_me:$LINENO: checking for $ac_word" >&5
13358 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
13359 if test "${ac_cv_path_JIKES+set}" = set; then
13360 echo $ECHO_N "(cached) $ECHO_C" >&6
13364 ac_cv_path_JIKES
="$JIKES" # Let the user override the test with a path.
13367 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
13368 for as_dir
in $PATH
13371 test -z "$as_dir" && as_dir
=.
13372 for ac_exec_ext
in '' $ac_executable_extensions; do
13373 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
13374 ac_cv_path_JIKES
="$as_dir/$ac_word$ac_exec_ext"
13375 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
13384 JIKES
=$ac_cv_path_JIKES
13386 if test -n "$JIKES"; then
13387 echo "$as_me:$LINENO: result: $JIKES" >&5
13388 echo "${ECHO_T}$JIKES" >&6
13390 echo "$as_me:$LINENO: result: no" >&5
13391 echo "${ECHO_T}no" >&6
13396 # Extract the first word of ""jikes"", so it can be a program name with args.
13397 set dummy
"jikes"; ac_word
=$2
13398 echo "$as_me:$LINENO: checking for $ac_word" >&5
13399 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
13400 if test "${ac_cv_path_JIKES+set}" = set; then
13401 echo $ECHO_N "(cached) $ECHO_C" >&6
13405 ac_cv_path_JIKES
="$JIKES" # Let the user override the test with a path.
13408 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
13409 for as_dir
in $PATH
13412 test -z "$as_dir" && as_dir
=.
13413 for ac_exec_ext
in '' $ac_executable_extensions; do
13414 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
13415 ac_cv_path_JIKES
="$as_dir/$ac_word$ac_exec_ext"
13416 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
13425 JIKES
=$ac_cv_path_JIKES
13427 if test -n "$JIKES"; then
13428 echo "$as_me:$LINENO: result: $JIKES" >&5
13429 echo "${ECHO_T}$JIKES" >&6
13431 echo "$as_me:$LINENO: result: no" >&5
13432 echo "${ECHO_T}no" >&6
13436 if test "x$JIKES" != "x"; then
13437 echo "$as_me:$LINENO: checking jikes version" >&5
13438 echo $ECHO_N "checking jikes version... $ECHO_C" >&6
13439 JIKES_VERSION
=`$JIKES --version | awk '/^Jikes Compiler/' | cut -d ' ' -f 5`
13440 JIKES_VERSION_MAJOR
=`echo "$JIKES_VERSION" | cut -d '.' -f 1`
13441 JIKES_VERSION_MINOR
=`echo "$JIKES_VERSION" | cut -d '.' -f 2`
13442 if expr "$JIKES_VERSION_MAJOR" = 1 > /dev
/null
; then
13443 if expr "$JIKES_VERSION_MINOR" \
< 19 > /dev
/null
; then
13447 if test "x$JIKES" != "x"; then
13448 echo "$as_me:$LINENO: result: $JIKES_VERSION" >&5
13449 echo "${ECHO_T}$JIKES_VERSION" >&6
13451 { echo "$as_me:$LINENO: WARNING: $JIKES_VERSION: jikes 1.19 or higher required" >&5
13452 echo "$as_me: WARNING: $JIKES_VERSION: jikes 1.19 or higher required" >&2;}
13456 if test -n "`$JIKES --help 2>&1 | grep encoding`"; then
13457 JIKESENCODING
='-encoding UTF-8'
13461 JIKESWARNINGS
="+Pno-switchcheck"
13462 if test "x$JIKES_VERSION_MAJOR" = x
"1" ; then
13463 if ! test "x$JIKES_VERSION_MINOR" = x
"19"; then
13464 JIKESWARNINGS
="$JIKESWARNINGS +Pno-shadow"
13473 user_specified_javac
=jikes
13478 if test "x" != x
; then
13479 if test -f ""; then
13482 # Extract the first word of """", so it can be a program name with args.
13483 set dummy
""; ac_word
=$2
13484 echo "$as_me:$LINENO: checking for $ac_word" >&5
13485 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
13486 if test "${ac_cv_path_JIKES+set}" = set; then
13487 echo $ECHO_N "(cached) $ECHO_C" >&6
13491 ac_cv_path_JIKES
="$JIKES" # Let the user override the test with a path.
13494 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
13495 for as_dir
in $PATH
13498 test -z "$as_dir" && as_dir
=.
13499 for ac_exec_ext
in '' $ac_executable_extensions; do
13500 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
13501 ac_cv_path_JIKES
="$as_dir/$ac_word$ac_exec_ext"
13502 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
13511 JIKES
=$ac_cv_path_JIKES
13513 if test -n "$JIKES"; then
13514 echo "$as_me:$LINENO: result: $JIKES" >&5
13515 echo "${ECHO_T}$JIKES" >&6
13517 echo "$as_me:$LINENO: result: no" >&5
13518 echo "${ECHO_T}no" >&6
13523 # Extract the first word of ""jikes"", so it can be a program name with args.
13524 set dummy
"jikes"; ac_word
=$2
13525 echo "$as_me:$LINENO: checking for $ac_word" >&5
13526 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
13527 if test "${ac_cv_path_JIKES+set}" = set; then
13528 echo $ECHO_N "(cached) $ECHO_C" >&6
13532 ac_cv_path_JIKES
="$JIKES" # Let the user override the test with a path.
13535 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
13536 for as_dir
in $PATH
13539 test -z "$as_dir" && as_dir
=.
13540 for ac_exec_ext
in '' $ac_executable_extensions; do
13541 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
13542 ac_cv_path_JIKES
="$as_dir/$ac_word$ac_exec_ext"
13543 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
13552 JIKES
=$ac_cv_path_JIKES
13554 if test -n "$JIKES"; then
13555 echo "$as_me:$LINENO: result: $JIKES" >&5
13556 echo "${ECHO_T}$JIKES" >&6
13558 echo "$as_me:$LINENO: result: no" >&5
13559 echo "${ECHO_T}no" >&6
13563 if test "x$JIKES" != "x"; then
13564 echo "$as_me:$LINENO: checking jikes version" >&5
13565 echo $ECHO_N "checking jikes version... $ECHO_C" >&6
13566 JIKES_VERSION
=`$JIKES --version | awk '/^Jikes Compiler/' | cut -d ' ' -f 5`
13567 JIKES_VERSION_MAJOR
=`echo "$JIKES_VERSION" | cut -d '.' -f 1`
13568 JIKES_VERSION_MINOR
=`echo "$JIKES_VERSION" | cut -d '.' -f 2`
13569 if expr "$JIKES_VERSION_MAJOR" = 1 > /dev
/null
; then
13570 if expr "$JIKES_VERSION_MINOR" \
< 19 > /dev
/null
; then
13574 if test "x$JIKES" != "x"; then
13575 echo "$as_me:$LINENO: result: $JIKES_VERSION" >&5
13576 echo "${ECHO_T}$JIKES_VERSION" >&6
13578 { echo "$as_me:$LINENO: WARNING: $JIKES_VERSION: jikes 1.19 or higher required" >&5
13579 echo "$as_me: WARNING: $JIKES_VERSION: jikes 1.19 or higher required" >&2;}
13583 if test -n "`$JIKES --help 2>&1 | grep encoding`"; then
13584 JIKESENCODING
='-encoding UTF-8'
13588 JIKESWARNINGS
="+Pno-switchcheck"
13589 if test "x$JIKES_VERSION_MAJOR" = x
"1" ; then
13590 if ! test "x$JIKES_VERSION_MINOR" = x
"19"; then
13591 JIKESWARNINGS
="$JIKESWARNINGS +Pno-shadow"
13604 # Check whether --with-kjc or --without-kjc was given.
13605 if test "${with_kjc+set}" = set; then
13606 withval
="$with_kjc"
13608 if test "x${withval}" != x && test "x${withval}" != xyes && test "x${withval}" != xno
; then
13610 if test "x${withval}" != x
; then
13611 if test -f "${withval}"; then
13614 # Extract the first word of ""${withval}"", so it can be a program name with args.
13615 set dummy
"${withval}"; ac_word
=$2
13616 echo "$as_me:$LINENO: checking for $ac_word" >&5
13617 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
13618 if test "${ac_cv_path_KJC+set}" = set; then
13619 echo $ECHO_N "(cached) $ECHO_C" >&6
13623 ac_cv_path_KJC
="$KJC" # Let the user override the test with a path.
13626 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
13627 for as_dir
in $PATH
13630 test -z "$as_dir" && as_dir
=.
13631 for ac_exec_ext
in '' $ac_executable_extensions; do
13632 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
13633 ac_cv_path_KJC
="$as_dir/$ac_word$ac_exec_ext"
13634 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
13643 KJC
=$ac_cv_path_KJC
13645 if test -n "$KJC"; then
13646 echo "$as_me:$LINENO: result: $KJC" >&5
13647 echo "${ECHO_T}$KJC" >&6
13649 echo "$as_me:$LINENO: result: no" >&5
13650 echo "${ECHO_T}no" >&6
13655 # Extract the first word of ""kJC"", so it can be a program name with args.
13656 set dummy
"kJC"; ac_word
=$2
13657 echo "$as_me:$LINENO: checking for $ac_word" >&5
13658 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
13659 if test "${ac_cv_path_KJC+set}" = set; then
13660 echo $ECHO_N "(cached) $ECHO_C" >&6
13664 ac_cv_path_KJC
="$KJC" # Let the user override the test with a path.
13667 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
13668 for as_dir
in $PATH
13671 test -z "$as_dir" && as_dir
=.
13672 for ac_exec_ext
in '' $ac_executable_extensions; do
13673 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
13674 ac_cv_path_KJC
="$as_dir/$ac_word$ac_exec_ext"
13675 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
13684 KJC
=$ac_cv_path_KJC
13686 if test -n "$KJC"; then
13687 echo "$as_me:$LINENO: result: $KJC" >&5
13688 echo "${ECHO_T}$KJC" >&6
13690 echo "$as_me:$LINENO: result: no" >&5
13691 echo "${ECHO_T}no" >&6
13697 if test "x${withval}" != xno
; then
13699 if test "x" != x
; then
13700 if test -f ""; then
13703 # Extract the first word of """", so it can be a program name with args.
13704 set dummy
""; ac_word
=$2
13705 echo "$as_me:$LINENO: checking for $ac_word" >&5
13706 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
13707 if test "${ac_cv_path_KJC+set}" = set; then
13708 echo $ECHO_N "(cached) $ECHO_C" >&6
13712 ac_cv_path_KJC
="$KJC" # Let the user override the test with a path.
13715 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
13716 for as_dir
in $PATH
13719 test -z "$as_dir" && as_dir
=.
13720 for ac_exec_ext
in '' $ac_executable_extensions; do
13721 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
13722 ac_cv_path_KJC
="$as_dir/$ac_word$ac_exec_ext"
13723 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
13732 KJC
=$ac_cv_path_KJC
13734 if test -n "$KJC"; then
13735 echo "$as_me:$LINENO: result: $KJC" >&5
13736 echo "${ECHO_T}$KJC" >&6
13738 echo "$as_me:$LINENO: result: no" >&5
13739 echo "${ECHO_T}no" >&6
13744 # Extract the first word of ""kJC"", so it can be a program name with args.
13745 set dummy
"kJC"; ac_word
=$2
13746 echo "$as_me:$LINENO: checking for $ac_word" >&5
13747 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
13748 if test "${ac_cv_path_KJC+set}" = set; then
13749 echo $ECHO_N "(cached) $ECHO_C" >&6
13753 ac_cv_path_KJC
="$KJC" # Let the user override the test with a path.
13756 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
13757 for as_dir
in $PATH
13760 test -z "$as_dir" && as_dir
=.
13761 for ac_exec_ext
in '' $ac_executable_extensions; do
13762 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
13763 ac_cv_path_KJC
="$as_dir/$ac_word$ac_exec_ext"
13764 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
13773 KJC
=$ac_cv_path_KJC
13775 if test -n "$KJC"; then
13776 echo "$as_me:$LINENO: result: $KJC" >&5
13777 echo "${ECHO_T}$KJC" >&6
13779 echo "$as_me:$LINENO: result: no" >&5
13780 echo "${ECHO_T}no" >&6
13787 user_specified_javac
=kjc
13792 if test "x" != x
; then
13793 if test -f ""; then
13796 # Extract the first word of """", so it can be a program name with args.
13797 set dummy
""; ac_word
=$2
13798 echo "$as_me:$LINENO: checking for $ac_word" >&5
13799 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
13800 if test "${ac_cv_path_KJC+set}" = set; then
13801 echo $ECHO_N "(cached) $ECHO_C" >&6
13805 ac_cv_path_KJC
="$KJC" # Let the user override the test with a path.
13808 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
13809 for as_dir
in $PATH
13812 test -z "$as_dir" && as_dir
=.
13813 for ac_exec_ext
in '' $ac_executable_extensions; do
13814 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
13815 ac_cv_path_KJC
="$as_dir/$ac_word$ac_exec_ext"
13816 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
13825 KJC
=$ac_cv_path_KJC
13827 if test -n "$KJC"; then
13828 echo "$as_me:$LINENO: result: $KJC" >&5
13829 echo "${ECHO_T}$KJC" >&6
13831 echo "$as_me:$LINENO: result: no" >&5
13832 echo "${ECHO_T}no" >&6
13837 # Extract the first word of ""kJC"", so it can be a program name with args.
13838 set dummy
"kJC"; ac_word
=$2
13839 echo "$as_me:$LINENO: checking for $ac_word" >&5
13840 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
13841 if test "${ac_cv_path_KJC+set}" = set; then
13842 echo $ECHO_N "(cached) $ECHO_C" >&6
13846 ac_cv_path_KJC
="$KJC" # Let the user override the test with a path.
13849 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
13850 for as_dir
in $PATH
13853 test -z "$as_dir" && as_dir
=.
13854 for ac_exec_ext
in '' $ac_executable_extensions; do
13855 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
13856 ac_cv_path_KJC
="$as_dir/$ac_word$ac_exec_ext"
13857 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
13866 KJC
=$ac_cv_path_KJC
13868 if test -n "$KJC"; then
13869 echo "$as_me:$LINENO: result: $KJC" >&5
13870 echo "${ECHO_T}$KJC" >&6
13872 echo "$as_me:$LINENO: result: no" >&5
13873 echo "${ECHO_T}no" >&6
13884 # Check whether --with-gcjx or --without-gcjx was given.
13885 if test "${with_gcjx+set}" = set; then
13886 withval
="$with_gcjx"
13888 if test "x${withval}" != x && test "x${withval}" != xyes && test "x${withval}" != xno
; then
13890 if test "x${withval}" != x
; then
13891 if test -f "${withval}"; then
13894 # Extract the first word of ""${withval}"", so it can be a program name with args.
13895 set dummy
"${withval}"; ac_word
=$2
13896 echo "$as_me:$LINENO: checking for $ac_word" >&5
13897 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
13898 if test "${ac_cv_path_GCJX+set}" = set; then
13899 echo $ECHO_N "(cached) $ECHO_C" >&6
13903 ac_cv_path_GCJX
="$GCJX" # Let the user override the test with a path.
13906 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
13907 for as_dir
in $PATH
13910 test -z "$as_dir" && as_dir
=.
13911 for ac_exec_ext
in '' $ac_executable_extensions; do
13912 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
13913 ac_cv_path_GCJX
="$as_dir/$ac_word$ac_exec_ext"
13914 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
13923 GCJX
=$ac_cv_path_GCJX
13925 if test -n "$GCJX"; then
13926 echo "$as_me:$LINENO: result: $GCJX" >&5
13927 echo "${ECHO_T}$GCJX" >&6
13929 echo "$as_me:$LINENO: result: no" >&5
13930 echo "${ECHO_T}no" >&6
13935 # Extract the first word of ""gcjx"", so it can be a program name with args.
13936 set dummy
"gcjx"; ac_word
=$2
13937 echo "$as_me:$LINENO: checking for $ac_word" >&5
13938 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
13939 if test "${ac_cv_path_GCJX+set}" = set; then
13940 echo $ECHO_N "(cached) $ECHO_C" >&6
13944 ac_cv_path_GCJX
="$GCJX" # Let the user override the test with a path.
13947 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
13948 for as_dir
in $PATH
13951 test -z "$as_dir" && as_dir
=.
13952 for ac_exec_ext
in '' $ac_executable_extensions; do
13953 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
13954 ac_cv_path_GCJX
="$as_dir/$ac_word$ac_exec_ext"
13955 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
13964 GCJX
=$ac_cv_path_GCJX
13966 if test -n "$GCJX"; then
13967 echo "$as_me:$LINENO: result: $GCJX" >&5
13968 echo "${ECHO_T}$GCJX" >&6
13970 echo "$as_me:$LINENO: result: no" >&5
13971 echo "${ECHO_T}no" >&6
13977 if test "x${withval}" != xno
; then
13979 if test "x" != x
; then
13980 if test -f ""; then
13983 # Extract the first word of """", so it can be a program name with args.
13984 set dummy
""; ac_word
=$2
13985 echo "$as_me:$LINENO: checking for $ac_word" >&5
13986 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
13987 if test "${ac_cv_path_GCJX+set}" = set; then
13988 echo $ECHO_N "(cached) $ECHO_C" >&6
13992 ac_cv_path_GCJX
="$GCJX" # Let the user override the test with a path.
13995 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
13996 for as_dir
in $PATH
13999 test -z "$as_dir" && as_dir
=.
14000 for ac_exec_ext
in '' $ac_executable_extensions; do
14001 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
14002 ac_cv_path_GCJX
="$as_dir/$ac_word$ac_exec_ext"
14003 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
14012 GCJX
=$ac_cv_path_GCJX
14014 if test -n "$GCJX"; then
14015 echo "$as_me:$LINENO: result: $GCJX" >&5
14016 echo "${ECHO_T}$GCJX" >&6
14018 echo "$as_me:$LINENO: result: no" >&5
14019 echo "${ECHO_T}no" >&6
14024 # Extract the first word of ""gcjx"", so it can be a program name with args.
14025 set dummy
"gcjx"; ac_word
=$2
14026 echo "$as_me:$LINENO: checking for $ac_word" >&5
14027 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
14028 if test "${ac_cv_path_GCJX+set}" = set; then
14029 echo $ECHO_N "(cached) $ECHO_C" >&6
14033 ac_cv_path_GCJX
="$GCJX" # Let the user override the test with a path.
14036 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
14037 for as_dir
in $PATH
14040 test -z "$as_dir" && as_dir
=.
14041 for ac_exec_ext
in '' $ac_executable_extensions; do
14042 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
14043 ac_cv_path_GCJX
="$as_dir/$ac_word$ac_exec_ext"
14044 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
14053 GCJX
=$ac_cv_path_GCJX
14055 if test -n "$GCJX"; then
14056 echo "$as_me:$LINENO: result: $GCJX" >&5
14057 echo "${ECHO_T}$GCJX" >&6
14059 echo "$as_me:$LINENO: result: no" >&5
14060 echo "${ECHO_T}no" >&6
14067 user_specified_javac
=gcjx
14072 if test "x" != x
; then
14073 if test -f ""; then
14076 # Extract the first word of """", so it can be a program name with args.
14077 set dummy
""; ac_word
=$2
14078 echo "$as_me:$LINENO: checking for $ac_word" >&5
14079 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
14080 if test "${ac_cv_path_GCJX+set}" = set; then
14081 echo $ECHO_N "(cached) $ECHO_C" >&6
14085 ac_cv_path_GCJX
="$GCJX" # Let the user override the test with a path.
14088 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
14089 for as_dir
in $PATH
14092 test -z "$as_dir" && as_dir
=.
14093 for ac_exec_ext
in '' $ac_executable_extensions; do
14094 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
14095 ac_cv_path_GCJX
="$as_dir/$ac_word$ac_exec_ext"
14096 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
14105 GCJX
=$ac_cv_path_GCJX
14107 if test -n "$GCJX"; then
14108 echo "$as_me:$LINENO: result: $GCJX" >&5
14109 echo "${ECHO_T}$GCJX" >&6
14111 echo "$as_me:$LINENO: result: no" >&5
14112 echo "${ECHO_T}no" >&6
14117 # Extract the first word of ""gcjx"", so it can be a program name with args.
14118 set dummy
"gcjx"; ac_word
=$2
14119 echo "$as_me:$LINENO: checking for $ac_word" >&5
14120 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
14121 if test "${ac_cv_path_GCJX+set}" = set; then
14122 echo $ECHO_N "(cached) $ECHO_C" >&6
14126 ac_cv_path_GCJX
="$GCJX" # Let the user override the test with a path.
14129 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
14130 for as_dir
in $PATH
14133 test -z "$as_dir" && as_dir
=.
14134 for ac_exec_ext
in '' $ac_executable_extensions; do
14135 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
14136 ac_cv_path_GCJX
="$as_dir/$ac_word$ac_exec_ext"
14137 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
14146 GCJX
=$ac_cv_path_GCJX
14148 if test -n "$GCJX"; then
14149 echo "$as_me:$LINENO: result: $GCJX" >&5
14150 echo "${ECHO_T}$GCJX" >&6
14152 echo "$as_me:$LINENO: result: no" >&5
14153 echo "${ECHO_T}no" >&6
14164 # Check whether --with-ecj or --without-ecj was given.
14165 if test "${with_ecj+set}" = set; then
14166 withval
="$with_ecj"
14168 if test "x${withval}" != x && test "x${withval}" != xyes && test "x${withval}" != xno
; then
14170 if test "x${withval}" != x
; then
14171 if test -f "${withval}"; then
14174 # Extract the first word of ""${withval}"", so it can be a program name with args.
14175 set dummy
"${withval}"; ac_word
=$2
14176 echo "$as_me:$LINENO: checking for $ac_word" >&5
14177 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
14178 if test "${ac_cv_path_ECJ+set}" = set; then
14179 echo $ECHO_N "(cached) $ECHO_C" >&6
14183 ac_cv_path_ECJ
="$ECJ" # Let the user override the test with a path.
14186 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
14187 for as_dir
in $PATH
14190 test -z "$as_dir" && as_dir
=.
14191 for ac_exec_ext
in '' $ac_executable_extensions; do
14192 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
14193 ac_cv_path_ECJ
="$as_dir/$ac_word$ac_exec_ext"
14194 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
14203 ECJ
=$ac_cv_path_ECJ
14205 if test -n "$ECJ"; then
14206 echo "$as_me:$LINENO: result: $ECJ" >&5
14207 echo "${ECHO_T}$ECJ" >&6
14209 echo "$as_me:$LINENO: result: no" >&5
14210 echo "${ECHO_T}no" >&6
14215 # Extract the first word of ""ecj"", so it can be a program name with args.
14216 set dummy
"ecj"; ac_word
=$2
14217 echo "$as_me:$LINENO: checking for $ac_word" >&5
14218 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
14219 if test "${ac_cv_path_ECJ+set}" = set; then
14220 echo $ECHO_N "(cached) $ECHO_C" >&6
14224 ac_cv_path_ECJ
="$ECJ" # Let the user override the test with a path.
14227 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
14228 for as_dir
in $PATH
14231 test -z "$as_dir" && as_dir
=.
14232 for ac_exec_ext
in '' $ac_executable_extensions; do
14233 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
14234 ac_cv_path_ECJ
="$as_dir/$ac_word$ac_exec_ext"
14235 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
14244 ECJ
=$ac_cv_path_ECJ
14246 if test -n "$ECJ"; then
14247 echo "$as_me:$LINENO: result: $ECJ" >&5
14248 echo "${ECHO_T}$ECJ" >&6
14250 echo "$as_me:$LINENO: result: no" >&5
14251 echo "${ECHO_T}no" >&6
14257 if test "x${withval}" != xno
; then
14259 if test "x" != x
; then
14260 if test -f ""; then
14263 # Extract the first word of """", so it can be a program name with args.
14264 set dummy
""; ac_word
=$2
14265 echo "$as_me:$LINENO: checking for $ac_word" >&5
14266 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
14267 if test "${ac_cv_path_ECJ+set}" = set; then
14268 echo $ECHO_N "(cached) $ECHO_C" >&6
14272 ac_cv_path_ECJ
="$ECJ" # Let the user override the test with a path.
14275 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
14276 for as_dir
in $PATH
14279 test -z "$as_dir" && as_dir
=.
14280 for ac_exec_ext
in '' $ac_executable_extensions; do
14281 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
14282 ac_cv_path_ECJ
="$as_dir/$ac_word$ac_exec_ext"
14283 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
14292 ECJ
=$ac_cv_path_ECJ
14294 if test -n "$ECJ"; then
14295 echo "$as_me:$LINENO: result: $ECJ" >&5
14296 echo "${ECHO_T}$ECJ" >&6
14298 echo "$as_me:$LINENO: result: no" >&5
14299 echo "${ECHO_T}no" >&6
14304 # Extract the first word of ""ecj"", so it can be a program name with args.
14305 set dummy
"ecj"; ac_word
=$2
14306 echo "$as_me:$LINENO: checking for $ac_word" >&5
14307 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
14308 if test "${ac_cv_path_ECJ+set}" = set; then
14309 echo $ECHO_N "(cached) $ECHO_C" >&6
14313 ac_cv_path_ECJ
="$ECJ" # Let the user override the test with a path.
14316 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
14317 for as_dir
in $PATH
14320 test -z "$as_dir" && as_dir
=.
14321 for ac_exec_ext
in '' $ac_executable_extensions; do
14322 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
14323 ac_cv_path_ECJ
="$as_dir/$ac_word$ac_exec_ext"
14324 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
14333 ECJ
=$ac_cv_path_ECJ
14335 if test -n "$ECJ"; then
14336 echo "$as_me:$LINENO: result: $ECJ" >&5
14337 echo "${ECHO_T}$ECJ" >&6
14339 echo "$as_me:$LINENO: result: no" >&5
14340 echo "${ECHO_T}no" >&6
14347 user_specified_javac
=ecj
14352 if test "x" != x
; then
14353 if test -f ""; then
14356 # Extract the first word of """", so it can be a program name with args.
14357 set dummy
""; ac_word
=$2
14358 echo "$as_me:$LINENO: checking for $ac_word" >&5
14359 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
14360 if test "${ac_cv_path_ECJ+set}" = set; then
14361 echo $ECHO_N "(cached) $ECHO_C" >&6
14365 ac_cv_path_ECJ
="$ECJ" # Let the user override the test with a path.
14368 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
14369 for as_dir
in $PATH
14372 test -z "$as_dir" && as_dir
=.
14373 for ac_exec_ext
in '' $ac_executable_extensions; do
14374 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
14375 ac_cv_path_ECJ
="$as_dir/$ac_word$ac_exec_ext"
14376 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
14385 ECJ
=$ac_cv_path_ECJ
14387 if test -n "$ECJ"; then
14388 echo "$as_me:$LINENO: result: $ECJ" >&5
14389 echo "${ECHO_T}$ECJ" >&6
14391 echo "$as_me:$LINENO: result: no" >&5
14392 echo "${ECHO_T}no" >&6
14397 # Extract the first word of ""ecj"", so it can be a program name with args.
14398 set dummy
"ecj"; ac_word
=$2
14399 echo "$as_me:$LINENO: checking for $ac_word" >&5
14400 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
14401 if test "${ac_cv_path_ECJ+set}" = set; then
14402 echo $ECHO_N "(cached) $ECHO_C" >&6
14406 ac_cv_path_ECJ
="$ECJ" # Let the user override the test with a path.
14409 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
14410 for as_dir
in $PATH
14413 test -z "$as_dir" && as_dir
=.
14414 for ac_exec_ext
in '' $ac_executable_extensions; do
14415 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
14416 ac_cv_path_ECJ
="$as_dir/$ac_word$ac_exec_ext"
14417 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
14426 ECJ
=$ac_cv_path_ECJ
14428 if test -n "$ECJ"; then
14429 echo "$as_me:$LINENO: result: $ECJ" >&5
14430 echo "${ECHO_T}$ECJ" >&6
14432 echo "$as_me:$LINENO: result: no" >&5
14433 echo "${ECHO_T}no" >&6
14443 if test "x${user_specified_javac}" = x
; then
14446 if test "x${GCJ}" != x
; then
14448 FOUND_GCJ_FALSE
='#'
14456 if test "x${JIKES}" != x
; then
14458 FOUND_JIKES_FALSE
='#'
14460 FOUND_JIKES_TRUE
='#'
14466 if test "x${ECJ}" != x
; then
14468 FOUND_ECJ_FALSE
='#'
14477 if test "x${user_specified_javac}" = xgcj
; then
14479 FOUND_GCJ_FALSE
='#'
14487 if test "x${user_specified_javac}" = xjikes
; then
14489 FOUND_JIKES_FALSE
='#'
14491 FOUND_JIKES_TRUE
='#'
14497 if test "x${user_specified_javac}" = xecj
; then
14499 FOUND_ECJ_FALSE
='#'
14508 if test "x${user_specified_javac}" = xkjc
; then
14510 FOUND_KJC_FALSE
='#'
14518 if test "x${user_specified_javac}" = xgcjx
; then
14520 FOUND_GCJX_FALSE
='#'
14522 FOUND_GCJX_TRUE
='#'
14527 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
14528 { { echo "$as_me:$LINENO: error: cannot find javac, try --with-gcj, --with-jikes, --with-kjc, --with-ecj, or --with-gcjx" >&5
14529 echo "$as_me: error: cannot find javac, try --with-gcj, --with-jikes, --with-kjc, --with-ecj, or --with-gcjx" >&2;}
14530 { (exit 1); exit 1; }; }
14536 # Check whether --with-classpath or --without-classpath was given.
14537 if test "${with_classpath+set}" = set; then
14538 withval
="$with_classpath"
14540 if test "x${withval}" = xyes
; then
14541 # set user classpath to CLASSPATH from env
14542 echo "$as_me:$LINENO: checking for classlib" >&5
14543 echo $ECHO_N "checking for classlib... $ECHO_C" >&6
14544 USER_CLASSLIB
=${CLASSPATH}
14546 echo "$as_me:$LINENO: result: ${USER_CLASSLIB}" >&5
14547 echo "${ECHO_T}${USER_CLASSLIB}" >&6
14548 conditional_with_classlib
=true
14549 elif test "x${withval}" != x
&& test "x${withval}" != xno
; then
14550 # set user classpath to specified value
14551 echo "$as_me:$LINENO: checking for classlib" >&5
14552 echo $ECHO_N "checking for classlib... $ECHO_C" >&6
14553 USER_CLASSLIB
=${withval}
14555 echo "$as_me:$LINENO: result: ${withval}" >&5
14556 echo "${ECHO_T}${withval}" >&6
14557 conditional_with_classlib
=true
14561 conditional_with_classlib
=false
14565 if test "x${conditional_with_classlib}" = xtrue
; then
14566 USER_SPECIFIED_CLASSLIB_TRUE
=
14567 USER_SPECIFIED_CLASSLIB_FALSE
='#'
14569 USER_SPECIFIED_CLASSLIB_TRUE
='#'
14570 USER_SPECIFIED_CLASSLIB_FALSE
=
14575 # Check whether --with-vm-classes or --without-vm-classes was given.
14576 if test "${with_vm_classes+set}" = set; then
14577 withval
="$with_vm_classes"
14578 vm_classes
="$with_vm_classes"
14580 vm_classes
='${top_srcdir}/vm/reference'
14585 echo "$as_me:$LINENO: checking whether to enable maintainer-specific portions of Makefiles" >&5
14586 echo $ECHO_N "checking whether to enable maintainer-specific portions of Makefiles... $ECHO_C" >&6
14587 # Check whether --enable-maintainer-mode or --disable-maintainer-mode was given.
14588 if test "${enable_maintainer_mode+set}" = set; then
14589 enableval
="$enable_maintainer_mode"
14590 USE_MAINTAINER_MODE
=$enableval
14592 USE_MAINTAINER_MODE
=no
14594 echo "$as_me:$LINENO: result: $USE_MAINTAINER_MODE" >&5
14595 echo "${ECHO_T}$USE_MAINTAINER_MODE" >&6
14598 if test $USE_MAINTAINER_MODE = yes; then
14599 MAINTAINER_MODE_TRUE
=
14600 MAINTAINER_MODE_FALSE
='#'
14602 MAINTAINER_MODE_TRUE
='#'
14603 MAINTAINER_MODE_FALSE
=
14606 MAINT
=$MAINTAINER_MODE_TRUE
14610 # Check whether --enable-debug or --disable-debug was given.
14611 if test "${enable_debug+set}" = set; then
14612 enableval
="$enable_debug"
14613 case "${enableval}" in
14617 cat >>confdefs.h
<<\_ACEOF
14622 no
) LIBDEBUG
="false" ;;
14623 *) { { echo "$as_me:$LINENO: error: bad value ${enableval} for --enable-debug" >&5
14624 echo "$as_me: error: bad value ${enableval} for --enable-debug" >&2;}
14625 { (exit 1); exit 1; }; } ;;
14632 # Check whether --enable-load-library or --disable-load-library was given.
14633 if test "${enable_load_library+set}" = set; then
14634 enableval
="$enable_load_library"
14635 case "${enableval}" in
14636 yes) INIT_LOAD_LIBRARY
="true" ;;
14637 no
) INIT_LOAD_LIBRARY
="false" ;;
14638 *) { { echo "$as_me:$LINENO: error: bad value ${enableval} for --enable-load-library" >&5
14639 echo "$as_me: error: bad value ${enableval} for --enable-load-library" >&2;}
14640 { (exit 1); exit 1; }; } ;;
14643 INIT_LOAD_LIBRARY
="true"
14648 # Check whether --enable-java-lang-system-explicit-initialization or --disable-java-lang-system-explicit-initialization was given.
14649 if test "${enable_java_lang_system_explicit_initialization+set}" = set; then
14650 enableval
="$enable_java_lang_system_explicit_initialization"
14651 case "${enableval}" in
14652 yes|true
) JAVA_LANG_SYSTEM_EXPLICIT_INITIALIZATION
="true" ;;
14653 no|false
) JAVA_LANG_SYSTEM_EXPLICIT_INITIALIZATION
="false" ;;
14654 *) { { echo "$as_me:$LINENO: error: bad value ${enableval} for --enable-java-lang-system-explicit-initialization" >&5
14655 echo "$as_me: error: bad value ${enableval} for --enable-java-lang-system-explicit-initialization" >&2;}
14656 { (exit 1); exit 1; }; } ;;
14659 JAVA_LANG_SYSTEM_EXPLICIT_INITIALIZATION
="false"
14667 # Extract the first word of "mkdir", so it can be a program name with args.
14668 set dummy mkdir
; ac_word
=$2
14669 echo "$as_me:$LINENO: checking for $ac_word" >&5
14670 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
14671 if test "${ac_cv_path_MKDIR+set}" = set; then
14672 echo $ECHO_N "(cached) $ECHO_C" >&6
14676 ac_cv_path_MKDIR
="$MKDIR" # Let the user override the test with a path.
14679 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
14680 for as_dir
in $PATH
14683 test -z "$as_dir" && as_dir
=.
14684 for ac_exec_ext
in '' $ac_executable_extensions; do
14685 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
14686 ac_cv_path_MKDIR
="$as_dir/$ac_word$ac_exec_ext"
14687 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
14696 MKDIR
=$ac_cv_path_MKDIR
14698 if test -n "$MKDIR"; then
14699 echo "$as_me:$LINENO: result: $MKDIR" >&5
14700 echo "${ECHO_T}$MKDIR" >&6
14702 echo "$as_me:$LINENO: result: no" >&5
14703 echo "${ECHO_T}no" >&6
14706 # Extract the first word of "cp", so it can be a program name with args.
14707 set dummy
cp; ac_word
=$2
14708 echo "$as_me:$LINENO: checking for $ac_word" >&5
14709 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
14710 if test "${ac_cv_path_CP+set}" = set; then
14711 echo $ECHO_N "(cached) $ECHO_C" >&6
14715 ac_cv_path_CP
="$CP" # Let the user override the test with a path.
14718 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
14719 for as_dir
in $PATH
14722 test -z "$as_dir" && as_dir
=.
14723 for ac_exec_ext
in '' $ac_executable_extensions; do
14724 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
14725 ac_cv_path_CP
="$as_dir/$ac_word$ac_exec_ext"
14726 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
14737 if test -n "$CP"; then
14738 echo "$as_me:$LINENO: result: $CP" >&5
14739 echo "${ECHO_T}$CP" >&6
14741 echo "$as_me:$LINENO: result: no" >&5
14742 echo "${ECHO_T}no" >&6
14745 # Extract the first word of "date", so it can be a program name with args.
14746 set dummy
date; ac_word
=$2
14747 echo "$as_me:$LINENO: checking for $ac_word" >&5
14748 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
14749 if test "${ac_cv_path_DATE+set}" = set; then
14750 echo $ECHO_N "(cached) $ECHO_C" >&6
14754 ac_cv_path_DATE
="$DATE" # Let the user override the test with a path.
14757 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
14758 for as_dir
in $PATH
14761 test -z "$as_dir" && as_dir
=.
14762 for ac_exec_ext
in '' $ac_executable_extensions; do
14763 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
14764 ac_cv_path_DATE
="$as_dir/$ac_word$ac_exec_ext"
14765 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
14774 DATE
=$ac_cv_path_DATE
14776 if test -n "$DATE"; then
14777 echo "$as_me:$LINENO: result: $DATE" >&5
14778 echo "${ECHO_T}$DATE" >&6
14780 echo "$as_me:$LINENO: result: no" >&5
14781 echo "${ECHO_T}no" >&6
14785 # Extract the first word of "find", so it can be a program name with args.
14786 set dummy
find; ac_word
=$2
14787 echo "$as_me:$LINENO: checking for $ac_word" >&5
14788 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
14789 if test "${ac_cv_path_FIND+set}" = set; then
14790 echo $ECHO_N "(cached) $ECHO_C" >&6
14794 ac_cv_path_FIND
="$FIND" # Let the user override the test with a path.
14797 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
14798 for as_dir
in $PATH
14801 test -z "$as_dir" && as_dir
=.
14802 for ac_exec_ext
in '' $ac_executable_extensions; do
14803 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
14804 ac_cv_path_FIND
="$as_dir/$ac_word$ac_exec_ext"
14805 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
14814 FIND
=$ac_cv_path_FIND
14816 if test -n "$FIND"; then
14817 echo "$as_me:$LINENO: result: $FIND" >&5
14818 echo "${ECHO_T}$FIND" >&6
14820 echo "$as_me:$LINENO: result: no" >&5
14821 echo "${ECHO_T}no" >&6
14826 # Extract the first word of "zip", so it can be a program name with args.
14827 set dummy
zip; ac_word
=$2
14828 echo "$as_me:$LINENO: checking for $ac_word" >&5
14829 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
14830 if test "${ac_cv_path_ZIP+set}" = set; then
14831 echo $ECHO_N "(cached) $ECHO_C" >&6
14835 ac_cv_path_ZIP
="$ZIP" # Let the user override the test with a path.
14838 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
14839 for as_dir
in $PATH
14842 test -z "$as_dir" && as_dir
=.
14843 for ac_exec_ext
in '' $ac_executable_extensions; do
14844 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
14845 ac_cv_path_ZIP
="$as_dir/$ac_word$ac_exec_ext"
14846 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
14855 ZIP
=$ac_cv_path_ZIP
14857 if test -n "$ZIP"; then
14858 echo "$as_me:$LINENO: result: $ZIP" >&5
14859 echo "${ECHO_T}$ZIP" >&6
14861 echo "$as_me:$LINENO: result: no" >&5
14862 echo "${ECHO_T}no" >&6
14866 # Check whether --with-fastjar or --without-fastjar was given.
14867 if test "${with_fastjar+set}" = set; then
14868 withval
="$with_fastjar"
14870 echo "$as_me:$LINENO: checking for user supplied fastjar" >&5
14871 echo $ECHO_N "checking for user supplied fastjar... $ECHO_C" >&6
14873 echo "$as_me:$LINENO: result: ${FASTJAR}" >&5
14874 echo "${ECHO_T}${FASTJAR}" >&6
14877 # Extract the first word of "fastjar", so it can be a program name with args.
14878 set dummy fastjar
; ac_word
=$2
14879 echo "$as_me:$LINENO: checking for $ac_word" >&5
14880 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
14881 if test "${ac_cv_path_FASTJAR+set}" = set; then
14882 echo $ECHO_N "(cached) $ECHO_C" >&6
14886 ac_cv_path_FASTJAR
="$FASTJAR" # Let the user override the test with a path.
14889 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
14890 for as_dir
in $PATH
14893 test -z "$as_dir" && as_dir
=.
14894 for ac_exec_ext
in '' $ac_executable_extensions; do
14895 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
14896 ac_cv_path_FASTJAR
="$as_dir/$ac_word$ac_exec_ext"
14897 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
14906 FASTJAR
=$ac_cv_path_FASTJAR
14908 if test -n "$FASTJAR"; then
14909 echo "$as_me:$LINENO: result: $FASTJAR" >&5
14910 echo "${ECHO_T}$FASTJAR" >&6
14912 echo "$as_me:$LINENO: result: no" >&5
14913 echo "${ECHO_T}no" >&6
14917 if test x
"${FASTJAR}" != x
; then
14922 # Check whether --with-glibj or --without-glibj was given.
14923 if test "${with_glibj+set}" = set; then
14924 withval
="$with_glibj"
14926 if test "x${withval}" = xyes ||
test "x${withval}" = xzip
; then
14927 install_class_files
=no
14928 build_class_files
=yes
14930 elif test "x${withval}" = xboth
; then
14931 install_class_files
=yes
14932 build_class_files
=yes
14934 elif test "x${withval}" = xflat
; then
14935 install_class_files
=yes
14936 build_class_files
=yes
14938 elif test "x${withval}" = xno ||
test "x${withval}" = xnone
; then
14939 install_class_files
=no
14940 build_class_files
=no
14942 elif test "x${withval}" = xbuild
; then
14943 install_class_files
=no
14944 build_class_files
=yes
14947 { { echo "$as_me:$LINENO: error: unknown value given to --with-glibj" >&5
14948 echo "$as_me: error: unknown value given to --with-glibj" >&2;}
14949 { (exit 1); exit 1; }; }
14954 install_class_files
=no
14960 if test "x${use_zip}" = xyes
; then
14961 INSTALL_GLIBJ_ZIP_TRUE
=
14962 INSTALL_GLIBJ_ZIP_FALSE
='#'
14964 INSTALL_GLIBJ_ZIP_TRUE
='#'
14965 INSTALL_GLIBJ_ZIP_FALSE
=
14970 if test "x${install_class_files}" = xyes
; then
14971 INSTALL_CLASS_FILES_TRUE
=
14972 INSTALL_CLASS_FILES_FALSE
='#'
14974 INSTALL_CLASS_FILES_TRUE
='#'
14975 INSTALL_CLASS_FILES_FALSE
=
14980 if test "x${build_class_files}" = xyes
; then
14981 BUILD_CLASS_FILES_TRUE
=
14982 BUILD_CLASS_FILES_FALSE
='#'
14984 BUILD_CLASS_FILES_TRUE
='#'
14985 BUILD_CLASS_FILES_FALSE
=
14989 # Check whether --enable-examples or --disable-examples was given.
14990 if test "${enable_examples+set}" = set; then
14991 enableval
="$enable_examples"
14992 case "${enableval}" in
14993 yes) EXAMPLESDIR
="examples" ;;
14994 no
) EXAMPLESDIR
="" ;;
14995 *) { { echo "$as_me:$LINENO: error: bad value ${enableval} for --enable-examples" >&5
14996 echo "$as_me: error: bad value ${enableval} for --enable-examples" >&2;}
14997 { (exit 1); exit 1; }; } ;;
15000 EXAMPLESDIR
="examples"
15002 if test "x${use_zip}" = xno
&& test "x${install_class_files}" = xno
; then
15010 # Check whether --with-gjdoc or --without-gjdoc was given.
15011 if test "${with_gjdoc+set}" = set; then
15012 withval
="$with_gjdoc"
15013 if test "x${withval}" = xno
; then
15015 elif test "x${withval}" = xyes
-o "x{withval}" = x
; then
15017 # Extract the first word of "gjdoc", so it can be a program name with args.
15018 set dummy gjdoc
; ac_word
=$2
15019 echo "$as_me:$LINENO: checking for $ac_word" >&5
15020 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
15021 if test "${ac_cv_path_GJDOC+set}" = set; then
15022 echo $ECHO_N "(cached) $ECHO_C" >&6
15026 ac_cv_path_GJDOC
="$GJDOC" # Let the user override the test with a path.
15029 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
15030 for as_dir
in $PATH
15033 test -z "$as_dir" && as_dir
=.
15034 for ac_exec_ext
in '' $ac_executable_extensions; do
15035 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
15036 ac_cv_path_GJDOC
="$as_dir/$ac_word$ac_exec_ext"
15037 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
15043 test -z "$ac_cv_path_GJDOC" && ac_cv_path_GJDOC
=""no
""
15047 GJDOC
=$ac_cv_path_GJDOC
15049 if test -n "$GJDOC"; then
15050 echo "$as_me:$LINENO: result: $GJDOC" >&5
15051 echo "${ECHO_T}$GJDOC" >&6
15053 echo "$as_me:$LINENO: result: no" >&5
15054 echo "${ECHO_T}no" >&6
15057 if test "x${GJDOC}" = xno
; then
15058 { { echo "$as_me:$LINENO: error: \"gjdoc executable not found\"" >&5
15059 echo "$as_me: error: \"gjdoc executable not found\"" >&2;}
15060 { (exit 1); exit 1; }; };
15065 as_ac_File
=`echo "ac_cv_file_${GJDOC}" | $as_tr_sh`
15066 echo "$as_me:$LINENO: checking for ${GJDOC}" >&5
15067 echo $ECHO_N "checking for ${GJDOC}... $ECHO_C" >&6
15068 if eval "test \"\${$as_ac_File+set}\" = set"; then
15069 echo $ECHO_N "(cached) $ECHO_C" >&6
15071 test "$cross_compiling" = yes &&
15072 { { echo "$as_me:$LINENO: error: cannot check for file existence when cross compiling" >&5
15073 echo "$as_me: error: cannot check for file existence when cross compiling" >&2;}
15074 { (exit 1); exit 1; }; }
15075 if test -r "${GJDOC}"; then
15076 eval "$as_ac_File=yes"
15078 eval "$as_ac_File=no"
15081 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_File'}'`" >&5
15082 echo "${ECHO_T}`eval echo '${'$as_ac_File'}'`" >&6
15083 if test `eval echo '${'$as_ac_File'}'` = yes; then
15086 { { echo "$as_me:$LINENO: error: \"Cannot use ${withval} as gjdoc executable since it doesn't exist\"" >&5
15087 echo "$as_me: error: \"Cannot use ${withval} as gjdoc executable since it doesn't exist\"" >&2;}
15088 { (exit 1); exit 1; }; }
15098 if test "x${WITH_GJDOC}" = xyes
; then
15099 CREATE_API_DOCS_TRUE
=
15100 CREATE_API_DOCS_FALSE
='#'
15102 CREATE_API_DOCS_TRUE
='#'
15103 CREATE_API_DOCS_FALSE
=
15110 # Check whether --with-jay or --without-jay was given.
15111 if test "${with_jay+set}" = set; then
15112 withval
="$with_jay"
15114 if test -d "${withval}"; then
15115 JAY_DIR_PATH
="${withval}"
15116 # Extract the first word of "jay", so it can be a program name with args.
15117 set dummy jay
; ac_word
=$2
15118 echo "$as_me:$LINENO: checking for $ac_word" >&5
15119 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
15120 if test "${ac_cv_path_JAY+set}" = set; then
15121 echo $ECHO_N "(cached) $ECHO_C" >&6
15125 ac_cv_path_JAY
="$JAY" # Let the user override the test with a path.
15128 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
15129 for as_dir
in ${JAY_DIR_PATH}
15132 test -z "$as_dir" && as_dir
=.
15133 for ac_exec_ext
in '' $ac_executable_extensions; do
15134 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
15135 ac_cv_path_JAY
="$as_dir/$ac_word$ac_exec_ext"
15136 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
15142 test -z "$ac_cv_path_JAY" && ac_cv_path_JAY
=""no
""
15146 JAY
=$ac_cv_path_JAY
15148 if test -n "$JAY"; then
15149 echo "$as_me:$LINENO: result: $JAY" >&5
15150 echo "${ECHO_T}$JAY" >&6
15152 echo "$as_me:$LINENO: result: no" >&5
15153 echo "${ECHO_T}no" >&6
15156 if test "x${JAY}" = xno
; then
15157 { { echo "$as_me:$LINENO: error: \"jay executable not found\"" >&5
15158 echo "$as_me: error: \"jay executable not found\"" >&2;}
15159 { (exit 1); exit 1; }; };
15162 JAY_DIR_PATH
=`dirname "${withval}"`
15166 JAY_SKELETON
="${JAY_DIR_PATH}/skeleton"
15167 as_ac_File
=`echo "ac_cv_file_${JAY_SKELETON}" | $as_tr_sh`
15168 echo "$as_me:$LINENO: checking for ${JAY_SKELETON}" >&5
15169 echo $ECHO_N "checking for ${JAY_SKELETON}... $ECHO_C" >&6
15170 if eval "test \"\${$as_ac_File+set}\" = set"; then
15171 echo $ECHO_N "(cached) $ECHO_C" >&6
15173 test "$cross_compiling" = yes &&
15174 { { echo "$as_me:$LINENO: error: cannot check for file existence when cross compiling" >&5
15175 echo "$as_me: error: cannot check for file existence when cross compiling" >&2;}
15176 { (exit 1); exit 1; }; }
15177 if test -r "${JAY_SKELETON}"; then
15178 eval "$as_ac_File=yes"
15180 eval "$as_ac_File=no"
15183 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_File'}'`" >&5
15184 echo "${ECHO_T}`eval echo '${'$as_ac_File'}'`" >&6
15185 if test `eval echo '${'$as_ac_File'}'` = yes; then
15188 { { echo "$as_me:$LINENO: error: \"Expected skeleton file in \`dirname ${withval}\`\"" >&5
15189 echo "$as_me: error: \"Expected skeleton file in \`dirname ${withval}\`\"" >&2;}
15190 { (exit 1); exit 1; }; }
15202 if test "x${JAY_FOUND}" = xyes
; then
15203 REGEN_PARSERS_TRUE
=
15204 REGEN_PARSERS_FALSE
='#'
15206 REGEN_PARSERS_TRUE
='#'
15207 REGEN_PARSERS_FALSE
=
15212 # Check whether --enable-portable-native-sync or --disable-portable-native-sync was given.
15213 if test "${enable_portable_native_sync+set}" = set; then
15214 enableval
="$enable_portable_native_sync"
15215 case "${enableval}" in
15218 cat >>confdefs.h
<<\_ACEOF
15219 #define PORTABLE_NATIVE_SYNC 1
15225 { { echo "$as_me:$LINENO: error: bad value ${enableval} for --enable-portable-native-sync" >&5
15226 echo "$as_me: error: bad value ${enableval} for --enable-portable-native-sync" >&2;}
15227 { (exit 1); exit 1; }; }
15232 # ------ AX CREATE STDINT H -------------------------------------
15233 echo "$as_me:$LINENO: checking for stdint types" >&5
15234 echo $ECHO_N "checking for stdint types... $ECHO_C" >&6
15235 ac_stdint_h
=`echo include/config-int.h`
15236 # try to shortcircuit - if the default include path of the compiler
15237 # can find a "stdint.h" header then we assume that all compilers can.
15238 if test "${ac_cv_header_stdint_t+set}" = set; then
15239 echo $ECHO_N "(cached) $ECHO_C" >&6
15242 old_CXXFLAGS
="$CXXFLAGS" ; CXXFLAGS
=""
15243 old_CPPFLAGS
="$CPPFLAGS" ; CPPFLAGS
=""
15244 old_CFLAGS
="$CFLAGS" ; CFLAGS
=""
15245 cat >conftest.
$ac_ext <<_ACEOF
15248 cat confdefs.h
>>conftest.
$ac_ext
15249 cat >>conftest.
$ac_ext <<_ACEOF
15250 /* end confdefs.h. */
15251 #include <stdint.h>
15255 int_least32_t v = 0;
15260 rm -f conftest.
$ac_objext
15261 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15262 (eval $ac_compile) 2>conftest.er1
15264 grep -v '^ *+' conftest.er1
>conftest.err
15266 cat conftest.err
>&5
15267 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15268 (exit $ac_status); } &&
15269 { ac_try
='test -z "$ac_c_werror_flag"
15270 || test ! -s conftest.err'
15271 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15272 (eval $ac_try) 2>&5
15274 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15275 (exit $ac_status); }; } &&
15276 { ac_try
='test -s conftest.$ac_objext'
15277 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15278 (eval $ac_try) 2>&5
15280 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15281 (exit $ac_status); }; }; then
15282 ac_cv_stdint_result
="(assuming C99 compatible system)"
15283 ac_cv_header_stdint_t
="stdint.h";
15285 echo "$as_me: failed program was:" >&5
15286 sed 's/^/| /' conftest.
$ac_ext >&5
15288 ac_cv_header_stdint_t
=""
15290 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
15291 CXXFLAGS
="$old_CXXFLAGS"
15292 CPPFLAGS
="$old_CPPFLAGS"
15293 CFLAGS
="$old_CFLAGS"
15297 v
="... $ac_cv_header_stdint_h"
15298 if test "$ac_stdint_h" = "stdint.h" ; then
15299 echo "$as_me:$LINENO: result: (are you sure you want them in ./stdint.h?)" >&5
15300 echo "${ECHO_T}(are you sure you want them in ./stdint.h?)" >&6
15301 elif test "$ac_stdint_h" = "inttypes.h" ; then
15302 echo "$as_me:$LINENO: result: (are you sure you want them in ./inttypes.h?)" >&5
15303 echo "${ECHO_T}(are you sure you want them in ./inttypes.h?)" >&6
15304 elif test "_$ac_cv_header_stdint_t" = "_" ; then
15305 echo "$as_me:$LINENO: result: (putting them into $ac_stdint_h)$v" >&5
15306 echo "${ECHO_T}(putting them into $ac_stdint_h)$v" >&6
15308 ac_cv_header_stdint
="$ac_cv_header_stdint_t"
15309 echo "$as_me:$LINENO: result: $ac_cv_header_stdint (shortcircuit)" >&5
15310 echo "${ECHO_T}$ac_cv_header_stdint (shortcircuit)" >&6
15313 if test "_$ac_cv_header_stdint_t" = "_" ; then # can not shortcircuit..
15316 inttype_headers
=`echo | sed -e 's/,/ /g'`
15318 ac_cv_stdint_result
="(no helpful system typedefs seen)"
15320 echo "$as_me:$LINENO: checking for stdint uintptr_t" >&5
15321 echo $ECHO_N "checking for stdint uintptr_t... $ECHO_C" >&6
15322 if test "${ac_cv_header_stdint_x+set}" = set; then
15323 echo $ECHO_N "(cached) $ECHO_C" >&6
15326 ac_cv_header_stdint_x
="" # the 1997 typedefs (inttypes.h)
15327 echo "$as_me:$LINENO: result: (..)" >&5
15328 echo "${ECHO_T}(..)" >&6
15329 for i
in stdint.h inttypes.h sys
/inttypes.h
$inttype_headers ; do
15330 unset ac_cv_type_uintptr_t
15331 unset ac_cv_type_uint64_t
15332 echo "$as_me:$LINENO: checking for uintptr_t" >&5
15333 echo $ECHO_N "checking for uintptr_t... $ECHO_C" >&6
15334 if test "${ac_cv_type_uintptr_t+set}" = set; then
15335 echo $ECHO_N "(cached) $ECHO_C" >&6
15337 cat >conftest.
$ac_ext <<_ACEOF
15340 cat confdefs.h
>>conftest.
$ac_ext
15341 cat >>conftest.
$ac_ext <<_ACEOF
15342 /* end confdefs.h. */
15348 if ((uintptr_t *) 0)
15350 if (sizeof (uintptr_t))
15356 rm -f conftest.
$ac_objext
15357 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15358 (eval $ac_compile) 2>conftest.er1
15360 grep -v '^ *+' conftest.er1
>conftest.err
15362 cat conftest.err
>&5
15363 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15364 (exit $ac_status); } &&
15365 { ac_try
='test -z "$ac_c_werror_flag"
15366 || test ! -s conftest.err'
15367 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15368 (eval $ac_try) 2>&5
15370 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15371 (exit $ac_status); }; } &&
15372 { ac_try
='test -s conftest.$ac_objext'
15373 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15374 (eval $ac_try) 2>&5
15376 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15377 (exit $ac_status); }; }; then
15378 ac_cv_type_uintptr_t
=yes
15380 echo "$as_me: failed program was:" >&5
15381 sed 's/^/| /' conftest.
$ac_ext >&5
15383 ac_cv_type_uintptr_t
=no
15385 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
15387 echo "$as_me:$LINENO: result: $ac_cv_type_uintptr_t" >&5
15388 echo "${ECHO_T}$ac_cv_type_uintptr_t" >&6
15389 if test $ac_cv_type_uintptr_t = yes; then
15390 ac_cv_header_stdint_x
=$i
15395 echo "$as_me:$LINENO: checking for uint64_t" >&5
15396 echo $ECHO_N "checking for uint64_t... $ECHO_C" >&6
15397 if test "${ac_cv_type_uint64_t+set}" = set; then
15398 echo $ECHO_N "(cached) $ECHO_C" >&6
15400 cat >conftest.
$ac_ext <<_ACEOF
15403 cat confdefs.h
>>conftest.
$ac_ext
15404 cat >>conftest.
$ac_ext <<_ACEOF
15405 /* end confdefs.h. */
15411 if ((uint64_t *) 0)
15413 if (sizeof (uint64_t))
15419 rm -f conftest.
$ac_objext
15420 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15421 (eval $ac_compile) 2>conftest.er1
15423 grep -v '^ *+' conftest.er1
>conftest.err
15425 cat conftest.err
>&5
15426 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15427 (exit $ac_status); } &&
15428 { ac_try
='test -z "$ac_c_werror_flag"
15429 || test ! -s conftest.err'
15430 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15431 (eval $ac_try) 2>&5
15433 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15434 (exit $ac_status); }; } &&
15435 { ac_try
='test -s conftest.$ac_objext'
15436 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15437 (eval $ac_try) 2>&5
15439 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15440 (exit $ac_status); }; }; then
15441 ac_cv_type_uint64_t
=yes
15443 echo "$as_me: failed program was:" >&5
15444 sed 's/^/| /' conftest.
$ac_ext >&5
15446 ac_cv_type_uint64_t
=no
15448 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
15450 echo "$as_me:$LINENO: result: $ac_cv_type_uint64_t" >&5
15451 echo "${ECHO_T}$ac_cv_type_uint64_t" >&6
15452 if test $ac_cv_type_uint64_t = yes; then
15458 stdint.h inttypes.h sys
/inttypes.h
$inttype_headers
15461 echo "$as_me:$LINENO: checking for stdint uintptr_t" >&5
15462 echo $ECHO_N "checking for stdint uintptr_t... $ECHO_C" >&6
15465 echo "$as_me:$LINENO: result: $ac_cv_header_stdint_x" >&5
15466 echo "${ECHO_T}$ac_cv_header_stdint_x" >&6
15469 if test "_$ac_cv_header_stdint_x" = "_" ; then
15471 echo "$as_me:$LINENO: checking for stdint uint32_t" >&5
15472 echo $ECHO_N "checking for stdint uint32_t... $ECHO_C" >&6
15473 if test "${ac_cv_header_stdint_o+set}" = set; then
15474 echo $ECHO_N "(cached) $ECHO_C" >&6
15477 ac_cv_header_stdint_o
="" # the 1995 typedefs (sys/inttypes.h)
15478 echo "$as_me:$LINENO: result: (..)" >&5
15479 echo "${ECHO_T}(..)" >&6
15480 for i
in inttypes.h sys
/inttypes.h stdint.h
$inttype_headers ; do
15481 unset ac_cv_type_uint32_t
15482 unset ac_cv_type_uint64_t
15483 echo "$as_me:$LINENO: checking for uint32_t" >&5
15484 echo $ECHO_N "checking for uint32_t... $ECHO_C" >&6
15485 if test "${ac_cv_type_uint32_t+set}" = set; then
15486 echo $ECHO_N "(cached) $ECHO_C" >&6
15488 cat >conftest.
$ac_ext <<_ACEOF
15491 cat confdefs.h
>>conftest.
$ac_ext
15492 cat >>conftest.
$ac_ext <<_ACEOF
15493 /* end confdefs.h. */
15499 if ((uint32_t *) 0)
15501 if (sizeof (uint32_t))
15507 rm -f conftest.
$ac_objext
15508 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15509 (eval $ac_compile) 2>conftest.er1
15511 grep -v '^ *+' conftest.er1
>conftest.err
15513 cat conftest.err
>&5
15514 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15515 (exit $ac_status); } &&
15516 { ac_try
='test -z "$ac_c_werror_flag"
15517 || test ! -s conftest.err'
15518 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15519 (eval $ac_try) 2>&5
15521 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15522 (exit $ac_status); }; } &&
15523 { ac_try
='test -s conftest.$ac_objext'
15524 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15525 (eval $ac_try) 2>&5
15527 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15528 (exit $ac_status); }; }; then
15529 ac_cv_type_uint32_t
=yes
15531 echo "$as_me: failed program was:" >&5
15532 sed 's/^/| /' conftest.
$ac_ext >&5
15534 ac_cv_type_uint32_t
=no
15536 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
15538 echo "$as_me:$LINENO: result: $ac_cv_type_uint32_t" >&5
15539 echo "${ECHO_T}$ac_cv_type_uint32_t" >&6
15540 if test $ac_cv_type_uint32_t = yes; then
15541 ac_cv_header_stdint_o
=$i
15546 echo "$as_me:$LINENO: checking for uint64_t" >&5
15547 echo $ECHO_N "checking for uint64_t... $ECHO_C" >&6
15548 if test "${ac_cv_type_uint64_t+set}" = set; then
15549 echo $ECHO_N "(cached) $ECHO_C" >&6
15551 cat >conftest.
$ac_ext <<_ACEOF
15554 cat confdefs.h
>>conftest.
$ac_ext
15555 cat >>conftest.
$ac_ext <<_ACEOF
15556 /* end confdefs.h. */
15562 if ((uint64_t *) 0)
15564 if (sizeof (uint64_t))
15570 rm -f conftest.
$ac_objext
15571 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15572 (eval $ac_compile) 2>conftest.er1
15574 grep -v '^ *+' conftest.er1
>conftest.err
15576 cat conftest.err
>&5
15577 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15578 (exit $ac_status); } &&
15579 { ac_try
='test -z "$ac_c_werror_flag"
15580 || test ! -s conftest.err'
15581 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15582 (eval $ac_try) 2>&5
15584 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15585 (exit $ac_status); }; } &&
15586 { ac_try
='test -s conftest.$ac_objext'
15587 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15588 (eval $ac_try) 2>&5
15590 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15591 (exit $ac_status); }; }; then
15592 ac_cv_type_uint64_t
=yes
15594 echo "$as_me: failed program was:" >&5
15595 sed 's/^/| /' conftest.
$ac_ext >&5
15597 ac_cv_type_uint64_t
=no
15599 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
15601 echo "$as_me:$LINENO: result: $ac_cv_type_uint64_t" >&5
15602 echo "${ECHO_T}$ac_cv_type_uint64_t" >&6
15603 if test $ac_cv_type_uint64_t = yes; then
15609 inttypes.h sys
/inttypes.h stdint.h
$inttype_headers
15613 echo "$as_me:$LINENO: checking for stdint uint32_t" >&5
15614 echo $ECHO_N "checking for stdint uint32_t... $ECHO_C" >&6
15617 echo "$as_me:$LINENO: result: $ac_cv_header_stdint_o" >&5
15618 echo "${ECHO_T}$ac_cv_header_stdint_o" >&6
15622 if test "_$ac_cv_header_stdint_x" = "_" ; then
15623 if test "_$ac_cv_header_stdint_o" = "_" ; then
15625 echo "$as_me:$LINENO: checking for stdint u_int32_t" >&5
15626 echo $ECHO_N "checking for stdint u_int32_t... $ECHO_C" >&6
15627 if test "${ac_cv_header_stdint_u+set}" = set; then
15628 echo $ECHO_N "(cached) $ECHO_C" >&6
15631 ac_cv_header_stdint_u
="" # the BSD typedefs (sys/types.h)
15632 echo "$as_me:$LINENO: result: (..)" >&5
15633 echo "${ECHO_T}(..)" >&6
15634 for i
in sys
/types.h inttypes.h sys
/inttypes.h
$inttype_headers ; do
15635 unset ac_cv_type_u_int32_t
15636 unset ac_cv_type_u_int64_t
15637 echo "$as_me:$LINENO: checking for u_int32_t" >&5
15638 echo $ECHO_N "checking for u_int32_t... $ECHO_C" >&6
15639 if test "${ac_cv_type_u_int32_t+set}" = set; then
15640 echo $ECHO_N "(cached) $ECHO_C" >&6
15642 cat >conftest.
$ac_ext <<_ACEOF
15645 cat confdefs.h
>>conftest.
$ac_ext
15646 cat >>conftest.
$ac_ext <<_ACEOF
15647 /* end confdefs.h. */
15653 if ((u_int32_t *) 0)
15655 if (sizeof (u_int32_t))
15661 rm -f conftest.
$ac_objext
15662 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15663 (eval $ac_compile) 2>conftest.er1
15665 grep -v '^ *+' conftest.er1
>conftest.err
15667 cat conftest.err
>&5
15668 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15669 (exit $ac_status); } &&
15670 { ac_try
='test -z "$ac_c_werror_flag"
15671 || test ! -s conftest.err'
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); }; } &&
15677 { ac_try
='test -s conftest.$ac_objext'
15678 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15679 (eval $ac_try) 2>&5
15681 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15682 (exit $ac_status); }; }; then
15683 ac_cv_type_u_int32_t
=yes
15685 echo "$as_me: failed program was:" >&5
15686 sed 's/^/| /' conftest.
$ac_ext >&5
15688 ac_cv_type_u_int32_t
=no
15690 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
15692 echo "$as_me:$LINENO: result: $ac_cv_type_u_int32_t" >&5
15693 echo "${ECHO_T}$ac_cv_type_u_int32_t" >&6
15694 if test $ac_cv_type_u_int32_t = yes; then
15695 ac_cv_header_stdint_u
=$i
15700 echo "$as_me:$LINENO: checking for u_int64_t" >&5
15701 echo $ECHO_N "checking for u_int64_t... $ECHO_C" >&6
15702 if test "${ac_cv_type_u_int64_t+set}" = set; then
15703 echo $ECHO_N "(cached) $ECHO_C" >&6
15705 cat >conftest.
$ac_ext <<_ACEOF
15708 cat confdefs.h
>>conftest.
$ac_ext
15709 cat >>conftest.
$ac_ext <<_ACEOF
15710 /* end confdefs.h. */
15716 if ((u_int64_t *) 0)
15718 if (sizeof (u_int64_t))
15724 rm -f conftest.
$ac_objext
15725 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15726 (eval $ac_compile) 2>conftest.er1
15728 grep -v '^ *+' conftest.er1
>conftest.err
15730 cat conftest.err
>&5
15731 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15732 (exit $ac_status); } &&
15733 { ac_try
='test -z "$ac_c_werror_flag"
15734 || test ! -s conftest.err'
15735 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15736 (eval $ac_try) 2>&5
15738 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15739 (exit $ac_status); }; } &&
15740 { ac_try
='test -s conftest.$ac_objext'
15741 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15742 (eval $ac_try) 2>&5
15744 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15745 (exit $ac_status); }; }; then
15746 ac_cv_type_u_int64_t
=yes
15748 echo "$as_me: failed program was:" >&5
15749 sed 's/^/| /' conftest.
$ac_ext >&5
15751 ac_cv_type_u_int64_t
=no
15753 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
15755 echo "$as_me:$LINENO: result: $ac_cv_type_u_int64_t" >&5
15756 echo "${ECHO_T}$ac_cv_type_u_int64_t" >&6
15757 if test $ac_cv_type_u_int64_t = yes; then
15763 sys
/types.h inttypes.h sys
/inttypes.h
$inttype_headers
15767 echo "$as_me:$LINENO: checking for stdint u_int32_t" >&5
15768 echo $ECHO_N "checking for stdint u_int32_t... $ECHO_C" >&6
15771 echo "$as_me:$LINENO: result: $ac_cv_header_stdint_u" >&5
15772 echo "${ECHO_T}$ac_cv_header_stdint_u" >&6
15776 if test "_$ac_cv_header_stdint_x" = "_" ; then
15777 echo "$as_me:$LINENO: checking for stdint datatype model" >&5
15778 echo $ECHO_N "checking for stdint datatype model... $ECHO_C" >&6
15779 echo "$as_me:$LINENO: result: (..)" >&5
15780 echo "${ECHO_T}(..)" >&6
15782 echo "$as_me:$LINENO: checking for char" >&5
15783 echo $ECHO_N "checking for char... $ECHO_C" >&6
15784 if test "${ac_cv_type_char+set}" = set; then
15785 echo $ECHO_N "(cached) $ECHO_C" >&6
15787 cat >conftest.
$ac_ext <<_ACEOF
15790 cat confdefs.h
>>conftest.
$ac_ext
15791 cat >>conftest.
$ac_ext <<_ACEOF
15792 /* end confdefs.h. */
15793 $ac_includes_default
15805 rm -f conftest.
$ac_objext
15806 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15807 (eval $ac_compile) 2>conftest.er1
15809 grep -v '^ *+' conftest.er1
>conftest.err
15811 cat conftest.err
>&5
15812 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15813 (exit $ac_status); } &&
15814 { ac_try
='test -z "$ac_c_werror_flag"
15815 || test ! -s conftest.err'
15816 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15817 (eval $ac_try) 2>&5
15819 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15820 (exit $ac_status); }; } &&
15821 { ac_try
='test -s conftest.$ac_objext'
15822 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15823 (eval $ac_try) 2>&5
15825 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15826 (exit $ac_status); }; }; then
15827 ac_cv_type_char
=yes
15829 echo "$as_me: failed program was:" >&5
15830 sed 's/^/| /' conftest.
$ac_ext >&5
15834 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
15836 echo "$as_me:$LINENO: result: $ac_cv_type_char" >&5
15837 echo "${ECHO_T}$ac_cv_type_char" >&6
15839 echo "$as_me:$LINENO: checking size of char" >&5
15840 echo $ECHO_N "checking size of char... $ECHO_C" >&6
15841 if test "${ac_cv_sizeof_char+set}" = set; then
15842 echo $ECHO_N "(cached) $ECHO_C" >&6
15844 if test "$ac_cv_type_char" = yes; then
15845 # The cast to unsigned long works around a bug in the HP C Compiler
15846 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
15847 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
15848 # This bug is HP SR number 8606223364.
15849 if test "$cross_compiling" = yes; then
15850 # Depending upon the size, compute the lo and hi bounds.
15851 cat >conftest.
$ac_ext <<_ACEOF
15854 cat confdefs.h
>>conftest.
$ac_ext
15855 cat >>conftest.
$ac_ext <<_ACEOF
15856 /* end confdefs.h. */
15857 $ac_includes_default
15861 static int test_array [1 - 2 * !(((long) (sizeof (char))) >= 0)];
15868 rm -f conftest.
$ac_objext
15869 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15870 (eval $ac_compile) 2>conftest.er1
15872 grep -v '^ *+' conftest.er1
>conftest.err
15874 cat conftest.err
>&5
15875 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15876 (exit $ac_status); } &&
15877 { ac_try
='test -z "$ac_c_werror_flag"
15878 || test ! -s conftest.err'
15879 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15880 (eval $ac_try) 2>&5
15882 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15883 (exit $ac_status); }; } &&
15884 { ac_try
='test -s conftest.$ac_objext'
15885 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15886 (eval $ac_try) 2>&5
15888 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15889 (exit $ac_status); }; }; then
15892 cat >conftest.
$ac_ext <<_ACEOF
15895 cat confdefs.h
>>conftest.
$ac_ext
15896 cat >>conftest.
$ac_ext <<_ACEOF
15897 /* end confdefs.h. */
15898 $ac_includes_default
15902 static int test_array [1 - 2 * !(((long) (sizeof (char))) <= $ac_mid)];
15909 rm -f conftest.
$ac_objext
15910 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15911 (eval $ac_compile) 2>conftest.er1
15913 grep -v '^ *+' conftest.er1
>conftest.err
15915 cat conftest.err
>&5
15916 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15917 (exit $ac_status); } &&
15918 { ac_try
='test -z "$ac_c_werror_flag"
15919 || test ! -s conftest.err'
15920 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15921 (eval $ac_try) 2>&5
15923 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15924 (exit $ac_status); }; } &&
15925 { ac_try
='test -s conftest.$ac_objext'
15926 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15927 (eval $ac_try) 2>&5
15929 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15930 (exit $ac_status); }; }; then
15931 ac_hi
=$ac_mid; break
15933 echo "$as_me: failed program was:" >&5
15934 sed 's/^/| /' conftest.
$ac_ext >&5
15936 ac_lo
=`expr $ac_mid + 1`
15937 if test $ac_lo -le $ac_mid; then
15941 ac_mid
=`expr 2 '*' $ac_mid + 1`
15943 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
15946 echo "$as_me: failed program was:" >&5
15947 sed 's/^/| /' conftest.
$ac_ext >&5
15949 cat >conftest.
$ac_ext <<_ACEOF
15952 cat confdefs.h
>>conftest.
$ac_ext
15953 cat >>conftest.
$ac_ext <<_ACEOF
15954 /* end confdefs.h. */
15955 $ac_includes_default
15959 static int test_array [1 - 2 * !(((long) (sizeof (char))) < 0)];
15966 rm -f conftest.
$ac_objext
15967 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15968 (eval $ac_compile) 2>conftest.er1
15970 grep -v '^ *+' conftest.er1
>conftest.err
15972 cat conftest.err
>&5
15973 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15974 (exit $ac_status); } &&
15975 { ac_try
='test -z "$ac_c_werror_flag"
15976 || test ! -s conftest.err'
15977 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15978 (eval $ac_try) 2>&5
15980 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15981 (exit $ac_status); }; } &&
15982 { ac_try
='test -s conftest.$ac_objext'
15983 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15984 (eval $ac_try) 2>&5
15986 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15987 (exit $ac_status); }; }; then
15990 cat >conftest.
$ac_ext <<_ACEOF
15993 cat confdefs.h
>>conftest.
$ac_ext
15994 cat >>conftest.
$ac_ext <<_ACEOF
15995 /* end confdefs.h. */
15996 $ac_includes_default
16000 static int test_array [1 - 2 * !(((long) (sizeof (char))) >= $ac_mid)];
16007 rm -f conftest.
$ac_objext
16008 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16009 (eval $ac_compile) 2>conftest.er1
16011 grep -v '^ *+' conftest.er1
>conftest.err
16013 cat conftest.err
>&5
16014 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16015 (exit $ac_status); } &&
16016 { ac_try
='test -z "$ac_c_werror_flag"
16017 || test ! -s conftest.err'
16018 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16019 (eval $ac_try) 2>&5
16021 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16022 (exit $ac_status); }; } &&
16023 { ac_try
='test -s conftest.$ac_objext'
16024 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16025 (eval $ac_try) 2>&5
16027 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16028 (exit $ac_status); }; }; then
16029 ac_lo
=$ac_mid; break
16031 echo "$as_me: failed program was:" >&5
16032 sed 's/^/| /' conftest.
$ac_ext >&5
16034 ac_hi
=`expr '(' $ac_mid ')' - 1`
16035 if test $ac_mid -le $ac_hi; then
16039 ac_mid
=`expr 2 '*' $ac_mid`
16041 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
16044 echo "$as_me: failed program was:" >&5
16045 sed 's/^/| /' conftest.
$ac_ext >&5
16049 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
16051 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
16052 # Binary search between lo and hi bounds.
16053 while test "x$ac_lo" != "x$ac_hi"; do
16054 ac_mid
=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
16055 cat >conftest.
$ac_ext <<_ACEOF
16058 cat confdefs.h
>>conftest.
$ac_ext
16059 cat >>conftest.
$ac_ext <<_ACEOF
16060 /* end confdefs.h. */
16061 $ac_includes_default
16065 static int test_array [1 - 2 * !(((long) (sizeof (char))) <= $ac_mid)];
16072 rm -f conftest.
$ac_objext
16073 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16074 (eval $ac_compile) 2>conftest.er1
16076 grep -v '^ *+' conftest.er1
>conftest.err
16078 cat conftest.err
>&5
16079 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16080 (exit $ac_status); } &&
16081 { ac_try
='test -z "$ac_c_werror_flag"
16082 || test ! -s conftest.err'
16083 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16084 (eval $ac_try) 2>&5
16086 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16087 (exit $ac_status); }; } &&
16088 { ac_try
='test -s conftest.$ac_objext'
16089 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16090 (eval $ac_try) 2>&5
16092 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16093 (exit $ac_status); }; }; then
16096 echo "$as_me: failed program was:" >&5
16097 sed 's/^/| /' conftest.
$ac_ext >&5
16099 ac_lo
=`expr '(' $ac_mid ')' + 1`
16101 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
16104 ?
*) ac_cv_sizeof_char
=$ac_lo;;
16105 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (char), 77
16106 See \`config.log' for more details." >&5
16107 echo "$as_me: error: cannot compute sizeof (char), 77
16108 See \`config.log' for more details." >&2;}
16109 { (exit 1); exit 1; }; } ;;
16112 if test "$cross_compiling" = yes; then
16113 { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
16114 See \`config.log' for more details." >&5
16115 echo "$as_me: error: cannot run test program while cross compiling
16116 See \`config.log' for more details." >&2;}
16117 { (exit 1); exit 1; }; }
16119 cat >conftest.
$ac_ext <<_ACEOF
16122 cat confdefs.h
>>conftest.
$ac_ext
16123 cat >>conftest.
$ac_ext <<_ACEOF
16124 /* end confdefs.h. */
16125 $ac_includes_default
16126 long longval () { return (long) (sizeof (char)); }
16127 unsigned long ulongval () { return (long) (sizeof (char)); }
16129 #include <stdlib.h>
16134 FILE *f = fopen ("conftest.val", "w");
16137 if (((long) (sizeof (char))) < 0)
16139 long i = longval ();
16140 if (i != ((long) (sizeof (char))))
16142 fprintf (f, "%ld\n", i);
16146 unsigned long i = ulongval ();
16147 if (i != ((long) (sizeof (char))))
16149 fprintf (f, "%lu\n", i);
16151 exit (ferror (f) || fclose (f) != 0);
16157 rm -f conftest
$ac_exeext
16158 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
16159 (eval $ac_link) 2>&5
16161 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16162 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
16163 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16164 (eval $ac_try) 2>&5
16166 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16167 (exit $ac_status); }; }; then
16168 ac_cv_sizeof_char
=`cat conftest.val`
16170 echo "$as_me: program exited with status $ac_status" >&5
16171 echo "$as_me: failed program was:" >&5
16172 sed 's/^/| /' conftest.
$ac_ext >&5
16174 ( exit $ac_status )
16175 { { echo "$as_me:$LINENO: error: cannot compute sizeof (char), 77
16176 See \`config.log' for more details." >&5
16177 echo "$as_me: error: cannot compute sizeof (char), 77
16178 See \`config.log' for more details." >&2;}
16179 { (exit 1); exit 1; }; }
16181 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
16186 ac_cv_sizeof_char
=0
16189 echo "$as_me:$LINENO: result: $ac_cv_sizeof_char" >&5
16190 echo "${ECHO_T}$ac_cv_sizeof_char" >&6
16191 cat >>confdefs.h
<<_ACEOF
16192 #define SIZEOF_CHAR $ac_cv_sizeof_char
16196 echo "$as_me:$LINENO: checking for short" >&5
16197 echo $ECHO_N "checking for short... $ECHO_C" >&6
16198 if test "${ac_cv_type_short+set}" = set; then
16199 echo $ECHO_N "(cached) $ECHO_C" >&6
16201 cat >conftest.
$ac_ext <<_ACEOF
16204 cat confdefs.h
>>conftest.
$ac_ext
16205 cat >>conftest.
$ac_ext <<_ACEOF
16206 /* end confdefs.h. */
16207 $ac_includes_default
16213 if (sizeof (short))
16219 rm -f conftest.
$ac_objext
16220 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16221 (eval $ac_compile) 2>conftest.er1
16223 grep -v '^ *+' conftest.er1
>conftest.err
16225 cat conftest.err
>&5
16226 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16227 (exit $ac_status); } &&
16228 { ac_try
='test -z "$ac_c_werror_flag"
16229 || test ! -s conftest.err'
16230 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16231 (eval $ac_try) 2>&5
16233 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16234 (exit $ac_status); }; } &&
16235 { ac_try
='test -s conftest.$ac_objext'
16236 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16237 (eval $ac_try) 2>&5
16239 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16240 (exit $ac_status); }; }; then
16241 ac_cv_type_short
=yes
16243 echo "$as_me: failed program was:" >&5
16244 sed 's/^/| /' conftest.
$ac_ext >&5
16246 ac_cv_type_short
=no
16248 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
16250 echo "$as_me:$LINENO: result: $ac_cv_type_short" >&5
16251 echo "${ECHO_T}$ac_cv_type_short" >&6
16253 echo "$as_me:$LINENO: checking size of short" >&5
16254 echo $ECHO_N "checking size of short... $ECHO_C" >&6
16255 if test "${ac_cv_sizeof_short+set}" = set; then
16256 echo $ECHO_N "(cached) $ECHO_C" >&6
16258 if test "$ac_cv_type_short" = yes; then
16259 # The cast to unsigned long works around a bug in the HP C Compiler
16260 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
16261 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
16262 # This bug is HP SR number 8606223364.
16263 if test "$cross_compiling" = yes; then
16264 # Depending upon the size, compute the lo and hi bounds.
16265 cat >conftest.
$ac_ext <<_ACEOF
16268 cat confdefs.h
>>conftest.
$ac_ext
16269 cat >>conftest.
$ac_ext <<_ACEOF
16270 /* end confdefs.h. */
16271 $ac_includes_default
16275 static int test_array [1 - 2 * !(((long) (sizeof (short))) >= 0)];
16282 rm -f conftest.
$ac_objext
16283 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16284 (eval $ac_compile) 2>conftest.er1
16286 grep -v '^ *+' conftest.er1
>conftest.err
16288 cat conftest.err
>&5
16289 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16290 (exit $ac_status); } &&
16291 { ac_try
='test -z "$ac_c_werror_flag"
16292 || test ! -s conftest.err'
16293 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16294 (eval $ac_try) 2>&5
16296 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16297 (exit $ac_status); }; } &&
16298 { ac_try
='test -s conftest.$ac_objext'
16299 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16300 (eval $ac_try) 2>&5
16302 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16303 (exit $ac_status); }; }; then
16306 cat >conftest.
$ac_ext <<_ACEOF
16309 cat confdefs.h
>>conftest.
$ac_ext
16310 cat >>conftest.
$ac_ext <<_ACEOF
16311 /* end confdefs.h. */
16312 $ac_includes_default
16316 static int test_array [1 - 2 * !(((long) (sizeof (short))) <= $ac_mid)];
16323 rm -f conftest.
$ac_objext
16324 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16325 (eval $ac_compile) 2>conftest.er1
16327 grep -v '^ *+' conftest.er1
>conftest.err
16329 cat conftest.err
>&5
16330 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16331 (exit $ac_status); } &&
16332 { ac_try
='test -z "$ac_c_werror_flag"
16333 || test ! -s conftest.err'
16334 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16335 (eval $ac_try) 2>&5
16337 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16338 (exit $ac_status); }; } &&
16339 { ac_try
='test -s conftest.$ac_objext'
16340 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16341 (eval $ac_try) 2>&5
16343 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16344 (exit $ac_status); }; }; then
16345 ac_hi
=$ac_mid; break
16347 echo "$as_me: failed program was:" >&5
16348 sed 's/^/| /' conftest.
$ac_ext >&5
16350 ac_lo
=`expr $ac_mid + 1`
16351 if test $ac_lo -le $ac_mid; then
16355 ac_mid
=`expr 2 '*' $ac_mid + 1`
16357 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
16360 echo "$as_me: failed program was:" >&5
16361 sed 's/^/| /' conftest.
$ac_ext >&5
16363 cat >conftest.
$ac_ext <<_ACEOF
16366 cat confdefs.h
>>conftest.
$ac_ext
16367 cat >>conftest.
$ac_ext <<_ACEOF
16368 /* end confdefs.h. */
16369 $ac_includes_default
16373 static int test_array [1 - 2 * !(((long) (sizeof (short))) < 0)];
16380 rm -f conftest.
$ac_objext
16381 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16382 (eval $ac_compile) 2>conftest.er1
16384 grep -v '^ *+' conftest.er1
>conftest.err
16386 cat conftest.err
>&5
16387 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16388 (exit $ac_status); } &&
16389 { ac_try
='test -z "$ac_c_werror_flag"
16390 || test ! -s conftest.err'
16391 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16392 (eval $ac_try) 2>&5
16394 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16395 (exit $ac_status); }; } &&
16396 { ac_try
='test -s conftest.$ac_objext'
16397 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16398 (eval $ac_try) 2>&5
16400 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16401 (exit $ac_status); }; }; then
16404 cat >conftest.
$ac_ext <<_ACEOF
16407 cat confdefs.h
>>conftest.
$ac_ext
16408 cat >>conftest.
$ac_ext <<_ACEOF
16409 /* end confdefs.h. */
16410 $ac_includes_default
16414 static int test_array [1 - 2 * !(((long) (sizeof (short))) >= $ac_mid)];
16421 rm -f conftest.
$ac_objext
16422 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16423 (eval $ac_compile) 2>conftest.er1
16425 grep -v '^ *+' conftest.er1
>conftest.err
16427 cat conftest.err
>&5
16428 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16429 (exit $ac_status); } &&
16430 { ac_try
='test -z "$ac_c_werror_flag"
16431 || test ! -s conftest.err'
16432 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16433 (eval $ac_try) 2>&5
16435 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16436 (exit $ac_status); }; } &&
16437 { ac_try
='test -s conftest.$ac_objext'
16438 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16439 (eval $ac_try) 2>&5
16441 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16442 (exit $ac_status); }; }; then
16443 ac_lo
=$ac_mid; break
16445 echo "$as_me: failed program was:" >&5
16446 sed 's/^/| /' conftest.
$ac_ext >&5
16448 ac_hi
=`expr '(' $ac_mid ')' - 1`
16449 if test $ac_mid -le $ac_hi; then
16453 ac_mid
=`expr 2 '*' $ac_mid`
16455 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
16458 echo "$as_me: failed program was:" >&5
16459 sed 's/^/| /' conftest.
$ac_ext >&5
16463 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
16465 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
16466 # Binary search between lo and hi bounds.
16467 while test "x$ac_lo" != "x$ac_hi"; do
16468 ac_mid
=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
16469 cat >conftest.
$ac_ext <<_ACEOF
16472 cat confdefs.h
>>conftest.
$ac_ext
16473 cat >>conftest.
$ac_ext <<_ACEOF
16474 /* end confdefs.h. */
16475 $ac_includes_default
16479 static int test_array [1 - 2 * !(((long) (sizeof (short))) <= $ac_mid)];
16486 rm -f conftest.
$ac_objext
16487 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16488 (eval $ac_compile) 2>conftest.er1
16490 grep -v '^ *+' conftest.er1
>conftest.err
16492 cat conftest.err
>&5
16493 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16494 (exit $ac_status); } &&
16495 { ac_try
='test -z "$ac_c_werror_flag"
16496 || test ! -s conftest.err'
16497 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16498 (eval $ac_try) 2>&5
16500 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16501 (exit $ac_status); }; } &&
16502 { ac_try
='test -s conftest.$ac_objext'
16503 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16504 (eval $ac_try) 2>&5
16506 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16507 (exit $ac_status); }; }; then
16510 echo "$as_me: failed program was:" >&5
16511 sed 's/^/| /' conftest.
$ac_ext >&5
16513 ac_lo
=`expr '(' $ac_mid ')' + 1`
16515 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
16518 ?
*) ac_cv_sizeof_short
=$ac_lo;;
16519 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (short), 77
16520 See \`config.log' for more details." >&5
16521 echo "$as_me: error: cannot compute sizeof (short), 77
16522 See \`config.log' for more details." >&2;}
16523 { (exit 1); exit 1; }; } ;;
16526 if test "$cross_compiling" = yes; then
16527 { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
16528 See \`config.log' for more details." >&5
16529 echo "$as_me: error: cannot run test program while cross compiling
16530 See \`config.log' for more details." >&2;}
16531 { (exit 1); exit 1; }; }
16533 cat >conftest.
$ac_ext <<_ACEOF
16536 cat confdefs.h
>>conftest.
$ac_ext
16537 cat >>conftest.
$ac_ext <<_ACEOF
16538 /* end confdefs.h. */
16539 $ac_includes_default
16540 long longval () { return (long) (sizeof (short)); }
16541 unsigned long ulongval () { return (long) (sizeof (short)); }
16543 #include <stdlib.h>
16548 FILE *f = fopen ("conftest.val", "w");
16551 if (((long) (sizeof (short))) < 0)
16553 long i = longval ();
16554 if (i != ((long) (sizeof (short))))
16556 fprintf (f, "%ld\n", i);
16560 unsigned long i = ulongval ();
16561 if (i != ((long) (sizeof (short))))
16563 fprintf (f, "%lu\n", i);
16565 exit (ferror (f) || fclose (f) != 0);
16571 rm -f conftest
$ac_exeext
16572 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
16573 (eval $ac_link) 2>&5
16575 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16576 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
16577 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16578 (eval $ac_try) 2>&5
16580 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16581 (exit $ac_status); }; }; then
16582 ac_cv_sizeof_short
=`cat conftest.val`
16584 echo "$as_me: program exited with status $ac_status" >&5
16585 echo "$as_me: failed program was:" >&5
16586 sed 's/^/| /' conftest.
$ac_ext >&5
16588 ( exit $ac_status )
16589 { { echo "$as_me:$LINENO: error: cannot compute sizeof (short), 77
16590 See \`config.log' for more details." >&5
16591 echo "$as_me: error: cannot compute sizeof (short), 77
16592 See \`config.log' for more details." >&2;}
16593 { (exit 1); exit 1; }; }
16595 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
16600 ac_cv_sizeof_short
=0
16603 echo "$as_me:$LINENO: result: $ac_cv_sizeof_short" >&5
16604 echo "${ECHO_T}$ac_cv_sizeof_short" >&6
16605 cat >>confdefs.h
<<_ACEOF
16606 #define SIZEOF_SHORT $ac_cv_sizeof_short
16610 echo "$as_me:$LINENO: checking for int" >&5
16611 echo $ECHO_N "checking for int... $ECHO_C" >&6
16612 if test "${ac_cv_type_int+set}" = set; then
16613 echo $ECHO_N "(cached) $ECHO_C" >&6
16615 cat >conftest.
$ac_ext <<_ACEOF
16618 cat confdefs.h
>>conftest.
$ac_ext
16619 cat >>conftest.
$ac_ext <<_ACEOF
16620 /* end confdefs.h. */
16621 $ac_includes_default
16633 rm -f conftest.
$ac_objext
16634 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16635 (eval $ac_compile) 2>conftest.er1
16637 grep -v '^ *+' conftest.er1
>conftest.err
16639 cat conftest.err
>&5
16640 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16641 (exit $ac_status); } &&
16642 { ac_try
='test -z "$ac_c_werror_flag"
16643 || test ! -s conftest.err'
16644 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16645 (eval $ac_try) 2>&5
16647 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16648 (exit $ac_status); }; } &&
16649 { ac_try
='test -s conftest.$ac_objext'
16650 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16651 (eval $ac_try) 2>&5
16653 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16654 (exit $ac_status); }; }; then
16657 echo "$as_me: failed program was:" >&5
16658 sed 's/^/| /' conftest.
$ac_ext >&5
16662 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
16664 echo "$as_me:$LINENO: result: $ac_cv_type_int" >&5
16665 echo "${ECHO_T}$ac_cv_type_int" >&6
16667 echo "$as_me:$LINENO: checking size of int" >&5
16668 echo $ECHO_N "checking size of int... $ECHO_C" >&6
16669 if test "${ac_cv_sizeof_int+set}" = set; then
16670 echo $ECHO_N "(cached) $ECHO_C" >&6
16672 if test "$ac_cv_type_int" = yes; then
16673 # The cast to unsigned long works around a bug in the HP C Compiler
16674 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
16675 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
16676 # This bug is HP SR number 8606223364.
16677 if test "$cross_compiling" = yes; then
16678 # Depending upon the size, compute the lo and hi bounds.
16679 cat >conftest.
$ac_ext <<_ACEOF
16682 cat confdefs.h
>>conftest.
$ac_ext
16683 cat >>conftest.
$ac_ext <<_ACEOF
16684 /* end confdefs.h. */
16685 $ac_includes_default
16689 static int test_array [1 - 2 * !(((long) (sizeof (int))) >= 0)];
16696 rm -f conftest.
$ac_objext
16697 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16698 (eval $ac_compile) 2>conftest.er1
16700 grep -v '^ *+' conftest.er1
>conftest.err
16702 cat conftest.err
>&5
16703 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16704 (exit $ac_status); } &&
16705 { ac_try
='test -z "$ac_c_werror_flag"
16706 || test ! -s conftest.err'
16707 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16708 (eval $ac_try) 2>&5
16710 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16711 (exit $ac_status); }; } &&
16712 { ac_try
='test -s conftest.$ac_objext'
16713 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16714 (eval $ac_try) 2>&5
16716 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16717 (exit $ac_status); }; }; then
16720 cat >conftest.
$ac_ext <<_ACEOF
16723 cat confdefs.h
>>conftest.
$ac_ext
16724 cat >>conftest.
$ac_ext <<_ACEOF
16725 /* end confdefs.h. */
16726 $ac_includes_default
16730 static int test_array [1 - 2 * !(((long) (sizeof (int))) <= $ac_mid)];
16737 rm -f conftest.
$ac_objext
16738 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16739 (eval $ac_compile) 2>conftest.er1
16741 grep -v '^ *+' conftest.er1
>conftest.err
16743 cat conftest.err
>&5
16744 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16745 (exit $ac_status); } &&
16746 { ac_try
='test -z "$ac_c_werror_flag"
16747 || test ! -s conftest.err'
16748 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16749 (eval $ac_try) 2>&5
16751 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16752 (exit $ac_status); }; } &&
16753 { ac_try
='test -s conftest.$ac_objext'
16754 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16755 (eval $ac_try) 2>&5
16757 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16758 (exit $ac_status); }; }; then
16759 ac_hi
=$ac_mid; break
16761 echo "$as_me: failed program was:" >&5
16762 sed 's/^/| /' conftest.
$ac_ext >&5
16764 ac_lo
=`expr $ac_mid + 1`
16765 if test $ac_lo -le $ac_mid; then
16769 ac_mid
=`expr 2 '*' $ac_mid + 1`
16771 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
16774 echo "$as_me: failed program was:" >&5
16775 sed 's/^/| /' conftest.
$ac_ext >&5
16777 cat >conftest.
$ac_ext <<_ACEOF
16780 cat confdefs.h
>>conftest.
$ac_ext
16781 cat >>conftest.
$ac_ext <<_ACEOF
16782 /* end confdefs.h. */
16783 $ac_includes_default
16787 static int test_array [1 - 2 * !(((long) (sizeof (int))) < 0)];
16794 rm -f conftest.
$ac_objext
16795 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16796 (eval $ac_compile) 2>conftest.er1
16798 grep -v '^ *+' conftest.er1
>conftest.err
16800 cat conftest.err
>&5
16801 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16802 (exit $ac_status); } &&
16803 { ac_try
='test -z "$ac_c_werror_flag"
16804 || test ! -s conftest.err'
16805 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16806 (eval $ac_try) 2>&5
16808 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16809 (exit $ac_status); }; } &&
16810 { ac_try
='test -s conftest.$ac_objext'
16811 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16812 (eval $ac_try) 2>&5
16814 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16815 (exit $ac_status); }; }; then
16818 cat >conftest.
$ac_ext <<_ACEOF
16821 cat confdefs.h
>>conftest.
$ac_ext
16822 cat >>conftest.
$ac_ext <<_ACEOF
16823 /* end confdefs.h. */
16824 $ac_includes_default
16828 static int test_array [1 - 2 * !(((long) (sizeof (int))) >= $ac_mid)];
16835 rm -f conftest.
$ac_objext
16836 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16837 (eval $ac_compile) 2>conftest.er1
16839 grep -v '^ *+' conftest.er1
>conftest.err
16841 cat conftest.err
>&5
16842 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16843 (exit $ac_status); } &&
16844 { ac_try
='test -z "$ac_c_werror_flag"
16845 || test ! -s conftest.err'
16846 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16847 (eval $ac_try) 2>&5
16849 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16850 (exit $ac_status); }; } &&
16851 { ac_try
='test -s conftest.$ac_objext'
16852 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16853 (eval $ac_try) 2>&5
16855 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16856 (exit $ac_status); }; }; then
16857 ac_lo
=$ac_mid; break
16859 echo "$as_me: failed program was:" >&5
16860 sed 's/^/| /' conftest.
$ac_ext >&5
16862 ac_hi
=`expr '(' $ac_mid ')' - 1`
16863 if test $ac_mid -le $ac_hi; then
16867 ac_mid
=`expr 2 '*' $ac_mid`
16869 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
16872 echo "$as_me: failed program was:" >&5
16873 sed 's/^/| /' conftest.
$ac_ext >&5
16877 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
16879 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
16880 # Binary search between lo and hi bounds.
16881 while test "x$ac_lo" != "x$ac_hi"; do
16882 ac_mid
=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
16883 cat >conftest.
$ac_ext <<_ACEOF
16886 cat confdefs.h
>>conftest.
$ac_ext
16887 cat >>conftest.
$ac_ext <<_ACEOF
16888 /* end confdefs.h. */
16889 $ac_includes_default
16893 static int test_array [1 - 2 * !(((long) (sizeof (int))) <= $ac_mid)];
16900 rm -f conftest.
$ac_objext
16901 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16902 (eval $ac_compile) 2>conftest.er1
16904 grep -v '^ *+' conftest.er1
>conftest.err
16906 cat conftest.err
>&5
16907 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16908 (exit $ac_status); } &&
16909 { ac_try
='test -z "$ac_c_werror_flag"
16910 || test ! -s conftest.err'
16911 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16912 (eval $ac_try) 2>&5
16914 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16915 (exit $ac_status); }; } &&
16916 { ac_try
='test -s conftest.$ac_objext'
16917 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16918 (eval $ac_try) 2>&5
16920 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16921 (exit $ac_status); }; }; then
16924 echo "$as_me: failed program was:" >&5
16925 sed 's/^/| /' conftest.
$ac_ext >&5
16927 ac_lo
=`expr '(' $ac_mid ')' + 1`
16929 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
16932 ?
*) ac_cv_sizeof_int
=$ac_lo;;
16933 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (int), 77
16934 See \`config.log' for more details." >&5
16935 echo "$as_me: error: cannot compute sizeof (int), 77
16936 See \`config.log' for more details." >&2;}
16937 { (exit 1); exit 1; }; } ;;
16940 if test "$cross_compiling" = yes; then
16941 { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
16942 See \`config.log' for more details." >&5
16943 echo "$as_me: error: cannot run test program while cross compiling
16944 See \`config.log' for more details." >&2;}
16945 { (exit 1); exit 1; }; }
16947 cat >conftest.
$ac_ext <<_ACEOF
16950 cat confdefs.h
>>conftest.
$ac_ext
16951 cat >>conftest.
$ac_ext <<_ACEOF
16952 /* end confdefs.h. */
16953 $ac_includes_default
16954 long longval () { return (long) (sizeof (int)); }
16955 unsigned long ulongval () { return (long) (sizeof (int)); }
16957 #include <stdlib.h>
16962 FILE *f = fopen ("conftest.val", "w");
16965 if (((long) (sizeof (int))) < 0)
16967 long i = longval ();
16968 if (i != ((long) (sizeof (int))))
16970 fprintf (f, "%ld\n", i);
16974 unsigned long i = ulongval ();
16975 if (i != ((long) (sizeof (int))))
16977 fprintf (f, "%lu\n", i);
16979 exit (ferror (f) || fclose (f) != 0);
16985 rm -f conftest
$ac_exeext
16986 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
16987 (eval $ac_link) 2>&5
16989 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16990 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
16991 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16992 (eval $ac_try) 2>&5
16994 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16995 (exit $ac_status); }; }; then
16996 ac_cv_sizeof_int
=`cat conftest.val`
16998 echo "$as_me: program exited with status $ac_status" >&5
16999 echo "$as_me: failed program was:" >&5
17000 sed 's/^/| /' conftest.
$ac_ext >&5
17002 ( exit $ac_status )
17003 { { echo "$as_me:$LINENO: error: cannot compute sizeof (int), 77
17004 See \`config.log' for more details." >&5
17005 echo "$as_me: error: cannot compute sizeof (int), 77
17006 See \`config.log' for more details." >&2;}
17007 { (exit 1); exit 1; }; }
17009 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
17017 echo "$as_me:$LINENO: result: $ac_cv_sizeof_int" >&5
17018 echo "${ECHO_T}$ac_cv_sizeof_int" >&6
17019 cat >>confdefs.h
<<_ACEOF
17020 #define SIZEOF_INT $ac_cv_sizeof_int
17024 echo "$as_me:$LINENO: checking for long" >&5
17025 echo $ECHO_N "checking for long... $ECHO_C" >&6
17026 if test "${ac_cv_type_long+set}" = set; then
17027 echo $ECHO_N "(cached) $ECHO_C" >&6
17029 cat >conftest.
$ac_ext <<_ACEOF
17032 cat confdefs.h
>>conftest.
$ac_ext
17033 cat >>conftest.
$ac_ext <<_ACEOF
17034 /* end confdefs.h. */
17035 $ac_includes_default
17047 rm -f conftest.
$ac_objext
17048 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17049 (eval $ac_compile) 2>conftest.er1
17051 grep -v '^ *+' conftest.er1
>conftest.err
17053 cat conftest.err
>&5
17054 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17055 (exit $ac_status); } &&
17056 { ac_try
='test -z "$ac_c_werror_flag"
17057 || test ! -s conftest.err'
17058 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17059 (eval $ac_try) 2>&5
17061 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17062 (exit $ac_status); }; } &&
17063 { ac_try
='test -s conftest.$ac_objext'
17064 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17065 (eval $ac_try) 2>&5
17067 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17068 (exit $ac_status); }; }; then
17069 ac_cv_type_long
=yes
17071 echo "$as_me: failed program was:" >&5
17072 sed 's/^/| /' conftest.
$ac_ext >&5
17076 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
17078 echo "$as_me:$LINENO: result: $ac_cv_type_long" >&5
17079 echo "${ECHO_T}$ac_cv_type_long" >&6
17081 echo "$as_me:$LINENO: checking size of long" >&5
17082 echo $ECHO_N "checking size of long... $ECHO_C" >&6
17083 if test "${ac_cv_sizeof_long+set}" = set; then
17084 echo $ECHO_N "(cached) $ECHO_C" >&6
17086 if test "$ac_cv_type_long" = yes; then
17087 # The cast to unsigned long works around a bug in the HP C Compiler
17088 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
17089 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
17090 # This bug is HP SR number 8606223364.
17091 if test "$cross_compiling" = yes; then
17092 # Depending upon the size, compute the lo and hi bounds.
17093 cat >conftest.
$ac_ext <<_ACEOF
17096 cat confdefs.h
>>conftest.
$ac_ext
17097 cat >>conftest.
$ac_ext <<_ACEOF
17098 /* end confdefs.h. */
17099 $ac_includes_default
17103 static int test_array [1 - 2 * !(((long) (sizeof (long))) >= 0)];
17110 rm -f conftest.
$ac_objext
17111 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17112 (eval $ac_compile) 2>conftest.er1
17114 grep -v '^ *+' conftest.er1
>conftest.err
17116 cat conftest.err
>&5
17117 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17118 (exit $ac_status); } &&
17119 { ac_try
='test -z "$ac_c_werror_flag"
17120 || test ! -s conftest.err'
17121 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17122 (eval $ac_try) 2>&5
17124 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17125 (exit $ac_status); }; } &&
17126 { ac_try
='test -s conftest.$ac_objext'
17127 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17128 (eval $ac_try) 2>&5
17130 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17131 (exit $ac_status); }; }; then
17134 cat >conftest.
$ac_ext <<_ACEOF
17137 cat confdefs.h
>>conftest.
$ac_ext
17138 cat >>conftest.
$ac_ext <<_ACEOF
17139 /* end confdefs.h. */
17140 $ac_includes_default
17144 static int test_array [1 - 2 * !(((long) (sizeof (long))) <= $ac_mid)];
17151 rm -f conftest.
$ac_objext
17152 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17153 (eval $ac_compile) 2>conftest.er1
17155 grep -v '^ *+' conftest.er1
>conftest.err
17157 cat conftest.err
>&5
17158 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17159 (exit $ac_status); } &&
17160 { ac_try
='test -z "$ac_c_werror_flag"
17161 || test ! -s conftest.err'
17162 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17163 (eval $ac_try) 2>&5
17165 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17166 (exit $ac_status); }; } &&
17167 { ac_try
='test -s conftest.$ac_objext'
17168 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17169 (eval $ac_try) 2>&5
17171 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17172 (exit $ac_status); }; }; then
17173 ac_hi
=$ac_mid; break
17175 echo "$as_me: failed program was:" >&5
17176 sed 's/^/| /' conftest.
$ac_ext >&5
17178 ac_lo
=`expr $ac_mid + 1`
17179 if test $ac_lo -le $ac_mid; then
17183 ac_mid
=`expr 2 '*' $ac_mid + 1`
17185 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
17188 echo "$as_me: failed program was:" >&5
17189 sed 's/^/| /' conftest.
$ac_ext >&5
17191 cat >conftest.
$ac_ext <<_ACEOF
17194 cat confdefs.h
>>conftest.
$ac_ext
17195 cat >>conftest.
$ac_ext <<_ACEOF
17196 /* end confdefs.h. */
17197 $ac_includes_default
17201 static int test_array [1 - 2 * !(((long) (sizeof (long))) < 0)];
17208 rm -f conftest.
$ac_objext
17209 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17210 (eval $ac_compile) 2>conftest.er1
17212 grep -v '^ *+' conftest.er1
>conftest.err
17214 cat conftest.err
>&5
17215 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17216 (exit $ac_status); } &&
17217 { ac_try
='test -z "$ac_c_werror_flag"
17218 || test ! -s conftest.err'
17219 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17220 (eval $ac_try) 2>&5
17222 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17223 (exit $ac_status); }; } &&
17224 { ac_try
='test -s conftest.$ac_objext'
17225 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17226 (eval $ac_try) 2>&5
17228 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17229 (exit $ac_status); }; }; then
17232 cat >conftest.
$ac_ext <<_ACEOF
17235 cat confdefs.h
>>conftest.
$ac_ext
17236 cat >>conftest.
$ac_ext <<_ACEOF
17237 /* end confdefs.h. */
17238 $ac_includes_default
17242 static int test_array [1 - 2 * !(((long) (sizeof (long))) >= $ac_mid)];
17249 rm -f conftest.
$ac_objext
17250 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17251 (eval $ac_compile) 2>conftest.er1
17253 grep -v '^ *+' conftest.er1
>conftest.err
17255 cat conftest.err
>&5
17256 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17257 (exit $ac_status); } &&
17258 { ac_try
='test -z "$ac_c_werror_flag"
17259 || test ! -s conftest.err'
17260 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17261 (eval $ac_try) 2>&5
17263 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17264 (exit $ac_status); }; } &&
17265 { ac_try
='test -s conftest.$ac_objext'
17266 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17267 (eval $ac_try) 2>&5
17269 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17270 (exit $ac_status); }; }; then
17271 ac_lo
=$ac_mid; break
17273 echo "$as_me: failed program was:" >&5
17274 sed 's/^/| /' conftest.
$ac_ext >&5
17276 ac_hi
=`expr '(' $ac_mid ')' - 1`
17277 if test $ac_mid -le $ac_hi; then
17281 ac_mid
=`expr 2 '*' $ac_mid`
17283 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
17286 echo "$as_me: failed program was:" >&5
17287 sed 's/^/| /' conftest.
$ac_ext >&5
17291 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
17293 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
17294 # Binary search between lo and hi bounds.
17295 while test "x$ac_lo" != "x$ac_hi"; do
17296 ac_mid
=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
17297 cat >conftest.
$ac_ext <<_ACEOF
17300 cat confdefs.h
>>conftest.
$ac_ext
17301 cat >>conftest.
$ac_ext <<_ACEOF
17302 /* end confdefs.h. */
17303 $ac_includes_default
17307 static int test_array [1 - 2 * !(((long) (sizeof (long))) <= $ac_mid)];
17314 rm -f conftest.
$ac_objext
17315 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17316 (eval $ac_compile) 2>conftest.er1
17318 grep -v '^ *+' conftest.er1
>conftest.err
17320 cat conftest.err
>&5
17321 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17322 (exit $ac_status); } &&
17323 { ac_try
='test -z "$ac_c_werror_flag"
17324 || test ! -s conftest.err'
17325 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17326 (eval $ac_try) 2>&5
17328 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17329 (exit $ac_status); }; } &&
17330 { ac_try
='test -s conftest.$ac_objext'
17331 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17332 (eval $ac_try) 2>&5
17334 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17335 (exit $ac_status); }; }; then
17338 echo "$as_me: failed program was:" >&5
17339 sed 's/^/| /' conftest.
$ac_ext >&5
17341 ac_lo
=`expr '(' $ac_mid ')' + 1`
17343 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
17346 ?
*) ac_cv_sizeof_long
=$ac_lo;;
17347 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (long), 77
17348 See \`config.log' for more details." >&5
17349 echo "$as_me: error: cannot compute sizeof (long), 77
17350 See \`config.log' for more details." >&2;}
17351 { (exit 1); exit 1; }; } ;;
17354 if test "$cross_compiling" = yes; then
17355 { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
17356 See \`config.log' for more details." >&5
17357 echo "$as_me: error: cannot run test program while cross compiling
17358 See \`config.log' for more details." >&2;}
17359 { (exit 1); exit 1; }; }
17361 cat >conftest.
$ac_ext <<_ACEOF
17364 cat confdefs.h
>>conftest.
$ac_ext
17365 cat >>conftest.
$ac_ext <<_ACEOF
17366 /* end confdefs.h. */
17367 $ac_includes_default
17368 long longval () { return (long) (sizeof (long)); }
17369 unsigned long ulongval () { return (long) (sizeof (long)); }
17371 #include <stdlib.h>
17376 FILE *f = fopen ("conftest.val", "w");
17379 if (((long) (sizeof (long))) < 0)
17381 long i = longval ();
17382 if (i != ((long) (sizeof (long))))
17384 fprintf (f, "%ld\n", i);
17388 unsigned long i = ulongval ();
17389 if (i != ((long) (sizeof (long))))
17391 fprintf (f, "%lu\n", i);
17393 exit (ferror (f) || fclose (f) != 0);
17399 rm -f conftest
$ac_exeext
17400 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
17401 (eval $ac_link) 2>&5
17403 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17404 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
17405 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17406 (eval $ac_try) 2>&5
17408 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17409 (exit $ac_status); }; }; then
17410 ac_cv_sizeof_long
=`cat conftest.val`
17412 echo "$as_me: program exited with status $ac_status" >&5
17413 echo "$as_me: failed program was:" >&5
17414 sed 's/^/| /' conftest.
$ac_ext >&5
17416 ( exit $ac_status )
17417 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long), 77
17418 See \`config.log' for more details." >&5
17419 echo "$as_me: error: cannot compute sizeof (long), 77
17420 See \`config.log' for more details." >&2;}
17421 { (exit 1); exit 1; }; }
17423 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
17428 ac_cv_sizeof_long
=0
17431 echo "$as_me:$LINENO: result: $ac_cv_sizeof_long" >&5
17432 echo "${ECHO_T}$ac_cv_sizeof_long" >&6
17433 cat >>confdefs.h
<<_ACEOF
17434 #define SIZEOF_LONG $ac_cv_sizeof_long
17438 echo "$as_me:$LINENO: checking for void*" >&5
17439 echo $ECHO_N "checking for void*... $ECHO_C" >&6
17440 if test "${ac_cv_type_voidp+set}" = set; then
17441 echo $ECHO_N "(cached) $ECHO_C" >&6
17443 cat >conftest.
$ac_ext <<_ACEOF
17446 cat confdefs.h
>>conftest.
$ac_ext
17447 cat >>conftest.
$ac_ext <<_ACEOF
17448 /* end confdefs.h. */
17449 $ac_includes_default
17455 if (sizeof (void*))
17461 rm -f conftest.
$ac_objext
17462 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17463 (eval $ac_compile) 2>conftest.er1
17465 grep -v '^ *+' conftest.er1
>conftest.err
17467 cat conftest.err
>&5
17468 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17469 (exit $ac_status); } &&
17470 { ac_try
='test -z "$ac_c_werror_flag"
17471 || test ! -s conftest.err'
17472 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17473 (eval $ac_try) 2>&5
17475 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17476 (exit $ac_status); }; } &&
17477 { ac_try
='test -s conftest.$ac_objext'
17478 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17479 (eval $ac_try) 2>&5
17481 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17482 (exit $ac_status); }; }; then
17483 ac_cv_type_voidp
=yes
17485 echo "$as_me: failed program was:" >&5
17486 sed 's/^/| /' conftest.
$ac_ext >&5
17488 ac_cv_type_voidp
=no
17490 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
17492 echo "$as_me:$LINENO: result: $ac_cv_type_voidp" >&5
17493 echo "${ECHO_T}$ac_cv_type_voidp" >&6
17495 echo "$as_me:$LINENO: checking size of void*" >&5
17496 echo $ECHO_N "checking size of void*... $ECHO_C" >&6
17497 if test "${ac_cv_sizeof_voidp+set}" = set; then
17498 echo $ECHO_N "(cached) $ECHO_C" >&6
17500 if test "$ac_cv_type_voidp" = yes; then
17501 # The cast to unsigned long works around a bug in the HP C Compiler
17502 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
17503 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
17504 # This bug is HP SR number 8606223364.
17505 if test "$cross_compiling" = yes; then
17506 # Depending upon the size, compute the lo and hi bounds.
17507 cat >conftest.
$ac_ext <<_ACEOF
17510 cat confdefs.h
>>conftest.
$ac_ext
17511 cat >>conftest.
$ac_ext <<_ACEOF
17512 /* end confdefs.h. */
17513 $ac_includes_default
17517 static int test_array [1 - 2 * !(((long) (sizeof (void*))) >= 0)];
17524 rm -f conftest.
$ac_objext
17525 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17526 (eval $ac_compile) 2>conftest.er1
17528 grep -v '^ *+' conftest.er1
>conftest.err
17530 cat conftest.err
>&5
17531 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17532 (exit $ac_status); } &&
17533 { ac_try
='test -z "$ac_c_werror_flag"
17534 || test ! -s conftest.err'
17535 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17536 (eval $ac_try) 2>&5
17538 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17539 (exit $ac_status); }; } &&
17540 { ac_try
='test -s conftest.$ac_objext'
17541 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17542 (eval $ac_try) 2>&5
17544 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17545 (exit $ac_status); }; }; then
17548 cat >conftest.
$ac_ext <<_ACEOF
17551 cat confdefs.h
>>conftest.
$ac_ext
17552 cat >>conftest.
$ac_ext <<_ACEOF
17553 /* end confdefs.h. */
17554 $ac_includes_default
17558 static int test_array [1 - 2 * !(((long) (sizeof (void*))) <= $ac_mid)];
17565 rm -f conftest.
$ac_objext
17566 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17567 (eval $ac_compile) 2>conftest.er1
17569 grep -v '^ *+' conftest.er1
>conftest.err
17571 cat conftest.err
>&5
17572 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17573 (exit $ac_status); } &&
17574 { ac_try
='test -z "$ac_c_werror_flag"
17575 || test ! -s conftest.err'
17576 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17577 (eval $ac_try) 2>&5
17579 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17580 (exit $ac_status); }; } &&
17581 { ac_try
='test -s conftest.$ac_objext'
17582 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17583 (eval $ac_try) 2>&5
17585 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17586 (exit $ac_status); }; }; then
17587 ac_hi
=$ac_mid; break
17589 echo "$as_me: failed program was:" >&5
17590 sed 's/^/| /' conftest.
$ac_ext >&5
17592 ac_lo
=`expr $ac_mid + 1`
17593 if test $ac_lo -le $ac_mid; then
17597 ac_mid
=`expr 2 '*' $ac_mid + 1`
17599 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
17602 echo "$as_me: failed program was:" >&5
17603 sed 's/^/| /' conftest.
$ac_ext >&5
17605 cat >conftest.
$ac_ext <<_ACEOF
17608 cat confdefs.h
>>conftest.
$ac_ext
17609 cat >>conftest.
$ac_ext <<_ACEOF
17610 /* end confdefs.h. */
17611 $ac_includes_default
17615 static int test_array [1 - 2 * !(((long) (sizeof (void*))) < 0)];
17622 rm -f conftest.
$ac_objext
17623 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17624 (eval $ac_compile) 2>conftest.er1
17626 grep -v '^ *+' conftest.er1
>conftest.err
17628 cat conftest.err
>&5
17629 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17630 (exit $ac_status); } &&
17631 { ac_try
='test -z "$ac_c_werror_flag"
17632 || test ! -s conftest.err'
17633 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17634 (eval $ac_try) 2>&5
17636 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17637 (exit $ac_status); }; } &&
17638 { ac_try
='test -s conftest.$ac_objext'
17639 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17640 (eval $ac_try) 2>&5
17642 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17643 (exit $ac_status); }; }; then
17646 cat >conftest.
$ac_ext <<_ACEOF
17649 cat confdefs.h
>>conftest.
$ac_ext
17650 cat >>conftest.
$ac_ext <<_ACEOF
17651 /* end confdefs.h. */
17652 $ac_includes_default
17656 static int test_array [1 - 2 * !(((long) (sizeof (void*))) >= $ac_mid)];
17663 rm -f conftest.
$ac_objext
17664 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17665 (eval $ac_compile) 2>conftest.er1
17667 grep -v '^ *+' conftest.er1
>conftest.err
17669 cat conftest.err
>&5
17670 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17671 (exit $ac_status); } &&
17672 { ac_try
='test -z "$ac_c_werror_flag"
17673 || test ! -s conftest.err'
17674 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17675 (eval $ac_try) 2>&5
17677 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17678 (exit $ac_status); }; } &&
17679 { ac_try
='test -s conftest.$ac_objext'
17680 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17681 (eval $ac_try) 2>&5
17683 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17684 (exit $ac_status); }; }; then
17685 ac_lo
=$ac_mid; break
17687 echo "$as_me: failed program was:" >&5
17688 sed 's/^/| /' conftest.
$ac_ext >&5
17690 ac_hi
=`expr '(' $ac_mid ')' - 1`
17691 if test $ac_mid -le $ac_hi; then
17695 ac_mid
=`expr 2 '*' $ac_mid`
17697 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
17700 echo "$as_me: failed program was:" >&5
17701 sed 's/^/| /' conftest.
$ac_ext >&5
17705 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
17707 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
17708 # Binary search between lo and hi bounds.
17709 while test "x$ac_lo" != "x$ac_hi"; do
17710 ac_mid
=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
17711 cat >conftest.
$ac_ext <<_ACEOF
17714 cat confdefs.h
>>conftest.
$ac_ext
17715 cat >>conftest.
$ac_ext <<_ACEOF
17716 /* end confdefs.h. */
17717 $ac_includes_default
17721 static int test_array [1 - 2 * !(((long) (sizeof (void*))) <= $ac_mid)];
17728 rm -f conftest.
$ac_objext
17729 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17730 (eval $ac_compile) 2>conftest.er1
17732 grep -v '^ *+' conftest.er1
>conftest.err
17734 cat conftest.err
>&5
17735 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17736 (exit $ac_status); } &&
17737 { ac_try
='test -z "$ac_c_werror_flag"
17738 || test ! -s conftest.err'
17739 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17740 (eval $ac_try) 2>&5
17742 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17743 (exit $ac_status); }; } &&
17744 { ac_try
='test -s conftest.$ac_objext'
17745 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17746 (eval $ac_try) 2>&5
17748 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17749 (exit $ac_status); }; }; then
17752 echo "$as_me: failed program was:" >&5
17753 sed 's/^/| /' conftest.
$ac_ext >&5
17755 ac_lo
=`expr '(' $ac_mid ')' + 1`
17757 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
17760 ?
*) ac_cv_sizeof_voidp
=$ac_lo;;
17761 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (void*), 77
17762 See \`config.log' for more details." >&5
17763 echo "$as_me: error: cannot compute sizeof (void*), 77
17764 See \`config.log' for more details." >&2;}
17765 { (exit 1); exit 1; }; } ;;
17768 if test "$cross_compiling" = yes; then
17769 { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
17770 See \`config.log' for more details." >&5
17771 echo "$as_me: error: cannot run test program while cross compiling
17772 See \`config.log' for more details." >&2;}
17773 { (exit 1); exit 1; }; }
17775 cat >conftest.
$ac_ext <<_ACEOF
17778 cat confdefs.h
>>conftest.
$ac_ext
17779 cat >>conftest.
$ac_ext <<_ACEOF
17780 /* end confdefs.h. */
17781 $ac_includes_default
17782 long longval () { return (long) (sizeof (void*)); }
17783 unsigned long ulongval () { return (long) (sizeof (void*)); }
17785 #include <stdlib.h>
17790 FILE *f = fopen ("conftest.val", "w");
17793 if (((long) (sizeof (void*))) < 0)
17795 long i = longval ();
17796 if (i != ((long) (sizeof (void*))))
17798 fprintf (f, "%ld\n", i);
17802 unsigned long i = ulongval ();
17803 if (i != ((long) (sizeof (void*))))
17805 fprintf (f, "%lu\n", i);
17807 exit (ferror (f) || fclose (f) != 0);
17813 rm -f conftest
$ac_exeext
17814 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
17815 (eval $ac_link) 2>&5
17817 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17818 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
17819 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17820 (eval $ac_try) 2>&5
17822 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17823 (exit $ac_status); }; }; then
17824 ac_cv_sizeof_voidp
=`cat conftest.val`
17826 echo "$as_me: program exited with status $ac_status" >&5
17827 echo "$as_me: failed program was:" >&5
17828 sed 's/^/| /' conftest.
$ac_ext >&5
17830 ( exit $ac_status )
17831 { { echo "$as_me:$LINENO: error: cannot compute sizeof (void*), 77
17832 See \`config.log' for more details." >&5
17833 echo "$as_me: error: cannot compute sizeof (void*), 77
17834 See \`config.log' for more details." >&2;}
17835 { (exit 1); exit 1; }; }
17837 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
17842 ac_cv_sizeof_voidp
=0
17845 echo "$as_me:$LINENO: result: $ac_cv_sizeof_voidp" >&5
17846 echo "${ECHO_T}$ac_cv_sizeof_voidp" >&6
17847 cat >>confdefs.h
<<_ACEOF
17848 #define SIZEOF_VOIDP $ac_cv_sizeof_voidp
17852 ac_cv_char_data_model
=""
17853 ac_cv_char_data_model
="$ac_cv_char_data_model$ac_cv_sizeof_char"
17854 ac_cv_char_data_model
="$ac_cv_char_data_model$ac_cv_sizeof_short"
17855 ac_cv_char_data_model
="$ac_cv_char_data_model$ac_cv_sizeof_int"
17856 ac_cv_long_data_model
=""
17857 ac_cv_long_data_model
="$ac_cv_long_data_model$ac_cv_sizeof_int"
17858 ac_cv_long_data_model
="$ac_cv_long_data_model$ac_cv_sizeof_long"
17859 ac_cv_long_data_model
="$ac_cv_long_data_model$ac_cv_sizeof_voidp"
17860 echo "$as_me:$LINENO: checking data model" >&5
17861 echo $ECHO_N "checking data model... $ECHO_C" >&6
17862 case "$ac_cv_char_data_model/$ac_cv_long_data_model" in
17863 122/242) ac_cv_data_model
="IP16" ; n
="standard 16bit machine" ;;
17864 122/244) ac_cv_data_model
="LP32" ; n
="standard 32bit machine" ;;
17865 122/*) ac_cv_data_model
="i16" ; n
="unusual int16 model" ;;
17866 124/444) ac_cv_data_model
="ILP32" ; n
="standard 32bit unixish" ;;
17867 124/488) ac_cv_data_model
="LP64" ; n
="standard 64bit unixish" ;;
17868 124/448) ac_cv_data_model
="LLP64" ; n
="unusual 64bit unixish" ;;
17869 124/*) ac_cv_data_model
="i32" ; n
="unusual int32 model" ;;
17870 128/888) ac_cv_data_model
="ILP64" ; n
="unusual 64bit numeric" ;;
17871 128/*) ac_cv_data_model
="i64" ; n
="unusual int64 model" ;;
17872 222/*2) ac_cv_data_model
="DSP16" ; n
="strict 16bit dsptype" ;;
17873 333/*3) ac_cv_data_model
="DSP24" ; n
="strict 24bit dsptype" ;;
17874 444/*4) ac_cv_data_model
="DSP32" ; n
="strict 32bit dsptype" ;;
17875 666/*6) ac_cv_data_model
="DSP48" ; n
="strict 48bit dsptype" ;;
17876 888/*8) ac_cv_data_model
="DSP64" ; n
="strict 64bit dsptype" ;;
17877 222/*|
333/*|
444/*|
666/*|
888/*) :
17878 ac_cv_data_model
="iDSP" ; n
="unusual dsptype" ;;
17879 *) ac_cv_data_model
="none" ; n
="very unusual model" ;;
17881 echo "$as_me:$LINENO: result: $ac_cv_data_model ($ac_cv_long_data_model, $n)" >&5
17882 echo "${ECHO_T}$ac_cv_data_model ($ac_cv_long_data_model, $n)" >&6
17886 if test "_$ac_cv_header_stdint_x" != "_" ; then
17887 ac_cv_header_stdint
="$ac_cv_header_stdint_x"
17888 elif test "_$ac_cv_header_stdint_o" != "_" ; then
17889 ac_cv_header_stdint
="$ac_cv_header_stdint_o"
17890 elif test "_$ac_cv_header_stdint_u" != "_" ; then
17891 ac_cv_header_stdint
="$ac_cv_header_stdint_u"
17893 ac_cv_header_stdint
="stddef.h"
17896 echo "$as_me:$LINENO: checking for extra inttypes in chosen header" >&5
17897 echo $ECHO_N "checking for extra inttypes in chosen header... $ECHO_C" >&6
17898 echo "$as_me:$LINENO: result: ($ac_cv_header_stdint)" >&5
17899 echo "${ECHO_T}($ac_cv_header_stdint)" >&6
17900 unset ac_cv_type_int_least32_t
17901 unset ac_cv_type_int_fast32_t
17902 echo "$as_me:$LINENO: checking for int_least32_t" >&5
17903 echo $ECHO_N "checking for int_least32_t... $ECHO_C" >&6
17904 if test "${ac_cv_type_int_least32_t+set}" = set; then
17905 echo $ECHO_N "(cached) $ECHO_C" >&6
17907 cat >conftest.
$ac_ext <<_ACEOF
17910 cat confdefs.h
>>conftest.
$ac_ext
17911 cat >>conftest.
$ac_ext <<_ACEOF
17912 /* end confdefs.h. */
17913 #include <$ac_cv_header_stdint>
17918 if ((int_least32_t *) 0)
17920 if (sizeof (int_least32_t))
17926 rm -f conftest.
$ac_objext
17927 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17928 (eval $ac_compile) 2>conftest.er1
17930 grep -v '^ *+' conftest.er1
>conftest.err
17932 cat conftest.err
>&5
17933 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17934 (exit $ac_status); } &&
17935 { ac_try
='test -z "$ac_c_werror_flag"
17936 || test ! -s conftest.err'
17937 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17938 (eval $ac_try) 2>&5
17940 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17941 (exit $ac_status); }; } &&
17942 { ac_try
='test -s conftest.$ac_objext'
17943 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17944 (eval $ac_try) 2>&5
17946 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17947 (exit $ac_status); }; }; then
17948 ac_cv_type_int_least32_t
=yes
17950 echo "$as_me: failed program was:" >&5
17951 sed 's/^/| /' conftest.
$ac_ext >&5
17953 ac_cv_type_int_least32_t
=no
17955 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
17957 echo "$as_me:$LINENO: result: $ac_cv_type_int_least32_t" >&5
17958 echo "${ECHO_T}$ac_cv_type_int_least32_t" >&6
17960 echo "$as_me:$LINENO: checking for int_fast32_t" >&5
17961 echo $ECHO_N "checking for int_fast32_t... $ECHO_C" >&6
17962 if test "${ac_cv_type_int_fast32_t+set}" = set; then
17963 echo $ECHO_N "(cached) $ECHO_C" >&6
17965 cat >conftest.
$ac_ext <<_ACEOF
17968 cat confdefs.h
>>conftest.
$ac_ext
17969 cat >>conftest.
$ac_ext <<_ACEOF
17970 /* end confdefs.h. */
17971 #include<$ac_cv_header_stdint>
17976 if ((int_fast32_t *) 0)
17978 if (sizeof (int_fast32_t))
17984 rm -f conftest.
$ac_objext
17985 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17986 (eval $ac_compile) 2>conftest.er1
17988 grep -v '^ *+' conftest.er1
>conftest.err
17990 cat conftest.err
>&5
17991 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17992 (exit $ac_status); } &&
17993 { ac_try
='test -z "$ac_c_werror_flag"
17994 || test ! -s conftest.err'
17995 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17996 (eval $ac_try) 2>&5
17998 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17999 (exit $ac_status); }; } &&
18000 { ac_try
='test -s conftest.$ac_objext'
18001 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18002 (eval $ac_try) 2>&5
18004 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18005 (exit $ac_status); }; }; then
18006 ac_cv_type_int_fast32_t
=yes
18008 echo "$as_me: failed program was:" >&5
18009 sed 's/^/| /' conftest.
$ac_ext >&5
18011 ac_cv_type_int_fast32_t
=no
18013 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
18015 echo "$as_me:$LINENO: result: $ac_cv_type_int_fast32_t" >&5
18016 echo "${ECHO_T}$ac_cv_type_int_fast32_t" >&6
18018 echo "$as_me:$LINENO: checking for intmax_t" >&5
18019 echo $ECHO_N "checking for intmax_t... $ECHO_C" >&6
18020 if test "${ac_cv_type_intmax_t+set}" = set; then
18021 echo $ECHO_N "(cached) $ECHO_C" >&6
18023 cat >conftest.
$ac_ext <<_ACEOF
18026 cat confdefs.h
>>conftest.
$ac_ext
18027 cat >>conftest.
$ac_ext <<_ACEOF
18028 /* end confdefs.h. */
18029 #include <$ac_cv_header_stdint>
18034 if ((intmax_t *) 0)
18036 if (sizeof (intmax_t))
18042 rm -f conftest.
$ac_objext
18043 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18044 (eval $ac_compile) 2>conftest.er1
18046 grep -v '^ *+' conftest.er1
>conftest.err
18048 cat conftest.err
>&5
18049 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18050 (exit $ac_status); } &&
18051 { ac_try
='test -z "$ac_c_werror_flag"
18052 || test ! -s conftest.err'
18053 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18054 (eval $ac_try) 2>&5
18056 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18057 (exit $ac_status); }; } &&
18058 { ac_try
='test -s conftest.$ac_objext'
18059 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18060 (eval $ac_try) 2>&5
18062 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18063 (exit $ac_status); }; }; then
18064 ac_cv_type_intmax_t
=yes
18066 echo "$as_me: failed program was:" >&5
18067 sed 's/^/| /' conftest.
$ac_ext >&5
18069 ac_cv_type_intmax_t
=no
18071 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
18073 echo "$as_me:$LINENO: result: $ac_cv_type_intmax_t" >&5
18074 echo "${ECHO_T}$ac_cv_type_intmax_t" >&6
18077 fi # shortcircut to system "stdint.h"
18078 # ------------------ PREPARE VARIABLES ------------------------------
18079 if test "$GCC" = "yes" ; then
18080 ac_cv_stdint_message
="using gnu compiler "`$CC --version | head -1`
18082 ac_cv_stdint_message
="using $CC"
18085 echo "$as_me:$LINENO: result: make use of $ac_cv_header_stdint in $ac_stdint_h $ac_cv_stdint_result" >&5
18086 echo "${ECHO_T}make use of $ac_cv_header_stdint in $ac_stdint_h $ac_cv_stdint_result" >&6
18088 # ----------------- DONE inttypes.h checks START header -------------
18089 ac_config_commands
="$ac_config_commands $ac_stdint_h"
18094 # Check whether --with-glibj_zip or --without-glibj_zip was given.
18095 if test "${with_glibj_zip+set}" = set; then
18096 withval
="$with_glibj_zip"
18100 case "$with_glibj_zip" in
18102 use_glibj_zip
=false
18105 use_glibj_zip
=false
18108 { { echo "$as_me:$LINENO: error: Please suply an absolute path to a prebuilt glibj.zip" >&5
18109 echo "$as_me: error: Please suply an absolute path to a prebuilt glibj.zip" >&2;}
18110 { (exit 1); exit 1; }; }
18114 PATH_TO_GLIBJ_ZIP
=$with_glibj_zip
18120 if test x
$use_glibj_zip = xtrue
; then
18121 USE_PREBUILT_GLIBJ_ZIP_TRUE
=
18122 USE_PREBUILT_GLIBJ_ZIP_FALSE
='#'
18124 USE_PREBUILT_GLIBJ_ZIP_TRUE
='#'
18125 USE_PREBUILT_GLIBJ_ZIP_FALSE
=
18131 # Check whether --enable-local-sockets or --disable-local-sockets was given.
18132 if test "${enable_local_sockets+set}" = set; then
18133 enableval
="$enable_local_sockets"
18134 case "${enableval}" in
18136 ENABLE_LOCAL_SOCKETS
=yes
18139 ENABLE_LOCAL_SOCKETS
=no
18143 if test "x$ENABLE_LOCAL_SOCKETS" = "xyes"
18145 if test "${ac_cv_header_sys_un_h+set}" = set; then
18146 echo "$as_me:$LINENO: checking for sys/un.h" >&5
18147 echo $ECHO_N "checking for sys/un.h... $ECHO_C" >&6
18148 if test "${ac_cv_header_sys_un_h+set}" = set; then
18149 echo $ECHO_N "(cached) $ECHO_C" >&6
18151 echo "$as_me:$LINENO: result: $ac_cv_header_sys_un_h" >&5
18152 echo "${ECHO_T}$ac_cv_header_sys_un_h" >&6
18154 # Is the header compilable?
18155 echo "$as_me:$LINENO: checking sys/un.h usability" >&5
18156 echo $ECHO_N "checking sys/un.h usability... $ECHO_C" >&6
18157 cat >conftest.
$ac_ext <<_ACEOF
18160 cat confdefs.h
>>conftest.
$ac_ext
18161 cat >>conftest.
$ac_ext <<_ACEOF
18162 /* end confdefs.h. */
18163 $ac_includes_default
18164 #include <sys/un.h>
18166 rm -f conftest.
$ac_objext
18167 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18168 (eval $ac_compile) 2>conftest.er1
18170 grep -v '^ *+' conftest.er1
>conftest.err
18172 cat conftest.err
>&5
18173 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18174 (exit $ac_status); } &&
18175 { ac_try
='test -z "$ac_c_werror_flag"
18176 || test ! -s conftest.err'
18177 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18178 (eval $ac_try) 2>&5
18180 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18181 (exit $ac_status); }; } &&
18182 { ac_try
='test -s conftest.$ac_objext'
18183 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18184 (eval $ac_try) 2>&5
18186 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18187 (exit $ac_status); }; }; then
18188 ac_header_compiler
=yes
18190 echo "$as_me: failed program was:" >&5
18191 sed 's/^/| /' conftest.
$ac_ext >&5
18193 ac_header_compiler
=no
18195 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
18196 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
18197 echo "${ECHO_T}$ac_header_compiler" >&6
18199 # Is the header present?
18200 echo "$as_me:$LINENO: checking sys/un.h presence" >&5
18201 echo $ECHO_N "checking sys/un.h presence... $ECHO_C" >&6
18202 cat >conftest.
$ac_ext <<_ACEOF
18205 cat confdefs.h
>>conftest.
$ac_ext
18206 cat >>conftest.
$ac_ext <<_ACEOF
18207 /* end confdefs.h. */
18208 #include <sys/un.h>
18210 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
18211 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
18213 grep -v '^ *+' conftest.er1
>conftest.err
18215 cat conftest.err
>&5
18216 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18217 (exit $ac_status); } >/dev
/null
; then
18218 if test -s conftest.err
; then
18219 ac_cpp_err
=$ac_c_preproc_warn_flag
18220 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
18227 if test -z "$ac_cpp_err"; then
18228 ac_header_preproc
=yes
18230 echo "$as_me: failed program was:" >&5
18231 sed 's/^/| /' conftest.
$ac_ext >&5
18233 ac_header_preproc
=no
18235 rm -f conftest.err conftest.
$ac_ext
18236 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
18237 echo "${ECHO_T}$ac_header_preproc" >&6
18239 # So? What about this header?
18240 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
18242 { echo "$as_me:$LINENO: WARNING: sys/un.h: accepted by the compiler, rejected by the preprocessor!" >&5
18243 echo "$as_me: WARNING: sys/un.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
18244 { echo "$as_me:$LINENO: WARNING: sys/un.h: proceeding with the compiler's result" >&5
18245 echo "$as_me: WARNING: sys/un.h: proceeding with the compiler's result" >&2;}
18246 ac_header_preproc
=yes
18249 { echo "$as_me:$LINENO: WARNING: sys/un.h: present but cannot be compiled" >&5
18250 echo "$as_me: WARNING: sys/un.h: present but cannot be compiled" >&2;}
18251 { echo "$as_me:$LINENO: WARNING: sys/un.h: check for missing prerequisite headers?" >&5
18252 echo "$as_me: WARNING: sys/un.h: check for missing prerequisite headers?" >&2;}
18253 { echo "$as_me:$LINENO: WARNING: sys/un.h: see the Autoconf documentation" >&5
18254 echo "$as_me: WARNING: sys/un.h: see the Autoconf documentation" >&2;}
18255 { echo "$as_me:$LINENO: WARNING: sys/un.h: section \"Present But Cannot Be Compiled\"" >&5
18256 echo "$as_me: WARNING: sys/un.h: section \"Present But Cannot Be Compiled\"" >&2;}
18257 { echo "$as_me:$LINENO: WARNING: sys/un.h: proceeding with the preprocessor's result" >&5
18258 echo "$as_me: WARNING: sys/un.h: proceeding with the preprocessor's result" >&2;}
18259 { echo "$as_me:$LINENO: WARNING: sys/un.h: in the future, the compiler will take precedence" >&5
18260 echo "$as_me: WARNING: sys/un.h: in the future, the compiler will take precedence" >&2;}
18263 ## -------------------------------- ##
18264 ## Report this to classpath@gnu.org ##
18265 ## -------------------------------- ##
18268 sed "s/^/$as_me: WARNING: /" >&2
18271 echo "$as_me:$LINENO: checking for sys/un.h" >&5
18272 echo $ECHO_N "checking for sys/un.h... $ECHO_C" >&6
18273 if test "${ac_cv_header_sys_un_h+set}" = set; then
18274 echo $ECHO_N "(cached) $ECHO_C" >&6
18276 ac_cv_header_sys_un_h
=$ac_header_preproc
18278 echo "$as_me:$LINENO: result: $ac_cv_header_sys_un_h" >&5
18279 echo "${ECHO_T}$ac_cv_header_sys_un_h" >&6
18290 for ac_func
in read write bind listen accept shutdown
18292 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
18293 echo "$as_me:$LINENO: checking for $ac_func" >&5
18294 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
18295 if eval "test \"\${$as_ac_var+set}\" = set"; then
18296 echo $ECHO_N "(cached) $ECHO_C" >&6
18298 cat >conftest.
$ac_ext <<_ACEOF
18301 cat confdefs.h
>>conftest.
$ac_ext
18302 cat >>conftest.
$ac_ext <<_ACEOF
18303 /* end confdefs.h. */
18304 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
18305 For example, HP-UX 11i <limits.h> declares gettimeofday. */
18306 #define $ac_func innocuous_$ac_func
18308 /* System header to define __stub macros and hopefully few prototypes,
18309 which can conflict with char $ac_func (); below.
18310 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
18311 <limits.h> exists even on freestanding compilers. */
18314 # include <limits.h>
18316 # include <assert.h>
18321 /* Override any gcc2 internal prototype to avoid an error. */
18326 /* We use char because int might match the return type of a gcc2
18327 builtin and then its argument prototype would still apply. */
18329 /* The GNU C library defines this for functions which it implements
18330 to always fail with ENOSYS. Some functions are actually named
18331 something starting with __ and the normal name is an alias. */
18332 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
18335 char (*f) () = $ac_func;
18344 return f != $ac_func;
18349 rm -f conftest.
$ac_objext conftest
$ac_exeext
18350 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
18351 (eval $ac_link) 2>conftest.er1
18353 grep -v '^ *+' conftest.er1
>conftest.err
18355 cat conftest.err
>&5
18356 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18357 (exit $ac_status); } &&
18358 { ac_try
='test -z "$ac_c_werror_flag"
18359 || test ! -s conftest.err'
18360 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18361 (eval $ac_try) 2>&5
18363 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18364 (exit $ac_status); }; } &&
18365 { ac_try
='test -s conftest$ac_exeext'
18366 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18367 (eval $ac_try) 2>&5
18369 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18370 (exit $ac_status); }; }; then
18371 eval "$as_ac_var=yes"
18373 echo "$as_me: failed program was:" >&5
18374 sed 's/^/| /' conftest.
$ac_ext >&5
18376 eval "$as_ac_var=no"
18378 rm -f conftest.err conftest.
$ac_objext \
18379 conftest
$ac_exeext conftest.
$ac_ext
18381 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
18382 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
18383 if test `eval echo '${'$as_ac_var'}'` = yes; then
18384 cat >>confdefs.h
<<_ACEOF
18385 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
18389 { { echo "$as_me:$LINENO: error: networking support not available" >&5
18390 echo "$as_me: error: networking support not available" >&2;}
18391 { (exit 1); exit 1; }; }
18396 cat >>confdefs.h
<<\_ACEOF
18397 #define ENABLE_LOCAL_SOCKETS 1
18403 if test "x$ENABLE_LOCAL_SOCKETS" = "xyes"; then
18404 ENABLE_LOCAL_SOCKETS_TRUE
=
18405 ENABLE_LOCAL_SOCKETS_FALSE
='#'
18407 ENABLE_LOCAL_SOCKETS_TRUE
='#'
18408 ENABLE_LOCAL_SOCKETS_FALSE
=
18413 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 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/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 scripts/Makefile scripts/classpath.spec lib/Makefile lib/gen-classlist.sh lib/copy-vmresources.sh tools/Makefile examples/Makefile examples/Makefile.jawt"
18416 if test "x${COMPILE_WRAPPERS}" = xno
18418 ac_config_files
="$ac_config_files tools/appletviewer tools/jarsigner tools/keytool"
18420 ac_config_commands
="$ac_config_commands appletviewer"
18422 ac_config_commands
="$ac_config_commands jarsigner"
18424 ac_config_commands
="$ac_config_commands keytool"
18428 ac_config_commands
="$ac_config_commands gen-classlist"
18430 ac_config_commands
="$ac_config_commands copy-vmresources"
18432 cat >confcache
<<\_ACEOF
18433 # This file is a shell script that caches the results of configure
18434 # tests run on this system so they can be shared between configure
18435 # scripts and configure runs, see configure's option --config-cache.
18436 # It is not useful on other systems. If it contains results you don't
18437 # want to keep, you may remove or edit it.
18439 # config.status only pays attention to the cache file if you give it
18440 # the --recheck option to rerun configure.
18442 # `ac_cv_env_foo' variables (set or unset) will be overridden when
18443 # loading this file, other *unset* `ac_cv_foo' will be assigned the
18444 # following values.
18448 # The following way of writing the cache mishandles newlines in values,
18449 # but we know of no workaround that is simple, portable, and efficient.
18450 # So, don't put newlines in cache variables' values.
18451 # Ultrix sh set writes to stderr and can't be redirected directly,
18452 # and sets the high bit in the cache file unless we assign to the vars.
18455 case `(ac_space=' '; set | grep ac_space) 2>&1` in
18457 # `set' does not quote correctly, so add quotes (double-quote
18458 # substitution turns \\\\ into \\, and sed turns \\ into \).
18461 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
18464 # `set' quotes correctly as required by POSIX, so do not add quotes.
18466 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
18473 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
18475 /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
18477 if diff $cache_file confcache
>/dev
/null
2>&1; then :; else
18478 if test -w $cache_file; then
18479 test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
18480 cat confcache
>$cache_file
18482 echo "not updating unwritable cache $cache_file"
18487 test "x$prefix" = xNONE
&& prefix
=$ac_default_prefix
18488 # Let make expand exec_prefix.
18489 test "x$exec_prefix" = xNONE
&& exec_prefix
='${prefix}'
18491 # VPATH may cause trouble with some makes, so we remove $(srcdir),
18492 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
18493 # trailing colons and then remove the whole line if VPATH becomes empty
18494 # (actually we leave an empty line to preserve line numbers).
18495 if test "x$srcdir" = x.
; then
18496 ac_vpsub
='/^[ ]*VPATH[ ]*=/{
18497 s/:*\$(srcdir):*/:/;
18498 s/:*\${srcdir}:*/:/;
18500 s/^\([^=]*=[ ]*\):*/\1/;
18506 DEFS
=-DHAVE_CONFIG_H
18510 for ac_i
in : $LIBOBJS; do test "x$ac_i" = x
: && continue
18511 # 1. Remove the extension, and $U if already installed.
18512 ac_i
=`echo "$ac_i" |
18513 sed 's/\$U\././;s/\.o$//;s/\.obj$//'`
18515 ac_libobjs
="$ac_libobjs $ac_i\$U.$ac_objext"
18516 ac_ltlibobjs
="$ac_ltlibobjs $ac_i"'$U.lo'
18518 LIBOBJS
=$ac_libobjs
18520 LTLIBOBJS
=$ac_ltlibobjs
18523 if test -z "${CREATE_COLLECTIONS_TRUE}" && test -z "${CREATE_COLLECTIONS_FALSE}"; then
18524 { { echo "$as_me:$LINENO: error: conditional \"CREATE_COLLECTIONS\" was never defined.
18525 Usually this means the macro was only invoked conditionally." >&5
18526 echo "$as_me: error: conditional \"CREATE_COLLECTIONS\" was never defined.
18527 Usually this means the macro was only invoked conditionally." >&2;}
18528 { (exit 1); exit 1; }; }
18530 if test -z "${CREATE_JNI_LIBRARIES_TRUE}" && test -z "${CREATE_JNI_LIBRARIES_FALSE}"; then
18531 { { echo "$as_me:$LINENO: error: conditional \"CREATE_JNI_LIBRARIES\" was never defined.
18532 Usually this means the macro was only invoked conditionally." >&5
18533 echo "$as_me: error: conditional \"CREATE_JNI_LIBRARIES\" was never defined.
18534 Usually this means the macro was only invoked conditionally." >&2;}
18535 { (exit 1); exit 1; }; }
18537 if test -z "${CREATE_CORE_JNI_LIBRARIES_TRUE}" && test -z "${CREATE_CORE_JNI_LIBRARIES_FALSE}"; then
18538 { { echo "$as_me:$LINENO: error: conditional \"CREATE_CORE_JNI_LIBRARIES\" was never defined.
18539 Usually this means the macro was only invoked conditionally." >&5
18540 echo "$as_me: error: conditional \"CREATE_CORE_JNI_LIBRARIES\" was never defined.
18541 Usually this means the macro was only invoked conditionally." >&2;}
18542 { (exit 1); exit 1; }; }
18544 if test -z "${CREATE_XMLJ_LIBRARY_TRUE}" && test -z "${CREATE_XMLJ_LIBRARY_FALSE}"; then
18545 { { echo "$as_me:$LINENO: error: conditional \"CREATE_XMLJ_LIBRARY\" was never defined.
18546 Usually this means the macro was only invoked conditionally." >&5
18547 echo "$as_me: error: conditional \"CREATE_XMLJ_LIBRARY\" was never defined.
18548 Usually this means the macro was only invoked conditionally." >&2;}
18549 { (exit 1); exit 1; }; }
18551 if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
18552 { { echo "$as_me:$LINENO: error: conditional \"AMDEP\" was never defined.
18553 Usually this means the macro was only invoked conditionally." >&5
18554 echo "$as_me: error: conditional \"AMDEP\" was never defined.
18555 Usually this means the macro was only invoked conditionally." >&2;}
18556 { (exit 1); exit 1; }; }
18558 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
18559 { { echo "$as_me:$LINENO: error: conditional \"am__fastdepCC\" was never defined.
18560 Usually this means the macro was only invoked conditionally." >&5
18561 echo "$as_me: error: conditional \"am__fastdepCC\" was never defined.
18562 Usually this means the macro was only invoked conditionally." >&2;}
18563 { (exit 1); exit 1; }; }
18565 if test -z "${CREATE_ALSA_LIBRARIES_TRUE}" && test -z "${CREATE_ALSA_LIBRARIES_FALSE}"; then
18566 { { echo "$as_me:$LINENO: error: conditional \"CREATE_ALSA_LIBRARIES\" was never defined.
18567 Usually this means the macro was only invoked conditionally." >&5
18568 echo "$as_me: error: conditional \"CREATE_ALSA_LIBRARIES\" was never defined.
18569 Usually this means the macro was only invoked conditionally." >&2;}
18570 { (exit 1); exit 1; }; }
18572 if test -z "${CREATE_DSSI_LIBRARIES_TRUE}" && test -z "${CREATE_DSSI_LIBRARIES_FALSE}"; then
18573 { { echo "$as_me:$LINENO: error: conditional \"CREATE_DSSI_LIBRARIES\" was never defined.
18574 Usually this means the macro was only invoked conditionally." >&5
18575 echo "$as_me: error: conditional \"CREATE_DSSI_LIBRARIES\" was never defined.
18576 Usually this means the macro was only invoked conditionally." >&2;}
18577 { (exit 1); exit 1; }; }
18579 if test -z "${CREATE_GTK_PEER_LIBRARIES_TRUE}" && test -z "${CREATE_GTK_PEER_LIBRARIES_FALSE}"; then
18580 { { echo "$as_me:$LINENO: error: conditional \"CREATE_GTK_PEER_LIBRARIES\" was never defined.
18581 Usually this means the macro was only invoked conditionally." >&5
18582 echo "$as_me: error: conditional \"CREATE_GTK_PEER_LIBRARIES\" was never defined.
18583 Usually this means the macro was only invoked conditionally." >&2;}
18584 { (exit 1); exit 1; }; }
18586 if test -z "${CREATE_QT_PEER_LIBRARIES_TRUE}" && test -z "${CREATE_QT_PEER_LIBRARIES_FALSE}"; then
18587 { { echo "$as_me:$LINENO: error: conditional \"CREATE_QT_PEER_LIBRARIES\" was never defined.
18588 Usually this means the macro was only invoked conditionally." >&5
18589 echo "$as_me: error: conditional \"CREATE_QT_PEER_LIBRARIES\" was never defined.
18590 Usually this means the macro was only invoked conditionally." >&2;}
18591 { (exit 1); exit 1; }; }
18593 if test -z "${CREATE_PLUGIN_TRUE}" && test -z "${CREATE_PLUGIN_FALSE}"; then
18594 { { echo "$as_me:$LINENO: error: conditional \"CREATE_PLUGIN\" was never defined.
18595 Usually this means the macro was only invoked conditionally." >&5
18596 echo "$as_me: error: conditional \"CREATE_PLUGIN\" was never defined.
18597 Usually this means the macro was only invoked conditionally." >&2;}
18598 { (exit 1); exit 1; }; }
18600 if test -z "${FOUND_CACAO_TRUE}" && test -z "${FOUND_CACAO_FALSE}"; then
18601 { { echo "$as_me:$LINENO: error: conditional \"FOUND_CACAO\" was never defined.
18602 Usually this means the macro was only invoked conditionally." >&5
18603 echo "$as_me: error: conditional \"FOUND_CACAO\" was never defined.
18604 Usually this means the macro was only invoked conditionally." >&2;}
18605 { (exit 1); exit 1; }; }
18607 if test -z "${CREATE_JNI_HEADERS_TRUE}" && test -z "${CREATE_JNI_HEADERS_FALSE}"; then
18608 { { echo "$as_me:$LINENO: error: conditional \"CREATE_JNI_HEADERS\" was never defined.
18609 Usually this means the macro was only invoked conditionally." >&5
18610 echo "$as_me: error: conditional \"CREATE_JNI_HEADERS\" was never defined.
18611 Usually this means the macro was only invoked conditionally." >&2;}
18612 { (exit 1); exit 1; }; }
18614 if test -z "${CREATE_WRAPPERS_TRUE}" && test -z "${CREATE_WRAPPERS_FALSE}"; then
18615 { { echo "$as_me:$LINENO: error: conditional \"CREATE_WRAPPERS\" was never defined.
18616 Usually this means the macro was only invoked conditionally." >&5
18617 echo "$as_me: error: conditional \"CREATE_WRAPPERS\" was never defined.
18618 Usually this means the macro was only invoked conditionally." >&2;}
18619 { (exit 1); exit 1; }; }
18621 if test -z "${am__fastdepCXX_TRUE}" && test -z "${am__fastdepCXX_FALSE}"; then
18622 { { echo "$as_me:$LINENO: error: conditional \"am__fastdepCXX\" was never defined.
18623 Usually this means the macro was only invoked conditionally." >&5
18624 echo "$as_me: error: conditional \"am__fastdepCXX\" was never defined.
18625 Usually this means the macro was only invoked conditionally." >&2;}
18626 { (exit 1); exit 1; }; }
18628 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
18629 { { echo "$as_me:$LINENO: error: conditional \"am__fastdepCC\" was never defined.
18630 Usually this means the macro was only invoked conditionally." >&5
18631 echo "$as_me: error: conditional \"am__fastdepCC\" was never defined.
18632 Usually this means the macro was only invoked conditionally." >&2;}
18633 { (exit 1); exit 1; }; }
18635 if test -z "${USER_SPECIFIED_JAVAH_TRUE}" && test -z "${USER_SPECIFIED_JAVAH_FALSE}"; then
18636 { { echo "$as_me:$LINENO: error: conditional \"USER_SPECIFIED_JAVAH\" was never defined.
18637 Usually this means the macro was only invoked conditionally." >&5
18638 echo "$as_me: error: conditional \"USER_SPECIFIED_JAVAH\" was never defined.
18639 Usually this means the macro was only invoked conditionally." >&2;}
18640 { (exit 1); exit 1; }; }
18642 if test -z "${FOUND_GCJ_TRUE}" && test -z "${FOUND_GCJ_FALSE}"; then
18643 { { echo "$as_me:$LINENO: error: conditional \"FOUND_GCJ\" was never defined.
18644 Usually this means the macro was only invoked conditionally." >&5
18645 echo "$as_me: error: conditional \"FOUND_GCJ\" was never defined.
18646 Usually this means the macro was only invoked conditionally." >&2;}
18647 { (exit 1); exit 1; }; }
18649 if test -z "${FOUND_JIKES_TRUE}" && test -z "${FOUND_JIKES_FALSE}"; then
18650 { { echo "$as_me:$LINENO: error: conditional \"FOUND_JIKES\" was never defined.
18651 Usually this means the macro was only invoked conditionally." >&5
18652 echo "$as_me: error: conditional \"FOUND_JIKES\" was never defined.
18653 Usually this means the macro was only invoked conditionally." >&2;}
18654 { (exit 1); exit 1; }; }
18656 if test -z "${FOUND_ECJ_TRUE}" && test -z "${FOUND_ECJ_FALSE}"; then
18657 { { echo "$as_me:$LINENO: error: conditional \"FOUND_ECJ\" was never defined.
18658 Usually this means the macro was only invoked conditionally." >&5
18659 echo "$as_me: error: conditional \"FOUND_ECJ\" was never defined.
18660 Usually this means the macro was only invoked conditionally." >&2;}
18661 { (exit 1); exit 1; }; }
18663 if test -z "${FOUND_GCJ_TRUE}" && test -z "${FOUND_GCJ_FALSE}"; then
18664 { { echo "$as_me:$LINENO: error: conditional \"FOUND_GCJ\" was never defined.
18665 Usually this means the macro was only invoked conditionally." >&5
18666 echo "$as_me: error: conditional \"FOUND_GCJ\" was never defined.
18667 Usually this means the macro was only invoked conditionally." >&2;}
18668 { (exit 1); exit 1; }; }
18670 if test -z "${FOUND_JIKES_TRUE}" && test -z "${FOUND_JIKES_FALSE}"; then
18671 { { echo "$as_me:$LINENO: error: conditional \"FOUND_JIKES\" was never defined.
18672 Usually this means the macro was only invoked conditionally." >&5
18673 echo "$as_me: error: conditional \"FOUND_JIKES\" was never defined.
18674 Usually this means the macro was only invoked conditionally." >&2;}
18675 { (exit 1); exit 1; }; }
18677 if test -z "${FOUND_ECJ_TRUE}" && test -z "${FOUND_ECJ_FALSE}"; then
18678 { { echo "$as_me:$LINENO: error: conditional \"FOUND_ECJ\" was never defined.
18679 Usually this means the macro was only invoked conditionally." >&5
18680 echo "$as_me: error: conditional \"FOUND_ECJ\" was never defined.
18681 Usually this means the macro was only invoked conditionally." >&2;}
18682 { (exit 1); exit 1; }; }
18684 if test -z "${FOUND_KJC_TRUE}" && test -z "${FOUND_KJC_FALSE}"; then
18685 { { echo "$as_me:$LINENO: error: conditional \"FOUND_KJC\" was never defined.
18686 Usually this means the macro was only invoked conditionally." >&5
18687 echo "$as_me: error: conditional \"FOUND_KJC\" was never defined.
18688 Usually this means the macro was only invoked conditionally." >&2;}
18689 { (exit 1); exit 1; }; }
18691 if test -z "${FOUND_GCJX_TRUE}" && test -z "${FOUND_GCJX_FALSE}"; then
18692 { { echo "$as_me:$LINENO: error: conditional \"FOUND_GCJX\" was never defined.
18693 Usually this means the macro was only invoked conditionally." >&5
18694 echo "$as_me: error: conditional \"FOUND_GCJX\" was never defined.
18695 Usually this means the macro was only invoked conditionally." >&2;}
18696 { (exit 1); exit 1; }; }
18698 if test -z "${USER_SPECIFIED_CLASSLIB_TRUE}" && test -z "${USER_SPECIFIED_CLASSLIB_FALSE}"; then
18699 { { echo "$as_me:$LINENO: error: conditional \"USER_SPECIFIED_CLASSLIB\" was never defined.
18700 Usually this means the macro was only invoked conditionally." >&5
18701 echo "$as_me: error: conditional \"USER_SPECIFIED_CLASSLIB\" was never defined.
18702 Usually this means the macro was only invoked conditionally." >&2;}
18703 { (exit 1); exit 1; }; }
18705 if test -z "${MAINTAINER_MODE_TRUE}" && test -z "${MAINTAINER_MODE_FALSE}"; then
18706 { { echo "$as_me:$LINENO: error: conditional \"MAINTAINER_MODE\" was never defined.
18707 Usually this means the macro was only invoked conditionally." >&5
18708 echo "$as_me: error: conditional \"MAINTAINER_MODE\" was never defined.
18709 Usually this means the macro was only invoked conditionally." >&2;}
18710 { (exit 1); exit 1; }; }
18712 if test -z "${INSTALL_GLIBJ_ZIP_TRUE}" && test -z "${INSTALL_GLIBJ_ZIP_FALSE}"; then
18713 { { echo "$as_me:$LINENO: error: conditional \"INSTALL_GLIBJ_ZIP\" was never defined.
18714 Usually this means the macro was only invoked conditionally." >&5
18715 echo "$as_me: error: conditional \"INSTALL_GLIBJ_ZIP\" was never defined.
18716 Usually this means the macro was only invoked conditionally." >&2;}
18717 { (exit 1); exit 1; }; }
18719 if test -z "${INSTALL_CLASS_FILES_TRUE}" && test -z "${INSTALL_CLASS_FILES_FALSE}"; then
18720 { { echo "$as_me:$LINENO: error: conditional \"INSTALL_CLASS_FILES\" was never defined.
18721 Usually this means the macro was only invoked conditionally." >&5
18722 echo "$as_me: error: conditional \"INSTALL_CLASS_FILES\" was never defined.
18723 Usually this means the macro was only invoked conditionally." >&2;}
18724 { (exit 1); exit 1; }; }
18726 if test -z "${BUILD_CLASS_FILES_TRUE}" && test -z "${BUILD_CLASS_FILES_FALSE}"; then
18727 { { echo "$as_me:$LINENO: error: conditional \"BUILD_CLASS_FILES\" was never defined.
18728 Usually this means the macro was only invoked conditionally." >&5
18729 echo "$as_me: error: conditional \"BUILD_CLASS_FILES\" was never defined.
18730 Usually this means the macro was only invoked conditionally." >&2;}
18731 { (exit 1); exit 1; }; }
18733 if test -z "${CREATE_API_DOCS_TRUE}" && test -z "${CREATE_API_DOCS_FALSE}"; then
18734 { { echo "$as_me:$LINENO: error: conditional \"CREATE_API_DOCS\" was never defined.
18735 Usually this means the macro was only invoked conditionally." >&5
18736 echo "$as_me: error: conditional \"CREATE_API_DOCS\" was never defined.
18737 Usually this means the macro was only invoked conditionally." >&2;}
18738 { (exit 1); exit 1; }; }
18740 if test -z "${REGEN_PARSERS_TRUE}" && test -z "${REGEN_PARSERS_FALSE}"; then
18741 { { echo "$as_me:$LINENO: error: conditional \"REGEN_PARSERS\" was never defined.
18742 Usually this means the macro was only invoked conditionally." >&5
18743 echo "$as_me: error: conditional \"REGEN_PARSERS\" was never defined.
18744 Usually this means the macro was only invoked conditionally." >&2;}
18745 { (exit 1); exit 1; }; }
18747 if test -z "${USE_PREBUILT_GLIBJ_ZIP_TRUE}" && test -z "${USE_PREBUILT_GLIBJ_ZIP_FALSE}"; then
18748 { { echo "$as_me:$LINENO: error: conditional \"USE_PREBUILT_GLIBJ_ZIP\" was never defined.
18749 Usually this means the macro was only invoked conditionally." >&5
18750 echo "$as_me: error: conditional \"USE_PREBUILT_GLIBJ_ZIP\" was never defined.
18751 Usually this means the macro was only invoked conditionally." >&2;}
18752 { (exit 1); exit 1; }; }
18754 if test -z "${ENABLE_LOCAL_SOCKETS_TRUE}" && test -z "${ENABLE_LOCAL_SOCKETS_FALSE}"; then
18755 { { echo "$as_me:$LINENO: error: conditional \"ENABLE_LOCAL_SOCKETS\" was never defined.
18756 Usually this means the macro was only invoked conditionally." >&5
18757 echo "$as_me: error: conditional \"ENABLE_LOCAL_SOCKETS\" was never defined.
18758 Usually this means the macro was only invoked conditionally." >&2;}
18759 { (exit 1); exit 1; }; }
18762 : ${CONFIG_STATUS=./config.status}
18763 ac_clean_files_save
=$ac_clean_files
18764 ac_clean_files
="$ac_clean_files $CONFIG_STATUS"
18765 { echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
18766 echo "$as_me: creating $CONFIG_STATUS" >&6;}
18767 cat >$CONFIG_STATUS <<_ACEOF
18769 # Generated by $as_me.
18770 # Run this file to recreate the current configuration.
18771 # Compiler output produced by configure, useful for debugging
18772 # configure, is in config.log if it exists.
18775 ac_cs_recheck=false
18777 SHELL=\${CONFIG_SHELL-$SHELL}
18780 cat >>$CONFIG_STATUS <<\_ACEOF
18781 ## --------------------- ##
18782 ## M4sh Initialization. ##
18783 ## --------------------- ##
18785 # Be Bourne compatible
18786 if test -n "${ZSH_VERSION+set}" && (emulate sh
) >/dev
/null
2>&1; then
18789 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
18790 # is contrary to our usage. Disable this feature.
18791 alias -g '${1+"$@"}'='"$@"'
18792 elif test -n "${BASH_VERSION+set}" && (set -o posix
) >/dev
/null
2>&1; then
18795 DUALCASE
=1; export DUALCASE
# for MKS sh
18797 # Support unset when possible.
18798 if ( (MAIL
=60; unset MAIL
) ||
exit) >/dev
/null
2>&1; then
18805 # Work around bugs in pre-3.0 UWIN ksh.
18806 $as_unset ENV MAIL MAILPATH
18813 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
18814 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
18815 LC_TELEPHONE LC_TIME
18817 if (set +x
; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
18818 eval $as_var=C
; export $as_var
18824 # Required to use basename.
18825 if expr a
: '\(a\)' >/dev
/null
2>&1; then
18831 if (basename /) >/dev
/null
2>&1 && test "X`basename / 2>&1`" = "X/"; then
18832 as_basename
=basename
18838 # Name of the executable.
18839 as_me
=`$as_basename "$0" ||
18840 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
18841 X"$0" : 'X\(//\)$' \| \
18842 X"$0" : 'X\(/\)$' \| \
18843 . : '\(.\)' 2>/dev/null ||
18845 sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; }
18846 /^X\/\(\/\/\)$/{ s//\1/; q; }
18847 /^X\/\(\/\).*/{ s//\1/; q; }
18851 # PATH needs CR, and LINENO needs CR and PATH.
18852 # Avoid depending upon Character Ranges.
18853 as_cr_letters
='abcdefghijklmnopqrstuvwxyz'
18854 as_cr_LETTERS
='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
18855 as_cr_Letters
=$as_cr_letters$as_cr_LETTERS
18856 as_cr_digits
='0123456789'
18857 as_cr_alnum
=$as_cr_Letters$as_cr_digits
18859 # The user is always right.
18860 if test "${PATH_SEPARATOR+set}" != set; then
18861 echo "#! /bin/sh" >conf$$.sh
18862 echo "exit 0" >>conf$$.sh
18864 if (PATH
="/nonexistent;."; conf$$.sh
) >/dev
/null
2>&1; then
18873 as_lineno_1
=$LINENO
18874 as_lineno_2
=$LINENO
18875 as_lineno_3
=`(expr $as_lineno_1 + 1) 2>/dev/null`
18876 test "x$as_lineno_1" != "x$as_lineno_2" &&
18877 test "x$as_lineno_3" = "x$as_lineno_2" ||
{
18878 # Find who we are. Look in the path if we contain no path at all
18881 *[\\/]* ) as_myself
=$0 ;;
18882 *) as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
18883 for as_dir
in $PATH
18886 test -z "$as_dir" && as_dir
=.
18887 test -r "$as_dir/$0" && as_myself
=$as_dir/$0 && break
18892 # We did not find ourselves, most probably we were run as `sh COMMAND'
18893 # in which case we are not to be found in the path.
18894 if test "x$as_myself" = x
; then
18897 if test ! -f "$as_myself"; then
18898 { { echo "$as_me:$LINENO: error: cannot find myself; rerun with an absolute path" >&5
18899 echo "$as_me: error: cannot find myself; rerun with an absolute path" >&2;}
18900 { (exit 1); exit 1; }; }
18902 case $CONFIG_SHELL in
18904 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
18905 for as_dir
in /bin
$PATH_SEPARATOR/usr
/bin
$PATH_SEPARATOR$PATH
18908 test -z "$as_dir" && as_dir
=.
18909 for as_base
in sh bash ksh sh5
; do
18912 if ("$as_dir/$as_base" -c '
18913 as_lineno_1=$LINENO
18914 as_lineno_2=$LINENO
18915 as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
18916 test "x$as_lineno_1" != "x$as_lineno_2" &&
18917 test "x$as_lineno_3" = "x$as_lineno_2" ') 2>/dev
/null
; then
18918 $as_unset BASH_ENV ||
test "${BASH_ENV+set}" != set ||
{ BASH_ENV
=; export BASH_ENV
; }
18919 $as_unset ENV ||
test "${ENV+set}" != set ||
{ ENV
=; export ENV
; }
18920 CONFIG_SHELL
=$as_dir/$as_base
18921 export CONFIG_SHELL
18922 exec "$CONFIG_SHELL" "$0" ${1+"$@"}
18930 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
18931 # uniformly replaced by the line number. The first 'sed' inserts a
18932 # line-number line before each line; the second 'sed' does the real
18933 # work. The second script uses 'N' to pair each line-number line
18934 # with the numbered line, and appends trailing '-' during
18935 # substitution so that $LINENO is not a special case at line end.
18936 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
18937 # second 'sed' script. Blame Lee E. McMahon for sed's syntax. :-)
18938 sed '=' <$as_myself |
18943 s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3,
18946 s,^['$as_cr_digits']*\n,,
18947 ' >$as_me.lineno
&&
18948 chmod +x
$as_me.lineno ||
18949 { { echo "$as_me:$LINENO: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&5
18950 echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2;}
18951 { (exit 1); exit 1; }; }
18953 # Don't try to exec as it changes $[0], causing all sort of problems
18954 # (the dirname of $[0] is not the place where we might find the
18955 # original and so on. Autoconf is especially sensible to this).
18957 # Exit status is that of the last command.
18962 case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in
18963 *c
*,-n*) ECHO_N
= ECHO_C
='
18965 *c
*,* ) ECHO_N
=-n ECHO_C
= ECHO_T
= ;;
18966 *) ECHO_N
= ECHO_C
='\c' ECHO_T
= ;;
18969 if expr a
: '\(a\)' >/dev
/null
2>&1; then
18975 rm -f conf$$ conf$$.exe conf$$.
file
18977 if ln -s conf$$.
file conf$$
2>/dev
/null
; then
18978 # We could just check for DJGPP; but this test a) works b) is more generic
18979 # and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04).
18980 if test -f conf$$.exe
; then
18981 # Don't use ln at all; we don't have any links
18986 elif ln conf$$.
file conf$$
2>/dev
/null
; then
18991 rm -f conf$$ conf$$.exe conf$$.
file
18993 if mkdir
-p .
2>/dev
/null
; then
18996 test -d .
/-p && rmdir .
/-p
19000 as_executable_p
="test -f"
19002 # Sed expression to map a string onto a valid CPP name.
19003 as_tr_cpp
="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
19005 # Sed expression to map a string onto a valid variable name.
19006 as_tr_sh
="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
19010 # We need space, tab and new line, in precisely that order.
19020 # Open the log real soon, to keep \$[0] and so on meaningful, and to
19021 # report actual input values of CONFIG_FILES etc. instead of their
19022 # values after options handling. Logging --version etc. is OK.
19026 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
19027 ## Running $as_me. ##
19032 This file was extended by GNU Classpath $as_me 0.92-pre, which was
19033 generated by GNU Autoconf 2.59. Invocation command line was
19035 CONFIG_FILES = $CONFIG_FILES
19036 CONFIG_HEADERS = $CONFIG_HEADERS
19037 CONFIG_LINKS = $CONFIG_LINKS
19038 CONFIG_COMMANDS = $CONFIG_COMMANDS
19042 echo "on `(hostname || uname -n) 2>/dev/null | sed 1q`" >&5
19046 # Files that config.status was made for.
19047 if test -n "$ac_config_files"; then
19048 echo "config_files=\"$ac_config_files\"" >>$CONFIG_STATUS
19051 if test -n "$ac_config_headers"; then
19052 echo "config_headers=\"$ac_config_headers\"" >>$CONFIG_STATUS
19055 if test -n "$ac_config_links"; then
19056 echo "config_links=\"$ac_config_links\"" >>$CONFIG_STATUS
19059 if test -n "$ac_config_commands"; then
19060 echo "config_commands=\"$ac_config_commands\"" >>$CONFIG_STATUS
19063 cat >>$CONFIG_STATUS <<\_ACEOF
19066 \`$as_me' instantiates files from templates according to the
19067 current configuration.
19069 Usage: $0 [OPTIONS] [FILE]...
19071 -h, --help print this help, then exit
19072 -V, --version print version number, then exit
19073 -q, --quiet do not print progress messages
19074 -d, --debug don't remove temporary files
19075 --recheck update $as_me by reconfiguring in the same conditions
19076 --file=FILE[:TEMPLATE]
19077 instantiate the configuration file FILE
19078 --header=FILE[:TEMPLATE]
19079 instantiate the configuration header FILE
19081 Configuration files:
19084 Configuration headers:
19087 Configuration links:
19090 Configuration commands:
19093 Report bugs to <bug-autoconf@gnu.org>."
19096 cat >>$CONFIG_STATUS <<_ACEOF
19098 GNU Classpath config.status 0.92-pre
19099 configured by $0, generated by GNU Autoconf 2.59,
19100 with options \\"`echo "$ac_configure_args" | sed 's/[\\""\`\$]/\\\\&/g'`\\"
19102 Copyright (C) 2003 Free Software Foundation, Inc.
19103 This config.status script is free software; the Free Software Foundation
19104 gives unlimited permission to copy, distribute and modify it."
19109 cat >>$CONFIG_STATUS <<\_ACEOF
19110 # If no file are specified by the user, then we need to provide default
19111 # value. By we need to know if files were specified by the user.
19117 ac_option
=`expr "x$1" : 'x\([^=]*\)='`
19118 ac_optarg
=`expr "x$1" : 'x[^=]*=\(.*\)'`
19126 *) # This is not an option, so the user has probably given explicit
19129 ac_need_defaults
=false
;;
19133 # Handling of the options.
19135 cat >>$CONFIG_STATUS <<\_ACEOF
19136 -recheck |
--recheck |
--rechec |
--reche |
--rech |
--rec |
--re |
--r)
19138 --version |
--vers* |
-V )
19139 echo "$ac_cs_version"; exit 0 ;;
19141 # Conflict between --help and --header
19142 { { echo "$as_me:$LINENO: error: ambiguous option: $1
19143 Try \`$0 --help' for more information." >&5
19144 echo "$as_me: error: ambiguous option: $1
19145 Try \`$0 --help' for more information." >&2;}
19146 { (exit 1); exit 1; }; };;
19147 --help |
--hel |
-h )
19148 echo "$ac_cs_usage"; exit 0 ;;
19149 --debug |
--d* |
-d )
19151 --file |
--fil |
--fi |
--f )
19153 CONFIG_FILES
="$CONFIG_FILES $ac_optarg"
19154 ac_need_defaults
=false
;;
19155 --header |
--heade |
--head |
--hea )
19157 CONFIG_HEADERS
="$CONFIG_HEADERS $ac_optarg"
19158 ac_need_defaults
=false
;;
19159 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
19160 |
-silent |
--silent |
--silen |
--sile |
--sil |
--si |
--s)
19163 # This is an error.
19164 -*) { { echo "$as_me:$LINENO: error: unrecognized option: $1
19165 Try \`$0 --help' for more information." >&5
19166 echo "$as_me: error: unrecognized option: $1
19167 Try \`$0 --help' for more information." >&2;}
19168 { (exit 1); exit 1; }; } ;;
19170 *) ac_config_targets
="$ac_config_targets $1" ;;
19176 ac_configure_extra_args
=
19178 if $ac_cs_silent; then
19180 ac_configure_extra_args
="$ac_configure_extra_args --silent"
19184 cat >>$CONFIG_STATUS <<_ACEOF
19185 if \$ac_cs_recheck; then
19186 echo "running $SHELL $0 " $ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6
19187 exec $SHELL $0 $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
19192 cat >>$CONFIG_STATUS <<_ACEOF
19194 # INIT-COMMANDS section.
19197 AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
19198 # variables for create stdint.h replacement
19201 ac_stdint_h="$ac_stdint_h"
19202 _ac_stdint_h=`echo "_$PACKAGE-$ac_stdint_h" | $as_tr_cpp`
19203 ac_cv_stdint_message="$ac_cv_stdint_message"
19204 ac_cv_header_stdint_t="$ac_cv_header_stdint_t"
19205 ac_cv_header_stdint_x="$ac_cv_header_stdint_x"
19206 ac_cv_header_stdint_o="$ac_cv_header_stdint_o"
19207 ac_cv_header_stdint_u="$ac_cv_header_stdint_u"
19208 ac_cv_type_uint64_t="$ac_cv_type_uint64_t"
19209 ac_cv_type_u_int64_t="$ac_cv_type_u_int64_t"
19210 ac_cv_char_data_model="$ac_cv_char_data_model"
19211 ac_cv_long_data_model="$ac_cv_long_data_model"
19212 ac_cv_type_int_least32_t="$ac_cv_type_int_least32_t"
19213 ac_cv_type_int_fast32_t="$ac_cv_type_int_fast32_t"
19214 ac_cv_type_intmax_t="$ac_cv_type_intmax_t"
19221 cat >>$CONFIG_STATUS <<\_ACEOF
19222 for ac_config_target
in $ac_config_targets
19224 case "$ac_config_target" in
19225 # Handling of arguments.
19226 "lib/mkcollections.pl" ) CONFIG_FILES
="$CONFIG_FILES lib/mkcollections.pl" ;;
19227 "Makefile" ) CONFIG_FILES
="$CONFIG_FILES Makefile" ;;
19228 "doc/Makefile" ) CONFIG_FILES
="$CONFIG_FILES doc/Makefile" ;;
19229 "doc/api/Makefile" ) CONFIG_FILES
="$CONFIG_FILES doc/api/Makefile" ;;
19230 "external/Makefile" ) CONFIG_FILES
="$CONFIG_FILES external/Makefile" ;;
19231 "external/sax/Makefile" ) CONFIG_FILES
="$CONFIG_FILES external/sax/Makefile" ;;
19232 "external/w3c_dom/Makefile" ) CONFIG_FILES
="$CONFIG_FILES external/w3c_dom/Makefile" ;;
19233 "external/relaxngDatatype/Makefile" ) CONFIG_FILES
="$CONFIG_FILES external/relaxngDatatype/Makefile" ;;
19234 "gnu/classpath/Configuration.java" ) CONFIG_FILES
="$CONFIG_FILES gnu/classpath/Configuration.java" ;;
19235 "include/Makefile" ) CONFIG_FILES
="$CONFIG_FILES include/Makefile" ;;
19236 "native/Makefile" ) CONFIG_FILES
="$CONFIG_FILES native/Makefile" ;;
19237 "native/fdlibm/Makefile" ) CONFIG_FILES
="$CONFIG_FILES native/fdlibm/Makefile" ;;
19238 "native/jawt/Makefile" ) CONFIG_FILES
="$CONFIG_FILES native/jawt/Makefile" ;;
19239 "native/jni/Makefile" ) CONFIG_FILES
="$CONFIG_FILES native/jni/Makefile" ;;
19240 "native/jni/classpath/Makefile" ) CONFIG_FILES
="$CONFIG_FILES native/jni/classpath/Makefile" ;;
19241 "native/jni/java-io/Makefile" ) CONFIG_FILES
="$CONFIG_FILES native/jni/java-io/Makefile" ;;
19242 "native/jni/java-lang/Makefile" ) CONFIG_FILES
="$CONFIG_FILES native/jni/java-lang/Makefile" ;;
19243 "native/jni/java-net/Makefile" ) CONFIG_FILES
="$CONFIG_FILES native/jni/java-net/Makefile" ;;
19244 "native/jni/java-nio/Makefile" ) CONFIG_FILES
="$CONFIG_FILES native/jni/java-nio/Makefile" ;;
19245 "native/jni/java-util/Makefile" ) CONFIG_FILES
="$CONFIG_FILES native/jni/java-util/Makefile" ;;
19246 "native/jni/gtk-peer/Makefile" ) CONFIG_FILES
="$CONFIG_FILES native/jni/gtk-peer/Makefile" ;;
19247 "native/jni/qt-peer/Makefile" ) CONFIG_FILES
="$CONFIG_FILES native/jni/qt-peer/Makefile" ;;
19248 "native/jni/xmlj/Makefile" ) CONFIG_FILES
="$CONFIG_FILES native/jni/xmlj/Makefile" ;;
19249 "native/jni/midi-alsa/Makefile" ) CONFIG_FILES
="$CONFIG_FILES native/jni/midi-alsa/Makefile" ;;
19250 "native/jni/midi-dssi/Makefile" ) CONFIG_FILES
="$CONFIG_FILES native/jni/midi-dssi/Makefile" ;;
19251 "native/plugin/Makefile" ) CONFIG_FILES
="$CONFIG_FILES native/plugin/Makefile" ;;
19252 "native/target/Makefile" ) CONFIG_FILES
="$CONFIG_FILES native/target/Makefile" ;;
19253 "native/target/Linux/Makefile" ) CONFIG_FILES
="$CONFIG_FILES native/target/Linux/Makefile" ;;
19254 "native/target/generic/Makefile" ) CONFIG_FILES
="$CONFIG_FILES native/target/generic/Makefile" ;;
19255 "resource/Makefile" ) CONFIG_FILES
="$CONFIG_FILES resource/Makefile" ;;
19256 "scripts/Makefile" ) CONFIG_FILES
="$CONFIG_FILES scripts/Makefile" ;;
19257 "scripts/classpath.spec" ) CONFIG_FILES
="$CONFIG_FILES scripts/classpath.spec" ;;
19258 "lib/Makefile" ) CONFIG_FILES
="$CONFIG_FILES lib/Makefile" ;;
19259 "lib/gen-classlist.sh" ) CONFIG_FILES
="$CONFIG_FILES lib/gen-classlist.sh" ;;
19260 "lib/copy-vmresources.sh" ) CONFIG_FILES
="$CONFIG_FILES lib/copy-vmresources.sh" ;;
19261 "tools/Makefile" ) CONFIG_FILES
="$CONFIG_FILES tools/Makefile" ;;
19262 "examples/Makefile" ) CONFIG_FILES
="$CONFIG_FILES examples/Makefile" ;;
19263 "examples/Makefile.jawt" ) CONFIG_FILES
="$CONFIG_FILES examples/Makefile.jawt" ;;
19264 "tools/appletviewer" ) CONFIG_FILES
="$CONFIG_FILES tools/appletviewer" ;;
19265 "tools/jarsigner" ) CONFIG_FILES
="$CONFIG_FILES tools/jarsigner" ;;
19266 "tools/keytool" ) CONFIG_FILES
="$CONFIG_FILES tools/keytool" ;;
19267 "$ac_config_links_1" ) CONFIG_LINKS
="$CONFIG_LINKS $ac_config_links_1" ;;
19268 "depfiles" ) CONFIG_COMMANDS
="$CONFIG_COMMANDS depfiles" ;;
19269 "mkcollections.pl" ) CONFIG_COMMANDS
="$CONFIG_COMMANDS mkcollections.pl" ;;
19270 "$ac_stdint_h" ) CONFIG_COMMANDS
="$CONFIG_COMMANDS $ac_stdint_h" ;;
19271 "appletviewer" ) CONFIG_COMMANDS
="$CONFIG_COMMANDS appletviewer" ;;
19272 "jarsigner" ) CONFIG_COMMANDS
="$CONFIG_COMMANDS jarsigner" ;;
19273 "keytool" ) CONFIG_COMMANDS
="$CONFIG_COMMANDS keytool" ;;
19274 "gen-classlist" ) CONFIG_COMMANDS
="$CONFIG_COMMANDS gen-classlist" ;;
19275 "copy-vmresources" ) CONFIG_COMMANDS
="$CONFIG_COMMANDS copy-vmresources" ;;
19276 "include/config.h" ) CONFIG_HEADERS
="$CONFIG_HEADERS include/config.h" ;;
19277 *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
19278 echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
19279 { (exit 1); exit 1; }; };;
19283 # If the user did not use the arguments to specify the items to instantiate,
19284 # then the envvar interface is used. Set only those that are not.
19285 # We use the long form for the default assignment because of an extremely
19286 # bizarre bug on SunOS 4.1.3.
19287 if $ac_need_defaults; then
19288 test "${CONFIG_FILES+set}" = set || CONFIG_FILES
=$config_files
19289 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS
=$config_headers
19290 test "${CONFIG_LINKS+set}" = set || CONFIG_LINKS
=$config_links
19291 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS
=$config_commands
19294 # Have a temporary directory for convenience. Make it in the build tree
19295 # simply because there is no reason to put it here, and in addition,
19296 # creating and moving files from /tmp can sometimes cause problems.
19297 # Create a temporary directory, and hook for its removal unless debugging.
19300 trap 'exit_status=$?; rm -rf $tmp && exit $exit_status' 0
19301 trap '{ (exit 1); exit 1; }' 1 2 13 15
19304 # Create a (secure) tmp directory for tmp files.
19307 tmp
=`(umask 077 && mktemp -d -q "./confstatXXXXXX") 2>/dev/null` &&
19308 test -n "$tmp" && test -d "$tmp"
19311 tmp
=.
/confstat$$
-$RANDOM
19312 (umask 077 && mkdir
$tmp)
19315 echo "$me: cannot create a temporary directory in ." >&2
19316 { (exit 1); exit 1; }
19321 cat >>$CONFIG_STATUS <<_ACEOF
19324 # CONFIG_FILES section.
19327 # No need to generate the scripts if there are no CONFIG_FILES.
19328 # This happens for instance when ./config.status config.h
19329 if test -n "\$CONFIG_FILES"; then
19330 # Protect against being on the right side of a sed subst in config.status.
19331 sed 's/,@/@@/; s/@,/@@/; s/,;t t\$/@;t t/; /@;t t\$/s/[\\\\&,]/\\\\&/g;
19332 s/@@/,@/; s/@@/@,/; s/@;t t\$/,;t t/' >\$tmp/subs.sed <<\\CEOF
19333 s,@SHELL@,$SHELL,;t t
19334 s,@PATH_SEPARATOR@,$PATH_SEPARATOR,;t t
19335 s,@PACKAGE_NAME@,$PACKAGE_NAME,;t t
19336 s,@PACKAGE_TARNAME@,$PACKAGE_TARNAME,;t t
19337 s,@PACKAGE_VERSION@,$PACKAGE_VERSION,;t t
19338 s,@PACKAGE_STRING@,$PACKAGE_STRING,;t t
19339 s,@PACKAGE_BUGREPORT@,$PACKAGE_BUGREPORT,;t t
19340 s,@exec_prefix@,$exec_prefix,;t t
19341 s,@prefix@,$prefix,;t t
19342 s,@program_transform_name@,$program_transform_name,;t t
19343 s,@bindir@,$bindir,;t t
19344 s,@sbindir@,$sbindir,;t t
19345 s,@libexecdir@,$libexecdir,;t t
19346 s,@datadir@,$datadir,;t t
19347 s,@sysconfdir@,$sysconfdir,;t t
19348 s,@sharedstatedir@,$sharedstatedir,;t t
19349 s,@localstatedir@,$localstatedir,;t t
19350 s,@libdir@,$libdir,;t t
19351 s,@includedir@,$includedir,;t t
19352 s,@oldincludedir@,$oldincludedir,;t t
19353 s,@infodir@,$infodir,;t t
19354 s,@mandir@,$mandir,;t t
19355 s,@build_alias@,$build_alias,;t t
19356 s,@host_alias@,$host_alias,;t t
19357 s,@target_alias@,$target_alias,;t t
19358 s,@DEFS@,$DEFS,;t t
19359 s,@ECHO_C@,$ECHO_C,;t t
19360 s,@ECHO_N@,$ECHO_N,;t t
19361 s,@ECHO_T@,$ECHO_T,;t t
19362 s,@LIBS@,$LIBS,;t t
19363 s,@build@,$build,;t t
19364 s,@build_cpu@,$build_cpu,;t t
19365 s,@build_vendor@,$build_vendor,;t t
19366 s,@build_os@,$build_os,;t t
19367 s,@host@,$host,;t t
19368 s,@host_cpu@,$host_cpu,;t t
19369 s,@host_vendor@,$host_vendor,;t t
19370 s,@host_os@,$host_os,;t t
19371 s,@target@,$target,;t t
19372 s,@target_cpu@,$target_cpu,;t t
19373 s,@target_vendor@,$target_vendor,;t t
19374 s,@target_os@,$target_os,;t t
19375 s,@LIBVERSION@,$LIBVERSION,;t t
19376 s,@CLASSPATH_MODULE@,$CLASSPATH_MODULE,;t t
19377 s,@CLASSPATH_CONVENIENCE@,$CLASSPATH_CONVENIENCE,;t t
19378 s,@INSTALL_PROGRAM@,$INSTALL_PROGRAM,;t t
19379 s,@INSTALL_SCRIPT@,$INSTALL_SCRIPT,;t t
19380 s,@INSTALL_DATA@,$INSTALL_DATA,;t t
19381 s,@CYGPATH_W@,$CYGPATH_W,;t t
19382 s,@PACKAGE@,$PACKAGE,;t t
19383 s,@VERSION@,$VERSION,;t t
19384 s,@ACLOCAL@,$ACLOCAL,;t t
19385 s,@AUTOCONF@,$AUTOCONF,;t t
19386 s,@AUTOMAKE@,$AUTOMAKE,;t t
19387 s,@AUTOHEADER@,$AUTOHEADER,;t t
19388 s,@MAKEINFO@,$MAKEINFO,;t t
19389 s,@install_sh@,$install_sh,;t t
19390 s,@STRIP@,$STRIP,;t t
19391 s,@ac_ct_STRIP@,$ac_ct_STRIP,;t t
19392 s,@INSTALL_STRIP_PROGRAM@,$INSTALL_STRIP_PROGRAM,;t t
19393 s,@mkdir_p@,$mkdir_p,;t t
19395 s,@SET_MAKE@,$SET_MAKE,;t t
19396 s,@am__leading_dot@,$am__leading_dot,;t t
19397 s,@AMTAR@,$AMTAR,;t t
19398 s,@am__tar@,$am__tar,;t t
19399 s,@am__untar@,$am__untar,;t t
19400 s,@CREATE_COLLECTIONS_TRUE@,$CREATE_COLLECTIONS_TRUE,;t t
19401 s,@CREATE_COLLECTIONS_FALSE@,$CREATE_COLLECTIONS_FALSE,;t t
19402 s,@CREATE_JNI_LIBRARIES_TRUE@,$CREATE_JNI_LIBRARIES_TRUE,;t t
19403 s,@CREATE_JNI_LIBRARIES_FALSE@,$CREATE_JNI_LIBRARIES_FALSE,;t t
19404 s,@CREATE_CORE_JNI_LIBRARIES_TRUE@,$CREATE_CORE_JNI_LIBRARIES_TRUE,;t t
19405 s,@CREATE_CORE_JNI_LIBRARIES_FALSE@,$CREATE_CORE_JNI_LIBRARIES_FALSE,;t t
19406 s,@default_toolkit@,$default_toolkit,;t t
19407 s,@CREATE_XMLJ_LIBRARY_TRUE@,$CREATE_XMLJ_LIBRARY_TRUE,;t t
19408 s,@CREATE_XMLJ_LIBRARY_FALSE@,$CREATE_XMLJ_LIBRARY_FALSE,;t t
19410 s,@CFLAGS@,$CFLAGS,;t t
19411 s,@LDFLAGS@,$LDFLAGS,;t t
19412 s,@CPPFLAGS@,$CPPFLAGS,;t t
19413 s,@ac_ct_CC@,$ac_ct_CC,;t t
19414 s,@EXEEXT@,$EXEEXT,;t t
19415 s,@OBJEXT@,$OBJEXT,;t t
19416 s,@DEPDIR@,$DEPDIR,;t t
19417 s,@am__include@,$am__include,;t t
19418 s,@am__quote@,$am__quote,;t t
19419 s,@AMDEP_TRUE@,$AMDEP_TRUE,;t t
19420 s,@AMDEP_FALSE@,$AMDEP_FALSE,;t t
19421 s,@AMDEPBACKSLASH@,$AMDEPBACKSLASH,;t t
19422 s,@CCDEPMODE@,$CCDEPMODE,;t t
19423 s,@am__fastdepCC_TRUE@,$am__fastdepCC_TRUE,;t t
19424 s,@am__fastdepCC_FALSE@,$am__fastdepCC_FALSE,;t t
19426 s,@EGREP@,$EGREP,;t t
19427 s,@CREATE_ALSA_LIBRARIES_TRUE@,$CREATE_ALSA_LIBRARIES_TRUE,;t t
19428 s,@CREATE_ALSA_LIBRARIES_FALSE@,$CREATE_ALSA_LIBRARIES_FALSE,;t t
19429 s,@CREATE_DSSI_LIBRARIES_TRUE@,$CREATE_DSSI_LIBRARIES_TRUE,;t t
19430 s,@CREATE_DSSI_LIBRARIES_FALSE@,$CREATE_DSSI_LIBRARIES_FALSE,;t t
19431 s,@CREATE_GTK_PEER_LIBRARIES_TRUE@,$CREATE_GTK_PEER_LIBRARIES_TRUE,;t t
19432 s,@CREATE_GTK_PEER_LIBRARIES_FALSE@,$CREATE_GTK_PEER_LIBRARIES_FALSE,;t t
19433 s,@CREATE_QT_PEER_LIBRARIES_TRUE@,$CREATE_QT_PEER_LIBRARIES_TRUE,;t t
19434 s,@CREATE_QT_PEER_LIBRARIES_FALSE@,$CREATE_QT_PEER_LIBRARIES_FALSE,;t t
19435 s,@CREATE_PLUGIN_TRUE@,$CREATE_PLUGIN_TRUE,;t t
19436 s,@CREATE_PLUGIN_FALSE@,$CREATE_PLUGIN_FALSE,;t t
19437 s,@nativeexeclibdir@,$nativeexeclibdir,;t t
19438 s,@glibjdir@,$glibjdir,;t t
19439 s,@VM_BINARY@,$VM_BINARY,;t t
19440 s,@FOUND_CACAO_TRUE@,$FOUND_CACAO_TRUE,;t t
19441 s,@FOUND_CACAO_FALSE@,$FOUND_CACAO_FALSE,;t t
19442 s,@CREATE_JNI_HEADERS_TRUE@,$CREATE_JNI_HEADERS_TRUE,;t t
19443 s,@CREATE_JNI_HEADERS_FALSE@,$CREATE_JNI_HEADERS_FALSE,;t t
19444 s,@CREATE_WRAPPERS_TRUE@,$CREATE_WRAPPERS_TRUE,;t t
19445 s,@CREATE_WRAPPERS_FALSE@,$CREATE_WRAPPERS_FALSE,;t t
19446 s,@LN_S@,$LN_S,;t t
19448 s,@CXXFLAGS@,$CXXFLAGS,;t t
19449 s,@ac_ct_CXX@,$ac_ct_CXX,;t t
19450 s,@CXXDEPMODE@,$CXXDEPMODE,;t t
19451 s,@am__fastdepCXX_TRUE@,$am__fastdepCXX_TRUE,;t t
19452 s,@am__fastdepCXX_FALSE@,$am__fastdepCXX_FALSE,;t t
19453 s,@RANLIB@,$RANLIB,;t t
19454 s,@ac_ct_RANLIB@,$ac_ct_RANLIB,;t t
19455 s,@LIBTOOL@,$LIBTOOL,;t t
19456 s,@CXXCPP@,$CXXCPP,;t t
19457 s,@PERL@,$PERL,;t t
19458 s,@COLLECTIONS_PREFIX@,$COLLECTIONS_PREFIX,;t t
19459 s,@LIBMAGIC@,$LIBMAGIC,;t t
19460 s,@LIBICONV@,$LIBICONV,;t t
19461 s,@LTLIBICONV@,$LTLIBICONV,;t t
19462 s,@WARNING_CFLAGS@,$WARNING_CFLAGS,;t t
19463 s,@STRICT_WARNING_CFLAGS@,$STRICT_WARNING_CFLAGS,;t t
19464 s,@ERROR_CFLAGS@,$ERROR_CFLAGS,;t t
19465 s,@PKG_CONFIG@,$PKG_CONFIG,;t t
19466 s,@XML_CFLAGS@,$XML_CFLAGS,;t t
19467 s,@XML_LIBS@,$XML_LIBS,;t t
19468 s,@XSLT_CFLAGS@,$XSLT_CFLAGS,;t t
19469 s,@XSLT_LIBS@,$XSLT_LIBS,;t t
19470 s,@X_CFLAGS@,$X_CFLAGS,;t t
19471 s,@X_PRE_LIBS@,$X_PRE_LIBS,;t t
19472 s,@X_LIBS@,$X_LIBS,;t t
19473 s,@X_EXTRA_LIBS@,$X_EXTRA_LIBS,;t t
19474 s,@GTK_CFLAGS@,$GTK_CFLAGS,;t t
19475 s,@GTK_LIBS@,$GTK_LIBS,;t t
19476 s,@FREETYPE2_CFLAGS@,$FREETYPE2_CFLAGS,;t t
19477 s,@FREETYPE2_LIBS@,$FREETYPE2_LIBS,;t t
19478 s,@PANGOFT2_CFLAGS@,$PANGOFT2_CFLAGS,;t t
19479 s,@PANGOFT2_LIBS@,$PANGOFT2_LIBS,;t t
19480 s,@XTEST_LIBS@,$XTEST_LIBS,;t t
19481 s,@QT_CFLAGS@,$QT_CFLAGS,;t t
19482 s,@QT_LIBS@,$QT_LIBS,;t t
19484 s,@MOZILLA_CFLAGS@,$MOZILLA_CFLAGS,;t t
19485 s,@MOZILLA_LIBS@,$MOZILLA_LIBS,;t t
19486 s,@GLIB_CFLAGS@,$GLIB_CFLAGS,;t t
19487 s,@GLIB_LIBS@,$GLIB_LIBS,;t t
19488 s,@PLUGIN_DIR@,$PLUGIN_DIR,;t t
19489 s,@USER_JAVAH@,$USER_JAVAH,;t t
19490 s,@USER_SPECIFIED_JAVAH_TRUE@,$USER_SPECIFIED_JAVAH_TRUE,;t t
19491 s,@USER_SPECIFIED_JAVAH_FALSE@,$USER_SPECIFIED_JAVAH_FALSE,;t t
19492 s,@CLASSPATH_INCLUDES@,$CLASSPATH_INCLUDES,;t t
19494 s,@JIKES@,$JIKES,;t t
19495 s,@JIKESENCODING@,$JIKESENCODING,;t t
19496 s,@JIKESWARNINGS@,$JIKESWARNINGS,;t t
19498 s,@GCJX@,$GCJX,;t t
19500 s,@FOUND_GCJ_TRUE@,$FOUND_GCJ_TRUE,;t t
19501 s,@FOUND_GCJ_FALSE@,$FOUND_GCJ_FALSE,;t t
19502 s,@FOUND_JIKES_TRUE@,$FOUND_JIKES_TRUE,;t t
19503 s,@FOUND_JIKES_FALSE@,$FOUND_JIKES_FALSE,;t t
19504 s,@FOUND_ECJ_TRUE@,$FOUND_ECJ_TRUE,;t t
19505 s,@FOUND_ECJ_FALSE@,$FOUND_ECJ_FALSE,;t t
19506 s,@FOUND_KJC_TRUE@,$FOUND_KJC_TRUE,;t t
19507 s,@FOUND_KJC_FALSE@,$FOUND_KJC_FALSE,;t t
19508 s,@FOUND_GCJX_TRUE@,$FOUND_GCJX_TRUE,;t t
19509 s,@FOUND_GCJX_FALSE@,$FOUND_GCJX_FALSE,;t t
19510 s,@USER_CLASSLIB@,$USER_CLASSLIB,;t t
19511 s,@USER_SPECIFIED_CLASSLIB_TRUE@,$USER_SPECIFIED_CLASSLIB_TRUE,;t t
19512 s,@USER_SPECIFIED_CLASSLIB_FALSE@,$USER_SPECIFIED_CLASSLIB_FALSE,;t t
19513 s,@vm_classes@,$vm_classes,;t t
19514 s,@MAINTAINER_MODE_TRUE@,$MAINTAINER_MODE_TRUE,;t t
19515 s,@MAINTAINER_MODE_FALSE@,$MAINTAINER_MODE_FALSE,;t t
19516 s,@MAINT@,$MAINT,;t t
19517 s,@LIBDEBUG@,$LIBDEBUG,;t t
19518 s,@INIT_LOAD_LIBRARY@,$INIT_LOAD_LIBRARY,;t t
19519 s,@JAVA_LANG_SYSTEM_EXPLICIT_INITIALIZATION@,$JAVA_LANG_SYSTEM_EXPLICIT_INITIALIZATION,;t t
19520 s,@REMOVE@,$REMOVE,;t t
19521 s,@MKDIR@,$MKDIR,;t t
19523 s,@DATE@,$DATE,;t t
19524 s,@FIND@,$FIND,;t t
19526 s,@FASTJAR@,$FASTJAR,;t t
19527 s,@INSTALL_GLIBJ_ZIP_TRUE@,$INSTALL_GLIBJ_ZIP_TRUE,;t t
19528 s,@INSTALL_GLIBJ_ZIP_FALSE@,$INSTALL_GLIBJ_ZIP_FALSE,;t t
19529 s,@INSTALL_CLASS_FILES_TRUE@,$INSTALL_CLASS_FILES_TRUE,;t t
19530 s,@INSTALL_CLASS_FILES_FALSE@,$INSTALL_CLASS_FILES_FALSE,;t t
19531 s,@BUILD_CLASS_FILES_TRUE@,$BUILD_CLASS_FILES_TRUE,;t t
19532 s,@BUILD_CLASS_FILES_FALSE@,$BUILD_CLASS_FILES_FALSE,;t t
19533 s,@EXAMPLESDIR@,$EXAMPLESDIR,;t t
19534 s,@GJDOC@,$GJDOC,;t t
19535 s,@CREATE_API_DOCS_TRUE@,$CREATE_API_DOCS_TRUE,;t t
19536 s,@CREATE_API_DOCS_FALSE@,$CREATE_API_DOCS_FALSE,;t t
19538 s,@JAY_SKELETON@,$JAY_SKELETON,;t t
19539 s,@REGEN_PARSERS_TRUE@,$REGEN_PARSERS_TRUE,;t t
19540 s,@REGEN_PARSERS_FALSE@,$REGEN_PARSERS_FALSE,;t t
19541 s,@USE_PREBUILT_GLIBJ_ZIP_TRUE@,$USE_PREBUILT_GLIBJ_ZIP_TRUE,;t t
19542 s,@USE_PREBUILT_GLIBJ_ZIP_FALSE@,$USE_PREBUILT_GLIBJ_ZIP_FALSE,;t t
19543 s,@PATH_TO_GLIBJ_ZIP@,$PATH_TO_GLIBJ_ZIP,;t t
19544 s,@ENABLE_LOCAL_SOCKETS_TRUE@,$ENABLE_LOCAL_SOCKETS_TRUE,;t t
19545 s,@ENABLE_LOCAL_SOCKETS_FALSE@,$ENABLE_LOCAL_SOCKETS_FALSE,;t t
19546 s,@LIBOBJS@,$LIBOBJS,;t t
19547 s,@LTLIBOBJS@,$LTLIBOBJS,;t t
19552 cat >>$CONFIG_STATUS <<\_ACEOF
19553 # Split the substitutions into bite-sized pieces for seds with
19554 # small command number limits, like on Digital OSF/1 and HP-UX.
19555 ac_max_sed_lines
=48
19556 ac_sed_frag
=1 # Number of current file.
19557 ac_beg
=1 # First line for current file.
19558 ac_end
=$ac_max_sed_lines # Line after last line for current file.
19561 while $ac_more_lines; do
19562 if test $ac_beg -gt 1; then
19563 sed "1,${ac_beg}d; ${ac_end}q" $tmp/subs.
sed >$tmp/subs.frag
19565 sed "${ac_end}q" $tmp/subs.
sed >$tmp/subs.frag
19567 if test ! -s $tmp/subs.frag
; then
19568 ac_more_lines
=false
19570 # The purpose of the label and of the branching condition is to
19571 # speed up the sed processing (if there are no `@' at all, there
19572 # is no need to browse any of the substitutions).
19573 # These are the two extra sed commands mentioned above.
19575 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b' && cat $tmp/subs.frag
) >$tmp/subs-
$ac_sed_frag.
sed
19576 if test -z "$ac_sed_cmds"; then
19577 ac_sed_cmds
="sed -f $tmp/subs-$ac_sed_frag.sed"
19579 ac_sed_cmds
="$ac_sed_cmds | sed -f $tmp/subs-$ac_sed_frag.sed"
19581 ac_sed_frag
=`expr $ac_sed_frag + 1`
19583 ac_end
=`expr $ac_end + $ac_max_sed_lines`
19586 if test -z "$ac_sed_cmds"; then
19589 fi # test -n "$CONFIG_FILES"
19592 cat >>$CONFIG_STATUS <<\_ACEOF
19593 for ac_file
in : $CONFIG_FILES; do test "x$ac_file" = x
: && continue
19594 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
19596 - |
*:- |
*:-:* ) # input from stdin
19598 ac_file_in
=`echo "$ac_file" | sed 's,[^:]*:,,'`
19599 ac_file
=`echo "$ac_file" | sed 's,:.*,,'` ;;
19600 *:* ) ac_file_in
=`echo "$ac_file" | sed 's,[^:]*:,,'`
19601 ac_file
=`echo "$ac_file" | sed 's,:.*,,'` ;;
19602 * ) ac_file_in
=$ac_file.
in ;;
19605 # Compute @srcdir@, @top_srcdir@, and @INSTALL@ for subdirectories.
19606 ac_dir
=`(dirname "$ac_file") 2>/dev/null ||
19607 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
19608 X"$ac_file" : 'X\(//\)[^/]' \| \
19609 X"$ac_file" : 'X\(//\)$' \| \
19610 X"$ac_file" : 'X\(/\)' \| \
19611 . : '\(.\)' 2>/dev/null ||
19613 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
19614 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
19615 /^X\(\/\/\)$/{ s//\1/; q; }
19616 /^X\(\/\).*/{ s//\1/; q; }
19618 { if $as_mkdir_p; then
19623 while test ! -d "$as_dir"; do
19624 as_dirs
="$as_dir $as_dirs"
19625 as_dir
=`(dirname "$as_dir") 2>/dev/null ||
19626 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
19627 X"$as_dir" : 'X\(//\)[^/]' \| \
19628 X"$as_dir" : 'X\(//\)$' \| \
19629 X"$as_dir" : 'X\(/\)' \| \
19630 . : '\(.\)' 2>/dev/null ||
19632 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
19633 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
19634 /^X\(\/\/\)$/{ s//\1/; q; }
19635 /^X\(\/\).*/{ s//\1/; q; }
19638 test ! -n "$as_dirs" || mkdir
$as_dirs
19639 fi ||
{ { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
19640 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
19641 { (exit 1); exit 1; }; }; }
19645 if test "$ac_dir" != .
; then
19646 ac_dir_suffix
=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
19647 # A "../" for each directory in $ac_dir_suffix.
19648 ac_top_builddir
=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
19650 ac_dir_suffix
= ac_top_builddir
=
19654 .
) # No --srcdir option. We are building in place.
19656 if test -z "$ac_top_builddir"; then
19659 ac_top_srcdir
=`echo $ac_top_builddir | sed 's,/$,,'`
19661 [\\/]* | ?
:[\\/]* ) # Absolute path.
19662 ac_srcdir
=$srcdir$ac_dir_suffix;
19663 ac_top_srcdir
=$srcdir ;;
19664 *) # Relative path.
19665 ac_srcdir
=$ac_top_builddir$srcdir$ac_dir_suffix
19666 ac_top_srcdir
=$ac_top_builddir$srcdir ;;
19669 # Do not use `cd foo && pwd` to compute absolute paths, because
19670 # the directories may not exist.
19672 .
) ac_abs_builddir
="$ac_dir";;
19675 .
) ac_abs_builddir
=`pwd`;;
19676 [\\/]* | ?
:[\\/]* ) ac_abs_builddir
="$ac_dir";;
19677 *) ac_abs_builddir
=`pwd`/"$ac_dir";;
19680 case $ac_abs_builddir in
19681 .
) ac_abs_top_builddir
=${ac_top_builddir}.
;;
19683 case ${ac_top_builddir}.
in
19684 .
) ac_abs_top_builddir
=$ac_abs_builddir;;
19685 [\\/]* | ?
:[\\/]* ) ac_abs_top_builddir
=${ac_top_builddir}.
;;
19686 *) ac_abs_top_builddir
=$ac_abs_builddir/${ac_top_builddir}.
;;
19689 case $ac_abs_builddir in
19690 .
) ac_abs_srcdir
=$ac_srcdir;;
19693 .
) ac_abs_srcdir
=$ac_abs_builddir;;
19694 [\\/]* | ?
:[\\/]* ) ac_abs_srcdir
=$ac_srcdir;;
19695 *) ac_abs_srcdir
=$ac_abs_builddir/$ac_srcdir;;
19698 case $ac_abs_builddir in
19699 .
) ac_abs_top_srcdir
=$ac_top_srcdir;;
19701 case $ac_top_srcdir in
19702 .
) ac_abs_top_srcdir
=$ac_abs_builddir;;
19703 [\\/]* | ?
:[\\/]* ) ac_abs_top_srcdir
=$ac_top_srcdir;;
19704 *) ac_abs_top_srcdir
=$ac_abs_builddir/$ac_top_srcdir;;
19710 [\\/$
]* | ?
:[\\/]* ) ac_INSTALL
=$INSTALL ;;
19711 *) ac_INSTALL
=$ac_top_builddir$INSTALL ;;
19714 if test x
"$ac_file" != x-
; then
19715 { echo "$as_me:$LINENO: creating $ac_file" >&5
19716 echo "$as_me: creating $ac_file" >&6;}
19719 # Let's still pretend it is `configure' which instantiates (i.e., don't
19720 # use $as_me), people would be surprised to read:
19721 # /* config.h. Generated by config.status. */
19722 if test x
"$ac_file" = x-
; then
19725 configure_input
="$ac_file. "
19727 configure_input
=$configure_input"Generated from `echo $ac_file_in |
19728 sed 's,.*/,,'` by configure."
19730 # First look for the input files in the build tree, otherwise in the
19732 ac_file_inputs
=`IFS=:
19733 for f in $ac_file_in; do
19735 -) echo $tmp/stdin ;;
19737 # Absolute (can't be DOS-style, as IFS=:)
19738 test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
19739 echo "$as_me: error: cannot find input file: $f" >&2;}
19740 { (exit 1); exit 1; }; }
19743 if test -f "$f"; then
19746 elif test -f "$srcdir/$f"; then
19751 { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
19752 echo "$as_me: error: cannot find input file: $f" >&2;}
19753 { (exit 1); exit 1; }; }
19756 done` ||
{ (exit 1); exit 1; }
19758 cat >>$CONFIG_STATUS <<_ACEOF
19762 cat >>$CONFIG_STATUS <<\_ACEOF
19764 /@
[a-zA-Z_
][a-zA-Z_0-9
]*@
/!b
19765 s
,@configure_input@
,$configure_input,;t t
19766 s
,@srcdir@
,$ac_srcdir,;t t
19767 s
,@abs_srcdir@
,$ac_abs_srcdir,;t t
19768 s
,@top_srcdir@
,$ac_top_srcdir,;t t
19769 s
,@abs_top_srcdir@
,$ac_abs_top_srcdir,;t t
19770 s
,@builddir@
,$ac_builddir,;t t
19771 s
,@abs_builddir@
,$ac_abs_builddir,;t t
19772 s
,@top_builddir@
,$ac_top_builddir,;t t
19773 s
,@abs_top_builddir@
,$ac_abs_top_builddir,;t t
19774 s
,@INSTALL@
,$ac_INSTALL,;t t
19775 " $ac_file_inputs | (eval "$ac_sed_cmds") >$tmp/out
19777 if test x"$ac_file" != x-; then
19778 mv $tmp/out $ac_file
19786 cat >>$CONFIG_STATUS <<\_ACEOF
19789 # CONFIG_HEADER section.
19792 # These sed commands are passed to sed as "A NAME B NAME C VALUE D
", where
19793 # NAME is the cpp macro being defined and VALUE is the value it is being given.
19795 # ac_d sets the value in "#define NAME VALUE" lines.
19796 ac_dA
='s,^\([ ]*\)#\([ ]*define[ ][ ]*\)'
19797 ac_dB
='[ ].*$,\1#\2'
19800 # ac_u turns "#undef NAME" without trailing blanks into "#define NAME VALUE".
19801 ac_uA
='s,^\([ ]*\)#\([ ]*\)undef\([ ][ ]*\)'
19802 ac_uB
='$,\1#\2define\3'
19806 for ac_file
in : $CONFIG_HEADERS; do test "x$ac_file" = x
: && continue
19807 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
19809 - |
*:- |
*:-:* ) # input from stdin
19811 ac_file_in
=`echo "$ac_file" | sed 's,[^:]*:,,'`
19812 ac_file
=`echo "$ac_file" | sed 's,:.*,,'` ;;
19813 *:* ) ac_file_in
=`echo "$ac_file" | sed 's,[^:]*:,,'`
19814 ac_file
=`echo "$ac_file" | sed 's,:.*,,'` ;;
19815 * ) ac_file_in
=$ac_file.
in ;;
19818 test x
"$ac_file" != x-
&& { echo "$as_me:$LINENO: creating $ac_file" >&5
19819 echo "$as_me: creating $ac_file" >&6;}
19821 # First look for the input files in the build tree, otherwise in the
19823 ac_file_inputs
=`IFS=:
19824 for f in $ac_file_in; do
19826 -) echo $tmp/stdin ;;
19828 # Absolute (can't be DOS-style, as IFS=:)
19829 test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
19830 echo "$as_me: error: cannot find input file: $f" >&2;}
19831 { (exit 1); exit 1; }; }
19832 # Do quote $f, to prevent DOS paths from being IFS'd.
19835 if test -f "$f"; then
19838 elif test -f "$srcdir/$f"; then
19843 { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
19844 echo "$as_me: error: cannot find input file: $f" >&2;}
19845 { (exit 1); exit 1; }; }
19848 done` ||
{ (exit 1); exit 1; }
19849 # Remove the trailing spaces.
19850 sed 's/[ ]*$//' $ac_file_inputs >$tmp/in
19854 # Transform confdefs.h into two sed scripts, `conftest.defines' and
19855 # `conftest.undefs', that substitutes the proper values into
19856 # config.h.in to produce config.h. The first handles `#define'
19857 # templates, and the second `#undef' templates.
19858 # And first: Protect against being on the right side of a sed subst in
19859 # config.status. Protect against being in an unquoted here document
19860 # in config.status.
19861 rm -f conftest.defines conftest.undefs
19862 # Using a here document instead of a string reduces the quoting nightmare.
19863 # Putting comments in sed scripts is not portable.
19865 # `end' is used to avoid that the second main sed command (meant for
19866 # 0-ary CPP macros) applies to n-ary macro definitions.
19867 # See the Autoconf documentation for `clear'.
19868 cat >confdef2sed.
sed <<\_ACEOF
19873 s,^[ ]*#[ ]*define[ ][ ]*\([^ (][^ (]*\)\(([^)]*)\)[ ]*\(.*\)$,${ac_dA}\1${ac_dB}\1\2${ac_dC}\3${ac_dD},gp
19875 s,^[ ]*#[ ]*define[ ][ ]*\([^ ][^ ]*\)[ ]*\(.*\)$,${ac_dA}\1${ac_dB}\1${ac_dC}\2${ac_dD},gp
19878 # If some macros were called several times there might be several times
19879 # the same #defines, which is useless. Nevertheless, we may not want to
19880 # sort them, since we want the *last* AC-DEFINE to be honored.
19881 uniq confdefs.h | sed -n -f confdef2sed.sed >conftest.defines
19882 sed 's/ac_d/ac_u/g' conftest.defines >conftest.undefs
19883 rm -f confdef2sed.sed
19885 # This sed command replaces #undef with comments. This is necessary, for
19886 # example, in the case of _POSIX_SOURCE, which is predefined and required
19887 # on some systems where configure will not decide to define it.
19888 cat >>conftest.undefs <<\_ACEOF
19889 s,^[ ]*#[ ]*undef[ ][ ]*[a-zA-Z_][a-zA-Z_0-9]*,/* & */,
19892 # Break up conftest.defines because some shells have a limit on the size
19893 # of here documents, and old seds have small limits too (100 cmds).
19894 echo ' # Handle all the #define templates only if necessary.' >>$CONFIG_STATUS
19895 echo ' if grep "^[ ]*#[ ]*define" $tmp/in >/dev/null; then' >>$CONFIG_STATUS
19896 echo ' # If there are no defines, we may have an empty if/fi' >>$CONFIG_STATUS
19897 echo ' :' >>$CONFIG_STATUS
19898 rm -f conftest.tail
19899 while grep . conftest.defines >/dev/null
19901 # Write a limited-size here document to $tmp/defines.sed.
19902 echo ' cat >$tmp/defines.sed <<CEOF' >>$CONFIG_STATUS
19903 # Speed up: don't consider the non `#define' lines.
19904 echo '/^[ ]*#[ ]*define/!b' >>$CONFIG_STATUS
19905 # Work around the forget-to-reset-the-flag bug.
19906 echo 't clr' >>$CONFIG_STATUS
19907 echo ': clr' >>$CONFIG_STATUS
19908 sed ${ac_max_here_lines}q conftest.defines
>>$CONFIG_STATUS
19910 sed -f $tmp/defines.sed $tmp/in >$tmp/out
19912 mv $tmp/out $tmp/in
19914 sed 1,${ac_max_here_lines}d conftest.defines
>conftest.
tail
19915 rm -f conftest.defines
19916 mv conftest.
tail conftest.defines
19918 rm -f conftest.defines
19919 echo ' fi # grep' >>$CONFIG_STATUS
19920 echo >>$CONFIG_STATUS
19922 # Break up conftest.undefs because some shells have a limit on the size
19923 # of here documents, and old seds have small limits too (100 cmds).
19924 echo ' # Handle all the #undef templates' >>$CONFIG_STATUS
19925 rm -f conftest.
tail
19926 while grep . conftest.undefs
>/dev
/null
19928 # Write a limited-size here document to $tmp/undefs.sed.
19929 echo ' cat >$tmp/undefs.sed <<CEOF' >>$CONFIG_STATUS
19930 # Speed up: don't consider the non
`#undef'
19931 echo '/^[ ]*#[ ]*undef/!b' >>$CONFIG_STATUS
19932 # Work around the forget-to-reset-the-flag bug.
19933 echo 't clr' >>$CONFIG_STATUS
19934 echo ': clr' >>$CONFIG_STATUS
19935 sed ${ac_max_here_lines}q conftest.undefs >>$CONFIG_STATUS
19937 sed -f $tmp/undefs.sed $tmp/in >$tmp/out
19939 mv $tmp/out $tmp/in
19941 sed 1,${ac_max_here_lines}d conftest.undefs >conftest.tail
19942 rm -f conftest.undefs
19943 mv conftest.tail conftest.undefs
19945 rm -f conftest.undefs
19947 cat >>$CONFIG_STATUS <<\_ACEOF
19948 # Let's still pretend it is `configure
' which instantiates (i.e., don't
19949 # use $as_me), people would be surprised to read:
19950 # /* config.h. Generated by config.status. */
19951 if test x
"$ac_file" = x-
; then
19952 echo "/* Generated by configure. */" >$tmp/config.h
19954 echo "/* $ac_file. Generated by configure. */" >$tmp/config.h
19956 cat $tmp/in >>$tmp/config.h
19958 if test x
"$ac_file" != x-
; then
19959 if diff $ac_file $tmp/config.h
>/dev
/null
2>&1; then
19960 { echo "$as_me:$LINENO: $ac_file is unchanged" >&5
19961 echo "$as_me: $ac_file is unchanged" >&6;}
19963 ac_dir
=`(dirname "$ac_file") 2>/dev/null ||
19964 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
19965 X"$ac_file" : 'X\(//\)[^/]' \| \
19966 X"$ac_file" : 'X\(//\)$' \| \
19967 X"$ac_file" : 'X\(/\)' \| \
19968 . : '\(.\)' 2>/dev/null ||
19970 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
19971 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
19972 /^X\(\/\/\)$/{ s//\1/; q; }
19973 /^X\(\/\).*/{ s//\1/; q; }
19975 { if $as_mkdir_p; then
19980 while test ! -d "$as_dir"; do
19981 as_dirs
="$as_dir $as_dirs"
19982 as_dir
=`(dirname "$as_dir") 2>/dev/null ||
19983 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
19984 X"$as_dir" : 'X\(//\)[^/]' \| \
19985 X"$as_dir" : 'X\(//\)$' \| \
19986 X"$as_dir" : 'X\(/\)' \| \
19987 . : '\(.\)' 2>/dev/null ||
19989 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
19990 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
19991 /^X\(\/\/\)$/{ s//\1/; q; }
19992 /^X\(\/\).*/{ s//\1/; q; }
19995 test ! -n "$as_dirs" || mkdir
$as_dirs
19996 fi ||
{ { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
19997 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
19998 { (exit 1); exit 1; }; }; }
20001 mv $tmp/config.h
$ac_file
20005 rm -f $tmp/config.h
20007 # Compute $ac_file's index in $config_headers.
20009 for _am_header
in $config_headers :; do
20010 case $_am_header in
20011 $ac_file |
$ac_file:* )
20014 _am_stamp_count
=`expr $_am_stamp_count + 1` ;;
20017 echo "timestamp for $ac_file" >`(dirname $ac_file) 2>/dev/null ||
20018 $as_expr X$ac_file : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
20019 X$ac_file : 'X\(//\)[^/]' \| \
20020 X$ac_file : 'X\(//\)$' \| \
20021 X$ac_file : 'X\(/\)' \| \
20022 . : '\(.\)' 2>/dev/null ||
20024 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
20025 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
20026 /^X\(\/\/\)$/{ s//\1/; q; }
20027 /^X\(\/\).*/{ s//\1/; q; }
20028 s/.*/./; q'`/stamp-h
$_am_stamp_count
20031 cat >>$CONFIG_STATUS <<\_ACEOF
20034 # CONFIG_LINKS section.
20037 for ac_file
in : $CONFIG_LINKS; do test "x$ac_file" = x
: && continue
20038 ac_dest
=`echo "$ac_file" | sed 's,:.*,,'`
20039 ac_source
=`echo "$ac_file" | sed 's,[^:]*:,,'`
20041 { echo "$as_me:$LINENO: linking $srcdir/$ac_source to $ac_dest" >&5
20042 echo "$as_me: linking $srcdir/$ac_source to $ac_dest" >&6;}
20044 if test ! -r $srcdir/$ac_source; then
20045 { { echo "$as_me:$LINENO: error: $srcdir/$ac_source: file not found" >&5
20046 echo "$as_me: error: $srcdir/$ac_source: file not found" >&2;}
20047 { (exit 1); exit 1; }; }
20051 # Make relative symlinks.
20052 ac_dest_dir
=`(dirname "$ac_dest") 2>/dev/null ||
20053 $as_expr X"$ac_dest" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
20054 X"$ac_dest" : 'X\(//\)[^/]' \| \
20055 X"$ac_dest" : 'X\(//\)$' \| \
20056 X"$ac_dest" : 'X\(/\)' \| \
20057 . : '\(.\)' 2>/dev/null ||
20059 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
20060 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
20061 /^X\(\/\/\)$/{ s//\1/; q; }
20062 /^X\(\/\).*/{ s//\1/; q; }
20064 { if $as_mkdir_p; then
20065 mkdir
-p "$ac_dest_dir"
20067 as_dir
="$ac_dest_dir"
20069 while test ! -d "$as_dir"; do
20070 as_dirs
="$as_dir $as_dirs"
20071 as_dir
=`(dirname "$as_dir") 2>/dev/null ||
20072 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
20073 X"$as_dir" : 'X\(//\)[^/]' \| \
20074 X"$as_dir" : 'X\(//\)$' \| \
20075 X"$as_dir" : 'X\(/\)' \| \
20076 . : '\(.\)' 2>/dev/null ||
20078 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
20079 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
20080 /^X\(\/\/\)$/{ s//\1/; q; }
20081 /^X\(\/\).*/{ s//\1/; q; }
20084 test ! -n "$as_dirs" || mkdir
$as_dirs
20085 fi ||
{ { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dest_dir\"" >&5
20086 echo "$as_me: error: cannot create directory \"$ac_dest_dir\"" >&2;}
20087 { (exit 1); exit 1; }; }; }
20091 if test "$ac_dest_dir" != .
; then
20092 ac_dir_suffix
=/`echo "$ac_dest_dir" | sed 's,^\.[\\/],,'`
20093 # A "../" for each directory in $ac_dir_suffix.
20094 ac_top_builddir
=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
20096 ac_dir_suffix
= ac_top_builddir
=
20100 .
) # No --srcdir option. We are building in place.
20102 if test -z "$ac_top_builddir"; then
20105 ac_top_srcdir
=`echo $ac_top_builddir | sed 's,/$,,'`
20107 [\\/]* | ?
:[\\/]* ) # Absolute path.
20108 ac_srcdir
=$srcdir$ac_dir_suffix;
20109 ac_top_srcdir
=$srcdir ;;
20110 *) # Relative path.
20111 ac_srcdir
=$ac_top_builddir$srcdir$ac_dir_suffix
20112 ac_top_srcdir
=$ac_top_builddir$srcdir ;;
20115 # Do not use `cd foo && pwd` to compute absolute paths, because
20116 # the directories may not exist.
20118 .
) ac_abs_builddir
="$ac_dest_dir";;
20120 case "$ac_dest_dir" in
20121 .
) ac_abs_builddir
=`pwd`;;
20122 [\\/]* | ?
:[\\/]* ) ac_abs_builddir
="$ac_dest_dir";;
20123 *) ac_abs_builddir
=`pwd`/"$ac_dest_dir";;
20126 case $ac_abs_builddir in
20127 .
) ac_abs_top_builddir
=${ac_top_builddir}.
;;
20129 case ${ac_top_builddir}.
in
20130 .
) ac_abs_top_builddir
=$ac_abs_builddir;;
20131 [\\/]* | ?
:[\\/]* ) ac_abs_top_builddir
=${ac_top_builddir}.
;;
20132 *) ac_abs_top_builddir
=$ac_abs_builddir/${ac_top_builddir}.
;;
20135 case $ac_abs_builddir in
20136 .
) ac_abs_srcdir
=$ac_srcdir;;
20139 .
) ac_abs_srcdir
=$ac_abs_builddir;;
20140 [\\/]* | ?
:[\\/]* ) ac_abs_srcdir
=$ac_srcdir;;
20141 *) ac_abs_srcdir
=$ac_abs_builddir/$ac_srcdir;;
20144 case $ac_abs_builddir in
20145 .
) ac_abs_top_srcdir
=$ac_top_srcdir;;
20147 case $ac_top_srcdir in
20148 .
) ac_abs_top_srcdir
=$ac_abs_builddir;;
20149 [\\/]* | ?
:[\\/]* ) ac_abs_top_srcdir
=$ac_top_srcdir;;
20150 *) ac_abs_top_srcdir
=$ac_abs_builddir/$ac_top_srcdir;;
20156 [\\/$
]* | ?
:[\\/]* ) ac_rel_source
=$srcdir/$ac_source ;;
20157 *) ac_rel_source
=$ac_top_builddir$srcdir/$ac_source ;;
20160 # Try a symlink, then a hard link, then a copy.
20161 ln -s $ac_rel_source $ac_dest 2>/dev
/null ||
20162 ln $srcdir/$ac_source $ac_dest 2>/dev
/null ||
20163 cp -p $srcdir/$ac_source $ac_dest ||
20164 { { echo "$as_me:$LINENO: error: cannot link or copy $srcdir/$ac_source to $ac_dest" >&5
20165 echo "$as_me: error: cannot link or copy $srcdir/$ac_source to $ac_dest" >&2;}
20166 { (exit 1); exit 1; }; }
20169 cat >>$CONFIG_STATUS <<\_ACEOF
20172 # CONFIG_COMMANDS section.
20174 for ac_file
in : $CONFIG_COMMANDS; do test "x$ac_file" = x
: && continue
20175 ac_dest
=`echo "$ac_file" | sed 's,:.*,,'`
20176 ac_source
=`echo "$ac_file" | sed 's,[^:]*:,,'`
20177 ac_dir
=`(dirname "$ac_dest") 2>/dev/null ||
20178 $as_expr X"$ac_dest" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
20179 X"$ac_dest" : 'X\(//\)[^/]' \| \
20180 X"$ac_dest" : 'X\(//\)$' \| \
20181 X"$ac_dest" : 'X\(/\)' \| \
20182 . : '\(.\)' 2>/dev/null ||
20184 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
20185 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
20186 /^X\(\/\/\)$/{ s//\1/; q; }
20187 /^X\(\/\).*/{ s//\1/; q; }
20189 { if $as_mkdir_p; then
20194 while test ! -d "$as_dir"; do
20195 as_dirs
="$as_dir $as_dirs"
20196 as_dir
=`(dirname "$as_dir") 2>/dev/null ||
20197 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
20198 X"$as_dir" : 'X\(//\)[^/]' \| \
20199 X"$as_dir" : 'X\(//\)$' \| \
20200 X"$as_dir" : 'X\(/\)' \| \
20201 . : '\(.\)' 2>/dev/null ||
20203 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
20204 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
20205 /^X\(\/\/\)$/{ s//\1/; q; }
20206 /^X\(\/\).*/{ s//\1/; q; }
20209 test ! -n "$as_dirs" || mkdir
$as_dirs
20210 fi ||
{ { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
20211 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
20212 { (exit 1); exit 1; }; }; }
20216 if test "$ac_dir" != .
; then
20217 ac_dir_suffix
=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
20218 # A "../" for each directory in $ac_dir_suffix.
20219 ac_top_builddir
=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
20221 ac_dir_suffix
= ac_top_builddir
=
20225 .
) # No --srcdir option. We are building in place.
20227 if test -z "$ac_top_builddir"; then
20230 ac_top_srcdir
=`echo $ac_top_builddir | sed 's,/$,,'`
20232 [\\/]* | ?
:[\\/]* ) # Absolute path.
20233 ac_srcdir
=$srcdir$ac_dir_suffix;
20234 ac_top_srcdir
=$srcdir ;;
20235 *) # Relative path.
20236 ac_srcdir
=$ac_top_builddir$srcdir$ac_dir_suffix
20237 ac_top_srcdir
=$ac_top_builddir$srcdir ;;
20240 # Do not use `cd foo && pwd` to compute absolute paths, because
20241 # the directories may not exist.
20243 .
) ac_abs_builddir
="$ac_dir";;
20246 .
) ac_abs_builddir
=`pwd`;;
20247 [\\/]* | ?
:[\\/]* ) ac_abs_builddir
="$ac_dir";;
20248 *) ac_abs_builddir
=`pwd`/"$ac_dir";;
20251 case $ac_abs_builddir in
20252 .
) ac_abs_top_builddir
=${ac_top_builddir}.
;;
20254 case ${ac_top_builddir}.
in
20255 .
) ac_abs_top_builddir
=$ac_abs_builddir;;
20256 [\\/]* | ?
:[\\/]* ) ac_abs_top_builddir
=${ac_top_builddir}.
;;
20257 *) ac_abs_top_builddir
=$ac_abs_builddir/${ac_top_builddir}.
;;
20260 case $ac_abs_builddir in
20261 .
) ac_abs_srcdir
=$ac_srcdir;;
20264 .
) ac_abs_srcdir
=$ac_abs_builddir;;
20265 [\\/]* | ?
:[\\/]* ) ac_abs_srcdir
=$ac_srcdir;;
20266 *) ac_abs_srcdir
=$ac_abs_builddir/$ac_srcdir;;
20269 case $ac_abs_builddir in
20270 .
) ac_abs_top_srcdir
=$ac_top_srcdir;;
20272 case $ac_top_srcdir in
20273 .
) ac_abs_top_srcdir
=$ac_abs_builddir;;
20274 [\\/]* | ?
:[\\/]* ) ac_abs_top_srcdir
=$ac_top_srcdir;;
20275 *) ac_abs_top_srcdir
=$ac_abs_builddir/$ac_top_srcdir;;
20280 { echo "$as_me:$LINENO: executing $ac_dest commands" >&5
20281 echo "$as_me: executing $ac_dest commands" >&6;}
20283 depfiles
) test x
"$AMDEP_TRUE" != x
"" ||
for mf
in $CONFIG_FILES; do
20284 # Strip MF so we end up with the name of the file.
20285 mf
=`echo "$mf" | sed -e 's/:.*$//'`
20286 # Check whether this is an Automake generated Makefile or not.
20287 # We used to match only the files named `Makefile.in', but
20288 # some people rename them; so instead we look at the file content.
20289 # Grep'ing the first line is not enough: some people post-process
20290 # each Makefile.in and add a new line on top of each file to say so.
20291 # So let's grep whole file.
20292 if grep '^#.*generated by automake' $mf > /dev
/null
2>&1; then
20293 dirpart
=`(dirname "$mf") 2>/dev/null ||
20294 $as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
20295 X"$mf" : 'X\(//\)[^/]' \| \
20296 X"$mf" : 'X\(//\)$' \| \
20297 X"$mf" : 'X\(/\)' \| \
20298 . : '\(.\)' 2>/dev/null ||
20300 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
20301 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
20302 /^X\(\/\/\)$/{ s//\1/; q; }
20303 /^X\(\/\).*/{ s//\1/; q; }
20308 # Extract the definition of DEPDIR, am__include, and am__quote
20309 # from the Makefile without running `make'.
20310 DEPDIR
=`sed -n 's/^DEPDIR = //p' < "$mf"`
20311 test -z "$DEPDIR" && continue
20312 am__include
=`sed -n 's/^am__include = //p' < "$mf"`
20313 test -z "am__include" && continue
20314 am__quote
=`sed -n 's/^am__quote = //p' < "$mf"`
20315 # When using ansi2knr, U may be empty or an underscore; expand it
20316 U
=`sed -n 's/^U = //p' < "$mf"`
20317 # Find all dependency output files, they are included files with
20318 # $(DEPDIR) in their names. We invoke sed twice because it is the
20319 # simplest approach to changing $(DEPDIR) to its actual value in the
20321 for file in `sed -n "
20322 s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
20323 sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do
20324 # Make sure the directory exists.
20325 test -f "$dirpart/$file" && continue
20326 fdir
=`(dirname "$file") 2>/dev/null ||
20327 $as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
20328 X"$file" : 'X\(//\)[^/]' \| \
20329 X"$file" : 'X\(//\)$' \| \
20330 X"$file" : 'X\(/\)' \| \
20331 . : '\(.\)' 2>/dev/null ||
20333 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
20334 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
20335 /^X\(\/\/\)$/{ s//\1/; q; }
20336 /^X\(\/\).*/{ s//\1/; q; }
20338 { if $as_mkdir_p; then
20339 mkdir
-p $dirpart/$fdir
20341 as_dir
=$dirpart/$fdir
20343 while test ! -d "$as_dir"; do
20344 as_dirs
="$as_dir $as_dirs"
20345 as_dir
=`(dirname "$as_dir") 2>/dev/null ||
20346 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
20347 X"$as_dir" : 'X\(//\)[^/]' \| \
20348 X"$as_dir" : 'X\(//\)$' \| \
20349 X"$as_dir" : 'X\(/\)' \| \
20350 . : '\(.\)' 2>/dev/null ||
20352 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
20353 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
20354 /^X\(\/\/\)$/{ s//\1/; q; }
20355 /^X\(\/\).*/{ s//\1/; q; }
20358 test ! -n "$as_dirs" || mkdir
$as_dirs
20359 fi ||
{ { echo "$as_me:$LINENO: error: cannot create directory $dirpart/$fdir" >&5
20360 echo "$as_me: error: cannot create directory $dirpart/$fdir" >&2;}
20361 { (exit 1); exit 1; }; }; }
20363 # echo "creating $dirpart/$file"
20364 echo '# dummy' > "$dirpart/$file"
20368 mkcollections.pl
) chmod 755 lib
/mkcollections.pl
;;
20370 { echo "$as_me:$LINENO: creating $ac_stdint_h : $_ac_stdint_h" >&5
20371 echo "$as_me: creating $ac_stdint_h : $_ac_stdint_h" >&6;}
20372 ac_stdint
=$tmp/_stdint.h
20374 echo "#ifndef" $_ac_stdint_h >$ac_stdint
20375 echo "#define" $_ac_stdint_h "1" >>$ac_stdint
20376 echo "#ifndef" _GENERATED_STDINT_H
>>$ac_stdint
20377 echo "#define" _GENERATED_STDINT_H
'"'$PACKAGE $VERSION'"' >>$ac_stdint
20378 echo "/* generated $ac_cv_stdint_message */" >>$ac_stdint
20379 if test "_$ac_cv_header_stdint_t" != "_" ; then
20380 echo "#define _STDINT_HAVE_STDINT_H" "1" >>$ac_stdint
20381 echo "#include <stdint.h>" >>$ac_stdint
20382 echo "#endif" >>$ac_stdint
20383 echo "#endif" >>$ac_stdint
20386 cat >>$ac_stdint <<STDINT_EOF
20388 /* ................... shortcircuit part ........................... */
20390 #if defined HAVE_STDINT_H || defined _STDINT_HAVE_STDINT_H
20391 #include <stdint.h>
20393 #include <stddef.h>
20395 /* .................... configured part ............................ */
20399 echo "/* whether we have a C99 compatible stdint header file */" >>$ac_stdint
20400 if test "_$ac_cv_header_stdint_x" != "_" ; then
20401 ac_header
="$ac_cv_header_stdint_x"
20402 echo "#define _STDINT_HEADER_INTPTR" '"'"$ac_header"'"' >>$ac_stdint
20404 echo "/* #undef _STDINT_HEADER_INTPTR */" >>$ac_stdint
20407 echo "/* whether we have a C96 compatible inttypes header file */" >>$ac_stdint
20408 if test "_$ac_cv_header_stdint_o" != "_" ; then
20409 ac_header
="$ac_cv_header_stdint_o"
20410 echo "#define _STDINT_HEADER_UINT32" '"'"$ac_header"'"' >>$ac_stdint
20412 echo "/* #undef _STDINT_HEADER_UINT32 */" >>$ac_stdint
20415 echo "/* whether we have a BSD compatible inet types header */" >>$ac_stdint
20416 if test "_$ac_cv_header_stdint_u" != "_" ; then
20417 ac_header
="$ac_cv_header_stdint_u"
20418 echo "#define _STDINT_HEADER_U_INT32" '"'"$ac_header"'"' >>$ac_stdint
20420 echo "/* #undef _STDINT_HEADER_U_INT32 */" >>$ac_stdint
20423 echo "" >>$ac_stdint
20425 if test "_$ac_header" != "_" ; then if test "$ac_header" != "stddef.h" ; then
20426 echo "#include <$ac_header>" >>$ac_stdint
20427 echo "" >>$ac_stdint
20430 echo "/* which 64bit typedef has been found */" >>$ac_stdint
20431 if test "$ac_cv_type_uint64_t" = "yes" ; then
20432 echo "#define _STDINT_HAVE_UINT64_T" "1" >>$ac_stdint
20434 echo "/* #undef _STDINT_HAVE_UINT64_T */" >>$ac_stdint
20436 if test "$ac_cv_type_u_int64_t" = "yes" ; then
20437 echo "#define _STDINT_HAVE_U_INT64_T" "1" >>$ac_stdint
20439 echo "/* #undef _STDINT_HAVE_U_INT64_T */" >>$ac_stdint
20441 echo "" >>$ac_stdint
20443 echo "/* which type model has been detected */" >>$ac_stdint
20444 if test "_$ac_cv_char_data_model" != "_" ; then
20445 echo "#define _STDINT_CHAR_MODEL" "$ac_cv_char_data_model" >>$ac_stdint
20446 echo "#define _STDINT_LONG_MODEL" "$ac_cv_long_data_model" >>$ac_stdint
20448 echo "/* #undef _STDINT_CHAR_MODEL // skipped */" >>$ac_stdint
20449 echo "/* #undef _STDINT_LONG_MODEL // skipped */" >>$ac_stdint
20451 echo "" >>$ac_stdint
20453 echo "/* whether int_least types were detected */" >>$ac_stdint
20454 if test "$ac_cv_type_int_least32_t" = "yes"; then
20455 echo "#define _STDINT_HAVE_INT_LEAST32_T" "1" >>$ac_stdint
20457 echo "/* #undef _STDINT_HAVE_INT_LEAST32_T */" >>$ac_stdint
20459 echo "/* whether int_fast types were detected */" >>$ac_stdint
20460 if test "$ac_cv_type_int_fast32_t" = "yes"; then
20461 echo "#define _STDINT_HAVE_INT_FAST32_T" "1" >>$ac_stdint
20463 echo "/* #undef _STDINT_HAVE_INT_FAST32_T */" >>$ac_stdint
20465 echo "/* whether intmax_t type was detected */" >>$ac_stdint
20466 if test "$ac_cv_type_intmax_t" = "yes"; then
20467 echo "#define _STDINT_HAVE_INTMAX_T" "1" >>$ac_stdint
20469 echo "/* #undef _STDINT_HAVE_INTMAX_T */" >>$ac_stdint
20471 echo "" >>$ac_stdint
20473 cat >>$ac_stdint <<STDINT_EOF
20474 /* .................... detections part ............................ */
20476 /* whether we need to define bitspecific types from compiler base types */
20477 #ifndef _STDINT_HEADER_INTPTR
20478 #ifndef _STDINT_HEADER_UINT32
20479 #ifndef _STDINT_HEADER_U_INT32
20480 #define _STDINT_NEED_INT_MODEL_T
20482 #define _STDINT_HAVE_U_INT_TYPES
20487 #ifdef _STDINT_HAVE_U_INT_TYPES
20488 #undef _STDINT_NEED_INT_MODEL_T
20491 #ifdef _STDINT_CHAR_MODEL
20492 #if _STDINT_CHAR_MODEL+0 == 122 || _STDINT_CHAR_MODEL+0 == 124
20493 #ifndef _STDINT_BYTE_MODEL
20494 #define _STDINT_BYTE_MODEL 12
20499 #ifndef _STDINT_HAVE_INT_LEAST32_T
20500 #define _STDINT_NEED_INT_LEAST_T
20503 #ifndef _STDINT_HAVE_INT_FAST32_T
20504 #define _STDINT_NEED_INT_FAST_T
20507 #ifndef _STDINT_HEADER_INTPTR
20508 #define _STDINT_NEED_INTPTR_T
20509 #ifndef _STDINT_HAVE_INTMAX_T
20510 #define _STDINT_NEED_INTMAX_T
20515 /* .................... definition part ............................ */
20517 /* some system headers have good uint64_t */
20518 #ifndef _HAVE_UINT64_T
20519 #if defined _STDINT_HAVE_UINT64_T || defined HAVE_UINT64_T
20520 #define _HAVE_UINT64_T
20521 #elif defined _STDINT_HAVE_U_INT64_T || defined HAVE_U_INT64_T
20522 #define _HAVE_UINT64_T
20523 typedef u_int64_t uint64_t;
20527 #ifndef _HAVE_UINT64_T
20528 /* .. here are some common heuristics using compiler runtime specifics */
20529 #if defined __STDC_VERSION__ && defined __STDC_VERSION__ >= 199901L
20530 #define _HAVE_UINT64_T
20531 #define _HAVE_LONGLONG_UINT64_T
20532 typedef long long int64_t;
20533 typedef unsigned long long uint64_t;
20535 #elif !defined __STRICT_ANSI__
20536 #if defined _MSC_VER || defined __WATCOMC__ || defined __BORLANDC__
20537 #define _HAVE_UINT64_T
20538 typedef __int64 int64_t;
20539 typedef unsigned __int64 uint64_t;
20541 #elif defined __GNUC__ || defined __MWERKS__ || defined __ELF__
20542 /* note: all ELF-systems seem to have loff-support which needs 64-bit */
20543 #if !defined _NO_LONGLONG
20544 #define _HAVE_UINT64_T
20545 #define _HAVE_LONGLONG_UINT64_T
20546 typedef long long int64_t;
20547 typedef unsigned long long uint64_t;
20550 #elif defined __alpha || (defined __mips && defined _ABIN32)
20551 #if !defined _NO_LONGLONG
20552 typedef long int64_t;
20553 typedef unsigned long uint64_t;
20555 /* compiler/cpu type to define int64_t */
20560 #if defined _STDINT_HAVE_U_INT_TYPES
20561 /* int8_t int16_t int32_t defined by inet code, redeclare the u_intXX types */
20562 typedef u_int8_t uint8_t;
20563 typedef u_int16_t uint16_t;
20564 typedef u_int32_t uint32_t;
20566 /* glibc compatibility */
20567 #ifndef __int8_t_defined
20568 #define __int8_t_defined
20572 #ifdef _STDINT_NEED_INT_MODEL_T
20573 /* we must guess all the basic types. Apart from byte-adressable system, */
20574 /* there a few 32-bit-only dsp-systems that we guard with BYTE_MODEL 8-} */
20575 /* (btw, those nibble-addressable systems are way off, or so we assume) */
20578 #if defined _STDINT_BYTE_MODEL
20579 #if _STDINT_LONG_MODEL+0 == 242
20580 /* 2:4:2 = IP16 = a normal 16-bit system */
20581 typedef unsigned char uint8_t;
20582 typedef unsigned short uint16_t;
20583 typedef unsigned long uint32_t;
20584 #ifndef __int8_t_defined
20585 #define __int8_t_defined
20586 typedef char int8_t;
20587 typedef short int16_t;
20588 typedef long int32_t;
20590 #elif _STDINT_LONG_MODEL+0 == 244 || _STDINT_LONG_MODEL == 444
20591 /* 2:4:4 = LP32 = a 32-bit system derived from a 16-bit */
20592 /* 4:4:4 = ILP32 = a normal 32-bit system */
20593 typedef unsigned char uint8_t;
20594 typedef unsigned short uint16_t;
20595 typedef unsigned int uint32_t;
20596 #ifndef __int8_t_defined
20597 #define __int8_t_defined
20598 typedef char int8_t;
20599 typedef short int16_t;
20600 typedef int int32_t;
20602 #elif _STDINT_LONG_MODEL+0 == 484 || _STDINT_LONG_MODEL+0 == 488
20603 /* 4:8:4 = IP32 = a 32-bit system prepared for 64-bit */
20604 /* 4:8:8 = LP64 = a normal 64-bit system */
20605 typedef unsigned char uint8_t;
20606 typedef unsigned short uint16_t;
20607 typedef unsigned int uint32_t;
20608 #ifndef __int8_t_defined
20609 #define __int8_t_defined
20610 typedef char int8_t;
20611 typedef short int16_t;
20612 typedef int int32_t;
20614 /* this system has a "long" of 64bit */
20615 #ifndef _HAVE_UINT64_T
20616 #define _HAVE_UINT64_T
20617 typedef unsigned long uint64_t;
20618 typedef long int64_t;
20620 #elif _STDINT_LONG_MODEL+0 == 448
20621 /* LLP64 a 64-bit system derived from a 32-bit system */
20622 typedef unsigned char uint8_t;
20623 typedef unsigned short uint16_t;
20624 typedef unsigned int uint32_t;
20625 #ifndef __int8_t_defined
20626 #define __int8_t_defined
20627 typedef char int8_t;
20628 typedef short int16_t;
20629 typedef int int32_t;
20631 /* assuming the system has a "long long" */
20632 #ifndef _HAVE_UINT64_T
20633 #define _HAVE_UINT64_T
20634 #define _HAVE_LONGLONG_UINT64_T
20635 typedef unsigned long long uint64_t;
20636 typedef long long int64_t;
20639 #define _STDINT_NO_INT32_T
20642 #define _STDINT_NO_INT8_T
20643 #define _STDINT_NO_INT32_T
20648 * quote from SunOS-5.8 sys/inttypes.h:
20649 * Use at your own risk. As of February 1996, the committee is squarely
20650 * behind the fixed sized types; the "least" and "fast" types are still being
20651 * discussed. The probability that the "fast" types may be removed before
20652 * the standard is finalized is high enough that they are not currently
20656 #if defined _STDINT_NEED_INT_LEAST_T
20657 typedef int8_t int_least8_t;
20658 typedef int16_t int_least16_t;
20659 typedef int32_t int_least32_t;
20660 #ifdef _HAVE_UINT64_T
20661 typedef int64_t int_least64_t;
20664 typedef uint8_t uint_least8_t;
20665 typedef uint16_t uint_least16_t;
20666 typedef uint32_t uint_least32_t;
20667 #ifdef _HAVE_UINT64_T
20668 typedef uint64_t uint_least64_t;
20673 #if defined _STDINT_NEED_INT_FAST_T
20674 typedef int8_t int_fast8_t;
20675 typedef int int_fast16_t;
20676 typedef int32_t int_fast32_t;
20677 #ifdef _HAVE_UINT64_T
20678 typedef int64_t int_fast64_t;
20681 typedef uint8_t uint_fast8_t;
20682 typedef unsigned uint_fast16_t;
20683 typedef uint32_t uint_fast32_t;
20684 #ifdef _HAVE_UINT64_T
20685 typedef uint64_t uint_fast64_t;
20690 #ifdef _STDINT_NEED_INTMAX_T
20691 #ifdef _HAVE_UINT64_T
20692 typedef int64_t intmax_t;
20693 typedef uint64_t uintmax_t;
20695 typedef long intmax_t;
20696 typedef unsigned long uintmax_t;
20700 #ifdef _STDINT_NEED_INTPTR_T
20701 #ifndef __intptr_t_defined
20702 #define __intptr_t_defined
20703 /* we encourage using "long" to store pointer values, never use "int" ! */
20704 #if _STDINT_LONG_MODEL+0 == 242 || _STDINT_LONG_MODEL+0 == 484
20705 typedef unsigned int uintptr_t;
20706 typedef int intptr_t;
20707 #elif _STDINT_LONG_MODEL+0 == 244 || _STDINT_LONG_MODEL+0 == 444
20708 typedef unsigned long uintptr_t;
20709 typedef long intptr_t;
20710 #elif _STDINT_LONG_MODEL+0 == 448 && defined _HAVE_UINT64_T
20711 typedef uint64_t uintptr_t;
20712 typedef int64_t intptr_t;
20713 #else /* matches typical system types ILP32 and LP64 - but not IP16 or LLP64 */
20714 typedef unsigned long uintptr_t;
20715 typedef long intptr_t;
20720 /* The ISO C99 standard specifies that in C++ implementations these
20721 should only be defined if explicitly requested. */
20722 #if !defined __cplusplus || defined __STDC_CONSTANT_MACROS
20726 # define INT8_C(c) c
20727 # define INT16_C(c) c
20728 # define INT32_C(c) c
20729 # ifdef _HAVE_LONGLONG_UINT64_T
20730 # define INT64_C(c) c ## L
20732 # define INT64_C(c) c ## LL
20736 # define UINT8_C(c) c ## U
20737 # define UINT16_C(c) c ## U
20738 # define UINT32_C(c) c ## U
20739 # ifdef _HAVE_LONGLONG_UINT64_T
20740 # define UINT64_C(c) c ## UL
20742 # define UINT64_C(c) c ## ULL
20745 /* Maximal type. */
20746 # ifdef _HAVE_LONGLONG_UINT64_T
20747 # define INTMAX_C(c) c ## L
20748 # define UINTMAX_C(c) c ## UL
20750 # define INTMAX_C(c) c ## LL
20751 # define UINTMAX_C(c) c ## ULL
20754 /* literalnumbers */
20758 /* These limits are merily those of a two complement byte-oriented system */
20760 /* Minimum of signed integral types. */
20761 # define INT8_MIN (-128)
20762 # define INT16_MIN (-32767-1)
20763 # define INT32_MIN (-2147483647-1)
20764 # define INT64_MIN (-__INT64_C(9223372036854775807)-1)
20765 /* Maximum of signed integral types. */
20766 # define INT8_MAX (127)
20767 # define INT16_MAX (32767)
20768 # define INT32_MAX (2147483647)
20769 # define INT64_MAX (__INT64_C(9223372036854775807))
20771 /* Maximum of unsigned integral types. */
20772 # define UINT8_MAX (255)
20773 # define UINT16_MAX (65535)
20774 # define UINT32_MAX (4294967295U)
20775 # define UINT64_MAX (__UINT64_C(18446744073709551615))
20777 /* Minimum of signed integral types having a minimum size. */
20778 # define INT_LEAST8_MIN INT8_MIN
20779 # define INT_LEAST16_MIN INT16_MIN
20780 # define INT_LEAST32_MIN INT32_MIN
20781 # define INT_LEAST64_MIN INT64_MIN
20782 /* Maximum of signed integral types having a minimum size. */
20783 # define INT_LEAST8_MAX INT8_MAX
20784 # define INT_LEAST16_MAX INT16_MAX
20785 # define INT_LEAST32_MAX INT32_MAX
20786 # define INT_LEAST64_MAX INT64_MAX
20788 /* Maximum of unsigned integral types having a minimum size. */
20789 # define UINT_LEAST8_MAX UINT8_MAX
20790 # define UINT_LEAST16_MAX UINT16_MAX
20791 # define UINT_LEAST32_MAX UINT32_MAX
20792 # define UINT_LEAST64_MAX UINT64_MAX
20801 if cmp -s $ac_stdint_h $ac_stdint 2>/dev
/null
; then
20802 { echo "$as_me:$LINENO: $ac_stdint_h is unchanged" >&5
20803 echo "$as_me: $ac_stdint_h is unchanged" >&6;}
20805 ac_dir
=`(dirname "$ac_stdint_h") 2>/dev/null ||
20806 $as_expr X"$ac_stdint_h" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
20807 X"$ac_stdint_h" : 'X\(//\)[^/]' \| \
20808 X"$ac_stdint_h" : 'X\(//\)$' \| \
20809 X"$ac_stdint_h" : 'X\(/\)' \| \
20810 . : '\(.\)' 2>/dev/null ||
20811 echo X"$ac_stdint_h" |
20812 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
20813 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
20814 /^X\(\/\/\)$/{ s//\1/; q; }
20815 /^X\(\/\).*/{ s//\1/; q; }
20817 { if $as_mkdir_p; then
20822 while test ! -d "$as_dir"; do
20823 as_dirs
="$as_dir $as_dirs"
20824 as_dir
=`(dirname "$as_dir") 2>/dev/null ||
20825 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
20826 X"$as_dir" : 'X\(//\)[^/]' \| \
20827 X"$as_dir" : 'X\(//\)$' \| \
20828 X"$as_dir" : 'X\(/\)' \| \
20829 . : '\(.\)' 2>/dev/null ||
20831 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
20832 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
20833 /^X\(\/\/\)$/{ s//\1/; q; }
20834 /^X\(\/\).*/{ s//\1/; q; }
20837 test ! -n "$as_dirs" || mkdir
$as_dirs
20838 fi ||
{ { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
20839 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
20840 { (exit 1); exit 1; }; }; }
20843 mv $ac_stdint $ac_stdint_h
20846 appletviewer
) chmod 755 tools
/appletviewer
;;
20847 jarsigner
) chmod 755 tools
/jarsigner
;;
20848 keytool
) chmod 755 tools
/keytool
;;
20849 gen-classlist
) chmod 755 lib
/gen-classlist.sh
;;
20850 copy-vmresources
) chmod 755 lib
/copy-vmresources.sh
;;
20855 cat >>$CONFIG_STATUS <<\_ACEOF
20857 { (exit 0); exit 0; }
20859 chmod +x
$CONFIG_STATUS
20860 ac_clean_files
=$ac_clean_files_save
20863 # configure is writing to config.log, and then calls config.status.
20864 # config.status does its own redirection, appending to config.log.
20865 # Unfortunately, on DOS this fails, as config.log is still kept open
20866 # by configure, so config.status won't be able to write to it; its
20867 # output is simply discarded. So we exec the FD to /dev/null,
20868 # effectively closing config.log, so it can be properly (re)opened and
20869 # appended to by config.status. When coming back to configure, we
20870 # need to make the FD available again.
20871 if test "$no_create" != yes; then
20873 ac_config_status_args
=
20874 test "$silent" = yes &&
20875 ac_config_status_args
="$ac_config_status_args --quiet"
20877 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success
=false
20879 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
20880 # would make configure fail if this is the last instruction.
20881 $ac_cs_success ||
{ (exit 1); exit 1; }