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 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 # Check whether --with-native-libdir or --without-native-libdir was given.
4345 if test "${with_native_libdir+set}" = set; then
4346 withval="$with_native_libdir"
4348 nativeexeclibdir=${withval}
4352 nativeexeclibdir='${libdir}/${PACKAGE}'
4359 # Check whether --with-glibj-dir or --without-glibj-dir was given.
4360 if test "${with_glibj_dir+set}" = set; then
4361 withval="$with_glibj_dir"
4367 glibjdir='${datadir}/${PACKAGE}'
4374 # Check whether --with-vm or --without-vm was given.
4375 if test "${with_vm+set}" = set; then
4378 VM_BINARY=${withval}
4382 VM_BINARY='${prefix}/bin/jamvm'
4389 if test "x`basename $VM_BINARY`" = xcacao; then
4391 FOUND_CACAO_FALSE='#'
4393 FOUND_CACAO_TRUE='#'
4398 # Check whether --enable-regen-headers or --disable-regen-headers was given.
4399 if test "${enable_regen_headers+set}" = set; then
4400 enableval="$enable_regen_headers"
4401 case "${enableval}" in
4402 yes) REGENERATE_JNI_HEADERS=yes ;;
4403 no) REGENERATE_JNI_HEADERS=no ;;
4404 *) REGENERATE_JNI_HEADERS=no ;;
4407 REGENERATE_JNI_HEADERS=no
4411 if test "x${REGENERATE_JNI_HEADERS}" = xyes; then
4412 CREATE_JNI_HEADERS_TRUE=
4413 CREATE_JNI_HEADERS_FALSE='#'
4415 CREATE_JNI_HEADERS_TRUE='#'
4416 CREATE_JNI_HEADERS_FALSE=
4420 # Check whether --enable-tool-wrappers or --disable-tool-wrappers was given.
4421 if test "${enable_tool_wrappers+set}" = set; then
4422 enableval="$enable_tool_wrappers"
4423 case x"${enableval}" in
4425 COMPILE_WRAPPERS=yes;
4427 for ac_header in ltdl.h
4429 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
4430 if eval "test \"\${$as_ac_Header+set}\" = set"; then
4431 echo "$as_me:$LINENO: checking for $ac_header" >&5
4432 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
4433 if eval "test \"\${$as_ac_Header+set}\" = set"; then
4434 echo $ECHO_N "(cached) $ECHO_C" >&6
4436 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
4437 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
4439 # Is the header compilable?
4440 echo "$as_me:$LINENO: checking $ac_header usability" >&5
4441 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
4442 cat >conftest.$ac_ext <<_ACEOF
4445 cat confdefs.h >>conftest.$ac_ext
4446 cat >>conftest.$ac_ext <<_ACEOF
4447 /* end confdefs.h. */
4448 $ac_includes_default
4449 #include <$ac_header>
4451 rm -f conftest.$ac_objext
4452 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4453 (eval $ac_compile) 2>conftest.er1
4455 grep -v '^ *+' conftest.er1 >conftest.err
4457 cat conftest.err >&5
4458 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4459 (exit $ac_status); } &&
4460 { ac_try='test -z "$ac_c_werror_flag"
4461 || test ! -s conftest.err'
4462 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4465 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4466 (exit $ac_status); }; } &&
4467 { ac_try='test -s conftest.$ac_objext'
4468 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4471 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4472 (exit $ac_status); }; }; then
4473 ac_header_compiler=yes
4475 echo "$as_me: failed program was:" >&5
4476 sed 's/^/| /' conftest.$ac_ext >&5
4478 ac_header_compiler=no
4480 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
4481 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
4482 echo "${ECHO_T}$ac_header_compiler" >&6
4484 # Is the header present?
4485 echo "$as_me:$LINENO: checking $ac_header presence" >&5
4486 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
4487 cat >conftest.$ac_ext <<_ACEOF
4490 cat confdefs.h >>conftest.$ac_ext
4491 cat >>conftest.$ac_ext <<_ACEOF
4492 /* end confdefs.h. */
4493 #include <$ac_header>
4495 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
4496 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
4498 grep -v '^ *+' conftest.er1 >conftest.err
4500 cat conftest.err >&5
4501 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4502 (exit $ac_status); } >/dev/null; then
4503 if test -s conftest.err; then
4504 ac_cpp_err=$ac_c_preproc_warn_flag
4505 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
4512 if test -z "$ac_cpp_err"; then
4513 ac_header_preproc=yes
4515 echo "$as_me: failed program was:" >&5
4516 sed 's/^/| /' conftest.$ac_ext >&5
4518 ac_header_preproc=no
4520 rm -f conftest.err conftest.$ac_ext
4521 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
4522 echo "${ECHO_T}$ac_header_preproc" >&6
4524 # So? What about this header?
4525 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
4527 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
4528 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
4529 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
4530 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
4531 ac_header_preproc=yes
4534 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
4535 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
4536 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
4537 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
4538 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
4539 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
4540 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
4541 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
4542 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
4543 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
4544 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
4545 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
4548 ## -------------------------------- ##
4549 ## Report this to classpath@gnu.org ##
4550 ## -------------------------------- ##
4553 sed "s/^/$as_me: WARNING: /" >&2
4556 echo "$as_me:$LINENO: checking for $ac_header" >&5
4557 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
4558 if eval "test \"\${$as_ac_Header+set}\" = set"; then
4559 echo $ECHO_N "(cached) $ECHO_C" >&6
4561 eval "$as_ac_Header=\$ac_header_preproc"
4563 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
4564 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
4567 if test `eval echo '${'$as_ac_Header'}'` = yes; then
4568 cat >>confdefs.h <<_ACEOF
4569 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
4573 { { echo "$as_me:$LINENO: error: cannot find ltdl.h" >&5
4574 echo "$as_me: error: cannot find ltdl.h" >&2;}
4575 { (exit 1); exit 1; }; }
4581 echo "$as_me:$LINENO: checking for lt_dlopen in -lltdl" >&5
4582 echo $ECHO_N "checking for lt_dlopen in -lltdl... $ECHO_C" >&6
4583 if test "${ac_cv_lib_ltdl_lt_dlopen+set}" = set; then
4584 echo $ECHO_N "(cached) $ECHO_C" >&6
4586 ac_check_lib_save_LIBS=$LIBS
4588 if test x$gcc_no_link = xyes; then
4589 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
4590 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
4591 { (exit 1); exit 1; }; }
4593 cat >conftest.$ac_ext <<_ACEOF
4596 cat confdefs.h >>conftest.$ac_ext
4597 cat >>conftest.$ac_ext <<_ACEOF
4598 /* end confdefs.h. */
4600 /* Override any gcc2 internal prototype to avoid an error. */
4604 /* We use char because int might match the return type of a gcc2
4605 builtin and then its argument prototype would still apply. */
4615 rm -f conftest.$ac_objext conftest$ac_exeext
4616 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
4617 (eval $ac_link) 2>conftest.er1
4619 grep -v '^ *+' conftest.er1 >conftest.err
4621 cat conftest.err >&5
4622 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4623 (exit $ac_status); } &&
4624 { ac_try='test -z "$ac_c_werror_flag"
4625 || test ! -s conftest.err'
4626 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4629 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4630 (exit $ac_status); }; } &&
4631 { ac_try='test -s conftest$ac_exeext'
4632 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4635 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4636 (exit $ac_status); }; }; then
4637 ac_cv_lib_ltdl_lt_dlopen=yes
4639 echo "$as_me: failed program was:" >&5
4640 sed 's/^/| /' conftest.$ac_ext >&5
4642 ac_cv_lib_ltdl_lt_dlopen=no
4644 rm -f conftest.err conftest.$ac_objext \
4645 conftest$ac_exeext conftest.$ac_ext
4646 LIBS=$ac_check_lib_save_LIBS
4648 echo "$as_me:$LINENO: result: $ac_cv_lib_ltdl_lt_dlopen" >&5
4649 echo "${ECHO_T}$ac_cv_lib_ltdl_lt_dlopen" >&6
4650 if test $ac_cv_lib_ltdl_lt_dlopen = yes; then
4651 cat >>confdefs.h <<_ACEOF
4652 #define HAVE_LIBLTDL 1
4658 { { echo "$as_me:$LINENO: error: cannot find libltdl" >&5
4659 echo "$as_me: error: cannot find libltdl" >&2;}
4660 { (exit 1); exit 1; }; }
4664 xno) COMPILE_WRAPPERS=no ;;
4665 x) COMPILE_WRAPPERS=yes ;;
4666 *) COMPILE_WRAPPERS=yes ;;
4673 if test "x${COMPILE_WRAPPERS}" = xyes; then
4674 CREATE_WRAPPERS_TRUE=
4675 CREATE_WRAPPERS_FALSE='#'
4677 CREATE_WRAPPERS_TRUE='#'
4678 CREATE_WRAPPERS_FALSE=
4682 echo "$as_me:$LINENO: checking whether ln -s works" >&5
4683 echo $ECHO_N "checking whether ln -s works... $ECHO_C" >&6
4685 if test "$LN_S" = "ln -s"; then
4686 echo "$as_me:$LINENO: result: yes" >&5
4687 echo "${ECHO_T}yes" >&6
4689 echo "$as_me:$LINENO: result: no, using $LN_S" >&5
4690 echo "${ECHO_T}no, using $LN_S" >&6
4693 # Find a good install program. We prefer a C program (faster),
4694 # so one script is as good as another. But avoid the broken or
4695 # incompatible versions:
4696 # SysV /etc/install, /usr/sbin/install
4697 # SunOS /usr/etc/install
4698 # IRIX /sbin/install
4700 # AmigaOS /C/install, which installs bootblocks on floppy discs
4701 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
4702 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
4703 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
4704 # OS/2's system install, which has a completely different semantic
4705 # ./install, which can be erroneously created by make from ./install.sh.
4706 echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
4707 echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6
4708 if test -z "$INSTALL"; then
4709 if test "${ac_cv_path_install+set}" = set; then
4710 echo $ECHO_N "(cached) $ECHO_C" >&6
4712 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4716 test -z "$as_dir" && as_dir=.
4717 # Account for people who put trailing slashes in PATH elements.
4719 ./ | .// | /cC/* | \
4720 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
4721 ?:\\/os2\\/install\\/* | ?:\\/OS2\\/INSTALL\\/* | \
4724 # OSF1 and SCO ODT 3.0 have their own names for install.
4725 # Don't use installbsd from OSF since it installs stuff as root
4727 for ac_prog in ginstall scoinst install; do
4728 for ac_exec_ext in '' $ac_executable_extensions; do
4729 if $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
4730 if test $ac_prog = install &&
4731 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
4732 # AIX install. It has an incompatible calling convention.
4734 elif test $ac_prog = install &&
4735 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
4736 # program-specific install script used by HP pwplus--don't use.
4739 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
4751 if test "${ac_cv_path_install+set}" = set; then
4752 INSTALL=$ac_cv_path_install
4754 # As a last resort, use the slow shell script. We don't cache a
4755 # path for INSTALL within a source directory, because that will
4756 # break other packages using the cache if that directory is
4757 # removed, or if the path is relative.
4758 INSTALL=$ac_install_sh
4761 echo "$as_me:$LINENO: result: $INSTALL" >&5
4762 echo "${ECHO_T}$INSTALL" >&6
4764 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
4765 # It thinks the first close brace ends the variable substitution.
4766 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
4768 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
4770 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
4774 # Check whether --enable-static or --disable-static was given.
4775 if test "${enable_static+set}" = set; then
4776 enableval="$enable_static"
4777 p=${PACKAGE-default}
4779 yes) enable_static=yes ;;
4780 no) enable_static=no ;;
4783 # Look at the argument we got. We use all the common list separators.
4784 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}:,"
4785 for pkg in $enableval; do
4786 if test "X$pkg" = "X$p"; then
4796 # Check whether --enable-shared or --disable-shared was given.
4797 if test "${enable_shared+set}" = set; then
4798 enableval="$enable_shared"
4799 p=${PACKAGE-default}
4801 yes) enable_shared=yes ;;
4802 no) enable_shared=no ;;
4805 # Look at the argument we got. We use all the common list separators.
4806 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}:,"
4807 for pkg in $enableval; do
4808 if test "X$pkg" = "X$p"; then
4818 # Check whether --enable-fast-install or --disable-fast-install was given.
4819 if test "${enable_fast_install+set}" = set; then
4820 enableval="$enable_fast_install"
4821 p=${PACKAGE-default}
4823 yes) enable_fast_install=yes ;;
4824 no) enable_fast_install=no ;;
4826 enable_fast_install=no
4827 # Look at the argument we got. We use all the common list separators.
4828 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}:,"
4829 for pkg in $enableval; do
4830 if test "X$pkg" = "X$p"; then
4831 enable_fast_install=yes
4838 enable_fast_install=yes
4841 # Check whether --with-gnu-ld or --without-gnu-ld was given.
4842 if test "${with_gnu_ld+set}" = set; then
4843 withval="$with_gnu_ld"
4844 test "$withval" = no || with_gnu_ld=yes
4849 if test "$GCC" = yes; then
4850 # Check if gcc -print-prog-name=ld gives a path.
4851 echo "$as_me:$LINENO: checking for ld used by GCC" >&5
4852 echo $ECHO_N "checking for ld used by GCC... $ECHO_C" >&6
4855 # gcc leaves a trailing carriage return which upsets mingw
4856 ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
4858 ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
4861 # Accept absolute paths.
4862 [\\/]* | [A-Za-z]:[\\/]*)
4863 re_direlt='/[^/][^/]*/\.\./'
4864 # Canonicalize the path of ld
4865 ac_prog=`echo $ac_prog| sed 's%\\\\%/%g'`
4866 while echo $ac_prog | grep "$re_direlt" > /dev/null 2>&1; do
4867 ac_prog=`echo $ac_prog| sed "s%$re_direlt%/%"`
4869 test -z "$LD" && LD="$ac_prog"
4872 # If it fails, then pretend we aren't using GCC.
4876 # If it is relative, then search for the first ld in PATH.
4880 elif test "$with_gnu_ld" = yes; then
4881 echo "$as_me:$LINENO: checking for GNU ld" >&5
4882 echo $ECHO_N "checking for GNU ld... $ECHO_C" >&6
4884 echo "$as_me:$LINENO: checking for non-GNU ld" >&5
4885 echo $ECHO_N "checking for non-GNU ld... $ECHO_C" >&6
4887 if test "${lt_cv_path_LD+set}" = set; then
4888 echo $ECHO_N "(cached) $ECHO_C" >&6
4890 if test -z "$LD"; then
4891 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}${PATH_SEPARATOR-:}"
4892 for ac_dir in $PATH; do
4893 test -z "$ac_dir" && ac_dir=.
4894 if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
4895 lt_cv_path_LD="$ac_dir/$ac_prog"
4896 # Check to see if the program is GNU ld. I'd rather use --version,
4897 # but apparently some GNU ld's only accept -v.
4898 # Break only if it was the GNU/non-GNU ld that we prefer.
4899 if "$lt_cv_path_LD" -v 2>&1 < /dev/null | egrep '(GNU|with BFD)' > /dev/null; then
4900 test "$with_gnu_ld" != no && break
4902 test "$with_gnu_ld" != yes && break
4908 lt_cv_path_LD="$LD" # Let the user override the test with a path.
4913 if test -n "$LD"; then
4914 echo "$as_me:$LINENO: result: $LD" >&5
4915 echo "${ECHO_T}$LD" >&6
4917 echo "$as_me:$LINENO: result: no" >&5
4918 echo "${ECHO_T}no" >&6
4920 test -z "$LD" && { { echo "$as_me:$LINENO: error: no acceptable ld found in \$PATH" >&5
4921 echo "$as_me: error: no acceptable ld found in \$PATH" >&2;}
4922 { (exit 1); exit 1; }; }
4923 echo "$as_me:$LINENO: checking if the linker ($LD) is GNU ld" >&5
4924 echo $ECHO_N "checking if the linker ($LD) is GNU ld... $ECHO_C" >&6
4925 if test "${lt_cv_prog_gnu_ld+set}" = set; then
4926 echo $ECHO_N "(cached) $ECHO_C" >&6
4928 # I'd rather use --version here, but apparently some GNU ld's only accept -v.
4929 if $LD -v 2>&1 </dev/null | egrep '(GNU|with BFD)' 1>&5; then
4930 lt_cv_prog_gnu_ld=yes
4932 lt_cv_prog_gnu_ld=no
4935 echo "$as_me:$LINENO: result: $lt_cv_prog_gnu_ld" >&5
4936 echo "${ECHO_T}$lt_cv_prog_gnu_ld" >&6
4937 with_gnu_ld=$lt_cv_prog_gnu_ld
4940 echo "$as_me:$LINENO: checking for $LD option to reload object files" >&5
4941 echo $ECHO_N "checking for $LD option to reload object files... $ECHO_C" >&6
4942 if test "${lt_cv_ld_reload_flag+set}" = set; then
4943 echo $ECHO_N "(cached) $ECHO_C" >&6
4945 lt_cv_ld_reload_flag='-r'
4947 echo "$as_me:$LINENO: result: $lt_cv_ld_reload_flag" >&5
4948 echo "${ECHO_T}$lt_cv_ld_reload_flag" >&6
4949 reload_flag=$lt_cv_ld_reload_flag
4950 test -n "$reload_flag" && reload_flag=" $reload_flag"
4952 echo "$as_me:$LINENO: checking for BSD-compatible nm" >&5
4953 echo $ECHO_N "checking for BSD-compatible nm... $ECHO_C" >&6
4954 if test "${lt_cv_path_NM+set}" = set; then
4955 echo $ECHO_N "(cached) $ECHO_C" >&6
4957 if test -n "$NM"; then
4958 # Let the user override the test.
4961 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}${PATH_SEPARATOR-:}"
4962 for ac_dir in $PATH /usr/ccs/bin /usr/ucb /bin; do
4963 test -z "$ac_dir" && ac_dir=.
4964 tmp_nm=$ac_dir/${ac_tool_prefix}nm
4965 if test -f $tmp_nm || test -f $tmp_nm$ac_exeext ; then
4966 # Check to see if the nm accepts a BSD-compat flag.
4967 # Adding the `sed 1q' prevents false positives on HP-UX, which says:
4968 # nm: unknown option "B" ignored
4969 # Tru64's nm complains that /dev/null is an invalid object file
4970 if ($tmp_nm -B /dev/null 2>&1 | sed '1q'; exit 0) | egrep '(/dev/null|Invalid file or object type)' >/dev/null; then
4971 lt_cv_path_NM="$tmp_nm -B"
4973 elif ($tmp_nm -p /dev/null 2>&1 | sed '1q'; exit 0) | egrep /dev/null >/dev/null; then
4974 lt_cv_path_NM="$tmp_nm -p"
4977 lt_cv_path_NM=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but
4978 continue # so that we can try to find one that supports BSD flags
4983 test -z "$lt_cv_path_NM" && lt_cv_path_NM=nm
4988 echo "$as_me:$LINENO: result: $NM" >&5
4989 echo "${ECHO_T}$NM" >&6
4991 echo "$as_me:$LINENO: checking how to recognise dependant libraries" >&5
4992 echo $ECHO_N "checking how to recognise dependant libraries... $ECHO_C" >&6
4993 if test "${lt_cv_deplibs_check_method+set}" = set; then
4994 echo $ECHO_N "(cached) $ECHO_C" >&6
4996 lt_cv_file_magic_cmd='$MAGIC_CMD'
4997 lt_cv_file_magic_test_file=
4998 lt_cv_deplibs_check_method='unknown'
4999 # Need to set the preceding variable on all platforms that support
5000 # interlibrary dependencies.
5001 # 'none' -- dependencies not supported.
5002 # `unknown' -- same as none, but documents that we really don't know.
5003 # 'pass_all' -- all dependencies passed with no checks.
5004 # 'test_compile' -- check by making test program.
5005 # 'file_magic [regex]' -- check by looking for files in library path
5006 # which responds to the $file_magic_cmd with a given egrep regex.
5007 # If you have `file' or equivalent on your system and you're not sure
5008 # whether `pass_all' will *always* work, you probably want this one.
5012 lt_cv_deplibs_check_method=pass_all
5016 lt_cv_deplibs_check_method=pass_all
5020 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib)'
5021 lt_cv_file_magic_cmd='/usr/bin/file -L'
5022 lt_cv_file_magic_test_file=/shlib/libc.so
5025 cygwin* | mingw* |pw32*)
5026 lt_cv_deplibs_check_method='file_magic file format pei*-i386(.*architecture: i386)?'
5027 lt_cv_file_magic_cmd='$OBJDUMP -f'
5030 darwin* | rhapsody*)
5031 # this will be overwritten by pass_all, but leave it in just in case
5032 lt_cv_deplibs_check_method='file_magic Mach-O dynamically linked shared library'
5033 lt_cv_file_magic_cmd='/usr/bin/file -L'
5035 rhapsody* | darwin1.012)
5036 lt_cv_file_magic_test_file='/System/Library/Frameworks/System.framework/System'
5039 lt_cv_file_magic_test_file='/usr/lib/libSystem.dylib'
5042 lt_cv_deplibs_check_method=pass_all
5045 freebsd* | kfreebsd*-gnu)
5046 if echo __ELF__ | $CC -E - | grep __ELF__ > /dev/null; then
5049 # Not sure whether the presence of OpenBSD here was a mistake.
5050 # Let's accept both of them until this is cleared up.
5051 lt_cv_deplibs_check_method='file_magic (FreeBSD|OpenBSD)/i[3-9]86 (compact )?demand paged shared library'
5052 lt_cv_file_magic_cmd=/usr/bin/file
5053 lt_cv_file_magic_test_file=`echo /usr/lib/libc.so.*`
5057 lt_cv_deplibs_check_method=pass_all
5062 lt_cv_deplibs_check_method=pass_all
5068 lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9].[0-9]) shared library'
5069 lt_cv_file_magic_cmd=/usr/bin/file
5070 lt_cv_file_magic_test_file=/usr/lib/libc.sl
5073 lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - IA64'
5074 lt_cv_file_magic_cmd=/usr/bin/file
5075 lt_cv_file_magic_test_file=/usr/lib/hpux32/libc.so
5083 # this will be overridden with pass_all, but let us keep it just in case
5084 lt_cv_deplibs_check_method="file_magic ELF 32-bit MSB dynamic lib MIPS - version 1"
5088 *-32|*"-32 ") libmagic=32-bit;;
5089 *-n32|*"-n32 ") libmagic=N32;;
5090 *-64|*"-64 ") libmagic=64-bit;;
5091 *) libmagic=never-match;;
5093 # this will be overridden with pass_all, but let us keep it just in case
5094 lt_cv_deplibs_check_method="file_magic ELF ${libmagic} MSB mips-[1234] dynamic lib MIPS - version 1"
5097 lt_cv_file_magic_test_file=`echo /lib${libsuff}/libc.so*`
5098 lt_cv_deplibs_check_method=pass_all
5101 # This must be Linux ELF.
5103 lt_cv_deplibs_check_method=pass_all
5106 netbsd* | knetbsd*-gnu)
5107 if echo __ELF__ | $CC -E - | grep __ELF__ > /dev/null; then
5108 lt_cv_deplibs_check_method='match_pattern /lib[^/\.]+\.so\.[0-9]+\.[0-9]+$'
5110 lt_cv_deplibs_check_method='match_pattern /lib[^/\.]+\.so$'
5115 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (executable|dynamic lib)'
5116 lt_cv_file_magic_cmd=/usr/bin/file
5117 lt_cv_file_magic_test_file=/usr/lib/libnls.so
5120 osf3* | osf4* | osf5*)
5121 # this will be overridden with pass_all, but let us keep it just in case
5122 lt_cv_deplibs_check_method='file_magic COFF format alpha shared library'
5123 lt_cv_file_magic_test_file=/shlib/libc.so
5124 lt_cv_deplibs_check_method=pass_all
5128 lt_cv_deplibs_check_method=pass_all
5132 lt_cv_deplibs_check_method=pass_all
5133 lt_cv_file_magic_test_file=/lib/libc.so
5136 sysv5uw[78]* | sysv4*uw2*)
5137 lt_cv_deplibs_check_method=pass_all
5140 sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)
5141 case $host_vendor in
5143 lt_cv_deplibs_check_method=pass_all
5146 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]'
5147 lt_cv_file_magic_test_file=`echo /usr/lib/libc.so*`
5154 echo "$as_me:$LINENO: result: $lt_cv_deplibs_check_method" >&5
5155 echo "${ECHO_T}$lt_cv_deplibs_check_method" >&6
5156 file_magic_cmd=$lt_cv_file_magic_cmd
5157 deplibs_check_method=$lt_cv_deplibs_check_method
5162 # Autoconf 2.13's AC_OBJEXT and AC_EXEEXT macros only works for C compilers!
5164 # find the maximum length of command line arguments
5165 echo "$as_me:$LINENO: checking the maximum length of command line arguments" >&5
5166 echo $ECHO_N "checking the maximum length of command line arguments... $ECHO_C" >&6
5167 if test "${lt_cv_sys_max_cmd_len+set}" = set; then
5168 echo $ECHO_N "(cached) $ECHO_C" >&6
5175 # On DJGPP, this test can blow up pretty badly due to problems in libc
5176 # (any single argument exceeding 2000 bytes causes a buffer overrun
5177 # during glob expansion). Even if it were fixed, the result of this
5178 # check would be larger than it should be.
5179 lt_cv_sys_max_cmd_len=12288; # 12K is about right
5183 # On Win9x/ME, this test blows up -- it succeeds, but takes
5184 # about 5 minutes as the teststring grows exponentially.
5185 # Worse, since 9x/ME are not pre-emptively multitasking,
5186 # you end up with a "frozen" computer, even though with patience
5187 # the test eventually succeeds (with a max line length of 256k).
5188 # Instead, let's just punt: use the minimum linelength reported by
5189 # all of the supported platforms: 8192 (on NT/2K/XP).
5190 lt_cv_sys_max_cmd_len=8192;
5194 # On AmigaOS with pdksh, this test takes hours, literally.
5195 # So we just punt and use a minimum line length of 8192.
5196 lt_cv_sys_max_cmd_len=8192;
5199 netbsd* | freebsd* | openbsd* | darwin* | dragonfly*)
5200 # This has been around since 386BSD, at least. Likely further.
5201 if test -x /sbin/sysctl; then
5202 lt_cv_sys_max_cmd_len=`/sbin/sysctl -n kern.argmax`
5203 elif test -x /usr/sbin/sysctl; then
5204 lt_cv_sys_max_cmd_len=`/usr/sbin/sysctl -n kern.argmax`
5206 lt_cv_sys_max_cmd_len=65536 # usable default for *BSD
5208 # And add a safety zone
5209 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
5210 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
5216 if test -n "$lt_cv_sys_max_cmd_len" ; then
5217 echo "$as_me:$LINENO: result: $lt_cv_sys_max_cmd_len" >&5
5218 echo "${ECHO_T}$lt_cv_sys_max_cmd_len" >&6
5220 echo "$as_me:$LINENO: result: none" >&5
5221 echo "${ECHO_T}none" >&6
5225 # Only perform the check for file, if the check method requires it
5226 case $deplibs_check_method in
5228 if test "$file_magic_cmd" = '$MAGIC_CMD'; then
5229 echo "$as_me:$LINENO: checking for ${ac_tool_prefix}file" >&5
5230 echo $ECHO_N "checking for ${ac_tool_prefix}file... $ECHO_C" >&6
5231 if test "${lt_cv_path_MAGIC_CMD+set}" = set; then
5232 echo $ECHO_N "(cached) $ECHO_C" >&6
5236 lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
5239 lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a dos path.
5242 ac_save_MAGIC_CMD="$MAGIC_CMD"
5243 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":"
5244 ac_dummy="/usr/bin:$PATH"
5245 for ac_dir in $ac_dummy; do
5246 test -z "$ac_dir" && ac_dir=.
5247 if test -f $ac_dir/${ac_tool_prefix}file; then
5248 lt_cv_path_MAGIC_CMD="$ac_dir/${ac_tool_prefix}file"
5249 if test -n "$file_magic_test_file"; then
5250 case $deplibs_check_method in
5252 file_magic_regex="`expr \"$deplibs_check_method\" : \"file_magic \(.*\)\"`"
5253 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
5254 if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
5255 egrep "$file_magic_regex" > /dev/null; then
5260 *** Warning: the command libtool uses to detect shared libraries,
5261 *** $file_magic_cmd, produces output that libtool cannot recognize.
5262 *** The result is that libtool may fail to recognize shared libraries
5263 *** as such. This will affect the creation of libtool libraries that
5264 *** depend on shared libraries, but programs linked with such libtool
5265 *** libraries will work regardless of this problem. Nevertheless, you
5266 *** may want to report the problem to your system manager and/or to
5267 *** bug-libtool@gnu.org
5277 MAGIC_CMD="$ac_save_MAGIC_CMD"
5282 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
5283 if test -n "$MAGIC_CMD"; then
5284 echo "$as_me:$LINENO: result: $MAGIC_CMD" >&5
5285 echo "${ECHO_T}$MAGIC_CMD" >&6
5287 echo "$as_me:$LINENO: result: no" >&5
5288 echo "${ECHO_T}no" >&6
5291 if test -z "$lt_cv_path_MAGIC_CMD"; then
5292 if test -n "$ac_tool_prefix"; then
5293 echo "$as_me:$LINENO: checking for file" >&5
5294 echo $ECHO_N "checking for file... $ECHO_C" >&6
5295 if test "${lt_cv_path_MAGIC_CMD+set}" = set; then
5296 echo $ECHO_N "(cached) $ECHO_C" >&6
5300 lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
5303 lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a dos path.
5306 ac_save_MAGIC_CMD="$MAGIC_CMD"
5307 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":"
5308 ac_dummy="/usr/bin:$PATH"
5309 for ac_dir in $ac_dummy; do
5310 test -z "$ac_dir" && ac_dir=.
5311 if test -f $ac_dir/file; then
5312 lt_cv_path_MAGIC_CMD="$ac_dir/file"
5313 if test -n "$file_magic_test_file"; then
5314 case $deplibs_check_method in
5316 file_magic_regex="`expr \"$deplibs_check_method\" : \"file_magic \(.*\)\"`"
5317 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
5318 if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
5319 egrep "$file_magic_regex" > /dev/null; then
5324 *** Warning: the command libtool uses to detect shared libraries,
5325 *** $file_magic_cmd, produces output that libtool cannot recognize.
5326 *** The result is that libtool may fail to recognize shared libraries
5327 *** as such. This will affect the creation of libtool libraries that
5328 *** depend on shared libraries, but programs linked with such libtool
5329 *** libraries will work regardless of this problem. Nevertheless, you
5330 *** may want to report the problem to your system manager and/or to
5331 *** bug-libtool@gnu.org
5341 MAGIC_CMD="$ac_save_MAGIC_CMD"
5346 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
5347 if test -n "$MAGIC_CMD"; then
5348 echo "$as_me:$LINENO: result: $MAGIC_CMD" >&5
5349 echo "${ECHO_T}$MAGIC_CMD" >&6
5351 echo "$as_me:$LINENO: result: no" >&5
5352 echo "${ECHO_T}no" >&6
5364 if test -n "$ac_tool_prefix"; then
5365 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
5366 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
5367 echo "$as_me:$LINENO: checking for $ac_word" >&5
5368 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
5369 if test "${ac_cv_prog_RANLIB+set}" = set; then
5370 echo $ECHO_N "(cached) $ECHO_C" >&6
5372 if test -n "$RANLIB"; then
5373 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
5375 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5379 test -z "$as_dir" && as_dir=.
5380 for ac_exec_ext in '' $ac_executable_extensions; do
5381 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5382 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
5383 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5391 RANLIB=$ac_cv_prog_RANLIB
5392 if test -n "$RANLIB"; then
5393 echo "$as_me:$LINENO: result: $RANLIB" >&5
5394 echo "${ECHO_T}$RANLIB" >&6
5396 echo "$as_me:$LINENO: result: no" >&5
5397 echo "${ECHO_T}no" >&6
5401 if test -z "$ac_cv_prog_RANLIB"; then
5402 ac_ct_RANLIB=$RANLIB
5403 # Extract the first word of "ranlib", so it can be a program name with args.
5404 set dummy ranlib; ac_word=$2
5405 echo "$as_me:$LINENO: checking for $ac_word" >&5
5406 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
5407 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
5408 echo $ECHO_N "(cached) $ECHO_C" >&6
5410 if test -n "$ac_ct_RANLIB"; then
5411 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
5413 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5417 test -z "$as_dir" && as_dir=.
5418 for ac_exec_ext in '' $ac_executable_extensions; do
5419 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5420 ac_cv_prog_ac_ct_RANLIB="ranlib"
5421 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5427 test -z "$ac_cv_prog_ac_ct_RANLIB" && ac_cv_prog_ac_ct_RANLIB=":"
5430 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
5431 if test -n "$ac_ct_RANLIB"; then
5432 echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
5433 echo "${ECHO_T}$ac_ct_RANLIB" >&6
5435 echo "$as_me:$LINENO: result: no" >&5
5436 echo "${ECHO_T}no" >&6
5439 RANLIB=$ac_ct_RANLIB
5441 RANLIB="$ac_cv_prog_RANLIB"
5444 if test -n "$ac_tool_prefix"; then
5445 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
5446 set dummy ${ac_tool_prefix}strip; ac_word=$2
5447 echo "$as_me:$LINENO: checking for $ac_word" >&5
5448 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
5449 if test "${ac_cv_prog_STRIP+set}" = set; then
5450 echo $ECHO_N "(cached) $ECHO_C" >&6
5452 if test -n "$STRIP"; then
5453 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
5455 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5459 test -z "$as_dir" && as_dir=.
5460 for ac_exec_ext in '' $ac_executable_extensions; do
5461 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5462 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
5463 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5471 STRIP=$ac_cv_prog_STRIP
5472 if test -n "$STRIP"; then
5473 echo "$as_me:$LINENO: result: $STRIP" >&5
5474 echo "${ECHO_T}$STRIP" >&6
5476 echo "$as_me:$LINENO: result: no" >&5
5477 echo "${ECHO_T}no" >&6
5481 if test -z "$ac_cv_prog_STRIP"; then
5483 # Extract the first word of "strip", so it can be a program name with args.
5484 set dummy strip; ac_word=$2
5485 echo "$as_me:$LINENO: checking for $ac_word" >&5
5486 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
5487 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
5488 echo $ECHO_N "(cached) $ECHO_C" >&6
5490 if test -n "$ac_ct_STRIP"; then
5491 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
5493 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5497 test -z "$as_dir" && as_dir=.
5498 for ac_exec_ext in '' $ac_executable_extensions; do
5499 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5500 ac_cv_prog_ac_ct_STRIP="strip"
5501 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5507 test -z "$ac_cv_prog_ac_ct_STRIP" && ac_cv_prog_ac_ct_STRIP=":"
5510 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
5511 if test -n "$ac_ct_STRIP"; then
5512 echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
5513 echo "${ECHO_T}$ac_ct_STRIP" >&6
5515 echo "$as_me:$LINENO: result: no" >&5
5516 echo "${ECHO_T}no" >&6
5521 STRIP="$ac_cv_prog_STRIP"
5525 # Check for any special flags to pass to ltconfig.
5526 libtool_flags="--cache-file=$cache_file"
5527 test "$enable_shared" = no && libtool_flags="$libtool_flags --disable-shared"
5528 test "$enable_static" = no && libtool_flags="$libtool_flags --disable-static"
5529 test "$enable_fast_install" = no && libtool_flags="$libtool_flags --disable-fast-install"
5530 test "$GCC" = yes && libtool_flags="$libtool_flags --with-gcc"
5531 test "$lt_cv_prog_gnu_ld" = yes && libtool_flags="$libtool_flags --with-gnu-ld"
5534 # Check whether --enable-libtool-lock or --disable-libtool-lock was given.
5535 if test "${enable_libtool_lock+set}" = set; then
5536 enableval="$enable_libtool_lock"
5539 test "x$enable_libtool_lock" = xno && libtool_flags="$libtool_flags --disable-lock"
5540 test x"$silent" = xyes && libtool_flags="$libtool_flags --silent"
5543 # Check whether --with-pic or --without-pic was given.
5544 if test "${with_pic+set}" = set; then
5550 test x"$pic_mode" = xyes && libtool_flags="$libtool_flags --prefer-pic"
5551 test x"$pic_mode" = xno && libtool_flags="$libtool_flags --prefer-non-pic"
5553 # Some flags need to be propagated to the compiler or linker for good
5557 # Find out which ABI we are using.
5558 echo '#line 5558 "configure"' > conftest.$ac_ext
5559 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5560 (eval $ac_compile) 2>&5
5562 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5563 (exit $ac_status); }; then
5564 if test "$lt_cv_prog_gnu_ld" = yes; then
5565 case `/usr/bin/file conftest.$ac_objext` in
5567 LD="${LD-ld} -melf32bsmip"
5570 LD="${LD-ld} -melf32bmipn32"
5573 LD="${LD-ld} -melf64bmip"
5577 case `/usr/bin/file conftest.$ac_objext` in
5594 # Find out which ABI we are using.
5595 echo 'int i;' > conftest.$ac_ext
5596 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5597 (eval $ac_compile) 2>&5
5599 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5600 (exit $ac_status); }; then
5601 case "`/usr/bin/file conftest.o`" in
5613 x86_64-*linux*|ppc*-*linux*|powerpc*-*linux*|s390*-*linux*|sparc*-*linux*)
5614 # Find out which ABI we are using.
5615 echo 'int i;' > conftest.$ac_ext
5616 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5617 (eval $ac_compile) 2>&5
5619 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5620 (exit $ac_status); }; then
5621 case "`/usr/bin/file conftest.o`" in
5625 LD="${LD-ld} -m elf_i386"
5627 ppc64-*linux*|powerpc64-*linux*)
5628 LD="${LD-ld} -m elf32ppclinux"
5631 LD="${LD-ld} -m elf_s390"
5634 LD="${LD-ld} -m elf32_sparc"
5641 LD="${LD-ld} -m elf_x86_64"
5643 ppc*-*linux*|powerpc*-*linux*)
5644 LD="${LD-ld} -m elf64ppc"
5647 LD="${LD-ld} -m elf64_s390"
5650 LD="${LD-ld} -m elf64_sparc"
5660 # On SCO OpenServer 5, we need -belf to get full-featured binaries.
5661 SAVE_CFLAGS="$CFLAGS"
5662 CFLAGS="$CFLAGS -belf"
5663 echo "$as_me:$LINENO: checking whether the C compiler needs -belf" >&5
5664 echo $ECHO_N "checking whether the C compiler needs -belf... $ECHO_C" >&6
5665 if test "${lt_cv_cc_needs_belf+set}" = set; then
5666 echo $ECHO_N "(cached) $ECHO_C" >&6
5671 ac_cpp='$CPP $CPPFLAGS'
5672 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5673 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5674 ac_compiler_gnu=$ac_cv_c_compiler_gnu
5676 if test x$gcc_no_link = xyes; then
5677 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
5678 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
5679 { (exit 1); exit 1; }; }
5681 cat >conftest.$ac_ext <<_ACEOF
5684 cat confdefs.h >>conftest.$ac_ext
5685 cat >>conftest.$ac_ext <<_ACEOF
5686 /* end confdefs.h. */
5696 rm -f conftest.$ac_objext conftest$ac_exeext
5697 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
5698 (eval $ac_link) 2>conftest.er1
5700 grep -v '^ *+' conftest.er1 >conftest.err
5702 cat conftest.err >&5
5703 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5704 (exit $ac_status); } &&
5705 { ac_try='test -z "$ac_c_werror_flag"
5706 || test ! -s conftest.err'
5707 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5710 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5711 (exit $ac_status); }; } &&
5712 { ac_try='test -s conftest$ac_exeext'
5713 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5716 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5717 (exit $ac_status); }; }; then
5718 lt_cv_cc_needs_belf=yes
5720 echo "$as_me: failed program was:" >&5
5721 sed 's/^/| /' conftest.$ac_ext >&5
5723 lt_cv_cc_needs_belf=no
5725 rm -f conftest.err conftest.$ac_objext \
5726 conftest$ac_exeext conftest.$ac_ext
5728 ac_cpp='$CPP $CPPFLAGS'
5729 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5730 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5731 ac_compiler_gnu=$ac_cv_c_compiler_gnu
5734 echo "$as_me:$LINENO: result: $lt_cv_cc_needs_belf" >&5
5735 echo "${ECHO_T}$lt_cv_cc_needs_belf" >&6
5736 if test x"$lt_cv_cc_needs_belf" != x"yes"; then
5737 # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
5738 CFLAGS="$SAVE_CFLAGS"
5746 # Save cache, so that ltconfig can load it
5747 cat >confcache <<\_ACEOF
5748 # This file is a shell script that caches the results of configure
5749 # tests run on this system so they can be shared between configure
5750 # scripts and configure runs, see configure's option --config-cache.
5751 # It is not useful on other systems. If it contains results you don't
5752 # want to keep, you may remove or edit it.
5754 # config.status only pays attention to the cache file if you give it
5755 # the --recheck option to rerun configure.
5757 # `ac_cv_env_foo' variables (set or unset) will be overridden when
5758 # loading this file, other *unset* `ac_cv_foo' will be assigned the
5763 # The following way of writing the cache mishandles newlines in values,
5764 # but we know of no workaround that is simple, portable, and efficient.
5765 # So, don't put newlines in cache variables' values.
5766 # Ultrix sh set writes to stderr and can't be redirected directly,
5767 # and sets the high bit in the cache file unless we assign to the vars.
5770 case `(ac_space=' '; set | grep ac_space) 2>&1` in
5772 # `set' does not quote correctly, so add quotes (double-quote
5773 # substitution turns \\\\ into \\, and sed turns \\ into \).
5776 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
5779 # `set' quotes correctly as required by POSIX, so do not add quotes.
5781 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
5788 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
5790 /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
5792 if diff $cache_file confcache >/dev/null 2>&1; then :; else
5793 if test -w $cache_file; then
5794 test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
5795 cat confcache >$cache_file
5797 echo "not updating unwritable cache $cache_file"
5802 # Actually configure libtool. ac_aux_dir is where install-sh is found.
5803 AR="$AR" LTCC="$CC" CC="$CC" CFLAGS="$CFLAGS" CPPFLAGS="$CPPFLAGS" \
5804 MAGIC_CMD="$MAGIC_CMD" LD="$LD" LDFLAGS="$LDFLAGS" LIBS="$LIBS" \
5805 LN_S="$LN_S" NM="$NM" RANLIB="$RANLIB" STRIP="$STRIP" \
5806 AS="$AS" DLLTOOL="$DLLTOOL" OBJDUMP="$OBJDUMP" \
5807 objext="$OBJEXT" exeext="$EXEEXT" reload_flag="$reload_flag" \
5808 deplibs_check_method="$deplibs_check_method" file_magic_cmd="$file_magic_cmd" \
5809 ${CONFIG_SHELL-/bin/sh} $ac_aux_dir/ltconfig --no-reexec \
5810 $libtool_flags --no-verify --build="$build" $ac_aux_dir/ltmain.sh $host \
5811 || { { echo "$as_me:$LINENO: error: libtool configure failed" >&5
5812 echo "$as_me: error: libtool configure failed" >&2;}
5813 { (exit 1); exit 1; }; }
5815 # Reload cache, that may have been modified by ltconfig
5816 if test -r "$cache_file"; then
5817 # Some versions of bash will fail to source /dev/null (special
5818 # files actually), so we avoid doing that.
5819 if test -f "$cache_file"; then
5820 { echo "$as_me:$LINENO: loading cache $cache_file" >&5
5821 echo "$as_me: loading cache $cache_file" >&6;}
5823 [\\/]* | ?:[\\/]* ) . $cache_file;;
5824 *) . ./$cache_file;;
5828 { echo "$as_me:$LINENO: creating cache $cache_file" >&5
5829 echo "$as_me: creating cache $cache_file" >&6;}
5834 # This can be used to rebuild libtool when needed
5835 LIBTOOL_DEPS="$ac_aux_dir/ltconfig $ac_aux_dir/ltmain.sh $ac_aux_dir/ltcf-c.sh"
5837 # Always use our own libtool.
5838 LIBTOOL='$(SHELL) $(top_builddir)/libtool'
5840 # Redirect the config.log output again, so that the ltconfig log is not
5841 # clobbered by the next message.
5842 exec 5>>./config.log
5850 ac_cpp='$CPP $CPPFLAGS'
5851 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5852 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5853 ac_compiler_gnu=$ac_cv_c_compiler_gnu
5854 if test -n "$ac_tool_prefix"; then
5855 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
5856 set dummy ${ac_tool_prefix}gcc; ac_word=$2
5857 echo "$as_me:$LINENO: checking for $ac_word" >&5
5858 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
5859 if test "${ac_cv_prog_CC+set}" = set; then
5860 echo $ECHO_N "(cached) $ECHO_C" >&6
5862 if test -n "$CC"; then
5863 ac_cv_prog_CC="$CC" # Let the user override the test.
5865 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5869 test -z "$as_dir" && as_dir=.
5870 for ac_exec_ext in '' $ac_executable_extensions; do
5871 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5872 ac_cv_prog_CC="${ac_tool_prefix}gcc"
5873 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5882 if test -n "$CC"; then
5883 echo "$as_me:$LINENO: result: $CC" >&5
5884 echo "${ECHO_T}$CC" >&6
5886 echo "$as_me:$LINENO: result: no" >&5
5887 echo "${ECHO_T}no" >&6
5891 if test -z "$ac_cv_prog_CC"; then
5893 # Extract the first word of "gcc", so it can be a program name with args.
5894 set dummy gcc; ac_word=$2
5895 echo "$as_me:$LINENO: checking for $ac_word" >&5
5896 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
5897 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
5898 echo $ECHO_N "(cached) $ECHO_C" >&6
5900 if test -n "$ac_ct_CC"; then
5901 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
5903 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5907 test -z "$as_dir" && as_dir=.
5908 for ac_exec_ext in '' $ac_executable_extensions; do
5909 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5910 ac_cv_prog_ac_ct_CC="gcc"
5911 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5919 ac_ct_CC=$ac_cv_prog_ac_ct_CC
5920 if test -n "$ac_ct_CC"; then
5921 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
5922 echo "${ECHO_T}$ac_ct_CC" >&6
5924 echo "$as_me:$LINENO: result: no" >&5
5925 echo "${ECHO_T}no" >&6
5933 if test -z "$CC"; then
5934 if test -n "$ac_tool_prefix"; then
5935 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
5936 set dummy ${ac_tool_prefix}cc; ac_word=$2
5937 echo "$as_me:$LINENO: checking for $ac_word" >&5
5938 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
5939 if test "${ac_cv_prog_CC+set}" = set; then
5940 echo $ECHO_N "(cached) $ECHO_C" >&6
5942 if test -n "$CC"; then
5943 ac_cv_prog_CC="$CC" # Let the user override the test.
5945 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5949 test -z "$as_dir" && as_dir=.
5950 for ac_exec_ext in '' $ac_executable_extensions; do
5951 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5952 ac_cv_prog_CC="${ac_tool_prefix}cc"
5953 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5962 if test -n "$CC"; then
5963 echo "$as_me:$LINENO: result: $CC" >&5
5964 echo "${ECHO_T}$CC" >&6
5966 echo "$as_me:$LINENO: result: no" >&5
5967 echo "${ECHO_T}no" >&6
5971 if test -z "$ac_cv_prog_CC"; then
5973 # Extract the first word of "cc", so it can be a program name with args.
5974 set dummy cc; ac_word=$2
5975 echo "$as_me:$LINENO: checking for $ac_word" >&5
5976 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
5977 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
5978 echo $ECHO_N "(cached) $ECHO_C" >&6
5980 if test -n "$ac_ct_CC"; then
5981 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
5983 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5987 test -z "$as_dir" && as_dir=.
5988 for ac_exec_ext in '' $ac_executable_extensions; do
5989 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5990 ac_cv_prog_ac_ct_CC="cc"
5991 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5999 ac_ct_CC=$ac_cv_prog_ac_ct_CC
6000 if test -n "$ac_ct_CC"; then
6001 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
6002 echo "${ECHO_T}$ac_ct_CC" >&6
6004 echo "$as_me:$LINENO: result: no" >&5
6005 echo "${ECHO_T}no" >&6
6014 if test -z "$CC"; then
6015 # Extract the first word of "cc", so it can be a program name with args.
6016 set dummy cc; ac_word=$2
6017 echo "$as_me:$LINENO: checking for $ac_word" >&5
6018 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
6019 if test "${ac_cv_prog_CC+set}" = set; then
6020 echo $ECHO_N "(cached) $ECHO_C" >&6
6022 if test -n "$CC"; then
6023 ac_cv_prog_CC="$CC" # Let the user override the test.
6026 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6030 test -z "$as_dir" && as_dir=.
6031 for ac_exec_ext in '' $ac_executable_extensions; do
6032 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6033 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
6034 ac_prog_rejected=yes
6038 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6044 if test $ac_prog_rejected = yes; then
6045 # We found a bogon in the path, so make sure we never use it.
6046 set dummy $ac_cv_prog_CC
6048 if test $# != 0; then
6049 # We chose a different compiler from the bogus one.
6050 # However, it has the same basename, so the bogon will be chosen
6051 # first if we set CC to just the basename; use the full file name.
6053 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
6059 if test -n "$CC"; then
6060 echo "$as_me:$LINENO: result: $CC" >&5
6061 echo "${ECHO_T}$CC" >&6
6063 echo "$as_me:$LINENO: result: no" >&5
6064 echo "${ECHO_T}no" >&6
6068 if test -z "$CC"; then
6069 if test -n "$ac_tool_prefix"; then
6072 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
6073 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
6074 echo "$as_me:$LINENO: checking for $ac_word" >&5
6075 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
6076 if test "${ac_cv_prog_CC+set}" = set; then
6077 echo $ECHO_N "(cached) $ECHO_C" >&6
6079 if test -n "$CC"; then
6080 ac_cv_prog_CC="$CC" # Let the user override the test.
6082 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6086 test -z "$as_dir" && as_dir=.
6087 for ac_exec_ext in '' $ac_executable_extensions; do
6088 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6089 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
6090 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6099 if test -n "$CC"; then
6100 echo "$as_me:$LINENO: result: $CC" >&5
6101 echo "${ECHO_T}$CC" >&6
6103 echo "$as_me:$LINENO: result: no" >&5
6104 echo "${ECHO_T}no" >&6
6107 test -n "$CC" && break
6110 if test -z "$CC"; then
6114 # Extract the first word of "$ac_prog", so it can be a program name with args.
6115 set dummy $ac_prog; ac_word=$2
6116 echo "$as_me:$LINENO: checking for $ac_word" >&5
6117 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
6118 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
6119 echo $ECHO_N "(cached) $ECHO_C" >&6
6121 if test -n "$ac_ct_CC"; then
6122 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
6124 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6128 test -z "$as_dir" && as_dir=.
6129 for ac_exec_ext in '' $ac_executable_extensions; do
6130 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6131 ac_cv_prog_ac_ct_CC="$ac_prog"
6132 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6140 ac_ct_CC=$ac_cv_prog_ac_ct_CC
6141 if test -n "$ac_ct_CC"; then
6142 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
6143 echo "${ECHO_T}$ac_ct_CC" >&6
6145 echo "$as_me:$LINENO: result: no" >&5
6146 echo "${ECHO_T}no" >&6
6149 test -n "$ac_ct_CC" && break
6158 test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
6159 See \`config.log' for more details." >&5
6160 echo "$as_me: error: no acceptable C compiler found in \$PATH
6161 See \`config.log' for more details." >&2;}
6162 { (exit 1); exit 1; }; }
6164 # Provide some information about the compiler.
6165 echo "$as_me:$LINENO:" \
6166 "checking for C compiler version" >&5
6167 ac_compiler=`set X $ac_compile; echo $2`
6168 { (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5
6169 (eval $ac_compiler --version </dev/null >&5) 2>&5
6171 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6172 (exit $ac_status); }
6173 { (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5
6174 (eval $ac_compiler -v </dev/null >&5) 2>&5
6176 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6177 (exit $ac_status); }
6178 { (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5
6179 (eval $ac_compiler -V </dev/null >&5) 2>&5
6181 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6182 (exit $ac_status); }
6184 echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
6185 echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6
6186 if test "${ac_cv_c_compiler_gnu+set}" = set; then
6187 echo $ECHO_N "(cached) $ECHO_C" >&6
6189 cat >conftest.$ac_ext <<_ACEOF
6192 cat confdefs.h >>conftest.$ac_ext
6193 cat >>conftest.$ac_ext <<_ACEOF
6194 /* end confdefs.h. */
6207 rm -f conftest.$ac_objext
6208 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6209 (eval $ac_compile) 2>conftest.er1
6211 grep -v '^ *+' conftest.er1 >conftest.err
6213 cat conftest.err >&5
6214 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6215 (exit $ac_status); } &&
6216 { ac_try='test -z "$ac_c_werror_flag"
6217 || test ! -s conftest.err'
6218 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6221 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6222 (exit $ac_status); }; } &&
6223 { ac_try='test -s conftest.$ac_objext'
6224 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6227 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6228 (exit $ac_status); }; }; then
6231 echo "$as_me: failed program was:" >&5
6232 sed 's/^/| /' conftest.$ac_ext >&5
6236 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
6237 ac_cv_c_compiler_gnu=$ac_compiler_gnu
6240 echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
6241 echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6
6242 GCC=`test $ac_compiler_gnu = yes && echo yes`
6243 ac_test_CFLAGS=${CFLAGS+set}
6244 ac_save_CFLAGS=$CFLAGS
6246 echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
6247 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6
6248 if test "${ac_cv_prog_cc_g+set}" = set; then
6249 echo $ECHO_N "(cached) $ECHO_C" >&6
6251 cat >conftest.$ac_ext <<_ACEOF
6254 cat confdefs.h >>conftest.$ac_ext
6255 cat >>conftest.$ac_ext <<_ACEOF
6256 /* end confdefs.h. */
6266 rm -f conftest.$ac_objext
6267 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6268 (eval $ac_compile) 2>conftest.er1
6270 grep -v '^ *+' conftest.er1 >conftest.err
6272 cat conftest.err >&5
6273 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6274 (exit $ac_status); } &&
6275 { ac_try='test -z "$ac_c_werror_flag"
6276 || test ! -s conftest.err'
6277 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6280 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6281 (exit $ac_status); }; } &&
6282 { ac_try='test -s conftest.$ac_objext'
6283 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6286 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6287 (exit $ac_status); }; }; then
6290 echo "$as_me: failed program was:" >&5
6291 sed 's/^/| /' conftest.$ac_ext >&5
6295 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
6297 echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
6298 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6
6299 if test "$ac_test_CFLAGS" = set; then
6300 CFLAGS=$ac_save_CFLAGS
6301 elif test $ac_cv_prog_cc_g = yes; then
6302 if test "$GCC" = yes; then
6308 if test "$GCC" = yes; then
6314 echo "$as_me:$LINENO: checking for $CC option to accept ANSI C" >&5
6315 echo $ECHO_N "checking for $CC option to accept ANSI C... $ECHO_C" >&6
6316 if test "${ac_cv_prog_cc_stdc+set}" = set; then
6317 echo $ECHO_N "(cached) $ECHO_C" >&6
6319 ac_cv_prog_cc_stdc=no
6321 cat >conftest.$ac_ext <<_ACEOF
6324 cat confdefs.h >>conftest.$ac_ext
6325 cat >>conftest.$ac_ext <<_ACEOF
6326 /* end confdefs.h. */
6329 #include <sys/types.h>
6330 #include <sys/stat.h>
6331 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
6332 struct buf { int x; };
6333 FILE * (*rcsopen) (struct buf *, struct stat *, int);
6334 static char *e (p, i)
6340 static char *f (char * (*g) (char **, int), char **p, ...)
6345 s = g (p, va_arg (v,int));
6350 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
6351 function prototypes and stuff, but not '\xHH' hex character constants.
6352 These don't provoke an error unfortunately, instead are silently treated
6353 as 'x'. The following induces an error, until -std1 is added to get
6354 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
6355 array size at least. It's necessary to write '\x00'==0 to get something
6356 that's true only with -std1. */
6357 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
6359 int test (int i, double x);
6360 struct s1 {int (*f) (int a);};
6361 struct s2 {int (*f) (double a);};
6362 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
6368 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
6373 # Don't try gcc -ansi; that turns off useful extensions and
6374 # breaks some systems' header files.
6375 # AIX -qlanglvl=ansi
6376 # Ultrix and OSF/1 -std1
6377 # HP-UX 10.20 and later -Ae
6378 # HP-UX older versions -Aa -D_HPUX_SOURCE
6379 # SVR4 -Xc -D__EXTENSIONS__
6380 for ac_arg in "" -qlanglvl=ansi -std1 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
6382 CC="$ac_save_CC $ac_arg"
6383 rm -f conftest.$ac_objext
6384 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6385 (eval $ac_compile) 2>conftest.er1
6387 grep -v '^ *+' conftest.er1 >conftest.err
6389 cat conftest.err >&5
6390 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6391 (exit $ac_status); } &&
6392 { ac_try='test -z "$ac_c_werror_flag"
6393 || test ! -s conftest.err'
6394 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6397 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6398 (exit $ac_status); }; } &&
6399 { ac_try='test -s conftest.$ac_objext'
6400 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6403 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6404 (exit $ac_status); }; }; then
6405 ac_cv_prog_cc_stdc=$ac_arg
6408 echo "$as_me: failed program was:" >&5
6409 sed 's/^/| /' conftest.$ac_ext >&5
6412 rm -f conftest.err conftest.$ac_objext
6414 rm -f conftest.$ac_ext conftest.$ac_objext
6419 case "x$ac_cv_prog_cc_stdc" in
6421 echo "$as_me:$LINENO: result: none needed" >&5
6422 echo "${ECHO_T}none needed" >&6 ;;
6424 echo "$as_me:$LINENO: result: $ac_cv_prog_cc_stdc" >&5
6425 echo "${ECHO_T}$ac_cv_prog_cc_stdc" >&6
6426 CC="$CC $ac_cv_prog_cc_stdc" ;;
6429 # Some people use a C++ compiler to compile C. Since we use `exit',
6430 # in C++ we need to declare it. In case someone uses the same compiler
6431 # for both compiling C and C++ we need to have the C++ compiler decide
6432 # the declaration of exit, since it's the most demanding environment.
6433 cat >conftest.$ac_ext <<_ACEOF
6438 rm -f conftest.$ac_objext
6439 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6440 (eval $ac_compile) 2>conftest.er1
6442 grep -v '^ *+' conftest.er1 >conftest.err
6444 cat conftest.err >&5
6445 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6446 (exit $ac_status); } &&
6447 { ac_try='test -z "$ac_c_werror_flag"
6448 || test ! -s conftest.err'
6449 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6452 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6453 (exit $ac_status); }; } &&
6454 { ac_try='test -s conftest.$ac_objext'
6455 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6458 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6459 (exit $ac_status); }; }; then
6460 for ac_declaration in \
6462 'extern "C" void std::exit (int) throw (); using std::exit;' \
6463 'extern "C" void std::exit (int); using std::exit;' \
6464 'extern "C" void exit (int) throw ();' \
6465 'extern "C" void exit (int);' \
6468 cat >conftest.$ac_ext <<_ACEOF
6471 cat confdefs.h >>conftest.$ac_ext
6472 cat >>conftest.$ac_ext <<_ACEOF
6473 /* end confdefs.h. */
6484 rm -f conftest.$ac_objext
6485 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6486 (eval $ac_compile) 2>conftest.er1
6488 grep -v '^ *+' conftest.er1 >conftest.err
6490 cat conftest.err >&5
6491 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6492 (exit $ac_status); } &&
6493 { ac_try='test -z "$ac_c_werror_flag"
6494 || test ! -s conftest.err'
6495 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6498 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6499 (exit $ac_status); }; } &&
6500 { ac_try='test -s conftest.$ac_objext'
6501 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6504 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6505 (exit $ac_status); }; }; then
6508 echo "$as_me: failed program was:" >&5
6509 sed 's/^/| /' conftest.$ac_ext >&5
6513 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
6514 cat >conftest.$ac_ext <<_ACEOF
6517 cat confdefs.h >>conftest.$ac_ext
6518 cat >>conftest.$ac_ext <<_ACEOF
6519 /* end confdefs.h. */
6529 rm -f conftest.$ac_objext
6530 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6531 (eval $ac_compile) 2>conftest.er1
6533 grep -v '^ *+' conftest.er1 >conftest.err
6535 cat conftest.err >&5
6536 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6537 (exit $ac_status); } &&
6538 { ac_try='test -z "$ac_c_werror_flag"
6539 || test ! -s conftest.err'
6540 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6543 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6544 (exit $ac_status); }; } &&
6545 { ac_try='test -s conftest.$ac_objext'
6546 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6549 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6550 (exit $ac_status); }; }; then
6553 echo "$as_me: failed program was:" >&5
6554 sed 's/^/| /' conftest.$ac_ext >&5
6557 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
6560 if test -n "$ac_declaration"; then
6561 echo '#ifdef __cplusplus' >>confdefs.h
6562 echo $ac_declaration >>confdefs.h
6563 echo '#endif' >>confdefs.h
6567 echo "$as_me: failed program was:" >&5
6568 sed 's/^/| /' conftest.$ac_ext >&5
6571 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
6573 ac_cpp='$CPP $CPPFLAGS'
6574 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6575 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6576 ac_compiler_gnu=$ac_cv_c_compiler_gnu
6578 depcc="$CC" am_compiler_list=
6580 echo "$as_me:$LINENO: checking dependency style of $depcc" >&5
6581 echo $ECHO_N "checking dependency style of $depcc... $ECHO_C" >&6
6582 if test "${am_cv_CC_dependencies_compiler_type+set}" = set; then
6583 echo $ECHO_N "(cached) $ECHO_C" >&6
6585 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
6586 # We make a subdir and do the tests there. Otherwise we can end up
6587 # making bogus files that we don't know about and never remove. For
6588 # instance it was reported that on HP-UX the gcc test will end up
6589 # making a dummy file named `D' -- because `-MD' means `put the output
6592 # Copy depcomp to subdir because otherwise we won't find it if we're
6593 # using a relative directory.
6594 cp "$am_depcomp" conftest.dir
6596 # We will build objects and dependencies in a subdirectory because
6597 # it helps to detect inapplicable dependency modes. For instance
6598 # both Tru64's cc and ICC support -MD to output dependencies as a
6599 # side effect of compilation, but ICC will put the dependencies in
6600 # the current directory while Tru64 will put them in the object
6604 am_cv_CC_dependencies_compiler_type=none
6605 if test "$am_compiler_list" = ""; then
6606 am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
6608 for depmode in $am_compiler_list; do
6609 # Setup a source with many dependencies, because some compilers
6610 # like to wrap large dependency lists on column 80 (with \), and
6611 # we should not choose a depcomp mode which is confused by this.
6613 # We need to recreate these files for each test, as the compiler may
6614 # overwrite some of them when testing with obscure command lines.
6615 # This happens at least with the AIX C compiler.
6617 for i in 1 2 3 4 5 6; do
6618 echo '#include "conftst'$i'.h"' >> sub/conftest.c
6619 # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
6620 # Solaris 8's {/usr,}/bin/sh.
6621 touch sub/conftst$i.h
6623 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
6627 # after this tag, mechanisms are not by side-effect, so they'll
6628 # only be used when explicitly requested
6629 if test "x$enable_dependency_tracking" = xyes; then
6637 # We check with `-c' and `-o' for the sake of the "dashmstdout"
6638 # mode. It turns out that the SunPro C++ compiler does not properly
6639 # handle `-M -o', and we need to detect this.
6640 if depmode=$depmode \
6641 source=sub/conftest.c object=sub/conftest.${OBJEXT-o} \
6642 depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
6643 $SHELL ./depcomp $depcc -c -o sub/conftest.${OBJEXT-o} sub/conftest.c \
6644 >/dev/null 2>conftest.err &&
6645 grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
6646 grep sub/conftest.${OBJEXT-o} sub/conftest.Po > /dev/null 2>&1 &&
6647 ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
6648 # icc doesn't choke on unknown options, it will just issue warnings
6649 # or remarks (even with -Werror). So we grep stderr for any message
6650 # that says an option was ignored or not supported.
6651 # When given -MP, icc 7.0 and 7.1 complain thusly:
6652 # icc: Command line warning: ignoring option '-M'; no argument required
6653 # The diagnosis changed in icc 8.0:
6654 # icc: Command line remark: option '-MP' not supported
6655 if (grep 'ignoring option' conftest.err ||
6656 grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
6657 am_cv_CC_dependencies_compiler_type=$depmode
6666 am_cv_CC_dependencies_compiler_type=none
6670 echo "$as_me:$LINENO: result: $am_cv_CC_dependencies_compiler_type" >&5
6671 echo "${ECHO_T}$am_cv_CC_dependencies_compiler_type" >&6
6672 CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
6677 test "x$enable_dependency_tracking" != xno \
6678 && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
6680 am__fastdepCC_FALSE='#'
6682 am__fastdepCC_TRUE='#'
6683 am__fastdepCC_FALSE=
6688 ac_cpp='$CPP $CPPFLAGS'
6689 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6690 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6691 ac_compiler_gnu=$ac_cv_c_compiler_gnu
6692 echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5
6693 echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6
6694 # On Suns, sometimes $CPP names a directory.
6695 if test -n "$CPP" && test -d "$CPP"; then
6698 if test -z "$CPP"; then
6699 if test "${ac_cv_prog_CPP+set}" = set; then
6700 echo $ECHO_N "(cached) $ECHO_C" >&6
6702 # Double quotes because CPP needs to be expanded
6703 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
6706 for ac_c_preproc_warn_flag in '' yes
6708 # Use a header file that comes with gcc, so configuring glibc
6709 # with a fresh cross-compiler works.
6710 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
6711 # <limits.h> exists even on freestanding compilers.
6712 # On the NeXT, cc -E runs the code through the compiler's parser,
6713 # not just through cpp. "Syntax error" is here to catch this case.
6714 cat >conftest.$ac_ext <<_ACEOF
6717 cat confdefs.h >>conftest.$ac_ext
6718 cat >>conftest.$ac_ext <<_ACEOF
6719 /* end confdefs.h. */
6721 # include <limits.h>
6723 # include <assert.h>
6727 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
6728 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
6730 grep -v '^ *+' conftest.er1 >conftest.err
6732 cat conftest.err >&5
6733 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6734 (exit $ac_status); } >/dev/null; then
6735 if test -s conftest.err; then
6736 ac_cpp_err=$ac_c_preproc_warn_flag
6737 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
6744 if test -z "$ac_cpp_err"; then
6747 echo "$as_me: failed program was:" >&5
6748 sed 's/^/| /' conftest.$ac_ext >&5
6750 # Broken: fails on valid input.
6753 rm -f conftest.err conftest.$ac_ext
6755 # OK, works on sane cases. Now check whether non-existent headers
6756 # can be detected and how.
6757 cat >conftest.$ac_ext <<_ACEOF
6760 cat confdefs.h >>conftest.$ac_ext
6761 cat >>conftest.$ac_ext <<_ACEOF
6762 /* end confdefs.h. */
6763 #include <ac_nonexistent.h>
6765 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
6766 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
6768 grep -v '^ *+' conftest.er1 >conftest.err
6770 cat conftest.err >&5
6771 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6772 (exit $ac_status); } >/dev/null; then
6773 if test -s conftest.err; then
6774 ac_cpp_err=$ac_c_preproc_warn_flag
6775 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
6782 if test -z "$ac_cpp_err"; then
6783 # Broken: success on invalid input.
6786 echo "$as_me: failed program was:" >&5
6787 sed 's/^/| /' conftest.$ac_ext >&5
6789 # Passes both tests.
6793 rm -f conftest.err conftest.$ac_ext
6796 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
6797 rm -f conftest.err conftest.$ac_ext
6798 if $ac_preproc_ok; then
6810 echo "$as_me:$LINENO: result: $CPP" >&5
6811 echo "${ECHO_T}$CPP" >&6
6813 for ac_c_preproc_warn_flag in '' yes
6815 # Use a header file that comes with gcc, so configuring glibc
6816 # with a fresh cross-compiler works.
6817 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
6818 # <limits.h> exists even on freestanding compilers.
6819 # On the NeXT, cc -E runs the code through the compiler's parser,
6820 # not just through cpp. "Syntax error" is here to catch this case.
6821 cat >conftest.$ac_ext <<_ACEOF
6824 cat confdefs.h >>conftest.$ac_ext
6825 cat >>conftest.$ac_ext <<_ACEOF
6826 /* end confdefs.h. */
6828 # include <limits.h>
6830 # include <assert.h>
6834 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
6835 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
6837 grep -v '^ *+' conftest.er1 >conftest.err
6839 cat conftest.err >&5
6840 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6841 (exit $ac_status); } >/dev/null; then
6842 if test -s conftest.err; then
6843 ac_cpp_err=$ac_c_preproc_warn_flag
6844 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
6851 if test -z "$ac_cpp_err"; then
6854 echo "$as_me: failed program was:" >&5
6855 sed 's/^/| /' conftest.$ac_ext >&5
6857 # Broken: fails on valid input.
6860 rm -f conftest.err conftest.$ac_ext
6862 # OK, works on sane cases. Now check whether non-existent headers
6863 # can be detected and how.
6864 cat >conftest.$ac_ext <<_ACEOF
6867 cat confdefs.h >>conftest.$ac_ext
6868 cat >>conftest.$ac_ext <<_ACEOF
6869 /* end confdefs.h. */
6870 #include <ac_nonexistent.h>
6872 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
6873 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
6875 grep -v '^ *+' conftest.er1 >conftest.err
6877 cat conftest.err >&5
6878 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6879 (exit $ac_status); } >/dev/null; then
6880 if test -s conftest.err; then
6881 ac_cpp_err=$ac_c_preproc_warn_flag
6882 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
6889 if test -z "$ac_cpp_err"; then
6890 # Broken: success on invalid input.
6893 echo "$as_me: failed program was:" >&5
6894 sed 's/^/| /' conftest.$ac_ext >&5
6896 # Passes both tests.
6900 rm -f conftest.err conftest.$ac_ext
6903 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
6904 rm -f conftest.err conftest.$ac_ext
6905 if $ac_preproc_ok; then
6908 { { echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check
6909 See \`config.log' for more details." >&5
6910 echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check
6911 See \`config.log' for more details." >&2;}
6912 { (exit 1); exit 1; }; }
6916 ac_cpp='$CPP $CPPFLAGS'
6917 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6918 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6919 ac_compiler_gnu=$ac_cv_c_compiler_gnu
6922 ac_cpp='$CXXCPP $CPPFLAGS'
6923 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6924 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6925 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
6926 if test -n "$ac_tool_prefix"; then
6927 for ac_prog in $CCC g++ c++ gpp aCC CC cxx cc++ cl FCC KCC RCC xlC_r xlC
6929 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
6930 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
6931 echo "$as_me:$LINENO: checking for $ac_word" >&5
6932 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
6933 if test "${ac_cv_prog_CXX+set}" = set; then
6934 echo $ECHO_N "(cached) $ECHO_C" >&6
6936 if test -n "$CXX"; then
6937 ac_cv_prog_CXX="$CXX" # Let the user override the test.
6939 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6943 test -z "$as_dir" && as_dir=.
6944 for ac_exec_ext in '' $ac_executable_extensions; do
6945 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6946 ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
6947 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6956 if test -n "$CXX"; then
6957 echo "$as_me:$LINENO: result: $CXX" >&5
6958 echo "${ECHO_T}$CXX" >&6
6960 echo "$as_me:$LINENO: result: no" >&5
6961 echo "${ECHO_T}no" >&6
6964 test -n "$CXX" && break
6967 if test -z "$CXX"; then
6969 for ac_prog in $CCC g++ c++ gpp aCC CC cxx cc++ cl FCC KCC RCC xlC_r xlC
6971 # Extract the first word of "$ac_prog", so it can be a program name with args.
6972 set dummy $ac_prog; ac_word=$2
6973 echo "$as_me:$LINENO: checking for $ac_word" >&5
6974 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
6975 if test "${ac_cv_prog_ac_ct_CXX+set}" = set; then
6976 echo $ECHO_N "(cached) $ECHO_C" >&6
6978 if test -n "$ac_ct_CXX"; then
6979 ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
6981 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6985 test -z "$as_dir" && as_dir=.
6986 for ac_exec_ext in '' $ac_executable_extensions; do
6987 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6988 ac_cv_prog_ac_ct_CXX="$ac_prog"
6989 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6997 ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
6998 if test -n "$ac_ct_CXX"; then
6999 echo "$as_me:$LINENO: result: $ac_ct_CXX" >&5
7000 echo "${ECHO_T}$ac_ct_CXX" >&6
7002 echo "$as_me:$LINENO: result: no" >&5
7003 echo "${ECHO_T}no" >&6
7006 test -n "$ac_ct_CXX" && break
7008 test -n "$ac_ct_CXX" || ac_ct_CXX="g++"
7014 # Provide some information about the compiler.
7015 echo "$as_me:$LINENO:" \
7016 "checking for C++ compiler version" >&5
7017 ac_compiler=`set X $ac_compile; echo $2`
7018 { (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5
7019 (eval $ac_compiler --version </dev/null >&5) 2>&5
7021 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7022 (exit $ac_status); }
7023 { (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5
7024 (eval $ac_compiler -v </dev/null >&5) 2>&5
7026 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7027 (exit $ac_status); }
7028 { (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5
7029 (eval $ac_compiler -V </dev/null >&5) 2>&5
7031 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7032 (exit $ac_status); }
7034 echo "$as_me:$LINENO: checking whether we are using the GNU C++ compiler" >&5
7035 echo $ECHO_N "checking whether we are using the GNU C++ compiler... $ECHO_C" >&6
7036 if test "${ac_cv_cxx_compiler_gnu+set}" = set; then
7037 echo $ECHO_N "(cached) $ECHO_C" >&6
7039 cat >conftest.$ac_ext <<_ACEOF
7042 cat confdefs.h >>conftest.$ac_ext
7043 cat >>conftest.$ac_ext <<_ACEOF
7044 /* end confdefs.h. */
7057 rm -f conftest.$ac_objext
7058 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7059 (eval $ac_compile) 2>conftest.er1
7061 grep -v '^ *+' conftest.er1 >conftest.err
7063 cat conftest.err >&5
7064 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7065 (exit $ac_status); } &&
7066 { ac_try='test -z "$ac_cxx_werror_flag"
7067 || test ! -s conftest.err'
7068 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7071 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7072 (exit $ac_status); }; } &&
7073 { ac_try='test -s conftest.$ac_objext'
7074 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7077 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7078 (exit $ac_status); }; }; then
7081 echo "$as_me: failed program was:" >&5
7082 sed 's/^/| /' conftest.$ac_ext >&5
7086 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
7087 ac_cv_cxx_compiler_gnu=$ac_compiler_gnu
7090 echo "$as_me:$LINENO: result: $ac_cv_cxx_compiler_gnu" >&5
7091 echo "${ECHO_T}$ac_cv_cxx_compiler_gnu" >&6
7092 GXX=`test $ac_compiler_gnu = yes && echo yes`
7093 ac_test_CXXFLAGS=${CXXFLAGS+set}
7094 ac_save_CXXFLAGS=$CXXFLAGS
7096 echo "$as_me:$LINENO: checking whether $CXX accepts -g" >&5
7097 echo $ECHO_N "checking whether $CXX accepts -g... $ECHO_C" >&6
7098 if test "${ac_cv_prog_cxx_g+set}" = set; then
7099 echo $ECHO_N "(cached) $ECHO_C" >&6
7101 cat >conftest.$ac_ext <<_ACEOF
7104 cat confdefs.h >>conftest.$ac_ext
7105 cat >>conftest.$ac_ext <<_ACEOF
7106 /* end confdefs.h. */
7116 rm -f conftest.$ac_objext
7117 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7118 (eval $ac_compile) 2>conftest.er1
7120 grep -v '^ *+' conftest.er1 >conftest.err
7122 cat conftest.err >&5
7123 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7124 (exit $ac_status); } &&
7125 { ac_try='test -z "$ac_cxx_werror_flag"
7126 || test ! -s conftest.err'
7127 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7130 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7131 (exit $ac_status); }; } &&
7132 { ac_try='test -s conftest.$ac_objext'
7133 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7136 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7137 (exit $ac_status); }; }; then
7138 ac_cv_prog_cxx_g=yes
7140 echo "$as_me: failed program was:" >&5
7141 sed 's/^/| /' conftest.$ac_ext >&5
7145 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
7147 echo "$as_me:$LINENO: result: $ac_cv_prog_cxx_g" >&5
7148 echo "${ECHO_T}$ac_cv_prog_cxx_g" >&6
7149 if test "$ac_test_CXXFLAGS" = set; then
7150 CXXFLAGS=$ac_save_CXXFLAGS
7151 elif test $ac_cv_prog_cxx_g = yes; then
7152 if test "$GXX" = yes; then
7158 if test "$GXX" = yes; then
7164 for ac_declaration in \
7166 'extern "C" void std::exit (int) throw (); using std::exit;' \
7167 'extern "C" void std::exit (int); using std::exit;' \
7168 'extern "C" void exit (int) throw ();' \
7169 'extern "C" void exit (int);' \
7172 cat >conftest.$ac_ext <<_ACEOF
7175 cat confdefs.h >>conftest.$ac_ext
7176 cat >>conftest.$ac_ext <<_ACEOF
7177 /* end confdefs.h. */
7188 rm -f conftest.$ac_objext
7189 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7190 (eval $ac_compile) 2>conftest.er1
7192 grep -v '^ *+' conftest.er1 >conftest.err
7194 cat conftest.err >&5
7195 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7196 (exit $ac_status); } &&
7197 { ac_try='test -z "$ac_cxx_werror_flag"
7198 || test ! -s conftest.err'
7199 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7202 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7203 (exit $ac_status); }; } &&
7204 { ac_try='test -s conftest.$ac_objext'
7205 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7208 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7209 (exit $ac_status); }; }; then
7212 echo "$as_me: failed program was:" >&5
7213 sed 's/^/| /' conftest.$ac_ext >&5
7217 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
7218 cat >conftest.$ac_ext <<_ACEOF
7221 cat confdefs.h >>conftest.$ac_ext
7222 cat >>conftest.$ac_ext <<_ACEOF
7223 /* end confdefs.h. */
7233 rm -f conftest.$ac_objext
7234 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7235 (eval $ac_compile) 2>conftest.er1
7237 grep -v '^ *+' conftest.er1 >conftest.err
7239 cat conftest.err >&5
7240 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7241 (exit $ac_status); } &&
7242 { ac_try='test -z "$ac_cxx_werror_flag"
7243 || test ! -s conftest.err'
7244 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7247 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7248 (exit $ac_status); }; } &&
7249 { ac_try='test -s conftest.$ac_objext'
7250 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7253 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7254 (exit $ac_status); }; }; then
7257 echo "$as_me: failed program was:" >&5
7258 sed 's/^/| /' conftest.$ac_ext >&5
7261 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
7264 if test -n "$ac_declaration"; then
7265 echo '#ifdef __cplusplus' >>confdefs.h
7266 echo $ac_declaration >>confdefs.h
7267 echo '#endif' >>confdefs.h
7271 ac_cpp='$CPP $CPPFLAGS'
7272 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7273 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7274 ac_compiler_gnu=$ac_cv_c_compiler_gnu
7276 depcc="$CXX" am_compiler_list=
7278 echo "$as_me:$LINENO: checking dependency style of $depcc" >&5
7279 echo $ECHO_N "checking dependency style of $depcc... $ECHO_C" >&6
7280 if test "${am_cv_CXX_dependencies_compiler_type+set}" = set; then
7281 echo $ECHO_N "(cached) $ECHO_C" >&6
7283 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
7284 # We make a subdir and do the tests there. Otherwise we can end up
7285 # making bogus files that we don't know about and never remove. For
7286 # instance it was reported that on HP-UX the gcc test will end up
7287 # making a dummy file named `D' -- because `-MD' means `put the output
7290 # Copy depcomp to subdir because otherwise we won't find it if we're
7291 # using a relative directory.
7292 cp "$am_depcomp" conftest.dir
7294 # We will build objects and dependencies in a subdirectory because
7295 # it helps to detect inapplicable dependency modes. For instance
7296 # both Tru64's cc and ICC support -MD to output dependencies as a
7297 # side effect of compilation, but ICC will put the dependencies in
7298 # the current directory while Tru64 will put them in the object
7302 am_cv_CXX_dependencies_compiler_type=none
7303 if test "$am_compiler_list" = ""; then
7304 am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
7306 for depmode in $am_compiler_list; do
7307 # Setup a source with many dependencies, because some compilers
7308 # like to wrap large dependency lists on column 80 (with \), and
7309 # we should not choose a depcomp mode which is confused by this.
7311 # We need to recreate these files for each test, as the compiler may
7312 # overwrite some of them when testing with obscure command lines.
7313 # This happens at least with the AIX C compiler.
7315 for i in 1 2 3 4 5 6; do
7316 echo '#include "conftst'$i'.h"' >> sub/conftest.c
7317 # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
7318 # Solaris 8's {/usr,}/bin/sh.
7319 touch sub/conftst$i.h
7321 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
7325 # after this tag, mechanisms are not by side-effect, so they'll
7326 # only be used when explicitly requested
7327 if test "x$enable_dependency_tracking" = xyes; then
7335 # We check with `-c' and `-o' for the sake of the "dashmstdout"
7336 # mode. It turns out that the SunPro C++ compiler does not properly
7337 # handle `-M -o', and we need to detect this.
7338 if depmode=$depmode \
7339 source=sub/conftest.c object=sub/conftest.${OBJEXT-o} \
7340 depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
7341 $SHELL ./depcomp $depcc -c -o sub/conftest.${OBJEXT-o} sub/conftest.c \
7342 >/dev/null 2>conftest.err &&
7343 grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
7344 grep sub/conftest.${OBJEXT-o} sub/conftest.Po > /dev/null 2>&1 &&
7345 ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
7346 # icc doesn't choke on unknown options, it will just issue warnings
7347 # or remarks (even with -Werror). So we grep stderr for any message
7348 # that says an option was ignored or not supported.
7349 # When given -MP, icc 7.0 and 7.1 complain thusly:
7350 # icc: Command line warning: ignoring option '-M'; no argument required
7351 # The diagnosis changed in icc 8.0:
7352 # icc: Command line remark: option '-MP' not supported
7353 if (grep 'ignoring option' conftest.err ||
7354 grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
7355 am_cv_CXX_dependencies_compiler_type=$depmode
7364 am_cv_CXX_dependencies_compiler_type=none
7368 echo "$as_me:$LINENO: result: $am_cv_CXX_dependencies_compiler_type" >&5
7369 echo "${ECHO_T}$am_cv_CXX_dependencies_compiler_type" >&6
7370 CXXDEPMODE=depmode=$am_cv_CXX_dependencies_compiler_type
7375 test "x$enable_dependency_tracking" != xno \
7376 && test "$am_cv_CXX_dependencies_compiler_type" = gcc3; then
7377 am__fastdepCXX_TRUE=
7378 am__fastdepCXX_FALSE='#'
7380 am__fastdepCXX_TRUE='#'
7381 am__fastdepCXX_FALSE=
7385 ac_cpp='$CXXCPP $CPPFLAGS'
7386 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7387 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7388 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
7389 echo "$as_me:$LINENO: checking how to run the C++ preprocessor" >&5
7390 echo $ECHO_N "checking how to run the C++ preprocessor... $ECHO_C" >&6
7391 if test -z "$CXXCPP"; then
7392 if test "${ac_cv_prog_CXXCPP+set}" = set; then
7393 echo $ECHO_N "(cached) $ECHO_C" >&6
7395 # Double quotes because CXXCPP needs to be expanded
7396 for CXXCPP in "$CXX -E" "/lib/cpp"
7399 for ac_cxx_preproc_warn_flag in '' yes
7401 # Use a header file that comes with gcc, so configuring glibc
7402 # with a fresh cross-compiler works.
7403 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
7404 # <limits.h> exists even on freestanding compilers.
7405 # On the NeXT, cc -E runs the code through the compiler's parser,
7406 # not just through cpp. "Syntax error" is here to catch this case.
7407 cat >conftest.$ac_ext <<_ACEOF
7410 cat confdefs.h >>conftest.$ac_ext
7411 cat >>conftest.$ac_ext <<_ACEOF
7412 /* end confdefs.h. */
7414 # include <limits.h>
7416 # include <assert.h>
7420 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
7421 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
7423 grep -v '^ *+' conftest.er1 >conftest.err
7425 cat conftest.err >&5
7426 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7427 (exit $ac_status); } >/dev/null; then
7428 if test -s conftest.err; then
7429 ac_cpp_err=$ac_cxx_preproc_warn_flag
7430 ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
7437 if test -z "$ac_cpp_err"; then
7440 echo "$as_me: failed program was:" >&5
7441 sed 's/^/| /' conftest.$ac_ext >&5
7443 # Broken: fails on valid input.
7446 rm -f conftest.err conftest.$ac_ext
7448 # OK, works on sane cases. Now check whether non-existent headers
7449 # can be detected and how.
7450 cat >conftest.$ac_ext <<_ACEOF
7453 cat confdefs.h >>conftest.$ac_ext
7454 cat >>conftest.$ac_ext <<_ACEOF
7455 /* end confdefs.h. */
7456 #include <ac_nonexistent.h>
7458 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
7459 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
7461 grep -v '^ *+' conftest.er1 >conftest.err
7463 cat conftest.err >&5
7464 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7465 (exit $ac_status); } >/dev/null; then
7466 if test -s conftest.err; then
7467 ac_cpp_err=$ac_cxx_preproc_warn_flag
7468 ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
7475 if test -z "$ac_cpp_err"; then
7476 # Broken: success on invalid input.
7479 echo "$as_me: failed program was:" >&5
7480 sed 's/^/| /' conftest.$ac_ext >&5
7482 # Passes both tests.
7486 rm -f conftest.err conftest.$ac_ext
7489 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
7490 rm -f conftest.err conftest.$ac_ext
7491 if $ac_preproc_ok; then
7496 ac_cv_prog_CXXCPP=$CXXCPP
7499 CXXCPP=$ac_cv_prog_CXXCPP
7501 ac_cv_prog_CXXCPP=$CXXCPP
7503 echo "$as_me:$LINENO: result: $CXXCPP" >&5
7504 echo "${ECHO_T}$CXXCPP" >&6
7506 for ac_cxx_preproc_warn_flag in '' yes
7508 # Use a header file that comes with gcc, so configuring glibc
7509 # with a fresh cross-compiler works.
7510 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
7511 # <limits.h> exists even on freestanding compilers.
7512 # On the NeXT, cc -E runs the code through the compiler's parser,
7513 # not just through cpp. "Syntax error" is here to catch this case.
7514 cat >conftest.$ac_ext <<_ACEOF
7517 cat confdefs.h >>conftest.$ac_ext
7518 cat >>conftest.$ac_ext <<_ACEOF
7519 /* end confdefs.h. */
7521 # include <limits.h>
7523 # include <assert.h>
7527 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
7528 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
7530 grep -v '^ *+' conftest.er1 >conftest.err
7532 cat conftest.err >&5
7533 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7534 (exit $ac_status); } >/dev/null; then
7535 if test -s conftest.err; then
7536 ac_cpp_err=$ac_cxx_preproc_warn_flag
7537 ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
7544 if test -z "$ac_cpp_err"; then
7547 echo "$as_me: failed program was:" >&5
7548 sed 's/^/| /' conftest.$ac_ext >&5
7550 # Broken: fails on valid input.
7553 rm -f conftest.err conftest.$ac_ext
7555 # OK, works on sane cases. Now check whether non-existent headers
7556 # can be detected and how.
7557 cat >conftest.$ac_ext <<_ACEOF
7560 cat confdefs.h >>conftest.$ac_ext
7561 cat >>conftest.$ac_ext <<_ACEOF
7562 /* end confdefs.h. */
7563 #include <ac_nonexistent.h>
7565 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
7566 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
7568 grep -v '^ *+' conftest.er1 >conftest.err
7570 cat conftest.err >&5
7571 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7572 (exit $ac_status); } >/dev/null; then
7573 if test -s conftest.err; then
7574 ac_cpp_err=$ac_cxx_preproc_warn_flag
7575 ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
7582 if test -z "$ac_cpp_err"; then
7583 # Broken: success on invalid input.
7586 echo "$as_me: failed program was:" >&5
7587 sed 's/^/| /' conftest.$ac_ext >&5
7589 # Passes both tests.
7593 rm -f conftest.err conftest.$ac_ext
7596 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
7597 rm -f conftest.err conftest.$ac_ext
7598 if $ac_preproc_ok; then
7601 { { echo "$as_me:$LINENO: error: C++ preprocessor \"$CXXCPP\" fails sanity check
7602 See \`config.log' for more details." >&5
7603 echo "$as_me: error: C++ preprocessor \"$CXXCPP\" fails sanity check
7604 See \`config.log' for more details." >&2;}
7605 { (exit 1); exit 1; }; }
7609 ac_cpp='$CPP $CPPFLAGS'
7610 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7611 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7612 ac_compiler_gnu=$ac_cv_c_compiler_gnu
7616 LIBTOOL_DEPS=$LIBTOOL_DEPS" $ac_aux_dir/ltcf-cxx.sh"
7618 lt_save_CFLAGS="$CFLAGS"
7619 AR="$AR" LTCC="$CC" CC="$CXX" CXX="$CXX" CFLAGS="$CXXFLAGS" CPPFLAGS="$CPPFLAGS" \
7620 MAGIC_CMD="$MAGIC_CMD" LD="$LD" LDFLAGS="$LDFLAGS" LIBS="$LIBS" \
7621 LN_S="$LN_S" NM="$NM" RANLIB="$RANLIB" STRIP="$STRIP" \
7622 AS="$AS" DLLTOOL="$DLLTOOL" OBJDUMP="$OBJDUMP" \
7623 objext="$OBJEXT" exeext="$EXEEXT" reload_flag="$reload_flag" \
7624 deplibs_check_method="$deplibs_check_method" \
7625 file_magic_cmd="$file_magic_cmd" \
7626 ${CONFIG_SHELL-/bin/sh} $ac_aux_dir/ltconfig -o libtool $libtool_flags \
7627 --build="$build" --add-tag=CXX $ac_aux_dir/ltcf-cxx.sh $host \
7628 || { { echo "$as_me:$LINENO: error: libtool tag configuration failed" >&5
7629 echo "$as_me: error: libtool tag configuration failed" >&2;}
7630 { (exit 1); exit 1; }; }
7632 CFLAGS="$lt_save_CFLAGS"
7634 # Redirect the config.log output again, so that the ltconfig log is not
7635 # clobbered by the next message.
7636 exec 5>>./config.log
7641 # Handle -Werror default case.
7642 if test "$ENABLE_WERROR" = default; then
7645 if test "$GCC" = yes; then
7652 if test "x${COMPILE_COLLECTIONS}" = xyes; then
7653 # Extract the first word of "perl", so it can be a program name with args.
7654 set dummy perl; ac_word=$2
7655 echo "$as_me:$LINENO: checking for $ac_word" >&5
7656 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
7657 if test "${ac_cv_path_PERL+set}" = set; then
7658 echo $ECHO_N "(cached) $ECHO_C" >&6
7662 ac_cv_path_PERL="$PERL" # Let the user override the test with a path.
7665 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7669 test -z "$as_dir" && as_dir=.
7670 for ac_exec_ext in '' $ac_executable_extensions; do
7671 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7672 ac_cv_path_PERL="$as_dir/$ac_word$ac_exec_ext"
7673 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
7682 PERL=$ac_cv_path_PERL
7684 if test -n "$PERL"; then
7685 echo "$as_me:$LINENO: result: $PERL" >&5
7686 echo "${ECHO_T}$PERL" >&6
7688 echo "$as_me:$LINENO: result: no" >&5
7689 echo "${ECHO_T}no" >&6
7694 ac_config_files="$ac_config_files lib/mkcollections.pl"
7696 ac_config_commands="$ac_config_commands mkcollections.pl"
7700 if test "x${COMPILE_JNI}" = xyes; then
7704 echo "$as_me:$LINENO: checking __attribute__((,,))" >&5
7705 echo $ECHO_N "checking __attribute__((,,))... $ECHO_C" >&6
7706 if test "${cv_c_gcc_attribute_supported+set}" = set; then
7707 echo $ECHO_N "(cached) $ECHO_C" >&6
7710 cat >conftest.$ac_ext <<_ACEOF
7713 cat confdefs.h >>conftest.$ac_ext
7714 cat >>conftest.$ac_ext <<_ACEOF
7715 /* end confdefs.h. */
7720 extern int testfunction(int x) __attribute__((,,))
7725 rm -f conftest.$ac_objext
7726 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7727 (eval $ac_compile) 2>conftest.er1
7729 grep -v '^ *+' conftest.er1 >conftest.err
7731 cat conftest.err >&5
7732 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7733 (exit $ac_status); } &&
7734 { ac_try='test -z "$ac_c_werror_flag"
7735 || test ! -s conftest.err'
7736 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7739 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7740 (exit $ac_status); }; } &&
7741 { ac_try='test -s conftest.$ac_objext'
7742 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7745 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7746 (exit $ac_status); }; }; then
7747 cv_c_gcc_attribute_supported=yes
7749 echo "$as_me: failed program was:" >&5
7750 sed 's/^/| /' conftest.$ac_ext >&5
7752 cv_c_gcc_attribute_supported=no
7754 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
7758 if test "x$cv_c_gcc_attribute_supported" = xyes; then
7760 echo "$as_me:$LINENO: result: yes" >&5
7761 echo "${ECHO_T}yes" >&6
7763 cat >>confdefs.h <<\_ACEOF
7764 #define HAVE_GNUC25_ATTRIB
7770 echo "$as_me:$LINENO: result: no" >&5
7771 echo "${ECHO_T}no" >&6
7784 echo "$as_me:$LINENO: checking __attribute__((unused))" >&5
7785 echo $ECHO_N "checking __attribute__((unused))... $ECHO_C" >&6
7786 if test "${cv_c_gcc_attribute_unused+set}" = set; then
7787 echo $ECHO_N "(cached) $ECHO_C" >&6
7790 cat >conftest.$ac_ext <<_ACEOF
7793 cat confdefs.h >>conftest.$ac_ext
7794 cat >>conftest.$ac_ext <<_ACEOF
7795 /* end confdefs.h. */
7800 extern int testfunction(int x) __attribute__((unused))
7805 rm -f conftest.$ac_objext
7806 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7807 (eval $ac_compile) 2>conftest.er1
7809 grep -v '^ *+' conftest.er1 >conftest.err
7811 cat conftest.err >&5
7812 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7813 (exit $ac_status); } &&
7814 { ac_try='test -z "$ac_c_werror_flag"
7815 || test ! -s conftest.err'
7816 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7819 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7820 (exit $ac_status); }; } &&
7821 { ac_try='test -s conftest.$ac_objext'
7822 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7825 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7826 (exit $ac_status); }; }; then
7827 cv_c_gcc_attribute_unused=yes
7829 echo "$as_me: failed program was:" >&5
7830 sed 's/^/| /' conftest.$ac_ext >&5
7832 cv_c_gcc_attribute_unused=no
7834 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
7838 if test "x$cv_c_gcc_attribute_unused" = xyes; then
7840 echo "$as_me:$LINENO: result: yes" >&5
7841 echo "${ECHO_T}yes" >&6
7843 cat >>confdefs.h <<\_ACEOF
7844 #define HAVE_GNUC25_UNUSED
7850 echo "$as_me:$LINENO: result: no" >&5
7851 echo "${ECHO_T}no" >&6
7860 echo "$as_me:$LINENO: checking for ANSI C header files" >&5
7861 echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6
7862 if test "${ac_cv_header_stdc+set}" = set; then
7863 echo $ECHO_N "(cached) $ECHO_C" >&6
7865 cat >conftest.$ac_ext <<_ACEOF
7868 cat confdefs.h >>conftest.$ac_ext
7869 cat >>conftest.$ac_ext <<_ACEOF
7870 /* end confdefs.h. */
7884 rm -f conftest.$ac_objext
7885 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7886 (eval $ac_compile) 2>conftest.er1
7888 grep -v '^ *+' conftest.er1 >conftest.err
7890 cat conftest.err >&5
7891 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7892 (exit $ac_status); } &&
7893 { ac_try='test -z "$ac_c_werror_flag"
7894 || test ! -s conftest.err'
7895 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7898 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7899 (exit $ac_status); }; } &&
7900 { ac_try='test -s conftest.$ac_objext'
7901 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7904 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7905 (exit $ac_status); }; }; then
7906 ac_cv_header_stdc=yes
7908 echo "$as_me: failed program was:" >&5
7909 sed 's/^/| /' conftest.$ac_ext >&5
7911 ac_cv_header_stdc=no
7913 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
7915 if test $ac_cv_header_stdc = yes; then
7916 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
7917 cat >conftest.$ac_ext <<_ACEOF
7920 cat confdefs.h >>conftest.$ac_ext
7921 cat >>conftest.$ac_ext <<_ACEOF
7922 /* end confdefs.h. */
7926 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
7927 $EGREP "memchr" >/dev/null 2>&1; then
7930 ac_cv_header_stdc=no
7936 if test $ac_cv_header_stdc = yes; then
7937 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
7938 cat >conftest.$ac_ext <<_ACEOF
7941 cat confdefs.h >>conftest.$ac_ext
7942 cat >>conftest.$ac_ext <<_ACEOF
7943 /* end confdefs.h. */
7947 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
7948 $EGREP "free" >/dev/null 2>&1; then
7951 ac_cv_header_stdc=no
7957 if test $ac_cv_header_stdc = yes; then
7958 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
7959 if test "$cross_compiling" = yes; then
7962 cat >conftest.$ac_ext <<_ACEOF
7965 cat confdefs.h >>conftest.$ac_ext
7966 cat >>conftest.$ac_ext <<_ACEOF
7967 /* end confdefs.h. */
7969 #if ((' ' & 0x0FF) == 0x020)
7970 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
7971 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
7973 # define ISLOWER(c) \
7974 (('a' <= (c) && (c) <= 'i') \
7975 || ('j' <= (c) && (c) <= 'r') \
7976 || ('s' <= (c) && (c) <= 'z'))
7977 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
7980 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
7985 for (i = 0; i < 256; i++)
7986 if (XOR (islower (i), ISLOWER (i))
7987 || toupper (i) != TOUPPER (i))
7992 rm -f conftest$ac_exeext
7993 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
7994 (eval $ac_link) 2>&5
7996 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7997 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
7998 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8001 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8002 (exit $ac_status); }; }; then
8005 echo "$as_me: program exited with status $ac_status" >&5
8006 echo "$as_me: failed program was:" >&5
8007 sed 's/^/| /' conftest.$ac_ext >&5
8010 ac_cv_header_stdc=no
8012 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
8016 echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
8017 echo "${ECHO_T}$ac_cv_header_stdc" >&6
8018 if test $ac_cv_header_stdc = yes; then
8020 cat >>confdefs.h <<\_ACEOF
8021 #define STDC_HEADERS 1
8027 echo "$as_me:$LINENO: checking size of void *" >&5
8028 echo $ECHO_N "checking size of void *... $ECHO_C" >&6
8029 if test "${ac_cv_sizeof_void_p+set}" = set; then
8030 echo $ECHO_N "(cached) $ECHO_C" >&6
8032 for ac_size in 4 8 1 2 16 12 ; do # List sizes in rough order of prevalence.
8033 cat >conftest.$ac_ext <<_ACEOF
8036 cat confdefs.h >>conftest.$ac_ext
8037 cat >>conftest.$ac_ext <<_ACEOF
8038 /* end confdefs.h. */
8039 #include "confdefs.h"
8040 #include <sys/types.h>
8046 switch (0) case 0: case (sizeof (void *) == $ac_size):;
8051 rm -f conftest.$ac_objext
8052 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
8053 (eval $ac_compile) 2>conftest.er1
8055 grep -v '^ *+' conftest.er1 >conftest.err
8057 cat conftest.err >&5
8058 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8059 (exit $ac_status); } &&
8060 { ac_try='test -z "$ac_c_werror_flag"
8061 || test ! -s conftest.err'
8062 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8065 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8066 (exit $ac_status); }; } &&
8067 { ac_try='test -s conftest.$ac_objext'
8068 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8071 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8072 (exit $ac_status); }; }; then
8073 ac_cv_sizeof_void_p=$ac_size
8075 echo "$as_me: failed program was:" >&5
8076 sed 's/^/| /' conftest.$ac_ext >&5
8079 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
8080 if test x$ac_cv_sizeof_void_p != x ; then break; fi
8085 if test x$ac_cv_sizeof_void_p = x ; then
8086 { { echo "$as_me:$LINENO: error: cannot determine a size for void *" >&5
8087 echo "$as_me: error: cannot determine a size for void *" >&2;}
8088 { (exit 1); exit 1; }; }
8090 echo "$as_me:$LINENO: result: $ac_cv_sizeof_void_p" >&5
8091 echo "${ECHO_T}$ac_cv_sizeof_void_p" >&6
8093 cat >>confdefs.h <<_ACEOF
8094 #define SIZEOF_VOID_P $ac_cv_sizeof_void_p
8099 echo "$as_me:$LINENO: checking whether byte ordering is bigendian" >&5
8100 echo $ECHO_N "checking whether byte ordering is bigendian... $ECHO_C" >&6
8101 if test "${ac_cv_c_bigendian+set}" = set; then
8102 echo $ECHO_N "(cached) $ECHO_C" >&6
8104 ac_cv_c_bigendian=unknown
8105 # See if sys/param.h defines the BYTE_ORDER macro.
8106 cat >conftest.$ac_ext <<_ACEOF
8109 cat confdefs.h >>conftest.$ac_ext
8110 cat >>conftest.$ac_ext <<_ACEOF
8111 /* end confdefs.h. */
8112 #include <sys/types.h>
8113 #include <sys/param.h>
8118 #if !BYTE_ORDER || !BIG_ENDIAN || !LITTLE_ENDIAN
8125 rm -f conftest.$ac_objext
8126 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
8127 (eval $ac_compile) 2>conftest.er1
8129 grep -v '^ *+' conftest.er1 >conftest.err
8131 cat conftest.err >&5
8132 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8133 (exit $ac_status); } &&
8134 { ac_try='test -z "$ac_c_werror_flag"
8135 || test ! -s conftest.err'
8136 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8139 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8140 (exit $ac_status); }; } &&
8141 { ac_try='test -s conftest.$ac_objext'
8142 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8145 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8146 (exit $ac_status); }; }; then
8147 # It does; now see whether it defined to BIG_ENDIAN or not.
8148 cat >conftest.$ac_ext <<_ACEOF
8151 cat confdefs.h >>conftest.$ac_ext
8152 cat >>conftest.$ac_ext <<_ACEOF
8153 /* end confdefs.h. */
8154 #include <sys/types.h>
8155 #include <sys/param.h>
8160 #if BYTE_ORDER != BIG_ENDIAN
8167 rm -f conftest.$ac_objext
8168 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
8169 (eval $ac_compile) 2>conftest.er1
8171 grep -v '^ *+' conftest.er1 >conftest.err
8173 cat conftest.err >&5
8174 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8175 (exit $ac_status); } &&
8176 { ac_try='test -z "$ac_c_werror_flag"
8177 || test ! -s conftest.err'
8178 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8181 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8182 (exit $ac_status); }; } &&
8183 { ac_try='test -s conftest.$ac_objext'
8184 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8187 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8188 (exit $ac_status); }; }; then
8189 ac_cv_c_bigendian=yes
8191 echo "$as_me: failed program was:" >&5
8192 sed 's/^/| /' conftest.$ac_ext >&5
8194 ac_cv_c_bigendian=no
8196 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
8198 echo "$as_me: failed program was:" >&5
8199 sed 's/^/| /' conftest.$ac_ext >&5
8202 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
8203 if test $ac_cv_c_bigendian = unknown; then
8204 if test "$cross_compiling" = yes; then
8205 echo $ac_n "cross-compiling... " 2>&6
8207 cat >conftest.$ac_ext <<_ACEOF
8210 cat confdefs.h >>conftest.$ac_ext
8211 cat >>conftest.$ac_ext <<_ACEOF
8212 /* end confdefs.h. */
8214 /* Are we little or big endian? From Harbison&Steele. */
8218 char c[sizeof (long)];
8221 exit (u.c[sizeof (long) - 1] == 1);
8224 rm -f conftest$ac_exeext
8225 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8226 (eval $ac_link) 2>&5
8228 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8229 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
8230 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8233 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8234 (exit $ac_status); }; }; then
8235 ac_cv_c_bigendian=no
8237 echo "$as_me: program exited with status $ac_status" >&5
8238 echo "$as_me: failed program was:" >&5
8239 sed 's/^/| /' conftest.$ac_ext >&5
8242 ac_cv_c_bigendian=yes
8244 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
8248 echo "$as_me:$LINENO: result: $ac_cv_c_bigendian" >&5
8249 echo "${ECHO_T}$ac_cv_c_bigendian" >&6
8250 if test $ac_cv_c_bigendian = unknown; then
8251 echo "$as_me:$LINENO: checking to probe for byte ordering" >&5
8252 echo $ECHO_N "checking to probe for byte ordering... $ECHO_C" >&6
8254 cat >conftest.c <<EOF
8255 short ascii_mm[] = { 0x4249, 0x4765, 0x6E44, 0x6961, 0x6E53, 0x7953, 0 };
8256 short ascii_ii[] = { 0x694C, 0x5454, 0x656C, 0x6E45, 0x6944, 0x6E61, 0 };
8257 void _ascii() { char* s = (char*) ascii_mm; s = (char*) ascii_ii; }
8258 short ebcdic_ii[] = { 0x89D3, 0xE3E3, 0x8593, 0x95C5, 0x89C4, 0x9581, 0 };
8259 short ebcdic_mm[] = { 0xC2C9, 0xC785, 0x95C4, 0x8981, 0x95E2, 0xA8E2, 0 };
8260 void _ebcdic() { char* s = (char*) ebcdic_mm; s = (char*) ebcdic_ii; }
8261 int main() { _ascii (); _ebcdic (); return 0; }
8263 if test -f conftest.c ; then
8264 if ${CC-cc} ${CFLAGS} -c conftest.c -o conftest.o && test -f conftest.o ; then
8265 if test `grep -l BIGenDianSyS conftest.o` ; then
8266 echo $ac_n ' big endian probe OK, ' 1>&6
8267 ac_cv_c_bigendian=yes
8269 if test `grep -l LiTTleEnDian conftest.o` ; then
8270 echo $ac_n ' little endian probe OK, ' 1>&6
8271 if test $ac_cv_c_bigendian = yes ; then
8272 ac_cv_c_bigendian=unknown;
8274 ac_cv_c_bigendian=no
8277 echo $ac_n 'guessing bigendian ... ' >&6
8280 echo "$as_me:$LINENO: result: $ac_cv_c_bigendian" >&5
8281 echo "${ECHO_T}$ac_cv_c_bigendian" >&6
8283 if test $ac_cv_c_bigendian = yes; then
8285 cat >>confdefs.h <<\_ACEOF
8286 #define WORDS_BIGENDIAN 1
8290 cat >>confdefs.h <<\_ACEOF
8291 #define HOST_WORDS_BIG_ENDIAN 1
8299 cat >>confdefs.h <<_ACEOF
8300 #define BYTEORDER $BYTEORDER
8303 if test $ac_cv_c_bigendian = unknown; then
8304 { { echo "$as_me:$LINENO: error: unknown endianess - sorry, please pre-set ac_cv_c_bigendian" >&5
8305 echo "$as_me: error: unknown endianess - sorry, please pre-set ac_cv_c_bigendian" >&2;}
8306 { (exit 1); exit 1; }; }
8329 for ac_header in unistd.h sys/types.h sys/config.h sys/ioctl.h \
8331 inttypes.h stdint.h utime.h sys/utime.h sys/filio.h \
8338 sys/event.h sys/epoll.h \
8341 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
8342 if eval "test \"\${$as_ac_Header+set}\" = set"; then
8343 echo "$as_me:$LINENO: checking for $ac_header" >&5
8344 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
8345 if eval "test \"\${$as_ac_Header+set}\" = set"; then
8346 echo $ECHO_N "(cached) $ECHO_C" >&6
8348 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
8349 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
8351 # Is the header compilable?
8352 echo "$as_me:$LINENO: checking $ac_header usability" >&5
8353 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
8354 cat >conftest.$ac_ext <<_ACEOF
8357 cat confdefs.h >>conftest.$ac_ext
8358 cat >>conftest.$ac_ext <<_ACEOF
8359 /* end confdefs.h. */
8360 $ac_includes_default
8361 #include <$ac_header>
8363 rm -f conftest.$ac_objext
8364 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
8365 (eval $ac_compile) 2>conftest.er1
8367 grep -v '^ *+' conftest.er1 >conftest.err
8369 cat conftest.err >&5
8370 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8371 (exit $ac_status); } &&
8372 { ac_try='test -z "$ac_c_werror_flag"
8373 || test ! -s conftest.err'
8374 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8377 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8378 (exit $ac_status); }; } &&
8379 { ac_try='test -s conftest.$ac_objext'
8380 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8383 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8384 (exit $ac_status); }; }; then
8385 ac_header_compiler=yes
8387 echo "$as_me: failed program was:" >&5
8388 sed 's/^/| /' conftest.$ac_ext >&5
8390 ac_header_compiler=no
8392 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
8393 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
8394 echo "${ECHO_T}$ac_header_compiler" >&6
8396 # Is the header present?
8397 echo "$as_me:$LINENO: checking $ac_header presence" >&5
8398 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
8399 cat >conftest.$ac_ext <<_ACEOF
8402 cat confdefs.h >>conftest.$ac_ext
8403 cat >>conftest.$ac_ext <<_ACEOF
8404 /* end confdefs.h. */
8405 #include <$ac_header>
8407 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
8408 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
8410 grep -v '^ *+' conftest.er1 >conftest.err
8412 cat conftest.err >&5
8413 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8414 (exit $ac_status); } >/dev/null; then
8415 if test -s conftest.err; then
8416 ac_cpp_err=$ac_c_preproc_warn_flag
8417 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
8424 if test -z "$ac_cpp_err"; then
8425 ac_header_preproc=yes
8427 echo "$as_me: failed program was:" >&5
8428 sed 's/^/| /' conftest.$ac_ext >&5
8430 ac_header_preproc=no
8432 rm -f conftest.err conftest.$ac_ext
8433 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
8434 echo "${ECHO_T}$ac_header_preproc" >&6
8436 # So? What about this header?
8437 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
8439 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
8440 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
8441 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
8442 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
8443 ac_header_preproc=yes
8446 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
8447 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
8448 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
8449 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
8450 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
8451 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
8452 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
8453 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
8454 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
8455 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
8456 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
8457 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
8460 ## -------------------------------- ##
8461 ## Report this to classpath@gnu.org ##
8462 ## -------------------------------- ##
8465 sed "s/^/$as_me: WARNING: /" >&2
8468 echo "$as_me:$LINENO: checking for $ac_header" >&5
8469 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
8470 if eval "test \"\${$as_ac_Header+set}\" = set"; then
8471 echo $ECHO_N "(cached) $ECHO_C" >&6
8473 eval "$as_ac_Header=\$ac_header_preproc"
8475 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
8476 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
8479 if test `eval echo '${'$as_ac_Header'}'` = yes; then
8480 cat >>confdefs.h <<_ACEOF
8481 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
8489 cat >conftest.$ac_ext <<_ACEOF
8492 cat confdefs.h >>conftest.$ac_ext
8493 cat >>conftest.$ac_ext <<_ACEOF
8494 /* end confdefs.h. */
8498 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
8499 $EGREP "uint32_t" >/dev/null 2>&1; then
8501 cat >>confdefs.h <<\_ACEOF
8502 #define HAVE_INT32_DEFINED 1
8508 cat >conftest.$ac_ext <<_ACEOF
8511 cat confdefs.h >>conftest.$ac_ext
8512 cat >>conftest.$ac_ext <<_ACEOF
8513 /* end confdefs.h. */
8514 #include <inttypes.h>
8517 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
8518 $EGREP "uint32_t" >/dev/null 2>&1; then
8520 cat >>confdefs.h <<\_ACEOF
8521 #define HAVE_INT32_DEFINED 1
8527 cat >conftest.$ac_ext <<_ACEOF
8530 cat confdefs.h >>conftest.$ac_ext
8531 cat >>conftest.$ac_ext <<_ACEOF
8532 /* end confdefs.h. */
8533 #include <sys/types.h>
8536 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
8537 $EGREP "u_int32_t" >/dev/null 2>&1; then
8539 cat >>confdefs.h <<\_ACEOF
8540 #define HAVE_BSD_INT32_DEFINED 1
8546 cat >conftest.$ac_ext <<_ACEOF
8549 cat confdefs.h >>conftest.$ac_ext
8550 cat >>conftest.$ac_ext <<_ACEOF
8551 /* end confdefs.h. */
8552 #include <sys/config.h>
8555 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
8556 $EGREP "u_int32_t" >/dev/null 2>&1; then
8558 cat >>confdefs.h <<\_ACEOF
8559 #define HAVE_BSD_INT32_DEFINED 1
8620 for ac_func in ftruncate fsync select \
8621 gethostname socket strerror fork pipe execve open close \
8622 lseek fstat read readv write writev htonl memset htons connect \
8623 getsockname getpeername bind listen accept \
8624 recvfrom send sendto setsockopt getsockopt time mktime \
8625 gethostbyname_r localtime_r \
8628 mmap munmap mincore msync madvise getpagesize sysconf \
8630 inet_aton inet_addr inet_pton \
8631 getifaddrs kqueue kevent epoll_create \
8634 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
8635 echo "$as_me:$LINENO: checking for $ac_func" >&5
8636 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
8637 if eval "test \"\${$as_ac_var+set}\" = set"; then
8638 echo $ECHO_N "(cached) $ECHO_C" >&6
8640 if test x$gcc_no_link = xyes; then
8641 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
8642 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
8643 { (exit 1); exit 1; }; }
8645 cat >conftest.$ac_ext <<_ACEOF
8648 cat confdefs.h >>conftest.$ac_ext
8649 cat >>conftest.$ac_ext <<_ACEOF
8650 /* end confdefs.h. */
8651 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
8652 For example, HP-UX 11i <limits.h> declares gettimeofday. */
8653 #define $ac_func innocuous_$ac_func
8655 /* System header to define __stub macros and hopefully few prototypes,
8656 which can conflict with char $ac_func (); below.
8657 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
8658 <limits.h> exists even on freestanding compilers. */
8661 # include <limits.h>
8663 # include <assert.h>
8668 /* Override any gcc2 internal prototype to avoid an error. */
8673 /* We use char because int might match the return type of a gcc2
8674 builtin and then its argument prototype would still apply. */
8676 /* The GNU C library defines this for functions which it implements
8677 to always fail with ENOSYS. Some functions are actually named
8678 something starting with __ and the normal name is an alias. */
8679 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
8682 char (*f) () = $ac_func;
8691 return f != $ac_func;
8696 rm -f conftest.$ac_objext conftest$ac_exeext
8697 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8698 (eval $ac_link) 2>conftest.er1
8700 grep -v '^ *+' conftest.er1 >conftest.err
8702 cat conftest.err >&5
8703 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8704 (exit $ac_status); } &&
8705 { ac_try='test -z "$ac_c_werror_flag"
8706 || test ! -s conftest.err'
8707 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8710 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8711 (exit $ac_status); }; } &&
8712 { ac_try='test -s conftest$ac_exeext'
8713 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8716 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8717 (exit $ac_status); }; }; then
8718 eval "$as_ac_var=yes"
8720 echo "$as_me: failed program was:" >&5
8721 sed 's/^/| /' conftest.$ac_ext >&5
8723 eval "$as_ac_var=no"
8725 rm -f conftest.err conftest.$ac_objext \
8726 conftest$ac_exeext conftest.$ac_ext
8728 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
8729 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
8730 if test `eval echo '${'$as_ac_var'}'` = yes; then
8731 cat >>confdefs.h <<_ACEOF
8732 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
8740 echo "$as_me:$LINENO: checking for magic_open in -lmagic" >&5
8741 echo $ECHO_N "checking for magic_open in -lmagic... $ECHO_C" >&6
8742 if test "${ac_cv_lib_magic_magic_open+set}" = set; then
8743 echo $ECHO_N "(cached) $ECHO_C" >&6
8745 ac_check_lib_save_LIBS=$LIBS
8746 LIBS="-lmagic $LIBS"
8747 if test x$gcc_no_link = xyes; then
8748 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
8749 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
8750 { (exit 1); exit 1; }; }
8752 cat >conftest.$ac_ext <<_ACEOF
8755 cat confdefs.h >>conftest.$ac_ext
8756 cat >>conftest.$ac_ext <<_ACEOF
8757 /* end confdefs.h. */
8759 /* Override any gcc2 internal prototype to avoid an error. */
8763 /* We use char because int might match the return type of a gcc2
8764 builtin and then its argument prototype would still apply. */
8774 rm -f conftest.$ac_objext conftest$ac_exeext
8775 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8776 (eval $ac_link) 2>conftest.er1
8778 grep -v '^ *+' conftest.er1 >conftest.err
8780 cat conftest.err >&5
8781 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8782 (exit $ac_status); } &&
8783 { ac_try='test -z "$ac_c_werror_flag"
8784 || test ! -s conftest.err'
8785 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8788 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8789 (exit $ac_status); }; } &&
8790 { ac_try='test -s conftest$ac_exeext'
8791 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8794 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8795 (exit $ac_status); }; }; then
8796 ac_cv_lib_magic_magic_open=yes
8798 echo "$as_me: failed program was:" >&5
8799 sed 's/^/| /' conftest.$ac_ext >&5
8801 ac_cv_lib_magic_magic_open=no
8803 rm -f conftest.err conftest.$ac_objext \
8804 conftest$ac_exeext conftest.$ac_ext
8805 LIBS=$ac_check_lib_save_LIBS
8807 echo "$as_me:$LINENO: result: $ac_cv_lib_magic_magic_open" >&5
8808 echo "${ECHO_T}$ac_cv_lib_magic_magic_open" >&6
8809 if test $ac_cv_lib_magic_magic_open = yes; then
8815 echo "$as_me:$LINENO: checking whether struct sockaddr_in6 is in netinet/in.h" >&5
8816 echo $ECHO_N "checking whether struct sockaddr_in6 is in netinet/in.h... $ECHO_C" >&6
8817 cat >conftest.$ac_ext <<_ACEOF
8820 cat confdefs.h >>conftest.$ac_ext
8821 cat >>conftest.$ac_ext <<_ACEOF
8822 /* end confdefs.h. */
8823 #include <netinet/in.h>
8827 struct sockaddr_in6 addr6;
8832 rm -f conftest.$ac_objext
8833 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
8834 (eval $ac_compile) 2>conftest.er1
8836 grep -v '^ *+' conftest.er1 >conftest.err
8838 cat conftest.err >&5
8839 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8840 (exit $ac_status); } &&
8841 { ac_try='test -z "$ac_c_werror_flag"
8842 || test ! -s conftest.err'
8843 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8846 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8847 (exit $ac_status); }; } &&
8848 { ac_try='test -s conftest.$ac_objext'
8849 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8852 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8853 (exit $ac_status); }; }; then
8855 cat >>confdefs.h <<\_ACEOF
8856 #define HAVE_INET6 1
8859 echo "$as_me:$LINENO: result: yes" >&5
8860 echo "${ECHO_T}yes" >&6
8862 echo "$as_me: failed program was:" >&5
8863 sed 's/^/| /' conftest.$ac_ext >&5
8865 echo "$as_me:$LINENO: result: no" >&5
8866 echo "${ECHO_T}no" >&6
8868 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
8870 echo "$as_me:$LINENO: checking whether time.h and sys/time.h may both be included" >&5
8871 echo $ECHO_N "checking whether time.h and sys/time.h may both be included... $ECHO_C" >&6
8872 if test "${ac_cv_header_time+set}" = set; then
8873 echo $ECHO_N "(cached) $ECHO_C" >&6
8875 cat >conftest.$ac_ext <<_ACEOF
8878 cat confdefs.h >>conftest.$ac_ext
8879 cat >>conftest.$ac_ext <<_ACEOF
8880 /* end confdefs.h. */
8881 #include <sys/types.h>
8882 #include <sys/time.h>
8888 if ((struct tm *) 0)
8894 rm -f conftest.$ac_objext
8895 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
8896 (eval $ac_compile) 2>conftest.er1
8898 grep -v '^ *+' conftest.er1 >conftest.err
8900 cat conftest.err >&5
8901 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8902 (exit $ac_status); } &&
8903 { ac_try='test -z "$ac_c_werror_flag"
8904 || test ! -s conftest.err'
8905 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8908 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8909 (exit $ac_status); }; } &&
8910 { ac_try='test -s conftest.$ac_objext'
8911 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8914 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8915 (exit $ac_status); }; }; then
8916 ac_cv_header_time=yes
8918 echo "$as_me: failed program was:" >&5
8919 sed 's/^/| /' conftest.$ac_ext >&5
8921 ac_cv_header_time=no
8923 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
8925 echo "$as_me:$LINENO: result: $ac_cv_header_time" >&5
8926 echo "${ECHO_T}$ac_cv_header_time" >&6
8927 if test $ac_cv_header_time = yes; then
8929 cat >>confdefs.h <<\_ACEOF
8930 #define TIME_WITH_SYS_TIME 1
8935 echo "$as_me:$LINENO: checking whether struct tm is in sys/time.h or time.h" >&5
8936 echo $ECHO_N "checking whether struct tm is in sys/time.h or time.h... $ECHO_C" >&6
8937 if test "${ac_cv_struct_tm+set}" = set; then
8938 echo $ECHO_N "(cached) $ECHO_C" >&6
8940 cat >conftest.$ac_ext <<_ACEOF
8943 cat confdefs.h >>conftest.$ac_ext
8944 cat >>conftest.$ac_ext <<_ACEOF
8945 /* end confdefs.h. */
8946 #include <sys/types.h>
8952 struct tm *tp; tp->tm_sec;
8957 rm -f conftest.$ac_objext
8958 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
8959 (eval $ac_compile) 2>conftest.er1
8961 grep -v '^ *+' conftest.er1 >conftest.err
8963 cat conftest.err >&5
8964 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8965 (exit $ac_status); } &&
8966 { ac_try='test -z "$ac_c_werror_flag"
8967 || test ! -s conftest.err'
8968 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8971 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8972 (exit $ac_status); }; } &&
8973 { ac_try='test -s conftest.$ac_objext'
8974 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8977 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8978 (exit $ac_status); }; }; then
8979 ac_cv_struct_tm=time.h
8981 echo "$as_me: failed program was:" >&5
8982 sed 's/^/| /' conftest.$ac_ext >&5
8984 ac_cv_struct_tm=sys/time.h
8986 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
8988 echo "$as_me:$LINENO: result: $ac_cv_struct_tm" >&5
8989 echo "${ECHO_T}$ac_cv_struct_tm" >&6
8990 if test $ac_cv_struct_tm = sys/time.h; then
8992 cat >>confdefs.h <<\_ACEOF
8993 #define TM_IN_SYS_TIME 1
8998 echo "$as_me:$LINENO: checking for struct tm.tm_zone" >&5
8999 echo $ECHO_N "checking for struct tm.tm_zone... $ECHO_C" >&6
9000 if test "${ac_cv_member_struct_tm_tm_zone+set}" = set; then
9001 echo $ECHO_N "(cached) $ECHO_C" >&6
9003 cat >conftest.$ac_ext <<_ACEOF
9006 cat confdefs.h >>conftest.$ac_ext
9007 cat >>conftest.$ac_ext <<_ACEOF
9008 /* end confdefs.h. */
9009 #include <sys/types.h>
9010 #include <$ac_cv_struct_tm>
9016 static struct tm ac_aggr;
9017 if (ac_aggr.tm_zone)
9023 rm -f conftest.$ac_objext
9024 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
9025 (eval $ac_compile) 2>conftest.er1
9027 grep -v '^ *+' conftest.er1 >conftest.err
9029 cat conftest.err >&5
9030 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9031 (exit $ac_status); } &&
9032 { ac_try='test -z "$ac_c_werror_flag"
9033 || test ! -s conftest.err'
9034 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9037 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9038 (exit $ac_status); }; } &&
9039 { ac_try='test -s conftest.$ac_objext'
9040 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9043 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9044 (exit $ac_status); }; }; then
9045 ac_cv_member_struct_tm_tm_zone=yes
9047 echo "$as_me: failed program was:" >&5
9048 sed 's/^/| /' conftest.$ac_ext >&5
9050 cat >conftest.$ac_ext <<_ACEOF
9053 cat confdefs.h >>conftest.$ac_ext
9054 cat >>conftest.$ac_ext <<_ACEOF
9055 /* end confdefs.h. */
9056 #include <sys/types.h>
9057 #include <$ac_cv_struct_tm>
9063 static struct tm ac_aggr;
9064 if (sizeof ac_aggr.tm_zone)
9070 rm -f conftest.$ac_objext
9071 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
9072 (eval $ac_compile) 2>conftest.er1
9074 grep -v '^ *+' conftest.er1 >conftest.err
9076 cat conftest.err >&5
9077 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9078 (exit $ac_status); } &&
9079 { ac_try='test -z "$ac_c_werror_flag"
9080 || test ! -s conftest.err'
9081 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9084 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9085 (exit $ac_status); }; } &&
9086 { ac_try='test -s conftest.$ac_objext'
9087 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9090 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9091 (exit $ac_status); }; }; then
9092 ac_cv_member_struct_tm_tm_zone=yes
9094 echo "$as_me: failed program was:" >&5
9095 sed 's/^/| /' conftest.$ac_ext >&5
9097 ac_cv_member_struct_tm_tm_zone=no
9099 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
9101 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
9103 echo "$as_me:$LINENO: result: $ac_cv_member_struct_tm_tm_zone" >&5
9104 echo "${ECHO_T}$ac_cv_member_struct_tm_tm_zone" >&6
9105 if test $ac_cv_member_struct_tm_tm_zone = yes; then
9107 cat >>confdefs.h <<_ACEOF
9108 #define HAVE_STRUCT_TM_TM_ZONE 1
9114 if test "$ac_cv_member_struct_tm_tm_zone" = yes; then
9116 cat >>confdefs.h <<\_ACEOF
9117 #define HAVE_TM_ZONE 1
9121 echo "$as_me:$LINENO: checking for tzname" >&5
9122 echo $ECHO_N "checking for tzname... $ECHO_C" >&6
9123 if test "${ac_cv_var_tzname+set}" = set; then
9124 echo $ECHO_N "(cached) $ECHO_C" >&6
9126 if test x$gcc_no_link = xyes; then
9127 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
9128 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
9129 { (exit 1); exit 1; }; }
9131 cat >conftest.$ac_ext <<_ACEOF
9134 cat confdefs.h >>conftest.$ac_ext
9135 cat >>conftest.$ac_ext <<_ACEOF
9136 /* end confdefs.h. */
9138 #ifndef tzname /* For SGI. */
9139 extern char *tzname[]; /* RS6000 and others reject char **tzname. */
9150 rm -f conftest.$ac_objext conftest$ac_exeext
9151 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
9152 (eval $ac_link) 2>conftest.er1
9154 grep -v '^ *+' conftest.er1 >conftest.err
9156 cat conftest.err >&5
9157 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9158 (exit $ac_status); } &&
9159 { ac_try='test -z "$ac_c_werror_flag"
9160 || test ! -s conftest.err'
9161 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9164 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9165 (exit $ac_status); }; } &&
9166 { ac_try='test -s conftest$ac_exeext'
9167 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9170 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9171 (exit $ac_status); }; }; then
9172 ac_cv_var_tzname=yes
9174 echo "$as_me: failed program was:" >&5
9175 sed 's/^/| /' conftest.$ac_ext >&5
9179 rm -f conftest.err conftest.$ac_objext \
9180 conftest$ac_exeext conftest.$ac_ext
9182 echo "$as_me:$LINENO: result: $ac_cv_var_tzname" >&5
9183 echo "${ECHO_T}$ac_cv_var_tzname" >&6
9184 if test $ac_cv_var_tzname = yes; then
9186 cat >>confdefs.h <<\_ACEOF
9187 #define HAVE_TZNAME 1
9194 echo "$as_me:$LINENO: checking for tm_gmtoff in struct tm" >&5
9195 echo $ECHO_N "checking for tm_gmtoff in struct tm... $ECHO_C" >&6
9196 cat >conftest.$ac_ext <<_ACEOF
9199 cat confdefs.h >>conftest.$ac_ext
9200 cat >>conftest.$ac_ext <<_ACEOF
9201 /* end confdefs.h. */
9206 struct tm tim; tim.tm_gmtoff = 0;
9211 rm -f conftest.$ac_objext
9212 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
9213 (eval $ac_compile) 2>conftest.er1
9215 grep -v '^ *+' conftest.er1 >conftest.err
9217 cat conftest.err >&5
9218 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9219 (exit $ac_status); } &&
9220 { ac_try='test -z "$ac_c_werror_flag"
9221 || test ! -s conftest.err'
9222 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9225 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9226 (exit $ac_status); }; } &&
9227 { ac_try='test -s conftest.$ac_objext'
9228 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9231 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9232 (exit $ac_status); }; }; then
9234 cat >>confdefs.h <<\_ACEOF
9235 #define STRUCT_TM_HAS_GMTOFF 1
9238 echo "$as_me:$LINENO: result: yes" >&5
9239 echo "${ECHO_T}yes" >&6
9241 echo "$as_me: failed program was:" >&5
9242 sed 's/^/| /' conftest.$ac_ext >&5
9244 echo "$as_me:$LINENO: result: no" >&5
9245 echo "${ECHO_T}no" >&6
9246 echo "$as_me:$LINENO: checking for global timezone variable" >&5
9247 echo $ECHO_N "checking for global timezone variable... $ECHO_C" >&6
9248 cat >conftest.$ac_ext <<_ACEOF
9251 cat confdefs.h >>conftest.$ac_ext
9252 cat >>conftest.$ac_ext <<_ACEOF
9253 /* end confdefs.h. */
9258 void i(){long z2 = 2*timezone;}
9263 rm -f conftest.$ac_objext
9264 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
9265 (eval $ac_compile) 2>conftest.er1
9267 grep -v '^ *+' conftest.er1 >conftest.err
9269 cat conftest.err >&5
9270 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9271 (exit $ac_status); } &&
9272 { ac_try='test -z "$ac_c_werror_flag"
9273 || test ! -s conftest.err'
9274 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9277 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9278 (exit $ac_status); }; } &&
9279 { ac_try='test -s conftest.$ac_objext'
9280 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9283 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9284 (exit $ac_status); }; }; then
9286 cat >>confdefs.h <<\_ACEOF
9287 #define HAVE_TIMEZONE 1
9290 echo "$as_me:$LINENO: result: yes" >&5
9291 echo "${ECHO_T}yes" >&6
9293 echo "$as_me: failed program was:" >&5
9294 sed 's/^/| /' conftest.$ac_ext >&5
9296 echo "$as_me:$LINENO: result: no" >&5
9297 echo "${ECHO_T}no" >&6
9298 echo "$as_me:$LINENO: checking for global _timezone variable" >&5
9299 echo $ECHO_N "checking for global _timezone variable... $ECHO_C" >&6
9300 cat >conftest.$ac_ext <<_ACEOF
9303 cat confdefs.h >>conftest.$ac_ext
9304 cat >>conftest.$ac_ext <<_ACEOF
9305 /* end confdefs.h. */
9310 long z2 = _timezone;
9315 rm -f conftest.$ac_objext
9316 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
9317 (eval $ac_compile) 2>conftest.er1
9319 grep -v '^ *+' conftest.er1 >conftest.err
9321 cat conftest.err >&5
9322 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9323 (exit $ac_status); } &&
9324 { ac_try='test -z "$ac_c_werror_flag"
9325 || test ! -s conftest.err'
9326 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9329 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9330 (exit $ac_status); }; } &&
9331 { ac_try='test -s conftest.$ac_objext'
9332 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9335 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9336 (exit $ac_status); }; }; then
9338 cat >>confdefs.h <<\_ACEOF
9339 #define HAVE_UNDERSCORE_TIMEZONE 1
9342 echo "$as_me:$LINENO: result: yes" >&5
9343 echo "${ECHO_T}yes" >&6
9345 echo "$as_me: failed program was:" >&5
9346 sed 's/^/| /' conftest.$ac_ext >&5
9348 echo "$as_me:$LINENO: result: no" >&5
9349 echo "${ECHO_T}no" >&6
9351 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
9353 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
9355 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
9357 echo "$as_me:$LINENO: checking for an ANSI C-conforming const" >&5
9358 echo $ECHO_N "checking for an ANSI C-conforming const... $ECHO_C" >&6
9359 if test "${ac_cv_c_const+set}" = set; then
9360 echo $ECHO_N "(cached) $ECHO_C" >&6
9362 cat >conftest.$ac_ext <<_ACEOF
9365 cat confdefs.h >>conftest.$ac_ext
9366 cat >>conftest.$ac_ext <<_ACEOF
9367 /* end confdefs.h. */
9372 /* FIXME: Include the comments suggested by Paul. */
9374 /* Ultrix mips cc rejects this. */
9375 typedef int charset[2];
9377 /* SunOS 4.1.1 cc rejects this. */
9378 char const *const *ccp;
9380 /* NEC SVR4.0.2 mips cc rejects this. */
9381 struct point {int x, y;};
9382 static struct point const zero = {0,0};
9383 /* AIX XL C 1.02.0.0 rejects this.
9384 It does not let you subtract one const X* pointer from another in
9385 an arm of an if-expression whose if-part is not a constant
9387 const char *g = "string";
9388 ccp = &g + (g ? g-g : 0);
9389 /* HPUX 7.0 cc rejects these. */
9392 ccp = (char const *const *) p;
9393 { /* SCO 3.2v4 cc rejects this. */
9395 char const *s = 0 ? (char *) 0 : (char const *) 0;
9399 { /* Someone thinks the Sun supposedly-ANSI compiler will reject this. */
9401 const int *foo = &x[0];
9404 { /* Sun SC1.0 ANSI compiler rejects this -- but not the above. */
9405 typedef const int *iptr;
9409 { /* AIX XL C 1.02.0.0 rejects this saying
9410 "k.c", line 2.27: 1506-025 (S) Operand must be a modifiable lvalue. */
9411 struct s { int j; const int *ap[3]; };
9412 struct s *b; b->j = 5;
9414 { /* ULTRIX-32 V3.1 (Rev 9) vcc rejects this */
9423 rm -f conftest.$ac_objext
9424 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
9425 (eval $ac_compile) 2>conftest.er1
9427 grep -v '^ *+' conftest.er1 >conftest.err
9429 cat conftest.err >&5
9430 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9431 (exit $ac_status); } &&
9432 { ac_try='test -z "$ac_c_werror_flag"
9433 || test ! -s conftest.err'
9434 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9437 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9438 (exit $ac_status); }; } &&
9439 { ac_try='test -s conftest.$ac_objext'
9440 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9443 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9444 (exit $ac_status); }; }; then
9447 echo "$as_me: failed program was:" >&5
9448 sed 's/^/| /' conftest.$ac_ext >&5
9452 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
9454 echo "$as_me:$LINENO: result: $ac_cv_c_const" >&5
9455 echo "${ECHO_T}$ac_cv_c_const" >&6
9456 if test $ac_cv_c_const = no; then
9458 cat >>confdefs.h <<\_ACEOF
9464 echo "$as_me:$LINENO: checking for __attribute__" >&5
9465 echo $ECHO_N "checking for __attribute__... $ECHO_C" >&6
9466 if test "${ac_cv_c_attribute+set}" = set; then
9467 echo $ECHO_N "(cached) $ECHO_C" >&6
9470 cat >conftest.$ac_ext <<_ACEOF
9473 cat confdefs.h >>conftest.$ac_ext
9474 cat >>conftest.$ac_ext <<_ACEOF
9475 /* end confdefs.h. */
9476 void foo(void) __attribute__ ((__noreturn__));
9479 rm -f conftest.$ac_objext
9480 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
9481 (eval $ac_compile) 2>conftest.er1
9483 grep -v '^ *+' conftest.er1 >conftest.err
9485 cat conftest.err >&5
9486 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9487 (exit $ac_status); } &&
9488 { ac_try='test -z "$ac_c_werror_flag"
9489 || test ! -s conftest.err'
9490 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9493 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9494 (exit $ac_status); }; } &&
9495 { ac_try='test -s conftest.$ac_objext'
9496 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9499 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9500 (exit $ac_status); }; }; then
9501 ac_cv_c_attribute=yes
9503 echo "$as_me: failed program was:" >&5
9504 sed 's/^/| /' conftest.$ac_ext >&5
9506 ac_cv_c_attribute=no
9509 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
9512 echo "$as_me:$LINENO: result: $ac_cv_c_attribute" >&5
9513 echo "${ECHO_T}$ac_cv_c_attribute" >&6
9516 case $ac_cv_c_attribute in
9519 cat >>confdefs.h <<_ACEOF
9520 #define __attribute__(x) /* nothing */
9527 if test "X$prefix" = "XNONE"; then
9528 acl_final_prefix="$ac_default_prefix"
9530 acl_final_prefix="$prefix"
9532 if test "X$exec_prefix" = "XNONE"; then
9533 acl_final_exec_prefix='${prefix}'
9535 acl_final_exec_prefix="$exec_prefix"
9537 acl_save_prefix="$prefix"
9538 prefix="$acl_final_prefix"
9539 eval acl_final_exec_prefix=\"$acl_final_exec_prefix\"
9540 prefix="$acl_save_prefix"
9543 # Check whether --with-gnu-ld or --without-gnu-ld was given.
9544 if test "${with_gnu_ld+set}" = set; then
9545 withval="$with_gnu_ld"
9546 test "$withval" = no || with_gnu_ld=yes
9550 # Prepare PATH_SEPARATOR.
9551 # The user is always right.
9552 if test "${PATH_SEPARATOR+set}" != set; then
9553 echo "#! /bin/sh" >conf$$.sh
9554 echo "exit 0" >>conf$$.sh
9556 if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
9564 if test "$GCC" = yes; then
9565 # Check if gcc -print-prog-name=ld gives a path.
9566 echo "$as_me:$LINENO: checking for ld used by GCC" >&5
9567 echo $ECHO_N "checking for ld used by GCC... $ECHO_C" >&6
9570 # gcc leaves a trailing carriage return which upsets mingw
9571 ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
9573 ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
9576 # Accept absolute paths.
9577 [\\/]* | [A-Za-z]:[\\/]*)
9578 re_direlt='/[^/][^/]*/\.\./'
9579 # Canonicalize the path of ld
9580 ac_prog=`echo $ac_prog| sed 's%\\\\%/%g'`
9581 while echo $ac_prog | grep "$re_direlt" > /dev/null 2>&1; do
9582 ac_prog=`echo $ac_prog| sed "s%$re_direlt%/%"`
9584 test -z "$LD" && LD="$ac_prog"
9587 # If it fails, then pretend we aren't using GCC.
9591 # If it is relative, then search for the first ld in PATH.
9595 elif test "$with_gnu_ld" = yes; then
9596 echo "$as_me:$LINENO: checking for GNU ld" >&5
9597 echo $ECHO_N "checking for GNU ld... $ECHO_C" >&6
9599 echo "$as_me:$LINENO: checking for non-GNU ld" >&5
9600 echo $ECHO_N "checking for non-GNU ld... $ECHO_C" >&6
9602 if test "${acl_cv_path_LD+set}" = set; then
9603 echo $ECHO_N "(cached) $ECHO_C" >&6
9605 if test -z "$LD"; then
9606 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}${PATH_SEPARATOR-:}"
9607 for ac_dir in $PATH; do
9608 test -z "$ac_dir" && ac_dir=.
9609 if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
9610 acl_cv_path_LD="$ac_dir/$ac_prog"
9611 # Check to see if the program is GNU ld. I'd rather use --version,
9612 # but apparently some GNU ld's only accept -v.
9613 # Break only if it was the GNU/non-GNU ld that we prefer.
9614 if "$acl_cv_path_LD" -v 2>&1 < /dev/null | egrep '(GNU|with BFD)' > /dev/null; then
9615 test "$with_gnu_ld" != no && break
9617 test "$with_gnu_ld" != yes && break
9623 acl_cv_path_LD="$LD" # Let the user override the test with a path.
9627 LD="$acl_cv_path_LD"
9628 if test -n "$LD"; then
9629 echo "$as_me:$LINENO: result: $LD" >&5
9630 echo "${ECHO_T}$LD" >&6
9632 echo "$as_me:$LINENO: result: no" >&5
9633 echo "${ECHO_T}no" >&6
9635 test -z "$LD" && { { echo "$as_me:$LINENO: error: no acceptable ld found in \$PATH" >&5
9636 echo "$as_me: error: no acceptable ld found in \$PATH" >&2;}
9637 { (exit 1); exit 1; }; }
9638 echo "$as_me:$LINENO: checking if the linker ($LD) is GNU ld" >&5
9639 echo $ECHO_N "checking if the linker ($LD) is GNU ld... $ECHO_C" >&6
9640 if test "${acl_cv_prog_gnu_ld+set}" = set; then
9641 echo $ECHO_N "(cached) $ECHO_C" >&6
9643 # I'd rather use --version here, but apparently some GNU ld's only accept -v.
9644 if $LD -v 2>&1 </dev/null | egrep '(GNU|with BFD)' 1>&5; then
9645 acl_cv_prog_gnu_ld=yes
9647 acl_cv_prog_gnu_ld=no
9650 echo "$as_me:$LINENO: result: $acl_cv_prog_gnu_ld" >&5
9651 echo "${ECHO_T}$acl_cv_prog_gnu_ld" >&6
9652 with_gnu_ld=$acl_cv_prog_gnu_ld
9656 echo "$as_me:$LINENO: checking for shared library run path origin" >&5
9657 echo $ECHO_N "checking for shared library run path origin... $ECHO_C" >&6
9658 if test "${acl_cv_rpath+set}" = set; then
9659 echo $ECHO_N "(cached) $ECHO_C" >&6
9662 CC="$CC" GCC="$GCC" LDFLAGS="$LDFLAGS" LD="$LD" with_gnu_ld="$with_gnu_ld" \
9663 ${CONFIG_SHELL-/bin/sh} "$ac_aux_dir/config.rpath" "$host" > conftest.sh
9669 echo "$as_me:$LINENO: result: $acl_cv_rpath" >&5
9670 echo "${ECHO_T}$acl_cv_rpath" >&6
9672 libext="$acl_cv_libext"
9673 shlibext="$acl_cv_shlibext"
9674 hardcode_libdir_flag_spec="$acl_cv_hardcode_libdir_flag_spec"
9675 hardcode_libdir_separator="$acl_cv_hardcode_libdir_separator"
9676 hardcode_direct="$acl_cv_hardcode_direct"
9677 hardcode_minus_L="$acl_cv_hardcode_minus_L"
9678 # Check whether --enable-rpath or --disable-rpath was given.
9679 if test "${enable_rpath+set}" = set; then
9680 enableval="$enable_rpath"
9694 acl_save_prefix="$prefix"
9695 prefix="$acl_final_prefix"
9696 acl_save_exec_prefix="$exec_prefix"
9697 exec_prefix="$acl_final_exec_prefix"
9699 eval additional_includedir=\"$includedir\"
9700 eval additional_libdir=\"$libdir\"
9702 exec_prefix="$acl_save_exec_prefix"
9703 prefix="$acl_save_prefix"
9706 # Check whether --with-libiconv-prefix or --without-libiconv-prefix was given.
9707 if test "${with_libiconv_prefix+set}" = set; then
9708 withval="$with_libiconv_prefix"
9710 if test "X$withval" = "Xno"; then
9713 if test "X$withval" = "X"; then
9715 acl_save_prefix="$prefix"
9716 prefix="$acl_final_prefix"
9717 acl_save_exec_prefix="$exec_prefix"
9718 exec_prefix="$acl_final_exec_prefix"
9720 eval additional_includedir=\"$includedir\"
9721 eval additional_libdir=\"$libdir\"
9723 exec_prefix="$acl_save_exec_prefix"
9724 prefix="$acl_save_prefix"
9727 additional_includedir="$withval/include"
9728 additional_libdir="$withval/lib"
9738 names_already_handled=
9739 names_next_round='iconv '
9740 while test -n "$names_next_round"; do
9741 names_this_round="$names_next_round"
9743 for name in $names_this_round; do
9745 for n in $names_already_handled; do
9746 if test "$n" = "$name"; then
9751 if test -z "$already_handled"; then
9752 names_already_handled="$names_already_handled $name"
9753 uppername=`echo "$name" | sed -e 'y|abcdefghijklmnopqrstuvwxyz./-|ABCDEFGHIJKLMNOPQRSTUVWXYZ___|'`
9754 eval value=\"\$HAVE_LIB$uppername\"
9755 if test -n "$value"; then
9756 if test "$value" = yes; then
9757 eval value=\"\$LIB$uppername\"
9758 test -z "$value" || LIBICONV="${LIBICONV}${LIBICONV:+ }$value"
9759 eval value=\"\$LTLIB$uppername\"
9760 test -z "$value" || LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }$value"
9769 if test $use_additional = yes; then
9770 if test -n "$shlibext" && test -f "$additional_libdir/lib$name.$shlibext"; then
9771 found_dir="$additional_libdir"
9772 found_so="$additional_libdir/lib$name.$shlibext"
9773 if test -f "$additional_libdir/lib$name.la"; then
9774 found_la="$additional_libdir/lib$name.la"
9777 if test -f "$additional_libdir/lib$name.$libext"; then
9778 found_dir="$additional_libdir"
9779 found_a="$additional_libdir/lib$name.$libext"
9780 if test -f "$additional_libdir/lib$name.la"; then
9781 found_la="$additional_libdir/lib$name.la"
9786 if test "X$found_dir" = "X"; then
9787 for x in $LDFLAGS $LTLIBICONV; do
9789 acl_save_prefix="$prefix"
9790 prefix="$acl_final_prefix"
9791 acl_save_exec_prefix="$exec_prefix"
9792 exec_prefix="$acl_final_exec_prefix"
9794 exec_prefix="$acl_save_exec_prefix"
9795 prefix="$acl_save_prefix"
9799 dir=`echo "X$x" | sed -e 's/^X-L//'`
9800 if test -n "$shlibext" && test -f "$dir/lib$name.$shlibext"; then
9802 found_so="$dir/lib$name.$shlibext"
9803 if test -f "$dir/lib$name.la"; then
9804 found_la="$dir/lib$name.la"
9807 if test -f "$dir/lib$name.$libext"; then
9809 found_a="$dir/lib$name.$libext"
9810 if test -f "$dir/lib$name.la"; then
9811 found_la="$dir/lib$name.la"
9817 if test "X$found_dir" != "X"; then
9822 if test "X$found_dir" != "X"; then
9823 LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }-L$found_dir -l$name"
9824 if test "X$found_so" != "X"; then
9825 if test "$enable_rpath" = no || test "X$found_dir" = "X/usr/lib"; then
9826 LIBICONV="${LIBICONV}${LIBICONV:+ }$found_so"
9829 for x in $ltrpathdirs; do
9830 if test "X$x" = "X$found_dir"; then
9835 if test -z "$haveit"; then
9836 ltrpathdirs="$ltrpathdirs $found_dir"
9838 if test "$hardcode_direct" = yes; then
9839 LIBICONV="${LIBICONV}${LIBICONV:+ }$found_so"
9841 if test -n "$hardcode_libdir_flag_spec" && test "$hardcode_minus_L" = no; then
9842 LIBICONV="${LIBICONV}${LIBICONV:+ }$found_so"
9844 for x in $rpathdirs; do
9845 if test "X$x" = "X$found_dir"; then
9850 if test -z "$haveit"; then
9851 rpathdirs="$rpathdirs $found_dir"
9855 for x in $LDFLAGS $LIBICONV; do
9857 acl_save_prefix="$prefix"
9858 prefix="$acl_final_prefix"
9859 acl_save_exec_prefix="$exec_prefix"
9860 exec_prefix="$acl_final_exec_prefix"
9862 exec_prefix="$acl_save_exec_prefix"
9863 prefix="$acl_save_prefix"
9865 if test "X$x" = "X-L$found_dir"; then
9870 if test -z "$haveit"; then
9871 LIBICONV="${LIBICONV}${LIBICONV:+ }-L$found_dir"
9873 if test "$hardcode_minus_L" != no; then
9874 LIBICONV="${LIBICONV}${LIBICONV:+ }$found_so"
9876 LIBICONV="${LIBICONV}${LIBICONV:+ }-l$name"
9882 if test "X$found_a" != "X"; then
9883 LIBICONV="${LIBICONV}${LIBICONV:+ }$found_a"
9885 LIBICONV="${LIBICONV}${LIBICONV:+ }-L$found_dir -l$name"
9888 additional_includedir=
9889 case "$found_dir" in
9891 basedir=`echo "X$found_dir" | sed -e 's,^X,,' -e 's,/lib/*$,,'`
9892 additional_includedir="$basedir/include"
9895 if test "X$additional_includedir" != "X"; then
9896 if test "X$additional_includedir" != "X/usr/include"; then
9898 if test "X$additional_includedir" = "X/usr/local/include"; then
9899 if test -n "$GCC"; then
9901 linux*) haveit=yes;;
9905 if test -z "$haveit"; then
9906 for x in $CPPFLAGS $INCICONV; do
9908 acl_save_prefix="$prefix"
9909 prefix="$acl_final_prefix"
9910 acl_save_exec_prefix="$exec_prefix"
9911 exec_prefix="$acl_final_exec_prefix"
9913 exec_prefix="$acl_save_exec_prefix"
9914 prefix="$acl_save_prefix"
9916 if test "X$x" = "X-I$additional_includedir"; then
9921 if test -z "$haveit"; then
9922 if test -d "$additional_includedir"; then
9923 INCICONV="${INCICONV}${INCICONV:+ }-I$additional_includedir"
9929 if test -n "$found_la"; then
9930 save_libdir="$libdir"
9932 */* | *\\*) . "$found_la" ;;
9933 *) . "./$found_la" ;;
9935 libdir="$save_libdir"
9936 for dep in $dependency_libs; do
9939 additional_libdir=`echo "X$dep" | sed -e 's/^X-L//'`
9940 if test "X$additional_libdir" != "X/usr/lib"; then
9942 if test "X$additional_libdir" = "X/usr/local/lib"; then
9943 if test -n "$GCC"; then
9945 linux*) haveit=yes;;
9949 if test -z "$haveit"; then
9951 for x in $LDFLAGS $LIBICONV; do
9953 acl_save_prefix="$prefix"
9954 prefix="$acl_final_prefix"
9955 acl_save_exec_prefix="$exec_prefix"
9956 exec_prefix="$acl_final_exec_prefix"
9958 exec_prefix="$acl_save_exec_prefix"
9959 prefix="$acl_save_prefix"
9961 if test "X$x" = "X-L$additional_libdir"; then
9966 if test -z "$haveit"; then
9967 if test -d "$additional_libdir"; then
9968 LIBICONV="${LIBICONV}${LIBICONV:+ }-L$additional_libdir"
9972 for x in $LDFLAGS $LTLIBICONV; do
9974 acl_save_prefix="$prefix"
9975 prefix="$acl_final_prefix"
9976 acl_save_exec_prefix="$exec_prefix"
9977 exec_prefix="$acl_final_exec_prefix"
9979 exec_prefix="$acl_save_exec_prefix"
9980 prefix="$acl_save_prefix"
9982 if test "X$x" = "X-L$additional_libdir"; then
9987 if test -z "$haveit"; then
9988 if test -d "$additional_libdir"; then
9989 LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }-L$additional_libdir"
9996 dir=`echo "X$dep" | sed -e 's/^X-R//'`
9997 if test "$enable_rpath" != no; then
9999 for x in $rpathdirs; do
10000 if test "X$x" = "X$dir"; then
10005 if test -z "$haveit"; then
10006 rpathdirs="$rpathdirs $dir"
10009 for x in $ltrpathdirs; do
10010 if test "X$x" = "X$dir"; then
10015 if test -z "$haveit"; then
10016 ltrpathdirs="$ltrpathdirs $dir"
10021 names_next_round="$names_next_round "`echo "X$dep" | sed -e 's/^X-l//'`
10024 names_next_round="$names_next_round "`echo "X$dep" | sed -e 's,^X.*/,,' -e 's,^lib,,' -e 's,\.la$,,'`
10027 LIBICONV="${LIBICONV}${LIBICONV:+ }$dep"
10028 LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }$dep"
10034 LIBICONV="${LIBICONV}${LIBICONV:+ }-l$name"
10035 LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }-l$name"
10041 if test "X$rpathdirs" != "X"; then
10042 if test -n "$hardcode_libdir_separator"; then
10044 for found_dir in $rpathdirs; do
10045 alldirs="${alldirs}${alldirs:+$hardcode_libdir_separator}$found_dir"
10047 acl_save_libdir="$libdir"
10049 eval flag=\"$hardcode_libdir_flag_spec\"
10050 libdir="$acl_save_libdir"
10051 LIBICONV="${LIBICONV}${LIBICONV:+ }$flag"
10053 for found_dir in $rpathdirs; do
10054 acl_save_libdir="$libdir"
10055 libdir="$found_dir"
10056 eval flag=\"$hardcode_libdir_flag_spec\"
10057 libdir="$acl_save_libdir"
10058 LIBICONV="${LIBICONV}${LIBICONV:+ }$flag"
10062 if test "X$ltrpathdirs" != "X"; then
10063 for found_dir in $ltrpathdirs; do
10064 LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }-R$found_dir"
10074 am_save_CPPFLAGS="$CPPFLAGS"
10076 for element in $INCICONV; do
10078 for x in $CPPFLAGS; do
10080 acl_save_prefix="$prefix"
10081 prefix="$acl_final_prefix"
10082 acl_save_exec_prefix="$exec_prefix"
10083 exec_prefix="$acl_final_exec_prefix"
10085 exec_prefix="$acl_save_exec_prefix"
10086 prefix="$acl_save_prefix"
10088 if test "X$x" = "X$element"; then
10093 if test -z "$haveit"; then
10094 CPPFLAGS="${CPPFLAGS}${CPPFLAGS:+ }$element"
10099 echo "$as_me:$LINENO: checking for iconv" >&5
10100 echo $ECHO_N "checking for iconv... $ECHO_C" >&6
10101 if test "${am_cv_func_iconv+set}" = set; then
10102 echo $ECHO_N "(cached) $ECHO_C" >&6
10105 am_cv_func_iconv="no, consider installing GNU libiconv"
10107 if test x$gcc_no_link = xyes; then
10108 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
10109 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
10110 { (exit 1); exit 1; }; }
10112 cat >conftest.$ac_ext <<_ACEOF
10115 cat confdefs.h >>conftest.$ac_ext
10116 cat >>conftest.$ac_ext <<_ACEOF
10117 /* end confdefs.h. */
10118 #include <stdlib.h>
10123 iconv_t cd = iconv_open("","");
10124 iconv(cd,NULL,NULL,NULL,NULL);
10130 rm -f conftest.$ac_objext conftest$ac_exeext
10131 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10132 (eval $ac_link) 2>conftest.er1
10134 grep -v '^ *+' conftest.er1 >conftest.err
10136 cat conftest.err >&5
10137 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10138 (exit $ac_status); } &&
10139 { ac_try='test -z "$ac_c_werror_flag"
10140 || test ! -s conftest.err'
10141 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10142 (eval $ac_try) 2>&5
10144 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10145 (exit $ac_status); }; } &&
10146 { ac_try='test -s conftest$ac_exeext'
10147 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10148 (eval $ac_try) 2>&5
10150 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10151 (exit $ac_status); }; }; then
10152 am_cv_func_iconv=yes
10154 echo "$as_me: failed program was:" >&5
10155 sed 's/^/| /' conftest.$ac_ext >&5
10158 rm -f conftest.err conftest.$ac_objext \
10159 conftest$ac_exeext conftest.$ac_ext
10160 if test "$am_cv_func_iconv" != yes; then
10161 am_save_LIBS="$LIBS"
10162 LIBS="$LIBS $LIBICONV"
10163 if test x$gcc_no_link = xyes; then
10164 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
10165 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
10166 { (exit 1); exit 1; }; }
10168 cat >conftest.$ac_ext <<_ACEOF
10171 cat confdefs.h >>conftest.$ac_ext
10172 cat >>conftest.$ac_ext <<_ACEOF
10173 /* end confdefs.h. */
10174 #include <stdlib.h>
10179 iconv_t cd = iconv_open("","");
10180 iconv(cd,NULL,NULL,NULL,NULL);
10186 rm -f conftest.$ac_objext conftest$ac_exeext
10187 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10188 (eval $ac_link) 2>conftest.er1
10190 grep -v '^ *+' conftest.er1 >conftest.err
10192 cat conftest.err >&5
10193 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10194 (exit $ac_status); } &&
10195 { ac_try='test -z "$ac_c_werror_flag"
10196 || test ! -s conftest.err'
10197 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10198 (eval $ac_try) 2>&5
10200 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10201 (exit $ac_status); }; } &&
10202 { ac_try='test -s conftest$ac_exeext'
10203 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10204 (eval $ac_try) 2>&5
10206 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10207 (exit $ac_status); }; }; then
10208 am_cv_lib_iconv=yes
10209 am_cv_func_iconv=yes
10211 echo "$as_me: failed program was:" >&5
10212 sed 's/^/| /' conftest.$ac_ext >&5
10215 rm -f conftest.err conftest.$ac_objext \
10216 conftest$ac_exeext conftest.$ac_ext
10217 LIBS="$am_save_LIBS"
10221 echo "$as_me:$LINENO: result: $am_cv_func_iconv" >&5
10222 echo "${ECHO_T}$am_cv_func_iconv" >&6
10223 if test "$am_cv_func_iconv" = yes; then
10225 cat >>confdefs.h <<\_ACEOF
10226 #define HAVE_ICONV 1
10230 if test "$am_cv_lib_iconv" = yes; then
10231 echo "$as_me:$LINENO: checking how to link with libiconv" >&5
10232 echo $ECHO_N "checking how to link with libiconv... $ECHO_C" >&6
10233 echo "$as_me:$LINENO: result: $LIBICONV" >&5
10234 echo "${ECHO_T}$LIBICONV" >&6
10236 CPPFLAGS="$am_save_CPPFLAGS"
10243 if test "$am_cv_func_iconv" = yes; then
10244 echo "$as_me:$LINENO: checking for iconv declaration" >&5
10245 echo $ECHO_N "checking for iconv declaration... $ECHO_C" >&6
10246 if test "${am_cv_proto_iconv+set}" = set; then
10247 echo $ECHO_N "(cached) $ECHO_C" >&6
10250 cat >conftest.$ac_ext <<_ACEOF
10253 cat confdefs.h >>conftest.$ac_ext
10254 cat >>conftest.$ac_ext <<_ACEOF
10255 /* end confdefs.h. */
10257 #include <stdlib.h>
10263 #if defined(__STDC__) || defined(__cplusplus)
10264 size_t iconv (iconv_t cd, char * *inbuf, size_t *inbytesleft, char * *outbuf, size_t *outbytesleft);
10277 rm -f conftest.$ac_objext
10278 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
10279 (eval $ac_compile) 2>conftest.er1
10281 grep -v '^ *+' conftest.er1 >conftest.err
10283 cat conftest.err >&5
10284 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10285 (exit $ac_status); } &&
10286 { ac_try='test -z "$ac_c_werror_flag"
10287 || test ! -s conftest.err'
10288 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10289 (eval $ac_try) 2>&5
10291 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10292 (exit $ac_status); }; } &&
10293 { ac_try='test -s conftest.$ac_objext'
10294 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10295 (eval $ac_try) 2>&5
10297 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10298 (exit $ac_status); }; }; then
10299 am_cv_proto_iconv_arg1=""
10301 echo "$as_me: failed program was:" >&5
10302 sed 's/^/| /' conftest.$ac_ext >&5
10304 am_cv_proto_iconv_arg1="const"
10306 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
10307 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);"
10310 am_cv_proto_iconv=`echo "$am_cv_proto_iconv" | tr -s ' ' | sed -e 's/( /(/'`
10311 echo "$as_me:$LINENO: result: ${ac_t:-
10312 }$am_cv_proto_iconv" >&5
10313 echo "${ECHO_T}${ac_t:-
10314 }$am_cv_proto_iconv" >&6
10316 cat >>confdefs.h <<_ACEOF
10317 #define ICONV_CONST $am_cv_proto_iconv_arg1
10323 if test "x${GCC}" = xyes; then
10325 WARNING_CFLAGS='-W -Wall -Wmissing-declarations -Wwrite-strings -Wmissing-prototypes -Wno-long-long'
10328 STRICT_WARNING_CFLAGS='-Wstrict-prototypes -pedantic'
10332 if test "x${ENABLE_WERROR}" = xyes; then
10333 ERROR_CFLAGS='-Werror'
10338 if test "x${COMPILE_XMLJ}" = xyes; then
10342 if test -z "$PKG_CONFIG"; then
10343 # Extract the first word of "pkg-config", so it can be a program name with args.
10344 set dummy pkg-config; ac_word=$2
10345 echo "$as_me:$LINENO: checking for $ac_word" >&5
10346 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
10347 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
10348 echo $ECHO_N "(cached) $ECHO_C" >&6
10350 case $PKG_CONFIG in
10352 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
10355 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10356 for as_dir in $PATH
10359 test -z "$as_dir" && as_dir=.
10360 for ac_exec_ext in '' $ac_executable_extensions; do
10361 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
10362 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
10363 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
10369 test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG="no"
10373 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
10375 if test -n "$PKG_CONFIG"; then
10376 echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
10377 echo "${ECHO_T}$PKG_CONFIG" >&6
10379 echo "$as_me:$LINENO: result: no" >&5
10380 echo "${ECHO_T}no" >&6
10385 if test "$PKG_CONFIG" = "no" ; then
10386 echo "*** The pkg-config script could not be found. Make sure it is"
10387 echo "*** in your path, or set the PKG_CONFIG environment variable"
10388 echo "*** to the full path to pkg-config."
10389 echo "*** Or see http://www.freedesktop.org/software/pkgconfig to get pkg-config."
10391 PKG_CONFIG_MIN_VERSION=0.9.0
10392 if $PKG_CONFIG --atleast-pkgconfig-version $PKG_CONFIG_MIN_VERSION; then
10393 echo "$as_me:$LINENO: checking for libxml-2.0 >= 2.6.8" >&5
10394 echo $ECHO_N "checking for libxml-2.0 >= 2.6.8... $ECHO_C" >&6
10396 if $PKG_CONFIG --exists "libxml-2.0 >= 2.6.8" ; then
10397 echo "$as_me:$LINENO: result: yes" >&5
10398 echo "${ECHO_T}yes" >&6
10401 echo "$as_me:$LINENO: checking XML_CFLAGS" >&5
10402 echo $ECHO_N "checking XML_CFLAGS... $ECHO_C" >&6
10403 XML_CFLAGS=`$PKG_CONFIG --cflags "libxml-2.0 >= 2.6.8"`
10404 echo "$as_me:$LINENO: result: $XML_CFLAGS" >&5
10405 echo "${ECHO_T}$XML_CFLAGS" >&6
10407 echo "$as_me:$LINENO: checking XML_LIBS" >&5
10408 echo $ECHO_N "checking XML_LIBS... $ECHO_C" >&6
10409 XML_LIBS=`$PKG_CONFIG --libs "libxml-2.0 >= 2.6.8"`
10410 echo "$as_me:$LINENO: result: $XML_LIBS" >&5
10411 echo "${ECHO_T}$XML_LIBS" >&6
10415 ## If we have a custom action on failure, don't print errors, but
10416 ## do set a variable so people can do so.
10417 XML_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "libxml-2.0 >= 2.6.8"`
10418 echo $XML_PKG_ERRORS
10424 echo "*** Your version of pkg-config is too old. You need version $PKG_CONFIG_MIN_VERSION or newer."
10425 echo "*** See http://www.freedesktop.org/software/pkgconfig"
10429 if test $succeeded = yes; then
10432 { { 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
10433 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;}
10434 { (exit 1); exit 1; }; }
10440 if test -z "$PKG_CONFIG"; then
10441 # Extract the first word of "pkg-config", so it can be a program name with args.
10442 set dummy pkg-config; ac_word=$2
10443 echo "$as_me:$LINENO: checking for $ac_word" >&5
10444 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
10445 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
10446 echo $ECHO_N "(cached) $ECHO_C" >&6
10448 case $PKG_CONFIG in
10450 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
10453 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10454 for as_dir in $PATH
10457 test -z "$as_dir" && as_dir=.
10458 for ac_exec_ext in '' $ac_executable_extensions; do
10459 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
10460 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
10461 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
10467 test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG="no"
10471 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
10473 if test -n "$PKG_CONFIG"; then
10474 echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
10475 echo "${ECHO_T}$PKG_CONFIG" >&6
10477 echo "$as_me:$LINENO: result: no" >&5
10478 echo "${ECHO_T}no" >&6
10483 if test "$PKG_CONFIG" = "no" ; then
10484 echo "*** The pkg-config script could not be found. Make sure it is"
10485 echo "*** in your path, or set the PKG_CONFIG environment variable"
10486 echo "*** to the full path to pkg-config."
10487 echo "*** Or see http://www.freedesktop.org/software/pkgconfig to get pkg-config."
10489 PKG_CONFIG_MIN_VERSION=0.9.0
10490 if $PKG_CONFIG --atleast-pkgconfig-version $PKG_CONFIG_MIN_VERSION; then
10491 echo "$as_me:$LINENO: checking for libxslt >= 1.1.11" >&5
10492 echo $ECHO_N "checking for libxslt >= 1.1.11... $ECHO_C" >&6
10494 if $PKG_CONFIG --exists "libxslt >= 1.1.11" ; then
10495 echo "$as_me:$LINENO: result: yes" >&5
10496 echo "${ECHO_T}yes" >&6
10499 echo "$as_me:$LINENO: checking XSLT_CFLAGS" >&5
10500 echo $ECHO_N "checking XSLT_CFLAGS... $ECHO_C" >&6
10501 XSLT_CFLAGS=`$PKG_CONFIG --cflags "libxslt >= 1.1.11"`
10502 echo "$as_me:$LINENO: result: $XSLT_CFLAGS" >&5
10503 echo "${ECHO_T}$XSLT_CFLAGS" >&6
10505 echo "$as_me:$LINENO: checking XSLT_LIBS" >&5
10506 echo $ECHO_N "checking XSLT_LIBS... $ECHO_C" >&6
10507 XSLT_LIBS=`$PKG_CONFIG --libs "libxslt >= 1.1.11"`
10508 echo "$as_me:$LINENO: result: $XSLT_LIBS" >&5
10509 echo "${ECHO_T}$XSLT_LIBS" >&6
10513 ## If we have a custom action on failure, don't print errors, but
10514 ## do set a variable so people can do so.
10515 XSLT_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "libxslt >= 1.1.11"`
10516 echo $XSLT_PKG_ERRORS
10522 echo "*** Your version of pkg-config is too old. You need version $PKG_CONFIG_MIN_VERSION or newer."
10523 echo "*** See http://www.freedesktop.org/software/pkgconfig"
10527 if test $succeeded = yes; then
10530 { { 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
10531 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;}
10532 { (exit 1); exit 1; }; }
10541 if test "x${COMPILE_GTK_PEER}" = xyes; then
10542 echo "$as_me:$LINENO: checking for X" >&5
10543 echo $ECHO_N "checking for X... $ECHO_C" >&6
10546 # Check whether --with-x or --without-x was given.
10547 if test "${with_x+set}" = set; then
10551 # $have_x is `yes', `no', `disabled', or empty when we do not yet know.
10552 if test "x$with_x" = xno; then
10553 # The user explicitly disabled X.
10556 if test "x$x_includes" != xNONE && test "x$x_libraries" != xNONE; then
10557 # Both variables are already set.
10560 if test "${ac_cv_have_x+set}" = set; then
10561 echo $ECHO_N "(cached) $ECHO_C" >&6
10563 # One or both of the vars are not set, and there is no cached value.
10564 ac_x_includes=no ac_x_libraries=no
10565 rm -fr conftest.dir
10566 if mkdir conftest.dir; then
10568 # Make sure to not put "make" in the Imakefile rules, since we grep it out.
10569 cat >Imakefile <<'_ACEOF'
10571 @echo 'ac_im_incroot="${INCROOT}"; ac_im_usrlibdir="${USRLIBDIR}"; ac_im_libdir="${LIBDIR}"'
10573 if (xmkmf) >/dev/null 2>/dev/null && test -f Makefile; then
10574 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
10575 eval `${MAKE-make} acfindx 2>/dev/null | grep -v make`
10576 # Open Windows xmkmf reportedly sets LIBDIR instead of USRLIBDIR.
10577 for ac_extension in a so sl; do
10578 if test ! -f $ac_im_usrlibdir/libX11.$ac_extension &&
10579 test -f $ac_im_libdir/libX11.$ac_extension; then
10580 ac_im_usrlibdir=$ac_im_libdir; break
10583 # Screen out bogus values from the imake configuration. They are
10584 # bogus both because they are the default anyway, and because
10585 # using them would break gcc on systems where it needs fixed includes.
10586 case $ac_im_incroot in
10588 *) test -f "$ac_im_incroot/X11/Xos.h" && ac_x_includes=$ac_im_incroot;;
10590 case $ac_im_usrlibdir in
10591 /usr/lib | /lib) ;;
10592 *) test -d "$ac_im_usrlibdir" && ac_x_libraries=$ac_im_usrlibdir ;;
10596 rm -fr conftest.dir
10599 # Standard set of common directories for X headers.
10600 # Check X11 before X11Rn because it is often a symlink to the current release.
10612 /usr/local/X11/include
10613 /usr/local/X11R6/include
10614 /usr/local/X11R5/include
10615 /usr/local/X11R4/include
10617 /usr/local/include/X11
10618 /usr/local/include/X11R6
10619 /usr/local/include/X11R5
10620 /usr/local/include/X11R4
10624 /usr/XFree86/include/X11
10628 /usr/unsupported/include
10629 /usr/athena/include
10630 /usr/local/x11r5/include
10631 /usr/lpp/Xamples/include
10633 /usr/openwin/include
10634 /usr/openwin/share/include'
10636 if test "$ac_x_includes" = no; then
10637 # Guess where to find include files, by looking for Intrinsic.h.
10638 # First, try using that file with no special directory specified.
10639 cat >conftest.$ac_ext <<_ACEOF
10642 cat confdefs.h >>conftest.$ac_ext
10643 cat >>conftest.$ac_ext <<_ACEOF
10644 /* end confdefs.h. */
10645 #include <X11/Intrinsic.h>
10647 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
10648 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
10650 grep -v '^ *+' conftest.er1 >conftest.err
10652 cat conftest.err >&5
10653 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10654 (exit $ac_status); } >/dev/null; then
10655 if test -s conftest.err; then
10656 ac_cpp_err=$ac_c_preproc_warn_flag
10657 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
10664 if test -z "$ac_cpp_err"; then
10665 # We can compile using X headers with no special include directory.
10668 echo "$as_me: failed program was:" >&5
10669 sed 's/^/| /' conftest.$ac_ext >&5
10671 for ac_dir in $ac_x_header_dirs; do
10672 if test -r "$ac_dir/X11/Intrinsic.h"; then
10673 ac_x_includes=$ac_dir
10678 rm -f conftest.err conftest.$ac_ext
10679 fi # $ac_x_includes = no
10681 if test "$ac_x_libraries" = no; then
10682 # Check for the libraries.
10683 # See if we find them without any special options.
10684 # Don't add to $LIBS permanently.
10687 if test x$gcc_no_link = xyes; then
10688 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
10689 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
10690 { (exit 1); exit 1; }; }
10692 cat >conftest.$ac_ext <<_ACEOF
10695 cat confdefs.h >>conftest.$ac_ext
10696 cat >>conftest.$ac_ext <<_ACEOF
10697 /* end confdefs.h. */
10698 #include <X11/Intrinsic.h>
10707 rm -f conftest.$ac_objext conftest$ac_exeext
10708 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10709 (eval $ac_link) 2>conftest.er1
10711 grep -v '^ *+' conftest.er1 >conftest.err
10713 cat conftest.err >&5
10714 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10715 (exit $ac_status); } &&
10716 { ac_try='test -z "$ac_c_werror_flag"
10717 || test ! -s conftest.err'
10718 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10719 (eval $ac_try) 2>&5
10721 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10722 (exit $ac_status); }; } &&
10723 { ac_try='test -s conftest$ac_exeext'
10724 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10725 (eval $ac_try) 2>&5
10727 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10728 (exit $ac_status); }; }; then
10730 # We can link X programs with no special library path.
10733 echo "$as_me: failed program was:" >&5
10734 sed 's/^/| /' conftest.$ac_ext >&5
10737 for ac_dir in `echo "$ac_x_includes $ac_x_header_dirs" | sed s/include/lib/g`
10739 # Don't even attempt the hair of trying to link an X program!
10740 for ac_extension in a so sl; do
10741 if test -r $ac_dir/libXt.$ac_extension; then
10742 ac_x_libraries=$ac_dir
10748 rm -f conftest.err conftest.$ac_objext \
10749 conftest$ac_exeext conftest.$ac_ext
10750 fi # $ac_x_libraries = no
10752 if test "$ac_x_includes" = no || test "$ac_x_libraries" = no; then
10753 # Didn't find X anywhere. Cache the known absence of X.
10754 ac_cv_have_x="have_x=no"
10756 # Record where we found X for the cache.
10757 ac_cv_have_x="have_x=yes \
10758 ac_x_includes=$ac_x_includes ac_x_libraries=$ac_x_libraries"
10763 eval "$ac_cv_have_x"
10766 if test "$have_x" != yes; then
10767 echo "$as_me:$LINENO: result: $have_x" >&5
10768 echo "${ECHO_T}$have_x" >&6
10771 # If each of the values was on the command line, it overrides each guess.
10772 test "x$x_includes" = xNONE && x_includes=$ac_x_includes
10773 test "x$x_libraries" = xNONE && x_libraries=$ac_x_libraries
10774 # Update the cache value to reflect the command line values.
10775 ac_cv_have_x="have_x=yes \
10776 ac_x_includes=$x_includes ac_x_libraries=$x_libraries"
10777 echo "$as_me:$LINENO: result: libraries $x_libraries, headers $x_includes" >&5
10778 echo "${ECHO_T}libraries $x_libraries, headers $x_includes" >&6
10781 if test "$no_x" = yes; then
10782 # Not all programs may use this symbol, but it does not hurt to define it.
10784 cat >>confdefs.h <<\_ACEOF
10785 #define X_DISPLAY_MISSING 1
10788 X_CFLAGS= X_PRE_LIBS= X_LIBS= X_EXTRA_LIBS=
10790 if test -n "$x_includes"; then
10791 X_CFLAGS="$X_CFLAGS -I$x_includes"
10794 # It would also be nice to do this for all -L options, not just this one.
10795 if test -n "$x_libraries"; then
10796 X_LIBS="$X_LIBS -L$x_libraries"
10797 # For Solaris; some versions of Sun CC require a space after -R and
10798 # others require no space. Words are not sufficient . . . .
10799 case `(uname -sr) 2>/dev/null` in
10801 echo "$as_me:$LINENO: checking whether -R must be followed by a space" >&5
10802 echo $ECHO_N "checking whether -R must be followed by a space... $ECHO_C" >&6
10803 ac_xsave_LIBS=$LIBS; LIBS="$LIBS -R$x_libraries"
10804 if test x$gcc_no_link = xyes; then
10805 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
10806 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
10807 { (exit 1); exit 1; }; }
10809 cat >conftest.$ac_ext <<_ACEOF
10812 cat confdefs.h >>conftest.$ac_ext
10813 cat >>conftest.$ac_ext <<_ACEOF
10814 /* end confdefs.h. */
10824 rm -f conftest.$ac_objext conftest$ac_exeext
10825 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10826 (eval $ac_link) 2>conftest.er1
10828 grep -v '^ *+' conftest.er1 >conftest.err
10830 cat conftest.err >&5
10831 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10832 (exit $ac_status); } &&
10833 { ac_try='test -z "$ac_c_werror_flag"
10834 || test ! -s conftest.err'
10835 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10836 (eval $ac_try) 2>&5
10838 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10839 (exit $ac_status); }; } &&
10840 { ac_try='test -s conftest$ac_exeext'
10841 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10842 (eval $ac_try) 2>&5
10844 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10845 (exit $ac_status); }; }; then
10848 echo "$as_me: failed program was:" >&5
10849 sed 's/^/| /' conftest.$ac_ext >&5
10853 rm -f conftest.err conftest.$ac_objext \
10854 conftest$ac_exeext conftest.$ac_ext
10855 if test $ac_R_nospace = yes; then
10856 echo "$as_me:$LINENO: result: no" >&5
10857 echo "${ECHO_T}no" >&6
10858 X_LIBS="$X_LIBS -R$x_libraries"
10860 LIBS="$ac_xsave_LIBS -R $x_libraries"
10861 if test x$gcc_no_link = xyes; then
10862 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
10863 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
10864 { (exit 1); exit 1; }; }
10866 cat >conftest.$ac_ext <<_ACEOF
10869 cat confdefs.h >>conftest.$ac_ext
10870 cat >>conftest.$ac_ext <<_ACEOF
10871 /* end confdefs.h. */
10881 rm -f conftest.$ac_objext conftest$ac_exeext
10882 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10883 (eval $ac_link) 2>conftest.er1
10885 grep -v '^ *+' conftest.er1 >conftest.err
10887 cat conftest.err >&5
10888 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10889 (exit $ac_status); } &&
10890 { ac_try='test -z "$ac_c_werror_flag"
10891 || test ! -s conftest.err'
10892 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10893 (eval $ac_try) 2>&5
10895 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10896 (exit $ac_status); }; } &&
10897 { ac_try='test -s conftest$ac_exeext'
10898 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10899 (eval $ac_try) 2>&5
10901 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10902 (exit $ac_status); }; }; then
10905 echo "$as_me: failed program was:" >&5
10906 sed 's/^/| /' conftest.$ac_ext >&5
10910 rm -f conftest.err conftest.$ac_objext \
10911 conftest$ac_exeext conftest.$ac_ext
10912 if test $ac_R_space = yes; then
10913 echo "$as_me:$LINENO: result: yes" >&5
10914 echo "${ECHO_T}yes" >&6
10915 X_LIBS="$X_LIBS -R $x_libraries"
10917 echo "$as_me:$LINENO: result: neither works" >&5
10918 echo "${ECHO_T}neither works" >&6
10921 LIBS=$ac_xsave_LIBS
10925 # Check for system-dependent libraries X programs must link with.
10926 # Do this before checking for the system-independent R6 libraries
10927 # (-lICE), since we may need -lsocket or whatever for X linking.
10929 if test "$ISC" = yes; then
10930 X_EXTRA_LIBS="$X_EXTRA_LIBS -lnsl_s -linet"
10932 # Martyn Johnson says this is needed for Ultrix, if the X
10933 # libraries were built with DECnet support. And Karl Berry says
10934 # the Alpha needs dnet_stub (dnet does not exist).
10935 ac_xsave_LIBS="$LIBS"; LIBS="$LIBS $X_LIBS -lX11"
10936 if test x$gcc_no_link = xyes; then
10937 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
10938 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
10939 { (exit 1); exit 1; }; }
10941 cat >conftest.$ac_ext <<_ACEOF
10944 cat confdefs.h >>conftest.$ac_ext
10945 cat >>conftest.$ac_ext <<_ACEOF
10946 /* end confdefs.h. */
10948 /* Override any gcc2 internal prototype to avoid an error. */
10952 /* We use char because int might match the return type of a gcc2
10953 builtin and then its argument prototype would still apply. */
10954 char XOpenDisplay ();
10963 rm -f conftest.$ac_objext conftest$ac_exeext
10964 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10965 (eval $ac_link) 2>conftest.er1
10967 grep -v '^ *+' conftest.er1 >conftest.err
10969 cat conftest.err >&5
10970 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10971 (exit $ac_status); } &&
10972 { ac_try='test -z "$ac_c_werror_flag"
10973 || test ! -s conftest.err'
10974 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10975 (eval $ac_try) 2>&5
10977 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10978 (exit $ac_status); }; } &&
10979 { ac_try='test -s conftest$ac_exeext'
10980 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10981 (eval $ac_try) 2>&5
10983 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10984 (exit $ac_status); }; }; then
10987 echo "$as_me: failed program was:" >&5
10988 sed 's/^/| /' conftest.$ac_ext >&5
10990 echo "$as_me:$LINENO: checking for dnet_ntoa in -ldnet" >&5
10991 echo $ECHO_N "checking for dnet_ntoa in -ldnet... $ECHO_C" >&6
10992 if test "${ac_cv_lib_dnet_dnet_ntoa+set}" = set; then
10993 echo $ECHO_N "(cached) $ECHO_C" >&6
10995 ac_check_lib_save_LIBS=$LIBS
10996 LIBS="-ldnet $LIBS"
10997 if test x$gcc_no_link = xyes; then
10998 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
10999 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
11000 { (exit 1); exit 1; }; }
11002 cat >conftest.$ac_ext <<_ACEOF
11005 cat confdefs.h >>conftest.$ac_ext
11006 cat >>conftest.$ac_ext <<_ACEOF
11007 /* end confdefs.h. */
11009 /* Override any gcc2 internal prototype to avoid an error. */
11013 /* We use char because int might match the return type of a gcc2
11014 builtin and then its argument prototype would still apply. */
11024 rm -f conftest.$ac_objext conftest$ac_exeext
11025 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
11026 (eval $ac_link) 2>conftest.er1
11028 grep -v '^ *+' conftest.er1 >conftest.err
11030 cat conftest.err >&5
11031 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11032 (exit $ac_status); } &&
11033 { ac_try='test -z "$ac_c_werror_flag"
11034 || test ! -s conftest.err'
11035 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11036 (eval $ac_try) 2>&5
11038 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11039 (exit $ac_status); }; } &&
11040 { ac_try='test -s conftest$ac_exeext'
11041 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11042 (eval $ac_try) 2>&5
11044 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11045 (exit $ac_status); }; }; then
11046 ac_cv_lib_dnet_dnet_ntoa=yes
11048 echo "$as_me: failed program was:" >&5
11049 sed 's/^/| /' conftest.$ac_ext >&5
11051 ac_cv_lib_dnet_dnet_ntoa=no
11053 rm -f conftest.err conftest.$ac_objext \
11054 conftest$ac_exeext conftest.$ac_ext
11055 LIBS=$ac_check_lib_save_LIBS
11057 echo "$as_me:$LINENO: result: $ac_cv_lib_dnet_dnet_ntoa" >&5
11058 echo "${ECHO_T}$ac_cv_lib_dnet_dnet_ntoa" >&6
11059 if test $ac_cv_lib_dnet_dnet_ntoa = yes; then
11060 X_EXTRA_LIBS="$X_EXTRA_LIBS -ldnet"
11063 if test $ac_cv_lib_dnet_dnet_ntoa = no; then
11064 echo "$as_me:$LINENO: checking for dnet_ntoa in -ldnet_stub" >&5
11065 echo $ECHO_N "checking for dnet_ntoa in -ldnet_stub... $ECHO_C" >&6
11066 if test "${ac_cv_lib_dnet_stub_dnet_ntoa+set}" = set; then
11067 echo $ECHO_N "(cached) $ECHO_C" >&6
11069 ac_check_lib_save_LIBS=$LIBS
11070 LIBS="-ldnet_stub $LIBS"
11071 if test x$gcc_no_link = xyes; then
11072 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
11073 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
11074 { (exit 1); exit 1; }; }
11076 cat >conftest.$ac_ext <<_ACEOF
11079 cat confdefs.h >>conftest.$ac_ext
11080 cat >>conftest.$ac_ext <<_ACEOF
11081 /* end confdefs.h. */
11083 /* Override any gcc2 internal prototype to avoid an error. */
11087 /* We use char because int might match the return type of a gcc2
11088 builtin and then its argument prototype would still apply. */
11098 rm -f conftest.$ac_objext conftest$ac_exeext
11099 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
11100 (eval $ac_link) 2>conftest.er1
11102 grep -v '^ *+' conftest.er1 >conftest.err
11104 cat conftest.err >&5
11105 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11106 (exit $ac_status); } &&
11107 { ac_try='test -z "$ac_c_werror_flag"
11108 || test ! -s conftest.err'
11109 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11110 (eval $ac_try) 2>&5
11112 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11113 (exit $ac_status); }; } &&
11114 { ac_try='test -s conftest$ac_exeext'
11115 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11116 (eval $ac_try) 2>&5
11118 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11119 (exit $ac_status); }; }; then
11120 ac_cv_lib_dnet_stub_dnet_ntoa=yes
11122 echo "$as_me: failed program was:" >&5
11123 sed 's/^/| /' conftest.$ac_ext >&5
11125 ac_cv_lib_dnet_stub_dnet_ntoa=no
11127 rm -f conftest.err conftest.$ac_objext \
11128 conftest$ac_exeext conftest.$ac_ext
11129 LIBS=$ac_check_lib_save_LIBS
11131 echo "$as_me:$LINENO: result: $ac_cv_lib_dnet_stub_dnet_ntoa" >&5
11132 echo "${ECHO_T}$ac_cv_lib_dnet_stub_dnet_ntoa" >&6
11133 if test $ac_cv_lib_dnet_stub_dnet_ntoa = yes; then
11134 X_EXTRA_LIBS="$X_EXTRA_LIBS -ldnet_stub"
11139 rm -f conftest.err conftest.$ac_objext \
11140 conftest$ac_exeext conftest.$ac_ext
11141 LIBS="$ac_xsave_LIBS"
11143 # msh@cis.ufl.edu says -lnsl (and -lsocket) are needed for his 386/AT,
11144 # to get the SysV transport functions.
11145 # Chad R. Larson says the Pyramis MIS-ES running DC/OSx (SVR4)
11147 # The nsl library prevents programs from opening the X display
11148 # on Irix 5.2, according to T.E. Dickey.
11149 # The functions gethostbyname, getservbyname, and inet_addr are
11150 # in -lbsd on LynxOS 3.0.1/i386, according to Lars Hecking.
11151 echo "$as_me:$LINENO: checking for gethostbyname" >&5
11152 echo $ECHO_N "checking for gethostbyname... $ECHO_C" >&6
11153 if test "${ac_cv_func_gethostbyname+set}" = set; then
11154 echo $ECHO_N "(cached) $ECHO_C" >&6
11156 if test x$gcc_no_link = xyes; then
11157 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
11158 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
11159 { (exit 1); exit 1; }; }
11161 cat >conftest.$ac_ext <<_ACEOF
11164 cat confdefs.h >>conftest.$ac_ext
11165 cat >>conftest.$ac_ext <<_ACEOF
11166 /* end confdefs.h. */
11167 /* Define gethostbyname to an innocuous variant, in case <limits.h> declares gethostbyname.
11168 For example, HP-UX 11i <limits.h> declares gettimeofday. */
11169 #define gethostbyname innocuous_gethostbyname
11171 /* System header to define __stub macros and hopefully few prototypes,
11172 which can conflict with char gethostbyname (); below.
11173 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
11174 <limits.h> exists even on freestanding compilers. */
11177 # include <limits.h>
11179 # include <assert.h>
11182 #undef gethostbyname
11184 /* Override any gcc2 internal prototype to avoid an error. */
11189 /* We use char because int might match the return type of a gcc2
11190 builtin and then its argument prototype would still apply. */
11191 char gethostbyname ();
11192 /* The GNU C library defines this for functions which it implements
11193 to always fail with ENOSYS. Some functions are actually named
11194 something starting with __ and the normal name is an alias. */
11195 #if defined (__stub_gethostbyname) || defined (__stub___gethostbyname)
11198 char (*f) () = gethostbyname;
11207 return f != gethostbyname;
11212 rm -f conftest.$ac_objext conftest$ac_exeext
11213 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
11214 (eval $ac_link) 2>conftest.er1
11216 grep -v '^ *+' conftest.er1 >conftest.err
11218 cat conftest.err >&5
11219 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11220 (exit $ac_status); } &&
11221 { ac_try='test -z "$ac_c_werror_flag"
11222 || test ! -s conftest.err'
11223 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11224 (eval $ac_try) 2>&5
11226 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11227 (exit $ac_status); }; } &&
11228 { ac_try='test -s conftest$ac_exeext'
11229 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11230 (eval $ac_try) 2>&5
11232 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11233 (exit $ac_status); }; }; then
11234 ac_cv_func_gethostbyname=yes
11236 echo "$as_me: failed program was:" >&5
11237 sed 's/^/| /' conftest.$ac_ext >&5
11239 ac_cv_func_gethostbyname=no
11241 rm -f conftest.err conftest.$ac_objext \
11242 conftest$ac_exeext conftest.$ac_ext
11244 echo "$as_me:$LINENO: result: $ac_cv_func_gethostbyname" >&5
11245 echo "${ECHO_T}$ac_cv_func_gethostbyname" >&6
11247 if test $ac_cv_func_gethostbyname = no; then
11248 echo "$as_me:$LINENO: checking for gethostbyname in -lnsl" >&5
11249 echo $ECHO_N "checking for gethostbyname in -lnsl... $ECHO_C" >&6
11250 if test "${ac_cv_lib_nsl_gethostbyname+set}" = set; then
11251 echo $ECHO_N "(cached) $ECHO_C" >&6
11253 ac_check_lib_save_LIBS=$LIBS
11255 if test x$gcc_no_link = xyes; then
11256 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
11257 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
11258 { (exit 1); exit 1; }; }
11260 cat >conftest.$ac_ext <<_ACEOF
11263 cat confdefs.h >>conftest.$ac_ext
11264 cat >>conftest.$ac_ext <<_ACEOF
11265 /* end confdefs.h. */
11267 /* Override any gcc2 internal prototype to avoid an error. */
11271 /* We use char because int might match the return type of a gcc2
11272 builtin and then its argument prototype would still apply. */
11273 char gethostbyname ();
11282 rm -f conftest.$ac_objext conftest$ac_exeext
11283 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
11284 (eval $ac_link) 2>conftest.er1
11286 grep -v '^ *+' conftest.er1 >conftest.err
11288 cat conftest.err >&5
11289 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11290 (exit $ac_status); } &&
11291 { ac_try='test -z "$ac_c_werror_flag"
11292 || test ! -s conftest.err'
11293 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11294 (eval $ac_try) 2>&5
11296 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11297 (exit $ac_status); }; } &&
11298 { ac_try='test -s conftest$ac_exeext'
11299 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11300 (eval $ac_try) 2>&5
11302 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11303 (exit $ac_status); }; }; then
11304 ac_cv_lib_nsl_gethostbyname=yes
11306 echo "$as_me: failed program was:" >&5
11307 sed 's/^/| /' conftest.$ac_ext >&5
11309 ac_cv_lib_nsl_gethostbyname=no
11311 rm -f conftest.err conftest.$ac_objext \
11312 conftest$ac_exeext conftest.$ac_ext
11313 LIBS=$ac_check_lib_save_LIBS
11315 echo "$as_me:$LINENO: result: $ac_cv_lib_nsl_gethostbyname" >&5
11316 echo "${ECHO_T}$ac_cv_lib_nsl_gethostbyname" >&6
11317 if test $ac_cv_lib_nsl_gethostbyname = yes; then
11318 X_EXTRA_LIBS="$X_EXTRA_LIBS -lnsl"
11321 if test $ac_cv_lib_nsl_gethostbyname = no; then
11322 echo "$as_me:$LINENO: checking for gethostbyname in -lbsd" >&5
11323 echo $ECHO_N "checking for gethostbyname in -lbsd... $ECHO_C" >&6
11324 if test "${ac_cv_lib_bsd_gethostbyname+set}" = set; then
11325 echo $ECHO_N "(cached) $ECHO_C" >&6
11327 ac_check_lib_save_LIBS=$LIBS
11329 if test x$gcc_no_link = xyes; then
11330 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
11331 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
11332 { (exit 1); exit 1; }; }
11334 cat >conftest.$ac_ext <<_ACEOF
11337 cat confdefs.h >>conftest.$ac_ext
11338 cat >>conftest.$ac_ext <<_ACEOF
11339 /* end confdefs.h. */
11341 /* Override any gcc2 internal prototype to avoid an error. */
11345 /* We use char because int might match the return type of a gcc2
11346 builtin and then its argument prototype would still apply. */
11347 char gethostbyname ();
11356 rm -f conftest.$ac_objext conftest$ac_exeext
11357 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
11358 (eval $ac_link) 2>conftest.er1
11360 grep -v '^ *+' conftest.er1 >conftest.err
11362 cat conftest.err >&5
11363 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11364 (exit $ac_status); } &&
11365 { ac_try='test -z "$ac_c_werror_flag"
11366 || test ! -s conftest.err'
11367 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11368 (eval $ac_try) 2>&5
11370 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11371 (exit $ac_status); }; } &&
11372 { ac_try='test -s conftest$ac_exeext'
11373 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11374 (eval $ac_try) 2>&5
11376 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11377 (exit $ac_status); }; }; then
11378 ac_cv_lib_bsd_gethostbyname=yes
11380 echo "$as_me: failed program was:" >&5
11381 sed 's/^/| /' conftest.$ac_ext >&5
11383 ac_cv_lib_bsd_gethostbyname=no
11385 rm -f conftest.err conftest.$ac_objext \
11386 conftest$ac_exeext conftest.$ac_ext
11387 LIBS=$ac_check_lib_save_LIBS
11389 echo "$as_me:$LINENO: result: $ac_cv_lib_bsd_gethostbyname" >&5
11390 echo "${ECHO_T}$ac_cv_lib_bsd_gethostbyname" >&6
11391 if test $ac_cv_lib_bsd_gethostbyname = yes; then
11392 X_EXTRA_LIBS="$X_EXTRA_LIBS -lbsd"
11398 # lieder@skyler.mavd.honeywell.com says without -lsocket,
11399 # socket/setsockopt and other routines are undefined under SCO ODT
11400 # 2.0. But -lsocket is broken on IRIX 5.2 (and is not necessary
11401 # on later versions), says Simon Leinen: it contains gethostby*
11402 # variants that don't use the name server (or something). -lsocket
11403 # must be given before -lnsl if both are needed. We assume that
11404 # if connect needs -lnsl, so does gethostbyname.
11405 echo "$as_me:$LINENO: checking for connect" >&5
11406 echo $ECHO_N "checking for connect... $ECHO_C" >&6
11407 if test "${ac_cv_func_connect+set}" = set; then
11408 echo $ECHO_N "(cached) $ECHO_C" >&6
11410 if test x$gcc_no_link = xyes; then
11411 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
11412 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
11413 { (exit 1); exit 1; }; }
11415 cat >conftest.$ac_ext <<_ACEOF
11418 cat confdefs.h >>conftest.$ac_ext
11419 cat >>conftest.$ac_ext <<_ACEOF
11420 /* end confdefs.h. */
11421 /* Define connect to an innocuous variant, in case <limits.h> declares connect.
11422 For example, HP-UX 11i <limits.h> declares gettimeofday. */
11423 #define connect innocuous_connect
11425 /* System header to define __stub macros and hopefully few prototypes,
11426 which can conflict with char connect (); below.
11427 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
11428 <limits.h> exists even on freestanding compilers. */
11431 # include <limits.h>
11433 # include <assert.h>
11438 /* Override any gcc2 internal prototype to avoid an error. */
11443 /* We use char because int might match the return type of a gcc2
11444 builtin and then its argument prototype would still apply. */
11446 /* The GNU C library defines this for functions which it implements
11447 to always fail with ENOSYS. Some functions are actually named
11448 something starting with __ and the normal name is an alias. */
11449 #if defined (__stub_connect) || defined (__stub___connect)
11452 char (*f) () = connect;
11461 return f != connect;
11466 rm -f conftest.$ac_objext conftest$ac_exeext
11467 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
11468 (eval $ac_link) 2>conftest.er1
11470 grep -v '^ *+' conftest.er1 >conftest.err
11472 cat conftest.err >&5
11473 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11474 (exit $ac_status); } &&
11475 { ac_try='test -z "$ac_c_werror_flag"
11476 || test ! -s conftest.err'
11477 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11478 (eval $ac_try) 2>&5
11480 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11481 (exit $ac_status); }; } &&
11482 { ac_try='test -s conftest$ac_exeext'
11483 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11484 (eval $ac_try) 2>&5
11486 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11487 (exit $ac_status); }; }; then
11488 ac_cv_func_connect=yes
11490 echo "$as_me: failed program was:" >&5
11491 sed 's/^/| /' conftest.$ac_ext >&5
11493 ac_cv_func_connect=no
11495 rm -f conftest.err conftest.$ac_objext \
11496 conftest$ac_exeext conftest.$ac_ext
11498 echo "$as_me:$LINENO: result: $ac_cv_func_connect" >&5
11499 echo "${ECHO_T}$ac_cv_func_connect" >&6
11501 if test $ac_cv_func_connect = no; then
11502 echo "$as_me:$LINENO: checking for connect in -lsocket" >&5
11503 echo $ECHO_N "checking for connect in -lsocket... $ECHO_C" >&6
11504 if test "${ac_cv_lib_socket_connect+set}" = set; then
11505 echo $ECHO_N "(cached) $ECHO_C" >&6
11507 ac_check_lib_save_LIBS=$LIBS
11508 LIBS="-lsocket $X_EXTRA_LIBS $LIBS"
11509 if test x$gcc_no_link = xyes; then
11510 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
11511 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
11512 { (exit 1); exit 1; }; }
11514 cat >conftest.$ac_ext <<_ACEOF
11517 cat confdefs.h >>conftest.$ac_ext
11518 cat >>conftest.$ac_ext <<_ACEOF
11519 /* end confdefs.h. */
11521 /* Override any gcc2 internal prototype to avoid an error. */
11525 /* We use char because int might match the return type of a gcc2
11526 builtin and then its argument prototype would still apply. */
11536 rm -f conftest.$ac_objext conftest$ac_exeext
11537 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
11538 (eval $ac_link) 2>conftest.er1
11540 grep -v '^ *+' conftest.er1 >conftest.err
11542 cat conftest.err >&5
11543 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11544 (exit $ac_status); } &&
11545 { ac_try='test -z "$ac_c_werror_flag"
11546 || test ! -s conftest.err'
11547 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11548 (eval $ac_try) 2>&5
11550 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11551 (exit $ac_status); }; } &&
11552 { ac_try='test -s conftest$ac_exeext'
11553 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11554 (eval $ac_try) 2>&5
11556 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11557 (exit $ac_status); }; }; then
11558 ac_cv_lib_socket_connect=yes
11560 echo "$as_me: failed program was:" >&5
11561 sed 's/^/| /' conftest.$ac_ext >&5
11563 ac_cv_lib_socket_connect=no
11565 rm -f conftest.err conftest.$ac_objext \
11566 conftest$ac_exeext conftest.$ac_ext
11567 LIBS=$ac_check_lib_save_LIBS
11569 echo "$as_me:$LINENO: result: $ac_cv_lib_socket_connect" >&5
11570 echo "${ECHO_T}$ac_cv_lib_socket_connect" >&6
11571 if test $ac_cv_lib_socket_connect = yes; then
11572 X_EXTRA_LIBS="-lsocket $X_EXTRA_LIBS"
11577 # Guillermo Gomez says -lposix is necessary on A/UX.
11578 echo "$as_me:$LINENO: checking for remove" >&5
11579 echo $ECHO_N "checking for remove... $ECHO_C" >&6
11580 if test "${ac_cv_func_remove+set}" = set; then
11581 echo $ECHO_N "(cached) $ECHO_C" >&6
11583 if test x$gcc_no_link = xyes; then
11584 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
11585 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
11586 { (exit 1); exit 1; }; }
11588 cat >conftest.$ac_ext <<_ACEOF
11591 cat confdefs.h >>conftest.$ac_ext
11592 cat >>conftest.$ac_ext <<_ACEOF
11593 /* end confdefs.h. */
11594 /* Define remove to an innocuous variant, in case <limits.h> declares remove.
11595 For example, HP-UX 11i <limits.h> declares gettimeofday. */
11596 #define remove innocuous_remove
11598 /* System header to define __stub macros and hopefully few prototypes,
11599 which can conflict with char remove (); below.
11600 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
11601 <limits.h> exists even on freestanding compilers. */
11604 # include <limits.h>
11606 # include <assert.h>
11611 /* Override any gcc2 internal prototype to avoid an error. */
11616 /* We use char because int might match the return type of a gcc2
11617 builtin and then its argument prototype would still apply. */
11619 /* The GNU C library defines this for functions which it implements
11620 to always fail with ENOSYS. Some functions are actually named
11621 something starting with __ and the normal name is an alias. */
11622 #if defined (__stub_remove) || defined (__stub___remove)
11625 char (*f) () = remove;
11634 return f != remove;
11639 rm -f conftest.$ac_objext conftest$ac_exeext
11640 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
11641 (eval $ac_link) 2>conftest.er1
11643 grep -v '^ *+' conftest.er1 >conftest.err
11645 cat conftest.err >&5
11646 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11647 (exit $ac_status); } &&
11648 { ac_try='test -z "$ac_c_werror_flag"
11649 || test ! -s conftest.err'
11650 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11651 (eval $ac_try) 2>&5
11653 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11654 (exit $ac_status); }; } &&
11655 { ac_try='test -s conftest$ac_exeext'
11656 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11657 (eval $ac_try) 2>&5
11659 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11660 (exit $ac_status); }; }; then
11661 ac_cv_func_remove=yes
11663 echo "$as_me: failed program was:" >&5
11664 sed 's/^/| /' conftest.$ac_ext >&5
11666 ac_cv_func_remove=no
11668 rm -f conftest.err conftest.$ac_objext \
11669 conftest$ac_exeext conftest.$ac_ext
11671 echo "$as_me:$LINENO: result: $ac_cv_func_remove" >&5
11672 echo "${ECHO_T}$ac_cv_func_remove" >&6
11674 if test $ac_cv_func_remove = no; then
11675 echo "$as_me:$LINENO: checking for remove in -lposix" >&5
11676 echo $ECHO_N "checking for remove in -lposix... $ECHO_C" >&6
11677 if test "${ac_cv_lib_posix_remove+set}" = set; then
11678 echo $ECHO_N "(cached) $ECHO_C" >&6
11680 ac_check_lib_save_LIBS=$LIBS
11681 LIBS="-lposix $LIBS"
11682 if test x$gcc_no_link = xyes; then
11683 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
11684 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
11685 { (exit 1); exit 1; }; }
11687 cat >conftest.$ac_ext <<_ACEOF
11690 cat confdefs.h >>conftest.$ac_ext
11691 cat >>conftest.$ac_ext <<_ACEOF
11692 /* end confdefs.h. */
11694 /* Override any gcc2 internal prototype to avoid an error. */
11698 /* We use char because int might match the return type of a gcc2
11699 builtin and then its argument prototype would still apply. */
11709 rm -f conftest.$ac_objext conftest$ac_exeext
11710 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
11711 (eval $ac_link) 2>conftest.er1
11713 grep -v '^ *+' conftest.er1 >conftest.err
11715 cat conftest.err >&5
11716 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11717 (exit $ac_status); } &&
11718 { ac_try='test -z "$ac_c_werror_flag"
11719 || test ! -s conftest.err'
11720 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11721 (eval $ac_try) 2>&5
11723 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11724 (exit $ac_status); }; } &&
11725 { ac_try='test -s conftest$ac_exeext'
11726 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11727 (eval $ac_try) 2>&5
11729 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11730 (exit $ac_status); }; }; then
11731 ac_cv_lib_posix_remove=yes
11733 echo "$as_me: failed program was:" >&5
11734 sed 's/^/| /' conftest.$ac_ext >&5
11736 ac_cv_lib_posix_remove=no
11738 rm -f conftest.err conftest.$ac_objext \
11739 conftest$ac_exeext conftest.$ac_ext
11740 LIBS=$ac_check_lib_save_LIBS
11742 echo "$as_me:$LINENO: result: $ac_cv_lib_posix_remove" >&5
11743 echo "${ECHO_T}$ac_cv_lib_posix_remove" >&6
11744 if test $ac_cv_lib_posix_remove = yes; then
11745 X_EXTRA_LIBS="$X_EXTRA_LIBS -lposix"
11750 # BSDI BSD/OS 2.1 needs -lipc for XOpenDisplay.
11751 echo "$as_me:$LINENO: checking for shmat" >&5
11752 echo $ECHO_N "checking for shmat... $ECHO_C" >&6
11753 if test "${ac_cv_func_shmat+set}" = set; then
11754 echo $ECHO_N "(cached) $ECHO_C" >&6
11756 if test x$gcc_no_link = xyes; then
11757 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
11758 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
11759 { (exit 1); exit 1; }; }
11761 cat >conftest.$ac_ext <<_ACEOF
11764 cat confdefs.h >>conftest.$ac_ext
11765 cat >>conftest.$ac_ext <<_ACEOF
11766 /* end confdefs.h. */
11767 /* Define shmat to an innocuous variant, in case <limits.h> declares shmat.
11768 For example, HP-UX 11i <limits.h> declares gettimeofday. */
11769 #define shmat innocuous_shmat
11771 /* System header to define __stub macros and hopefully few prototypes,
11772 which can conflict with char shmat (); below.
11773 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
11774 <limits.h> exists even on freestanding compilers. */
11777 # include <limits.h>
11779 # include <assert.h>
11784 /* Override any gcc2 internal prototype to avoid an error. */
11789 /* We use char because int might match the return type of a gcc2
11790 builtin and then its argument prototype would still apply. */
11792 /* The GNU C library defines this for functions which it implements
11793 to always fail with ENOSYS. Some functions are actually named
11794 something starting with __ and the normal name is an alias. */
11795 #if defined (__stub_shmat) || defined (__stub___shmat)
11798 char (*f) () = shmat;
11812 rm -f conftest.$ac_objext conftest$ac_exeext
11813 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
11814 (eval $ac_link) 2>conftest.er1
11816 grep -v '^ *+' conftest.er1 >conftest.err
11818 cat conftest.err >&5
11819 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11820 (exit $ac_status); } &&
11821 { ac_try='test -z "$ac_c_werror_flag"
11822 || test ! -s conftest.err'
11823 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11824 (eval $ac_try) 2>&5
11826 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11827 (exit $ac_status); }; } &&
11828 { ac_try='test -s conftest$ac_exeext'
11829 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11830 (eval $ac_try) 2>&5
11832 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11833 (exit $ac_status); }; }; then
11834 ac_cv_func_shmat=yes
11836 echo "$as_me: failed program was:" >&5
11837 sed 's/^/| /' conftest.$ac_ext >&5
11839 ac_cv_func_shmat=no
11841 rm -f conftest.err conftest.$ac_objext \
11842 conftest$ac_exeext conftest.$ac_ext
11844 echo "$as_me:$LINENO: result: $ac_cv_func_shmat" >&5
11845 echo "${ECHO_T}$ac_cv_func_shmat" >&6
11847 if test $ac_cv_func_shmat = no; then
11848 echo "$as_me:$LINENO: checking for shmat in -lipc" >&5
11849 echo $ECHO_N "checking for shmat in -lipc... $ECHO_C" >&6
11850 if test "${ac_cv_lib_ipc_shmat+set}" = set; then
11851 echo $ECHO_N "(cached) $ECHO_C" >&6
11853 ac_check_lib_save_LIBS=$LIBS
11855 if test x$gcc_no_link = xyes; then
11856 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
11857 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
11858 { (exit 1); exit 1; }; }
11860 cat >conftest.$ac_ext <<_ACEOF
11863 cat confdefs.h >>conftest.$ac_ext
11864 cat >>conftest.$ac_ext <<_ACEOF
11865 /* end confdefs.h. */
11867 /* Override any gcc2 internal prototype to avoid an error. */
11871 /* We use char because int might match the return type of a gcc2
11872 builtin and then its argument prototype would still apply. */
11882 rm -f conftest.$ac_objext conftest$ac_exeext
11883 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
11884 (eval $ac_link) 2>conftest.er1
11886 grep -v '^ *+' conftest.er1 >conftest.err
11888 cat conftest.err >&5
11889 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11890 (exit $ac_status); } &&
11891 { ac_try='test -z "$ac_c_werror_flag"
11892 || test ! -s conftest.err'
11893 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11894 (eval $ac_try) 2>&5
11896 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11897 (exit $ac_status); }; } &&
11898 { ac_try='test -s conftest$ac_exeext'
11899 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11900 (eval $ac_try) 2>&5
11902 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11903 (exit $ac_status); }; }; then
11904 ac_cv_lib_ipc_shmat=yes
11906 echo "$as_me: failed program was:" >&5
11907 sed 's/^/| /' conftest.$ac_ext >&5
11909 ac_cv_lib_ipc_shmat=no
11911 rm -f conftest.err conftest.$ac_objext \
11912 conftest$ac_exeext conftest.$ac_ext
11913 LIBS=$ac_check_lib_save_LIBS
11915 echo "$as_me:$LINENO: result: $ac_cv_lib_ipc_shmat" >&5
11916 echo "${ECHO_T}$ac_cv_lib_ipc_shmat" >&6
11917 if test $ac_cv_lib_ipc_shmat = yes; then
11918 X_EXTRA_LIBS="$X_EXTRA_LIBS -lipc"
11924 # Check for libraries that X11R6 Xt/Xaw programs need.
11925 ac_save_LDFLAGS=$LDFLAGS
11926 test -n "$x_libraries" && LDFLAGS="$LDFLAGS -L$x_libraries"
11927 # SM needs ICE to (dynamically) link under SunOS 4.x (so we have to
11928 # check for ICE first), but we must link in the order -lSM -lICE or
11929 # we get undefined symbols. So assume we have SM if we have ICE.
11930 # These have to be linked with before -lX11, unlike the other
11931 # libraries we check for below, so use a different variable.
11932 # John Interrante, Karl Berry
11933 echo "$as_me:$LINENO: checking for IceConnectionNumber in -lICE" >&5
11934 echo $ECHO_N "checking for IceConnectionNumber in -lICE... $ECHO_C" >&6
11935 if test "${ac_cv_lib_ICE_IceConnectionNumber+set}" = set; then
11936 echo $ECHO_N "(cached) $ECHO_C" >&6
11938 ac_check_lib_save_LIBS=$LIBS
11939 LIBS="-lICE $X_EXTRA_LIBS $LIBS"
11940 if test x$gcc_no_link = xyes; then
11941 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
11942 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
11943 { (exit 1); exit 1; }; }
11945 cat >conftest.$ac_ext <<_ACEOF
11948 cat confdefs.h >>conftest.$ac_ext
11949 cat >>conftest.$ac_ext <<_ACEOF
11950 /* end confdefs.h. */
11952 /* Override any gcc2 internal prototype to avoid an error. */
11956 /* We use char because int might match the return type of a gcc2
11957 builtin and then its argument prototype would still apply. */
11958 char IceConnectionNumber ();
11962 IceConnectionNumber ();
11967 rm -f conftest.$ac_objext conftest$ac_exeext
11968 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
11969 (eval $ac_link) 2>conftest.er1
11971 grep -v '^ *+' conftest.er1 >conftest.err
11973 cat conftest.err >&5
11974 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11975 (exit $ac_status); } &&
11976 { ac_try='test -z "$ac_c_werror_flag"
11977 || test ! -s conftest.err'
11978 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11979 (eval $ac_try) 2>&5
11981 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11982 (exit $ac_status); }; } &&
11983 { ac_try='test -s conftest$ac_exeext'
11984 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11985 (eval $ac_try) 2>&5
11987 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11988 (exit $ac_status); }; }; then
11989 ac_cv_lib_ICE_IceConnectionNumber=yes
11991 echo "$as_me: failed program was:" >&5
11992 sed 's/^/| /' conftest.$ac_ext >&5
11994 ac_cv_lib_ICE_IceConnectionNumber=no
11996 rm -f conftest.err conftest.$ac_objext \
11997 conftest$ac_exeext conftest.$ac_ext
11998 LIBS=$ac_check_lib_save_LIBS
12000 echo "$as_me:$LINENO: result: $ac_cv_lib_ICE_IceConnectionNumber" >&5
12001 echo "${ECHO_T}$ac_cv_lib_ICE_IceConnectionNumber" >&6
12002 if test $ac_cv_lib_ICE_IceConnectionNumber = yes; then
12003 X_PRE_LIBS="$X_PRE_LIBS -lSM -lICE"
12006 LDFLAGS=$ac_save_LDFLAGS
12010 if test "$no_x" = yes; then
12011 { { echo "$as_me:$LINENO: error: GTK+ peers requested but no X library available" >&5
12012 echo "$as_me: error: GTK+ peers requested but no X library available" >&2;}
12013 { (exit 1); exit 1; }; }
12015 echo "$as_me:$LINENO: checking for XTestQueryExtension in -lXtst" >&5
12016 echo $ECHO_N "checking for XTestQueryExtension in -lXtst... $ECHO_C" >&6
12017 if test "${ac_cv_lib_Xtst_XTestQueryExtension+set}" = set; then
12018 echo $ECHO_N "(cached) $ECHO_C" >&6
12020 ac_check_lib_save_LIBS=$LIBS
12021 LIBS="-lXtst ${X_LIBS} $LIBS"
12022 if test x$gcc_no_link = xyes; then
12023 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
12024 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
12025 { (exit 1); exit 1; }; }
12027 cat >conftest.$ac_ext <<_ACEOF
12030 cat confdefs.h >>conftest.$ac_ext
12031 cat >>conftest.$ac_ext <<_ACEOF
12032 /* end confdefs.h. */
12034 /* Override any gcc2 internal prototype to avoid an error. */
12038 /* We use char because int might match the return type of a gcc2
12039 builtin and then its argument prototype would still apply. */
12040 char XTestQueryExtension ();
12044 XTestQueryExtension ();
12049 rm -f conftest.$ac_objext conftest$ac_exeext
12050 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12051 (eval $ac_link) 2>conftest.er1
12053 grep -v '^ *+' conftest.er1 >conftest.err
12055 cat conftest.err >&5
12056 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12057 (exit $ac_status); } &&
12058 { ac_try='test -z "$ac_c_werror_flag"
12059 || test ! -s conftest.err'
12060 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12061 (eval $ac_try) 2>&5
12063 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12064 (exit $ac_status); }; } &&
12065 { ac_try='test -s conftest$ac_exeext'
12066 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12067 (eval $ac_try) 2>&5
12069 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12070 (exit $ac_status); }; }; then
12071 ac_cv_lib_Xtst_XTestQueryExtension=yes
12073 echo "$as_me: failed program was:" >&5
12074 sed 's/^/| /' conftest.$ac_ext >&5
12076 ac_cv_lib_Xtst_XTestQueryExtension=no
12078 rm -f conftest.err conftest.$ac_objext \
12079 conftest$ac_exeext conftest.$ac_ext
12080 LIBS=$ac_check_lib_save_LIBS
12082 echo "$as_me:$LINENO: result: $ac_cv_lib_Xtst_XTestQueryExtension" >&5
12083 echo "${ECHO_T}$ac_cv_lib_Xtst_XTestQueryExtension" >&6
12084 if test $ac_cv_lib_Xtst_XTestQueryExtension = yes; then
12085 XTEST_LIBS="$XTEST_LIBS -lX11 -lXtst"
12087 { { echo "$as_me:$LINENO: error: libXtst NOT found, required for GdkRobot" >&5
12088 echo "$as_me: error: libXtst NOT found, required for GdkRobot" >&2;}
12089 { (exit 1); exit 1; }; }
12096 if test -z "$PKG_CONFIG"; then
12097 # Extract the first word of "pkg-config", so it can be a program name with args.
12098 set dummy pkg-config; ac_word=$2
12099 echo "$as_me:$LINENO: checking for $ac_word" >&5
12100 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
12101 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
12102 echo $ECHO_N "(cached) $ECHO_C" >&6
12104 case $PKG_CONFIG in
12106 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
12109 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12110 for as_dir in $PATH
12113 test -z "$as_dir" && as_dir=.
12114 for ac_exec_ext in '' $ac_executable_extensions; do
12115 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
12116 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
12117 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
12123 test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG="no"
12127 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
12129 if test -n "$PKG_CONFIG"; then
12130 echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
12131 echo "${ECHO_T}$PKG_CONFIG" >&6
12133 echo "$as_me:$LINENO: result: no" >&5
12134 echo "${ECHO_T}no" >&6
12139 if test "$PKG_CONFIG" = "no" ; then
12140 echo "*** The pkg-config script could not be found. Make sure it is"
12141 echo "*** in your path, or set the PKG_CONFIG environment variable"
12142 echo "*** to the full path to pkg-config."
12143 echo "*** Or see http://www.freedesktop.org/software/pkgconfig to get pkg-config."
12145 PKG_CONFIG_MIN_VERSION=0.9.0
12146 if $PKG_CONFIG --atleast-pkgconfig-version $PKG_CONFIG_MIN_VERSION; then
12147 echo "$as_me:$LINENO: checking for gtk+-2.0 >= 2.8 gthread-2.0 >= 2.2 gdk-pixbuf-2.0" >&5
12148 echo $ECHO_N "checking for gtk+-2.0 >= 2.8 gthread-2.0 >= 2.2 gdk-pixbuf-2.0... $ECHO_C" >&6
12150 if $PKG_CONFIG --exists "gtk+-2.0 >= 2.8 gthread-2.0 >= 2.2 gdk-pixbuf-2.0" ; then
12151 echo "$as_me:$LINENO: result: yes" >&5
12152 echo "${ECHO_T}yes" >&6
12155 echo "$as_me:$LINENO: checking GTK_CFLAGS" >&5
12156 echo $ECHO_N "checking GTK_CFLAGS... $ECHO_C" >&6
12157 GTK_CFLAGS=`$PKG_CONFIG --cflags "gtk+-2.0 >= 2.8 gthread-2.0 >= 2.2 gdk-pixbuf-2.0"`
12158 echo "$as_me:$LINENO: result: $GTK_CFLAGS" >&5
12159 echo "${ECHO_T}$GTK_CFLAGS" >&6
12161 echo "$as_me:$LINENO: checking GTK_LIBS" >&5
12162 echo $ECHO_N "checking GTK_LIBS... $ECHO_C" >&6
12163 GTK_LIBS=`$PKG_CONFIG --libs "gtk+-2.0 >= 2.8 gthread-2.0 >= 2.2 gdk-pixbuf-2.0"`
12164 echo "$as_me:$LINENO: result: $GTK_LIBS" >&5
12165 echo "${ECHO_T}$GTK_LIBS" >&6
12169 ## If we have a custom action on failure, don't print errors, but
12170 ## do set a variable so people can do so.
12171 GTK_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "gtk+-2.0 >= 2.8 gthread-2.0 >= 2.2 gdk-pixbuf-2.0"`
12172 echo $GTK_PKG_ERRORS
12178 echo "*** Your version of pkg-config is too old. You need version $PKG_CONFIG_MIN_VERSION or newer."
12179 echo "*** See http://www.freedesktop.org/software/pkgconfig"
12183 if test $succeeded = yes; then
12186 { { 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
12187 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;}
12188 { (exit 1); exit 1; }; }
12194 if test -z "$PKG_CONFIG"; then
12195 # Extract the first word of "pkg-config", so it can be a program name with args.
12196 set dummy pkg-config; ac_word=$2
12197 echo "$as_me:$LINENO: checking for $ac_word" >&5
12198 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
12199 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
12200 echo $ECHO_N "(cached) $ECHO_C" >&6
12202 case $PKG_CONFIG in
12204 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
12207 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12208 for as_dir in $PATH
12211 test -z "$as_dir" && as_dir=.
12212 for ac_exec_ext in '' $ac_executable_extensions; do
12213 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
12214 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
12215 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
12221 test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG="no"
12225 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
12227 if test -n "$PKG_CONFIG"; then
12228 echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
12229 echo "${ECHO_T}$PKG_CONFIG" >&6
12231 echo "$as_me:$LINENO: result: no" >&5
12232 echo "${ECHO_T}no" >&6
12237 if test "$PKG_CONFIG" = "no" ; then
12238 echo "*** The pkg-config script could not be found. Make sure it is"
12239 echo "*** in your path, or set the PKG_CONFIG environment variable"
12240 echo "*** to the full path to pkg-config."
12241 echo "*** Or see http://www.freedesktop.org/software/pkgconfig to get pkg-config."
12243 PKG_CONFIG_MIN_VERSION=0.9.0
12244 if $PKG_CONFIG --atleast-pkgconfig-version $PKG_CONFIG_MIN_VERSION; then
12245 echo "$as_me:$LINENO: checking for freetype2" >&5
12246 echo $ECHO_N "checking for freetype2... $ECHO_C" >&6
12248 if $PKG_CONFIG --exists "freetype2" ; then
12249 echo "$as_me:$LINENO: result: yes" >&5
12250 echo "${ECHO_T}yes" >&6
12253 echo "$as_me:$LINENO: checking FREETYPE2_CFLAGS" >&5
12254 echo $ECHO_N "checking FREETYPE2_CFLAGS... $ECHO_C" >&6
12255 FREETYPE2_CFLAGS=`$PKG_CONFIG --cflags "freetype2"`
12256 echo "$as_me:$LINENO: result: $FREETYPE2_CFLAGS" >&5
12257 echo "${ECHO_T}$FREETYPE2_CFLAGS" >&6
12259 echo "$as_me:$LINENO: checking FREETYPE2_LIBS" >&5
12260 echo $ECHO_N "checking FREETYPE2_LIBS... $ECHO_C" >&6
12261 FREETYPE2_LIBS=`$PKG_CONFIG --libs "freetype2"`
12262 echo "$as_me:$LINENO: result: $FREETYPE2_LIBS" >&5
12263 echo "${ECHO_T}$FREETYPE2_LIBS" >&6
12265 FREETYPE2_CFLAGS=""
12267 ## If we have a custom action on failure, don't print errors, but
12268 ## do set a variable so people can do so.
12269 FREETYPE2_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "freetype2"`
12270 echo $FREETYPE2_PKG_ERRORS
12276 echo "*** Your version of pkg-config is too old. You need version $PKG_CONFIG_MIN_VERSION or newer."
12277 echo "*** See http://www.freedesktop.org/software/pkgconfig"
12281 if test $succeeded = yes; then
12284 { { 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
12285 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;}
12286 { (exit 1); exit 1; }; }
12292 if test -z "$PKG_CONFIG"; then
12293 # Extract the first word of "pkg-config", so it can be a program name with args.
12294 set dummy pkg-config; ac_word=$2
12295 echo "$as_me:$LINENO: checking for $ac_word" >&5
12296 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
12297 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
12298 echo $ECHO_N "(cached) $ECHO_C" >&6
12300 case $PKG_CONFIG in
12302 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
12305 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12306 for as_dir in $PATH
12309 test -z "$as_dir" && as_dir=.
12310 for ac_exec_ext in '' $ac_executable_extensions; do
12311 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
12312 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
12313 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
12319 test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG="no"
12323 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
12325 if test -n "$PKG_CONFIG"; then
12326 echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
12327 echo "${ECHO_T}$PKG_CONFIG" >&6
12329 echo "$as_me:$LINENO: result: no" >&5
12330 echo "${ECHO_T}no" >&6
12335 if test "$PKG_CONFIG" = "no" ; then
12336 echo "*** The pkg-config script could not be found. Make sure it is"
12337 echo "*** in your path, or set the PKG_CONFIG environment variable"
12338 echo "*** to the full path to pkg-config."
12339 echo "*** Or see http://www.freedesktop.org/software/pkgconfig to get pkg-config."
12341 PKG_CONFIG_MIN_VERSION=0.9.0
12342 if $PKG_CONFIG --atleast-pkgconfig-version $PKG_CONFIG_MIN_VERSION; then
12343 echo "$as_me:$LINENO: checking for pangoft2" >&5
12344 echo $ECHO_N "checking for pangoft2... $ECHO_C" >&6
12346 if $PKG_CONFIG --exists "pangoft2" ; then
12347 echo "$as_me:$LINENO: result: yes" >&5
12348 echo "${ECHO_T}yes" >&6
12351 echo "$as_me:$LINENO: checking PANGOFT2_CFLAGS" >&5
12352 echo $ECHO_N "checking PANGOFT2_CFLAGS... $ECHO_C" >&6
12353 PANGOFT2_CFLAGS=`$PKG_CONFIG --cflags "pangoft2"`
12354 echo "$as_me:$LINENO: result: $PANGOFT2_CFLAGS" >&5
12355 echo "${ECHO_T}$PANGOFT2_CFLAGS" >&6
12357 echo "$as_me:$LINENO: checking PANGOFT2_LIBS" >&5
12358 echo $ECHO_N "checking PANGOFT2_LIBS... $ECHO_C" >&6
12359 PANGOFT2_LIBS=`$PKG_CONFIG --libs "pangoft2"`
12360 echo "$as_me:$LINENO: result: $PANGOFT2_LIBS" >&5
12361 echo "${ECHO_T}$PANGOFT2_LIBS" >&6
12365 ## If we have a custom action on failure, don't print errors, but
12366 ## do set a variable so people can do so.
12367 PANGOFT2_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "pangoft2"`
12368 echo $PANGOFT2_PKG_ERRORS
12374 echo "*** Your version of pkg-config is too old. You need version $PKG_CONFIG_MIN_VERSION or newer."
12375 echo "*** See http://www.freedesktop.org/software/pkgconfig"
12379 if test $succeeded = yes; then
12382 { { 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
12383 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;}
12384 { (exit 1); exit 1; }; }
12387 echo "$as_me:$LINENO: checking for XRenderQueryExtension in -lXrender" >&5
12388 echo $ECHO_N "checking for XRenderQueryExtension in -lXrender... $ECHO_C" >&6
12389 if test "${ac_cv_lib_Xrender_XRenderQueryExtension+set}" = set; then
12390 echo $ECHO_N "(cached) $ECHO_C" >&6
12392 ac_check_lib_save_LIBS=$LIBS
12393 LIBS="-lXrender ${X_LIBS} $LIBS"
12394 if test x$gcc_no_link = xyes; then
12395 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
12396 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
12397 { (exit 1); exit 1; }; }
12399 cat >conftest.$ac_ext <<_ACEOF
12402 cat confdefs.h >>conftest.$ac_ext
12403 cat >>conftest.$ac_ext <<_ACEOF
12404 /* end confdefs.h. */
12406 /* Override any gcc2 internal prototype to avoid an error. */
12410 /* We use char because int might match the return type of a gcc2
12411 builtin and then its argument prototype would still apply. */
12412 char XRenderQueryExtension ();
12416 XRenderQueryExtension ();
12421 rm -f conftest.$ac_objext conftest$ac_exeext
12422 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12423 (eval $ac_link) 2>conftest.er1
12425 grep -v '^ *+' conftest.er1 >conftest.err
12427 cat conftest.err >&5
12428 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12429 (exit $ac_status); } &&
12430 { ac_try='test -z "$ac_c_werror_flag"
12431 || test ! -s conftest.err'
12432 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12433 (eval $ac_try) 2>&5
12435 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12436 (exit $ac_status); }; } &&
12437 { ac_try='test -s conftest$ac_exeext'
12438 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12439 (eval $ac_try) 2>&5
12441 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12442 (exit $ac_status); }; }; then
12443 ac_cv_lib_Xrender_XRenderQueryExtension=yes
12445 echo "$as_me: failed program was:" >&5
12446 sed 's/^/| /' conftest.$ac_ext >&5
12448 ac_cv_lib_Xrender_XRenderQueryExtension=no
12450 rm -f conftest.err conftest.$ac_objext \
12451 conftest$ac_exeext conftest.$ac_ext
12452 LIBS=$ac_check_lib_save_LIBS
12454 echo "$as_me:$LINENO: result: $ac_cv_lib_Xrender_XRenderQueryExtension" >&5
12455 echo "${ECHO_T}$ac_cv_lib_Xrender_XRenderQueryExtension" >&6
12456 if test $ac_cv_lib_Xrender_XRenderQueryExtension = yes; then
12458 cat >>confdefs.h <<\_ACEOF
12459 #define HAVE_XRENDER 1
12461 X_EXTRA_LIBS="$X_EXTRA_LIBS -lXrender"
12467 echo "$as_me:$LINENO: checking for XRRQueryExtension in -lXrandr" >&5
12468 echo $ECHO_N "checking for XRRQueryExtension in -lXrandr... $ECHO_C" >&6
12469 if test "${ac_cv_lib_Xrandr_XRRQueryExtension+set}" = set; then
12470 echo $ECHO_N "(cached) $ECHO_C" >&6
12472 ac_check_lib_save_LIBS=$LIBS
12473 LIBS="-lXrandr ${X_LIBS} $LIBS"
12474 if test x$gcc_no_link = xyes; then
12475 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
12476 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
12477 { (exit 1); exit 1; }; }
12479 cat >conftest.$ac_ext <<_ACEOF
12482 cat confdefs.h >>conftest.$ac_ext
12483 cat >>conftest.$ac_ext <<_ACEOF
12484 /* end confdefs.h. */
12486 /* Override any gcc2 internal prototype to avoid an error. */
12490 /* We use char because int might match the return type of a gcc2
12491 builtin and then its argument prototype would still apply. */
12492 char XRRQueryExtension ();
12496 XRRQueryExtension ();
12501 rm -f conftest.$ac_objext conftest$ac_exeext
12502 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12503 (eval $ac_link) 2>conftest.er1
12505 grep -v '^ *+' conftest.er1 >conftest.err
12507 cat conftest.err >&5
12508 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12509 (exit $ac_status); } &&
12510 { ac_try='test -z "$ac_c_werror_flag"
12511 || test ! -s conftest.err'
12512 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12513 (eval $ac_try) 2>&5
12515 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12516 (exit $ac_status); }; } &&
12517 { ac_try='test -s conftest$ac_exeext'
12518 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12519 (eval $ac_try) 2>&5
12521 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12522 (exit $ac_status); }; }; then
12523 ac_cv_lib_Xrandr_XRRQueryExtension=yes
12525 echo "$as_me: failed program was:" >&5
12526 sed 's/^/| /' conftest.$ac_ext >&5
12528 ac_cv_lib_Xrandr_XRRQueryExtension=no
12530 rm -f conftest.err conftest.$ac_objext \
12531 conftest$ac_exeext conftest.$ac_ext
12532 LIBS=$ac_check_lib_save_LIBS
12534 echo "$as_me:$LINENO: result: $ac_cv_lib_Xrandr_XRRQueryExtension" >&5
12535 echo "${ECHO_T}$ac_cv_lib_Xrandr_XRRQueryExtension" >&6
12536 if test $ac_cv_lib_Xrandr_XRRQueryExtension = yes; then
12538 cat >>confdefs.h <<\_ACEOF
12539 #define HAVE_XRANDR 1
12541 X_EXTRA_LIBS="$X_EXTRA_LIBS -lXrandr"
12556 if test "x${COMPILE_GCONF_PEER}" = xyes; then
12560 if test -z "$PKG_CONFIG"; then
12561 # Extract the first word of "pkg-config", so it can be a program name with args.
12562 set dummy pkg-config; ac_word=$2
12563 echo "$as_me:$LINENO: checking for $ac_word" >&5
12564 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
12565 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
12566 echo $ECHO_N "(cached) $ECHO_C" >&6
12568 case $PKG_CONFIG in
12570 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
12573 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12574 for as_dir in $PATH
12577 test -z "$as_dir" && as_dir=.
12578 for ac_exec_ext in '' $ac_executable_extensions; do
12579 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
12580 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
12581 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
12587 test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG="no"
12591 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
12593 if test -n "$PKG_CONFIG"; then
12594 echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
12595 echo "${ECHO_T}$PKG_CONFIG" >&6
12597 echo "$as_me:$LINENO: result: no" >&5
12598 echo "${ECHO_T}no" >&6
12603 if test "$PKG_CONFIG" = "no" ; then
12604 echo "*** The pkg-config script could not be found. Make sure it is"
12605 echo "*** in your path, or set the PKG_CONFIG environment variable"
12606 echo "*** to the full path to pkg-config."
12607 echo "*** Or see http://www.freedesktop.org/software/pkgconfig to get pkg-config."
12609 PKG_CONFIG_MIN_VERSION=0.9.0
12610 if $PKG_CONFIG --atleast-pkgconfig-version $PKG_CONFIG_MIN_VERSION; then
12611 echo "$as_me:$LINENO: checking for gconf-2.0 >= 2.11.2" >&5
12612 echo $ECHO_N "checking for gconf-2.0 >= 2.11.2... $ECHO_C" >&6
12614 if $PKG_CONFIG --exists "gconf-2.0 >= 2.11.2" ; then
12615 echo "$as_me:$LINENO: result: yes" >&5
12616 echo "${ECHO_T}yes" >&6
12619 echo "$as_me:$LINENO: checking GCONF_CFLAGS" >&5
12620 echo $ECHO_N "checking GCONF_CFLAGS... $ECHO_C" >&6
12621 GCONF_CFLAGS=`$PKG_CONFIG --cflags "gconf-2.0 >= 2.11.2"`
12622 echo "$as_me:$LINENO: result: $GCONF_CFLAGS" >&5
12623 echo "${ECHO_T}$GCONF_CFLAGS" >&6
12625 echo "$as_me:$LINENO: checking GCONF_LIBS" >&5
12626 echo $ECHO_N "checking GCONF_LIBS... $ECHO_C" >&6
12627 GCONF_LIBS=`$PKG_CONFIG --libs "gconf-2.0 >= 2.11.2"`
12628 echo "$as_me:$LINENO: result: $GCONF_LIBS" >&5
12629 echo "${ECHO_T}$GCONF_LIBS" >&6
12633 ## If we have a custom action on failure, don't print errors, but
12634 ## do set a variable so people can do so.
12635 GCONF_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "gconf-2.0 >= 2.11.2"`
12636 echo $GCONF_PKG_ERRORS
12642 echo "*** Your version of pkg-config is too old. You need version $PKG_CONFIG_MIN_VERSION or newer."
12643 echo "*** See http://www.freedesktop.org/software/pkgconfig"
12647 if test $succeeded = yes; then
12650 { { 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
12651 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;}
12652 { (exit 1); exit 1; }; }
12660 if test -z "$PKG_CONFIG"; then
12661 # Extract the first word of "pkg-config", so it can be a program name with args.
12662 set dummy pkg-config; ac_word=$2
12663 echo "$as_me:$LINENO: checking for $ac_word" >&5
12664 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
12665 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
12666 echo $ECHO_N "(cached) $ECHO_C" >&6
12668 case $PKG_CONFIG in
12670 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
12673 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12674 for as_dir in $PATH
12677 test -z "$as_dir" && as_dir=.
12678 for ac_exec_ext in '' $ac_executable_extensions; do
12679 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
12680 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
12681 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
12687 test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG="no"
12691 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
12693 if test -n "$PKG_CONFIG"; then
12694 echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
12695 echo "${ECHO_T}$PKG_CONFIG" >&6
12697 echo "$as_me:$LINENO: result: no" >&5
12698 echo "${ECHO_T}no" >&6
12703 if test "$PKG_CONFIG" = "no" ; then
12704 echo "*** The pkg-config script could not be found. Make sure it is"
12705 echo "*** in your path, or set the PKG_CONFIG environment variable"
12706 echo "*** to the full path to pkg-config."
12707 echo "*** Or see http://www.freedesktop.org/software/pkgconfig to get pkg-config."
12709 PKG_CONFIG_MIN_VERSION=0.9.0
12710 if $PKG_CONFIG --atleast-pkgconfig-version $PKG_CONFIG_MIN_VERSION; then
12711 echo "$as_me:$LINENO: checking for gdk-2.0 >= 2.8" >&5
12712 echo $ECHO_N "checking for gdk-2.0 >= 2.8... $ECHO_C" >&6
12714 if $PKG_CONFIG --exists "gdk-2.0 >= 2.8" ; then
12715 echo "$as_me:$LINENO: result: yes" >&5
12716 echo "${ECHO_T}yes" >&6
12719 echo "$as_me:$LINENO: checking GDK_CFLAGS" >&5
12720 echo $ECHO_N "checking GDK_CFLAGS... $ECHO_C" >&6
12721 GDK_CFLAGS=`$PKG_CONFIG --cflags "gdk-2.0 >= 2.8"`
12722 echo "$as_me:$LINENO: result: $GDK_CFLAGS" >&5
12723 echo "${ECHO_T}$GDK_CFLAGS" >&6
12725 echo "$as_me:$LINENO: checking GDK_LIBS" >&5
12726 echo $ECHO_N "checking GDK_LIBS... $ECHO_C" >&6
12727 GDK_LIBS=`$PKG_CONFIG --libs "gdk-2.0 >= 2.8"`
12728 echo "$as_me:$LINENO: result: $GDK_LIBS" >&5
12729 echo "${ECHO_T}$GDK_LIBS" >&6
12733 ## If we have a custom action on failure, don't print errors, but
12734 ## do set a variable so people can do so.
12735 GDK_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "gdk-2.0 >= 2.8"`
12736 echo $GDK_PKG_ERRORS
12742 echo "*** Your version of pkg-config is too old. You need version $PKG_CONFIG_MIN_VERSION or newer."
12743 echo "*** See http://www.freedesktop.org/software/pkgconfig"
12747 if test $succeeded = yes; then
12750 { { 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
12751 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;}
12752 { (exit 1); exit 1; }; }
12757 USE_GCONF_PREFS_PEER=$enable_default_preferences_peer
12758 if test "$USE_GCONF_PREFS_PEER" = ""; then
12759 DEFAULT_PREFS_PEER=gnu.java.util.prefs.GConfBasedFactory
12763 if test "x${COMPILE_QT_PEER}" = xyes; then
12767 if test -z "$PKG_CONFIG"; then
12768 # Extract the first word of "pkg-config", so it can be a program name with args.
12769 set dummy pkg-config; ac_word=$2
12770 echo "$as_me:$LINENO: checking for $ac_word" >&5
12771 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
12772 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
12773 echo $ECHO_N "(cached) $ECHO_C" >&6
12775 case $PKG_CONFIG in
12777 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
12780 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12781 for as_dir in $PATH
12784 test -z "$as_dir" && as_dir=.
12785 for ac_exec_ext in '' $ac_executable_extensions; do
12786 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
12787 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
12788 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
12794 test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG="no"
12798 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
12800 if test -n "$PKG_CONFIG"; then
12801 echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
12802 echo "${ECHO_T}$PKG_CONFIG" >&6
12804 echo "$as_me:$LINENO: result: no" >&5
12805 echo "${ECHO_T}no" >&6
12810 if test "$PKG_CONFIG" = "no" ; then
12811 echo "*** The pkg-config script could not be found. Make sure it is"
12812 echo "*** in your path, or set the PKG_CONFIG environment variable"
12813 echo "*** to the full path to pkg-config."
12814 echo "*** Or see http://www.freedesktop.org/software/pkgconfig to get pkg-config."
12816 PKG_CONFIG_MIN_VERSION=0.9.0
12817 if $PKG_CONFIG --atleast-pkgconfig-version $PKG_CONFIG_MIN_VERSION; then
12818 echo "$as_me:$LINENO: checking for QtCore QtGui >= 4.1.0" >&5
12819 echo $ECHO_N "checking for QtCore QtGui >= 4.1.0... $ECHO_C" >&6
12821 if $PKG_CONFIG --exists "QtCore QtGui >= 4.1.0" ; then
12822 echo "$as_me:$LINENO: result: yes" >&5
12823 echo "${ECHO_T}yes" >&6
12826 echo "$as_me:$LINENO: checking QT_CFLAGS" >&5
12827 echo $ECHO_N "checking QT_CFLAGS... $ECHO_C" >&6
12828 QT_CFLAGS=`$PKG_CONFIG --cflags "QtCore QtGui >= 4.1.0"`
12829 echo "$as_me:$LINENO: result: $QT_CFLAGS" >&5
12830 echo "${ECHO_T}$QT_CFLAGS" >&6
12832 echo "$as_me:$LINENO: checking QT_LIBS" >&5
12833 echo $ECHO_N "checking QT_LIBS... $ECHO_C" >&6
12834 QT_LIBS=`$PKG_CONFIG --libs "QtCore QtGui >= 4.1.0"`
12835 echo "$as_me:$LINENO: result: $QT_LIBS" >&5
12836 echo "${ECHO_T}$QT_LIBS" >&6
12840 ## If we have a custom action on failure, don't print errors, but
12841 ## do set a variable so people can do so.
12842 QT_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "QtCore QtGui >= 4.1.0"`
12849 echo "*** Your version of pkg-config is too old. You need version $PKG_CONFIG_MIN_VERSION or newer."
12850 echo "*** See http://www.freedesktop.org/software/pkgconfig"
12854 if test $succeeded = yes; then
12860 if test "x$HAVE_QT4" = "xyes"; then
12861 QT_INCLUDE_DIR=`$PKG_CONFIG --variable=includedir QtGui`
12862 EXTRA_QT_INCLUDE_DIR="$QT_INCLUDE_DIR/Qt"
12863 as_ac_File=`echo "ac_cv_file_$QT_INCLUDE_DIR/QWidget" | $as_tr_sh`
12864 echo "$as_me:$LINENO: checking for $QT_INCLUDE_DIR/QWidget" >&5
12865 echo $ECHO_N "checking for $QT_INCLUDE_DIR/QWidget... $ECHO_C" >&6
12866 if eval "test \"\${$as_ac_File+set}\" = set"; then
12867 echo $ECHO_N "(cached) $ECHO_C" >&6
12869 test "$cross_compiling" = yes &&
12870 { { echo "$as_me:$LINENO: error: cannot check for file existence when cross compiling" >&5
12871 echo "$as_me: error: cannot check for file existence when cross compiling" >&2;}
12872 { (exit 1); exit 1; }; }
12873 if test -r "$QT_INCLUDE_DIR/QWidget"; then
12874 eval "$as_ac_File=yes"
12876 eval "$as_ac_File=no"
12879 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_File'}'`" >&5
12880 echo "${ECHO_T}`eval echo '${'$as_ac_File'}'`" >&6
12881 if test `eval echo '${'$as_ac_File'}'` = yes; then
12882 { echo "$as_me:$LINENO: No extra QT_INCLUDE_DIR needed" >&5
12883 echo "$as_me: No extra QT_INCLUDE_DIR needed" >&6;}
12885 as_ac_File=`echo "ac_cv_file_$EXTRA_QT_INCLUDE_DIR/QWidget" | $as_tr_sh`
12886 echo "$as_me:$LINENO: checking for $EXTRA_QT_INCLUDE_DIR/QWidget" >&5
12887 echo $ECHO_N "checking for $EXTRA_QT_INCLUDE_DIR/QWidget... $ECHO_C" >&6
12888 if eval "test \"\${$as_ac_File+set}\" = set"; then
12889 echo $ECHO_N "(cached) $ECHO_C" >&6
12891 test "$cross_compiling" = yes &&
12892 { { echo "$as_me:$LINENO: error: cannot check for file existence when cross compiling" >&5
12893 echo "$as_me: error: cannot check for file existence when cross compiling" >&2;}
12894 { (exit 1); exit 1; }; }
12895 if test -r "$EXTRA_QT_INCLUDE_DIR/QWidget"; then
12896 eval "$as_ac_File=yes"
12898 eval "$as_ac_File=no"
12901 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_File'}'`" >&5
12902 echo "${ECHO_T}`eval echo '${'$as_ac_File'}'`" >&6
12903 if test `eval echo '${'$as_ac_File'}'` = yes; then
12904 QT_CFLAGS="$QT_CFLAGS -I$EXTRA_QT_INCLUDE_DIR"
12906 { echo "$as_me:$LINENO: WARNING: QWidget not found" >&5
12907 echo "$as_me: WARNING: QWidget not found" >&2;}
12912 # Extract the first word of "moc", so it can be a program name with args.
12913 set dummy moc; ac_word=$2
12914 echo "$as_me:$LINENO: checking for $ac_word" >&5
12915 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
12916 if test "${ac_cv_prog_MOC+set}" = set; then
12917 echo $ECHO_N "(cached) $ECHO_C" >&6
12919 if test -n "$MOC"; then
12920 ac_cv_prog_MOC="$MOC" # Let the user override the test.
12922 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12923 for as_dir in $PATH
12926 test -z "$as_dir" && as_dir=.
12927 for ac_exec_ext in '' $ac_executable_extensions; do
12928 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
12929 ac_cv_prog_MOC="moc"
12930 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
12938 MOC=$ac_cv_prog_MOC
12939 if test -n "$MOC"; then
12940 echo "$as_me:$LINENO: result: $MOC" >&5
12941 echo "${ECHO_T}$MOC" >&6
12943 echo "$as_me:$LINENO: result: no" >&5
12944 echo "${ECHO_T}no" >&6
12947 # Extract the first word of "moc-qt4", so it can be a program name with args.
12948 set dummy moc-qt4; ac_word=$2
12949 echo "$as_me:$LINENO: checking for $ac_word" >&5
12950 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
12951 if test "${ac_cv_prog_MOC+set}" = set; then
12952 echo $ECHO_N "(cached) $ECHO_C" >&6
12954 if test -n "$MOC"; then
12955 ac_cv_prog_MOC="$MOC" # Let the user override the test.
12957 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12958 for as_dir in $PATH
12961 test -z "$as_dir" && as_dir=.
12962 for ac_exec_ext in '' $ac_executable_extensions; do
12963 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
12964 ac_cv_prog_MOC="moc-qt4"
12965 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
12973 MOC=$ac_cv_prog_MOC
12974 if test -n "$MOC"; then
12975 echo "$as_me:$LINENO: result: $MOC" >&5
12976 echo "${ECHO_T}$MOC" >&6
12978 echo "$as_me:$LINENO: result: no" >&5
12979 echo "${ECHO_T}no" >&6
12983 if test "x$HAVE_QT4" = "xno"; then
12984 { echo "$as_me:$LINENO: Looking for QT_CFLAGS and QT_LIBS without pkg-config" >&5
12985 echo "$as_me: Looking for QT_CFLAGS and QT_LIBS without pkg-config" >&6;}
12989 # Check whether --with-qt4dir or --without-qt4dir was given.
12990 if test "${with_qt4dir+set}" = set; then
12991 withval="$with_qt4dir"
12995 if test x"$QT4DIR" = x ; then
12996 { { echo "$as_me:$LINENO: error: *** No path for Qt4 --with-qt4dir option given" >&5
12997 echo "$as_me: error: *** No path for Qt4 --with-qt4dir option given" >&2;}
12998 { (exit 1); exit 1; }; }
13000 echo "$as_me:$LINENO: result: QT4DIR... $QT4DIR" >&5
13001 echo "${ECHO_T}QT4DIR... $QT4DIR" >&6
13002 # Extract the first word of "moc", so it can be a program name with args.
13003 set dummy moc; ac_word=$2
13004 echo "$as_me:$LINENO: checking for $ac_word" >&5
13005 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
13006 if test "${ac_cv_prog_MOC+set}" = set; then
13007 echo $ECHO_N "(cached) $ECHO_C" >&6
13009 if test -n "$MOC"; then
13010 ac_cv_prog_MOC="$MOC" # Let the user override the test.
13012 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13013 for as_dir in $QT4DIR/bin
13016 test -z "$as_dir" && as_dir=.
13017 for ac_exec_ext in '' $ac_executable_extensions; do
13018 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
13019 ac_cv_prog_MOC="$QT4DIR/bin/moc"
13020 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
13028 MOC=$ac_cv_prog_MOC
13029 if test -n "$MOC"; then
13030 echo "$as_me:$LINENO: result: $MOC" >&5
13031 echo "${ECHO_T}$MOC" >&6
13033 echo "$as_me:$LINENO: result: no" >&5
13034 echo "${ECHO_T}no" >&6
13037 if test x"$MOC" = x; then
13038 { { echo "$as_me:$LINENO: error: *** This is not the right Qt installation" >&5
13039 echo "$as_me: error: *** This is not the right Qt installation" >&2;}
13040 { (exit 1); exit 1; }; }
13042 QT_CFLAGS="-F$QT4DIR/lib -I$QT4DIR/lib/QtCore.framework/Headers"
13043 QT_CFLAGS="$QT_CFLAGS -I$QT4DIR/lib/QtGui.framework/Headers"
13044 QT_LIBS="-Xlinker -F$QT4DIR/lib -Xlinker -framework -Xlinker QtCore"
13045 QT_LIBS="$QT_LIBS -Xlinker -framework -Xlinker QtGui"
13048 { { echo "$as_me:$LINENO: error: *** Please check PKG_CONFIG_PATH or the version
13049 of your installed Qt4 installation." >&5
13050 echo "$as_me: error: *** Please check PKG_CONFIG_PATH or the version
13051 of your installed Qt4 installation." >&2;}
13052 { (exit 1); exit 1; }; }
13056 { echo "$as_me:$LINENO: Set QT_CFLAGS... $QT_CFLAGS" >&5
13057 echo "$as_me: Set QT_CFLAGS... $QT_CFLAGS" >&6;}
13061 echo "$as_me:$LINENO: checking for MSG_NOSIGNAL" >&5
13062 echo $ECHO_N "checking for MSG_NOSIGNAL... $ECHO_C" >&6
13063 cat >conftest.$ac_ext <<_ACEOF
13066 cat confdefs.h >>conftest.$ac_ext
13067 cat >>conftest.$ac_ext <<_ACEOF
13068 /* end confdefs.h. */
13069 #include <sys/socket.h>
13073 int f = MSG_NOSIGNAL;
13078 rm -f conftest.$ac_objext
13079 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13080 (eval $ac_compile) 2>conftest.er1
13082 grep -v '^ *+' conftest.er1 >conftest.err
13084 cat conftest.err >&5
13085 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13086 (exit $ac_status); } &&
13087 { ac_try='test -z "$ac_c_werror_flag"
13088 || test ! -s conftest.err'
13089 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13090 (eval $ac_try) 2>&5
13092 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13093 (exit $ac_status); }; } &&
13094 { ac_try='test -s conftest.$ac_objext'
13095 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13096 (eval $ac_try) 2>&5
13098 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13099 (exit $ac_status); }; }; then
13100 echo "$as_me:$LINENO: result: yes" >&5
13101 echo "${ECHO_T}yes" >&6
13103 cat >>confdefs.h <<\_ACEOF
13104 #define HAVE_MSG_NOSIGNAL 1
13108 echo "$as_me: failed program was:" >&5
13109 sed 's/^/| /' conftest.$ac_ext >&5
13111 echo "$as_me:$LINENO: result: no" >&5
13112 echo "${ECHO_T}no" >&6
13115 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
13116 echo "$as_me:$LINENO: checking for SO_NOSIGPIPE " >&5
13117 echo $ECHO_N "checking for SO_NOSIGPIPE ... $ECHO_C" >&6
13118 cat >conftest.$ac_ext <<_ACEOF
13121 cat confdefs.h >>conftest.$ac_ext
13122 cat >>conftest.$ac_ext <<_ACEOF
13123 /* end confdefs.h. */
13124 #include <sys/socket.h>
13128 int f = SO_NOSIGPIPE;
13133 rm -f conftest.$ac_objext
13134 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13135 (eval $ac_compile) 2>conftest.er1
13137 grep -v '^ *+' conftest.er1 >conftest.err
13139 cat conftest.err >&5
13140 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13141 (exit $ac_status); } &&
13142 { ac_try='test -z "$ac_c_werror_flag"
13143 || test ! -s conftest.err'
13144 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13145 (eval $ac_try) 2>&5
13147 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13148 (exit $ac_status); }; } &&
13149 { ac_try='test -s conftest.$ac_objext'
13150 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13151 (eval $ac_try) 2>&5
13153 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13154 (exit $ac_status); }; }; then
13155 echo "$as_me:$LINENO: result: yes" >&5
13156 echo "${ECHO_T}yes" >&6
13158 cat >>confdefs.h <<\_ACEOF
13159 #define HAVE_SO_NOSIGPIPE 1
13163 echo "$as_me: failed program was:" >&5
13164 sed 's/^/| /' conftest.$ac_ext >&5
13166 echo "$as_me:$LINENO: result: no" >&5
13167 echo "${ECHO_T}no" >&6
13170 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
13172 if test "x${COMPILE_PLUGIN}" = xyes; then
13176 if test -z "$PKG_CONFIG"; then
13177 # Extract the first word of "pkg-config", so it can be a program name with args.
13178 set dummy pkg-config; ac_word=$2
13179 echo "$as_me:$LINENO: checking for $ac_word" >&5
13180 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
13181 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
13182 echo $ECHO_N "(cached) $ECHO_C" >&6
13184 case $PKG_CONFIG in
13186 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
13189 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13190 for as_dir in $PATH
13193 test -z "$as_dir" && as_dir=.
13194 for ac_exec_ext in '' $ac_executable_extensions; do
13195 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
13196 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
13197 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
13203 test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG="no"
13207 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
13209 if test -n "$PKG_CONFIG"; then
13210 echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
13211 echo "${ECHO_T}$PKG_CONFIG" >&6
13213 echo "$as_me:$LINENO: result: no" >&5
13214 echo "${ECHO_T}no" >&6
13219 if test "$PKG_CONFIG" = "no" ; then
13220 echo "*** The pkg-config script could not be found. Make sure it is"
13221 echo "*** in your path, or set the PKG_CONFIG environment variable"
13222 echo "*** to the full path to pkg-config."
13223 echo "*** Or see http://www.freedesktop.org/software/pkgconfig to get pkg-config."
13225 PKG_CONFIG_MIN_VERSION=0.9.0
13226 if $PKG_CONFIG --atleast-pkgconfig-version $PKG_CONFIG_MIN_VERSION; then
13227 echo "$as_me:$LINENO: checking for mozilla-plugin" >&5
13228 echo $ECHO_N "checking for mozilla-plugin... $ECHO_C" >&6
13230 if $PKG_CONFIG --exists "mozilla-plugin" ; then
13231 echo "$as_me:$LINENO: result: yes" >&5
13232 echo "${ECHO_T}yes" >&6
13235 echo "$as_me:$LINENO: checking MOZILLA_CFLAGS" >&5
13236 echo $ECHO_N "checking MOZILLA_CFLAGS... $ECHO_C" >&6
13237 MOZILLA_CFLAGS=`$PKG_CONFIG --cflags "mozilla-plugin"`
13238 echo "$as_me:$LINENO: result: $MOZILLA_CFLAGS" >&5
13239 echo "${ECHO_T}$MOZILLA_CFLAGS" >&6
13241 echo "$as_me:$LINENO: checking MOZILLA_LIBS" >&5
13242 echo $ECHO_N "checking MOZILLA_LIBS... $ECHO_C" >&6
13243 MOZILLA_LIBS=`$PKG_CONFIG --libs "mozilla-plugin"`
13244 echo "$as_me:$LINENO: result: $MOZILLA_LIBS" >&5
13245 echo "${ECHO_T}$MOZILLA_LIBS" >&6
13249 ## If we have a custom action on failure, don't print errors, but
13250 ## do set a variable so people can do so.
13251 MOZILLA_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "mozilla-plugin"`
13258 echo "*** Your version of pkg-config is too old. You need version $PKG_CONFIG_MIN_VERSION or newer."
13259 echo "*** See http://www.freedesktop.org/software/pkgconfig"
13263 if test $succeeded = yes; then
13269 if test "x${MOZILLA_FOUND}" = xno; then
13273 if test -z "$PKG_CONFIG"; then
13274 # Extract the first word of "pkg-config", so it can be a program name with args.
13275 set dummy pkg-config; ac_word=$2
13276 echo "$as_me:$LINENO: checking for $ac_word" >&5
13277 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
13278 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
13279 echo $ECHO_N "(cached) $ECHO_C" >&6
13281 case $PKG_CONFIG in
13283 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
13286 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13287 for as_dir in $PATH
13290 test -z "$as_dir" && as_dir=.
13291 for ac_exec_ext in '' $ac_executable_extensions; do
13292 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
13293 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
13294 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
13300 test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG="no"
13304 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
13306 if test -n "$PKG_CONFIG"; then
13307 echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
13308 echo "${ECHO_T}$PKG_CONFIG" >&6
13310 echo "$as_me:$LINENO: result: no" >&5
13311 echo "${ECHO_T}no" >&6
13316 if test "$PKG_CONFIG" = "no" ; then
13317 echo "*** The pkg-config script could not be found. Make sure it is"
13318 echo "*** in your path, or set the PKG_CONFIG environment variable"
13319 echo "*** to the full path to pkg-config."
13320 echo "*** Or see http://www.freedesktop.org/software/pkgconfig to get pkg-config."
13322 PKG_CONFIG_MIN_VERSION=0.9.0
13323 if $PKG_CONFIG --atleast-pkgconfig-version $PKG_CONFIG_MIN_VERSION; then
13324 echo "$as_me:$LINENO: checking for firefox-plugin" >&5
13325 echo $ECHO_N "checking for firefox-plugin... $ECHO_C" >&6
13327 if $PKG_CONFIG --exists "firefox-plugin" ; then
13328 echo "$as_me:$LINENO: result: yes" >&5
13329 echo "${ECHO_T}yes" >&6
13332 echo "$as_me:$LINENO: checking MOZILLA_CFLAGS" >&5
13333 echo $ECHO_N "checking MOZILLA_CFLAGS... $ECHO_C" >&6
13334 MOZILLA_CFLAGS=`$PKG_CONFIG --cflags "firefox-plugin"`
13335 echo "$as_me:$LINENO: result: $MOZILLA_CFLAGS" >&5
13336 echo "${ECHO_T}$MOZILLA_CFLAGS" >&6
13338 echo "$as_me:$LINENO: checking MOZILLA_LIBS" >&5
13339 echo $ECHO_N "checking MOZILLA_LIBS... $ECHO_C" >&6
13340 MOZILLA_LIBS=`$PKG_CONFIG --libs "firefox-plugin"`
13341 echo "$as_me:$LINENO: result: $MOZILLA_LIBS" >&5
13342 echo "${ECHO_T}$MOZILLA_LIBS" >&6
13346 ## If we have a custom action on failure, don't print errors, but
13347 ## do set a variable so people can do so.
13348 MOZILLA_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "firefox-plugin"`
13355 echo "*** Your version of pkg-config is too old. You need version $PKG_CONFIG_MIN_VERSION or newer."
13356 echo "*** See http://www.freedesktop.org/software/pkgconfig"
13360 if test $succeeded = yes; then
13367 if test "x${MOZILLA_FOUND}" = xno; then
13371 if test -z "$PKG_CONFIG"; then
13372 # Extract the first word of "pkg-config", so it can be a program name with args.
13373 set dummy pkg-config; ac_word=$2
13374 echo "$as_me:$LINENO: checking for $ac_word" >&5
13375 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
13376 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
13377 echo $ECHO_N "(cached) $ECHO_C" >&6
13379 case $PKG_CONFIG in
13381 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
13384 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13385 for as_dir in $PATH
13388 test -z "$as_dir" && as_dir=.
13389 for ac_exec_ext in '' $ac_executable_extensions; do
13390 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
13391 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
13392 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
13398 test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG="no"
13402 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
13404 if test -n "$PKG_CONFIG"; then
13405 echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
13406 echo "${ECHO_T}$PKG_CONFIG" >&6
13408 echo "$as_me:$LINENO: result: no" >&5
13409 echo "${ECHO_T}no" >&6
13414 if test "$PKG_CONFIG" = "no" ; then
13415 echo "*** The pkg-config script could not be found. Make sure it is"
13416 echo "*** in your path, or set the PKG_CONFIG environment variable"
13417 echo "*** to the full path to pkg-config."
13418 echo "*** Or see http://www.freedesktop.org/software/pkgconfig to get pkg-config."
13420 PKG_CONFIG_MIN_VERSION=0.9.0
13421 if $PKG_CONFIG --atleast-pkgconfig-version $PKG_CONFIG_MIN_VERSION; then
13422 echo "$as_me:$LINENO: checking for xulrunner-plugin" >&5
13423 echo $ECHO_N "checking for xulrunner-plugin... $ECHO_C" >&6
13425 if $PKG_CONFIG --exists "xulrunner-plugin" ; then
13426 echo "$as_me:$LINENO: result: yes" >&5
13427 echo "${ECHO_T}yes" >&6
13430 echo "$as_me:$LINENO: checking MOZILLA_CFLAGS" >&5
13431 echo $ECHO_N "checking MOZILLA_CFLAGS... $ECHO_C" >&6
13432 MOZILLA_CFLAGS=`$PKG_CONFIG --cflags "xulrunner-plugin"`
13433 echo "$as_me:$LINENO: result: $MOZILLA_CFLAGS" >&5
13434 echo "${ECHO_T}$MOZILLA_CFLAGS" >&6
13436 echo "$as_me:$LINENO: checking MOZILLA_LIBS" >&5
13437 echo $ECHO_N "checking MOZILLA_LIBS... $ECHO_C" >&6
13438 MOZILLA_LIBS=`$PKG_CONFIG --libs "xulrunner-plugin"`
13439 echo "$as_me:$LINENO: result: $MOZILLA_LIBS" >&5
13440 echo "${ECHO_T}$MOZILLA_LIBS" >&6
13444 ## If we have a custom action on failure, don't print errors, but
13445 ## do set a variable so people can do so.
13446 MOZILLA_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "xulrunner-plugin"`
13453 echo "*** Your version of pkg-config is too old. You need version $PKG_CONFIG_MIN_VERSION or newer."
13454 echo "*** See http://www.freedesktop.org/software/pkgconfig"
13458 if test $succeeded = yes; then
13465 if test "x${MOZILLA_FOUND}" = xno; then
13469 if test -z "$PKG_CONFIG"; then
13470 # Extract the first word of "pkg-config", so it can be a program name with args.
13471 set dummy pkg-config; ac_word=$2
13472 echo "$as_me:$LINENO: checking for $ac_word" >&5
13473 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
13474 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
13475 echo $ECHO_N "(cached) $ECHO_C" >&6
13477 case $PKG_CONFIG in
13479 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
13482 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13483 for as_dir in $PATH
13486 test -z "$as_dir" && as_dir=.
13487 for ac_exec_ext in '' $ac_executable_extensions; do
13488 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
13489 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
13490 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
13496 test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG="no"
13500 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
13502 if test -n "$PKG_CONFIG"; then
13503 echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
13504 echo "${ECHO_T}$PKG_CONFIG" >&6
13506 echo "$as_me:$LINENO: result: no" >&5
13507 echo "${ECHO_T}no" >&6
13512 if test "$PKG_CONFIG" = "no" ; then
13513 echo "*** The pkg-config script could not be found. Make sure it is"
13514 echo "*** in your path, or set the PKG_CONFIG environment variable"
13515 echo "*** to the full path to pkg-config."
13516 echo "*** Or see http://www.freedesktop.org/software/pkgconfig to get pkg-config."
13518 PKG_CONFIG_MIN_VERSION=0.9.0
13519 if $PKG_CONFIG --atleast-pkgconfig-version $PKG_CONFIG_MIN_VERSION; then
13520 echo "$as_me:$LINENO: checking for mozilla-firefox-plugin" >&5
13521 echo $ECHO_N "checking for mozilla-firefox-plugin... $ECHO_C" >&6
13523 if $PKG_CONFIG --exists "mozilla-firefox-plugin" ; then
13524 echo "$as_me:$LINENO: result: yes" >&5
13525 echo "${ECHO_T}yes" >&6
13528 echo "$as_me:$LINENO: checking MOZILLA_CFLAGS" >&5
13529 echo $ECHO_N "checking MOZILLA_CFLAGS... $ECHO_C" >&6
13530 MOZILLA_CFLAGS=`$PKG_CONFIG --cflags "mozilla-firefox-plugin"`
13531 echo "$as_me:$LINENO: result: $MOZILLA_CFLAGS" >&5
13532 echo "${ECHO_T}$MOZILLA_CFLAGS" >&6
13534 echo "$as_me:$LINENO: checking MOZILLA_LIBS" >&5
13535 echo $ECHO_N "checking MOZILLA_LIBS... $ECHO_C" >&6
13536 MOZILLA_LIBS=`$PKG_CONFIG --libs "mozilla-firefox-plugin"`
13537 echo "$as_me:$LINENO: result: $MOZILLA_LIBS" >&5
13538 echo "${ECHO_T}$MOZILLA_LIBS" >&6
13542 ## If we have a custom action on failure, don't print errors, but
13543 ## do set a variable so people can do so.
13544 MOZILLA_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "mozilla-firefox-plugin"`
13551 echo "*** Your version of pkg-config is too old. You need version $PKG_CONFIG_MIN_VERSION or newer."
13552 echo "*** See http://www.freedesktop.org/software/pkgconfig"
13556 if test $succeeded = yes; then
13563 if test "x${MOZILLA_FOUND}" = xno; then
13567 if test -z "$PKG_CONFIG"; then
13568 # Extract the first word of "pkg-config", so it can be a program name with args.
13569 set dummy pkg-config; ac_word=$2
13570 echo "$as_me:$LINENO: checking for $ac_word" >&5
13571 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
13572 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
13573 echo $ECHO_N "(cached) $ECHO_C" >&6
13575 case $PKG_CONFIG in
13577 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
13580 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13581 for as_dir in $PATH
13584 test -z "$as_dir" && as_dir=.
13585 for ac_exec_ext in '' $ac_executable_extensions; do
13586 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
13587 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
13588 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
13594 test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG="no"
13598 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
13600 if test -n "$PKG_CONFIG"; then
13601 echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
13602 echo "${ECHO_T}$PKG_CONFIG" >&6
13604 echo "$as_me:$LINENO: result: no" >&5
13605 echo "${ECHO_T}no" >&6
13610 if test "$PKG_CONFIG" = "no" ; then
13611 echo "*** The pkg-config script could not be found. Make sure it is"
13612 echo "*** in your path, or set the PKG_CONFIG environment variable"
13613 echo "*** to the full path to pkg-config."
13614 echo "*** Or see http://www.freedesktop.org/software/pkgconfig to get pkg-config."
13616 PKG_CONFIG_MIN_VERSION=0.9.0
13617 if $PKG_CONFIG --atleast-pkgconfig-version $PKG_CONFIG_MIN_VERSION; then
13618 echo "$as_me:$LINENO: checking for seamonkey-plugin" >&5
13619 echo $ECHO_N "checking for seamonkey-plugin... $ECHO_C" >&6
13621 if $PKG_CONFIG --exists "seamonkey-plugin" ; then
13622 echo "$as_me:$LINENO: result: yes" >&5
13623 echo "${ECHO_T}yes" >&6
13626 echo "$as_me:$LINENO: checking MOZILLA_CFLAGS" >&5
13627 echo $ECHO_N "checking MOZILLA_CFLAGS... $ECHO_C" >&6
13628 MOZILLA_CFLAGS=`$PKG_CONFIG --cflags "seamonkey-plugin"`
13629 echo "$as_me:$LINENO: result: $MOZILLA_CFLAGS" >&5
13630 echo "${ECHO_T}$MOZILLA_CFLAGS" >&6
13632 echo "$as_me:$LINENO: checking MOZILLA_LIBS" >&5
13633 echo $ECHO_N "checking MOZILLA_LIBS... $ECHO_C" >&6
13634 MOZILLA_LIBS=`$PKG_CONFIG --libs "seamonkey-plugin"`
13635 echo "$as_me:$LINENO: result: $MOZILLA_LIBS" >&5
13636 echo "${ECHO_T}$MOZILLA_LIBS" >&6
13640 ## If we have a custom action on failure, don't print errors, but
13641 ## do set a variable so people can do so.
13642 MOZILLA_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "seamonkey-plugin"`
13649 echo "*** Your version of pkg-config is too old. You need version $PKG_CONFIG_MIN_VERSION or newer."
13650 echo "*** See http://www.freedesktop.org/software/pkgconfig"
13654 if test $succeeded = yes; then
13664 if test -z "$PKG_CONFIG"; then
13665 # Extract the first word of "pkg-config", so it can be a program name with args.
13666 set dummy pkg-config; ac_word=$2
13667 echo "$as_me:$LINENO: checking for $ac_word" >&5
13668 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
13669 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
13670 echo $ECHO_N "(cached) $ECHO_C" >&6
13672 case $PKG_CONFIG in
13674 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
13677 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13678 for as_dir in $PATH
13681 test -z "$as_dir" && as_dir=.
13682 for ac_exec_ext in '' $ac_executable_extensions; do
13683 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
13684 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
13685 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
13691 test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG="no"
13695 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
13697 if test -n "$PKG_CONFIG"; then
13698 echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
13699 echo "${ECHO_T}$PKG_CONFIG" >&6
13701 echo "$as_me:$LINENO: result: no" >&5
13702 echo "${ECHO_T}no" >&6
13707 if test "$PKG_CONFIG" = "no" ; then
13708 echo "*** The pkg-config script could not be found. Make sure it is"
13709 echo "*** in your path, or set the PKG_CONFIG environment variable"
13710 echo "*** to the full path to pkg-config."
13711 echo "*** Or see http://www.freedesktop.org/software/pkgconfig to get pkg-config."
13713 PKG_CONFIG_MIN_VERSION=0.9.0
13714 if $PKG_CONFIG --atleast-pkgconfig-version $PKG_CONFIG_MIN_VERSION; then
13715 echo "$as_me:$LINENO: checking for glib-2.0" >&5
13716 echo $ECHO_N "checking for glib-2.0... $ECHO_C" >&6
13718 if $PKG_CONFIG --exists "glib-2.0" ; then
13719 echo "$as_me:$LINENO: result: yes" >&5
13720 echo "${ECHO_T}yes" >&6
13723 echo "$as_me:$LINENO: checking GLIB_CFLAGS" >&5
13724 echo $ECHO_N "checking GLIB_CFLAGS... $ECHO_C" >&6
13725 GLIB_CFLAGS=`$PKG_CONFIG --cflags "glib-2.0"`
13726 echo "$as_me:$LINENO: result: $GLIB_CFLAGS" >&5
13727 echo "${ECHO_T}$GLIB_CFLAGS" >&6
13729 echo "$as_me:$LINENO: checking GLIB_LIBS" >&5
13730 echo $ECHO_N "checking GLIB_LIBS... $ECHO_C" >&6
13731 GLIB_LIBS=`$PKG_CONFIG --libs "glib-2.0"`
13732 echo "$as_me:$LINENO: result: $GLIB_LIBS" >&5
13733 echo "${ECHO_T}$GLIB_LIBS" >&6
13737 ## If we have a custom action on failure, don't print errors, but
13738 ## do set a variable so people can do so.
13739 GLIB_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "glib-2.0"`
13740 echo $GLIB_PKG_ERRORS
13746 echo "*** Your version of pkg-config is too old. You need version $PKG_CONFIG_MIN_VERSION or newer."
13747 echo "*** See http://www.freedesktop.org/software/pkgconfig"
13751 if test $succeeded = yes; then
13754 { { 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
13755 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;}
13756 { (exit 1); exit 1; }; }
13765 PLUGIN_DIR=$HOME/.mozilla/plugins/
13772 # Check whether --with-javah or --without-javah was given.
13773 if test "${with_javah+set}" = set; then
13774 withval="$with_javah"
13776 if test "x${withval}" != x && test "x${withval}" != xyes && test "x${withval}" != xno; then
13778 if test "x${withval}" != x; then
13779 if test -f "${withval}"; then
13780 USER_JAVAH="${withval}"
13782 # Extract the first word of ""${withval}"", so it can be a program name with args.
13783 set dummy "${withval}"; ac_word=$2
13784 echo "$as_me:$LINENO: checking for $ac_word" >&5
13785 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
13786 if test "${ac_cv_path_USER_JAVAH+set}" = set; then
13787 echo $ECHO_N "(cached) $ECHO_C" >&6
13789 case $USER_JAVAH in
13791 ac_cv_path_USER_JAVAH="$USER_JAVAH" # Let the user override the test with a path.
13794 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13795 for as_dir in $PATH
13798 test -z "$as_dir" && as_dir=.
13799 for ac_exec_ext in '' $ac_executable_extensions; do
13800 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
13801 ac_cv_path_USER_JAVAH="$as_dir/$ac_word$ac_exec_ext"
13802 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
13811 USER_JAVAH=$ac_cv_path_USER_JAVAH
13813 if test -n "$USER_JAVAH"; then
13814 echo "$as_me:$LINENO: result: $USER_JAVAH" >&5
13815 echo "${ECHO_T}$USER_JAVAH" >&6
13817 echo "$as_me:$LINENO: result: no" >&5
13818 echo "${ECHO_T}no" >&6
13823 for javah_name in gcjh javah; do
13824 # Extract the first word of ""$javah_name"", so it can be a program name with args.
13825 set dummy "$javah_name"; ac_word=$2
13826 echo "$as_me:$LINENO: checking for $ac_word" >&5
13827 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
13828 if test "${ac_cv_path_USER_JAVAH+set}" = set; then
13829 echo $ECHO_N "(cached) $ECHO_C" >&6
13831 case $USER_JAVAH in
13833 ac_cv_path_USER_JAVAH="$USER_JAVAH" # Let the user override the test with a path.
13836 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13837 for as_dir in $PATH
13840 test -z "$as_dir" && as_dir=.
13841 for ac_exec_ext in '' $ac_executable_extensions; do
13842 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
13843 ac_cv_path_USER_JAVAH="$as_dir/$ac_word$ac_exec_ext"
13844 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
13853 USER_JAVAH=$ac_cv_path_USER_JAVAH
13855 if test -n "$USER_JAVAH"; then
13856 echo "$as_me:$LINENO: result: $USER_JAVAH" >&5
13857 echo "${ECHO_T}$USER_JAVAH" >&6
13859 echo "$as_me:$LINENO: result: no" >&5
13860 echo "${ECHO_T}no" >&6
13863 if test "x${USER_JAVAH}" != x; then
13869 # if test "x${USER_JAVAH}" = x; then
13870 # echo "configure: cannot find javah" 1>&2
13876 if test "x" != x; then
13877 if test -f ""; then
13880 # Extract the first word of """", so it can be a program name with args.
13881 set dummy ""; ac_word=$2
13882 echo "$as_me:$LINENO: checking for $ac_word" >&5
13883 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
13884 if test "${ac_cv_path_USER_JAVAH+set}" = set; then
13885 echo $ECHO_N "(cached) $ECHO_C" >&6
13887 case $USER_JAVAH in
13889 ac_cv_path_USER_JAVAH="$USER_JAVAH" # Let the user override the test with a path.
13892 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13893 for as_dir in $PATH
13896 test -z "$as_dir" && as_dir=.
13897 for ac_exec_ext in '' $ac_executable_extensions; do
13898 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
13899 ac_cv_path_USER_JAVAH="$as_dir/$ac_word$ac_exec_ext"
13900 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
13909 USER_JAVAH=$ac_cv_path_USER_JAVAH
13911 if test -n "$USER_JAVAH"; then
13912 echo "$as_me:$LINENO: result: $USER_JAVAH" >&5
13913 echo "${ECHO_T}$USER_JAVAH" >&6
13915 echo "$as_me:$LINENO: result: no" >&5
13916 echo "${ECHO_T}no" >&6
13921 for javah_name in gcjh javah; do
13922 # Extract the first word of ""$javah_name"", so it can be a program name with args.
13923 set dummy "$javah_name"; ac_word=$2
13924 echo "$as_me:$LINENO: checking for $ac_word" >&5
13925 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
13926 if test "${ac_cv_path_USER_JAVAH+set}" = set; then
13927 echo $ECHO_N "(cached) $ECHO_C" >&6
13929 case $USER_JAVAH in
13931 ac_cv_path_USER_JAVAH="$USER_JAVAH" # Let the user override the test with a path.
13934 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13935 for as_dir in $PATH
13938 test -z "$as_dir" && as_dir=.
13939 for ac_exec_ext in '' $ac_executable_extensions; do
13940 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
13941 ac_cv_path_USER_JAVAH="$as_dir/$ac_word$ac_exec_ext"
13942 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
13951 USER_JAVAH=$ac_cv_path_USER_JAVAH
13953 if test -n "$USER_JAVAH"; then
13954 echo "$as_me:$LINENO: result: $USER_JAVAH" >&5
13955 echo "${ECHO_T}$USER_JAVAH" >&6
13957 echo "$as_me:$LINENO: result: no" >&5
13958 echo "${ECHO_T}no" >&6
13961 if test "x${USER_JAVAH}" != x; then
13967 # if test "x${USER_JAVAH}" = x; then
13968 # echo "configure: cannot find javah" 1>&2
13977 if test "x" != x; then
13978 if test -f ""; then
13981 # Extract the first word of """", so it can be a program name with args.
13982 set dummy ""; ac_word=$2
13983 echo "$as_me:$LINENO: checking for $ac_word" >&5
13984 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
13985 if test "${ac_cv_path_USER_JAVAH+set}" = set; then
13986 echo $ECHO_N "(cached) $ECHO_C" >&6
13988 case $USER_JAVAH in
13990 ac_cv_path_USER_JAVAH="$USER_JAVAH" # Let the user override the test with a path.
13993 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13994 for as_dir in $PATH
13997 test -z "$as_dir" && as_dir=.
13998 for ac_exec_ext in '' $ac_executable_extensions; do
13999 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
14000 ac_cv_path_USER_JAVAH="$as_dir/$ac_word$ac_exec_ext"
14001 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
14010 USER_JAVAH=$ac_cv_path_USER_JAVAH
14012 if test -n "$USER_JAVAH"; then
14013 echo "$as_me:$LINENO: result: $USER_JAVAH" >&5
14014 echo "${ECHO_T}$USER_JAVAH" >&6
14016 echo "$as_me:$LINENO: result: no" >&5
14017 echo "${ECHO_T}no" >&6
14022 for javah_name in gcjh javah; do
14023 # Extract the first word of ""$javah_name"", so it can be a program name with args.
14024 set dummy "$javah_name"; ac_word=$2
14025 echo "$as_me:$LINENO: checking for $ac_word" >&5
14026 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
14027 if test "${ac_cv_path_USER_JAVAH+set}" = set; then
14028 echo $ECHO_N "(cached) $ECHO_C" >&6
14030 case $USER_JAVAH in
14032 ac_cv_path_USER_JAVAH="$USER_JAVAH" # Let the user override the test with a path.
14035 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
14036 for as_dir in $PATH
14039 test -z "$as_dir" && as_dir=.
14040 for ac_exec_ext in '' $ac_executable_extensions; do
14041 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
14042 ac_cv_path_USER_JAVAH="$as_dir/$ac_word$ac_exec_ext"
14043 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
14052 USER_JAVAH=$ac_cv_path_USER_JAVAH
14054 if test -n "$USER_JAVAH"; then
14055 echo "$as_me:$LINENO: result: $USER_JAVAH" >&5
14056 echo "${ECHO_T}$USER_JAVAH" >&6
14058 echo "$as_me:$LINENO: result: no" >&5
14059 echo "${ECHO_T}no" >&6
14062 if test "x${USER_JAVAH}" != x; then
14068 # if test "x${USER_JAVAH}" = x; then
14069 # echo "configure: cannot find javah" 1>&2
14077 if test "x${USER_JAVAH}" != x; then
14078 USER_SPECIFIED_JAVAH_TRUE=
14079 USER_SPECIFIED_JAVAH_FALSE='#'
14081 USER_SPECIFIED_JAVAH_TRUE='#'
14082 USER_SPECIFIED_JAVAH_FALSE=
14088 CLASSPATH_INCLUDES="-I\$(top_srcdir)/include -I\$(top_srcdir)/native/jni/classpath -I\$(top_srcdir)/native/jni/native-lib"
14091 if test "x${COMPILE_JNI}" = xyes; then
14092 echo "$as_me:$LINENO: checking jni_md.h support" >&5
14093 echo $ECHO_N "checking jni_md.h support... $ECHO_C" >&6
14094 if test -f ${srcdir}/include/jni_md-${target_cpu}-${target_os}.h; then
14095 echo "$as_me:$LINENO: result: yes" >&5
14096 echo "${ECHO_T}yes" >&6
14099 target_os=linux-gnu
14100 { echo "$as_me:$LINENO: WARNING: no" >&5
14101 echo "$as_me: WARNING: no" >&2;}
14103 ac_sources="include/jni_md-${target_cpu}-${target_os}.h"
14104 ac_dests="include/jni_md.h"
14105 while test -n "$ac_sources"; do
14106 set $ac_dests; ac_dest=$1; shift; ac_dests=$*
14107 set $ac_sources; ac_source=$1; shift; ac_sources=$*
14108 ac_config_links_1="$ac_config_links_1 $ac_dest:$ac_source"
14110 ac_config_links="$ac_config_links $ac_config_links_1"
14115 user_specified_javac=
14119 # Check whether --with-gcj or --without-gcj was given.
14120 if test "${with_gcj+set}" = set; then
14121 withval="$with_gcj"
14123 if test "x${withval}" != x && test "x${withval}" != xyes && test "x${withval}" != xno; then
14125 if test "x${withval}" != x; then
14126 if test -f "${withval}"; then
14129 # Extract the first word of ""${withval}"", so it can be a program name with args.
14130 set dummy "${withval}"; ac_word=$2
14131 echo "$as_me:$LINENO: checking for $ac_word" >&5
14132 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
14133 if test "${ac_cv_path_GCJ+set}" = set; then
14134 echo $ECHO_N "(cached) $ECHO_C" >&6
14138 ac_cv_path_GCJ="$GCJ" # Let the user override the test with a path.
14141 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
14142 for as_dir in $PATH
14145 test -z "$as_dir" && as_dir=.
14146 for ac_exec_ext in '' $ac_executable_extensions; do
14147 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
14148 ac_cv_path_GCJ="$as_dir/$ac_word$ac_exec_ext"
14149 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
14158 GCJ=$ac_cv_path_GCJ
14160 if test -n "$GCJ"; then
14161 echo "$as_me:$LINENO: result: $GCJ" >&5
14162 echo "${ECHO_T}$GCJ" >&6
14164 echo "$as_me:$LINENO: result: no" >&5
14165 echo "${ECHO_T}no" >&6
14170 # Extract the first word of ""gcj"", so it can be a program name with args.
14171 set dummy "gcj"; ac_word=$2
14172 echo "$as_me:$LINENO: checking for $ac_word" >&5
14173 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
14174 if test "${ac_cv_path_GCJ+set}" = set; then
14175 echo $ECHO_N "(cached) $ECHO_C" >&6
14179 ac_cv_path_GCJ="$GCJ" # Let the user override the test with a path.
14182 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
14183 for as_dir in $PATH
14186 test -z "$as_dir" && as_dir=.
14187 for ac_exec_ext in '' $ac_executable_extensions; do
14188 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
14189 ac_cv_path_GCJ="$as_dir/$ac_word$ac_exec_ext"
14190 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
14199 GCJ=$ac_cv_path_GCJ
14201 if test -n "$GCJ"; then
14202 echo "$as_me:$LINENO: result: $GCJ" >&5
14203 echo "${ECHO_T}$GCJ" >&6
14205 echo "$as_me:$LINENO: result: no" >&5
14206 echo "${ECHO_T}no" >&6
14210 if test "x$GCJ" != x; then
14211 echo "$as_me:$LINENO: checking gcj version 4.0" >&5
14212 echo $ECHO_N "checking gcj version 4.0... $ECHO_C" >&6
14214 ac_cpp='$CPP $CPPFLAGS'
14215 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14216 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14217 ac_compiler_gnu=$ac_cv_c_compiler_gnu
14219 cat >conftest.$ac_ext <<_ACEOF
14221 #error GCJ 4.0.0 or higher is required
14225 $GCJ -E conftest.c > /dev/null
14227 if test "x$gcj_4_result" = "x0"; then
14228 echo "$as_me:$LINENO: result: 4.0 or higher found" >&5
14229 echo "${ECHO_T}4.0 or higher found" >&6
14231 { echo "$as_me:$LINENO: WARNING: 4.0 or higher required" >&5
14232 echo "$as_me: WARNING: 4.0 or higher required" >&2;}
14235 ac_cpp='$CPP $CPPFLAGS'
14236 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14237 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14238 ac_compiler_gnu=$ac_cv_c_compiler_gnu
14243 if test "x${withval}" != xno; then
14245 if test "x" != x; then
14246 if test -f ""; then
14249 # Extract the first word of """", so it can be a program name with args.
14250 set dummy ""; ac_word=$2
14251 echo "$as_me:$LINENO: checking for $ac_word" >&5
14252 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
14253 if test "${ac_cv_path_GCJ+set}" = set; then
14254 echo $ECHO_N "(cached) $ECHO_C" >&6
14258 ac_cv_path_GCJ="$GCJ" # Let the user override the test with a path.
14261 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
14262 for as_dir in $PATH
14265 test -z "$as_dir" && as_dir=.
14266 for ac_exec_ext in '' $ac_executable_extensions; do
14267 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
14268 ac_cv_path_GCJ="$as_dir/$ac_word$ac_exec_ext"
14269 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
14278 GCJ=$ac_cv_path_GCJ
14280 if test -n "$GCJ"; then
14281 echo "$as_me:$LINENO: result: $GCJ" >&5
14282 echo "${ECHO_T}$GCJ" >&6
14284 echo "$as_me:$LINENO: result: no" >&5
14285 echo "${ECHO_T}no" >&6
14290 # Extract the first word of ""gcj"", so it can be a program name with args.
14291 set dummy "gcj"; ac_word=$2
14292 echo "$as_me:$LINENO: checking for $ac_word" >&5
14293 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
14294 if test "${ac_cv_path_GCJ+set}" = set; then
14295 echo $ECHO_N "(cached) $ECHO_C" >&6
14299 ac_cv_path_GCJ="$GCJ" # Let the user override the test with a path.
14302 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
14303 for as_dir in $PATH
14306 test -z "$as_dir" && as_dir=.
14307 for ac_exec_ext in '' $ac_executable_extensions; do
14308 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
14309 ac_cv_path_GCJ="$as_dir/$ac_word$ac_exec_ext"
14310 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
14319 GCJ=$ac_cv_path_GCJ
14321 if test -n "$GCJ"; then
14322 echo "$as_me:$LINENO: result: $GCJ" >&5
14323 echo "${ECHO_T}$GCJ" >&6
14325 echo "$as_me:$LINENO: result: no" >&5
14326 echo "${ECHO_T}no" >&6
14330 if test "x$GCJ" != x; then
14331 echo "$as_me:$LINENO: checking gcj version 4.0" >&5
14332 echo $ECHO_N "checking gcj version 4.0... $ECHO_C" >&6
14334 ac_cpp='$CPP $CPPFLAGS'
14335 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14336 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14337 ac_compiler_gnu=$ac_cv_c_compiler_gnu
14339 cat >conftest.$ac_ext <<_ACEOF
14341 #error GCJ 4.0.0 or higher is required
14345 $GCJ -E conftest.c > /dev/null
14347 if test "x$gcj_4_result" = "x0"; then
14348 echo "$as_me:$LINENO: result: 4.0 or higher found" >&5
14349 echo "${ECHO_T}4.0 or higher found" >&6
14351 { echo "$as_me:$LINENO: WARNING: 4.0 or higher required" >&5
14352 echo "$as_me: WARNING: 4.0 or higher required" >&2;}
14355 ac_cpp='$CPP $CPPFLAGS'
14356 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14357 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14358 ac_compiler_gnu=$ac_cv_c_compiler_gnu
14364 user_specified_javac=gcj
14369 if test "x" != x; then
14370 if test -f ""; then
14373 # Extract the first word of """", so it can be a program name with args.
14374 set dummy ""; ac_word=$2
14375 echo "$as_me:$LINENO: checking for $ac_word" >&5
14376 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
14377 if test "${ac_cv_path_GCJ+set}" = set; then
14378 echo $ECHO_N "(cached) $ECHO_C" >&6
14382 ac_cv_path_GCJ="$GCJ" # Let the user override the test with a path.
14385 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
14386 for as_dir in $PATH
14389 test -z "$as_dir" && as_dir=.
14390 for ac_exec_ext in '' $ac_executable_extensions; do
14391 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
14392 ac_cv_path_GCJ="$as_dir/$ac_word$ac_exec_ext"
14393 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
14402 GCJ=$ac_cv_path_GCJ
14404 if test -n "$GCJ"; then
14405 echo "$as_me:$LINENO: result: $GCJ" >&5
14406 echo "${ECHO_T}$GCJ" >&6
14408 echo "$as_me:$LINENO: result: no" >&5
14409 echo "${ECHO_T}no" >&6
14414 # Extract the first word of ""gcj"", so it can be a program name with args.
14415 set dummy "gcj"; ac_word=$2
14416 echo "$as_me:$LINENO: checking for $ac_word" >&5
14417 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
14418 if test "${ac_cv_path_GCJ+set}" = set; then
14419 echo $ECHO_N "(cached) $ECHO_C" >&6
14423 ac_cv_path_GCJ="$GCJ" # Let the user override the test with a path.
14426 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
14427 for as_dir in $PATH
14430 test -z "$as_dir" && as_dir=.
14431 for ac_exec_ext in '' $ac_executable_extensions; do
14432 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
14433 ac_cv_path_GCJ="$as_dir/$ac_word$ac_exec_ext"
14434 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
14443 GCJ=$ac_cv_path_GCJ
14445 if test -n "$GCJ"; then
14446 echo "$as_me:$LINENO: result: $GCJ" >&5
14447 echo "${ECHO_T}$GCJ" >&6
14449 echo "$as_me:$LINENO: result: no" >&5
14450 echo "${ECHO_T}no" >&6
14454 if test "x$GCJ" != x; then
14455 echo "$as_me:$LINENO: checking gcj version 4.0" >&5
14456 echo $ECHO_N "checking gcj version 4.0... $ECHO_C" >&6
14458 ac_cpp='$CPP $CPPFLAGS'
14459 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14460 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14461 ac_compiler_gnu=$ac_cv_c_compiler_gnu
14463 cat >conftest.$ac_ext <<_ACEOF
14465 #error GCJ 4.0.0 or higher is required
14469 $GCJ -E conftest.c > /dev/null
14471 if test "x$gcj_4_result" = "x0"; then
14472 echo "$as_me:$LINENO: result: 4.0 or higher found" >&5
14473 echo "${ECHO_T}4.0 or higher found" >&6
14475 { echo "$as_me:$LINENO: WARNING: 4.0 or higher required" >&5
14476 echo "$as_me: WARNING: 4.0 or higher required" >&2;}
14479 ac_cpp='$CPP $CPPFLAGS'
14480 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14481 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14482 ac_compiler_gnu=$ac_cv_c_compiler_gnu
14492 # Check whether --with-jikes or --without-jikes was given.
14493 if test "${with_jikes+set}" = set; then
14494 withval="$with_jikes"
14496 if test "x${withval}" != x && test "x${withval}" != xyes && test "x${withval}" != xno; then
14498 if test "x${withval}" != x; then
14499 if test -f "${withval}"; then
14502 # Extract the first word of ""${withval}"", so it can be a program name with args.
14503 set dummy "${withval}"; ac_word=$2
14504 echo "$as_me:$LINENO: checking for $ac_word" >&5
14505 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
14506 if test "${ac_cv_path_JIKES+set}" = set; then
14507 echo $ECHO_N "(cached) $ECHO_C" >&6
14511 ac_cv_path_JIKES="$JIKES" # Let the user override the test with a path.
14514 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
14515 for as_dir in $PATH
14518 test -z "$as_dir" && as_dir=.
14519 for ac_exec_ext in '' $ac_executable_extensions; do
14520 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
14521 ac_cv_path_JIKES="$as_dir/$ac_word$ac_exec_ext"
14522 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
14531 JIKES=$ac_cv_path_JIKES
14533 if test -n "$JIKES"; then
14534 echo "$as_me:$LINENO: result: $JIKES" >&5
14535 echo "${ECHO_T}$JIKES" >&6
14537 echo "$as_me:$LINENO: result: no" >&5
14538 echo "${ECHO_T}no" >&6
14543 # Extract the first word of ""jikes"", so it can be a program name with args.
14544 set dummy "jikes"; ac_word=$2
14545 echo "$as_me:$LINENO: checking for $ac_word" >&5
14546 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
14547 if test "${ac_cv_path_JIKES+set}" = set; then
14548 echo $ECHO_N "(cached) $ECHO_C" >&6
14552 ac_cv_path_JIKES="$JIKES" # Let the user override the test with a path.
14555 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
14556 for as_dir in $PATH
14559 test -z "$as_dir" && as_dir=.
14560 for ac_exec_ext in '' $ac_executable_extensions; do
14561 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
14562 ac_cv_path_JIKES="$as_dir/$ac_word$ac_exec_ext"
14563 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
14572 JIKES=$ac_cv_path_JIKES
14574 if test -n "$JIKES"; then
14575 echo "$as_me:$LINENO: result: $JIKES" >&5
14576 echo "${ECHO_T}$JIKES" >&6
14578 echo "$as_me:$LINENO: result: no" >&5
14579 echo "${ECHO_T}no" >&6
14583 if test "x$JIKES" != "x"; then
14584 echo "$as_me:$LINENO: checking jikes version" >&5
14585 echo $ECHO_N "checking jikes version... $ECHO_C" >&6
14586 JIKES_VERSION=`$JIKES --version | awk '/^Jikes Compiler/' | cut -d ' ' -f 5`
14587 JIKES_VERSION_MAJOR=`echo "$JIKES_VERSION" | cut -d '.' -f 1`
14588 JIKES_VERSION_MINOR=`echo "$JIKES_VERSION" | cut -d '.' -f 2`
14589 if expr "$JIKES_VERSION_MAJOR" = 1 > /dev/null; then
14590 if expr "$JIKES_VERSION_MINOR" \< 19 > /dev/null; then
14594 if test "x$JIKES" != "x"; then
14595 echo "$as_me:$LINENO: result: $JIKES_VERSION" >&5
14596 echo "${ECHO_T}$JIKES_VERSION" >&6
14598 { echo "$as_me:$LINENO: WARNING: $JIKES_VERSION: jikes 1.19 or higher required" >&5
14599 echo "$as_me: WARNING: $JIKES_VERSION: jikes 1.19 or higher required" >&2;}
14603 if test -n "`$JIKES --help 2>&1 | grep encoding`"; then
14604 JIKESENCODING='-encoding UTF-8'
14608 JIKESWARNINGS="+Pno-switchcheck"
14609 if test "x$JIKES_VERSION_MAJOR" = x"1" ; then
14610 if ! test "x$JIKES_VERSION_MINOR" = x"19"; then
14611 JIKESWARNINGS="$JIKESWARNINGS +Pno-shadow"
14619 if test "x${withval}" != xno; then
14621 if test "x" != x; then
14622 if test -f ""; then
14625 # Extract the first word of """", so it can be a program name with args.
14626 set dummy ""; ac_word=$2
14627 echo "$as_me:$LINENO: checking for $ac_word" >&5
14628 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
14629 if test "${ac_cv_path_JIKES+set}" = set; then
14630 echo $ECHO_N "(cached) $ECHO_C" >&6
14634 ac_cv_path_JIKES="$JIKES" # Let the user override the test with a path.
14637 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
14638 for as_dir in $PATH
14641 test -z "$as_dir" && as_dir=.
14642 for ac_exec_ext in '' $ac_executable_extensions; do
14643 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
14644 ac_cv_path_JIKES="$as_dir/$ac_word$ac_exec_ext"
14645 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
14654 JIKES=$ac_cv_path_JIKES
14656 if test -n "$JIKES"; then
14657 echo "$as_me:$LINENO: result: $JIKES" >&5
14658 echo "${ECHO_T}$JIKES" >&6
14660 echo "$as_me:$LINENO: result: no" >&5
14661 echo "${ECHO_T}no" >&6
14666 # Extract the first word of ""jikes"", so it can be a program name with args.
14667 set dummy "jikes"; ac_word=$2
14668 echo "$as_me:$LINENO: checking for $ac_word" >&5
14669 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
14670 if test "${ac_cv_path_JIKES+set}" = set; then
14671 echo $ECHO_N "(cached) $ECHO_C" >&6
14675 ac_cv_path_JIKES="$JIKES" # Let the user override the test with a path.
14678 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
14679 for as_dir in $PATH
14682 test -z "$as_dir" && as_dir=.
14683 for ac_exec_ext in '' $ac_executable_extensions; do
14684 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
14685 ac_cv_path_JIKES="$as_dir/$ac_word$ac_exec_ext"
14686 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
14695 JIKES=$ac_cv_path_JIKES
14697 if test -n "$JIKES"; then
14698 echo "$as_me:$LINENO: result: $JIKES" >&5
14699 echo "${ECHO_T}$JIKES" >&6
14701 echo "$as_me:$LINENO: result: no" >&5
14702 echo "${ECHO_T}no" >&6
14706 if test "x$JIKES" != "x"; then
14707 echo "$as_me:$LINENO: checking jikes version" >&5
14708 echo $ECHO_N "checking jikes version... $ECHO_C" >&6
14709 JIKES_VERSION=`$JIKES --version | awk '/^Jikes Compiler/' | cut -d ' ' -f 5`
14710 JIKES_VERSION_MAJOR=`echo "$JIKES_VERSION" | cut -d '.' -f 1`
14711 JIKES_VERSION_MINOR=`echo "$JIKES_VERSION" | cut -d '.' -f 2`
14712 if expr "$JIKES_VERSION_MAJOR" = 1 > /dev/null; then
14713 if expr "$JIKES_VERSION_MINOR" \< 19 > /dev/null; then
14717 if test "x$JIKES" != "x"; then
14718 echo "$as_me:$LINENO: result: $JIKES_VERSION" >&5
14719 echo "${ECHO_T}$JIKES_VERSION" >&6
14721 { echo "$as_me:$LINENO: WARNING: $JIKES_VERSION: jikes 1.19 or higher required" >&5
14722 echo "$as_me: WARNING: $JIKES_VERSION: jikes 1.19 or higher required" >&2;}
14726 if test -n "`$JIKES --help 2>&1 | grep encoding`"; then
14727 JIKESENCODING='-encoding UTF-8'
14731 JIKESWARNINGS="+Pno-switchcheck"
14732 if test "x$JIKES_VERSION_MAJOR" = x"1" ; then
14733 if ! test "x$JIKES_VERSION_MINOR" = x"19"; then
14734 JIKESWARNINGS="$JIKESWARNINGS +Pno-shadow"
14743 user_specified_javac=jikes
14748 if test "x" != x; then
14749 if test -f ""; then
14752 # Extract the first word of """", so it can be a program name with args.
14753 set dummy ""; ac_word=$2
14754 echo "$as_me:$LINENO: checking for $ac_word" >&5
14755 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
14756 if test "${ac_cv_path_JIKES+set}" = set; then
14757 echo $ECHO_N "(cached) $ECHO_C" >&6
14761 ac_cv_path_JIKES="$JIKES" # Let the user override the test with a path.
14764 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
14765 for as_dir in $PATH
14768 test -z "$as_dir" && as_dir=.
14769 for ac_exec_ext in '' $ac_executable_extensions; do
14770 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
14771 ac_cv_path_JIKES="$as_dir/$ac_word$ac_exec_ext"
14772 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
14781 JIKES=$ac_cv_path_JIKES
14783 if test -n "$JIKES"; then
14784 echo "$as_me:$LINENO: result: $JIKES" >&5
14785 echo "${ECHO_T}$JIKES" >&6
14787 echo "$as_me:$LINENO: result: no" >&5
14788 echo "${ECHO_T}no" >&6
14793 # Extract the first word of ""jikes"", so it can be a program name with args.
14794 set dummy "jikes"; ac_word=$2
14795 echo "$as_me:$LINENO: checking for $ac_word" >&5
14796 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
14797 if test "${ac_cv_path_JIKES+set}" = set; then
14798 echo $ECHO_N "(cached) $ECHO_C" >&6
14802 ac_cv_path_JIKES="$JIKES" # Let the user override the test with a path.
14805 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
14806 for as_dir in $PATH
14809 test -z "$as_dir" && as_dir=.
14810 for ac_exec_ext in '' $ac_executable_extensions; do
14811 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
14812 ac_cv_path_JIKES="$as_dir/$ac_word$ac_exec_ext"
14813 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
14822 JIKES=$ac_cv_path_JIKES
14824 if test -n "$JIKES"; then
14825 echo "$as_me:$LINENO: result: $JIKES" >&5
14826 echo "${ECHO_T}$JIKES" >&6
14828 echo "$as_me:$LINENO: result: no" >&5
14829 echo "${ECHO_T}no" >&6
14833 if test "x$JIKES" != "x"; then
14834 echo "$as_me:$LINENO: checking jikes version" >&5
14835 echo $ECHO_N "checking jikes version... $ECHO_C" >&6
14836 JIKES_VERSION=`$JIKES --version | awk '/^Jikes Compiler/' | cut -d ' ' -f 5`
14837 JIKES_VERSION_MAJOR=`echo "$JIKES_VERSION" | cut -d '.' -f 1`
14838 JIKES_VERSION_MINOR=`echo "$JIKES_VERSION" | cut -d '.' -f 2`
14839 if expr "$JIKES_VERSION_MAJOR" = 1 > /dev/null; then
14840 if expr "$JIKES_VERSION_MINOR" \< 19 > /dev/null; then
14844 if test "x$JIKES" != "x"; then
14845 echo "$as_me:$LINENO: result: $JIKES_VERSION" >&5
14846 echo "${ECHO_T}$JIKES_VERSION" >&6
14848 { echo "$as_me:$LINENO: WARNING: $JIKES_VERSION: jikes 1.19 or higher required" >&5
14849 echo "$as_me: WARNING: $JIKES_VERSION: jikes 1.19 or higher required" >&2;}
14853 if test -n "`$JIKES --help 2>&1 | grep encoding`"; then
14854 JIKESENCODING='-encoding UTF-8'
14858 JIKESWARNINGS="+Pno-switchcheck"
14859 if test "x$JIKES_VERSION_MAJOR" = x"1" ; then
14860 if ! test "x$JIKES_VERSION_MINOR" = x"19"; then
14861 JIKESWARNINGS="$JIKESWARNINGS +Pno-shadow"
14874 # Check whether --with-kjc or --without-kjc was given.
14875 if test "${with_kjc+set}" = set; then
14876 withval="$with_kjc"
14878 if test "x${withval}" != x && test "x${withval}" != xyes && test "x${withval}" != xno; then
14880 if test "x${withval}" != x; then
14881 if test -f "${withval}"; then
14884 # Extract the first word of ""${withval}"", so it can be a program name with args.
14885 set dummy "${withval}"; ac_word=$2
14886 echo "$as_me:$LINENO: checking for $ac_word" >&5
14887 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
14888 if test "${ac_cv_path_KJC+set}" = set; then
14889 echo $ECHO_N "(cached) $ECHO_C" >&6
14893 ac_cv_path_KJC="$KJC" # Let the user override the test with a path.
14896 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
14897 for as_dir in $PATH
14900 test -z "$as_dir" && as_dir=.
14901 for ac_exec_ext in '' $ac_executable_extensions; do
14902 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
14903 ac_cv_path_KJC="$as_dir/$ac_word$ac_exec_ext"
14904 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
14913 KJC=$ac_cv_path_KJC
14915 if test -n "$KJC"; then
14916 echo "$as_me:$LINENO: result: $KJC" >&5
14917 echo "${ECHO_T}$KJC" >&6
14919 echo "$as_me:$LINENO: result: no" >&5
14920 echo "${ECHO_T}no" >&6
14925 # Extract the first word of ""kJC"", so it can be a program name with args.
14926 set dummy "kJC"; ac_word=$2
14927 echo "$as_me:$LINENO: checking for $ac_word" >&5
14928 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
14929 if test "${ac_cv_path_KJC+set}" = set; then
14930 echo $ECHO_N "(cached) $ECHO_C" >&6
14934 ac_cv_path_KJC="$KJC" # Let the user override the test with a path.
14937 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
14938 for as_dir in $PATH
14941 test -z "$as_dir" && as_dir=.
14942 for ac_exec_ext in '' $ac_executable_extensions; do
14943 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
14944 ac_cv_path_KJC="$as_dir/$ac_word$ac_exec_ext"
14945 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
14954 KJC=$ac_cv_path_KJC
14956 if test -n "$KJC"; then
14957 echo "$as_me:$LINENO: result: $KJC" >&5
14958 echo "${ECHO_T}$KJC" >&6
14960 echo "$as_me:$LINENO: result: no" >&5
14961 echo "${ECHO_T}no" >&6
14967 if test "x${withval}" != xno; then
14969 if test "x" != x; then
14970 if test -f ""; then
14973 # Extract the first word of """", so it can be a program name with args.
14974 set dummy ""; ac_word=$2
14975 echo "$as_me:$LINENO: checking for $ac_word" >&5
14976 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
14977 if test "${ac_cv_path_KJC+set}" = set; then
14978 echo $ECHO_N "(cached) $ECHO_C" >&6
14982 ac_cv_path_KJC="$KJC" # Let the user override the test with a path.
14985 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
14986 for as_dir in $PATH
14989 test -z "$as_dir" && as_dir=.
14990 for ac_exec_ext in '' $ac_executable_extensions; do
14991 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
14992 ac_cv_path_KJC="$as_dir/$ac_word$ac_exec_ext"
14993 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
15002 KJC=$ac_cv_path_KJC
15004 if test -n "$KJC"; then
15005 echo "$as_me:$LINENO: result: $KJC" >&5
15006 echo "${ECHO_T}$KJC" >&6
15008 echo "$as_me:$LINENO: result: no" >&5
15009 echo "${ECHO_T}no" >&6
15014 # Extract the first word of ""kJC"", so it can be a program name with args.
15015 set dummy "kJC"; ac_word=$2
15016 echo "$as_me:$LINENO: checking for $ac_word" >&5
15017 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
15018 if test "${ac_cv_path_KJC+set}" = set; then
15019 echo $ECHO_N "(cached) $ECHO_C" >&6
15023 ac_cv_path_KJC="$KJC" # Let the user override the test with a path.
15026 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
15027 for as_dir in $PATH
15030 test -z "$as_dir" && as_dir=.
15031 for ac_exec_ext in '' $ac_executable_extensions; do
15032 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
15033 ac_cv_path_KJC="$as_dir/$ac_word$ac_exec_ext"
15034 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
15043 KJC=$ac_cv_path_KJC
15045 if test -n "$KJC"; then
15046 echo "$as_me:$LINENO: result: $KJC" >&5
15047 echo "${ECHO_T}$KJC" >&6
15049 echo "$as_me:$LINENO: result: no" >&5
15050 echo "${ECHO_T}no" >&6
15057 user_specified_javac=kjc
15062 if test "x" != x; then
15063 if test -f ""; then
15066 # Extract the first word of """", so it can be a program name with args.
15067 set dummy ""; ac_word=$2
15068 echo "$as_me:$LINENO: checking for $ac_word" >&5
15069 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
15070 if test "${ac_cv_path_KJC+set}" = set; then
15071 echo $ECHO_N "(cached) $ECHO_C" >&6
15075 ac_cv_path_KJC="$KJC" # Let the user override the test with a path.
15078 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
15079 for as_dir in $PATH
15082 test -z "$as_dir" && as_dir=.
15083 for ac_exec_ext in '' $ac_executable_extensions; do
15084 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
15085 ac_cv_path_KJC="$as_dir/$ac_word$ac_exec_ext"
15086 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
15095 KJC=$ac_cv_path_KJC
15097 if test -n "$KJC"; then
15098 echo "$as_me:$LINENO: result: $KJC" >&5
15099 echo "${ECHO_T}$KJC" >&6
15101 echo "$as_me:$LINENO: result: no" >&5
15102 echo "${ECHO_T}no" >&6
15107 # Extract the first word of ""kJC"", so it can be a program name with args.
15108 set dummy "kJC"; ac_word=$2
15109 echo "$as_me:$LINENO: checking for $ac_word" >&5
15110 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
15111 if test "${ac_cv_path_KJC+set}" = set; then
15112 echo $ECHO_N "(cached) $ECHO_C" >&6
15116 ac_cv_path_KJC="$KJC" # Let the user override the test with a path.
15119 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
15120 for as_dir in $PATH
15123 test -z "$as_dir" && as_dir=.
15124 for ac_exec_ext in '' $ac_executable_extensions; do
15125 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
15126 ac_cv_path_KJC="$as_dir/$ac_word$ac_exec_ext"
15127 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
15136 KJC=$ac_cv_path_KJC
15138 if test -n "$KJC"; then
15139 echo "$as_me:$LINENO: result: $KJC" >&5
15140 echo "${ECHO_T}$KJC" >&6
15142 echo "$as_me:$LINENO: result: no" >&5
15143 echo "${ECHO_T}no" >&6
15154 # Check whether --with-gcjx or --without-gcjx was given.
15155 if test "${with_gcjx+set}" = set; then
15156 withval="$with_gcjx"
15158 if test "x${withval}" != x && test "x${withval}" != xyes && test "x${withval}" != xno; then
15160 if test "x${withval}" != x; then
15161 if test -f "${withval}"; then
15164 # Extract the first word of ""${withval}"", so it can be a program name with args.
15165 set dummy "${withval}"; ac_word=$2
15166 echo "$as_me:$LINENO: checking for $ac_word" >&5
15167 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
15168 if test "${ac_cv_path_GCJX+set}" = set; then
15169 echo $ECHO_N "(cached) $ECHO_C" >&6
15173 ac_cv_path_GCJX="$GCJX" # Let the user override the test with a path.
15176 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
15177 for as_dir in $PATH
15180 test -z "$as_dir" && as_dir=.
15181 for ac_exec_ext in '' $ac_executable_extensions; do
15182 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
15183 ac_cv_path_GCJX="$as_dir/$ac_word$ac_exec_ext"
15184 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
15193 GCJX=$ac_cv_path_GCJX
15195 if test -n "$GCJX"; then
15196 echo "$as_me:$LINENO: result: $GCJX" >&5
15197 echo "${ECHO_T}$GCJX" >&6
15199 echo "$as_me:$LINENO: result: no" >&5
15200 echo "${ECHO_T}no" >&6
15205 # Extract the first word of ""gcjx"", so it can be a program name with args.
15206 set dummy "gcjx"; ac_word=$2
15207 echo "$as_me:$LINENO: checking for $ac_word" >&5
15208 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
15209 if test "${ac_cv_path_GCJX+set}" = set; then
15210 echo $ECHO_N "(cached) $ECHO_C" >&6
15214 ac_cv_path_GCJX="$GCJX" # Let the user override the test with a path.
15217 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
15218 for as_dir in $PATH
15221 test -z "$as_dir" && as_dir=.
15222 for ac_exec_ext in '' $ac_executable_extensions; do
15223 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
15224 ac_cv_path_GCJX="$as_dir/$ac_word$ac_exec_ext"
15225 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
15234 GCJX=$ac_cv_path_GCJX
15236 if test -n "$GCJX"; then
15237 echo "$as_me:$LINENO: result: $GCJX" >&5
15238 echo "${ECHO_T}$GCJX" >&6
15240 echo "$as_me:$LINENO: result: no" >&5
15241 echo "${ECHO_T}no" >&6
15247 if test "x${withval}" != xno; then
15249 if test "x" != x; then
15250 if test -f ""; then
15253 # Extract the first word of """", so it can be a program name with args.
15254 set dummy ""; ac_word=$2
15255 echo "$as_me:$LINENO: checking for $ac_word" >&5
15256 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
15257 if test "${ac_cv_path_GCJX+set}" = set; then
15258 echo $ECHO_N "(cached) $ECHO_C" >&6
15262 ac_cv_path_GCJX="$GCJX" # Let the user override the test with a path.
15265 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
15266 for as_dir in $PATH
15269 test -z "$as_dir" && as_dir=.
15270 for ac_exec_ext in '' $ac_executable_extensions; do
15271 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
15272 ac_cv_path_GCJX="$as_dir/$ac_word$ac_exec_ext"
15273 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
15282 GCJX=$ac_cv_path_GCJX
15284 if test -n "$GCJX"; then
15285 echo "$as_me:$LINENO: result: $GCJX" >&5
15286 echo "${ECHO_T}$GCJX" >&6
15288 echo "$as_me:$LINENO: result: no" >&5
15289 echo "${ECHO_T}no" >&6
15294 # Extract the first word of ""gcjx"", so it can be a program name with args.
15295 set dummy "gcjx"; ac_word=$2
15296 echo "$as_me:$LINENO: checking for $ac_word" >&5
15297 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
15298 if test "${ac_cv_path_GCJX+set}" = set; then
15299 echo $ECHO_N "(cached) $ECHO_C" >&6
15303 ac_cv_path_GCJX="$GCJX" # Let the user override the test with a path.
15306 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
15307 for as_dir in $PATH
15310 test -z "$as_dir" && as_dir=.
15311 for ac_exec_ext in '' $ac_executable_extensions; do
15312 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
15313 ac_cv_path_GCJX="$as_dir/$ac_word$ac_exec_ext"
15314 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
15323 GCJX=$ac_cv_path_GCJX
15325 if test -n "$GCJX"; then
15326 echo "$as_me:$LINENO: result: $GCJX" >&5
15327 echo "${ECHO_T}$GCJX" >&6
15329 echo "$as_me:$LINENO: result: no" >&5
15330 echo "${ECHO_T}no" >&6
15337 user_specified_javac=gcjx
15342 if test "x" != x; then
15343 if test -f ""; then
15346 # Extract the first word of """", so it can be a program name with args.
15347 set dummy ""; ac_word=$2
15348 echo "$as_me:$LINENO: checking for $ac_word" >&5
15349 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
15350 if test "${ac_cv_path_GCJX+set}" = set; then
15351 echo $ECHO_N "(cached) $ECHO_C" >&6
15355 ac_cv_path_GCJX="$GCJX" # Let the user override the test with a path.
15358 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
15359 for as_dir in $PATH
15362 test -z "$as_dir" && as_dir=.
15363 for ac_exec_ext in '' $ac_executable_extensions; do
15364 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
15365 ac_cv_path_GCJX="$as_dir/$ac_word$ac_exec_ext"
15366 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
15375 GCJX=$ac_cv_path_GCJX
15377 if test -n "$GCJX"; then
15378 echo "$as_me:$LINENO: result: $GCJX" >&5
15379 echo "${ECHO_T}$GCJX" >&6
15381 echo "$as_me:$LINENO: result: no" >&5
15382 echo "${ECHO_T}no" >&6
15387 # Extract the first word of ""gcjx"", so it can be a program name with args.
15388 set dummy "gcjx"; ac_word=$2
15389 echo "$as_me:$LINENO: checking for $ac_word" >&5
15390 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
15391 if test "${ac_cv_path_GCJX+set}" = set; then
15392 echo $ECHO_N "(cached) $ECHO_C" >&6
15396 ac_cv_path_GCJX="$GCJX" # Let the user override the test with a path.
15399 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
15400 for as_dir in $PATH
15403 test -z "$as_dir" && as_dir=.
15404 for ac_exec_ext in '' $ac_executable_extensions; do
15405 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
15406 ac_cv_path_GCJX="$as_dir/$ac_word$ac_exec_ext"
15407 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
15416 GCJX=$ac_cv_path_GCJX
15418 if test -n "$GCJX"; then
15419 echo "$as_me:$LINENO: result: $GCJX" >&5
15420 echo "${ECHO_T}$GCJX" >&6
15422 echo "$as_me:$LINENO: result: no" >&5
15423 echo "${ECHO_T}no" >&6
15434 # Check whether --with-ecj or --without-ecj was given.
15435 if test "${with_ecj+set}" = set; then
15436 withval="$with_ecj"
15438 if test "x${withval}" != x && test "x${withval}" != xyes && test "x${withval}" != xno; then
15440 if test "x${withval}" != x; then
15441 if test -f "${withval}"; then
15444 # Extract the first word of ""${withval}"", so it can be a program name with args.
15445 set dummy "${withval}"; ac_word=$2
15446 echo "$as_me:$LINENO: checking for $ac_word" >&5
15447 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
15448 if test "${ac_cv_path_ECJ+set}" = set; then
15449 echo $ECHO_N "(cached) $ECHO_C" >&6
15453 ac_cv_path_ECJ="$ECJ" # Let the user override the test with a path.
15456 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
15457 for as_dir in $PATH
15460 test -z "$as_dir" && as_dir=.
15461 for ac_exec_ext in '' $ac_executable_extensions; do
15462 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
15463 ac_cv_path_ECJ="$as_dir/$ac_word$ac_exec_ext"
15464 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
15473 ECJ=$ac_cv_path_ECJ
15475 if test -n "$ECJ"; then
15476 echo "$as_me:$LINENO: result: $ECJ" >&5
15477 echo "${ECHO_T}$ECJ" >&6
15479 echo "$as_me:$LINENO: result: no" >&5
15480 echo "${ECHO_T}no" >&6
15485 # Extract the first word of ""ecj"", so it can be a program name with args.
15486 set dummy "ecj"; ac_word=$2
15487 echo "$as_me:$LINENO: checking for $ac_word" >&5
15488 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
15489 if test "${ac_cv_path_ECJ+set}" = set; then
15490 echo $ECHO_N "(cached) $ECHO_C" >&6
15494 ac_cv_path_ECJ="$ECJ" # Let the user override the test with a path.
15497 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
15498 for as_dir in $PATH
15501 test -z "$as_dir" && as_dir=.
15502 for ac_exec_ext in '' $ac_executable_extensions; do
15503 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
15504 ac_cv_path_ECJ="$as_dir/$ac_word$ac_exec_ext"
15505 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
15514 ECJ=$ac_cv_path_ECJ
15516 if test -n "$ECJ"; then
15517 echo "$as_me:$LINENO: result: $ECJ" >&5
15518 echo "${ECHO_T}$ECJ" >&6
15520 echo "$as_me:$LINENO: result: no" >&5
15521 echo "${ECHO_T}no" >&6
15527 if test "x${withval}" != xno; then
15529 if test "x" != x; then
15530 if test -f ""; then
15533 # Extract the first word of """", so it can be a program name with args.
15534 set dummy ""; ac_word=$2
15535 echo "$as_me:$LINENO: checking for $ac_word" >&5
15536 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
15537 if test "${ac_cv_path_ECJ+set}" = set; then
15538 echo $ECHO_N "(cached) $ECHO_C" >&6
15542 ac_cv_path_ECJ="$ECJ" # Let the user override the test with a path.
15545 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
15546 for as_dir in $PATH
15549 test -z "$as_dir" && as_dir=.
15550 for ac_exec_ext in '' $ac_executable_extensions; do
15551 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
15552 ac_cv_path_ECJ="$as_dir/$ac_word$ac_exec_ext"
15553 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
15562 ECJ=$ac_cv_path_ECJ
15564 if test -n "$ECJ"; then
15565 echo "$as_me:$LINENO: result: $ECJ" >&5
15566 echo "${ECHO_T}$ECJ" >&6
15568 echo "$as_me:$LINENO: result: no" >&5
15569 echo "${ECHO_T}no" >&6
15574 # Extract the first word of ""ecj"", so it can be a program name with args.
15575 set dummy "ecj"; ac_word=$2
15576 echo "$as_me:$LINENO: checking for $ac_word" >&5
15577 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
15578 if test "${ac_cv_path_ECJ+set}" = set; then
15579 echo $ECHO_N "(cached) $ECHO_C" >&6
15583 ac_cv_path_ECJ="$ECJ" # Let the user override the test with a path.
15586 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
15587 for as_dir in $PATH
15590 test -z "$as_dir" && as_dir=.
15591 for ac_exec_ext in '' $ac_executable_extensions; do
15592 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
15593 ac_cv_path_ECJ="$as_dir/$ac_word$ac_exec_ext"
15594 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
15603 ECJ=$ac_cv_path_ECJ
15605 if test -n "$ECJ"; then
15606 echo "$as_me:$LINENO: result: $ECJ" >&5
15607 echo "${ECHO_T}$ECJ" >&6
15609 echo "$as_me:$LINENO: result: no" >&5
15610 echo "${ECHO_T}no" >&6
15617 user_specified_javac=ecj
15622 if test "x" != x; then
15623 if test -f ""; then
15626 # Extract the first word of """", so it can be a program name with args.
15627 set dummy ""; ac_word=$2
15628 echo "$as_me:$LINENO: checking for $ac_word" >&5
15629 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
15630 if test "${ac_cv_path_ECJ+set}" = set; then
15631 echo $ECHO_N "(cached) $ECHO_C" >&6
15635 ac_cv_path_ECJ="$ECJ" # Let the user override the test with a path.
15638 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
15639 for as_dir in $PATH
15642 test -z "$as_dir" && as_dir=.
15643 for ac_exec_ext in '' $ac_executable_extensions; do
15644 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
15645 ac_cv_path_ECJ="$as_dir/$ac_word$ac_exec_ext"
15646 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
15655 ECJ=$ac_cv_path_ECJ
15657 if test -n "$ECJ"; then
15658 echo "$as_me:$LINENO: result: $ECJ" >&5
15659 echo "${ECHO_T}$ECJ" >&6
15661 echo "$as_me:$LINENO: result: no" >&5
15662 echo "${ECHO_T}no" >&6
15667 # Extract the first word of ""ecj"", so it can be a program name with args.
15668 set dummy "ecj"; ac_word=$2
15669 echo "$as_me:$LINENO: checking for $ac_word" >&5
15670 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
15671 if test "${ac_cv_path_ECJ+set}" = set; then
15672 echo $ECHO_N "(cached) $ECHO_C" >&6
15676 ac_cv_path_ECJ="$ECJ" # Let the user override the test with a path.
15679 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
15680 for as_dir in $PATH
15683 test -z "$as_dir" && as_dir=.
15684 for ac_exec_ext in '' $ac_executable_extensions; do
15685 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
15686 ac_cv_path_ECJ="$as_dir/$ac_word$ac_exec_ext"
15687 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
15696 ECJ=$ac_cv_path_ECJ
15698 if test -n "$ECJ"; then
15699 echo "$as_me:$LINENO: result: $ECJ" >&5
15700 echo "${ECHO_T}$ECJ" >&6
15702 echo "$as_me:$LINENO: result: no" >&5
15703 echo "${ECHO_T}no" >&6
15713 if test "x${user_specified_javac}" = x; then
15716 if test "x${GCJ}" != x; then
15718 FOUND_GCJ_FALSE='#'
15726 if test "x${JIKES}" != x; then
15728 FOUND_JIKES_FALSE='#'
15730 FOUND_JIKES_TRUE='#'
15736 if test "x${ECJ}" != x; then
15738 FOUND_ECJ_FALSE='#'
15747 if test "x${user_specified_javac}" = xgcj; then
15749 FOUND_GCJ_FALSE='#'
15757 if test "x${user_specified_javac}" = xjikes; then
15759 FOUND_JIKES_FALSE='#'
15761 FOUND_JIKES_TRUE='#'
15767 if test "x${user_specified_javac}" = xecj; then
15769 FOUND_ECJ_FALSE='#'
15778 if test "x${user_specified_javac}" = xkjc; then
15780 FOUND_KJC_FALSE='#'
15788 if test "x${user_specified_javac}" = xgcjx; then
15790 FOUND_GCJX_FALSE='#'
15792 FOUND_GCJX_TRUE='#'
15797 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
15798 { { echo "$as_me:$LINENO: error: cannot find javac, try --with-gcj, --with-jikes, --with-kjc, --with-ecj, or --with-gcjx" >&5
15799 echo "$as_me: error: cannot find javac, try --with-gcj, --with-jikes, --with-kjc, --with-ecj, or --with-gcjx" >&2;}
15800 { (exit 1); exit 1; }; }
15806 # Check whether --with-classpath or --without-classpath was given.
15807 if test "${with_classpath+set}" = set; then
15808 withval="$with_classpath"
15810 if test "x${withval}" = xyes; then
15811 # set user classpath to CLASSPATH from env
15812 echo "$as_me:$LINENO: checking for classlib" >&5
15813 echo $ECHO_N "checking for classlib... $ECHO_C" >&6
15814 USER_CLASSLIB=${CLASSPATH}
15816 echo "$as_me:$LINENO: result: ${USER_CLASSLIB}" >&5
15817 echo "${ECHO_T}${USER_CLASSLIB}" >&6
15818 conditional_with_classlib=true
15819 elif test "x${withval}" != x && test "x${withval}" != xno; then
15820 # set user classpath to specified value
15821 echo "$as_me:$LINENO: checking for classlib" >&5
15822 echo $ECHO_N "checking for classlib... $ECHO_C" >&6
15823 USER_CLASSLIB=${withval}
15825 echo "$as_me:$LINENO: result: ${withval}" >&5
15826 echo "${ECHO_T}${withval}" >&6
15827 conditional_with_classlib=true
15831 conditional_with_classlib=false
15835 if test "x${conditional_with_classlib}" = xtrue; then
15836 USER_SPECIFIED_CLASSLIB_TRUE=
15837 USER_SPECIFIED_CLASSLIB_FALSE='#'
15839 USER_SPECIFIED_CLASSLIB_TRUE='#'
15840 USER_SPECIFIED_CLASSLIB_FALSE=
15845 # Check whether --with-vm-classes or --without-vm-classes was given.
15846 if test "${with_vm_classes+set}" = set; then
15847 withval="$with_vm_classes"
15848 vm_classes="$with_vm_classes"
15850 vm_classes='${top_srcdir}/vm/reference'
15855 echo "$as_me:$LINENO: checking whether to enable maintainer-specific portions of Makefiles" >&5
15856 echo $ECHO_N "checking whether to enable maintainer-specific portions of Makefiles... $ECHO_C" >&6
15857 # Check whether --enable-maintainer-mode or --disable-maintainer-mode was given.
15858 if test "${enable_maintainer_mode+set}" = set; then
15859 enableval="$enable_maintainer_mode"
15860 USE_MAINTAINER_MODE=$enableval
15862 USE_MAINTAINER_MODE=no
15864 echo "$as_me:$LINENO: result: $USE_MAINTAINER_MODE" >&5
15865 echo "${ECHO_T}$USE_MAINTAINER_MODE" >&6
15868 if test $USE_MAINTAINER_MODE = yes; then
15869 MAINTAINER_MODE_TRUE=
15870 MAINTAINER_MODE_FALSE='#'
15872 MAINTAINER_MODE_TRUE='#'
15873 MAINTAINER_MODE_FALSE=
15876 MAINT=$MAINTAINER_MODE_TRUE
15880 # Check whether --enable-debug or --disable-debug was given.
15881 if test "${enable_debug+set}" = set; then
15882 enableval="$enable_debug"
15883 case "${enableval}" in
15887 cat >>confdefs.h <<\_ACEOF
15892 no) LIBDEBUG="false" ;;
15893 *) { { echo "$as_me:$LINENO: error: bad value ${enableval} for --enable-debug" >&5
15894 echo "$as_me: error: bad value ${enableval} for --enable-debug" >&2;}
15895 { (exit 1); exit 1; }; } ;;
15902 # Check whether --enable-load-library or --disable-load-library was given.
15903 if test "${enable_load_library+set}" = set; then
15904 enableval="$enable_load_library"
15905 case "${enableval}" in
15906 yes) INIT_LOAD_LIBRARY="true" ;;
15907 no) INIT_LOAD_LIBRARY="false" ;;
15908 *) { { echo "$as_me:$LINENO: error: bad value ${enableval} for --enable-load-library" >&5
15909 echo "$as_me: error: bad value ${enableval} for --enable-load-library" >&2;}
15910 { (exit 1); exit 1; }; } ;;
15913 INIT_LOAD_LIBRARY="true"
15918 # Check whether --enable-java-lang-system-explicit-initialization or --disable-java-lang-system-explicit-initialization was given.
15919 if test "${enable_java_lang_system_explicit_initialization+set}" = set; then
15920 enableval="$enable_java_lang_system_explicit_initialization"
15921 case "${enableval}" in
15922 yes|true) JAVA_LANG_SYSTEM_EXPLICIT_INITIALIZATION="true" ;;
15923 no|false) JAVA_LANG_SYSTEM_EXPLICIT_INITIALIZATION="false" ;;
15924 *) { { echo "$as_me:$LINENO: error: bad value ${enableval} for --enable-java-lang-system-explicit-initialization" >&5
15925 echo "$as_me: error: bad value ${enableval} for --enable-java-lang-system-explicit-initialization" >&2;}
15926 { (exit 1); exit 1; }; } ;;
15929 JAVA_LANG_SYSTEM_EXPLICIT_INITIALIZATION="false"
15937 # Extract the first word of "mkdir", so it can be a program name with args.
15938 set dummy mkdir; ac_word=$2
15939 echo "$as_me:$LINENO: checking for $ac_word" >&5
15940 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
15941 if test "${ac_cv_path_MKDIR+set}" = set; then
15942 echo $ECHO_N "(cached) $ECHO_C" >&6
15946 ac_cv_path_MKDIR="$MKDIR" # Let the user override the test with a path.
15949 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
15950 for as_dir in $PATH
15953 test -z "$as_dir" && as_dir=.
15954 for ac_exec_ext in '' $ac_executable_extensions; do
15955 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
15956 ac_cv_path_MKDIR="$as_dir/$ac_word$ac_exec_ext"
15957 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
15966 MKDIR=$ac_cv_path_MKDIR
15968 if test -n "$MKDIR"; then
15969 echo "$as_me:$LINENO: result: $MKDIR" >&5
15970 echo "${ECHO_T}$MKDIR" >&6
15972 echo "$as_me:$LINENO: result: no" >&5
15973 echo "${ECHO_T}no" >&6
15976 # Extract the first word of "cp", so it can be a program name with args.
15977 set dummy cp; ac_word=$2
15978 echo "$as_me:$LINENO: checking for $ac_word" >&5
15979 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
15980 if test "${ac_cv_path_CP+set}" = set; then
15981 echo $ECHO_N "(cached) $ECHO_C" >&6
15985 ac_cv_path_CP="$CP" # Let the user override the test with a path.
15988 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
15989 for as_dir in $PATH
15992 test -z "$as_dir" && as_dir=.
15993 for ac_exec_ext in '' $ac_executable_extensions; do
15994 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
15995 ac_cv_path_CP="$as_dir/$ac_word$ac_exec_ext"
15996 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
16007 if test -n "$CP"; then
16008 echo "$as_me:$LINENO: result: $CP" >&5
16009 echo "${ECHO_T}$CP" >&6
16011 echo "$as_me:$LINENO: result: no" >&5
16012 echo "${ECHO_T}no" >&6
16015 # Extract the first word of "date", so it can be a program name with args.
16016 set dummy date; ac_word=$2
16017 echo "$as_me:$LINENO: checking for $ac_word" >&5
16018 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
16019 if test "${ac_cv_path_DATE+set}" = set; then
16020 echo $ECHO_N "(cached) $ECHO_C" >&6
16024 ac_cv_path_DATE="$DATE" # Let the user override the test with a path.
16027 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
16028 for as_dir in $PATH
16031 test -z "$as_dir" && as_dir=.
16032 for ac_exec_ext in '' $ac_executable_extensions; do
16033 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
16034 ac_cv_path_DATE="$as_dir/$ac_word$ac_exec_ext"
16035 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
16044 DATE=$ac_cv_path_DATE
16046 if test -n "$DATE"; then
16047 echo "$as_me:$LINENO: result: $DATE" >&5
16048 echo "${ECHO_T}$DATE" >&6
16050 echo "$as_me:$LINENO: result: no" >&5
16051 echo "${ECHO_T}no" >&6
16055 # Extract the first word of "find", so it can be a program name with args.
16056 set dummy find; ac_word=$2
16057 echo "$as_me:$LINENO: checking for $ac_word" >&5
16058 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
16059 if test "${ac_cv_path_FIND+set}" = set; then
16060 echo $ECHO_N "(cached) $ECHO_C" >&6
16064 ac_cv_path_FIND="$FIND" # Let the user override the test with a path.
16067 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
16068 for as_dir in $PATH
16071 test -z "$as_dir" && as_dir=.
16072 for ac_exec_ext in '' $ac_executable_extensions; do
16073 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
16074 ac_cv_path_FIND="$as_dir/$ac_word$ac_exec_ext"
16075 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
16084 FIND=$ac_cv_path_FIND
16086 if test -n "$FIND"; then
16087 echo "$as_me:$LINENO: result: $FIND" >&5
16088 echo "${ECHO_T}$FIND" >&6
16090 echo "$as_me:$LINENO: result: no" >&5
16091 echo "${ECHO_T}no" >&6
16096 # Extract the first word of "zip", so it can be a program name with args.
16097 set dummy zip; ac_word=$2
16098 echo "$as_me:$LINENO: checking for $ac_word" >&5
16099 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
16100 if test "${ac_cv_path_ZIP+set}" = set; then
16101 echo $ECHO_N "(cached) $ECHO_C" >&6
16105 ac_cv_path_ZIP="$ZIP" # Let the user override the test with a path.
16108 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
16109 for as_dir in $PATH
16112 test -z "$as_dir" && as_dir=.
16113 for ac_exec_ext in '' $ac_executable_extensions; do
16114 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
16115 ac_cv_path_ZIP="$as_dir/$ac_word$ac_exec_ext"
16116 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
16125 ZIP=$ac_cv_path_ZIP
16127 if test -n "$ZIP"; then
16128 echo "$as_me:$LINENO: result: $ZIP" >&5
16129 echo "${ECHO_T}$ZIP" >&6
16131 echo "$as_me:$LINENO: result: no" >&5
16132 echo "${ECHO_T}no" >&6
16136 # Check whether --with-fastjar or --without-fastjar was given.
16137 if test "${with_fastjar+set}" = set; then
16138 withval="$with_fastjar"
16140 echo "$as_me:$LINENO: checking for user supplied fastjar" >&5
16141 echo $ECHO_N "checking for user supplied fastjar... $ECHO_C" >&6
16143 echo "$as_me:$LINENO: result: ${FASTJAR}" >&5
16144 echo "${ECHO_T}${FASTJAR}" >&6
16147 # Extract the first word of "fastjar", so it can be a program name with args.
16148 set dummy fastjar; ac_word=$2
16149 echo "$as_me:$LINENO: checking for $ac_word" >&5
16150 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
16151 if test "${ac_cv_path_FASTJAR+set}" = set; then
16152 echo $ECHO_N "(cached) $ECHO_C" >&6
16156 ac_cv_path_FASTJAR="$FASTJAR" # Let the user override the test with a path.
16159 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
16160 for as_dir in $PATH
16163 test -z "$as_dir" && as_dir=.
16164 for ac_exec_ext in '' $ac_executable_extensions; do
16165 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
16166 ac_cv_path_FASTJAR="$as_dir/$ac_word$ac_exec_ext"
16167 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
16176 FASTJAR=$ac_cv_path_FASTJAR
16178 if test -n "$FASTJAR"; then
16179 echo "$as_me:$LINENO: result: $FASTJAR" >&5
16180 echo "${ECHO_T}$FASTJAR" >&6
16182 echo "$as_me:$LINENO: result: no" >&5
16183 echo "${ECHO_T}no" >&6
16187 if test x"${FASTJAR}" != x; then
16192 # Check whether --with-glibj or --without-glibj was given.
16193 if test "${with_glibj+set}" = set; then
16194 withval="$with_glibj"
16196 if test "x${withval}" = xyes || test "x${withval}" = xzip; then
16197 install_class_files=no
16198 build_class_files=yes
16200 elif test "x${withval}" = xboth; then
16201 install_class_files=yes
16202 build_class_files=yes
16204 elif test "x${withval}" = xflat; then
16205 install_class_files=yes
16206 build_class_files=yes
16208 elif test "x${withval}" = xno || test "x${withval}" = xnone; then
16209 install_class_files=no
16210 build_class_files=no
16212 elif test "x${withval}" = xbuild; then
16213 install_class_files=no
16214 build_class_files=yes
16217 { { echo "$as_me:$LINENO: error: unknown value given to --with-glibj" >&5
16218 echo "$as_me: error: unknown value given to --with-glibj" >&2;}
16219 { (exit 1); exit 1; }; }
16224 install_class_files=no
16230 if test "x${use_zip}" = xyes; then
16231 INSTALL_GLIBJ_ZIP_TRUE=
16232 INSTALL_GLIBJ_ZIP_FALSE='#'
16234 INSTALL_GLIBJ_ZIP_TRUE='#'
16235 INSTALL_GLIBJ_ZIP_FALSE=
16240 if test "x${install_class_files}" = xyes; then
16241 INSTALL_CLASS_FILES_TRUE=
16242 INSTALL_CLASS_FILES_FALSE='#'
16244 INSTALL_CLASS_FILES_TRUE='#'
16245 INSTALL_CLASS_FILES_FALSE=
16250 if test "x${build_class_files}" = xyes; then
16251 BUILD_CLASS_FILES_TRUE=
16252 BUILD_CLASS_FILES_FALSE='#'
16254 BUILD_CLASS_FILES_TRUE='#'
16255 BUILD_CLASS_FILES_FALSE=
16259 # Check whether --enable-examples or --disable-examples was given.
16260 if test "${enable_examples+set}" = set; then
16261 enableval="$enable_examples"
16262 case "${enableval}" in
16263 yes) EXAMPLESDIR="examples" ;;
16264 no) EXAMPLESDIR="" ;;
16265 *) { { echo "$as_me:$LINENO: error: bad value ${enableval} for --enable-examples" >&5
16266 echo "$as_me: error: bad value ${enableval} for --enable-examples" >&2;}
16267 { (exit 1); exit 1; }; } ;;
16270 EXAMPLESDIR="examples"
16272 if test "x${use_zip}" = xno && test "x${install_class_files}" = xno; then
16280 # Check whether --with-gjdoc or --without-gjdoc was given.
16281 if test "${with_gjdoc+set}" = set; then
16282 withval="$with_gjdoc"
16283 if test "x${withval}" = xno; then
16285 elif test "x${withval}" = xyes -o "x{withval}" = x; then
16287 # Extract the first word of "gjdoc", so it can be a program name with args.
16288 set dummy gjdoc; ac_word=$2
16289 echo "$as_me:$LINENO: checking for $ac_word" >&5
16290 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
16291 if test "${ac_cv_path_GJDOC+set}" = set; then
16292 echo $ECHO_N "(cached) $ECHO_C" >&6
16296 ac_cv_path_GJDOC="$GJDOC" # Let the user override the test with a path.
16299 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
16300 for as_dir in $PATH
16303 test -z "$as_dir" && as_dir=.
16304 for ac_exec_ext in '' $ac_executable_extensions; do
16305 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
16306 ac_cv_path_GJDOC="$as_dir/$ac_word$ac_exec_ext"
16307 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
16313 test -z "$ac_cv_path_GJDOC" && ac_cv_path_GJDOC=""no""
16317 GJDOC=$ac_cv_path_GJDOC
16319 if test -n "$GJDOC"; then
16320 echo "$as_me:$LINENO: result: $GJDOC" >&5
16321 echo "${ECHO_T}$GJDOC" >&6
16323 echo "$as_me:$LINENO: result: no" >&5
16324 echo "${ECHO_T}no" >&6
16327 if test "x${GJDOC}" = xno; then
16328 { { echo "$as_me:$LINENO: error: \"gjdoc executable not found\"" >&5
16329 echo "$as_me: error: \"gjdoc executable not found\"" >&2;}
16330 { (exit 1); exit 1; }; };
16335 as_ac_File=`echo "ac_cv_file_${GJDOC}" | $as_tr_sh`
16336 echo "$as_me:$LINENO: checking for ${GJDOC}" >&5
16337 echo $ECHO_N "checking for ${GJDOC}... $ECHO_C" >&6
16338 if eval "test \"\${$as_ac_File+set}\" = set"; then
16339 echo $ECHO_N "(cached) $ECHO_C" >&6
16341 test "$cross_compiling" = yes &&
16342 { { echo "$as_me:$LINENO: error: cannot check for file existence when cross compiling" >&5
16343 echo "$as_me: error: cannot check for file existence when cross compiling" >&2;}
16344 { (exit 1); exit 1; }; }
16345 if test -r "${GJDOC}"; then
16346 eval "$as_ac_File=yes"
16348 eval "$as_ac_File=no"
16351 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_File'}'`" >&5
16352 echo "${ECHO_T}`eval echo '${'$as_ac_File'}'`" >&6
16353 if test `eval echo '${'$as_ac_File'}'` = yes; then
16356 { { echo "$as_me:$LINENO: error: \"Cannot use ${withval} as gjdoc executable since it doesn't exist\"" >&5
16357 echo "$as_me: error: \"Cannot use ${withval} as gjdoc executable since it doesn't exist\"" >&2;}
16358 { (exit 1); exit 1; }; }
16368 if test "x${WITH_GJDOC}" = xyes; then
16369 CREATE_API_DOCS_TRUE=
16370 CREATE_API_DOCS_FALSE='#'
16372 CREATE_API_DOCS_TRUE='#'
16373 CREATE_API_DOCS_FALSE=
16380 # Check whether --with-jay or --without-jay was given.
16381 if test "${with_jay+set}" = set; then
16382 withval="$with_jay"
16384 if test -d "${withval}"; then
16385 JAY_DIR_PATH="${withval}"
16386 # Extract the first word of "jay", so it can be a program name with args.
16387 set dummy jay; ac_word=$2
16388 echo "$as_me:$LINENO: checking for $ac_word" >&5
16389 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
16390 if test "${ac_cv_path_JAY+set}" = set; then
16391 echo $ECHO_N "(cached) $ECHO_C" >&6
16395 ac_cv_path_JAY="$JAY" # Let the user override the test with a path.
16398 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
16399 for as_dir in ${JAY_DIR_PATH}
16402 test -z "$as_dir" && as_dir=.
16403 for ac_exec_ext in '' $ac_executable_extensions; do
16404 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
16405 ac_cv_path_JAY="$as_dir/$ac_word$ac_exec_ext"
16406 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
16412 test -z "$ac_cv_path_JAY" && ac_cv_path_JAY=""no""
16416 JAY=$ac_cv_path_JAY
16418 if test -n "$JAY"; then
16419 echo "$as_me:$LINENO: result: $JAY" >&5
16420 echo "${ECHO_T}$JAY" >&6
16422 echo "$as_me:$LINENO: result: no" >&5
16423 echo "${ECHO_T}no" >&6
16426 if test "x${JAY}" = xno; then
16427 { { echo "$as_me:$LINENO: error: \"jay executable not found\"" >&5
16428 echo "$as_me: error: \"jay executable not found\"" >&2;}
16429 { (exit 1); exit 1; }; };
16432 JAY_DIR_PATH=`dirname "${withval}"`
16436 JAY_SKELETON="${JAY_DIR_PATH}/skeleton"
16437 as_ac_File=`echo "ac_cv_file_${JAY_SKELETON}" | $as_tr_sh`
16438 echo "$as_me:$LINENO: checking for ${JAY_SKELETON}" >&5
16439 echo $ECHO_N "checking for ${JAY_SKELETON}... $ECHO_C" >&6
16440 if eval "test \"\${$as_ac_File+set}\" = set"; then
16441 echo $ECHO_N "(cached) $ECHO_C" >&6
16443 test "$cross_compiling" = yes &&
16444 { { echo "$as_me:$LINENO: error: cannot check for file existence when cross compiling" >&5
16445 echo "$as_me: error: cannot check for file existence when cross compiling" >&2;}
16446 { (exit 1); exit 1; }; }
16447 if test -r "${JAY_SKELETON}"; then
16448 eval "$as_ac_File=yes"
16450 eval "$as_ac_File=no"
16453 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_File'}'`" >&5
16454 echo "${ECHO_T}`eval echo '${'$as_ac_File'}'`" >&6
16455 if test `eval echo '${'$as_ac_File'}'` = yes; then
16458 { { echo "$as_me:$LINENO: error: \"Expected skeleton file in \`dirname ${withval}\`\"" >&5
16459 echo "$as_me: error: \"Expected skeleton file in \`dirname ${withval}\`\"" >&2;}
16460 { (exit 1); exit 1; }; }
16472 if test "x${JAY_FOUND}" = xyes; then
16473 REGEN_PARSERS_TRUE=
16474 REGEN_PARSERS_FALSE='#'
16476 REGEN_PARSERS_TRUE='#'
16477 REGEN_PARSERS_FALSE=
16482 # Check whether --enable-portable-native-sync or --disable-portable-native-sync was given.
16483 if test "${enable_portable_native_sync+set}" = set; then
16484 enableval="$enable_portable_native_sync"
16485 case "${enableval}" in
16488 cat >>confdefs.h <<\_ACEOF
16489 #define PORTABLE_NATIVE_SYNC 1
16495 { { echo "$as_me:$LINENO: error: bad value ${enableval} for --enable-portable-native-sync" >&5
16496 echo "$as_me: error: bad value ${enableval} for --enable-portable-native-sync" >&2;}
16497 { (exit 1); exit 1; }; }
16502 # ------ AX CREATE STDINT H -------------------------------------
16503 echo "$as_me:$LINENO: checking for stdint types" >&5
16504 echo $ECHO_N "checking for stdint types... $ECHO_C" >&6
16505 ac_stdint_h=`echo include/config-int.h`
16506 # try to shortcircuit - if the default include path of the compiler
16507 # can find a "stdint.h" header then we assume that all compilers can.
16508 if test "${ac_cv_header_stdint_t+set}" = set; then
16509 echo $ECHO_N "(cached) $ECHO_C" >&6
16512 old_CXXFLAGS="$CXXFLAGS" ; CXXFLAGS=""
16513 old_CPPFLAGS="$CPPFLAGS" ; CPPFLAGS=""
16514 old_CFLAGS="$CFLAGS" ; CFLAGS=""
16515 cat >conftest.$ac_ext <<_ACEOF
16518 cat confdefs.h >>conftest.$ac_ext
16519 cat >>conftest.$ac_ext <<_ACEOF
16520 /* end confdefs.h. */
16521 #include <stdint.h>
16525 int_least32_t v = 0;
16530 rm -f conftest.$ac_objext
16531 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16532 (eval $ac_compile) 2>conftest.er1
16534 grep -v '^ *+' conftest.er1 >conftest.err
16536 cat conftest.err >&5
16537 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16538 (exit $ac_status); } &&
16539 { ac_try='test -z "$ac_c_werror_flag"
16540 || test ! -s conftest.err'
16541 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16542 (eval $ac_try) 2>&5
16544 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16545 (exit $ac_status); }; } &&
16546 { ac_try='test -s conftest.$ac_objext'
16547 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16548 (eval $ac_try) 2>&5
16550 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16551 (exit $ac_status); }; }; then
16552 ac_cv_stdint_result="(assuming C99 compatible system)"
16553 ac_cv_header_stdint_t="stdint.h";
16555 echo "$as_me: failed program was:" >&5
16556 sed 's/^/| /' conftest.$ac_ext >&5
16558 ac_cv_header_stdint_t=""
16560 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
16561 CXXFLAGS="$old_CXXFLAGS"
16562 CPPFLAGS="$old_CPPFLAGS"
16563 CFLAGS="$old_CFLAGS"
16567 v="... $ac_cv_header_stdint_h"
16568 if test "$ac_stdint_h" = "stdint.h" ; then
16569 echo "$as_me:$LINENO: result: (are you sure you want them in ./stdint.h?)" >&5
16570 echo "${ECHO_T}(are you sure you want them in ./stdint.h?)" >&6
16571 elif test "$ac_stdint_h" = "inttypes.h" ; then
16572 echo "$as_me:$LINENO: result: (are you sure you want them in ./inttypes.h?)" >&5
16573 echo "${ECHO_T}(are you sure you want them in ./inttypes.h?)" >&6
16574 elif test "_$ac_cv_header_stdint_t" = "_" ; then
16575 echo "$as_me:$LINENO: result: (putting them into $ac_stdint_h)$v" >&5
16576 echo "${ECHO_T}(putting them into $ac_stdint_h)$v" >&6
16578 ac_cv_header_stdint="$ac_cv_header_stdint_t"
16579 echo "$as_me:$LINENO: result: $ac_cv_header_stdint (shortcircuit)" >&5
16580 echo "${ECHO_T}$ac_cv_header_stdint (shortcircuit)" >&6
16583 if test "_$ac_cv_header_stdint_t" = "_" ; then # can not shortcircuit..
16586 inttype_headers=`echo | sed -e 's/,/ /g'`
16588 ac_cv_stdint_result="(no helpful system typedefs seen)"
16590 echo "$as_me:$LINENO: checking for stdint uintptr_t" >&5
16591 echo $ECHO_N "checking for stdint uintptr_t... $ECHO_C" >&6
16592 if test "${ac_cv_header_stdint_x+set}" = set; then
16593 echo $ECHO_N "(cached) $ECHO_C" >&6
16596 ac_cv_header_stdint_x="" # the 1997 typedefs (inttypes.h)
16597 echo "$as_me:$LINENO: result: (..)" >&5
16598 echo "${ECHO_T}(..)" >&6
16599 for i in stdint.h inttypes.h sys/inttypes.h $inttype_headers ; do
16600 unset ac_cv_type_uintptr_t
16601 unset ac_cv_type_uint64_t
16602 echo "$as_me:$LINENO: checking for uintptr_t" >&5
16603 echo $ECHO_N "checking for uintptr_t... $ECHO_C" >&6
16604 if test "${ac_cv_type_uintptr_t+set}" = set; then
16605 echo $ECHO_N "(cached) $ECHO_C" >&6
16607 cat >conftest.$ac_ext <<_ACEOF
16610 cat confdefs.h >>conftest.$ac_ext
16611 cat >>conftest.$ac_ext <<_ACEOF
16612 /* end confdefs.h. */
16618 if ((uintptr_t *) 0)
16620 if (sizeof (uintptr_t))
16626 rm -f conftest.$ac_objext
16627 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16628 (eval $ac_compile) 2>conftest.er1
16630 grep -v '^ *+' conftest.er1 >conftest.err
16632 cat conftest.err >&5
16633 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16634 (exit $ac_status); } &&
16635 { ac_try='test -z "$ac_c_werror_flag"
16636 || test ! -s conftest.err'
16637 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16638 (eval $ac_try) 2>&5
16640 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16641 (exit $ac_status); }; } &&
16642 { ac_try='test -s conftest.$ac_objext'
16643 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16644 (eval $ac_try) 2>&5
16646 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16647 (exit $ac_status); }; }; then
16648 ac_cv_type_uintptr_t=yes
16650 echo "$as_me: failed program was:" >&5
16651 sed 's/^/| /' conftest.$ac_ext >&5
16653 ac_cv_type_uintptr_t=no
16655 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
16657 echo "$as_me:$LINENO: result: $ac_cv_type_uintptr_t" >&5
16658 echo "${ECHO_T}$ac_cv_type_uintptr_t" >&6
16659 if test $ac_cv_type_uintptr_t = yes; then
16660 ac_cv_header_stdint_x=$i
16665 echo "$as_me:$LINENO: checking for uint64_t" >&5
16666 echo $ECHO_N "checking for uint64_t... $ECHO_C" >&6
16667 if test "${ac_cv_type_uint64_t+set}" = set; then
16668 echo $ECHO_N "(cached) $ECHO_C" >&6
16670 cat >conftest.$ac_ext <<_ACEOF
16673 cat confdefs.h >>conftest.$ac_ext
16674 cat >>conftest.$ac_ext <<_ACEOF
16675 /* end confdefs.h. */
16681 if ((uint64_t *) 0)
16683 if (sizeof (uint64_t))
16689 rm -f conftest.$ac_objext
16690 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16691 (eval $ac_compile) 2>conftest.er1
16693 grep -v '^ *+' conftest.er1 >conftest.err
16695 cat conftest.err >&5
16696 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16697 (exit $ac_status); } &&
16698 { ac_try='test -z "$ac_c_werror_flag"
16699 || test ! -s conftest.err'
16700 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16701 (eval $ac_try) 2>&5
16703 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16704 (exit $ac_status); }; } &&
16705 { ac_try='test -s conftest.$ac_objext'
16706 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16707 (eval $ac_try) 2>&5
16709 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16710 (exit $ac_status); }; }; then
16711 ac_cv_type_uint64_t=yes
16713 echo "$as_me: failed program was:" >&5
16714 sed 's/^/| /' conftest.$ac_ext >&5
16716 ac_cv_type_uint64_t=no
16718 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
16720 echo "$as_me:$LINENO: result: $ac_cv_type_uint64_t" >&5
16721 echo "${ECHO_T}$ac_cv_type_uint64_t" >&6
16722 if test $ac_cv_type_uint64_t = yes; then
16728 stdint.h inttypes.h sys/inttypes.h $inttype_headers
16731 echo "$as_me:$LINENO: checking for stdint uintptr_t" >&5
16732 echo $ECHO_N "checking for stdint uintptr_t... $ECHO_C" >&6
16735 echo "$as_me:$LINENO: result: $ac_cv_header_stdint_x" >&5
16736 echo "${ECHO_T}$ac_cv_header_stdint_x" >&6
16739 if test "_$ac_cv_header_stdint_x" = "_" ; then
16741 echo "$as_me:$LINENO: checking for stdint uint32_t" >&5
16742 echo $ECHO_N "checking for stdint uint32_t... $ECHO_C" >&6
16743 if test "${ac_cv_header_stdint_o+set}" = set; then
16744 echo $ECHO_N "(cached) $ECHO_C" >&6
16747 ac_cv_header_stdint_o="" # the 1995 typedefs (sys/inttypes.h)
16748 echo "$as_me:$LINENO: result: (..)" >&5
16749 echo "${ECHO_T}(..)" >&6
16750 for i in inttypes.h sys/inttypes.h stdint.h $inttype_headers ; do
16751 unset ac_cv_type_uint32_t
16752 unset ac_cv_type_uint64_t
16753 echo "$as_me:$LINENO: checking for uint32_t" >&5
16754 echo $ECHO_N "checking for uint32_t... $ECHO_C" >&6
16755 if test "${ac_cv_type_uint32_t+set}" = set; then
16756 echo $ECHO_N "(cached) $ECHO_C" >&6
16758 cat >conftest.$ac_ext <<_ACEOF
16761 cat confdefs.h >>conftest.$ac_ext
16762 cat >>conftest.$ac_ext <<_ACEOF
16763 /* end confdefs.h. */
16769 if ((uint32_t *) 0)
16771 if (sizeof (uint32_t))
16777 rm -f conftest.$ac_objext
16778 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16779 (eval $ac_compile) 2>conftest.er1
16781 grep -v '^ *+' conftest.er1 >conftest.err
16783 cat conftest.err >&5
16784 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16785 (exit $ac_status); } &&
16786 { ac_try='test -z "$ac_c_werror_flag"
16787 || test ! -s conftest.err'
16788 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16789 (eval $ac_try) 2>&5
16791 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16792 (exit $ac_status); }; } &&
16793 { ac_try='test -s conftest.$ac_objext'
16794 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16795 (eval $ac_try) 2>&5
16797 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16798 (exit $ac_status); }; }; then
16799 ac_cv_type_uint32_t=yes
16801 echo "$as_me: failed program was:" >&5
16802 sed 's/^/| /' conftest.$ac_ext >&5
16804 ac_cv_type_uint32_t=no
16806 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
16808 echo "$as_me:$LINENO: result: $ac_cv_type_uint32_t" >&5
16809 echo "${ECHO_T}$ac_cv_type_uint32_t" >&6
16810 if test $ac_cv_type_uint32_t = yes; then
16811 ac_cv_header_stdint_o=$i
16816 echo "$as_me:$LINENO: checking for uint64_t" >&5
16817 echo $ECHO_N "checking for uint64_t... $ECHO_C" >&6
16818 if test "${ac_cv_type_uint64_t+set}" = set; then
16819 echo $ECHO_N "(cached) $ECHO_C" >&6
16821 cat >conftest.$ac_ext <<_ACEOF
16824 cat confdefs.h >>conftest.$ac_ext
16825 cat >>conftest.$ac_ext <<_ACEOF
16826 /* end confdefs.h. */
16832 if ((uint64_t *) 0)
16834 if (sizeof (uint64_t))
16840 rm -f conftest.$ac_objext
16841 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16842 (eval $ac_compile) 2>conftest.er1
16844 grep -v '^ *+' conftest.er1 >conftest.err
16846 cat conftest.err >&5
16847 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16848 (exit $ac_status); } &&
16849 { ac_try='test -z "$ac_c_werror_flag"
16850 || test ! -s conftest.err'
16851 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16852 (eval $ac_try) 2>&5
16854 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16855 (exit $ac_status); }; } &&
16856 { ac_try='test -s conftest.$ac_objext'
16857 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16858 (eval $ac_try) 2>&5
16860 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16861 (exit $ac_status); }; }; then
16862 ac_cv_type_uint64_t=yes
16864 echo "$as_me: failed program was:" >&5
16865 sed 's/^/| /' conftest.$ac_ext >&5
16867 ac_cv_type_uint64_t=no
16869 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
16871 echo "$as_me:$LINENO: result: $ac_cv_type_uint64_t" >&5
16872 echo "${ECHO_T}$ac_cv_type_uint64_t" >&6
16873 if test $ac_cv_type_uint64_t = yes; then
16879 inttypes.h sys/inttypes.h stdint.h $inttype_headers
16883 echo "$as_me:$LINENO: checking for stdint uint32_t" >&5
16884 echo $ECHO_N "checking for stdint uint32_t... $ECHO_C" >&6
16887 echo "$as_me:$LINENO: result: $ac_cv_header_stdint_o" >&5
16888 echo "${ECHO_T}$ac_cv_header_stdint_o" >&6
16892 if test "_$ac_cv_header_stdint_x" = "_" ; then
16893 if test "_$ac_cv_header_stdint_o" = "_" ; then
16895 echo "$as_me:$LINENO: checking for stdint u_int32_t" >&5
16896 echo $ECHO_N "checking for stdint u_int32_t... $ECHO_C" >&6
16897 if test "${ac_cv_header_stdint_u+set}" = set; then
16898 echo $ECHO_N "(cached) $ECHO_C" >&6
16901 ac_cv_header_stdint_u="" # the BSD typedefs (sys/types.h)
16902 echo "$as_me:$LINENO: result: (..)" >&5
16903 echo "${ECHO_T}(..)" >&6
16904 for i in sys/types.h inttypes.h sys/inttypes.h $inttype_headers ; do
16905 unset ac_cv_type_u_int32_t
16906 unset ac_cv_type_u_int64_t
16907 echo "$as_me:$LINENO: checking for u_int32_t" >&5
16908 echo $ECHO_N "checking for u_int32_t... $ECHO_C" >&6
16909 if test "${ac_cv_type_u_int32_t+set}" = set; then
16910 echo $ECHO_N "(cached) $ECHO_C" >&6
16912 cat >conftest.$ac_ext <<_ACEOF
16915 cat confdefs.h >>conftest.$ac_ext
16916 cat >>conftest.$ac_ext <<_ACEOF
16917 /* end confdefs.h. */
16923 if ((u_int32_t *) 0)
16925 if (sizeof (u_int32_t))
16931 rm -f conftest.$ac_objext
16932 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16933 (eval $ac_compile) 2>conftest.er1
16935 grep -v '^ *+' conftest.er1 >conftest.err
16937 cat conftest.err >&5
16938 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16939 (exit $ac_status); } &&
16940 { ac_try='test -z "$ac_c_werror_flag"
16941 || test ! -s conftest.err'
16942 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16943 (eval $ac_try) 2>&5
16945 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16946 (exit $ac_status); }; } &&
16947 { ac_try='test -s conftest.$ac_objext'
16948 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16949 (eval $ac_try) 2>&5
16951 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16952 (exit $ac_status); }; }; then
16953 ac_cv_type_u_int32_t=yes
16955 echo "$as_me: failed program was:" >&5
16956 sed 's/^/| /' conftest.$ac_ext >&5
16958 ac_cv_type_u_int32_t=no
16960 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
16962 echo "$as_me:$LINENO: result: $ac_cv_type_u_int32_t" >&5
16963 echo "${ECHO_T}$ac_cv_type_u_int32_t" >&6
16964 if test $ac_cv_type_u_int32_t = yes; then
16965 ac_cv_header_stdint_u=$i
16970 echo "$as_me:$LINENO: checking for u_int64_t" >&5
16971 echo $ECHO_N "checking for u_int64_t... $ECHO_C" >&6
16972 if test "${ac_cv_type_u_int64_t+set}" = set; then
16973 echo $ECHO_N "(cached) $ECHO_C" >&6
16975 cat >conftest.$ac_ext <<_ACEOF
16978 cat confdefs.h >>conftest.$ac_ext
16979 cat >>conftest.$ac_ext <<_ACEOF
16980 /* end confdefs.h. */
16986 if ((u_int64_t *) 0)
16988 if (sizeof (u_int64_t))
16994 rm -f conftest.$ac_objext
16995 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16996 (eval $ac_compile) 2>conftest.er1
16998 grep -v '^ *+' conftest.er1 >conftest.err
17000 cat conftest.err >&5
17001 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17002 (exit $ac_status); } &&
17003 { ac_try='test -z "$ac_c_werror_flag"
17004 || test ! -s conftest.err'
17005 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17006 (eval $ac_try) 2>&5
17008 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17009 (exit $ac_status); }; } &&
17010 { ac_try='test -s conftest.$ac_objext'
17011 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17012 (eval $ac_try) 2>&5
17014 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17015 (exit $ac_status); }; }; then
17016 ac_cv_type_u_int64_t=yes
17018 echo "$as_me: failed program was:" >&5
17019 sed 's/^/| /' conftest.$ac_ext >&5
17021 ac_cv_type_u_int64_t=no
17023 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
17025 echo "$as_me:$LINENO: result: $ac_cv_type_u_int64_t" >&5
17026 echo "${ECHO_T}$ac_cv_type_u_int64_t" >&6
17027 if test $ac_cv_type_u_int64_t = yes; then
17033 sys/types.h inttypes.h sys/inttypes.h $inttype_headers
17037 echo "$as_me:$LINENO: checking for stdint u_int32_t" >&5
17038 echo $ECHO_N "checking for stdint u_int32_t... $ECHO_C" >&6
17041 echo "$as_me:$LINENO: result: $ac_cv_header_stdint_u" >&5
17042 echo "${ECHO_T}$ac_cv_header_stdint_u" >&6
17046 if test "_$ac_cv_header_stdint_x" = "_" ; then
17047 echo "$as_me:$LINENO: checking for stdint datatype model" >&5
17048 echo $ECHO_N "checking for stdint datatype model... $ECHO_C" >&6
17049 echo "$as_me:$LINENO: result: (..)" >&5
17050 echo "${ECHO_T}(..)" >&6
17052 echo "$as_me:$LINENO: checking for char" >&5
17053 echo $ECHO_N "checking for char... $ECHO_C" >&6
17054 if test "${ac_cv_type_char+set}" = set; then
17055 echo $ECHO_N "(cached) $ECHO_C" >&6
17057 cat >conftest.$ac_ext <<_ACEOF
17060 cat confdefs.h >>conftest.$ac_ext
17061 cat >>conftest.$ac_ext <<_ACEOF
17062 /* end confdefs.h. */
17063 $ac_includes_default
17075 rm -f conftest.$ac_objext
17076 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17077 (eval $ac_compile) 2>conftest.er1
17079 grep -v '^ *+' conftest.er1 >conftest.err
17081 cat conftest.err >&5
17082 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17083 (exit $ac_status); } &&
17084 { ac_try='test -z "$ac_c_werror_flag"
17085 || test ! -s conftest.err'
17086 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17087 (eval $ac_try) 2>&5
17089 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17090 (exit $ac_status); }; } &&
17091 { ac_try='test -s conftest.$ac_objext'
17092 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17093 (eval $ac_try) 2>&5
17095 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17096 (exit $ac_status); }; }; then
17097 ac_cv_type_char=yes
17099 echo "$as_me: failed program was:" >&5
17100 sed 's/^/| /' conftest.$ac_ext >&5
17104 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
17106 echo "$as_me:$LINENO: result: $ac_cv_type_char" >&5
17107 echo "${ECHO_T}$ac_cv_type_char" >&6
17109 echo "$as_me:$LINENO: checking size of char" >&5
17110 echo $ECHO_N "checking size of char... $ECHO_C" >&6
17111 if test "${ac_cv_sizeof_char+set}" = set; then
17112 echo $ECHO_N "(cached) $ECHO_C" >&6
17114 if test "$ac_cv_type_char" = yes; then
17115 # The cast to unsigned long works around a bug in the HP C Compiler
17116 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
17117 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
17118 # This bug is HP SR number 8606223364.
17119 if test "$cross_compiling" = yes; then
17120 # Depending upon the size, compute the lo and hi bounds.
17121 cat >conftest.$ac_ext <<_ACEOF
17124 cat confdefs.h >>conftest.$ac_ext
17125 cat >>conftest.$ac_ext <<_ACEOF
17126 /* end confdefs.h. */
17127 $ac_includes_default
17131 static int test_array [1 - 2 * !(((long) (sizeof (char))) >= 0)];
17138 rm -f conftest.$ac_objext
17139 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17140 (eval $ac_compile) 2>conftest.er1
17142 grep -v '^ *+' conftest.er1 >conftest.err
17144 cat conftest.err >&5
17145 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17146 (exit $ac_status); } &&
17147 { ac_try='test -z "$ac_c_werror_flag"
17148 || test ! -s conftest.err'
17149 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17150 (eval $ac_try) 2>&5
17152 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17153 (exit $ac_status); }; } &&
17154 { ac_try='test -s conftest.$ac_objext'
17155 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17156 (eval $ac_try) 2>&5
17158 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17159 (exit $ac_status); }; }; then
17162 cat >conftest.$ac_ext <<_ACEOF
17165 cat confdefs.h >>conftest.$ac_ext
17166 cat >>conftest.$ac_ext <<_ACEOF
17167 /* end confdefs.h. */
17168 $ac_includes_default
17172 static int test_array [1 - 2 * !(((long) (sizeof (char))) <= $ac_mid)];
17179 rm -f conftest.$ac_objext
17180 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17181 (eval $ac_compile) 2>conftest.er1
17183 grep -v '^ *+' conftest.er1 >conftest.err
17185 cat conftest.err >&5
17186 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17187 (exit $ac_status); } &&
17188 { ac_try='test -z "$ac_c_werror_flag"
17189 || test ! -s conftest.err'
17190 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17191 (eval $ac_try) 2>&5
17193 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17194 (exit $ac_status); }; } &&
17195 { ac_try='test -s conftest.$ac_objext'
17196 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17197 (eval $ac_try) 2>&5
17199 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17200 (exit $ac_status); }; }; then
17201 ac_hi=$ac_mid; break
17203 echo "$as_me: failed program was:" >&5
17204 sed 's/^/| /' conftest.$ac_ext >&5
17206 ac_lo=`expr $ac_mid + 1`
17207 if test $ac_lo -le $ac_mid; then
17211 ac_mid=`expr 2 '*' $ac_mid + 1`
17213 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
17216 echo "$as_me: failed program was:" >&5
17217 sed 's/^/| /' conftest.$ac_ext >&5
17219 cat >conftest.$ac_ext <<_ACEOF
17222 cat confdefs.h >>conftest.$ac_ext
17223 cat >>conftest.$ac_ext <<_ACEOF
17224 /* end confdefs.h. */
17225 $ac_includes_default
17229 static int test_array [1 - 2 * !(((long) (sizeof (char))) < 0)];
17236 rm -f conftest.$ac_objext
17237 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17238 (eval $ac_compile) 2>conftest.er1
17240 grep -v '^ *+' conftest.er1 >conftest.err
17242 cat conftest.err >&5
17243 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17244 (exit $ac_status); } &&
17245 { ac_try='test -z "$ac_c_werror_flag"
17246 || test ! -s conftest.err'
17247 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17248 (eval $ac_try) 2>&5
17250 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17251 (exit $ac_status); }; } &&
17252 { ac_try='test -s conftest.$ac_objext'
17253 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17254 (eval $ac_try) 2>&5
17256 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17257 (exit $ac_status); }; }; then
17260 cat >conftest.$ac_ext <<_ACEOF
17263 cat confdefs.h >>conftest.$ac_ext
17264 cat >>conftest.$ac_ext <<_ACEOF
17265 /* end confdefs.h. */
17266 $ac_includes_default
17270 static int test_array [1 - 2 * !(((long) (sizeof (char))) >= $ac_mid)];
17277 rm -f conftest.$ac_objext
17278 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17279 (eval $ac_compile) 2>conftest.er1
17281 grep -v '^ *+' conftest.er1 >conftest.err
17283 cat conftest.err >&5
17284 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17285 (exit $ac_status); } &&
17286 { ac_try='test -z "$ac_c_werror_flag"
17287 || test ! -s conftest.err'
17288 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17289 (eval $ac_try) 2>&5
17291 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17292 (exit $ac_status); }; } &&
17293 { ac_try='test -s conftest.$ac_objext'
17294 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17295 (eval $ac_try) 2>&5
17297 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17298 (exit $ac_status); }; }; then
17299 ac_lo=$ac_mid; break
17301 echo "$as_me: failed program was:" >&5
17302 sed 's/^/| /' conftest.$ac_ext >&5
17304 ac_hi=`expr '(' $ac_mid ')' - 1`
17305 if test $ac_mid -le $ac_hi; then
17309 ac_mid=`expr 2 '*' $ac_mid`
17311 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
17314 echo "$as_me: failed program was:" >&5
17315 sed 's/^/| /' conftest.$ac_ext >&5
17319 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
17321 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
17322 # Binary search between lo and hi bounds.
17323 while test "x$ac_lo" != "x$ac_hi"; do
17324 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
17325 cat >conftest.$ac_ext <<_ACEOF
17328 cat confdefs.h >>conftest.$ac_ext
17329 cat >>conftest.$ac_ext <<_ACEOF
17330 /* end confdefs.h. */
17331 $ac_includes_default
17335 static int test_array [1 - 2 * !(((long) (sizeof (char))) <= $ac_mid)];
17342 rm -f conftest.$ac_objext
17343 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17344 (eval $ac_compile) 2>conftest.er1
17346 grep -v '^ *+' conftest.er1 >conftest.err
17348 cat conftest.err >&5
17349 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17350 (exit $ac_status); } &&
17351 { ac_try='test -z "$ac_c_werror_flag"
17352 || test ! -s conftest.err'
17353 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17354 (eval $ac_try) 2>&5
17356 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17357 (exit $ac_status); }; } &&
17358 { ac_try='test -s conftest.$ac_objext'
17359 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17360 (eval $ac_try) 2>&5
17362 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17363 (exit $ac_status); }; }; then
17366 echo "$as_me: failed program was:" >&5
17367 sed 's/^/| /' conftest.$ac_ext >&5
17369 ac_lo=`expr '(' $ac_mid ')' + 1`
17371 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
17374 ?*) ac_cv_sizeof_char=$ac_lo;;
17375 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (char), 77
17376 See \`config.log' for more details." >&5
17377 echo "$as_me: error: cannot compute sizeof (char), 77
17378 See \`config.log' for more details." >&2;}
17379 { (exit 1); exit 1; }; } ;;
17382 if test "$cross_compiling" = yes; then
17383 { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
17384 See \`config.log' for more details." >&5
17385 echo "$as_me: error: cannot run test program while cross compiling
17386 See \`config.log' for more details." >&2;}
17387 { (exit 1); exit 1; }; }
17389 cat >conftest.$ac_ext <<_ACEOF
17392 cat confdefs.h >>conftest.$ac_ext
17393 cat >>conftest.$ac_ext <<_ACEOF
17394 /* end confdefs.h. */
17395 $ac_includes_default
17396 long longval () { return (long) (sizeof (char)); }
17397 unsigned long ulongval () { return (long) (sizeof (char)); }
17399 #include <stdlib.h>
17404 FILE *f = fopen ("conftest.val", "w");
17407 if (((long) (sizeof (char))) < 0)
17409 long i = longval ();
17410 if (i != ((long) (sizeof (char))))
17412 fprintf (f, "%ld\n", i);
17416 unsigned long i = ulongval ();
17417 if (i != ((long) (sizeof (char))))
17419 fprintf (f, "%lu\n", i);
17421 exit (ferror (f) || fclose (f) != 0);
17427 rm -f conftest$ac_exeext
17428 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
17429 (eval $ac_link) 2>&5
17431 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17432 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
17433 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17434 (eval $ac_try) 2>&5
17436 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17437 (exit $ac_status); }; }; then
17438 ac_cv_sizeof_char=`cat conftest.val`
17440 echo "$as_me: program exited with status $ac_status" >&5
17441 echo "$as_me: failed program was:" >&5
17442 sed 's/^/| /' conftest.$ac_ext >&5
17444 ( exit $ac_status )
17445 { { echo "$as_me:$LINENO: error: cannot compute sizeof (char), 77
17446 See \`config.log' for more details." >&5
17447 echo "$as_me: error: cannot compute sizeof (char), 77
17448 See \`config.log' for more details." >&2;}
17449 { (exit 1); exit 1; }; }
17451 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
17456 ac_cv_sizeof_char=0
17459 echo "$as_me:$LINENO: result: $ac_cv_sizeof_char" >&5
17460 echo "${ECHO_T}$ac_cv_sizeof_char" >&6
17461 cat >>confdefs.h <<_ACEOF
17462 #define SIZEOF_CHAR $ac_cv_sizeof_char
17466 echo "$as_me:$LINENO: checking for short" >&5
17467 echo $ECHO_N "checking for short... $ECHO_C" >&6
17468 if test "${ac_cv_type_short+set}" = set; then
17469 echo $ECHO_N "(cached) $ECHO_C" >&6
17471 cat >conftest.$ac_ext <<_ACEOF
17474 cat confdefs.h >>conftest.$ac_ext
17475 cat >>conftest.$ac_ext <<_ACEOF
17476 /* end confdefs.h. */
17477 $ac_includes_default
17483 if (sizeof (short))
17489 rm -f conftest.$ac_objext
17490 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17491 (eval $ac_compile) 2>conftest.er1
17493 grep -v '^ *+' conftest.er1 >conftest.err
17495 cat conftest.err >&5
17496 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17497 (exit $ac_status); } &&
17498 { ac_try='test -z "$ac_c_werror_flag"
17499 || test ! -s conftest.err'
17500 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17501 (eval $ac_try) 2>&5
17503 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17504 (exit $ac_status); }; } &&
17505 { ac_try='test -s conftest.$ac_objext'
17506 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17507 (eval $ac_try) 2>&5
17509 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17510 (exit $ac_status); }; }; then
17511 ac_cv_type_short=yes
17513 echo "$as_me: failed program was:" >&5
17514 sed 's/^/| /' conftest.$ac_ext >&5
17516 ac_cv_type_short=no
17518 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
17520 echo "$as_me:$LINENO: result: $ac_cv_type_short" >&5
17521 echo "${ECHO_T}$ac_cv_type_short" >&6
17523 echo "$as_me:$LINENO: checking size of short" >&5
17524 echo $ECHO_N "checking size of short... $ECHO_C" >&6
17525 if test "${ac_cv_sizeof_short+set}" = set; then
17526 echo $ECHO_N "(cached) $ECHO_C" >&6
17528 if test "$ac_cv_type_short" = yes; then
17529 # The cast to unsigned long works around a bug in the HP C Compiler
17530 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
17531 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
17532 # This bug is HP SR number 8606223364.
17533 if test "$cross_compiling" = yes; then
17534 # Depending upon the size, compute the lo and hi bounds.
17535 cat >conftest.$ac_ext <<_ACEOF
17538 cat confdefs.h >>conftest.$ac_ext
17539 cat >>conftest.$ac_ext <<_ACEOF
17540 /* end confdefs.h. */
17541 $ac_includes_default
17545 static int test_array [1 - 2 * !(((long) (sizeof (short))) >= 0)];
17552 rm -f conftest.$ac_objext
17553 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17554 (eval $ac_compile) 2>conftest.er1
17556 grep -v '^ *+' conftest.er1 >conftest.err
17558 cat conftest.err >&5
17559 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17560 (exit $ac_status); } &&
17561 { ac_try='test -z "$ac_c_werror_flag"
17562 || test ! -s conftest.err'
17563 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17564 (eval $ac_try) 2>&5
17566 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17567 (exit $ac_status); }; } &&
17568 { ac_try='test -s conftest.$ac_objext'
17569 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17570 (eval $ac_try) 2>&5
17572 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17573 (exit $ac_status); }; }; then
17576 cat >conftest.$ac_ext <<_ACEOF
17579 cat confdefs.h >>conftest.$ac_ext
17580 cat >>conftest.$ac_ext <<_ACEOF
17581 /* end confdefs.h. */
17582 $ac_includes_default
17586 static int test_array [1 - 2 * !(((long) (sizeof (short))) <= $ac_mid)];
17593 rm -f conftest.$ac_objext
17594 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17595 (eval $ac_compile) 2>conftest.er1
17597 grep -v '^ *+' conftest.er1 >conftest.err
17599 cat conftest.err >&5
17600 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17601 (exit $ac_status); } &&
17602 { ac_try='test -z "$ac_c_werror_flag"
17603 || test ! -s conftest.err'
17604 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17605 (eval $ac_try) 2>&5
17607 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17608 (exit $ac_status); }; } &&
17609 { ac_try='test -s conftest.$ac_objext'
17610 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17611 (eval $ac_try) 2>&5
17613 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17614 (exit $ac_status); }; }; then
17615 ac_hi=$ac_mid; break
17617 echo "$as_me: failed program was:" >&5
17618 sed 's/^/| /' conftest.$ac_ext >&5
17620 ac_lo=`expr $ac_mid + 1`
17621 if test $ac_lo -le $ac_mid; then
17625 ac_mid=`expr 2 '*' $ac_mid + 1`
17627 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
17630 echo "$as_me: failed program was:" >&5
17631 sed 's/^/| /' conftest.$ac_ext >&5
17633 cat >conftest.$ac_ext <<_ACEOF
17636 cat confdefs.h >>conftest.$ac_ext
17637 cat >>conftest.$ac_ext <<_ACEOF
17638 /* end confdefs.h. */
17639 $ac_includes_default
17643 static int test_array [1 - 2 * !(((long) (sizeof (short))) < 0)];
17650 rm -f conftest.$ac_objext
17651 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17652 (eval $ac_compile) 2>conftest.er1
17654 grep -v '^ *+' conftest.er1 >conftest.err
17656 cat conftest.err >&5
17657 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17658 (exit $ac_status); } &&
17659 { ac_try='test -z "$ac_c_werror_flag"
17660 || test ! -s conftest.err'
17661 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17662 (eval $ac_try) 2>&5
17664 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17665 (exit $ac_status); }; } &&
17666 { ac_try='test -s conftest.$ac_objext'
17667 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17668 (eval $ac_try) 2>&5
17670 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17671 (exit $ac_status); }; }; then
17674 cat >conftest.$ac_ext <<_ACEOF
17677 cat confdefs.h >>conftest.$ac_ext
17678 cat >>conftest.$ac_ext <<_ACEOF
17679 /* end confdefs.h. */
17680 $ac_includes_default
17684 static int test_array [1 - 2 * !(((long) (sizeof (short))) >= $ac_mid)];
17691 rm -f conftest.$ac_objext
17692 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17693 (eval $ac_compile) 2>conftest.er1
17695 grep -v '^ *+' conftest.er1 >conftest.err
17697 cat conftest.err >&5
17698 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17699 (exit $ac_status); } &&
17700 { ac_try='test -z "$ac_c_werror_flag"
17701 || test ! -s conftest.err'
17702 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17703 (eval $ac_try) 2>&5
17705 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17706 (exit $ac_status); }; } &&
17707 { ac_try='test -s conftest.$ac_objext'
17708 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17709 (eval $ac_try) 2>&5
17711 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17712 (exit $ac_status); }; }; then
17713 ac_lo=$ac_mid; break
17715 echo "$as_me: failed program was:" >&5
17716 sed 's/^/| /' conftest.$ac_ext >&5
17718 ac_hi=`expr '(' $ac_mid ')' - 1`
17719 if test $ac_mid -le $ac_hi; then
17723 ac_mid=`expr 2 '*' $ac_mid`
17725 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
17728 echo "$as_me: failed program was:" >&5
17729 sed 's/^/| /' conftest.$ac_ext >&5
17733 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
17735 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
17736 # Binary search between lo and hi bounds.
17737 while test "x$ac_lo" != "x$ac_hi"; do
17738 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
17739 cat >conftest.$ac_ext <<_ACEOF
17742 cat confdefs.h >>conftest.$ac_ext
17743 cat >>conftest.$ac_ext <<_ACEOF
17744 /* end confdefs.h. */
17745 $ac_includes_default
17749 static int test_array [1 - 2 * !(((long) (sizeof (short))) <= $ac_mid)];
17756 rm -f conftest.$ac_objext
17757 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17758 (eval $ac_compile) 2>conftest.er1
17760 grep -v '^ *+' conftest.er1 >conftest.err
17762 cat conftest.err >&5
17763 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17764 (exit $ac_status); } &&
17765 { ac_try='test -z "$ac_c_werror_flag"
17766 || test ! -s conftest.err'
17767 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17768 (eval $ac_try) 2>&5
17770 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17771 (exit $ac_status); }; } &&
17772 { ac_try='test -s conftest.$ac_objext'
17773 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17774 (eval $ac_try) 2>&5
17776 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17777 (exit $ac_status); }; }; then
17780 echo "$as_me: failed program was:" >&5
17781 sed 's/^/| /' conftest.$ac_ext >&5
17783 ac_lo=`expr '(' $ac_mid ')' + 1`
17785 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
17788 ?*) ac_cv_sizeof_short=$ac_lo;;
17789 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (short), 77
17790 See \`config.log' for more details." >&5
17791 echo "$as_me: error: cannot compute sizeof (short), 77
17792 See \`config.log' for more details." >&2;}
17793 { (exit 1); exit 1; }; } ;;
17796 if test "$cross_compiling" = yes; then
17797 { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
17798 See \`config.log' for more details." >&5
17799 echo "$as_me: error: cannot run test program while cross compiling
17800 See \`config.log' for more details." >&2;}
17801 { (exit 1); exit 1; }; }
17803 cat >conftest.$ac_ext <<_ACEOF
17806 cat confdefs.h >>conftest.$ac_ext
17807 cat >>conftest.$ac_ext <<_ACEOF
17808 /* end confdefs.h. */
17809 $ac_includes_default
17810 long longval () { return (long) (sizeof (short)); }
17811 unsigned long ulongval () { return (long) (sizeof (short)); }
17813 #include <stdlib.h>
17818 FILE *f = fopen ("conftest.val", "w");
17821 if (((long) (sizeof (short))) < 0)
17823 long i = longval ();
17824 if (i != ((long) (sizeof (short))))
17826 fprintf (f, "%ld\n", i);
17830 unsigned long i = ulongval ();
17831 if (i != ((long) (sizeof (short))))
17833 fprintf (f, "%lu\n", i);
17835 exit (ferror (f) || fclose (f) != 0);
17841 rm -f conftest$ac_exeext
17842 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
17843 (eval $ac_link) 2>&5
17845 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17846 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
17847 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17848 (eval $ac_try) 2>&5
17850 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17851 (exit $ac_status); }; }; then
17852 ac_cv_sizeof_short=`cat conftest.val`
17854 echo "$as_me: program exited with status $ac_status" >&5
17855 echo "$as_me: failed program was:" >&5
17856 sed 's/^/| /' conftest.$ac_ext >&5
17858 ( exit $ac_status )
17859 { { echo "$as_me:$LINENO: error: cannot compute sizeof (short), 77
17860 See \`config.log' for more details." >&5
17861 echo "$as_me: error: cannot compute sizeof (short), 77
17862 See \`config.log' for more details." >&2;}
17863 { (exit 1); exit 1; }; }
17865 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
17870 ac_cv_sizeof_short=0
17873 echo "$as_me:$LINENO: result: $ac_cv_sizeof_short" >&5
17874 echo "${ECHO_T}$ac_cv_sizeof_short" >&6
17875 cat >>confdefs.h <<_ACEOF
17876 #define SIZEOF_SHORT $ac_cv_sizeof_short
17880 echo "$as_me:$LINENO: checking for int" >&5
17881 echo $ECHO_N "checking for int... $ECHO_C" >&6
17882 if test "${ac_cv_type_int+set}" = set; then
17883 echo $ECHO_N "(cached) $ECHO_C" >&6
17885 cat >conftest.$ac_ext <<_ACEOF
17888 cat confdefs.h >>conftest.$ac_ext
17889 cat >>conftest.$ac_ext <<_ACEOF
17890 /* end confdefs.h. */
17891 $ac_includes_default
17903 rm -f conftest.$ac_objext
17904 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17905 (eval $ac_compile) 2>conftest.er1
17907 grep -v '^ *+' conftest.er1 >conftest.err
17909 cat conftest.err >&5
17910 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17911 (exit $ac_status); } &&
17912 { ac_try='test -z "$ac_c_werror_flag"
17913 || test ! -s conftest.err'
17914 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17915 (eval $ac_try) 2>&5
17917 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17918 (exit $ac_status); }; } &&
17919 { ac_try='test -s conftest.$ac_objext'
17920 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17921 (eval $ac_try) 2>&5
17923 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17924 (exit $ac_status); }; }; then
17927 echo "$as_me: failed program was:" >&5
17928 sed 's/^/| /' conftest.$ac_ext >&5
17932 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
17934 echo "$as_me:$LINENO: result: $ac_cv_type_int" >&5
17935 echo "${ECHO_T}$ac_cv_type_int" >&6
17937 echo "$as_me:$LINENO: checking size of int" >&5
17938 echo $ECHO_N "checking size of int... $ECHO_C" >&6
17939 if test "${ac_cv_sizeof_int+set}" = set; then
17940 echo $ECHO_N "(cached) $ECHO_C" >&6
17942 if test "$ac_cv_type_int" = yes; then
17943 # The cast to unsigned long works around a bug in the HP C Compiler
17944 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
17945 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
17946 # This bug is HP SR number 8606223364.
17947 if test "$cross_compiling" = yes; then
17948 # Depending upon the size, compute the lo and hi bounds.
17949 cat >conftest.$ac_ext <<_ACEOF
17952 cat confdefs.h >>conftest.$ac_ext
17953 cat >>conftest.$ac_ext <<_ACEOF
17954 /* end confdefs.h. */
17955 $ac_includes_default
17959 static int test_array [1 - 2 * !(((long) (sizeof (int))) >= 0)];
17966 rm -f conftest.$ac_objext
17967 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17968 (eval $ac_compile) 2>conftest.er1
17970 grep -v '^ *+' conftest.er1 >conftest.err
17972 cat conftest.err >&5
17973 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17974 (exit $ac_status); } &&
17975 { ac_try='test -z "$ac_c_werror_flag"
17976 || test ! -s conftest.err'
17977 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17978 (eval $ac_try) 2>&5
17980 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17981 (exit $ac_status); }; } &&
17982 { ac_try='test -s conftest.$ac_objext'
17983 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17984 (eval $ac_try) 2>&5
17986 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17987 (exit $ac_status); }; }; then
17990 cat >conftest.$ac_ext <<_ACEOF
17993 cat confdefs.h >>conftest.$ac_ext
17994 cat >>conftest.$ac_ext <<_ACEOF
17995 /* end confdefs.h. */
17996 $ac_includes_default
18000 static int test_array [1 - 2 * !(((long) (sizeof (int))) <= $ac_mid)];
18007 rm -f conftest.$ac_objext
18008 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18009 (eval $ac_compile) 2>conftest.er1
18011 grep -v '^ *+' conftest.er1 >conftest.err
18013 cat conftest.err >&5
18014 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18015 (exit $ac_status); } &&
18016 { ac_try='test -z "$ac_c_werror_flag"
18017 || test ! -s conftest.err'
18018 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18019 (eval $ac_try) 2>&5
18021 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18022 (exit $ac_status); }; } &&
18023 { ac_try='test -s conftest.$ac_objext'
18024 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18025 (eval $ac_try) 2>&5
18027 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18028 (exit $ac_status); }; }; then
18029 ac_hi=$ac_mid; break
18031 echo "$as_me: failed program was:" >&5
18032 sed 's/^/| /' conftest.$ac_ext >&5
18034 ac_lo=`expr $ac_mid + 1`
18035 if test $ac_lo -le $ac_mid; then
18039 ac_mid=`expr 2 '*' $ac_mid + 1`
18041 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
18044 echo "$as_me: failed program was:" >&5
18045 sed 's/^/| /' conftest.$ac_ext >&5
18047 cat >conftest.$ac_ext <<_ACEOF
18050 cat confdefs.h >>conftest.$ac_ext
18051 cat >>conftest.$ac_ext <<_ACEOF
18052 /* end confdefs.h. */
18053 $ac_includes_default
18057 static int test_array [1 - 2 * !(((long) (sizeof (int))) < 0)];
18064 rm -f conftest.$ac_objext
18065 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18066 (eval $ac_compile) 2>conftest.er1
18068 grep -v '^ *+' conftest.er1 >conftest.err
18070 cat conftest.err >&5
18071 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18072 (exit $ac_status); } &&
18073 { ac_try='test -z "$ac_c_werror_flag"
18074 || test ! -s conftest.err'
18075 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18076 (eval $ac_try) 2>&5
18078 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18079 (exit $ac_status); }; } &&
18080 { ac_try='test -s conftest.$ac_objext'
18081 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18082 (eval $ac_try) 2>&5
18084 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18085 (exit $ac_status); }; }; then
18088 cat >conftest.$ac_ext <<_ACEOF
18091 cat confdefs.h >>conftest.$ac_ext
18092 cat >>conftest.$ac_ext <<_ACEOF
18093 /* end confdefs.h. */
18094 $ac_includes_default
18098 static int test_array [1 - 2 * !(((long) (sizeof (int))) >= $ac_mid)];
18105 rm -f conftest.$ac_objext
18106 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18107 (eval $ac_compile) 2>conftest.er1
18109 grep -v '^ *+' conftest.er1 >conftest.err
18111 cat conftest.err >&5
18112 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18113 (exit $ac_status); } &&
18114 { ac_try='test -z "$ac_c_werror_flag"
18115 || test ! -s conftest.err'
18116 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18117 (eval $ac_try) 2>&5
18119 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18120 (exit $ac_status); }; } &&
18121 { ac_try='test -s conftest.$ac_objext'
18122 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18123 (eval $ac_try) 2>&5
18125 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18126 (exit $ac_status); }; }; then
18127 ac_lo=$ac_mid; break
18129 echo "$as_me: failed program was:" >&5
18130 sed 's/^/| /' conftest.$ac_ext >&5
18132 ac_hi=`expr '(' $ac_mid ')' - 1`
18133 if test $ac_mid -le $ac_hi; then
18137 ac_mid=`expr 2 '*' $ac_mid`
18139 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
18142 echo "$as_me: failed program was:" >&5
18143 sed 's/^/| /' conftest.$ac_ext >&5
18147 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
18149 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
18150 # Binary search between lo and hi bounds.
18151 while test "x$ac_lo" != "x$ac_hi"; do
18152 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
18153 cat >conftest.$ac_ext <<_ACEOF
18156 cat confdefs.h >>conftest.$ac_ext
18157 cat >>conftest.$ac_ext <<_ACEOF
18158 /* end confdefs.h. */
18159 $ac_includes_default
18163 static int test_array [1 - 2 * !(((long) (sizeof (int))) <= $ac_mid)];
18170 rm -f conftest.$ac_objext
18171 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18172 (eval $ac_compile) 2>conftest.er1
18174 grep -v '^ *+' conftest.er1 >conftest.err
18176 cat conftest.err >&5
18177 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18178 (exit $ac_status); } &&
18179 { ac_try='test -z "$ac_c_werror_flag"
18180 || test ! -s conftest.err'
18181 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18182 (eval $ac_try) 2>&5
18184 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18185 (exit $ac_status); }; } &&
18186 { ac_try='test -s conftest.$ac_objext'
18187 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18188 (eval $ac_try) 2>&5
18190 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18191 (exit $ac_status); }; }; then
18194 echo "$as_me: failed program was:" >&5
18195 sed 's/^/| /' conftest.$ac_ext >&5
18197 ac_lo=`expr '(' $ac_mid ')' + 1`
18199 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
18202 ?*) ac_cv_sizeof_int=$ac_lo;;
18203 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (int), 77
18204 See \`config.log' for more details." >&5
18205 echo "$as_me: error: cannot compute sizeof (int), 77
18206 See \`config.log' for more details." >&2;}
18207 { (exit 1); exit 1; }; } ;;
18210 if test "$cross_compiling" = yes; then
18211 { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
18212 See \`config.log' for more details." >&5
18213 echo "$as_me: error: cannot run test program while cross compiling
18214 See \`config.log' for more details." >&2;}
18215 { (exit 1); exit 1; }; }
18217 cat >conftest.$ac_ext <<_ACEOF
18220 cat confdefs.h >>conftest.$ac_ext
18221 cat >>conftest.$ac_ext <<_ACEOF
18222 /* end confdefs.h. */
18223 $ac_includes_default
18224 long longval () { return (long) (sizeof (int)); }
18225 unsigned long ulongval () { return (long) (sizeof (int)); }
18227 #include <stdlib.h>
18232 FILE *f = fopen ("conftest.val", "w");
18235 if (((long) (sizeof (int))) < 0)
18237 long i = longval ();
18238 if (i != ((long) (sizeof (int))))
18240 fprintf (f, "%ld\n", i);
18244 unsigned long i = ulongval ();
18245 if (i != ((long) (sizeof (int))))
18247 fprintf (f, "%lu\n", i);
18249 exit (ferror (f) || fclose (f) != 0);
18255 rm -f conftest$ac_exeext
18256 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
18257 (eval $ac_link) 2>&5
18259 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18260 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
18261 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18262 (eval $ac_try) 2>&5
18264 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18265 (exit $ac_status); }; }; then
18266 ac_cv_sizeof_int=`cat conftest.val`
18268 echo "$as_me: program exited with status $ac_status" >&5
18269 echo "$as_me: failed program was:" >&5
18270 sed 's/^/| /' conftest.$ac_ext >&5
18272 ( exit $ac_status )
18273 { { echo "$as_me:$LINENO: error: cannot compute sizeof (int), 77
18274 See \`config.log' for more details." >&5
18275 echo "$as_me: error: cannot compute sizeof (int), 77
18276 See \`config.log' for more details." >&2;}
18277 { (exit 1); exit 1; }; }
18279 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
18287 echo "$as_me:$LINENO: result: $ac_cv_sizeof_int" >&5
18288 echo "${ECHO_T}$ac_cv_sizeof_int" >&6
18289 cat >>confdefs.h <<_ACEOF
18290 #define SIZEOF_INT $ac_cv_sizeof_int
18294 echo "$as_me:$LINENO: checking for long" >&5
18295 echo $ECHO_N "checking for long... $ECHO_C" >&6
18296 if test "${ac_cv_type_long+set}" = set; then
18297 echo $ECHO_N "(cached) $ECHO_C" >&6
18299 cat >conftest.$ac_ext <<_ACEOF
18302 cat confdefs.h >>conftest.$ac_ext
18303 cat >>conftest.$ac_ext <<_ACEOF
18304 /* end confdefs.h. */
18305 $ac_includes_default
18317 rm -f conftest.$ac_objext
18318 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18319 (eval $ac_compile) 2>conftest.er1
18321 grep -v '^ *+' conftest.er1 >conftest.err
18323 cat conftest.err >&5
18324 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18325 (exit $ac_status); } &&
18326 { ac_try='test -z "$ac_c_werror_flag"
18327 || test ! -s conftest.err'
18328 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18329 (eval $ac_try) 2>&5
18331 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18332 (exit $ac_status); }; } &&
18333 { ac_try='test -s conftest.$ac_objext'
18334 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18335 (eval $ac_try) 2>&5
18337 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18338 (exit $ac_status); }; }; then
18339 ac_cv_type_long=yes
18341 echo "$as_me: failed program was:" >&5
18342 sed 's/^/| /' conftest.$ac_ext >&5
18346 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
18348 echo "$as_me:$LINENO: result: $ac_cv_type_long" >&5
18349 echo "${ECHO_T}$ac_cv_type_long" >&6
18351 echo "$as_me:$LINENO: checking size of long" >&5
18352 echo $ECHO_N "checking size of long... $ECHO_C" >&6
18353 if test "${ac_cv_sizeof_long+set}" = set; then
18354 echo $ECHO_N "(cached) $ECHO_C" >&6
18356 if test "$ac_cv_type_long" = yes; then
18357 # The cast to unsigned long works around a bug in the HP C Compiler
18358 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
18359 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
18360 # This bug is HP SR number 8606223364.
18361 if test "$cross_compiling" = yes; then
18362 # Depending upon the size, compute the lo and hi bounds.
18363 cat >conftest.$ac_ext <<_ACEOF
18366 cat confdefs.h >>conftest.$ac_ext
18367 cat >>conftest.$ac_ext <<_ACEOF
18368 /* end confdefs.h. */
18369 $ac_includes_default
18373 static int test_array [1 - 2 * !(((long) (sizeof (long))) >= 0)];
18380 rm -f conftest.$ac_objext
18381 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18382 (eval $ac_compile) 2>conftest.er1
18384 grep -v '^ *+' conftest.er1 >conftest.err
18386 cat conftest.err >&5
18387 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18388 (exit $ac_status); } &&
18389 { ac_try='test -z "$ac_c_werror_flag"
18390 || test ! -s conftest.err'
18391 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18392 (eval $ac_try) 2>&5
18394 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18395 (exit $ac_status); }; } &&
18396 { ac_try='test -s conftest.$ac_objext'
18397 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18398 (eval $ac_try) 2>&5
18400 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18401 (exit $ac_status); }; }; then
18404 cat >conftest.$ac_ext <<_ACEOF
18407 cat confdefs.h >>conftest.$ac_ext
18408 cat >>conftest.$ac_ext <<_ACEOF
18409 /* end confdefs.h. */
18410 $ac_includes_default
18414 static int test_array [1 - 2 * !(((long) (sizeof (long))) <= $ac_mid)];
18421 rm -f conftest.$ac_objext
18422 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18423 (eval $ac_compile) 2>conftest.er1
18425 grep -v '^ *+' conftest.er1 >conftest.err
18427 cat conftest.err >&5
18428 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18429 (exit $ac_status); } &&
18430 { ac_try='test -z "$ac_c_werror_flag"
18431 || test ! -s conftest.err'
18432 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18433 (eval $ac_try) 2>&5
18435 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18436 (exit $ac_status); }; } &&
18437 { ac_try='test -s conftest.$ac_objext'
18438 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18439 (eval $ac_try) 2>&5
18441 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18442 (exit $ac_status); }; }; then
18443 ac_hi=$ac_mid; break
18445 echo "$as_me: failed program was:" >&5
18446 sed 's/^/| /' conftest.$ac_ext >&5
18448 ac_lo=`expr $ac_mid + 1`
18449 if test $ac_lo -le $ac_mid; then
18453 ac_mid=`expr 2 '*' $ac_mid + 1`
18455 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
18458 echo "$as_me: failed program was:" >&5
18459 sed 's/^/| /' conftest.$ac_ext >&5
18461 cat >conftest.$ac_ext <<_ACEOF
18464 cat confdefs.h >>conftest.$ac_ext
18465 cat >>conftest.$ac_ext <<_ACEOF
18466 /* end confdefs.h. */
18467 $ac_includes_default
18471 static int test_array [1 - 2 * !(((long) (sizeof (long))) < 0)];
18478 rm -f conftest.$ac_objext
18479 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18480 (eval $ac_compile) 2>conftest.er1
18482 grep -v '^ *+' conftest.er1 >conftest.err
18484 cat conftest.err >&5
18485 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18486 (exit $ac_status); } &&
18487 { ac_try='test -z "$ac_c_werror_flag"
18488 || test ! -s conftest.err'
18489 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18490 (eval $ac_try) 2>&5
18492 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18493 (exit $ac_status); }; } &&
18494 { ac_try='test -s conftest.$ac_objext'
18495 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18496 (eval $ac_try) 2>&5
18498 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18499 (exit $ac_status); }; }; then
18502 cat >conftest.$ac_ext <<_ACEOF
18505 cat confdefs.h >>conftest.$ac_ext
18506 cat >>conftest.$ac_ext <<_ACEOF
18507 /* end confdefs.h. */
18508 $ac_includes_default
18512 static int test_array [1 - 2 * !(((long) (sizeof (long))) >= $ac_mid)];
18519 rm -f conftest.$ac_objext
18520 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18521 (eval $ac_compile) 2>conftest.er1
18523 grep -v '^ *+' conftest.er1 >conftest.err
18525 cat conftest.err >&5
18526 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18527 (exit $ac_status); } &&
18528 { ac_try='test -z "$ac_c_werror_flag"
18529 || test ! -s conftest.err'
18530 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18531 (eval $ac_try) 2>&5
18533 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18534 (exit $ac_status); }; } &&
18535 { ac_try='test -s conftest.$ac_objext'
18536 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18537 (eval $ac_try) 2>&5
18539 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18540 (exit $ac_status); }; }; then
18541 ac_lo=$ac_mid; break
18543 echo "$as_me: failed program was:" >&5
18544 sed 's/^/| /' conftest.$ac_ext >&5
18546 ac_hi=`expr '(' $ac_mid ')' - 1`
18547 if test $ac_mid -le $ac_hi; then
18551 ac_mid=`expr 2 '*' $ac_mid`
18553 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
18556 echo "$as_me: failed program was:" >&5
18557 sed 's/^/| /' conftest.$ac_ext >&5
18561 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
18563 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
18564 # Binary search between lo and hi bounds.
18565 while test "x$ac_lo" != "x$ac_hi"; do
18566 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
18567 cat >conftest.$ac_ext <<_ACEOF
18570 cat confdefs.h >>conftest.$ac_ext
18571 cat >>conftest.$ac_ext <<_ACEOF
18572 /* end confdefs.h. */
18573 $ac_includes_default
18577 static int test_array [1 - 2 * !(((long) (sizeof (long))) <= $ac_mid)];
18584 rm -f conftest.$ac_objext
18585 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18586 (eval $ac_compile) 2>conftest.er1
18588 grep -v '^ *+' conftest.er1 >conftest.err
18590 cat conftest.err >&5
18591 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18592 (exit $ac_status); } &&
18593 { ac_try='test -z "$ac_c_werror_flag"
18594 || test ! -s conftest.err'
18595 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18596 (eval $ac_try) 2>&5
18598 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18599 (exit $ac_status); }; } &&
18600 { ac_try='test -s conftest.$ac_objext'
18601 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18602 (eval $ac_try) 2>&5
18604 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18605 (exit $ac_status); }; }; then
18608 echo "$as_me: failed program was:" >&5
18609 sed 's/^/| /' conftest.$ac_ext >&5
18611 ac_lo=`expr '(' $ac_mid ')' + 1`
18613 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
18616 ?*) ac_cv_sizeof_long=$ac_lo;;
18617 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (long), 77
18618 See \`config.log' for more details." >&5
18619 echo "$as_me: error: cannot compute sizeof (long), 77
18620 See \`config.log' for more details." >&2;}
18621 { (exit 1); exit 1; }; } ;;
18624 if test "$cross_compiling" = yes; then
18625 { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
18626 See \`config.log' for more details." >&5
18627 echo "$as_me: error: cannot run test program while cross compiling
18628 See \`config.log' for more details." >&2;}
18629 { (exit 1); exit 1; }; }
18631 cat >conftest.$ac_ext <<_ACEOF
18634 cat confdefs.h >>conftest.$ac_ext
18635 cat >>conftest.$ac_ext <<_ACEOF
18636 /* end confdefs.h. */
18637 $ac_includes_default
18638 long longval () { return (long) (sizeof (long)); }
18639 unsigned long ulongval () { return (long) (sizeof (long)); }
18641 #include <stdlib.h>
18646 FILE *f = fopen ("conftest.val", "w");
18649 if (((long) (sizeof (long))) < 0)
18651 long i = longval ();
18652 if (i != ((long) (sizeof (long))))
18654 fprintf (f, "%ld\n", i);
18658 unsigned long i = ulongval ();
18659 if (i != ((long) (sizeof (long))))
18661 fprintf (f, "%lu\n", i);
18663 exit (ferror (f) || fclose (f) != 0);
18669 rm -f conftest$ac_exeext
18670 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
18671 (eval $ac_link) 2>&5
18673 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18674 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
18675 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18676 (eval $ac_try) 2>&5
18678 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18679 (exit $ac_status); }; }; then
18680 ac_cv_sizeof_long=`cat conftest.val`
18682 echo "$as_me: program exited with status $ac_status" >&5
18683 echo "$as_me: failed program was:" >&5
18684 sed 's/^/| /' conftest.$ac_ext >&5
18686 ( exit $ac_status )
18687 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long), 77
18688 See \`config.log' for more details." >&5
18689 echo "$as_me: error: cannot compute sizeof (long), 77
18690 See \`config.log' for more details." >&2;}
18691 { (exit 1); exit 1; }; }
18693 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
18698 ac_cv_sizeof_long=0
18701 echo "$as_me:$LINENO: result: $ac_cv_sizeof_long" >&5
18702 echo "${ECHO_T}$ac_cv_sizeof_long" >&6
18703 cat >>confdefs.h <<_ACEOF
18704 #define SIZEOF_LONG $ac_cv_sizeof_long
18708 echo "$as_me:$LINENO: checking for void*" >&5
18709 echo $ECHO_N "checking for void*... $ECHO_C" >&6
18710 if test "${ac_cv_type_voidp+set}" = set; then
18711 echo $ECHO_N "(cached) $ECHO_C" >&6
18713 cat >conftest.$ac_ext <<_ACEOF
18716 cat confdefs.h >>conftest.$ac_ext
18717 cat >>conftest.$ac_ext <<_ACEOF
18718 /* end confdefs.h. */
18719 $ac_includes_default
18725 if (sizeof (void*))
18731 rm -f conftest.$ac_objext
18732 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18733 (eval $ac_compile) 2>conftest.er1
18735 grep -v '^ *+' conftest.er1 >conftest.err
18737 cat conftest.err >&5
18738 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18739 (exit $ac_status); } &&
18740 { ac_try='test -z "$ac_c_werror_flag"
18741 || test ! -s conftest.err'
18742 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18743 (eval $ac_try) 2>&5
18745 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18746 (exit $ac_status); }; } &&
18747 { ac_try='test -s conftest.$ac_objext'
18748 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18749 (eval $ac_try) 2>&5
18751 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18752 (exit $ac_status); }; }; then
18753 ac_cv_type_voidp=yes
18755 echo "$as_me: failed program was:" >&5
18756 sed 's/^/| /' conftest.$ac_ext >&5
18758 ac_cv_type_voidp=no
18760 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
18762 echo "$as_me:$LINENO: result: $ac_cv_type_voidp" >&5
18763 echo "${ECHO_T}$ac_cv_type_voidp" >&6
18765 echo "$as_me:$LINENO: checking size of void*" >&5
18766 echo $ECHO_N "checking size of void*... $ECHO_C" >&6
18767 if test "${ac_cv_sizeof_voidp+set}" = set; then
18768 echo $ECHO_N "(cached) $ECHO_C" >&6
18770 if test "$ac_cv_type_voidp" = yes; then
18771 # The cast to unsigned long works around a bug in the HP C Compiler
18772 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
18773 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
18774 # This bug is HP SR number 8606223364.
18775 if test "$cross_compiling" = yes; then
18776 # Depending upon the size, compute the lo and hi bounds.
18777 cat >conftest.$ac_ext <<_ACEOF
18780 cat confdefs.h >>conftest.$ac_ext
18781 cat >>conftest.$ac_ext <<_ACEOF
18782 /* end confdefs.h. */
18783 $ac_includes_default
18787 static int test_array [1 - 2 * !(((long) (sizeof (void*))) >= 0)];
18794 rm -f conftest.$ac_objext
18795 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18796 (eval $ac_compile) 2>conftest.er1
18798 grep -v '^ *+' conftest.er1 >conftest.err
18800 cat conftest.err >&5
18801 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18802 (exit $ac_status); } &&
18803 { ac_try='test -z "$ac_c_werror_flag"
18804 || test ! -s conftest.err'
18805 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18806 (eval $ac_try) 2>&5
18808 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18809 (exit $ac_status); }; } &&
18810 { ac_try='test -s conftest.$ac_objext'
18811 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18812 (eval $ac_try) 2>&5
18814 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18815 (exit $ac_status); }; }; then
18818 cat >conftest.$ac_ext <<_ACEOF
18821 cat confdefs.h >>conftest.$ac_ext
18822 cat >>conftest.$ac_ext <<_ACEOF
18823 /* end confdefs.h. */
18824 $ac_includes_default
18828 static int test_array [1 - 2 * !(((long) (sizeof (void*))) <= $ac_mid)];
18835 rm -f conftest.$ac_objext
18836 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18837 (eval $ac_compile) 2>conftest.er1
18839 grep -v '^ *+' conftest.er1 >conftest.err
18841 cat conftest.err >&5
18842 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18843 (exit $ac_status); } &&
18844 { ac_try='test -z "$ac_c_werror_flag"
18845 || test ! -s conftest.err'
18846 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18847 (eval $ac_try) 2>&5
18849 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18850 (exit $ac_status); }; } &&
18851 { ac_try='test -s conftest.$ac_objext'
18852 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18853 (eval $ac_try) 2>&5
18855 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18856 (exit $ac_status); }; }; then
18857 ac_hi=$ac_mid; break
18859 echo "$as_me: failed program was:" >&5
18860 sed 's/^/| /' conftest.$ac_ext >&5
18862 ac_lo=`expr $ac_mid + 1`
18863 if test $ac_lo -le $ac_mid; then
18867 ac_mid=`expr 2 '*' $ac_mid + 1`
18869 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
18872 echo "$as_me: failed program was:" >&5
18873 sed 's/^/| /' conftest.$ac_ext >&5
18875 cat >conftest.$ac_ext <<_ACEOF
18878 cat confdefs.h >>conftest.$ac_ext
18879 cat >>conftest.$ac_ext <<_ACEOF
18880 /* end confdefs.h. */
18881 $ac_includes_default
18885 static int test_array [1 - 2 * !(((long) (sizeof (void*))) < 0)];
18892 rm -f conftest.$ac_objext
18893 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18894 (eval $ac_compile) 2>conftest.er1
18896 grep -v '^ *+' conftest.er1 >conftest.err
18898 cat conftest.err >&5
18899 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18900 (exit $ac_status); } &&
18901 { ac_try='test -z "$ac_c_werror_flag"
18902 || test ! -s conftest.err'
18903 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18904 (eval $ac_try) 2>&5
18906 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18907 (exit $ac_status); }; } &&
18908 { ac_try='test -s conftest.$ac_objext'
18909 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18910 (eval $ac_try) 2>&5
18912 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18913 (exit $ac_status); }; }; then
18916 cat >conftest.$ac_ext <<_ACEOF
18919 cat confdefs.h >>conftest.$ac_ext
18920 cat >>conftest.$ac_ext <<_ACEOF
18921 /* end confdefs.h. */
18922 $ac_includes_default
18926 static int test_array [1 - 2 * !(((long) (sizeof (void*))) >= $ac_mid)];
18933 rm -f conftest.$ac_objext
18934 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18935 (eval $ac_compile) 2>conftest.er1
18937 grep -v '^ *+' conftest.er1 >conftest.err
18939 cat conftest.err >&5
18940 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18941 (exit $ac_status); } &&
18942 { ac_try='test -z "$ac_c_werror_flag"
18943 || test ! -s conftest.err'
18944 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18945 (eval $ac_try) 2>&5
18947 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18948 (exit $ac_status); }; } &&
18949 { ac_try='test -s conftest.$ac_objext'
18950 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18951 (eval $ac_try) 2>&5
18953 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18954 (exit $ac_status); }; }; then
18955 ac_lo=$ac_mid; break
18957 echo "$as_me: failed program was:" >&5
18958 sed 's/^/| /' conftest.$ac_ext >&5
18960 ac_hi=`expr '(' $ac_mid ')' - 1`
18961 if test $ac_mid -le $ac_hi; then
18965 ac_mid=`expr 2 '*' $ac_mid`
18967 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
18970 echo "$as_me: failed program was:" >&5
18971 sed 's/^/| /' conftest.$ac_ext >&5
18975 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
18977 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
18978 # Binary search between lo and hi bounds.
18979 while test "x$ac_lo" != "x$ac_hi"; do
18980 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
18981 cat >conftest.$ac_ext <<_ACEOF
18984 cat confdefs.h >>conftest.$ac_ext
18985 cat >>conftest.$ac_ext <<_ACEOF
18986 /* end confdefs.h. */
18987 $ac_includes_default
18991 static int test_array [1 - 2 * !(((long) (sizeof (void*))) <= $ac_mid)];
18998 rm -f conftest.$ac_objext
18999 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19000 (eval $ac_compile) 2>conftest.er1
19002 grep -v '^ *+' conftest.er1 >conftest.err
19004 cat conftest.err >&5
19005 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19006 (exit $ac_status); } &&
19007 { ac_try='test -z "$ac_c_werror_flag"
19008 || test ! -s conftest.err'
19009 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19010 (eval $ac_try) 2>&5
19012 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19013 (exit $ac_status); }; } &&
19014 { ac_try='test -s conftest.$ac_objext'
19015 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19016 (eval $ac_try) 2>&5
19018 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19019 (exit $ac_status); }; }; then
19022 echo "$as_me: failed program was:" >&5
19023 sed 's/^/| /' conftest.$ac_ext >&5
19025 ac_lo=`expr '(' $ac_mid ')' + 1`
19027 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
19030 ?*) ac_cv_sizeof_voidp=$ac_lo;;
19031 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (void*), 77
19032 See \`config.log' for more details." >&5
19033 echo "$as_me: error: cannot compute sizeof (void*), 77
19034 See \`config.log' for more details." >&2;}
19035 { (exit 1); exit 1; }; } ;;
19038 if test "$cross_compiling" = yes; then
19039 { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
19040 See \`config.log' for more details." >&5
19041 echo "$as_me: error: cannot run test program while cross compiling
19042 See \`config.log' for more details." >&2;}
19043 { (exit 1); exit 1; }; }
19045 cat >conftest.$ac_ext <<_ACEOF
19048 cat confdefs.h >>conftest.$ac_ext
19049 cat >>conftest.$ac_ext <<_ACEOF
19050 /* end confdefs.h. */
19051 $ac_includes_default
19052 long longval () { return (long) (sizeof (void*)); }
19053 unsigned long ulongval () { return (long) (sizeof (void*)); }
19055 #include <stdlib.h>
19060 FILE *f = fopen ("conftest.val", "w");
19063 if (((long) (sizeof (void*))) < 0)
19065 long i = longval ();
19066 if (i != ((long) (sizeof (void*))))
19068 fprintf (f, "%ld\n", i);
19072 unsigned long i = ulongval ();
19073 if (i != ((long) (sizeof (void*))))
19075 fprintf (f, "%lu\n", i);
19077 exit (ferror (f) || fclose (f) != 0);
19083 rm -f conftest$ac_exeext
19084 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
19085 (eval $ac_link) 2>&5
19087 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19088 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
19089 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19090 (eval $ac_try) 2>&5
19092 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19093 (exit $ac_status); }; }; then
19094 ac_cv_sizeof_voidp=`cat conftest.val`
19096 echo "$as_me: program exited with status $ac_status" >&5
19097 echo "$as_me: failed program was:" >&5
19098 sed 's/^/| /' conftest.$ac_ext >&5
19100 ( exit $ac_status )
19101 { { echo "$as_me:$LINENO: error: cannot compute sizeof (void*), 77
19102 See \`config.log' for more details." >&5
19103 echo "$as_me: error: cannot compute sizeof (void*), 77
19104 See \`config.log' for more details." >&2;}
19105 { (exit 1); exit 1; }; }
19107 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
19112 ac_cv_sizeof_voidp=0
19115 echo "$as_me:$LINENO: result: $ac_cv_sizeof_voidp" >&5
19116 echo "${ECHO_T}$ac_cv_sizeof_voidp" >&6
19117 cat >>confdefs.h <<_ACEOF
19118 #define SIZEOF_VOIDP $ac_cv_sizeof_voidp
19122 ac_cv_char_data_model=""
19123 ac_cv_char_data_model="$ac_cv_char_data_model$ac_cv_sizeof_char"
19124 ac_cv_char_data_model="$ac_cv_char_data_model$ac_cv_sizeof_short"
19125 ac_cv_char_data_model="$ac_cv_char_data_model$ac_cv_sizeof_int"
19126 ac_cv_long_data_model=""
19127 ac_cv_long_data_model="$ac_cv_long_data_model$ac_cv_sizeof_int"
19128 ac_cv_long_data_model="$ac_cv_long_data_model$ac_cv_sizeof_long"
19129 ac_cv_long_data_model="$ac_cv_long_data_model$ac_cv_sizeof_voidp"
19130 echo "$as_me:$LINENO: checking data model" >&5
19131 echo $ECHO_N "checking data model... $ECHO_C" >&6
19132 case "$ac_cv_char_data_model/$ac_cv_long_data_model" in
19133 122/242) ac_cv_data_model="IP16" ; n="standard 16bit machine" ;;
19134 122/244) ac_cv_data_model="LP32" ; n="standard 32bit machine" ;;
19135 122/*) ac_cv_data_model="i16" ; n="unusual int16 model" ;;
19136 124/444) ac_cv_data_model="ILP32" ; n="standard 32bit unixish" ;;
19137 124/488) ac_cv_data_model="LP64" ; n="standard 64bit unixish" ;;
19138 124/448) ac_cv_data_model="LLP64" ; n="unusual 64bit unixish" ;;
19139 124/*) ac_cv_data_model="i32" ; n="unusual int32 model" ;;
19140 128/888) ac_cv_data_model="ILP64" ; n="unusual 64bit numeric" ;;
19141 128/*) ac_cv_data_model="i64" ; n="unusual int64 model" ;;
19142 222/*2) ac_cv_data_model="DSP16" ; n="strict 16bit dsptype" ;;
19143 333/*3) ac_cv_data_model="DSP24" ; n="strict 24bit dsptype" ;;
19144 444/*4) ac_cv_data_model="DSP32" ; n="strict 32bit dsptype" ;;
19145 666/*6) ac_cv_data_model="DSP48" ; n="strict 48bit dsptype" ;;
19146 888/*8) ac_cv_data_model="DSP64" ; n="strict 64bit dsptype" ;;
19147 222/*|333/*|444/*|666/*|888/*) :
19148 ac_cv_data_model="iDSP" ; n="unusual dsptype" ;;
19149 *) ac_cv_data_model="none" ; n="very unusual model" ;;
19151 echo "$as_me:$LINENO: result: $ac_cv_data_model ($ac_cv_long_data_model, $n)" >&5
19152 echo "${ECHO_T}$ac_cv_data_model ($ac_cv_long_data_model, $n)" >&6
19156 if test "_$ac_cv_header_stdint_x" != "_" ; then
19157 ac_cv_header_stdint="$ac_cv_header_stdint_x"
19158 elif test "_$ac_cv_header_stdint_o" != "_" ; then
19159 ac_cv_header_stdint="$ac_cv_header_stdint_o"
19160 elif test "_$ac_cv_header_stdint_u" != "_" ; then
19161 ac_cv_header_stdint="$ac_cv_header_stdint_u"
19163 ac_cv_header_stdint="stddef.h"
19166 echo "$as_me:$LINENO: checking for extra inttypes in chosen header" >&5
19167 echo $ECHO_N "checking for extra inttypes in chosen header... $ECHO_C" >&6
19168 echo "$as_me:$LINENO: result: ($ac_cv_header_stdint)" >&5
19169 echo "${ECHO_T}($ac_cv_header_stdint)" >&6
19170 unset ac_cv_type_int_least32_t
19171 unset ac_cv_type_int_fast32_t
19172 echo "$as_me:$LINENO: checking for int_least32_t" >&5
19173 echo $ECHO_N "checking for int_least32_t... $ECHO_C" >&6
19174 if test "${ac_cv_type_int_least32_t+set}" = set; then
19175 echo $ECHO_N "(cached) $ECHO_C" >&6
19177 cat >conftest.$ac_ext <<_ACEOF
19180 cat confdefs.h >>conftest.$ac_ext
19181 cat >>conftest.$ac_ext <<_ACEOF
19182 /* end confdefs.h. */
19183 #include <$ac_cv_header_stdint>
19188 if ((int_least32_t *) 0)
19190 if (sizeof (int_least32_t))
19196 rm -f conftest.$ac_objext
19197 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19198 (eval $ac_compile) 2>conftest.er1
19200 grep -v '^ *+' conftest.er1 >conftest.err
19202 cat conftest.err >&5
19203 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19204 (exit $ac_status); } &&
19205 { ac_try='test -z "$ac_c_werror_flag"
19206 || test ! -s conftest.err'
19207 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19208 (eval $ac_try) 2>&5
19210 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19211 (exit $ac_status); }; } &&
19212 { ac_try='test -s conftest.$ac_objext'
19213 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19214 (eval $ac_try) 2>&5
19216 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19217 (exit $ac_status); }; }; then
19218 ac_cv_type_int_least32_t=yes
19220 echo "$as_me: failed program was:" >&5
19221 sed 's/^/| /' conftest.$ac_ext >&5
19223 ac_cv_type_int_least32_t=no
19225 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
19227 echo "$as_me:$LINENO: result: $ac_cv_type_int_least32_t" >&5
19228 echo "${ECHO_T}$ac_cv_type_int_least32_t" >&6
19230 echo "$as_me:$LINENO: checking for int_fast32_t" >&5
19231 echo $ECHO_N "checking for int_fast32_t... $ECHO_C" >&6
19232 if test "${ac_cv_type_int_fast32_t+set}" = set; then
19233 echo $ECHO_N "(cached) $ECHO_C" >&6
19235 cat >conftest.$ac_ext <<_ACEOF
19238 cat confdefs.h >>conftest.$ac_ext
19239 cat >>conftest.$ac_ext <<_ACEOF
19240 /* end confdefs.h. */
19241 #include<$ac_cv_header_stdint>
19246 if ((int_fast32_t *) 0)
19248 if (sizeof (int_fast32_t))
19254 rm -f conftest.$ac_objext
19255 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19256 (eval $ac_compile) 2>conftest.er1
19258 grep -v '^ *+' conftest.er1 >conftest.err
19260 cat conftest.err >&5
19261 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19262 (exit $ac_status); } &&
19263 { ac_try='test -z "$ac_c_werror_flag"
19264 || test ! -s conftest.err'
19265 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19266 (eval $ac_try) 2>&5
19268 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19269 (exit $ac_status); }; } &&
19270 { ac_try='test -s conftest.$ac_objext'
19271 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19272 (eval $ac_try) 2>&5
19274 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19275 (exit $ac_status); }; }; then
19276 ac_cv_type_int_fast32_t=yes
19278 echo "$as_me: failed program was:" >&5
19279 sed 's/^/| /' conftest.$ac_ext >&5
19281 ac_cv_type_int_fast32_t=no
19283 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
19285 echo "$as_me:$LINENO: result: $ac_cv_type_int_fast32_t" >&5
19286 echo "${ECHO_T}$ac_cv_type_int_fast32_t" >&6
19288 echo "$as_me:$LINENO: checking for intmax_t" >&5
19289 echo $ECHO_N "checking for intmax_t... $ECHO_C" >&6
19290 if test "${ac_cv_type_intmax_t+set}" = set; then
19291 echo $ECHO_N "(cached) $ECHO_C" >&6
19293 cat >conftest.$ac_ext <<_ACEOF
19296 cat confdefs.h >>conftest.$ac_ext
19297 cat >>conftest.$ac_ext <<_ACEOF
19298 /* end confdefs.h. */
19299 #include <$ac_cv_header_stdint>
19304 if ((intmax_t *) 0)
19306 if (sizeof (intmax_t))
19312 rm -f conftest.$ac_objext
19313 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19314 (eval $ac_compile) 2>conftest.er1
19316 grep -v '^ *+' conftest.er1 >conftest.err
19318 cat conftest.err >&5
19319 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19320 (exit $ac_status); } &&
19321 { ac_try='test -z "$ac_c_werror_flag"
19322 || test ! -s conftest.err'
19323 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19324 (eval $ac_try) 2>&5
19326 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19327 (exit $ac_status); }; } &&
19328 { ac_try='test -s conftest.$ac_objext'
19329 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19330 (eval $ac_try) 2>&5
19332 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19333 (exit $ac_status); }; }; then
19334 ac_cv_type_intmax_t=yes
19336 echo "$as_me: failed program was:" >&5
19337 sed 's/^/| /' conftest.$ac_ext >&5
19339 ac_cv_type_intmax_t=no
19341 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
19343 echo "$as_me:$LINENO: result: $ac_cv_type_intmax_t" >&5
19344 echo "${ECHO_T}$ac_cv_type_intmax_t" >&6
19347 fi # shortcircut to system "stdint.h"
19348 # ------------------ PREPARE VARIABLES ------------------------------
19349 if test "$GCC" = "yes" ; then
19350 ac_cv_stdint_message="using gnu compiler "`$CC --version | head -1`
19352 ac_cv_stdint_message="using $CC"
19355 echo "$as_me:$LINENO: result: make use of $ac_cv_header_stdint in $ac_stdint_h $ac_cv_stdint_result" >&5
19356 echo "${ECHO_T}make use of $ac_cv_header_stdint in $ac_stdint_h $ac_cv_stdint_result" >&6
19358 # ----------------- DONE inttypes.h checks START header -------------
19359 ac_config_commands="$ac_config_commands $ac_stdint_h"
19364 # Check whether --with-glibj_zip or --without-glibj_zip was given.
19365 if test "${with_glibj_zip+set}" = set; then
19366 withval="$with_glibj_zip"
19370 case "$with_glibj_zip" in
19372 use_glibj_zip=false
19375 use_glibj_zip=false
19378 { { echo "$as_me:$LINENO: error: Please suply an absolute path to a prebuilt glibj.zip" >&5
19379 echo "$as_me: error: Please suply an absolute path to a prebuilt glibj.zip" >&2;}
19380 { (exit 1); exit 1; }; }
19384 PATH_TO_GLIBJ_ZIP=$with_glibj_zip
19390 if test x$use_glibj_zip = xtrue; then
19391 USE_PREBUILT_GLIBJ_ZIP_TRUE=
19392 USE_PREBUILT_GLIBJ_ZIP_FALSE='#'
19394 USE_PREBUILT_GLIBJ_ZIP_TRUE='#'
19395 USE_PREBUILT_GLIBJ_ZIP_FALSE=
19401 # Check whether --with-escher or --without-escher was given.
19402 if test "${with_escher+set}" = set; then
19403 withval="$with_escher"
19406 case "$with_escher" in
19414 { { echo "$as_me:$LINENO: error: Please supply an absolute path to Escher library" >&5
19415 echo "$as_me: error: Please supply an absolute path to Escher library" >&2;}
19416 { (exit 1); exit 1; }; }
19420 PATH_TO_ESCHER=$with_escher
19426 if test x$use_escher = xtrue; then
19428 USE_ESCHER_FALSE='#'
19430 USE_ESCHER_TRUE='#'
19436 # Check whether --enable-local-sockets or --disable-local-sockets was given.
19437 if test "${enable_local_sockets+set}" = set; then
19438 enableval="$enable_local_sockets"
19439 case "${enableval}" in
19441 ENABLE_LOCAL_SOCKETS=yes
19444 ENABLE_LOCAL_SOCKETS=no
19448 if test "x$ENABLE_LOCAL_SOCKETS" = "xyes"
19450 if test "${ac_cv_header_sys_un_h+set}" = set; then
19451 echo "$as_me:$LINENO: checking for sys/un.h" >&5
19452 echo $ECHO_N "checking for sys/un.h... $ECHO_C" >&6
19453 if test "${ac_cv_header_sys_un_h+set}" = set; then
19454 echo $ECHO_N "(cached) $ECHO_C" >&6
19456 echo "$as_me:$LINENO: result: $ac_cv_header_sys_un_h" >&5
19457 echo "${ECHO_T}$ac_cv_header_sys_un_h" >&6
19459 # Is the header compilable?
19460 echo "$as_me:$LINENO: checking sys/un.h usability" >&5
19461 echo $ECHO_N "checking sys/un.h usability... $ECHO_C" >&6
19462 cat >conftest.$ac_ext <<_ACEOF
19465 cat confdefs.h >>conftest.$ac_ext
19466 cat >>conftest.$ac_ext <<_ACEOF
19467 /* end confdefs.h. */
19468 $ac_includes_default
19469 #include <sys/un.h>
19471 rm -f conftest.$ac_objext
19472 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19473 (eval $ac_compile) 2>conftest.er1
19475 grep -v '^ *+' conftest.er1 >conftest.err
19477 cat conftest.err >&5
19478 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19479 (exit $ac_status); } &&
19480 { ac_try='test -z "$ac_c_werror_flag"
19481 || test ! -s conftest.err'
19482 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19483 (eval $ac_try) 2>&5
19485 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19486 (exit $ac_status); }; } &&
19487 { ac_try='test -s conftest.$ac_objext'
19488 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19489 (eval $ac_try) 2>&5
19491 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19492 (exit $ac_status); }; }; then
19493 ac_header_compiler=yes
19495 echo "$as_me: failed program was:" >&5
19496 sed 's/^/| /' conftest.$ac_ext >&5
19498 ac_header_compiler=no
19500 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
19501 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
19502 echo "${ECHO_T}$ac_header_compiler" >&6
19504 # Is the header present?
19505 echo "$as_me:$LINENO: checking sys/un.h presence" >&5
19506 echo $ECHO_N "checking sys/un.h presence... $ECHO_C" >&6
19507 cat >conftest.$ac_ext <<_ACEOF
19510 cat confdefs.h >>conftest.$ac_ext
19511 cat >>conftest.$ac_ext <<_ACEOF
19512 /* end confdefs.h. */
19513 #include <sys/un.h>
19515 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
19516 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
19518 grep -v '^ *+' conftest.er1 >conftest.err
19520 cat conftest.err >&5
19521 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19522 (exit $ac_status); } >/dev/null; then
19523 if test -s conftest.err; then
19524 ac_cpp_err=$ac_c_preproc_warn_flag
19525 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
19532 if test -z "$ac_cpp_err"; then
19533 ac_header_preproc=yes
19535 echo "$as_me: failed program was:" >&5
19536 sed 's/^/| /' conftest.$ac_ext >&5
19538 ac_header_preproc=no
19540 rm -f conftest.err conftest.$ac_ext
19541 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
19542 echo "${ECHO_T}$ac_header_preproc" >&6
19544 # So? What about this header?
19545 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
19547 { echo "$as_me:$LINENO: WARNING: sys/un.h: accepted by the compiler, rejected by the preprocessor!" >&5
19548 echo "$as_me: WARNING: sys/un.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
19549 { echo "$as_me:$LINENO: WARNING: sys/un.h: proceeding with the compiler's result" >&5
19550 echo "$as_me: WARNING: sys/un.h: proceeding with the compiler's result" >&2;}
19551 ac_header_preproc=yes
19554 { echo "$as_me:$LINENO: WARNING: sys/un.h: present but cannot be compiled" >&5
19555 echo "$as_me: WARNING: sys/un.h: present but cannot be compiled" >&2;}
19556 { echo "$as_me:$LINENO: WARNING: sys/un.h: check for missing prerequisite headers?" >&5
19557 echo "$as_me: WARNING: sys/un.h: check for missing prerequisite headers?" >&2;}
19558 { echo "$as_me:$LINENO: WARNING: sys/un.h: see the Autoconf documentation" >&5
19559 echo "$as_me: WARNING: sys/un.h: see the Autoconf documentation" >&2;}
19560 { echo "$as_me:$LINENO: WARNING: sys/un.h: section \"Present But Cannot Be Compiled\"" >&5
19561 echo "$as_me: WARNING: sys/un.h: section \"Present But Cannot Be Compiled\"" >&2;}
19562 { echo "$as_me:$LINENO: WARNING: sys/un.h: proceeding with the preprocessor's result" >&5
19563 echo "$as_me: WARNING: sys/un.h: proceeding with the preprocessor's result" >&2;}
19564 { echo "$as_me:$LINENO: WARNING: sys/un.h: in the future, the compiler will take precedence" >&5
19565 echo "$as_me: WARNING: sys/un.h: in the future, the compiler will take precedence" >&2;}
19568 ## -------------------------------- ##
19569 ## Report this to classpath@gnu.org ##
19570 ## -------------------------------- ##
19573 sed "s/^/$as_me: WARNING: /" >&2
19576 echo "$as_me:$LINENO: checking for sys/un.h" >&5
19577 echo $ECHO_N "checking for sys/un.h... $ECHO_C" >&6
19578 if test "${ac_cv_header_sys_un_h+set}" = set; then
19579 echo $ECHO_N "(cached) $ECHO_C" >&6
19581 ac_cv_header_sys_un_h=$ac_header_preproc
19583 echo "$as_me:$LINENO: result: $ac_cv_header_sys_un_h" >&5
19584 echo "${ECHO_T}$ac_cv_header_sys_un_h" >&6
19595 for ac_func in read write bind listen accept shutdown
19597 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
19598 echo "$as_me:$LINENO: checking for $ac_func" >&5
19599 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
19600 if eval "test \"\${$as_ac_var+set}\" = set"; then
19601 echo $ECHO_N "(cached) $ECHO_C" >&6
19603 if test x$gcc_no_link = xyes; then
19604 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
19605 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
19606 { (exit 1); exit 1; }; }
19608 cat >conftest.$ac_ext <<_ACEOF
19611 cat confdefs.h >>conftest.$ac_ext
19612 cat >>conftest.$ac_ext <<_ACEOF
19613 /* end confdefs.h. */
19614 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
19615 For example, HP-UX 11i <limits.h> declares gettimeofday. */
19616 #define $ac_func innocuous_$ac_func
19618 /* System header to define __stub macros and hopefully few prototypes,
19619 which can conflict with char $ac_func (); below.
19620 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
19621 <limits.h> exists even on freestanding compilers. */
19624 # include <limits.h>
19626 # include <assert.h>
19631 /* Override any gcc2 internal prototype to avoid an error. */
19636 /* We use char because int might match the return type of a gcc2
19637 builtin and then its argument prototype would still apply. */
19639 /* The GNU C library defines this for functions which it implements
19640 to always fail with ENOSYS. Some functions are actually named
19641 something starting with __ and the normal name is an alias. */
19642 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
19645 char (*f) () = $ac_func;
19654 return f != $ac_func;
19659 rm -f conftest.$ac_objext conftest$ac_exeext
19660 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
19661 (eval $ac_link) 2>conftest.er1
19663 grep -v '^ *+' conftest.er1 >conftest.err
19665 cat conftest.err >&5
19666 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19667 (exit $ac_status); } &&
19668 { ac_try='test -z "$ac_c_werror_flag"
19669 || test ! -s conftest.err'
19670 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19671 (eval $ac_try) 2>&5
19673 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19674 (exit $ac_status); }; } &&
19675 { ac_try='test -s conftest$ac_exeext'
19676 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19677 (eval $ac_try) 2>&5
19679 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19680 (exit $ac_status); }; }; then
19681 eval "$as_ac_var=yes"
19683 echo "$as_me: failed program was:" >&5
19684 sed 's/^/| /' conftest.$ac_ext >&5
19686 eval "$as_ac_var=no"
19688 rm -f conftest.err conftest.$ac_objext \
19689 conftest$ac_exeext conftest.$ac_ext
19691 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
19692 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
19693 if test `eval echo '${'$as_ac_var'}'` = yes; then
19694 cat >>confdefs.h <<_ACEOF
19695 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
19699 { { echo "$as_me:$LINENO: error: networking support not available" >&5
19700 echo "$as_me: error: networking support not available" >&2;}
19701 { (exit 1); exit 1; }; }
19706 cat >>confdefs.h <<\_ACEOF
19707 #define ENABLE_LOCAL_SOCKETS 1
19713 if test "x$ENABLE_LOCAL_SOCKETS" = "xyes"; then
19714 ENABLE_LOCAL_SOCKETS_TRUE=
19715 ENABLE_LOCAL_SOCKETS_FALSE='#'
19717 ENABLE_LOCAL_SOCKETS_TRUE='#'
19718 ENABLE_LOCAL_SOCKETS_FALSE=
19724 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"
19727 if test "x${COMPILE_WRAPPERS}" = xno
19729 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"
19731 ac_config_commands="$ac_config_commands gappletviewer"
19733 ac_config_commands="$ac_config_commands gjarsigner"
19735 ac_config_commands="$ac_config_commands gkeytool"
19737 ac_config_commands="$ac_config_commands gjar"
19739 ac_config_commands="$ac_config_commands gnative2ascii"
19741 ac_config_commands="$ac_config_commands gserialver"
19743 ac_config_commands="$ac_config_commands grmiregistry"
19745 ac_config_commands="$ac_config_commands gtnameserv"
19747 ac_config_commands="$ac_config_commands gorbd"
19749 ac_config_commands="$ac_config_commands grmid"
19751 ac_config_commands="$ac_config_commands grmic"
19753 ac_config_commands="$ac_config_commands gjavah"
19757 ac_config_commands="$ac_config_commands gen-classlist"
19759 ac_config_commands="$ac_config_commands copy-vmresources"
19761 cat >confcache <<\_ACEOF
19762 # This file is a shell script that caches the results of configure
19763 # tests run on this system so they can be shared between configure
19764 # scripts and configure runs, see configure's option --config-cache.
19765 # It is not useful on other systems. If it contains results you don't
19766 # want to keep, you may remove or edit it.
19768 # config.status only pays attention to the cache file if you give it
19769 # the --recheck option to rerun configure.
19771 # `ac_cv_env_foo' variables (set or unset) will be overridden when
19772 # loading this file, other *unset* `ac_cv_foo' will be assigned the
19773 # following values.
19777 # The following way of writing the cache mishandles newlines in values,
19778 # but we know of no workaround that is simple, portable, and efficient.
19779 # So, don't put newlines in cache variables' values.
19780 # Ultrix sh set writes to stderr and can't be redirected directly,
19781 # and sets the high bit in the cache file unless we assign to the vars.
19784 case `(ac_space=' '; set | grep ac_space) 2>&1` in
19786 # `set' does not quote correctly, so add quotes (double-quote
19787 # substitution turns \\\\ into \\, and sed turns \\ into \).
19790 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
19793 # `set' quotes correctly as required by POSIX, so do not add quotes.
19795 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
19802 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
19804 /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
19806 if diff $cache_file confcache >/dev/null 2>&1; then :; else
19807 if test -w $cache_file; then
19808 test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
19809 cat confcache >$cache_file
19811 echo "not updating unwritable cache $cache_file"
19816 test "x$prefix" = xNONE && prefix=$ac_default_prefix
19817 # Let make expand exec_prefix.
19818 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
19820 # VPATH may cause trouble with some makes, so we remove $(srcdir),
19821 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
19822 # trailing colons and then remove the whole line if VPATH becomes empty
19823 # (actually we leave an empty line to preserve line numbers).
19824 if test "x$srcdir" = x.; then
19825 ac_vpsub='/^[ ]*VPATH[ ]*=/{
19826 s/:*\$(srcdir):*/:/;
19827 s/:*\${srcdir}:*/:/;
19829 s/^\([^=]*=[ ]*\):*/\1/;
19835 DEFS=-DHAVE_CONFIG_H
19839 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
19840 # 1. Remove the extension, and $U if already installed.
19841 ac_i=`echo "$ac_i" |
19842 sed 's/\$U\././;s/\.o$//;s/\.obj$//'`
19844 ac_libobjs="$ac_libobjs $ac_i\$U.$ac_objext"
19845 ac_ltlibobjs="$ac_ltlibobjs $ac_i"'$U.lo'
19847 LIBOBJS=$ac_libobjs
19849 LTLIBOBJS=$ac_ltlibobjs
19852 if test -z "${JAVA_MAINTAINER_MODE_TRUE}" && test -z "${JAVA_MAINTAINER_MODE_FALSE}"; then
19853 { { echo "$as_me:$LINENO: error: conditional \"JAVA_MAINTAINER_MODE\" was never defined.
19854 Usually this means the macro was only invoked conditionally." >&5
19855 echo "$as_me: error: conditional \"JAVA_MAINTAINER_MODE\" was never defined.
19856 Usually this means the macro was only invoked conditionally." >&2;}
19857 { (exit 1); exit 1; }; }
19859 if test -z "${CREATE_COLLECTIONS_TRUE}" && test -z "${CREATE_COLLECTIONS_FALSE}"; then
19860 { { echo "$as_me:$LINENO: error: conditional \"CREATE_COLLECTIONS\" was never defined.
19861 Usually this means the macro was only invoked conditionally." >&5
19862 echo "$as_me: error: conditional \"CREATE_COLLECTIONS\" was never defined.
19863 Usually this means the macro was only invoked conditionally." >&2;}
19864 { (exit 1); exit 1; }; }
19866 if test -z "${CREATE_JNI_LIBRARIES_TRUE}" && test -z "${CREATE_JNI_LIBRARIES_FALSE}"; then
19867 { { echo "$as_me:$LINENO: error: conditional \"CREATE_JNI_LIBRARIES\" was never defined.
19868 Usually this means the macro was only invoked conditionally." >&5
19869 echo "$as_me: error: conditional \"CREATE_JNI_LIBRARIES\" was never defined.
19870 Usually this means the macro was only invoked conditionally." >&2;}
19871 { (exit 1); exit 1; }; }
19873 if test -z "${CREATE_CORE_JNI_LIBRARIES_TRUE}" && test -z "${CREATE_CORE_JNI_LIBRARIES_FALSE}"; then
19874 { { echo "$as_me:$LINENO: error: conditional \"CREATE_CORE_JNI_LIBRARIES\" was never defined.
19875 Usually this means the macro was only invoked conditionally." >&5
19876 echo "$as_me: error: conditional \"CREATE_CORE_JNI_LIBRARIES\" was never defined.
19877 Usually this means the macro was only invoked conditionally." >&2;}
19878 { (exit 1); exit 1; }; }
19880 if test -z "${CREATE_GCONF_PEER_LIBRARIES_TRUE}" && test -z "${CREATE_GCONF_PEER_LIBRARIES_FALSE}"; then
19881 { { echo "$as_me:$LINENO: error: conditional \"CREATE_GCONF_PEER_LIBRARIES\" was never defined.
19882 Usually this means the macro was only invoked conditionally." >&5
19883 echo "$as_me: error: conditional \"CREATE_GCONF_PEER_LIBRARIES\" was never defined.
19884 Usually this means the macro was only invoked conditionally." >&2;}
19885 { (exit 1); exit 1; }; }
19887 if test -z "${CREATE_XMLJ_LIBRARY_TRUE}" && test -z "${CREATE_XMLJ_LIBRARY_FALSE}"; then
19888 { { echo "$as_me:$LINENO: error: conditional \"CREATE_XMLJ_LIBRARY\" was never defined.
19889 Usually this means the macro was only invoked conditionally." >&5
19890 echo "$as_me: error: conditional \"CREATE_XMLJ_LIBRARY\" was never defined.
19891 Usually this means the macro was only invoked conditionally." >&2;}
19892 { (exit 1); exit 1; }; }
19894 if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
19895 { { echo "$as_me:$LINENO: error: conditional \"AMDEP\" was never defined.
19896 Usually this means the macro was only invoked conditionally." >&5
19897 echo "$as_me: error: conditional \"AMDEP\" was never defined.
19898 Usually this means the macro was only invoked conditionally." >&2;}
19899 { (exit 1); exit 1; }; }
19901 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
19902 { { echo "$as_me:$LINENO: error: conditional \"am__fastdepCC\" was never defined.
19903 Usually this means the macro was only invoked conditionally." >&5
19904 echo "$as_me: error: conditional \"am__fastdepCC\" was never defined.
19905 Usually this means the macro was only invoked conditionally." >&2;}
19906 { (exit 1); exit 1; }; }
19908 if test -z "${CREATE_ALSA_LIBRARIES_TRUE}" && test -z "${CREATE_ALSA_LIBRARIES_FALSE}"; then
19909 { { echo "$as_me:$LINENO: error: conditional \"CREATE_ALSA_LIBRARIES\" was never defined.
19910 Usually this means the macro was only invoked conditionally." >&5
19911 echo "$as_me: error: conditional \"CREATE_ALSA_LIBRARIES\" was never defined.
19912 Usually this means the macro was only invoked conditionally." >&2;}
19913 { (exit 1); exit 1; }; }
19915 if test -z "${CREATE_DSSI_LIBRARIES_TRUE}" && test -z "${CREATE_DSSI_LIBRARIES_FALSE}"; then
19916 { { echo "$as_me:$LINENO: error: conditional \"CREATE_DSSI_LIBRARIES\" was never defined.
19917 Usually this means the macro was only invoked conditionally." >&5
19918 echo "$as_me: error: conditional \"CREATE_DSSI_LIBRARIES\" was never defined.
19919 Usually this means the macro was only invoked conditionally." >&2;}
19920 { (exit 1); exit 1; }; }
19922 if test -z "${CREATE_GTK_PEER_LIBRARIES_TRUE}" && test -z "${CREATE_GTK_PEER_LIBRARIES_FALSE}"; then
19923 { { echo "$as_me:$LINENO: error: conditional \"CREATE_GTK_PEER_LIBRARIES\" was never defined.
19924 Usually this means the macro was only invoked conditionally." >&5
19925 echo "$as_me: error: conditional \"CREATE_GTK_PEER_LIBRARIES\" was never defined.
19926 Usually this means the macro was only invoked conditionally." >&2;}
19927 { (exit 1); exit 1; }; }
19929 if test -z "${CREATE_QT_PEER_LIBRARIES_TRUE}" && test -z "${CREATE_QT_PEER_LIBRARIES_FALSE}"; then
19930 { { echo "$as_me:$LINENO: error: conditional \"CREATE_QT_PEER_LIBRARIES\" was never defined.
19931 Usually this means the macro was only invoked conditionally." >&5
19932 echo "$as_me: error: conditional \"CREATE_QT_PEER_LIBRARIES\" was never defined.
19933 Usually this means the macro was only invoked conditionally." >&2;}
19934 { (exit 1); exit 1; }; }
19936 if test -z "${CREATE_PLUGIN_TRUE}" && test -z "${CREATE_PLUGIN_FALSE}"; then
19937 { { echo "$as_me:$LINENO: error: conditional \"CREATE_PLUGIN\" was never defined.
19938 Usually this means the macro was only invoked conditionally." >&5
19939 echo "$as_me: error: conditional \"CREATE_PLUGIN\" was never defined.
19940 Usually this means the macro was only invoked conditionally." >&2;}
19941 { (exit 1); exit 1; }; }
19943 if test -z "${FOUND_CACAO_TRUE}" && test -z "${FOUND_CACAO_FALSE}"; then
19944 { { echo "$as_me:$LINENO: error: conditional \"FOUND_CACAO\" was never defined.
19945 Usually this means the macro was only invoked conditionally." >&5
19946 echo "$as_me: error: conditional \"FOUND_CACAO\" was never defined.
19947 Usually this means the macro was only invoked conditionally." >&2;}
19948 { (exit 1); exit 1; }; }
19950 if test -z "${CREATE_JNI_HEADERS_TRUE}" && test -z "${CREATE_JNI_HEADERS_FALSE}"; then
19951 { { echo "$as_me:$LINENO: error: conditional \"CREATE_JNI_HEADERS\" was never defined.
19952 Usually this means the macro was only invoked conditionally." >&5
19953 echo "$as_me: error: conditional \"CREATE_JNI_HEADERS\" was never defined.
19954 Usually this means the macro was only invoked conditionally." >&2;}
19955 { (exit 1); exit 1; }; }
19957 if test -z "${CREATE_WRAPPERS_TRUE}" && test -z "${CREATE_WRAPPERS_FALSE}"; then
19958 { { echo "$as_me:$LINENO: error: conditional \"CREATE_WRAPPERS\" was never defined.
19959 Usually this means the macro was only invoked conditionally." >&5
19960 echo "$as_me: error: conditional \"CREATE_WRAPPERS\" was never defined.
19961 Usually this means the macro was only invoked conditionally." >&2;}
19962 { (exit 1); exit 1; }; }
19964 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
19965 { { echo "$as_me:$LINENO: error: conditional \"am__fastdepCC\" was never defined.
19966 Usually this means the macro was only invoked conditionally." >&5
19967 echo "$as_me: error: conditional \"am__fastdepCC\" was never defined.
19968 Usually this means the macro was only invoked conditionally." >&2;}
19969 { (exit 1); exit 1; }; }
19971 if test -z "${am__fastdepCXX_TRUE}" && test -z "${am__fastdepCXX_FALSE}"; then
19972 { { echo "$as_me:$LINENO: error: conditional \"am__fastdepCXX\" was never defined.
19973 Usually this means the macro was only invoked conditionally." >&5
19974 echo "$as_me: error: conditional \"am__fastdepCXX\" was never defined.
19975 Usually this means the macro was only invoked conditionally." >&2;}
19976 { (exit 1); exit 1; }; }
19978 if test -z "${USER_SPECIFIED_JAVAH_TRUE}" && test -z "${USER_SPECIFIED_JAVAH_FALSE}"; then
19979 { { echo "$as_me:$LINENO: error: conditional \"USER_SPECIFIED_JAVAH\" was never defined.
19980 Usually this means the macro was only invoked conditionally." >&5
19981 echo "$as_me: error: conditional \"USER_SPECIFIED_JAVAH\" was never defined.
19982 Usually this means the macro was only invoked conditionally." >&2;}
19983 { (exit 1); exit 1; }; }
19985 if test -z "${FOUND_GCJ_TRUE}" && test -z "${FOUND_GCJ_FALSE}"; then
19986 { { echo "$as_me:$LINENO: error: conditional \"FOUND_GCJ\" was never defined.
19987 Usually this means the macro was only invoked conditionally." >&5
19988 echo "$as_me: error: conditional \"FOUND_GCJ\" was never defined.
19989 Usually this means the macro was only invoked conditionally." >&2;}
19990 { (exit 1); exit 1; }; }
19992 if test -z "${FOUND_JIKES_TRUE}" && test -z "${FOUND_JIKES_FALSE}"; then
19993 { { echo "$as_me:$LINENO: error: conditional \"FOUND_JIKES\" was never defined.
19994 Usually this means the macro was only invoked conditionally." >&5
19995 echo "$as_me: error: conditional \"FOUND_JIKES\" was never defined.
19996 Usually this means the macro was only invoked conditionally." >&2;}
19997 { (exit 1); exit 1; }; }
19999 if test -z "${FOUND_ECJ_TRUE}" && test -z "${FOUND_ECJ_FALSE}"; then
20000 { { echo "$as_me:$LINENO: error: conditional \"FOUND_ECJ\" was never defined.
20001 Usually this means the macro was only invoked conditionally." >&5
20002 echo "$as_me: error: conditional \"FOUND_ECJ\" was never defined.
20003 Usually this means the macro was only invoked conditionally." >&2;}
20004 { (exit 1); exit 1; }; }
20006 if test -z "${FOUND_GCJ_TRUE}" && test -z "${FOUND_GCJ_FALSE}"; then
20007 { { echo "$as_me:$LINENO: error: conditional \"FOUND_GCJ\" was never defined.
20008 Usually this means the macro was only invoked conditionally." >&5
20009 echo "$as_me: error: conditional \"FOUND_GCJ\" was never defined.
20010 Usually this means the macro was only invoked conditionally." >&2;}
20011 { (exit 1); exit 1; }; }
20013 if test -z "${FOUND_JIKES_TRUE}" && test -z "${FOUND_JIKES_FALSE}"; then
20014 { { echo "$as_me:$LINENO: error: conditional \"FOUND_JIKES\" was never defined.
20015 Usually this means the macro was only invoked conditionally." >&5
20016 echo "$as_me: error: conditional \"FOUND_JIKES\" was never defined.
20017 Usually this means the macro was only invoked conditionally." >&2;}
20018 { (exit 1); exit 1; }; }
20020 if test -z "${FOUND_ECJ_TRUE}" && test -z "${FOUND_ECJ_FALSE}"; then
20021 { { echo "$as_me:$LINENO: error: conditional \"FOUND_ECJ\" was never defined.
20022 Usually this means the macro was only invoked conditionally." >&5
20023 echo "$as_me: error: conditional \"FOUND_ECJ\" was never defined.
20024 Usually this means the macro was only invoked conditionally." >&2;}
20025 { (exit 1); exit 1; }; }
20027 if test -z "${FOUND_KJC_TRUE}" && test -z "${FOUND_KJC_FALSE}"; then
20028 { { echo "$as_me:$LINENO: error: conditional \"FOUND_KJC\" was never defined.
20029 Usually this means the macro was only invoked conditionally." >&5
20030 echo "$as_me: error: conditional \"FOUND_KJC\" was never defined.
20031 Usually this means the macro was only invoked conditionally." >&2;}
20032 { (exit 1); exit 1; }; }
20034 if test -z "${FOUND_GCJX_TRUE}" && test -z "${FOUND_GCJX_FALSE}"; then
20035 { { echo "$as_me:$LINENO: error: conditional \"FOUND_GCJX\" was never defined.
20036 Usually this means the macro was only invoked conditionally." >&5
20037 echo "$as_me: error: conditional \"FOUND_GCJX\" was never defined.
20038 Usually this means the macro was only invoked conditionally." >&2;}
20039 { (exit 1); exit 1; }; }
20041 if test -z "${USER_SPECIFIED_CLASSLIB_TRUE}" && test -z "${USER_SPECIFIED_CLASSLIB_FALSE}"; then
20042 { { echo "$as_me:$LINENO: error: conditional \"USER_SPECIFIED_CLASSLIB\" was never defined.
20043 Usually this means the macro was only invoked conditionally." >&5
20044 echo "$as_me: error: conditional \"USER_SPECIFIED_CLASSLIB\" was never defined.
20045 Usually this means the macro was only invoked conditionally." >&2;}
20046 { (exit 1); exit 1; }; }
20048 if test -z "${MAINTAINER_MODE_TRUE}" && test -z "${MAINTAINER_MODE_FALSE}"; then
20049 { { echo "$as_me:$LINENO: error: conditional \"MAINTAINER_MODE\" was never defined.
20050 Usually this means the macro was only invoked conditionally." >&5
20051 echo "$as_me: error: conditional \"MAINTAINER_MODE\" was never defined.
20052 Usually this means the macro was only invoked conditionally." >&2;}
20053 { (exit 1); exit 1; }; }
20055 if test -z "${INSTALL_GLIBJ_ZIP_TRUE}" && test -z "${INSTALL_GLIBJ_ZIP_FALSE}"; then
20056 { { echo "$as_me:$LINENO: error: conditional \"INSTALL_GLIBJ_ZIP\" was never defined.
20057 Usually this means the macro was only invoked conditionally." >&5
20058 echo "$as_me: error: conditional \"INSTALL_GLIBJ_ZIP\" was never defined.
20059 Usually this means the macro was only invoked conditionally." >&2;}
20060 { (exit 1); exit 1; }; }
20062 if test -z "${INSTALL_CLASS_FILES_TRUE}" && test -z "${INSTALL_CLASS_FILES_FALSE}"; then
20063 { { echo "$as_me:$LINENO: error: conditional \"INSTALL_CLASS_FILES\" was never defined.
20064 Usually this means the macro was only invoked conditionally." >&5
20065 echo "$as_me: error: conditional \"INSTALL_CLASS_FILES\" was never defined.
20066 Usually this means the macro was only invoked conditionally." >&2;}
20067 { (exit 1); exit 1; }; }
20069 if test -z "${BUILD_CLASS_FILES_TRUE}" && test -z "${BUILD_CLASS_FILES_FALSE}"; then
20070 { { echo "$as_me:$LINENO: error: conditional \"BUILD_CLASS_FILES\" was never defined.
20071 Usually this means the macro was only invoked conditionally." >&5
20072 echo "$as_me: error: conditional \"BUILD_CLASS_FILES\" was never defined.
20073 Usually this means the macro was only invoked conditionally." >&2;}
20074 { (exit 1); exit 1; }; }
20076 if test -z "${CREATE_API_DOCS_TRUE}" && test -z "${CREATE_API_DOCS_FALSE}"; then
20077 { { echo "$as_me:$LINENO: error: conditional \"CREATE_API_DOCS\" was never defined.
20078 Usually this means the macro was only invoked conditionally." >&5
20079 echo "$as_me: error: conditional \"CREATE_API_DOCS\" was never defined.
20080 Usually this means the macro was only invoked conditionally." >&2;}
20081 { (exit 1); exit 1; }; }
20083 if test -z "${REGEN_PARSERS_TRUE}" && test -z "${REGEN_PARSERS_FALSE}"; then
20084 { { echo "$as_me:$LINENO: error: conditional \"REGEN_PARSERS\" was never defined.
20085 Usually this means the macro was only invoked conditionally." >&5
20086 echo "$as_me: error: conditional \"REGEN_PARSERS\" was never defined.
20087 Usually this means the macro was only invoked conditionally." >&2;}
20088 { (exit 1); exit 1; }; }
20090 if test -z "${USE_PREBUILT_GLIBJ_ZIP_TRUE}" && test -z "${USE_PREBUILT_GLIBJ_ZIP_FALSE}"; then
20091 { { echo "$as_me:$LINENO: error: conditional \"USE_PREBUILT_GLIBJ_ZIP\" was never defined.
20092 Usually this means the macro was only invoked conditionally." >&5
20093 echo "$as_me: error: conditional \"USE_PREBUILT_GLIBJ_ZIP\" was never defined.
20094 Usually this means the macro was only invoked conditionally." >&2;}
20095 { (exit 1); exit 1; }; }
20097 if test -z "${USE_ESCHER_TRUE}" && test -z "${USE_ESCHER_FALSE}"; then
20098 { { echo "$as_me:$LINENO: error: conditional \"USE_ESCHER\" was never defined.
20099 Usually this means the macro was only invoked conditionally." >&5
20100 echo "$as_me: error: conditional \"USE_ESCHER\" was never defined.
20101 Usually this means the macro was only invoked conditionally." >&2;}
20102 { (exit 1); exit 1; }; }
20104 if test -z "${ENABLE_LOCAL_SOCKETS_TRUE}" && test -z "${ENABLE_LOCAL_SOCKETS_FALSE}"; then
20105 { { echo "$as_me:$LINENO: error: conditional \"ENABLE_LOCAL_SOCKETS\" was never defined.
20106 Usually this means the macro was only invoked conditionally." >&5
20107 echo "$as_me: error: conditional \"ENABLE_LOCAL_SOCKETS\" was never defined.
20108 Usually this means the macro was only invoked conditionally." >&2;}
20109 { (exit 1); exit 1; }; }
20112 : ${CONFIG_STATUS=./config.status}
20113 ac_clean_files_save=$ac_clean_files
20114 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
20115 { echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
20116 echo "$as_me: creating $CONFIG_STATUS" >&6;}
20117 cat >$CONFIG_STATUS <<_ACEOF
20119 # Generated by $as_me.
20120 # Run this file to recreate the current configuration.
20121 # Compiler output produced by configure, useful for debugging
20122 # configure, is in config.log if it exists.
20125 ac_cs_recheck=false
20127 SHELL=\${CONFIG_SHELL-$SHELL}
20130 cat >>$CONFIG_STATUS <<\_ACEOF
20131 ## --------------------- ##
20132 ## M4sh Initialization. ##
20133 ## --------------------- ##
20135 # Be Bourne compatible
20136 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
20139 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
20140 # is contrary to our usage. Disable this feature.
20141 alias -g '${1+"$@"}'='"$@"'
20142 elif test -n "${BASH_VERSION+set}" && (set -o posix) >/dev/null 2>&1; then
20145 DUALCASE=1; export DUALCASE # for MKS sh
20147 # Support unset when possible.
20148 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
20155 # Work around bugs in pre-3.0 UWIN ksh.
20156 $as_unset ENV MAIL MAILPATH
20163 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
20164 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
20165 LC_TELEPHONE LC_TIME
20167 if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
20168 eval $as_var=C; export $as_var
20174 # Required to use basename.
20175 if expr a : '\(a\)' >/dev/null 2>&1; then
20181 if (basename /) >/dev/null 2>&1 && test "X`basename / 2>&1`" = "X/"; then
20182 as_basename=basename
20188 # Name of the executable.
20189 as_me=`$as_basename "$0" ||
20190 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
20191 X"$0" : 'X\(//\)$' \| \
20192 X"$0" : 'X\(/\)$' \| \
20193 . : '\(.\)' 2>/dev/null ||
20195 sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; }
20196 /^X\/\(\/\/\)$/{ s//\1/; q; }
20197 /^X\/\(\/\).*/{ s//\1/; q; }
20201 # PATH needs CR, and LINENO needs CR and PATH.
20202 # Avoid depending upon Character Ranges.
20203 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
20204 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
20205 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
20206 as_cr_digits='0123456789'
20207 as_cr_alnum=$as_cr_Letters$as_cr_digits
20209 # The user is always right.
20210 if test "${PATH_SEPARATOR+set}" != set; then
20211 echo "#! /bin/sh" >conf$$.sh
20212 echo "exit 0" >>conf$$.sh
20214 if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
20223 as_lineno_1=$LINENO
20224 as_lineno_2=$LINENO
20225 as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
20226 test "x$as_lineno_1" != "x$as_lineno_2" &&
20227 test "x$as_lineno_3" = "x$as_lineno_2" || {
20228 # Find who we are. Look in the path if we contain no path at all
20231 *[\\/]* ) as_myself=$0 ;;
20232 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
20233 for as_dir in $PATH
20236 test -z "$as_dir" && as_dir=.
20237 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
20242 # We did not find ourselves, most probably we were run as `sh COMMAND'
20243 # in which case we are not to be found in the path.
20244 if test "x$as_myself" = x; then
20247 if test ! -f "$as_myself"; then
20248 { { echo "$as_me:$LINENO: error: cannot find myself; rerun with an absolute path" >&5
20249 echo "$as_me: error: cannot find myself; rerun with an absolute path" >&2;}
20250 { (exit 1); exit 1; }; }
20252 case $CONFIG_SHELL in
20254 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
20255 for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
20258 test -z "$as_dir" && as_dir=.
20259 for as_base in sh bash ksh sh5; do
20262 if ("$as_dir/$as_base" -c '
20263 as_lineno_1=$LINENO
20264 as_lineno_2=$LINENO
20265 as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
20266 test "x$as_lineno_1" != "x$as_lineno_2" &&
20267 test "x$as_lineno_3" = "x$as_lineno_2" ') 2>/dev/null; then
20268 $as_unset BASH_ENV || test "${BASH_ENV+set}" != set || { BASH_ENV=; export BASH_ENV; }
20269 $as_unset ENV || test "${ENV+set}" != set || { ENV=; export ENV; }
20270 CONFIG_SHELL=$as_dir/$as_base
20271 export CONFIG_SHELL
20272 exec "$CONFIG_SHELL" "$0" ${1+"$@"}
20280 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
20281 # uniformly replaced by the line number. The first 'sed' inserts a
20282 # line-number line before each line; the second 'sed' does the real
20283 # work. The second script uses 'N' to pair each line-number line
20284 # with the numbered line, and appends trailing '-' during
20285 # substitution so that $LINENO is not a special case at line end.
20286 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
20287 # second 'sed' script. Blame Lee E. McMahon for sed's syntax. :-)
20288 sed '=' <$as_myself |
20293 s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3,
20296 s,^['$as_cr_digits']*\n,,
20297 ' >$as_me.lineno &&
20298 chmod +x $as_me.lineno ||
20299 { { echo "$as_me:$LINENO: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&5
20300 echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2;}
20301 { (exit 1); exit 1; }; }
20303 # Don't try to exec as it changes $[0], causing all sort of problems
20304 # (the dirname of $[0] is not the place where we might find the
20305 # original and so on. Autoconf is especially sensible to this).
20307 # Exit status is that of the last command.
20312 case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in
20313 *c*,-n*) ECHO_N= ECHO_C='
20315 *c*,* ) ECHO_N=-n ECHO_C= ECHO_T= ;;
20316 *) ECHO_N= ECHO_C='\c' ECHO_T= ;;
20319 if expr a : '\(a\)' >/dev/null 2>&1; then
20325 rm -f conf$$ conf$$.exe conf$$.file
20327 if ln -s conf$$.file conf$$ 2>/dev/null; then
20328 # We could just check for DJGPP; but this test a) works b) is more generic
20329 # and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04).
20330 if test -f conf$$.exe; then
20331 # Don't use ln at all; we don't have any links
20336 elif ln conf$$.file conf$$ 2>/dev/null; then
20341 rm -f conf$$ conf$$.exe conf$$.file
20343 if mkdir -p . 2>/dev/null; then
20346 test -d ./-p && rmdir ./-p
20350 as_executable_p="test -f"
20352 # Sed expression to map a string onto a valid CPP name.
20353 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
20355 # Sed expression to map a string onto a valid variable name.
20356 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
20360 # We need space, tab and new line, in precisely that order.
20370 # Open the log real soon, to keep \$[0] and so on meaningful, and to
20371 # report actual input values of CONFIG_FILES etc. instead of their
20372 # values after options handling. Logging --version etc. is OK.
20376 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
20377 ## Running $as_me. ##
20382 This file was extended by GNU Classpath $as_me 0.94-pre, which was
20383 generated by GNU Autoconf 2.59. Invocation command line was
20385 CONFIG_FILES = $CONFIG_FILES
20386 CONFIG_HEADERS = $CONFIG_HEADERS
20387 CONFIG_LINKS = $CONFIG_LINKS
20388 CONFIG_COMMANDS = $CONFIG_COMMANDS
20392 echo "on `(hostname || uname -n) 2>/dev/null | sed 1q`" >&5
20396 # Files that config.status was made for.
20397 if test -n "$ac_config_files"; then
20398 echo "config_files=\"$ac_config_files\"" >>$CONFIG_STATUS
20401 if test -n "$ac_config_headers"; then
20402 echo "config_headers=\"$ac_config_headers\"" >>$CONFIG_STATUS
20405 if test -n "$ac_config_links"; then
20406 echo "config_links=\"$ac_config_links\"" >>$CONFIG_STATUS
20409 if test -n "$ac_config_commands"; then
20410 echo "config_commands=\"$ac_config_commands\"" >>$CONFIG_STATUS
20413 cat >>$CONFIG_STATUS <<\_ACEOF
20416 \`$as_me' instantiates files from templates according to the
20417 current configuration.
20419 Usage: $0 [OPTIONS] [FILE]...
20421 -h, --help print this help, then exit
20422 -V, --version print version number, then exit
20423 -q, --quiet do not print progress messages
20424 -d, --debug don't remove temporary files
20425 --recheck update $as_me by reconfiguring in the same conditions
20426 --file=FILE[:TEMPLATE]
20427 instantiate the configuration file FILE
20428 --header=FILE[:TEMPLATE]
20429 instantiate the configuration header FILE
20431 Configuration files:
20434 Configuration headers:
20437 Configuration links:
20440 Configuration commands:
20443 Report bugs to <bug-autoconf@gnu.org>."
20446 cat >>$CONFIG_STATUS <<_ACEOF
20448 GNU Classpath config.status 0.94-pre
20449 configured by $0, generated by GNU Autoconf 2.59,
20450 with options \\"`echo "$ac_configure_args" | sed 's/[\\""\`\$]/\\\\&/g'`\\"
20452 Copyright (C) 2003 Free Software Foundation, Inc.
20453 This config.status script is free software; the Free Software Foundation
20454 gives unlimited permission to copy, distribute and modify it."
20459 cat >>$CONFIG_STATUS <<\_ACEOF
20460 # If no file are specified by the user, then we need to provide default
20461 # value. By we need to know if files were specified by the user.
20467 ac_option=`expr "x$1" : 'x\([^=]*\)='`
20468 ac_optarg=`expr "x$1" : 'x[^=]*=\(.*\)'`
20476 *) # This is not an option, so the user has probably given explicit
20479 ac_need_defaults=false;;
20483 # Handling of the options.
20485 cat >>$CONFIG_STATUS <<\_ACEOF
20486 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
20488 --version | --vers* | -V )
20489 echo "$ac_cs_version"; exit 0 ;;
20491 # Conflict between --help and --header
20492 { { echo "$as_me:$LINENO: error: ambiguous option: $1
20493 Try \`$0 --help' for more information." >&5
20494 echo "$as_me: error: ambiguous option: $1
20495 Try \`$0 --help' for more information." >&2;}
20496 { (exit 1); exit 1; }; };;
20497 --help | --hel | -h )
20498 echo "$ac_cs_usage"; exit 0 ;;
20499 --debug | --d* | -d )
20501 --file | --fil | --fi | --f )
20503 CONFIG_FILES="$CONFIG_FILES $ac_optarg"
20504 ac_need_defaults=false;;
20505 --header | --heade | --head | --hea )
20507 CONFIG_HEADERS="$CONFIG_HEADERS $ac_optarg"
20508 ac_need_defaults=false;;
20509 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
20510 | -silent | --silent | --silen | --sile | --sil | --si | --s)
20513 # This is an error.
20514 -*) { { echo "$as_me:$LINENO: error: unrecognized option: $1
20515 Try \`$0 --help' for more information." >&5
20516 echo "$as_me: error: unrecognized option: $1
20517 Try \`$0 --help' for more information." >&2;}
20518 { (exit 1); exit 1; }; } ;;
20520 *) ac_config_targets="$ac_config_targets $1" ;;
20526 ac_configure_extra_args=
20528 if $ac_cs_silent; then
20530 ac_configure_extra_args="$ac_configure_extra_args --silent"
20534 cat >>$CONFIG_STATUS <<_ACEOF
20535 if \$ac_cs_recheck; then
20536 echo "running $SHELL $0 " $ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6
20537 exec $SHELL $0 $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
20542 cat >>$CONFIG_STATUS <<_ACEOF
20544 # INIT-COMMANDS section.
20547 AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
20548 # variables for create stdint.h replacement
20551 ac_stdint_h="$ac_stdint_h"
20552 _ac_stdint_h=`echo "_$PACKAGE-$ac_stdint_h" | $as_tr_cpp`
20553 ac_cv_stdint_message="$ac_cv_stdint_message"
20554 ac_cv_header_stdint_t="$ac_cv_header_stdint_t"
20555 ac_cv_header_stdint_x="$ac_cv_header_stdint_x"
20556 ac_cv_header_stdint_o="$ac_cv_header_stdint_o"
20557 ac_cv_header_stdint_u="$ac_cv_header_stdint_u"
20558 ac_cv_type_uint64_t="$ac_cv_type_uint64_t"
20559 ac_cv_type_u_int64_t="$ac_cv_type_u_int64_t"
20560 ac_cv_char_data_model="$ac_cv_char_data_model"
20561 ac_cv_long_data_model="$ac_cv_long_data_model"
20562 ac_cv_type_int_least32_t="$ac_cv_type_int_least32_t"
20563 ac_cv_type_int_fast32_t="$ac_cv_type_int_fast32_t"
20564 ac_cv_type_intmax_t="$ac_cv_type_intmax_t"
20571 cat >>$CONFIG_STATUS <<\_ACEOF
20572 for ac_config_target in $ac_config_targets
20574 case "$ac_config_target" in
20575 # Handling of arguments.
20576 "lib/mkcollections.pl" ) CONFIG_FILES="$CONFIG_FILES lib/mkcollections.pl" ;;
20577 "Makefile" ) CONFIG_FILES="$CONFIG_FILES Makefile" ;;
20578 "doc/Makefile" ) CONFIG_FILES="$CONFIG_FILES doc/Makefile" ;;
20579 "doc/api/Makefile" ) CONFIG_FILES="$CONFIG_FILES doc/api/Makefile" ;;
20580 "external/Makefile" ) CONFIG_FILES="$CONFIG_FILES external/Makefile" ;;
20581 "external/sax/Makefile" ) CONFIG_FILES="$CONFIG_FILES external/sax/Makefile" ;;
20582 "external/w3c_dom/Makefile" ) CONFIG_FILES="$CONFIG_FILES external/w3c_dom/Makefile" ;;
20583 "external/relaxngDatatype/Makefile" ) CONFIG_FILES="$CONFIG_FILES external/relaxngDatatype/Makefile" ;;
20584 "external/jsr166/Makefile" ) CONFIG_FILES="$CONFIG_FILES external/jsr166/Makefile" ;;
20585 "gnu/classpath/Configuration.java" ) CONFIG_FILES="$CONFIG_FILES gnu/classpath/Configuration.java" ;;
20586 "gnu/java/security/Configuration.java" ) CONFIG_FILES="$CONFIG_FILES gnu/java/security/Configuration.java" ;;
20587 "include/Makefile" ) CONFIG_FILES="$CONFIG_FILES include/Makefile" ;;
20588 "native/Makefile" ) CONFIG_FILES="$CONFIG_FILES native/Makefile" ;;
20589 "native/fdlibm/Makefile" ) CONFIG_FILES="$CONFIG_FILES native/fdlibm/Makefile" ;;
20590 "native/jawt/Makefile" ) CONFIG_FILES="$CONFIG_FILES native/jawt/Makefile" ;;
20591 "native/jni/Makefile" ) CONFIG_FILES="$CONFIG_FILES native/jni/Makefile" ;;
20592 "native/jni/classpath/Makefile" ) CONFIG_FILES="$CONFIG_FILES native/jni/classpath/Makefile" ;;
20593 "native/jni/java-io/Makefile" ) CONFIG_FILES="$CONFIG_FILES native/jni/java-io/Makefile" ;;
20594 "native/jni/java-lang/Makefile" ) CONFIG_FILES="$CONFIG_FILES native/jni/java-lang/Makefile" ;;
20595 "native/jni/java-net/Makefile" ) CONFIG_FILES="$CONFIG_FILES native/jni/java-net/Makefile" ;;
20596 "native/jni/java-nio/Makefile" ) CONFIG_FILES="$CONFIG_FILES native/jni/java-nio/Makefile" ;;
20597 "native/jni/java-util/Makefile" ) CONFIG_FILES="$CONFIG_FILES native/jni/java-util/Makefile" ;;
20598 "native/jni/gtk-peer/Makefile" ) CONFIG_FILES="$CONFIG_FILES native/jni/gtk-peer/Makefile" ;;
20599 "native/jni/gconf-peer/Makefile" ) CONFIG_FILES="$CONFIG_FILES native/jni/gconf-peer/Makefile" ;;
20600 "native/jni/qt-peer/Makefile" ) CONFIG_FILES="$CONFIG_FILES native/jni/qt-peer/Makefile" ;;
20601 "native/jni/xmlj/Makefile" ) CONFIG_FILES="$CONFIG_FILES native/jni/xmlj/Makefile" ;;
20602 "native/jni/midi-alsa/Makefile" ) CONFIG_FILES="$CONFIG_FILES native/jni/midi-alsa/Makefile" ;;
20603 "native/jni/midi-dssi/Makefile" ) CONFIG_FILES="$CONFIG_FILES native/jni/midi-dssi/Makefile" ;;
20604 "native/jni/native-lib/Makefile" ) CONFIG_FILES="$CONFIG_FILES native/jni/native-lib/Makefile" ;;
20605 "native/plugin/Makefile" ) CONFIG_FILES="$CONFIG_FILES native/plugin/Makefile" ;;
20606 "resource/Makefile" ) CONFIG_FILES="$CONFIG_FILES resource/Makefile" ;;
20607 "resource/META-INF/services/java.util.prefs.PreferencesFactory" ) CONFIG_FILES="$CONFIG_FILES resource/META-INF/services/java.util.prefs.PreferencesFactory" ;;
20608 "scripts/Makefile" ) CONFIG_FILES="$CONFIG_FILES scripts/Makefile" ;;
20609 "scripts/classpath.spec" ) CONFIG_FILES="$CONFIG_FILES scripts/classpath.spec" ;;
20610 "lib/Makefile" ) CONFIG_FILES="$CONFIG_FILES lib/Makefile" ;;
20611 "lib/gen-classlist.sh" ) CONFIG_FILES="$CONFIG_FILES lib/gen-classlist.sh" ;;
20612 "lib/copy-vmresources.sh" ) CONFIG_FILES="$CONFIG_FILES lib/copy-vmresources.sh" ;;
20613 "tools/Makefile" ) CONFIG_FILES="$CONFIG_FILES tools/Makefile" ;;
20614 "examples/Makefile" ) CONFIG_FILES="$CONFIG_FILES examples/Makefile" ;;
20615 "examples/Makefile.jawt" ) CONFIG_FILES="$CONFIG_FILES examples/Makefile.jawt" ;;
20616 "examples/Makefile.java2d" ) CONFIG_FILES="$CONFIG_FILES examples/Makefile.java2d" ;;
20617 "tools/gappletviewer" ) CONFIG_FILES="$CONFIG_FILES tools/gappletviewer" ;;
20618 "tools/gjarsigner" ) CONFIG_FILES="$CONFIG_FILES tools/gjarsigner" ;;
20619 "tools/gkeytool" ) CONFIG_FILES="$CONFIG_FILES tools/gkeytool" ;;
20620 "tools/gjar" ) CONFIG_FILES="$CONFIG_FILES tools/gjar" ;;
20621 "tools/gnative2ascii" ) CONFIG_FILES="$CONFIG_FILES tools/gnative2ascii" ;;
20622 "tools/gserialver" ) CONFIG_FILES="$CONFIG_FILES tools/gserialver" ;;
20623 "tools/grmiregistry" ) CONFIG_FILES="$CONFIG_FILES tools/grmiregistry" ;;
20624 "tools/gtnameserv" ) CONFIG_FILES="$CONFIG_FILES tools/gtnameserv" ;;
20625 "tools/gorbd" ) CONFIG_FILES="$CONFIG_FILES tools/gorbd" ;;
20626 "tools/grmid" ) CONFIG_FILES="$CONFIG_FILES tools/grmid" ;;
20627 "tools/grmic" ) CONFIG_FILES="$CONFIG_FILES tools/grmic" ;;
20628 "tools/gjavah" ) CONFIG_FILES="$CONFIG_FILES tools/gjavah" ;;
20629 "$ac_config_links_1" ) CONFIG_LINKS="$CONFIG_LINKS $ac_config_links_1" ;;
20630 "depfiles" ) CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;;
20631 "mkcollections.pl" ) CONFIG_COMMANDS="$CONFIG_COMMANDS mkcollections.pl" ;;
20632 "$ac_stdint_h" ) CONFIG_COMMANDS="$CONFIG_COMMANDS $ac_stdint_h" ;;
20633 "gappletviewer" ) CONFIG_COMMANDS="$CONFIG_COMMANDS gappletviewer" ;;
20634 "gjarsigner" ) CONFIG_COMMANDS="$CONFIG_COMMANDS gjarsigner" ;;
20635 "gkeytool" ) CONFIG_COMMANDS="$CONFIG_COMMANDS gkeytool" ;;
20636 "gjar" ) CONFIG_COMMANDS="$CONFIG_COMMANDS gjar" ;;
20637 "gnative2ascii" ) CONFIG_COMMANDS="$CONFIG_COMMANDS gnative2ascii" ;;
20638 "gserialver" ) CONFIG_COMMANDS="$CONFIG_COMMANDS gserialver" ;;
20639 "grmiregistry" ) CONFIG_COMMANDS="$CONFIG_COMMANDS grmiregistry" ;;
20640 "gtnameserv" ) CONFIG_COMMANDS="$CONFIG_COMMANDS gtnameserv" ;;
20641 "gorbd" ) CONFIG_COMMANDS="$CONFIG_COMMANDS gorbd" ;;
20642 "grmid" ) CONFIG_COMMANDS="$CONFIG_COMMANDS grmid" ;;
20643 "grmic" ) CONFIG_COMMANDS="$CONFIG_COMMANDS grmic" ;;
20644 "gjavah" ) CONFIG_COMMANDS="$CONFIG_COMMANDS gjavah" ;;
20645 "gen-classlist" ) CONFIG_COMMANDS="$CONFIG_COMMANDS gen-classlist" ;;
20646 "copy-vmresources" ) CONFIG_COMMANDS="$CONFIG_COMMANDS copy-vmresources" ;;
20647 "include/config.h" ) CONFIG_HEADERS="$CONFIG_HEADERS include/config.h" ;;
20648 *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
20649 echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
20650 { (exit 1); exit 1; }; };;
20654 # If the user did not use the arguments to specify the items to instantiate,
20655 # then the envvar interface is used. Set only those that are not.
20656 # We use the long form for the default assignment because of an extremely
20657 # bizarre bug on SunOS 4.1.3.
20658 if $ac_need_defaults; then
20659 test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
20660 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
20661 test "${CONFIG_LINKS+set}" = set || CONFIG_LINKS=$config_links
20662 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
20665 # Have a temporary directory for convenience. Make it in the build tree
20666 # simply because there is no reason to put it here, and in addition,
20667 # creating and moving files from /tmp can sometimes cause problems.
20668 # Create a temporary directory, and hook for its removal unless debugging.
20671 trap 'exit_status=$?; rm -rf $tmp && exit $exit_status' 0
20672 trap '{ (exit 1); exit 1; }' 1 2 13 15
20675 # Create a (secure) tmp directory for tmp files.
20678 tmp=`(umask 077 && mktemp -d -q "./confstatXXXXXX") 2>/dev/null` &&
20679 test -n "$tmp" && test -d "$tmp"
20682 tmp=./confstat$$-$RANDOM
20683 (umask 077 && mkdir $tmp)
20686 echo "$me: cannot create a temporary directory in ." >&2
20687 { (exit 1); exit 1; }
20692 cat >>$CONFIG_STATUS <<_ACEOF
20695 # CONFIG_FILES section.
20698 # No need to generate the scripts if there are no CONFIG_FILES.
20699 # This happens for instance when ./config.status config.h
20700 if test -n "\$CONFIG_FILES"; then
20701 # Protect against being on the right side of a sed subst in config.status.
20702 sed 's/,@/@@/; s/@,/@@/; s/,;t t\$/@;t t/; /@;t t\$/s/[\\\\&,]/\\\\&/g;
20703 s/@@/,@/; s/@@/@,/; s/@;t t\$/,;t t/' >\$tmp/subs.sed <<\\CEOF
20704 s,@SHELL@,$SHELL,;t t
20705 s,@PATH_SEPARATOR@,$PATH_SEPARATOR,;t t
20706 s,@PACKAGE_NAME@,$PACKAGE_NAME,;t t
20707 s,@PACKAGE_TARNAME@,$PACKAGE_TARNAME,;t t
20708 s,@PACKAGE_VERSION@,$PACKAGE_VERSION,;t t
20709 s,@PACKAGE_STRING@,$PACKAGE_STRING,;t t
20710 s,@PACKAGE_BUGREPORT@,$PACKAGE_BUGREPORT,;t t
20711 s,@exec_prefix@,$exec_prefix,;t t
20712 s,@prefix@,$prefix,;t t
20713 s,@program_transform_name@,$program_transform_name,;t t
20714 s,@bindir@,$bindir,;t t
20715 s,@sbindir@,$sbindir,;t t
20716 s,@libexecdir@,$libexecdir,;t t
20717 s,@datadir@,$datadir,;t t
20718 s,@sysconfdir@,$sysconfdir,;t t
20719 s,@sharedstatedir@,$sharedstatedir,;t t
20720 s,@localstatedir@,$localstatedir,;t t
20721 s,@libdir@,$libdir,;t t
20722 s,@includedir@,$includedir,;t t
20723 s,@oldincludedir@,$oldincludedir,;t t
20724 s,@infodir@,$infodir,;t t
20725 s,@mandir@,$mandir,;t t
20726 s,@build_alias@,$build_alias,;t t
20727 s,@host_alias@,$host_alias,;t t
20728 s,@target_alias@,$target_alias,;t t
20729 s,@DEFS@,$DEFS,;t t
20730 s,@ECHO_C@,$ECHO_C,;t t
20731 s,@ECHO_N@,$ECHO_N,;t t
20732 s,@ECHO_T@,$ECHO_T,;t t
20733 s,@LIBS@,$LIBS,;t t
20734 s,@build@,$build,;t t
20735 s,@build_cpu@,$build_cpu,;t t
20736 s,@build_vendor@,$build_vendor,;t t
20737 s,@build_os@,$build_os,;t t
20738 s,@host@,$host,;t t
20739 s,@host_cpu@,$host_cpu,;t t
20740 s,@host_vendor@,$host_vendor,;t t
20741 s,@host_os@,$host_os,;t t
20742 s,@target@,$target,;t t
20743 s,@target_cpu@,$target_cpu,;t t
20744 s,@target_vendor@,$target_vendor,;t t
20745 s,@target_os@,$target_os,;t t
20746 s,@JAVA_MAINTAINER_MODE_TRUE@,$JAVA_MAINTAINER_MODE_TRUE,;t t
20747 s,@JAVA_MAINTAINER_MODE_FALSE@,$JAVA_MAINTAINER_MODE_FALSE,;t t
20748 s,@LIBVERSION@,$LIBVERSION,;t t
20749 s,@CLASSPATH_MODULE@,$CLASSPATH_MODULE,;t t
20750 s,@CLASSPATH_CONVENIENCE@,$CLASSPATH_CONVENIENCE,;t t
20751 s,@INSTALL_PROGRAM@,$INSTALL_PROGRAM,;t t
20752 s,@INSTALL_SCRIPT@,$INSTALL_SCRIPT,;t t
20753 s,@INSTALL_DATA@,$INSTALL_DATA,;t t
20754 s,@CYGPATH_W@,$CYGPATH_W,;t t
20755 s,@PACKAGE@,$PACKAGE,;t t
20756 s,@VERSION@,$VERSION,;t t
20757 s,@ACLOCAL@,$ACLOCAL,;t t
20758 s,@AUTOCONF@,$AUTOCONF,;t t
20759 s,@AUTOMAKE@,$AUTOMAKE,;t t
20760 s,@AUTOHEADER@,$AUTOHEADER,;t t
20761 s,@MAKEINFO@,$MAKEINFO,;t t
20762 s,@install_sh@,$install_sh,;t t
20763 s,@STRIP@,$STRIP,;t t
20764 s,@ac_ct_STRIP@,$ac_ct_STRIP,;t t
20765 s,@INSTALL_STRIP_PROGRAM@,$INSTALL_STRIP_PROGRAM,;t t
20766 s,@mkdir_p@,$mkdir_p,;t t
20768 s,@SET_MAKE@,$SET_MAKE,;t t
20769 s,@am__leading_dot@,$am__leading_dot,;t t
20770 s,@AMTAR@,$AMTAR,;t t
20771 s,@am__tar@,$am__tar,;t t
20772 s,@am__untar@,$am__untar,;t t
20773 s,@CREATE_COLLECTIONS_TRUE@,$CREATE_COLLECTIONS_TRUE,;t t
20774 s,@CREATE_COLLECTIONS_FALSE@,$CREATE_COLLECTIONS_FALSE,;t t
20775 s,@CREATE_JNI_LIBRARIES_TRUE@,$CREATE_JNI_LIBRARIES_TRUE,;t t
20776 s,@CREATE_JNI_LIBRARIES_FALSE@,$CREATE_JNI_LIBRARIES_FALSE,;t t
20777 s,@CREATE_CORE_JNI_LIBRARIES_TRUE@,$CREATE_CORE_JNI_LIBRARIES_TRUE,;t t
20778 s,@CREATE_CORE_JNI_LIBRARIES_FALSE@,$CREATE_CORE_JNI_LIBRARIES_FALSE,;t t
20779 s,@CREATE_GCONF_PEER_LIBRARIES_TRUE@,$CREATE_GCONF_PEER_LIBRARIES_TRUE,;t t
20780 s,@CREATE_GCONF_PEER_LIBRARIES_FALSE@,$CREATE_GCONF_PEER_LIBRARIES_FALSE,;t t
20781 s,@default_toolkit@,$default_toolkit,;t t
20782 s,@CREATE_XMLJ_LIBRARY_TRUE@,$CREATE_XMLJ_LIBRARY_TRUE,;t t
20783 s,@CREATE_XMLJ_LIBRARY_FALSE@,$CREATE_XMLJ_LIBRARY_FALSE,;t t
20785 s,@CFLAGS@,$CFLAGS,;t t
20786 s,@LDFLAGS@,$LDFLAGS,;t t
20787 s,@CPPFLAGS@,$CPPFLAGS,;t t
20788 s,@ac_ct_CC@,$ac_ct_CC,;t t
20789 s,@EXEEXT@,$EXEEXT,;t t
20790 s,@OBJEXT@,$OBJEXT,;t t
20791 s,@DEPDIR@,$DEPDIR,;t t
20792 s,@am__include@,$am__include,;t t
20793 s,@am__quote@,$am__quote,;t t
20794 s,@AMDEP_TRUE@,$AMDEP_TRUE,;t t
20795 s,@AMDEP_FALSE@,$AMDEP_FALSE,;t t
20796 s,@AMDEPBACKSLASH@,$AMDEPBACKSLASH,;t t
20797 s,@CCDEPMODE@,$CCDEPMODE,;t t
20798 s,@am__fastdepCC_TRUE@,$am__fastdepCC_TRUE,;t t
20799 s,@am__fastdepCC_FALSE@,$am__fastdepCC_FALSE,;t t
20801 s,@EGREP@,$EGREP,;t t
20802 s,@CREATE_ALSA_LIBRARIES_TRUE@,$CREATE_ALSA_LIBRARIES_TRUE,;t t
20803 s,@CREATE_ALSA_LIBRARIES_FALSE@,$CREATE_ALSA_LIBRARIES_FALSE,;t t
20804 s,@CREATE_DSSI_LIBRARIES_TRUE@,$CREATE_DSSI_LIBRARIES_TRUE,;t t
20805 s,@CREATE_DSSI_LIBRARIES_FALSE@,$CREATE_DSSI_LIBRARIES_FALSE,;t t
20806 s,@CREATE_GTK_PEER_LIBRARIES_TRUE@,$CREATE_GTK_PEER_LIBRARIES_TRUE,;t t
20807 s,@CREATE_GTK_PEER_LIBRARIES_FALSE@,$CREATE_GTK_PEER_LIBRARIES_FALSE,;t t
20808 s,@CREATE_QT_PEER_LIBRARIES_TRUE@,$CREATE_QT_PEER_LIBRARIES_TRUE,;t t
20809 s,@CREATE_QT_PEER_LIBRARIES_FALSE@,$CREATE_QT_PEER_LIBRARIES_FALSE,;t t
20810 s,@CREATE_PLUGIN_TRUE@,$CREATE_PLUGIN_TRUE,;t t
20811 s,@CREATE_PLUGIN_FALSE@,$CREATE_PLUGIN_FALSE,;t t
20812 s,@nativeexeclibdir@,$nativeexeclibdir,;t t
20813 s,@glibjdir@,$glibjdir,;t t
20814 s,@VM_BINARY@,$VM_BINARY,;t t
20815 s,@FOUND_CACAO_TRUE@,$FOUND_CACAO_TRUE,;t t
20816 s,@FOUND_CACAO_FALSE@,$FOUND_CACAO_FALSE,;t t
20817 s,@CREATE_JNI_HEADERS_TRUE@,$CREATE_JNI_HEADERS_TRUE,;t t
20818 s,@CREATE_JNI_HEADERS_FALSE@,$CREATE_JNI_HEADERS_FALSE,;t t
20819 s,@CREATE_WRAPPERS_TRUE@,$CREATE_WRAPPERS_TRUE,;t t
20820 s,@CREATE_WRAPPERS_FALSE@,$CREATE_WRAPPERS_FALSE,;t t
20821 s,@LN_S@,$LN_S,;t t
20822 s,@RANLIB@,$RANLIB,;t t
20823 s,@ac_ct_RANLIB@,$ac_ct_RANLIB,;t t
20824 s,@LIBTOOL@,$LIBTOOL,;t t
20826 s,@CXXFLAGS@,$CXXFLAGS,;t t
20827 s,@ac_ct_CXX@,$ac_ct_CXX,;t t
20828 s,@CXXDEPMODE@,$CXXDEPMODE,;t t
20829 s,@am__fastdepCXX_TRUE@,$am__fastdepCXX_TRUE,;t t
20830 s,@am__fastdepCXX_FALSE@,$am__fastdepCXX_FALSE,;t t
20831 s,@CXXCPP@,$CXXCPP,;t t
20832 s,@PERL@,$PERL,;t t
20833 s,@COLLECTIONS_PREFIX@,$COLLECTIONS_PREFIX,;t t
20834 s,@LIBMAGIC@,$LIBMAGIC,;t t
20835 s,@LIBICONV@,$LIBICONV,;t t
20836 s,@LTLIBICONV@,$LTLIBICONV,;t t
20837 s,@WARNING_CFLAGS@,$WARNING_CFLAGS,;t t
20838 s,@STRICT_WARNING_CFLAGS@,$STRICT_WARNING_CFLAGS,;t t
20839 s,@ERROR_CFLAGS@,$ERROR_CFLAGS,;t t
20840 s,@PKG_CONFIG@,$PKG_CONFIG,;t t
20841 s,@XML_CFLAGS@,$XML_CFLAGS,;t t
20842 s,@XML_LIBS@,$XML_LIBS,;t t
20843 s,@XSLT_CFLAGS@,$XSLT_CFLAGS,;t t
20844 s,@XSLT_LIBS@,$XSLT_LIBS,;t t
20845 s,@X_CFLAGS@,$X_CFLAGS,;t t
20846 s,@X_PRE_LIBS@,$X_PRE_LIBS,;t t
20847 s,@X_LIBS@,$X_LIBS,;t t
20848 s,@X_EXTRA_LIBS@,$X_EXTRA_LIBS,;t t
20849 s,@GTK_CFLAGS@,$GTK_CFLAGS,;t t
20850 s,@GTK_LIBS@,$GTK_LIBS,;t t
20851 s,@FREETYPE2_CFLAGS@,$FREETYPE2_CFLAGS,;t t
20852 s,@FREETYPE2_LIBS@,$FREETYPE2_LIBS,;t t
20853 s,@PANGOFT2_CFLAGS@,$PANGOFT2_CFLAGS,;t t
20854 s,@PANGOFT2_LIBS@,$PANGOFT2_LIBS,;t t
20855 s,@XTEST_LIBS@,$XTEST_LIBS,;t t
20856 s,@GCONF_CFLAGS@,$GCONF_CFLAGS,;t t
20857 s,@GCONF_LIBS@,$GCONF_LIBS,;t t
20858 s,@GDK_CFLAGS@,$GDK_CFLAGS,;t t
20859 s,@GDK_LIBS@,$GDK_LIBS,;t t
20860 s,@QT_CFLAGS@,$QT_CFLAGS,;t t
20861 s,@QT_LIBS@,$QT_LIBS,;t t
20863 s,@MOZILLA_CFLAGS@,$MOZILLA_CFLAGS,;t t
20864 s,@MOZILLA_LIBS@,$MOZILLA_LIBS,;t t
20865 s,@GLIB_CFLAGS@,$GLIB_CFLAGS,;t t
20866 s,@GLIB_LIBS@,$GLIB_LIBS,;t t
20867 s,@PLUGIN_DIR@,$PLUGIN_DIR,;t t
20868 s,@USER_JAVAH@,$USER_JAVAH,;t t
20869 s,@USER_SPECIFIED_JAVAH_TRUE@,$USER_SPECIFIED_JAVAH_TRUE,;t t
20870 s,@USER_SPECIFIED_JAVAH_FALSE@,$USER_SPECIFIED_JAVAH_FALSE,;t t
20871 s,@CLASSPATH_INCLUDES@,$CLASSPATH_INCLUDES,;t t
20873 s,@JIKES@,$JIKES,;t t
20874 s,@JIKESENCODING@,$JIKESENCODING,;t t
20875 s,@JIKESWARNINGS@,$JIKESWARNINGS,;t t
20877 s,@GCJX@,$GCJX,;t t
20879 s,@FOUND_GCJ_TRUE@,$FOUND_GCJ_TRUE,;t t
20880 s,@FOUND_GCJ_FALSE@,$FOUND_GCJ_FALSE,;t t
20881 s,@FOUND_JIKES_TRUE@,$FOUND_JIKES_TRUE,;t t
20882 s,@FOUND_JIKES_FALSE@,$FOUND_JIKES_FALSE,;t t
20883 s,@FOUND_ECJ_TRUE@,$FOUND_ECJ_TRUE,;t t
20884 s,@FOUND_ECJ_FALSE@,$FOUND_ECJ_FALSE,;t t
20885 s,@FOUND_KJC_TRUE@,$FOUND_KJC_TRUE,;t t
20886 s,@FOUND_KJC_FALSE@,$FOUND_KJC_FALSE,;t t
20887 s,@FOUND_GCJX_TRUE@,$FOUND_GCJX_TRUE,;t t
20888 s,@FOUND_GCJX_FALSE@,$FOUND_GCJX_FALSE,;t t
20889 s,@USER_CLASSLIB@,$USER_CLASSLIB,;t t
20890 s,@USER_SPECIFIED_CLASSLIB_TRUE@,$USER_SPECIFIED_CLASSLIB_TRUE,;t t
20891 s,@USER_SPECIFIED_CLASSLIB_FALSE@,$USER_SPECIFIED_CLASSLIB_FALSE,;t t
20892 s,@vm_classes@,$vm_classes,;t t
20893 s,@MAINTAINER_MODE_TRUE@,$MAINTAINER_MODE_TRUE,;t t
20894 s,@MAINTAINER_MODE_FALSE@,$MAINTAINER_MODE_FALSE,;t t
20895 s,@MAINT@,$MAINT,;t t
20896 s,@LIBDEBUG@,$LIBDEBUG,;t t
20897 s,@INIT_LOAD_LIBRARY@,$INIT_LOAD_LIBRARY,;t t
20898 s,@JAVA_LANG_SYSTEM_EXPLICIT_INITIALIZATION@,$JAVA_LANG_SYSTEM_EXPLICIT_INITIALIZATION,;t t
20899 s,@REMOVE@,$REMOVE,;t t
20900 s,@MKDIR@,$MKDIR,;t t
20902 s,@DATE@,$DATE,;t t
20903 s,@FIND@,$FIND,;t t
20905 s,@FASTJAR@,$FASTJAR,;t t
20906 s,@INSTALL_GLIBJ_ZIP_TRUE@,$INSTALL_GLIBJ_ZIP_TRUE,;t t
20907 s,@INSTALL_GLIBJ_ZIP_FALSE@,$INSTALL_GLIBJ_ZIP_FALSE,;t t
20908 s,@INSTALL_CLASS_FILES_TRUE@,$INSTALL_CLASS_FILES_TRUE,;t t
20909 s,@INSTALL_CLASS_FILES_FALSE@,$INSTALL_CLASS_FILES_FALSE,;t t
20910 s,@BUILD_CLASS_FILES_TRUE@,$BUILD_CLASS_FILES_TRUE,;t t
20911 s,@BUILD_CLASS_FILES_FALSE@,$BUILD_CLASS_FILES_FALSE,;t t
20912 s,@EXAMPLESDIR@,$EXAMPLESDIR,;t t
20913 s,@GJDOC@,$GJDOC,;t t
20914 s,@CREATE_API_DOCS_TRUE@,$CREATE_API_DOCS_TRUE,;t t
20915 s,@CREATE_API_DOCS_FALSE@,$CREATE_API_DOCS_FALSE,;t t
20917 s,@JAY_SKELETON@,$JAY_SKELETON,;t t
20918 s,@REGEN_PARSERS_TRUE@,$REGEN_PARSERS_TRUE,;t t
20919 s,@REGEN_PARSERS_FALSE@,$REGEN_PARSERS_FALSE,;t t
20920 s,@USE_PREBUILT_GLIBJ_ZIP_TRUE@,$USE_PREBUILT_GLIBJ_ZIP_TRUE,;t t
20921 s,@USE_PREBUILT_GLIBJ_ZIP_FALSE@,$USE_PREBUILT_GLIBJ_ZIP_FALSE,;t t
20922 s,@PATH_TO_GLIBJ_ZIP@,$PATH_TO_GLIBJ_ZIP,;t t
20923 s,@USE_ESCHER_TRUE@,$USE_ESCHER_TRUE,;t t
20924 s,@USE_ESCHER_FALSE@,$USE_ESCHER_FALSE,;t t
20925 s,@PATH_TO_ESCHER@,$PATH_TO_ESCHER,;t t
20926 s,@ENABLE_LOCAL_SOCKETS_TRUE@,$ENABLE_LOCAL_SOCKETS_TRUE,;t t
20927 s,@ENABLE_LOCAL_SOCKETS_FALSE@,$ENABLE_LOCAL_SOCKETS_FALSE,;t t
20928 s,@DEFAULT_PREFS_PEER@,$DEFAULT_PREFS_PEER,;t t
20929 s,@LIBOBJS@,$LIBOBJS,;t t
20930 s,@LTLIBOBJS@,$LTLIBOBJS,;t t
20935 cat >>$CONFIG_STATUS <<\_ACEOF
20936 # Split the substitutions into bite-sized pieces for seds with
20937 # small command number limits, like on Digital OSF/1 and HP-UX.
20938 ac_max_sed_lines=48
20939 ac_sed_frag=1 # Number of current file.
20940 ac_beg=1 # First line for current file.
20941 ac_end=$ac_max_sed_lines # Line after last line for current file.
20944 while $ac_more_lines; do
20945 if test $ac_beg -gt 1; then
20946 sed "1,${ac_beg}d; ${ac_end}q" $tmp/subs.sed >$tmp/subs.frag
20948 sed "${ac_end}q" $tmp/subs.sed >$tmp/subs.frag
20950 if test ! -s $tmp/subs.frag; then
20951 ac_more_lines=false
20953 # The purpose of the label and of the branching condition is to
20954 # speed up the sed processing (if there are no `@' at all, there
20955 # is no need to browse any of the substitutions).
20956 # These are the two extra sed commands mentioned above.
20958 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b' && cat $tmp/subs.frag) >$tmp/subs-$ac_sed_frag.sed
20959 if test -z "$ac_sed_cmds"; then
20960 ac_sed_cmds="sed -f $tmp/subs-$ac_sed_frag.sed"
20962 ac_sed_cmds="$ac_sed_cmds | sed -f $tmp/subs-$ac_sed_frag.sed"
20964 ac_sed_frag=`expr $ac_sed_frag + 1`
20966 ac_end=`expr $ac_end + $ac_max_sed_lines`
20969 if test -z "$ac_sed_cmds"; then
20972 fi # test -n "$CONFIG_FILES"
20975 cat >>$CONFIG_STATUS <<\_ACEOF
20976 for ac_file in : $CONFIG_FILES; do test "x$ac_file" = x: && continue
20977 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
20979 - | *:- | *:-:* ) # input from stdin
20981 ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
20982 ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
20983 *:* ) ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
20984 ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
20985 * ) ac_file_in=$ac_file.in ;;
20988 # Compute @srcdir@, @top_srcdir@, and @INSTALL@ for subdirectories.
20989 ac_dir=`(dirname "$ac_file") 2>/dev/null ||
20990 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
20991 X"$ac_file" : 'X\(//\)[^/]' \| \
20992 X"$ac_file" : 'X\(//\)$' \| \
20993 X"$ac_file" : 'X\(/\)' \| \
20994 . : '\(.\)' 2>/dev/null ||
20996 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
20997 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
20998 /^X\(\/\/\)$/{ s//\1/; q; }
20999 /^X\(\/\).*/{ s//\1/; q; }
21001 { if $as_mkdir_p; then
21006 while test ! -d "$as_dir"; do
21007 as_dirs="$as_dir $as_dirs"
21008 as_dir=`(dirname "$as_dir") 2>/dev/null ||
21009 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
21010 X"$as_dir" : 'X\(//\)[^/]' \| \
21011 X"$as_dir" : 'X\(//\)$' \| \
21012 X"$as_dir" : 'X\(/\)' \| \
21013 . : '\(.\)' 2>/dev/null ||
21015 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
21016 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
21017 /^X\(\/\/\)$/{ s//\1/; q; }
21018 /^X\(\/\).*/{ s//\1/; q; }
21021 test ! -n "$as_dirs" || mkdir $as_dirs
21022 fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
21023 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
21024 { (exit 1); exit 1; }; }; }
21028 if test "$ac_dir" != .; then
21029 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
21030 # A "../" for each directory in $ac_dir_suffix.
21031 ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
21033 ac_dir_suffix= ac_top_builddir=
21037 .) # No --srcdir option. We are building in place.
21039 if test -z "$ac_top_builddir"; then
21042 ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
21044 [\\/]* | ?:[\\/]* ) # Absolute path.
21045 ac_srcdir=$srcdir$ac_dir_suffix;
21046 ac_top_srcdir=$srcdir ;;
21047 *) # Relative path.
21048 ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
21049 ac_top_srcdir=$ac_top_builddir$srcdir ;;
21052 # Do not use `cd foo && pwd` to compute absolute paths, because
21053 # the directories may not exist.
21055 .) ac_abs_builddir="$ac_dir";;
21058 .) ac_abs_builddir=`pwd`;;
21059 [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";;
21060 *) ac_abs_builddir=`pwd`/"$ac_dir";;
21063 case $ac_abs_builddir in
21064 .) ac_abs_top_builddir=${ac_top_builddir}.;;
21066 case ${ac_top_builddir}. in
21067 .) ac_abs_top_builddir=$ac_abs_builddir;;
21068 [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;;
21069 *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;;
21072 case $ac_abs_builddir in
21073 .) ac_abs_srcdir=$ac_srcdir;;
21076 .) ac_abs_srcdir=$ac_abs_builddir;;
21077 [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
21078 *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;;
21081 case $ac_abs_builddir in
21082 .) ac_abs_top_srcdir=$ac_top_srcdir;;
21084 case $ac_top_srcdir in
21085 .) ac_abs_top_srcdir=$ac_abs_builddir;;
21086 [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;;
21087 *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;;
21093 [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
21094 *) ac_INSTALL=$ac_top_builddir$INSTALL ;;
21097 if test x"$ac_file" != x-; then
21098 { echo "$as_me:$LINENO: creating $ac_file" >&5
21099 echo "$as_me: creating $ac_file" >&6;}
21102 # Let's still pretend it is `configure' which instantiates (i.e., don't
21103 # use $as_me), people would be surprised to read:
21104 # /* config.h. Generated by config.status. */
21105 if test x"$ac_file" = x-; then
21108 configure_input="$ac_file. "
21110 configure_input=$configure_input"Generated from `echo $ac_file_in |
21111 sed 's,.*/,,'` by configure."
21113 # First look for the input files in the build tree, otherwise in the
21115 ac_file_inputs=`IFS=:
21116 for f in $ac_file_in; do
21118 -) echo $tmp/stdin ;;
21120 # Absolute (can't be DOS-style, as IFS=:)
21121 test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
21122 echo "$as_me: error: cannot find input file: $f" >&2;}
21123 { (exit 1); exit 1; }; }
21126 if test -f "$f"; then
21129 elif test -f "$srcdir/$f"; then
21134 { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
21135 echo "$as_me: error: cannot find input file: $f" >&2;}
21136 { (exit 1); exit 1; }; }
21139 done` || { (exit 1); exit 1; }
21141 cat >>$CONFIG_STATUS <<_ACEOF
21145 cat >>$CONFIG_STATUS <<\_ACEOF
21147 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
21148 s,@configure_input@,$configure_input,;t t
21149 s,@srcdir@,$ac_srcdir,;t t
21150 s,@abs_srcdir@,$ac_abs_srcdir,;t t
21151 s,@top_srcdir@,$ac_top_srcdir,;t t
21152 s,@abs_top_srcdir@,$ac_abs_top_srcdir,;t t
21153 s,@builddir@,$ac_builddir,;t t
21154 s,@abs_builddir@,$ac_abs_builddir,;t t
21155 s,@top_builddir@,$ac_top_builddir,;t t
21156 s,@abs_top_builddir@,$ac_abs_top_builddir,;t t
21157 s,@INSTALL@,$ac_INSTALL,;t t
21158 " $ac_file_inputs | (eval "$ac_sed_cmds") >$tmp/out
21160 if test x"$ac_file" != x-; then
21161 mv $tmp/out $ac_file
21169 cat >>$CONFIG_STATUS <<\_ACEOF
21172 # CONFIG_HEADER section.
21175 # These sed commands are passed to sed as "A NAME B NAME C VALUE D", where
21176 # NAME is the cpp macro being defined and VALUE is the value it is being given.
21178 # ac_d sets the value in "#define NAME VALUE" lines.
21179 ac_dA='s,^\([ ]*\)#\([ ]*define[ ][ ]*\)'
21180 ac_dB='[ ].*$,\1#\2'
21183 # ac_u turns "#undef NAME" without trailing blanks into "#define NAME VALUE".
21184 ac_uA='s,^\([ ]*\)#\([ ]*\)undef\([ ][ ]*\)'
21185 ac_uB='$,\1#\2define\3'
21189 for ac_file in : $CONFIG_HEADERS; do test "x$ac_file" = x: && continue
21190 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
21192 - | *:- | *:-:* ) # input from stdin
21194 ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
21195 ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
21196 *:* ) ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
21197 ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
21198 * ) ac_file_in=$ac_file.in ;;
21201 test x"$ac_file" != x- && { echo "$as_me:$LINENO: creating $ac_file" >&5
21202 echo "$as_me: creating $ac_file" >&6;}
21204 # First look for the input files in the build tree, otherwise in the
21206 ac_file_inputs=`IFS=:
21207 for f in $ac_file_in; do
21209 -) echo $tmp/stdin ;;
21211 # Absolute (can't be DOS-style, as IFS=:)
21212 test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
21213 echo "$as_me: error: cannot find input file: $f" >&2;}
21214 { (exit 1); exit 1; }; }
21215 # Do quote $f, to prevent DOS paths from being IFS'd.
21218 if test -f "$f"; then
21221 elif test -f "$srcdir/$f"; then
21226 { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
21227 echo "$as_me: error: cannot find input file: $f" >&2;}
21228 { (exit 1); exit 1; }; }
21231 done` || { (exit 1); exit 1; }
21232 # Remove the trailing spaces.
21233 sed 's/[ ]*$//' $ac_file_inputs >$tmp/in
21237 # Transform confdefs.h into two sed scripts, `conftest.defines' and
21238 # `conftest.undefs', that substitutes the proper values into
21239 # config.h.in to produce config.h. The first handles `#define'
21240 # templates, and the second `#undef' templates.
21241 # And first: Protect against being on the right side of a sed subst in
21242 # config.status. Protect against being in an unquoted here document
21243 # in config.status.
21244 rm -f conftest.defines conftest.undefs
21245 # Using a here document instead of a string reduces the quoting nightmare.
21246 # Putting comments in sed scripts is not portable.
21248 # `end' is used to avoid that the second main sed command (meant for
21249 # 0-ary CPP macros) applies to n-ary macro definitions.
21250 # See the Autoconf documentation for `clear'.
21251 cat >confdef2sed.sed <<\_ACEOF
21256 s,^[ ]*#[ ]*define[ ][ ]*\([^ (][^ (]*\)\(([^)]*)\)[ ]*\(.*\)$,${ac_dA}\1${ac_dB}\1\2${ac_dC}\3${ac_dD},gp
21258 s,^[ ]*#[ ]*define[ ][ ]*\([^ ][^ ]*\)[ ]*\(.*\)$,${ac_dA}\1${ac_dB}\1${ac_dC}\2${ac_dD},gp
21261 # If some macros were called several times there might be several times
21262 # the same #defines, which is useless. Nevertheless, we may not want to
21263 # sort them, since we want the *last* AC-DEFINE to be honored.
21264 uniq confdefs.h | sed -n -f confdef2sed.sed >conftest.defines
21265 sed 's/ac_d/ac_u/g' conftest.defines >conftest.undefs
21266 rm -f confdef2sed.sed
21268 # This sed command replaces #undef with comments. This is necessary, for
21269 # example, in the case of _POSIX_SOURCE, which is predefined and required
21270 # on some systems where configure will not decide to define it.
21271 cat >>conftest.undefs <<\_ACEOF
21272 s,^[ ]*#[ ]*undef[ ][ ]*[a-zA-Z_][a-zA-Z_0-9]*,/* & */,
21275 # Break up conftest.defines because some shells have a limit on the size
21276 # of here documents, and old seds have small limits too (100 cmds).
21277 echo ' # Handle all the #define templates only if necessary.' >>$CONFIG_STATUS
21278 echo ' if grep "^[ ]*#[ ]*define" $tmp/in >/dev/null; then' >>$CONFIG_STATUS
21279 echo ' # If there are no defines, we may have an empty if/fi' >>$CONFIG_STATUS
21280 echo ' :' >>$CONFIG_STATUS
21281 rm -f conftest.tail
21282 while grep . conftest.defines >/dev/null
21284 # Write a limited-size here document to $tmp/defines.sed.
21285 echo ' cat >$tmp/defines.sed <<CEOF' >>$CONFIG_STATUS
21286 # Speed up: don't consider the non `#define' lines.
21287 echo '/^[ ]*#[ ]*define/!b' >>$CONFIG_STATUS
21288 # Work around the forget-to-reset-the-flag bug.
21289 echo 't clr' >>$CONFIG_STATUS
21290 echo ': clr' >>$CONFIG_STATUS
21291 sed ${ac_max_here_lines}q conftest.defines >>$CONFIG_STATUS
21293 sed -f $tmp/defines.sed $tmp/in >$tmp/out
21295 mv $tmp/out $tmp/in
21297 sed 1,${ac_max_here_lines}d conftest.defines >conftest.tail
21298 rm -f conftest.defines
21299 mv conftest.tail conftest.defines
21301 rm -f conftest.defines
21302 echo ' fi # grep' >>$CONFIG_STATUS
21303 echo >>$CONFIG_STATUS
21305 # Break up conftest.undefs because some shells have a limit on the size
21306 # of here documents, and old seds have small limits too (100 cmds).
21307 echo ' # Handle all the #undef templates' >>$CONFIG_STATUS
21308 rm -f conftest.tail
21309 while grep . conftest.undefs >/dev/null
21311 # Write a limited-size here document to $tmp/undefs.sed.
21312 echo ' cat >$tmp/undefs.sed <<CEOF' >>$CONFIG_STATUS
21313 # Speed up: don't consider the non `#undef'
21314 echo '/^[ ]*#[ ]*undef/!b' >>$CONFIG_STATUS
21315 # Work around the forget-to-reset-the-flag bug.
21316 echo 't clr' >>$CONFIG_STATUS
21317 echo ': clr' >>$CONFIG_STATUS
21318 sed ${ac_max_here_lines}q conftest.undefs >>$CONFIG_STATUS
21320 sed -f $tmp/undefs.sed $tmp/in >$tmp/out
21322 mv $tmp/out $tmp/in
21324 sed 1,${ac_max_here_lines}d conftest.undefs >conftest.tail
21325 rm -f conftest.undefs
21326 mv conftest.tail conftest.undefs
21328 rm -f conftest.undefs
21330 cat >>$CONFIG_STATUS <<\_ACEOF
21331 # Let's still pretend it is `configure' which instantiates (i.e., don't
21332 # use $as_me), people would be surprised to read:
21333 # /* config.h. Generated by config.status. */
21334 if test x"$ac_file" = x-; then
21335 echo "/* Generated by configure. */" >$tmp/config.h
21337 echo "/* $ac_file. Generated by configure. */" >$tmp/config.h
21339 cat $tmp/in >>$tmp/config.h
21341 if test x"$ac_file" != x-; then
21342 if diff $ac_file $tmp/config.h >/dev/null 2>&1; then
21343 { echo "$as_me:$LINENO: $ac_file is unchanged" >&5
21344 echo "$as_me: $ac_file is unchanged" >&6;}
21346 ac_dir=`(dirname "$ac_file") 2>/dev/null ||
21347 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
21348 X"$ac_file" : 'X\(//\)[^/]' \| \
21349 X"$ac_file" : 'X\(//\)$' \| \
21350 X"$ac_file" : 'X\(/\)' \| \
21351 . : '\(.\)' 2>/dev/null ||
21353 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
21354 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
21355 /^X\(\/\/\)$/{ s//\1/; q; }
21356 /^X\(\/\).*/{ s//\1/; q; }
21358 { if $as_mkdir_p; then
21363 while test ! -d "$as_dir"; do
21364 as_dirs="$as_dir $as_dirs"
21365 as_dir=`(dirname "$as_dir") 2>/dev/null ||
21366 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
21367 X"$as_dir" : 'X\(//\)[^/]' \| \
21368 X"$as_dir" : 'X\(//\)$' \| \
21369 X"$as_dir" : 'X\(/\)' \| \
21370 . : '\(.\)' 2>/dev/null ||
21372 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
21373 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
21374 /^X\(\/\/\)$/{ s//\1/; q; }
21375 /^X\(\/\).*/{ s//\1/; q; }
21378 test ! -n "$as_dirs" || mkdir $as_dirs
21379 fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
21380 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
21381 { (exit 1); exit 1; }; }; }
21384 mv $tmp/config.h $ac_file
21388 rm -f $tmp/config.h
21390 # Compute $ac_file's index in $config_headers.
21392 for _am_header in $config_headers :; do
21393 case $_am_header in
21394 $ac_file | $ac_file:* )
21397 _am_stamp_count=`expr $_am_stamp_count + 1` ;;
21400 echo "timestamp for $ac_file" >`(dirname $ac_file) 2>/dev/null ||
21401 $as_expr X$ac_file : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
21402 X$ac_file : 'X\(//\)[^/]' \| \
21403 X$ac_file : 'X\(//\)$' \| \
21404 X$ac_file : 'X\(/\)' \| \
21405 . : '\(.\)' 2>/dev/null ||
21407 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
21408 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
21409 /^X\(\/\/\)$/{ s//\1/; q; }
21410 /^X\(\/\).*/{ s//\1/; q; }
21411 s/.*/./; q'`/stamp-h$_am_stamp_count
21414 cat >>$CONFIG_STATUS <<\_ACEOF
21417 # CONFIG_LINKS section.
21420 for ac_file in : $CONFIG_LINKS; do test "x$ac_file" = x: && continue
21421 ac_dest=`echo "$ac_file" | sed 's,:.*,,'`
21422 ac_source=`echo "$ac_file" | sed 's,[^:]*:,,'`
21424 { echo "$as_me:$LINENO: linking $srcdir/$ac_source to $ac_dest" >&5
21425 echo "$as_me: linking $srcdir/$ac_source to $ac_dest" >&6;}
21427 if test ! -r $srcdir/$ac_source; then
21428 { { echo "$as_me:$LINENO: error: $srcdir/$ac_source: file not found" >&5
21429 echo "$as_me: error: $srcdir/$ac_source: file not found" >&2;}
21430 { (exit 1); exit 1; }; }
21434 # Make relative symlinks.
21435 ac_dest_dir=`(dirname "$ac_dest") 2>/dev/null ||
21436 $as_expr X"$ac_dest" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
21437 X"$ac_dest" : 'X\(//\)[^/]' \| \
21438 X"$ac_dest" : 'X\(//\)$' \| \
21439 X"$ac_dest" : 'X\(/\)' \| \
21440 . : '\(.\)' 2>/dev/null ||
21442 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
21443 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
21444 /^X\(\/\/\)$/{ s//\1/; q; }
21445 /^X\(\/\).*/{ s//\1/; q; }
21447 { if $as_mkdir_p; then
21448 mkdir -p "$ac_dest_dir"
21450 as_dir="$ac_dest_dir"
21452 while test ! -d "$as_dir"; do
21453 as_dirs="$as_dir $as_dirs"
21454 as_dir=`(dirname "$as_dir") 2>/dev/null ||
21455 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
21456 X"$as_dir" : 'X\(//\)[^/]' \| \
21457 X"$as_dir" : 'X\(//\)$' \| \
21458 X"$as_dir" : 'X\(/\)' \| \
21459 . : '\(.\)' 2>/dev/null ||
21461 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
21462 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
21463 /^X\(\/\/\)$/{ s//\1/; q; }
21464 /^X\(\/\).*/{ s//\1/; q; }
21467 test ! -n "$as_dirs" || mkdir $as_dirs
21468 fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dest_dir\"" >&5
21469 echo "$as_me: error: cannot create directory \"$ac_dest_dir\"" >&2;}
21470 { (exit 1); exit 1; }; }; }
21474 if test "$ac_dest_dir" != .; then
21475 ac_dir_suffix=/`echo "$ac_dest_dir" | sed 's,^\.[\\/],,'`
21476 # A "../" for each directory in $ac_dir_suffix.
21477 ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
21479 ac_dir_suffix= ac_top_builddir=
21483 .) # No --srcdir option. We are building in place.
21485 if test -z "$ac_top_builddir"; then
21488 ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
21490 [\\/]* | ?:[\\/]* ) # Absolute path.
21491 ac_srcdir=$srcdir$ac_dir_suffix;
21492 ac_top_srcdir=$srcdir ;;
21493 *) # Relative path.
21494 ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
21495 ac_top_srcdir=$ac_top_builddir$srcdir ;;
21498 # Do not use `cd foo && pwd` to compute absolute paths, because
21499 # the directories may not exist.
21501 .) ac_abs_builddir="$ac_dest_dir";;
21503 case "$ac_dest_dir" in
21504 .) ac_abs_builddir=`pwd`;;
21505 [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dest_dir";;
21506 *) ac_abs_builddir=`pwd`/"$ac_dest_dir";;
21509 case $ac_abs_builddir in
21510 .) ac_abs_top_builddir=${ac_top_builddir}.;;
21512 case ${ac_top_builddir}. in
21513 .) ac_abs_top_builddir=$ac_abs_builddir;;
21514 [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;;
21515 *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;;
21518 case $ac_abs_builddir in
21519 .) ac_abs_srcdir=$ac_srcdir;;
21522 .) ac_abs_srcdir=$ac_abs_builddir;;
21523 [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
21524 *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;;
21527 case $ac_abs_builddir in
21528 .) ac_abs_top_srcdir=$ac_top_srcdir;;
21530 case $ac_top_srcdir in
21531 .) ac_abs_top_srcdir=$ac_abs_builddir;;
21532 [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;;
21533 *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;;
21539 [\\/$]* | ?:[\\/]* ) ac_rel_source=$srcdir/$ac_source ;;
21540 *) ac_rel_source=$ac_top_builddir$srcdir/$ac_source ;;
21543 # Try a symlink, then a hard link, then a copy.
21544 ln -s $ac_rel_source $ac_dest 2>/dev/null ||
21545 ln $srcdir/$ac_source $ac_dest 2>/dev/null ||
21546 cp -p $srcdir/$ac_source $ac_dest ||
21547 { { echo "$as_me:$LINENO: error: cannot link or copy $srcdir/$ac_source to $ac_dest" >&5
21548 echo "$as_me: error: cannot link or copy $srcdir/$ac_source to $ac_dest" >&2;}
21549 { (exit 1); exit 1; }; }
21552 cat >>$CONFIG_STATUS <<\_ACEOF
21555 # CONFIG_COMMANDS section.
21557 for ac_file in : $CONFIG_COMMANDS; do test "x$ac_file" = x: && continue
21558 ac_dest=`echo "$ac_file" | sed 's,:.*,,'`
21559 ac_source=`echo "$ac_file" | sed 's,[^:]*:,,'`
21560 ac_dir=`(dirname "$ac_dest") 2>/dev/null ||
21561 $as_expr X"$ac_dest" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
21562 X"$ac_dest" : 'X\(//\)[^/]' \| \
21563 X"$ac_dest" : 'X\(//\)$' \| \
21564 X"$ac_dest" : 'X\(/\)' \| \
21565 . : '\(.\)' 2>/dev/null ||
21567 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
21568 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
21569 /^X\(\/\/\)$/{ s//\1/; q; }
21570 /^X\(\/\).*/{ s//\1/; q; }
21572 { if $as_mkdir_p; then
21577 while test ! -d "$as_dir"; do
21578 as_dirs="$as_dir $as_dirs"
21579 as_dir=`(dirname "$as_dir") 2>/dev/null ||
21580 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
21581 X"$as_dir" : 'X\(//\)[^/]' \| \
21582 X"$as_dir" : 'X\(//\)$' \| \
21583 X"$as_dir" : 'X\(/\)' \| \
21584 . : '\(.\)' 2>/dev/null ||
21586 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
21587 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
21588 /^X\(\/\/\)$/{ s//\1/; q; }
21589 /^X\(\/\).*/{ s//\1/; q; }
21592 test ! -n "$as_dirs" || mkdir $as_dirs
21593 fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
21594 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
21595 { (exit 1); exit 1; }; }; }
21599 if test "$ac_dir" != .; then
21600 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
21601 # A "../" for each directory in $ac_dir_suffix.
21602 ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
21604 ac_dir_suffix= ac_top_builddir=
21608 .) # No --srcdir option. We are building in place.
21610 if test -z "$ac_top_builddir"; then
21613 ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
21615 [\\/]* | ?:[\\/]* ) # Absolute path.
21616 ac_srcdir=$srcdir$ac_dir_suffix;
21617 ac_top_srcdir=$srcdir ;;
21618 *) # Relative path.
21619 ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
21620 ac_top_srcdir=$ac_top_builddir$srcdir ;;
21623 # Do not use `cd foo && pwd` to compute absolute paths, because
21624 # the directories may not exist.
21626 .) ac_abs_builddir="$ac_dir";;
21629 .) ac_abs_builddir=`pwd`;;
21630 [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";;
21631 *) ac_abs_builddir=`pwd`/"$ac_dir";;
21634 case $ac_abs_builddir in
21635 .) ac_abs_top_builddir=${ac_top_builddir}.;;
21637 case ${ac_top_builddir}. in
21638 .) ac_abs_top_builddir=$ac_abs_builddir;;
21639 [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;;
21640 *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;;
21643 case $ac_abs_builddir in
21644 .) ac_abs_srcdir=$ac_srcdir;;
21647 .) ac_abs_srcdir=$ac_abs_builddir;;
21648 [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
21649 *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;;
21652 case $ac_abs_builddir in
21653 .) ac_abs_top_srcdir=$ac_top_srcdir;;
21655 case $ac_top_srcdir in
21656 .) ac_abs_top_srcdir=$ac_abs_builddir;;
21657 [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;;
21658 *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;;
21663 { echo "$as_me:$LINENO: executing $ac_dest commands" >&5
21664 echo "$as_me: executing $ac_dest commands" >&6;}
21666 depfiles ) test x"$AMDEP_TRUE" != x"" || for mf in $CONFIG_FILES; do
21667 # Strip MF so we end up with the name of the file.
21668 mf=`echo "$mf" | sed -e 's/:.*$//'`
21669 # Check whether this is an Automake generated Makefile or not.
21670 # We used to match only the files named `Makefile.in', but
21671 # some people rename them; so instead we look at the file content.
21672 # Grep'ing the first line is not enough: some people post-process
21673 # each Makefile.in and add a new line on top of each file to say so.
21674 # So let's grep whole file.
21675 if grep '^#.*generated by automake' $mf > /dev/null 2>&1; then
21676 dirpart=`(dirname "$mf") 2>/dev/null ||
21677 $as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
21678 X"$mf" : 'X\(//\)[^/]' \| \
21679 X"$mf" : 'X\(//\)$' \| \
21680 X"$mf" : 'X\(/\)' \| \
21681 . : '\(.\)' 2>/dev/null ||
21683 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
21684 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
21685 /^X\(\/\/\)$/{ s//\1/; q; }
21686 /^X\(\/\).*/{ s//\1/; q; }
21691 # Extract the definition of DEPDIR, am__include, and am__quote
21692 # from the Makefile without running `make'.
21693 DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"`
21694 test -z "$DEPDIR" && continue
21695 am__include=`sed -n 's/^am__include = //p' < "$mf"`
21696 test -z "am__include" && continue
21697 am__quote=`sed -n 's/^am__quote = //p' < "$mf"`
21698 # When using ansi2knr, U may be empty or an underscore; expand it
21699 U=`sed -n 's/^U = //p' < "$mf"`
21700 # Find all dependency output files, they are included files with
21701 # $(DEPDIR) in their names. We invoke sed twice because it is the
21702 # simplest approach to changing $(DEPDIR) to its actual value in the
21704 for file in `sed -n "
21705 s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
21706 sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do
21707 # Make sure the directory exists.
21708 test -f "$dirpart/$file" && continue
21709 fdir=`(dirname "$file") 2>/dev/null ||
21710 $as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
21711 X"$file" : 'X\(//\)[^/]' \| \
21712 X"$file" : 'X\(//\)$' \| \
21713 X"$file" : 'X\(/\)' \| \
21714 . : '\(.\)' 2>/dev/null ||
21716 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
21717 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
21718 /^X\(\/\/\)$/{ s//\1/; q; }
21719 /^X\(\/\).*/{ s//\1/; q; }
21721 { if $as_mkdir_p; then
21722 mkdir -p $dirpart/$fdir
21724 as_dir=$dirpart/$fdir
21726 while test ! -d "$as_dir"; do
21727 as_dirs="$as_dir $as_dirs"
21728 as_dir=`(dirname "$as_dir") 2>/dev/null ||
21729 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
21730 X"$as_dir" : 'X\(//\)[^/]' \| \
21731 X"$as_dir" : 'X\(//\)$' \| \
21732 X"$as_dir" : 'X\(/\)' \| \
21733 . : '\(.\)' 2>/dev/null ||
21735 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
21736 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
21737 /^X\(\/\/\)$/{ s//\1/; q; }
21738 /^X\(\/\).*/{ s//\1/; q; }
21741 test ! -n "$as_dirs" || mkdir $as_dirs
21742 fi || { { echo "$as_me:$LINENO: error: cannot create directory $dirpart/$fdir" >&5
21743 echo "$as_me: error: cannot create directory $dirpart/$fdir" >&2;}
21744 { (exit 1); exit 1; }; }; }
21746 # echo "creating $dirpart/$file"
21747 echo '# dummy' > "$dirpart/$file"
21751 mkcollections.pl ) chmod 755 lib/mkcollections.pl ;;
21753 { echo "$as_me:$LINENO: creating $ac_stdint_h : $_ac_stdint_h" >&5
21754 echo "$as_me: creating $ac_stdint_h : $_ac_stdint_h" >&6;}
21755 ac_stdint=$tmp/_stdint.h
21757 echo "#ifndef" $_ac_stdint_h >$ac_stdint
21758 echo "#define" $_ac_stdint_h "1" >>$ac_stdint
21759 echo "#ifndef" _GENERATED_STDINT_H >>$ac_stdint
21760 echo "#define" _GENERATED_STDINT_H '"'$PACKAGE $VERSION'"' >>$ac_stdint
21761 echo "/* generated $ac_cv_stdint_message */" >>$ac_stdint
21762 if test "_$ac_cv_header_stdint_t" != "_" ; then
21763 echo "#define _STDINT_HAVE_STDINT_H" "1" >>$ac_stdint
21764 echo "#include <stdint.h>" >>$ac_stdint
21765 echo "#endif" >>$ac_stdint
21766 echo "#endif" >>$ac_stdint
21769 cat >>$ac_stdint <<STDINT_EOF
21771 /* ................... shortcircuit part ........................... */
21773 #if defined HAVE_STDINT_H || defined _STDINT_HAVE_STDINT_H
21774 #include <stdint.h>
21776 #include <stddef.h>
21778 /* .................... configured part ............................ */
21782 echo "/* whether we have a C99 compatible stdint header file */" >>$ac_stdint
21783 if test "_$ac_cv_header_stdint_x" != "_" ; then
21784 ac_header="$ac_cv_header_stdint_x"
21785 echo "#define _STDINT_HEADER_INTPTR" '"'"$ac_header"'"' >>$ac_stdint
21787 echo "/* #undef _STDINT_HEADER_INTPTR */" >>$ac_stdint
21790 echo "/* whether we have a C96 compatible inttypes header file */" >>$ac_stdint
21791 if test "_$ac_cv_header_stdint_o" != "_" ; then
21792 ac_header="$ac_cv_header_stdint_o"
21793 echo "#define _STDINT_HEADER_UINT32" '"'"$ac_header"'"' >>$ac_stdint
21795 echo "/* #undef _STDINT_HEADER_UINT32 */" >>$ac_stdint
21798 echo "/* whether we have a BSD compatible inet types header */" >>$ac_stdint
21799 if test "_$ac_cv_header_stdint_u" != "_" ; then
21800 ac_header="$ac_cv_header_stdint_u"
21801 echo "#define _STDINT_HEADER_U_INT32" '"'"$ac_header"'"' >>$ac_stdint
21803 echo "/* #undef _STDINT_HEADER_U_INT32 */" >>$ac_stdint
21806 echo "" >>$ac_stdint
21808 if test "_$ac_header" != "_" ; then if test "$ac_header" != "stddef.h" ; then
21809 echo "#include <$ac_header>" >>$ac_stdint
21810 echo "" >>$ac_stdint
21813 echo "/* which 64bit typedef has been found */" >>$ac_stdint
21814 if test "$ac_cv_type_uint64_t" = "yes" ; then
21815 echo "#define _STDINT_HAVE_UINT64_T" "1" >>$ac_stdint
21817 echo "/* #undef _STDINT_HAVE_UINT64_T */" >>$ac_stdint
21819 if test "$ac_cv_type_u_int64_t" = "yes" ; then
21820 echo "#define _STDINT_HAVE_U_INT64_T" "1" >>$ac_stdint
21822 echo "/* #undef _STDINT_HAVE_U_INT64_T */" >>$ac_stdint
21824 echo "" >>$ac_stdint
21826 echo "/* which type model has been detected */" >>$ac_stdint
21827 if test "_$ac_cv_char_data_model" != "_" ; then
21828 echo "#define _STDINT_CHAR_MODEL" "$ac_cv_char_data_model" >>$ac_stdint
21829 echo "#define _STDINT_LONG_MODEL" "$ac_cv_long_data_model" >>$ac_stdint
21831 echo "/* #undef _STDINT_CHAR_MODEL // skipped */" >>$ac_stdint
21832 echo "/* #undef _STDINT_LONG_MODEL // skipped */" >>$ac_stdint
21834 echo "" >>$ac_stdint
21836 echo "/* whether int_least types were detected */" >>$ac_stdint
21837 if test "$ac_cv_type_int_least32_t" = "yes"; then
21838 echo "#define _STDINT_HAVE_INT_LEAST32_T" "1" >>$ac_stdint
21840 echo "/* #undef _STDINT_HAVE_INT_LEAST32_T */" >>$ac_stdint
21842 echo "/* whether int_fast types were detected */" >>$ac_stdint
21843 if test "$ac_cv_type_int_fast32_t" = "yes"; then
21844 echo "#define _STDINT_HAVE_INT_FAST32_T" "1" >>$ac_stdint
21846 echo "/* #undef _STDINT_HAVE_INT_FAST32_T */" >>$ac_stdint
21848 echo "/* whether intmax_t type was detected */" >>$ac_stdint
21849 if test "$ac_cv_type_intmax_t" = "yes"; then
21850 echo "#define _STDINT_HAVE_INTMAX_T" "1" >>$ac_stdint
21852 echo "/* #undef _STDINT_HAVE_INTMAX_T */" >>$ac_stdint
21854 echo "" >>$ac_stdint
21856 cat >>$ac_stdint <<STDINT_EOF
21857 /* .................... detections part ............................ */
21859 /* whether we need to define bitspecific types from compiler base types */
21860 #ifndef _STDINT_HEADER_INTPTR
21861 #ifndef _STDINT_HEADER_UINT32
21862 #ifndef _STDINT_HEADER_U_INT32
21863 #define _STDINT_NEED_INT_MODEL_T
21865 #define _STDINT_HAVE_U_INT_TYPES
21870 #ifdef _STDINT_HAVE_U_INT_TYPES
21871 #undef _STDINT_NEED_INT_MODEL_T
21874 #ifdef _STDINT_CHAR_MODEL
21875 #if _STDINT_CHAR_MODEL+0 == 122 || _STDINT_CHAR_MODEL+0 == 124
21876 #ifndef _STDINT_BYTE_MODEL
21877 #define _STDINT_BYTE_MODEL 12
21882 #ifndef _STDINT_HAVE_INT_LEAST32_T
21883 #define _STDINT_NEED_INT_LEAST_T
21886 #ifndef _STDINT_HAVE_INT_FAST32_T
21887 #define _STDINT_NEED_INT_FAST_T
21890 #ifndef _STDINT_HEADER_INTPTR
21891 #define _STDINT_NEED_INTPTR_T
21892 #ifndef _STDINT_HAVE_INTMAX_T
21893 #define _STDINT_NEED_INTMAX_T
21898 /* .................... definition part ............................ */
21900 /* some system headers have good uint64_t */
21901 #ifndef _HAVE_UINT64_T
21902 #if defined _STDINT_HAVE_UINT64_T || defined HAVE_UINT64_T
21903 #define _HAVE_UINT64_T
21904 #elif defined _STDINT_HAVE_U_INT64_T || defined HAVE_U_INT64_T
21905 #define _HAVE_UINT64_T
21906 typedef u_int64_t uint64_t;
21910 #ifndef _HAVE_UINT64_T
21911 /* .. here are some common heuristics using compiler runtime specifics */
21912 #if defined __STDC_VERSION__ && defined __STDC_VERSION__ >= 199901L
21913 #define _HAVE_UINT64_T
21914 #define _HAVE_LONGLONG_UINT64_T
21915 typedef long long int64_t;
21916 typedef unsigned long long uint64_t;
21918 #elif !defined __STRICT_ANSI__
21919 #if defined _MSC_VER || defined __WATCOMC__ || defined __BORLANDC__
21920 #define _HAVE_UINT64_T
21921 typedef __int64 int64_t;
21922 typedef unsigned __int64 uint64_t;
21924 #elif defined __GNUC__ || defined __MWERKS__ || defined __ELF__
21925 /* note: all ELF-systems seem to have loff-support which needs 64-bit */
21926 #if !defined _NO_LONGLONG
21927 #define _HAVE_UINT64_T
21928 #define _HAVE_LONGLONG_UINT64_T
21929 typedef long long int64_t;
21930 typedef unsigned long long uint64_t;
21933 #elif defined __alpha || (defined __mips && defined _ABIN32)
21934 #if !defined _NO_LONGLONG
21935 typedef long int64_t;
21936 typedef unsigned long uint64_t;
21938 /* compiler/cpu type to define int64_t */
21943 #if defined _STDINT_HAVE_U_INT_TYPES
21944 /* int8_t int16_t int32_t defined by inet code, redeclare the u_intXX types */
21945 typedef u_int8_t uint8_t;
21946 typedef u_int16_t uint16_t;
21947 typedef u_int32_t uint32_t;
21949 /* glibc compatibility */
21950 #ifndef __int8_t_defined
21951 #define __int8_t_defined
21955 #ifdef _STDINT_NEED_INT_MODEL_T
21956 /* we must guess all the basic types. Apart from byte-adressable system, */
21957 /* there a few 32-bit-only dsp-systems that we guard with BYTE_MODEL 8-} */
21958 /* (btw, those nibble-addressable systems are way off, or so we assume) */
21961 #if defined _STDINT_BYTE_MODEL
21962 #if _STDINT_LONG_MODEL+0 == 242
21963 /* 2:4:2 = IP16 = a normal 16-bit system */
21964 typedef unsigned char uint8_t;
21965 typedef unsigned short uint16_t;
21966 typedef unsigned long uint32_t;
21967 #ifndef __int8_t_defined
21968 #define __int8_t_defined
21969 typedef char int8_t;
21970 typedef short int16_t;
21971 typedef long int32_t;
21973 #elif _STDINT_LONG_MODEL+0 == 244 || _STDINT_LONG_MODEL == 444
21974 /* 2:4:4 = LP32 = a 32-bit system derived from a 16-bit */
21975 /* 4:4:4 = ILP32 = a normal 32-bit system */
21976 typedef unsigned char uint8_t;
21977 typedef unsigned short uint16_t;
21978 typedef unsigned int uint32_t;
21979 #ifndef __int8_t_defined
21980 #define __int8_t_defined
21981 typedef char int8_t;
21982 typedef short int16_t;
21983 typedef int int32_t;
21985 #elif _STDINT_LONG_MODEL+0 == 484 || _STDINT_LONG_MODEL+0 == 488
21986 /* 4:8:4 = IP32 = a 32-bit system prepared for 64-bit */
21987 /* 4:8:8 = LP64 = a normal 64-bit system */
21988 typedef unsigned char uint8_t;
21989 typedef unsigned short uint16_t;
21990 typedef unsigned int uint32_t;
21991 #ifndef __int8_t_defined
21992 #define __int8_t_defined
21993 typedef char int8_t;
21994 typedef short int16_t;
21995 typedef int int32_t;
21997 /* this system has a "long" of 64bit */
21998 #ifndef _HAVE_UINT64_T
21999 #define _HAVE_UINT64_T
22000 typedef unsigned long uint64_t;
22001 typedef long int64_t;
22003 #elif _STDINT_LONG_MODEL+0 == 448
22004 /* LLP64 a 64-bit system derived from a 32-bit system */
22005 typedef unsigned char uint8_t;
22006 typedef unsigned short uint16_t;
22007 typedef unsigned int uint32_t;
22008 #ifndef __int8_t_defined
22009 #define __int8_t_defined
22010 typedef char int8_t;
22011 typedef short int16_t;
22012 typedef int int32_t;
22014 /* assuming the system has a "long long" */
22015 #ifndef _HAVE_UINT64_T
22016 #define _HAVE_UINT64_T
22017 #define _HAVE_LONGLONG_UINT64_T
22018 typedef unsigned long long uint64_t;
22019 typedef long long int64_t;
22022 #define _STDINT_NO_INT32_T
22025 #define _STDINT_NO_INT8_T
22026 #define _STDINT_NO_INT32_T
22031 * quote from SunOS-5.8 sys/inttypes.h:
22032 * Use at your own risk. As of February 1996, the committee is squarely
22033 * behind the fixed sized types; the "least" and "fast" types are still being
22034 * discussed. The probability that the "fast" types may be removed before
22035 * the standard is finalized is high enough that they are not currently
22039 #if defined _STDINT_NEED_INT_LEAST_T
22040 typedef int8_t int_least8_t;
22041 typedef int16_t int_least16_t;
22042 typedef int32_t int_least32_t;
22043 #ifdef _HAVE_UINT64_T
22044 typedef int64_t int_least64_t;
22047 typedef uint8_t uint_least8_t;
22048 typedef uint16_t uint_least16_t;
22049 typedef uint32_t uint_least32_t;
22050 #ifdef _HAVE_UINT64_T
22051 typedef uint64_t uint_least64_t;
22056 #if defined _STDINT_NEED_INT_FAST_T
22057 typedef int8_t int_fast8_t;
22058 typedef int int_fast16_t;
22059 typedef int32_t int_fast32_t;
22060 #ifdef _HAVE_UINT64_T
22061 typedef int64_t int_fast64_t;
22064 typedef uint8_t uint_fast8_t;
22065 typedef unsigned uint_fast16_t;
22066 typedef uint32_t uint_fast32_t;
22067 #ifdef _HAVE_UINT64_T
22068 typedef uint64_t uint_fast64_t;
22073 #ifdef _STDINT_NEED_INTMAX_T
22074 #ifdef _HAVE_UINT64_T
22075 typedef int64_t intmax_t;
22076 typedef uint64_t uintmax_t;
22078 typedef long intmax_t;
22079 typedef unsigned long uintmax_t;
22083 #ifdef _STDINT_NEED_INTPTR_T
22084 #ifndef __intptr_t_defined
22085 #define __intptr_t_defined
22086 /* we encourage using "long" to store pointer values, never use "int" ! */
22087 #if _STDINT_LONG_MODEL+0 == 242 || _STDINT_LONG_MODEL+0 == 484
22088 typedef unsigned int uintptr_t;
22089 typedef int intptr_t;
22090 #elif _STDINT_LONG_MODEL+0 == 244 || _STDINT_LONG_MODEL+0 == 444
22091 typedef unsigned long uintptr_t;
22092 typedef long intptr_t;
22093 #elif _STDINT_LONG_MODEL+0 == 448 && defined _HAVE_UINT64_T
22094 typedef uint64_t uintptr_t;
22095 typedef int64_t intptr_t;
22096 #else /* matches typical system types ILP32 and LP64 - but not IP16 or LLP64 */
22097 typedef unsigned long uintptr_t;
22098 typedef long intptr_t;
22103 /* The ISO C99 standard specifies that in C++ implementations these
22104 should only be defined if explicitly requested. */
22105 #if !defined __cplusplus || defined __STDC_CONSTANT_MACROS
22109 # define INT8_C(c) c
22110 # define INT16_C(c) c
22111 # define INT32_C(c) c
22112 # ifdef _HAVE_LONGLONG_UINT64_T
22113 # define INT64_C(c) c ## L
22115 # define INT64_C(c) c ## LL
22119 # define UINT8_C(c) c ## U
22120 # define UINT16_C(c) c ## U
22121 # define UINT32_C(c) c ## U
22122 # ifdef _HAVE_LONGLONG_UINT64_T
22123 # define UINT64_C(c) c ## UL
22125 # define UINT64_C(c) c ## ULL
22128 /* Maximal type. */
22129 # ifdef _HAVE_LONGLONG_UINT64_T
22130 # define INTMAX_C(c) c ## L
22131 # define UINTMAX_C(c) c ## UL
22133 # define INTMAX_C(c) c ## LL
22134 # define UINTMAX_C(c) c ## ULL
22137 /* literalnumbers */
22141 /* These limits are merily those of a two complement byte-oriented system */
22143 /* Minimum of signed integral types. */
22144 # define INT8_MIN (-128)
22145 # define INT16_MIN (-32767-1)
22146 # define INT32_MIN (-2147483647-1)
22147 # define INT64_MIN (-__INT64_C(9223372036854775807)-1)
22148 /* Maximum of signed integral types. */
22149 # define INT8_MAX (127)
22150 # define INT16_MAX (32767)
22151 # define INT32_MAX (2147483647)
22152 # define INT64_MAX (__INT64_C(9223372036854775807))
22154 /* Maximum of unsigned integral types. */
22155 # define UINT8_MAX (255)
22156 # define UINT16_MAX (65535)
22157 # define UINT32_MAX (4294967295U)
22158 # define UINT64_MAX (__UINT64_C(18446744073709551615))
22160 /* Minimum of signed integral types having a minimum size. */
22161 # define INT_LEAST8_MIN INT8_MIN
22162 # define INT_LEAST16_MIN INT16_MIN
22163 # define INT_LEAST32_MIN INT32_MIN
22164 # define INT_LEAST64_MIN INT64_MIN
22165 /* Maximum of signed integral types having a minimum size. */
22166 # define INT_LEAST8_MAX INT8_MAX
22167 # define INT_LEAST16_MAX INT16_MAX
22168 # define INT_LEAST32_MAX INT32_MAX
22169 # define INT_LEAST64_MAX INT64_MAX
22171 /* Maximum of unsigned integral types having a minimum size. */
22172 # define UINT_LEAST8_MAX UINT8_MAX
22173 # define UINT_LEAST16_MAX UINT16_MAX
22174 # define UINT_LEAST32_MAX UINT32_MAX
22175 # define UINT_LEAST64_MAX UINT64_MAX
22184 if cmp -s $ac_stdint_h $ac_stdint 2>/dev/null; then
22185 { echo "$as_me:$LINENO: $ac_stdint_h is unchanged" >&5
22186 echo "$as_me: $ac_stdint_h is unchanged" >&6;}
22188 ac_dir=`(dirname "$ac_stdint_h") 2>/dev/null ||
22189 $as_expr X"$ac_stdint_h" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
22190 X"$ac_stdint_h" : 'X\(//\)[^/]' \| \
22191 X"$ac_stdint_h" : 'X\(//\)$' \| \
22192 X"$ac_stdint_h" : 'X\(/\)' \| \
22193 . : '\(.\)' 2>/dev/null ||
22194 echo X"$ac_stdint_h" |
22195 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
22196 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
22197 /^X\(\/\/\)$/{ s//\1/; q; }
22198 /^X\(\/\).*/{ s//\1/; q; }
22200 { if $as_mkdir_p; then
22205 while test ! -d "$as_dir"; do
22206 as_dirs="$as_dir $as_dirs"
22207 as_dir=`(dirname "$as_dir") 2>/dev/null ||
22208 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
22209 X"$as_dir" : 'X\(//\)[^/]' \| \
22210 X"$as_dir" : 'X\(//\)$' \| \
22211 X"$as_dir" : 'X\(/\)' \| \
22212 . : '\(.\)' 2>/dev/null ||
22214 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
22215 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
22216 /^X\(\/\/\)$/{ s//\1/; q; }
22217 /^X\(\/\).*/{ s//\1/; q; }
22220 test ! -n "$as_dirs" || mkdir $as_dirs
22221 fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
22222 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
22223 { (exit 1); exit 1; }; }; }
22226 mv $ac_stdint $ac_stdint_h
22229 gappletviewer ) chmod 755 tools/gappletviewer ;;
22230 gjarsigner ) chmod 755 tools/gjarsigner ;;
22231 gkeytool ) chmod 755 tools/gkeytool ;;
22232 gjar ) chmod 755 tools/gjar ;;
22233 gnative2ascii ) chmod 755 tools/gnative2ascii ;;
22234 gserialver ) chmod 755 tools/gserialver ;;
22235 grmiregistry ) chmod 755 tools/grmiregistry ;;
22236 gtnameserv ) chmod 755 tools/gtnameserv ;;
22237 gorbd ) chmod 755 tools/gorbd ;;
22238 grmid ) chmod 755 tools/grmid ;;
22239 grmic ) chmod 755 tools/grmic ;;
22240 gjavah ) chmod 755 tools/gjavah ;;
22241 gen-classlist ) chmod 755 lib/gen-classlist.sh ;;
22242 copy-vmresources ) chmod 755 lib/copy-vmresources.sh ;;
22247 cat >>$CONFIG_STATUS <<\_ACEOF
22249 { (exit 0); exit 0; }
22251 chmod +x $CONFIG_STATUS
22252 ac_clean_files=$ac_clean_files_save
22255 # configure is writing to config.log, and then calls config.status.
22256 # config.status does its own redirection, appending to config.log.
22257 # Unfortunately, on DOS this fails, as config.log is still kept open
22258 # by configure, so config.status won't be able to write to it; its
22259 # output is simply discarded. So we exec the FD to /dev/null,
22260 # effectively closing config.log, so it can be properly (re)opened and
22261 # appended to by config.status. When coming back to configure, we
22262 # need to make the FD available again.
22263 if test "$no_create" != yes; then
22265 ac_config_status_args=
22266 test "$silent" = yes &&
22267 ac_config_status_args="$ac_config_status_args --quiet"
22269 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
22271 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
22272 # would make configure fail if this is the last instruction.
22273 $ac_cs_success || { (exit 1); exit 1; }
22277 # Create standard.omit based on decisions we just made.
22278 cat ${srcdir}/lib/standard.omit.in > lib/standard.omit
22279 if test x$use_escher != xtrue; then
22280 echo gnu/java/awt/peer/x/.*java$ >> lib/standard.omit