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 multi_basedir LIBVERSION CLASSPATH_MODULE CLASSPATH_CONVENIENCE INSTALL_PROGRAM INSTALL_SCRIPT INSTALL_DATA CYGPATH_W PACKAGE VERSION ACLOCAL AUTOCONF AUTOMAKE AUTOHEADER MAKEINFO install_sh STRIP ac_ct_STRIP INSTALL_STRIP_PROGRAM mkdir_p AWK SET_MAKE am__leading_dot AMTAR am__tar am__untar CREATE_COLLECTIONS_TRUE CREATE_COLLECTIONS_FALSE CREATE_JNI_LIBRARIES_TRUE CREATE_JNI_LIBRARIES_FALSE CREATE_CORE_JNI_LIBRARIES_TRUE CREATE_CORE_JNI_LIBRARIES_FALSE CREATE_GCONF_PEER_LIBRARIES_TRUE CREATE_GCONF_PEER_LIBRARIES_FALSE default_toolkit CREATE_XMLJ_LIBRARY_TRUE CREATE_XMLJ_LIBRARY_FALSE CC CFLAGS LDFLAGS CPPFLAGS ac_ct_CC EXEEXT OBJEXT DEPDIR am__include am__quote AMDEP_TRUE AMDEP_FALSE AMDEPBACKSLASH CCDEPMODE am__fastdepCC_TRUE am__fastdepCC_FALSE CPP EGREP CREATE_ALSA_LIBRARIES_TRUE CREATE_ALSA_LIBRARIES_FALSE CREATE_DSSI_LIBRARIES_TRUE CREATE_DSSI_LIBRARIES_FALSE CREATE_GTK_PEER_LIBRARIES_TRUE CREATE_GTK_PEER_LIBRARIES_FALSE CREATE_QT_PEER_LIBRARIES_TRUE CREATE_QT_PEER_LIBRARIES_FALSE CREATE_PLUGIN_TRUE CREATE_PLUGIN_FALSE toolexeclibdir nativeexeclibdir glibjdir VM_BINARY FOUND_CACAO_TRUE FOUND_CACAO_FALSE CREATE_JNI_HEADERS_TRUE CREATE_JNI_HEADERS_FALSE CREATE_WRAPPERS_TRUE CREATE_WRAPPERS_FALSE LN_S RANLIB ac_ct_RANLIB LIBTOOL CXX CXXFLAGS ac_ct_CXX CXXDEPMODE am__fastdepCXX_TRUE am__fastdepCXX_FALSE CXXCPP PERL COLLECTIONS_PREFIX LIBMAGIC LIBICONV LTLIBICONV WARNING_CFLAGS STRICT_WARNING_CFLAGS ERROR_CFLAGS PKG_CONFIG XML_CFLAGS XML_LIBS XSLT_CFLAGS XSLT_LIBS X_CFLAGS X_PRE_LIBS X_LIBS X_EXTRA_LIBS GTK_CFLAGS GTK_LIBS FREETYPE2_CFLAGS FREETYPE2_LIBS PANGOFT2_CFLAGS PANGOFT2_LIBS XTEST_LIBS GCONF_CFLAGS GCONF_LIBS GDK_CFLAGS GDK_LIBS QT_CFLAGS QT_LIBS MOC MOZILLA_CFLAGS MOZILLA_LIBS GLIB_CFLAGS GLIB_LIBS PLUGIN_DIR USER_JAVAH USER_SPECIFIED_JAVAH_TRUE USER_SPECIFIED_JAVAH_FALSE CLASSPATH_INCLUDES GCJ JIKES JIKESENCODING JIKESWARNINGS KJC GCJX ECJ FOUND_GCJ_TRUE FOUND_GCJ_FALSE FOUND_JIKES_TRUE FOUND_JIKES_FALSE FOUND_ECJ_TRUE FOUND_ECJ_FALSE FOUND_KJC_TRUE FOUND_KJC_FALSE FOUND_GCJX_TRUE FOUND_GCJX_FALSE USER_CLASSLIB USER_SPECIFIED_CLASSLIB_TRUE USER_SPECIFIED_CLASSLIB_FALSE vm_classes MAINTAINER_MODE_TRUE MAINTAINER_MODE_FALSE MAINT LIBDEBUG INIT_LOAD_LIBRARY JAVA_LANG_SYSTEM_EXPLICIT_INITIALIZATION REMOVE MKDIR CP DATE FIND ZIP FASTJAR INSTALL_GLIBJ_ZIP_TRUE INSTALL_GLIBJ_ZIP_FALSE INSTALL_CLASS_FILES_TRUE INSTALL_CLASS_FILES_FALSE BUILD_CLASS_FILES_TRUE BUILD_CLASS_FILES_FALSE EXAMPLESDIR GJDOC CREATE_API_DOCS_TRUE CREATE_API_DOCS_FALSE JAY JAY_SKELETON REGEN_PARSERS_TRUE REGEN_PARSERS_FALSE USE_PREBUILT_GLIBJ_ZIP_TRUE USE_PREBUILT_GLIBJ_ZIP_FALSE PATH_TO_GLIBJ_ZIP USE_ESCHER_TRUE USE_ESCHER_FALSE PATH_TO_ESCHER ENABLE_LOCAL_SOCKETS_TRUE ENABLE_LOCAL_SOCKETS_FALSE DEFAULT_PREFS_PEER LIBOBJS LTLIBOBJS'
318 # Initialize some variables set by options.
320 ac_init_version=false
321 # The variables have the same names as the options, with
322 # dashes changed to underlines.
330 program_transform_name=s,x,x,
338 # Installation directory options.
339 # These are left unexpanded so users can "make install exec_prefix=/foo"
340 # and all the variables that are supposed to be based on exec_prefix
341 # by default will actually change.
342 # Use braces instead of parens because sh, perl, etc. also accept them.
343 bindir='${exec_prefix}/bin'
344 sbindir='${exec_prefix}/sbin'
345 libexecdir='${exec_prefix}/libexec'
346 datadir='${prefix}/share'
347 sysconfdir='${prefix}/etc'
348 sharedstatedir='${prefix}/com'
349 localstatedir='${prefix}/var'
350 libdir='${exec_prefix}/lib'
351 includedir='${prefix}/include'
352 oldincludedir='/usr/include'
353 infodir='${prefix}/info'
354 mandir='${prefix}/man'
359 # If the previous option needs an argument, assign it.
360 if test -n "$ac_prev"; then
361 eval "$ac_prev=\$ac_option"
366 ac_optarg=`expr "x$ac_option" : 'x[^=]*=\(.*\)'`
368 # Accept the important Cygnus configure options, so we can diagnose typos.
372 -bindir | --bindir | --bindi | --bind | --bin | --bi)
374 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
377 -build | --build | --buil | --bui | --bu)
378 ac_prev=build_alias ;;
379 -build=* | --build=* | --buil=* | --bui=* | --bu=*)
380 build_alias=$ac_optarg ;;
382 -cache-file | --cache-file | --cache-fil | --cache-fi \
383 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
384 ac_prev=cache_file ;;
385 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
386 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
387 cache_file=$ac_optarg ;;
390 cache_file=config.cache ;;
392 -datadir | --datadir | --datadi | --datad | --data | --dat | --da)
394 -datadir=* | --datadir=* | --datadi=* | --datad=* | --data=* | --dat=* \
396 datadir=$ac_optarg ;;
398 -disable-* | --disable-*)
399 ac_feature=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
400 # Reject names that are not valid shell variable names.
401 expr "x$ac_feature" : ".*[^-_$as_cr_alnum]" >/dev/null &&
402 { echo "$as_me: error: invalid feature name: $ac_feature" >&2
403 { (exit 1); exit 1; }; }
404 ac_feature=`echo $ac_feature | sed 's/-/_/g'`
405 eval "enable_$ac_feature=no" ;;
407 -enable-* | --enable-*)
408 ac_feature=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
409 # Reject names that are not valid shell variable names.
410 expr "x$ac_feature" : ".*[^-_$as_cr_alnum]" >/dev/null &&
411 { echo "$as_me: error: invalid feature name: $ac_feature" >&2
412 { (exit 1); exit 1; }; }
413 ac_feature=`echo $ac_feature | sed 's/-/_/g'`
415 *=*) ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`;;
418 eval "enable_$ac_feature='$ac_optarg'" ;;
420 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
421 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
422 | --exec | --exe | --ex)
423 ac_prev=exec_prefix ;;
424 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
425 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
426 | --exec=* | --exe=* | --ex=*)
427 exec_prefix=$ac_optarg ;;
429 -gas | --gas | --ga | --g)
430 # Obsolete; use --with-gas.
433 -help | --help | --hel | --he | -h)
435 -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
436 ac_init_help=recursive ;;
437 -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
438 ac_init_help=short ;;
440 -host | --host | --hos | --ho)
441 ac_prev=host_alias ;;
442 -host=* | --host=* | --hos=* | --ho=*)
443 host_alias=$ac_optarg ;;
445 -includedir | --includedir | --includedi | --included | --include \
446 | --includ | --inclu | --incl | --inc)
447 ac_prev=includedir ;;
448 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
449 | --includ=* | --inclu=* | --incl=* | --inc=*)
450 includedir=$ac_optarg ;;
452 -infodir | --infodir | --infodi | --infod | --info | --inf)
454 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
455 infodir=$ac_optarg ;;
457 -libdir | --libdir | --libdi | --libd)
459 -libdir=* | --libdir=* | --libdi=* | --libd=*)
462 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
463 | --libexe | --libex | --libe)
464 ac_prev=libexecdir ;;
465 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
466 | --libexe=* | --libex=* | --libe=*)
467 libexecdir=$ac_optarg ;;
469 -localstatedir | --localstatedir | --localstatedi | --localstated \
470 | --localstate | --localstat | --localsta | --localst \
471 | --locals | --local | --loca | --loc | --lo)
472 ac_prev=localstatedir ;;
473 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
474 | --localstate=* | --localstat=* | --localsta=* | --localst=* \
475 | --locals=* | --local=* | --loca=* | --loc=* | --lo=*)
476 localstatedir=$ac_optarg ;;
478 -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
480 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
484 # Obsolete; use --without-fp.
487 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
488 | --no-cr | --no-c | -n)
491 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
492 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
495 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
496 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
497 | --oldin | --oldi | --old | --ol | --o)
498 ac_prev=oldincludedir ;;
499 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
500 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
501 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
502 oldincludedir=$ac_optarg ;;
504 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
506 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
509 -program-prefix | --program-prefix | --program-prefi | --program-pref \
510 | --program-pre | --program-pr | --program-p)
511 ac_prev=program_prefix ;;
512 -program-prefix=* | --program-prefix=* | --program-prefi=* \
513 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
514 program_prefix=$ac_optarg ;;
516 -program-suffix | --program-suffix | --program-suffi | --program-suff \
517 | --program-suf | --program-su | --program-s)
518 ac_prev=program_suffix ;;
519 -program-suffix=* | --program-suffix=* | --program-suffi=* \
520 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
521 program_suffix=$ac_optarg ;;
523 -program-transform-name | --program-transform-name \
524 | --program-transform-nam | --program-transform-na \
525 | --program-transform-n | --program-transform- \
526 | --program-transform | --program-transfor \
527 | --program-transfo | --program-transf \
528 | --program-trans | --program-tran \
529 | --progr-tra | --program-tr | --program-t)
530 ac_prev=program_transform_name ;;
531 -program-transform-name=* | --program-transform-name=* \
532 | --program-transform-nam=* | --program-transform-na=* \
533 | --program-transform-n=* | --program-transform-=* \
534 | --program-transform=* | --program-transfor=* \
535 | --program-transfo=* | --program-transf=* \
536 | --program-trans=* | --program-tran=* \
537 | --progr-tra=* | --program-tr=* | --program-t=*)
538 program_transform_name=$ac_optarg ;;
540 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
541 | -silent | --silent | --silen | --sile | --sil)
544 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
546 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
548 sbindir=$ac_optarg ;;
550 -sharedstatedir | --sharedstatedir | --sharedstatedi \
551 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
552 | --sharedst | --shareds | --shared | --share | --shar \
554 ac_prev=sharedstatedir ;;
555 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
556 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
557 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
559 sharedstatedir=$ac_optarg ;;
561 -site | --site | --sit)
563 -site=* | --site=* | --sit=*)
566 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
568 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
571 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
572 | --syscon | --sysco | --sysc | --sys | --sy)
573 ac_prev=sysconfdir ;;
574 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
575 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
576 sysconfdir=$ac_optarg ;;
578 -target | --target | --targe | --targ | --tar | --ta | --t)
579 ac_prev=target_alias ;;
580 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
581 target_alias=$ac_optarg ;;
583 -v | -verbose | --verbose | --verbos | --verbo | --verb)
586 -version | --version | --versio | --versi | --vers | -V)
590 ac_package=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
591 # Reject names that are not valid shell variable names.
592 expr "x$ac_package" : ".*[^-_$as_cr_alnum]" >/dev/null &&
593 { echo "$as_me: error: invalid package name: $ac_package" >&2
594 { (exit 1); exit 1; }; }
595 ac_package=`echo $ac_package| sed 's/-/_/g'`
597 *=*) ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`;;
600 eval "with_$ac_package='$ac_optarg'" ;;
602 -without-* | --without-*)
603 ac_package=`expr "x$ac_option" : 'x-*without-\(.*\)'`
604 # Reject names that are not valid shell variable names.
605 expr "x$ac_package" : ".*[^-_$as_cr_alnum]" >/dev/null &&
606 { echo "$as_me: error: invalid package name: $ac_package" >&2
607 { (exit 1); exit 1; }; }
608 ac_package=`echo $ac_package | sed 's/-/_/g'`
609 eval "with_$ac_package=no" ;;
612 # Obsolete; use --with-x.
615 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
616 | --x-incl | --x-inc | --x-in | --x-i)
617 ac_prev=x_includes ;;
618 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
619 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
620 x_includes=$ac_optarg ;;
622 -x-libraries | --x-libraries | --x-librarie | --x-librari \
623 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
624 ac_prev=x_libraries ;;
625 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
626 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
627 x_libraries=$ac_optarg ;;
629 -*) { echo "$as_me: error: unrecognized option: $ac_option
630 Try \`$0 --help' for more information." >&2
631 { (exit 1); exit 1; }; }
635 ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
636 # Reject names that are not valid shell variable names.
637 expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev/null &&
638 { echo "$as_me: error: invalid variable name: $ac_envvar" >&2
639 { (exit 1); exit 1; }; }
640 ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`
641 eval "$ac_envvar='$ac_optarg'"
645 # FIXME: should be removed in autoconf 3.0.
646 echo "$as_me: WARNING: you should use --build, --host, --target" >&2
647 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
648 echo "$as_me: WARNING: invalid host type: $ac_option" >&2
649 : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
655 if test -n "$ac_prev"; then
656 ac_option=--`echo $ac_prev | sed 's/_/-/g'`
657 { echo "$as_me: error: missing argument to $ac_option" >&2
658 { (exit 1); exit 1; }; }
661 # Be sure to have absolute paths.
662 for ac_var in exec_prefix prefix
664 eval ac_val=$`echo $ac_var`
666 [\\/$]* | ?:[\\/]* | NONE | '' ) ;;
667 *) { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
668 { (exit 1); exit 1; }; };;
672 # Be sure to have absolute paths.
673 for ac_var in bindir sbindir libexecdir datadir sysconfdir sharedstatedir \
674 localstatedir libdir includedir oldincludedir infodir mandir
676 eval ac_val=$`echo $ac_var`
678 [\\/$]* | ?:[\\/]* ) ;;
679 *) { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
680 { (exit 1); exit 1; }; };;
684 # There might be people who depend on the old broken behavior: `$host'
685 # used to hold the argument of --host etc.
686 # FIXME: To remove some day.
691 # FIXME: To remove some day.
692 if test "x$host_alias" != x; then
693 if test "x$build_alias" = x; then
694 cross_compiling=maybe
695 echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
696 If a cross compiler is detected then cross compile mode will be used." >&2
697 elif test "x$build_alias" != "x$host_alias"; then
703 test -n "$host_alias" && ac_tool_prefix=$host_alias-
705 test "$silent" = yes && exec 6>/dev/null
708 # Find the source files, if location was not specified.
709 if test -z "$srcdir"; then
710 ac_srcdir_defaulted=yes
711 # Try the directory containing this script, then its parent.
712 ac_confdir=`(dirname "$0") 2>/dev/null ||
713 $as_expr X"$0" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
714 X"$0" : 'X\(//\)[^/]' \| \
715 X"$0" : 'X\(//\)$' \| \
716 X"$0" : 'X\(/\)' \| \
717 . : '\(.\)' 2>/dev/null ||
719 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
720 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
721 /^X\(\/\/\)$/{ s//\1/; q; }
722 /^X\(\/\).*/{ s//\1/; q; }
725 if test ! -r $srcdir/$ac_unique_file; then
729 ac_srcdir_defaulted=no
731 if test ! -r $srcdir/$ac_unique_file; then
732 if test "$ac_srcdir_defaulted" = yes; then
733 { echo "$as_me: error: cannot find sources ($ac_unique_file) in $ac_confdir or .." >&2
734 { (exit 1); exit 1; }; }
736 { echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2
737 { (exit 1); exit 1; }; }
740 (cd $srcdir && test -r ./$ac_unique_file) 2>/dev/null ||
741 { echo "$as_me: error: sources are in $srcdir, but \`cd $srcdir' does not work" >&2
742 { (exit 1); exit 1; }; }
743 srcdir=`echo "$srcdir" | sed 's%\([^\\/]\)[\\/]*$%\1%'`
744 ac_env_build_alias_set=${build_alias+set}
745 ac_env_build_alias_value=$build_alias
746 ac_cv_env_build_alias_set=${build_alias+set}
747 ac_cv_env_build_alias_value=$build_alias
748 ac_env_host_alias_set=${host_alias+set}
749 ac_env_host_alias_value=$host_alias
750 ac_cv_env_host_alias_set=${host_alias+set}
751 ac_cv_env_host_alias_value=$host_alias
752 ac_env_target_alias_set=${target_alias+set}
753 ac_env_target_alias_value=$target_alias
754 ac_cv_env_target_alias_set=${target_alias+set}
755 ac_cv_env_target_alias_value=$target_alias
756 ac_env_CC_set=${CC+set}
758 ac_cv_env_CC_set=${CC+set}
759 ac_cv_env_CC_value=$CC
760 ac_env_CFLAGS_set=${CFLAGS+set}
761 ac_env_CFLAGS_value=$CFLAGS
762 ac_cv_env_CFLAGS_set=${CFLAGS+set}
763 ac_cv_env_CFLAGS_value=$CFLAGS
764 ac_env_LDFLAGS_set=${LDFLAGS+set}
765 ac_env_LDFLAGS_value=$LDFLAGS
766 ac_cv_env_LDFLAGS_set=${LDFLAGS+set}
767 ac_cv_env_LDFLAGS_value=$LDFLAGS
768 ac_env_CPPFLAGS_set=${CPPFLAGS+set}
769 ac_env_CPPFLAGS_value=$CPPFLAGS
770 ac_cv_env_CPPFLAGS_set=${CPPFLAGS+set}
771 ac_cv_env_CPPFLAGS_value=$CPPFLAGS
772 ac_env_CPP_set=${CPP+set}
773 ac_env_CPP_value=$CPP
774 ac_cv_env_CPP_set=${CPP+set}
775 ac_cv_env_CPP_value=$CPP
776 ac_env_CXX_set=${CXX+set}
777 ac_env_CXX_value=$CXX
778 ac_cv_env_CXX_set=${CXX+set}
779 ac_cv_env_CXX_value=$CXX
780 ac_env_CXXFLAGS_set=${CXXFLAGS+set}
781 ac_env_CXXFLAGS_value=$CXXFLAGS
782 ac_cv_env_CXXFLAGS_set=${CXXFLAGS+set}
783 ac_cv_env_CXXFLAGS_value=$CXXFLAGS
784 ac_env_CXXCPP_set=${CXXCPP+set}
785 ac_env_CXXCPP_value=$CXXCPP
786 ac_cv_env_CXXCPP_set=${CXXCPP+set}
787 ac_cv_env_CXXCPP_value=$CXXCPP
790 # Report the --help message.
792 if test "$ac_init_help" = "long"; then
793 # Omit some internal or obsolete options to make the list less imposing.
794 # This message is too long to be a string in the A/UX 3.1 sh.
796 \`configure' configures GNU Classpath 0.94-pre to adapt to many kinds of systems.
798 Usage: $0 [OPTION]... [VAR=VALUE]...
800 To assign environment variables (e.g., CC, CFLAGS...), specify them as
801 VAR=VALUE. See below for descriptions of some of the useful variables.
803 Defaults for the options are specified in brackets.
806 -h, --help display this help and exit
807 --help=short display options specific to this package
808 --help=recursive display the short help of all the included packages
809 -V, --version display version information and exit
810 -q, --quiet, --silent do not print \`checking...' messages
811 --cache-file=FILE cache test results in FILE [disabled]
812 -C, --config-cache alias for \`--cache-file=config.cache'
813 -n, --no-create do not create output files
814 --srcdir=DIR find the sources in DIR [configure dir or \`..']
819 Installation directories:
820 --prefix=PREFIX install architecture-independent files in PREFIX
822 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
825 By default, \`make install' will install all the files in
826 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
827 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
828 for instance \`--prefix=\$HOME'.
830 For better control, use the options below.
832 Fine tuning of the installation directories:
833 --bindir=DIR user executables [EPREFIX/bin]
834 --sbindir=DIR system admin executables [EPREFIX/sbin]
835 --libexecdir=DIR program executables [EPREFIX/libexec]
836 --datadir=DIR read-only architecture-independent data [PREFIX/share]
837 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
838 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
839 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
840 --libdir=DIR object code libraries [EPREFIX/lib]
841 --includedir=DIR C header files [PREFIX/include]
842 --oldincludedir=DIR C header files for non-gcc [/usr/include]
843 --infodir=DIR info documentation [PREFIX/info]
844 --mandir=DIR man documentation [PREFIX/man]
850 --program-prefix=PREFIX prepend PREFIX to installed program names
851 --program-suffix=SUFFIX append SUFFIX to installed program names
852 --program-transform-name=PROGRAM run sed PROGRAM on installed program names
855 --x-includes=DIR X include files are in DIR
856 --x-libraries=DIR X library files are in DIR
859 --build=BUILD configure for building on BUILD [guessed]
860 --host=HOST cross-compile to build programs to run on HOST [BUILD]
861 --target=TARGET configure for building compilers for TARGET [HOST]
865 if test -n "$ac_init_help"; then
866 case $ac_init_help in
867 short | recursive ) echo "Configuration of GNU Classpath 0.94-pre:";;
872 --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
873 --enable-FEATURE[=ARG] include FEATURE [ARG=yes]
874 --enable-java-maintainer-mode
875 allow rebuilding of .class and .h files
876 --enable-multilib build many library versions (default)
877 --enable-collections create collections.jar default=no
878 --enable-jni compile JNI source default=yes
879 --enable-core-jni compile JNI sources for core default=yes
880 --enable-default-preferences-peer[=peer type or class name]
881 specify one of: "gconf" [default] for a GConf based
882 backend, "file" for a file based one, "memory" for a
883 transient one, or a fully qualified class name
884 implementing java.util.prefs.PreferencesFactory
885 --disable-gconf-peer compile GConf native peers (disabled by
886 --disable-jni) default=yes
888 --enable-Werror whether to compile C code with -Werror which turns
889 any compiler warning into a compilation failure
891 --enable-default-toolkit
892 fully qualified class name of default AWT toolkit
893 --enable-xmlj compile native libxml/xslt library default=no
894 --disable-alsa compile ALSA providers (enable by --enable-alsa)
896 --disable-dependency-tracking speeds up one-time build
897 --enable-dependency-tracking do not reject slow dependency extractors
898 --disable-dssi compile DSSI providers (enable by --enable-dssi)
900 --disable-gtk-peer compile GTK native peers (disabled by --disable-jni)
902 --enable-qt-peer compile Qt4 native peers (disabled by --disable-jni)
904 --disable-plugin compile gcjwebplugin (disabled by --disable-plugin)
906 --enable-regen-headers automatically regenerate JNI headers default=no
907 --enable-tool-wrappers create tool wrapper binaries default=no
908 --enable-static=PKGS build static libraries default=no
909 --enable-shared=PKGS build shared libraries default=yes
910 --enable-fast-install=PKGS optimize for fast installation default=yes
911 --disable-libtool-lock avoid locking (might break parallel builds)
912 --disable-rpath do not hardcode runtime library paths
913 --enable-maintainer-mode enable make rules and dependencies not useful
914 (and sometimes confusing) to the casual installer
915 --enable-debug enable runtime debugging code
916 --enable-load-library enable to use JNI native methods default=yes
917 --enable-java-lang-system-explicit-initialization
918 will the VM explicitly invoke java.lang.System's
919 static initialization methods default=no
920 --enable-examples enable build of the examples default=yes
921 --enable-portable-native-sync
922 synchronize VM threads portably
923 --enable-local-sockets enables local (AF_LOCAL) socket API default: no
926 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
927 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
928 --with-native-libdir sets the installation directory for native libraries
929 default='${libdir}/${PACKAGE}'
930 --with-glibj-dir sets the installation directory for glibj.zip
931 default='${libdir}/${PACKAGE}'
932 --with-vm sets the VM binary name
933 default='${prefix}/bin/jamvm'
934 --with-gnu-ld assume the C compiler uses GNU ld default=no
935 --with-pic try to use only PIC/non-PIC objects default=use both
936 --with-libiconv-prefix[=DIR] search for libiconv in DIR/include and DIR/lib
937 --without-libiconv-prefix don't search for libiconv in includedir and libdir
938 --with-x use the X Window System
939 --with-qt4dir=DIR Qt4 installation directory used for OS-X. For other
940 systems use pkg-config.
941 --with-javah specify path or name of a javah-like program
942 --with-gcj bytecode compilation with gcj
943 --with-jikes bytecode compilation with jikes
944 --with-kjc bytecode compilation with kjc
945 --with-gcjx bytecode compilation with gcjx
946 --with-ecj bytecode compilation with ecj
947 --with-classpath specify path to a classes.zip like file
948 --with-vm-classes specify path to VM override source files
949 --with-fastjar=PATH define to use a fastjar style tool
950 --with-glibj define what to install (zip|flat|both|none|build)
952 --with-gjdoc generate documentation using gjdoc (default is NO)
953 --with-jay Regenerate the parsers with jay must be given the
954 path to the jay executable
955 --with-glibj-zip=ABS.PATH
956 use prebuilt glibj.zip class library
957 --with-escher=ABS.PATH specify path to escher dir or JAR for X peers
959 Some influential environment variables:
960 CC C compiler command
961 CFLAGS C compiler flags
962 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
963 nonstandard directory <lib dir>
964 CPPFLAGS C/C++ preprocessor flags, e.g. -I<include dir> if you have
965 headers in a nonstandard directory <include dir>
967 CXX C++ compiler command
968 CXXFLAGS C++ compiler flags
969 CXXCPP C++ preprocessor
971 Use these variables to override the choices made by `configure' or to help
972 it to find libraries and programs with nonstandard names/locations.
974 Report bugs to <classpath@gnu.org>.
978 if test "$ac_init_help" = "recursive"; then
979 # If there are subdirs, report their specific --help.
981 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
982 test -d $ac_dir || continue
985 if test "$ac_dir" != .; then
986 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
987 # A "../" for each directory in $ac_dir_suffix.
988 ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
990 ac_dir_suffix= ac_top_builddir=
994 .) # No --srcdir option. We are building in place.
996 if test -z "$ac_top_builddir"; then
999 ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
1001 [\\/]* | ?:[\\/]* ) # Absolute path.
1002 ac_srcdir=$srcdir$ac_dir_suffix;
1003 ac_top_srcdir=$srcdir ;;
1005 ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
1006 ac_top_srcdir=$ac_top_builddir$srcdir ;;
1009 # Do not use `cd foo && pwd` to compute absolute paths, because
1010 # the directories may not exist.
1012 .) ac_abs_builddir="$ac_dir";;
1015 .) ac_abs_builddir=`pwd`;;
1016 [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";;
1017 *) ac_abs_builddir=`pwd`/"$ac_dir";;
1020 case $ac_abs_builddir in
1021 .) ac_abs_top_builddir=${ac_top_builddir}.;;
1023 case ${ac_top_builddir}. in
1024 .) ac_abs_top_builddir=$ac_abs_builddir;;
1025 [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;;
1026 *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;;
1029 case $ac_abs_builddir in
1030 .) ac_abs_srcdir=$ac_srcdir;;
1033 .) ac_abs_srcdir=$ac_abs_builddir;;
1034 [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
1035 *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;;
1038 case $ac_abs_builddir in
1039 .) ac_abs_top_srcdir=$ac_top_srcdir;;
1041 case $ac_top_srcdir in
1042 .) ac_abs_top_srcdir=$ac_abs_builddir;;
1043 [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;;
1044 *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;;
1049 # Check for guested configure; otherwise get Cygnus style configure.
1050 if test -f $ac_srcdir/configure.gnu; then
1052 $SHELL $ac_srcdir/configure.gnu --help=recursive
1053 elif test -f $ac_srcdir/configure; then
1055 $SHELL $ac_srcdir/configure --help=recursive
1056 elif test -f $ac_srcdir/configure.ac ||
1057 test -f $ac_srcdir/configure.in; then
1059 $ac_configure --help
1061 echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1067 test -n "$ac_init_help" && exit 0
1068 if $ac_init_version; then
1070 GNU Classpath configure 0.94-pre
1071 generated by GNU Autoconf 2.59
1073 Copyright (C) 2003 Free Software Foundation, Inc.
1074 This configure script is free software; the Free Software Foundation
1075 gives unlimited permission to copy, distribute and modify it.
1081 This file contains any messages produced by compilers while
1082 running configure, to aid debugging if configure makes a mistake.
1084 It was created by GNU Classpath $as_me 0.94-pre, which was
1085 generated by GNU Autoconf 2.59. Invocation command line was
1096 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
1097 uname -m = `(uname -m) 2>/dev/null || echo unknown`
1098 uname -r = `(uname -r) 2>/dev/null || echo unknown`
1099 uname -s = `(uname -s) 2>/dev/null || echo unknown`
1100 uname -v = `(uname -v) 2>/dev/null || echo unknown`
1102 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
1103 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
1105 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
1106 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
1107 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
1108 hostinfo = `(hostinfo) 2>/dev/null || echo unknown`
1109 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
1110 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
1111 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
1115 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1119 test -z "$as_dir" && as_dir=.
1120 echo "PATH: $as_dir"
1135 # Keep a trace of the command line.
1136 # Strip out --no-create and --no-recursion so they do not pile up.
1137 # Strip out --silent because we don't want to record it for future runs.
1138 # Also quote any args containing shell meta-characters.
1139 # Make two passes to allow for proper duplicate-argument suppression.
1144 ac_must_keep_next=false
1150 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
1151 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1152 | -silent | --silent | --silen | --sile | --sil)
1154 *" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
1155 ac_arg=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
1158 1) ac_configure_args0="$ac_configure_args0 '$ac_arg'" ;;
1160 ac_configure_args1="$ac_configure_args1 '$ac_arg'"
1161 if test $ac_must_keep_next = true; then
1162 ac_must_keep_next=false # Got value, back to normal.
1165 *=* | --config-cache | -C | -disable-* | --disable-* \
1166 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
1167 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
1168 | -with-* | --with-* | -without-* | --without-* | --x)
1169 case "$ac_configure_args0 " in
1170 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
1173 -* ) ac_must_keep_next=true ;;
1176 ac_configure_args="$ac_configure_args$ac_sep'$ac_arg'"
1177 # Get rid of the leading space.
1183 $as_unset ac_configure_args0 || test "${ac_configure_args0+set}" != set || { ac_configure_args0=; export ac_configure_args0; }
1184 $as_unset ac_configure_args1 || test "${ac_configure_args1+set}" != set || { ac_configure_args1=; export ac_configure_args1; }
1186 # When interrupted or exit'd, cleanup temporary files, and complete
1187 # config.log. We remove comments because anyway the quotes in there
1188 # would cause problems or look ugly.
1189 # WARNING: Be sure not to use single quotes in there, as some shells,
1190 # such as our DU 5.0 friend, will then `close' the trap.
1191 trap 'exit_status=$?
1192 # Save into config.log some information that might help in debugging.
1197 ## ---------------- ##
1198 ## Cache variables. ##
1199 ## ---------------- ##
1202 # The following way of writing the cache mishandles newlines in values,
1205 case `(ac_space='"'"' '"'"'; set | grep ac_space) 2>&1` in
1208 "s/'"'"'/'"'"'\\\\'"'"''"'"'/g;
1209 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='"'"'\\2'"'"'/p"
1213 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
1220 ## ----------------- ##
1221 ## Output variables. ##
1222 ## ----------------- ##
1225 for ac_var in $ac_subst_vars
1227 eval ac_val=$`echo $ac_var`
1228 echo "$ac_var='"'"'$ac_val'"'"'"
1232 if test -n "$ac_subst_files"; then
1239 for ac_var in $ac_subst_files
1241 eval ac_val=$`echo $ac_var`
1242 echo "$ac_var='"'"'$ac_val'"'"'"
1247 if test -s confdefs.h; then
1254 sed "/^$/d" confdefs.h | sort
1257 test "$ac_signal" != 0 &&
1258 echo "$as_me: caught signal $ac_signal"
1259 echo "$as_me: exit $exit_status"
1261 rm -f core *.core &&
1262 rm -rf conftest* confdefs* conf$$* $ac_clean_files &&
1265 for ac_signal in 1 2 13 15; do
1266 trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
1270 # confdefs.h avoids OS command line length limits that DEFS can exceed.
1271 rm -rf conftest* confdefs.h
1272 # AIX cpp loses on an empty file, so make sure it contains at least a newline.
1275 # Predefined preprocessor variables.
1277 cat >>confdefs.h <<_ACEOF
1278 #define PACKAGE_NAME "$PACKAGE_NAME"
1282 cat >>confdefs.h <<_ACEOF
1283 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
1287 cat >>confdefs.h <<_ACEOF
1288 #define PACKAGE_VERSION "$PACKAGE_VERSION"
1292 cat >>confdefs.h <<_ACEOF
1293 #define PACKAGE_STRING "$PACKAGE_STRING"
1297 cat >>confdefs.h <<_ACEOF
1298 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
1302 # Let the site file select an alternate cache file if it wants to.
1303 # Prefer explicitly selected file to automatically selected ones.
1304 if test -z "$CONFIG_SITE"; then
1305 if test "x$prefix" != xNONE; then
1306 CONFIG_SITE="$prefix/share/config.site $prefix/etc/config.site"
1308 CONFIG_SITE="$ac_default_prefix/share/config.site $ac_default_prefix/etc/config.site"
1311 for ac_site_file in $CONFIG_SITE; do
1312 if test -r "$ac_site_file"; then
1313 { echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
1314 echo "$as_me: loading site script $ac_site_file" >&6;}
1315 sed 's/^/| /' "$ac_site_file" >&5
1320 if test -r "$cache_file"; then
1321 # Some versions of bash will fail to source /dev/null (special
1322 # files actually), so we avoid doing that.
1323 if test -f "$cache_file"; then
1324 { echo "$as_me:$LINENO: loading cache $cache_file" >&5
1325 echo "$as_me: loading cache $cache_file" >&6;}
1327 [\\/]* | ?:[\\/]* ) . $cache_file;;
1328 *) . ./$cache_file;;
1332 { echo "$as_me:$LINENO: creating cache $cache_file" >&5
1333 echo "$as_me: creating cache $cache_file" >&6;}
1337 # Check that the precious variables saved in the cache have kept the same
1339 ac_cache_corrupted=false
1340 for ac_var in `(set) 2>&1 |
1341 sed -n 's/^ac_env_\([a-zA-Z_0-9]*\)_set=.*/\1/p'`; do
1342 eval ac_old_set=\$ac_cv_env_${ac_var}_set
1343 eval ac_new_set=\$ac_env_${ac_var}_set
1344 eval ac_old_val="\$ac_cv_env_${ac_var}_value"
1345 eval ac_new_val="\$ac_env_${ac_var}_value"
1346 case $ac_old_set,$ac_new_set in
1348 { echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
1349 echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
1350 ac_cache_corrupted=: ;;
1352 { echo "$as_me:$LINENO: error: \`$ac_var' was not set in the previous run" >&5
1353 echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
1354 ac_cache_corrupted=: ;;
1357 if test "x$ac_old_val" != "x$ac_new_val"; then
1358 { echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5
1359 echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
1360 { echo "$as_me:$LINENO: former value: $ac_old_val" >&5
1361 echo "$as_me: former value: $ac_old_val" >&2;}
1362 { echo "$as_me:$LINENO: current value: $ac_new_val" >&5
1363 echo "$as_me: current value: $ac_new_val" >&2;}
1364 ac_cache_corrupted=:
1367 # Pass precious variables to config.status.
1368 if test "$ac_new_set" = set; then
1370 *" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
1371 ac_arg=$ac_var=`echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
1372 *) ac_arg=$ac_var=$ac_new_val ;;
1374 case " $ac_configure_args " in
1375 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
1376 *) ac_configure_args="$ac_configure_args '$ac_arg'" ;;
1380 if $ac_cache_corrupted; then
1381 { echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5
1382 echo "$as_me: error: changes in the environment can compromise the build" >&2;}
1383 { { echo "$as_me:$LINENO: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5
1384 echo "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;}
1385 { (exit 1); exit 1; }; }
1389 ac_cpp='$CPP $CPPFLAGS'
1390 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1391 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1392 ac_compiler_gnu=$ac_cv_c_compiler_gnu
1423 for ac_dir in $srcdir $srcdir/.. $srcdir/../..; do
1424 if test -f $ac_dir/install-sh; then
1426 ac_install_sh="$ac_aux_dir/install-sh -c"
1428 elif test -f $ac_dir/install.sh; then
1430 ac_install_sh="$ac_aux_dir/install.sh -c"
1432 elif test -f $ac_dir/shtool; then
1434 ac_install_sh="$ac_aux_dir/shtool install -c"
1438 if test -z "$ac_aux_dir"; then
1439 { { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." >&5
1440 echo "$as_me: error: cannot find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." >&2;}
1441 { (exit 1); exit 1; }; }
1443 ac_config_guess="$SHELL $ac_aux_dir/config.guess"
1444 ac_config_sub="$SHELL $ac_aux_dir/config.sub"
1445 ac_configure="$SHELL $ac_aux_dir/configure" # This should be Cygnus configure.
1447 # Make sure we can run config.sub.
1448 $ac_config_sub sun4 >/dev/null 2>&1 ||
1449 { { echo "$as_me:$LINENO: error: cannot run $ac_config_sub" >&5
1450 echo "$as_me: error: cannot run $ac_config_sub" >&2;}
1451 { (exit 1); exit 1; }; }
1453 echo "$as_me:$LINENO: checking build system type" >&5
1454 echo $ECHO_N "checking build system type... $ECHO_C" >&6
1455 if test "${ac_cv_build+set}" = set; then
1456 echo $ECHO_N "(cached) $ECHO_C" >&6
1458 ac_cv_build_alias=$build_alias
1459 test -z "$ac_cv_build_alias" &&
1460 ac_cv_build_alias=`$ac_config_guess`
1461 test -z "$ac_cv_build_alias" &&
1462 { { echo "$as_me:$LINENO: error: cannot guess build type; you must specify one" >&5
1463 echo "$as_me: error: cannot guess build type; you must specify one" >&2;}
1464 { (exit 1); exit 1; }; }
1465 ac_cv_build=`$ac_config_sub $ac_cv_build_alias` ||
1466 { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_build_alias failed" >&5
1467 echo "$as_me: error: $ac_config_sub $ac_cv_build_alias failed" >&2;}
1468 { (exit 1); exit 1; }; }
1471 echo "$as_me:$LINENO: result: $ac_cv_build" >&5
1472 echo "${ECHO_T}$ac_cv_build" >&6
1474 build_cpu=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
1475 build_vendor=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
1476 build_os=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
1479 echo "$as_me:$LINENO: checking host system type" >&5
1480 echo $ECHO_N "checking host system type... $ECHO_C" >&6
1481 if test "${ac_cv_host+set}" = set; then
1482 echo $ECHO_N "(cached) $ECHO_C" >&6
1484 ac_cv_host_alias=$host_alias
1485 test -z "$ac_cv_host_alias" &&
1486 ac_cv_host_alias=$ac_cv_build_alias
1487 ac_cv_host=`$ac_config_sub $ac_cv_host_alias` ||
1488 { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_host_alias failed" >&5
1489 echo "$as_me: error: $ac_config_sub $ac_cv_host_alias failed" >&2;}
1490 { (exit 1); exit 1; }; }
1493 echo "$as_me:$LINENO: result: $ac_cv_host" >&5
1494 echo "${ECHO_T}$ac_cv_host" >&6
1496 host_cpu=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
1497 host_vendor=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
1498 host_os=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
1501 echo "$as_me:$LINENO: checking target system type" >&5
1502 echo $ECHO_N "checking target system type... $ECHO_C" >&6
1503 if test "${ac_cv_target+set}" = set; then
1504 echo $ECHO_N "(cached) $ECHO_C" >&6
1506 ac_cv_target_alias=$target_alias
1507 test "x$ac_cv_target_alias" = "x" &&
1508 ac_cv_target_alias=$ac_cv_host_alias
1509 ac_cv_target=`$ac_config_sub $ac_cv_target_alias` ||
1510 { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_target_alias failed" >&5
1511 echo "$as_me: error: $ac_config_sub $ac_cv_target_alias failed" >&2;}
1512 { (exit 1); exit 1; }; }
1515 echo "$as_me:$LINENO: result: $ac_cv_target" >&5
1516 echo "${ECHO_T}$ac_cv_target" >&6
1517 target=$ac_cv_target
1518 target_cpu=`echo $ac_cv_target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
1519 target_vendor=`echo $ac_cv_target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
1520 target_os=`echo $ac_cv_target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
1523 # The aliases save the names the user supplied, while $host etc.
1524 # will get canonicalized.
1525 test -n "$target_alias" &&
1526 test "$program_prefix$program_suffix$program_transform_name" = \
1528 program_prefix=${target_alias}-
1530 # Check whether --enable-java-maintainer-mode or --disable-java-maintainer-mode was given.
1531 if test "${enable_java_maintainer_mode+set}" = set; then
1532 enableval="$enable_java_maintainer_mode"
1537 if test "$enable_java_maintainer_mode" = yes; then
1538 JAVA_MAINTAINER_MODE_TRUE=
1539 JAVA_MAINTAINER_MODE_FALSE='#'
1541 JAVA_MAINTAINER_MODE_TRUE='#'
1542 JAVA_MAINTAINER_MODE_FALSE=
1546 # Find the rest of the source tree framework.
1547 # Default to --enable-multilib
1548 # Check whether --enable-multilib or --disable-multilib was given.
1549 if test "${enable_multilib+set}" = set; then
1550 enableval="$enable_multilib"
1551 case "$enableval" in
1552 yes) multilib=yes ;;
1554 *) { { echo "$as_me:$LINENO: error: bad value $enableval for multilib option" >&5
1555 echo "$as_me: error: bad value $enableval for multilib option" >&2;}
1556 { (exit 1); exit 1; }; } ;;
1562 # We may get other options which we leave undocumented:
1563 # --with-target-subdir, --with-multisrctop, --with-multisubdir
1564 # See config-ml.in if you want the gory details.
1566 if test "$srcdir" = "."; then
1567 if test "$with_target_subdir" != "."; then
1568 multi_basedir="$srcdir/$with_multisrctop../../.."
1570 multi_basedir="$srcdir/$with_multisrctop../.."
1573 multi_basedir="$srcdir/../.."
1577 # Even if the default multilib is not a cross compilation,
1578 # it may be that some of the other multilibs are.
1579 if test $cross_compiling = no && test $multilib = yes \
1580 && test "x${with_multisubdir}" != x ; then
1581 cross_compiling=maybe
1584 ac_config_commands="$ac_config_commands default-1"
1587 if expr ${target_cpu} : '.*86' > /dev/null; then target_cpu=x86; fi
1600 CLASSPATH_MODULE="${cp_module} -version-info ${LIBVERSION} -no-undefined"
1603 CLASSPATH_CONVENIENCE="-no-undefined"
1607 am__api_version="1.9"
1608 # Find a good install program. We prefer a C program (faster),
1609 # so one script is as good as another. But avoid the broken or
1610 # incompatible versions:
1611 # SysV /etc/install, /usr/sbin/install
1612 # SunOS /usr/etc/install
1613 # IRIX /sbin/install
1615 # AmigaOS /C/install, which installs bootblocks on floppy discs
1616 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
1617 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
1618 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
1619 # OS/2's system install, which has a completely different semantic
1620 # ./install, which can be erroneously created by make from ./install.sh.
1621 echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
1622 echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6
1623 if test -z "$INSTALL"; then
1624 if test "${ac_cv_path_install+set}" = set; then
1625 echo $ECHO_N "(cached) $ECHO_C" >&6
1627 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1631 test -z "$as_dir" && as_dir=.
1632 # Account for people who put trailing slashes in PATH elements.
1634 ./ | .// | /cC/* | \
1635 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
1636 ?:\\/os2\\/install\\/* | ?:\\/OS2\\/INSTALL\\/* | \
1639 # OSF1 and SCO ODT 3.0 have their own names for install.
1640 # Don't use installbsd from OSF since it installs stuff as root
1642 for ac_prog in ginstall scoinst install; do
1643 for ac_exec_ext in '' $ac_executable_extensions; do
1644 if $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
1645 if test $ac_prog = install &&
1646 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
1647 # AIX install. It has an incompatible calling convention.
1649 elif test $ac_prog = install &&
1650 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
1651 # program-specific install script used by HP pwplus--don't use.
1654 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
1666 if test "${ac_cv_path_install+set}" = set; then
1667 INSTALL=$ac_cv_path_install
1669 # As a last resort, use the slow shell script. We don't cache a
1670 # path for INSTALL within a source directory, because that will
1671 # break other packages using the cache if that directory is
1672 # removed, or if the path is relative.
1673 INSTALL=$ac_install_sh
1676 echo "$as_me:$LINENO: result: $INSTALL" >&5
1677 echo "${ECHO_T}$INSTALL" >&6
1679 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
1680 # It thinks the first close brace ends the variable substitution.
1681 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
1683 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
1685 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
1687 echo "$as_me:$LINENO: checking whether build environment is sane" >&5
1688 echo $ECHO_N "checking whether build environment is sane... $ECHO_C" >&6
1691 echo timestamp > conftest.file
1692 # Do `set' in a subshell so we don't clobber the current shell's
1693 # arguments. Must try -L first in case configure is actually a
1694 # symlink; some systems play weird games with the mod time of symlinks
1695 # (eg FreeBSD returns the mod time of the symlink's containing
1698 set X `ls -Lt $srcdir/configure conftest.file 2> /dev/null`
1699 if test "$*" = "X"; then
1701 set X `ls -t $srcdir/configure conftest.file`
1704 if test "$*" != "X $srcdir/configure conftest.file" \
1705 && test "$*" != "X conftest.file $srcdir/configure"; then
1707 # If neither matched, then we have a broken ls. This can happen
1708 # if, for instance, CONFIG_SHELL is bash and it inherits a
1709 # broken ls alias from the environment. This has actually
1710 # happened. Such a system could not be considered "sane".
1711 { { echo "$as_me:$LINENO: error: ls -t appears to fail. Make sure there is not a broken
1712 alias in your environment" >&5
1713 echo "$as_me: error: ls -t appears to fail. Make sure there is not a broken
1714 alias in your environment" >&2;}
1715 { (exit 1); exit 1; }; }
1718 test "$2" = conftest.file
1724 { { echo "$as_me:$LINENO: error: newly created file is older than distributed files!
1725 Check your system clock" >&5
1726 echo "$as_me: error: newly created file is older than distributed files!
1727 Check your system clock" >&2;}
1728 { (exit 1); exit 1; }; }
1730 echo "$as_me:$LINENO: result: yes" >&5
1731 echo "${ECHO_T}yes" >&6
1732 test "$program_prefix" != NONE &&
1733 program_transform_name="s,^,$program_prefix,;$program_transform_name"
1734 # Use a double $ so make ignores it.
1735 test "$program_suffix" != NONE &&
1736 program_transform_name="s,\$,$program_suffix,;$program_transform_name"
1737 # Double any \ or $. echo might interpret backslashes.
1738 # By default was `s,x,x', remove it if useless.
1739 cat <<\_ACEOF >conftest.sed
1740 s/[\\$]/&&/g;s/;s,x,x,$//
1742 program_transform_name=`echo $program_transform_name | sed -f conftest.sed`
1745 # expand $ac_aux_dir to an absolute path
1746 am_aux_dir=`cd $ac_aux_dir && pwd`
1748 test x"${MISSING+set}" = xset || MISSING="\${SHELL} $am_aux_dir/missing"
1749 # Use eval to expand $SHELL
1750 if eval "$MISSING --run true"; then
1751 am_missing_run="$MISSING --run "
1754 { echo "$as_me:$LINENO: WARNING: \`missing' script is too old or missing" >&5
1755 echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;}
1758 if mkdir -p --version . >/dev/null 2>&1 && test ! -d ./--version; then
1759 # We used to keeping the `.' as first argument, in order to
1760 # allow $(mkdir_p) to be used without argument. As in
1761 # $(mkdir_p) $(somedir)
1762 # where $(somedir) is conditionally defined. However this is wrong
1764 # 1. if the package is installed by a user who cannot write `.'
1765 # make install will fail,
1766 # 2. the above comment should most certainly read
1767 # $(mkdir_p) $(DESTDIR)$(somedir)
1768 # so it does not work when $(somedir) is undefined and
1769 # $(DESTDIR) is not.
1770 # To support the latter case, we have to write
1771 # test -z "$(somedir)" || $(mkdir_p) $(DESTDIR)$(somedir),
1772 # so the `.' trick is pointless.
1773 mkdir_p='mkdir -p --'
1775 # On NextStep and OpenStep, the `mkdir' command does not
1776 # recognize any option. It will interpret all options as
1777 # directories to create, and then abort because `.' already
1779 for d in ./-p ./--version;
1781 test -d $d && rmdir $d
1783 # $(mkinstalldirs) is defined by Automake if mkinstalldirs exists.
1784 if test -f "$ac_aux_dir/mkinstalldirs"; then
1785 mkdir_p='$(mkinstalldirs)'
1787 mkdir_p='$(install_sh) -d'
1791 for ac_prog in gawk mawk nawk awk
1793 # Extract the first word of "$ac_prog", so it can be a program name with args.
1794 set dummy $ac_prog; ac_word=$2
1795 echo "$as_me:$LINENO: checking for $ac_word" >&5
1796 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1797 if test "${ac_cv_prog_AWK+set}" = set; then
1798 echo $ECHO_N "(cached) $ECHO_C" >&6
1800 if test -n "$AWK"; then
1801 ac_cv_prog_AWK="$AWK" # Let the user override the test.
1803 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1807 test -z "$as_dir" && as_dir=.
1808 for ac_exec_ext in '' $ac_executable_extensions; do
1809 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1810 ac_cv_prog_AWK="$ac_prog"
1811 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1820 if test -n "$AWK"; then
1821 echo "$as_me:$LINENO: result: $AWK" >&5
1822 echo "${ECHO_T}$AWK" >&6
1824 echo "$as_me:$LINENO: result: no" >&5
1825 echo "${ECHO_T}no" >&6
1828 test -n "$AWK" && break
1831 echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
1832 echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6
1833 set dummy ${MAKE-make}; ac_make=`echo "$2" | sed 'y,:./+-,___p_,'`
1834 if eval "test \"\${ac_cv_prog_make_${ac_make}_set+set}\" = set"; then
1835 echo $ECHO_N "(cached) $ECHO_C" >&6
1837 cat >conftest.make <<\_ACEOF
1839 @echo 'ac_maketemp="$(MAKE)"'
1841 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
1842 eval `${MAKE-make} -f conftest.make 2>/dev/null | grep temp=`
1843 if test -n "$ac_maketemp"; then
1844 eval ac_cv_prog_make_${ac_make}_set=yes
1846 eval ac_cv_prog_make_${ac_make}_set=no
1850 if eval "test \"`echo '$ac_cv_prog_make_'${ac_make}_set`\" = yes"; then
1851 echo "$as_me:$LINENO: result: yes" >&5
1852 echo "${ECHO_T}yes" >&6
1855 echo "$as_me:$LINENO: result: no" >&5
1856 echo "${ECHO_T}no" >&6
1857 SET_MAKE="MAKE=${MAKE-make}"
1860 rm -rf .tst 2>/dev/null
1861 mkdir .tst 2>/dev/null
1862 if test -d .tst; then
1867 rmdir .tst 2>/dev/null
1869 # test to see if srcdir already configured
1870 if test "`cd $srcdir && pwd`" != "`pwd`" &&
1871 test -f $srcdir/config.status; then
1872 { { echo "$as_me:$LINENO: error: source directory already configured; run \"make distclean\" there first" >&5
1873 echo "$as_me: error: source directory already configured; run \"make distclean\" there first" >&2;}
1874 { (exit 1); exit 1; }; }
1877 # test whether we have cygpath
1878 if test -z "$CYGPATH_W"; then
1879 if (cygpath --version) >/dev/null 2>/dev/null; then
1880 CYGPATH_W='cygpath -w'
1887 # Define the identity of the package.
1892 cat >>confdefs.h <<_ACEOF
1893 #define PACKAGE "$PACKAGE"
1897 cat >>confdefs.h <<_ACEOF
1898 #define VERSION "$VERSION"
1901 # Some tools Automake needs.
1903 ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
1906 AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"}
1909 AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
1912 AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"}
1915 MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
1917 install_sh=${install_sh-"$am_aux_dir/install-sh"}
1919 # Installed binaries are usually stripped using `strip' when the user
1920 # run `make install-strip'. However `strip' might not be the right
1921 # tool to use in cross-compilation environments, therefore Automake
1922 # will honor the `STRIP' environment variable to overrule this program.
1923 if test "$cross_compiling" != no; then
1924 if test -n "$ac_tool_prefix"; then
1925 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
1926 set dummy ${ac_tool_prefix}strip; ac_word=$2
1927 echo "$as_me:$LINENO: checking for $ac_word" >&5
1928 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1929 if test "${ac_cv_prog_STRIP+set}" = set; then
1930 echo $ECHO_N "(cached) $ECHO_C" >&6
1932 if test -n "$STRIP"; then
1933 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
1935 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1939 test -z "$as_dir" && as_dir=.
1940 for ac_exec_ext in '' $ac_executable_extensions; do
1941 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1942 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
1943 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1951 STRIP=$ac_cv_prog_STRIP
1952 if test -n "$STRIP"; then
1953 echo "$as_me:$LINENO: result: $STRIP" >&5
1954 echo "${ECHO_T}$STRIP" >&6
1956 echo "$as_me:$LINENO: result: no" >&5
1957 echo "${ECHO_T}no" >&6
1961 if test -z "$ac_cv_prog_STRIP"; then
1963 # Extract the first word of "strip", so it can be a program name with args.
1964 set dummy strip; ac_word=$2
1965 echo "$as_me:$LINENO: checking for $ac_word" >&5
1966 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1967 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
1968 echo $ECHO_N "(cached) $ECHO_C" >&6
1970 if test -n "$ac_ct_STRIP"; then
1971 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
1973 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1977 test -z "$as_dir" && as_dir=.
1978 for ac_exec_ext in '' $ac_executable_extensions; do
1979 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1980 ac_cv_prog_ac_ct_STRIP="strip"
1981 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1987 test -z "$ac_cv_prog_ac_ct_STRIP" && ac_cv_prog_ac_ct_STRIP=":"
1990 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
1991 if test -n "$ac_ct_STRIP"; then
1992 echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
1993 echo "${ECHO_T}$ac_ct_STRIP" >&6
1995 echo "$as_me:$LINENO: result: no" >&5
1996 echo "${ECHO_T}no" >&6
2001 STRIP="$ac_cv_prog_STRIP"
2005 INSTALL_STRIP_PROGRAM="\${SHELL} \$(install_sh) -c -s"
2007 # We need awk for the "check" target. The system "awk" is bad on
2009 # Always define AMTAR for backward compatibility.
2011 AMTAR=${AMTAR-"${am_missing_run}tar"}
2014 echo "$as_me:$LINENO: checking how to create a ustar tar archive" >&5
2015 echo $ECHO_N "checking how to create a ustar tar archive... $ECHO_C" >&6
2016 # Loop over all known methods to create a tar archive until one works.
2017 _am_tools='gnutar plaintar pax cpio none'
2018 _am_tools=${am_cv_prog_tar_ustar-$_am_tools}
2019 # Do not fold the above two line into one, because Tru64 sh and
2020 # Solaris sh will not grok spaces in the rhs of `-'.
2021 for _am_tool in $_am_tools
2025 for _am_tar in tar gnutar gtar;
2027 { echo "$as_me:$LINENO: $_am_tar --version" >&5
2028 ($_am_tar --version) >&5 2>&5
2030 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2031 (exit $ac_status); } && break
2033 am__tar="$_am_tar --format=ustar -chf - "'"$$tardir"'
2034 am__tar_="$_am_tar --format=ustar -chf - "'"$tardir"'
2035 am__untar="$_am_tar -xf -"
2038 # Must skip GNU tar: if it does not support --format= it doesn't create
2039 # ustar tarball either.
2040 (tar --version) >/dev/null 2>&1 && continue
2041 am__tar='tar chf - "$$tardir"'
2042 am__tar_='tar chf - "$tardir"'
2043 am__untar='tar xf -'
2046 am__tar='pax -L -x ustar -w "$$tardir"'
2047 am__tar_='pax -L -x ustar -w "$tardir"'
2051 am__tar='find "$$tardir" -print | cpio -o -H ustar -L'
2052 am__tar_='find "$tardir" -print | cpio -o -H ustar -L'
2053 am__untar='cpio -i -H ustar -d'
2062 # If the value was cached, stop now. We just wanted to have am__tar
2063 # and am__untar set.
2064 test -n "${am_cv_prog_tar_ustar}" && break
2066 # tar/untar a dummy directory, and stop if the command works
2069 echo GrepMe > conftest.dir/file
2070 { echo "$as_me:$LINENO: tardir=conftest.dir && eval $am__tar_ >conftest.tar" >&5
2071 (tardir=conftest.dir && eval $am__tar_ >conftest.tar) >&5 2>&5
2073 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2074 (exit $ac_status); }
2076 if test -s conftest.tar; then
2077 { echo "$as_me:$LINENO: $am__untar <conftest.tar" >&5
2078 ($am__untar <conftest.tar) >&5 2>&5
2080 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2081 (exit $ac_status); }
2082 grep GrepMe conftest.dir/file >/dev/null 2>&1 && break
2087 if test "${am_cv_prog_tar_ustar+set}" = set; then
2088 echo $ECHO_N "(cached) $ECHO_C" >&6
2090 am_cv_prog_tar_ustar=$_am_tool
2093 echo "$as_me:$LINENO: result: $am_cv_prog_tar_ustar" >&5
2094 echo "${ECHO_T}$am_cv_prog_tar_ustar" >&6
2100 ac_config_headers="$ac_config_headers include/config.h"
2106 # Check whether --enable-collections or --disable-collections was given.
2107 if test "${enable_collections+set}" = set; then
2108 enableval="$enable_collections"
2109 case x"${enableval}" in
2110 xyes) COMPILE_COLLECTIONS=yes; COLLECTIONS_PREFIX="\"gnu/java/util/collections\"" ;;
2111 xno) COMPILE_COLLECTIONS=no ;;
2112 x) COMPILE_COLLECTIONS=yes; COLLECTIONS_PREFIX="\"gnu/java/util/collections\"" ;;
2113 *) COMPILE_COLLECTIONS=yes; COLLECTIONS_PREFIX="\"${enableval}\"" ;;
2116 COMPILE_COLLECTIONS=no
2120 if test "x${COMPILE_COLLECTIONS}" = xyes; then
2121 CREATE_COLLECTIONS_TRUE=
2122 CREATE_COLLECTIONS_FALSE='#'
2124 CREATE_COLLECTIONS_TRUE='#'
2125 CREATE_COLLECTIONS_FALSE=
2129 # Check whether --enable-jni or --disable-jni was given.
2130 if test "${enable_jni+set}" = set; then
2131 enableval="$enable_jni"
2132 case "${enableval}" in
2133 yes) COMPILE_JNI=yes; COMPILE_JAVA=yes ;;
2134 no) COMPILE_JNI=no ;;
2135 *) COMPILE_JNI=yes; COMPILE_JAVA=yes ;;
2142 if test "x${COMPILE_JNI}" = xyes; then
2143 CREATE_JNI_LIBRARIES_TRUE=
2144 CREATE_JNI_LIBRARIES_FALSE='#'
2146 CREATE_JNI_LIBRARIES_TRUE='#'
2147 CREATE_JNI_LIBRARIES_FALSE=
2151 # Check whether --enable-core-jni or --disable-core-jni was given.
2152 if test "${enable_core_jni+set}" = set; then
2153 enableval="$enable_core_jni"
2154 case "${enableval}" in
2155 yes) COMPILE_CORE_JNI=yes; COMPILE_JAVA=yes ;;
2156 no) COMPILE_CORE_JNI=no ;;
2157 *) COMPILE_CORE_JNI=yes; COMPILE_JAVA=yes ;;
2160 COMPILE_CORE_JNI=yes
2164 if test "x${COMPILE_CORE_JNI}" = xyes; then
2165 CREATE_CORE_JNI_LIBRARIES_TRUE=
2166 CREATE_CORE_JNI_LIBRARIES_FALSE='#'
2168 CREATE_CORE_JNI_LIBRARIES_TRUE='#'
2169 CREATE_CORE_JNI_LIBRARIES_FALSE=
2173 # Check whether --enable-default-preferences-peer or --disable-default-preferences-peer was given.
2174 if test "${enable_default_preferences_peer+set}" = set; then
2175 enableval="$enable_default_preferences_peer"
2176 case "${enableval}" in
2177 file) DEFAULT_PREFS_PEER=gnu.java.util.prefs.FileBasedFactory ;;
2178 gconf|yes|true) DEFAULT_PREFS_PEER=gnu.java.util.prefs.GConfBasedFactory ;;
2179 memory) DEFAULT_PREFS_PEER=gnu.java.util.prefs.MemoryBasedFactory ;;
2180 no|false) { { echo "$as_me:$LINENO: error: bad value '${enableval}' for --enable-default-preferences-peer" >&5
2181 echo "$as_me: error: bad value '${enableval}' for --enable-default-preferences-peer" >&2;}
2182 { (exit 1); exit 1; }; } ;;
2183 *) DEFAULT_PREFS_PEER=${enableval} ;;
2186 DEFAULT_PREFS_PEER=gnu.java.util.prefs.GConfBasedFactory
2189 # Check whether --enable-gconf-peer or --disable-gconf-peer was given.
2190 if test "${enable_gconf_peer+set}" = set; then
2191 enableval="$enable_gconf_peer"
2192 case "${enableval}" in
2193 yes) COMPILE_GCONF_PEER=yes ;;
2194 no) COMPILE_GCONF_PEER=no ;;
2195 *) COMPILE_GCONF_PEER=yes ;;
2198 COMPILE_GCONF_PEER=yes
2202 if test "x${COMPILE_GCONF_PEER}" = xyes; then
2203 CREATE_GCONF_PEER_LIBRARIES_TRUE=
2204 CREATE_GCONF_PEER_LIBRARIES_FALSE='#'
2206 CREATE_GCONF_PEER_LIBRARIES_TRUE='#'
2207 CREATE_GCONF_PEER_LIBRARIES_FALSE=
2211 # Check whether --enable-gconf-peers or --disable-gconf-peers was given.
2212 if test "${enable_gconf_peers+set}" = set; then
2213 enableval="$enable_gconf_peers"
2214 { { echo "$as_me:$LINENO: error: No --enable-gconf-peers (or --disable-gconf-peers) option; you want --enable-gconf-peer" >&5
2215 echo "$as_me: error: No --enable-gconf-peers (or --disable-gconf-peers) option; you want --enable-gconf-peer" >&2;}
2216 { (exit 1); exit 1; }; }
2219 # Check whether --enable-Werror or --disable-Werror was given.
2220 if test "${enable_Werror+set}" = set; then
2221 enableval="$enable_Werror"
2222 case "${enableval}" in
2223 yes) ENABLE_WERROR=yes ;;
2224 no) ENABLE_WERROR=no ;;
2225 *) ENABLE_WERROR=default ;;
2228 ENABLE_WERROR=default
2231 # Check whether --enable-default-toolkit or --disable-default-toolkit was given.
2232 if test "${enable_default_toolkit+set}" = set; then
2233 enableval="$enable_default_toolkit"
2236 default_toolkit=$enable_default_toolkit
2237 if test "$default_toolkit" = ""; then
2238 default_toolkit=gnu.java.awt.peer.gtk.GtkToolkit
2242 # Check whether --enable-xmlj or --disable-xmlj was given.
2243 if test "${enable_xmlj+set}" = set; then
2244 enableval="$enable_xmlj"
2245 case "${enableval}" in
2246 yes) COMPILE_XMLJ=yes ;;
2247 no) COMPILE_XMLJ=no ;;
2248 *) COMPILE_XMLJ=no ;;
2255 if test "x${COMPILE_XMLJ}" = xyes; then
2256 CREATE_XMLJ_LIBRARY_TRUE=
2257 CREATE_XMLJ_LIBRARY_FALSE='#'
2259 CREATE_XMLJ_LIBRARY_TRUE='#'
2260 CREATE_XMLJ_LIBRARY_FALSE=
2264 DEPDIR="${am__leading_dot}deps"
2266 ac_config_commands="$ac_config_commands depfiles"
2269 am_make=${MAKE-make}
2270 cat > confinc << 'END'
2275 # If we don't find an include directive, just comment out the code.
2276 echo "$as_me:$LINENO: checking for style of include used by $am_make" >&5
2277 echo $ECHO_N "checking for style of include used by $am_make... $ECHO_C" >&6
2281 # First try GNU make style include.
2282 echo "include confinc" > confmf
2283 # We grep out `Entering directory' and `Leaving directory'
2284 # messages which can occur if `w' ends up in MAKEFLAGS.
2285 # In particular we don't look at `^make:' because GNU make might
2286 # be invoked under some other name (usually "gmake"), in which
2287 # case it prints its new name instead of `make'.
2288 if test "`$am_make -s -f confmf 2> /dev/null | grep -v 'ing directory'`" = "done"; then
2293 # Now try BSD make style include.
2294 if test "$am__include" = "#"; then
2295 echo '.include "confinc"' > confmf
2296 if test "`$am_make -s -f confmf 2> /dev/null`" = "done"; then
2297 am__include=.include
2304 echo "$as_me:$LINENO: result: $_am_result" >&5
2305 echo "${ECHO_T}$_am_result" >&6
2306 rm -f confinc confmf
2308 # Check whether --enable-dependency-tracking or --disable-dependency-tracking was given.
2309 if test "${enable_dependency_tracking+set}" = set; then
2310 enableval="$enable_dependency_tracking"
2313 if test "x$enable_dependency_tracking" != xno; then
2314 am_depcomp="$ac_aux_dir/depcomp"
2319 if test "x$enable_dependency_tracking" != xno; then
2330 ac_cpp='$CPP $CPPFLAGS'
2331 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2332 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2333 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2334 if test -n "$ac_tool_prefix"; then
2335 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
2336 set dummy ${ac_tool_prefix}gcc; ac_word=$2
2337 echo "$as_me:$LINENO: checking for $ac_word" >&5
2338 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2339 if test "${ac_cv_prog_CC+set}" = set; then
2340 echo $ECHO_N "(cached) $ECHO_C" >&6
2342 if test -n "$CC"; then
2343 ac_cv_prog_CC="$CC" # Let the user override the test.
2345 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2349 test -z "$as_dir" && as_dir=.
2350 for ac_exec_ext in '' $ac_executable_extensions; do
2351 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2352 ac_cv_prog_CC="${ac_tool_prefix}gcc"
2353 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2362 if test -n "$CC"; then
2363 echo "$as_me:$LINENO: result: $CC" >&5
2364 echo "${ECHO_T}$CC" >&6
2366 echo "$as_me:$LINENO: result: no" >&5
2367 echo "${ECHO_T}no" >&6
2371 if test -z "$ac_cv_prog_CC"; then
2373 # Extract the first word of "gcc", so it can be a program name with args.
2374 set dummy gcc; 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_ac_ct_CC+set}" = set; then
2378 echo $ECHO_N "(cached) $ECHO_C" >&6
2380 if test -n "$ac_ct_CC"; then
2381 ac_cv_prog_ac_ct_CC="$ac_ct_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_ac_ct_CC="gcc"
2391 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2399 ac_ct_CC=$ac_cv_prog_ac_ct_CC
2400 if test -n "$ac_ct_CC"; then
2401 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
2402 echo "${ECHO_T}$ac_ct_CC" >&6
2404 echo "$as_me:$LINENO: result: no" >&5
2405 echo "${ECHO_T}no" >&6
2413 if test -z "$CC"; then
2414 if test -n "$ac_tool_prefix"; then
2415 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
2416 set dummy ${ac_tool_prefix}cc; ac_word=$2
2417 echo "$as_me:$LINENO: checking for $ac_word" >&5
2418 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2419 if test "${ac_cv_prog_CC+set}" = set; then
2420 echo $ECHO_N "(cached) $ECHO_C" >&6
2422 if test -n "$CC"; then
2423 ac_cv_prog_CC="$CC" # Let the user override the test.
2425 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2429 test -z "$as_dir" && as_dir=.
2430 for ac_exec_ext in '' $ac_executable_extensions; do
2431 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2432 ac_cv_prog_CC="${ac_tool_prefix}cc"
2433 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2442 if test -n "$CC"; then
2443 echo "$as_me:$LINENO: result: $CC" >&5
2444 echo "${ECHO_T}$CC" >&6
2446 echo "$as_me:$LINENO: result: no" >&5
2447 echo "${ECHO_T}no" >&6
2451 if test -z "$ac_cv_prog_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_ac_ct_CC+set}" = set; then
2458 echo $ECHO_N "(cached) $ECHO_C" >&6
2460 if test -n "$ac_ct_CC"; then
2461 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
2463 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2467 test -z "$as_dir" && as_dir=.
2468 for ac_exec_ext in '' $ac_executable_extensions; do
2469 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2470 ac_cv_prog_ac_ct_CC="cc"
2471 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2479 ac_ct_CC=$ac_cv_prog_ac_ct_CC
2480 if test -n "$ac_ct_CC"; then
2481 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
2482 echo "${ECHO_T}$ac_ct_CC" >&6
2484 echo "$as_me:$LINENO: result: no" >&5
2485 echo "${ECHO_T}no" >&6
2494 if test -z "$CC"; then
2495 # Extract the first word of "cc", so it can be a program name with args.
2496 set dummy cc; ac_word=$2
2497 echo "$as_me:$LINENO: checking for $ac_word" >&5
2498 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2499 if test "${ac_cv_prog_CC+set}" = set; then
2500 echo $ECHO_N "(cached) $ECHO_C" >&6
2502 if test -n "$CC"; then
2503 ac_cv_prog_CC="$CC" # Let the user override the test.
2506 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2510 test -z "$as_dir" && as_dir=.
2511 for ac_exec_ext in '' $ac_executable_extensions; do
2512 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2513 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
2514 ac_prog_rejected=yes
2518 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2524 if test $ac_prog_rejected = yes; then
2525 # We found a bogon in the path, so make sure we never use it.
2526 set dummy $ac_cv_prog_CC
2528 if test $# != 0; then
2529 # We chose a different compiler from the bogus one.
2530 # However, it has the same basename, so the bogon will be chosen
2531 # first if we set CC to just the basename; use the full file name.
2533 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
2539 if test -n "$CC"; then
2540 echo "$as_me:$LINENO: result: $CC" >&5
2541 echo "${ECHO_T}$CC" >&6
2543 echo "$as_me:$LINENO: result: no" >&5
2544 echo "${ECHO_T}no" >&6
2548 if test -z "$CC"; then
2549 if test -n "$ac_tool_prefix"; then
2552 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
2553 set dummy $ac_tool_prefix$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_CC+set}" = set; then
2557 echo $ECHO_N "(cached) $ECHO_C" >&6
2559 if test -n "$CC"; then
2560 ac_cv_prog_CC="$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_CC="$ac_tool_prefix$ac_prog"
2570 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2579 if test -n "$CC"; then
2580 echo "$as_me:$LINENO: result: $CC" >&5
2581 echo "${ECHO_T}$CC" >&6
2583 echo "$as_me:$LINENO: result: no" >&5
2584 echo "${ECHO_T}no" >&6
2587 test -n "$CC" && break
2590 if test -z "$CC"; then
2594 # Extract the first word of "$ac_prog", so it can be a program name with args.
2595 set dummy $ac_prog; ac_word=$2
2596 echo "$as_me:$LINENO: checking for $ac_word" >&5
2597 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2598 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
2599 echo $ECHO_N "(cached) $ECHO_C" >&6
2601 if test -n "$ac_ct_CC"; then
2602 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
2604 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2608 test -z "$as_dir" && as_dir=.
2609 for ac_exec_ext in '' $ac_executable_extensions; do
2610 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2611 ac_cv_prog_ac_ct_CC="$ac_prog"
2612 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2620 ac_ct_CC=$ac_cv_prog_ac_ct_CC
2621 if test -n "$ac_ct_CC"; then
2622 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
2623 echo "${ECHO_T}$ac_ct_CC" >&6
2625 echo "$as_me:$LINENO: result: no" >&5
2626 echo "${ECHO_T}no" >&6
2629 test -n "$ac_ct_CC" && break
2638 test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
2639 See \`config.log' for more details." >&5
2640 echo "$as_me: error: no acceptable C compiler found in \$PATH
2641 See \`config.log' for more details." >&2;}
2642 { (exit 1); exit 1; }; }
2644 # Provide some information about the compiler.
2645 echo "$as_me:$LINENO:" \
2646 "checking for C compiler version" >&5
2647 ac_compiler=`set X $ac_compile; echo $2`
2648 { (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5
2649 (eval $ac_compiler --version </dev/null >&5) 2>&5
2651 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2652 (exit $ac_status); }
2653 { (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5
2654 (eval $ac_compiler -v </dev/null >&5) 2>&5
2656 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2657 (exit $ac_status); }
2658 { (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5
2659 (eval $ac_compiler -V </dev/null >&5) 2>&5
2661 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2662 (exit $ac_status); }
2664 cat >conftest.$ac_ext <<_ACEOF
2667 cat confdefs.h >>conftest.$ac_ext
2668 cat >>conftest.$ac_ext <<_ACEOF
2669 /* end confdefs.h. */
2680 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
2681 (eval $ac_link) 2>&5
2683 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2684 (exit $ac_status); }; then
2690 if test x$gcc_no_link = xyes; then
2691 # Setting cross_compile will disable run tests; it will
2692 # also disable AC_CHECK_FILE but that's generally
2693 # correct if we can't link.
2697 cat >conftest.$ac_ext <<_ACEOF
2700 cat confdefs.h >>conftest.$ac_ext
2701 cat >>conftest.$ac_ext <<_ACEOF
2702 /* end confdefs.h. */
2712 ac_clean_files_save=$ac_clean_files
2713 ac_clean_files="$ac_clean_files a.out a.exe b.out"
2714 # Try to create an executable without -o first, disregard a.out.
2715 # It will help us diagnose broken compilers, and finding out an intuition
2717 echo "$as_me:$LINENO: checking for C compiler default output file name" >&5
2718 echo $ECHO_N "checking for C compiler default output file name... $ECHO_C" >&6
2719 ac_link_default=`echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
2720 if { (eval echo "$as_me:$LINENO: \"$ac_link_default\"") >&5
2721 (eval $ac_link_default) 2>&5
2723 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2724 (exit $ac_status); }; then
2725 # Find the output, starting from the most likely. This scheme is
2726 # not robust to junk in `.', hence go to wildcards (a.*) only as a last
2729 # Be careful to initialize this variable, since it used to be cached.
2730 # Otherwise an old cache value of `no' led to `EXEEXT = no' in a Makefile.
2732 # b.out is created by i960 compilers.
2733 for ac_file in a_out.exe a.exe conftest.exe a.out conftest a.* conftest.* b.out
2735 test -f "$ac_file" || continue
2737 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.o | *.obj )
2740 # This is the source file.
2743 # We found the default executable, but exeext='' is most
2747 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
2748 # FIXME: I believe we export ac_cv_exeext for Libtool,
2749 # but it would be cool to find out if it's true. Does anybody
2750 # maintain Libtool? --akim.
2758 echo "$as_me: failed program was:" >&5
2759 sed 's/^/| /' conftest.$ac_ext >&5
2761 { { echo "$as_me:$LINENO: error: C compiler cannot create executables
2762 See \`config.log' for more details." >&5
2763 echo "$as_me: error: C compiler cannot create executables
2764 See \`config.log' for more details." >&2;}
2765 { (exit 77); exit 77; }; }
2768 ac_exeext=$ac_cv_exeext
2769 echo "$as_me:$LINENO: result: $ac_file" >&5
2770 echo "${ECHO_T}$ac_file" >&6
2772 # Check the compiler produces executables we can run. If not, either
2773 # the compiler is broken, or we cross compile.
2774 echo "$as_me:$LINENO: checking whether the C compiler works" >&5
2775 echo $ECHO_N "checking whether the C compiler works... $ECHO_C" >&6
2776 # FIXME: These cross compiler hacks should be removed for Autoconf 3.0
2777 # If not cross compiling, check that we can run a simple program.
2778 if test "$cross_compiling" != yes; then
2779 if { ac_try='./$ac_file'
2780 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2783 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2784 (exit $ac_status); }; }; then
2787 if test "$cross_compiling" = maybe; then
2790 { { echo "$as_me:$LINENO: error: cannot run C compiled programs.
2791 If you meant to cross compile, use \`--host'.
2792 See \`config.log' for more details." >&5
2793 echo "$as_me: error: cannot run C compiled programs.
2794 If you meant to cross compile, use \`--host'.
2795 See \`config.log' for more details." >&2;}
2796 { (exit 1); exit 1; }; }
2800 echo "$as_me:$LINENO: result: yes" >&5
2801 echo "${ECHO_T}yes" >&6
2803 rm -f a.out a.exe conftest$ac_cv_exeext b.out
2804 ac_clean_files=$ac_clean_files_save
2805 # Check the compiler produces executables we can run. If not, either
2806 # the compiler is broken, or we cross compile.
2807 echo "$as_me:$LINENO: checking whether we are cross compiling" >&5
2808 echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6
2809 echo "$as_me:$LINENO: result: $cross_compiling" >&5
2810 echo "${ECHO_T}$cross_compiling" >&6
2812 echo "$as_me:$LINENO: checking for suffix of executables" >&5
2813 echo $ECHO_N "checking for suffix of executables... $ECHO_C" >&6
2814 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
2815 (eval $ac_link) 2>&5
2817 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2818 (exit $ac_status); }; then
2819 # If both `conftest.exe' and `conftest' are `present' (well, observable)
2820 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
2821 # work properly (i.e., refer to `conftest.exe'), while it won't with
2823 for ac_file in conftest.exe conftest conftest.*; do
2824 test -f "$ac_file" || continue
2826 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.o | *.obj ) ;;
2827 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
2834 { { echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link
2835 See \`config.log' for more details." >&5
2836 echo "$as_me: error: cannot compute suffix of executables: cannot compile and link
2837 See \`config.log' for more details." >&2;}
2838 { (exit 1); exit 1; }; }
2841 rm -f conftest$ac_cv_exeext
2842 echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
2843 echo "${ECHO_T}$ac_cv_exeext" >&6
2845 rm -f conftest.$ac_ext
2846 EXEEXT=$ac_cv_exeext
2849 echo "$as_me:$LINENO: checking for suffix of object files" >&5
2850 echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6
2851 if test "${ac_cv_objext+set}" = set; then
2852 echo $ECHO_N "(cached) $ECHO_C" >&6
2854 cat >conftest.$ac_ext <<_ACEOF
2857 cat confdefs.h >>conftest.$ac_ext
2858 cat >>conftest.$ac_ext <<_ACEOF
2859 /* end confdefs.h. */
2869 rm -f conftest.o conftest.obj
2870 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2871 (eval $ac_compile) 2>&5
2873 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2874 (exit $ac_status); }; then
2875 for ac_file in `(ls conftest.o conftest.obj; ls conftest.*) 2>/dev/null`; do
2877 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg ) ;;
2878 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
2883 echo "$as_me: failed program was:" >&5
2884 sed 's/^/| /' conftest.$ac_ext >&5
2886 { { echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile
2887 See \`config.log' for more details." >&5
2888 echo "$as_me: error: cannot compute suffix of object files: cannot compile
2889 See \`config.log' for more details." >&2;}
2890 { (exit 1); exit 1; }; }
2893 rm -f conftest.$ac_cv_objext conftest.$ac_ext
2895 echo "$as_me:$LINENO: result: $ac_cv_objext" >&5
2896 echo "${ECHO_T}$ac_cv_objext" >&6
2897 OBJEXT=$ac_cv_objext
2899 echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
2900 echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6
2901 if test "${ac_cv_c_compiler_gnu+set}" = set; then
2902 echo $ECHO_N "(cached) $ECHO_C" >&6
2904 cat >conftest.$ac_ext <<_ACEOF
2907 cat confdefs.h >>conftest.$ac_ext
2908 cat >>conftest.$ac_ext <<_ACEOF
2909 /* end confdefs.h. */
2922 rm -f conftest.$ac_objext
2923 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2924 (eval $ac_compile) 2>conftest.er1
2926 grep -v '^ *+' conftest.er1 >conftest.err
2928 cat conftest.err >&5
2929 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2930 (exit $ac_status); } &&
2931 { ac_try='test -z "$ac_c_werror_flag"
2932 || test ! -s conftest.err'
2933 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2936 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2937 (exit $ac_status); }; } &&
2938 { ac_try='test -s conftest.$ac_objext'
2939 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2942 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2943 (exit $ac_status); }; }; then
2946 echo "$as_me: failed program was:" >&5
2947 sed 's/^/| /' conftest.$ac_ext >&5
2951 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
2952 ac_cv_c_compiler_gnu=$ac_compiler_gnu
2955 echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
2956 echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6
2957 GCC=`test $ac_compiler_gnu = yes && echo yes`
2958 ac_test_CFLAGS=${CFLAGS+set}
2959 ac_save_CFLAGS=$CFLAGS
2961 echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
2962 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6
2963 if test "${ac_cv_prog_cc_g+set}" = set; then
2964 echo $ECHO_N "(cached) $ECHO_C" >&6
2966 cat >conftest.$ac_ext <<_ACEOF
2969 cat confdefs.h >>conftest.$ac_ext
2970 cat >>conftest.$ac_ext <<_ACEOF
2971 /* end confdefs.h. */
2981 rm -f conftest.$ac_objext
2982 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2983 (eval $ac_compile) 2>conftest.er1
2985 grep -v '^ *+' conftest.er1 >conftest.err
2987 cat conftest.err >&5
2988 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2989 (exit $ac_status); } &&
2990 { ac_try='test -z "$ac_c_werror_flag"
2991 || test ! -s conftest.err'
2992 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2995 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2996 (exit $ac_status); }; } &&
2997 { ac_try='test -s conftest.$ac_objext'
2998 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3001 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3002 (exit $ac_status); }; }; then
3005 echo "$as_me: failed program was:" >&5
3006 sed 's/^/| /' conftest.$ac_ext >&5
3010 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
3012 echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
3013 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6
3014 if test "$ac_test_CFLAGS" = set; then
3015 CFLAGS=$ac_save_CFLAGS
3016 elif test $ac_cv_prog_cc_g = yes; then
3017 if test "$GCC" = yes; then
3023 if test "$GCC" = yes; then
3029 echo "$as_me:$LINENO: checking for $CC option to accept ANSI C" >&5
3030 echo $ECHO_N "checking for $CC option to accept ANSI C... $ECHO_C" >&6
3031 if test "${ac_cv_prog_cc_stdc+set}" = set; then
3032 echo $ECHO_N "(cached) $ECHO_C" >&6
3034 ac_cv_prog_cc_stdc=no
3036 cat >conftest.$ac_ext <<_ACEOF
3039 cat confdefs.h >>conftest.$ac_ext
3040 cat >>conftest.$ac_ext <<_ACEOF
3041 /* end confdefs.h. */
3044 #include <sys/types.h>
3045 #include <sys/stat.h>
3046 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
3047 struct buf { int x; };
3048 FILE * (*rcsopen) (struct buf *, struct stat *, int);
3049 static char *e (p, i)
3055 static char *f (char * (*g) (char **, int), char **p, ...)
3060 s = g (p, va_arg (v,int));
3065 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
3066 function prototypes and stuff, but not '\xHH' hex character constants.
3067 These don't provoke an error unfortunately, instead are silently treated
3068 as 'x'. The following induces an error, until -std1 is added to get
3069 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
3070 array size at least. It's necessary to write '\x00'==0 to get something
3071 that's true only with -std1. */
3072 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
3074 int test (int i, double x);
3075 struct s1 {int (*f) (int a);};
3076 struct s2 {int (*f) (double a);};
3077 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
3083 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
3088 # Don't try gcc -ansi; that turns off useful extensions and
3089 # breaks some systems' header files.
3090 # AIX -qlanglvl=ansi
3091 # Ultrix and OSF/1 -std1
3092 # HP-UX 10.20 and later -Ae
3093 # HP-UX older versions -Aa -D_HPUX_SOURCE
3094 # SVR4 -Xc -D__EXTENSIONS__
3095 for ac_arg in "" -qlanglvl=ansi -std1 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
3097 CC="$ac_save_CC $ac_arg"
3098 rm -f conftest.$ac_objext
3099 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3100 (eval $ac_compile) 2>conftest.er1
3102 grep -v '^ *+' conftest.er1 >conftest.err
3104 cat conftest.err >&5
3105 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3106 (exit $ac_status); } &&
3107 { ac_try='test -z "$ac_c_werror_flag"
3108 || test ! -s conftest.err'
3109 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3112 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3113 (exit $ac_status); }; } &&
3114 { ac_try='test -s conftest.$ac_objext'
3115 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3118 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3119 (exit $ac_status); }; }; then
3120 ac_cv_prog_cc_stdc=$ac_arg
3123 echo "$as_me: failed program was:" >&5
3124 sed 's/^/| /' conftest.$ac_ext >&5
3127 rm -f conftest.err conftest.$ac_objext
3129 rm -f conftest.$ac_ext conftest.$ac_objext
3134 case "x$ac_cv_prog_cc_stdc" in
3136 echo "$as_me:$LINENO: result: none needed" >&5
3137 echo "${ECHO_T}none needed" >&6 ;;
3139 echo "$as_me:$LINENO: result: $ac_cv_prog_cc_stdc" >&5
3140 echo "${ECHO_T}$ac_cv_prog_cc_stdc" >&6
3141 CC="$CC $ac_cv_prog_cc_stdc" ;;
3144 # Some people use a C++ compiler to compile C. Since we use `exit',
3145 # in C++ we need to declare it. In case someone uses the same compiler
3146 # for both compiling C and C++ we need to have the C++ compiler decide
3147 # the declaration of exit, since it's the most demanding environment.
3148 cat >conftest.$ac_ext <<_ACEOF
3153 rm -f conftest.$ac_objext
3154 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3155 (eval $ac_compile) 2>conftest.er1
3157 grep -v '^ *+' conftest.er1 >conftest.err
3159 cat conftest.err >&5
3160 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3161 (exit $ac_status); } &&
3162 { ac_try='test -z "$ac_c_werror_flag"
3163 || test ! -s conftest.err'
3164 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3167 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3168 (exit $ac_status); }; } &&
3169 { ac_try='test -s conftest.$ac_objext'
3170 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3173 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3174 (exit $ac_status); }; }; then
3175 for ac_declaration in \
3177 'extern "C" void std::exit (int) throw (); using std::exit;' \
3178 'extern "C" void std::exit (int); using std::exit;' \
3179 'extern "C" void exit (int) throw ();' \
3180 'extern "C" void exit (int);' \
3183 cat >conftest.$ac_ext <<_ACEOF
3186 cat confdefs.h >>conftest.$ac_ext
3187 cat >>conftest.$ac_ext <<_ACEOF
3188 /* end confdefs.h. */
3199 rm -f conftest.$ac_objext
3200 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3201 (eval $ac_compile) 2>conftest.er1
3203 grep -v '^ *+' conftest.er1 >conftest.err
3205 cat conftest.err >&5
3206 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3207 (exit $ac_status); } &&
3208 { ac_try='test -z "$ac_c_werror_flag"
3209 || test ! -s conftest.err'
3210 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3213 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3214 (exit $ac_status); }; } &&
3215 { ac_try='test -s conftest.$ac_objext'
3216 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3219 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3220 (exit $ac_status); }; }; then
3223 echo "$as_me: failed program was:" >&5
3224 sed 's/^/| /' conftest.$ac_ext >&5
3228 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
3229 cat >conftest.$ac_ext <<_ACEOF
3232 cat confdefs.h >>conftest.$ac_ext
3233 cat >>conftest.$ac_ext <<_ACEOF
3234 /* end confdefs.h. */
3244 rm -f conftest.$ac_objext
3245 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3246 (eval $ac_compile) 2>conftest.er1
3248 grep -v '^ *+' conftest.er1 >conftest.err
3250 cat conftest.err >&5
3251 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3252 (exit $ac_status); } &&
3253 { ac_try='test -z "$ac_c_werror_flag"
3254 || test ! -s conftest.err'
3255 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3258 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3259 (exit $ac_status); }; } &&
3260 { ac_try='test -s conftest.$ac_objext'
3261 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3264 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3265 (exit $ac_status); }; }; then
3268 echo "$as_me: failed program was:" >&5
3269 sed 's/^/| /' conftest.$ac_ext >&5
3272 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
3275 if test -n "$ac_declaration"; then
3276 echo '#ifdef __cplusplus' >>confdefs.h
3277 echo $ac_declaration >>confdefs.h
3278 echo '#endif' >>confdefs.h
3282 echo "$as_me: failed program was:" >&5
3283 sed 's/^/| /' conftest.$ac_ext >&5
3286 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
3288 ac_cpp='$CPP $CPPFLAGS'
3289 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3290 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3291 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3293 depcc="$CC" am_compiler_list=
3295 echo "$as_me:$LINENO: checking dependency style of $depcc" >&5
3296 echo $ECHO_N "checking dependency style of $depcc... $ECHO_C" >&6
3297 if test "${am_cv_CC_dependencies_compiler_type+set}" = set; then
3298 echo $ECHO_N "(cached) $ECHO_C" >&6
3300 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
3301 # We make a subdir and do the tests there. Otherwise we can end up
3302 # making bogus files that we don't know about and never remove. For
3303 # instance it was reported that on HP-UX the gcc test will end up
3304 # making a dummy file named `D' -- because `-MD' means `put the output
3307 # Copy depcomp to subdir because otherwise we won't find it if we're
3308 # using a relative directory.
3309 cp "$am_depcomp" conftest.dir
3311 # We will build objects and dependencies in a subdirectory because
3312 # it helps to detect inapplicable dependency modes. For instance
3313 # both Tru64's cc and ICC support -MD to output dependencies as a
3314 # side effect of compilation, but ICC will put the dependencies in
3315 # the current directory while Tru64 will put them in the object
3319 am_cv_CC_dependencies_compiler_type=none
3320 if test "$am_compiler_list" = ""; then
3321 am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
3323 for depmode in $am_compiler_list; do
3324 # Setup a source with many dependencies, because some compilers
3325 # like to wrap large dependency lists on column 80 (with \), and
3326 # we should not choose a depcomp mode which is confused by this.
3328 # We need to recreate these files for each test, as the compiler may
3329 # overwrite some of them when testing with obscure command lines.
3330 # This happens at least with the AIX C compiler.
3332 for i in 1 2 3 4 5 6; do
3333 echo '#include "conftst'$i'.h"' >> sub/conftest.c
3334 # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
3335 # Solaris 8's {/usr,}/bin/sh.
3336 touch sub/conftst$i.h
3338 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
3342 # after this tag, mechanisms are not by side-effect, so they'll
3343 # only be used when explicitly requested
3344 if test "x$enable_dependency_tracking" = xyes; then
3352 # We check with `-c' and `-o' for the sake of the "dashmstdout"
3353 # mode. It turns out that the SunPro C++ compiler does not properly
3354 # handle `-M -o', and we need to detect this.
3355 if depmode=$depmode \
3356 source=sub/conftest.c object=sub/conftest.${OBJEXT-o} \
3357 depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
3358 $SHELL ./depcomp $depcc -c -o sub/conftest.${OBJEXT-o} sub/conftest.c \
3359 >/dev/null 2>conftest.err &&
3360 grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
3361 grep sub/conftest.${OBJEXT-o} sub/conftest.Po > /dev/null 2>&1 &&
3362 ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
3363 # icc doesn't choke on unknown options, it will just issue warnings
3364 # or remarks (even with -Werror). So we grep stderr for any message
3365 # that says an option was ignored or not supported.
3366 # When given -MP, icc 7.0 and 7.1 complain thusly:
3367 # icc: Command line warning: ignoring option '-M'; no argument required
3368 # The diagnosis changed in icc 8.0:
3369 # icc: Command line remark: option '-MP' not supported
3370 if (grep 'ignoring option' conftest.err ||
3371 grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
3372 am_cv_CC_dependencies_compiler_type=$depmode
3381 am_cv_CC_dependencies_compiler_type=none
3385 echo "$as_me:$LINENO: result: $am_cv_CC_dependencies_compiler_type" >&5
3386 echo "${ECHO_T}$am_cv_CC_dependencies_compiler_type" >&6
3387 CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
3392 test "x$enable_dependency_tracking" != xno \
3393 && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
3395 am__fastdepCC_FALSE='#'
3397 am__fastdepCC_TRUE='#'
3398 am__fastdepCC_FALSE=
3404 ac_cpp='$CPP $CPPFLAGS'
3405 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3406 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3407 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3408 echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5
3409 echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6
3410 # On Suns, sometimes $CPP names a directory.
3411 if test -n "$CPP" && test -d "$CPP"; then
3414 if test -z "$CPP"; then
3415 if test "${ac_cv_prog_CPP+set}" = set; then
3416 echo $ECHO_N "(cached) $ECHO_C" >&6
3418 # Double quotes because CPP needs to be expanded
3419 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
3422 for ac_c_preproc_warn_flag in '' yes
3424 # Use a header file that comes with gcc, so configuring glibc
3425 # with a fresh cross-compiler works.
3426 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
3427 # <limits.h> exists even on freestanding compilers.
3428 # On the NeXT, cc -E runs the code through the compiler's parser,
3429 # not just through cpp. "Syntax error" is here to catch this case.
3430 cat >conftest.$ac_ext <<_ACEOF
3433 cat confdefs.h >>conftest.$ac_ext
3434 cat >>conftest.$ac_ext <<_ACEOF
3435 /* end confdefs.h. */
3437 # include <limits.h>
3439 # include <assert.h>
3443 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
3444 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
3446 grep -v '^ *+' conftest.er1 >conftest.err
3448 cat conftest.err >&5
3449 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3450 (exit $ac_status); } >/dev/null; then
3451 if test -s conftest.err; then
3452 ac_cpp_err=$ac_c_preproc_warn_flag
3453 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
3460 if test -z "$ac_cpp_err"; then
3463 echo "$as_me: failed program was:" >&5
3464 sed 's/^/| /' conftest.$ac_ext >&5
3466 # Broken: fails on valid input.
3469 rm -f conftest.err conftest.$ac_ext
3471 # OK, works on sane cases. Now check whether non-existent headers
3472 # can be detected and how.
3473 cat >conftest.$ac_ext <<_ACEOF
3476 cat confdefs.h >>conftest.$ac_ext
3477 cat >>conftest.$ac_ext <<_ACEOF
3478 /* end confdefs.h. */
3479 #include <ac_nonexistent.h>
3481 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
3482 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
3484 grep -v '^ *+' conftest.er1 >conftest.err
3486 cat conftest.err >&5
3487 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3488 (exit $ac_status); } >/dev/null; then
3489 if test -s conftest.err; then
3490 ac_cpp_err=$ac_c_preproc_warn_flag
3491 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
3498 if test -z "$ac_cpp_err"; then
3499 # Broken: success on invalid input.
3502 echo "$as_me: failed program was:" >&5
3503 sed 's/^/| /' conftest.$ac_ext >&5
3505 # Passes both tests.
3509 rm -f conftest.err conftest.$ac_ext
3512 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
3513 rm -f conftest.err conftest.$ac_ext
3514 if $ac_preproc_ok; then
3526 echo "$as_me:$LINENO: result: $CPP" >&5
3527 echo "${ECHO_T}$CPP" >&6
3529 for ac_c_preproc_warn_flag in '' yes
3531 # Use a header file that comes with gcc, so configuring glibc
3532 # with a fresh cross-compiler works.
3533 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
3534 # <limits.h> exists even on freestanding compilers.
3535 # On the NeXT, cc -E runs the code through the compiler's parser,
3536 # not just through cpp. "Syntax error" is here to catch this case.
3537 cat >conftest.$ac_ext <<_ACEOF
3540 cat confdefs.h >>conftest.$ac_ext
3541 cat >>conftest.$ac_ext <<_ACEOF
3542 /* end confdefs.h. */
3544 # include <limits.h>
3546 # include <assert.h>
3550 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
3551 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
3553 grep -v '^ *+' conftest.er1 >conftest.err
3555 cat conftest.err >&5
3556 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3557 (exit $ac_status); } >/dev/null; then
3558 if test -s conftest.err; then
3559 ac_cpp_err=$ac_c_preproc_warn_flag
3560 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
3567 if test -z "$ac_cpp_err"; then
3570 echo "$as_me: failed program was:" >&5
3571 sed 's/^/| /' conftest.$ac_ext >&5
3573 # Broken: fails on valid input.
3576 rm -f conftest.err conftest.$ac_ext
3578 # OK, works on sane cases. Now check whether non-existent headers
3579 # can be detected and how.
3580 cat >conftest.$ac_ext <<_ACEOF
3583 cat confdefs.h >>conftest.$ac_ext
3584 cat >>conftest.$ac_ext <<_ACEOF
3585 /* end confdefs.h. */
3586 #include <ac_nonexistent.h>
3588 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
3589 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
3591 grep -v '^ *+' conftest.er1 >conftest.err
3593 cat conftest.err >&5
3594 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3595 (exit $ac_status); } >/dev/null; then
3596 if test -s conftest.err; then
3597 ac_cpp_err=$ac_c_preproc_warn_flag
3598 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
3605 if test -z "$ac_cpp_err"; then
3606 # Broken: success on invalid input.
3609 echo "$as_me: failed program was:" >&5
3610 sed 's/^/| /' conftest.$ac_ext >&5
3612 # Passes both tests.
3616 rm -f conftest.err conftest.$ac_ext
3619 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
3620 rm -f conftest.err conftest.$ac_ext
3621 if $ac_preproc_ok; then
3624 { { echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check
3625 See \`config.log' for more details." >&5
3626 echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check
3627 See \`config.log' for more details." >&2;}
3628 { (exit 1); exit 1; }; }
3632 ac_cpp='$CPP $CPPFLAGS'
3633 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3634 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3635 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3638 echo "$as_me:$LINENO: checking for egrep" >&5
3639 echo $ECHO_N "checking for egrep... $ECHO_C" >&6
3640 if test "${ac_cv_prog_egrep+set}" = set; then
3641 echo $ECHO_N "(cached) $ECHO_C" >&6
3643 if echo a | (grep -E '(a|b)') >/dev/null 2>&1
3644 then ac_cv_prog_egrep='grep -E'
3645 else ac_cv_prog_egrep='egrep'
3648 echo "$as_me:$LINENO: result: $ac_cv_prog_egrep" >&5
3649 echo "${ECHO_T}$ac_cv_prog_egrep" >&6
3650 EGREP=$ac_cv_prog_egrep
3653 echo "$as_me:$LINENO: checking for ANSI C header files" >&5
3654 echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6
3655 if test "${ac_cv_header_stdc+set}" = set; then
3656 echo $ECHO_N "(cached) $ECHO_C" >&6
3658 cat >conftest.$ac_ext <<_ACEOF
3661 cat confdefs.h >>conftest.$ac_ext
3662 cat >>conftest.$ac_ext <<_ACEOF
3663 /* end confdefs.h. */
3677 rm -f conftest.$ac_objext
3678 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3679 (eval $ac_compile) 2>conftest.er1
3681 grep -v '^ *+' conftest.er1 >conftest.err
3683 cat conftest.err >&5
3684 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3685 (exit $ac_status); } &&
3686 { ac_try='test -z "$ac_c_werror_flag"
3687 || test ! -s conftest.err'
3688 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3691 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3692 (exit $ac_status); }; } &&
3693 { ac_try='test -s conftest.$ac_objext'
3694 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3697 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3698 (exit $ac_status); }; }; then
3699 ac_cv_header_stdc=yes
3701 echo "$as_me: failed program was:" >&5
3702 sed 's/^/| /' conftest.$ac_ext >&5
3704 ac_cv_header_stdc=no
3706 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
3708 if test $ac_cv_header_stdc = yes; then
3709 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
3710 cat >conftest.$ac_ext <<_ACEOF
3713 cat confdefs.h >>conftest.$ac_ext
3714 cat >>conftest.$ac_ext <<_ACEOF
3715 /* end confdefs.h. */
3719 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
3720 $EGREP "memchr" >/dev/null 2>&1; then
3723 ac_cv_header_stdc=no
3729 if test $ac_cv_header_stdc = yes; then
3730 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
3731 cat >conftest.$ac_ext <<_ACEOF
3734 cat confdefs.h >>conftest.$ac_ext
3735 cat >>conftest.$ac_ext <<_ACEOF
3736 /* end confdefs.h. */
3740 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
3741 $EGREP "free" >/dev/null 2>&1; then
3744 ac_cv_header_stdc=no
3750 if test $ac_cv_header_stdc = yes; then
3751 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
3752 if test "$cross_compiling" = yes; then
3755 cat >conftest.$ac_ext <<_ACEOF
3758 cat confdefs.h >>conftest.$ac_ext
3759 cat >>conftest.$ac_ext <<_ACEOF
3760 /* end confdefs.h. */
3762 #if ((' ' & 0x0FF) == 0x020)
3763 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
3764 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
3766 # define ISLOWER(c) \
3767 (('a' <= (c) && (c) <= 'i') \
3768 || ('j' <= (c) && (c) <= 'r') \
3769 || ('s' <= (c) && (c) <= 'z'))
3770 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
3773 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
3778 for (i = 0; i < 256; i++)
3779 if (XOR (islower (i), ISLOWER (i))
3780 || toupper (i) != TOUPPER (i))
3785 rm -f conftest$ac_exeext
3786 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
3787 (eval $ac_link) 2>&5
3789 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3790 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
3791 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3794 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3795 (exit $ac_status); }; }; then
3798 echo "$as_me: program exited with status $ac_status" >&5
3799 echo "$as_me: failed program was:" >&5
3800 sed 's/^/| /' conftest.$ac_ext >&5
3803 ac_cv_header_stdc=no
3805 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
3809 echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
3810 echo "${ECHO_T}$ac_cv_header_stdc" >&6
3811 if test $ac_cv_header_stdc = yes; then
3813 cat >>confdefs.h <<\_ACEOF
3814 #define STDC_HEADERS 1
3819 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
3829 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
3830 inttypes.h stdint.h unistd.h
3832 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
3833 echo "$as_me:$LINENO: checking for $ac_header" >&5
3834 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
3835 if eval "test \"\${$as_ac_Header+set}\" = set"; then
3836 echo $ECHO_N "(cached) $ECHO_C" >&6
3838 cat >conftest.$ac_ext <<_ACEOF
3841 cat confdefs.h >>conftest.$ac_ext
3842 cat >>conftest.$ac_ext <<_ACEOF
3843 /* end confdefs.h. */
3844 $ac_includes_default
3846 #include <$ac_header>
3848 rm -f conftest.$ac_objext
3849 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3850 (eval $ac_compile) 2>conftest.er1
3852 grep -v '^ *+' conftest.er1 >conftest.err
3854 cat conftest.err >&5
3855 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3856 (exit $ac_status); } &&
3857 { ac_try='test -z "$ac_c_werror_flag"
3858 || test ! -s conftest.err'
3859 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3862 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3863 (exit $ac_status); }; } &&
3864 { ac_try='test -s conftest.$ac_objext'
3865 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3868 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3869 (exit $ac_status); }; }; then
3870 eval "$as_ac_Header=yes"
3872 echo "$as_me: failed program was:" >&5
3873 sed 's/^/| /' conftest.$ac_ext >&5
3875 eval "$as_ac_Header=no"
3877 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
3879 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
3880 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
3881 if test `eval echo '${'$as_ac_Header'}'` = yes; then
3882 cat >>confdefs.h <<_ACEOF
3883 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
3891 # Check whether --enable-alsa or --disable-alsa was given.
3892 if test "${enable_alsa+set}" = set; then
3893 enableval="$enable_alsa"
3894 case "${enableval}" in
3895 yes) COMPILE_ALSA=yes ;;
3896 no) COMPILE_ALSA=no ;;
3897 *) COMPILE_ALSA=yes ;;
3901 for ac_header in alsa/asoundlib.h
3903 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
3904 if eval "test \"\${$as_ac_Header+set}\" = set"; then
3905 echo "$as_me:$LINENO: checking for $ac_header" >&5
3906 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
3907 if eval "test \"\${$as_ac_Header+set}\" = set"; then
3908 echo $ECHO_N "(cached) $ECHO_C" >&6
3910 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
3911 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
3913 # Is the header compilable?
3914 echo "$as_me:$LINENO: checking $ac_header usability" >&5
3915 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
3916 cat >conftest.$ac_ext <<_ACEOF
3919 cat confdefs.h >>conftest.$ac_ext
3920 cat >>conftest.$ac_ext <<_ACEOF
3921 /* end confdefs.h. */
3922 $ac_includes_default
3923 #include <$ac_header>
3925 rm -f conftest.$ac_objext
3926 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3927 (eval $ac_compile) 2>conftest.er1
3929 grep -v '^ *+' conftest.er1 >conftest.err
3931 cat conftest.err >&5
3932 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3933 (exit $ac_status); } &&
3934 { ac_try='test -z "$ac_c_werror_flag"
3935 || test ! -s conftest.err'
3936 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3939 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3940 (exit $ac_status); }; } &&
3941 { ac_try='test -s conftest.$ac_objext'
3942 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3945 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3946 (exit $ac_status); }; }; then
3947 ac_header_compiler=yes
3949 echo "$as_me: failed program was:" >&5
3950 sed 's/^/| /' conftest.$ac_ext >&5
3952 ac_header_compiler=no
3954 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
3955 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
3956 echo "${ECHO_T}$ac_header_compiler" >&6
3958 # Is the header present?
3959 echo "$as_me:$LINENO: checking $ac_header presence" >&5
3960 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
3961 cat >conftest.$ac_ext <<_ACEOF
3964 cat confdefs.h >>conftest.$ac_ext
3965 cat >>conftest.$ac_ext <<_ACEOF
3966 /* end confdefs.h. */
3967 #include <$ac_header>
3969 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
3970 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
3972 grep -v '^ *+' conftest.er1 >conftest.err
3974 cat conftest.err >&5
3975 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3976 (exit $ac_status); } >/dev/null; then
3977 if test -s conftest.err; then
3978 ac_cpp_err=$ac_c_preproc_warn_flag
3979 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
3986 if test -z "$ac_cpp_err"; then
3987 ac_header_preproc=yes
3989 echo "$as_me: failed program was:" >&5
3990 sed 's/^/| /' conftest.$ac_ext >&5
3992 ac_header_preproc=no
3994 rm -f conftest.err conftest.$ac_ext
3995 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
3996 echo "${ECHO_T}$ac_header_preproc" >&6
3998 # So? What about this header?
3999 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
4001 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
4002 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
4003 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
4004 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
4005 ac_header_preproc=yes
4008 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
4009 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
4010 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
4011 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
4012 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
4013 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
4014 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
4015 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
4016 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
4017 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
4018 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
4019 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
4022 ## -------------------------------- ##
4023 ## Report this to classpath@gnu.org ##
4024 ## -------------------------------- ##
4027 sed "s/^/$as_me: WARNING: /" >&2
4030 echo "$as_me:$LINENO: checking for $ac_header" >&5
4031 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
4032 if eval "test \"\${$as_ac_Header+set}\" = set"; then
4033 echo $ECHO_N "(cached) $ECHO_C" >&6
4035 eval "$as_ac_Header=\$ac_header_preproc"
4037 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
4038 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
4041 if test `eval echo '${'$as_ac_Header'}'` = yes; then
4042 cat >>confdefs.h <<_ACEOF
4043 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
4045 echo "$as_me:$LINENO: checking for snd_seq_open in -lasound" >&5
4046 echo $ECHO_N "checking for snd_seq_open in -lasound... $ECHO_C" >&6
4047 if test "${ac_cv_lib_asound_snd_seq_open+set}" = set; then
4048 echo $ECHO_N "(cached) $ECHO_C" >&6
4050 ac_check_lib_save_LIBS=$LIBS
4051 LIBS="-lasound $LIBS"
4052 if test x$gcc_no_link = xyes; then
4053 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
4054 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
4055 { (exit 1); exit 1; }; }
4057 cat >conftest.$ac_ext <<_ACEOF
4060 cat confdefs.h >>conftest.$ac_ext
4061 cat >>conftest.$ac_ext <<_ACEOF
4062 /* end confdefs.h. */
4064 /* Override any gcc2 internal prototype to avoid an error. */
4068 /* We use char because int might match the return type of a gcc2
4069 builtin and then its argument prototype would still apply. */
4070 char snd_seq_open ();
4079 rm -f conftest.$ac_objext conftest$ac_exeext
4080 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
4081 (eval $ac_link) 2>conftest.er1
4083 grep -v '^ *+' conftest.er1 >conftest.err
4085 cat conftest.err >&5
4086 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4087 (exit $ac_status); } &&
4088 { ac_try='test -z "$ac_c_werror_flag"
4089 || test ! -s conftest.err'
4090 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4093 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4094 (exit $ac_status); }; } &&
4095 { ac_try='test -s conftest$ac_exeext'
4096 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4099 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4100 (exit $ac_status); }; }; then
4101 ac_cv_lib_asound_snd_seq_open=yes
4103 echo "$as_me: failed program was:" >&5
4104 sed 's/^/| /' conftest.$ac_ext >&5
4106 ac_cv_lib_asound_snd_seq_open=no
4108 rm -f conftest.err conftest.$ac_objext \
4109 conftest$ac_exeext conftest.$ac_ext
4110 LIBS=$ac_check_lib_save_LIBS
4112 echo "$as_me:$LINENO: result: $ac_cv_lib_asound_snd_seq_open" >&5
4113 echo "${ECHO_T}$ac_cv_lib_asound_snd_seq_open" >&6
4114 if test $ac_cv_lib_asound_snd_seq_open = yes; then
4129 if test "x${COMPILE_ALSA}" = xyes; then
4130 CREATE_ALSA_LIBRARIES_TRUE=
4131 CREATE_ALSA_LIBRARIES_FALSE='#'
4133 CREATE_ALSA_LIBRARIES_TRUE='#'
4134 CREATE_ALSA_LIBRARIES_FALSE=
4138 # Check whether --enable-dssi or --disable-dssi was given.
4139 if test "${enable_dssi+set}" = set; then
4140 enableval="$enable_dssi"
4141 case "${enableval}" in
4142 yes) COMPILE_DSSI=yes ;;
4143 no) COMPILE_DSSI=no ;;
4144 *) COMPILE_DSSI=yes ;;
4148 for ac_header in dssi.h
4150 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
4151 if eval "test \"\${$as_ac_Header+set}\" = set"; then
4152 echo "$as_me:$LINENO: checking for $ac_header" >&5
4153 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
4154 if eval "test \"\${$as_ac_Header+set}\" = set"; then
4155 echo $ECHO_N "(cached) $ECHO_C" >&6
4157 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
4158 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
4160 # Is the header compilable?
4161 echo "$as_me:$LINENO: checking $ac_header usability" >&5
4162 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
4163 cat >conftest.$ac_ext <<_ACEOF
4166 cat confdefs.h >>conftest.$ac_ext
4167 cat >>conftest.$ac_ext <<_ACEOF
4168 /* end confdefs.h. */
4169 $ac_includes_default
4170 #include <$ac_header>
4172 rm -f conftest.$ac_objext
4173 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4174 (eval $ac_compile) 2>conftest.er1
4176 grep -v '^ *+' conftest.er1 >conftest.err
4178 cat conftest.err >&5
4179 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4180 (exit $ac_status); } &&
4181 { ac_try='test -z "$ac_c_werror_flag"
4182 || test ! -s conftest.err'
4183 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4186 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4187 (exit $ac_status); }; } &&
4188 { ac_try='test -s conftest.$ac_objext'
4189 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4192 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4193 (exit $ac_status); }; }; then
4194 ac_header_compiler=yes
4196 echo "$as_me: failed program was:" >&5
4197 sed 's/^/| /' conftest.$ac_ext >&5
4199 ac_header_compiler=no
4201 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
4202 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
4203 echo "${ECHO_T}$ac_header_compiler" >&6
4205 # Is the header present?
4206 echo "$as_me:$LINENO: checking $ac_header presence" >&5
4207 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
4208 cat >conftest.$ac_ext <<_ACEOF
4211 cat confdefs.h >>conftest.$ac_ext
4212 cat >>conftest.$ac_ext <<_ACEOF
4213 /* end confdefs.h. */
4214 #include <$ac_header>
4216 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
4217 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
4219 grep -v '^ *+' conftest.er1 >conftest.err
4221 cat conftest.err >&5
4222 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4223 (exit $ac_status); } >/dev/null; then
4224 if test -s conftest.err; then
4225 ac_cpp_err=$ac_c_preproc_warn_flag
4226 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
4233 if test -z "$ac_cpp_err"; then
4234 ac_header_preproc=yes
4236 echo "$as_me: failed program was:" >&5
4237 sed 's/^/| /' conftest.$ac_ext >&5
4239 ac_header_preproc=no
4241 rm -f conftest.err conftest.$ac_ext
4242 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
4243 echo "${ECHO_T}$ac_header_preproc" >&6
4245 # So? What about this header?
4246 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
4248 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
4249 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
4250 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
4251 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
4252 ac_header_preproc=yes
4255 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
4256 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
4257 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
4258 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
4259 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
4260 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
4261 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
4262 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
4263 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
4264 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
4265 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
4266 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
4269 ## -------------------------------- ##
4270 ## Report this to classpath@gnu.org ##
4271 ## -------------------------------- ##
4274 sed "s/^/$as_me: WARNING: /" >&2
4277 echo "$as_me:$LINENO: checking for $ac_header" >&5
4278 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
4279 if eval "test \"\${$as_ac_Header+set}\" = set"; then
4280 echo $ECHO_N "(cached) $ECHO_C" >&6
4282 eval "$as_ac_Header=\$ac_header_preproc"
4284 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
4285 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
4288 if test `eval echo '${'$as_ac_Header'}'` = yes; then
4289 cat >>confdefs.h <<_ACEOF
4290 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
4302 if test "x${COMPILE_DSSI}" = xyes; then
4303 CREATE_DSSI_LIBRARIES_TRUE=
4304 CREATE_DSSI_LIBRARIES_FALSE='#'
4306 CREATE_DSSI_LIBRARIES_TRUE='#'
4307 CREATE_DSSI_LIBRARIES_FALSE=
4311 # Check whether --enable-gtk-peer or --disable-gtk-peer was given.
4312 if test "${enable_gtk_peer+set}" = set; then
4313 enableval="$enable_gtk_peer"
4314 case "${enableval}" in
4315 yes) COMPILE_GTK_PEER=yes ;;
4316 no) COMPILE_GTK_PEER=no ;;
4317 *) COMPILE_GTK_PEER=yes ;;
4320 COMPILE_GTK_PEER=yes
4324 if test "x${COMPILE_GTK_PEER}" = xyes; then
4325 CREATE_GTK_PEER_LIBRARIES_TRUE=
4326 CREATE_GTK_PEER_LIBRARIES_FALSE='#'
4328 CREATE_GTK_PEER_LIBRARIES_TRUE='#'
4329 CREATE_GTK_PEER_LIBRARIES_FALSE=
4333 # Check whether --enable-gtk-peers or --disable-gtk-peers was given.
4334 if test "${enable_gtk_peers+set}" = set; then
4335 enableval="$enable_gtk_peers"
4336 { { echo "$as_me:$LINENO: error: No --enable-gtk-peers (or --disable-gtk-peers) option; you want --enable-gtk-peer" >&5
4337 echo "$as_me: error: No --enable-gtk-peers (or --disable-gtk-peers) option; you want --enable-gtk-peer" >&2;}
4338 { (exit 1); exit 1; }; }
4341 # Check whether --enable-qt-peer or --disable-qt-peer was given.
4342 if test "${enable_qt_peer+set}" = set; then
4343 enableval="$enable_qt_peer"
4344 case "${enableval}" in
4345 yes) COMPILE_QT_PEER=yes ;;
4346 no) COMPILE_QT_PEER=no ;;
4347 *) COMPILE_QT_PEER=yes ;;
4354 if test "x${COMPILE_QT_PEER}" = xyes; then
4355 CREATE_QT_PEER_LIBRARIES_TRUE=
4356 CREATE_QT_PEER_LIBRARIES_FALSE='#'
4358 CREATE_QT_PEER_LIBRARIES_TRUE='#'
4359 CREATE_QT_PEER_LIBRARIES_FALSE=
4363 # Check whether --enable-plugin or --disable-plugin was given.
4364 if test "${enable_plugin+set}" = set; then
4365 enableval="$enable_plugin"
4366 case "${enableval}" in
4367 yes) COMPILE_PLUGIN=yes ;;
4368 no) COMPILE_PLUGIN=no ;;
4369 *) COMPILE_PLUGIN=yes ;;
4376 if test "x${COMPILE_PLUGIN}" = xyes; then
4378 CREATE_PLUGIN_FALSE='#'
4380 CREATE_PLUGIN_TRUE='#'
4381 CREATE_PLUGIN_FALSE=
4386 multi_os_directory=`$CC -print-multi-os-directory`
4387 case $multi_os_directory in
4388 .) toolexeclibdir=${libdir} ;; # Avoid trailing /.
4389 *) toolexeclibdir=${libdir}/${multi_os_directory} ;;
4395 # Check whether --with-native-libdir or --without-native-libdir was given.
4396 if test "${with_native_libdir+set}" = set; then
4397 withval="$with_native_libdir"
4399 nativeexeclibdir=${withval}
4403 nativeexeclibdir='${toolexeclibdir}/gcj-'`cat ${srcdir}/../../gcc/BASE-VER`
4410 # Check whether --with-glibj-dir or --without-glibj-dir was given.
4411 if test "${with_glibj_dir+set}" = set; then
4412 withval="$with_glibj_dir"
4418 glibjdir='${datadir}/${PACKAGE}'
4425 # Check whether --with-vm or --without-vm was given.
4426 if test "${with_vm+set}" = set; then
4429 VM_BINARY=${withval}
4433 VM_BINARY='${prefix}/bin/jamvm'
4440 if test "x`basename $VM_BINARY`" = xcacao; then
4442 FOUND_CACAO_FALSE='#'
4444 FOUND_CACAO_TRUE='#'
4449 # Check whether --enable-regen-headers or --disable-regen-headers was given.
4450 if test "${enable_regen_headers+set}" = set; then
4451 enableval="$enable_regen_headers"
4452 case "${enableval}" in
4453 yes) REGENERATE_JNI_HEADERS=yes ;;
4454 no) REGENERATE_JNI_HEADERS=no ;;
4455 *) REGENERATE_JNI_HEADERS=no ;;
4458 REGENERATE_JNI_HEADERS=no
4462 if test "x${REGENERATE_JNI_HEADERS}" = xyes; then
4463 CREATE_JNI_HEADERS_TRUE=
4464 CREATE_JNI_HEADERS_FALSE='#'
4466 CREATE_JNI_HEADERS_TRUE='#'
4467 CREATE_JNI_HEADERS_FALSE=
4471 # Check whether --enable-tool-wrappers or --disable-tool-wrappers was given.
4472 if test "${enable_tool_wrappers+set}" = set; then
4473 enableval="$enable_tool_wrappers"
4474 case x"${enableval}" in
4476 COMPILE_WRAPPERS=yes;
4478 for ac_header in ltdl.h
4480 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
4481 if eval "test \"\${$as_ac_Header+set}\" = set"; then
4482 echo "$as_me:$LINENO: checking for $ac_header" >&5
4483 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
4484 if eval "test \"\${$as_ac_Header+set}\" = set"; then
4485 echo $ECHO_N "(cached) $ECHO_C" >&6
4487 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
4488 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
4490 # Is the header compilable?
4491 echo "$as_me:$LINENO: checking $ac_header usability" >&5
4492 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
4493 cat >conftest.$ac_ext <<_ACEOF
4496 cat confdefs.h >>conftest.$ac_ext
4497 cat >>conftest.$ac_ext <<_ACEOF
4498 /* end confdefs.h. */
4499 $ac_includes_default
4500 #include <$ac_header>
4502 rm -f conftest.$ac_objext
4503 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4504 (eval $ac_compile) 2>conftest.er1
4506 grep -v '^ *+' conftest.er1 >conftest.err
4508 cat conftest.err >&5
4509 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4510 (exit $ac_status); } &&
4511 { ac_try='test -z "$ac_c_werror_flag"
4512 || test ! -s conftest.err'
4513 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4516 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4517 (exit $ac_status); }; } &&
4518 { ac_try='test -s conftest.$ac_objext'
4519 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4522 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4523 (exit $ac_status); }; }; then
4524 ac_header_compiler=yes
4526 echo "$as_me: failed program was:" >&5
4527 sed 's/^/| /' conftest.$ac_ext >&5
4529 ac_header_compiler=no
4531 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
4532 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
4533 echo "${ECHO_T}$ac_header_compiler" >&6
4535 # Is the header present?
4536 echo "$as_me:$LINENO: checking $ac_header presence" >&5
4537 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
4538 cat >conftest.$ac_ext <<_ACEOF
4541 cat confdefs.h >>conftest.$ac_ext
4542 cat >>conftest.$ac_ext <<_ACEOF
4543 /* end confdefs.h. */
4544 #include <$ac_header>
4546 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
4547 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
4549 grep -v '^ *+' conftest.er1 >conftest.err
4551 cat conftest.err >&5
4552 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4553 (exit $ac_status); } >/dev/null; then
4554 if test -s conftest.err; then
4555 ac_cpp_err=$ac_c_preproc_warn_flag
4556 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
4563 if test -z "$ac_cpp_err"; then
4564 ac_header_preproc=yes
4566 echo "$as_me: failed program was:" >&5
4567 sed 's/^/| /' conftest.$ac_ext >&5
4569 ac_header_preproc=no
4571 rm -f conftest.err conftest.$ac_ext
4572 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
4573 echo "${ECHO_T}$ac_header_preproc" >&6
4575 # So? What about this header?
4576 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
4578 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
4579 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
4580 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
4581 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
4582 ac_header_preproc=yes
4585 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
4586 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
4587 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
4588 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
4589 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
4590 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
4591 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
4592 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
4593 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
4594 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
4595 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
4596 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
4599 ## -------------------------------- ##
4600 ## Report this to classpath@gnu.org ##
4601 ## -------------------------------- ##
4604 sed "s/^/$as_me: WARNING: /" >&2
4607 echo "$as_me:$LINENO: checking for $ac_header" >&5
4608 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
4609 if eval "test \"\${$as_ac_Header+set}\" = set"; then
4610 echo $ECHO_N "(cached) $ECHO_C" >&6
4612 eval "$as_ac_Header=\$ac_header_preproc"
4614 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
4615 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
4618 if test `eval echo '${'$as_ac_Header'}'` = yes; then
4619 cat >>confdefs.h <<_ACEOF
4620 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
4624 { { echo "$as_me:$LINENO: error: cannot find ltdl.h" >&5
4625 echo "$as_me: error: cannot find ltdl.h" >&2;}
4626 { (exit 1); exit 1; }; }
4632 echo "$as_me:$LINENO: checking for lt_dlopen in -lltdl" >&5
4633 echo $ECHO_N "checking for lt_dlopen in -lltdl... $ECHO_C" >&6
4634 if test "${ac_cv_lib_ltdl_lt_dlopen+set}" = set; then
4635 echo $ECHO_N "(cached) $ECHO_C" >&6
4637 ac_check_lib_save_LIBS=$LIBS
4639 if test x$gcc_no_link = xyes; then
4640 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
4641 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
4642 { (exit 1); exit 1; }; }
4644 cat >conftest.$ac_ext <<_ACEOF
4647 cat confdefs.h >>conftest.$ac_ext
4648 cat >>conftest.$ac_ext <<_ACEOF
4649 /* end confdefs.h. */
4651 /* Override any gcc2 internal prototype to avoid an error. */
4655 /* We use char because int might match the return type of a gcc2
4656 builtin and then its argument prototype would still apply. */
4666 rm -f conftest.$ac_objext conftest$ac_exeext
4667 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
4668 (eval $ac_link) 2>conftest.er1
4670 grep -v '^ *+' conftest.er1 >conftest.err
4672 cat conftest.err >&5
4673 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4674 (exit $ac_status); } &&
4675 { ac_try='test -z "$ac_c_werror_flag"
4676 || test ! -s conftest.err'
4677 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4680 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4681 (exit $ac_status); }; } &&
4682 { ac_try='test -s conftest$ac_exeext'
4683 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4686 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4687 (exit $ac_status); }; }; then
4688 ac_cv_lib_ltdl_lt_dlopen=yes
4690 echo "$as_me: failed program was:" >&5
4691 sed 's/^/| /' conftest.$ac_ext >&5
4693 ac_cv_lib_ltdl_lt_dlopen=no
4695 rm -f conftest.err conftest.$ac_objext \
4696 conftest$ac_exeext conftest.$ac_ext
4697 LIBS=$ac_check_lib_save_LIBS
4699 echo "$as_me:$LINENO: result: $ac_cv_lib_ltdl_lt_dlopen" >&5
4700 echo "${ECHO_T}$ac_cv_lib_ltdl_lt_dlopen" >&6
4701 if test $ac_cv_lib_ltdl_lt_dlopen = yes; then
4702 cat >>confdefs.h <<_ACEOF
4703 #define HAVE_LIBLTDL 1
4709 { { echo "$as_me:$LINENO: error: cannot find libltdl" >&5
4710 echo "$as_me: error: cannot find libltdl" >&2;}
4711 { (exit 1); exit 1; }; }
4715 xno) COMPILE_WRAPPERS=no ;;
4716 x) COMPILE_WRAPPERS=yes ;;
4717 *) COMPILE_WRAPPERS=yes ;;
4724 if test "x${COMPILE_WRAPPERS}" = xyes; then
4725 CREATE_WRAPPERS_TRUE=
4726 CREATE_WRAPPERS_FALSE='#'
4728 CREATE_WRAPPERS_TRUE='#'
4729 CREATE_WRAPPERS_FALSE=
4733 echo "$as_me:$LINENO: checking whether ln -s works" >&5
4734 echo $ECHO_N "checking whether ln -s works... $ECHO_C" >&6
4736 if test "$LN_S" = "ln -s"; then
4737 echo "$as_me:$LINENO: result: yes" >&5
4738 echo "${ECHO_T}yes" >&6
4740 echo "$as_me:$LINENO: result: no, using $LN_S" >&5
4741 echo "${ECHO_T}no, using $LN_S" >&6
4744 # Find a good install program. We prefer a C program (faster),
4745 # so one script is as good as another. But avoid the broken or
4746 # incompatible versions:
4747 # SysV /etc/install, /usr/sbin/install
4748 # SunOS /usr/etc/install
4749 # IRIX /sbin/install
4751 # AmigaOS /C/install, which installs bootblocks on floppy discs
4752 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
4753 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
4754 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
4755 # OS/2's system install, which has a completely different semantic
4756 # ./install, which can be erroneously created by make from ./install.sh.
4757 echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
4758 echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6
4759 if test -z "$INSTALL"; then
4760 if test "${ac_cv_path_install+set}" = set; then
4761 echo $ECHO_N "(cached) $ECHO_C" >&6
4763 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4767 test -z "$as_dir" && as_dir=.
4768 # Account for people who put trailing slashes in PATH elements.
4770 ./ | .// | /cC/* | \
4771 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
4772 ?:\\/os2\\/install\\/* | ?:\\/OS2\\/INSTALL\\/* | \
4775 # OSF1 and SCO ODT 3.0 have their own names for install.
4776 # Don't use installbsd from OSF since it installs stuff as root
4778 for ac_prog in ginstall scoinst install; do
4779 for ac_exec_ext in '' $ac_executable_extensions; do
4780 if $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
4781 if test $ac_prog = install &&
4782 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
4783 # AIX install. It has an incompatible calling convention.
4785 elif test $ac_prog = install &&
4786 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
4787 # program-specific install script used by HP pwplus--don't use.
4790 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
4802 if test "${ac_cv_path_install+set}" = set; then
4803 INSTALL=$ac_cv_path_install
4805 # As a last resort, use the slow shell script. We don't cache a
4806 # path for INSTALL within a source directory, because that will
4807 # break other packages using the cache if that directory is
4808 # removed, or if the path is relative.
4809 INSTALL=$ac_install_sh
4812 echo "$as_me:$LINENO: result: $INSTALL" >&5
4813 echo "${ECHO_T}$INSTALL" >&6
4815 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
4816 # It thinks the first close brace ends the variable substitution.
4817 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
4819 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
4821 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
4825 # Check whether --enable-static or --disable-static was given.
4826 if test "${enable_static+set}" = set; then
4827 enableval="$enable_static"
4828 p=${PACKAGE-default}
4830 yes) enable_static=yes ;;
4831 no) enable_static=no ;;
4834 # Look at the argument we got. We use all the common list separators.
4835 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}:,"
4836 for pkg in $enableval; do
4837 if test "X$pkg" = "X$p"; then
4847 # Check whether --enable-shared or --disable-shared was given.
4848 if test "${enable_shared+set}" = set; then
4849 enableval="$enable_shared"
4850 p=${PACKAGE-default}
4852 yes) enable_shared=yes ;;
4853 no) enable_shared=no ;;
4856 # Look at the argument we got. We use all the common list separators.
4857 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}:,"
4858 for pkg in $enableval; do
4859 if test "X$pkg" = "X$p"; then
4869 # Check whether --enable-fast-install or --disable-fast-install was given.
4870 if test "${enable_fast_install+set}" = set; then
4871 enableval="$enable_fast_install"
4872 p=${PACKAGE-default}
4874 yes) enable_fast_install=yes ;;
4875 no) enable_fast_install=no ;;
4877 enable_fast_install=no
4878 # Look at the argument we got. We use all the common list separators.
4879 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}:,"
4880 for pkg in $enableval; do
4881 if test "X$pkg" = "X$p"; then
4882 enable_fast_install=yes
4889 enable_fast_install=yes
4892 # Check whether --with-gnu-ld or --without-gnu-ld was given.
4893 if test "${with_gnu_ld+set}" = set; then
4894 withval="$with_gnu_ld"
4895 test "$withval" = no || with_gnu_ld=yes
4900 if test "$GCC" = yes; then
4901 # Check if gcc -print-prog-name=ld gives a path.
4902 echo "$as_me:$LINENO: checking for ld used by GCC" >&5
4903 echo $ECHO_N "checking for ld used by GCC... $ECHO_C" >&6
4906 # gcc leaves a trailing carriage return which upsets mingw
4907 ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
4909 ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
4912 # Accept absolute paths.
4913 [\\/]* | [A-Za-z]:[\\/]*)
4914 re_direlt='/[^/][^/]*/\.\./'
4915 # Canonicalize the path of ld
4916 ac_prog=`echo $ac_prog| sed 's%\\\\%/%g'`
4917 while echo $ac_prog | grep "$re_direlt" > /dev/null 2>&1; do
4918 ac_prog=`echo $ac_prog| sed "s%$re_direlt%/%"`
4920 test -z "$LD" && LD="$ac_prog"
4923 # If it fails, then pretend we aren't using GCC.
4927 # If it is relative, then search for the first ld in PATH.
4931 elif test "$with_gnu_ld" = yes; then
4932 echo "$as_me:$LINENO: checking for GNU ld" >&5
4933 echo $ECHO_N "checking for GNU ld... $ECHO_C" >&6
4935 echo "$as_me:$LINENO: checking for non-GNU ld" >&5
4936 echo $ECHO_N "checking for non-GNU ld... $ECHO_C" >&6
4938 if test "${lt_cv_path_LD+set}" = set; then
4939 echo $ECHO_N "(cached) $ECHO_C" >&6
4941 if test -z "$LD"; then
4942 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}${PATH_SEPARATOR-:}"
4943 for ac_dir in $PATH; do
4944 test -z "$ac_dir" && ac_dir=.
4945 if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
4946 lt_cv_path_LD="$ac_dir/$ac_prog"
4947 # Check to see if the program is GNU ld. I'd rather use --version,
4948 # but apparently some GNU ld's only accept -v.
4949 # Break only if it was the GNU/non-GNU ld that we prefer.
4950 if "$lt_cv_path_LD" -v 2>&1 < /dev/null | egrep '(GNU|with BFD)' > /dev/null; then
4951 test "$with_gnu_ld" != no && break
4953 test "$with_gnu_ld" != yes && break
4959 lt_cv_path_LD="$LD" # Let the user override the test with a path.
4964 if test -n "$LD"; then
4965 echo "$as_me:$LINENO: result: $LD" >&5
4966 echo "${ECHO_T}$LD" >&6
4968 echo "$as_me:$LINENO: result: no" >&5
4969 echo "${ECHO_T}no" >&6
4971 test -z "$LD" && { { echo "$as_me:$LINENO: error: no acceptable ld found in \$PATH" >&5
4972 echo "$as_me: error: no acceptable ld found in \$PATH" >&2;}
4973 { (exit 1); exit 1; }; }
4974 echo "$as_me:$LINENO: checking if the linker ($LD) is GNU ld" >&5
4975 echo $ECHO_N "checking if the linker ($LD) is GNU ld... $ECHO_C" >&6
4976 if test "${lt_cv_prog_gnu_ld+set}" = set; then
4977 echo $ECHO_N "(cached) $ECHO_C" >&6
4979 # I'd rather use --version here, but apparently some GNU ld's only accept -v.
4980 if $LD -v 2>&1 </dev/null | egrep '(GNU|with BFD)' 1>&5; then
4981 lt_cv_prog_gnu_ld=yes
4983 lt_cv_prog_gnu_ld=no
4986 echo "$as_me:$LINENO: result: $lt_cv_prog_gnu_ld" >&5
4987 echo "${ECHO_T}$lt_cv_prog_gnu_ld" >&6
4988 with_gnu_ld=$lt_cv_prog_gnu_ld
4991 echo "$as_me:$LINENO: checking for $LD option to reload object files" >&5
4992 echo $ECHO_N "checking for $LD option to reload object files... $ECHO_C" >&6
4993 if test "${lt_cv_ld_reload_flag+set}" = set; then
4994 echo $ECHO_N "(cached) $ECHO_C" >&6
4996 lt_cv_ld_reload_flag='-r'
4998 echo "$as_me:$LINENO: result: $lt_cv_ld_reload_flag" >&5
4999 echo "${ECHO_T}$lt_cv_ld_reload_flag" >&6
5000 reload_flag=$lt_cv_ld_reload_flag
5001 test -n "$reload_flag" && reload_flag=" $reload_flag"
5003 echo "$as_me:$LINENO: checking for BSD-compatible nm" >&5
5004 echo $ECHO_N "checking for BSD-compatible nm... $ECHO_C" >&6
5005 if test "${lt_cv_path_NM+set}" = set; then
5006 echo $ECHO_N "(cached) $ECHO_C" >&6
5008 if test -n "$NM"; then
5009 # Let the user override the test.
5012 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}${PATH_SEPARATOR-:}"
5013 for ac_dir in $PATH /usr/ccs/bin /usr/ucb /bin; do
5014 test -z "$ac_dir" && ac_dir=.
5015 tmp_nm=$ac_dir/${ac_tool_prefix}nm
5016 if test -f $tmp_nm || test -f $tmp_nm$ac_exeext ; then
5017 # Check to see if the nm accepts a BSD-compat flag.
5018 # Adding the `sed 1q' prevents false positives on HP-UX, which says:
5019 # nm: unknown option "B" ignored
5020 # Tru64's nm complains that /dev/null is an invalid object file
5021 if ($tmp_nm -B /dev/null 2>&1 | sed '1q'; exit 0) | egrep '(/dev/null|Invalid file or object type)' >/dev/null; then
5022 lt_cv_path_NM="$tmp_nm -B"
5024 elif ($tmp_nm -p /dev/null 2>&1 | sed '1q'; exit 0) | egrep /dev/null >/dev/null; then
5025 lt_cv_path_NM="$tmp_nm -p"
5028 lt_cv_path_NM=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but
5029 continue # so that we can try to find one that supports BSD flags
5034 test -z "$lt_cv_path_NM" && lt_cv_path_NM=nm
5039 echo "$as_me:$LINENO: result: $NM" >&5
5040 echo "${ECHO_T}$NM" >&6
5042 echo "$as_me:$LINENO: checking how to recognise dependant libraries" >&5
5043 echo $ECHO_N "checking how to recognise dependant libraries... $ECHO_C" >&6
5044 if test "${lt_cv_deplibs_check_method+set}" = set; then
5045 echo $ECHO_N "(cached) $ECHO_C" >&6
5047 lt_cv_file_magic_cmd='$MAGIC_CMD'
5048 lt_cv_file_magic_test_file=
5049 lt_cv_deplibs_check_method='unknown'
5050 # Need to set the preceding variable on all platforms that support
5051 # interlibrary dependencies.
5052 # 'none' -- dependencies not supported.
5053 # `unknown' -- same as none, but documents that we really don't know.
5054 # 'pass_all' -- all dependencies passed with no checks.
5055 # 'test_compile' -- check by making test program.
5056 # 'file_magic [regex]' -- check by looking for files in library path
5057 # which responds to the $file_magic_cmd with a given egrep regex.
5058 # If you have `file' or equivalent on your system and you're not sure
5059 # whether `pass_all' will *always* work, you probably want this one.
5063 lt_cv_deplibs_check_method=pass_all
5067 lt_cv_deplibs_check_method=pass_all
5071 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib)'
5072 lt_cv_file_magic_cmd='/usr/bin/file -L'
5073 lt_cv_file_magic_test_file=/shlib/libc.so
5076 cygwin* | mingw* |pw32*)
5077 lt_cv_deplibs_check_method='file_magic file format pei*-i386(.*architecture: i386)?'
5078 lt_cv_file_magic_cmd='$OBJDUMP -f'
5081 darwin* | rhapsody*)
5082 # this will be overwritten by pass_all, but leave it in just in case
5083 lt_cv_deplibs_check_method='file_magic Mach-O dynamically linked shared library'
5084 lt_cv_file_magic_cmd='/usr/bin/file -L'
5086 rhapsody* | darwin1.012)
5087 lt_cv_file_magic_test_file='/System/Library/Frameworks/System.framework/System'
5090 lt_cv_file_magic_test_file='/usr/lib/libSystem.dylib'
5093 lt_cv_deplibs_check_method=pass_all
5096 freebsd* | kfreebsd*-gnu)
5097 if echo __ELF__ | $CC -E - | grep __ELF__ > /dev/null; then
5100 # Not sure whether the presence of OpenBSD here was a mistake.
5101 # Let's accept both of them until this is cleared up.
5102 lt_cv_deplibs_check_method='file_magic (FreeBSD|OpenBSD)/i[3-9]86 (compact )?demand paged shared library'
5103 lt_cv_file_magic_cmd=/usr/bin/file
5104 lt_cv_file_magic_test_file=`echo /usr/lib/libc.so.*`
5108 lt_cv_deplibs_check_method=pass_all
5113 lt_cv_deplibs_check_method=pass_all
5119 lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9].[0-9]) shared library'
5120 lt_cv_file_magic_cmd=/usr/bin/file
5121 lt_cv_file_magic_test_file=/usr/lib/libc.sl
5124 lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - IA64'
5125 lt_cv_file_magic_cmd=/usr/bin/file
5126 lt_cv_file_magic_test_file=/usr/lib/hpux32/libc.so
5134 # this will be overridden with pass_all, but let us keep it just in case
5135 lt_cv_deplibs_check_method="file_magic ELF 32-bit MSB dynamic lib MIPS - version 1"
5139 *-32|*"-32 ") libmagic=32-bit;;
5140 *-n32|*"-n32 ") libmagic=N32;;
5141 *-64|*"-64 ") libmagic=64-bit;;
5142 *) libmagic=never-match;;
5144 # this will be overridden with pass_all, but let us keep it just in case
5145 lt_cv_deplibs_check_method="file_magic ELF ${libmagic} MSB mips-[1234] dynamic lib MIPS - version 1"
5148 lt_cv_file_magic_test_file=`echo /lib${libsuff}/libc.so*`
5149 lt_cv_deplibs_check_method=pass_all
5152 # This must be Linux ELF.
5154 lt_cv_deplibs_check_method=pass_all
5157 netbsd* | knetbsd*-gnu)
5158 if echo __ELF__ | $CC -E - | grep __ELF__ > /dev/null; then
5159 lt_cv_deplibs_check_method='match_pattern /lib[^/\.]+\.so\.[0-9]+\.[0-9]+$'
5161 lt_cv_deplibs_check_method='match_pattern /lib[^/\.]+\.so$'
5166 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (executable|dynamic lib)'
5167 lt_cv_file_magic_cmd=/usr/bin/file
5168 lt_cv_file_magic_test_file=/usr/lib/libnls.so
5171 osf3* | osf4* | osf5*)
5172 # this will be overridden with pass_all, but let us keep it just in case
5173 lt_cv_deplibs_check_method='file_magic COFF format alpha shared library'
5174 lt_cv_file_magic_test_file=/shlib/libc.so
5175 lt_cv_deplibs_check_method=pass_all
5179 lt_cv_deplibs_check_method=pass_all
5183 lt_cv_deplibs_check_method=pass_all
5184 lt_cv_file_magic_test_file=/lib/libc.so
5187 sysv5uw[78]* | sysv4*uw2*)
5188 lt_cv_deplibs_check_method=pass_all
5191 sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)
5192 case $host_vendor in
5194 lt_cv_deplibs_check_method=pass_all
5197 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]'
5198 lt_cv_file_magic_test_file=`echo /usr/lib/libc.so*`
5205 echo "$as_me:$LINENO: result: $lt_cv_deplibs_check_method" >&5
5206 echo "${ECHO_T}$lt_cv_deplibs_check_method" >&6
5207 file_magic_cmd=$lt_cv_file_magic_cmd
5208 deplibs_check_method=$lt_cv_deplibs_check_method
5213 # Autoconf 2.13's AC_OBJEXT and AC_EXEEXT macros only works for C compilers!
5215 # find the maximum length of command line arguments
5216 echo "$as_me:$LINENO: checking the maximum length of command line arguments" >&5
5217 echo $ECHO_N "checking the maximum length of command line arguments... $ECHO_C" >&6
5218 if test "${lt_cv_sys_max_cmd_len+set}" = set; then
5219 echo $ECHO_N "(cached) $ECHO_C" >&6
5226 # On DJGPP, this test can blow up pretty badly due to problems in libc
5227 # (any single argument exceeding 2000 bytes causes a buffer overrun
5228 # during glob expansion). Even if it were fixed, the result of this
5229 # check would be larger than it should be.
5230 lt_cv_sys_max_cmd_len=12288; # 12K is about right
5234 # On Win9x/ME, this test blows up -- it succeeds, but takes
5235 # about 5 minutes as the teststring grows exponentially.
5236 # Worse, since 9x/ME are not pre-emptively multitasking,
5237 # you end up with a "frozen" computer, even though with patience
5238 # the test eventually succeeds (with a max line length of 256k).
5239 # Instead, let's just punt: use the minimum linelength reported by
5240 # all of the supported platforms: 8192 (on NT/2K/XP).
5241 lt_cv_sys_max_cmd_len=8192;
5245 # On AmigaOS with pdksh, this test takes hours, literally.
5246 # So we just punt and use a minimum line length of 8192.
5247 lt_cv_sys_max_cmd_len=8192;
5250 netbsd* | freebsd* | openbsd* | darwin* | dragonfly*)
5251 # This has been around since 386BSD, at least. Likely further.
5252 if test -x /sbin/sysctl; then
5253 lt_cv_sys_max_cmd_len=`/sbin/sysctl -n kern.argmax`
5254 elif test -x /usr/sbin/sysctl; then
5255 lt_cv_sys_max_cmd_len=`/usr/sbin/sysctl -n kern.argmax`
5257 lt_cv_sys_max_cmd_len=65536 # usable default for *BSD
5259 # And add a safety zone
5260 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
5261 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
5267 if test -n "$lt_cv_sys_max_cmd_len" ; then
5268 echo "$as_me:$LINENO: result: $lt_cv_sys_max_cmd_len" >&5
5269 echo "${ECHO_T}$lt_cv_sys_max_cmd_len" >&6
5271 echo "$as_me:$LINENO: result: none" >&5
5272 echo "${ECHO_T}none" >&6
5276 # Only perform the check for file, if the check method requires it
5277 case $deplibs_check_method in
5279 if test "$file_magic_cmd" = '$MAGIC_CMD'; then
5280 echo "$as_me:$LINENO: checking for ${ac_tool_prefix}file" >&5
5281 echo $ECHO_N "checking for ${ac_tool_prefix}file... $ECHO_C" >&6
5282 if test "${lt_cv_path_MAGIC_CMD+set}" = set; then
5283 echo $ECHO_N "(cached) $ECHO_C" >&6
5287 lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
5290 lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a dos path.
5293 ac_save_MAGIC_CMD="$MAGIC_CMD"
5294 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":"
5295 ac_dummy="/usr/bin:$PATH"
5296 for ac_dir in $ac_dummy; do
5297 test -z "$ac_dir" && ac_dir=.
5298 if test -f $ac_dir/${ac_tool_prefix}file; then
5299 lt_cv_path_MAGIC_CMD="$ac_dir/${ac_tool_prefix}file"
5300 if test -n "$file_magic_test_file"; then
5301 case $deplibs_check_method in
5303 file_magic_regex="`expr \"$deplibs_check_method\" : \"file_magic \(.*\)\"`"
5304 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
5305 if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
5306 egrep "$file_magic_regex" > /dev/null; then
5311 *** Warning: the command libtool uses to detect shared libraries,
5312 *** $file_magic_cmd, produces output that libtool cannot recognize.
5313 *** The result is that libtool may fail to recognize shared libraries
5314 *** as such. This will affect the creation of libtool libraries that
5315 *** depend on shared libraries, but programs linked with such libtool
5316 *** libraries will work regardless of this problem. Nevertheless, you
5317 *** may want to report the problem to your system manager and/or to
5318 *** bug-libtool@gnu.org
5328 MAGIC_CMD="$ac_save_MAGIC_CMD"
5333 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
5334 if test -n "$MAGIC_CMD"; then
5335 echo "$as_me:$LINENO: result: $MAGIC_CMD" >&5
5336 echo "${ECHO_T}$MAGIC_CMD" >&6
5338 echo "$as_me:$LINENO: result: no" >&5
5339 echo "${ECHO_T}no" >&6
5342 if test -z "$lt_cv_path_MAGIC_CMD"; then
5343 if test -n "$ac_tool_prefix"; then
5344 echo "$as_me:$LINENO: checking for file" >&5
5345 echo $ECHO_N "checking for file... $ECHO_C" >&6
5346 if test "${lt_cv_path_MAGIC_CMD+set}" = set; then
5347 echo $ECHO_N "(cached) $ECHO_C" >&6
5351 lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
5354 lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a dos path.
5357 ac_save_MAGIC_CMD="$MAGIC_CMD"
5358 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":"
5359 ac_dummy="/usr/bin:$PATH"
5360 for ac_dir in $ac_dummy; do
5361 test -z "$ac_dir" && ac_dir=.
5362 if test -f $ac_dir/file; then
5363 lt_cv_path_MAGIC_CMD="$ac_dir/file"
5364 if test -n "$file_magic_test_file"; then
5365 case $deplibs_check_method in
5367 file_magic_regex="`expr \"$deplibs_check_method\" : \"file_magic \(.*\)\"`"
5368 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
5369 if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
5370 egrep "$file_magic_regex" > /dev/null; then
5375 *** Warning: the command libtool uses to detect shared libraries,
5376 *** $file_magic_cmd, produces output that libtool cannot recognize.
5377 *** The result is that libtool may fail to recognize shared libraries
5378 *** as such. This will affect the creation of libtool libraries that
5379 *** depend on shared libraries, but programs linked with such libtool
5380 *** libraries will work regardless of this problem. Nevertheless, you
5381 *** may want to report the problem to your system manager and/or to
5382 *** bug-libtool@gnu.org
5392 MAGIC_CMD="$ac_save_MAGIC_CMD"
5397 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
5398 if test -n "$MAGIC_CMD"; then
5399 echo "$as_me:$LINENO: result: $MAGIC_CMD" >&5
5400 echo "${ECHO_T}$MAGIC_CMD" >&6
5402 echo "$as_me:$LINENO: result: no" >&5
5403 echo "${ECHO_T}no" >&6
5415 if test -n "$ac_tool_prefix"; then
5416 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
5417 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
5418 echo "$as_me:$LINENO: checking for $ac_word" >&5
5419 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
5420 if test "${ac_cv_prog_RANLIB+set}" = set; then
5421 echo $ECHO_N "(cached) $ECHO_C" >&6
5423 if test -n "$RANLIB"; then
5424 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
5426 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5430 test -z "$as_dir" && as_dir=.
5431 for ac_exec_ext in '' $ac_executable_extensions; do
5432 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5433 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
5434 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5442 RANLIB=$ac_cv_prog_RANLIB
5443 if test -n "$RANLIB"; then
5444 echo "$as_me:$LINENO: result: $RANLIB" >&5
5445 echo "${ECHO_T}$RANLIB" >&6
5447 echo "$as_me:$LINENO: result: no" >&5
5448 echo "${ECHO_T}no" >&6
5452 if test -z "$ac_cv_prog_RANLIB"; then
5453 ac_ct_RANLIB=$RANLIB
5454 # Extract the first word of "ranlib", so it can be a program name with args.
5455 set dummy ranlib; ac_word=$2
5456 echo "$as_me:$LINENO: checking for $ac_word" >&5
5457 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
5458 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
5459 echo $ECHO_N "(cached) $ECHO_C" >&6
5461 if test -n "$ac_ct_RANLIB"; then
5462 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
5464 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5468 test -z "$as_dir" && as_dir=.
5469 for ac_exec_ext in '' $ac_executable_extensions; do
5470 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5471 ac_cv_prog_ac_ct_RANLIB="ranlib"
5472 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5478 test -z "$ac_cv_prog_ac_ct_RANLIB" && ac_cv_prog_ac_ct_RANLIB=":"
5481 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
5482 if test -n "$ac_ct_RANLIB"; then
5483 echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
5484 echo "${ECHO_T}$ac_ct_RANLIB" >&6
5486 echo "$as_me:$LINENO: result: no" >&5
5487 echo "${ECHO_T}no" >&6
5490 RANLIB=$ac_ct_RANLIB
5492 RANLIB="$ac_cv_prog_RANLIB"
5495 if test -n "$ac_tool_prefix"; then
5496 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
5497 set dummy ${ac_tool_prefix}strip; ac_word=$2
5498 echo "$as_me:$LINENO: checking for $ac_word" >&5
5499 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
5500 if test "${ac_cv_prog_STRIP+set}" = set; then
5501 echo $ECHO_N "(cached) $ECHO_C" >&6
5503 if test -n "$STRIP"; then
5504 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
5506 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5510 test -z "$as_dir" && as_dir=.
5511 for ac_exec_ext in '' $ac_executable_extensions; do
5512 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5513 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
5514 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5522 STRIP=$ac_cv_prog_STRIP
5523 if test -n "$STRIP"; then
5524 echo "$as_me:$LINENO: result: $STRIP" >&5
5525 echo "${ECHO_T}$STRIP" >&6
5527 echo "$as_me:$LINENO: result: no" >&5
5528 echo "${ECHO_T}no" >&6
5532 if test -z "$ac_cv_prog_STRIP"; then
5534 # Extract the first word of "strip", so it can be a program name with args.
5535 set dummy strip; ac_word=$2
5536 echo "$as_me:$LINENO: checking for $ac_word" >&5
5537 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
5538 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
5539 echo $ECHO_N "(cached) $ECHO_C" >&6
5541 if test -n "$ac_ct_STRIP"; then
5542 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
5544 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5548 test -z "$as_dir" && as_dir=.
5549 for ac_exec_ext in '' $ac_executable_extensions; do
5550 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5551 ac_cv_prog_ac_ct_STRIP="strip"
5552 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5558 test -z "$ac_cv_prog_ac_ct_STRIP" && ac_cv_prog_ac_ct_STRIP=":"
5561 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
5562 if test -n "$ac_ct_STRIP"; then
5563 echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
5564 echo "${ECHO_T}$ac_ct_STRIP" >&6
5566 echo "$as_me:$LINENO: result: no" >&5
5567 echo "${ECHO_T}no" >&6
5572 STRIP="$ac_cv_prog_STRIP"
5576 # Check for any special flags to pass to ltconfig.
5577 libtool_flags="--cache-file=$cache_file"
5578 test "$enable_shared" = no && libtool_flags="$libtool_flags --disable-shared"
5579 test "$enable_static" = no && libtool_flags="$libtool_flags --disable-static"
5580 test "$enable_fast_install" = no && libtool_flags="$libtool_flags --disable-fast-install"
5581 test "$GCC" = yes && libtool_flags="$libtool_flags --with-gcc"
5582 test "$lt_cv_prog_gnu_ld" = yes && libtool_flags="$libtool_flags --with-gnu-ld"
5585 # Check whether --enable-libtool-lock or --disable-libtool-lock was given.
5586 if test "${enable_libtool_lock+set}" = set; then
5587 enableval="$enable_libtool_lock"
5590 test "x$enable_libtool_lock" = xno && libtool_flags="$libtool_flags --disable-lock"
5591 test x"$silent" = xyes && libtool_flags="$libtool_flags --silent"
5594 # Check whether --with-pic or --without-pic was given.
5595 if test "${with_pic+set}" = set; then
5601 test x"$pic_mode" = xyes && libtool_flags="$libtool_flags --prefer-pic"
5602 test x"$pic_mode" = xno && libtool_flags="$libtool_flags --prefer-non-pic"
5604 # Some flags need to be propagated to the compiler or linker for good
5608 # Find out which ABI we are using.
5609 echo '#line 5609 "configure"' > conftest.$ac_ext
5610 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5611 (eval $ac_compile) 2>&5
5613 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5614 (exit $ac_status); }; then
5615 if test "$lt_cv_prog_gnu_ld" = yes; then
5616 case `/usr/bin/file conftest.$ac_objext` in
5618 LD="${LD-ld} -melf32bsmip"
5621 LD="${LD-ld} -melf32bmipn32"
5624 LD="${LD-ld} -melf64bmip"
5628 case `/usr/bin/file conftest.$ac_objext` in
5645 # Find out which ABI we are using.
5646 echo 'int i;' > conftest.$ac_ext
5647 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5648 (eval $ac_compile) 2>&5
5650 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5651 (exit $ac_status); }; then
5652 case "`/usr/bin/file conftest.o`" in
5664 x86_64-*linux*|ppc*-*linux*|powerpc*-*linux*|s390*-*linux*|sparc*-*linux*)
5665 # Find out which ABI we are using.
5666 echo 'int i;' > conftest.$ac_ext
5667 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5668 (eval $ac_compile) 2>&5
5670 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5671 (exit $ac_status); }; then
5672 case "`/usr/bin/file conftest.o`" in
5676 LD="${LD-ld} -m elf_i386"
5678 ppc64-*linux*|powerpc64-*linux*)
5679 LD="${LD-ld} -m elf32ppclinux"
5682 LD="${LD-ld} -m elf_s390"
5685 LD="${LD-ld} -m elf32_sparc"
5692 LD="${LD-ld} -m elf_x86_64"
5694 ppc*-*linux*|powerpc*-*linux*)
5695 LD="${LD-ld} -m elf64ppc"
5698 LD="${LD-ld} -m elf64_s390"
5701 LD="${LD-ld} -m elf64_sparc"
5711 # On SCO OpenServer 5, we need -belf to get full-featured binaries.
5712 SAVE_CFLAGS="$CFLAGS"
5713 CFLAGS="$CFLAGS -belf"
5714 echo "$as_me:$LINENO: checking whether the C compiler needs -belf" >&5
5715 echo $ECHO_N "checking whether the C compiler needs -belf... $ECHO_C" >&6
5716 if test "${lt_cv_cc_needs_belf+set}" = set; then
5717 echo $ECHO_N "(cached) $ECHO_C" >&6
5722 ac_cpp='$CPP $CPPFLAGS'
5723 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5724 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5725 ac_compiler_gnu=$ac_cv_c_compiler_gnu
5727 if test x$gcc_no_link = xyes; then
5728 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
5729 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
5730 { (exit 1); exit 1; }; }
5732 cat >conftest.$ac_ext <<_ACEOF
5735 cat confdefs.h >>conftest.$ac_ext
5736 cat >>conftest.$ac_ext <<_ACEOF
5737 /* end confdefs.h. */
5747 rm -f conftest.$ac_objext conftest$ac_exeext
5748 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
5749 (eval $ac_link) 2>conftest.er1
5751 grep -v '^ *+' conftest.er1 >conftest.err
5753 cat conftest.err >&5
5754 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5755 (exit $ac_status); } &&
5756 { ac_try='test -z "$ac_c_werror_flag"
5757 || test ! -s conftest.err'
5758 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5761 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5762 (exit $ac_status); }; } &&
5763 { ac_try='test -s conftest$ac_exeext'
5764 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5767 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5768 (exit $ac_status); }; }; then
5769 lt_cv_cc_needs_belf=yes
5771 echo "$as_me: failed program was:" >&5
5772 sed 's/^/| /' conftest.$ac_ext >&5
5774 lt_cv_cc_needs_belf=no
5776 rm -f conftest.err conftest.$ac_objext \
5777 conftest$ac_exeext conftest.$ac_ext
5779 ac_cpp='$CPP $CPPFLAGS'
5780 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5781 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5782 ac_compiler_gnu=$ac_cv_c_compiler_gnu
5785 echo "$as_me:$LINENO: result: $lt_cv_cc_needs_belf" >&5
5786 echo "${ECHO_T}$lt_cv_cc_needs_belf" >&6
5787 if test x"$lt_cv_cc_needs_belf" != x"yes"; then
5788 # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
5789 CFLAGS="$SAVE_CFLAGS"
5797 # Save cache, so that ltconfig can load it
5798 cat >confcache <<\_ACEOF
5799 # This file is a shell script that caches the results of configure
5800 # tests run on this system so they can be shared between configure
5801 # scripts and configure runs, see configure's option --config-cache.
5802 # It is not useful on other systems. If it contains results you don't
5803 # want to keep, you may remove or edit it.
5805 # config.status only pays attention to the cache file if you give it
5806 # the --recheck option to rerun configure.
5808 # `ac_cv_env_foo' variables (set or unset) will be overridden when
5809 # loading this file, other *unset* `ac_cv_foo' will be assigned the
5814 # The following way of writing the cache mishandles newlines in values,
5815 # but we know of no workaround that is simple, portable, and efficient.
5816 # So, don't put newlines in cache variables' values.
5817 # Ultrix sh set writes to stderr and can't be redirected directly,
5818 # and sets the high bit in the cache file unless we assign to the vars.
5821 case `(ac_space=' '; set | grep ac_space) 2>&1` in
5823 # `set' does not quote correctly, so add quotes (double-quote
5824 # substitution turns \\\\ into \\, and sed turns \\ into \).
5827 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
5830 # `set' quotes correctly as required by POSIX, so do not add quotes.
5832 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
5839 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
5841 /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
5843 if diff $cache_file confcache >/dev/null 2>&1; then :; else
5844 if test -w $cache_file; then
5845 test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
5846 cat confcache >$cache_file
5848 echo "not updating unwritable cache $cache_file"
5853 # Actually configure libtool. ac_aux_dir is where install-sh is found.
5854 AR="$AR" LTCC="$CC" CC="$CC" CFLAGS="$CFLAGS" CPPFLAGS="$CPPFLAGS" \
5855 MAGIC_CMD="$MAGIC_CMD" LD="$LD" LDFLAGS="$LDFLAGS" LIBS="$LIBS" \
5856 LN_S="$LN_S" NM="$NM" RANLIB="$RANLIB" STRIP="$STRIP" \
5857 AS="$AS" DLLTOOL="$DLLTOOL" OBJDUMP="$OBJDUMP" \
5858 objext="$OBJEXT" exeext="$EXEEXT" reload_flag="$reload_flag" \
5859 deplibs_check_method="$deplibs_check_method" file_magic_cmd="$file_magic_cmd" \
5860 ${CONFIG_SHELL-/bin/sh} $ac_aux_dir/ltconfig --no-reexec \
5861 $libtool_flags --no-verify --build="$build" $ac_aux_dir/ltmain.sh $host \
5862 || { { echo "$as_me:$LINENO: error: libtool configure failed" >&5
5863 echo "$as_me: error: libtool configure failed" >&2;}
5864 { (exit 1); exit 1; }; }
5866 # Reload cache, that may have been modified by ltconfig
5867 if test -r "$cache_file"; then
5868 # Some versions of bash will fail to source /dev/null (special
5869 # files actually), so we avoid doing that.
5870 if test -f "$cache_file"; then
5871 { echo "$as_me:$LINENO: loading cache $cache_file" >&5
5872 echo "$as_me: loading cache $cache_file" >&6;}
5874 [\\/]* | ?:[\\/]* ) . $cache_file;;
5875 *) . ./$cache_file;;
5879 { echo "$as_me:$LINENO: creating cache $cache_file" >&5
5880 echo "$as_me: creating cache $cache_file" >&6;}
5885 # This can be used to rebuild libtool when needed
5886 LIBTOOL_DEPS="$ac_aux_dir/ltconfig $ac_aux_dir/ltmain.sh $ac_aux_dir/ltcf-c.sh"
5888 # Always use our own libtool.
5889 LIBTOOL='$(SHELL) $(top_builddir)/libtool'
5891 # Redirect the config.log output again, so that the ltconfig log is not
5892 # clobbered by the next message.
5893 exec 5>>./config.log
5901 ac_cpp='$CPP $CPPFLAGS'
5902 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5903 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5904 ac_compiler_gnu=$ac_cv_c_compiler_gnu
5905 if test -n "$ac_tool_prefix"; then
5906 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
5907 set dummy ${ac_tool_prefix}gcc; ac_word=$2
5908 echo "$as_me:$LINENO: checking for $ac_word" >&5
5909 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
5910 if test "${ac_cv_prog_CC+set}" = set; then
5911 echo $ECHO_N "(cached) $ECHO_C" >&6
5913 if test -n "$CC"; then
5914 ac_cv_prog_CC="$CC" # Let the user override the test.
5916 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5920 test -z "$as_dir" && as_dir=.
5921 for ac_exec_ext in '' $ac_executable_extensions; do
5922 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5923 ac_cv_prog_CC="${ac_tool_prefix}gcc"
5924 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5933 if test -n "$CC"; then
5934 echo "$as_me:$LINENO: result: $CC" >&5
5935 echo "${ECHO_T}$CC" >&6
5937 echo "$as_me:$LINENO: result: no" >&5
5938 echo "${ECHO_T}no" >&6
5942 if test -z "$ac_cv_prog_CC"; then
5944 # Extract the first word of "gcc", so it can be a program name with args.
5945 set dummy gcc; ac_word=$2
5946 echo "$as_me:$LINENO: checking for $ac_word" >&5
5947 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
5948 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
5949 echo $ECHO_N "(cached) $ECHO_C" >&6
5951 if test -n "$ac_ct_CC"; then
5952 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
5954 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5958 test -z "$as_dir" && as_dir=.
5959 for ac_exec_ext in '' $ac_executable_extensions; do
5960 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5961 ac_cv_prog_ac_ct_CC="gcc"
5962 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5970 ac_ct_CC=$ac_cv_prog_ac_ct_CC
5971 if test -n "$ac_ct_CC"; then
5972 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
5973 echo "${ECHO_T}$ac_ct_CC" >&6
5975 echo "$as_me:$LINENO: result: no" >&5
5976 echo "${ECHO_T}no" >&6
5984 if test -z "$CC"; then
5985 if test -n "$ac_tool_prefix"; then
5986 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
5987 set dummy ${ac_tool_prefix}cc; ac_word=$2
5988 echo "$as_me:$LINENO: checking for $ac_word" >&5
5989 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
5990 if test "${ac_cv_prog_CC+set}" = set; then
5991 echo $ECHO_N "(cached) $ECHO_C" >&6
5993 if test -n "$CC"; then
5994 ac_cv_prog_CC="$CC" # Let the user override the test.
5996 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6000 test -z "$as_dir" && as_dir=.
6001 for ac_exec_ext in '' $ac_executable_extensions; do
6002 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6003 ac_cv_prog_CC="${ac_tool_prefix}cc"
6004 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6013 if test -n "$CC"; then
6014 echo "$as_me:$LINENO: result: $CC" >&5
6015 echo "${ECHO_T}$CC" >&6
6017 echo "$as_me:$LINENO: result: no" >&5
6018 echo "${ECHO_T}no" >&6
6022 if test -z "$ac_cv_prog_CC"; then
6024 # Extract the first word of "cc", so it can be a program name with args.
6025 set dummy cc; ac_word=$2
6026 echo "$as_me:$LINENO: checking for $ac_word" >&5
6027 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
6028 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
6029 echo $ECHO_N "(cached) $ECHO_C" >&6
6031 if test -n "$ac_ct_CC"; then
6032 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
6034 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6038 test -z "$as_dir" && as_dir=.
6039 for ac_exec_ext in '' $ac_executable_extensions; do
6040 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6041 ac_cv_prog_ac_ct_CC="cc"
6042 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6050 ac_ct_CC=$ac_cv_prog_ac_ct_CC
6051 if test -n "$ac_ct_CC"; then
6052 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
6053 echo "${ECHO_T}$ac_ct_CC" >&6
6055 echo "$as_me:$LINENO: result: no" >&5
6056 echo "${ECHO_T}no" >&6
6065 if test -z "$CC"; then
6066 # Extract the first word of "cc", so it can be a program name with args.
6067 set dummy cc; ac_word=$2
6068 echo "$as_me:$LINENO: checking for $ac_word" >&5
6069 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
6070 if test "${ac_cv_prog_CC+set}" = set; then
6071 echo $ECHO_N "(cached) $ECHO_C" >&6
6073 if test -n "$CC"; then
6074 ac_cv_prog_CC="$CC" # Let the user override the test.
6077 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6081 test -z "$as_dir" && as_dir=.
6082 for ac_exec_ext in '' $ac_executable_extensions; do
6083 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6084 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
6085 ac_prog_rejected=yes
6089 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6095 if test $ac_prog_rejected = yes; then
6096 # We found a bogon in the path, so make sure we never use it.
6097 set dummy $ac_cv_prog_CC
6099 if test $# != 0; then
6100 # We chose a different compiler from the bogus one.
6101 # However, it has the same basename, so the bogon will be chosen
6102 # first if we set CC to just the basename; use the full file name.
6104 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
6110 if test -n "$CC"; then
6111 echo "$as_me:$LINENO: result: $CC" >&5
6112 echo "${ECHO_T}$CC" >&6
6114 echo "$as_me:$LINENO: result: no" >&5
6115 echo "${ECHO_T}no" >&6
6119 if test -z "$CC"; then
6120 if test -n "$ac_tool_prefix"; then
6123 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
6124 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
6125 echo "$as_me:$LINENO: checking for $ac_word" >&5
6126 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
6127 if test "${ac_cv_prog_CC+set}" = set; then
6128 echo $ECHO_N "(cached) $ECHO_C" >&6
6130 if test -n "$CC"; then
6131 ac_cv_prog_CC="$CC" # Let the user override the test.
6133 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6137 test -z "$as_dir" && as_dir=.
6138 for ac_exec_ext in '' $ac_executable_extensions; do
6139 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6140 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
6141 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6150 if test -n "$CC"; then
6151 echo "$as_me:$LINENO: result: $CC" >&5
6152 echo "${ECHO_T}$CC" >&6
6154 echo "$as_me:$LINENO: result: no" >&5
6155 echo "${ECHO_T}no" >&6
6158 test -n "$CC" && break
6161 if test -z "$CC"; then
6165 # Extract the first word of "$ac_prog", so it can be a program name with args.
6166 set dummy $ac_prog; ac_word=$2
6167 echo "$as_me:$LINENO: checking for $ac_word" >&5
6168 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
6169 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
6170 echo $ECHO_N "(cached) $ECHO_C" >&6
6172 if test -n "$ac_ct_CC"; then
6173 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
6175 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6179 test -z "$as_dir" && as_dir=.
6180 for ac_exec_ext in '' $ac_executable_extensions; do
6181 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6182 ac_cv_prog_ac_ct_CC="$ac_prog"
6183 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6191 ac_ct_CC=$ac_cv_prog_ac_ct_CC
6192 if test -n "$ac_ct_CC"; then
6193 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
6194 echo "${ECHO_T}$ac_ct_CC" >&6
6196 echo "$as_me:$LINENO: result: no" >&5
6197 echo "${ECHO_T}no" >&6
6200 test -n "$ac_ct_CC" && break
6209 test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
6210 See \`config.log' for more details." >&5
6211 echo "$as_me: error: no acceptable C compiler found in \$PATH
6212 See \`config.log' for more details." >&2;}
6213 { (exit 1); exit 1; }; }
6215 # Provide some information about the compiler.
6216 echo "$as_me:$LINENO:" \
6217 "checking for C compiler version" >&5
6218 ac_compiler=`set X $ac_compile; echo $2`
6219 { (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5
6220 (eval $ac_compiler --version </dev/null >&5) 2>&5
6222 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6223 (exit $ac_status); }
6224 { (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5
6225 (eval $ac_compiler -v </dev/null >&5) 2>&5
6227 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6228 (exit $ac_status); }
6229 { (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5
6230 (eval $ac_compiler -V </dev/null >&5) 2>&5
6232 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6233 (exit $ac_status); }
6235 echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
6236 echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6
6237 if test "${ac_cv_c_compiler_gnu+set}" = set; then
6238 echo $ECHO_N "(cached) $ECHO_C" >&6
6240 cat >conftest.$ac_ext <<_ACEOF
6243 cat confdefs.h >>conftest.$ac_ext
6244 cat >>conftest.$ac_ext <<_ACEOF
6245 /* end confdefs.h. */
6258 rm -f conftest.$ac_objext
6259 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6260 (eval $ac_compile) 2>conftest.er1
6262 grep -v '^ *+' conftest.er1 >conftest.err
6264 cat conftest.err >&5
6265 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6266 (exit $ac_status); } &&
6267 { ac_try='test -z "$ac_c_werror_flag"
6268 || test ! -s conftest.err'
6269 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6272 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6273 (exit $ac_status); }; } &&
6274 { ac_try='test -s conftest.$ac_objext'
6275 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6278 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6279 (exit $ac_status); }; }; then
6282 echo "$as_me: failed program was:" >&5
6283 sed 's/^/| /' conftest.$ac_ext >&5
6287 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
6288 ac_cv_c_compiler_gnu=$ac_compiler_gnu
6291 echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
6292 echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6
6293 GCC=`test $ac_compiler_gnu = yes && echo yes`
6294 ac_test_CFLAGS=${CFLAGS+set}
6295 ac_save_CFLAGS=$CFLAGS
6297 echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
6298 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6
6299 if test "${ac_cv_prog_cc_g+set}" = set; then
6300 echo $ECHO_N "(cached) $ECHO_C" >&6
6302 cat >conftest.$ac_ext <<_ACEOF
6305 cat confdefs.h >>conftest.$ac_ext
6306 cat >>conftest.$ac_ext <<_ACEOF
6307 /* end confdefs.h. */
6317 rm -f conftest.$ac_objext
6318 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6319 (eval $ac_compile) 2>conftest.er1
6321 grep -v '^ *+' conftest.er1 >conftest.err
6323 cat conftest.err >&5
6324 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6325 (exit $ac_status); } &&
6326 { ac_try='test -z "$ac_c_werror_flag"
6327 || test ! -s conftest.err'
6328 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6331 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6332 (exit $ac_status); }; } &&
6333 { ac_try='test -s conftest.$ac_objext'
6334 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6337 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6338 (exit $ac_status); }; }; then
6341 echo "$as_me: failed program was:" >&5
6342 sed 's/^/| /' conftest.$ac_ext >&5
6346 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
6348 echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
6349 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6
6350 if test "$ac_test_CFLAGS" = set; then
6351 CFLAGS=$ac_save_CFLAGS
6352 elif test $ac_cv_prog_cc_g = yes; then
6353 if test "$GCC" = yes; then
6359 if test "$GCC" = yes; then
6365 echo "$as_me:$LINENO: checking for $CC option to accept ANSI C" >&5
6366 echo $ECHO_N "checking for $CC option to accept ANSI C... $ECHO_C" >&6
6367 if test "${ac_cv_prog_cc_stdc+set}" = set; then
6368 echo $ECHO_N "(cached) $ECHO_C" >&6
6370 ac_cv_prog_cc_stdc=no
6372 cat >conftest.$ac_ext <<_ACEOF
6375 cat confdefs.h >>conftest.$ac_ext
6376 cat >>conftest.$ac_ext <<_ACEOF
6377 /* end confdefs.h. */
6380 #include <sys/types.h>
6381 #include <sys/stat.h>
6382 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
6383 struct buf { int x; };
6384 FILE * (*rcsopen) (struct buf *, struct stat *, int);
6385 static char *e (p, i)
6391 static char *f (char * (*g) (char **, int), char **p, ...)
6396 s = g (p, va_arg (v,int));
6401 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
6402 function prototypes and stuff, but not '\xHH' hex character constants.
6403 These don't provoke an error unfortunately, instead are silently treated
6404 as 'x'. The following induces an error, until -std1 is added to get
6405 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
6406 array size at least. It's necessary to write '\x00'==0 to get something
6407 that's true only with -std1. */
6408 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
6410 int test (int i, double x);
6411 struct s1 {int (*f) (int a);};
6412 struct s2 {int (*f) (double a);};
6413 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
6419 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
6424 # Don't try gcc -ansi; that turns off useful extensions and
6425 # breaks some systems' header files.
6426 # AIX -qlanglvl=ansi
6427 # Ultrix and OSF/1 -std1
6428 # HP-UX 10.20 and later -Ae
6429 # HP-UX older versions -Aa -D_HPUX_SOURCE
6430 # SVR4 -Xc -D__EXTENSIONS__
6431 for ac_arg in "" -qlanglvl=ansi -std1 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
6433 CC="$ac_save_CC $ac_arg"
6434 rm -f conftest.$ac_objext
6435 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6436 (eval $ac_compile) 2>conftest.er1
6438 grep -v '^ *+' conftest.er1 >conftest.err
6440 cat conftest.err >&5
6441 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6442 (exit $ac_status); } &&
6443 { ac_try='test -z "$ac_c_werror_flag"
6444 || test ! -s conftest.err'
6445 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6448 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6449 (exit $ac_status); }; } &&
6450 { ac_try='test -s conftest.$ac_objext'
6451 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6454 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6455 (exit $ac_status); }; }; then
6456 ac_cv_prog_cc_stdc=$ac_arg
6459 echo "$as_me: failed program was:" >&5
6460 sed 's/^/| /' conftest.$ac_ext >&5
6463 rm -f conftest.err conftest.$ac_objext
6465 rm -f conftest.$ac_ext conftest.$ac_objext
6470 case "x$ac_cv_prog_cc_stdc" in
6472 echo "$as_me:$LINENO: result: none needed" >&5
6473 echo "${ECHO_T}none needed" >&6 ;;
6475 echo "$as_me:$LINENO: result: $ac_cv_prog_cc_stdc" >&5
6476 echo "${ECHO_T}$ac_cv_prog_cc_stdc" >&6
6477 CC="$CC $ac_cv_prog_cc_stdc" ;;
6480 # Some people use a C++ compiler to compile C. Since we use `exit',
6481 # in C++ we need to declare it. In case someone uses the same compiler
6482 # for both compiling C and C++ we need to have the C++ compiler decide
6483 # the declaration of exit, since it's the most demanding environment.
6484 cat >conftest.$ac_ext <<_ACEOF
6489 rm -f conftest.$ac_objext
6490 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6491 (eval $ac_compile) 2>conftest.er1
6493 grep -v '^ *+' conftest.er1 >conftest.err
6495 cat conftest.err >&5
6496 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6497 (exit $ac_status); } &&
6498 { ac_try='test -z "$ac_c_werror_flag"
6499 || test ! -s conftest.err'
6500 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6503 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6504 (exit $ac_status); }; } &&
6505 { ac_try='test -s conftest.$ac_objext'
6506 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6509 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6510 (exit $ac_status); }; }; then
6511 for ac_declaration in \
6513 'extern "C" void std::exit (int) throw (); using std::exit;' \
6514 'extern "C" void std::exit (int); using std::exit;' \
6515 'extern "C" void exit (int) throw ();' \
6516 'extern "C" void exit (int);' \
6519 cat >conftest.$ac_ext <<_ACEOF
6522 cat confdefs.h >>conftest.$ac_ext
6523 cat >>conftest.$ac_ext <<_ACEOF
6524 /* end confdefs.h. */
6535 rm -f conftest.$ac_objext
6536 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6537 (eval $ac_compile) 2>conftest.er1
6539 grep -v '^ *+' conftest.er1 >conftest.err
6541 cat conftest.err >&5
6542 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6543 (exit $ac_status); } &&
6544 { ac_try='test -z "$ac_c_werror_flag"
6545 || test ! -s conftest.err'
6546 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6549 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6550 (exit $ac_status); }; } &&
6551 { ac_try='test -s conftest.$ac_objext'
6552 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6555 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6556 (exit $ac_status); }; }; then
6559 echo "$as_me: failed program was:" >&5
6560 sed 's/^/| /' conftest.$ac_ext >&5
6564 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
6565 cat >conftest.$ac_ext <<_ACEOF
6568 cat confdefs.h >>conftest.$ac_ext
6569 cat >>conftest.$ac_ext <<_ACEOF
6570 /* end confdefs.h. */
6580 rm -f conftest.$ac_objext
6581 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6582 (eval $ac_compile) 2>conftest.er1
6584 grep -v '^ *+' conftest.er1 >conftest.err
6586 cat conftest.err >&5
6587 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6588 (exit $ac_status); } &&
6589 { ac_try='test -z "$ac_c_werror_flag"
6590 || test ! -s conftest.err'
6591 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6594 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6595 (exit $ac_status); }; } &&
6596 { ac_try='test -s conftest.$ac_objext'
6597 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6600 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6601 (exit $ac_status); }; }; then
6604 echo "$as_me: failed program was:" >&5
6605 sed 's/^/| /' conftest.$ac_ext >&5
6608 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
6611 if test -n "$ac_declaration"; then
6612 echo '#ifdef __cplusplus' >>confdefs.h
6613 echo $ac_declaration >>confdefs.h
6614 echo '#endif' >>confdefs.h
6618 echo "$as_me: failed program was:" >&5
6619 sed 's/^/| /' conftest.$ac_ext >&5
6622 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
6624 ac_cpp='$CPP $CPPFLAGS'
6625 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6626 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6627 ac_compiler_gnu=$ac_cv_c_compiler_gnu
6629 depcc="$CC" am_compiler_list=
6631 echo "$as_me:$LINENO: checking dependency style of $depcc" >&5
6632 echo $ECHO_N "checking dependency style of $depcc... $ECHO_C" >&6
6633 if test "${am_cv_CC_dependencies_compiler_type+set}" = set; then
6634 echo $ECHO_N "(cached) $ECHO_C" >&6
6636 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
6637 # We make a subdir and do the tests there. Otherwise we can end up
6638 # making bogus files that we don't know about and never remove. For
6639 # instance it was reported that on HP-UX the gcc test will end up
6640 # making a dummy file named `D' -- because `-MD' means `put the output
6643 # Copy depcomp to subdir because otherwise we won't find it if we're
6644 # using a relative directory.
6645 cp "$am_depcomp" conftest.dir
6647 # We will build objects and dependencies in a subdirectory because
6648 # it helps to detect inapplicable dependency modes. For instance
6649 # both Tru64's cc and ICC support -MD to output dependencies as a
6650 # side effect of compilation, but ICC will put the dependencies in
6651 # the current directory while Tru64 will put them in the object
6655 am_cv_CC_dependencies_compiler_type=none
6656 if test "$am_compiler_list" = ""; then
6657 am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
6659 for depmode in $am_compiler_list; do
6660 # Setup a source with many dependencies, because some compilers
6661 # like to wrap large dependency lists on column 80 (with \), and
6662 # we should not choose a depcomp mode which is confused by this.
6664 # We need to recreate these files for each test, as the compiler may
6665 # overwrite some of them when testing with obscure command lines.
6666 # This happens at least with the AIX C compiler.
6668 for i in 1 2 3 4 5 6; do
6669 echo '#include "conftst'$i'.h"' >> sub/conftest.c
6670 # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
6671 # Solaris 8's {/usr,}/bin/sh.
6672 touch sub/conftst$i.h
6674 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
6678 # after this tag, mechanisms are not by side-effect, so they'll
6679 # only be used when explicitly requested
6680 if test "x$enable_dependency_tracking" = xyes; then
6688 # We check with `-c' and `-o' for the sake of the "dashmstdout"
6689 # mode. It turns out that the SunPro C++ compiler does not properly
6690 # handle `-M -o', and we need to detect this.
6691 if depmode=$depmode \
6692 source=sub/conftest.c object=sub/conftest.${OBJEXT-o} \
6693 depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
6694 $SHELL ./depcomp $depcc -c -o sub/conftest.${OBJEXT-o} sub/conftest.c \
6695 >/dev/null 2>conftest.err &&
6696 grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
6697 grep sub/conftest.${OBJEXT-o} sub/conftest.Po > /dev/null 2>&1 &&
6698 ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
6699 # icc doesn't choke on unknown options, it will just issue warnings
6700 # or remarks (even with -Werror). So we grep stderr for any message
6701 # that says an option was ignored or not supported.
6702 # When given -MP, icc 7.0 and 7.1 complain thusly:
6703 # icc: Command line warning: ignoring option '-M'; no argument required
6704 # The diagnosis changed in icc 8.0:
6705 # icc: Command line remark: option '-MP' not supported
6706 if (grep 'ignoring option' conftest.err ||
6707 grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
6708 am_cv_CC_dependencies_compiler_type=$depmode
6717 am_cv_CC_dependencies_compiler_type=none
6721 echo "$as_me:$LINENO: result: $am_cv_CC_dependencies_compiler_type" >&5
6722 echo "${ECHO_T}$am_cv_CC_dependencies_compiler_type" >&6
6723 CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
6728 test "x$enable_dependency_tracking" != xno \
6729 && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
6731 am__fastdepCC_FALSE='#'
6733 am__fastdepCC_TRUE='#'
6734 am__fastdepCC_FALSE=
6739 ac_cpp='$CPP $CPPFLAGS'
6740 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6741 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6742 ac_compiler_gnu=$ac_cv_c_compiler_gnu
6743 echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5
6744 echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6
6745 # On Suns, sometimes $CPP names a directory.
6746 if test -n "$CPP" && test -d "$CPP"; then
6749 if test -z "$CPP"; then
6750 if test "${ac_cv_prog_CPP+set}" = set; then
6751 echo $ECHO_N "(cached) $ECHO_C" >&6
6753 # Double quotes because CPP needs to be expanded
6754 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
6757 for ac_c_preproc_warn_flag in '' yes
6759 # Use a header file that comes with gcc, so configuring glibc
6760 # with a fresh cross-compiler works.
6761 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
6762 # <limits.h> exists even on freestanding compilers.
6763 # On the NeXT, cc -E runs the code through the compiler's parser,
6764 # not just through cpp. "Syntax error" is here to catch this case.
6765 cat >conftest.$ac_ext <<_ACEOF
6768 cat confdefs.h >>conftest.$ac_ext
6769 cat >>conftest.$ac_ext <<_ACEOF
6770 /* end confdefs.h. */
6772 # include <limits.h>
6774 # include <assert.h>
6778 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
6779 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
6781 grep -v '^ *+' conftest.er1 >conftest.err
6783 cat conftest.err >&5
6784 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6785 (exit $ac_status); } >/dev/null; then
6786 if test -s conftest.err; then
6787 ac_cpp_err=$ac_c_preproc_warn_flag
6788 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
6795 if test -z "$ac_cpp_err"; then
6798 echo "$as_me: failed program was:" >&5
6799 sed 's/^/| /' conftest.$ac_ext >&5
6801 # Broken: fails on valid input.
6804 rm -f conftest.err conftest.$ac_ext
6806 # OK, works on sane cases. Now check whether non-existent headers
6807 # can be detected and how.
6808 cat >conftest.$ac_ext <<_ACEOF
6811 cat confdefs.h >>conftest.$ac_ext
6812 cat >>conftest.$ac_ext <<_ACEOF
6813 /* end confdefs.h. */
6814 #include <ac_nonexistent.h>
6816 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
6817 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
6819 grep -v '^ *+' conftest.er1 >conftest.err
6821 cat conftest.err >&5
6822 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6823 (exit $ac_status); } >/dev/null; then
6824 if test -s conftest.err; then
6825 ac_cpp_err=$ac_c_preproc_warn_flag
6826 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
6833 if test -z "$ac_cpp_err"; then
6834 # Broken: success on invalid input.
6837 echo "$as_me: failed program was:" >&5
6838 sed 's/^/| /' conftest.$ac_ext >&5
6840 # Passes both tests.
6844 rm -f conftest.err conftest.$ac_ext
6847 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
6848 rm -f conftest.err conftest.$ac_ext
6849 if $ac_preproc_ok; then
6861 echo "$as_me:$LINENO: result: $CPP" >&5
6862 echo "${ECHO_T}$CPP" >&6
6864 for ac_c_preproc_warn_flag in '' yes
6866 # Use a header file that comes with gcc, so configuring glibc
6867 # with a fresh cross-compiler works.
6868 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
6869 # <limits.h> exists even on freestanding compilers.
6870 # On the NeXT, cc -E runs the code through the compiler's parser,
6871 # not just through cpp. "Syntax error" is here to catch this case.
6872 cat >conftest.$ac_ext <<_ACEOF
6875 cat confdefs.h >>conftest.$ac_ext
6876 cat >>conftest.$ac_ext <<_ACEOF
6877 /* end confdefs.h. */
6879 # include <limits.h>
6881 # include <assert.h>
6885 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
6886 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
6888 grep -v '^ *+' conftest.er1 >conftest.err
6890 cat conftest.err >&5
6891 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6892 (exit $ac_status); } >/dev/null; then
6893 if test -s conftest.err; then
6894 ac_cpp_err=$ac_c_preproc_warn_flag
6895 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
6902 if test -z "$ac_cpp_err"; then
6905 echo "$as_me: failed program was:" >&5
6906 sed 's/^/| /' conftest.$ac_ext >&5
6908 # Broken: fails on valid input.
6911 rm -f conftest.err conftest.$ac_ext
6913 # OK, works on sane cases. Now check whether non-existent headers
6914 # can be detected and how.
6915 cat >conftest.$ac_ext <<_ACEOF
6918 cat confdefs.h >>conftest.$ac_ext
6919 cat >>conftest.$ac_ext <<_ACEOF
6920 /* end confdefs.h. */
6921 #include <ac_nonexistent.h>
6923 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
6924 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
6926 grep -v '^ *+' conftest.er1 >conftest.err
6928 cat conftest.err >&5
6929 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6930 (exit $ac_status); } >/dev/null; then
6931 if test -s conftest.err; then
6932 ac_cpp_err=$ac_c_preproc_warn_flag
6933 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
6940 if test -z "$ac_cpp_err"; then
6941 # Broken: success on invalid input.
6944 echo "$as_me: failed program was:" >&5
6945 sed 's/^/| /' conftest.$ac_ext >&5
6947 # Passes both tests.
6951 rm -f conftest.err conftest.$ac_ext
6954 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
6955 rm -f conftest.err conftest.$ac_ext
6956 if $ac_preproc_ok; then
6959 { { echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check
6960 See \`config.log' for more details." >&5
6961 echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check
6962 See \`config.log' for more details." >&2;}
6963 { (exit 1); exit 1; }; }
6967 ac_cpp='$CPP $CPPFLAGS'
6968 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6969 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6970 ac_compiler_gnu=$ac_cv_c_compiler_gnu
6973 ac_cpp='$CXXCPP $CPPFLAGS'
6974 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6975 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6976 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
6977 if test -n "$ac_tool_prefix"; then
6978 for ac_prog in $CCC g++ c++ gpp aCC CC cxx cc++ cl FCC KCC RCC xlC_r xlC
6980 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
6981 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
6982 echo "$as_me:$LINENO: checking for $ac_word" >&5
6983 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
6984 if test "${ac_cv_prog_CXX+set}" = set; then
6985 echo $ECHO_N "(cached) $ECHO_C" >&6
6987 if test -n "$CXX"; then
6988 ac_cv_prog_CXX="$CXX" # Let the user override the test.
6990 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6994 test -z "$as_dir" && as_dir=.
6995 for ac_exec_ext in '' $ac_executable_extensions; do
6996 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6997 ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
6998 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
7007 if test -n "$CXX"; then
7008 echo "$as_me:$LINENO: result: $CXX" >&5
7009 echo "${ECHO_T}$CXX" >&6
7011 echo "$as_me:$LINENO: result: no" >&5
7012 echo "${ECHO_T}no" >&6
7015 test -n "$CXX" && break
7018 if test -z "$CXX"; then
7020 for ac_prog in $CCC g++ c++ gpp aCC CC cxx cc++ cl FCC KCC RCC xlC_r xlC
7022 # Extract the first word of "$ac_prog", so it can be a program name with args.
7023 set dummy $ac_prog; ac_word=$2
7024 echo "$as_me:$LINENO: checking for $ac_word" >&5
7025 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
7026 if test "${ac_cv_prog_ac_ct_CXX+set}" = set; then
7027 echo $ECHO_N "(cached) $ECHO_C" >&6
7029 if test -n "$ac_ct_CXX"; then
7030 ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
7032 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7036 test -z "$as_dir" && as_dir=.
7037 for ac_exec_ext in '' $ac_executable_extensions; do
7038 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7039 ac_cv_prog_ac_ct_CXX="$ac_prog"
7040 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
7048 ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
7049 if test -n "$ac_ct_CXX"; then
7050 echo "$as_me:$LINENO: result: $ac_ct_CXX" >&5
7051 echo "${ECHO_T}$ac_ct_CXX" >&6
7053 echo "$as_me:$LINENO: result: no" >&5
7054 echo "${ECHO_T}no" >&6
7057 test -n "$ac_ct_CXX" && break
7059 test -n "$ac_ct_CXX" || ac_ct_CXX="g++"
7065 # Provide some information about the compiler.
7066 echo "$as_me:$LINENO:" \
7067 "checking for C++ compiler version" >&5
7068 ac_compiler=`set X $ac_compile; echo $2`
7069 { (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5
7070 (eval $ac_compiler --version </dev/null >&5) 2>&5
7072 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7073 (exit $ac_status); }
7074 { (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5
7075 (eval $ac_compiler -v </dev/null >&5) 2>&5
7077 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7078 (exit $ac_status); }
7079 { (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5
7080 (eval $ac_compiler -V </dev/null >&5) 2>&5
7082 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7083 (exit $ac_status); }
7085 echo "$as_me:$LINENO: checking whether we are using the GNU C++ compiler" >&5
7086 echo $ECHO_N "checking whether we are using the GNU C++ compiler... $ECHO_C" >&6
7087 if test "${ac_cv_cxx_compiler_gnu+set}" = set; then
7088 echo $ECHO_N "(cached) $ECHO_C" >&6
7090 cat >conftest.$ac_ext <<_ACEOF
7093 cat confdefs.h >>conftest.$ac_ext
7094 cat >>conftest.$ac_ext <<_ACEOF
7095 /* end confdefs.h. */
7108 rm -f conftest.$ac_objext
7109 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7110 (eval $ac_compile) 2>conftest.er1
7112 grep -v '^ *+' conftest.er1 >conftest.err
7114 cat conftest.err >&5
7115 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7116 (exit $ac_status); } &&
7117 { ac_try='test -z "$ac_cxx_werror_flag"
7118 || test ! -s conftest.err'
7119 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7122 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7123 (exit $ac_status); }; } &&
7124 { ac_try='test -s conftest.$ac_objext'
7125 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7128 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7129 (exit $ac_status); }; }; then
7132 echo "$as_me: failed program was:" >&5
7133 sed 's/^/| /' conftest.$ac_ext >&5
7137 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
7138 ac_cv_cxx_compiler_gnu=$ac_compiler_gnu
7141 echo "$as_me:$LINENO: result: $ac_cv_cxx_compiler_gnu" >&5
7142 echo "${ECHO_T}$ac_cv_cxx_compiler_gnu" >&6
7143 GXX=`test $ac_compiler_gnu = yes && echo yes`
7144 ac_test_CXXFLAGS=${CXXFLAGS+set}
7145 ac_save_CXXFLAGS=$CXXFLAGS
7147 echo "$as_me:$LINENO: checking whether $CXX accepts -g" >&5
7148 echo $ECHO_N "checking whether $CXX accepts -g... $ECHO_C" >&6
7149 if test "${ac_cv_prog_cxx_g+set}" = set; then
7150 echo $ECHO_N "(cached) $ECHO_C" >&6
7152 cat >conftest.$ac_ext <<_ACEOF
7155 cat confdefs.h >>conftest.$ac_ext
7156 cat >>conftest.$ac_ext <<_ACEOF
7157 /* end confdefs.h. */
7167 rm -f conftest.$ac_objext
7168 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7169 (eval $ac_compile) 2>conftest.er1
7171 grep -v '^ *+' conftest.er1 >conftest.err
7173 cat conftest.err >&5
7174 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7175 (exit $ac_status); } &&
7176 { ac_try='test -z "$ac_cxx_werror_flag"
7177 || test ! -s conftest.err'
7178 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7181 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7182 (exit $ac_status); }; } &&
7183 { ac_try='test -s conftest.$ac_objext'
7184 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7187 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7188 (exit $ac_status); }; }; then
7189 ac_cv_prog_cxx_g=yes
7191 echo "$as_me: failed program was:" >&5
7192 sed 's/^/| /' conftest.$ac_ext >&5
7196 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
7198 echo "$as_me:$LINENO: result: $ac_cv_prog_cxx_g" >&5
7199 echo "${ECHO_T}$ac_cv_prog_cxx_g" >&6
7200 if test "$ac_test_CXXFLAGS" = set; then
7201 CXXFLAGS=$ac_save_CXXFLAGS
7202 elif test $ac_cv_prog_cxx_g = yes; then
7203 if test "$GXX" = yes; then
7209 if test "$GXX" = yes; then
7215 for ac_declaration in \
7217 'extern "C" void std::exit (int) throw (); using std::exit;' \
7218 'extern "C" void std::exit (int); using std::exit;' \
7219 'extern "C" void exit (int) throw ();' \
7220 'extern "C" void exit (int);' \
7223 cat >conftest.$ac_ext <<_ACEOF
7226 cat confdefs.h >>conftest.$ac_ext
7227 cat >>conftest.$ac_ext <<_ACEOF
7228 /* end confdefs.h. */
7239 rm -f conftest.$ac_objext
7240 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7241 (eval $ac_compile) 2>conftest.er1
7243 grep -v '^ *+' conftest.er1 >conftest.err
7245 cat conftest.err >&5
7246 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7247 (exit $ac_status); } &&
7248 { ac_try='test -z "$ac_cxx_werror_flag"
7249 || test ! -s conftest.err'
7250 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7253 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7254 (exit $ac_status); }; } &&
7255 { ac_try='test -s conftest.$ac_objext'
7256 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7259 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7260 (exit $ac_status); }; }; then
7263 echo "$as_me: failed program was:" >&5
7264 sed 's/^/| /' conftest.$ac_ext >&5
7268 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
7269 cat >conftest.$ac_ext <<_ACEOF
7272 cat confdefs.h >>conftest.$ac_ext
7273 cat >>conftest.$ac_ext <<_ACEOF
7274 /* end confdefs.h. */
7284 rm -f conftest.$ac_objext
7285 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7286 (eval $ac_compile) 2>conftest.er1
7288 grep -v '^ *+' conftest.er1 >conftest.err
7290 cat conftest.err >&5
7291 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7292 (exit $ac_status); } &&
7293 { ac_try='test -z "$ac_cxx_werror_flag"
7294 || test ! -s conftest.err'
7295 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7298 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7299 (exit $ac_status); }; } &&
7300 { ac_try='test -s conftest.$ac_objext'
7301 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7304 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7305 (exit $ac_status); }; }; then
7308 echo "$as_me: failed program was:" >&5
7309 sed 's/^/| /' conftest.$ac_ext >&5
7312 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
7315 if test -n "$ac_declaration"; then
7316 echo '#ifdef __cplusplus' >>confdefs.h
7317 echo $ac_declaration >>confdefs.h
7318 echo '#endif' >>confdefs.h
7322 ac_cpp='$CPP $CPPFLAGS'
7323 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7324 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7325 ac_compiler_gnu=$ac_cv_c_compiler_gnu
7327 depcc="$CXX" am_compiler_list=
7329 echo "$as_me:$LINENO: checking dependency style of $depcc" >&5
7330 echo $ECHO_N "checking dependency style of $depcc... $ECHO_C" >&6
7331 if test "${am_cv_CXX_dependencies_compiler_type+set}" = set; then
7332 echo $ECHO_N "(cached) $ECHO_C" >&6
7334 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
7335 # We make a subdir and do the tests there. Otherwise we can end up
7336 # making bogus files that we don't know about and never remove. For
7337 # instance it was reported that on HP-UX the gcc test will end up
7338 # making a dummy file named `D' -- because `-MD' means `put the output
7341 # Copy depcomp to subdir because otherwise we won't find it if we're
7342 # using a relative directory.
7343 cp "$am_depcomp" conftest.dir
7345 # We will build objects and dependencies in a subdirectory because
7346 # it helps to detect inapplicable dependency modes. For instance
7347 # both Tru64's cc and ICC support -MD to output dependencies as a
7348 # side effect of compilation, but ICC will put the dependencies in
7349 # the current directory while Tru64 will put them in the object
7353 am_cv_CXX_dependencies_compiler_type=none
7354 if test "$am_compiler_list" = ""; then
7355 am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
7357 for depmode in $am_compiler_list; do
7358 # Setup a source with many dependencies, because some compilers
7359 # like to wrap large dependency lists on column 80 (with \), and
7360 # we should not choose a depcomp mode which is confused by this.
7362 # We need to recreate these files for each test, as the compiler may
7363 # overwrite some of them when testing with obscure command lines.
7364 # This happens at least with the AIX C compiler.
7366 for i in 1 2 3 4 5 6; do
7367 echo '#include "conftst'$i'.h"' >> sub/conftest.c
7368 # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
7369 # Solaris 8's {/usr,}/bin/sh.
7370 touch sub/conftst$i.h
7372 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
7376 # after this tag, mechanisms are not by side-effect, so they'll
7377 # only be used when explicitly requested
7378 if test "x$enable_dependency_tracking" = xyes; then
7386 # We check with `-c' and `-o' for the sake of the "dashmstdout"
7387 # mode. It turns out that the SunPro C++ compiler does not properly
7388 # handle `-M -o', and we need to detect this.
7389 if depmode=$depmode \
7390 source=sub/conftest.c object=sub/conftest.${OBJEXT-o} \
7391 depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
7392 $SHELL ./depcomp $depcc -c -o sub/conftest.${OBJEXT-o} sub/conftest.c \
7393 >/dev/null 2>conftest.err &&
7394 grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
7395 grep sub/conftest.${OBJEXT-o} sub/conftest.Po > /dev/null 2>&1 &&
7396 ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
7397 # icc doesn't choke on unknown options, it will just issue warnings
7398 # or remarks (even with -Werror). So we grep stderr for any message
7399 # that says an option was ignored or not supported.
7400 # When given -MP, icc 7.0 and 7.1 complain thusly:
7401 # icc: Command line warning: ignoring option '-M'; no argument required
7402 # The diagnosis changed in icc 8.0:
7403 # icc: Command line remark: option '-MP' not supported
7404 if (grep 'ignoring option' conftest.err ||
7405 grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
7406 am_cv_CXX_dependencies_compiler_type=$depmode
7415 am_cv_CXX_dependencies_compiler_type=none
7419 echo "$as_me:$LINENO: result: $am_cv_CXX_dependencies_compiler_type" >&5
7420 echo "${ECHO_T}$am_cv_CXX_dependencies_compiler_type" >&6
7421 CXXDEPMODE=depmode=$am_cv_CXX_dependencies_compiler_type
7426 test "x$enable_dependency_tracking" != xno \
7427 && test "$am_cv_CXX_dependencies_compiler_type" = gcc3; then
7428 am__fastdepCXX_TRUE=
7429 am__fastdepCXX_FALSE='#'
7431 am__fastdepCXX_TRUE='#'
7432 am__fastdepCXX_FALSE=
7436 ac_cpp='$CXXCPP $CPPFLAGS'
7437 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7438 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7439 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
7440 echo "$as_me:$LINENO: checking how to run the C++ preprocessor" >&5
7441 echo $ECHO_N "checking how to run the C++ preprocessor... $ECHO_C" >&6
7442 if test -z "$CXXCPP"; then
7443 if test "${ac_cv_prog_CXXCPP+set}" = set; then
7444 echo $ECHO_N "(cached) $ECHO_C" >&6
7446 # Double quotes because CXXCPP needs to be expanded
7447 for CXXCPP in "$CXX -E" "/lib/cpp"
7450 for ac_cxx_preproc_warn_flag in '' yes
7452 # Use a header file that comes with gcc, so configuring glibc
7453 # with a fresh cross-compiler works.
7454 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
7455 # <limits.h> exists even on freestanding compilers.
7456 # On the NeXT, cc -E runs the code through the compiler's parser,
7457 # not just through cpp. "Syntax error" is here to catch this case.
7458 cat >conftest.$ac_ext <<_ACEOF
7461 cat confdefs.h >>conftest.$ac_ext
7462 cat >>conftest.$ac_ext <<_ACEOF
7463 /* end confdefs.h. */
7465 # include <limits.h>
7467 # include <assert.h>
7471 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
7472 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
7474 grep -v '^ *+' conftest.er1 >conftest.err
7476 cat conftest.err >&5
7477 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7478 (exit $ac_status); } >/dev/null; then
7479 if test -s conftest.err; then
7480 ac_cpp_err=$ac_cxx_preproc_warn_flag
7481 ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
7488 if test -z "$ac_cpp_err"; then
7491 echo "$as_me: failed program was:" >&5
7492 sed 's/^/| /' conftest.$ac_ext >&5
7494 # Broken: fails on valid input.
7497 rm -f conftest.err conftest.$ac_ext
7499 # OK, works on sane cases. Now check whether non-existent headers
7500 # can be detected and how.
7501 cat >conftest.$ac_ext <<_ACEOF
7504 cat confdefs.h >>conftest.$ac_ext
7505 cat >>conftest.$ac_ext <<_ACEOF
7506 /* end confdefs.h. */
7507 #include <ac_nonexistent.h>
7509 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
7510 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
7512 grep -v '^ *+' conftest.er1 >conftest.err
7514 cat conftest.err >&5
7515 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7516 (exit $ac_status); } >/dev/null; then
7517 if test -s conftest.err; then
7518 ac_cpp_err=$ac_cxx_preproc_warn_flag
7519 ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
7526 if test -z "$ac_cpp_err"; then
7527 # Broken: success on invalid input.
7530 echo "$as_me: failed program was:" >&5
7531 sed 's/^/| /' conftest.$ac_ext >&5
7533 # Passes both tests.
7537 rm -f conftest.err conftest.$ac_ext
7540 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
7541 rm -f conftest.err conftest.$ac_ext
7542 if $ac_preproc_ok; then
7547 ac_cv_prog_CXXCPP=$CXXCPP
7550 CXXCPP=$ac_cv_prog_CXXCPP
7552 ac_cv_prog_CXXCPP=$CXXCPP
7554 echo "$as_me:$LINENO: result: $CXXCPP" >&5
7555 echo "${ECHO_T}$CXXCPP" >&6
7557 for ac_cxx_preproc_warn_flag in '' yes
7559 # Use a header file that comes with gcc, so configuring glibc
7560 # with a fresh cross-compiler works.
7561 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
7562 # <limits.h> exists even on freestanding compilers.
7563 # On the NeXT, cc -E runs the code through the compiler's parser,
7564 # not just through cpp. "Syntax error" is here to catch this case.
7565 cat >conftest.$ac_ext <<_ACEOF
7568 cat confdefs.h >>conftest.$ac_ext
7569 cat >>conftest.$ac_ext <<_ACEOF
7570 /* end confdefs.h. */
7572 # include <limits.h>
7574 # include <assert.h>
7578 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
7579 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
7581 grep -v '^ *+' conftest.er1 >conftest.err
7583 cat conftest.err >&5
7584 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7585 (exit $ac_status); } >/dev/null; then
7586 if test -s conftest.err; then
7587 ac_cpp_err=$ac_cxx_preproc_warn_flag
7588 ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
7595 if test -z "$ac_cpp_err"; then
7598 echo "$as_me: failed program was:" >&5
7599 sed 's/^/| /' conftest.$ac_ext >&5
7601 # Broken: fails on valid input.
7604 rm -f conftest.err conftest.$ac_ext
7606 # OK, works on sane cases. Now check whether non-existent headers
7607 # can be detected and how.
7608 cat >conftest.$ac_ext <<_ACEOF
7611 cat confdefs.h >>conftest.$ac_ext
7612 cat >>conftest.$ac_ext <<_ACEOF
7613 /* end confdefs.h. */
7614 #include <ac_nonexistent.h>
7616 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
7617 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
7619 grep -v '^ *+' conftest.er1 >conftest.err
7621 cat conftest.err >&5
7622 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7623 (exit $ac_status); } >/dev/null; then
7624 if test -s conftest.err; then
7625 ac_cpp_err=$ac_cxx_preproc_warn_flag
7626 ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
7633 if test -z "$ac_cpp_err"; then
7634 # Broken: success on invalid input.
7637 echo "$as_me: failed program was:" >&5
7638 sed 's/^/| /' conftest.$ac_ext >&5
7640 # Passes both tests.
7644 rm -f conftest.err conftest.$ac_ext
7647 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
7648 rm -f conftest.err conftest.$ac_ext
7649 if $ac_preproc_ok; then
7652 { { echo "$as_me:$LINENO: error: C++ preprocessor \"$CXXCPP\" fails sanity check
7653 See \`config.log' for more details." >&5
7654 echo "$as_me: error: C++ preprocessor \"$CXXCPP\" fails sanity check
7655 See \`config.log' for more details." >&2;}
7656 { (exit 1); exit 1; }; }
7660 ac_cpp='$CPP $CPPFLAGS'
7661 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7662 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7663 ac_compiler_gnu=$ac_cv_c_compiler_gnu
7667 LIBTOOL_DEPS=$LIBTOOL_DEPS" $ac_aux_dir/ltcf-cxx.sh"
7669 lt_save_CFLAGS="$CFLAGS"
7670 AR="$AR" LTCC="$CC" CC="$CXX" CXX="$CXX" CFLAGS="$CXXFLAGS" CPPFLAGS="$CPPFLAGS" \
7671 MAGIC_CMD="$MAGIC_CMD" LD="$LD" LDFLAGS="$LDFLAGS" LIBS="$LIBS" \
7672 LN_S="$LN_S" NM="$NM" RANLIB="$RANLIB" STRIP="$STRIP" \
7673 AS="$AS" DLLTOOL="$DLLTOOL" OBJDUMP="$OBJDUMP" \
7674 objext="$OBJEXT" exeext="$EXEEXT" reload_flag="$reload_flag" \
7675 deplibs_check_method="$deplibs_check_method" \
7676 file_magic_cmd="$file_magic_cmd" \
7677 ${CONFIG_SHELL-/bin/sh} $ac_aux_dir/ltconfig -o libtool $libtool_flags \
7678 --build="$build" --add-tag=CXX $ac_aux_dir/ltcf-cxx.sh $host \
7679 || { { echo "$as_me:$LINENO: error: libtool tag configuration failed" >&5
7680 echo "$as_me: error: libtool tag configuration failed" >&2;}
7681 { (exit 1); exit 1; }; }
7683 CFLAGS="$lt_save_CFLAGS"
7685 # Redirect the config.log output again, so that the ltconfig log is not
7686 # clobbered by the next message.
7687 exec 5>>./config.log
7692 # Handle -Werror default case.
7693 if test "$ENABLE_WERROR" = default; then
7696 if test "$GCC" = yes; then
7703 if test "x${COMPILE_COLLECTIONS}" = xyes; then
7704 # Extract the first word of "perl", so it can be a program name with args.
7705 set dummy perl; ac_word=$2
7706 echo "$as_me:$LINENO: checking for $ac_word" >&5
7707 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
7708 if test "${ac_cv_path_PERL+set}" = set; then
7709 echo $ECHO_N "(cached) $ECHO_C" >&6
7713 ac_cv_path_PERL="$PERL" # Let the user override the test with a path.
7716 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7720 test -z "$as_dir" && as_dir=.
7721 for ac_exec_ext in '' $ac_executable_extensions; do
7722 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7723 ac_cv_path_PERL="$as_dir/$ac_word$ac_exec_ext"
7724 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
7733 PERL=$ac_cv_path_PERL
7735 if test -n "$PERL"; then
7736 echo "$as_me:$LINENO: result: $PERL" >&5
7737 echo "${ECHO_T}$PERL" >&6
7739 echo "$as_me:$LINENO: result: no" >&5
7740 echo "${ECHO_T}no" >&6
7745 ac_config_files="$ac_config_files lib/mkcollections.pl"
7747 ac_config_commands="$ac_config_commands mkcollections.pl"
7751 if test "x${COMPILE_JNI}" = xyes; then
7755 echo "$as_me:$LINENO: checking __attribute__((,,))" >&5
7756 echo $ECHO_N "checking __attribute__((,,))... $ECHO_C" >&6
7757 if test "${cv_c_gcc_attribute_supported+set}" = set; then
7758 echo $ECHO_N "(cached) $ECHO_C" >&6
7761 cat >conftest.$ac_ext <<_ACEOF
7764 cat confdefs.h >>conftest.$ac_ext
7765 cat >>conftest.$ac_ext <<_ACEOF
7766 /* end confdefs.h. */
7771 extern int testfunction(int x) __attribute__((,,))
7776 rm -f conftest.$ac_objext
7777 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7778 (eval $ac_compile) 2>conftest.er1
7780 grep -v '^ *+' conftest.er1 >conftest.err
7782 cat conftest.err >&5
7783 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7784 (exit $ac_status); } &&
7785 { ac_try='test -z "$ac_c_werror_flag"
7786 || test ! -s conftest.err'
7787 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7790 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7791 (exit $ac_status); }; } &&
7792 { ac_try='test -s conftest.$ac_objext'
7793 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7796 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7797 (exit $ac_status); }; }; then
7798 cv_c_gcc_attribute_supported=yes
7800 echo "$as_me: failed program was:" >&5
7801 sed 's/^/| /' conftest.$ac_ext >&5
7803 cv_c_gcc_attribute_supported=no
7805 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
7809 if test "x$cv_c_gcc_attribute_supported" = xyes; then
7811 echo "$as_me:$LINENO: result: yes" >&5
7812 echo "${ECHO_T}yes" >&6
7814 cat >>confdefs.h <<\_ACEOF
7815 #define HAVE_GNUC25_ATTRIB
7821 echo "$as_me:$LINENO: result: no" >&5
7822 echo "${ECHO_T}no" >&6
7835 echo "$as_me:$LINENO: checking __attribute__((unused))" >&5
7836 echo $ECHO_N "checking __attribute__((unused))... $ECHO_C" >&6
7837 if test "${cv_c_gcc_attribute_unused+set}" = set; then
7838 echo $ECHO_N "(cached) $ECHO_C" >&6
7841 cat >conftest.$ac_ext <<_ACEOF
7844 cat confdefs.h >>conftest.$ac_ext
7845 cat >>conftest.$ac_ext <<_ACEOF
7846 /* end confdefs.h. */
7851 extern int testfunction(int x) __attribute__((unused))
7856 rm -f conftest.$ac_objext
7857 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7858 (eval $ac_compile) 2>conftest.er1
7860 grep -v '^ *+' conftest.er1 >conftest.err
7862 cat conftest.err >&5
7863 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7864 (exit $ac_status); } &&
7865 { ac_try='test -z "$ac_c_werror_flag"
7866 || test ! -s conftest.err'
7867 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7870 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7871 (exit $ac_status); }; } &&
7872 { ac_try='test -s conftest.$ac_objext'
7873 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7876 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7877 (exit $ac_status); }; }; then
7878 cv_c_gcc_attribute_unused=yes
7880 echo "$as_me: failed program was:" >&5
7881 sed 's/^/| /' conftest.$ac_ext >&5
7883 cv_c_gcc_attribute_unused=no
7885 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
7889 if test "x$cv_c_gcc_attribute_unused" = xyes; then
7891 echo "$as_me:$LINENO: result: yes" >&5
7892 echo "${ECHO_T}yes" >&6
7894 cat >>confdefs.h <<\_ACEOF
7895 #define HAVE_GNUC25_UNUSED
7901 echo "$as_me:$LINENO: result: no" >&5
7902 echo "${ECHO_T}no" >&6
7911 echo "$as_me:$LINENO: checking for ANSI C header files" >&5
7912 echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6
7913 if test "${ac_cv_header_stdc+set}" = set; then
7914 echo $ECHO_N "(cached) $ECHO_C" >&6
7916 cat >conftest.$ac_ext <<_ACEOF
7919 cat confdefs.h >>conftest.$ac_ext
7920 cat >>conftest.$ac_ext <<_ACEOF
7921 /* end confdefs.h. */
7935 rm -f conftest.$ac_objext
7936 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7937 (eval $ac_compile) 2>conftest.er1
7939 grep -v '^ *+' conftest.er1 >conftest.err
7941 cat conftest.err >&5
7942 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7943 (exit $ac_status); } &&
7944 { ac_try='test -z "$ac_c_werror_flag"
7945 || test ! -s conftest.err'
7946 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7949 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7950 (exit $ac_status); }; } &&
7951 { ac_try='test -s conftest.$ac_objext'
7952 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7955 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7956 (exit $ac_status); }; }; then
7957 ac_cv_header_stdc=yes
7959 echo "$as_me: failed program was:" >&5
7960 sed 's/^/| /' conftest.$ac_ext >&5
7962 ac_cv_header_stdc=no
7964 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
7966 if test $ac_cv_header_stdc = yes; then
7967 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
7968 cat >conftest.$ac_ext <<_ACEOF
7971 cat confdefs.h >>conftest.$ac_ext
7972 cat >>conftest.$ac_ext <<_ACEOF
7973 /* end confdefs.h. */
7977 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
7978 $EGREP "memchr" >/dev/null 2>&1; then
7981 ac_cv_header_stdc=no
7987 if test $ac_cv_header_stdc = yes; then
7988 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
7989 cat >conftest.$ac_ext <<_ACEOF
7992 cat confdefs.h >>conftest.$ac_ext
7993 cat >>conftest.$ac_ext <<_ACEOF
7994 /* end confdefs.h. */
7998 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
7999 $EGREP "free" >/dev/null 2>&1; then
8002 ac_cv_header_stdc=no
8008 if test $ac_cv_header_stdc = yes; then
8009 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
8010 if test "$cross_compiling" = yes; then
8013 cat >conftest.$ac_ext <<_ACEOF
8016 cat confdefs.h >>conftest.$ac_ext
8017 cat >>conftest.$ac_ext <<_ACEOF
8018 /* end confdefs.h. */
8020 #if ((' ' & 0x0FF) == 0x020)
8021 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
8022 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
8024 # define ISLOWER(c) \
8025 (('a' <= (c) && (c) <= 'i') \
8026 || ('j' <= (c) && (c) <= 'r') \
8027 || ('s' <= (c) && (c) <= 'z'))
8028 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
8031 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
8036 for (i = 0; i < 256; i++)
8037 if (XOR (islower (i), ISLOWER (i))
8038 || toupper (i) != TOUPPER (i))
8043 rm -f conftest$ac_exeext
8044 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8045 (eval $ac_link) 2>&5
8047 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8048 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
8049 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8052 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8053 (exit $ac_status); }; }; then
8056 echo "$as_me: program exited with status $ac_status" >&5
8057 echo "$as_me: failed program was:" >&5
8058 sed 's/^/| /' conftest.$ac_ext >&5
8061 ac_cv_header_stdc=no
8063 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
8067 echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
8068 echo "${ECHO_T}$ac_cv_header_stdc" >&6
8069 if test $ac_cv_header_stdc = yes; then
8071 cat >>confdefs.h <<\_ACEOF
8072 #define STDC_HEADERS 1
8078 echo "$as_me:$LINENO: checking size of void *" >&5
8079 echo $ECHO_N "checking size of void *... $ECHO_C" >&6
8080 if test "${ac_cv_sizeof_void_p+set}" = set; then
8081 echo $ECHO_N "(cached) $ECHO_C" >&6
8083 for ac_size in 4 8 1 2 16 12 ; do # List sizes in rough order of prevalence.
8084 cat >conftest.$ac_ext <<_ACEOF
8087 cat confdefs.h >>conftest.$ac_ext
8088 cat >>conftest.$ac_ext <<_ACEOF
8089 /* end confdefs.h. */
8090 #include "confdefs.h"
8091 #include <sys/types.h>
8097 switch (0) case 0: case (sizeof (void *) == $ac_size):;
8102 rm -f conftest.$ac_objext
8103 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
8104 (eval $ac_compile) 2>conftest.er1
8106 grep -v '^ *+' conftest.er1 >conftest.err
8108 cat conftest.err >&5
8109 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8110 (exit $ac_status); } &&
8111 { ac_try='test -z "$ac_c_werror_flag"
8112 || test ! -s conftest.err'
8113 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8116 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8117 (exit $ac_status); }; } &&
8118 { ac_try='test -s conftest.$ac_objext'
8119 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8122 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8123 (exit $ac_status); }; }; then
8124 ac_cv_sizeof_void_p=$ac_size
8126 echo "$as_me: failed program was:" >&5
8127 sed 's/^/| /' conftest.$ac_ext >&5
8130 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
8131 if test x$ac_cv_sizeof_void_p != x ; then break; fi
8136 if test x$ac_cv_sizeof_void_p = x ; then
8137 { { echo "$as_me:$LINENO: error: cannot determine a size for void *" >&5
8138 echo "$as_me: error: cannot determine a size for void *" >&2;}
8139 { (exit 1); exit 1; }; }
8141 echo "$as_me:$LINENO: result: $ac_cv_sizeof_void_p" >&5
8142 echo "${ECHO_T}$ac_cv_sizeof_void_p" >&6
8144 cat >>confdefs.h <<_ACEOF
8145 #define SIZEOF_VOID_P $ac_cv_sizeof_void_p
8150 echo "$as_me:$LINENO: checking whether byte ordering is bigendian" >&5
8151 echo $ECHO_N "checking whether byte ordering is bigendian... $ECHO_C" >&6
8152 if test "${ac_cv_c_bigendian+set}" = set; then
8153 echo $ECHO_N "(cached) $ECHO_C" >&6
8155 ac_cv_c_bigendian=unknown
8156 # See if sys/param.h defines the BYTE_ORDER macro.
8157 cat >conftest.$ac_ext <<_ACEOF
8160 cat confdefs.h >>conftest.$ac_ext
8161 cat >>conftest.$ac_ext <<_ACEOF
8162 /* end confdefs.h. */
8163 #include <sys/types.h>
8164 #include <sys/param.h>
8169 #if !BYTE_ORDER || !BIG_ENDIAN || !LITTLE_ENDIAN
8176 rm -f conftest.$ac_objext
8177 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
8178 (eval $ac_compile) 2>conftest.er1
8180 grep -v '^ *+' conftest.er1 >conftest.err
8182 cat conftest.err >&5
8183 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8184 (exit $ac_status); } &&
8185 { ac_try='test -z "$ac_c_werror_flag"
8186 || test ! -s conftest.err'
8187 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8190 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8191 (exit $ac_status); }; } &&
8192 { ac_try='test -s conftest.$ac_objext'
8193 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8196 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8197 (exit $ac_status); }; }; then
8198 # It does; now see whether it defined to BIG_ENDIAN or not.
8199 cat >conftest.$ac_ext <<_ACEOF
8202 cat confdefs.h >>conftest.$ac_ext
8203 cat >>conftest.$ac_ext <<_ACEOF
8204 /* end confdefs.h. */
8205 #include <sys/types.h>
8206 #include <sys/param.h>
8211 #if BYTE_ORDER != BIG_ENDIAN
8218 rm -f conftest.$ac_objext
8219 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
8220 (eval $ac_compile) 2>conftest.er1
8222 grep -v '^ *+' conftest.er1 >conftest.err
8224 cat conftest.err >&5
8225 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8226 (exit $ac_status); } &&
8227 { ac_try='test -z "$ac_c_werror_flag"
8228 || test ! -s conftest.err'
8229 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8232 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8233 (exit $ac_status); }; } &&
8234 { ac_try='test -s conftest.$ac_objext'
8235 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8238 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8239 (exit $ac_status); }; }; then
8240 ac_cv_c_bigendian=yes
8242 echo "$as_me: failed program was:" >&5
8243 sed 's/^/| /' conftest.$ac_ext >&5
8245 ac_cv_c_bigendian=no
8247 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
8249 echo "$as_me: failed program was:" >&5
8250 sed 's/^/| /' conftest.$ac_ext >&5
8253 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
8254 if test $ac_cv_c_bigendian = unknown; then
8255 if test "$cross_compiling" = yes; then
8256 echo $ac_n "cross-compiling... " 2>&6
8258 cat >conftest.$ac_ext <<_ACEOF
8261 cat confdefs.h >>conftest.$ac_ext
8262 cat >>conftest.$ac_ext <<_ACEOF
8263 /* end confdefs.h. */
8265 /* Are we little or big endian? From Harbison&Steele. */
8269 char c[sizeof (long)];
8272 exit (u.c[sizeof (long) - 1] == 1);
8275 rm -f conftest$ac_exeext
8276 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8277 (eval $ac_link) 2>&5
8279 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8280 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
8281 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8284 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8285 (exit $ac_status); }; }; then
8286 ac_cv_c_bigendian=no
8288 echo "$as_me: program exited with status $ac_status" >&5
8289 echo "$as_me: failed program was:" >&5
8290 sed 's/^/| /' conftest.$ac_ext >&5
8293 ac_cv_c_bigendian=yes
8295 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
8299 echo "$as_me:$LINENO: result: $ac_cv_c_bigendian" >&5
8300 echo "${ECHO_T}$ac_cv_c_bigendian" >&6
8301 if test $ac_cv_c_bigendian = unknown; then
8302 echo "$as_me:$LINENO: checking to probe for byte ordering" >&5
8303 echo $ECHO_N "checking to probe for byte ordering... $ECHO_C" >&6
8305 cat >conftest.c <<EOF
8306 short ascii_mm[] = { 0x4249, 0x4765, 0x6E44, 0x6961, 0x6E53, 0x7953, 0 };
8307 short ascii_ii[] = { 0x694C, 0x5454, 0x656C, 0x6E45, 0x6944, 0x6E61, 0 };
8308 void _ascii() { char* s = (char*) ascii_mm; s = (char*) ascii_ii; }
8309 short ebcdic_ii[] = { 0x89D3, 0xE3E3, 0x8593, 0x95C5, 0x89C4, 0x9581, 0 };
8310 short ebcdic_mm[] = { 0xC2C9, 0xC785, 0x95C4, 0x8981, 0x95E2, 0xA8E2, 0 };
8311 void _ebcdic() { char* s = (char*) ebcdic_mm; s = (char*) ebcdic_ii; }
8312 int main() { _ascii (); _ebcdic (); return 0; }
8314 if test -f conftest.c ; then
8315 if ${CC-cc} ${CFLAGS} -c conftest.c -o conftest.o && test -f conftest.o ; then
8316 if test `grep -l BIGenDianSyS conftest.o` ; then
8317 echo $ac_n ' big endian probe OK, ' 1>&6
8318 ac_cv_c_bigendian=yes
8320 if test `grep -l LiTTleEnDian conftest.o` ; then
8321 echo $ac_n ' little endian probe OK, ' 1>&6
8322 if test $ac_cv_c_bigendian = yes ; then
8323 ac_cv_c_bigendian=unknown;
8325 ac_cv_c_bigendian=no
8328 echo $ac_n 'guessing bigendian ... ' >&6
8331 echo "$as_me:$LINENO: result: $ac_cv_c_bigendian" >&5
8332 echo "${ECHO_T}$ac_cv_c_bigendian" >&6
8334 if test $ac_cv_c_bigendian = yes; then
8336 cat >>confdefs.h <<\_ACEOF
8337 #define WORDS_BIGENDIAN 1
8341 cat >>confdefs.h <<\_ACEOF
8342 #define HOST_WORDS_BIG_ENDIAN 1
8350 cat >>confdefs.h <<_ACEOF
8351 #define BYTEORDER $BYTEORDER
8354 if test $ac_cv_c_bigendian = unknown; then
8355 { { echo "$as_me:$LINENO: error: unknown endianess - sorry, please pre-set ac_cv_c_bigendian" >&5
8356 echo "$as_me: error: unknown endianess - sorry, please pre-set ac_cv_c_bigendian" >&2;}
8357 { (exit 1); exit 1; }; }
8380 for ac_header in unistd.h sys/types.h sys/config.h sys/ioctl.h \
8382 inttypes.h stdint.h utime.h sys/utime.h sys/filio.h \
8389 sys/event.h sys/epoll.h \
8392 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
8393 if eval "test \"\${$as_ac_Header+set}\" = set"; then
8394 echo "$as_me:$LINENO: checking for $ac_header" >&5
8395 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
8396 if eval "test \"\${$as_ac_Header+set}\" = set"; then
8397 echo $ECHO_N "(cached) $ECHO_C" >&6
8399 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
8400 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
8402 # Is the header compilable?
8403 echo "$as_me:$LINENO: checking $ac_header usability" >&5
8404 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
8405 cat >conftest.$ac_ext <<_ACEOF
8408 cat confdefs.h >>conftest.$ac_ext
8409 cat >>conftest.$ac_ext <<_ACEOF
8410 /* end confdefs.h. */
8411 $ac_includes_default
8412 #include <$ac_header>
8414 rm -f conftest.$ac_objext
8415 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
8416 (eval $ac_compile) 2>conftest.er1
8418 grep -v '^ *+' conftest.er1 >conftest.err
8420 cat conftest.err >&5
8421 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8422 (exit $ac_status); } &&
8423 { ac_try='test -z "$ac_c_werror_flag"
8424 || test ! -s conftest.err'
8425 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8428 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8429 (exit $ac_status); }; } &&
8430 { ac_try='test -s conftest.$ac_objext'
8431 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8434 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8435 (exit $ac_status); }; }; then
8436 ac_header_compiler=yes
8438 echo "$as_me: failed program was:" >&5
8439 sed 's/^/| /' conftest.$ac_ext >&5
8441 ac_header_compiler=no
8443 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
8444 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
8445 echo "${ECHO_T}$ac_header_compiler" >&6
8447 # Is the header present?
8448 echo "$as_me:$LINENO: checking $ac_header presence" >&5
8449 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
8450 cat >conftest.$ac_ext <<_ACEOF
8453 cat confdefs.h >>conftest.$ac_ext
8454 cat >>conftest.$ac_ext <<_ACEOF
8455 /* end confdefs.h. */
8456 #include <$ac_header>
8458 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
8459 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
8461 grep -v '^ *+' conftest.er1 >conftest.err
8463 cat conftest.err >&5
8464 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8465 (exit $ac_status); } >/dev/null; then
8466 if test -s conftest.err; then
8467 ac_cpp_err=$ac_c_preproc_warn_flag
8468 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
8475 if test -z "$ac_cpp_err"; then
8476 ac_header_preproc=yes
8478 echo "$as_me: failed program was:" >&5
8479 sed 's/^/| /' conftest.$ac_ext >&5
8481 ac_header_preproc=no
8483 rm -f conftest.err conftest.$ac_ext
8484 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
8485 echo "${ECHO_T}$ac_header_preproc" >&6
8487 # So? What about this header?
8488 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
8490 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
8491 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
8492 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
8493 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
8494 ac_header_preproc=yes
8497 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
8498 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
8499 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
8500 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
8501 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
8502 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
8503 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
8504 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
8505 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
8506 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
8507 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
8508 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
8511 ## -------------------------------- ##
8512 ## Report this to classpath@gnu.org ##
8513 ## -------------------------------- ##
8516 sed "s/^/$as_me: WARNING: /" >&2
8519 echo "$as_me:$LINENO: checking for $ac_header" >&5
8520 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
8521 if eval "test \"\${$as_ac_Header+set}\" = set"; then
8522 echo $ECHO_N "(cached) $ECHO_C" >&6
8524 eval "$as_ac_Header=\$ac_header_preproc"
8526 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
8527 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
8530 if test `eval echo '${'$as_ac_Header'}'` = yes; then
8531 cat >>confdefs.h <<_ACEOF
8532 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
8540 cat >conftest.$ac_ext <<_ACEOF
8543 cat confdefs.h >>conftest.$ac_ext
8544 cat >>conftest.$ac_ext <<_ACEOF
8545 /* end confdefs.h. */
8549 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
8550 $EGREP "uint32_t" >/dev/null 2>&1; then
8552 cat >>confdefs.h <<\_ACEOF
8553 #define HAVE_INT32_DEFINED 1
8559 cat >conftest.$ac_ext <<_ACEOF
8562 cat confdefs.h >>conftest.$ac_ext
8563 cat >>conftest.$ac_ext <<_ACEOF
8564 /* end confdefs.h. */
8565 #include <inttypes.h>
8568 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
8569 $EGREP "uint32_t" >/dev/null 2>&1; then
8571 cat >>confdefs.h <<\_ACEOF
8572 #define HAVE_INT32_DEFINED 1
8578 cat >conftest.$ac_ext <<_ACEOF
8581 cat confdefs.h >>conftest.$ac_ext
8582 cat >>conftest.$ac_ext <<_ACEOF
8583 /* end confdefs.h. */
8584 #include <sys/types.h>
8587 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
8588 $EGREP "u_int32_t" >/dev/null 2>&1; then
8590 cat >>confdefs.h <<\_ACEOF
8591 #define HAVE_BSD_INT32_DEFINED 1
8597 cat >conftest.$ac_ext <<_ACEOF
8600 cat confdefs.h >>conftest.$ac_ext
8601 cat >>conftest.$ac_ext <<_ACEOF
8602 /* end confdefs.h. */
8603 #include <sys/config.h>
8606 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
8607 $EGREP "u_int32_t" >/dev/null 2>&1; then
8609 cat >>confdefs.h <<\_ACEOF
8610 #define HAVE_BSD_INT32_DEFINED 1
8671 for ac_func in ftruncate fsync select \
8672 gethostname socket strerror fork pipe execve open close \
8673 lseek fstat read readv write writev htonl memset htons connect \
8674 getsockname getpeername bind listen accept \
8675 recvfrom send sendto setsockopt getsockopt time mktime \
8676 gethostbyname_r localtime_r \
8679 mmap munmap mincore msync madvise getpagesize sysconf \
8681 inet_aton inet_addr inet_pton \
8682 getifaddrs kqueue kevent epoll_create \
8685 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
8686 echo "$as_me:$LINENO: checking for $ac_func" >&5
8687 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
8688 if eval "test \"\${$as_ac_var+set}\" = set"; then
8689 echo $ECHO_N "(cached) $ECHO_C" >&6
8691 if test x$gcc_no_link = xyes; then
8692 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
8693 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
8694 { (exit 1); exit 1; }; }
8696 cat >conftest.$ac_ext <<_ACEOF
8699 cat confdefs.h >>conftest.$ac_ext
8700 cat >>conftest.$ac_ext <<_ACEOF
8701 /* end confdefs.h. */
8702 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
8703 For example, HP-UX 11i <limits.h> declares gettimeofday. */
8704 #define $ac_func innocuous_$ac_func
8706 /* System header to define __stub macros and hopefully few prototypes,
8707 which can conflict with char $ac_func (); below.
8708 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
8709 <limits.h> exists even on freestanding compilers. */
8712 # include <limits.h>
8714 # include <assert.h>
8719 /* Override any gcc2 internal prototype to avoid an error. */
8724 /* We use char because int might match the return type of a gcc2
8725 builtin and then its argument prototype would still apply. */
8727 /* The GNU C library defines this for functions which it implements
8728 to always fail with ENOSYS. Some functions are actually named
8729 something starting with __ and the normal name is an alias. */
8730 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
8733 char (*f) () = $ac_func;
8742 return f != $ac_func;
8747 rm -f conftest.$ac_objext conftest$ac_exeext
8748 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8749 (eval $ac_link) 2>conftest.er1
8751 grep -v '^ *+' conftest.er1 >conftest.err
8753 cat conftest.err >&5
8754 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8755 (exit $ac_status); } &&
8756 { ac_try='test -z "$ac_c_werror_flag"
8757 || test ! -s conftest.err'
8758 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8761 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8762 (exit $ac_status); }; } &&
8763 { ac_try='test -s conftest$ac_exeext'
8764 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8767 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8768 (exit $ac_status); }; }; then
8769 eval "$as_ac_var=yes"
8771 echo "$as_me: failed program was:" >&5
8772 sed 's/^/| /' conftest.$ac_ext >&5
8774 eval "$as_ac_var=no"
8776 rm -f conftest.err conftest.$ac_objext \
8777 conftest$ac_exeext conftest.$ac_ext
8779 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
8780 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
8781 if test `eval echo '${'$as_ac_var'}'` = yes; then
8782 cat >>confdefs.h <<_ACEOF
8783 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
8791 echo "$as_me:$LINENO: checking for magic_open in -lmagic" >&5
8792 echo $ECHO_N "checking for magic_open in -lmagic... $ECHO_C" >&6
8793 if test "${ac_cv_lib_magic_magic_open+set}" = set; then
8794 echo $ECHO_N "(cached) $ECHO_C" >&6
8796 ac_check_lib_save_LIBS=$LIBS
8797 LIBS="-lmagic $LIBS"
8798 if test x$gcc_no_link = xyes; then
8799 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
8800 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
8801 { (exit 1); exit 1; }; }
8803 cat >conftest.$ac_ext <<_ACEOF
8806 cat confdefs.h >>conftest.$ac_ext
8807 cat >>conftest.$ac_ext <<_ACEOF
8808 /* end confdefs.h. */
8810 /* Override any gcc2 internal prototype to avoid an error. */
8814 /* We use char because int might match the return type of a gcc2
8815 builtin and then its argument prototype would still apply. */
8825 rm -f conftest.$ac_objext conftest$ac_exeext
8826 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8827 (eval $ac_link) 2>conftest.er1
8829 grep -v '^ *+' conftest.er1 >conftest.err
8831 cat conftest.err >&5
8832 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8833 (exit $ac_status); } &&
8834 { ac_try='test -z "$ac_c_werror_flag"
8835 || test ! -s conftest.err'
8836 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8839 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8840 (exit $ac_status); }; } &&
8841 { ac_try='test -s conftest$ac_exeext'
8842 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8845 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8846 (exit $ac_status); }; }; then
8847 ac_cv_lib_magic_magic_open=yes
8849 echo "$as_me: failed program was:" >&5
8850 sed 's/^/| /' conftest.$ac_ext >&5
8852 ac_cv_lib_magic_magic_open=no
8854 rm -f conftest.err conftest.$ac_objext \
8855 conftest$ac_exeext conftest.$ac_ext
8856 LIBS=$ac_check_lib_save_LIBS
8858 echo "$as_me:$LINENO: result: $ac_cv_lib_magic_magic_open" >&5
8859 echo "${ECHO_T}$ac_cv_lib_magic_magic_open" >&6
8860 if test $ac_cv_lib_magic_magic_open = yes; then
8866 echo "$as_me:$LINENO: checking whether struct sockaddr_in6 is in netinet/in.h" >&5
8867 echo $ECHO_N "checking whether struct sockaddr_in6 is in netinet/in.h... $ECHO_C" >&6
8868 cat >conftest.$ac_ext <<_ACEOF
8871 cat confdefs.h >>conftest.$ac_ext
8872 cat >>conftest.$ac_ext <<_ACEOF
8873 /* end confdefs.h. */
8874 #include <netinet/in.h>
8878 struct sockaddr_in6 addr6;
8883 rm -f conftest.$ac_objext
8884 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
8885 (eval $ac_compile) 2>conftest.er1
8887 grep -v '^ *+' conftest.er1 >conftest.err
8889 cat conftest.err >&5
8890 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8891 (exit $ac_status); } &&
8892 { ac_try='test -z "$ac_c_werror_flag"
8893 || test ! -s conftest.err'
8894 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8897 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8898 (exit $ac_status); }; } &&
8899 { ac_try='test -s conftest.$ac_objext'
8900 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8903 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8904 (exit $ac_status); }; }; then
8906 cat >>confdefs.h <<\_ACEOF
8907 #define HAVE_INET6 1
8910 echo "$as_me:$LINENO: result: yes" >&5
8911 echo "${ECHO_T}yes" >&6
8913 echo "$as_me: failed program was:" >&5
8914 sed 's/^/| /' conftest.$ac_ext >&5
8916 echo "$as_me:$LINENO: result: no" >&5
8917 echo "${ECHO_T}no" >&6
8919 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
8921 echo "$as_me:$LINENO: checking whether time.h and sys/time.h may both be included" >&5
8922 echo $ECHO_N "checking whether time.h and sys/time.h may both be included... $ECHO_C" >&6
8923 if test "${ac_cv_header_time+set}" = set; then
8924 echo $ECHO_N "(cached) $ECHO_C" >&6
8926 cat >conftest.$ac_ext <<_ACEOF
8929 cat confdefs.h >>conftest.$ac_ext
8930 cat >>conftest.$ac_ext <<_ACEOF
8931 /* end confdefs.h. */
8932 #include <sys/types.h>
8933 #include <sys/time.h>
8939 if ((struct tm *) 0)
8945 rm -f conftest.$ac_objext
8946 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
8947 (eval $ac_compile) 2>conftest.er1
8949 grep -v '^ *+' conftest.er1 >conftest.err
8951 cat conftest.err >&5
8952 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8953 (exit $ac_status); } &&
8954 { ac_try='test -z "$ac_c_werror_flag"
8955 || test ! -s conftest.err'
8956 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8959 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8960 (exit $ac_status); }; } &&
8961 { ac_try='test -s conftest.$ac_objext'
8962 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8965 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8966 (exit $ac_status); }; }; then
8967 ac_cv_header_time=yes
8969 echo "$as_me: failed program was:" >&5
8970 sed 's/^/| /' conftest.$ac_ext >&5
8972 ac_cv_header_time=no
8974 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
8976 echo "$as_me:$LINENO: result: $ac_cv_header_time" >&5
8977 echo "${ECHO_T}$ac_cv_header_time" >&6
8978 if test $ac_cv_header_time = yes; then
8980 cat >>confdefs.h <<\_ACEOF
8981 #define TIME_WITH_SYS_TIME 1
8986 echo "$as_me:$LINENO: checking whether struct tm is in sys/time.h or time.h" >&5
8987 echo $ECHO_N "checking whether struct tm is in sys/time.h or time.h... $ECHO_C" >&6
8988 if test "${ac_cv_struct_tm+set}" = set; then
8989 echo $ECHO_N "(cached) $ECHO_C" >&6
8991 cat >conftest.$ac_ext <<_ACEOF
8994 cat confdefs.h >>conftest.$ac_ext
8995 cat >>conftest.$ac_ext <<_ACEOF
8996 /* end confdefs.h. */
8997 #include <sys/types.h>
9003 struct tm *tp; tp->tm_sec;
9008 rm -f conftest.$ac_objext
9009 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
9010 (eval $ac_compile) 2>conftest.er1
9012 grep -v '^ *+' conftest.er1 >conftest.err
9014 cat conftest.err >&5
9015 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9016 (exit $ac_status); } &&
9017 { ac_try='test -z "$ac_c_werror_flag"
9018 || test ! -s conftest.err'
9019 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9022 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9023 (exit $ac_status); }; } &&
9024 { ac_try='test -s conftest.$ac_objext'
9025 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9028 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9029 (exit $ac_status); }; }; then
9030 ac_cv_struct_tm=time.h
9032 echo "$as_me: failed program was:" >&5
9033 sed 's/^/| /' conftest.$ac_ext >&5
9035 ac_cv_struct_tm=sys/time.h
9037 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
9039 echo "$as_me:$LINENO: result: $ac_cv_struct_tm" >&5
9040 echo "${ECHO_T}$ac_cv_struct_tm" >&6
9041 if test $ac_cv_struct_tm = sys/time.h; then
9043 cat >>confdefs.h <<\_ACEOF
9044 #define TM_IN_SYS_TIME 1
9049 echo "$as_me:$LINENO: checking for struct tm.tm_zone" >&5
9050 echo $ECHO_N "checking for struct tm.tm_zone... $ECHO_C" >&6
9051 if test "${ac_cv_member_struct_tm_tm_zone+set}" = set; then
9052 echo $ECHO_N "(cached) $ECHO_C" >&6
9054 cat >conftest.$ac_ext <<_ACEOF
9057 cat confdefs.h >>conftest.$ac_ext
9058 cat >>conftest.$ac_ext <<_ACEOF
9059 /* end confdefs.h. */
9060 #include <sys/types.h>
9061 #include <$ac_cv_struct_tm>
9067 static struct tm ac_aggr;
9068 if (ac_aggr.tm_zone)
9074 rm -f conftest.$ac_objext
9075 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
9076 (eval $ac_compile) 2>conftest.er1
9078 grep -v '^ *+' conftest.er1 >conftest.err
9080 cat conftest.err >&5
9081 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9082 (exit $ac_status); } &&
9083 { ac_try='test -z "$ac_c_werror_flag"
9084 || test ! -s conftest.err'
9085 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9088 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9089 (exit $ac_status); }; } &&
9090 { ac_try='test -s conftest.$ac_objext'
9091 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9094 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9095 (exit $ac_status); }; }; then
9096 ac_cv_member_struct_tm_tm_zone=yes
9098 echo "$as_me: failed program was:" >&5
9099 sed 's/^/| /' conftest.$ac_ext >&5
9101 cat >conftest.$ac_ext <<_ACEOF
9104 cat confdefs.h >>conftest.$ac_ext
9105 cat >>conftest.$ac_ext <<_ACEOF
9106 /* end confdefs.h. */
9107 #include <sys/types.h>
9108 #include <$ac_cv_struct_tm>
9114 static struct tm ac_aggr;
9115 if (sizeof ac_aggr.tm_zone)
9121 rm -f conftest.$ac_objext
9122 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
9123 (eval $ac_compile) 2>conftest.er1
9125 grep -v '^ *+' conftest.er1 >conftest.err
9127 cat conftest.err >&5
9128 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9129 (exit $ac_status); } &&
9130 { ac_try='test -z "$ac_c_werror_flag"
9131 || test ! -s conftest.err'
9132 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9135 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9136 (exit $ac_status); }; } &&
9137 { ac_try='test -s conftest.$ac_objext'
9138 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9141 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9142 (exit $ac_status); }; }; then
9143 ac_cv_member_struct_tm_tm_zone=yes
9145 echo "$as_me: failed program was:" >&5
9146 sed 's/^/| /' conftest.$ac_ext >&5
9148 ac_cv_member_struct_tm_tm_zone=no
9150 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
9152 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
9154 echo "$as_me:$LINENO: result: $ac_cv_member_struct_tm_tm_zone" >&5
9155 echo "${ECHO_T}$ac_cv_member_struct_tm_tm_zone" >&6
9156 if test $ac_cv_member_struct_tm_tm_zone = yes; then
9158 cat >>confdefs.h <<_ACEOF
9159 #define HAVE_STRUCT_TM_TM_ZONE 1
9165 if test "$ac_cv_member_struct_tm_tm_zone" = yes; then
9167 cat >>confdefs.h <<\_ACEOF
9168 #define HAVE_TM_ZONE 1
9172 echo "$as_me:$LINENO: checking for tzname" >&5
9173 echo $ECHO_N "checking for tzname... $ECHO_C" >&6
9174 if test "${ac_cv_var_tzname+set}" = set; then
9175 echo $ECHO_N "(cached) $ECHO_C" >&6
9177 if test x$gcc_no_link = xyes; then
9178 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
9179 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
9180 { (exit 1); exit 1; }; }
9182 cat >conftest.$ac_ext <<_ACEOF
9185 cat confdefs.h >>conftest.$ac_ext
9186 cat >>conftest.$ac_ext <<_ACEOF
9187 /* end confdefs.h. */
9189 #ifndef tzname /* For SGI. */
9190 extern char *tzname[]; /* RS6000 and others reject char **tzname. */
9201 rm -f conftest.$ac_objext conftest$ac_exeext
9202 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
9203 (eval $ac_link) 2>conftest.er1
9205 grep -v '^ *+' conftest.er1 >conftest.err
9207 cat conftest.err >&5
9208 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9209 (exit $ac_status); } &&
9210 { ac_try='test -z "$ac_c_werror_flag"
9211 || test ! -s conftest.err'
9212 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9215 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9216 (exit $ac_status); }; } &&
9217 { ac_try='test -s conftest$ac_exeext'
9218 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9221 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9222 (exit $ac_status); }; }; then
9223 ac_cv_var_tzname=yes
9225 echo "$as_me: failed program was:" >&5
9226 sed 's/^/| /' conftest.$ac_ext >&5
9230 rm -f conftest.err conftest.$ac_objext \
9231 conftest$ac_exeext conftest.$ac_ext
9233 echo "$as_me:$LINENO: result: $ac_cv_var_tzname" >&5
9234 echo "${ECHO_T}$ac_cv_var_tzname" >&6
9235 if test $ac_cv_var_tzname = yes; then
9237 cat >>confdefs.h <<\_ACEOF
9238 #define HAVE_TZNAME 1
9245 echo "$as_me:$LINENO: checking for tm_gmtoff in struct tm" >&5
9246 echo $ECHO_N "checking for tm_gmtoff in struct tm... $ECHO_C" >&6
9247 cat >conftest.$ac_ext <<_ACEOF
9250 cat confdefs.h >>conftest.$ac_ext
9251 cat >>conftest.$ac_ext <<_ACEOF
9252 /* end confdefs.h. */
9257 struct tm tim; tim.tm_gmtoff = 0;
9262 rm -f conftest.$ac_objext
9263 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
9264 (eval $ac_compile) 2>conftest.er1
9266 grep -v '^ *+' conftest.er1 >conftest.err
9268 cat conftest.err >&5
9269 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9270 (exit $ac_status); } &&
9271 { ac_try='test -z "$ac_c_werror_flag"
9272 || test ! -s conftest.err'
9273 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9276 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9277 (exit $ac_status); }; } &&
9278 { ac_try='test -s conftest.$ac_objext'
9279 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9282 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9283 (exit $ac_status); }; }; then
9285 cat >>confdefs.h <<\_ACEOF
9286 #define STRUCT_TM_HAS_GMTOFF 1
9289 echo "$as_me:$LINENO: result: yes" >&5
9290 echo "${ECHO_T}yes" >&6
9292 echo "$as_me: failed program was:" >&5
9293 sed 's/^/| /' conftest.$ac_ext >&5
9295 echo "$as_me:$LINENO: result: no" >&5
9296 echo "${ECHO_T}no" >&6
9297 echo "$as_me:$LINENO: checking for global timezone variable" >&5
9298 echo $ECHO_N "checking for global timezone variable... $ECHO_C" >&6
9299 cat >conftest.$ac_ext <<_ACEOF
9302 cat confdefs.h >>conftest.$ac_ext
9303 cat >>conftest.$ac_ext <<_ACEOF
9304 /* end confdefs.h. */
9309 void i(){long z2 = 2*timezone;}
9314 rm -f conftest.$ac_objext
9315 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
9316 (eval $ac_compile) 2>conftest.er1
9318 grep -v '^ *+' conftest.er1 >conftest.err
9320 cat conftest.err >&5
9321 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9322 (exit $ac_status); } &&
9323 { ac_try='test -z "$ac_c_werror_flag"
9324 || test ! -s conftest.err'
9325 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9328 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9329 (exit $ac_status); }; } &&
9330 { ac_try='test -s conftest.$ac_objext'
9331 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9334 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9335 (exit $ac_status); }; }; then
9337 cat >>confdefs.h <<\_ACEOF
9338 #define HAVE_TIMEZONE 1
9341 echo "$as_me:$LINENO: result: yes" >&5
9342 echo "${ECHO_T}yes" >&6
9344 echo "$as_me: failed program was:" >&5
9345 sed 's/^/| /' conftest.$ac_ext >&5
9347 echo "$as_me:$LINENO: result: no" >&5
9348 echo "${ECHO_T}no" >&6
9349 echo "$as_me:$LINENO: checking for global _timezone variable" >&5
9350 echo $ECHO_N "checking for global _timezone variable... $ECHO_C" >&6
9351 cat >conftest.$ac_ext <<_ACEOF
9354 cat confdefs.h >>conftest.$ac_ext
9355 cat >>conftest.$ac_ext <<_ACEOF
9356 /* end confdefs.h. */
9361 long z2 = _timezone;
9366 rm -f conftest.$ac_objext
9367 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
9368 (eval $ac_compile) 2>conftest.er1
9370 grep -v '^ *+' conftest.er1 >conftest.err
9372 cat conftest.err >&5
9373 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9374 (exit $ac_status); } &&
9375 { ac_try='test -z "$ac_c_werror_flag"
9376 || test ! -s conftest.err'
9377 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9380 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9381 (exit $ac_status); }; } &&
9382 { ac_try='test -s conftest.$ac_objext'
9383 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9386 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9387 (exit $ac_status); }; }; then
9389 cat >>confdefs.h <<\_ACEOF
9390 #define HAVE_UNDERSCORE_TIMEZONE 1
9393 echo "$as_me:$LINENO: result: yes" >&5
9394 echo "${ECHO_T}yes" >&6
9396 echo "$as_me: failed program was:" >&5
9397 sed 's/^/| /' conftest.$ac_ext >&5
9399 echo "$as_me:$LINENO: result: no" >&5
9400 echo "${ECHO_T}no" >&6
9402 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
9404 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
9406 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
9408 echo "$as_me:$LINENO: checking for an ANSI C-conforming const" >&5
9409 echo $ECHO_N "checking for an ANSI C-conforming const... $ECHO_C" >&6
9410 if test "${ac_cv_c_const+set}" = set; then
9411 echo $ECHO_N "(cached) $ECHO_C" >&6
9413 cat >conftest.$ac_ext <<_ACEOF
9416 cat confdefs.h >>conftest.$ac_ext
9417 cat >>conftest.$ac_ext <<_ACEOF
9418 /* end confdefs.h. */
9423 /* FIXME: Include the comments suggested by Paul. */
9425 /* Ultrix mips cc rejects this. */
9426 typedef int charset[2];
9428 /* SunOS 4.1.1 cc rejects this. */
9429 char const *const *ccp;
9431 /* NEC SVR4.0.2 mips cc rejects this. */
9432 struct point {int x, y;};
9433 static struct point const zero = {0,0};
9434 /* AIX XL C 1.02.0.0 rejects this.
9435 It does not let you subtract one const X* pointer from another in
9436 an arm of an if-expression whose if-part is not a constant
9438 const char *g = "string";
9439 ccp = &g + (g ? g-g : 0);
9440 /* HPUX 7.0 cc rejects these. */
9443 ccp = (char const *const *) p;
9444 { /* SCO 3.2v4 cc rejects this. */
9446 char const *s = 0 ? (char *) 0 : (char const *) 0;
9450 { /* Someone thinks the Sun supposedly-ANSI compiler will reject this. */
9452 const int *foo = &x[0];
9455 { /* Sun SC1.0 ANSI compiler rejects this -- but not the above. */
9456 typedef const int *iptr;
9460 { /* AIX XL C 1.02.0.0 rejects this saying
9461 "k.c", line 2.27: 1506-025 (S) Operand must be a modifiable lvalue. */
9462 struct s { int j; const int *ap[3]; };
9463 struct s *b; b->j = 5;
9465 { /* ULTRIX-32 V3.1 (Rev 9) vcc rejects this */
9474 rm -f conftest.$ac_objext
9475 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
9476 (eval $ac_compile) 2>conftest.er1
9478 grep -v '^ *+' conftest.er1 >conftest.err
9480 cat conftest.err >&5
9481 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9482 (exit $ac_status); } &&
9483 { ac_try='test -z "$ac_c_werror_flag"
9484 || test ! -s conftest.err'
9485 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9488 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9489 (exit $ac_status); }; } &&
9490 { ac_try='test -s conftest.$ac_objext'
9491 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9494 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9495 (exit $ac_status); }; }; then
9498 echo "$as_me: failed program was:" >&5
9499 sed 's/^/| /' conftest.$ac_ext >&5
9503 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
9505 echo "$as_me:$LINENO: result: $ac_cv_c_const" >&5
9506 echo "${ECHO_T}$ac_cv_c_const" >&6
9507 if test $ac_cv_c_const = no; then
9509 cat >>confdefs.h <<\_ACEOF
9515 echo "$as_me:$LINENO: checking for __attribute__" >&5
9516 echo $ECHO_N "checking for __attribute__... $ECHO_C" >&6
9517 if test "${ac_cv_c_attribute+set}" = set; then
9518 echo $ECHO_N "(cached) $ECHO_C" >&6
9521 cat >conftest.$ac_ext <<_ACEOF
9524 cat confdefs.h >>conftest.$ac_ext
9525 cat >>conftest.$ac_ext <<_ACEOF
9526 /* end confdefs.h. */
9527 void foo(void) __attribute__ ((__noreturn__));
9530 rm -f conftest.$ac_objext
9531 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
9532 (eval $ac_compile) 2>conftest.er1
9534 grep -v '^ *+' conftest.er1 >conftest.err
9536 cat conftest.err >&5
9537 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9538 (exit $ac_status); } &&
9539 { ac_try='test -z "$ac_c_werror_flag"
9540 || test ! -s conftest.err'
9541 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9544 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9545 (exit $ac_status); }; } &&
9546 { ac_try='test -s conftest.$ac_objext'
9547 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9550 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9551 (exit $ac_status); }; }; then
9552 ac_cv_c_attribute=yes
9554 echo "$as_me: failed program was:" >&5
9555 sed 's/^/| /' conftest.$ac_ext >&5
9557 ac_cv_c_attribute=no
9560 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
9563 echo "$as_me:$LINENO: result: $ac_cv_c_attribute" >&5
9564 echo "${ECHO_T}$ac_cv_c_attribute" >&6
9567 case $ac_cv_c_attribute in
9570 cat >>confdefs.h <<_ACEOF
9571 #define __attribute__(x) /* nothing */
9578 if test "X$prefix" = "XNONE"; then
9579 acl_final_prefix="$ac_default_prefix"
9581 acl_final_prefix="$prefix"
9583 if test "X$exec_prefix" = "XNONE"; then
9584 acl_final_exec_prefix='${prefix}'
9586 acl_final_exec_prefix="$exec_prefix"
9588 acl_save_prefix="$prefix"
9589 prefix="$acl_final_prefix"
9590 eval acl_final_exec_prefix=\"$acl_final_exec_prefix\"
9591 prefix="$acl_save_prefix"
9594 # Check whether --with-gnu-ld or --without-gnu-ld was given.
9595 if test "${with_gnu_ld+set}" = set; then
9596 withval="$with_gnu_ld"
9597 test "$withval" = no || with_gnu_ld=yes
9601 # Prepare PATH_SEPARATOR.
9602 # The user is always right.
9603 if test "${PATH_SEPARATOR+set}" != set; then
9604 echo "#! /bin/sh" >conf$$.sh
9605 echo "exit 0" >>conf$$.sh
9607 if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
9615 if test "$GCC" = yes; then
9616 # Check if gcc -print-prog-name=ld gives a path.
9617 echo "$as_me:$LINENO: checking for ld used by GCC" >&5
9618 echo $ECHO_N "checking for ld used by GCC... $ECHO_C" >&6
9621 # gcc leaves a trailing carriage return which upsets mingw
9622 ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
9624 ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
9627 # Accept absolute paths.
9628 [\\/]* | [A-Za-z]:[\\/]*)
9629 re_direlt='/[^/][^/]*/\.\./'
9630 # Canonicalize the path of ld
9631 ac_prog=`echo $ac_prog| sed 's%\\\\%/%g'`
9632 while echo $ac_prog | grep "$re_direlt" > /dev/null 2>&1; do
9633 ac_prog=`echo $ac_prog| sed "s%$re_direlt%/%"`
9635 test -z "$LD" && LD="$ac_prog"
9638 # If it fails, then pretend we aren't using GCC.
9642 # If it is relative, then search for the first ld in PATH.
9646 elif test "$with_gnu_ld" = yes; then
9647 echo "$as_me:$LINENO: checking for GNU ld" >&5
9648 echo $ECHO_N "checking for GNU ld... $ECHO_C" >&6
9650 echo "$as_me:$LINENO: checking for non-GNU ld" >&5
9651 echo $ECHO_N "checking for non-GNU ld... $ECHO_C" >&6
9653 if test "${acl_cv_path_LD+set}" = set; then
9654 echo $ECHO_N "(cached) $ECHO_C" >&6
9656 if test -z "$LD"; then
9657 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}${PATH_SEPARATOR-:}"
9658 for ac_dir in $PATH; do
9659 test -z "$ac_dir" && ac_dir=.
9660 if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
9661 acl_cv_path_LD="$ac_dir/$ac_prog"
9662 # Check to see if the program is GNU ld. I'd rather use --version,
9663 # but apparently some GNU ld's only accept -v.
9664 # Break only if it was the GNU/non-GNU ld that we prefer.
9665 if "$acl_cv_path_LD" -v 2>&1 < /dev/null | egrep '(GNU|with BFD)' > /dev/null; then
9666 test "$with_gnu_ld" != no && break
9668 test "$with_gnu_ld" != yes && break
9674 acl_cv_path_LD="$LD" # Let the user override the test with a path.
9678 LD="$acl_cv_path_LD"
9679 if test -n "$LD"; then
9680 echo "$as_me:$LINENO: result: $LD" >&5
9681 echo "${ECHO_T}$LD" >&6
9683 echo "$as_me:$LINENO: result: no" >&5
9684 echo "${ECHO_T}no" >&6
9686 test -z "$LD" && { { echo "$as_me:$LINENO: error: no acceptable ld found in \$PATH" >&5
9687 echo "$as_me: error: no acceptable ld found in \$PATH" >&2;}
9688 { (exit 1); exit 1; }; }
9689 echo "$as_me:$LINENO: checking if the linker ($LD) is GNU ld" >&5
9690 echo $ECHO_N "checking if the linker ($LD) is GNU ld... $ECHO_C" >&6
9691 if test "${acl_cv_prog_gnu_ld+set}" = set; then
9692 echo $ECHO_N "(cached) $ECHO_C" >&6
9694 # I'd rather use --version here, but apparently some GNU ld's only accept -v.
9695 if $LD -v 2>&1 </dev/null | egrep '(GNU|with BFD)' 1>&5; then
9696 acl_cv_prog_gnu_ld=yes
9698 acl_cv_prog_gnu_ld=no
9701 echo "$as_me:$LINENO: result: $acl_cv_prog_gnu_ld" >&5
9702 echo "${ECHO_T}$acl_cv_prog_gnu_ld" >&6
9703 with_gnu_ld=$acl_cv_prog_gnu_ld
9707 echo "$as_me:$LINENO: checking for shared library run path origin" >&5
9708 echo $ECHO_N "checking for shared library run path origin... $ECHO_C" >&6
9709 if test "${acl_cv_rpath+set}" = set; then
9710 echo $ECHO_N "(cached) $ECHO_C" >&6
9713 CC="$CC" GCC="$GCC" LDFLAGS="$LDFLAGS" LD="$LD" with_gnu_ld="$with_gnu_ld" \
9714 ${CONFIG_SHELL-/bin/sh} "$ac_aux_dir/config.rpath" "$host" > conftest.sh
9720 echo "$as_me:$LINENO: result: $acl_cv_rpath" >&5
9721 echo "${ECHO_T}$acl_cv_rpath" >&6
9723 libext="$acl_cv_libext"
9724 shlibext="$acl_cv_shlibext"
9725 hardcode_libdir_flag_spec="$acl_cv_hardcode_libdir_flag_spec"
9726 hardcode_libdir_separator="$acl_cv_hardcode_libdir_separator"
9727 hardcode_direct="$acl_cv_hardcode_direct"
9728 hardcode_minus_L="$acl_cv_hardcode_minus_L"
9729 # Check whether --enable-rpath or --disable-rpath was given.
9730 if test "${enable_rpath+set}" = set; then
9731 enableval="$enable_rpath"
9745 acl_save_prefix="$prefix"
9746 prefix="$acl_final_prefix"
9747 acl_save_exec_prefix="$exec_prefix"
9748 exec_prefix="$acl_final_exec_prefix"
9750 eval additional_includedir=\"$includedir\"
9751 eval additional_libdir=\"$libdir\"
9753 exec_prefix="$acl_save_exec_prefix"
9754 prefix="$acl_save_prefix"
9757 # Check whether --with-libiconv-prefix or --without-libiconv-prefix was given.
9758 if test "${with_libiconv_prefix+set}" = set; then
9759 withval="$with_libiconv_prefix"
9761 if test "X$withval" = "Xno"; then
9764 if test "X$withval" = "X"; then
9766 acl_save_prefix="$prefix"
9767 prefix="$acl_final_prefix"
9768 acl_save_exec_prefix="$exec_prefix"
9769 exec_prefix="$acl_final_exec_prefix"
9771 eval additional_includedir=\"$includedir\"
9772 eval additional_libdir=\"$libdir\"
9774 exec_prefix="$acl_save_exec_prefix"
9775 prefix="$acl_save_prefix"
9778 additional_includedir="$withval/include"
9779 additional_libdir="$withval/lib"
9789 names_already_handled=
9790 names_next_round='iconv '
9791 while test -n "$names_next_round"; do
9792 names_this_round="$names_next_round"
9794 for name in $names_this_round; do
9796 for n in $names_already_handled; do
9797 if test "$n" = "$name"; then
9802 if test -z "$already_handled"; then
9803 names_already_handled="$names_already_handled $name"
9804 uppername=`echo "$name" | sed -e 'y|abcdefghijklmnopqrstuvwxyz./-|ABCDEFGHIJKLMNOPQRSTUVWXYZ___|'`
9805 eval value=\"\$HAVE_LIB$uppername\"
9806 if test -n "$value"; then
9807 if test "$value" = yes; then
9808 eval value=\"\$LIB$uppername\"
9809 test -z "$value" || LIBICONV="${LIBICONV}${LIBICONV:+ }$value"
9810 eval value=\"\$LTLIB$uppername\"
9811 test -z "$value" || LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }$value"
9820 if test $use_additional = yes; then
9821 if test -n "$shlibext" && test -f "$additional_libdir/lib$name.$shlibext"; then
9822 found_dir="$additional_libdir"
9823 found_so="$additional_libdir/lib$name.$shlibext"
9824 if test -f "$additional_libdir/lib$name.la"; then
9825 found_la="$additional_libdir/lib$name.la"
9828 if test -f "$additional_libdir/lib$name.$libext"; then
9829 found_dir="$additional_libdir"
9830 found_a="$additional_libdir/lib$name.$libext"
9831 if test -f "$additional_libdir/lib$name.la"; then
9832 found_la="$additional_libdir/lib$name.la"
9837 if test "X$found_dir" = "X"; then
9838 for x in $LDFLAGS $LTLIBICONV; do
9840 acl_save_prefix="$prefix"
9841 prefix="$acl_final_prefix"
9842 acl_save_exec_prefix="$exec_prefix"
9843 exec_prefix="$acl_final_exec_prefix"
9845 exec_prefix="$acl_save_exec_prefix"
9846 prefix="$acl_save_prefix"
9850 dir=`echo "X$x" | sed -e 's/^X-L//'`
9851 if test -n "$shlibext" && test -f "$dir/lib$name.$shlibext"; then
9853 found_so="$dir/lib$name.$shlibext"
9854 if test -f "$dir/lib$name.la"; then
9855 found_la="$dir/lib$name.la"
9858 if test -f "$dir/lib$name.$libext"; then
9860 found_a="$dir/lib$name.$libext"
9861 if test -f "$dir/lib$name.la"; then
9862 found_la="$dir/lib$name.la"
9868 if test "X$found_dir" != "X"; then
9873 if test "X$found_dir" != "X"; then
9874 LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }-L$found_dir -l$name"
9875 if test "X$found_so" != "X"; then
9876 if test "$enable_rpath" = no || test "X$found_dir" = "X/usr/lib"; then
9877 LIBICONV="${LIBICONV}${LIBICONV:+ }$found_so"
9880 for x in $ltrpathdirs; do
9881 if test "X$x" = "X$found_dir"; then
9886 if test -z "$haveit"; then
9887 ltrpathdirs="$ltrpathdirs $found_dir"
9889 if test "$hardcode_direct" = yes; then
9890 LIBICONV="${LIBICONV}${LIBICONV:+ }$found_so"
9892 if test -n "$hardcode_libdir_flag_spec" && test "$hardcode_minus_L" = no; then
9893 LIBICONV="${LIBICONV}${LIBICONV:+ }$found_so"
9895 for x in $rpathdirs; do
9896 if test "X$x" = "X$found_dir"; then
9901 if test -z "$haveit"; then
9902 rpathdirs="$rpathdirs $found_dir"
9906 for x in $LDFLAGS $LIBICONV; 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-L$found_dir"; then
9921 if test -z "$haveit"; then
9922 LIBICONV="${LIBICONV}${LIBICONV:+ }-L$found_dir"
9924 if test "$hardcode_minus_L" != no; then
9925 LIBICONV="${LIBICONV}${LIBICONV:+ }$found_so"
9927 LIBICONV="${LIBICONV}${LIBICONV:+ }-l$name"
9933 if test "X$found_a" != "X"; then
9934 LIBICONV="${LIBICONV}${LIBICONV:+ }$found_a"
9936 LIBICONV="${LIBICONV}${LIBICONV:+ }-L$found_dir -l$name"
9939 additional_includedir=
9940 case "$found_dir" in
9942 basedir=`echo "X$found_dir" | sed -e 's,^X,,' -e 's,/lib/*$,,'`
9943 additional_includedir="$basedir/include"
9946 if test "X$additional_includedir" != "X"; then
9947 if test "X$additional_includedir" != "X/usr/include"; then
9949 if test "X$additional_includedir" = "X/usr/local/include"; then
9950 if test -n "$GCC"; then
9952 linux*) haveit=yes;;
9956 if test -z "$haveit"; then
9957 for x in $CPPFLAGS $INCICONV; do
9959 acl_save_prefix="$prefix"
9960 prefix="$acl_final_prefix"
9961 acl_save_exec_prefix="$exec_prefix"
9962 exec_prefix="$acl_final_exec_prefix"
9964 exec_prefix="$acl_save_exec_prefix"
9965 prefix="$acl_save_prefix"
9967 if test "X$x" = "X-I$additional_includedir"; then
9972 if test -z "$haveit"; then
9973 if test -d "$additional_includedir"; then
9974 INCICONV="${INCICONV}${INCICONV:+ }-I$additional_includedir"
9980 if test -n "$found_la"; then
9981 save_libdir="$libdir"
9983 */* | *\\*) . "$found_la" ;;
9984 *) . "./$found_la" ;;
9986 libdir="$save_libdir"
9987 for dep in $dependency_libs; do
9990 additional_libdir=`echo "X$dep" | sed -e 's/^X-L//'`
9991 if test "X$additional_libdir" != "X/usr/lib"; then
9993 if test "X$additional_libdir" = "X/usr/local/lib"; then
9994 if test -n "$GCC"; then
9996 linux*) haveit=yes;;
10000 if test -z "$haveit"; then
10002 for x in $LDFLAGS $LIBICONV; do
10004 acl_save_prefix="$prefix"
10005 prefix="$acl_final_prefix"
10006 acl_save_exec_prefix="$exec_prefix"
10007 exec_prefix="$acl_final_exec_prefix"
10009 exec_prefix="$acl_save_exec_prefix"
10010 prefix="$acl_save_prefix"
10012 if test "X$x" = "X-L$additional_libdir"; then
10017 if test -z "$haveit"; then
10018 if test -d "$additional_libdir"; then
10019 LIBICONV="${LIBICONV}${LIBICONV:+ }-L$additional_libdir"
10023 for x in $LDFLAGS $LTLIBICONV; do
10025 acl_save_prefix="$prefix"
10026 prefix="$acl_final_prefix"
10027 acl_save_exec_prefix="$exec_prefix"
10028 exec_prefix="$acl_final_exec_prefix"
10030 exec_prefix="$acl_save_exec_prefix"
10031 prefix="$acl_save_prefix"
10033 if test "X$x" = "X-L$additional_libdir"; then
10038 if test -z "$haveit"; then
10039 if test -d "$additional_libdir"; then
10040 LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }-L$additional_libdir"
10047 dir=`echo "X$dep" | sed -e 's/^X-R//'`
10048 if test "$enable_rpath" != no; then
10050 for x in $rpathdirs; do
10051 if test "X$x" = "X$dir"; then
10056 if test -z "$haveit"; then
10057 rpathdirs="$rpathdirs $dir"
10060 for x in $ltrpathdirs; do
10061 if test "X$x" = "X$dir"; then
10066 if test -z "$haveit"; then
10067 ltrpathdirs="$ltrpathdirs $dir"
10072 names_next_round="$names_next_round "`echo "X$dep" | sed -e 's/^X-l//'`
10075 names_next_round="$names_next_round "`echo "X$dep" | sed -e 's,^X.*/,,' -e 's,^lib,,' -e 's,\.la$,,'`
10078 LIBICONV="${LIBICONV}${LIBICONV:+ }$dep"
10079 LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }$dep"
10085 LIBICONV="${LIBICONV}${LIBICONV:+ }-l$name"
10086 LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }-l$name"
10092 if test "X$rpathdirs" != "X"; then
10093 if test -n "$hardcode_libdir_separator"; then
10095 for found_dir in $rpathdirs; do
10096 alldirs="${alldirs}${alldirs:+$hardcode_libdir_separator}$found_dir"
10098 acl_save_libdir="$libdir"
10100 eval flag=\"$hardcode_libdir_flag_spec\"
10101 libdir="$acl_save_libdir"
10102 LIBICONV="${LIBICONV}${LIBICONV:+ }$flag"
10104 for found_dir in $rpathdirs; do
10105 acl_save_libdir="$libdir"
10106 libdir="$found_dir"
10107 eval flag=\"$hardcode_libdir_flag_spec\"
10108 libdir="$acl_save_libdir"
10109 LIBICONV="${LIBICONV}${LIBICONV:+ }$flag"
10113 if test "X$ltrpathdirs" != "X"; then
10114 for found_dir in $ltrpathdirs; do
10115 LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }-R$found_dir"
10125 am_save_CPPFLAGS="$CPPFLAGS"
10127 for element in $INCICONV; do
10129 for x in $CPPFLAGS; do
10131 acl_save_prefix="$prefix"
10132 prefix="$acl_final_prefix"
10133 acl_save_exec_prefix="$exec_prefix"
10134 exec_prefix="$acl_final_exec_prefix"
10136 exec_prefix="$acl_save_exec_prefix"
10137 prefix="$acl_save_prefix"
10139 if test "X$x" = "X$element"; then
10144 if test -z "$haveit"; then
10145 CPPFLAGS="${CPPFLAGS}${CPPFLAGS:+ }$element"
10150 echo "$as_me:$LINENO: checking for iconv" >&5
10151 echo $ECHO_N "checking for iconv... $ECHO_C" >&6
10152 if test "${am_cv_func_iconv+set}" = set; then
10153 echo $ECHO_N "(cached) $ECHO_C" >&6
10156 am_cv_func_iconv="no, consider installing GNU libiconv"
10158 if test x$gcc_no_link = xyes; then
10159 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
10160 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
10161 { (exit 1); exit 1; }; }
10163 cat >conftest.$ac_ext <<_ACEOF
10166 cat confdefs.h >>conftest.$ac_ext
10167 cat >>conftest.$ac_ext <<_ACEOF
10168 /* end confdefs.h. */
10169 #include <stdlib.h>
10174 iconv_t cd = iconv_open("","");
10175 iconv(cd,NULL,NULL,NULL,NULL);
10181 rm -f conftest.$ac_objext conftest$ac_exeext
10182 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10183 (eval $ac_link) 2>conftest.er1
10185 grep -v '^ *+' conftest.er1 >conftest.err
10187 cat conftest.err >&5
10188 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10189 (exit $ac_status); } &&
10190 { ac_try='test -z "$ac_c_werror_flag"
10191 || test ! -s conftest.err'
10192 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10193 (eval $ac_try) 2>&5
10195 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10196 (exit $ac_status); }; } &&
10197 { ac_try='test -s conftest$ac_exeext'
10198 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10199 (eval $ac_try) 2>&5
10201 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10202 (exit $ac_status); }; }; then
10203 am_cv_func_iconv=yes
10205 echo "$as_me: failed program was:" >&5
10206 sed 's/^/| /' conftest.$ac_ext >&5
10209 rm -f conftest.err conftest.$ac_objext \
10210 conftest$ac_exeext conftest.$ac_ext
10211 if test "$am_cv_func_iconv" != yes; then
10212 am_save_LIBS="$LIBS"
10213 LIBS="$LIBS $LIBICONV"
10214 if test x$gcc_no_link = xyes; then
10215 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
10216 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
10217 { (exit 1); exit 1; }; }
10219 cat >conftest.$ac_ext <<_ACEOF
10222 cat confdefs.h >>conftest.$ac_ext
10223 cat >>conftest.$ac_ext <<_ACEOF
10224 /* end confdefs.h. */
10225 #include <stdlib.h>
10230 iconv_t cd = iconv_open("","");
10231 iconv(cd,NULL,NULL,NULL,NULL);
10237 rm -f conftest.$ac_objext conftest$ac_exeext
10238 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10239 (eval $ac_link) 2>conftest.er1
10241 grep -v '^ *+' conftest.er1 >conftest.err
10243 cat conftest.err >&5
10244 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10245 (exit $ac_status); } &&
10246 { ac_try='test -z "$ac_c_werror_flag"
10247 || test ! -s conftest.err'
10248 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10249 (eval $ac_try) 2>&5
10251 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10252 (exit $ac_status); }; } &&
10253 { ac_try='test -s conftest$ac_exeext'
10254 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10255 (eval $ac_try) 2>&5
10257 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10258 (exit $ac_status); }; }; then
10259 am_cv_lib_iconv=yes
10260 am_cv_func_iconv=yes
10262 echo "$as_me: failed program was:" >&5
10263 sed 's/^/| /' conftest.$ac_ext >&5
10266 rm -f conftest.err conftest.$ac_objext \
10267 conftest$ac_exeext conftest.$ac_ext
10268 LIBS="$am_save_LIBS"
10272 echo "$as_me:$LINENO: result: $am_cv_func_iconv" >&5
10273 echo "${ECHO_T}$am_cv_func_iconv" >&6
10274 if test "$am_cv_func_iconv" = yes; then
10276 cat >>confdefs.h <<\_ACEOF
10277 #define HAVE_ICONV 1
10281 if test "$am_cv_lib_iconv" = yes; then
10282 echo "$as_me:$LINENO: checking how to link with libiconv" >&5
10283 echo $ECHO_N "checking how to link with libiconv... $ECHO_C" >&6
10284 echo "$as_me:$LINENO: result: $LIBICONV" >&5
10285 echo "${ECHO_T}$LIBICONV" >&6
10287 CPPFLAGS="$am_save_CPPFLAGS"
10294 if test "$am_cv_func_iconv" = yes; then
10295 echo "$as_me:$LINENO: checking for iconv declaration" >&5
10296 echo $ECHO_N "checking for iconv declaration... $ECHO_C" >&6
10297 if test "${am_cv_proto_iconv+set}" = set; then
10298 echo $ECHO_N "(cached) $ECHO_C" >&6
10301 cat >conftest.$ac_ext <<_ACEOF
10304 cat confdefs.h >>conftest.$ac_ext
10305 cat >>conftest.$ac_ext <<_ACEOF
10306 /* end confdefs.h. */
10308 #include <stdlib.h>
10314 #if defined(__STDC__) || defined(__cplusplus)
10315 size_t iconv (iconv_t cd, char * *inbuf, size_t *inbytesleft, char * *outbuf, size_t *outbytesleft);
10328 rm -f conftest.$ac_objext
10329 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
10330 (eval $ac_compile) 2>conftest.er1
10332 grep -v '^ *+' conftest.er1 >conftest.err
10334 cat conftest.err >&5
10335 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10336 (exit $ac_status); } &&
10337 { ac_try='test -z "$ac_c_werror_flag"
10338 || test ! -s conftest.err'
10339 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10340 (eval $ac_try) 2>&5
10342 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10343 (exit $ac_status); }; } &&
10344 { ac_try='test -s conftest.$ac_objext'
10345 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10346 (eval $ac_try) 2>&5
10348 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10349 (exit $ac_status); }; }; then
10350 am_cv_proto_iconv_arg1=""
10352 echo "$as_me: failed program was:" >&5
10353 sed 's/^/| /' conftest.$ac_ext >&5
10355 am_cv_proto_iconv_arg1="const"
10357 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
10358 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);"
10361 am_cv_proto_iconv=`echo "$am_cv_proto_iconv" | tr -s ' ' | sed -e 's/( /(/'`
10362 echo "$as_me:$LINENO: result: ${ac_t:-
10363 }$am_cv_proto_iconv" >&5
10364 echo "${ECHO_T}${ac_t:-
10365 }$am_cv_proto_iconv" >&6
10367 cat >>confdefs.h <<_ACEOF
10368 #define ICONV_CONST $am_cv_proto_iconv_arg1
10374 if test "x${GCC}" = xyes; then
10376 WARNING_CFLAGS='-W -Wall -Wmissing-declarations -Wwrite-strings -Wmissing-prototypes -Wno-long-long'
10379 STRICT_WARNING_CFLAGS='-Wstrict-prototypes -pedantic'
10383 if test "x${ENABLE_WERROR}" = xyes; then
10384 ERROR_CFLAGS='-Werror'
10389 if test "x${COMPILE_XMLJ}" = xyes; then
10393 if test -z "$PKG_CONFIG"; then
10394 # Extract the first word of "pkg-config", so it can be a program name with args.
10395 set dummy pkg-config; ac_word=$2
10396 echo "$as_me:$LINENO: checking for $ac_word" >&5
10397 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
10398 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
10399 echo $ECHO_N "(cached) $ECHO_C" >&6
10401 case $PKG_CONFIG in
10403 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
10406 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10407 for as_dir in $PATH
10410 test -z "$as_dir" && as_dir=.
10411 for ac_exec_ext in '' $ac_executable_extensions; do
10412 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
10413 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
10414 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
10420 test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG="no"
10424 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
10426 if test -n "$PKG_CONFIG"; then
10427 echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
10428 echo "${ECHO_T}$PKG_CONFIG" >&6
10430 echo "$as_me:$LINENO: result: no" >&5
10431 echo "${ECHO_T}no" >&6
10436 if test "$PKG_CONFIG" = "no" ; then
10437 echo "*** The pkg-config script could not be found. Make sure it is"
10438 echo "*** in your path, or set the PKG_CONFIG environment variable"
10439 echo "*** to the full path to pkg-config."
10440 echo "*** Or see http://www.freedesktop.org/software/pkgconfig to get pkg-config."
10442 PKG_CONFIG_MIN_VERSION=0.9.0
10443 if $PKG_CONFIG --atleast-pkgconfig-version $PKG_CONFIG_MIN_VERSION; then
10444 echo "$as_me:$LINENO: checking for libxml-2.0 >= 2.6.8" >&5
10445 echo $ECHO_N "checking for libxml-2.0 >= 2.6.8... $ECHO_C" >&6
10447 if $PKG_CONFIG --exists "libxml-2.0 >= 2.6.8" ; then
10448 echo "$as_me:$LINENO: result: yes" >&5
10449 echo "${ECHO_T}yes" >&6
10452 echo "$as_me:$LINENO: checking XML_CFLAGS" >&5
10453 echo $ECHO_N "checking XML_CFLAGS... $ECHO_C" >&6
10454 XML_CFLAGS=`$PKG_CONFIG --cflags "libxml-2.0 >= 2.6.8"`
10455 echo "$as_me:$LINENO: result: $XML_CFLAGS" >&5
10456 echo "${ECHO_T}$XML_CFLAGS" >&6
10458 echo "$as_me:$LINENO: checking XML_LIBS" >&5
10459 echo $ECHO_N "checking XML_LIBS... $ECHO_C" >&6
10460 XML_LIBS=`$PKG_CONFIG --libs "libxml-2.0 >= 2.6.8"`
10461 echo "$as_me:$LINENO: result: $XML_LIBS" >&5
10462 echo "${ECHO_T}$XML_LIBS" >&6
10466 ## If we have a custom action on failure, don't print errors, but
10467 ## do set a variable so people can do so.
10468 XML_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "libxml-2.0 >= 2.6.8"`
10469 echo $XML_PKG_ERRORS
10475 echo "*** Your version of pkg-config is too old. You need version $PKG_CONFIG_MIN_VERSION or newer."
10476 echo "*** See http://www.freedesktop.org/software/pkgconfig"
10480 if test $succeeded = yes; then
10483 { { 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
10484 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;}
10485 { (exit 1); exit 1; }; }
10491 if test -z "$PKG_CONFIG"; then
10492 # Extract the first word of "pkg-config", so it can be a program name with args.
10493 set dummy pkg-config; ac_word=$2
10494 echo "$as_me:$LINENO: checking for $ac_word" >&5
10495 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
10496 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
10497 echo $ECHO_N "(cached) $ECHO_C" >&6
10499 case $PKG_CONFIG in
10501 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
10504 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10505 for as_dir in $PATH
10508 test -z "$as_dir" && as_dir=.
10509 for ac_exec_ext in '' $ac_executable_extensions; do
10510 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
10511 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
10512 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
10518 test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG="no"
10522 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
10524 if test -n "$PKG_CONFIG"; then
10525 echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
10526 echo "${ECHO_T}$PKG_CONFIG" >&6
10528 echo "$as_me:$LINENO: result: no" >&5
10529 echo "${ECHO_T}no" >&6
10534 if test "$PKG_CONFIG" = "no" ; then
10535 echo "*** The pkg-config script could not be found. Make sure it is"
10536 echo "*** in your path, or set the PKG_CONFIG environment variable"
10537 echo "*** to the full path to pkg-config."
10538 echo "*** Or see http://www.freedesktop.org/software/pkgconfig to get pkg-config."
10540 PKG_CONFIG_MIN_VERSION=0.9.0
10541 if $PKG_CONFIG --atleast-pkgconfig-version $PKG_CONFIG_MIN_VERSION; then
10542 echo "$as_me:$LINENO: checking for libxslt >= 1.1.11" >&5
10543 echo $ECHO_N "checking for libxslt >= 1.1.11... $ECHO_C" >&6
10545 if $PKG_CONFIG --exists "libxslt >= 1.1.11" ; then
10546 echo "$as_me:$LINENO: result: yes" >&5
10547 echo "${ECHO_T}yes" >&6
10550 echo "$as_me:$LINENO: checking XSLT_CFLAGS" >&5
10551 echo $ECHO_N "checking XSLT_CFLAGS... $ECHO_C" >&6
10552 XSLT_CFLAGS=`$PKG_CONFIG --cflags "libxslt >= 1.1.11"`
10553 echo "$as_me:$LINENO: result: $XSLT_CFLAGS" >&5
10554 echo "${ECHO_T}$XSLT_CFLAGS" >&6
10556 echo "$as_me:$LINENO: checking XSLT_LIBS" >&5
10557 echo $ECHO_N "checking XSLT_LIBS... $ECHO_C" >&6
10558 XSLT_LIBS=`$PKG_CONFIG --libs "libxslt >= 1.1.11"`
10559 echo "$as_me:$LINENO: result: $XSLT_LIBS" >&5
10560 echo "${ECHO_T}$XSLT_LIBS" >&6
10564 ## If we have a custom action on failure, don't print errors, but
10565 ## do set a variable so people can do so.
10566 XSLT_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "libxslt >= 1.1.11"`
10567 echo $XSLT_PKG_ERRORS
10573 echo "*** Your version of pkg-config is too old. You need version $PKG_CONFIG_MIN_VERSION or newer."
10574 echo "*** See http://www.freedesktop.org/software/pkgconfig"
10578 if test $succeeded = yes; then
10581 { { 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
10582 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;}
10583 { (exit 1); exit 1; }; }
10592 if test "x${COMPILE_GTK_PEER}" = xyes; then
10593 echo "$as_me:$LINENO: checking for X" >&5
10594 echo $ECHO_N "checking for X... $ECHO_C" >&6
10597 # Check whether --with-x or --without-x was given.
10598 if test "${with_x+set}" = set; then
10602 # $have_x is `yes', `no', `disabled', or empty when we do not yet know.
10603 if test "x$with_x" = xno; then
10604 # The user explicitly disabled X.
10607 if test "x$x_includes" != xNONE && test "x$x_libraries" != xNONE; then
10608 # Both variables are already set.
10611 if test "${ac_cv_have_x+set}" = set; then
10612 echo $ECHO_N "(cached) $ECHO_C" >&6
10614 # One or both of the vars are not set, and there is no cached value.
10615 ac_x_includes=no ac_x_libraries=no
10616 rm -fr conftest.dir
10617 if mkdir conftest.dir; then
10619 # Make sure to not put "make" in the Imakefile rules, since we grep it out.
10620 cat >Imakefile <<'_ACEOF'
10622 @echo 'ac_im_incroot="${INCROOT}"; ac_im_usrlibdir="${USRLIBDIR}"; ac_im_libdir="${LIBDIR}"'
10624 if (xmkmf) >/dev/null 2>/dev/null && test -f Makefile; then
10625 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
10626 eval `${MAKE-make} acfindx 2>/dev/null | grep -v make`
10627 # Open Windows xmkmf reportedly sets LIBDIR instead of USRLIBDIR.
10628 for ac_extension in a so sl; do
10629 if test ! -f $ac_im_usrlibdir/libX11.$ac_extension &&
10630 test -f $ac_im_libdir/libX11.$ac_extension; then
10631 ac_im_usrlibdir=$ac_im_libdir; break
10634 # Screen out bogus values from the imake configuration. They are
10635 # bogus both because they are the default anyway, and because
10636 # using them would break gcc on systems where it needs fixed includes.
10637 case $ac_im_incroot in
10639 *) test -f "$ac_im_incroot/X11/Xos.h" && ac_x_includes=$ac_im_incroot;;
10641 case $ac_im_usrlibdir in
10642 /usr/lib | /lib) ;;
10643 *) test -d "$ac_im_usrlibdir" && ac_x_libraries=$ac_im_usrlibdir ;;
10647 rm -fr conftest.dir
10650 # Standard set of common directories for X headers.
10651 # Check X11 before X11Rn because it is often a symlink to the current release.
10663 /usr/local/X11/include
10664 /usr/local/X11R6/include
10665 /usr/local/X11R5/include
10666 /usr/local/X11R4/include
10668 /usr/local/include/X11
10669 /usr/local/include/X11R6
10670 /usr/local/include/X11R5
10671 /usr/local/include/X11R4
10675 /usr/XFree86/include/X11
10679 /usr/unsupported/include
10680 /usr/athena/include
10681 /usr/local/x11r5/include
10682 /usr/lpp/Xamples/include
10684 /usr/openwin/include
10685 /usr/openwin/share/include'
10687 if test "$ac_x_includes" = no; then
10688 # Guess where to find include files, by looking for Xlib.h.
10689 # First, try using that file with no special directory specified.
10690 cat >conftest.$ac_ext <<_ACEOF
10693 cat confdefs.h >>conftest.$ac_ext
10694 cat >>conftest.$ac_ext <<_ACEOF
10695 /* end confdefs.h. */
10696 #include <X11/Xlib.h>
10698 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
10699 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
10701 grep -v '^ *+' conftest.er1 >conftest.err
10703 cat conftest.err >&5
10704 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10705 (exit $ac_status); } >/dev/null; then
10706 if test -s conftest.err; then
10707 ac_cpp_err=$ac_c_preproc_warn_flag
10708 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
10715 if test -z "$ac_cpp_err"; then
10716 # We can compile using X headers with no special include directory.
10719 echo "$as_me: failed program was:" >&5
10720 sed 's/^/| /' conftest.$ac_ext >&5
10722 for ac_dir in $ac_x_header_dirs; do
10723 if test -r "$ac_dir/X11/Xlib.h"; then
10724 ac_x_includes=$ac_dir
10729 rm -f conftest.err conftest.$ac_ext
10730 fi # $ac_x_includes = no
10732 if test "$ac_x_libraries" = no; then
10733 # Check for the libraries.
10734 # See if we find them without any special options.
10735 # Don't add to $LIBS permanently.
10738 if test x$gcc_no_link = xyes; then
10739 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
10740 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
10741 { (exit 1); exit 1; }; }
10743 cat >conftest.$ac_ext <<_ACEOF
10746 cat confdefs.h >>conftest.$ac_ext
10747 cat >>conftest.$ac_ext <<_ACEOF
10748 /* end confdefs.h. */
10749 #include <X11/Xlib.h>
10758 rm -f conftest.$ac_objext conftest$ac_exeext
10759 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10760 (eval $ac_link) 2>conftest.er1
10762 grep -v '^ *+' conftest.er1 >conftest.err
10764 cat conftest.err >&5
10765 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10766 (exit $ac_status); } &&
10767 { ac_try='test -z "$ac_c_werror_flag"
10768 || test ! -s conftest.err'
10769 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10770 (eval $ac_try) 2>&5
10772 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10773 (exit $ac_status); }; } &&
10774 { ac_try='test -s conftest$ac_exeext'
10775 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10776 (eval $ac_try) 2>&5
10778 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10779 (exit $ac_status); }; }; then
10781 # We can link X programs with no special library path.
10784 echo "$as_me: failed program was:" >&5
10785 sed 's/^/| /' conftest.$ac_ext >&5
10788 for ac_dir in `echo "$ac_x_includes $ac_x_header_dirs" | sed s/include/lib/g`
10790 # Don't even attempt the hair of trying to link an X program!
10791 for ac_extension in a so sl; do
10792 if test -r $ac_dir/libXt.$ac_extension; then
10793 ac_x_libraries=$ac_dir
10799 rm -f conftest.err conftest.$ac_objext \
10800 conftest$ac_exeext conftest.$ac_ext
10801 fi # $ac_x_libraries = no
10803 if test "$ac_x_includes" = no || test "$ac_x_libraries" = no; then
10804 # Didn't find X anywhere. Cache the known absence of X.
10805 ac_cv_have_x="have_x=no"
10807 # Record where we found X for the cache.
10808 ac_cv_have_x="have_x=yes \
10809 ac_x_includes=$ac_x_includes ac_x_libraries=$ac_x_libraries"
10814 eval "$ac_cv_have_x"
10817 if test "$have_x" != yes; then
10818 echo "$as_me:$LINENO: result: $have_x" >&5
10819 echo "${ECHO_T}$have_x" >&6
10822 # If each of the values was on the command line, it overrides each guess.
10823 test "x$x_includes" = xNONE && x_includes=$ac_x_includes
10824 test "x$x_libraries" = xNONE && x_libraries=$ac_x_libraries
10825 # Update the cache value to reflect the command line values.
10826 ac_cv_have_x="have_x=yes \
10827 ac_x_includes=$x_includes ac_x_libraries=$x_libraries"
10828 echo "$as_me:$LINENO: result: libraries $x_libraries, headers $x_includes" >&5
10829 echo "${ECHO_T}libraries $x_libraries, headers $x_includes" >&6
10832 if test "$no_x" = yes; then
10833 # Not all programs may use this symbol, but it does not hurt to define it.
10835 cat >>confdefs.h <<\_ACEOF
10836 #define X_DISPLAY_MISSING 1
10839 X_CFLAGS= X_PRE_LIBS= X_LIBS= X_EXTRA_LIBS=
10841 if test -n "$x_includes"; then
10842 X_CFLAGS="$X_CFLAGS -I$x_includes"
10845 # It would also be nice to do this for all -L options, not just this one.
10846 if test -n "$x_libraries"; then
10847 X_LIBS="$X_LIBS -L$x_libraries"
10848 # For Solaris; some versions of Sun CC require a space after -R and
10849 # others require no space. Words are not sufficient . . . .
10850 case `(uname -sr) 2>/dev/null` in
10852 echo "$as_me:$LINENO: checking whether -R must be followed by a space" >&5
10853 echo $ECHO_N "checking whether -R must be followed by a space... $ECHO_C" >&6
10854 ac_xsave_LIBS=$LIBS; LIBS="$LIBS -R$x_libraries"
10855 if test x$gcc_no_link = xyes; then
10856 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
10857 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
10858 { (exit 1); exit 1; }; }
10860 cat >conftest.$ac_ext <<_ACEOF
10863 cat confdefs.h >>conftest.$ac_ext
10864 cat >>conftest.$ac_ext <<_ACEOF
10865 /* end confdefs.h. */
10875 rm -f conftest.$ac_objext conftest$ac_exeext
10876 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10877 (eval $ac_link) 2>conftest.er1
10879 grep -v '^ *+' conftest.er1 >conftest.err
10881 cat conftest.err >&5
10882 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10883 (exit $ac_status); } &&
10884 { ac_try='test -z "$ac_c_werror_flag"
10885 || test ! -s conftest.err'
10886 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10887 (eval $ac_try) 2>&5
10889 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10890 (exit $ac_status); }; } &&
10891 { ac_try='test -s conftest$ac_exeext'
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); }; }; then
10899 echo "$as_me: failed program was:" >&5
10900 sed 's/^/| /' conftest.$ac_ext >&5
10904 rm -f conftest.err conftest.$ac_objext \
10905 conftest$ac_exeext conftest.$ac_ext
10906 if test $ac_R_nospace = yes; then
10907 echo "$as_me:$LINENO: result: no" >&5
10908 echo "${ECHO_T}no" >&6
10909 X_LIBS="$X_LIBS -R$x_libraries"
10911 LIBS="$ac_xsave_LIBS -R $x_libraries"
10912 if test x$gcc_no_link = xyes; then
10913 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
10914 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
10915 { (exit 1); exit 1; }; }
10917 cat >conftest.$ac_ext <<_ACEOF
10920 cat confdefs.h >>conftest.$ac_ext
10921 cat >>conftest.$ac_ext <<_ACEOF
10922 /* end confdefs.h. */
10932 rm -f conftest.$ac_objext conftest$ac_exeext
10933 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10934 (eval $ac_link) 2>conftest.er1
10936 grep -v '^ *+' conftest.er1 >conftest.err
10938 cat conftest.err >&5
10939 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10940 (exit $ac_status); } &&
10941 { ac_try='test -z "$ac_c_werror_flag"
10942 || test ! -s conftest.err'
10943 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10944 (eval $ac_try) 2>&5
10946 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10947 (exit $ac_status); }; } &&
10948 { ac_try='test -s conftest$ac_exeext'
10949 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10950 (eval $ac_try) 2>&5
10952 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10953 (exit $ac_status); }; }; then
10956 echo "$as_me: failed program was:" >&5
10957 sed 's/^/| /' conftest.$ac_ext >&5
10961 rm -f conftest.err conftest.$ac_objext \
10962 conftest$ac_exeext conftest.$ac_ext
10963 if test $ac_R_space = yes; then
10964 echo "$as_me:$LINENO: result: yes" >&5
10965 echo "${ECHO_T}yes" >&6
10966 X_LIBS="$X_LIBS -R $x_libraries"
10968 echo "$as_me:$LINENO: result: neither works" >&5
10969 echo "${ECHO_T}neither works" >&6
10972 LIBS=$ac_xsave_LIBS
10976 # Check for system-dependent libraries X programs must link with.
10977 # Do this before checking for the system-independent R6 libraries
10978 # (-lICE), since we may need -lsocket or whatever for X linking.
10980 if test "$ISC" = yes; then
10981 X_EXTRA_LIBS="$X_EXTRA_LIBS -lnsl_s -linet"
10983 # Martyn Johnson says this is needed for Ultrix, if the X
10984 # libraries were built with DECnet support. And Karl Berry says
10985 # the Alpha needs dnet_stub (dnet does not exist).
10986 ac_xsave_LIBS="$LIBS"; LIBS="$LIBS $X_LIBS -lX11"
10987 if test x$gcc_no_link = xyes; then
10988 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
10989 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
10990 { (exit 1); exit 1; }; }
10992 cat >conftest.$ac_ext <<_ACEOF
10995 cat confdefs.h >>conftest.$ac_ext
10996 cat >>conftest.$ac_ext <<_ACEOF
10997 /* end confdefs.h. */
10999 /* Override any gcc2 internal prototype to avoid an error. */
11003 /* We use char because int might match the return type of a gcc2
11004 builtin and then its argument prototype would still apply. */
11005 char XOpenDisplay ();
11014 rm -f conftest.$ac_objext conftest$ac_exeext
11015 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
11016 (eval $ac_link) 2>conftest.er1
11018 grep -v '^ *+' conftest.er1 >conftest.err
11020 cat conftest.err >&5
11021 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11022 (exit $ac_status); } &&
11023 { ac_try='test -z "$ac_c_werror_flag"
11024 || test ! -s conftest.err'
11025 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11026 (eval $ac_try) 2>&5
11028 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11029 (exit $ac_status); }; } &&
11030 { ac_try='test -s conftest$ac_exeext'
11031 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11032 (eval $ac_try) 2>&5
11034 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11035 (exit $ac_status); }; }; then
11038 echo "$as_me: failed program was:" >&5
11039 sed 's/^/| /' conftest.$ac_ext >&5
11041 echo "$as_me:$LINENO: checking for dnet_ntoa in -ldnet" >&5
11042 echo $ECHO_N "checking for dnet_ntoa in -ldnet... $ECHO_C" >&6
11043 if test "${ac_cv_lib_dnet_dnet_ntoa+set}" = set; then
11044 echo $ECHO_N "(cached) $ECHO_C" >&6
11046 ac_check_lib_save_LIBS=$LIBS
11047 LIBS="-ldnet $LIBS"
11048 if test x$gcc_no_link = xyes; then
11049 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
11050 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
11051 { (exit 1); exit 1; }; }
11053 cat >conftest.$ac_ext <<_ACEOF
11056 cat confdefs.h >>conftest.$ac_ext
11057 cat >>conftest.$ac_ext <<_ACEOF
11058 /* end confdefs.h. */
11060 /* Override any gcc2 internal prototype to avoid an error. */
11064 /* We use char because int might match the return type of a gcc2
11065 builtin and then its argument prototype would still apply. */
11075 rm -f conftest.$ac_objext conftest$ac_exeext
11076 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
11077 (eval $ac_link) 2>conftest.er1
11079 grep -v '^ *+' conftest.er1 >conftest.err
11081 cat conftest.err >&5
11082 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11083 (exit $ac_status); } &&
11084 { ac_try='test -z "$ac_c_werror_flag"
11085 || test ! -s conftest.err'
11086 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11087 (eval $ac_try) 2>&5
11089 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11090 (exit $ac_status); }; } &&
11091 { ac_try='test -s conftest$ac_exeext'
11092 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11093 (eval $ac_try) 2>&5
11095 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11096 (exit $ac_status); }; }; then
11097 ac_cv_lib_dnet_dnet_ntoa=yes
11099 echo "$as_me: failed program was:" >&5
11100 sed 's/^/| /' conftest.$ac_ext >&5
11102 ac_cv_lib_dnet_dnet_ntoa=no
11104 rm -f conftest.err conftest.$ac_objext \
11105 conftest$ac_exeext conftest.$ac_ext
11106 LIBS=$ac_check_lib_save_LIBS
11108 echo "$as_me:$LINENO: result: $ac_cv_lib_dnet_dnet_ntoa" >&5
11109 echo "${ECHO_T}$ac_cv_lib_dnet_dnet_ntoa" >&6
11110 if test $ac_cv_lib_dnet_dnet_ntoa = yes; then
11111 X_EXTRA_LIBS="$X_EXTRA_LIBS -ldnet"
11114 if test $ac_cv_lib_dnet_dnet_ntoa = no; then
11115 echo "$as_me:$LINENO: checking for dnet_ntoa in -ldnet_stub" >&5
11116 echo $ECHO_N "checking for dnet_ntoa in -ldnet_stub... $ECHO_C" >&6
11117 if test "${ac_cv_lib_dnet_stub_dnet_ntoa+set}" = set; then
11118 echo $ECHO_N "(cached) $ECHO_C" >&6
11120 ac_check_lib_save_LIBS=$LIBS
11121 LIBS="-ldnet_stub $LIBS"
11122 if test x$gcc_no_link = xyes; then
11123 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
11124 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
11125 { (exit 1); exit 1; }; }
11127 cat >conftest.$ac_ext <<_ACEOF
11130 cat confdefs.h >>conftest.$ac_ext
11131 cat >>conftest.$ac_ext <<_ACEOF
11132 /* end confdefs.h. */
11134 /* Override any gcc2 internal prototype to avoid an error. */
11138 /* We use char because int might match the return type of a gcc2
11139 builtin and then its argument prototype would still apply. */
11149 rm -f conftest.$ac_objext conftest$ac_exeext
11150 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
11151 (eval $ac_link) 2>conftest.er1
11153 grep -v '^ *+' conftest.er1 >conftest.err
11155 cat conftest.err >&5
11156 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11157 (exit $ac_status); } &&
11158 { ac_try='test -z "$ac_c_werror_flag"
11159 || test ! -s conftest.err'
11160 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11161 (eval $ac_try) 2>&5
11163 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11164 (exit $ac_status); }; } &&
11165 { ac_try='test -s conftest$ac_exeext'
11166 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11167 (eval $ac_try) 2>&5
11169 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11170 (exit $ac_status); }; }; then
11171 ac_cv_lib_dnet_stub_dnet_ntoa=yes
11173 echo "$as_me: failed program was:" >&5
11174 sed 's/^/| /' conftest.$ac_ext >&5
11176 ac_cv_lib_dnet_stub_dnet_ntoa=no
11178 rm -f conftest.err conftest.$ac_objext \
11179 conftest$ac_exeext conftest.$ac_ext
11180 LIBS=$ac_check_lib_save_LIBS
11182 echo "$as_me:$LINENO: result: $ac_cv_lib_dnet_stub_dnet_ntoa" >&5
11183 echo "${ECHO_T}$ac_cv_lib_dnet_stub_dnet_ntoa" >&6
11184 if test $ac_cv_lib_dnet_stub_dnet_ntoa = yes; then
11185 X_EXTRA_LIBS="$X_EXTRA_LIBS -ldnet_stub"
11190 rm -f conftest.err conftest.$ac_objext \
11191 conftest$ac_exeext conftest.$ac_ext
11192 LIBS="$ac_xsave_LIBS"
11194 # msh@cis.ufl.edu says -lnsl (and -lsocket) are needed for his 386/AT,
11195 # to get the SysV transport functions.
11196 # Chad R. Larson says the Pyramis MIS-ES running DC/OSx (SVR4)
11198 # The nsl library prevents programs from opening the X display
11199 # on Irix 5.2, according to T.E. Dickey.
11200 # The functions gethostbyname, getservbyname, and inet_addr are
11201 # in -lbsd on LynxOS 3.0.1/i386, according to Lars Hecking.
11202 echo "$as_me:$LINENO: checking for gethostbyname" >&5
11203 echo $ECHO_N "checking for gethostbyname... $ECHO_C" >&6
11204 if test "${ac_cv_func_gethostbyname+set}" = set; then
11205 echo $ECHO_N "(cached) $ECHO_C" >&6
11207 if test x$gcc_no_link = xyes; then
11208 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
11209 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
11210 { (exit 1); exit 1; }; }
11212 cat >conftest.$ac_ext <<_ACEOF
11215 cat confdefs.h >>conftest.$ac_ext
11216 cat >>conftest.$ac_ext <<_ACEOF
11217 /* end confdefs.h. */
11218 /* Define gethostbyname to an innocuous variant, in case <limits.h> declares gethostbyname.
11219 For example, HP-UX 11i <limits.h> declares gettimeofday. */
11220 #define gethostbyname innocuous_gethostbyname
11222 /* System header to define __stub macros and hopefully few prototypes,
11223 which can conflict with char gethostbyname (); below.
11224 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
11225 <limits.h> exists even on freestanding compilers. */
11228 # include <limits.h>
11230 # include <assert.h>
11233 #undef gethostbyname
11235 /* Override any gcc2 internal prototype to avoid an error. */
11240 /* We use char because int might match the return type of a gcc2
11241 builtin and then its argument prototype would still apply. */
11242 char gethostbyname ();
11243 /* The GNU C library defines this for functions which it implements
11244 to always fail with ENOSYS. Some functions are actually named
11245 something starting with __ and the normal name is an alias. */
11246 #if defined (__stub_gethostbyname) || defined (__stub___gethostbyname)
11249 char (*f) () = gethostbyname;
11258 return f != gethostbyname;
11263 rm -f conftest.$ac_objext conftest$ac_exeext
11264 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
11265 (eval $ac_link) 2>conftest.er1
11267 grep -v '^ *+' conftest.er1 >conftest.err
11269 cat conftest.err >&5
11270 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11271 (exit $ac_status); } &&
11272 { ac_try='test -z "$ac_c_werror_flag"
11273 || test ! -s conftest.err'
11274 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11275 (eval $ac_try) 2>&5
11277 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11278 (exit $ac_status); }; } &&
11279 { ac_try='test -s conftest$ac_exeext'
11280 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11281 (eval $ac_try) 2>&5
11283 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11284 (exit $ac_status); }; }; then
11285 ac_cv_func_gethostbyname=yes
11287 echo "$as_me: failed program was:" >&5
11288 sed 's/^/| /' conftest.$ac_ext >&5
11290 ac_cv_func_gethostbyname=no
11292 rm -f conftest.err conftest.$ac_objext \
11293 conftest$ac_exeext conftest.$ac_ext
11295 echo "$as_me:$LINENO: result: $ac_cv_func_gethostbyname" >&5
11296 echo "${ECHO_T}$ac_cv_func_gethostbyname" >&6
11298 if test $ac_cv_func_gethostbyname = no; then
11299 echo "$as_me:$LINENO: checking for gethostbyname in -lnsl" >&5
11300 echo $ECHO_N "checking for gethostbyname in -lnsl... $ECHO_C" >&6
11301 if test "${ac_cv_lib_nsl_gethostbyname+set}" = set; then
11302 echo $ECHO_N "(cached) $ECHO_C" >&6
11304 ac_check_lib_save_LIBS=$LIBS
11306 if test x$gcc_no_link = xyes; then
11307 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
11308 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
11309 { (exit 1); exit 1; }; }
11311 cat >conftest.$ac_ext <<_ACEOF
11314 cat confdefs.h >>conftest.$ac_ext
11315 cat >>conftest.$ac_ext <<_ACEOF
11316 /* end confdefs.h. */
11318 /* Override any gcc2 internal prototype to avoid an error. */
11322 /* We use char because int might match the return type of a gcc2
11323 builtin and then its argument prototype would still apply. */
11324 char gethostbyname ();
11333 rm -f conftest.$ac_objext conftest$ac_exeext
11334 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
11335 (eval $ac_link) 2>conftest.er1
11337 grep -v '^ *+' conftest.er1 >conftest.err
11339 cat conftest.err >&5
11340 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11341 (exit $ac_status); } &&
11342 { ac_try='test -z "$ac_c_werror_flag"
11343 || test ! -s conftest.err'
11344 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11345 (eval $ac_try) 2>&5
11347 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11348 (exit $ac_status); }; } &&
11349 { ac_try='test -s conftest$ac_exeext'
11350 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11351 (eval $ac_try) 2>&5
11353 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11354 (exit $ac_status); }; }; then
11355 ac_cv_lib_nsl_gethostbyname=yes
11357 echo "$as_me: failed program was:" >&5
11358 sed 's/^/| /' conftest.$ac_ext >&5
11360 ac_cv_lib_nsl_gethostbyname=no
11362 rm -f conftest.err conftest.$ac_objext \
11363 conftest$ac_exeext conftest.$ac_ext
11364 LIBS=$ac_check_lib_save_LIBS
11366 echo "$as_me:$LINENO: result: $ac_cv_lib_nsl_gethostbyname" >&5
11367 echo "${ECHO_T}$ac_cv_lib_nsl_gethostbyname" >&6
11368 if test $ac_cv_lib_nsl_gethostbyname = yes; then
11369 X_EXTRA_LIBS="$X_EXTRA_LIBS -lnsl"
11372 if test $ac_cv_lib_nsl_gethostbyname = no; then
11373 echo "$as_me:$LINENO: checking for gethostbyname in -lbsd" >&5
11374 echo $ECHO_N "checking for gethostbyname in -lbsd... $ECHO_C" >&6
11375 if test "${ac_cv_lib_bsd_gethostbyname+set}" = set; then
11376 echo $ECHO_N "(cached) $ECHO_C" >&6
11378 ac_check_lib_save_LIBS=$LIBS
11380 if test x$gcc_no_link = xyes; then
11381 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
11382 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
11383 { (exit 1); exit 1; }; }
11385 cat >conftest.$ac_ext <<_ACEOF
11388 cat confdefs.h >>conftest.$ac_ext
11389 cat >>conftest.$ac_ext <<_ACEOF
11390 /* end confdefs.h. */
11392 /* Override any gcc2 internal prototype to avoid an error. */
11396 /* We use char because int might match the return type of a gcc2
11397 builtin and then its argument prototype would still apply. */
11398 char gethostbyname ();
11407 rm -f conftest.$ac_objext conftest$ac_exeext
11408 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
11409 (eval $ac_link) 2>conftest.er1
11411 grep -v '^ *+' conftest.er1 >conftest.err
11413 cat conftest.err >&5
11414 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11415 (exit $ac_status); } &&
11416 { ac_try='test -z "$ac_c_werror_flag"
11417 || test ! -s conftest.err'
11418 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11419 (eval $ac_try) 2>&5
11421 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11422 (exit $ac_status); }; } &&
11423 { ac_try='test -s conftest$ac_exeext'
11424 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11425 (eval $ac_try) 2>&5
11427 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11428 (exit $ac_status); }; }; then
11429 ac_cv_lib_bsd_gethostbyname=yes
11431 echo "$as_me: failed program was:" >&5
11432 sed 's/^/| /' conftest.$ac_ext >&5
11434 ac_cv_lib_bsd_gethostbyname=no
11436 rm -f conftest.err conftest.$ac_objext \
11437 conftest$ac_exeext conftest.$ac_ext
11438 LIBS=$ac_check_lib_save_LIBS
11440 echo "$as_me:$LINENO: result: $ac_cv_lib_bsd_gethostbyname" >&5
11441 echo "${ECHO_T}$ac_cv_lib_bsd_gethostbyname" >&6
11442 if test $ac_cv_lib_bsd_gethostbyname = yes; then
11443 X_EXTRA_LIBS="$X_EXTRA_LIBS -lbsd"
11449 # lieder@skyler.mavd.honeywell.com says without -lsocket,
11450 # socket/setsockopt and other routines are undefined under SCO ODT
11451 # 2.0. But -lsocket is broken on IRIX 5.2 (and is not necessary
11452 # on later versions), says Simon Leinen: it contains gethostby*
11453 # variants that don't use the name server (or something). -lsocket
11454 # must be given before -lnsl if both are needed. We assume that
11455 # if connect needs -lnsl, so does gethostbyname.
11456 echo "$as_me:$LINENO: checking for connect" >&5
11457 echo $ECHO_N "checking for connect... $ECHO_C" >&6
11458 if test "${ac_cv_func_connect+set}" = set; then
11459 echo $ECHO_N "(cached) $ECHO_C" >&6
11461 if test x$gcc_no_link = xyes; then
11462 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
11463 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
11464 { (exit 1); exit 1; }; }
11466 cat >conftest.$ac_ext <<_ACEOF
11469 cat confdefs.h >>conftest.$ac_ext
11470 cat >>conftest.$ac_ext <<_ACEOF
11471 /* end confdefs.h. */
11472 /* Define connect to an innocuous variant, in case <limits.h> declares connect.
11473 For example, HP-UX 11i <limits.h> declares gettimeofday. */
11474 #define connect innocuous_connect
11476 /* System header to define __stub macros and hopefully few prototypes,
11477 which can conflict with char connect (); below.
11478 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
11479 <limits.h> exists even on freestanding compilers. */
11482 # include <limits.h>
11484 # include <assert.h>
11489 /* Override any gcc2 internal prototype to avoid an error. */
11494 /* We use char because int might match the return type of a gcc2
11495 builtin and then its argument prototype would still apply. */
11497 /* The GNU C library defines this for functions which it implements
11498 to always fail with ENOSYS. Some functions are actually named
11499 something starting with __ and the normal name is an alias. */
11500 #if defined (__stub_connect) || defined (__stub___connect)
11503 char (*f) () = connect;
11512 return f != connect;
11517 rm -f conftest.$ac_objext conftest$ac_exeext
11518 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
11519 (eval $ac_link) 2>conftest.er1
11521 grep -v '^ *+' conftest.er1 >conftest.err
11523 cat conftest.err >&5
11524 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11525 (exit $ac_status); } &&
11526 { ac_try='test -z "$ac_c_werror_flag"
11527 || test ! -s conftest.err'
11528 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11529 (eval $ac_try) 2>&5
11531 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11532 (exit $ac_status); }; } &&
11533 { ac_try='test -s conftest$ac_exeext'
11534 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11535 (eval $ac_try) 2>&5
11537 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11538 (exit $ac_status); }; }; then
11539 ac_cv_func_connect=yes
11541 echo "$as_me: failed program was:" >&5
11542 sed 's/^/| /' conftest.$ac_ext >&5
11544 ac_cv_func_connect=no
11546 rm -f conftest.err conftest.$ac_objext \
11547 conftest$ac_exeext conftest.$ac_ext
11549 echo "$as_me:$LINENO: result: $ac_cv_func_connect" >&5
11550 echo "${ECHO_T}$ac_cv_func_connect" >&6
11552 if test $ac_cv_func_connect = no; then
11553 echo "$as_me:$LINENO: checking for connect in -lsocket" >&5
11554 echo $ECHO_N "checking for connect in -lsocket... $ECHO_C" >&6
11555 if test "${ac_cv_lib_socket_connect+set}" = set; then
11556 echo $ECHO_N "(cached) $ECHO_C" >&6
11558 ac_check_lib_save_LIBS=$LIBS
11559 LIBS="-lsocket $X_EXTRA_LIBS $LIBS"
11560 if test x$gcc_no_link = xyes; then
11561 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
11562 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
11563 { (exit 1); exit 1; }; }
11565 cat >conftest.$ac_ext <<_ACEOF
11568 cat confdefs.h >>conftest.$ac_ext
11569 cat >>conftest.$ac_ext <<_ACEOF
11570 /* end confdefs.h. */
11572 /* Override any gcc2 internal prototype to avoid an error. */
11576 /* We use char because int might match the return type of a gcc2
11577 builtin and then its argument prototype would still apply. */
11587 rm -f conftest.$ac_objext conftest$ac_exeext
11588 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
11589 (eval $ac_link) 2>conftest.er1
11591 grep -v '^ *+' conftest.er1 >conftest.err
11593 cat conftest.err >&5
11594 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11595 (exit $ac_status); } &&
11596 { ac_try='test -z "$ac_c_werror_flag"
11597 || test ! -s conftest.err'
11598 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11599 (eval $ac_try) 2>&5
11601 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11602 (exit $ac_status); }; } &&
11603 { ac_try='test -s conftest$ac_exeext'
11604 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11605 (eval $ac_try) 2>&5
11607 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11608 (exit $ac_status); }; }; then
11609 ac_cv_lib_socket_connect=yes
11611 echo "$as_me: failed program was:" >&5
11612 sed 's/^/| /' conftest.$ac_ext >&5
11614 ac_cv_lib_socket_connect=no
11616 rm -f conftest.err conftest.$ac_objext \
11617 conftest$ac_exeext conftest.$ac_ext
11618 LIBS=$ac_check_lib_save_LIBS
11620 echo "$as_me:$LINENO: result: $ac_cv_lib_socket_connect" >&5
11621 echo "${ECHO_T}$ac_cv_lib_socket_connect" >&6
11622 if test $ac_cv_lib_socket_connect = yes; then
11623 X_EXTRA_LIBS="-lsocket $X_EXTRA_LIBS"
11628 # Guillermo Gomez says -lposix is necessary on A/UX.
11629 echo "$as_me:$LINENO: checking for remove" >&5
11630 echo $ECHO_N "checking for remove... $ECHO_C" >&6
11631 if test "${ac_cv_func_remove+set}" = set; then
11632 echo $ECHO_N "(cached) $ECHO_C" >&6
11634 if test x$gcc_no_link = xyes; then
11635 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
11636 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
11637 { (exit 1); exit 1; }; }
11639 cat >conftest.$ac_ext <<_ACEOF
11642 cat confdefs.h >>conftest.$ac_ext
11643 cat >>conftest.$ac_ext <<_ACEOF
11644 /* end confdefs.h. */
11645 /* Define remove to an innocuous variant, in case <limits.h> declares remove.
11646 For example, HP-UX 11i <limits.h> declares gettimeofday. */
11647 #define remove innocuous_remove
11649 /* System header to define __stub macros and hopefully few prototypes,
11650 which can conflict with char remove (); below.
11651 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
11652 <limits.h> exists even on freestanding compilers. */
11655 # include <limits.h>
11657 # include <assert.h>
11662 /* Override any gcc2 internal prototype to avoid an error. */
11667 /* We use char because int might match the return type of a gcc2
11668 builtin and then its argument prototype would still apply. */
11670 /* The GNU C library defines this for functions which it implements
11671 to always fail with ENOSYS. Some functions are actually named
11672 something starting with __ and the normal name is an alias. */
11673 #if defined (__stub_remove) || defined (__stub___remove)
11676 char (*f) () = remove;
11685 return f != remove;
11690 rm -f conftest.$ac_objext conftest$ac_exeext
11691 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
11692 (eval $ac_link) 2>conftest.er1
11694 grep -v '^ *+' conftest.er1 >conftest.err
11696 cat conftest.err >&5
11697 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11698 (exit $ac_status); } &&
11699 { ac_try='test -z "$ac_c_werror_flag"
11700 || test ! -s conftest.err'
11701 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11702 (eval $ac_try) 2>&5
11704 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11705 (exit $ac_status); }; } &&
11706 { ac_try='test -s conftest$ac_exeext'
11707 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11708 (eval $ac_try) 2>&5
11710 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11711 (exit $ac_status); }; }; then
11712 ac_cv_func_remove=yes
11714 echo "$as_me: failed program was:" >&5
11715 sed 's/^/| /' conftest.$ac_ext >&5
11717 ac_cv_func_remove=no
11719 rm -f conftest.err conftest.$ac_objext \
11720 conftest$ac_exeext conftest.$ac_ext
11722 echo "$as_me:$LINENO: result: $ac_cv_func_remove" >&5
11723 echo "${ECHO_T}$ac_cv_func_remove" >&6
11725 if test $ac_cv_func_remove = no; then
11726 echo "$as_me:$LINENO: checking for remove in -lposix" >&5
11727 echo $ECHO_N "checking for remove in -lposix... $ECHO_C" >&6
11728 if test "${ac_cv_lib_posix_remove+set}" = set; then
11729 echo $ECHO_N "(cached) $ECHO_C" >&6
11731 ac_check_lib_save_LIBS=$LIBS
11732 LIBS="-lposix $LIBS"
11733 if test x$gcc_no_link = xyes; then
11734 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
11735 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
11736 { (exit 1); exit 1; }; }
11738 cat >conftest.$ac_ext <<_ACEOF
11741 cat confdefs.h >>conftest.$ac_ext
11742 cat >>conftest.$ac_ext <<_ACEOF
11743 /* end confdefs.h. */
11745 /* Override any gcc2 internal prototype to avoid an error. */
11749 /* We use char because int might match the return type of a gcc2
11750 builtin and then its argument prototype would still apply. */
11760 rm -f conftest.$ac_objext conftest$ac_exeext
11761 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
11762 (eval $ac_link) 2>conftest.er1
11764 grep -v '^ *+' conftest.er1 >conftest.err
11766 cat conftest.err >&5
11767 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11768 (exit $ac_status); } &&
11769 { ac_try='test -z "$ac_c_werror_flag"
11770 || test ! -s conftest.err'
11771 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11772 (eval $ac_try) 2>&5
11774 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11775 (exit $ac_status); }; } &&
11776 { ac_try='test -s conftest$ac_exeext'
11777 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11778 (eval $ac_try) 2>&5
11780 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11781 (exit $ac_status); }; }; then
11782 ac_cv_lib_posix_remove=yes
11784 echo "$as_me: failed program was:" >&5
11785 sed 's/^/| /' conftest.$ac_ext >&5
11787 ac_cv_lib_posix_remove=no
11789 rm -f conftest.err conftest.$ac_objext \
11790 conftest$ac_exeext conftest.$ac_ext
11791 LIBS=$ac_check_lib_save_LIBS
11793 echo "$as_me:$LINENO: result: $ac_cv_lib_posix_remove" >&5
11794 echo "${ECHO_T}$ac_cv_lib_posix_remove" >&6
11795 if test $ac_cv_lib_posix_remove = yes; then
11796 X_EXTRA_LIBS="$X_EXTRA_LIBS -lposix"
11801 # BSDI BSD/OS 2.1 needs -lipc for XOpenDisplay.
11802 echo "$as_me:$LINENO: checking for shmat" >&5
11803 echo $ECHO_N "checking for shmat... $ECHO_C" >&6
11804 if test "${ac_cv_func_shmat+set}" = set; then
11805 echo $ECHO_N "(cached) $ECHO_C" >&6
11807 if test x$gcc_no_link = xyes; then
11808 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
11809 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
11810 { (exit 1); exit 1; }; }
11812 cat >conftest.$ac_ext <<_ACEOF
11815 cat confdefs.h >>conftest.$ac_ext
11816 cat >>conftest.$ac_ext <<_ACEOF
11817 /* end confdefs.h. */
11818 /* Define shmat to an innocuous variant, in case <limits.h> declares shmat.
11819 For example, HP-UX 11i <limits.h> declares gettimeofday. */
11820 #define shmat innocuous_shmat
11822 /* System header to define __stub macros and hopefully few prototypes,
11823 which can conflict with char shmat (); below.
11824 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
11825 <limits.h> exists even on freestanding compilers. */
11828 # include <limits.h>
11830 # include <assert.h>
11835 /* Override any gcc2 internal prototype to avoid an error. */
11840 /* We use char because int might match the return type of a gcc2
11841 builtin and then its argument prototype would still apply. */
11843 /* The GNU C library defines this for functions which it implements
11844 to always fail with ENOSYS. Some functions are actually named
11845 something starting with __ and the normal name is an alias. */
11846 #if defined (__stub_shmat) || defined (__stub___shmat)
11849 char (*f) () = shmat;
11863 rm -f conftest.$ac_objext conftest$ac_exeext
11864 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
11865 (eval $ac_link) 2>conftest.er1
11867 grep -v '^ *+' conftest.er1 >conftest.err
11869 cat conftest.err >&5
11870 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11871 (exit $ac_status); } &&
11872 { ac_try='test -z "$ac_c_werror_flag"
11873 || test ! -s conftest.err'
11874 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11875 (eval $ac_try) 2>&5
11877 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11878 (exit $ac_status); }; } &&
11879 { ac_try='test -s conftest$ac_exeext'
11880 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11881 (eval $ac_try) 2>&5
11883 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11884 (exit $ac_status); }; }; then
11885 ac_cv_func_shmat=yes
11887 echo "$as_me: failed program was:" >&5
11888 sed 's/^/| /' conftest.$ac_ext >&5
11890 ac_cv_func_shmat=no
11892 rm -f conftest.err conftest.$ac_objext \
11893 conftest$ac_exeext conftest.$ac_ext
11895 echo "$as_me:$LINENO: result: $ac_cv_func_shmat" >&5
11896 echo "${ECHO_T}$ac_cv_func_shmat" >&6
11898 if test $ac_cv_func_shmat = no; then
11899 echo "$as_me:$LINENO: checking for shmat in -lipc" >&5
11900 echo $ECHO_N "checking for shmat in -lipc... $ECHO_C" >&6
11901 if test "${ac_cv_lib_ipc_shmat+set}" = set; then
11902 echo $ECHO_N "(cached) $ECHO_C" >&6
11904 ac_check_lib_save_LIBS=$LIBS
11906 if test x$gcc_no_link = xyes; then
11907 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
11908 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
11909 { (exit 1); exit 1; }; }
11911 cat >conftest.$ac_ext <<_ACEOF
11914 cat confdefs.h >>conftest.$ac_ext
11915 cat >>conftest.$ac_ext <<_ACEOF
11916 /* end confdefs.h. */
11918 /* Override any gcc2 internal prototype to avoid an error. */
11922 /* We use char because int might match the return type of a gcc2
11923 builtin and then its argument prototype would still apply. */
11933 rm -f conftest.$ac_objext conftest$ac_exeext
11934 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
11935 (eval $ac_link) 2>conftest.er1
11937 grep -v '^ *+' conftest.er1 >conftest.err
11939 cat conftest.err >&5
11940 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11941 (exit $ac_status); } &&
11942 { ac_try='test -z "$ac_c_werror_flag"
11943 || test ! -s conftest.err'
11944 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11945 (eval $ac_try) 2>&5
11947 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11948 (exit $ac_status); }; } &&
11949 { ac_try='test -s conftest$ac_exeext'
11950 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11951 (eval $ac_try) 2>&5
11953 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11954 (exit $ac_status); }; }; then
11955 ac_cv_lib_ipc_shmat=yes
11957 echo "$as_me: failed program was:" >&5
11958 sed 's/^/| /' conftest.$ac_ext >&5
11960 ac_cv_lib_ipc_shmat=no
11962 rm -f conftest.err conftest.$ac_objext \
11963 conftest$ac_exeext conftest.$ac_ext
11964 LIBS=$ac_check_lib_save_LIBS
11966 echo "$as_me:$LINENO: result: $ac_cv_lib_ipc_shmat" >&5
11967 echo "${ECHO_T}$ac_cv_lib_ipc_shmat" >&6
11968 if test $ac_cv_lib_ipc_shmat = yes; then
11969 X_EXTRA_LIBS="$X_EXTRA_LIBS -lipc"
11975 # Check for libraries that X11R6 Xt/Xaw programs need.
11976 ac_save_LDFLAGS=$LDFLAGS
11977 test -n "$x_libraries" && LDFLAGS="$LDFLAGS -L$x_libraries"
11978 # SM needs ICE to (dynamically) link under SunOS 4.x (so we have to
11979 # check for ICE first), but we must link in the order -lSM -lICE or
11980 # we get undefined symbols. So assume we have SM if we have ICE.
11981 # These have to be linked with before -lX11, unlike the other
11982 # libraries we check for below, so use a different variable.
11983 # John Interrante, Karl Berry
11984 echo "$as_me:$LINENO: checking for IceConnectionNumber in -lICE" >&5
11985 echo $ECHO_N "checking for IceConnectionNumber in -lICE... $ECHO_C" >&6
11986 if test "${ac_cv_lib_ICE_IceConnectionNumber+set}" = set; then
11987 echo $ECHO_N "(cached) $ECHO_C" >&6
11989 ac_check_lib_save_LIBS=$LIBS
11990 LIBS="-lICE $X_EXTRA_LIBS $LIBS"
11991 if test x$gcc_no_link = xyes; then
11992 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
11993 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
11994 { (exit 1); exit 1; }; }
11996 cat >conftest.$ac_ext <<_ACEOF
11999 cat confdefs.h >>conftest.$ac_ext
12000 cat >>conftest.$ac_ext <<_ACEOF
12001 /* end confdefs.h. */
12003 /* Override any gcc2 internal prototype to avoid an error. */
12007 /* We use char because int might match the return type of a gcc2
12008 builtin and then its argument prototype would still apply. */
12009 char IceConnectionNumber ();
12013 IceConnectionNumber ();
12018 rm -f conftest.$ac_objext conftest$ac_exeext
12019 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12020 (eval $ac_link) 2>conftest.er1
12022 grep -v '^ *+' conftest.er1 >conftest.err
12024 cat conftest.err >&5
12025 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12026 (exit $ac_status); } &&
12027 { ac_try='test -z "$ac_c_werror_flag"
12028 || test ! -s conftest.err'
12029 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12030 (eval $ac_try) 2>&5
12032 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12033 (exit $ac_status); }; } &&
12034 { ac_try='test -s conftest$ac_exeext'
12035 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12036 (eval $ac_try) 2>&5
12038 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12039 (exit $ac_status); }; }; then
12040 ac_cv_lib_ICE_IceConnectionNumber=yes
12042 echo "$as_me: failed program was:" >&5
12043 sed 's/^/| /' conftest.$ac_ext >&5
12045 ac_cv_lib_ICE_IceConnectionNumber=no
12047 rm -f conftest.err conftest.$ac_objext \
12048 conftest$ac_exeext conftest.$ac_ext
12049 LIBS=$ac_check_lib_save_LIBS
12051 echo "$as_me:$LINENO: result: $ac_cv_lib_ICE_IceConnectionNumber" >&5
12052 echo "${ECHO_T}$ac_cv_lib_ICE_IceConnectionNumber" >&6
12053 if test $ac_cv_lib_ICE_IceConnectionNumber = yes; then
12054 X_PRE_LIBS="$X_PRE_LIBS -lSM -lICE"
12057 LDFLAGS=$ac_save_LDFLAGS
12061 if test "$no_x" = yes; then
12062 { { echo "$as_me:$LINENO: error: GTK+ peers requested but no X library available" >&5
12063 echo "$as_me: error: GTK+ peers requested but no X library available" >&2;}
12064 { (exit 1); exit 1; }; }
12066 echo "$as_me:$LINENO: checking for XTestQueryExtension in -lXtst" >&5
12067 echo $ECHO_N "checking for XTestQueryExtension in -lXtst... $ECHO_C" >&6
12068 if test "${ac_cv_lib_Xtst_XTestQueryExtension+set}" = set; then
12069 echo $ECHO_N "(cached) $ECHO_C" >&6
12071 ac_check_lib_save_LIBS=$LIBS
12072 LIBS="-lXtst ${X_LIBS} $LIBS"
12073 if test x$gcc_no_link = xyes; then
12074 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
12075 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
12076 { (exit 1); exit 1; }; }
12078 cat >conftest.$ac_ext <<_ACEOF
12081 cat confdefs.h >>conftest.$ac_ext
12082 cat >>conftest.$ac_ext <<_ACEOF
12083 /* end confdefs.h. */
12085 /* Override any gcc2 internal prototype to avoid an error. */
12089 /* We use char because int might match the return type of a gcc2
12090 builtin and then its argument prototype would still apply. */
12091 char XTestQueryExtension ();
12095 XTestQueryExtension ();
12100 rm -f conftest.$ac_objext conftest$ac_exeext
12101 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12102 (eval $ac_link) 2>conftest.er1
12104 grep -v '^ *+' conftest.er1 >conftest.err
12106 cat conftest.err >&5
12107 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12108 (exit $ac_status); } &&
12109 { ac_try='test -z "$ac_c_werror_flag"
12110 || test ! -s conftest.err'
12111 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12112 (eval $ac_try) 2>&5
12114 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12115 (exit $ac_status); }; } &&
12116 { ac_try='test -s conftest$ac_exeext'
12117 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12118 (eval $ac_try) 2>&5
12120 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12121 (exit $ac_status); }; }; then
12122 ac_cv_lib_Xtst_XTestQueryExtension=yes
12124 echo "$as_me: failed program was:" >&5
12125 sed 's/^/| /' conftest.$ac_ext >&5
12127 ac_cv_lib_Xtst_XTestQueryExtension=no
12129 rm -f conftest.err conftest.$ac_objext \
12130 conftest$ac_exeext conftest.$ac_ext
12131 LIBS=$ac_check_lib_save_LIBS
12133 echo "$as_me:$LINENO: result: $ac_cv_lib_Xtst_XTestQueryExtension" >&5
12134 echo "${ECHO_T}$ac_cv_lib_Xtst_XTestQueryExtension" >&6
12135 if test $ac_cv_lib_Xtst_XTestQueryExtension = yes; then
12136 XTEST_LIBS="$XTEST_LIBS -lX11 -lXtst"
12138 { { echo "$as_me:$LINENO: error: libXtst NOT found, required for GdkRobot" >&5
12139 echo "$as_me: error: libXtst NOT found, required for GdkRobot" >&2;}
12140 { (exit 1); exit 1; }; }
12147 if test -z "$PKG_CONFIG"; then
12148 # Extract the first word of "pkg-config", so it can be a program name with args.
12149 set dummy pkg-config; ac_word=$2
12150 echo "$as_me:$LINENO: checking for $ac_word" >&5
12151 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
12152 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
12153 echo $ECHO_N "(cached) $ECHO_C" >&6
12155 case $PKG_CONFIG in
12157 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
12160 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12161 for as_dir in $PATH
12164 test -z "$as_dir" && as_dir=.
12165 for ac_exec_ext in '' $ac_executable_extensions; do
12166 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
12167 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
12168 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
12174 test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG="no"
12178 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
12180 if test -n "$PKG_CONFIG"; then
12181 echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
12182 echo "${ECHO_T}$PKG_CONFIG" >&6
12184 echo "$as_me:$LINENO: result: no" >&5
12185 echo "${ECHO_T}no" >&6
12190 if test "$PKG_CONFIG" = "no" ; then
12191 echo "*** The pkg-config script could not be found. Make sure it is"
12192 echo "*** in your path, or set the PKG_CONFIG environment variable"
12193 echo "*** to the full path to pkg-config."
12194 echo "*** Or see http://www.freedesktop.org/software/pkgconfig to get pkg-config."
12196 PKG_CONFIG_MIN_VERSION=0.9.0
12197 if $PKG_CONFIG --atleast-pkgconfig-version $PKG_CONFIG_MIN_VERSION; then
12198 echo "$as_me:$LINENO: checking for gtk+-2.0 >= 2.8 gthread-2.0 >= 2.2 gdk-pixbuf-2.0" >&5
12199 echo $ECHO_N "checking for gtk+-2.0 >= 2.8 gthread-2.0 >= 2.2 gdk-pixbuf-2.0... $ECHO_C" >&6
12201 if $PKG_CONFIG --exists "gtk+-2.0 >= 2.8 gthread-2.0 >= 2.2 gdk-pixbuf-2.0" ; then
12202 echo "$as_me:$LINENO: result: yes" >&5
12203 echo "${ECHO_T}yes" >&6
12206 echo "$as_me:$LINENO: checking GTK_CFLAGS" >&5
12207 echo $ECHO_N "checking GTK_CFLAGS... $ECHO_C" >&6
12208 GTK_CFLAGS=`$PKG_CONFIG --cflags "gtk+-2.0 >= 2.8 gthread-2.0 >= 2.2 gdk-pixbuf-2.0"`
12209 echo "$as_me:$LINENO: result: $GTK_CFLAGS" >&5
12210 echo "${ECHO_T}$GTK_CFLAGS" >&6
12212 echo "$as_me:$LINENO: checking GTK_LIBS" >&5
12213 echo $ECHO_N "checking GTK_LIBS... $ECHO_C" >&6
12214 GTK_LIBS=`$PKG_CONFIG --libs "gtk+-2.0 >= 2.8 gthread-2.0 >= 2.2 gdk-pixbuf-2.0"`
12215 echo "$as_me:$LINENO: result: $GTK_LIBS" >&5
12216 echo "${ECHO_T}$GTK_LIBS" >&6
12220 ## If we have a custom action on failure, don't print errors, but
12221 ## do set a variable so people can do so.
12222 GTK_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "gtk+-2.0 >= 2.8 gthread-2.0 >= 2.2 gdk-pixbuf-2.0"`
12223 echo $GTK_PKG_ERRORS
12229 echo "*** Your version of pkg-config is too old. You need version $PKG_CONFIG_MIN_VERSION or newer."
12230 echo "*** See http://www.freedesktop.org/software/pkgconfig"
12234 if test $succeeded = yes; then
12237 { { 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
12238 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;}
12239 { (exit 1); exit 1; }; }
12245 if test -z "$PKG_CONFIG"; then
12246 # Extract the first word of "pkg-config", so it can be a program name with args.
12247 set dummy pkg-config; ac_word=$2
12248 echo "$as_me:$LINENO: checking for $ac_word" >&5
12249 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
12250 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
12251 echo $ECHO_N "(cached) $ECHO_C" >&6
12253 case $PKG_CONFIG in
12255 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
12258 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12259 for as_dir in $PATH
12262 test -z "$as_dir" && as_dir=.
12263 for ac_exec_ext in '' $ac_executable_extensions; do
12264 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
12265 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
12266 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
12272 test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG="no"
12276 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
12278 if test -n "$PKG_CONFIG"; then
12279 echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
12280 echo "${ECHO_T}$PKG_CONFIG" >&6
12282 echo "$as_me:$LINENO: result: no" >&5
12283 echo "${ECHO_T}no" >&6
12288 if test "$PKG_CONFIG" = "no" ; then
12289 echo "*** The pkg-config script could not be found. Make sure it is"
12290 echo "*** in your path, or set the PKG_CONFIG environment variable"
12291 echo "*** to the full path to pkg-config."
12292 echo "*** Or see http://www.freedesktop.org/software/pkgconfig to get pkg-config."
12294 PKG_CONFIG_MIN_VERSION=0.9.0
12295 if $PKG_CONFIG --atleast-pkgconfig-version $PKG_CONFIG_MIN_VERSION; then
12296 echo "$as_me:$LINENO: checking for freetype2" >&5
12297 echo $ECHO_N "checking for freetype2... $ECHO_C" >&6
12299 if $PKG_CONFIG --exists "freetype2" ; then
12300 echo "$as_me:$LINENO: result: yes" >&5
12301 echo "${ECHO_T}yes" >&6
12304 echo "$as_me:$LINENO: checking FREETYPE2_CFLAGS" >&5
12305 echo $ECHO_N "checking FREETYPE2_CFLAGS... $ECHO_C" >&6
12306 FREETYPE2_CFLAGS=`$PKG_CONFIG --cflags "freetype2"`
12307 echo "$as_me:$LINENO: result: $FREETYPE2_CFLAGS" >&5
12308 echo "${ECHO_T}$FREETYPE2_CFLAGS" >&6
12310 echo "$as_me:$LINENO: checking FREETYPE2_LIBS" >&5
12311 echo $ECHO_N "checking FREETYPE2_LIBS... $ECHO_C" >&6
12312 FREETYPE2_LIBS=`$PKG_CONFIG --libs "freetype2"`
12313 echo "$as_me:$LINENO: result: $FREETYPE2_LIBS" >&5
12314 echo "${ECHO_T}$FREETYPE2_LIBS" >&6
12316 FREETYPE2_CFLAGS=""
12318 ## If we have a custom action on failure, don't print errors, but
12319 ## do set a variable so people can do so.
12320 FREETYPE2_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "freetype2"`
12321 echo $FREETYPE2_PKG_ERRORS
12327 echo "*** Your version of pkg-config is too old. You need version $PKG_CONFIG_MIN_VERSION or newer."
12328 echo "*** See http://www.freedesktop.org/software/pkgconfig"
12332 if test $succeeded = yes; then
12335 { { 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
12336 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;}
12337 { (exit 1); exit 1; }; }
12343 if test -z "$PKG_CONFIG"; then
12344 # Extract the first word of "pkg-config", so it can be a program name with args.
12345 set dummy pkg-config; ac_word=$2
12346 echo "$as_me:$LINENO: checking for $ac_word" >&5
12347 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
12348 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
12349 echo $ECHO_N "(cached) $ECHO_C" >&6
12351 case $PKG_CONFIG in
12353 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
12356 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12357 for as_dir in $PATH
12360 test -z "$as_dir" && as_dir=.
12361 for ac_exec_ext in '' $ac_executable_extensions; do
12362 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
12363 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
12364 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
12370 test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG="no"
12374 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
12376 if test -n "$PKG_CONFIG"; then
12377 echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
12378 echo "${ECHO_T}$PKG_CONFIG" >&6
12380 echo "$as_me:$LINENO: result: no" >&5
12381 echo "${ECHO_T}no" >&6
12386 if test "$PKG_CONFIG" = "no" ; then
12387 echo "*** The pkg-config script could not be found. Make sure it is"
12388 echo "*** in your path, or set the PKG_CONFIG environment variable"
12389 echo "*** to the full path to pkg-config."
12390 echo "*** Or see http://www.freedesktop.org/software/pkgconfig to get pkg-config."
12392 PKG_CONFIG_MIN_VERSION=0.9.0
12393 if $PKG_CONFIG --atleast-pkgconfig-version $PKG_CONFIG_MIN_VERSION; then
12394 echo "$as_me:$LINENO: checking for pangoft2" >&5
12395 echo $ECHO_N "checking for pangoft2... $ECHO_C" >&6
12397 if $PKG_CONFIG --exists "pangoft2" ; then
12398 echo "$as_me:$LINENO: result: yes" >&5
12399 echo "${ECHO_T}yes" >&6
12402 echo "$as_me:$LINENO: checking PANGOFT2_CFLAGS" >&5
12403 echo $ECHO_N "checking PANGOFT2_CFLAGS... $ECHO_C" >&6
12404 PANGOFT2_CFLAGS=`$PKG_CONFIG --cflags "pangoft2"`
12405 echo "$as_me:$LINENO: result: $PANGOFT2_CFLAGS" >&5
12406 echo "${ECHO_T}$PANGOFT2_CFLAGS" >&6
12408 echo "$as_me:$LINENO: checking PANGOFT2_LIBS" >&5
12409 echo $ECHO_N "checking PANGOFT2_LIBS... $ECHO_C" >&6
12410 PANGOFT2_LIBS=`$PKG_CONFIG --libs "pangoft2"`
12411 echo "$as_me:$LINENO: result: $PANGOFT2_LIBS" >&5
12412 echo "${ECHO_T}$PANGOFT2_LIBS" >&6
12416 ## If we have a custom action on failure, don't print errors, but
12417 ## do set a variable so people can do so.
12418 PANGOFT2_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "pangoft2"`
12419 echo $PANGOFT2_PKG_ERRORS
12425 echo "*** Your version of pkg-config is too old. You need version $PKG_CONFIG_MIN_VERSION or newer."
12426 echo "*** See http://www.freedesktop.org/software/pkgconfig"
12430 if test $succeeded = yes; then
12433 { { 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
12434 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;}
12435 { (exit 1); exit 1; }; }
12438 echo "$as_me:$LINENO: checking for XRenderQueryExtension in -lXrender" >&5
12439 echo $ECHO_N "checking for XRenderQueryExtension in -lXrender... $ECHO_C" >&6
12440 if test "${ac_cv_lib_Xrender_XRenderQueryExtension+set}" = set; then
12441 echo $ECHO_N "(cached) $ECHO_C" >&6
12443 ac_check_lib_save_LIBS=$LIBS
12444 LIBS="-lXrender ${X_LIBS} $LIBS"
12445 if test x$gcc_no_link = xyes; then
12446 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
12447 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
12448 { (exit 1); exit 1; }; }
12450 cat >conftest.$ac_ext <<_ACEOF
12453 cat confdefs.h >>conftest.$ac_ext
12454 cat >>conftest.$ac_ext <<_ACEOF
12455 /* end confdefs.h. */
12457 /* Override any gcc2 internal prototype to avoid an error. */
12461 /* We use char because int might match the return type of a gcc2
12462 builtin and then its argument prototype would still apply. */
12463 char XRenderQueryExtension ();
12467 XRenderQueryExtension ();
12472 rm -f conftest.$ac_objext conftest$ac_exeext
12473 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12474 (eval $ac_link) 2>conftest.er1
12476 grep -v '^ *+' conftest.er1 >conftest.err
12478 cat conftest.err >&5
12479 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12480 (exit $ac_status); } &&
12481 { ac_try='test -z "$ac_c_werror_flag"
12482 || test ! -s conftest.err'
12483 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12484 (eval $ac_try) 2>&5
12486 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12487 (exit $ac_status); }; } &&
12488 { ac_try='test -s conftest$ac_exeext'
12489 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12490 (eval $ac_try) 2>&5
12492 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12493 (exit $ac_status); }; }; then
12494 ac_cv_lib_Xrender_XRenderQueryExtension=yes
12496 echo "$as_me: failed program was:" >&5
12497 sed 's/^/| /' conftest.$ac_ext >&5
12499 ac_cv_lib_Xrender_XRenderQueryExtension=no
12501 rm -f conftest.err conftest.$ac_objext \
12502 conftest$ac_exeext conftest.$ac_ext
12503 LIBS=$ac_check_lib_save_LIBS
12505 echo "$as_me:$LINENO: result: $ac_cv_lib_Xrender_XRenderQueryExtension" >&5
12506 echo "${ECHO_T}$ac_cv_lib_Xrender_XRenderQueryExtension" >&6
12507 if test $ac_cv_lib_Xrender_XRenderQueryExtension = yes; then
12509 cat >>confdefs.h <<\_ACEOF
12510 #define HAVE_XRENDER 1
12512 X_EXTRA_LIBS="$X_EXTRA_LIBS -lXrender"
12518 echo "$as_me:$LINENO: checking for XRRQueryExtension in -lXrandr" >&5
12519 echo $ECHO_N "checking for XRRQueryExtension in -lXrandr... $ECHO_C" >&6
12520 if test "${ac_cv_lib_Xrandr_XRRQueryExtension+set}" = set; then
12521 echo $ECHO_N "(cached) $ECHO_C" >&6
12523 ac_check_lib_save_LIBS=$LIBS
12524 LIBS="-lXrandr ${X_LIBS} $LIBS"
12525 if test x$gcc_no_link = xyes; then
12526 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
12527 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
12528 { (exit 1); exit 1; }; }
12530 cat >conftest.$ac_ext <<_ACEOF
12533 cat confdefs.h >>conftest.$ac_ext
12534 cat >>conftest.$ac_ext <<_ACEOF
12535 /* end confdefs.h. */
12537 /* Override any gcc2 internal prototype to avoid an error. */
12541 /* We use char because int might match the return type of a gcc2
12542 builtin and then its argument prototype would still apply. */
12543 char XRRQueryExtension ();
12547 XRRQueryExtension ();
12552 rm -f conftest.$ac_objext conftest$ac_exeext
12553 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12554 (eval $ac_link) 2>conftest.er1
12556 grep -v '^ *+' conftest.er1 >conftest.err
12558 cat conftest.err >&5
12559 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12560 (exit $ac_status); } &&
12561 { ac_try='test -z "$ac_c_werror_flag"
12562 || test ! -s conftest.err'
12563 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12564 (eval $ac_try) 2>&5
12566 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12567 (exit $ac_status); }; } &&
12568 { ac_try='test -s conftest$ac_exeext'
12569 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12570 (eval $ac_try) 2>&5
12572 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12573 (exit $ac_status); }; }; then
12574 ac_cv_lib_Xrandr_XRRQueryExtension=yes
12576 echo "$as_me: failed program was:" >&5
12577 sed 's/^/| /' conftest.$ac_ext >&5
12579 ac_cv_lib_Xrandr_XRRQueryExtension=no
12581 rm -f conftest.err conftest.$ac_objext \
12582 conftest$ac_exeext conftest.$ac_ext
12583 LIBS=$ac_check_lib_save_LIBS
12585 echo "$as_me:$LINENO: result: $ac_cv_lib_Xrandr_XRRQueryExtension" >&5
12586 echo "${ECHO_T}$ac_cv_lib_Xrandr_XRRQueryExtension" >&6
12587 if test $ac_cv_lib_Xrandr_XRRQueryExtension = yes; then
12589 cat >>confdefs.h <<\_ACEOF
12590 #define HAVE_XRANDR 1
12592 X_EXTRA_LIBS="$X_EXTRA_LIBS -lXrandr"
12607 if test "x${COMPILE_GCONF_PEER}" = xyes; then
12611 if test -z "$PKG_CONFIG"; then
12612 # Extract the first word of "pkg-config", so it can be a program name with args.
12613 set dummy pkg-config; ac_word=$2
12614 echo "$as_me:$LINENO: checking for $ac_word" >&5
12615 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
12616 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
12617 echo $ECHO_N "(cached) $ECHO_C" >&6
12619 case $PKG_CONFIG in
12621 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
12624 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12625 for as_dir in $PATH
12628 test -z "$as_dir" && as_dir=.
12629 for ac_exec_ext in '' $ac_executable_extensions; do
12630 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
12631 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
12632 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
12638 test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG="no"
12642 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
12644 if test -n "$PKG_CONFIG"; then
12645 echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
12646 echo "${ECHO_T}$PKG_CONFIG" >&6
12648 echo "$as_me:$LINENO: result: no" >&5
12649 echo "${ECHO_T}no" >&6
12654 if test "$PKG_CONFIG" = "no" ; then
12655 echo "*** The pkg-config script could not be found. Make sure it is"
12656 echo "*** in your path, or set the PKG_CONFIG environment variable"
12657 echo "*** to the full path to pkg-config."
12658 echo "*** Or see http://www.freedesktop.org/software/pkgconfig to get pkg-config."
12660 PKG_CONFIG_MIN_VERSION=0.9.0
12661 if $PKG_CONFIG --atleast-pkgconfig-version $PKG_CONFIG_MIN_VERSION; then
12662 echo "$as_me:$LINENO: checking for gconf-2.0 >= 2.11.2" >&5
12663 echo $ECHO_N "checking for gconf-2.0 >= 2.11.2... $ECHO_C" >&6
12665 if $PKG_CONFIG --exists "gconf-2.0 >= 2.11.2" ; then
12666 echo "$as_me:$LINENO: result: yes" >&5
12667 echo "${ECHO_T}yes" >&6
12670 echo "$as_me:$LINENO: checking GCONF_CFLAGS" >&5
12671 echo $ECHO_N "checking GCONF_CFLAGS... $ECHO_C" >&6
12672 GCONF_CFLAGS=`$PKG_CONFIG --cflags "gconf-2.0 >= 2.11.2"`
12673 echo "$as_me:$LINENO: result: $GCONF_CFLAGS" >&5
12674 echo "${ECHO_T}$GCONF_CFLAGS" >&6
12676 echo "$as_me:$LINENO: checking GCONF_LIBS" >&5
12677 echo $ECHO_N "checking GCONF_LIBS... $ECHO_C" >&6
12678 GCONF_LIBS=`$PKG_CONFIG --libs "gconf-2.0 >= 2.11.2"`
12679 echo "$as_me:$LINENO: result: $GCONF_LIBS" >&5
12680 echo "${ECHO_T}$GCONF_LIBS" >&6
12684 ## If we have a custom action on failure, don't print errors, but
12685 ## do set a variable so people can do so.
12686 GCONF_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "gconf-2.0 >= 2.11.2"`
12687 echo $GCONF_PKG_ERRORS
12693 echo "*** Your version of pkg-config is too old. You need version $PKG_CONFIG_MIN_VERSION or newer."
12694 echo "*** See http://www.freedesktop.org/software/pkgconfig"
12698 if test $succeeded = yes; then
12701 { { 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
12702 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;}
12703 { (exit 1); exit 1; }; }
12711 if test -z "$PKG_CONFIG"; then
12712 # Extract the first word of "pkg-config", so it can be a program name with args.
12713 set dummy pkg-config; ac_word=$2
12714 echo "$as_me:$LINENO: checking for $ac_word" >&5
12715 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
12716 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
12717 echo $ECHO_N "(cached) $ECHO_C" >&6
12719 case $PKG_CONFIG in
12721 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
12724 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12725 for as_dir in $PATH
12728 test -z "$as_dir" && as_dir=.
12729 for ac_exec_ext in '' $ac_executable_extensions; do
12730 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
12731 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
12732 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
12738 test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG="no"
12742 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
12744 if test -n "$PKG_CONFIG"; then
12745 echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
12746 echo "${ECHO_T}$PKG_CONFIG" >&6
12748 echo "$as_me:$LINENO: result: no" >&5
12749 echo "${ECHO_T}no" >&6
12754 if test "$PKG_CONFIG" = "no" ; then
12755 echo "*** The pkg-config script could not be found. Make sure it is"
12756 echo "*** in your path, or set the PKG_CONFIG environment variable"
12757 echo "*** to the full path to pkg-config."
12758 echo "*** Or see http://www.freedesktop.org/software/pkgconfig to get pkg-config."
12760 PKG_CONFIG_MIN_VERSION=0.9.0
12761 if $PKG_CONFIG --atleast-pkgconfig-version $PKG_CONFIG_MIN_VERSION; then
12762 echo "$as_me:$LINENO: checking for gdk-2.0 >= 2.8" >&5
12763 echo $ECHO_N "checking for gdk-2.0 >= 2.8... $ECHO_C" >&6
12765 if $PKG_CONFIG --exists "gdk-2.0 >= 2.8" ; then
12766 echo "$as_me:$LINENO: result: yes" >&5
12767 echo "${ECHO_T}yes" >&6
12770 echo "$as_me:$LINENO: checking GDK_CFLAGS" >&5
12771 echo $ECHO_N "checking GDK_CFLAGS... $ECHO_C" >&6
12772 GDK_CFLAGS=`$PKG_CONFIG --cflags "gdk-2.0 >= 2.8"`
12773 echo "$as_me:$LINENO: result: $GDK_CFLAGS" >&5
12774 echo "${ECHO_T}$GDK_CFLAGS" >&6
12776 echo "$as_me:$LINENO: checking GDK_LIBS" >&5
12777 echo $ECHO_N "checking GDK_LIBS... $ECHO_C" >&6
12778 GDK_LIBS=`$PKG_CONFIG --libs "gdk-2.0 >= 2.8"`
12779 echo "$as_me:$LINENO: result: $GDK_LIBS" >&5
12780 echo "${ECHO_T}$GDK_LIBS" >&6
12784 ## If we have a custom action on failure, don't print errors, but
12785 ## do set a variable so people can do so.
12786 GDK_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "gdk-2.0 >= 2.8"`
12787 echo $GDK_PKG_ERRORS
12793 echo "*** Your version of pkg-config is too old. You need version $PKG_CONFIG_MIN_VERSION or newer."
12794 echo "*** See http://www.freedesktop.org/software/pkgconfig"
12798 if test $succeeded = yes; then
12801 { { 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
12802 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;}
12803 { (exit 1); exit 1; }; }
12808 USE_GCONF_PREFS_PEER=$enable_default_preferences_peer
12809 if test "$USE_GCONF_PREFS_PEER" = ""; then
12810 DEFAULT_PREFS_PEER=gnu.java.util.prefs.GConfBasedFactory
12814 if test "x${COMPILE_QT_PEER}" = xyes; then
12818 if test -z "$PKG_CONFIG"; then
12819 # Extract the first word of "pkg-config", so it can be a program name with args.
12820 set dummy pkg-config; ac_word=$2
12821 echo "$as_me:$LINENO: checking for $ac_word" >&5
12822 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
12823 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
12824 echo $ECHO_N "(cached) $ECHO_C" >&6
12826 case $PKG_CONFIG in
12828 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
12831 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12832 for as_dir in $PATH
12835 test -z "$as_dir" && as_dir=.
12836 for ac_exec_ext in '' $ac_executable_extensions; do
12837 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
12838 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
12839 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
12845 test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG="no"
12849 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
12851 if test -n "$PKG_CONFIG"; then
12852 echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
12853 echo "${ECHO_T}$PKG_CONFIG" >&6
12855 echo "$as_me:$LINENO: result: no" >&5
12856 echo "${ECHO_T}no" >&6
12861 if test "$PKG_CONFIG" = "no" ; then
12862 echo "*** The pkg-config script could not be found. Make sure it is"
12863 echo "*** in your path, or set the PKG_CONFIG environment variable"
12864 echo "*** to the full path to pkg-config."
12865 echo "*** Or see http://www.freedesktop.org/software/pkgconfig to get pkg-config."
12867 PKG_CONFIG_MIN_VERSION=0.9.0
12868 if $PKG_CONFIG --atleast-pkgconfig-version $PKG_CONFIG_MIN_VERSION; then
12869 echo "$as_me:$LINENO: checking for QtCore QtGui >= 4.1.0" >&5
12870 echo $ECHO_N "checking for QtCore QtGui >= 4.1.0... $ECHO_C" >&6
12872 if $PKG_CONFIG --exists "QtCore QtGui >= 4.1.0" ; then
12873 echo "$as_me:$LINENO: result: yes" >&5
12874 echo "${ECHO_T}yes" >&6
12877 echo "$as_me:$LINENO: checking QT_CFLAGS" >&5
12878 echo $ECHO_N "checking QT_CFLAGS... $ECHO_C" >&6
12879 QT_CFLAGS=`$PKG_CONFIG --cflags "QtCore QtGui >= 4.1.0"`
12880 echo "$as_me:$LINENO: result: $QT_CFLAGS" >&5
12881 echo "${ECHO_T}$QT_CFLAGS" >&6
12883 echo "$as_me:$LINENO: checking QT_LIBS" >&5
12884 echo $ECHO_N "checking QT_LIBS... $ECHO_C" >&6
12885 QT_LIBS=`$PKG_CONFIG --libs "QtCore QtGui >= 4.1.0"`
12886 echo "$as_me:$LINENO: result: $QT_LIBS" >&5
12887 echo "${ECHO_T}$QT_LIBS" >&6
12891 ## If we have a custom action on failure, don't print errors, but
12892 ## do set a variable so people can do so.
12893 QT_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "QtCore QtGui >= 4.1.0"`
12900 echo "*** Your version of pkg-config is too old. You need version $PKG_CONFIG_MIN_VERSION or newer."
12901 echo "*** See http://www.freedesktop.org/software/pkgconfig"
12905 if test $succeeded = yes; then
12911 if test "x$HAVE_QT4" = "xyes"; then
12912 QT_INCLUDE_DIR=`$PKG_CONFIG --variable=includedir QtGui`
12913 EXTRA_QT_INCLUDE_DIR="$QT_INCLUDE_DIR/Qt"
12914 as_ac_File=`echo "ac_cv_file_$QT_INCLUDE_DIR/QWidget" | $as_tr_sh`
12915 echo "$as_me:$LINENO: checking for $QT_INCLUDE_DIR/QWidget" >&5
12916 echo $ECHO_N "checking for $QT_INCLUDE_DIR/QWidget... $ECHO_C" >&6
12917 if eval "test \"\${$as_ac_File+set}\" = set"; then
12918 echo $ECHO_N "(cached) $ECHO_C" >&6
12920 test "$cross_compiling" = yes &&
12921 { { echo "$as_me:$LINENO: error: cannot check for file existence when cross compiling" >&5
12922 echo "$as_me: error: cannot check for file existence when cross compiling" >&2;}
12923 { (exit 1); exit 1; }; }
12924 if test -r "$QT_INCLUDE_DIR/QWidget"; then
12925 eval "$as_ac_File=yes"
12927 eval "$as_ac_File=no"
12930 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_File'}'`" >&5
12931 echo "${ECHO_T}`eval echo '${'$as_ac_File'}'`" >&6
12932 if test `eval echo '${'$as_ac_File'}'` = yes; then
12933 { echo "$as_me:$LINENO: No extra QT_INCLUDE_DIR needed" >&5
12934 echo "$as_me: No extra QT_INCLUDE_DIR needed" >&6;}
12936 as_ac_File=`echo "ac_cv_file_$EXTRA_QT_INCLUDE_DIR/QWidget" | $as_tr_sh`
12937 echo "$as_me:$LINENO: checking for $EXTRA_QT_INCLUDE_DIR/QWidget" >&5
12938 echo $ECHO_N "checking for $EXTRA_QT_INCLUDE_DIR/QWidget... $ECHO_C" >&6
12939 if eval "test \"\${$as_ac_File+set}\" = set"; then
12940 echo $ECHO_N "(cached) $ECHO_C" >&6
12942 test "$cross_compiling" = yes &&
12943 { { echo "$as_me:$LINENO: error: cannot check for file existence when cross compiling" >&5
12944 echo "$as_me: error: cannot check for file existence when cross compiling" >&2;}
12945 { (exit 1); exit 1; }; }
12946 if test -r "$EXTRA_QT_INCLUDE_DIR/QWidget"; then
12947 eval "$as_ac_File=yes"
12949 eval "$as_ac_File=no"
12952 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_File'}'`" >&5
12953 echo "${ECHO_T}`eval echo '${'$as_ac_File'}'`" >&6
12954 if test `eval echo '${'$as_ac_File'}'` = yes; then
12955 QT_CFLAGS="$QT_CFLAGS -I$EXTRA_QT_INCLUDE_DIR"
12957 { echo "$as_me:$LINENO: WARNING: QWidget not found" >&5
12958 echo "$as_me: WARNING: QWidget not found" >&2;}
12963 # Extract the first word of "moc", so it can be a program name with args.
12964 set dummy moc; ac_word=$2
12965 echo "$as_me:$LINENO: checking for $ac_word" >&5
12966 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
12967 if test "${ac_cv_prog_MOC+set}" = set; then
12968 echo $ECHO_N "(cached) $ECHO_C" >&6
12970 if test -n "$MOC"; then
12971 ac_cv_prog_MOC="$MOC" # Let the user override the test.
12973 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12974 for as_dir in $PATH
12977 test -z "$as_dir" && as_dir=.
12978 for ac_exec_ext in '' $ac_executable_extensions; do
12979 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
12980 ac_cv_prog_MOC="moc"
12981 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
12989 MOC=$ac_cv_prog_MOC
12990 if test -n "$MOC"; then
12991 echo "$as_me:$LINENO: result: $MOC" >&5
12992 echo "${ECHO_T}$MOC" >&6
12994 echo "$as_me:$LINENO: result: no" >&5
12995 echo "${ECHO_T}no" >&6
12998 # Extract the first word of "moc-qt4", so it can be a program name with args.
12999 set dummy moc-qt4; ac_word=$2
13000 echo "$as_me:$LINENO: checking for $ac_word" >&5
13001 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
13002 if test "${ac_cv_prog_MOC+set}" = set; then
13003 echo $ECHO_N "(cached) $ECHO_C" >&6
13005 if test -n "$MOC"; then
13006 ac_cv_prog_MOC="$MOC" # Let the user override the test.
13008 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13009 for as_dir in $PATH
13012 test -z "$as_dir" && as_dir=.
13013 for ac_exec_ext in '' $ac_executable_extensions; do
13014 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
13015 ac_cv_prog_MOC="moc-qt4"
13016 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
13024 MOC=$ac_cv_prog_MOC
13025 if test -n "$MOC"; then
13026 echo "$as_me:$LINENO: result: $MOC" >&5
13027 echo "${ECHO_T}$MOC" >&6
13029 echo "$as_me:$LINENO: result: no" >&5
13030 echo "${ECHO_T}no" >&6
13034 if test "x$HAVE_QT4" = "xno"; then
13035 { echo "$as_me:$LINENO: Looking for QT_CFLAGS and QT_LIBS without pkg-config" >&5
13036 echo "$as_me: Looking for QT_CFLAGS and QT_LIBS without pkg-config" >&6;}
13040 # Check whether --with-qt4dir or --without-qt4dir was given.
13041 if test "${with_qt4dir+set}" = set; then
13042 withval="$with_qt4dir"
13046 if test x"$QT4DIR" = x ; then
13047 { { echo "$as_me:$LINENO: error: *** No path for Qt4 --with-qt4dir option given" >&5
13048 echo "$as_me: error: *** No path for Qt4 --with-qt4dir option given" >&2;}
13049 { (exit 1); exit 1; }; }
13051 echo "$as_me:$LINENO: result: QT4DIR... $QT4DIR" >&5
13052 echo "${ECHO_T}QT4DIR... $QT4DIR" >&6
13053 # Extract the first word of "moc", so it can be a program name with args.
13054 set dummy moc; ac_word=$2
13055 echo "$as_me:$LINENO: checking for $ac_word" >&5
13056 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
13057 if test "${ac_cv_prog_MOC+set}" = set; then
13058 echo $ECHO_N "(cached) $ECHO_C" >&6
13060 if test -n "$MOC"; then
13061 ac_cv_prog_MOC="$MOC" # Let the user override the test.
13063 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13064 for as_dir in $QT4DIR/bin
13067 test -z "$as_dir" && as_dir=.
13068 for ac_exec_ext in '' $ac_executable_extensions; do
13069 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
13070 ac_cv_prog_MOC="$QT4DIR/bin/moc"
13071 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
13079 MOC=$ac_cv_prog_MOC
13080 if test -n "$MOC"; then
13081 echo "$as_me:$LINENO: result: $MOC" >&5
13082 echo "${ECHO_T}$MOC" >&6
13084 echo "$as_me:$LINENO: result: no" >&5
13085 echo "${ECHO_T}no" >&6
13088 if test x"$MOC" = x; then
13089 { { echo "$as_me:$LINENO: error: *** This is not the right Qt installation" >&5
13090 echo "$as_me: error: *** This is not the right Qt installation" >&2;}
13091 { (exit 1); exit 1; }; }
13093 QT_CFLAGS="-F$QT4DIR/lib -I$QT4DIR/lib/QtCore.framework/Headers"
13094 QT_CFLAGS="$QT_CFLAGS -I$QT4DIR/lib/QtGui.framework/Headers"
13095 QT_LIBS="-Xlinker -F$QT4DIR/lib -Xlinker -framework -Xlinker QtCore"
13096 QT_LIBS="$QT_LIBS -Xlinker -framework -Xlinker QtGui"
13099 { { echo "$as_me:$LINENO: error: *** Please check PKG_CONFIG_PATH or the version
13100 of your installed Qt4 installation." >&5
13101 echo "$as_me: error: *** Please check PKG_CONFIG_PATH or the version
13102 of your installed Qt4 installation." >&2;}
13103 { (exit 1); exit 1; }; }
13107 { echo "$as_me:$LINENO: Set QT_CFLAGS... $QT_CFLAGS" >&5
13108 echo "$as_me: Set QT_CFLAGS... $QT_CFLAGS" >&6;}
13112 echo "$as_me:$LINENO: checking for MSG_NOSIGNAL" >&5
13113 echo $ECHO_N "checking for MSG_NOSIGNAL... $ECHO_C" >&6
13114 cat >conftest.$ac_ext <<_ACEOF
13117 cat confdefs.h >>conftest.$ac_ext
13118 cat >>conftest.$ac_ext <<_ACEOF
13119 /* end confdefs.h. */
13120 #include <sys/socket.h>
13124 int f = MSG_NOSIGNAL;
13129 rm -f conftest.$ac_objext
13130 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13131 (eval $ac_compile) 2>conftest.er1
13133 grep -v '^ *+' conftest.er1 >conftest.err
13135 cat conftest.err >&5
13136 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13137 (exit $ac_status); } &&
13138 { ac_try='test -z "$ac_c_werror_flag"
13139 || test ! -s conftest.err'
13140 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13141 (eval $ac_try) 2>&5
13143 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13144 (exit $ac_status); }; } &&
13145 { ac_try='test -s conftest.$ac_objext'
13146 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13147 (eval $ac_try) 2>&5
13149 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13150 (exit $ac_status); }; }; then
13151 echo "$as_me:$LINENO: result: yes" >&5
13152 echo "${ECHO_T}yes" >&6
13154 cat >>confdefs.h <<\_ACEOF
13155 #define HAVE_MSG_NOSIGNAL 1
13159 echo "$as_me: failed program was:" >&5
13160 sed 's/^/| /' conftest.$ac_ext >&5
13162 echo "$as_me:$LINENO: result: no" >&5
13163 echo "${ECHO_T}no" >&6
13166 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
13167 echo "$as_me:$LINENO: checking for SO_NOSIGPIPE " >&5
13168 echo $ECHO_N "checking for SO_NOSIGPIPE ... $ECHO_C" >&6
13169 cat >conftest.$ac_ext <<_ACEOF
13172 cat confdefs.h >>conftest.$ac_ext
13173 cat >>conftest.$ac_ext <<_ACEOF
13174 /* end confdefs.h. */
13175 #include <sys/socket.h>
13179 int f = SO_NOSIGPIPE;
13184 rm -f conftest.$ac_objext
13185 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13186 (eval $ac_compile) 2>conftest.er1
13188 grep -v '^ *+' conftest.er1 >conftest.err
13190 cat conftest.err >&5
13191 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13192 (exit $ac_status); } &&
13193 { ac_try='test -z "$ac_c_werror_flag"
13194 || test ! -s conftest.err'
13195 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13196 (eval $ac_try) 2>&5
13198 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13199 (exit $ac_status); }; } &&
13200 { ac_try='test -s conftest.$ac_objext'
13201 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13202 (eval $ac_try) 2>&5
13204 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13205 (exit $ac_status); }; }; then
13206 echo "$as_me:$LINENO: result: yes" >&5
13207 echo "${ECHO_T}yes" >&6
13209 cat >>confdefs.h <<\_ACEOF
13210 #define HAVE_SO_NOSIGPIPE 1
13214 echo "$as_me: failed program was:" >&5
13215 sed 's/^/| /' conftest.$ac_ext >&5
13217 echo "$as_me:$LINENO: result: no" >&5
13218 echo "${ECHO_T}no" >&6
13221 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
13223 if test "x${COMPILE_PLUGIN}" = xyes; then
13227 if test -z "$PKG_CONFIG"; then
13228 # Extract the first word of "pkg-config", so it can be a program name with args.
13229 set dummy pkg-config; ac_word=$2
13230 echo "$as_me:$LINENO: checking for $ac_word" >&5
13231 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
13232 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
13233 echo $ECHO_N "(cached) $ECHO_C" >&6
13235 case $PKG_CONFIG in
13237 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
13240 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13241 for as_dir in $PATH
13244 test -z "$as_dir" && as_dir=.
13245 for ac_exec_ext in '' $ac_executable_extensions; do
13246 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
13247 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
13248 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
13254 test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG="no"
13258 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
13260 if test -n "$PKG_CONFIG"; then
13261 echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
13262 echo "${ECHO_T}$PKG_CONFIG" >&6
13264 echo "$as_me:$LINENO: result: no" >&5
13265 echo "${ECHO_T}no" >&6
13270 if test "$PKG_CONFIG" = "no" ; then
13271 echo "*** The pkg-config script could not be found. Make sure it is"
13272 echo "*** in your path, or set the PKG_CONFIG environment variable"
13273 echo "*** to the full path to pkg-config."
13274 echo "*** Or see http://www.freedesktop.org/software/pkgconfig to get pkg-config."
13276 PKG_CONFIG_MIN_VERSION=0.9.0
13277 if $PKG_CONFIG --atleast-pkgconfig-version $PKG_CONFIG_MIN_VERSION; then
13278 echo "$as_me:$LINENO: checking for mozilla-plugin" >&5
13279 echo $ECHO_N "checking for mozilla-plugin... $ECHO_C" >&6
13281 if $PKG_CONFIG --exists "mozilla-plugin" ; then
13282 echo "$as_me:$LINENO: result: yes" >&5
13283 echo "${ECHO_T}yes" >&6
13286 echo "$as_me:$LINENO: checking MOZILLA_CFLAGS" >&5
13287 echo $ECHO_N "checking MOZILLA_CFLAGS... $ECHO_C" >&6
13288 MOZILLA_CFLAGS=`$PKG_CONFIG --cflags "mozilla-plugin"`
13289 echo "$as_me:$LINENO: result: $MOZILLA_CFLAGS" >&5
13290 echo "${ECHO_T}$MOZILLA_CFLAGS" >&6
13292 echo "$as_me:$LINENO: checking MOZILLA_LIBS" >&5
13293 echo $ECHO_N "checking MOZILLA_LIBS... $ECHO_C" >&6
13294 MOZILLA_LIBS=`$PKG_CONFIG --libs "mozilla-plugin"`
13295 echo "$as_me:$LINENO: result: $MOZILLA_LIBS" >&5
13296 echo "${ECHO_T}$MOZILLA_LIBS" >&6
13300 ## If we have a custom action on failure, don't print errors, but
13301 ## do set a variable so people can do so.
13302 MOZILLA_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "mozilla-plugin"`
13309 echo "*** Your version of pkg-config is too old. You need version $PKG_CONFIG_MIN_VERSION or newer."
13310 echo "*** See http://www.freedesktop.org/software/pkgconfig"
13314 if test $succeeded = yes; then
13320 if test "x${MOZILLA_FOUND}" = xno; then
13324 if test -z "$PKG_CONFIG"; then
13325 # Extract the first word of "pkg-config", so it can be a program name with args.
13326 set dummy pkg-config; ac_word=$2
13327 echo "$as_me:$LINENO: checking for $ac_word" >&5
13328 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
13329 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
13330 echo $ECHO_N "(cached) $ECHO_C" >&6
13332 case $PKG_CONFIG in
13334 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
13337 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13338 for as_dir in $PATH
13341 test -z "$as_dir" && as_dir=.
13342 for ac_exec_ext in '' $ac_executable_extensions; do
13343 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
13344 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
13345 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
13351 test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG="no"
13355 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
13357 if test -n "$PKG_CONFIG"; then
13358 echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
13359 echo "${ECHO_T}$PKG_CONFIG" >&6
13361 echo "$as_me:$LINENO: result: no" >&5
13362 echo "${ECHO_T}no" >&6
13367 if test "$PKG_CONFIG" = "no" ; then
13368 echo "*** The pkg-config script could not be found. Make sure it is"
13369 echo "*** in your path, or set the PKG_CONFIG environment variable"
13370 echo "*** to the full path to pkg-config."
13371 echo "*** Or see http://www.freedesktop.org/software/pkgconfig to get pkg-config."
13373 PKG_CONFIG_MIN_VERSION=0.9.0
13374 if $PKG_CONFIG --atleast-pkgconfig-version $PKG_CONFIG_MIN_VERSION; then
13375 echo "$as_me:$LINENO: checking for firefox-plugin" >&5
13376 echo $ECHO_N "checking for firefox-plugin... $ECHO_C" >&6
13378 if $PKG_CONFIG --exists "firefox-plugin" ; then
13379 echo "$as_me:$LINENO: result: yes" >&5
13380 echo "${ECHO_T}yes" >&6
13383 echo "$as_me:$LINENO: checking MOZILLA_CFLAGS" >&5
13384 echo $ECHO_N "checking MOZILLA_CFLAGS... $ECHO_C" >&6
13385 MOZILLA_CFLAGS=`$PKG_CONFIG --cflags "firefox-plugin"`
13386 echo "$as_me:$LINENO: result: $MOZILLA_CFLAGS" >&5
13387 echo "${ECHO_T}$MOZILLA_CFLAGS" >&6
13389 echo "$as_me:$LINENO: checking MOZILLA_LIBS" >&5
13390 echo $ECHO_N "checking MOZILLA_LIBS... $ECHO_C" >&6
13391 MOZILLA_LIBS=`$PKG_CONFIG --libs "firefox-plugin"`
13392 echo "$as_me:$LINENO: result: $MOZILLA_LIBS" >&5
13393 echo "${ECHO_T}$MOZILLA_LIBS" >&6
13397 ## If we have a custom action on failure, don't print errors, but
13398 ## do set a variable so people can do so.
13399 MOZILLA_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "firefox-plugin"`
13406 echo "*** Your version of pkg-config is too old. You need version $PKG_CONFIG_MIN_VERSION or newer."
13407 echo "*** See http://www.freedesktop.org/software/pkgconfig"
13411 if test $succeeded = yes; then
13418 if test "x${MOZILLA_FOUND}" = xno; then
13422 if test -z "$PKG_CONFIG"; then
13423 # Extract the first word of "pkg-config", so it can be a program name with args.
13424 set dummy pkg-config; ac_word=$2
13425 echo "$as_me:$LINENO: checking for $ac_word" >&5
13426 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
13427 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
13428 echo $ECHO_N "(cached) $ECHO_C" >&6
13430 case $PKG_CONFIG in
13432 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
13435 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13436 for as_dir in $PATH
13439 test -z "$as_dir" && as_dir=.
13440 for ac_exec_ext in '' $ac_executable_extensions; do
13441 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
13442 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
13443 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
13449 test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG="no"
13453 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
13455 if test -n "$PKG_CONFIG"; then
13456 echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
13457 echo "${ECHO_T}$PKG_CONFIG" >&6
13459 echo "$as_me:$LINENO: result: no" >&5
13460 echo "${ECHO_T}no" >&6
13465 if test "$PKG_CONFIG" = "no" ; then
13466 echo "*** The pkg-config script could not be found. Make sure it is"
13467 echo "*** in your path, or set the PKG_CONFIG environment variable"
13468 echo "*** to the full path to pkg-config."
13469 echo "*** Or see http://www.freedesktop.org/software/pkgconfig to get pkg-config."
13471 PKG_CONFIG_MIN_VERSION=0.9.0
13472 if $PKG_CONFIG --atleast-pkgconfig-version $PKG_CONFIG_MIN_VERSION; then
13473 echo "$as_me:$LINENO: checking for xulrunner-plugin" >&5
13474 echo $ECHO_N "checking for xulrunner-plugin... $ECHO_C" >&6
13476 if $PKG_CONFIG --exists "xulrunner-plugin" ; then
13477 echo "$as_me:$LINENO: result: yes" >&5
13478 echo "${ECHO_T}yes" >&6
13481 echo "$as_me:$LINENO: checking MOZILLA_CFLAGS" >&5
13482 echo $ECHO_N "checking MOZILLA_CFLAGS... $ECHO_C" >&6
13483 MOZILLA_CFLAGS=`$PKG_CONFIG --cflags "xulrunner-plugin"`
13484 echo "$as_me:$LINENO: result: $MOZILLA_CFLAGS" >&5
13485 echo "${ECHO_T}$MOZILLA_CFLAGS" >&6
13487 echo "$as_me:$LINENO: checking MOZILLA_LIBS" >&5
13488 echo $ECHO_N "checking MOZILLA_LIBS... $ECHO_C" >&6
13489 MOZILLA_LIBS=`$PKG_CONFIG --libs "xulrunner-plugin"`
13490 echo "$as_me:$LINENO: result: $MOZILLA_LIBS" >&5
13491 echo "${ECHO_T}$MOZILLA_LIBS" >&6
13495 ## If we have a custom action on failure, don't print errors, but
13496 ## do set a variable so people can do so.
13497 MOZILLA_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "xulrunner-plugin"`
13504 echo "*** Your version of pkg-config is too old. You need version $PKG_CONFIG_MIN_VERSION or newer."
13505 echo "*** See http://www.freedesktop.org/software/pkgconfig"
13509 if test $succeeded = yes; then
13516 if test "x${MOZILLA_FOUND}" = xno; then
13520 if test -z "$PKG_CONFIG"; then
13521 # Extract the first word of "pkg-config", so it can be a program name with args.
13522 set dummy pkg-config; ac_word=$2
13523 echo "$as_me:$LINENO: checking for $ac_word" >&5
13524 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
13525 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
13526 echo $ECHO_N "(cached) $ECHO_C" >&6
13528 case $PKG_CONFIG in
13530 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
13533 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13534 for as_dir in $PATH
13537 test -z "$as_dir" && as_dir=.
13538 for ac_exec_ext in '' $ac_executable_extensions; do
13539 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
13540 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
13541 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
13547 test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG="no"
13551 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
13553 if test -n "$PKG_CONFIG"; then
13554 echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
13555 echo "${ECHO_T}$PKG_CONFIG" >&6
13557 echo "$as_me:$LINENO: result: no" >&5
13558 echo "${ECHO_T}no" >&6
13563 if test "$PKG_CONFIG" = "no" ; then
13564 echo "*** The pkg-config script could not be found. Make sure it is"
13565 echo "*** in your path, or set the PKG_CONFIG environment variable"
13566 echo "*** to the full path to pkg-config."
13567 echo "*** Or see http://www.freedesktop.org/software/pkgconfig to get pkg-config."
13569 PKG_CONFIG_MIN_VERSION=0.9.0
13570 if $PKG_CONFIG --atleast-pkgconfig-version $PKG_CONFIG_MIN_VERSION; then
13571 echo "$as_me:$LINENO: checking for mozilla-firefox-plugin" >&5
13572 echo $ECHO_N "checking for mozilla-firefox-plugin... $ECHO_C" >&6
13574 if $PKG_CONFIG --exists "mozilla-firefox-plugin" ; then
13575 echo "$as_me:$LINENO: result: yes" >&5
13576 echo "${ECHO_T}yes" >&6
13579 echo "$as_me:$LINENO: checking MOZILLA_CFLAGS" >&5
13580 echo $ECHO_N "checking MOZILLA_CFLAGS... $ECHO_C" >&6
13581 MOZILLA_CFLAGS=`$PKG_CONFIG --cflags "mozilla-firefox-plugin"`
13582 echo "$as_me:$LINENO: result: $MOZILLA_CFLAGS" >&5
13583 echo "${ECHO_T}$MOZILLA_CFLAGS" >&6
13585 echo "$as_me:$LINENO: checking MOZILLA_LIBS" >&5
13586 echo $ECHO_N "checking MOZILLA_LIBS... $ECHO_C" >&6
13587 MOZILLA_LIBS=`$PKG_CONFIG --libs "mozilla-firefox-plugin"`
13588 echo "$as_me:$LINENO: result: $MOZILLA_LIBS" >&5
13589 echo "${ECHO_T}$MOZILLA_LIBS" >&6
13593 ## If we have a custom action on failure, don't print errors, but
13594 ## do set a variable so people can do so.
13595 MOZILLA_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "mozilla-firefox-plugin"`
13602 echo "*** Your version of pkg-config is too old. You need version $PKG_CONFIG_MIN_VERSION or newer."
13603 echo "*** See http://www.freedesktop.org/software/pkgconfig"
13607 if test $succeeded = yes; then
13614 if test "x${MOZILLA_FOUND}" = xno; then
13618 if test -z "$PKG_CONFIG"; then
13619 # Extract the first word of "pkg-config", so it can be a program name with args.
13620 set dummy pkg-config; ac_word=$2
13621 echo "$as_me:$LINENO: checking for $ac_word" >&5
13622 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
13623 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
13624 echo $ECHO_N "(cached) $ECHO_C" >&6
13626 case $PKG_CONFIG in
13628 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
13631 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13632 for as_dir in $PATH
13635 test -z "$as_dir" && as_dir=.
13636 for ac_exec_ext in '' $ac_executable_extensions; do
13637 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
13638 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
13639 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
13645 test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG="no"
13649 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
13651 if test -n "$PKG_CONFIG"; then
13652 echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
13653 echo "${ECHO_T}$PKG_CONFIG" >&6
13655 echo "$as_me:$LINENO: result: no" >&5
13656 echo "${ECHO_T}no" >&6
13661 if test "$PKG_CONFIG" = "no" ; then
13662 echo "*** The pkg-config script could not be found. Make sure it is"
13663 echo "*** in your path, or set the PKG_CONFIG environment variable"
13664 echo "*** to the full path to pkg-config."
13665 echo "*** Or see http://www.freedesktop.org/software/pkgconfig to get pkg-config."
13667 PKG_CONFIG_MIN_VERSION=0.9.0
13668 if $PKG_CONFIG --atleast-pkgconfig-version $PKG_CONFIG_MIN_VERSION; then
13669 echo "$as_me:$LINENO: checking for seamonkey-plugin" >&5
13670 echo $ECHO_N "checking for seamonkey-plugin... $ECHO_C" >&6
13672 if $PKG_CONFIG --exists "seamonkey-plugin" ; then
13673 echo "$as_me:$LINENO: result: yes" >&5
13674 echo "${ECHO_T}yes" >&6
13677 echo "$as_me:$LINENO: checking MOZILLA_CFLAGS" >&5
13678 echo $ECHO_N "checking MOZILLA_CFLAGS... $ECHO_C" >&6
13679 MOZILLA_CFLAGS=`$PKG_CONFIG --cflags "seamonkey-plugin"`
13680 echo "$as_me:$LINENO: result: $MOZILLA_CFLAGS" >&5
13681 echo "${ECHO_T}$MOZILLA_CFLAGS" >&6
13683 echo "$as_me:$LINENO: checking MOZILLA_LIBS" >&5
13684 echo $ECHO_N "checking MOZILLA_LIBS... $ECHO_C" >&6
13685 MOZILLA_LIBS=`$PKG_CONFIG --libs "seamonkey-plugin"`
13686 echo "$as_me:$LINENO: result: $MOZILLA_LIBS" >&5
13687 echo "${ECHO_T}$MOZILLA_LIBS" >&6
13691 ## If we have a custom action on failure, don't print errors, but
13692 ## do set a variable so people can do so.
13693 MOZILLA_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "seamonkey-plugin"`
13700 echo "*** Your version of pkg-config is too old. You need version $PKG_CONFIG_MIN_VERSION or newer."
13701 echo "*** See http://www.freedesktop.org/software/pkgconfig"
13705 if test $succeeded = yes; then
13715 if test -z "$PKG_CONFIG"; then
13716 # Extract the first word of "pkg-config", so it can be a program name with args.
13717 set dummy pkg-config; ac_word=$2
13718 echo "$as_me:$LINENO: checking for $ac_word" >&5
13719 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
13720 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
13721 echo $ECHO_N "(cached) $ECHO_C" >&6
13723 case $PKG_CONFIG in
13725 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
13728 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13729 for as_dir in $PATH
13732 test -z "$as_dir" && as_dir=.
13733 for ac_exec_ext in '' $ac_executable_extensions; do
13734 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
13735 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
13736 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
13742 test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG="no"
13746 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
13748 if test -n "$PKG_CONFIG"; then
13749 echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
13750 echo "${ECHO_T}$PKG_CONFIG" >&6
13752 echo "$as_me:$LINENO: result: no" >&5
13753 echo "${ECHO_T}no" >&6
13758 if test "$PKG_CONFIG" = "no" ; then
13759 echo "*** The pkg-config script could not be found. Make sure it is"
13760 echo "*** in your path, or set the PKG_CONFIG environment variable"
13761 echo "*** to the full path to pkg-config."
13762 echo "*** Or see http://www.freedesktop.org/software/pkgconfig to get pkg-config."
13764 PKG_CONFIG_MIN_VERSION=0.9.0
13765 if $PKG_CONFIG --atleast-pkgconfig-version $PKG_CONFIG_MIN_VERSION; then
13766 echo "$as_me:$LINENO: checking for glib-2.0" >&5
13767 echo $ECHO_N "checking for glib-2.0... $ECHO_C" >&6
13769 if $PKG_CONFIG --exists "glib-2.0" ; then
13770 echo "$as_me:$LINENO: result: yes" >&5
13771 echo "${ECHO_T}yes" >&6
13774 echo "$as_me:$LINENO: checking GLIB_CFLAGS" >&5
13775 echo $ECHO_N "checking GLIB_CFLAGS... $ECHO_C" >&6
13776 GLIB_CFLAGS=`$PKG_CONFIG --cflags "glib-2.0"`
13777 echo "$as_me:$LINENO: result: $GLIB_CFLAGS" >&5
13778 echo "${ECHO_T}$GLIB_CFLAGS" >&6
13780 echo "$as_me:$LINENO: checking GLIB_LIBS" >&5
13781 echo $ECHO_N "checking GLIB_LIBS... $ECHO_C" >&6
13782 GLIB_LIBS=`$PKG_CONFIG --libs "glib-2.0"`
13783 echo "$as_me:$LINENO: result: $GLIB_LIBS" >&5
13784 echo "${ECHO_T}$GLIB_LIBS" >&6
13788 ## If we have a custom action on failure, don't print errors, but
13789 ## do set a variable so people can do so.
13790 GLIB_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "glib-2.0"`
13791 echo $GLIB_PKG_ERRORS
13797 echo "*** Your version of pkg-config is too old. You need version $PKG_CONFIG_MIN_VERSION or newer."
13798 echo "*** See http://www.freedesktop.org/software/pkgconfig"
13802 if test $succeeded = yes; then
13805 { { 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
13806 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;}
13807 { (exit 1); exit 1; }; }
13816 PLUGIN_DIR=$HOME/.mozilla/plugins/
13823 # Check whether --with-javah or --without-javah was given.
13824 if test "${with_javah+set}" = set; then
13825 withval="$with_javah"
13827 if test "x${withval}" != x && test "x${withval}" != xyes && test "x${withval}" != xno; then
13829 if test "x${withval}" != x; then
13830 if test -f "${withval}"; then
13831 USER_JAVAH="${withval}"
13833 # Extract the first word of ""${withval}"", so it can be a program name with args.
13834 set dummy "${withval}"; ac_word=$2
13835 echo "$as_me:$LINENO: checking for $ac_word" >&5
13836 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
13837 if test "${ac_cv_path_USER_JAVAH+set}" = set; then
13838 echo $ECHO_N "(cached) $ECHO_C" >&6
13840 case $USER_JAVAH in
13842 ac_cv_path_USER_JAVAH="$USER_JAVAH" # Let the user override the test with a path.
13845 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13846 for as_dir in $PATH
13849 test -z "$as_dir" && as_dir=.
13850 for ac_exec_ext in '' $ac_executable_extensions; do
13851 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
13852 ac_cv_path_USER_JAVAH="$as_dir/$ac_word$ac_exec_ext"
13853 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
13862 USER_JAVAH=$ac_cv_path_USER_JAVAH
13864 if test -n "$USER_JAVAH"; then
13865 echo "$as_me:$LINENO: result: $USER_JAVAH" >&5
13866 echo "${ECHO_T}$USER_JAVAH" >&6
13868 echo "$as_me:$LINENO: result: no" >&5
13869 echo "${ECHO_T}no" >&6
13874 for javah_name in gcjh javah; do
13875 # Extract the first word of ""$javah_name"", so it can be a program name with args.
13876 set dummy "$javah_name"; ac_word=$2
13877 echo "$as_me:$LINENO: checking for $ac_word" >&5
13878 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
13879 if test "${ac_cv_path_USER_JAVAH+set}" = set; then
13880 echo $ECHO_N "(cached) $ECHO_C" >&6
13882 case $USER_JAVAH in
13884 ac_cv_path_USER_JAVAH="$USER_JAVAH" # Let the user override the test with a path.
13887 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13888 for as_dir in $PATH
13891 test -z "$as_dir" && as_dir=.
13892 for ac_exec_ext in '' $ac_executable_extensions; do
13893 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
13894 ac_cv_path_USER_JAVAH="$as_dir/$ac_word$ac_exec_ext"
13895 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
13904 USER_JAVAH=$ac_cv_path_USER_JAVAH
13906 if test -n "$USER_JAVAH"; then
13907 echo "$as_me:$LINENO: result: $USER_JAVAH" >&5
13908 echo "${ECHO_T}$USER_JAVAH" >&6
13910 echo "$as_me:$LINENO: result: no" >&5
13911 echo "${ECHO_T}no" >&6
13914 if test "x${USER_JAVAH}" != x; then
13920 # if test "x${USER_JAVAH}" = x; then
13921 # echo "configure: cannot find javah" 1>&2
13927 if test "x" != x; then
13928 if test -f ""; then
13931 # Extract the first word of """", so it can be a program name with args.
13932 set dummy ""; ac_word=$2
13933 echo "$as_me:$LINENO: checking for $ac_word" >&5
13934 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
13935 if test "${ac_cv_path_USER_JAVAH+set}" = set; then
13936 echo $ECHO_N "(cached) $ECHO_C" >&6
13938 case $USER_JAVAH in
13940 ac_cv_path_USER_JAVAH="$USER_JAVAH" # Let the user override the test with a path.
13943 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13944 for as_dir in $PATH
13947 test -z "$as_dir" && as_dir=.
13948 for ac_exec_ext in '' $ac_executable_extensions; do
13949 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
13950 ac_cv_path_USER_JAVAH="$as_dir/$ac_word$ac_exec_ext"
13951 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
13960 USER_JAVAH=$ac_cv_path_USER_JAVAH
13962 if test -n "$USER_JAVAH"; then
13963 echo "$as_me:$LINENO: result: $USER_JAVAH" >&5
13964 echo "${ECHO_T}$USER_JAVAH" >&6
13966 echo "$as_me:$LINENO: result: no" >&5
13967 echo "${ECHO_T}no" >&6
13972 for javah_name in gcjh javah; do
13973 # Extract the first word of ""$javah_name"", so it can be a program name with args.
13974 set dummy "$javah_name"; ac_word=$2
13975 echo "$as_me:$LINENO: checking for $ac_word" >&5
13976 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
13977 if test "${ac_cv_path_USER_JAVAH+set}" = set; then
13978 echo $ECHO_N "(cached) $ECHO_C" >&6
13980 case $USER_JAVAH in
13982 ac_cv_path_USER_JAVAH="$USER_JAVAH" # Let the user override the test with a path.
13985 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13986 for as_dir in $PATH
13989 test -z "$as_dir" && as_dir=.
13990 for ac_exec_ext in '' $ac_executable_extensions; do
13991 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
13992 ac_cv_path_USER_JAVAH="$as_dir/$ac_word$ac_exec_ext"
13993 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
14002 USER_JAVAH=$ac_cv_path_USER_JAVAH
14004 if test -n "$USER_JAVAH"; then
14005 echo "$as_me:$LINENO: result: $USER_JAVAH" >&5
14006 echo "${ECHO_T}$USER_JAVAH" >&6
14008 echo "$as_me:$LINENO: result: no" >&5
14009 echo "${ECHO_T}no" >&6
14012 if test "x${USER_JAVAH}" != x; then
14018 # if test "x${USER_JAVAH}" = x; then
14019 # echo "configure: cannot find javah" 1>&2
14028 if test "x" != x; then
14029 if test -f ""; then
14032 # Extract the first word of """", so it can be a program name with args.
14033 set dummy ""; ac_word=$2
14034 echo "$as_me:$LINENO: checking for $ac_word" >&5
14035 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
14036 if test "${ac_cv_path_USER_JAVAH+set}" = set; then
14037 echo $ECHO_N "(cached) $ECHO_C" >&6
14039 case $USER_JAVAH in
14041 ac_cv_path_USER_JAVAH="$USER_JAVAH" # Let the user override the test with a path.
14044 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
14045 for as_dir in $PATH
14048 test -z "$as_dir" && as_dir=.
14049 for ac_exec_ext in '' $ac_executable_extensions; do
14050 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
14051 ac_cv_path_USER_JAVAH="$as_dir/$ac_word$ac_exec_ext"
14052 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
14061 USER_JAVAH=$ac_cv_path_USER_JAVAH
14063 if test -n "$USER_JAVAH"; then
14064 echo "$as_me:$LINENO: result: $USER_JAVAH" >&5
14065 echo "${ECHO_T}$USER_JAVAH" >&6
14067 echo "$as_me:$LINENO: result: no" >&5
14068 echo "${ECHO_T}no" >&6
14073 for javah_name in gcjh javah; do
14074 # Extract the first word of ""$javah_name"", so it can be a program name with args.
14075 set dummy "$javah_name"; ac_word=$2
14076 echo "$as_me:$LINENO: checking for $ac_word" >&5
14077 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
14078 if test "${ac_cv_path_USER_JAVAH+set}" = set; then
14079 echo $ECHO_N "(cached) $ECHO_C" >&6
14081 case $USER_JAVAH in
14083 ac_cv_path_USER_JAVAH="$USER_JAVAH" # Let the user override the test with a path.
14086 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
14087 for as_dir in $PATH
14090 test -z "$as_dir" && as_dir=.
14091 for ac_exec_ext in '' $ac_executable_extensions; do
14092 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
14093 ac_cv_path_USER_JAVAH="$as_dir/$ac_word$ac_exec_ext"
14094 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
14103 USER_JAVAH=$ac_cv_path_USER_JAVAH
14105 if test -n "$USER_JAVAH"; then
14106 echo "$as_me:$LINENO: result: $USER_JAVAH" >&5
14107 echo "${ECHO_T}$USER_JAVAH" >&6
14109 echo "$as_me:$LINENO: result: no" >&5
14110 echo "${ECHO_T}no" >&6
14113 if test "x${USER_JAVAH}" != x; then
14119 # if test "x${USER_JAVAH}" = x; then
14120 # echo "configure: cannot find javah" 1>&2
14128 if test "x${USER_JAVAH}" != x; then
14129 USER_SPECIFIED_JAVAH_TRUE=
14130 USER_SPECIFIED_JAVAH_FALSE='#'
14132 USER_SPECIFIED_JAVAH_TRUE='#'
14133 USER_SPECIFIED_JAVAH_FALSE=
14139 CLASSPATH_INCLUDES="-I\$(top_srcdir)/include -I\$(top_srcdir)/native/jni/classpath -I\$(top_srcdir)/native/jni/native-lib"
14142 if test "x${COMPILE_JNI}" = xyes; then
14143 echo "$as_me:$LINENO: checking jni_md.h support" >&5
14144 echo $ECHO_N "checking jni_md.h support... $ECHO_C" >&6
14145 if test -f ${srcdir}/include/jni_md-${target_cpu}-${target_os}.h; then
14146 echo "$as_me:$LINENO: result: yes" >&5
14147 echo "${ECHO_T}yes" >&6
14150 target_os=linux-gnu
14151 { echo "$as_me:$LINENO: WARNING: no" >&5
14152 echo "$as_me: WARNING: no" >&2;}
14154 ac_sources="include/jni_md-${target_cpu}-${target_os}.h"
14155 ac_dests="include/jni_md.h"
14156 while test -n "$ac_sources"; do
14157 set $ac_dests; ac_dest=$1; shift; ac_dests=$*
14158 set $ac_sources; ac_source=$1; shift; ac_sources=$*
14159 ac_config_links_1="$ac_config_links_1 $ac_dest:$ac_source"
14161 ac_config_links="$ac_config_links $ac_config_links_1"
14166 user_specified_javac=
14170 # Check whether --with-gcj or --without-gcj was given.
14171 if test "${with_gcj+set}" = set; then
14172 withval="$with_gcj"
14174 if test "x${withval}" != x && test "x${withval}" != xyes && test "x${withval}" != xno; then
14176 if test "x${withval}" != x; then
14177 if test -f "${withval}"; then
14180 # Extract the first word of ""${withval}"", so it can be a program name with args.
14181 set dummy "${withval}"; ac_word=$2
14182 echo "$as_me:$LINENO: checking for $ac_word" >&5
14183 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
14184 if test "${ac_cv_path_GCJ+set}" = set; then
14185 echo $ECHO_N "(cached) $ECHO_C" >&6
14189 ac_cv_path_GCJ="$GCJ" # Let the user override the test with a path.
14192 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
14193 for as_dir in $PATH
14196 test -z "$as_dir" && as_dir=.
14197 for ac_exec_ext in '' $ac_executable_extensions; do
14198 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
14199 ac_cv_path_GCJ="$as_dir/$ac_word$ac_exec_ext"
14200 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
14209 GCJ=$ac_cv_path_GCJ
14211 if test -n "$GCJ"; then
14212 echo "$as_me:$LINENO: result: $GCJ" >&5
14213 echo "${ECHO_T}$GCJ" >&6
14215 echo "$as_me:$LINENO: result: no" >&5
14216 echo "${ECHO_T}no" >&6
14221 # Extract the first word of ""gcj"", so it can be a program name with args.
14222 set dummy "gcj"; ac_word=$2
14223 echo "$as_me:$LINENO: checking for $ac_word" >&5
14224 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
14225 if test "${ac_cv_path_GCJ+set}" = set; then
14226 echo $ECHO_N "(cached) $ECHO_C" >&6
14230 ac_cv_path_GCJ="$GCJ" # Let the user override the test with a path.
14233 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
14234 for as_dir in $PATH
14237 test -z "$as_dir" && as_dir=.
14238 for ac_exec_ext in '' $ac_executable_extensions; do
14239 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
14240 ac_cv_path_GCJ="$as_dir/$ac_word$ac_exec_ext"
14241 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
14250 GCJ=$ac_cv_path_GCJ
14252 if test -n "$GCJ"; then
14253 echo "$as_me:$LINENO: result: $GCJ" >&5
14254 echo "${ECHO_T}$GCJ" >&6
14256 echo "$as_me:$LINENO: result: no" >&5
14257 echo "${ECHO_T}no" >&6
14261 if test "x$GCJ" != x; then
14262 echo "$as_me:$LINENO: checking gcj version 4.0" >&5
14263 echo $ECHO_N "checking gcj version 4.0... $ECHO_C" >&6
14265 ac_cpp='$CPP $CPPFLAGS'
14266 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14267 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14268 ac_compiler_gnu=$ac_cv_c_compiler_gnu
14270 cat >conftest.$ac_ext <<_ACEOF
14272 #error GCJ 4.0.0 or higher is required
14276 $GCJ -E conftest.c > /dev/null
14278 if test "x$gcj_4_result" = "x0"; then
14279 echo "$as_me:$LINENO: result: 4.0 or higher found" >&5
14280 echo "${ECHO_T}4.0 or higher found" >&6
14282 { echo "$as_me:$LINENO: WARNING: 4.0 or higher required" >&5
14283 echo "$as_me: WARNING: 4.0 or higher required" >&2;}
14286 ac_cpp='$CPP $CPPFLAGS'
14287 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14288 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14289 ac_compiler_gnu=$ac_cv_c_compiler_gnu
14294 if test "x${withval}" != xno; then
14296 if test "x" != x; then
14297 if test -f ""; then
14300 # Extract the first word of """", so it can be a program name with args.
14301 set dummy ""; ac_word=$2
14302 echo "$as_me:$LINENO: checking for $ac_word" >&5
14303 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
14304 if test "${ac_cv_path_GCJ+set}" = set; then
14305 echo $ECHO_N "(cached) $ECHO_C" >&6
14309 ac_cv_path_GCJ="$GCJ" # Let the user override the test with a path.
14312 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
14313 for as_dir in $PATH
14316 test -z "$as_dir" && as_dir=.
14317 for ac_exec_ext in '' $ac_executable_extensions; do
14318 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
14319 ac_cv_path_GCJ="$as_dir/$ac_word$ac_exec_ext"
14320 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
14329 GCJ=$ac_cv_path_GCJ
14331 if test -n "$GCJ"; then
14332 echo "$as_me:$LINENO: result: $GCJ" >&5
14333 echo "${ECHO_T}$GCJ" >&6
14335 echo "$as_me:$LINENO: result: no" >&5
14336 echo "${ECHO_T}no" >&6
14341 # Extract the first word of ""gcj"", so it can be a program name with args.
14342 set dummy "gcj"; ac_word=$2
14343 echo "$as_me:$LINENO: checking for $ac_word" >&5
14344 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
14345 if test "${ac_cv_path_GCJ+set}" = set; then
14346 echo $ECHO_N "(cached) $ECHO_C" >&6
14350 ac_cv_path_GCJ="$GCJ" # Let the user override the test with a path.
14353 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
14354 for as_dir in $PATH
14357 test -z "$as_dir" && as_dir=.
14358 for ac_exec_ext in '' $ac_executable_extensions; do
14359 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
14360 ac_cv_path_GCJ="$as_dir/$ac_word$ac_exec_ext"
14361 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
14370 GCJ=$ac_cv_path_GCJ
14372 if test -n "$GCJ"; then
14373 echo "$as_me:$LINENO: result: $GCJ" >&5
14374 echo "${ECHO_T}$GCJ" >&6
14376 echo "$as_me:$LINENO: result: no" >&5
14377 echo "${ECHO_T}no" >&6
14381 if test "x$GCJ" != x; then
14382 echo "$as_me:$LINENO: checking gcj version 4.0" >&5
14383 echo $ECHO_N "checking gcj version 4.0... $ECHO_C" >&6
14385 ac_cpp='$CPP $CPPFLAGS'
14386 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14387 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14388 ac_compiler_gnu=$ac_cv_c_compiler_gnu
14390 cat >conftest.$ac_ext <<_ACEOF
14392 #error GCJ 4.0.0 or higher is required
14396 $GCJ -E conftest.c > /dev/null
14398 if test "x$gcj_4_result" = "x0"; then
14399 echo "$as_me:$LINENO: result: 4.0 or higher found" >&5
14400 echo "${ECHO_T}4.0 or higher found" >&6
14402 { echo "$as_me:$LINENO: WARNING: 4.0 or higher required" >&5
14403 echo "$as_me: WARNING: 4.0 or higher required" >&2;}
14406 ac_cpp='$CPP $CPPFLAGS'
14407 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14408 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14409 ac_compiler_gnu=$ac_cv_c_compiler_gnu
14415 user_specified_javac=gcj
14420 if test "x" != x; then
14421 if test -f ""; then
14424 # Extract the first word of """", so it can be a program name with args.
14425 set dummy ""; ac_word=$2
14426 echo "$as_me:$LINENO: checking for $ac_word" >&5
14427 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
14428 if test "${ac_cv_path_GCJ+set}" = set; then
14429 echo $ECHO_N "(cached) $ECHO_C" >&6
14433 ac_cv_path_GCJ="$GCJ" # Let the user override the test with a path.
14436 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
14437 for as_dir in $PATH
14440 test -z "$as_dir" && as_dir=.
14441 for ac_exec_ext in '' $ac_executable_extensions; do
14442 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
14443 ac_cv_path_GCJ="$as_dir/$ac_word$ac_exec_ext"
14444 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
14453 GCJ=$ac_cv_path_GCJ
14455 if test -n "$GCJ"; then
14456 echo "$as_me:$LINENO: result: $GCJ" >&5
14457 echo "${ECHO_T}$GCJ" >&6
14459 echo "$as_me:$LINENO: result: no" >&5
14460 echo "${ECHO_T}no" >&6
14465 # Extract the first word of ""gcj"", so it can be a program name with args.
14466 set dummy "gcj"; ac_word=$2
14467 echo "$as_me:$LINENO: checking for $ac_word" >&5
14468 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
14469 if test "${ac_cv_path_GCJ+set}" = set; then
14470 echo $ECHO_N "(cached) $ECHO_C" >&6
14474 ac_cv_path_GCJ="$GCJ" # Let the user override the test with a path.
14477 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
14478 for as_dir in $PATH
14481 test -z "$as_dir" && as_dir=.
14482 for ac_exec_ext in '' $ac_executable_extensions; do
14483 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
14484 ac_cv_path_GCJ="$as_dir/$ac_word$ac_exec_ext"
14485 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
14494 GCJ=$ac_cv_path_GCJ
14496 if test -n "$GCJ"; then
14497 echo "$as_me:$LINENO: result: $GCJ" >&5
14498 echo "${ECHO_T}$GCJ" >&6
14500 echo "$as_me:$LINENO: result: no" >&5
14501 echo "${ECHO_T}no" >&6
14505 if test "x$GCJ" != x; then
14506 echo "$as_me:$LINENO: checking gcj version 4.0" >&5
14507 echo $ECHO_N "checking gcj version 4.0... $ECHO_C" >&6
14509 ac_cpp='$CPP $CPPFLAGS'
14510 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14511 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14512 ac_compiler_gnu=$ac_cv_c_compiler_gnu
14514 cat >conftest.$ac_ext <<_ACEOF
14516 #error GCJ 4.0.0 or higher is required
14520 $GCJ -E conftest.c > /dev/null
14522 if test "x$gcj_4_result" = "x0"; then
14523 echo "$as_me:$LINENO: result: 4.0 or higher found" >&5
14524 echo "${ECHO_T}4.0 or higher found" >&6
14526 { echo "$as_me:$LINENO: WARNING: 4.0 or higher required" >&5
14527 echo "$as_me: WARNING: 4.0 or higher required" >&2;}
14530 ac_cpp='$CPP $CPPFLAGS'
14531 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14532 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14533 ac_compiler_gnu=$ac_cv_c_compiler_gnu
14543 # Check whether --with-jikes or --without-jikes was given.
14544 if test "${with_jikes+set}" = set; then
14545 withval="$with_jikes"
14547 if test "x${withval}" != x && test "x${withval}" != xyes && test "x${withval}" != xno; then
14549 if test "x${withval}" != x; then
14550 if test -f "${withval}"; then
14553 # Extract the first word of ""${withval}"", so it can be a program name with args.
14554 set dummy "${withval}"; ac_word=$2
14555 echo "$as_me:$LINENO: checking for $ac_word" >&5
14556 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
14557 if test "${ac_cv_path_JIKES+set}" = set; then
14558 echo $ECHO_N "(cached) $ECHO_C" >&6
14562 ac_cv_path_JIKES="$JIKES" # Let the user override the test with a path.
14565 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
14566 for as_dir in $PATH
14569 test -z "$as_dir" && as_dir=.
14570 for ac_exec_ext in '' $ac_executable_extensions; do
14571 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
14572 ac_cv_path_JIKES="$as_dir/$ac_word$ac_exec_ext"
14573 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
14582 JIKES=$ac_cv_path_JIKES
14584 if test -n "$JIKES"; then
14585 echo "$as_me:$LINENO: result: $JIKES" >&5
14586 echo "${ECHO_T}$JIKES" >&6
14588 echo "$as_me:$LINENO: result: no" >&5
14589 echo "${ECHO_T}no" >&6
14594 # Extract the first word of ""jikes"", so it can be a program name with args.
14595 set dummy "jikes"; ac_word=$2
14596 echo "$as_me:$LINENO: checking for $ac_word" >&5
14597 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
14598 if test "${ac_cv_path_JIKES+set}" = set; then
14599 echo $ECHO_N "(cached) $ECHO_C" >&6
14603 ac_cv_path_JIKES="$JIKES" # Let the user override the test with a path.
14606 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
14607 for as_dir in $PATH
14610 test -z "$as_dir" && as_dir=.
14611 for ac_exec_ext in '' $ac_executable_extensions; do
14612 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
14613 ac_cv_path_JIKES="$as_dir/$ac_word$ac_exec_ext"
14614 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
14623 JIKES=$ac_cv_path_JIKES
14625 if test -n "$JIKES"; then
14626 echo "$as_me:$LINENO: result: $JIKES" >&5
14627 echo "${ECHO_T}$JIKES" >&6
14629 echo "$as_me:$LINENO: result: no" >&5
14630 echo "${ECHO_T}no" >&6
14634 if test "x$JIKES" != "x"; then
14635 echo "$as_me:$LINENO: checking jikes version" >&5
14636 echo $ECHO_N "checking jikes version... $ECHO_C" >&6
14637 JIKES_VERSION=`$JIKES --version | awk '/^Jikes Compiler/' | cut -d ' ' -f 5`
14638 JIKES_VERSION_MAJOR=`echo "$JIKES_VERSION" | cut -d '.' -f 1`
14639 JIKES_VERSION_MINOR=`echo "$JIKES_VERSION" | cut -d '.' -f 2`
14640 if expr "$JIKES_VERSION_MAJOR" = 1 > /dev/null; then
14641 if expr "$JIKES_VERSION_MINOR" \< 19 > /dev/null; then
14645 if test "x$JIKES" != "x"; then
14646 echo "$as_me:$LINENO: result: $JIKES_VERSION" >&5
14647 echo "${ECHO_T}$JIKES_VERSION" >&6
14649 { echo "$as_me:$LINENO: WARNING: $JIKES_VERSION: jikes 1.19 or higher required" >&5
14650 echo "$as_me: WARNING: $JIKES_VERSION: jikes 1.19 or higher required" >&2;}
14654 if test -n "`$JIKES --help 2>&1 | grep encoding`"; then
14655 JIKESENCODING='-encoding UTF-8'
14659 JIKESWARNINGS="+Pno-switchcheck"
14660 if test "x$JIKES_VERSION_MAJOR" = x"1" ; then
14661 if ! test "x$JIKES_VERSION_MINOR" = x"19"; then
14662 JIKESWARNINGS="$JIKESWARNINGS +Pno-shadow"
14670 if test "x${withval}" != xno; then
14672 if test "x" != x; then
14673 if test -f ""; then
14676 # Extract the first word of """", so it can be a program name with args.
14677 set dummy ""; ac_word=$2
14678 echo "$as_me:$LINENO: checking for $ac_word" >&5
14679 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
14680 if test "${ac_cv_path_JIKES+set}" = set; then
14681 echo $ECHO_N "(cached) $ECHO_C" >&6
14685 ac_cv_path_JIKES="$JIKES" # Let the user override the test with a path.
14688 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
14689 for as_dir in $PATH
14692 test -z "$as_dir" && as_dir=.
14693 for ac_exec_ext in '' $ac_executable_extensions; do
14694 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
14695 ac_cv_path_JIKES="$as_dir/$ac_word$ac_exec_ext"
14696 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
14705 JIKES=$ac_cv_path_JIKES
14707 if test -n "$JIKES"; then
14708 echo "$as_me:$LINENO: result: $JIKES" >&5
14709 echo "${ECHO_T}$JIKES" >&6
14711 echo "$as_me:$LINENO: result: no" >&5
14712 echo "${ECHO_T}no" >&6
14717 # Extract the first word of ""jikes"", so it can be a program name with args.
14718 set dummy "jikes"; ac_word=$2
14719 echo "$as_me:$LINENO: checking for $ac_word" >&5
14720 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
14721 if test "${ac_cv_path_JIKES+set}" = set; then
14722 echo $ECHO_N "(cached) $ECHO_C" >&6
14726 ac_cv_path_JIKES="$JIKES" # Let the user override the test with a path.
14729 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
14730 for as_dir in $PATH
14733 test -z "$as_dir" && as_dir=.
14734 for ac_exec_ext in '' $ac_executable_extensions; do
14735 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
14736 ac_cv_path_JIKES="$as_dir/$ac_word$ac_exec_ext"
14737 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
14746 JIKES=$ac_cv_path_JIKES
14748 if test -n "$JIKES"; then
14749 echo "$as_me:$LINENO: result: $JIKES" >&5
14750 echo "${ECHO_T}$JIKES" >&6
14752 echo "$as_me:$LINENO: result: no" >&5
14753 echo "${ECHO_T}no" >&6
14757 if test "x$JIKES" != "x"; then
14758 echo "$as_me:$LINENO: checking jikes version" >&5
14759 echo $ECHO_N "checking jikes version... $ECHO_C" >&6
14760 JIKES_VERSION=`$JIKES --version | awk '/^Jikes Compiler/' | cut -d ' ' -f 5`
14761 JIKES_VERSION_MAJOR=`echo "$JIKES_VERSION" | cut -d '.' -f 1`
14762 JIKES_VERSION_MINOR=`echo "$JIKES_VERSION" | cut -d '.' -f 2`
14763 if expr "$JIKES_VERSION_MAJOR" = 1 > /dev/null; then
14764 if expr "$JIKES_VERSION_MINOR" \< 19 > /dev/null; then
14768 if test "x$JIKES" != "x"; then
14769 echo "$as_me:$LINENO: result: $JIKES_VERSION" >&5
14770 echo "${ECHO_T}$JIKES_VERSION" >&6
14772 { echo "$as_me:$LINENO: WARNING: $JIKES_VERSION: jikes 1.19 or higher required" >&5
14773 echo "$as_me: WARNING: $JIKES_VERSION: jikes 1.19 or higher required" >&2;}
14777 if test -n "`$JIKES --help 2>&1 | grep encoding`"; then
14778 JIKESENCODING='-encoding UTF-8'
14782 JIKESWARNINGS="+Pno-switchcheck"
14783 if test "x$JIKES_VERSION_MAJOR" = x"1" ; then
14784 if ! test "x$JIKES_VERSION_MINOR" = x"19"; then
14785 JIKESWARNINGS="$JIKESWARNINGS +Pno-shadow"
14794 user_specified_javac=jikes
14799 if test "x" != x; then
14800 if test -f ""; then
14803 # Extract the first word of """", so it can be a program name with args.
14804 set dummy ""; ac_word=$2
14805 echo "$as_me:$LINENO: checking for $ac_word" >&5
14806 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
14807 if test "${ac_cv_path_JIKES+set}" = set; then
14808 echo $ECHO_N "(cached) $ECHO_C" >&6
14812 ac_cv_path_JIKES="$JIKES" # Let the user override the test with a path.
14815 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
14816 for as_dir in $PATH
14819 test -z "$as_dir" && as_dir=.
14820 for ac_exec_ext in '' $ac_executable_extensions; do
14821 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
14822 ac_cv_path_JIKES="$as_dir/$ac_word$ac_exec_ext"
14823 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
14832 JIKES=$ac_cv_path_JIKES
14834 if test -n "$JIKES"; then
14835 echo "$as_me:$LINENO: result: $JIKES" >&5
14836 echo "${ECHO_T}$JIKES" >&6
14838 echo "$as_me:$LINENO: result: no" >&5
14839 echo "${ECHO_T}no" >&6
14844 # Extract the first word of ""jikes"", so it can be a program name with args.
14845 set dummy "jikes"; ac_word=$2
14846 echo "$as_me:$LINENO: checking for $ac_word" >&5
14847 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
14848 if test "${ac_cv_path_JIKES+set}" = set; then
14849 echo $ECHO_N "(cached) $ECHO_C" >&6
14853 ac_cv_path_JIKES="$JIKES" # Let the user override the test with a path.
14856 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
14857 for as_dir in $PATH
14860 test -z "$as_dir" && as_dir=.
14861 for ac_exec_ext in '' $ac_executable_extensions; do
14862 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
14863 ac_cv_path_JIKES="$as_dir/$ac_word$ac_exec_ext"
14864 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
14873 JIKES=$ac_cv_path_JIKES
14875 if test -n "$JIKES"; then
14876 echo "$as_me:$LINENO: result: $JIKES" >&5
14877 echo "${ECHO_T}$JIKES" >&6
14879 echo "$as_me:$LINENO: result: no" >&5
14880 echo "${ECHO_T}no" >&6
14884 if test "x$JIKES" != "x"; then
14885 echo "$as_me:$LINENO: checking jikes version" >&5
14886 echo $ECHO_N "checking jikes version... $ECHO_C" >&6
14887 JIKES_VERSION=`$JIKES --version | awk '/^Jikes Compiler/' | cut -d ' ' -f 5`
14888 JIKES_VERSION_MAJOR=`echo "$JIKES_VERSION" | cut -d '.' -f 1`
14889 JIKES_VERSION_MINOR=`echo "$JIKES_VERSION" | cut -d '.' -f 2`
14890 if expr "$JIKES_VERSION_MAJOR" = 1 > /dev/null; then
14891 if expr "$JIKES_VERSION_MINOR" \< 19 > /dev/null; then
14895 if test "x$JIKES" != "x"; then
14896 echo "$as_me:$LINENO: result: $JIKES_VERSION" >&5
14897 echo "${ECHO_T}$JIKES_VERSION" >&6
14899 { echo "$as_me:$LINENO: WARNING: $JIKES_VERSION: jikes 1.19 or higher required" >&5
14900 echo "$as_me: WARNING: $JIKES_VERSION: jikes 1.19 or higher required" >&2;}
14904 if test -n "`$JIKES --help 2>&1 | grep encoding`"; then
14905 JIKESENCODING='-encoding UTF-8'
14909 JIKESWARNINGS="+Pno-switchcheck"
14910 if test "x$JIKES_VERSION_MAJOR" = x"1" ; then
14911 if ! test "x$JIKES_VERSION_MINOR" = x"19"; then
14912 JIKESWARNINGS="$JIKESWARNINGS +Pno-shadow"
14925 # Check whether --with-kjc or --without-kjc was given.
14926 if test "${with_kjc+set}" = set; then
14927 withval="$with_kjc"
14929 if test "x${withval}" != x && test "x${withval}" != xyes && test "x${withval}" != xno; then
14931 if test "x${withval}" != x; then
14932 if test -f "${withval}"; then
14935 # Extract the first word of ""${withval}"", so it can be a program name with args.
14936 set dummy "${withval}"; ac_word=$2
14937 echo "$as_me:$LINENO: checking for $ac_word" >&5
14938 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
14939 if test "${ac_cv_path_KJC+set}" = set; then
14940 echo $ECHO_N "(cached) $ECHO_C" >&6
14944 ac_cv_path_KJC="$KJC" # Let the user override the test with a path.
14947 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
14948 for as_dir in $PATH
14951 test -z "$as_dir" && as_dir=.
14952 for ac_exec_ext in '' $ac_executable_extensions; do
14953 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
14954 ac_cv_path_KJC="$as_dir/$ac_word$ac_exec_ext"
14955 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
14964 KJC=$ac_cv_path_KJC
14966 if test -n "$KJC"; then
14967 echo "$as_me:$LINENO: result: $KJC" >&5
14968 echo "${ECHO_T}$KJC" >&6
14970 echo "$as_me:$LINENO: result: no" >&5
14971 echo "${ECHO_T}no" >&6
14976 # Extract the first word of ""kJC"", so it can be a program name with args.
14977 set dummy "kJC"; ac_word=$2
14978 echo "$as_me:$LINENO: checking for $ac_word" >&5
14979 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
14980 if test "${ac_cv_path_KJC+set}" = set; then
14981 echo $ECHO_N "(cached) $ECHO_C" >&6
14985 ac_cv_path_KJC="$KJC" # Let the user override the test with a path.
14988 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
14989 for as_dir in $PATH
14992 test -z "$as_dir" && as_dir=.
14993 for ac_exec_ext in '' $ac_executable_extensions; do
14994 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
14995 ac_cv_path_KJC="$as_dir/$ac_word$ac_exec_ext"
14996 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
15005 KJC=$ac_cv_path_KJC
15007 if test -n "$KJC"; then
15008 echo "$as_me:$LINENO: result: $KJC" >&5
15009 echo "${ECHO_T}$KJC" >&6
15011 echo "$as_me:$LINENO: result: no" >&5
15012 echo "${ECHO_T}no" >&6
15018 if test "x${withval}" != xno; then
15020 if test "x" != x; then
15021 if test -f ""; then
15024 # Extract the first word of """", so it can be a program name with args.
15025 set dummy ""; ac_word=$2
15026 echo "$as_me:$LINENO: checking for $ac_word" >&5
15027 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
15028 if test "${ac_cv_path_KJC+set}" = set; then
15029 echo $ECHO_N "(cached) $ECHO_C" >&6
15033 ac_cv_path_KJC="$KJC" # Let the user override the test with a path.
15036 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
15037 for as_dir in $PATH
15040 test -z "$as_dir" && as_dir=.
15041 for ac_exec_ext in '' $ac_executable_extensions; do
15042 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
15043 ac_cv_path_KJC="$as_dir/$ac_word$ac_exec_ext"
15044 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
15053 KJC=$ac_cv_path_KJC
15055 if test -n "$KJC"; then
15056 echo "$as_me:$LINENO: result: $KJC" >&5
15057 echo "${ECHO_T}$KJC" >&6
15059 echo "$as_me:$LINENO: result: no" >&5
15060 echo "${ECHO_T}no" >&6
15065 # Extract the first word of ""kJC"", so it can be a program name with args.
15066 set dummy "kJC"; ac_word=$2
15067 echo "$as_me:$LINENO: checking for $ac_word" >&5
15068 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
15069 if test "${ac_cv_path_KJC+set}" = set; then
15070 echo $ECHO_N "(cached) $ECHO_C" >&6
15074 ac_cv_path_KJC="$KJC" # Let the user override the test with a path.
15077 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
15078 for as_dir in $PATH
15081 test -z "$as_dir" && as_dir=.
15082 for ac_exec_ext in '' $ac_executable_extensions; do
15083 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
15084 ac_cv_path_KJC="$as_dir/$ac_word$ac_exec_ext"
15085 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
15094 KJC=$ac_cv_path_KJC
15096 if test -n "$KJC"; then
15097 echo "$as_me:$LINENO: result: $KJC" >&5
15098 echo "${ECHO_T}$KJC" >&6
15100 echo "$as_me:$LINENO: result: no" >&5
15101 echo "${ECHO_T}no" >&6
15108 user_specified_javac=kjc
15113 if test "x" != x; then
15114 if test -f ""; then
15117 # Extract the first word of """", so it can be a program name with args.
15118 set dummy ""; ac_word=$2
15119 echo "$as_me:$LINENO: checking for $ac_word" >&5
15120 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
15121 if test "${ac_cv_path_KJC+set}" = set; then
15122 echo $ECHO_N "(cached) $ECHO_C" >&6
15126 ac_cv_path_KJC="$KJC" # Let the user override the test with a path.
15129 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
15130 for as_dir in $PATH
15133 test -z "$as_dir" && as_dir=.
15134 for ac_exec_ext in '' $ac_executable_extensions; do
15135 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
15136 ac_cv_path_KJC="$as_dir/$ac_word$ac_exec_ext"
15137 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
15146 KJC=$ac_cv_path_KJC
15148 if test -n "$KJC"; then
15149 echo "$as_me:$LINENO: result: $KJC" >&5
15150 echo "${ECHO_T}$KJC" >&6
15152 echo "$as_me:$LINENO: result: no" >&5
15153 echo "${ECHO_T}no" >&6
15158 # Extract the first word of ""kJC"", so it can be a program name with args.
15159 set dummy "kJC"; ac_word=$2
15160 echo "$as_me:$LINENO: checking for $ac_word" >&5
15161 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
15162 if test "${ac_cv_path_KJC+set}" = set; then
15163 echo $ECHO_N "(cached) $ECHO_C" >&6
15167 ac_cv_path_KJC="$KJC" # Let the user override the test with a path.
15170 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
15171 for as_dir in $PATH
15174 test -z "$as_dir" && as_dir=.
15175 for ac_exec_ext in '' $ac_executable_extensions; do
15176 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
15177 ac_cv_path_KJC="$as_dir/$ac_word$ac_exec_ext"
15178 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
15187 KJC=$ac_cv_path_KJC
15189 if test -n "$KJC"; then
15190 echo "$as_me:$LINENO: result: $KJC" >&5
15191 echo "${ECHO_T}$KJC" >&6
15193 echo "$as_me:$LINENO: result: no" >&5
15194 echo "${ECHO_T}no" >&6
15205 # Check whether --with-gcjx or --without-gcjx was given.
15206 if test "${with_gcjx+set}" = set; then
15207 withval="$with_gcjx"
15209 if test "x${withval}" != x && test "x${withval}" != xyes && test "x${withval}" != xno; then
15211 if test "x${withval}" != x; then
15212 if test -f "${withval}"; then
15215 # Extract the first word of ""${withval}"", so it can be a program name with args.
15216 set dummy "${withval}"; ac_word=$2
15217 echo "$as_me:$LINENO: checking for $ac_word" >&5
15218 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
15219 if test "${ac_cv_path_GCJX+set}" = set; then
15220 echo $ECHO_N "(cached) $ECHO_C" >&6
15224 ac_cv_path_GCJX="$GCJX" # Let the user override the test with a path.
15227 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
15228 for as_dir in $PATH
15231 test -z "$as_dir" && as_dir=.
15232 for ac_exec_ext in '' $ac_executable_extensions; do
15233 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
15234 ac_cv_path_GCJX="$as_dir/$ac_word$ac_exec_ext"
15235 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
15244 GCJX=$ac_cv_path_GCJX
15246 if test -n "$GCJX"; then
15247 echo "$as_me:$LINENO: result: $GCJX" >&5
15248 echo "${ECHO_T}$GCJX" >&6
15250 echo "$as_me:$LINENO: result: no" >&5
15251 echo "${ECHO_T}no" >&6
15256 # Extract the first word of ""gcjx"", so it can be a program name with args.
15257 set dummy "gcjx"; ac_word=$2
15258 echo "$as_me:$LINENO: checking for $ac_word" >&5
15259 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
15260 if test "${ac_cv_path_GCJX+set}" = set; then
15261 echo $ECHO_N "(cached) $ECHO_C" >&6
15265 ac_cv_path_GCJX="$GCJX" # Let the user override the test with a path.
15268 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
15269 for as_dir in $PATH
15272 test -z "$as_dir" && as_dir=.
15273 for ac_exec_ext in '' $ac_executable_extensions; do
15274 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
15275 ac_cv_path_GCJX="$as_dir/$ac_word$ac_exec_ext"
15276 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
15285 GCJX=$ac_cv_path_GCJX
15287 if test -n "$GCJX"; then
15288 echo "$as_me:$LINENO: result: $GCJX" >&5
15289 echo "${ECHO_T}$GCJX" >&6
15291 echo "$as_me:$LINENO: result: no" >&5
15292 echo "${ECHO_T}no" >&6
15298 if test "x${withval}" != xno; then
15300 if test "x" != x; then
15301 if test -f ""; then
15304 # Extract the first word of """", so it can be a program name with args.
15305 set dummy ""; ac_word=$2
15306 echo "$as_me:$LINENO: checking for $ac_word" >&5
15307 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
15308 if test "${ac_cv_path_GCJX+set}" = set; then
15309 echo $ECHO_N "(cached) $ECHO_C" >&6
15313 ac_cv_path_GCJX="$GCJX" # Let the user override the test with a path.
15316 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
15317 for as_dir in $PATH
15320 test -z "$as_dir" && as_dir=.
15321 for ac_exec_ext in '' $ac_executable_extensions; do
15322 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
15323 ac_cv_path_GCJX="$as_dir/$ac_word$ac_exec_ext"
15324 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
15333 GCJX=$ac_cv_path_GCJX
15335 if test -n "$GCJX"; then
15336 echo "$as_me:$LINENO: result: $GCJX" >&5
15337 echo "${ECHO_T}$GCJX" >&6
15339 echo "$as_me:$LINENO: result: no" >&5
15340 echo "${ECHO_T}no" >&6
15345 # Extract the first word of ""gcjx"", so it can be a program name with args.
15346 set dummy "gcjx"; ac_word=$2
15347 echo "$as_me:$LINENO: checking for $ac_word" >&5
15348 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
15349 if test "${ac_cv_path_GCJX+set}" = set; then
15350 echo $ECHO_N "(cached) $ECHO_C" >&6
15354 ac_cv_path_GCJX="$GCJX" # Let the user override the test with a path.
15357 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
15358 for as_dir in $PATH
15361 test -z "$as_dir" && as_dir=.
15362 for ac_exec_ext in '' $ac_executable_extensions; do
15363 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
15364 ac_cv_path_GCJX="$as_dir/$ac_word$ac_exec_ext"
15365 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
15374 GCJX=$ac_cv_path_GCJX
15376 if test -n "$GCJX"; then
15377 echo "$as_me:$LINENO: result: $GCJX" >&5
15378 echo "${ECHO_T}$GCJX" >&6
15380 echo "$as_me:$LINENO: result: no" >&5
15381 echo "${ECHO_T}no" >&6
15388 user_specified_javac=gcjx
15393 if test "x" != x; then
15394 if test -f ""; then
15397 # Extract the first word of """", so it can be a program name with args.
15398 set dummy ""; ac_word=$2
15399 echo "$as_me:$LINENO: checking for $ac_word" >&5
15400 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
15401 if test "${ac_cv_path_GCJX+set}" = set; then
15402 echo $ECHO_N "(cached) $ECHO_C" >&6
15406 ac_cv_path_GCJX="$GCJX" # Let the user override the test with a path.
15409 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
15410 for as_dir in $PATH
15413 test -z "$as_dir" && as_dir=.
15414 for ac_exec_ext in '' $ac_executable_extensions; do
15415 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
15416 ac_cv_path_GCJX="$as_dir/$ac_word$ac_exec_ext"
15417 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
15426 GCJX=$ac_cv_path_GCJX
15428 if test -n "$GCJX"; then
15429 echo "$as_me:$LINENO: result: $GCJX" >&5
15430 echo "${ECHO_T}$GCJX" >&6
15432 echo "$as_me:$LINENO: result: no" >&5
15433 echo "${ECHO_T}no" >&6
15438 # Extract the first word of ""gcjx"", so it can be a program name with args.
15439 set dummy "gcjx"; ac_word=$2
15440 echo "$as_me:$LINENO: checking for $ac_word" >&5
15441 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
15442 if test "${ac_cv_path_GCJX+set}" = set; then
15443 echo $ECHO_N "(cached) $ECHO_C" >&6
15447 ac_cv_path_GCJX="$GCJX" # Let the user override the test with a path.
15450 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
15451 for as_dir in $PATH
15454 test -z "$as_dir" && as_dir=.
15455 for ac_exec_ext in '' $ac_executable_extensions; do
15456 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
15457 ac_cv_path_GCJX="$as_dir/$ac_word$ac_exec_ext"
15458 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
15467 GCJX=$ac_cv_path_GCJX
15469 if test -n "$GCJX"; then
15470 echo "$as_me:$LINENO: result: $GCJX" >&5
15471 echo "${ECHO_T}$GCJX" >&6
15473 echo "$as_me:$LINENO: result: no" >&5
15474 echo "${ECHO_T}no" >&6
15485 # Check whether --with-ecj or --without-ecj was given.
15486 if test "${with_ecj+set}" = set; then
15487 withval="$with_ecj"
15489 if test "x${withval}" != x && test "x${withval}" != xyes && test "x${withval}" != xno; then
15491 if test "x${withval}" != x; then
15492 if test -f "${withval}"; then
15495 # Extract the first word of ""${withval}"", so it can be a program name with args.
15496 set dummy "${withval}"; ac_word=$2
15497 echo "$as_me:$LINENO: checking for $ac_word" >&5
15498 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
15499 if test "${ac_cv_path_ECJ+set}" = set; then
15500 echo $ECHO_N "(cached) $ECHO_C" >&6
15504 ac_cv_path_ECJ="$ECJ" # Let the user override the test with a path.
15507 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
15508 for as_dir in $PATH
15511 test -z "$as_dir" && as_dir=.
15512 for ac_exec_ext in '' $ac_executable_extensions; do
15513 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
15514 ac_cv_path_ECJ="$as_dir/$ac_word$ac_exec_ext"
15515 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
15524 ECJ=$ac_cv_path_ECJ
15526 if test -n "$ECJ"; then
15527 echo "$as_me:$LINENO: result: $ECJ" >&5
15528 echo "${ECHO_T}$ECJ" >&6
15530 echo "$as_me:$LINENO: result: no" >&5
15531 echo "${ECHO_T}no" >&6
15536 # Extract the first word of ""ecj"", so it can be a program name with args.
15537 set dummy "ecj"; ac_word=$2
15538 echo "$as_me:$LINENO: checking for $ac_word" >&5
15539 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
15540 if test "${ac_cv_path_ECJ+set}" = set; then
15541 echo $ECHO_N "(cached) $ECHO_C" >&6
15545 ac_cv_path_ECJ="$ECJ" # Let the user override the test with a path.
15548 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
15549 for as_dir in $PATH
15552 test -z "$as_dir" && as_dir=.
15553 for ac_exec_ext in '' $ac_executable_extensions; do
15554 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
15555 ac_cv_path_ECJ="$as_dir/$ac_word$ac_exec_ext"
15556 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
15565 ECJ=$ac_cv_path_ECJ
15567 if test -n "$ECJ"; then
15568 echo "$as_me:$LINENO: result: $ECJ" >&5
15569 echo "${ECHO_T}$ECJ" >&6
15571 echo "$as_me:$LINENO: result: no" >&5
15572 echo "${ECHO_T}no" >&6
15578 if test "x${withval}" != xno; then
15580 if test "x" != x; then
15581 if test -f ""; then
15584 # Extract the first word of """", so it can be a program name with args.
15585 set dummy ""; ac_word=$2
15586 echo "$as_me:$LINENO: checking for $ac_word" >&5
15587 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
15588 if test "${ac_cv_path_ECJ+set}" = set; then
15589 echo $ECHO_N "(cached) $ECHO_C" >&6
15593 ac_cv_path_ECJ="$ECJ" # Let the user override the test with a path.
15596 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
15597 for as_dir in $PATH
15600 test -z "$as_dir" && as_dir=.
15601 for ac_exec_ext in '' $ac_executable_extensions; do
15602 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
15603 ac_cv_path_ECJ="$as_dir/$ac_word$ac_exec_ext"
15604 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
15613 ECJ=$ac_cv_path_ECJ
15615 if test -n "$ECJ"; then
15616 echo "$as_me:$LINENO: result: $ECJ" >&5
15617 echo "${ECHO_T}$ECJ" >&6
15619 echo "$as_me:$LINENO: result: no" >&5
15620 echo "${ECHO_T}no" >&6
15625 # Extract the first word of ""ecj"", so it can be a program name with args.
15626 set dummy "ecj"; ac_word=$2
15627 echo "$as_me:$LINENO: checking for $ac_word" >&5
15628 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
15629 if test "${ac_cv_path_ECJ+set}" = set; then
15630 echo $ECHO_N "(cached) $ECHO_C" >&6
15634 ac_cv_path_ECJ="$ECJ" # Let the user override the test with a path.
15637 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
15638 for as_dir in $PATH
15641 test -z "$as_dir" && as_dir=.
15642 for ac_exec_ext in '' $ac_executable_extensions; do
15643 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
15644 ac_cv_path_ECJ="$as_dir/$ac_word$ac_exec_ext"
15645 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
15654 ECJ=$ac_cv_path_ECJ
15656 if test -n "$ECJ"; then
15657 echo "$as_me:$LINENO: result: $ECJ" >&5
15658 echo "${ECHO_T}$ECJ" >&6
15660 echo "$as_me:$LINENO: result: no" >&5
15661 echo "${ECHO_T}no" >&6
15668 user_specified_javac=ecj
15673 if test "x" != x; then
15674 if test -f ""; then
15677 # Extract the first word of """", so it can be a program name with args.
15678 set dummy ""; ac_word=$2
15679 echo "$as_me:$LINENO: checking for $ac_word" >&5
15680 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
15681 if test "${ac_cv_path_ECJ+set}" = set; then
15682 echo $ECHO_N "(cached) $ECHO_C" >&6
15686 ac_cv_path_ECJ="$ECJ" # Let the user override the test with a path.
15689 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
15690 for as_dir in $PATH
15693 test -z "$as_dir" && as_dir=.
15694 for ac_exec_ext in '' $ac_executable_extensions; do
15695 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
15696 ac_cv_path_ECJ="$as_dir/$ac_word$ac_exec_ext"
15697 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
15706 ECJ=$ac_cv_path_ECJ
15708 if test -n "$ECJ"; then
15709 echo "$as_me:$LINENO: result: $ECJ" >&5
15710 echo "${ECHO_T}$ECJ" >&6
15712 echo "$as_me:$LINENO: result: no" >&5
15713 echo "${ECHO_T}no" >&6
15718 # Extract the first word of ""ecj"", so it can be a program name with args.
15719 set dummy "ecj"; ac_word=$2
15720 echo "$as_me:$LINENO: checking for $ac_word" >&5
15721 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
15722 if test "${ac_cv_path_ECJ+set}" = set; then
15723 echo $ECHO_N "(cached) $ECHO_C" >&6
15727 ac_cv_path_ECJ="$ECJ" # Let the user override the test with a path.
15730 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
15731 for as_dir in $PATH
15734 test -z "$as_dir" && as_dir=.
15735 for ac_exec_ext in '' $ac_executable_extensions; do
15736 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
15737 ac_cv_path_ECJ="$as_dir/$ac_word$ac_exec_ext"
15738 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
15747 ECJ=$ac_cv_path_ECJ
15749 if test -n "$ECJ"; then
15750 echo "$as_me:$LINENO: result: $ECJ" >&5
15751 echo "${ECHO_T}$ECJ" >&6
15753 echo "$as_me:$LINENO: result: no" >&5
15754 echo "${ECHO_T}no" >&6
15764 if test "x${user_specified_javac}" = x; then
15767 if test "x${GCJ}" != x; then
15769 FOUND_GCJ_FALSE='#'
15777 if test "x${JIKES}" != x; then
15779 FOUND_JIKES_FALSE='#'
15781 FOUND_JIKES_TRUE='#'
15787 if test "x${ECJ}" != x; then
15789 FOUND_ECJ_FALSE='#'
15798 if test "x${user_specified_javac}" = xgcj; then
15800 FOUND_GCJ_FALSE='#'
15808 if test "x${user_specified_javac}" = xjikes; then
15810 FOUND_JIKES_FALSE='#'
15812 FOUND_JIKES_TRUE='#'
15818 if test "x${user_specified_javac}" = xecj; then
15820 FOUND_ECJ_FALSE='#'
15829 if test "x${user_specified_javac}" = xkjc; then
15831 FOUND_KJC_FALSE='#'
15839 if test "x${user_specified_javac}" = xgcjx; then
15841 FOUND_GCJX_FALSE='#'
15843 FOUND_GCJX_TRUE='#'
15848 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
15849 { { echo "$as_me:$LINENO: error: cannot find javac, try --with-gcj, --with-jikes, --with-kjc, --with-ecj, or --with-gcjx" >&5
15850 echo "$as_me: error: cannot find javac, try --with-gcj, --with-jikes, --with-kjc, --with-ecj, or --with-gcjx" >&2;}
15851 { (exit 1); exit 1; }; }
15857 # Check whether --with-classpath or --without-classpath was given.
15858 if test "${with_classpath+set}" = set; then
15859 withval="$with_classpath"
15861 if test "x${withval}" = xyes; then
15862 # set user classpath to CLASSPATH from env
15863 echo "$as_me:$LINENO: checking for classlib" >&5
15864 echo $ECHO_N "checking for classlib... $ECHO_C" >&6
15865 USER_CLASSLIB=${CLASSPATH}
15867 echo "$as_me:$LINENO: result: ${USER_CLASSLIB}" >&5
15868 echo "${ECHO_T}${USER_CLASSLIB}" >&6
15869 conditional_with_classlib=true
15870 elif test "x${withval}" != x && test "x${withval}" != xno; then
15871 # set user classpath to specified value
15872 echo "$as_me:$LINENO: checking for classlib" >&5
15873 echo $ECHO_N "checking for classlib... $ECHO_C" >&6
15874 USER_CLASSLIB=${withval}
15876 echo "$as_me:$LINENO: result: ${withval}" >&5
15877 echo "${ECHO_T}${withval}" >&6
15878 conditional_with_classlib=true
15882 conditional_with_classlib=false
15886 if test "x${conditional_with_classlib}" = xtrue; then
15887 USER_SPECIFIED_CLASSLIB_TRUE=
15888 USER_SPECIFIED_CLASSLIB_FALSE='#'
15890 USER_SPECIFIED_CLASSLIB_TRUE='#'
15891 USER_SPECIFIED_CLASSLIB_FALSE=
15896 # Check whether --with-vm-classes or --without-vm-classes was given.
15897 if test "${with_vm_classes+set}" = set; then
15898 withval="$with_vm_classes"
15899 vm_classes="$with_vm_classes"
15901 vm_classes='${top_srcdir}/vm/reference'
15906 echo "$as_me:$LINENO: checking whether to enable maintainer-specific portions of Makefiles" >&5
15907 echo $ECHO_N "checking whether to enable maintainer-specific portions of Makefiles... $ECHO_C" >&6
15908 # Check whether --enable-maintainer-mode or --disable-maintainer-mode was given.
15909 if test "${enable_maintainer_mode+set}" = set; then
15910 enableval="$enable_maintainer_mode"
15911 USE_MAINTAINER_MODE=$enableval
15913 USE_MAINTAINER_MODE=no
15915 echo "$as_me:$LINENO: result: $USE_MAINTAINER_MODE" >&5
15916 echo "${ECHO_T}$USE_MAINTAINER_MODE" >&6
15919 if test $USE_MAINTAINER_MODE = yes; then
15920 MAINTAINER_MODE_TRUE=
15921 MAINTAINER_MODE_FALSE='#'
15923 MAINTAINER_MODE_TRUE='#'
15924 MAINTAINER_MODE_FALSE=
15927 MAINT=$MAINTAINER_MODE_TRUE
15931 # Check whether --enable-debug or --disable-debug was given.
15932 if test "${enable_debug+set}" = set; then
15933 enableval="$enable_debug"
15934 case "${enableval}" in
15938 cat >>confdefs.h <<\_ACEOF
15943 no) LIBDEBUG="false" ;;
15944 *) { { echo "$as_me:$LINENO: error: bad value ${enableval} for --enable-debug" >&5
15945 echo "$as_me: error: bad value ${enableval} for --enable-debug" >&2;}
15946 { (exit 1); exit 1; }; } ;;
15953 # Check whether --enable-load-library or --disable-load-library was given.
15954 if test "${enable_load_library+set}" = set; then
15955 enableval="$enable_load_library"
15956 case "${enableval}" in
15957 yes) INIT_LOAD_LIBRARY="true" ;;
15958 no) INIT_LOAD_LIBRARY="false" ;;
15959 *) { { echo "$as_me:$LINENO: error: bad value ${enableval} for --enable-load-library" >&5
15960 echo "$as_me: error: bad value ${enableval} for --enable-load-library" >&2;}
15961 { (exit 1); exit 1; }; } ;;
15964 INIT_LOAD_LIBRARY="true"
15969 # Check whether --enable-java-lang-system-explicit-initialization or --disable-java-lang-system-explicit-initialization was given.
15970 if test "${enable_java_lang_system_explicit_initialization+set}" = set; then
15971 enableval="$enable_java_lang_system_explicit_initialization"
15972 case "${enableval}" in
15973 yes|true) JAVA_LANG_SYSTEM_EXPLICIT_INITIALIZATION="true" ;;
15974 no|false) JAVA_LANG_SYSTEM_EXPLICIT_INITIALIZATION="false" ;;
15975 *) { { echo "$as_me:$LINENO: error: bad value ${enableval} for --enable-java-lang-system-explicit-initialization" >&5
15976 echo "$as_me: error: bad value ${enableval} for --enable-java-lang-system-explicit-initialization" >&2;}
15977 { (exit 1); exit 1; }; } ;;
15980 JAVA_LANG_SYSTEM_EXPLICIT_INITIALIZATION="false"
15988 # Extract the first word of "mkdir", so it can be a program name with args.
15989 set dummy mkdir; ac_word=$2
15990 echo "$as_me:$LINENO: checking for $ac_word" >&5
15991 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
15992 if test "${ac_cv_path_MKDIR+set}" = set; then
15993 echo $ECHO_N "(cached) $ECHO_C" >&6
15997 ac_cv_path_MKDIR="$MKDIR" # Let the user override the test with a path.
16000 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
16001 for as_dir in $PATH
16004 test -z "$as_dir" && as_dir=.
16005 for ac_exec_ext in '' $ac_executable_extensions; do
16006 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
16007 ac_cv_path_MKDIR="$as_dir/$ac_word$ac_exec_ext"
16008 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
16017 MKDIR=$ac_cv_path_MKDIR
16019 if test -n "$MKDIR"; then
16020 echo "$as_me:$LINENO: result: $MKDIR" >&5
16021 echo "${ECHO_T}$MKDIR" >&6
16023 echo "$as_me:$LINENO: result: no" >&5
16024 echo "${ECHO_T}no" >&6
16027 # Extract the first word of "cp", so it can be a program name with args.
16028 set dummy cp; ac_word=$2
16029 echo "$as_me:$LINENO: checking for $ac_word" >&5
16030 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
16031 if test "${ac_cv_path_CP+set}" = set; then
16032 echo $ECHO_N "(cached) $ECHO_C" >&6
16036 ac_cv_path_CP="$CP" # Let the user override the test with a path.
16039 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
16040 for as_dir in $PATH
16043 test -z "$as_dir" && as_dir=.
16044 for ac_exec_ext in '' $ac_executable_extensions; do
16045 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
16046 ac_cv_path_CP="$as_dir/$ac_word$ac_exec_ext"
16047 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
16058 if test -n "$CP"; then
16059 echo "$as_me:$LINENO: result: $CP" >&5
16060 echo "${ECHO_T}$CP" >&6
16062 echo "$as_me:$LINENO: result: no" >&5
16063 echo "${ECHO_T}no" >&6
16066 # Extract the first word of "date", so it can be a program name with args.
16067 set dummy date; ac_word=$2
16068 echo "$as_me:$LINENO: checking for $ac_word" >&5
16069 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
16070 if test "${ac_cv_path_DATE+set}" = set; then
16071 echo $ECHO_N "(cached) $ECHO_C" >&6
16075 ac_cv_path_DATE="$DATE" # Let the user override the test with a path.
16078 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
16079 for as_dir in $PATH
16082 test -z "$as_dir" && as_dir=.
16083 for ac_exec_ext in '' $ac_executable_extensions; do
16084 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
16085 ac_cv_path_DATE="$as_dir/$ac_word$ac_exec_ext"
16086 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
16095 DATE=$ac_cv_path_DATE
16097 if test -n "$DATE"; then
16098 echo "$as_me:$LINENO: result: $DATE" >&5
16099 echo "${ECHO_T}$DATE" >&6
16101 echo "$as_me:$LINENO: result: no" >&5
16102 echo "${ECHO_T}no" >&6
16106 # Extract the first word of "find", so it can be a program name with args.
16107 set dummy find; ac_word=$2
16108 echo "$as_me:$LINENO: checking for $ac_word" >&5
16109 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
16110 if test "${ac_cv_path_FIND+set}" = set; then
16111 echo $ECHO_N "(cached) $ECHO_C" >&6
16115 ac_cv_path_FIND="$FIND" # Let the user override the test with a path.
16118 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
16119 for as_dir in $PATH
16122 test -z "$as_dir" && as_dir=.
16123 for ac_exec_ext in '' $ac_executable_extensions; do
16124 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
16125 ac_cv_path_FIND="$as_dir/$ac_word$ac_exec_ext"
16126 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
16135 FIND=$ac_cv_path_FIND
16137 if test -n "$FIND"; then
16138 echo "$as_me:$LINENO: result: $FIND" >&5
16139 echo "${ECHO_T}$FIND" >&6
16141 echo "$as_me:$LINENO: result: no" >&5
16142 echo "${ECHO_T}no" >&6
16147 # Extract the first word of "zip", so it can be a program name with args.
16148 set dummy zip; 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_ZIP+set}" = set; then
16152 echo $ECHO_N "(cached) $ECHO_C" >&6
16156 ac_cv_path_ZIP="$ZIP" # 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_ZIP="$as_dir/$ac_word$ac_exec_ext"
16167 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
16176 ZIP=$ac_cv_path_ZIP
16178 if test -n "$ZIP"; then
16179 echo "$as_me:$LINENO: result: $ZIP" >&5
16180 echo "${ECHO_T}$ZIP" >&6
16182 echo "$as_me:$LINENO: result: no" >&5
16183 echo "${ECHO_T}no" >&6
16187 # Check whether --with-fastjar or --without-fastjar was given.
16188 if test "${with_fastjar+set}" = set; then
16189 withval="$with_fastjar"
16191 echo "$as_me:$LINENO: checking for user supplied fastjar" >&5
16192 echo $ECHO_N "checking for user supplied fastjar... $ECHO_C" >&6
16194 echo "$as_me:$LINENO: result: ${FASTJAR}" >&5
16195 echo "${ECHO_T}${FASTJAR}" >&6
16198 # Extract the first word of "fastjar", so it can be a program name with args.
16199 set dummy fastjar; ac_word=$2
16200 echo "$as_me:$LINENO: checking for $ac_word" >&5
16201 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
16202 if test "${ac_cv_path_FASTJAR+set}" = set; then
16203 echo $ECHO_N "(cached) $ECHO_C" >&6
16207 ac_cv_path_FASTJAR="$FASTJAR" # Let the user override the test with a path.
16210 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
16211 for as_dir in $PATH
16214 test -z "$as_dir" && as_dir=.
16215 for ac_exec_ext in '' $ac_executable_extensions; do
16216 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
16217 ac_cv_path_FASTJAR="$as_dir/$ac_word$ac_exec_ext"
16218 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
16227 FASTJAR=$ac_cv_path_FASTJAR
16229 if test -n "$FASTJAR"; then
16230 echo "$as_me:$LINENO: result: $FASTJAR" >&5
16231 echo "${ECHO_T}$FASTJAR" >&6
16233 echo "$as_me:$LINENO: result: no" >&5
16234 echo "${ECHO_T}no" >&6
16238 if test x"${FASTJAR}" != x; then
16243 # Check whether --with-glibj or --without-glibj was given.
16244 if test "${with_glibj+set}" = set; then
16245 withval="$with_glibj"
16247 if test "x${withval}" = xyes || test "x${withval}" = xzip; then
16248 install_class_files=no
16249 build_class_files=yes
16251 elif test "x${withval}" = xboth; then
16252 install_class_files=yes
16253 build_class_files=yes
16255 elif test "x${withval}" = xflat; then
16256 install_class_files=yes
16257 build_class_files=yes
16259 elif test "x${withval}" = xno || test "x${withval}" = xnone; then
16260 install_class_files=no
16261 build_class_files=no
16263 elif test "x${withval}" = xbuild; then
16264 install_class_files=no
16265 build_class_files=yes
16268 { { echo "$as_me:$LINENO: error: unknown value given to --with-glibj" >&5
16269 echo "$as_me: error: unknown value given to --with-glibj" >&2;}
16270 { (exit 1); exit 1; }; }
16275 install_class_files=no
16281 if test "x${use_zip}" = xyes; then
16282 INSTALL_GLIBJ_ZIP_TRUE=
16283 INSTALL_GLIBJ_ZIP_FALSE='#'
16285 INSTALL_GLIBJ_ZIP_TRUE='#'
16286 INSTALL_GLIBJ_ZIP_FALSE=
16291 if test "x${install_class_files}" = xyes; then
16292 INSTALL_CLASS_FILES_TRUE=
16293 INSTALL_CLASS_FILES_FALSE='#'
16295 INSTALL_CLASS_FILES_TRUE='#'
16296 INSTALL_CLASS_FILES_FALSE=
16301 if test "x${build_class_files}" = xyes; then
16302 BUILD_CLASS_FILES_TRUE=
16303 BUILD_CLASS_FILES_FALSE='#'
16305 BUILD_CLASS_FILES_TRUE='#'
16306 BUILD_CLASS_FILES_FALSE=
16310 # Check whether --enable-examples or --disable-examples was given.
16311 if test "${enable_examples+set}" = set; then
16312 enableval="$enable_examples"
16313 case "${enableval}" in
16314 yes) EXAMPLESDIR="examples" ;;
16315 no) EXAMPLESDIR="" ;;
16316 *) { { echo "$as_me:$LINENO: error: bad value ${enableval} for --enable-examples" >&5
16317 echo "$as_me: error: bad value ${enableval} for --enable-examples" >&2;}
16318 { (exit 1); exit 1; }; } ;;
16321 EXAMPLESDIR="examples"
16323 if test "x${use_zip}" = xno && test "x${install_class_files}" = xno; then
16331 # Check whether --with-gjdoc or --without-gjdoc was given.
16332 if test "${with_gjdoc+set}" = set; then
16333 withval="$with_gjdoc"
16334 if test "x${withval}" = xno; then
16336 elif test "x${withval}" = xyes -o "x{withval}" = x; then
16338 # Extract the first word of "gjdoc", so it can be a program name with args.
16339 set dummy gjdoc; ac_word=$2
16340 echo "$as_me:$LINENO: checking for $ac_word" >&5
16341 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
16342 if test "${ac_cv_path_GJDOC+set}" = set; then
16343 echo $ECHO_N "(cached) $ECHO_C" >&6
16347 ac_cv_path_GJDOC="$GJDOC" # Let the user override the test with a path.
16350 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
16351 for as_dir in $PATH
16354 test -z "$as_dir" && as_dir=.
16355 for ac_exec_ext in '' $ac_executable_extensions; do
16356 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
16357 ac_cv_path_GJDOC="$as_dir/$ac_word$ac_exec_ext"
16358 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
16364 test -z "$ac_cv_path_GJDOC" && ac_cv_path_GJDOC=""no""
16368 GJDOC=$ac_cv_path_GJDOC
16370 if test -n "$GJDOC"; then
16371 echo "$as_me:$LINENO: result: $GJDOC" >&5
16372 echo "${ECHO_T}$GJDOC" >&6
16374 echo "$as_me:$LINENO: result: no" >&5
16375 echo "${ECHO_T}no" >&6
16378 if test "x${GJDOC}" = xno; then
16379 { { echo "$as_me:$LINENO: error: \"gjdoc executable not found\"" >&5
16380 echo "$as_me: error: \"gjdoc executable not found\"" >&2;}
16381 { (exit 1); exit 1; }; };
16386 as_ac_File=`echo "ac_cv_file_${GJDOC}" | $as_tr_sh`
16387 echo "$as_me:$LINENO: checking for ${GJDOC}" >&5
16388 echo $ECHO_N "checking for ${GJDOC}... $ECHO_C" >&6
16389 if eval "test \"\${$as_ac_File+set}\" = set"; then
16390 echo $ECHO_N "(cached) $ECHO_C" >&6
16392 test "$cross_compiling" = yes &&
16393 { { echo "$as_me:$LINENO: error: cannot check for file existence when cross compiling" >&5
16394 echo "$as_me: error: cannot check for file existence when cross compiling" >&2;}
16395 { (exit 1); exit 1; }; }
16396 if test -r "${GJDOC}"; then
16397 eval "$as_ac_File=yes"
16399 eval "$as_ac_File=no"
16402 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_File'}'`" >&5
16403 echo "${ECHO_T}`eval echo '${'$as_ac_File'}'`" >&6
16404 if test `eval echo '${'$as_ac_File'}'` = yes; then
16407 { { echo "$as_me:$LINENO: error: \"Cannot use ${withval} as gjdoc executable since it doesn't exist\"" >&5
16408 echo "$as_me: error: \"Cannot use ${withval} as gjdoc executable since it doesn't exist\"" >&2;}
16409 { (exit 1); exit 1; }; }
16419 if test "x${WITH_GJDOC}" = xyes; then
16420 CREATE_API_DOCS_TRUE=
16421 CREATE_API_DOCS_FALSE='#'
16423 CREATE_API_DOCS_TRUE='#'
16424 CREATE_API_DOCS_FALSE=
16431 # Check whether --with-jay or --without-jay was given.
16432 if test "${with_jay+set}" = set; then
16433 withval="$with_jay"
16435 if test -d "${withval}"; then
16436 JAY_DIR_PATH="${withval}"
16437 # Extract the first word of "jay", so it can be a program name with args.
16438 set dummy jay; ac_word=$2
16439 echo "$as_me:$LINENO: checking for $ac_word" >&5
16440 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
16441 if test "${ac_cv_path_JAY+set}" = set; then
16442 echo $ECHO_N "(cached) $ECHO_C" >&6
16446 ac_cv_path_JAY="$JAY" # Let the user override the test with a path.
16449 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
16450 for as_dir in ${JAY_DIR_PATH}
16453 test -z "$as_dir" && as_dir=.
16454 for ac_exec_ext in '' $ac_executable_extensions; do
16455 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
16456 ac_cv_path_JAY="$as_dir/$ac_word$ac_exec_ext"
16457 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
16463 test -z "$ac_cv_path_JAY" && ac_cv_path_JAY=""no""
16467 JAY=$ac_cv_path_JAY
16469 if test -n "$JAY"; then
16470 echo "$as_me:$LINENO: result: $JAY" >&5
16471 echo "${ECHO_T}$JAY" >&6
16473 echo "$as_me:$LINENO: result: no" >&5
16474 echo "${ECHO_T}no" >&6
16477 if test "x${JAY}" = xno; then
16478 { { echo "$as_me:$LINENO: error: \"jay executable not found\"" >&5
16479 echo "$as_me: error: \"jay executable not found\"" >&2;}
16480 { (exit 1); exit 1; }; };
16483 JAY_DIR_PATH=`dirname "${withval}"`
16487 JAY_SKELETON="${JAY_DIR_PATH}/skeleton"
16488 as_ac_File=`echo "ac_cv_file_${JAY_SKELETON}" | $as_tr_sh`
16489 echo "$as_me:$LINENO: checking for ${JAY_SKELETON}" >&5
16490 echo $ECHO_N "checking for ${JAY_SKELETON}... $ECHO_C" >&6
16491 if eval "test \"\${$as_ac_File+set}\" = set"; then
16492 echo $ECHO_N "(cached) $ECHO_C" >&6
16494 test "$cross_compiling" = yes &&
16495 { { echo "$as_me:$LINENO: error: cannot check for file existence when cross compiling" >&5
16496 echo "$as_me: error: cannot check for file existence when cross compiling" >&2;}
16497 { (exit 1); exit 1; }; }
16498 if test -r "${JAY_SKELETON}"; then
16499 eval "$as_ac_File=yes"
16501 eval "$as_ac_File=no"
16504 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_File'}'`" >&5
16505 echo "${ECHO_T}`eval echo '${'$as_ac_File'}'`" >&6
16506 if test `eval echo '${'$as_ac_File'}'` = yes; then
16509 { { echo "$as_me:$LINENO: error: \"Expected skeleton file in \`dirname ${withval}\`\"" >&5
16510 echo "$as_me: error: \"Expected skeleton file in \`dirname ${withval}\`\"" >&2;}
16511 { (exit 1); exit 1; }; }
16523 if test "x${JAY_FOUND}" = xyes; then
16524 REGEN_PARSERS_TRUE=
16525 REGEN_PARSERS_FALSE='#'
16527 REGEN_PARSERS_TRUE='#'
16528 REGEN_PARSERS_FALSE=
16533 # Check whether --enable-portable-native-sync or --disable-portable-native-sync was given.
16534 if test "${enable_portable_native_sync+set}" = set; then
16535 enableval="$enable_portable_native_sync"
16536 case "${enableval}" in
16539 cat >>confdefs.h <<\_ACEOF
16540 #define PORTABLE_NATIVE_SYNC 1
16546 { { echo "$as_me:$LINENO: error: bad value ${enableval} for --enable-portable-native-sync" >&5
16547 echo "$as_me: error: bad value ${enableval} for --enable-portable-native-sync" >&2;}
16548 { (exit 1); exit 1; }; }
16553 # ------ AX CREATE STDINT H -------------------------------------
16554 echo "$as_me:$LINENO: checking for stdint types" >&5
16555 echo $ECHO_N "checking for stdint types... $ECHO_C" >&6
16556 ac_stdint_h=`echo include/config-int.h`
16557 # try to shortcircuit - if the default include path of the compiler
16558 # can find a "stdint.h" header then we assume that all compilers can.
16559 if test "${ac_cv_header_stdint_t+set}" = set; then
16560 echo $ECHO_N "(cached) $ECHO_C" >&6
16563 old_CXXFLAGS="$CXXFLAGS" ; CXXFLAGS=""
16564 old_CPPFLAGS="$CPPFLAGS" ; CPPFLAGS=""
16565 old_CFLAGS="$CFLAGS" ; CFLAGS=""
16566 cat >conftest.$ac_ext <<_ACEOF
16569 cat confdefs.h >>conftest.$ac_ext
16570 cat >>conftest.$ac_ext <<_ACEOF
16571 /* end confdefs.h. */
16572 #include <stdint.h>
16576 int_least32_t v = 0;
16581 rm -f conftest.$ac_objext
16582 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16583 (eval $ac_compile) 2>conftest.er1
16585 grep -v '^ *+' conftest.er1 >conftest.err
16587 cat conftest.err >&5
16588 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16589 (exit $ac_status); } &&
16590 { ac_try='test -z "$ac_c_werror_flag"
16591 || test ! -s conftest.err'
16592 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16593 (eval $ac_try) 2>&5
16595 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16596 (exit $ac_status); }; } &&
16597 { ac_try='test -s conftest.$ac_objext'
16598 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16599 (eval $ac_try) 2>&5
16601 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16602 (exit $ac_status); }; }; then
16603 ac_cv_stdint_result="(assuming C99 compatible system)"
16604 ac_cv_header_stdint_t="stdint.h";
16606 echo "$as_me: failed program was:" >&5
16607 sed 's/^/| /' conftest.$ac_ext >&5
16609 ac_cv_header_stdint_t=""
16611 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
16612 CXXFLAGS="$old_CXXFLAGS"
16613 CPPFLAGS="$old_CPPFLAGS"
16614 CFLAGS="$old_CFLAGS"
16618 v="... $ac_cv_header_stdint_h"
16619 if test "$ac_stdint_h" = "stdint.h" ; then
16620 echo "$as_me:$LINENO: result: (are you sure you want them in ./stdint.h?)" >&5
16621 echo "${ECHO_T}(are you sure you want them in ./stdint.h?)" >&6
16622 elif test "$ac_stdint_h" = "inttypes.h" ; then
16623 echo "$as_me:$LINENO: result: (are you sure you want them in ./inttypes.h?)" >&5
16624 echo "${ECHO_T}(are you sure you want them in ./inttypes.h?)" >&6
16625 elif test "_$ac_cv_header_stdint_t" = "_" ; then
16626 echo "$as_me:$LINENO: result: (putting them into $ac_stdint_h)$v" >&5
16627 echo "${ECHO_T}(putting them into $ac_stdint_h)$v" >&6
16629 ac_cv_header_stdint="$ac_cv_header_stdint_t"
16630 echo "$as_me:$LINENO: result: $ac_cv_header_stdint (shortcircuit)" >&5
16631 echo "${ECHO_T}$ac_cv_header_stdint (shortcircuit)" >&6
16634 if test "_$ac_cv_header_stdint_t" = "_" ; then # can not shortcircuit..
16637 inttype_headers=`echo | sed -e 's/,/ /g'`
16639 ac_cv_stdint_result="(no helpful system typedefs seen)"
16641 echo "$as_me:$LINENO: checking for stdint uintptr_t" >&5
16642 echo $ECHO_N "checking for stdint uintptr_t... $ECHO_C" >&6
16643 if test "${ac_cv_header_stdint_x+set}" = set; then
16644 echo $ECHO_N "(cached) $ECHO_C" >&6
16647 ac_cv_header_stdint_x="" # the 1997 typedefs (inttypes.h)
16648 echo "$as_me:$LINENO: result: (..)" >&5
16649 echo "${ECHO_T}(..)" >&6
16650 for i in stdint.h inttypes.h sys/inttypes.h $inttype_headers ; do
16651 unset ac_cv_type_uintptr_t
16652 unset ac_cv_type_uint64_t
16653 echo "$as_me:$LINENO: checking for uintptr_t" >&5
16654 echo $ECHO_N "checking for uintptr_t... $ECHO_C" >&6
16655 if test "${ac_cv_type_uintptr_t+set}" = set; then
16656 echo $ECHO_N "(cached) $ECHO_C" >&6
16658 cat >conftest.$ac_ext <<_ACEOF
16661 cat confdefs.h >>conftest.$ac_ext
16662 cat >>conftest.$ac_ext <<_ACEOF
16663 /* end confdefs.h. */
16669 if ((uintptr_t *) 0)
16671 if (sizeof (uintptr_t))
16677 rm -f conftest.$ac_objext
16678 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16679 (eval $ac_compile) 2>conftest.er1
16681 grep -v '^ *+' conftest.er1 >conftest.err
16683 cat conftest.err >&5
16684 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16685 (exit $ac_status); } &&
16686 { ac_try='test -z "$ac_c_werror_flag"
16687 || test ! -s conftest.err'
16688 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16689 (eval $ac_try) 2>&5
16691 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16692 (exit $ac_status); }; } &&
16693 { ac_try='test -s conftest.$ac_objext'
16694 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16695 (eval $ac_try) 2>&5
16697 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16698 (exit $ac_status); }; }; then
16699 ac_cv_type_uintptr_t=yes
16701 echo "$as_me: failed program was:" >&5
16702 sed 's/^/| /' conftest.$ac_ext >&5
16704 ac_cv_type_uintptr_t=no
16706 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
16708 echo "$as_me:$LINENO: result: $ac_cv_type_uintptr_t" >&5
16709 echo "${ECHO_T}$ac_cv_type_uintptr_t" >&6
16710 if test $ac_cv_type_uintptr_t = yes; then
16711 ac_cv_header_stdint_x=$i
16716 echo "$as_me:$LINENO: checking for uint64_t" >&5
16717 echo $ECHO_N "checking for uint64_t... $ECHO_C" >&6
16718 if test "${ac_cv_type_uint64_t+set}" = set; then
16719 echo $ECHO_N "(cached) $ECHO_C" >&6
16721 cat >conftest.$ac_ext <<_ACEOF
16724 cat confdefs.h >>conftest.$ac_ext
16725 cat >>conftest.$ac_ext <<_ACEOF
16726 /* end confdefs.h. */
16732 if ((uint64_t *) 0)
16734 if (sizeof (uint64_t))
16740 rm -f conftest.$ac_objext
16741 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16742 (eval $ac_compile) 2>conftest.er1
16744 grep -v '^ *+' conftest.er1 >conftest.err
16746 cat conftest.err >&5
16747 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16748 (exit $ac_status); } &&
16749 { ac_try='test -z "$ac_c_werror_flag"
16750 || test ! -s conftest.err'
16751 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16752 (eval $ac_try) 2>&5
16754 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16755 (exit $ac_status); }; } &&
16756 { ac_try='test -s conftest.$ac_objext'
16757 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16758 (eval $ac_try) 2>&5
16760 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16761 (exit $ac_status); }; }; then
16762 ac_cv_type_uint64_t=yes
16764 echo "$as_me: failed program was:" >&5
16765 sed 's/^/| /' conftest.$ac_ext >&5
16767 ac_cv_type_uint64_t=no
16769 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
16771 echo "$as_me:$LINENO: result: $ac_cv_type_uint64_t" >&5
16772 echo "${ECHO_T}$ac_cv_type_uint64_t" >&6
16773 if test $ac_cv_type_uint64_t = yes; then
16779 stdint.h inttypes.h sys/inttypes.h $inttype_headers
16782 echo "$as_me:$LINENO: checking for stdint uintptr_t" >&5
16783 echo $ECHO_N "checking for stdint uintptr_t... $ECHO_C" >&6
16786 echo "$as_me:$LINENO: result: $ac_cv_header_stdint_x" >&5
16787 echo "${ECHO_T}$ac_cv_header_stdint_x" >&6
16790 if test "_$ac_cv_header_stdint_x" = "_" ; then
16792 echo "$as_me:$LINENO: checking for stdint uint32_t" >&5
16793 echo $ECHO_N "checking for stdint uint32_t... $ECHO_C" >&6
16794 if test "${ac_cv_header_stdint_o+set}" = set; then
16795 echo $ECHO_N "(cached) $ECHO_C" >&6
16798 ac_cv_header_stdint_o="" # the 1995 typedefs (sys/inttypes.h)
16799 echo "$as_me:$LINENO: result: (..)" >&5
16800 echo "${ECHO_T}(..)" >&6
16801 for i in inttypes.h sys/inttypes.h stdint.h $inttype_headers ; do
16802 unset ac_cv_type_uint32_t
16803 unset ac_cv_type_uint64_t
16804 echo "$as_me:$LINENO: checking for uint32_t" >&5
16805 echo $ECHO_N "checking for uint32_t... $ECHO_C" >&6
16806 if test "${ac_cv_type_uint32_t+set}" = set; then
16807 echo $ECHO_N "(cached) $ECHO_C" >&6
16809 cat >conftest.$ac_ext <<_ACEOF
16812 cat confdefs.h >>conftest.$ac_ext
16813 cat >>conftest.$ac_ext <<_ACEOF
16814 /* end confdefs.h. */
16820 if ((uint32_t *) 0)
16822 if (sizeof (uint32_t))
16828 rm -f conftest.$ac_objext
16829 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16830 (eval $ac_compile) 2>conftest.er1
16832 grep -v '^ *+' conftest.er1 >conftest.err
16834 cat conftest.err >&5
16835 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16836 (exit $ac_status); } &&
16837 { ac_try='test -z "$ac_c_werror_flag"
16838 || test ! -s conftest.err'
16839 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16840 (eval $ac_try) 2>&5
16842 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16843 (exit $ac_status); }; } &&
16844 { ac_try='test -s conftest.$ac_objext'
16845 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16846 (eval $ac_try) 2>&5
16848 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16849 (exit $ac_status); }; }; then
16850 ac_cv_type_uint32_t=yes
16852 echo "$as_me: failed program was:" >&5
16853 sed 's/^/| /' conftest.$ac_ext >&5
16855 ac_cv_type_uint32_t=no
16857 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
16859 echo "$as_me:$LINENO: result: $ac_cv_type_uint32_t" >&5
16860 echo "${ECHO_T}$ac_cv_type_uint32_t" >&6
16861 if test $ac_cv_type_uint32_t = yes; then
16862 ac_cv_header_stdint_o=$i
16867 echo "$as_me:$LINENO: checking for uint64_t" >&5
16868 echo $ECHO_N "checking for uint64_t... $ECHO_C" >&6
16869 if test "${ac_cv_type_uint64_t+set}" = set; then
16870 echo $ECHO_N "(cached) $ECHO_C" >&6
16872 cat >conftest.$ac_ext <<_ACEOF
16875 cat confdefs.h >>conftest.$ac_ext
16876 cat >>conftest.$ac_ext <<_ACEOF
16877 /* end confdefs.h. */
16883 if ((uint64_t *) 0)
16885 if (sizeof (uint64_t))
16891 rm -f conftest.$ac_objext
16892 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16893 (eval $ac_compile) 2>conftest.er1
16895 grep -v '^ *+' conftest.er1 >conftest.err
16897 cat conftest.err >&5
16898 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16899 (exit $ac_status); } &&
16900 { ac_try='test -z "$ac_c_werror_flag"
16901 || test ! -s conftest.err'
16902 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16903 (eval $ac_try) 2>&5
16905 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16906 (exit $ac_status); }; } &&
16907 { ac_try='test -s conftest.$ac_objext'
16908 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16909 (eval $ac_try) 2>&5
16911 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16912 (exit $ac_status); }; }; then
16913 ac_cv_type_uint64_t=yes
16915 echo "$as_me: failed program was:" >&5
16916 sed 's/^/| /' conftest.$ac_ext >&5
16918 ac_cv_type_uint64_t=no
16920 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
16922 echo "$as_me:$LINENO: result: $ac_cv_type_uint64_t" >&5
16923 echo "${ECHO_T}$ac_cv_type_uint64_t" >&6
16924 if test $ac_cv_type_uint64_t = yes; then
16930 inttypes.h sys/inttypes.h stdint.h $inttype_headers
16934 echo "$as_me:$LINENO: checking for stdint uint32_t" >&5
16935 echo $ECHO_N "checking for stdint uint32_t... $ECHO_C" >&6
16938 echo "$as_me:$LINENO: result: $ac_cv_header_stdint_o" >&5
16939 echo "${ECHO_T}$ac_cv_header_stdint_o" >&6
16943 if test "_$ac_cv_header_stdint_x" = "_" ; then
16944 if test "_$ac_cv_header_stdint_o" = "_" ; then
16946 echo "$as_me:$LINENO: checking for stdint u_int32_t" >&5
16947 echo $ECHO_N "checking for stdint u_int32_t... $ECHO_C" >&6
16948 if test "${ac_cv_header_stdint_u+set}" = set; then
16949 echo $ECHO_N "(cached) $ECHO_C" >&6
16952 ac_cv_header_stdint_u="" # the BSD typedefs (sys/types.h)
16953 echo "$as_me:$LINENO: result: (..)" >&5
16954 echo "${ECHO_T}(..)" >&6
16955 for i in sys/types.h inttypes.h sys/inttypes.h $inttype_headers ; do
16956 unset ac_cv_type_u_int32_t
16957 unset ac_cv_type_u_int64_t
16958 echo "$as_me:$LINENO: checking for u_int32_t" >&5
16959 echo $ECHO_N "checking for u_int32_t... $ECHO_C" >&6
16960 if test "${ac_cv_type_u_int32_t+set}" = set; then
16961 echo $ECHO_N "(cached) $ECHO_C" >&6
16963 cat >conftest.$ac_ext <<_ACEOF
16966 cat confdefs.h >>conftest.$ac_ext
16967 cat >>conftest.$ac_ext <<_ACEOF
16968 /* end confdefs.h. */
16974 if ((u_int32_t *) 0)
16976 if (sizeof (u_int32_t))
16982 rm -f conftest.$ac_objext
16983 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16984 (eval $ac_compile) 2>conftest.er1
16986 grep -v '^ *+' conftest.er1 >conftest.err
16988 cat conftest.err >&5
16989 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16990 (exit $ac_status); } &&
16991 { ac_try='test -z "$ac_c_werror_flag"
16992 || test ! -s conftest.err'
16993 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16994 (eval $ac_try) 2>&5
16996 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16997 (exit $ac_status); }; } &&
16998 { ac_try='test -s conftest.$ac_objext'
16999 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17000 (eval $ac_try) 2>&5
17002 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17003 (exit $ac_status); }; }; then
17004 ac_cv_type_u_int32_t=yes
17006 echo "$as_me: failed program was:" >&5
17007 sed 's/^/| /' conftest.$ac_ext >&5
17009 ac_cv_type_u_int32_t=no
17011 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
17013 echo "$as_me:$LINENO: result: $ac_cv_type_u_int32_t" >&5
17014 echo "${ECHO_T}$ac_cv_type_u_int32_t" >&6
17015 if test $ac_cv_type_u_int32_t = yes; then
17016 ac_cv_header_stdint_u=$i
17021 echo "$as_me:$LINENO: checking for u_int64_t" >&5
17022 echo $ECHO_N "checking for u_int64_t... $ECHO_C" >&6
17023 if test "${ac_cv_type_u_int64_t+set}" = set; then
17024 echo $ECHO_N "(cached) $ECHO_C" >&6
17026 cat >conftest.$ac_ext <<_ACEOF
17029 cat confdefs.h >>conftest.$ac_ext
17030 cat >>conftest.$ac_ext <<_ACEOF
17031 /* end confdefs.h. */
17037 if ((u_int64_t *) 0)
17039 if (sizeof (u_int64_t))
17045 rm -f conftest.$ac_objext
17046 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17047 (eval $ac_compile) 2>conftest.er1
17049 grep -v '^ *+' conftest.er1 >conftest.err
17051 cat conftest.err >&5
17052 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17053 (exit $ac_status); } &&
17054 { ac_try='test -z "$ac_c_werror_flag"
17055 || test ! -s conftest.err'
17056 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17057 (eval $ac_try) 2>&5
17059 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17060 (exit $ac_status); }; } &&
17061 { ac_try='test -s conftest.$ac_objext'
17062 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17063 (eval $ac_try) 2>&5
17065 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17066 (exit $ac_status); }; }; then
17067 ac_cv_type_u_int64_t=yes
17069 echo "$as_me: failed program was:" >&5
17070 sed 's/^/| /' conftest.$ac_ext >&5
17072 ac_cv_type_u_int64_t=no
17074 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
17076 echo "$as_me:$LINENO: result: $ac_cv_type_u_int64_t" >&5
17077 echo "${ECHO_T}$ac_cv_type_u_int64_t" >&6
17078 if test $ac_cv_type_u_int64_t = yes; then
17084 sys/types.h inttypes.h sys/inttypes.h $inttype_headers
17088 echo "$as_me:$LINENO: checking for stdint u_int32_t" >&5
17089 echo $ECHO_N "checking for stdint u_int32_t... $ECHO_C" >&6
17092 echo "$as_me:$LINENO: result: $ac_cv_header_stdint_u" >&5
17093 echo "${ECHO_T}$ac_cv_header_stdint_u" >&6
17097 if test "_$ac_cv_header_stdint_x" = "_" ; then
17098 echo "$as_me:$LINENO: checking for stdint datatype model" >&5
17099 echo $ECHO_N "checking for stdint datatype model... $ECHO_C" >&6
17100 echo "$as_me:$LINENO: result: (..)" >&5
17101 echo "${ECHO_T}(..)" >&6
17103 echo "$as_me:$LINENO: checking for char" >&5
17104 echo $ECHO_N "checking for char... $ECHO_C" >&6
17105 if test "${ac_cv_type_char+set}" = set; then
17106 echo $ECHO_N "(cached) $ECHO_C" >&6
17108 cat >conftest.$ac_ext <<_ACEOF
17111 cat confdefs.h >>conftest.$ac_ext
17112 cat >>conftest.$ac_ext <<_ACEOF
17113 /* end confdefs.h. */
17114 $ac_includes_default
17126 rm -f conftest.$ac_objext
17127 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17128 (eval $ac_compile) 2>conftest.er1
17130 grep -v '^ *+' conftest.er1 >conftest.err
17132 cat conftest.err >&5
17133 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17134 (exit $ac_status); } &&
17135 { ac_try='test -z "$ac_c_werror_flag"
17136 || test ! -s conftest.err'
17137 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17138 (eval $ac_try) 2>&5
17140 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17141 (exit $ac_status); }; } &&
17142 { ac_try='test -s conftest.$ac_objext'
17143 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17144 (eval $ac_try) 2>&5
17146 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17147 (exit $ac_status); }; }; then
17148 ac_cv_type_char=yes
17150 echo "$as_me: failed program was:" >&5
17151 sed 's/^/| /' conftest.$ac_ext >&5
17155 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
17157 echo "$as_me:$LINENO: result: $ac_cv_type_char" >&5
17158 echo "${ECHO_T}$ac_cv_type_char" >&6
17160 echo "$as_me:$LINENO: checking size of char" >&5
17161 echo $ECHO_N "checking size of char... $ECHO_C" >&6
17162 if test "${ac_cv_sizeof_char+set}" = set; then
17163 echo $ECHO_N "(cached) $ECHO_C" >&6
17165 if test "$ac_cv_type_char" = yes; then
17166 # The cast to unsigned long works around a bug in the HP C Compiler
17167 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
17168 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
17169 # This bug is HP SR number 8606223364.
17170 if test "$cross_compiling" = yes; then
17171 # Depending upon the size, compute the lo and hi bounds.
17172 cat >conftest.$ac_ext <<_ACEOF
17175 cat confdefs.h >>conftest.$ac_ext
17176 cat >>conftest.$ac_ext <<_ACEOF
17177 /* end confdefs.h. */
17178 $ac_includes_default
17182 static int test_array [1 - 2 * !(((long) (sizeof (char))) >= 0)];
17189 rm -f conftest.$ac_objext
17190 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17191 (eval $ac_compile) 2>conftest.er1
17193 grep -v '^ *+' conftest.er1 >conftest.err
17195 cat conftest.err >&5
17196 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17197 (exit $ac_status); } &&
17198 { ac_try='test -z "$ac_c_werror_flag"
17199 || test ! -s conftest.err'
17200 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17201 (eval $ac_try) 2>&5
17203 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17204 (exit $ac_status); }; } &&
17205 { ac_try='test -s conftest.$ac_objext'
17206 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17207 (eval $ac_try) 2>&5
17209 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17210 (exit $ac_status); }; }; then
17213 cat >conftest.$ac_ext <<_ACEOF
17216 cat confdefs.h >>conftest.$ac_ext
17217 cat >>conftest.$ac_ext <<_ACEOF
17218 /* end confdefs.h. */
17219 $ac_includes_default
17223 static int test_array [1 - 2 * !(((long) (sizeof (char))) <= $ac_mid)];
17230 rm -f conftest.$ac_objext
17231 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17232 (eval $ac_compile) 2>conftest.er1
17234 grep -v '^ *+' conftest.er1 >conftest.err
17236 cat conftest.err >&5
17237 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17238 (exit $ac_status); } &&
17239 { ac_try='test -z "$ac_c_werror_flag"
17240 || test ! -s conftest.err'
17241 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17242 (eval $ac_try) 2>&5
17244 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17245 (exit $ac_status); }; } &&
17246 { ac_try='test -s conftest.$ac_objext'
17247 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17248 (eval $ac_try) 2>&5
17250 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17251 (exit $ac_status); }; }; then
17252 ac_hi=$ac_mid; break
17254 echo "$as_me: failed program was:" >&5
17255 sed 's/^/| /' conftest.$ac_ext >&5
17257 ac_lo=`expr $ac_mid + 1`
17258 if test $ac_lo -le $ac_mid; then
17262 ac_mid=`expr 2 '*' $ac_mid + 1`
17264 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
17267 echo "$as_me: failed program was:" >&5
17268 sed 's/^/| /' conftest.$ac_ext >&5
17270 cat >conftest.$ac_ext <<_ACEOF
17273 cat confdefs.h >>conftest.$ac_ext
17274 cat >>conftest.$ac_ext <<_ACEOF
17275 /* end confdefs.h. */
17276 $ac_includes_default
17280 static int test_array [1 - 2 * !(((long) (sizeof (char))) < 0)];
17287 rm -f conftest.$ac_objext
17288 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17289 (eval $ac_compile) 2>conftest.er1
17291 grep -v '^ *+' conftest.er1 >conftest.err
17293 cat conftest.err >&5
17294 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17295 (exit $ac_status); } &&
17296 { ac_try='test -z "$ac_c_werror_flag"
17297 || test ! -s conftest.err'
17298 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17299 (eval $ac_try) 2>&5
17301 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17302 (exit $ac_status); }; } &&
17303 { ac_try='test -s conftest.$ac_objext'
17304 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17305 (eval $ac_try) 2>&5
17307 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17308 (exit $ac_status); }; }; then
17311 cat >conftest.$ac_ext <<_ACEOF
17314 cat confdefs.h >>conftest.$ac_ext
17315 cat >>conftest.$ac_ext <<_ACEOF
17316 /* end confdefs.h. */
17317 $ac_includes_default
17321 static int test_array [1 - 2 * !(((long) (sizeof (char))) >= $ac_mid)];
17328 rm -f conftest.$ac_objext
17329 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17330 (eval $ac_compile) 2>conftest.er1
17332 grep -v '^ *+' conftest.er1 >conftest.err
17334 cat conftest.err >&5
17335 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17336 (exit $ac_status); } &&
17337 { ac_try='test -z "$ac_c_werror_flag"
17338 || test ! -s conftest.err'
17339 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17340 (eval $ac_try) 2>&5
17342 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17343 (exit $ac_status); }; } &&
17344 { ac_try='test -s conftest.$ac_objext'
17345 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17346 (eval $ac_try) 2>&5
17348 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17349 (exit $ac_status); }; }; then
17350 ac_lo=$ac_mid; break
17352 echo "$as_me: failed program was:" >&5
17353 sed 's/^/| /' conftest.$ac_ext >&5
17355 ac_hi=`expr '(' $ac_mid ')' - 1`
17356 if test $ac_mid -le $ac_hi; then
17360 ac_mid=`expr 2 '*' $ac_mid`
17362 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
17365 echo "$as_me: failed program was:" >&5
17366 sed 's/^/| /' conftest.$ac_ext >&5
17370 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
17372 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
17373 # Binary search between lo and hi bounds.
17374 while test "x$ac_lo" != "x$ac_hi"; do
17375 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
17376 cat >conftest.$ac_ext <<_ACEOF
17379 cat confdefs.h >>conftest.$ac_ext
17380 cat >>conftest.$ac_ext <<_ACEOF
17381 /* end confdefs.h. */
17382 $ac_includes_default
17386 static int test_array [1 - 2 * !(((long) (sizeof (char))) <= $ac_mid)];
17393 rm -f conftest.$ac_objext
17394 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17395 (eval $ac_compile) 2>conftest.er1
17397 grep -v '^ *+' conftest.er1 >conftest.err
17399 cat conftest.err >&5
17400 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17401 (exit $ac_status); } &&
17402 { ac_try='test -z "$ac_c_werror_flag"
17403 || test ! -s conftest.err'
17404 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17405 (eval $ac_try) 2>&5
17407 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17408 (exit $ac_status); }; } &&
17409 { ac_try='test -s conftest.$ac_objext'
17410 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17411 (eval $ac_try) 2>&5
17413 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17414 (exit $ac_status); }; }; then
17417 echo "$as_me: failed program was:" >&5
17418 sed 's/^/| /' conftest.$ac_ext >&5
17420 ac_lo=`expr '(' $ac_mid ')' + 1`
17422 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
17425 ?*) ac_cv_sizeof_char=$ac_lo;;
17426 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (char), 77
17427 See \`config.log' for more details." >&5
17428 echo "$as_me: error: cannot compute sizeof (char), 77
17429 See \`config.log' for more details." >&2;}
17430 { (exit 1); exit 1; }; } ;;
17433 if test "$cross_compiling" = yes; then
17434 { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
17435 See \`config.log' for more details." >&5
17436 echo "$as_me: error: cannot run test program while cross compiling
17437 See \`config.log' for more details." >&2;}
17438 { (exit 1); exit 1; }; }
17440 cat >conftest.$ac_ext <<_ACEOF
17443 cat confdefs.h >>conftest.$ac_ext
17444 cat >>conftest.$ac_ext <<_ACEOF
17445 /* end confdefs.h. */
17446 $ac_includes_default
17447 long longval () { return (long) (sizeof (char)); }
17448 unsigned long ulongval () { return (long) (sizeof (char)); }
17450 #include <stdlib.h>
17455 FILE *f = fopen ("conftest.val", "w");
17458 if (((long) (sizeof (char))) < 0)
17460 long i = longval ();
17461 if (i != ((long) (sizeof (char))))
17463 fprintf (f, "%ld\n", i);
17467 unsigned long i = ulongval ();
17468 if (i != ((long) (sizeof (char))))
17470 fprintf (f, "%lu\n", i);
17472 exit (ferror (f) || fclose (f) != 0);
17478 rm -f conftest$ac_exeext
17479 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
17480 (eval $ac_link) 2>&5
17482 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17483 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
17484 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17485 (eval $ac_try) 2>&5
17487 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17488 (exit $ac_status); }; }; then
17489 ac_cv_sizeof_char=`cat conftest.val`
17491 echo "$as_me: program exited with status $ac_status" >&5
17492 echo "$as_me: failed program was:" >&5
17493 sed 's/^/| /' conftest.$ac_ext >&5
17495 ( exit $ac_status )
17496 { { echo "$as_me:$LINENO: error: cannot compute sizeof (char), 77
17497 See \`config.log' for more details." >&5
17498 echo "$as_me: error: cannot compute sizeof (char), 77
17499 See \`config.log' for more details." >&2;}
17500 { (exit 1); exit 1; }; }
17502 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
17507 ac_cv_sizeof_char=0
17510 echo "$as_me:$LINENO: result: $ac_cv_sizeof_char" >&5
17511 echo "${ECHO_T}$ac_cv_sizeof_char" >&6
17512 cat >>confdefs.h <<_ACEOF
17513 #define SIZEOF_CHAR $ac_cv_sizeof_char
17517 echo "$as_me:$LINENO: checking for short" >&5
17518 echo $ECHO_N "checking for short... $ECHO_C" >&6
17519 if test "${ac_cv_type_short+set}" = set; then
17520 echo $ECHO_N "(cached) $ECHO_C" >&6
17522 cat >conftest.$ac_ext <<_ACEOF
17525 cat confdefs.h >>conftest.$ac_ext
17526 cat >>conftest.$ac_ext <<_ACEOF
17527 /* end confdefs.h. */
17528 $ac_includes_default
17534 if (sizeof (short))
17540 rm -f conftest.$ac_objext
17541 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17542 (eval $ac_compile) 2>conftest.er1
17544 grep -v '^ *+' conftest.er1 >conftest.err
17546 cat conftest.err >&5
17547 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17548 (exit $ac_status); } &&
17549 { ac_try='test -z "$ac_c_werror_flag"
17550 || test ! -s conftest.err'
17551 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17552 (eval $ac_try) 2>&5
17554 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17555 (exit $ac_status); }; } &&
17556 { ac_try='test -s conftest.$ac_objext'
17557 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17558 (eval $ac_try) 2>&5
17560 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17561 (exit $ac_status); }; }; then
17562 ac_cv_type_short=yes
17564 echo "$as_me: failed program was:" >&5
17565 sed 's/^/| /' conftest.$ac_ext >&5
17567 ac_cv_type_short=no
17569 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
17571 echo "$as_me:$LINENO: result: $ac_cv_type_short" >&5
17572 echo "${ECHO_T}$ac_cv_type_short" >&6
17574 echo "$as_me:$LINENO: checking size of short" >&5
17575 echo $ECHO_N "checking size of short... $ECHO_C" >&6
17576 if test "${ac_cv_sizeof_short+set}" = set; then
17577 echo $ECHO_N "(cached) $ECHO_C" >&6
17579 if test "$ac_cv_type_short" = yes; then
17580 # The cast to unsigned long works around a bug in the HP C Compiler
17581 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
17582 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
17583 # This bug is HP SR number 8606223364.
17584 if test "$cross_compiling" = yes; then
17585 # Depending upon the size, compute the lo and hi bounds.
17586 cat >conftest.$ac_ext <<_ACEOF
17589 cat confdefs.h >>conftest.$ac_ext
17590 cat >>conftest.$ac_ext <<_ACEOF
17591 /* end confdefs.h. */
17592 $ac_includes_default
17596 static int test_array [1 - 2 * !(((long) (sizeof (short))) >= 0)];
17603 rm -f conftest.$ac_objext
17604 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17605 (eval $ac_compile) 2>conftest.er1
17607 grep -v '^ *+' conftest.er1 >conftest.err
17609 cat conftest.err >&5
17610 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17611 (exit $ac_status); } &&
17612 { ac_try='test -z "$ac_c_werror_flag"
17613 || test ! -s conftest.err'
17614 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17615 (eval $ac_try) 2>&5
17617 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17618 (exit $ac_status); }; } &&
17619 { ac_try='test -s conftest.$ac_objext'
17620 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17621 (eval $ac_try) 2>&5
17623 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17624 (exit $ac_status); }; }; then
17627 cat >conftest.$ac_ext <<_ACEOF
17630 cat confdefs.h >>conftest.$ac_ext
17631 cat >>conftest.$ac_ext <<_ACEOF
17632 /* end confdefs.h. */
17633 $ac_includes_default
17637 static int test_array [1 - 2 * !(((long) (sizeof (short))) <= $ac_mid)];
17644 rm -f conftest.$ac_objext
17645 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17646 (eval $ac_compile) 2>conftest.er1
17648 grep -v '^ *+' conftest.er1 >conftest.err
17650 cat conftest.err >&5
17651 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17652 (exit $ac_status); } &&
17653 { ac_try='test -z "$ac_c_werror_flag"
17654 || test ! -s conftest.err'
17655 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17656 (eval $ac_try) 2>&5
17658 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17659 (exit $ac_status); }; } &&
17660 { ac_try='test -s conftest.$ac_objext'
17661 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17662 (eval $ac_try) 2>&5
17664 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17665 (exit $ac_status); }; }; then
17666 ac_hi=$ac_mid; break
17668 echo "$as_me: failed program was:" >&5
17669 sed 's/^/| /' conftest.$ac_ext >&5
17671 ac_lo=`expr $ac_mid + 1`
17672 if test $ac_lo -le $ac_mid; then
17676 ac_mid=`expr 2 '*' $ac_mid + 1`
17678 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
17681 echo "$as_me: failed program was:" >&5
17682 sed 's/^/| /' conftest.$ac_ext >&5
17684 cat >conftest.$ac_ext <<_ACEOF
17687 cat confdefs.h >>conftest.$ac_ext
17688 cat >>conftest.$ac_ext <<_ACEOF
17689 /* end confdefs.h. */
17690 $ac_includes_default
17694 static int test_array [1 - 2 * !(((long) (sizeof (short))) < 0)];
17701 rm -f conftest.$ac_objext
17702 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17703 (eval $ac_compile) 2>conftest.er1
17705 grep -v '^ *+' conftest.er1 >conftest.err
17707 cat conftest.err >&5
17708 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17709 (exit $ac_status); } &&
17710 { ac_try='test -z "$ac_c_werror_flag"
17711 || test ! -s conftest.err'
17712 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17713 (eval $ac_try) 2>&5
17715 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17716 (exit $ac_status); }; } &&
17717 { ac_try='test -s conftest.$ac_objext'
17718 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17719 (eval $ac_try) 2>&5
17721 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17722 (exit $ac_status); }; }; then
17725 cat >conftest.$ac_ext <<_ACEOF
17728 cat confdefs.h >>conftest.$ac_ext
17729 cat >>conftest.$ac_ext <<_ACEOF
17730 /* end confdefs.h. */
17731 $ac_includes_default
17735 static int test_array [1 - 2 * !(((long) (sizeof (short))) >= $ac_mid)];
17742 rm -f conftest.$ac_objext
17743 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17744 (eval $ac_compile) 2>conftest.er1
17746 grep -v '^ *+' conftest.er1 >conftest.err
17748 cat conftest.err >&5
17749 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17750 (exit $ac_status); } &&
17751 { ac_try='test -z "$ac_c_werror_flag"
17752 || test ! -s conftest.err'
17753 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17754 (eval $ac_try) 2>&5
17756 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17757 (exit $ac_status); }; } &&
17758 { ac_try='test -s conftest.$ac_objext'
17759 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17760 (eval $ac_try) 2>&5
17762 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17763 (exit $ac_status); }; }; then
17764 ac_lo=$ac_mid; break
17766 echo "$as_me: failed program was:" >&5
17767 sed 's/^/| /' conftest.$ac_ext >&5
17769 ac_hi=`expr '(' $ac_mid ')' - 1`
17770 if test $ac_mid -le $ac_hi; then
17774 ac_mid=`expr 2 '*' $ac_mid`
17776 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
17779 echo "$as_me: failed program was:" >&5
17780 sed 's/^/| /' conftest.$ac_ext >&5
17784 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
17786 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
17787 # Binary search between lo and hi bounds.
17788 while test "x$ac_lo" != "x$ac_hi"; do
17789 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
17790 cat >conftest.$ac_ext <<_ACEOF
17793 cat confdefs.h >>conftest.$ac_ext
17794 cat >>conftest.$ac_ext <<_ACEOF
17795 /* end confdefs.h. */
17796 $ac_includes_default
17800 static int test_array [1 - 2 * !(((long) (sizeof (short))) <= $ac_mid)];
17807 rm -f conftest.$ac_objext
17808 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17809 (eval $ac_compile) 2>conftest.er1
17811 grep -v '^ *+' conftest.er1 >conftest.err
17813 cat conftest.err >&5
17814 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17815 (exit $ac_status); } &&
17816 { ac_try='test -z "$ac_c_werror_flag"
17817 || test ! -s conftest.err'
17818 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17819 (eval $ac_try) 2>&5
17821 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17822 (exit $ac_status); }; } &&
17823 { ac_try='test -s conftest.$ac_objext'
17824 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17825 (eval $ac_try) 2>&5
17827 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17828 (exit $ac_status); }; }; then
17831 echo "$as_me: failed program was:" >&5
17832 sed 's/^/| /' conftest.$ac_ext >&5
17834 ac_lo=`expr '(' $ac_mid ')' + 1`
17836 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
17839 ?*) ac_cv_sizeof_short=$ac_lo;;
17840 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (short), 77
17841 See \`config.log' for more details." >&5
17842 echo "$as_me: error: cannot compute sizeof (short), 77
17843 See \`config.log' for more details." >&2;}
17844 { (exit 1); exit 1; }; } ;;
17847 if test "$cross_compiling" = yes; then
17848 { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
17849 See \`config.log' for more details." >&5
17850 echo "$as_me: error: cannot run test program while cross compiling
17851 See \`config.log' for more details." >&2;}
17852 { (exit 1); exit 1; }; }
17854 cat >conftest.$ac_ext <<_ACEOF
17857 cat confdefs.h >>conftest.$ac_ext
17858 cat >>conftest.$ac_ext <<_ACEOF
17859 /* end confdefs.h. */
17860 $ac_includes_default
17861 long longval () { return (long) (sizeof (short)); }
17862 unsigned long ulongval () { return (long) (sizeof (short)); }
17864 #include <stdlib.h>
17869 FILE *f = fopen ("conftest.val", "w");
17872 if (((long) (sizeof (short))) < 0)
17874 long i = longval ();
17875 if (i != ((long) (sizeof (short))))
17877 fprintf (f, "%ld\n", i);
17881 unsigned long i = ulongval ();
17882 if (i != ((long) (sizeof (short))))
17884 fprintf (f, "%lu\n", i);
17886 exit (ferror (f) || fclose (f) != 0);
17892 rm -f conftest$ac_exeext
17893 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
17894 (eval $ac_link) 2>&5
17896 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17897 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
17898 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17899 (eval $ac_try) 2>&5
17901 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17902 (exit $ac_status); }; }; then
17903 ac_cv_sizeof_short=`cat conftest.val`
17905 echo "$as_me: program exited with status $ac_status" >&5
17906 echo "$as_me: failed program was:" >&5
17907 sed 's/^/| /' conftest.$ac_ext >&5
17909 ( exit $ac_status )
17910 { { echo "$as_me:$LINENO: error: cannot compute sizeof (short), 77
17911 See \`config.log' for more details." >&5
17912 echo "$as_me: error: cannot compute sizeof (short), 77
17913 See \`config.log' for more details." >&2;}
17914 { (exit 1); exit 1; }; }
17916 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
17921 ac_cv_sizeof_short=0
17924 echo "$as_me:$LINENO: result: $ac_cv_sizeof_short" >&5
17925 echo "${ECHO_T}$ac_cv_sizeof_short" >&6
17926 cat >>confdefs.h <<_ACEOF
17927 #define SIZEOF_SHORT $ac_cv_sizeof_short
17931 echo "$as_me:$LINENO: checking for int" >&5
17932 echo $ECHO_N "checking for int... $ECHO_C" >&6
17933 if test "${ac_cv_type_int+set}" = set; then
17934 echo $ECHO_N "(cached) $ECHO_C" >&6
17936 cat >conftest.$ac_ext <<_ACEOF
17939 cat confdefs.h >>conftest.$ac_ext
17940 cat >>conftest.$ac_ext <<_ACEOF
17941 /* end confdefs.h. */
17942 $ac_includes_default
17954 rm -f conftest.$ac_objext
17955 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17956 (eval $ac_compile) 2>conftest.er1
17958 grep -v '^ *+' conftest.er1 >conftest.err
17960 cat conftest.err >&5
17961 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17962 (exit $ac_status); } &&
17963 { ac_try='test -z "$ac_c_werror_flag"
17964 || test ! -s conftest.err'
17965 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17966 (eval $ac_try) 2>&5
17968 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17969 (exit $ac_status); }; } &&
17970 { ac_try='test -s conftest.$ac_objext'
17971 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17972 (eval $ac_try) 2>&5
17974 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17975 (exit $ac_status); }; }; then
17978 echo "$as_me: failed program was:" >&5
17979 sed 's/^/| /' conftest.$ac_ext >&5
17983 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
17985 echo "$as_me:$LINENO: result: $ac_cv_type_int" >&5
17986 echo "${ECHO_T}$ac_cv_type_int" >&6
17988 echo "$as_me:$LINENO: checking size of int" >&5
17989 echo $ECHO_N "checking size of int... $ECHO_C" >&6
17990 if test "${ac_cv_sizeof_int+set}" = set; then
17991 echo $ECHO_N "(cached) $ECHO_C" >&6
17993 if test "$ac_cv_type_int" = yes; then
17994 # The cast to unsigned long works around a bug in the HP C Compiler
17995 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
17996 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
17997 # This bug is HP SR number 8606223364.
17998 if test "$cross_compiling" = yes; then
17999 # Depending upon the size, compute the lo and hi bounds.
18000 cat >conftest.$ac_ext <<_ACEOF
18003 cat confdefs.h >>conftest.$ac_ext
18004 cat >>conftest.$ac_ext <<_ACEOF
18005 /* end confdefs.h. */
18006 $ac_includes_default
18010 static int test_array [1 - 2 * !(((long) (sizeof (int))) >= 0)];
18017 rm -f conftest.$ac_objext
18018 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18019 (eval $ac_compile) 2>conftest.er1
18021 grep -v '^ *+' conftest.er1 >conftest.err
18023 cat conftest.err >&5
18024 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18025 (exit $ac_status); } &&
18026 { ac_try='test -z "$ac_c_werror_flag"
18027 || test ! -s conftest.err'
18028 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18029 (eval $ac_try) 2>&5
18031 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18032 (exit $ac_status); }; } &&
18033 { ac_try='test -s conftest.$ac_objext'
18034 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18035 (eval $ac_try) 2>&5
18037 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18038 (exit $ac_status); }; }; then
18041 cat >conftest.$ac_ext <<_ACEOF
18044 cat confdefs.h >>conftest.$ac_ext
18045 cat >>conftest.$ac_ext <<_ACEOF
18046 /* end confdefs.h. */
18047 $ac_includes_default
18051 static int test_array [1 - 2 * !(((long) (sizeof (int))) <= $ac_mid)];
18058 rm -f conftest.$ac_objext
18059 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18060 (eval $ac_compile) 2>conftest.er1
18062 grep -v '^ *+' conftest.er1 >conftest.err
18064 cat conftest.err >&5
18065 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18066 (exit $ac_status); } &&
18067 { ac_try='test -z "$ac_c_werror_flag"
18068 || test ! -s conftest.err'
18069 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18070 (eval $ac_try) 2>&5
18072 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18073 (exit $ac_status); }; } &&
18074 { ac_try='test -s conftest.$ac_objext'
18075 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18076 (eval $ac_try) 2>&5
18078 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18079 (exit $ac_status); }; }; then
18080 ac_hi=$ac_mid; break
18082 echo "$as_me: failed program was:" >&5
18083 sed 's/^/| /' conftest.$ac_ext >&5
18085 ac_lo=`expr $ac_mid + 1`
18086 if test $ac_lo -le $ac_mid; then
18090 ac_mid=`expr 2 '*' $ac_mid + 1`
18092 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
18095 echo "$as_me: failed program was:" >&5
18096 sed 's/^/| /' conftest.$ac_ext >&5
18098 cat >conftest.$ac_ext <<_ACEOF
18101 cat confdefs.h >>conftest.$ac_ext
18102 cat >>conftest.$ac_ext <<_ACEOF
18103 /* end confdefs.h. */
18104 $ac_includes_default
18108 static int test_array [1 - 2 * !(((long) (sizeof (int))) < 0)];
18115 rm -f conftest.$ac_objext
18116 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18117 (eval $ac_compile) 2>conftest.er1
18119 grep -v '^ *+' conftest.er1 >conftest.err
18121 cat conftest.err >&5
18122 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18123 (exit $ac_status); } &&
18124 { ac_try='test -z "$ac_c_werror_flag"
18125 || test ! -s conftest.err'
18126 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18127 (eval $ac_try) 2>&5
18129 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18130 (exit $ac_status); }; } &&
18131 { ac_try='test -s conftest.$ac_objext'
18132 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18133 (eval $ac_try) 2>&5
18135 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18136 (exit $ac_status); }; }; then
18139 cat >conftest.$ac_ext <<_ACEOF
18142 cat confdefs.h >>conftest.$ac_ext
18143 cat >>conftest.$ac_ext <<_ACEOF
18144 /* end confdefs.h. */
18145 $ac_includes_default
18149 static int test_array [1 - 2 * !(((long) (sizeof (int))) >= $ac_mid)];
18156 rm -f conftest.$ac_objext
18157 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18158 (eval $ac_compile) 2>conftest.er1
18160 grep -v '^ *+' conftest.er1 >conftest.err
18162 cat conftest.err >&5
18163 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18164 (exit $ac_status); } &&
18165 { ac_try='test -z "$ac_c_werror_flag"
18166 || test ! -s conftest.err'
18167 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18168 (eval $ac_try) 2>&5
18170 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18171 (exit $ac_status); }; } &&
18172 { ac_try='test -s conftest.$ac_objext'
18173 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18174 (eval $ac_try) 2>&5
18176 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18177 (exit $ac_status); }; }; then
18178 ac_lo=$ac_mid; break
18180 echo "$as_me: failed program was:" >&5
18181 sed 's/^/| /' conftest.$ac_ext >&5
18183 ac_hi=`expr '(' $ac_mid ')' - 1`
18184 if test $ac_mid -le $ac_hi; then
18188 ac_mid=`expr 2 '*' $ac_mid`
18190 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
18193 echo "$as_me: failed program was:" >&5
18194 sed 's/^/| /' conftest.$ac_ext >&5
18198 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
18200 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
18201 # Binary search between lo and hi bounds.
18202 while test "x$ac_lo" != "x$ac_hi"; do
18203 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
18204 cat >conftest.$ac_ext <<_ACEOF
18207 cat confdefs.h >>conftest.$ac_ext
18208 cat >>conftest.$ac_ext <<_ACEOF
18209 /* end confdefs.h. */
18210 $ac_includes_default
18214 static int test_array [1 - 2 * !(((long) (sizeof (int))) <= $ac_mid)];
18221 rm -f conftest.$ac_objext
18222 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18223 (eval $ac_compile) 2>conftest.er1
18225 grep -v '^ *+' conftest.er1 >conftest.err
18227 cat conftest.err >&5
18228 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18229 (exit $ac_status); } &&
18230 { ac_try='test -z "$ac_c_werror_flag"
18231 || test ! -s conftest.err'
18232 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18233 (eval $ac_try) 2>&5
18235 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18236 (exit $ac_status); }; } &&
18237 { ac_try='test -s conftest.$ac_objext'
18238 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18239 (eval $ac_try) 2>&5
18241 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18242 (exit $ac_status); }; }; then
18245 echo "$as_me: failed program was:" >&5
18246 sed 's/^/| /' conftest.$ac_ext >&5
18248 ac_lo=`expr '(' $ac_mid ')' + 1`
18250 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
18253 ?*) ac_cv_sizeof_int=$ac_lo;;
18254 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (int), 77
18255 See \`config.log' for more details." >&5
18256 echo "$as_me: error: cannot compute sizeof (int), 77
18257 See \`config.log' for more details." >&2;}
18258 { (exit 1); exit 1; }; } ;;
18261 if test "$cross_compiling" = yes; then
18262 { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
18263 See \`config.log' for more details." >&5
18264 echo "$as_me: error: cannot run test program while cross compiling
18265 See \`config.log' for more details." >&2;}
18266 { (exit 1); exit 1; }; }
18268 cat >conftest.$ac_ext <<_ACEOF
18271 cat confdefs.h >>conftest.$ac_ext
18272 cat >>conftest.$ac_ext <<_ACEOF
18273 /* end confdefs.h. */
18274 $ac_includes_default
18275 long longval () { return (long) (sizeof (int)); }
18276 unsigned long ulongval () { return (long) (sizeof (int)); }
18278 #include <stdlib.h>
18283 FILE *f = fopen ("conftest.val", "w");
18286 if (((long) (sizeof (int))) < 0)
18288 long i = longval ();
18289 if (i != ((long) (sizeof (int))))
18291 fprintf (f, "%ld\n", i);
18295 unsigned long i = ulongval ();
18296 if (i != ((long) (sizeof (int))))
18298 fprintf (f, "%lu\n", i);
18300 exit (ferror (f) || fclose (f) != 0);
18306 rm -f conftest$ac_exeext
18307 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
18308 (eval $ac_link) 2>&5
18310 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18311 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
18312 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18313 (eval $ac_try) 2>&5
18315 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18316 (exit $ac_status); }; }; then
18317 ac_cv_sizeof_int=`cat conftest.val`
18319 echo "$as_me: program exited with status $ac_status" >&5
18320 echo "$as_me: failed program was:" >&5
18321 sed 's/^/| /' conftest.$ac_ext >&5
18323 ( exit $ac_status )
18324 { { echo "$as_me:$LINENO: error: cannot compute sizeof (int), 77
18325 See \`config.log' for more details." >&5
18326 echo "$as_me: error: cannot compute sizeof (int), 77
18327 See \`config.log' for more details." >&2;}
18328 { (exit 1); exit 1; }; }
18330 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
18338 echo "$as_me:$LINENO: result: $ac_cv_sizeof_int" >&5
18339 echo "${ECHO_T}$ac_cv_sizeof_int" >&6
18340 cat >>confdefs.h <<_ACEOF
18341 #define SIZEOF_INT $ac_cv_sizeof_int
18345 echo "$as_me:$LINENO: checking for long" >&5
18346 echo $ECHO_N "checking for long... $ECHO_C" >&6
18347 if test "${ac_cv_type_long+set}" = set; then
18348 echo $ECHO_N "(cached) $ECHO_C" >&6
18350 cat >conftest.$ac_ext <<_ACEOF
18353 cat confdefs.h >>conftest.$ac_ext
18354 cat >>conftest.$ac_ext <<_ACEOF
18355 /* end confdefs.h. */
18356 $ac_includes_default
18368 rm -f conftest.$ac_objext
18369 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18370 (eval $ac_compile) 2>conftest.er1
18372 grep -v '^ *+' conftest.er1 >conftest.err
18374 cat conftest.err >&5
18375 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18376 (exit $ac_status); } &&
18377 { ac_try='test -z "$ac_c_werror_flag"
18378 || test ! -s conftest.err'
18379 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18380 (eval $ac_try) 2>&5
18382 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18383 (exit $ac_status); }; } &&
18384 { ac_try='test -s conftest.$ac_objext'
18385 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18386 (eval $ac_try) 2>&5
18388 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18389 (exit $ac_status); }; }; then
18390 ac_cv_type_long=yes
18392 echo "$as_me: failed program was:" >&5
18393 sed 's/^/| /' conftest.$ac_ext >&5
18397 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
18399 echo "$as_me:$LINENO: result: $ac_cv_type_long" >&5
18400 echo "${ECHO_T}$ac_cv_type_long" >&6
18402 echo "$as_me:$LINENO: checking size of long" >&5
18403 echo $ECHO_N "checking size of long... $ECHO_C" >&6
18404 if test "${ac_cv_sizeof_long+set}" = set; then
18405 echo $ECHO_N "(cached) $ECHO_C" >&6
18407 if test "$ac_cv_type_long" = yes; then
18408 # The cast to unsigned long works around a bug in the HP C Compiler
18409 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
18410 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
18411 # This bug is HP SR number 8606223364.
18412 if test "$cross_compiling" = yes; then
18413 # Depending upon the size, compute the lo and hi bounds.
18414 cat >conftest.$ac_ext <<_ACEOF
18417 cat confdefs.h >>conftest.$ac_ext
18418 cat >>conftest.$ac_ext <<_ACEOF
18419 /* end confdefs.h. */
18420 $ac_includes_default
18424 static int test_array [1 - 2 * !(((long) (sizeof (long))) >= 0)];
18431 rm -f conftest.$ac_objext
18432 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18433 (eval $ac_compile) 2>conftest.er1
18435 grep -v '^ *+' conftest.er1 >conftest.err
18437 cat conftest.err >&5
18438 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18439 (exit $ac_status); } &&
18440 { ac_try='test -z "$ac_c_werror_flag"
18441 || test ! -s conftest.err'
18442 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18443 (eval $ac_try) 2>&5
18445 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18446 (exit $ac_status); }; } &&
18447 { ac_try='test -s conftest.$ac_objext'
18448 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18449 (eval $ac_try) 2>&5
18451 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18452 (exit $ac_status); }; }; then
18455 cat >conftest.$ac_ext <<_ACEOF
18458 cat confdefs.h >>conftest.$ac_ext
18459 cat >>conftest.$ac_ext <<_ACEOF
18460 /* end confdefs.h. */
18461 $ac_includes_default
18465 static int test_array [1 - 2 * !(((long) (sizeof (long))) <= $ac_mid)];
18472 rm -f conftest.$ac_objext
18473 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18474 (eval $ac_compile) 2>conftest.er1
18476 grep -v '^ *+' conftest.er1 >conftest.err
18478 cat conftest.err >&5
18479 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18480 (exit $ac_status); } &&
18481 { ac_try='test -z "$ac_c_werror_flag"
18482 || test ! -s conftest.err'
18483 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18484 (eval $ac_try) 2>&5
18486 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18487 (exit $ac_status); }; } &&
18488 { ac_try='test -s conftest.$ac_objext'
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); }; }; then
18494 ac_hi=$ac_mid; break
18496 echo "$as_me: failed program was:" >&5
18497 sed 's/^/| /' conftest.$ac_ext >&5
18499 ac_lo=`expr $ac_mid + 1`
18500 if test $ac_lo -le $ac_mid; then
18504 ac_mid=`expr 2 '*' $ac_mid + 1`
18506 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
18509 echo "$as_me: failed program was:" >&5
18510 sed 's/^/| /' conftest.$ac_ext >&5
18512 cat >conftest.$ac_ext <<_ACEOF
18515 cat confdefs.h >>conftest.$ac_ext
18516 cat >>conftest.$ac_ext <<_ACEOF
18517 /* end confdefs.h. */
18518 $ac_includes_default
18522 static int test_array [1 - 2 * !(((long) (sizeof (long))) < 0)];
18529 rm -f conftest.$ac_objext
18530 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18531 (eval $ac_compile) 2>conftest.er1
18533 grep -v '^ *+' conftest.er1 >conftest.err
18535 cat conftest.err >&5
18536 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18537 (exit $ac_status); } &&
18538 { ac_try='test -z "$ac_c_werror_flag"
18539 || test ! -s conftest.err'
18540 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18541 (eval $ac_try) 2>&5
18543 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18544 (exit $ac_status); }; } &&
18545 { ac_try='test -s conftest.$ac_objext'
18546 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18547 (eval $ac_try) 2>&5
18549 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18550 (exit $ac_status); }; }; then
18553 cat >conftest.$ac_ext <<_ACEOF
18556 cat confdefs.h >>conftest.$ac_ext
18557 cat >>conftest.$ac_ext <<_ACEOF
18558 /* end confdefs.h. */
18559 $ac_includes_default
18563 static int test_array [1 - 2 * !(((long) (sizeof (long))) >= $ac_mid)];
18570 rm -f conftest.$ac_objext
18571 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18572 (eval $ac_compile) 2>conftest.er1
18574 grep -v '^ *+' conftest.er1 >conftest.err
18576 cat conftest.err >&5
18577 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18578 (exit $ac_status); } &&
18579 { ac_try='test -z "$ac_c_werror_flag"
18580 || test ! -s conftest.err'
18581 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18582 (eval $ac_try) 2>&5
18584 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18585 (exit $ac_status); }; } &&
18586 { ac_try='test -s conftest.$ac_objext'
18587 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18588 (eval $ac_try) 2>&5
18590 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18591 (exit $ac_status); }; }; then
18592 ac_lo=$ac_mid; break
18594 echo "$as_me: failed program was:" >&5
18595 sed 's/^/| /' conftest.$ac_ext >&5
18597 ac_hi=`expr '(' $ac_mid ')' - 1`
18598 if test $ac_mid -le $ac_hi; then
18602 ac_mid=`expr 2 '*' $ac_mid`
18604 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
18607 echo "$as_me: failed program was:" >&5
18608 sed 's/^/| /' conftest.$ac_ext >&5
18612 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
18614 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
18615 # Binary search between lo and hi bounds.
18616 while test "x$ac_lo" != "x$ac_hi"; do
18617 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
18618 cat >conftest.$ac_ext <<_ACEOF
18621 cat confdefs.h >>conftest.$ac_ext
18622 cat >>conftest.$ac_ext <<_ACEOF
18623 /* end confdefs.h. */
18624 $ac_includes_default
18628 static int test_array [1 - 2 * !(((long) (sizeof (long))) <= $ac_mid)];
18635 rm -f conftest.$ac_objext
18636 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18637 (eval $ac_compile) 2>conftest.er1
18639 grep -v '^ *+' conftest.er1 >conftest.err
18641 cat conftest.err >&5
18642 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18643 (exit $ac_status); } &&
18644 { ac_try='test -z "$ac_c_werror_flag"
18645 || test ! -s conftest.err'
18646 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18647 (eval $ac_try) 2>&5
18649 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18650 (exit $ac_status); }; } &&
18651 { ac_try='test -s conftest.$ac_objext'
18652 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18653 (eval $ac_try) 2>&5
18655 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18656 (exit $ac_status); }; }; then
18659 echo "$as_me: failed program was:" >&5
18660 sed 's/^/| /' conftest.$ac_ext >&5
18662 ac_lo=`expr '(' $ac_mid ')' + 1`
18664 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
18667 ?*) ac_cv_sizeof_long=$ac_lo;;
18668 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (long), 77
18669 See \`config.log' for more details." >&5
18670 echo "$as_me: error: cannot compute sizeof (long), 77
18671 See \`config.log' for more details." >&2;}
18672 { (exit 1); exit 1; }; } ;;
18675 if test "$cross_compiling" = yes; then
18676 { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
18677 See \`config.log' for more details." >&5
18678 echo "$as_me: error: cannot run test program while cross compiling
18679 See \`config.log' for more details." >&2;}
18680 { (exit 1); exit 1; }; }
18682 cat >conftest.$ac_ext <<_ACEOF
18685 cat confdefs.h >>conftest.$ac_ext
18686 cat >>conftest.$ac_ext <<_ACEOF
18687 /* end confdefs.h. */
18688 $ac_includes_default
18689 long longval () { return (long) (sizeof (long)); }
18690 unsigned long ulongval () { return (long) (sizeof (long)); }
18692 #include <stdlib.h>
18697 FILE *f = fopen ("conftest.val", "w");
18700 if (((long) (sizeof (long))) < 0)
18702 long i = longval ();
18703 if (i != ((long) (sizeof (long))))
18705 fprintf (f, "%ld\n", i);
18709 unsigned long i = ulongval ();
18710 if (i != ((long) (sizeof (long))))
18712 fprintf (f, "%lu\n", i);
18714 exit (ferror (f) || fclose (f) != 0);
18720 rm -f conftest$ac_exeext
18721 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
18722 (eval $ac_link) 2>&5
18724 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18725 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
18726 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18727 (eval $ac_try) 2>&5
18729 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18730 (exit $ac_status); }; }; then
18731 ac_cv_sizeof_long=`cat conftest.val`
18733 echo "$as_me: program exited with status $ac_status" >&5
18734 echo "$as_me: failed program was:" >&5
18735 sed 's/^/| /' conftest.$ac_ext >&5
18737 ( exit $ac_status )
18738 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long), 77
18739 See \`config.log' for more details." >&5
18740 echo "$as_me: error: cannot compute sizeof (long), 77
18741 See \`config.log' for more details." >&2;}
18742 { (exit 1); exit 1; }; }
18744 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
18749 ac_cv_sizeof_long=0
18752 echo "$as_me:$LINENO: result: $ac_cv_sizeof_long" >&5
18753 echo "${ECHO_T}$ac_cv_sizeof_long" >&6
18754 cat >>confdefs.h <<_ACEOF
18755 #define SIZEOF_LONG $ac_cv_sizeof_long
18759 echo "$as_me:$LINENO: checking for void*" >&5
18760 echo $ECHO_N "checking for void*... $ECHO_C" >&6
18761 if test "${ac_cv_type_voidp+set}" = set; then
18762 echo $ECHO_N "(cached) $ECHO_C" >&6
18764 cat >conftest.$ac_ext <<_ACEOF
18767 cat confdefs.h >>conftest.$ac_ext
18768 cat >>conftest.$ac_ext <<_ACEOF
18769 /* end confdefs.h. */
18770 $ac_includes_default
18776 if (sizeof (void*))
18782 rm -f conftest.$ac_objext
18783 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18784 (eval $ac_compile) 2>conftest.er1
18786 grep -v '^ *+' conftest.er1 >conftest.err
18788 cat conftest.err >&5
18789 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18790 (exit $ac_status); } &&
18791 { ac_try='test -z "$ac_c_werror_flag"
18792 || test ! -s conftest.err'
18793 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18794 (eval $ac_try) 2>&5
18796 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18797 (exit $ac_status); }; } &&
18798 { ac_try='test -s conftest.$ac_objext'
18799 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18800 (eval $ac_try) 2>&5
18802 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18803 (exit $ac_status); }; }; then
18804 ac_cv_type_voidp=yes
18806 echo "$as_me: failed program was:" >&5
18807 sed 's/^/| /' conftest.$ac_ext >&5
18809 ac_cv_type_voidp=no
18811 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
18813 echo "$as_me:$LINENO: result: $ac_cv_type_voidp" >&5
18814 echo "${ECHO_T}$ac_cv_type_voidp" >&6
18816 echo "$as_me:$LINENO: checking size of void*" >&5
18817 echo $ECHO_N "checking size of void*... $ECHO_C" >&6
18818 if test "${ac_cv_sizeof_voidp+set}" = set; then
18819 echo $ECHO_N "(cached) $ECHO_C" >&6
18821 if test "$ac_cv_type_voidp" = yes; then
18822 # The cast to unsigned long works around a bug in the HP C Compiler
18823 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
18824 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
18825 # This bug is HP SR number 8606223364.
18826 if test "$cross_compiling" = yes; then
18827 # Depending upon the size, compute the lo and hi bounds.
18828 cat >conftest.$ac_ext <<_ACEOF
18831 cat confdefs.h >>conftest.$ac_ext
18832 cat >>conftest.$ac_ext <<_ACEOF
18833 /* end confdefs.h. */
18834 $ac_includes_default
18838 static int test_array [1 - 2 * !(((long) (sizeof (void*))) >= 0)];
18845 rm -f conftest.$ac_objext
18846 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18847 (eval $ac_compile) 2>conftest.er1
18849 grep -v '^ *+' conftest.er1 >conftest.err
18851 cat conftest.err >&5
18852 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18853 (exit $ac_status); } &&
18854 { ac_try='test -z "$ac_c_werror_flag"
18855 || test ! -s conftest.err'
18856 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18857 (eval $ac_try) 2>&5
18859 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18860 (exit $ac_status); }; } &&
18861 { ac_try='test -s conftest.$ac_objext'
18862 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18863 (eval $ac_try) 2>&5
18865 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18866 (exit $ac_status); }; }; then
18869 cat >conftest.$ac_ext <<_ACEOF
18872 cat confdefs.h >>conftest.$ac_ext
18873 cat >>conftest.$ac_ext <<_ACEOF
18874 /* end confdefs.h. */
18875 $ac_includes_default
18879 static int test_array [1 - 2 * !(((long) (sizeof (void*))) <= $ac_mid)];
18886 rm -f conftest.$ac_objext
18887 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18888 (eval $ac_compile) 2>conftest.er1
18890 grep -v '^ *+' conftest.er1 >conftest.err
18892 cat conftest.err >&5
18893 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18894 (exit $ac_status); } &&
18895 { ac_try='test -z "$ac_c_werror_flag"
18896 || test ! -s conftest.err'
18897 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18898 (eval $ac_try) 2>&5
18900 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18901 (exit $ac_status); }; } &&
18902 { ac_try='test -s conftest.$ac_objext'
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); }; }; then
18908 ac_hi=$ac_mid; break
18910 echo "$as_me: failed program was:" >&5
18911 sed 's/^/| /' conftest.$ac_ext >&5
18913 ac_lo=`expr $ac_mid + 1`
18914 if test $ac_lo -le $ac_mid; then
18918 ac_mid=`expr 2 '*' $ac_mid + 1`
18920 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
18923 echo "$as_me: failed program was:" >&5
18924 sed 's/^/| /' conftest.$ac_ext >&5
18926 cat >conftest.$ac_ext <<_ACEOF
18929 cat confdefs.h >>conftest.$ac_ext
18930 cat >>conftest.$ac_ext <<_ACEOF
18931 /* end confdefs.h. */
18932 $ac_includes_default
18936 static int test_array [1 - 2 * !(((long) (sizeof (void*))) < 0)];
18943 rm -f conftest.$ac_objext
18944 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18945 (eval $ac_compile) 2>conftest.er1
18947 grep -v '^ *+' conftest.er1 >conftest.err
18949 cat conftest.err >&5
18950 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18951 (exit $ac_status); } &&
18952 { ac_try='test -z "$ac_c_werror_flag"
18953 || test ! -s conftest.err'
18954 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18955 (eval $ac_try) 2>&5
18957 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18958 (exit $ac_status); }; } &&
18959 { ac_try='test -s conftest.$ac_objext'
18960 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18961 (eval $ac_try) 2>&5
18963 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18964 (exit $ac_status); }; }; then
18967 cat >conftest.$ac_ext <<_ACEOF
18970 cat confdefs.h >>conftest.$ac_ext
18971 cat >>conftest.$ac_ext <<_ACEOF
18972 /* end confdefs.h. */
18973 $ac_includes_default
18977 static int test_array [1 - 2 * !(((long) (sizeof (void*))) >= $ac_mid)];
18984 rm -f conftest.$ac_objext
18985 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18986 (eval $ac_compile) 2>conftest.er1
18988 grep -v '^ *+' conftest.er1 >conftest.err
18990 cat conftest.err >&5
18991 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18992 (exit $ac_status); } &&
18993 { ac_try='test -z "$ac_c_werror_flag"
18994 || test ! -s conftest.err'
18995 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18996 (eval $ac_try) 2>&5
18998 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18999 (exit $ac_status); }; } &&
19000 { ac_try='test -s conftest.$ac_objext'
19001 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19002 (eval $ac_try) 2>&5
19004 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19005 (exit $ac_status); }; }; then
19006 ac_lo=$ac_mid; break
19008 echo "$as_me: failed program was:" >&5
19009 sed 's/^/| /' conftest.$ac_ext >&5
19011 ac_hi=`expr '(' $ac_mid ')' - 1`
19012 if test $ac_mid -le $ac_hi; then
19016 ac_mid=`expr 2 '*' $ac_mid`
19018 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
19021 echo "$as_me: failed program was:" >&5
19022 sed 's/^/| /' conftest.$ac_ext >&5
19026 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
19028 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
19029 # Binary search between lo and hi bounds.
19030 while test "x$ac_lo" != "x$ac_hi"; do
19031 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
19032 cat >conftest.$ac_ext <<_ACEOF
19035 cat confdefs.h >>conftest.$ac_ext
19036 cat >>conftest.$ac_ext <<_ACEOF
19037 /* end confdefs.h. */
19038 $ac_includes_default
19042 static int test_array [1 - 2 * !(((long) (sizeof (void*))) <= $ac_mid)];
19049 rm -f conftest.$ac_objext
19050 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19051 (eval $ac_compile) 2>conftest.er1
19053 grep -v '^ *+' conftest.er1 >conftest.err
19055 cat conftest.err >&5
19056 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19057 (exit $ac_status); } &&
19058 { ac_try='test -z "$ac_c_werror_flag"
19059 || test ! -s conftest.err'
19060 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19061 (eval $ac_try) 2>&5
19063 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19064 (exit $ac_status); }; } &&
19065 { ac_try='test -s conftest.$ac_objext'
19066 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19067 (eval $ac_try) 2>&5
19069 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19070 (exit $ac_status); }; }; then
19073 echo "$as_me: failed program was:" >&5
19074 sed 's/^/| /' conftest.$ac_ext >&5
19076 ac_lo=`expr '(' $ac_mid ')' + 1`
19078 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
19081 ?*) ac_cv_sizeof_voidp=$ac_lo;;
19082 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (void*), 77
19083 See \`config.log' for more details." >&5
19084 echo "$as_me: error: cannot compute sizeof (void*), 77
19085 See \`config.log' for more details." >&2;}
19086 { (exit 1); exit 1; }; } ;;
19089 if test "$cross_compiling" = yes; then
19090 { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
19091 See \`config.log' for more details." >&5
19092 echo "$as_me: error: cannot run test program while cross compiling
19093 See \`config.log' for more details." >&2;}
19094 { (exit 1); exit 1; }; }
19096 cat >conftest.$ac_ext <<_ACEOF
19099 cat confdefs.h >>conftest.$ac_ext
19100 cat >>conftest.$ac_ext <<_ACEOF
19101 /* end confdefs.h. */
19102 $ac_includes_default
19103 long longval () { return (long) (sizeof (void*)); }
19104 unsigned long ulongval () { return (long) (sizeof (void*)); }
19106 #include <stdlib.h>
19111 FILE *f = fopen ("conftest.val", "w");
19114 if (((long) (sizeof (void*))) < 0)
19116 long i = longval ();
19117 if (i != ((long) (sizeof (void*))))
19119 fprintf (f, "%ld\n", i);
19123 unsigned long i = ulongval ();
19124 if (i != ((long) (sizeof (void*))))
19126 fprintf (f, "%lu\n", i);
19128 exit (ferror (f) || fclose (f) != 0);
19134 rm -f conftest$ac_exeext
19135 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
19136 (eval $ac_link) 2>&5
19138 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19139 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
19140 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19141 (eval $ac_try) 2>&5
19143 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19144 (exit $ac_status); }; }; then
19145 ac_cv_sizeof_voidp=`cat conftest.val`
19147 echo "$as_me: program exited with status $ac_status" >&5
19148 echo "$as_me: failed program was:" >&5
19149 sed 's/^/| /' conftest.$ac_ext >&5
19151 ( exit $ac_status )
19152 { { echo "$as_me:$LINENO: error: cannot compute sizeof (void*), 77
19153 See \`config.log' for more details." >&5
19154 echo "$as_me: error: cannot compute sizeof (void*), 77
19155 See \`config.log' for more details." >&2;}
19156 { (exit 1); exit 1; }; }
19158 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
19163 ac_cv_sizeof_voidp=0
19166 echo "$as_me:$LINENO: result: $ac_cv_sizeof_voidp" >&5
19167 echo "${ECHO_T}$ac_cv_sizeof_voidp" >&6
19168 cat >>confdefs.h <<_ACEOF
19169 #define SIZEOF_VOIDP $ac_cv_sizeof_voidp
19173 ac_cv_char_data_model=""
19174 ac_cv_char_data_model="$ac_cv_char_data_model$ac_cv_sizeof_char"
19175 ac_cv_char_data_model="$ac_cv_char_data_model$ac_cv_sizeof_short"
19176 ac_cv_char_data_model="$ac_cv_char_data_model$ac_cv_sizeof_int"
19177 ac_cv_long_data_model=""
19178 ac_cv_long_data_model="$ac_cv_long_data_model$ac_cv_sizeof_int"
19179 ac_cv_long_data_model="$ac_cv_long_data_model$ac_cv_sizeof_long"
19180 ac_cv_long_data_model="$ac_cv_long_data_model$ac_cv_sizeof_voidp"
19181 echo "$as_me:$LINENO: checking data model" >&5
19182 echo $ECHO_N "checking data model... $ECHO_C" >&6
19183 case "$ac_cv_char_data_model/$ac_cv_long_data_model" in
19184 122/242) ac_cv_data_model="IP16" ; n="standard 16bit machine" ;;
19185 122/244) ac_cv_data_model="LP32" ; n="standard 32bit machine" ;;
19186 122/*) ac_cv_data_model="i16" ; n="unusual int16 model" ;;
19187 124/444) ac_cv_data_model="ILP32" ; n="standard 32bit unixish" ;;
19188 124/488) ac_cv_data_model="LP64" ; n="standard 64bit unixish" ;;
19189 124/448) ac_cv_data_model="LLP64" ; n="unusual 64bit unixish" ;;
19190 124/*) ac_cv_data_model="i32" ; n="unusual int32 model" ;;
19191 128/888) ac_cv_data_model="ILP64" ; n="unusual 64bit numeric" ;;
19192 128/*) ac_cv_data_model="i64" ; n="unusual int64 model" ;;
19193 222/*2) ac_cv_data_model="DSP16" ; n="strict 16bit dsptype" ;;
19194 333/*3) ac_cv_data_model="DSP24" ; n="strict 24bit dsptype" ;;
19195 444/*4) ac_cv_data_model="DSP32" ; n="strict 32bit dsptype" ;;
19196 666/*6) ac_cv_data_model="DSP48" ; n="strict 48bit dsptype" ;;
19197 888/*8) ac_cv_data_model="DSP64" ; n="strict 64bit dsptype" ;;
19198 222/*|333/*|444/*|666/*|888/*) :
19199 ac_cv_data_model="iDSP" ; n="unusual dsptype" ;;
19200 *) ac_cv_data_model="none" ; n="very unusual model" ;;
19202 echo "$as_me:$LINENO: result: $ac_cv_data_model ($ac_cv_long_data_model, $n)" >&5
19203 echo "${ECHO_T}$ac_cv_data_model ($ac_cv_long_data_model, $n)" >&6
19207 if test "_$ac_cv_header_stdint_x" != "_" ; then
19208 ac_cv_header_stdint="$ac_cv_header_stdint_x"
19209 elif test "_$ac_cv_header_stdint_o" != "_" ; then
19210 ac_cv_header_stdint="$ac_cv_header_stdint_o"
19211 elif test "_$ac_cv_header_stdint_u" != "_" ; then
19212 ac_cv_header_stdint="$ac_cv_header_stdint_u"
19214 ac_cv_header_stdint="stddef.h"
19217 echo "$as_me:$LINENO: checking for extra inttypes in chosen header" >&5
19218 echo $ECHO_N "checking for extra inttypes in chosen header... $ECHO_C" >&6
19219 echo "$as_me:$LINENO: result: ($ac_cv_header_stdint)" >&5
19220 echo "${ECHO_T}($ac_cv_header_stdint)" >&6
19221 unset ac_cv_type_int_least32_t
19222 unset ac_cv_type_int_fast32_t
19223 echo "$as_me:$LINENO: checking for int_least32_t" >&5
19224 echo $ECHO_N "checking for int_least32_t... $ECHO_C" >&6
19225 if test "${ac_cv_type_int_least32_t+set}" = set; then
19226 echo $ECHO_N "(cached) $ECHO_C" >&6
19228 cat >conftest.$ac_ext <<_ACEOF
19231 cat confdefs.h >>conftest.$ac_ext
19232 cat >>conftest.$ac_ext <<_ACEOF
19233 /* end confdefs.h. */
19234 #include <$ac_cv_header_stdint>
19239 if ((int_least32_t *) 0)
19241 if (sizeof (int_least32_t))
19247 rm -f conftest.$ac_objext
19248 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19249 (eval $ac_compile) 2>conftest.er1
19251 grep -v '^ *+' conftest.er1 >conftest.err
19253 cat conftest.err >&5
19254 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19255 (exit $ac_status); } &&
19256 { ac_try='test -z "$ac_c_werror_flag"
19257 || test ! -s conftest.err'
19258 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19259 (eval $ac_try) 2>&5
19261 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19262 (exit $ac_status); }; } &&
19263 { ac_try='test -s conftest.$ac_objext'
19264 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19265 (eval $ac_try) 2>&5
19267 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19268 (exit $ac_status); }; }; then
19269 ac_cv_type_int_least32_t=yes
19271 echo "$as_me: failed program was:" >&5
19272 sed 's/^/| /' conftest.$ac_ext >&5
19274 ac_cv_type_int_least32_t=no
19276 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
19278 echo "$as_me:$LINENO: result: $ac_cv_type_int_least32_t" >&5
19279 echo "${ECHO_T}$ac_cv_type_int_least32_t" >&6
19281 echo "$as_me:$LINENO: checking for int_fast32_t" >&5
19282 echo $ECHO_N "checking for int_fast32_t... $ECHO_C" >&6
19283 if test "${ac_cv_type_int_fast32_t+set}" = set; then
19284 echo $ECHO_N "(cached) $ECHO_C" >&6
19286 cat >conftest.$ac_ext <<_ACEOF
19289 cat confdefs.h >>conftest.$ac_ext
19290 cat >>conftest.$ac_ext <<_ACEOF
19291 /* end confdefs.h. */
19292 #include<$ac_cv_header_stdint>
19297 if ((int_fast32_t *) 0)
19299 if (sizeof (int_fast32_t))
19305 rm -f conftest.$ac_objext
19306 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19307 (eval $ac_compile) 2>conftest.er1
19309 grep -v '^ *+' conftest.er1 >conftest.err
19311 cat conftest.err >&5
19312 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19313 (exit $ac_status); } &&
19314 { ac_try='test -z "$ac_c_werror_flag"
19315 || test ! -s conftest.err'
19316 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19317 (eval $ac_try) 2>&5
19319 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19320 (exit $ac_status); }; } &&
19321 { ac_try='test -s conftest.$ac_objext'
19322 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19323 (eval $ac_try) 2>&5
19325 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19326 (exit $ac_status); }; }; then
19327 ac_cv_type_int_fast32_t=yes
19329 echo "$as_me: failed program was:" >&5
19330 sed 's/^/| /' conftest.$ac_ext >&5
19332 ac_cv_type_int_fast32_t=no
19334 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
19336 echo "$as_me:$LINENO: result: $ac_cv_type_int_fast32_t" >&5
19337 echo "${ECHO_T}$ac_cv_type_int_fast32_t" >&6
19339 echo "$as_me:$LINENO: checking for intmax_t" >&5
19340 echo $ECHO_N "checking for intmax_t... $ECHO_C" >&6
19341 if test "${ac_cv_type_intmax_t+set}" = set; then
19342 echo $ECHO_N "(cached) $ECHO_C" >&6
19344 cat >conftest.$ac_ext <<_ACEOF
19347 cat confdefs.h >>conftest.$ac_ext
19348 cat >>conftest.$ac_ext <<_ACEOF
19349 /* end confdefs.h. */
19350 #include <$ac_cv_header_stdint>
19355 if ((intmax_t *) 0)
19357 if (sizeof (intmax_t))
19363 rm -f conftest.$ac_objext
19364 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19365 (eval $ac_compile) 2>conftest.er1
19367 grep -v '^ *+' conftest.er1 >conftest.err
19369 cat conftest.err >&5
19370 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19371 (exit $ac_status); } &&
19372 { ac_try='test -z "$ac_c_werror_flag"
19373 || test ! -s conftest.err'
19374 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19375 (eval $ac_try) 2>&5
19377 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19378 (exit $ac_status); }; } &&
19379 { ac_try='test -s conftest.$ac_objext'
19380 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19381 (eval $ac_try) 2>&5
19383 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19384 (exit $ac_status); }; }; then
19385 ac_cv_type_intmax_t=yes
19387 echo "$as_me: failed program was:" >&5
19388 sed 's/^/| /' conftest.$ac_ext >&5
19390 ac_cv_type_intmax_t=no
19392 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
19394 echo "$as_me:$LINENO: result: $ac_cv_type_intmax_t" >&5
19395 echo "${ECHO_T}$ac_cv_type_intmax_t" >&6
19398 fi # shortcircut to system "stdint.h"
19399 # ------------------ PREPARE VARIABLES ------------------------------
19400 if test "$GCC" = "yes" ; then
19401 ac_cv_stdint_message="using gnu compiler "`$CC --version | head -1`
19403 ac_cv_stdint_message="using $CC"
19406 echo "$as_me:$LINENO: result: make use of $ac_cv_header_stdint in $ac_stdint_h $ac_cv_stdint_result" >&5
19407 echo "${ECHO_T}make use of $ac_cv_header_stdint in $ac_stdint_h $ac_cv_stdint_result" >&6
19409 # ----------------- DONE inttypes.h checks START header -------------
19410 ac_config_commands="$ac_config_commands $ac_stdint_h"
19415 # Check whether --with-glibj_zip or --without-glibj_zip was given.
19416 if test "${with_glibj_zip+set}" = set; then
19417 withval="$with_glibj_zip"
19421 case "$with_glibj_zip" in
19423 use_glibj_zip=false
19426 use_glibj_zip=false
19429 { { echo "$as_me:$LINENO: error: Please suply an absolute path to a prebuilt glibj.zip" >&5
19430 echo "$as_me: error: Please suply an absolute path to a prebuilt glibj.zip" >&2;}
19431 { (exit 1); exit 1; }; }
19435 PATH_TO_GLIBJ_ZIP=$with_glibj_zip
19441 if test x$use_glibj_zip = xtrue; then
19442 USE_PREBUILT_GLIBJ_ZIP_TRUE=
19443 USE_PREBUILT_GLIBJ_ZIP_FALSE='#'
19445 USE_PREBUILT_GLIBJ_ZIP_TRUE='#'
19446 USE_PREBUILT_GLIBJ_ZIP_FALSE=
19452 # Check whether --with-escher or --without-escher was given.
19453 if test "${with_escher+set}" = set; then
19454 withval="$with_escher"
19457 case "$with_escher" in
19465 { { echo "$as_me:$LINENO: error: Please supply an absolute path to Escher library" >&5
19466 echo "$as_me: error: Please supply an absolute path to Escher library" >&2;}
19467 { (exit 1); exit 1; }; }
19471 PATH_TO_ESCHER=$with_escher
19477 if test x$use_escher = xtrue; then
19479 USE_ESCHER_FALSE='#'
19481 USE_ESCHER_TRUE='#'
19487 # Check whether --enable-local-sockets or --disable-local-sockets was given.
19488 if test "${enable_local_sockets+set}" = set; then
19489 enableval="$enable_local_sockets"
19490 case "${enableval}" in
19492 ENABLE_LOCAL_SOCKETS=yes
19495 ENABLE_LOCAL_SOCKETS=no
19499 if test "x$ENABLE_LOCAL_SOCKETS" = "xyes"
19501 if test "${ac_cv_header_sys_un_h+set}" = set; then
19502 echo "$as_me:$LINENO: checking for sys/un.h" >&5
19503 echo $ECHO_N "checking for sys/un.h... $ECHO_C" >&6
19504 if test "${ac_cv_header_sys_un_h+set}" = set; then
19505 echo $ECHO_N "(cached) $ECHO_C" >&6
19507 echo "$as_me:$LINENO: result: $ac_cv_header_sys_un_h" >&5
19508 echo "${ECHO_T}$ac_cv_header_sys_un_h" >&6
19510 # Is the header compilable?
19511 echo "$as_me:$LINENO: checking sys/un.h usability" >&5
19512 echo $ECHO_N "checking sys/un.h usability... $ECHO_C" >&6
19513 cat >conftest.$ac_ext <<_ACEOF
19516 cat confdefs.h >>conftest.$ac_ext
19517 cat >>conftest.$ac_ext <<_ACEOF
19518 /* end confdefs.h. */
19519 $ac_includes_default
19520 #include <sys/un.h>
19522 rm -f conftest.$ac_objext
19523 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19524 (eval $ac_compile) 2>conftest.er1
19526 grep -v '^ *+' conftest.er1 >conftest.err
19528 cat conftest.err >&5
19529 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19530 (exit $ac_status); } &&
19531 { ac_try='test -z "$ac_c_werror_flag"
19532 || test ! -s conftest.err'
19533 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19534 (eval $ac_try) 2>&5
19536 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19537 (exit $ac_status); }; } &&
19538 { ac_try='test -s conftest.$ac_objext'
19539 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19540 (eval $ac_try) 2>&5
19542 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19543 (exit $ac_status); }; }; then
19544 ac_header_compiler=yes
19546 echo "$as_me: failed program was:" >&5
19547 sed 's/^/| /' conftest.$ac_ext >&5
19549 ac_header_compiler=no
19551 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
19552 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
19553 echo "${ECHO_T}$ac_header_compiler" >&6
19555 # Is the header present?
19556 echo "$as_me:$LINENO: checking sys/un.h presence" >&5
19557 echo $ECHO_N "checking sys/un.h presence... $ECHO_C" >&6
19558 cat >conftest.$ac_ext <<_ACEOF
19561 cat confdefs.h >>conftest.$ac_ext
19562 cat >>conftest.$ac_ext <<_ACEOF
19563 /* end confdefs.h. */
19564 #include <sys/un.h>
19566 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
19567 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
19569 grep -v '^ *+' conftest.er1 >conftest.err
19571 cat conftest.err >&5
19572 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19573 (exit $ac_status); } >/dev/null; then
19574 if test -s conftest.err; then
19575 ac_cpp_err=$ac_c_preproc_warn_flag
19576 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
19583 if test -z "$ac_cpp_err"; then
19584 ac_header_preproc=yes
19586 echo "$as_me: failed program was:" >&5
19587 sed 's/^/| /' conftest.$ac_ext >&5
19589 ac_header_preproc=no
19591 rm -f conftest.err conftest.$ac_ext
19592 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
19593 echo "${ECHO_T}$ac_header_preproc" >&6
19595 # So? What about this header?
19596 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
19598 { echo "$as_me:$LINENO: WARNING: sys/un.h: accepted by the compiler, rejected by the preprocessor!" >&5
19599 echo "$as_me: WARNING: sys/un.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
19600 { echo "$as_me:$LINENO: WARNING: sys/un.h: proceeding with the compiler's result" >&5
19601 echo "$as_me: WARNING: sys/un.h: proceeding with the compiler's result" >&2;}
19602 ac_header_preproc=yes
19605 { echo "$as_me:$LINENO: WARNING: sys/un.h: present but cannot be compiled" >&5
19606 echo "$as_me: WARNING: sys/un.h: present but cannot be compiled" >&2;}
19607 { echo "$as_me:$LINENO: WARNING: sys/un.h: check for missing prerequisite headers?" >&5
19608 echo "$as_me: WARNING: sys/un.h: check for missing prerequisite headers?" >&2;}
19609 { echo "$as_me:$LINENO: WARNING: sys/un.h: see the Autoconf documentation" >&5
19610 echo "$as_me: WARNING: sys/un.h: see the Autoconf documentation" >&2;}
19611 { echo "$as_me:$LINENO: WARNING: sys/un.h: section \"Present But Cannot Be Compiled\"" >&5
19612 echo "$as_me: WARNING: sys/un.h: section \"Present But Cannot Be Compiled\"" >&2;}
19613 { echo "$as_me:$LINENO: WARNING: sys/un.h: proceeding with the preprocessor's result" >&5
19614 echo "$as_me: WARNING: sys/un.h: proceeding with the preprocessor's result" >&2;}
19615 { echo "$as_me:$LINENO: WARNING: sys/un.h: in the future, the compiler will take precedence" >&5
19616 echo "$as_me: WARNING: sys/un.h: in the future, the compiler will take precedence" >&2;}
19619 ## -------------------------------- ##
19620 ## Report this to classpath@gnu.org ##
19621 ## -------------------------------- ##
19624 sed "s/^/$as_me: WARNING: /" >&2
19627 echo "$as_me:$LINENO: checking for sys/un.h" >&5
19628 echo $ECHO_N "checking for sys/un.h... $ECHO_C" >&6
19629 if test "${ac_cv_header_sys_un_h+set}" = set; then
19630 echo $ECHO_N "(cached) $ECHO_C" >&6
19632 ac_cv_header_sys_un_h=$ac_header_preproc
19634 echo "$as_me:$LINENO: result: $ac_cv_header_sys_un_h" >&5
19635 echo "${ECHO_T}$ac_cv_header_sys_un_h" >&6
19646 for ac_func in read write bind listen accept shutdown
19648 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
19649 echo "$as_me:$LINENO: checking for $ac_func" >&5
19650 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
19651 if eval "test \"\${$as_ac_var+set}\" = set"; then
19652 echo $ECHO_N "(cached) $ECHO_C" >&6
19654 if test x$gcc_no_link = xyes; then
19655 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
19656 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
19657 { (exit 1); exit 1; }; }
19659 cat >conftest.$ac_ext <<_ACEOF
19662 cat confdefs.h >>conftest.$ac_ext
19663 cat >>conftest.$ac_ext <<_ACEOF
19664 /* end confdefs.h. */
19665 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
19666 For example, HP-UX 11i <limits.h> declares gettimeofday. */
19667 #define $ac_func innocuous_$ac_func
19669 /* System header to define __stub macros and hopefully few prototypes,
19670 which can conflict with char $ac_func (); below.
19671 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
19672 <limits.h> exists even on freestanding compilers. */
19675 # include <limits.h>
19677 # include <assert.h>
19682 /* Override any gcc2 internal prototype to avoid an error. */
19687 /* We use char because int might match the return type of a gcc2
19688 builtin and then its argument prototype would still apply. */
19690 /* The GNU C library defines this for functions which it implements
19691 to always fail with ENOSYS. Some functions are actually named
19692 something starting with __ and the normal name is an alias. */
19693 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
19696 char (*f) () = $ac_func;
19705 return f != $ac_func;
19710 rm -f conftest.$ac_objext conftest$ac_exeext
19711 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
19712 (eval $ac_link) 2>conftest.er1
19714 grep -v '^ *+' conftest.er1 >conftest.err
19716 cat conftest.err >&5
19717 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19718 (exit $ac_status); } &&
19719 { ac_try='test -z "$ac_c_werror_flag"
19720 || test ! -s conftest.err'
19721 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19722 (eval $ac_try) 2>&5
19724 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19725 (exit $ac_status); }; } &&
19726 { ac_try='test -s conftest$ac_exeext'
19727 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19728 (eval $ac_try) 2>&5
19730 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19731 (exit $ac_status); }; }; then
19732 eval "$as_ac_var=yes"
19734 echo "$as_me: failed program was:" >&5
19735 sed 's/^/| /' conftest.$ac_ext >&5
19737 eval "$as_ac_var=no"
19739 rm -f conftest.err conftest.$ac_objext \
19740 conftest$ac_exeext conftest.$ac_ext
19742 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
19743 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
19744 if test `eval echo '${'$as_ac_var'}'` = yes; then
19745 cat >>confdefs.h <<_ACEOF
19746 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
19750 { { echo "$as_me:$LINENO: error: networking support not available" >&5
19751 echo "$as_me: error: networking support not available" >&2;}
19752 { (exit 1); exit 1; }; }
19757 cat >>confdefs.h <<\_ACEOF
19758 #define ENABLE_LOCAL_SOCKETS 1
19764 if test "x$ENABLE_LOCAL_SOCKETS" = "xyes"; then
19765 ENABLE_LOCAL_SOCKETS_TRUE=
19766 ENABLE_LOCAL_SOCKETS_FALSE='#'
19768 ENABLE_LOCAL_SOCKETS_TRUE='#'
19769 ENABLE_LOCAL_SOCKETS_FALSE=
19775 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"
19778 if test "x${COMPILE_WRAPPERS}" = xno
19780 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"
19782 ac_config_commands="$ac_config_commands gappletviewer"
19784 ac_config_commands="$ac_config_commands gjarsigner"
19786 ac_config_commands="$ac_config_commands gkeytool"
19788 ac_config_commands="$ac_config_commands gjar"
19790 ac_config_commands="$ac_config_commands gnative2ascii"
19792 ac_config_commands="$ac_config_commands gserialver"
19794 ac_config_commands="$ac_config_commands grmiregistry"
19796 ac_config_commands="$ac_config_commands gtnameserv"
19798 ac_config_commands="$ac_config_commands gorbd"
19800 ac_config_commands="$ac_config_commands grmid"
19802 ac_config_commands="$ac_config_commands grmic"
19804 ac_config_commands="$ac_config_commands gjavah"
19808 ac_config_commands="$ac_config_commands gen-classlist"
19810 ac_config_commands="$ac_config_commands copy-vmresources"
19812 cat >confcache <<\_ACEOF
19813 # This file is a shell script that caches the results of configure
19814 # tests run on this system so they can be shared between configure
19815 # scripts and configure runs, see configure's option --config-cache.
19816 # It is not useful on other systems. If it contains results you don't
19817 # want to keep, you may remove or edit it.
19819 # config.status only pays attention to the cache file if you give it
19820 # the --recheck option to rerun configure.
19822 # `ac_cv_env_foo' variables (set or unset) will be overridden when
19823 # loading this file, other *unset* `ac_cv_foo' will be assigned the
19824 # following values.
19828 # The following way of writing the cache mishandles newlines in values,
19829 # but we know of no workaround that is simple, portable, and efficient.
19830 # So, don't put newlines in cache variables' values.
19831 # Ultrix sh set writes to stderr and can't be redirected directly,
19832 # and sets the high bit in the cache file unless we assign to the vars.
19835 case `(ac_space=' '; set | grep ac_space) 2>&1` in
19837 # `set' does not quote correctly, so add quotes (double-quote
19838 # substitution turns \\\\ into \\, and sed turns \\ into \).
19841 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
19844 # `set' quotes correctly as required by POSIX, so do not add quotes.
19846 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
19853 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
19855 /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
19857 if diff $cache_file confcache >/dev/null 2>&1; then :; else
19858 if test -w $cache_file; then
19859 test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
19860 cat confcache >$cache_file
19862 echo "not updating unwritable cache $cache_file"
19867 test "x$prefix" = xNONE && prefix=$ac_default_prefix
19868 # Let make expand exec_prefix.
19869 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
19871 # VPATH may cause trouble with some makes, so we remove $(srcdir),
19872 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
19873 # trailing colons and then remove the whole line if VPATH becomes empty
19874 # (actually we leave an empty line to preserve line numbers).
19875 if test "x$srcdir" = x.; then
19876 ac_vpsub='/^[ ]*VPATH[ ]*=/{
19877 s/:*\$(srcdir):*/:/;
19878 s/:*\${srcdir}:*/:/;
19880 s/^\([^=]*=[ ]*\):*/\1/;
19886 DEFS=-DHAVE_CONFIG_H
19890 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
19891 # 1. Remove the extension, and $U if already installed.
19892 ac_i=`echo "$ac_i" |
19893 sed 's/\$U\././;s/\.o$//;s/\.obj$//'`
19895 ac_libobjs="$ac_libobjs $ac_i\$U.$ac_objext"
19896 ac_ltlibobjs="$ac_ltlibobjs $ac_i"'$U.lo'
19898 LIBOBJS=$ac_libobjs
19900 LTLIBOBJS=$ac_ltlibobjs
19903 if test -z "${JAVA_MAINTAINER_MODE_TRUE}" && test -z "${JAVA_MAINTAINER_MODE_FALSE}"; then
19904 { { echo "$as_me:$LINENO: error: conditional \"JAVA_MAINTAINER_MODE\" was never defined.
19905 Usually this means the macro was only invoked conditionally." >&5
19906 echo "$as_me: error: conditional \"JAVA_MAINTAINER_MODE\" was never defined.
19907 Usually this means the macro was only invoked conditionally." >&2;}
19908 { (exit 1); exit 1; }; }
19910 if test -z "${CREATE_COLLECTIONS_TRUE}" && test -z "${CREATE_COLLECTIONS_FALSE}"; then
19911 { { echo "$as_me:$LINENO: error: conditional \"CREATE_COLLECTIONS\" was never defined.
19912 Usually this means the macro was only invoked conditionally." >&5
19913 echo "$as_me: error: conditional \"CREATE_COLLECTIONS\" was never defined.
19914 Usually this means the macro was only invoked conditionally." >&2;}
19915 { (exit 1); exit 1; }; }
19917 if test -z "${CREATE_JNI_LIBRARIES_TRUE}" && test -z "${CREATE_JNI_LIBRARIES_FALSE}"; then
19918 { { echo "$as_me:$LINENO: error: conditional \"CREATE_JNI_LIBRARIES\" was never defined.
19919 Usually this means the macro was only invoked conditionally." >&5
19920 echo "$as_me: error: conditional \"CREATE_JNI_LIBRARIES\" was never defined.
19921 Usually this means the macro was only invoked conditionally." >&2;}
19922 { (exit 1); exit 1; }; }
19924 if test -z "${CREATE_CORE_JNI_LIBRARIES_TRUE}" && test -z "${CREATE_CORE_JNI_LIBRARIES_FALSE}"; then
19925 { { echo "$as_me:$LINENO: error: conditional \"CREATE_CORE_JNI_LIBRARIES\" was never defined.
19926 Usually this means the macro was only invoked conditionally." >&5
19927 echo "$as_me: error: conditional \"CREATE_CORE_JNI_LIBRARIES\" was never defined.
19928 Usually this means the macro was only invoked conditionally." >&2;}
19929 { (exit 1); exit 1; }; }
19931 if test -z "${CREATE_GCONF_PEER_LIBRARIES_TRUE}" && test -z "${CREATE_GCONF_PEER_LIBRARIES_FALSE}"; then
19932 { { echo "$as_me:$LINENO: error: conditional \"CREATE_GCONF_PEER_LIBRARIES\" was never defined.
19933 Usually this means the macro was only invoked conditionally." >&5
19934 echo "$as_me: error: conditional \"CREATE_GCONF_PEER_LIBRARIES\" was never defined.
19935 Usually this means the macro was only invoked conditionally." >&2;}
19936 { (exit 1); exit 1; }; }
19938 if test -z "${CREATE_XMLJ_LIBRARY_TRUE}" && test -z "${CREATE_XMLJ_LIBRARY_FALSE}"; then
19939 { { echo "$as_me:$LINENO: error: conditional \"CREATE_XMLJ_LIBRARY\" was never defined.
19940 Usually this means the macro was only invoked conditionally." >&5
19941 echo "$as_me: error: conditional \"CREATE_XMLJ_LIBRARY\" was never defined.
19942 Usually this means the macro was only invoked conditionally." >&2;}
19943 { (exit 1); exit 1; }; }
19945 if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
19946 { { echo "$as_me:$LINENO: error: conditional \"AMDEP\" was never defined.
19947 Usually this means the macro was only invoked conditionally." >&5
19948 echo "$as_me: error: conditional \"AMDEP\" was never defined.
19949 Usually this means the macro was only invoked conditionally." >&2;}
19950 { (exit 1); exit 1; }; }
19952 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
19953 { { echo "$as_me:$LINENO: error: conditional \"am__fastdepCC\" was never defined.
19954 Usually this means the macro was only invoked conditionally." >&5
19955 echo "$as_me: error: conditional \"am__fastdepCC\" was never defined.
19956 Usually this means the macro was only invoked conditionally." >&2;}
19957 { (exit 1); exit 1; }; }
19959 if test -z "${CREATE_ALSA_LIBRARIES_TRUE}" && test -z "${CREATE_ALSA_LIBRARIES_FALSE}"; then
19960 { { echo "$as_me:$LINENO: error: conditional \"CREATE_ALSA_LIBRARIES\" was never defined.
19961 Usually this means the macro was only invoked conditionally." >&5
19962 echo "$as_me: error: conditional \"CREATE_ALSA_LIBRARIES\" was never defined.
19963 Usually this means the macro was only invoked conditionally." >&2;}
19964 { (exit 1); exit 1; }; }
19966 if test -z "${CREATE_DSSI_LIBRARIES_TRUE}" && test -z "${CREATE_DSSI_LIBRARIES_FALSE}"; then
19967 { { echo "$as_me:$LINENO: error: conditional \"CREATE_DSSI_LIBRARIES\" was never defined.
19968 Usually this means the macro was only invoked conditionally." >&5
19969 echo "$as_me: error: conditional \"CREATE_DSSI_LIBRARIES\" was never defined.
19970 Usually this means the macro was only invoked conditionally." >&2;}
19971 { (exit 1); exit 1; }; }
19973 if test -z "${CREATE_GTK_PEER_LIBRARIES_TRUE}" && test -z "${CREATE_GTK_PEER_LIBRARIES_FALSE}"; then
19974 { { echo "$as_me:$LINENO: error: conditional \"CREATE_GTK_PEER_LIBRARIES\" was never defined.
19975 Usually this means the macro was only invoked conditionally." >&5
19976 echo "$as_me: error: conditional \"CREATE_GTK_PEER_LIBRARIES\" was never defined.
19977 Usually this means the macro was only invoked conditionally." >&2;}
19978 { (exit 1); exit 1; }; }
19980 if test -z "${CREATE_QT_PEER_LIBRARIES_TRUE}" && test -z "${CREATE_QT_PEER_LIBRARIES_FALSE}"; then
19981 { { echo "$as_me:$LINENO: error: conditional \"CREATE_QT_PEER_LIBRARIES\" was never defined.
19982 Usually this means the macro was only invoked conditionally." >&5
19983 echo "$as_me: error: conditional \"CREATE_QT_PEER_LIBRARIES\" was never defined.
19984 Usually this means the macro was only invoked conditionally." >&2;}
19985 { (exit 1); exit 1; }; }
19987 if test -z "${CREATE_PLUGIN_TRUE}" && test -z "${CREATE_PLUGIN_FALSE}"; then
19988 { { echo "$as_me:$LINENO: error: conditional \"CREATE_PLUGIN\" was never defined.
19989 Usually this means the macro was only invoked conditionally." >&5
19990 echo "$as_me: error: conditional \"CREATE_PLUGIN\" was never defined.
19991 Usually this means the macro was only invoked conditionally." >&2;}
19992 { (exit 1); exit 1; }; }
19994 if test -z "${FOUND_CACAO_TRUE}" && test -z "${FOUND_CACAO_FALSE}"; then
19995 { { echo "$as_me:$LINENO: error: conditional \"FOUND_CACAO\" was never defined.
19996 Usually this means the macro was only invoked conditionally." >&5
19997 echo "$as_me: error: conditional \"FOUND_CACAO\" was never defined.
19998 Usually this means the macro was only invoked conditionally." >&2;}
19999 { (exit 1); exit 1; }; }
20001 if test -z "${CREATE_JNI_HEADERS_TRUE}" && test -z "${CREATE_JNI_HEADERS_FALSE}"; then
20002 { { echo "$as_me:$LINENO: error: conditional \"CREATE_JNI_HEADERS\" was never defined.
20003 Usually this means the macro was only invoked conditionally." >&5
20004 echo "$as_me: error: conditional \"CREATE_JNI_HEADERS\" was never defined.
20005 Usually this means the macro was only invoked conditionally." >&2;}
20006 { (exit 1); exit 1; }; }
20008 if test -z "${CREATE_WRAPPERS_TRUE}" && test -z "${CREATE_WRAPPERS_FALSE}"; then
20009 { { echo "$as_me:$LINENO: error: conditional \"CREATE_WRAPPERS\" was never defined.
20010 Usually this means the macro was only invoked conditionally." >&5
20011 echo "$as_me: error: conditional \"CREATE_WRAPPERS\" was never defined.
20012 Usually this means the macro was only invoked conditionally." >&2;}
20013 { (exit 1); exit 1; }; }
20015 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
20016 { { echo "$as_me:$LINENO: error: conditional \"am__fastdepCC\" was never defined.
20017 Usually this means the macro was only invoked conditionally." >&5
20018 echo "$as_me: error: conditional \"am__fastdepCC\" was never defined.
20019 Usually this means the macro was only invoked conditionally." >&2;}
20020 { (exit 1); exit 1; }; }
20022 if test -z "${am__fastdepCXX_TRUE}" && test -z "${am__fastdepCXX_FALSE}"; then
20023 { { echo "$as_me:$LINENO: error: conditional \"am__fastdepCXX\" was never defined.
20024 Usually this means the macro was only invoked conditionally." >&5
20025 echo "$as_me: error: conditional \"am__fastdepCXX\" was never defined.
20026 Usually this means the macro was only invoked conditionally." >&2;}
20027 { (exit 1); exit 1; }; }
20029 if test -z "${USER_SPECIFIED_JAVAH_TRUE}" && test -z "${USER_SPECIFIED_JAVAH_FALSE}"; then
20030 { { echo "$as_me:$LINENO: error: conditional \"USER_SPECIFIED_JAVAH\" was never defined.
20031 Usually this means the macro was only invoked conditionally." >&5
20032 echo "$as_me: error: conditional \"USER_SPECIFIED_JAVAH\" was never defined.
20033 Usually this means the macro was only invoked conditionally." >&2;}
20034 { (exit 1); exit 1; }; }
20036 if test -z "${FOUND_GCJ_TRUE}" && test -z "${FOUND_GCJ_FALSE}"; then
20037 { { echo "$as_me:$LINENO: error: conditional \"FOUND_GCJ\" was never defined.
20038 Usually this means the macro was only invoked conditionally." >&5
20039 echo "$as_me: error: conditional \"FOUND_GCJ\" was never defined.
20040 Usually this means the macro was only invoked conditionally." >&2;}
20041 { (exit 1); exit 1; }; }
20043 if test -z "${FOUND_JIKES_TRUE}" && test -z "${FOUND_JIKES_FALSE}"; then
20044 { { echo "$as_me:$LINENO: error: conditional \"FOUND_JIKES\" was never defined.
20045 Usually this means the macro was only invoked conditionally." >&5
20046 echo "$as_me: error: conditional \"FOUND_JIKES\" was never defined.
20047 Usually this means the macro was only invoked conditionally." >&2;}
20048 { (exit 1); exit 1; }; }
20050 if test -z "${FOUND_ECJ_TRUE}" && test -z "${FOUND_ECJ_FALSE}"; then
20051 { { echo "$as_me:$LINENO: error: conditional \"FOUND_ECJ\" was never defined.
20052 Usually this means the macro was only invoked conditionally." >&5
20053 echo "$as_me: error: conditional \"FOUND_ECJ\" was never defined.
20054 Usually this means the macro was only invoked conditionally." >&2;}
20055 { (exit 1); exit 1; }; }
20057 if test -z "${FOUND_GCJ_TRUE}" && test -z "${FOUND_GCJ_FALSE}"; then
20058 { { echo "$as_me:$LINENO: error: conditional \"FOUND_GCJ\" was never defined.
20059 Usually this means the macro was only invoked conditionally." >&5
20060 echo "$as_me: error: conditional \"FOUND_GCJ\" was never defined.
20061 Usually this means the macro was only invoked conditionally." >&2;}
20062 { (exit 1); exit 1; }; }
20064 if test -z "${FOUND_JIKES_TRUE}" && test -z "${FOUND_JIKES_FALSE}"; then
20065 { { echo "$as_me:$LINENO: error: conditional \"FOUND_JIKES\" was never defined.
20066 Usually this means the macro was only invoked conditionally." >&5
20067 echo "$as_me: error: conditional \"FOUND_JIKES\" was never defined.
20068 Usually this means the macro was only invoked conditionally." >&2;}
20069 { (exit 1); exit 1; }; }
20071 if test -z "${FOUND_ECJ_TRUE}" && test -z "${FOUND_ECJ_FALSE}"; then
20072 { { echo "$as_me:$LINENO: error: conditional \"FOUND_ECJ\" was never defined.
20073 Usually this means the macro was only invoked conditionally." >&5
20074 echo "$as_me: error: conditional \"FOUND_ECJ\" was never defined.
20075 Usually this means the macro was only invoked conditionally." >&2;}
20076 { (exit 1); exit 1; }; }
20078 if test -z "${FOUND_KJC_TRUE}" && test -z "${FOUND_KJC_FALSE}"; then
20079 { { echo "$as_me:$LINENO: error: conditional \"FOUND_KJC\" was never defined.
20080 Usually this means the macro was only invoked conditionally." >&5
20081 echo "$as_me: error: conditional \"FOUND_KJC\" was never defined.
20082 Usually this means the macro was only invoked conditionally." >&2;}
20083 { (exit 1); exit 1; }; }
20085 if test -z "${FOUND_GCJX_TRUE}" && test -z "${FOUND_GCJX_FALSE}"; then
20086 { { echo "$as_me:$LINENO: error: conditional \"FOUND_GCJX\" was never defined.
20087 Usually this means the macro was only invoked conditionally." >&5
20088 echo "$as_me: error: conditional \"FOUND_GCJX\" was never defined.
20089 Usually this means the macro was only invoked conditionally." >&2;}
20090 { (exit 1); exit 1; }; }
20092 if test -z "${USER_SPECIFIED_CLASSLIB_TRUE}" && test -z "${USER_SPECIFIED_CLASSLIB_FALSE}"; then
20093 { { echo "$as_me:$LINENO: error: conditional \"USER_SPECIFIED_CLASSLIB\" was never defined.
20094 Usually this means the macro was only invoked conditionally." >&5
20095 echo "$as_me: error: conditional \"USER_SPECIFIED_CLASSLIB\" was never defined.
20096 Usually this means the macro was only invoked conditionally." >&2;}
20097 { (exit 1); exit 1; }; }
20099 if test -z "${MAINTAINER_MODE_TRUE}" && test -z "${MAINTAINER_MODE_FALSE}"; then
20100 { { echo "$as_me:$LINENO: error: conditional \"MAINTAINER_MODE\" was never defined.
20101 Usually this means the macro was only invoked conditionally." >&5
20102 echo "$as_me: error: conditional \"MAINTAINER_MODE\" was never defined.
20103 Usually this means the macro was only invoked conditionally." >&2;}
20104 { (exit 1); exit 1; }; }
20106 if test -z "${INSTALL_GLIBJ_ZIP_TRUE}" && test -z "${INSTALL_GLIBJ_ZIP_FALSE}"; then
20107 { { echo "$as_me:$LINENO: error: conditional \"INSTALL_GLIBJ_ZIP\" was never defined.
20108 Usually this means the macro was only invoked conditionally." >&5
20109 echo "$as_me: error: conditional \"INSTALL_GLIBJ_ZIP\" was never defined.
20110 Usually this means the macro was only invoked conditionally." >&2;}
20111 { (exit 1); exit 1; }; }
20113 if test -z "${INSTALL_CLASS_FILES_TRUE}" && test -z "${INSTALL_CLASS_FILES_FALSE}"; then
20114 { { echo "$as_me:$LINENO: error: conditional \"INSTALL_CLASS_FILES\" was never defined.
20115 Usually this means the macro was only invoked conditionally." >&5
20116 echo "$as_me: error: conditional \"INSTALL_CLASS_FILES\" was never defined.
20117 Usually this means the macro was only invoked conditionally." >&2;}
20118 { (exit 1); exit 1; }; }
20120 if test -z "${BUILD_CLASS_FILES_TRUE}" && test -z "${BUILD_CLASS_FILES_FALSE}"; then
20121 { { echo "$as_me:$LINENO: error: conditional \"BUILD_CLASS_FILES\" was never defined.
20122 Usually this means the macro was only invoked conditionally." >&5
20123 echo "$as_me: error: conditional \"BUILD_CLASS_FILES\" was never defined.
20124 Usually this means the macro was only invoked conditionally." >&2;}
20125 { (exit 1); exit 1; }; }
20127 if test -z "${CREATE_API_DOCS_TRUE}" && test -z "${CREATE_API_DOCS_FALSE}"; then
20128 { { echo "$as_me:$LINENO: error: conditional \"CREATE_API_DOCS\" was never defined.
20129 Usually this means the macro was only invoked conditionally." >&5
20130 echo "$as_me: error: conditional \"CREATE_API_DOCS\" was never defined.
20131 Usually this means the macro was only invoked conditionally." >&2;}
20132 { (exit 1); exit 1; }; }
20134 if test -z "${REGEN_PARSERS_TRUE}" && test -z "${REGEN_PARSERS_FALSE}"; then
20135 { { echo "$as_me:$LINENO: error: conditional \"REGEN_PARSERS\" was never defined.
20136 Usually this means the macro was only invoked conditionally." >&5
20137 echo "$as_me: error: conditional \"REGEN_PARSERS\" was never defined.
20138 Usually this means the macro was only invoked conditionally." >&2;}
20139 { (exit 1); exit 1; }; }
20141 if test -z "${USE_PREBUILT_GLIBJ_ZIP_TRUE}" && test -z "${USE_PREBUILT_GLIBJ_ZIP_FALSE}"; then
20142 { { echo "$as_me:$LINENO: error: conditional \"USE_PREBUILT_GLIBJ_ZIP\" was never defined.
20143 Usually this means the macro was only invoked conditionally." >&5
20144 echo "$as_me: error: conditional \"USE_PREBUILT_GLIBJ_ZIP\" was never defined.
20145 Usually this means the macro was only invoked conditionally." >&2;}
20146 { (exit 1); exit 1; }; }
20148 if test -z "${USE_ESCHER_TRUE}" && test -z "${USE_ESCHER_FALSE}"; then
20149 { { echo "$as_me:$LINENO: error: conditional \"USE_ESCHER\" was never defined.
20150 Usually this means the macro was only invoked conditionally." >&5
20151 echo "$as_me: error: conditional \"USE_ESCHER\" was never defined.
20152 Usually this means the macro was only invoked conditionally." >&2;}
20153 { (exit 1); exit 1; }; }
20155 if test -z "${ENABLE_LOCAL_SOCKETS_TRUE}" && test -z "${ENABLE_LOCAL_SOCKETS_FALSE}"; then
20156 { { echo "$as_me:$LINENO: error: conditional \"ENABLE_LOCAL_SOCKETS\" was never defined.
20157 Usually this means the macro was only invoked conditionally." >&5
20158 echo "$as_me: error: conditional \"ENABLE_LOCAL_SOCKETS\" was never defined.
20159 Usually this means the macro was only invoked conditionally." >&2;}
20160 { (exit 1); exit 1; }; }
20163 : ${CONFIG_STATUS=./config.status}
20164 ac_clean_files_save=$ac_clean_files
20165 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
20166 { echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
20167 echo "$as_me: creating $CONFIG_STATUS" >&6;}
20168 cat >$CONFIG_STATUS <<_ACEOF
20170 # Generated by $as_me.
20171 # Run this file to recreate the current configuration.
20172 # Compiler output produced by configure, useful for debugging
20173 # configure, is in config.log if it exists.
20176 ac_cs_recheck=false
20178 SHELL=\${CONFIG_SHELL-$SHELL}
20181 cat >>$CONFIG_STATUS <<\_ACEOF
20182 ## --------------------- ##
20183 ## M4sh Initialization. ##
20184 ## --------------------- ##
20186 # Be Bourne compatible
20187 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
20190 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
20191 # is contrary to our usage. Disable this feature.
20192 alias -g '${1+"$@"}'='"$@"'
20193 elif test -n "${BASH_VERSION+set}" && (set -o posix) >/dev/null 2>&1; then
20196 DUALCASE=1; export DUALCASE # for MKS sh
20198 # Support unset when possible.
20199 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
20206 # Work around bugs in pre-3.0 UWIN ksh.
20207 $as_unset ENV MAIL MAILPATH
20214 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
20215 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
20216 LC_TELEPHONE LC_TIME
20218 if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
20219 eval $as_var=C; export $as_var
20225 # Required to use basename.
20226 if expr a : '\(a\)' >/dev/null 2>&1; then
20232 if (basename /) >/dev/null 2>&1 && test "X`basename / 2>&1`" = "X/"; then
20233 as_basename=basename
20239 # Name of the executable.
20240 as_me=`$as_basename "$0" ||
20241 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
20242 X"$0" : 'X\(//\)$' \| \
20243 X"$0" : 'X\(/\)$' \| \
20244 . : '\(.\)' 2>/dev/null ||
20246 sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; }
20247 /^X\/\(\/\/\)$/{ s//\1/; q; }
20248 /^X\/\(\/\).*/{ s//\1/; q; }
20252 # PATH needs CR, and LINENO needs CR and PATH.
20253 # Avoid depending upon Character Ranges.
20254 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
20255 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
20256 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
20257 as_cr_digits='0123456789'
20258 as_cr_alnum=$as_cr_Letters$as_cr_digits
20260 # The user is always right.
20261 if test "${PATH_SEPARATOR+set}" != set; then
20262 echo "#! /bin/sh" >conf$$.sh
20263 echo "exit 0" >>conf$$.sh
20265 if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
20274 as_lineno_1=$LINENO
20275 as_lineno_2=$LINENO
20276 as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
20277 test "x$as_lineno_1" != "x$as_lineno_2" &&
20278 test "x$as_lineno_3" = "x$as_lineno_2" || {
20279 # Find who we are. Look in the path if we contain no path at all
20282 *[\\/]* ) as_myself=$0 ;;
20283 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
20284 for as_dir in $PATH
20287 test -z "$as_dir" && as_dir=.
20288 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
20293 # We did not find ourselves, most probably we were run as `sh COMMAND'
20294 # in which case we are not to be found in the path.
20295 if test "x$as_myself" = x; then
20298 if test ! -f "$as_myself"; then
20299 { { echo "$as_me:$LINENO: error: cannot find myself; rerun with an absolute path" >&5
20300 echo "$as_me: error: cannot find myself; rerun with an absolute path" >&2;}
20301 { (exit 1); exit 1; }; }
20303 case $CONFIG_SHELL in
20305 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
20306 for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
20309 test -z "$as_dir" && as_dir=.
20310 for as_base in sh bash ksh sh5; do
20313 if ("$as_dir/$as_base" -c '
20314 as_lineno_1=$LINENO
20315 as_lineno_2=$LINENO
20316 as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
20317 test "x$as_lineno_1" != "x$as_lineno_2" &&
20318 test "x$as_lineno_3" = "x$as_lineno_2" ') 2>/dev/null; then
20319 $as_unset BASH_ENV || test "${BASH_ENV+set}" != set || { BASH_ENV=; export BASH_ENV; }
20320 $as_unset ENV || test "${ENV+set}" != set || { ENV=; export ENV; }
20321 CONFIG_SHELL=$as_dir/$as_base
20322 export CONFIG_SHELL
20323 exec "$CONFIG_SHELL" "$0" ${1+"$@"}
20331 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
20332 # uniformly replaced by the line number. The first 'sed' inserts a
20333 # line-number line before each line; the second 'sed' does the real
20334 # work. The second script uses 'N' to pair each line-number line
20335 # with the numbered line, and appends trailing '-' during
20336 # substitution so that $LINENO is not a special case at line end.
20337 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
20338 # second 'sed' script. Blame Lee E. McMahon for sed's syntax. :-)
20339 sed '=' <$as_myself |
20344 s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3,
20347 s,^['$as_cr_digits']*\n,,
20348 ' >$as_me.lineno &&
20349 chmod +x $as_me.lineno ||
20350 { { echo "$as_me:$LINENO: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&5
20351 echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2;}
20352 { (exit 1); exit 1; }; }
20354 # Don't try to exec as it changes $[0], causing all sort of problems
20355 # (the dirname of $[0] is not the place where we might find the
20356 # original and so on. Autoconf is especially sensible to this).
20358 # Exit status is that of the last command.
20363 case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in
20364 *c*,-n*) ECHO_N= ECHO_C='
20366 *c*,* ) ECHO_N=-n ECHO_C= ECHO_T= ;;
20367 *) ECHO_N= ECHO_C='\c' ECHO_T= ;;
20370 if expr a : '\(a\)' >/dev/null 2>&1; then
20376 rm -f conf$$ conf$$.exe conf$$.file
20378 if ln -s conf$$.file conf$$ 2>/dev/null; then
20379 # We could just check for DJGPP; but this test a) works b) is more generic
20380 # and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04).
20381 if test -f conf$$.exe; then
20382 # Don't use ln at all; we don't have any links
20387 elif ln conf$$.file conf$$ 2>/dev/null; then
20392 rm -f conf$$ conf$$.exe conf$$.file
20394 if mkdir -p . 2>/dev/null; then
20397 test -d ./-p && rmdir ./-p
20401 as_executable_p="test -f"
20403 # Sed expression to map a string onto a valid CPP name.
20404 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
20406 # Sed expression to map a string onto a valid variable name.
20407 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
20411 # We need space, tab and new line, in precisely that order.
20421 # Open the log real soon, to keep \$[0] and so on meaningful, and to
20422 # report actual input values of CONFIG_FILES etc. instead of their
20423 # values after options handling. Logging --version etc. is OK.
20427 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
20428 ## Running $as_me. ##
20433 This file was extended by GNU Classpath $as_me 0.94-pre, which was
20434 generated by GNU Autoconf 2.59. Invocation command line was
20436 CONFIG_FILES = $CONFIG_FILES
20437 CONFIG_HEADERS = $CONFIG_HEADERS
20438 CONFIG_LINKS = $CONFIG_LINKS
20439 CONFIG_COMMANDS = $CONFIG_COMMANDS
20443 echo "on `(hostname || uname -n) 2>/dev/null | sed 1q`" >&5
20447 # Files that config.status was made for.
20448 if test -n "$ac_config_files"; then
20449 echo "config_files=\"$ac_config_files\"" >>$CONFIG_STATUS
20452 if test -n "$ac_config_headers"; then
20453 echo "config_headers=\"$ac_config_headers\"" >>$CONFIG_STATUS
20456 if test -n "$ac_config_links"; then
20457 echo "config_links=\"$ac_config_links\"" >>$CONFIG_STATUS
20460 if test -n "$ac_config_commands"; then
20461 echo "config_commands=\"$ac_config_commands\"" >>$CONFIG_STATUS
20464 cat >>$CONFIG_STATUS <<\_ACEOF
20467 \`$as_me' instantiates files from templates according to the
20468 current configuration.
20470 Usage: $0 [OPTIONS] [FILE]...
20472 -h, --help print this help, then exit
20473 -V, --version print version number, then exit
20474 -q, --quiet do not print progress messages
20475 -d, --debug don't remove temporary files
20476 --recheck update $as_me by reconfiguring in the same conditions
20477 --file=FILE[:TEMPLATE]
20478 instantiate the configuration file FILE
20479 --header=FILE[:TEMPLATE]
20480 instantiate the configuration header FILE
20482 Configuration files:
20485 Configuration headers:
20488 Configuration links:
20491 Configuration commands:
20494 Report bugs to <bug-autoconf@gnu.org>."
20497 cat >>$CONFIG_STATUS <<_ACEOF
20499 GNU Classpath config.status 0.94-pre
20500 configured by $0, generated by GNU Autoconf 2.59,
20501 with options \\"`echo "$ac_configure_args" | sed 's/[\\""\`\$]/\\\\&/g'`\\"
20503 Copyright (C) 2003 Free Software Foundation, Inc.
20504 This config.status script is free software; the Free Software Foundation
20505 gives unlimited permission to copy, distribute and modify it."
20510 cat >>$CONFIG_STATUS <<\_ACEOF
20511 # If no file are specified by the user, then we need to provide default
20512 # value. By we need to know if files were specified by the user.
20518 ac_option=`expr "x$1" : 'x\([^=]*\)='`
20519 ac_optarg=`expr "x$1" : 'x[^=]*=\(.*\)'`
20527 *) # This is not an option, so the user has probably given explicit
20530 ac_need_defaults=false;;
20534 # Handling of the options.
20536 cat >>$CONFIG_STATUS <<\_ACEOF
20537 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
20539 --version | --vers* | -V )
20540 echo "$ac_cs_version"; exit 0 ;;
20542 # Conflict between --help and --header
20543 { { echo "$as_me:$LINENO: error: ambiguous option: $1
20544 Try \`$0 --help' for more information." >&5
20545 echo "$as_me: error: ambiguous option: $1
20546 Try \`$0 --help' for more information." >&2;}
20547 { (exit 1); exit 1; }; };;
20548 --help | --hel | -h )
20549 echo "$ac_cs_usage"; exit 0 ;;
20550 --debug | --d* | -d )
20552 --file | --fil | --fi | --f )
20554 CONFIG_FILES="$CONFIG_FILES $ac_optarg"
20555 ac_need_defaults=false;;
20556 --header | --heade | --head | --hea )
20558 CONFIG_HEADERS="$CONFIG_HEADERS $ac_optarg"
20559 ac_need_defaults=false;;
20560 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
20561 | -silent | --silent | --silen | --sile | --sil | --si | --s)
20564 # This is an error.
20565 -*) { { echo "$as_me:$LINENO: error: unrecognized option: $1
20566 Try \`$0 --help' for more information." >&5
20567 echo "$as_me: error: unrecognized option: $1
20568 Try \`$0 --help' for more information." >&2;}
20569 { (exit 1); exit 1; }; } ;;
20571 *) ac_config_targets="$ac_config_targets $1" ;;
20577 ac_configure_extra_args=
20579 if $ac_cs_silent; then
20581 ac_configure_extra_args="$ac_configure_extra_args --silent"
20585 cat >>$CONFIG_STATUS <<_ACEOF
20586 if \$ac_cs_recheck; then
20587 echo "running $SHELL $0 " $ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6
20588 exec $SHELL $0 $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
20593 cat >>$CONFIG_STATUS <<_ACEOF
20595 # INIT-COMMANDS section.
20602 with_multisubdir="$with_multisubdir"
20603 with_multisrctop="$with_multisrctop"
20604 with_target_subdir="$with_target_subdir"
20605 ac_configure_args="${multilib_arg} ${ac_configure_args}"
20606 multi_basedir="$multi_basedir"
20607 CONFIG_SHELL=${CONFIG_SHELL-/bin/sh}
20609 AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
20610 # variables for create stdint.h replacement
20613 ac_stdint_h="$ac_stdint_h"
20614 _ac_stdint_h=`echo "_$PACKAGE-$ac_stdint_h" | $as_tr_cpp`
20615 ac_cv_stdint_message="$ac_cv_stdint_message"
20616 ac_cv_header_stdint_t="$ac_cv_header_stdint_t"
20617 ac_cv_header_stdint_x="$ac_cv_header_stdint_x"
20618 ac_cv_header_stdint_o="$ac_cv_header_stdint_o"
20619 ac_cv_header_stdint_u="$ac_cv_header_stdint_u"
20620 ac_cv_type_uint64_t="$ac_cv_type_uint64_t"
20621 ac_cv_type_u_int64_t="$ac_cv_type_u_int64_t"
20622 ac_cv_char_data_model="$ac_cv_char_data_model"
20623 ac_cv_long_data_model="$ac_cv_long_data_model"
20624 ac_cv_type_int_least32_t="$ac_cv_type_int_least32_t"
20625 ac_cv_type_int_fast32_t="$ac_cv_type_int_fast32_t"
20626 ac_cv_type_intmax_t="$ac_cv_type_intmax_t"
20633 cat >>$CONFIG_STATUS <<\_ACEOF
20634 for ac_config_target in $ac_config_targets
20636 case "$ac_config_target" in
20637 # Handling of arguments.
20638 "lib/mkcollections.pl" ) CONFIG_FILES="$CONFIG_FILES lib/mkcollections.pl" ;;
20639 "Makefile" ) CONFIG_FILES="$CONFIG_FILES Makefile" ;;
20640 "doc/Makefile" ) CONFIG_FILES="$CONFIG_FILES doc/Makefile" ;;
20641 "doc/api/Makefile" ) CONFIG_FILES="$CONFIG_FILES doc/api/Makefile" ;;
20642 "external/Makefile" ) CONFIG_FILES="$CONFIG_FILES external/Makefile" ;;
20643 "external/sax/Makefile" ) CONFIG_FILES="$CONFIG_FILES external/sax/Makefile" ;;
20644 "external/w3c_dom/Makefile" ) CONFIG_FILES="$CONFIG_FILES external/w3c_dom/Makefile" ;;
20645 "external/relaxngDatatype/Makefile" ) CONFIG_FILES="$CONFIG_FILES external/relaxngDatatype/Makefile" ;;
20646 "external/jsr166/Makefile" ) CONFIG_FILES="$CONFIG_FILES external/jsr166/Makefile" ;;
20647 "gnu/classpath/Configuration.java" ) CONFIG_FILES="$CONFIG_FILES gnu/classpath/Configuration.java" ;;
20648 "gnu/java/security/Configuration.java" ) CONFIG_FILES="$CONFIG_FILES gnu/java/security/Configuration.java" ;;
20649 "include/Makefile" ) CONFIG_FILES="$CONFIG_FILES include/Makefile" ;;
20650 "native/Makefile" ) CONFIG_FILES="$CONFIG_FILES native/Makefile" ;;
20651 "native/fdlibm/Makefile" ) CONFIG_FILES="$CONFIG_FILES native/fdlibm/Makefile" ;;
20652 "native/jawt/Makefile" ) CONFIG_FILES="$CONFIG_FILES native/jawt/Makefile" ;;
20653 "native/jni/Makefile" ) CONFIG_FILES="$CONFIG_FILES native/jni/Makefile" ;;
20654 "native/jni/classpath/Makefile" ) CONFIG_FILES="$CONFIG_FILES native/jni/classpath/Makefile" ;;
20655 "native/jni/java-io/Makefile" ) CONFIG_FILES="$CONFIG_FILES native/jni/java-io/Makefile" ;;
20656 "native/jni/java-lang/Makefile" ) CONFIG_FILES="$CONFIG_FILES native/jni/java-lang/Makefile" ;;
20657 "native/jni/java-net/Makefile" ) CONFIG_FILES="$CONFIG_FILES native/jni/java-net/Makefile" ;;
20658 "native/jni/java-nio/Makefile" ) CONFIG_FILES="$CONFIG_FILES native/jni/java-nio/Makefile" ;;
20659 "native/jni/java-util/Makefile" ) CONFIG_FILES="$CONFIG_FILES native/jni/java-util/Makefile" ;;
20660 "native/jni/gtk-peer/Makefile" ) CONFIG_FILES="$CONFIG_FILES native/jni/gtk-peer/Makefile" ;;
20661 "native/jni/gconf-peer/Makefile" ) CONFIG_FILES="$CONFIG_FILES native/jni/gconf-peer/Makefile" ;;
20662 "native/jni/qt-peer/Makefile" ) CONFIG_FILES="$CONFIG_FILES native/jni/qt-peer/Makefile" ;;
20663 "native/jni/xmlj/Makefile" ) CONFIG_FILES="$CONFIG_FILES native/jni/xmlj/Makefile" ;;
20664 "native/jni/midi-alsa/Makefile" ) CONFIG_FILES="$CONFIG_FILES native/jni/midi-alsa/Makefile" ;;
20665 "native/jni/midi-dssi/Makefile" ) CONFIG_FILES="$CONFIG_FILES native/jni/midi-dssi/Makefile" ;;
20666 "native/jni/native-lib/Makefile" ) CONFIG_FILES="$CONFIG_FILES native/jni/native-lib/Makefile" ;;
20667 "native/plugin/Makefile" ) CONFIG_FILES="$CONFIG_FILES native/plugin/Makefile" ;;
20668 "resource/Makefile" ) CONFIG_FILES="$CONFIG_FILES resource/Makefile" ;;
20669 "resource/META-INF/services/java.util.prefs.PreferencesFactory" ) CONFIG_FILES="$CONFIG_FILES resource/META-INF/services/java.util.prefs.PreferencesFactory" ;;
20670 "scripts/Makefile" ) CONFIG_FILES="$CONFIG_FILES scripts/Makefile" ;;
20671 "scripts/classpath.spec" ) CONFIG_FILES="$CONFIG_FILES scripts/classpath.spec" ;;
20672 "lib/Makefile" ) CONFIG_FILES="$CONFIG_FILES lib/Makefile" ;;
20673 "lib/gen-classlist.sh" ) CONFIG_FILES="$CONFIG_FILES lib/gen-classlist.sh" ;;
20674 "lib/copy-vmresources.sh" ) CONFIG_FILES="$CONFIG_FILES lib/copy-vmresources.sh" ;;
20675 "tools/Makefile" ) CONFIG_FILES="$CONFIG_FILES tools/Makefile" ;;
20676 "examples/Makefile" ) CONFIG_FILES="$CONFIG_FILES examples/Makefile" ;;
20677 "examples/Makefile.jawt" ) CONFIG_FILES="$CONFIG_FILES examples/Makefile.jawt" ;;
20678 "examples/Makefile.java2d" ) CONFIG_FILES="$CONFIG_FILES examples/Makefile.java2d" ;;
20679 "tools/gappletviewer" ) CONFIG_FILES="$CONFIG_FILES tools/gappletviewer" ;;
20680 "tools/gjarsigner" ) CONFIG_FILES="$CONFIG_FILES tools/gjarsigner" ;;
20681 "tools/gkeytool" ) CONFIG_FILES="$CONFIG_FILES tools/gkeytool" ;;
20682 "tools/gjar" ) CONFIG_FILES="$CONFIG_FILES tools/gjar" ;;
20683 "tools/gnative2ascii" ) CONFIG_FILES="$CONFIG_FILES tools/gnative2ascii" ;;
20684 "tools/gserialver" ) CONFIG_FILES="$CONFIG_FILES tools/gserialver" ;;
20685 "tools/grmiregistry" ) CONFIG_FILES="$CONFIG_FILES tools/grmiregistry" ;;
20686 "tools/gtnameserv" ) CONFIG_FILES="$CONFIG_FILES tools/gtnameserv" ;;
20687 "tools/gorbd" ) CONFIG_FILES="$CONFIG_FILES tools/gorbd" ;;
20688 "tools/grmid" ) CONFIG_FILES="$CONFIG_FILES tools/grmid" ;;
20689 "tools/grmic" ) CONFIG_FILES="$CONFIG_FILES tools/grmic" ;;
20690 "tools/gjavah" ) CONFIG_FILES="$CONFIG_FILES tools/gjavah" ;;
20691 "$ac_config_links_1" ) CONFIG_LINKS="$CONFIG_LINKS $ac_config_links_1" ;;
20692 "default-1" ) CONFIG_COMMANDS="$CONFIG_COMMANDS default-1" ;;
20693 "depfiles" ) CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;;
20694 "mkcollections.pl" ) CONFIG_COMMANDS="$CONFIG_COMMANDS mkcollections.pl" ;;
20695 "$ac_stdint_h" ) CONFIG_COMMANDS="$CONFIG_COMMANDS $ac_stdint_h" ;;
20696 "gappletviewer" ) CONFIG_COMMANDS="$CONFIG_COMMANDS gappletviewer" ;;
20697 "gjarsigner" ) CONFIG_COMMANDS="$CONFIG_COMMANDS gjarsigner" ;;
20698 "gkeytool" ) CONFIG_COMMANDS="$CONFIG_COMMANDS gkeytool" ;;
20699 "gjar" ) CONFIG_COMMANDS="$CONFIG_COMMANDS gjar" ;;
20700 "gnative2ascii" ) CONFIG_COMMANDS="$CONFIG_COMMANDS gnative2ascii" ;;
20701 "gserialver" ) CONFIG_COMMANDS="$CONFIG_COMMANDS gserialver" ;;
20702 "grmiregistry" ) CONFIG_COMMANDS="$CONFIG_COMMANDS grmiregistry" ;;
20703 "gtnameserv" ) CONFIG_COMMANDS="$CONFIG_COMMANDS gtnameserv" ;;
20704 "gorbd" ) CONFIG_COMMANDS="$CONFIG_COMMANDS gorbd" ;;
20705 "grmid" ) CONFIG_COMMANDS="$CONFIG_COMMANDS grmid" ;;
20706 "grmic" ) CONFIG_COMMANDS="$CONFIG_COMMANDS grmic" ;;
20707 "gjavah" ) CONFIG_COMMANDS="$CONFIG_COMMANDS gjavah" ;;
20708 "gen-classlist" ) CONFIG_COMMANDS="$CONFIG_COMMANDS gen-classlist" ;;
20709 "copy-vmresources" ) CONFIG_COMMANDS="$CONFIG_COMMANDS copy-vmresources" ;;
20710 "include/config.h" ) CONFIG_HEADERS="$CONFIG_HEADERS include/config.h" ;;
20711 *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
20712 echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
20713 { (exit 1); exit 1; }; };;
20717 # If the user did not use the arguments to specify the items to instantiate,
20718 # then the envvar interface is used. Set only those that are not.
20719 # We use the long form for the default assignment because of an extremely
20720 # bizarre bug on SunOS 4.1.3.
20721 if $ac_need_defaults; then
20722 test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
20723 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
20724 test "${CONFIG_LINKS+set}" = set || CONFIG_LINKS=$config_links
20725 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
20728 # Have a temporary directory for convenience. Make it in the build tree
20729 # simply because there is no reason to put it here, and in addition,
20730 # creating and moving files from /tmp can sometimes cause problems.
20731 # Create a temporary directory, and hook for its removal unless debugging.
20734 trap 'exit_status=$?; rm -rf $tmp && exit $exit_status' 0
20735 trap '{ (exit 1); exit 1; }' 1 2 13 15
20738 # Create a (secure) tmp directory for tmp files.
20741 tmp=`(umask 077 && mktemp -d -q "./confstatXXXXXX") 2>/dev/null` &&
20742 test -n "$tmp" && test -d "$tmp"
20745 tmp=./confstat$$-$RANDOM
20746 (umask 077 && mkdir $tmp)
20749 echo "$me: cannot create a temporary directory in ." >&2
20750 { (exit 1); exit 1; }
20755 cat >>$CONFIG_STATUS <<_ACEOF
20758 # CONFIG_FILES section.
20761 # No need to generate the scripts if there are no CONFIG_FILES.
20762 # This happens for instance when ./config.status config.h
20763 if test -n "\$CONFIG_FILES"; then
20764 # Protect against being on the right side of a sed subst in config.status.
20765 sed 's/,@/@@/; s/@,/@@/; s/,;t t\$/@;t t/; /@;t t\$/s/[\\\\&,]/\\\\&/g;
20766 s/@@/,@/; s/@@/@,/; s/@;t t\$/,;t t/' >\$tmp/subs.sed <<\\CEOF
20767 s,@SHELL@,$SHELL,;t t
20768 s,@PATH_SEPARATOR@,$PATH_SEPARATOR,;t t
20769 s,@PACKAGE_NAME@,$PACKAGE_NAME,;t t
20770 s,@PACKAGE_TARNAME@,$PACKAGE_TARNAME,;t t
20771 s,@PACKAGE_VERSION@,$PACKAGE_VERSION,;t t
20772 s,@PACKAGE_STRING@,$PACKAGE_STRING,;t t
20773 s,@PACKAGE_BUGREPORT@,$PACKAGE_BUGREPORT,;t t
20774 s,@exec_prefix@,$exec_prefix,;t t
20775 s,@prefix@,$prefix,;t t
20776 s,@program_transform_name@,$program_transform_name,;t t
20777 s,@bindir@,$bindir,;t t
20778 s,@sbindir@,$sbindir,;t t
20779 s,@libexecdir@,$libexecdir,;t t
20780 s,@datadir@,$datadir,;t t
20781 s,@sysconfdir@,$sysconfdir,;t t
20782 s,@sharedstatedir@,$sharedstatedir,;t t
20783 s,@localstatedir@,$localstatedir,;t t
20784 s,@libdir@,$libdir,;t t
20785 s,@includedir@,$includedir,;t t
20786 s,@oldincludedir@,$oldincludedir,;t t
20787 s,@infodir@,$infodir,;t t
20788 s,@mandir@,$mandir,;t t
20789 s,@build_alias@,$build_alias,;t t
20790 s,@host_alias@,$host_alias,;t t
20791 s,@target_alias@,$target_alias,;t t
20792 s,@DEFS@,$DEFS,;t t
20793 s,@ECHO_C@,$ECHO_C,;t t
20794 s,@ECHO_N@,$ECHO_N,;t t
20795 s,@ECHO_T@,$ECHO_T,;t t
20796 s,@LIBS@,$LIBS,;t t
20797 s,@build@,$build,;t t
20798 s,@build_cpu@,$build_cpu,;t t
20799 s,@build_vendor@,$build_vendor,;t t
20800 s,@build_os@,$build_os,;t t
20801 s,@host@,$host,;t t
20802 s,@host_cpu@,$host_cpu,;t t
20803 s,@host_vendor@,$host_vendor,;t t
20804 s,@host_os@,$host_os,;t t
20805 s,@target@,$target,;t t
20806 s,@target_cpu@,$target_cpu,;t t
20807 s,@target_vendor@,$target_vendor,;t t
20808 s,@target_os@,$target_os,;t t
20809 s,@JAVA_MAINTAINER_MODE_TRUE@,$JAVA_MAINTAINER_MODE_TRUE,;t t
20810 s,@JAVA_MAINTAINER_MODE_FALSE@,$JAVA_MAINTAINER_MODE_FALSE,;t t
20811 s,@multi_basedir@,$multi_basedir,;t t
20812 s,@LIBVERSION@,$LIBVERSION,;t t
20813 s,@CLASSPATH_MODULE@,$CLASSPATH_MODULE,;t t
20814 s,@CLASSPATH_CONVENIENCE@,$CLASSPATH_CONVENIENCE,;t t
20815 s,@INSTALL_PROGRAM@,$INSTALL_PROGRAM,;t t
20816 s,@INSTALL_SCRIPT@,$INSTALL_SCRIPT,;t t
20817 s,@INSTALL_DATA@,$INSTALL_DATA,;t t
20818 s,@CYGPATH_W@,$CYGPATH_W,;t t
20819 s,@PACKAGE@,$PACKAGE,;t t
20820 s,@VERSION@,$VERSION,;t t
20821 s,@ACLOCAL@,$ACLOCAL,;t t
20822 s,@AUTOCONF@,$AUTOCONF,;t t
20823 s,@AUTOMAKE@,$AUTOMAKE,;t t
20824 s,@AUTOHEADER@,$AUTOHEADER,;t t
20825 s,@MAKEINFO@,$MAKEINFO,;t t
20826 s,@install_sh@,$install_sh,;t t
20827 s,@STRIP@,$STRIP,;t t
20828 s,@ac_ct_STRIP@,$ac_ct_STRIP,;t t
20829 s,@INSTALL_STRIP_PROGRAM@,$INSTALL_STRIP_PROGRAM,;t t
20830 s,@mkdir_p@,$mkdir_p,;t t
20832 s,@SET_MAKE@,$SET_MAKE,;t t
20833 s,@am__leading_dot@,$am__leading_dot,;t t
20834 s,@AMTAR@,$AMTAR,;t t
20835 s,@am__tar@,$am__tar,;t t
20836 s,@am__untar@,$am__untar,;t t
20837 s,@CREATE_COLLECTIONS_TRUE@,$CREATE_COLLECTIONS_TRUE,;t t
20838 s,@CREATE_COLLECTIONS_FALSE@,$CREATE_COLLECTIONS_FALSE,;t t
20839 s,@CREATE_JNI_LIBRARIES_TRUE@,$CREATE_JNI_LIBRARIES_TRUE,;t t
20840 s,@CREATE_JNI_LIBRARIES_FALSE@,$CREATE_JNI_LIBRARIES_FALSE,;t t
20841 s,@CREATE_CORE_JNI_LIBRARIES_TRUE@,$CREATE_CORE_JNI_LIBRARIES_TRUE,;t t
20842 s,@CREATE_CORE_JNI_LIBRARIES_FALSE@,$CREATE_CORE_JNI_LIBRARIES_FALSE,;t t
20843 s,@CREATE_GCONF_PEER_LIBRARIES_TRUE@,$CREATE_GCONF_PEER_LIBRARIES_TRUE,;t t
20844 s,@CREATE_GCONF_PEER_LIBRARIES_FALSE@,$CREATE_GCONF_PEER_LIBRARIES_FALSE,;t t
20845 s,@default_toolkit@,$default_toolkit,;t t
20846 s,@CREATE_XMLJ_LIBRARY_TRUE@,$CREATE_XMLJ_LIBRARY_TRUE,;t t
20847 s,@CREATE_XMLJ_LIBRARY_FALSE@,$CREATE_XMLJ_LIBRARY_FALSE,;t t
20849 s,@CFLAGS@,$CFLAGS,;t t
20850 s,@LDFLAGS@,$LDFLAGS,;t t
20851 s,@CPPFLAGS@,$CPPFLAGS,;t t
20852 s,@ac_ct_CC@,$ac_ct_CC,;t t
20853 s,@EXEEXT@,$EXEEXT,;t t
20854 s,@OBJEXT@,$OBJEXT,;t t
20855 s,@DEPDIR@,$DEPDIR,;t t
20856 s,@am__include@,$am__include,;t t
20857 s,@am__quote@,$am__quote,;t t
20858 s,@AMDEP_TRUE@,$AMDEP_TRUE,;t t
20859 s,@AMDEP_FALSE@,$AMDEP_FALSE,;t t
20860 s,@AMDEPBACKSLASH@,$AMDEPBACKSLASH,;t t
20861 s,@CCDEPMODE@,$CCDEPMODE,;t t
20862 s,@am__fastdepCC_TRUE@,$am__fastdepCC_TRUE,;t t
20863 s,@am__fastdepCC_FALSE@,$am__fastdepCC_FALSE,;t t
20865 s,@EGREP@,$EGREP,;t t
20866 s,@CREATE_ALSA_LIBRARIES_TRUE@,$CREATE_ALSA_LIBRARIES_TRUE,;t t
20867 s,@CREATE_ALSA_LIBRARIES_FALSE@,$CREATE_ALSA_LIBRARIES_FALSE,;t t
20868 s,@CREATE_DSSI_LIBRARIES_TRUE@,$CREATE_DSSI_LIBRARIES_TRUE,;t t
20869 s,@CREATE_DSSI_LIBRARIES_FALSE@,$CREATE_DSSI_LIBRARIES_FALSE,;t t
20870 s,@CREATE_GTK_PEER_LIBRARIES_TRUE@,$CREATE_GTK_PEER_LIBRARIES_TRUE,;t t
20871 s,@CREATE_GTK_PEER_LIBRARIES_FALSE@,$CREATE_GTK_PEER_LIBRARIES_FALSE,;t t
20872 s,@CREATE_QT_PEER_LIBRARIES_TRUE@,$CREATE_QT_PEER_LIBRARIES_TRUE,;t t
20873 s,@CREATE_QT_PEER_LIBRARIES_FALSE@,$CREATE_QT_PEER_LIBRARIES_FALSE,;t t
20874 s,@CREATE_PLUGIN_TRUE@,$CREATE_PLUGIN_TRUE,;t t
20875 s,@CREATE_PLUGIN_FALSE@,$CREATE_PLUGIN_FALSE,;t t
20876 s,@toolexeclibdir@,$toolexeclibdir,;t t
20877 s,@nativeexeclibdir@,$nativeexeclibdir,;t t
20878 s,@glibjdir@,$glibjdir,;t t
20879 s,@VM_BINARY@,$VM_BINARY,;t t
20880 s,@FOUND_CACAO_TRUE@,$FOUND_CACAO_TRUE,;t t
20881 s,@FOUND_CACAO_FALSE@,$FOUND_CACAO_FALSE,;t t
20882 s,@CREATE_JNI_HEADERS_TRUE@,$CREATE_JNI_HEADERS_TRUE,;t t
20883 s,@CREATE_JNI_HEADERS_FALSE@,$CREATE_JNI_HEADERS_FALSE,;t t
20884 s,@CREATE_WRAPPERS_TRUE@,$CREATE_WRAPPERS_TRUE,;t t
20885 s,@CREATE_WRAPPERS_FALSE@,$CREATE_WRAPPERS_FALSE,;t t
20886 s,@LN_S@,$LN_S,;t t
20887 s,@RANLIB@,$RANLIB,;t t
20888 s,@ac_ct_RANLIB@,$ac_ct_RANLIB,;t t
20889 s,@LIBTOOL@,$LIBTOOL,;t t
20891 s,@CXXFLAGS@,$CXXFLAGS,;t t
20892 s,@ac_ct_CXX@,$ac_ct_CXX,;t t
20893 s,@CXXDEPMODE@,$CXXDEPMODE,;t t
20894 s,@am__fastdepCXX_TRUE@,$am__fastdepCXX_TRUE,;t t
20895 s,@am__fastdepCXX_FALSE@,$am__fastdepCXX_FALSE,;t t
20896 s,@CXXCPP@,$CXXCPP,;t t
20897 s,@PERL@,$PERL,;t t
20898 s,@COLLECTIONS_PREFIX@,$COLLECTIONS_PREFIX,;t t
20899 s,@LIBMAGIC@,$LIBMAGIC,;t t
20900 s,@LIBICONV@,$LIBICONV,;t t
20901 s,@LTLIBICONV@,$LTLIBICONV,;t t
20902 s,@WARNING_CFLAGS@,$WARNING_CFLAGS,;t t
20903 s,@STRICT_WARNING_CFLAGS@,$STRICT_WARNING_CFLAGS,;t t
20904 s,@ERROR_CFLAGS@,$ERROR_CFLAGS,;t t
20905 s,@PKG_CONFIG@,$PKG_CONFIG,;t t
20906 s,@XML_CFLAGS@,$XML_CFLAGS,;t t
20907 s,@XML_LIBS@,$XML_LIBS,;t t
20908 s,@XSLT_CFLAGS@,$XSLT_CFLAGS,;t t
20909 s,@XSLT_LIBS@,$XSLT_LIBS,;t t
20910 s,@X_CFLAGS@,$X_CFLAGS,;t t
20911 s,@X_PRE_LIBS@,$X_PRE_LIBS,;t t
20912 s,@X_LIBS@,$X_LIBS,;t t
20913 s,@X_EXTRA_LIBS@,$X_EXTRA_LIBS,;t t
20914 s,@GTK_CFLAGS@,$GTK_CFLAGS,;t t
20915 s,@GTK_LIBS@,$GTK_LIBS,;t t
20916 s,@FREETYPE2_CFLAGS@,$FREETYPE2_CFLAGS,;t t
20917 s,@FREETYPE2_LIBS@,$FREETYPE2_LIBS,;t t
20918 s,@PANGOFT2_CFLAGS@,$PANGOFT2_CFLAGS,;t t
20919 s,@PANGOFT2_LIBS@,$PANGOFT2_LIBS,;t t
20920 s,@XTEST_LIBS@,$XTEST_LIBS,;t t
20921 s,@GCONF_CFLAGS@,$GCONF_CFLAGS,;t t
20922 s,@GCONF_LIBS@,$GCONF_LIBS,;t t
20923 s,@GDK_CFLAGS@,$GDK_CFLAGS,;t t
20924 s,@GDK_LIBS@,$GDK_LIBS,;t t
20925 s,@QT_CFLAGS@,$QT_CFLAGS,;t t
20926 s,@QT_LIBS@,$QT_LIBS,;t t
20928 s,@MOZILLA_CFLAGS@,$MOZILLA_CFLAGS,;t t
20929 s,@MOZILLA_LIBS@,$MOZILLA_LIBS,;t t
20930 s,@GLIB_CFLAGS@,$GLIB_CFLAGS,;t t
20931 s,@GLIB_LIBS@,$GLIB_LIBS,;t t
20932 s,@PLUGIN_DIR@,$PLUGIN_DIR,;t t
20933 s,@USER_JAVAH@,$USER_JAVAH,;t t
20934 s,@USER_SPECIFIED_JAVAH_TRUE@,$USER_SPECIFIED_JAVAH_TRUE,;t t
20935 s,@USER_SPECIFIED_JAVAH_FALSE@,$USER_SPECIFIED_JAVAH_FALSE,;t t
20936 s,@CLASSPATH_INCLUDES@,$CLASSPATH_INCLUDES,;t t
20938 s,@JIKES@,$JIKES,;t t
20939 s,@JIKESENCODING@,$JIKESENCODING,;t t
20940 s,@JIKESWARNINGS@,$JIKESWARNINGS,;t t
20942 s,@GCJX@,$GCJX,;t t
20944 s,@FOUND_GCJ_TRUE@,$FOUND_GCJ_TRUE,;t t
20945 s,@FOUND_GCJ_FALSE@,$FOUND_GCJ_FALSE,;t t
20946 s,@FOUND_JIKES_TRUE@,$FOUND_JIKES_TRUE,;t t
20947 s,@FOUND_JIKES_FALSE@,$FOUND_JIKES_FALSE,;t t
20948 s,@FOUND_ECJ_TRUE@,$FOUND_ECJ_TRUE,;t t
20949 s,@FOUND_ECJ_FALSE@,$FOUND_ECJ_FALSE,;t t
20950 s,@FOUND_KJC_TRUE@,$FOUND_KJC_TRUE,;t t
20951 s,@FOUND_KJC_FALSE@,$FOUND_KJC_FALSE,;t t
20952 s,@FOUND_GCJX_TRUE@,$FOUND_GCJX_TRUE,;t t
20953 s,@FOUND_GCJX_FALSE@,$FOUND_GCJX_FALSE,;t t
20954 s,@USER_CLASSLIB@,$USER_CLASSLIB,;t t
20955 s,@USER_SPECIFIED_CLASSLIB_TRUE@,$USER_SPECIFIED_CLASSLIB_TRUE,;t t
20956 s,@USER_SPECIFIED_CLASSLIB_FALSE@,$USER_SPECIFIED_CLASSLIB_FALSE,;t t
20957 s,@vm_classes@,$vm_classes,;t t
20958 s,@MAINTAINER_MODE_TRUE@,$MAINTAINER_MODE_TRUE,;t t
20959 s,@MAINTAINER_MODE_FALSE@,$MAINTAINER_MODE_FALSE,;t t
20960 s,@MAINT@,$MAINT,;t t
20961 s,@LIBDEBUG@,$LIBDEBUG,;t t
20962 s,@INIT_LOAD_LIBRARY@,$INIT_LOAD_LIBRARY,;t t
20963 s,@JAVA_LANG_SYSTEM_EXPLICIT_INITIALIZATION@,$JAVA_LANG_SYSTEM_EXPLICIT_INITIALIZATION,;t t
20964 s,@REMOVE@,$REMOVE,;t t
20965 s,@MKDIR@,$MKDIR,;t t
20967 s,@DATE@,$DATE,;t t
20968 s,@FIND@,$FIND,;t t
20970 s,@FASTJAR@,$FASTJAR,;t t
20971 s,@INSTALL_GLIBJ_ZIP_TRUE@,$INSTALL_GLIBJ_ZIP_TRUE,;t t
20972 s,@INSTALL_GLIBJ_ZIP_FALSE@,$INSTALL_GLIBJ_ZIP_FALSE,;t t
20973 s,@INSTALL_CLASS_FILES_TRUE@,$INSTALL_CLASS_FILES_TRUE,;t t
20974 s,@INSTALL_CLASS_FILES_FALSE@,$INSTALL_CLASS_FILES_FALSE,;t t
20975 s,@BUILD_CLASS_FILES_TRUE@,$BUILD_CLASS_FILES_TRUE,;t t
20976 s,@BUILD_CLASS_FILES_FALSE@,$BUILD_CLASS_FILES_FALSE,;t t
20977 s,@EXAMPLESDIR@,$EXAMPLESDIR,;t t
20978 s,@GJDOC@,$GJDOC,;t t
20979 s,@CREATE_API_DOCS_TRUE@,$CREATE_API_DOCS_TRUE,;t t
20980 s,@CREATE_API_DOCS_FALSE@,$CREATE_API_DOCS_FALSE,;t t
20982 s,@JAY_SKELETON@,$JAY_SKELETON,;t t
20983 s,@REGEN_PARSERS_TRUE@,$REGEN_PARSERS_TRUE,;t t
20984 s,@REGEN_PARSERS_FALSE@,$REGEN_PARSERS_FALSE,;t t
20985 s,@USE_PREBUILT_GLIBJ_ZIP_TRUE@,$USE_PREBUILT_GLIBJ_ZIP_TRUE,;t t
20986 s,@USE_PREBUILT_GLIBJ_ZIP_FALSE@,$USE_PREBUILT_GLIBJ_ZIP_FALSE,;t t
20987 s,@PATH_TO_GLIBJ_ZIP@,$PATH_TO_GLIBJ_ZIP,;t t
20988 s,@USE_ESCHER_TRUE@,$USE_ESCHER_TRUE,;t t
20989 s,@USE_ESCHER_FALSE@,$USE_ESCHER_FALSE,;t t
20990 s,@PATH_TO_ESCHER@,$PATH_TO_ESCHER,;t t
20991 s,@ENABLE_LOCAL_SOCKETS_TRUE@,$ENABLE_LOCAL_SOCKETS_TRUE,;t t
20992 s,@ENABLE_LOCAL_SOCKETS_FALSE@,$ENABLE_LOCAL_SOCKETS_FALSE,;t t
20993 s,@DEFAULT_PREFS_PEER@,$DEFAULT_PREFS_PEER,;t t
20994 s,@LIBOBJS@,$LIBOBJS,;t t
20995 s,@LTLIBOBJS@,$LTLIBOBJS,;t t
21000 cat >>$CONFIG_STATUS <<\_ACEOF
21001 # Split the substitutions into bite-sized pieces for seds with
21002 # small command number limits, like on Digital OSF/1 and HP-UX.
21003 ac_max_sed_lines=48
21004 ac_sed_frag=1 # Number of current file.
21005 ac_beg=1 # First line for current file.
21006 ac_end=$ac_max_sed_lines # Line after last line for current file.
21009 while $ac_more_lines; do
21010 if test $ac_beg -gt 1; then
21011 sed "1,${ac_beg}d; ${ac_end}q" $tmp/subs.sed >$tmp/subs.frag
21013 sed "${ac_end}q" $tmp/subs.sed >$tmp/subs.frag
21015 if test ! -s $tmp/subs.frag; then
21016 ac_more_lines=false
21018 # The purpose of the label and of the branching condition is to
21019 # speed up the sed processing (if there are no `@' at all, there
21020 # is no need to browse any of the substitutions).
21021 # These are the two extra sed commands mentioned above.
21023 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b' && cat $tmp/subs.frag) >$tmp/subs-$ac_sed_frag.sed
21024 if test -z "$ac_sed_cmds"; then
21025 ac_sed_cmds="sed -f $tmp/subs-$ac_sed_frag.sed"
21027 ac_sed_cmds="$ac_sed_cmds | sed -f $tmp/subs-$ac_sed_frag.sed"
21029 ac_sed_frag=`expr $ac_sed_frag + 1`
21031 ac_end=`expr $ac_end + $ac_max_sed_lines`
21034 if test -z "$ac_sed_cmds"; then
21037 fi # test -n "$CONFIG_FILES"
21040 cat >>$CONFIG_STATUS <<\_ACEOF
21041 for ac_file in : $CONFIG_FILES; do test "x$ac_file" = x: && continue
21042 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
21044 - | *:- | *:-:* ) # input from stdin
21046 ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
21047 ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
21048 *:* ) ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
21049 ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
21050 * ) ac_file_in=$ac_file.in ;;
21053 # Compute @srcdir@, @top_srcdir@, and @INSTALL@ for subdirectories.
21054 ac_dir=`(dirname "$ac_file") 2>/dev/null ||
21055 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
21056 X"$ac_file" : 'X\(//\)[^/]' \| \
21057 X"$ac_file" : 'X\(//\)$' \| \
21058 X"$ac_file" : 'X\(/\)' \| \
21059 . : '\(.\)' 2>/dev/null ||
21061 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
21062 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
21063 /^X\(\/\/\)$/{ s//\1/; q; }
21064 /^X\(\/\).*/{ s//\1/; q; }
21066 { if $as_mkdir_p; then
21071 while test ! -d "$as_dir"; do
21072 as_dirs="$as_dir $as_dirs"
21073 as_dir=`(dirname "$as_dir") 2>/dev/null ||
21074 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
21075 X"$as_dir" : 'X\(//\)[^/]' \| \
21076 X"$as_dir" : 'X\(//\)$' \| \
21077 X"$as_dir" : 'X\(/\)' \| \
21078 . : '\(.\)' 2>/dev/null ||
21080 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
21081 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
21082 /^X\(\/\/\)$/{ s//\1/; q; }
21083 /^X\(\/\).*/{ s//\1/; q; }
21086 test ! -n "$as_dirs" || mkdir $as_dirs
21087 fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
21088 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
21089 { (exit 1); exit 1; }; }; }
21093 if test "$ac_dir" != .; then
21094 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
21095 # A "../" for each directory in $ac_dir_suffix.
21096 ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
21098 ac_dir_suffix= ac_top_builddir=
21102 .) # No --srcdir option. We are building in place.
21104 if test -z "$ac_top_builddir"; then
21107 ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
21109 [\\/]* | ?:[\\/]* ) # Absolute path.
21110 ac_srcdir=$srcdir$ac_dir_suffix;
21111 ac_top_srcdir=$srcdir ;;
21112 *) # Relative path.
21113 ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
21114 ac_top_srcdir=$ac_top_builddir$srcdir ;;
21117 # Do not use `cd foo && pwd` to compute absolute paths, because
21118 # the directories may not exist.
21120 .) ac_abs_builddir="$ac_dir";;
21123 .) ac_abs_builddir=`pwd`;;
21124 [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";;
21125 *) ac_abs_builddir=`pwd`/"$ac_dir";;
21128 case $ac_abs_builddir in
21129 .) ac_abs_top_builddir=${ac_top_builddir}.;;
21131 case ${ac_top_builddir}. in
21132 .) ac_abs_top_builddir=$ac_abs_builddir;;
21133 [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;;
21134 *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;;
21137 case $ac_abs_builddir in
21138 .) ac_abs_srcdir=$ac_srcdir;;
21141 .) ac_abs_srcdir=$ac_abs_builddir;;
21142 [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
21143 *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;;
21146 case $ac_abs_builddir in
21147 .) ac_abs_top_srcdir=$ac_top_srcdir;;
21149 case $ac_top_srcdir in
21150 .) ac_abs_top_srcdir=$ac_abs_builddir;;
21151 [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;;
21152 *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;;
21158 [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
21159 *) ac_INSTALL=$ac_top_builddir$INSTALL ;;
21162 if test x"$ac_file" != x-; then
21163 { echo "$as_me:$LINENO: creating $ac_file" >&5
21164 echo "$as_me: creating $ac_file" >&6;}
21167 # Let's still pretend it is `configure' which instantiates (i.e., don't
21168 # use $as_me), people would be surprised to read:
21169 # /* config.h. Generated by config.status. */
21170 if test x"$ac_file" = x-; then
21173 configure_input="$ac_file. "
21175 configure_input=$configure_input"Generated from `echo $ac_file_in |
21176 sed 's,.*/,,'` by configure."
21178 # First look for the input files in the build tree, otherwise in the
21180 ac_file_inputs=`IFS=:
21181 for f in $ac_file_in; do
21183 -) echo $tmp/stdin ;;
21185 # Absolute (can't be DOS-style, as IFS=:)
21186 test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
21187 echo "$as_me: error: cannot find input file: $f" >&2;}
21188 { (exit 1); exit 1; }; }
21191 if test -f "$f"; then
21194 elif test -f "$srcdir/$f"; then
21199 { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
21200 echo "$as_me: error: cannot find input file: $f" >&2;}
21201 { (exit 1); exit 1; }; }
21204 done` || { (exit 1); exit 1; }
21206 cat >>$CONFIG_STATUS <<_ACEOF
21210 cat >>$CONFIG_STATUS <<\_ACEOF
21212 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
21213 s,@configure_input@,$configure_input,;t t
21214 s,@srcdir@,$ac_srcdir,;t t
21215 s,@abs_srcdir@,$ac_abs_srcdir,;t t
21216 s,@top_srcdir@,$ac_top_srcdir,;t t
21217 s,@abs_top_srcdir@,$ac_abs_top_srcdir,;t t
21218 s,@builddir@,$ac_builddir,;t t
21219 s,@abs_builddir@,$ac_abs_builddir,;t t
21220 s,@top_builddir@,$ac_top_builddir,;t t
21221 s,@abs_top_builddir@,$ac_abs_top_builddir,;t t
21222 s,@INSTALL@,$ac_INSTALL,;t t
21223 " $ac_file_inputs | (eval "$ac_sed_cmds") >$tmp/out
21225 if test x"$ac_file" != x-; then
21226 mv $tmp/out $ac_file
21234 cat >>$CONFIG_STATUS <<\_ACEOF
21237 # CONFIG_HEADER section.
21240 # These sed commands are passed to sed as "A NAME B NAME C VALUE D", where
21241 # NAME is the cpp macro being defined and VALUE is the value it is being given.
21243 # ac_d sets the value in "#define NAME VALUE" lines.
21244 ac_dA='s,^\([ ]*\)#\([ ]*define[ ][ ]*\)'
21245 ac_dB='[ ].*$,\1#\2'
21248 # ac_u turns "#undef NAME" without trailing blanks into "#define NAME VALUE".
21249 ac_uA='s,^\([ ]*\)#\([ ]*\)undef\([ ][ ]*\)'
21250 ac_uB='$,\1#\2define\3'
21254 for ac_file in : $CONFIG_HEADERS; do test "x$ac_file" = x: && continue
21255 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
21257 - | *:- | *:-:* ) # input from stdin
21259 ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
21260 ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
21261 *:* ) ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
21262 ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
21263 * ) ac_file_in=$ac_file.in ;;
21266 test x"$ac_file" != x- && { echo "$as_me:$LINENO: creating $ac_file" >&5
21267 echo "$as_me: creating $ac_file" >&6;}
21269 # First look for the input files in the build tree, otherwise in the
21271 ac_file_inputs=`IFS=:
21272 for f in $ac_file_in; do
21274 -) echo $tmp/stdin ;;
21276 # Absolute (can't be DOS-style, as IFS=:)
21277 test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
21278 echo "$as_me: error: cannot find input file: $f" >&2;}
21279 { (exit 1); exit 1; }; }
21280 # Do quote $f, to prevent DOS paths from being IFS'd.
21283 if test -f "$f"; then
21286 elif test -f "$srcdir/$f"; then
21291 { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
21292 echo "$as_me: error: cannot find input file: $f" >&2;}
21293 { (exit 1); exit 1; }; }
21296 done` || { (exit 1); exit 1; }
21297 # Remove the trailing spaces.
21298 sed 's/[ ]*$//' $ac_file_inputs >$tmp/in
21302 # Transform confdefs.h into two sed scripts, `conftest.defines' and
21303 # `conftest.undefs', that substitutes the proper values into
21304 # config.h.in to produce config.h. The first handles `#define'
21305 # templates, and the second `#undef' templates.
21306 # And first: Protect against being on the right side of a sed subst in
21307 # config.status. Protect against being in an unquoted here document
21308 # in config.status.
21309 rm -f conftest.defines conftest.undefs
21310 # Using a here document instead of a string reduces the quoting nightmare.
21311 # Putting comments in sed scripts is not portable.
21313 # `end' is used to avoid that the second main sed command (meant for
21314 # 0-ary CPP macros) applies to n-ary macro definitions.
21315 # See the Autoconf documentation for `clear'.
21316 cat >confdef2sed.sed <<\_ACEOF
21321 s,^[ ]*#[ ]*define[ ][ ]*\([^ (][^ (]*\)\(([^)]*)\)[ ]*\(.*\)$,${ac_dA}\1${ac_dB}\1\2${ac_dC}\3${ac_dD},gp
21323 s,^[ ]*#[ ]*define[ ][ ]*\([^ ][^ ]*\)[ ]*\(.*\)$,${ac_dA}\1${ac_dB}\1${ac_dC}\2${ac_dD},gp
21326 # If some macros were called several times there might be several times
21327 # the same #defines, which is useless. Nevertheless, we may not want to
21328 # sort them, since we want the *last* AC-DEFINE to be honored.
21329 uniq confdefs.h | sed -n -f confdef2sed.sed >conftest.defines
21330 sed 's/ac_d/ac_u/g' conftest.defines >conftest.undefs
21331 rm -f confdef2sed.sed
21333 # This sed command replaces #undef with comments. This is necessary, for
21334 # example, in the case of _POSIX_SOURCE, which is predefined and required
21335 # on some systems where configure will not decide to define it.
21336 cat >>conftest.undefs <<\_ACEOF
21337 s,^[ ]*#[ ]*undef[ ][ ]*[a-zA-Z_][a-zA-Z_0-9]*,/* & */,
21340 # Break up conftest.defines because some shells have a limit on the size
21341 # of here documents, and old seds have small limits too (100 cmds).
21342 echo ' # Handle all the #define templates only if necessary.' >>$CONFIG_STATUS
21343 echo ' if grep "^[ ]*#[ ]*define" $tmp/in >/dev/null; then' >>$CONFIG_STATUS
21344 echo ' # If there are no defines, we may have an empty if/fi' >>$CONFIG_STATUS
21345 echo ' :' >>$CONFIG_STATUS
21346 rm -f conftest.tail
21347 while grep . conftest.defines >/dev/null
21349 # Write a limited-size here document to $tmp/defines.sed.
21350 echo ' cat >$tmp/defines.sed <<CEOF' >>$CONFIG_STATUS
21351 # Speed up: don't consider the non `#define' lines.
21352 echo '/^[ ]*#[ ]*define/!b' >>$CONFIG_STATUS
21353 # Work around the forget-to-reset-the-flag bug.
21354 echo 't clr' >>$CONFIG_STATUS
21355 echo ': clr' >>$CONFIG_STATUS
21356 sed ${ac_max_here_lines}q conftest.defines >>$CONFIG_STATUS
21358 sed -f $tmp/defines.sed $tmp/in >$tmp/out
21360 mv $tmp/out $tmp/in
21362 sed 1,${ac_max_here_lines}d conftest.defines >conftest.tail
21363 rm -f conftest.defines
21364 mv conftest.tail conftest.defines
21366 rm -f conftest.defines
21367 echo ' fi # grep' >>$CONFIG_STATUS
21368 echo >>$CONFIG_STATUS
21370 # Break up conftest.undefs because some shells have a limit on the size
21371 # of here documents, and old seds have small limits too (100 cmds).
21372 echo ' # Handle all the #undef templates' >>$CONFIG_STATUS
21373 rm -f conftest.tail
21374 while grep . conftest.undefs >/dev/null
21376 # Write a limited-size here document to $tmp/undefs.sed.
21377 echo ' cat >$tmp/undefs.sed <<CEOF' >>$CONFIG_STATUS
21378 # Speed up: don't consider the non `#undef'
21379 echo '/^[ ]*#[ ]*undef/!b' >>$CONFIG_STATUS
21380 # Work around the forget-to-reset-the-flag bug.
21381 echo 't clr' >>$CONFIG_STATUS
21382 echo ': clr' >>$CONFIG_STATUS
21383 sed ${ac_max_here_lines}q conftest.undefs >>$CONFIG_STATUS
21385 sed -f $tmp/undefs.sed $tmp/in >$tmp/out
21387 mv $tmp/out $tmp/in
21389 sed 1,${ac_max_here_lines}d conftest.undefs >conftest.tail
21390 rm -f conftest.undefs
21391 mv conftest.tail conftest.undefs
21393 rm -f conftest.undefs
21395 cat >>$CONFIG_STATUS <<\_ACEOF
21396 # Let's still pretend it is `configure' which instantiates (i.e., don't
21397 # use $as_me), people would be surprised to read:
21398 # /* config.h. Generated by config.status. */
21399 if test x"$ac_file" = x-; then
21400 echo "/* Generated by configure. */" >$tmp/config.h
21402 echo "/* $ac_file. Generated by configure. */" >$tmp/config.h
21404 cat $tmp/in >>$tmp/config.h
21406 if test x"$ac_file" != x-; then
21407 if diff $ac_file $tmp/config.h >/dev/null 2>&1; then
21408 { echo "$as_me:$LINENO: $ac_file is unchanged" >&5
21409 echo "$as_me: $ac_file is unchanged" >&6;}
21411 ac_dir=`(dirname "$ac_file") 2>/dev/null ||
21412 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
21413 X"$ac_file" : 'X\(//\)[^/]' \| \
21414 X"$ac_file" : 'X\(//\)$' \| \
21415 X"$ac_file" : 'X\(/\)' \| \
21416 . : '\(.\)' 2>/dev/null ||
21418 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
21419 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
21420 /^X\(\/\/\)$/{ s//\1/; q; }
21421 /^X\(\/\).*/{ s//\1/; q; }
21423 { if $as_mkdir_p; then
21428 while test ! -d "$as_dir"; do
21429 as_dirs="$as_dir $as_dirs"
21430 as_dir=`(dirname "$as_dir") 2>/dev/null ||
21431 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
21432 X"$as_dir" : 'X\(//\)[^/]' \| \
21433 X"$as_dir" : 'X\(//\)$' \| \
21434 X"$as_dir" : 'X\(/\)' \| \
21435 . : '\(.\)' 2>/dev/null ||
21437 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
21438 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
21439 /^X\(\/\/\)$/{ s//\1/; q; }
21440 /^X\(\/\).*/{ s//\1/; q; }
21443 test ! -n "$as_dirs" || mkdir $as_dirs
21444 fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
21445 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
21446 { (exit 1); exit 1; }; }; }
21449 mv $tmp/config.h $ac_file
21453 rm -f $tmp/config.h
21455 # Compute $ac_file's index in $config_headers.
21457 for _am_header in $config_headers :; do
21458 case $_am_header in
21459 $ac_file | $ac_file:* )
21462 _am_stamp_count=`expr $_am_stamp_count + 1` ;;
21465 echo "timestamp for $ac_file" >`(dirname $ac_file) 2>/dev/null ||
21466 $as_expr X$ac_file : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
21467 X$ac_file : 'X\(//\)[^/]' \| \
21468 X$ac_file : 'X\(//\)$' \| \
21469 X$ac_file : 'X\(/\)' \| \
21470 . : '\(.\)' 2>/dev/null ||
21472 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
21473 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
21474 /^X\(\/\/\)$/{ s//\1/; q; }
21475 /^X\(\/\).*/{ s//\1/; q; }
21476 s/.*/./; q'`/stamp-h$_am_stamp_count
21479 cat >>$CONFIG_STATUS <<\_ACEOF
21482 # CONFIG_LINKS section.
21485 for ac_file in : $CONFIG_LINKS; do test "x$ac_file" = x: && continue
21486 ac_dest=`echo "$ac_file" | sed 's,:.*,,'`
21487 ac_source=`echo "$ac_file" | sed 's,[^:]*:,,'`
21489 { echo "$as_me:$LINENO: linking $srcdir/$ac_source to $ac_dest" >&5
21490 echo "$as_me: linking $srcdir/$ac_source to $ac_dest" >&6;}
21492 if test ! -r $srcdir/$ac_source; then
21493 { { echo "$as_me:$LINENO: error: $srcdir/$ac_source: file not found" >&5
21494 echo "$as_me: error: $srcdir/$ac_source: file not found" >&2;}
21495 { (exit 1); exit 1; }; }
21499 # Make relative symlinks.
21500 ac_dest_dir=`(dirname "$ac_dest") 2>/dev/null ||
21501 $as_expr X"$ac_dest" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
21502 X"$ac_dest" : 'X\(//\)[^/]' \| \
21503 X"$ac_dest" : 'X\(//\)$' \| \
21504 X"$ac_dest" : 'X\(/\)' \| \
21505 . : '\(.\)' 2>/dev/null ||
21507 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
21508 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
21509 /^X\(\/\/\)$/{ s//\1/; q; }
21510 /^X\(\/\).*/{ s//\1/; q; }
21512 { if $as_mkdir_p; then
21513 mkdir -p "$ac_dest_dir"
21515 as_dir="$ac_dest_dir"
21517 while test ! -d "$as_dir"; do
21518 as_dirs="$as_dir $as_dirs"
21519 as_dir=`(dirname "$as_dir") 2>/dev/null ||
21520 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
21521 X"$as_dir" : 'X\(//\)[^/]' \| \
21522 X"$as_dir" : 'X\(//\)$' \| \
21523 X"$as_dir" : 'X\(/\)' \| \
21524 . : '\(.\)' 2>/dev/null ||
21526 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
21527 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
21528 /^X\(\/\/\)$/{ s//\1/; q; }
21529 /^X\(\/\).*/{ s//\1/; q; }
21532 test ! -n "$as_dirs" || mkdir $as_dirs
21533 fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dest_dir\"" >&5
21534 echo "$as_me: error: cannot create directory \"$ac_dest_dir\"" >&2;}
21535 { (exit 1); exit 1; }; }; }
21539 if test "$ac_dest_dir" != .; then
21540 ac_dir_suffix=/`echo "$ac_dest_dir" | sed 's,^\.[\\/],,'`
21541 # A "../" for each directory in $ac_dir_suffix.
21542 ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
21544 ac_dir_suffix= ac_top_builddir=
21548 .) # No --srcdir option. We are building in place.
21550 if test -z "$ac_top_builddir"; then
21553 ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
21555 [\\/]* | ?:[\\/]* ) # Absolute path.
21556 ac_srcdir=$srcdir$ac_dir_suffix;
21557 ac_top_srcdir=$srcdir ;;
21558 *) # Relative path.
21559 ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
21560 ac_top_srcdir=$ac_top_builddir$srcdir ;;
21563 # Do not use `cd foo && pwd` to compute absolute paths, because
21564 # the directories may not exist.
21566 .) ac_abs_builddir="$ac_dest_dir";;
21568 case "$ac_dest_dir" in
21569 .) ac_abs_builddir=`pwd`;;
21570 [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dest_dir";;
21571 *) ac_abs_builddir=`pwd`/"$ac_dest_dir";;
21574 case $ac_abs_builddir in
21575 .) ac_abs_top_builddir=${ac_top_builddir}.;;
21577 case ${ac_top_builddir}. in
21578 .) ac_abs_top_builddir=$ac_abs_builddir;;
21579 [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;;
21580 *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;;
21583 case $ac_abs_builddir in
21584 .) ac_abs_srcdir=$ac_srcdir;;
21587 .) ac_abs_srcdir=$ac_abs_builddir;;
21588 [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
21589 *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;;
21592 case $ac_abs_builddir in
21593 .) ac_abs_top_srcdir=$ac_top_srcdir;;
21595 case $ac_top_srcdir in
21596 .) ac_abs_top_srcdir=$ac_abs_builddir;;
21597 [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;;
21598 *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;;
21604 [\\/$]* | ?:[\\/]* ) ac_rel_source=$srcdir/$ac_source ;;
21605 *) ac_rel_source=$ac_top_builddir$srcdir/$ac_source ;;
21608 # Try a symlink, then a hard link, then a copy.
21609 ln -s $ac_rel_source $ac_dest 2>/dev/null ||
21610 ln $srcdir/$ac_source $ac_dest 2>/dev/null ||
21611 cp -p $srcdir/$ac_source $ac_dest ||
21612 { { echo "$as_me:$LINENO: error: cannot link or copy $srcdir/$ac_source to $ac_dest" >&5
21613 echo "$as_me: error: cannot link or copy $srcdir/$ac_source to $ac_dest" >&2;}
21614 { (exit 1); exit 1; }; }
21617 cat >>$CONFIG_STATUS <<\_ACEOF
21620 # CONFIG_COMMANDS section.
21622 for ac_file in : $CONFIG_COMMANDS; do test "x$ac_file" = x: && continue
21623 ac_dest=`echo "$ac_file" | sed 's,:.*,,'`
21624 ac_source=`echo "$ac_file" | sed 's,[^:]*:,,'`
21625 ac_dir=`(dirname "$ac_dest") 2>/dev/null ||
21626 $as_expr X"$ac_dest" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
21627 X"$ac_dest" : 'X\(//\)[^/]' \| \
21628 X"$ac_dest" : 'X\(//\)$' \| \
21629 X"$ac_dest" : 'X\(/\)' \| \
21630 . : '\(.\)' 2>/dev/null ||
21632 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
21633 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
21634 /^X\(\/\/\)$/{ s//\1/; q; }
21635 /^X\(\/\).*/{ s//\1/; q; }
21637 { if $as_mkdir_p; then
21642 while test ! -d "$as_dir"; do
21643 as_dirs="$as_dir $as_dirs"
21644 as_dir=`(dirname "$as_dir") 2>/dev/null ||
21645 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
21646 X"$as_dir" : 'X\(//\)[^/]' \| \
21647 X"$as_dir" : 'X\(//\)$' \| \
21648 X"$as_dir" : 'X\(/\)' \| \
21649 . : '\(.\)' 2>/dev/null ||
21651 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
21652 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
21653 /^X\(\/\/\)$/{ s//\1/; q; }
21654 /^X\(\/\).*/{ s//\1/; q; }
21657 test ! -n "$as_dirs" || mkdir $as_dirs
21658 fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
21659 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
21660 { (exit 1); exit 1; }; }; }
21664 if test "$ac_dir" != .; then
21665 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
21666 # A "../" for each directory in $ac_dir_suffix.
21667 ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
21669 ac_dir_suffix= ac_top_builddir=
21673 .) # No --srcdir option. We are building in place.
21675 if test -z "$ac_top_builddir"; then
21678 ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
21680 [\\/]* | ?:[\\/]* ) # Absolute path.
21681 ac_srcdir=$srcdir$ac_dir_suffix;
21682 ac_top_srcdir=$srcdir ;;
21683 *) # Relative path.
21684 ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
21685 ac_top_srcdir=$ac_top_builddir$srcdir ;;
21688 # Do not use `cd foo && pwd` to compute absolute paths, because
21689 # the directories may not exist.
21691 .) ac_abs_builddir="$ac_dir";;
21694 .) ac_abs_builddir=`pwd`;;
21695 [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";;
21696 *) ac_abs_builddir=`pwd`/"$ac_dir";;
21699 case $ac_abs_builddir in
21700 .) ac_abs_top_builddir=${ac_top_builddir}.;;
21702 case ${ac_top_builddir}. in
21703 .) ac_abs_top_builddir=$ac_abs_builddir;;
21704 [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;;
21705 *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;;
21708 case $ac_abs_builddir in
21709 .) ac_abs_srcdir=$ac_srcdir;;
21712 .) ac_abs_srcdir=$ac_abs_builddir;;
21713 [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
21714 *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;;
21717 case $ac_abs_builddir in
21718 .) ac_abs_top_srcdir=$ac_top_srcdir;;
21720 case $ac_top_srcdir in
21721 .) ac_abs_top_srcdir=$ac_abs_builddir;;
21722 [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;;
21723 *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;;
21728 { echo "$as_me:$LINENO: executing $ac_dest commands" >&5
21729 echo "$as_me: executing $ac_dest commands" >&6;}
21732 # Only add multilib support code if we just rebuilt the top-level
21734 case " $CONFIG_FILES " in
21736 ac_file=Makefile . ${multi_basedir}/config-ml.in
21739 depfiles ) test x"$AMDEP_TRUE" != x"" || for mf in $CONFIG_FILES; do
21740 # Strip MF so we end up with the name of the file.
21741 mf=`echo "$mf" | sed -e 's/:.*$//'`
21742 # Check whether this is an Automake generated Makefile or not.
21743 # We used to match only the files named `Makefile.in', but
21744 # some people rename them; so instead we look at the file content.
21745 # Grep'ing the first line is not enough: some people post-process
21746 # each Makefile.in and add a new line on top of each file to say so.
21747 # So let's grep whole file.
21748 if grep '^#.*generated by automake' $mf > /dev/null 2>&1; then
21749 dirpart=`(dirname "$mf") 2>/dev/null ||
21750 $as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
21751 X"$mf" : 'X\(//\)[^/]' \| \
21752 X"$mf" : 'X\(//\)$' \| \
21753 X"$mf" : 'X\(/\)' \| \
21754 . : '\(.\)' 2>/dev/null ||
21756 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
21757 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
21758 /^X\(\/\/\)$/{ s//\1/; q; }
21759 /^X\(\/\).*/{ s//\1/; q; }
21764 # Extract the definition of DEPDIR, am__include, and am__quote
21765 # from the Makefile without running `make'.
21766 DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"`
21767 test -z "$DEPDIR" && continue
21768 am__include=`sed -n 's/^am__include = //p' < "$mf"`
21769 test -z "am__include" && continue
21770 am__quote=`sed -n 's/^am__quote = //p' < "$mf"`
21771 # When using ansi2knr, U may be empty or an underscore; expand it
21772 U=`sed -n 's/^U = //p' < "$mf"`
21773 # Find all dependency output files, they are included files with
21774 # $(DEPDIR) in their names. We invoke sed twice because it is the
21775 # simplest approach to changing $(DEPDIR) to its actual value in the
21777 for file in `sed -n "
21778 s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
21779 sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do
21780 # Make sure the directory exists.
21781 test -f "$dirpart/$file" && continue
21782 fdir=`(dirname "$file") 2>/dev/null ||
21783 $as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
21784 X"$file" : 'X\(//\)[^/]' \| \
21785 X"$file" : 'X\(//\)$' \| \
21786 X"$file" : 'X\(/\)' \| \
21787 . : '\(.\)' 2>/dev/null ||
21789 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
21790 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
21791 /^X\(\/\/\)$/{ s//\1/; q; }
21792 /^X\(\/\).*/{ s//\1/; q; }
21794 { if $as_mkdir_p; then
21795 mkdir -p $dirpart/$fdir
21797 as_dir=$dirpart/$fdir
21799 while test ! -d "$as_dir"; do
21800 as_dirs="$as_dir $as_dirs"
21801 as_dir=`(dirname "$as_dir") 2>/dev/null ||
21802 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
21803 X"$as_dir" : 'X\(//\)[^/]' \| \
21804 X"$as_dir" : 'X\(//\)$' \| \
21805 X"$as_dir" : 'X\(/\)' \| \
21806 . : '\(.\)' 2>/dev/null ||
21808 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
21809 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
21810 /^X\(\/\/\)$/{ s//\1/; q; }
21811 /^X\(\/\).*/{ s//\1/; q; }
21814 test ! -n "$as_dirs" || mkdir $as_dirs
21815 fi || { { echo "$as_me:$LINENO: error: cannot create directory $dirpart/$fdir" >&5
21816 echo "$as_me: error: cannot create directory $dirpart/$fdir" >&2;}
21817 { (exit 1); exit 1; }; }; }
21819 # echo "creating $dirpart/$file"
21820 echo '# dummy' > "$dirpart/$file"
21824 mkcollections.pl ) chmod 755 lib/mkcollections.pl ;;
21826 { echo "$as_me:$LINENO: creating $ac_stdint_h : $_ac_stdint_h" >&5
21827 echo "$as_me: creating $ac_stdint_h : $_ac_stdint_h" >&6;}
21828 ac_stdint=$tmp/_stdint.h
21830 echo "#ifndef" $_ac_stdint_h >$ac_stdint
21831 echo "#define" $_ac_stdint_h "1" >>$ac_stdint
21832 echo "#ifndef" _GENERATED_STDINT_H >>$ac_stdint
21833 echo "#define" _GENERATED_STDINT_H '"'$PACKAGE $VERSION'"' >>$ac_stdint
21834 echo "/* generated $ac_cv_stdint_message */" >>$ac_stdint
21835 if test "_$ac_cv_header_stdint_t" != "_" ; then
21836 echo "#define _STDINT_HAVE_STDINT_H" "1" >>$ac_stdint
21837 echo "#include <stdint.h>" >>$ac_stdint
21838 echo "#endif" >>$ac_stdint
21839 echo "#endif" >>$ac_stdint
21842 cat >>$ac_stdint <<STDINT_EOF
21844 /* ................... shortcircuit part ........................... */
21846 #if defined HAVE_STDINT_H || defined _STDINT_HAVE_STDINT_H
21847 #include <stdint.h>
21849 #include <stddef.h>
21851 /* .................... configured part ............................ */
21855 echo "/* whether we have a C99 compatible stdint header file */" >>$ac_stdint
21856 if test "_$ac_cv_header_stdint_x" != "_" ; then
21857 ac_header="$ac_cv_header_stdint_x"
21858 echo "#define _STDINT_HEADER_INTPTR" '"'"$ac_header"'"' >>$ac_stdint
21860 echo "/* #undef _STDINT_HEADER_INTPTR */" >>$ac_stdint
21863 echo "/* whether we have a C96 compatible inttypes header file */" >>$ac_stdint
21864 if test "_$ac_cv_header_stdint_o" != "_" ; then
21865 ac_header="$ac_cv_header_stdint_o"
21866 echo "#define _STDINT_HEADER_UINT32" '"'"$ac_header"'"' >>$ac_stdint
21868 echo "/* #undef _STDINT_HEADER_UINT32 */" >>$ac_stdint
21871 echo "/* whether we have a BSD compatible inet types header */" >>$ac_stdint
21872 if test "_$ac_cv_header_stdint_u" != "_" ; then
21873 ac_header="$ac_cv_header_stdint_u"
21874 echo "#define _STDINT_HEADER_U_INT32" '"'"$ac_header"'"' >>$ac_stdint
21876 echo "/* #undef _STDINT_HEADER_U_INT32 */" >>$ac_stdint
21879 echo "" >>$ac_stdint
21881 if test "_$ac_header" != "_" ; then if test "$ac_header" != "stddef.h" ; then
21882 echo "#include <$ac_header>" >>$ac_stdint
21883 echo "" >>$ac_stdint
21886 echo "/* which 64bit typedef has been found */" >>$ac_stdint
21887 if test "$ac_cv_type_uint64_t" = "yes" ; then
21888 echo "#define _STDINT_HAVE_UINT64_T" "1" >>$ac_stdint
21890 echo "/* #undef _STDINT_HAVE_UINT64_T */" >>$ac_stdint
21892 if test "$ac_cv_type_u_int64_t" = "yes" ; then
21893 echo "#define _STDINT_HAVE_U_INT64_T" "1" >>$ac_stdint
21895 echo "/* #undef _STDINT_HAVE_U_INT64_T */" >>$ac_stdint
21897 echo "" >>$ac_stdint
21899 echo "/* which type model has been detected */" >>$ac_stdint
21900 if test "_$ac_cv_char_data_model" != "_" ; then
21901 echo "#define _STDINT_CHAR_MODEL" "$ac_cv_char_data_model" >>$ac_stdint
21902 echo "#define _STDINT_LONG_MODEL" "$ac_cv_long_data_model" >>$ac_stdint
21904 echo "/* #undef _STDINT_CHAR_MODEL // skipped */" >>$ac_stdint
21905 echo "/* #undef _STDINT_LONG_MODEL // skipped */" >>$ac_stdint
21907 echo "" >>$ac_stdint
21909 echo "/* whether int_least types were detected */" >>$ac_stdint
21910 if test "$ac_cv_type_int_least32_t" = "yes"; then
21911 echo "#define _STDINT_HAVE_INT_LEAST32_T" "1" >>$ac_stdint
21913 echo "/* #undef _STDINT_HAVE_INT_LEAST32_T */" >>$ac_stdint
21915 echo "/* whether int_fast types were detected */" >>$ac_stdint
21916 if test "$ac_cv_type_int_fast32_t" = "yes"; then
21917 echo "#define _STDINT_HAVE_INT_FAST32_T" "1" >>$ac_stdint
21919 echo "/* #undef _STDINT_HAVE_INT_FAST32_T */" >>$ac_stdint
21921 echo "/* whether intmax_t type was detected */" >>$ac_stdint
21922 if test "$ac_cv_type_intmax_t" = "yes"; then
21923 echo "#define _STDINT_HAVE_INTMAX_T" "1" >>$ac_stdint
21925 echo "/* #undef _STDINT_HAVE_INTMAX_T */" >>$ac_stdint
21927 echo "" >>$ac_stdint
21929 cat >>$ac_stdint <<STDINT_EOF
21930 /* .................... detections part ............................ */
21932 /* whether we need to define bitspecific types from compiler base types */
21933 #ifndef _STDINT_HEADER_INTPTR
21934 #ifndef _STDINT_HEADER_UINT32
21935 #ifndef _STDINT_HEADER_U_INT32
21936 #define _STDINT_NEED_INT_MODEL_T
21938 #define _STDINT_HAVE_U_INT_TYPES
21943 #ifdef _STDINT_HAVE_U_INT_TYPES
21944 #undef _STDINT_NEED_INT_MODEL_T
21947 #ifdef _STDINT_CHAR_MODEL
21948 #if _STDINT_CHAR_MODEL+0 == 122 || _STDINT_CHAR_MODEL+0 == 124
21949 #ifndef _STDINT_BYTE_MODEL
21950 #define _STDINT_BYTE_MODEL 12
21955 #ifndef _STDINT_HAVE_INT_LEAST32_T
21956 #define _STDINT_NEED_INT_LEAST_T
21959 #ifndef _STDINT_HAVE_INT_FAST32_T
21960 #define _STDINT_NEED_INT_FAST_T
21963 #ifndef _STDINT_HEADER_INTPTR
21964 #define _STDINT_NEED_INTPTR_T
21965 #ifndef _STDINT_HAVE_INTMAX_T
21966 #define _STDINT_NEED_INTMAX_T
21971 /* .................... definition part ............................ */
21973 /* some system headers have good uint64_t */
21974 #ifndef _HAVE_UINT64_T
21975 #if defined _STDINT_HAVE_UINT64_T || defined HAVE_UINT64_T
21976 #define _HAVE_UINT64_T
21977 #elif defined _STDINT_HAVE_U_INT64_T || defined HAVE_U_INT64_T
21978 #define _HAVE_UINT64_T
21979 typedef u_int64_t uint64_t;
21983 #ifndef _HAVE_UINT64_T
21984 /* .. here are some common heuristics using compiler runtime specifics */
21985 #if defined __STDC_VERSION__ && defined __STDC_VERSION__ >= 199901L
21986 #define _HAVE_UINT64_T
21987 #define _HAVE_LONGLONG_UINT64_T
21988 typedef long long int64_t;
21989 typedef unsigned long long uint64_t;
21991 #elif !defined __STRICT_ANSI__
21992 #if defined _MSC_VER || defined __WATCOMC__ || defined __BORLANDC__
21993 #define _HAVE_UINT64_T
21994 typedef __int64 int64_t;
21995 typedef unsigned __int64 uint64_t;
21997 #elif defined __GNUC__ || defined __MWERKS__ || defined __ELF__
21998 /* note: all ELF-systems seem to have loff-support which needs 64-bit */
21999 #if !defined _NO_LONGLONG
22000 #define _HAVE_UINT64_T
22001 #define _HAVE_LONGLONG_UINT64_T
22002 typedef long long int64_t;
22003 typedef unsigned long long uint64_t;
22006 #elif defined __alpha || (defined __mips && defined _ABIN32)
22007 #if !defined _NO_LONGLONG
22008 typedef long int64_t;
22009 typedef unsigned long uint64_t;
22011 /* compiler/cpu type to define int64_t */
22016 #if defined _STDINT_HAVE_U_INT_TYPES
22017 /* int8_t int16_t int32_t defined by inet code, redeclare the u_intXX types */
22018 typedef u_int8_t uint8_t;
22019 typedef u_int16_t uint16_t;
22020 typedef u_int32_t uint32_t;
22022 /* glibc compatibility */
22023 #ifndef __int8_t_defined
22024 #define __int8_t_defined
22028 #ifdef _STDINT_NEED_INT_MODEL_T
22029 /* we must guess all the basic types. Apart from byte-adressable system, */
22030 /* there a few 32-bit-only dsp-systems that we guard with BYTE_MODEL 8-} */
22031 /* (btw, those nibble-addressable systems are way off, or so we assume) */
22034 #if defined _STDINT_BYTE_MODEL
22035 #if _STDINT_LONG_MODEL+0 == 242
22036 /* 2:4:2 = IP16 = a normal 16-bit system */
22037 typedef unsigned char uint8_t;
22038 typedef unsigned short uint16_t;
22039 typedef unsigned long uint32_t;
22040 #ifndef __int8_t_defined
22041 #define __int8_t_defined
22042 typedef char int8_t;
22043 typedef short int16_t;
22044 typedef long int32_t;
22046 #elif _STDINT_LONG_MODEL+0 == 244 || _STDINT_LONG_MODEL == 444
22047 /* 2:4:4 = LP32 = a 32-bit system derived from a 16-bit */
22048 /* 4:4:4 = ILP32 = a normal 32-bit system */
22049 typedef unsigned char uint8_t;
22050 typedef unsigned short uint16_t;
22051 typedef unsigned int uint32_t;
22052 #ifndef __int8_t_defined
22053 #define __int8_t_defined
22054 typedef char int8_t;
22055 typedef short int16_t;
22056 typedef int int32_t;
22058 #elif _STDINT_LONG_MODEL+0 == 484 || _STDINT_LONG_MODEL+0 == 488
22059 /* 4:8:4 = IP32 = a 32-bit system prepared for 64-bit */
22060 /* 4:8:8 = LP64 = a normal 64-bit system */
22061 typedef unsigned char uint8_t;
22062 typedef unsigned short uint16_t;
22063 typedef unsigned int uint32_t;
22064 #ifndef __int8_t_defined
22065 #define __int8_t_defined
22066 typedef char int8_t;
22067 typedef short int16_t;
22068 typedef int int32_t;
22070 /* this system has a "long" of 64bit */
22071 #ifndef _HAVE_UINT64_T
22072 #define _HAVE_UINT64_T
22073 typedef unsigned long uint64_t;
22074 typedef long int64_t;
22076 #elif _STDINT_LONG_MODEL+0 == 448
22077 /* LLP64 a 64-bit system derived from a 32-bit system */
22078 typedef unsigned char uint8_t;
22079 typedef unsigned short uint16_t;
22080 typedef unsigned int uint32_t;
22081 #ifndef __int8_t_defined
22082 #define __int8_t_defined
22083 typedef char int8_t;
22084 typedef short int16_t;
22085 typedef int int32_t;
22087 /* assuming the system has a "long long" */
22088 #ifndef _HAVE_UINT64_T
22089 #define _HAVE_UINT64_T
22090 #define _HAVE_LONGLONG_UINT64_T
22091 typedef unsigned long long uint64_t;
22092 typedef long long int64_t;
22095 #define _STDINT_NO_INT32_T
22098 #define _STDINT_NO_INT8_T
22099 #define _STDINT_NO_INT32_T
22104 * quote from SunOS-5.8 sys/inttypes.h:
22105 * Use at your own risk. As of February 1996, the committee is squarely
22106 * behind the fixed sized types; the "least" and "fast" types are still being
22107 * discussed. The probability that the "fast" types may be removed before
22108 * the standard is finalized is high enough that they are not currently
22112 #if defined _STDINT_NEED_INT_LEAST_T
22113 typedef int8_t int_least8_t;
22114 typedef int16_t int_least16_t;
22115 typedef int32_t int_least32_t;
22116 #ifdef _HAVE_UINT64_T
22117 typedef int64_t int_least64_t;
22120 typedef uint8_t uint_least8_t;
22121 typedef uint16_t uint_least16_t;
22122 typedef uint32_t uint_least32_t;
22123 #ifdef _HAVE_UINT64_T
22124 typedef uint64_t uint_least64_t;
22129 #if defined _STDINT_NEED_INT_FAST_T
22130 typedef int8_t int_fast8_t;
22131 typedef int int_fast16_t;
22132 typedef int32_t int_fast32_t;
22133 #ifdef _HAVE_UINT64_T
22134 typedef int64_t int_fast64_t;
22137 typedef uint8_t uint_fast8_t;
22138 typedef unsigned uint_fast16_t;
22139 typedef uint32_t uint_fast32_t;
22140 #ifdef _HAVE_UINT64_T
22141 typedef uint64_t uint_fast64_t;
22146 #ifdef _STDINT_NEED_INTMAX_T
22147 #ifdef _HAVE_UINT64_T
22148 typedef int64_t intmax_t;
22149 typedef uint64_t uintmax_t;
22151 typedef long intmax_t;
22152 typedef unsigned long uintmax_t;
22156 #ifdef _STDINT_NEED_INTPTR_T
22157 #ifndef __intptr_t_defined
22158 #define __intptr_t_defined
22159 /* we encourage using "long" to store pointer values, never use "int" ! */
22160 #if _STDINT_LONG_MODEL+0 == 242 || _STDINT_LONG_MODEL+0 == 484
22161 typedef unsigned int uintptr_t;
22162 typedef int intptr_t;
22163 #elif _STDINT_LONG_MODEL+0 == 244 || _STDINT_LONG_MODEL+0 == 444
22164 typedef unsigned long uintptr_t;
22165 typedef long intptr_t;
22166 #elif _STDINT_LONG_MODEL+0 == 448 && defined _HAVE_UINT64_T
22167 typedef uint64_t uintptr_t;
22168 typedef int64_t intptr_t;
22169 #else /* matches typical system types ILP32 and LP64 - but not IP16 or LLP64 */
22170 typedef unsigned long uintptr_t;
22171 typedef long intptr_t;
22176 /* The ISO C99 standard specifies that in C++ implementations these
22177 should only be defined if explicitly requested. */
22178 #if !defined __cplusplus || defined __STDC_CONSTANT_MACROS
22182 # define INT8_C(c) c
22183 # define INT16_C(c) c
22184 # define INT32_C(c) c
22185 # ifdef _HAVE_LONGLONG_UINT64_T
22186 # define INT64_C(c) c ## L
22188 # define INT64_C(c) c ## LL
22192 # define UINT8_C(c) c ## U
22193 # define UINT16_C(c) c ## U
22194 # define UINT32_C(c) c ## U
22195 # ifdef _HAVE_LONGLONG_UINT64_T
22196 # define UINT64_C(c) c ## UL
22198 # define UINT64_C(c) c ## ULL
22201 /* Maximal type. */
22202 # ifdef _HAVE_LONGLONG_UINT64_T
22203 # define INTMAX_C(c) c ## L
22204 # define UINTMAX_C(c) c ## UL
22206 # define INTMAX_C(c) c ## LL
22207 # define UINTMAX_C(c) c ## ULL
22210 /* literalnumbers */
22214 /* These limits are merily those of a two complement byte-oriented system */
22216 /* Minimum of signed integral types. */
22217 # define INT8_MIN (-128)
22218 # define INT16_MIN (-32767-1)
22219 # define INT32_MIN (-2147483647-1)
22220 # define INT64_MIN (-__INT64_C(9223372036854775807)-1)
22221 /* Maximum of signed integral types. */
22222 # define INT8_MAX (127)
22223 # define INT16_MAX (32767)
22224 # define INT32_MAX (2147483647)
22225 # define INT64_MAX (__INT64_C(9223372036854775807))
22227 /* Maximum of unsigned integral types. */
22228 # define UINT8_MAX (255)
22229 # define UINT16_MAX (65535)
22230 # define UINT32_MAX (4294967295U)
22231 # define UINT64_MAX (__UINT64_C(18446744073709551615))
22233 /* Minimum of signed integral types having a minimum size. */
22234 # define INT_LEAST8_MIN INT8_MIN
22235 # define INT_LEAST16_MIN INT16_MIN
22236 # define INT_LEAST32_MIN INT32_MIN
22237 # define INT_LEAST64_MIN INT64_MIN
22238 /* Maximum of signed integral types having a minimum size. */
22239 # define INT_LEAST8_MAX INT8_MAX
22240 # define INT_LEAST16_MAX INT16_MAX
22241 # define INT_LEAST32_MAX INT32_MAX
22242 # define INT_LEAST64_MAX INT64_MAX
22244 /* Maximum of unsigned integral types having a minimum size. */
22245 # define UINT_LEAST8_MAX UINT8_MAX
22246 # define UINT_LEAST16_MAX UINT16_MAX
22247 # define UINT_LEAST32_MAX UINT32_MAX
22248 # define UINT_LEAST64_MAX UINT64_MAX
22257 if cmp -s $ac_stdint_h $ac_stdint 2>/dev/null; then
22258 { echo "$as_me:$LINENO: $ac_stdint_h is unchanged" >&5
22259 echo "$as_me: $ac_stdint_h is unchanged" >&6;}
22261 ac_dir=`(dirname "$ac_stdint_h") 2>/dev/null ||
22262 $as_expr X"$ac_stdint_h" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
22263 X"$ac_stdint_h" : 'X\(//\)[^/]' \| \
22264 X"$ac_stdint_h" : 'X\(//\)$' \| \
22265 X"$ac_stdint_h" : 'X\(/\)' \| \
22266 . : '\(.\)' 2>/dev/null ||
22267 echo X"$ac_stdint_h" |
22268 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
22269 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
22270 /^X\(\/\/\)$/{ s//\1/; q; }
22271 /^X\(\/\).*/{ s//\1/; q; }
22273 { if $as_mkdir_p; then
22278 while test ! -d "$as_dir"; do
22279 as_dirs="$as_dir $as_dirs"
22280 as_dir=`(dirname "$as_dir") 2>/dev/null ||
22281 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
22282 X"$as_dir" : 'X\(//\)[^/]' \| \
22283 X"$as_dir" : 'X\(//\)$' \| \
22284 X"$as_dir" : 'X\(/\)' \| \
22285 . : '\(.\)' 2>/dev/null ||
22287 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
22288 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
22289 /^X\(\/\/\)$/{ s//\1/; q; }
22290 /^X\(\/\).*/{ s//\1/; q; }
22293 test ! -n "$as_dirs" || mkdir $as_dirs
22294 fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
22295 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
22296 { (exit 1); exit 1; }; }; }
22299 mv $ac_stdint $ac_stdint_h
22302 gappletviewer ) chmod 755 tools/gappletviewer ;;
22303 gjarsigner ) chmod 755 tools/gjarsigner ;;
22304 gkeytool ) chmod 755 tools/gkeytool ;;
22305 gjar ) chmod 755 tools/gjar ;;
22306 gnative2ascii ) chmod 755 tools/gnative2ascii ;;
22307 gserialver ) chmod 755 tools/gserialver ;;
22308 grmiregistry ) chmod 755 tools/grmiregistry ;;
22309 gtnameserv ) chmod 755 tools/gtnameserv ;;
22310 gorbd ) chmod 755 tools/gorbd ;;
22311 grmid ) chmod 755 tools/grmid ;;
22312 grmic ) chmod 755 tools/grmic ;;
22313 gjavah ) chmod 755 tools/gjavah ;;
22314 gen-classlist ) chmod 755 lib/gen-classlist.sh ;;
22315 copy-vmresources ) chmod 755 lib/copy-vmresources.sh ;;
22320 cat >>$CONFIG_STATUS <<\_ACEOF
22322 { (exit 0); exit 0; }
22324 chmod +x $CONFIG_STATUS
22325 ac_clean_files=$ac_clean_files_save
22328 # configure is writing to config.log, and then calls config.status.
22329 # config.status does its own redirection, appending to config.log.
22330 # Unfortunately, on DOS this fails, as config.log is still kept open
22331 # by configure, so config.status won't be able to write to it; its
22332 # output is simply discarded. So we exec the FD to /dev/null,
22333 # effectively closing config.log, so it can be properly (re)opened and
22334 # appended to by config.status. When coming back to configure, we
22335 # need to make the FD available again.
22336 if test "$no_create" != yes; then
22338 ac_config_status_args=
22339 test "$silent" = yes &&
22340 ac_config_status_args="$ac_config_status_args --quiet"
22342 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
22344 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
22345 # would make configure fail if this is the last instruction.
22346 $ac_cs_success || { (exit 1); exit 1; }
22350 # Create standard.omit based on decisions we just made.
22351 cat ${srcdir}/lib/standard.omit.in > lib/standard.omit
22352 if test x$use_escher != xtrue; then
22353 echo gnu/java/awt/peer/x/.*java$ >> lib/standard.omit