2 # Guess values for system-dependent variables and create Makefiles.
3 # Generated by GNU Autoconf 2.59 for GNU Classpath 0.94-pre.
5 # Report bugs to <classpath@gnu.org>.
7 # Copyright (C) 2003 Free Software Foundation, Inc.
8 # This configure script is free software; the Free Software Foundation
9 # gives unlimited permission to copy, distribute and modify it.
10 ## --------------------- ##
11 ## M4sh Initialization. ##
12 ## --------------------- ##
14 # Be Bourne compatible
15 if test -n "${ZSH_VERSION+set}" && (emulate sh
) >/dev
/null
2>&1; then
18 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
19 # is contrary to our usage. Disable this feature.
20 alias -g '${1+"$@"}'='"$@"'
21 elif test -n "${BASH_VERSION+set}" && (set -o posix
) >/dev
/null
2>&1; then
24 DUALCASE
=1; export DUALCASE
# for MKS sh
26 # Support unset when possible.
27 if ( (MAIL
=60; unset MAIL
) ||
exit) >/dev
/null
2>&1; then
34 # Work around bugs in pre-3.0 UWIN ksh.
35 $as_unset ENV MAIL MAILPATH
42 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
43 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
46 if (set +x
; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
47 eval $as_var=C
; export $as_var
53 # Required to use basename.
54 if expr a
: '\(a\)' >/dev
/null
2>&1; then
60 if (basename /) >/dev
/null
2>&1 && test "X`basename / 2>&1`" = "X/"; then
67 # Name of the executable.
68 as_me
=`$as_basename "$0" ||
69 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
70 X"$0" : 'X\(//\)$' \| \
71 X"$0" : 'X\(/\)$' \| \
72 . : '\(.\)' 2>/dev/null ||
74 sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; }
75 /^X\/\(\/\/\)$/{ s//\1/; q; }
76 /^X\/\(\/\).*/{ s//\1/; q; }
80 # PATH needs CR, and LINENO needs CR and PATH.
81 # Avoid depending upon Character Ranges.
82 as_cr_letters
='abcdefghijklmnopqrstuvwxyz'
83 as_cr_LETTERS
='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
84 as_cr_Letters
=$as_cr_letters$as_cr_LETTERS
85 as_cr_digits
='0123456789'
86 as_cr_alnum
=$as_cr_Letters$as_cr_digits
88 # The user is always right.
89 if test "${PATH_SEPARATOR+set}" != set; then
90 echo "#! /bin/sh" >conf$$.sh
91 echo "exit 0" >>conf$$.sh
93 if (PATH
="/nonexistent;."; conf$$.sh
) >/dev
/null
2>&1; then
104 as_lineno_3
=`(expr $as_lineno_1 + 1) 2>/dev/null`
105 test "x$as_lineno_1" != "x$as_lineno_2" &&
106 test "x$as_lineno_3" = "x$as_lineno_2" ||
{
107 # Find who we are. Look in the path if we contain no path at all
110 *[\\/]* ) as_myself
=$0 ;;
111 *) as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
115 test -z "$as_dir" && as_dir
=.
116 test -r "$as_dir/$0" && as_myself
=$as_dir/$0 && break
121 # We did not find ourselves, most probably we were run as `sh COMMAND'
122 # in which case we are not to be found in the path.
123 if test "x$as_myself" = x
; then
126 if test ! -f "$as_myself"; then
127 { echo "$as_me: error: cannot find myself; rerun with an absolute path" >&2
128 { (exit 1); exit 1; }; }
130 case $CONFIG_SHELL in
132 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
133 for as_dir
in /bin
$PATH_SEPARATOR/usr
/bin
$PATH_SEPARATOR$PATH
136 test -z "$as_dir" && as_dir
=.
137 for as_base
in sh bash ksh sh5
; do
140 if ("$as_dir/$as_base" -c '
143 as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
144 test "x$as_lineno_1" != "x$as_lineno_2" &&
145 test "x$as_lineno_3" = "x$as_lineno_2" ') 2>/dev
/null
; then
146 $as_unset BASH_ENV ||
test "${BASH_ENV+set}" != set ||
{ BASH_ENV
=; export BASH_ENV
; }
147 $as_unset ENV ||
test "${ENV+set}" != set ||
{ ENV
=; export ENV
; }
148 CONFIG_SHELL
=$as_dir/$as_base
150 exec "$CONFIG_SHELL" "$0" ${1+"$@"}
158 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
159 # uniformly replaced by the line number. The first 'sed' inserts a
160 # line-number line before each line; the second 'sed' does the real
161 # work. The second script uses 'N' to pair each line-number line
162 # with the numbered line, and appends trailing '-' during
163 # substitution so that $LINENO is not a special case at line end.
164 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
165 # second 'sed' script. Blame Lee E. McMahon for sed's syntax. :-)
166 sed '=' <$as_myself |
171 s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3,
174 s,^['$as_cr_digits']*\n,,
176 chmod +x
$as_me.lineno ||
177 { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
178 { (exit 1); exit 1; }; }
180 # Don't try to exec as it changes $[0], causing all sort of problems
181 # (the dirname of $[0] is not the place where we might find the
182 # original and so on. Autoconf is especially sensible to this).
184 # Exit status is that of the last command.
189 case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in
190 *c
*,-n*) ECHO_N
= ECHO_C
='
192 *c
*,* ) ECHO_N
=-n ECHO_C
= ECHO_T
= ;;
193 *) ECHO_N
= ECHO_C
='\c' ECHO_T
= ;;
196 if expr a
: '\(a\)' >/dev
/null
2>&1; then
202 rm -f conf$$ conf$$.exe conf$$.
file
204 if ln -s conf$$.
file conf$$
2>/dev
/null
; then
205 # We could just check for DJGPP; but this test a) works b) is more generic
206 # and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04).
207 if test -f conf$$.exe
; then
208 # Don't use ln at all; we don't have any links
213 elif ln conf$$.
file conf$$
2>/dev
/null
; then
218 rm -f conf$$ conf$$.exe conf$$.
file
220 if mkdir
-p .
2>/dev
/null
; then
223 test -d .
/-p && rmdir .
/-p
227 as_executable_p
="test -f"
229 # Sed expression to map a string onto a valid CPP name.
230 as_tr_cpp
="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
232 # Sed expression to map a string onto a valid variable name.
233 as_tr_sh
="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
237 # We need space, tab and new line, in precisely that order.
247 # hostname on some systems (SVR3.2, Linux) returns a bogus exit status,
248 # so uname gets run too.
249 ac_hostname
=`(hostname || uname -n) 2>/dev/null | sed 1q`
256 ac_default_prefix
=/usr
/local
257 ac_config_libobj_dir
=.
262 SHELL
=${CONFIG_SHELL-/bin/sh}
264 # Maximum number of lines to put in a shell here document.
265 # This variable seems obsolete. It should probably be removed, and
266 # only ac_max_sed_lines should be used.
267 : ${ac_max_here_lines=38}
269 # Identity of this package.
270 PACKAGE_NAME
='GNU Classpath'
271 PACKAGE_TARNAME
='classpath'
272 PACKAGE_VERSION
='0.94-pre'
273 PACKAGE_STRING
='GNU Classpath 0.94-pre'
274 PACKAGE_BUGREPORT
='classpath@gnu.org'
276 ac_unique_file
="java/lang/System.java"
277 ac_default_prefix
=/usr
/local
/classpath
278 # Factoring default headers for most tests.
279 ac_includes_default
="\
282 # include <sys/types.h>
285 # include <sys/stat.h>
296 # if !STDC_HEADERS && HAVE_MEMORY_H
302 # include <strings.h>
305 # include <inttypes.h>
315 ac_subst_vars
='SHELL PATH_SEPARATOR PACKAGE_NAME PACKAGE_TARNAME PACKAGE_VERSION PACKAGE_STRING PACKAGE_BUGREPORT exec_prefix prefix program_transform_name bindir sbindir libexecdir datadir sysconfdir sharedstatedir localstatedir libdir includedir oldincludedir infodir mandir build_alias host_alias target_alias DEFS ECHO_C ECHO_N ECHO_T LIBS build build_cpu build_vendor build_os host host_cpu host_vendor host_os target target_cpu target_vendor target_os JAVA_MAINTAINER_MODE_TRUE JAVA_MAINTAINER_MODE_FALSE LIBVERSION CLASSPATH_MODULE CLASSPATH_CONVENIENCE INSTALL_PROGRAM INSTALL_SCRIPT INSTALL_DATA CYGPATH_W PACKAGE VERSION ACLOCAL AUTOCONF AUTOMAKE AUTOHEADER MAKEINFO install_sh STRIP ac_ct_STRIP INSTALL_STRIP_PROGRAM mkdir_p AWK SET_MAKE am__leading_dot AMTAR am__tar am__untar CREATE_COLLECTIONS_TRUE CREATE_COLLECTIONS_FALSE CREATE_JNI_LIBRARIES_TRUE CREATE_JNI_LIBRARIES_FALSE CREATE_CORE_JNI_LIBRARIES_TRUE CREATE_CORE_JNI_LIBRARIES_FALSE CREATE_GCONF_PEER_LIBRARIES_TRUE CREATE_GCONF_PEER_LIBRARIES_FALSE default_toolkit CREATE_XMLJ_LIBRARY_TRUE CREATE_XMLJ_LIBRARY_FALSE CC CFLAGS LDFLAGS CPPFLAGS ac_ct_CC EXEEXT OBJEXT DEPDIR am__include am__quote AMDEP_TRUE AMDEP_FALSE AMDEPBACKSLASH CCDEPMODE am__fastdepCC_TRUE am__fastdepCC_FALSE CPP EGREP CREATE_ALSA_LIBRARIES_TRUE CREATE_ALSA_LIBRARIES_FALSE CREATE_DSSI_LIBRARIES_TRUE CREATE_DSSI_LIBRARIES_FALSE CREATE_GTK_PEER_LIBRARIES_TRUE CREATE_GTK_PEER_LIBRARIES_FALSE CREATE_QT_PEER_LIBRARIES_TRUE CREATE_QT_PEER_LIBRARIES_FALSE CREATE_PLUGIN_TRUE CREATE_PLUGIN_FALSE toolexeclibdir nativeexeclibdir glibjdir VM_BINARY FOUND_CACAO_TRUE FOUND_CACAO_FALSE CREATE_JNI_HEADERS_TRUE CREATE_JNI_HEADERS_FALSE CREATE_WRAPPERS_TRUE CREATE_WRAPPERS_FALSE LN_S RANLIB ac_ct_RANLIB LIBTOOL CXX CXXFLAGS ac_ct_CXX CXXDEPMODE am__fastdepCXX_TRUE am__fastdepCXX_FALSE CXXCPP PERL COLLECTIONS_PREFIX LIBMAGIC LIBICONV LTLIBICONV WARNING_CFLAGS STRICT_WARNING_CFLAGS ERROR_CFLAGS PKG_CONFIG XML_CFLAGS XML_LIBS XSLT_CFLAGS XSLT_LIBS X_CFLAGS X_PRE_LIBS X_LIBS X_EXTRA_LIBS GTK_CFLAGS GTK_LIBS FREETYPE2_CFLAGS FREETYPE2_LIBS PANGOFT2_CFLAGS PANGOFT2_LIBS XTEST_LIBS GCONF_CFLAGS GCONF_LIBS GDK_CFLAGS GDK_LIBS QT_CFLAGS QT_LIBS MOC MOZILLA_CFLAGS MOZILLA_LIBS GLIB_CFLAGS GLIB_LIBS PLUGIN_DIR USER_JAVAH USER_SPECIFIED_JAVAH_TRUE USER_SPECIFIED_JAVAH_FALSE CLASSPATH_INCLUDES GCJ JIKES JIKESENCODING JIKESWARNINGS KJC GCJX ECJ FOUND_GCJ_TRUE FOUND_GCJ_FALSE FOUND_JIKES_TRUE FOUND_JIKES_FALSE FOUND_ECJ_TRUE FOUND_ECJ_FALSE FOUND_KJC_TRUE FOUND_KJC_FALSE FOUND_GCJX_TRUE FOUND_GCJX_FALSE USER_CLASSLIB USER_SPECIFIED_CLASSLIB_TRUE USER_SPECIFIED_CLASSLIB_FALSE vm_classes MAINTAINER_MODE_TRUE MAINTAINER_MODE_FALSE MAINT LIBDEBUG INIT_LOAD_LIBRARY JAVA_LANG_SYSTEM_EXPLICIT_INITIALIZATION REMOVE MKDIR CP DATE FIND ZIP FASTJAR INSTALL_GLIBJ_ZIP_TRUE INSTALL_GLIBJ_ZIP_FALSE INSTALL_CLASS_FILES_TRUE INSTALL_CLASS_FILES_FALSE BUILD_CLASS_FILES_TRUE BUILD_CLASS_FILES_FALSE EXAMPLESDIR GJDOC CREATE_API_DOCS_TRUE CREATE_API_DOCS_FALSE JAY JAY_SKELETON REGEN_PARSERS_TRUE REGEN_PARSERS_FALSE USE_PREBUILT_GLIBJ_ZIP_TRUE USE_PREBUILT_GLIBJ_ZIP_FALSE PATH_TO_GLIBJ_ZIP USE_ESCHER_TRUE USE_ESCHER_FALSE PATH_TO_ESCHER ENABLE_LOCAL_SOCKETS_TRUE ENABLE_LOCAL_SOCKETS_FALSE DEFAULT_PREFS_PEER LIBOBJS LTLIBOBJS'
318 # Initialize some variables set by options.
320 ac_init_version
=false
321 # The variables have the same names as the options, with
322 # dashes changed to underlines.
330 program_transform_name
=s
,x
,x
,
338 # Installation directory options.
339 # These are left unexpanded so users can "make install exec_prefix=/foo"
340 # and all the variables that are supposed to be based on exec_prefix
341 # by default will actually change.
342 # Use braces instead of parens because sh, perl, etc. also accept them.
343 bindir
='${exec_prefix}/bin'
344 sbindir
='${exec_prefix}/sbin'
345 libexecdir
='${exec_prefix}/libexec'
346 datadir
='${prefix}/share'
347 sysconfdir
='${prefix}/etc'
348 sharedstatedir
='${prefix}/com'
349 localstatedir
='${prefix}/var'
350 libdir
='${exec_prefix}/lib'
351 includedir
='${prefix}/include'
352 oldincludedir
='/usr/include'
353 infodir
='${prefix}/info'
354 mandir
='${prefix}/man'
359 # If the previous option needs an argument, assign it.
360 if test -n "$ac_prev"; then
361 eval "$ac_prev=\$ac_option"
366 ac_optarg
=`expr "x$ac_option" : 'x[^=]*=\(.*\)'`
368 # Accept the important Cygnus configure options, so we can diagnose typos.
372 -bindir |
--bindir |
--bindi |
--bind |
--bin |
--bi)
374 -bindir=* |
--bindir=* |
--bindi=* |
--bind=* |
--bin=* |
--bi=*)
377 -build |
--build |
--buil |
--bui |
--bu)
378 ac_prev
=build_alias
;;
379 -build=* |
--build=* |
--buil=* |
--bui=* |
--bu=*)
380 build_alias
=$ac_optarg ;;
382 -cache-file |
--cache-file |
--cache-fil |
--cache-fi \
383 |
--cache-f |
--cache- |
--cache |
--cach |
--cac |
--ca |
--c)
384 ac_prev
=cache_file
;;
385 -cache-file=* |
--cache-file=* |
--cache-fil=* |
--cache-fi=* \
386 |
--cache-f=* |
--cache-=* |
--cache=* |
--cach=* |
--cac=* |
--ca=* |
--c=*)
387 cache_file
=$ac_optarg ;;
390 cache_file
=config.cache
;;
392 -datadir |
--datadir |
--datadi |
--datad |
--data |
--dat |
--da)
394 -datadir=* |
--datadir=* |
--datadi=* |
--datad=* |
--data=* |
--dat=* \
396 datadir
=$ac_optarg ;;
398 -disable-* |
--disable-*)
399 ac_feature
=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
400 # Reject names that are not valid shell variable names.
401 expr "x$ac_feature" : ".*[^-_$as_cr_alnum]" >/dev
/null
&&
402 { echo "$as_me: error: invalid feature name: $ac_feature" >&2
403 { (exit 1); exit 1; }; }
404 ac_feature
=`echo $ac_feature | sed 's/-/_/g'`
405 eval "enable_$ac_feature=no" ;;
407 -enable-* |
--enable-*)
408 ac_feature
=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
409 # Reject names that are not valid shell variable names.
410 expr "x$ac_feature" : ".*[^-_$as_cr_alnum]" >/dev
/null
&&
411 { echo "$as_me: error: invalid feature name: $ac_feature" >&2
412 { (exit 1); exit 1; }; }
413 ac_feature
=`echo $ac_feature | sed 's/-/_/g'`
415 *=*) ac_optarg
=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`;;
418 eval "enable_$ac_feature='$ac_optarg'" ;;
420 -exec-prefix |
--exec_prefix |
--exec-prefix |
--exec-prefi \
421 |
--exec-pref |
--exec-pre |
--exec-pr |
--exec-p |
--exec- \
422 |
--exec |
--exe |
--ex)
423 ac_prev
=exec_prefix
;;
424 -exec-prefix=* |
--exec_prefix=* |
--exec-prefix=* |
--exec-prefi=* \
425 |
--exec-pref=* |
--exec-pre=* |
--exec-pr=* |
--exec-p=* |
--exec-=* \
426 |
--exec=* |
--exe=* |
--ex=*)
427 exec_prefix
=$ac_optarg ;;
429 -gas |
--gas |
--ga |
--g)
430 # Obsolete; use --with-gas.
433 -help |
--help |
--hel |
--he |
-h)
435 -help=r
* |
--help=r
* |
--hel=r
* |
--he=r
* |
-hr*)
436 ac_init_help
=recursive
;;
437 -help=s
* |
--help=s
* |
--hel=s
* |
--he=s
* |
-hs*)
438 ac_init_help
=short
;;
440 -host |
--host |
--hos |
--ho)
441 ac_prev
=host_alias
;;
442 -host=* |
--host=* |
--hos=* |
--ho=*)
443 host_alias
=$ac_optarg ;;
445 -includedir |
--includedir |
--includedi |
--included |
--include \
446 |
--includ |
--inclu |
--incl |
--inc)
447 ac_prev
=includedir
;;
448 -includedir=* |
--includedir=* |
--includedi=* |
--included=* |
--include=* \
449 |
--includ=* |
--inclu=* |
--incl=* |
--inc=*)
450 includedir
=$ac_optarg ;;
452 -infodir |
--infodir |
--infodi |
--infod |
--info |
--inf)
454 -infodir=* |
--infodir=* |
--infodi=* |
--infod=* |
--info=* |
--inf=*)
455 infodir
=$ac_optarg ;;
457 -libdir |
--libdir |
--libdi |
--libd)
459 -libdir=* |
--libdir=* |
--libdi=* |
--libd=*)
462 -libexecdir |
--libexecdir |
--libexecdi |
--libexecd |
--libexec \
463 |
--libexe |
--libex |
--libe)
464 ac_prev
=libexecdir
;;
465 -libexecdir=* |
--libexecdir=* |
--libexecdi=* |
--libexecd=* |
--libexec=* \
466 |
--libexe=* |
--libex=* |
--libe=*)
467 libexecdir
=$ac_optarg ;;
469 -localstatedir |
--localstatedir |
--localstatedi |
--localstated \
470 |
--localstate |
--localstat |
--localsta |
--localst \
471 |
--locals |
--local |
--loca |
--loc |
--lo)
472 ac_prev
=localstatedir
;;
473 -localstatedir=* |
--localstatedir=* |
--localstatedi=* |
--localstated=* \
474 |
--localstate=* |
--localstat=* |
--localsta=* |
--localst=* \
475 |
--locals=* |
--local=* |
--loca=* |
--loc=* |
--lo=*)
476 localstatedir
=$ac_optarg ;;
478 -mandir |
--mandir |
--mandi |
--mand |
--man |
--ma |
--m)
480 -mandir=* |
--mandir=* |
--mandi=* |
--mand=* |
--man=* |
--ma=* |
--m=*)
484 # Obsolete; use --without-fp.
487 -no-create |
--no-create |
--no-creat |
--no-crea |
--no-cre \
488 |
--no-cr |
--no-c |
-n)
491 -no-recursion |
--no-recursion |
--no-recursio |
--no-recursi \
492 |
--no-recurs |
--no-recur |
--no-recu |
--no-rec |
--no-re |
--no-r)
495 -oldincludedir |
--oldincludedir |
--oldincludedi |
--oldincluded \
496 |
--oldinclude |
--oldinclud |
--oldinclu |
--oldincl |
--oldinc \
497 |
--oldin |
--oldi |
--old |
--ol |
--o)
498 ac_prev
=oldincludedir
;;
499 -oldincludedir=* |
--oldincludedir=* |
--oldincludedi=* |
--oldincluded=* \
500 |
--oldinclude=* |
--oldinclud=* |
--oldinclu=* |
--oldincl=* |
--oldinc=* \
501 |
--oldin=* |
--oldi=* |
--old=* |
--ol=* |
--o=*)
502 oldincludedir
=$ac_optarg ;;
504 -prefix |
--prefix |
--prefi |
--pref |
--pre |
--pr |
--p)
506 -prefix=* |
--prefix=* |
--prefi=* |
--pref=* |
--pre=* |
--pr=* |
--p=*)
509 -program-prefix |
--program-prefix |
--program-prefi |
--program-pref \
510 |
--program-pre |
--program-pr |
--program-p)
511 ac_prev
=program_prefix
;;
512 -program-prefix=* |
--program-prefix=* |
--program-prefi=* \
513 |
--program-pref=* |
--program-pre=* |
--program-pr=* |
--program-p=*)
514 program_prefix
=$ac_optarg ;;
516 -program-suffix |
--program-suffix |
--program-suffi |
--program-suff \
517 |
--program-suf |
--program-su |
--program-s)
518 ac_prev
=program_suffix
;;
519 -program-suffix=* |
--program-suffix=* |
--program-suffi=* \
520 |
--program-suff=* |
--program-suf=* |
--program-su=* |
--program-s=*)
521 program_suffix
=$ac_optarg ;;
523 -program-transform-name |
--program-transform-name \
524 |
--program-transform-nam |
--program-transform-na \
525 |
--program-transform-n |
--program-transform- \
526 |
--program-transform |
--program-transfor \
527 |
--program-transfo |
--program-transf \
528 |
--program-trans |
--program-tran \
529 |
--progr-tra |
--program-tr |
--program-t)
530 ac_prev
=program_transform_name
;;
531 -program-transform-name=* |
--program-transform-name=* \
532 |
--program-transform-nam=* |
--program-transform-na=* \
533 |
--program-transform-n=* |
--program-transform-=* \
534 |
--program-transform=* |
--program-transfor=* \
535 |
--program-transfo=* |
--program-transf=* \
536 |
--program-trans=* |
--program-tran=* \
537 |
--progr-tra=* |
--program-tr=* |
--program-t=*)
538 program_transform_name
=$ac_optarg ;;
540 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
541 |
-silent |
--silent |
--silen |
--sile |
--sil)
544 -sbindir |
--sbindir |
--sbindi |
--sbind |
--sbin |
--sbi |
--sb)
546 -sbindir=* |
--sbindir=* |
--sbindi=* |
--sbind=* |
--sbin=* \
548 sbindir
=$ac_optarg ;;
550 -sharedstatedir |
--sharedstatedir |
--sharedstatedi \
551 |
--sharedstated |
--sharedstate |
--sharedstat |
--sharedsta \
552 |
--sharedst |
--shareds |
--shared |
--share |
--shar \
554 ac_prev
=sharedstatedir
;;
555 -sharedstatedir=* |
--sharedstatedir=* |
--sharedstatedi=* \
556 |
--sharedstated=* |
--sharedstate=* |
--sharedstat=* |
--sharedsta=* \
557 |
--sharedst=* |
--shareds=* |
--shared=* |
--share=* |
--shar=* \
559 sharedstatedir
=$ac_optarg ;;
561 -site |
--site |
--sit)
563 -site=* |
--site=* |
--sit=*)
566 -srcdir |
--srcdir |
--srcdi |
--srcd |
--src |
--sr)
568 -srcdir=* |
--srcdir=* |
--srcdi=* |
--srcd=* |
--src=* |
--sr=*)
571 -sysconfdir |
--sysconfdir |
--sysconfdi |
--sysconfd |
--sysconf \
572 |
--syscon |
--sysco |
--sysc |
--sys |
--sy)
573 ac_prev
=sysconfdir
;;
574 -sysconfdir=* |
--sysconfdir=* |
--sysconfdi=* |
--sysconfd=* |
--sysconf=* \
575 |
--syscon=* |
--sysco=* |
--sysc=* |
--sys=* |
--sy=*)
576 sysconfdir
=$ac_optarg ;;
578 -target |
--target |
--targe |
--targ |
--tar |
--ta |
--t)
579 ac_prev
=target_alias
;;
580 -target=* |
--target=* |
--targe=* |
--targ=* |
--tar=* |
--ta=* |
--t=*)
581 target_alias
=$ac_optarg ;;
583 -v |
-verbose |
--verbose |
--verbos |
--verbo |
--verb)
586 -version |
--version |
--versio |
--versi |
--vers |
-V)
590 ac_package
=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
591 # Reject names that are not valid shell variable names.
592 expr "x$ac_package" : ".*[^-_$as_cr_alnum]" >/dev
/null
&&
593 { echo "$as_me: error: invalid package name: $ac_package" >&2
594 { (exit 1); exit 1; }; }
595 ac_package
=`echo $ac_package| sed 's/-/_/g'`
597 *=*) ac_optarg
=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`;;
600 eval "with_$ac_package='$ac_optarg'" ;;
602 -without-* |
--without-*)
603 ac_package
=`expr "x$ac_option" : 'x-*without-\(.*\)'`
604 # Reject names that are not valid shell variable names.
605 expr "x$ac_package" : ".*[^-_$as_cr_alnum]" >/dev
/null
&&
606 { echo "$as_me: error: invalid package name: $ac_package" >&2
607 { (exit 1); exit 1; }; }
608 ac_package
=`echo $ac_package | sed 's/-/_/g'`
609 eval "with_$ac_package=no" ;;
612 # Obsolete; use --with-x.
615 -x-includes |
--x-includes |
--x-include |
--x-includ |
--x-inclu \
616 |
--x-incl |
--x-inc |
--x-in |
--x-i)
617 ac_prev
=x_includes
;;
618 -x-includes=* |
--x-includes=* |
--x-include=* |
--x-includ=* |
--x-inclu=* \
619 |
--x-incl=* |
--x-inc=* |
--x-in=* |
--x-i=*)
620 x_includes
=$ac_optarg ;;
622 -x-libraries |
--x-libraries |
--x-librarie |
--x-librari \
623 |
--x-librar |
--x-libra |
--x-libr |
--x-lib |
--x-li |
--x-l)
624 ac_prev
=x_libraries
;;
625 -x-libraries=* |
--x-libraries=* |
--x-librarie=* |
--x-librari=* \
626 |
--x-librar=* |
--x-libra=* |
--x-libr=* |
--x-lib=* |
--x-li=* |
--x-l=*)
627 x_libraries
=$ac_optarg ;;
629 -*) { echo "$as_me: error: unrecognized option: $ac_option
630 Try \`$0 --help' for more information." >&2
631 { (exit 1); exit 1; }; }
635 ac_envvar
=`expr "x$ac_option" : 'x\([^=]*\)='`
636 # Reject names that are not valid shell variable names.
637 expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev
/null
&&
638 { echo "$as_me: error: invalid variable name: $ac_envvar" >&2
639 { (exit 1); exit 1; }; }
640 ac_optarg
=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`
641 eval "$ac_envvar='$ac_optarg'"
645 # FIXME: should be removed in autoconf 3.0.
646 echo "$as_me: WARNING: you should use --build, --host, --target" >&2
647 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev
/null
&&
648 echo "$as_me: WARNING: invalid host type: $ac_option" >&2
649 : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
655 if test -n "$ac_prev"; then
656 ac_option
=--`echo $ac_prev | sed 's/_/-/g'`
657 { echo "$as_me: error: missing argument to $ac_option" >&2
658 { (exit 1); exit 1; }; }
661 # Be sure to have absolute paths.
662 for ac_var
in exec_prefix prefix
664 eval ac_val
=$
`echo $ac_var`
666 [\\/$
]* | ?
:[\\/]* | NONE |
'' ) ;;
667 *) { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
668 { (exit 1); exit 1; }; };;
672 # Be sure to have absolute paths.
673 for ac_var
in bindir sbindir libexecdir datadir sysconfdir sharedstatedir \
674 localstatedir libdir includedir oldincludedir infodir mandir
676 eval ac_val
=$
`echo $ac_var`
678 [\\/$
]* | ?
:[\\/]* ) ;;
679 *) { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
680 { (exit 1); exit 1; }; };;
684 # There might be people who depend on the old broken behavior: `$host'
685 # used to hold the argument of --host etc.
686 # FIXME: To remove some day.
691 # FIXME: To remove some day.
692 if test "x$host_alias" != x
; then
693 if test "x$build_alias" = x
; then
694 cross_compiling
=maybe
695 echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
696 If a cross compiler is detected then cross compile mode will be used." >&2
697 elif test "x$build_alias" != "x$host_alias"; then
703 test -n "$host_alias" && ac_tool_prefix
=$host_alias-
705 test "$silent" = yes && exec 6>/dev
/null
708 # Find the source files, if location was not specified.
709 if test -z "$srcdir"; then
710 ac_srcdir_defaulted
=yes
711 # Try the directory containing this script, then its parent.
712 ac_confdir
=`(dirname "$0") 2>/dev/null ||
713 $as_expr X"$0" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
714 X"$0" : 'X\(//\)[^/]' \| \
715 X"$0" : 'X\(//\)$' \| \
716 X"$0" : 'X\(/\)' \| \
717 . : '\(.\)' 2>/dev/null ||
719 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
720 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
721 /^X\(\/\/\)$/{ s//\1/; q; }
722 /^X\(\/\).*/{ s//\1/; q; }
725 if test ! -r $srcdir/$ac_unique_file; then
729 ac_srcdir_defaulted
=no
731 if test ! -r $srcdir/$ac_unique_file; then
732 if test "$ac_srcdir_defaulted" = yes; then
733 { echo "$as_me: error: cannot find sources ($ac_unique_file) in $ac_confdir or .." >&2
734 { (exit 1); exit 1; }; }
736 { echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2
737 { (exit 1); exit 1; }; }
740 (cd $srcdir && test -r .
/$ac_unique_file) 2>/dev
/null ||
741 { echo "$as_me: error: sources are in $srcdir, but \`cd $srcdir' does not work" >&2
742 { (exit 1); exit 1; }; }
743 srcdir
=`echo "$srcdir" | sed 's%\([^\\/]\)[\\/]*$%\1%'`
744 ac_env_build_alias_set
=${build_alias+set}
745 ac_env_build_alias_value
=$build_alias
746 ac_cv_env_build_alias_set
=${build_alias+set}
747 ac_cv_env_build_alias_value
=$build_alias
748 ac_env_host_alias_set
=${host_alias+set}
749 ac_env_host_alias_value
=$host_alias
750 ac_cv_env_host_alias_set
=${host_alias+set}
751 ac_cv_env_host_alias_value
=$host_alias
752 ac_env_target_alias_set
=${target_alias+set}
753 ac_env_target_alias_value
=$target_alias
754 ac_cv_env_target_alias_set
=${target_alias+set}
755 ac_cv_env_target_alias_value
=$target_alias
756 ac_env_CC_set
=${CC+set}
758 ac_cv_env_CC_set
=${CC+set}
759 ac_cv_env_CC_value
=$CC
760 ac_env_CFLAGS_set
=${CFLAGS+set}
761 ac_env_CFLAGS_value
=$CFLAGS
762 ac_cv_env_CFLAGS_set
=${CFLAGS+set}
763 ac_cv_env_CFLAGS_value
=$CFLAGS
764 ac_env_LDFLAGS_set
=${LDFLAGS+set}
765 ac_env_LDFLAGS_value
=$LDFLAGS
766 ac_cv_env_LDFLAGS_set
=${LDFLAGS+set}
767 ac_cv_env_LDFLAGS_value
=$LDFLAGS
768 ac_env_CPPFLAGS_set
=${CPPFLAGS+set}
769 ac_env_CPPFLAGS_value
=$CPPFLAGS
770 ac_cv_env_CPPFLAGS_set
=${CPPFLAGS+set}
771 ac_cv_env_CPPFLAGS_value
=$CPPFLAGS
772 ac_env_CPP_set
=${CPP+set}
773 ac_env_CPP_value
=$CPP
774 ac_cv_env_CPP_set
=${CPP+set}
775 ac_cv_env_CPP_value
=$CPP
776 ac_env_CXX_set
=${CXX+set}
777 ac_env_CXX_value
=$CXX
778 ac_cv_env_CXX_set
=${CXX+set}
779 ac_cv_env_CXX_value
=$CXX
780 ac_env_CXXFLAGS_set
=${CXXFLAGS+set}
781 ac_env_CXXFLAGS_value
=$CXXFLAGS
782 ac_cv_env_CXXFLAGS_set
=${CXXFLAGS+set}
783 ac_cv_env_CXXFLAGS_value
=$CXXFLAGS
784 ac_env_CXXCPP_set
=${CXXCPP+set}
785 ac_env_CXXCPP_value
=$CXXCPP
786 ac_cv_env_CXXCPP_set
=${CXXCPP+set}
787 ac_cv_env_CXXCPP_value
=$CXXCPP
790 # Report the --help message.
792 if test "$ac_init_help" = "long"; then
793 # Omit some internal or obsolete options to make the list less imposing.
794 # This message is too long to be a string in the A/UX 3.1 sh.
796 \`configure' configures GNU Classpath 0.94-pre to adapt to many kinds of systems.
798 Usage: $0 [OPTION]... [VAR=VALUE]...
800 To assign environment variables (e.g., CC, CFLAGS...), specify them as
801 VAR=VALUE. See below for descriptions of some of the useful variables.
803 Defaults for the options are specified in brackets.
806 -h, --help display this help and exit
807 --help=short display options specific to this package
808 --help=recursive display the short help of all the included packages
809 -V, --version display version information and exit
810 -q, --quiet, --silent do not print \`checking...' messages
811 --cache-file=FILE cache test results in FILE [disabled]
812 -C, --config-cache alias for \`--cache-file=config.cache'
813 -n, --no-create do not create output files
814 --srcdir=DIR find the sources in DIR [configure dir or \`..']
819 Installation directories:
820 --prefix=PREFIX install architecture-independent files in PREFIX
822 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
825 By default, \`make install' will install all the files in
826 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
827 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
828 for instance \`--prefix=\$HOME'.
830 For better control, use the options below.
832 Fine tuning of the installation directories:
833 --bindir=DIR user executables [EPREFIX/bin]
834 --sbindir=DIR system admin executables [EPREFIX/sbin]
835 --libexecdir=DIR program executables [EPREFIX/libexec]
836 --datadir=DIR read-only architecture-independent data [PREFIX/share]
837 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
838 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
839 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
840 --libdir=DIR object code libraries [EPREFIX/lib]
841 --includedir=DIR C header files [PREFIX/include]
842 --oldincludedir=DIR C header files for non-gcc [/usr/include]
843 --infodir=DIR info documentation [PREFIX/info]
844 --mandir=DIR man documentation [PREFIX/man]
850 --program-prefix=PREFIX prepend PREFIX to installed program names
851 --program-suffix=SUFFIX append SUFFIX to installed program names
852 --program-transform-name=PROGRAM run
sed PROGRAM on installed program names
855 --x-includes=DIR X include files are
in DIR
856 --x-libraries=DIR X library files are
in DIR
859 --build=BUILD configure
for building on BUILD
[guessed
]
860 --host=HOST cross-compile to build programs to run on HOST
[BUILD
]
861 --target=TARGET configure
for building compilers
for TARGET
[HOST
]
865 if test -n "$ac_init_help"; then
866 case $ac_init_help in
867 short | recursive
) echo "Configuration of GNU Classpath 0.94-pre:";;
872 --disable-FEATURE do not include FEATURE
(same as
--enable-FEATURE=no
)
873 --enable-FEATURE[=ARG
] include FEATURE
[ARG
=yes]
874 --enable-java-maintainer-mode
875 allow rebuilding of .class and .h files
876 --enable-collections create collections.jar default
=no
877 --enable-jni compile JNI
source default
=yes
878 --enable-core-jni compile JNI sources
for core default
=yes
879 --enable-default-preferences-peer[=peer
type or class name
]
880 specify one of
: "gconf" [default
] for a GConf based
881 backend
, "file" for a
file based one
, "memory" for a
882 transient one
, or a fully qualified class name
883 implementing java.util.prefs.PreferencesFactory
884 --disable-gconf-peer compile GConf native peers
(disabled by
885 --disable-jni) default
=yes
887 --enable-Werror whether to compile C code with
-Werror which turns
888 any compiler warning into a compilation failure
890 --enable-default-toolkit
891 fully qualified class name of default AWT toolkit
892 --enable-xmlj compile native libxml
/xslt library default
=no
893 --disable-alsa compile ALSA providers
(enable by
--enable-alsa)
895 --disable-dependency-tracking speeds up one-time build
896 --enable-dependency-tracking do not reject slow dependency extractors
897 --disable-dssi compile DSSI providers
(enable by
--enable-dssi)
899 --disable-gtk-peer compile GTK native peers
(disabled by
--disable-jni)
901 --enable-qt-peer compile Qt4 native peers
(disabled by
--disable-jni)
903 --disable-plugin compile gcjwebplugin
(disabled by
--disable-plugin)
905 --enable-regen-headers automatically regenerate JNI headers default
=no
906 --enable-tool-wrappers create tool wrapper binaries default
=no
907 --enable-static=PKGS build static libraries default
=no
908 --enable-shared=PKGS build shared libraries default
=yes
909 --enable-fast-install=PKGS optimize
for fast installation default
=yes
910 --disable-libtool-lock avoid locking
(might
break parallel builds
)
911 --disable-rpath do not hardcode runtime library paths
912 --enable-maintainer-mode enable make rules and dependencies not useful
913 (and sometimes confusing
) to the casual installer
914 --enable-debug enable runtime debugging code
915 --enable-load-library enable to use JNI native methods default
=yes
916 --enable-java-lang-system-explicit-initialization
917 will the VM explicitly invoke java.lang.System
's
918 static initialization methods default=no
919 --enable-examples enable build of the examples default=yes
920 --enable-portable-native-sync
921 synchronize VM threads portably
922 --enable-local-sockets enables local (AF_LOCAL) socket API default: no
925 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
926 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
927 --with-native-libdir sets the installation directory for native libraries
928 default='${libdir}/${PACKAGE}'
929 --with-glibj-dir sets the installation directory for glibj.zip
930 default='${libdir}/${PACKAGE}'
931 --with-vm sets the VM binary name
932 default='${prefix}/bin
/jamvm
'
933 --with-gnu-ld assume the C compiler uses GNU ld default=no
934 --with-pic try to use only PIC/non-PIC objects default=use both
935 --with-libiconv-prefix[=DIR] search for libiconv in DIR/include and DIR/lib
936 --without-libiconv-prefix don't search
for libiconv
in includedir and libdir
937 --with-x use the X Window System
938 --with-qt4dir=DIR Qt4 installation directory used
for OS-X. For other
939 systems use pkg-config.
940 --with-javah specify path or name of a javah-like program
941 --with-gcj bytecode compilation with gcj
942 --with-jikes bytecode compilation with jikes
943 --with-kjc bytecode compilation with kjc
944 --with-gcjx bytecode compilation with gcjx
945 --with-ecj bytecode compilation with ecj
946 --with-classpath specify path to a classes.
zip like
file
947 --with-vm-classes specify path to VM override
source files
948 --with-fastjar=PATH define to use a fastjar style tool
949 --with-glibj define what to
install (zip|flat|both|none|build
)
951 --with-gjdoc generate documentation using gjdoc
(default is NO
)
952 --with-jay Regenerate the parsers with jay must be given the
953 path to the jay executable
954 --with-glibj-zip=ABS.PATH
955 use prebuilt glibj.
zip class library
956 --with-escher=ABS.PATH specify path to escher dir or JAR
for X peers
958 Some influential environment variables
:
959 CC C compiler
command
960 CFLAGS C compiler flags
961 LDFLAGS linker flags
, e.g.
-L<lib dir
> if you have libraries
in a
962 nonstandard directory
<lib dir
>
963 CPPFLAGS C
/C
++ preprocessor flags
, e.g.
-I<include dir
> if you have
964 headers
in a nonstandard directory
<include dir
>
966 CXX C
++ compiler
command
967 CXXFLAGS C
++ compiler flags
968 CXXCPP C
++ preprocessor
970 Use these variables to override the choices made by
`configure' or to help
971 it to find libraries and programs with nonstandard names/locations.
973 Report bugs to <classpath@gnu.org>.
977 if test "$ac_init_help" = "recursive"; then
978 # If there are subdirs, report their specific --help.
980 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
981 test -d $ac_dir || continue
984 if test "$ac_dir" != .; then
985 ac_dir_suffix=/`echo "$ac_dir" |
sed 's,^\.[\\/],,'`
986 # A "../" for each directory in $ac_dir_suffix.
987 ac_top_builddir=`echo "$ac_dir_suffix" |
sed 's,/[^\\/]*,../,g'`
989 ac_dir_suffix= ac_top_builddir=
993 .) # No --srcdir option. We are building in place.
995 if test -z "$ac_top_builddir"; then
998 ac_top_srcdir=`echo $ac_top_builddir |
sed 's,/$,,'`
1000 [\\/]* | ?:[\\/]* ) # Absolute path.
1001 ac_srcdir=$srcdir$ac_dir_suffix;
1002 ac_top_srcdir=$srcdir ;;
1004 ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
1005 ac_top_srcdir=$ac_top_builddir$srcdir ;;
1008 # Do not use `cd foo
&& pwd` to compute absolute paths, because
1009 # the directories may not exist.
1011 .) ac_abs_builddir="$ac_dir";;
1014 .) ac_abs_builddir=`pwd`;;
1015 [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";;
1016 *) ac_abs_builddir=`pwd`/"$ac_dir";;
1019 case $ac_abs_builddir in
1020 .) ac_abs_top_builddir=${ac_top_builddir}.;;
1022 case ${ac_top_builddir}. in
1023 .) ac_abs_top_builddir=$ac_abs_builddir;;
1024 [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;;
1025 *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;;
1028 case $ac_abs_builddir in
1029 .) ac_abs_srcdir=$ac_srcdir;;
1032 .) ac_abs_srcdir=$ac_abs_builddir;;
1033 [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
1034 *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;;
1037 case $ac_abs_builddir in
1038 .) ac_abs_top_srcdir=$ac_top_srcdir;;
1040 case $ac_top_srcdir in
1041 .) ac_abs_top_srcdir=$ac_abs_builddir;;
1042 [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;;
1043 *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;;
1048 # Check for guested configure; otherwise get Cygnus style configure.
1049 if test -f $ac_srcdir/configure.gnu; then
1051 $SHELL $ac_srcdir/configure.gnu --help=recursive
1052 elif test -f $ac_srcdir/configure; then
1054 $SHELL $ac_srcdir/configure --help=recursive
1055 elif test -f $ac_srcdir/configure.ac ||
1056 test -f $ac_srcdir/configure.in; then
1058 $ac_configure --help
1060 echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1066 test -n "$ac_init_help" && exit 0
1067 if $ac_init_version; then
1069 GNU Classpath configure 0.94-pre
1070 generated by GNU Autoconf 2.59
1072 Copyright (C) 2003 Free Software Foundation, Inc.
1073 This configure script is free software; the Free Software Foundation
1074 gives unlimited permission to copy, distribute and modify it.
1080 This file contains any messages produced by compilers while
1081 running configure, to aid debugging if configure makes a mistake.
1083 It was created by GNU Classpath $as_me 0.94-pre, which was
1084 generated by GNU Autoconf 2.59. Invocation command line was
1095 hostname = `(hostname || uname
-n) 2>/dev
/null |
sed 1q
`
1096 uname -m = `(uname
-m) 2>/dev
/null ||
echo unknown
`
1097 uname -r = `(uname
-r) 2>/dev
/null ||
echo unknown
`
1098 uname -s = `(uname
-s) 2>/dev
/null ||
echo unknown
`
1099 uname -v = `(uname
-v) 2>/dev
/null ||
echo unknown
`
1101 /usr/bin/uname -p = `(/usr
/bin
/uname
-p) 2>/dev
/null ||
echo unknown
`
1102 /bin/uname -X = `(/bin
/uname
-X) 2>/dev
/null ||
echo unknown
`
1104 /bin/arch = `(/bin
/arch
) 2>/dev
/null ||
echo unknown
`
1105 /usr/bin/arch -k = `(/usr
/bin
/arch
-k) 2>/dev
/null ||
echo unknown
`
1106 /usr/convex/getsysinfo = `(/usr
/convex
/getsysinfo
) 2>/dev
/null ||
echo unknown
`
1107 hostinfo = `(hostinfo
) 2>/dev
/null ||
echo unknown
`
1108 /bin/machine = `(/bin
/machine
) 2>/dev
/null ||
echo unknown
`
1109 /usr/bin/oslevel = `(/usr
/bin
/oslevel
) 2>/dev
/null ||
echo unknown
`
1110 /bin/universe = `(/bin
/universe
) 2>/dev
/null ||
echo unknown
`
1114 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1118 test -z "$as_dir" && as_dir=.
1119 echo "PATH: $as_dir"
1134 # Keep a trace of the command line.
1135 # Strip out --no-create and --no-recursion so they do not pile up.
1136 # Strip out --silent because we don't want to record it for future runs.
1137 # Also quote any args containing shell meta-characters.
1138 # Make two passes to allow for proper duplicate-argument suppression.
1143 ac_must_keep_next=false
1149 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
1150 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1151 | -silent | --silent | --silen | --sile | --sil)
1153 *" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
1154 ac_arg=`echo "$ac_arg" |
sed "s/'/'\\\\\\\\''/g"` ;;
1157 1) ac_configure_args0="$ac_configure_args0 '$ac_arg'" ;;
1159 ac_configure_args1="$ac_configure_args1 '$ac_arg'"
1160 if test $ac_must_keep_next = true; then
1161 ac_must_keep_next=false # Got value, back to normal.
1164 *=* | --config-cache | -C | -disable-* | --disable-* \
1165 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
1166 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
1167 | -with-* | --with-* | -without-* | --without-* | --x)
1168 case "$ac_configure_args0 " in
1169 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
1172 -* ) ac_must_keep_next=true ;;
1175 ac_configure_args="$ac_configure_args$ac_sep'$ac_arg'"
1176 # Get rid of the leading space.
1182 $as_unset ac_configure_args0 || test "${ac_configure_args0+set}" != set || { ac_configure_args0=; export ac_configure_args0; }
1183 $as_unset ac_configure_args1 || test "${ac_configure_args1+set}" != set || { ac_configure_args1=; export ac_configure_args1; }
1185 # When interrupted or exit'd, cleanup temporary files, and complete
1186 # config.log. We remove comments because anyway the quotes in there
1187 # would cause problems or look ugly.
1188 # WARNING: Be sure not to use single quotes in there, as some shells,
1189 # such as our DU 5.0 friend, will then `close
' the trap.
1190 trap 'exit_status
=$?
1191 # Save into config.log some information that might help in debugging.
1196 ## ---------------- ##
1197 ## Cache variables. ##
1198 ## ---------------- ##
1201 # The following way of writing the cache mishandles newlines in values,
1204 case `(ac_space='"'"' '"'"'; set | grep ac_space) 2>&1` in
1207 "s/'"'"'/'"'"'\\\\'"'"''"'"'/g;
1208 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='"'"'\\2'"'"'/p"
1212 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
1219 ## ----------------- ##
1220 ## Output variables. ##
1221 ## ----------------- ##
1224 for ac_var
in $ac_subst_vars
1226 eval ac_val
=$
`echo $ac_var`
1227 echo "$ac_var='"'"'$ac_val'"'"'"
1231 if test -n "$ac_subst_files"; then
1238 for ac_var
in $ac_subst_files
1240 eval ac_val
=$
`echo $ac_var`
1241 echo "$ac_var='"'"'$ac_val'"'"'"
1246 if test -s confdefs.h
; then
1253 sed "/^$/d" confdefs.h |
sort
1256 test "$ac_signal" != 0 &&
1257 echo "$as_me: caught signal $ac_signal"
1258 echo "$as_me: exit $exit_status"
1260 rm -f core
*.core
&&
1261 rm -rf conftest
* confdefs
* conf$$
* $ac_clean_files &&
1264 for ac_signal in 1 2 13 15; do
1265 trap 'ac_signal
='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
1269 # confdefs.h avoids OS command line length limits that DEFS can exceed.
1270 rm -rf conftest* confdefs.h
1271 # AIX cpp loses on an empty file, so make sure it contains at least a newline.
1274 # Predefined preprocessor variables.
1276 cat >>confdefs.h <<_ACEOF
1277 #define PACKAGE_NAME "$PACKAGE_NAME"
1281 cat >>confdefs.h <<_ACEOF
1282 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
1286 cat >>confdefs.h <<_ACEOF
1287 #define PACKAGE_VERSION "$PACKAGE_VERSION"
1291 cat >>confdefs.h <<_ACEOF
1292 #define PACKAGE_STRING "$PACKAGE_STRING"
1296 cat >>confdefs.h <<_ACEOF
1297 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
1301 # Let the site file select an alternate cache file if it wants to.
1302 # Prefer explicitly selected file to automatically selected ones.
1303 if test -z "$CONFIG_SITE"; then
1304 if test "x$prefix" != xNONE; then
1305 CONFIG_SITE="$prefix/share/config.site $prefix/etc/config.site"
1307 CONFIG_SITE="$ac_default_prefix/share/config.site $ac_default_prefix/etc/config.site"
1310 for ac_site_file in $CONFIG_SITE; do
1311 if test -r "$ac_site_file"; then
1312 { echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
1313 echo "$as_me: loading site script $ac_site_file" >&6;}
1314 sed 's
/^
/|
/' "$ac_site_file" >&5
1319 if test -r "$cache_file"; then
1320 # Some versions of bash will fail to source /dev/null (special
1321 # files actually), so we avoid doing that.
1322 if test -f "$cache_file"; then
1323 { echo "$as_me:$LINENO: loading cache $cache_file" >&5
1324 echo "$as_me: loading cache $cache_file" >&6;}
1326 [\\/]* | ?:[\\/]* ) . $cache_file;;
1327 *) . ./$cache_file;;
1331 { echo "$as_me:$LINENO: creating cache $cache_file" >&5
1332 echo "$as_me: creating cache $cache_file" >&6;}
1336 # Check that the precious variables saved in the cache have kept the same
1338 ac_cache_corrupted=false
1339 for ac_var in `(set) 2>&1 |
1340 sed -n 's
/^ac_env_\
([a-zA-Z_0-9
]*\
)_set
=.
*/\
1/p
'`; do
1341 eval ac_old_set=\$ac_cv_env_${ac_var}_set
1342 eval ac_new_set=\$ac_env_${ac_var}_set
1343 eval ac_old_val="\$ac_cv_env_${ac_var}_value"
1344 eval ac_new_val="\$ac_env_${ac_var}_value"
1345 case $ac_old_set,$ac_new_set in
1347 { echo "$as_me:$LINENO: error: \`$ac_var' was
set to \
`$ac_old_val' in the previous run" >&5
1348 echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run
" >&2;}
1349 ac_cache_corrupted=: ;;
1351 { echo "$as_me:$LINENO: error
: \
`$ac_var' was not set in the previous run" >&5
1352 echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
1353 ac_cache_corrupted=: ;;
1356 if test "x$ac_old_val" != "x$ac_new_val"; then
1357 { echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run
:" >&5
1358 echo "$as_me: error
: \
`$ac_var' has changed since the previous run:" >&2;}
1359 { echo "$as_me:$LINENO: former value: $ac_old_val" >&5
1360 echo "$as_me: former value: $ac_old_val" >&2;}
1361 { echo "$as_me:$LINENO: current value: $ac_new_val" >&5
1362 echo "$as_me: current value: $ac_new_val" >&2;}
1363 ac_cache_corrupted=:
1366 # Pass precious variables to config.status.
1367 if test "$ac_new_set" = set; then
1369 *" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
1370 ac_arg=$ac_var=`echo "$ac_new_val" |
sed "s/'/'\\\\\\\\''/g"` ;;
1371 *) ac_arg=$ac_var=$ac_new_val ;;
1373 case " $ac_configure_args " in
1374 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
1375 *) ac_configure_args="$ac_configure_args '$ac_arg'" ;;
1379 if $ac_cache_corrupted; then
1380 { echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5
1381 echo "$as_me: error: changes in the environment can compromise the build" >&2;}
1382 { { echo "$as_me:$LINENO: error: run \`make distclean
' and/or \`rm $cache_file' and start over
" >&5
1383 echo "$as_me: error
: run \
`make distclean' and/or \`rm $cache_file' and start over" >&2;}
1384 { (exit 1); exit 1; }; }
1388 ac_cpp='$CPP $CPPFLAGS'
1389 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
1390 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
1391 ac_compiler_gnu=$ac_cv_c_compiler_gnu
1422 for ac_dir in $srcdir $srcdir/.. $srcdir/../..; do
1423 if test -f $ac_dir/install-sh; then
1425 ac_install_sh="$ac_aux_dir/install-sh -c"
1427 elif test -f $ac_dir/install.sh; then
1429 ac_install_sh="$ac_aux_dir/install.sh -c"
1431 elif test -f $ac_dir/shtool; then
1433 ac_install_sh="$ac_aux_dir/shtool install -c"
1437 if test -z "$ac_aux_dir"; then
1438 { { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." >&5
1439 echo "$as_me: error: cannot find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." >&2;}
1440 { (exit 1); exit 1; }; }
1442 ac_config_guess="$SHELL $ac_aux_dir/config.guess"
1443 ac_config_sub="$SHELL $ac_aux_dir/config.sub"
1444 ac_configure="$SHELL $ac_aux_dir/configure" # This should be Cygnus configure.
1446 # Make sure we can run config.sub.
1447 $ac_config_sub sun4 >/dev/null 2>&1 ||
1448 { { echo "$as_me:$LINENO: error: cannot run $ac_config_sub" >&5
1449 echo "$as_me: error: cannot run $ac_config_sub" >&2;}
1450 { (exit 1); exit 1; }; }
1452 echo "$as_me:$LINENO: checking build system type" >&5
1453 echo $ECHO_N "checking build system type... $ECHO_C" >&6
1454 if test "${ac_cv_build+set}" = set; then
1455 echo $ECHO_N "(cached) $ECHO_C" >&6
1457 ac_cv_build_alias=$build_alias
1458 test -z "$ac_cv_build_alias" &&
1459 ac_cv_build_alias=`$ac_config_guess`
1460 test -z "$ac_cv_build_alias" &&
1461 { { echo "$as_me:$LINENO: error: cannot guess build type; you must specify one" >&5
1462 echo "$as_me: error: cannot guess build type; you must specify one" >&2;}
1463 { (exit 1); exit 1; }; }
1464 ac_cv_build=`$ac_config_sub $ac_cv_build_alias` ||
1465 { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_build_alias failed" >&5
1466 echo "$as_me: error: $ac_config_sub $ac_cv_build_alias failed" >&2;}
1467 { (exit 1); exit 1; }; }
1470 echo "$as_me:$LINENO: result: $ac_cv_build" >&5
1471 echo "${ECHO_T}$ac_cv_build" >&6
1473 build_cpu=`echo $ac_cv_build | sed 's
/^\
([^
-]*\
)-\
([^
-]*\
)-\
(.
*\
)$
/\
1/'`
1474 build_vendor=`echo $ac_cv_build | sed 's
/^\
([^
-]*\
)-\
([^
-]*\
)-\
(.
*\
)$
/\
2/'`
1475 build_os=`echo $ac_cv_build | sed 's
/^\
([^
-]*\
)-\
([^
-]*\
)-\
(.
*\
)$
/\
3/'`
1478 echo "$as_me:$LINENO: checking host system type" >&5
1479 echo $ECHO_N "checking host system type... $ECHO_C" >&6
1480 if test "${ac_cv_host+set}" = set; then
1481 echo $ECHO_N "(cached) $ECHO_C" >&6
1483 ac_cv_host_alias=$host_alias
1484 test -z "$ac_cv_host_alias" &&
1485 ac_cv_host_alias=$ac_cv_build_alias
1486 ac_cv_host=`$ac_config_sub $ac_cv_host_alias` ||
1487 { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_host_alias failed" >&5
1488 echo "$as_me: error: $ac_config_sub $ac_cv_host_alias failed" >&2;}
1489 { (exit 1); exit 1; }; }
1492 echo "$as_me:$LINENO: result: $ac_cv_host" >&5
1493 echo "${ECHO_T}$ac_cv_host" >&6
1495 host_cpu=`echo $ac_cv_host | sed 's
/^\
([^
-]*\
)-\
([^
-]*\
)-\
(.
*\
)$
/\
1/'`
1496 host_vendor=`echo $ac_cv_host | sed 's
/^\
([^
-]*\
)-\
([^
-]*\
)-\
(.
*\
)$
/\
2/'`
1497 host_os=`echo $ac_cv_host | sed 's
/^\
([^
-]*\
)-\
([^
-]*\
)-\
(.
*\
)$
/\
3/'`
1500 echo "$as_me:$LINENO: checking target system type" >&5
1501 echo $ECHO_N "checking target system type... $ECHO_C" >&6
1502 if test "${ac_cv_target+set}" = set; then
1503 echo $ECHO_N "(cached) $ECHO_C" >&6
1505 ac_cv_target_alias=$target_alias
1506 test "x$ac_cv_target_alias" = "x" &&
1507 ac_cv_target_alias=$ac_cv_host_alias
1508 ac_cv_target=`$ac_config_sub $ac_cv_target_alias` ||
1509 { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_target_alias failed" >&5
1510 echo "$as_me: error: $ac_config_sub $ac_cv_target_alias failed" >&2;}
1511 { (exit 1); exit 1; }; }
1514 echo "$as_me:$LINENO: result: $ac_cv_target" >&5
1515 echo "${ECHO_T}$ac_cv_target" >&6
1516 target=$ac_cv_target
1517 target_cpu=`echo $ac_cv_target | sed 's
/^\
([^
-]*\
)-\
([^
-]*\
)-\
(.
*\
)$
/\
1/'`
1518 target_vendor=`echo $ac_cv_target | sed 's
/^\
([^
-]*\
)-\
([^
-]*\
)-\
(.
*\
)$
/\
2/'`
1519 target_os=`echo $ac_cv_target | sed 's
/^\
([^
-]*\
)-\
([^
-]*\
)-\
(.
*\
)$
/\
3/'`
1522 # The aliases save the names the user supplied, while $host etc.
1523 # will get canonicalized.
1524 test -n "$target_alias" &&
1525 test "$program_prefix$program_suffix$program_transform_name" = \
1527 program_prefix=${target_alias}-
1529 # Check whether --enable-java-maintainer-mode or --disable-java-maintainer-mode was given.
1530 if test "${enable_java_maintainer_mode+set}" = set; then
1531 enableval="$enable_java_maintainer_mode"
1536 if test "$enable_java_maintainer_mode" = yes; then
1537 JAVA_MAINTAINER_MODE_TRUE=
1538 JAVA_MAINTAINER_MODE_FALSE='#'
1540 JAVA_MAINTAINER_MODE_TRUE
='#'
1541 JAVA_MAINTAINER_MODE_FALSE
=
1545 if expr ${target_cpu} : '.*86' > /dev
/null
; then target_cpu
=x86
; fi
1558 CLASSPATH_MODULE
="${cp_module} -version-info ${LIBVERSION} -no-undefined"
1561 CLASSPATH_CONVENIENCE
="-no-undefined"
1565 am__api_version
="1.9"
1566 # Find a good install program. We prefer a C program (faster),
1567 # so one script is as good as another. But avoid the broken or
1568 # incompatible versions:
1569 # SysV /etc/install, /usr/sbin/install
1570 # SunOS /usr/etc/install
1571 # IRIX /sbin/install
1573 # AmigaOS /C/install, which installs bootblocks on floppy discs
1574 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
1575 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
1576 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
1577 # OS/2's system install, which has a completely different semantic
1578 # ./install, which can be erroneously created by make from ./install.sh.
1579 echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
1580 echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6
1581 if test -z "$INSTALL"; then
1582 if test "${ac_cv_path_install+set}" = set; then
1583 echo $ECHO_N "(cached) $ECHO_C" >&6
1585 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
1589 test -z "$as_dir" && as_dir
=.
1590 # Account for people who put trailing slashes in PATH elements.
1592 .
/ | .
// |
/cC
/* | \
1593 /etc
/* |
/usr
/sbin
/* |
/usr
/etc
/* |
/sbin
/* |
/usr
/afsws
/bin
/* | \
1594 ?
:\\/os2
\\/install\\/* | ?
:\\/OS2
\\/INSTALL
\\/* | \
1597 # OSF1 and SCO ODT 3.0 have their own names for install.
1598 # Don't use installbsd from OSF since it installs stuff as root
1600 for ac_prog
in ginstall scoinst
install; do
1601 for ac_exec_ext
in '' $ac_executable_extensions; do
1602 if $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
1603 if test $ac_prog = install &&
1604 grep dspmsg
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
1605 # AIX install. It has an incompatible calling convention.
1607 elif test $ac_prog = install &&
1608 grep pwplus
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
1609 # program-specific install script used by HP pwplus--don't use.
1612 ac_cv_path_install
="$as_dir/$ac_prog$ac_exec_ext -c"
1624 if test "${ac_cv_path_install+set}" = set; then
1625 INSTALL
=$ac_cv_path_install
1627 # As a last resort, use the slow shell script. We don't cache a
1628 # path for INSTALL within a source directory, because that will
1629 # break other packages using the cache if that directory is
1630 # removed, or if the path is relative.
1631 INSTALL
=$ac_install_sh
1634 echo "$as_me:$LINENO: result: $INSTALL" >&5
1635 echo "${ECHO_T}$INSTALL" >&6
1637 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
1638 # It thinks the first close brace ends the variable substitution.
1639 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM
='${INSTALL}'
1641 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT
='${INSTALL}'
1643 test -z "$INSTALL_DATA" && INSTALL_DATA
='${INSTALL} -m 644'
1645 echo "$as_me:$LINENO: checking whether build environment is sane" >&5
1646 echo $ECHO_N "checking whether build environment is sane... $ECHO_C" >&6
1649 echo timestamp
> conftest.
file
1650 # Do `set' in a subshell so we don't clobber the current shell's
1651 # arguments. Must try -L first in case configure is actually a
1652 # symlink; some systems play weird games with the mod time of symlinks
1653 # (eg FreeBSD returns the mod time of the symlink's containing
1656 set X
`ls -Lt $srcdir/configure conftest.file 2> /dev/null`
1657 if test "$*" = "X"; then
1659 set X
`ls -t $srcdir/configure conftest.file`
1662 if test "$*" != "X $srcdir/configure conftest.file" \
1663 && test "$*" != "X conftest.file $srcdir/configure"; then
1665 # If neither matched, then we have a broken ls. This can happen
1666 # if, for instance, CONFIG_SHELL is bash and it inherits a
1667 # broken ls alias from the environment. This has actually
1668 # happened. Such a system could not be considered "sane".
1669 { { echo "$as_me:$LINENO: error: ls -t appears to fail. Make sure there is not a broken
1670 alias in your environment" >&5
1671 echo "$as_me: error: ls -t appears to fail. Make sure there is not a broken
1672 alias in your environment" >&2;}
1673 { (exit 1); exit 1; }; }
1676 test "$2" = conftest.
file
1682 { { echo "$as_me:$LINENO: error: newly created file is older than distributed files!
1683 Check your system clock" >&5
1684 echo "$as_me: error: newly created file is older than distributed files!
1685 Check your system clock" >&2;}
1686 { (exit 1); exit 1; }; }
1688 echo "$as_me:$LINENO: result: yes" >&5
1689 echo "${ECHO_T}yes" >&6
1690 test "$program_prefix" != NONE
&&
1691 program_transform_name
="s,^,$program_prefix,;$program_transform_name"
1692 # Use a double $ so make ignores it.
1693 test "$program_suffix" != NONE
&&
1694 program_transform_name
="s,\$,$program_suffix,;$program_transform_name"
1695 # Double any \ or $. echo might interpret backslashes.
1696 # By default was `s,x,x', remove it if useless.
1697 cat <<\_ACEOF
>conftest.
sed
1698 s
/[\\$
]/&&/g
;s
/;s
,x
,x
,$
//
1700 program_transform_name
=`echo $program_transform_name | sed -f conftest.sed`
1703 # expand $ac_aux_dir to an absolute path
1704 am_aux_dir
=`cd $ac_aux_dir && pwd`
1706 test x
"${MISSING+set}" = xset || MISSING
="\${SHELL} $am_aux_dir/missing"
1707 # Use eval to expand $SHELL
1708 if eval "$MISSING --run true"; then
1709 am_missing_run
="$MISSING --run "
1712 { echo "$as_me:$LINENO: WARNING: \`missing' script is too old or missing" >&5
1713 echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;}
1716 if mkdir
-p --version .
>/dev
/null
2>&1 && test ! -d .
/--version; then
1717 # We used to keeping the `.' as first argument, in order to
1718 # allow $(mkdir_p) to be used without argument. As in
1719 # $(mkdir_p) $(somedir)
1720 # where $(somedir) is conditionally defined. However this is wrong
1722 # 1. if the package is installed by a user who cannot write `.'
1723 # make install will fail,
1724 # 2. the above comment should most certainly read
1725 # $(mkdir_p) $(DESTDIR)$(somedir)
1726 # so it does not work when $(somedir) is undefined and
1727 # $(DESTDIR) is not.
1728 # To support the latter case, we have to write
1729 # test -z "$(somedir)" || $(mkdir_p) $(DESTDIR)$(somedir),
1730 # so the `.' trick is pointless.
1731 mkdir_p
='mkdir -p --'
1733 # On NextStep and OpenStep, the `mkdir' command does not
1734 # recognize any option. It will interpret all options as
1735 # directories to create, and then abort because `.' already
1737 for d
in .
/-p .
/--version;
1739 test -d $d && rmdir $d
1741 # $(mkinstalldirs) is defined by Automake if mkinstalldirs exists.
1742 if test -f "$ac_aux_dir/mkinstalldirs"; then
1743 mkdir_p
='$(mkinstalldirs)'
1745 mkdir_p
='$(install_sh) -d'
1749 for ac_prog
in gawk mawk nawk
awk
1751 # Extract the first word of "$ac_prog", so it can be a program name with args.
1752 set dummy
$ac_prog; ac_word
=$2
1753 echo "$as_me:$LINENO: checking for $ac_word" >&5
1754 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1755 if test "${ac_cv_prog_AWK+set}" = set; then
1756 echo $ECHO_N "(cached) $ECHO_C" >&6
1758 if test -n "$AWK"; then
1759 ac_cv_prog_AWK
="$AWK" # Let the user override the test.
1761 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
1765 test -z "$as_dir" && as_dir
=.
1766 for ac_exec_ext
in '' $ac_executable_extensions; do
1767 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1768 ac_cv_prog_AWK
="$ac_prog"
1769 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1778 if test -n "$AWK"; then
1779 echo "$as_me:$LINENO: result: $AWK" >&5
1780 echo "${ECHO_T}$AWK" >&6
1782 echo "$as_me:$LINENO: result: no" >&5
1783 echo "${ECHO_T}no" >&6
1786 test -n "$AWK" && break
1789 echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
1790 echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6
1791 set dummy
${MAKE-make}; ac_make
=`echo "$2" | sed 'y,:./+-,___p_,'`
1792 if eval "test \"\${ac_cv_prog_make_${ac_make}_set+set}\" = set"; then
1793 echo $ECHO_N "(cached) $ECHO_C" >&6
1795 cat >conftest.
make <<\_ACEOF
1797 @
echo 'ac_maketemp="$(MAKE)"'
1799 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
1800 eval `${MAKE-make} -f conftest.make 2>/dev/null | grep temp=`
1801 if test -n "$ac_maketemp"; then
1802 eval ac_cv_prog_make_
${ac_make}_set
=yes
1804 eval ac_cv_prog_make_
${ac_make}_set
=no
1808 if eval "test \"`echo '$ac_cv_prog_make_'${ac_make}_set`\" = yes"; then
1809 echo "$as_me:$LINENO: result: yes" >&5
1810 echo "${ECHO_T}yes" >&6
1813 echo "$as_me:$LINENO: result: no" >&5
1814 echo "${ECHO_T}no" >&6
1815 SET_MAKE
="MAKE=${MAKE-make}"
1818 rm -rf .tst
2>/dev
/null
1819 mkdir .tst
2>/dev
/null
1820 if test -d .tst
; then
1825 rmdir .tst
2>/dev
/null
1827 # test to see if srcdir already configured
1828 if test "`cd $srcdir && pwd`" != "`pwd`" &&
1829 test -f $srcdir/config.status
; then
1830 { { echo "$as_me:$LINENO: error: source directory already configured; run \"make distclean\" there first" >&5
1831 echo "$as_me: error: source directory already configured; run \"make distclean\" there first" >&2;}
1832 { (exit 1); exit 1; }; }
1835 # test whether we have cygpath
1836 if test -z "$CYGPATH_W"; then
1837 if (cygpath
--version) >/dev
/null
2>/dev
/null
; then
1838 CYGPATH_W
='cygpath -w'
1845 # Define the identity of the package.
1850 cat >>confdefs.h
<<_ACEOF
1851 #define PACKAGE "$PACKAGE"
1855 cat >>confdefs.h
<<_ACEOF
1856 #define VERSION "$VERSION"
1859 # Some tools Automake needs.
1861 ACLOCAL
=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
1864 AUTOCONF
=${AUTOCONF-"${am_missing_run}autoconf"}
1867 AUTOMAKE
=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
1870 AUTOHEADER
=${AUTOHEADER-"${am_missing_run}autoheader"}
1873 MAKEINFO
=${MAKEINFO-"${am_missing_run}makeinfo"}
1875 install_sh
=${install_sh-"$am_aux_dir/install-sh"}
1877 # Installed binaries are usually stripped using `strip' when the user
1878 # run `make install-strip'. However `strip' might not be the right
1879 # tool to use in cross-compilation environments, therefore Automake
1880 # will honor the `STRIP' environment variable to overrule this program.
1881 if test "$cross_compiling" != no
; then
1882 if test -n "$ac_tool_prefix"; then
1883 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
1884 set dummy
${ac_tool_prefix}strip
; ac_word
=$2
1885 echo "$as_me:$LINENO: checking for $ac_word" >&5
1886 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1887 if test "${ac_cv_prog_STRIP+set}" = set; then
1888 echo $ECHO_N "(cached) $ECHO_C" >&6
1890 if test -n "$STRIP"; then
1891 ac_cv_prog_STRIP
="$STRIP" # Let the user override the test.
1893 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
1897 test -z "$as_dir" && as_dir
=.
1898 for ac_exec_ext
in '' $ac_executable_extensions; do
1899 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1900 ac_cv_prog_STRIP
="${ac_tool_prefix}strip"
1901 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1909 STRIP
=$ac_cv_prog_STRIP
1910 if test -n "$STRIP"; then
1911 echo "$as_me:$LINENO: result: $STRIP" >&5
1912 echo "${ECHO_T}$STRIP" >&6
1914 echo "$as_me:$LINENO: result: no" >&5
1915 echo "${ECHO_T}no" >&6
1919 if test -z "$ac_cv_prog_STRIP"; then
1921 # Extract the first word of "strip", so it can be a program name with args.
1922 set dummy strip
; ac_word
=$2
1923 echo "$as_me:$LINENO: checking for $ac_word" >&5
1924 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1925 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
1926 echo $ECHO_N "(cached) $ECHO_C" >&6
1928 if test -n "$ac_ct_STRIP"; then
1929 ac_cv_prog_ac_ct_STRIP
="$ac_ct_STRIP" # Let the user override the test.
1931 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
1935 test -z "$as_dir" && as_dir
=.
1936 for ac_exec_ext
in '' $ac_executable_extensions; do
1937 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1938 ac_cv_prog_ac_ct_STRIP
="strip"
1939 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1945 test -z "$ac_cv_prog_ac_ct_STRIP" && ac_cv_prog_ac_ct_STRIP
=":"
1948 ac_ct_STRIP
=$ac_cv_prog_ac_ct_STRIP
1949 if test -n "$ac_ct_STRIP"; then
1950 echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
1951 echo "${ECHO_T}$ac_ct_STRIP" >&6
1953 echo "$as_me:$LINENO: result: no" >&5
1954 echo "${ECHO_T}no" >&6
1959 STRIP
="$ac_cv_prog_STRIP"
1963 INSTALL_STRIP_PROGRAM
="\${SHELL} \$(install_sh) -c -s"
1965 # We need awk for the "check" target. The system "awk" is bad on
1967 # Always define AMTAR for backward compatibility.
1969 AMTAR
=${AMTAR-"${am_missing_run}tar"}
1972 echo "$as_me:$LINENO: checking how to create a ustar tar archive" >&5
1973 echo $ECHO_N "checking how to create a ustar tar archive... $ECHO_C" >&6
1974 # Loop over all known methods to create a tar archive until one works.
1975 _am_tools
='gnutar plaintar pax cpio none'
1976 _am_tools
=${am_cv_prog_tar_ustar-$_am_tools}
1977 # Do not fold the above two line into one, because Tru64 sh and
1978 # Solaris sh will not grok spaces in the rhs of `-'.
1979 for _am_tool
in $_am_tools
1983 for _am_tar
in tar gnutar gtar
;
1985 { echo "$as_me:$LINENO: $_am_tar --version" >&5
1986 ($_am_tar --version) >&5 2>&5
1988 echo "$as_me:$LINENO: \$? = $ac_status" >&5
1989 (exit $ac_status); } && break
1991 am__tar
="$_am_tar --format=ustar -chf - "'"$$tardir"'
1992 am__tar_
="$_am_tar --format=ustar -chf - "'"$tardir"'
1993 am__untar
="$_am_tar -xf -"
1996 # Must skip GNU tar: if it does not support --format= it doesn't create
1997 # ustar tarball either.
1998 (tar --version) >/dev
/null
2>&1 && continue
1999 am__tar
='tar chf - "$$tardir"'
2000 am__tar_
='tar chf - "$tardir"'
2001 am__untar
='tar xf -'
2004 am__tar
='pax -L -x ustar -w "$$tardir"'
2005 am__tar_
='pax -L -x ustar -w "$tardir"'
2009 am__tar
='find "$$tardir" -print | cpio -o -H ustar -L'
2010 am__tar_
='find "$tardir" -print | cpio -o -H ustar -L'
2011 am__untar
='cpio -i -H ustar -d'
2020 # If the value was cached, stop now. We just wanted to have am__tar
2021 # and am__untar set.
2022 test -n "${am_cv_prog_tar_ustar}" && break
2024 # tar/untar a dummy directory, and stop if the command works
2027 echo GrepMe
> conftest.dir
/file
2028 { echo "$as_me:$LINENO: tardir=conftest.dir && eval $am__tar_ >conftest.tar" >&5
2029 (tardir
=conftest.dir
&& eval $am__tar_ >conftest.
tar) >&5 2>&5
2031 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2032 (exit $ac_status); }
2034 if test -s conftest.
tar; then
2035 { echo "$as_me:$LINENO: $am__untar <conftest.tar" >&5
2036 ($am__untar <conftest.
tar) >&5 2>&5
2038 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2039 (exit $ac_status); }
2040 grep GrepMe conftest.dir
/file >/dev
/null
2>&1 && break
2045 if test "${am_cv_prog_tar_ustar+set}" = set; then
2046 echo $ECHO_N "(cached) $ECHO_C" >&6
2048 am_cv_prog_tar_ustar
=$_am_tool
2051 echo "$as_me:$LINENO: result: $am_cv_prog_tar_ustar" >&5
2052 echo "${ECHO_T}$am_cv_prog_tar_ustar" >&6
2058 ac_config_headers
="$ac_config_headers include/config.h"
2064 # Check whether --enable-collections or --disable-collections was given.
2065 if test "${enable_collections+set}" = set; then
2066 enableval
="$enable_collections"
2067 case x
"${enableval}" in
2068 xyes
) COMPILE_COLLECTIONS
=yes; COLLECTIONS_PREFIX
="\"gnu/java/util/collections\"" ;;
2069 xno
) COMPILE_COLLECTIONS
=no
;;
2070 x
) COMPILE_COLLECTIONS
=yes; COLLECTIONS_PREFIX
="\"gnu/java/util/collections\"" ;;
2071 *) COMPILE_COLLECTIONS
=yes; COLLECTIONS_PREFIX
="\"${enableval}\"" ;;
2074 COMPILE_COLLECTIONS
=no
2078 if test "x${COMPILE_COLLECTIONS}" = xyes
; then
2079 CREATE_COLLECTIONS_TRUE
=
2080 CREATE_COLLECTIONS_FALSE
='#'
2082 CREATE_COLLECTIONS_TRUE
='#'
2083 CREATE_COLLECTIONS_FALSE
=
2087 # Check whether --enable-jni or --disable-jni was given.
2088 if test "${enable_jni+set}" = set; then
2089 enableval
="$enable_jni"
2090 case "${enableval}" in
2091 yes) COMPILE_JNI
=yes; COMPILE_JAVA
=yes ;;
2092 no
) COMPILE_JNI
=no
;;
2093 *) COMPILE_JNI
=yes; COMPILE_JAVA
=yes ;;
2100 if test "x${COMPILE_JNI}" = xyes
; then
2101 CREATE_JNI_LIBRARIES_TRUE
=
2102 CREATE_JNI_LIBRARIES_FALSE
='#'
2104 CREATE_JNI_LIBRARIES_TRUE
='#'
2105 CREATE_JNI_LIBRARIES_FALSE
=
2109 # Check whether --enable-core-jni or --disable-core-jni was given.
2110 if test "${enable_core_jni+set}" = set; then
2111 enableval
="$enable_core_jni"
2112 case "${enableval}" in
2113 yes) COMPILE_CORE_JNI
=yes; COMPILE_JAVA
=yes ;;
2114 no
) COMPILE_CORE_JNI
=no
;;
2115 *) COMPILE_CORE_JNI
=yes; COMPILE_JAVA
=yes ;;
2118 COMPILE_CORE_JNI
=yes
2122 if test "x${COMPILE_CORE_JNI}" = xyes
; then
2123 CREATE_CORE_JNI_LIBRARIES_TRUE
=
2124 CREATE_CORE_JNI_LIBRARIES_FALSE
='#'
2126 CREATE_CORE_JNI_LIBRARIES_TRUE
='#'
2127 CREATE_CORE_JNI_LIBRARIES_FALSE
=
2131 # Check whether --enable-default-preferences-peer or --disable-default-preferences-peer was given.
2132 if test "${enable_default_preferences_peer+set}" = set; then
2133 enableval
="$enable_default_preferences_peer"
2134 case "${enableval}" in
2135 file) DEFAULT_PREFS_PEER
=gnu.java.util.prefs.FileBasedFactory
;;
2136 gconf|
yes|true
) DEFAULT_PREFS_PEER
=gnu.java.util.prefs.GConfBasedFactory
;;
2137 memory
) DEFAULT_PREFS_PEER
=gnu.java.util.prefs.MemoryBasedFactory
;;
2138 no|false
) { { echo "$as_me:$LINENO: error: bad value '${enableval}' for --enable-default-preferences-peer" >&5
2139 echo "$as_me: error: bad value '${enableval}' for --enable-default-preferences-peer" >&2;}
2140 { (exit 1); exit 1; }; } ;;
2141 *) DEFAULT_PREFS_PEER
=${enableval} ;;
2144 DEFAULT_PREFS_PEER
=gnu.java.util.prefs.GConfBasedFactory
2147 # Check whether --enable-gconf-peer or --disable-gconf-peer was given.
2148 if test "${enable_gconf_peer+set}" = set; then
2149 enableval
="$enable_gconf_peer"
2150 case "${enableval}" in
2151 yes) COMPILE_GCONF_PEER
=yes ;;
2152 no
) COMPILE_GCONF_PEER
=no
;;
2153 *) COMPILE_GCONF_PEER
=yes ;;
2156 COMPILE_GCONF_PEER
=yes
2160 if test "x${COMPILE_GCONF_PEER}" = xyes
; then
2161 CREATE_GCONF_PEER_LIBRARIES_TRUE
=
2162 CREATE_GCONF_PEER_LIBRARIES_FALSE
='#'
2164 CREATE_GCONF_PEER_LIBRARIES_TRUE
='#'
2165 CREATE_GCONF_PEER_LIBRARIES_FALSE
=
2169 # Check whether --enable-gconf-peers or --disable-gconf-peers was given.
2170 if test "${enable_gconf_peers+set}" = set; then
2171 enableval
="$enable_gconf_peers"
2172 { { echo "$as_me:$LINENO: error: No --enable-gconf-peers (or --disable-gconf-peers) option; you want --enable-gconf-peer" >&5
2173 echo "$as_me: error: No --enable-gconf-peers (or --disable-gconf-peers) option; you want --enable-gconf-peer" >&2;}
2174 { (exit 1); exit 1; }; }
2177 # Check whether --enable-Werror or --disable-Werror was given.
2178 if test "${enable_Werror+set}" = set; then
2179 enableval
="$enable_Werror"
2180 case "${enableval}" in
2181 yes) ENABLE_WERROR
=yes ;;
2182 no
) ENABLE_WERROR
=no
;;
2183 *) ENABLE_WERROR
=default
;;
2186 ENABLE_WERROR
=default
2189 # Check whether --enable-default-toolkit or --disable-default-toolkit was given.
2190 if test "${enable_default_toolkit+set}" = set; then
2191 enableval
="$enable_default_toolkit"
2194 default_toolkit
=$enable_default_toolkit
2195 if test "$default_toolkit" = ""; then
2196 default_toolkit
=gnu.java.awt.peer.gtk.GtkToolkit
2200 # Check whether --enable-xmlj or --disable-xmlj was given.
2201 if test "${enable_xmlj+set}" = set; then
2202 enableval
="$enable_xmlj"
2203 case "${enableval}" in
2204 yes) COMPILE_XMLJ
=yes ;;
2205 no
) COMPILE_XMLJ
=no
;;
2206 *) COMPILE_XMLJ
=no
;;
2213 if test "x${COMPILE_XMLJ}" = xyes
; then
2214 CREATE_XMLJ_LIBRARY_TRUE
=
2215 CREATE_XMLJ_LIBRARY_FALSE
='#'
2217 CREATE_XMLJ_LIBRARY_TRUE
='#'
2218 CREATE_XMLJ_LIBRARY_FALSE
=
2222 DEPDIR
="${am__leading_dot}deps"
2224 ac_config_commands
="$ac_config_commands depfiles"
2227 am_make
=${MAKE-make}
2228 cat > confinc
<< 'END'
2233 # If we don't find an include directive, just comment out the code.
2234 echo "$as_me:$LINENO: checking for style of include used by $am_make" >&5
2235 echo $ECHO_N "checking for style of include used by $am_make... $ECHO_C" >&6
2239 # First try GNU make style include.
2240 echo "include confinc" > confmf
2241 # We grep out `Entering directory' and `Leaving directory'
2242 # messages which can occur if `w' ends up in MAKEFLAGS.
2243 # In particular we don't look at `^make:' because GNU make might
2244 # be invoked under some other name (usually "gmake"), in which
2245 # case it prints its new name instead of `make'.
2246 if test "`$am_make -s -f confmf 2> /dev/null | grep -v 'ing directory'`" = "done"; then
2251 # Now try BSD make style include.
2252 if test "$am__include" = "#"; then
2253 echo '.include "confinc"' > confmf
2254 if test "`$am_make -s -f confmf 2> /dev/null`" = "done"; then
2255 am__include
=.include
2262 echo "$as_me:$LINENO: result: $_am_result" >&5
2263 echo "${ECHO_T}$_am_result" >&6
2264 rm -f confinc confmf
2266 # Check whether --enable-dependency-tracking or --disable-dependency-tracking was given.
2267 if test "${enable_dependency_tracking+set}" = set; then
2268 enableval
="$enable_dependency_tracking"
2271 if test "x$enable_dependency_tracking" != xno
; then
2272 am_depcomp
="$ac_aux_dir/depcomp"
2277 if test "x$enable_dependency_tracking" != xno; then
2288 ac_cpp
='$CPP $CPPFLAGS'
2289 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2290 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2291 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
2292 if test -n "$ac_tool_prefix"; then
2293 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
2294 set dummy
${ac_tool_prefix}gcc
; ac_word
=$2
2295 echo "$as_me:$LINENO: checking for $ac_word" >&5
2296 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2297 if test "${ac_cv_prog_CC+set}" = set; then
2298 echo $ECHO_N "(cached) $ECHO_C" >&6
2300 if test -n "$CC"; then
2301 ac_cv_prog_CC
="$CC" # Let the user override the test.
2303 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2307 test -z "$as_dir" && as_dir
=.
2308 for ac_exec_ext
in '' $ac_executable_extensions; do
2309 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2310 ac_cv_prog_CC
="${ac_tool_prefix}gcc"
2311 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2320 if test -n "$CC"; then
2321 echo "$as_me:$LINENO: result: $CC" >&5
2322 echo "${ECHO_T}$CC" >&6
2324 echo "$as_me:$LINENO: result: no" >&5
2325 echo "${ECHO_T}no" >&6
2329 if test -z "$ac_cv_prog_CC"; then
2331 # Extract the first word of "gcc", so it can be a program name with args.
2332 set dummy gcc
; ac_word
=$2
2333 echo "$as_me:$LINENO: checking for $ac_word" >&5
2334 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2335 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
2336 echo $ECHO_N "(cached) $ECHO_C" >&6
2338 if test -n "$ac_ct_CC"; then
2339 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
2341 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2345 test -z "$as_dir" && as_dir
=.
2346 for ac_exec_ext
in '' $ac_executable_extensions; do
2347 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2348 ac_cv_prog_ac_ct_CC
="gcc"
2349 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2357 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
2358 if test -n "$ac_ct_CC"; then
2359 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
2360 echo "${ECHO_T}$ac_ct_CC" >&6
2362 echo "$as_me:$LINENO: result: no" >&5
2363 echo "${ECHO_T}no" >&6
2371 if test -z "$CC"; then
2372 if test -n "$ac_tool_prefix"; then
2373 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
2374 set dummy
${ac_tool_prefix}cc
; ac_word
=$2
2375 echo "$as_me:$LINENO: checking for $ac_word" >&5
2376 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2377 if test "${ac_cv_prog_CC+set}" = set; then
2378 echo $ECHO_N "(cached) $ECHO_C" >&6
2380 if test -n "$CC"; then
2381 ac_cv_prog_CC
="$CC" # Let the user override the test.
2383 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2387 test -z "$as_dir" && as_dir
=.
2388 for ac_exec_ext
in '' $ac_executable_extensions; do
2389 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2390 ac_cv_prog_CC
="${ac_tool_prefix}cc"
2391 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2400 if test -n "$CC"; then
2401 echo "$as_me:$LINENO: result: $CC" >&5
2402 echo "${ECHO_T}$CC" >&6
2404 echo "$as_me:$LINENO: result: no" >&5
2405 echo "${ECHO_T}no" >&6
2409 if test -z "$ac_cv_prog_CC"; then
2411 # Extract the first word of "cc", so it can be a program name with args.
2412 set dummy cc
; ac_word
=$2
2413 echo "$as_me:$LINENO: checking for $ac_word" >&5
2414 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2415 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
2416 echo $ECHO_N "(cached) $ECHO_C" >&6
2418 if test -n "$ac_ct_CC"; then
2419 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
2421 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2425 test -z "$as_dir" && as_dir
=.
2426 for ac_exec_ext
in '' $ac_executable_extensions; do
2427 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2428 ac_cv_prog_ac_ct_CC
="cc"
2429 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2437 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
2438 if test -n "$ac_ct_CC"; then
2439 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
2440 echo "${ECHO_T}$ac_ct_CC" >&6
2442 echo "$as_me:$LINENO: result: no" >&5
2443 echo "${ECHO_T}no" >&6
2452 if test -z "$CC"; then
2453 # Extract the first word of "cc", so it can be a program name with args.
2454 set dummy cc
; ac_word
=$2
2455 echo "$as_me:$LINENO: checking for $ac_word" >&5
2456 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2457 if test "${ac_cv_prog_CC+set}" = set; then
2458 echo $ECHO_N "(cached) $ECHO_C" >&6
2460 if test -n "$CC"; then
2461 ac_cv_prog_CC
="$CC" # Let the user override the test.
2464 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2468 test -z "$as_dir" && as_dir
=.
2469 for ac_exec_ext
in '' $ac_executable_extensions; do
2470 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2471 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
2472 ac_prog_rejected
=yes
2476 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2482 if test $ac_prog_rejected = yes; then
2483 # We found a bogon in the path, so make sure we never use it.
2484 set dummy
$ac_cv_prog_CC
2486 if test $# != 0; then
2487 # We chose a different compiler from the bogus one.
2488 # However, it has the same basename, so the bogon will be chosen
2489 # first if we set CC to just the basename; use the full file name.
2491 ac_cv_prog_CC
="$as_dir/$ac_word${1+' '}$@"
2497 if test -n "$CC"; then
2498 echo "$as_me:$LINENO: result: $CC" >&5
2499 echo "${ECHO_T}$CC" >&6
2501 echo "$as_me:$LINENO: result: no" >&5
2502 echo "${ECHO_T}no" >&6
2506 if test -z "$CC"; then
2507 if test -n "$ac_tool_prefix"; then
2510 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
2511 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
2512 echo "$as_me:$LINENO: checking for $ac_word" >&5
2513 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2514 if test "${ac_cv_prog_CC+set}" = set; then
2515 echo $ECHO_N "(cached) $ECHO_C" >&6
2517 if test -n "$CC"; then
2518 ac_cv_prog_CC
="$CC" # Let the user override the test.
2520 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2524 test -z "$as_dir" && as_dir
=.
2525 for ac_exec_ext
in '' $ac_executable_extensions; do
2526 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2527 ac_cv_prog_CC
="$ac_tool_prefix$ac_prog"
2528 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2537 if test -n "$CC"; then
2538 echo "$as_me:$LINENO: result: $CC" >&5
2539 echo "${ECHO_T}$CC" >&6
2541 echo "$as_me:$LINENO: result: no" >&5
2542 echo "${ECHO_T}no" >&6
2545 test -n "$CC" && break
2548 if test -z "$CC"; then
2552 # Extract the first word of "$ac_prog", so it can be a program name with args.
2553 set dummy
$ac_prog; ac_word
=$2
2554 echo "$as_me:$LINENO: checking for $ac_word" >&5
2555 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2556 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
2557 echo $ECHO_N "(cached) $ECHO_C" >&6
2559 if test -n "$ac_ct_CC"; then
2560 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
2562 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2566 test -z "$as_dir" && as_dir
=.
2567 for ac_exec_ext
in '' $ac_executable_extensions; do
2568 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2569 ac_cv_prog_ac_ct_CC
="$ac_prog"
2570 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2578 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
2579 if test -n "$ac_ct_CC"; then
2580 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
2581 echo "${ECHO_T}$ac_ct_CC" >&6
2583 echo "$as_me:$LINENO: result: no" >&5
2584 echo "${ECHO_T}no" >&6
2587 test -n "$ac_ct_CC" && break
2596 test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
2597 See \`config.log' for more details." >&5
2598 echo "$as_me: error: no acceptable C compiler found in \$PATH
2599 See \`config.log' for more details." >&2;}
2600 { (exit 1); exit 1; }; }
2602 # Provide some information about the compiler.
2603 echo "$as_me:$LINENO:" \
2604 "checking for C compiler version" >&5
2605 ac_compiler
=`set X $ac_compile; echo $2`
2606 { (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5
2607 (eval $ac_compiler --version </dev
/null
>&5) 2>&5
2609 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2610 (exit $ac_status); }
2611 { (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5
2612 (eval $ac_compiler -v </dev
/null
>&5) 2>&5
2614 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2615 (exit $ac_status); }
2616 { (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5
2617 (eval $ac_compiler -V </dev
/null
>&5) 2>&5
2619 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2620 (exit $ac_status); }
2622 cat >conftest.
$ac_ext <<_ACEOF
2625 cat confdefs.h
>>conftest.
$ac_ext
2626 cat >>conftest.
$ac_ext <<_ACEOF
2627 /* end confdefs.h. */
2638 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
2639 (eval $ac_link) 2>&5
2641 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2642 (exit $ac_status); }; then
2648 if test x
$gcc_no_link = xyes
; then
2649 # Setting cross_compile will disable run tests; it will
2650 # also disable AC_CHECK_FILE but that's generally
2651 # correct if we can't link.
2655 cat >conftest.
$ac_ext <<_ACEOF
2658 cat confdefs.h
>>conftest.
$ac_ext
2659 cat >>conftest.
$ac_ext <<_ACEOF
2660 /* end confdefs.h. */
2670 ac_clean_files_save
=$ac_clean_files
2671 ac_clean_files
="$ac_clean_files a.out a.exe b.out"
2672 # Try to create an executable without -o first, disregard a.out.
2673 # It will help us diagnose broken compilers, and finding out an intuition
2675 echo "$as_me:$LINENO: checking for C compiler default output file name" >&5
2676 echo $ECHO_N "checking for C compiler default output file name... $ECHO_C" >&6
2677 ac_link_default
=`echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
2678 if { (eval echo "$as_me:$LINENO: \"$ac_link_default\"") >&5
2679 (eval $ac_link_default) 2>&5
2681 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2682 (exit $ac_status); }; then
2683 # Find the output, starting from the most likely. This scheme is
2684 # not robust to junk in `.', hence go to wildcards (a.*) only as a last
2687 # Be careful to initialize this variable, since it used to be cached.
2688 # Otherwise an old cache value of `no' led to `EXEEXT = no' in a Makefile.
2690 # b.out is created by i960 compilers.
2691 for ac_file
in a_out.exe a.exe conftest.exe a.out conftest a.
* conftest.
* b.out
2693 test -f "$ac_file" ||
continue
2695 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg |
*.o |
*.obj
)
2698 # This is the source file.
2701 # We found the default executable, but exeext='' is most
2705 ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
2706 # FIXME: I believe we export ac_cv_exeext for Libtool,
2707 # but it would be cool to find out if it's true. Does anybody
2708 # maintain Libtool? --akim.
2716 echo "$as_me: failed program was:" >&5
2717 sed 's/^/| /' conftest.
$ac_ext >&5
2719 { { echo "$as_me:$LINENO: error: C compiler cannot create executables
2720 See \`config.log' for more details." >&5
2721 echo "$as_me: error: C compiler cannot create executables
2722 See \`config.log' for more details." >&2;}
2723 { (exit 77); exit 77; }; }
2726 ac_exeext
=$ac_cv_exeext
2727 echo "$as_me:$LINENO: result: $ac_file" >&5
2728 echo "${ECHO_T}$ac_file" >&6
2730 # Check the compiler produces executables we can run. If not, either
2731 # the compiler is broken, or we cross compile.
2732 echo "$as_me:$LINENO: checking whether the C compiler works" >&5
2733 echo $ECHO_N "checking whether the C compiler works... $ECHO_C" >&6
2734 # FIXME: These cross compiler hacks should be removed for Autoconf 3.0
2735 # If not cross compiling, check that we can run a simple program.
2736 if test "$cross_compiling" != yes; then
2737 if { ac_try
='./$ac_file'
2738 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2741 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2742 (exit $ac_status); }; }; then
2745 if test "$cross_compiling" = maybe
; then
2748 { { echo "$as_me:$LINENO: error: cannot run C compiled programs.
2749 If you meant to cross compile, use \`--host'.
2750 See \`config.log' for more details." >&5
2751 echo "$as_me: error: cannot run C compiled programs.
2752 If you meant to cross compile, use \`--host'.
2753 See \`config.log' for more details." >&2;}
2754 { (exit 1); exit 1; }; }
2758 echo "$as_me:$LINENO: result: yes" >&5
2759 echo "${ECHO_T}yes" >&6
2761 rm -f a.out a.exe conftest
$ac_cv_exeext b.out
2762 ac_clean_files
=$ac_clean_files_save
2763 # Check the compiler produces executables we can run. If not, either
2764 # the compiler is broken, or we cross compile.
2765 echo "$as_me:$LINENO: checking whether we are cross compiling" >&5
2766 echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6
2767 echo "$as_me:$LINENO: result: $cross_compiling" >&5
2768 echo "${ECHO_T}$cross_compiling" >&6
2770 echo "$as_me:$LINENO: checking for suffix of executables" >&5
2771 echo $ECHO_N "checking for suffix of executables... $ECHO_C" >&6
2772 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
2773 (eval $ac_link) 2>&5
2775 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2776 (exit $ac_status); }; then
2777 # If both `conftest.exe' and `conftest' are `present' (well, observable)
2778 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
2779 # work properly (i.e., refer to `conftest.exe'), while it won't with
2781 for ac_file
in conftest.exe conftest conftest.
*; do
2782 test -f "$ac_file" ||
continue
2784 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg |
*.o |
*.obj
) ;;
2785 *.
* ) ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
2792 { { echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link
2793 See \`config.log' for more details." >&5
2794 echo "$as_me: error: cannot compute suffix of executables: cannot compile and link
2795 See \`config.log' for more details." >&2;}
2796 { (exit 1); exit 1; }; }
2799 rm -f conftest
$ac_cv_exeext
2800 echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
2801 echo "${ECHO_T}$ac_cv_exeext" >&6
2803 rm -f conftest.
$ac_ext
2804 EXEEXT
=$ac_cv_exeext
2807 echo "$as_me:$LINENO: checking for suffix of object files" >&5
2808 echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6
2809 if test "${ac_cv_objext+set}" = set; then
2810 echo $ECHO_N "(cached) $ECHO_C" >&6
2812 cat >conftest.
$ac_ext <<_ACEOF
2815 cat confdefs.h
>>conftest.
$ac_ext
2816 cat >>conftest.
$ac_ext <<_ACEOF
2817 /* end confdefs.h. */
2827 rm -f conftest.o conftest.obj
2828 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2829 (eval $ac_compile) 2>&5
2831 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2832 (exit $ac_status); }; then
2833 for ac_file
in `(ls conftest.o conftest.obj; ls conftest.*) 2>/dev/null`; do
2835 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg
) ;;
2836 *) ac_cv_objext
=`expr "$ac_file" : '.*\.\(.*\)'`
2841 echo "$as_me: failed program was:" >&5
2842 sed 's/^/| /' conftest.
$ac_ext >&5
2844 { { echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile
2845 See \`config.log' for more details." >&5
2846 echo "$as_me: error: cannot compute suffix of object files: cannot compile
2847 See \`config.log' for more details." >&2;}
2848 { (exit 1); exit 1; }; }
2851 rm -f conftest.
$ac_cv_objext conftest.
$ac_ext
2853 echo "$as_me:$LINENO: result: $ac_cv_objext" >&5
2854 echo "${ECHO_T}$ac_cv_objext" >&6
2855 OBJEXT
=$ac_cv_objext
2857 echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
2858 echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6
2859 if test "${ac_cv_c_compiler_gnu+set}" = set; then
2860 echo $ECHO_N "(cached) $ECHO_C" >&6
2862 cat >conftest.
$ac_ext <<_ACEOF
2865 cat confdefs.h
>>conftest.
$ac_ext
2866 cat >>conftest.
$ac_ext <<_ACEOF
2867 /* end confdefs.h. */
2880 rm -f conftest.
$ac_objext
2881 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2882 (eval $ac_compile) 2>conftest.er1
2884 grep -v '^ *+' conftest.er1
>conftest.err
2886 cat conftest.err
>&5
2887 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2888 (exit $ac_status); } &&
2889 { ac_try
='test -z "$ac_c_werror_flag"
2890 || test ! -s conftest.err'
2891 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2894 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2895 (exit $ac_status); }; } &&
2896 { ac_try
='test -s conftest.$ac_objext'
2897 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2900 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2901 (exit $ac_status); }; }; then
2904 echo "$as_me: failed program was:" >&5
2905 sed 's/^/| /' conftest.
$ac_ext >&5
2909 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
2910 ac_cv_c_compiler_gnu
=$ac_compiler_gnu
2913 echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
2914 echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6
2915 GCC
=`test $ac_compiler_gnu = yes && echo yes`
2916 ac_test_CFLAGS
=${CFLAGS+set}
2917 ac_save_CFLAGS
=$CFLAGS
2919 echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
2920 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6
2921 if test "${ac_cv_prog_cc_g+set}" = set; then
2922 echo $ECHO_N "(cached) $ECHO_C" >&6
2924 cat >conftest.
$ac_ext <<_ACEOF
2927 cat confdefs.h
>>conftest.
$ac_ext
2928 cat >>conftest.
$ac_ext <<_ACEOF
2929 /* end confdefs.h. */
2939 rm -f conftest.
$ac_objext
2940 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2941 (eval $ac_compile) 2>conftest.er1
2943 grep -v '^ *+' conftest.er1
>conftest.err
2945 cat conftest.err
>&5
2946 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2947 (exit $ac_status); } &&
2948 { ac_try
='test -z "$ac_c_werror_flag"
2949 || test ! -s conftest.err'
2950 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2953 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2954 (exit $ac_status); }; } &&
2955 { ac_try
='test -s conftest.$ac_objext'
2956 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2959 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2960 (exit $ac_status); }; }; then
2963 echo "$as_me: failed program was:" >&5
2964 sed 's/^/| /' conftest.
$ac_ext >&5
2968 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
2970 echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
2971 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6
2972 if test "$ac_test_CFLAGS" = set; then
2973 CFLAGS
=$ac_save_CFLAGS
2974 elif test $ac_cv_prog_cc_g = yes; then
2975 if test "$GCC" = yes; then
2981 if test "$GCC" = yes; then
2987 echo "$as_me:$LINENO: checking for $CC option to accept ANSI C" >&5
2988 echo $ECHO_N "checking for $CC option to accept ANSI C... $ECHO_C" >&6
2989 if test "${ac_cv_prog_cc_stdc+set}" = set; then
2990 echo $ECHO_N "(cached) $ECHO_C" >&6
2992 ac_cv_prog_cc_stdc
=no
2994 cat >conftest.
$ac_ext <<_ACEOF
2997 cat confdefs.h
>>conftest.
$ac_ext
2998 cat >>conftest.
$ac_ext <<_ACEOF
2999 /* end confdefs.h. */
3002 #include <sys/types.h>
3003 #include <sys/stat.h>
3004 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
3005 struct buf { int x; };
3006 FILE * (*rcsopen) (struct buf *, struct stat *, int);
3007 static char *e (p, i)
3013 static char *f (char * (*g) (char **, int), char **p, ...)
3018 s = g (p, va_arg (v,int));
3023 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
3024 function prototypes and stuff, but not '\xHH' hex character constants.
3025 These don't provoke an error unfortunately, instead are silently treated
3026 as 'x'. The following induces an error, until -std1 is added to get
3027 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
3028 array size at least. It's necessary to write '\x00'==0 to get something
3029 that's true only with -std1. */
3030 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
3032 int test (int i, double x);
3033 struct s1 {int (*f) (int a);};
3034 struct s2 {int (*f) (double a);};
3035 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
3041 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
3046 # Don't try gcc -ansi; that turns off useful extensions and
3047 # breaks some systems' header files.
3048 # AIX -qlanglvl=ansi
3049 # Ultrix and OSF/1 -std1
3050 # HP-UX 10.20 and later -Ae
3051 # HP-UX older versions -Aa -D_HPUX_SOURCE
3052 # SVR4 -Xc -D__EXTENSIONS__
3053 for ac_arg
in "" -qlanglvl=ansi
-std1 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
3055 CC
="$ac_save_CC $ac_arg"
3056 rm -f conftest.
$ac_objext
3057 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3058 (eval $ac_compile) 2>conftest.er1
3060 grep -v '^ *+' conftest.er1
>conftest.err
3062 cat conftest.err
>&5
3063 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3064 (exit $ac_status); } &&
3065 { ac_try
='test -z "$ac_c_werror_flag"
3066 || test ! -s conftest.err'
3067 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3070 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3071 (exit $ac_status); }; } &&
3072 { ac_try
='test -s conftest.$ac_objext'
3073 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3076 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3077 (exit $ac_status); }; }; then
3078 ac_cv_prog_cc_stdc
=$ac_arg
3081 echo "$as_me: failed program was:" >&5
3082 sed 's/^/| /' conftest.
$ac_ext >&5
3085 rm -f conftest.err conftest.
$ac_objext
3087 rm -f conftest.
$ac_ext conftest.
$ac_objext
3092 case "x$ac_cv_prog_cc_stdc" in
3094 echo "$as_me:$LINENO: result: none needed" >&5
3095 echo "${ECHO_T}none needed" >&6 ;;
3097 echo "$as_me:$LINENO: result: $ac_cv_prog_cc_stdc" >&5
3098 echo "${ECHO_T}$ac_cv_prog_cc_stdc" >&6
3099 CC
="$CC $ac_cv_prog_cc_stdc" ;;
3102 # Some people use a C++ compiler to compile C. Since we use `exit',
3103 # in C++ we need to declare it. In case someone uses the same compiler
3104 # for both compiling C and C++ we need to have the C++ compiler decide
3105 # the declaration of exit, since it's the most demanding environment.
3106 cat >conftest.
$ac_ext <<_ACEOF
3111 rm -f conftest.
$ac_objext
3112 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3113 (eval $ac_compile) 2>conftest.er1
3115 grep -v '^ *+' conftest.er1
>conftest.err
3117 cat conftest.err
>&5
3118 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3119 (exit $ac_status); } &&
3120 { ac_try
='test -z "$ac_c_werror_flag"
3121 || test ! -s conftest.err'
3122 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3125 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3126 (exit $ac_status); }; } &&
3127 { ac_try
='test -s conftest.$ac_objext'
3128 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3131 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3132 (exit $ac_status); }; }; then
3133 for ac_declaration
in \
3135 'extern "C" void std::exit (int) throw (); using std::exit;' \
3136 'extern "C" void std::exit (int); using std::exit;' \
3137 'extern "C" void exit (int) throw ();' \
3138 'extern "C" void exit (int);' \
3141 cat >conftest.
$ac_ext <<_ACEOF
3144 cat confdefs.h
>>conftest.
$ac_ext
3145 cat >>conftest.
$ac_ext <<_ACEOF
3146 /* end confdefs.h. */
3157 rm -f conftest.
$ac_objext
3158 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3159 (eval $ac_compile) 2>conftest.er1
3161 grep -v '^ *+' conftest.er1
>conftest.err
3163 cat conftest.err
>&5
3164 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3165 (exit $ac_status); } &&
3166 { ac_try
='test -z "$ac_c_werror_flag"
3167 || test ! -s conftest.err'
3168 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3171 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3172 (exit $ac_status); }; } &&
3173 { ac_try
='test -s conftest.$ac_objext'
3174 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3177 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3178 (exit $ac_status); }; }; then
3181 echo "$as_me: failed program was:" >&5
3182 sed 's/^/| /' conftest.
$ac_ext >&5
3186 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
3187 cat >conftest.
$ac_ext <<_ACEOF
3190 cat confdefs.h
>>conftest.
$ac_ext
3191 cat >>conftest.
$ac_ext <<_ACEOF
3192 /* end confdefs.h. */
3202 rm -f conftest.
$ac_objext
3203 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3204 (eval $ac_compile) 2>conftest.er1
3206 grep -v '^ *+' conftest.er1
>conftest.err
3208 cat conftest.err
>&5
3209 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3210 (exit $ac_status); } &&
3211 { ac_try
='test -z "$ac_c_werror_flag"
3212 || test ! -s conftest.err'
3213 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3216 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3217 (exit $ac_status); }; } &&
3218 { ac_try
='test -s conftest.$ac_objext'
3219 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3222 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3223 (exit $ac_status); }; }; then
3226 echo "$as_me: failed program was:" >&5
3227 sed 's/^/| /' conftest.
$ac_ext >&5
3230 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
3233 if test -n "$ac_declaration"; then
3234 echo '#ifdef __cplusplus' >>confdefs.h
3235 echo $ac_declaration >>confdefs.h
3236 echo '#endif' >>confdefs.h
3240 echo "$as_me: failed program was:" >&5
3241 sed 's/^/| /' conftest.
$ac_ext >&5
3244 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
3246 ac_cpp
='$CPP $CPPFLAGS'
3247 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3248 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3249 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
3251 depcc
="$CC" am_compiler_list
=
3253 echo "$as_me:$LINENO: checking dependency style of $depcc" >&5
3254 echo $ECHO_N "checking dependency style of $depcc... $ECHO_C" >&6
3255 if test "${am_cv_CC_dependencies_compiler_type+set}" = set; then
3256 echo $ECHO_N "(cached) $ECHO_C" >&6
3258 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
3259 # We make a subdir and do the tests there. Otherwise we can end up
3260 # making bogus files that we don't know about and never remove. For
3261 # instance it was reported that on HP-UX the gcc test will end up
3262 # making a dummy file named `D' -- because `-MD' means `put the output
3265 # Copy depcomp to subdir because otherwise we won't find it if we're
3266 # using a relative directory.
3267 cp "$am_depcomp" conftest.dir
3269 # We will build objects and dependencies in a subdirectory because
3270 # it helps to detect inapplicable dependency modes. For instance
3271 # both Tru64's cc and ICC support -MD to output dependencies as a
3272 # side effect of compilation, but ICC will put the dependencies in
3273 # the current directory while Tru64 will put them in the object
3277 am_cv_CC_dependencies_compiler_type
=none
3278 if test "$am_compiler_list" = ""; then
3279 am_compiler_list
=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
3281 for depmode
in $am_compiler_list; do
3282 # Setup a source with many dependencies, because some compilers
3283 # like to wrap large dependency lists on column 80 (with \), and
3284 # we should not choose a depcomp mode which is confused by this.
3286 # We need to recreate these files for each test, as the compiler may
3287 # overwrite some of them when testing with obscure command lines.
3288 # This happens at least with the AIX C compiler.
3290 for i
in 1 2 3 4 5 6; do
3291 echo '#include "conftst'$i'.h"' >> sub
/conftest.c
3292 # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
3293 # Solaris 8's {/usr,}/bin/sh.
3294 touch sub
/conftst
$i.h
3296 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
3300 # after this tag, mechanisms are not by side-effect, so they'll
3301 # only be used when explicitly requested
3302 if test "x$enable_dependency_tracking" = xyes
; then
3310 # We check with `-c' and `-o' for the sake of the "dashmstdout"
3311 # mode. It turns out that the SunPro C++ compiler does not properly
3312 # handle `-M -o', and we need to detect this.
3313 if depmode
=$depmode \
3314 source=sub
/conftest.c object
=sub
/conftest.
${OBJEXT-o} \
3315 depfile
=sub
/conftest.Po tmpdepfile
=sub
/conftest.TPo \
3316 $SHELL .
/depcomp
$depcc -c -o sub
/conftest.
${OBJEXT-o} sub
/conftest.c \
3317 >/dev
/null
2>conftest.err
&&
3318 grep sub
/conftst6.h sub
/conftest.Po
> /dev
/null
2>&1 &&
3319 grep sub
/conftest.
${OBJEXT-o} sub
/conftest.Po
> /dev
/null
2>&1 &&
3320 ${MAKE-make} -s -f confmf
> /dev
/null
2>&1; then
3321 # icc doesn't choke on unknown options, it will just issue warnings
3322 # or remarks (even with -Werror). So we grep stderr for any message
3323 # that says an option was ignored or not supported.
3324 # When given -MP, icc 7.0 and 7.1 complain thusly:
3325 # icc: Command line warning: ignoring option '-M'; no argument required
3326 # The diagnosis changed in icc 8.0:
3327 # icc: Command line remark: option '-MP' not supported
3328 if (grep 'ignoring option' conftest.err ||
3329 grep 'not supported' conftest.err
) >/dev
/null
2>&1; then :; else
3330 am_cv_CC_dependencies_compiler_type
=$depmode
3339 am_cv_CC_dependencies_compiler_type
=none
3343 echo "$as_me:$LINENO: result: $am_cv_CC_dependencies_compiler_type" >&5
3344 echo "${ECHO_T}$am_cv_CC_dependencies_compiler_type" >&6
3345 CCDEPMODE
=depmode
=$am_cv_CC_dependencies_compiler_type
3350 test "x$enable_dependency_tracking" != xno \
3351 && test "$am_cv_CC_dependencies_compiler_type" = gcc3
; then
3353 am__fastdepCC_FALSE
='#'
3355 am__fastdepCC_TRUE
='#'
3356 am__fastdepCC_FALSE
=
3362 ac_cpp
='$CPP $CPPFLAGS'
3363 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3364 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3365 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
3366 echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5
3367 echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6
3368 # On Suns, sometimes $CPP names a directory.
3369 if test -n "$CPP" && test -d "$CPP"; then
3372 if test -z "$CPP"; then
3373 if test "${ac_cv_prog_CPP+set}" = set; then
3374 echo $ECHO_N "(cached) $ECHO_C" >&6
3376 # Double quotes because CPP needs to be expanded
3377 for CPP
in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
3380 for ac_c_preproc_warn_flag
in '' yes
3382 # Use a header file that comes with gcc, so configuring glibc
3383 # with a fresh cross-compiler works.
3384 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
3385 # <limits.h> exists even on freestanding compilers.
3386 # On the NeXT, cc -E runs the code through the compiler's parser,
3387 # not just through cpp. "Syntax error" is here to catch this case.
3388 cat >conftest.
$ac_ext <<_ACEOF
3391 cat confdefs.h
>>conftest.
$ac_ext
3392 cat >>conftest.
$ac_ext <<_ACEOF
3393 /* end confdefs.h. */
3395 # include <limits.h>
3397 # include <assert.h>
3401 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
3402 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
3404 grep -v '^ *+' conftest.er1
>conftest.err
3406 cat conftest.err
>&5
3407 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3408 (exit $ac_status); } >/dev
/null
; then
3409 if test -s conftest.err
; then
3410 ac_cpp_err
=$ac_c_preproc_warn_flag
3411 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
3418 if test -z "$ac_cpp_err"; then
3421 echo "$as_me: failed program was:" >&5
3422 sed 's/^/| /' conftest.
$ac_ext >&5
3424 # Broken: fails on valid input.
3427 rm -f conftest.err conftest.
$ac_ext
3429 # OK, works on sane cases. Now check whether non-existent headers
3430 # can be detected and how.
3431 cat >conftest.
$ac_ext <<_ACEOF
3434 cat confdefs.h
>>conftest.
$ac_ext
3435 cat >>conftest.
$ac_ext <<_ACEOF
3436 /* end confdefs.h. */
3437 #include <ac_nonexistent.h>
3439 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
3440 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
3442 grep -v '^ *+' conftest.er1
>conftest.err
3444 cat conftest.err
>&5
3445 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3446 (exit $ac_status); } >/dev
/null
; then
3447 if test -s conftest.err
; then
3448 ac_cpp_err
=$ac_c_preproc_warn_flag
3449 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
3456 if test -z "$ac_cpp_err"; then
3457 # Broken: success on invalid input.
3460 echo "$as_me: failed program was:" >&5
3461 sed 's/^/| /' conftest.
$ac_ext >&5
3463 # Passes both tests.
3467 rm -f conftest.err conftest.
$ac_ext
3470 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
3471 rm -f conftest.err conftest.
$ac_ext
3472 if $ac_preproc_ok; then
3484 echo "$as_me:$LINENO: result: $CPP" >&5
3485 echo "${ECHO_T}$CPP" >&6
3487 for ac_c_preproc_warn_flag
in '' yes
3489 # Use a header file that comes with gcc, so configuring glibc
3490 # with a fresh cross-compiler works.
3491 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
3492 # <limits.h> exists even on freestanding compilers.
3493 # On the NeXT, cc -E runs the code through the compiler's parser,
3494 # not just through cpp. "Syntax error" is here to catch this case.
3495 cat >conftest.
$ac_ext <<_ACEOF
3498 cat confdefs.h
>>conftest.
$ac_ext
3499 cat >>conftest.
$ac_ext <<_ACEOF
3500 /* end confdefs.h. */
3502 # include <limits.h>
3504 # include <assert.h>
3508 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
3509 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
3511 grep -v '^ *+' conftest.er1
>conftest.err
3513 cat conftest.err
>&5
3514 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3515 (exit $ac_status); } >/dev
/null
; then
3516 if test -s conftest.err
; then
3517 ac_cpp_err
=$ac_c_preproc_warn_flag
3518 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
3525 if test -z "$ac_cpp_err"; then
3528 echo "$as_me: failed program was:" >&5
3529 sed 's/^/| /' conftest.
$ac_ext >&5
3531 # Broken: fails on valid input.
3534 rm -f conftest.err conftest.
$ac_ext
3536 # OK, works on sane cases. Now check whether non-existent headers
3537 # can be detected and how.
3538 cat >conftest.
$ac_ext <<_ACEOF
3541 cat confdefs.h
>>conftest.
$ac_ext
3542 cat >>conftest.
$ac_ext <<_ACEOF
3543 /* end confdefs.h. */
3544 #include <ac_nonexistent.h>
3546 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
3547 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
3549 grep -v '^ *+' conftest.er1
>conftest.err
3551 cat conftest.err
>&5
3552 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3553 (exit $ac_status); } >/dev
/null
; then
3554 if test -s conftest.err
; then
3555 ac_cpp_err
=$ac_c_preproc_warn_flag
3556 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
3563 if test -z "$ac_cpp_err"; then
3564 # Broken: success on invalid input.
3567 echo "$as_me: failed program was:" >&5
3568 sed 's/^/| /' conftest.
$ac_ext >&5
3570 # Passes both tests.
3574 rm -f conftest.err conftest.
$ac_ext
3577 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
3578 rm -f conftest.err conftest.
$ac_ext
3579 if $ac_preproc_ok; then
3582 { { echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check
3583 See \`config.log' for more details." >&5
3584 echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check
3585 See \`config.log' for more details." >&2;}
3586 { (exit 1); exit 1; }; }
3590 ac_cpp
='$CPP $CPPFLAGS'
3591 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3592 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3593 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
3596 echo "$as_me:$LINENO: checking for egrep" >&5
3597 echo $ECHO_N "checking for egrep... $ECHO_C" >&6
3598 if test "${ac_cv_prog_egrep+set}" = set; then
3599 echo $ECHO_N "(cached) $ECHO_C" >&6
3601 if echo a |
(grep -E '(a|b)') >/dev
/null
2>&1
3602 then ac_cv_prog_egrep
='grep -E'
3603 else ac_cv_prog_egrep
='egrep'
3606 echo "$as_me:$LINENO: result: $ac_cv_prog_egrep" >&5
3607 echo "${ECHO_T}$ac_cv_prog_egrep" >&6
3608 EGREP
=$ac_cv_prog_egrep
3611 echo "$as_me:$LINENO: checking for ANSI C header files" >&5
3612 echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6
3613 if test "${ac_cv_header_stdc+set}" = set; then
3614 echo $ECHO_N "(cached) $ECHO_C" >&6
3616 cat >conftest.
$ac_ext <<_ACEOF
3619 cat confdefs.h
>>conftest.
$ac_ext
3620 cat >>conftest.
$ac_ext <<_ACEOF
3621 /* end confdefs.h. */
3635 rm -f conftest.
$ac_objext
3636 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3637 (eval $ac_compile) 2>conftest.er1
3639 grep -v '^ *+' conftest.er1
>conftest.err
3641 cat conftest.err
>&5
3642 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3643 (exit $ac_status); } &&
3644 { ac_try
='test -z "$ac_c_werror_flag"
3645 || test ! -s conftest.err'
3646 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3649 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3650 (exit $ac_status); }; } &&
3651 { ac_try
='test -s conftest.$ac_objext'
3652 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3655 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3656 (exit $ac_status); }; }; then
3657 ac_cv_header_stdc
=yes
3659 echo "$as_me: failed program was:" >&5
3660 sed 's/^/| /' conftest.
$ac_ext >&5
3662 ac_cv_header_stdc
=no
3664 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
3666 if test $ac_cv_header_stdc = yes; then
3667 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
3668 cat >conftest.
$ac_ext <<_ACEOF
3671 cat confdefs.h
>>conftest.
$ac_ext
3672 cat >>conftest.
$ac_ext <<_ACEOF
3673 /* end confdefs.h. */
3677 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
3678 $EGREP "memchr" >/dev
/null
2>&1; then
3681 ac_cv_header_stdc
=no
3687 if test $ac_cv_header_stdc = yes; then
3688 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
3689 cat >conftest.
$ac_ext <<_ACEOF
3692 cat confdefs.h
>>conftest.
$ac_ext
3693 cat >>conftest.
$ac_ext <<_ACEOF
3694 /* end confdefs.h. */
3698 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
3699 $EGREP "free" >/dev
/null
2>&1; then
3702 ac_cv_header_stdc
=no
3708 if test $ac_cv_header_stdc = yes; then
3709 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
3710 if test "$cross_compiling" = yes; then
3713 cat >conftest.
$ac_ext <<_ACEOF
3716 cat confdefs.h
>>conftest.
$ac_ext
3717 cat >>conftest.
$ac_ext <<_ACEOF
3718 /* end confdefs.h. */
3720 #if ((' ' & 0x0FF) == 0x020)
3721 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
3722 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
3724 # define ISLOWER(c) \
3725 (('a' <= (c) && (c) <= 'i') \
3726 || ('j' <= (c) && (c) <= 'r') \
3727 || ('s' <= (c) && (c) <= 'z'))
3728 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
3731 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
3736 for (i = 0; i < 256; i++)
3737 if (XOR (islower (i), ISLOWER (i))
3738 || toupper (i) != TOUPPER (i))
3743 rm -f conftest
$ac_exeext
3744 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
3745 (eval $ac_link) 2>&5
3747 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3748 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
3749 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3752 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3753 (exit $ac_status); }; }; then
3756 echo "$as_me: program exited with status $ac_status" >&5
3757 echo "$as_me: failed program was:" >&5
3758 sed 's/^/| /' conftest.
$ac_ext >&5
3761 ac_cv_header_stdc
=no
3763 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
3767 echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
3768 echo "${ECHO_T}$ac_cv_header_stdc" >&6
3769 if test $ac_cv_header_stdc = yes; then
3771 cat >>confdefs.h
<<\_ACEOF
3772 #define STDC_HEADERS 1
3777 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
3787 for ac_header
in sys
/types.h sys
/stat.h stdlib.h string.h memory.h
strings.h \
3788 inttypes.h stdint.h unistd.h
3790 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
3791 echo "$as_me:$LINENO: checking for $ac_header" >&5
3792 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
3793 if eval "test \"\${$as_ac_Header+set}\" = set"; then
3794 echo $ECHO_N "(cached) $ECHO_C" >&6
3796 cat >conftest.
$ac_ext <<_ACEOF
3799 cat confdefs.h
>>conftest.
$ac_ext
3800 cat >>conftest.
$ac_ext <<_ACEOF
3801 /* end confdefs.h. */
3802 $ac_includes_default
3804 #include <$ac_header>
3806 rm -f conftest.
$ac_objext
3807 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3808 (eval $ac_compile) 2>conftest.er1
3810 grep -v '^ *+' conftest.er1
>conftest.err
3812 cat conftest.err
>&5
3813 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3814 (exit $ac_status); } &&
3815 { ac_try
='test -z "$ac_c_werror_flag"
3816 || test ! -s conftest.err'
3817 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3820 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3821 (exit $ac_status); }; } &&
3822 { ac_try
='test -s conftest.$ac_objext'
3823 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3826 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3827 (exit $ac_status); }; }; then
3828 eval "$as_ac_Header=yes"
3830 echo "$as_me: failed program was:" >&5
3831 sed 's/^/| /' conftest.
$ac_ext >&5
3833 eval "$as_ac_Header=no"
3835 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
3837 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
3838 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
3839 if test `eval echo '${'$as_ac_Header'}'` = yes; then
3840 cat >>confdefs.h
<<_ACEOF
3841 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
3849 # Check whether --enable-alsa or --disable-alsa was given.
3850 if test "${enable_alsa+set}" = set; then
3851 enableval
="$enable_alsa"
3852 case "${enableval}" in
3853 yes) COMPILE_ALSA
=yes ;;
3854 no
) COMPILE_ALSA
=no
;;
3855 *) COMPILE_ALSA
=yes ;;
3859 for ac_header
in alsa
/asoundlib.h
3861 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
3862 if eval "test \"\${$as_ac_Header+set}\" = set"; then
3863 echo "$as_me:$LINENO: checking for $ac_header" >&5
3864 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
3865 if eval "test \"\${$as_ac_Header+set}\" = set"; then
3866 echo $ECHO_N "(cached) $ECHO_C" >&6
3868 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
3869 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
3871 # Is the header compilable?
3872 echo "$as_me:$LINENO: checking $ac_header usability" >&5
3873 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
3874 cat >conftest.
$ac_ext <<_ACEOF
3877 cat confdefs.h
>>conftest.
$ac_ext
3878 cat >>conftest.
$ac_ext <<_ACEOF
3879 /* end confdefs.h. */
3880 $ac_includes_default
3881 #include <$ac_header>
3883 rm -f conftest.
$ac_objext
3884 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3885 (eval $ac_compile) 2>conftest.er1
3887 grep -v '^ *+' conftest.er1
>conftest.err
3889 cat conftest.err
>&5
3890 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3891 (exit $ac_status); } &&
3892 { ac_try
='test -z "$ac_c_werror_flag"
3893 || test ! -s conftest.err'
3894 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3897 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3898 (exit $ac_status); }; } &&
3899 { ac_try
='test -s conftest.$ac_objext'
3900 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3903 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3904 (exit $ac_status); }; }; then
3905 ac_header_compiler
=yes
3907 echo "$as_me: failed program was:" >&5
3908 sed 's/^/| /' conftest.
$ac_ext >&5
3910 ac_header_compiler
=no
3912 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
3913 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
3914 echo "${ECHO_T}$ac_header_compiler" >&6
3916 # Is the header present?
3917 echo "$as_me:$LINENO: checking $ac_header presence" >&5
3918 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
3919 cat >conftest.
$ac_ext <<_ACEOF
3922 cat confdefs.h
>>conftest.
$ac_ext
3923 cat >>conftest.
$ac_ext <<_ACEOF
3924 /* end confdefs.h. */
3925 #include <$ac_header>
3927 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
3928 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
3930 grep -v '^ *+' conftest.er1
>conftest.err
3932 cat conftest.err
>&5
3933 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3934 (exit $ac_status); } >/dev
/null
; then
3935 if test -s conftest.err
; then
3936 ac_cpp_err
=$ac_c_preproc_warn_flag
3937 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
3944 if test -z "$ac_cpp_err"; then
3945 ac_header_preproc
=yes
3947 echo "$as_me: failed program was:" >&5
3948 sed 's/^/| /' conftest.
$ac_ext >&5
3950 ac_header_preproc
=no
3952 rm -f conftest.err conftest.
$ac_ext
3953 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
3954 echo "${ECHO_T}$ac_header_preproc" >&6
3956 # So? What about this header?
3957 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
3959 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
3960 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
3961 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
3962 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
3963 ac_header_preproc
=yes
3966 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
3967 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
3968 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
3969 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
3970 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
3971 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
3972 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
3973 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
3974 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
3975 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
3976 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
3977 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
3980 ## -------------------------------- ##
3981 ## Report this to classpath@gnu.org ##
3982 ## -------------------------------- ##
3985 sed "s/^/$as_me: WARNING: /" >&2
3988 echo "$as_me:$LINENO: checking for $ac_header" >&5
3989 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
3990 if eval "test \"\${$as_ac_Header+set}\" = set"; then
3991 echo $ECHO_N "(cached) $ECHO_C" >&6
3993 eval "$as_ac_Header=\$ac_header_preproc"
3995 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
3996 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
3999 if test `eval echo '${'$as_ac_Header'}'` = yes; then
4000 cat >>confdefs.h
<<_ACEOF
4001 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
4003 echo "$as_me:$LINENO: checking for snd_seq_open in -lasound" >&5
4004 echo $ECHO_N "checking for snd_seq_open in -lasound... $ECHO_C" >&6
4005 if test "${ac_cv_lib_asound_snd_seq_open+set}" = set; then
4006 echo $ECHO_N "(cached) $ECHO_C" >&6
4008 ac_check_lib_save_LIBS
=$LIBS
4009 LIBS
="-lasound $LIBS"
4010 if test x
$gcc_no_link = xyes
; then
4011 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
4012 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
4013 { (exit 1); exit 1; }; }
4015 cat >conftest.
$ac_ext <<_ACEOF
4018 cat confdefs.h
>>conftest.
$ac_ext
4019 cat >>conftest.
$ac_ext <<_ACEOF
4020 /* end confdefs.h. */
4022 /* Override any gcc2 internal prototype to avoid an error. */
4026 /* We use char because int might match the return type of a gcc2
4027 builtin and then its argument prototype would still apply. */
4028 char snd_seq_open ();
4037 rm -f conftest.
$ac_objext conftest
$ac_exeext
4038 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
4039 (eval $ac_link) 2>conftest.er1
4041 grep -v '^ *+' conftest.er1
>conftest.err
4043 cat conftest.err
>&5
4044 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4045 (exit $ac_status); } &&
4046 { ac_try
='test -z "$ac_c_werror_flag"
4047 || test ! -s conftest.err'
4048 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4051 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4052 (exit $ac_status); }; } &&
4053 { ac_try
='test -s conftest$ac_exeext'
4054 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4057 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4058 (exit $ac_status); }; }; then
4059 ac_cv_lib_asound_snd_seq_open
=yes
4061 echo "$as_me: failed program was:" >&5
4062 sed 's/^/| /' conftest.
$ac_ext >&5
4064 ac_cv_lib_asound_snd_seq_open
=no
4066 rm -f conftest.err conftest.
$ac_objext \
4067 conftest
$ac_exeext conftest.
$ac_ext
4068 LIBS
=$ac_check_lib_save_LIBS
4070 echo "$as_me:$LINENO: result: $ac_cv_lib_asound_snd_seq_open" >&5
4071 echo "${ECHO_T}$ac_cv_lib_asound_snd_seq_open" >&6
4072 if test $ac_cv_lib_asound_snd_seq_open = yes; then
4087 if test "x${COMPILE_ALSA}" = xyes
; then
4088 CREATE_ALSA_LIBRARIES_TRUE
=
4089 CREATE_ALSA_LIBRARIES_FALSE
='#'
4091 CREATE_ALSA_LIBRARIES_TRUE
='#'
4092 CREATE_ALSA_LIBRARIES_FALSE
=
4096 # Check whether --enable-dssi or --disable-dssi was given.
4097 if test "${enable_dssi+set}" = set; then
4098 enableval
="$enable_dssi"
4099 case "${enableval}" in
4100 yes) COMPILE_DSSI
=yes ;;
4101 no
) COMPILE_DSSI
=no
;;
4102 *) COMPILE_DSSI
=yes ;;
4106 for ac_header
in dssi.h
4108 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
4109 if eval "test \"\${$as_ac_Header+set}\" = set"; then
4110 echo "$as_me:$LINENO: checking for $ac_header" >&5
4111 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
4112 if eval "test \"\${$as_ac_Header+set}\" = set"; then
4113 echo $ECHO_N "(cached) $ECHO_C" >&6
4115 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
4116 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
4118 # Is the header compilable?
4119 echo "$as_me:$LINENO: checking $ac_header usability" >&5
4120 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
4121 cat >conftest.
$ac_ext <<_ACEOF
4124 cat confdefs.h
>>conftest.
$ac_ext
4125 cat >>conftest.
$ac_ext <<_ACEOF
4126 /* end confdefs.h. */
4127 $ac_includes_default
4128 #include <$ac_header>
4130 rm -f conftest.
$ac_objext
4131 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4132 (eval $ac_compile) 2>conftest.er1
4134 grep -v '^ *+' conftest.er1
>conftest.err
4136 cat conftest.err
>&5
4137 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4138 (exit $ac_status); } &&
4139 { ac_try
='test -z "$ac_c_werror_flag"
4140 || test ! -s conftest.err'
4141 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4144 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4145 (exit $ac_status); }; } &&
4146 { ac_try
='test -s conftest.$ac_objext'
4147 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4150 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4151 (exit $ac_status); }; }; then
4152 ac_header_compiler
=yes
4154 echo "$as_me: failed program was:" >&5
4155 sed 's/^/| /' conftest.
$ac_ext >&5
4157 ac_header_compiler
=no
4159 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
4160 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
4161 echo "${ECHO_T}$ac_header_compiler" >&6
4163 # Is the header present?
4164 echo "$as_me:$LINENO: checking $ac_header presence" >&5
4165 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
4166 cat >conftest.
$ac_ext <<_ACEOF
4169 cat confdefs.h
>>conftest.
$ac_ext
4170 cat >>conftest.
$ac_ext <<_ACEOF
4171 /* end confdefs.h. */
4172 #include <$ac_header>
4174 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
4175 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
4177 grep -v '^ *+' conftest.er1
>conftest.err
4179 cat conftest.err
>&5
4180 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4181 (exit $ac_status); } >/dev
/null
; then
4182 if test -s conftest.err
; then
4183 ac_cpp_err
=$ac_c_preproc_warn_flag
4184 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
4191 if test -z "$ac_cpp_err"; then
4192 ac_header_preproc
=yes
4194 echo "$as_me: failed program was:" >&5
4195 sed 's/^/| /' conftest.
$ac_ext >&5
4197 ac_header_preproc
=no
4199 rm -f conftest.err conftest.
$ac_ext
4200 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
4201 echo "${ECHO_T}$ac_header_preproc" >&6
4203 # So? What about this header?
4204 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
4206 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
4207 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
4208 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
4209 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
4210 ac_header_preproc
=yes
4213 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
4214 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
4215 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
4216 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
4217 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
4218 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
4219 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
4220 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
4221 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
4222 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
4223 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
4224 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
4227 ## -------------------------------- ##
4228 ## Report this to classpath@gnu.org ##
4229 ## -------------------------------- ##
4232 sed "s/^/$as_me: WARNING: /" >&2
4235 echo "$as_me:$LINENO: checking for $ac_header" >&5
4236 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
4237 if eval "test \"\${$as_ac_Header+set}\" = set"; then
4238 echo $ECHO_N "(cached) $ECHO_C" >&6
4240 eval "$as_ac_Header=\$ac_header_preproc"
4242 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
4243 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
4246 if test `eval echo '${'$as_ac_Header'}'` = yes; then
4247 cat >>confdefs.h
<<_ACEOF
4248 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
4260 if test "x${COMPILE_DSSI}" = xyes
; then
4261 CREATE_DSSI_LIBRARIES_TRUE
=
4262 CREATE_DSSI_LIBRARIES_FALSE
='#'
4264 CREATE_DSSI_LIBRARIES_TRUE
='#'
4265 CREATE_DSSI_LIBRARIES_FALSE
=
4269 # Check whether --enable-gtk-peer or --disable-gtk-peer was given.
4270 if test "${enable_gtk_peer+set}" = set; then
4271 enableval
="$enable_gtk_peer"
4272 case "${enableval}" in
4273 yes) COMPILE_GTK_PEER
=yes ;;
4274 no
) COMPILE_GTK_PEER
=no
;;
4275 *) COMPILE_GTK_PEER
=yes ;;
4278 COMPILE_GTK_PEER
=yes
4282 if test "x${COMPILE_GTK_PEER}" = xyes
; then
4283 CREATE_GTK_PEER_LIBRARIES_TRUE
=
4284 CREATE_GTK_PEER_LIBRARIES_FALSE
='#'
4286 CREATE_GTK_PEER_LIBRARIES_TRUE
='#'
4287 CREATE_GTK_PEER_LIBRARIES_FALSE
=
4291 # Check whether --enable-gtk-peers or --disable-gtk-peers was given.
4292 if test "${enable_gtk_peers+set}" = set; then
4293 enableval
="$enable_gtk_peers"
4294 { { echo "$as_me:$LINENO: error: No --enable-gtk-peers (or --disable-gtk-peers) option; you want --enable-gtk-peer" >&5
4295 echo "$as_me: error: No --enable-gtk-peers (or --disable-gtk-peers) option; you want --enable-gtk-peer" >&2;}
4296 { (exit 1); exit 1; }; }
4299 # Check whether --enable-qt-peer or --disable-qt-peer was given.
4300 if test "${enable_qt_peer+set}" = set; then
4301 enableval
="$enable_qt_peer"
4302 case "${enableval}" in
4303 yes) COMPILE_QT_PEER
=yes ;;
4304 no
) COMPILE_QT_PEER
=no
;;
4305 *) COMPILE_QT_PEER
=yes ;;
4312 if test "x${COMPILE_QT_PEER}" = xyes
; then
4313 CREATE_QT_PEER_LIBRARIES_TRUE
=
4314 CREATE_QT_PEER_LIBRARIES_FALSE
='#'
4316 CREATE_QT_PEER_LIBRARIES_TRUE
='#'
4317 CREATE_QT_PEER_LIBRARIES_FALSE
=
4321 # Check whether --enable-plugin or --disable-plugin was given.
4322 if test "${enable_plugin+set}" = set; then
4323 enableval
="$enable_plugin"
4324 case "${enableval}" in
4325 yes) COMPILE_PLUGIN
=yes ;;
4326 no
) COMPILE_PLUGIN
=no
;;
4327 *) COMPILE_PLUGIN
=yes ;;
4334 if test "x${COMPILE_PLUGIN}" = xyes
; then
4336 CREATE_PLUGIN_FALSE
='#'
4338 CREATE_PLUGIN_TRUE
='#'
4339 CREATE_PLUGIN_FALSE
=
4344 multi_os_directory
=`$CC -print-multi-os-directory`
4345 case $multi_os_directory in
4346 .
) toolexeclibdir
=${libdir} ;; # Avoid trailing /.
4347 *) toolexeclibdir
=${libdir}/${multi_os_directory} ;;
4353 # Check whether --with-native-libdir or --without-native-libdir was given.
4354 if test "${with_native_libdir+set}" = set; then
4355 withval
="$with_native_libdir"
4357 nativeexeclibdir
=${withval}
4361 nativeexeclibdir
='${toolexeclibdir}/gcj-'`cat ${srcdir}/../../gcc/BASE-VER`
4368 # Check whether --with-glibj-dir or --without-glibj-dir was given.
4369 if test "${with_glibj_dir+set}" = set; then
4370 withval
="$with_glibj_dir"
4376 glibjdir
='${datadir}/${PACKAGE}'
4383 # Check whether --with-vm or --without-vm was given.
4384 if test "${with_vm+set}" = set; then
4387 VM_BINARY
=${withval}
4391 VM_BINARY
='${prefix}/bin/jamvm'
4398 if test "x`basename $VM_BINARY`" = xcacao
; then
4400 FOUND_CACAO_FALSE
='#'
4402 FOUND_CACAO_TRUE
='#'
4407 # Check whether --enable-regen-headers or --disable-regen-headers was given.
4408 if test "${enable_regen_headers+set}" = set; then
4409 enableval
="$enable_regen_headers"
4410 case "${enableval}" in
4411 yes) REGENERATE_JNI_HEADERS
=yes ;;
4412 no
) REGENERATE_JNI_HEADERS
=no
;;
4413 *) REGENERATE_JNI_HEADERS
=no
;;
4416 REGENERATE_JNI_HEADERS
=no
4420 if test "x${REGENERATE_JNI_HEADERS}" = xyes
; then
4421 CREATE_JNI_HEADERS_TRUE
=
4422 CREATE_JNI_HEADERS_FALSE
='#'
4424 CREATE_JNI_HEADERS_TRUE
='#'
4425 CREATE_JNI_HEADERS_FALSE
=
4429 # Check whether --enable-tool-wrappers or --disable-tool-wrappers was given.
4430 if test "${enable_tool_wrappers+set}" = set; then
4431 enableval
="$enable_tool_wrappers"
4432 case x
"${enableval}" in
4434 COMPILE_WRAPPERS
=yes;
4436 for ac_header
in ltdl.h
4438 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
4439 if eval "test \"\${$as_ac_Header+set}\" = set"; then
4440 echo "$as_me:$LINENO: checking for $ac_header" >&5
4441 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
4442 if eval "test \"\${$as_ac_Header+set}\" = set"; then
4443 echo $ECHO_N "(cached) $ECHO_C" >&6
4445 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
4446 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
4448 # Is the header compilable?
4449 echo "$as_me:$LINENO: checking $ac_header usability" >&5
4450 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
4451 cat >conftest.
$ac_ext <<_ACEOF
4454 cat confdefs.h
>>conftest.
$ac_ext
4455 cat >>conftest.
$ac_ext <<_ACEOF
4456 /* end confdefs.h. */
4457 $ac_includes_default
4458 #include <$ac_header>
4460 rm -f conftest.
$ac_objext
4461 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4462 (eval $ac_compile) 2>conftest.er1
4464 grep -v '^ *+' conftest.er1
>conftest.err
4466 cat conftest.err
>&5
4467 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4468 (exit $ac_status); } &&
4469 { ac_try
='test -z "$ac_c_werror_flag"
4470 || test ! -s conftest.err'
4471 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4474 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4475 (exit $ac_status); }; } &&
4476 { ac_try
='test -s conftest.$ac_objext'
4477 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4480 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4481 (exit $ac_status); }; }; then
4482 ac_header_compiler
=yes
4484 echo "$as_me: failed program was:" >&5
4485 sed 's/^/| /' conftest.
$ac_ext >&5
4487 ac_header_compiler
=no
4489 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
4490 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
4491 echo "${ECHO_T}$ac_header_compiler" >&6
4493 # Is the header present?
4494 echo "$as_me:$LINENO: checking $ac_header presence" >&5
4495 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
4496 cat >conftest.
$ac_ext <<_ACEOF
4499 cat confdefs.h
>>conftest.
$ac_ext
4500 cat >>conftest.
$ac_ext <<_ACEOF
4501 /* end confdefs.h. */
4502 #include <$ac_header>
4504 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
4505 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
4507 grep -v '^ *+' conftest.er1
>conftest.err
4509 cat conftest.err
>&5
4510 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4511 (exit $ac_status); } >/dev
/null
; then
4512 if test -s conftest.err
; then
4513 ac_cpp_err
=$ac_c_preproc_warn_flag
4514 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
4521 if test -z "$ac_cpp_err"; then
4522 ac_header_preproc
=yes
4524 echo "$as_me: failed program was:" >&5
4525 sed 's/^/| /' conftest.
$ac_ext >&5
4527 ac_header_preproc
=no
4529 rm -f conftest.err conftest.
$ac_ext
4530 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
4531 echo "${ECHO_T}$ac_header_preproc" >&6
4533 # So? What about this header?
4534 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
4536 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
4537 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
4538 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
4539 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
4540 ac_header_preproc
=yes
4543 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
4544 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
4545 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
4546 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
4547 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
4548 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
4549 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
4550 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
4551 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
4552 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
4553 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
4554 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
4557 ## -------------------------------- ##
4558 ## Report this to classpath@gnu.org ##
4559 ## -------------------------------- ##
4562 sed "s/^/$as_me: WARNING: /" >&2
4565 echo "$as_me:$LINENO: checking for $ac_header" >&5
4566 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
4567 if eval "test \"\${$as_ac_Header+set}\" = set"; then
4568 echo $ECHO_N "(cached) $ECHO_C" >&6
4570 eval "$as_ac_Header=\$ac_header_preproc"
4572 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
4573 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
4576 if test `eval echo '${'$as_ac_Header'}'` = yes; then
4577 cat >>confdefs.h
<<_ACEOF
4578 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
4582 { { echo "$as_me:$LINENO: error: cannot find ltdl.h" >&5
4583 echo "$as_me: error: cannot find ltdl.h" >&2;}
4584 { (exit 1); exit 1; }; }
4590 echo "$as_me:$LINENO: checking for lt_dlopen in -lltdl" >&5
4591 echo $ECHO_N "checking for lt_dlopen in -lltdl... $ECHO_C" >&6
4592 if test "${ac_cv_lib_ltdl_lt_dlopen+set}" = set; then
4593 echo $ECHO_N "(cached) $ECHO_C" >&6
4595 ac_check_lib_save_LIBS
=$LIBS
4597 if test x
$gcc_no_link = xyes
; then
4598 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
4599 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
4600 { (exit 1); exit 1; }; }
4602 cat >conftest.
$ac_ext <<_ACEOF
4605 cat confdefs.h
>>conftest.
$ac_ext
4606 cat >>conftest.
$ac_ext <<_ACEOF
4607 /* end confdefs.h. */
4609 /* Override any gcc2 internal prototype to avoid an error. */
4613 /* We use char because int might match the return type of a gcc2
4614 builtin and then its argument prototype would still apply. */
4624 rm -f conftest.
$ac_objext conftest
$ac_exeext
4625 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
4626 (eval $ac_link) 2>conftest.er1
4628 grep -v '^ *+' conftest.er1
>conftest.err
4630 cat conftest.err
>&5
4631 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4632 (exit $ac_status); } &&
4633 { ac_try
='test -z "$ac_c_werror_flag"
4634 || test ! -s conftest.err'
4635 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4638 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4639 (exit $ac_status); }; } &&
4640 { ac_try
='test -s conftest$ac_exeext'
4641 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4644 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4645 (exit $ac_status); }; }; then
4646 ac_cv_lib_ltdl_lt_dlopen
=yes
4648 echo "$as_me: failed program was:" >&5
4649 sed 's/^/| /' conftest.
$ac_ext >&5
4651 ac_cv_lib_ltdl_lt_dlopen
=no
4653 rm -f conftest.err conftest.
$ac_objext \
4654 conftest
$ac_exeext conftest.
$ac_ext
4655 LIBS
=$ac_check_lib_save_LIBS
4657 echo "$as_me:$LINENO: result: $ac_cv_lib_ltdl_lt_dlopen" >&5
4658 echo "${ECHO_T}$ac_cv_lib_ltdl_lt_dlopen" >&6
4659 if test $ac_cv_lib_ltdl_lt_dlopen = yes; then
4660 cat >>confdefs.h
<<_ACEOF
4661 #define HAVE_LIBLTDL 1
4667 { { echo "$as_me:$LINENO: error: cannot find libltdl" >&5
4668 echo "$as_me: error: cannot find libltdl" >&2;}
4669 { (exit 1); exit 1; }; }
4673 xno
) COMPILE_WRAPPERS
=no
;;
4674 x
) COMPILE_WRAPPERS
=yes ;;
4675 *) COMPILE_WRAPPERS
=yes ;;
4682 if test "x${COMPILE_WRAPPERS}" = xyes
; then
4683 CREATE_WRAPPERS_TRUE
=
4684 CREATE_WRAPPERS_FALSE
='#'
4686 CREATE_WRAPPERS_TRUE
='#'
4687 CREATE_WRAPPERS_FALSE
=
4691 echo "$as_me:$LINENO: checking whether ln -s works" >&5
4692 echo $ECHO_N "checking whether ln -s works... $ECHO_C" >&6
4694 if test "$LN_S" = "ln -s"; then
4695 echo "$as_me:$LINENO: result: yes" >&5
4696 echo "${ECHO_T}yes" >&6
4698 echo "$as_me:$LINENO: result: no, using $LN_S" >&5
4699 echo "${ECHO_T}no, using $LN_S" >&6
4702 # Find a good install program. We prefer a C program (faster),
4703 # so one script is as good as another. But avoid the broken or
4704 # incompatible versions:
4705 # SysV /etc/install, /usr/sbin/install
4706 # SunOS /usr/etc/install
4707 # IRIX /sbin/install
4709 # AmigaOS /C/install, which installs bootblocks on floppy discs
4710 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
4711 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
4712 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
4713 # OS/2's system install, which has a completely different semantic
4714 # ./install, which can be erroneously created by make from ./install.sh.
4715 echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
4716 echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6
4717 if test -z "$INSTALL"; then
4718 if test "${ac_cv_path_install+set}" = set; then
4719 echo $ECHO_N "(cached) $ECHO_C" >&6
4721 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4725 test -z "$as_dir" && as_dir
=.
4726 # Account for people who put trailing slashes in PATH elements.
4728 .
/ | .
// |
/cC
/* | \
4729 /etc
/* |
/usr
/sbin
/* |
/usr
/etc
/* |
/sbin
/* |
/usr
/afsws
/bin
/* | \
4730 ?
:\\/os2
\\/install\\/* | ?
:\\/OS2
\\/INSTALL
\\/* | \
4733 # OSF1 and SCO ODT 3.0 have their own names for install.
4734 # Don't use installbsd from OSF since it installs stuff as root
4736 for ac_prog
in ginstall scoinst
install; do
4737 for ac_exec_ext
in '' $ac_executable_extensions; do
4738 if $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
4739 if test $ac_prog = install &&
4740 grep dspmsg
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
4741 # AIX install. It has an incompatible calling convention.
4743 elif test $ac_prog = install &&
4744 grep pwplus
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
4745 # program-specific install script used by HP pwplus--don't use.
4748 ac_cv_path_install
="$as_dir/$ac_prog$ac_exec_ext -c"
4760 if test "${ac_cv_path_install+set}" = set; then
4761 INSTALL
=$ac_cv_path_install
4763 # As a last resort, use the slow shell script. We don't cache a
4764 # path for INSTALL within a source directory, because that will
4765 # break other packages using the cache if that directory is
4766 # removed, or if the path is relative.
4767 INSTALL
=$ac_install_sh
4770 echo "$as_me:$LINENO: result: $INSTALL" >&5
4771 echo "${ECHO_T}$INSTALL" >&6
4773 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
4774 # It thinks the first close brace ends the variable substitution.
4775 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM
='${INSTALL}'
4777 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT
='${INSTALL}'
4779 test -z "$INSTALL_DATA" && INSTALL_DATA
='${INSTALL} -m 644'
4783 # Check whether --enable-static or --disable-static was given.
4784 if test "${enable_static+set}" = set; then
4785 enableval
="$enable_static"
4786 p
=${PACKAGE-default}
4788 yes) enable_static
=yes ;;
4789 no
) enable_static
=no
;;
4792 # Look at the argument we got. We use all the common list separators.
4793 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
="${IFS}:,"
4794 for pkg
in $enableval; do
4795 if test "X$pkg" = "X$p"; then
4805 # Check whether --enable-shared or --disable-shared was given.
4806 if test "${enable_shared+set}" = set; then
4807 enableval
="$enable_shared"
4808 p
=${PACKAGE-default}
4810 yes) enable_shared
=yes ;;
4811 no
) enable_shared
=no
;;
4814 # Look at the argument we got. We use all the common list separators.
4815 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
="${IFS}:,"
4816 for pkg
in $enableval; do
4817 if test "X$pkg" = "X$p"; then
4827 # Check whether --enable-fast-install or --disable-fast-install was given.
4828 if test "${enable_fast_install+set}" = set; then
4829 enableval
="$enable_fast_install"
4830 p
=${PACKAGE-default}
4832 yes) enable_fast_install
=yes ;;
4833 no
) enable_fast_install
=no
;;
4835 enable_fast_install
=no
4836 # Look at the argument we got. We use all the common list separators.
4837 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
="${IFS}:,"
4838 for pkg
in $enableval; do
4839 if test "X$pkg" = "X$p"; then
4840 enable_fast_install
=yes
4847 enable_fast_install
=yes
4850 # Check whether --with-gnu-ld or --without-gnu-ld was given.
4851 if test "${with_gnu_ld+set}" = set; then
4852 withval
="$with_gnu_ld"
4853 test "$withval" = no || with_gnu_ld
=yes
4858 if test "$GCC" = yes; then
4859 # Check if gcc -print-prog-name=ld gives a path.
4860 echo "$as_me:$LINENO: checking for ld used by GCC" >&5
4861 echo $ECHO_N "checking for ld used by GCC... $ECHO_C" >&6
4864 # gcc leaves a trailing carriage return which upsets mingw
4865 ac_prog
=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
4867 ac_prog
=`($CC -print-prog-name=ld) 2>&5` ;;
4870 # Accept absolute paths.
4871 [\\/]* |
[A-Za-z
]:[\\/]*)
4872 re_direlt
='/[^/][^/]*/\.\./'
4873 # Canonicalize the path of ld
4874 ac_prog
=`echo $ac_prog| sed 's%\\\\%/%g'`
4875 while echo $ac_prog |
grep "$re_direlt" > /dev
/null
2>&1; do
4876 ac_prog
=`echo $ac_prog| sed "s%$re_direlt%/%"`
4878 test -z "$LD" && LD
="$ac_prog"
4881 # If it fails, then pretend we aren't using GCC.
4885 # If it is relative, then search for the first ld in PATH.
4889 elif test "$with_gnu_ld" = yes; then
4890 echo "$as_me:$LINENO: checking for GNU ld" >&5
4891 echo $ECHO_N "checking for GNU ld... $ECHO_C" >&6
4893 echo "$as_me:$LINENO: checking for non-GNU ld" >&5
4894 echo $ECHO_N "checking for non-GNU ld... $ECHO_C" >&6
4896 if test "${lt_cv_path_LD+set}" = set; then
4897 echo $ECHO_N "(cached) $ECHO_C" >&6
4899 if test -z "$LD"; then
4900 IFS
="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}${PATH_SEPARATOR-:}"
4901 for ac_dir
in $PATH; do
4902 test -z "$ac_dir" && ac_dir
=.
4903 if test -f "$ac_dir/$ac_prog" ||
test -f "$ac_dir/$ac_prog$ac_exeext"; then
4904 lt_cv_path_LD
="$ac_dir/$ac_prog"
4905 # Check to see if the program is GNU ld. I'd rather use --version,
4906 # but apparently some GNU ld's only accept -v.
4907 # Break only if it was the GNU/non-GNU ld that we prefer.
4908 if "$lt_cv_path_LD" -v 2>&1 < /dev
/null |
egrep '(GNU|with BFD)' > /dev
/null
; then
4909 test "$with_gnu_ld" != no
&& break
4911 test "$with_gnu_ld" != yes && break
4917 lt_cv_path_LD
="$LD" # Let the user override the test with a path.
4922 if test -n "$LD"; then
4923 echo "$as_me:$LINENO: result: $LD" >&5
4924 echo "${ECHO_T}$LD" >&6
4926 echo "$as_me:$LINENO: result: no" >&5
4927 echo "${ECHO_T}no" >&6
4929 test -z "$LD" && { { echo "$as_me:$LINENO: error: no acceptable ld found in \$PATH" >&5
4930 echo "$as_me: error: no acceptable ld found in \$PATH" >&2;}
4931 { (exit 1); exit 1; }; }
4932 echo "$as_me:$LINENO: checking if the linker ($LD) is GNU ld" >&5
4933 echo $ECHO_N "checking if the linker ($LD) is GNU ld... $ECHO_C" >&6
4934 if test "${lt_cv_prog_gnu_ld+set}" = set; then
4935 echo $ECHO_N "(cached) $ECHO_C" >&6
4937 # I'd rather use --version here, but apparently some GNU ld's only accept -v.
4938 if $LD -v 2>&1 </dev
/null |
egrep '(GNU|with BFD)' 1>&5; then
4939 lt_cv_prog_gnu_ld
=yes
4941 lt_cv_prog_gnu_ld
=no
4944 echo "$as_me:$LINENO: result: $lt_cv_prog_gnu_ld" >&5
4945 echo "${ECHO_T}$lt_cv_prog_gnu_ld" >&6
4946 with_gnu_ld
=$lt_cv_prog_gnu_ld
4949 echo "$as_me:$LINENO: checking for $LD option to reload object files" >&5
4950 echo $ECHO_N "checking for $LD option to reload object files... $ECHO_C" >&6
4951 if test "${lt_cv_ld_reload_flag+set}" = set; then
4952 echo $ECHO_N "(cached) $ECHO_C" >&6
4954 lt_cv_ld_reload_flag
='-r'
4956 echo "$as_me:$LINENO: result: $lt_cv_ld_reload_flag" >&5
4957 echo "${ECHO_T}$lt_cv_ld_reload_flag" >&6
4958 reload_flag
=$lt_cv_ld_reload_flag
4959 test -n "$reload_flag" && reload_flag
=" $reload_flag"
4961 echo "$as_me:$LINENO: checking for BSD-compatible nm" >&5
4962 echo $ECHO_N "checking for BSD-compatible nm... $ECHO_C" >&6
4963 if test "${lt_cv_path_NM+set}" = set; then
4964 echo $ECHO_N "(cached) $ECHO_C" >&6
4966 if test -n "$NM"; then
4967 # Let the user override the test.
4970 IFS
="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}${PATH_SEPARATOR-:}"
4971 for ac_dir
in $PATH /usr
/ccs
/bin
/usr
/ucb
/bin
; do
4972 test -z "$ac_dir" && ac_dir
=.
4973 tmp_nm
=$ac_dir/${ac_tool_prefix}nm
4974 if test -f $tmp_nm ||
test -f $tmp_nm$ac_exeext ; then
4975 # Check to see if the nm accepts a BSD-compat flag.
4976 # Adding the `sed 1q' prevents false positives on HP-UX, which says:
4977 # nm: unknown option "B" ignored
4978 # Tru64's nm complains that /dev/null is an invalid object file
4979 if ($tmp_nm -B /dev
/null
2>&1 |
sed '1q'; exit 0) |
egrep '(/dev/null|Invalid file or object type)' >/dev
/null
; then
4980 lt_cv_path_NM
="$tmp_nm -B"
4982 elif ($tmp_nm -p /dev
/null
2>&1 |
sed '1q'; exit 0) |
egrep /dev
/null
>/dev
/null
; then
4983 lt_cv_path_NM
="$tmp_nm -p"
4986 lt_cv_path_NM
=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but
4987 continue # so that we can try to find one that supports BSD flags
4992 test -z "$lt_cv_path_NM" && lt_cv_path_NM
=nm
4997 echo "$as_me:$LINENO: result: $NM" >&5
4998 echo "${ECHO_T}$NM" >&6
5000 echo "$as_me:$LINENO: checking how to recognise dependant libraries" >&5
5001 echo $ECHO_N "checking how to recognise dependant libraries... $ECHO_C" >&6
5002 if test "${lt_cv_deplibs_check_method+set}" = set; then
5003 echo $ECHO_N "(cached) $ECHO_C" >&6
5005 lt_cv_file_magic_cmd
='$MAGIC_CMD'
5006 lt_cv_file_magic_test_file
=
5007 lt_cv_deplibs_check_method
='unknown'
5008 # Need to set the preceding variable on all platforms that support
5009 # interlibrary dependencies.
5010 # 'none' -- dependencies not supported.
5011 # `unknown' -- same as none, but documents that we really don't know.
5012 # 'pass_all' -- all dependencies passed with no checks.
5013 # 'test_compile' -- check by making test program.
5014 # 'file_magic [regex]' -- check by looking for files in library path
5015 # which responds to the $file_magic_cmd with a given egrep regex.
5016 # If you have `file' or equivalent on your system and you're not sure
5017 # whether `pass_all' will *always* work, you probably want this one.
5021 lt_cv_deplibs_check_method
=pass_all
5025 lt_cv_deplibs_check_method
=pass_all
5029 lt_cv_deplibs_check_method
='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib)'
5030 lt_cv_file_magic_cmd
='/usr/bin/file -L'
5031 lt_cv_file_magic_test_file
=/shlib
/libc.so
5034 cygwin
* | mingw
* |pw32
*)
5035 lt_cv_deplibs_check_method
='file_magic file format pei*-i386(.*architecture: i386)?'
5036 lt_cv_file_magic_cmd
='$OBJDUMP -f'
5039 darwin
* | rhapsody
*)
5040 # this will be overwritten by pass_all, but leave it in just in case
5041 lt_cv_deplibs_check_method
='file_magic Mach-O dynamically linked shared library'
5042 lt_cv_file_magic_cmd
='/usr/bin/file -L'
5044 rhapsody
* | darwin1.012
)
5045 lt_cv_file_magic_test_file
='/System/Library/Frameworks/System.framework/System'
5048 lt_cv_file_magic_test_file
='/usr/lib/libSystem.dylib'
5051 lt_cv_deplibs_check_method
=pass_all
5054 freebsd
* | kfreebsd
*-gnu)
5055 if echo __ELF__ |
$CC -E - |
grep __ELF__
> /dev
/null
; then
5058 # Not sure whether the presence of OpenBSD here was a mistake.
5059 # Let's accept both of them until this is cleared up.
5060 lt_cv_deplibs_check_method
='file_magic (FreeBSD|OpenBSD)/i[3-9]86 (compact )?demand paged shared library'
5061 lt_cv_file_magic_cmd
=/usr
/bin
/file
5062 lt_cv_file_magic_test_file
=`echo /usr/lib/libc.so.*`
5066 lt_cv_deplibs_check_method
=pass_all
5071 lt_cv_deplibs_check_method
=pass_all
5077 lt_cv_deplibs_check_method
='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9].[0-9]) shared library'
5078 lt_cv_file_magic_cmd
=/usr
/bin
/file
5079 lt_cv_file_magic_test_file
=/usr
/lib
/libc.sl
5082 lt_cv_deplibs_check_method
='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - IA64'
5083 lt_cv_file_magic_cmd
=/usr
/bin
/file
5084 lt_cv_file_magic_test_file
=/usr
/lib
/hpux32
/libc.so
5092 # this will be overridden with pass_all, but let us keep it just in case
5093 lt_cv_deplibs_check_method
="file_magic ELF 32-bit MSB dynamic lib MIPS - version 1"
5097 *-32|
*"-32 ") libmagic
=32-bit;;
5098 *-n32|
*"-n32 ") libmagic
=N32
;;
5099 *-64|
*"-64 ") libmagic
=64-bit;;
5100 *) libmagic
=never-match
;;
5102 # this will be overridden with pass_all, but let us keep it just in case
5103 lt_cv_deplibs_check_method
="file_magic ELF ${libmagic} MSB mips-[1234] dynamic lib MIPS - version 1"
5106 lt_cv_file_magic_test_file
=`echo /lib${libsuff}/libc.so*`
5107 lt_cv_deplibs_check_method
=pass_all
5110 # This must be Linux ELF.
5112 lt_cv_deplibs_check_method
=pass_all
5115 netbsd
* | knetbsd
*-gnu)
5116 if echo __ELF__ |
$CC -E - |
grep __ELF__
> /dev
/null
; then
5117 lt_cv_deplibs_check_method
='match_pattern /lib[^/\.]+\.so\.[0-9]+\.[0-9]+$'
5119 lt_cv_deplibs_check_method
='match_pattern /lib[^/\.]+\.so$'
5124 lt_cv_deplibs_check_method
='file_magic ELF [0-9][0-9]*-bit [ML]SB (executable|dynamic lib)'
5125 lt_cv_file_magic_cmd
=/usr
/bin
/file
5126 lt_cv_file_magic_test_file
=/usr
/lib
/libnls.so
5129 osf3
* | osf4
* | osf5
*)
5130 # this will be overridden with pass_all, but let us keep it just in case
5131 lt_cv_deplibs_check_method
='file_magic COFF format alpha shared library'
5132 lt_cv_file_magic_test_file
=/shlib
/libc.so
5133 lt_cv_deplibs_check_method
=pass_all
5137 lt_cv_deplibs_check_method
=pass_all
5141 lt_cv_deplibs_check_method
=pass_all
5142 lt_cv_file_magic_test_file
=/lib
/libc.so
5145 sysv5uw
[78]* | sysv4
*uw2
*)
5146 lt_cv_deplibs_check_method
=pass_all
5149 sysv4 | sysv4.2uw2
* | sysv4.3
* | sysv5
*)
5150 case $host_vendor in
5152 lt_cv_deplibs_check_method
=pass_all
5155 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]'
5156 lt_cv_file_magic_test_file
=`echo /usr/lib/libc.so*`
5163 echo "$as_me:$LINENO: result: $lt_cv_deplibs_check_method" >&5
5164 echo "${ECHO_T}$lt_cv_deplibs_check_method" >&6
5165 file_magic_cmd
=$lt_cv_file_magic_cmd
5166 deplibs_check_method
=$lt_cv_deplibs_check_method
5171 # Autoconf 2.13's AC_OBJEXT and AC_EXEEXT macros only works for C compilers!
5173 # find the maximum length of command line arguments
5174 echo "$as_me:$LINENO: checking the maximum length of command line arguments" >&5
5175 echo $ECHO_N "checking the maximum length of command line arguments... $ECHO_C" >&6
5176 if test "${lt_cv_sys_max_cmd_len+set}" = set; then
5177 echo $ECHO_N "(cached) $ECHO_C" >&6
5184 # On DJGPP, this test can blow up pretty badly due to problems in libc
5185 # (any single argument exceeding 2000 bytes causes a buffer overrun
5186 # during glob expansion). Even if it were fixed, the result of this
5187 # check would be larger than it should be.
5188 lt_cv_sys_max_cmd_len
=12288; # 12K is about right
5192 # On Win9x/ME, this test blows up -- it succeeds, but takes
5193 # about 5 minutes as the teststring grows exponentially.
5194 # Worse, since 9x/ME are not pre-emptively multitasking,
5195 # you end up with a "frozen" computer, even though with patience
5196 # the test eventually succeeds (with a max line length of 256k).
5197 # Instead, let's just punt: use the minimum linelength reported by
5198 # all of the supported platforms: 8192 (on NT/2K/XP).
5199 lt_cv_sys_max_cmd_len
=8192;
5203 # On AmigaOS with pdksh, this test takes hours, literally.
5204 # So we just punt and use a minimum line length of 8192.
5205 lt_cv_sys_max_cmd_len
=8192;
5208 netbsd
* | freebsd
* | openbsd
* | darwin
* | dragonfly
*)
5209 # This has been around since 386BSD, at least. Likely further.
5210 if test -x /sbin
/sysctl
; then
5211 lt_cv_sys_max_cmd_len
=`/sbin/sysctl -n kern.argmax`
5212 elif test -x /usr
/sbin
/sysctl
; then
5213 lt_cv_sys_max_cmd_len
=`/usr/sbin/sysctl -n kern.argmax`
5215 lt_cv_sys_max_cmd_len
=65536 # usable default for *BSD
5217 # And add a safety zone
5218 lt_cv_sys_max_cmd_len
=`expr $lt_cv_sys_max_cmd_len \/ 4`
5219 lt_cv_sys_max_cmd_len
=`expr $lt_cv_sys_max_cmd_len \* 3`
5225 if test -n "$lt_cv_sys_max_cmd_len" ; then
5226 echo "$as_me:$LINENO: result: $lt_cv_sys_max_cmd_len" >&5
5227 echo "${ECHO_T}$lt_cv_sys_max_cmd_len" >&6
5229 echo "$as_me:$LINENO: result: none" >&5
5230 echo "${ECHO_T}none" >&6
5234 # Only perform the check for file, if the check method requires it
5235 case $deplibs_check_method in
5237 if test "$file_magic_cmd" = '$MAGIC_CMD'; then
5238 echo "$as_me:$LINENO: checking for ${ac_tool_prefix}file" >&5
5239 echo $ECHO_N "checking for ${ac_tool_prefix}file... $ECHO_C" >&6
5240 if test "${lt_cv_path_MAGIC_CMD+set}" = set; then
5241 echo $ECHO_N "(cached) $ECHO_C" >&6
5245 lt_cv_path_MAGIC_CMD
="$MAGIC_CMD" # Let the user override the test with a path.
5248 lt_cv_path_MAGIC_CMD
="$MAGIC_CMD" # Let the user override the test with a dos path.
5251 ac_save_MAGIC_CMD
="$MAGIC_CMD"
5252 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
=":"
5253 ac_dummy
="/usr/bin:$PATH"
5254 for ac_dir
in $ac_dummy; do
5255 test -z "$ac_dir" && ac_dir
=.
5256 if test -f $ac_dir/${ac_tool_prefix}file; then
5257 lt_cv_path_MAGIC_CMD
="$ac_dir/${ac_tool_prefix}file"
5258 if test -n "$file_magic_test_file"; then
5259 case $deplibs_check_method in
5261 file_magic_regex
="`expr \"$deplibs_check_method\" : \"file_magic \(.*\)\"`"
5262 MAGIC_CMD
="$lt_cv_path_MAGIC_CMD"
5263 if eval $file_magic_cmd \
$file_magic_test_file 2> /dev
/null |
5264 egrep "$file_magic_regex" > /dev
/null
; then
5269 *** Warning: the command libtool uses to detect shared libraries,
5270 *** $file_magic_cmd, produces output that libtool cannot recognize.
5271 *** The result is that libtool may fail to recognize shared libraries
5272 *** as such. This will affect the creation of libtool libraries that
5273 *** depend on shared libraries, but programs linked with such libtool
5274 *** libraries will work regardless of this problem. Nevertheless, you
5275 *** may want to report the problem to your system manager and/or to
5276 *** bug-libtool@gnu.org
5286 MAGIC_CMD
="$ac_save_MAGIC_CMD"
5291 MAGIC_CMD
="$lt_cv_path_MAGIC_CMD"
5292 if test -n "$MAGIC_CMD"; then
5293 echo "$as_me:$LINENO: result: $MAGIC_CMD" >&5
5294 echo "${ECHO_T}$MAGIC_CMD" >&6
5296 echo "$as_me:$LINENO: result: no" >&5
5297 echo "${ECHO_T}no" >&6
5300 if test -z "$lt_cv_path_MAGIC_CMD"; then
5301 if test -n "$ac_tool_prefix"; then
5302 echo "$as_me:$LINENO: checking for file" >&5
5303 echo $ECHO_N "checking for file... $ECHO_C" >&6
5304 if test "${lt_cv_path_MAGIC_CMD+set}" = set; then
5305 echo $ECHO_N "(cached) $ECHO_C" >&6
5309 lt_cv_path_MAGIC_CMD
="$MAGIC_CMD" # Let the user override the test with a path.
5312 lt_cv_path_MAGIC_CMD
="$MAGIC_CMD" # Let the user override the test with a dos path.
5315 ac_save_MAGIC_CMD
="$MAGIC_CMD"
5316 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
=":"
5317 ac_dummy
="/usr/bin:$PATH"
5318 for ac_dir
in $ac_dummy; do
5319 test -z "$ac_dir" && ac_dir
=.
5320 if test -f $ac_dir/file; then
5321 lt_cv_path_MAGIC_CMD
="$ac_dir/file"
5322 if test -n "$file_magic_test_file"; then
5323 case $deplibs_check_method in
5325 file_magic_regex
="`expr \"$deplibs_check_method\" : \"file_magic \(.*\)\"`"
5326 MAGIC_CMD
="$lt_cv_path_MAGIC_CMD"
5327 if eval $file_magic_cmd \
$file_magic_test_file 2> /dev
/null |
5328 egrep "$file_magic_regex" > /dev
/null
; then
5333 *** Warning: the command libtool uses to detect shared libraries,
5334 *** $file_magic_cmd, produces output that libtool cannot recognize.
5335 *** The result is that libtool may fail to recognize shared libraries
5336 *** as such. This will affect the creation of libtool libraries that
5337 *** depend on shared libraries, but programs linked with such libtool
5338 *** libraries will work regardless of this problem. Nevertheless, you
5339 *** may want to report the problem to your system manager and/or to
5340 *** bug-libtool@gnu.org
5350 MAGIC_CMD
="$ac_save_MAGIC_CMD"
5355 MAGIC_CMD
="$lt_cv_path_MAGIC_CMD"
5356 if test -n "$MAGIC_CMD"; then
5357 echo "$as_me:$LINENO: result: $MAGIC_CMD" >&5
5358 echo "${ECHO_T}$MAGIC_CMD" >&6
5360 echo "$as_me:$LINENO: result: no" >&5
5361 echo "${ECHO_T}no" >&6
5373 if test -n "$ac_tool_prefix"; then
5374 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
5375 set dummy
${ac_tool_prefix}ranlib
; ac_word
=$2
5376 echo "$as_me:$LINENO: checking for $ac_word" >&5
5377 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
5378 if test "${ac_cv_prog_RANLIB+set}" = set; then
5379 echo $ECHO_N "(cached) $ECHO_C" >&6
5381 if test -n "$RANLIB"; then
5382 ac_cv_prog_RANLIB
="$RANLIB" # Let the user override the test.
5384 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5388 test -z "$as_dir" && as_dir
=.
5389 for ac_exec_ext
in '' $ac_executable_extensions; do
5390 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5391 ac_cv_prog_RANLIB
="${ac_tool_prefix}ranlib"
5392 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5400 RANLIB
=$ac_cv_prog_RANLIB
5401 if test -n "$RANLIB"; then
5402 echo "$as_me:$LINENO: result: $RANLIB" >&5
5403 echo "${ECHO_T}$RANLIB" >&6
5405 echo "$as_me:$LINENO: result: no" >&5
5406 echo "${ECHO_T}no" >&6
5410 if test -z "$ac_cv_prog_RANLIB"; then
5411 ac_ct_RANLIB
=$RANLIB
5412 # Extract the first word of "ranlib", so it can be a program name with args.
5413 set dummy ranlib
; ac_word
=$2
5414 echo "$as_me:$LINENO: checking for $ac_word" >&5
5415 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
5416 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
5417 echo $ECHO_N "(cached) $ECHO_C" >&6
5419 if test -n "$ac_ct_RANLIB"; then
5420 ac_cv_prog_ac_ct_RANLIB
="$ac_ct_RANLIB" # Let the user override the test.
5422 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5426 test -z "$as_dir" && as_dir
=.
5427 for ac_exec_ext
in '' $ac_executable_extensions; do
5428 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5429 ac_cv_prog_ac_ct_RANLIB
="ranlib"
5430 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5436 test -z "$ac_cv_prog_ac_ct_RANLIB" && ac_cv_prog_ac_ct_RANLIB
=":"
5439 ac_ct_RANLIB
=$ac_cv_prog_ac_ct_RANLIB
5440 if test -n "$ac_ct_RANLIB"; then
5441 echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
5442 echo "${ECHO_T}$ac_ct_RANLIB" >&6
5444 echo "$as_me:$LINENO: result: no" >&5
5445 echo "${ECHO_T}no" >&6
5448 RANLIB
=$ac_ct_RANLIB
5450 RANLIB
="$ac_cv_prog_RANLIB"
5453 if test -n "$ac_tool_prefix"; then
5454 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
5455 set dummy
${ac_tool_prefix}strip
; ac_word
=$2
5456 echo "$as_me:$LINENO: checking for $ac_word" >&5
5457 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
5458 if test "${ac_cv_prog_STRIP+set}" = set; then
5459 echo $ECHO_N "(cached) $ECHO_C" >&6
5461 if test -n "$STRIP"; then
5462 ac_cv_prog_STRIP
="$STRIP" # Let the user override the test.
5464 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5468 test -z "$as_dir" && as_dir
=.
5469 for ac_exec_ext
in '' $ac_executable_extensions; do
5470 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5471 ac_cv_prog_STRIP
="${ac_tool_prefix}strip"
5472 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5480 STRIP
=$ac_cv_prog_STRIP
5481 if test -n "$STRIP"; then
5482 echo "$as_me:$LINENO: result: $STRIP" >&5
5483 echo "${ECHO_T}$STRIP" >&6
5485 echo "$as_me:$LINENO: result: no" >&5
5486 echo "${ECHO_T}no" >&6
5490 if test -z "$ac_cv_prog_STRIP"; then
5492 # Extract the first word of "strip", so it can be a program name with args.
5493 set dummy strip
; ac_word
=$2
5494 echo "$as_me:$LINENO: checking for $ac_word" >&5
5495 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
5496 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
5497 echo $ECHO_N "(cached) $ECHO_C" >&6
5499 if test -n "$ac_ct_STRIP"; then
5500 ac_cv_prog_ac_ct_STRIP
="$ac_ct_STRIP" # Let the user override the test.
5502 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5506 test -z "$as_dir" && as_dir
=.
5507 for ac_exec_ext
in '' $ac_executable_extensions; do
5508 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5509 ac_cv_prog_ac_ct_STRIP
="strip"
5510 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5516 test -z "$ac_cv_prog_ac_ct_STRIP" && ac_cv_prog_ac_ct_STRIP
=":"
5519 ac_ct_STRIP
=$ac_cv_prog_ac_ct_STRIP
5520 if test -n "$ac_ct_STRIP"; then
5521 echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
5522 echo "${ECHO_T}$ac_ct_STRIP" >&6
5524 echo "$as_me:$LINENO: result: no" >&5
5525 echo "${ECHO_T}no" >&6
5530 STRIP
="$ac_cv_prog_STRIP"
5534 # Check for any special flags to pass to ltconfig.
5535 libtool_flags
="--cache-file=$cache_file"
5536 test "$enable_shared" = no
&& libtool_flags
="$libtool_flags --disable-shared"
5537 test "$enable_static" = no
&& libtool_flags
="$libtool_flags --disable-static"
5538 test "$enable_fast_install" = no
&& libtool_flags
="$libtool_flags --disable-fast-install"
5539 test "$GCC" = yes && libtool_flags
="$libtool_flags --with-gcc"
5540 test "$lt_cv_prog_gnu_ld" = yes && libtool_flags
="$libtool_flags --with-gnu-ld"
5543 # Check whether --enable-libtool-lock or --disable-libtool-lock was given.
5544 if test "${enable_libtool_lock+set}" = set; then
5545 enableval
="$enable_libtool_lock"
5548 test "x$enable_libtool_lock" = xno
&& libtool_flags
="$libtool_flags --disable-lock"
5549 test x
"$silent" = xyes
&& libtool_flags
="$libtool_flags --silent"
5552 # Check whether --with-pic or --without-pic was given.
5553 if test "${with_pic+set}" = set; then
5559 test x
"$pic_mode" = xyes
&& libtool_flags
="$libtool_flags --prefer-pic"
5560 test x
"$pic_mode" = xno
&& libtool_flags
="$libtool_flags --prefer-non-pic"
5562 # Some flags need to be propagated to the compiler or linker for good
5566 # Find out which ABI we are using.
5567 echo '#line 5567 "configure"' > conftest.
$ac_ext
5568 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5569 (eval $ac_compile) 2>&5
5571 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5572 (exit $ac_status); }; then
5573 if test "$lt_cv_prog_gnu_ld" = yes; then
5574 case `/usr/bin/file conftest.$ac_objext` in
5576 LD
="${LD-ld} -melf32bsmip"
5579 LD
="${LD-ld} -melf32bmipn32"
5582 LD
="${LD-ld} -melf64bmip"
5586 case `/usr/bin/file conftest.$ac_objext` in
5603 # Find out which ABI we are using.
5604 echo 'int i;' > conftest.
$ac_ext
5605 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5606 (eval $ac_compile) 2>&5
5608 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5609 (exit $ac_status); }; then
5610 case "`/usr/bin/file conftest.o`" in
5622 x86_64-
*linux
*|ppc
*-*linux
*|powerpc
*-*linux
*|s390
*-*linux
*|sparc
*-*linux
*)
5623 # Find out which ABI we are using.
5624 echo 'int i;' > conftest.
$ac_ext
5625 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5626 (eval $ac_compile) 2>&5
5628 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5629 (exit $ac_status); }; then
5630 case "`/usr/bin/file conftest.o`" in
5634 LD
="${LD-ld} -m elf_i386"
5636 ppc64-
*linux
*|powerpc64-
*linux
*)
5637 LD
="${LD-ld} -m elf32ppclinux"
5640 LD
="${LD-ld} -m elf_s390"
5643 LD
="${LD-ld} -m elf32_sparc"
5650 LD
="${LD-ld} -m elf_x86_64"
5652 ppc
*-*linux
*|powerpc
*-*linux
*)
5653 LD
="${LD-ld} -m elf64ppc"
5656 LD
="${LD-ld} -m elf64_s390"
5659 LD
="${LD-ld} -m elf64_sparc"
5669 # On SCO OpenServer 5, we need -belf to get full-featured binaries.
5670 SAVE_CFLAGS
="$CFLAGS"
5671 CFLAGS
="$CFLAGS -belf"
5672 echo "$as_me:$LINENO: checking whether the C compiler needs -belf" >&5
5673 echo $ECHO_N "checking whether the C compiler needs -belf... $ECHO_C" >&6
5674 if test "${lt_cv_cc_needs_belf+set}" = set; then
5675 echo $ECHO_N "(cached) $ECHO_C" >&6
5680 ac_cpp
='$CPP $CPPFLAGS'
5681 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5682 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5683 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
5685 if test x
$gcc_no_link = xyes
; then
5686 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
5687 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
5688 { (exit 1); exit 1; }; }
5690 cat >conftest.
$ac_ext <<_ACEOF
5693 cat confdefs.h
>>conftest.
$ac_ext
5694 cat >>conftest.
$ac_ext <<_ACEOF
5695 /* end confdefs.h. */
5705 rm -f conftest.
$ac_objext conftest
$ac_exeext
5706 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
5707 (eval $ac_link) 2>conftest.er1
5709 grep -v '^ *+' conftest.er1
>conftest.err
5711 cat conftest.err
>&5
5712 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5713 (exit $ac_status); } &&
5714 { ac_try
='test -z "$ac_c_werror_flag"
5715 || test ! -s conftest.err'
5716 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5719 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5720 (exit $ac_status); }; } &&
5721 { ac_try
='test -s conftest$ac_exeext'
5722 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5725 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5726 (exit $ac_status); }; }; then
5727 lt_cv_cc_needs_belf
=yes
5729 echo "$as_me: failed program was:" >&5
5730 sed 's/^/| /' conftest.
$ac_ext >&5
5732 lt_cv_cc_needs_belf
=no
5734 rm -f conftest.err conftest.
$ac_objext \
5735 conftest
$ac_exeext conftest.
$ac_ext
5737 ac_cpp
='$CPP $CPPFLAGS'
5738 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5739 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5740 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
5743 echo "$as_me:$LINENO: result: $lt_cv_cc_needs_belf" >&5
5744 echo "${ECHO_T}$lt_cv_cc_needs_belf" >&6
5745 if test x
"$lt_cv_cc_needs_belf" != x
"yes"; then
5746 # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
5747 CFLAGS
="$SAVE_CFLAGS"
5755 # Save cache, so that ltconfig can load it
5756 cat >confcache
<<\_ACEOF
5757 # This file is a shell script that caches the results of configure
5758 # tests run on this system so they can be shared between configure
5759 # scripts and configure runs, see configure's option --config-cache.
5760 # It is not useful on other systems. If it contains results you don't
5761 # want to keep, you may remove or edit it.
5763 # config.status only pays attention to the cache file if you give it
5764 # the --recheck option to rerun configure.
5766 # `ac_cv_env_foo' variables (set or unset) will be overridden when
5767 # loading this file, other *unset* `ac_cv_foo' will be assigned the
5772 # The following way of writing the cache mishandles newlines in values,
5773 # but we know of no workaround that is simple, portable, and efficient.
5774 # So, don't put newlines in cache variables' values.
5775 # Ultrix sh set writes to stderr and can't be redirected directly,
5776 # and sets the high bit in the cache file unless we assign to the vars.
5779 case `(ac_space=' '; set | grep ac_space) 2>&1` in
5781 # `set' does not quote correctly, so add quotes (double-quote
5782 # substitution turns \\\\ into \\, and sed turns \\ into \).
5785 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
5788 # `set' quotes correctly as required by POSIX, so do not add quotes.
5790 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
5797 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
5799 /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
5801 if diff $cache_file confcache
>/dev
/null
2>&1; then :; else
5802 if test -w $cache_file; then
5803 test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
5804 cat confcache
>$cache_file
5806 echo "not updating unwritable cache $cache_file"
5811 # Actually configure libtool. ac_aux_dir is where install-sh is found.
5812 AR
="$AR" LTCC
="$CC" CC
="$CC" CFLAGS
="$CFLAGS" CPPFLAGS
="$CPPFLAGS" \
5813 MAGIC_CMD
="$MAGIC_CMD" LD
="$LD" LDFLAGS
="$LDFLAGS" LIBS
="$LIBS" \
5814 LN_S
="$LN_S" NM
="$NM" RANLIB
="$RANLIB" STRIP
="$STRIP" \
5815 AS
="$AS" DLLTOOL
="$DLLTOOL" OBJDUMP
="$OBJDUMP" \
5816 objext
="$OBJEXT" exeext
="$EXEEXT" reload_flag
="$reload_flag" \
5817 deplibs_check_method
="$deplibs_check_method" file_magic_cmd
="$file_magic_cmd" \
5818 ${CONFIG_SHELL-/bin/sh} $ac_aux_dir/ltconfig
--no-reexec \
5819 $libtool_flags --no-verify --build="$build" $ac_aux_dir/ltmain.sh
$host \
5820 ||
{ { echo "$as_me:$LINENO: error: libtool configure failed" >&5
5821 echo "$as_me: error: libtool configure failed" >&2;}
5822 { (exit 1); exit 1; }; }
5824 # Reload cache, that may have been modified by ltconfig
5825 if test -r "$cache_file"; then
5826 # Some versions of bash will fail to source /dev/null (special
5827 # files actually), so we avoid doing that.
5828 if test -f "$cache_file"; then
5829 { echo "$as_me:$LINENO: loading cache $cache_file" >&5
5830 echo "$as_me: loading cache $cache_file" >&6;}
5832 [\\/]* | ?
:[\\/]* ) .
$cache_file;;
5833 *) . .
/$cache_file;;
5837 { echo "$as_me:$LINENO: creating cache $cache_file" >&5
5838 echo "$as_me: creating cache $cache_file" >&6;}
5843 # This can be used to rebuild libtool when needed
5844 LIBTOOL_DEPS
="$ac_aux_dir/ltconfig $ac_aux_dir/ltmain.sh $ac_aux_dir/ltcf-c.sh"
5846 # Always use our own libtool.
5847 LIBTOOL
='$(SHELL) $(top_builddir)/libtool'
5849 # Redirect the config.log output again, so that the ltconfig log is not
5850 # clobbered by the next message.
5851 exec 5>>.
/config.log
5859 ac_cpp
='$CPP $CPPFLAGS'
5860 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5861 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5862 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
5863 if test -n "$ac_tool_prefix"; then
5864 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
5865 set dummy
${ac_tool_prefix}gcc
; ac_word
=$2
5866 echo "$as_me:$LINENO: checking for $ac_word" >&5
5867 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
5868 if test "${ac_cv_prog_CC+set}" = set; then
5869 echo $ECHO_N "(cached) $ECHO_C" >&6
5871 if test -n "$CC"; then
5872 ac_cv_prog_CC
="$CC" # Let the user override the test.
5874 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5878 test -z "$as_dir" && as_dir
=.
5879 for ac_exec_ext
in '' $ac_executable_extensions; do
5880 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5881 ac_cv_prog_CC
="${ac_tool_prefix}gcc"
5882 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5891 if test -n "$CC"; then
5892 echo "$as_me:$LINENO: result: $CC" >&5
5893 echo "${ECHO_T}$CC" >&6
5895 echo "$as_me:$LINENO: result: no" >&5
5896 echo "${ECHO_T}no" >&6
5900 if test -z "$ac_cv_prog_CC"; then
5902 # Extract the first word of "gcc", so it can be a program name with args.
5903 set dummy gcc
; ac_word
=$2
5904 echo "$as_me:$LINENO: checking for $ac_word" >&5
5905 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
5906 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
5907 echo $ECHO_N "(cached) $ECHO_C" >&6
5909 if test -n "$ac_ct_CC"; then
5910 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
5912 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5916 test -z "$as_dir" && as_dir
=.
5917 for ac_exec_ext
in '' $ac_executable_extensions; do
5918 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5919 ac_cv_prog_ac_ct_CC
="gcc"
5920 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5928 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
5929 if test -n "$ac_ct_CC"; then
5930 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
5931 echo "${ECHO_T}$ac_ct_CC" >&6
5933 echo "$as_me:$LINENO: result: no" >&5
5934 echo "${ECHO_T}no" >&6
5942 if test -z "$CC"; then
5943 if test -n "$ac_tool_prefix"; then
5944 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
5945 set dummy
${ac_tool_prefix}cc
; ac_word
=$2
5946 echo "$as_me:$LINENO: checking for $ac_word" >&5
5947 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
5948 if test "${ac_cv_prog_CC+set}" = set; then
5949 echo $ECHO_N "(cached) $ECHO_C" >&6
5951 if test -n "$CC"; then
5952 ac_cv_prog_CC
="$CC" # Let the user override the test.
5954 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5958 test -z "$as_dir" && as_dir
=.
5959 for ac_exec_ext
in '' $ac_executable_extensions; do
5960 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5961 ac_cv_prog_CC
="${ac_tool_prefix}cc"
5962 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5971 if test -n "$CC"; then
5972 echo "$as_me:$LINENO: result: $CC" >&5
5973 echo "${ECHO_T}$CC" >&6
5975 echo "$as_me:$LINENO: result: no" >&5
5976 echo "${ECHO_T}no" >&6
5980 if test -z "$ac_cv_prog_CC"; then
5982 # Extract the first word of "cc", so it can be a program name with args.
5983 set dummy cc
; ac_word
=$2
5984 echo "$as_me:$LINENO: checking for $ac_word" >&5
5985 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
5986 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
5987 echo $ECHO_N "(cached) $ECHO_C" >&6
5989 if test -n "$ac_ct_CC"; then
5990 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
5992 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5996 test -z "$as_dir" && as_dir
=.
5997 for ac_exec_ext
in '' $ac_executable_extensions; do
5998 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5999 ac_cv_prog_ac_ct_CC
="cc"
6000 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6008 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
6009 if test -n "$ac_ct_CC"; then
6010 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
6011 echo "${ECHO_T}$ac_ct_CC" >&6
6013 echo "$as_me:$LINENO: result: no" >&5
6014 echo "${ECHO_T}no" >&6
6023 if test -z "$CC"; then
6024 # Extract the first word of "cc", so it can be a program name with args.
6025 set dummy cc
; ac_word
=$2
6026 echo "$as_me:$LINENO: checking for $ac_word" >&5
6027 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
6028 if test "${ac_cv_prog_CC+set}" = set; then
6029 echo $ECHO_N "(cached) $ECHO_C" >&6
6031 if test -n "$CC"; then
6032 ac_cv_prog_CC
="$CC" # Let the user override the test.
6035 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6039 test -z "$as_dir" && as_dir
=.
6040 for ac_exec_ext
in '' $ac_executable_extensions; do
6041 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6042 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
6043 ac_prog_rejected
=yes
6047 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6053 if test $ac_prog_rejected = yes; then
6054 # We found a bogon in the path, so make sure we never use it.
6055 set dummy
$ac_cv_prog_CC
6057 if test $# != 0; then
6058 # We chose a different compiler from the bogus one.
6059 # However, it has the same basename, so the bogon will be chosen
6060 # first if we set CC to just the basename; use the full file name.
6062 ac_cv_prog_CC
="$as_dir/$ac_word${1+' '}$@"
6068 if test -n "$CC"; then
6069 echo "$as_me:$LINENO: result: $CC" >&5
6070 echo "${ECHO_T}$CC" >&6
6072 echo "$as_me:$LINENO: result: no" >&5
6073 echo "${ECHO_T}no" >&6
6077 if test -z "$CC"; then
6078 if test -n "$ac_tool_prefix"; then
6081 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
6082 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
6083 echo "$as_me:$LINENO: checking for $ac_word" >&5
6084 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
6085 if test "${ac_cv_prog_CC+set}" = set; then
6086 echo $ECHO_N "(cached) $ECHO_C" >&6
6088 if test -n "$CC"; then
6089 ac_cv_prog_CC
="$CC" # Let the user override the test.
6091 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6095 test -z "$as_dir" && as_dir
=.
6096 for ac_exec_ext
in '' $ac_executable_extensions; do
6097 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6098 ac_cv_prog_CC
="$ac_tool_prefix$ac_prog"
6099 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6108 if test -n "$CC"; then
6109 echo "$as_me:$LINENO: result: $CC" >&5
6110 echo "${ECHO_T}$CC" >&6
6112 echo "$as_me:$LINENO: result: no" >&5
6113 echo "${ECHO_T}no" >&6
6116 test -n "$CC" && break
6119 if test -z "$CC"; then
6123 # Extract the first word of "$ac_prog", so it can be a program name with args.
6124 set dummy
$ac_prog; ac_word
=$2
6125 echo "$as_me:$LINENO: checking for $ac_word" >&5
6126 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
6127 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
6128 echo $ECHO_N "(cached) $ECHO_C" >&6
6130 if test -n "$ac_ct_CC"; then
6131 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
6133 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6137 test -z "$as_dir" && as_dir
=.
6138 for ac_exec_ext
in '' $ac_executable_extensions; do
6139 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6140 ac_cv_prog_ac_ct_CC
="$ac_prog"
6141 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6149 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
6150 if test -n "$ac_ct_CC"; then
6151 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
6152 echo "${ECHO_T}$ac_ct_CC" >&6
6154 echo "$as_me:$LINENO: result: no" >&5
6155 echo "${ECHO_T}no" >&6
6158 test -n "$ac_ct_CC" && break
6167 test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
6168 See \`config.log' for more details." >&5
6169 echo "$as_me: error: no acceptable C compiler found in \$PATH
6170 See \`config.log' for more details." >&2;}
6171 { (exit 1); exit 1; }; }
6173 # Provide some information about the compiler.
6174 echo "$as_me:$LINENO:" \
6175 "checking for C compiler version" >&5
6176 ac_compiler
=`set X $ac_compile; echo $2`
6177 { (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5
6178 (eval $ac_compiler --version </dev
/null
>&5) 2>&5
6180 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6181 (exit $ac_status); }
6182 { (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5
6183 (eval $ac_compiler -v </dev
/null
>&5) 2>&5
6185 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6186 (exit $ac_status); }
6187 { (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5
6188 (eval $ac_compiler -V </dev
/null
>&5) 2>&5
6190 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6191 (exit $ac_status); }
6193 echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
6194 echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6
6195 if test "${ac_cv_c_compiler_gnu+set}" = set; then
6196 echo $ECHO_N "(cached) $ECHO_C" >&6
6198 cat >conftest.
$ac_ext <<_ACEOF
6201 cat confdefs.h
>>conftest.
$ac_ext
6202 cat >>conftest.
$ac_ext <<_ACEOF
6203 /* end confdefs.h. */
6216 rm -f conftest.
$ac_objext
6217 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6218 (eval $ac_compile) 2>conftest.er1
6220 grep -v '^ *+' conftest.er1
>conftest.err
6222 cat conftest.err
>&5
6223 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6224 (exit $ac_status); } &&
6225 { ac_try
='test -z "$ac_c_werror_flag"
6226 || test ! -s conftest.err'
6227 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6230 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6231 (exit $ac_status); }; } &&
6232 { ac_try
='test -s conftest.$ac_objext'
6233 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6236 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6237 (exit $ac_status); }; }; then
6240 echo "$as_me: failed program was:" >&5
6241 sed 's/^/| /' conftest.
$ac_ext >&5
6245 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
6246 ac_cv_c_compiler_gnu
=$ac_compiler_gnu
6249 echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
6250 echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6
6251 GCC
=`test $ac_compiler_gnu = yes && echo yes`
6252 ac_test_CFLAGS
=${CFLAGS+set}
6253 ac_save_CFLAGS
=$CFLAGS
6255 echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
6256 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6
6257 if test "${ac_cv_prog_cc_g+set}" = set; then
6258 echo $ECHO_N "(cached) $ECHO_C" >&6
6260 cat >conftest.
$ac_ext <<_ACEOF
6263 cat confdefs.h
>>conftest.
$ac_ext
6264 cat >>conftest.
$ac_ext <<_ACEOF
6265 /* end confdefs.h. */
6275 rm -f conftest.
$ac_objext
6276 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6277 (eval $ac_compile) 2>conftest.er1
6279 grep -v '^ *+' conftest.er1
>conftest.err
6281 cat conftest.err
>&5
6282 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6283 (exit $ac_status); } &&
6284 { ac_try
='test -z "$ac_c_werror_flag"
6285 || test ! -s conftest.err'
6286 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6289 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6290 (exit $ac_status); }; } &&
6291 { ac_try
='test -s conftest.$ac_objext'
6292 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6295 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6296 (exit $ac_status); }; }; then
6299 echo "$as_me: failed program was:" >&5
6300 sed 's/^/| /' conftest.
$ac_ext >&5
6304 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
6306 echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
6307 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6
6308 if test "$ac_test_CFLAGS" = set; then
6309 CFLAGS
=$ac_save_CFLAGS
6310 elif test $ac_cv_prog_cc_g = yes; then
6311 if test "$GCC" = yes; then
6317 if test "$GCC" = yes; then
6323 echo "$as_me:$LINENO: checking for $CC option to accept ANSI C" >&5
6324 echo $ECHO_N "checking for $CC option to accept ANSI C... $ECHO_C" >&6
6325 if test "${ac_cv_prog_cc_stdc+set}" = set; then
6326 echo $ECHO_N "(cached) $ECHO_C" >&6
6328 ac_cv_prog_cc_stdc
=no
6330 cat >conftest.
$ac_ext <<_ACEOF
6333 cat confdefs.h
>>conftest.
$ac_ext
6334 cat >>conftest.
$ac_ext <<_ACEOF
6335 /* end confdefs.h. */
6338 #include <sys/types.h>
6339 #include <sys/stat.h>
6340 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
6341 struct buf { int x; };
6342 FILE * (*rcsopen) (struct buf *, struct stat *, int);
6343 static char *e (p, i)
6349 static char *f (char * (*g) (char **, int), char **p, ...)
6354 s = g (p, va_arg (v,int));
6359 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
6360 function prototypes and stuff, but not '\xHH' hex character constants.
6361 These don't provoke an error unfortunately, instead are silently treated
6362 as 'x'. The following induces an error, until -std1 is added to get
6363 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
6364 array size at least. It's necessary to write '\x00'==0 to get something
6365 that's true only with -std1. */
6366 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
6368 int test (int i, double x);
6369 struct s1 {int (*f) (int a);};
6370 struct s2 {int (*f) (double a);};
6371 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
6377 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
6382 # Don't try gcc -ansi; that turns off useful extensions and
6383 # breaks some systems' header files.
6384 # AIX -qlanglvl=ansi
6385 # Ultrix and OSF/1 -std1
6386 # HP-UX 10.20 and later -Ae
6387 # HP-UX older versions -Aa -D_HPUX_SOURCE
6388 # SVR4 -Xc -D__EXTENSIONS__
6389 for ac_arg
in "" -qlanglvl=ansi
-std1 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
6391 CC
="$ac_save_CC $ac_arg"
6392 rm -f conftest.
$ac_objext
6393 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6394 (eval $ac_compile) 2>conftest.er1
6396 grep -v '^ *+' conftest.er1
>conftest.err
6398 cat conftest.err
>&5
6399 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6400 (exit $ac_status); } &&
6401 { ac_try
='test -z "$ac_c_werror_flag"
6402 || test ! -s conftest.err'
6403 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6406 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6407 (exit $ac_status); }; } &&
6408 { ac_try
='test -s conftest.$ac_objext'
6409 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6412 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6413 (exit $ac_status); }; }; then
6414 ac_cv_prog_cc_stdc
=$ac_arg
6417 echo "$as_me: failed program was:" >&5
6418 sed 's/^/| /' conftest.
$ac_ext >&5
6421 rm -f conftest.err conftest.
$ac_objext
6423 rm -f conftest.
$ac_ext conftest.
$ac_objext
6428 case "x$ac_cv_prog_cc_stdc" in
6430 echo "$as_me:$LINENO: result: none needed" >&5
6431 echo "${ECHO_T}none needed" >&6 ;;
6433 echo "$as_me:$LINENO: result: $ac_cv_prog_cc_stdc" >&5
6434 echo "${ECHO_T}$ac_cv_prog_cc_stdc" >&6
6435 CC
="$CC $ac_cv_prog_cc_stdc" ;;
6438 # Some people use a C++ compiler to compile C. Since we use `exit',
6439 # in C++ we need to declare it. In case someone uses the same compiler
6440 # for both compiling C and C++ we need to have the C++ compiler decide
6441 # the declaration of exit, since it's the most demanding environment.
6442 cat >conftest.
$ac_ext <<_ACEOF
6447 rm -f conftest.
$ac_objext
6448 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6449 (eval $ac_compile) 2>conftest.er1
6451 grep -v '^ *+' conftest.er1
>conftest.err
6453 cat conftest.err
>&5
6454 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6455 (exit $ac_status); } &&
6456 { ac_try
='test -z "$ac_c_werror_flag"
6457 || test ! -s conftest.err'
6458 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6461 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6462 (exit $ac_status); }; } &&
6463 { ac_try
='test -s conftest.$ac_objext'
6464 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6467 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6468 (exit $ac_status); }; }; then
6469 for ac_declaration
in \
6471 'extern "C" void std::exit (int) throw (); using std::exit;' \
6472 'extern "C" void std::exit (int); using std::exit;' \
6473 'extern "C" void exit (int) throw ();' \
6474 'extern "C" void exit (int);' \
6477 cat >conftest.
$ac_ext <<_ACEOF
6480 cat confdefs.h
>>conftest.
$ac_ext
6481 cat >>conftest.
$ac_ext <<_ACEOF
6482 /* end confdefs.h. */
6493 rm -f conftest.
$ac_objext
6494 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6495 (eval $ac_compile) 2>conftest.er1
6497 grep -v '^ *+' conftest.er1
>conftest.err
6499 cat conftest.err
>&5
6500 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6501 (exit $ac_status); } &&
6502 { ac_try
='test -z "$ac_c_werror_flag"
6503 || test ! -s conftest.err'
6504 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6507 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6508 (exit $ac_status); }; } &&
6509 { ac_try
='test -s conftest.$ac_objext'
6510 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6513 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6514 (exit $ac_status); }; }; then
6517 echo "$as_me: failed program was:" >&5
6518 sed 's/^/| /' conftest.
$ac_ext >&5
6522 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
6523 cat >conftest.
$ac_ext <<_ACEOF
6526 cat confdefs.h
>>conftest.
$ac_ext
6527 cat >>conftest.
$ac_ext <<_ACEOF
6528 /* end confdefs.h. */
6538 rm -f conftest.
$ac_objext
6539 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6540 (eval $ac_compile) 2>conftest.er1
6542 grep -v '^ *+' conftest.er1
>conftest.err
6544 cat conftest.err
>&5
6545 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6546 (exit $ac_status); } &&
6547 { ac_try
='test -z "$ac_c_werror_flag"
6548 || test ! -s conftest.err'
6549 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6552 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6553 (exit $ac_status); }; } &&
6554 { ac_try
='test -s conftest.$ac_objext'
6555 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6558 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6559 (exit $ac_status); }; }; then
6562 echo "$as_me: failed program was:" >&5
6563 sed 's/^/| /' conftest.
$ac_ext >&5
6566 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
6569 if test -n "$ac_declaration"; then
6570 echo '#ifdef __cplusplus' >>confdefs.h
6571 echo $ac_declaration >>confdefs.h
6572 echo '#endif' >>confdefs.h
6576 echo "$as_me: failed program was:" >&5
6577 sed 's/^/| /' conftest.
$ac_ext >&5
6580 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
6582 ac_cpp
='$CPP $CPPFLAGS'
6583 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6584 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6585 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
6587 depcc
="$CC" am_compiler_list
=
6589 echo "$as_me:$LINENO: checking dependency style of $depcc" >&5
6590 echo $ECHO_N "checking dependency style of $depcc... $ECHO_C" >&6
6591 if test "${am_cv_CC_dependencies_compiler_type+set}" = set; then
6592 echo $ECHO_N "(cached) $ECHO_C" >&6
6594 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
6595 # We make a subdir and do the tests there. Otherwise we can end up
6596 # making bogus files that we don't know about and never remove. For
6597 # instance it was reported that on HP-UX the gcc test will end up
6598 # making a dummy file named `D' -- because `-MD' means `put the output
6601 # Copy depcomp to subdir because otherwise we won't find it if we're
6602 # using a relative directory.
6603 cp "$am_depcomp" conftest.dir
6605 # We will build objects and dependencies in a subdirectory because
6606 # it helps to detect inapplicable dependency modes. For instance
6607 # both Tru64's cc and ICC support -MD to output dependencies as a
6608 # side effect of compilation, but ICC will put the dependencies in
6609 # the current directory while Tru64 will put them in the object
6613 am_cv_CC_dependencies_compiler_type
=none
6614 if test "$am_compiler_list" = ""; then
6615 am_compiler_list
=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
6617 for depmode
in $am_compiler_list; do
6618 # Setup a source with many dependencies, because some compilers
6619 # like to wrap large dependency lists on column 80 (with \), and
6620 # we should not choose a depcomp mode which is confused by this.
6622 # We need to recreate these files for each test, as the compiler may
6623 # overwrite some of them when testing with obscure command lines.
6624 # This happens at least with the AIX C compiler.
6626 for i
in 1 2 3 4 5 6; do
6627 echo '#include "conftst'$i'.h"' >> sub
/conftest.c
6628 # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
6629 # Solaris 8's {/usr,}/bin/sh.
6630 touch sub
/conftst
$i.h
6632 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
6636 # after this tag, mechanisms are not by side-effect, so they'll
6637 # only be used when explicitly requested
6638 if test "x$enable_dependency_tracking" = xyes
; then
6646 # We check with `-c' and `-o' for the sake of the "dashmstdout"
6647 # mode. It turns out that the SunPro C++ compiler does not properly
6648 # handle `-M -o', and we need to detect this.
6649 if depmode
=$depmode \
6650 source=sub
/conftest.c object
=sub
/conftest.
${OBJEXT-o} \
6651 depfile
=sub
/conftest.Po tmpdepfile
=sub
/conftest.TPo \
6652 $SHELL .
/depcomp
$depcc -c -o sub
/conftest.
${OBJEXT-o} sub
/conftest.c \
6653 >/dev
/null
2>conftest.err
&&
6654 grep sub
/conftst6.h sub
/conftest.Po
> /dev
/null
2>&1 &&
6655 grep sub
/conftest.
${OBJEXT-o} sub
/conftest.Po
> /dev
/null
2>&1 &&
6656 ${MAKE-make} -s -f confmf
> /dev
/null
2>&1; then
6657 # icc doesn't choke on unknown options, it will just issue warnings
6658 # or remarks (even with -Werror). So we grep stderr for any message
6659 # that says an option was ignored or not supported.
6660 # When given -MP, icc 7.0 and 7.1 complain thusly:
6661 # icc: Command line warning: ignoring option '-M'; no argument required
6662 # The diagnosis changed in icc 8.0:
6663 # icc: Command line remark: option '-MP' not supported
6664 if (grep 'ignoring option' conftest.err ||
6665 grep 'not supported' conftest.err
) >/dev
/null
2>&1; then :; else
6666 am_cv_CC_dependencies_compiler_type
=$depmode
6675 am_cv_CC_dependencies_compiler_type
=none
6679 echo "$as_me:$LINENO: result: $am_cv_CC_dependencies_compiler_type" >&5
6680 echo "${ECHO_T}$am_cv_CC_dependencies_compiler_type" >&6
6681 CCDEPMODE
=depmode
=$am_cv_CC_dependencies_compiler_type
6686 test "x$enable_dependency_tracking" != xno \
6687 && test "$am_cv_CC_dependencies_compiler_type" = gcc3
; then
6689 am__fastdepCC_FALSE
='#'
6691 am__fastdepCC_TRUE
='#'
6692 am__fastdepCC_FALSE
=
6697 ac_cpp
='$CPP $CPPFLAGS'
6698 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6699 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6700 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
6701 echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5
6702 echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6
6703 # On Suns, sometimes $CPP names a directory.
6704 if test -n "$CPP" && test -d "$CPP"; then
6707 if test -z "$CPP"; then
6708 if test "${ac_cv_prog_CPP+set}" = set; then
6709 echo $ECHO_N "(cached) $ECHO_C" >&6
6711 # Double quotes because CPP needs to be expanded
6712 for CPP
in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
6715 for ac_c_preproc_warn_flag
in '' yes
6717 # Use a header file that comes with gcc, so configuring glibc
6718 # with a fresh cross-compiler works.
6719 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
6720 # <limits.h> exists even on freestanding compilers.
6721 # On the NeXT, cc -E runs the code through the compiler's parser,
6722 # not just through cpp. "Syntax error" is here to catch this case.
6723 cat >conftest.
$ac_ext <<_ACEOF
6726 cat confdefs.h
>>conftest.
$ac_ext
6727 cat >>conftest.
$ac_ext <<_ACEOF
6728 /* end confdefs.h. */
6730 # include <limits.h>
6732 # include <assert.h>
6736 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
6737 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
6739 grep -v '^ *+' conftest.er1
>conftest.err
6741 cat conftest.err
>&5
6742 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6743 (exit $ac_status); } >/dev
/null
; then
6744 if test -s conftest.err
; then
6745 ac_cpp_err
=$ac_c_preproc_warn_flag
6746 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
6753 if test -z "$ac_cpp_err"; then
6756 echo "$as_me: failed program was:" >&5
6757 sed 's/^/| /' conftest.
$ac_ext >&5
6759 # Broken: fails on valid input.
6762 rm -f conftest.err conftest.
$ac_ext
6764 # OK, works on sane cases. Now check whether non-existent headers
6765 # can be detected and how.
6766 cat >conftest.
$ac_ext <<_ACEOF
6769 cat confdefs.h
>>conftest.
$ac_ext
6770 cat >>conftest.
$ac_ext <<_ACEOF
6771 /* end confdefs.h. */
6772 #include <ac_nonexistent.h>
6774 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
6775 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
6777 grep -v '^ *+' conftest.er1
>conftest.err
6779 cat conftest.err
>&5
6780 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6781 (exit $ac_status); } >/dev
/null
; then
6782 if test -s conftest.err
; then
6783 ac_cpp_err
=$ac_c_preproc_warn_flag
6784 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
6791 if test -z "$ac_cpp_err"; then
6792 # Broken: success on invalid input.
6795 echo "$as_me: failed program was:" >&5
6796 sed 's/^/| /' conftest.
$ac_ext >&5
6798 # Passes both tests.
6802 rm -f conftest.err conftest.
$ac_ext
6805 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
6806 rm -f conftest.err conftest.
$ac_ext
6807 if $ac_preproc_ok; then
6819 echo "$as_me:$LINENO: result: $CPP" >&5
6820 echo "${ECHO_T}$CPP" >&6
6822 for ac_c_preproc_warn_flag
in '' yes
6824 # Use a header file that comes with gcc, so configuring glibc
6825 # with a fresh cross-compiler works.
6826 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
6827 # <limits.h> exists even on freestanding compilers.
6828 # On the NeXT, cc -E runs the code through the compiler's parser,
6829 # not just through cpp. "Syntax error" is here to catch this case.
6830 cat >conftest.
$ac_ext <<_ACEOF
6833 cat confdefs.h
>>conftest.
$ac_ext
6834 cat >>conftest.
$ac_ext <<_ACEOF
6835 /* end confdefs.h. */
6837 # include <limits.h>
6839 # include <assert.h>
6843 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
6844 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
6846 grep -v '^ *+' conftest.er1
>conftest.err
6848 cat conftest.err
>&5
6849 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6850 (exit $ac_status); } >/dev
/null
; then
6851 if test -s conftest.err
; then
6852 ac_cpp_err
=$ac_c_preproc_warn_flag
6853 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
6860 if test -z "$ac_cpp_err"; then
6863 echo "$as_me: failed program was:" >&5
6864 sed 's/^/| /' conftest.
$ac_ext >&5
6866 # Broken: fails on valid input.
6869 rm -f conftest.err conftest.
$ac_ext
6871 # OK, works on sane cases. Now check whether non-existent headers
6872 # can be detected and how.
6873 cat >conftest.
$ac_ext <<_ACEOF
6876 cat confdefs.h
>>conftest.
$ac_ext
6877 cat >>conftest.
$ac_ext <<_ACEOF
6878 /* end confdefs.h. */
6879 #include <ac_nonexistent.h>
6881 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
6882 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
6884 grep -v '^ *+' conftest.er1
>conftest.err
6886 cat conftest.err
>&5
6887 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6888 (exit $ac_status); } >/dev
/null
; then
6889 if test -s conftest.err
; then
6890 ac_cpp_err
=$ac_c_preproc_warn_flag
6891 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
6898 if test -z "$ac_cpp_err"; then
6899 # Broken: success on invalid input.
6902 echo "$as_me: failed program was:" >&5
6903 sed 's/^/| /' conftest.
$ac_ext >&5
6905 # Passes both tests.
6909 rm -f conftest.err conftest.
$ac_ext
6912 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
6913 rm -f conftest.err conftest.
$ac_ext
6914 if $ac_preproc_ok; then
6917 { { echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check
6918 See \`config.log' for more details." >&5
6919 echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check
6920 See \`config.log' for more details." >&2;}
6921 { (exit 1); exit 1; }; }
6925 ac_cpp
='$CPP $CPPFLAGS'
6926 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6927 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6928 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
6931 ac_cpp
='$CXXCPP $CPPFLAGS'
6932 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6933 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6934 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
6935 if test -n "$ac_tool_prefix"; then
6936 for ac_prog
in $CCC g
++ c
++ gpp aCC CC cxx cc
++ cl FCC KCC RCC xlC_r xlC
6938 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
6939 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
6940 echo "$as_me:$LINENO: checking for $ac_word" >&5
6941 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
6942 if test "${ac_cv_prog_CXX+set}" = set; then
6943 echo $ECHO_N "(cached) $ECHO_C" >&6
6945 if test -n "$CXX"; then
6946 ac_cv_prog_CXX
="$CXX" # Let the user override the test.
6948 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6952 test -z "$as_dir" && as_dir
=.
6953 for ac_exec_ext
in '' $ac_executable_extensions; do
6954 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6955 ac_cv_prog_CXX
="$ac_tool_prefix$ac_prog"
6956 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6965 if test -n "$CXX"; then
6966 echo "$as_me:$LINENO: result: $CXX" >&5
6967 echo "${ECHO_T}$CXX" >&6
6969 echo "$as_me:$LINENO: result: no" >&5
6970 echo "${ECHO_T}no" >&6
6973 test -n "$CXX" && break
6976 if test -z "$CXX"; then
6978 for ac_prog
in $CCC g
++ c
++ gpp aCC CC cxx cc
++ cl FCC KCC RCC xlC_r xlC
6980 # Extract the first word of "$ac_prog", so it can be a program name with args.
6981 set dummy
$ac_prog; ac_word
=$2
6982 echo "$as_me:$LINENO: checking for $ac_word" >&5
6983 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
6984 if test "${ac_cv_prog_ac_ct_CXX+set}" = set; then
6985 echo $ECHO_N "(cached) $ECHO_C" >&6
6987 if test -n "$ac_ct_CXX"; then
6988 ac_cv_prog_ac_ct_CXX
="$ac_ct_CXX" # Let the user override the test.
6990 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6994 test -z "$as_dir" && as_dir
=.
6995 for ac_exec_ext
in '' $ac_executable_extensions; do
6996 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6997 ac_cv_prog_ac_ct_CXX
="$ac_prog"
6998 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
7006 ac_ct_CXX
=$ac_cv_prog_ac_ct_CXX
7007 if test -n "$ac_ct_CXX"; then
7008 echo "$as_me:$LINENO: result: $ac_ct_CXX" >&5
7009 echo "${ECHO_T}$ac_ct_CXX" >&6
7011 echo "$as_me:$LINENO: result: no" >&5
7012 echo "${ECHO_T}no" >&6
7015 test -n "$ac_ct_CXX" && break
7017 test -n "$ac_ct_CXX" || ac_ct_CXX
="g++"
7023 # Provide some information about the compiler.
7024 echo "$as_me:$LINENO:" \
7025 "checking for C++ compiler version" >&5
7026 ac_compiler
=`set X $ac_compile; echo $2`
7027 { (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5
7028 (eval $ac_compiler --version </dev
/null
>&5) 2>&5
7030 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7031 (exit $ac_status); }
7032 { (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5
7033 (eval $ac_compiler -v </dev
/null
>&5) 2>&5
7035 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7036 (exit $ac_status); }
7037 { (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5
7038 (eval $ac_compiler -V </dev
/null
>&5) 2>&5
7040 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7041 (exit $ac_status); }
7043 echo "$as_me:$LINENO: checking whether we are using the GNU C++ compiler" >&5
7044 echo $ECHO_N "checking whether we are using the GNU C++ compiler... $ECHO_C" >&6
7045 if test "${ac_cv_cxx_compiler_gnu+set}" = set; then
7046 echo $ECHO_N "(cached) $ECHO_C" >&6
7048 cat >conftest.
$ac_ext <<_ACEOF
7051 cat confdefs.h
>>conftest.
$ac_ext
7052 cat >>conftest.
$ac_ext <<_ACEOF
7053 /* end confdefs.h. */
7066 rm -f conftest.
$ac_objext
7067 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7068 (eval $ac_compile) 2>conftest.er1
7070 grep -v '^ *+' conftest.er1
>conftest.err
7072 cat conftest.err
>&5
7073 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7074 (exit $ac_status); } &&
7075 { ac_try
='test -z "$ac_cxx_werror_flag"
7076 || test ! -s conftest.err'
7077 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7080 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7081 (exit $ac_status); }; } &&
7082 { ac_try
='test -s conftest.$ac_objext'
7083 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7086 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7087 (exit $ac_status); }; }; then
7090 echo "$as_me: failed program was:" >&5
7091 sed 's/^/| /' conftest.
$ac_ext >&5
7095 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
7096 ac_cv_cxx_compiler_gnu
=$ac_compiler_gnu
7099 echo "$as_me:$LINENO: result: $ac_cv_cxx_compiler_gnu" >&5
7100 echo "${ECHO_T}$ac_cv_cxx_compiler_gnu" >&6
7101 GXX
=`test $ac_compiler_gnu = yes && echo yes`
7102 ac_test_CXXFLAGS
=${CXXFLAGS+set}
7103 ac_save_CXXFLAGS
=$CXXFLAGS
7105 echo "$as_me:$LINENO: checking whether $CXX accepts -g" >&5
7106 echo $ECHO_N "checking whether $CXX accepts -g... $ECHO_C" >&6
7107 if test "${ac_cv_prog_cxx_g+set}" = set; then
7108 echo $ECHO_N "(cached) $ECHO_C" >&6
7110 cat >conftest.
$ac_ext <<_ACEOF
7113 cat confdefs.h
>>conftest.
$ac_ext
7114 cat >>conftest.
$ac_ext <<_ACEOF
7115 /* end confdefs.h. */
7125 rm -f conftest.
$ac_objext
7126 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7127 (eval $ac_compile) 2>conftest.er1
7129 grep -v '^ *+' conftest.er1
>conftest.err
7131 cat conftest.err
>&5
7132 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7133 (exit $ac_status); } &&
7134 { ac_try
='test -z "$ac_cxx_werror_flag"
7135 || test ! -s conftest.err'
7136 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7139 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7140 (exit $ac_status); }; } &&
7141 { ac_try
='test -s conftest.$ac_objext'
7142 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7145 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7146 (exit $ac_status); }; }; then
7147 ac_cv_prog_cxx_g
=yes
7149 echo "$as_me: failed program was:" >&5
7150 sed 's/^/| /' conftest.
$ac_ext >&5
7154 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
7156 echo "$as_me:$LINENO: result: $ac_cv_prog_cxx_g" >&5
7157 echo "${ECHO_T}$ac_cv_prog_cxx_g" >&6
7158 if test "$ac_test_CXXFLAGS" = set; then
7159 CXXFLAGS
=$ac_save_CXXFLAGS
7160 elif test $ac_cv_prog_cxx_g = yes; then
7161 if test "$GXX" = yes; then
7167 if test "$GXX" = yes; then
7173 for ac_declaration
in \
7175 'extern "C" void std::exit (int) throw (); using std::exit;' \
7176 'extern "C" void std::exit (int); using std::exit;' \
7177 'extern "C" void exit (int) throw ();' \
7178 'extern "C" void exit (int);' \
7181 cat >conftest.
$ac_ext <<_ACEOF
7184 cat confdefs.h
>>conftest.
$ac_ext
7185 cat >>conftest.
$ac_ext <<_ACEOF
7186 /* end confdefs.h. */
7197 rm -f conftest.
$ac_objext
7198 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7199 (eval $ac_compile) 2>conftest.er1
7201 grep -v '^ *+' conftest.er1
>conftest.err
7203 cat conftest.err
>&5
7204 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7205 (exit $ac_status); } &&
7206 { ac_try
='test -z "$ac_cxx_werror_flag"
7207 || test ! -s conftest.err'
7208 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7211 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7212 (exit $ac_status); }; } &&
7213 { ac_try
='test -s conftest.$ac_objext'
7214 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7217 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7218 (exit $ac_status); }; }; then
7221 echo "$as_me: failed program was:" >&5
7222 sed 's/^/| /' conftest.
$ac_ext >&5
7226 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
7227 cat >conftest.
$ac_ext <<_ACEOF
7230 cat confdefs.h
>>conftest.
$ac_ext
7231 cat >>conftest.
$ac_ext <<_ACEOF
7232 /* end confdefs.h. */
7242 rm -f conftest.
$ac_objext
7243 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7244 (eval $ac_compile) 2>conftest.er1
7246 grep -v '^ *+' conftest.er1
>conftest.err
7248 cat conftest.err
>&5
7249 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7250 (exit $ac_status); } &&
7251 { ac_try
='test -z "$ac_cxx_werror_flag"
7252 || test ! -s conftest.err'
7253 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7256 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7257 (exit $ac_status); }; } &&
7258 { ac_try
='test -s conftest.$ac_objext'
7259 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7262 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7263 (exit $ac_status); }; }; then
7266 echo "$as_me: failed program was:" >&5
7267 sed 's/^/| /' conftest.
$ac_ext >&5
7270 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
7273 if test -n "$ac_declaration"; then
7274 echo '#ifdef __cplusplus' >>confdefs.h
7275 echo $ac_declaration >>confdefs.h
7276 echo '#endif' >>confdefs.h
7280 ac_cpp
='$CPP $CPPFLAGS'
7281 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7282 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7283 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
7285 depcc
="$CXX" am_compiler_list
=
7287 echo "$as_me:$LINENO: checking dependency style of $depcc" >&5
7288 echo $ECHO_N "checking dependency style of $depcc... $ECHO_C" >&6
7289 if test "${am_cv_CXX_dependencies_compiler_type+set}" = set; then
7290 echo $ECHO_N "(cached) $ECHO_C" >&6
7292 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
7293 # We make a subdir and do the tests there. Otherwise we can end up
7294 # making bogus files that we don't know about and never remove. For
7295 # instance it was reported that on HP-UX the gcc test will end up
7296 # making a dummy file named `D' -- because `-MD' means `put the output
7299 # Copy depcomp to subdir because otherwise we won't find it if we're
7300 # using a relative directory.
7301 cp "$am_depcomp" conftest.dir
7303 # We will build objects and dependencies in a subdirectory because
7304 # it helps to detect inapplicable dependency modes. For instance
7305 # both Tru64's cc and ICC support -MD to output dependencies as a
7306 # side effect of compilation, but ICC will put the dependencies in
7307 # the current directory while Tru64 will put them in the object
7311 am_cv_CXX_dependencies_compiler_type
=none
7312 if test "$am_compiler_list" = ""; then
7313 am_compiler_list
=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
7315 for depmode
in $am_compiler_list; do
7316 # Setup a source with many dependencies, because some compilers
7317 # like to wrap large dependency lists on column 80 (with \), and
7318 # we should not choose a depcomp mode which is confused by this.
7320 # We need to recreate these files for each test, as the compiler may
7321 # overwrite some of them when testing with obscure command lines.
7322 # This happens at least with the AIX C compiler.
7324 for i
in 1 2 3 4 5 6; do
7325 echo '#include "conftst'$i'.h"' >> sub
/conftest.c
7326 # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
7327 # Solaris 8's {/usr,}/bin/sh.
7328 touch sub
/conftst
$i.h
7330 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
7334 # after this tag, mechanisms are not by side-effect, so they'll
7335 # only be used when explicitly requested
7336 if test "x$enable_dependency_tracking" = xyes
; then
7344 # We check with `-c' and `-o' for the sake of the "dashmstdout"
7345 # mode. It turns out that the SunPro C++ compiler does not properly
7346 # handle `-M -o', and we need to detect this.
7347 if depmode
=$depmode \
7348 source=sub
/conftest.c object
=sub
/conftest.
${OBJEXT-o} \
7349 depfile
=sub
/conftest.Po tmpdepfile
=sub
/conftest.TPo \
7350 $SHELL .
/depcomp
$depcc -c -o sub
/conftest.
${OBJEXT-o} sub
/conftest.c \
7351 >/dev
/null
2>conftest.err
&&
7352 grep sub
/conftst6.h sub
/conftest.Po
> /dev
/null
2>&1 &&
7353 grep sub
/conftest.
${OBJEXT-o} sub
/conftest.Po
> /dev
/null
2>&1 &&
7354 ${MAKE-make} -s -f confmf
> /dev
/null
2>&1; then
7355 # icc doesn't choke on unknown options, it will just issue warnings
7356 # or remarks (even with -Werror). So we grep stderr for any message
7357 # that says an option was ignored or not supported.
7358 # When given -MP, icc 7.0 and 7.1 complain thusly:
7359 # icc: Command line warning: ignoring option '-M'; no argument required
7360 # The diagnosis changed in icc 8.0:
7361 # icc: Command line remark: option '-MP' not supported
7362 if (grep 'ignoring option' conftest.err ||
7363 grep 'not supported' conftest.err
) >/dev
/null
2>&1; then :; else
7364 am_cv_CXX_dependencies_compiler_type
=$depmode
7373 am_cv_CXX_dependencies_compiler_type
=none
7377 echo "$as_me:$LINENO: result: $am_cv_CXX_dependencies_compiler_type" >&5
7378 echo "${ECHO_T}$am_cv_CXX_dependencies_compiler_type" >&6
7379 CXXDEPMODE
=depmode
=$am_cv_CXX_dependencies_compiler_type
7384 test "x$enable_dependency_tracking" != xno \
7385 && test "$am_cv_CXX_dependencies_compiler_type" = gcc3
; then
7386 am__fastdepCXX_TRUE
=
7387 am__fastdepCXX_FALSE
='#'
7389 am__fastdepCXX_TRUE
='#'
7390 am__fastdepCXX_FALSE
=
7394 ac_cpp
='$CXXCPP $CPPFLAGS'
7395 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7396 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7397 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
7398 echo "$as_me:$LINENO: checking how to run the C++ preprocessor" >&5
7399 echo $ECHO_N "checking how to run the C++ preprocessor... $ECHO_C" >&6
7400 if test -z "$CXXCPP"; then
7401 if test "${ac_cv_prog_CXXCPP+set}" = set; then
7402 echo $ECHO_N "(cached) $ECHO_C" >&6
7404 # Double quotes because CXXCPP needs to be expanded
7405 for CXXCPP
in "$CXX -E" "/lib/cpp"
7408 for ac_cxx_preproc_warn_flag
in '' yes
7410 # Use a header file that comes with gcc, so configuring glibc
7411 # with a fresh cross-compiler works.
7412 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
7413 # <limits.h> exists even on freestanding compilers.
7414 # On the NeXT, cc -E runs the code through the compiler's parser,
7415 # not just through cpp. "Syntax error" is here to catch this case.
7416 cat >conftest.
$ac_ext <<_ACEOF
7419 cat confdefs.h
>>conftest.
$ac_ext
7420 cat >>conftest.
$ac_ext <<_ACEOF
7421 /* end confdefs.h. */
7423 # include <limits.h>
7425 # include <assert.h>
7429 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
7430 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
7432 grep -v '^ *+' conftest.er1
>conftest.err
7434 cat conftest.err
>&5
7435 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7436 (exit $ac_status); } >/dev
/null
; then
7437 if test -s conftest.err
; then
7438 ac_cpp_err
=$ac_cxx_preproc_warn_flag
7439 ac_cpp_err
=$ac_cpp_err$ac_cxx_werror_flag
7446 if test -z "$ac_cpp_err"; then
7449 echo "$as_me: failed program was:" >&5
7450 sed 's/^/| /' conftest.
$ac_ext >&5
7452 # Broken: fails on valid input.
7455 rm -f conftest.err conftest.
$ac_ext
7457 # OK, works on sane cases. Now check whether non-existent headers
7458 # can be detected and how.
7459 cat >conftest.
$ac_ext <<_ACEOF
7462 cat confdefs.h
>>conftest.
$ac_ext
7463 cat >>conftest.
$ac_ext <<_ACEOF
7464 /* end confdefs.h. */
7465 #include <ac_nonexistent.h>
7467 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
7468 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
7470 grep -v '^ *+' conftest.er1
>conftest.err
7472 cat conftest.err
>&5
7473 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7474 (exit $ac_status); } >/dev
/null
; then
7475 if test -s conftest.err
; then
7476 ac_cpp_err
=$ac_cxx_preproc_warn_flag
7477 ac_cpp_err
=$ac_cpp_err$ac_cxx_werror_flag
7484 if test -z "$ac_cpp_err"; then
7485 # Broken: success on invalid input.
7488 echo "$as_me: failed program was:" >&5
7489 sed 's/^/| /' conftest.
$ac_ext >&5
7491 # Passes both tests.
7495 rm -f conftest.err conftest.
$ac_ext
7498 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
7499 rm -f conftest.err conftest.
$ac_ext
7500 if $ac_preproc_ok; then
7505 ac_cv_prog_CXXCPP
=$CXXCPP
7508 CXXCPP
=$ac_cv_prog_CXXCPP
7510 ac_cv_prog_CXXCPP
=$CXXCPP
7512 echo "$as_me:$LINENO: result: $CXXCPP" >&5
7513 echo "${ECHO_T}$CXXCPP" >&6
7515 for ac_cxx_preproc_warn_flag
in '' yes
7517 # Use a header file that comes with gcc, so configuring glibc
7518 # with a fresh cross-compiler works.
7519 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
7520 # <limits.h> exists even on freestanding compilers.
7521 # On the NeXT, cc -E runs the code through the compiler's parser,
7522 # not just through cpp. "Syntax error" is here to catch this case.
7523 cat >conftest.
$ac_ext <<_ACEOF
7526 cat confdefs.h
>>conftest.
$ac_ext
7527 cat >>conftest.
$ac_ext <<_ACEOF
7528 /* end confdefs.h. */
7530 # include <limits.h>
7532 # include <assert.h>
7536 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
7537 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
7539 grep -v '^ *+' conftest.er1
>conftest.err
7541 cat conftest.err
>&5
7542 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7543 (exit $ac_status); } >/dev
/null
; then
7544 if test -s conftest.err
; then
7545 ac_cpp_err
=$ac_cxx_preproc_warn_flag
7546 ac_cpp_err
=$ac_cpp_err$ac_cxx_werror_flag
7553 if test -z "$ac_cpp_err"; then
7556 echo "$as_me: failed program was:" >&5
7557 sed 's/^/| /' conftest.
$ac_ext >&5
7559 # Broken: fails on valid input.
7562 rm -f conftest.err conftest.
$ac_ext
7564 # OK, works on sane cases. Now check whether non-existent headers
7565 # can be detected and how.
7566 cat >conftest.
$ac_ext <<_ACEOF
7569 cat confdefs.h
>>conftest.
$ac_ext
7570 cat >>conftest.
$ac_ext <<_ACEOF
7571 /* end confdefs.h. */
7572 #include <ac_nonexistent.h>
7574 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
7575 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
7577 grep -v '^ *+' conftest.er1
>conftest.err
7579 cat conftest.err
>&5
7580 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7581 (exit $ac_status); } >/dev
/null
; then
7582 if test -s conftest.err
; then
7583 ac_cpp_err
=$ac_cxx_preproc_warn_flag
7584 ac_cpp_err
=$ac_cpp_err$ac_cxx_werror_flag
7591 if test -z "$ac_cpp_err"; then
7592 # Broken: success on invalid input.
7595 echo "$as_me: failed program was:" >&5
7596 sed 's/^/| /' conftest.
$ac_ext >&5
7598 # Passes both tests.
7602 rm -f conftest.err conftest.
$ac_ext
7605 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
7606 rm -f conftest.err conftest.
$ac_ext
7607 if $ac_preproc_ok; then
7610 { { echo "$as_me:$LINENO: error: C++ preprocessor \"$CXXCPP\" fails sanity check
7611 See \`config.log' for more details." >&5
7612 echo "$as_me: error: C++ preprocessor \"$CXXCPP\" fails sanity check
7613 See \`config.log' for more details." >&2;}
7614 { (exit 1); exit 1; }; }
7618 ac_cpp
='$CPP $CPPFLAGS'
7619 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7620 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7621 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
7625 LIBTOOL_DEPS
=$LIBTOOL_DEPS" $ac_aux_dir/ltcf-cxx.sh"
7627 lt_save_CFLAGS
="$CFLAGS"
7628 AR
="$AR" LTCC
="$CC" CC
="$CXX" CXX
="$CXX" CFLAGS
="$CXXFLAGS" CPPFLAGS
="$CPPFLAGS" \
7629 MAGIC_CMD
="$MAGIC_CMD" LD
="$LD" LDFLAGS
="$LDFLAGS" LIBS
="$LIBS" \
7630 LN_S
="$LN_S" NM
="$NM" RANLIB
="$RANLIB" STRIP
="$STRIP" \
7631 AS
="$AS" DLLTOOL
="$DLLTOOL" OBJDUMP
="$OBJDUMP" \
7632 objext
="$OBJEXT" exeext
="$EXEEXT" reload_flag
="$reload_flag" \
7633 deplibs_check_method
="$deplibs_check_method" \
7634 file_magic_cmd
="$file_magic_cmd" \
7635 ${CONFIG_SHELL-/bin/sh} $ac_aux_dir/ltconfig
-o libtool
$libtool_flags \
7636 --build="$build" --add-tag=CXX
$ac_aux_dir/ltcf-cxx.sh
$host \
7637 ||
{ { echo "$as_me:$LINENO: error: libtool tag configuration failed" >&5
7638 echo "$as_me: error: libtool tag configuration failed" >&2;}
7639 { (exit 1); exit 1; }; }
7641 CFLAGS
="$lt_save_CFLAGS"
7643 # Redirect the config.log output again, so that the ltconfig log is not
7644 # clobbered by the next message.
7645 exec 5>>.
/config.log
7650 # Handle -Werror default case.
7651 if test "$ENABLE_WERROR" = default
; then
7654 if test "$GCC" = yes; then
7661 if test "x${COMPILE_COLLECTIONS}" = xyes
; then
7662 # Extract the first word of "perl", so it can be a program name with args.
7663 set dummy perl
; ac_word
=$2
7664 echo "$as_me:$LINENO: checking for $ac_word" >&5
7665 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
7666 if test "${ac_cv_path_PERL+set}" = set; then
7667 echo $ECHO_N "(cached) $ECHO_C" >&6
7671 ac_cv_path_PERL
="$PERL" # Let the user override the test with a path.
7674 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7678 test -z "$as_dir" && as_dir
=.
7679 for ac_exec_ext
in '' $ac_executable_extensions; do
7680 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7681 ac_cv_path_PERL
="$as_dir/$ac_word$ac_exec_ext"
7682 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
7691 PERL
=$ac_cv_path_PERL
7693 if test -n "$PERL"; then
7694 echo "$as_me:$LINENO: result: $PERL" >&5
7695 echo "${ECHO_T}$PERL" >&6
7697 echo "$as_me:$LINENO: result: no" >&5
7698 echo "${ECHO_T}no" >&6
7703 ac_config_files
="$ac_config_files lib/mkcollections.pl"
7705 ac_config_commands
="$ac_config_commands mkcollections.pl"
7709 if test "x${COMPILE_JNI}" = xyes
; then
7713 echo "$as_me:$LINENO: checking __attribute__((,,))" >&5
7714 echo $ECHO_N "checking __attribute__((,,))... $ECHO_C" >&6
7715 if test "${cv_c_gcc_attribute_supported+set}" = set; then
7716 echo $ECHO_N "(cached) $ECHO_C" >&6
7719 cat >conftest.
$ac_ext <<_ACEOF
7722 cat confdefs.h
>>conftest.
$ac_ext
7723 cat >>conftest.
$ac_ext <<_ACEOF
7724 /* end confdefs.h. */
7729 extern int testfunction(int x) __attribute__((,,))
7734 rm -f conftest.
$ac_objext
7735 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7736 (eval $ac_compile) 2>conftest.er1
7738 grep -v '^ *+' conftest.er1
>conftest.err
7740 cat conftest.err
>&5
7741 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7742 (exit $ac_status); } &&
7743 { ac_try
='test -z "$ac_c_werror_flag"
7744 || test ! -s conftest.err'
7745 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7748 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7749 (exit $ac_status); }; } &&
7750 { ac_try
='test -s conftest.$ac_objext'
7751 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7754 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7755 (exit $ac_status); }; }; then
7756 cv_c_gcc_attribute_supported
=yes
7758 echo "$as_me: failed program was:" >&5
7759 sed 's/^/| /' conftest.
$ac_ext >&5
7761 cv_c_gcc_attribute_supported
=no
7763 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
7767 if test "x$cv_c_gcc_attribute_supported" = xyes
; then
7769 echo "$as_me:$LINENO: result: yes" >&5
7770 echo "${ECHO_T}yes" >&6
7772 cat >>confdefs.h
<<\_ACEOF
7773 #define HAVE_GNUC25_ATTRIB
7779 echo "$as_me:$LINENO: result: no" >&5
7780 echo "${ECHO_T}no" >&6
7793 echo "$as_me:$LINENO: checking __attribute__((unused))" >&5
7794 echo $ECHO_N "checking __attribute__((unused))... $ECHO_C" >&6
7795 if test "${cv_c_gcc_attribute_unused+set}" = set; then
7796 echo $ECHO_N "(cached) $ECHO_C" >&6
7799 cat >conftest.
$ac_ext <<_ACEOF
7802 cat confdefs.h
>>conftest.
$ac_ext
7803 cat >>conftest.
$ac_ext <<_ACEOF
7804 /* end confdefs.h. */
7809 extern int testfunction(int x) __attribute__((unused))
7814 rm -f conftest.
$ac_objext
7815 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7816 (eval $ac_compile) 2>conftest.er1
7818 grep -v '^ *+' conftest.er1
>conftest.err
7820 cat conftest.err
>&5
7821 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7822 (exit $ac_status); } &&
7823 { ac_try
='test -z "$ac_c_werror_flag"
7824 || test ! -s conftest.err'
7825 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7828 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7829 (exit $ac_status); }; } &&
7830 { ac_try
='test -s conftest.$ac_objext'
7831 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7834 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7835 (exit $ac_status); }; }; then
7836 cv_c_gcc_attribute_unused
=yes
7838 echo "$as_me: failed program was:" >&5
7839 sed 's/^/| /' conftest.
$ac_ext >&5
7841 cv_c_gcc_attribute_unused
=no
7843 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
7847 if test "x$cv_c_gcc_attribute_unused" = xyes
; then
7849 echo "$as_me:$LINENO: result: yes" >&5
7850 echo "${ECHO_T}yes" >&6
7852 cat >>confdefs.h
<<\_ACEOF
7853 #define HAVE_GNUC25_UNUSED
7859 echo "$as_me:$LINENO: result: no" >&5
7860 echo "${ECHO_T}no" >&6
7869 echo "$as_me:$LINENO: checking for ANSI C header files" >&5
7870 echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6
7871 if test "${ac_cv_header_stdc+set}" = set; then
7872 echo $ECHO_N "(cached) $ECHO_C" >&6
7874 cat >conftest.
$ac_ext <<_ACEOF
7877 cat confdefs.h
>>conftest.
$ac_ext
7878 cat >>conftest.
$ac_ext <<_ACEOF
7879 /* end confdefs.h. */
7893 rm -f conftest.
$ac_objext
7894 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7895 (eval $ac_compile) 2>conftest.er1
7897 grep -v '^ *+' conftest.er1
>conftest.err
7899 cat conftest.err
>&5
7900 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7901 (exit $ac_status); } &&
7902 { ac_try
='test -z "$ac_c_werror_flag"
7903 || test ! -s conftest.err'
7904 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7907 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7908 (exit $ac_status); }; } &&
7909 { ac_try
='test -s conftest.$ac_objext'
7910 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7913 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7914 (exit $ac_status); }; }; then
7915 ac_cv_header_stdc
=yes
7917 echo "$as_me: failed program was:" >&5
7918 sed 's/^/| /' conftest.
$ac_ext >&5
7920 ac_cv_header_stdc
=no
7922 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
7924 if test $ac_cv_header_stdc = yes; then
7925 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
7926 cat >conftest.
$ac_ext <<_ACEOF
7929 cat confdefs.h
>>conftest.
$ac_ext
7930 cat >>conftest.
$ac_ext <<_ACEOF
7931 /* end confdefs.h. */
7935 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
7936 $EGREP "memchr" >/dev
/null
2>&1; then
7939 ac_cv_header_stdc
=no
7945 if test $ac_cv_header_stdc = yes; then
7946 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
7947 cat >conftest.
$ac_ext <<_ACEOF
7950 cat confdefs.h
>>conftest.
$ac_ext
7951 cat >>conftest.
$ac_ext <<_ACEOF
7952 /* end confdefs.h. */
7956 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
7957 $EGREP "free" >/dev
/null
2>&1; then
7960 ac_cv_header_stdc
=no
7966 if test $ac_cv_header_stdc = yes; then
7967 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
7968 if test "$cross_compiling" = yes; then
7971 cat >conftest.
$ac_ext <<_ACEOF
7974 cat confdefs.h
>>conftest.
$ac_ext
7975 cat >>conftest.
$ac_ext <<_ACEOF
7976 /* end confdefs.h. */
7978 #if ((' ' & 0x0FF) == 0x020)
7979 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
7980 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
7982 # define ISLOWER(c) \
7983 (('a' <= (c) && (c) <= 'i') \
7984 || ('j' <= (c) && (c) <= 'r') \
7985 || ('s' <= (c) && (c) <= 'z'))
7986 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
7989 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
7994 for (i = 0; i < 256; i++)
7995 if (XOR (islower (i), ISLOWER (i))
7996 || toupper (i) != TOUPPER (i))
8001 rm -f conftest
$ac_exeext
8002 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8003 (eval $ac_link) 2>&5
8005 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8006 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
8007 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8010 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8011 (exit $ac_status); }; }; then
8014 echo "$as_me: program exited with status $ac_status" >&5
8015 echo "$as_me: failed program was:" >&5
8016 sed 's/^/| /' conftest.
$ac_ext >&5
8019 ac_cv_header_stdc
=no
8021 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
8025 echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
8026 echo "${ECHO_T}$ac_cv_header_stdc" >&6
8027 if test $ac_cv_header_stdc = yes; then
8029 cat >>confdefs.h
<<\_ACEOF
8030 #define STDC_HEADERS 1
8036 echo "$as_me:$LINENO: checking size of void *" >&5
8037 echo $ECHO_N "checking size of void *... $ECHO_C" >&6
8038 if test "${ac_cv_sizeof_void_p+set}" = set; then
8039 echo $ECHO_N "(cached) $ECHO_C" >&6
8041 for ac_size
in 4 8 1 2 16 12 ; do # List sizes in rough order of prevalence.
8042 cat >conftest.
$ac_ext <<_ACEOF
8045 cat confdefs.h
>>conftest.
$ac_ext
8046 cat >>conftest.
$ac_ext <<_ACEOF
8047 /* end confdefs.h. */
8048 #include "confdefs.h"
8049 #include <sys/types.h>
8055 switch (0) case 0: case (sizeof (void *) == $ac_size):;
8060 rm -f conftest.
$ac_objext
8061 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
8062 (eval $ac_compile) 2>conftest.er1
8064 grep -v '^ *+' conftest.er1
>conftest.err
8066 cat conftest.err
>&5
8067 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8068 (exit $ac_status); } &&
8069 { ac_try
='test -z "$ac_c_werror_flag"
8070 || test ! -s conftest.err'
8071 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8074 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8075 (exit $ac_status); }; } &&
8076 { ac_try
='test -s conftest.$ac_objext'
8077 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8080 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8081 (exit $ac_status); }; }; then
8082 ac_cv_sizeof_void_p
=$ac_size
8084 echo "$as_me: failed program was:" >&5
8085 sed 's/^/| /' conftest.
$ac_ext >&5
8088 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
8089 if test x
$ac_cv_sizeof_void_p != x
; then break; fi
8094 if test x
$ac_cv_sizeof_void_p = x
; then
8095 { { echo "$as_me:$LINENO: error: cannot determine a size for void *" >&5
8096 echo "$as_me: error: cannot determine a size for void *" >&2;}
8097 { (exit 1); exit 1; }; }
8099 echo "$as_me:$LINENO: result: $ac_cv_sizeof_void_p" >&5
8100 echo "${ECHO_T}$ac_cv_sizeof_void_p" >&6
8102 cat >>confdefs.h
<<_ACEOF
8103 #define SIZEOF_VOID_P $ac_cv_sizeof_void_p
8108 echo "$as_me:$LINENO: checking whether byte ordering is bigendian" >&5
8109 echo $ECHO_N "checking whether byte ordering is bigendian... $ECHO_C" >&6
8110 if test "${ac_cv_c_bigendian+set}" = set; then
8111 echo $ECHO_N "(cached) $ECHO_C" >&6
8113 ac_cv_c_bigendian
=unknown
8114 # See if sys/param.h defines the BYTE_ORDER macro.
8115 cat >conftest.
$ac_ext <<_ACEOF
8118 cat confdefs.h
>>conftest.
$ac_ext
8119 cat >>conftest.
$ac_ext <<_ACEOF
8120 /* end confdefs.h. */
8121 #include <sys/types.h>
8122 #include <sys/param.h>
8127 #if !BYTE_ORDER || !BIG_ENDIAN || !LITTLE_ENDIAN
8134 rm -f conftest.
$ac_objext
8135 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
8136 (eval $ac_compile) 2>conftest.er1
8138 grep -v '^ *+' conftest.er1
>conftest.err
8140 cat conftest.err
>&5
8141 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8142 (exit $ac_status); } &&
8143 { ac_try
='test -z "$ac_c_werror_flag"
8144 || test ! -s conftest.err'
8145 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8148 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8149 (exit $ac_status); }; } &&
8150 { ac_try
='test -s conftest.$ac_objext'
8151 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8154 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8155 (exit $ac_status); }; }; then
8156 # It does; now see whether it defined to BIG_ENDIAN or not.
8157 cat >conftest.
$ac_ext <<_ACEOF
8160 cat confdefs.h
>>conftest.
$ac_ext
8161 cat >>conftest.
$ac_ext <<_ACEOF
8162 /* end confdefs.h. */
8163 #include <sys/types.h>
8164 #include <sys/param.h>
8169 #if BYTE_ORDER != BIG_ENDIAN
8176 rm -f conftest.
$ac_objext
8177 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
8178 (eval $ac_compile) 2>conftest.er1
8180 grep -v '^ *+' conftest.er1
>conftest.err
8182 cat conftest.err
>&5
8183 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8184 (exit $ac_status); } &&
8185 { ac_try
='test -z "$ac_c_werror_flag"
8186 || test ! -s conftest.err'
8187 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8190 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8191 (exit $ac_status); }; } &&
8192 { ac_try
='test -s conftest.$ac_objext'
8193 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8196 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8197 (exit $ac_status); }; }; then
8198 ac_cv_c_bigendian
=yes
8200 echo "$as_me: failed program was:" >&5
8201 sed 's/^/| /' conftest.
$ac_ext >&5
8203 ac_cv_c_bigendian
=no
8205 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
8207 echo "$as_me: failed program was:" >&5
8208 sed 's/^/| /' conftest.
$ac_ext >&5
8211 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
8212 if test $ac_cv_c_bigendian = unknown
; then
8213 if test "$cross_compiling" = yes; then
8214 echo $ac_n "cross-compiling... " 2>&6
8216 cat >conftest.
$ac_ext <<_ACEOF
8219 cat confdefs.h
>>conftest.
$ac_ext
8220 cat >>conftest.
$ac_ext <<_ACEOF
8221 /* end confdefs.h. */
8223 /* Are we little or big endian? From Harbison&Steele. */
8227 char c[sizeof (long)];
8230 exit (u.c[sizeof (long) - 1] == 1);
8233 rm -f conftest
$ac_exeext
8234 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8235 (eval $ac_link) 2>&5
8237 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8238 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
8239 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8242 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8243 (exit $ac_status); }; }; then
8244 ac_cv_c_bigendian
=no
8246 echo "$as_me: program exited with status $ac_status" >&5
8247 echo "$as_me: failed program was:" >&5
8248 sed 's/^/| /' conftest.
$ac_ext >&5
8251 ac_cv_c_bigendian
=yes
8253 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
8257 echo "$as_me:$LINENO: result: $ac_cv_c_bigendian" >&5
8258 echo "${ECHO_T}$ac_cv_c_bigendian" >&6
8259 if test $ac_cv_c_bigendian = unknown
; then
8260 echo "$as_me:$LINENO: checking to probe for byte ordering" >&5
8261 echo $ECHO_N "checking to probe for byte ordering... $ECHO_C" >&6
8263 cat >conftest.c
<<EOF
8264 short ascii_mm[] = { 0x4249, 0x4765, 0x6E44, 0x6961, 0x6E53, 0x7953, 0 };
8265 short ascii_ii[] = { 0x694C, 0x5454, 0x656C, 0x6E45, 0x6944, 0x6E61, 0 };
8266 void _ascii() { char* s = (char*) ascii_mm; s = (char*) ascii_ii; }
8267 short ebcdic_ii[] = { 0x89D3, 0xE3E3, 0x8593, 0x95C5, 0x89C4, 0x9581, 0 };
8268 short ebcdic_mm[] = { 0xC2C9, 0xC785, 0x95C4, 0x8981, 0x95E2, 0xA8E2, 0 };
8269 void _ebcdic() { char* s = (char*) ebcdic_mm; s = (char*) ebcdic_ii; }
8270 int main() { _ascii (); _ebcdic (); return 0; }
8272 if test -f conftest.c
; then
8273 if ${CC-cc} ${CFLAGS} -c conftest.c
-o conftest.o
&& test -f conftest.o
; then
8274 if test `grep -l BIGenDianSyS conftest.o` ; then
8275 echo $ac_n ' big endian probe OK, ' 1>&6
8276 ac_cv_c_bigendian
=yes
8278 if test `grep -l LiTTleEnDian conftest.o` ; then
8279 echo $ac_n ' little endian probe OK, ' 1>&6
8280 if test $ac_cv_c_bigendian = yes ; then
8281 ac_cv_c_bigendian
=unknown
;
8283 ac_cv_c_bigendian
=no
8286 echo $ac_n 'guessing bigendian ... ' >&6
8289 echo "$as_me:$LINENO: result: $ac_cv_c_bigendian" >&5
8290 echo "${ECHO_T}$ac_cv_c_bigendian" >&6
8292 if test $ac_cv_c_bigendian = yes; then
8294 cat >>confdefs.h
<<\_ACEOF
8295 #define WORDS_BIGENDIAN 1
8299 cat >>confdefs.h
<<\_ACEOF
8300 #define HOST_WORDS_BIG_ENDIAN 1
8308 cat >>confdefs.h
<<_ACEOF
8309 #define BYTEORDER $BYTEORDER
8312 if test $ac_cv_c_bigendian = unknown
; then
8313 { { echo "$as_me:$LINENO: error: unknown endianess - sorry, please pre-set ac_cv_c_bigendian" >&5
8314 echo "$as_me: error: unknown endianess - sorry, please pre-set ac_cv_c_bigendian" >&2;}
8315 { (exit 1); exit 1; }; }
8338 for ac_header
in unistd.h sys
/types.h sys
/config.h sys
/ioctl.h \
8340 inttypes.h stdint.h utime.h sys
/utime.h sys
/filio.h \
8347 sys
/event.h sys
/epoll.h \
8350 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
8351 if eval "test \"\${$as_ac_Header+set}\" = set"; then
8352 echo "$as_me:$LINENO: checking for $ac_header" >&5
8353 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
8354 if eval "test \"\${$as_ac_Header+set}\" = set"; then
8355 echo $ECHO_N "(cached) $ECHO_C" >&6
8357 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
8358 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
8360 # Is the header compilable?
8361 echo "$as_me:$LINENO: checking $ac_header usability" >&5
8362 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
8363 cat >conftest.
$ac_ext <<_ACEOF
8366 cat confdefs.h
>>conftest.
$ac_ext
8367 cat >>conftest.
$ac_ext <<_ACEOF
8368 /* end confdefs.h. */
8369 $ac_includes_default
8370 #include <$ac_header>
8372 rm -f conftest.
$ac_objext
8373 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
8374 (eval $ac_compile) 2>conftest.er1
8376 grep -v '^ *+' conftest.er1
>conftest.err
8378 cat conftest.err
>&5
8379 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8380 (exit $ac_status); } &&
8381 { ac_try
='test -z "$ac_c_werror_flag"
8382 || test ! -s conftest.err'
8383 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8386 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8387 (exit $ac_status); }; } &&
8388 { ac_try
='test -s conftest.$ac_objext'
8389 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8392 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8393 (exit $ac_status); }; }; then
8394 ac_header_compiler
=yes
8396 echo "$as_me: failed program was:" >&5
8397 sed 's/^/| /' conftest.
$ac_ext >&5
8399 ac_header_compiler
=no
8401 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
8402 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
8403 echo "${ECHO_T}$ac_header_compiler" >&6
8405 # Is the header present?
8406 echo "$as_me:$LINENO: checking $ac_header presence" >&5
8407 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
8408 cat >conftest.
$ac_ext <<_ACEOF
8411 cat confdefs.h
>>conftest.
$ac_ext
8412 cat >>conftest.
$ac_ext <<_ACEOF
8413 /* end confdefs.h. */
8414 #include <$ac_header>
8416 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
8417 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
8419 grep -v '^ *+' conftest.er1
>conftest.err
8421 cat conftest.err
>&5
8422 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8423 (exit $ac_status); } >/dev
/null
; then
8424 if test -s conftest.err
; then
8425 ac_cpp_err
=$ac_c_preproc_warn_flag
8426 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
8433 if test -z "$ac_cpp_err"; then
8434 ac_header_preproc
=yes
8436 echo "$as_me: failed program was:" >&5
8437 sed 's/^/| /' conftest.
$ac_ext >&5
8439 ac_header_preproc
=no
8441 rm -f conftest.err conftest.
$ac_ext
8442 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
8443 echo "${ECHO_T}$ac_header_preproc" >&6
8445 # So? What about this header?
8446 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
8448 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
8449 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
8450 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
8451 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
8452 ac_header_preproc
=yes
8455 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
8456 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
8457 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
8458 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
8459 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
8460 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
8461 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
8462 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
8463 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
8464 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
8465 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
8466 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
8469 ## -------------------------------- ##
8470 ## Report this to classpath@gnu.org ##
8471 ## -------------------------------- ##
8474 sed "s/^/$as_me: WARNING: /" >&2
8477 echo "$as_me:$LINENO: checking for $ac_header" >&5
8478 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
8479 if eval "test \"\${$as_ac_Header+set}\" = set"; then
8480 echo $ECHO_N "(cached) $ECHO_C" >&6
8482 eval "$as_ac_Header=\$ac_header_preproc"
8484 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
8485 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
8488 if test `eval echo '${'$as_ac_Header'}'` = yes; then
8489 cat >>confdefs.h
<<_ACEOF
8490 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
8498 cat >conftest.
$ac_ext <<_ACEOF
8501 cat confdefs.h
>>conftest.
$ac_ext
8502 cat >>conftest.
$ac_ext <<_ACEOF
8503 /* end confdefs.h. */
8507 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
8508 $EGREP "uint32_t" >/dev
/null
2>&1; then
8510 cat >>confdefs.h
<<\_ACEOF
8511 #define HAVE_INT32_DEFINED 1
8517 cat >conftest.
$ac_ext <<_ACEOF
8520 cat confdefs.h
>>conftest.
$ac_ext
8521 cat >>conftest.
$ac_ext <<_ACEOF
8522 /* end confdefs.h. */
8523 #include <inttypes.h>
8526 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
8527 $EGREP "uint32_t" >/dev
/null
2>&1; then
8529 cat >>confdefs.h
<<\_ACEOF
8530 #define HAVE_INT32_DEFINED 1
8536 cat >conftest.
$ac_ext <<_ACEOF
8539 cat confdefs.h
>>conftest.
$ac_ext
8540 cat >>conftest.
$ac_ext <<_ACEOF
8541 /* end confdefs.h. */
8542 #include <sys/types.h>
8545 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
8546 $EGREP "u_int32_t" >/dev
/null
2>&1; then
8548 cat >>confdefs.h
<<\_ACEOF
8549 #define HAVE_BSD_INT32_DEFINED 1
8555 cat >conftest.
$ac_ext <<_ACEOF
8558 cat confdefs.h
>>conftest.
$ac_ext
8559 cat >>conftest.
$ac_ext <<_ACEOF
8560 /* end confdefs.h. */
8561 #include <sys/config.h>
8564 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
8565 $EGREP "u_int32_t" >/dev
/null
2>&1; then
8567 cat >>confdefs.h
<<\_ACEOF
8568 #define HAVE_BSD_INT32_DEFINED 1
8629 for ac_func
in ftruncate fsync
select \
8630 gethostname socket strerror fork pipe execve open close \
8631 lseek fstat
read readv
write writev htonl memset htons connect \
8632 getsockname getpeername
bind listen accept \
8633 recvfrom send sendto setsockopt getsockopt
time mktime \
8634 gethostbyname_r localtime_r \
8637 mmap munmap mincore msync madvise getpagesize sysconf \
8639 inet_aton inet_addr inet_pton \
8640 getifaddrs kqueue kevent epoll_create \
8643 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
8644 echo "$as_me:$LINENO: checking for $ac_func" >&5
8645 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
8646 if eval "test \"\${$as_ac_var+set}\" = set"; then
8647 echo $ECHO_N "(cached) $ECHO_C" >&6
8649 if test x
$gcc_no_link = xyes
; then
8650 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
8651 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
8652 { (exit 1); exit 1; }; }
8654 cat >conftest.
$ac_ext <<_ACEOF
8657 cat confdefs.h
>>conftest.
$ac_ext
8658 cat >>conftest.
$ac_ext <<_ACEOF
8659 /* end confdefs.h. */
8660 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
8661 For example, HP-UX 11i <limits.h> declares gettimeofday. */
8662 #define $ac_func innocuous_$ac_func
8664 /* System header to define __stub macros and hopefully few prototypes,
8665 which can conflict with char $ac_func (); below.
8666 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
8667 <limits.h> exists even on freestanding compilers. */
8670 # include <limits.h>
8672 # include <assert.h>
8677 /* Override any gcc2 internal prototype to avoid an error. */
8682 /* We use char because int might match the return type of a gcc2
8683 builtin and then its argument prototype would still apply. */
8685 /* The GNU C library defines this for functions which it implements
8686 to always fail with ENOSYS. Some functions are actually named
8687 something starting with __ and the normal name is an alias. */
8688 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
8691 char (*f) () = $ac_func;
8700 return f != $ac_func;
8705 rm -f conftest.
$ac_objext conftest
$ac_exeext
8706 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8707 (eval $ac_link) 2>conftest.er1
8709 grep -v '^ *+' conftest.er1
>conftest.err
8711 cat conftest.err
>&5
8712 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8713 (exit $ac_status); } &&
8714 { ac_try
='test -z "$ac_c_werror_flag"
8715 || test ! -s conftest.err'
8716 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8719 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8720 (exit $ac_status); }; } &&
8721 { ac_try
='test -s conftest$ac_exeext'
8722 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8725 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8726 (exit $ac_status); }; }; then
8727 eval "$as_ac_var=yes"
8729 echo "$as_me: failed program was:" >&5
8730 sed 's/^/| /' conftest.
$ac_ext >&5
8732 eval "$as_ac_var=no"
8734 rm -f conftest.err conftest.
$ac_objext \
8735 conftest
$ac_exeext conftest.
$ac_ext
8737 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
8738 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
8739 if test `eval echo '${'$as_ac_var'}'` = yes; then
8740 cat >>confdefs.h
<<_ACEOF
8741 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
8749 echo "$as_me:$LINENO: checking for magic_open in -lmagic" >&5
8750 echo $ECHO_N "checking for magic_open in -lmagic... $ECHO_C" >&6
8751 if test "${ac_cv_lib_magic_magic_open+set}" = set; then
8752 echo $ECHO_N "(cached) $ECHO_C" >&6
8754 ac_check_lib_save_LIBS
=$LIBS
8755 LIBS
="-lmagic $LIBS"
8756 if test x
$gcc_no_link = xyes
; then
8757 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
8758 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
8759 { (exit 1); exit 1; }; }
8761 cat >conftest.
$ac_ext <<_ACEOF
8764 cat confdefs.h
>>conftest.
$ac_ext
8765 cat >>conftest.
$ac_ext <<_ACEOF
8766 /* end confdefs.h. */
8768 /* Override any gcc2 internal prototype to avoid an error. */
8772 /* We use char because int might match the return type of a gcc2
8773 builtin and then its argument prototype would still apply. */
8783 rm -f conftest.
$ac_objext conftest
$ac_exeext
8784 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8785 (eval $ac_link) 2>conftest.er1
8787 grep -v '^ *+' conftest.er1
>conftest.err
8789 cat conftest.err
>&5
8790 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8791 (exit $ac_status); } &&
8792 { ac_try
='test -z "$ac_c_werror_flag"
8793 || test ! -s conftest.err'
8794 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8797 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8798 (exit $ac_status); }; } &&
8799 { ac_try
='test -s conftest$ac_exeext'
8800 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8803 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8804 (exit $ac_status); }; }; then
8805 ac_cv_lib_magic_magic_open
=yes
8807 echo "$as_me: failed program was:" >&5
8808 sed 's/^/| /' conftest.
$ac_ext >&5
8810 ac_cv_lib_magic_magic_open
=no
8812 rm -f conftest.err conftest.
$ac_objext \
8813 conftest
$ac_exeext conftest.
$ac_ext
8814 LIBS
=$ac_check_lib_save_LIBS
8816 echo "$as_me:$LINENO: result: $ac_cv_lib_magic_magic_open" >&5
8817 echo "${ECHO_T}$ac_cv_lib_magic_magic_open" >&6
8818 if test $ac_cv_lib_magic_magic_open = yes; then
8824 echo "$as_me:$LINENO: checking whether struct sockaddr_in6 is in netinet/in.h" >&5
8825 echo $ECHO_N "checking whether struct sockaddr_in6 is in netinet/in.h... $ECHO_C" >&6
8826 cat >conftest.
$ac_ext <<_ACEOF
8829 cat confdefs.h
>>conftest.
$ac_ext
8830 cat >>conftest.
$ac_ext <<_ACEOF
8831 /* end confdefs.h. */
8832 #include <netinet/in.h>
8836 struct sockaddr_in6 addr6;
8841 rm -f conftest.
$ac_objext
8842 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
8843 (eval $ac_compile) 2>conftest.er1
8845 grep -v '^ *+' conftest.er1
>conftest.err
8847 cat conftest.err
>&5
8848 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8849 (exit $ac_status); } &&
8850 { ac_try
='test -z "$ac_c_werror_flag"
8851 || test ! -s conftest.err'
8852 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8855 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8856 (exit $ac_status); }; } &&
8857 { ac_try
='test -s conftest.$ac_objext'
8858 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8861 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8862 (exit $ac_status); }; }; then
8864 cat >>confdefs.h
<<\_ACEOF
8865 #define HAVE_INET6 1
8868 echo "$as_me:$LINENO: result: yes" >&5
8869 echo "${ECHO_T}yes" >&6
8871 echo "$as_me: failed program was:" >&5
8872 sed 's/^/| /' conftest.
$ac_ext >&5
8874 echo "$as_me:$LINENO: result: no" >&5
8875 echo "${ECHO_T}no" >&6
8877 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
8879 echo "$as_me:$LINENO: checking whether time.h and sys/time.h may both be included" >&5
8880 echo $ECHO_N "checking whether time.h and sys/time.h may both be included... $ECHO_C" >&6
8881 if test "${ac_cv_header_time+set}" = set; then
8882 echo $ECHO_N "(cached) $ECHO_C" >&6
8884 cat >conftest.
$ac_ext <<_ACEOF
8887 cat confdefs.h
>>conftest.
$ac_ext
8888 cat >>conftest.
$ac_ext <<_ACEOF
8889 /* end confdefs.h. */
8890 #include <sys/types.h>
8891 #include <sys/time.h>
8897 if ((struct tm *) 0)
8903 rm -f conftest.
$ac_objext
8904 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
8905 (eval $ac_compile) 2>conftest.er1
8907 grep -v '^ *+' conftest.er1
>conftest.err
8909 cat conftest.err
>&5
8910 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8911 (exit $ac_status); } &&
8912 { ac_try
='test -z "$ac_c_werror_flag"
8913 || test ! -s conftest.err'
8914 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8917 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8918 (exit $ac_status); }; } &&
8919 { ac_try
='test -s conftest.$ac_objext'
8920 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8923 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8924 (exit $ac_status); }; }; then
8925 ac_cv_header_time
=yes
8927 echo "$as_me: failed program was:" >&5
8928 sed 's/^/| /' conftest.
$ac_ext >&5
8930 ac_cv_header_time
=no
8932 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
8934 echo "$as_me:$LINENO: result: $ac_cv_header_time" >&5
8935 echo "${ECHO_T}$ac_cv_header_time" >&6
8936 if test $ac_cv_header_time = yes; then
8938 cat >>confdefs.h
<<\_ACEOF
8939 #define TIME_WITH_SYS_TIME 1
8944 echo "$as_me:$LINENO: checking whether struct tm is in sys/time.h or time.h" >&5
8945 echo $ECHO_N "checking whether struct tm is in sys/time.h or time.h... $ECHO_C" >&6
8946 if test "${ac_cv_struct_tm+set}" = set; then
8947 echo $ECHO_N "(cached) $ECHO_C" >&6
8949 cat >conftest.
$ac_ext <<_ACEOF
8952 cat confdefs.h
>>conftest.
$ac_ext
8953 cat >>conftest.
$ac_ext <<_ACEOF
8954 /* end confdefs.h. */
8955 #include <sys/types.h>
8961 struct tm *tp; tp->tm_sec;
8966 rm -f conftest.
$ac_objext
8967 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
8968 (eval $ac_compile) 2>conftest.er1
8970 grep -v '^ *+' conftest.er1
>conftest.err
8972 cat conftest.err
>&5
8973 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8974 (exit $ac_status); } &&
8975 { ac_try
='test -z "$ac_c_werror_flag"
8976 || test ! -s conftest.err'
8977 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8980 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8981 (exit $ac_status); }; } &&
8982 { ac_try
='test -s conftest.$ac_objext'
8983 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8986 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8987 (exit $ac_status); }; }; then
8988 ac_cv_struct_tm
=time.h
8990 echo "$as_me: failed program was:" >&5
8991 sed 's/^/| /' conftest.
$ac_ext >&5
8993 ac_cv_struct_tm
=sys
/time.h
8995 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
8997 echo "$as_me:$LINENO: result: $ac_cv_struct_tm" >&5
8998 echo "${ECHO_T}$ac_cv_struct_tm" >&6
8999 if test $ac_cv_struct_tm = sys
/time.h
; then
9001 cat >>confdefs.h
<<\_ACEOF
9002 #define TM_IN_SYS_TIME 1
9007 echo "$as_me:$LINENO: checking for struct tm.tm_zone" >&5
9008 echo $ECHO_N "checking for struct tm.tm_zone... $ECHO_C" >&6
9009 if test "${ac_cv_member_struct_tm_tm_zone+set}" = set; then
9010 echo $ECHO_N "(cached) $ECHO_C" >&6
9012 cat >conftest.
$ac_ext <<_ACEOF
9015 cat confdefs.h
>>conftest.
$ac_ext
9016 cat >>conftest.
$ac_ext <<_ACEOF
9017 /* end confdefs.h. */
9018 #include <sys/types.h>
9019 #include <$ac_cv_struct_tm>
9025 static struct tm ac_aggr;
9026 if (ac_aggr.tm_zone)
9032 rm -f conftest.
$ac_objext
9033 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
9034 (eval $ac_compile) 2>conftest.er1
9036 grep -v '^ *+' conftest.er1
>conftest.err
9038 cat conftest.err
>&5
9039 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9040 (exit $ac_status); } &&
9041 { ac_try
='test -z "$ac_c_werror_flag"
9042 || test ! -s conftest.err'
9043 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9046 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9047 (exit $ac_status); }; } &&
9048 { ac_try
='test -s conftest.$ac_objext'
9049 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9052 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9053 (exit $ac_status); }; }; then
9054 ac_cv_member_struct_tm_tm_zone
=yes
9056 echo "$as_me: failed program was:" >&5
9057 sed 's/^/| /' conftest.
$ac_ext >&5
9059 cat >conftest.
$ac_ext <<_ACEOF
9062 cat confdefs.h
>>conftest.
$ac_ext
9063 cat >>conftest.
$ac_ext <<_ACEOF
9064 /* end confdefs.h. */
9065 #include <sys/types.h>
9066 #include <$ac_cv_struct_tm>
9072 static struct tm ac_aggr;
9073 if (sizeof ac_aggr.tm_zone)
9079 rm -f conftest.
$ac_objext
9080 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
9081 (eval $ac_compile) 2>conftest.er1
9083 grep -v '^ *+' conftest.er1
>conftest.err
9085 cat conftest.err
>&5
9086 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9087 (exit $ac_status); } &&
9088 { ac_try
='test -z "$ac_c_werror_flag"
9089 || test ! -s conftest.err'
9090 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9093 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9094 (exit $ac_status); }; } &&
9095 { ac_try
='test -s conftest.$ac_objext'
9096 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9099 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9100 (exit $ac_status); }; }; then
9101 ac_cv_member_struct_tm_tm_zone
=yes
9103 echo "$as_me: failed program was:" >&5
9104 sed 's/^/| /' conftest.
$ac_ext >&5
9106 ac_cv_member_struct_tm_tm_zone
=no
9108 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
9110 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
9112 echo "$as_me:$LINENO: result: $ac_cv_member_struct_tm_tm_zone" >&5
9113 echo "${ECHO_T}$ac_cv_member_struct_tm_tm_zone" >&6
9114 if test $ac_cv_member_struct_tm_tm_zone = yes; then
9116 cat >>confdefs.h
<<_ACEOF
9117 #define HAVE_STRUCT_TM_TM_ZONE 1
9123 if test "$ac_cv_member_struct_tm_tm_zone" = yes; then
9125 cat >>confdefs.h
<<\_ACEOF
9126 #define HAVE_TM_ZONE 1
9130 echo "$as_me:$LINENO: checking for tzname" >&5
9131 echo $ECHO_N "checking for tzname... $ECHO_C" >&6
9132 if test "${ac_cv_var_tzname+set}" = set; then
9133 echo $ECHO_N "(cached) $ECHO_C" >&6
9135 if test x
$gcc_no_link = xyes
; then
9136 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
9137 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
9138 { (exit 1); exit 1; }; }
9140 cat >conftest.
$ac_ext <<_ACEOF
9143 cat confdefs.h
>>conftest.
$ac_ext
9144 cat >>conftest.
$ac_ext <<_ACEOF
9145 /* end confdefs.h. */
9147 #ifndef tzname /* For SGI. */
9148 extern char *tzname[]; /* RS6000 and others reject char **tzname. */
9159 rm -f conftest.
$ac_objext conftest
$ac_exeext
9160 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
9161 (eval $ac_link) 2>conftest.er1
9163 grep -v '^ *+' conftest.er1
>conftest.err
9165 cat conftest.err
>&5
9166 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9167 (exit $ac_status); } &&
9168 { ac_try
='test -z "$ac_c_werror_flag"
9169 || test ! -s conftest.err'
9170 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9173 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9174 (exit $ac_status); }; } &&
9175 { ac_try
='test -s conftest$ac_exeext'
9176 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9179 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9180 (exit $ac_status); }; }; then
9181 ac_cv_var_tzname
=yes
9183 echo "$as_me: failed program was:" >&5
9184 sed 's/^/| /' conftest.
$ac_ext >&5
9188 rm -f conftest.err conftest.
$ac_objext \
9189 conftest
$ac_exeext conftest.
$ac_ext
9191 echo "$as_me:$LINENO: result: $ac_cv_var_tzname" >&5
9192 echo "${ECHO_T}$ac_cv_var_tzname" >&6
9193 if test $ac_cv_var_tzname = yes; then
9195 cat >>confdefs.h
<<\_ACEOF
9196 #define HAVE_TZNAME 1
9203 echo "$as_me:$LINENO: checking for tm_gmtoff in struct tm" >&5
9204 echo $ECHO_N "checking for tm_gmtoff in struct tm... $ECHO_C" >&6
9205 cat >conftest.
$ac_ext <<_ACEOF
9208 cat confdefs.h
>>conftest.
$ac_ext
9209 cat >>conftest.
$ac_ext <<_ACEOF
9210 /* end confdefs.h. */
9215 struct tm tim; tim.tm_gmtoff = 0;
9220 rm -f conftest.
$ac_objext
9221 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
9222 (eval $ac_compile) 2>conftest.er1
9224 grep -v '^ *+' conftest.er1
>conftest.err
9226 cat conftest.err
>&5
9227 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9228 (exit $ac_status); } &&
9229 { ac_try
='test -z "$ac_c_werror_flag"
9230 || test ! -s conftest.err'
9231 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9234 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9235 (exit $ac_status); }; } &&
9236 { ac_try
='test -s conftest.$ac_objext'
9237 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9240 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9241 (exit $ac_status); }; }; then
9243 cat >>confdefs.h
<<\_ACEOF
9244 #define STRUCT_TM_HAS_GMTOFF 1
9247 echo "$as_me:$LINENO: result: yes" >&5
9248 echo "${ECHO_T}yes" >&6
9250 echo "$as_me: failed program was:" >&5
9251 sed 's/^/| /' conftest.
$ac_ext >&5
9253 echo "$as_me:$LINENO: result: no" >&5
9254 echo "${ECHO_T}no" >&6
9255 echo "$as_me:$LINENO: checking for global timezone variable" >&5
9256 echo $ECHO_N "checking for global timezone variable... $ECHO_C" >&6
9257 cat >conftest.
$ac_ext <<_ACEOF
9260 cat confdefs.h
>>conftest.
$ac_ext
9261 cat >>conftest.
$ac_ext <<_ACEOF
9262 /* end confdefs.h. */
9267 void i(){long z2 = 2*timezone;}
9272 rm -f conftest.
$ac_objext
9273 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
9274 (eval $ac_compile) 2>conftest.er1
9276 grep -v '^ *+' conftest.er1
>conftest.err
9278 cat conftest.err
>&5
9279 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9280 (exit $ac_status); } &&
9281 { ac_try
='test -z "$ac_c_werror_flag"
9282 || test ! -s conftest.err'
9283 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9286 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9287 (exit $ac_status); }; } &&
9288 { ac_try
='test -s conftest.$ac_objext'
9289 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9292 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9293 (exit $ac_status); }; }; then
9295 cat >>confdefs.h
<<\_ACEOF
9296 #define HAVE_TIMEZONE 1
9299 echo "$as_me:$LINENO: result: yes" >&5
9300 echo "${ECHO_T}yes" >&6
9302 echo "$as_me: failed program was:" >&5
9303 sed 's/^/| /' conftest.
$ac_ext >&5
9305 echo "$as_me:$LINENO: result: no" >&5
9306 echo "${ECHO_T}no" >&6
9307 echo "$as_me:$LINENO: checking for global _timezone variable" >&5
9308 echo $ECHO_N "checking for global _timezone variable... $ECHO_C" >&6
9309 cat >conftest.
$ac_ext <<_ACEOF
9312 cat confdefs.h
>>conftest.
$ac_ext
9313 cat >>conftest.
$ac_ext <<_ACEOF
9314 /* end confdefs.h. */
9319 long z2 = _timezone;
9324 rm -f conftest.
$ac_objext
9325 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
9326 (eval $ac_compile) 2>conftest.er1
9328 grep -v '^ *+' conftest.er1
>conftest.err
9330 cat conftest.err
>&5
9331 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9332 (exit $ac_status); } &&
9333 { ac_try
='test -z "$ac_c_werror_flag"
9334 || test ! -s conftest.err'
9335 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9338 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9339 (exit $ac_status); }; } &&
9340 { ac_try
='test -s conftest.$ac_objext'
9341 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9344 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9345 (exit $ac_status); }; }; then
9347 cat >>confdefs.h
<<\_ACEOF
9348 #define HAVE_UNDERSCORE_TIMEZONE 1
9351 echo "$as_me:$LINENO: result: yes" >&5
9352 echo "${ECHO_T}yes" >&6
9354 echo "$as_me: failed program was:" >&5
9355 sed 's/^/| /' conftest.
$ac_ext >&5
9357 echo "$as_me:$LINENO: result: no" >&5
9358 echo "${ECHO_T}no" >&6
9360 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
9362 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
9364 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
9366 echo "$as_me:$LINENO: checking for an ANSI C-conforming const" >&5
9367 echo $ECHO_N "checking for an ANSI C-conforming const... $ECHO_C" >&6
9368 if test "${ac_cv_c_const+set}" = set; then
9369 echo $ECHO_N "(cached) $ECHO_C" >&6
9371 cat >conftest.
$ac_ext <<_ACEOF
9374 cat confdefs.h
>>conftest.
$ac_ext
9375 cat >>conftest.
$ac_ext <<_ACEOF
9376 /* end confdefs.h. */
9381 /* FIXME: Include the comments suggested by Paul. */
9383 /* Ultrix mips cc rejects this. */
9384 typedef int charset[2];
9386 /* SunOS 4.1.1 cc rejects this. */
9387 char const *const *ccp;
9389 /* NEC SVR4.0.2 mips cc rejects this. */
9390 struct point {int x, y;};
9391 static struct point const zero = {0,0};
9392 /* AIX XL C 1.02.0.0 rejects this.
9393 It does not let you subtract one const X* pointer from another in
9394 an arm of an if-expression whose if-part is not a constant
9396 const char *g = "string";
9397 ccp = &g + (g ? g-g : 0);
9398 /* HPUX 7.0 cc rejects these. */
9401 ccp = (char const *const *) p;
9402 { /* SCO 3.2v4 cc rejects this. */
9404 char const *s = 0 ? (char *) 0 : (char const *) 0;
9408 { /* Someone thinks the Sun supposedly-ANSI compiler will reject this. */
9410 const int *foo = &x[0];
9413 { /* Sun SC1.0 ANSI compiler rejects this -- but not the above. */
9414 typedef const int *iptr;
9418 { /* AIX XL C 1.02.0.0 rejects this saying
9419 "k.c", line 2.27: 1506-025 (S) Operand must be a modifiable lvalue. */
9420 struct s { int j; const int *ap[3]; };
9421 struct s *b; b->j = 5;
9423 { /* ULTRIX-32 V3.1 (Rev 9) vcc rejects this */
9432 rm -f conftest.
$ac_objext
9433 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
9434 (eval $ac_compile) 2>conftest.er1
9436 grep -v '^ *+' conftest.er1
>conftest.err
9438 cat conftest.err
>&5
9439 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9440 (exit $ac_status); } &&
9441 { ac_try
='test -z "$ac_c_werror_flag"
9442 || test ! -s conftest.err'
9443 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9446 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9447 (exit $ac_status); }; } &&
9448 { ac_try
='test -s conftest.$ac_objext'
9449 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9452 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9453 (exit $ac_status); }; }; then
9456 echo "$as_me: failed program was:" >&5
9457 sed 's/^/| /' conftest.
$ac_ext >&5
9461 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
9463 echo "$as_me:$LINENO: result: $ac_cv_c_const" >&5
9464 echo "${ECHO_T}$ac_cv_c_const" >&6
9465 if test $ac_cv_c_const = no
; then
9467 cat >>confdefs.h
<<\_ACEOF
9473 echo "$as_me:$LINENO: checking for __attribute__" >&5
9474 echo $ECHO_N "checking for __attribute__... $ECHO_C" >&6
9475 if test "${ac_cv_c_attribute+set}" = set; then
9476 echo $ECHO_N "(cached) $ECHO_C" >&6
9479 cat >conftest.
$ac_ext <<_ACEOF
9482 cat confdefs.h
>>conftest.
$ac_ext
9483 cat >>conftest.
$ac_ext <<_ACEOF
9484 /* end confdefs.h. */
9485 void foo(void) __attribute__ ((__noreturn__));
9488 rm -f conftest.
$ac_objext
9489 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
9490 (eval $ac_compile) 2>conftest.er1
9492 grep -v '^ *+' conftest.er1
>conftest.err
9494 cat conftest.err
>&5
9495 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9496 (exit $ac_status); } &&
9497 { ac_try
='test -z "$ac_c_werror_flag"
9498 || test ! -s conftest.err'
9499 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9502 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9503 (exit $ac_status); }; } &&
9504 { ac_try
='test -s conftest.$ac_objext'
9505 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9508 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9509 (exit $ac_status); }; }; then
9510 ac_cv_c_attribute
=yes
9512 echo "$as_me: failed program was:" >&5
9513 sed 's/^/| /' conftest.
$ac_ext >&5
9515 ac_cv_c_attribute
=no
9518 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
9521 echo "$as_me:$LINENO: result: $ac_cv_c_attribute" >&5
9522 echo "${ECHO_T}$ac_cv_c_attribute" >&6
9525 case $ac_cv_c_attribute in
9528 cat >>confdefs.h
<<_ACEOF
9529 #define __attribute__(x) /* nothing */
9536 if test "X$prefix" = "XNONE"; then
9537 acl_final_prefix
="$ac_default_prefix"
9539 acl_final_prefix
="$prefix"
9541 if test "X$exec_prefix" = "XNONE"; then
9542 acl_final_exec_prefix
='${prefix}'
9544 acl_final_exec_prefix
="$exec_prefix"
9546 acl_save_prefix
="$prefix"
9547 prefix
="$acl_final_prefix"
9548 eval acl_final_exec_prefix
=\"$acl_final_exec_prefix\"
9549 prefix
="$acl_save_prefix"
9552 # Check whether --with-gnu-ld or --without-gnu-ld was given.
9553 if test "${with_gnu_ld+set}" = set; then
9554 withval
="$with_gnu_ld"
9555 test "$withval" = no || with_gnu_ld
=yes
9559 # Prepare PATH_SEPARATOR.
9560 # The user is always right.
9561 if test "${PATH_SEPARATOR+set}" != set; then
9562 echo "#! /bin/sh" >conf$$.sh
9563 echo "exit 0" >>conf$$.sh
9565 if (PATH
="/nonexistent;."; conf$$.sh
) >/dev
/null
2>&1; then
9573 if test "$GCC" = yes; then
9574 # Check if gcc -print-prog-name=ld gives a path.
9575 echo "$as_me:$LINENO: checking for ld used by GCC" >&5
9576 echo $ECHO_N "checking for ld used by GCC... $ECHO_C" >&6
9579 # gcc leaves a trailing carriage return which upsets mingw
9580 ac_prog
=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
9582 ac_prog
=`($CC -print-prog-name=ld) 2>&5` ;;
9585 # Accept absolute paths.
9586 [\\/]* |
[A-Za-z
]:[\\/]*)
9587 re_direlt
='/[^/][^/]*/\.\./'
9588 # Canonicalize the path of ld
9589 ac_prog
=`echo $ac_prog| sed 's%\\\\%/%g'`
9590 while echo $ac_prog |
grep "$re_direlt" > /dev
/null
2>&1; do
9591 ac_prog
=`echo $ac_prog| sed "s%$re_direlt%/%"`
9593 test -z "$LD" && LD
="$ac_prog"
9596 # If it fails, then pretend we aren't using GCC.
9600 # If it is relative, then search for the first ld in PATH.
9604 elif test "$with_gnu_ld" = yes; then
9605 echo "$as_me:$LINENO: checking for GNU ld" >&5
9606 echo $ECHO_N "checking for GNU ld... $ECHO_C" >&6
9608 echo "$as_me:$LINENO: checking for non-GNU ld" >&5
9609 echo $ECHO_N "checking for non-GNU ld... $ECHO_C" >&6
9611 if test "${acl_cv_path_LD+set}" = set; then
9612 echo $ECHO_N "(cached) $ECHO_C" >&6
9614 if test -z "$LD"; then
9615 IFS
="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}${PATH_SEPARATOR-:}"
9616 for ac_dir
in $PATH; do
9617 test -z "$ac_dir" && ac_dir
=.
9618 if test -f "$ac_dir/$ac_prog" ||
test -f "$ac_dir/$ac_prog$ac_exeext"; then
9619 acl_cv_path_LD
="$ac_dir/$ac_prog"
9620 # Check to see if the program is GNU ld. I'd rather use --version,
9621 # but apparently some GNU ld's only accept -v.
9622 # Break only if it was the GNU/non-GNU ld that we prefer.
9623 if "$acl_cv_path_LD" -v 2>&1 < /dev
/null |
egrep '(GNU|with BFD)' > /dev
/null
; then
9624 test "$with_gnu_ld" != no
&& break
9626 test "$with_gnu_ld" != yes && break
9632 acl_cv_path_LD
="$LD" # Let the user override the test with a path.
9636 LD
="$acl_cv_path_LD"
9637 if test -n "$LD"; then
9638 echo "$as_me:$LINENO: result: $LD" >&5
9639 echo "${ECHO_T}$LD" >&6
9641 echo "$as_me:$LINENO: result: no" >&5
9642 echo "${ECHO_T}no" >&6
9644 test -z "$LD" && { { echo "$as_me:$LINENO: error: no acceptable ld found in \$PATH" >&5
9645 echo "$as_me: error: no acceptable ld found in \$PATH" >&2;}
9646 { (exit 1); exit 1; }; }
9647 echo "$as_me:$LINENO: checking if the linker ($LD) is GNU ld" >&5
9648 echo $ECHO_N "checking if the linker ($LD) is GNU ld... $ECHO_C" >&6
9649 if test "${acl_cv_prog_gnu_ld+set}" = set; then
9650 echo $ECHO_N "(cached) $ECHO_C" >&6
9652 # I'd rather use --version here, but apparently some GNU ld's only accept -v.
9653 if $LD -v 2>&1 </dev
/null |
egrep '(GNU|with BFD)' 1>&5; then
9654 acl_cv_prog_gnu_ld
=yes
9656 acl_cv_prog_gnu_ld
=no
9659 echo "$as_me:$LINENO: result: $acl_cv_prog_gnu_ld" >&5
9660 echo "${ECHO_T}$acl_cv_prog_gnu_ld" >&6
9661 with_gnu_ld
=$acl_cv_prog_gnu_ld
9665 echo "$as_me:$LINENO: checking for shared library run path origin" >&5
9666 echo $ECHO_N "checking for shared library run path origin... $ECHO_C" >&6
9667 if test "${acl_cv_rpath+set}" = set; then
9668 echo $ECHO_N "(cached) $ECHO_C" >&6
9671 CC
="$CC" GCC
="$GCC" LDFLAGS
="$LDFLAGS" LD
="$LD" with_gnu_ld
="$with_gnu_ld" \
9672 ${CONFIG_SHELL-/bin/sh} "$ac_aux_dir/config.rpath" "$host" > conftest.sh
9678 echo "$as_me:$LINENO: result: $acl_cv_rpath" >&5
9679 echo "${ECHO_T}$acl_cv_rpath" >&6
9681 libext
="$acl_cv_libext"
9682 shlibext
="$acl_cv_shlibext"
9683 hardcode_libdir_flag_spec
="$acl_cv_hardcode_libdir_flag_spec"
9684 hardcode_libdir_separator
="$acl_cv_hardcode_libdir_separator"
9685 hardcode_direct
="$acl_cv_hardcode_direct"
9686 hardcode_minus_L
="$acl_cv_hardcode_minus_L"
9687 # Check whether --enable-rpath or --disable-rpath was given.
9688 if test "${enable_rpath+set}" = set; then
9689 enableval
="$enable_rpath"
9703 acl_save_prefix
="$prefix"
9704 prefix
="$acl_final_prefix"
9705 acl_save_exec_prefix
="$exec_prefix"
9706 exec_prefix
="$acl_final_exec_prefix"
9708 eval additional_includedir
=\"$includedir\"
9709 eval additional_libdir
=\"$libdir\"
9711 exec_prefix
="$acl_save_exec_prefix"
9712 prefix
="$acl_save_prefix"
9715 # Check whether --with-libiconv-prefix or --without-libiconv-prefix was given.
9716 if test "${with_libiconv_prefix+set}" = set; then
9717 withval
="$with_libiconv_prefix"
9719 if test "X$withval" = "Xno"; then
9722 if test "X$withval" = "X"; then
9724 acl_save_prefix
="$prefix"
9725 prefix
="$acl_final_prefix"
9726 acl_save_exec_prefix
="$exec_prefix"
9727 exec_prefix
="$acl_final_exec_prefix"
9729 eval additional_includedir
=\"$includedir\"
9730 eval additional_libdir
=\"$libdir\"
9732 exec_prefix
="$acl_save_exec_prefix"
9733 prefix
="$acl_save_prefix"
9736 additional_includedir
="$withval/include"
9737 additional_libdir
="$withval/lib"
9747 names_already_handled
=
9748 names_next_round
='iconv '
9749 while test -n "$names_next_round"; do
9750 names_this_round
="$names_next_round"
9752 for name
in $names_this_round; do
9754 for n
in $names_already_handled; do
9755 if test "$n" = "$name"; then
9760 if test -z "$already_handled"; then
9761 names_already_handled
="$names_already_handled $name"
9762 uppername
=`echo "$name" | sed -e 'y|abcdefghijklmnopqrstuvwxyz./-|ABCDEFGHIJKLMNOPQRSTUVWXYZ___|'`
9763 eval value
=\"\
$HAVE_LIB$uppername\"
9764 if test -n "$value"; then
9765 if test "$value" = yes; then
9766 eval value
=\"\
$LIB$uppername\"
9767 test -z "$value" || LIBICONV
="${LIBICONV}${LIBICONV:+ }$value"
9768 eval value
=\"\
$LTLIB$uppername\"
9769 test -z "$value" || LTLIBICONV
="${LTLIBICONV}${LTLIBICONV:+ }$value"
9778 if test $use_additional = yes; then
9779 if test -n "$shlibext" && test -f "$additional_libdir/lib$name.$shlibext"; then
9780 found_dir
="$additional_libdir"
9781 found_so
="$additional_libdir/lib$name.$shlibext"
9782 if test -f "$additional_libdir/lib$name.la"; then
9783 found_la
="$additional_libdir/lib$name.la"
9786 if test -f "$additional_libdir/lib$name.$libext"; then
9787 found_dir
="$additional_libdir"
9788 found_a
="$additional_libdir/lib$name.$libext"
9789 if test -f "$additional_libdir/lib$name.la"; then
9790 found_la
="$additional_libdir/lib$name.la"
9795 if test "X$found_dir" = "X"; then
9796 for x
in $LDFLAGS $LTLIBICONV; do
9798 acl_save_prefix
="$prefix"
9799 prefix
="$acl_final_prefix"
9800 acl_save_exec_prefix
="$exec_prefix"
9801 exec_prefix
="$acl_final_exec_prefix"
9803 exec_prefix
="$acl_save_exec_prefix"
9804 prefix
="$acl_save_prefix"
9808 dir
=`echo "X$x" | sed -e 's/^X-L//'`
9809 if test -n "$shlibext" && test -f "$dir/lib$name.$shlibext"; then
9811 found_so
="$dir/lib$name.$shlibext"
9812 if test -f "$dir/lib$name.la"; then
9813 found_la
="$dir/lib$name.la"
9816 if test -f "$dir/lib$name.$libext"; then
9818 found_a
="$dir/lib$name.$libext"
9819 if test -f "$dir/lib$name.la"; then
9820 found_la
="$dir/lib$name.la"
9826 if test "X$found_dir" != "X"; then
9831 if test "X$found_dir" != "X"; then
9832 LTLIBICONV
="${LTLIBICONV}${LTLIBICONV:+ }-L$found_dir -l$name"
9833 if test "X$found_so" != "X"; then
9834 if test "$enable_rpath" = no ||
test "X$found_dir" = "X/usr/lib"; then
9835 LIBICONV
="${LIBICONV}${LIBICONV:+ }$found_so"
9838 for x
in $ltrpathdirs; do
9839 if test "X$x" = "X$found_dir"; then
9844 if test -z "$haveit"; then
9845 ltrpathdirs
="$ltrpathdirs $found_dir"
9847 if test "$hardcode_direct" = yes; then
9848 LIBICONV
="${LIBICONV}${LIBICONV:+ }$found_so"
9850 if test -n "$hardcode_libdir_flag_spec" && test "$hardcode_minus_L" = no
; then
9851 LIBICONV
="${LIBICONV}${LIBICONV:+ }$found_so"
9853 for x
in $rpathdirs; do
9854 if test "X$x" = "X$found_dir"; then
9859 if test -z "$haveit"; then
9860 rpathdirs
="$rpathdirs $found_dir"
9864 for x
in $LDFLAGS $LIBICONV; do
9866 acl_save_prefix
="$prefix"
9867 prefix
="$acl_final_prefix"
9868 acl_save_exec_prefix
="$exec_prefix"
9869 exec_prefix
="$acl_final_exec_prefix"
9871 exec_prefix
="$acl_save_exec_prefix"
9872 prefix
="$acl_save_prefix"
9874 if test "X$x" = "X-L$found_dir"; then
9879 if test -z "$haveit"; then
9880 LIBICONV
="${LIBICONV}${LIBICONV:+ }-L$found_dir"
9882 if test "$hardcode_minus_L" != no
; then
9883 LIBICONV
="${LIBICONV}${LIBICONV:+ }$found_so"
9885 LIBICONV
="${LIBICONV}${LIBICONV:+ }-l$name"
9891 if test "X$found_a" != "X"; then
9892 LIBICONV
="${LIBICONV}${LIBICONV:+ }$found_a"
9894 LIBICONV
="${LIBICONV}${LIBICONV:+ }-L$found_dir -l$name"
9897 additional_includedir
=
9898 case "$found_dir" in
9900 basedir
=`echo "X$found_dir" | sed -e 's,^X,,' -e 's,/lib/*$,,'`
9901 additional_includedir
="$basedir/include"
9904 if test "X$additional_includedir" != "X"; then
9905 if test "X$additional_includedir" != "X/usr/include"; then
9907 if test "X$additional_includedir" = "X/usr/local/include"; then
9908 if test -n "$GCC"; then
9910 linux
*) haveit
=yes;;
9914 if test -z "$haveit"; then
9915 for x
in $CPPFLAGS $INCICONV; do
9917 acl_save_prefix
="$prefix"
9918 prefix
="$acl_final_prefix"
9919 acl_save_exec_prefix
="$exec_prefix"
9920 exec_prefix
="$acl_final_exec_prefix"
9922 exec_prefix
="$acl_save_exec_prefix"
9923 prefix
="$acl_save_prefix"
9925 if test "X$x" = "X-I$additional_includedir"; then
9930 if test -z "$haveit"; then
9931 if test -d "$additional_includedir"; then
9932 INCICONV
="${INCICONV}${INCICONV:+ }-I$additional_includedir"
9938 if test -n "$found_la"; then
9939 save_libdir
="$libdir"
9941 */* |
*\\*) .
"$found_la" ;;
9942 *) .
"./$found_la" ;;
9944 libdir
="$save_libdir"
9945 for dep
in $dependency_libs; do
9948 additional_libdir
=`echo "X$dep" | sed -e 's/^X-L//'`
9949 if test "X$additional_libdir" != "X/usr/lib"; then
9951 if test "X$additional_libdir" = "X/usr/local/lib"; then
9952 if test -n "$GCC"; then
9954 linux
*) haveit
=yes;;
9958 if test -z "$haveit"; then
9960 for x
in $LDFLAGS $LIBICONV; do
9962 acl_save_prefix
="$prefix"
9963 prefix
="$acl_final_prefix"
9964 acl_save_exec_prefix
="$exec_prefix"
9965 exec_prefix
="$acl_final_exec_prefix"
9967 exec_prefix
="$acl_save_exec_prefix"
9968 prefix
="$acl_save_prefix"
9970 if test "X$x" = "X-L$additional_libdir"; then
9975 if test -z "$haveit"; then
9976 if test -d "$additional_libdir"; then
9977 LIBICONV
="${LIBICONV}${LIBICONV:+ }-L$additional_libdir"
9981 for x
in $LDFLAGS $LTLIBICONV; do
9983 acl_save_prefix
="$prefix"
9984 prefix
="$acl_final_prefix"
9985 acl_save_exec_prefix
="$exec_prefix"
9986 exec_prefix
="$acl_final_exec_prefix"
9988 exec_prefix
="$acl_save_exec_prefix"
9989 prefix
="$acl_save_prefix"
9991 if test "X$x" = "X-L$additional_libdir"; then
9996 if test -z "$haveit"; then
9997 if test -d "$additional_libdir"; then
9998 LTLIBICONV
="${LTLIBICONV}${LTLIBICONV:+ }-L$additional_libdir"
10005 dir
=`echo "X$dep" | sed -e 's/^X-R//'`
10006 if test "$enable_rpath" != no
; then
10008 for x
in $rpathdirs; do
10009 if test "X$x" = "X$dir"; then
10014 if test -z "$haveit"; then
10015 rpathdirs
="$rpathdirs $dir"
10018 for x
in $ltrpathdirs; do
10019 if test "X$x" = "X$dir"; then
10024 if test -z "$haveit"; then
10025 ltrpathdirs
="$ltrpathdirs $dir"
10030 names_next_round
="$names_next_round "`echo "X$dep" | sed -e 's/^X-l//'`
10033 names_next_round
="$names_next_round "`echo "X$dep" | sed -e 's,^X.*/,,' -e 's,^lib,,' -e 's,\.la$,,'`
10036 LIBICONV
="${LIBICONV}${LIBICONV:+ }$dep"
10037 LTLIBICONV
="${LTLIBICONV}${LTLIBICONV:+ }$dep"
10043 LIBICONV
="${LIBICONV}${LIBICONV:+ }-l$name"
10044 LTLIBICONV
="${LTLIBICONV}${LTLIBICONV:+ }-l$name"
10050 if test "X$rpathdirs" != "X"; then
10051 if test -n "$hardcode_libdir_separator"; then
10053 for found_dir
in $rpathdirs; do
10054 alldirs
="${alldirs}${alldirs:+$hardcode_libdir_separator}$found_dir"
10056 acl_save_libdir
="$libdir"
10058 eval flag
=\"$hardcode_libdir_flag_spec\"
10059 libdir
="$acl_save_libdir"
10060 LIBICONV
="${LIBICONV}${LIBICONV:+ }$flag"
10062 for found_dir
in $rpathdirs; do
10063 acl_save_libdir
="$libdir"
10064 libdir
="$found_dir"
10065 eval flag
=\"$hardcode_libdir_flag_spec\"
10066 libdir
="$acl_save_libdir"
10067 LIBICONV
="${LIBICONV}${LIBICONV:+ }$flag"
10071 if test "X$ltrpathdirs" != "X"; then
10072 for found_dir
in $ltrpathdirs; do
10073 LTLIBICONV
="${LTLIBICONV}${LTLIBICONV:+ }-R$found_dir"
10083 am_save_CPPFLAGS
="$CPPFLAGS"
10085 for element
in $INCICONV; do
10087 for x
in $CPPFLAGS; do
10089 acl_save_prefix
="$prefix"
10090 prefix
="$acl_final_prefix"
10091 acl_save_exec_prefix
="$exec_prefix"
10092 exec_prefix
="$acl_final_exec_prefix"
10094 exec_prefix
="$acl_save_exec_prefix"
10095 prefix
="$acl_save_prefix"
10097 if test "X$x" = "X$element"; then
10102 if test -z "$haveit"; then
10103 CPPFLAGS
="${CPPFLAGS}${CPPFLAGS:+ }$element"
10108 echo "$as_me:$LINENO: checking for iconv" >&5
10109 echo $ECHO_N "checking for iconv... $ECHO_C" >&6
10110 if test "${am_cv_func_iconv+set}" = set; then
10111 echo $ECHO_N "(cached) $ECHO_C" >&6
10114 am_cv_func_iconv
="no, consider installing GNU libiconv"
10116 if test x
$gcc_no_link = xyes
; then
10117 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
10118 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
10119 { (exit 1); exit 1; }; }
10121 cat >conftest.
$ac_ext <<_ACEOF
10124 cat confdefs.h
>>conftest.
$ac_ext
10125 cat >>conftest.
$ac_ext <<_ACEOF
10126 /* end confdefs.h. */
10127 #include <stdlib.h>
10132 iconv_t cd = iconv_open("","");
10133 iconv(cd,NULL,NULL,NULL,NULL);
10139 rm -f conftest.
$ac_objext conftest
$ac_exeext
10140 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10141 (eval $ac_link) 2>conftest.er1
10143 grep -v '^ *+' conftest.er1
>conftest.err
10145 cat conftest.err
>&5
10146 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10147 (exit $ac_status); } &&
10148 { ac_try
='test -z "$ac_c_werror_flag"
10149 || test ! -s conftest.err'
10150 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10151 (eval $ac_try) 2>&5
10153 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10154 (exit $ac_status); }; } &&
10155 { ac_try
='test -s conftest$ac_exeext'
10156 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10157 (eval $ac_try) 2>&5
10159 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10160 (exit $ac_status); }; }; then
10161 am_cv_func_iconv
=yes
10163 echo "$as_me: failed program was:" >&5
10164 sed 's/^/| /' conftest.
$ac_ext >&5
10167 rm -f conftest.err conftest.
$ac_objext \
10168 conftest
$ac_exeext conftest.
$ac_ext
10169 if test "$am_cv_func_iconv" != yes; then
10170 am_save_LIBS
="$LIBS"
10171 LIBS
="$LIBS $LIBICONV"
10172 if test x
$gcc_no_link = xyes
; then
10173 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
10174 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
10175 { (exit 1); exit 1; }; }
10177 cat >conftest.
$ac_ext <<_ACEOF
10180 cat confdefs.h
>>conftest.
$ac_ext
10181 cat >>conftest.
$ac_ext <<_ACEOF
10182 /* end confdefs.h. */
10183 #include <stdlib.h>
10188 iconv_t cd = iconv_open("","");
10189 iconv(cd,NULL,NULL,NULL,NULL);
10195 rm -f conftest.
$ac_objext conftest
$ac_exeext
10196 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10197 (eval $ac_link) 2>conftest.er1
10199 grep -v '^ *+' conftest.er1
>conftest.err
10201 cat conftest.err
>&5
10202 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10203 (exit $ac_status); } &&
10204 { ac_try
='test -z "$ac_c_werror_flag"
10205 || test ! -s conftest.err'
10206 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10207 (eval $ac_try) 2>&5
10209 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10210 (exit $ac_status); }; } &&
10211 { ac_try
='test -s conftest$ac_exeext'
10212 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10213 (eval $ac_try) 2>&5
10215 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10216 (exit $ac_status); }; }; then
10217 am_cv_lib_iconv
=yes
10218 am_cv_func_iconv
=yes
10220 echo "$as_me: failed program was:" >&5
10221 sed 's/^/| /' conftest.
$ac_ext >&5
10224 rm -f conftest.err conftest.
$ac_objext \
10225 conftest
$ac_exeext conftest.
$ac_ext
10226 LIBS
="$am_save_LIBS"
10230 echo "$as_me:$LINENO: result: $am_cv_func_iconv" >&5
10231 echo "${ECHO_T}$am_cv_func_iconv" >&6
10232 if test "$am_cv_func_iconv" = yes; then
10234 cat >>confdefs.h
<<\_ACEOF
10235 #define HAVE_ICONV 1
10239 if test "$am_cv_lib_iconv" = yes; then
10240 echo "$as_me:$LINENO: checking how to link with libiconv" >&5
10241 echo $ECHO_N "checking how to link with libiconv... $ECHO_C" >&6
10242 echo "$as_me:$LINENO: result: $LIBICONV" >&5
10243 echo "${ECHO_T}$LIBICONV" >&6
10245 CPPFLAGS
="$am_save_CPPFLAGS"
10252 if test "$am_cv_func_iconv" = yes; then
10253 echo "$as_me:$LINENO: checking for iconv declaration" >&5
10254 echo $ECHO_N "checking for iconv declaration... $ECHO_C" >&6
10255 if test "${am_cv_proto_iconv+set}" = set; then
10256 echo $ECHO_N "(cached) $ECHO_C" >&6
10259 cat >conftest.
$ac_ext <<_ACEOF
10262 cat confdefs.h
>>conftest.
$ac_ext
10263 cat >>conftest.
$ac_ext <<_ACEOF
10264 /* end confdefs.h. */
10266 #include <stdlib.h>
10272 #if defined(__STDC__) || defined(__cplusplus)
10273 size_t iconv (iconv_t cd, char * *inbuf, size_t *inbytesleft, char * *outbuf, size_t *outbytesleft);
10286 rm -f conftest.
$ac_objext
10287 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
10288 (eval $ac_compile) 2>conftest.er1
10290 grep -v '^ *+' conftest.er1
>conftest.err
10292 cat conftest.err
>&5
10293 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10294 (exit $ac_status); } &&
10295 { ac_try
='test -z "$ac_c_werror_flag"
10296 || test ! -s conftest.err'
10297 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10298 (eval $ac_try) 2>&5
10300 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10301 (exit $ac_status); }; } &&
10302 { ac_try
='test -s conftest.$ac_objext'
10303 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10304 (eval $ac_try) 2>&5
10306 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10307 (exit $ac_status); }; }; then
10308 am_cv_proto_iconv_arg1
=""
10310 echo "$as_me: failed program was:" >&5
10311 sed 's/^/| /' conftest.
$ac_ext >&5
10313 am_cv_proto_iconv_arg1
="const"
10315 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
10316 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);"
10319 am_cv_proto_iconv
=`echo "$am_cv_proto_iconv" | tr -s ' ' | sed -e 's/( /(/'`
10320 echo "$as_me:$LINENO: result: ${ac_t:-
10321 }$am_cv_proto_iconv" >&5
10322 echo "${ECHO_T}${ac_t:-
10323 }$am_cv_proto_iconv" >&6
10325 cat >>confdefs.h
<<_ACEOF
10326 #define ICONV_CONST $am_cv_proto_iconv_arg1
10332 if test "x${GCC}" = xyes
; then
10334 WARNING_CFLAGS
='-W -Wall -Wmissing-declarations -Wwrite-strings -Wmissing-prototypes -Wno-long-long'
10337 STRICT_WARNING_CFLAGS
='-Wstrict-prototypes -pedantic'
10341 if test "x${ENABLE_WERROR}" = xyes
; then
10342 ERROR_CFLAGS
='-Werror'
10347 if test "x${COMPILE_XMLJ}" = xyes
; then
10351 if test -z "$PKG_CONFIG"; then
10352 # Extract the first word of "pkg-config", so it can be a program name with args.
10353 set dummy pkg-config
; ac_word
=$2
10354 echo "$as_me:$LINENO: checking for $ac_word" >&5
10355 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
10356 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
10357 echo $ECHO_N "(cached) $ECHO_C" >&6
10359 case $PKG_CONFIG in
10361 ac_cv_path_PKG_CONFIG
="$PKG_CONFIG" # Let the user override the test with a path.
10364 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
10365 for as_dir
in $PATH
10368 test -z "$as_dir" && as_dir
=.
10369 for ac_exec_ext
in '' $ac_executable_extensions; do
10370 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
10371 ac_cv_path_PKG_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
10372 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
10378 test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG
="no"
10382 PKG_CONFIG
=$ac_cv_path_PKG_CONFIG
10384 if test -n "$PKG_CONFIG"; then
10385 echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
10386 echo "${ECHO_T}$PKG_CONFIG" >&6
10388 echo "$as_me:$LINENO: result: no" >&5
10389 echo "${ECHO_T}no" >&6
10394 if test "$PKG_CONFIG" = "no" ; then
10395 echo "*** The pkg-config script could not be found. Make sure it is"
10396 echo "*** in your path, or set the PKG_CONFIG environment variable"
10397 echo "*** to the full path to pkg-config."
10398 echo "*** Or see http://www.freedesktop.org/software/pkgconfig to get pkg-config."
10400 PKG_CONFIG_MIN_VERSION
=0.9.0
10401 if $PKG_CONFIG --atleast-pkgconfig-version $PKG_CONFIG_MIN_VERSION; then
10402 echo "$as_me:$LINENO: checking for libxml-2.0 >= 2.6.8" >&5
10403 echo $ECHO_N "checking for libxml-2.0 >= 2.6.8... $ECHO_C" >&6
10405 if $PKG_CONFIG --exists "libxml-2.0 >= 2.6.8" ; then
10406 echo "$as_me:$LINENO: result: yes" >&5
10407 echo "${ECHO_T}yes" >&6
10410 echo "$as_me:$LINENO: checking XML_CFLAGS" >&5
10411 echo $ECHO_N "checking XML_CFLAGS... $ECHO_C" >&6
10412 XML_CFLAGS
=`$PKG_CONFIG --cflags "libxml-2.0 >= 2.6.8"`
10413 echo "$as_me:$LINENO: result: $XML_CFLAGS" >&5
10414 echo "${ECHO_T}$XML_CFLAGS" >&6
10416 echo "$as_me:$LINENO: checking XML_LIBS" >&5
10417 echo $ECHO_N "checking XML_LIBS... $ECHO_C" >&6
10418 XML_LIBS
=`$PKG_CONFIG --libs "libxml-2.0 >= 2.6.8"`
10419 echo "$as_me:$LINENO: result: $XML_LIBS" >&5
10420 echo "${ECHO_T}$XML_LIBS" >&6
10424 ## If we have a custom action on failure, don't print errors, but
10425 ## do set a variable so people can do so.
10426 XML_PKG_ERRORS
=`$PKG_CONFIG --errors-to-stdout --print-errors "libxml-2.0 >= 2.6.8"`
10427 echo $XML_PKG_ERRORS
10433 echo "*** Your version of pkg-config is too old. You need version $PKG_CONFIG_MIN_VERSION or newer."
10434 echo "*** See http://www.freedesktop.org/software/pkgconfig"
10438 if test $succeeded = yes; then
10441 { { 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
10442 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;}
10443 { (exit 1); exit 1; }; }
10449 if test -z "$PKG_CONFIG"; then
10450 # Extract the first word of "pkg-config", so it can be a program name with args.
10451 set dummy pkg-config
; ac_word
=$2
10452 echo "$as_me:$LINENO: checking for $ac_word" >&5
10453 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
10454 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
10455 echo $ECHO_N "(cached) $ECHO_C" >&6
10457 case $PKG_CONFIG in
10459 ac_cv_path_PKG_CONFIG
="$PKG_CONFIG" # Let the user override the test with a path.
10462 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
10463 for as_dir
in $PATH
10466 test -z "$as_dir" && as_dir
=.
10467 for ac_exec_ext
in '' $ac_executable_extensions; do
10468 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
10469 ac_cv_path_PKG_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
10470 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
10476 test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG
="no"
10480 PKG_CONFIG
=$ac_cv_path_PKG_CONFIG
10482 if test -n "$PKG_CONFIG"; then
10483 echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
10484 echo "${ECHO_T}$PKG_CONFIG" >&6
10486 echo "$as_me:$LINENO: result: no" >&5
10487 echo "${ECHO_T}no" >&6
10492 if test "$PKG_CONFIG" = "no" ; then
10493 echo "*** The pkg-config script could not be found. Make sure it is"
10494 echo "*** in your path, or set the PKG_CONFIG environment variable"
10495 echo "*** to the full path to pkg-config."
10496 echo "*** Or see http://www.freedesktop.org/software/pkgconfig to get pkg-config."
10498 PKG_CONFIG_MIN_VERSION
=0.9.0
10499 if $PKG_CONFIG --atleast-pkgconfig-version $PKG_CONFIG_MIN_VERSION; then
10500 echo "$as_me:$LINENO: checking for libxslt >= 1.1.11" >&5
10501 echo $ECHO_N "checking for libxslt >= 1.1.11... $ECHO_C" >&6
10503 if $PKG_CONFIG --exists "libxslt >= 1.1.11" ; then
10504 echo "$as_me:$LINENO: result: yes" >&5
10505 echo "${ECHO_T}yes" >&6
10508 echo "$as_me:$LINENO: checking XSLT_CFLAGS" >&5
10509 echo $ECHO_N "checking XSLT_CFLAGS... $ECHO_C" >&6
10510 XSLT_CFLAGS
=`$PKG_CONFIG --cflags "libxslt >= 1.1.11"`
10511 echo "$as_me:$LINENO: result: $XSLT_CFLAGS" >&5
10512 echo "${ECHO_T}$XSLT_CFLAGS" >&6
10514 echo "$as_me:$LINENO: checking XSLT_LIBS" >&5
10515 echo $ECHO_N "checking XSLT_LIBS... $ECHO_C" >&6
10516 XSLT_LIBS
=`$PKG_CONFIG --libs "libxslt >= 1.1.11"`
10517 echo "$as_me:$LINENO: result: $XSLT_LIBS" >&5
10518 echo "${ECHO_T}$XSLT_LIBS" >&6
10522 ## If we have a custom action on failure, don't print errors, but
10523 ## do set a variable so people can do so.
10524 XSLT_PKG_ERRORS
=`$PKG_CONFIG --errors-to-stdout --print-errors "libxslt >= 1.1.11"`
10525 echo $XSLT_PKG_ERRORS
10531 echo "*** Your version of pkg-config is too old. You need version $PKG_CONFIG_MIN_VERSION or newer."
10532 echo "*** See http://www.freedesktop.org/software/pkgconfig"
10536 if test $succeeded = yes; then
10539 { { 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
10540 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;}
10541 { (exit 1); exit 1; }; }
10550 if test "x${COMPILE_GTK_PEER}" = xyes
; then
10551 echo "$as_me:$LINENO: checking for X" >&5
10552 echo $ECHO_N "checking for X... $ECHO_C" >&6
10555 # Check whether --with-x or --without-x was given.
10556 if test "${with_x+set}" = set; then
10560 # $have_x is `yes', `no', `disabled', or empty when we do not yet know.
10561 if test "x$with_x" = xno
; then
10562 # The user explicitly disabled X.
10565 if test "x$x_includes" != xNONE
&& test "x$x_libraries" != xNONE
; then
10566 # Both variables are already set.
10569 if test "${ac_cv_have_x+set}" = set; then
10570 echo $ECHO_N "(cached) $ECHO_C" >&6
10572 # One or both of the vars are not set, and there is no cached value.
10573 ac_x_includes
=no ac_x_libraries
=no
10574 rm -fr conftest.dir
10575 if mkdir conftest.dir
; then
10577 # Make sure to not put "make" in the Imakefile rules, since we grep it out.
10578 cat >Imakefile
<<'_ACEOF'
10580 @echo 'ac_im_incroot="${INCROOT}"; ac_im_usrlibdir="${USRLIBDIR}"; ac_im_libdir="${LIBDIR}"'
10582 if (xmkmf
) >/dev
/null
2>/dev
/null
&& test -f Makefile
; then
10583 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
10584 eval `${MAKE-make} acfindx 2>/dev/null | grep -v make`
10585 # Open Windows xmkmf reportedly sets LIBDIR instead of USRLIBDIR.
10586 for ac_extension
in a so sl
; do
10587 if test ! -f $ac_im_usrlibdir/libX11.
$ac_extension &&
10588 test -f $ac_im_libdir/libX11.
$ac_extension; then
10589 ac_im_usrlibdir
=$ac_im_libdir; break
10592 # Screen out bogus values from the imake configuration. They are
10593 # bogus both because they are the default anyway, and because
10594 # using them would break gcc on systems where it needs fixed includes.
10595 case $ac_im_incroot in
10597 *) test -f "$ac_im_incroot/X11/Xos.h" && ac_x_includes
=$ac_im_incroot;;
10599 case $ac_im_usrlibdir in
10600 /usr
/lib |
/lib
) ;;
10601 *) test -d "$ac_im_usrlibdir" && ac_x_libraries
=$ac_im_usrlibdir ;;
10605 rm -fr conftest.dir
10608 # Standard set of common directories for X headers.
10609 # Check X11 before X11Rn because it is often a symlink to the current release.
10621 /usr/local/X11/include
10622 /usr/local/X11R6/include
10623 /usr/local/X11R5/include
10624 /usr/local/X11R4/include
10626 /usr/local/include/X11
10627 /usr/local/include/X11R6
10628 /usr/local/include/X11R5
10629 /usr/local/include/X11R4
10633 /usr/XFree86/include/X11
10637 /usr/unsupported/include
10638 /usr/athena/include
10639 /usr/local/x11r5/include
10640 /usr/lpp/Xamples/include
10642 /usr/openwin/include
10643 /usr/openwin/share/include'
10645 if test "$ac_x_includes" = no
; then
10646 # Guess where to find include files, by looking for Intrinsic.h.
10647 # First, try using that file with no special directory specified.
10648 cat >conftest.
$ac_ext <<_ACEOF
10651 cat confdefs.h
>>conftest.
$ac_ext
10652 cat >>conftest.
$ac_ext <<_ACEOF
10653 /* end confdefs.h. */
10654 #include <X11/Intrinsic.h>
10656 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
10657 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
10659 grep -v '^ *+' conftest.er1
>conftest.err
10661 cat conftest.err
>&5
10662 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10663 (exit $ac_status); } >/dev
/null
; then
10664 if test -s conftest.err
; then
10665 ac_cpp_err
=$ac_c_preproc_warn_flag
10666 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
10673 if test -z "$ac_cpp_err"; then
10674 # We can compile using X headers with no special include directory.
10677 echo "$as_me: failed program was:" >&5
10678 sed 's/^/| /' conftest.
$ac_ext >&5
10680 for ac_dir
in $ac_x_header_dirs; do
10681 if test -r "$ac_dir/X11/Intrinsic.h"; then
10682 ac_x_includes
=$ac_dir
10687 rm -f conftest.err conftest.
$ac_ext
10688 fi # $ac_x_includes = no
10690 if test "$ac_x_libraries" = no
; then
10691 # Check for the libraries.
10692 # See if we find them without any special options.
10693 # Don't add to $LIBS permanently.
10696 if test x
$gcc_no_link = xyes
; then
10697 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
10698 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
10699 { (exit 1); exit 1; }; }
10701 cat >conftest.
$ac_ext <<_ACEOF
10704 cat confdefs.h
>>conftest.
$ac_ext
10705 cat >>conftest.
$ac_ext <<_ACEOF
10706 /* end confdefs.h. */
10707 #include <X11/Intrinsic.h>
10716 rm -f conftest.
$ac_objext conftest
$ac_exeext
10717 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10718 (eval $ac_link) 2>conftest.er1
10720 grep -v '^ *+' conftest.er1
>conftest.err
10722 cat conftest.err
>&5
10723 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10724 (exit $ac_status); } &&
10725 { ac_try
='test -z "$ac_c_werror_flag"
10726 || test ! -s conftest.err'
10727 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10728 (eval $ac_try) 2>&5
10730 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10731 (exit $ac_status); }; } &&
10732 { ac_try
='test -s conftest$ac_exeext'
10733 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10734 (eval $ac_try) 2>&5
10736 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10737 (exit $ac_status); }; }; then
10739 # We can link X programs with no special library path.
10742 echo "$as_me: failed program was:" >&5
10743 sed 's/^/| /' conftest.
$ac_ext >&5
10746 for ac_dir
in `echo "$ac_x_includes $ac_x_header_dirs" | sed s/include/lib/g`
10748 # Don't even attempt the hair of trying to link an X program!
10749 for ac_extension
in a so sl
; do
10750 if test -r $ac_dir/libXt.
$ac_extension; then
10751 ac_x_libraries
=$ac_dir
10757 rm -f conftest.err conftest.
$ac_objext \
10758 conftest
$ac_exeext conftest.
$ac_ext
10759 fi # $ac_x_libraries = no
10761 if test "$ac_x_includes" = no ||
test "$ac_x_libraries" = no
; then
10762 # Didn't find X anywhere. Cache the known absence of X.
10763 ac_cv_have_x
="have_x=no"
10765 # Record where we found X for the cache.
10766 ac_cv_have_x
="have_x=yes \
10767 ac_x_includes=$ac_x_includes ac_x_libraries=$ac_x_libraries"
10772 eval "$ac_cv_have_x"
10775 if test "$have_x" != yes; then
10776 echo "$as_me:$LINENO: result: $have_x" >&5
10777 echo "${ECHO_T}$have_x" >&6
10780 # If each of the values was on the command line, it overrides each guess.
10781 test "x$x_includes" = xNONE
&& x_includes
=$ac_x_includes
10782 test "x$x_libraries" = xNONE
&& x_libraries
=$ac_x_libraries
10783 # Update the cache value to reflect the command line values.
10784 ac_cv_have_x
="have_x=yes \
10785 ac_x_includes=$x_includes ac_x_libraries=$x_libraries"
10786 echo "$as_me:$LINENO: result: libraries $x_libraries, headers $x_includes" >&5
10787 echo "${ECHO_T}libraries $x_libraries, headers $x_includes" >&6
10790 if test "$no_x" = yes; then
10791 # Not all programs may use this symbol, but it does not hurt to define it.
10793 cat >>confdefs.h
<<\_ACEOF
10794 #define X_DISPLAY_MISSING 1
10797 X_CFLAGS
= X_PRE_LIBS
= X_LIBS
= X_EXTRA_LIBS
=
10799 if test -n "$x_includes"; then
10800 X_CFLAGS
="$X_CFLAGS -I$x_includes"
10803 # It would also be nice to do this for all -L options, not just this one.
10804 if test -n "$x_libraries"; then
10805 X_LIBS
="$X_LIBS -L$x_libraries"
10806 # For Solaris; some versions of Sun CC require a space after -R and
10807 # others require no space. Words are not sufficient . . . .
10808 case `(uname -sr) 2>/dev/null` in
10810 echo "$as_me:$LINENO: checking whether -R must be followed by a space" >&5
10811 echo $ECHO_N "checking whether -R must be followed by a space... $ECHO_C" >&6
10812 ac_xsave_LIBS
=$LIBS; LIBS
="$LIBS -R$x_libraries"
10813 if test x
$gcc_no_link = xyes
; then
10814 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
10815 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
10816 { (exit 1); exit 1; }; }
10818 cat >conftest.
$ac_ext <<_ACEOF
10821 cat confdefs.h
>>conftest.
$ac_ext
10822 cat >>conftest.
$ac_ext <<_ACEOF
10823 /* end confdefs.h. */
10833 rm -f conftest.
$ac_objext conftest
$ac_exeext
10834 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10835 (eval $ac_link) 2>conftest.er1
10837 grep -v '^ *+' conftest.er1
>conftest.err
10839 cat conftest.err
>&5
10840 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10841 (exit $ac_status); } &&
10842 { ac_try
='test -z "$ac_c_werror_flag"
10843 || test ! -s conftest.err'
10844 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10845 (eval $ac_try) 2>&5
10847 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10848 (exit $ac_status); }; } &&
10849 { ac_try
='test -s conftest$ac_exeext'
10850 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10851 (eval $ac_try) 2>&5
10853 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10854 (exit $ac_status); }; }; then
10857 echo "$as_me: failed program was:" >&5
10858 sed 's/^/| /' conftest.
$ac_ext >&5
10862 rm -f conftest.err conftest.
$ac_objext \
10863 conftest
$ac_exeext conftest.
$ac_ext
10864 if test $ac_R_nospace = yes; then
10865 echo "$as_me:$LINENO: result: no" >&5
10866 echo "${ECHO_T}no" >&6
10867 X_LIBS
="$X_LIBS -R$x_libraries"
10869 LIBS
="$ac_xsave_LIBS -R $x_libraries"
10870 if test x
$gcc_no_link = xyes
; then
10871 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
10872 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
10873 { (exit 1); exit 1; }; }
10875 cat >conftest.
$ac_ext <<_ACEOF
10878 cat confdefs.h
>>conftest.
$ac_ext
10879 cat >>conftest.
$ac_ext <<_ACEOF
10880 /* end confdefs.h. */
10890 rm -f conftest.
$ac_objext conftest
$ac_exeext
10891 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10892 (eval $ac_link) 2>conftest.er1
10894 grep -v '^ *+' conftest.er1
>conftest.err
10896 cat conftest.err
>&5
10897 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10898 (exit $ac_status); } &&
10899 { ac_try
='test -z "$ac_c_werror_flag"
10900 || test ! -s conftest.err'
10901 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10902 (eval $ac_try) 2>&5
10904 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10905 (exit $ac_status); }; } &&
10906 { ac_try
='test -s conftest$ac_exeext'
10907 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10908 (eval $ac_try) 2>&5
10910 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10911 (exit $ac_status); }; }; then
10914 echo "$as_me: failed program was:" >&5
10915 sed 's/^/| /' conftest.
$ac_ext >&5
10919 rm -f conftest.err conftest.
$ac_objext \
10920 conftest
$ac_exeext conftest.
$ac_ext
10921 if test $ac_R_space = yes; then
10922 echo "$as_me:$LINENO: result: yes" >&5
10923 echo "${ECHO_T}yes" >&6
10924 X_LIBS
="$X_LIBS -R $x_libraries"
10926 echo "$as_me:$LINENO: result: neither works" >&5
10927 echo "${ECHO_T}neither works" >&6
10930 LIBS
=$ac_xsave_LIBS
10934 # Check for system-dependent libraries X programs must link with.
10935 # Do this before checking for the system-independent R6 libraries
10936 # (-lICE), since we may need -lsocket or whatever for X linking.
10938 if test "$ISC" = yes; then
10939 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lnsl_s -linet"
10941 # Martyn Johnson says this is needed for Ultrix, if the X
10942 # libraries were built with DECnet support. And Karl Berry says
10943 # the Alpha needs dnet_stub (dnet does not exist).
10944 ac_xsave_LIBS
="$LIBS"; LIBS
="$LIBS $X_LIBS -lX11"
10945 if test x
$gcc_no_link = xyes
; then
10946 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
10947 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
10948 { (exit 1); exit 1; }; }
10950 cat >conftest.
$ac_ext <<_ACEOF
10953 cat confdefs.h
>>conftest.
$ac_ext
10954 cat >>conftest.
$ac_ext <<_ACEOF
10955 /* end confdefs.h. */
10957 /* Override any gcc2 internal prototype to avoid an error. */
10961 /* We use char because int might match the return type of a gcc2
10962 builtin and then its argument prototype would still apply. */
10963 char XOpenDisplay ();
10972 rm -f conftest.
$ac_objext conftest
$ac_exeext
10973 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10974 (eval $ac_link) 2>conftest.er1
10976 grep -v '^ *+' conftest.er1
>conftest.err
10978 cat conftest.err
>&5
10979 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10980 (exit $ac_status); } &&
10981 { ac_try
='test -z "$ac_c_werror_flag"
10982 || test ! -s conftest.err'
10983 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10984 (eval $ac_try) 2>&5
10986 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10987 (exit $ac_status); }; } &&
10988 { ac_try
='test -s conftest$ac_exeext'
10989 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10990 (eval $ac_try) 2>&5
10992 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10993 (exit $ac_status); }; }; then
10996 echo "$as_me: failed program was:" >&5
10997 sed 's/^/| /' conftest.
$ac_ext >&5
10999 echo "$as_me:$LINENO: checking for dnet_ntoa in -ldnet" >&5
11000 echo $ECHO_N "checking for dnet_ntoa in -ldnet... $ECHO_C" >&6
11001 if test "${ac_cv_lib_dnet_dnet_ntoa+set}" = set; then
11002 echo $ECHO_N "(cached) $ECHO_C" >&6
11004 ac_check_lib_save_LIBS
=$LIBS
11005 LIBS
="-ldnet $LIBS"
11006 if test x
$gcc_no_link = xyes
; then
11007 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
11008 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
11009 { (exit 1); exit 1; }; }
11011 cat >conftest.
$ac_ext <<_ACEOF
11014 cat confdefs.h
>>conftest.
$ac_ext
11015 cat >>conftest.
$ac_ext <<_ACEOF
11016 /* end confdefs.h. */
11018 /* Override any gcc2 internal prototype to avoid an error. */
11022 /* We use char because int might match the return type of a gcc2
11023 builtin and then its argument prototype would still apply. */
11033 rm -f conftest.
$ac_objext conftest
$ac_exeext
11034 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
11035 (eval $ac_link) 2>conftest.er1
11037 grep -v '^ *+' conftest.er1
>conftest.err
11039 cat conftest.err
>&5
11040 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11041 (exit $ac_status); } &&
11042 { ac_try
='test -z "$ac_c_werror_flag"
11043 || test ! -s conftest.err'
11044 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11045 (eval $ac_try) 2>&5
11047 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11048 (exit $ac_status); }; } &&
11049 { ac_try
='test -s conftest$ac_exeext'
11050 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11051 (eval $ac_try) 2>&5
11053 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11054 (exit $ac_status); }; }; then
11055 ac_cv_lib_dnet_dnet_ntoa
=yes
11057 echo "$as_me: failed program was:" >&5
11058 sed 's/^/| /' conftest.
$ac_ext >&5
11060 ac_cv_lib_dnet_dnet_ntoa
=no
11062 rm -f conftest.err conftest.
$ac_objext \
11063 conftest
$ac_exeext conftest.
$ac_ext
11064 LIBS
=$ac_check_lib_save_LIBS
11066 echo "$as_me:$LINENO: result: $ac_cv_lib_dnet_dnet_ntoa" >&5
11067 echo "${ECHO_T}$ac_cv_lib_dnet_dnet_ntoa" >&6
11068 if test $ac_cv_lib_dnet_dnet_ntoa = yes; then
11069 X_EXTRA_LIBS
="$X_EXTRA_LIBS -ldnet"
11072 if test $ac_cv_lib_dnet_dnet_ntoa = no
; then
11073 echo "$as_me:$LINENO: checking for dnet_ntoa in -ldnet_stub" >&5
11074 echo $ECHO_N "checking for dnet_ntoa in -ldnet_stub... $ECHO_C" >&6
11075 if test "${ac_cv_lib_dnet_stub_dnet_ntoa+set}" = set; then
11076 echo $ECHO_N "(cached) $ECHO_C" >&6
11078 ac_check_lib_save_LIBS
=$LIBS
11079 LIBS
="-ldnet_stub $LIBS"
11080 if test x
$gcc_no_link = xyes
; then
11081 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
11082 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
11083 { (exit 1); exit 1; }; }
11085 cat >conftest.
$ac_ext <<_ACEOF
11088 cat confdefs.h
>>conftest.
$ac_ext
11089 cat >>conftest.
$ac_ext <<_ACEOF
11090 /* end confdefs.h. */
11092 /* Override any gcc2 internal prototype to avoid an error. */
11096 /* We use char because int might match the return type of a gcc2
11097 builtin and then its argument prototype would still apply. */
11107 rm -f conftest.
$ac_objext conftest
$ac_exeext
11108 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
11109 (eval $ac_link) 2>conftest.er1
11111 grep -v '^ *+' conftest.er1
>conftest.err
11113 cat conftest.err
>&5
11114 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11115 (exit $ac_status); } &&
11116 { ac_try
='test -z "$ac_c_werror_flag"
11117 || test ! -s conftest.err'
11118 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11119 (eval $ac_try) 2>&5
11121 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11122 (exit $ac_status); }; } &&
11123 { ac_try
='test -s conftest$ac_exeext'
11124 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11125 (eval $ac_try) 2>&5
11127 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11128 (exit $ac_status); }; }; then
11129 ac_cv_lib_dnet_stub_dnet_ntoa
=yes
11131 echo "$as_me: failed program was:" >&5
11132 sed 's/^/| /' conftest.
$ac_ext >&5
11134 ac_cv_lib_dnet_stub_dnet_ntoa
=no
11136 rm -f conftest.err conftest.
$ac_objext \
11137 conftest
$ac_exeext conftest.
$ac_ext
11138 LIBS
=$ac_check_lib_save_LIBS
11140 echo "$as_me:$LINENO: result: $ac_cv_lib_dnet_stub_dnet_ntoa" >&5
11141 echo "${ECHO_T}$ac_cv_lib_dnet_stub_dnet_ntoa" >&6
11142 if test $ac_cv_lib_dnet_stub_dnet_ntoa = yes; then
11143 X_EXTRA_LIBS
="$X_EXTRA_LIBS -ldnet_stub"
11148 rm -f conftest.err conftest.
$ac_objext \
11149 conftest
$ac_exeext conftest.
$ac_ext
11150 LIBS
="$ac_xsave_LIBS"
11152 # msh@cis.ufl.edu says -lnsl (and -lsocket) are needed for his 386/AT,
11153 # to get the SysV transport functions.
11154 # Chad R. Larson says the Pyramis MIS-ES running DC/OSx (SVR4)
11156 # The nsl library prevents programs from opening the X display
11157 # on Irix 5.2, according to T.E. Dickey.
11158 # The functions gethostbyname, getservbyname, and inet_addr are
11159 # in -lbsd on LynxOS 3.0.1/i386, according to Lars Hecking.
11160 echo "$as_me:$LINENO: checking for gethostbyname" >&5
11161 echo $ECHO_N "checking for gethostbyname... $ECHO_C" >&6
11162 if test "${ac_cv_func_gethostbyname+set}" = set; then
11163 echo $ECHO_N "(cached) $ECHO_C" >&6
11165 if test x
$gcc_no_link = xyes
; then
11166 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
11167 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
11168 { (exit 1); exit 1; }; }
11170 cat >conftest.
$ac_ext <<_ACEOF
11173 cat confdefs.h
>>conftest.
$ac_ext
11174 cat >>conftest.
$ac_ext <<_ACEOF
11175 /* end confdefs.h. */
11176 /* Define gethostbyname to an innocuous variant, in case <limits.h> declares gethostbyname.
11177 For example, HP-UX 11i <limits.h> declares gettimeofday. */
11178 #define gethostbyname innocuous_gethostbyname
11180 /* System header to define __stub macros and hopefully few prototypes,
11181 which can conflict with char gethostbyname (); below.
11182 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
11183 <limits.h> exists even on freestanding compilers. */
11186 # include <limits.h>
11188 # include <assert.h>
11191 #undef gethostbyname
11193 /* Override any gcc2 internal prototype to avoid an error. */
11198 /* We use char because int might match the return type of a gcc2
11199 builtin and then its argument prototype would still apply. */
11200 char gethostbyname ();
11201 /* The GNU C library defines this for functions which it implements
11202 to always fail with ENOSYS. Some functions are actually named
11203 something starting with __ and the normal name is an alias. */
11204 #if defined (__stub_gethostbyname) || defined (__stub___gethostbyname)
11207 char (*f) () = gethostbyname;
11216 return f != gethostbyname;
11221 rm -f conftest.
$ac_objext conftest
$ac_exeext
11222 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
11223 (eval $ac_link) 2>conftest.er1
11225 grep -v '^ *+' conftest.er1
>conftest.err
11227 cat conftest.err
>&5
11228 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11229 (exit $ac_status); } &&
11230 { ac_try
='test -z "$ac_c_werror_flag"
11231 || test ! -s conftest.err'
11232 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11233 (eval $ac_try) 2>&5
11235 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11236 (exit $ac_status); }; } &&
11237 { ac_try
='test -s conftest$ac_exeext'
11238 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11239 (eval $ac_try) 2>&5
11241 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11242 (exit $ac_status); }; }; then
11243 ac_cv_func_gethostbyname
=yes
11245 echo "$as_me: failed program was:" >&5
11246 sed 's/^/| /' conftest.
$ac_ext >&5
11248 ac_cv_func_gethostbyname
=no
11250 rm -f conftest.err conftest.
$ac_objext \
11251 conftest
$ac_exeext conftest.
$ac_ext
11253 echo "$as_me:$LINENO: result: $ac_cv_func_gethostbyname" >&5
11254 echo "${ECHO_T}$ac_cv_func_gethostbyname" >&6
11256 if test $ac_cv_func_gethostbyname = no
; then
11257 echo "$as_me:$LINENO: checking for gethostbyname in -lnsl" >&5
11258 echo $ECHO_N "checking for gethostbyname in -lnsl... $ECHO_C" >&6
11259 if test "${ac_cv_lib_nsl_gethostbyname+set}" = set; then
11260 echo $ECHO_N "(cached) $ECHO_C" >&6
11262 ac_check_lib_save_LIBS
=$LIBS
11264 if test x
$gcc_no_link = xyes
; then
11265 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
11266 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
11267 { (exit 1); exit 1; }; }
11269 cat >conftest.
$ac_ext <<_ACEOF
11272 cat confdefs.h
>>conftest.
$ac_ext
11273 cat >>conftest.
$ac_ext <<_ACEOF
11274 /* end confdefs.h. */
11276 /* Override any gcc2 internal prototype to avoid an error. */
11280 /* We use char because int might match the return type of a gcc2
11281 builtin and then its argument prototype would still apply. */
11282 char gethostbyname ();
11291 rm -f conftest.
$ac_objext conftest
$ac_exeext
11292 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
11293 (eval $ac_link) 2>conftest.er1
11295 grep -v '^ *+' conftest.er1
>conftest.err
11297 cat conftest.err
>&5
11298 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11299 (exit $ac_status); } &&
11300 { ac_try
='test -z "$ac_c_werror_flag"
11301 || test ! -s conftest.err'
11302 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11303 (eval $ac_try) 2>&5
11305 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11306 (exit $ac_status); }; } &&
11307 { ac_try
='test -s conftest$ac_exeext'
11308 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11309 (eval $ac_try) 2>&5
11311 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11312 (exit $ac_status); }; }; then
11313 ac_cv_lib_nsl_gethostbyname
=yes
11315 echo "$as_me: failed program was:" >&5
11316 sed 's/^/| /' conftest.
$ac_ext >&5
11318 ac_cv_lib_nsl_gethostbyname
=no
11320 rm -f conftest.err conftest.
$ac_objext \
11321 conftest
$ac_exeext conftest.
$ac_ext
11322 LIBS
=$ac_check_lib_save_LIBS
11324 echo "$as_me:$LINENO: result: $ac_cv_lib_nsl_gethostbyname" >&5
11325 echo "${ECHO_T}$ac_cv_lib_nsl_gethostbyname" >&6
11326 if test $ac_cv_lib_nsl_gethostbyname = yes; then
11327 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lnsl"
11330 if test $ac_cv_lib_nsl_gethostbyname = no
; then
11331 echo "$as_me:$LINENO: checking for gethostbyname in -lbsd" >&5
11332 echo $ECHO_N "checking for gethostbyname in -lbsd... $ECHO_C" >&6
11333 if test "${ac_cv_lib_bsd_gethostbyname+set}" = set; then
11334 echo $ECHO_N "(cached) $ECHO_C" >&6
11336 ac_check_lib_save_LIBS
=$LIBS
11338 if test x
$gcc_no_link = xyes
; then
11339 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
11340 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
11341 { (exit 1); exit 1; }; }
11343 cat >conftest.
$ac_ext <<_ACEOF
11346 cat confdefs.h
>>conftest.
$ac_ext
11347 cat >>conftest.
$ac_ext <<_ACEOF
11348 /* end confdefs.h. */
11350 /* Override any gcc2 internal prototype to avoid an error. */
11354 /* We use char because int might match the return type of a gcc2
11355 builtin and then its argument prototype would still apply. */
11356 char gethostbyname ();
11365 rm -f conftest.
$ac_objext conftest
$ac_exeext
11366 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
11367 (eval $ac_link) 2>conftest.er1
11369 grep -v '^ *+' conftest.er1
>conftest.err
11371 cat conftest.err
>&5
11372 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11373 (exit $ac_status); } &&
11374 { ac_try
='test -z "$ac_c_werror_flag"
11375 || test ! -s conftest.err'
11376 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11377 (eval $ac_try) 2>&5
11379 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11380 (exit $ac_status); }; } &&
11381 { ac_try
='test -s conftest$ac_exeext'
11382 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11383 (eval $ac_try) 2>&5
11385 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11386 (exit $ac_status); }; }; then
11387 ac_cv_lib_bsd_gethostbyname
=yes
11389 echo "$as_me: failed program was:" >&5
11390 sed 's/^/| /' conftest.
$ac_ext >&5
11392 ac_cv_lib_bsd_gethostbyname
=no
11394 rm -f conftest.err conftest.
$ac_objext \
11395 conftest
$ac_exeext conftest.
$ac_ext
11396 LIBS
=$ac_check_lib_save_LIBS
11398 echo "$as_me:$LINENO: result: $ac_cv_lib_bsd_gethostbyname" >&5
11399 echo "${ECHO_T}$ac_cv_lib_bsd_gethostbyname" >&6
11400 if test $ac_cv_lib_bsd_gethostbyname = yes; then
11401 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lbsd"
11407 # lieder@skyler.mavd.honeywell.com says without -lsocket,
11408 # socket/setsockopt and other routines are undefined under SCO ODT
11409 # 2.0. But -lsocket is broken on IRIX 5.2 (and is not necessary
11410 # on later versions), says Simon Leinen: it contains gethostby*
11411 # variants that don't use the name server (or something). -lsocket
11412 # must be given before -lnsl if both are needed. We assume that
11413 # if connect needs -lnsl, so does gethostbyname.
11414 echo "$as_me:$LINENO: checking for connect" >&5
11415 echo $ECHO_N "checking for connect... $ECHO_C" >&6
11416 if test "${ac_cv_func_connect+set}" = set; then
11417 echo $ECHO_N "(cached) $ECHO_C" >&6
11419 if test x
$gcc_no_link = xyes
; then
11420 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
11421 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
11422 { (exit 1); exit 1; }; }
11424 cat >conftest.
$ac_ext <<_ACEOF
11427 cat confdefs.h
>>conftest.
$ac_ext
11428 cat >>conftest.
$ac_ext <<_ACEOF
11429 /* end confdefs.h. */
11430 /* Define connect to an innocuous variant, in case <limits.h> declares connect.
11431 For example, HP-UX 11i <limits.h> declares gettimeofday. */
11432 #define connect innocuous_connect
11434 /* System header to define __stub macros and hopefully few prototypes,
11435 which can conflict with char connect (); below.
11436 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
11437 <limits.h> exists even on freestanding compilers. */
11440 # include <limits.h>
11442 # include <assert.h>
11447 /* Override any gcc2 internal prototype to avoid an error. */
11452 /* We use char because int might match the return type of a gcc2
11453 builtin and then its argument prototype would still apply. */
11455 /* The GNU C library defines this for functions which it implements
11456 to always fail with ENOSYS. Some functions are actually named
11457 something starting with __ and the normal name is an alias. */
11458 #if defined (__stub_connect) || defined (__stub___connect)
11461 char (*f) () = connect;
11470 return f != connect;
11475 rm -f conftest.
$ac_objext conftest
$ac_exeext
11476 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
11477 (eval $ac_link) 2>conftest.er1
11479 grep -v '^ *+' conftest.er1
>conftest.err
11481 cat conftest.err
>&5
11482 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11483 (exit $ac_status); } &&
11484 { ac_try
='test -z "$ac_c_werror_flag"
11485 || test ! -s conftest.err'
11486 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11487 (eval $ac_try) 2>&5
11489 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11490 (exit $ac_status); }; } &&
11491 { ac_try
='test -s conftest$ac_exeext'
11492 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11493 (eval $ac_try) 2>&5
11495 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11496 (exit $ac_status); }; }; then
11497 ac_cv_func_connect
=yes
11499 echo "$as_me: failed program was:" >&5
11500 sed 's/^/| /' conftest.
$ac_ext >&5
11502 ac_cv_func_connect
=no
11504 rm -f conftest.err conftest.
$ac_objext \
11505 conftest
$ac_exeext conftest.
$ac_ext
11507 echo "$as_me:$LINENO: result: $ac_cv_func_connect" >&5
11508 echo "${ECHO_T}$ac_cv_func_connect" >&6
11510 if test $ac_cv_func_connect = no
; then
11511 echo "$as_me:$LINENO: checking for connect in -lsocket" >&5
11512 echo $ECHO_N "checking for connect in -lsocket... $ECHO_C" >&6
11513 if test "${ac_cv_lib_socket_connect+set}" = set; then
11514 echo $ECHO_N "(cached) $ECHO_C" >&6
11516 ac_check_lib_save_LIBS
=$LIBS
11517 LIBS
="-lsocket $X_EXTRA_LIBS $LIBS"
11518 if test x
$gcc_no_link = xyes
; then
11519 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
11520 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
11521 { (exit 1); exit 1; }; }
11523 cat >conftest.
$ac_ext <<_ACEOF
11526 cat confdefs.h
>>conftest.
$ac_ext
11527 cat >>conftest.
$ac_ext <<_ACEOF
11528 /* end confdefs.h. */
11530 /* Override any gcc2 internal prototype to avoid an error. */
11534 /* We use char because int might match the return type of a gcc2
11535 builtin and then its argument prototype would still apply. */
11545 rm -f conftest.
$ac_objext conftest
$ac_exeext
11546 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
11547 (eval $ac_link) 2>conftest.er1
11549 grep -v '^ *+' conftest.er1
>conftest.err
11551 cat conftest.err
>&5
11552 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11553 (exit $ac_status); } &&
11554 { ac_try
='test -z "$ac_c_werror_flag"
11555 || test ! -s conftest.err'
11556 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11557 (eval $ac_try) 2>&5
11559 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11560 (exit $ac_status); }; } &&
11561 { ac_try
='test -s conftest$ac_exeext'
11562 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11563 (eval $ac_try) 2>&5
11565 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11566 (exit $ac_status); }; }; then
11567 ac_cv_lib_socket_connect
=yes
11569 echo "$as_me: failed program was:" >&5
11570 sed 's/^/| /' conftest.
$ac_ext >&5
11572 ac_cv_lib_socket_connect
=no
11574 rm -f conftest.err conftest.
$ac_objext \
11575 conftest
$ac_exeext conftest.
$ac_ext
11576 LIBS
=$ac_check_lib_save_LIBS
11578 echo "$as_me:$LINENO: result: $ac_cv_lib_socket_connect" >&5
11579 echo "${ECHO_T}$ac_cv_lib_socket_connect" >&6
11580 if test $ac_cv_lib_socket_connect = yes; then
11581 X_EXTRA_LIBS
="-lsocket $X_EXTRA_LIBS"
11586 # Guillermo Gomez says -lposix is necessary on A/UX.
11587 echo "$as_me:$LINENO: checking for remove" >&5
11588 echo $ECHO_N "checking for remove... $ECHO_C" >&6
11589 if test "${ac_cv_func_remove+set}" = set; then
11590 echo $ECHO_N "(cached) $ECHO_C" >&6
11592 if test x
$gcc_no_link = xyes
; then
11593 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
11594 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
11595 { (exit 1); exit 1; }; }
11597 cat >conftest.
$ac_ext <<_ACEOF
11600 cat confdefs.h
>>conftest.
$ac_ext
11601 cat >>conftest.
$ac_ext <<_ACEOF
11602 /* end confdefs.h. */
11603 /* Define remove to an innocuous variant, in case <limits.h> declares remove.
11604 For example, HP-UX 11i <limits.h> declares gettimeofday. */
11605 #define remove innocuous_remove
11607 /* System header to define __stub macros and hopefully few prototypes,
11608 which can conflict with char remove (); below.
11609 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
11610 <limits.h> exists even on freestanding compilers. */
11613 # include <limits.h>
11615 # include <assert.h>
11620 /* Override any gcc2 internal prototype to avoid an error. */
11625 /* We use char because int might match the return type of a gcc2
11626 builtin and then its argument prototype would still apply. */
11628 /* The GNU C library defines this for functions which it implements
11629 to always fail with ENOSYS. Some functions are actually named
11630 something starting with __ and the normal name is an alias. */
11631 #if defined (__stub_remove) || defined (__stub___remove)
11634 char (*f) () = remove;
11643 return f != remove;
11648 rm -f conftest.
$ac_objext conftest
$ac_exeext
11649 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
11650 (eval $ac_link) 2>conftest.er1
11652 grep -v '^ *+' conftest.er1
>conftest.err
11654 cat conftest.err
>&5
11655 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11656 (exit $ac_status); } &&
11657 { ac_try
='test -z "$ac_c_werror_flag"
11658 || test ! -s conftest.err'
11659 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11660 (eval $ac_try) 2>&5
11662 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11663 (exit $ac_status); }; } &&
11664 { ac_try
='test -s conftest$ac_exeext'
11665 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11666 (eval $ac_try) 2>&5
11668 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11669 (exit $ac_status); }; }; then
11670 ac_cv_func_remove
=yes
11672 echo "$as_me: failed program was:" >&5
11673 sed 's/^/| /' conftest.
$ac_ext >&5
11675 ac_cv_func_remove
=no
11677 rm -f conftest.err conftest.
$ac_objext \
11678 conftest
$ac_exeext conftest.
$ac_ext
11680 echo "$as_me:$LINENO: result: $ac_cv_func_remove" >&5
11681 echo "${ECHO_T}$ac_cv_func_remove" >&6
11683 if test $ac_cv_func_remove = no
; then
11684 echo "$as_me:$LINENO: checking for remove in -lposix" >&5
11685 echo $ECHO_N "checking for remove in -lposix... $ECHO_C" >&6
11686 if test "${ac_cv_lib_posix_remove+set}" = set; then
11687 echo $ECHO_N "(cached) $ECHO_C" >&6
11689 ac_check_lib_save_LIBS
=$LIBS
11690 LIBS
="-lposix $LIBS"
11691 if test x
$gcc_no_link = xyes
; then
11692 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
11693 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
11694 { (exit 1); exit 1; }; }
11696 cat >conftest.
$ac_ext <<_ACEOF
11699 cat confdefs.h
>>conftest.
$ac_ext
11700 cat >>conftest.
$ac_ext <<_ACEOF
11701 /* end confdefs.h. */
11703 /* Override any gcc2 internal prototype to avoid an error. */
11707 /* We use char because int might match the return type of a gcc2
11708 builtin and then its argument prototype would still apply. */
11718 rm -f conftest.
$ac_objext conftest
$ac_exeext
11719 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
11720 (eval $ac_link) 2>conftest.er1
11722 grep -v '^ *+' conftest.er1
>conftest.err
11724 cat conftest.err
>&5
11725 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11726 (exit $ac_status); } &&
11727 { ac_try
='test -z "$ac_c_werror_flag"
11728 || test ! -s conftest.err'
11729 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11730 (eval $ac_try) 2>&5
11732 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11733 (exit $ac_status); }; } &&
11734 { ac_try
='test -s conftest$ac_exeext'
11735 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11736 (eval $ac_try) 2>&5
11738 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11739 (exit $ac_status); }; }; then
11740 ac_cv_lib_posix_remove
=yes
11742 echo "$as_me: failed program was:" >&5
11743 sed 's/^/| /' conftest.
$ac_ext >&5
11745 ac_cv_lib_posix_remove
=no
11747 rm -f conftest.err conftest.
$ac_objext \
11748 conftest
$ac_exeext conftest.
$ac_ext
11749 LIBS
=$ac_check_lib_save_LIBS
11751 echo "$as_me:$LINENO: result: $ac_cv_lib_posix_remove" >&5
11752 echo "${ECHO_T}$ac_cv_lib_posix_remove" >&6
11753 if test $ac_cv_lib_posix_remove = yes; then
11754 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lposix"
11759 # BSDI BSD/OS 2.1 needs -lipc for XOpenDisplay.
11760 echo "$as_me:$LINENO: checking for shmat" >&5
11761 echo $ECHO_N "checking for shmat... $ECHO_C" >&6
11762 if test "${ac_cv_func_shmat+set}" = set; then
11763 echo $ECHO_N "(cached) $ECHO_C" >&6
11765 if test x
$gcc_no_link = xyes
; then
11766 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
11767 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
11768 { (exit 1); exit 1; }; }
11770 cat >conftest.
$ac_ext <<_ACEOF
11773 cat confdefs.h
>>conftest.
$ac_ext
11774 cat >>conftest.
$ac_ext <<_ACEOF
11775 /* end confdefs.h. */
11776 /* Define shmat to an innocuous variant, in case <limits.h> declares shmat.
11777 For example, HP-UX 11i <limits.h> declares gettimeofday. */
11778 #define shmat innocuous_shmat
11780 /* System header to define __stub macros and hopefully few prototypes,
11781 which can conflict with char shmat (); below.
11782 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
11783 <limits.h> exists even on freestanding compilers. */
11786 # include <limits.h>
11788 # include <assert.h>
11793 /* Override any gcc2 internal prototype to avoid an error. */
11798 /* We use char because int might match the return type of a gcc2
11799 builtin and then its argument prototype would still apply. */
11801 /* The GNU C library defines this for functions which it implements
11802 to always fail with ENOSYS. Some functions are actually named
11803 something starting with __ and the normal name is an alias. */
11804 #if defined (__stub_shmat) || defined (__stub___shmat)
11807 char (*f) () = shmat;
11821 rm -f conftest.
$ac_objext conftest
$ac_exeext
11822 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
11823 (eval $ac_link) 2>conftest.er1
11825 grep -v '^ *+' conftest.er1
>conftest.err
11827 cat conftest.err
>&5
11828 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11829 (exit $ac_status); } &&
11830 { ac_try
='test -z "$ac_c_werror_flag"
11831 || test ! -s conftest.err'
11832 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11833 (eval $ac_try) 2>&5
11835 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11836 (exit $ac_status); }; } &&
11837 { ac_try
='test -s conftest$ac_exeext'
11838 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11839 (eval $ac_try) 2>&5
11841 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11842 (exit $ac_status); }; }; then
11843 ac_cv_func_shmat
=yes
11845 echo "$as_me: failed program was:" >&5
11846 sed 's/^/| /' conftest.
$ac_ext >&5
11848 ac_cv_func_shmat
=no
11850 rm -f conftest.err conftest.
$ac_objext \
11851 conftest
$ac_exeext conftest.
$ac_ext
11853 echo "$as_me:$LINENO: result: $ac_cv_func_shmat" >&5
11854 echo "${ECHO_T}$ac_cv_func_shmat" >&6
11856 if test $ac_cv_func_shmat = no
; then
11857 echo "$as_me:$LINENO: checking for shmat in -lipc" >&5
11858 echo $ECHO_N "checking for shmat in -lipc... $ECHO_C" >&6
11859 if test "${ac_cv_lib_ipc_shmat+set}" = set; then
11860 echo $ECHO_N "(cached) $ECHO_C" >&6
11862 ac_check_lib_save_LIBS
=$LIBS
11864 if test x
$gcc_no_link = xyes
; then
11865 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
11866 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
11867 { (exit 1); exit 1; }; }
11869 cat >conftest.
$ac_ext <<_ACEOF
11872 cat confdefs.h
>>conftest.
$ac_ext
11873 cat >>conftest.
$ac_ext <<_ACEOF
11874 /* end confdefs.h. */
11876 /* Override any gcc2 internal prototype to avoid an error. */
11880 /* We use char because int might match the return type of a gcc2
11881 builtin and then its argument prototype would still apply. */
11891 rm -f conftest.
$ac_objext conftest
$ac_exeext
11892 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
11893 (eval $ac_link) 2>conftest.er1
11895 grep -v '^ *+' conftest.er1
>conftest.err
11897 cat conftest.err
>&5
11898 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11899 (exit $ac_status); } &&
11900 { ac_try
='test -z "$ac_c_werror_flag"
11901 || test ! -s conftest.err'
11902 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11903 (eval $ac_try) 2>&5
11905 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11906 (exit $ac_status); }; } &&
11907 { ac_try
='test -s conftest$ac_exeext'
11908 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11909 (eval $ac_try) 2>&5
11911 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11912 (exit $ac_status); }; }; then
11913 ac_cv_lib_ipc_shmat
=yes
11915 echo "$as_me: failed program was:" >&5
11916 sed 's/^/| /' conftest.
$ac_ext >&5
11918 ac_cv_lib_ipc_shmat
=no
11920 rm -f conftest.err conftest.
$ac_objext \
11921 conftest
$ac_exeext conftest.
$ac_ext
11922 LIBS
=$ac_check_lib_save_LIBS
11924 echo "$as_me:$LINENO: result: $ac_cv_lib_ipc_shmat" >&5
11925 echo "${ECHO_T}$ac_cv_lib_ipc_shmat" >&6
11926 if test $ac_cv_lib_ipc_shmat = yes; then
11927 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lipc"
11933 # Check for libraries that X11R6 Xt/Xaw programs need.
11934 ac_save_LDFLAGS
=$LDFLAGS
11935 test -n "$x_libraries" && LDFLAGS
="$LDFLAGS -L$x_libraries"
11936 # SM needs ICE to (dynamically) link under SunOS 4.x (so we have to
11937 # check for ICE first), but we must link in the order -lSM -lICE or
11938 # we get undefined symbols. So assume we have SM if we have ICE.
11939 # These have to be linked with before -lX11, unlike the other
11940 # libraries we check for below, so use a different variable.
11941 # John Interrante, Karl Berry
11942 echo "$as_me:$LINENO: checking for IceConnectionNumber in -lICE" >&5
11943 echo $ECHO_N "checking for IceConnectionNumber in -lICE... $ECHO_C" >&6
11944 if test "${ac_cv_lib_ICE_IceConnectionNumber+set}" = set; then
11945 echo $ECHO_N "(cached) $ECHO_C" >&6
11947 ac_check_lib_save_LIBS
=$LIBS
11948 LIBS
="-lICE $X_EXTRA_LIBS $LIBS"
11949 if test x
$gcc_no_link = xyes
; then
11950 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
11951 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
11952 { (exit 1); exit 1; }; }
11954 cat >conftest.
$ac_ext <<_ACEOF
11957 cat confdefs.h
>>conftest.
$ac_ext
11958 cat >>conftest.
$ac_ext <<_ACEOF
11959 /* end confdefs.h. */
11961 /* Override any gcc2 internal prototype to avoid an error. */
11965 /* We use char because int might match the return type of a gcc2
11966 builtin and then its argument prototype would still apply. */
11967 char IceConnectionNumber ();
11971 IceConnectionNumber ();
11976 rm -f conftest.
$ac_objext conftest
$ac_exeext
11977 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
11978 (eval $ac_link) 2>conftest.er1
11980 grep -v '^ *+' conftest.er1
>conftest.err
11982 cat conftest.err
>&5
11983 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11984 (exit $ac_status); } &&
11985 { ac_try
='test -z "$ac_c_werror_flag"
11986 || test ! -s conftest.err'
11987 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11988 (eval $ac_try) 2>&5
11990 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11991 (exit $ac_status); }; } &&
11992 { ac_try
='test -s conftest$ac_exeext'
11993 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11994 (eval $ac_try) 2>&5
11996 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11997 (exit $ac_status); }; }; then
11998 ac_cv_lib_ICE_IceConnectionNumber
=yes
12000 echo "$as_me: failed program was:" >&5
12001 sed 's/^/| /' conftest.
$ac_ext >&5
12003 ac_cv_lib_ICE_IceConnectionNumber
=no
12005 rm -f conftest.err conftest.
$ac_objext \
12006 conftest
$ac_exeext conftest.
$ac_ext
12007 LIBS
=$ac_check_lib_save_LIBS
12009 echo "$as_me:$LINENO: result: $ac_cv_lib_ICE_IceConnectionNumber" >&5
12010 echo "${ECHO_T}$ac_cv_lib_ICE_IceConnectionNumber" >&6
12011 if test $ac_cv_lib_ICE_IceConnectionNumber = yes; then
12012 X_PRE_LIBS
="$X_PRE_LIBS -lSM -lICE"
12015 LDFLAGS
=$ac_save_LDFLAGS
12019 if test "$no_x" = yes; then
12020 { { echo "$as_me:$LINENO: error: GTK+ peers requested but no X library available" >&5
12021 echo "$as_me: error: GTK+ peers requested but no X library available" >&2;}
12022 { (exit 1); exit 1; }; }
12024 echo "$as_me:$LINENO: checking for XTestQueryExtension in -lXtst" >&5
12025 echo $ECHO_N "checking for XTestQueryExtension in -lXtst... $ECHO_C" >&6
12026 if test "${ac_cv_lib_Xtst_XTestQueryExtension+set}" = set; then
12027 echo $ECHO_N "(cached) $ECHO_C" >&6
12029 ac_check_lib_save_LIBS
=$LIBS
12030 LIBS
="-lXtst ${X_LIBS} $LIBS"
12031 if test x
$gcc_no_link = xyes
; then
12032 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
12033 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
12034 { (exit 1); exit 1; }; }
12036 cat >conftest.
$ac_ext <<_ACEOF
12039 cat confdefs.h
>>conftest.
$ac_ext
12040 cat >>conftest.
$ac_ext <<_ACEOF
12041 /* end confdefs.h. */
12043 /* Override any gcc2 internal prototype to avoid an error. */
12047 /* We use char because int might match the return type of a gcc2
12048 builtin and then its argument prototype would still apply. */
12049 char XTestQueryExtension ();
12053 XTestQueryExtension ();
12058 rm -f conftest.
$ac_objext conftest
$ac_exeext
12059 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12060 (eval $ac_link) 2>conftest.er1
12062 grep -v '^ *+' conftest.er1
>conftest.err
12064 cat conftest.err
>&5
12065 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12066 (exit $ac_status); } &&
12067 { ac_try
='test -z "$ac_c_werror_flag"
12068 || test ! -s conftest.err'
12069 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12070 (eval $ac_try) 2>&5
12072 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12073 (exit $ac_status); }; } &&
12074 { ac_try
='test -s conftest$ac_exeext'
12075 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12076 (eval $ac_try) 2>&5
12078 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12079 (exit $ac_status); }; }; then
12080 ac_cv_lib_Xtst_XTestQueryExtension
=yes
12082 echo "$as_me: failed program was:" >&5
12083 sed 's/^/| /' conftest.
$ac_ext >&5
12085 ac_cv_lib_Xtst_XTestQueryExtension
=no
12087 rm -f conftest.err conftest.
$ac_objext \
12088 conftest
$ac_exeext conftest.
$ac_ext
12089 LIBS
=$ac_check_lib_save_LIBS
12091 echo "$as_me:$LINENO: result: $ac_cv_lib_Xtst_XTestQueryExtension" >&5
12092 echo "${ECHO_T}$ac_cv_lib_Xtst_XTestQueryExtension" >&6
12093 if test $ac_cv_lib_Xtst_XTestQueryExtension = yes; then
12094 XTEST_LIBS
="$XTEST_LIBS -lX11 -lXtst"
12096 { { echo "$as_me:$LINENO: error: libXtst NOT found, required for GdkRobot" >&5
12097 echo "$as_me: error: libXtst NOT found, required for GdkRobot" >&2;}
12098 { (exit 1); exit 1; }; }
12105 if test -z "$PKG_CONFIG"; then
12106 # Extract the first word of "pkg-config", so it can be a program name with args.
12107 set dummy pkg-config
; ac_word
=$2
12108 echo "$as_me:$LINENO: checking for $ac_word" >&5
12109 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
12110 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
12111 echo $ECHO_N "(cached) $ECHO_C" >&6
12113 case $PKG_CONFIG in
12115 ac_cv_path_PKG_CONFIG
="$PKG_CONFIG" # Let the user override the test with a path.
12118 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
12119 for as_dir
in $PATH
12122 test -z "$as_dir" && as_dir
=.
12123 for ac_exec_ext
in '' $ac_executable_extensions; do
12124 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
12125 ac_cv_path_PKG_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
12126 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
12132 test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG
="no"
12136 PKG_CONFIG
=$ac_cv_path_PKG_CONFIG
12138 if test -n "$PKG_CONFIG"; then
12139 echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
12140 echo "${ECHO_T}$PKG_CONFIG" >&6
12142 echo "$as_me:$LINENO: result: no" >&5
12143 echo "${ECHO_T}no" >&6
12148 if test "$PKG_CONFIG" = "no" ; then
12149 echo "*** The pkg-config script could not be found. Make sure it is"
12150 echo "*** in your path, or set the PKG_CONFIG environment variable"
12151 echo "*** to the full path to pkg-config."
12152 echo "*** Or see http://www.freedesktop.org/software/pkgconfig to get pkg-config."
12154 PKG_CONFIG_MIN_VERSION
=0.9.0
12155 if $PKG_CONFIG --atleast-pkgconfig-version $PKG_CONFIG_MIN_VERSION; then
12156 echo "$as_me:$LINENO: checking for gtk+-2.0 >= 2.8 gthread-2.0 >= 2.2 gdk-pixbuf-2.0" >&5
12157 echo $ECHO_N "checking for gtk+-2.0 >= 2.8 gthread-2.0 >= 2.2 gdk-pixbuf-2.0... $ECHO_C" >&6
12159 if $PKG_CONFIG --exists "gtk+-2.0 >= 2.8 gthread-2.0 >= 2.2 gdk-pixbuf-2.0" ; then
12160 echo "$as_me:$LINENO: result: yes" >&5
12161 echo "${ECHO_T}yes" >&6
12164 echo "$as_me:$LINENO: checking GTK_CFLAGS" >&5
12165 echo $ECHO_N "checking GTK_CFLAGS... $ECHO_C" >&6
12166 GTK_CFLAGS
=`$PKG_CONFIG --cflags "gtk+-2.0 >= 2.8 gthread-2.0 >= 2.2 gdk-pixbuf-2.0"`
12167 echo "$as_me:$LINENO: result: $GTK_CFLAGS" >&5
12168 echo "${ECHO_T}$GTK_CFLAGS" >&6
12170 echo "$as_me:$LINENO: checking GTK_LIBS" >&5
12171 echo $ECHO_N "checking GTK_LIBS... $ECHO_C" >&6
12172 GTK_LIBS
=`$PKG_CONFIG --libs "gtk+-2.0 >= 2.8 gthread-2.0 >= 2.2 gdk-pixbuf-2.0"`
12173 echo "$as_me:$LINENO: result: $GTK_LIBS" >&5
12174 echo "${ECHO_T}$GTK_LIBS" >&6
12178 ## If we have a custom action on failure, don't print errors, but
12179 ## do set a variable so people can do so.
12180 GTK_PKG_ERRORS
=`$PKG_CONFIG --errors-to-stdout --print-errors "gtk+-2.0 >= 2.8 gthread-2.0 >= 2.2 gdk-pixbuf-2.0"`
12181 echo $GTK_PKG_ERRORS
12187 echo "*** Your version of pkg-config is too old. You need version $PKG_CONFIG_MIN_VERSION or newer."
12188 echo "*** See http://www.freedesktop.org/software/pkgconfig"
12192 if test $succeeded = yes; then
12195 { { 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
12196 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;}
12197 { (exit 1); exit 1; }; }
12203 if test -z "$PKG_CONFIG"; then
12204 # Extract the first word of "pkg-config", so it can be a program name with args.
12205 set dummy pkg-config
; ac_word
=$2
12206 echo "$as_me:$LINENO: checking for $ac_word" >&5
12207 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
12208 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
12209 echo $ECHO_N "(cached) $ECHO_C" >&6
12211 case $PKG_CONFIG in
12213 ac_cv_path_PKG_CONFIG
="$PKG_CONFIG" # Let the user override the test with a path.
12216 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
12217 for as_dir
in $PATH
12220 test -z "$as_dir" && as_dir
=.
12221 for ac_exec_ext
in '' $ac_executable_extensions; do
12222 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
12223 ac_cv_path_PKG_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
12224 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
12230 test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG
="no"
12234 PKG_CONFIG
=$ac_cv_path_PKG_CONFIG
12236 if test -n "$PKG_CONFIG"; then
12237 echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
12238 echo "${ECHO_T}$PKG_CONFIG" >&6
12240 echo "$as_me:$LINENO: result: no" >&5
12241 echo "${ECHO_T}no" >&6
12246 if test "$PKG_CONFIG" = "no" ; then
12247 echo "*** The pkg-config script could not be found. Make sure it is"
12248 echo "*** in your path, or set the PKG_CONFIG environment variable"
12249 echo "*** to the full path to pkg-config."
12250 echo "*** Or see http://www.freedesktop.org/software/pkgconfig to get pkg-config."
12252 PKG_CONFIG_MIN_VERSION
=0.9.0
12253 if $PKG_CONFIG --atleast-pkgconfig-version $PKG_CONFIG_MIN_VERSION; then
12254 echo "$as_me:$LINENO: checking for freetype2" >&5
12255 echo $ECHO_N "checking for freetype2... $ECHO_C" >&6
12257 if $PKG_CONFIG --exists "freetype2" ; then
12258 echo "$as_me:$LINENO: result: yes" >&5
12259 echo "${ECHO_T}yes" >&6
12262 echo "$as_me:$LINENO: checking FREETYPE2_CFLAGS" >&5
12263 echo $ECHO_N "checking FREETYPE2_CFLAGS... $ECHO_C" >&6
12264 FREETYPE2_CFLAGS
=`$PKG_CONFIG --cflags "freetype2"`
12265 echo "$as_me:$LINENO: result: $FREETYPE2_CFLAGS" >&5
12266 echo "${ECHO_T}$FREETYPE2_CFLAGS" >&6
12268 echo "$as_me:$LINENO: checking FREETYPE2_LIBS" >&5
12269 echo $ECHO_N "checking FREETYPE2_LIBS... $ECHO_C" >&6
12270 FREETYPE2_LIBS
=`$PKG_CONFIG --libs "freetype2"`
12271 echo "$as_me:$LINENO: result: $FREETYPE2_LIBS" >&5
12272 echo "${ECHO_T}$FREETYPE2_LIBS" >&6
12274 FREETYPE2_CFLAGS
=""
12276 ## If we have a custom action on failure, don't print errors, but
12277 ## do set a variable so people can do so.
12278 FREETYPE2_PKG_ERRORS
=`$PKG_CONFIG --errors-to-stdout --print-errors "freetype2"`
12279 echo $FREETYPE2_PKG_ERRORS
12285 echo "*** Your version of pkg-config is too old. You need version $PKG_CONFIG_MIN_VERSION or newer."
12286 echo "*** See http://www.freedesktop.org/software/pkgconfig"
12290 if test $succeeded = yes; then
12293 { { 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
12294 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;}
12295 { (exit 1); exit 1; }; }
12301 if test -z "$PKG_CONFIG"; then
12302 # Extract the first word of "pkg-config", so it can be a program name with args.
12303 set dummy pkg-config
; ac_word
=$2
12304 echo "$as_me:$LINENO: checking for $ac_word" >&5
12305 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
12306 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
12307 echo $ECHO_N "(cached) $ECHO_C" >&6
12309 case $PKG_CONFIG in
12311 ac_cv_path_PKG_CONFIG
="$PKG_CONFIG" # Let the user override the test with a path.
12314 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
12315 for as_dir
in $PATH
12318 test -z "$as_dir" && as_dir
=.
12319 for ac_exec_ext
in '' $ac_executable_extensions; do
12320 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
12321 ac_cv_path_PKG_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
12322 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
12328 test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG
="no"
12332 PKG_CONFIG
=$ac_cv_path_PKG_CONFIG
12334 if test -n "$PKG_CONFIG"; then
12335 echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
12336 echo "${ECHO_T}$PKG_CONFIG" >&6
12338 echo "$as_me:$LINENO: result: no" >&5
12339 echo "${ECHO_T}no" >&6
12344 if test "$PKG_CONFIG" = "no" ; then
12345 echo "*** The pkg-config script could not be found. Make sure it is"
12346 echo "*** in your path, or set the PKG_CONFIG environment variable"
12347 echo "*** to the full path to pkg-config."
12348 echo "*** Or see http://www.freedesktop.org/software/pkgconfig to get pkg-config."
12350 PKG_CONFIG_MIN_VERSION
=0.9.0
12351 if $PKG_CONFIG --atleast-pkgconfig-version $PKG_CONFIG_MIN_VERSION; then
12352 echo "$as_me:$LINENO: checking for pangoft2" >&5
12353 echo $ECHO_N "checking for pangoft2... $ECHO_C" >&6
12355 if $PKG_CONFIG --exists "pangoft2" ; then
12356 echo "$as_me:$LINENO: result: yes" >&5
12357 echo "${ECHO_T}yes" >&6
12360 echo "$as_me:$LINENO: checking PANGOFT2_CFLAGS" >&5
12361 echo $ECHO_N "checking PANGOFT2_CFLAGS... $ECHO_C" >&6
12362 PANGOFT2_CFLAGS
=`$PKG_CONFIG --cflags "pangoft2"`
12363 echo "$as_me:$LINENO: result: $PANGOFT2_CFLAGS" >&5
12364 echo "${ECHO_T}$PANGOFT2_CFLAGS" >&6
12366 echo "$as_me:$LINENO: checking PANGOFT2_LIBS" >&5
12367 echo $ECHO_N "checking PANGOFT2_LIBS... $ECHO_C" >&6
12368 PANGOFT2_LIBS
=`$PKG_CONFIG --libs "pangoft2"`
12369 echo "$as_me:$LINENO: result: $PANGOFT2_LIBS" >&5
12370 echo "${ECHO_T}$PANGOFT2_LIBS" >&6
12374 ## If we have a custom action on failure, don't print errors, but
12375 ## do set a variable so people can do so.
12376 PANGOFT2_PKG_ERRORS
=`$PKG_CONFIG --errors-to-stdout --print-errors "pangoft2"`
12377 echo $PANGOFT2_PKG_ERRORS
12383 echo "*** Your version of pkg-config is too old. You need version $PKG_CONFIG_MIN_VERSION or newer."
12384 echo "*** See http://www.freedesktop.org/software/pkgconfig"
12388 if test $succeeded = yes; then
12391 { { 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
12392 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;}
12393 { (exit 1); exit 1; }; }
12396 echo "$as_me:$LINENO: checking for XRenderQueryExtension in -lXrender" >&5
12397 echo $ECHO_N "checking for XRenderQueryExtension in -lXrender... $ECHO_C" >&6
12398 if test "${ac_cv_lib_Xrender_XRenderQueryExtension+set}" = set; then
12399 echo $ECHO_N "(cached) $ECHO_C" >&6
12401 ac_check_lib_save_LIBS
=$LIBS
12402 LIBS
="-lXrender ${X_LIBS} $LIBS"
12403 if test x
$gcc_no_link = xyes
; then
12404 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
12405 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
12406 { (exit 1); exit 1; }; }
12408 cat >conftest.
$ac_ext <<_ACEOF
12411 cat confdefs.h
>>conftest.
$ac_ext
12412 cat >>conftest.
$ac_ext <<_ACEOF
12413 /* end confdefs.h. */
12415 /* Override any gcc2 internal prototype to avoid an error. */
12419 /* We use char because int might match the return type of a gcc2
12420 builtin and then its argument prototype would still apply. */
12421 char XRenderQueryExtension ();
12425 XRenderQueryExtension ();
12430 rm -f conftest.
$ac_objext conftest
$ac_exeext
12431 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12432 (eval $ac_link) 2>conftest.er1
12434 grep -v '^ *+' conftest.er1
>conftest.err
12436 cat conftest.err
>&5
12437 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12438 (exit $ac_status); } &&
12439 { ac_try
='test -z "$ac_c_werror_flag"
12440 || test ! -s conftest.err'
12441 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12442 (eval $ac_try) 2>&5
12444 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12445 (exit $ac_status); }; } &&
12446 { ac_try
='test -s conftest$ac_exeext'
12447 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12448 (eval $ac_try) 2>&5
12450 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12451 (exit $ac_status); }; }; then
12452 ac_cv_lib_Xrender_XRenderQueryExtension
=yes
12454 echo "$as_me: failed program was:" >&5
12455 sed 's/^/| /' conftest.
$ac_ext >&5
12457 ac_cv_lib_Xrender_XRenderQueryExtension
=no
12459 rm -f conftest.err conftest.
$ac_objext \
12460 conftest
$ac_exeext conftest.
$ac_ext
12461 LIBS
=$ac_check_lib_save_LIBS
12463 echo "$as_me:$LINENO: result: $ac_cv_lib_Xrender_XRenderQueryExtension" >&5
12464 echo "${ECHO_T}$ac_cv_lib_Xrender_XRenderQueryExtension" >&6
12465 if test $ac_cv_lib_Xrender_XRenderQueryExtension = yes; then
12467 cat >>confdefs.h
<<\_ACEOF
12468 #define HAVE_XRENDER 1
12470 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lXrender"
12476 echo "$as_me:$LINENO: checking for XRRQueryExtension in -lXrandr" >&5
12477 echo $ECHO_N "checking for XRRQueryExtension in -lXrandr... $ECHO_C" >&6
12478 if test "${ac_cv_lib_Xrandr_XRRQueryExtension+set}" = set; then
12479 echo $ECHO_N "(cached) $ECHO_C" >&6
12481 ac_check_lib_save_LIBS
=$LIBS
12482 LIBS
="-lXrandr ${X_LIBS} $LIBS"
12483 if test x
$gcc_no_link = xyes
; then
12484 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
12485 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
12486 { (exit 1); exit 1; }; }
12488 cat >conftest.
$ac_ext <<_ACEOF
12491 cat confdefs.h
>>conftest.
$ac_ext
12492 cat >>conftest.
$ac_ext <<_ACEOF
12493 /* end confdefs.h. */
12495 /* Override any gcc2 internal prototype to avoid an error. */
12499 /* We use char because int might match the return type of a gcc2
12500 builtin and then its argument prototype would still apply. */
12501 char XRRQueryExtension ();
12505 XRRQueryExtension ();
12510 rm -f conftest.
$ac_objext conftest
$ac_exeext
12511 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12512 (eval $ac_link) 2>conftest.er1
12514 grep -v '^ *+' conftest.er1
>conftest.err
12516 cat conftest.err
>&5
12517 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12518 (exit $ac_status); } &&
12519 { ac_try
='test -z "$ac_c_werror_flag"
12520 || test ! -s conftest.err'
12521 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12522 (eval $ac_try) 2>&5
12524 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12525 (exit $ac_status); }; } &&
12526 { ac_try
='test -s conftest$ac_exeext'
12527 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12528 (eval $ac_try) 2>&5
12530 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12531 (exit $ac_status); }; }; then
12532 ac_cv_lib_Xrandr_XRRQueryExtension
=yes
12534 echo "$as_me: failed program was:" >&5
12535 sed 's/^/| /' conftest.
$ac_ext >&5
12537 ac_cv_lib_Xrandr_XRRQueryExtension
=no
12539 rm -f conftest.err conftest.
$ac_objext \
12540 conftest
$ac_exeext conftest.
$ac_ext
12541 LIBS
=$ac_check_lib_save_LIBS
12543 echo "$as_me:$LINENO: result: $ac_cv_lib_Xrandr_XRRQueryExtension" >&5
12544 echo "${ECHO_T}$ac_cv_lib_Xrandr_XRRQueryExtension" >&6
12545 if test $ac_cv_lib_Xrandr_XRRQueryExtension = yes; then
12547 cat >>confdefs.h
<<\_ACEOF
12548 #define HAVE_XRANDR 1
12550 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lXrandr"
12565 if test "x${COMPILE_GCONF_PEER}" = xyes
; then
12569 if test -z "$PKG_CONFIG"; then
12570 # Extract the first word of "pkg-config", so it can be a program name with args.
12571 set dummy pkg-config
; ac_word
=$2
12572 echo "$as_me:$LINENO: checking for $ac_word" >&5
12573 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
12574 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
12575 echo $ECHO_N "(cached) $ECHO_C" >&6
12577 case $PKG_CONFIG in
12579 ac_cv_path_PKG_CONFIG
="$PKG_CONFIG" # Let the user override the test with a path.
12582 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
12583 for as_dir
in $PATH
12586 test -z "$as_dir" && as_dir
=.
12587 for ac_exec_ext
in '' $ac_executable_extensions; do
12588 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
12589 ac_cv_path_PKG_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
12590 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
12596 test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG
="no"
12600 PKG_CONFIG
=$ac_cv_path_PKG_CONFIG
12602 if test -n "$PKG_CONFIG"; then
12603 echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
12604 echo "${ECHO_T}$PKG_CONFIG" >&6
12606 echo "$as_me:$LINENO: result: no" >&5
12607 echo "${ECHO_T}no" >&6
12612 if test "$PKG_CONFIG" = "no" ; then
12613 echo "*** The pkg-config script could not be found. Make sure it is"
12614 echo "*** in your path, or set the PKG_CONFIG environment variable"
12615 echo "*** to the full path to pkg-config."
12616 echo "*** Or see http://www.freedesktop.org/software/pkgconfig to get pkg-config."
12618 PKG_CONFIG_MIN_VERSION
=0.9.0
12619 if $PKG_CONFIG --atleast-pkgconfig-version $PKG_CONFIG_MIN_VERSION; then
12620 echo "$as_me:$LINENO: checking for gconf-2.0 >= 2.11.2" >&5
12621 echo $ECHO_N "checking for gconf-2.0 >= 2.11.2... $ECHO_C" >&6
12623 if $PKG_CONFIG --exists "gconf-2.0 >= 2.11.2" ; then
12624 echo "$as_me:$LINENO: result: yes" >&5
12625 echo "${ECHO_T}yes" >&6
12628 echo "$as_me:$LINENO: checking GCONF_CFLAGS" >&5
12629 echo $ECHO_N "checking GCONF_CFLAGS... $ECHO_C" >&6
12630 GCONF_CFLAGS
=`$PKG_CONFIG --cflags "gconf-2.0 >= 2.11.2"`
12631 echo "$as_me:$LINENO: result: $GCONF_CFLAGS" >&5
12632 echo "${ECHO_T}$GCONF_CFLAGS" >&6
12634 echo "$as_me:$LINENO: checking GCONF_LIBS" >&5
12635 echo $ECHO_N "checking GCONF_LIBS... $ECHO_C" >&6
12636 GCONF_LIBS
=`$PKG_CONFIG --libs "gconf-2.0 >= 2.11.2"`
12637 echo "$as_me:$LINENO: result: $GCONF_LIBS" >&5
12638 echo "${ECHO_T}$GCONF_LIBS" >&6
12642 ## If we have a custom action on failure, don't print errors, but
12643 ## do set a variable so people can do so.
12644 GCONF_PKG_ERRORS
=`$PKG_CONFIG --errors-to-stdout --print-errors "gconf-2.0 >= 2.11.2"`
12645 echo $GCONF_PKG_ERRORS
12651 echo "*** Your version of pkg-config is too old. You need version $PKG_CONFIG_MIN_VERSION or newer."
12652 echo "*** See http://www.freedesktop.org/software/pkgconfig"
12656 if test $succeeded = yes; then
12659 { { echo "$as_me:$LINENO: error: Library requirements (gconf-2.0 >= 2.11.2) not met; consider adjusting the PKG_CONFIG_PATH environment variable if your libraries are in a nonstandard prefix so pkg-config can find them." >&5
12660 echo "$as_me: error: Library requirements (gconf-2.0 >= 2.11.2) not met; consider adjusting the PKG_CONFIG_PATH environment variable if your libraries are in a nonstandard prefix so pkg-config can find them." >&2;}
12661 { (exit 1); exit 1; }; }
12669 if test -z "$PKG_CONFIG"; then
12670 # Extract the first word of "pkg-config", so it can be a program name with args.
12671 set dummy pkg-config
; ac_word
=$2
12672 echo "$as_me:$LINENO: checking for $ac_word" >&5
12673 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
12674 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
12675 echo $ECHO_N "(cached) $ECHO_C" >&6
12677 case $PKG_CONFIG in
12679 ac_cv_path_PKG_CONFIG
="$PKG_CONFIG" # Let the user override the test with a path.
12682 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
12683 for as_dir
in $PATH
12686 test -z "$as_dir" && as_dir
=.
12687 for ac_exec_ext
in '' $ac_executable_extensions; do
12688 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
12689 ac_cv_path_PKG_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
12690 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
12696 test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG
="no"
12700 PKG_CONFIG
=$ac_cv_path_PKG_CONFIG
12702 if test -n "$PKG_CONFIG"; then
12703 echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
12704 echo "${ECHO_T}$PKG_CONFIG" >&6
12706 echo "$as_me:$LINENO: result: no" >&5
12707 echo "${ECHO_T}no" >&6
12712 if test "$PKG_CONFIG" = "no" ; then
12713 echo "*** The pkg-config script could not be found. Make sure it is"
12714 echo "*** in your path, or set the PKG_CONFIG environment variable"
12715 echo "*** to the full path to pkg-config."
12716 echo "*** Or see http://www.freedesktop.org/software/pkgconfig to get pkg-config."
12718 PKG_CONFIG_MIN_VERSION
=0.9.0
12719 if $PKG_CONFIG --atleast-pkgconfig-version $PKG_CONFIG_MIN_VERSION; then
12720 echo "$as_me:$LINENO: checking for gdk-2.0 >= 2.8" >&5
12721 echo $ECHO_N "checking for gdk-2.0 >= 2.8... $ECHO_C" >&6
12723 if $PKG_CONFIG --exists "gdk-2.0 >= 2.8" ; then
12724 echo "$as_me:$LINENO: result: yes" >&5
12725 echo "${ECHO_T}yes" >&6
12728 echo "$as_me:$LINENO: checking GDK_CFLAGS" >&5
12729 echo $ECHO_N "checking GDK_CFLAGS... $ECHO_C" >&6
12730 GDK_CFLAGS
=`$PKG_CONFIG --cflags "gdk-2.0 >= 2.8"`
12731 echo "$as_me:$LINENO: result: $GDK_CFLAGS" >&5
12732 echo "${ECHO_T}$GDK_CFLAGS" >&6
12734 echo "$as_me:$LINENO: checking GDK_LIBS" >&5
12735 echo $ECHO_N "checking GDK_LIBS... $ECHO_C" >&6
12736 GDK_LIBS
=`$PKG_CONFIG --libs "gdk-2.0 >= 2.8"`
12737 echo "$as_me:$LINENO: result: $GDK_LIBS" >&5
12738 echo "${ECHO_T}$GDK_LIBS" >&6
12742 ## If we have a custom action on failure, don't print errors, but
12743 ## do set a variable so people can do so.
12744 GDK_PKG_ERRORS
=`$PKG_CONFIG --errors-to-stdout --print-errors "gdk-2.0 >= 2.8"`
12745 echo $GDK_PKG_ERRORS
12751 echo "*** Your version of pkg-config is too old. You need version $PKG_CONFIG_MIN_VERSION or newer."
12752 echo "*** See http://www.freedesktop.org/software/pkgconfig"
12756 if test $succeeded = yes; then
12759 { { echo "$as_me:$LINENO: error: Library requirements (gdk-2.0 >= 2.8) not met; consider adjusting the PKG_CONFIG_PATH environment variable if your libraries are in a nonstandard prefix so pkg-config can find them." >&5
12760 echo "$as_me: error: Library requirements (gdk-2.0 >= 2.8) not met; consider adjusting the PKG_CONFIG_PATH environment variable if your libraries are in a nonstandard prefix so pkg-config can find them." >&2;}
12761 { (exit 1); exit 1; }; }
12766 USE_GCONF_PREFS_PEER
=$enable_default_preferences_peer
12767 if test "$USE_GCONF_PREFS_PEER" = ""; then
12768 DEFAULT_PREFS_PEER
=gnu.java.util.prefs.GConfBasedFactory
12772 if test "x${COMPILE_QT_PEER}" = xyes
; then
12776 if test -z "$PKG_CONFIG"; then
12777 # Extract the first word of "pkg-config", so it can be a program name with args.
12778 set dummy pkg-config
; ac_word
=$2
12779 echo "$as_me:$LINENO: checking for $ac_word" >&5
12780 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
12781 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
12782 echo $ECHO_N "(cached) $ECHO_C" >&6
12784 case $PKG_CONFIG in
12786 ac_cv_path_PKG_CONFIG
="$PKG_CONFIG" # Let the user override the test with a path.
12789 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
12790 for as_dir
in $PATH
12793 test -z "$as_dir" && as_dir
=.
12794 for ac_exec_ext
in '' $ac_executable_extensions; do
12795 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
12796 ac_cv_path_PKG_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
12797 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
12803 test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG
="no"
12807 PKG_CONFIG
=$ac_cv_path_PKG_CONFIG
12809 if test -n "$PKG_CONFIG"; then
12810 echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
12811 echo "${ECHO_T}$PKG_CONFIG" >&6
12813 echo "$as_me:$LINENO: result: no" >&5
12814 echo "${ECHO_T}no" >&6
12819 if test "$PKG_CONFIG" = "no" ; then
12820 echo "*** The pkg-config script could not be found. Make sure it is"
12821 echo "*** in your path, or set the PKG_CONFIG environment variable"
12822 echo "*** to the full path to pkg-config."
12823 echo "*** Or see http://www.freedesktop.org/software/pkgconfig to get pkg-config."
12825 PKG_CONFIG_MIN_VERSION
=0.9.0
12826 if $PKG_CONFIG --atleast-pkgconfig-version $PKG_CONFIG_MIN_VERSION; then
12827 echo "$as_me:$LINENO: checking for QtCore QtGui >= 4.1.0" >&5
12828 echo $ECHO_N "checking for QtCore QtGui >= 4.1.0... $ECHO_C" >&6
12830 if $PKG_CONFIG --exists "QtCore QtGui >= 4.1.0" ; then
12831 echo "$as_me:$LINENO: result: yes" >&5
12832 echo "${ECHO_T}yes" >&6
12835 echo "$as_me:$LINENO: checking QT_CFLAGS" >&5
12836 echo $ECHO_N "checking QT_CFLAGS... $ECHO_C" >&6
12837 QT_CFLAGS
=`$PKG_CONFIG --cflags "QtCore QtGui >= 4.1.0"`
12838 echo "$as_me:$LINENO: result: $QT_CFLAGS" >&5
12839 echo "${ECHO_T}$QT_CFLAGS" >&6
12841 echo "$as_me:$LINENO: checking QT_LIBS" >&5
12842 echo $ECHO_N "checking QT_LIBS... $ECHO_C" >&6
12843 QT_LIBS
=`$PKG_CONFIG --libs "QtCore QtGui >= 4.1.0"`
12844 echo "$as_me:$LINENO: result: $QT_LIBS" >&5
12845 echo "${ECHO_T}$QT_LIBS" >&6
12849 ## If we have a custom action on failure, don't print errors, but
12850 ## do set a variable so people can do so.
12851 QT_PKG_ERRORS
=`$PKG_CONFIG --errors-to-stdout --print-errors "QtCore QtGui >= 4.1.0"`
12858 echo "*** Your version of pkg-config is too old. You need version $PKG_CONFIG_MIN_VERSION or newer."
12859 echo "*** See http://www.freedesktop.org/software/pkgconfig"
12863 if test $succeeded = yes; then
12869 if test "x$HAVE_QT4" = "xyes"; then
12870 QT_INCLUDE_DIR
=`$PKG_CONFIG --variable=includedir QtGui`
12871 EXTRA_QT_INCLUDE_DIR
="$QT_INCLUDE_DIR/Qt"
12872 as_ac_File
=`echo "ac_cv_file_$QT_INCLUDE_DIR/QWidget" | $as_tr_sh`
12873 echo "$as_me:$LINENO: checking for $QT_INCLUDE_DIR/QWidget" >&5
12874 echo $ECHO_N "checking for $QT_INCLUDE_DIR/QWidget... $ECHO_C" >&6
12875 if eval "test \"\${$as_ac_File+set}\" = set"; then
12876 echo $ECHO_N "(cached) $ECHO_C" >&6
12878 test "$cross_compiling" = yes &&
12879 { { echo "$as_me:$LINENO: error: cannot check for file existence when cross compiling" >&5
12880 echo "$as_me: error: cannot check for file existence when cross compiling" >&2;}
12881 { (exit 1); exit 1; }; }
12882 if test -r "$QT_INCLUDE_DIR/QWidget"; then
12883 eval "$as_ac_File=yes"
12885 eval "$as_ac_File=no"
12888 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_File'}'`" >&5
12889 echo "${ECHO_T}`eval echo '${'$as_ac_File'}'`" >&6
12890 if test `eval echo '${'$as_ac_File'}'` = yes; then
12891 { echo "$as_me:$LINENO: No extra QT_INCLUDE_DIR needed" >&5
12892 echo "$as_me: No extra QT_INCLUDE_DIR needed" >&6;}
12894 as_ac_File
=`echo "ac_cv_file_$EXTRA_QT_INCLUDE_DIR/QWidget" | $as_tr_sh`
12895 echo "$as_me:$LINENO: checking for $EXTRA_QT_INCLUDE_DIR/QWidget" >&5
12896 echo $ECHO_N "checking for $EXTRA_QT_INCLUDE_DIR/QWidget... $ECHO_C" >&6
12897 if eval "test \"\${$as_ac_File+set}\" = set"; then
12898 echo $ECHO_N "(cached) $ECHO_C" >&6
12900 test "$cross_compiling" = yes &&
12901 { { echo "$as_me:$LINENO: error: cannot check for file existence when cross compiling" >&5
12902 echo "$as_me: error: cannot check for file existence when cross compiling" >&2;}
12903 { (exit 1); exit 1; }; }
12904 if test -r "$EXTRA_QT_INCLUDE_DIR/QWidget"; then
12905 eval "$as_ac_File=yes"
12907 eval "$as_ac_File=no"
12910 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_File'}'`" >&5
12911 echo "${ECHO_T}`eval echo '${'$as_ac_File'}'`" >&6
12912 if test `eval echo '${'$as_ac_File'}'` = yes; then
12913 QT_CFLAGS
="$QT_CFLAGS -I$EXTRA_QT_INCLUDE_DIR"
12915 { echo "$as_me:$LINENO: WARNING: QWidget not found" >&5
12916 echo "$as_me: WARNING: QWidget not found" >&2;}
12921 # Extract the first word of "moc", so it can be a program name with args.
12922 set dummy moc
; ac_word
=$2
12923 echo "$as_me:$LINENO: checking for $ac_word" >&5
12924 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
12925 if test "${ac_cv_prog_MOC+set}" = set; then
12926 echo $ECHO_N "(cached) $ECHO_C" >&6
12928 if test -n "$MOC"; then
12929 ac_cv_prog_MOC
="$MOC" # Let the user override the test.
12931 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
12932 for as_dir
in $PATH
12935 test -z "$as_dir" && as_dir
=.
12936 for ac_exec_ext
in '' $ac_executable_extensions; do
12937 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
12938 ac_cv_prog_MOC
="moc"
12939 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
12947 MOC
=$ac_cv_prog_MOC
12948 if test -n "$MOC"; then
12949 echo "$as_me:$LINENO: result: $MOC" >&5
12950 echo "${ECHO_T}$MOC" >&6
12952 echo "$as_me:$LINENO: result: no" >&5
12953 echo "${ECHO_T}no" >&6
12956 # Extract the first word of "moc-qt4", so it can be a program name with args.
12957 set dummy moc-qt4
; ac_word
=$2
12958 echo "$as_me:$LINENO: checking for $ac_word" >&5
12959 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
12960 if test "${ac_cv_prog_MOC+set}" = set; then
12961 echo $ECHO_N "(cached) $ECHO_C" >&6
12963 if test -n "$MOC"; then
12964 ac_cv_prog_MOC
="$MOC" # Let the user override the test.
12966 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
12967 for as_dir
in $PATH
12970 test -z "$as_dir" && as_dir
=.
12971 for ac_exec_ext
in '' $ac_executable_extensions; do
12972 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
12973 ac_cv_prog_MOC
="moc-qt4"
12974 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
12982 MOC
=$ac_cv_prog_MOC
12983 if test -n "$MOC"; then
12984 echo "$as_me:$LINENO: result: $MOC" >&5
12985 echo "${ECHO_T}$MOC" >&6
12987 echo "$as_me:$LINENO: result: no" >&5
12988 echo "${ECHO_T}no" >&6
12992 if test "x$HAVE_QT4" = "xno"; then
12993 { echo "$as_me:$LINENO: Looking for QT_CFLAGS and QT_LIBS without pkg-config" >&5
12994 echo "$as_me: Looking for QT_CFLAGS and QT_LIBS without pkg-config" >&6;}
12998 # Check whether --with-qt4dir or --without-qt4dir was given.
12999 if test "${with_qt4dir+set}" = set; then
13000 withval
="$with_qt4dir"
13004 if test x
"$QT4DIR" = x
; then
13005 { { echo "$as_me:$LINENO: error: *** No path for Qt4 --with-qt4dir option given" >&5
13006 echo "$as_me: error: *** No path for Qt4 --with-qt4dir option given" >&2;}
13007 { (exit 1); exit 1; }; }
13009 echo "$as_me:$LINENO: result: QT4DIR... $QT4DIR" >&5
13010 echo "${ECHO_T}QT4DIR... $QT4DIR" >&6
13011 # Extract the first word of "moc", so it can be a program name with args.
13012 set dummy moc
; ac_word
=$2
13013 echo "$as_me:$LINENO: checking for $ac_word" >&5
13014 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
13015 if test "${ac_cv_prog_MOC+set}" = set; then
13016 echo $ECHO_N "(cached) $ECHO_C" >&6
13018 if test -n "$MOC"; then
13019 ac_cv_prog_MOC
="$MOC" # Let the user override the test.
13021 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
13022 for as_dir
in $QT4DIR/bin
13025 test -z "$as_dir" && as_dir
=.
13026 for ac_exec_ext
in '' $ac_executable_extensions; do
13027 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
13028 ac_cv_prog_MOC
="$QT4DIR/bin/moc"
13029 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
13037 MOC
=$ac_cv_prog_MOC
13038 if test -n "$MOC"; then
13039 echo "$as_me:$LINENO: result: $MOC" >&5
13040 echo "${ECHO_T}$MOC" >&6
13042 echo "$as_me:$LINENO: result: no" >&5
13043 echo "${ECHO_T}no" >&6
13046 if test x
"$MOC" = x
; then
13047 { { echo "$as_me:$LINENO: error: *** This is not the right Qt installation" >&5
13048 echo "$as_me: error: *** This is not the right Qt installation" >&2;}
13049 { (exit 1); exit 1; }; }
13051 QT_CFLAGS
="-F$QT4DIR/lib -I$QT4DIR/lib/QtCore.framework/Headers"
13052 QT_CFLAGS
="$QT_CFLAGS -I$QT4DIR/lib/QtGui.framework/Headers"
13053 QT_LIBS
="-Xlinker -F$QT4DIR/lib -Xlinker -framework -Xlinker QtCore"
13054 QT_LIBS
="$QT_LIBS -Xlinker -framework -Xlinker QtGui"
13057 { { echo "$as_me:$LINENO: error: *** Please check PKG_CONFIG_PATH or the version
13058 of your installed Qt4 installation." >&5
13059 echo "$as_me: error: *** Please check PKG_CONFIG_PATH or the version
13060 of your installed Qt4 installation." >&2;}
13061 { (exit 1); exit 1; }; }
13065 { echo "$as_me:$LINENO: Set QT_CFLAGS... $QT_CFLAGS" >&5
13066 echo "$as_me: Set QT_CFLAGS... $QT_CFLAGS" >&6;}
13070 echo "$as_me:$LINENO: checking for MSG_NOSIGNAL" >&5
13071 echo $ECHO_N "checking for MSG_NOSIGNAL... $ECHO_C" >&6
13072 cat >conftest.
$ac_ext <<_ACEOF
13075 cat confdefs.h
>>conftest.
$ac_ext
13076 cat >>conftest.
$ac_ext <<_ACEOF
13077 /* end confdefs.h. */
13078 #include <sys/socket.h>
13082 int f = MSG_NOSIGNAL;
13087 rm -f conftest.
$ac_objext
13088 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13089 (eval $ac_compile) 2>conftest.er1
13091 grep -v '^ *+' conftest.er1
>conftest.err
13093 cat conftest.err
>&5
13094 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13095 (exit $ac_status); } &&
13096 { ac_try
='test -z "$ac_c_werror_flag"
13097 || test ! -s conftest.err'
13098 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13099 (eval $ac_try) 2>&5
13101 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13102 (exit $ac_status); }; } &&
13103 { ac_try
='test -s conftest.$ac_objext'
13104 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13105 (eval $ac_try) 2>&5
13107 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13108 (exit $ac_status); }; }; then
13109 echo "$as_me:$LINENO: result: yes" >&5
13110 echo "${ECHO_T}yes" >&6
13112 cat >>confdefs.h
<<\_ACEOF
13113 #define HAVE_MSG_NOSIGNAL 1
13117 echo "$as_me: failed program was:" >&5
13118 sed 's/^/| /' conftest.
$ac_ext >&5
13120 echo "$as_me:$LINENO: result: no" >&5
13121 echo "${ECHO_T}no" >&6
13124 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
13125 echo "$as_me:$LINENO: checking for SO_NOSIGPIPE " >&5
13126 echo $ECHO_N "checking for SO_NOSIGPIPE ... $ECHO_C" >&6
13127 cat >conftest.
$ac_ext <<_ACEOF
13130 cat confdefs.h
>>conftest.
$ac_ext
13131 cat >>conftest.
$ac_ext <<_ACEOF
13132 /* end confdefs.h. */
13133 #include <sys/socket.h>
13137 int f = SO_NOSIGPIPE;
13142 rm -f conftest.
$ac_objext
13143 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13144 (eval $ac_compile) 2>conftest.er1
13146 grep -v '^ *+' conftest.er1
>conftest.err
13148 cat conftest.err
>&5
13149 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13150 (exit $ac_status); } &&
13151 { ac_try
='test -z "$ac_c_werror_flag"
13152 || test ! -s conftest.err'
13153 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13154 (eval $ac_try) 2>&5
13156 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13157 (exit $ac_status); }; } &&
13158 { ac_try
='test -s conftest.$ac_objext'
13159 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13160 (eval $ac_try) 2>&5
13162 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13163 (exit $ac_status); }; }; then
13164 echo "$as_me:$LINENO: result: yes" >&5
13165 echo "${ECHO_T}yes" >&6
13167 cat >>confdefs.h
<<\_ACEOF
13168 #define HAVE_SO_NOSIGPIPE 1
13172 echo "$as_me: failed program was:" >&5
13173 sed 's/^/| /' conftest.
$ac_ext >&5
13175 echo "$as_me:$LINENO: result: no" >&5
13176 echo "${ECHO_T}no" >&6
13179 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
13181 if test "x${COMPILE_PLUGIN}" = xyes
; then
13185 if test -z "$PKG_CONFIG"; then
13186 # Extract the first word of "pkg-config", so it can be a program name with args.
13187 set dummy pkg-config
; ac_word
=$2
13188 echo "$as_me:$LINENO: checking for $ac_word" >&5
13189 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
13190 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
13191 echo $ECHO_N "(cached) $ECHO_C" >&6
13193 case $PKG_CONFIG in
13195 ac_cv_path_PKG_CONFIG
="$PKG_CONFIG" # Let the user override the test with a path.
13198 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
13199 for as_dir
in $PATH
13202 test -z "$as_dir" && as_dir
=.
13203 for ac_exec_ext
in '' $ac_executable_extensions; do
13204 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
13205 ac_cv_path_PKG_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
13206 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
13212 test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG
="no"
13216 PKG_CONFIG
=$ac_cv_path_PKG_CONFIG
13218 if test -n "$PKG_CONFIG"; then
13219 echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
13220 echo "${ECHO_T}$PKG_CONFIG" >&6
13222 echo "$as_me:$LINENO: result: no" >&5
13223 echo "${ECHO_T}no" >&6
13228 if test "$PKG_CONFIG" = "no" ; then
13229 echo "*** The pkg-config script could not be found. Make sure it is"
13230 echo "*** in your path, or set the PKG_CONFIG environment variable"
13231 echo "*** to the full path to pkg-config."
13232 echo "*** Or see http://www.freedesktop.org/software/pkgconfig to get pkg-config."
13234 PKG_CONFIG_MIN_VERSION
=0.9.0
13235 if $PKG_CONFIG --atleast-pkgconfig-version $PKG_CONFIG_MIN_VERSION; then
13236 echo "$as_me:$LINENO: checking for mozilla-plugin" >&5
13237 echo $ECHO_N "checking for mozilla-plugin... $ECHO_C" >&6
13239 if $PKG_CONFIG --exists "mozilla-plugin" ; then
13240 echo "$as_me:$LINENO: result: yes" >&5
13241 echo "${ECHO_T}yes" >&6
13244 echo "$as_me:$LINENO: checking MOZILLA_CFLAGS" >&5
13245 echo $ECHO_N "checking MOZILLA_CFLAGS... $ECHO_C" >&6
13246 MOZILLA_CFLAGS
=`$PKG_CONFIG --cflags "mozilla-plugin"`
13247 echo "$as_me:$LINENO: result: $MOZILLA_CFLAGS" >&5
13248 echo "${ECHO_T}$MOZILLA_CFLAGS" >&6
13250 echo "$as_me:$LINENO: checking MOZILLA_LIBS" >&5
13251 echo $ECHO_N "checking MOZILLA_LIBS... $ECHO_C" >&6
13252 MOZILLA_LIBS
=`$PKG_CONFIG --libs "mozilla-plugin"`
13253 echo "$as_me:$LINENO: result: $MOZILLA_LIBS" >&5
13254 echo "${ECHO_T}$MOZILLA_LIBS" >&6
13258 ## If we have a custom action on failure, don't print errors, but
13259 ## do set a variable so people can do so.
13260 MOZILLA_PKG_ERRORS
=`$PKG_CONFIG --errors-to-stdout --print-errors "mozilla-plugin"`
13267 echo "*** Your version of pkg-config is too old. You need version $PKG_CONFIG_MIN_VERSION or newer."
13268 echo "*** See http://www.freedesktop.org/software/pkgconfig"
13272 if test $succeeded = yes; then
13278 if test "x${MOZILLA_FOUND}" = xno
; then
13282 if test -z "$PKG_CONFIG"; then
13283 # Extract the first word of "pkg-config", so it can be a program name with args.
13284 set dummy pkg-config
; ac_word
=$2
13285 echo "$as_me:$LINENO: checking for $ac_word" >&5
13286 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
13287 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
13288 echo $ECHO_N "(cached) $ECHO_C" >&6
13290 case $PKG_CONFIG in
13292 ac_cv_path_PKG_CONFIG
="$PKG_CONFIG" # Let the user override the test with a path.
13295 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
13296 for as_dir
in $PATH
13299 test -z "$as_dir" && as_dir
=.
13300 for ac_exec_ext
in '' $ac_executable_extensions; do
13301 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
13302 ac_cv_path_PKG_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
13303 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
13309 test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG
="no"
13313 PKG_CONFIG
=$ac_cv_path_PKG_CONFIG
13315 if test -n "$PKG_CONFIG"; then
13316 echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
13317 echo "${ECHO_T}$PKG_CONFIG" >&6
13319 echo "$as_me:$LINENO: result: no" >&5
13320 echo "${ECHO_T}no" >&6
13325 if test "$PKG_CONFIG" = "no" ; then
13326 echo "*** The pkg-config script could not be found. Make sure it is"
13327 echo "*** in your path, or set the PKG_CONFIG environment variable"
13328 echo "*** to the full path to pkg-config."
13329 echo "*** Or see http://www.freedesktop.org/software/pkgconfig to get pkg-config."
13331 PKG_CONFIG_MIN_VERSION
=0.9.0
13332 if $PKG_CONFIG --atleast-pkgconfig-version $PKG_CONFIG_MIN_VERSION; then
13333 echo "$as_me:$LINENO: checking for firefox-plugin" >&5
13334 echo $ECHO_N "checking for firefox-plugin... $ECHO_C" >&6
13336 if $PKG_CONFIG --exists "firefox-plugin" ; then
13337 echo "$as_me:$LINENO: result: yes" >&5
13338 echo "${ECHO_T}yes" >&6
13341 echo "$as_me:$LINENO: checking MOZILLA_CFLAGS" >&5
13342 echo $ECHO_N "checking MOZILLA_CFLAGS... $ECHO_C" >&6
13343 MOZILLA_CFLAGS
=`$PKG_CONFIG --cflags "firefox-plugin"`
13344 echo "$as_me:$LINENO: result: $MOZILLA_CFLAGS" >&5
13345 echo "${ECHO_T}$MOZILLA_CFLAGS" >&6
13347 echo "$as_me:$LINENO: checking MOZILLA_LIBS" >&5
13348 echo $ECHO_N "checking MOZILLA_LIBS... $ECHO_C" >&6
13349 MOZILLA_LIBS
=`$PKG_CONFIG --libs "firefox-plugin"`
13350 echo "$as_me:$LINENO: result: $MOZILLA_LIBS" >&5
13351 echo "${ECHO_T}$MOZILLA_LIBS" >&6
13355 ## If we have a custom action on failure, don't print errors, but
13356 ## do set a variable so people can do so.
13357 MOZILLA_PKG_ERRORS
=`$PKG_CONFIG --errors-to-stdout --print-errors "firefox-plugin"`
13364 echo "*** Your version of pkg-config is too old. You need version $PKG_CONFIG_MIN_VERSION or newer."
13365 echo "*** See http://www.freedesktop.org/software/pkgconfig"
13369 if test $succeeded = yes; then
13376 if test "x${MOZILLA_FOUND}" = xno
; then
13380 if test -z "$PKG_CONFIG"; then
13381 # Extract the first word of "pkg-config", so it can be a program name with args.
13382 set dummy pkg-config
; ac_word
=$2
13383 echo "$as_me:$LINENO: checking for $ac_word" >&5
13384 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
13385 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
13386 echo $ECHO_N "(cached) $ECHO_C" >&6
13388 case $PKG_CONFIG in
13390 ac_cv_path_PKG_CONFIG
="$PKG_CONFIG" # Let the user override the test with a path.
13393 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
13394 for as_dir
in $PATH
13397 test -z "$as_dir" && as_dir
=.
13398 for ac_exec_ext
in '' $ac_executable_extensions; do
13399 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
13400 ac_cv_path_PKG_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
13401 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
13407 test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG
="no"
13411 PKG_CONFIG
=$ac_cv_path_PKG_CONFIG
13413 if test -n "$PKG_CONFIG"; then
13414 echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
13415 echo "${ECHO_T}$PKG_CONFIG" >&6
13417 echo "$as_me:$LINENO: result: no" >&5
13418 echo "${ECHO_T}no" >&6
13423 if test "$PKG_CONFIG" = "no" ; then
13424 echo "*** The pkg-config script could not be found. Make sure it is"
13425 echo "*** in your path, or set the PKG_CONFIG environment variable"
13426 echo "*** to the full path to pkg-config."
13427 echo "*** Or see http://www.freedesktop.org/software/pkgconfig to get pkg-config."
13429 PKG_CONFIG_MIN_VERSION
=0.9.0
13430 if $PKG_CONFIG --atleast-pkgconfig-version $PKG_CONFIG_MIN_VERSION; then
13431 echo "$as_me:$LINENO: checking for xulrunner-plugin" >&5
13432 echo $ECHO_N "checking for xulrunner-plugin... $ECHO_C" >&6
13434 if $PKG_CONFIG --exists "xulrunner-plugin" ; then
13435 echo "$as_me:$LINENO: result: yes" >&5
13436 echo "${ECHO_T}yes" >&6
13439 echo "$as_me:$LINENO: checking MOZILLA_CFLAGS" >&5
13440 echo $ECHO_N "checking MOZILLA_CFLAGS... $ECHO_C" >&6
13441 MOZILLA_CFLAGS
=`$PKG_CONFIG --cflags "xulrunner-plugin"`
13442 echo "$as_me:$LINENO: result: $MOZILLA_CFLAGS" >&5
13443 echo "${ECHO_T}$MOZILLA_CFLAGS" >&6
13445 echo "$as_me:$LINENO: checking MOZILLA_LIBS" >&5
13446 echo $ECHO_N "checking MOZILLA_LIBS... $ECHO_C" >&6
13447 MOZILLA_LIBS
=`$PKG_CONFIG --libs "xulrunner-plugin"`
13448 echo "$as_me:$LINENO: result: $MOZILLA_LIBS" >&5
13449 echo "${ECHO_T}$MOZILLA_LIBS" >&6
13453 ## If we have a custom action on failure, don't print errors, but
13454 ## do set a variable so people can do so.
13455 MOZILLA_PKG_ERRORS
=`$PKG_CONFIG --errors-to-stdout --print-errors "xulrunner-plugin"`
13462 echo "*** Your version of pkg-config is too old. You need version $PKG_CONFIG_MIN_VERSION or newer."
13463 echo "*** See http://www.freedesktop.org/software/pkgconfig"
13467 if test $succeeded = yes; then
13474 if test "x${MOZILLA_FOUND}" = xno
; then
13478 if test -z "$PKG_CONFIG"; then
13479 # Extract the first word of "pkg-config", so it can be a program name with args.
13480 set dummy pkg-config
; ac_word
=$2
13481 echo "$as_me:$LINENO: checking for $ac_word" >&5
13482 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
13483 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
13484 echo $ECHO_N "(cached) $ECHO_C" >&6
13486 case $PKG_CONFIG in
13488 ac_cv_path_PKG_CONFIG
="$PKG_CONFIG" # Let the user override the test with a path.
13491 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
13492 for as_dir
in $PATH
13495 test -z "$as_dir" && as_dir
=.
13496 for ac_exec_ext
in '' $ac_executable_extensions; do
13497 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
13498 ac_cv_path_PKG_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
13499 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
13505 test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG
="no"
13509 PKG_CONFIG
=$ac_cv_path_PKG_CONFIG
13511 if test -n "$PKG_CONFIG"; then
13512 echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
13513 echo "${ECHO_T}$PKG_CONFIG" >&6
13515 echo "$as_me:$LINENO: result: no" >&5
13516 echo "${ECHO_T}no" >&6
13521 if test "$PKG_CONFIG" = "no" ; then
13522 echo "*** The pkg-config script could not be found. Make sure it is"
13523 echo "*** in your path, or set the PKG_CONFIG environment variable"
13524 echo "*** to the full path to pkg-config."
13525 echo "*** Or see http://www.freedesktop.org/software/pkgconfig to get pkg-config."
13527 PKG_CONFIG_MIN_VERSION
=0.9.0
13528 if $PKG_CONFIG --atleast-pkgconfig-version $PKG_CONFIG_MIN_VERSION; then
13529 echo "$as_me:$LINENO: checking for mozilla-firefox-plugin" >&5
13530 echo $ECHO_N "checking for mozilla-firefox-plugin... $ECHO_C" >&6
13532 if $PKG_CONFIG --exists "mozilla-firefox-plugin" ; then
13533 echo "$as_me:$LINENO: result: yes" >&5
13534 echo "${ECHO_T}yes" >&6
13537 echo "$as_me:$LINENO: checking MOZILLA_CFLAGS" >&5
13538 echo $ECHO_N "checking MOZILLA_CFLAGS... $ECHO_C" >&6
13539 MOZILLA_CFLAGS
=`$PKG_CONFIG --cflags "mozilla-firefox-plugin"`
13540 echo "$as_me:$LINENO: result: $MOZILLA_CFLAGS" >&5
13541 echo "${ECHO_T}$MOZILLA_CFLAGS" >&6
13543 echo "$as_me:$LINENO: checking MOZILLA_LIBS" >&5
13544 echo $ECHO_N "checking MOZILLA_LIBS... $ECHO_C" >&6
13545 MOZILLA_LIBS
=`$PKG_CONFIG --libs "mozilla-firefox-plugin"`
13546 echo "$as_me:$LINENO: result: $MOZILLA_LIBS" >&5
13547 echo "${ECHO_T}$MOZILLA_LIBS" >&6
13551 ## If we have a custom action on failure, don't print errors, but
13552 ## do set a variable so people can do so.
13553 MOZILLA_PKG_ERRORS
=`$PKG_CONFIG --errors-to-stdout --print-errors "mozilla-firefox-plugin"`
13560 echo "*** Your version of pkg-config is too old. You need version $PKG_CONFIG_MIN_VERSION or newer."
13561 echo "*** See http://www.freedesktop.org/software/pkgconfig"
13565 if test $succeeded = yes; then
13572 if test "x${MOZILLA_FOUND}" = xno
; then
13576 if test -z "$PKG_CONFIG"; then
13577 # Extract the first word of "pkg-config", so it can be a program name with args.
13578 set dummy pkg-config
; ac_word
=$2
13579 echo "$as_me:$LINENO: checking for $ac_word" >&5
13580 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
13581 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
13582 echo $ECHO_N "(cached) $ECHO_C" >&6
13584 case $PKG_CONFIG in
13586 ac_cv_path_PKG_CONFIG
="$PKG_CONFIG" # Let the user override the test with a path.
13589 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
13590 for as_dir
in $PATH
13593 test -z "$as_dir" && as_dir
=.
13594 for ac_exec_ext
in '' $ac_executable_extensions; do
13595 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
13596 ac_cv_path_PKG_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
13597 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
13603 test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG
="no"
13607 PKG_CONFIG
=$ac_cv_path_PKG_CONFIG
13609 if test -n "$PKG_CONFIG"; then
13610 echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
13611 echo "${ECHO_T}$PKG_CONFIG" >&6
13613 echo "$as_me:$LINENO: result: no" >&5
13614 echo "${ECHO_T}no" >&6
13619 if test "$PKG_CONFIG" = "no" ; then
13620 echo "*** The pkg-config script could not be found. Make sure it is"
13621 echo "*** in your path, or set the PKG_CONFIG environment variable"
13622 echo "*** to the full path to pkg-config."
13623 echo "*** Or see http://www.freedesktop.org/software/pkgconfig to get pkg-config."
13625 PKG_CONFIG_MIN_VERSION
=0.9.0
13626 if $PKG_CONFIG --atleast-pkgconfig-version $PKG_CONFIG_MIN_VERSION; then
13627 echo "$as_me:$LINENO: checking for seamonkey-plugin" >&5
13628 echo $ECHO_N "checking for seamonkey-plugin... $ECHO_C" >&6
13630 if $PKG_CONFIG --exists "seamonkey-plugin" ; then
13631 echo "$as_me:$LINENO: result: yes" >&5
13632 echo "${ECHO_T}yes" >&6
13635 echo "$as_me:$LINENO: checking MOZILLA_CFLAGS" >&5
13636 echo $ECHO_N "checking MOZILLA_CFLAGS... $ECHO_C" >&6
13637 MOZILLA_CFLAGS
=`$PKG_CONFIG --cflags "seamonkey-plugin"`
13638 echo "$as_me:$LINENO: result: $MOZILLA_CFLAGS" >&5
13639 echo "${ECHO_T}$MOZILLA_CFLAGS" >&6
13641 echo "$as_me:$LINENO: checking MOZILLA_LIBS" >&5
13642 echo $ECHO_N "checking MOZILLA_LIBS... $ECHO_C" >&6
13643 MOZILLA_LIBS
=`$PKG_CONFIG --libs "seamonkey-plugin"`
13644 echo "$as_me:$LINENO: result: $MOZILLA_LIBS" >&5
13645 echo "${ECHO_T}$MOZILLA_LIBS" >&6
13649 ## If we have a custom action on failure, don't print errors, but
13650 ## do set a variable so people can do so.
13651 MOZILLA_PKG_ERRORS
=`$PKG_CONFIG --errors-to-stdout --print-errors "seamonkey-plugin"`
13658 echo "*** Your version of pkg-config is too old. You need version $PKG_CONFIG_MIN_VERSION or newer."
13659 echo "*** See http://www.freedesktop.org/software/pkgconfig"
13663 if test $succeeded = yes; then
13673 if test -z "$PKG_CONFIG"; then
13674 # Extract the first word of "pkg-config", so it can be a program name with args.
13675 set dummy pkg-config
; ac_word
=$2
13676 echo "$as_me:$LINENO: checking for $ac_word" >&5
13677 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
13678 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
13679 echo $ECHO_N "(cached) $ECHO_C" >&6
13681 case $PKG_CONFIG in
13683 ac_cv_path_PKG_CONFIG
="$PKG_CONFIG" # Let the user override the test with a path.
13686 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
13687 for as_dir
in $PATH
13690 test -z "$as_dir" && as_dir
=.
13691 for ac_exec_ext
in '' $ac_executable_extensions; do
13692 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
13693 ac_cv_path_PKG_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
13694 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
13700 test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG
="no"
13704 PKG_CONFIG
=$ac_cv_path_PKG_CONFIG
13706 if test -n "$PKG_CONFIG"; then
13707 echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
13708 echo "${ECHO_T}$PKG_CONFIG" >&6
13710 echo "$as_me:$LINENO: result: no" >&5
13711 echo "${ECHO_T}no" >&6
13716 if test "$PKG_CONFIG" = "no" ; then
13717 echo "*** The pkg-config script could not be found. Make sure it is"
13718 echo "*** in your path, or set the PKG_CONFIG environment variable"
13719 echo "*** to the full path to pkg-config."
13720 echo "*** Or see http://www.freedesktop.org/software/pkgconfig to get pkg-config."
13722 PKG_CONFIG_MIN_VERSION
=0.9.0
13723 if $PKG_CONFIG --atleast-pkgconfig-version $PKG_CONFIG_MIN_VERSION; then
13724 echo "$as_me:$LINENO: checking for glib-2.0" >&5
13725 echo $ECHO_N "checking for glib-2.0... $ECHO_C" >&6
13727 if $PKG_CONFIG --exists "glib-2.0" ; then
13728 echo "$as_me:$LINENO: result: yes" >&5
13729 echo "${ECHO_T}yes" >&6
13732 echo "$as_me:$LINENO: checking GLIB_CFLAGS" >&5
13733 echo $ECHO_N "checking GLIB_CFLAGS... $ECHO_C" >&6
13734 GLIB_CFLAGS
=`$PKG_CONFIG --cflags "glib-2.0"`
13735 echo "$as_me:$LINENO: result: $GLIB_CFLAGS" >&5
13736 echo "${ECHO_T}$GLIB_CFLAGS" >&6
13738 echo "$as_me:$LINENO: checking GLIB_LIBS" >&5
13739 echo $ECHO_N "checking GLIB_LIBS... $ECHO_C" >&6
13740 GLIB_LIBS
=`$PKG_CONFIG --libs "glib-2.0"`
13741 echo "$as_me:$LINENO: result: $GLIB_LIBS" >&5
13742 echo "${ECHO_T}$GLIB_LIBS" >&6
13746 ## If we have a custom action on failure, don't print errors, but
13747 ## do set a variable so people can do so.
13748 GLIB_PKG_ERRORS
=`$PKG_CONFIG --errors-to-stdout --print-errors "glib-2.0"`
13749 echo $GLIB_PKG_ERRORS
13755 echo "*** Your version of pkg-config is too old. You need version $PKG_CONFIG_MIN_VERSION or newer."
13756 echo "*** See http://www.freedesktop.org/software/pkgconfig"
13760 if test $succeeded = yes; then
13763 { { 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
13764 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;}
13765 { (exit 1); exit 1; }; }
13774 PLUGIN_DIR
=$HOME/.mozilla
/plugins
/
13781 # Check whether --with-javah or --without-javah was given.
13782 if test "${with_javah+set}" = set; then
13783 withval
="$with_javah"
13785 if test "x${withval}" != x && test "x${withval}" != xyes && test "x${withval}" != xno
; then
13787 if test "x${withval}" != x
; then
13788 if test -f "${withval}"; then
13789 USER_JAVAH
="${withval}"
13791 # Extract the first word of ""${withval}"", so it can be a program name with args.
13792 set dummy
"${withval}"; ac_word
=$2
13793 echo "$as_me:$LINENO: checking for $ac_word" >&5
13794 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
13795 if test "${ac_cv_path_USER_JAVAH+set}" = set; then
13796 echo $ECHO_N "(cached) $ECHO_C" >&6
13798 case $USER_JAVAH in
13800 ac_cv_path_USER_JAVAH
="$USER_JAVAH" # Let the user override the test with a path.
13803 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
13804 for as_dir
in $PATH
13807 test -z "$as_dir" && as_dir
=.
13808 for ac_exec_ext
in '' $ac_executable_extensions; do
13809 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
13810 ac_cv_path_USER_JAVAH
="$as_dir/$ac_word$ac_exec_ext"
13811 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
13820 USER_JAVAH
=$ac_cv_path_USER_JAVAH
13822 if test -n "$USER_JAVAH"; then
13823 echo "$as_me:$LINENO: result: $USER_JAVAH" >&5
13824 echo "${ECHO_T}$USER_JAVAH" >&6
13826 echo "$as_me:$LINENO: result: no" >&5
13827 echo "${ECHO_T}no" >&6
13832 for javah_name
in gcjh javah
; do
13833 # Extract the first word of ""$javah_name"", so it can be a program name with args.
13834 set dummy
"$javah_name"; ac_word
=$2
13835 echo "$as_me:$LINENO: checking for $ac_word" >&5
13836 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
13837 if test "${ac_cv_path_USER_JAVAH+set}" = set; then
13838 echo $ECHO_N "(cached) $ECHO_C" >&6
13840 case $USER_JAVAH in
13842 ac_cv_path_USER_JAVAH
="$USER_JAVAH" # Let the user override the test with a path.
13845 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
13846 for as_dir
in $PATH
13849 test -z "$as_dir" && as_dir
=.
13850 for ac_exec_ext
in '' $ac_executable_extensions; do
13851 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
13852 ac_cv_path_USER_JAVAH
="$as_dir/$ac_word$ac_exec_ext"
13853 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
13862 USER_JAVAH
=$ac_cv_path_USER_JAVAH
13864 if test -n "$USER_JAVAH"; then
13865 echo "$as_me:$LINENO: result: $USER_JAVAH" >&5
13866 echo "${ECHO_T}$USER_JAVAH" >&6
13868 echo "$as_me:$LINENO: result: no" >&5
13869 echo "${ECHO_T}no" >&6
13872 if test "x${USER_JAVAH}" != x
; then
13878 # if test "x${USER_JAVAH}" = x; then
13879 # echo "configure: cannot find javah" 1>&2
13885 if test "x" != x
; then
13886 if test -f ""; then
13889 # Extract the first word of """", so it can be a program name with args.
13890 set dummy
""; ac_word
=$2
13891 echo "$as_me:$LINENO: checking for $ac_word" >&5
13892 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
13893 if test "${ac_cv_path_USER_JAVAH+set}" = set; then
13894 echo $ECHO_N "(cached) $ECHO_C" >&6
13896 case $USER_JAVAH in
13898 ac_cv_path_USER_JAVAH
="$USER_JAVAH" # Let the user override the test with a path.
13901 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
13902 for as_dir
in $PATH
13905 test -z "$as_dir" && as_dir
=.
13906 for ac_exec_ext
in '' $ac_executable_extensions; do
13907 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
13908 ac_cv_path_USER_JAVAH
="$as_dir/$ac_word$ac_exec_ext"
13909 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
13918 USER_JAVAH
=$ac_cv_path_USER_JAVAH
13920 if test -n "$USER_JAVAH"; then
13921 echo "$as_me:$LINENO: result: $USER_JAVAH" >&5
13922 echo "${ECHO_T}$USER_JAVAH" >&6
13924 echo "$as_me:$LINENO: result: no" >&5
13925 echo "${ECHO_T}no" >&6
13930 for javah_name
in gcjh javah
; do
13931 # Extract the first word of ""$javah_name"", so it can be a program name with args.
13932 set dummy
"$javah_name"; ac_word
=$2
13933 echo "$as_me:$LINENO: checking for $ac_word" >&5
13934 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
13935 if test "${ac_cv_path_USER_JAVAH+set}" = set; then
13936 echo $ECHO_N "(cached) $ECHO_C" >&6
13938 case $USER_JAVAH in
13940 ac_cv_path_USER_JAVAH
="$USER_JAVAH" # Let the user override the test with a path.
13943 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
13944 for as_dir
in $PATH
13947 test -z "$as_dir" && as_dir
=.
13948 for ac_exec_ext
in '' $ac_executable_extensions; do
13949 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
13950 ac_cv_path_USER_JAVAH
="$as_dir/$ac_word$ac_exec_ext"
13951 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
13960 USER_JAVAH
=$ac_cv_path_USER_JAVAH
13962 if test -n "$USER_JAVAH"; then
13963 echo "$as_me:$LINENO: result: $USER_JAVAH" >&5
13964 echo "${ECHO_T}$USER_JAVAH" >&6
13966 echo "$as_me:$LINENO: result: no" >&5
13967 echo "${ECHO_T}no" >&6
13970 if test "x${USER_JAVAH}" != x
; then
13976 # if test "x${USER_JAVAH}" = x; then
13977 # echo "configure: cannot find javah" 1>&2
13986 if test "x" != x
; then
13987 if test -f ""; then
13990 # Extract the first word of """", so it can be a program name with args.
13991 set dummy
""; ac_word
=$2
13992 echo "$as_me:$LINENO: checking for $ac_word" >&5
13993 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
13994 if test "${ac_cv_path_USER_JAVAH+set}" = set; then
13995 echo $ECHO_N "(cached) $ECHO_C" >&6
13997 case $USER_JAVAH in
13999 ac_cv_path_USER_JAVAH
="$USER_JAVAH" # Let the user override the test with a path.
14002 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
14003 for as_dir
in $PATH
14006 test -z "$as_dir" && as_dir
=.
14007 for ac_exec_ext
in '' $ac_executable_extensions; do
14008 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
14009 ac_cv_path_USER_JAVAH
="$as_dir/$ac_word$ac_exec_ext"
14010 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
14019 USER_JAVAH
=$ac_cv_path_USER_JAVAH
14021 if test -n "$USER_JAVAH"; then
14022 echo "$as_me:$LINENO: result: $USER_JAVAH" >&5
14023 echo "${ECHO_T}$USER_JAVAH" >&6
14025 echo "$as_me:$LINENO: result: no" >&5
14026 echo "${ECHO_T}no" >&6
14031 for javah_name
in gcjh javah
; do
14032 # Extract the first word of ""$javah_name"", so it can be a program name with args.
14033 set dummy
"$javah_name"; ac_word
=$2
14034 echo "$as_me:$LINENO: checking for $ac_word" >&5
14035 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
14036 if test "${ac_cv_path_USER_JAVAH+set}" = set; then
14037 echo $ECHO_N "(cached) $ECHO_C" >&6
14039 case $USER_JAVAH in
14041 ac_cv_path_USER_JAVAH
="$USER_JAVAH" # Let the user override the test with a path.
14044 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
14045 for as_dir
in $PATH
14048 test -z "$as_dir" && as_dir
=.
14049 for ac_exec_ext
in '' $ac_executable_extensions; do
14050 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
14051 ac_cv_path_USER_JAVAH
="$as_dir/$ac_word$ac_exec_ext"
14052 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
14061 USER_JAVAH
=$ac_cv_path_USER_JAVAH
14063 if test -n "$USER_JAVAH"; then
14064 echo "$as_me:$LINENO: result: $USER_JAVAH" >&5
14065 echo "${ECHO_T}$USER_JAVAH" >&6
14067 echo "$as_me:$LINENO: result: no" >&5
14068 echo "${ECHO_T}no" >&6
14071 if test "x${USER_JAVAH}" != x
; then
14077 # if test "x${USER_JAVAH}" = x; then
14078 # echo "configure: cannot find javah" 1>&2
14086 if test "x${USER_JAVAH}" != x
; then
14087 USER_SPECIFIED_JAVAH_TRUE
=
14088 USER_SPECIFIED_JAVAH_FALSE
='#'
14090 USER_SPECIFIED_JAVAH_TRUE
='#'
14091 USER_SPECIFIED_JAVAH_FALSE
=
14097 CLASSPATH_INCLUDES
="-I\$(top_srcdir)/include -I\$(top_srcdir)/native/jni/classpath -I\$(top_srcdir)/native/jni/native-lib"
14100 if test "x${COMPILE_JNI}" = xyes
; then
14101 echo "$as_me:$LINENO: checking jni_md.h support" >&5
14102 echo $ECHO_N "checking jni_md.h support... $ECHO_C" >&6
14103 if test -f ${srcdir}/include/jni_md-${target_cpu}-${target_os}.h
; then
14104 echo "$as_me:$LINENO: result: yes" >&5
14105 echo "${ECHO_T}yes" >&6
14108 target_os
=linux-gnu
14109 { echo "$as_me:$LINENO: WARNING: no" >&5
14110 echo "$as_me: WARNING: no" >&2;}
14112 ac_sources
="include/jni_md-${target_cpu}-${target_os}.h"
14113 ac_dests
="include/jni_md.h"
14114 while test -n "$ac_sources"; do
14115 set $ac_dests; ac_dest
=$1; shift; ac_dests
=$
*
14116 set $ac_sources; ac_source
=$1; shift; ac_sources
=$
*
14117 ac_config_links_1
="$ac_config_links_1 $ac_dest:$ac_source"
14119 ac_config_links
="$ac_config_links $ac_config_links_1"
14124 user_specified_javac
=
14128 # Check whether --with-gcj or --without-gcj was given.
14129 if test "${with_gcj+set}" = set; then
14130 withval
="$with_gcj"
14132 if test "x${withval}" != x && test "x${withval}" != xyes && test "x${withval}" != xno
; then
14134 if test "x${withval}" != x
; then
14135 if test -f "${withval}"; then
14138 # Extract the first word of ""${withval}"", so it can be a program name with args.
14139 set dummy
"${withval}"; ac_word
=$2
14140 echo "$as_me:$LINENO: checking for $ac_word" >&5
14141 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
14142 if test "${ac_cv_path_GCJ+set}" = set; then
14143 echo $ECHO_N "(cached) $ECHO_C" >&6
14147 ac_cv_path_GCJ
="$GCJ" # Let the user override the test with a path.
14150 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
14151 for as_dir
in $PATH
14154 test -z "$as_dir" && as_dir
=.
14155 for ac_exec_ext
in '' $ac_executable_extensions; do
14156 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
14157 ac_cv_path_GCJ
="$as_dir/$ac_word$ac_exec_ext"
14158 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
14167 GCJ
=$ac_cv_path_GCJ
14169 if test -n "$GCJ"; then
14170 echo "$as_me:$LINENO: result: $GCJ" >&5
14171 echo "${ECHO_T}$GCJ" >&6
14173 echo "$as_me:$LINENO: result: no" >&5
14174 echo "${ECHO_T}no" >&6
14179 # Extract the first word of ""gcj"", so it can be a program name with args.
14180 set dummy
"gcj"; ac_word
=$2
14181 echo "$as_me:$LINENO: checking for $ac_word" >&5
14182 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
14183 if test "${ac_cv_path_GCJ+set}" = set; then
14184 echo $ECHO_N "(cached) $ECHO_C" >&6
14188 ac_cv_path_GCJ
="$GCJ" # Let the user override the test with a path.
14191 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
14192 for as_dir
in $PATH
14195 test -z "$as_dir" && as_dir
=.
14196 for ac_exec_ext
in '' $ac_executable_extensions; do
14197 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
14198 ac_cv_path_GCJ
="$as_dir/$ac_word$ac_exec_ext"
14199 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
14208 GCJ
=$ac_cv_path_GCJ
14210 if test -n "$GCJ"; then
14211 echo "$as_me:$LINENO: result: $GCJ" >&5
14212 echo "${ECHO_T}$GCJ" >&6
14214 echo "$as_me:$LINENO: result: no" >&5
14215 echo "${ECHO_T}no" >&6
14219 if test "x$GCJ" != x
; then
14220 echo "$as_me:$LINENO: checking gcj version 4.0" >&5
14221 echo $ECHO_N "checking gcj version 4.0... $ECHO_C" >&6
14223 ac_cpp
='$CPP $CPPFLAGS'
14224 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14225 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14226 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
14228 cat >conftest.
$ac_ext <<_ACEOF
14230 #error GCJ 4.0.0 or higher is required
14234 $GCJ -E conftest.c
> /dev
/null
14236 if test "x$gcj_4_result" = "x0"; then
14237 echo "$as_me:$LINENO: result: 4.0 or higher found" >&5
14238 echo "${ECHO_T}4.0 or higher found" >&6
14240 { echo "$as_me:$LINENO: WARNING: 4.0 or higher required" >&5
14241 echo "$as_me: WARNING: 4.0 or higher required" >&2;}
14244 ac_cpp
='$CPP $CPPFLAGS'
14245 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14246 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14247 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
14252 if test "x${withval}" != xno
; then
14254 if test "x" != x
; then
14255 if test -f ""; then
14258 # Extract the first word of """", so it can be a program name with args.
14259 set dummy
""; ac_word
=$2
14260 echo "$as_me:$LINENO: checking for $ac_word" >&5
14261 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
14262 if test "${ac_cv_path_GCJ+set}" = set; then
14263 echo $ECHO_N "(cached) $ECHO_C" >&6
14267 ac_cv_path_GCJ
="$GCJ" # Let the user override the test with a path.
14270 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
14271 for as_dir
in $PATH
14274 test -z "$as_dir" && as_dir
=.
14275 for ac_exec_ext
in '' $ac_executable_extensions; do
14276 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
14277 ac_cv_path_GCJ
="$as_dir/$ac_word$ac_exec_ext"
14278 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
14287 GCJ
=$ac_cv_path_GCJ
14289 if test -n "$GCJ"; then
14290 echo "$as_me:$LINENO: result: $GCJ" >&5
14291 echo "${ECHO_T}$GCJ" >&6
14293 echo "$as_me:$LINENO: result: no" >&5
14294 echo "${ECHO_T}no" >&6
14299 # Extract the first word of ""gcj"", so it can be a program name with args.
14300 set dummy
"gcj"; ac_word
=$2
14301 echo "$as_me:$LINENO: checking for $ac_word" >&5
14302 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
14303 if test "${ac_cv_path_GCJ+set}" = set; then
14304 echo $ECHO_N "(cached) $ECHO_C" >&6
14308 ac_cv_path_GCJ
="$GCJ" # Let the user override the test with a path.
14311 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
14312 for as_dir
in $PATH
14315 test -z "$as_dir" && as_dir
=.
14316 for ac_exec_ext
in '' $ac_executable_extensions; do
14317 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
14318 ac_cv_path_GCJ
="$as_dir/$ac_word$ac_exec_ext"
14319 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
14328 GCJ
=$ac_cv_path_GCJ
14330 if test -n "$GCJ"; then
14331 echo "$as_me:$LINENO: result: $GCJ" >&5
14332 echo "${ECHO_T}$GCJ" >&6
14334 echo "$as_me:$LINENO: result: no" >&5
14335 echo "${ECHO_T}no" >&6
14339 if test "x$GCJ" != x
; then
14340 echo "$as_me:$LINENO: checking gcj version 4.0" >&5
14341 echo $ECHO_N "checking gcj version 4.0... $ECHO_C" >&6
14343 ac_cpp
='$CPP $CPPFLAGS'
14344 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14345 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14346 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
14348 cat >conftest.
$ac_ext <<_ACEOF
14350 #error GCJ 4.0.0 or higher is required
14354 $GCJ -E conftest.c
> /dev
/null
14356 if test "x$gcj_4_result" = "x0"; then
14357 echo "$as_me:$LINENO: result: 4.0 or higher found" >&5
14358 echo "${ECHO_T}4.0 or higher found" >&6
14360 { echo "$as_me:$LINENO: WARNING: 4.0 or higher required" >&5
14361 echo "$as_me: WARNING: 4.0 or higher required" >&2;}
14364 ac_cpp
='$CPP $CPPFLAGS'
14365 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14366 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14367 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
14373 user_specified_javac
=gcj
14378 if test "x" != x
; then
14379 if test -f ""; then
14382 # Extract the first word of """", so it can be a program name with args.
14383 set dummy
""; ac_word
=$2
14384 echo "$as_me:$LINENO: checking for $ac_word" >&5
14385 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
14386 if test "${ac_cv_path_GCJ+set}" = set; then
14387 echo $ECHO_N "(cached) $ECHO_C" >&6
14391 ac_cv_path_GCJ
="$GCJ" # Let the user override the test with a path.
14394 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
14395 for as_dir
in $PATH
14398 test -z "$as_dir" && as_dir
=.
14399 for ac_exec_ext
in '' $ac_executable_extensions; do
14400 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
14401 ac_cv_path_GCJ
="$as_dir/$ac_word$ac_exec_ext"
14402 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
14411 GCJ
=$ac_cv_path_GCJ
14413 if test -n "$GCJ"; then
14414 echo "$as_me:$LINENO: result: $GCJ" >&5
14415 echo "${ECHO_T}$GCJ" >&6
14417 echo "$as_me:$LINENO: result: no" >&5
14418 echo "${ECHO_T}no" >&6
14423 # Extract the first word of ""gcj"", so it can be a program name with args.
14424 set dummy
"gcj"; ac_word
=$2
14425 echo "$as_me:$LINENO: checking for $ac_word" >&5
14426 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
14427 if test "${ac_cv_path_GCJ+set}" = set; then
14428 echo $ECHO_N "(cached) $ECHO_C" >&6
14432 ac_cv_path_GCJ
="$GCJ" # Let the user override the test with a path.
14435 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
14436 for as_dir
in $PATH
14439 test -z "$as_dir" && as_dir
=.
14440 for ac_exec_ext
in '' $ac_executable_extensions; do
14441 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
14442 ac_cv_path_GCJ
="$as_dir/$ac_word$ac_exec_ext"
14443 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
14452 GCJ
=$ac_cv_path_GCJ
14454 if test -n "$GCJ"; then
14455 echo "$as_me:$LINENO: result: $GCJ" >&5
14456 echo "${ECHO_T}$GCJ" >&6
14458 echo "$as_me:$LINENO: result: no" >&5
14459 echo "${ECHO_T}no" >&6
14463 if test "x$GCJ" != x
; then
14464 echo "$as_me:$LINENO: checking gcj version 4.0" >&5
14465 echo $ECHO_N "checking gcj version 4.0... $ECHO_C" >&6
14467 ac_cpp
='$CPP $CPPFLAGS'
14468 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14469 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14470 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
14472 cat >conftest.
$ac_ext <<_ACEOF
14474 #error GCJ 4.0.0 or higher is required
14478 $GCJ -E conftest.c
> /dev
/null
14480 if test "x$gcj_4_result" = "x0"; then
14481 echo "$as_me:$LINENO: result: 4.0 or higher found" >&5
14482 echo "${ECHO_T}4.0 or higher found" >&6
14484 { echo "$as_me:$LINENO: WARNING: 4.0 or higher required" >&5
14485 echo "$as_me: WARNING: 4.0 or higher required" >&2;}
14488 ac_cpp
='$CPP $CPPFLAGS'
14489 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14490 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14491 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
14501 # Check whether --with-jikes or --without-jikes was given.
14502 if test "${with_jikes+set}" = set; then
14503 withval
="$with_jikes"
14505 if test "x${withval}" != x && test "x${withval}" != xyes && test "x${withval}" != xno
; then
14507 if test "x${withval}" != x
; then
14508 if test -f "${withval}"; then
14511 # Extract the first word of ""${withval}"", so it can be a program name with args.
14512 set dummy
"${withval}"; ac_word
=$2
14513 echo "$as_me:$LINENO: checking for $ac_word" >&5
14514 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
14515 if test "${ac_cv_path_JIKES+set}" = set; then
14516 echo $ECHO_N "(cached) $ECHO_C" >&6
14520 ac_cv_path_JIKES
="$JIKES" # Let the user override the test with a path.
14523 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
14524 for as_dir
in $PATH
14527 test -z "$as_dir" && as_dir
=.
14528 for ac_exec_ext
in '' $ac_executable_extensions; do
14529 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
14530 ac_cv_path_JIKES
="$as_dir/$ac_word$ac_exec_ext"
14531 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
14540 JIKES
=$ac_cv_path_JIKES
14542 if test -n "$JIKES"; then
14543 echo "$as_me:$LINENO: result: $JIKES" >&5
14544 echo "${ECHO_T}$JIKES" >&6
14546 echo "$as_me:$LINENO: result: no" >&5
14547 echo "${ECHO_T}no" >&6
14552 # Extract the first word of ""jikes"", so it can be a program name with args.
14553 set dummy
"jikes"; ac_word
=$2
14554 echo "$as_me:$LINENO: checking for $ac_word" >&5
14555 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
14556 if test "${ac_cv_path_JIKES+set}" = set; then
14557 echo $ECHO_N "(cached) $ECHO_C" >&6
14561 ac_cv_path_JIKES
="$JIKES" # Let the user override the test with a path.
14564 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
14565 for as_dir
in $PATH
14568 test -z "$as_dir" && as_dir
=.
14569 for ac_exec_ext
in '' $ac_executable_extensions; do
14570 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
14571 ac_cv_path_JIKES
="$as_dir/$ac_word$ac_exec_ext"
14572 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
14581 JIKES
=$ac_cv_path_JIKES
14583 if test -n "$JIKES"; then
14584 echo "$as_me:$LINENO: result: $JIKES" >&5
14585 echo "${ECHO_T}$JIKES" >&6
14587 echo "$as_me:$LINENO: result: no" >&5
14588 echo "${ECHO_T}no" >&6
14592 if test "x$JIKES" != "x"; then
14593 echo "$as_me:$LINENO: checking jikes version" >&5
14594 echo $ECHO_N "checking jikes version... $ECHO_C" >&6
14595 JIKES_VERSION
=`$JIKES --version | awk '/^Jikes Compiler/' | cut -d ' ' -f 5`
14596 JIKES_VERSION_MAJOR
=`echo "$JIKES_VERSION" | cut -d '.' -f 1`
14597 JIKES_VERSION_MINOR
=`echo "$JIKES_VERSION" | cut -d '.' -f 2`
14598 if expr "$JIKES_VERSION_MAJOR" = 1 > /dev
/null
; then
14599 if expr "$JIKES_VERSION_MINOR" \
< 19 > /dev
/null
; then
14603 if test "x$JIKES" != "x"; then
14604 echo "$as_me:$LINENO: result: $JIKES_VERSION" >&5
14605 echo "${ECHO_T}$JIKES_VERSION" >&6
14607 { echo "$as_me:$LINENO: WARNING: $JIKES_VERSION: jikes 1.19 or higher required" >&5
14608 echo "$as_me: WARNING: $JIKES_VERSION: jikes 1.19 or higher required" >&2;}
14612 if test -n "`$JIKES --help 2>&1 | grep encoding`"; then
14613 JIKESENCODING
='-encoding UTF-8'
14617 JIKESWARNINGS
="+Pno-switchcheck"
14618 if test "x$JIKES_VERSION_MAJOR" = x
"1" ; then
14619 if ! test "x$JIKES_VERSION_MINOR" = x
"19"; then
14620 JIKESWARNINGS
="$JIKESWARNINGS +Pno-shadow"
14628 if test "x${withval}" != xno
; then
14630 if test "x" != x
; then
14631 if test -f ""; then
14634 # Extract the first word of """", so it can be a program name with args.
14635 set dummy
""; ac_word
=$2
14636 echo "$as_me:$LINENO: checking for $ac_word" >&5
14637 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
14638 if test "${ac_cv_path_JIKES+set}" = set; then
14639 echo $ECHO_N "(cached) $ECHO_C" >&6
14643 ac_cv_path_JIKES
="$JIKES" # Let the user override the test with a path.
14646 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
14647 for as_dir
in $PATH
14650 test -z "$as_dir" && as_dir
=.
14651 for ac_exec_ext
in '' $ac_executable_extensions; do
14652 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
14653 ac_cv_path_JIKES
="$as_dir/$ac_word$ac_exec_ext"
14654 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
14663 JIKES
=$ac_cv_path_JIKES
14665 if test -n "$JIKES"; then
14666 echo "$as_me:$LINENO: result: $JIKES" >&5
14667 echo "${ECHO_T}$JIKES" >&6
14669 echo "$as_me:$LINENO: result: no" >&5
14670 echo "${ECHO_T}no" >&6
14675 # Extract the first word of ""jikes"", so it can be a program name with args.
14676 set dummy
"jikes"; ac_word
=$2
14677 echo "$as_me:$LINENO: checking for $ac_word" >&5
14678 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
14679 if test "${ac_cv_path_JIKES+set}" = set; then
14680 echo $ECHO_N "(cached) $ECHO_C" >&6
14684 ac_cv_path_JIKES
="$JIKES" # Let the user override the test with a path.
14687 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
14688 for as_dir
in $PATH
14691 test -z "$as_dir" && as_dir
=.
14692 for ac_exec_ext
in '' $ac_executable_extensions; do
14693 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
14694 ac_cv_path_JIKES
="$as_dir/$ac_word$ac_exec_ext"
14695 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
14704 JIKES
=$ac_cv_path_JIKES
14706 if test -n "$JIKES"; then
14707 echo "$as_me:$LINENO: result: $JIKES" >&5
14708 echo "${ECHO_T}$JIKES" >&6
14710 echo "$as_me:$LINENO: result: no" >&5
14711 echo "${ECHO_T}no" >&6
14715 if test "x$JIKES" != "x"; then
14716 echo "$as_me:$LINENO: checking jikes version" >&5
14717 echo $ECHO_N "checking jikes version... $ECHO_C" >&6
14718 JIKES_VERSION
=`$JIKES --version | awk '/^Jikes Compiler/' | cut -d ' ' -f 5`
14719 JIKES_VERSION_MAJOR
=`echo "$JIKES_VERSION" | cut -d '.' -f 1`
14720 JIKES_VERSION_MINOR
=`echo "$JIKES_VERSION" | cut -d '.' -f 2`
14721 if expr "$JIKES_VERSION_MAJOR" = 1 > /dev
/null
; then
14722 if expr "$JIKES_VERSION_MINOR" \
< 19 > /dev
/null
; then
14726 if test "x$JIKES" != "x"; then
14727 echo "$as_me:$LINENO: result: $JIKES_VERSION" >&5
14728 echo "${ECHO_T}$JIKES_VERSION" >&6
14730 { echo "$as_me:$LINENO: WARNING: $JIKES_VERSION: jikes 1.19 or higher required" >&5
14731 echo "$as_me: WARNING: $JIKES_VERSION: jikes 1.19 or higher required" >&2;}
14735 if test -n "`$JIKES --help 2>&1 | grep encoding`"; then
14736 JIKESENCODING
='-encoding UTF-8'
14740 JIKESWARNINGS
="+Pno-switchcheck"
14741 if test "x$JIKES_VERSION_MAJOR" = x
"1" ; then
14742 if ! test "x$JIKES_VERSION_MINOR" = x
"19"; then
14743 JIKESWARNINGS
="$JIKESWARNINGS +Pno-shadow"
14752 user_specified_javac
=jikes
14757 if test "x" != x
; then
14758 if test -f ""; then
14761 # Extract the first word of """", so it can be a program name with args.
14762 set dummy
""; ac_word
=$2
14763 echo "$as_me:$LINENO: checking for $ac_word" >&5
14764 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
14765 if test "${ac_cv_path_JIKES+set}" = set; then
14766 echo $ECHO_N "(cached) $ECHO_C" >&6
14770 ac_cv_path_JIKES
="$JIKES" # Let the user override the test with a path.
14773 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
14774 for as_dir
in $PATH
14777 test -z "$as_dir" && as_dir
=.
14778 for ac_exec_ext
in '' $ac_executable_extensions; do
14779 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
14780 ac_cv_path_JIKES
="$as_dir/$ac_word$ac_exec_ext"
14781 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
14790 JIKES
=$ac_cv_path_JIKES
14792 if test -n "$JIKES"; then
14793 echo "$as_me:$LINENO: result: $JIKES" >&5
14794 echo "${ECHO_T}$JIKES" >&6
14796 echo "$as_me:$LINENO: result: no" >&5
14797 echo "${ECHO_T}no" >&6
14802 # Extract the first word of ""jikes"", so it can be a program name with args.
14803 set dummy
"jikes"; ac_word
=$2
14804 echo "$as_me:$LINENO: checking for $ac_word" >&5
14805 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
14806 if test "${ac_cv_path_JIKES+set}" = set; then
14807 echo $ECHO_N "(cached) $ECHO_C" >&6
14811 ac_cv_path_JIKES
="$JIKES" # Let the user override the test with a path.
14814 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
14815 for as_dir
in $PATH
14818 test -z "$as_dir" && as_dir
=.
14819 for ac_exec_ext
in '' $ac_executable_extensions; do
14820 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
14821 ac_cv_path_JIKES
="$as_dir/$ac_word$ac_exec_ext"
14822 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
14831 JIKES
=$ac_cv_path_JIKES
14833 if test -n "$JIKES"; then
14834 echo "$as_me:$LINENO: result: $JIKES" >&5
14835 echo "${ECHO_T}$JIKES" >&6
14837 echo "$as_me:$LINENO: result: no" >&5
14838 echo "${ECHO_T}no" >&6
14842 if test "x$JIKES" != "x"; then
14843 echo "$as_me:$LINENO: checking jikes version" >&5
14844 echo $ECHO_N "checking jikes version... $ECHO_C" >&6
14845 JIKES_VERSION
=`$JIKES --version | awk '/^Jikes Compiler/' | cut -d ' ' -f 5`
14846 JIKES_VERSION_MAJOR
=`echo "$JIKES_VERSION" | cut -d '.' -f 1`
14847 JIKES_VERSION_MINOR
=`echo "$JIKES_VERSION" | cut -d '.' -f 2`
14848 if expr "$JIKES_VERSION_MAJOR" = 1 > /dev
/null
; then
14849 if expr "$JIKES_VERSION_MINOR" \
< 19 > /dev
/null
; then
14853 if test "x$JIKES" != "x"; then
14854 echo "$as_me:$LINENO: result: $JIKES_VERSION" >&5
14855 echo "${ECHO_T}$JIKES_VERSION" >&6
14857 { echo "$as_me:$LINENO: WARNING: $JIKES_VERSION: jikes 1.19 or higher required" >&5
14858 echo "$as_me: WARNING: $JIKES_VERSION: jikes 1.19 or higher required" >&2;}
14862 if test -n "`$JIKES --help 2>&1 | grep encoding`"; then
14863 JIKESENCODING
='-encoding UTF-8'
14867 JIKESWARNINGS
="+Pno-switchcheck"
14868 if test "x$JIKES_VERSION_MAJOR" = x
"1" ; then
14869 if ! test "x$JIKES_VERSION_MINOR" = x
"19"; then
14870 JIKESWARNINGS
="$JIKESWARNINGS +Pno-shadow"
14883 # Check whether --with-kjc or --without-kjc was given.
14884 if test "${with_kjc+set}" = set; then
14885 withval
="$with_kjc"
14887 if test "x${withval}" != x && test "x${withval}" != xyes && test "x${withval}" != xno
; then
14889 if test "x${withval}" != x
; then
14890 if test -f "${withval}"; then
14893 # Extract the first word of ""${withval}"", so it can be a program name with args.
14894 set dummy
"${withval}"; ac_word
=$2
14895 echo "$as_me:$LINENO: checking for $ac_word" >&5
14896 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
14897 if test "${ac_cv_path_KJC+set}" = set; then
14898 echo $ECHO_N "(cached) $ECHO_C" >&6
14902 ac_cv_path_KJC
="$KJC" # Let the user override the test with a path.
14905 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
14906 for as_dir
in $PATH
14909 test -z "$as_dir" && as_dir
=.
14910 for ac_exec_ext
in '' $ac_executable_extensions; do
14911 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
14912 ac_cv_path_KJC
="$as_dir/$ac_word$ac_exec_ext"
14913 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
14922 KJC
=$ac_cv_path_KJC
14924 if test -n "$KJC"; then
14925 echo "$as_me:$LINENO: result: $KJC" >&5
14926 echo "${ECHO_T}$KJC" >&6
14928 echo "$as_me:$LINENO: result: no" >&5
14929 echo "${ECHO_T}no" >&6
14934 # Extract the first word of ""kJC"", so it can be a program name with args.
14935 set dummy
"kJC"; ac_word
=$2
14936 echo "$as_me:$LINENO: checking for $ac_word" >&5
14937 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
14938 if test "${ac_cv_path_KJC+set}" = set; then
14939 echo $ECHO_N "(cached) $ECHO_C" >&6
14943 ac_cv_path_KJC
="$KJC" # Let the user override the test with a path.
14946 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
14947 for as_dir
in $PATH
14950 test -z "$as_dir" && as_dir
=.
14951 for ac_exec_ext
in '' $ac_executable_extensions; do
14952 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
14953 ac_cv_path_KJC
="$as_dir/$ac_word$ac_exec_ext"
14954 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
14963 KJC
=$ac_cv_path_KJC
14965 if test -n "$KJC"; then
14966 echo "$as_me:$LINENO: result: $KJC" >&5
14967 echo "${ECHO_T}$KJC" >&6
14969 echo "$as_me:$LINENO: result: no" >&5
14970 echo "${ECHO_T}no" >&6
14976 if test "x${withval}" != xno
; then
14978 if test "x" != x
; then
14979 if test -f ""; then
14982 # Extract the first word of """", so it can be a program name with args.
14983 set dummy
""; ac_word
=$2
14984 echo "$as_me:$LINENO: checking for $ac_word" >&5
14985 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
14986 if test "${ac_cv_path_KJC+set}" = set; then
14987 echo $ECHO_N "(cached) $ECHO_C" >&6
14991 ac_cv_path_KJC
="$KJC" # Let the user override the test with a path.
14994 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
14995 for as_dir
in $PATH
14998 test -z "$as_dir" && as_dir
=.
14999 for ac_exec_ext
in '' $ac_executable_extensions; do
15000 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
15001 ac_cv_path_KJC
="$as_dir/$ac_word$ac_exec_ext"
15002 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
15011 KJC
=$ac_cv_path_KJC
15013 if test -n "$KJC"; then
15014 echo "$as_me:$LINENO: result: $KJC" >&5
15015 echo "${ECHO_T}$KJC" >&6
15017 echo "$as_me:$LINENO: result: no" >&5
15018 echo "${ECHO_T}no" >&6
15023 # Extract the first word of ""kJC"", so it can be a program name with args.
15024 set dummy
"kJC"; ac_word
=$2
15025 echo "$as_me:$LINENO: checking for $ac_word" >&5
15026 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
15027 if test "${ac_cv_path_KJC+set}" = set; then
15028 echo $ECHO_N "(cached) $ECHO_C" >&6
15032 ac_cv_path_KJC
="$KJC" # Let the user override the test with a path.
15035 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
15036 for as_dir
in $PATH
15039 test -z "$as_dir" && as_dir
=.
15040 for ac_exec_ext
in '' $ac_executable_extensions; do
15041 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
15042 ac_cv_path_KJC
="$as_dir/$ac_word$ac_exec_ext"
15043 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
15052 KJC
=$ac_cv_path_KJC
15054 if test -n "$KJC"; then
15055 echo "$as_me:$LINENO: result: $KJC" >&5
15056 echo "${ECHO_T}$KJC" >&6
15058 echo "$as_me:$LINENO: result: no" >&5
15059 echo "${ECHO_T}no" >&6
15066 user_specified_javac
=kjc
15071 if test "x" != x
; then
15072 if test -f ""; then
15075 # Extract the first word of """", so it can be a program name with args.
15076 set dummy
""; ac_word
=$2
15077 echo "$as_me:$LINENO: checking for $ac_word" >&5
15078 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
15079 if test "${ac_cv_path_KJC+set}" = set; then
15080 echo $ECHO_N "(cached) $ECHO_C" >&6
15084 ac_cv_path_KJC
="$KJC" # Let the user override the test with a path.
15087 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
15088 for as_dir
in $PATH
15091 test -z "$as_dir" && as_dir
=.
15092 for ac_exec_ext
in '' $ac_executable_extensions; do
15093 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
15094 ac_cv_path_KJC
="$as_dir/$ac_word$ac_exec_ext"
15095 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
15104 KJC
=$ac_cv_path_KJC
15106 if test -n "$KJC"; then
15107 echo "$as_me:$LINENO: result: $KJC" >&5
15108 echo "${ECHO_T}$KJC" >&6
15110 echo "$as_me:$LINENO: result: no" >&5
15111 echo "${ECHO_T}no" >&6
15116 # Extract the first word of ""kJC"", so it can be a program name with args.
15117 set dummy
"kJC"; 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_KJC+set}" = set; then
15121 echo $ECHO_N "(cached) $ECHO_C" >&6
15125 ac_cv_path_KJC
="$KJC" # Let the user override the test with a path.
15128 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
15129 for as_dir
in $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_KJC
="$as_dir/$ac_word$ac_exec_ext"
15136 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
15145 KJC
=$ac_cv_path_KJC
15147 if test -n "$KJC"; then
15148 echo "$as_me:$LINENO: result: $KJC" >&5
15149 echo "${ECHO_T}$KJC" >&6
15151 echo "$as_me:$LINENO: result: no" >&5
15152 echo "${ECHO_T}no" >&6
15163 # Check whether --with-gcjx or --without-gcjx was given.
15164 if test "${with_gcjx+set}" = set; then
15165 withval
="$with_gcjx"
15167 if test "x${withval}" != x && test "x${withval}" != xyes && test "x${withval}" != xno
; then
15169 if test "x${withval}" != x
; then
15170 if test -f "${withval}"; then
15173 # Extract the first word of ""${withval}"", so it can be a program name with args.
15174 set dummy
"${withval}"; ac_word
=$2
15175 echo "$as_me:$LINENO: checking for $ac_word" >&5
15176 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
15177 if test "${ac_cv_path_GCJX+set}" = set; then
15178 echo $ECHO_N "(cached) $ECHO_C" >&6
15182 ac_cv_path_GCJX
="$GCJX" # Let the user override the test with a path.
15185 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
15186 for as_dir
in $PATH
15189 test -z "$as_dir" && as_dir
=.
15190 for ac_exec_ext
in '' $ac_executable_extensions; do
15191 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
15192 ac_cv_path_GCJX
="$as_dir/$ac_word$ac_exec_ext"
15193 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
15202 GCJX
=$ac_cv_path_GCJX
15204 if test -n "$GCJX"; then
15205 echo "$as_me:$LINENO: result: $GCJX" >&5
15206 echo "${ECHO_T}$GCJX" >&6
15208 echo "$as_me:$LINENO: result: no" >&5
15209 echo "${ECHO_T}no" >&6
15214 # Extract the first word of ""gcjx"", so it can be a program name with args.
15215 set dummy
"gcjx"; ac_word
=$2
15216 echo "$as_me:$LINENO: checking for $ac_word" >&5
15217 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
15218 if test "${ac_cv_path_GCJX+set}" = set; then
15219 echo $ECHO_N "(cached) $ECHO_C" >&6
15223 ac_cv_path_GCJX
="$GCJX" # Let the user override the test with a path.
15226 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
15227 for as_dir
in $PATH
15230 test -z "$as_dir" && as_dir
=.
15231 for ac_exec_ext
in '' $ac_executable_extensions; do
15232 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
15233 ac_cv_path_GCJX
="$as_dir/$ac_word$ac_exec_ext"
15234 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
15243 GCJX
=$ac_cv_path_GCJX
15245 if test -n "$GCJX"; then
15246 echo "$as_me:$LINENO: result: $GCJX" >&5
15247 echo "${ECHO_T}$GCJX" >&6
15249 echo "$as_me:$LINENO: result: no" >&5
15250 echo "${ECHO_T}no" >&6
15256 if test "x${withval}" != xno
; then
15258 if test "x" != x
; then
15259 if test -f ""; then
15262 # Extract the first word of """", so it can be a program name with args.
15263 set dummy
""; ac_word
=$2
15264 echo "$as_me:$LINENO: checking for $ac_word" >&5
15265 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
15266 if test "${ac_cv_path_GCJX+set}" = set; then
15267 echo $ECHO_N "(cached) $ECHO_C" >&6
15271 ac_cv_path_GCJX
="$GCJX" # Let the user override the test with a path.
15274 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
15275 for as_dir
in $PATH
15278 test -z "$as_dir" && as_dir
=.
15279 for ac_exec_ext
in '' $ac_executable_extensions; do
15280 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
15281 ac_cv_path_GCJX
="$as_dir/$ac_word$ac_exec_ext"
15282 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
15291 GCJX
=$ac_cv_path_GCJX
15293 if test -n "$GCJX"; then
15294 echo "$as_me:$LINENO: result: $GCJX" >&5
15295 echo "${ECHO_T}$GCJX" >&6
15297 echo "$as_me:$LINENO: result: no" >&5
15298 echo "${ECHO_T}no" >&6
15303 # Extract the first word of ""gcjx"", so it can be a program name with args.
15304 set dummy
"gcjx"; ac_word
=$2
15305 echo "$as_me:$LINENO: checking for $ac_word" >&5
15306 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
15307 if test "${ac_cv_path_GCJX+set}" = set; then
15308 echo $ECHO_N "(cached) $ECHO_C" >&6
15312 ac_cv_path_GCJX
="$GCJX" # Let the user override the test with a path.
15315 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
15316 for as_dir
in $PATH
15319 test -z "$as_dir" && as_dir
=.
15320 for ac_exec_ext
in '' $ac_executable_extensions; do
15321 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
15322 ac_cv_path_GCJX
="$as_dir/$ac_word$ac_exec_ext"
15323 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
15332 GCJX
=$ac_cv_path_GCJX
15334 if test -n "$GCJX"; then
15335 echo "$as_me:$LINENO: result: $GCJX" >&5
15336 echo "${ECHO_T}$GCJX" >&6
15338 echo "$as_me:$LINENO: result: no" >&5
15339 echo "${ECHO_T}no" >&6
15346 user_specified_javac
=gcjx
15351 if test "x" != x
; then
15352 if test -f ""; then
15355 # Extract the first word of """", so it can be a program name with args.
15356 set dummy
""; ac_word
=$2
15357 echo "$as_me:$LINENO: checking for $ac_word" >&5
15358 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
15359 if test "${ac_cv_path_GCJX+set}" = set; then
15360 echo $ECHO_N "(cached) $ECHO_C" >&6
15364 ac_cv_path_GCJX
="$GCJX" # Let the user override the test with a path.
15367 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
15368 for as_dir
in $PATH
15371 test -z "$as_dir" && as_dir
=.
15372 for ac_exec_ext
in '' $ac_executable_extensions; do
15373 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
15374 ac_cv_path_GCJX
="$as_dir/$ac_word$ac_exec_ext"
15375 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
15384 GCJX
=$ac_cv_path_GCJX
15386 if test -n "$GCJX"; then
15387 echo "$as_me:$LINENO: result: $GCJX" >&5
15388 echo "${ECHO_T}$GCJX" >&6
15390 echo "$as_me:$LINENO: result: no" >&5
15391 echo "${ECHO_T}no" >&6
15396 # Extract the first word of ""gcjx"", so it can be a program name with args.
15397 set dummy
"gcjx"; ac_word
=$2
15398 echo "$as_me:$LINENO: checking for $ac_word" >&5
15399 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
15400 if test "${ac_cv_path_GCJX+set}" = set; then
15401 echo $ECHO_N "(cached) $ECHO_C" >&6
15405 ac_cv_path_GCJX
="$GCJX" # Let the user override the test with a path.
15408 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
15409 for as_dir
in $PATH
15412 test -z "$as_dir" && as_dir
=.
15413 for ac_exec_ext
in '' $ac_executable_extensions; do
15414 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
15415 ac_cv_path_GCJX
="$as_dir/$ac_word$ac_exec_ext"
15416 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
15425 GCJX
=$ac_cv_path_GCJX
15427 if test -n "$GCJX"; then
15428 echo "$as_me:$LINENO: result: $GCJX" >&5
15429 echo "${ECHO_T}$GCJX" >&6
15431 echo "$as_me:$LINENO: result: no" >&5
15432 echo "${ECHO_T}no" >&6
15443 # Check whether --with-ecj or --without-ecj was given.
15444 if test "${with_ecj+set}" = set; then
15445 withval
="$with_ecj"
15447 if test "x${withval}" != x && test "x${withval}" != xyes && test "x${withval}" != xno
; then
15449 if test "x${withval}" != x
; then
15450 if test -f "${withval}"; then
15453 # Extract the first word of ""${withval}"", so it can be a program name with args.
15454 set dummy
"${withval}"; ac_word
=$2
15455 echo "$as_me:$LINENO: checking for $ac_word" >&5
15456 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
15457 if test "${ac_cv_path_ECJ+set}" = set; then
15458 echo $ECHO_N "(cached) $ECHO_C" >&6
15462 ac_cv_path_ECJ
="$ECJ" # Let the user override the test with a path.
15465 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
15466 for as_dir
in $PATH
15469 test -z "$as_dir" && as_dir
=.
15470 for ac_exec_ext
in '' $ac_executable_extensions; do
15471 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
15472 ac_cv_path_ECJ
="$as_dir/$ac_word$ac_exec_ext"
15473 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
15482 ECJ
=$ac_cv_path_ECJ
15484 if test -n "$ECJ"; then
15485 echo "$as_me:$LINENO: result: $ECJ" >&5
15486 echo "${ECHO_T}$ECJ" >&6
15488 echo "$as_me:$LINENO: result: no" >&5
15489 echo "${ECHO_T}no" >&6
15494 # Extract the first word of ""ecj"", so it can be a program name with args.
15495 set dummy
"ecj"; ac_word
=$2
15496 echo "$as_me:$LINENO: checking for $ac_word" >&5
15497 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
15498 if test "${ac_cv_path_ECJ+set}" = set; then
15499 echo $ECHO_N "(cached) $ECHO_C" >&6
15503 ac_cv_path_ECJ
="$ECJ" # Let the user override the test with a path.
15506 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
15507 for as_dir
in $PATH
15510 test -z "$as_dir" && as_dir
=.
15511 for ac_exec_ext
in '' $ac_executable_extensions; do
15512 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
15513 ac_cv_path_ECJ
="$as_dir/$ac_word$ac_exec_ext"
15514 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
15523 ECJ
=$ac_cv_path_ECJ
15525 if test -n "$ECJ"; then
15526 echo "$as_me:$LINENO: result: $ECJ" >&5
15527 echo "${ECHO_T}$ECJ" >&6
15529 echo "$as_me:$LINENO: result: no" >&5
15530 echo "${ECHO_T}no" >&6
15536 if test "x${withval}" != xno
; then
15538 if test "x" != x
; then
15539 if test -f ""; then
15542 # Extract the first word of """", so it can be a program name with args.
15543 set dummy
""; ac_word
=$2
15544 echo "$as_me:$LINENO: checking for $ac_word" >&5
15545 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
15546 if test "${ac_cv_path_ECJ+set}" = set; then
15547 echo $ECHO_N "(cached) $ECHO_C" >&6
15551 ac_cv_path_ECJ
="$ECJ" # Let the user override the test with a path.
15554 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
15555 for as_dir
in $PATH
15558 test -z "$as_dir" && as_dir
=.
15559 for ac_exec_ext
in '' $ac_executable_extensions; do
15560 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
15561 ac_cv_path_ECJ
="$as_dir/$ac_word$ac_exec_ext"
15562 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
15571 ECJ
=$ac_cv_path_ECJ
15573 if test -n "$ECJ"; then
15574 echo "$as_me:$LINENO: result: $ECJ" >&5
15575 echo "${ECHO_T}$ECJ" >&6
15577 echo "$as_me:$LINENO: result: no" >&5
15578 echo "${ECHO_T}no" >&6
15583 # Extract the first word of ""ecj"", so it can be a program name with args.
15584 set dummy
"ecj"; ac_word
=$2
15585 echo "$as_me:$LINENO: checking for $ac_word" >&5
15586 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
15587 if test "${ac_cv_path_ECJ+set}" = set; then
15588 echo $ECHO_N "(cached) $ECHO_C" >&6
15592 ac_cv_path_ECJ
="$ECJ" # Let the user override the test with a path.
15595 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
15596 for as_dir
in $PATH
15599 test -z "$as_dir" && as_dir
=.
15600 for ac_exec_ext
in '' $ac_executable_extensions; do
15601 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
15602 ac_cv_path_ECJ
="$as_dir/$ac_word$ac_exec_ext"
15603 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
15612 ECJ
=$ac_cv_path_ECJ
15614 if test -n "$ECJ"; then
15615 echo "$as_me:$LINENO: result: $ECJ" >&5
15616 echo "${ECHO_T}$ECJ" >&6
15618 echo "$as_me:$LINENO: result: no" >&5
15619 echo "${ECHO_T}no" >&6
15626 user_specified_javac
=ecj
15631 if test "x" != x
; then
15632 if test -f ""; then
15635 # Extract the first word of """", so it can be a program name with args.
15636 set dummy
""; ac_word
=$2
15637 echo "$as_me:$LINENO: checking for $ac_word" >&5
15638 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
15639 if test "${ac_cv_path_ECJ+set}" = set; then
15640 echo $ECHO_N "(cached) $ECHO_C" >&6
15644 ac_cv_path_ECJ
="$ECJ" # Let the user override the test with a path.
15647 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
15648 for as_dir
in $PATH
15651 test -z "$as_dir" && as_dir
=.
15652 for ac_exec_ext
in '' $ac_executable_extensions; do
15653 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
15654 ac_cv_path_ECJ
="$as_dir/$ac_word$ac_exec_ext"
15655 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
15664 ECJ
=$ac_cv_path_ECJ
15666 if test -n "$ECJ"; then
15667 echo "$as_me:$LINENO: result: $ECJ" >&5
15668 echo "${ECHO_T}$ECJ" >&6
15670 echo "$as_me:$LINENO: result: no" >&5
15671 echo "${ECHO_T}no" >&6
15676 # Extract the first word of ""ecj"", so it can be a program name with args.
15677 set dummy
"ecj"; ac_word
=$2
15678 echo "$as_me:$LINENO: checking for $ac_word" >&5
15679 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
15680 if test "${ac_cv_path_ECJ+set}" = set; then
15681 echo $ECHO_N "(cached) $ECHO_C" >&6
15685 ac_cv_path_ECJ
="$ECJ" # Let the user override the test with a path.
15688 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
15689 for as_dir
in $PATH
15692 test -z "$as_dir" && as_dir
=.
15693 for ac_exec_ext
in '' $ac_executable_extensions; do
15694 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
15695 ac_cv_path_ECJ
="$as_dir/$ac_word$ac_exec_ext"
15696 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
15705 ECJ
=$ac_cv_path_ECJ
15707 if test -n "$ECJ"; then
15708 echo "$as_me:$LINENO: result: $ECJ" >&5
15709 echo "${ECHO_T}$ECJ" >&6
15711 echo "$as_me:$LINENO: result: no" >&5
15712 echo "${ECHO_T}no" >&6
15722 if test "x${user_specified_javac}" = x
; then
15725 if test "x${GCJ}" != x
; then
15727 FOUND_GCJ_FALSE
='#'
15735 if test "x${JIKES}" != x
; then
15737 FOUND_JIKES_FALSE
='#'
15739 FOUND_JIKES_TRUE
='#'
15745 if test "x${ECJ}" != x
; then
15747 FOUND_ECJ_FALSE
='#'
15756 if test "x${user_specified_javac}" = xgcj
; then
15758 FOUND_GCJ_FALSE
='#'
15766 if test "x${user_specified_javac}" = xjikes
; then
15768 FOUND_JIKES_FALSE
='#'
15770 FOUND_JIKES_TRUE
='#'
15776 if test "x${user_specified_javac}" = xecj
; then
15778 FOUND_ECJ_FALSE
='#'
15787 if test "x${user_specified_javac}" = xkjc
; then
15789 FOUND_KJC_FALSE
='#'
15797 if test "x${user_specified_javac}" = xgcjx
; then
15799 FOUND_GCJX_FALSE
='#'
15801 FOUND_GCJX_TRUE
='#'
15806 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
15807 { { echo "$as_me:$LINENO: error: cannot find javac, try --with-gcj, --with-jikes, --with-kjc, --with-ecj, or --with-gcjx" >&5
15808 echo "$as_me: error: cannot find javac, try --with-gcj, --with-jikes, --with-kjc, --with-ecj, or --with-gcjx" >&2;}
15809 { (exit 1); exit 1; }; }
15815 # Check whether --with-classpath or --without-classpath was given.
15816 if test "${with_classpath+set}" = set; then
15817 withval
="$with_classpath"
15819 if test "x${withval}" = xyes
; then
15820 # set user classpath to CLASSPATH from env
15821 echo "$as_me:$LINENO: checking for classlib" >&5
15822 echo $ECHO_N "checking for classlib... $ECHO_C" >&6
15823 USER_CLASSLIB
=${CLASSPATH}
15825 echo "$as_me:$LINENO: result: ${USER_CLASSLIB}" >&5
15826 echo "${ECHO_T}${USER_CLASSLIB}" >&6
15827 conditional_with_classlib
=true
15828 elif test "x${withval}" != x
&& test "x${withval}" != xno
; then
15829 # set user classpath to specified value
15830 echo "$as_me:$LINENO: checking for classlib" >&5
15831 echo $ECHO_N "checking for classlib... $ECHO_C" >&6
15832 USER_CLASSLIB
=${withval}
15834 echo "$as_me:$LINENO: result: ${withval}" >&5
15835 echo "${ECHO_T}${withval}" >&6
15836 conditional_with_classlib
=true
15840 conditional_with_classlib
=false
15844 if test "x${conditional_with_classlib}" = xtrue
; then
15845 USER_SPECIFIED_CLASSLIB_TRUE
=
15846 USER_SPECIFIED_CLASSLIB_FALSE
='#'
15848 USER_SPECIFIED_CLASSLIB_TRUE
='#'
15849 USER_SPECIFIED_CLASSLIB_FALSE
=
15854 # Check whether --with-vm-classes or --without-vm-classes was given.
15855 if test "${with_vm_classes+set}" = set; then
15856 withval
="$with_vm_classes"
15857 vm_classes
="$with_vm_classes"
15859 vm_classes
='${top_srcdir}/vm/reference'
15864 echo "$as_me:$LINENO: checking whether to enable maintainer-specific portions of Makefiles" >&5
15865 echo $ECHO_N "checking whether to enable maintainer-specific portions of Makefiles... $ECHO_C" >&6
15866 # Check whether --enable-maintainer-mode or --disable-maintainer-mode was given.
15867 if test "${enable_maintainer_mode+set}" = set; then
15868 enableval
="$enable_maintainer_mode"
15869 USE_MAINTAINER_MODE
=$enableval
15871 USE_MAINTAINER_MODE
=no
15873 echo "$as_me:$LINENO: result: $USE_MAINTAINER_MODE" >&5
15874 echo "${ECHO_T}$USE_MAINTAINER_MODE" >&6
15877 if test $USE_MAINTAINER_MODE = yes; then
15878 MAINTAINER_MODE_TRUE
=
15879 MAINTAINER_MODE_FALSE
='#'
15881 MAINTAINER_MODE_TRUE
='#'
15882 MAINTAINER_MODE_FALSE
=
15885 MAINT
=$MAINTAINER_MODE_TRUE
15889 # Check whether --enable-debug or --disable-debug was given.
15890 if test "${enable_debug+set}" = set; then
15891 enableval
="$enable_debug"
15892 case "${enableval}" in
15896 cat >>confdefs.h
<<\_ACEOF
15901 no
) LIBDEBUG
="false" ;;
15902 *) { { echo "$as_me:$LINENO: error: bad value ${enableval} for --enable-debug" >&5
15903 echo "$as_me: error: bad value ${enableval} for --enable-debug" >&2;}
15904 { (exit 1); exit 1; }; } ;;
15911 # Check whether --enable-load-library or --disable-load-library was given.
15912 if test "${enable_load_library+set}" = set; then
15913 enableval
="$enable_load_library"
15914 case "${enableval}" in
15915 yes) INIT_LOAD_LIBRARY
="true" ;;
15916 no
) INIT_LOAD_LIBRARY
="false" ;;
15917 *) { { echo "$as_me:$LINENO: error: bad value ${enableval} for --enable-load-library" >&5
15918 echo "$as_me: error: bad value ${enableval} for --enable-load-library" >&2;}
15919 { (exit 1); exit 1; }; } ;;
15922 INIT_LOAD_LIBRARY
="true"
15927 # Check whether --enable-java-lang-system-explicit-initialization or --disable-java-lang-system-explicit-initialization was given.
15928 if test "${enable_java_lang_system_explicit_initialization+set}" = set; then
15929 enableval
="$enable_java_lang_system_explicit_initialization"
15930 case "${enableval}" in
15931 yes|true
) JAVA_LANG_SYSTEM_EXPLICIT_INITIALIZATION
="true" ;;
15932 no|false
) JAVA_LANG_SYSTEM_EXPLICIT_INITIALIZATION
="false" ;;
15933 *) { { echo "$as_me:$LINENO: error: bad value ${enableval} for --enable-java-lang-system-explicit-initialization" >&5
15934 echo "$as_me: error: bad value ${enableval} for --enable-java-lang-system-explicit-initialization" >&2;}
15935 { (exit 1); exit 1; }; } ;;
15938 JAVA_LANG_SYSTEM_EXPLICIT_INITIALIZATION
="false"
15946 # Extract the first word of "mkdir", so it can be a program name with args.
15947 set dummy mkdir
; ac_word
=$2
15948 echo "$as_me:$LINENO: checking for $ac_word" >&5
15949 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
15950 if test "${ac_cv_path_MKDIR+set}" = set; then
15951 echo $ECHO_N "(cached) $ECHO_C" >&6
15955 ac_cv_path_MKDIR
="$MKDIR" # Let the user override the test with a path.
15958 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
15959 for as_dir
in $PATH
15962 test -z "$as_dir" && as_dir
=.
15963 for ac_exec_ext
in '' $ac_executable_extensions; do
15964 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
15965 ac_cv_path_MKDIR
="$as_dir/$ac_word$ac_exec_ext"
15966 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
15975 MKDIR
=$ac_cv_path_MKDIR
15977 if test -n "$MKDIR"; then
15978 echo "$as_me:$LINENO: result: $MKDIR" >&5
15979 echo "${ECHO_T}$MKDIR" >&6
15981 echo "$as_me:$LINENO: result: no" >&5
15982 echo "${ECHO_T}no" >&6
15985 # Extract the first word of "cp", so it can be a program name with args.
15986 set dummy
cp; ac_word
=$2
15987 echo "$as_me:$LINENO: checking for $ac_word" >&5
15988 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
15989 if test "${ac_cv_path_CP+set}" = set; then
15990 echo $ECHO_N "(cached) $ECHO_C" >&6
15994 ac_cv_path_CP
="$CP" # Let the user override the test with a path.
15997 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
15998 for as_dir
in $PATH
16001 test -z "$as_dir" && as_dir
=.
16002 for ac_exec_ext
in '' $ac_executable_extensions; do
16003 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
16004 ac_cv_path_CP
="$as_dir/$ac_word$ac_exec_ext"
16005 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
16016 if test -n "$CP"; then
16017 echo "$as_me:$LINENO: result: $CP" >&5
16018 echo "${ECHO_T}$CP" >&6
16020 echo "$as_me:$LINENO: result: no" >&5
16021 echo "${ECHO_T}no" >&6
16024 # Extract the first word of "date", so it can be a program name with args.
16025 set dummy
date; ac_word
=$2
16026 echo "$as_me:$LINENO: checking for $ac_word" >&5
16027 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
16028 if test "${ac_cv_path_DATE+set}" = set; then
16029 echo $ECHO_N "(cached) $ECHO_C" >&6
16033 ac_cv_path_DATE
="$DATE" # Let the user override the test with a path.
16036 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
16037 for as_dir
in $PATH
16040 test -z "$as_dir" && as_dir
=.
16041 for ac_exec_ext
in '' $ac_executable_extensions; do
16042 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
16043 ac_cv_path_DATE
="$as_dir/$ac_word$ac_exec_ext"
16044 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
16053 DATE
=$ac_cv_path_DATE
16055 if test -n "$DATE"; then
16056 echo "$as_me:$LINENO: result: $DATE" >&5
16057 echo "${ECHO_T}$DATE" >&6
16059 echo "$as_me:$LINENO: result: no" >&5
16060 echo "${ECHO_T}no" >&6
16064 # Extract the first word of "find", so it can be a program name with args.
16065 set dummy
find; ac_word
=$2
16066 echo "$as_me:$LINENO: checking for $ac_word" >&5
16067 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
16068 if test "${ac_cv_path_FIND+set}" = set; then
16069 echo $ECHO_N "(cached) $ECHO_C" >&6
16073 ac_cv_path_FIND
="$FIND" # Let the user override the test with a path.
16076 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
16077 for as_dir
in $PATH
16080 test -z "$as_dir" && as_dir
=.
16081 for ac_exec_ext
in '' $ac_executable_extensions; do
16082 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
16083 ac_cv_path_FIND
="$as_dir/$ac_word$ac_exec_ext"
16084 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
16093 FIND
=$ac_cv_path_FIND
16095 if test -n "$FIND"; then
16096 echo "$as_me:$LINENO: result: $FIND" >&5
16097 echo "${ECHO_T}$FIND" >&6
16099 echo "$as_me:$LINENO: result: no" >&5
16100 echo "${ECHO_T}no" >&6
16105 # Extract the first word of "zip", so it can be a program name with args.
16106 set dummy
zip; ac_word
=$2
16107 echo "$as_me:$LINENO: checking for $ac_word" >&5
16108 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
16109 if test "${ac_cv_path_ZIP+set}" = set; then
16110 echo $ECHO_N "(cached) $ECHO_C" >&6
16114 ac_cv_path_ZIP
="$ZIP" # Let the user override the test with a path.
16117 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
16118 for as_dir
in $PATH
16121 test -z "$as_dir" && as_dir
=.
16122 for ac_exec_ext
in '' $ac_executable_extensions; do
16123 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
16124 ac_cv_path_ZIP
="$as_dir/$ac_word$ac_exec_ext"
16125 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
16134 ZIP
=$ac_cv_path_ZIP
16136 if test -n "$ZIP"; then
16137 echo "$as_me:$LINENO: result: $ZIP" >&5
16138 echo "${ECHO_T}$ZIP" >&6
16140 echo "$as_me:$LINENO: result: no" >&5
16141 echo "${ECHO_T}no" >&6
16145 # Check whether --with-fastjar or --without-fastjar was given.
16146 if test "${with_fastjar+set}" = set; then
16147 withval
="$with_fastjar"
16149 echo "$as_me:$LINENO: checking for user supplied fastjar" >&5
16150 echo $ECHO_N "checking for user supplied fastjar... $ECHO_C" >&6
16152 echo "$as_me:$LINENO: result: ${FASTJAR}" >&5
16153 echo "${ECHO_T}${FASTJAR}" >&6
16156 # Extract the first word of "fastjar", so it can be a program name with args.
16157 set dummy fastjar
; ac_word
=$2
16158 echo "$as_me:$LINENO: checking for $ac_word" >&5
16159 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
16160 if test "${ac_cv_path_FASTJAR+set}" = set; then
16161 echo $ECHO_N "(cached) $ECHO_C" >&6
16165 ac_cv_path_FASTJAR
="$FASTJAR" # Let the user override the test with a path.
16168 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
16169 for as_dir
in $PATH
16172 test -z "$as_dir" && as_dir
=.
16173 for ac_exec_ext
in '' $ac_executable_extensions; do
16174 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
16175 ac_cv_path_FASTJAR
="$as_dir/$ac_word$ac_exec_ext"
16176 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
16185 FASTJAR
=$ac_cv_path_FASTJAR
16187 if test -n "$FASTJAR"; then
16188 echo "$as_me:$LINENO: result: $FASTJAR" >&5
16189 echo "${ECHO_T}$FASTJAR" >&6
16191 echo "$as_me:$LINENO: result: no" >&5
16192 echo "${ECHO_T}no" >&6
16196 if test x
"${FASTJAR}" != x
; then
16201 # Check whether --with-glibj or --without-glibj was given.
16202 if test "${with_glibj+set}" = set; then
16203 withval
="$with_glibj"
16205 if test "x${withval}" = xyes ||
test "x${withval}" = xzip
; then
16206 install_class_files
=no
16207 build_class_files
=yes
16209 elif test "x${withval}" = xboth
; then
16210 install_class_files
=yes
16211 build_class_files
=yes
16213 elif test "x${withval}" = xflat
; then
16214 install_class_files
=yes
16215 build_class_files
=yes
16217 elif test "x${withval}" = xno ||
test "x${withval}" = xnone
; then
16218 install_class_files
=no
16219 build_class_files
=no
16221 elif test "x${withval}" = xbuild
; then
16222 install_class_files
=no
16223 build_class_files
=yes
16226 { { echo "$as_me:$LINENO: error: unknown value given to --with-glibj" >&5
16227 echo "$as_me: error: unknown value given to --with-glibj" >&2;}
16228 { (exit 1); exit 1; }; }
16233 install_class_files
=no
16239 if test "x${use_zip}" = xyes
; then
16240 INSTALL_GLIBJ_ZIP_TRUE
=
16241 INSTALL_GLIBJ_ZIP_FALSE
='#'
16243 INSTALL_GLIBJ_ZIP_TRUE
='#'
16244 INSTALL_GLIBJ_ZIP_FALSE
=
16249 if test "x${install_class_files}" = xyes
; then
16250 INSTALL_CLASS_FILES_TRUE
=
16251 INSTALL_CLASS_FILES_FALSE
='#'
16253 INSTALL_CLASS_FILES_TRUE
='#'
16254 INSTALL_CLASS_FILES_FALSE
=
16259 if test "x${build_class_files}" = xyes
; then
16260 BUILD_CLASS_FILES_TRUE
=
16261 BUILD_CLASS_FILES_FALSE
='#'
16263 BUILD_CLASS_FILES_TRUE
='#'
16264 BUILD_CLASS_FILES_FALSE
=
16268 # Check whether --enable-examples or --disable-examples was given.
16269 if test "${enable_examples+set}" = set; then
16270 enableval
="$enable_examples"
16271 case "${enableval}" in
16272 yes) EXAMPLESDIR
="examples" ;;
16273 no
) EXAMPLESDIR
="" ;;
16274 *) { { echo "$as_me:$LINENO: error: bad value ${enableval} for --enable-examples" >&5
16275 echo "$as_me: error: bad value ${enableval} for --enable-examples" >&2;}
16276 { (exit 1); exit 1; }; } ;;
16279 EXAMPLESDIR
="examples"
16281 if test "x${use_zip}" = xno
&& test "x${install_class_files}" = xno
; then
16289 # Check whether --with-gjdoc or --without-gjdoc was given.
16290 if test "${with_gjdoc+set}" = set; then
16291 withval
="$with_gjdoc"
16292 if test "x${withval}" = xno
; then
16294 elif test "x${withval}" = xyes
-o "x{withval}" = x
; then
16296 # Extract the first word of "gjdoc", so it can be a program name with args.
16297 set dummy gjdoc
; ac_word
=$2
16298 echo "$as_me:$LINENO: checking for $ac_word" >&5
16299 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
16300 if test "${ac_cv_path_GJDOC+set}" = set; then
16301 echo $ECHO_N "(cached) $ECHO_C" >&6
16305 ac_cv_path_GJDOC
="$GJDOC" # Let the user override the test with a path.
16308 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
16309 for as_dir
in $PATH
16312 test -z "$as_dir" && as_dir
=.
16313 for ac_exec_ext
in '' $ac_executable_extensions; do
16314 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
16315 ac_cv_path_GJDOC
="$as_dir/$ac_word$ac_exec_ext"
16316 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
16322 test -z "$ac_cv_path_GJDOC" && ac_cv_path_GJDOC
=""no
""
16326 GJDOC
=$ac_cv_path_GJDOC
16328 if test -n "$GJDOC"; then
16329 echo "$as_me:$LINENO: result: $GJDOC" >&5
16330 echo "${ECHO_T}$GJDOC" >&6
16332 echo "$as_me:$LINENO: result: no" >&5
16333 echo "${ECHO_T}no" >&6
16336 if test "x${GJDOC}" = xno
; then
16337 { { echo "$as_me:$LINENO: error: \"gjdoc executable not found\"" >&5
16338 echo "$as_me: error: \"gjdoc executable not found\"" >&2;}
16339 { (exit 1); exit 1; }; };
16344 as_ac_File
=`echo "ac_cv_file_${GJDOC}" | $as_tr_sh`
16345 echo "$as_me:$LINENO: checking for ${GJDOC}" >&5
16346 echo $ECHO_N "checking for ${GJDOC}... $ECHO_C" >&6
16347 if eval "test \"\${$as_ac_File+set}\" = set"; then
16348 echo $ECHO_N "(cached) $ECHO_C" >&6
16350 test "$cross_compiling" = yes &&
16351 { { echo "$as_me:$LINENO: error: cannot check for file existence when cross compiling" >&5
16352 echo "$as_me: error: cannot check for file existence when cross compiling" >&2;}
16353 { (exit 1); exit 1; }; }
16354 if test -r "${GJDOC}"; then
16355 eval "$as_ac_File=yes"
16357 eval "$as_ac_File=no"
16360 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_File'}'`" >&5
16361 echo "${ECHO_T}`eval echo '${'$as_ac_File'}'`" >&6
16362 if test `eval echo '${'$as_ac_File'}'` = yes; then
16365 { { echo "$as_me:$LINENO: error: \"Cannot use ${withval} as gjdoc executable since it doesn't exist\"" >&5
16366 echo "$as_me: error: \"Cannot use ${withval} as gjdoc executable since it doesn't exist\"" >&2;}
16367 { (exit 1); exit 1; }; }
16377 if test "x${WITH_GJDOC}" = xyes
; then
16378 CREATE_API_DOCS_TRUE
=
16379 CREATE_API_DOCS_FALSE
='#'
16381 CREATE_API_DOCS_TRUE
='#'
16382 CREATE_API_DOCS_FALSE
=
16389 # Check whether --with-jay or --without-jay was given.
16390 if test "${with_jay+set}" = set; then
16391 withval
="$with_jay"
16393 if test -d "${withval}"; then
16394 JAY_DIR_PATH
="${withval}"
16395 # Extract the first word of "jay", so it can be a program name with args.
16396 set dummy jay
; ac_word
=$2
16397 echo "$as_me:$LINENO: checking for $ac_word" >&5
16398 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
16399 if test "${ac_cv_path_JAY+set}" = set; then
16400 echo $ECHO_N "(cached) $ECHO_C" >&6
16404 ac_cv_path_JAY
="$JAY" # Let the user override the test with a path.
16407 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
16408 for as_dir
in ${JAY_DIR_PATH}
16411 test -z "$as_dir" && as_dir
=.
16412 for ac_exec_ext
in '' $ac_executable_extensions; do
16413 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
16414 ac_cv_path_JAY
="$as_dir/$ac_word$ac_exec_ext"
16415 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
16421 test -z "$ac_cv_path_JAY" && ac_cv_path_JAY
=""no
""
16425 JAY
=$ac_cv_path_JAY
16427 if test -n "$JAY"; then
16428 echo "$as_me:$LINENO: result: $JAY" >&5
16429 echo "${ECHO_T}$JAY" >&6
16431 echo "$as_me:$LINENO: result: no" >&5
16432 echo "${ECHO_T}no" >&6
16435 if test "x${JAY}" = xno
; then
16436 { { echo "$as_me:$LINENO: error: \"jay executable not found\"" >&5
16437 echo "$as_me: error: \"jay executable not found\"" >&2;}
16438 { (exit 1); exit 1; }; };
16441 JAY_DIR_PATH
=`dirname "${withval}"`
16445 JAY_SKELETON
="${JAY_DIR_PATH}/skeleton"
16446 as_ac_File
=`echo "ac_cv_file_${JAY_SKELETON}" | $as_tr_sh`
16447 echo "$as_me:$LINENO: checking for ${JAY_SKELETON}" >&5
16448 echo $ECHO_N "checking for ${JAY_SKELETON}... $ECHO_C" >&6
16449 if eval "test \"\${$as_ac_File+set}\" = set"; then
16450 echo $ECHO_N "(cached) $ECHO_C" >&6
16452 test "$cross_compiling" = yes &&
16453 { { echo "$as_me:$LINENO: error: cannot check for file existence when cross compiling" >&5
16454 echo "$as_me: error: cannot check for file existence when cross compiling" >&2;}
16455 { (exit 1); exit 1; }; }
16456 if test -r "${JAY_SKELETON}"; then
16457 eval "$as_ac_File=yes"
16459 eval "$as_ac_File=no"
16462 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_File'}'`" >&5
16463 echo "${ECHO_T}`eval echo '${'$as_ac_File'}'`" >&6
16464 if test `eval echo '${'$as_ac_File'}'` = yes; then
16467 { { echo "$as_me:$LINENO: error: \"Expected skeleton file in \`dirname ${withval}\`\"" >&5
16468 echo "$as_me: error: \"Expected skeleton file in \`dirname ${withval}\`\"" >&2;}
16469 { (exit 1); exit 1; }; }
16481 if test "x${JAY_FOUND}" = xyes
; then
16482 REGEN_PARSERS_TRUE
=
16483 REGEN_PARSERS_FALSE
='#'
16485 REGEN_PARSERS_TRUE
='#'
16486 REGEN_PARSERS_FALSE
=
16491 # Check whether --enable-portable-native-sync or --disable-portable-native-sync was given.
16492 if test "${enable_portable_native_sync+set}" = set; then
16493 enableval
="$enable_portable_native_sync"
16494 case "${enableval}" in
16497 cat >>confdefs.h
<<\_ACEOF
16498 #define PORTABLE_NATIVE_SYNC 1
16504 { { echo "$as_me:$LINENO: error: bad value ${enableval} for --enable-portable-native-sync" >&5
16505 echo "$as_me: error: bad value ${enableval} for --enable-portable-native-sync" >&2;}
16506 { (exit 1); exit 1; }; }
16511 # ------ AX CREATE STDINT H -------------------------------------
16512 echo "$as_me:$LINENO: checking for stdint types" >&5
16513 echo $ECHO_N "checking for stdint types... $ECHO_C" >&6
16514 ac_stdint_h
=`echo include/config-int.h`
16515 # try to shortcircuit - if the default include path of the compiler
16516 # can find a "stdint.h" header then we assume that all compilers can.
16517 if test "${ac_cv_header_stdint_t+set}" = set; then
16518 echo $ECHO_N "(cached) $ECHO_C" >&6
16521 old_CXXFLAGS
="$CXXFLAGS" ; CXXFLAGS
=""
16522 old_CPPFLAGS
="$CPPFLAGS" ; CPPFLAGS
=""
16523 old_CFLAGS
="$CFLAGS" ; CFLAGS
=""
16524 cat >conftest.
$ac_ext <<_ACEOF
16527 cat confdefs.h
>>conftest.
$ac_ext
16528 cat >>conftest.
$ac_ext <<_ACEOF
16529 /* end confdefs.h. */
16530 #include <stdint.h>
16534 int_least32_t v = 0;
16539 rm -f conftest.
$ac_objext
16540 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16541 (eval $ac_compile) 2>conftest.er1
16543 grep -v '^ *+' conftest.er1
>conftest.err
16545 cat conftest.err
>&5
16546 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16547 (exit $ac_status); } &&
16548 { ac_try
='test -z "$ac_c_werror_flag"
16549 || test ! -s conftest.err'
16550 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16551 (eval $ac_try) 2>&5
16553 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16554 (exit $ac_status); }; } &&
16555 { ac_try
='test -s conftest.$ac_objext'
16556 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16557 (eval $ac_try) 2>&5
16559 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16560 (exit $ac_status); }; }; then
16561 ac_cv_stdint_result
="(assuming C99 compatible system)"
16562 ac_cv_header_stdint_t
="stdint.h";
16564 echo "$as_me: failed program was:" >&5
16565 sed 's/^/| /' conftest.
$ac_ext >&5
16567 ac_cv_header_stdint_t
=""
16569 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
16570 CXXFLAGS
="$old_CXXFLAGS"
16571 CPPFLAGS
="$old_CPPFLAGS"
16572 CFLAGS
="$old_CFLAGS"
16576 v
="... $ac_cv_header_stdint_h"
16577 if test "$ac_stdint_h" = "stdint.h" ; then
16578 echo "$as_me:$LINENO: result: (are you sure you want them in ./stdint.h?)" >&5
16579 echo "${ECHO_T}(are you sure you want them in ./stdint.h?)" >&6
16580 elif test "$ac_stdint_h" = "inttypes.h" ; then
16581 echo "$as_me:$LINENO: result: (are you sure you want them in ./inttypes.h?)" >&5
16582 echo "${ECHO_T}(are you sure you want them in ./inttypes.h?)" >&6
16583 elif test "_$ac_cv_header_stdint_t" = "_" ; then
16584 echo "$as_me:$LINENO: result: (putting them into $ac_stdint_h)$v" >&5
16585 echo "${ECHO_T}(putting them into $ac_stdint_h)$v" >&6
16587 ac_cv_header_stdint
="$ac_cv_header_stdint_t"
16588 echo "$as_me:$LINENO: result: $ac_cv_header_stdint (shortcircuit)" >&5
16589 echo "${ECHO_T}$ac_cv_header_stdint (shortcircuit)" >&6
16592 if test "_$ac_cv_header_stdint_t" = "_" ; then # can not shortcircuit..
16595 inttype_headers
=`echo | sed -e 's/,/ /g'`
16597 ac_cv_stdint_result
="(no helpful system typedefs seen)"
16599 echo "$as_me:$LINENO: checking for stdint uintptr_t" >&5
16600 echo $ECHO_N "checking for stdint uintptr_t... $ECHO_C" >&6
16601 if test "${ac_cv_header_stdint_x+set}" = set; then
16602 echo $ECHO_N "(cached) $ECHO_C" >&6
16605 ac_cv_header_stdint_x
="" # the 1997 typedefs (inttypes.h)
16606 echo "$as_me:$LINENO: result: (..)" >&5
16607 echo "${ECHO_T}(..)" >&6
16608 for i
in stdint.h inttypes.h sys
/inttypes.h
$inttype_headers ; do
16609 unset ac_cv_type_uintptr_t
16610 unset ac_cv_type_uint64_t
16611 echo "$as_me:$LINENO: checking for uintptr_t" >&5
16612 echo $ECHO_N "checking for uintptr_t... $ECHO_C" >&6
16613 if test "${ac_cv_type_uintptr_t+set}" = set; then
16614 echo $ECHO_N "(cached) $ECHO_C" >&6
16616 cat >conftest.
$ac_ext <<_ACEOF
16619 cat confdefs.h
>>conftest.
$ac_ext
16620 cat >>conftest.
$ac_ext <<_ACEOF
16621 /* end confdefs.h. */
16627 if ((uintptr_t *) 0)
16629 if (sizeof (uintptr_t))
16635 rm -f conftest.
$ac_objext
16636 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16637 (eval $ac_compile) 2>conftest.er1
16639 grep -v '^ *+' conftest.er1
>conftest.err
16641 cat conftest.err
>&5
16642 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16643 (exit $ac_status); } &&
16644 { ac_try
='test -z "$ac_c_werror_flag"
16645 || test ! -s conftest.err'
16646 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16647 (eval $ac_try) 2>&5
16649 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16650 (exit $ac_status); }; } &&
16651 { ac_try
='test -s conftest.$ac_objext'
16652 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16653 (eval $ac_try) 2>&5
16655 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16656 (exit $ac_status); }; }; then
16657 ac_cv_type_uintptr_t
=yes
16659 echo "$as_me: failed program was:" >&5
16660 sed 's/^/| /' conftest.
$ac_ext >&5
16662 ac_cv_type_uintptr_t
=no
16664 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
16666 echo "$as_me:$LINENO: result: $ac_cv_type_uintptr_t" >&5
16667 echo "${ECHO_T}$ac_cv_type_uintptr_t" >&6
16668 if test $ac_cv_type_uintptr_t = yes; then
16669 ac_cv_header_stdint_x
=$i
16674 echo "$as_me:$LINENO: checking for uint64_t" >&5
16675 echo $ECHO_N "checking for uint64_t... $ECHO_C" >&6
16676 if test "${ac_cv_type_uint64_t+set}" = set; then
16677 echo $ECHO_N "(cached) $ECHO_C" >&6
16679 cat >conftest.
$ac_ext <<_ACEOF
16682 cat confdefs.h
>>conftest.
$ac_ext
16683 cat >>conftest.
$ac_ext <<_ACEOF
16684 /* end confdefs.h. */
16690 if ((uint64_t *) 0)
16692 if (sizeof (uint64_t))
16698 rm -f conftest.
$ac_objext
16699 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16700 (eval $ac_compile) 2>conftest.er1
16702 grep -v '^ *+' conftest.er1
>conftest.err
16704 cat conftest.err
>&5
16705 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16706 (exit $ac_status); } &&
16707 { ac_try
='test -z "$ac_c_werror_flag"
16708 || test ! -s conftest.err'
16709 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16710 (eval $ac_try) 2>&5
16712 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16713 (exit $ac_status); }; } &&
16714 { ac_try
='test -s conftest.$ac_objext'
16715 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16716 (eval $ac_try) 2>&5
16718 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16719 (exit $ac_status); }; }; then
16720 ac_cv_type_uint64_t
=yes
16722 echo "$as_me: failed program was:" >&5
16723 sed 's/^/| /' conftest.
$ac_ext >&5
16725 ac_cv_type_uint64_t
=no
16727 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
16729 echo "$as_me:$LINENO: result: $ac_cv_type_uint64_t" >&5
16730 echo "${ECHO_T}$ac_cv_type_uint64_t" >&6
16731 if test $ac_cv_type_uint64_t = yes; then
16737 stdint.h inttypes.h sys
/inttypes.h
$inttype_headers
16740 echo "$as_me:$LINENO: checking for stdint uintptr_t" >&5
16741 echo $ECHO_N "checking for stdint uintptr_t... $ECHO_C" >&6
16744 echo "$as_me:$LINENO: result: $ac_cv_header_stdint_x" >&5
16745 echo "${ECHO_T}$ac_cv_header_stdint_x" >&6
16748 if test "_$ac_cv_header_stdint_x" = "_" ; then
16750 echo "$as_me:$LINENO: checking for stdint uint32_t" >&5
16751 echo $ECHO_N "checking for stdint uint32_t... $ECHO_C" >&6
16752 if test "${ac_cv_header_stdint_o+set}" = set; then
16753 echo $ECHO_N "(cached) $ECHO_C" >&6
16756 ac_cv_header_stdint_o
="" # the 1995 typedefs (sys/inttypes.h)
16757 echo "$as_me:$LINENO: result: (..)" >&5
16758 echo "${ECHO_T}(..)" >&6
16759 for i
in inttypes.h sys
/inttypes.h stdint.h
$inttype_headers ; do
16760 unset ac_cv_type_uint32_t
16761 unset ac_cv_type_uint64_t
16762 echo "$as_me:$LINENO: checking for uint32_t" >&5
16763 echo $ECHO_N "checking for uint32_t... $ECHO_C" >&6
16764 if test "${ac_cv_type_uint32_t+set}" = set; then
16765 echo $ECHO_N "(cached) $ECHO_C" >&6
16767 cat >conftest.
$ac_ext <<_ACEOF
16770 cat confdefs.h
>>conftest.
$ac_ext
16771 cat >>conftest.
$ac_ext <<_ACEOF
16772 /* end confdefs.h. */
16778 if ((uint32_t *) 0)
16780 if (sizeof (uint32_t))
16786 rm -f conftest.
$ac_objext
16787 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16788 (eval $ac_compile) 2>conftest.er1
16790 grep -v '^ *+' conftest.er1
>conftest.err
16792 cat conftest.err
>&5
16793 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16794 (exit $ac_status); } &&
16795 { ac_try
='test -z "$ac_c_werror_flag"
16796 || test ! -s conftest.err'
16797 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16798 (eval $ac_try) 2>&5
16800 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16801 (exit $ac_status); }; } &&
16802 { ac_try
='test -s conftest.$ac_objext'
16803 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16804 (eval $ac_try) 2>&5
16806 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16807 (exit $ac_status); }; }; then
16808 ac_cv_type_uint32_t
=yes
16810 echo "$as_me: failed program was:" >&5
16811 sed 's/^/| /' conftest.
$ac_ext >&5
16813 ac_cv_type_uint32_t
=no
16815 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
16817 echo "$as_me:$LINENO: result: $ac_cv_type_uint32_t" >&5
16818 echo "${ECHO_T}$ac_cv_type_uint32_t" >&6
16819 if test $ac_cv_type_uint32_t = yes; then
16820 ac_cv_header_stdint_o
=$i
16825 echo "$as_me:$LINENO: checking for uint64_t" >&5
16826 echo $ECHO_N "checking for uint64_t... $ECHO_C" >&6
16827 if test "${ac_cv_type_uint64_t+set}" = set; then
16828 echo $ECHO_N "(cached) $ECHO_C" >&6
16830 cat >conftest.
$ac_ext <<_ACEOF
16833 cat confdefs.h
>>conftest.
$ac_ext
16834 cat >>conftest.
$ac_ext <<_ACEOF
16835 /* end confdefs.h. */
16841 if ((uint64_t *) 0)
16843 if (sizeof (uint64_t))
16849 rm -f conftest.
$ac_objext
16850 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16851 (eval $ac_compile) 2>conftest.er1
16853 grep -v '^ *+' conftest.er1
>conftest.err
16855 cat conftest.err
>&5
16856 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16857 (exit $ac_status); } &&
16858 { ac_try
='test -z "$ac_c_werror_flag"
16859 || test ! -s conftest.err'
16860 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16861 (eval $ac_try) 2>&5
16863 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16864 (exit $ac_status); }; } &&
16865 { ac_try
='test -s conftest.$ac_objext'
16866 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16867 (eval $ac_try) 2>&5
16869 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16870 (exit $ac_status); }; }; then
16871 ac_cv_type_uint64_t
=yes
16873 echo "$as_me: failed program was:" >&5
16874 sed 's/^/| /' conftest.
$ac_ext >&5
16876 ac_cv_type_uint64_t
=no
16878 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
16880 echo "$as_me:$LINENO: result: $ac_cv_type_uint64_t" >&5
16881 echo "${ECHO_T}$ac_cv_type_uint64_t" >&6
16882 if test $ac_cv_type_uint64_t = yes; then
16888 inttypes.h sys
/inttypes.h stdint.h
$inttype_headers
16892 echo "$as_me:$LINENO: checking for stdint uint32_t" >&5
16893 echo $ECHO_N "checking for stdint uint32_t... $ECHO_C" >&6
16896 echo "$as_me:$LINENO: result: $ac_cv_header_stdint_o" >&5
16897 echo "${ECHO_T}$ac_cv_header_stdint_o" >&6
16901 if test "_$ac_cv_header_stdint_x" = "_" ; then
16902 if test "_$ac_cv_header_stdint_o" = "_" ; then
16904 echo "$as_me:$LINENO: checking for stdint u_int32_t" >&5
16905 echo $ECHO_N "checking for stdint u_int32_t... $ECHO_C" >&6
16906 if test "${ac_cv_header_stdint_u+set}" = set; then
16907 echo $ECHO_N "(cached) $ECHO_C" >&6
16910 ac_cv_header_stdint_u
="" # the BSD typedefs (sys/types.h)
16911 echo "$as_me:$LINENO: result: (..)" >&5
16912 echo "${ECHO_T}(..)" >&6
16913 for i
in sys
/types.h inttypes.h sys
/inttypes.h
$inttype_headers ; do
16914 unset ac_cv_type_u_int32_t
16915 unset ac_cv_type_u_int64_t
16916 echo "$as_me:$LINENO: checking for u_int32_t" >&5
16917 echo $ECHO_N "checking for u_int32_t... $ECHO_C" >&6
16918 if test "${ac_cv_type_u_int32_t+set}" = set; then
16919 echo $ECHO_N "(cached) $ECHO_C" >&6
16921 cat >conftest.
$ac_ext <<_ACEOF
16924 cat confdefs.h
>>conftest.
$ac_ext
16925 cat >>conftest.
$ac_ext <<_ACEOF
16926 /* end confdefs.h. */
16932 if ((u_int32_t *) 0)
16934 if (sizeof (u_int32_t))
16940 rm -f conftest.
$ac_objext
16941 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16942 (eval $ac_compile) 2>conftest.er1
16944 grep -v '^ *+' conftest.er1
>conftest.err
16946 cat conftest.err
>&5
16947 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16948 (exit $ac_status); } &&
16949 { ac_try
='test -z "$ac_c_werror_flag"
16950 || test ! -s conftest.err'
16951 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16952 (eval $ac_try) 2>&5
16954 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16955 (exit $ac_status); }; } &&
16956 { ac_try
='test -s conftest.$ac_objext'
16957 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16958 (eval $ac_try) 2>&5
16960 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16961 (exit $ac_status); }; }; then
16962 ac_cv_type_u_int32_t
=yes
16964 echo "$as_me: failed program was:" >&5
16965 sed 's/^/| /' conftest.
$ac_ext >&5
16967 ac_cv_type_u_int32_t
=no
16969 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
16971 echo "$as_me:$LINENO: result: $ac_cv_type_u_int32_t" >&5
16972 echo "${ECHO_T}$ac_cv_type_u_int32_t" >&6
16973 if test $ac_cv_type_u_int32_t = yes; then
16974 ac_cv_header_stdint_u
=$i
16979 echo "$as_me:$LINENO: checking for u_int64_t" >&5
16980 echo $ECHO_N "checking for u_int64_t... $ECHO_C" >&6
16981 if test "${ac_cv_type_u_int64_t+set}" = set; then
16982 echo $ECHO_N "(cached) $ECHO_C" >&6
16984 cat >conftest.
$ac_ext <<_ACEOF
16987 cat confdefs.h
>>conftest.
$ac_ext
16988 cat >>conftest.
$ac_ext <<_ACEOF
16989 /* end confdefs.h. */
16995 if ((u_int64_t *) 0)
16997 if (sizeof (u_int64_t))
17003 rm -f conftest.
$ac_objext
17004 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17005 (eval $ac_compile) 2>conftest.er1
17007 grep -v '^ *+' conftest.er1
>conftest.err
17009 cat conftest.err
>&5
17010 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17011 (exit $ac_status); } &&
17012 { ac_try
='test -z "$ac_c_werror_flag"
17013 || test ! -s conftest.err'
17014 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17015 (eval $ac_try) 2>&5
17017 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17018 (exit $ac_status); }; } &&
17019 { ac_try
='test -s conftest.$ac_objext'
17020 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17021 (eval $ac_try) 2>&5
17023 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17024 (exit $ac_status); }; }; then
17025 ac_cv_type_u_int64_t
=yes
17027 echo "$as_me: failed program was:" >&5
17028 sed 's/^/| /' conftest.
$ac_ext >&5
17030 ac_cv_type_u_int64_t
=no
17032 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
17034 echo "$as_me:$LINENO: result: $ac_cv_type_u_int64_t" >&5
17035 echo "${ECHO_T}$ac_cv_type_u_int64_t" >&6
17036 if test $ac_cv_type_u_int64_t = yes; then
17042 sys
/types.h inttypes.h sys
/inttypes.h
$inttype_headers
17046 echo "$as_me:$LINENO: checking for stdint u_int32_t" >&5
17047 echo $ECHO_N "checking for stdint u_int32_t... $ECHO_C" >&6
17050 echo "$as_me:$LINENO: result: $ac_cv_header_stdint_u" >&5
17051 echo "${ECHO_T}$ac_cv_header_stdint_u" >&6
17055 if test "_$ac_cv_header_stdint_x" = "_" ; then
17056 echo "$as_me:$LINENO: checking for stdint datatype model" >&5
17057 echo $ECHO_N "checking for stdint datatype model... $ECHO_C" >&6
17058 echo "$as_me:$LINENO: result: (..)" >&5
17059 echo "${ECHO_T}(..)" >&6
17061 echo "$as_me:$LINENO: checking for char" >&5
17062 echo $ECHO_N "checking for char... $ECHO_C" >&6
17063 if test "${ac_cv_type_char+set}" = set; then
17064 echo $ECHO_N "(cached) $ECHO_C" >&6
17066 cat >conftest.
$ac_ext <<_ACEOF
17069 cat confdefs.h
>>conftest.
$ac_ext
17070 cat >>conftest.
$ac_ext <<_ACEOF
17071 /* end confdefs.h. */
17072 $ac_includes_default
17084 rm -f conftest.
$ac_objext
17085 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17086 (eval $ac_compile) 2>conftest.er1
17088 grep -v '^ *+' conftest.er1
>conftest.err
17090 cat conftest.err
>&5
17091 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17092 (exit $ac_status); } &&
17093 { ac_try
='test -z "$ac_c_werror_flag"
17094 || test ! -s conftest.err'
17095 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17096 (eval $ac_try) 2>&5
17098 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17099 (exit $ac_status); }; } &&
17100 { ac_try
='test -s conftest.$ac_objext'
17101 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17102 (eval $ac_try) 2>&5
17104 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17105 (exit $ac_status); }; }; then
17106 ac_cv_type_char
=yes
17108 echo "$as_me: failed program was:" >&5
17109 sed 's/^/| /' conftest.
$ac_ext >&5
17113 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
17115 echo "$as_me:$LINENO: result: $ac_cv_type_char" >&5
17116 echo "${ECHO_T}$ac_cv_type_char" >&6
17118 echo "$as_me:$LINENO: checking size of char" >&5
17119 echo $ECHO_N "checking size of char... $ECHO_C" >&6
17120 if test "${ac_cv_sizeof_char+set}" = set; then
17121 echo $ECHO_N "(cached) $ECHO_C" >&6
17123 if test "$ac_cv_type_char" = yes; then
17124 # The cast to unsigned long works around a bug in the HP C Compiler
17125 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
17126 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
17127 # This bug is HP SR number 8606223364.
17128 if test "$cross_compiling" = yes; then
17129 # Depending upon the size, compute the lo and hi bounds.
17130 cat >conftest.
$ac_ext <<_ACEOF
17133 cat confdefs.h
>>conftest.
$ac_ext
17134 cat >>conftest.
$ac_ext <<_ACEOF
17135 /* end confdefs.h. */
17136 $ac_includes_default
17140 static int test_array [1 - 2 * !(((long) (sizeof (char))) >= 0)];
17147 rm -f conftest.
$ac_objext
17148 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17149 (eval $ac_compile) 2>conftest.er1
17151 grep -v '^ *+' conftest.er1
>conftest.err
17153 cat conftest.err
>&5
17154 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17155 (exit $ac_status); } &&
17156 { ac_try
='test -z "$ac_c_werror_flag"
17157 || test ! -s conftest.err'
17158 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17159 (eval $ac_try) 2>&5
17161 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17162 (exit $ac_status); }; } &&
17163 { ac_try
='test -s conftest.$ac_objext'
17164 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17165 (eval $ac_try) 2>&5
17167 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17168 (exit $ac_status); }; }; then
17171 cat >conftest.
$ac_ext <<_ACEOF
17174 cat confdefs.h
>>conftest.
$ac_ext
17175 cat >>conftest.
$ac_ext <<_ACEOF
17176 /* end confdefs.h. */
17177 $ac_includes_default
17181 static int test_array [1 - 2 * !(((long) (sizeof (char))) <= $ac_mid)];
17188 rm -f conftest.
$ac_objext
17189 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17190 (eval $ac_compile) 2>conftest.er1
17192 grep -v '^ *+' conftest.er1
>conftest.err
17194 cat conftest.err
>&5
17195 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17196 (exit $ac_status); } &&
17197 { ac_try
='test -z "$ac_c_werror_flag"
17198 || test ! -s conftest.err'
17199 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17200 (eval $ac_try) 2>&5
17202 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17203 (exit $ac_status); }; } &&
17204 { ac_try
='test -s conftest.$ac_objext'
17205 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17206 (eval $ac_try) 2>&5
17208 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17209 (exit $ac_status); }; }; then
17210 ac_hi
=$ac_mid; break
17212 echo "$as_me: failed program was:" >&5
17213 sed 's/^/| /' conftest.
$ac_ext >&5
17215 ac_lo
=`expr $ac_mid + 1`
17216 if test $ac_lo -le $ac_mid; then
17220 ac_mid
=`expr 2 '*' $ac_mid + 1`
17222 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
17225 echo "$as_me: failed program was:" >&5
17226 sed 's/^/| /' conftest.
$ac_ext >&5
17228 cat >conftest.
$ac_ext <<_ACEOF
17231 cat confdefs.h
>>conftest.
$ac_ext
17232 cat >>conftest.
$ac_ext <<_ACEOF
17233 /* end confdefs.h. */
17234 $ac_includes_default
17238 static int test_array [1 - 2 * !(((long) (sizeof (char))) < 0)];
17245 rm -f conftest.
$ac_objext
17246 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17247 (eval $ac_compile) 2>conftest.er1
17249 grep -v '^ *+' conftest.er1
>conftest.err
17251 cat conftest.err
>&5
17252 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17253 (exit $ac_status); } &&
17254 { ac_try
='test -z "$ac_c_werror_flag"
17255 || test ! -s conftest.err'
17256 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17257 (eval $ac_try) 2>&5
17259 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17260 (exit $ac_status); }; } &&
17261 { ac_try
='test -s conftest.$ac_objext'
17262 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17263 (eval $ac_try) 2>&5
17265 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17266 (exit $ac_status); }; }; then
17269 cat >conftest.
$ac_ext <<_ACEOF
17272 cat confdefs.h
>>conftest.
$ac_ext
17273 cat >>conftest.
$ac_ext <<_ACEOF
17274 /* end confdefs.h. */
17275 $ac_includes_default
17279 static int test_array [1 - 2 * !(((long) (sizeof (char))) >= $ac_mid)];
17286 rm -f conftest.
$ac_objext
17287 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17288 (eval $ac_compile) 2>conftest.er1
17290 grep -v '^ *+' conftest.er1
>conftest.err
17292 cat conftest.err
>&5
17293 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17294 (exit $ac_status); } &&
17295 { ac_try
='test -z "$ac_c_werror_flag"
17296 || test ! -s conftest.err'
17297 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17298 (eval $ac_try) 2>&5
17300 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17301 (exit $ac_status); }; } &&
17302 { ac_try
='test -s conftest.$ac_objext'
17303 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17304 (eval $ac_try) 2>&5
17306 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17307 (exit $ac_status); }; }; then
17308 ac_lo
=$ac_mid; break
17310 echo "$as_me: failed program was:" >&5
17311 sed 's/^/| /' conftest.
$ac_ext >&5
17313 ac_hi
=`expr '(' $ac_mid ')' - 1`
17314 if test $ac_mid -le $ac_hi; then
17318 ac_mid
=`expr 2 '*' $ac_mid`
17320 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
17323 echo "$as_me: failed program was:" >&5
17324 sed 's/^/| /' conftest.
$ac_ext >&5
17328 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
17330 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
17331 # Binary search between lo and hi bounds.
17332 while test "x$ac_lo" != "x$ac_hi"; do
17333 ac_mid
=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
17334 cat >conftest.
$ac_ext <<_ACEOF
17337 cat confdefs.h
>>conftest.
$ac_ext
17338 cat >>conftest.
$ac_ext <<_ACEOF
17339 /* end confdefs.h. */
17340 $ac_includes_default
17344 static int test_array [1 - 2 * !(((long) (sizeof (char))) <= $ac_mid)];
17351 rm -f conftest.
$ac_objext
17352 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17353 (eval $ac_compile) 2>conftest.er1
17355 grep -v '^ *+' conftest.er1
>conftest.err
17357 cat conftest.err
>&5
17358 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17359 (exit $ac_status); } &&
17360 { ac_try
='test -z "$ac_c_werror_flag"
17361 || test ! -s conftest.err'
17362 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17363 (eval $ac_try) 2>&5
17365 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17366 (exit $ac_status); }; } &&
17367 { ac_try
='test -s conftest.$ac_objext'
17368 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17369 (eval $ac_try) 2>&5
17371 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17372 (exit $ac_status); }; }; then
17375 echo "$as_me: failed program was:" >&5
17376 sed 's/^/| /' conftest.
$ac_ext >&5
17378 ac_lo
=`expr '(' $ac_mid ')' + 1`
17380 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
17383 ?
*) ac_cv_sizeof_char
=$ac_lo;;
17384 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (char), 77
17385 See \`config.log' for more details." >&5
17386 echo "$as_me: error: cannot compute sizeof (char), 77
17387 See \`config.log' for more details." >&2;}
17388 { (exit 1); exit 1; }; } ;;
17391 if test "$cross_compiling" = yes; then
17392 { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
17393 See \`config.log' for more details." >&5
17394 echo "$as_me: error: cannot run test program while cross compiling
17395 See \`config.log' for more details." >&2;}
17396 { (exit 1); exit 1; }; }
17398 cat >conftest.
$ac_ext <<_ACEOF
17401 cat confdefs.h
>>conftest.
$ac_ext
17402 cat >>conftest.
$ac_ext <<_ACEOF
17403 /* end confdefs.h. */
17404 $ac_includes_default
17405 long longval () { return (long) (sizeof (char)); }
17406 unsigned long ulongval () { return (long) (sizeof (char)); }
17408 #include <stdlib.h>
17413 FILE *f = fopen ("conftest.val", "w");
17416 if (((long) (sizeof (char))) < 0)
17418 long i = longval ();
17419 if (i != ((long) (sizeof (char))))
17421 fprintf (f, "%ld\n", i);
17425 unsigned long i = ulongval ();
17426 if (i != ((long) (sizeof (char))))
17428 fprintf (f, "%lu\n", i);
17430 exit (ferror (f) || fclose (f) != 0);
17436 rm -f conftest
$ac_exeext
17437 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
17438 (eval $ac_link) 2>&5
17440 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17441 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
17442 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17443 (eval $ac_try) 2>&5
17445 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17446 (exit $ac_status); }; }; then
17447 ac_cv_sizeof_char
=`cat conftest.val`
17449 echo "$as_me: program exited with status $ac_status" >&5
17450 echo "$as_me: failed program was:" >&5
17451 sed 's/^/| /' conftest.
$ac_ext >&5
17453 ( exit $ac_status )
17454 { { echo "$as_me:$LINENO: error: cannot compute sizeof (char), 77
17455 See \`config.log' for more details." >&5
17456 echo "$as_me: error: cannot compute sizeof (char), 77
17457 See \`config.log' for more details." >&2;}
17458 { (exit 1); exit 1; }; }
17460 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
17465 ac_cv_sizeof_char
=0
17468 echo "$as_me:$LINENO: result: $ac_cv_sizeof_char" >&5
17469 echo "${ECHO_T}$ac_cv_sizeof_char" >&6
17470 cat >>confdefs.h
<<_ACEOF
17471 #define SIZEOF_CHAR $ac_cv_sizeof_char
17475 echo "$as_me:$LINENO: checking for short" >&5
17476 echo $ECHO_N "checking for short... $ECHO_C" >&6
17477 if test "${ac_cv_type_short+set}" = set; then
17478 echo $ECHO_N "(cached) $ECHO_C" >&6
17480 cat >conftest.
$ac_ext <<_ACEOF
17483 cat confdefs.h
>>conftest.
$ac_ext
17484 cat >>conftest.
$ac_ext <<_ACEOF
17485 /* end confdefs.h. */
17486 $ac_includes_default
17492 if (sizeof (short))
17498 rm -f conftest.
$ac_objext
17499 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17500 (eval $ac_compile) 2>conftest.er1
17502 grep -v '^ *+' conftest.er1
>conftest.err
17504 cat conftest.err
>&5
17505 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17506 (exit $ac_status); } &&
17507 { ac_try
='test -z "$ac_c_werror_flag"
17508 || test ! -s conftest.err'
17509 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17510 (eval $ac_try) 2>&5
17512 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17513 (exit $ac_status); }; } &&
17514 { ac_try
='test -s conftest.$ac_objext'
17515 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17516 (eval $ac_try) 2>&5
17518 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17519 (exit $ac_status); }; }; then
17520 ac_cv_type_short
=yes
17522 echo "$as_me: failed program was:" >&5
17523 sed 's/^/| /' conftest.
$ac_ext >&5
17525 ac_cv_type_short
=no
17527 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
17529 echo "$as_me:$LINENO: result: $ac_cv_type_short" >&5
17530 echo "${ECHO_T}$ac_cv_type_short" >&6
17532 echo "$as_me:$LINENO: checking size of short" >&5
17533 echo $ECHO_N "checking size of short... $ECHO_C" >&6
17534 if test "${ac_cv_sizeof_short+set}" = set; then
17535 echo $ECHO_N "(cached) $ECHO_C" >&6
17537 if test "$ac_cv_type_short" = yes; then
17538 # The cast to unsigned long works around a bug in the HP C Compiler
17539 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
17540 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
17541 # This bug is HP SR number 8606223364.
17542 if test "$cross_compiling" = yes; then
17543 # Depending upon the size, compute the lo and hi bounds.
17544 cat >conftest.
$ac_ext <<_ACEOF
17547 cat confdefs.h
>>conftest.
$ac_ext
17548 cat >>conftest.
$ac_ext <<_ACEOF
17549 /* end confdefs.h. */
17550 $ac_includes_default
17554 static int test_array [1 - 2 * !(((long) (sizeof (short))) >= 0)];
17561 rm -f conftest.
$ac_objext
17562 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17563 (eval $ac_compile) 2>conftest.er1
17565 grep -v '^ *+' conftest.er1
>conftest.err
17567 cat conftest.err
>&5
17568 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17569 (exit $ac_status); } &&
17570 { ac_try
='test -z "$ac_c_werror_flag"
17571 || test ! -s conftest.err'
17572 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17573 (eval $ac_try) 2>&5
17575 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17576 (exit $ac_status); }; } &&
17577 { ac_try
='test -s conftest.$ac_objext'
17578 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17579 (eval $ac_try) 2>&5
17581 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17582 (exit $ac_status); }; }; then
17585 cat >conftest.
$ac_ext <<_ACEOF
17588 cat confdefs.h
>>conftest.
$ac_ext
17589 cat >>conftest.
$ac_ext <<_ACEOF
17590 /* end confdefs.h. */
17591 $ac_includes_default
17595 static int test_array [1 - 2 * !(((long) (sizeof (short))) <= $ac_mid)];
17602 rm -f conftest.
$ac_objext
17603 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17604 (eval $ac_compile) 2>conftest.er1
17606 grep -v '^ *+' conftest.er1
>conftest.err
17608 cat conftest.err
>&5
17609 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17610 (exit $ac_status); } &&
17611 { ac_try
='test -z "$ac_c_werror_flag"
17612 || test ! -s conftest.err'
17613 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17614 (eval $ac_try) 2>&5
17616 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17617 (exit $ac_status); }; } &&
17618 { ac_try
='test -s conftest.$ac_objext'
17619 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17620 (eval $ac_try) 2>&5
17622 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17623 (exit $ac_status); }; }; then
17624 ac_hi
=$ac_mid; break
17626 echo "$as_me: failed program was:" >&5
17627 sed 's/^/| /' conftest.
$ac_ext >&5
17629 ac_lo
=`expr $ac_mid + 1`
17630 if test $ac_lo -le $ac_mid; then
17634 ac_mid
=`expr 2 '*' $ac_mid + 1`
17636 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
17639 echo "$as_me: failed program was:" >&5
17640 sed 's/^/| /' conftest.
$ac_ext >&5
17642 cat >conftest.
$ac_ext <<_ACEOF
17645 cat confdefs.h
>>conftest.
$ac_ext
17646 cat >>conftest.
$ac_ext <<_ACEOF
17647 /* end confdefs.h. */
17648 $ac_includes_default
17652 static int test_array [1 - 2 * !(((long) (sizeof (short))) < 0)];
17659 rm -f conftest.
$ac_objext
17660 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17661 (eval $ac_compile) 2>conftest.er1
17663 grep -v '^ *+' conftest.er1
>conftest.err
17665 cat conftest.err
>&5
17666 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17667 (exit $ac_status); } &&
17668 { ac_try
='test -z "$ac_c_werror_flag"
17669 || test ! -s conftest.err'
17670 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17671 (eval $ac_try) 2>&5
17673 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17674 (exit $ac_status); }; } &&
17675 { ac_try
='test -s conftest.$ac_objext'
17676 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17677 (eval $ac_try) 2>&5
17679 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17680 (exit $ac_status); }; }; then
17683 cat >conftest.
$ac_ext <<_ACEOF
17686 cat confdefs.h
>>conftest.
$ac_ext
17687 cat >>conftest.
$ac_ext <<_ACEOF
17688 /* end confdefs.h. */
17689 $ac_includes_default
17693 static int test_array [1 - 2 * !(((long) (sizeof (short))) >= $ac_mid)];
17700 rm -f conftest.
$ac_objext
17701 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17702 (eval $ac_compile) 2>conftest.er1
17704 grep -v '^ *+' conftest.er1
>conftest.err
17706 cat conftest.err
>&5
17707 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17708 (exit $ac_status); } &&
17709 { ac_try
='test -z "$ac_c_werror_flag"
17710 || test ! -s conftest.err'
17711 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17712 (eval $ac_try) 2>&5
17714 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17715 (exit $ac_status); }; } &&
17716 { ac_try
='test -s conftest.$ac_objext'
17717 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17718 (eval $ac_try) 2>&5
17720 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17721 (exit $ac_status); }; }; then
17722 ac_lo
=$ac_mid; break
17724 echo "$as_me: failed program was:" >&5
17725 sed 's/^/| /' conftest.
$ac_ext >&5
17727 ac_hi
=`expr '(' $ac_mid ')' - 1`
17728 if test $ac_mid -le $ac_hi; then
17732 ac_mid
=`expr 2 '*' $ac_mid`
17734 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
17737 echo "$as_me: failed program was:" >&5
17738 sed 's/^/| /' conftest.
$ac_ext >&5
17742 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
17744 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
17745 # Binary search between lo and hi bounds.
17746 while test "x$ac_lo" != "x$ac_hi"; do
17747 ac_mid
=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
17748 cat >conftest.
$ac_ext <<_ACEOF
17751 cat confdefs.h
>>conftest.
$ac_ext
17752 cat >>conftest.
$ac_ext <<_ACEOF
17753 /* end confdefs.h. */
17754 $ac_includes_default
17758 static int test_array [1 - 2 * !(((long) (sizeof (short))) <= $ac_mid)];
17765 rm -f conftest.
$ac_objext
17766 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17767 (eval $ac_compile) 2>conftest.er1
17769 grep -v '^ *+' conftest.er1
>conftest.err
17771 cat conftest.err
>&5
17772 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17773 (exit $ac_status); } &&
17774 { ac_try
='test -z "$ac_c_werror_flag"
17775 || test ! -s conftest.err'
17776 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17777 (eval $ac_try) 2>&5
17779 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17780 (exit $ac_status); }; } &&
17781 { ac_try
='test -s conftest.$ac_objext'
17782 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17783 (eval $ac_try) 2>&5
17785 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17786 (exit $ac_status); }; }; then
17789 echo "$as_me: failed program was:" >&5
17790 sed 's/^/| /' conftest.
$ac_ext >&5
17792 ac_lo
=`expr '(' $ac_mid ')' + 1`
17794 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
17797 ?
*) ac_cv_sizeof_short
=$ac_lo;;
17798 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (short), 77
17799 See \`config.log' for more details." >&5
17800 echo "$as_me: error: cannot compute sizeof (short), 77
17801 See \`config.log' for more details." >&2;}
17802 { (exit 1); exit 1; }; } ;;
17805 if test "$cross_compiling" = yes; then
17806 { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
17807 See \`config.log' for more details." >&5
17808 echo "$as_me: error: cannot run test program while cross compiling
17809 See \`config.log' for more details." >&2;}
17810 { (exit 1); exit 1; }; }
17812 cat >conftest.
$ac_ext <<_ACEOF
17815 cat confdefs.h
>>conftest.
$ac_ext
17816 cat >>conftest.
$ac_ext <<_ACEOF
17817 /* end confdefs.h. */
17818 $ac_includes_default
17819 long longval () { return (long) (sizeof (short)); }
17820 unsigned long ulongval () { return (long) (sizeof (short)); }
17822 #include <stdlib.h>
17827 FILE *f = fopen ("conftest.val", "w");
17830 if (((long) (sizeof (short))) < 0)
17832 long i = longval ();
17833 if (i != ((long) (sizeof (short))))
17835 fprintf (f, "%ld\n", i);
17839 unsigned long i = ulongval ();
17840 if (i != ((long) (sizeof (short))))
17842 fprintf (f, "%lu\n", i);
17844 exit (ferror (f) || fclose (f) != 0);
17850 rm -f conftest
$ac_exeext
17851 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
17852 (eval $ac_link) 2>&5
17854 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17855 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
17856 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17857 (eval $ac_try) 2>&5
17859 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17860 (exit $ac_status); }; }; then
17861 ac_cv_sizeof_short
=`cat conftest.val`
17863 echo "$as_me: program exited with status $ac_status" >&5
17864 echo "$as_me: failed program was:" >&5
17865 sed 's/^/| /' conftest.
$ac_ext >&5
17867 ( exit $ac_status )
17868 { { echo "$as_me:$LINENO: error: cannot compute sizeof (short), 77
17869 See \`config.log' for more details." >&5
17870 echo "$as_me: error: cannot compute sizeof (short), 77
17871 See \`config.log' for more details." >&2;}
17872 { (exit 1); exit 1; }; }
17874 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
17879 ac_cv_sizeof_short
=0
17882 echo "$as_me:$LINENO: result: $ac_cv_sizeof_short" >&5
17883 echo "${ECHO_T}$ac_cv_sizeof_short" >&6
17884 cat >>confdefs.h
<<_ACEOF
17885 #define SIZEOF_SHORT $ac_cv_sizeof_short
17889 echo "$as_me:$LINENO: checking for int" >&5
17890 echo $ECHO_N "checking for int... $ECHO_C" >&6
17891 if test "${ac_cv_type_int+set}" = set; then
17892 echo $ECHO_N "(cached) $ECHO_C" >&6
17894 cat >conftest.
$ac_ext <<_ACEOF
17897 cat confdefs.h
>>conftest.
$ac_ext
17898 cat >>conftest.
$ac_ext <<_ACEOF
17899 /* end confdefs.h. */
17900 $ac_includes_default
17912 rm -f conftest.
$ac_objext
17913 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17914 (eval $ac_compile) 2>conftest.er1
17916 grep -v '^ *+' conftest.er1
>conftest.err
17918 cat conftest.err
>&5
17919 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17920 (exit $ac_status); } &&
17921 { ac_try
='test -z "$ac_c_werror_flag"
17922 || test ! -s conftest.err'
17923 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17924 (eval $ac_try) 2>&5
17926 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17927 (exit $ac_status); }; } &&
17928 { ac_try
='test -s conftest.$ac_objext'
17929 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17930 (eval $ac_try) 2>&5
17932 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17933 (exit $ac_status); }; }; then
17936 echo "$as_me: failed program was:" >&5
17937 sed 's/^/| /' conftest.
$ac_ext >&5
17941 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
17943 echo "$as_me:$LINENO: result: $ac_cv_type_int" >&5
17944 echo "${ECHO_T}$ac_cv_type_int" >&6
17946 echo "$as_me:$LINENO: checking size of int" >&5
17947 echo $ECHO_N "checking size of int... $ECHO_C" >&6
17948 if test "${ac_cv_sizeof_int+set}" = set; then
17949 echo $ECHO_N "(cached) $ECHO_C" >&6
17951 if test "$ac_cv_type_int" = yes; then
17952 # The cast to unsigned long works around a bug in the HP C Compiler
17953 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
17954 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
17955 # This bug is HP SR number 8606223364.
17956 if test "$cross_compiling" = yes; then
17957 # Depending upon the size, compute the lo and hi bounds.
17958 cat >conftest.
$ac_ext <<_ACEOF
17961 cat confdefs.h
>>conftest.
$ac_ext
17962 cat >>conftest.
$ac_ext <<_ACEOF
17963 /* end confdefs.h. */
17964 $ac_includes_default
17968 static int test_array [1 - 2 * !(((long) (sizeof (int))) >= 0)];
17975 rm -f conftest.
$ac_objext
17976 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17977 (eval $ac_compile) 2>conftest.er1
17979 grep -v '^ *+' conftest.er1
>conftest.err
17981 cat conftest.err
>&5
17982 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17983 (exit $ac_status); } &&
17984 { ac_try
='test -z "$ac_c_werror_flag"
17985 || test ! -s conftest.err'
17986 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17987 (eval $ac_try) 2>&5
17989 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17990 (exit $ac_status); }; } &&
17991 { ac_try
='test -s conftest.$ac_objext'
17992 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17993 (eval $ac_try) 2>&5
17995 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17996 (exit $ac_status); }; }; then
17999 cat >conftest.
$ac_ext <<_ACEOF
18002 cat confdefs.h
>>conftest.
$ac_ext
18003 cat >>conftest.
$ac_ext <<_ACEOF
18004 /* end confdefs.h. */
18005 $ac_includes_default
18009 static int test_array [1 - 2 * !(((long) (sizeof (int))) <= $ac_mid)];
18016 rm -f conftest.
$ac_objext
18017 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18018 (eval $ac_compile) 2>conftest.er1
18020 grep -v '^ *+' conftest.er1
>conftest.err
18022 cat conftest.err
>&5
18023 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18024 (exit $ac_status); } &&
18025 { ac_try
='test -z "$ac_c_werror_flag"
18026 || test ! -s conftest.err'
18027 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18028 (eval $ac_try) 2>&5
18030 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18031 (exit $ac_status); }; } &&
18032 { ac_try
='test -s conftest.$ac_objext'
18033 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18034 (eval $ac_try) 2>&5
18036 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18037 (exit $ac_status); }; }; then
18038 ac_hi
=$ac_mid; break
18040 echo "$as_me: failed program was:" >&5
18041 sed 's/^/| /' conftest.
$ac_ext >&5
18043 ac_lo
=`expr $ac_mid + 1`
18044 if test $ac_lo -le $ac_mid; then
18048 ac_mid
=`expr 2 '*' $ac_mid + 1`
18050 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
18053 echo "$as_me: failed program was:" >&5
18054 sed 's/^/| /' conftest.
$ac_ext >&5
18056 cat >conftest.
$ac_ext <<_ACEOF
18059 cat confdefs.h
>>conftest.
$ac_ext
18060 cat >>conftest.
$ac_ext <<_ACEOF
18061 /* end confdefs.h. */
18062 $ac_includes_default
18066 static int test_array [1 - 2 * !(((long) (sizeof (int))) < 0)];
18073 rm -f conftest.
$ac_objext
18074 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18075 (eval $ac_compile) 2>conftest.er1
18077 grep -v '^ *+' conftest.er1
>conftest.err
18079 cat conftest.err
>&5
18080 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18081 (exit $ac_status); } &&
18082 { ac_try
='test -z "$ac_c_werror_flag"
18083 || test ! -s conftest.err'
18084 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18085 (eval $ac_try) 2>&5
18087 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18088 (exit $ac_status); }; } &&
18089 { ac_try
='test -s conftest.$ac_objext'
18090 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18091 (eval $ac_try) 2>&5
18093 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18094 (exit $ac_status); }; }; then
18097 cat >conftest.
$ac_ext <<_ACEOF
18100 cat confdefs.h
>>conftest.
$ac_ext
18101 cat >>conftest.
$ac_ext <<_ACEOF
18102 /* end confdefs.h. */
18103 $ac_includes_default
18107 static int test_array [1 - 2 * !(((long) (sizeof (int))) >= $ac_mid)];
18114 rm -f conftest.
$ac_objext
18115 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18116 (eval $ac_compile) 2>conftest.er1
18118 grep -v '^ *+' conftest.er1
>conftest.err
18120 cat conftest.err
>&5
18121 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18122 (exit $ac_status); } &&
18123 { ac_try
='test -z "$ac_c_werror_flag"
18124 || test ! -s conftest.err'
18125 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18126 (eval $ac_try) 2>&5
18128 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18129 (exit $ac_status); }; } &&
18130 { ac_try
='test -s conftest.$ac_objext'
18131 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18132 (eval $ac_try) 2>&5
18134 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18135 (exit $ac_status); }; }; then
18136 ac_lo
=$ac_mid; break
18138 echo "$as_me: failed program was:" >&5
18139 sed 's/^/| /' conftest.
$ac_ext >&5
18141 ac_hi
=`expr '(' $ac_mid ')' - 1`
18142 if test $ac_mid -le $ac_hi; then
18146 ac_mid
=`expr 2 '*' $ac_mid`
18148 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
18151 echo "$as_me: failed program was:" >&5
18152 sed 's/^/| /' conftest.
$ac_ext >&5
18156 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
18158 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
18159 # Binary search between lo and hi bounds.
18160 while test "x$ac_lo" != "x$ac_hi"; do
18161 ac_mid
=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
18162 cat >conftest.
$ac_ext <<_ACEOF
18165 cat confdefs.h
>>conftest.
$ac_ext
18166 cat >>conftest.
$ac_ext <<_ACEOF
18167 /* end confdefs.h. */
18168 $ac_includes_default
18172 static int test_array [1 - 2 * !(((long) (sizeof (int))) <= $ac_mid)];
18179 rm -f conftest.
$ac_objext
18180 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18181 (eval $ac_compile) 2>conftest.er1
18183 grep -v '^ *+' conftest.er1
>conftest.err
18185 cat conftest.err
>&5
18186 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18187 (exit $ac_status); } &&
18188 { ac_try
='test -z "$ac_c_werror_flag"
18189 || test ! -s conftest.err'
18190 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18191 (eval $ac_try) 2>&5
18193 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18194 (exit $ac_status); }; } &&
18195 { ac_try
='test -s conftest.$ac_objext'
18196 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18197 (eval $ac_try) 2>&5
18199 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18200 (exit $ac_status); }; }; then
18203 echo "$as_me: failed program was:" >&5
18204 sed 's/^/| /' conftest.
$ac_ext >&5
18206 ac_lo
=`expr '(' $ac_mid ')' + 1`
18208 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
18211 ?
*) ac_cv_sizeof_int
=$ac_lo;;
18212 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (int), 77
18213 See \`config.log' for more details." >&5
18214 echo "$as_me: error: cannot compute sizeof (int), 77
18215 See \`config.log' for more details." >&2;}
18216 { (exit 1); exit 1; }; } ;;
18219 if test "$cross_compiling" = yes; then
18220 { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
18221 See \`config.log' for more details." >&5
18222 echo "$as_me: error: cannot run test program while cross compiling
18223 See \`config.log' for more details." >&2;}
18224 { (exit 1); exit 1; }; }
18226 cat >conftest.
$ac_ext <<_ACEOF
18229 cat confdefs.h
>>conftest.
$ac_ext
18230 cat >>conftest.
$ac_ext <<_ACEOF
18231 /* end confdefs.h. */
18232 $ac_includes_default
18233 long longval () { return (long) (sizeof (int)); }
18234 unsigned long ulongval () { return (long) (sizeof (int)); }
18236 #include <stdlib.h>
18241 FILE *f = fopen ("conftest.val", "w");
18244 if (((long) (sizeof (int))) < 0)
18246 long i = longval ();
18247 if (i != ((long) (sizeof (int))))
18249 fprintf (f, "%ld\n", i);
18253 unsigned long i = ulongval ();
18254 if (i != ((long) (sizeof (int))))
18256 fprintf (f, "%lu\n", i);
18258 exit (ferror (f) || fclose (f) != 0);
18264 rm -f conftest
$ac_exeext
18265 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
18266 (eval $ac_link) 2>&5
18268 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18269 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
18270 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18271 (eval $ac_try) 2>&5
18273 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18274 (exit $ac_status); }; }; then
18275 ac_cv_sizeof_int
=`cat conftest.val`
18277 echo "$as_me: program exited with status $ac_status" >&5
18278 echo "$as_me: failed program was:" >&5
18279 sed 's/^/| /' conftest.
$ac_ext >&5
18281 ( exit $ac_status )
18282 { { echo "$as_me:$LINENO: error: cannot compute sizeof (int), 77
18283 See \`config.log' for more details." >&5
18284 echo "$as_me: error: cannot compute sizeof (int), 77
18285 See \`config.log' for more details." >&2;}
18286 { (exit 1); exit 1; }; }
18288 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
18296 echo "$as_me:$LINENO: result: $ac_cv_sizeof_int" >&5
18297 echo "${ECHO_T}$ac_cv_sizeof_int" >&6
18298 cat >>confdefs.h
<<_ACEOF
18299 #define SIZEOF_INT $ac_cv_sizeof_int
18303 echo "$as_me:$LINENO: checking for long" >&5
18304 echo $ECHO_N "checking for long... $ECHO_C" >&6
18305 if test "${ac_cv_type_long+set}" = set; then
18306 echo $ECHO_N "(cached) $ECHO_C" >&6
18308 cat >conftest.
$ac_ext <<_ACEOF
18311 cat confdefs.h
>>conftest.
$ac_ext
18312 cat >>conftest.
$ac_ext <<_ACEOF
18313 /* end confdefs.h. */
18314 $ac_includes_default
18326 rm -f conftest.
$ac_objext
18327 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18328 (eval $ac_compile) 2>conftest.er1
18330 grep -v '^ *+' conftest.er1
>conftest.err
18332 cat conftest.err
>&5
18333 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18334 (exit $ac_status); } &&
18335 { ac_try
='test -z "$ac_c_werror_flag"
18336 || test ! -s conftest.err'
18337 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18338 (eval $ac_try) 2>&5
18340 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18341 (exit $ac_status); }; } &&
18342 { ac_try
='test -s conftest.$ac_objext'
18343 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18344 (eval $ac_try) 2>&5
18346 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18347 (exit $ac_status); }; }; then
18348 ac_cv_type_long
=yes
18350 echo "$as_me: failed program was:" >&5
18351 sed 's/^/| /' conftest.
$ac_ext >&5
18355 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
18357 echo "$as_me:$LINENO: result: $ac_cv_type_long" >&5
18358 echo "${ECHO_T}$ac_cv_type_long" >&6
18360 echo "$as_me:$LINENO: checking size of long" >&5
18361 echo $ECHO_N "checking size of long... $ECHO_C" >&6
18362 if test "${ac_cv_sizeof_long+set}" = set; then
18363 echo $ECHO_N "(cached) $ECHO_C" >&6
18365 if test "$ac_cv_type_long" = yes; then
18366 # The cast to unsigned long works around a bug in the HP C Compiler
18367 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
18368 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
18369 # This bug is HP SR number 8606223364.
18370 if test "$cross_compiling" = yes; then
18371 # Depending upon the size, compute the lo and hi bounds.
18372 cat >conftest.
$ac_ext <<_ACEOF
18375 cat confdefs.h
>>conftest.
$ac_ext
18376 cat >>conftest.
$ac_ext <<_ACEOF
18377 /* end confdefs.h. */
18378 $ac_includes_default
18382 static int test_array [1 - 2 * !(((long) (sizeof (long))) >= 0)];
18389 rm -f conftest.
$ac_objext
18390 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18391 (eval $ac_compile) 2>conftest.er1
18393 grep -v '^ *+' conftest.er1
>conftest.err
18395 cat conftest.err
>&5
18396 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18397 (exit $ac_status); } &&
18398 { ac_try
='test -z "$ac_c_werror_flag"
18399 || test ! -s conftest.err'
18400 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18401 (eval $ac_try) 2>&5
18403 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18404 (exit $ac_status); }; } &&
18405 { ac_try
='test -s conftest.$ac_objext'
18406 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18407 (eval $ac_try) 2>&5
18409 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18410 (exit $ac_status); }; }; then
18413 cat >conftest.
$ac_ext <<_ACEOF
18416 cat confdefs.h
>>conftest.
$ac_ext
18417 cat >>conftest.
$ac_ext <<_ACEOF
18418 /* end confdefs.h. */
18419 $ac_includes_default
18423 static int test_array [1 - 2 * !(((long) (sizeof (long))) <= $ac_mid)];
18430 rm -f conftest.
$ac_objext
18431 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18432 (eval $ac_compile) 2>conftest.er1
18434 grep -v '^ *+' conftest.er1
>conftest.err
18436 cat conftest.err
>&5
18437 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18438 (exit $ac_status); } &&
18439 { ac_try
='test -z "$ac_c_werror_flag"
18440 || test ! -s conftest.err'
18441 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18442 (eval $ac_try) 2>&5
18444 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18445 (exit $ac_status); }; } &&
18446 { ac_try
='test -s conftest.$ac_objext'
18447 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18448 (eval $ac_try) 2>&5
18450 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18451 (exit $ac_status); }; }; then
18452 ac_hi
=$ac_mid; break
18454 echo "$as_me: failed program was:" >&5
18455 sed 's/^/| /' conftest.
$ac_ext >&5
18457 ac_lo
=`expr $ac_mid + 1`
18458 if test $ac_lo -le $ac_mid; then
18462 ac_mid
=`expr 2 '*' $ac_mid + 1`
18464 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
18467 echo "$as_me: failed program was:" >&5
18468 sed 's/^/| /' conftest.
$ac_ext >&5
18470 cat >conftest.
$ac_ext <<_ACEOF
18473 cat confdefs.h
>>conftest.
$ac_ext
18474 cat >>conftest.
$ac_ext <<_ACEOF
18475 /* end confdefs.h. */
18476 $ac_includes_default
18480 static int test_array [1 - 2 * !(((long) (sizeof (long))) < 0)];
18487 rm -f conftest.
$ac_objext
18488 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18489 (eval $ac_compile) 2>conftest.er1
18491 grep -v '^ *+' conftest.er1
>conftest.err
18493 cat conftest.err
>&5
18494 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18495 (exit $ac_status); } &&
18496 { ac_try
='test -z "$ac_c_werror_flag"
18497 || test ! -s conftest.err'
18498 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18499 (eval $ac_try) 2>&5
18501 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18502 (exit $ac_status); }; } &&
18503 { ac_try
='test -s conftest.$ac_objext'
18504 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18505 (eval $ac_try) 2>&5
18507 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18508 (exit $ac_status); }; }; then
18511 cat >conftest.
$ac_ext <<_ACEOF
18514 cat confdefs.h
>>conftest.
$ac_ext
18515 cat >>conftest.
$ac_ext <<_ACEOF
18516 /* end confdefs.h. */
18517 $ac_includes_default
18521 static int test_array [1 - 2 * !(((long) (sizeof (long))) >= $ac_mid)];
18528 rm -f conftest.
$ac_objext
18529 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18530 (eval $ac_compile) 2>conftest.er1
18532 grep -v '^ *+' conftest.er1
>conftest.err
18534 cat conftest.err
>&5
18535 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18536 (exit $ac_status); } &&
18537 { ac_try
='test -z "$ac_c_werror_flag"
18538 || test ! -s conftest.err'
18539 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18540 (eval $ac_try) 2>&5
18542 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18543 (exit $ac_status); }; } &&
18544 { ac_try
='test -s conftest.$ac_objext'
18545 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18546 (eval $ac_try) 2>&5
18548 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18549 (exit $ac_status); }; }; then
18550 ac_lo
=$ac_mid; break
18552 echo "$as_me: failed program was:" >&5
18553 sed 's/^/| /' conftest.
$ac_ext >&5
18555 ac_hi
=`expr '(' $ac_mid ')' - 1`
18556 if test $ac_mid -le $ac_hi; then
18560 ac_mid
=`expr 2 '*' $ac_mid`
18562 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
18565 echo "$as_me: failed program was:" >&5
18566 sed 's/^/| /' conftest.
$ac_ext >&5
18570 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
18572 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
18573 # Binary search between lo and hi bounds.
18574 while test "x$ac_lo" != "x$ac_hi"; do
18575 ac_mid
=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
18576 cat >conftest.
$ac_ext <<_ACEOF
18579 cat confdefs.h
>>conftest.
$ac_ext
18580 cat >>conftest.
$ac_ext <<_ACEOF
18581 /* end confdefs.h. */
18582 $ac_includes_default
18586 static int test_array [1 - 2 * !(((long) (sizeof (long))) <= $ac_mid)];
18593 rm -f conftest.
$ac_objext
18594 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18595 (eval $ac_compile) 2>conftest.er1
18597 grep -v '^ *+' conftest.er1
>conftest.err
18599 cat conftest.err
>&5
18600 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18601 (exit $ac_status); } &&
18602 { ac_try
='test -z "$ac_c_werror_flag"
18603 || test ! -s conftest.err'
18604 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18605 (eval $ac_try) 2>&5
18607 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18608 (exit $ac_status); }; } &&
18609 { ac_try
='test -s conftest.$ac_objext'
18610 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18611 (eval $ac_try) 2>&5
18613 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18614 (exit $ac_status); }; }; then
18617 echo "$as_me: failed program was:" >&5
18618 sed 's/^/| /' conftest.
$ac_ext >&5
18620 ac_lo
=`expr '(' $ac_mid ')' + 1`
18622 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
18625 ?
*) ac_cv_sizeof_long
=$ac_lo;;
18626 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (long), 77
18627 See \`config.log' for more details." >&5
18628 echo "$as_me: error: cannot compute sizeof (long), 77
18629 See \`config.log' for more details." >&2;}
18630 { (exit 1); exit 1; }; } ;;
18633 if test "$cross_compiling" = yes; then
18634 { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
18635 See \`config.log' for more details." >&5
18636 echo "$as_me: error: cannot run test program while cross compiling
18637 See \`config.log' for more details." >&2;}
18638 { (exit 1); exit 1; }; }
18640 cat >conftest.
$ac_ext <<_ACEOF
18643 cat confdefs.h
>>conftest.
$ac_ext
18644 cat >>conftest.
$ac_ext <<_ACEOF
18645 /* end confdefs.h. */
18646 $ac_includes_default
18647 long longval () { return (long) (sizeof (long)); }
18648 unsigned long ulongval () { return (long) (sizeof (long)); }
18650 #include <stdlib.h>
18655 FILE *f = fopen ("conftest.val", "w");
18658 if (((long) (sizeof (long))) < 0)
18660 long i = longval ();
18661 if (i != ((long) (sizeof (long))))
18663 fprintf (f, "%ld\n", i);
18667 unsigned long i = ulongval ();
18668 if (i != ((long) (sizeof (long))))
18670 fprintf (f, "%lu\n", i);
18672 exit (ferror (f) || fclose (f) != 0);
18678 rm -f conftest
$ac_exeext
18679 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
18680 (eval $ac_link) 2>&5
18682 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18683 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
18684 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18685 (eval $ac_try) 2>&5
18687 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18688 (exit $ac_status); }; }; then
18689 ac_cv_sizeof_long
=`cat conftest.val`
18691 echo "$as_me: program exited with status $ac_status" >&5
18692 echo "$as_me: failed program was:" >&5
18693 sed 's/^/| /' conftest.
$ac_ext >&5
18695 ( exit $ac_status )
18696 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long), 77
18697 See \`config.log' for more details." >&5
18698 echo "$as_me: error: cannot compute sizeof (long), 77
18699 See \`config.log' for more details." >&2;}
18700 { (exit 1); exit 1; }; }
18702 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
18707 ac_cv_sizeof_long
=0
18710 echo "$as_me:$LINENO: result: $ac_cv_sizeof_long" >&5
18711 echo "${ECHO_T}$ac_cv_sizeof_long" >&6
18712 cat >>confdefs.h
<<_ACEOF
18713 #define SIZEOF_LONG $ac_cv_sizeof_long
18717 echo "$as_me:$LINENO: checking for void*" >&5
18718 echo $ECHO_N "checking for void*... $ECHO_C" >&6
18719 if test "${ac_cv_type_voidp+set}" = set; then
18720 echo $ECHO_N "(cached) $ECHO_C" >&6
18722 cat >conftest.
$ac_ext <<_ACEOF
18725 cat confdefs.h
>>conftest.
$ac_ext
18726 cat >>conftest.
$ac_ext <<_ACEOF
18727 /* end confdefs.h. */
18728 $ac_includes_default
18734 if (sizeof (void*))
18740 rm -f conftest.
$ac_objext
18741 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18742 (eval $ac_compile) 2>conftest.er1
18744 grep -v '^ *+' conftest.er1
>conftest.err
18746 cat conftest.err
>&5
18747 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18748 (exit $ac_status); } &&
18749 { ac_try
='test -z "$ac_c_werror_flag"
18750 || test ! -s conftest.err'
18751 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18752 (eval $ac_try) 2>&5
18754 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18755 (exit $ac_status); }; } &&
18756 { ac_try
='test -s conftest.$ac_objext'
18757 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18758 (eval $ac_try) 2>&5
18760 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18761 (exit $ac_status); }; }; then
18762 ac_cv_type_voidp
=yes
18764 echo "$as_me: failed program was:" >&5
18765 sed 's/^/| /' conftest.
$ac_ext >&5
18767 ac_cv_type_voidp
=no
18769 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
18771 echo "$as_me:$LINENO: result: $ac_cv_type_voidp" >&5
18772 echo "${ECHO_T}$ac_cv_type_voidp" >&6
18774 echo "$as_me:$LINENO: checking size of void*" >&5
18775 echo $ECHO_N "checking size of void*... $ECHO_C" >&6
18776 if test "${ac_cv_sizeof_voidp+set}" = set; then
18777 echo $ECHO_N "(cached) $ECHO_C" >&6
18779 if test "$ac_cv_type_voidp" = yes; then
18780 # The cast to unsigned long works around a bug in the HP C Compiler
18781 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
18782 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
18783 # This bug is HP SR number 8606223364.
18784 if test "$cross_compiling" = yes; then
18785 # Depending upon the size, compute the lo and hi bounds.
18786 cat >conftest.
$ac_ext <<_ACEOF
18789 cat confdefs.h
>>conftest.
$ac_ext
18790 cat >>conftest.
$ac_ext <<_ACEOF
18791 /* end confdefs.h. */
18792 $ac_includes_default
18796 static int test_array [1 - 2 * !(((long) (sizeof (void*))) >= 0)];
18803 rm -f conftest.
$ac_objext
18804 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18805 (eval $ac_compile) 2>conftest.er1
18807 grep -v '^ *+' conftest.er1
>conftest.err
18809 cat conftest.err
>&5
18810 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18811 (exit $ac_status); } &&
18812 { ac_try
='test -z "$ac_c_werror_flag"
18813 || test ! -s conftest.err'
18814 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18815 (eval $ac_try) 2>&5
18817 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18818 (exit $ac_status); }; } &&
18819 { ac_try
='test -s conftest.$ac_objext'
18820 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18821 (eval $ac_try) 2>&5
18823 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18824 (exit $ac_status); }; }; then
18827 cat >conftest.
$ac_ext <<_ACEOF
18830 cat confdefs.h
>>conftest.
$ac_ext
18831 cat >>conftest.
$ac_ext <<_ACEOF
18832 /* end confdefs.h. */
18833 $ac_includes_default
18837 static int test_array [1 - 2 * !(((long) (sizeof (void*))) <= $ac_mid)];
18844 rm -f conftest.
$ac_objext
18845 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18846 (eval $ac_compile) 2>conftest.er1
18848 grep -v '^ *+' conftest.er1
>conftest.err
18850 cat conftest.err
>&5
18851 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18852 (exit $ac_status); } &&
18853 { ac_try
='test -z "$ac_c_werror_flag"
18854 || test ! -s conftest.err'
18855 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18856 (eval $ac_try) 2>&5
18858 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18859 (exit $ac_status); }; } &&
18860 { ac_try
='test -s conftest.$ac_objext'
18861 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18862 (eval $ac_try) 2>&5
18864 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18865 (exit $ac_status); }; }; then
18866 ac_hi
=$ac_mid; break
18868 echo "$as_me: failed program was:" >&5
18869 sed 's/^/| /' conftest.
$ac_ext >&5
18871 ac_lo
=`expr $ac_mid + 1`
18872 if test $ac_lo -le $ac_mid; then
18876 ac_mid
=`expr 2 '*' $ac_mid + 1`
18878 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
18881 echo "$as_me: failed program was:" >&5
18882 sed 's/^/| /' conftest.
$ac_ext >&5
18884 cat >conftest.
$ac_ext <<_ACEOF
18887 cat confdefs.h
>>conftest.
$ac_ext
18888 cat >>conftest.
$ac_ext <<_ACEOF
18889 /* end confdefs.h. */
18890 $ac_includes_default
18894 static int test_array [1 - 2 * !(((long) (sizeof (void*))) < 0)];
18901 rm -f conftest.
$ac_objext
18902 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18903 (eval $ac_compile) 2>conftest.er1
18905 grep -v '^ *+' conftest.er1
>conftest.err
18907 cat conftest.err
>&5
18908 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18909 (exit $ac_status); } &&
18910 { ac_try
='test -z "$ac_c_werror_flag"
18911 || test ! -s conftest.err'
18912 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18913 (eval $ac_try) 2>&5
18915 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18916 (exit $ac_status); }; } &&
18917 { ac_try
='test -s conftest.$ac_objext'
18918 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18919 (eval $ac_try) 2>&5
18921 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18922 (exit $ac_status); }; }; then
18925 cat >conftest.
$ac_ext <<_ACEOF
18928 cat confdefs.h
>>conftest.
$ac_ext
18929 cat >>conftest.
$ac_ext <<_ACEOF
18930 /* end confdefs.h. */
18931 $ac_includes_default
18935 static int test_array [1 - 2 * !(((long) (sizeof (void*))) >= $ac_mid)];
18942 rm -f conftest.
$ac_objext
18943 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18944 (eval $ac_compile) 2>conftest.er1
18946 grep -v '^ *+' conftest.er1
>conftest.err
18948 cat conftest.err
>&5
18949 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18950 (exit $ac_status); } &&
18951 { ac_try
='test -z "$ac_c_werror_flag"
18952 || test ! -s conftest.err'
18953 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18954 (eval $ac_try) 2>&5
18956 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18957 (exit $ac_status); }; } &&
18958 { ac_try
='test -s conftest.$ac_objext'
18959 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18960 (eval $ac_try) 2>&5
18962 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18963 (exit $ac_status); }; }; then
18964 ac_lo
=$ac_mid; break
18966 echo "$as_me: failed program was:" >&5
18967 sed 's/^/| /' conftest.
$ac_ext >&5
18969 ac_hi
=`expr '(' $ac_mid ')' - 1`
18970 if test $ac_mid -le $ac_hi; then
18974 ac_mid
=`expr 2 '*' $ac_mid`
18976 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
18979 echo "$as_me: failed program was:" >&5
18980 sed 's/^/| /' conftest.
$ac_ext >&5
18984 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
18986 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
18987 # Binary search between lo and hi bounds.
18988 while test "x$ac_lo" != "x$ac_hi"; do
18989 ac_mid
=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
18990 cat >conftest.
$ac_ext <<_ACEOF
18993 cat confdefs.h
>>conftest.
$ac_ext
18994 cat >>conftest.
$ac_ext <<_ACEOF
18995 /* end confdefs.h. */
18996 $ac_includes_default
19000 static int test_array [1 - 2 * !(((long) (sizeof (void*))) <= $ac_mid)];
19007 rm -f conftest.
$ac_objext
19008 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19009 (eval $ac_compile) 2>conftest.er1
19011 grep -v '^ *+' conftest.er1
>conftest.err
19013 cat conftest.err
>&5
19014 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19015 (exit $ac_status); } &&
19016 { ac_try
='test -z "$ac_c_werror_flag"
19017 || test ! -s conftest.err'
19018 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19019 (eval $ac_try) 2>&5
19021 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19022 (exit $ac_status); }; } &&
19023 { ac_try
='test -s conftest.$ac_objext'
19024 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19025 (eval $ac_try) 2>&5
19027 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19028 (exit $ac_status); }; }; then
19031 echo "$as_me: failed program was:" >&5
19032 sed 's/^/| /' conftest.
$ac_ext >&5
19034 ac_lo
=`expr '(' $ac_mid ')' + 1`
19036 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
19039 ?
*) ac_cv_sizeof_voidp
=$ac_lo;;
19040 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (void*), 77
19041 See \`config.log' for more details." >&5
19042 echo "$as_me: error: cannot compute sizeof (void*), 77
19043 See \`config.log' for more details." >&2;}
19044 { (exit 1); exit 1; }; } ;;
19047 if test "$cross_compiling" = yes; then
19048 { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
19049 See \`config.log' for more details." >&5
19050 echo "$as_me: error: cannot run test program while cross compiling
19051 See \`config.log' for more details." >&2;}
19052 { (exit 1); exit 1; }; }
19054 cat >conftest.
$ac_ext <<_ACEOF
19057 cat confdefs.h
>>conftest.
$ac_ext
19058 cat >>conftest.
$ac_ext <<_ACEOF
19059 /* end confdefs.h. */
19060 $ac_includes_default
19061 long longval () { return (long) (sizeof (void*)); }
19062 unsigned long ulongval () { return (long) (sizeof (void*)); }
19064 #include <stdlib.h>
19069 FILE *f = fopen ("conftest.val", "w");
19072 if (((long) (sizeof (void*))) < 0)
19074 long i = longval ();
19075 if (i != ((long) (sizeof (void*))))
19077 fprintf (f, "%ld\n", i);
19081 unsigned long i = ulongval ();
19082 if (i != ((long) (sizeof (void*))))
19084 fprintf (f, "%lu\n", i);
19086 exit (ferror (f) || fclose (f) != 0);
19092 rm -f conftest
$ac_exeext
19093 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
19094 (eval $ac_link) 2>&5
19096 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19097 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
19098 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19099 (eval $ac_try) 2>&5
19101 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19102 (exit $ac_status); }; }; then
19103 ac_cv_sizeof_voidp
=`cat conftest.val`
19105 echo "$as_me: program exited with status $ac_status" >&5
19106 echo "$as_me: failed program was:" >&5
19107 sed 's/^/| /' conftest.
$ac_ext >&5
19109 ( exit $ac_status )
19110 { { echo "$as_me:$LINENO: error: cannot compute sizeof (void*), 77
19111 See \`config.log' for more details." >&5
19112 echo "$as_me: error: cannot compute sizeof (void*), 77
19113 See \`config.log' for more details." >&2;}
19114 { (exit 1); exit 1; }; }
19116 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
19121 ac_cv_sizeof_voidp
=0
19124 echo "$as_me:$LINENO: result: $ac_cv_sizeof_voidp" >&5
19125 echo "${ECHO_T}$ac_cv_sizeof_voidp" >&6
19126 cat >>confdefs.h
<<_ACEOF
19127 #define SIZEOF_VOIDP $ac_cv_sizeof_voidp
19131 ac_cv_char_data_model
=""
19132 ac_cv_char_data_model
="$ac_cv_char_data_model$ac_cv_sizeof_char"
19133 ac_cv_char_data_model
="$ac_cv_char_data_model$ac_cv_sizeof_short"
19134 ac_cv_char_data_model
="$ac_cv_char_data_model$ac_cv_sizeof_int"
19135 ac_cv_long_data_model
=""
19136 ac_cv_long_data_model
="$ac_cv_long_data_model$ac_cv_sizeof_int"
19137 ac_cv_long_data_model
="$ac_cv_long_data_model$ac_cv_sizeof_long"
19138 ac_cv_long_data_model
="$ac_cv_long_data_model$ac_cv_sizeof_voidp"
19139 echo "$as_me:$LINENO: checking data model" >&5
19140 echo $ECHO_N "checking data model... $ECHO_C" >&6
19141 case "$ac_cv_char_data_model/$ac_cv_long_data_model" in
19142 122/242) ac_cv_data_model
="IP16" ; n
="standard 16bit machine" ;;
19143 122/244) ac_cv_data_model
="LP32" ; n
="standard 32bit machine" ;;
19144 122/*) ac_cv_data_model
="i16" ; n
="unusual int16 model" ;;
19145 124/444) ac_cv_data_model
="ILP32" ; n
="standard 32bit unixish" ;;
19146 124/488) ac_cv_data_model
="LP64" ; n
="standard 64bit unixish" ;;
19147 124/448) ac_cv_data_model
="LLP64" ; n
="unusual 64bit unixish" ;;
19148 124/*) ac_cv_data_model
="i32" ; n
="unusual int32 model" ;;
19149 128/888) ac_cv_data_model
="ILP64" ; n
="unusual 64bit numeric" ;;
19150 128/*) ac_cv_data_model
="i64" ; n
="unusual int64 model" ;;
19151 222/*2) ac_cv_data_model
="DSP16" ; n
="strict 16bit dsptype" ;;
19152 333/*3) ac_cv_data_model
="DSP24" ; n
="strict 24bit dsptype" ;;
19153 444/*4) ac_cv_data_model
="DSP32" ; n
="strict 32bit dsptype" ;;
19154 666/*6) ac_cv_data_model
="DSP48" ; n
="strict 48bit dsptype" ;;
19155 888/*8) ac_cv_data_model
="DSP64" ; n
="strict 64bit dsptype" ;;
19156 222/*|
333/*|
444/*|
666/*|
888/*) :
19157 ac_cv_data_model
="iDSP" ; n
="unusual dsptype" ;;
19158 *) ac_cv_data_model
="none" ; n
="very unusual model" ;;
19160 echo "$as_me:$LINENO: result: $ac_cv_data_model ($ac_cv_long_data_model, $n)" >&5
19161 echo "${ECHO_T}$ac_cv_data_model ($ac_cv_long_data_model, $n)" >&6
19165 if test "_$ac_cv_header_stdint_x" != "_" ; then
19166 ac_cv_header_stdint
="$ac_cv_header_stdint_x"
19167 elif test "_$ac_cv_header_stdint_o" != "_" ; then
19168 ac_cv_header_stdint
="$ac_cv_header_stdint_o"
19169 elif test "_$ac_cv_header_stdint_u" != "_" ; then
19170 ac_cv_header_stdint
="$ac_cv_header_stdint_u"
19172 ac_cv_header_stdint
="stddef.h"
19175 echo "$as_me:$LINENO: checking for extra inttypes in chosen header" >&5
19176 echo $ECHO_N "checking for extra inttypes in chosen header... $ECHO_C" >&6
19177 echo "$as_me:$LINENO: result: ($ac_cv_header_stdint)" >&5
19178 echo "${ECHO_T}($ac_cv_header_stdint)" >&6
19179 unset ac_cv_type_int_least32_t
19180 unset ac_cv_type_int_fast32_t
19181 echo "$as_me:$LINENO: checking for int_least32_t" >&5
19182 echo $ECHO_N "checking for int_least32_t... $ECHO_C" >&6
19183 if test "${ac_cv_type_int_least32_t+set}" = set; then
19184 echo $ECHO_N "(cached) $ECHO_C" >&6
19186 cat >conftest.
$ac_ext <<_ACEOF
19189 cat confdefs.h
>>conftest.
$ac_ext
19190 cat >>conftest.
$ac_ext <<_ACEOF
19191 /* end confdefs.h. */
19192 #include <$ac_cv_header_stdint>
19197 if ((int_least32_t *) 0)
19199 if (sizeof (int_least32_t))
19205 rm -f conftest.
$ac_objext
19206 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19207 (eval $ac_compile) 2>conftest.er1
19209 grep -v '^ *+' conftest.er1
>conftest.err
19211 cat conftest.err
>&5
19212 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19213 (exit $ac_status); } &&
19214 { ac_try
='test -z "$ac_c_werror_flag"
19215 || test ! -s conftest.err'
19216 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19217 (eval $ac_try) 2>&5
19219 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19220 (exit $ac_status); }; } &&
19221 { ac_try
='test -s conftest.$ac_objext'
19222 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19223 (eval $ac_try) 2>&5
19225 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19226 (exit $ac_status); }; }; then
19227 ac_cv_type_int_least32_t
=yes
19229 echo "$as_me: failed program was:" >&5
19230 sed 's/^/| /' conftest.
$ac_ext >&5
19232 ac_cv_type_int_least32_t
=no
19234 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
19236 echo "$as_me:$LINENO: result: $ac_cv_type_int_least32_t" >&5
19237 echo "${ECHO_T}$ac_cv_type_int_least32_t" >&6
19239 echo "$as_me:$LINENO: checking for int_fast32_t" >&5
19240 echo $ECHO_N "checking for int_fast32_t... $ECHO_C" >&6
19241 if test "${ac_cv_type_int_fast32_t+set}" = set; then
19242 echo $ECHO_N "(cached) $ECHO_C" >&6
19244 cat >conftest.
$ac_ext <<_ACEOF
19247 cat confdefs.h
>>conftest.
$ac_ext
19248 cat >>conftest.
$ac_ext <<_ACEOF
19249 /* end confdefs.h. */
19250 #include<$ac_cv_header_stdint>
19255 if ((int_fast32_t *) 0)
19257 if (sizeof (int_fast32_t))
19263 rm -f conftest.
$ac_objext
19264 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19265 (eval $ac_compile) 2>conftest.er1
19267 grep -v '^ *+' conftest.er1
>conftest.err
19269 cat conftest.err
>&5
19270 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19271 (exit $ac_status); } &&
19272 { ac_try
='test -z "$ac_c_werror_flag"
19273 || test ! -s conftest.err'
19274 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19275 (eval $ac_try) 2>&5
19277 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19278 (exit $ac_status); }; } &&
19279 { ac_try
='test -s conftest.$ac_objext'
19280 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19281 (eval $ac_try) 2>&5
19283 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19284 (exit $ac_status); }; }; then
19285 ac_cv_type_int_fast32_t
=yes
19287 echo "$as_me: failed program was:" >&5
19288 sed 's/^/| /' conftest.
$ac_ext >&5
19290 ac_cv_type_int_fast32_t
=no
19292 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
19294 echo "$as_me:$LINENO: result: $ac_cv_type_int_fast32_t" >&5
19295 echo "${ECHO_T}$ac_cv_type_int_fast32_t" >&6
19297 echo "$as_me:$LINENO: checking for intmax_t" >&5
19298 echo $ECHO_N "checking for intmax_t... $ECHO_C" >&6
19299 if test "${ac_cv_type_intmax_t+set}" = set; then
19300 echo $ECHO_N "(cached) $ECHO_C" >&6
19302 cat >conftest.
$ac_ext <<_ACEOF
19305 cat confdefs.h
>>conftest.
$ac_ext
19306 cat >>conftest.
$ac_ext <<_ACEOF
19307 /* end confdefs.h. */
19308 #include <$ac_cv_header_stdint>
19313 if ((intmax_t *) 0)
19315 if (sizeof (intmax_t))
19321 rm -f conftest.
$ac_objext
19322 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19323 (eval $ac_compile) 2>conftest.er1
19325 grep -v '^ *+' conftest.er1
>conftest.err
19327 cat conftest.err
>&5
19328 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19329 (exit $ac_status); } &&
19330 { ac_try
='test -z "$ac_c_werror_flag"
19331 || test ! -s conftest.err'
19332 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19333 (eval $ac_try) 2>&5
19335 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19336 (exit $ac_status); }; } &&
19337 { ac_try
='test -s conftest.$ac_objext'
19338 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19339 (eval $ac_try) 2>&5
19341 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19342 (exit $ac_status); }; }; then
19343 ac_cv_type_intmax_t
=yes
19345 echo "$as_me: failed program was:" >&5
19346 sed 's/^/| /' conftest.
$ac_ext >&5
19348 ac_cv_type_intmax_t
=no
19350 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
19352 echo "$as_me:$LINENO: result: $ac_cv_type_intmax_t" >&5
19353 echo "${ECHO_T}$ac_cv_type_intmax_t" >&6
19356 fi # shortcircut to system "stdint.h"
19357 # ------------------ PREPARE VARIABLES ------------------------------
19358 if test "$GCC" = "yes" ; then
19359 ac_cv_stdint_message
="using gnu compiler "`$CC --version | head -1`
19361 ac_cv_stdint_message
="using $CC"
19364 echo "$as_me:$LINENO: result: make use of $ac_cv_header_stdint in $ac_stdint_h $ac_cv_stdint_result" >&5
19365 echo "${ECHO_T}make use of $ac_cv_header_stdint in $ac_stdint_h $ac_cv_stdint_result" >&6
19367 # ----------------- DONE inttypes.h checks START header -------------
19368 ac_config_commands
="$ac_config_commands $ac_stdint_h"
19373 # Check whether --with-glibj_zip or --without-glibj_zip was given.
19374 if test "${with_glibj_zip+set}" = set; then
19375 withval
="$with_glibj_zip"
19379 case "$with_glibj_zip" in
19381 use_glibj_zip
=false
19384 use_glibj_zip
=false
19387 { { echo "$as_me:$LINENO: error: Please suply an absolute path to a prebuilt glibj.zip" >&5
19388 echo "$as_me: error: Please suply an absolute path to a prebuilt glibj.zip" >&2;}
19389 { (exit 1); exit 1; }; }
19393 PATH_TO_GLIBJ_ZIP
=$with_glibj_zip
19399 if test x
$use_glibj_zip = xtrue
; then
19400 USE_PREBUILT_GLIBJ_ZIP_TRUE
=
19401 USE_PREBUILT_GLIBJ_ZIP_FALSE
='#'
19403 USE_PREBUILT_GLIBJ_ZIP_TRUE
='#'
19404 USE_PREBUILT_GLIBJ_ZIP_FALSE
=
19410 # Check whether --with-escher or --without-escher was given.
19411 if test "${with_escher+set}" = set; then
19412 withval
="$with_escher"
19415 case "$with_escher" in
19423 { { echo "$as_me:$LINENO: error: Please supply an absolute path to Escher library" >&5
19424 echo "$as_me: error: Please supply an absolute path to Escher library" >&2;}
19425 { (exit 1); exit 1; }; }
19429 PATH_TO_ESCHER
=$with_escher
19435 if test x
$use_escher = xtrue
; then
19437 USE_ESCHER_FALSE
='#'
19439 USE_ESCHER_TRUE
='#'
19445 # Check whether --enable-local-sockets or --disable-local-sockets was given.
19446 if test "${enable_local_sockets+set}" = set; then
19447 enableval
="$enable_local_sockets"
19448 case "${enableval}" in
19450 ENABLE_LOCAL_SOCKETS
=yes
19453 ENABLE_LOCAL_SOCKETS
=no
19457 if test "x$ENABLE_LOCAL_SOCKETS" = "xyes"
19459 if test "${ac_cv_header_sys_un_h+set}" = set; then
19460 echo "$as_me:$LINENO: checking for sys/un.h" >&5
19461 echo $ECHO_N "checking for sys/un.h... $ECHO_C" >&6
19462 if test "${ac_cv_header_sys_un_h+set}" = set; then
19463 echo $ECHO_N "(cached) $ECHO_C" >&6
19465 echo "$as_me:$LINENO: result: $ac_cv_header_sys_un_h" >&5
19466 echo "${ECHO_T}$ac_cv_header_sys_un_h" >&6
19468 # Is the header compilable?
19469 echo "$as_me:$LINENO: checking sys/un.h usability" >&5
19470 echo $ECHO_N "checking sys/un.h usability... $ECHO_C" >&6
19471 cat >conftest.
$ac_ext <<_ACEOF
19474 cat confdefs.h
>>conftest.
$ac_ext
19475 cat >>conftest.
$ac_ext <<_ACEOF
19476 /* end confdefs.h. */
19477 $ac_includes_default
19478 #include <sys/un.h>
19480 rm -f conftest.
$ac_objext
19481 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19482 (eval $ac_compile) 2>conftest.er1
19484 grep -v '^ *+' conftest.er1
>conftest.err
19486 cat conftest.err
>&5
19487 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19488 (exit $ac_status); } &&
19489 { ac_try
='test -z "$ac_c_werror_flag"
19490 || test ! -s conftest.err'
19491 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19492 (eval $ac_try) 2>&5
19494 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19495 (exit $ac_status); }; } &&
19496 { ac_try
='test -s conftest.$ac_objext'
19497 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19498 (eval $ac_try) 2>&5
19500 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19501 (exit $ac_status); }; }; then
19502 ac_header_compiler
=yes
19504 echo "$as_me: failed program was:" >&5
19505 sed 's/^/| /' conftest.
$ac_ext >&5
19507 ac_header_compiler
=no
19509 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
19510 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
19511 echo "${ECHO_T}$ac_header_compiler" >&6
19513 # Is the header present?
19514 echo "$as_me:$LINENO: checking sys/un.h presence" >&5
19515 echo $ECHO_N "checking sys/un.h presence... $ECHO_C" >&6
19516 cat >conftest.
$ac_ext <<_ACEOF
19519 cat confdefs.h
>>conftest.
$ac_ext
19520 cat >>conftest.
$ac_ext <<_ACEOF
19521 /* end confdefs.h. */
19522 #include <sys/un.h>
19524 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
19525 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
19527 grep -v '^ *+' conftest.er1
>conftest.err
19529 cat conftest.err
>&5
19530 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19531 (exit $ac_status); } >/dev
/null
; then
19532 if test -s conftest.err
; then
19533 ac_cpp_err
=$ac_c_preproc_warn_flag
19534 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
19541 if test -z "$ac_cpp_err"; then
19542 ac_header_preproc
=yes
19544 echo "$as_me: failed program was:" >&5
19545 sed 's/^/| /' conftest.
$ac_ext >&5
19547 ac_header_preproc
=no
19549 rm -f conftest.err conftest.
$ac_ext
19550 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
19551 echo "${ECHO_T}$ac_header_preproc" >&6
19553 # So? What about this header?
19554 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
19556 { echo "$as_me:$LINENO: WARNING: sys/un.h: accepted by the compiler, rejected by the preprocessor!" >&5
19557 echo "$as_me: WARNING: sys/un.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
19558 { echo "$as_me:$LINENO: WARNING: sys/un.h: proceeding with the compiler's result" >&5
19559 echo "$as_me: WARNING: sys/un.h: proceeding with the compiler's result" >&2;}
19560 ac_header_preproc
=yes
19563 { echo "$as_me:$LINENO: WARNING: sys/un.h: present but cannot be compiled" >&5
19564 echo "$as_me: WARNING: sys/un.h: present but cannot be compiled" >&2;}
19565 { echo "$as_me:$LINENO: WARNING: sys/un.h: check for missing prerequisite headers?" >&5
19566 echo "$as_me: WARNING: sys/un.h: check for missing prerequisite headers?" >&2;}
19567 { echo "$as_me:$LINENO: WARNING: sys/un.h: see the Autoconf documentation" >&5
19568 echo "$as_me: WARNING: sys/un.h: see the Autoconf documentation" >&2;}
19569 { echo "$as_me:$LINENO: WARNING: sys/un.h: section \"Present But Cannot Be Compiled\"" >&5
19570 echo "$as_me: WARNING: sys/un.h: section \"Present But Cannot Be Compiled\"" >&2;}
19571 { echo "$as_me:$LINENO: WARNING: sys/un.h: proceeding with the preprocessor's result" >&5
19572 echo "$as_me: WARNING: sys/un.h: proceeding with the preprocessor's result" >&2;}
19573 { echo "$as_me:$LINENO: WARNING: sys/un.h: in the future, the compiler will take precedence" >&5
19574 echo "$as_me: WARNING: sys/un.h: in the future, the compiler will take precedence" >&2;}
19577 ## -------------------------------- ##
19578 ## Report this to classpath@gnu.org ##
19579 ## -------------------------------- ##
19582 sed "s/^/$as_me: WARNING: /" >&2
19585 echo "$as_me:$LINENO: checking for sys/un.h" >&5
19586 echo $ECHO_N "checking for sys/un.h... $ECHO_C" >&6
19587 if test "${ac_cv_header_sys_un_h+set}" = set; then
19588 echo $ECHO_N "(cached) $ECHO_C" >&6
19590 ac_cv_header_sys_un_h
=$ac_header_preproc
19592 echo "$as_me:$LINENO: result: $ac_cv_header_sys_un_h" >&5
19593 echo "${ECHO_T}$ac_cv_header_sys_un_h" >&6
19604 for ac_func
in read write bind listen accept shutdown
19606 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
19607 echo "$as_me:$LINENO: checking for $ac_func" >&5
19608 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
19609 if eval "test \"\${$as_ac_var+set}\" = set"; then
19610 echo $ECHO_N "(cached) $ECHO_C" >&6
19612 if test x
$gcc_no_link = xyes
; then
19613 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
19614 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
19615 { (exit 1); exit 1; }; }
19617 cat >conftest.
$ac_ext <<_ACEOF
19620 cat confdefs.h
>>conftest.
$ac_ext
19621 cat >>conftest.
$ac_ext <<_ACEOF
19622 /* end confdefs.h. */
19623 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
19624 For example, HP-UX 11i <limits.h> declares gettimeofday. */
19625 #define $ac_func innocuous_$ac_func
19627 /* System header to define __stub macros and hopefully few prototypes,
19628 which can conflict with char $ac_func (); below.
19629 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
19630 <limits.h> exists even on freestanding compilers. */
19633 # include <limits.h>
19635 # include <assert.h>
19640 /* Override any gcc2 internal prototype to avoid an error. */
19645 /* We use char because int might match the return type of a gcc2
19646 builtin and then its argument prototype would still apply. */
19648 /* The GNU C library defines this for functions which it implements
19649 to always fail with ENOSYS. Some functions are actually named
19650 something starting with __ and the normal name is an alias. */
19651 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
19654 char (*f) () = $ac_func;
19663 return f != $ac_func;
19668 rm -f conftest.
$ac_objext conftest
$ac_exeext
19669 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
19670 (eval $ac_link) 2>conftest.er1
19672 grep -v '^ *+' conftest.er1
>conftest.err
19674 cat conftest.err
>&5
19675 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19676 (exit $ac_status); } &&
19677 { ac_try
='test -z "$ac_c_werror_flag"
19678 || test ! -s conftest.err'
19679 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19680 (eval $ac_try) 2>&5
19682 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19683 (exit $ac_status); }; } &&
19684 { ac_try
='test -s conftest$ac_exeext'
19685 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19686 (eval $ac_try) 2>&5
19688 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19689 (exit $ac_status); }; }; then
19690 eval "$as_ac_var=yes"
19692 echo "$as_me: failed program was:" >&5
19693 sed 's/^/| /' conftest.
$ac_ext >&5
19695 eval "$as_ac_var=no"
19697 rm -f conftest.err conftest.
$ac_objext \
19698 conftest
$ac_exeext conftest.
$ac_ext
19700 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
19701 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
19702 if test `eval echo '${'$as_ac_var'}'` = yes; then
19703 cat >>confdefs.h
<<_ACEOF
19704 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
19708 { { echo "$as_me:$LINENO: error: networking support not available" >&5
19709 echo "$as_me: error: networking support not available" >&2;}
19710 { (exit 1); exit 1; }; }
19715 cat >>confdefs.h
<<\_ACEOF
19716 #define ENABLE_LOCAL_SOCKETS 1
19722 if test "x$ENABLE_LOCAL_SOCKETS" = "xyes"; then
19723 ENABLE_LOCAL_SOCKETS_TRUE
=
19724 ENABLE_LOCAL_SOCKETS_FALSE
='#'
19726 ENABLE_LOCAL_SOCKETS_TRUE
='#'
19727 ENABLE_LOCAL_SOCKETS_FALSE
=
19733 ac_config_files
="$ac_config_files Makefile doc/Makefile doc/api/Makefile external/Makefile external/sax/Makefile external/w3c_dom/Makefile external/relaxngDatatype/Makefile external/jsr166/Makefile gnu/classpath/Configuration.java gnu/java/security/Configuration.java include/Makefile native/Makefile native/fdlibm/Makefile native/jawt/Makefile native/jni/Makefile native/jni/classpath/Makefile native/jni/java-io/Makefile native/jni/java-lang/Makefile native/jni/java-net/Makefile native/jni/java-nio/Makefile native/jni/java-util/Makefile native/jni/gtk-peer/Makefile native/jni/gconf-peer/Makefile native/jni/qt-peer/Makefile native/jni/xmlj/Makefile native/jni/midi-alsa/Makefile native/jni/midi-dssi/Makefile native/jni/native-lib/Makefile native/plugin/Makefile resource/Makefile resource/META-INF/services/java.util.prefs.PreferencesFactory scripts/Makefile scripts/classpath.spec lib/Makefile lib/gen-classlist.sh lib/copy-vmresources.sh tools/Makefile examples/Makefile examples/Makefile.jawt examples/Makefile.java2d"
19736 if test "x${COMPILE_WRAPPERS}" = xno
19738 ac_config_files
="$ac_config_files tools/gappletviewer tools/gjarsigner tools/gkeytool tools/gjar tools/gnative2ascii tools/gserialver tools/grmiregistry tools/gtnameserv tools/gorbd tools/grmid tools/grmic tools/gjavah"
19740 ac_config_commands
="$ac_config_commands gappletviewer"
19742 ac_config_commands
="$ac_config_commands gjarsigner"
19744 ac_config_commands
="$ac_config_commands gkeytool"
19746 ac_config_commands
="$ac_config_commands gjar"
19748 ac_config_commands
="$ac_config_commands gnative2ascii"
19750 ac_config_commands
="$ac_config_commands gserialver"
19752 ac_config_commands
="$ac_config_commands grmiregistry"
19754 ac_config_commands
="$ac_config_commands gtnameserv"
19756 ac_config_commands
="$ac_config_commands gorbd"
19758 ac_config_commands
="$ac_config_commands grmid"
19760 ac_config_commands
="$ac_config_commands grmic"
19762 ac_config_commands
="$ac_config_commands gjavah"
19766 ac_config_commands
="$ac_config_commands gen-classlist"
19768 ac_config_commands
="$ac_config_commands copy-vmresources"
19770 cat >confcache
<<\_ACEOF
19771 # This file is a shell script that caches the results of configure
19772 # tests run on this system so they can be shared between configure
19773 # scripts and configure runs, see configure's option --config-cache.
19774 # It is not useful on other systems. If it contains results you don't
19775 # want to keep, you may remove or edit it.
19777 # config.status only pays attention to the cache file if you give it
19778 # the --recheck option to rerun configure.
19780 # `ac_cv_env_foo' variables (set or unset) will be overridden when
19781 # loading this file, other *unset* `ac_cv_foo' will be assigned the
19782 # following values.
19786 # The following way of writing the cache mishandles newlines in values,
19787 # but we know of no workaround that is simple, portable, and efficient.
19788 # So, don't put newlines in cache variables' values.
19789 # Ultrix sh set writes to stderr and can't be redirected directly,
19790 # and sets the high bit in the cache file unless we assign to the vars.
19793 case `(ac_space=' '; set | grep ac_space) 2>&1` in
19795 # `set' does not quote correctly, so add quotes (double-quote
19796 # substitution turns \\\\ into \\, and sed turns \\ into \).
19799 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
19802 # `set' quotes correctly as required by POSIX, so do not add quotes.
19804 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
19811 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
19813 /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
19815 if diff $cache_file confcache
>/dev
/null
2>&1; then :; else
19816 if test -w $cache_file; then
19817 test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
19818 cat confcache
>$cache_file
19820 echo "not updating unwritable cache $cache_file"
19825 test "x$prefix" = xNONE
&& prefix
=$ac_default_prefix
19826 # Let make expand exec_prefix.
19827 test "x$exec_prefix" = xNONE
&& exec_prefix
='${prefix}'
19829 # VPATH may cause trouble with some makes, so we remove $(srcdir),
19830 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
19831 # trailing colons and then remove the whole line if VPATH becomes empty
19832 # (actually we leave an empty line to preserve line numbers).
19833 if test "x$srcdir" = x.
; then
19834 ac_vpsub
='/^[ ]*VPATH[ ]*=/{
19835 s/:*\$(srcdir):*/:/;
19836 s/:*\${srcdir}:*/:/;
19838 s/^\([^=]*=[ ]*\):*/\1/;
19844 DEFS
=-DHAVE_CONFIG_H
19848 for ac_i
in : $LIBOBJS; do test "x$ac_i" = x
: && continue
19849 # 1. Remove the extension, and $U if already installed.
19850 ac_i
=`echo "$ac_i" |
19851 sed 's/\$U\././;s/\.o$//;s/\.obj$//'`
19853 ac_libobjs
="$ac_libobjs $ac_i\$U.$ac_objext"
19854 ac_ltlibobjs
="$ac_ltlibobjs $ac_i"'$U.lo'
19856 LIBOBJS
=$ac_libobjs
19858 LTLIBOBJS
=$ac_ltlibobjs
19861 if test -z "${JAVA_MAINTAINER_MODE_TRUE}" && test -z "${JAVA_MAINTAINER_MODE_FALSE}"; then
19862 { { echo "$as_me:$LINENO: error: conditional \"JAVA_MAINTAINER_MODE\" was never defined.
19863 Usually this means the macro was only invoked conditionally." >&5
19864 echo "$as_me: error: conditional \"JAVA_MAINTAINER_MODE\" was never defined.
19865 Usually this means the macro was only invoked conditionally." >&2;}
19866 { (exit 1); exit 1; }; }
19868 if test -z "${CREATE_COLLECTIONS_TRUE}" && test -z "${CREATE_COLLECTIONS_FALSE}"; then
19869 { { echo "$as_me:$LINENO: error: conditional \"CREATE_COLLECTIONS\" was never defined.
19870 Usually this means the macro was only invoked conditionally." >&5
19871 echo "$as_me: error: conditional \"CREATE_COLLECTIONS\" was never defined.
19872 Usually this means the macro was only invoked conditionally." >&2;}
19873 { (exit 1); exit 1; }; }
19875 if test -z "${CREATE_JNI_LIBRARIES_TRUE}" && test -z "${CREATE_JNI_LIBRARIES_FALSE}"; then
19876 { { echo "$as_me:$LINENO: error: conditional \"CREATE_JNI_LIBRARIES\" was never defined.
19877 Usually this means the macro was only invoked conditionally." >&5
19878 echo "$as_me: error: conditional \"CREATE_JNI_LIBRARIES\" was never defined.
19879 Usually this means the macro was only invoked conditionally." >&2;}
19880 { (exit 1); exit 1; }; }
19882 if test -z "${CREATE_CORE_JNI_LIBRARIES_TRUE}" && test -z "${CREATE_CORE_JNI_LIBRARIES_FALSE}"; then
19883 { { echo "$as_me:$LINENO: error: conditional \"CREATE_CORE_JNI_LIBRARIES\" was never defined.
19884 Usually this means the macro was only invoked conditionally." >&5
19885 echo "$as_me: error: conditional \"CREATE_CORE_JNI_LIBRARIES\" was never defined.
19886 Usually this means the macro was only invoked conditionally." >&2;}
19887 { (exit 1); exit 1; }; }
19889 if test -z "${CREATE_GCONF_PEER_LIBRARIES_TRUE}" && test -z "${CREATE_GCONF_PEER_LIBRARIES_FALSE}"; then
19890 { { echo "$as_me:$LINENO: error: conditional \"CREATE_GCONF_PEER_LIBRARIES\" was never defined.
19891 Usually this means the macro was only invoked conditionally." >&5
19892 echo "$as_me: error: conditional \"CREATE_GCONF_PEER_LIBRARIES\" was never defined.
19893 Usually this means the macro was only invoked conditionally." >&2;}
19894 { (exit 1); exit 1; }; }
19896 if test -z "${CREATE_XMLJ_LIBRARY_TRUE}" && test -z "${CREATE_XMLJ_LIBRARY_FALSE}"; then
19897 { { echo "$as_me:$LINENO: error: conditional \"CREATE_XMLJ_LIBRARY\" was never defined.
19898 Usually this means the macro was only invoked conditionally." >&5
19899 echo "$as_me: error: conditional \"CREATE_XMLJ_LIBRARY\" was never defined.
19900 Usually this means the macro was only invoked conditionally." >&2;}
19901 { (exit 1); exit 1; }; }
19903 if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
19904 { { echo "$as_me:$LINENO: error: conditional \"AMDEP\" was never defined.
19905 Usually this means the macro was only invoked conditionally." >&5
19906 echo "$as_me: error: conditional \"AMDEP\" was never defined.
19907 Usually this means the macro was only invoked conditionally." >&2;}
19908 { (exit 1); exit 1; }; }
19910 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
19911 { { echo "$as_me:$LINENO: error: conditional \"am__fastdepCC\" was never defined.
19912 Usually this means the macro was only invoked conditionally." >&5
19913 echo "$as_me: error: conditional \"am__fastdepCC\" was never defined.
19914 Usually this means the macro was only invoked conditionally." >&2;}
19915 { (exit 1); exit 1; }; }
19917 if test -z "${CREATE_ALSA_LIBRARIES_TRUE}" && test -z "${CREATE_ALSA_LIBRARIES_FALSE}"; then
19918 { { echo "$as_me:$LINENO: error: conditional \"CREATE_ALSA_LIBRARIES\" was never defined.
19919 Usually this means the macro was only invoked conditionally." >&5
19920 echo "$as_me: error: conditional \"CREATE_ALSA_LIBRARIES\" was never defined.
19921 Usually this means the macro was only invoked conditionally." >&2;}
19922 { (exit 1); exit 1; }; }
19924 if test -z "${CREATE_DSSI_LIBRARIES_TRUE}" && test -z "${CREATE_DSSI_LIBRARIES_FALSE}"; then
19925 { { echo "$as_me:$LINENO: error: conditional \"CREATE_DSSI_LIBRARIES\" was never defined.
19926 Usually this means the macro was only invoked conditionally." >&5
19927 echo "$as_me: error: conditional \"CREATE_DSSI_LIBRARIES\" was never defined.
19928 Usually this means the macro was only invoked conditionally." >&2;}
19929 { (exit 1); exit 1; }; }
19931 if test -z "${CREATE_GTK_PEER_LIBRARIES_TRUE}" && test -z "${CREATE_GTK_PEER_LIBRARIES_FALSE}"; then
19932 { { echo "$as_me:$LINENO: error: conditional \"CREATE_GTK_PEER_LIBRARIES\" was never defined.
19933 Usually this means the macro was only invoked conditionally." >&5
19934 echo "$as_me: error: conditional \"CREATE_GTK_PEER_LIBRARIES\" was never defined.
19935 Usually this means the macro was only invoked conditionally." >&2;}
19936 { (exit 1); exit 1; }; }
19938 if test -z "${CREATE_QT_PEER_LIBRARIES_TRUE}" && test -z "${CREATE_QT_PEER_LIBRARIES_FALSE}"; then
19939 { { echo "$as_me:$LINENO: error: conditional \"CREATE_QT_PEER_LIBRARIES\" was never defined.
19940 Usually this means the macro was only invoked conditionally." >&5
19941 echo "$as_me: error: conditional \"CREATE_QT_PEER_LIBRARIES\" was never defined.
19942 Usually this means the macro was only invoked conditionally." >&2;}
19943 { (exit 1); exit 1; }; }
19945 if test -z "${CREATE_PLUGIN_TRUE}" && test -z "${CREATE_PLUGIN_FALSE}"; then
19946 { { echo "$as_me:$LINENO: error: conditional \"CREATE_PLUGIN\" was never defined.
19947 Usually this means the macro was only invoked conditionally." >&5
19948 echo "$as_me: error: conditional \"CREATE_PLUGIN\" was never defined.
19949 Usually this means the macro was only invoked conditionally." >&2;}
19950 { (exit 1); exit 1; }; }
19952 if test -z "${FOUND_CACAO_TRUE}" && test -z "${FOUND_CACAO_FALSE}"; then
19953 { { echo "$as_me:$LINENO: error: conditional \"FOUND_CACAO\" was never defined.
19954 Usually this means the macro was only invoked conditionally." >&5
19955 echo "$as_me: error: conditional \"FOUND_CACAO\" was never defined.
19956 Usually this means the macro was only invoked conditionally." >&2;}
19957 { (exit 1); exit 1; }; }
19959 if test -z "${CREATE_JNI_HEADERS_TRUE}" && test -z "${CREATE_JNI_HEADERS_FALSE}"; then
19960 { { echo "$as_me:$LINENO: error: conditional \"CREATE_JNI_HEADERS\" was never defined.
19961 Usually this means the macro was only invoked conditionally." >&5
19962 echo "$as_me: error: conditional \"CREATE_JNI_HEADERS\" was never defined.
19963 Usually this means the macro was only invoked conditionally." >&2;}
19964 { (exit 1); exit 1; }; }
19966 if test -z "${CREATE_WRAPPERS_TRUE}" && test -z "${CREATE_WRAPPERS_FALSE}"; then
19967 { { echo "$as_me:$LINENO: error: conditional \"CREATE_WRAPPERS\" was never defined.
19968 Usually this means the macro was only invoked conditionally." >&5
19969 echo "$as_me: error: conditional \"CREATE_WRAPPERS\" was never defined.
19970 Usually this means the macro was only invoked conditionally." >&2;}
19971 { (exit 1); exit 1; }; }
19973 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
19974 { { echo "$as_me:$LINENO: error: conditional \"am__fastdepCC\" was never defined.
19975 Usually this means the macro was only invoked conditionally." >&5
19976 echo "$as_me: error: conditional \"am__fastdepCC\" was never defined.
19977 Usually this means the macro was only invoked conditionally." >&2;}
19978 { (exit 1); exit 1; }; }
19980 if test -z "${am__fastdepCXX_TRUE}" && test -z "${am__fastdepCXX_FALSE}"; then
19981 { { echo "$as_me:$LINENO: error: conditional \"am__fastdepCXX\" was never defined.
19982 Usually this means the macro was only invoked conditionally." >&5
19983 echo "$as_me: error: conditional \"am__fastdepCXX\" was never defined.
19984 Usually this means the macro was only invoked conditionally." >&2;}
19985 { (exit 1); exit 1; }; }
19987 if test -z "${USER_SPECIFIED_JAVAH_TRUE}" && test -z "${USER_SPECIFIED_JAVAH_FALSE}"; then
19988 { { echo "$as_me:$LINENO: error: conditional \"USER_SPECIFIED_JAVAH\" was never defined.
19989 Usually this means the macro was only invoked conditionally." >&5
19990 echo "$as_me: error: conditional \"USER_SPECIFIED_JAVAH\" was never defined.
19991 Usually this means the macro was only invoked conditionally." >&2;}
19992 { (exit 1); exit 1; }; }
19994 if test -z "${FOUND_GCJ_TRUE}" && test -z "${FOUND_GCJ_FALSE}"; then
19995 { { echo "$as_me:$LINENO: error: conditional \"FOUND_GCJ\" was never defined.
19996 Usually this means the macro was only invoked conditionally." >&5
19997 echo "$as_me: error: conditional \"FOUND_GCJ\" was never defined.
19998 Usually this means the macro was only invoked conditionally." >&2;}
19999 { (exit 1); exit 1; }; }
20001 if test -z "${FOUND_JIKES_TRUE}" && test -z "${FOUND_JIKES_FALSE}"; then
20002 { { echo "$as_me:$LINENO: error: conditional \"FOUND_JIKES\" was never defined.
20003 Usually this means the macro was only invoked conditionally." >&5
20004 echo "$as_me: error: conditional \"FOUND_JIKES\" was never defined.
20005 Usually this means the macro was only invoked conditionally." >&2;}
20006 { (exit 1); exit 1; }; }
20008 if test -z "${FOUND_ECJ_TRUE}" && test -z "${FOUND_ECJ_FALSE}"; then
20009 { { echo "$as_me:$LINENO: error: conditional \"FOUND_ECJ\" was never defined.
20010 Usually this means the macro was only invoked conditionally." >&5
20011 echo "$as_me: error: conditional \"FOUND_ECJ\" was never defined.
20012 Usually this means the macro was only invoked conditionally." >&2;}
20013 { (exit 1); exit 1; }; }
20015 if test -z "${FOUND_GCJ_TRUE}" && test -z "${FOUND_GCJ_FALSE}"; then
20016 { { echo "$as_me:$LINENO: error: conditional \"FOUND_GCJ\" was never defined.
20017 Usually this means the macro was only invoked conditionally." >&5
20018 echo "$as_me: error: conditional \"FOUND_GCJ\" was never defined.
20019 Usually this means the macro was only invoked conditionally." >&2;}
20020 { (exit 1); exit 1; }; }
20022 if test -z "${FOUND_JIKES_TRUE}" && test -z "${FOUND_JIKES_FALSE}"; then
20023 { { echo "$as_me:$LINENO: error: conditional \"FOUND_JIKES\" was never defined.
20024 Usually this means the macro was only invoked conditionally." >&5
20025 echo "$as_me: error: conditional \"FOUND_JIKES\" was never defined.
20026 Usually this means the macro was only invoked conditionally." >&2;}
20027 { (exit 1); exit 1; }; }
20029 if test -z "${FOUND_ECJ_TRUE}" && test -z "${FOUND_ECJ_FALSE}"; then
20030 { { echo "$as_me:$LINENO: error: conditional \"FOUND_ECJ\" was never defined.
20031 Usually this means the macro was only invoked conditionally." >&5
20032 echo "$as_me: error: conditional \"FOUND_ECJ\" was never defined.
20033 Usually this means the macro was only invoked conditionally." >&2;}
20034 { (exit 1); exit 1; }; }
20036 if test -z "${FOUND_KJC_TRUE}" && test -z "${FOUND_KJC_FALSE}"; then
20037 { { echo "$as_me:$LINENO: error: conditional \"FOUND_KJC\" was never defined.
20038 Usually this means the macro was only invoked conditionally." >&5
20039 echo "$as_me: error: conditional \"FOUND_KJC\" was never defined.
20040 Usually this means the macro was only invoked conditionally." >&2;}
20041 { (exit 1); exit 1; }; }
20043 if test -z "${FOUND_GCJX_TRUE}" && test -z "${FOUND_GCJX_FALSE}"; then
20044 { { echo "$as_me:$LINENO: error: conditional \"FOUND_GCJX\" was never defined.
20045 Usually this means the macro was only invoked conditionally." >&5
20046 echo "$as_me: error: conditional \"FOUND_GCJX\" was never defined.
20047 Usually this means the macro was only invoked conditionally." >&2;}
20048 { (exit 1); exit 1; }; }
20050 if test -z "${USER_SPECIFIED_CLASSLIB_TRUE}" && test -z "${USER_SPECIFIED_CLASSLIB_FALSE}"; then
20051 { { echo "$as_me:$LINENO: error: conditional \"USER_SPECIFIED_CLASSLIB\" was never defined.
20052 Usually this means the macro was only invoked conditionally." >&5
20053 echo "$as_me: error: conditional \"USER_SPECIFIED_CLASSLIB\" was never defined.
20054 Usually this means the macro was only invoked conditionally." >&2;}
20055 { (exit 1); exit 1; }; }
20057 if test -z "${MAINTAINER_MODE_TRUE}" && test -z "${MAINTAINER_MODE_FALSE}"; then
20058 { { echo "$as_me:$LINENO: error: conditional \"MAINTAINER_MODE\" was never defined.
20059 Usually this means the macro was only invoked conditionally." >&5
20060 echo "$as_me: error: conditional \"MAINTAINER_MODE\" was never defined.
20061 Usually this means the macro was only invoked conditionally." >&2;}
20062 { (exit 1); exit 1; }; }
20064 if test -z "${INSTALL_GLIBJ_ZIP_TRUE}" && test -z "${INSTALL_GLIBJ_ZIP_FALSE}"; then
20065 { { echo "$as_me:$LINENO: error: conditional \"INSTALL_GLIBJ_ZIP\" was never defined.
20066 Usually this means the macro was only invoked conditionally." >&5
20067 echo "$as_me: error: conditional \"INSTALL_GLIBJ_ZIP\" was never defined.
20068 Usually this means the macro was only invoked conditionally." >&2;}
20069 { (exit 1); exit 1; }; }
20071 if test -z "${INSTALL_CLASS_FILES_TRUE}" && test -z "${INSTALL_CLASS_FILES_FALSE}"; then
20072 { { echo "$as_me:$LINENO: error: conditional \"INSTALL_CLASS_FILES\" was never defined.
20073 Usually this means the macro was only invoked conditionally." >&5
20074 echo "$as_me: error: conditional \"INSTALL_CLASS_FILES\" was never defined.
20075 Usually this means the macro was only invoked conditionally." >&2;}
20076 { (exit 1); exit 1; }; }
20078 if test -z "${BUILD_CLASS_FILES_TRUE}" && test -z "${BUILD_CLASS_FILES_FALSE}"; then
20079 { { echo "$as_me:$LINENO: error: conditional \"BUILD_CLASS_FILES\" was never defined.
20080 Usually this means the macro was only invoked conditionally." >&5
20081 echo "$as_me: error: conditional \"BUILD_CLASS_FILES\" was never defined.
20082 Usually this means the macro was only invoked conditionally." >&2;}
20083 { (exit 1); exit 1; }; }
20085 if test -z "${CREATE_API_DOCS_TRUE}" && test -z "${CREATE_API_DOCS_FALSE}"; then
20086 { { echo "$as_me:$LINENO: error: conditional \"CREATE_API_DOCS\" was never defined.
20087 Usually this means the macro was only invoked conditionally." >&5
20088 echo "$as_me: error: conditional \"CREATE_API_DOCS\" was never defined.
20089 Usually this means the macro was only invoked conditionally." >&2;}
20090 { (exit 1); exit 1; }; }
20092 if test -z "${REGEN_PARSERS_TRUE}" && test -z "${REGEN_PARSERS_FALSE}"; then
20093 { { echo "$as_me:$LINENO: error: conditional \"REGEN_PARSERS\" was never defined.
20094 Usually this means the macro was only invoked conditionally." >&5
20095 echo "$as_me: error: conditional \"REGEN_PARSERS\" was never defined.
20096 Usually this means the macro was only invoked conditionally." >&2;}
20097 { (exit 1); exit 1; }; }
20099 if test -z "${USE_PREBUILT_GLIBJ_ZIP_TRUE}" && test -z "${USE_PREBUILT_GLIBJ_ZIP_FALSE}"; then
20100 { { echo "$as_me:$LINENO: error: conditional \"USE_PREBUILT_GLIBJ_ZIP\" was never defined.
20101 Usually this means the macro was only invoked conditionally." >&5
20102 echo "$as_me: error: conditional \"USE_PREBUILT_GLIBJ_ZIP\" was never defined.
20103 Usually this means the macro was only invoked conditionally." >&2;}
20104 { (exit 1); exit 1; }; }
20106 if test -z "${USE_ESCHER_TRUE}" && test -z "${USE_ESCHER_FALSE}"; then
20107 { { echo "$as_me:$LINENO: error: conditional \"USE_ESCHER\" was never defined.
20108 Usually this means the macro was only invoked conditionally." >&5
20109 echo "$as_me: error: conditional \"USE_ESCHER\" was never defined.
20110 Usually this means the macro was only invoked conditionally." >&2;}
20111 { (exit 1); exit 1; }; }
20113 if test -z "${ENABLE_LOCAL_SOCKETS_TRUE}" && test -z "${ENABLE_LOCAL_SOCKETS_FALSE}"; then
20114 { { echo "$as_me:$LINENO: error: conditional \"ENABLE_LOCAL_SOCKETS\" was never defined.
20115 Usually this means the macro was only invoked conditionally." >&5
20116 echo "$as_me: error: conditional \"ENABLE_LOCAL_SOCKETS\" was never defined.
20117 Usually this means the macro was only invoked conditionally." >&2;}
20118 { (exit 1); exit 1; }; }
20121 : ${CONFIG_STATUS=./config.status}
20122 ac_clean_files_save
=$ac_clean_files
20123 ac_clean_files
="$ac_clean_files $CONFIG_STATUS"
20124 { echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
20125 echo "$as_me: creating $CONFIG_STATUS" >&6;}
20126 cat >$CONFIG_STATUS <<_ACEOF
20128 # Generated by $as_me.
20129 # Run this file to recreate the current configuration.
20130 # Compiler output produced by configure, useful for debugging
20131 # configure, is in config.log if it exists.
20134 ac_cs_recheck=false
20136 SHELL=\${CONFIG_SHELL-$SHELL}
20139 cat >>$CONFIG_STATUS <<\_ACEOF
20140 ## --------------------- ##
20141 ## M4sh Initialization. ##
20142 ## --------------------- ##
20144 # Be Bourne compatible
20145 if test -n "${ZSH_VERSION+set}" && (emulate sh
) >/dev
/null
2>&1; then
20148 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
20149 # is contrary to our usage. Disable this feature.
20150 alias -g '${1+"$@"}'='"$@"'
20151 elif test -n "${BASH_VERSION+set}" && (set -o posix
) >/dev
/null
2>&1; then
20154 DUALCASE
=1; export DUALCASE
# for MKS sh
20156 # Support unset when possible.
20157 if ( (MAIL
=60; unset MAIL
) ||
exit) >/dev
/null
2>&1; then
20164 # Work around bugs in pre-3.0 UWIN ksh.
20165 $as_unset ENV MAIL MAILPATH
20172 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
20173 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
20174 LC_TELEPHONE LC_TIME
20176 if (set +x
; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
20177 eval $as_var=C
; export $as_var
20183 # Required to use basename.
20184 if expr a
: '\(a\)' >/dev
/null
2>&1; then
20190 if (basename /) >/dev
/null
2>&1 && test "X`basename / 2>&1`" = "X/"; then
20191 as_basename
=basename
20197 # Name of the executable.
20198 as_me
=`$as_basename "$0" ||
20199 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
20200 X"$0" : 'X\(//\)$' \| \
20201 X"$0" : 'X\(/\)$' \| \
20202 . : '\(.\)' 2>/dev/null ||
20204 sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; }
20205 /^X\/\(\/\/\)$/{ s//\1/; q; }
20206 /^X\/\(\/\).*/{ s//\1/; q; }
20210 # PATH needs CR, and LINENO needs CR and PATH.
20211 # Avoid depending upon Character Ranges.
20212 as_cr_letters
='abcdefghijklmnopqrstuvwxyz'
20213 as_cr_LETTERS
='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
20214 as_cr_Letters
=$as_cr_letters$as_cr_LETTERS
20215 as_cr_digits
='0123456789'
20216 as_cr_alnum
=$as_cr_Letters$as_cr_digits
20218 # The user is always right.
20219 if test "${PATH_SEPARATOR+set}" != set; then
20220 echo "#! /bin/sh" >conf$$.sh
20221 echo "exit 0" >>conf$$.sh
20223 if (PATH
="/nonexistent;."; conf$$.sh
) >/dev
/null
2>&1; then
20232 as_lineno_1
=$LINENO
20233 as_lineno_2
=$LINENO
20234 as_lineno_3
=`(expr $as_lineno_1 + 1) 2>/dev/null`
20235 test "x$as_lineno_1" != "x$as_lineno_2" &&
20236 test "x$as_lineno_3" = "x$as_lineno_2" ||
{
20237 # Find who we are. Look in the path if we contain no path at all
20240 *[\\/]* ) as_myself
=$0 ;;
20241 *) as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
20242 for as_dir
in $PATH
20245 test -z "$as_dir" && as_dir
=.
20246 test -r "$as_dir/$0" && as_myself
=$as_dir/$0 && break
20251 # We did not find ourselves, most probably we were run as `sh COMMAND'
20252 # in which case we are not to be found in the path.
20253 if test "x$as_myself" = x
; then
20256 if test ! -f "$as_myself"; then
20257 { { echo "$as_me:$LINENO: error: cannot find myself; rerun with an absolute path" >&5
20258 echo "$as_me: error: cannot find myself; rerun with an absolute path" >&2;}
20259 { (exit 1); exit 1; }; }
20261 case $CONFIG_SHELL in
20263 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
20264 for as_dir
in /bin
$PATH_SEPARATOR/usr
/bin
$PATH_SEPARATOR$PATH
20267 test -z "$as_dir" && as_dir
=.
20268 for as_base
in sh bash ksh sh5
; do
20271 if ("$as_dir/$as_base" -c '
20272 as_lineno_1=$LINENO
20273 as_lineno_2=$LINENO
20274 as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
20275 test "x$as_lineno_1" != "x$as_lineno_2" &&
20276 test "x$as_lineno_3" = "x$as_lineno_2" ') 2>/dev
/null
; then
20277 $as_unset BASH_ENV ||
test "${BASH_ENV+set}" != set ||
{ BASH_ENV
=; export BASH_ENV
; }
20278 $as_unset ENV ||
test "${ENV+set}" != set ||
{ ENV
=; export ENV
; }
20279 CONFIG_SHELL
=$as_dir/$as_base
20280 export CONFIG_SHELL
20281 exec "$CONFIG_SHELL" "$0" ${1+"$@"}
20289 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
20290 # uniformly replaced by the line number. The first 'sed' inserts a
20291 # line-number line before each line; the second 'sed' does the real
20292 # work. The second script uses 'N' to pair each line-number line
20293 # with the numbered line, and appends trailing '-' during
20294 # substitution so that $LINENO is not a special case at line end.
20295 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
20296 # second 'sed' script. Blame Lee E. McMahon for sed's syntax. :-)
20297 sed '=' <$as_myself |
20302 s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3,
20305 s,^['$as_cr_digits']*\n,,
20306 ' >$as_me.lineno
&&
20307 chmod +x
$as_me.lineno ||
20308 { { echo "$as_me:$LINENO: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&5
20309 echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2;}
20310 { (exit 1); exit 1; }; }
20312 # Don't try to exec as it changes $[0], causing all sort of problems
20313 # (the dirname of $[0] is not the place where we might find the
20314 # original and so on. Autoconf is especially sensible to this).
20316 # Exit status is that of the last command.
20321 case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in
20322 *c
*,-n*) ECHO_N
= ECHO_C
='
20324 *c
*,* ) ECHO_N
=-n ECHO_C
= ECHO_T
= ;;
20325 *) ECHO_N
= ECHO_C
='\c' ECHO_T
= ;;
20328 if expr a
: '\(a\)' >/dev
/null
2>&1; then
20334 rm -f conf$$ conf$$.exe conf$$.
file
20336 if ln -s conf$$.
file conf$$
2>/dev
/null
; then
20337 # We could just check for DJGPP; but this test a) works b) is more generic
20338 # and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04).
20339 if test -f conf$$.exe
; then
20340 # Don't use ln at all; we don't have any links
20345 elif ln conf$$.
file conf$$
2>/dev
/null
; then
20350 rm -f conf$$ conf$$.exe conf$$.
file
20352 if mkdir
-p .
2>/dev
/null
; then
20355 test -d .
/-p && rmdir .
/-p
20359 as_executable_p
="test -f"
20361 # Sed expression to map a string onto a valid CPP name.
20362 as_tr_cpp
="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
20364 # Sed expression to map a string onto a valid variable name.
20365 as_tr_sh
="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
20369 # We need space, tab and new line, in precisely that order.
20379 # Open the log real soon, to keep \$[0] and so on meaningful, and to
20380 # report actual input values of CONFIG_FILES etc. instead of their
20381 # values after options handling. Logging --version etc. is OK.
20385 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
20386 ## Running $as_me. ##
20391 This file was extended by GNU Classpath $as_me 0.94-pre, which was
20392 generated by GNU Autoconf 2.59. Invocation command line was
20394 CONFIG_FILES = $CONFIG_FILES
20395 CONFIG_HEADERS = $CONFIG_HEADERS
20396 CONFIG_LINKS = $CONFIG_LINKS
20397 CONFIG_COMMANDS = $CONFIG_COMMANDS
20401 echo "on `(hostname || uname -n) 2>/dev/null | sed 1q`" >&5
20405 # Files that config.status was made for.
20406 if test -n "$ac_config_files"; then
20407 echo "config_files=\"$ac_config_files\"" >>$CONFIG_STATUS
20410 if test -n "$ac_config_headers"; then
20411 echo "config_headers=\"$ac_config_headers\"" >>$CONFIG_STATUS
20414 if test -n "$ac_config_links"; then
20415 echo "config_links=\"$ac_config_links\"" >>$CONFIG_STATUS
20418 if test -n "$ac_config_commands"; then
20419 echo "config_commands=\"$ac_config_commands\"" >>$CONFIG_STATUS
20422 cat >>$CONFIG_STATUS <<\_ACEOF
20425 \`$as_me' instantiates files from templates according to the
20426 current configuration.
20428 Usage: $0 [OPTIONS] [FILE]...
20430 -h, --help print this help, then exit
20431 -V, --version print version number, then exit
20432 -q, --quiet do not print progress messages
20433 -d, --debug don't remove temporary files
20434 --recheck update $as_me by reconfiguring in the same conditions
20435 --file=FILE[:TEMPLATE]
20436 instantiate the configuration file FILE
20437 --header=FILE[:TEMPLATE]
20438 instantiate the configuration header FILE
20440 Configuration files:
20443 Configuration headers:
20446 Configuration links:
20449 Configuration commands:
20452 Report bugs to <bug-autoconf@gnu.org>."
20455 cat >>$CONFIG_STATUS <<_ACEOF
20457 GNU Classpath config.status 0.94-pre
20458 configured by $0, generated by GNU Autoconf 2.59,
20459 with options \\"`echo "$ac_configure_args" | sed 's/[\\""\`\$]/\\\\&/g'`\\"
20461 Copyright (C) 2003 Free Software Foundation, Inc.
20462 This config.status script is free software; the Free Software Foundation
20463 gives unlimited permission to copy, distribute and modify it."
20468 cat >>$CONFIG_STATUS <<\_ACEOF
20469 # If no file are specified by the user, then we need to provide default
20470 # value. By we need to know if files were specified by the user.
20476 ac_option
=`expr "x$1" : 'x\([^=]*\)='`
20477 ac_optarg
=`expr "x$1" : 'x[^=]*=\(.*\)'`
20485 *) # This is not an option, so the user has probably given explicit
20488 ac_need_defaults
=false
;;
20492 # Handling of the options.
20494 cat >>$CONFIG_STATUS <<\_ACEOF
20495 -recheck |
--recheck |
--rechec |
--reche |
--rech |
--rec |
--re |
--r)
20497 --version |
--vers* |
-V )
20498 echo "$ac_cs_version"; exit 0 ;;
20500 # Conflict between --help and --header
20501 { { echo "$as_me:$LINENO: error: ambiguous option: $1
20502 Try \`$0 --help' for more information." >&5
20503 echo "$as_me: error: ambiguous option: $1
20504 Try \`$0 --help' for more information." >&2;}
20505 { (exit 1); exit 1; }; };;
20506 --help |
--hel |
-h )
20507 echo "$ac_cs_usage"; exit 0 ;;
20508 --debug |
--d* |
-d )
20510 --file |
--fil |
--fi |
--f )
20512 CONFIG_FILES
="$CONFIG_FILES $ac_optarg"
20513 ac_need_defaults
=false
;;
20514 --header |
--heade |
--head |
--hea )
20516 CONFIG_HEADERS
="$CONFIG_HEADERS $ac_optarg"
20517 ac_need_defaults
=false
;;
20518 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
20519 |
-silent |
--silent |
--silen |
--sile |
--sil |
--si |
--s)
20522 # This is an error.
20523 -*) { { echo "$as_me:$LINENO: error: unrecognized option: $1
20524 Try \`$0 --help' for more information." >&5
20525 echo "$as_me: error: unrecognized option: $1
20526 Try \`$0 --help' for more information." >&2;}
20527 { (exit 1); exit 1; }; } ;;
20529 *) ac_config_targets
="$ac_config_targets $1" ;;
20535 ac_configure_extra_args
=
20537 if $ac_cs_silent; then
20539 ac_configure_extra_args
="$ac_configure_extra_args --silent"
20543 cat >>$CONFIG_STATUS <<_ACEOF
20544 if \$ac_cs_recheck; then
20545 echo "running $SHELL $0 " $ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6
20546 exec $SHELL $0 $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
20551 cat >>$CONFIG_STATUS <<_ACEOF
20553 # INIT-COMMANDS section.
20556 AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
20557 # variables for create stdint.h replacement
20560 ac_stdint_h="$ac_stdint_h"
20561 _ac_stdint_h=`echo "_$PACKAGE-$ac_stdint_h" | $as_tr_cpp`
20562 ac_cv_stdint_message="$ac_cv_stdint_message"
20563 ac_cv_header_stdint_t="$ac_cv_header_stdint_t"
20564 ac_cv_header_stdint_x="$ac_cv_header_stdint_x"
20565 ac_cv_header_stdint_o="$ac_cv_header_stdint_o"
20566 ac_cv_header_stdint_u="$ac_cv_header_stdint_u"
20567 ac_cv_type_uint64_t="$ac_cv_type_uint64_t"
20568 ac_cv_type_u_int64_t="$ac_cv_type_u_int64_t"
20569 ac_cv_char_data_model="$ac_cv_char_data_model"
20570 ac_cv_long_data_model="$ac_cv_long_data_model"
20571 ac_cv_type_int_least32_t="$ac_cv_type_int_least32_t"
20572 ac_cv_type_int_fast32_t="$ac_cv_type_int_fast32_t"
20573 ac_cv_type_intmax_t="$ac_cv_type_intmax_t"
20580 cat >>$CONFIG_STATUS <<\_ACEOF
20581 for ac_config_target
in $ac_config_targets
20583 case "$ac_config_target" in
20584 # Handling of arguments.
20585 "lib/mkcollections.pl" ) CONFIG_FILES
="$CONFIG_FILES lib/mkcollections.pl" ;;
20586 "Makefile" ) CONFIG_FILES
="$CONFIG_FILES Makefile" ;;
20587 "doc/Makefile" ) CONFIG_FILES
="$CONFIG_FILES doc/Makefile" ;;
20588 "doc/api/Makefile" ) CONFIG_FILES
="$CONFIG_FILES doc/api/Makefile" ;;
20589 "external/Makefile" ) CONFIG_FILES
="$CONFIG_FILES external/Makefile" ;;
20590 "external/sax/Makefile" ) CONFIG_FILES
="$CONFIG_FILES external/sax/Makefile" ;;
20591 "external/w3c_dom/Makefile" ) CONFIG_FILES
="$CONFIG_FILES external/w3c_dom/Makefile" ;;
20592 "external/relaxngDatatype/Makefile" ) CONFIG_FILES
="$CONFIG_FILES external/relaxngDatatype/Makefile" ;;
20593 "external/jsr166/Makefile" ) CONFIG_FILES
="$CONFIG_FILES external/jsr166/Makefile" ;;
20594 "gnu/classpath/Configuration.java" ) CONFIG_FILES
="$CONFIG_FILES gnu/classpath/Configuration.java" ;;
20595 "gnu/java/security/Configuration.java" ) CONFIG_FILES
="$CONFIG_FILES gnu/java/security/Configuration.java" ;;
20596 "include/Makefile" ) CONFIG_FILES
="$CONFIG_FILES include/Makefile" ;;
20597 "native/Makefile" ) CONFIG_FILES
="$CONFIG_FILES native/Makefile" ;;
20598 "native/fdlibm/Makefile" ) CONFIG_FILES
="$CONFIG_FILES native/fdlibm/Makefile" ;;
20599 "native/jawt/Makefile" ) CONFIG_FILES
="$CONFIG_FILES native/jawt/Makefile" ;;
20600 "native/jni/Makefile" ) CONFIG_FILES
="$CONFIG_FILES native/jni/Makefile" ;;
20601 "native/jni/classpath/Makefile" ) CONFIG_FILES
="$CONFIG_FILES native/jni/classpath/Makefile" ;;
20602 "native/jni/java-io/Makefile" ) CONFIG_FILES
="$CONFIG_FILES native/jni/java-io/Makefile" ;;
20603 "native/jni/java-lang/Makefile" ) CONFIG_FILES
="$CONFIG_FILES native/jni/java-lang/Makefile" ;;
20604 "native/jni/java-net/Makefile" ) CONFIG_FILES
="$CONFIG_FILES native/jni/java-net/Makefile" ;;
20605 "native/jni/java-nio/Makefile" ) CONFIG_FILES
="$CONFIG_FILES native/jni/java-nio/Makefile" ;;
20606 "native/jni/java-util/Makefile" ) CONFIG_FILES
="$CONFIG_FILES native/jni/java-util/Makefile" ;;
20607 "native/jni/gtk-peer/Makefile" ) CONFIG_FILES
="$CONFIG_FILES native/jni/gtk-peer/Makefile" ;;
20608 "native/jni/gconf-peer/Makefile" ) CONFIG_FILES
="$CONFIG_FILES native/jni/gconf-peer/Makefile" ;;
20609 "native/jni/qt-peer/Makefile" ) CONFIG_FILES
="$CONFIG_FILES native/jni/qt-peer/Makefile" ;;
20610 "native/jni/xmlj/Makefile" ) CONFIG_FILES
="$CONFIG_FILES native/jni/xmlj/Makefile" ;;
20611 "native/jni/midi-alsa/Makefile" ) CONFIG_FILES
="$CONFIG_FILES native/jni/midi-alsa/Makefile" ;;
20612 "native/jni/midi-dssi/Makefile" ) CONFIG_FILES
="$CONFIG_FILES native/jni/midi-dssi/Makefile" ;;
20613 "native/jni/native-lib/Makefile" ) CONFIG_FILES
="$CONFIG_FILES native/jni/native-lib/Makefile" ;;
20614 "native/plugin/Makefile" ) CONFIG_FILES
="$CONFIG_FILES native/plugin/Makefile" ;;
20615 "resource/Makefile" ) CONFIG_FILES
="$CONFIG_FILES resource/Makefile" ;;
20616 "resource/META-INF/services/java.util.prefs.PreferencesFactory" ) CONFIG_FILES
="$CONFIG_FILES resource/META-INF/services/java.util.prefs.PreferencesFactory" ;;
20617 "scripts/Makefile" ) CONFIG_FILES
="$CONFIG_FILES scripts/Makefile" ;;
20618 "scripts/classpath.spec" ) CONFIG_FILES
="$CONFIG_FILES scripts/classpath.spec" ;;
20619 "lib/Makefile" ) CONFIG_FILES
="$CONFIG_FILES lib/Makefile" ;;
20620 "lib/gen-classlist.sh" ) CONFIG_FILES
="$CONFIG_FILES lib/gen-classlist.sh" ;;
20621 "lib/copy-vmresources.sh" ) CONFIG_FILES
="$CONFIG_FILES lib/copy-vmresources.sh" ;;
20622 "tools/Makefile" ) CONFIG_FILES
="$CONFIG_FILES tools/Makefile" ;;
20623 "examples/Makefile" ) CONFIG_FILES
="$CONFIG_FILES examples/Makefile" ;;
20624 "examples/Makefile.jawt" ) CONFIG_FILES
="$CONFIG_FILES examples/Makefile.jawt" ;;
20625 "examples/Makefile.java2d" ) CONFIG_FILES
="$CONFIG_FILES examples/Makefile.java2d" ;;
20626 "tools/gappletviewer" ) CONFIG_FILES
="$CONFIG_FILES tools/gappletviewer" ;;
20627 "tools/gjarsigner" ) CONFIG_FILES
="$CONFIG_FILES tools/gjarsigner" ;;
20628 "tools/gkeytool" ) CONFIG_FILES
="$CONFIG_FILES tools/gkeytool" ;;
20629 "tools/gjar" ) CONFIG_FILES
="$CONFIG_FILES tools/gjar" ;;
20630 "tools/gnative2ascii" ) CONFIG_FILES
="$CONFIG_FILES tools/gnative2ascii" ;;
20631 "tools/gserialver" ) CONFIG_FILES
="$CONFIG_FILES tools/gserialver" ;;
20632 "tools/grmiregistry" ) CONFIG_FILES
="$CONFIG_FILES tools/grmiregistry" ;;
20633 "tools/gtnameserv" ) CONFIG_FILES
="$CONFIG_FILES tools/gtnameserv" ;;
20634 "tools/gorbd" ) CONFIG_FILES
="$CONFIG_FILES tools/gorbd" ;;
20635 "tools/grmid" ) CONFIG_FILES
="$CONFIG_FILES tools/grmid" ;;
20636 "tools/grmic" ) CONFIG_FILES
="$CONFIG_FILES tools/grmic" ;;
20637 "tools/gjavah" ) CONFIG_FILES
="$CONFIG_FILES tools/gjavah" ;;
20638 "$ac_config_links_1" ) CONFIG_LINKS
="$CONFIG_LINKS $ac_config_links_1" ;;
20639 "depfiles" ) CONFIG_COMMANDS
="$CONFIG_COMMANDS depfiles" ;;
20640 "mkcollections.pl" ) CONFIG_COMMANDS
="$CONFIG_COMMANDS mkcollections.pl" ;;
20641 "$ac_stdint_h" ) CONFIG_COMMANDS
="$CONFIG_COMMANDS $ac_stdint_h" ;;
20642 "gappletviewer" ) CONFIG_COMMANDS
="$CONFIG_COMMANDS gappletviewer" ;;
20643 "gjarsigner" ) CONFIG_COMMANDS
="$CONFIG_COMMANDS gjarsigner" ;;
20644 "gkeytool" ) CONFIG_COMMANDS
="$CONFIG_COMMANDS gkeytool" ;;
20645 "gjar" ) CONFIG_COMMANDS
="$CONFIG_COMMANDS gjar" ;;
20646 "gnative2ascii" ) CONFIG_COMMANDS
="$CONFIG_COMMANDS gnative2ascii" ;;
20647 "gserialver" ) CONFIG_COMMANDS
="$CONFIG_COMMANDS gserialver" ;;
20648 "grmiregistry" ) CONFIG_COMMANDS
="$CONFIG_COMMANDS grmiregistry" ;;
20649 "gtnameserv" ) CONFIG_COMMANDS
="$CONFIG_COMMANDS gtnameserv" ;;
20650 "gorbd" ) CONFIG_COMMANDS
="$CONFIG_COMMANDS gorbd" ;;
20651 "grmid" ) CONFIG_COMMANDS
="$CONFIG_COMMANDS grmid" ;;
20652 "grmic" ) CONFIG_COMMANDS
="$CONFIG_COMMANDS grmic" ;;
20653 "gjavah" ) CONFIG_COMMANDS
="$CONFIG_COMMANDS gjavah" ;;
20654 "gen-classlist" ) CONFIG_COMMANDS
="$CONFIG_COMMANDS gen-classlist" ;;
20655 "copy-vmresources" ) CONFIG_COMMANDS
="$CONFIG_COMMANDS copy-vmresources" ;;
20656 "include/config.h" ) CONFIG_HEADERS
="$CONFIG_HEADERS include/config.h" ;;
20657 *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
20658 echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
20659 { (exit 1); exit 1; }; };;
20663 # If the user did not use the arguments to specify the items to instantiate,
20664 # then the envvar interface is used. Set only those that are not.
20665 # We use the long form for the default assignment because of an extremely
20666 # bizarre bug on SunOS 4.1.3.
20667 if $ac_need_defaults; then
20668 test "${CONFIG_FILES+set}" = set || CONFIG_FILES
=$config_files
20669 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS
=$config_headers
20670 test "${CONFIG_LINKS+set}" = set || CONFIG_LINKS
=$config_links
20671 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS
=$config_commands
20674 # Have a temporary directory for convenience. Make it in the build tree
20675 # simply because there is no reason to put it here, and in addition,
20676 # creating and moving files from /tmp can sometimes cause problems.
20677 # Create a temporary directory, and hook for its removal unless debugging.
20680 trap 'exit_status=$?; rm -rf $tmp && exit $exit_status' 0
20681 trap '{ (exit 1); exit 1; }' 1 2 13 15
20684 # Create a (secure) tmp directory for tmp files.
20687 tmp
=`(umask 077 && mktemp -d -q "./confstatXXXXXX") 2>/dev/null` &&
20688 test -n "$tmp" && test -d "$tmp"
20691 tmp
=.
/confstat$$
-$RANDOM
20692 (umask 077 && mkdir
$tmp)
20695 echo "$me: cannot create a temporary directory in ." >&2
20696 { (exit 1); exit 1; }
20701 cat >>$CONFIG_STATUS <<_ACEOF
20704 # CONFIG_FILES section.
20707 # No need to generate the scripts if there are no CONFIG_FILES.
20708 # This happens for instance when ./config.status config.h
20709 if test -n "\$CONFIG_FILES"; then
20710 # Protect against being on the right side of a sed subst in config.status.
20711 sed 's/,@/@@/; s/@,/@@/; s/,;t t\$/@;t t/; /@;t t\$/s/[\\\\&,]/\\\\&/g;
20712 s/@@/,@/; s/@@/@,/; s/@;t t\$/,;t t/' >\$tmp/subs.sed <<\\CEOF
20713 s,@SHELL@,$SHELL,;t t
20714 s,@PATH_SEPARATOR@,$PATH_SEPARATOR,;t t
20715 s,@PACKAGE_NAME@,$PACKAGE_NAME,;t t
20716 s,@PACKAGE_TARNAME@,$PACKAGE_TARNAME,;t t
20717 s,@PACKAGE_VERSION@,$PACKAGE_VERSION,;t t
20718 s,@PACKAGE_STRING@,$PACKAGE_STRING,;t t
20719 s,@PACKAGE_BUGREPORT@,$PACKAGE_BUGREPORT,;t t
20720 s,@exec_prefix@,$exec_prefix,;t t
20721 s,@prefix@,$prefix,;t t
20722 s,@program_transform_name@,$program_transform_name,;t t
20723 s,@bindir@,$bindir,;t t
20724 s,@sbindir@,$sbindir,;t t
20725 s,@libexecdir@,$libexecdir,;t t
20726 s,@datadir@,$datadir,;t t
20727 s,@sysconfdir@,$sysconfdir,;t t
20728 s,@sharedstatedir@,$sharedstatedir,;t t
20729 s,@localstatedir@,$localstatedir,;t t
20730 s,@libdir@,$libdir,;t t
20731 s,@includedir@,$includedir,;t t
20732 s,@oldincludedir@,$oldincludedir,;t t
20733 s,@infodir@,$infodir,;t t
20734 s,@mandir@,$mandir,;t t
20735 s,@build_alias@,$build_alias,;t t
20736 s,@host_alias@,$host_alias,;t t
20737 s,@target_alias@,$target_alias,;t t
20738 s,@DEFS@,$DEFS,;t t
20739 s,@ECHO_C@,$ECHO_C,;t t
20740 s,@ECHO_N@,$ECHO_N,;t t
20741 s,@ECHO_T@,$ECHO_T,;t t
20742 s,@LIBS@,$LIBS,;t t
20743 s,@build@,$build,;t t
20744 s,@build_cpu@,$build_cpu,;t t
20745 s,@build_vendor@,$build_vendor,;t t
20746 s,@build_os@,$build_os,;t t
20747 s,@host@,$host,;t t
20748 s,@host_cpu@,$host_cpu,;t t
20749 s,@host_vendor@,$host_vendor,;t t
20750 s,@host_os@,$host_os,;t t
20751 s,@target@,$target,;t t
20752 s,@target_cpu@,$target_cpu,;t t
20753 s,@target_vendor@,$target_vendor,;t t
20754 s,@target_os@,$target_os,;t t
20755 s,@JAVA_MAINTAINER_MODE_TRUE@,$JAVA_MAINTAINER_MODE_TRUE,;t t
20756 s,@JAVA_MAINTAINER_MODE_FALSE@,$JAVA_MAINTAINER_MODE_FALSE,;t t
20757 s,@LIBVERSION@,$LIBVERSION,;t t
20758 s,@CLASSPATH_MODULE@,$CLASSPATH_MODULE,;t t
20759 s,@CLASSPATH_CONVENIENCE@,$CLASSPATH_CONVENIENCE,;t t
20760 s,@INSTALL_PROGRAM@,$INSTALL_PROGRAM,;t t
20761 s,@INSTALL_SCRIPT@,$INSTALL_SCRIPT,;t t
20762 s,@INSTALL_DATA@,$INSTALL_DATA,;t t
20763 s,@CYGPATH_W@,$CYGPATH_W,;t t
20764 s,@PACKAGE@,$PACKAGE,;t t
20765 s,@VERSION@,$VERSION,;t t
20766 s,@ACLOCAL@,$ACLOCAL,;t t
20767 s,@AUTOCONF@,$AUTOCONF,;t t
20768 s,@AUTOMAKE@,$AUTOMAKE,;t t
20769 s,@AUTOHEADER@,$AUTOHEADER,;t t
20770 s,@MAKEINFO@,$MAKEINFO,;t t
20771 s,@install_sh@,$install_sh,;t t
20772 s,@STRIP@,$STRIP,;t t
20773 s,@ac_ct_STRIP@,$ac_ct_STRIP,;t t
20774 s,@INSTALL_STRIP_PROGRAM@,$INSTALL_STRIP_PROGRAM,;t t
20775 s,@mkdir_p@,$mkdir_p,;t t
20777 s,@SET_MAKE@,$SET_MAKE,;t t
20778 s,@am__leading_dot@,$am__leading_dot,;t t
20779 s,@AMTAR@,$AMTAR,;t t
20780 s,@am__tar@,$am__tar,;t t
20781 s,@am__untar@,$am__untar,;t t
20782 s,@CREATE_COLLECTIONS_TRUE@,$CREATE_COLLECTIONS_TRUE,;t t
20783 s,@CREATE_COLLECTIONS_FALSE@,$CREATE_COLLECTIONS_FALSE,;t t
20784 s,@CREATE_JNI_LIBRARIES_TRUE@,$CREATE_JNI_LIBRARIES_TRUE,;t t
20785 s,@CREATE_JNI_LIBRARIES_FALSE@,$CREATE_JNI_LIBRARIES_FALSE,;t t
20786 s,@CREATE_CORE_JNI_LIBRARIES_TRUE@,$CREATE_CORE_JNI_LIBRARIES_TRUE,;t t
20787 s,@CREATE_CORE_JNI_LIBRARIES_FALSE@,$CREATE_CORE_JNI_LIBRARIES_FALSE,;t t
20788 s,@CREATE_GCONF_PEER_LIBRARIES_TRUE@,$CREATE_GCONF_PEER_LIBRARIES_TRUE,;t t
20789 s,@CREATE_GCONF_PEER_LIBRARIES_FALSE@,$CREATE_GCONF_PEER_LIBRARIES_FALSE,;t t
20790 s,@default_toolkit@,$default_toolkit,;t t
20791 s,@CREATE_XMLJ_LIBRARY_TRUE@,$CREATE_XMLJ_LIBRARY_TRUE,;t t
20792 s,@CREATE_XMLJ_LIBRARY_FALSE@,$CREATE_XMLJ_LIBRARY_FALSE,;t t
20794 s,@CFLAGS@,$CFLAGS,;t t
20795 s,@LDFLAGS@,$LDFLAGS,;t t
20796 s,@CPPFLAGS@,$CPPFLAGS,;t t
20797 s,@ac_ct_CC@,$ac_ct_CC,;t t
20798 s,@EXEEXT@,$EXEEXT,;t t
20799 s,@OBJEXT@,$OBJEXT,;t t
20800 s,@DEPDIR@,$DEPDIR,;t t
20801 s,@am__include@,$am__include,;t t
20802 s,@am__quote@,$am__quote,;t t
20803 s,@AMDEP_TRUE@,$AMDEP_TRUE,;t t
20804 s,@AMDEP_FALSE@,$AMDEP_FALSE,;t t
20805 s,@AMDEPBACKSLASH@,$AMDEPBACKSLASH,;t t
20806 s,@CCDEPMODE@,$CCDEPMODE,;t t
20807 s,@am__fastdepCC_TRUE@,$am__fastdepCC_TRUE,;t t
20808 s,@am__fastdepCC_FALSE@,$am__fastdepCC_FALSE,;t t
20810 s,@EGREP@,$EGREP,;t t
20811 s,@CREATE_ALSA_LIBRARIES_TRUE@,$CREATE_ALSA_LIBRARIES_TRUE,;t t
20812 s,@CREATE_ALSA_LIBRARIES_FALSE@,$CREATE_ALSA_LIBRARIES_FALSE,;t t
20813 s,@CREATE_DSSI_LIBRARIES_TRUE@,$CREATE_DSSI_LIBRARIES_TRUE,;t t
20814 s,@CREATE_DSSI_LIBRARIES_FALSE@,$CREATE_DSSI_LIBRARIES_FALSE,;t t
20815 s,@CREATE_GTK_PEER_LIBRARIES_TRUE@,$CREATE_GTK_PEER_LIBRARIES_TRUE,;t t
20816 s,@CREATE_GTK_PEER_LIBRARIES_FALSE@,$CREATE_GTK_PEER_LIBRARIES_FALSE,;t t
20817 s,@CREATE_QT_PEER_LIBRARIES_TRUE@,$CREATE_QT_PEER_LIBRARIES_TRUE,;t t
20818 s,@CREATE_QT_PEER_LIBRARIES_FALSE@,$CREATE_QT_PEER_LIBRARIES_FALSE,;t t
20819 s,@CREATE_PLUGIN_TRUE@,$CREATE_PLUGIN_TRUE,;t t
20820 s,@CREATE_PLUGIN_FALSE@,$CREATE_PLUGIN_FALSE,;t t
20821 s,@toolexeclibdir@,$toolexeclibdir,;t t
20822 s,@nativeexeclibdir@,$nativeexeclibdir,;t t
20823 s,@glibjdir@,$glibjdir,;t t
20824 s,@VM_BINARY@,$VM_BINARY,;t t
20825 s,@FOUND_CACAO_TRUE@,$FOUND_CACAO_TRUE,;t t
20826 s,@FOUND_CACAO_FALSE@,$FOUND_CACAO_FALSE,;t t
20827 s,@CREATE_JNI_HEADERS_TRUE@,$CREATE_JNI_HEADERS_TRUE,;t t
20828 s,@CREATE_JNI_HEADERS_FALSE@,$CREATE_JNI_HEADERS_FALSE,;t t
20829 s,@CREATE_WRAPPERS_TRUE@,$CREATE_WRAPPERS_TRUE,;t t
20830 s,@CREATE_WRAPPERS_FALSE@,$CREATE_WRAPPERS_FALSE,;t t
20831 s,@LN_S@,$LN_S,;t t
20832 s,@RANLIB@,$RANLIB,;t t
20833 s,@ac_ct_RANLIB@,$ac_ct_RANLIB,;t t
20834 s,@LIBTOOL@,$LIBTOOL,;t t
20836 s,@CXXFLAGS@,$CXXFLAGS,;t t
20837 s,@ac_ct_CXX@,$ac_ct_CXX,;t t
20838 s,@CXXDEPMODE@,$CXXDEPMODE,;t t
20839 s,@am__fastdepCXX_TRUE@,$am__fastdepCXX_TRUE,;t t
20840 s,@am__fastdepCXX_FALSE@,$am__fastdepCXX_FALSE,;t t
20841 s,@CXXCPP@,$CXXCPP,;t t
20842 s,@PERL@,$PERL,;t t
20843 s,@COLLECTIONS_PREFIX@,$COLLECTIONS_PREFIX,;t t
20844 s,@LIBMAGIC@,$LIBMAGIC,;t t
20845 s,@LIBICONV@,$LIBICONV,;t t
20846 s,@LTLIBICONV@,$LTLIBICONV,;t t
20847 s,@WARNING_CFLAGS@,$WARNING_CFLAGS,;t t
20848 s,@STRICT_WARNING_CFLAGS@,$STRICT_WARNING_CFLAGS,;t t
20849 s,@ERROR_CFLAGS@,$ERROR_CFLAGS,;t t
20850 s,@PKG_CONFIG@,$PKG_CONFIG,;t t
20851 s,@XML_CFLAGS@,$XML_CFLAGS,;t t
20852 s,@XML_LIBS@,$XML_LIBS,;t t
20853 s,@XSLT_CFLAGS@,$XSLT_CFLAGS,;t t
20854 s,@XSLT_LIBS@,$XSLT_LIBS,;t t
20855 s,@X_CFLAGS@,$X_CFLAGS,;t t
20856 s,@X_PRE_LIBS@,$X_PRE_LIBS,;t t
20857 s,@X_LIBS@,$X_LIBS,;t t
20858 s,@X_EXTRA_LIBS@,$X_EXTRA_LIBS,;t t
20859 s,@GTK_CFLAGS@,$GTK_CFLAGS,;t t
20860 s,@GTK_LIBS@,$GTK_LIBS,;t t
20861 s,@FREETYPE2_CFLAGS@,$FREETYPE2_CFLAGS,;t t
20862 s,@FREETYPE2_LIBS@,$FREETYPE2_LIBS,;t t
20863 s,@PANGOFT2_CFLAGS@,$PANGOFT2_CFLAGS,;t t
20864 s,@PANGOFT2_LIBS@,$PANGOFT2_LIBS,;t t
20865 s,@XTEST_LIBS@,$XTEST_LIBS,;t t
20866 s,@GCONF_CFLAGS@,$GCONF_CFLAGS,;t t
20867 s,@GCONF_LIBS@,$GCONF_LIBS,;t t
20868 s,@GDK_CFLAGS@,$GDK_CFLAGS,;t t
20869 s,@GDK_LIBS@,$GDK_LIBS,;t t
20870 s,@QT_CFLAGS@,$QT_CFLAGS,;t t
20871 s,@QT_LIBS@,$QT_LIBS,;t t
20873 s,@MOZILLA_CFLAGS@,$MOZILLA_CFLAGS,;t t
20874 s,@MOZILLA_LIBS@,$MOZILLA_LIBS,;t t
20875 s,@GLIB_CFLAGS@,$GLIB_CFLAGS,;t t
20876 s,@GLIB_LIBS@,$GLIB_LIBS,;t t
20877 s,@PLUGIN_DIR@,$PLUGIN_DIR,;t t
20878 s,@USER_JAVAH@,$USER_JAVAH,;t t
20879 s,@USER_SPECIFIED_JAVAH_TRUE@,$USER_SPECIFIED_JAVAH_TRUE,;t t
20880 s,@USER_SPECIFIED_JAVAH_FALSE@,$USER_SPECIFIED_JAVAH_FALSE,;t t
20881 s,@CLASSPATH_INCLUDES@,$CLASSPATH_INCLUDES,;t t
20883 s,@JIKES@,$JIKES,;t t
20884 s,@JIKESENCODING@,$JIKESENCODING,;t t
20885 s,@JIKESWARNINGS@,$JIKESWARNINGS,;t t
20887 s,@GCJX@,$GCJX,;t t
20889 s,@FOUND_GCJ_TRUE@,$FOUND_GCJ_TRUE,;t t
20890 s,@FOUND_GCJ_FALSE@,$FOUND_GCJ_FALSE,;t t
20891 s,@FOUND_JIKES_TRUE@,$FOUND_JIKES_TRUE,;t t
20892 s,@FOUND_JIKES_FALSE@,$FOUND_JIKES_FALSE,;t t
20893 s,@FOUND_ECJ_TRUE@,$FOUND_ECJ_TRUE,;t t
20894 s,@FOUND_ECJ_FALSE@,$FOUND_ECJ_FALSE,;t t
20895 s,@FOUND_KJC_TRUE@,$FOUND_KJC_TRUE,;t t
20896 s,@FOUND_KJC_FALSE@,$FOUND_KJC_FALSE,;t t
20897 s,@FOUND_GCJX_TRUE@,$FOUND_GCJX_TRUE,;t t
20898 s,@FOUND_GCJX_FALSE@,$FOUND_GCJX_FALSE,;t t
20899 s,@USER_CLASSLIB@,$USER_CLASSLIB,;t t
20900 s,@USER_SPECIFIED_CLASSLIB_TRUE@,$USER_SPECIFIED_CLASSLIB_TRUE,;t t
20901 s,@USER_SPECIFIED_CLASSLIB_FALSE@,$USER_SPECIFIED_CLASSLIB_FALSE,;t t
20902 s,@vm_classes@,$vm_classes,;t t
20903 s,@MAINTAINER_MODE_TRUE@,$MAINTAINER_MODE_TRUE,;t t
20904 s,@MAINTAINER_MODE_FALSE@,$MAINTAINER_MODE_FALSE,;t t
20905 s,@MAINT@,$MAINT,;t t
20906 s,@LIBDEBUG@,$LIBDEBUG,;t t
20907 s,@INIT_LOAD_LIBRARY@,$INIT_LOAD_LIBRARY,;t t
20908 s,@JAVA_LANG_SYSTEM_EXPLICIT_INITIALIZATION@,$JAVA_LANG_SYSTEM_EXPLICIT_INITIALIZATION,;t t
20909 s,@REMOVE@,$REMOVE,;t t
20910 s,@MKDIR@,$MKDIR,;t t
20912 s,@DATE@,$DATE,;t t
20913 s,@FIND@,$FIND,;t t
20915 s,@FASTJAR@,$FASTJAR,;t t
20916 s,@INSTALL_GLIBJ_ZIP_TRUE@,$INSTALL_GLIBJ_ZIP_TRUE,;t t
20917 s,@INSTALL_GLIBJ_ZIP_FALSE@,$INSTALL_GLIBJ_ZIP_FALSE,;t t
20918 s,@INSTALL_CLASS_FILES_TRUE@,$INSTALL_CLASS_FILES_TRUE,;t t
20919 s,@INSTALL_CLASS_FILES_FALSE@,$INSTALL_CLASS_FILES_FALSE,;t t
20920 s,@BUILD_CLASS_FILES_TRUE@,$BUILD_CLASS_FILES_TRUE,;t t
20921 s,@BUILD_CLASS_FILES_FALSE@,$BUILD_CLASS_FILES_FALSE,;t t
20922 s,@EXAMPLESDIR@,$EXAMPLESDIR,;t t
20923 s,@GJDOC@,$GJDOC,;t t
20924 s,@CREATE_API_DOCS_TRUE@,$CREATE_API_DOCS_TRUE,;t t
20925 s,@CREATE_API_DOCS_FALSE@,$CREATE_API_DOCS_FALSE,;t t
20927 s,@JAY_SKELETON@,$JAY_SKELETON,;t t
20928 s,@REGEN_PARSERS_TRUE@,$REGEN_PARSERS_TRUE,;t t
20929 s,@REGEN_PARSERS_FALSE@,$REGEN_PARSERS_FALSE,;t t
20930 s,@USE_PREBUILT_GLIBJ_ZIP_TRUE@,$USE_PREBUILT_GLIBJ_ZIP_TRUE,;t t
20931 s,@USE_PREBUILT_GLIBJ_ZIP_FALSE@,$USE_PREBUILT_GLIBJ_ZIP_FALSE,;t t
20932 s,@PATH_TO_GLIBJ_ZIP@,$PATH_TO_GLIBJ_ZIP,;t t
20933 s,@USE_ESCHER_TRUE@,$USE_ESCHER_TRUE,;t t
20934 s,@USE_ESCHER_FALSE@,$USE_ESCHER_FALSE,;t t
20935 s,@PATH_TO_ESCHER@,$PATH_TO_ESCHER,;t t
20936 s,@ENABLE_LOCAL_SOCKETS_TRUE@,$ENABLE_LOCAL_SOCKETS_TRUE,;t t
20937 s,@ENABLE_LOCAL_SOCKETS_FALSE@,$ENABLE_LOCAL_SOCKETS_FALSE,;t t
20938 s,@DEFAULT_PREFS_PEER@,$DEFAULT_PREFS_PEER,;t t
20939 s,@LIBOBJS@,$LIBOBJS,;t t
20940 s,@LTLIBOBJS@,$LTLIBOBJS,;t t
20945 cat >>$CONFIG_STATUS <<\_ACEOF
20946 # Split the substitutions into bite-sized pieces for seds with
20947 # small command number limits, like on Digital OSF/1 and HP-UX.
20948 ac_max_sed_lines
=48
20949 ac_sed_frag
=1 # Number of current file.
20950 ac_beg
=1 # First line for current file.
20951 ac_end
=$ac_max_sed_lines # Line after last line for current file.
20954 while $ac_more_lines; do
20955 if test $ac_beg -gt 1; then
20956 sed "1,${ac_beg}d; ${ac_end}q" $tmp/subs.
sed >$tmp/subs.frag
20958 sed "${ac_end}q" $tmp/subs.
sed >$tmp/subs.frag
20960 if test ! -s $tmp/subs.frag
; then
20961 ac_more_lines
=false
20963 # The purpose of the label and of the branching condition is to
20964 # speed up the sed processing (if there are no `@' at all, there
20965 # is no need to browse any of the substitutions).
20966 # These are the two extra sed commands mentioned above.
20968 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b' && cat $tmp/subs.frag
) >$tmp/subs-
$ac_sed_frag.
sed
20969 if test -z "$ac_sed_cmds"; then
20970 ac_sed_cmds
="sed -f $tmp/subs-$ac_sed_frag.sed"
20972 ac_sed_cmds
="$ac_sed_cmds | sed -f $tmp/subs-$ac_sed_frag.sed"
20974 ac_sed_frag
=`expr $ac_sed_frag + 1`
20976 ac_end
=`expr $ac_end + $ac_max_sed_lines`
20979 if test -z "$ac_sed_cmds"; then
20982 fi # test -n "$CONFIG_FILES"
20985 cat >>$CONFIG_STATUS <<\_ACEOF
20986 for ac_file
in : $CONFIG_FILES; do test "x$ac_file" = x
: && continue
20987 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
20989 - |
*:- |
*:-:* ) # input from stdin
20991 ac_file_in
=`echo "$ac_file" | sed 's,[^:]*:,,'`
20992 ac_file
=`echo "$ac_file" | sed 's,:.*,,'` ;;
20993 *:* ) ac_file_in
=`echo "$ac_file" | sed 's,[^:]*:,,'`
20994 ac_file
=`echo "$ac_file" | sed 's,:.*,,'` ;;
20995 * ) ac_file_in
=$ac_file.
in ;;
20998 # Compute @srcdir@, @top_srcdir@, and @INSTALL@ for subdirectories.
20999 ac_dir
=`(dirname "$ac_file") 2>/dev/null ||
21000 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
21001 X"$ac_file" : 'X\(//\)[^/]' \| \
21002 X"$ac_file" : 'X\(//\)$' \| \
21003 X"$ac_file" : 'X\(/\)' \| \
21004 . : '\(.\)' 2>/dev/null ||
21006 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
21007 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
21008 /^X\(\/\/\)$/{ s//\1/; q; }
21009 /^X\(\/\).*/{ s//\1/; q; }
21011 { if $as_mkdir_p; then
21016 while test ! -d "$as_dir"; do
21017 as_dirs
="$as_dir $as_dirs"
21018 as_dir
=`(dirname "$as_dir") 2>/dev/null ||
21019 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
21020 X"$as_dir" : 'X\(//\)[^/]' \| \
21021 X"$as_dir" : 'X\(//\)$' \| \
21022 X"$as_dir" : 'X\(/\)' \| \
21023 . : '\(.\)' 2>/dev/null ||
21025 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
21026 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
21027 /^X\(\/\/\)$/{ s//\1/; q; }
21028 /^X\(\/\).*/{ s//\1/; q; }
21031 test ! -n "$as_dirs" || mkdir
$as_dirs
21032 fi ||
{ { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
21033 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
21034 { (exit 1); exit 1; }; }; }
21038 if test "$ac_dir" != .
; then
21039 ac_dir_suffix
=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
21040 # A "../" for each directory in $ac_dir_suffix.
21041 ac_top_builddir
=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
21043 ac_dir_suffix
= ac_top_builddir
=
21047 .
) # No --srcdir option. We are building in place.
21049 if test -z "$ac_top_builddir"; then
21052 ac_top_srcdir
=`echo $ac_top_builddir | sed 's,/$,,'`
21054 [\\/]* | ?
:[\\/]* ) # Absolute path.
21055 ac_srcdir
=$srcdir$ac_dir_suffix;
21056 ac_top_srcdir
=$srcdir ;;
21057 *) # Relative path.
21058 ac_srcdir
=$ac_top_builddir$srcdir$ac_dir_suffix
21059 ac_top_srcdir
=$ac_top_builddir$srcdir ;;
21062 # Do not use `cd foo && pwd` to compute absolute paths, because
21063 # the directories may not exist.
21065 .
) ac_abs_builddir
="$ac_dir";;
21068 .
) ac_abs_builddir
=`pwd`;;
21069 [\\/]* | ?
:[\\/]* ) ac_abs_builddir
="$ac_dir";;
21070 *) ac_abs_builddir
=`pwd`/"$ac_dir";;
21073 case $ac_abs_builddir in
21074 .
) ac_abs_top_builddir
=${ac_top_builddir}.
;;
21076 case ${ac_top_builddir}.
in
21077 .
) ac_abs_top_builddir
=$ac_abs_builddir;;
21078 [\\/]* | ?
:[\\/]* ) ac_abs_top_builddir
=${ac_top_builddir}.
;;
21079 *) ac_abs_top_builddir
=$ac_abs_builddir/${ac_top_builddir}.
;;
21082 case $ac_abs_builddir in
21083 .
) ac_abs_srcdir
=$ac_srcdir;;
21086 .
) ac_abs_srcdir
=$ac_abs_builddir;;
21087 [\\/]* | ?
:[\\/]* ) ac_abs_srcdir
=$ac_srcdir;;
21088 *) ac_abs_srcdir
=$ac_abs_builddir/$ac_srcdir;;
21091 case $ac_abs_builddir in
21092 .
) ac_abs_top_srcdir
=$ac_top_srcdir;;
21094 case $ac_top_srcdir in
21095 .
) ac_abs_top_srcdir
=$ac_abs_builddir;;
21096 [\\/]* | ?
:[\\/]* ) ac_abs_top_srcdir
=$ac_top_srcdir;;
21097 *) ac_abs_top_srcdir
=$ac_abs_builddir/$ac_top_srcdir;;
21103 [\\/$
]* | ?
:[\\/]* ) ac_INSTALL
=$INSTALL ;;
21104 *) ac_INSTALL
=$ac_top_builddir$INSTALL ;;
21107 if test x
"$ac_file" != x-
; then
21108 { echo "$as_me:$LINENO: creating $ac_file" >&5
21109 echo "$as_me: creating $ac_file" >&6;}
21112 # Let's still pretend it is `configure' which instantiates (i.e., don't
21113 # use $as_me), people would be surprised to read:
21114 # /* config.h. Generated by config.status. */
21115 if test x
"$ac_file" = x-
; then
21118 configure_input
="$ac_file. "
21120 configure_input
=$configure_input"Generated from `echo $ac_file_in |
21121 sed 's,.*/,,'` by configure."
21123 # First look for the input files in the build tree, otherwise in the
21125 ac_file_inputs
=`IFS=:
21126 for f in $ac_file_in; do
21128 -) echo $tmp/stdin ;;
21130 # Absolute (can't be DOS-style, as IFS=:)
21131 test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
21132 echo "$as_me: error: cannot find input file: $f" >&2;}
21133 { (exit 1); exit 1; }; }
21136 if test -f "$f"; then
21139 elif test -f "$srcdir/$f"; then
21144 { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
21145 echo "$as_me: error: cannot find input file: $f" >&2;}
21146 { (exit 1); exit 1; }; }
21149 done` ||
{ (exit 1); exit 1; }
21151 cat >>$CONFIG_STATUS <<_ACEOF
21155 cat >>$CONFIG_STATUS <<\_ACEOF
21157 /@
[a-zA-Z_
][a-zA-Z_0-9
]*@
/!b
21158 s
,@configure_input@
,$configure_input,;t t
21159 s
,@srcdir@
,$ac_srcdir,;t t
21160 s
,@abs_srcdir@
,$ac_abs_srcdir,;t t
21161 s
,@top_srcdir@
,$ac_top_srcdir,;t t
21162 s
,@abs_top_srcdir@
,$ac_abs_top_srcdir,;t t
21163 s
,@builddir@
,$ac_builddir,;t t
21164 s
,@abs_builddir@
,$ac_abs_builddir,;t t
21165 s
,@top_builddir@
,$ac_top_builddir,;t t
21166 s
,@abs_top_builddir@
,$ac_abs_top_builddir,;t t
21167 s
,@INSTALL@
,$ac_INSTALL,;t t
21168 " $ac_file_inputs | (eval "$ac_sed_cmds") >$tmp/out
21170 if test x"$ac_file" != x-; then
21171 mv $tmp/out $ac_file
21179 cat >>$CONFIG_STATUS <<\_ACEOF
21182 # CONFIG_HEADER section.
21185 # These sed commands are passed to sed as "A NAME B NAME C VALUE D
", where
21186 # NAME is the cpp macro being defined and VALUE is the value it is being given.
21188 # ac_d sets the value in "#define NAME VALUE" lines.
21189 ac_dA
='s,^\([ ]*\)#\([ ]*define[ ][ ]*\)'
21190 ac_dB
='[ ].*$,\1#\2'
21193 # ac_u turns "#undef NAME" without trailing blanks into "#define NAME VALUE".
21194 ac_uA
='s,^\([ ]*\)#\([ ]*\)undef\([ ][ ]*\)'
21195 ac_uB
='$,\1#\2define\3'
21199 for ac_file
in : $CONFIG_HEADERS; do test "x$ac_file" = x
: && continue
21200 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
21202 - |
*:- |
*:-:* ) # input from stdin
21204 ac_file_in
=`echo "$ac_file" | sed 's,[^:]*:,,'`
21205 ac_file
=`echo "$ac_file" | sed 's,:.*,,'` ;;
21206 *:* ) ac_file_in
=`echo "$ac_file" | sed 's,[^:]*:,,'`
21207 ac_file
=`echo "$ac_file" | sed 's,:.*,,'` ;;
21208 * ) ac_file_in
=$ac_file.
in ;;
21211 test x
"$ac_file" != x-
&& { echo "$as_me:$LINENO: creating $ac_file" >&5
21212 echo "$as_me: creating $ac_file" >&6;}
21214 # First look for the input files in the build tree, otherwise in the
21216 ac_file_inputs
=`IFS=:
21217 for f in $ac_file_in; do
21219 -) echo $tmp/stdin ;;
21221 # Absolute (can't be DOS-style, as IFS=:)
21222 test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
21223 echo "$as_me: error: cannot find input file: $f" >&2;}
21224 { (exit 1); exit 1; }; }
21225 # Do quote $f, to prevent DOS paths from being IFS'd.
21228 if test -f "$f"; then
21231 elif test -f "$srcdir/$f"; then
21236 { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
21237 echo "$as_me: error: cannot find input file: $f" >&2;}
21238 { (exit 1); exit 1; }; }
21241 done` ||
{ (exit 1); exit 1; }
21242 # Remove the trailing spaces.
21243 sed 's/[ ]*$//' $ac_file_inputs >$tmp/in
21247 # Transform confdefs.h into two sed scripts, `conftest.defines' and
21248 # `conftest.undefs', that substitutes the proper values into
21249 # config.h.in to produce config.h. The first handles `#define'
21250 # templates, and the second `#undef' templates.
21251 # And first: Protect against being on the right side of a sed subst in
21252 # config.status. Protect against being in an unquoted here document
21253 # in config.status.
21254 rm -f conftest.defines conftest.undefs
21255 # Using a here document instead of a string reduces the quoting nightmare.
21256 # Putting comments in sed scripts is not portable.
21258 # `end' is used to avoid that the second main sed command (meant for
21259 # 0-ary CPP macros) applies to n-ary macro definitions.
21260 # See the Autoconf documentation for `clear'.
21261 cat >confdef2sed.
sed <<\_ACEOF
21266 s,^[ ]*#[ ]*define[ ][ ]*\([^ (][^ (]*\)\(([^)]*)\)[ ]*\(.*\)$,${ac_dA}\1${ac_dB}\1\2${ac_dC}\3${ac_dD},gp
21268 s,^[ ]*#[ ]*define[ ][ ]*\([^ ][^ ]*\)[ ]*\(.*\)$,${ac_dA}\1${ac_dB}\1${ac_dC}\2${ac_dD},gp
21271 # If some macros were called several times there might be several times
21272 # the same #defines, which is useless. Nevertheless, we may not want to
21273 # sort them, since we want the *last* AC-DEFINE to be honored.
21274 uniq confdefs.h | sed -n -f confdef2sed.sed >conftest.defines
21275 sed 's/ac_d/ac_u/g' conftest.defines >conftest.undefs
21276 rm -f confdef2sed.sed
21278 # This sed command replaces #undef with comments. This is necessary, for
21279 # example, in the case of _POSIX_SOURCE, which is predefined and required
21280 # on some systems where configure will not decide to define it.
21281 cat >>conftest.undefs <<\_ACEOF
21282 s,^[ ]*#[ ]*undef[ ][ ]*[a-zA-Z_][a-zA-Z_0-9]*,/* & */,
21285 # Break up conftest.defines because some shells have a limit on the size
21286 # of here documents, and old seds have small limits too (100 cmds).
21287 echo ' # Handle all the #define templates only if necessary.' >>$CONFIG_STATUS
21288 echo ' if grep "^[ ]*#[ ]*define" $tmp/in >/dev/null; then' >>$CONFIG_STATUS
21289 echo ' # If there are no defines, we may have an empty if/fi' >>$CONFIG_STATUS
21290 echo ' :' >>$CONFIG_STATUS
21291 rm -f conftest.tail
21292 while grep . conftest.defines >/dev/null
21294 # Write a limited-size here document to $tmp/defines.sed.
21295 echo ' cat >$tmp/defines.sed <<CEOF' >>$CONFIG_STATUS
21296 # Speed up: don't consider the non `#define' lines.
21297 echo '/^[ ]*#[ ]*define/!b' >>$CONFIG_STATUS
21298 # Work around the forget-to-reset-the-flag bug.
21299 echo 't clr' >>$CONFIG_STATUS
21300 echo ': clr' >>$CONFIG_STATUS
21301 sed ${ac_max_here_lines}q conftest.defines
>>$CONFIG_STATUS
21303 sed -f $tmp/defines.sed $tmp/in >$tmp/out
21305 mv $tmp/out $tmp/in
21307 sed 1,${ac_max_here_lines}d conftest.defines
>conftest.
tail
21308 rm -f conftest.defines
21309 mv conftest.
tail conftest.defines
21311 rm -f conftest.defines
21312 echo ' fi # grep' >>$CONFIG_STATUS
21313 echo >>$CONFIG_STATUS
21315 # Break up conftest.undefs because some shells have a limit on the size
21316 # of here documents, and old seds have small limits too (100 cmds).
21317 echo ' # Handle all the #undef templates' >>$CONFIG_STATUS
21318 rm -f conftest.
tail
21319 while grep . conftest.undefs
>/dev
/null
21321 # Write a limited-size here document to $tmp/undefs.sed.
21322 echo ' cat >$tmp/undefs.sed <<CEOF' >>$CONFIG_STATUS
21323 # Speed up: don't consider the non
`#undef'
21324 echo '/^[ ]*#[ ]*undef/!b' >>$CONFIG_STATUS
21325 # Work around the forget-to-reset-the-flag bug.
21326 echo 't clr' >>$CONFIG_STATUS
21327 echo ': clr' >>$CONFIG_STATUS
21328 sed ${ac_max_here_lines}q conftest.undefs >>$CONFIG_STATUS
21330 sed -f $tmp/undefs.sed $tmp/in >$tmp/out
21332 mv $tmp/out $tmp/in
21334 sed 1,${ac_max_here_lines}d conftest.undefs >conftest.tail
21335 rm -f conftest.undefs
21336 mv conftest.tail conftest.undefs
21338 rm -f conftest.undefs
21340 cat >>$CONFIG_STATUS <<\_ACEOF
21341 # Let's still pretend it is `configure
' which instantiates (i.e., don't
21342 # use $as_me), people would be surprised to read:
21343 # /* config.h. Generated by config.status. */
21344 if test x
"$ac_file" = x-
; then
21345 echo "/* Generated by configure. */" >$tmp/config.h
21347 echo "/* $ac_file. Generated by configure. */" >$tmp/config.h
21349 cat $tmp/in >>$tmp/config.h
21351 if test x
"$ac_file" != x-
; then
21352 if diff $ac_file $tmp/config.h
>/dev
/null
2>&1; then
21353 { echo "$as_me:$LINENO: $ac_file is unchanged" >&5
21354 echo "$as_me: $ac_file is unchanged" >&6;}
21356 ac_dir
=`(dirname "$ac_file") 2>/dev/null ||
21357 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
21358 X"$ac_file" : 'X\(//\)[^/]' \| \
21359 X"$ac_file" : 'X\(//\)$' \| \
21360 X"$ac_file" : 'X\(/\)' \| \
21361 . : '\(.\)' 2>/dev/null ||
21363 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
21364 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
21365 /^X\(\/\/\)$/{ s//\1/; q; }
21366 /^X\(\/\).*/{ s//\1/; q; }
21368 { if $as_mkdir_p; then
21373 while test ! -d "$as_dir"; do
21374 as_dirs
="$as_dir $as_dirs"
21375 as_dir
=`(dirname "$as_dir") 2>/dev/null ||
21376 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
21377 X"$as_dir" : 'X\(//\)[^/]' \| \
21378 X"$as_dir" : 'X\(//\)$' \| \
21379 X"$as_dir" : 'X\(/\)' \| \
21380 . : '\(.\)' 2>/dev/null ||
21382 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
21383 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
21384 /^X\(\/\/\)$/{ s//\1/; q; }
21385 /^X\(\/\).*/{ s//\1/; q; }
21388 test ! -n "$as_dirs" || mkdir
$as_dirs
21389 fi ||
{ { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
21390 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
21391 { (exit 1); exit 1; }; }; }
21394 mv $tmp/config.h
$ac_file
21398 rm -f $tmp/config.h
21400 # Compute $ac_file's index in $config_headers.
21402 for _am_header
in $config_headers :; do
21403 case $_am_header in
21404 $ac_file |
$ac_file:* )
21407 _am_stamp_count
=`expr $_am_stamp_count + 1` ;;
21410 echo "timestamp for $ac_file" >`(dirname $ac_file) 2>/dev/null ||
21411 $as_expr X$ac_file : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
21412 X$ac_file : 'X\(//\)[^/]' \| \
21413 X$ac_file : 'X\(//\)$' \| \
21414 X$ac_file : 'X\(/\)' \| \
21415 . : '\(.\)' 2>/dev/null ||
21417 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
21418 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
21419 /^X\(\/\/\)$/{ s//\1/; q; }
21420 /^X\(\/\).*/{ s//\1/; q; }
21421 s/.*/./; q'`/stamp-h
$_am_stamp_count
21424 cat >>$CONFIG_STATUS <<\_ACEOF
21427 # CONFIG_LINKS section.
21430 for ac_file
in : $CONFIG_LINKS; do test "x$ac_file" = x
: && continue
21431 ac_dest
=`echo "$ac_file" | sed 's,:.*,,'`
21432 ac_source
=`echo "$ac_file" | sed 's,[^:]*:,,'`
21434 { echo "$as_me:$LINENO: linking $srcdir/$ac_source to $ac_dest" >&5
21435 echo "$as_me: linking $srcdir/$ac_source to $ac_dest" >&6;}
21437 if test ! -r $srcdir/$ac_source; then
21438 { { echo "$as_me:$LINENO: error: $srcdir/$ac_source: file not found" >&5
21439 echo "$as_me: error: $srcdir/$ac_source: file not found" >&2;}
21440 { (exit 1); exit 1; }; }
21444 # Make relative symlinks.
21445 ac_dest_dir
=`(dirname "$ac_dest") 2>/dev/null ||
21446 $as_expr X"$ac_dest" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
21447 X"$ac_dest" : 'X\(//\)[^/]' \| \
21448 X"$ac_dest" : 'X\(//\)$' \| \
21449 X"$ac_dest" : 'X\(/\)' \| \
21450 . : '\(.\)' 2>/dev/null ||
21452 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
21453 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
21454 /^X\(\/\/\)$/{ s//\1/; q; }
21455 /^X\(\/\).*/{ s//\1/; q; }
21457 { if $as_mkdir_p; then
21458 mkdir
-p "$ac_dest_dir"
21460 as_dir
="$ac_dest_dir"
21462 while test ! -d "$as_dir"; do
21463 as_dirs
="$as_dir $as_dirs"
21464 as_dir
=`(dirname "$as_dir") 2>/dev/null ||
21465 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
21466 X"$as_dir" : 'X\(//\)[^/]' \| \
21467 X"$as_dir" : 'X\(//\)$' \| \
21468 X"$as_dir" : 'X\(/\)' \| \
21469 . : '\(.\)' 2>/dev/null ||
21471 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
21472 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
21473 /^X\(\/\/\)$/{ s//\1/; q; }
21474 /^X\(\/\).*/{ s//\1/; q; }
21477 test ! -n "$as_dirs" || mkdir
$as_dirs
21478 fi ||
{ { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dest_dir\"" >&5
21479 echo "$as_me: error: cannot create directory \"$ac_dest_dir\"" >&2;}
21480 { (exit 1); exit 1; }; }; }
21484 if test "$ac_dest_dir" != .
; then
21485 ac_dir_suffix
=/`echo "$ac_dest_dir" | sed 's,^\.[\\/],,'`
21486 # A "../" for each directory in $ac_dir_suffix.
21487 ac_top_builddir
=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
21489 ac_dir_suffix
= ac_top_builddir
=
21493 .
) # No --srcdir option. We are building in place.
21495 if test -z "$ac_top_builddir"; then
21498 ac_top_srcdir
=`echo $ac_top_builddir | sed 's,/$,,'`
21500 [\\/]* | ?
:[\\/]* ) # Absolute path.
21501 ac_srcdir
=$srcdir$ac_dir_suffix;
21502 ac_top_srcdir
=$srcdir ;;
21503 *) # Relative path.
21504 ac_srcdir
=$ac_top_builddir$srcdir$ac_dir_suffix
21505 ac_top_srcdir
=$ac_top_builddir$srcdir ;;
21508 # Do not use `cd foo && pwd` to compute absolute paths, because
21509 # the directories may not exist.
21511 .
) ac_abs_builddir
="$ac_dest_dir";;
21513 case "$ac_dest_dir" in
21514 .
) ac_abs_builddir
=`pwd`;;
21515 [\\/]* | ?
:[\\/]* ) ac_abs_builddir
="$ac_dest_dir";;
21516 *) ac_abs_builddir
=`pwd`/"$ac_dest_dir";;
21519 case $ac_abs_builddir in
21520 .
) ac_abs_top_builddir
=${ac_top_builddir}.
;;
21522 case ${ac_top_builddir}.
in
21523 .
) ac_abs_top_builddir
=$ac_abs_builddir;;
21524 [\\/]* | ?
:[\\/]* ) ac_abs_top_builddir
=${ac_top_builddir}.
;;
21525 *) ac_abs_top_builddir
=$ac_abs_builddir/${ac_top_builddir}.
;;
21528 case $ac_abs_builddir in
21529 .
) ac_abs_srcdir
=$ac_srcdir;;
21532 .
) ac_abs_srcdir
=$ac_abs_builddir;;
21533 [\\/]* | ?
:[\\/]* ) ac_abs_srcdir
=$ac_srcdir;;
21534 *) ac_abs_srcdir
=$ac_abs_builddir/$ac_srcdir;;
21537 case $ac_abs_builddir in
21538 .
) ac_abs_top_srcdir
=$ac_top_srcdir;;
21540 case $ac_top_srcdir in
21541 .
) ac_abs_top_srcdir
=$ac_abs_builddir;;
21542 [\\/]* | ?
:[\\/]* ) ac_abs_top_srcdir
=$ac_top_srcdir;;
21543 *) ac_abs_top_srcdir
=$ac_abs_builddir/$ac_top_srcdir;;
21549 [\\/$
]* | ?
:[\\/]* ) ac_rel_source
=$srcdir/$ac_source ;;
21550 *) ac_rel_source
=$ac_top_builddir$srcdir/$ac_source ;;
21553 # Try a symlink, then a hard link, then a copy.
21554 ln -s $ac_rel_source $ac_dest 2>/dev
/null ||
21555 ln $srcdir/$ac_source $ac_dest 2>/dev
/null ||
21556 cp -p $srcdir/$ac_source $ac_dest ||
21557 { { echo "$as_me:$LINENO: error: cannot link or copy $srcdir/$ac_source to $ac_dest" >&5
21558 echo "$as_me: error: cannot link or copy $srcdir/$ac_source to $ac_dest" >&2;}
21559 { (exit 1); exit 1; }; }
21562 cat >>$CONFIG_STATUS <<\_ACEOF
21565 # CONFIG_COMMANDS section.
21567 for ac_file
in : $CONFIG_COMMANDS; do test "x$ac_file" = x
: && continue
21568 ac_dest
=`echo "$ac_file" | sed 's,:.*,,'`
21569 ac_source
=`echo "$ac_file" | sed 's,[^:]*:,,'`
21570 ac_dir
=`(dirname "$ac_dest") 2>/dev/null ||
21571 $as_expr X"$ac_dest" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
21572 X"$ac_dest" : 'X\(//\)[^/]' \| \
21573 X"$ac_dest" : 'X\(//\)$' \| \
21574 X"$ac_dest" : 'X\(/\)' \| \
21575 . : '\(.\)' 2>/dev/null ||
21577 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
21578 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
21579 /^X\(\/\/\)$/{ s//\1/; q; }
21580 /^X\(\/\).*/{ s//\1/; q; }
21582 { if $as_mkdir_p; then
21587 while test ! -d "$as_dir"; do
21588 as_dirs
="$as_dir $as_dirs"
21589 as_dir
=`(dirname "$as_dir") 2>/dev/null ||
21590 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
21591 X"$as_dir" : 'X\(//\)[^/]' \| \
21592 X"$as_dir" : 'X\(//\)$' \| \
21593 X"$as_dir" : 'X\(/\)' \| \
21594 . : '\(.\)' 2>/dev/null ||
21596 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
21597 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
21598 /^X\(\/\/\)$/{ s//\1/; q; }
21599 /^X\(\/\).*/{ s//\1/; q; }
21602 test ! -n "$as_dirs" || mkdir
$as_dirs
21603 fi ||
{ { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
21604 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
21605 { (exit 1); exit 1; }; }; }
21609 if test "$ac_dir" != .
; then
21610 ac_dir_suffix
=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
21611 # A "../" for each directory in $ac_dir_suffix.
21612 ac_top_builddir
=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
21614 ac_dir_suffix
= ac_top_builddir
=
21618 .
) # No --srcdir option. We are building in place.
21620 if test -z "$ac_top_builddir"; then
21623 ac_top_srcdir
=`echo $ac_top_builddir | sed 's,/$,,'`
21625 [\\/]* | ?
:[\\/]* ) # Absolute path.
21626 ac_srcdir
=$srcdir$ac_dir_suffix;
21627 ac_top_srcdir
=$srcdir ;;
21628 *) # Relative path.
21629 ac_srcdir
=$ac_top_builddir$srcdir$ac_dir_suffix
21630 ac_top_srcdir
=$ac_top_builddir$srcdir ;;
21633 # Do not use `cd foo && pwd` to compute absolute paths, because
21634 # the directories may not exist.
21636 .
) ac_abs_builddir
="$ac_dir";;
21639 .
) ac_abs_builddir
=`pwd`;;
21640 [\\/]* | ?
:[\\/]* ) ac_abs_builddir
="$ac_dir";;
21641 *) ac_abs_builddir
=`pwd`/"$ac_dir";;
21644 case $ac_abs_builddir in
21645 .
) ac_abs_top_builddir
=${ac_top_builddir}.
;;
21647 case ${ac_top_builddir}.
in
21648 .
) ac_abs_top_builddir
=$ac_abs_builddir;;
21649 [\\/]* | ?
:[\\/]* ) ac_abs_top_builddir
=${ac_top_builddir}.
;;
21650 *) ac_abs_top_builddir
=$ac_abs_builddir/${ac_top_builddir}.
;;
21653 case $ac_abs_builddir in
21654 .
) ac_abs_srcdir
=$ac_srcdir;;
21657 .
) ac_abs_srcdir
=$ac_abs_builddir;;
21658 [\\/]* | ?
:[\\/]* ) ac_abs_srcdir
=$ac_srcdir;;
21659 *) ac_abs_srcdir
=$ac_abs_builddir/$ac_srcdir;;
21662 case $ac_abs_builddir in
21663 .
) ac_abs_top_srcdir
=$ac_top_srcdir;;
21665 case $ac_top_srcdir in
21666 .
) ac_abs_top_srcdir
=$ac_abs_builddir;;
21667 [\\/]* | ?
:[\\/]* ) ac_abs_top_srcdir
=$ac_top_srcdir;;
21668 *) ac_abs_top_srcdir
=$ac_abs_builddir/$ac_top_srcdir;;
21673 { echo "$as_me:$LINENO: executing $ac_dest commands" >&5
21674 echo "$as_me: executing $ac_dest commands" >&6;}
21676 depfiles
) test x
"$AMDEP_TRUE" != x
"" ||
for mf
in $CONFIG_FILES; do
21677 # Strip MF so we end up with the name of the file.
21678 mf
=`echo "$mf" | sed -e 's/:.*$//'`
21679 # Check whether this is an Automake generated Makefile or not.
21680 # We used to match only the files named `Makefile.in', but
21681 # some people rename them; so instead we look at the file content.
21682 # Grep'ing the first line is not enough: some people post-process
21683 # each Makefile.in and add a new line on top of each file to say so.
21684 # So let's grep whole file.
21685 if grep '^#.*generated by automake' $mf > /dev
/null
2>&1; then
21686 dirpart
=`(dirname "$mf") 2>/dev/null ||
21687 $as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
21688 X"$mf" : 'X\(//\)[^/]' \| \
21689 X"$mf" : 'X\(//\)$' \| \
21690 X"$mf" : 'X\(/\)' \| \
21691 . : '\(.\)' 2>/dev/null ||
21693 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
21694 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
21695 /^X\(\/\/\)$/{ s//\1/; q; }
21696 /^X\(\/\).*/{ s//\1/; q; }
21701 # Extract the definition of DEPDIR, am__include, and am__quote
21702 # from the Makefile without running `make'.
21703 DEPDIR
=`sed -n 's/^DEPDIR = //p' < "$mf"`
21704 test -z "$DEPDIR" && continue
21705 am__include
=`sed -n 's/^am__include = //p' < "$mf"`
21706 test -z "am__include" && continue
21707 am__quote
=`sed -n 's/^am__quote = //p' < "$mf"`
21708 # When using ansi2knr, U may be empty or an underscore; expand it
21709 U
=`sed -n 's/^U = //p' < "$mf"`
21710 # Find all dependency output files, they are included files with
21711 # $(DEPDIR) in their names. We invoke sed twice because it is the
21712 # simplest approach to changing $(DEPDIR) to its actual value in the
21714 for file in `sed -n "
21715 s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
21716 sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do
21717 # Make sure the directory exists.
21718 test -f "$dirpart/$file" && continue
21719 fdir
=`(dirname "$file") 2>/dev/null ||
21720 $as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
21721 X"$file" : 'X\(//\)[^/]' \| \
21722 X"$file" : 'X\(//\)$' \| \
21723 X"$file" : 'X\(/\)' \| \
21724 . : '\(.\)' 2>/dev/null ||
21726 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
21727 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
21728 /^X\(\/\/\)$/{ s//\1/; q; }
21729 /^X\(\/\).*/{ s//\1/; q; }
21731 { if $as_mkdir_p; then
21732 mkdir
-p $dirpart/$fdir
21734 as_dir
=$dirpart/$fdir
21736 while test ! -d "$as_dir"; do
21737 as_dirs
="$as_dir $as_dirs"
21738 as_dir
=`(dirname "$as_dir") 2>/dev/null ||
21739 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
21740 X"$as_dir" : 'X\(//\)[^/]' \| \
21741 X"$as_dir" : 'X\(//\)$' \| \
21742 X"$as_dir" : 'X\(/\)' \| \
21743 . : '\(.\)' 2>/dev/null ||
21745 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
21746 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
21747 /^X\(\/\/\)$/{ s//\1/; q; }
21748 /^X\(\/\).*/{ s//\1/; q; }
21751 test ! -n "$as_dirs" || mkdir
$as_dirs
21752 fi ||
{ { echo "$as_me:$LINENO: error: cannot create directory $dirpart/$fdir" >&5
21753 echo "$as_me: error: cannot create directory $dirpart/$fdir" >&2;}
21754 { (exit 1); exit 1; }; }; }
21756 # echo "creating $dirpart/$file"
21757 echo '# dummy' > "$dirpart/$file"
21761 mkcollections.pl
) chmod 755 lib
/mkcollections.pl
;;
21763 { echo "$as_me:$LINENO: creating $ac_stdint_h : $_ac_stdint_h" >&5
21764 echo "$as_me: creating $ac_stdint_h : $_ac_stdint_h" >&6;}
21765 ac_stdint
=$tmp/_stdint.h
21767 echo "#ifndef" $_ac_stdint_h >$ac_stdint
21768 echo "#define" $_ac_stdint_h "1" >>$ac_stdint
21769 echo "#ifndef" _GENERATED_STDINT_H
>>$ac_stdint
21770 echo "#define" _GENERATED_STDINT_H
'"'$PACKAGE $VERSION'"' >>$ac_stdint
21771 echo "/* generated $ac_cv_stdint_message */" >>$ac_stdint
21772 if test "_$ac_cv_header_stdint_t" != "_" ; then
21773 echo "#define _STDINT_HAVE_STDINT_H" "1" >>$ac_stdint
21774 echo "#include <stdint.h>" >>$ac_stdint
21775 echo "#endif" >>$ac_stdint
21776 echo "#endif" >>$ac_stdint
21779 cat >>$ac_stdint <<STDINT_EOF
21781 /* ................... shortcircuit part ........................... */
21783 #if defined HAVE_STDINT_H || defined _STDINT_HAVE_STDINT_H
21784 #include <stdint.h>
21786 #include <stddef.h>
21788 /* .................... configured part ............................ */
21792 echo "/* whether we have a C99 compatible stdint header file */" >>$ac_stdint
21793 if test "_$ac_cv_header_stdint_x" != "_" ; then
21794 ac_header
="$ac_cv_header_stdint_x"
21795 echo "#define _STDINT_HEADER_INTPTR" '"'"$ac_header"'"' >>$ac_stdint
21797 echo "/* #undef _STDINT_HEADER_INTPTR */" >>$ac_stdint
21800 echo "/* whether we have a C96 compatible inttypes header file */" >>$ac_stdint
21801 if test "_$ac_cv_header_stdint_o" != "_" ; then
21802 ac_header
="$ac_cv_header_stdint_o"
21803 echo "#define _STDINT_HEADER_UINT32" '"'"$ac_header"'"' >>$ac_stdint
21805 echo "/* #undef _STDINT_HEADER_UINT32 */" >>$ac_stdint
21808 echo "/* whether we have a BSD compatible inet types header */" >>$ac_stdint
21809 if test "_$ac_cv_header_stdint_u" != "_" ; then
21810 ac_header
="$ac_cv_header_stdint_u"
21811 echo "#define _STDINT_HEADER_U_INT32" '"'"$ac_header"'"' >>$ac_stdint
21813 echo "/* #undef _STDINT_HEADER_U_INT32 */" >>$ac_stdint
21816 echo "" >>$ac_stdint
21818 if test "_$ac_header" != "_" ; then if test "$ac_header" != "stddef.h" ; then
21819 echo "#include <$ac_header>" >>$ac_stdint
21820 echo "" >>$ac_stdint
21823 echo "/* which 64bit typedef has been found */" >>$ac_stdint
21824 if test "$ac_cv_type_uint64_t" = "yes" ; then
21825 echo "#define _STDINT_HAVE_UINT64_T" "1" >>$ac_stdint
21827 echo "/* #undef _STDINT_HAVE_UINT64_T */" >>$ac_stdint
21829 if test "$ac_cv_type_u_int64_t" = "yes" ; then
21830 echo "#define _STDINT_HAVE_U_INT64_T" "1" >>$ac_stdint
21832 echo "/* #undef _STDINT_HAVE_U_INT64_T */" >>$ac_stdint
21834 echo "" >>$ac_stdint
21836 echo "/* which type model has been detected */" >>$ac_stdint
21837 if test "_$ac_cv_char_data_model" != "_" ; then
21838 echo "#define _STDINT_CHAR_MODEL" "$ac_cv_char_data_model" >>$ac_stdint
21839 echo "#define _STDINT_LONG_MODEL" "$ac_cv_long_data_model" >>$ac_stdint
21841 echo "/* #undef _STDINT_CHAR_MODEL // skipped */" >>$ac_stdint
21842 echo "/* #undef _STDINT_LONG_MODEL // skipped */" >>$ac_stdint
21844 echo "" >>$ac_stdint
21846 echo "/* whether int_least types were detected */" >>$ac_stdint
21847 if test "$ac_cv_type_int_least32_t" = "yes"; then
21848 echo "#define _STDINT_HAVE_INT_LEAST32_T" "1" >>$ac_stdint
21850 echo "/* #undef _STDINT_HAVE_INT_LEAST32_T */" >>$ac_stdint
21852 echo "/* whether int_fast types were detected */" >>$ac_stdint
21853 if test "$ac_cv_type_int_fast32_t" = "yes"; then
21854 echo "#define _STDINT_HAVE_INT_FAST32_T" "1" >>$ac_stdint
21856 echo "/* #undef _STDINT_HAVE_INT_FAST32_T */" >>$ac_stdint
21858 echo "/* whether intmax_t type was detected */" >>$ac_stdint
21859 if test "$ac_cv_type_intmax_t" = "yes"; then
21860 echo "#define _STDINT_HAVE_INTMAX_T" "1" >>$ac_stdint
21862 echo "/* #undef _STDINT_HAVE_INTMAX_T */" >>$ac_stdint
21864 echo "" >>$ac_stdint
21866 cat >>$ac_stdint <<STDINT_EOF
21867 /* .................... detections part ............................ */
21869 /* whether we need to define bitspecific types from compiler base types */
21870 #ifndef _STDINT_HEADER_INTPTR
21871 #ifndef _STDINT_HEADER_UINT32
21872 #ifndef _STDINT_HEADER_U_INT32
21873 #define _STDINT_NEED_INT_MODEL_T
21875 #define _STDINT_HAVE_U_INT_TYPES
21880 #ifdef _STDINT_HAVE_U_INT_TYPES
21881 #undef _STDINT_NEED_INT_MODEL_T
21884 #ifdef _STDINT_CHAR_MODEL
21885 #if _STDINT_CHAR_MODEL+0 == 122 || _STDINT_CHAR_MODEL+0 == 124
21886 #ifndef _STDINT_BYTE_MODEL
21887 #define _STDINT_BYTE_MODEL 12
21892 #ifndef _STDINT_HAVE_INT_LEAST32_T
21893 #define _STDINT_NEED_INT_LEAST_T
21896 #ifndef _STDINT_HAVE_INT_FAST32_T
21897 #define _STDINT_NEED_INT_FAST_T
21900 #ifndef _STDINT_HEADER_INTPTR
21901 #define _STDINT_NEED_INTPTR_T
21902 #ifndef _STDINT_HAVE_INTMAX_T
21903 #define _STDINT_NEED_INTMAX_T
21908 /* .................... definition part ............................ */
21910 /* some system headers have good uint64_t */
21911 #ifndef _HAVE_UINT64_T
21912 #if defined _STDINT_HAVE_UINT64_T || defined HAVE_UINT64_T
21913 #define _HAVE_UINT64_T
21914 #elif defined _STDINT_HAVE_U_INT64_T || defined HAVE_U_INT64_T
21915 #define _HAVE_UINT64_T
21916 typedef u_int64_t uint64_t;
21920 #ifndef _HAVE_UINT64_T
21921 /* .. here are some common heuristics using compiler runtime specifics */
21922 #if defined __STDC_VERSION__ && defined __STDC_VERSION__ >= 199901L
21923 #define _HAVE_UINT64_T
21924 #define _HAVE_LONGLONG_UINT64_T
21925 typedef long long int64_t;
21926 typedef unsigned long long uint64_t;
21928 #elif !defined __STRICT_ANSI__
21929 #if defined _MSC_VER || defined __WATCOMC__ || defined __BORLANDC__
21930 #define _HAVE_UINT64_T
21931 typedef __int64 int64_t;
21932 typedef unsigned __int64 uint64_t;
21934 #elif defined __GNUC__ || defined __MWERKS__ || defined __ELF__
21935 /* note: all ELF-systems seem to have loff-support which needs 64-bit */
21936 #if !defined _NO_LONGLONG
21937 #define _HAVE_UINT64_T
21938 #define _HAVE_LONGLONG_UINT64_T
21939 typedef long long int64_t;
21940 typedef unsigned long long uint64_t;
21943 #elif defined __alpha || (defined __mips && defined _ABIN32)
21944 #if !defined _NO_LONGLONG
21945 typedef long int64_t;
21946 typedef unsigned long uint64_t;
21948 /* compiler/cpu type to define int64_t */
21953 #if defined _STDINT_HAVE_U_INT_TYPES
21954 /* int8_t int16_t int32_t defined by inet code, redeclare the u_intXX types */
21955 typedef u_int8_t uint8_t;
21956 typedef u_int16_t uint16_t;
21957 typedef u_int32_t uint32_t;
21959 /* glibc compatibility */
21960 #ifndef __int8_t_defined
21961 #define __int8_t_defined
21965 #ifdef _STDINT_NEED_INT_MODEL_T
21966 /* we must guess all the basic types. Apart from byte-adressable system, */
21967 /* there a few 32-bit-only dsp-systems that we guard with BYTE_MODEL 8-} */
21968 /* (btw, those nibble-addressable systems are way off, or so we assume) */
21971 #if defined _STDINT_BYTE_MODEL
21972 #if _STDINT_LONG_MODEL+0 == 242
21973 /* 2:4:2 = IP16 = a normal 16-bit system */
21974 typedef unsigned char uint8_t;
21975 typedef unsigned short uint16_t;
21976 typedef unsigned long uint32_t;
21977 #ifndef __int8_t_defined
21978 #define __int8_t_defined
21979 typedef char int8_t;
21980 typedef short int16_t;
21981 typedef long int32_t;
21983 #elif _STDINT_LONG_MODEL+0 == 244 || _STDINT_LONG_MODEL == 444
21984 /* 2:4:4 = LP32 = a 32-bit system derived from a 16-bit */
21985 /* 4:4:4 = ILP32 = a normal 32-bit system */
21986 typedef unsigned char uint8_t;
21987 typedef unsigned short uint16_t;
21988 typedef unsigned int uint32_t;
21989 #ifndef __int8_t_defined
21990 #define __int8_t_defined
21991 typedef char int8_t;
21992 typedef short int16_t;
21993 typedef int int32_t;
21995 #elif _STDINT_LONG_MODEL+0 == 484 || _STDINT_LONG_MODEL+0 == 488
21996 /* 4:8:4 = IP32 = a 32-bit system prepared for 64-bit */
21997 /* 4:8:8 = LP64 = a normal 64-bit system */
21998 typedef unsigned char uint8_t;
21999 typedef unsigned short uint16_t;
22000 typedef unsigned int uint32_t;
22001 #ifndef __int8_t_defined
22002 #define __int8_t_defined
22003 typedef char int8_t;
22004 typedef short int16_t;
22005 typedef int int32_t;
22007 /* this system has a "long" of 64bit */
22008 #ifndef _HAVE_UINT64_T
22009 #define _HAVE_UINT64_T
22010 typedef unsigned long uint64_t;
22011 typedef long int64_t;
22013 #elif _STDINT_LONG_MODEL+0 == 448
22014 /* LLP64 a 64-bit system derived from a 32-bit system */
22015 typedef unsigned char uint8_t;
22016 typedef unsigned short uint16_t;
22017 typedef unsigned int uint32_t;
22018 #ifndef __int8_t_defined
22019 #define __int8_t_defined
22020 typedef char int8_t;
22021 typedef short int16_t;
22022 typedef int int32_t;
22024 /* assuming the system has a "long long" */
22025 #ifndef _HAVE_UINT64_T
22026 #define _HAVE_UINT64_T
22027 #define _HAVE_LONGLONG_UINT64_T
22028 typedef unsigned long long uint64_t;
22029 typedef long long int64_t;
22032 #define _STDINT_NO_INT32_T
22035 #define _STDINT_NO_INT8_T
22036 #define _STDINT_NO_INT32_T
22041 * quote from SunOS-5.8 sys/inttypes.h:
22042 * Use at your own risk. As of February 1996, the committee is squarely
22043 * behind the fixed sized types; the "least" and "fast" types are still being
22044 * discussed. The probability that the "fast" types may be removed before
22045 * the standard is finalized is high enough that they are not currently
22049 #if defined _STDINT_NEED_INT_LEAST_T
22050 typedef int8_t int_least8_t;
22051 typedef int16_t int_least16_t;
22052 typedef int32_t int_least32_t;
22053 #ifdef _HAVE_UINT64_T
22054 typedef int64_t int_least64_t;
22057 typedef uint8_t uint_least8_t;
22058 typedef uint16_t uint_least16_t;
22059 typedef uint32_t uint_least32_t;
22060 #ifdef _HAVE_UINT64_T
22061 typedef uint64_t uint_least64_t;
22066 #if defined _STDINT_NEED_INT_FAST_T
22067 typedef int8_t int_fast8_t;
22068 typedef int int_fast16_t;
22069 typedef int32_t int_fast32_t;
22070 #ifdef _HAVE_UINT64_T
22071 typedef int64_t int_fast64_t;
22074 typedef uint8_t uint_fast8_t;
22075 typedef unsigned uint_fast16_t;
22076 typedef uint32_t uint_fast32_t;
22077 #ifdef _HAVE_UINT64_T
22078 typedef uint64_t uint_fast64_t;
22083 #ifdef _STDINT_NEED_INTMAX_T
22084 #ifdef _HAVE_UINT64_T
22085 typedef int64_t intmax_t;
22086 typedef uint64_t uintmax_t;
22088 typedef long intmax_t;
22089 typedef unsigned long uintmax_t;
22093 #ifdef _STDINT_NEED_INTPTR_T
22094 #ifndef __intptr_t_defined
22095 #define __intptr_t_defined
22096 /* we encourage using "long" to store pointer values, never use "int" ! */
22097 #if _STDINT_LONG_MODEL+0 == 242 || _STDINT_LONG_MODEL+0 == 484
22098 typedef unsigned int uintptr_t;
22099 typedef int intptr_t;
22100 #elif _STDINT_LONG_MODEL+0 == 244 || _STDINT_LONG_MODEL+0 == 444
22101 typedef unsigned long uintptr_t;
22102 typedef long intptr_t;
22103 #elif _STDINT_LONG_MODEL+0 == 448 && defined _HAVE_UINT64_T
22104 typedef uint64_t uintptr_t;
22105 typedef int64_t intptr_t;
22106 #else /* matches typical system types ILP32 and LP64 - but not IP16 or LLP64 */
22107 typedef unsigned long uintptr_t;
22108 typedef long intptr_t;
22113 /* The ISO C99 standard specifies that in C++ implementations these
22114 should only be defined if explicitly requested. */
22115 #if !defined __cplusplus || defined __STDC_CONSTANT_MACROS
22119 # define INT8_C(c) c
22120 # define INT16_C(c) c
22121 # define INT32_C(c) c
22122 # ifdef _HAVE_LONGLONG_UINT64_T
22123 # define INT64_C(c) c ## L
22125 # define INT64_C(c) c ## LL
22129 # define UINT8_C(c) c ## U
22130 # define UINT16_C(c) c ## U
22131 # define UINT32_C(c) c ## U
22132 # ifdef _HAVE_LONGLONG_UINT64_T
22133 # define UINT64_C(c) c ## UL
22135 # define UINT64_C(c) c ## ULL
22138 /* Maximal type. */
22139 # ifdef _HAVE_LONGLONG_UINT64_T
22140 # define INTMAX_C(c) c ## L
22141 # define UINTMAX_C(c) c ## UL
22143 # define INTMAX_C(c) c ## LL
22144 # define UINTMAX_C(c) c ## ULL
22147 /* literalnumbers */
22151 /* These limits are merily those of a two complement byte-oriented system */
22153 /* Minimum of signed integral types. */
22154 # define INT8_MIN (-128)
22155 # define INT16_MIN (-32767-1)
22156 # define INT32_MIN (-2147483647-1)
22157 # define INT64_MIN (-__INT64_C(9223372036854775807)-1)
22158 /* Maximum of signed integral types. */
22159 # define INT8_MAX (127)
22160 # define INT16_MAX (32767)
22161 # define INT32_MAX (2147483647)
22162 # define INT64_MAX (__INT64_C(9223372036854775807))
22164 /* Maximum of unsigned integral types. */
22165 # define UINT8_MAX (255)
22166 # define UINT16_MAX (65535)
22167 # define UINT32_MAX (4294967295U)
22168 # define UINT64_MAX (__UINT64_C(18446744073709551615))
22170 /* Minimum of signed integral types having a minimum size. */
22171 # define INT_LEAST8_MIN INT8_MIN
22172 # define INT_LEAST16_MIN INT16_MIN
22173 # define INT_LEAST32_MIN INT32_MIN
22174 # define INT_LEAST64_MIN INT64_MIN
22175 /* Maximum of signed integral types having a minimum size. */
22176 # define INT_LEAST8_MAX INT8_MAX
22177 # define INT_LEAST16_MAX INT16_MAX
22178 # define INT_LEAST32_MAX INT32_MAX
22179 # define INT_LEAST64_MAX INT64_MAX
22181 /* Maximum of unsigned integral types having a minimum size. */
22182 # define UINT_LEAST8_MAX UINT8_MAX
22183 # define UINT_LEAST16_MAX UINT16_MAX
22184 # define UINT_LEAST32_MAX UINT32_MAX
22185 # define UINT_LEAST64_MAX UINT64_MAX
22194 if cmp -s $ac_stdint_h $ac_stdint 2>/dev
/null
; then
22195 { echo "$as_me:$LINENO: $ac_stdint_h is unchanged" >&5
22196 echo "$as_me: $ac_stdint_h is unchanged" >&6;}
22198 ac_dir
=`(dirname "$ac_stdint_h") 2>/dev/null ||
22199 $as_expr X"$ac_stdint_h" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
22200 X"$ac_stdint_h" : 'X\(//\)[^/]' \| \
22201 X"$ac_stdint_h" : 'X\(//\)$' \| \
22202 X"$ac_stdint_h" : 'X\(/\)' \| \
22203 . : '\(.\)' 2>/dev/null ||
22204 echo X"$ac_stdint_h" |
22205 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
22206 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
22207 /^X\(\/\/\)$/{ s//\1/; q; }
22208 /^X\(\/\).*/{ s//\1/; q; }
22210 { if $as_mkdir_p; then
22215 while test ! -d "$as_dir"; do
22216 as_dirs
="$as_dir $as_dirs"
22217 as_dir
=`(dirname "$as_dir") 2>/dev/null ||
22218 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
22219 X"$as_dir" : 'X\(//\)[^/]' \| \
22220 X"$as_dir" : 'X\(//\)$' \| \
22221 X"$as_dir" : 'X\(/\)' \| \
22222 . : '\(.\)' 2>/dev/null ||
22224 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
22225 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
22226 /^X\(\/\/\)$/{ s//\1/; q; }
22227 /^X\(\/\).*/{ s//\1/; q; }
22230 test ! -n "$as_dirs" || mkdir
$as_dirs
22231 fi ||
{ { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
22232 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
22233 { (exit 1); exit 1; }; }; }
22236 mv $ac_stdint $ac_stdint_h
22239 gappletviewer
) chmod 755 tools
/gappletviewer
;;
22240 gjarsigner
) chmod 755 tools
/gjarsigner
;;
22241 gkeytool
) chmod 755 tools
/gkeytool
;;
22242 gjar
) chmod 755 tools
/gjar
;;
22243 gnative2ascii
) chmod 755 tools
/gnative2ascii
;;
22244 gserialver
) chmod 755 tools
/gserialver
;;
22245 grmiregistry
) chmod 755 tools
/grmiregistry
;;
22246 gtnameserv
) chmod 755 tools
/gtnameserv
;;
22247 gorbd
) chmod 755 tools
/gorbd
;;
22248 grmid
) chmod 755 tools
/grmid
;;
22249 grmic
) chmod 755 tools
/grmic
;;
22250 gjavah
) chmod 755 tools
/gjavah
;;
22251 gen-classlist
) chmod 755 lib
/gen-classlist.sh
;;
22252 copy-vmresources
) chmod 755 lib
/copy-vmresources.sh
;;
22257 cat >>$CONFIG_STATUS <<\_ACEOF
22259 { (exit 0); exit 0; }
22261 chmod +x
$CONFIG_STATUS
22262 ac_clean_files
=$ac_clean_files_save
22265 # configure is writing to config.log, and then calls config.status.
22266 # config.status does its own redirection, appending to config.log.
22267 # Unfortunately, on DOS this fails, as config.log is still kept open
22268 # by configure, so config.status won't be able to write to it; its
22269 # output is simply discarded. So we exec the FD to /dev/null,
22270 # effectively closing config.log, so it can be properly (re)opened and
22271 # appended to by config.status. When coming back to configure, we
22272 # need to make the FD available again.
22273 if test "$no_create" != yes; then
22275 ac_config_status_args
=
22276 test "$silent" = yes &&
22277 ac_config_status_args
="$ac_config_status_args --quiet"
22279 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success
=false
22281 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
22282 # would make configure fail if this is the last instruction.
22283 $ac_cs_success ||
{ (exit 1); exit 1; }
22287 # Create standard.omit based on decisions we just made.
22288 cat ${srcdir}/lib
/standard.omit.
in > lib
/standard.omit
22289 if test x
$use_escher != xtrue
; then
22290 echo gnu
/java
/awt
/peer
/x
/.
*java$
>> lib
/standard.omit