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 ;;
4149 for ac_header in dssi.h
4151 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
4152 if eval "test \"\${$as_ac_Header+set}\" = set"; then
4153 echo "$as_me:$LINENO: checking for $ac_header" >&5
4154 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
4155 if eval "test \"\${$as_ac_Header+set}\" = set"; then
4156 echo $ECHO_N "(cached) $ECHO_C" >&6
4158 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
4159 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
4161 # Is the header compilable?
4162 echo "$as_me:$LINENO: checking $ac_header usability" >&5
4163 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
4164 cat >conftest.$ac_ext <<_ACEOF
4167 cat confdefs.h >>conftest.$ac_ext
4168 cat >>conftest.$ac_ext <<_ACEOF
4169 /* end confdefs.h. */
4170 $ac_includes_default
4171 #include <$ac_header>
4173 rm -f conftest.$ac_objext
4174 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4175 (eval $ac_compile) 2>conftest.er1
4177 grep -v '^ *+' conftest.er1 >conftest.err
4179 cat conftest.err >&5
4180 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4181 (exit $ac_status); } &&
4182 { ac_try='test -z "$ac_c_werror_flag"
4183 || test ! -s conftest.err'
4184 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4187 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4188 (exit $ac_status); }; } &&
4189 { ac_try='test -s conftest.$ac_objext'
4190 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4193 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4194 (exit $ac_status); }; }; then
4195 ac_header_compiler=yes
4197 echo "$as_me: failed program was:" >&5
4198 sed 's/^/| /' conftest.$ac_ext >&5
4200 ac_header_compiler=no
4202 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
4203 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
4204 echo "${ECHO_T}$ac_header_compiler" >&6
4206 # Is the header present?
4207 echo "$as_me:$LINENO: checking $ac_header presence" >&5
4208 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
4209 cat >conftest.$ac_ext <<_ACEOF
4212 cat confdefs.h >>conftest.$ac_ext
4213 cat >>conftest.$ac_ext <<_ACEOF
4214 /* end confdefs.h. */
4215 #include <$ac_header>
4217 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
4218 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
4220 grep -v '^ *+' conftest.er1 >conftest.err
4222 cat conftest.err >&5
4223 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4224 (exit $ac_status); } >/dev/null; then
4225 if test -s conftest.err; then
4226 ac_cpp_err=$ac_c_preproc_warn_flag
4227 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
4234 if test -z "$ac_cpp_err"; then
4235 ac_header_preproc=yes
4237 echo "$as_me: failed program was:" >&5
4238 sed 's/^/| /' conftest.$ac_ext >&5
4240 ac_header_preproc=no
4242 rm -f conftest.err conftest.$ac_ext
4243 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
4244 echo "${ECHO_T}$ac_header_preproc" >&6
4246 # So? What about this header?
4247 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
4249 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
4250 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
4251 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
4252 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
4253 ac_header_preproc=yes
4256 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
4257 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
4258 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
4259 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
4260 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
4261 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
4262 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
4263 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
4264 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
4265 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
4266 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
4267 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
4270 ## -------------------------------- ##
4271 ## Report this to classpath@gnu.org ##
4272 ## -------------------------------- ##
4275 sed "s/^/$as_me: WARNING: /" >&2
4278 echo "$as_me:$LINENO: checking for $ac_header" >&5
4279 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
4280 if eval "test \"\${$as_ac_Header+set}\" = set"; then
4281 echo $ECHO_N "(cached) $ECHO_C" >&6
4283 eval "$as_ac_Header=\$ac_header_preproc"
4285 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
4286 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
4289 if test `eval echo '${'$as_ac_Header'}'` = yes; then
4290 cat >>confdefs.h <<_ACEOF
4291 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
4295 for ac_header in jack/jack.h
4297 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
4298 if eval "test \"\${$as_ac_Header+set}\" = set"; then
4299 echo "$as_me:$LINENO: checking for $ac_header" >&5
4300 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
4301 if eval "test \"\${$as_ac_Header+set}\" = set"; then
4302 echo $ECHO_N "(cached) $ECHO_C" >&6
4304 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
4305 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
4307 # Is the header compilable?
4308 echo "$as_me:$LINENO: checking $ac_header usability" >&5
4309 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
4310 cat >conftest.$ac_ext <<_ACEOF
4313 cat confdefs.h >>conftest.$ac_ext
4314 cat >>conftest.$ac_ext <<_ACEOF
4315 /* end confdefs.h. */
4316 $ac_includes_default
4317 #include <$ac_header>
4319 rm -f conftest.$ac_objext
4320 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4321 (eval $ac_compile) 2>conftest.er1
4323 grep -v '^ *+' conftest.er1 >conftest.err
4325 cat conftest.err >&5
4326 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4327 (exit $ac_status); } &&
4328 { ac_try='test -z "$ac_c_werror_flag"
4329 || test ! -s conftest.err'
4330 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4333 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4334 (exit $ac_status); }; } &&
4335 { ac_try='test -s conftest.$ac_objext'
4336 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4339 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4340 (exit $ac_status); }; }; then
4341 ac_header_compiler=yes
4343 echo "$as_me: failed program was:" >&5
4344 sed 's/^/| /' conftest.$ac_ext >&5
4346 ac_header_compiler=no
4348 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
4349 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
4350 echo "${ECHO_T}$ac_header_compiler" >&6
4352 # Is the header present?
4353 echo "$as_me:$LINENO: checking $ac_header presence" >&5
4354 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
4355 cat >conftest.$ac_ext <<_ACEOF
4358 cat confdefs.h >>conftest.$ac_ext
4359 cat >>conftest.$ac_ext <<_ACEOF
4360 /* end confdefs.h. */
4361 #include <$ac_header>
4363 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
4364 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
4366 grep -v '^ *+' conftest.er1 >conftest.err
4368 cat conftest.err >&5
4369 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4370 (exit $ac_status); } >/dev/null; then
4371 if test -s conftest.err; then
4372 ac_cpp_err=$ac_c_preproc_warn_flag
4373 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
4380 if test -z "$ac_cpp_err"; then
4381 ac_header_preproc=yes
4383 echo "$as_me: failed program was:" >&5
4384 sed 's/^/| /' conftest.$ac_ext >&5
4386 ac_header_preproc=no
4388 rm -f conftest.err conftest.$ac_ext
4389 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
4390 echo "${ECHO_T}$ac_header_preproc" >&6
4392 # So? What about this header?
4393 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
4395 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
4396 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
4397 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
4398 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
4399 ac_header_preproc=yes
4402 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
4403 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
4404 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
4405 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
4406 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
4407 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
4408 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
4409 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
4410 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
4411 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
4412 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
4413 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
4416 ## -------------------------------- ##
4417 ## Report this to classpath@gnu.org ##
4418 ## -------------------------------- ##
4421 sed "s/^/$as_me: WARNING: /" >&2
4424 echo "$as_me:$LINENO: checking for $ac_header" >&5
4425 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
4426 if eval "test \"\${$as_ac_Header+set}\" = set"; then
4427 echo $ECHO_N "(cached) $ECHO_C" >&6
4429 eval "$as_ac_Header=\$ac_header_preproc"
4431 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
4432 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
4435 if test `eval echo '${'$as_ac_Header'}'` = yes; then
4436 cat >>confdefs.h <<_ACEOF
4437 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
4451 if test "x${COMPILE_DSSI}" = xyes; then
4452 CREATE_DSSI_LIBRARIES_TRUE=
4453 CREATE_DSSI_LIBRARIES_FALSE='#'
4455 CREATE_DSSI_LIBRARIES_TRUE='#'
4456 CREATE_DSSI_LIBRARIES_FALSE=
4460 # Check whether --enable-gtk-peer or --disable-gtk-peer was given.
4461 if test "${enable_gtk_peer+set}" = set; then
4462 enableval="$enable_gtk_peer"
4463 case "${enableval}" in
4464 yes) COMPILE_GTK_PEER=yes ;;
4465 no) COMPILE_GTK_PEER=no ;;
4466 *) COMPILE_GTK_PEER=yes ;;
4469 COMPILE_GTK_PEER=yes
4473 if test "x${COMPILE_GTK_PEER}" = xyes; then
4474 CREATE_GTK_PEER_LIBRARIES_TRUE=
4475 CREATE_GTK_PEER_LIBRARIES_FALSE='#'
4477 CREATE_GTK_PEER_LIBRARIES_TRUE='#'
4478 CREATE_GTK_PEER_LIBRARIES_FALSE=
4482 # Check whether --enable-gtk-peers or --disable-gtk-peers was given.
4483 if test "${enable_gtk_peers+set}" = set; then
4484 enableval="$enable_gtk_peers"
4485 { { echo "$as_me:$LINENO: error: No --enable-gtk-peers (or --disable-gtk-peers) option; you want --enable-gtk-peer" >&5
4486 echo "$as_me: error: No --enable-gtk-peers (or --disable-gtk-peers) option; you want --enable-gtk-peer" >&2;}
4487 { (exit 1); exit 1; }; }
4490 # Check whether --enable-qt-peer or --disable-qt-peer was given.
4491 if test "${enable_qt_peer+set}" = set; then
4492 enableval="$enable_qt_peer"
4493 case "${enableval}" in
4494 yes) COMPILE_QT_PEER=yes ;;
4495 no) COMPILE_QT_PEER=no ;;
4496 *) COMPILE_QT_PEER=yes ;;
4503 if test "x${COMPILE_QT_PEER}" = xyes; then
4504 CREATE_QT_PEER_LIBRARIES_TRUE=
4505 CREATE_QT_PEER_LIBRARIES_FALSE='#'
4507 CREATE_QT_PEER_LIBRARIES_TRUE='#'
4508 CREATE_QT_PEER_LIBRARIES_FALSE=
4512 # Check whether --enable-plugin or --disable-plugin was given.
4513 if test "${enable_plugin+set}" = set; then
4514 enableval="$enable_plugin"
4515 case "${enableval}" in
4516 yes) COMPILE_PLUGIN=yes ;;
4517 no) COMPILE_PLUGIN=no ;;
4518 *) COMPILE_PLUGIN=yes ;;
4525 if test "x${COMPILE_PLUGIN}" = xyes; then
4527 CREATE_PLUGIN_FALSE='#'
4529 CREATE_PLUGIN_TRUE='#'
4530 CREATE_PLUGIN_FALSE=
4535 multi_os_directory=`$CC -print-multi-os-directory`
4536 case $multi_os_directory in
4537 .) toolexeclibdir=${libdir} ;; # Avoid trailing /.
4538 *) toolexeclibdir=${libdir}/${multi_os_directory} ;;
4544 # Check whether --with-native-libdir or --without-native-libdir was given.
4545 if test "${with_native_libdir+set}" = set; then
4546 withval="$with_native_libdir"
4548 nativeexeclibdir=${withval}
4552 nativeexeclibdir='${toolexeclibdir}/gcj-'`cat ${srcdir}/../../gcc/BASE-VER`
4559 # Check whether --with-glibj-dir or --without-glibj-dir was given.
4560 if test "${with_glibj_dir+set}" = set; then
4561 withval="$with_glibj_dir"
4567 glibjdir='${datadir}/${PACKAGE}'
4574 # Check whether --with-vm or --without-vm was given.
4575 if test "${with_vm+set}" = set; then
4578 VM_BINARY=${withval}
4582 VM_BINARY='${prefix}/bin/jamvm'
4589 if test "x`basename $VM_BINARY`" = xcacao; then
4591 FOUND_CACAO_FALSE='#'
4593 FOUND_CACAO_TRUE='#'
4598 # Check whether --enable-regen-headers or --disable-regen-headers was given.
4599 if test "${enable_regen_headers+set}" = set; then
4600 enableval="$enable_regen_headers"
4601 case "${enableval}" in
4602 yes) REGENERATE_JNI_HEADERS=yes ;;
4603 no) REGENERATE_JNI_HEADERS=no ;;
4604 *) REGENERATE_JNI_HEADERS=no ;;
4607 REGENERATE_JNI_HEADERS=no
4611 if test "x${REGENERATE_JNI_HEADERS}" = xyes; then
4612 CREATE_JNI_HEADERS_TRUE=
4613 CREATE_JNI_HEADERS_FALSE='#'
4615 CREATE_JNI_HEADERS_TRUE='#'
4616 CREATE_JNI_HEADERS_FALSE=
4620 # Check whether --enable-tool-wrappers or --disable-tool-wrappers was given.
4621 if test "${enable_tool_wrappers+set}" = set; then
4622 enableval="$enable_tool_wrappers"
4623 case x"${enableval}" in
4625 COMPILE_WRAPPERS=yes;
4627 for ac_header in ltdl.h
4629 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
4630 if eval "test \"\${$as_ac_Header+set}\" = set"; then
4631 echo "$as_me:$LINENO: checking for $ac_header" >&5
4632 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
4633 if eval "test \"\${$as_ac_Header+set}\" = set"; then
4634 echo $ECHO_N "(cached) $ECHO_C" >&6
4636 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
4637 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
4639 # Is the header compilable?
4640 echo "$as_me:$LINENO: checking $ac_header usability" >&5
4641 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
4642 cat >conftest.$ac_ext <<_ACEOF
4645 cat confdefs.h >>conftest.$ac_ext
4646 cat >>conftest.$ac_ext <<_ACEOF
4647 /* end confdefs.h. */
4648 $ac_includes_default
4649 #include <$ac_header>
4651 rm -f conftest.$ac_objext
4652 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4653 (eval $ac_compile) 2>conftest.er1
4655 grep -v '^ *+' conftest.er1 >conftest.err
4657 cat conftest.err >&5
4658 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4659 (exit $ac_status); } &&
4660 { ac_try='test -z "$ac_c_werror_flag"
4661 || test ! -s conftest.err'
4662 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4665 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4666 (exit $ac_status); }; } &&
4667 { ac_try='test -s conftest.$ac_objext'
4668 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4671 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4672 (exit $ac_status); }; }; then
4673 ac_header_compiler=yes
4675 echo "$as_me: failed program was:" >&5
4676 sed 's/^/| /' conftest.$ac_ext >&5
4678 ac_header_compiler=no
4680 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
4681 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
4682 echo "${ECHO_T}$ac_header_compiler" >&6
4684 # Is the header present?
4685 echo "$as_me:$LINENO: checking $ac_header presence" >&5
4686 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
4687 cat >conftest.$ac_ext <<_ACEOF
4690 cat confdefs.h >>conftest.$ac_ext
4691 cat >>conftest.$ac_ext <<_ACEOF
4692 /* end confdefs.h. */
4693 #include <$ac_header>
4695 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
4696 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
4698 grep -v '^ *+' conftest.er1 >conftest.err
4700 cat conftest.err >&5
4701 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4702 (exit $ac_status); } >/dev/null; then
4703 if test -s conftest.err; then
4704 ac_cpp_err=$ac_c_preproc_warn_flag
4705 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
4712 if test -z "$ac_cpp_err"; then
4713 ac_header_preproc=yes
4715 echo "$as_me: failed program was:" >&5
4716 sed 's/^/| /' conftest.$ac_ext >&5
4718 ac_header_preproc=no
4720 rm -f conftest.err conftest.$ac_ext
4721 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
4722 echo "${ECHO_T}$ac_header_preproc" >&6
4724 # So? What about this header?
4725 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
4727 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
4728 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
4729 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
4730 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
4731 ac_header_preproc=yes
4734 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
4735 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
4736 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
4737 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
4738 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
4739 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
4740 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
4741 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
4742 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
4743 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
4744 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
4745 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
4748 ## -------------------------------- ##
4749 ## Report this to classpath@gnu.org ##
4750 ## -------------------------------- ##
4753 sed "s/^/$as_me: WARNING: /" >&2
4756 echo "$as_me:$LINENO: checking for $ac_header" >&5
4757 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
4758 if eval "test \"\${$as_ac_Header+set}\" = set"; then
4759 echo $ECHO_N "(cached) $ECHO_C" >&6
4761 eval "$as_ac_Header=\$ac_header_preproc"
4763 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
4764 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
4767 if test `eval echo '${'$as_ac_Header'}'` = yes; then
4768 cat >>confdefs.h <<_ACEOF
4769 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
4773 { { echo "$as_me:$LINENO: error: cannot find ltdl.h" >&5
4774 echo "$as_me: error: cannot find ltdl.h" >&2;}
4775 { (exit 1); exit 1; }; }
4781 echo "$as_me:$LINENO: checking for lt_dlopen in -lltdl" >&5
4782 echo $ECHO_N "checking for lt_dlopen in -lltdl... $ECHO_C" >&6
4783 if test "${ac_cv_lib_ltdl_lt_dlopen+set}" = set; then
4784 echo $ECHO_N "(cached) $ECHO_C" >&6
4786 ac_check_lib_save_LIBS=$LIBS
4788 if test x$gcc_no_link = xyes; then
4789 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
4790 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
4791 { (exit 1); exit 1; }; }
4793 cat >conftest.$ac_ext <<_ACEOF
4796 cat confdefs.h >>conftest.$ac_ext
4797 cat >>conftest.$ac_ext <<_ACEOF
4798 /* end confdefs.h. */
4800 /* Override any gcc2 internal prototype to avoid an error. */
4804 /* We use char because int might match the return type of a gcc2
4805 builtin and then its argument prototype would still apply. */
4815 rm -f conftest.$ac_objext conftest$ac_exeext
4816 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
4817 (eval $ac_link) 2>conftest.er1
4819 grep -v '^ *+' conftest.er1 >conftest.err
4821 cat conftest.err >&5
4822 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4823 (exit $ac_status); } &&
4824 { ac_try='test -z "$ac_c_werror_flag"
4825 || test ! -s conftest.err'
4826 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4829 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4830 (exit $ac_status); }; } &&
4831 { ac_try='test -s conftest$ac_exeext'
4832 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4835 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4836 (exit $ac_status); }; }; then
4837 ac_cv_lib_ltdl_lt_dlopen=yes
4839 echo "$as_me: failed program was:" >&5
4840 sed 's/^/| /' conftest.$ac_ext >&5
4842 ac_cv_lib_ltdl_lt_dlopen=no
4844 rm -f conftest.err conftest.$ac_objext \
4845 conftest$ac_exeext conftest.$ac_ext
4846 LIBS=$ac_check_lib_save_LIBS
4848 echo "$as_me:$LINENO: result: $ac_cv_lib_ltdl_lt_dlopen" >&5
4849 echo "${ECHO_T}$ac_cv_lib_ltdl_lt_dlopen" >&6
4850 if test $ac_cv_lib_ltdl_lt_dlopen = yes; then
4851 cat >>confdefs.h <<_ACEOF
4852 #define HAVE_LIBLTDL 1
4858 { { echo "$as_me:$LINENO: error: cannot find libltdl" >&5
4859 echo "$as_me: error: cannot find libltdl" >&2;}
4860 { (exit 1); exit 1; }; }
4864 xno) COMPILE_WRAPPERS=no ;;
4865 x) COMPILE_WRAPPERS=yes ;;
4866 *) COMPILE_WRAPPERS=yes ;;
4873 if test "x${COMPILE_WRAPPERS}" = xyes; then
4874 CREATE_WRAPPERS_TRUE=
4875 CREATE_WRAPPERS_FALSE='#'
4877 CREATE_WRAPPERS_TRUE='#'
4878 CREATE_WRAPPERS_FALSE=
4882 echo "$as_me:$LINENO: checking whether ln -s works" >&5
4883 echo $ECHO_N "checking whether ln -s works... $ECHO_C" >&6
4885 if test "$LN_S" = "ln -s"; then
4886 echo "$as_me:$LINENO: result: yes" >&5
4887 echo "${ECHO_T}yes" >&6
4889 echo "$as_me:$LINENO: result: no, using $LN_S" >&5
4890 echo "${ECHO_T}no, using $LN_S" >&6
4893 # Find a good install program. We prefer a C program (faster),
4894 # so one script is as good as another. But avoid the broken or
4895 # incompatible versions:
4896 # SysV /etc/install, /usr/sbin/install
4897 # SunOS /usr/etc/install
4898 # IRIX /sbin/install
4900 # AmigaOS /C/install, which installs bootblocks on floppy discs
4901 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
4902 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
4903 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
4904 # OS/2's system install, which has a completely different semantic
4905 # ./install, which can be erroneously created by make from ./install.sh.
4906 echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
4907 echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6
4908 if test -z "$INSTALL"; then
4909 if test "${ac_cv_path_install+set}" = set; then
4910 echo $ECHO_N "(cached) $ECHO_C" >&6
4912 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4916 test -z "$as_dir" && as_dir=.
4917 # Account for people who put trailing slashes in PATH elements.
4919 ./ | .// | /cC/* | \
4920 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
4921 ?:\\/os2\\/install\\/* | ?:\\/OS2\\/INSTALL\\/* | \
4924 # OSF1 and SCO ODT 3.0 have their own names for install.
4925 # Don't use installbsd from OSF since it installs stuff as root
4927 for ac_prog in ginstall scoinst install; do
4928 for ac_exec_ext in '' $ac_executable_extensions; do
4929 if $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
4930 if test $ac_prog = install &&
4931 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
4932 # AIX install. It has an incompatible calling convention.
4934 elif test $ac_prog = install &&
4935 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
4936 # program-specific install script used by HP pwplus--don't use.
4939 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
4951 if test "${ac_cv_path_install+set}" = set; then
4952 INSTALL=$ac_cv_path_install
4954 # As a last resort, use the slow shell script. We don't cache a
4955 # path for INSTALL within a source directory, because that will
4956 # break other packages using the cache if that directory is
4957 # removed, or if the path is relative.
4958 INSTALL=$ac_install_sh
4961 echo "$as_me:$LINENO: result: $INSTALL" >&5
4962 echo "${ECHO_T}$INSTALL" >&6
4964 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
4965 # It thinks the first close brace ends the variable substitution.
4966 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
4968 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
4970 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
4974 # Check whether --enable-static or --disable-static was given.
4975 if test "${enable_static+set}" = set; then
4976 enableval="$enable_static"
4977 p=${PACKAGE-default}
4979 yes) enable_static=yes ;;
4980 no) enable_static=no ;;
4983 # Look at the argument we got. We use all the common list separators.
4984 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}:,"
4985 for pkg in $enableval; do
4986 if test "X$pkg" = "X$p"; then
4996 # Check whether --enable-shared or --disable-shared was given.
4997 if test "${enable_shared+set}" = set; then
4998 enableval="$enable_shared"
4999 p=${PACKAGE-default}
5001 yes) enable_shared=yes ;;
5002 no) enable_shared=no ;;
5005 # Look at the argument we got. We use all the common list separators.
5006 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}:,"
5007 for pkg in $enableval; do
5008 if test "X$pkg" = "X$p"; then
5018 # Check whether --enable-fast-install or --disable-fast-install was given.
5019 if test "${enable_fast_install+set}" = set; then
5020 enableval="$enable_fast_install"
5021 p=${PACKAGE-default}
5023 yes) enable_fast_install=yes ;;
5024 no) enable_fast_install=no ;;
5026 enable_fast_install=no
5027 # Look at the argument we got. We use all the common list separators.
5028 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}:,"
5029 for pkg in $enableval; do
5030 if test "X$pkg" = "X$p"; then
5031 enable_fast_install=yes
5038 enable_fast_install=yes
5041 # Check whether --with-gnu-ld or --without-gnu-ld was given.
5042 if test "${with_gnu_ld+set}" = set; then
5043 withval="$with_gnu_ld"
5044 test "$withval" = no || with_gnu_ld=yes
5049 if test "$GCC" = yes; then
5050 # Check if gcc -print-prog-name=ld gives a path.
5051 echo "$as_me:$LINENO: checking for ld used by GCC" >&5
5052 echo $ECHO_N "checking for ld used by GCC... $ECHO_C" >&6
5055 # gcc leaves a trailing carriage return which upsets mingw
5056 ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
5058 ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
5061 # Accept absolute paths.
5062 [\\/]* | [A-Za-z]:[\\/]*)
5063 re_direlt='/[^/][^/]*/\.\./'
5064 # Canonicalize the path of ld
5065 ac_prog=`echo $ac_prog| sed 's%\\\\%/%g'`
5066 while echo $ac_prog | grep "$re_direlt" > /dev/null 2>&1; do
5067 ac_prog=`echo $ac_prog| sed "s%$re_direlt%/%"`
5069 test -z "$LD" && LD="$ac_prog"
5072 # If it fails, then pretend we aren't using GCC.
5076 # If it is relative, then search for the first ld in PATH.
5080 elif test "$with_gnu_ld" = yes; then
5081 echo "$as_me:$LINENO: checking for GNU ld" >&5
5082 echo $ECHO_N "checking for GNU ld... $ECHO_C" >&6
5084 echo "$as_me:$LINENO: checking for non-GNU ld" >&5
5085 echo $ECHO_N "checking for non-GNU ld... $ECHO_C" >&6
5087 if test "${lt_cv_path_LD+set}" = set; then
5088 echo $ECHO_N "(cached) $ECHO_C" >&6
5090 if test -z "$LD"; then
5091 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}${PATH_SEPARATOR-:}"
5092 for ac_dir in $PATH; do
5093 test -z "$ac_dir" && ac_dir=.
5094 if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
5095 lt_cv_path_LD="$ac_dir/$ac_prog"
5096 # Check to see if the program is GNU ld. I'd rather use --version,
5097 # but apparently some GNU ld's only accept -v.
5098 # Break only if it was the GNU/non-GNU ld that we prefer.
5099 if "$lt_cv_path_LD" -v 2>&1 < /dev/null | egrep '(GNU|with BFD)' > /dev/null; then
5100 test "$with_gnu_ld" != no && break
5102 test "$with_gnu_ld" != yes && break
5108 lt_cv_path_LD="$LD" # Let the user override the test with a path.
5113 if test -n "$LD"; then
5114 echo "$as_me:$LINENO: result: $LD" >&5
5115 echo "${ECHO_T}$LD" >&6
5117 echo "$as_me:$LINENO: result: no" >&5
5118 echo "${ECHO_T}no" >&6
5120 test -z "$LD" && { { echo "$as_me:$LINENO: error: no acceptable ld found in \$PATH" >&5
5121 echo "$as_me: error: no acceptable ld found in \$PATH" >&2;}
5122 { (exit 1); exit 1; }; }
5123 echo "$as_me:$LINENO: checking if the linker ($LD) is GNU ld" >&5
5124 echo $ECHO_N "checking if the linker ($LD) is GNU ld... $ECHO_C" >&6
5125 if test "${lt_cv_prog_gnu_ld+set}" = set; then
5126 echo $ECHO_N "(cached) $ECHO_C" >&6
5128 # I'd rather use --version here, but apparently some GNU ld's only accept -v.
5129 if $LD -v 2>&1 </dev/null | egrep '(GNU|with BFD)' 1>&5; then
5130 lt_cv_prog_gnu_ld=yes
5132 lt_cv_prog_gnu_ld=no
5135 echo "$as_me:$LINENO: result: $lt_cv_prog_gnu_ld" >&5
5136 echo "${ECHO_T}$lt_cv_prog_gnu_ld" >&6
5137 with_gnu_ld=$lt_cv_prog_gnu_ld
5140 echo "$as_me:$LINENO: checking for $LD option to reload object files" >&5
5141 echo $ECHO_N "checking for $LD option to reload object files... $ECHO_C" >&6
5142 if test "${lt_cv_ld_reload_flag+set}" = set; then
5143 echo $ECHO_N "(cached) $ECHO_C" >&6
5145 lt_cv_ld_reload_flag='-r'
5147 echo "$as_me:$LINENO: result: $lt_cv_ld_reload_flag" >&5
5148 echo "${ECHO_T}$lt_cv_ld_reload_flag" >&6
5149 reload_flag=$lt_cv_ld_reload_flag
5150 test -n "$reload_flag" && reload_flag=" $reload_flag"
5152 echo "$as_me:$LINENO: checking for BSD-compatible nm" >&5
5153 echo $ECHO_N "checking for BSD-compatible nm... $ECHO_C" >&6
5154 if test "${lt_cv_path_NM+set}" = set; then
5155 echo $ECHO_N "(cached) $ECHO_C" >&6
5157 if test -n "$NM"; then
5158 # Let the user override the test.
5161 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}${PATH_SEPARATOR-:}"
5162 for ac_dir in $PATH /usr/ccs/bin /usr/ucb /bin; do
5163 test -z "$ac_dir" && ac_dir=.
5164 tmp_nm=$ac_dir/${ac_tool_prefix}nm
5165 if test -f $tmp_nm || test -f $tmp_nm$ac_exeext ; then
5166 # Check to see if the nm accepts a BSD-compat flag.
5167 # Adding the `sed 1q' prevents false positives on HP-UX, which says:
5168 # nm: unknown option "B" ignored
5169 # Tru64's nm complains that /dev/null is an invalid object file
5170 if ($tmp_nm -B /dev/null 2>&1 | sed '1q'; exit 0) | egrep '(/dev/null|Invalid file or object type)' >/dev/null; then
5171 lt_cv_path_NM="$tmp_nm -B"
5173 elif ($tmp_nm -p /dev/null 2>&1 | sed '1q'; exit 0) | egrep /dev/null >/dev/null; then
5174 lt_cv_path_NM="$tmp_nm -p"
5177 lt_cv_path_NM=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but
5178 continue # so that we can try to find one that supports BSD flags
5183 test -z "$lt_cv_path_NM" && lt_cv_path_NM=nm
5188 echo "$as_me:$LINENO: result: $NM" >&5
5189 echo "${ECHO_T}$NM" >&6
5191 echo "$as_me:$LINENO: checking how to recognise dependant libraries" >&5
5192 echo $ECHO_N "checking how to recognise dependant libraries... $ECHO_C" >&6
5193 if test "${lt_cv_deplibs_check_method+set}" = set; then
5194 echo $ECHO_N "(cached) $ECHO_C" >&6
5196 lt_cv_file_magic_cmd='$MAGIC_CMD'
5197 lt_cv_file_magic_test_file=
5198 lt_cv_deplibs_check_method='unknown'
5199 # Need to set the preceding variable on all platforms that support
5200 # interlibrary dependencies.
5201 # 'none' -- dependencies not supported.
5202 # `unknown' -- same as none, but documents that we really don't know.
5203 # 'pass_all' -- all dependencies passed with no checks.
5204 # 'test_compile' -- check by making test program.
5205 # 'file_magic [regex]' -- check by looking for files in library path
5206 # which responds to the $file_magic_cmd with a given egrep regex.
5207 # If you have `file' or equivalent on your system and you're not sure
5208 # whether `pass_all' will *always* work, you probably want this one.
5212 lt_cv_deplibs_check_method=pass_all
5216 lt_cv_deplibs_check_method=pass_all
5220 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib)'
5221 lt_cv_file_magic_cmd='/usr/bin/file -L'
5222 lt_cv_file_magic_test_file=/shlib/libc.so
5225 cygwin* | mingw* |pw32*)
5226 lt_cv_deplibs_check_method='file_magic file format pei*-i386(.*architecture: i386)?'
5227 lt_cv_file_magic_cmd='$OBJDUMP -f'
5230 darwin* | rhapsody*)
5231 # this will be overwritten by pass_all, but leave it in just in case
5232 lt_cv_deplibs_check_method='file_magic Mach-O dynamically linked shared library'
5233 lt_cv_file_magic_cmd='/usr/bin/file -L'
5235 rhapsody* | darwin1.012)
5236 lt_cv_file_magic_test_file='/System/Library/Frameworks/System.framework/System'
5239 lt_cv_file_magic_test_file='/usr/lib/libSystem.dylib'
5242 lt_cv_deplibs_check_method=pass_all
5245 freebsd* | kfreebsd*-gnu)
5246 if echo __ELF__ | $CC -E - | grep __ELF__ > /dev/null; then
5249 # Not sure whether the presence of OpenBSD here was a mistake.
5250 # Let's accept both of them until this is cleared up.
5251 lt_cv_deplibs_check_method='file_magic (FreeBSD|OpenBSD)/i[3-9]86 (compact )?demand paged shared library'
5252 lt_cv_file_magic_cmd=/usr/bin/file
5253 lt_cv_file_magic_test_file=`echo /usr/lib/libc.so.*`
5257 lt_cv_deplibs_check_method=pass_all
5262 lt_cv_deplibs_check_method=pass_all
5268 lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9].[0-9]) shared library'
5269 lt_cv_file_magic_cmd=/usr/bin/file
5270 lt_cv_file_magic_test_file=/usr/lib/libc.sl
5273 lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - IA64'
5274 lt_cv_file_magic_cmd=/usr/bin/file
5275 lt_cv_file_magic_test_file=/usr/lib/hpux32/libc.so
5283 # this will be overridden with pass_all, but let us keep it just in case
5284 lt_cv_deplibs_check_method="file_magic ELF 32-bit MSB dynamic lib MIPS - version 1"
5288 *-32|*"-32 ") libmagic=32-bit;;
5289 *-n32|*"-n32 ") libmagic=N32;;
5290 *-64|*"-64 ") libmagic=64-bit;;
5291 *) libmagic=never-match;;
5293 # this will be overridden with pass_all, but let us keep it just in case
5294 lt_cv_deplibs_check_method="file_magic ELF ${libmagic} MSB mips-[1234] dynamic lib MIPS - version 1"
5297 lt_cv_file_magic_test_file=`echo /lib${libsuff}/libc.so*`
5298 lt_cv_deplibs_check_method=pass_all
5301 # This must be Linux ELF.
5303 lt_cv_deplibs_check_method=pass_all
5306 netbsd* | knetbsd*-gnu)
5307 if echo __ELF__ | $CC -E - | grep __ELF__ > /dev/null; then
5308 lt_cv_deplibs_check_method='match_pattern /lib[^/\.]+\.so\.[0-9]+\.[0-9]+$'
5310 lt_cv_deplibs_check_method='match_pattern /lib[^/\.]+\.so$'
5315 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (executable|dynamic lib)'
5316 lt_cv_file_magic_cmd=/usr/bin/file
5317 lt_cv_file_magic_test_file=/usr/lib/libnls.so
5320 osf3* | osf4* | osf5*)
5321 # this will be overridden with pass_all, but let us keep it just in case
5322 lt_cv_deplibs_check_method='file_magic COFF format alpha shared library'
5323 lt_cv_file_magic_test_file=/shlib/libc.so
5324 lt_cv_deplibs_check_method=pass_all
5328 lt_cv_deplibs_check_method=pass_all
5332 lt_cv_deplibs_check_method=pass_all
5333 lt_cv_file_magic_test_file=/lib/libc.so
5336 sysv5uw[78]* | sysv4*uw2*)
5337 lt_cv_deplibs_check_method=pass_all
5340 sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)
5341 case $host_vendor in
5343 lt_cv_deplibs_check_method=pass_all
5346 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]'
5347 lt_cv_file_magic_test_file=`echo /usr/lib/libc.so*`
5354 echo "$as_me:$LINENO: result: $lt_cv_deplibs_check_method" >&5
5355 echo "${ECHO_T}$lt_cv_deplibs_check_method" >&6
5356 file_magic_cmd=$lt_cv_file_magic_cmd
5357 deplibs_check_method=$lt_cv_deplibs_check_method
5362 # Autoconf 2.13's AC_OBJEXT and AC_EXEEXT macros only works for C compilers!
5364 # find the maximum length of command line arguments
5365 echo "$as_me:$LINENO: checking the maximum length of command line arguments" >&5
5366 echo $ECHO_N "checking the maximum length of command line arguments... $ECHO_C" >&6
5367 if test "${lt_cv_sys_max_cmd_len+set}" = set; then
5368 echo $ECHO_N "(cached) $ECHO_C" >&6
5375 # On DJGPP, this test can blow up pretty badly due to problems in libc
5376 # (any single argument exceeding 2000 bytes causes a buffer overrun
5377 # during glob expansion). Even if it were fixed, the result of this
5378 # check would be larger than it should be.
5379 lt_cv_sys_max_cmd_len=12288; # 12K is about right
5383 # On Win9x/ME, this test blows up -- it succeeds, but takes
5384 # about 5 minutes as the teststring grows exponentially.
5385 # Worse, since 9x/ME are not pre-emptively multitasking,
5386 # you end up with a "frozen" computer, even though with patience
5387 # the test eventually succeeds (with a max line length of 256k).
5388 # Instead, let's just punt: use the minimum linelength reported by
5389 # all of the supported platforms: 8192 (on NT/2K/XP).
5390 lt_cv_sys_max_cmd_len=8192;
5394 # On AmigaOS with pdksh, this test takes hours, literally.
5395 # So we just punt and use a minimum line length of 8192.
5396 lt_cv_sys_max_cmd_len=8192;
5399 netbsd* | freebsd* | openbsd* | darwin* | dragonfly*)
5400 # This has been around since 386BSD, at least. Likely further.
5401 if test -x /sbin/sysctl; then
5402 lt_cv_sys_max_cmd_len=`/sbin/sysctl -n kern.argmax`
5403 elif test -x /usr/sbin/sysctl; then
5404 lt_cv_sys_max_cmd_len=`/usr/sbin/sysctl -n kern.argmax`
5406 lt_cv_sys_max_cmd_len=65536 # usable default for *BSD
5408 # And add a safety zone
5409 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
5410 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
5416 if test -n "$lt_cv_sys_max_cmd_len" ; then
5417 echo "$as_me:$LINENO: result: $lt_cv_sys_max_cmd_len" >&5
5418 echo "${ECHO_T}$lt_cv_sys_max_cmd_len" >&6
5420 echo "$as_me:$LINENO: result: none" >&5
5421 echo "${ECHO_T}none" >&6
5425 # Only perform the check for file, if the check method requires it
5426 case $deplibs_check_method in
5428 if test "$file_magic_cmd" = '$MAGIC_CMD'; then
5429 echo "$as_me:$LINENO: checking for ${ac_tool_prefix}file" >&5
5430 echo $ECHO_N "checking for ${ac_tool_prefix}file... $ECHO_C" >&6
5431 if test "${lt_cv_path_MAGIC_CMD+set}" = set; then
5432 echo $ECHO_N "(cached) $ECHO_C" >&6
5436 lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
5439 lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a dos path.
5442 ac_save_MAGIC_CMD="$MAGIC_CMD"
5443 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":"
5444 ac_dummy="/usr/bin:$PATH"
5445 for ac_dir in $ac_dummy; do
5446 test -z "$ac_dir" && ac_dir=.
5447 if test -f $ac_dir/${ac_tool_prefix}file; then
5448 lt_cv_path_MAGIC_CMD="$ac_dir/${ac_tool_prefix}file"
5449 if test -n "$file_magic_test_file"; then
5450 case $deplibs_check_method in
5452 file_magic_regex="`expr \"$deplibs_check_method\" : \"file_magic \(.*\)\"`"
5453 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
5454 if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
5455 egrep "$file_magic_regex" > /dev/null; then
5460 *** Warning: the command libtool uses to detect shared libraries,
5461 *** $file_magic_cmd, produces output that libtool cannot recognize.
5462 *** The result is that libtool may fail to recognize shared libraries
5463 *** as such. This will affect the creation of libtool libraries that
5464 *** depend on shared libraries, but programs linked with such libtool
5465 *** libraries will work regardless of this problem. Nevertheless, you
5466 *** may want to report the problem to your system manager and/or to
5467 *** bug-libtool@gnu.org
5477 MAGIC_CMD="$ac_save_MAGIC_CMD"
5482 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
5483 if test -n "$MAGIC_CMD"; then
5484 echo "$as_me:$LINENO: result: $MAGIC_CMD" >&5
5485 echo "${ECHO_T}$MAGIC_CMD" >&6
5487 echo "$as_me:$LINENO: result: no" >&5
5488 echo "${ECHO_T}no" >&6
5491 if test -z "$lt_cv_path_MAGIC_CMD"; then
5492 if test -n "$ac_tool_prefix"; then
5493 echo "$as_me:$LINENO: checking for file" >&5
5494 echo $ECHO_N "checking for file... $ECHO_C" >&6
5495 if test "${lt_cv_path_MAGIC_CMD+set}" = set; then
5496 echo $ECHO_N "(cached) $ECHO_C" >&6
5500 lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
5503 lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a dos path.
5506 ac_save_MAGIC_CMD="$MAGIC_CMD"
5507 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":"
5508 ac_dummy="/usr/bin:$PATH"
5509 for ac_dir in $ac_dummy; do
5510 test -z "$ac_dir" && ac_dir=.
5511 if test -f $ac_dir/file; then
5512 lt_cv_path_MAGIC_CMD="$ac_dir/file"
5513 if test -n "$file_magic_test_file"; then
5514 case $deplibs_check_method in
5516 file_magic_regex="`expr \"$deplibs_check_method\" : \"file_magic \(.*\)\"`"
5517 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
5518 if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
5519 egrep "$file_magic_regex" > /dev/null; then
5524 *** Warning: the command libtool uses to detect shared libraries,
5525 *** $file_magic_cmd, produces output that libtool cannot recognize.
5526 *** The result is that libtool may fail to recognize shared libraries
5527 *** as such. This will affect the creation of libtool libraries that
5528 *** depend on shared libraries, but programs linked with such libtool
5529 *** libraries will work regardless of this problem. Nevertheless, you
5530 *** may want to report the problem to your system manager and/or to
5531 *** bug-libtool@gnu.org
5541 MAGIC_CMD="$ac_save_MAGIC_CMD"
5546 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
5547 if test -n "$MAGIC_CMD"; then
5548 echo "$as_me:$LINENO: result: $MAGIC_CMD" >&5
5549 echo "${ECHO_T}$MAGIC_CMD" >&6
5551 echo "$as_me:$LINENO: result: no" >&5
5552 echo "${ECHO_T}no" >&6
5564 if test -n "$ac_tool_prefix"; then
5565 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
5566 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
5567 echo "$as_me:$LINENO: checking for $ac_word" >&5
5568 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
5569 if test "${ac_cv_prog_RANLIB+set}" = set; then
5570 echo $ECHO_N "(cached) $ECHO_C" >&6
5572 if test -n "$RANLIB"; then
5573 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
5575 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5579 test -z "$as_dir" && as_dir=.
5580 for ac_exec_ext in '' $ac_executable_extensions; do
5581 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5582 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
5583 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5591 RANLIB=$ac_cv_prog_RANLIB
5592 if test -n "$RANLIB"; then
5593 echo "$as_me:$LINENO: result: $RANLIB" >&5
5594 echo "${ECHO_T}$RANLIB" >&6
5596 echo "$as_me:$LINENO: result: no" >&5
5597 echo "${ECHO_T}no" >&6
5601 if test -z "$ac_cv_prog_RANLIB"; then
5602 ac_ct_RANLIB=$RANLIB
5603 # Extract the first word of "ranlib", so it can be a program name with args.
5604 set dummy ranlib; ac_word=$2
5605 echo "$as_me:$LINENO: checking for $ac_word" >&5
5606 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
5607 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
5608 echo $ECHO_N "(cached) $ECHO_C" >&6
5610 if test -n "$ac_ct_RANLIB"; then
5611 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
5613 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5617 test -z "$as_dir" && as_dir=.
5618 for ac_exec_ext in '' $ac_executable_extensions; do
5619 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5620 ac_cv_prog_ac_ct_RANLIB="ranlib"
5621 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5627 test -z "$ac_cv_prog_ac_ct_RANLIB" && ac_cv_prog_ac_ct_RANLIB=":"
5630 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
5631 if test -n "$ac_ct_RANLIB"; then
5632 echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
5633 echo "${ECHO_T}$ac_ct_RANLIB" >&6
5635 echo "$as_me:$LINENO: result: no" >&5
5636 echo "${ECHO_T}no" >&6
5639 RANLIB=$ac_ct_RANLIB
5641 RANLIB="$ac_cv_prog_RANLIB"
5644 if test -n "$ac_tool_prefix"; then
5645 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
5646 set dummy ${ac_tool_prefix}strip; ac_word=$2
5647 echo "$as_me:$LINENO: checking for $ac_word" >&5
5648 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
5649 if test "${ac_cv_prog_STRIP+set}" = set; then
5650 echo $ECHO_N "(cached) $ECHO_C" >&6
5652 if test -n "$STRIP"; then
5653 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
5655 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5659 test -z "$as_dir" && as_dir=.
5660 for ac_exec_ext in '' $ac_executable_extensions; do
5661 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5662 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
5663 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5671 STRIP=$ac_cv_prog_STRIP
5672 if test -n "$STRIP"; then
5673 echo "$as_me:$LINENO: result: $STRIP" >&5
5674 echo "${ECHO_T}$STRIP" >&6
5676 echo "$as_me:$LINENO: result: no" >&5
5677 echo "${ECHO_T}no" >&6
5681 if test -z "$ac_cv_prog_STRIP"; then
5683 # Extract the first word of "strip", so it can be a program name with args.
5684 set dummy strip; ac_word=$2
5685 echo "$as_me:$LINENO: checking for $ac_word" >&5
5686 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
5687 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
5688 echo $ECHO_N "(cached) $ECHO_C" >&6
5690 if test -n "$ac_ct_STRIP"; then
5691 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
5693 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5697 test -z "$as_dir" && as_dir=.
5698 for ac_exec_ext in '' $ac_executable_extensions; do
5699 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5700 ac_cv_prog_ac_ct_STRIP="strip"
5701 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5707 test -z "$ac_cv_prog_ac_ct_STRIP" && ac_cv_prog_ac_ct_STRIP=":"
5710 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
5711 if test -n "$ac_ct_STRIP"; then
5712 echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
5713 echo "${ECHO_T}$ac_ct_STRIP" >&6
5715 echo "$as_me:$LINENO: result: no" >&5
5716 echo "${ECHO_T}no" >&6
5721 STRIP="$ac_cv_prog_STRIP"
5725 # Check for any special flags to pass to ltconfig.
5726 libtool_flags="--cache-file=$cache_file"
5727 test "$enable_shared" = no && libtool_flags="$libtool_flags --disable-shared"
5728 test "$enable_static" = no && libtool_flags="$libtool_flags --disable-static"
5729 test "$enable_fast_install" = no && libtool_flags="$libtool_flags --disable-fast-install"
5730 test "$GCC" = yes && libtool_flags="$libtool_flags --with-gcc"
5731 test "$lt_cv_prog_gnu_ld" = yes && libtool_flags="$libtool_flags --with-gnu-ld"
5734 # Check whether --enable-libtool-lock or --disable-libtool-lock was given.
5735 if test "${enable_libtool_lock+set}" = set; then
5736 enableval="$enable_libtool_lock"
5739 test "x$enable_libtool_lock" = xno && libtool_flags="$libtool_flags --disable-lock"
5740 test x"$silent" = xyes && libtool_flags="$libtool_flags --silent"
5743 # Check whether --with-pic or --without-pic was given.
5744 if test "${with_pic+set}" = set; then
5750 test x"$pic_mode" = xyes && libtool_flags="$libtool_flags --prefer-pic"
5751 test x"$pic_mode" = xno && libtool_flags="$libtool_flags --prefer-non-pic"
5753 # Some flags need to be propagated to the compiler or linker for good
5757 # Find out which ABI we are using.
5758 echo '#line 5758 "configure"' > conftest.$ac_ext
5759 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5760 (eval $ac_compile) 2>&5
5762 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5763 (exit $ac_status); }; then
5764 if test "$lt_cv_prog_gnu_ld" = yes; then
5765 case `/usr/bin/file conftest.$ac_objext` in
5767 LD="${LD-ld} -melf32bsmip"
5770 LD="${LD-ld} -melf32bmipn32"
5773 LD="${LD-ld} -melf64bmip"
5777 case `/usr/bin/file conftest.$ac_objext` in
5794 # Find out which ABI we are using.
5795 echo 'int i;' > conftest.$ac_ext
5796 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5797 (eval $ac_compile) 2>&5
5799 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5800 (exit $ac_status); }; then
5801 case "`/usr/bin/file conftest.o`" in
5813 x86_64-*linux*|ppc*-*linux*|powerpc*-*linux*|s390*-*linux*|sparc*-*linux*)
5814 # Find out which ABI we are using.
5815 echo 'int i;' > conftest.$ac_ext
5816 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5817 (eval $ac_compile) 2>&5
5819 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5820 (exit $ac_status); }; then
5821 case "`/usr/bin/file conftest.o`" in
5825 LD="${LD-ld} -m elf_i386"
5827 ppc64-*linux*|powerpc64-*linux*)
5828 LD="${LD-ld} -m elf32ppclinux"
5831 LD="${LD-ld} -m elf_s390"
5834 LD="${LD-ld} -m elf32_sparc"
5841 LD="${LD-ld} -m elf_x86_64"
5843 ppc*-*linux*|powerpc*-*linux*)
5844 LD="${LD-ld} -m elf64ppc"
5847 LD="${LD-ld} -m elf64_s390"
5850 LD="${LD-ld} -m elf64_sparc"
5860 # On SCO OpenServer 5, we need -belf to get full-featured binaries.
5861 SAVE_CFLAGS="$CFLAGS"
5862 CFLAGS="$CFLAGS -belf"
5863 echo "$as_me:$LINENO: checking whether the C compiler needs -belf" >&5
5864 echo $ECHO_N "checking whether the C compiler needs -belf... $ECHO_C" >&6
5865 if test "${lt_cv_cc_needs_belf+set}" = set; then
5866 echo $ECHO_N "(cached) $ECHO_C" >&6
5871 ac_cpp='$CPP $CPPFLAGS'
5872 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5873 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5874 ac_compiler_gnu=$ac_cv_c_compiler_gnu
5876 if test x$gcc_no_link = xyes; then
5877 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
5878 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
5879 { (exit 1); exit 1; }; }
5881 cat >conftest.$ac_ext <<_ACEOF
5884 cat confdefs.h >>conftest.$ac_ext
5885 cat >>conftest.$ac_ext <<_ACEOF
5886 /* end confdefs.h. */
5896 rm -f conftest.$ac_objext conftest$ac_exeext
5897 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
5898 (eval $ac_link) 2>conftest.er1
5900 grep -v '^ *+' conftest.er1 >conftest.err
5902 cat conftest.err >&5
5903 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5904 (exit $ac_status); } &&
5905 { ac_try='test -z "$ac_c_werror_flag"
5906 || test ! -s conftest.err'
5907 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5910 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5911 (exit $ac_status); }; } &&
5912 { ac_try='test -s conftest$ac_exeext'
5913 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5916 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5917 (exit $ac_status); }; }; then
5918 lt_cv_cc_needs_belf=yes
5920 echo "$as_me: failed program was:" >&5
5921 sed 's/^/| /' conftest.$ac_ext >&5
5923 lt_cv_cc_needs_belf=no
5925 rm -f conftest.err conftest.$ac_objext \
5926 conftest$ac_exeext conftest.$ac_ext
5928 ac_cpp='$CPP $CPPFLAGS'
5929 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5930 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5931 ac_compiler_gnu=$ac_cv_c_compiler_gnu
5934 echo "$as_me:$LINENO: result: $lt_cv_cc_needs_belf" >&5
5935 echo "${ECHO_T}$lt_cv_cc_needs_belf" >&6
5936 if test x"$lt_cv_cc_needs_belf" != x"yes"; then
5937 # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
5938 CFLAGS="$SAVE_CFLAGS"
5946 # Save cache, so that ltconfig can load it
5947 cat >confcache <<\_ACEOF
5948 # This file is a shell script that caches the results of configure
5949 # tests run on this system so they can be shared between configure
5950 # scripts and configure runs, see configure's option --config-cache.
5951 # It is not useful on other systems. If it contains results you don't
5952 # want to keep, you may remove or edit it.
5954 # config.status only pays attention to the cache file if you give it
5955 # the --recheck option to rerun configure.
5957 # `ac_cv_env_foo' variables (set or unset) will be overridden when
5958 # loading this file, other *unset* `ac_cv_foo' will be assigned the
5963 # The following way of writing the cache mishandles newlines in values,
5964 # but we know of no workaround that is simple, portable, and efficient.
5965 # So, don't put newlines in cache variables' values.
5966 # Ultrix sh set writes to stderr and can't be redirected directly,
5967 # and sets the high bit in the cache file unless we assign to the vars.
5970 case `(ac_space=' '; set | grep ac_space) 2>&1` in
5972 # `set' does not quote correctly, so add quotes (double-quote
5973 # substitution turns \\\\ into \\, and sed turns \\ into \).
5976 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
5979 # `set' quotes correctly as required by POSIX, so do not add quotes.
5981 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
5988 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
5990 /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
5992 if diff $cache_file confcache >/dev/null 2>&1; then :; else
5993 if test -w $cache_file; then
5994 test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
5995 cat confcache >$cache_file
5997 echo "not updating unwritable cache $cache_file"
6002 # Actually configure libtool. ac_aux_dir is where install-sh is found.
6003 AR="$AR" LTCC="$CC" CC="$CC" CFLAGS="$CFLAGS" CPPFLAGS="$CPPFLAGS" \
6004 MAGIC_CMD="$MAGIC_CMD" LD="$LD" LDFLAGS="$LDFLAGS" LIBS="$LIBS" \
6005 LN_S="$LN_S" NM="$NM" RANLIB="$RANLIB" STRIP="$STRIP" \
6006 AS="$AS" DLLTOOL="$DLLTOOL" OBJDUMP="$OBJDUMP" \
6007 objext="$OBJEXT" exeext="$EXEEXT" reload_flag="$reload_flag" \
6008 deplibs_check_method="$deplibs_check_method" file_magic_cmd="$file_magic_cmd" \
6009 ${CONFIG_SHELL-/bin/sh} $ac_aux_dir/ltconfig --no-reexec \
6010 $libtool_flags --no-verify --build="$build" $ac_aux_dir/ltmain.sh $host \
6011 || { { echo "$as_me:$LINENO: error: libtool configure failed" >&5
6012 echo "$as_me: error: libtool configure failed" >&2;}
6013 { (exit 1); exit 1; }; }
6015 # Reload cache, that may have been modified by ltconfig
6016 if test -r "$cache_file"; then
6017 # Some versions of bash will fail to source /dev/null (special
6018 # files actually), so we avoid doing that.
6019 if test -f "$cache_file"; then
6020 { echo "$as_me:$LINENO: loading cache $cache_file" >&5
6021 echo "$as_me: loading cache $cache_file" >&6;}
6023 [\\/]* | ?:[\\/]* ) . $cache_file;;
6024 *) . ./$cache_file;;
6028 { echo "$as_me:$LINENO: creating cache $cache_file" >&5
6029 echo "$as_me: creating cache $cache_file" >&6;}
6034 # This can be used to rebuild libtool when needed
6035 LIBTOOL_DEPS="$ac_aux_dir/ltconfig $ac_aux_dir/ltmain.sh $ac_aux_dir/ltcf-c.sh"
6037 # Always use our own libtool.
6038 LIBTOOL='$(SHELL) $(top_builddir)/libtool'
6040 # Redirect the config.log output again, so that the ltconfig log is not
6041 # clobbered by the next message.
6042 exec 5>>./config.log
6050 ac_cpp='$CPP $CPPFLAGS'
6051 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6052 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6053 ac_compiler_gnu=$ac_cv_c_compiler_gnu
6054 if test -n "$ac_tool_prefix"; then
6055 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
6056 set dummy ${ac_tool_prefix}gcc; ac_word=$2
6057 echo "$as_me:$LINENO: checking for $ac_word" >&5
6058 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
6059 if test "${ac_cv_prog_CC+set}" = set; then
6060 echo $ECHO_N "(cached) $ECHO_C" >&6
6062 if test -n "$CC"; then
6063 ac_cv_prog_CC="$CC" # Let the user override the test.
6065 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6069 test -z "$as_dir" && as_dir=.
6070 for ac_exec_ext in '' $ac_executable_extensions; do
6071 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6072 ac_cv_prog_CC="${ac_tool_prefix}gcc"
6073 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6082 if test -n "$CC"; then
6083 echo "$as_me:$LINENO: result: $CC" >&5
6084 echo "${ECHO_T}$CC" >&6
6086 echo "$as_me:$LINENO: result: no" >&5
6087 echo "${ECHO_T}no" >&6
6091 if test -z "$ac_cv_prog_CC"; then
6093 # Extract the first word of "gcc", so it can be a program name with args.
6094 set dummy gcc; ac_word=$2
6095 echo "$as_me:$LINENO: checking for $ac_word" >&5
6096 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
6097 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
6098 echo $ECHO_N "(cached) $ECHO_C" >&6
6100 if test -n "$ac_ct_CC"; then
6101 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
6103 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6107 test -z "$as_dir" && as_dir=.
6108 for ac_exec_ext in '' $ac_executable_extensions; do
6109 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6110 ac_cv_prog_ac_ct_CC="gcc"
6111 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6119 ac_ct_CC=$ac_cv_prog_ac_ct_CC
6120 if test -n "$ac_ct_CC"; then
6121 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
6122 echo "${ECHO_T}$ac_ct_CC" >&6
6124 echo "$as_me:$LINENO: result: no" >&5
6125 echo "${ECHO_T}no" >&6
6133 if test -z "$CC"; then
6134 if test -n "$ac_tool_prefix"; then
6135 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
6136 set dummy ${ac_tool_prefix}cc; ac_word=$2
6137 echo "$as_me:$LINENO: checking for $ac_word" >&5
6138 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
6139 if test "${ac_cv_prog_CC+set}" = set; then
6140 echo $ECHO_N "(cached) $ECHO_C" >&6
6142 if test -n "$CC"; then
6143 ac_cv_prog_CC="$CC" # Let the user override the test.
6145 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6149 test -z "$as_dir" && as_dir=.
6150 for ac_exec_ext in '' $ac_executable_extensions; do
6151 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6152 ac_cv_prog_CC="${ac_tool_prefix}cc"
6153 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6162 if test -n "$CC"; then
6163 echo "$as_me:$LINENO: result: $CC" >&5
6164 echo "${ECHO_T}$CC" >&6
6166 echo "$as_me:$LINENO: result: no" >&5
6167 echo "${ECHO_T}no" >&6
6171 if test -z "$ac_cv_prog_CC"; then
6173 # Extract the first word of "cc", so it can be a program name with args.
6174 set dummy cc; ac_word=$2
6175 echo "$as_me:$LINENO: checking for $ac_word" >&5
6176 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
6177 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
6178 echo $ECHO_N "(cached) $ECHO_C" >&6
6180 if test -n "$ac_ct_CC"; then
6181 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
6183 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6187 test -z "$as_dir" && as_dir=.
6188 for ac_exec_ext in '' $ac_executable_extensions; do
6189 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6190 ac_cv_prog_ac_ct_CC="cc"
6191 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6199 ac_ct_CC=$ac_cv_prog_ac_ct_CC
6200 if test -n "$ac_ct_CC"; then
6201 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
6202 echo "${ECHO_T}$ac_ct_CC" >&6
6204 echo "$as_me:$LINENO: result: no" >&5
6205 echo "${ECHO_T}no" >&6
6214 if test -z "$CC"; then
6215 # Extract the first word of "cc", so it can be a program name with args.
6216 set dummy cc; ac_word=$2
6217 echo "$as_me:$LINENO: checking for $ac_word" >&5
6218 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
6219 if test "${ac_cv_prog_CC+set}" = set; then
6220 echo $ECHO_N "(cached) $ECHO_C" >&6
6222 if test -n "$CC"; then
6223 ac_cv_prog_CC="$CC" # Let the user override the test.
6226 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6230 test -z "$as_dir" && as_dir=.
6231 for ac_exec_ext in '' $ac_executable_extensions; do
6232 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6233 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
6234 ac_prog_rejected=yes
6238 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6244 if test $ac_prog_rejected = yes; then
6245 # We found a bogon in the path, so make sure we never use it.
6246 set dummy $ac_cv_prog_CC
6248 if test $# != 0; then
6249 # We chose a different compiler from the bogus one.
6250 # However, it has the same basename, so the bogon will be chosen
6251 # first if we set CC to just the basename; use the full file name.
6253 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
6259 if test -n "$CC"; then
6260 echo "$as_me:$LINENO: result: $CC" >&5
6261 echo "${ECHO_T}$CC" >&6
6263 echo "$as_me:$LINENO: result: no" >&5
6264 echo "${ECHO_T}no" >&6
6268 if test -z "$CC"; then
6269 if test -n "$ac_tool_prefix"; then
6272 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
6273 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
6274 echo "$as_me:$LINENO: checking for $ac_word" >&5
6275 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
6276 if test "${ac_cv_prog_CC+set}" = set; then
6277 echo $ECHO_N "(cached) $ECHO_C" >&6
6279 if test -n "$CC"; then
6280 ac_cv_prog_CC="$CC" # Let the user override the test.
6282 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6286 test -z "$as_dir" && as_dir=.
6287 for ac_exec_ext in '' $ac_executable_extensions; do
6288 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6289 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
6290 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6299 if test -n "$CC"; then
6300 echo "$as_me:$LINENO: result: $CC" >&5
6301 echo "${ECHO_T}$CC" >&6
6303 echo "$as_me:$LINENO: result: no" >&5
6304 echo "${ECHO_T}no" >&6
6307 test -n "$CC" && break
6310 if test -z "$CC"; then
6314 # Extract the first word of "$ac_prog", so it can be a program name with args.
6315 set dummy $ac_prog; ac_word=$2
6316 echo "$as_me:$LINENO: checking for $ac_word" >&5
6317 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
6318 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
6319 echo $ECHO_N "(cached) $ECHO_C" >&6
6321 if test -n "$ac_ct_CC"; then
6322 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
6324 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6328 test -z "$as_dir" && as_dir=.
6329 for ac_exec_ext in '' $ac_executable_extensions; do
6330 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6331 ac_cv_prog_ac_ct_CC="$ac_prog"
6332 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6340 ac_ct_CC=$ac_cv_prog_ac_ct_CC
6341 if test -n "$ac_ct_CC"; then
6342 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
6343 echo "${ECHO_T}$ac_ct_CC" >&6
6345 echo "$as_me:$LINENO: result: no" >&5
6346 echo "${ECHO_T}no" >&6
6349 test -n "$ac_ct_CC" && break
6358 test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
6359 See \`config.log' for more details." >&5
6360 echo "$as_me: error: no acceptable C compiler found in \$PATH
6361 See \`config.log' for more details." >&2;}
6362 { (exit 1); exit 1; }; }
6364 # Provide some information about the compiler.
6365 echo "$as_me:$LINENO:" \
6366 "checking for C compiler version" >&5
6367 ac_compiler=`set X $ac_compile; echo $2`
6368 { (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5
6369 (eval $ac_compiler --version </dev/null >&5) 2>&5
6371 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6372 (exit $ac_status); }
6373 { (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5
6374 (eval $ac_compiler -v </dev/null >&5) 2>&5
6376 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6377 (exit $ac_status); }
6378 { (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5
6379 (eval $ac_compiler -V </dev/null >&5) 2>&5
6381 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6382 (exit $ac_status); }
6384 echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
6385 echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6
6386 if test "${ac_cv_c_compiler_gnu+set}" = set; then
6387 echo $ECHO_N "(cached) $ECHO_C" >&6
6389 cat >conftest.$ac_ext <<_ACEOF
6392 cat confdefs.h >>conftest.$ac_ext
6393 cat >>conftest.$ac_ext <<_ACEOF
6394 /* end confdefs.h. */
6407 rm -f conftest.$ac_objext
6408 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6409 (eval $ac_compile) 2>conftest.er1
6411 grep -v '^ *+' conftest.er1 >conftest.err
6413 cat conftest.err >&5
6414 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6415 (exit $ac_status); } &&
6416 { ac_try='test -z "$ac_c_werror_flag"
6417 || test ! -s conftest.err'
6418 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6421 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6422 (exit $ac_status); }; } &&
6423 { ac_try='test -s conftest.$ac_objext'
6424 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6427 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6428 (exit $ac_status); }; }; then
6431 echo "$as_me: failed program was:" >&5
6432 sed 's/^/| /' conftest.$ac_ext >&5
6436 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
6437 ac_cv_c_compiler_gnu=$ac_compiler_gnu
6440 echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
6441 echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6
6442 GCC=`test $ac_compiler_gnu = yes && echo yes`
6443 ac_test_CFLAGS=${CFLAGS+set}
6444 ac_save_CFLAGS=$CFLAGS
6446 echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
6447 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6
6448 if test "${ac_cv_prog_cc_g+set}" = set; then
6449 echo $ECHO_N "(cached) $ECHO_C" >&6
6451 cat >conftest.$ac_ext <<_ACEOF
6454 cat confdefs.h >>conftest.$ac_ext
6455 cat >>conftest.$ac_ext <<_ACEOF
6456 /* end confdefs.h. */
6466 rm -f conftest.$ac_objext
6467 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6468 (eval $ac_compile) 2>conftest.er1
6470 grep -v '^ *+' conftest.er1 >conftest.err
6472 cat conftest.err >&5
6473 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6474 (exit $ac_status); } &&
6475 { ac_try='test -z "$ac_c_werror_flag"
6476 || test ! -s conftest.err'
6477 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6480 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6481 (exit $ac_status); }; } &&
6482 { ac_try='test -s conftest.$ac_objext'
6483 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6486 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6487 (exit $ac_status); }; }; then
6490 echo "$as_me: failed program was:" >&5
6491 sed 's/^/| /' conftest.$ac_ext >&5
6495 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
6497 echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
6498 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6
6499 if test "$ac_test_CFLAGS" = set; then
6500 CFLAGS=$ac_save_CFLAGS
6501 elif test $ac_cv_prog_cc_g = yes; then
6502 if test "$GCC" = yes; then
6508 if test "$GCC" = yes; then
6514 echo "$as_me:$LINENO: checking for $CC option to accept ANSI C" >&5
6515 echo $ECHO_N "checking for $CC option to accept ANSI C... $ECHO_C" >&6
6516 if test "${ac_cv_prog_cc_stdc+set}" = set; then
6517 echo $ECHO_N "(cached) $ECHO_C" >&6
6519 ac_cv_prog_cc_stdc=no
6521 cat >conftest.$ac_ext <<_ACEOF
6524 cat confdefs.h >>conftest.$ac_ext
6525 cat >>conftest.$ac_ext <<_ACEOF
6526 /* end confdefs.h. */
6529 #include <sys/types.h>
6530 #include <sys/stat.h>
6531 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
6532 struct buf { int x; };
6533 FILE * (*rcsopen) (struct buf *, struct stat *, int);
6534 static char *e (p, i)
6540 static char *f (char * (*g) (char **, int), char **p, ...)
6545 s = g (p, va_arg (v,int));
6550 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
6551 function prototypes and stuff, but not '\xHH' hex character constants.
6552 These don't provoke an error unfortunately, instead are silently treated
6553 as 'x'. The following induces an error, until -std1 is added to get
6554 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
6555 array size at least. It's necessary to write '\x00'==0 to get something
6556 that's true only with -std1. */
6557 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
6559 int test (int i, double x);
6560 struct s1 {int (*f) (int a);};
6561 struct s2 {int (*f) (double a);};
6562 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
6568 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
6573 # Don't try gcc -ansi; that turns off useful extensions and
6574 # breaks some systems' header files.
6575 # AIX -qlanglvl=ansi
6576 # Ultrix and OSF/1 -std1
6577 # HP-UX 10.20 and later -Ae
6578 # HP-UX older versions -Aa -D_HPUX_SOURCE
6579 # SVR4 -Xc -D__EXTENSIONS__
6580 for ac_arg in "" -qlanglvl=ansi -std1 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
6582 CC="$ac_save_CC $ac_arg"
6583 rm -f conftest.$ac_objext
6584 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6585 (eval $ac_compile) 2>conftest.er1
6587 grep -v '^ *+' conftest.er1 >conftest.err
6589 cat conftest.err >&5
6590 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6591 (exit $ac_status); } &&
6592 { ac_try='test -z "$ac_c_werror_flag"
6593 || test ! -s conftest.err'
6594 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6597 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6598 (exit $ac_status); }; } &&
6599 { ac_try='test -s conftest.$ac_objext'
6600 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6603 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6604 (exit $ac_status); }; }; then
6605 ac_cv_prog_cc_stdc=$ac_arg
6608 echo "$as_me: failed program was:" >&5
6609 sed 's/^/| /' conftest.$ac_ext >&5
6612 rm -f conftest.err conftest.$ac_objext
6614 rm -f conftest.$ac_ext conftest.$ac_objext
6619 case "x$ac_cv_prog_cc_stdc" in
6621 echo "$as_me:$LINENO: result: none needed" >&5
6622 echo "${ECHO_T}none needed" >&6 ;;
6624 echo "$as_me:$LINENO: result: $ac_cv_prog_cc_stdc" >&5
6625 echo "${ECHO_T}$ac_cv_prog_cc_stdc" >&6
6626 CC="$CC $ac_cv_prog_cc_stdc" ;;
6629 # Some people use a C++ compiler to compile C. Since we use `exit',
6630 # in C++ we need to declare it. In case someone uses the same compiler
6631 # for both compiling C and C++ we need to have the C++ compiler decide
6632 # the declaration of exit, since it's the most demanding environment.
6633 cat >conftest.$ac_ext <<_ACEOF
6638 rm -f conftest.$ac_objext
6639 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6640 (eval $ac_compile) 2>conftest.er1
6642 grep -v '^ *+' conftest.er1 >conftest.err
6644 cat conftest.err >&5
6645 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6646 (exit $ac_status); } &&
6647 { ac_try='test -z "$ac_c_werror_flag"
6648 || test ! -s conftest.err'
6649 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6652 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6653 (exit $ac_status); }; } &&
6654 { ac_try='test -s conftest.$ac_objext'
6655 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6658 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6659 (exit $ac_status); }; }; then
6660 for ac_declaration in \
6662 'extern "C" void std::exit (int) throw (); using std::exit;' \
6663 'extern "C" void std::exit (int); using std::exit;' \
6664 'extern "C" void exit (int) throw ();' \
6665 'extern "C" void exit (int);' \
6668 cat >conftest.$ac_ext <<_ACEOF
6671 cat confdefs.h >>conftest.$ac_ext
6672 cat >>conftest.$ac_ext <<_ACEOF
6673 /* end confdefs.h. */
6684 rm -f conftest.$ac_objext
6685 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6686 (eval $ac_compile) 2>conftest.er1
6688 grep -v '^ *+' conftest.er1 >conftest.err
6690 cat conftest.err >&5
6691 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6692 (exit $ac_status); } &&
6693 { ac_try='test -z "$ac_c_werror_flag"
6694 || test ! -s conftest.err'
6695 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6698 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6699 (exit $ac_status); }; } &&
6700 { ac_try='test -s conftest.$ac_objext'
6701 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6704 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6705 (exit $ac_status); }; }; then
6708 echo "$as_me: failed program was:" >&5
6709 sed 's/^/| /' conftest.$ac_ext >&5
6713 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
6714 cat >conftest.$ac_ext <<_ACEOF
6717 cat confdefs.h >>conftest.$ac_ext
6718 cat >>conftest.$ac_ext <<_ACEOF
6719 /* end confdefs.h. */
6729 rm -f conftest.$ac_objext
6730 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6731 (eval $ac_compile) 2>conftest.er1
6733 grep -v '^ *+' conftest.er1 >conftest.err
6735 cat conftest.err >&5
6736 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6737 (exit $ac_status); } &&
6738 { ac_try='test -z "$ac_c_werror_flag"
6739 || test ! -s conftest.err'
6740 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6743 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6744 (exit $ac_status); }; } &&
6745 { ac_try='test -s conftest.$ac_objext'
6746 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6749 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6750 (exit $ac_status); }; }; then
6753 echo "$as_me: failed program was:" >&5
6754 sed 's/^/| /' conftest.$ac_ext >&5
6757 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
6760 if test -n "$ac_declaration"; then
6761 echo '#ifdef __cplusplus' >>confdefs.h
6762 echo $ac_declaration >>confdefs.h
6763 echo '#endif' >>confdefs.h
6767 echo "$as_me: failed program was:" >&5
6768 sed 's/^/| /' conftest.$ac_ext >&5
6771 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
6773 ac_cpp='$CPP $CPPFLAGS'
6774 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6775 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6776 ac_compiler_gnu=$ac_cv_c_compiler_gnu
6778 depcc="$CC" am_compiler_list=
6780 echo "$as_me:$LINENO: checking dependency style of $depcc" >&5
6781 echo $ECHO_N "checking dependency style of $depcc... $ECHO_C" >&6
6782 if test "${am_cv_CC_dependencies_compiler_type+set}" = set; then
6783 echo $ECHO_N "(cached) $ECHO_C" >&6
6785 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
6786 # We make a subdir and do the tests there. Otherwise we can end up
6787 # making bogus files that we don't know about and never remove. For
6788 # instance it was reported that on HP-UX the gcc test will end up
6789 # making a dummy file named `D' -- because `-MD' means `put the output
6792 # Copy depcomp to subdir because otherwise we won't find it if we're
6793 # using a relative directory.
6794 cp "$am_depcomp" conftest.dir
6796 # We will build objects and dependencies in a subdirectory because
6797 # it helps to detect inapplicable dependency modes. For instance
6798 # both Tru64's cc and ICC support -MD to output dependencies as a
6799 # side effect of compilation, but ICC will put the dependencies in
6800 # the current directory while Tru64 will put them in the object
6804 am_cv_CC_dependencies_compiler_type=none
6805 if test "$am_compiler_list" = ""; then
6806 am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
6808 for depmode in $am_compiler_list; do
6809 # Setup a source with many dependencies, because some compilers
6810 # like to wrap large dependency lists on column 80 (with \), and
6811 # we should not choose a depcomp mode which is confused by this.
6813 # We need to recreate these files for each test, as the compiler may
6814 # overwrite some of them when testing with obscure command lines.
6815 # This happens at least with the AIX C compiler.
6817 for i in 1 2 3 4 5 6; do
6818 echo '#include "conftst'$i'.h"' >> sub/conftest.c
6819 # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
6820 # Solaris 8's {/usr,}/bin/sh.
6821 touch sub/conftst$i.h
6823 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
6827 # after this tag, mechanisms are not by side-effect, so they'll
6828 # only be used when explicitly requested
6829 if test "x$enable_dependency_tracking" = xyes; then
6837 # We check with `-c' and `-o' for the sake of the "dashmstdout"
6838 # mode. It turns out that the SunPro C++ compiler does not properly
6839 # handle `-M -o', and we need to detect this.
6840 if depmode=$depmode \
6841 source=sub/conftest.c object=sub/conftest.${OBJEXT-o} \
6842 depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
6843 $SHELL ./depcomp $depcc -c -o sub/conftest.${OBJEXT-o} sub/conftest.c \
6844 >/dev/null 2>conftest.err &&
6845 grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
6846 grep sub/conftest.${OBJEXT-o} sub/conftest.Po > /dev/null 2>&1 &&
6847 ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
6848 # icc doesn't choke on unknown options, it will just issue warnings
6849 # or remarks (even with -Werror). So we grep stderr for any message
6850 # that says an option was ignored or not supported.
6851 # When given -MP, icc 7.0 and 7.1 complain thusly:
6852 # icc: Command line warning: ignoring option '-M'; no argument required
6853 # The diagnosis changed in icc 8.0:
6854 # icc: Command line remark: option '-MP' not supported
6855 if (grep 'ignoring option' conftest.err ||
6856 grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
6857 am_cv_CC_dependencies_compiler_type=$depmode
6866 am_cv_CC_dependencies_compiler_type=none
6870 echo "$as_me:$LINENO: result: $am_cv_CC_dependencies_compiler_type" >&5
6871 echo "${ECHO_T}$am_cv_CC_dependencies_compiler_type" >&6
6872 CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
6877 test "x$enable_dependency_tracking" != xno \
6878 && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
6880 am__fastdepCC_FALSE='#'
6882 am__fastdepCC_TRUE='#'
6883 am__fastdepCC_FALSE=
6888 ac_cpp='$CPP $CPPFLAGS'
6889 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6890 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6891 ac_compiler_gnu=$ac_cv_c_compiler_gnu
6892 echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5
6893 echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6
6894 # On Suns, sometimes $CPP names a directory.
6895 if test -n "$CPP" && test -d "$CPP"; then
6898 if test -z "$CPP"; then
6899 if test "${ac_cv_prog_CPP+set}" = set; then
6900 echo $ECHO_N "(cached) $ECHO_C" >&6
6902 # Double quotes because CPP needs to be expanded
6903 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
6906 for ac_c_preproc_warn_flag in '' yes
6908 # Use a header file that comes with gcc, so configuring glibc
6909 # with a fresh cross-compiler works.
6910 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
6911 # <limits.h> exists even on freestanding compilers.
6912 # On the NeXT, cc -E runs the code through the compiler's parser,
6913 # not just through cpp. "Syntax error" is here to catch this case.
6914 cat >conftest.$ac_ext <<_ACEOF
6917 cat confdefs.h >>conftest.$ac_ext
6918 cat >>conftest.$ac_ext <<_ACEOF
6919 /* end confdefs.h. */
6921 # include <limits.h>
6923 # include <assert.h>
6927 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
6928 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
6930 grep -v '^ *+' conftest.er1 >conftest.err
6932 cat conftest.err >&5
6933 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6934 (exit $ac_status); } >/dev/null; then
6935 if test -s conftest.err; then
6936 ac_cpp_err=$ac_c_preproc_warn_flag
6937 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
6944 if test -z "$ac_cpp_err"; then
6947 echo "$as_me: failed program was:" >&5
6948 sed 's/^/| /' conftest.$ac_ext >&5
6950 # Broken: fails on valid input.
6953 rm -f conftest.err conftest.$ac_ext
6955 # OK, works on sane cases. Now check whether non-existent headers
6956 # can be detected and how.
6957 cat >conftest.$ac_ext <<_ACEOF
6960 cat confdefs.h >>conftest.$ac_ext
6961 cat >>conftest.$ac_ext <<_ACEOF
6962 /* end confdefs.h. */
6963 #include <ac_nonexistent.h>
6965 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
6966 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
6968 grep -v '^ *+' conftest.er1 >conftest.err
6970 cat conftest.err >&5
6971 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6972 (exit $ac_status); } >/dev/null; then
6973 if test -s conftest.err; then
6974 ac_cpp_err=$ac_c_preproc_warn_flag
6975 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
6982 if test -z "$ac_cpp_err"; then
6983 # Broken: success on invalid input.
6986 echo "$as_me: failed program was:" >&5
6987 sed 's/^/| /' conftest.$ac_ext >&5
6989 # Passes both tests.
6993 rm -f conftest.err conftest.$ac_ext
6996 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
6997 rm -f conftest.err conftest.$ac_ext
6998 if $ac_preproc_ok; then
7010 echo "$as_me:$LINENO: result: $CPP" >&5
7011 echo "${ECHO_T}$CPP" >&6
7013 for ac_c_preproc_warn_flag in '' yes
7015 # Use a header file that comes with gcc, so configuring glibc
7016 # with a fresh cross-compiler works.
7017 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
7018 # <limits.h> exists even on freestanding compilers.
7019 # On the NeXT, cc -E runs the code through the compiler's parser,
7020 # not just through cpp. "Syntax error" is here to catch this case.
7021 cat >conftest.$ac_ext <<_ACEOF
7024 cat confdefs.h >>conftest.$ac_ext
7025 cat >>conftest.$ac_ext <<_ACEOF
7026 /* end confdefs.h. */
7028 # include <limits.h>
7030 # include <assert.h>
7034 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
7035 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
7037 grep -v '^ *+' conftest.er1 >conftest.err
7039 cat conftest.err >&5
7040 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7041 (exit $ac_status); } >/dev/null; then
7042 if test -s conftest.err; then
7043 ac_cpp_err=$ac_c_preproc_warn_flag
7044 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
7051 if test -z "$ac_cpp_err"; then
7054 echo "$as_me: failed program was:" >&5
7055 sed 's/^/| /' conftest.$ac_ext >&5
7057 # Broken: fails on valid input.
7060 rm -f conftest.err conftest.$ac_ext
7062 # OK, works on sane cases. Now check whether non-existent headers
7063 # can be detected and how.
7064 cat >conftest.$ac_ext <<_ACEOF
7067 cat confdefs.h >>conftest.$ac_ext
7068 cat >>conftest.$ac_ext <<_ACEOF
7069 /* end confdefs.h. */
7070 #include <ac_nonexistent.h>
7072 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
7073 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
7075 grep -v '^ *+' conftest.er1 >conftest.err
7077 cat conftest.err >&5
7078 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7079 (exit $ac_status); } >/dev/null; then
7080 if test -s conftest.err; then
7081 ac_cpp_err=$ac_c_preproc_warn_flag
7082 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
7089 if test -z "$ac_cpp_err"; then
7090 # Broken: success on invalid input.
7093 echo "$as_me: failed program was:" >&5
7094 sed 's/^/| /' conftest.$ac_ext >&5
7096 # Passes both tests.
7100 rm -f conftest.err conftest.$ac_ext
7103 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
7104 rm -f conftest.err conftest.$ac_ext
7105 if $ac_preproc_ok; then
7108 { { echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check
7109 See \`config.log' for more details." >&5
7110 echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check
7111 See \`config.log' for more details." >&2;}
7112 { (exit 1); exit 1; }; }
7116 ac_cpp='$CPP $CPPFLAGS'
7117 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7118 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7119 ac_compiler_gnu=$ac_cv_c_compiler_gnu
7122 ac_cpp='$CXXCPP $CPPFLAGS'
7123 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7124 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7125 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
7126 if test -n "$ac_tool_prefix"; then
7127 for ac_prog in $CCC g++ c++ gpp aCC CC cxx cc++ cl FCC KCC RCC xlC_r xlC
7129 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
7130 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
7131 echo "$as_me:$LINENO: checking for $ac_word" >&5
7132 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
7133 if test "${ac_cv_prog_CXX+set}" = set; then
7134 echo $ECHO_N "(cached) $ECHO_C" >&6
7136 if test -n "$CXX"; then
7137 ac_cv_prog_CXX="$CXX" # Let the user override the test.
7139 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7143 test -z "$as_dir" && as_dir=.
7144 for ac_exec_ext in '' $ac_executable_extensions; do
7145 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7146 ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
7147 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
7156 if test -n "$CXX"; then
7157 echo "$as_me:$LINENO: result: $CXX" >&5
7158 echo "${ECHO_T}$CXX" >&6
7160 echo "$as_me:$LINENO: result: no" >&5
7161 echo "${ECHO_T}no" >&6
7164 test -n "$CXX" && break
7167 if test -z "$CXX"; then
7169 for ac_prog in $CCC g++ c++ gpp aCC CC cxx cc++ cl FCC KCC RCC xlC_r xlC
7171 # Extract the first word of "$ac_prog", so it can be a program name with args.
7172 set dummy $ac_prog; ac_word=$2
7173 echo "$as_me:$LINENO: checking for $ac_word" >&5
7174 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
7175 if test "${ac_cv_prog_ac_ct_CXX+set}" = set; then
7176 echo $ECHO_N "(cached) $ECHO_C" >&6
7178 if test -n "$ac_ct_CXX"; then
7179 ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
7181 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7185 test -z "$as_dir" && as_dir=.
7186 for ac_exec_ext in '' $ac_executable_extensions; do
7187 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7188 ac_cv_prog_ac_ct_CXX="$ac_prog"
7189 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
7197 ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
7198 if test -n "$ac_ct_CXX"; then
7199 echo "$as_me:$LINENO: result: $ac_ct_CXX" >&5
7200 echo "${ECHO_T}$ac_ct_CXX" >&6
7202 echo "$as_me:$LINENO: result: no" >&5
7203 echo "${ECHO_T}no" >&6
7206 test -n "$ac_ct_CXX" && break
7208 test -n "$ac_ct_CXX" || ac_ct_CXX="g++"
7214 # Provide some information about the compiler.
7215 echo "$as_me:$LINENO:" \
7216 "checking for C++ compiler version" >&5
7217 ac_compiler=`set X $ac_compile; echo $2`
7218 { (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5
7219 (eval $ac_compiler --version </dev/null >&5) 2>&5
7221 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7222 (exit $ac_status); }
7223 { (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5
7224 (eval $ac_compiler -v </dev/null >&5) 2>&5
7226 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7227 (exit $ac_status); }
7228 { (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5
7229 (eval $ac_compiler -V </dev/null >&5) 2>&5
7231 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7232 (exit $ac_status); }
7234 echo "$as_me:$LINENO: checking whether we are using the GNU C++ compiler" >&5
7235 echo $ECHO_N "checking whether we are using the GNU C++ compiler... $ECHO_C" >&6
7236 if test "${ac_cv_cxx_compiler_gnu+set}" = set; then
7237 echo $ECHO_N "(cached) $ECHO_C" >&6
7239 cat >conftest.$ac_ext <<_ACEOF
7242 cat confdefs.h >>conftest.$ac_ext
7243 cat >>conftest.$ac_ext <<_ACEOF
7244 /* end confdefs.h. */
7257 rm -f conftest.$ac_objext
7258 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7259 (eval $ac_compile) 2>conftest.er1
7261 grep -v '^ *+' conftest.er1 >conftest.err
7263 cat conftest.err >&5
7264 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7265 (exit $ac_status); } &&
7266 { ac_try='test -z "$ac_cxx_werror_flag"
7267 || test ! -s conftest.err'
7268 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7271 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7272 (exit $ac_status); }; } &&
7273 { ac_try='test -s conftest.$ac_objext'
7274 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7277 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7278 (exit $ac_status); }; }; then
7281 echo "$as_me: failed program was:" >&5
7282 sed 's/^/| /' conftest.$ac_ext >&5
7286 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
7287 ac_cv_cxx_compiler_gnu=$ac_compiler_gnu
7290 echo "$as_me:$LINENO: result: $ac_cv_cxx_compiler_gnu" >&5
7291 echo "${ECHO_T}$ac_cv_cxx_compiler_gnu" >&6
7292 GXX=`test $ac_compiler_gnu = yes && echo yes`
7293 ac_test_CXXFLAGS=${CXXFLAGS+set}
7294 ac_save_CXXFLAGS=$CXXFLAGS
7296 echo "$as_me:$LINENO: checking whether $CXX accepts -g" >&5
7297 echo $ECHO_N "checking whether $CXX accepts -g... $ECHO_C" >&6
7298 if test "${ac_cv_prog_cxx_g+set}" = set; then
7299 echo $ECHO_N "(cached) $ECHO_C" >&6
7301 cat >conftest.$ac_ext <<_ACEOF
7304 cat confdefs.h >>conftest.$ac_ext
7305 cat >>conftest.$ac_ext <<_ACEOF
7306 /* end confdefs.h. */
7316 rm -f conftest.$ac_objext
7317 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7318 (eval $ac_compile) 2>conftest.er1
7320 grep -v '^ *+' conftest.er1 >conftest.err
7322 cat conftest.err >&5
7323 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7324 (exit $ac_status); } &&
7325 { ac_try='test -z "$ac_cxx_werror_flag"
7326 || test ! -s conftest.err'
7327 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7330 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7331 (exit $ac_status); }; } &&
7332 { ac_try='test -s conftest.$ac_objext'
7333 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7336 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7337 (exit $ac_status); }; }; then
7338 ac_cv_prog_cxx_g=yes
7340 echo "$as_me: failed program was:" >&5
7341 sed 's/^/| /' conftest.$ac_ext >&5
7345 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
7347 echo "$as_me:$LINENO: result: $ac_cv_prog_cxx_g" >&5
7348 echo "${ECHO_T}$ac_cv_prog_cxx_g" >&6
7349 if test "$ac_test_CXXFLAGS" = set; then
7350 CXXFLAGS=$ac_save_CXXFLAGS
7351 elif test $ac_cv_prog_cxx_g = yes; then
7352 if test "$GXX" = yes; then
7358 if test "$GXX" = yes; then
7364 for ac_declaration in \
7366 'extern "C" void std::exit (int) throw (); using std::exit;' \
7367 'extern "C" void std::exit (int); using std::exit;' \
7368 'extern "C" void exit (int) throw ();' \
7369 'extern "C" void exit (int);' \
7372 cat >conftest.$ac_ext <<_ACEOF
7375 cat confdefs.h >>conftest.$ac_ext
7376 cat >>conftest.$ac_ext <<_ACEOF
7377 /* end confdefs.h. */
7388 rm -f conftest.$ac_objext
7389 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7390 (eval $ac_compile) 2>conftest.er1
7392 grep -v '^ *+' conftest.er1 >conftest.err
7394 cat conftest.err >&5
7395 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7396 (exit $ac_status); } &&
7397 { ac_try='test -z "$ac_cxx_werror_flag"
7398 || test ! -s conftest.err'
7399 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7402 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7403 (exit $ac_status); }; } &&
7404 { ac_try='test -s conftest.$ac_objext'
7405 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7408 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7409 (exit $ac_status); }; }; then
7412 echo "$as_me: failed program was:" >&5
7413 sed 's/^/| /' conftest.$ac_ext >&5
7417 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
7418 cat >conftest.$ac_ext <<_ACEOF
7421 cat confdefs.h >>conftest.$ac_ext
7422 cat >>conftest.$ac_ext <<_ACEOF
7423 /* end confdefs.h. */
7433 rm -f conftest.$ac_objext
7434 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7435 (eval $ac_compile) 2>conftest.er1
7437 grep -v '^ *+' conftest.er1 >conftest.err
7439 cat conftest.err >&5
7440 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7441 (exit $ac_status); } &&
7442 { ac_try='test -z "$ac_cxx_werror_flag"
7443 || test ! -s conftest.err'
7444 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7447 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7448 (exit $ac_status); }; } &&
7449 { ac_try='test -s conftest.$ac_objext'
7450 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7453 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7454 (exit $ac_status); }; }; then
7457 echo "$as_me: failed program was:" >&5
7458 sed 's/^/| /' conftest.$ac_ext >&5
7461 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
7464 if test -n "$ac_declaration"; then
7465 echo '#ifdef __cplusplus' >>confdefs.h
7466 echo $ac_declaration >>confdefs.h
7467 echo '#endif' >>confdefs.h
7471 ac_cpp='$CPP $CPPFLAGS'
7472 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7473 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7474 ac_compiler_gnu=$ac_cv_c_compiler_gnu
7476 depcc="$CXX" am_compiler_list=
7478 echo "$as_me:$LINENO: checking dependency style of $depcc" >&5
7479 echo $ECHO_N "checking dependency style of $depcc... $ECHO_C" >&6
7480 if test "${am_cv_CXX_dependencies_compiler_type+set}" = set; then
7481 echo $ECHO_N "(cached) $ECHO_C" >&6
7483 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
7484 # We make a subdir and do the tests there. Otherwise we can end up
7485 # making bogus files that we don't know about and never remove. For
7486 # instance it was reported that on HP-UX the gcc test will end up
7487 # making a dummy file named `D' -- because `-MD' means `put the output
7490 # Copy depcomp to subdir because otherwise we won't find it if we're
7491 # using a relative directory.
7492 cp "$am_depcomp" conftest.dir
7494 # We will build objects and dependencies in a subdirectory because
7495 # it helps to detect inapplicable dependency modes. For instance
7496 # both Tru64's cc and ICC support -MD to output dependencies as a
7497 # side effect of compilation, but ICC will put the dependencies in
7498 # the current directory while Tru64 will put them in the object
7502 am_cv_CXX_dependencies_compiler_type=none
7503 if test "$am_compiler_list" = ""; then
7504 am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
7506 for depmode in $am_compiler_list; do
7507 # Setup a source with many dependencies, because some compilers
7508 # like to wrap large dependency lists on column 80 (with \), and
7509 # we should not choose a depcomp mode which is confused by this.
7511 # We need to recreate these files for each test, as the compiler may
7512 # overwrite some of them when testing with obscure command lines.
7513 # This happens at least with the AIX C compiler.
7515 for i in 1 2 3 4 5 6; do
7516 echo '#include "conftst'$i'.h"' >> sub/conftest.c
7517 # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
7518 # Solaris 8's {/usr,}/bin/sh.
7519 touch sub/conftst$i.h
7521 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
7525 # after this tag, mechanisms are not by side-effect, so they'll
7526 # only be used when explicitly requested
7527 if test "x$enable_dependency_tracking" = xyes; then
7535 # We check with `-c' and `-o' for the sake of the "dashmstdout"
7536 # mode. It turns out that the SunPro C++ compiler does not properly
7537 # handle `-M -o', and we need to detect this.
7538 if depmode=$depmode \
7539 source=sub/conftest.c object=sub/conftest.${OBJEXT-o} \
7540 depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
7541 $SHELL ./depcomp $depcc -c -o sub/conftest.${OBJEXT-o} sub/conftest.c \
7542 >/dev/null 2>conftest.err &&
7543 grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
7544 grep sub/conftest.${OBJEXT-o} sub/conftest.Po > /dev/null 2>&1 &&
7545 ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
7546 # icc doesn't choke on unknown options, it will just issue warnings
7547 # or remarks (even with -Werror). So we grep stderr for any message
7548 # that says an option was ignored or not supported.
7549 # When given -MP, icc 7.0 and 7.1 complain thusly:
7550 # icc: Command line warning: ignoring option '-M'; no argument required
7551 # The diagnosis changed in icc 8.0:
7552 # icc: Command line remark: option '-MP' not supported
7553 if (grep 'ignoring option' conftest.err ||
7554 grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
7555 am_cv_CXX_dependencies_compiler_type=$depmode
7564 am_cv_CXX_dependencies_compiler_type=none
7568 echo "$as_me:$LINENO: result: $am_cv_CXX_dependencies_compiler_type" >&5
7569 echo "${ECHO_T}$am_cv_CXX_dependencies_compiler_type" >&6
7570 CXXDEPMODE=depmode=$am_cv_CXX_dependencies_compiler_type
7575 test "x$enable_dependency_tracking" != xno \
7576 && test "$am_cv_CXX_dependencies_compiler_type" = gcc3; then
7577 am__fastdepCXX_TRUE=
7578 am__fastdepCXX_FALSE='#'
7580 am__fastdepCXX_TRUE='#'
7581 am__fastdepCXX_FALSE=
7585 ac_cpp='$CXXCPP $CPPFLAGS'
7586 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7587 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7588 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
7589 echo "$as_me:$LINENO: checking how to run the C++ preprocessor" >&5
7590 echo $ECHO_N "checking how to run the C++ preprocessor... $ECHO_C" >&6
7591 if test -z "$CXXCPP"; then
7592 if test "${ac_cv_prog_CXXCPP+set}" = set; then
7593 echo $ECHO_N "(cached) $ECHO_C" >&6
7595 # Double quotes because CXXCPP needs to be expanded
7596 for CXXCPP in "$CXX -E" "/lib/cpp"
7599 for ac_cxx_preproc_warn_flag in '' yes
7601 # Use a header file that comes with gcc, so configuring glibc
7602 # with a fresh cross-compiler works.
7603 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
7604 # <limits.h> exists even on freestanding compilers.
7605 # On the NeXT, cc -E runs the code through the compiler's parser,
7606 # not just through cpp. "Syntax error" is here to catch this case.
7607 cat >conftest.$ac_ext <<_ACEOF
7610 cat confdefs.h >>conftest.$ac_ext
7611 cat >>conftest.$ac_ext <<_ACEOF
7612 /* end confdefs.h. */
7614 # include <limits.h>
7616 # include <assert.h>
7620 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
7621 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
7623 grep -v '^ *+' conftest.er1 >conftest.err
7625 cat conftest.err >&5
7626 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7627 (exit $ac_status); } >/dev/null; then
7628 if test -s conftest.err; then
7629 ac_cpp_err=$ac_cxx_preproc_warn_flag
7630 ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
7637 if test -z "$ac_cpp_err"; then
7640 echo "$as_me: failed program was:" >&5
7641 sed 's/^/| /' conftest.$ac_ext >&5
7643 # Broken: fails on valid input.
7646 rm -f conftest.err conftest.$ac_ext
7648 # OK, works on sane cases. Now check whether non-existent headers
7649 # can be detected and how.
7650 cat >conftest.$ac_ext <<_ACEOF
7653 cat confdefs.h >>conftest.$ac_ext
7654 cat >>conftest.$ac_ext <<_ACEOF
7655 /* end confdefs.h. */
7656 #include <ac_nonexistent.h>
7658 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
7659 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
7661 grep -v '^ *+' conftest.er1 >conftest.err
7663 cat conftest.err >&5
7664 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7665 (exit $ac_status); } >/dev/null; then
7666 if test -s conftest.err; then
7667 ac_cpp_err=$ac_cxx_preproc_warn_flag
7668 ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
7675 if test -z "$ac_cpp_err"; then
7676 # Broken: success on invalid input.
7679 echo "$as_me: failed program was:" >&5
7680 sed 's/^/| /' conftest.$ac_ext >&5
7682 # Passes both tests.
7686 rm -f conftest.err conftest.$ac_ext
7689 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
7690 rm -f conftest.err conftest.$ac_ext
7691 if $ac_preproc_ok; then
7696 ac_cv_prog_CXXCPP=$CXXCPP
7699 CXXCPP=$ac_cv_prog_CXXCPP
7701 ac_cv_prog_CXXCPP=$CXXCPP
7703 echo "$as_me:$LINENO: result: $CXXCPP" >&5
7704 echo "${ECHO_T}$CXXCPP" >&6
7706 for ac_cxx_preproc_warn_flag in '' yes
7708 # Use a header file that comes with gcc, so configuring glibc
7709 # with a fresh cross-compiler works.
7710 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
7711 # <limits.h> exists even on freestanding compilers.
7712 # On the NeXT, cc -E runs the code through the compiler's parser,
7713 # not just through cpp. "Syntax error" is here to catch this case.
7714 cat >conftest.$ac_ext <<_ACEOF
7717 cat confdefs.h >>conftest.$ac_ext
7718 cat >>conftest.$ac_ext <<_ACEOF
7719 /* end confdefs.h. */
7721 # include <limits.h>
7723 # include <assert.h>
7727 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
7728 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
7730 grep -v '^ *+' conftest.er1 >conftest.err
7732 cat conftest.err >&5
7733 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7734 (exit $ac_status); } >/dev/null; then
7735 if test -s conftest.err; then
7736 ac_cpp_err=$ac_cxx_preproc_warn_flag
7737 ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
7744 if test -z "$ac_cpp_err"; then
7747 echo "$as_me: failed program was:" >&5
7748 sed 's/^/| /' conftest.$ac_ext >&5
7750 # Broken: fails on valid input.
7753 rm -f conftest.err conftest.$ac_ext
7755 # OK, works on sane cases. Now check whether non-existent headers
7756 # can be detected and how.
7757 cat >conftest.$ac_ext <<_ACEOF
7760 cat confdefs.h >>conftest.$ac_ext
7761 cat >>conftest.$ac_ext <<_ACEOF
7762 /* end confdefs.h. */
7763 #include <ac_nonexistent.h>
7765 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
7766 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
7768 grep -v '^ *+' conftest.er1 >conftest.err
7770 cat conftest.err >&5
7771 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7772 (exit $ac_status); } >/dev/null; then
7773 if test -s conftest.err; then
7774 ac_cpp_err=$ac_cxx_preproc_warn_flag
7775 ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
7782 if test -z "$ac_cpp_err"; then
7783 # Broken: success on invalid input.
7786 echo "$as_me: failed program was:" >&5
7787 sed 's/^/| /' conftest.$ac_ext >&5
7789 # Passes both tests.
7793 rm -f conftest.err conftest.$ac_ext
7796 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
7797 rm -f conftest.err conftest.$ac_ext
7798 if $ac_preproc_ok; then
7801 { { echo "$as_me:$LINENO: error: C++ preprocessor \"$CXXCPP\" fails sanity check
7802 See \`config.log' for more details." >&5
7803 echo "$as_me: error: C++ preprocessor \"$CXXCPP\" fails sanity check
7804 See \`config.log' for more details." >&2;}
7805 { (exit 1); exit 1; }; }
7809 ac_cpp='$CPP $CPPFLAGS'
7810 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7811 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7812 ac_compiler_gnu=$ac_cv_c_compiler_gnu
7816 LIBTOOL_DEPS=$LIBTOOL_DEPS" $ac_aux_dir/ltcf-cxx.sh"
7818 lt_save_CFLAGS="$CFLAGS"
7819 AR="$AR" LTCC="$CC" CC="$CXX" CXX="$CXX" CFLAGS="$CXXFLAGS" CPPFLAGS="$CPPFLAGS" \
7820 MAGIC_CMD="$MAGIC_CMD" LD="$LD" LDFLAGS="$LDFLAGS" LIBS="$LIBS" \
7821 LN_S="$LN_S" NM="$NM" RANLIB="$RANLIB" STRIP="$STRIP" \
7822 AS="$AS" DLLTOOL="$DLLTOOL" OBJDUMP="$OBJDUMP" \
7823 objext="$OBJEXT" exeext="$EXEEXT" reload_flag="$reload_flag" \
7824 deplibs_check_method="$deplibs_check_method" \
7825 file_magic_cmd="$file_magic_cmd" \
7826 ${CONFIG_SHELL-/bin/sh} $ac_aux_dir/ltconfig -o libtool $libtool_flags \
7827 --build="$build" --add-tag=CXX $ac_aux_dir/ltcf-cxx.sh $host \
7828 || { { echo "$as_me:$LINENO: error: libtool tag configuration failed" >&5
7829 echo "$as_me: error: libtool tag configuration failed" >&2;}
7830 { (exit 1); exit 1; }; }
7832 CFLAGS="$lt_save_CFLAGS"
7834 # Redirect the config.log output again, so that the ltconfig log is not
7835 # clobbered by the next message.
7836 exec 5>>./config.log
7841 # Handle -Werror default case.
7842 if test "$ENABLE_WERROR" = default; then
7845 if test "$GCC" = yes; then
7852 if test "x${COMPILE_COLLECTIONS}" = xyes; then
7853 # Extract the first word of "perl", so it can be a program name with args.
7854 set dummy perl; ac_word=$2
7855 echo "$as_me:$LINENO: checking for $ac_word" >&5
7856 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
7857 if test "${ac_cv_path_PERL+set}" = set; then
7858 echo $ECHO_N "(cached) $ECHO_C" >&6
7862 ac_cv_path_PERL="$PERL" # Let the user override the test with a path.
7865 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7869 test -z "$as_dir" && as_dir=.
7870 for ac_exec_ext in '' $ac_executable_extensions; do
7871 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7872 ac_cv_path_PERL="$as_dir/$ac_word$ac_exec_ext"
7873 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
7882 PERL=$ac_cv_path_PERL
7884 if test -n "$PERL"; then
7885 echo "$as_me:$LINENO: result: $PERL" >&5
7886 echo "${ECHO_T}$PERL" >&6
7888 echo "$as_me:$LINENO: result: no" >&5
7889 echo "${ECHO_T}no" >&6
7894 ac_config_files="$ac_config_files lib/mkcollections.pl"
7896 ac_config_commands="$ac_config_commands mkcollections.pl"
7900 if test "x${COMPILE_JNI}" = xyes; then
7904 echo "$as_me:$LINENO: checking __attribute__((,,))" >&5
7905 echo $ECHO_N "checking __attribute__((,,))... $ECHO_C" >&6
7906 if test "${cv_c_gcc_attribute_supported+set}" = set; then
7907 echo $ECHO_N "(cached) $ECHO_C" >&6
7910 cat >conftest.$ac_ext <<_ACEOF
7913 cat confdefs.h >>conftest.$ac_ext
7914 cat >>conftest.$ac_ext <<_ACEOF
7915 /* end confdefs.h. */
7920 extern int testfunction(int x) __attribute__((,,))
7925 rm -f conftest.$ac_objext
7926 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7927 (eval $ac_compile) 2>conftest.er1
7929 grep -v '^ *+' conftest.er1 >conftest.err
7931 cat conftest.err >&5
7932 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7933 (exit $ac_status); } &&
7934 { ac_try='test -z "$ac_c_werror_flag"
7935 || test ! -s conftest.err'
7936 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7939 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7940 (exit $ac_status); }; } &&
7941 { ac_try='test -s conftest.$ac_objext'
7942 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7945 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7946 (exit $ac_status); }; }; then
7947 cv_c_gcc_attribute_supported=yes
7949 echo "$as_me: failed program was:" >&5
7950 sed 's/^/| /' conftest.$ac_ext >&5
7952 cv_c_gcc_attribute_supported=no
7954 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
7958 if test "x$cv_c_gcc_attribute_supported" = xyes; then
7960 echo "$as_me:$LINENO: result: yes" >&5
7961 echo "${ECHO_T}yes" >&6
7963 cat >>confdefs.h <<\_ACEOF
7964 #define HAVE_GNUC25_ATTRIB
7970 echo "$as_me:$LINENO: result: no" >&5
7971 echo "${ECHO_T}no" >&6
7984 echo "$as_me:$LINENO: checking __attribute__((unused))" >&5
7985 echo $ECHO_N "checking __attribute__((unused))... $ECHO_C" >&6
7986 if test "${cv_c_gcc_attribute_unused+set}" = set; then
7987 echo $ECHO_N "(cached) $ECHO_C" >&6
7990 cat >conftest.$ac_ext <<_ACEOF
7993 cat confdefs.h >>conftest.$ac_ext
7994 cat >>conftest.$ac_ext <<_ACEOF
7995 /* end confdefs.h. */
8000 extern int testfunction(int x) __attribute__((unused))
8005 rm -f conftest.$ac_objext
8006 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
8007 (eval $ac_compile) 2>conftest.er1
8009 grep -v '^ *+' conftest.er1 >conftest.err
8011 cat conftest.err >&5
8012 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8013 (exit $ac_status); } &&
8014 { ac_try='test -z "$ac_c_werror_flag"
8015 || test ! -s conftest.err'
8016 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8019 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8020 (exit $ac_status); }; } &&
8021 { ac_try='test -s conftest.$ac_objext'
8022 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8025 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8026 (exit $ac_status); }; }; then
8027 cv_c_gcc_attribute_unused=yes
8029 echo "$as_me: failed program was:" >&5
8030 sed 's/^/| /' conftest.$ac_ext >&5
8032 cv_c_gcc_attribute_unused=no
8034 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
8038 if test "x$cv_c_gcc_attribute_unused" = xyes; then
8040 echo "$as_me:$LINENO: result: yes" >&5
8041 echo "${ECHO_T}yes" >&6
8043 cat >>confdefs.h <<\_ACEOF
8044 #define HAVE_GNUC25_UNUSED
8050 echo "$as_me:$LINENO: result: no" >&5
8051 echo "${ECHO_T}no" >&6
8060 echo "$as_me:$LINENO: checking for ANSI C header files" >&5
8061 echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6
8062 if test "${ac_cv_header_stdc+set}" = set; then
8063 echo $ECHO_N "(cached) $ECHO_C" >&6
8065 cat >conftest.$ac_ext <<_ACEOF
8068 cat confdefs.h >>conftest.$ac_ext
8069 cat >>conftest.$ac_ext <<_ACEOF
8070 /* end confdefs.h. */
8084 rm -f conftest.$ac_objext
8085 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
8086 (eval $ac_compile) 2>conftest.er1
8088 grep -v '^ *+' conftest.er1 >conftest.err
8090 cat conftest.err >&5
8091 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8092 (exit $ac_status); } &&
8093 { ac_try='test -z "$ac_c_werror_flag"
8094 || test ! -s conftest.err'
8095 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8098 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8099 (exit $ac_status); }; } &&
8100 { ac_try='test -s conftest.$ac_objext'
8101 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8104 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8105 (exit $ac_status); }; }; then
8106 ac_cv_header_stdc=yes
8108 echo "$as_me: failed program was:" >&5
8109 sed 's/^/| /' conftest.$ac_ext >&5
8111 ac_cv_header_stdc=no
8113 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
8115 if test $ac_cv_header_stdc = yes; then
8116 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
8117 cat >conftest.$ac_ext <<_ACEOF
8120 cat confdefs.h >>conftest.$ac_ext
8121 cat >>conftest.$ac_ext <<_ACEOF
8122 /* end confdefs.h. */
8126 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
8127 $EGREP "memchr" >/dev/null 2>&1; then
8130 ac_cv_header_stdc=no
8136 if test $ac_cv_header_stdc = yes; then
8137 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
8138 cat >conftest.$ac_ext <<_ACEOF
8141 cat confdefs.h >>conftest.$ac_ext
8142 cat >>conftest.$ac_ext <<_ACEOF
8143 /* end confdefs.h. */
8147 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
8148 $EGREP "free" >/dev/null 2>&1; then
8151 ac_cv_header_stdc=no
8157 if test $ac_cv_header_stdc = yes; then
8158 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
8159 if test "$cross_compiling" = yes; then
8162 cat >conftest.$ac_ext <<_ACEOF
8165 cat confdefs.h >>conftest.$ac_ext
8166 cat >>conftest.$ac_ext <<_ACEOF
8167 /* end confdefs.h. */
8169 #if ((' ' & 0x0FF) == 0x020)
8170 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
8171 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
8173 # define ISLOWER(c) \
8174 (('a' <= (c) && (c) <= 'i') \
8175 || ('j' <= (c) && (c) <= 'r') \
8176 || ('s' <= (c) && (c) <= 'z'))
8177 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
8180 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
8185 for (i = 0; i < 256; i++)
8186 if (XOR (islower (i), ISLOWER (i))
8187 || toupper (i) != TOUPPER (i))
8192 rm -f conftest$ac_exeext
8193 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8194 (eval $ac_link) 2>&5
8196 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8197 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
8198 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8201 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8202 (exit $ac_status); }; }; then
8205 echo "$as_me: program exited with status $ac_status" >&5
8206 echo "$as_me: failed program was:" >&5
8207 sed 's/^/| /' conftest.$ac_ext >&5
8210 ac_cv_header_stdc=no
8212 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
8216 echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
8217 echo "${ECHO_T}$ac_cv_header_stdc" >&6
8218 if test $ac_cv_header_stdc = yes; then
8220 cat >>confdefs.h <<\_ACEOF
8221 #define STDC_HEADERS 1
8227 echo "$as_me:$LINENO: checking size of void *" >&5
8228 echo $ECHO_N "checking size of void *... $ECHO_C" >&6
8229 if test "${ac_cv_sizeof_void_p+set}" = set; then
8230 echo $ECHO_N "(cached) $ECHO_C" >&6
8232 for ac_size in 4 8 1 2 16 12 ; do # List sizes in rough order of prevalence.
8233 cat >conftest.$ac_ext <<_ACEOF
8236 cat confdefs.h >>conftest.$ac_ext
8237 cat >>conftest.$ac_ext <<_ACEOF
8238 /* end confdefs.h. */
8239 #include "confdefs.h"
8240 #include <sys/types.h>
8246 switch (0) case 0: case (sizeof (void *) == $ac_size):;
8251 rm -f conftest.$ac_objext
8252 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
8253 (eval $ac_compile) 2>conftest.er1
8255 grep -v '^ *+' conftest.er1 >conftest.err
8257 cat conftest.err >&5
8258 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8259 (exit $ac_status); } &&
8260 { ac_try='test -z "$ac_c_werror_flag"
8261 || test ! -s conftest.err'
8262 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8265 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8266 (exit $ac_status); }; } &&
8267 { ac_try='test -s conftest.$ac_objext'
8268 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8271 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8272 (exit $ac_status); }; }; then
8273 ac_cv_sizeof_void_p=$ac_size
8275 echo "$as_me: failed program was:" >&5
8276 sed 's/^/| /' conftest.$ac_ext >&5
8279 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
8280 if test x$ac_cv_sizeof_void_p != x ; then break; fi
8285 if test x$ac_cv_sizeof_void_p = x ; then
8286 { { echo "$as_me:$LINENO: error: cannot determine a size for void *" >&5
8287 echo "$as_me: error: cannot determine a size for void *" >&2;}
8288 { (exit 1); exit 1; }; }
8290 echo "$as_me:$LINENO: result: $ac_cv_sizeof_void_p" >&5
8291 echo "${ECHO_T}$ac_cv_sizeof_void_p" >&6
8293 cat >>confdefs.h <<_ACEOF
8294 #define SIZEOF_VOID_P $ac_cv_sizeof_void_p
8299 echo "$as_me:$LINENO: checking whether byte ordering is bigendian" >&5
8300 echo $ECHO_N "checking whether byte ordering is bigendian... $ECHO_C" >&6
8301 if test "${ac_cv_c_bigendian+set}" = set; then
8302 echo $ECHO_N "(cached) $ECHO_C" >&6
8304 ac_cv_c_bigendian=unknown
8305 # See if sys/param.h defines the BYTE_ORDER macro.
8306 cat >conftest.$ac_ext <<_ACEOF
8309 cat confdefs.h >>conftest.$ac_ext
8310 cat >>conftest.$ac_ext <<_ACEOF
8311 /* end confdefs.h. */
8312 #include <sys/types.h>
8313 #include <sys/param.h>
8318 #if !BYTE_ORDER || !BIG_ENDIAN || !LITTLE_ENDIAN
8325 rm -f conftest.$ac_objext
8326 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
8327 (eval $ac_compile) 2>conftest.er1
8329 grep -v '^ *+' conftest.er1 >conftest.err
8331 cat conftest.err >&5
8332 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8333 (exit $ac_status); } &&
8334 { ac_try='test -z "$ac_c_werror_flag"
8335 || test ! -s conftest.err'
8336 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8339 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8340 (exit $ac_status); }; } &&
8341 { ac_try='test -s conftest.$ac_objext'
8342 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8345 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8346 (exit $ac_status); }; }; then
8347 # It does; now see whether it defined to BIG_ENDIAN or not.
8348 cat >conftest.$ac_ext <<_ACEOF
8351 cat confdefs.h >>conftest.$ac_ext
8352 cat >>conftest.$ac_ext <<_ACEOF
8353 /* end confdefs.h. */
8354 #include <sys/types.h>
8355 #include <sys/param.h>
8360 #if BYTE_ORDER != BIG_ENDIAN
8367 rm -f conftest.$ac_objext
8368 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
8369 (eval $ac_compile) 2>conftest.er1
8371 grep -v '^ *+' conftest.er1 >conftest.err
8373 cat conftest.err >&5
8374 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8375 (exit $ac_status); } &&
8376 { ac_try='test -z "$ac_c_werror_flag"
8377 || test ! -s conftest.err'
8378 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8381 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8382 (exit $ac_status); }; } &&
8383 { ac_try='test -s conftest.$ac_objext'
8384 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8387 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8388 (exit $ac_status); }; }; then
8389 ac_cv_c_bigendian=yes
8391 echo "$as_me: failed program was:" >&5
8392 sed 's/^/| /' conftest.$ac_ext >&5
8394 ac_cv_c_bigendian=no
8396 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
8398 echo "$as_me: failed program was:" >&5
8399 sed 's/^/| /' conftest.$ac_ext >&5
8402 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
8403 if test $ac_cv_c_bigendian = unknown; then
8404 if test "$cross_compiling" = yes; then
8405 echo $ac_n "cross-compiling... " 2>&6
8407 cat >conftest.$ac_ext <<_ACEOF
8410 cat confdefs.h >>conftest.$ac_ext
8411 cat >>conftest.$ac_ext <<_ACEOF
8412 /* end confdefs.h. */
8414 /* Are we little or big endian? From Harbison&Steele. */
8418 char c[sizeof (long)];
8421 exit (u.c[sizeof (long) - 1] == 1);
8424 rm -f conftest$ac_exeext
8425 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8426 (eval $ac_link) 2>&5
8428 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8429 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
8430 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8433 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8434 (exit $ac_status); }; }; then
8435 ac_cv_c_bigendian=no
8437 echo "$as_me: program exited with status $ac_status" >&5
8438 echo "$as_me: failed program was:" >&5
8439 sed 's/^/| /' conftest.$ac_ext >&5
8442 ac_cv_c_bigendian=yes
8444 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
8448 echo "$as_me:$LINENO: result: $ac_cv_c_bigendian" >&5
8449 echo "${ECHO_T}$ac_cv_c_bigendian" >&6
8450 if test $ac_cv_c_bigendian = unknown; then
8451 echo "$as_me:$LINENO: checking to probe for byte ordering" >&5
8452 echo $ECHO_N "checking to probe for byte ordering... $ECHO_C" >&6
8454 cat >conftest.c <<EOF
8455 short ascii_mm[] = { 0x4249, 0x4765, 0x6E44, 0x6961, 0x6E53, 0x7953, 0 };
8456 short ascii_ii[] = { 0x694C, 0x5454, 0x656C, 0x6E45, 0x6944, 0x6E61, 0 };
8457 void _ascii() { char* s = (char*) ascii_mm; s = (char*) ascii_ii; }
8458 short ebcdic_ii[] = { 0x89D3, 0xE3E3, 0x8593, 0x95C5, 0x89C4, 0x9581, 0 };
8459 short ebcdic_mm[] = { 0xC2C9, 0xC785, 0x95C4, 0x8981, 0x95E2, 0xA8E2, 0 };
8460 void _ebcdic() { char* s = (char*) ebcdic_mm; s = (char*) ebcdic_ii; }
8461 int main() { _ascii (); _ebcdic (); return 0; }
8463 if test -f conftest.c ; then
8464 if ${CC-cc} ${CFLAGS} -c conftest.c -o conftest.o && test -f conftest.o ; then
8465 if test `grep -l BIGenDianSyS conftest.o` ; then
8466 echo $ac_n ' big endian probe OK, ' 1>&6
8467 ac_cv_c_bigendian=yes
8469 if test `grep -l LiTTleEnDian conftest.o` ; then
8470 echo $ac_n ' little endian probe OK, ' 1>&6
8471 if test $ac_cv_c_bigendian = yes ; then
8472 ac_cv_c_bigendian=unknown;
8474 ac_cv_c_bigendian=no
8477 echo $ac_n 'guessing bigendian ... ' >&6
8480 echo "$as_me:$LINENO: result: $ac_cv_c_bigendian" >&5
8481 echo "${ECHO_T}$ac_cv_c_bigendian" >&6
8483 if test $ac_cv_c_bigendian = yes; then
8485 cat >>confdefs.h <<\_ACEOF
8486 #define WORDS_BIGENDIAN 1
8490 cat >>confdefs.h <<\_ACEOF
8491 #define HOST_WORDS_BIG_ENDIAN 1
8499 cat >>confdefs.h <<_ACEOF
8500 #define BYTEORDER $BYTEORDER
8503 if test $ac_cv_c_bigendian = unknown; then
8504 { { echo "$as_me:$LINENO: error: unknown endianess - sorry, please pre-set ac_cv_c_bigendian" >&5
8505 echo "$as_me: error: unknown endianess - sorry, please pre-set ac_cv_c_bigendian" >&2;}
8506 { (exit 1); exit 1; }; }
8529 for ac_header in unistd.h sys/types.h sys/config.h sys/ioctl.h \
8531 inttypes.h stdint.h utime.h sys/utime.h sys/filio.h \
8538 sys/event.h sys/epoll.h \
8541 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
8542 if eval "test \"\${$as_ac_Header+set}\" = set"; then
8543 echo "$as_me:$LINENO: checking for $ac_header" >&5
8544 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
8545 if eval "test \"\${$as_ac_Header+set}\" = set"; then
8546 echo $ECHO_N "(cached) $ECHO_C" >&6
8548 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
8549 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
8551 # Is the header compilable?
8552 echo "$as_me:$LINENO: checking $ac_header usability" >&5
8553 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
8554 cat >conftest.$ac_ext <<_ACEOF
8557 cat confdefs.h >>conftest.$ac_ext
8558 cat >>conftest.$ac_ext <<_ACEOF
8559 /* end confdefs.h. */
8560 $ac_includes_default
8561 #include <$ac_header>
8563 rm -f conftest.$ac_objext
8564 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
8565 (eval $ac_compile) 2>conftest.er1
8567 grep -v '^ *+' conftest.er1 >conftest.err
8569 cat conftest.err >&5
8570 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8571 (exit $ac_status); } &&
8572 { ac_try='test -z "$ac_c_werror_flag"
8573 || test ! -s conftest.err'
8574 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8577 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8578 (exit $ac_status); }; } &&
8579 { ac_try='test -s conftest.$ac_objext'
8580 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8583 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8584 (exit $ac_status); }; }; then
8585 ac_header_compiler=yes
8587 echo "$as_me: failed program was:" >&5
8588 sed 's/^/| /' conftest.$ac_ext >&5
8590 ac_header_compiler=no
8592 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
8593 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
8594 echo "${ECHO_T}$ac_header_compiler" >&6
8596 # Is the header present?
8597 echo "$as_me:$LINENO: checking $ac_header presence" >&5
8598 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
8599 cat >conftest.$ac_ext <<_ACEOF
8602 cat confdefs.h >>conftest.$ac_ext
8603 cat >>conftest.$ac_ext <<_ACEOF
8604 /* end confdefs.h. */
8605 #include <$ac_header>
8607 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
8608 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
8610 grep -v '^ *+' conftest.er1 >conftest.err
8612 cat conftest.err >&5
8613 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8614 (exit $ac_status); } >/dev/null; then
8615 if test -s conftest.err; then
8616 ac_cpp_err=$ac_c_preproc_warn_flag
8617 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
8624 if test -z "$ac_cpp_err"; then
8625 ac_header_preproc=yes
8627 echo "$as_me: failed program was:" >&5
8628 sed 's/^/| /' conftest.$ac_ext >&5
8630 ac_header_preproc=no
8632 rm -f conftest.err conftest.$ac_ext
8633 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
8634 echo "${ECHO_T}$ac_header_preproc" >&6
8636 # So? What about this header?
8637 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
8639 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
8640 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
8641 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
8642 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
8643 ac_header_preproc=yes
8646 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
8647 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
8648 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
8649 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
8650 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
8651 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
8652 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
8653 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
8654 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
8655 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
8656 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
8657 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
8660 ## -------------------------------- ##
8661 ## Report this to classpath@gnu.org ##
8662 ## -------------------------------- ##
8665 sed "s/^/$as_me: WARNING: /" >&2
8668 echo "$as_me:$LINENO: checking for $ac_header" >&5
8669 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
8670 if eval "test \"\${$as_ac_Header+set}\" = set"; then
8671 echo $ECHO_N "(cached) $ECHO_C" >&6
8673 eval "$as_ac_Header=\$ac_header_preproc"
8675 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
8676 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
8679 if test `eval echo '${'$as_ac_Header'}'` = yes; then
8680 cat >>confdefs.h <<_ACEOF
8681 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
8689 cat >conftest.$ac_ext <<_ACEOF
8692 cat confdefs.h >>conftest.$ac_ext
8693 cat >>conftest.$ac_ext <<_ACEOF
8694 /* end confdefs.h. */
8698 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
8699 $EGREP "uint32_t" >/dev/null 2>&1; then
8701 cat >>confdefs.h <<\_ACEOF
8702 #define HAVE_INT32_DEFINED 1
8708 cat >conftest.$ac_ext <<_ACEOF
8711 cat confdefs.h >>conftest.$ac_ext
8712 cat >>conftest.$ac_ext <<_ACEOF
8713 /* end confdefs.h. */
8714 #include <inttypes.h>
8717 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
8718 $EGREP "uint32_t" >/dev/null 2>&1; then
8720 cat >>confdefs.h <<\_ACEOF
8721 #define HAVE_INT32_DEFINED 1
8727 cat >conftest.$ac_ext <<_ACEOF
8730 cat confdefs.h >>conftest.$ac_ext
8731 cat >>conftest.$ac_ext <<_ACEOF
8732 /* end confdefs.h. */
8733 #include <sys/types.h>
8736 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
8737 $EGREP "u_int32_t" >/dev/null 2>&1; then
8739 cat >>confdefs.h <<\_ACEOF
8740 #define HAVE_BSD_INT32_DEFINED 1
8746 cat >conftest.$ac_ext <<_ACEOF
8749 cat confdefs.h >>conftest.$ac_ext
8750 cat >>conftest.$ac_ext <<_ACEOF
8751 /* end confdefs.h. */
8752 #include <sys/config.h>
8755 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
8756 $EGREP "u_int32_t" >/dev/null 2>&1; then
8758 cat >>confdefs.h <<\_ACEOF
8759 #define HAVE_BSD_INT32_DEFINED 1
8820 for ac_func in ftruncate fsync select \
8821 gethostname socket strerror fork pipe execve open close \
8822 lseek fstat read readv write writev htonl memset htons connect \
8823 getsockname getpeername bind listen accept \
8824 recvfrom send sendto setsockopt getsockopt time mktime \
8825 gethostbyname_r localtime_r \
8828 mmap munmap mincore msync madvise getpagesize sysconf \
8830 inet_aton inet_addr inet_pton \
8831 getifaddrs kqueue kevent epoll_create \
8834 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
8835 echo "$as_me:$LINENO: checking for $ac_func" >&5
8836 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
8837 if eval "test \"\${$as_ac_var+set}\" = set"; then
8838 echo $ECHO_N "(cached) $ECHO_C" >&6
8840 if test x$gcc_no_link = xyes; then
8841 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
8842 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
8843 { (exit 1); exit 1; }; }
8845 cat >conftest.$ac_ext <<_ACEOF
8848 cat confdefs.h >>conftest.$ac_ext
8849 cat >>conftest.$ac_ext <<_ACEOF
8850 /* end confdefs.h. */
8851 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
8852 For example, HP-UX 11i <limits.h> declares gettimeofday. */
8853 #define $ac_func innocuous_$ac_func
8855 /* System header to define __stub macros and hopefully few prototypes,
8856 which can conflict with char $ac_func (); below.
8857 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
8858 <limits.h> exists even on freestanding compilers. */
8861 # include <limits.h>
8863 # include <assert.h>
8868 /* Override any gcc2 internal prototype to avoid an error. */
8873 /* We use char because int might match the return type of a gcc2
8874 builtin and then its argument prototype would still apply. */
8876 /* The GNU C library defines this for functions which it implements
8877 to always fail with ENOSYS. Some functions are actually named
8878 something starting with __ and the normal name is an alias. */
8879 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
8882 char (*f) () = $ac_func;
8891 return f != $ac_func;
8896 rm -f conftest.$ac_objext conftest$ac_exeext
8897 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8898 (eval $ac_link) 2>conftest.er1
8900 grep -v '^ *+' conftest.er1 >conftest.err
8902 cat conftest.err >&5
8903 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8904 (exit $ac_status); } &&
8905 { ac_try='test -z "$ac_c_werror_flag"
8906 || test ! -s conftest.err'
8907 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8910 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8911 (exit $ac_status); }; } &&
8912 { ac_try='test -s conftest$ac_exeext'
8913 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8916 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8917 (exit $ac_status); }; }; then
8918 eval "$as_ac_var=yes"
8920 echo "$as_me: failed program was:" >&5
8921 sed 's/^/| /' conftest.$ac_ext >&5
8923 eval "$as_ac_var=no"
8925 rm -f conftest.err conftest.$ac_objext \
8926 conftest$ac_exeext conftest.$ac_ext
8928 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
8929 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
8930 if test `eval echo '${'$as_ac_var'}'` = yes; then
8931 cat >>confdefs.h <<_ACEOF
8932 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
8940 echo "$as_me:$LINENO: checking for magic_open in -lmagic" >&5
8941 echo $ECHO_N "checking for magic_open in -lmagic... $ECHO_C" >&6
8942 if test "${ac_cv_lib_magic_magic_open+set}" = set; then
8943 echo $ECHO_N "(cached) $ECHO_C" >&6
8945 ac_check_lib_save_LIBS=$LIBS
8946 LIBS="-lmagic $LIBS"
8947 if test x$gcc_no_link = xyes; then
8948 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
8949 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
8950 { (exit 1); exit 1; }; }
8952 cat >conftest.$ac_ext <<_ACEOF
8955 cat confdefs.h >>conftest.$ac_ext
8956 cat >>conftest.$ac_ext <<_ACEOF
8957 /* end confdefs.h. */
8959 /* Override any gcc2 internal prototype to avoid an error. */
8963 /* We use char because int might match the return type of a gcc2
8964 builtin and then its argument prototype would still apply. */
8974 rm -f conftest.$ac_objext conftest$ac_exeext
8975 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8976 (eval $ac_link) 2>conftest.er1
8978 grep -v '^ *+' conftest.er1 >conftest.err
8980 cat conftest.err >&5
8981 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8982 (exit $ac_status); } &&
8983 { ac_try='test -z "$ac_c_werror_flag"
8984 || test ! -s conftest.err'
8985 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8988 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8989 (exit $ac_status); }; } &&
8990 { ac_try='test -s conftest$ac_exeext'
8991 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8994 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8995 (exit $ac_status); }; }; then
8996 ac_cv_lib_magic_magic_open=yes
8998 echo "$as_me: failed program was:" >&5
8999 sed 's/^/| /' conftest.$ac_ext >&5
9001 ac_cv_lib_magic_magic_open=no
9003 rm -f conftest.err conftest.$ac_objext \
9004 conftest$ac_exeext conftest.$ac_ext
9005 LIBS=$ac_check_lib_save_LIBS
9007 echo "$as_me:$LINENO: result: $ac_cv_lib_magic_magic_open" >&5
9008 echo "${ECHO_T}$ac_cv_lib_magic_magic_open" >&6
9009 if test $ac_cv_lib_magic_magic_open = yes; then
9015 echo "$as_me:$LINENO: checking whether struct sockaddr_in6 is in netinet/in.h" >&5
9016 echo $ECHO_N "checking whether struct sockaddr_in6 is in netinet/in.h... $ECHO_C" >&6
9017 cat >conftest.$ac_ext <<_ACEOF
9020 cat confdefs.h >>conftest.$ac_ext
9021 cat >>conftest.$ac_ext <<_ACEOF
9022 /* end confdefs.h. */
9023 #include <netinet/in.h>
9027 struct sockaddr_in6 addr6;
9032 rm -f conftest.$ac_objext
9033 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
9034 (eval $ac_compile) 2>conftest.er1
9036 grep -v '^ *+' conftest.er1 >conftest.err
9038 cat conftest.err >&5
9039 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9040 (exit $ac_status); } &&
9041 { ac_try='test -z "$ac_c_werror_flag"
9042 || test ! -s conftest.err'
9043 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9046 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9047 (exit $ac_status); }; } &&
9048 { ac_try='test -s conftest.$ac_objext'
9049 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9052 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9053 (exit $ac_status); }; }; then
9055 cat >>confdefs.h <<\_ACEOF
9056 #define HAVE_INET6 1
9059 echo "$as_me:$LINENO: result: yes" >&5
9060 echo "${ECHO_T}yes" >&6
9062 echo "$as_me: failed program was:" >&5
9063 sed 's/^/| /' conftest.$ac_ext >&5
9065 echo "$as_me:$LINENO: result: no" >&5
9066 echo "${ECHO_T}no" >&6
9068 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
9070 echo "$as_me:$LINENO: checking whether time.h and sys/time.h may both be included" >&5
9071 echo $ECHO_N "checking whether time.h and sys/time.h may both be included... $ECHO_C" >&6
9072 if test "${ac_cv_header_time+set}" = set; then
9073 echo $ECHO_N "(cached) $ECHO_C" >&6
9075 cat >conftest.$ac_ext <<_ACEOF
9078 cat confdefs.h >>conftest.$ac_ext
9079 cat >>conftest.$ac_ext <<_ACEOF
9080 /* end confdefs.h. */
9081 #include <sys/types.h>
9082 #include <sys/time.h>
9088 if ((struct tm *) 0)
9094 rm -f conftest.$ac_objext
9095 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
9096 (eval $ac_compile) 2>conftest.er1
9098 grep -v '^ *+' conftest.er1 >conftest.err
9100 cat conftest.err >&5
9101 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9102 (exit $ac_status); } &&
9103 { ac_try='test -z "$ac_c_werror_flag"
9104 || test ! -s conftest.err'
9105 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9108 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9109 (exit $ac_status); }; } &&
9110 { ac_try='test -s conftest.$ac_objext'
9111 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9114 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9115 (exit $ac_status); }; }; then
9116 ac_cv_header_time=yes
9118 echo "$as_me: failed program was:" >&5
9119 sed 's/^/| /' conftest.$ac_ext >&5
9121 ac_cv_header_time=no
9123 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
9125 echo "$as_me:$LINENO: result: $ac_cv_header_time" >&5
9126 echo "${ECHO_T}$ac_cv_header_time" >&6
9127 if test $ac_cv_header_time = yes; then
9129 cat >>confdefs.h <<\_ACEOF
9130 #define TIME_WITH_SYS_TIME 1
9135 echo "$as_me:$LINENO: checking whether struct tm is in sys/time.h or time.h" >&5
9136 echo $ECHO_N "checking whether struct tm is in sys/time.h or time.h... $ECHO_C" >&6
9137 if test "${ac_cv_struct_tm+set}" = set; then
9138 echo $ECHO_N "(cached) $ECHO_C" >&6
9140 cat >conftest.$ac_ext <<_ACEOF
9143 cat confdefs.h >>conftest.$ac_ext
9144 cat >>conftest.$ac_ext <<_ACEOF
9145 /* end confdefs.h. */
9146 #include <sys/types.h>
9152 struct tm *tp; tp->tm_sec;
9157 rm -f conftest.$ac_objext
9158 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
9159 (eval $ac_compile) 2>conftest.er1
9161 grep -v '^ *+' conftest.er1 >conftest.err
9163 cat conftest.err >&5
9164 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9165 (exit $ac_status); } &&
9166 { ac_try='test -z "$ac_c_werror_flag"
9167 || test ! -s conftest.err'
9168 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9171 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9172 (exit $ac_status); }; } &&
9173 { ac_try='test -s conftest.$ac_objext'
9174 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9177 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9178 (exit $ac_status); }; }; then
9179 ac_cv_struct_tm=time.h
9181 echo "$as_me: failed program was:" >&5
9182 sed 's/^/| /' conftest.$ac_ext >&5
9184 ac_cv_struct_tm=sys/time.h
9186 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
9188 echo "$as_me:$LINENO: result: $ac_cv_struct_tm" >&5
9189 echo "${ECHO_T}$ac_cv_struct_tm" >&6
9190 if test $ac_cv_struct_tm = sys/time.h; then
9192 cat >>confdefs.h <<\_ACEOF
9193 #define TM_IN_SYS_TIME 1
9198 echo "$as_me:$LINENO: checking for struct tm.tm_zone" >&5
9199 echo $ECHO_N "checking for struct tm.tm_zone... $ECHO_C" >&6
9200 if test "${ac_cv_member_struct_tm_tm_zone+set}" = set; then
9201 echo $ECHO_N "(cached) $ECHO_C" >&6
9203 cat >conftest.$ac_ext <<_ACEOF
9206 cat confdefs.h >>conftest.$ac_ext
9207 cat >>conftest.$ac_ext <<_ACEOF
9208 /* end confdefs.h. */
9209 #include <sys/types.h>
9210 #include <$ac_cv_struct_tm>
9216 static struct tm ac_aggr;
9217 if (ac_aggr.tm_zone)
9223 rm -f conftest.$ac_objext
9224 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
9225 (eval $ac_compile) 2>conftest.er1
9227 grep -v '^ *+' conftest.er1 >conftest.err
9229 cat conftest.err >&5
9230 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9231 (exit $ac_status); } &&
9232 { ac_try='test -z "$ac_c_werror_flag"
9233 || test ! -s conftest.err'
9234 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9237 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9238 (exit $ac_status); }; } &&
9239 { ac_try='test -s conftest.$ac_objext'
9240 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9243 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9244 (exit $ac_status); }; }; then
9245 ac_cv_member_struct_tm_tm_zone=yes
9247 echo "$as_me: failed program was:" >&5
9248 sed 's/^/| /' conftest.$ac_ext >&5
9250 cat >conftest.$ac_ext <<_ACEOF
9253 cat confdefs.h >>conftest.$ac_ext
9254 cat >>conftest.$ac_ext <<_ACEOF
9255 /* end confdefs.h. */
9256 #include <sys/types.h>
9257 #include <$ac_cv_struct_tm>
9263 static struct tm ac_aggr;
9264 if (sizeof ac_aggr.tm_zone)
9270 rm -f conftest.$ac_objext
9271 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
9272 (eval $ac_compile) 2>conftest.er1
9274 grep -v '^ *+' conftest.er1 >conftest.err
9276 cat conftest.err >&5
9277 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9278 (exit $ac_status); } &&
9279 { ac_try='test -z "$ac_c_werror_flag"
9280 || test ! -s conftest.err'
9281 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9284 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9285 (exit $ac_status); }; } &&
9286 { ac_try='test -s conftest.$ac_objext'
9287 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9290 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9291 (exit $ac_status); }; }; then
9292 ac_cv_member_struct_tm_tm_zone=yes
9294 echo "$as_me: failed program was:" >&5
9295 sed 's/^/| /' conftest.$ac_ext >&5
9297 ac_cv_member_struct_tm_tm_zone=no
9299 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
9301 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
9303 echo "$as_me:$LINENO: result: $ac_cv_member_struct_tm_tm_zone" >&5
9304 echo "${ECHO_T}$ac_cv_member_struct_tm_tm_zone" >&6
9305 if test $ac_cv_member_struct_tm_tm_zone = yes; then
9307 cat >>confdefs.h <<_ACEOF
9308 #define HAVE_STRUCT_TM_TM_ZONE 1
9314 if test "$ac_cv_member_struct_tm_tm_zone" = yes; then
9316 cat >>confdefs.h <<\_ACEOF
9317 #define HAVE_TM_ZONE 1
9321 echo "$as_me:$LINENO: checking for tzname" >&5
9322 echo $ECHO_N "checking for tzname... $ECHO_C" >&6
9323 if test "${ac_cv_var_tzname+set}" = set; then
9324 echo $ECHO_N "(cached) $ECHO_C" >&6
9326 if test x$gcc_no_link = xyes; then
9327 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
9328 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
9329 { (exit 1); exit 1; }; }
9331 cat >conftest.$ac_ext <<_ACEOF
9334 cat confdefs.h >>conftest.$ac_ext
9335 cat >>conftest.$ac_ext <<_ACEOF
9336 /* end confdefs.h. */
9338 #ifndef tzname /* For SGI. */
9339 extern char *tzname[]; /* RS6000 and others reject char **tzname. */
9350 rm -f conftest.$ac_objext conftest$ac_exeext
9351 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
9352 (eval $ac_link) 2>conftest.er1
9354 grep -v '^ *+' conftest.er1 >conftest.err
9356 cat conftest.err >&5
9357 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9358 (exit $ac_status); } &&
9359 { ac_try='test -z "$ac_c_werror_flag"
9360 || test ! -s conftest.err'
9361 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9364 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9365 (exit $ac_status); }; } &&
9366 { ac_try='test -s conftest$ac_exeext'
9367 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9370 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9371 (exit $ac_status); }; }; then
9372 ac_cv_var_tzname=yes
9374 echo "$as_me: failed program was:" >&5
9375 sed 's/^/| /' conftest.$ac_ext >&5
9379 rm -f conftest.err conftest.$ac_objext \
9380 conftest$ac_exeext conftest.$ac_ext
9382 echo "$as_me:$LINENO: result: $ac_cv_var_tzname" >&5
9383 echo "${ECHO_T}$ac_cv_var_tzname" >&6
9384 if test $ac_cv_var_tzname = yes; then
9386 cat >>confdefs.h <<\_ACEOF
9387 #define HAVE_TZNAME 1
9394 echo "$as_me:$LINENO: checking for tm_gmtoff in struct tm" >&5
9395 echo $ECHO_N "checking for tm_gmtoff in struct tm... $ECHO_C" >&6
9396 cat >conftest.$ac_ext <<_ACEOF
9399 cat confdefs.h >>conftest.$ac_ext
9400 cat >>conftest.$ac_ext <<_ACEOF
9401 /* end confdefs.h. */
9406 struct tm tim; tim.tm_gmtoff = 0;
9411 rm -f conftest.$ac_objext
9412 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
9413 (eval $ac_compile) 2>conftest.er1
9415 grep -v '^ *+' conftest.er1 >conftest.err
9417 cat conftest.err >&5
9418 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9419 (exit $ac_status); } &&
9420 { ac_try='test -z "$ac_c_werror_flag"
9421 || test ! -s conftest.err'
9422 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9425 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9426 (exit $ac_status); }; } &&
9427 { ac_try='test -s conftest.$ac_objext'
9428 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9431 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9432 (exit $ac_status); }; }; then
9434 cat >>confdefs.h <<\_ACEOF
9435 #define STRUCT_TM_HAS_GMTOFF 1
9438 echo "$as_me:$LINENO: result: yes" >&5
9439 echo "${ECHO_T}yes" >&6
9441 echo "$as_me: failed program was:" >&5
9442 sed 's/^/| /' conftest.$ac_ext >&5
9444 echo "$as_me:$LINENO: result: no" >&5
9445 echo "${ECHO_T}no" >&6
9446 echo "$as_me:$LINENO: checking for global timezone variable" >&5
9447 echo $ECHO_N "checking for global timezone variable... $ECHO_C" >&6
9448 cat >conftest.$ac_ext <<_ACEOF
9451 cat confdefs.h >>conftest.$ac_ext
9452 cat >>conftest.$ac_ext <<_ACEOF
9453 /* end confdefs.h. */
9458 void i(){long z2 = 2*timezone;}
9463 rm -f conftest.$ac_objext
9464 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
9465 (eval $ac_compile) 2>conftest.er1
9467 grep -v '^ *+' conftest.er1 >conftest.err
9469 cat conftest.err >&5
9470 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9471 (exit $ac_status); } &&
9472 { ac_try='test -z "$ac_c_werror_flag"
9473 || test ! -s conftest.err'
9474 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9477 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9478 (exit $ac_status); }; } &&
9479 { ac_try='test -s conftest.$ac_objext'
9480 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9483 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9484 (exit $ac_status); }; }; then
9486 cat >>confdefs.h <<\_ACEOF
9487 #define HAVE_TIMEZONE 1
9490 echo "$as_me:$LINENO: result: yes" >&5
9491 echo "${ECHO_T}yes" >&6
9493 echo "$as_me: failed program was:" >&5
9494 sed 's/^/| /' conftest.$ac_ext >&5
9496 echo "$as_me:$LINENO: result: no" >&5
9497 echo "${ECHO_T}no" >&6
9498 echo "$as_me:$LINENO: checking for global _timezone variable" >&5
9499 echo $ECHO_N "checking for global _timezone variable... $ECHO_C" >&6
9500 cat >conftest.$ac_ext <<_ACEOF
9503 cat confdefs.h >>conftest.$ac_ext
9504 cat >>conftest.$ac_ext <<_ACEOF
9505 /* end confdefs.h. */
9510 long z2 = _timezone;
9515 rm -f conftest.$ac_objext
9516 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
9517 (eval $ac_compile) 2>conftest.er1
9519 grep -v '^ *+' conftest.er1 >conftest.err
9521 cat conftest.err >&5
9522 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9523 (exit $ac_status); } &&
9524 { ac_try='test -z "$ac_c_werror_flag"
9525 || test ! -s conftest.err'
9526 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9529 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9530 (exit $ac_status); }; } &&
9531 { ac_try='test -s conftest.$ac_objext'
9532 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9535 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9536 (exit $ac_status); }; }; then
9538 cat >>confdefs.h <<\_ACEOF
9539 #define HAVE_UNDERSCORE_TIMEZONE 1
9542 echo "$as_me:$LINENO: result: yes" >&5
9543 echo "${ECHO_T}yes" >&6
9545 echo "$as_me: failed program was:" >&5
9546 sed 's/^/| /' conftest.$ac_ext >&5
9548 echo "$as_me:$LINENO: result: no" >&5
9549 echo "${ECHO_T}no" >&6
9551 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
9553 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
9555 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
9557 echo "$as_me:$LINENO: checking for an ANSI C-conforming const" >&5
9558 echo $ECHO_N "checking for an ANSI C-conforming const... $ECHO_C" >&6
9559 if test "${ac_cv_c_const+set}" = set; then
9560 echo $ECHO_N "(cached) $ECHO_C" >&6
9562 cat >conftest.$ac_ext <<_ACEOF
9565 cat confdefs.h >>conftest.$ac_ext
9566 cat >>conftest.$ac_ext <<_ACEOF
9567 /* end confdefs.h. */
9572 /* FIXME: Include the comments suggested by Paul. */
9574 /* Ultrix mips cc rejects this. */
9575 typedef int charset[2];
9577 /* SunOS 4.1.1 cc rejects this. */
9578 char const *const *ccp;
9580 /* NEC SVR4.0.2 mips cc rejects this. */
9581 struct point {int x, y;};
9582 static struct point const zero = {0,0};
9583 /* AIX XL C 1.02.0.0 rejects this.
9584 It does not let you subtract one const X* pointer from another in
9585 an arm of an if-expression whose if-part is not a constant
9587 const char *g = "string";
9588 ccp = &g + (g ? g-g : 0);
9589 /* HPUX 7.0 cc rejects these. */
9592 ccp = (char const *const *) p;
9593 { /* SCO 3.2v4 cc rejects this. */
9595 char const *s = 0 ? (char *) 0 : (char const *) 0;
9599 { /* Someone thinks the Sun supposedly-ANSI compiler will reject this. */
9601 const int *foo = &x[0];
9604 { /* Sun SC1.0 ANSI compiler rejects this -- but not the above. */
9605 typedef const int *iptr;
9609 { /* AIX XL C 1.02.0.0 rejects this saying
9610 "k.c", line 2.27: 1506-025 (S) Operand must be a modifiable lvalue. */
9611 struct s { int j; const int *ap[3]; };
9612 struct s *b; b->j = 5;
9614 { /* ULTRIX-32 V3.1 (Rev 9) vcc rejects this */
9623 rm -f conftest.$ac_objext
9624 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
9625 (eval $ac_compile) 2>conftest.er1
9627 grep -v '^ *+' conftest.er1 >conftest.err
9629 cat conftest.err >&5
9630 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9631 (exit $ac_status); } &&
9632 { ac_try='test -z "$ac_c_werror_flag"
9633 || test ! -s conftest.err'
9634 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9637 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9638 (exit $ac_status); }; } &&
9639 { ac_try='test -s conftest.$ac_objext'
9640 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9643 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9644 (exit $ac_status); }; }; then
9647 echo "$as_me: failed program was:" >&5
9648 sed 's/^/| /' conftest.$ac_ext >&5
9652 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
9654 echo "$as_me:$LINENO: result: $ac_cv_c_const" >&5
9655 echo "${ECHO_T}$ac_cv_c_const" >&6
9656 if test $ac_cv_c_const = no; then
9658 cat >>confdefs.h <<\_ACEOF
9664 echo "$as_me:$LINENO: checking for __attribute__" >&5
9665 echo $ECHO_N "checking for __attribute__... $ECHO_C" >&6
9666 if test "${ac_cv_c_attribute+set}" = set; then
9667 echo $ECHO_N "(cached) $ECHO_C" >&6
9670 cat >conftest.$ac_ext <<_ACEOF
9673 cat confdefs.h >>conftest.$ac_ext
9674 cat >>conftest.$ac_ext <<_ACEOF
9675 /* end confdefs.h. */
9676 void foo(void) __attribute__ ((__noreturn__));
9679 rm -f conftest.$ac_objext
9680 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
9681 (eval $ac_compile) 2>conftest.er1
9683 grep -v '^ *+' conftest.er1 >conftest.err
9685 cat conftest.err >&5
9686 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9687 (exit $ac_status); } &&
9688 { ac_try='test -z "$ac_c_werror_flag"
9689 || test ! -s conftest.err'
9690 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9693 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9694 (exit $ac_status); }; } &&
9695 { ac_try='test -s conftest.$ac_objext'
9696 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9699 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9700 (exit $ac_status); }; }; then
9701 ac_cv_c_attribute=yes
9703 echo "$as_me: failed program was:" >&5
9704 sed 's/^/| /' conftest.$ac_ext >&5
9706 ac_cv_c_attribute=no
9709 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
9712 echo "$as_me:$LINENO: result: $ac_cv_c_attribute" >&5
9713 echo "${ECHO_T}$ac_cv_c_attribute" >&6
9716 case $ac_cv_c_attribute in
9719 cat >>confdefs.h <<_ACEOF
9720 #define __attribute__(x) /* nothing */
9727 if test "X$prefix" = "XNONE"; then
9728 acl_final_prefix="$ac_default_prefix"
9730 acl_final_prefix="$prefix"
9732 if test "X$exec_prefix" = "XNONE"; then
9733 acl_final_exec_prefix='${prefix}'
9735 acl_final_exec_prefix="$exec_prefix"
9737 acl_save_prefix="$prefix"
9738 prefix="$acl_final_prefix"
9739 eval acl_final_exec_prefix=\"$acl_final_exec_prefix\"
9740 prefix="$acl_save_prefix"
9743 # Check whether --with-gnu-ld or --without-gnu-ld was given.
9744 if test "${with_gnu_ld+set}" = set; then
9745 withval="$with_gnu_ld"
9746 test "$withval" = no || with_gnu_ld=yes
9750 # Prepare PATH_SEPARATOR.
9751 # The user is always right.
9752 if test "${PATH_SEPARATOR+set}" != set; then
9753 echo "#! /bin/sh" >conf$$.sh
9754 echo "exit 0" >>conf$$.sh
9756 if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
9764 if test "$GCC" = yes; then
9765 # Check if gcc -print-prog-name=ld gives a path.
9766 echo "$as_me:$LINENO: checking for ld used by GCC" >&5
9767 echo $ECHO_N "checking for ld used by GCC... $ECHO_C" >&6
9770 # gcc leaves a trailing carriage return which upsets mingw
9771 ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
9773 ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
9776 # Accept absolute paths.
9777 [\\/]* | [A-Za-z]:[\\/]*)
9778 re_direlt='/[^/][^/]*/\.\./'
9779 # Canonicalize the path of ld
9780 ac_prog=`echo $ac_prog| sed 's%\\\\%/%g'`
9781 while echo $ac_prog | grep "$re_direlt" > /dev/null 2>&1; do
9782 ac_prog=`echo $ac_prog| sed "s%$re_direlt%/%"`
9784 test -z "$LD" && LD="$ac_prog"
9787 # If it fails, then pretend we aren't using GCC.
9791 # If it is relative, then search for the first ld in PATH.
9795 elif test "$with_gnu_ld" = yes; then
9796 echo "$as_me:$LINENO: checking for GNU ld" >&5
9797 echo $ECHO_N "checking for GNU ld... $ECHO_C" >&6
9799 echo "$as_me:$LINENO: checking for non-GNU ld" >&5
9800 echo $ECHO_N "checking for non-GNU ld... $ECHO_C" >&6
9802 if test "${acl_cv_path_LD+set}" = set; then
9803 echo $ECHO_N "(cached) $ECHO_C" >&6
9805 if test -z "$LD"; then
9806 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}${PATH_SEPARATOR-:}"
9807 for ac_dir in $PATH; do
9808 test -z "$ac_dir" && ac_dir=.
9809 if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
9810 acl_cv_path_LD="$ac_dir/$ac_prog"
9811 # Check to see if the program is GNU ld. I'd rather use --version,
9812 # but apparently some GNU ld's only accept -v.
9813 # Break only if it was the GNU/non-GNU ld that we prefer.
9814 if "$acl_cv_path_LD" -v 2>&1 < /dev/null | egrep '(GNU|with BFD)' > /dev/null; then
9815 test "$with_gnu_ld" != no && break
9817 test "$with_gnu_ld" != yes && break
9823 acl_cv_path_LD="$LD" # Let the user override the test with a path.
9827 LD="$acl_cv_path_LD"
9828 if test -n "$LD"; then
9829 echo "$as_me:$LINENO: result: $LD" >&5
9830 echo "${ECHO_T}$LD" >&6
9832 echo "$as_me:$LINENO: result: no" >&5
9833 echo "${ECHO_T}no" >&6
9835 test -z "$LD" && { { echo "$as_me:$LINENO: error: no acceptable ld found in \$PATH" >&5
9836 echo "$as_me: error: no acceptable ld found in \$PATH" >&2;}
9837 { (exit 1); exit 1; }; }
9838 echo "$as_me:$LINENO: checking if the linker ($LD) is GNU ld" >&5
9839 echo $ECHO_N "checking if the linker ($LD) is GNU ld... $ECHO_C" >&6
9840 if test "${acl_cv_prog_gnu_ld+set}" = set; then
9841 echo $ECHO_N "(cached) $ECHO_C" >&6
9843 # I'd rather use --version here, but apparently some GNU ld's only accept -v.
9844 if $LD -v 2>&1 </dev/null | egrep '(GNU|with BFD)' 1>&5; then
9845 acl_cv_prog_gnu_ld=yes
9847 acl_cv_prog_gnu_ld=no
9850 echo "$as_me:$LINENO: result: $acl_cv_prog_gnu_ld" >&5
9851 echo "${ECHO_T}$acl_cv_prog_gnu_ld" >&6
9852 with_gnu_ld=$acl_cv_prog_gnu_ld
9856 echo "$as_me:$LINENO: checking for shared library run path origin" >&5
9857 echo $ECHO_N "checking for shared library run path origin... $ECHO_C" >&6
9858 if test "${acl_cv_rpath+set}" = set; then
9859 echo $ECHO_N "(cached) $ECHO_C" >&6
9862 CC="$CC" GCC="$GCC" LDFLAGS="$LDFLAGS" LD="$LD" with_gnu_ld="$with_gnu_ld" \
9863 ${CONFIG_SHELL-/bin/sh} "$ac_aux_dir/config.rpath" "$host" > conftest.sh
9869 echo "$as_me:$LINENO: result: $acl_cv_rpath" >&5
9870 echo "${ECHO_T}$acl_cv_rpath" >&6
9872 libext="$acl_cv_libext"
9873 shlibext="$acl_cv_shlibext"
9874 hardcode_libdir_flag_spec="$acl_cv_hardcode_libdir_flag_spec"
9875 hardcode_libdir_separator="$acl_cv_hardcode_libdir_separator"
9876 hardcode_direct="$acl_cv_hardcode_direct"
9877 hardcode_minus_L="$acl_cv_hardcode_minus_L"
9878 # Check whether --enable-rpath or --disable-rpath was given.
9879 if test "${enable_rpath+set}" = set; then
9880 enableval="$enable_rpath"
9894 acl_save_prefix="$prefix"
9895 prefix="$acl_final_prefix"
9896 acl_save_exec_prefix="$exec_prefix"
9897 exec_prefix="$acl_final_exec_prefix"
9899 eval additional_includedir=\"$includedir\"
9900 eval additional_libdir=\"$libdir\"
9902 exec_prefix="$acl_save_exec_prefix"
9903 prefix="$acl_save_prefix"
9906 # Check whether --with-libiconv-prefix or --without-libiconv-prefix was given.
9907 if test "${with_libiconv_prefix+set}" = set; then
9908 withval="$with_libiconv_prefix"
9910 if test "X$withval" = "Xno"; then
9913 if test "X$withval" = "X"; then
9915 acl_save_prefix="$prefix"
9916 prefix="$acl_final_prefix"
9917 acl_save_exec_prefix="$exec_prefix"
9918 exec_prefix="$acl_final_exec_prefix"
9920 eval additional_includedir=\"$includedir\"
9921 eval additional_libdir=\"$libdir\"
9923 exec_prefix="$acl_save_exec_prefix"
9924 prefix="$acl_save_prefix"
9927 additional_includedir="$withval/include"
9928 additional_libdir="$withval/lib"
9938 names_already_handled=
9939 names_next_round='iconv '
9940 while test -n "$names_next_round"; do
9941 names_this_round="$names_next_round"
9943 for name in $names_this_round; do
9945 for n in $names_already_handled; do
9946 if test "$n" = "$name"; then
9951 if test -z "$already_handled"; then
9952 names_already_handled="$names_already_handled $name"
9953 uppername=`echo "$name" | sed -e 'y|abcdefghijklmnopqrstuvwxyz./-|ABCDEFGHIJKLMNOPQRSTUVWXYZ___|'`
9954 eval value=\"\$HAVE_LIB$uppername\"
9955 if test -n "$value"; then
9956 if test "$value" = yes; then
9957 eval value=\"\$LIB$uppername\"
9958 test -z "$value" || LIBICONV="${LIBICONV}${LIBICONV:+ }$value"
9959 eval value=\"\$LTLIB$uppername\"
9960 test -z "$value" || LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }$value"
9969 if test $use_additional = yes; then
9970 if test -n "$shlibext" && test -f "$additional_libdir/lib$name.$shlibext"; then
9971 found_dir="$additional_libdir"
9972 found_so="$additional_libdir/lib$name.$shlibext"
9973 if test -f "$additional_libdir/lib$name.la"; then
9974 found_la="$additional_libdir/lib$name.la"
9977 if test -f "$additional_libdir/lib$name.$libext"; then
9978 found_dir="$additional_libdir"
9979 found_a="$additional_libdir/lib$name.$libext"
9980 if test -f "$additional_libdir/lib$name.la"; then
9981 found_la="$additional_libdir/lib$name.la"
9986 if test "X$found_dir" = "X"; then
9987 for x in $LDFLAGS $LTLIBICONV; do
9989 acl_save_prefix="$prefix"
9990 prefix="$acl_final_prefix"
9991 acl_save_exec_prefix="$exec_prefix"
9992 exec_prefix="$acl_final_exec_prefix"
9994 exec_prefix="$acl_save_exec_prefix"
9995 prefix="$acl_save_prefix"
9999 dir=`echo "X$x" | sed -e 's/^X-L//'`
10000 if test -n "$shlibext" && test -f "$dir/lib$name.$shlibext"; then
10002 found_so="$dir/lib$name.$shlibext"
10003 if test -f "$dir/lib$name.la"; then
10004 found_la="$dir/lib$name.la"
10007 if test -f "$dir/lib$name.$libext"; then
10009 found_a="$dir/lib$name.$libext"
10010 if test -f "$dir/lib$name.la"; then
10011 found_la="$dir/lib$name.la"
10017 if test "X$found_dir" != "X"; then
10022 if test "X$found_dir" != "X"; then
10023 LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }-L$found_dir -l$name"
10024 if test "X$found_so" != "X"; then
10025 if test "$enable_rpath" = no || test "X$found_dir" = "X/usr/lib"; then
10026 LIBICONV="${LIBICONV}${LIBICONV:+ }$found_so"
10029 for x in $ltrpathdirs; do
10030 if test "X$x" = "X$found_dir"; then
10035 if test -z "$haveit"; then
10036 ltrpathdirs="$ltrpathdirs $found_dir"
10038 if test "$hardcode_direct" = yes; then
10039 LIBICONV="${LIBICONV}${LIBICONV:+ }$found_so"
10041 if test -n "$hardcode_libdir_flag_spec" && test "$hardcode_minus_L" = no; then
10042 LIBICONV="${LIBICONV}${LIBICONV:+ }$found_so"
10044 for x in $rpathdirs; do
10045 if test "X$x" = "X$found_dir"; then
10050 if test -z "$haveit"; then
10051 rpathdirs="$rpathdirs $found_dir"
10055 for x in $LDFLAGS $LIBICONV; do
10057 acl_save_prefix="$prefix"
10058 prefix="$acl_final_prefix"
10059 acl_save_exec_prefix="$exec_prefix"
10060 exec_prefix="$acl_final_exec_prefix"
10062 exec_prefix="$acl_save_exec_prefix"
10063 prefix="$acl_save_prefix"
10065 if test "X$x" = "X-L$found_dir"; then
10070 if test -z "$haveit"; then
10071 LIBICONV="${LIBICONV}${LIBICONV:+ }-L$found_dir"
10073 if test "$hardcode_minus_L" != no; then
10074 LIBICONV="${LIBICONV}${LIBICONV:+ }$found_so"
10076 LIBICONV="${LIBICONV}${LIBICONV:+ }-l$name"
10082 if test "X$found_a" != "X"; then
10083 LIBICONV="${LIBICONV}${LIBICONV:+ }$found_a"
10085 LIBICONV="${LIBICONV}${LIBICONV:+ }-L$found_dir -l$name"
10088 additional_includedir=
10089 case "$found_dir" in
10091 basedir=`echo "X$found_dir" | sed -e 's,^X,,' -e 's,/lib/*$,,'`
10092 additional_includedir="$basedir/include"
10095 if test "X$additional_includedir" != "X"; then
10096 if test "X$additional_includedir" != "X/usr/include"; then
10098 if test "X$additional_includedir" = "X/usr/local/include"; then
10099 if test -n "$GCC"; then
10101 linux*) haveit=yes;;
10105 if test -z "$haveit"; then
10106 for x in $CPPFLAGS $INCICONV; do
10108 acl_save_prefix="$prefix"
10109 prefix="$acl_final_prefix"
10110 acl_save_exec_prefix="$exec_prefix"
10111 exec_prefix="$acl_final_exec_prefix"
10113 exec_prefix="$acl_save_exec_prefix"
10114 prefix="$acl_save_prefix"
10116 if test "X$x" = "X-I$additional_includedir"; then
10121 if test -z "$haveit"; then
10122 if test -d "$additional_includedir"; then
10123 INCICONV="${INCICONV}${INCICONV:+ }-I$additional_includedir"
10129 if test -n "$found_la"; then
10130 save_libdir="$libdir"
10131 case "$found_la" in
10132 */* | *\\*) . "$found_la" ;;
10133 *) . "./$found_la" ;;
10135 libdir="$save_libdir"
10136 for dep in $dependency_libs; do
10139 additional_libdir=`echo "X$dep" | sed -e 's/^X-L//'`
10140 if test "X$additional_libdir" != "X/usr/lib"; then
10142 if test "X$additional_libdir" = "X/usr/local/lib"; then
10143 if test -n "$GCC"; then
10145 linux*) haveit=yes;;
10149 if test -z "$haveit"; then
10151 for x in $LDFLAGS $LIBICONV; do
10153 acl_save_prefix="$prefix"
10154 prefix="$acl_final_prefix"
10155 acl_save_exec_prefix="$exec_prefix"
10156 exec_prefix="$acl_final_exec_prefix"
10158 exec_prefix="$acl_save_exec_prefix"
10159 prefix="$acl_save_prefix"
10161 if test "X$x" = "X-L$additional_libdir"; then
10166 if test -z "$haveit"; then
10167 if test -d "$additional_libdir"; then
10168 LIBICONV="${LIBICONV}${LIBICONV:+ }-L$additional_libdir"
10172 for x in $LDFLAGS $LTLIBICONV; do
10174 acl_save_prefix="$prefix"
10175 prefix="$acl_final_prefix"
10176 acl_save_exec_prefix="$exec_prefix"
10177 exec_prefix="$acl_final_exec_prefix"
10179 exec_prefix="$acl_save_exec_prefix"
10180 prefix="$acl_save_prefix"
10182 if test "X$x" = "X-L$additional_libdir"; then
10187 if test -z "$haveit"; then
10188 if test -d "$additional_libdir"; then
10189 LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }-L$additional_libdir"
10196 dir=`echo "X$dep" | sed -e 's/^X-R//'`
10197 if test "$enable_rpath" != no; then
10199 for x in $rpathdirs; do
10200 if test "X$x" = "X$dir"; then
10205 if test -z "$haveit"; then
10206 rpathdirs="$rpathdirs $dir"
10209 for x in $ltrpathdirs; do
10210 if test "X$x" = "X$dir"; then
10215 if test -z "$haveit"; then
10216 ltrpathdirs="$ltrpathdirs $dir"
10221 names_next_round="$names_next_round "`echo "X$dep" | sed -e 's/^X-l//'`
10224 names_next_round="$names_next_round "`echo "X$dep" | sed -e 's,^X.*/,,' -e 's,^lib,,' -e 's,\.la$,,'`
10227 LIBICONV="${LIBICONV}${LIBICONV:+ }$dep"
10228 LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }$dep"
10234 LIBICONV="${LIBICONV}${LIBICONV:+ }-l$name"
10235 LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }-l$name"
10241 if test "X$rpathdirs" != "X"; then
10242 if test -n "$hardcode_libdir_separator"; then
10244 for found_dir in $rpathdirs; do
10245 alldirs="${alldirs}${alldirs:+$hardcode_libdir_separator}$found_dir"
10247 acl_save_libdir="$libdir"
10249 eval flag=\"$hardcode_libdir_flag_spec\"
10250 libdir="$acl_save_libdir"
10251 LIBICONV="${LIBICONV}${LIBICONV:+ }$flag"
10253 for found_dir in $rpathdirs; do
10254 acl_save_libdir="$libdir"
10255 libdir="$found_dir"
10256 eval flag=\"$hardcode_libdir_flag_spec\"
10257 libdir="$acl_save_libdir"
10258 LIBICONV="${LIBICONV}${LIBICONV:+ }$flag"
10262 if test "X$ltrpathdirs" != "X"; then
10263 for found_dir in $ltrpathdirs; do
10264 LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }-R$found_dir"
10274 am_save_CPPFLAGS="$CPPFLAGS"
10276 for element in $INCICONV; do
10278 for x in $CPPFLAGS; do
10280 acl_save_prefix="$prefix"
10281 prefix="$acl_final_prefix"
10282 acl_save_exec_prefix="$exec_prefix"
10283 exec_prefix="$acl_final_exec_prefix"
10285 exec_prefix="$acl_save_exec_prefix"
10286 prefix="$acl_save_prefix"
10288 if test "X$x" = "X$element"; then
10293 if test -z "$haveit"; then
10294 CPPFLAGS="${CPPFLAGS}${CPPFLAGS:+ }$element"
10299 echo "$as_me:$LINENO: checking for iconv" >&5
10300 echo $ECHO_N "checking for iconv... $ECHO_C" >&6
10301 if test "${am_cv_func_iconv+set}" = set; then
10302 echo $ECHO_N "(cached) $ECHO_C" >&6
10305 am_cv_func_iconv="no, consider installing GNU libiconv"
10307 if test x$gcc_no_link = xyes; then
10308 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
10309 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
10310 { (exit 1); exit 1; }; }
10312 cat >conftest.$ac_ext <<_ACEOF
10315 cat confdefs.h >>conftest.$ac_ext
10316 cat >>conftest.$ac_ext <<_ACEOF
10317 /* end confdefs.h. */
10318 #include <stdlib.h>
10323 iconv_t cd = iconv_open("","");
10324 iconv(cd,NULL,NULL,NULL,NULL);
10330 rm -f conftest.$ac_objext conftest$ac_exeext
10331 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10332 (eval $ac_link) 2>conftest.er1
10334 grep -v '^ *+' conftest.er1 >conftest.err
10336 cat conftest.err >&5
10337 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10338 (exit $ac_status); } &&
10339 { ac_try='test -z "$ac_c_werror_flag"
10340 || test ! -s conftest.err'
10341 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10342 (eval $ac_try) 2>&5
10344 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10345 (exit $ac_status); }; } &&
10346 { ac_try='test -s conftest$ac_exeext'
10347 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10348 (eval $ac_try) 2>&5
10350 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10351 (exit $ac_status); }; }; then
10352 am_cv_func_iconv=yes
10354 echo "$as_me: failed program was:" >&5
10355 sed 's/^/| /' conftest.$ac_ext >&5
10358 rm -f conftest.err conftest.$ac_objext \
10359 conftest$ac_exeext conftest.$ac_ext
10360 if test "$am_cv_func_iconv" != yes; then
10361 am_save_LIBS="$LIBS"
10362 LIBS="$LIBS $LIBICONV"
10363 if test x$gcc_no_link = xyes; then
10364 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
10365 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
10366 { (exit 1); exit 1; }; }
10368 cat >conftest.$ac_ext <<_ACEOF
10371 cat confdefs.h >>conftest.$ac_ext
10372 cat >>conftest.$ac_ext <<_ACEOF
10373 /* end confdefs.h. */
10374 #include <stdlib.h>
10379 iconv_t cd = iconv_open("","");
10380 iconv(cd,NULL,NULL,NULL,NULL);
10386 rm -f conftest.$ac_objext conftest$ac_exeext
10387 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10388 (eval $ac_link) 2>conftest.er1
10390 grep -v '^ *+' conftest.er1 >conftest.err
10392 cat conftest.err >&5
10393 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10394 (exit $ac_status); } &&
10395 { ac_try='test -z "$ac_c_werror_flag"
10396 || test ! -s conftest.err'
10397 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10398 (eval $ac_try) 2>&5
10400 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10401 (exit $ac_status); }; } &&
10402 { ac_try='test -s conftest$ac_exeext'
10403 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10404 (eval $ac_try) 2>&5
10406 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10407 (exit $ac_status); }; }; then
10408 am_cv_lib_iconv=yes
10409 am_cv_func_iconv=yes
10411 echo "$as_me: failed program was:" >&5
10412 sed 's/^/| /' conftest.$ac_ext >&5
10415 rm -f conftest.err conftest.$ac_objext \
10416 conftest$ac_exeext conftest.$ac_ext
10417 LIBS="$am_save_LIBS"
10421 echo "$as_me:$LINENO: result: $am_cv_func_iconv" >&5
10422 echo "${ECHO_T}$am_cv_func_iconv" >&6
10423 if test "$am_cv_func_iconv" = yes; then
10425 cat >>confdefs.h <<\_ACEOF
10426 #define HAVE_ICONV 1
10430 if test "$am_cv_lib_iconv" = yes; then
10431 echo "$as_me:$LINENO: checking how to link with libiconv" >&5
10432 echo $ECHO_N "checking how to link with libiconv... $ECHO_C" >&6
10433 echo "$as_me:$LINENO: result: $LIBICONV" >&5
10434 echo "${ECHO_T}$LIBICONV" >&6
10436 CPPFLAGS="$am_save_CPPFLAGS"
10443 if test "$am_cv_func_iconv" = yes; then
10444 echo "$as_me:$LINENO: checking for iconv declaration" >&5
10445 echo $ECHO_N "checking for iconv declaration... $ECHO_C" >&6
10446 if test "${am_cv_proto_iconv+set}" = set; then
10447 echo $ECHO_N "(cached) $ECHO_C" >&6
10450 cat >conftest.$ac_ext <<_ACEOF
10453 cat confdefs.h >>conftest.$ac_ext
10454 cat >>conftest.$ac_ext <<_ACEOF
10455 /* end confdefs.h. */
10457 #include <stdlib.h>
10463 #if defined(__STDC__) || defined(__cplusplus)
10464 size_t iconv (iconv_t cd, char * *inbuf, size_t *inbytesleft, char * *outbuf, size_t *outbytesleft);
10477 rm -f conftest.$ac_objext
10478 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
10479 (eval $ac_compile) 2>conftest.er1
10481 grep -v '^ *+' conftest.er1 >conftest.err
10483 cat conftest.err >&5
10484 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10485 (exit $ac_status); } &&
10486 { ac_try='test -z "$ac_c_werror_flag"
10487 || test ! -s conftest.err'
10488 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10489 (eval $ac_try) 2>&5
10491 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10492 (exit $ac_status); }; } &&
10493 { ac_try='test -s conftest.$ac_objext'
10494 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10495 (eval $ac_try) 2>&5
10497 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10498 (exit $ac_status); }; }; then
10499 am_cv_proto_iconv_arg1=""
10501 echo "$as_me: failed program was:" >&5
10502 sed 's/^/| /' conftest.$ac_ext >&5
10504 am_cv_proto_iconv_arg1="const"
10506 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
10507 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);"
10510 am_cv_proto_iconv=`echo "$am_cv_proto_iconv" | tr -s ' ' | sed -e 's/( /(/'`
10511 echo "$as_me:$LINENO: result: ${ac_t:-
10512 }$am_cv_proto_iconv" >&5
10513 echo "${ECHO_T}${ac_t:-
10514 }$am_cv_proto_iconv" >&6
10516 cat >>confdefs.h <<_ACEOF
10517 #define ICONV_CONST $am_cv_proto_iconv_arg1
10523 if test "x${GCC}" = xyes; then
10525 WARNING_CFLAGS='-W -Wall -Wmissing-declarations -Wwrite-strings -Wmissing-prototypes -Wno-long-long'
10528 STRICT_WARNING_CFLAGS='-Wstrict-prototypes -pedantic'
10532 if test "x${ENABLE_WERROR}" = xyes; then
10533 ERROR_CFLAGS='-Werror'
10538 if test "x${COMPILE_XMLJ}" = xyes; then
10542 if test -z "$PKG_CONFIG"; then
10543 # Extract the first word of "pkg-config", so it can be a program name with args.
10544 set dummy pkg-config; ac_word=$2
10545 echo "$as_me:$LINENO: checking for $ac_word" >&5
10546 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
10547 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
10548 echo $ECHO_N "(cached) $ECHO_C" >&6
10550 case $PKG_CONFIG in
10552 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
10555 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10556 for as_dir in $PATH
10559 test -z "$as_dir" && as_dir=.
10560 for ac_exec_ext in '' $ac_executable_extensions; do
10561 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
10562 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
10563 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
10569 test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG="no"
10573 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
10575 if test -n "$PKG_CONFIG"; then
10576 echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
10577 echo "${ECHO_T}$PKG_CONFIG" >&6
10579 echo "$as_me:$LINENO: result: no" >&5
10580 echo "${ECHO_T}no" >&6
10585 if test "$PKG_CONFIG" = "no" ; then
10586 echo "*** The pkg-config script could not be found. Make sure it is"
10587 echo "*** in your path, or set the PKG_CONFIG environment variable"
10588 echo "*** to the full path to pkg-config."
10589 echo "*** Or see http://www.freedesktop.org/software/pkgconfig to get pkg-config."
10591 PKG_CONFIG_MIN_VERSION=0.9.0
10592 if $PKG_CONFIG --atleast-pkgconfig-version $PKG_CONFIG_MIN_VERSION; then
10593 echo "$as_me:$LINENO: checking for libxml-2.0 >= 2.6.8" >&5
10594 echo $ECHO_N "checking for libxml-2.0 >= 2.6.8... $ECHO_C" >&6
10596 if $PKG_CONFIG --exists "libxml-2.0 >= 2.6.8" ; then
10597 echo "$as_me:$LINENO: result: yes" >&5
10598 echo "${ECHO_T}yes" >&6
10601 echo "$as_me:$LINENO: checking XML_CFLAGS" >&5
10602 echo $ECHO_N "checking XML_CFLAGS... $ECHO_C" >&6
10603 XML_CFLAGS=`$PKG_CONFIG --cflags "libxml-2.0 >= 2.6.8"`
10604 echo "$as_me:$LINENO: result: $XML_CFLAGS" >&5
10605 echo "${ECHO_T}$XML_CFLAGS" >&6
10607 echo "$as_me:$LINENO: checking XML_LIBS" >&5
10608 echo $ECHO_N "checking XML_LIBS... $ECHO_C" >&6
10609 XML_LIBS=`$PKG_CONFIG --libs "libxml-2.0 >= 2.6.8"`
10610 echo "$as_me:$LINENO: result: $XML_LIBS" >&5
10611 echo "${ECHO_T}$XML_LIBS" >&6
10615 ## If we have a custom action on failure, don't print errors, but
10616 ## do set a variable so people can do so.
10617 XML_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "libxml-2.0 >= 2.6.8"`
10618 echo $XML_PKG_ERRORS
10624 echo "*** Your version of pkg-config is too old. You need version $PKG_CONFIG_MIN_VERSION or newer."
10625 echo "*** See http://www.freedesktop.org/software/pkgconfig"
10629 if test $succeeded = yes; then
10632 { { 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
10633 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;}
10634 { (exit 1); exit 1; }; }
10640 if test -z "$PKG_CONFIG"; then
10641 # Extract the first word of "pkg-config", so it can be a program name with args.
10642 set dummy pkg-config; ac_word=$2
10643 echo "$as_me:$LINENO: checking for $ac_word" >&5
10644 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
10645 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
10646 echo $ECHO_N "(cached) $ECHO_C" >&6
10648 case $PKG_CONFIG in
10650 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
10653 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10654 for as_dir in $PATH
10657 test -z "$as_dir" && as_dir=.
10658 for ac_exec_ext in '' $ac_executable_extensions; do
10659 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
10660 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
10661 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
10667 test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG="no"
10671 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
10673 if test -n "$PKG_CONFIG"; then
10674 echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
10675 echo "${ECHO_T}$PKG_CONFIG" >&6
10677 echo "$as_me:$LINENO: result: no" >&5
10678 echo "${ECHO_T}no" >&6
10683 if test "$PKG_CONFIG" = "no" ; then
10684 echo "*** The pkg-config script could not be found. Make sure it is"
10685 echo "*** in your path, or set the PKG_CONFIG environment variable"
10686 echo "*** to the full path to pkg-config."
10687 echo "*** Or see http://www.freedesktop.org/software/pkgconfig to get pkg-config."
10689 PKG_CONFIG_MIN_VERSION=0.9.0
10690 if $PKG_CONFIG --atleast-pkgconfig-version $PKG_CONFIG_MIN_VERSION; then
10691 echo "$as_me:$LINENO: checking for libxslt >= 1.1.11" >&5
10692 echo $ECHO_N "checking for libxslt >= 1.1.11... $ECHO_C" >&6
10694 if $PKG_CONFIG --exists "libxslt >= 1.1.11" ; then
10695 echo "$as_me:$LINENO: result: yes" >&5
10696 echo "${ECHO_T}yes" >&6
10699 echo "$as_me:$LINENO: checking XSLT_CFLAGS" >&5
10700 echo $ECHO_N "checking XSLT_CFLAGS... $ECHO_C" >&6
10701 XSLT_CFLAGS=`$PKG_CONFIG --cflags "libxslt >= 1.1.11"`
10702 echo "$as_me:$LINENO: result: $XSLT_CFLAGS" >&5
10703 echo "${ECHO_T}$XSLT_CFLAGS" >&6
10705 echo "$as_me:$LINENO: checking XSLT_LIBS" >&5
10706 echo $ECHO_N "checking XSLT_LIBS... $ECHO_C" >&6
10707 XSLT_LIBS=`$PKG_CONFIG --libs "libxslt >= 1.1.11"`
10708 echo "$as_me:$LINENO: result: $XSLT_LIBS" >&5
10709 echo "${ECHO_T}$XSLT_LIBS" >&6
10713 ## If we have a custom action on failure, don't print errors, but
10714 ## do set a variable so people can do so.
10715 XSLT_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "libxslt >= 1.1.11"`
10716 echo $XSLT_PKG_ERRORS
10722 echo "*** Your version of pkg-config is too old. You need version $PKG_CONFIG_MIN_VERSION or newer."
10723 echo "*** See http://www.freedesktop.org/software/pkgconfig"
10727 if test $succeeded = yes; then
10730 { { 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
10731 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;}
10732 { (exit 1); exit 1; }; }
10741 if test "x${COMPILE_GTK_PEER}" = xyes; then
10742 echo "$as_me:$LINENO: checking for X" >&5
10743 echo $ECHO_N "checking for X... $ECHO_C" >&6
10746 # Check whether --with-x or --without-x was given.
10747 if test "${with_x+set}" = set; then
10751 # $have_x is `yes', `no', `disabled', or empty when we do not yet know.
10752 if test "x$with_x" = xno; then
10753 # The user explicitly disabled X.
10756 if test "x$x_includes" != xNONE && test "x$x_libraries" != xNONE; then
10757 # Both variables are already set.
10760 if test "${ac_cv_have_x+set}" = set; then
10761 echo $ECHO_N "(cached) $ECHO_C" >&6
10763 # One or both of the vars are not set, and there is no cached value.
10764 ac_x_includes=no ac_x_libraries=no
10765 rm -fr conftest.dir
10766 if mkdir conftest.dir; then
10768 # Make sure to not put "make" in the Imakefile rules, since we grep it out.
10769 cat >Imakefile <<'_ACEOF'
10771 @echo 'ac_im_incroot="${INCROOT}"; ac_im_usrlibdir="${USRLIBDIR}"; ac_im_libdir="${LIBDIR}"'
10773 if (xmkmf) >/dev/null 2>/dev/null && test -f Makefile; then
10774 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
10775 eval `${MAKE-make} acfindx 2>/dev/null | grep -v make`
10776 # Open Windows xmkmf reportedly sets LIBDIR instead of USRLIBDIR.
10777 for ac_extension in a so sl; do
10778 if test ! -f $ac_im_usrlibdir/libX11.$ac_extension &&
10779 test -f $ac_im_libdir/libX11.$ac_extension; then
10780 ac_im_usrlibdir=$ac_im_libdir; break
10783 # Screen out bogus values from the imake configuration. They are
10784 # bogus both because they are the default anyway, and because
10785 # using them would break gcc on systems where it needs fixed includes.
10786 case $ac_im_incroot in
10788 *) test -f "$ac_im_incroot/X11/Xos.h" && ac_x_includes=$ac_im_incroot;;
10790 case $ac_im_usrlibdir in
10791 /usr/lib | /lib) ;;
10792 *) test -d "$ac_im_usrlibdir" && ac_x_libraries=$ac_im_usrlibdir ;;
10796 rm -fr conftest.dir
10799 # Standard set of common directories for X headers.
10800 # Check X11 before X11Rn because it is often a symlink to the current release.
10812 /usr/local/X11/include
10813 /usr/local/X11R6/include
10814 /usr/local/X11R5/include
10815 /usr/local/X11R4/include
10817 /usr/local/include/X11
10818 /usr/local/include/X11R6
10819 /usr/local/include/X11R5
10820 /usr/local/include/X11R4
10824 /usr/XFree86/include/X11
10828 /usr/unsupported/include
10829 /usr/athena/include
10830 /usr/local/x11r5/include
10831 /usr/lpp/Xamples/include
10833 /usr/openwin/include
10834 /usr/openwin/share/include'
10836 if test "$ac_x_includes" = no; then
10837 # Guess where to find include files, by looking for Xlib.h.
10838 # First, try using that file with no special directory specified.
10839 cat >conftest.$ac_ext <<_ACEOF
10842 cat confdefs.h >>conftest.$ac_ext
10843 cat >>conftest.$ac_ext <<_ACEOF
10844 /* end confdefs.h. */
10845 #include <X11/Xlib.h>
10847 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
10848 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
10850 grep -v '^ *+' conftest.er1 >conftest.err
10852 cat conftest.err >&5
10853 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10854 (exit $ac_status); } >/dev/null; then
10855 if test -s conftest.err; then
10856 ac_cpp_err=$ac_c_preproc_warn_flag
10857 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
10864 if test -z "$ac_cpp_err"; then
10865 # We can compile using X headers with no special include directory.
10868 echo "$as_me: failed program was:" >&5
10869 sed 's/^/| /' conftest.$ac_ext >&5
10871 for ac_dir in $ac_x_header_dirs; do
10872 if test -r "$ac_dir/X11/Xlib.h"; then
10873 ac_x_includes=$ac_dir
10878 rm -f conftest.err conftest.$ac_ext
10879 fi # $ac_x_includes = no
10881 if test "$ac_x_libraries" = no; then
10882 # Check for the libraries.
10883 # See if we find them without any special options.
10884 # Don't add to $LIBS permanently.
10887 if test x$gcc_no_link = xyes; then
10888 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
10889 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
10890 { (exit 1); exit 1; }; }
10892 cat >conftest.$ac_ext <<_ACEOF
10895 cat confdefs.h >>conftest.$ac_ext
10896 cat >>conftest.$ac_ext <<_ACEOF
10897 /* end confdefs.h. */
10898 #include <X11/Xlib.h>
10907 rm -f conftest.$ac_objext conftest$ac_exeext
10908 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10909 (eval $ac_link) 2>conftest.er1
10911 grep -v '^ *+' conftest.er1 >conftest.err
10913 cat conftest.err >&5
10914 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10915 (exit $ac_status); } &&
10916 { ac_try='test -z "$ac_c_werror_flag"
10917 || test ! -s conftest.err'
10918 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10919 (eval $ac_try) 2>&5
10921 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10922 (exit $ac_status); }; } &&
10923 { ac_try='test -s conftest$ac_exeext'
10924 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10925 (eval $ac_try) 2>&5
10927 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10928 (exit $ac_status); }; }; then
10930 # We can link X programs with no special library path.
10933 echo "$as_me: failed program was:" >&5
10934 sed 's/^/| /' conftest.$ac_ext >&5
10937 for ac_dir in `echo "$ac_x_includes $ac_x_header_dirs" | sed s/include/lib/g`
10939 # Don't even attempt the hair of trying to link an X program!
10940 for ac_extension in a so sl; do
10941 if test -r $ac_dir/libXt.$ac_extension; then
10942 ac_x_libraries=$ac_dir
10948 rm -f conftest.err conftest.$ac_objext \
10949 conftest$ac_exeext conftest.$ac_ext
10950 fi # $ac_x_libraries = no
10952 if test "$ac_x_includes" = no || test "$ac_x_libraries" = no; then
10953 # Didn't find X anywhere. Cache the known absence of X.
10954 ac_cv_have_x="have_x=no"
10956 # Record where we found X for the cache.
10957 ac_cv_have_x="have_x=yes \
10958 ac_x_includes=$ac_x_includes ac_x_libraries=$ac_x_libraries"
10963 eval "$ac_cv_have_x"
10966 if test "$have_x" != yes; then
10967 echo "$as_me:$LINENO: result: $have_x" >&5
10968 echo "${ECHO_T}$have_x" >&6
10971 # If each of the values was on the command line, it overrides each guess.
10972 test "x$x_includes" = xNONE && x_includes=$ac_x_includes
10973 test "x$x_libraries" = xNONE && x_libraries=$ac_x_libraries
10974 # Update the cache value to reflect the command line values.
10975 ac_cv_have_x="have_x=yes \
10976 ac_x_includes=$x_includes ac_x_libraries=$x_libraries"
10977 echo "$as_me:$LINENO: result: libraries $x_libraries, headers $x_includes" >&5
10978 echo "${ECHO_T}libraries $x_libraries, headers $x_includes" >&6
10981 if test "$no_x" = yes; then
10982 # Not all programs may use this symbol, but it does not hurt to define it.
10984 cat >>confdefs.h <<\_ACEOF
10985 #define X_DISPLAY_MISSING 1
10988 X_CFLAGS= X_PRE_LIBS= X_LIBS= X_EXTRA_LIBS=
10990 if test -n "$x_includes"; then
10991 X_CFLAGS="$X_CFLAGS -I$x_includes"
10994 # It would also be nice to do this for all -L options, not just this one.
10995 if test -n "$x_libraries"; then
10996 X_LIBS="$X_LIBS -L$x_libraries"
10997 # For Solaris; some versions of Sun CC require a space after -R and
10998 # others require no space. Words are not sufficient . . . .
10999 case `(uname -sr) 2>/dev/null` in
11001 echo "$as_me:$LINENO: checking whether -R must be followed by a space" >&5
11002 echo $ECHO_N "checking whether -R must be followed by a space... $ECHO_C" >&6
11003 ac_xsave_LIBS=$LIBS; LIBS="$LIBS -R$x_libraries"
11004 if test x$gcc_no_link = xyes; then
11005 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
11006 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
11007 { (exit 1); exit 1; }; }
11009 cat >conftest.$ac_ext <<_ACEOF
11012 cat confdefs.h >>conftest.$ac_ext
11013 cat >>conftest.$ac_ext <<_ACEOF
11014 /* end confdefs.h. */
11024 rm -f conftest.$ac_objext conftest$ac_exeext
11025 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
11026 (eval $ac_link) 2>conftest.er1
11028 grep -v '^ *+' conftest.er1 >conftest.err
11030 cat conftest.err >&5
11031 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11032 (exit $ac_status); } &&
11033 { ac_try='test -z "$ac_c_werror_flag"
11034 || test ! -s conftest.err'
11035 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11036 (eval $ac_try) 2>&5
11038 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11039 (exit $ac_status); }; } &&
11040 { ac_try='test -s conftest$ac_exeext'
11041 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11042 (eval $ac_try) 2>&5
11044 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11045 (exit $ac_status); }; }; then
11048 echo "$as_me: failed program was:" >&5
11049 sed 's/^/| /' conftest.$ac_ext >&5
11053 rm -f conftest.err conftest.$ac_objext \
11054 conftest$ac_exeext conftest.$ac_ext
11055 if test $ac_R_nospace = yes; then
11056 echo "$as_me:$LINENO: result: no" >&5
11057 echo "${ECHO_T}no" >&6
11058 X_LIBS="$X_LIBS -R$x_libraries"
11060 LIBS="$ac_xsave_LIBS -R $x_libraries"
11061 if test x$gcc_no_link = xyes; then
11062 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
11063 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
11064 { (exit 1); exit 1; }; }
11066 cat >conftest.$ac_ext <<_ACEOF
11069 cat confdefs.h >>conftest.$ac_ext
11070 cat >>conftest.$ac_ext <<_ACEOF
11071 /* end confdefs.h. */
11081 rm -f conftest.$ac_objext conftest$ac_exeext
11082 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
11083 (eval $ac_link) 2>conftest.er1
11085 grep -v '^ *+' conftest.er1 >conftest.err
11087 cat conftest.err >&5
11088 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11089 (exit $ac_status); } &&
11090 { ac_try='test -z "$ac_c_werror_flag"
11091 || test ! -s conftest.err'
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); }; } &&
11097 { ac_try='test -s conftest$ac_exeext'
11098 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11099 (eval $ac_try) 2>&5
11101 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11102 (exit $ac_status); }; }; then
11105 echo "$as_me: failed program was:" >&5
11106 sed 's/^/| /' conftest.$ac_ext >&5
11110 rm -f conftest.err conftest.$ac_objext \
11111 conftest$ac_exeext conftest.$ac_ext
11112 if test $ac_R_space = yes; then
11113 echo "$as_me:$LINENO: result: yes" >&5
11114 echo "${ECHO_T}yes" >&6
11115 X_LIBS="$X_LIBS -R $x_libraries"
11117 echo "$as_me:$LINENO: result: neither works" >&5
11118 echo "${ECHO_T}neither works" >&6
11121 LIBS=$ac_xsave_LIBS
11125 # Check for system-dependent libraries X programs must link with.
11126 # Do this before checking for the system-independent R6 libraries
11127 # (-lICE), since we may need -lsocket or whatever for X linking.
11129 if test "$ISC" = yes; then
11130 X_EXTRA_LIBS="$X_EXTRA_LIBS -lnsl_s -linet"
11132 # Martyn Johnson says this is needed for Ultrix, if the X
11133 # libraries were built with DECnet support. And Karl Berry says
11134 # the Alpha needs dnet_stub (dnet does not exist).
11135 ac_xsave_LIBS="$LIBS"; LIBS="$LIBS $X_LIBS -lX11"
11136 if test x$gcc_no_link = xyes; then
11137 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
11138 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
11139 { (exit 1); exit 1; }; }
11141 cat >conftest.$ac_ext <<_ACEOF
11144 cat confdefs.h >>conftest.$ac_ext
11145 cat >>conftest.$ac_ext <<_ACEOF
11146 /* end confdefs.h. */
11148 /* Override any gcc2 internal prototype to avoid an error. */
11152 /* We use char because int might match the return type of a gcc2
11153 builtin and then its argument prototype would still apply. */
11154 char XOpenDisplay ();
11163 rm -f conftest.$ac_objext conftest$ac_exeext
11164 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
11165 (eval $ac_link) 2>conftest.er1
11167 grep -v '^ *+' conftest.er1 >conftest.err
11169 cat conftest.err >&5
11170 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11171 (exit $ac_status); } &&
11172 { ac_try='test -z "$ac_c_werror_flag"
11173 || test ! -s conftest.err'
11174 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11175 (eval $ac_try) 2>&5
11177 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11178 (exit $ac_status); }; } &&
11179 { ac_try='test -s conftest$ac_exeext'
11180 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11181 (eval $ac_try) 2>&5
11183 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11184 (exit $ac_status); }; }; then
11187 echo "$as_me: failed program was:" >&5
11188 sed 's/^/| /' conftest.$ac_ext >&5
11190 echo "$as_me:$LINENO: checking for dnet_ntoa in -ldnet" >&5
11191 echo $ECHO_N "checking for dnet_ntoa in -ldnet... $ECHO_C" >&6
11192 if test "${ac_cv_lib_dnet_dnet_ntoa+set}" = set; then
11193 echo $ECHO_N "(cached) $ECHO_C" >&6
11195 ac_check_lib_save_LIBS=$LIBS
11196 LIBS="-ldnet $LIBS"
11197 if test x$gcc_no_link = xyes; then
11198 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
11199 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
11200 { (exit 1); exit 1; }; }
11202 cat >conftest.$ac_ext <<_ACEOF
11205 cat confdefs.h >>conftest.$ac_ext
11206 cat >>conftest.$ac_ext <<_ACEOF
11207 /* end confdefs.h. */
11209 /* Override any gcc2 internal prototype to avoid an error. */
11213 /* We use char because int might match the return type of a gcc2
11214 builtin and then its argument prototype would still apply. */
11224 rm -f conftest.$ac_objext conftest$ac_exeext
11225 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
11226 (eval $ac_link) 2>conftest.er1
11228 grep -v '^ *+' conftest.er1 >conftest.err
11230 cat conftest.err >&5
11231 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11232 (exit $ac_status); } &&
11233 { ac_try='test -z "$ac_c_werror_flag"
11234 || test ! -s conftest.err'
11235 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11236 (eval $ac_try) 2>&5
11238 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11239 (exit $ac_status); }; } &&
11240 { ac_try='test -s conftest$ac_exeext'
11241 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11242 (eval $ac_try) 2>&5
11244 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11245 (exit $ac_status); }; }; then
11246 ac_cv_lib_dnet_dnet_ntoa=yes
11248 echo "$as_me: failed program was:" >&5
11249 sed 's/^/| /' conftest.$ac_ext >&5
11251 ac_cv_lib_dnet_dnet_ntoa=no
11253 rm -f conftest.err conftest.$ac_objext \
11254 conftest$ac_exeext conftest.$ac_ext
11255 LIBS=$ac_check_lib_save_LIBS
11257 echo "$as_me:$LINENO: result: $ac_cv_lib_dnet_dnet_ntoa" >&5
11258 echo "${ECHO_T}$ac_cv_lib_dnet_dnet_ntoa" >&6
11259 if test $ac_cv_lib_dnet_dnet_ntoa = yes; then
11260 X_EXTRA_LIBS="$X_EXTRA_LIBS -ldnet"
11263 if test $ac_cv_lib_dnet_dnet_ntoa = no; then
11264 echo "$as_me:$LINENO: checking for dnet_ntoa in -ldnet_stub" >&5
11265 echo $ECHO_N "checking for dnet_ntoa in -ldnet_stub... $ECHO_C" >&6
11266 if test "${ac_cv_lib_dnet_stub_dnet_ntoa+set}" = set; then
11267 echo $ECHO_N "(cached) $ECHO_C" >&6
11269 ac_check_lib_save_LIBS=$LIBS
11270 LIBS="-ldnet_stub $LIBS"
11271 if test x$gcc_no_link = xyes; then
11272 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
11273 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
11274 { (exit 1); exit 1; }; }
11276 cat >conftest.$ac_ext <<_ACEOF
11279 cat confdefs.h >>conftest.$ac_ext
11280 cat >>conftest.$ac_ext <<_ACEOF
11281 /* end confdefs.h. */
11283 /* Override any gcc2 internal prototype to avoid an error. */
11287 /* We use char because int might match the return type of a gcc2
11288 builtin and then its argument prototype would still apply. */
11298 rm -f conftest.$ac_objext conftest$ac_exeext
11299 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
11300 (eval $ac_link) 2>conftest.er1
11302 grep -v '^ *+' conftest.er1 >conftest.err
11304 cat conftest.err >&5
11305 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11306 (exit $ac_status); } &&
11307 { ac_try='test -z "$ac_c_werror_flag"
11308 || test ! -s conftest.err'
11309 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11310 (eval $ac_try) 2>&5
11312 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11313 (exit $ac_status); }; } &&
11314 { ac_try='test -s conftest$ac_exeext'
11315 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11316 (eval $ac_try) 2>&5
11318 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11319 (exit $ac_status); }; }; then
11320 ac_cv_lib_dnet_stub_dnet_ntoa=yes
11322 echo "$as_me: failed program was:" >&5
11323 sed 's/^/| /' conftest.$ac_ext >&5
11325 ac_cv_lib_dnet_stub_dnet_ntoa=no
11327 rm -f conftest.err conftest.$ac_objext \
11328 conftest$ac_exeext conftest.$ac_ext
11329 LIBS=$ac_check_lib_save_LIBS
11331 echo "$as_me:$LINENO: result: $ac_cv_lib_dnet_stub_dnet_ntoa" >&5
11332 echo "${ECHO_T}$ac_cv_lib_dnet_stub_dnet_ntoa" >&6
11333 if test $ac_cv_lib_dnet_stub_dnet_ntoa = yes; then
11334 X_EXTRA_LIBS="$X_EXTRA_LIBS -ldnet_stub"
11339 rm -f conftest.err conftest.$ac_objext \
11340 conftest$ac_exeext conftest.$ac_ext
11341 LIBS="$ac_xsave_LIBS"
11343 # msh@cis.ufl.edu says -lnsl (and -lsocket) are needed for his 386/AT,
11344 # to get the SysV transport functions.
11345 # Chad R. Larson says the Pyramis MIS-ES running DC/OSx (SVR4)
11347 # The nsl library prevents programs from opening the X display
11348 # on Irix 5.2, according to T.E. Dickey.
11349 # The functions gethostbyname, getservbyname, and inet_addr are
11350 # in -lbsd on LynxOS 3.0.1/i386, according to Lars Hecking.
11351 echo "$as_me:$LINENO: checking for gethostbyname" >&5
11352 echo $ECHO_N "checking for gethostbyname... $ECHO_C" >&6
11353 if test "${ac_cv_func_gethostbyname+set}" = set; then
11354 echo $ECHO_N "(cached) $ECHO_C" >&6
11356 if test x$gcc_no_link = xyes; then
11357 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
11358 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
11359 { (exit 1); exit 1; }; }
11361 cat >conftest.$ac_ext <<_ACEOF
11364 cat confdefs.h >>conftest.$ac_ext
11365 cat >>conftest.$ac_ext <<_ACEOF
11366 /* end confdefs.h. */
11367 /* Define gethostbyname to an innocuous variant, in case <limits.h> declares gethostbyname.
11368 For example, HP-UX 11i <limits.h> declares gettimeofday. */
11369 #define gethostbyname innocuous_gethostbyname
11371 /* System header to define __stub macros and hopefully few prototypes,
11372 which can conflict with char gethostbyname (); below.
11373 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
11374 <limits.h> exists even on freestanding compilers. */
11377 # include <limits.h>
11379 # include <assert.h>
11382 #undef gethostbyname
11384 /* Override any gcc2 internal prototype to avoid an error. */
11389 /* We use char because int might match the return type of a gcc2
11390 builtin and then its argument prototype would still apply. */
11391 char gethostbyname ();
11392 /* The GNU C library defines this for functions which it implements
11393 to always fail with ENOSYS. Some functions are actually named
11394 something starting with __ and the normal name is an alias. */
11395 #if defined (__stub_gethostbyname) || defined (__stub___gethostbyname)
11398 char (*f) () = gethostbyname;
11407 return f != gethostbyname;
11412 rm -f conftest.$ac_objext conftest$ac_exeext
11413 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
11414 (eval $ac_link) 2>conftest.er1
11416 grep -v '^ *+' conftest.er1 >conftest.err
11418 cat conftest.err >&5
11419 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11420 (exit $ac_status); } &&
11421 { ac_try='test -z "$ac_c_werror_flag"
11422 || test ! -s conftest.err'
11423 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11424 (eval $ac_try) 2>&5
11426 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11427 (exit $ac_status); }; } &&
11428 { ac_try='test -s conftest$ac_exeext'
11429 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11430 (eval $ac_try) 2>&5
11432 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11433 (exit $ac_status); }; }; then
11434 ac_cv_func_gethostbyname=yes
11436 echo "$as_me: failed program was:" >&5
11437 sed 's/^/| /' conftest.$ac_ext >&5
11439 ac_cv_func_gethostbyname=no
11441 rm -f conftest.err conftest.$ac_objext \
11442 conftest$ac_exeext conftest.$ac_ext
11444 echo "$as_me:$LINENO: result: $ac_cv_func_gethostbyname" >&5
11445 echo "${ECHO_T}$ac_cv_func_gethostbyname" >&6
11447 if test $ac_cv_func_gethostbyname = no; then
11448 echo "$as_me:$LINENO: checking for gethostbyname in -lnsl" >&5
11449 echo $ECHO_N "checking for gethostbyname in -lnsl... $ECHO_C" >&6
11450 if test "${ac_cv_lib_nsl_gethostbyname+set}" = set; then
11451 echo $ECHO_N "(cached) $ECHO_C" >&6
11453 ac_check_lib_save_LIBS=$LIBS
11455 if test x$gcc_no_link = xyes; then
11456 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
11457 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
11458 { (exit 1); exit 1; }; }
11460 cat >conftest.$ac_ext <<_ACEOF
11463 cat confdefs.h >>conftest.$ac_ext
11464 cat >>conftest.$ac_ext <<_ACEOF
11465 /* end confdefs.h. */
11467 /* Override any gcc2 internal prototype to avoid an error. */
11471 /* We use char because int might match the return type of a gcc2
11472 builtin and then its argument prototype would still apply. */
11473 char gethostbyname ();
11482 rm -f conftest.$ac_objext conftest$ac_exeext
11483 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
11484 (eval $ac_link) 2>conftest.er1
11486 grep -v '^ *+' conftest.er1 >conftest.err
11488 cat conftest.err >&5
11489 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11490 (exit $ac_status); } &&
11491 { ac_try='test -z "$ac_c_werror_flag"
11492 || test ! -s conftest.err'
11493 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11494 (eval $ac_try) 2>&5
11496 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11497 (exit $ac_status); }; } &&
11498 { ac_try='test -s conftest$ac_exeext'
11499 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11500 (eval $ac_try) 2>&5
11502 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11503 (exit $ac_status); }; }; then
11504 ac_cv_lib_nsl_gethostbyname=yes
11506 echo "$as_me: failed program was:" >&5
11507 sed 's/^/| /' conftest.$ac_ext >&5
11509 ac_cv_lib_nsl_gethostbyname=no
11511 rm -f conftest.err conftest.$ac_objext \
11512 conftest$ac_exeext conftest.$ac_ext
11513 LIBS=$ac_check_lib_save_LIBS
11515 echo "$as_me:$LINENO: result: $ac_cv_lib_nsl_gethostbyname" >&5
11516 echo "${ECHO_T}$ac_cv_lib_nsl_gethostbyname" >&6
11517 if test $ac_cv_lib_nsl_gethostbyname = yes; then
11518 X_EXTRA_LIBS="$X_EXTRA_LIBS -lnsl"
11521 if test $ac_cv_lib_nsl_gethostbyname = no; then
11522 echo "$as_me:$LINENO: checking for gethostbyname in -lbsd" >&5
11523 echo $ECHO_N "checking for gethostbyname in -lbsd... $ECHO_C" >&6
11524 if test "${ac_cv_lib_bsd_gethostbyname+set}" = set; then
11525 echo $ECHO_N "(cached) $ECHO_C" >&6
11527 ac_check_lib_save_LIBS=$LIBS
11529 if test x$gcc_no_link = xyes; then
11530 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
11531 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
11532 { (exit 1); exit 1; }; }
11534 cat >conftest.$ac_ext <<_ACEOF
11537 cat confdefs.h >>conftest.$ac_ext
11538 cat >>conftest.$ac_ext <<_ACEOF
11539 /* end confdefs.h. */
11541 /* Override any gcc2 internal prototype to avoid an error. */
11545 /* We use char because int might match the return type of a gcc2
11546 builtin and then its argument prototype would still apply. */
11547 char gethostbyname ();
11556 rm -f conftest.$ac_objext conftest$ac_exeext
11557 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
11558 (eval $ac_link) 2>conftest.er1
11560 grep -v '^ *+' conftest.er1 >conftest.err
11562 cat conftest.err >&5
11563 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11564 (exit $ac_status); } &&
11565 { ac_try='test -z "$ac_c_werror_flag"
11566 || test ! -s conftest.err'
11567 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11568 (eval $ac_try) 2>&5
11570 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11571 (exit $ac_status); }; } &&
11572 { ac_try='test -s conftest$ac_exeext'
11573 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11574 (eval $ac_try) 2>&5
11576 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11577 (exit $ac_status); }; }; then
11578 ac_cv_lib_bsd_gethostbyname=yes
11580 echo "$as_me: failed program was:" >&5
11581 sed 's/^/| /' conftest.$ac_ext >&5
11583 ac_cv_lib_bsd_gethostbyname=no
11585 rm -f conftest.err conftest.$ac_objext \
11586 conftest$ac_exeext conftest.$ac_ext
11587 LIBS=$ac_check_lib_save_LIBS
11589 echo "$as_me:$LINENO: result: $ac_cv_lib_bsd_gethostbyname" >&5
11590 echo "${ECHO_T}$ac_cv_lib_bsd_gethostbyname" >&6
11591 if test $ac_cv_lib_bsd_gethostbyname = yes; then
11592 X_EXTRA_LIBS="$X_EXTRA_LIBS -lbsd"
11598 # lieder@skyler.mavd.honeywell.com says without -lsocket,
11599 # socket/setsockopt and other routines are undefined under SCO ODT
11600 # 2.0. But -lsocket is broken on IRIX 5.2 (and is not necessary
11601 # on later versions), says Simon Leinen: it contains gethostby*
11602 # variants that don't use the name server (or something). -lsocket
11603 # must be given before -lnsl if both are needed. We assume that
11604 # if connect needs -lnsl, so does gethostbyname.
11605 echo "$as_me:$LINENO: checking for connect" >&5
11606 echo $ECHO_N "checking for connect... $ECHO_C" >&6
11607 if test "${ac_cv_func_connect+set}" = set; then
11608 echo $ECHO_N "(cached) $ECHO_C" >&6
11610 if test x$gcc_no_link = xyes; then
11611 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
11612 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
11613 { (exit 1); exit 1; }; }
11615 cat >conftest.$ac_ext <<_ACEOF
11618 cat confdefs.h >>conftest.$ac_ext
11619 cat >>conftest.$ac_ext <<_ACEOF
11620 /* end confdefs.h. */
11621 /* Define connect to an innocuous variant, in case <limits.h> declares connect.
11622 For example, HP-UX 11i <limits.h> declares gettimeofday. */
11623 #define connect innocuous_connect
11625 /* System header to define __stub macros and hopefully few prototypes,
11626 which can conflict with char connect (); below.
11627 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
11628 <limits.h> exists even on freestanding compilers. */
11631 # include <limits.h>
11633 # include <assert.h>
11638 /* Override any gcc2 internal prototype to avoid an error. */
11643 /* We use char because int might match the return type of a gcc2
11644 builtin and then its argument prototype would still apply. */
11646 /* The GNU C library defines this for functions which it implements
11647 to always fail with ENOSYS. Some functions are actually named
11648 something starting with __ and the normal name is an alias. */
11649 #if defined (__stub_connect) || defined (__stub___connect)
11652 char (*f) () = connect;
11661 return f != connect;
11666 rm -f conftest.$ac_objext conftest$ac_exeext
11667 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
11668 (eval $ac_link) 2>conftest.er1
11670 grep -v '^ *+' conftest.er1 >conftest.err
11672 cat conftest.err >&5
11673 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11674 (exit $ac_status); } &&
11675 { ac_try='test -z "$ac_c_werror_flag"
11676 || test ! -s conftest.err'
11677 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11678 (eval $ac_try) 2>&5
11680 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11681 (exit $ac_status); }; } &&
11682 { ac_try='test -s conftest$ac_exeext'
11683 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11684 (eval $ac_try) 2>&5
11686 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11687 (exit $ac_status); }; }; then
11688 ac_cv_func_connect=yes
11690 echo "$as_me: failed program was:" >&5
11691 sed 's/^/| /' conftest.$ac_ext >&5
11693 ac_cv_func_connect=no
11695 rm -f conftest.err conftest.$ac_objext \
11696 conftest$ac_exeext conftest.$ac_ext
11698 echo "$as_me:$LINENO: result: $ac_cv_func_connect" >&5
11699 echo "${ECHO_T}$ac_cv_func_connect" >&6
11701 if test $ac_cv_func_connect = no; then
11702 echo "$as_me:$LINENO: checking for connect in -lsocket" >&5
11703 echo $ECHO_N "checking for connect in -lsocket... $ECHO_C" >&6
11704 if test "${ac_cv_lib_socket_connect+set}" = set; then
11705 echo $ECHO_N "(cached) $ECHO_C" >&6
11707 ac_check_lib_save_LIBS=$LIBS
11708 LIBS="-lsocket $X_EXTRA_LIBS $LIBS"
11709 if test x$gcc_no_link = xyes; then
11710 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
11711 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
11712 { (exit 1); exit 1; }; }
11714 cat >conftest.$ac_ext <<_ACEOF
11717 cat confdefs.h >>conftest.$ac_ext
11718 cat >>conftest.$ac_ext <<_ACEOF
11719 /* end confdefs.h. */
11721 /* Override any gcc2 internal prototype to avoid an error. */
11725 /* We use char because int might match the return type of a gcc2
11726 builtin and then its argument prototype would still apply. */
11736 rm -f conftest.$ac_objext conftest$ac_exeext
11737 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
11738 (eval $ac_link) 2>conftest.er1
11740 grep -v '^ *+' conftest.er1 >conftest.err
11742 cat conftest.err >&5
11743 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11744 (exit $ac_status); } &&
11745 { ac_try='test -z "$ac_c_werror_flag"
11746 || test ! -s conftest.err'
11747 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11748 (eval $ac_try) 2>&5
11750 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11751 (exit $ac_status); }; } &&
11752 { ac_try='test -s conftest$ac_exeext'
11753 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11754 (eval $ac_try) 2>&5
11756 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11757 (exit $ac_status); }; }; then
11758 ac_cv_lib_socket_connect=yes
11760 echo "$as_me: failed program was:" >&5
11761 sed 's/^/| /' conftest.$ac_ext >&5
11763 ac_cv_lib_socket_connect=no
11765 rm -f conftest.err conftest.$ac_objext \
11766 conftest$ac_exeext conftest.$ac_ext
11767 LIBS=$ac_check_lib_save_LIBS
11769 echo "$as_me:$LINENO: result: $ac_cv_lib_socket_connect" >&5
11770 echo "${ECHO_T}$ac_cv_lib_socket_connect" >&6
11771 if test $ac_cv_lib_socket_connect = yes; then
11772 X_EXTRA_LIBS="-lsocket $X_EXTRA_LIBS"
11777 # Guillermo Gomez says -lposix is necessary on A/UX.
11778 echo "$as_me:$LINENO: checking for remove" >&5
11779 echo $ECHO_N "checking for remove... $ECHO_C" >&6
11780 if test "${ac_cv_func_remove+set}" = set; then
11781 echo $ECHO_N "(cached) $ECHO_C" >&6
11783 if test x$gcc_no_link = xyes; then
11784 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
11785 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
11786 { (exit 1); exit 1; }; }
11788 cat >conftest.$ac_ext <<_ACEOF
11791 cat confdefs.h >>conftest.$ac_ext
11792 cat >>conftest.$ac_ext <<_ACEOF
11793 /* end confdefs.h. */
11794 /* Define remove to an innocuous variant, in case <limits.h> declares remove.
11795 For example, HP-UX 11i <limits.h> declares gettimeofday. */
11796 #define remove innocuous_remove
11798 /* System header to define __stub macros and hopefully few prototypes,
11799 which can conflict with char remove (); below.
11800 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
11801 <limits.h> exists even on freestanding compilers. */
11804 # include <limits.h>
11806 # include <assert.h>
11811 /* Override any gcc2 internal prototype to avoid an error. */
11816 /* We use char because int might match the return type of a gcc2
11817 builtin and then its argument prototype would still apply. */
11819 /* The GNU C library defines this for functions which it implements
11820 to always fail with ENOSYS. Some functions are actually named
11821 something starting with __ and the normal name is an alias. */
11822 #if defined (__stub_remove) || defined (__stub___remove)
11825 char (*f) () = remove;
11834 return f != remove;
11839 rm -f conftest.$ac_objext conftest$ac_exeext
11840 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
11841 (eval $ac_link) 2>conftest.er1
11843 grep -v '^ *+' conftest.er1 >conftest.err
11845 cat conftest.err >&5
11846 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11847 (exit $ac_status); } &&
11848 { ac_try='test -z "$ac_c_werror_flag"
11849 || test ! -s conftest.err'
11850 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11851 (eval $ac_try) 2>&5
11853 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11854 (exit $ac_status); }; } &&
11855 { ac_try='test -s conftest$ac_exeext'
11856 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11857 (eval $ac_try) 2>&5
11859 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11860 (exit $ac_status); }; }; then
11861 ac_cv_func_remove=yes
11863 echo "$as_me: failed program was:" >&5
11864 sed 's/^/| /' conftest.$ac_ext >&5
11866 ac_cv_func_remove=no
11868 rm -f conftest.err conftest.$ac_objext \
11869 conftest$ac_exeext conftest.$ac_ext
11871 echo "$as_me:$LINENO: result: $ac_cv_func_remove" >&5
11872 echo "${ECHO_T}$ac_cv_func_remove" >&6
11874 if test $ac_cv_func_remove = no; then
11875 echo "$as_me:$LINENO: checking for remove in -lposix" >&5
11876 echo $ECHO_N "checking for remove in -lposix... $ECHO_C" >&6
11877 if test "${ac_cv_lib_posix_remove+set}" = set; then
11878 echo $ECHO_N "(cached) $ECHO_C" >&6
11880 ac_check_lib_save_LIBS=$LIBS
11881 LIBS="-lposix $LIBS"
11882 if test x$gcc_no_link = xyes; then
11883 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
11884 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
11885 { (exit 1); exit 1; }; }
11887 cat >conftest.$ac_ext <<_ACEOF
11890 cat confdefs.h >>conftest.$ac_ext
11891 cat >>conftest.$ac_ext <<_ACEOF
11892 /* end confdefs.h. */
11894 /* Override any gcc2 internal prototype to avoid an error. */
11898 /* We use char because int might match the return type of a gcc2
11899 builtin and then its argument prototype would still apply. */
11909 rm -f conftest.$ac_objext conftest$ac_exeext
11910 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
11911 (eval $ac_link) 2>conftest.er1
11913 grep -v '^ *+' conftest.er1 >conftest.err
11915 cat conftest.err >&5
11916 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11917 (exit $ac_status); } &&
11918 { ac_try='test -z "$ac_c_werror_flag"
11919 || test ! -s conftest.err'
11920 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11921 (eval $ac_try) 2>&5
11923 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11924 (exit $ac_status); }; } &&
11925 { ac_try='test -s conftest$ac_exeext'
11926 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11927 (eval $ac_try) 2>&5
11929 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11930 (exit $ac_status); }; }; then
11931 ac_cv_lib_posix_remove=yes
11933 echo "$as_me: failed program was:" >&5
11934 sed 's/^/| /' conftest.$ac_ext >&5
11936 ac_cv_lib_posix_remove=no
11938 rm -f conftest.err conftest.$ac_objext \
11939 conftest$ac_exeext conftest.$ac_ext
11940 LIBS=$ac_check_lib_save_LIBS
11942 echo "$as_me:$LINENO: result: $ac_cv_lib_posix_remove" >&5
11943 echo "${ECHO_T}$ac_cv_lib_posix_remove" >&6
11944 if test $ac_cv_lib_posix_remove = yes; then
11945 X_EXTRA_LIBS="$X_EXTRA_LIBS -lposix"
11950 # BSDI BSD/OS 2.1 needs -lipc for XOpenDisplay.
11951 echo "$as_me:$LINENO: checking for shmat" >&5
11952 echo $ECHO_N "checking for shmat... $ECHO_C" >&6
11953 if test "${ac_cv_func_shmat+set}" = set; then
11954 echo $ECHO_N "(cached) $ECHO_C" >&6
11956 if test x$gcc_no_link = xyes; then
11957 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
11958 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
11959 { (exit 1); exit 1; }; }
11961 cat >conftest.$ac_ext <<_ACEOF
11964 cat confdefs.h >>conftest.$ac_ext
11965 cat >>conftest.$ac_ext <<_ACEOF
11966 /* end confdefs.h. */
11967 /* Define shmat to an innocuous variant, in case <limits.h> declares shmat.
11968 For example, HP-UX 11i <limits.h> declares gettimeofday. */
11969 #define shmat innocuous_shmat
11971 /* System header to define __stub macros and hopefully few prototypes,
11972 which can conflict with char shmat (); below.
11973 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
11974 <limits.h> exists even on freestanding compilers. */
11977 # include <limits.h>
11979 # include <assert.h>
11984 /* Override any gcc2 internal prototype to avoid an error. */
11989 /* We use char because int might match the return type of a gcc2
11990 builtin and then its argument prototype would still apply. */
11992 /* The GNU C library defines this for functions which it implements
11993 to always fail with ENOSYS. Some functions are actually named
11994 something starting with __ and the normal name is an alias. */
11995 #if defined (__stub_shmat) || defined (__stub___shmat)
11998 char (*f) () = shmat;
12012 rm -f conftest.$ac_objext conftest$ac_exeext
12013 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12014 (eval $ac_link) 2>conftest.er1
12016 grep -v '^ *+' conftest.er1 >conftest.err
12018 cat conftest.err >&5
12019 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12020 (exit $ac_status); } &&
12021 { ac_try='test -z "$ac_c_werror_flag"
12022 || test ! -s conftest.err'
12023 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12024 (eval $ac_try) 2>&5
12026 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12027 (exit $ac_status); }; } &&
12028 { ac_try='test -s conftest$ac_exeext'
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); }; }; then
12034 ac_cv_func_shmat=yes
12036 echo "$as_me: failed program was:" >&5
12037 sed 's/^/| /' conftest.$ac_ext >&5
12039 ac_cv_func_shmat=no
12041 rm -f conftest.err conftest.$ac_objext \
12042 conftest$ac_exeext conftest.$ac_ext
12044 echo "$as_me:$LINENO: result: $ac_cv_func_shmat" >&5
12045 echo "${ECHO_T}$ac_cv_func_shmat" >&6
12047 if test $ac_cv_func_shmat = no; then
12048 echo "$as_me:$LINENO: checking for shmat in -lipc" >&5
12049 echo $ECHO_N "checking for shmat in -lipc... $ECHO_C" >&6
12050 if test "${ac_cv_lib_ipc_shmat+set}" = set; then
12051 echo $ECHO_N "(cached) $ECHO_C" >&6
12053 ac_check_lib_save_LIBS=$LIBS
12055 if test x$gcc_no_link = xyes; then
12056 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
12057 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
12058 { (exit 1); exit 1; }; }
12060 cat >conftest.$ac_ext <<_ACEOF
12063 cat confdefs.h >>conftest.$ac_ext
12064 cat >>conftest.$ac_ext <<_ACEOF
12065 /* end confdefs.h. */
12067 /* Override any gcc2 internal prototype to avoid an error. */
12071 /* We use char because int might match the return type of a gcc2
12072 builtin and then its argument prototype would still apply. */
12082 rm -f conftest.$ac_objext conftest$ac_exeext
12083 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12084 (eval $ac_link) 2>conftest.er1
12086 grep -v '^ *+' conftest.er1 >conftest.err
12088 cat conftest.err >&5
12089 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12090 (exit $ac_status); } &&
12091 { ac_try='test -z "$ac_c_werror_flag"
12092 || test ! -s conftest.err'
12093 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12094 (eval $ac_try) 2>&5
12096 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12097 (exit $ac_status); }; } &&
12098 { ac_try='test -s conftest$ac_exeext'
12099 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12100 (eval $ac_try) 2>&5
12102 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12103 (exit $ac_status); }; }; then
12104 ac_cv_lib_ipc_shmat=yes
12106 echo "$as_me: failed program was:" >&5
12107 sed 's/^/| /' conftest.$ac_ext >&5
12109 ac_cv_lib_ipc_shmat=no
12111 rm -f conftest.err conftest.$ac_objext \
12112 conftest$ac_exeext conftest.$ac_ext
12113 LIBS=$ac_check_lib_save_LIBS
12115 echo "$as_me:$LINENO: result: $ac_cv_lib_ipc_shmat" >&5
12116 echo "${ECHO_T}$ac_cv_lib_ipc_shmat" >&6
12117 if test $ac_cv_lib_ipc_shmat = yes; then
12118 X_EXTRA_LIBS="$X_EXTRA_LIBS -lipc"
12124 # Check for libraries that X11R6 Xt/Xaw programs need.
12125 ac_save_LDFLAGS=$LDFLAGS
12126 test -n "$x_libraries" && LDFLAGS="$LDFLAGS -L$x_libraries"
12127 # SM needs ICE to (dynamically) link under SunOS 4.x (so we have to
12128 # check for ICE first), but we must link in the order -lSM -lICE or
12129 # we get undefined symbols. So assume we have SM if we have ICE.
12130 # These have to be linked with before -lX11, unlike the other
12131 # libraries we check for below, so use a different variable.
12132 # John Interrante, Karl Berry
12133 echo "$as_me:$LINENO: checking for IceConnectionNumber in -lICE" >&5
12134 echo $ECHO_N "checking for IceConnectionNumber in -lICE... $ECHO_C" >&6
12135 if test "${ac_cv_lib_ICE_IceConnectionNumber+set}" = set; then
12136 echo $ECHO_N "(cached) $ECHO_C" >&6
12138 ac_check_lib_save_LIBS=$LIBS
12139 LIBS="-lICE $X_EXTRA_LIBS $LIBS"
12140 if test x$gcc_no_link = xyes; then
12141 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
12142 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
12143 { (exit 1); exit 1; }; }
12145 cat >conftest.$ac_ext <<_ACEOF
12148 cat confdefs.h >>conftest.$ac_ext
12149 cat >>conftest.$ac_ext <<_ACEOF
12150 /* end confdefs.h. */
12152 /* Override any gcc2 internal prototype to avoid an error. */
12156 /* We use char because int might match the return type of a gcc2
12157 builtin and then its argument prototype would still apply. */
12158 char IceConnectionNumber ();
12162 IceConnectionNumber ();
12167 rm -f conftest.$ac_objext conftest$ac_exeext
12168 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12169 (eval $ac_link) 2>conftest.er1
12171 grep -v '^ *+' conftest.er1 >conftest.err
12173 cat conftest.err >&5
12174 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12175 (exit $ac_status); } &&
12176 { ac_try='test -z "$ac_c_werror_flag"
12177 || test ! -s conftest.err'
12178 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12179 (eval $ac_try) 2>&5
12181 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12182 (exit $ac_status); }; } &&
12183 { ac_try='test -s conftest$ac_exeext'
12184 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12185 (eval $ac_try) 2>&5
12187 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12188 (exit $ac_status); }; }; then
12189 ac_cv_lib_ICE_IceConnectionNumber=yes
12191 echo "$as_me: failed program was:" >&5
12192 sed 's/^/| /' conftest.$ac_ext >&5
12194 ac_cv_lib_ICE_IceConnectionNumber=no
12196 rm -f conftest.err conftest.$ac_objext \
12197 conftest$ac_exeext conftest.$ac_ext
12198 LIBS=$ac_check_lib_save_LIBS
12200 echo "$as_me:$LINENO: result: $ac_cv_lib_ICE_IceConnectionNumber" >&5
12201 echo "${ECHO_T}$ac_cv_lib_ICE_IceConnectionNumber" >&6
12202 if test $ac_cv_lib_ICE_IceConnectionNumber = yes; then
12203 X_PRE_LIBS="$X_PRE_LIBS -lSM -lICE"
12206 LDFLAGS=$ac_save_LDFLAGS
12210 if test "$no_x" = yes; then
12211 { { echo "$as_me:$LINENO: error: GTK+ peers requested but no X library available" >&5
12212 echo "$as_me: error: GTK+ peers requested but no X library available" >&2;}
12213 { (exit 1); exit 1; }; }
12215 echo "$as_me:$LINENO: checking for XTestQueryExtension in -lXtst" >&5
12216 echo $ECHO_N "checking for XTestQueryExtension in -lXtst... $ECHO_C" >&6
12217 if test "${ac_cv_lib_Xtst_XTestQueryExtension+set}" = set; then
12218 echo $ECHO_N "(cached) $ECHO_C" >&6
12220 ac_check_lib_save_LIBS=$LIBS
12221 LIBS="-lXtst ${X_LIBS} $LIBS"
12222 if test x$gcc_no_link = xyes; then
12223 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
12224 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
12225 { (exit 1); exit 1; }; }
12227 cat >conftest.$ac_ext <<_ACEOF
12230 cat confdefs.h >>conftest.$ac_ext
12231 cat >>conftest.$ac_ext <<_ACEOF
12232 /* end confdefs.h. */
12234 /* Override any gcc2 internal prototype to avoid an error. */
12238 /* We use char because int might match the return type of a gcc2
12239 builtin and then its argument prototype would still apply. */
12240 char XTestQueryExtension ();
12244 XTestQueryExtension ();
12249 rm -f conftest.$ac_objext conftest$ac_exeext
12250 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12251 (eval $ac_link) 2>conftest.er1
12253 grep -v '^ *+' conftest.er1 >conftest.err
12255 cat conftest.err >&5
12256 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12257 (exit $ac_status); } &&
12258 { ac_try='test -z "$ac_c_werror_flag"
12259 || test ! -s conftest.err'
12260 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12261 (eval $ac_try) 2>&5
12263 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12264 (exit $ac_status); }; } &&
12265 { ac_try='test -s conftest$ac_exeext'
12266 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12267 (eval $ac_try) 2>&5
12269 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12270 (exit $ac_status); }; }; then
12271 ac_cv_lib_Xtst_XTestQueryExtension=yes
12273 echo "$as_me: failed program was:" >&5
12274 sed 's/^/| /' conftest.$ac_ext >&5
12276 ac_cv_lib_Xtst_XTestQueryExtension=no
12278 rm -f conftest.err conftest.$ac_objext \
12279 conftest$ac_exeext conftest.$ac_ext
12280 LIBS=$ac_check_lib_save_LIBS
12282 echo "$as_me:$LINENO: result: $ac_cv_lib_Xtst_XTestQueryExtension" >&5
12283 echo "${ECHO_T}$ac_cv_lib_Xtst_XTestQueryExtension" >&6
12284 if test $ac_cv_lib_Xtst_XTestQueryExtension = yes; then
12285 XTEST_LIBS="$XTEST_LIBS -lX11 -lXtst"
12287 { { echo "$as_me:$LINENO: error: libXtst NOT found, required for GdkRobot" >&5
12288 echo "$as_me: error: libXtst NOT found, required for GdkRobot" >&2;}
12289 { (exit 1); exit 1; }; }
12296 if test -z "$PKG_CONFIG"; then
12297 # Extract the first word of "pkg-config", so it can be a program name with args.
12298 set dummy pkg-config; ac_word=$2
12299 echo "$as_me:$LINENO: checking for $ac_word" >&5
12300 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
12301 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
12302 echo $ECHO_N "(cached) $ECHO_C" >&6
12304 case $PKG_CONFIG in
12306 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
12309 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12310 for as_dir in $PATH
12313 test -z "$as_dir" && as_dir=.
12314 for ac_exec_ext in '' $ac_executable_extensions; do
12315 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
12316 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
12317 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
12323 test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG="no"
12327 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
12329 if test -n "$PKG_CONFIG"; then
12330 echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
12331 echo "${ECHO_T}$PKG_CONFIG" >&6
12333 echo "$as_me:$LINENO: result: no" >&5
12334 echo "${ECHO_T}no" >&6
12339 if test "$PKG_CONFIG" = "no" ; then
12340 echo "*** The pkg-config script could not be found. Make sure it is"
12341 echo "*** in your path, or set the PKG_CONFIG environment variable"
12342 echo "*** to the full path to pkg-config."
12343 echo "*** Or see http://www.freedesktop.org/software/pkgconfig to get pkg-config."
12345 PKG_CONFIG_MIN_VERSION=0.9.0
12346 if $PKG_CONFIG --atleast-pkgconfig-version $PKG_CONFIG_MIN_VERSION; then
12347 echo "$as_me:$LINENO: checking for gtk+-2.0 >= 2.8 gthread-2.0 >= 2.2 gdk-pixbuf-2.0" >&5
12348 echo $ECHO_N "checking for gtk+-2.0 >= 2.8 gthread-2.0 >= 2.2 gdk-pixbuf-2.0... $ECHO_C" >&6
12350 if $PKG_CONFIG --exists "gtk+-2.0 >= 2.8 gthread-2.0 >= 2.2 gdk-pixbuf-2.0" ; then
12351 echo "$as_me:$LINENO: result: yes" >&5
12352 echo "${ECHO_T}yes" >&6
12355 echo "$as_me:$LINENO: checking GTK_CFLAGS" >&5
12356 echo $ECHO_N "checking GTK_CFLAGS... $ECHO_C" >&6
12357 GTK_CFLAGS=`$PKG_CONFIG --cflags "gtk+-2.0 >= 2.8 gthread-2.0 >= 2.2 gdk-pixbuf-2.0"`
12358 echo "$as_me:$LINENO: result: $GTK_CFLAGS" >&5
12359 echo "${ECHO_T}$GTK_CFLAGS" >&6
12361 echo "$as_me:$LINENO: checking GTK_LIBS" >&5
12362 echo $ECHO_N "checking GTK_LIBS... $ECHO_C" >&6
12363 GTK_LIBS=`$PKG_CONFIG --libs "gtk+-2.0 >= 2.8 gthread-2.0 >= 2.2 gdk-pixbuf-2.0"`
12364 echo "$as_me:$LINENO: result: $GTK_LIBS" >&5
12365 echo "${ECHO_T}$GTK_LIBS" >&6
12369 ## If we have a custom action on failure, don't print errors, but
12370 ## do set a variable so people can do so.
12371 GTK_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "gtk+-2.0 >= 2.8 gthread-2.0 >= 2.2 gdk-pixbuf-2.0"`
12372 echo $GTK_PKG_ERRORS
12378 echo "*** Your version of pkg-config is too old. You need version $PKG_CONFIG_MIN_VERSION or newer."
12379 echo "*** See http://www.freedesktop.org/software/pkgconfig"
12383 if test $succeeded = yes; then
12386 { { 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
12387 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;}
12388 { (exit 1); exit 1; }; }
12394 if test -z "$PKG_CONFIG"; then
12395 # Extract the first word of "pkg-config", so it can be a program name with args.
12396 set dummy pkg-config; ac_word=$2
12397 echo "$as_me:$LINENO: checking for $ac_word" >&5
12398 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
12399 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
12400 echo $ECHO_N "(cached) $ECHO_C" >&6
12402 case $PKG_CONFIG in
12404 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
12407 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12408 for as_dir in $PATH
12411 test -z "$as_dir" && as_dir=.
12412 for ac_exec_ext in '' $ac_executable_extensions; do
12413 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
12414 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
12415 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
12421 test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG="no"
12425 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
12427 if test -n "$PKG_CONFIG"; then
12428 echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
12429 echo "${ECHO_T}$PKG_CONFIG" >&6
12431 echo "$as_me:$LINENO: result: no" >&5
12432 echo "${ECHO_T}no" >&6
12437 if test "$PKG_CONFIG" = "no" ; then
12438 echo "*** The pkg-config script could not be found. Make sure it is"
12439 echo "*** in your path, or set the PKG_CONFIG environment variable"
12440 echo "*** to the full path to pkg-config."
12441 echo "*** Or see http://www.freedesktop.org/software/pkgconfig to get pkg-config."
12443 PKG_CONFIG_MIN_VERSION=0.9.0
12444 if $PKG_CONFIG --atleast-pkgconfig-version $PKG_CONFIG_MIN_VERSION; then
12445 echo "$as_me:$LINENO: checking for freetype2" >&5
12446 echo $ECHO_N "checking for freetype2... $ECHO_C" >&6
12448 if $PKG_CONFIG --exists "freetype2" ; then
12449 echo "$as_me:$LINENO: result: yes" >&5
12450 echo "${ECHO_T}yes" >&6
12453 echo "$as_me:$LINENO: checking FREETYPE2_CFLAGS" >&5
12454 echo $ECHO_N "checking FREETYPE2_CFLAGS... $ECHO_C" >&6
12455 FREETYPE2_CFLAGS=`$PKG_CONFIG --cflags "freetype2"`
12456 echo "$as_me:$LINENO: result: $FREETYPE2_CFLAGS" >&5
12457 echo "${ECHO_T}$FREETYPE2_CFLAGS" >&6
12459 echo "$as_me:$LINENO: checking FREETYPE2_LIBS" >&5
12460 echo $ECHO_N "checking FREETYPE2_LIBS... $ECHO_C" >&6
12461 FREETYPE2_LIBS=`$PKG_CONFIG --libs "freetype2"`
12462 echo "$as_me:$LINENO: result: $FREETYPE2_LIBS" >&5
12463 echo "${ECHO_T}$FREETYPE2_LIBS" >&6
12465 FREETYPE2_CFLAGS=""
12467 ## If we have a custom action on failure, don't print errors, but
12468 ## do set a variable so people can do so.
12469 FREETYPE2_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "freetype2"`
12470 echo $FREETYPE2_PKG_ERRORS
12476 echo "*** Your version of pkg-config is too old. You need version $PKG_CONFIG_MIN_VERSION or newer."
12477 echo "*** See http://www.freedesktop.org/software/pkgconfig"
12481 if test $succeeded = yes; then
12484 { { echo "$as_me:$LINENO: error: Library requirements (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
12485 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;}
12486 { (exit 1); exit 1; }; }
12492 if test -z "$PKG_CONFIG"; then
12493 # Extract the first word of "pkg-config", so it can be a program name with args.
12494 set dummy pkg-config; ac_word=$2
12495 echo "$as_me:$LINENO: checking for $ac_word" >&5
12496 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
12497 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
12498 echo $ECHO_N "(cached) $ECHO_C" >&6
12500 case $PKG_CONFIG in
12502 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
12505 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12506 for as_dir in $PATH
12509 test -z "$as_dir" && as_dir=.
12510 for ac_exec_ext in '' $ac_executable_extensions; do
12511 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
12512 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
12513 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
12519 test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG="no"
12523 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
12525 if test -n "$PKG_CONFIG"; then
12526 echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
12527 echo "${ECHO_T}$PKG_CONFIG" >&6
12529 echo "$as_me:$LINENO: result: no" >&5
12530 echo "${ECHO_T}no" >&6
12535 if test "$PKG_CONFIG" = "no" ; then
12536 echo "*** The pkg-config script could not be found. Make sure it is"
12537 echo "*** in your path, or set the PKG_CONFIG environment variable"
12538 echo "*** to the full path to pkg-config."
12539 echo "*** Or see http://www.freedesktop.org/software/pkgconfig to get pkg-config."
12541 PKG_CONFIG_MIN_VERSION=0.9.0
12542 if $PKG_CONFIG --atleast-pkgconfig-version $PKG_CONFIG_MIN_VERSION; then
12543 echo "$as_me:$LINENO: checking for pangoft2" >&5
12544 echo $ECHO_N "checking for pangoft2... $ECHO_C" >&6
12546 if $PKG_CONFIG --exists "pangoft2" ; then
12547 echo "$as_me:$LINENO: result: yes" >&5
12548 echo "${ECHO_T}yes" >&6
12551 echo "$as_me:$LINENO: checking PANGOFT2_CFLAGS" >&5
12552 echo $ECHO_N "checking PANGOFT2_CFLAGS... $ECHO_C" >&6
12553 PANGOFT2_CFLAGS=`$PKG_CONFIG --cflags "pangoft2"`
12554 echo "$as_me:$LINENO: result: $PANGOFT2_CFLAGS" >&5
12555 echo "${ECHO_T}$PANGOFT2_CFLAGS" >&6
12557 echo "$as_me:$LINENO: checking PANGOFT2_LIBS" >&5
12558 echo $ECHO_N "checking PANGOFT2_LIBS... $ECHO_C" >&6
12559 PANGOFT2_LIBS=`$PKG_CONFIG --libs "pangoft2"`
12560 echo "$as_me:$LINENO: result: $PANGOFT2_LIBS" >&5
12561 echo "${ECHO_T}$PANGOFT2_LIBS" >&6
12565 ## If we have a custom action on failure, don't print errors, but
12566 ## do set a variable so people can do so.
12567 PANGOFT2_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "pangoft2"`
12568 echo $PANGOFT2_PKG_ERRORS
12574 echo "*** Your version of pkg-config is too old. You need version $PKG_CONFIG_MIN_VERSION or newer."
12575 echo "*** See http://www.freedesktop.org/software/pkgconfig"
12579 if test $succeeded = yes; then
12582 { { 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
12583 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;}
12584 { (exit 1); exit 1; }; }
12587 echo "$as_me:$LINENO: checking for XRenderQueryExtension in -lXrender" >&5
12588 echo $ECHO_N "checking for XRenderQueryExtension in -lXrender... $ECHO_C" >&6
12589 if test "${ac_cv_lib_Xrender_XRenderQueryExtension+set}" = set; then
12590 echo $ECHO_N "(cached) $ECHO_C" >&6
12592 ac_check_lib_save_LIBS=$LIBS
12593 LIBS="-lXrender ${X_LIBS} $LIBS"
12594 if test x$gcc_no_link = xyes; then
12595 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
12596 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
12597 { (exit 1); exit 1; }; }
12599 cat >conftest.$ac_ext <<_ACEOF
12602 cat confdefs.h >>conftest.$ac_ext
12603 cat >>conftest.$ac_ext <<_ACEOF
12604 /* end confdefs.h. */
12606 /* Override any gcc2 internal prototype to avoid an error. */
12610 /* We use char because int might match the return type of a gcc2
12611 builtin and then its argument prototype would still apply. */
12612 char XRenderQueryExtension ();
12616 XRenderQueryExtension ();
12621 rm -f conftest.$ac_objext conftest$ac_exeext
12622 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12623 (eval $ac_link) 2>conftest.er1
12625 grep -v '^ *+' conftest.er1 >conftest.err
12627 cat conftest.err >&5
12628 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12629 (exit $ac_status); } &&
12630 { ac_try='test -z "$ac_c_werror_flag"
12631 || test ! -s conftest.err'
12632 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12633 (eval $ac_try) 2>&5
12635 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12636 (exit $ac_status); }; } &&
12637 { ac_try='test -s conftest$ac_exeext'
12638 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12639 (eval $ac_try) 2>&5
12641 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12642 (exit $ac_status); }; }; then
12643 ac_cv_lib_Xrender_XRenderQueryExtension=yes
12645 echo "$as_me: failed program was:" >&5
12646 sed 's/^/| /' conftest.$ac_ext >&5
12648 ac_cv_lib_Xrender_XRenderQueryExtension=no
12650 rm -f conftest.err conftest.$ac_objext \
12651 conftest$ac_exeext conftest.$ac_ext
12652 LIBS=$ac_check_lib_save_LIBS
12654 echo "$as_me:$LINENO: result: $ac_cv_lib_Xrender_XRenderQueryExtension" >&5
12655 echo "${ECHO_T}$ac_cv_lib_Xrender_XRenderQueryExtension" >&6
12656 if test $ac_cv_lib_Xrender_XRenderQueryExtension = yes; then
12658 cat >>confdefs.h <<\_ACEOF
12659 #define HAVE_XRENDER 1
12661 X_EXTRA_LIBS="$X_EXTRA_LIBS -lXrender"
12667 echo "$as_me:$LINENO: checking for XRRQueryExtension in -lXrandr" >&5
12668 echo $ECHO_N "checking for XRRQueryExtension in -lXrandr... $ECHO_C" >&6
12669 if test "${ac_cv_lib_Xrandr_XRRQueryExtension+set}" = set; then
12670 echo $ECHO_N "(cached) $ECHO_C" >&6
12672 ac_check_lib_save_LIBS=$LIBS
12673 LIBS="-lXrandr ${X_LIBS} $LIBS"
12674 if test x$gcc_no_link = xyes; then
12675 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
12676 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
12677 { (exit 1); exit 1; }; }
12679 cat >conftest.$ac_ext <<_ACEOF
12682 cat confdefs.h >>conftest.$ac_ext
12683 cat >>conftest.$ac_ext <<_ACEOF
12684 /* end confdefs.h. */
12686 /* Override any gcc2 internal prototype to avoid an error. */
12690 /* We use char because int might match the return type of a gcc2
12691 builtin and then its argument prototype would still apply. */
12692 char XRRQueryExtension ();
12696 XRRQueryExtension ();
12701 rm -f conftest.$ac_objext conftest$ac_exeext
12702 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12703 (eval $ac_link) 2>conftest.er1
12705 grep -v '^ *+' conftest.er1 >conftest.err
12707 cat conftest.err >&5
12708 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12709 (exit $ac_status); } &&
12710 { ac_try='test -z "$ac_c_werror_flag"
12711 || test ! -s conftest.err'
12712 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12713 (eval $ac_try) 2>&5
12715 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12716 (exit $ac_status); }; } &&
12717 { ac_try='test -s conftest$ac_exeext'
12718 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12719 (eval $ac_try) 2>&5
12721 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12722 (exit $ac_status); }; }; then
12723 ac_cv_lib_Xrandr_XRRQueryExtension=yes
12725 echo "$as_me: failed program was:" >&5
12726 sed 's/^/| /' conftest.$ac_ext >&5
12728 ac_cv_lib_Xrandr_XRRQueryExtension=no
12730 rm -f conftest.err conftest.$ac_objext \
12731 conftest$ac_exeext conftest.$ac_ext
12732 LIBS=$ac_check_lib_save_LIBS
12734 echo "$as_me:$LINENO: result: $ac_cv_lib_Xrandr_XRRQueryExtension" >&5
12735 echo "${ECHO_T}$ac_cv_lib_Xrandr_XRRQueryExtension" >&6
12736 if test $ac_cv_lib_Xrandr_XRRQueryExtension = yes; then
12738 cat >>confdefs.h <<\_ACEOF
12739 #define HAVE_XRANDR 1
12741 X_EXTRA_LIBS="$X_EXTRA_LIBS -lXrandr"
12756 if test "x${COMPILE_GCONF_PEER}" = xyes; then
12760 if test -z "$PKG_CONFIG"; then
12761 # Extract the first word of "pkg-config", so it can be a program name with args.
12762 set dummy pkg-config; ac_word=$2
12763 echo "$as_me:$LINENO: checking for $ac_word" >&5
12764 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
12765 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
12766 echo $ECHO_N "(cached) $ECHO_C" >&6
12768 case $PKG_CONFIG in
12770 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
12773 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12774 for as_dir in $PATH
12777 test -z "$as_dir" && as_dir=.
12778 for ac_exec_ext in '' $ac_executable_extensions; do
12779 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
12780 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
12781 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
12787 test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG="no"
12791 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
12793 if test -n "$PKG_CONFIG"; then
12794 echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
12795 echo "${ECHO_T}$PKG_CONFIG" >&6
12797 echo "$as_me:$LINENO: result: no" >&5
12798 echo "${ECHO_T}no" >&6
12803 if test "$PKG_CONFIG" = "no" ; then
12804 echo "*** The pkg-config script could not be found. Make sure it is"
12805 echo "*** in your path, or set the PKG_CONFIG environment variable"
12806 echo "*** to the full path to pkg-config."
12807 echo "*** Or see http://www.freedesktop.org/software/pkgconfig to get pkg-config."
12809 PKG_CONFIG_MIN_VERSION=0.9.0
12810 if $PKG_CONFIG --atleast-pkgconfig-version $PKG_CONFIG_MIN_VERSION; then
12811 echo "$as_me:$LINENO: checking for gconf-2.0 >= 2.11.2" >&5
12812 echo $ECHO_N "checking for gconf-2.0 >= 2.11.2... $ECHO_C" >&6
12814 if $PKG_CONFIG --exists "gconf-2.0 >= 2.11.2" ; then
12815 echo "$as_me:$LINENO: result: yes" >&5
12816 echo "${ECHO_T}yes" >&6
12819 echo "$as_me:$LINENO: checking GCONF_CFLAGS" >&5
12820 echo $ECHO_N "checking GCONF_CFLAGS... $ECHO_C" >&6
12821 GCONF_CFLAGS=`$PKG_CONFIG --cflags "gconf-2.0 >= 2.11.2"`
12822 echo "$as_me:$LINENO: result: $GCONF_CFLAGS" >&5
12823 echo "${ECHO_T}$GCONF_CFLAGS" >&6
12825 echo "$as_me:$LINENO: checking GCONF_LIBS" >&5
12826 echo $ECHO_N "checking GCONF_LIBS... $ECHO_C" >&6
12827 GCONF_LIBS=`$PKG_CONFIG --libs "gconf-2.0 >= 2.11.2"`
12828 echo "$as_me:$LINENO: result: $GCONF_LIBS" >&5
12829 echo "${ECHO_T}$GCONF_LIBS" >&6
12833 ## If we have a custom action on failure, don't print errors, but
12834 ## do set a variable so people can do so.
12835 GCONF_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "gconf-2.0 >= 2.11.2"`
12836 echo $GCONF_PKG_ERRORS
12842 echo "*** Your version of pkg-config is too old. You need version $PKG_CONFIG_MIN_VERSION or newer."
12843 echo "*** See http://www.freedesktop.org/software/pkgconfig"
12847 if test $succeeded = yes; then
12850 { { 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
12851 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;}
12852 { (exit 1); exit 1; }; }
12860 if test -z "$PKG_CONFIG"; then
12861 # Extract the first word of "pkg-config", so it can be a program name with args.
12862 set dummy pkg-config; ac_word=$2
12863 echo "$as_me:$LINENO: checking for $ac_word" >&5
12864 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
12865 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
12866 echo $ECHO_N "(cached) $ECHO_C" >&6
12868 case $PKG_CONFIG in
12870 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
12873 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12874 for as_dir in $PATH
12877 test -z "$as_dir" && as_dir=.
12878 for ac_exec_ext in '' $ac_executable_extensions; do
12879 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
12880 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
12881 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
12887 test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG="no"
12891 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
12893 if test -n "$PKG_CONFIG"; then
12894 echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
12895 echo "${ECHO_T}$PKG_CONFIG" >&6
12897 echo "$as_me:$LINENO: result: no" >&5
12898 echo "${ECHO_T}no" >&6
12903 if test "$PKG_CONFIG" = "no" ; then
12904 echo "*** The pkg-config script could not be found. Make sure it is"
12905 echo "*** in your path, or set the PKG_CONFIG environment variable"
12906 echo "*** to the full path to pkg-config."
12907 echo "*** Or see http://www.freedesktop.org/software/pkgconfig to get pkg-config."
12909 PKG_CONFIG_MIN_VERSION=0.9.0
12910 if $PKG_CONFIG --atleast-pkgconfig-version $PKG_CONFIG_MIN_VERSION; then
12911 echo "$as_me:$LINENO: checking for gdk-2.0 >= 2.8" >&5
12912 echo $ECHO_N "checking for gdk-2.0 >= 2.8... $ECHO_C" >&6
12914 if $PKG_CONFIG --exists "gdk-2.0 >= 2.8" ; then
12915 echo "$as_me:$LINENO: result: yes" >&5
12916 echo "${ECHO_T}yes" >&6
12919 echo "$as_me:$LINENO: checking GDK_CFLAGS" >&5
12920 echo $ECHO_N "checking GDK_CFLAGS... $ECHO_C" >&6
12921 GDK_CFLAGS=`$PKG_CONFIG --cflags "gdk-2.0 >= 2.8"`
12922 echo "$as_me:$LINENO: result: $GDK_CFLAGS" >&5
12923 echo "${ECHO_T}$GDK_CFLAGS" >&6
12925 echo "$as_me:$LINENO: checking GDK_LIBS" >&5
12926 echo $ECHO_N "checking GDK_LIBS... $ECHO_C" >&6
12927 GDK_LIBS=`$PKG_CONFIG --libs "gdk-2.0 >= 2.8"`
12928 echo "$as_me:$LINENO: result: $GDK_LIBS" >&5
12929 echo "${ECHO_T}$GDK_LIBS" >&6
12933 ## If we have a custom action on failure, don't print errors, but
12934 ## do set a variable so people can do so.
12935 GDK_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "gdk-2.0 >= 2.8"`
12936 echo $GDK_PKG_ERRORS
12942 echo "*** Your version of pkg-config is too old. You need version $PKG_CONFIG_MIN_VERSION or newer."
12943 echo "*** See http://www.freedesktop.org/software/pkgconfig"
12947 if test $succeeded = yes; then
12950 { { 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
12951 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;}
12952 { (exit 1); exit 1; }; }
12957 USE_GCONF_PREFS_PEER=$enable_default_preferences_peer
12958 if test "$USE_GCONF_PREFS_PEER" = ""; then
12959 DEFAULT_PREFS_PEER=gnu.java.util.prefs.GConfBasedFactory
12963 if test "x${COMPILE_QT_PEER}" = xyes; then
12967 if test -z "$PKG_CONFIG"; then
12968 # Extract the first word of "pkg-config", so it can be a program name with args.
12969 set dummy pkg-config; ac_word=$2
12970 echo "$as_me:$LINENO: checking for $ac_word" >&5
12971 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
12972 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
12973 echo $ECHO_N "(cached) $ECHO_C" >&6
12975 case $PKG_CONFIG in
12977 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
12980 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12981 for as_dir in $PATH
12984 test -z "$as_dir" && as_dir=.
12985 for ac_exec_ext in '' $ac_executable_extensions; do
12986 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
12987 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
12988 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
12994 test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG="no"
12998 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
13000 if test -n "$PKG_CONFIG"; then
13001 echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
13002 echo "${ECHO_T}$PKG_CONFIG" >&6
13004 echo "$as_me:$LINENO: result: no" >&5
13005 echo "${ECHO_T}no" >&6
13010 if test "$PKG_CONFIG" = "no" ; then
13011 echo "*** The pkg-config script could not be found. Make sure it is"
13012 echo "*** in your path, or set the PKG_CONFIG environment variable"
13013 echo "*** to the full path to pkg-config."
13014 echo "*** Or see http://www.freedesktop.org/software/pkgconfig to get pkg-config."
13016 PKG_CONFIG_MIN_VERSION=0.9.0
13017 if $PKG_CONFIG --atleast-pkgconfig-version $PKG_CONFIG_MIN_VERSION; then
13018 echo "$as_me:$LINENO: checking for QtCore QtGui >= 4.1.0" >&5
13019 echo $ECHO_N "checking for QtCore QtGui >= 4.1.0... $ECHO_C" >&6
13021 if $PKG_CONFIG --exists "QtCore QtGui >= 4.1.0" ; then
13022 echo "$as_me:$LINENO: result: yes" >&5
13023 echo "${ECHO_T}yes" >&6
13026 echo "$as_me:$LINENO: checking QT_CFLAGS" >&5
13027 echo $ECHO_N "checking QT_CFLAGS... $ECHO_C" >&6
13028 QT_CFLAGS=`$PKG_CONFIG --cflags "QtCore QtGui >= 4.1.0"`
13029 echo "$as_me:$LINENO: result: $QT_CFLAGS" >&5
13030 echo "${ECHO_T}$QT_CFLAGS" >&6
13032 echo "$as_me:$LINENO: checking QT_LIBS" >&5
13033 echo $ECHO_N "checking QT_LIBS... $ECHO_C" >&6
13034 QT_LIBS=`$PKG_CONFIG --libs "QtCore QtGui >= 4.1.0"`
13035 echo "$as_me:$LINENO: result: $QT_LIBS" >&5
13036 echo "${ECHO_T}$QT_LIBS" >&6
13040 ## If we have a custom action on failure, don't print errors, but
13041 ## do set a variable so people can do so.
13042 QT_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "QtCore QtGui >= 4.1.0"`
13049 echo "*** Your version of pkg-config is too old. You need version $PKG_CONFIG_MIN_VERSION or newer."
13050 echo "*** See http://www.freedesktop.org/software/pkgconfig"
13054 if test $succeeded = yes; then
13060 if test "x$HAVE_QT4" = "xyes"; then
13061 QT_INCLUDE_DIR=`$PKG_CONFIG --variable=includedir QtGui`
13062 EXTRA_QT_INCLUDE_DIR="$QT_INCLUDE_DIR/Qt"
13063 as_ac_File=`echo "ac_cv_file_$QT_INCLUDE_DIR/QWidget" | $as_tr_sh`
13064 echo "$as_me:$LINENO: checking for $QT_INCLUDE_DIR/QWidget" >&5
13065 echo $ECHO_N "checking for $QT_INCLUDE_DIR/QWidget... $ECHO_C" >&6
13066 if eval "test \"\${$as_ac_File+set}\" = set"; then
13067 echo $ECHO_N "(cached) $ECHO_C" >&6
13069 test "$cross_compiling" = yes &&
13070 { { echo "$as_me:$LINENO: error: cannot check for file existence when cross compiling" >&5
13071 echo "$as_me: error: cannot check for file existence when cross compiling" >&2;}
13072 { (exit 1); exit 1; }; }
13073 if test -r "$QT_INCLUDE_DIR/QWidget"; then
13074 eval "$as_ac_File=yes"
13076 eval "$as_ac_File=no"
13079 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_File'}'`" >&5
13080 echo "${ECHO_T}`eval echo '${'$as_ac_File'}'`" >&6
13081 if test `eval echo '${'$as_ac_File'}'` = yes; then
13082 { echo "$as_me:$LINENO: No extra QT_INCLUDE_DIR needed" >&5
13083 echo "$as_me: No extra QT_INCLUDE_DIR needed" >&6;}
13085 as_ac_File=`echo "ac_cv_file_$EXTRA_QT_INCLUDE_DIR/QWidget" | $as_tr_sh`
13086 echo "$as_me:$LINENO: checking for $EXTRA_QT_INCLUDE_DIR/QWidget" >&5
13087 echo $ECHO_N "checking for $EXTRA_QT_INCLUDE_DIR/QWidget... $ECHO_C" >&6
13088 if eval "test \"\${$as_ac_File+set}\" = set"; then
13089 echo $ECHO_N "(cached) $ECHO_C" >&6
13091 test "$cross_compiling" = yes &&
13092 { { echo "$as_me:$LINENO: error: cannot check for file existence when cross compiling" >&5
13093 echo "$as_me: error: cannot check for file existence when cross compiling" >&2;}
13094 { (exit 1); exit 1; }; }
13095 if test -r "$EXTRA_QT_INCLUDE_DIR/QWidget"; then
13096 eval "$as_ac_File=yes"
13098 eval "$as_ac_File=no"
13101 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_File'}'`" >&5
13102 echo "${ECHO_T}`eval echo '${'$as_ac_File'}'`" >&6
13103 if test `eval echo '${'$as_ac_File'}'` = yes; then
13104 QT_CFLAGS="$QT_CFLAGS -I$EXTRA_QT_INCLUDE_DIR"
13106 { echo "$as_me:$LINENO: WARNING: QWidget not found" >&5
13107 echo "$as_me: WARNING: QWidget not found" >&2;}
13112 # Extract the first word of "moc", so it can be a program name with args.
13113 set dummy moc; ac_word=$2
13114 echo "$as_me:$LINENO: checking for $ac_word" >&5
13115 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
13116 if test "${ac_cv_prog_MOC+set}" = set; then
13117 echo $ECHO_N "(cached) $ECHO_C" >&6
13119 if test -n "$MOC"; then
13120 ac_cv_prog_MOC="$MOC" # Let the user override the test.
13122 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13123 for as_dir in $PATH
13126 test -z "$as_dir" && as_dir=.
13127 for ac_exec_ext in '' $ac_executable_extensions; do
13128 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
13129 ac_cv_prog_MOC="moc"
13130 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
13138 MOC=$ac_cv_prog_MOC
13139 if test -n "$MOC"; then
13140 echo "$as_me:$LINENO: result: $MOC" >&5
13141 echo "${ECHO_T}$MOC" >&6
13143 echo "$as_me:$LINENO: result: no" >&5
13144 echo "${ECHO_T}no" >&6
13147 # Extract the first word of "moc-qt4", so it can be a program name with args.
13148 set dummy moc-qt4; ac_word=$2
13149 echo "$as_me:$LINENO: checking for $ac_word" >&5
13150 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
13151 if test "${ac_cv_prog_MOC+set}" = set; then
13152 echo $ECHO_N "(cached) $ECHO_C" >&6
13154 if test -n "$MOC"; then
13155 ac_cv_prog_MOC="$MOC" # Let the user override the test.
13157 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13158 for as_dir in $PATH
13161 test -z "$as_dir" && as_dir=.
13162 for ac_exec_ext in '' $ac_executable_extensions; do
13163 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
13164 ac_cv_prog_MOC="moc-qt4"
13165 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
13173 MOC=$ac_cv_prog_MOC
13174 if test -n "$MOC"; then
13175 echo "$as_me:$LINENO: result: $MOC" >&5
13176 echo "${ECHO_T}$MOC" >&6
13178 echo "$as_me:$LINENO: result: no" >&5
13179 echo "${ECHO_T}no" >&6
13183 if test "x$HAVE_QT4" = "xno"; then
13184 { echo "$as_me:$LINENO: Looking for QT_CFLAGS and QT_LIBS without pkg-config" >&5
13185 echo "$as_me: Looking for QT_CFLAGS and QT_LIBS without pkg-config" >&6;}
13189 # Check whether --with-qt4dir or --without-qt4dir was given.
13190 if test "${with_qt4dir+set}" = set; then
13191 withval="$with_qt4dir"
13195 if test x"$QT4DIR" = x ; then
13196 { { echo "$as_me:$LINENO: error: *** No path for Qt4 --with-qt4dir option given" >&5
13197 echo "$as_me: error: *** No path for Qt4 --with-qt4dir option given" >&2;}
13198 { (exit 1); exit 1; }; }
13200 echo "$as_me:$LINENO: result: QT4DIR... $QT4DIR" >&5
13201 echo "${ECHO_T}QT4DIR... $QT4DIR" >&6
13202 # Extract the first word of "moc", so it can be a program name with args.
13203 set dummy moc; ac_word=$2
13204 echo "$as_me:$LINENO: checking for $ac_word" >&5
13205 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
13206 if test "${ac_cv_prog_MOC+set}" = set; then
13207 echo $ECHO_N "(cached) $ECHO_C" >&6
13209 if test -n "$MOC"; then
13210 ac_cv_prog_MOC="$MOC" # Let the user override the test.
13212 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13213 for as_dir in $QT4DIR/bin
13216 test -z "$as_dir" && as_dir=.
13217 for ac_exec_ext in '' $ac_executable_extensions; do
13218 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
13219 ac_cv_prog_MOC="$QT4DIR/bin/moc"
13220 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
13228 MOC=$ac_cv_prog_MOC
13229 if test -n "$MOC"; then
13230 echo "$as_me:$LINENO: result: $MOC" >&5
13231 echo "${ECHO_T}$MOC" >&6
13233 echo "$as_me:$LINENO: result: no" >&5
13234 echo "${ECHO_T}no" >&6
13237 if test x"$MOC" = x; then
13238 { { echo "$as_me:$LINENO: error: *** This is not the right Qt installation" >&5
13239 echo "$as_me: error: *** This is not the right Qt installation" >&2;}
13240 { (exit 1); exit 1; }; }
13242 QT_CFLAGS="-F$QT4DIR/lib -I$QT4DIR/lib/QtCore.framework/Headers"
13243 QT_CFLAGS="$QT_CFLAGS -I$QT4DIR/lib/QtGui.framework/Headers"
13244 QT_LIBS="-Xlinker -F$QT4DIR/lib -Xlinker -framework -Xlinker QtCore"
13245 QT_LIBS="$QT_LIBS -Xlinker -framework -Xlinker QtGui"
13248 { { echo "$as_me:$LINENO: error: *** Please check PKG_CONFIG_PATH or the version
13249 of your installed Qt4 installation." >&5
13250 echo "$as_me: error: *** Please check PKG_CONFIG_PATH or the version
13251 of your installed Qt4 installation." >&2;}
13252 { (exit 1); exit 1; }; }
13256 { echo "$as_me:$LINENO: Set QT_CFLAGS... $QT_CFLAGS" >&5
13257 echo "$as_me: Set QT_CFLAGS... $QT_CFLAGS" >&6;}
13261 echo "$as_me:$LINENO: checking for MSG_NOSIGNAL" >&5
13262 echo $ECHO_N "checking for MSG_NOSIGNAL... $ECHO_C" >&6
13263 cat >conftest.$ac_ext <<_ACEOF
13266 cat confdefs.h >>conftest.$ac_ext
13267 cat >>conftest.$ac_ext <<_ACEOF
13268 /* end confdefs.h. */
13269 #include <sys/socket.h>
13273 int f = MSG_NOSIGNAL;
13278 rm -f conftest.$ac_objext
13279 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13280 (eval $ac_compile) 2>conftest.er1
13282 grep -v '^ *+' conftest.er1 >conftest.err
13284 cat conftest.err >&5
13285 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13286 (exit $ac_status); } &&
13287 { ac_try='test -z "$ac_c_werror_flag"
13288 || test ! -s conftest.err'
13289 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13290 (eval $ac_try) 2>&5
13292 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13293 (exit $ac_status); }; } &&
13294 { ac_try='test -s conftest.$ac_objext'
13295 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13296 (eval $ac_try) 2>&5
13298 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13299 (exit $ac_status); }; }; then
13300 echo "$as_me:$LINENO: result: yes" >&5
13301 echo "${ECHO_T}yes" >&6
13303 cat >>confdefs.h <<\_ACEOF
13304 #define HAVE_MSG_NOSIGNAL 1
13308 echo "$as_me: failed program was:" >&5
13309 sed 's/^/| /' conftest.$ac_ext >&5
13311 echo "$as_me:$LINENO: result: no" >&5
13312 echo "${ECHO_T}no" >&6
13315 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
13316 echo "$as_me:$LINENO: checking for SO_NOSIGPIPE " >&5
13317 echo $ECHO_N "checking for SO_NOSIGPIPE ... $ECHO_C" >&6
13318 cat >conftest.$ac_ext <<_ACEOF
13321 cat confdefs.h >>conftest.$ac_ext
13322 cat >>conftest.$ac_ext <<_ACEOF
13323 /* end confdefs.h. */
13324 #include <sys/socket.h>
13328 int f = SO_NOSIGPIPE;
13333 rm -f conftest.$ac_objext
13334 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13335 (eval $ac_compile) 2>conftest.er1
13337 grep -v '^ *+' conftest.er1 >conftest.err
13339 cat conftest.err >&5
13340 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13341 (exit $ac_status); } &&
13342 { ac_try='test -z "$ac_c_werror_flag"
13343 || test ! -s conftest.err'
13344 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13345 (eval $ac_try) 2>&5
13347 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13348 (exit $ac_status); }; } &&
13349 { ac_try='test -s conftest.$ac_objext'
13350 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13351 (eval $ac_try) 2>&5
13353 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13354 (exit $ac_status); }; }; then
13355 echo "$as_me:$LINENO: result: yes" >&5
13356 echo "${ECHO_T}yes" >&6
13358 cat >>confdefs.h <<\_ACEOF
13359 #define HAVE_SO_NOSIGPIPE 1
13363 echo "$as_me: failed program was:" >&5
13364 sed 's/^/| /' conftest.$ac_ext >&5
13366 echo "$as_me:$LINENO: result: no" >&5
13367 echo "${ECHO_T}no" >&6
13370 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
13372 if test "x${COMPILE_PLUGIN}" = xyes; then
13376 if test -z "$PKG_CONFIG"; then
13377 # Extract the first word of "pkg-config", so it can be a program name with args.
13378 set dummy pkg-config; ac_word=$2
13379 echo "$as_me:$LINENO: checking for $ac_word" >&5
13380 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
13381 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
13382 echo $ECHO_N "(cached) $ECHO_C" >&6
13384 case $PKG_CONFIG in
13386 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
13389 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13390 for as_dir in $PATH
13393 test -z "$as_dir" && as_dir=.
13394 for ac_exec_ext in '' $ac_executable_extensions; do
13395 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
13396 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
13397 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
13403 test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG="no"
13407 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
13409 if test -n "$PKG_CONFIG"; then
13410 echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
13411 echo "${ECHO_T}$PKG_CONFIG" >&6
13413 echo "$as_me:$LINENO: result: no" >&5
13414 echo "${ECHO_T}no" >&6
13419 if test "$PKG_CONFIG" = "no" ; then
13420 echo "*** The pkg-config script could not be found. Make sure it is"
13421 echo "*** in your path, or set the PKG_CONFIG environment variable"
13422 echo "*** to the full path to pkg-config."
13423 echo "*** Or see http://www.freedesktop.org/software/pkgconfig to get pkg-config."
13425 PKG_CONFIG_MIN_VERSION=0.9.0
13426 if $PKG_CONFIG --atleast-pkgconfig-version $PKG_CONFIG_MIN_VERSION; then
13427 echo "$as_me:$LINENO: checking for mozilla-plugin" >&5
13428 echo $ECHO_N "checking for mozilla-plugin... $ECHO_C" >&6
13430 if $PKG_CONFIG --exists "mozilla-plugin" ; then
13431 echo "$as_me:$LINENO: result: yes" >&5
13432 echo "${ECHO_T}yes" >&6
13435 echo "$as_me:$LINENO: checking MOZILLA_CFLAGS" >&5
13436 echo $ECHO_N "checking MOZILLA_CFLAGS... $ECHO_C" >&6
13437 MOZILLA_CFLAGS=`$PKG_CONFIG --cflags "mozilla-plugin"`
13438 echo "$as_me:$LINENO: result: $MOZILLA_CFLAGS" >&5
13439 echo "${ECHO_T}$MOZILLA_CFLAGS" >&6
13441 echo "$as_me:$LINENO: checking MOZILLA_LIBS" >&5
13442 echo $ECHO_N "checking MOZILLA_LIBS... $ECHO_C" >&6
13443 MOZILLA_LIBS=`$PKG_CONFIG --libs "mozilla-plugin"`
13444 echo "$as_me:$LINENO: result: $MOZILLA_LIBS" >&5
13445 echo "${ECHO_T}$MOZILLA_LIBS" >&6
13449 ## If we have a custom action on failure, don't print errors, but
13450 ## do set a variable so people can do so.
13451 MOZILLA_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "mozilla-plugin"`
13458 echo "*** Your version of pkg-config is too old. You need version $PKG_CONFIG_MIN_VERSION or newer."
13459 echo "*** See http://www.freedesktop.org/software/pkgconfig"
13463 if test $succeeded = yes; then
13469 if test "x${MOZILLA_FOUND}" = xno; then
13473 if test -z "$PKG_CONFIG"; then
13474 # Extract the first word of "pkg-config", so it can be a program name with args.
13475 set dummy pkg-config; ac_word=$2
13476 echo "$as_me:$LINENO: checking for $ac_word" >&5
13477 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
13478 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
13479 echo $ECHO_N "(cached) $ECHO_C" >&6
13481 case $PKG_CONFIG in
13483 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
13486 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13487 for as_dir in $PATH
13490 test -z "$as_dir" && as_dir=.
13491 for ac_exec_ext in '' $ac_executable_extensions; do
13492 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
13493 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
13494 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
13500 test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG="no"
13504 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
13506 if test -n "$PKG_CONFIG"; then
13507 echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
13508 echo "${ECHO_T}$PKG_CONFIG" >&6
13510 echo "$as_me:$LINENO: result: no" >&5
13511 echo "${ECHO_T}no" >&6
13516 if test "$PKG_CONFIG" = "no" ; then
13517 echo "*** The pkg-config script could not be found. Make sure it is"
13518 echo "*** in your path, or set the PKG_CONFIG environment variable"
13519 echo "*** to the full path to pkg-config."
13520 echo "*** Or see http://www.freedesktop.org/software/pkgconfig to get pkg-config."
13522 PKG_CONFIG_MIN_VERSION=0.9.0
13523 if $PKG_CONFIG --atleast-pkgconfig-version $PKG_CONFIG_MIN_VERSION; then
13524 echo "$as_me:$LINENO: checking for firefox-plugin firefox-xpcom" >&5
13525 echo $ECHO_N "checking for firefox-plugin firefox-xpcom... $ECHO_C" >&6
13527 if $PKG_CONFIG --exists "firefox-plugin firefox-xpcom" ; then
13528 echo "$as_me:$LINENO: result: yes" >&5
13529 echo "${ECHO_T}yes" >&6
13532 echo "$as_me:$LINENO: checking MOZILLA_CFLAGS" >&5
13533 echo $ECHO_N "checking MOZILLA_CFLAGS... $ECHO_C" >&6
13534 MOZILLA_CFLAGS=`$PKG_CONFIG --cflags "firefox-plugin firefox-xpcom"`
13535 echo "$as_me:$LINENO: result: $MOZILLA_CFLAGS" >&5
13536 echo "${ECHO_T}$MOZILLA_CFLAGS" >&6
13538 echo "$as_me:$LINENO: checking MOZILLA_LIBS" >&5
13539 echo $ECHO_N "checking MOZILLA_LIBS... $ECHO_C" >&6
13540 MOZILLA_LIBS=`$PKG_CONFIG --libs "firefox-plugin firefox-xpcom"`
13541 echo "$as_me:$LINENO: result: $MOZILLA_LIBS" >&5
13542 echo "${ECHO_T}$MOZILLA_LIBS" >&6
13546 ## If we have a custom action on failure, don't print errors, but
13547 ## do set a variable so people can do so.
13548 MOZILLA_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "firefox-plugin firefox-xpcom"`
13555 echo "*** Your version of pkg-config is too old. You need version $PKG_CONFIG_MIN_VERSION or newer."
13556 echo "*** See http://www.freedesktop.org/software/pkgconfig"
13560 if test $succeeded = yes; then
13567 if test "x${MOZILLA_FOUND}" = xno; then
13571 if test -z "$PKG_CONFIG"; then
13572 # Extract the first word of "pkg-config", so it can be a program name with args.
13573 set dummy pkg-config; ac_word=$2
13574 echo "$as_me:$LINENO: checking for $ac_word" >&5
13575 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
13576 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
13577 echo $ECHO_N "(cached) $ECHO_C" >&6
13579 case $PKG_CONFIG in
13581 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
13584 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13585 for as_dir in $PATH
13588 test -z "$as_dir" && as_dir=.
13589 for ac_exec_ext in '' $ac_executable_extensions; do
13590 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
13591 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
13592 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
13598 test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG="no"
13602 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
13604 if test -n "$PKG_CONFIG"; then
13605 echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
13606 echo "${ECHO_T}$PKG_CONFIG" >&6
13608 echo "$as_me:$LINENO: result: no" >&5
13609 echo "${ECHO_T}no" >&6
13614 if test "$PKG_CONFIG" = "no" ; then
13615 echo "*** The pkg-config script could not be found. Make sure it is"
13616 echo "*** in your path, or set the PKG_CONFIG environment variable"
13617 echo "*** to the full path to pkg-config."
13618 echo "*** Or see http://www.freedesktop.org/software/pkgconfig to get pkg-config."
13620 PKG_CONFIG_MIN_VERSION=0.9.0
13621 if $PKG_CONFIG --atleast-pkgconfig-version $PKG_CONFIG_MIN_VERSION; then
13622 echo "$as_me:$LINENO: checking for xulrunner-plugin xulrunner-xpcom" >&5
13623 echo $ECHO_N "checking for xulrunner-plugin xulrunner-xpcom... $ECHO_C" >&6
13625 if $PKG_CONFIG --exists "xulrunner-plugin xulrunner-xpcom" ; then
13626 echo "$as_me:$LINENO: result: yes" >&5
13627 echo "${ECHO_T}yes" >&6
13630 echo "$as_me:$LINENO: checking MOZILLA_CFLAGS" >&5
13631 echo $ECHO_N "checking MOZILLA_CFLAGS... $ECHO_C" >&6
13632 MOZILLA_CFLAGS=`$PKG_CONFIG --cflags "xulrunner-plugin xulrunner-xpcom"`
13633 echo "$as_me:$LINENO: result: $MOZILLA_CFLAGS" >&5
13634 echo "${ECHO_T}$MOZILLA_CFLAGS" >&6
13636 echo "$as_me:$LINENO: checking MOZILLA_LIBS" >&5
13637 echo $ECHO_N "checking MOZILLA_LIBS... $ECHO_C" >&6
13638 MOZILLA_LIBS=`$PKG_CONFIG --libs "xulrunner-plugin xulrunner-xpcom"`
13639 echo "$as_me:$LINENO: result: $MOZILLA_LIBS" >&5
13640 echo "${ECHO_T}$MOZILLA_LIBS" >&6
13644 ## If we have a custom action on failure, don't print errors, but
13645 ## do set a variable so people can do so.
13646 MOZILLA_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "xulrunner-plugin xulrunner-xpcom"`
13653 echo "*** Your version of pkg-config is too old. You need version $PKG_CONFIG_MIN_VERSION or newer."
13654 echo "*** See http://www.freedesktop.org/software/pkgconfig"
13658 if test $succeeded = yes; then
13665 if test "x${MOZILLA_FOUND}" = xno; then
13669 if test -z "$PKG_CONFIG"; then
13670 # Extract the first word of "pkg-config", so it can be a program name with args.
13671 set dummy pkg-config; ac_word=$2
13672 echo "$as_me:$LINENO: checking for $ac_word" >&5
13673 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
13674 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
13675 echo $ECHO_N "(cached) $ECHO_C" >&6
13677 case $PKG_CONFIG in
13679 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
13682 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13683 for as_dir in $PATH
13686 test -z "$as_dir" && as_dir=.
13687 for ac_exec_ext in '' $ac_executable_extensions; do
13688 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
13689 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
13690 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
13696 test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG="no"
13700 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
13702 if test -n "$PKG_CONFIG"; then
13703 echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
13704 echo "${ECHO_T}$PKG_CONFIG" >&6
13706 echo "$as_me:$LINENO: result: no" >&5
13707 echo "${ECHO_T}no" >&6
13712 if test "$PKG_CONFIG" = "no" ; then
13713 echo "*** The pkg-config script could not be found. Make sure it is"
13714 echo "*** in your path, or set the PKG_CONFIG environment variable"
13715 echo "*** to the full path to pkg-config."
13716 echo "*** Or see http://www.freedesktop.org/software/pkgconfig to get pkg-config."
13718 PKG_CONFIG_MIN_VERSION=0.9.0
13719 if $PKG_CONFIG --atleast-pkgconfig-version $PKG_CONFIG_MIN_VERSION; then
13720 echo "$as_me:$LINENO: checking for mozilla-firefox-plugin mozilla-firefox-xpcom" >&5
13721 echo $ECHO_N "checking for mozilla-firefox-plugin mozilla-firefox-xpcom... $ECHO_C" >&6
13723 if $PKG_CONFIG --exists "mozilla-firefox-plugin mozilla-firefox-xpcom" ; then
13724 echo "$as_me:$LINENO: result: yes" >&5
13725 echo "${ECHO_T}yes" >&6
13728 echo "$as_me:$LINENO: checking MOZILLA_CFLAGS" >&5
13729 echo $ECHO_N "checking MOZILLA_CFLAGS... $ECHO_C" >&6
13730 MOZILLA_CFLAGS=`$PKG_CONFIG --cflags "mozilla-firefox-plugin mozilla-firefox-xpcom"`
13731 echo "$as_me:$LINENO: result: $MOZILLA_CFLAGS" >&5
13732 echo "${ECHO_T}$MOZILLA_CFLAGS" >&6
13734 echo "$as_me:$LINENO: checking MOZILLA_LIBS" >&5
13735 echo $ECHO_N "checking MOZILLA_LIBS... $ECHO_C" >&6
13736 MOZILLA_LIBS=`$PKG_CONFIG --libs "mozilla-firefox-plugin mozilla-firefox-xpcom"`
13737 echo "$as_me:$LINENO: result: $MOZILLA_LIBS" >&5
13738 echo "${ECHO_T}$MOZILLA_LIBS" >&6
13742 ## If we have a custom action on failure, don't print errors, but
13743 ## do set a variable so people can do so.
13744 MOZILLA_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "mozilla-firefox-plugin mozilla-firefox-xpcom"`
13751 echo "*** Your version of pkg-config is too old. You need version $PKG_CONFIG_MIN_VERSION or newer."
13752 echo "*** See http://www.freedesktop.org/software/pkgconfig"
13756 if test $succeeded = yes; then
13763 if test "x${MOZILLA_FOUND}" = xno; then
13767 if test -z "$PKG_CONFIG"; then
13768 # Extract the first word of "pkg-config", so it can be a program name with args.
13769 set dummy pkg-config; ac_word=$2
13770 echo "$as_me:$LINENO: checking for $ac_word" >&5
13771 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
13772 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
13773 echo $ECHO_N "(cached) $ECHO_C" >&6
13775 case $PKG_CONFIG in
13777 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
13780 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13781 for as_dir in $PATH
13784 test -z "$as_dir" && as_dir=.
13785 for ac_exec_ext in '' $ac_executable_extensions; do
13786 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
13787 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
13788 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
13794 test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG="no"
13798 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
13800 if test -n "$PKG_CONFIG"; then
13801 echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
13802 echo "${ECHO_T}$PKG_CONFIG" >&6
13804 echo "$as_me:$LINENO: result: no" >&5
13805 echo "${ECHO_T}no" >&6
13810 if test "$PKG_CONFIG" = "no" ; then
13811 echo "*** The pkg-config script could not be found. Make sure it is"
13812 echo "*** in your path, or set the PKG_CONFIG environment variable"
13813 echo "*** to the full path to pkg-config."
13814 echo "*** Or see http://www.freedesktop.org/software/pkgconfig to get pkg-config."
13816 PKG_CONFIG_MIN_VERSION=0.9.0
13817 if $PKG_CONFIG --atleast-pkgconfig-version $PKG_CONFIG_MIN_VERSION; then
13818 echo "$as_me:$LINENO: checking for seamonkey-plugin seamonkey-xpcom" >&5
13819 echo $ECHO_N "checking for seamonkey-plugin seamonkey-xpcom... $ECHO_C" >&6
13821 if $PKG_CONFIG --exists "seamonkey-plugin seamonkey-xpcom" ; then
13822 echo "$as_me:$LINENO: result: yes" >&5
13823 echo "${ECHO_T}yes" >&6
13826 echo "$as_me:$LINENO: checking MOZILLA_CFLAGS" >&5
13827 echo $ECHO_N "checking MOZILLA_CFLAGS... $ECHO_C" >&6
13828 MOZILLA_CFLAGS=`$PKG_CONFIG --cflags "seamonkey-plugin seamonkey-xpcom"`
13829 echo "$as_me:$LINENO: result: $MOZILLA_CFLAGS" >&5
13830 echo "${ECHO_T}$MOZILLA_CFLAGS" >&6
13832 echo "$as_me:$LINENO: checking MOZILLA_LIBS" >&5
13833 echo $ECHO_N "checking MOZILLA_LIBS... $ECHO_C" >&6
13834 MOZILLA_LIBS=`$PKG_CONFIG --libs "seamonkey-plugin seamonkey-xpcom"`
13835 echo "$as_me:$LINENO: result: $MOZILLA_LIBS" >&5
13836 echo "${ECHO_T}$MOZILLA_LIBS" >&6
13840 ## If we have a custom action on failure, don't print errors, but
13841 ## do set a variable so people can do so.
13842 MOZILLA_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "seamonkey-plugin seamonkey-xpcom"`
13849 echo "*** Your version of pkg-config is too old. You need version $PKG_CONFIG_MIN_VERSION or newer."
13850 echo "*** See http://www.freedesktop.org/software/pkgconfig"
13854 if test $succeeded = yes; then
13864 if test -z "$PKG_CONFIG"; then
13865 # Extract the first word of "pkg-config", so it can be a program name with args.
13866 set dummy pkg-config; ac_word=$2
13867 echo "$as_me:$LINENO: checking for $ac_word" >&5
13868 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
13869 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
13870 echo $ECHO_N "(cached) $ECHO_C" >&6
13872 case $PKG_CONFIG in
13874 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
13877 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13878 for as_dir in $PATH
13881 test -z "$as_dir" && as_dir=.
13882 for ac_exec_ext in '' $ac_executable_extensions; do
13883 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
13884 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
13885 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
13891 test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG="no"
13895 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
13897 if test -n "$PKG_CONFIG"; then
13898 echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
13899 echo "${ECHO_T}$PKG_CONFIG" >&6
13901 echo "$as_me:$LINENO: result: no" >&5
13902 echo "${ECHO_T}no" >&6
13907 if test "$PKG_CONFIG" = "no" ; then
13908 echo "*** The pkg-config script could not be found. Make sure it is"
13909 echo "*** in your path, or set the PKG_CONFIG environment variable"
13910 echo "*** to the full path to pkg-config."
13911 echo "*** Or see http://www.freedesktop.org/software/pkgconfig to get pkg-config."
13913 PKG_CONFIG_MIN_VERSION=0.9.0
13914 if $PKG_CONFIG --atleast-pkgconfig-version $PKG_CONFIG_MIN_VERSION; then
13915 echo "$as_me:$LINENO: checking for glib-2.0" >&5
13916 echo $ECHO_N "checking for glib-2.0... $ECHO_C" >&6
13918 if $PKG_CONFIG --exists "glib-2.0" ; then
13919 echo "$as_me:$LINENO: result: yes" >&5
13920 echo "${ECHO_T}yes" >&6
13923 echo "$as_me:$LINENO: checking GLIB_CFLAGS" >&5
13924 echo $ECHO_N "checking GLIB_CFLAGS... $ECHO_C" >&6
13925 GLIB_CFLAGS=`$PKG_CONFIG --cflags "glib-2.0"`
13926 echo "$as_me:$LINENO: result: $GLIB_CFLAGS" >&5
13927 echo "${ECHO_T}$GLIB_CFLAGS" >&6
13929 echo "$as_me:$LINENO: checking GLIB_LIBS" >&5
13930 echo $ECHO_N "checking GLIB_LIBS... $ECHO_C" >&6
13931 GLIB_LIBS=`$PKG_CONFIG --libs "glib-2.0"`
13932 echo "$as_me:$LINENO: result: $GLIB_LIBS" >&5
13933 echo "${ECHO_T}$GLIB_LIBS" >&6
13937 ## If we have a custom action on failure, don't print errors, but
13938 ## do set a variable so people can do so.
13939 GLIB_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "glib-2.0"`
13940 echo $GLIB_PKG_ERRORS
13946 echo "*** Your version of pkg-config is too old. You need version $PKG_CONFIG_MIN_VERSION or newer."
13947 echo "*** See http://www.freedesktop.org/software/pkgconfig"
13951 if test $succeeded = yes; then
13954 { { 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
13955 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;}
13956 { (exit 1); exit 1; }; }
13965 PLUGIN_DIR=$HOME/.mozilla/plugins/
13972 # Check whether --with-javah or --without-javah was given.
13973 if test "${with_javah+set}" = set; then
13974 withval="$with_javah"
13976 if test "x${withval}" != x && test "x${withval}" != xyes && test "x${withval}" != xno; then
13978 if test "x${withval}" != x; then
13979 if test -f "${withval}"; then
13980 USER_JAVAH="${withval}"
13982 # Extract the first word of ""${withval}"", so it can be a program name with args.
13983 set dummy "${withval}"; ac_word=$2
13984 echo "$as_me:$LINENO: checking for $ac_word" >&5
13985 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
13986 if test "${ac_cv_path_USER_JAVAH+set}" = set; then
13987 echo $ECHO_N "(cached) $ECHO_C" >&6
13989 case $USER_JAVAH in
13991 ac_cv_path_USER_JAVAH="$USER_JAVAH" # Let the user override the test with a path.
13994 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13995 for as_dir in $PATH
13998 test -z "$as_dir" && as_dir=.
13999 for ac_exec_ext in '' $ac_executable_extensions; do
14000 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
14001 ac_cv_path_USER_JAVAH="$as_dir/$ac_word$ac_exec_ext"
14002 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
14011 USER_JAVAH=$ac_cv_path_USER_JAVAH
14013 if test -n "$USER_JAVAH"; then
14014 echo "$as_me:$LINENO: result: $USER_JAVAH" >&5
14015 echo "${ECHO_T}$USER_JAVAH" >&6
14017 echo "$as_me:$LINENO: result: no" >&5
14018 echo "${ECHO_T}no" >&6
14023 for javah_name in gcjh javah; do
14024 # Extract the first word of ""$javah_name"", so it can be a program name with args.
14025 set dummy "$javah_name"; ac_word=$2
14026 echo "$as_me:$LINENO: checking for $ac_word" >&5
14027 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
14028 if test "${ac_cv_path_USER_JAVAH+set}" = set; then
14029 echo $ECHO_N "(cached) $ECHO_C" >&6
14031 case $USER_JAVAH in
14033 ac_cv_path_USER_JAVAH="$USER_JAVAH" # Let the user override the test with a path.
14036 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
14037 for as_dir in $PATH
14040 test -z "$as_dir" && as_dir=.
14041 for ac_exec_ext in '' $ac_executable_extensions; do
14042 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
14043 ac_cv_path_USER_JAVAH="$as_dir/$ac_word$ac_exec_ext"
14044 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
14053 USER_JAVAH=$ac_cv_path_USER_JAVAH
14055 if test -n "$USER_JAVAH"; then
14056 echo "$as_me:$LINENO: result: $USER_JAVAH" >&5
14057 echo "${ECHO_T}$USER_JAVAH" >&6
14059 echo "$as_me:$LINENO: result: no" >&5
14060 echo "${ECHO_T}no" >&6
14063 if test "x${USER_JAVAH}" != x; then
14069 # if test "x${USER_JAVAH}" = x; then
14070 # echo "configure: cannot find javah" 1>&2
14076 if test "x" != x; then
14077 if test -f ""; then
14080 # Extract the first word of """", so it can be a program name with args.
14081 set dummy ""; ac_word=$2
14082 echo "$as_me:$LINENO: checking for $ac_word" >&5
14083 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
14084 if test "${ac_cv_path_USER_JAVAH+set}" = set; then
14085 echo $ECHO_N "(cached) $ECHO_C" >&6
14087 case $USER_JAVAH in
14089 ac_cv_path_USER_JAVAH="$USER_JAVAH" # Let the user override the test with a path.
14092 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
14093 for as_dir in $PATH
14096 test -z "$as_dir" && as_dir=.
14097 for ac_exec_ext in '' $ac_executable_extensions; do
14098 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
14099 ac_cv_path_USER_JAVAH="$as_dir/$ac_word$ac_exec_ext"
14100 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
14109 USER_JAVAH=$ac_cv_path_USER_JAVAH
14111 if test -n "$USER_JAVAH"; then
14112 echo "$as_me:$LINENO: result: $USER_JAVAH" >&5
14113 echo "${ECHO_T}$USER_JAVAH" >&6
14115 echo "$as_me:$LINENO: result: no" >&5
14116 echo "${ECHO_T}no" >&6
14121 for javah_name in gcjh javah; do
14122 # Extract the first word of ""$javah_name"", so it can be a program name with args.
14123 set dummy "$javah_name"; ac_word=$2
14124 echo "$as_me:$LINENO: checking for $ac_word" >&5
14125 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
14126 if test "${ac_cv_path_USER_JAVAH+set}" = set; then
14127 echo $ECHO_N "(cached) $ECHO_C" >&6
14129 case $USER_JAVAH in
14131 ac_cv_path_USER_JAVAH="$USER_JAVAH" # Let the user override the test with a path.
14134 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
14135 for as_dir in $PATH
14138 test -z "$as_dir" && as_dir=.
14139 for ac_exec_ext in '' $ac_executable_extensions; do
14140 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
14141 ac_cv_path_USER_JAVAH="$as_dir/$ac_word$ac_exec_ext"
14142 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
14151 USER_JAVAH=$ac_cv_path_USER_JAVAH
14153 if test -n "$USER_JAVAH"; then
14154 echo "$as_me:$LINENO: result: $USER_JAVAH" >&5
14155 echo "${ECHO_T}$USER_JAVAH" >&6
14157 echo "$as_me:$LINENO: result: no" >&5
14158 echo "${ECHO_T}no" >&6
14161 if test "x${USER_JAVAH}" != x; then
14167 # if test "x${USER_JAVAH}" = x; then
14168 # echo "configure: cannot find javah" 1>&2
14177 if test "x" != x; then
14178 if test -f ""; then
14181 # Extract the first word of """", so it can be a program name with args.
14182 set dummy ""; ac_word=$2
14183 echo "$as_me:$LINENO: checking for $ac_word" >&5
14184 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
14185 if test "${ac_cv_path_USER_JAVAH+set}" = set; then
14186 echo $ECHO_N "(cached) $ECHO_C" >&6
14188 case $USER_JAVAH in
14190 ac_cv_path_USER_JAVAH="$USER_JAVAH" # Let the user override the test with a path.
14193 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
14194 for as_dir in $PATH
14197 test -z "$as_dir" && as_dir=.
14198 for ac_exec_ext in '' $ac_executable_extensions; do
14199 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
14200 ac_cv_path_USER_JAVAH="$as_dir/$ac_word$ac_exec_ext"
14201 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
14210 USER_JAVAH=$ac_cv_path_USER_JAVAH
14212 if test -n "$USER_JAVAH"; then
14213 echo "$as_me:$LINENO: result: $USER_JAVAH" >&5
14214 echo "${ECHO_T}$USER_JAVAH" >&6
14216 echo "$as_me:$LINENO: result: no" >&5
14217 echo "${ECHO_T}no" >&6
14222 for javah_name in gcjh javah; do
14223 # Extract the first word of ""$javah_name"", so it can be a program name with args.
14224 set dummy "$javah_name"; ac_word=$2
14225 echo "$as_me:$LINENO: checking for $ac_word" >&5
14226 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
14227 if test "${ac_cv_path_USER_JAVAH+set}" = set; then
14228 echo $ECHO_N "(cached) $ECHO_C" >&6
14230 case $USER_JAVAH in
14232 ac_cv_path_USER_JAVAH="$USER_JAVAH" # Let the user override the test with a path.
14235 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
14236 for as_dir in $PATH
14239 test -z "$as_dir" && as_dir=.
14240 for ac_exec_ext in '' $ac_executable_extensions; do
14241 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
14242 ac_cv_path_USER_JAVAH="$as_dir/$ac_word$ac_exec_ext"
14243 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
14252 USER_JAVAH=$ac_cv_path_USER_JAVAH
14254 if test -n "$USER_JAVAH"; then
14255 echo "$as_me:$LINENO: result: $USER_JAVAH" >&5
14256 echo "${ECHO_T}$USER_JAVAH" >&6
14258 echo "$as_me:$LINENO: result: no" >&5
14259 echo "${ECHO_T}no" >&6
14262 if test "x${USER_JAVAH}" != x; then
14268 # if test "x${USER_JAVAH}" = x; then
14269 # echo "configure: cannot find javah" 1>&2
14277 if test "x${USER_JAVAH}" != x; then
14278 USER_SPECIFIED_JAVAH_TRUE=
14279 USER_SPECIFIED_JAVAH_FALSE='#'
14281 USER_SPECIFIED_JAVAH_TRUE='#'
14282 USER_SPECIFIED_JAVAH_FALSE=
14288 CLASSPATH_INCLUDES="-I\$(top_srcdir)/include -I\$(top_srcdir)/native/jni/classpath -I\$(top_srcdir)/native/jni/native-lib"
14291 if test "x${COMPILE_JNI}" = xyes; then
14292 echo "$as_me:$LINENO: checking jni_md.h support" >&5
14293 echo $ECHO_N "checking jni_md.h support... $ECHO_C" >&6
14294 if test -f ${srcdir}/include/jni_md-${target_cpu}-${target_os}.h; then
14295 echo "$as_me:$LINENO: result: yes" >&5
14296 echo "${ECHO_T}yes" >&6
14299 target_os=linux-gnu
14300 { echo "$as_me:$LINENO: WARNING: no" >&5
14301 echo "$as_me: WARNING: no" >&2;}
14303 ac_sources="include/jni_md-${target_cpu}-${target_os}.h"
14304 ac_dests="include/jni_md.h"
14305 while test -n "$ac_sources"; do
14306 set $ac_dests; ac_dest=$1; shift; ac_dests=$*
14307 set $ac_sources; ac_source=$1; shift; ac_sources=$*
14308 ac_config_links_1="$ac_config_links_1 $ac_dest:$ac_source"
14310 ac_config_links="$ac_config_links $ac_config_links_1"
14315 user_specified_javac=
14319 # Check whether --with-gcj or --without-gcj was given.
14320 if test "${with_gcj+set}" = set; then
14321 withval="$with_gcj"
14323 if test "x${withval}" != x && test "x${withval}" != xyes && test "x${withval}" != xno; then
14325 if test "x${withval}" != x; then
14326 if test -f "${withval}"; then
14329 # Extract the first word of ""${withval}"", so it can be a program name with args.
14330 set dummy "${withval}"; ac_word=$2
14331 echo "$as_me:$LINENO: checking for $ac_word" >&5
14332 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
14333 if test "${ac_cv_path_GCJ+set}" = set; then
14334 echo $ECHO_N "(cached) $ECHO_C" >&6
14338 ac_cv_path_GCJ="$GCJ" # Let the user override the test with a path.
14341 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
14342 for as_dir in $PATH
14345 test -z "$as_dir" && as_dir=.
14346 for ac_exec_ext in '' $ac_executable_extensions; do
14347 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
14348 ac_cv_path_GCJ="$as_dir/$ac_word$ac_exec_ext"
14349 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
14358 GCJ=$ac_cv_path_GCJ
14360 if test -n "$GCJ"; then
14361 echo "$as_me:$LINENO: result: $GCJ" >&5
14362 echo "${ECHO_T}$GCJ" >&6
14364 echo "$as_me:$LINENO: result: no" >&5
14365 echo "${ECHO_T}no" >&6
14370 # Extract the first word of ""gcj"", so it can be a program name with args.
14371 set dummy "gcj"; ac_word=$2
14372 echo "$as_me:$LINENO: checking for $ac_word" >&5
14373 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
14374 if test "${ac_cv_path_GCJ+set}" = set; then
14375 echo $ECHO_N "(cached) $ECHO_C" >&6
14379 ac_cv_path_GCJ="$GCJ" # Let the user override the test with a path.
14382 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
14383 for as_dir in $PATH
14386 test -z "$as_dir" && as_dir=.
14387 for ac_exec_ext in '' $ac_executable_extensions; do
14388 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
14389 ac_cv_path_GCJ="$as_dir/$ac_word$ac_exec_ext"
14390 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
14399 GCJ=$ac_cv_path_GCJ
14401 if test -n "$GCJ"; then
14402 echo "$as_me:$LINENO: result: $GCJ" >&5
14403 echo "${ECHO_T}$GCJ" >&6
14405 echo "$as_me:$LINENO: result: no" >&5
14406 echo "${ECHO_T}no" >&6
14410 if test "x$GCJ" != x; then
14411 echo "$as_me:$LINENO: checking gcj version 4.0" >&5
14412 echo $ECHO_N "checking gcj version 4.0... $ECHO_C" >&6
14414 ac_cpp='$CPP $CPPFLAGS'
14415 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14416 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14417 ac_compiler_gnu=$ac_cv_c_compiler_gnu
14419 cat >conftest.$ac_ext <<_ACEOF
14421 #error GCJ 4.0.0 or higher is required
14425 $GCJ -E conftest.c > /dev/null
14427 if test "x$gcj_4_result" = "x0"; then
14428 echo "$as_me:$LINENO: result: 4.0 or higher found" >&5
14429 echo "${ECHO_T}4.0 or higher found" >&6
14431 { echo "$as_me:$LINENO: WARNING: 4.0 or higher required" >&5
14432 echo "$as_me: WARNING: 4.0 or higher required" >&2;}
14435 ac_cpp='$CPP $CPPFLAGS'
14436 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14437 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14438 ac_compiler_gnu=$ac_cv_c_compiler_gnu
14443 if test "x${withval}" != xno; then
14445 if test "x" != x; then
14446 if test -f ""; then
14449 # Extract the first word of """", so it can be a program name with args.
14450 set dummy ""; ac_word=$2
14451 echo "$as_me:$LINENO: checking for $ac_word" >&5
14452 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
14453 if test "${ac_cv_path_GCJ+set}" = set; then
14454 echo $ECHO_N "(cached) $ECHO_C" >&6
14458 ac_cv_path_GCJ="$GCJ" # Let the user override the test with a path.
14461 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
14462 for as_dir in $PATH
14465 test -z "$as_dir" && as_dir=.
14466 for ac_exec_ext in '' $ac_executable_extensions; do
14467 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
14468 ac_cv_path_GCJ="$as_dir/$ac_word$ac_exec_ext"
14469 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
14478 GCJ=$ac_cv_path_GCJ
14480 if test -n "$GCJ"; then
14481 echo "$as_me:$LINENO: result: $GCJ" >&5
14482 echo "${ECHO_T}$GCJ" >&6
14484 echo "$as_me:$LINENO: result: no" >&5
14485 echo "${ECHO_T}no" >&6
14490 # Extract the first word of ""gcj"", so it can be a program name with args.
14491 set dummy "gcj"; ac_word=$2
14492 echo "$as_me:$LINENO: checking for $ac_word" >&5
14493 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
14494 if test "${ac_cv_path_GCJ+set}" = set; then
14495 echo $ECHO_N "(cached) $ECHO_C" >&6
14499 ac_cv_path_GCJ="$GCJ" # Let the user override the test with a path.
14502 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
14503 for as_dir in $PATH
14506 test -z "$as_dir" && as_dir=.
14507 for ac_exec_ext in '' $ac_executable_extensions; do
14508 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
14509 ac_cv_path_GCJ="$as_dir/$ac_word$ac_exec_ext"
14510 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
14519 GCJ=$ac_cv_path_GCJ
14521 if test -n "$GCJ"; then
14522 echo "$as_me:$LINENO: result: $GCJ" >&5
14523 echo "${ECHO_T}$GCJ" >&6
14525 echo "$as_me:$LINENO: result: no" >&5
14526 echo "${ECHO_T}no" >&6
14530 if test "x$GCJ" != x; then
14531 echo "$as_me:$LINENO: checking gcj version 4.0" >&5
14532 echo $ECHO_N "checking gcj version 4.0... $ECHO_C" >&6
14534 ac_cpp='$CPP $CPPFLAGS'
14535 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14536 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14537 ac_compiler_gnu=$ac_cv_c_compiler_gnu
14539 cat >conftest.$ac_ext <<_ACEOF
14541 #error GCJ 4.0.0 or higher is required
14545 $GCJ -E conftest.c > /dev/null
14547 if test "x$gcj_4_result" = "x0"; then
14548 echo "$as_me:$LINENO: result: 4.0 or higher found" >&5
14549 echo "${ECHO_T}4.0 or higher found" >&6
14551 { echo "$as_me:$LINENO: WARNING: 4.0 or higher required" >&5
14552 echo "$as_me: WARNING: 4.0 or higher required" >&2;}
14555 ac_cpp='$CPP $CPPFLAGS'
14556 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14557 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14558 ac_compiler_gnu=$ac_cv_c_compiler_gnu
14564 user_specified_javac=gcj
14569 if test "x" != x; then
14570 if test -f ""; then
14573 # Extract the first word of """", so it can be a program name with args.
14574 set dummy ""; ac_word=$2
14575 echo "$as_me:$LINENO: checking for $ac_word" >&5
14576 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
14577 if test "${ac_cv_path_GCJ+set}" = set; then
14578 echo $ECHO_N "(cached) $ECHO_C" >&6
14582 ac_cv_path_GCJ="$GCJ" # Let the user override the test with a path.
14585 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
14586 for as_dir in $PATH
14589 test -z "$as_dir" && as_dir=.
14590 for ac_exec_ext in '' $ac_executable_extensions; do
14591 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
14592 ac_cv_path_GCJ="$as_dir/$ac_word$ac_exec_ext"
14593 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
14602 GCJ=$ac_cv_path_GCJ
14604 if test -n "$GCJ"; then
14605 echo "$as_me:$LINENO: result: $GCJ" >&5
14606 echo "${ECHO_T}$GCJ" >&6
14608 echo "$as_me:$LINENO: result: no" >&5
14609 echo "${ECHO_T}no" >&6
14614 # Extract the first word of ""gcj"", so it can be a program name with args.
14615 set dummy "gcj"; ac_word=$2
14616 echo "$as_me:$LINENO: checking for $ac_word" >&5
14617 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
14618 if test "${ac_cv_path_GCJ+set}" = set; then
14619 echo $ECHO_N "(cached) $ECHO_C" >&6
14623 ac_cv_path_GCJ="$GCJ" # Let the user override the test with a path.
14626 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
14627 for as_dir in $PATH
14630 test -z "$as_dir" && as_dir=.
14631 for ac_exec_ext in '' $ac_executable_extensions; do
14632 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
14633 ac_cv_path_GCJ="$as_dir/$ac_word$ac_exec_ext"
14634 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
14643 GCJ=$ac_cv_path_GCJ
14645 if test -n "$GCJ"; then
14646 echo "$as_me:$LINENO: result: $GCJ" >&5
14647 echo "${ECHO_T}$GCJ" >&6
14649 echo "$as_me:$LINENO: result: no" >&5
14650 echo "${ECHO_T}no" >&6
14654 if test "x$GCJ" != x; then
14655 echo "$as_me:$LINENO: checking gcj version 4.0" >&5
14656 echo $ECHO_N "checking gcj version 4.0... $ECHO_C" >&6
14658 ac_cpp='$CPP $CPPFLAGS'
14659 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14660 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14661 ac_compiler_gnu=$ac_cv_c_compiler_gnu
14663 cat >conftest.$ac_ext <<_ACEOF
14665 #error GCJ 4.0.0 or higher is required
14669 $GCJ -E conftest.c > /dev/null
14671 if test "x$gcj_4_result" = "x0"; then
14672 echo "$as_me:$LINENO: result: 4.0 or higher found" >&5
14673 echo "${ECHO_T}4.0 or higher found" >&6
14675 { echo "$as_me:$LINENO: WARNING: 4.0 or higher required" >&5
14676 echo "$as_me: WARNING: 4.0 or higher required" >&2;}
14679 ac_cpp='$CPP $CPPFLAGS'
14680 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14681 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14682 ac_compiler_gnu=$ac_cv_c_compiler_gnu
14692 # Check whether --with-jikes or --without-jikes was given.
14693 if test "${with_jikes+set}" = set; then
14694 withval="$with_jikes"
14696 if test "x${withval}" != x && test "x${withval}" != xyes && test "x${withval}" != xno; then
14698 if test "x${withval}" != x; then
14699 if test -f "${withval}"; then
14702 # Extract the first word of ""${withval}"", so it can be a program name with args.
14703 set dummy "${withval}"; ac_word=$2
14704 echo "$as_me:$LINENO: checking for $ac_word" >&5
14705 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
14706 if test "${ac_cv_path_JIKES+set}" = set; then
14707 echo $ECHO_N "(cached) $ECHO_C" >&6
14711 ac_cv_path_JIKES="$JIKES" # Let the user override the test with a path.
14714 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
14715 for as_dir in $PATH
14718 test -z "$as_dir" && as_dir=.
14719 for ac_exec_ext in '' $ac_executable_extensions; do
14720 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
14721 ac_cv_path_JIKES="$as_dir/$ac_word$ac_exec_ext"
14722 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
14731 JIKES=$ac_cv_path_JIKES
14733 if test -n "$JIKES"; then
14734 echo "$as_me:$LINENO: result: $JIKES" >&5
14735 echo "${ECHO_T}$JIKES" >&6
14737 echo "$as_me:$LINENO: result: no" >&5
14738 echo "${ECHO_T}no" >&6
14743 # Extract the first word of ""jikes"", so it can be a program name with args.
14744 set dummy "jikes"; ac_word=$2
14745 echo "$as_me:$LINENO: checking for $ac_word" >&5
14746 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
14747 if test "${ac_cv_path_JIKES+set}" = set; then
14748 echo $ECHO_N "(cached) $ECHO_C" >&6
14752 ac_cv_path_JIKES="$JIKES" # Let the user override the test with a path.
14755 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
14756 for as_dir in $PATH
14759 test -z "$as_dir" && as_dir=.
14760 for ac_exec_ext in '' $ac_executable_extensions; do
14761 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
14762 ac_cv_path_JIKES="$as_dir/$ac_word$ac_exec_ext"
14763 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
14772 JIKES=$ac_cv_path_JIKES
14774 if test -n "$JIKES"; then
14775 echo "$as_me:$LINENO: result: $JIKES" >&5
14776 echo "${ECHO_T}$JIKES" >&6
14778 echo "$as_me:$LINENO: result: no" >&5
14779 echo "${ECHO_T}no" >&6
14783 if test "x$JIKES" != "x"; then
14784 echo "$as_me:$LINENO: checking jikes version" >&5
14785 echo $ECHO_N "checking jikes version... $ECHO_C" >&6
14786 JIKES_VERSION=`$JIKES --version | awk '/^Jikes Compiler/' | cut -d ' ' -f 5`
14787 JIKES_VERSION_MAJOR=`echo "$JIKES_VERSION" | cut -d '.' -f 1`
14788 JIKES_VERSION_MINOR=`echo "$JIKES_VERSION" | cut -d '.' -f 2`
14789 if expr "$JIKES_VERSION_MAJOR" = 1 > /dev/null; then
14790 if expr "$JIKES_VERSION_MINOR" \< 19 > /dev/null; then
14794 if test "x$JIKES" != "x"; then
14795 echo "$as_me:$LINENO: result: $JIKES_VERSION" >&5
14796 echo "${ECHO_T}$JIKES_VERSION" >&6
14798 { echo "$as_me:$LINENO: WARNING: $JIKES_VERSION: jikes 1.19 or higher required" >&5
14799 echo "$as_me: WARNING: $JIKES_VERSION: jikes 1.19 or higher required" >&2;}
14803 if test -n "`$JIKES --help 2>&1 | grep encoding`"; then
14804 JIKESENCODING='-encoding UTF-8'
14808 JIKESWARNINGS="+Pno-switchcheck"
14809 if test "x$JIKES_VERSION_MAJOR" = x"1" ; then
14810 if ! test "x$JIKES_VERSION_MINOR" = x"19"; then
14811 JIKESWARNINGS="$JIKESWARNINGS +Pno-shadow"
14819 if test "x${withval}" != xno; then
14821 if test "x" != x; then
14822 if test -f ""; then
14825 # Extract the first word of """", so it can be a program name with args.
14826 set dummy ""; ac_word=$2
14827 echo "$as_me:$LINENO: checking for $ac_word" >&5
14828 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
14829 if test "${ac_cv_path_JIKES+set}" = set; then
14830 echo $ECHO_N "(cached) $ECHO_C" >&6
14834 ac_cv_path_JIKES="$JIKES" # Let the user override the test with a path.
14837 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
14838 for as_dir in $PATH
14841 test -z "$as_dir" && as_dir=.
14842 for ac_exec_ext in '' $ac_executable_extensions; do
14843 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
14844 ac_cv_path_JIKES="$as_dir/$ac_word$ac_exec_ext"
14845 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
14854 JIKES=$ac_cv_path_JIKES
14856 if test -n "$JIKES"; then
14857 echo "$as_me:$LINENO: result: $JIKES" >&5
14858 echo "${ECHO_T}$JIKES" >&6
14860 echo "$as_me:$LINENO: result: no" >&5
14861 echo "${ECHO_T}no" >&6
14866 # Extract the first word of ""jikes"", so it can be a program name with args.
14867 set dummy "jikes"; ac_word=$2
14868 echo "$as_me:$LINENO: checking for $ac_word" >&5
14869 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
14870 if test "${ac_cv_path_JIKES+set}" = set; then
14871 echo $ECHO_N "(cached) $ECHO_C" >&6
14875 ac_cv_path_JIKES="$JIKES" # Let the user override the test with a path.
14878 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
14879 for as_dir in $PATH
14882 test -z "$as_dir" && as_dir=.
14883 for ac_exec_ext in '' $ac_executable_extensions; do
14884 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
14885 ac_cv_path_JIKES="$as_dir/$ac_word$ac_exec_ext"
14886 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
14895 JIKES=$ac_cv_path_JIKES
14897 if test -n "$JIKES"; then
14898 echo "$as_me:$LINENO: result: $JIKES" >&5
14899 echo "${ECHO_T}$JIKES" >&6
14901 echo "$as_me:$LINENO: result: no" >&5
14902 echo "${ECHO_T}no" >&6
14906 if test "x$JIKES" != "x"; then
14907 echo "$as_me:$LINENO: checking jikes version" >&5
14908 echo $ECHO_N "checking jikes version... $ECHO_C" >&6
14909 JIKES_VERSION=`$JIKES --version | awk '/^Jikes Compiler/' | cut -d ' ' -f 5`
14910 JIKES_VERSION_MAJOR=`echo "$JIKES_VERSION" | cut -d '.' -f 1`
14911 JIKES_VERSION_MINOR=`echo "$JIKES_VERSION" | cut -d '.' -f 2`
14912 if expr "$JIKES_VERSION_MAJOR" = 1 > /dev/null; then
14913 if expr "$JIKES_VERSION_MINOR" \< 19 > /dev/null; then
14917 if test "x$JIKES" != "x"; then
14918 echo "$as_me:$LINENO: result: $JIKES_VERSION" >&5
14919 echo "${ECHO_T}$JIKES_VERSION" >&6
14921 { echo "$as_me:$LINENO: WARNING: $JIKES_VERSION: jikes 1.19 or higher required" >&5
14922 echo "$as_me: WARNING: $JIKES_VERSION: jikes 1.19 or higher required" >&2;}
14926 if test -n "`$JIKES --help 2>&1 | grep encoding`"; then
14927 JIKESENCODING='-encoding UTF-8'
14931 JIKESWARNINGS="+Pno-switchcheck"
14932 if test "x$JIKES_VERSION_MAJOR" = x"1" ; then
14933 if ! test "x$JIKES_VERSION_MINOR" = x"19"; then
14934 JIKESWARNINGS="$JIKESWARNINGS +Pno-shadow"
14943 user_specified_javac=jikes
14948 if test "x" != x; then
14949 if test -f ""; then
14952 # Extract the first word of """", so it can be a program name with args.
14953 set dummy ""; ac_word=$2
14954 echo "$as_me:$LINENO: checking for $ac_word" >&5
14955 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
14956 if test "${ac_cv_path_JIKES+set}" = set; then
14957 echo $ECHO_N "(cached) $ECHO_C" >&6
14961 ac_cv_path_JIKES="$JIKES" # Let the user override the test with a path.
14964 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
14965 for as_dir in $PATH
14968 test -z "$as_dir" && as_dir=.
14969 for ac_exec_ext in '' $ac_executable_extensions; do
14970 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
14971 ac_cv_path_JIKES="$as_dir/$ac_word$ac_exec_ext"
14972 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
14981 JIKES=$ac_cv_path_JIKES
14983 if test -n "$JIKES"; then
14984 echo "$as_me:$LINENO: result: $JIKES" >&5
14985 echo "${ECHO_T}$JIKES" >&6
14987 echo "$as_me:$LINENO: result: no" >&5
14988 echo "${ECHO_T}no" >&6
14993 # Extract the first word of ""jikes"", so it can be a program name with args.
14994 set dummy "jikes"; ac_word=$2
14995 echo "$as_me:$LINENO: checking for $ac_word" >&5
14996 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
14997 if test "${ac_cv_path_JIKES+set}" = set; then
14998 echo $ECHO_N "(cached) $ECHO_C" >&6
15002 ac_cv_path_JIKES="$JIKES" # Let the user override the test with a path.
15005 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
15006 for as_dir in $PATH
15009 test -z "$as_dir" && as_dir=.
15010 for ac_exec_ext in '' $ac_executable_extensions; do
15011 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
15012 ac_cv_path_JIKES="$as_dir/$ac_word$ac_exec_ext"
15013 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
15022 JIKES=$ac_cv_path_JIKES
15024 if test -n "$JIKES"; then
15025 echo "$as_me:$LINENO: result: $JIKES" >&5
15026 echo "${ECHO_T}$JIKES" >&6
15028 echo "$as_me:$LINENO: result: no" >&5
15029 echo "${ECHO_T}no" >&6
15033 if test "x$JIKES" != "x"; then
15034 echo "$as_me:$LINENO: checking jikes version" >&5
15035 echo $ECHO_N "checking jikes version... $ECHO_C" >&6
15036 JIKES_VERSION=`$JIKES --version | awk '/^Jikes Compiler/' | cut -d ' ' -f 5`
15037 JIKES_VERSION_MAJOR=`echo "$JIKES_VERSION" | cut -d '.' -f 1`
15038 JIKES_VERSION_MINOR=`echo "$JIKES_VERSION" | cut -d '.' -f 2`
15039 if expr "$JIKES_VERSION_MAJOR" = 1 > /dev/null; then
15040 if expr "$JIKES_VERSION_MINOR" \< 19 > /dev/null; then
15044 if test "x$JIKES" != "x"; then
15045 echo "$as_me:$LINENO: result: $JIKES_VERSION" >&5
15046 echo "${ECHO_T}$JIKES_VERSION" >&6
15048 { echo "$as_me:$LINENO: WARNING: $JIKES_VERSION: jikes 1.19 or higher required" >&5
15049 echo "$as_me: WARNING: $JIKES_VERSION: jikes 1.19 or higher required" >&2;}
15053 if test -n "`$JIKES --help 2>&1 | grep encoding`"; then
15054 JIKESENCODING='-encoding UTF-8'
15058 JIKESWARNINGS="+Pno-switchcheck"
15059 if test "x$JIKES_VERSION_MAJOR" = x"1" ; then
15060 if ! test "x$JIKES_VERSION_MINOR" = x"19"; then
15061 JIKESWARNINGS="$JIKESWARNINGS +Pno-shadow"
15074 # Check whether --with-kjc or --without-kjc was given.
15075 if test "${with_kjc+set}" = set; then
15076 withval="$with_kjc"
15078 if test "x${withval}" != x && test "x${withval}" != xyes && test "x${withval}" != xno; then
15080 if test "x${withval}" != x; then
15081 if test -f "${withval}"; then
15084 # Extract the first word of ""${withval}"", so it can be a program name with args.
15085 set dummy "${withval}"; ac_word=$2
15086 echo "$as_me:$LINENO: checking for $ac_word" >&5
15087 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
15088 if test "${ac_cv_path_KJC+set}" = set; then
15089 echo $ECHO_N "(cached) $ECHO_C" >&6
15093 ac_cv_path_KJC="$KJC" # Let the user override the test with a path.
15096 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
15097 for as_dir in $PATH
15100 test -z "$as_dir" && as_dir=.
15101 for ac_exec_ext in '' $ac_executable_extensions; do
15102 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
15103 ac_cv_path_KJC="$as_dir/$ac_word$ac_exec_ext"
15104 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
15113 KJC=$ac_cv_path_KJC
15115 if test -n "$KJC"; then
15116 echo "$as_me:$LINENO: result: $KJC" >&5
15117 echo "${ECHO_T}$KJC" >&6
15119 echo "$as_me:$LINENO: result: no" >&5
15120 echo "${ECHO_T}no" >&6
15125 # Extract the first word of ""kJC"", so it can be a program name with args.
15126 set dummy "kJC"; ac_word=$2
15127 echo "$as_me:$LINENO: checking for $ac_word" >&5
15128 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
15129 if test "${ac_cv_path_KJC+set}" = set; then
15130 echo $ECHO_N "(cached) $ECHO_C" >&6
15134 ac_cv_path_KJC="$KJC" # Let the user override the test with a path.
15137 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
15138 for as_dir in $PATH
15141 test -z "$as_dir" && as_dir=.
15142 for ac_exec_ext in '' $ac_executable_extensions; do
15143 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
15144 ac_cv_path_KJC="$as_dir/$ac_word$ac_exec_ext"
15145 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
15154 KJC=$ac_cv_path_KJC
15156 if test -n "$KJC"; then
15157 echo "$as_me:$LINENO: result: $KJC" >&5
15158 echo "${ECHO_T}$KJC" >&6
15160 echo "$as_me:$LINENO: result: no" >&5
15161 echo "${ECHO_T}no" >&6
15167 if test "x${withval}" != xno; then
15169 if test "x" != x; then
15170 if test -f ""; then
15173 # Extract the first word of """", so it can be a program name with args.
15174 set dummy ""; ac_word=$2
15175 echo "$as_me:$LINENO: checking for $ac_word" >&5
15176 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
15177 if test "${ac_cv_path_KJC+set}" = set; then
15178 echo $ECHO_N "(cached) $ECHO_C" >&6
15182 ac_cv_path_KJC="$KJC" # Let the user override the test with a path.
15185 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
15186 for as_dir in $PATH
15189 test -z "$as_dir" && as_dir=.
15190 for ac_exec_ext in '' $ac_executable_extensions; do
15191 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
15192 ac_cv_path_KJC="$as_dir/$ac_word$ac_exec_ext"
15193 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
15202 KJC=$ac_cv_path_KJC
15204 if test -n "$KJC"; then
15205 echo "$as_me:$LINENO: result: $KJC" >&5
15206 echo "${ECHO_T}$KJC" >&6
15208 echo "$as_me:$LINENO: result: no" >&5
15209 echo "${ECHO_T}no" >&6
15214 # Extract the first word of ""kJC"", so it can be a program name with args.
15215 set dummy "kJC"; ac_word=$2
15216 echo "$as_me:$LINENO: checking for $ac_word" >&5
15217 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
15218 if test "${ac_cv_path_KJC+set}" = set; then
15219 echo $ECHO_N "(cached) $ECHO_C" >&6
15223 ac_cv_path_KJC="$KJC" # Let the user override the test with a path.
15226 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
15227 for as_dir in $PATH
15230 test -z "$as_dir" && as_dir=.
15231 for ac_exec_ext in '' $ac_executable_extensions; do
15232 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
15233 ac_cv_path_KJC="$as_dir/$ac_word$ac_exec_ext"
15234 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
15243 KJC=$ac_cv_path_KJC
15245 if test -n "$KJC"; then
15246 echo "$as_me:$LINENO: result: $KJC" >&5
15247 echo "${ECHO_T}$KJC" >&6
15249 echo "$as_me:$LINENO: result: no" >&5
15250 echo "${ECHO_T}no" >&6
15257 user_specified_javac=kjc
15262 if test "x" != x; then
15263 if test -f ""; then
15266 # Extract the first word of """", so it can be a program name with args.
15267 set dummy ""; ac_word=$2
15268 echo "$as_me:$LINENO: checking for $ac_word" >&5
15269 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
15270 if test "${ac_cv_path_KJC+set}" = set; then
15271 echo $ECHO_N "(cached) $ECHO_C" >&6
15275 ac_cv_path_KJC="$KJC" # Let the user override the test with a path.
15278 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
15279 for as_dir in $PATH
15282 test -z "$as_dir" && as_dir=.
15283 for ac_exec_ext in '' $ac_executable_extensions; do
15284 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
15285 ac_cv_path_KJC="$as_dir/$ac_word$ac_exec_ext"
15286 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
15295 KJC=$ac_cv_path_KJC
15297 if test -n "$KJC"; then
15298 echo "$as_me:$LINENO: result: $KJC" >&5
15299 echo "${ECHO_T}$KJC" >&6
15301 echo "$as_me:$LINENO: result: no" >&5
15302 echo "${ECHO_T}no" >&6
15307 # Extract the first word of ""kJC"", so it can be a program name with args.
15308 set dummy "kJC"; ac_word=$2
15309 echo "$as_me:$LINENO: checking for $ac_word" >&5
15310 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
15311 if test "${ac_cv_path_KJC+set}" = set; then
15312 echo $ECHO_N "(cached) $ECHO_C" >&6
15316 ac_cv_path_KJC="$KJC" # Let the user override the test with a path.
15319 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
15320 for as_dir in $PATH
15323 test -z "$as_dir" && as_dir=.
15324 for ac_exec_ext in '' $ac_executable_extensions; do
15325 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
15326 ac_cv_path_KJC="$as_dir/$ac_word$ac_exec_ext"
15327 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
15336 KJC=$ac_cv_path_KJC
15338 if test -n "$KJC"; then
15339 echo "$as_me:$LINENO: result: $KJC" >&5
15340 echo "${ECHO_T}$KJC" >&6
15342 echo "$as_me:$LINENO: result: no" >&5
15343 echo "${ECHO_T}no" >&6
15354 # Check whether --with-gcjx or --without-gcjx was given.
15355 if test "${with_gcjx+set}" = set; then
15356 withval="$with_gcjx"
15358 if test "x${withval}" != x && test "x${withval}" != xyes && test "x${withval}" != xno; then
15360 if test "x${withval}" != x; then
15361 if test -f "${withval}"; then
15364 # Extract the first word of ""${withval}"", so it can be a program name with args.
15365 set dummy "${withval}"; ac_word=$2
15366 echo "$as_me:$LINENO: checking for $ac_word" >&5
15367 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
15368 if test "${ac_cv_path_GCJX+set}" = set; then
15369 echo $ECHO_N "(cached) $ECHO_C" >&6
15373 ac_cv_path_GCJX="$GCJX" # Let the user override the test with a path.
15376 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
15377 for as_dir in $PATH
15380 test -z "$as_dir" && as_dir=.
15381 for ac_exec_ext in '' $ac_executable_extensions; do
15382 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
15383 ac_cv_path_GCJX="$as_dir/$ac_word$ac_exec_ext"
15384 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
15393 GCJX=$ac_cv_path_GCJX
15395 if test -n "$GCJX"; then
15396 echo "$as_me:$LINENO: result: $GCJX" >&5
15397 echo "${ECHO_T}$GCJX" >&6
15399 echo "$as_me:$LINENO: result: no" >&5
15400 echo "${ECHO_T}no" >&6
15405 # Extract the first word of ""gcjx"", so it can be a program name with args.
15406 set dummy "gcjx"; ac_word=$2
15407 echo "$as_me:$LINENO: checking for $ac_word" >&5
15408 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
15409 if test "${ac_cv_path_GCJX+set}" = set; then
15410 echo $ECHO_N "(cached) $ECHO_C" >&6
15414 ac_cv_path_GCJX="$GCJX" # Let the user override the test with a path.
15417 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
15418 for as_dir in $PATH
15421 test -z "$as_dir" && as_dir=.
15422 for ac_exec_ext in '' $ac_executable_extensions; do
15423 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
15424 ac_cv_path_GCJX="$as_dir/$ac_word$ac_exec_ext"
15425 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
15434 GCJX=$ac_cv_path_GCJX
15436 if test -n "$GCJX"; then
15437 echo "$as_me:$LINENO: result: $GCJX" >&5
15438 echo "${ECHO_T}$GCJX" >&6
15440 echo "$as_me:$LINENO: result: no" >&5
15441 echo "${ECHO_T}no" >&6
15447 if test "x${withval}" != xno; then
15449 if test "x" != x; then
15450 if test -f ""; then
15453 # Extract the first word of """", so it can be a program name with args.
15454 set dummy ""; ac_word=$2
15455 echo "$as_me:$LINENO: checking for $ac_word" >&5
15456 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
15457 if test "${ac_cv_path_GCJX+set}" = set; then
15458 echo $ECHO_N "(cached) $ECHO_C" >&6
15462 ac_cv_path_GCJX="$GCJX" # Let the user override the test with a path.
15465 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
15466 for as_dir in $PATH
15469 test -z "$as_dir" && as_dir=.
15470 for ac_exec_ext in '' $ac_executable_extensions; do
15471 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
15472 ac_cv_path_GCJX="$as_dir/$ac_word$ac_exec_ext"
15473 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
15482 GCJX=$ac_cv_path_GCJX
15484 if test -n "$GCJX"; then
15485 echo "$as_me:$LINENO: result: $GCJX" >&5
15486 echo "${ECHO_T}$GCJX" >&6
15488 echo "$as_me:$LINENO: result: no" >&5
15489 echo "${ECHO_T}no" >&6
15494 # Extract the first word of ""gcjx"", so it can be a program name with args.
15495 set dummy "gcjx"; ac_word=$2
15496 echo "$as_me:$LINENO: checking for $ac_word" >&5
15497 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
15498 if test "${ac_cv_path_GCJX+set}" = set; then
15499 echo $ECHO_N "(cached) $ECHO_C" >&6
15503 ac_cv_path_GCJX="$GCJX" # Let the user override the test with a path.
15506 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
15507 for as_dir in $PATH
15510 test -z "$as_dir" && as_dir=.
15511 for ac_exec_ext in '' $ac_executable_extensions; do
15512 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
15513 ac_cv_path_GCJX="$as_dir/$ac_word$ac_exec_ext"
15514 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
15523 GCJX=$ac_cv_path_GCJX
15525 if test -n "$GCJX"; then
15526 echo "$as_me:$LINENO: result: $GCJX" >&5
15527 echo "${ECHO_T}$GCJX" >&6
15529 echo "$as_me:$LINENO: result: no" >&5
15530 echo "${ECHO_T}no" >&6
15537 user_specified_javac=gcjx
15542 if test "x" != x; then
15543 if test -f ""; then
15546 # Extract the first word of """", so it can be a program name with args.
15547 set dummy ""; ac_word=$2
15548 echo "$as_me:$LINENO: checking for $ac_word" >&5
15549 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
15550 if test "${ac_cv_path_GCJX+set}" = set; then
15551 echo $ECHO_N "(cached) $ECHO_C" >&6
15555 ac_cv_path_GCJX="$GCJX" # Let the user override the test with a path.
15558 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
15559 for as_dir in $PATH
15562 test -z "$as_dir" && as_dir=.
15563 for ac_exec_ext in '' $ac_executable_extensions; do
15564 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
15565 ac_cv_path_GCJX="$as_dir/$ac_word$ac_exec_ext"
15566 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
15575 GCJX=$ac_cv_path_GCJX
15577 if test -n "$GCJX"; then
15578 echo "$as_me:$LINENO: result: $GCJX" >&5
15579 echo "${ECHO_T}$GCJX" >&6
15581 echo "$as_me:$LINENO: result: no" >&5
15582 echo "${ECHO_T}no" >&6
15587 # Extract the first word of ""gcjx"", so it can be a program name with args.
15588 set dummy "gcjx"; ac_word=$2
15589 echo "$as_me:$LINENO: checking for $ac_word" >&5
15590 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
15591 if test "${ac_cv_path_GCJX+set}" = set; then
15592 echo $ECHO_N "(cached) $ECHO_C" >&6
15596 ac_cv_path_GCJX="$GCJX" # Let the user override the test with a path.
15599 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
15600 for as_dir in $PATH
15603 test -z "$as_dir" && as_dir=.
15604 for ac_exec_ext in '' $ac_executable_extensions; do
15605 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
15606 ac_cv_path_GCJX="$as_dir/$ac_word$ac_exec_ext"
15607 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
15616 GCJX=$ac_cv_path_GCJX
15618 if test -n "$GCJX"; then
15619 echo "$as_me:$LINENO: result: $GCJX" >&5
15620 echo "${ECHO_T}$GCJX" >&6
15622 echo "$as_me:$LINENO: result: no" >&5
15623 echo "${ECHO_T}no" >&6
15634 # Check whether --with-ecj or --without-ecj was given.
15635 if test "${with_ecj+set}" = set; then
15636 withval="$with_ecj"
15638 if test "x${withval}" != x && test "x${withval}" != xyes && test "x${withval}" != xno; then
15640 if test "x${withval}" != x; then
15641 if test -f "${withval}"; then
15644 # Extract the first word of ""${withval}"", so it can be a program name with args.
15645 set dummy "${withval}"; ac_word=$2
15646 echo "$as_me:$LINENO: checking for $ac_word" >&5
15647 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
15648 if test "${ac_cv_path_ECJ+set}" = set; then
15649 echo $ECHO_N "(cached) $ECHO_C" >&6
15653 ac_cv_path_ECJ="$ECJ" # Let the user override the test with a path.
15656 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
15657 for as_dir in $PATH
15660 test -z "$as_dir" && as_dir=.
15661 for ac_exec_ext in '' $ac_executable_extensions; do
15662 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
15663 ac_cv_path_ECJ="$as_dir/$ac_word$ac_exec_ext"
15664 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
15673 ECJ=$ac_cv_path_ECJ
15675 if test -n "$ECJ"; then
15676 echo "$as_me:$LINENO: result: $ECJ" >&5
15677 echo "${ECHO_T}$ECJ" >&6
15679 echo "$as_me:$LINENO: result: no" >&5
15680 echo "${ECHO_T}no" >&6
15685 # Extract the first word of ""ecj"", so it can be a program name with args.
15686 set dummy "ecj"; ac_word=$2
15687 echo "$as_me:$LINENO: checking for $ac_word" >&5
15688 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
15689 if test "${ac_cv_path_ECJ+set}" = set; then
15690 echo $ECHO_N "(cached) $ECHO_C" >&6
15694 ac_cv_path_ECJ="$ECJ" # Let the user override the test with a path.
15697 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
15698 for as_dir in $PATH
15701 test -z "$as_dir" && as_dir=.
15702 for ac_exec_ext in '' $ac_executable_extensions; do
15703 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
15704 ac_cv_path_ECJ="$as_dir/$ac_word$ac_exec_ext"
15705 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
15714 ECJ=$ac_cv_path_ECJ
15716 if test -n "$ECJ"; then
15717 echo "$as_me:$LINENO: result: $ECJ" >&5
15718 echo "${ECHO_T}$ECJ" >&6
15720 echo "$as_me:$LINENO: result: no" >&5
15721 echo "${ECHO_T}no" >&6
15727 if test "x${withval}" != xno; then
15729 if test "x" != x; then
15730 if test -f ""; then
15733 # Extract the first word of """", so it can be a program name with args.
15734 set dummy ""; ac_word=$2
15735 echo "$as_me:$LINENO: checking for $ac_word" >&5
15736 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
15737 if test "${ac_cv_path_ECJ+set}" = set; then
15738 echo $ECHO_N "(cached) $ECHO_C" >&6
15742 ac_cv_path_ECJ="$ECJ" # Let the user override the test with a path.
15745 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
15746 for as_dir in $PATH
15749 test -z "$as_dir" && as_dir=.
15750 for ac_exec_ext in '' $ac_executable_extensions; do
15751 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
15752 ac_cv_path_ECJ="$as_dir/$ac_word$ac_exec_ext"
15753 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
15762 ECJ=$ac_cv_path_ECJ
15764 if test -n "$ECJ"; then
15765 echo "$as_me:$LINENO: result: $ECJ" >&5
15766 echo "${ECHO_T}$ECJ" >&6
15768 echo "$as_me:$LINENO: result: no" >&5
15769 echo "${ECHO_T}no" >&6
15774 # Extract the first word of ""ecj"", so it can be a program name with args.
15775 set dummy "ecj"; ac_word=$2
15776 echo "$as_me:$LINENO: checking for $ac_word" >&5
15777 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
15778 if test "${ac_cv_path_ECJ+set}" = set; then
15779 echo $ECHO_N "(cached) $ECHO_C" >&6
15783 ac_cv_path_ECJ="$ECJ" # Let the user override the test with a path.
15786 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
15787 for as_dir in $PATH
15790 test -z "$as_dir" && as_dir=.
15791 for ac_exec_ext in '' $ac_executable_extensions; do
15792 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
15793 ac_cv_path_ECJ="$as_dir/$ac_word$ac_exec_ext"
15794 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
15803 ECJ=$ac_cv_path_ECJ
15805 if test -n "$ECJ"; then
15806 echo "$as_me:$LINENO: result: $ECJ" >&5
15807 echo "${ECHO_T}$ECJ" >&6
15809 echo "$as_me:$LINENO: result: no" >&5
15810 echo "${ECHO_T}no" >&6
15817 user_specified_javac=ecj
15822 if test "x" != x; then
15823 if test -f ""; then
15826 # Extract the first word of """", so it can be a program name with args.
15827 set dummy ""; ac_word=$2
15828 echo "$as_me:$LINENO: checking for $ac_word" >&5
15829 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
15830 if test "${ac_cv_path_ECJ+set}" = set; then
15831 echo $ECHO_N "(cached) $ECHO_C" >&6
15835 ac_cv_path_ECJ="$ECJ" # Let the user override the test with a path.
15838 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
15839 for as_dir in $PATH
15842 test -z "$as_dir" && as_dir=.
15843 for ac_exec_ext in '' $ac_executable_extensions; do
15844 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
15845 ac_cv_path_ECJ="$as_dir/$ac_word$ac_exec_ext"
15846 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
15855 ECJ=$ac_cv_path_ECJ
15857 if test -n "$ECJ"; then
15858 echo "$as_me:$LINENO: result: $ECJ" >&5
15859 echo "${ECHO_T}$ECJ" >&6
15861 echo "$as_me:$LINENO: result: no" >&5
15862 echo "${ECHO_T}no" >&6
15867 # Extract the first word of ""ecj"", so it can be a program name with args.
15868 set dummy "ecj"; ac_word=$2
15869 echo "$as_me:$LINENO: checking for $ac_word" >&5
15870 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
15871 if test "${ac_cv_path_ECJ+set}" = set; then
15872 echo $ECHO_N "(cached) $ECHO_C" >&6
15876 ac_cv_path_ECJ="$ECJ" # Let the user override the test with a path.
15879 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
15880 for as_dir in $PATH
15883 test -z "$as_dir" && as_dir=.
15884 for ac_exec_ext in '' $ac_executable_extensions; do
15885 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
15886 ac_cv_path_ECJ="$as_dir/$ac_word$ac_exec_ext"
15887 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
15896 ECJ=$ac_cv_path_ECJ
15898 if test -n "$ECJ"; then
15899 echo "$as_me:$LINENO: result: $ECJ" >&5
15900 echo "${ECHO_T}$ECJ" >&6
15902 echo "$as_me:$LINENO: result: no" >&5
15903 echo "${ECHO_T}no" >&6
15913 if test "x${user_specified_javac}" = x; then
15916 if test "x${GCJ}" != x; then
15918 FOUND_GCJ_FALSE='#'
15926 if test "x${JIKES}" != x; then
15928 FOUND_JIKES_FALSE='#'
15930 FOUND_JIKES_TRUE='#'
15936 if test "x${ECJ}" != x; then
15938 FOUND_ECJ_FALSE='#'
15947 if test "x${user_specified_javac}" = xgcj; then
15949 FOUND_GCJ_FALSE='#'
15957 if test "x${user_specified_javac}" = xjikes; then
15959 FOUND_JIKES_FALSE='#'
15961 FOUND_JIKES_TRUE='#'
15967 if test "x${user_specified_javac}" = xecj; then
15969 FOUND_ECJ_FALSE='#'
15978 if test "x${user_specified_javac}" = xkjc; then
15980 FOUND_KJC_FALSE='#'
15988 if test "x${user_specified_javac}" = xgcjx; then
15990 FOUND_GCJX_FALSE='#'
15992 FOUND_GCJX_TRUE='#'
15997 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
15998 { { echo "$as_me:$LINENO: error: cannot find javac, try --with-gcj, --with-jikes, --with-kjc, --with-ecj, or --with-gcjx" >&5
15999 echo "$as_me: error: cannot find javac, try --with-gcj, --with-jikes, --with-kjc, --with-ecj, or --with-gcjx" >&2;}
16000 { (exit 1); exit 1; }; }
16006 # Check whether --with-classpath or --without-classpath was given.
16007 if test "${with_classpath+set}" = set; then
16008 withval="$with_classpath"
16010 if test "x${withval}" = xyes; then
16011 # set user classpath to CLASSPATH from env
16012 echo "$as_me:$LINENO: checking for classlib" >&5
16013 echo $ECHO_N "checking for classlib... $ECHO_C" >&6
16014 USER_CLASSLIB=${CLASSPATH}
16016 echo "$as_me:$LINENO: result: ${USER_CLASSLIB}" >&5
16017 echo "${ECHO_T}${USER_CLASSLIB}" >&6
16018 conditional_with_classlib=true
16019 elif test "x${withval}" != x && test "x${withval}" != xno; then
16020 # set user classpath to specified value
16021 echo "$as_me:$LINENO: checking for classlib" >&5
16022 echo $ECHO_N "checking for classlib... $ECHO_C" >&6
16023 USER_CLASSLIB=${withval}
16025 echo "$as_me:$LINENO: result: ${withval}" >&5
16026 echo "${ECHO_T}${withval}" >&6
16027 conditional_with_classlib=true
16031 conditional_with_classlib=false
16035 if test "x${conditional_with_classlib}" = xtrue; then
16036 USER_SPECIFIED_CLASSLIB_TRUE=
16037 USER_SPECIFIED_CLASSLIB_FALSE='#'
16039 USER_SPECIFIED_CLASSLIB_TRUE='#'
16040 USER_SPECIFIED_CLASSLIB_FALSE=
16045 # Check whether --with-vm-classes or --without-vm-classes was given.
16046 if test "${with_vm_classes+set}" = set; then
16047 withval="$with_vm_classes"
16048 vm_classes="$with_vm_classes"
16050 vm_classes='${top_srcdir}/vm/reference'
16055 echo "$as_me:$LINENO: checking whether to enable maintainer-specific portions of Makefiles" >&5
16056 echo $ECHO_N "checking whether to enable maintainer-specific portions of Makefiles... $ECHO_C" >&6
16057 # Check whether --enable-maintainer-mode or --disable-maintainer-mode was given.
16058 if test "${enable_maintainer_mode+set}" = set; then
16059 enableval="$enable_maintainer_mode"
16060 USE_MAINTAINER_MODE=$enableval
16062 USE_MAINTAINER_MODE=no
16064 echo "$as_me:$LINENO: result: $USE_MAINTAINER_MODE" >&5
16065 echo "${ECHO_T}$USE_MAINTAINER_MODE" >&6
16068 if test $USE_MAINTAINER_MODE = yes; then
16069 MAINTAINER_MODE_TRUE=
16070 MAINTAINER_MODE_FALSE='#'
16072 MAINTAINER_MODE_TRUE='#'
16073 MAINTAINER_MODE_FALSE=
16076 MAINT=$MAINTAINER_MODE_TRUE
16080 # Check whether --enable-debug or --disable-debug was given.
16081 if test "${enable_debug+set}" = set; then
16082 enableval="$enable_debug"
16083 case "${enableval}" in
16087 cat >>confdefs.h <<\_ACEOF
16092 no) LIBDEBUG="false" ;;
16093 *) { { echo "$as_me:$LINENO: error: bad value ${enableval} for --enable-debug" >&5
16094 echo "$as_me: error: bad value ${enableval} for --enable-debug" >&2;}
16095 { (exit 1); exit 1; }; } ;;
16102 # Check whether --enable-load-library or --disable-load-library was given.
16103 if test "${enable_load_library+set}" = set; then
16104 enableval="$enable_load_library"
16105 case "${enableval}" in
16106 yes) INIT_LOAD_LIBRARY="true" ;;
16107 no) INIT_LOAD_LIBRARY="false" ;;
16108 *) { { echo "$as_me:$LINENO: error: bad value ${enableval} for --enable-load-library" >&5
16109 echo "$as_me: error: bad value ${enableval} for --enable-load-library" >&2;}
16110 { (exit 1); exit 1; }; } ;;
16113 INIT_LOAD_LIBRARY="true"
16118 # Check whether --enable-java-lang-system-explicit-initialization or --disable-java-lang-system-explicit-initialization was given.
16119 if test "${enable_java_lang_system_explicit_initialization+set}" = set; then
16120 enableval="$enable_java_lang_system_explicit_initialization"
16121 case "${enableval}" in
16122 yes|true) JAVA_LANG_SYSTEM_EXPLICIT_INITIALIZATION="true" ;;
16123 no|false) JAVA_LANG_SYSTEM_EXPLICIT_INITIALIZATION="false" ;;
16124 *) { { echo "$as_me:$LINENO: error: bad value ${enableval} for --enable-java-lang-system-explicit-initialization" >&5
16125 echo "$as_me: error: bad value ${enableval} for --enable-java-lang-system-explicit-initialization" >&2;}
16126 { (exit 1); exit 1; }; } ;;
16129 JAVA_LANG_SYSTEM_EXPLICIT_INITIALIZATION="false"
16137 # Extract the first word of "mkdir", so it can be a program name with args.
16138 set dummy mkdir; ac_word=$2
16139 echo "$as_me:$LINENO: checking for $ac_word" >&5
16140 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
16141 if test "${ac_cv_path_MKDIR+set}" = set; then
16142 echo $ECHO_N "(cached) $ECHO_C" >&6
16146 ac_cv_path_MKDIR="$MKDIR" # Let the user override the test with a path.
16149 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
16150 for as_dir in $PATH
16153 test -z "$as_dir" && as_dir=.
16154 for ac_exec_ext in '' $ac_executable_extensions; do
16155 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
16156 ac_cv_path_MKDIR="$as_dir/$ac_word$ac_exec_ext"
16157 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
16166 MKDIR=$ac_cv_path_MKDIR
16168 if test -n "$MKDIR"; then
16169 echo "$as_me:$LINENO: result: $MKDIR" >&5
16170 echo "${ECHO_T}$MKDIR" >&6
16172 echo "$as_me:$LINENO: result: no" >&5
16173 echo "${ECHO_T}no" >&6
16176 # Extract the first word of "cp", so it can be a program name with args.
16177 set dummy cp; ac_word=$2
16178 echo "$as_me:$LINENO: checking for $ac_word" >&5
16179 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
16180 if test "${ac_cv_path_CP+set}" = set; then
16181 echo $ECHO_N "(cached) $ECHO_C" >&6
16185 ac_cv_path_CP="$CP" # Let the user override the test with a path.
16188 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
16189 for as_dir in $PATH
16192 test -z "$as_dir" && as_dir=.
16193 for ac_exec_ext in '' $ac_executable_extensions; do
16194 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
16195 ac_cv_path_CP="$as_dir/$ac_word$ac_exec_ext"
16196 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
16207 if test -n "$CP"; then
16208 echo "$as_me:$LINENO: result: $CP" >&5
16209 echo "${ECHO_T}$CP" >&6
16211 echo "$as_me:$LINENO: result: no" >&5
16212 echo "${ECHO_T}no" >&6
16215 # Extract the first word of "date", so it can be a program name with args.
16216 set dummy date; ac_word=$2
16217 echo "$as_me:$LINENO: checking for $ac_word" >&5
16218 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
16219 if test "${ac_cv_path_DATE+set}" = set; then
16220 echo $ECHO_N "(cached) $ECHO_C" >&6
16224 ac_cv_path_DATE="$DATE" # Let the user override the test with a path.
16227 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
16228 for as_dir in $PATH
16231 test -z "$as_dir" && as_dir=.
16232 for ac_exec_ext in '' $ac_executable_extensions; do
16233 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
16234 ac_cv_path_DATE="$as_dir/$ac_word$ac_exec_ext"
16235 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
16244 DATE=$ac_cv_path_DATE
16246 if test -n "$DATE"; then
16247 echo "$as_me:$LINENO: result: $DATE" >&5
16248 echo "${ECHO_T}$DATE" >&6
16250 echo "$as_me:$LINENO: result: no" >&5
16251 echo "${ECHO_T}no" >&6
16255 # Extract the first word of "find", so it can be a program name with args.
16256 set dummy find; ac_word=$2
16257 echo "$as_me:$LINENO: checking for $ac_word" >&5
16258 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
16259 if test "${ac_cv_path_FIND+set}" = set; then
16260 echo $ECHO_N "(cached) $ECHO_C" >&6
16264 ac_cv_path_FIND="$FIND" # Let the user override the test with a path.
16267 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
16268 for as_dir in $PATH
16271 test -z "$as_dir" && as_dir=.
16272 for ac_exec_ext in '' $ac_executable_extensions; do
16273 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
16274 ac_cv_path_FIND="$as_dir/$ac_word$ac_exec_ext"
16275 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
16284 FIND=$ac_cv_path_FIND
16286 if test -n "$FIND"; then
16287 echo "$as_me:$LINENO: result: $FIND" >&5
16288 echo "${ECHO_T}$FIND" >&6
16290 echo "$as_me:$LINENO: result: no" >&5
16291 echo "${ECHO_T}no" >&6
16296 # Extract the first word of "zip", so it can be a program name with args.
16297 set dummy zip; ac_word=$2
16298 echo "$as_me:$LINENO: checking for $ac_word" >&5
16299 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
16300 if test "${ac_cv_path_ZIP+set}" = set; then
16301 echo $ECHO_N "(cached) $ECHO_C" >&6
16305 ac_cv_path_ZIP="$ZIP" # Let the user override the test with a path.
16308 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
16309 for as_dir in $PATH
16312 test -z "$as_dir" && as_dir=.
16313 for ac_exec_ext in '' $ac_executable_extensions; do
16314 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
16315 ac_cv_path_ZIP="$as_dir/$ac_word$ac_exec_ext"
16316 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
16325 ZIP=$ac_cv_path_ZIP
16327 if test -n "$ZIP"; then
16328 echo "$as_me:$LINENO: result: $ZIP" >&5
16329 echo "${ECHO_T}$ZIP" >&6
16331 echo "$as_me:$LINENO: result: no" >&5
16332 echo "${ECHO_T}no" >&6
16336 # Check whether --with-fastjar or --without-fastjar was given.
16337 if test "${with_fastjar+set}" = set; then
16338 withval="$with_fastjar"
16340 echo "$as_me:$LINENO: checking for user supplied fastjar" >&5
16341 echo $ECHO_N "checking for user supplied fastjar... $ECHO_C" >&6
16343 echo "$as_me:$LINENO: result: ${FASTJAR}" >&5
16344 echo "${ECHO_T}${FASTJAR}" >&6
16347 # Extract the first word of "fastjar", so it can be a program name with args.
16348 set dummy fastjar; ac_word=$2
16349 echo "$as_me:$LINENO: checking for $ac_word" >&5
16350 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
16351 if test "${ac_cv_path_FASTJAR+set}" = set; then
16352 echo $ECHO_N "(cached) $ECHO_C" >&6
16356 ac_cv_path_FASTJAR="$FASTJAR" # Let the user override the test with a path.
16359 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
16360 for as_dir in $PATH
16363 test -z "$as_dir" && as_dir=.
16364 for ac_exec_ext in '' $ac_executable_extensions; do
16365 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
16366 ac_cv_path_FASTJAR="$as_dir/$ac_word$ac_exec_ext"
16367 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
16376 FASTJAR=$ac_cv_path_FASTJAR
16378 if test -n "$FASTJAR"; then
16379 echo "$as_me:$LINENO: result: $FASTJAR" >&5
16380 echo "${ECHO_T}$FASTJAR" >&6
16382 echo "$as_me:$LINENO: result: no" >&5
16383 echo "${ECHO_T}no" >&6
16387 if test x"${FASTJAR}" != x; then
16392 # Check whether --with-glibj or --without-glibj was given.
16393 if test "${with_glibj+set}" = set; then
16394 withval="$with_glibj"
16396 if test "x${withval}" = xyes || test "x${withval}" = xzip; then
16397 install_class_files=no
16398 build_class_files=yes
16400 elif test "x${withval}" = xboth; then
16401 install_class_files=yes
16402 build_class_files=yes
16404 elif test "x${withval}" = xflat; then
16405 install_class_files=yes
16406 build_class_files=yes
16408 elif test "x${withval}" = xno || test "x${withval}" = xnone; then
16409 install_class_files=no
16410 build_class_files=no
16412 elif test "x${withval}" = xbuild; then
16413 install_class_files=no
16414 build_class_files=yes
16417 { { echo "$as_me:$LINENO: error: unknown value given to --with-glibj" >&5
16418 echo "$as_me: error: unknown value given to --with-glibj" >&2;}
16419 { (exit 1); exit 1; }; }
16424 install_class_files=no
16430 if test "x${use_zip}" = xyes; then
16431 INSTALL_GLIBJ_ZIP_TRUE=
16432 INSTALL_GLIBJ_ZIP_FALSE='#'
16434 INSTALL_GLIBJ_ZIP_TRUE='#'
16435 INSTALL_GLIBJ_ZIP_FALSE=
16440 if test "x${install_class_files}" = xyes; then
16441 INSTALL_CLASS_FILES_TRUE=
16442 INSTALL_CLASS_FILES_FALSE='#'
16444 INSTALL_CLASS_FILES_TRUE='#'
16445 INSTALL_CLASS_FILES_FALSE=
16450 if test "x${build_class_files}" = xyes; then
16451 BUILD_CLASS_FILES_TRUE=
16452 BUILD_CLASS_FILES_FALSE='#'
16454 BUILD_CLASS_FILES_TRUE='#'
16455 BUILD_CLASS_FILES_FALSE=
16459 # Check whether --enable-examples or --disable-examples was given.
16460 if test "${enable_examples+set}" = set; then
16461 enableval="$enable_examples"
16462 case "${enableval}" in
16463 yes) EXAMPLESDIR="examples" ;;
16464 no) EXAMPLESDIR="" ;;
16465 *) { { echo "$as_me:$LINENO: error: bad value ${enableval} for --enable-examples" >&5
16466 echo "$as_me: error: bad value ${enableval} for --enable-examples" >&2;}
16467 { (exit 1); exit 1; }; } ;;
16470 EXAMPLESDIR="examples"
16472 if test "x${use_zip}" = xno && test "x${install_class_files}" = xno; then
16480 # Check whether --with-gjdoc or --without-gjdoc was given.
16481 if test "${with_gjdoc+set}" = set; then
16482 withval="$with_gjdoc"
16483 if test "x${withval}" = xno; then
16485 elif test "x${withval}" = xyes -o "x{withval}" = x; then
16487 # Extract the first word of "gjdoc", so it can be a program name with args.
16488 set dummy gjdoc; ac_word=$2
16489 echo "$as_me:$LINENO: checking for $ac_word" >&5
16490 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
16491 if test "${ac_cv_path_GJDOC+set}" = set; then
16492 echo $ECHO_N "(cached) $ECHO_C" >&6
16496 ac_cv_path_GJDOC="$GJDOC" # Let the user override the test with a path.
16499 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
16500 for as_dir in $PATH
16503 test -z "$as_dir" && as_dir=.
16504 for ac_exec_ext in '' $ac_executable_extensions; do
16505 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
16506 ac_cv_path_GJDOC="$as_dir/$ac_word$ac_exec_ext"
16507 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
16513 test -z "$ac_cv_path_GJDOC" && ac_cv_path_GJDOC=""no""
16517 GJDOC=$ac_cv_path_GJDOC
16519 if test -n "$GJDOC"; then
16520 echo "$as_me:$LINENO: result: $GJDOC" >&5
16521 echo "${ECHO_T}$GJDOC" >&6
16523 echo "$as_me:$LINENO: result: no" >&5
16524 echo "${ECHO_T}no" >&6
16527 if test "x${GJDOC}" = xno; then
16528 { { echo "$as_me:$LINENO: error: \"gjdoc executable not found\"" >&5
16529 echo "$as_me: error: \"gjdoc executable not found\"" >&2;}
16530 { (exit 1); exit 1; }; };
16535 as_ac_File=`echo "ac_cv_file_${GJDOC}" | $as_tr_sh`
16536 echo "$as_me:$LINENO: checking for ${GJDOC}" >&5
16537 echo $ECHO_N "checking for ${GJDOC}... $ECHO_C" >&6
16538 if eval "test \"\${$as_ac_File+set}\" = set"; then
16539 echo $ECHO_N "(cached) $ECHO_C" >&6
16541 test "$cross_compiling" = yes &&
16542 { { echo "$as_me:$LINENO: error: cannot check for file existence when cross compiling" >&5
16543 echo "$as_me: error: cannot check for file existence when cross compiling" >&2;}
16544 { (exit 1); exit 1; }; }
16545 if test -r "${GJDOC}"; then
16546 eval "$as_ac_File=yes"
16548 eval "$as_ac_File=no"
16551 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_File'}'`" >&5
16552 echo "${ECHO_T}`eval echo '${'$as_ac_File'}'`" >&6
16553 if test `eval echo '${'$as_ac_File'}'` = yes; then
16556 { { echo "$as_me:$LINENO: error: \"Cannot use ${withval} as gjdoc executable since it doesn't exist\"" >&5
16557 echo "$as_me: error: \"Cannot use ${withval} as gjdoc executable since it doesn't exist\"" >&2;}
16558 { (exit 1); exit 1; }; }
16568 if test "x${WITH_GJDOC}" = xyes; then
16569 CREATE_API_DOCS_TRUE=
16570 CREATE_API_DOCS_FALSE='#'
16572 CREATE_API_DOCS_TRUE='#'
16573 CREATE_API_DOCS_FALSE=
16580 # Check whether --with-jay or --without-jay was given.
16581 if test "${with_jay+set}" = set; then
16582 withval="$with_jay"
16584 if test -d "${withval}"; then
16585 JAY_DIR_PATH="${withval}"
16586 # Extract the first word of "jay", so it can be a program name with args.
16587 set dummy jay; ac_word=$2
16588 echo "$as_me:$LINENO: checking for $ac_word" >&5
16589 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
16590 if test "${ac_cv_path_JAY+set}" = set; then
16591 echo $ECHO_N "(cached) $ECHO_C" >&6
16595 ac_cv_path_JAY="$JAY" # Let the user override the test with a path.
16598 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
16599 for as_dir in ${JAY_DIR_PATH}
16602 test -z "$as_dir" && as_dir=.
16603 for ac_exec_ext in '' $ac_executable_extensions; do
16604 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
16605 ac_cv_path_JAY="$as_dir/$ac_word$ac_exec_ext"
16606 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
16612 test -z "$ac_cv_path_JAY" && ac_cv_path_JAY=""no""
16616 JAY=$ac_cv_path_JAY
16618 if test -n "$JAY"; then
16619 echo "$as_me:$LINENO: result: $JAY" >&5
16620 echo "${ECHO_T}$JAY" >&6
16622 echo "$as_me:$LINENO: result: no" >&5
16623 echo "${ECHO_T}no" >&6
16626 if test "x${JAY}" = xno; then
16627 { { echo "$as_me:$LINENO: error: \"jay executable not found\"" >&5
16628 echo "$as_me: error: \"jay executable not found\"" >&2;}
16629 { (exit 1); exit 1; }; };
16632 JAY_DIR_PATH=`dirname "${withval}"`
16636 JAY_SKELETON="${JAY_DIR_PATH}/skeleton"
16637 as_ac_File=`echo "ac_cv_file_${JAY_SKELETON}" | $as_tr_sh`
16638 echo "$as_me:$LINENO: checking for ${JAY_SKELETON}" >&5
16639 echo $ECHO_N "checking for ${JAY_SKELETON}... $ECHO_C" >&6
16640 if eval "test \"\${$as_ac_File+set}\" = set"; then
16641 echo $ECHO_N "(cached) $ECHO_C" >&6
16643 test "$cross_compiling" = yes &&
16644 { { echo "$as_me:$LINENO: error: cannot check for file existence when cross compiling" >&5
16645 echo "$as_me: error: cannot check for file existence when cross compiling" >&2;}
16646 { (exit 1); exit 1; }; }
16647 if test -r "${JAY_SKELETON}"; then
16648 eval "$as_ac_File=yes"
16650 eval "$as_ac_File=no"
16653 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_File'}'`" >&5
16654 echo "${ECHO_T}`eval echo '${'$as_ac_File'}'`" >&6
16655 if test `eval echo '${'$as_ac_File'}'` = yes; then
16658 { { echo "$as_me:$LINENO: error: \"Expected skeleton file in \`dirname ${withval}\`\"" >&5
16659 echo "$as_me: error: \"Expected skeleton file in \`dirname ${withval}\`\"" >&2;}
16660 { (exit 1); exit 1; }; }
16672 if test "x${JAY_FOUND}" = xyes; then
16673 REGEN_PARSERS_TRUE=
16674 REGEN_PARSERS_FALSE='#'
16676 REGEN_PARSERS_TRUE='#'
16677 REGEN_PARSERS_FALSE=
16682 # Check whether --enable-portable-native-sync or --disable-portable-native-sync was given.
16683 if test "${enable_portable_native_sync+set}" = set; then
16684 enableval="$enable_portable_native_sync"
16685 case "${enableval}" in
16688 cat >>confdefs.h <<\_ACEOF
16689 #define PORTABLE_NATIVE_SYNC 1
16695 { { echo "$as_me:$LINENO: error: bad value ${enableval} for --enable-portable-native-sync" >&5
16696 echo "$as_me: error: bad value ${enableval} for --enable-portable-native-sync" >&2;}
16697 { (exit 1); exit 1; }; }
16702 # ------ AX CREATE STDINT H -------------------------------------
16703 echo "$as_me:$LINENO: checking for stdint types" >&5
16704 echo $ECHO_N "checking for stdint types... $ECHO_C" >&6
16705 ac_stdint_h=`echo include/config-int.h`
16706 # try to shortcircuit - if the default include path of the compiler
16707 # can find a "stdint.h" header then we assume that all compilers can.
16708 if test "${ac_cv_header_stdint_t+set}" = set; then
16709 echo $ECHO_N "(cached) $ECHO_C" >&6
16712 old_CXXFLAGS="$CXXFLAGS" ; CXXFLAGS=""
16713 old_CPPFLAGS="$CPPFLAGS" ; CPPFLAGS=""
16714 old_CFLAGS="$CFLAGS" ; CFLAGS=""
16715 cat >conftest.$ac_ext <<_ACEOF
16718 cat confdefs.h >>conftest.$ac_ext
16719 cat >>conftest.$ac_ext <<_ACEOF
16720 /* end confdefs.h. */
16721 #include <stdint.h>
16725 int_least32_t v = 0;
16730 rm -f conftest.$ac_objext
16731 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16732 (eval $ac_compile) 2>conftest.er1
16734 grep -v '^ *+' conftest.er1 >conftest.err
16736 cat conftest.err >&5
16737 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16738 (exit $ac_status); } &&
16739 { ac_try='test -z "$ac_c_werror_flag"
16740 || test ! -s conftest.err'
16741 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16742 (eval $ac_try) 2>&5
16744 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16745 (exit $ac_status); }; } &&
16746 { ac_try='test -s conftest.$ac_objext'
16747 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16748 (eval $ac_try) 2>&5
16750 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16751 (exit $ac_status); }; }; then
16752 ac_cv_stdint_result="(assuming C99 compatible system)"
16753 ac_cv_header_stdint_t="stdint.h";
16755 echo "$as_me: failed program was:" >&5
16756 sed 's/^/| /' conftest.$ac_ext >&5
16758 ac_cv_header_stdint_t=""
16760 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
16761 CXXFLAGS="$old_CXXFLAGS"
16762 CPPFLAGS="$old_CPPFLAGS"
16763 CFLAGS="$old_CFLAGS"
16767 v="... $ac_cv_header_stdint_h"
16768 if test "$ac_stdint_h" = "stdint.h" ; then
16769 echo "$as_me:$LINENO: result: (are you sure you want them in ./stdint.h?)" >&5
16770 echo "${ECHO_T}(are you sure you want them in ./stdint.h?)" >&6
16771 elif test "$ac_stdint_h" = "inttypes.h" ; then
16772 echo "$as_me:$LINENO: result: (are you sure you want them in ./inttypes.h?)" >&5
16773 echo "${ECHO_T}(are you sure you want them in ./inttypes.h?)" >&6
16774 elif test "_$ac_cv_header_stdint_t" = "_" ; then
16775 echo "$as_me:$LINENO: result: (putting them into $ac_stdint_h)$v" >&5
16776 echo "${ECHO_T}(putting them into $ac_stdint_h)$v" >&6
16778 ac_cv_header_stdint="$ac_cv_header_stdint_t"
16779 echo "$as_me:$LINENO: result: $ac_cv_header_stdint (shortcircuit)" >&5
16780 echo "${ECHO_T}$ac_cv_header_stdint (shortcircuit)" >&6
16783 if test "_$ac_cv_header_stdint_t" = "_" ; then # can not shortcircuit..
16786 inttype_headers=`echo | sed -e 's/,/ /g'`
16788 ac_cv_stdint_result="(no helpful system typedefs seen)"
16790 echo "$as_me:$LINENO: checking for stdint uintptr_t" >&5
16791 echo $ECHO_N "checking for stdint uintptr_t... $ECHO_C" >&6
16792 if test "${ac_cv_header_stdint_x+set}" = set; then
16793 echo $ECHO_N "(cached) $ECHO_C" >&6
16796 ac_cv_header_stdint_x="" # the 1997 typedefs (inttypes.h)
16797 echo "$as_me:$LINENO: result: (..)" >&5
16798 echo "${ECHO_T}(..)" >&6
16799 for i in stdint.h inttypes.h sys/inttypes.h $inttype_headers ; do
16800 unset ac_cv_type_uintptr_t
16801 unset ac_cv_type_uint64_t
16802 echo "$as_me:$LINENO: checking for uintptr_t" >&5
16803 echo $ECHO_N "checking for uintptr_t... $ECHO_C" >&6
16804 if test "${ac_cv_type_uintptr_t+set}" = set; then
16805 echo $ECHO_N "(cached) $ECHO_C" >&6
16807 cat >conftest.$ac_ext <<_ACEOF
16810 cat confdefs.h >>conftest.$ac_ext
16811 cat >>conftest.$ac_ext <<_ACEOF
16812 /* end confdefs.h. */
16818 if ((uintptr_t *) 0)
16820 if (sizeof (uintptr_t))
16826 rm -f conftest.$ac_objext
16827 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16828 (eval $ac_compile) 2>conftest.er1
16830 grep -v '^ *+' conftest.er1 >conftest.err
16832 cat conftest.err >&5
16833 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16834 (exit $ac_status); } &&
16835 { ac_try='test -z "$ac_c_werror_flag"
16836 || test ! -s conftest.err'
16837 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16838 (eval $ac_try) 2>&5
16840 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16841 (exit $ac_status); }; } &&
16842 { ac_try='test -s conftest.$ac_objext'
16843 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16844 (eval $ac_try) 2>&5
16846 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16847 (exit $ac_status); }; }; then
16848 ac_cv_type_uintptr_t=yes
16850 echo "$as_me: failed program was:" >&5
16851 sed 's/^/| /' conftest.$ac_ext >&5
16853 ac_cv_type_uintptr_t=no
16855 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
16857 echo "$as_me:$LINENO: result: $ac_cv_type_uintptr_t" >&5
16858 echo "${ECHO_T}$ac_cv_type_uintptr_t" >&6
16859 if test $ac_cv_type_uintptr_t = yes; then
16860 ac_cv_header_stdint_x=$i
16865 echo "$as_me:$LINENO: checking for uint64_t" >&5
16866 echo $ECHO_N "checking for uint64_t... $ECHO_C" >&6
16867 if test "${ac_cv_type_uint64_t+set}" = set; then
16868 echo $ECHO_N "(cached) $ECHO_C" >&6
16870 cat >conftest.$ac_ext <<_ACEOF
16873 cat confdefs.h >>conftest.$ac_ext
16874 cat >>conftest.$ac_ext <<_ACEOF
16875 /* end confdefs.h. */
16881 if ((uint64_t *) 0)
16883 if (sizeof (uint64_t))
16889 rm -f conftest.$ac_objext
16890 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16891 (eval $ac_compile) 2>conftest.er1
16893 grep -v '^ *+' conftest.er1 >conftest.err
16895 cat conftest.err >&5
16896 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16897 (exit $ac_status); } &&
16898 { ac_try='test -z "$ac_c_werror_flag"
16899 || test ! -s conftest.err'
16900 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16901 (eval $ac_try) 2>&5
16903 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16904 (exit $ac_status); }; } &&
16905 { ac_try='test -s conftest.$ac_objext'
16906 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16907 (eval $ac_try) 2>&5
16909 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16910 (exit $ac_status); }; }; then
16911 ac_cv_type_uint64_t=yes
16913 echo "$as_me: failed program was:" >&5
16914 sed 's/^/| /' conftest.$ac_ext >&5
16916 ac_cv_type_uint64_t=no
16918 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
16920 echo "$as_me:$LINENO: result: $ac_cv_type_uint64_t" >&5
16921 echo "${ECHO_T}$ac_cv_type_uint64_t" >&6
16922 if test $ac_cv_type_uint64_t = yes; then
16928 stdint.h inttypes.h sys/inttypes.h $inttype_headers
16931 echo "$as_me:$LINENO: checking for stdint uintptr_t" >&5
16932 echo $ECHO_N "checking for stdint uintptr_t... $ECHO_C" >&6
16935 echo "$as_me:$LINENO: result: $ac_cv_header_stdint_x" >&5
16936 echo "${ECHO_T}$ac_cv_header_stdint_x" >&6
16939 if test "_$ac_cv_header_stdint_x" = "_" ; then
16941 echo "$as_me:$LINENO: checking for stdint uint32_t" >&5
16942 echo $ECHO_N "checking for stdint uint32_t... $ECHO_C" >&6
16943 if test "${ac_cv_header_stdint_o+set}" = set; then
16944 echo $ECHO_N "(cached) $ECHO_C" >&6
16947 ac_cv_header_stdint_o="" # the 1995 typedefs (sys/inttypes.h)
16948 echo "$as_me:$LINENO: result: (..)" >&5
16949 echo "${ECHO_T}(..)" >&6
16950 for i in inttypes.h sys/inttypes.h stdint.h $inttype_headers ; do
16951 unset ac_cv_type_uint32_t
16952 unset ac_cv_type_uint64_t
16953 echo "$as_me:$LINENO: checking for uint32_t" >&5
16954 echo $ECHO_N "checking for uint32_t... $ECHO_C" >&6
16955 if test "${ac_cv_type_uint32_t+set}" = set; then
16956 echo $ECHO_N "(cached) $ECHO_C" >&6
16958 cat >conftest.$ac_ext <<_ACEOF
16961 cat confdefs.h >>conftest.$ac_ext
16962 cat >>conftest.$ac_ext <<_ACEOF
16963 /* end confdefs.h. */
16969 if ((uint32_t *) 0)
16971 if (sizeof (uint32_t))
16977 rm -f conftest.$ac_objext
16978 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16979 (eval $ac_compile) 2>conftest.er1
16981 grep -v '^ *+' conftest.er1 >conftest.err
16983 cat conftest.err >&5
16984 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16985 (exit $ac_status); } &&
16986 { ac_try='test -z "$ac_c_werror_flag"
16987 || test ! -s conftest.err'
16988 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16989 (eval $ac_try) 2>&5
16991 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16992 (exit $ac_status); }; } &&
16993 { ac_try='test -s conftest.$ac_objext'
16994 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16995 (eval $ac_try) 2>&5
16997 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16998 (exit $ac_status); }; }; then
16999 ac_cv_type_uint32_t=yes
17001 echo "$as_me: failed program was:" >&5
17002 sed 's/^/| /' conftest.$ac_ext >&5
17004 ac_cv_type_uint32_t=no
17006 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
17008 echo "$as_me:$LINENO: result: $ac_cv_type_uint32_t" >&5
17009 echo "${ECHO_T}$ac_cv_type_uint32_t" >&6
17010 if test $ac_cv_type_uint32_t = yes; then
17011 ac_cv_header_stdint_o=$i
17016 echo "$as_me:$LINENO: checking for uint64_t" >&5
17017 echo $ECHO_N "checking for uint64_t... $ECHO_C" >&6
17018 if test "${ac_cv_type_uint64_t+set}" = set; then
17019 echo $ECHO_N "(cached) $ECHO_C" >&6
17021 cat >conftest.$ac_ext <<_ACEOF
17024 cat confdefs.h >>conftest.$ac_ext
17025 cat >>conftest.$ac_ext <<_ACEOF
17026 /* end confdefs.h. */
17032 if ((uint64_t *) 0)
17034 if (sizeof (uint64_t))
17040 rm -f conftest.$ac_objext
17041 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17042 (eval $ac_compile) 2>conftest.er1
17044 grep -v '^ *+' conftest.er1 >conftest.err
17046 cat conftest.err >&5
17047 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17048 (exit $ac_status); } &&
17049 { ac_try='test -z "$ac_c_werror_flag"
17050 || test ! -s conftest.err'
17051 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17052 (eval $ac_try) 2>&5
17054 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17055 (exit $ac_status); }; } &&
17056 { ac_try='test -s conftest.$ac_objext'
17057 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17058 (eval $ac_try) 2>&5
17060 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17061 (exit $ac_status); }; }; then
17062 ac_cv_type_uint64_t=yes
17064 echo "$as_me: failed program was:" >&5
17065 sed 's/^/| /' conftest.$ac_ext >&5
17067 ac_cv_type_uint64_t=no
17069 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
17071 echo "$as_me:$LINENO: result: $ac_cv_type_uint64_t" >&5
17072 echo "${ECHO_T}$ac_cv_type_uint64_t" >&6
17073 if test $ac_cv_type_uint64_t = yes; then
17079 inttypes.h sys/inttypes.h stdint.h $inttype_headers
17083 echo "$as_me:$LINENO: checking for stdint uint32_t" >&5
17084 echo $ECHO_N "checking for stdint uint32_t... $ECHO_C" >&6
17087 echo "$as_me:$LINENO: result: $ac_cv_header_stdint_o" >&5
17088 echo "${ECHO_T}$ac_cv_header_stdint_o" >&6
17092 if test "_$ac_cv_header_stdint_x" = "_" ; then
17093 if test "_$ac_cv_header_stdint_o" = "_" ; then
17095 echo "$as_me:$LINENO: checking for stdint u_int32_t" >&5
17096 echo $ECHO_N "checking for stdint u_int32_t... $ECHO_C" >&6
17097 if test "${ac_cv_header_stdint_u+set}" = set; then
17098 echo $ECHO_N "(cached) $ECHO_C" >&6
17101 ac_cv_header_stdint_u="" # the BSD typedefs (sys/types.h)
17102 echo "$as_me:$LINENO: result: (..)" >&5
17103 echo "${ECHO_T}(..)" >&6
17104 for i in sys/types.h inttypes.h sys/inttypes.h $inttype_headers ; do
17105 unset ac_cv_type_u_int32_t
17106 unset ac_cv_type_u_int64_t
17107 echo "$as_me:$LINENO: checking for u_int32_t" >&5
17108 echo $ECHO_N "checking for u_int32_t... $ECHO_C" >&6
17109 if test "${ac_cv_type_u_int32_t+set}" = set; then
17110 echo $ECHO_N "(cached) $ECHO_C" >&6
17112 cat >conftest.$ac_ext <<_ACEOF
17115 cat confdefs.h >>conftest.$ac_ext
17116 cat >>conftest.$ac_ext <<_ACEOF
17117 /* end confdefs.h. */
17123 if ((u_int32_t *) 0)
17125 if (sizeof (u_int32_t))
17131 rm -f conftest.$ac_objext
17132 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17133 (eval $ac_compile) 2>conftest.er1
17135 grep -v '^ *+' conftest.er1 >conftest.err
17137 cat conftest.err >&5
17138 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17139 (exit $ac_status); } &&
17140 { ac_try='test -z "$ac_c_werror_flag"
17141 || test ! -s conftest.err'
17142 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17143 (eval $ac_try) 2>&5
17145 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17146 (exit $ac_status); }; } &&
17147 { ac_try='test -s conftest.$ac_objext'
17148 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17149 (eval $ac_try) 2>&5
17151 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17152 (exit $ac_status); }; }; then
17153 ac_cv_type_u_int32_t=yes
17155 echo "$as_me: failed program was:" >&5
17156 sed 's/^/| /' conftest.$ac_ext >&5
17158 ac_cv_type_u_int32_t=no
17160 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
17162 echo "$as_me:$LINENO: result: $ac_cv_type_u_int32_t" >&5
17163 echo "${ECHO_T}$ac_cv_type_u_int32_t" >&6
17164 if test $ac_cv_type_u_int32_t = yes; then
17165 ac_cv_header_stdint_u=$i
17170 echo "$as_me:$LINENO: checking for u_int64_t" >&5
17171 echo $ECHO_N "checking for u_int64_t... $ECHO_C" >&6
17172 if test "${ac_cv_type_u_int64_t+set}" = set; then
17173 echo $ECHO_N "(cached) $ECHO_C" >&6
17175 cat >conftest.$ac_ext <<_ACEOF
17178 cat confdefs.h >>conftest.$ac_ext
17179 cat >>conftest.$ac_ext <<_ACEOF
17180 /* end confdefs.h. */
17186 if ((u_int64_t *) 0)
17188 if (sizeof (u_int64_t))
17194 rm -f conftest.$ac_objext
17195 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17196 (eval $ac_compile) 2>conftest.er1
17198 grep -v '^ *+' conftest.er1 >conftest.err
17200 cat conftest.err >&5
17201 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17202 (exit $ac_status); } &&
17203 { ac_try='test -z "$ac_c_werror_flag"
17204 || test ! -s conftest.err'
17205 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17206 (eval $ac_try) 2>&5
17208 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17209 (exit $ac_status); }; } &&
17210 { ac_try='test -s conftest.$ac_objext'
17211 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17212 (eval $ac_try) 2>&5
17214 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17215 (exit $ac_status); }; }; then
17216 ac_cv_type_u_int64_t=yes
17218 echo "$as_me: failed program was:" >&5
17219 sed 's/^/| /' conftest.$ac_ext >&5
17221 ac_cv_type_u_int64_t=no
17223 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
17225 echo "$as_me:$LINENO: result: $ac_cv_type_u_int64_t" >&5
17226 echo "${ECHO_T}$ac_cv_type_u_int64_t" >&6
17227 if test $ac_cv_type_u_int64_t = yes; then
17233 sys/types.h inttypes.h sys/inttypes.h $inttype_headers
17237 echo "$as_me:$LINENO: checking for stdint u_int32_t" >&5
17238 echo $ECHO_N "checking for stdint u_int32_t... $ECHO_C" >&6
17241 echo "$as_me:$LINENO: result: $ac_cv_header_stdint_u" >&5
17242 echo "${ECHO_T}$ac_cv_header_stdint_u" >&6
17246 if test "_$ac_cv_header_stdint_x" = "_" ; then
17247 echo "$as_me:$LINENO: checking for stdint datatype model" >&5
17248 echo $ECHO_N "checking for stdint datatype model... $ECHO_C" >&6
17249 echo "$as_me:$LINENO: result: (..)" >&5
17250 echo "${ECHO_T}(..)" >&6
17252 echo "$as_me:$LINENO: checking for char" >&5
17253 echo $ECHO_N "checking for char... $ECHO_C" >&6
17254 if test "${ac_cv_type_char+set}" = set; then
17255 echo $ECHO_N "(cached) $ECHO_C" >&6
17257 cat >conftest.$ac_ext <<_ACEOF
17260 cat confdefs.h >>conftest.$ac_ext
17261 cat >>conftest.$ac_ext <<_ACEOF
17262 /* end confdefs.h. */
17263 $ac_includes_default
17275 rm -f conftest.$ac_objext
17276 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17277 (eval $ac_compile) 2>conftest.er1
17279 grep -v '^ *+' conftest.er1 >conftest.err
17281 cat conftest.err >&5
17282 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17283 (exit $ac_status); } &&
17284 { ac_try='test -z "$ac_c_werror_flag"
17285 || test ! -s conftest.err'
17286 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17287 (eval $ac_try) 2>&5
17289 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17290 (exit $ac_status); }; } &&
17291 { ac_try='test -s conftest.$ac_objext'
17292 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17293 (eval $ac_try) 2>&5
17295 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17296 (exit $ac_status); }; }; then
17297 ac_cv_type_char=yes
17299 echo "$as_me: failed program was:" >&5
17300 sed 's/^/| /' conftest.$ac_ext >&5
17304 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
17306 echo "$as_me:$LINENO: result: $ac_cv_type_char" >&5
17307 echo "${ECHO_T}$ac_cv_type_char" >&6
17309 echo "$as_me:$LINENO: checking size of char" >&5
17310 echo $ECHO_N "checking size of char... $ECHO_C" >&6
17311 if test "${ac_cv_sizeof_char+set}" = set; then
17312 echo $ECHO_N "(cached) $ECHO_C" >&6
17314 if test "$ac_cv_type_char" = yes; then
17315 # The cast to unsigned long works around a bug in the HP C Compiler
17316 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
17317 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
17318 # This bug is HP SR number 8606223364.
17319 if test "$cross_compiling" = yes; then
17320 # Depending upon the size, compute the lo and hi bounds.
17321 cat >conftest.$ac_ext <<_ACEOF
17324 cat confdefs.h >>conftest.$ac_ext
17325 cat >>conftest.$ac_ext <<_ACEOF
17326 /* end confdefs.h. */
17327 $ac_includes_default
17331 static int test_array [1 - 2 * !(((long) (sizeof (char))) >= 0)];
17338 rm -f conftest.$ac_objext
17339 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17340 (eval $ac_compile) 2>conftest.er1
17342 grep -v '^ *+' conftest.er1 >conftest.err
17344 cat conftest.err >&5
17345 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17346 (exit $ac_status); } &&
17347 { ac_try='test -z "$ac_c_werror_flag"
17348 || test ! -s conftest.err'
17349 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17350 (eval $ac_try) 2>&5
17352 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17353 (exit $ac_status); }; } &&
17354 { ac_try='test -s conftest.$ac_objext'
17355 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17356 (eval $ac_try) 2>&5
17358 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17359 (exit $ac_status); }; }; then
17362 cat >conftest.$ac_ext <<_ACEOF
17365 cat confdefs.h >>conftest.$ac_ext
17366 cat >>conftest.$ac_ext <<_ACEOF
17367 /* end confdefs.h. */
17368 $ac_includes_default
17372 static int test_array [1 - 2 * !(((long) (sizeof (char))) <= $ac_mid)];
17379 rm -f conftest.$ac_objext
17380 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17381 (eval $ac_compile) 2>conftest.er1
17383 grep -v '^ *+' conftest.er1 >conftest.err
17385 cat conftest.err >&5
17386 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17387 (exit $ac_status); } &&
17388 { ac_try='test -z "$ac_c_werror_flag"
17389 || test ! -s conftest.err'
17390 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17391 (eval $ac_try) 2>&5
17393 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17394 (exit $ac_status); }; } &&
17395 { ac_try='test -s conftest.$ac_objext'
17396 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17397 (eval $ac_try) 2>&5
17399 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17400 (exit $ac_status); }; }; then
17401 ac_hi=$ac_mid; break
17403 echo "$as_me: failed program was:" >&5
17404 sed 's/^/| /' conftest.$ac_ext >&5
17406 ac_lo=`expr $ac_mid + 1`
17407 if test $ac_lo -le $ac_mid; then
17411 ac_mid=`expr 2 '*' $ac_mid + 1`
17413 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
17416 echo "$as_me: failed program was:" >&5
17417 sed 's/^/| /' conftest.$ac_ext >&5
17419 cat >conftest.$ac_ext <<_ACEOF
17422 cat confdefs.h >>conftest.$ac_ext
17423 cat >>conftest.$ac_ext <<_ACEOF
17424 /* end confdefs.h. */
17425 $ac_includes_default
17429 static int test_array [1 - 2 * !(((long) (sizeof (char))) < 0)];
17436 rm -f conftest.$ac_objext
17437 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17438 (eval $ac_compile) 2>conftest.er1
17440 grep -v '^ *+' conftest.er1 >conftest.err
17442 cat conftest.err >&5
17443 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17444 (exit $ac_status); } &&
17445 { ac_try='test -z "$ac_c_werror_flag"
17446 || test ! -s conftest.err'
17447 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17448 (eval $ac_try) 2>&5
17450 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17451 (exit $ac_status); }; } &&
17452 { ac_try='test -s conftest.$ac_objext'
17453 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17454 (eval $ac_try) 2>&5
17456 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17457 (exit $ac_status); }; }; then
17460 cat >conftest.$ac_ext <<_ACEOF
17463 cat confdefs.h >>conftest.$ac_ext
17464 cat >>conftest.$ac_ext <<_ACEOF
17465 /* end confdefs.h. */
17466 $ac_includes_default
17470 static int test_array [1 - 2 * !(((long) (sizeof (char))) >= $ac_mid)];
17477 rm -f conftest.$ac_objext
17478 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17479 (eval $ac_compile) 2>conftest.er1
17481 grep -v '^ *+' conftest.er1 >conftest.err
17483 cat conftest.err >&5
17484 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17485 (exit $ac_status); } &&
17486 { ac_try='test -z "$ac_c_werror_flag"
17487 || test ! -s conftest.err'
17488 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17489 (eval $ac_try) 2>&5
17491 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17492 (exit $ac_status); }; } &&
17493 { ac_try='test -s conftest.$ac_objext'
17494 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17495 (eval $ac_try) 2>&5
17497 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17498 (exit $ac_status); }; }; then
17499 ac_lo=$ac_mid; break
17501 echo "$as_me: failed program was:" >&5
17502 sed 's/^/| /' conftest.$ac_ext >&5
17504 ac_hi=`expr '(' $ac_mid ')' - 1`
17505 if test $ac_mid -le $ac_hi; then
17509 ac_mid=`expr 2 '*' $ac_mid`
17511 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
17514 echo "$as_me: failed program was:" >&5
17515 sed 's/^/| /' conftest.$ac_ext >&5
17519 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
17521 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
17522 # Binary search between lo and hi bounds.
17523 while test "x$ac_lo" != "x$ac_hi"; do
17524 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
17525 cat >conftest.$ac_ext <<_ACEOF
17528 cat confdefs.h >>conftest.$ac_ext
17529 cat >>conftest.$ac_ext <<_ACEOF
17530 /* end confdefs.h. */
17531 $ac_includes_default
17535 static int test_array [1 - 2 * !(((long) (sizeof (char))) <= $ac_mid)];
17542 rm -f conftest.$ac_objext
17543 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17544 (eval $ac_compile) 2>conftest.er1
17546 grep -v '^ *+' conftest.er1 >conftest.err
17548 cat conftest.err >&5
17549 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17550 (exit $ac_status); } &&
17551 { ac_try='test -z "$ac_c_werror_flag"
17552 || test ! -s conftest.err'
17553 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17554 (eval $ac_try) 2>&5
17556 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17557 (exit $ac_status); }; } &&
17558 { ac_try='test -s conftest.$ac_objext'
17559 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17560 (eval $ac_try) 2>&5
17562 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17563 (exit $ac_status); }; }; then
17566 echo "$as_me: failed program was:" >&5
17567 sed 's/^/| /' conftest.$ac_ext >&5
17569 ac_lo=`expr '(' $ac_mid ')' + 1`
17571 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
17574 ?*) ac_cv_sizeof_char=$ac_lo;;
17575 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (char), 77
17576 See \`config.log' for more details." >&5
17577 echo "$as_me: error: cannot compute sizeof (char), 77
17578 See \`config.log' for more details." >&2;}
17579 { (exit 1); exit 1; }; } ;;
17582 if test "$cross_compiling" = yes; then
17583 { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
17584 See \`config.log' for more details." >&5
17585 echo "$as_me: error: cannot run test program while cross compiling
17586 See \`config.log' for more details." >&2;}
17587 { (exit 1); exit 1; }; }
17589 cat >conftest.$ac_ext <<_ACEOF
17592 cat confdefs.h >>conftest.$ac_ext
17593 cat >>conftest.$ac_ext <<_ACEOF
17594 /* end confdefs.h. */
17595 $ac_includes_default
17596 long longval () { return (long) (sizeof (char)); }
17597 unsigned long ulongval () { return (long) (sizeof (char)); }
17599 #include <stdlib.h>
17604 FILE *f = fopen ("conftest.val", "w");
17607 if (((long) (sizeof (char))) < 0)
17609 long i = longval ();
17610 if (i != ((long) (sizeof (char))))
17612 fprintf (f, "%ld\n", i);
17616 unsigned long i = ulongval ();
17617 if (i != ((long) (sizeof (char))))
17619 fprintf (f, "%lu\n", i);
17621 exit (ferror (f) || fclose (f) != 0);
17627 rm -f conftest$ac_exeext
17628 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
17629 (eval $ac_link) 2>&5
17631 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17632 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
17633 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17634 (eval $ac_try) 2>&5
17636 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17637 (exit $ac_status); }; }; then
17638 ac_cv_sizeof_char=`cat conftest.val`
17640 echo "$as_me: program exited with status $ac_status" >&5
17641 echo "$as_me: failed program was:" >&5
17642 sed 's/^/| /' conftest.$ac_ext >&5
17644 ( exit $ac_status )
17645 { { echo "$as_me:$LINENO: error: cannot compute sizeof (char), 77
17646 See \`config.log' for more details." >&5
17647 echo "$as_me: error: cannot compute sizeof (char), 77
17648 See \`config.log' for more details." >&2;}
17649 { (exit 1); exit 1; }; }
17651 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
17656 ac_cv_sizeof_char=0
17659 echo "$as_me:$LINENO: result: $ac_cv_sizeof_char" >&5
17660 echo "${ECHO_T}$ac_cv_sizeof_char" >&6
17661 cat >>confdefs.h <<_ACEOF
17662 #define SIZEOF_CHAR $ac_cv_sizeof_char
17666 echo "$as_me:$LINENO: checking for short" >&5
17667 echo $ECHO_N "checking for short... $ECHO_C" >&6
17668 if test "${ac_cv_type_short+set}" = set; then
17669 echo $ECHO_N "(cached) $ECHO_C" >&6
17671 cat >conftest.$ac_ext <<_ACEOF
17674 cat confdefs.h >>conftest.$ac_ext
17675 cat >>conftest.$ac_ext <<_ACEOF
17676 /* end confdefs.h. */
17677 $ac_includes_default
17683 if (sizeof (short))
17689 rm -f conftest.$ac_objext
17690 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17691 (eval $ac_compile) 2>conftest.er1
17693 grep -v '^ *+' conftest.er1 >conftest.err
17695 cat conftest.err >&5
17696 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17697 (exit $ac_status); } &&
17698 { ac_try='test -z "$ac_c_werror_flag"
17699 || test ! -s conftest.err'
17700 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17701 (eval $ac_try) 2>&5
17703 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17704 (exit $ac_status); }; } &&
17705 { ac_try='test -s conftest.$ac_objext'
17706 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17707 (eval $ac_try) 2>&5
17709 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17710 (exit $ac_status); }; }; then
17711 ac_cv_type_short=yes
17713 echo "$as_me: failed program was:" >&5
17714 sed 's/^/| /' conftest.$ac_ext >&5
17716 ac_cv_type_short=no
17718 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
17720 echo "$as_me:$LINENO: result: $ac_cv_type_short" >&5
17721 echo "${ECHO_T}$ac_cv_type_short" >&6
17723 echo "$as_me:$LINENO: checking size of short" >&5
17724 echo $ECHO_N "checking size of short... $ECHO_C" >&6
17725 if test "${ac_cv_sizeof_short+set}" = set; then
17726 echo $ECHO_N "(cached) $ECHO_C" >&6
17728 if test "$ac_cv_type_short" = yes; then
17729 # The cast to unsigned long works around a bug in the HP C Compiler
17730 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
17731 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
17732 # This bug is HP SR number 8606223364.
17733 if test "$cross_compiling" = yes; then
17734 # Depending upon the size, compute the lo and hi bounds.
17735 cat >conftest.$ac_ext <<_ACEOF
17738 cat confdefs.h >>conftest.$ac_ext
17739 cat >>conftest.$ac_ext <<_ACEOF
17740 /* end confdefs.h. */
17741 $ac_includes_default
17745 static int test_array [1 - 2 * !(((long) (sizeof (short))) >= 0)];
17752 rm -f conftest.$ac_objext
17753 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17754 (eval $ac_compile) 2>conftest.er1
17756 grep -v '^ *+' conftest.er1 >conftest.err
17758 cat conftest.err >&5
17759 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17760 (exit $ac_status); } &&
17761 { ac_try='test -z "$ac_c_werror_flag"
17762 || test ! -s conftest.err'
17763 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17764 (eval $ac_try) 2>&5
17766 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17767 (exit $ac_status); }; } &&
17768 { ac_try='test -s conftest.$ac_objext'
17769 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17770 (eval $ac_try) 2>&5
17772 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17773 (exit $ac_status); }; }; then
17776 cat >conftest.$ac_ext <<_ACEOF
17779 cat confdefs.h >>conftest.$ac_ext
17780 cat >>conftest.$ac_ext <<_ACEOF
17781 /* end confdefs.h. */
17782 $ac_includes_default
17786 static int test_array [1 - 2 * !(((long) (sizeof (short))) <= $ac_mid)];
17793 rm -f conftest.$ac_objext
17794 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17795 (eval $ac_compile) 2>conftest.er1
17797 grep -v '^ *+' conftest.er1 >conftest.err
17799 cat conftest.err >&5
17800 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17801 (exit $ac_status); } &&
17802 { ac_try='test -z "$ac_c_werror_flag"
17803 || test ! -s conftest.err'
17804 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17805 (eval $ac_try) 2>&5
17807 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17808 (exit $ac_status); }; } &&
17809 { ac_try='test -s conftest.$ac_objext'
17810 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17811 (eval $ac_try) 2>&5
17813 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17814 (exit $ac_status); }; }; then
17815 ac_hi=$ac_mid; break
17817 echo "$as_me: failed program was:" >&5
17818 sed 's/^/| /' conftest.$ac_ext >&5
17820 ac_lo=`expr $ac_mid + 1`
17821 if test $ac_lo -le $ac_mid; then
17825 ac_mid=`expr 2 '*' $ac_mid + 1`
17827 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
17830 echo "$as_me: failed program was:" >&5
17831 sed 's/^/| /' conftest.$ac_ext >&5
17833 cat >conftest.$ac_ext <<_ACEOF
17836 cat confdefs.h >>conftest.$ac_ext
17837 cat >>conftest.$ac_ext <<_ACEOF
17838 /* end confdefs.h. */
17839 $ac_includes_default
17843 static int test_array [1 - 2 * !(((long) (sizeof (short))) < 0)];
17850 rm -f conftest.$ac_objext
17851 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17852 (eval $ac_compile) 2>conftest.er1
17854 grep -v '^ *+' conftest.er1 >conftest.err
17856 cat conftest.err >&5
17857 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17858 (exit $ac_status); } &&
17859 { ac_try='test -z "$ac_c_werror_flag"
17860 || test ! -s conftest.err'
17861 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17862 (eval $ac_try) 2>&5
17864 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17865 (exit $ac_status); }; } &&
17866 { ac_try='test -s conftest.$ac_objext'
17867 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17868 (eval $ac_try) 2>&5
17870 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17871 (exit $ac_status); }; }; then
17874 cat >conftest.$ac_ext <<_ACEOF
17877 cat confdefs.h >>conftest.$ac_ext
17878 cat >>conftest.$ac_ext <<_ACEOF
17879 /* end confdefs.h. */
17880 $ac_includes_default
17884 static int test_array [1 - 2 * !(((long) (sizeof (short))) >= $ac_mid)];
17891 rm -f conftest.$ac_objext
17892 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17893 (eval $ac_compile) 2>conftest.er1
17895 grep -v '^ *+' conftest.er1 >conftest.err
17897 cat conftest.err >&5
17898 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17899 (exit $ac_status); } &&
17900 { ac_try='test -z "$ac_c_werror_flag"
17901 || test ! -s conftest.err'
17902 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17903 (eval $ac_try) 2>&5
17905 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17906 (exit $ac_status); }; } &&
17907 { ac_try='test -s conftest.$ac_objext'
17908 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17909 (eval $ac_try) 2>&5
17911 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17912 (exit $ac_status); }; }; then
17913 ac_lo=$ac_mid; break
17915 echo "$as_me: failed program was:" >&5
17916 sed 's/^/| /' conftest.$ac_ext >&5
17918 ac_hi=`expr '(' $ac_mid ')' - 1`
17919 if test $ac_mid -le $ac_hi; then
17923 ac_mid=`expr 2 '*' $ac_mid`
17925 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
17928 echo "$as_me: failed program was:" >&5
17929 sed 's/^/| /' conftest.$ac_ext >&5
17933 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
17935 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
17936 # Binary search between lo and hi bounds.
17937 while test "x$ac_lo" != "x$ac_hi"; do
17938 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
17939 cat >conftest.$ac_ext <<_ACEOF
17942 cat confdefs.h >>conftest.$ac_ext
17943 cat >>conftest.$ac_ext <<_ACEOF
17944 /* end confdefs.h. */
17945 $ac_includes_default
17949 static int test_array [1 - 2 * !(((long) (sizeof (short))) <= $ac_mid)];
17956 rm -f conftest.$ac_objext
17957 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17958 (eval $ac_compile) 2>conftest.er1
17960 grep -v '^ *+' conftest.er1 >conftest.err
17962 cat conftest.err >&5
17963 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17964 (exit $ac_status); } &&
17965 { ac_try='test -z "$ac_c_werror_flag"
17966 || test ! -s conftest.err'
17967 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17968 (eval $ac_try) 2>&5
17970 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17971 (exit $ac_status); }; } &&
17972 { ac_try='test -s conftest.$ac_objext'
17973 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17974 (eval $ac_try) 2>&5
17976 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17977 (exit $ac_status); }; }; then
17980 echo "$as_me: failed program was:" >&5
17981 sed 's/^/| /' conftest.$ac_ext >&5
17983 ac_lo=`expr '(' $ac_mid ')' + 1`
17985 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
17988 ?*) ac_cv_sizeof_short=$ac_lo;;
17989 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (short), 77
17990 See \`config.log' for more details." >&5
17991 echo "$as_me: error: cannot compute sizeof (short), 77
17992 See \`config.log' for more details." >&2;}
17993 { (exit 1); exit 1; }; } ;;
17996 if test "$cross_compiling" = yes; then
17997 { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
17998 See \`config.log' for more details." >&5
17999 echo "$as_me: error: cannot run test program while cross compiling
18000 See \`config.log' for more details." >&2;}
18001 { (exit 1); exit 1; }; }
18003 cat >conftest.$ac_ext <<_ACEOF
18006 cat confdefs.h >>conftest.$ac_ext
18007 cat >>conftest.$ac_ext <<_ACEOF
18008 /* end confdefs.h. */
18009 $ac_includes_default
18010 long longval () { return (long) (sizeof (short)); }
18011 unsigned long ulongval () { return (long) (sizeof (short)); }
18013 #include <stdlib.h>
18018 FILE *f = fopen ("conftest.val", "w");
18021 if (((long) (sizeof (short))) < 0)
18023 long i = longval ();
18024 if (i != ((long) (sizeof (short))))
18026 fprintf (f, "%ld\n", i);
18030 unsigned long i = ulongval ();
18031 if (i != ((long) (sizeof (short))))
18033 fprintf (f, "%lu\n", i);
18035 exit (ferror (f) || fclose (f) != 0);
18041 rm -f conftest$ac_exeext
18042 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
18043 (eval $ac_link) 2>&5
18045 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18046 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
18047 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18048 (eval $ac_try) 2>&5
18050 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18051 (exit $ac_status); }; }; then
18052 ac_cv_sizeof_short=`cat conftest.val`
18054 echo "$as_me: program exited with status $ac_status" >&5
18055 echo "$as_me: failed program was:" >&5
18056 sed 's/^/| /' conftest.$ac_ext >&5
18058 ( exit $ac_status )
18059 { { echo "$as_me:$LINENO: error: cannot compute sizeof (short), 77
18060 See \`config.log' for more details." >&5
18061 echo "$as_me: error: cannot compute sizeof (short), 77
18062 See \`config.log' for more details." >&2;}
18063 { (exit 1); exit 1; }; }
18065 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
18070 ac_cv_sizeof_short=0
18073 echo "$as_me:$LINENO: result: $ac_cv_sizeof_short" >&5
18074 echo "${ECHO_T}$ac_cv_sizeof_short" >&6
18075 cat >>confdefs.h <<_ACEOF
18076 #define SIZEOF_SHORT $ac_cv_sizeof_short
18080 echo "$as_me:$LINENO: checking for int" >&5
18081 echo $ECHO_N "checking for int... $ECHO_C" >&6
18082 if test "${ac_cv_type_int+set}" = set; then
18083 echo $ECHO_N "(cached) $ECHO_C" >&6
18085 cat >conftest.$ac_ext <<_ACEOF
18088 cat confdefs.h >>conftest.$ac_ext
18089 cat >>conftest.$ac_ext <<_ACEOF
18090 /* end confdefs.h. */
18091 $ac_includes_default
18103 rm -f conftest.$ac_objext
18104 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18105 (eval $ac_compile) 2>conftest.er1
18107 grep -v '^ *+' conftest.er1 >conftest.err
18109 cat conftest.err >&5
18110 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18111 (exit $ac_status); } &&
18112 { ac_try='test -z "$ac_c_werror_flag"
18113 || test ! -s conftest.err'
18114 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18115 (eval $ac_try) 2>&5
18117 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18118 (exit $ac_status); }; } &&
18119 { ac_try='test -s conftest.$ac_objext'
18120 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18121 (eval $ac_try) 2>&5
18123 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18124 (exit $ac_status); }; }; then
18127 echo "$as_me: failed program was:" >&5
18128 sed 's/^/| /' conftest.$ac_ext >&5
18132 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
18134 echo "$as_me:$LINENO: result: $ac_cv_type_int" >&5
18135 echo "${ECHO_T}$ac_cv_type_int" >&6
18137 echo "$as_me:$LINENO: checking size of int" >&5
18138 echo $ECHO_N "checking size of int... $ECHO_C" >&6
18139 if test "${ac_cv_sizeof_int+set}" = set; then
18140 echo $ECHO_N "(cached) $ECHO_C" >&6
18142 if test "$ac_cv_type_int" = yes; then
18143 # The cast to unsigned long works around a bug in the HP C Compiler
18144 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
18145 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
18146 # This bug is HP SR number 8606223364.
18147 if test "$cross_compiling" = yes; then
18148 # Depending upon the size, compute the lo and hi bounds.
18149 cat >conftest.$ac_ext <<_ACEOF
18152 cat confdefs.h >>conftest.$ac_ext
18153 cat >>conftest.$ac_ext <<_ACEOF
18154 /* end confdefs.h. */
18155 $ac_includes_default
18159 static int test_array [1 - 2 * !(((long) (sizeof (int))) >= 0)];
18166 rm -f conftest.$ac_objext
18167 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18168 (eval $ac_compile) 2>conftest.er1
18170 grep -v '^ *+' conftest.er1 >conftest.err
18172 cat conftest.err >&5
18173 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18174 (exit $ac_status); } &&
18175 { ac_try='test -z "$ac_c_werror_flag"
18176 || test ! -s conftest.err'
18177 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18178 (eval $ac_try) 2>&5
18180 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18181 (exit $ac_status); }; } &&
18182 { ac_try='test -s conftest.$ac_objext'
18183 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18184 (eval $ac_try) 2>&5
18186 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18187 (exit $ac_status); }; }; then
18190 cat >conftest.$ac_ext <<_ACEOF
18193 cat confdefs.h >>conftest.$ac_ext
18194 cat >>conftest.$ac_ext <<_ACEOF
18195 /* end confdefs.h. */
18196 $ac_includes_default
18200 static int test_array [1 - 2 * !(((long) (sizeof (int))) <= $ac_mid)];
18207 rm -f conftest.$ac_objext
18208 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18209 (eval $ac_compile) 2>conftest.er1
18211 grep -v '^ *+' conftest.er1 >conftest.err
18213 cat conftest.err >&5
18214 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18215 (exit $ac_status); } &&
18216 { ac_try='test -z "$ac_c_werror_flag"
18217 || test ! -s conftest.err'
18218 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18219 (eval $ac_try) 2>&5
18221 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18222 (exit $ac_status); }; } &&
18223 { ac_try='test -s conftest.$ac_objext'
18224 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18225 (eval $ac_try) 2>&5
18227 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18228 (exit $ac_status); }; }; then
18229 ac_hi=$ac_mid; break
18231 echo "$as_me: failed program was:" >&5
18232 sed 's/^/| /' conftest.$ac_ext >&5
18234 ac_lo=`expr $ac_mid + 1`
18235 if test $ac_lo -le $ac_mid; then
18239 ac_mid=`expr 2 '*' $ac_mid + 1`
18241 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
18244 echo "$as_me: failed program was:" >&5
18245 sed 's/^/| /' conftest.$ac_ext >&5
18247 cat >conftest.$ac_ext <<_ACEOF
18250 cat confdefs.h >>conftest.$ac_ext
18251 cat >>conftest.$ac_ext <<_ACEOF
18252 /* end confdefs.h. */
18253 $ac_includes_default
18257 static int test_array [1 - 2 * !(((long) (sizeof (int))) < 0)];
18264 rm -f conftest.$ac_objext
18265 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18266 (eval $ac_compile) 2>conftest.er1
18268 grep -v '^ *+' conftest.er1 >conftest.err
18270 cat conftest.err >&5
18271 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18272 (exit $ac_status); } &&
18273 { ac_try='test -z "$ac_c_werror_flag"
18274 || test ! -s conftest.err'
18275 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18276 (eval $ac_try) 2>&5
18278 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18279 (exit $ac_status); }; } &&
18280 { ac_try='test -s conftest.$ac_objext'
18281 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18282 (eval $ac_try) 2>&5
18284 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18285 (exit $ac_status); }; }; then
18288 cat >conftest.$ac_ext <<_ACEOF
18291 cat confdefs.h >>conftest.$ac_ext
18292 cat >>conftest.$ac_ext <<_ACEOF
18293 /* end confdefs.h. */
18294 $ac_includes_default
18298 static int test_array [1 - 2 * !(((long) (sizeof (int))) >= $ac_mid)];
18305 rm -f conftest.$ac_objext
18306 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18307 (eval $ac_compile) 2>conftest.er1
18309 grep -v '^ *+' conftest.er1 >conftest.err
18311 cat conftest.err >&5
18312 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18313 (exit $ac_status); } &&
18314 { ac_try='test -z "$ac_c_werror_flag"
18315 || test ! -s conftest.err'
18316 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18317 (eval $ac_try) 2>&5
18319 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18320 (exit $ac_status); }; } &&
18321 { ac_try='test -s conftest.$ac_objext'
18322 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18323 (eval $ac_try) 2>&5
18325 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18326 (exit $ac_status); }; }; then
18327 ac_lo=$ac_mid; break
18329 echo "$as_me: failed program was:" >&5
18330 sed 's/^/| /' conftest.$ac_ext >&5
18332 ac_hi=`expr '(' $ac_mid ')' - 1`
18333 if test $ac_mid -le $ac_hi; then
18337 ac_mid=`expr 2 '*' $ac_mid`
18339 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
18342 echo "$as_me: failed program was:" >&5
18343 sed 's/^/| /' conftest.$ac_ext >&5
18347 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
18349 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
18350 # Binary search between lo and hi bounds.
18351 while test "x$ac_lo" != "x$ac_hi"; do
18352 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
18353 cat >conftest.$ac_ext <<_ACEOF
18356 cat confdefs.h >>conftest.$ac_ext
18357 cat >>conftest.$ac_ext <<_ACEOF
18358 /* end confdefs.h. */
18359 $ac_includes_default
18363 static int test_array [1 - 2 * !(((long) (sizeof (int))) <= $ac_mid)];
18370 rm -f conftest.$ac_objext
18371 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18372 (eval $ac_compile) 2>conftest.er1
18374 grep -v '^ *+' conftest.er1 >conftest.err
18376 cat conftest.err >&5
18377 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18378 (exit $ac_status); } &&
18379 { ac_try='test -z "$ac_c_werror_flag"
18380 || test ! -s conftest.err'
18381 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18382 (eval $ac_try) 2>&5
18384 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18385 (exit $ac_status); }; } &&
18386 { ac_try='test -s conftest.$ac_objext'
18387 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18388 (eval $ac_try) 2>&5
18390 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18391 (exit $ac_status); }; }; then
18394 echo "$as_me: failed program was:" >&5
18395 sed 's/^/| /' conftest.$ac_ext >&5
18397 ac_lo=`expr '(' $ac_mid ')' + 1`
18399 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
18402 ?*) ac_cv_sizeof_int=$ac_lo;;
18403 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (int), 77
18404 See \`config.log' for more details." >&5
18405 echo "$as_me: error: cannot compute sizeof (int), 77
18406 See \`config.log' for more details." >&2;}
18407 { (exit 1); exit 1; }; } ;;
18410 if test "$cross_compiling" = yes; then
18411 { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
18412 See \`config.log' for more details." >&5
18413 echo "$as_me: error: cannot run test program while cross compiling
18414 See \`config.log' for more details." >&2;}
18415 { (exit 1); exit 1; }; }
18417 cat >conftest.$ac_ext <<_ACEOF
18420 cat confdefs.h >>conftest.$ac_ext
18421 cat >>conftest.$ac_ext <<_ACEOF
18422 /* end confdefs.h. */
18423 $ac_includes_default
18424 long longval () { return (long) (sizeof (int)); }
18425 unsigned long ulongval () { return (long) (sizeof (int)); }
18427 #include <stdlib.h>
18432 FILE *f = fopen ("conftest.val", "w");
18435 if (((long) (sizeof (int))) < 0)
18437 long i = longval ();
18438 if (i != ((long) (sizeof (int))))
18440 fprintf (f, "%ld\n", i);
18444 unsigned long i = ulongval ();
18445 if (i != ((long) (sizeof (int))))
18447 fprintf (f, "%lu\n", i);
18449 exit (ferror (f) || fclose (f) != 0);
18455 rm -f conftest$ac_exeext
18456 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
18457 (eval $ac_link) 2>&5
18459 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18460 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
18461 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18462 (eval $ac_try) 2>&5
18464 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18465 (exit $ac_status); }; }; then
18466 ac_cv_sizeof_int=`cat conftest.val`
18468 echo "$as_me: program exited with status $ac_status" >&5
18469 echo "$as_me: failed program was:" >&5
18470 sed 's/^/| /' conftest.$ac_ext >&5
18472 ( exit $ac_status )
18473 { { echo "$as_me:$LINENO: error: cannot compute sizeof (int), 77
18474 See \`config.log' for more details." >&5
18475 echo "$as_me: error: cannot compute sizeof (int), 77
18476 See \`config.log' for more details." >&2;}
18477 { (exit 1); exit 1; }; }
18479 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
18487 echo "$as_me:$LINENO: result: $ac_cv_sizeof_int" >&5
18488 echo "${ECHO_T}$ac_cv_sizeof_int" >&6
18489 cat >>confdefs.h <<_ACEOF
18490 #define SIZEOF_INT $ac_cv_sizeof_int
18494 echo "$as_me:$LINENO: checking for long" >&5
18495 echo $ECHO_N "checking for long... $ECHO_C" >&6
18496 if test "${ac_cv_type_long+set}" = set; then
18497 echo $ECHO_N "(cached) $ECHO_C" >&6
18499 cat >conftest.$ac_ext <<_ACEOF
18502 cat confdefs.h >>conftest.$ac_ext
18503 cat >>conftest.$ac_ext <<_ACEOF
18504 /* end confdefs.h. */
18505 $ac_includes_default
18517 rm -f conftest.$ac_objext
18518 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18519 (eval $ac_compile) 2>conftest.er1
18521 grep -v '^ *+' conftest.er1 >conftest.err
18523 cat conftest.err >&5
18524 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18525 (exit $ac_status); } &&
18526 { ac_try='test -z "$ac_c_werror_flag"
18527 || test ! -s conftest.err'
18528 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18529 (eval $ac_try) 2>&5
18531 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18532 (exit $ac_status); }; } &&
18533 { ac_try='test -s conftest.$ac_objext'
18534 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18535 (eval $ac_try) 2>&5
18537 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18538 (exit $ac_status); }; }; then
18539 ac_cv_type_long=yes
18541 echo "$as_me: failed program was:" >&5
18542 sed 's/^/| /' conftest.$ac_ext >&5
18546 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
18548 echo "$as_me:$LINENO: result: $ac_cv_type_long" >&5
18549 echo "${ECHO_T}$ac_cv_type_long" >&6
18551 echo "$as_me:$LINENO: checking size of long" >&5
18552 echo $ECHO_N "checking size of long... $ECHO_C" >&6
18553 if test "${ac_cv_sizeof_long+set}" = set; then
18554 echo $ECHO_N "(cached) $ECHO_C" >&6
18556 if test "$ac_cv_type_long" = yes; then
18557 # The cast to unsigned long works around a bug in the HP C Compiler
18558 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
18559 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
18560 # This bug is HP SR number 8606223364.
18561 if test "$cross_compiling" = yes; then
18562 # Depending upon the size, compute the lo and hi bounds.
18563 cat >conftest.$ac_ext <<_ACEOF
18566 cat confdefs.h >>conftest.$ac_ext
18567 cat >>conftest.$ac_ext <<_ACEOF
18568 /* end confdefs.h. */
18569 $ac_includes_default
18573 static int test_array [1 - 2 * !(((long) (sizeof (long))) >= 0)];
18580 rm -f conftest.$ac_objext
18581 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18582 (eval $ac_compile) 2>conftest.er1
18584 grep -v '^ *+' conftest.er1 >conftest.err
18586 cat conftest.err >&5
18587 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18588 (exit $ac_status); } &&
18589 { ac_try='test -z "$ac_c_werror_flag"
18590 || test ! -s conftest.err'
18591 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18592 (eval $ac_try) 2>&5
18594 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18595 (exit $ac_status); }; } &&
18596 { ac_try='test -s conftest.$ac_objext'
18597 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18598 (eval $ac_try) 2>&5
18600 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18601 (exit $ac_status); }; }; then
18604 cat >conftest.$ac_ext <<_ACEOF
18607 cat confdefs.h >>conftest.$ac_ext
18608 cat >>conftest.$ac_ext <<_ACEOF
18609 /* end confdefs.h. */
18610 $ac_includes_default
18614 static int test_array [1 - 2 * !(((long) (sizeof (long))) <= $ac_mid)];
18621 rm -f conftest.$ac_objext
18622 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18623 (eval $ac_compile) 2>conftest.er1
18625 grep -v '^ *+' conftest.er1 >conftest.err
18627 cat conftest.err >&5
18628 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18629 (exit $ac_status); } &&
18630 { ac_try='test -z "$ac_c_werror_flag"
18631 || test ! -s conftest.err'
18632 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18633 (eval $ac_try) 2>&5
18635 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18636 (exit $ac_status); }; } &&
18637 { ac_try='test -s conftest.$ac_objext'
18638 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18639 (eval $ac_try) 2>&5
18641 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18642 (exit $ac_status); }; }; then
18643 ac_hi=$ac_mid; break
18645 echo "$as_me: failed program was:" >&5
18646 sed 's/^/| /' conftest.$ac_ext >&5
18648 ac_lo=`expr $ac_mid + 1`
18649 if test $ac_lo -le $ac_mid; then
18653 ac_mid=`expr 2 '*' $ac_mid + 1`
18655 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
18658 echo "$as_me: failed program was:" >&5
18659 sed 's/^/| /' conftest.$ac_ext >&5
18661 cat >conftest.$ac_ext <<_ACEOF
18664 cat confdefs.h >>conftest.$ac_ext
18665 cat >>conftest.$ac_ext <<_ACEOF
18666 /* end confdefs.h. */
18667 $ac_includes_default
18671 static int test_array [1 - 2 * !(((long) (sizeof (long))) < 0)];
18678 rm -f conftest.$ac_objext
18679 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18680 (eval $ac_compile) 2>conftest.er1
18682 grep -v '^ *+' conftest.er1 >conftest.err
18684 cat conftest.err >&5
18685 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18686 (exit $ac_status); } &&
18687 { ac_try='test -z "$ac_c_werror_flag"
18688 || test ! -s conftest.err'
18689 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18690 (eval $ac_try) 2>&5
18692 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18693 (exit $ac_status); }; } &&
18694 { ac_try='test -s conftest.$ac_objext'
18695 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18696 (eval $ac_try) 2>&5
18698 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18699 (exit $ac_status); }; }; then
18702 cat >conftest.$ac_ext <<_ACEOF
18705 cat confdefs.h >>conftest.$ac_ext
18706 cat >>conftest.$ac_ext <<_ACEOF
18707 /* end confdefs.h. */
18708 $ac_includes_default
18712 static int test_array [1 - 2 * !(((long) (sizeof (long))) >= $ac_mid)];
18719 rm -f conftest.$ac_objext
18720 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18721 (eval $ac_compile) 2>conftest.er1
18723 grep -v '^ *+' conftest.er1 >conftest.err
18725 cat conftest.err >&5
18726 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18727 (exit $ac_status); } &&
18728 { ac_try='test -z "$ac_c_werror_flag"
18729 || test ! -s conftest.err'
18730 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18731 (eval $ac_try) 2>&5
18733 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18734 (exit $ac_status); }; } &&
18735 { ac_try='test -s conftest.$ac_objext'
18736 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18737 (eval $ac_try) 2>&5
18739 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18740 (exit $ac_status); }; }; then
18741 ac_lo=$ac_mid; break
18743 echo "$as_me: failed program was:" >&5
18744 sed 's/^/| /' conftest.$ac_ext >&5
18746 ac_hi=`expr '(' $ac_mid ')' - 1`
18747 if test $ac_mid -le $ac_hi; then
18751 ac_mid=`expr 2 '*' $ac_mid`
18753 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
18756 echo "$as_me: failed program was:" >&5
18757 sed 's/^/| /' conftest.$ac_ext >&5
18761 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
18763 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
18764 # Binary search between lo and hi bounds.
18765 while test "x$ac_lo" != "x$ac_hi"; do
18766 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
18767 cat >conftest.$ac_ext <<_ACEOF
18770 cat confdefs.h >>conftest.$ac_ext
18771 cat >>conftest.$ac_ext <<_ACEOF
18772 /* end confdefs.h. */
18773 $ac_includes_default
18777 static int test_array [1 - 2 * !(((long) (sizeof (long))) <= $ac_mid)];
18784 rm -f conftest.$ac_objext
18785 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18786 (eval $ac_compile) 2>conftest.er1
18788 grep -v '^ *+' conftest.er1 >conftest.err
18790 cat conftest.err >&5
18791 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18792 (exit $ac_status); } &&
18793 { ac_try='test -z "$ac_c_werror_flag"
18794 || test ! -s conftest.err'
18795 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18796 (eval $ac_try) 2>&5
18798 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18799 (exit $ac_status); }; } &&
18800 { ac_try='test -s conftest.$ac_objext'
18801 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18802 (eval $ac_try) 2>&5
18804 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18805 (exit $ac_status); }; }; then
18808 echo "$as_me: failed program was:" >&5
18809 sed 's/^/| /' conftest.$ac_ext >&5
18811 ac_lo=`expr '(' $ac_mid ')' + 1`
18813 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
18816 ?*) ac_cv_sizeof_long=$ac_lo;;
18817 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (long), 77
18818 See \`config.log' for more details." >&5
18819 echo "$as_me: error: cannot compute sizeof (long), 77
18820 See \`config.log' for more details." >&2;}
18821 { (exit 1); exit 1; }; } ;;
18824 if test "$cross_compiling" = yes; then
18825 { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
18826 See \`config.log' for more details." >&5
18827 echo "$as_me: error: cannot run test program while cross compiling
18828 See \`config.log' for more details." >&2;}
18829 { (exit 1); exit 1; }; }
18831 cat >conftest.$ac_ext <<_ACEOF
18834 cat confdefs.h >>conftest.$ac_ext
18835 cat >>conftest.$ac_ext <<_ACEOF
18836 /* end confdefs.h. */
18837 $ac_includes_default
18838 long longval () { return (long) (sizeof (long)); }
18839 unsigned long ulongval () { return (long) (sizeof (long)); }
18841 #include <stdlib.h>
18846 FILE *f = fopen ("conftest.val", "w");
18849 if (((long) (sizeof (long))) < 0)
18851 long i = longval ();
18852 if (i != ((long) (sizeof (long))))
18854 fprintf (f, "%ld\n", i);
18858 unsigned long i = ulongval ();
18859 if (i != ((long) (sizeof (long))))
18861 fprintf (f, "%lu\n", i);
18863 exit (ferror (f) || fclose (f) != 0);
18869 rm -f conftest$ac_exeext
18870 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
18871 (eval $ac_link) 2>&5
18873 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18874 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
18875 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18876 (eval $ac_try) 2>&5
18878 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18879 (exit $ac_status); }; }; then
18880 ac_cv_sizeof_long=`cat conftest.val`
18882 echo "$as_me: program exited with status $ac_status" >&5
18883 echo "$as_me: failed program was:" >&5
18884 sed 's/^/| /' conftest.$ac_ext >&5
18886 ( exit $ac_status )
18887 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long), 77
18888 See \`config.log' for more details." >&5
18889 echo "$as_me: error: cannot compute sizeof (long), 77
18890 See \`config.log' for more details." >&2;}
18891 { (exit 1); exit 1; }; }
18893 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
18898 ac_cv_sizeof_long=0
18901 echo "$as_me:$LINENO: result: $ac_cv_sizeof_long" >&5
18902 echo "${ECHO_T}$ac_cv_sizeof_long" >&6
18903 cat >>confdefs.h <<_ACEOF
18904 #define SIZEOF_LONG $ac_cv_sizeof_long
18908 echo "$as_me:$LINENO: checking for void*" >&5
18909 echo $ECHO_N "checking for void*... $ECHO_C" >&6
18910 if test "${ac_cv_type_voidp+set}" = set; then
18911 echo $ECHO_N "(cached) $ECHO_C" >&6
18913 cat >conftest.$ac_ext <<_ACEOF
18916 cat confdefs.h >>conftest.$ac_ext
18917 cat >>conftest.$ac_ext <<_ACEOF
18918 /* end confdefs.h. */
18919 $ac_includes_default
18925 if (sizeof (void*))
18931 rm -f conftest.$ac_objext
18932 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18933 (eval $ac_compile) 2>conftest.er1
18935 grep -v '^ *+' conftest.er1 >conftest.err
18937 cat conftest.err >&5
18938 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18939 (exit $ac_status); } &&
18940 { ac_try='test -z "$ac_c_werror_flag"
18941 || test ! -s conftest.err'
18942 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18943 (eval $ac_try) 2>&5
18945 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18946 (exit $ac_status); }; } &&
18947 { ac_try='test -s conftest.$ac_objext'
18948 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18949 (eval $ac_try) 2>&5
18951 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18952 (exit $ac_status); }; }; then
18953 ac_cv_type_voidp=yes
18955 echo "$as_me: failed program was:" >&5
18956 sed 's/^/| /' conftest.$ac_ext >&5
18958 ac_cv_type_voidp=no
18960 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
18962 echo "$as_me:$LINENO: result: $ac_cv_type_voidp" >&5
18963 echo "${ECHO_T}$ac_cv_type_voidp" >&6
18965 echo "$as_me:$LINENO: checking size of void*" >&5
18966 echo $ECHO_N "checking size of void*... $ECHO_C" >&6
18967 if test "${ac_cv_sizeof_voidp+set}" = set; then
18968 echo $ECHO_N "(cached) $ECHO_C" >&6
18970 if test "$ac_cv_type_voidp" = yes; then
18971 # The cast to unsigned long works around a bug in the HP C Compiler
18972 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
18973 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
18974 # This bug is HP SR number 8606223364.
18975 if test "$cross_compiling" = yes; then
18976 # Depending upon the size, compute the lo and hi bounds.
18977 cat >conftest.$ac_ext <<_ACEOF
18980 cat confdefs.h >>conftest.$ac_ext
18981 cat >>conftest.$ac_ext <<_ACEOF
18982 /* end confdefs.h. */
18983 $ac_includes_default
18987 static int test_array [1 - 2 * !(((long) (sizeof (void*))) >= 0)];
18994 rm -f conftest.$ac_objext
18995 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18996 (eval $ac_compile) 2>conftest.er1
18998 grep -v '^ *+' conftest.er1 >conftest.err
19000 cat conftest.err >&5
19001 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19002 (exit $ac_status); } &&
19003 { ac_try='test -z "$ac_c_werror_flag"
19004 || test ! -s conftest.err'
19005 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19006 (eval $ac_try) 2>&5
19008 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19009 (exit $ac_status); }; } &&
19010 { ac_try='test -s conftest.$ac_objext'
19011 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19012 (eval $ac_try) 2>&5
19014 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19015 (exit $ac_status); }; }; then
19018 cat >conftest.$ac_ext <<_ACEOF
19021 cat confdefs.h >>conftest.$ac_ext
19022 cat >>conftest.$ac_ext <<_ACEOF
19023 /* end confdefs.h. */
19024 $ac_includes_default
19028 static int test_array [1 - 2 * !(((long) (sizeof (void*))) <= $ac_mid)];
19035 rm -f conftest.$ac_objext
19036 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19037 (eval $ac_compile) 2>conftest.er1
19039 grep -v '^ *+' conftest.er1 >conftest.err
19041 cat conftest.err >&5
19042 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19043 (exit $ac_status); } &&
19044 { ac_try='test -z "$ac_c_werror_flag"
19045 || test ! -s conftest.err'
19046 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19047 (eval $ac_try) 2>&5
19049 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19050 (exit $ac_status); }; } &&
19051 { ac_try='test -s conftest.$ac_objext'
19052 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19053 (eval $ac_try) 2>&5
19055 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19056 (exit $ac_status); }; }; then
19057 ac_hi=$ac_mid; break
19059 echo "$as_me: failed program was:" >&5
19060 sed 's/^/| /' conftest.$ac_ext >&5
19062 ac_lo=`expr $ac_mid + 1`
19063 if test $ac_lo -le $ac_mid; then
19067 ac_mid=`expr 2 '*' $ac_mid + 1`
19069 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
19072 echo "$as_me: failed program was:" >&5
19073 sed 's/^/| /' conftest.$ac_ext >&5
19075 cat >conftest.$ac_ext <<_ACEOF
19078 cat confdefs.h >>conftest.$ac_ext
19079 cat >>conftest.$ac_ext <<_ACEOF
19080 /* end confdefs.h. */
19081 $ac_includes_default
19085 static int test_array [1 - 2 * !(((long) (sizeof (void*))) < 0)];
19092 rm -f conftest.$ac_objext
19093 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19094 (eval $ac_compile) 2>conftest.er1
19096 grep -v '^ *+' conftest.er1 >conftest.err
19098 cat conftest.err >&5
19099 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19100 (exit $ac_status); } &&
19101 { ac_try='test -z "$ac_c_werror_flag"
19102 || test ! -s conftest.err'
19103 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19104 (eval $ac_try) 2>&5
19106 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19107 (exit $ac_status); }; } &&
19108 { ac_try='test -s conftest.$ac_objext'
19109 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19110 (eval $ac_try) 2>&5
19112 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19113 (exit $ac_status); }; }; then
19116 cat >conftest.$ac_ext <<_ACEOF
19119 cat confdefs.h >>conftest.$ac_ext
19120 cat >>conftest.$ac_ext <<_ACEOF
19121 /* end confdefs.h. */
19122 $ac_includes_default
19126 static int test_array [1 - 2 * !(((long) (sizeof (void*))) >= $ac_mid)];
19133 rm -f conftest.$ac_objext
19134 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19135 (eval $ac_compile) 2>conftest.er1
19137 grep -v '^ *+' conftest.er1 >conftest.err
19139 cat conftest.err >&5
19140 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19141 (exit $ac_status); } &&
19142 { ac_try='test -z "$ac_c_werror_flag"
19143 || test ! -s conftest.err'
19144 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19145 (eval $ac_try) 2>&5
19147 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19148 (exit $ac_status); }; } &&
19149 { ac_try='test -s conftest.$ac_objext'
19150 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19151 (eval $ac_try) 2>&5
19153 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19154 (exit $ac_status); }; }; then
19155 ac_lo=$ac_mid; break
19157 echo "$as_me: failed program was:" >&5
19158 sed 's/^/| /' conftest.$ac_ext >&5
19160 ac_hi=`expr '(' $ac_mid ')' - 1`
19161 if test $ac_mid -le $ac_hi; then
19165 ac_mid=`expr 2 '*' $ac_mid`
19167 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
19170 echo "$as_me: failed program was:" >&5
19171 sed 's/^/| /' conftest.$ac_ext >&5
19175 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
19177 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
19178 # Binary search between lo and hi bounds.
19179 while test "x$ac_lo" != "x$ac_hi"; do
19180 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
19181 cat >conftest.$ac_ext <<_ACEOF
19184 cat confdefs.h >>conftest.$ac_ext
19185 cat >>conftest.$ac_ext <<_ACEOF
19186 /* end confdefs.h. */
19187 $ac_includes_default
19191 static int test_array [1 - 2 * !(((long) (sizeof (void*))) <= $ac_mid)];
19198 rm -f conftest.$ac_objext
19199 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19200 (eval $ac_compile) 2>conftest.er1
19202 grep -v '^ *+' conftest.er1 >conftest.err
19204 cat conftest.err >&5
19205 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19206 (exit $ac_status); } &&
19207 { ac_try='test -z "$ac_c_werror_flag"
19208 || test ! -s conftest.err'
19209 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19210 (eval $ac_try) 2>&5
19212 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19213 (exit $ac_status); }; } &&
19214 { ac_try='test -s conftest.$ac_objext'
19215 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19216 (eval $ac_try) 2>&5
19218 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19219 (exit $ac_status); }; }; then
19222 echo "$as_me: failed program was:" >&5
19223 sed 's/^/| /' conftest.$ac_ext >&5
19225 ac_lo=`expr '(' $ac_mid ')' + 1`
19227 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
19230 ?*) ac_cv_sizeof_voidp=$ac_lo;;
19231 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (void*), 77
19232 See \`config.log' for more details." >&5
19233 echo "$as_me: error: cannot compute sizeof (void*), 77
19234 See \`config.log' for more details." >&2;}
19235 { (exit 1); exit 1; }; } ;;
19238 if test "$cross_compiling" = yes; then
19239 { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
19240 See \`config.log' for more details." >&5
19241 echo "$as_me: error: cannot run test program while cross compiling
19242 See \`config.log' for more details." >&2;}
19243 { (exit 1); exit 1; }; }
19245 cat >conftest.$ac_ext <<_ACEOF
19248 cat confdefs.h >>conftest.$ac_ext
19249 cat >>conftest.$ac_ext <<_ACEOF
19250 /* end confdefs.h. */
19251 $ac_includes_default
19252 long longval () { return (long) (sizeof (void*)); }
19253 unsigned long ulongval () { return (long) (sizeof (void*)); }
19255 #include <stdlib.h>
19260 FILE *f = fopen ("conftest.val", "w");
19263 if (((long) (sizeof (void*))) < 0)
19265 long i = longval ();
19266 if (i != ((long) (sizeof (void*))))
19268 fprintf (f, "%ld\n", i);
19272 unsigned long i = ulongval ();
19273 if (i != ((long) (sizeof (void*))))
19275 fprintf (f, "%lu\n", i);
19277 exit (ferror (f) || fclose (f) != 0);
19283 rm -f conftest$ac_exeext
19284 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
19285 (eval $ac_link) 2>&5
19287 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19288 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
19289 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19290 (eval $ac_try) 2>&5
19292 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19293 (exit $ac_status); }; }; then
19294 ac_cv_sizeof_voidp=`cat conftest.val`
19296 echo "$as_me: program exited with status $ac_status" >&5
19297 echo "$as_me: failed program was:" >&5
19298 sed 's/^/| /' conftest.$ac_ext >&5
19300 ( exit $ac_status )
19301 { { echo "$as_me:$LINENO: error: cannot compute sizeof (void*), 77
19302 See \`config.log' for more details." >&5
19303 echo "$as_me: error: cannot compute sizeof (void*), 77
19304 See \`config.log' for more details." >&2;}
19305 { (exit 1); exit 1; }; }
19307 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
19312 ac_cv_sizeof_voidp=0
19315 echo "$as_me:$LINENO: result: $ac_cv_sizeof_voidp" >&5
19316 echo "${ECHO_T}$ac_cv_sizeof_voidp" >&6
19317 cat >>confdefs.h <<_ACEOF
19318 #define SIZEOF_VOIDP $ac_cv_sizeof_voidp
19322 ac_cv_char_data_model=""
19323 ac_cv_char_data_model="$ac_cv_char_data_model$ac_cv_sizeof_char"
19324 ac_cv_char_data_model="$ac_cv_char_data_model$ac_cv_sizeof_short"
19325 ac_cv_char_data_model="$ac_cv_char_data_model$ac_cv_sizeof_int"
19326 ac_cv_long_data_model=""
19327 ac_cv_long_data_model="$ac_cv_long_data_model$ac_cv_sizeof_int"
19328 ac_cv_long_data_model="$ac_cv_long_data_model$ac_cv_sizeof_long"
19329 ac_cv_long_data_model="$ac_cv_long_data_model$ac_cv_sizeof_voidp"
19330 echo "$as_me:$LINENO: checking data model" >&5
19331 echo $ECHO_N "checking data model... $ECHO_C" >&6
19332 case "$ac_cv_char_data_model/$ac_cv_long_data_model" in
19333 122/242) ac_cv_data_model="IP16" ; n="standard 16bit machine" ;;
19334 122/244) ac_cv_data_model="LP32" ; n="standard 32bit machine" ;;
19335 122/*) ac_cv_data_model="i16" ; n="unusual int16 model" ;;
19336 124/444) ac_cv_data_model="ILP32" ; n="standard 32bit unixish" ;;
19337 124/488) ac_cv_data_model="LP64" ; n="standard 64bit unixish" ;;
19338 124/448) ac_cv_data_model="LLP64" ; n="unusual 64bit unixish" ;;
19339 124/*) ac_cv_data_model="i32" ; n="unusual int32 model" ;;
19340 128/888) ac_cv_data_model="ILP64" ; n="unusual 64bit numeric" ;;
19341 128/*) ac_cv_data_model="i64" ; n="unusual int64 model" ;;
19342 222/*2) ac_cv_data_model="DSP16" ; n="strict 16bit dsptype" ;;
19343 333/*3) ac_cv_data_model="DSP24" ; n="strict 24bit dsptype" ;;
19344 444/*4) ac_cv_data_model="DSP32" ; n="strict 32bit dsptype" ;;
19345 666/*6) ac_cv_data_model="DSP48" ; n="strict 48bit dsptype" ;;
19346 888/*8) ac_cv_data_model="DSP64" ; n="strict 64bit dsptype" ;;
19347 222/*|333/*|444/*|666/*|888/*) :
19348 ac_cv_data_model="iDSP" ; n="unusual dsptype" ;;
19349 *) ac_cv_data_model="none" ; n="very unusual model" ;;
19351 echo "$as_me:$LINENO: result: $ac_cv_data_model ($ac_cv_long_data_model, $n)" >&5
19352 echo "${ECHO_T}$ac_cv_data_model ($ac_cv_long_data_model, $n)" >&6
19356 if test "_$ac_cv_header_stdint_x" != "_" ; then
19357 ac_cv_header_stdint="$ac_cv_header_stdint_x"
19358 elif test "_$ac_cv_header_stdint_o" != "_" ; then
19359 ac_cv_header_stdint="$ac_cv_header_stdint_o"
19360 elif test "_$ac_cv_header_stdint_u" != "_" ; then
19361 ac_cv_header_stdint="$ac_cv_header_stdint_u"
19363 ac_cv_header_stdint="stddef.h"
19366 echo "$as_me:$LINENO: checking for extra inttypes in chosen header" >&5
19367 echo $ECHO_N "checking for extra inttypes in chosen header... $ECHO_C" >&6
19368 echo "$as_me:$LINENO: result: ($ac_cv_header_stdint)" >&5
19369 echo "${ECHO_T}($ac_cv_header_stdint)" >&6
19370 unset ac_cv_type_int_least32_t
19371 unset ac_cv_type_int_fast32_t
19372 echo "$as_me:$LINENO: checking for int_least32_t" >&5
19373 echo $ECHO_N "checking for int_least32_t... $ECHO_C" >&6
19374 if test "${ac_cv_type_int_least32_t+set}" = set; then
19375 echo $ECHO_N "(cached) $ECHO_C" >&6
19377 cat >conftest.$ac_ext <<_ACEOF
19380 cat confdefs.h >>conftest.$ac_ext
19381 cat >>conftest.$ac_ext <<_ACEOF
19382 /* end confdefs.h. */
19383 #include <$ac_cv_header_stdint>
19388 if ((int_least32_t *) 0)
19390 if (sizeof (int_least32_t))
19396 rm -f conftest.$ac_objext
19397 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19398 (eval $ac_compile) 2>conftest.er1
19400 grep -v '^ *+' conftest.er1 >conftest.err
19402 cat conftest.err >&5
19403 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19404 (exit $ac_status); } &&
19405 { ac_try='test -z "$ac_c_werror_flag"
19406 || test ! -s conftest.err'
19407 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19408 (eval $ac_try) 2>&5
19410 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19411 (exit $ac_status); }; } &&
19412 { ac_try='test -s conftest.$ac_objext'
19413 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19414 (eval $ac_try) 2>&5
19416 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19417 (exit $ac_status); }; }; then
19418 ac_cv_type_int_least32_t=yes
19420 echo "$as_me: failed program was:" >&5
19421 sed 's/^/| /' conftest.$ac_ext >&5
19423 ac_cv_type_int_least32_t=no
19425 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
19427 echo "$as_me:$LINENO: result: $ac_cv_type_int_least32_t" >&5
19428 echo "${ECHO_T}$ac_cv_type_int_least32_t" >&6
19430 echo "$as_me:$LINENO: checking for int_fast32_t" >&5
19431 echo $ECHO_N "checking for int_fast32_t... $ECHO_C" >&6
19432 if test "${ac_cv_type_int_fast32_t+set}" = set; then
19433 echo $ECHO_N "(cached) $ECHO_C" >&6
19435 cat >conftest.$ac_ext <<_ACEOF
19438 cat confdefs.h >>conftest.$ac_ext
19439 cat >>conftest.$ac_ext <<_ACEOF
19440 /* end confdefs.h. */
19441 #include<$ac_cv_header_stdint>
19446 if ((int_fast32_t *) 0)
19448 if (sizeof (int_fast32_t))
19454 rm -f conftest.$ac_objext
19455 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19456 (eval $ac_compile) 2>conftest.er1
19458 grep -v '^ *+' conftest.er1 >conftest.err
19460 cat conftest.err >&5
19461 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19462 (exit $ac_status); } &&
19463 { ac_try='test -z "$ac_c_werror_flag"
19464 || test ! -s conftest.err'
19465 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19466 (eval $ac_try) 2>&5
19468 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19469 (exit $ac_status); }; } &&
19470 { ac_try='test -s conftest.$ac_objext'
19471 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19472 (eval $ac_try) 2>&5
19474 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19475 (exit $ac_status); }; }; then
19476 ac_cv_type_int_fast32_t=yes
19478 echo "$as_me: failed program was:" >&5
19479 sed 's/^/| /' conftest.$ac_ext >&5
19481 ac_cv_type_int_fast32_t=no
19483 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
19485 echo "$as_me:$LINENO: result: $ac_cv_type_int_fast32_t" >&5
19486 echo "${ECHO_T}$ac_cv_type_int_fast32_t" >&6
19488 echo "$as_me:$LINENO: checking for intmax_t" >&5
19489 echo $ECHO_N "checking for intmax_t... $ECHO_C" >&6
19490 if test "${ac_cv_type_intmax_t+set}" = set; then
19491 echo $ECHO_N "(cached) $ECHO_C" >&6
19493 cat >conftest.$ac_ext <<_ACEOF
19496 cat confdefs.h >>conftest.$ac_ext
19497 cat >>conftest.$ac_ext <<_ACEOF
19498 /* end confdefs.h. */
19499 #include <$ac_cv_header_stdint>
19504 if ((intmax_t *) 0)
19506 if (sizeof (intmax_t))
19512 rm -f conftest.$ac_objext
19513 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19514 (eval $ac_compile) 2>conftest.er1
19516 grep -v '^ *+' conftest.er1 >conftest.err
19518 cat conftest.err >&5
19519 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19520 (exit $ac_status); } &&
19521 { ac_try='test -z "$ac_c_werror_flag"
19522 || test ! -s conftest.err'
19523 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19524 (eval $ac_try) 2>&5
19526 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19527 (exit $ac_status); }; } &&
19528 { ac_try='test -s conftest.$ac_objext'
19529 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19530 (eval $ac_try) 2>&5
19532 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19533 (exit $ac_status); }; }; then
19534 ac_cv_type_intmax_t=yes
19536 echo "$as_me: failed program was:" >&5
19537 sed 's/^/| /' conftest.$ac_ext >&5
19539 ac_cv_type_intmax_t=no
19541 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
19543 echo "$as_me:$LINENO: result: $ac_cv_type_intmax_t" >&5
19544 echo "${ECHO_T}$ac_cv_type_intmax_t" >&6
19547 fi # shortcircut to system "stdint.h"
19548 # ------------------ PREPARE VARIABLES ------------------------------
19549 if test "$GCC" = "yes" ; then
19550 ac_cv_stdint_message="using gnu compiler "`$CC --version | head -1`
19552 ac_cv_stdint_message="using $CC"
19555 echo "$as_me:$LINENO: result: make use of $ac_cv_header_stdint in $ac_stdint_h $ac_cv_stdint_result" >&5
19556 echo "${ECHO_T}make use of $ac_cv_header_stdint in $ac_stdint_h $ac_cv_stdint_result" >&6
19558 # ----------------- DONE inttypes.h checks START header -------------
19559 ac_config_commands="$ac_config_commands $ac_stdint_h"
19564 # Check whether --with-glibj_zip or --without-glibj_zip was given.
19565 if test "${with_glibj_zip+set}" = set; then
19566 withval="$with_glibj_zip"
19570 case "$with_glibj_zip" in
19572 use_glibj_zip=false
19575 use_glibj_zip=false
19578 { { echo "$as_me:$LINENO: error: Please suply an absolute path to a prebuilt glibj.zip" >&5
19579 echo "$as_me: error: Please suply an absolute path to a prebuilt glibj.zip" >&2;}
19580 { (exit 1); exit 1; }; }
19584 PATH_TO_GLIBJ_ZIP=$with_glibj_zip
19590 if test x$use_glibj_zip = xtrue; then
19591 USE_PREBUILT_GLIBJ_ZIP_TRUE=
19592 USE_PREBUILT_GLIBJ_ZIP_FALSE='#'
19594 USE_PREBUILT_GLIBJ_ZIP_TRUE='#'
19595 USE_PREBUILT_GLIBJ_ZIP_FALSE=
19601 # Check whether --with-escher or --without-escher was given.
19602 if test "${with_escher+set}" = set; then
19603 withval="$with_escher"
19606 case "$with_escher" in
19614 { { echo "$as_me:$LINENO: error: Please supply an absolute path to Escher library" >&5
19615 echo "$as_me: error: Please supply an absolute path to Escher library" >&2;}
19616 { (exit 1); exit 1; }; }
19620 PATH_TO_ESCHER=$with_escher
19626 if test x$use_escher = xtrue; then
19628 USE_ESCHER_FALSE='#'
19630 USE_ESCHER_TRUE='#'
19636 # Check whether --enable-local-sockets or --disable-local-sockets was given.
19637 if test "${enable_local_sockets+set}" = set; then
19638 enableval="$enable_local_sockets"
19639 case "${enableval}" in
19641 ENABLE_LOCAL_SOCKETS=yes
19644 ENABLE_LOCAL_SOCKETS=no
19648 if test "x$ENABLE_LOCAL_SOCKETS" = "xyes"
19650 if test "${ac_cv_header_sys_un_h+set}" = set; then
19651 echo "$as_me:$LINENO: checking for sys/un.h" >&5
19652 echo $ECHO_N "checking for sys/un.h... $ECHO_C" >&6
19653 if test "${ac_cv_header_sys_un_h+set}" = set; then
19654 echo $ECHO_N "(cached) $ECHO_C" >&6
19656 echo "$as_me:$LINENO: result: $ac_cv_header_sys_un_h" >&5
19657 echo "${ECHO_T}$ac_cv_header_sys_un_h" >&6
19659 # Is the header compilable?
19660 echo "$as_me:$LINENO: checking sys/un.h usability" >&5
19661 echo $ECHO_N "checking sys/un.h usability... $ECHO_C" >&6
19662 cat >conftest.$ac_ext <<_ACEOF
19665 cat confdefs.h >>conftest.$ac_ext
19666 cat >>conftest.$ac_ext <<_ACEOF
19667 /* end confdefs.h. */
19668 $ac_includes_default
19669 #include <sys/un.h>
19671 rm -f conftest.$ac_objext
19672 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19673 (eval $ac_compile) 2>conftest.er1
19675 grep -v '^ *+' conftest.er1 >conftest.err
19677 cat conftest.err >&5
19678 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19679 (exit $ac_status); } &&
19680 { ac_try='test -z "$ac_c_werror_flag"
19681 || test ! -s conftest.err'
19682 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19683 (eval $ac_try) 2>&5
19685 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19686 (exit $ac_status); }; } &&
19687 { ac_try='test -s conftest.$ac_objext'
19688 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19689 (eval $ac_try) 2>&5
19691 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19692 (exit $ac_status); }; }; then
19693 ac_header_compiler=yes
19695 echo "$as_me: failed program was:" >&5
19696 sed 's/^/| /' conftest.$ac_ext >&5
19698 ac_header_compiler=no
19700 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
19701 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
19702 echo "${ECHO_T}$ac_header_compiler" >&6
19704 # Is the header present?
19705 echo "$as_me:$LINENO: checking sys/un.h presence" >&5
19706 echo $ECHO_N "checking sys/un.h presence... $ECHO_C" >&6
19707 cat >conftest.$ac_ext <<_ACEOF
19710 cat confdefs.h >>conftest.$ac_ext
19711 cat >>conftest.$ac_ext <<_ACEOF
19712 /* end confdefs.h. */
19713 #include <sys/un.h>
19715 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
19716 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
19718 grep -v '^ *+' conftest.er1 >conftest.err
19720 cat conftest.err >&5
19721 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19722 (exit $ac_status); } >/dev/null; then
19723 if test -s conftest.err; then
19724 ac_cpp_err=$ac_c_preproc_warn_flag
19725 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
19732 if test -z "$ac_cpp_err"; then
19733 ac_header_preproc=yes
19735 echo "$as_me: failed program was:" >&5
19736 sed 's/^/| /' conftest.$ac_ext >&5
19738 ac_header_preproc=no
19740 rm -f conftest.err conftest.$ac_ext
19741 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
19742 echo "${ECHO_T}$ac_header_preproc" >&6
19744 # So? What about this header?
19745 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
19747 { echo "$as_me:$LINENO: WARNING: sys/un.h: accepted by the compiler, rejected by the preprocessor!" >&5
19748 echo "$as_me: WARNING: sys/un.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
19749 { echo "$as_me:$LINENO: WARNING: sys/un.h: proceeding with the compiler's result" >&5
19750 echo "$as_me: WARNING: sys/un.h: proceeding with the compiler's result" >&2;}
19751 ac_header_preproc=yes
19754 { echo "$as_me:$LINENO: WARNING: sys/un.h: present but cannot be compiled" >&5
19755 echo "$as_me: WARNING: sys/un.h: present but cannot be compiled" >&2;}
19756 { echo "$as_me:$LINENO: WARNING: sys/un.h: check for missing prerequisite headers?" >&5
19757 echo "$as_me: WARNING: sys/un.h: check for missing prerequisite headers?" >&2;}
19758 { echo "$as_me:$LINENO: WARNING: sys/un.h: see the Autoconf documentation" >&5
19759 echo "$as_me: WARNING: sys/un.h: see the Autoconf documentation" >&2;}
19760 { echo "$as_me:$LINENO: WARNING: sys/un.h: section \"Present But Cannot Be Compiled\"" >&5
19761 echo "$as_me: WARNING: sys/un.h: section \"Present But Cannot Be Compiled\"" >&2;}
19762 { echo "$as_me:$LINENO: WARNING: sys/un.h: proceeding with the preprocessor's result" >&5
19763 echo "$as_me: WARNING: sys/un.h: proceeding with the preprocessor's result" >&2;}
19764 { echo "$as_me:$LINENO: WARNING: sys/un.h: in the future, the compiler will take precedence" >&5
19765 echo "$as_me: WARNING: sys/un.h: in the future, the compiler will take precedence" >&2;}
19768 ## -------------------------------- ##
19769 ## Report this to classpath@gnu.org ##
19770 ## -------------------------------- ##
19773 sed "s/^/$as_me: WARNING: /" >&2
19776 echo "$as_me:$LINENO: checking for sys/un.h" >&5
19777 echo $ECHO_N "checking for sys/un.h... $ECHO_C" >&6
19778 if test "${ac_cv_header_sys_un_h+set}" = set; then
19779 echo $ECHO_N "(cached) $ECHO_C" >&6
19781 ac_cv_header_sys_un_h=$ac_header_preproc
19783 echo "$as_me:$LINENO: result: $ac_cv_header_sys_un_h" >&5
19784 echo "${ECHO_T}$ac_cv_header_sys_un_h" >&6
19795 for ac_func in read write bind listen accept shutdown
19797 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
19798 echo "$as_me:$LINENO: checking for $ac_func" >&5
19799 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
19800 if eval "test \"\${$as_ac_var+set}\" = set"; then
19801 echo $ECHO_N "(cached) $ECHO_C" >&6
19803 if test x$gcc_no_link = xyes; then
19804 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
19805 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
19806 { (exit 1); exit 1; }; }
19808 cat >conftest.$ac_ext <<_ACEOF
19811 cat confdefs.h >>conftest.$ac_ext
19812 cat >>conftest.$ac_ext <<_ACEOF
19813 /* end confdefs.h. */
19814 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
19815 For example, HP-UX 11i <limits.h> declares gettimeofday. */
19816 #define $ac_func innocuous_$ac_func
19818 /* System header to define __stub macros and hopefully few prototypes,
19819 which can conflict with char $ac_func (); below.
19820 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
19821 <limits.h> exists even on freestanding compilers. */
19824 # include <limits.h>
19826 # include <assert.h>
19831 /* Override any gcc2 internal prototype to avoid an error. */
19836 /* We use char because int might match the return type of a gcc2
19837 builtin and then its argument prototype would still apply. */
19839 /* The GNU C library defines this for functions which it implements
19840 to always fail with ENOSYS. Some functions are actually named
19841 something starting with __ and the normal name is an alias. */
19842 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
19845 char (*f) () = $ac_func;
19854 return f != $ac_func;
19859 rm -f conftest.$ac_objext conftest$ac_exeext
19860 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
19861 (eval $ac_link) 2>conftest.er1
19863 grep -v '^ *+' conftest.er1 >conftest.err
19865 cat conftest.err >&5
19866 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19867 (exit $ac_status); } &&
19868 { ac_try='test -z "$ac_c_werror_flag"
19869 || test ! -s conftest.err'
19870 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19871 (eval $ac_try) 2>&5
19873 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19874 (exit $ac_status); }; } &&
19875 { ac_try='test -s conftest$ac_exeext'
19876 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19877 (eval $ac_try) 2>&5
19879 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19880 (exit $ac_status); }; }; then
19881 eval "$as_ac_var=yes"
19883 echo "$as_me: failed program was:" >&5
19884 sed 's/^/| /' conftest.$ac_ext >&5
19886 eval "$as_ac_var=no"
19888 rm -f conftest.err conftest.$ac_objext \
19889 conftest$ac_exeext conftest.$ac_ext
19891 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
19892 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
19893 if test `eval echo '${'$as_ac_var'}'` = yes; then
19894 cat >>confdefs.h <<_ACEOF
19895 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
19899 { { echo "$as_me:$LINENO: error: networking support not available" >&5
19900 echo "$as_me: error: networking support not available" >&2;}
19901 { (exit 1); exit 1; }; }
19906 cat >>confdefs.h <<\_ACEOF
19907 #define ENABLE_LOCAL_SOCKETS 1
19913 if test "x$ENABLE_LOCAL_SOCKETS" = "xyes"; then
19914 ENABLE_LOCAL_SOCKETS_TRUE=
19915 ENABLE_LOCAL_SOCKETS_FALSE='#'
19917 ENABLE_LOCAL_SOCKETS_TRUE='#'
19918 ENABLE_LOCAL_SOCKETS_FALSE=
19924 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"
19927 if test "x${COMPILE_WRAPPERS}" = xno
19929 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"
19931 ac_config_commands="$ac_config_commands gappletviewer"
19933 ac_config_commands="$ac_config_commands gjarsigner"
19935 ac_config_commands="$ac_config_commands gkeytool"
19937 ac_config_commands="$ac_config_commands gjar"
19939 ac_config_commands="$ac_config_commands gnative2ascii"
19941 ac_config_commands="$ac_config_commands gserialver"
19943 ac_config_commands="$ac_config_commands grmiregistry"
19945 ac_config_commands="$ac_config_commands gtnameserv"
19947 ac_config_commands="$ac_config_commands gorbd"
19949 ac_config_commands="$ac_config_commands grmid"
19951 ac_config_commands="$ac_config_commands grmic"
19953 ac_config_commands="$ac_config_commands gjavah"
19957 ac_config_commands="$ac_config_commands gen-classlist"
19959 ac_config_commands="$ac_config_commands copy-vmresources"
19961 cat >confcache <<\_ACEOF
19962 # This file is a shell script that caches the results of configure
19963 # tests run on this system so they can be shared between configure
19964 # scripts and configure runs, see configure's option --config-cache.
19965 # It is not useful on other systems. If it contains results you don't
19966 # want to keep, you may remove or edit it.
19968 # config.status only pays attention to the cache file if you give it
19969 # the --recheck option to rerun configure.
19971 # `ac_cv_env_foo' variables (set or unset) will be overridden when
19972 # loading this file, other *unset* `ac_cv_foo' will be assigned the
19973 # following values.
19977 # The following way of writing the cache mishandles newlines in values,
19978 # but we know of no workaround that is simple, portable, and efficient.
19979 # So, don't put newlines in cache variables' values.
19980 # Ultrix sh set writes to stderr and can't be redirected directly,
19981 # and sets the high bit in the cache file unless we assign to the vars.
19984 case `(ac_space=' '; set | grep ac_space) 2>&1` in
19986 # `set' does not quote correctly, so add quotes (double-quote
19987 # substitution turns \\\\ into \\, and sed turns \\ into \).
19990 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
19993 # `set' quotes correctly as required by POSIX, so do not add quotes.
19995 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
20002 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
20004 /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
20006 if diff $cache_file confcache >/dev/null 2>&1; then :; else
20007 if test -w $cache_file; then
20008 test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
20009 cat confcache >$cache_file
20011 echo "not updating unwritable cache $cache_file"
20016 test "x$prefix" = xNONE && prefix=$ac_default_prefix
20017 # Let make expand exec_prefix.
20018 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
20020 # VPATH may cause trouble with some makes, so we remove $(srcdir),
20021 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
20022 # trailing colons and then remove the whole line if VPATH becomes empty
20023 # (actually we leave an empty line to preserve line numbers).
20024 if test "x$srcdir" = x.; then
20025 ac_vpsub='/^[ ]*VPATH[ ]*=/{
20026 s/:*\$(srcdir):*/:/;
20027 s/:*\${srcdir}:*/:/;
20029 s/^\([^=]*=[ ]*\):*/\1/;
20035 DEFS=-DHAVE_CONFIG_H
20039 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
20040 # 1. Remove the extension, and $U if already installed.
20041 ac_i=`echo "$ac_i" |
20042 sed 's/\$U\././;s/\.o$//;s/\.obj$//'`
20044 ac_libobjs="$ac_libobjs $ac_i\$U.$ac_objext"
20045 ac_ltlibobjs="$ac_ltlibobjs $ac_i"'$U.lo'
20047 LIBOBJS=$ac_libobjs
20049 LTLIBOBJS=$ac_ltlibobjs
20052 if test -z "${JAVA_MAINTAINER_MODE_TRUE}" && test -z "${JAVA_MAINTAINER_MODE_FALSE}"; then
20053 { { echo "$as_me:$LINENO: error: conditional \"JAVA_MAINTAINER_MODE\" was never defined.
20054 Usually this means the macro was only invoked conditionally." >&5
20055 echo "$as_me: error: conditional \"JAVA_MAINTAINER_MODE\" was never defined.
20056 Usually this means the macro was only invoked conditionally." >&2;}
20057 { (exit 1); exit 1; }; }
20059 if test -z "${CREATE_COLLECTIONS_TRUE}" && test -z "${CREATE_COLLECTIONS_FALSE}"; then
20060 { { echo "$as_me:$LINENO: error: conditional \"CREATE_COLLECTIONS\" was never defined.
20061 Usually this means the macro was only invoked conditionally." >&5
20062 echo "$as_me: error: conditional \"CREATE_COLLECTIONS\" was never defined.
20063 Usually this means the macro was only invoked conditionally." >&2;}
20064 { (exit 1); exit 1; }; }
20066 if test -z "${CREATE_JNI_LIBRARIES_TRUE}" && test -z "${CREATE_JNI_LIBRARIES_FALSE}"; then
20067 { { echo "$as_me:$LINENO: error: conditional \"CREATE_JNI_LIBRARIES\" was never defined.
20068 Usually this means the macro was only invoked conditionally." >&5
20069 echo "$as_me: error: conditional \"CREATE_JNI_LIBRARIES\" was never defined.
20070 Usually this means the macro was only invoked conditionally." >&2;}
20071 { (exit 1); exit 1; }; }
20073 if test -z "${CREATE_CORE_JNI_LIBRARIES_TRUE}" && test -z "${CREATE_CORE_JNI_LIBRARIES_FALSE}"; then
20074 { { echo "$as_me:$LINENO: error: conditional \"CREATE_CORE_JNI_LIBRARIES\" was never defined.
20075 Usually this means the macro was only invoked conditionally." >&5
20076 echo "$as_me: error: conditional \"CREATE_CORE_JNI_LIBRARIES\" was never defined.
20077 Usually this means the macro was only invoked conditionally." >&2;}
20078 { (exit 1); exit 1; }; }
20080 if test -z "${CREATE_GCONF_PEER_LIBRARIES_TRUE}" && test -z "${CREATE_GCONF_PEER_LIBRARIES_FALSE}"; then
20081 { { echo "$as_me:$LINENO: error: conditional \"CREATE_GCONF_PEER_LIBRARIES\" was never defined.
20082 Usually this means the macro was only invoked conditionally." >&5
20083 echo "$as_me: error: conditional \"CREATE_GCONF_PEER_LIBRARIES\" was never defined.
20084 Usually this means the macro was only invoked conditionally." >&2;}
20085 { (exit 1); exit 1; }; }
20087 if test -z "${CREATE_XMLJ_LIBRARY_TRUE}" && test -z "${CREATE_XMLJ_LIBRARY_FALSE}"; then
20088 { { echo "$as_me:$LINENO: error: conditional \"CREATE_XMLJ_LIBRARY\" was never defined.
20089 Usually this means the macro was only invoked conditionally." >&5
20090 echo "$as_me: error: conditional \"CREATE_XMLJ_LIBRARY\" was never defined.
20091 Usually this means the macro was only invoked conditionally." >&2;}
20092 { (exit 1); exit 1; }; }
20094 if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
20095 { { echo "$as_me:$LINENO: error: conditional \"AMDEP\" was never defined.
20096 Usually this means the macro was only invoked conditionally." >&5
20097 echo "$as_me: error: conditional \"AMDEP\" was never defined.
20098 Usually this means the macro was only invoked conditionally." >&2;}
20099 { (exit 1); exit 1; }; }
20101 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
20102 { { echo "$as_me:$LINENO: error: conditional \"am__fastdepCC\" was never defined.
20103 Usually this means the macro was only invoked conditionally." >&5
20104 echo "$as_me: error: conditional \"am__fastdepCC\" was never defined.
20105 Usually this means the macro was only invoked conditionally." >&2;}
20106 { (exit 1); exit 1; }; }
20108 if test -z "${CREATE_ALSA_LIBRARIES_TRUE}" && test -z "${CREATE_ALSA_LIBRARIES_FALSE}"; then
20109 { { echo "$as_me:$LINENO: error: conditional \"CREATE_ALSA_LIBRARIES\" was never defined.
20110 Usually this means the macro was only invoked conditionally." >&5
20111 echo "$as_me: error: conditional \"CREATE_ALSA_LIBRARIES\" was never defined.
20112 Usually this means the macro was only invoked conditionally." >&2;}
20113 { (exit 1); exit 1; }; }
20115 if test -z "${CREATE_DSSI_LIBRARIES_TRUE}" && test -z "${CREATE_DSSI_LIBRARIES_FALSE}"; then
20116 { { echo "$as_me:$LINENO: error: conditional \"CREATE_DSSI_LIBRARIES\" was never defined.
20117 Usually this means the macro was only invoked conditionally." >&5
20118 echo "$as_me: error: conditional \"CREATE_DSSI_LIBRARIES\" was never defined.
20119 Usually this means the macro was only invoked conditionally." >&2;}
20120 { (exit 1); exit 1; }; }
20122 if test -z "${CREATE_GTK_PEER_LIBRARIES_TRUE}" && test -z "${CREATE_GTK_PEER_LIBRARIES_FALSE}"; then
20123 { { echo "$as_me:$LINENO: error: conditional \"CREATE_GTK_PEER_LIBRARIES\" was never defined.
20124 Usually this means the macro was only invoked conditionally." >&5
20125 echo "$as_me: error: conditional \"CREATE_GTK_PEER_LIBRARIES\" was never defined.
20126 Usually this means the macro was only invoked conditionally." >&2;}
20127 { (exit 1); exit 1; }; }
20129 if test -z "${CREATE_QT_PEER_LIBRARIES_TRUE}" && test -z "${CREATE_QT_PEER_LIBRARIES_FALSE}"; then
20130 { { echo "$as_me:$LINENO: error: conditional \"CREATE_QT_PEER_LIBRARIES\" was never defined.
20131 Usually this means the macro was only invoked conditionally." >&5
20132 echo "$as_me: error: conditional \"CREATE_QT_PEER_LIBRARIES\" was never defined.
20133 Usually this means the macro was only invoked conditionally." >&2;}
20134 { (exit 1); exit 1; }; }
20136 if test -z "${CREATE_PLUGIN_TRUE}" && test -z "${CREATE_PLUGIN_FALSE}"; then
20137 { { echo "$as_me:$LINENO: error: conditional \"CREATE_PLUGIN\" was never defined.
20138 Usually this means the macro was only invoked conditionally." >&5
20139 echo "$as_me: error: conditional \"CREATE_PLUGIN\" was never defined.
20140 Usually this means the macro was only invoked conditionally." >&2;}
20141 { (exit 1); exit 1; }; }
20143 if test -z "${FOUND_CACAO_TRUE}" && test -z "${FOUND_CACAO_FALSE}"; then
20144 { { echo "$as_me:$LINENO: error: conditional \"FOUND_CACAO\" was never defined.
20145 Usually this means the macro was only invoked conditionally." >&5
20146 echo "$as_me: error: conditional \"FOUND_CACAO\" was never defined.
20147 Usually this means the macro was only invoked conditionally." >&2;}
20148 { (exit 1); exit 1; }; }
20150 if test -z "${CREATE_JNI_HEADERS_TRUE}" && test -z "${CREATE_JNI_HEADERS_FALSE}"; then
20151 { { echo "$as_me:$LINENO: error: conditional \"CREATE_JNI_HEADERS\" was never defined.
20152 Usually this means the macro was only invoked conditionally." >&5
20153 echo "$as_me: error: conditional \"CREATE_JNI_HEADERS\" was never defined.
20154 Usually this means the macro was only invoked conditionally." >&2;}
20155 { (exit 1); exit 1; }; }
20157 if test -z "${CREATE_WRAPPERS_TRUE}" && test -z "${CREATE_WRAPPERS_FALSE}"; then
20158 { { echo "$as_me:$LINENO: error: conditional \"CREATE_WRAPPERS\" was never defined.
20159 Usually this means the macro was only invoked conditionally." >&5
20160 echo "$as_me: error: conditional \"CREATE_WRAPPERS\" was never defined.
20161 Usually this means the macro was only invoked conditionally." >&2;}
20162 { (exit 1); exit 1; }; }
20164 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
20165 { { echo "$as_me:$LINENO: error: conditional \"am__fastdepCC\" was never defined.
20166 Usually this means the macro was only invoked conditionally." >&5
20167 echo "$as_me: error: conditional \"am__fastdepCC\" was never defined.
20168 Usually this means the macro was only invoked conditionally." >&2;}
20169 { (exit 1); exit 1; }; }
20171 if test -z "${am__fastdepCXX_TRUE}" && test -z "${am__fastdepCXX_FALSE}"; then
20172 { { echo "$as_me:$LINENO: error: conditional \"am__fastdepCXX\" was never defined.
20173 Usually this means the macro was only invoked conditionally." >&5
20174 echo "$as_me: error: conditional \"am__fastdepCXX\" was never defined.
20175 Usually this means the macro was only invoked conditionally." >&2;}
20176 { (exit 1); exit 1; }; }
20178 if test -z "${USER_SPECIFIED_JAVAH_TRUE}" && test -z "${USER_SPECIFIED_JAVAH_FALSE}"; then
20179 { { echo "$as_me:$LINENO: error: conditional \"USER_SPECIFIED_JAVAH\" was never defined.
20180 Usually this means the macro was only invoked conditionally." >&5
20181 echo "$as_me: error: conditional \"USER_SPECIFIED_JAVAH\" was never defined.
20182 Usually this means the macro was only invoked conditionally." >&2;}
20183 { (exit 1); exit 1; }; }
20185 if test -z "${FOUND_GCJ_TRUE}" && test -z "${FOUND_GCJ_FALSE}"; then
20186 { { echo "$as_me:$LINENO: error: conditional \"FOUND_GCJ\" was never defined.
20187 Usually this means the macro was only invoked conditionally." >&5
20188 echo "$as_me: error: conditional \"FOUND_GCJ\" was never defined.
20189 Usually this means the macro was only invoked conditionally." >&2;}
20190 { (exit 1); exit 1; }; }
20192 if test -z "${FOUND_JIKES_TRUE}" && test -z "${FOUND_JIKES_FALSE}"; then
20193 { { echo "$as_me:$LINENO: error: conditional \"FOUND_JIKES\" was never defined.
20194 Usually this means the macro was only invoked conditionally." >&5
20195 echo "$as_me: error: conditional \"FOUND_JIKES\" was never defined.
20196 Usually this means the macro was only invoked conditionally." >&2;}
20197 { (exit 1); exit 1; }; }
20199 if test -z "${FOUND_ECJ_TRUE}" && test -z "${FOUND_ECJ_FALSE}"; then
20200 { { echo "$as_me:$LINENO: error: conditional \"FOUND_ECJ\" was never defined.
20201 Usually this means the macro was only invoked conditionally." >&5
20202 echo "$as_me: error: conditional \"FOUND_ECJ\" was never defined.
20203 Usually this means the macro was only invoked conditionally." >&2;}
20204 { (exit 1); exit 1; }; }
20206 if test -z "${FOUND_GCJ_TRUE}" && test -z "${FOUND_GCJ_FALSE}"; then
20207 { { echo "$as_me:$LINENO: error: conditional \"FOUND_GCJ\" was never defined.
20208 Usually this means the macro was only invoked conditionally." >&5
20209 echo "$as_me: error: conditional \"FOUND_GCJ\" was never defined.
20210 Usually this means the macro was only invoked conditionally." >&2;}
20211 { (exit 1); exit 1; }; }
20213 if test -z "${FOUND_JIKES_TRUE}" && test -z "${FOUND_JIKES_FALSE}"; then
20214 { { echo "$as_me:$LINENO: error: conditional \"FOUND_JIKES\" was never defined.
20215 Usually this means the macro was only invoked conditionally." >&5
20216 echo "$as_me: error: conditional \"FOUND_JIKES\" was never defined.
20217 Usually this means the macro was only invoked conditionally." >&2;}
20218 { (exit 1); exit 1; }; }
20220 if test -z "${FOUND_ECJ_TRUE}" && test -z "${FOUND_ECJ_FALSE}"; then
20221 { { echo "$as_me:$LINENO: error: conditional \"FOUND_ECJ\" was never defined.
20222 Usually this means the macro was only invoked conditionally." >&5
20223 echo "$as_me: error: conditional \"FOUND_ECJ\" was never defined.
20224 Usually this means the macro was only invoked conditionally." >&2;}
20225 { (exit 1); exit 1; }; }
20227 if test -z "${FOUND_KJC_TRUE}" && test -z "${FOUND_KJC_FALSE}"; then
20228 { { echo "$as_me:$LINENO: error: conditional \"FOUND_KJC\" was never defined.
20229 Usually this means the macro was only invoked conditionally." >&5
20230 echo "$as_me: error: conditional \"FOUND_KJC\" was never defined.
20231 Usually this means the macro was only invoked conditionally." >&2;}
20232 { (exit 1); exit 1; }; }
20234 if test -z "${FOUND_GCJX_TRUE}" && test -z "${FOUND_GCJX_FALSE}"; then
20235 { { echo "$as_me:$LINENO: error: conditional \"FOUND_GCJX\" was never defined.
20236 Usually this means the macro was only invoked conditionally." >&5
20237 echo "$as_me: error: conditional \"FOUND_GCJX\" was never defined.
20238 Usually this means the macro was only invoked conditionally." >&2;}
20239 { (exit 1); exit 1; }; }
20241 if test -z "${USER_SPECIFIED_CLASSLIB_TRUE}" && test -z "${USER_SPECIFIED_CLASSLIB_FALSE}"; then
20242 { { echo "$as_me:$LINENO: error: conditional \"USER_SPECIFIED_CLASSLIB\" was never defined.
20243 Usually this means the macro was only invoked conditionally." >&5
20244 echo "$as_me: error: conditional \"USER_SPECIFIED_CLASSLIB\" was never defined.
20245 Usually this means the macro was only invoked conditionally." >&2;}
20246 { (exit 1); exit 1; }; }
20248 if test -z "${MAINTAINER_MODE_TRUE}" && test -z "${MAINTAINER_MODE_FALSE}"; then
20249 { { echo "$as_me:$LINENO: error: conditional \"MAINTAINER_MODE\" was never defined.
20250 Usually this means the macro was only invoked conditionally." >&5
20251 echo "$as_me: error: conditional \"MAINTAINER_MODE\" was never defined.
20252 Usually this means the macro was only invoked conditionally." >&2;}
20253 { (exit 1); exit 1; }; }
20255 if test -z "${INSTALL_GLIBJ_ZIP_TRUE}" && test -z "${INSTALL_GLIBJ_ZIP_FALSE}"; then
20256 { { echo "$as_me:$LINENO: error: conditional \"INSTALL_GLIBJ_ZIP\" was never defined.
20257 Usually this means the macro was only invoked conditionally." >&5
20258 echo "$as_me: error: conditional \"INSTALL_GLIBJ_ZIP\" was never defined.
20259 Usually this means the macro was only invoked conditionally." >&2;}
20260 { (exit 1); exit 1; }; }
20262 if test -z "${INSTALL_CLASS_FILES_TRUE}" && test -z "${INSTALL_CLASS_FILES_FALSE}"; then
20263 { { echo "$as_me:$LINENO: error: conditional \"INSTALL_CLASS_FILES\" was never defined.
20264 Usually this means the macro was only invoked conditionally." >&5
20265 echo "$as_me: error: conditional \"INSTALL_CLASS_FILES\" was never defined.
20266 Usually this means the macro was only invoked conditionally." >&2;}
20267 { (exit 1); exit 1; }; }
20269 if test -z "${BUILD_CLASS_FILES_TRUE}" && test -z "${BUILD_CLASS_FILES_FALSE}"; then
20270 { { echo "$as_me:$LINENO: error: conditional \"BUILD_CLASS_FILES\" was never defined.
20271 Usually this means the macro was only invoked conditionally." >&5
20272 echo "$as_me: error: conditional \"BUILD_CLASS_FILES\" was never defined.
20273 Usually this means the macro was only invoked conditionally." >&2;}
20274 { (exit 1); exit 1; }; }
20276 if test -z "${CREATE_API_DOCS_TRUE}" && test -z "${CREATE_API_DOCS_FALSE}"; then
20277 { { echo "$as_me:$LINENO: error: conditional \"CREATE_API_DOCS\" was never defined.
20278 Usually this means the macro was only invoked conditionally." >&5
20279 echo "$as_me: error: conditional \"CREATE_API_DOCS\" was never defined.
20280 Usually this means the macro was only invoked conditionally." >&2;}
20281 { (exit 1); exit 1; }; }
20283 if test -z "${REGEN_PARSERS_TRUE}" && test -z "${REGEN_PARSERS_FALSE}"; then
20284 { { echo "$as_me:$LINENO: error: conditional \"REGEN_PARSERS\" was never defined.
20285 Usually this means the macro was only invoked conditionally." >&5
20286 echo "$as_me: error: conditional \"REGEN_PARSERS\" was never defined.
20287 Usually this means the macro was only invoked conditionally." >&2;}
20288 { (exit 1); exit 1; }; }
20290 if test -z "${USE_PREBUILT_GLIBJ_ZIP_TRUE}" && test -z "${USE_PREBUILT_GLIBJ_ZIP_FALSE}"; then
20291 { { echo "$as_me:$LINENO: error: conditional \"USE_PREBUILT_GLIBJ_ZIP\" was never defined.
20292 Usually this means the macro was only invoked conditionally." >&5
20293 echo "$as_me: error: conditional \"USE_PREBUILT_GLIBJ_ZIP\" was never defined.
20294 Usually this means the macro was only invoked conditionally." >&2;}
20295 { (exit 1); exit 1; }; }
20297 if test -z "${USE_ESCHER_TRUE}" && test -z "${USE_ESCHER_FALSE}"; then
20298 { { echo "$as_me:$LINENO: error: conditional \"USE_ESCHER\" was never defined.
20299 Usually this means the macro was only invoked conditionally." >&5
20300 echo "$as_me: error: conditional \"USE_ESCHER\" was never defined.
20301 Usually this means the macro was only invoked conditionally." >&2;}
20302 { (exit 1); exit 1; }; }
20304 if test -z "${ENABLE_LOCAL_SOCKETS_TRUE}" && test -z "${ENABLE_LOCAL_SOCKETS_FALSE}"; then
20305 { { echo "$as_me:$LINENO: error: conditional \"ENABLE_LOCAL_SOCKETS\" was never defined.
20306 Usually this means the macro was only invoked conditionally." >&5
20307 echo "$as_me: error: conditional \"ENABLE_LOCAL_SOCKETS\" was never defined.
20308 Usually this means the macro was only invoked conditionally." >&2;}
20309 { (exit 1); exit 1; }; }
20312 : ${CONFIG_STATUS=./config.status}
20313 ac_clean_files_save=$ac_clean_files
20314 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
20315 { echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
20316 echo "$as_me: creating $CONFIG_STATUS" >&6;}
20317 cat >$CONFIG_STATUS <<_ACEOF
20319 # Generated by $as_me.
20320 # Run this file to recreate the current configuration.
20321 # Compiler output produced by configure, useful for debugging
20322 # configure, is in config.log if it exists.
20325 ac_cs_recheck=false
20327 SHELL=\${CONFIG_SHELL-$SHELL}
20330 cat >>$CONFIG_STATUS <<\_ACEOF
20331 ## --------------------- ##
20332 ## M4sh Initialization. ##
20333 ## --------------------- ##
20335 # Be Bourne compatible
20336 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
20339 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
20340 # is contrary to our usage. Disable this feature.
20341 alias -g '${1+"$@"}'='"$@"'
20342 elif test -n "${BASH_VERSION+set}" && (set -o posix) >/dev/null 2>&1; then
20345 DUALCASE=1; export DUALCASE # for MKS sh
20347 # Support unset when possible.
20348 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
20355 # Work around bugs in pre-3.0 UWIN ksh.
20356 $as_unset ENV MAIL MAILPATH
20363 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
20364 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
20365 LC_TELEPHONE LC_TIME
20367 if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
20368 eval $as_var=C; export $as_var
20374 # Required to use basename.
20375 if expr a : '\(a\)' >/dev/null 2>&1; then
20381 if (basename /) >/dev/null 2>&1 && test "X`basename / 2>&1`" = "X/"; then
20382 as_basename=basename
20388 # Name of the executable.
20389 as_me=`$as_basename "$0" ||
20390 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
20391 X"$0" : 'X\(//\)$' \| \
20392 X"$0" : 'X\(/\)$' \| \
20393 . : '\(.\)' 2>/dev/null ||
20395 sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; }
20396 /^X\/\(\/\/\)$/{ s//\1/; q; }
20397 /^X\/\(\/\).*/{ s//\1/; q; }
20401 # PATH needs CR, and LINENO needs CR and PATH.
20402 # Avoid depending upon Character Ranges.
20403 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
20404 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
20405 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
20406 as_cr_digits='0123456789'
20407 as_cr_alnum=$as_cr_Letters$as_cr_digits
20409 # The user is always right.
20410 if test "${PATH_SEPARATOR+set}" != set; then
20411 echo "#! /bin/sh" >conf$$.sh
20412 echo "exit 0" >>conf$$.sh
20414 if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
20423 as_lineno_1=$LINENO
20424 as_lineno_2=$LINENO
20425 as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
20426 test "x$as_lineno_1" != "x$as_lineno_2" &&
20427 test "x$as_lineno_3" = "x$as_lineno_2" || {
20428 # Find who we are. Look in the path if we contain no path at all
20431 *[\\/]* ) as_myself=$0 ;;
20432 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
20433 for as_dir in $PATH
20436 test -z "$as_dir" && as_dir=.
20437 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
20442 # We did not find ourselves, most probably we were run as `sh COMMAND'
20443 # in which case we are not to be found in the path.
20444 if test "x$as_myself" = x; then
20447 if test ! -f "$as_myself"; then
20448 { { echo "$as_me:$LINENO: error: cannot find myself; rerun with an absolute path" >&5
20449 echo "$as_me: error: cannot find myself; rerun with an absolute path" >&2;}
20450 { (exit 1); exit 1; }; }
20452 case $CONFIG_SHELL in
20454 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
20455 for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
20458 test -z "$as_dir" && as_dir=.
20459 for as_base in sh bash ksh sh5; do
20462 if ("$as_dir/$as_base" -c '
20463 as_lineno_1=$LINENO
20464 as_lineno_2=$LINENO
20465 as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
20466 test "x$as_lineno_1" != "x$as_lineno_2" &&
20467 test "x$as_lineno_3" = "x$as_lineno_2" ') 2>/dev/null; then
20468 $as_unset BASH_ENV || test "${BASH_ENV+set}" != set || { BASH_ENV=; export BASH_ENV; }
20469 $as_unset ENV || test "${ENV+set}" != set || { ENV=; export ENV; }
20470 CONFIG_SHELL=$as_dir/$as_base
20471 export CONFIG_SHELL
20472 exec "$CONFIG_SHELL" "$0" ${1+"$@"}
20480 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
20481 # uniformly replaced by the line number. The first 'sed' inserts a
20482 # line-number line before each line; the second 'sed' does the real
20483 # work. The second script uses 'N' to pair each line-number line
20484 # with the numbered line, and appends trailing '-' during
20485 # substitution so that $LINENO is not a special case at line end.
20486 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
20487 # second 'sed' script. Blame Lee E. McMahon for sed's syntax. :-)
20488 sed '=' <$as_myself |
20493 s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3,
20496 s,^['$as_cr_digits']*\n,,
20497 ' >$as_me.lineno &&
20498 chmod +x $as_me.lineno ||
20499 { { echo "$as_me:$LINENO: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&5
20500 echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2;}
20501 { (exit 1); exit 1; }; }
20503 # Don't try to exec as it changes $[0], causing all sort of problems
20504 # (the dirname of $[0] is not the place where we might find the
20505 # original and so on. Autoconf is especially sensible to this).
20507 # Exit status is that of the last command.
20512 case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in
20513 *c*,-n*) ECHO_N= ECHO_C='
20515 *c*,* ) ECHO_N=-n ECHO_C= ECHO_T= ;;
20516 *) ECHO_N= ECHO_C='\c' ECHO_T= ;;
20519 if expr a : '\(a\)' >/dev/null 2>&1; then
20525 rm -f conf$$ conf$$.exe conf$$.file
20527 if ln -s conf$$.file conf$$ 2>/dev/null; then
20528 # We could just check for DJGPP; but this test a) works b) is more generic
20529 # and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04).
20530 if test -f conf$$.exe; then
20531 # Don't use ln at all; we don't have any links
20536 elif ln conf$$.file conf$$ 2>/dev/null; then
20541 rm -f conf$$ conf$$.exe conf$$.file
20543 if mkdir -p . 2>/dev/null; then
20546 test -d ./-p && rmdir ./-p
20550 as_executable_p="test -f"
20552 # Sed expression to map a string onto a valid CPP name.
20553 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
20555 # Sed expression to map a string onto a valid variable name.
20556 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
20560 # We need space, tab and new line, in precisely that order.
20570 # Open the log real soon, to keep \$[0] and so on meaningful, and to
20571 # report actual input values of CONFIG_FILES etc. instead of their
20572 # values after options handling. Logging --version etc. is OK.
20576 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
20577 ## Running $as_me. ##
20582 This file was extended by GNU Classpath $as_me 0.94-pre, which was
20583 generated by GNU Autoconf 2.59. Invocation command line was
20585 CONFIG_FILES = $CONFIG_FILES
20586 CONFIG_HEADERS = $CONFIG_HEADERS
20587 CONFIG_LINKS = $CONFIG_LINKS
20588 CONFIG_COMMANDS = $CONFIG_COMMANDS
20592 echo "on `(hostname || uname -n) 2>/dev/null | sed 1q`" >&5
20596 # Files that config.status was made for.
20597 if test -n "$ac_config_files"; then
20598 echo "config_files=\"$ac_config_files\"" >>$CONFIG_STATUS
20601 if test -n "$ac_config_headers"; then
20602 echo "config_headers=\"$ac_config_headers\"" >>$CONFIG_STATUS
20605 if test -n "$ac_config_links"; then
20606 echo "config_links=\"$ac_config_links\"" >>$CONFIG_STATUS
20609 if test -n "$ac_config_commands"; then
20610 echo "config_commands=\"$ac_config_commands\"" >>$CONFIG_STATUS
20613 cat >>$CONFIG_STATUS <<\_ACEOF
20616 \`$as_me' instantiates files from templates according to the
20617 current configuration.
20619 Usage: $0 [OPTIONS] [FILE]...
20621 -h, --help print this help, then exit
20622 -V, --version print version number, then exit
20623 -q, --quiet do not print progress messages
20624 -d, --debug don't remove temporary files
20625 --recheck update $as_me by reconfiguring in the same conditions
20626 --file=FILE[:TEMPLATE]
20627 instantiate the configuration file FILE
20628 --header=FILE[:TEMPLATE]
20629 instantiate the configuration header FILE
20631 Configuration files:
20634 Configuration headers:
20637 Configuration links:
20640 Configuration commands:
20643 Report bugs to <bug-autoconf@gnu.org>."
20646 cat >>$CONFIG_STATUS <<_ACEOF
20648 GNU Classpath config.status 0.94-pre
20649 configured by $0, generated by GNU Autoconf 2.59,
20650 with options \\"`echo "$ac_configure_args" | sed 's/[\\""\`\$]/\\\\&/g'`\\"
20652 Copyright (C) 2003 Free Software Foundation, Inc.
20653 This config.status script is free software; the Free Software Foundation
20654 gives unlimited permission to copy, distribute and modify it."
20659 cat >>$CONFIG_STATUS <<\_ACEOF
20660 # If no file are specified by the user, then we need to provide default
20661 # value. By we need to know if files were specified by the user.
20667 ac_option=`expr "x$1" : 'x\([^=]*\)='`
20668 ac_optarg=`expr "x$1" : 'x[^=]*=\(.*\)'`
20676 *) # This is not an option, so the user has probably given explicit
20679 ac_need_defaults=false;;
20683 # Handling of the options.
20685 cat >>$CONFIG_STATUS <<\_ACEOF
20686 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
20688 --version | --vers* | -V )
20689 echo "$ac_cs_version"; exit 0 ;;
20691 # Conflict between --help and --header
20692 { { echo "$as_me:$LINENO: error: ambiguous option: $1
20693 Try \`$0 --help' for more information." >&5
20694 echo "$as_me: error: ambiguous option: $1
20695 Try \`$0 --help' for more information." >&2;}
20696 { (exit 1); exit 1; }; };;
20697 --help | --hel | -h )
20698 echo "$ac_cs_usage"; exit 0 ;;
20699 --debug | --d* | -d )
20701 --file | --fil | --fi | --f )
20703 CONFIG_FILES="$CONFIG_FILES $ac_optarg"
20704 ac_need_defaults=false;;
20705 --header | --heade | --head | --hea )
20707 CONFIG_HEADERS="$CONFIG_HEADERS $ac_optarg"
20708 ac_need_defaults=false;;
20709 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
20710 | -silent | --silent | --silen | --sile | --sil | --si | --s)
20713 # This is an error.
20714 -*) { { echo "$as_me:$LINENO: error: unrecognized option: $1
20715 Try \`$0 --help' for more information." >&5
20716 echo "$as_me: error: unrecognized option: $1
20717 Try \`$0 --help' for more information." >&2;}
20718 { (exit 1); exit 1; }; } ;;
20720 *) ac_config_targets="$ac_config_targets $1" ;;
20726 ac_configure_extra_args=
20728 if $ac_cs_silent; then
20730 ac_configure_extra_args="$ac_configure_extra_args --silent"
20734 cat >>$CONFIG_STATUS <<_ACEOF
20735 if \$ac_cs_recheck; then
20736 echo "running $SHELL $0 " $ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6
20737 exec $SHELL $0 $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
20742 cat >>$CONFIG_STATUS <<_ACEOF
20744 # INIT-COMMANDS section.
20751 with_multisubdir="$with_multisubdir"
20752 with_multisrctop="$with_multisrctop"
20753 with_target_subdir="$with_target_subdir"
20754 ac_configure_args="${multilib_arg} ${ac_configure_args}"
20755 multi_basedir="$multi_basedir"
20756 CONFIG_SHELL=${CONFIG_SHELL-/bin/sh}
20758 AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
20759 # variables for create stdint.h replacement
20762 ac_stdint_h="$ac_stdint_h"
20763 _ac_stdint_h=`echo "_$PACKAGE-$ac_stdint_h" | $as_tr_cpp`
20764 ac_cv_stdint_message="$ac_cv_stdint_message"
20765 ac_cv_header_stdint_t="$ac_cv_header_stdint_t"
20766 ac_cv_header_stdint_x="$ac_cv_header_stdint_x"
20767 ac_cv_header_stdint_o="$ac_cv_header_stdint_o"
20768 ac_cv_header_stdint_u="$ac_cv_header_stdint_u"
20769 ac_cv_type_uint64_t="$ac_cv_type_uint64_t"
20770 ac_cv_type_u_int64_t="$ac_cv_type_u_int64_t"
20771 ac_cv_char_data_model="$ac_cv_char_data_model"
20772 ac_cv_long_data_model="$ac_cv_long_data_model"
20773 ac_cv_type_int_least32_t="$ac_cv_type_int_least32_t"
20774 ac_cv_type_int_fast32_t="$ac_cv_type_int_fast32_t"
20775 ac_cv_type_intmax_t="$ac_cv_type_intmax_t"
20782 cat >>$CONFIG_STATUS <<\_ACEOF
20783 for ac_config_target in $ac_config_targets
20785 case "$ac_config_target" in
20786 # Handling of arguments.
20787 "lib/mkcollections.pl" ) CONFIG_FILES="$CONFIG_FILES lib/mkcollections.pl" ;;
20788 "Makefile" ) CONFIG_FILES="$CONFIG_FILES Makefile" ;;
20789 "doc/Makefile" ) CONFIG_FILES="$CONFIG_FILES doc/Makefile" ;;
20790 "doc/api/Makefile" ) CONFIG_FILES="$CONFIG_FILES doc/api/Makefile" ;;
20791 "external/Makefile" ) CONFIG_FILES="$CONFIG_FILES external/Makefile" ;;
20792 "external/sax/Makefile" ) CONFIG_FILES="$CONFIG_FILES external/sax/Makefile" ;;
20793 "external/w3c_dom/Makefile" ) CONFIG_FILES="$CONFIG_FILES external/w3c_dom/Makefile" ;;
20794 "external/relaxngDatatype/Makefile" ) CONFIG_FILES="$CONFIG_FILES external/relaxngDatatype/Makefile" ;;
20795 "external/jsr166/Makefile" ) CONFIG_FILES="$CONFIG_FILES external/jsr166/Makefile" ;;
20796 "gnu/classpath/Configuration.java" ) CONFIG_FILES="$CONFIG_FILES gnu/classpath/Configuration.java" ;;
20797 "gnu/java/security/Configuration.java" ) CONFIG_FILES="$CONFIG_FILES gnu/java/security/Configuration.java" ;;
20798 "include/Makefile" ) CONFIG_FILES="$CONFIG_FILES include/Makefile" ;;
20799 "native/Makefile" ) CONFIG_FILES="$CONFIG_FILES native/Makefile" ;;
20800 "native/fdlibm/Makefile" ) CONFIG_FILES="$CONFIG_FILES native/fdlibm/Makefile" ;;
20801 "native/jawt/Makefile" ) CONFIG_FILES="$CONFIG_FILES native/jawt/Makefile" ;;
20802 "native/jni/Makefile" ) CONFIG_FILES="$CONFIG_FILES native/jni/Makefile" ;;
20803 "native/jni/classpath/Makefile" ) CONFIG_FILES="$CONFIG_FILES native/jni/classpath/Makefile" ;;
20804 "native/jni/java-io/Makefile" ) CONFIG_FILES="$CONFIG_FILES native/jni/java-io/Makefile" ;;
20805 "native/jni/java-lang/Makefile" ) CONFIG_FILES="$CONFIG_FILES native/jni/java-lang/Makefile" ;;
20806 "native/jni/java-net/Makefile" ) CONFIG_FILES="$CONFIG_FILES native/jni/java-net/Makefile" ;;
20807 "native/jni/java-nio/Makefile" ) CONFIG_FILES="$CONFIG_FILES native/jni/java-nio/Makefile" ;;
20808 "native/jni/java-util/Makefile" ) CONFIG_FILES="$CONFIG_FILES native/jni/java-util/Makefile" ;;
20809 "native/jni/gtk-peer/Makefile" ) CONFIG_FILES="$CONFIG_FILES native/jni/gtk-peer/Makefile" ;;
20810 "native/jni/gconf-peer/Makefile" ) CONFIG_FILES="$CONFIG_FILES native/jni/gconf-peer/Makefile" ;;
20811 "native/jni/qt-peer/Makefile" ) CONFIG_FILES="$CONFIG_FILES native/jni/qt-peer/Makefile" ;;
20812 "native/jni/xmlj/Makefile" ) CONFIG_FILES="$CONFIG_FILES native/jni/xmlj/Makefile" ;;
20813 "native/jni/midi-alsa/Makefile" ) CONFIG_FILES="$CONFIG_FILES native/jni/midi-alsa/Makefile" ;;
20814 "native/jni/midi-dssi/Makefile" ) CONFIG_FILES="$CONFIG_FILES native/jni/midi-dssi/Makefile" ;;
20815 "native/jni/native-lib/Makefile" ) CONFIG_FILES="$CONFIG_FILES native/jni/native-lib/Makefile" ;;
20816 "native/plugin/Makefile" ) CONFIG_FILES="$CONFIG_FILES native/plugin/Makefile" ;;
20817 "resource/Makefile" ) CONFIG_FILES="$CONFIG_FILES resource/Makefile" ;;
20818 "resource/META-INF/services/java.util.prefs.PreferencesFactory" ) CONFIG_FILES="$CONFIG_FILES resource/META-INF/services/java.util.prefs.PreferencesFactory" ;;
20819 "scripts/Makefile" ) CONFIG_FILES="$CONFIG_FILES scripts/Makefile" ;;
20820 "scripts/classpath.spec" ) CONFIG_FILES="$CONFIG_FILES scripts/classpath.spec" ;;
20821 "lib/Makefile" ) CONFIG_FILES="$CONFIG_FILES lib/Makefile" ;;
20822 "lib/gen-classlist.sh" ) CONFIG_FILES="$CONFIG_FILES lib/gen-classlist.sh" ;;
20823 "lib/copy-vmresources.sh" ) CONFIG_FILES="$CONFIG_FILES lib/copy-vmresources.sh" ;;
20824 "tools/Makefile" ) CONFIG_FILES="$CONFIG_FILES tools/Makefile" ;;
20825 "examples/Makefile" ) CONFIG_FILES="$CONFIG_FILES examples/Makefile" ;;
20826 "examples/Makefile.jawt" ) CONFIG_FILES="$CONFIG_FILES examples/Makefile.jawt" ;;
20827 "examples/Makefile.java2d" ) CONFIG_FILES="$CONFIG_FILES examples/Makefile.java2d" ;;
20828 "tools/gappletviewer" ) CONFIG_FILES="$CONFIG_FILES tools/gappletviewer" ;;
20829 "tools/gjarsigner" ) CONFIG_FILES="$CONFIG_FILES tools/gjarsigner" ;;
20830 "tools/gkeytool" ) CONFIG_FILES="$CONFIG_FILES tools/gkeytool" ;;
20831 "tools/gjar" ) CONFIG_FILES="$CONFIG_FILES tools/gjar" ;;
20832 "tools/gnative2ascii" ) CONFIG_FILES="$CONFIG_FILES tools/gnative2ascii" ;;
20833 "tools/gserialver" ) CONFIG_FILES="$CONFIG_FILES tools/gserialver" ;;
20834 "tools/grmiregistry" ) CONFIG_FILES="$CONFIG_FILES tools/grmiregistry" ;;
20835 "tools/gtnameserv" ) CONFIG_FILES="$CONFIG_FILES tools/gtnameserv" ;;
20836 "tools/gorbd" ) CONFIG_FILES="$CONFIG_FILES tools/gorbd" ;;
20837 "tools/grmid" ) CONFIG_FILES="$CONFIG_FILES tools/grmid" ;;
20838 "tools/grmic" ) CONFIG_FILES="$CONFIG_FILES tools/grmic" ;;
20839 "tools/gjavah" ) CONFIG_FILES="$CONFIG_FILES tools/gjavah" ;;
20840 "$ac_config_links_1" ) CONFIG_LINKS="$CONFIG_LINKS $ac_config_links_1" ;;
20841 "default-1" ) CONFIG_COMMANDS="$CONFIG_COMMANDS default-1" ;;
20842 "depfiles" ) CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;;
20843 "mkcollections.pl" ) CONFIG_COMMANDS="$CONFIG_COMMANDS mkcollections.pl" ;;
20844 "$ac_stdint_h" ) CONFIG_COMMANDS="$CONFIG_COMMANDS $ac_stdint_h" ;;
20845 "gappletviewer" ) CONFIG_COMMANDS="$CONFIG_COMMANDS gappletviewer" ;;
20846 "gjarsigner" ) CONFIG_COMMANDS="$CONFIG_COMMANDS gjarsigner" ;;
20847 "gkeytool" ) CONFIG_COMMANDS="$CONFIG_COMMANDS gkeytool" ;;
20848 "gjar" ) CONFIG_COMMANDS="$CONFIG_COMMANDS gjar" ;;
20849 "gnative2ascii" ) CONFIG_COMMANDS="$CONFIG_COMMANDS gnative2ascii" ;;
20850 "gserialver" ) CONFIG_COMMANDS="$CONFIG_COMMANDS gserialver" ;;
20851 "grmiregistry" ) CONFIG_COMMANDS="$CONFIG_COMMANDS grmiregistry" ;;
20852 "gtnameserv" ) CONFIG_COMMANDS="$CONFIG_COMMANDS gtnameserv" ;;
20853 "gorbd" ) CONFIG_COMMANDS="$CONFIG_COMMANDS gorbd" ;;
20854 "grmid" ) CONFIG_COMMANDS="$CONFIG_COMMANDS grmid" ;;
20855 "grmic" ) CONFIG_COMMANDS="$CONFIG_COMMANDS grmic" ;;
20856 "gjavah" ) CONFIG_COMMANDS="$CONFIG_COMMANDS gjavah" ;;
20857 "gen-classlist" ) CONFIG_COMMANDS="$CONFIG_COMMANDS gen-classlist" ;;
20858 "copy-vmresources" ) CONFIG_COMMANDS="$CONFIG_COMMANDS copy-vmresources" ;;
20859 "include/config.h" ) CONFIG_HEADERS="$CONFIG_HEADERS include/config.h" ;;
20860 *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
20861 echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
20862 { (exit 1); exit 1; }; };;
20866 # If the user did not use the arguments to specify the items to instantiate,
20867 # then the envvar interface is used. Set only those that are not.
20868 # We use the long form for the default assignment because of an extremely
20869 # bizarre bug on SunOS 4.1.3.
20870 if $ac_need_defaults; then
20871 test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
20872 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
20873 test "${CONFIG_LINKS+set}" = set || CONFIG_LINKS=$config_links
20874 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
20877 # Have a temporary directory for convenience. Make it in the build tree
20878 # simply because there is no reason to put it here, and in addition,
20879 # creating and moving files from /tmp can sometimes cause problems.
20880 # Create a temporary directory, and hook for its removal unless debugging.
20883 trap 'exit_status=$?; rm -rf $tmp && exit $exit_status' 0
20884 trap '{ (exit 1); exit 1; }' 1 2 13 15
20887 # Create a (secure) tmp directory for tmp files.
20890 tmp=`(umask 077 && mktemp -d -q "./confstatXXXXXX") 2>/dev/null` &&
20891 test -n "$tmp" && test -d "$tmp"
20894 tmp=./confstat$$-$RANDOM
20895 (umask 077 && mkdir $tmp)
20898 echo "$me: cannot create a temporary directory in ." >&2
20899 { (exit 1); exit 1; }
20904 cat >>$CONFIG_STATUS <<_ACEOF
20907 # CONFIG_FILES section.
20910 # No need to generate the scripts if there are no CONFIG_FILES.
20911 # This happens for instance when ./config.status config.h
20912 if test -n "\$CONFIG_FILES"; then
20913 # Protect against being on the right side of a sed subst in config.status.
20914 sed 's/,@/@@/; s/@,/@@/; s/,;t t\$/@;t t/; /@;t t\$/s/[\\\\&,]/\\\\&/g;
20915 s/@@/,@/; s/@@/@,/; s/@;t t\$/,;t t/' >\$tmp/subs.sed <<\\CEOF
20916 s,@SHELL@,$SHELL,;t t
20917 s,@PATH_SEPARATOR@,$PATH_SEPARATOR,;t t
20918 s,@PACKAGE_NAME@,$PACKAGE_NAME,;t t
20919 s,@PACKAGE_TARNAME@,$PACKAGE_TARNAME,;t t
20920 s,@PACKAGE_VERSION@,$PACKAGE_VERSION,;t t
20921 s,@PACKAGE_STRING@,$PACKAGE_STRING,;t t
20922 s,@PACKAGE_BUGREPORT@,$PACKAGE_BUGREPORT,;t t
20923 s,@exec_prefix@,$exec_prefix,;t t
20924 s,@prefix@,$prefix,;t t
20925 s,@program_transform_name@,$program_transform_name,;t t
20926 s,@bindir@,$bindir,;t t
20927 s,@sbindir@,$sbindir,;t t
20928 s,@libexecdir@,$libexecdir,;t t
20929 s,@datadir@,$datadir,;t t
20930 s,@sysconfdir@,$sysconfdir,;t t
20931 s,@sharedstatedir@,$sharedstatedir,;t t
20932 s,@localstatedir@,$localstatedir,;t t
20933 s,@libdir@,$libdir,;t t
20934 s,@includedir@,$includedir,;t t
20935 s,@oldincludedir@,$oldincludedir,;t t
20936 s,@infodir@,$infodir,;t t
20937 s,@mandir@,$mandir,;t t
20938 s,@build_alias@,$build_alias,;t t
20939 s,@host_alias@,$host_alias,;t t
20940 s,@target_alias@,$target_alias,;t t
20941 s,@DEFS@,$DEFS,;t t
20942 s,@ECHO_C@,$ECHO_C,;t t
20943 s,@ECHO_N@,$ECHO_N,;t t
20944 s,@ECHO_T@,$ECHO_T,;t t
20945 s,@LIBS@,$LIBS,;t t
20946 s,@build@,$build,;t t
20947 s,@build_cpu@,$build_cpu,;t t
20948 s,@build_vendor@,$build_vendor,;t t
20949 s,@build_os@,$build_os,;t t
20950 s,@host@,$host,;t t
20951 s,@host_cpu@,$host_cpu,;t t
20952 s,@host_vendor@,$host_vendor,;t t
20953 s,@host_os@,$host_os,;t t
20954 s,@target@,$target,;t t
20955 s,@target_cpu@,$target_cpu,;t t
20956 s,@target_vendor@,$target_vendor,;t t
20957 s,@target_os@,$target_os,;t t
20958 s,@JAVA_MAINTAINER_MODE_TRUE@,$JAVA_MAINTAINER_MODE_TRUE,;t t
20959 s,@JAVA_MAINTAINER_MODE_FALSE@,$JAVA_MAINTAINER_MODE_FALSE,;t t
20960 s,@multi_basedir@,$multi_basedir,;t t
20961 s,@LIBVERSION@,$LIBVERSION,;t t
20962 s,@CLASSPATH_MODULE@,$CLASSPATH_MODULE,;t t
20963 s,@CLASSPATH_CONVENIENCE@,$CLASSPATH_CONVENIENCE,;t t
20964 s,@INSTALL_PROGRAM@,$INSTALL_PROGRAM,;t t
20965 s,@INSTALL_SCRIPT@,$INSTALL_SCRIPT,;t t
20966 s,@INSTALL_DATA@,$INSTALL_DATA,;t t
20967 s,@CYGPATH_W@,$CYGPATH_W,;t t
20968 s,@PACKAGE@,$PACKAGE,;t t
20969 s,@VERSION@,$VERSION,;t t
20970 s,@ACLOCAL@,$ACLOCAL,;t t
20971 s,@AUTOCONF@,$AUTOCONF,;t t
20972 s,@AUTOMAKE@,$AUTOMAKE,;t t
20973 s,@AUTOHEADER@,$AUTOHEADER,;t t
20974 s,@MAKEINFO@,$MAKEINFO,;t t
20975 s,@install_sh@,$install_sh,;t t
20976 s,@STRIP@,$STRIP,;t t
20977 s,@ac_ct_STRIP@,$ac_ct_STRIP,;t t
20978 s,@INSTALL_STRIP_PROGRAM@,$INSTALL_STRIP_PROGRAM,;t t
20979 s,@mkdir_p@,$mkdir_p,;t t
20981 s,@SET_MAKE@,$SET_MAKE,;t t
20982 s,@am__leading_dot@,$am__leading_dot,;t t
20983 s,@AMTAR@,$AMTAR,;t t
20984 s,@am__tar@,$am__tar,;t t
20985 s,@am__untar@,$am__untar,;t t
20986 s,@CREATE_COLLECTIONS_TRUE@,$CREATE_COLLECTIONS_TRUE,;t t
20987 s,@CREATE_COLLECTIONS_FALSE@,$CREATE_COLLECTIONS_FALSE,;t t
20988 s,@CREATE_JNI_LIBRARIES_TRUE@,$CREATE_JNI_LIBRARIES_TRUE,;t t
20989 s,@CREATE_JNI_LIBRARIES_FALSE@,$CREATE_JNI_LIBRARIES_FALSE,;t t
20990 s,@CREATE_CORE_JNI_LIBRARIES_TRUE@,$CREATE_CORE_JNI_LIBRARIES_TRUE,;t t
20991 s,@CREATE_CORE_JNI_LIBRARIES_FALSE@,$CREATE_CORE_JNI_LIBRARIES_FALSE,;t t
20992 s,@CREATE_GCONF_PEER_LIBRARIES_TRUE@,$CREATE_GCONF_PEER_LIBRARIES_TRUE,;t t
20993 s,@CREATE_GCONF_PEER_LIBRARIES_FALSE@,$CREATE_GCONF_PEER_LIBRARIES_FALSE,;t t
20994 s,@default_toolkit@,$default_toolkit,;t t
20995 s,@CREATE_XMLJ_LIBRARY_TRUE@,$CREATE_XMLJ_LIBRARY_TRUE,;t t
20996 s,@CREATE_XMLJ_LIBRARY_FALSE@,$CREATE_XMLJ_LIBRARY_FALSE,;t t
20998 s,@CFLAGS@,$CFLAGS,;t t
20999 s,@LDFLAGS@,$LDFLAGS,;t t
21000 s,@CPPFLAGS@,$CPPFLAGS,;t t
21001 s,@ac_ct_CC@,$ac_ct_CC,;t t
21002 s,@EXEEXT@,$EXEEXT,;t t
21003 s,@OBJEXT@,$OBJEXT,;t t
21004 s,@DEPDIR@,$DEPDIR,;t t
21005 s,@am__include@,$am__include,;t t
21006 s,@am__quote@,$am__quote,;t t
21007 s,@AMDEP_TRUE@,$AMDEP_TRUE,;t t
21008 s,@AMDEP_FALSE@,$AMDEP_FALSE,;t t
21009 s,@AMDEPBACKSLASH@,$AMDEPBACKSLASH,;t t
21010 s,@CCDEPMODE@,$CCDEPMODE,;t t
21011 s,@am__fastdepCC_TRUE@,$am__fastdepCC_TRUE,;t t
21012 s,@am__fastdepCC_FALSE@,$am__fastdepCC_FALSE,;t t
21014 s,@EGREP@,$EGREP,;t t
21015 s,@CREATE_ALSA_LIBRARIES_TRUE@,$CREATE_ALSA_LIBRARIES_TRUE,;t t
21016 s,@CREATE_ALSA_LIBRARIES_FALSE@,$CREATE_ALSA_LIBRARIES_FALSE,;t t
21017 s,@CREATE_DSSI_LIBRARIES_TRUE@,$CREATE_DSSI_LIBRARIES_TRUE,;t t
21018 s,@CREATE_DSSI_LIBRARIES_FALSE@,$CREATE_DSSI_LIBRARIES_FALSE,;t t
21019 s,@CREATE_GTK_PEER_LIBRARIES_TRUE@,$CREATE_GTK_PEER_LIBRARIES_TRUE,;t t
21020 s,@CREATE_GTK_PEER_LIBRARIES_FALSE@,$CREATE_GTK_PEER_LIBRARIES_FALSE,;t t
21021 s,@CREATE_QT_PEER_LIBRARIES_TRUE@,$CREATE_QT_PEER_LIBRARIES_TRUE,;t t
21022 s,@CREATE_QT_PEER_LIBRARIES_FALSE@,$CREATE_QT_PEER_LIBRARIES_FALSE,;t t
21023 s,@CREATE_PLUGIN_TRUE@,$CREATE_PLUGIN_TRUE,;t t
21024 s,@CREATE_PLUGIN_FALSE@,$CREATE_PLUGIN_FALSE,;t t
21025 s,@toolexeclibdir@,$toolexeclibdir,;t t
21026 s,@nativeexeclibdir@,$nativeexeclibdir,;t t
21027 s,@glibjdir@,$glibjdir,;t t
21028 s,@VM_BINARY@,$VM_BINARY,;t t
21029 s,@FOUND_CACAO_TRUE@,$FOUND_CACAO_TRUE,;t t
21030 s,@FOUND_CACAO_FALSE@,$FOUND_CACAO_FALSE,;t t
21031 s,@CREATE_JNI_HEADERS_TRUE@,$CREATE_JNI_HEADERS_TRUE,;t t
21032 s,@CREATE_JNI_HEADERS_FALSE@,$CREATE_JNI_HEADERS_FALSE,;t t
21033 s,@CREATE_WRAPPERS_TRUE@,$CREATE_WRAPPERS_TRUE,;t t
21034 s,@CREATE_WRAPPERS_FALSE@,$CREATE_WRAPPERS_FALSE,;t t
21035 s,@LN_S@,$LN_S,;t t
21036 s,@RANLIB@,$RANLIB,;t t
21037 s,@ac_ct_RANLIB@,$ac_ct_RANLIB,;t t
21038 s,@LIBTOOL@,$LIBTOOL,;t t
21040 s,@CXXFLAGS@,$CXXFLAGS,;t t
21041 s,@ac_ct_CXX@,$ac_ct_CXX,;t t
21042 s,@CXXDEPMODE@,$CXXDEPMODE,;t t
21043 s,@am__fastdepCXX_TRUE@,$am__fastdepCXX_TRUE,;t t
21044 s,@am__fastdepCXX_FALSE@,$am__fastdepCXX_FALSE,;t t
21045 s,@CXXCPP@,$CXXCPP,;t t
21046 s,@PERL@,$PERL,;t t
21047 s,@COLLECTIONS_PREFIX@,$COLLECTIONS_PREFIX,;t t
21048 s,@LIBMAGIC@,$LIBMAGIC,;t t
21049 s,@LIBICONV@,$LIBICONV,;t t
21050 s,@LTLIBICONV@,$LTLIBICONV,;t t
21051 s,@WARNING_CFLAGS@,$WARNING_CFLAGS,;t t
21052 s,@STRICT_WARNING_CFLAGS@,$STRICT_WARNING_CFLAGS,;t t
21053 s,@ERROR_CFLAGS@,$ERROR_CFLAGS,;t t
21054 s,@PKG_CONFIG@,$PKG_CONFIG,;t t
21055 s,@XML_CFLAGS@,$XML_CFLAGS,;t t
21056 s,@XML_LIBS@,$XML_LIBS,;t t
21057 s,@XSLT_CFLAGS@,$XSLT_CFLAGS,;t t
21058 s,@XSLT_LIBS@,$XSLT_LIBS,;t t
21059 s,@X_CFLAGS@,$X_CFLAGS,;t t
21060 s,@X_PRE_LIBS@,$X_PRE_LIBS,;t t
21061 s,@X_LIBS@,$X_LIBS,;t t
21062 s,@X_EXTRA_LIBS@,$X_EXTRA_LIBS,;t t
21063 s,@GTK_CFLAGS@,$GTK_CFLAGS,;t t
21064 s,@GTK_LIBS@,$GTK_LIBS,;t t
21065 s,@FREETYPE2_CFLAGS@,$FREETYPE2_CFLAGS,;t t
21066 s,@FREETYPE2_LIBS@,$FREETYPE2_LIBS,;t t
21067 s,@PANGOFT2_CFLAGS@,$PANGOFT2_CFLAGS,;t t
21068 s,@PANGOFT2_LIBS@,$PANGOFT2_LIBS,;t t
21069 s,@XTEST_LIBS@,$XTEST_LIBS,;t t
21070 s,@GCONF_CFLAGS@,$GCONF_CFLAGS,;t t
21071 s,@GCONF_LIBS@,$GCONF_LIBS,;t t
21072 s,@GDK_CFLAGS@,$GDK_CFLAGS,;t t
21073 s,@GDK_LIBS@,$GDK_LIBS,;t t
21074 s,@QT_CFLAGS@,$QT_CFLAGS,;t t
21075 s,@QT_LIBS@,$QT_LIBS,;t t
21077 s,@MOZILLA_CFLAGS@,$MOZILLA_CFLAGS,;t t
21078 s,@MOZILLA_LIBS@,$MOZILLA_LIBS,;t t
21079 s,@GLIB_CFLAGS@,$GLIB_CFLAGS,;t t
21080 s,@GLIB_LIBS@,$GLIB_LIBS,;t t
21081 s,@PLUGIN_DIR@,$PLUGIN_DIR,;t t
21082 s,@USER_JAVAH@,$USER_JAVAH,;t t
21083 s,@USER_SPECIFIED_JAVAH_TRUE@,$USER_SPECIFIED_JAVAH_TRUE,;t t
21084 s,@USER_SPECIFIED_JAVAH_FALSE@,$USER_SPECIFIED_JAVAH_FALSE,;t t
21085 s,@CLASSPATH_INCLUDES@,$CLASSPATH_INCLUDES,;t t
21087 s,@JIKES@,$JIKES,;t t
21088 s,@JIKESENCODING@,$JIKESENCODING,;t t
21089 s,@JIKESWARNINGS@,$JIKESWARNINGS,;t t
21091 s,@GCJX@,$GCJX,;t t
21093 s,@FOUND_GCJ_TRUE@,$FOUND_GCJ_TRUE,;t t
21094 s,@FOUND_GCJ_FALSE@,$FOUND_GCJ_FALSE,;t t
21095 s,@FOUND_JIKES_TRUE@,$FOUND_JIKES_TRUE,;t t
21096 s,@FOUND_JIKES_FALSE@,$FOUND_JIKES_FALSE,;t t
21097 s,@FOUND_ECJ_TRUE@,$FOUND_ECJ_TRUE,;t t
21098 s,@FOUND_ECJ_FALSE@,$FOUND_ECJ_FALSE,;t t
21099 s,@FOUND_KJC_TRUE@,$FOUND_KJC_TRUE,;t t
21100 s,@FOUND_KJC_FALSE@,$FOUND_KJC_FALSE,;t t
21101 s,@FOUND_GCJX_TRUE@,$FOUND_GCJX_TRUE,;t t
21102 s,@FOUND_GCJX_FALSE@,$FOUND_GCJX_FALSE,;t t
21103 s,@USER_CLASSLIB@,$USER_CLASSLIB,;t t
21104 s,@USER_SPECIFIED_CLASSLIB_TRUE@,$USER_SPECIFIED_CLASSLIB_TRUE,;t t
21105 s,@USER_SPECIFIED_CLASSLIB_FALSE@,$USER_SPECIFIED_CLASSLIB_FALSE,;t t
21106 s,@vm_classes@,$vm_classes,;t t
21107 s,@MAINTAINER_MODE_TRUE@,$MAINTAINER_MODE_TRUE,;t t
21108 s,@MAINTAINER_MODE_FALSE@,$MAINTAINER_MODE_FALSE,;t t
21109 s,@MAINT@,$MAINT,;t t
21110 s,@LIBDEBUG@,$LIBDEBUG,;t t
21111 s,@INIT_LOAD_LIBRARY@,$INIT_LOAD_LIBRARY,;t t
21112 s,@JAVA_LANG_SYSTEM_EXPLICIT_INITIALIZATION@,$JAVA_LANG_SYSTEM_EXPLICIT_INITIALIZATION,;t t
21113 s,@REMOVE@,$REMOVE,;t t
21114 s,@MKDIR@,$MKDIR,;t t
21116 s,@DATE@,$DATE,;t t
21117 s,@FIND@,$FIND,;t t
21119 s,@FASTJAR@,$FASTJAR,;t t
21120 s,@INSTALL_GLIBJ_ZIP_TRUE@,$INSTALL_GLIBJ_ZIP_TRUE,;t t
21121 s,@INSTALL_GLIBJ_ZIP_FALSE@,$INSTALL_GLIBJ_ZIP_FALSE,;t t
21122 s,@INSTALL_CLASS_FILES_TRUE@,$INSTALL_CLASS_FILES_TRUE,;t t
21123 s,@INSTALL_CLASS_FILES_FALSE@,$INSTALL_CLASS_FILES_FALSE,;t t
21124 s,@BUILD_CLASS_FILES_TRUE@,$BUILD_CLASS_FILES_TRUE,;t t
21125 s,@BUILD_CLASS_FILES_FALSE@,$BUILD_CLASS_FILES_FALSE,;t t
21126 s,@EXAMPLESDIR@,$EXAMPLESDIR,;t t
21127 s,@GJDOC@,$GJDOC,;t t
21128 s,@CREATE_API_DOCS_TRUE@,$CREATE_API_DOCS_TRUE,;t t
21129 s,@CREATE_API_DOCS_FALSE@,$CREATE_API_DOCS_FALSE,;t t
21131 s,@JAY_SKELETON@,$JAY_SKELETON,;t t
21132 s,@REGEN_PARSERS_TRUE@,$REGEN_PARSERS_TRUE,;t t
21133 s,@REGEN_PARSERS_FALSE@,$REGEN_PARSERS_FALSE,;t t
21134 s,@USE_PREBUILT_GLIBJ_ZIP_TRUE@,$USE_PREBUILT_GLIBJ_ZIP_TRUE,;t t
21135 s,@USE_PREBUILT_GLIBJ_ZIP_FALSE@,$USE_PREBUILT_GLIBJ_ZIP_FALSE,;t t
21136 s,@PATH_TO_GLIBJ_ZIP@,$PATH_TO_GLIBJ_ZIP,;t t
21137 s,@USE_ESCHER_TRUE@,$USE_ESCHER_TRUE,;t t
21138 s,@USE_ESCHER_FALSE@,$USE_ESCHER_FALSE,;t t
21139 s,@PATH_TO_ESCHER@,$PATH_TO_ESCHER,;t t
21140 s,@ENABLE_LOCAL_SOCKETS_TRUE@,$ENABLE_LOCAL_SOCKETS_TRUE,;t t
21141 s,@ENABLE_LOCAL_SOCKETS_FALSE@,$ENABLE_LOCAL_SOCKETS_FALSE,;t t
21142 s,@DEFAULT_PREFS_PEER@,$DEFAULT_PREFS_PEER,;t t
21143 s,@LIBOBJS@,$LIBOBJS,;t t
21144 s,@LTLIBOBJS@,$LTLIBOBJS,;t t
21149 cat >>$CONFIG_STATUS <<\_ACEOF
21150 # Split the substitutions into bite-sized pieces for seds with
21151 # small command number limits, like on Digital OSF/1 and HP-UX.
21152 ac_max_sed_lines=48
21153 ac_sed_frag=1 # Number of current file.
21154 ac_beg=1 # First line for current file.
21155 ac_end=$ac_max_sed_lines # Line after last line for current file.
21158 while $ac_more_lines; do
21159 if test $ac_beg -gt 1; then
21160 sed "1,${ac_beg}d; ${ac_end}q" $tmp/subs.sed >$tmp/subs.frag
21162 sed "${ac_end}q" $tmp/subs.sed >$tmp/subs.frag
21164 if test ! -s $tmp/subs.frag; then
21165 ac_more_lines=false
21167 # The purpose of the label and of the branching condition is to
21168 # speed up the sed processing (if there are no `@' at all, there
21169 # is no need to browse any of the substitutions).
21170 # These are the two extra sed commands mentioned above.
21172 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b' && cat $tmp/subs.frag) >$tmp/subs-$ac_sed_frag.sed
21173 if test -z "$ac_sed_cmds"; then
21174 ac_sed_cmds="sed -f $tmp/subs-$ac_sed_frag.sed"
21176 ac_sed_cmds="$ac_sed_cmds | sed -f $tmp/subs-$ac_sed_frag.sed"
21178 ac_sed_frag=`expr $ac_sed_frag + 1`
21180 ac_end=`expr $ac_end + $ac_max_sed_lines`
21183 if test -z "$ac_sed_cmds"; then
21186 fi # test -n "$CONFIG_FILES"
21189 cat >>$CONFIG_STATUS <<\_ACEOF
21190 for ac_file in : $CONFIG_FILES; do test "x$ac_file" = x: && continue
21191 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
21193 - | *:- | *:-:* ) # input from stdin
21195 ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
21196 ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
21197 *:* ) ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
21198 ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
21199 * ) ac_file_in=$ac_file.in ;;
21202 # Compute @srcdir@, @top_srcdir@, and @INSTALL@ for subdirectories.
21203 ac_dir=`(dirname "$ac_file") 2>/dev/null ||
21204 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
21205 X"$ac_file" : 'X\(//\)[^/]' \| \
21206 X"$ac_file" : 'X\(//\)$' \| \
21207 X"$ac_file" : 'X\(/\)' \| \
21208 . : '\(.\)' 2>/dev/null ||
21210 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
21211 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
21212 /^X\(\/\/\)$/{ s//\1/; q; }
21213 /^X\(\/\).*/{ s//\1/; q; }
21215 { if $as_mkdir_p; then
21220 while test ! -d "$as_dir"; do
21221 as_dirs="$as_dir $as_dirs"
21222 as_dir=`(dirname "$as_dir") 2>/dev/null ||
21223 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
21224 X"$as_dir" : 'X\(//\)[^/]' \| \
21225 X"$as_dir" : 'X\(//\)$' \| \
21226 X"$as_dir" : 'X\(/\)' \| \
21227 . : '\(.\)' 2>/dev/null ||
21229 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
21230 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
21231 /^X\(\/\/\)$/{ s//\1/; q; }
21232 /^X\(\/\).*/{ s//\1/; q; }
21235 test ! -n "$as_dirs" || mkdir $as_dirs
21236 fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
21237 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
21238 { (exit 1); exit 1; }; }; }
21242 if test "$ac_dir" != .; then
21243 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
21244 # A "../" for each directory in $ac_dir_suffix.
21245 ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
21247 ac_dir_suffix= ac_top_builddir=
21251 .) # No --srcdir option. We are building in place.
21253 if test -z "$ac_top_builddir"; then
21256 ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
21258 [\\/]* | ?:[\\/]* ) # Absolute path.
21259 ac_srcdir=$srcdir$ac_dir_suffix;
21260 ac_top_srcdir=$srcdir ;;
21261 *) # Relative path.
21262 ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
21263 ac_top_srcdir=$ac_top_builddir$srcdir ;;
21266 # Do not use `cd foo && pwd` to compute absolute paths, because
21267 # the directories may not exist.
21269 .) ac_abs_builddir="$ac_dir";;
21272 .) ac_abs_builddir=`pwd`;;
21273 [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";;
21274 *) ac_abs_builddir=`pwd`/"$ac_dir";;
21277 case $ac_abs_builddir in
21278 .) ac_abs_top_builddir=${ac_top_builddir}.;;
21280 case ${ac_top_builddir}. in
21281 .) ac_abs_top_builddir=$ac_abs_builddir;;
21282 [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;;
21283 *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;;
21286 case $ac_abs_builddir in
21287 .) ac_abs_srcdir=$ac_srcdir;;
21290 .) ac_abs_srcdir=$ac_abs_builddir;;
21291 [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
21292 *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;;
21295 case $ac_abs_builddir in
21296 .) ac_abs_top_srcdir=$ac_top_srcdir;;
21298 case $ac_top_srcdir in
21299 .) ac_abs_top_srcdir=$ac_abs_builddir;;
21300 [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;;
21301 *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;;
21307 [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
21308 *) ac_INSTALL=$ac_top_builddir$INSTALL ;;
21311 if test x"$ac_file" != x-; then
21312 { echo "$as_me:$LINENO: creating $ac_file" >&5
21313 echo "$as_me: creating $ac_file" >&6;}
21316 # Let's still pretend it is `configure' which instantiates (i.e., don't
21317 # use $as_me), people would be surprised to read:
21318 # /* config.h. Generated by config.status. */
21319 if test x"$ac_file" = x-; then
21322 configure_input="$ac_file. "
21324 configure_input=$configure_input"Generated from `echo $ac_file_in |
21325 sed 's,.*/,,'` by configure."
21327 # First look for the input files in the build tree, otherwise in the
21329 ac_file_inputs=`IFS=:
21330 for f in $ac_file_in; do
21332 -) echo $tmp/stdin ;;
21334 # Absolute (can't be DOS-style, as IFS=:)
21335 test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
21336 echo "$as_me: error: cannot find input file: $f" >&2;}
21337 { (exit 1); exit 1; }; }
21340 if test -f "$f"; then
21343 elif test -f "$srcdir/$f"; then
21348 { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
21349 echo "$as_me: error: cannot find input file: $f" >&2;}
21350 { (exit 1); exit 1; }; }
21353 done` || { (exit 1); exit 1; }
21355 cat >>$CONFIG_STATUS <<_ACEOF
21359 cat >>$CONFIG_STATUS <<\_ACEOF
21361 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
21362 s,@configure_input@,$configure_input,;t t
21363 s,@srcdir@,$ac_srcdir,;t t
21364 s,@abs_srcdir@,$ac_abs_srcdir,;t t
21365 s,@top_srcdir@,$ac_top_srcdir,;t t
21366 s,@abs_top_srcdir@,$ac_abs_top_srcdir,;t t
21367 s,@builddir@,$ac_builddir,;t t
21368 s,@abs_builddir@,$ac_abs_builddir,;t t
21369 s,@top_builddir@,$ac_top_builddir,;t t
21370 s,@abs_top_builddir@,$ac_abs_top_builddir,;t t
21371 s,@INSTALL@,$ac_INSTALL,;t t
21372 " $ac_file_inputs | (eval "$ac_sed_cmds") >$tmp/out
21374 if test x"$ac_file" != x-; then
21375 mv $tmp/out $ac_file
21383 cat >>$CONFIG_STATUS <<\_ACEOF
21386 # CONFIG_HEADER section.
21389 # These sed commands are passed to sed as "A NAME B NAME C VALUE D", where
21390 # NAME is the cpp macro being defined and VALUE is the value it is being given.
21392 # ac_d sets the value in "#define NAME VALUE" lines.
21393 ac_dA='s,^\([ ]*\)#\([ ]*define[ ][ ]*\)'
21394 ac_dB='[ ].*$,\1#\2'
21397 # ac_u turns "#undef NAME" without trailing blanks into "#define NAME VALUE".
21398 ac_uA='s,^\([ ]*\)#\([ ]*\)undef\([ ][ ]*\)'
21399 ac_uB='$,\1#\2define\3'
21403 for ac_file in : $CONFIG_HEADERS; do test "x$ac_file" = x: && continue
21404 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
21406 - | *:- | *:-:* ) # input from stdin
21408 ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
21409 ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
21410 *:* ) ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
21411 ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
21412 * ) ac_file_in=$ac_file.in ;;
21415 test x"$ac_file" != x- && { echo "$as_me:$LINENO: creating $ac_file" >&5
21416 echo "$as_me: creating $ac_file" >&6;}
21418 # First look for the input files in the build tree, otherwise in the
21420 ac_file_inputs=`IFS=:
21421 for f in $ac_file_in; do
21423 -) echo $tmp/stdin ;;
21425 # Absolute (can't be DOS-style, as IFS=:)
21426 test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
21427 echo "$as_me: error: cannot find input file: $f" >&2;}
21428 { (exit 1); exit 1; }; }
21429 # Do quote $f, to prevent DOS paths from being IFS'd.
21432 if test -f "$f"; then
21435 elif test -f "$srcdir/$f"; then
21440 { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
21441 echo "$as_me: error: cannot find input file: $f" >&2;}
21442 { (exit 1); exit 1; }; }
21445 done` || { (exit 1); exit 1; }
21446 # Remove the trailing spaces.
21447 sed 's/[ ]*$//' $ac_file_inputs >$tmp/in
21451 # Transform confdefs.h into two sed scripts, `conftest.defines' and
21452 # `conftest.undefs', that substitutes the proper values into
21453 # config.h.in to produce config.h. The first handles `#define'
21454 # templates, and the second `#undef' templates.
21455 # And first: Protect against being on the right side of a sed subst in
21456 # config.status. Protect against being in an unquoted here document
21457 # in config.status.
21458 rm -f conftest.defines conftest.undefs
21459 # Using a here document instead of a string reduces the quoting nightmare.
21460 # Putting comments in sed scripts is not portable.
21462 # `end' is used to avoid that the second main sed command (meant for
21463 # 0-ary CPP macros) applies to n-ary macro definitions.
21464 # See the Autoconf documentation for `clear'.
21465 cat >confdef2sed.sed <<\_ACEOF
21470 s,^[ ]*#[ ]*define[ ][ ]*\([^ (][^ (]*\)\(([^)]*)\)[ ]*\(.*\)$,${ac_dA}\1${ac_dB}\1\2${ac_dC}\3${ac_dD},gp
21472 s,^[ ]*#[ ]*define[ ][ ]*\([^ ][^ ]*\)[ ]*\(.*\)$,${ac_dA}\1${ac_dB}\1${ac_dC}\2${ac_dD},gp
21475 # If some macros were called several times there might be several times
21476 # the same #defines, which is useless. Nevertheless, we may not want to
21477 # sort them, since we want the *last* AC-DEFINE to be honored.
21478 uniq confdefs.h | sed -n -f confdef2sed.sed >conftest.defines
21479 sed 's/ac_d/ac_u/g' conftest.defines >conftest.undefs
21480 rm -f confdef2sed.sed
21482 # This sed command replaces #undef with comments. This is necessary, for
21483 # example, in the case of _POSIX_SOURCE, which is predefined and required
21484 # on some systems where configure will not decide to define it.
21485 cat >>conftest.undefs <<\_ACEOF
21486 s,^[ ]*#[ ]*undef[ ][ ]*[a-zA-Z_][a-zA-Z_0-9]*,/* & */,
21489 # Break up conftest.defines because some shells have a limit on the size
21490 # of here documents, and old seds have small limits too (100 cmds).
21491 echo ' # Handle all the #define templates only if necessary.' >>$CONFIG_STATUS
21492 echo ' if grep "^[ ]*#[ ]*define" $tmp/in >/dev/null; then' >>$CONFIG_STATUS
21493 echo ' # If there are no defines, we may have an empty if/fi' >>$CONFIG_STATUS
21494 echo ' :' >>$CONFIG_STATUS
21495 rm -f conftest.tail
21496 while grep . conftest.defines >/dev/null
21498 # Write a limited-size here document to $tmp/defines.sed.
21499 echo ' cat >$tmp/defines.sed <<CEOF' >>$CONFIG_STATUS
21500 # Speed up: don't consider the non `#define' lines.
21501 echo '/^[ ]*#[ ]*define/!b' >>$CONFIG_STATUS
21502 # Work around the forget-to-reset-the-flag bug.
21503 echo 't clr' >>$CONFIG_STATUS
21504 echo ': clr' >>$CONFIG_STATUS
21505 sed ${ac_max_here_lines}q conftest.defines >>$CONFIG_STATUS
21507 sed -f $tmp/defines.sed $tmp/in >$tmp/out
21509 mv $tmp/out $tmp/in
21511 sed 1,${ac_max_here_lines}d conftest.defines >conftest.tail
21512 rm -f conftest.defines
21513 mv conftest.tail conftest.defines
21515 rm -f conftest.defines
21516 echo ' fi # grep' >>$CONFIG_STATUS
21517 echo >>$CONFIG_STATUS
21519 # Break up conftest.undefs because some shells have a limit on the size
21520 # of here documents, and old seds have small limits too (100 cmds).
21521 echo ' # Handle all the #undef templates' >>$CONFIG_STATUS
21522 rm -f conftest.tail
21523 while grep . conftest.undefs >/dev/null
21525 # Write a limited-size here document to $tmp/undefs.sed.
21526 echo ' cat >$tmp/undefs.sed <<CEOF' >>$CONFIG_STATUS
21527 # Speed up: don't consider the non `#undef'
21528 echo '/^[ ]*#[ ]*undef/!b' >>$CONFIG_STATUS
21529 # Work around the forget-to-reset-the-flag bug.
21530 echo 't clr' >>$CONFIG_STATUS
21531 echo ': clr' >>$CONFIG_STATUS
21532 sed ${ac_max_here_lines}q conftest.undefs >>$CONFIG_STATUS
21534 sed -f $tmp/undefs.sed $tmp/in >$tmp/out
21536 mv $tmp/out $tmp/in
21538 sed 1,${ac_max_here_lines}d conftest.undefs >conftest.tail
21539 rm -f conftest.undefs
21540 mv conftest.tail conftest.undefs
21542 rm -f conftest.undefs
21544 cat >>$CONFIG_STATUS <<\_ACEOF
21545 # Let's still pretend it is `configure' which instantiates (i.e., don't
21546 # use $as_me), people would be surprised to read:
21547 # /* config.h. Generated by config.status. */
21548 if test x"$ac_file" = x-; then
21549 echo "/* Generated by configure. */" >$tmp/config.h
21551 echo "/* $ac_file. Generated by configure. */" >$tmp/config.h
21553 cat $tmp/in >>$tmp/config.h
21555 if test x"$ac_file" != x-; then
21556 if diff $ac_file $tmp/config.h >/dev/null 2>&1; then
21557 { echo "$as_me:$LINENO: $ac_file is unchanged" >&5
21558 echo "$as_me: $ac_file is unchanged" >&6;}
21560 ac_dir=`(dirname "$ac_file") 2>/dev/null ||
21561 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
21562 X"$ac_file" : 'X\(//\)[^/]' \| \
21563 X"$ac_file" : 'X\(//\)$' \| \
21564 X"$ac_file" : 'X\(/\)' \| \
21565 . : '\(.\)' 2>/dev/null ||
21567 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
21568 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
21569 /^X\(\/\/\)$/{ s//\1/; q; }
21570 /^X\(\/\).*/{ s//\1/; q; }
21572 { if $as_mkdir_p; then
21577 while test ! -d "$as_dir"; do
21578 as_dirs="$as_dir $as_dirs"
21579 as_dir=`(dirname "$as_dir") 2>/dev/null ||
21580 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
21581 X"$as_dir" : 'X\(//\)[^/]' \| \
21582 X"$as_dir" : 'X\(//\)$' \| \
21583 X"$as_dir" : 'X\(/\)' \| \
21584 . : '\(.\)' 2>/dev/null ||
21586 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
21587 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
21588 /^X\(\/\/\)$/{ s//\1/; q; }
21589 /^X\(\/\).*/{ s//\1/; q; }
21592 test ! -n "$as_dirs" || mkdir $as_dirs
21593 fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
21594 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
21595 { (exit 1); exit 1; }; }; }
21598 mv $tmp/config.h $ac_file
21602 rm -f $tmp/config.h
21604 # Compute $ac_file's index in $config_headers.
21606 for _am_header in $config_headers :; do
21607 case $_am_header in
21608 $ac_file | $ac_file:* )
21611 _am_stamp_count=`expr $_am_stamp_count + 1` ;;
21614 echo "timestamp for $ac_file" >`(dirname $ac_file) 2>/dev/null ||
21615 $as_expr X$ac_file : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
21616 X$ac_file : 'X\(//\)[^/]' \| \
21617 X$ac_file : 'X\(//\)$' \| \
21618 X$ac_file : 'X\(/\)' \| \
21619 . : '\(.\)' 2>/dev/null ||
21621 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
21622 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
21623 /^X\(\/\/\)$/{ s//\1/; q; }
21624 /^X\(\/\).*/{ s//\1/; q; }
21625 s/.*/./; q'`/stamp-h$_am_stamp_count
21628 cat >>$CONFIG_STATUS <<\_ACEOF
21631 # CONFIG_LINKS section.
21634 for ac_file in : $CONFIG_LINKS; do test "x$ac_file" = x: && continue
21635 ac_dest=`echo "$ac_file" | sed 's,:.*,,'`
21636 ac_source=`echo "$ac_file" | sed 's,[^:]*:,,'`
21638 { echo "$as_me:$LINENO: linking $srcdir/$ac_source to $ac_dest" >&5
21639 echo "$as_me: linking $srcdir/$ac_source to $ac_dest" >&6;}
21641 if test ! -r $srcdir/$ac_source; then
21642 { { echo "$as_me:$LINENO: error: $srcdir/$ac_source: file not found" >&5
21643 echo "$as_me: error: $srcdir/$ac_source: file not found" >&2;}
21644 { (exit 1); exit 1; }; }
21648 # Make relative symlinks.
21649 ac_dest_dir=`(dirname "$ac_dest") 2>/dev/null ||
21650 $as_expr X"$ac_dest" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
21651 X"$ac_dest" : 'X\(//\)[^/]' \| \
21652 X"$ac_dest" : 'X\(//\)$' \| \
21653 X"$ac_dest" : 'X\(/\)' \| \
21654 . : '\(.\)' 2>/dev/null ||
21656 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
21657 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
21658 /^X\(\/\/\)$/{ s//\1/; q; }
21659 /^X\(\/\).*/{ s//\1/; q; }
21661 { if $as_mkdir_p; then
21662 mkdir -p "$ac_dest_dir"
21664 as_dir="$ac_dest_dir"
21666 while test ! -d "$as_dir"; do
21667 as_dirs="$as_dir $as_dirs"
21668 as_dir=`(dirname "$as_dir") 2>/dev/null ||
21669 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
21670 X"$as_dir" : 'X\(//\)[^/]' \| \
21671 X"$as_dir" : 'X\(//\)$' \| \
21672 X"$as_dir" : 'X\(/\)' \| \
21673 . : '\(.\)' 2>/dev/null ||
21675 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
21676 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
21677 /^X\(\/\/\)$/{ s//\1/; q; }
21678 /^X\(\/\).*/{ s//\1/; q; }
21681 test ! -n "$as_dirs" || mkdir $as_dirs
21682 fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dest_dir\"" >&5
21683 echo "$as_me: error: cannot create directory \"$ac_dest_dir\"" >&2;}
21684 { (exit 1); exit 1; }; }; }
21688 if test "$ac_dest_dir" != .; then
21689 ac_dir_suffix=/`echo "$ac_dest_dir" | sed 's,^\.[\\/],,'`
21690 # A "../" for each directory in $ac_dir_suffix.
21691 ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
21693 ac_dir_suffix= ac_top_builddir=
21697 .) # No --srcdir option. We are building in place.
21699 if test -z "$ac_top_builddir"; then
21702 ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
21704 [\\/]* | ?:[\\/]* ) # Absolute path.
21705 ac_srcdir=$srcdir$ac_dir_suffix;
21706 ac_top_srcdir=$srcdir ;;
21707 *) # Relative path.
21708 ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
21709 ac_top_srcdir=$ac_top_builddir$srcdir ;;
21712 # Do not use `cd foo && pwd` to compute absolute paths, because
21713 # the directories may not exist.
21715 .) ac_abs_builddir="$ac_dest_dir";;
21717 case "$ac_dest_dir" in
21718 .) ac_abs_builddir=`pwd`;;
21719 [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dest_dir";;
21720 *) ac_abs_builddir=`pwd`/"$ac_dest_dir";;
21723 case $ac_abs_builddir in
21724 .) ac_abs_top_builddir=${ac_top_builddir}.;;
21726 case ${ac_top_builddir}. in
21727 .) ac_abs_top_builddir=$ac_abs_builddir;;
21728 [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;;
21729 *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;;
21732 case $ac_abs_builddir in
21733 .) ac_abs_srcdir=$ac_srcdir;;
21736 .) ac_abs_srcdir=$ac_abs_builddir;;
21737 [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
21738 *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;;
21741 case $ac_abs_builddir in
21742 .) ac_abs_top_srcdir=$ac_top_srcdir;;
21744 case $ac_top_srcdir in
21745 .) ac_abs_top_srcdir=$ac_abs_builddir;;
21746 [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;;
21747 *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;;
21753 [\\/$]* | ?:[\\/]* ) ac_rel_source=$srcdir/$ac_source ;;
21754 *) ac_rel_source=$ac_top_builddir$srcdir/$ac_source ;;
21757 # Try a symlink, then a hard link, then a copy.
21758 ln -s $ac_rel_source $ac_dest 2>/dev/null ||
21759 ln $srcdir/$ac_source $ac_dest 2>/dev/null ||
21760 cp -p $srcdir/$ac_source $ac_dest ||
21761 { { echo "$as_me:$LINENO: error: cannot link or copy $srcdir/$ac_source to $ac_dest" >&5
21762 echo "$as_me: error: cannot link or copy $srcdir/$ac_source to $ac_dest" >&2;}
21763 { (exit 1); exit 1; }; }
21766 cat >>$CONFIG_STATUS <<\_ACEOF
21769 # CONFIG_COMMANDS section.
21771 for ac_file in : $CONFIG_COMMANDS; do test "x$ac_file" = x: && continue
21772 ac_dest=`echo "$ac_file" | sed 's,:.*,,'`
21773 ac_source=`echo "$ac_file" | sed 's,[^:]*:,,'`
21774 ac_dir=`(dirname "$ac_dest") 2>/dev/null ||
21775 $as_expr X"$ac_dest" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
21776 X"$ac_dest" : 'X\(//\)[^/]' \| \
21777 X"$ac_dest" : 'X\(//\)$' \| \
21778 X"$ac_dest" : 'X\(/\)' \| \
21779 . : '\(.\)' 2>/dev/null ||
21781 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
21782 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
21783 /^X\(\/\/\)$/{ s//\1/; q; }
21784 /^X\(\/\).*/{ s//\1/; q; }
21786 { if $as_mkdir_p; then
21791 while test ! -d "$as_dir"; do
21792 as_dirs="$as_dir $as_dirs"
21793 as_dir=`(dirname "$as_dir") 2>/dev/null ||
21794 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
21795 X"$as_dir" : 'X\(//\)[^/]' \| \
21796 X"$as_dir" : 'X\(//\)$' \| \
21797 X"$as_dir" : 'X\(/\)' \| \
21798 . : '\(.\)' 2>/dev/null ||
21800 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
21801 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
21802 /^X\(\/\/\)$/{ s//\1/; q; }
21803 /^X\(\/\).*/{ s//\1/; q; }
21806 test ! -n "$as_dirs" || mkdir $as_dirs
21807 fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
21808 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
21809 { (exit 1); exit 1; }; }; }
21813 if test "$ac_dir" != .; then
21814 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
21815 # A "../" for each directory in $ac_dir_suffix.
21816 ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
21818 ac_dir_suffix= ac_top_builddir=
21822 .) # No --srcdir option. We are building in place.
21824 if test -z "$ac_top_builddir"; then
21827 ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
21829 [\\/]* | ?:[\\/]* ) # Absolute path.
21830 ac_srcdir=$srcdir$ac_dir_suffix;
21831 ac_top_srcdir=$srcdir ;;
21832 *) # Relative path.
21833 ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
21834 ac_top_srcdir=$ac_top_builddir$srcdir ;;
21837 # Do not use `cd foo && pwd` to compute absolute paths, because
21838 # the directories may not exist.
21840 .) ac_abs_builddir="$ac_dir";;
21843 .) ac_abs_builddir=`pwd`;;
21844 [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";;
21845 *) ac_abs_builddir=`pwd`/"$ac_dir";;
21848 case $ac_abs_builddir in
21849 .) ac_abs_top_builddir=${ac_top_builddir}.;;
21851 case ${ac_top_builddir}. in
21852 .) ac_abs_top_builddir=$ac_abs_builddir;;
21853 [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;;
21854 *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;;
21857 case $ac_abs_builddir in
21858 .) ac_abs_srcdir=$ac_srcdir;;
21861 .) ac_abs_srcdir=$ac_abs_builddir;;
21862 [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
21863 *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;;
21866 case $ac_abs_builddir in
21867 .) ac_abs_top_srcdir=$ac_top_srcdir;;
21869 case $ac_top_srcdir in
21870 .) ac_abs_top_srcdir=$ac_abs_builddir;;
21871 [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;;
21872 *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;;
21877 { echo "$as_me:$LINENO: executing $ac_dest commands" >&5
21878 echo "$as_me: executing $ac_dest commands" >&6;}
21881 # Only add multilib support code if we just rebuilt the top-level
21883 case " $CONFIG_FILES " in
21885 ac_file=Makefile . ${multi_basedir}/config-ml.in
21888 depfiles ) test x"$AMDEP_TRUE" != x"" || for mf in $CONFIG_FILES; do
21889 # Strip MF so we end up with the name of the file.
21890 mf=`echo "$mf" | sed -e 's/:.*$//'`
21891 # Check whether this is an Automake generated Makefile or not.
21892 # We used to match only the files named `Makefile.in', but
21893 # some people rename them; so instead we look at the file content.
21894 # Grep'ing the first line is not enough: some people post-process
21895 # each Makefile.in and add a new line on top of each file to say so.
21896 # So let's grep whole file.
21897 if grep '^#.*generated by automake' $mf > /dev/null 2>&1; then
21898 dirpart=`(dirname "$mf") 2>/dev/null ||
21899 $as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
21900 X"$mf" : 'X\(//\)[^/]' \| \
21901 X"$mf" : 'X\(//\)$' \| \
21902 X"$mf" : 'X\(/\)' \| \
21903 . : '\(.\)' 2>/dev/null ||
21905 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
21906 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
21907 /^X\(\/\/\)$/{ s//\1/; q; }
21908 /^X\(\/\).*/{ s//\1/; q; }
21913 # Extract the definition of DEPDIR, am__include, and am__quote
21914 # from the Makefile without running `make'.
21915 DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"`
21916 test -z "$DEPDIR" && continue
21917 am__include=`sed -n 's/^am__include = //p' < "$mf"`
21918 test -z "am__include" && continue
21919 am__quote=`sed -n 's/^am__quote = //p' < "$mf"`
21920 # When using ansi2knr, U may be empty or an underscore; expand it
21921 U=`sed -n 's/^U = //p' < "$mf"`
21922 # Find all dependency output files, they are included files with
21923 # $(DEPDIR) in their names. We invoke sed twice because it is the
21924 # simplest approach to changing $(DEPDIR) to its actual value in the
21926 for file in `sed -n "
21927 s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
21928 sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do
21929 # Make sure the directory exists.
21930 test -f "$dirpart/$file" && continue
21931 fdir=`(dirname "$file") 2>/dev/null ||
21932 $as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
21933 X"$file" : 'X\(//\)[^/]' \| \
21934 X"$file" : 'X\(//\)$' \| \
21935 X"$file" : 'X\(/\)' \| \
21936 . : '\(.\)' 2>/dev/null ||
21938 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
21939 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
21940 /^X\(\/\/\)$/{ s//\1/; q; }
21941 /^X\(\/\).*/{ s//\1/; q; }
21943 { if $as_mkdir_p; then
21944 mkdir -p $dirpart/$fdir
21946 as_dir=$dirpart/$fdir
21948 while test ! -d "$as_dir"; do
21949 as_dirs="$as_dir $as_dirs"
21950 as_dir=`(dirname "$as_dir") 2>/dev/null ||
21951 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
21952 X"$as_dir" : 'X\(//\)[^/]' \| \
21953 X"$as_dir" : 'X\(//\)$' \| \
21954 X"$as_dir" : 'X\(/\)' \| \
21955 . : '\(.\)' 2>/dev/null ||
21957 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
21958 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
21959 /^X\(\/\/\)$/{ s//\1/; q; }
21960 /^X\(\/\).*/{ s//\1/; q; }
21963 test ! -n "$as_dirs" || mkdir $as_dirs
21964 fi || { { echo "$as_me:$LINENO: error: cannot create directory $dirpart/$fdir" >&5
21965 echo "$as_me: error: cannot create directory $dirpart/$fdir" >&2;}
21966 { (exit 1); exit 1; }; }; }
21968 # echo "creating $dirpart/$file"
21969 echo '# dummy' > "$dirpart/$file"
21973 mkcollections.pl ) chmod 755 lib/mkcollections.pl ;;
21975 { echo "$as_me:$LINENO: creating $ac_stdint_h : $_ac_stdint_h" >&5
21976 echo "$as_me: creating $ac_stdint_h : $_ac_stdint_h" >&6;}
21977 ac_stdint=$tmp/_stdint.h
21979 echo "#ifndef" $_ac_stdint_h >$ac_stdint
21980 echo "#define" $_ac_stdint_h "1" >>$ac_stdint
21981 echo "#ifndef" _GENERATED_STDINT_H >>$ac_stdint
21982 echo "#define" _GENERATED_STDINT_H '"'$PACKAGE $VERSION'"' >>$ac_stdint
21983 echo "/* generated $ac_cv_stdint_message */" >>$ac_stdint
21984 if test "_$ac_cv_header_stdint_t" != "_" ; then
21985 echo "#define _STDINT_HAVE_STDINT_H" "1" >>$ac_stdint
21986 echo "#include <stdint.h>" >>$ac_stdint
21987 echo "#endif" >>$ac_stdint
21988 echo "#endif" >>$ac_stdint
21991 cat >>$ac_stdint <<STDINT_EOF
21993 /* ................... shortcircuit part ........................... */
21995 #if defined HAVE_STDINT_H || defined _STDINT_HAVE_STDINT_H
21996 #include <stdint.h>
21998 #include <stddef.h>
22000 /* .................... configured part ............................ */
22004 echo "/* whether we have a C99 compatible stdint header file */" >>$ac_stdint
22005 if test "_$ac_cv_header_stdint_x" != "_" ; then
22006 ac_header="$ac_cv_header_stdint_x"
22007 echo "#define _STDINT_HEADER_INTPTR" '"'"$ac_header"'"' >>$ac_stdint
22009 echo "/* #undef _STDINT_HEADER_INTPTR */" >>$ac_stdint
22012 echo "/* whether we have a C96 compatible inttypes header file */" >>$ac_stdint
22013 if test "_$ac_cv_header_stdint_o" != "_" ; then
22014 ac_header="$ac_cv_header_stdint_o"
22015 echo "#define _STDINT_HEADER_UINT32" '"'"$ac_header"'"' >>$ac_stdint
22017 echo "/* #undef _STDINT_HEADER_UINT32 */" >>$ac_stdint
22020 echo "/* whether we have a BSD compatible inet types header */" >>$ac_stdint
22021 if test "_$ac_cv_header_stdint_u" != "_" ; then
22022 ac_header="$ac_cv_header_stdint_u"
22023 echo "#define _STDINT_HEADER_U_INT32" '"'"$ac_header"'"' >>$ac_stdint
22025 echo "/* #undef _STDINT_HEADER_U_INT32 */" >>$ac_stdint
22028 echo "" >>$ac_stdint
22030 if test "_$ac_header" != "_" ; then if test "$ac_header" != "stddef.h" ; then
22031 echo "#include <$ac_header>" >>$ac_stdint
22032 echo "" >>$ac_stdint
22035 echo "/* which 64bit typedef has been found */" >>$ac_stdint
22036 if test "$ac_cv_type_uint64_t" = "yes" ; then
22037 echo "#define _STDINT_HAVE_UINT64_T" "1" >>$ac_stdint
22039 echo "/* #undef _STDINT_HAVE_UINT64_T */" >>$ac_stdint
22041 if test "$ac_cv_type_u_int64_t" = "yes" ; then
22042 echo "#define _STDINT_HAVE_U_INT64_T" "1" >>$ac_stdint
22044 echo "/* #undef _STDINT_HAVE_U_INT64_T */" >>$ac_stdint
22046 echo "" >>$ac_stdint
22048 echo "/* which type model has been detected */" >>$ac_stdint
22049 if test "_$ac_cv_char_data_model" != "_" ; then
22050 echo "#define _STDINT_CHAR_MODEL" "$ac_cv_char_data_model" >>$ac_stdint
22051 echo "#define _STDINT_LONG_MODEL" "$ac_cv_long_data_model" >>$ac_stdint
22053 echo "/* #undef _STDINT_CHAR_MODEL // skipped */" >>$ac_stdint
22054 echo "/* #undef _STDINT_LONG_MODEL // skipped */" >>$ac_stdint
22056 echo "" >>$ac_stdint
22058 echo "/* whether int_least types were detected */" >>$ac_stdint
22059 if test "$ac_cv_type_int_least32_t" = "yes"; then
22060 echo "#define _STDINT_HAVE_INT_LEAST32_T" "1" >>$ac_stdint
22062 echo "/* #undef _STDINT_HAVE_INT_LEAST32_T */" >>$ac_stdint
22064 echo "/* whether int_fast types were detected */" >>$ac_stdint
22065 if test "$ac_cv_type_int_fast32_t" = "yes"; then
22066 echo "#define _STDINT_HAVE_INT_FAST32_T" "1" >>$ac_stdint
22068 echo "/* #undef _STDINT_HAVE_INT_FAST32_T */" >>$ac_stdint
22070 echo "/* whether intmax_t type was detected */" >>$ac_stdint
22071 if test "$ac_cv_type_intmax_t" = "yes"; then
22072 echo "#define _STDINT_HAVE_INTMAX_T" "1" >>$ac_stdint
22074 echo "/* #undef _STDINT_HAVE_INTMAX_T */" >>$ac_stdint
22076 echo "" >>$ac_stdint
22078 cat >>$ac_stdint <<STDINT_EOF
22079 /* .................... detections part ............................ */
22081 /* whether we need to define bitspecific types from compiler base types */
22082 #ifndef _STDINT_HEADER_INTPTR
22083 #ifndef _STDINT_HEADER_UINT32
22084 #ifndef _STDINT_HEADER_U_INT32
22085 #define _STDINT_NEED_INT_MODEL_T
22087 #define _STDINT_HAVE_U_INT_TYPES
22092 #ifdef _STDINT_HAVE_U_INT_TYPES
22093 #undef _STDINT_NEED_INT_MODEL_T
22096 #ifdef _STDINT_CHAR_MODEL
22097 #if _STDINT_CHAR_MODEL+0 == 122 || _STDINT_CHAR_MODEL+0 == 124
22098 #ifndef _STDINT_BYTE_MODEL
22099 #define _STDINT_BYTE_MODEL 12
22104 #ifndef _STDINT_HAVE_INT_LEAST32_T
22105 #define _STDINT_NEED_INT_LEAST_T
22108 #ifndef _STDINT_HAVE_INT_FAST32_T
22109 #define _STDINT_NEED_INT_FAST_T
22112 #ifndef _STDINT_HEADER_INTPTR
22113 #define _STDINT_NEED_INTPTR_T
22114 #ifndef _STDINT_HAVE_INTMAX_T
22115 #define _STDINT_NEED_INTMAX_T
22120 /* .................... definition part ............................ */
22122 /* some system headers have good uint64_t */
22123 #ifndef _HAVE_UINT64_T
22124 #if defined _STDINT_HAVE_UINT64_T || defined HAVE_UINT64_T
22125 #define _HAVE_UINT64_T
22126 #elif defined _STDINT_HAVE_U_INT64_T || defined HAVE_U_INT64_T
22127 #define _HAVE_UINT64_T
22128 typedef u_int64_t uint64_t;
22132 #ifndef _HAVE_UINT64_T
22133 /* .. here are some common heuristics using compiler runtime specifics */
22134 #if defined __STDC_VERSION__ && defined __STDC_VERSION__ >= 199901L
22135 #define _HAVE_UINT64_T
22136 #define _HAVE_LONGLONG_UINT64_T
22137 typedef long long int64_t;
22138 typedef unsigned long long uint64_t;
22140 #elif !defined __STRICT_ANSI__
22141 #if defined _MSC_VER || defined __WATCOMC__ || defined __BORLANDC__
22142 #define _HAVE_UINT64_T
22143 typedef __int64 int64_t;
22144 typedef unsigned __int64 uint64_t;
22146 #elif defined __GNUC__ || defined __MWERKS__ || defined __ELF__
22147 /* note: all ELF-systems seem to have loff-support which needs 64-bit */
22148 #if !defined _NO_LONGLONG
22149 #define _HAVE_UINT64_T
22150 #define _HAVE_LONGLONG_UINT64_T
22151 typedef long long int64_t;
22152 typedef unsigned long long uint64_t;
22155 #elif defined __alpha || (defined __mips && defined _ABIN32)
22156 #if !defined _NO_LONGLONG
22157 typedef long int64_t;
22158 typedef unsigned long uint64_t;
22160 /* compiler/cpu type to define int64_t */
22165 #if defined _STDINT_HAVE_U_INT_TYPES
22166 /* int8_t int16_t int32_t defined by inet code, redeclare the u_intXX types */
22167 typedef u_int8_t uint8_t;
22168 typedef u_int16_t uint16_t;
22169 typedef u_int32_t uint32_t;
22171 /* glibc compatibility */
22172 #ifndef __int8_t_defined
22173 #define __int8_t_defined
22177 #ifdef _STDINT_NEED_INT_MODEL_T
22178 /* we must guess all the basic types. Apart from byte-adressable system, */
22179 /* there a few 32-bit-only dsp-systems that we guard with BYTE_MODEL 8-} */
22180 /* (btw, those nibble-addressable systems are way off, or so we assume) */
22183 #if defined _STDINT_BYTE_MODEL
22184 #if _STDINT_LONG_MODEL+0 == 242
22185 /* 2:4:2 = IP16 = a normal 16-bit system */
22186 typedef unsigned char uint8_t;
22187 typedef unsigned short uint16_t;
22188 typedef unsigned long uint32_t;
22189 #ifndef __int8_t_defined
22190 #define __int8_t_defined
22191 typedef char int8_t;
22192 typedef short int16_t;
22193 typedef long int32_t;
22195 #elif _STDINT_LONG_MODEL+0 == 244 || _STDINT_LONG_MODEL == 444
22196 /* 2:4:4 = LP32 = a 32-bit system derived from a 16-bit */
22197 /* 4:4:4 = ILP32 = a normal 32-bit system */
22198 typedef unsigned char uint8_t;
22199 typedef unsigned short uint16_t;
22200 typedef unsigned int uint32_t;
22201 #ifndef __int8_t_defined
22202 #define __int8_t_defined
22203 typedef char int8_t;
22204 typedef short int16_t;
22205 typedef int int32_t;
22207 #elif _STDINT_LONG_MODEL+0 == 484 || _STDINT_LONG_MODEL+0 == 488
22208 /* 4:8:4 = IP32 = a 32-bit system prepared for 64-bit */
22209 /* 4:8:8 = LP64 = a normal 64-bit system */
22210 typedef unsigned char uint8_t;
22211 typedef unsigned short uint16_t;
22212 typedef unsigned int uint32_t;
22213 #ifndef __int8_t_defined
22214 #define __int8_t_defined
22215 typedef char int8_t;
22216 typedef short int16_t;
22217 typedef int int32_t;
22219 /* this system has a "long" of 64bit */
22220 #ifndef _HAVE_UINT64_T
22221 #define _HAVE_UINT64_T
22222 typedef unsigned long uint64_t;
22223 typedef long int64_t;
22225 #elif _STDINT_LONG_MODEL+0 == 448
22226 /* LLP64 a 64-bit system derived from a 32-bit system */
22227 typedef unsigned char uint8_t;
22228 typedef unsigned short uint16_t;
22229 typedef unsigned int uint32_t;
22230 #ifndef __int8_t_defined
22231 #define __int8_t_defined
22232 typedef char int8_t;
22233 typedef short int16_t;
22234 typedef int int32_t;
22236 /* assuming the system has a "long long" */
22237 #ifndef _HAVE_UINT64_T
22238 #define _HAVE_UINT64_T
22239 #define _HAVE_LONGLONG_UINT64_T
22240 typedef unsigned long long uint64_t;
22241 typedef long long int64_t;
22244 #define _STDINT_NO_INT32_T
22247 #define _STDINT_NO_INT8_T
22248 #define _STDINT_NO_INT32_T
22253 * quote from SunOS-5.8 sys/inttypes.h:
22254 * Use at your own risk. As of February 1996, the committee is squarely
22255 * behind the fixed sized types; the "least" and "fast" types are still being
22256 * discussed. The probability that the "fast" types may be removed before
22257 * the standard is finalized is high enough that they are not currently
22261 #if defined _STDINT_NEED_INT_LEAST_T
22262 typedef int8_t int_least8_t;
22263 typedef int16_t int_least16_t;
22264 typedef int32_t int_least32_t;
22265 #ifdef _HAVE_UINT64_T
22266 typedef int64_t int_least64_t;
22269 typedef uint8_t uint_least8_t;
22270 typedef uint16_t uint_least16_t;
22271 typedef uint32_t uint_least32_t;
22272 #ifdef _HAVE_UINT64_T
22273 typedef uint64_t uint_least64_t;
22278 #if defined _STDINT_NEED_INT_FAST_T
22279 typedef int8_t int_fast8_t;
22280 typedef int int_fast16_t;
22281 typedef int32_t int_fast32_t;
22282 #ifdef _HAVE_UINT64_T
22283 typedef int64_t int_fast64_t;
22286 typedef uint8_t uint_fast8_t;
22287 typedef unsigned uint_fast16_t;
22288 typedef uint32_t uint_fast32_t;
22289 #ifdef _HAVE_UINT64_T
22290 typedef uint64_t uint_fast64_t;
22295 #ifdef _STDINT_NEED_INTMAX_T
22296 #ifdef _HAVE_UINT64_T
22297 typedef int64_t intmax_t;
22298 typedef uint64_t uintmax_t;
22300 typedef long intmax_t;
22301 typedef unsigned long uintmax_t;
22305 #ifdef _STDINT_NEED_INTPTR_T
22306 #ifndef __intptr_t_defined
22307 #define __intptr_t_defined
22308 /* we encourage using "long" to store pointer values, never use "int" ! */
22309 #if _STDINT_LONG_MODEL+0 == 242 || _STDINT_LONG_MODEL+0 == 484
22310 typedef unsigned int uintptr_t;
22311 typedef int intptr_t;
22312 #elif _STDINT_LONG_MODEL+0 == 244 || _STDINT_LONG_MODEL+0 == 444
22313 typedef unsigned long uintptr_t;
22314 typedef long intptr_t;
22315 #elif _STDINT_LONG_MODEL+0 == 448 && defined _HAVE_UINT64_T
22316 typedef uint64_t uintptr_t;
22317 typedef int64_t intptr_t;
22318 #else /* matches typical system types ILP32 and LP64 - but not IP16 or LLP64 */
22319 typedef unsigned long uintptr_t;
22320 typedef long intptr_t;
22325 /* The ISO C99 standard specifies that in C++ implementations these
22326 should only be defined if explicitly requested. */
22327 #if !defined __cplusplus || defined __STDC_CONSTANT_MACROS
22331 # define INT8_C(c) c
22332 # define INT16_C(c) c
22333 # define INT32_C(c) c
22334 # ifdef _HAVE_LONGLONG_UINT64_T
22335 # define INT64_C(c) c ## L
22337 # define INT64_C(c) c ## LL
22341 # define UINT8_C(c) c ## U
22342 # define UINT16_C(c) c ## U
22343 # define UINT32_C(c) c ## U
22344 # ifdef _HAVE_LONGLONG_UINT64_T
22345 # define UINT64_C(c) c ## UL
22347 # define UINT64_C(c) c ## ULL
22350 /* Maximal type. */
22351 # ifdef _HAVE_LONGLONG_UINT64_T
22352 # define INTMAX_C(c) c ## L
22353 # define UINTMAX_C(c) c ## UL
22355 # define INTMAX_C(c) c ## LL
22356 # define UINTMAX_C(c) c ## ULL
22359 /* literalnumbers */
22363 /* These limits are merily those of a two complement byte-oriented system */
22365 /* Minimum of signed integral types. */
22366 # define INT8_MIN (-128)
22367 # define INT16_MIN (-32767-1)
22368 # define INT32_MIN (-2147483647-1)
22369 # define INT64_MIN (-__INT64_C(9223372036854775807)-1)
22370 /* Maximum of signed integral types. */
22371 # define INT8_MAX (127)
22372 # define INT16_MAX (32767)
22373 # define INT32_MAX (2147483647)
22374 # define INT64_MAX (__INT64_C(9223372036854775807))
22376 /* Maximum of unsigned integral types. */
22377 # define UINT8_MAX (255)
22378 # define UINT16_MAX (65535)
22379 # define UINT32_MAX (4294967295U)
22380 # define UINT64_MAX (__UINT64_C(18446744073709551615))
22382 /* Minimum of signed integral types having a minimum size. */
22383 # define INT_LEAST8_MIN INT8_MIN
22384 # define INT_LEAST16_MIN INT16_MIN
22385 # define INT_LEAST32_MIN INT32_MIN
22386 # define INT_LEAST64_MIN INT64_MIN
22387 /* Maximum of signed integral types having a minimum size. */
22388 # define INT_LEAST8_MAX INT8_MAX
22389 # define INT_LEAST16_MAX INT16_MAX
22390 # define INT_LEAST32_MAX INT32_MAX
22391 # define INT_LEAST64_MAX INT64_MAX
22393 /* Maximum of unsigned integral types having a minimum size. */
22394 # define UINT_LEAST8_MAX UINT8_MAX
22395 # define UINT_LEAST16_MAX UINT16_MAX
22396 # define UINT_LEAST32_MAX UINT32_MAX
22397 # define UINT_LEAST64_MAX UINT64_MAX
22406 if cmp -s $ac_stdint_h $ac_stdint 2>/dev/null; then
22407 { echo "$as_me:$LINENO: $ac_stdint_h is unchanged" >&5
22408 echo "$as_me: $ac_stdint_h is unchanged" >&6;}
22410 ac_dir=`(dirname "$ac_stdint_h") 2>/dev/null ||
22411 $as_expr X"$ac_stdint_h" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
22412 X"$ac_stdint_h" : 'X\(//\)[^/]' \| \
22413 X"$ac_stdint_h" : 'X\(//\)$' \| \
22414 X"$ac_stdint_h" : 'X\(/\)' \| \
22415 . : '\(.\)' 2>/dev/null ||
22416 echo X"$ac_stdint_h" |
22417 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
22418 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
22419 /^X\(\/\/\)$/{ s//\1/; q; }
22420 /^X\(\/\).*/{ s//\1/; q; }
22422 { if $as_mkdir_p; then
22427 while test ! -d "$as_dir"; do
22428 as_dirs="$as_dir $as_dirs"
22429 as_dir=`(dirname "$as_dir") 2>/dev/null ||
22430 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
22431 X"$as_dir" : 'X\(//\)[^/]' \| \
22432 X"$as_dir" : 'X\(//\)$' \| \
22433 X"$as_dir" : 'X\(/\)' \| \
22434 . : '\(.\)' 2>/dev/null ||
22436 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
22437 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
22438 /^X\(\/\/\)$/{ s//\1/; q; }
22439 /^X\(\/\).*/{ s//\1/; q; }
22442 test ! -n "$as_dirs" || mkdir $as_dirs
22443 fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
22444 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
22445 { (exit 1); exit 1; }; }; }
22448 mv $ac_stdint $ac_stdint_h
22451 gappletviewer ) chmod 755 tools/gappletviewer ;;
22452 gjarsigner ) chmod 755 tools/gjarsigner ;;
22453 gkeytool ) chmod 755 tools/gkeytool ;;
22454 gjar ) chmod 755 tools/gjar ;;
22455 gnative2ascii ) chmod 755 tools/gnative2ascii ;;
22456 gserialver ) chmod 755 tools/gserialver ;;
22457 grmiregistry ) chmod 755 tools/grmiregistry ;;
22458 gtnameserv ) chmod 755 tools/gtnameserv ;;
22459 gorbd ) chmod 755 tools/gorbd ;;
22460 grmid ) chmod 755 tools/grmid ;;
22461 grmic ) chmod 755 tools/grmic ;;
22462 gjavah ) chmod 755 tools/gjavah ;;
22463 gen-classlist ) chmod 755 lib/gen-classlist.sh ;;
22464 copy-vmresources ) chmod 755 lib/copy-vmresources.sh ;;
22469 cat >>$CONFIG_STATUS <<\_ACEOF
22471 { (exit 0); exit 0; }
22473 chmod +x $CONFIG_STATUS
22474 ac_clean_files=$ac_clean_files_save
22477 # configure is writing to config.log, and then calls config.status.
22478 # config.status does its own redirection, appending to config.log.
22479 # Unfortunately, on DOS this fails, as config.log is still kept open
22480 # by configure, so config.status won't be able to write to it; its
22481 # output is simply discarded. So we exec the FD to /dev/null,
22482 # effectively closing config.log, so it can be properly (re)opened and
22483 # appended to by config.status. When coming back to configure, we
22484 # need to make the FD available again.
22485 if test "$no_create" != yes; then
22487 ac_config_status_args=
22488 test "$silent" = yes &&
22489 ac_config_status_args="$ac_config_status_args --quiet"
22491 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
22493 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
22494 # would make configure fail if this is the last instruction.
22495 $ac_cs_success || { (exit 1); exit 1; }
22499 # Create standard.omit based on decisions we just made.
22500 cat ${srcdir}/lib/standard.omit.in > lib/standard.omit
22501 if test x$use_escher != xtrue; then
22502 echo gnu/java/awt/peer/x/.*java$ >> lib/standard.omit