2 # Guess values for system-dependent variables and create Makefiles.
3 # Generated by GNU Autoconf 2.59 for GNU Classpath 0.94-pre.
5 # Report bugs to <classpath@gnu.org>.
7 # Copyright (C) 2003 Free Software Foundation, Inc.
8 # This configure script is free software; the Free Software Foundation
9 # gives unlimited permission to copy, distribute and modify it.
10 ## --------------------- ##
11 ## M4sh Initialization. ##
12 ## --------------------- ##
14 # Be Bourne compatible
15 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
18 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
19 # is contrary to our usage. Disable this feature.
20 alias -g '${1+"$@"}'='"$@"'
21 elif test -n "${BASH_VERSION+set}" && (set -o posix) >/dev/null 2>&1; then
24 DUALCASE=1; export DUALCASE # for MKS sh
26 # Support unset when possible.
27 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
34 # Work around bugs in pre-3.0 UWIN ksh.
35 $as_unset ENV MAIL MAILPATH
42 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
43 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
46 if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
47 eval $as_var=C; export $as_var
53 # Required to use basename.
54 if expr a : '\(a\)' >/dev/null 2>&1; then
60 if (basename /) >/dev/null 2>&1 && test "X`basename / 2>&1`" = "X/"; then
67 # Name of the executable.
68 as_me=`$as_basename "$0" ||
69 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
70 X"$0" : 'X\(//\)$' \| \
71 X"$0" : 'X\(/\)$' \| \
72 . : '\(.\)' 2>/dev/null ||
74 sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; }
75 /^X\/\(\/\/\)$/{ s//\1/; q; }
76 /^X\/\(\/\).*/{ s//\1/; q; }
80 # PATH needs CR, and LINENO needs CR and PATH.
81 # Avoid depending upon Character Ranges.
82 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
83 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
84 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
85 as_cr_digits='0123456789'
86 as_cr_alnum=$as_cr_Letters$as_cr_digits
88 # The user is always right.
89 if test "${PATH_SEPARATOR+set}" != set; then
90 echo "#! /bin/sh" >conf$$.sh
91 echo "exit 0" >>conf$$.sh
93 if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
104 as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
105 test "x$as_lineno_1" != "x$as_lineno_2" &&
106 test "x$as_lineno_3" = "x$as_lineno_2" || {
107 # Find who we are. Look in the path if we contain no path at all
110 *[\\/]* ) as_myself=$0 ;;
111 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
115 test -z "$as_dir" && as_dir=.
116 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
121 # We did not find ourselves, most probably we were run as `sh COMMAND'
122 # in which case we are not to be found in the path.
123 if test "x$as_myself" = x; then
126 if test ! -f "$as_myself"; then
127 { echo "$as_me: error: cannot find myself; rerun with an absolute path" >&2
128 { (exit 1); exit 1; }; }
130 case $CONFIG_SHELL in
132 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
133 for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
136 test -z "$as_dir" && as_dir=.
137 for as_base in sh bash ksh sh5; do
140 if ("$as_dir/$as_base" -c '
143 as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
144 test "x$as_lineno_1" != "x$as_lineno_2" &&
145 test "x$as_lineno_3" = "x$as_lineno_2" ') 2>/dev/null; then
146 $as_unset BASH_ENV || test "${BASH_ENV+set}" != set || { BASH_ENV=; export BASH_ENV; }
147 $as_unset ENV || test "${ENV+set}" != set || { ENV=; export ENV; }
148 CONFIG_SHELL=$as_dir/$as_base
150 exec "$CONFIG_SHELL" "$0" ${1+"$@"}
158 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
159 # uniformly replaced by the line number. The first 'sed' inserts a
160 # line-number line before each line; the second 'sed' does the real
161 # work. The second script uses 'N' to pair each line-number line
162 # with the numbered line, and appends trailing '-' during
163 # substitution so that $LINENO is not a special case at line end.
164 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
165 # second 'sed' script. Blame Lee E. McMahon for sed's syntax. :-)
166 sed '=' <$as_myself |
171 s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3,
174 s,^['$as_cr_digits']*\n,,
176 chmod +x $as_me.lineno ||
177 { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
178 { (exit 1); exit 1; }; }
180 # Don't try to exec as it changes $[0], causing all sort of problems
181 # (the dirname of $[0] is not the place where we might find the
182 # original and so on. Autoconf is especially sensible to this).
184 # Exit status is that of the last command.
189 case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in
190 *c*,-n*) ECHO_N= ECHO_C='
192 *c*,* ) ECHO_N=-n ECHO_C= ECHO_T= ;;
193 *) ECHO_N= ECHO_C='\c' ECHO_T= ;;
196 if expr a : '\(a\)' >/dev/null 2>&1; then
202 rm -f conf$$ conf$$.exe conf$$.file
204 if ln -s conf$$.file conf$$ 2>/dev/null; then
205 # We could just check for DJGPP; but this test a) works b) is more generic
206 # and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04).
207 if test -f conf$$.exe; then
208 # Don't use ln at all; we don't have any links
213 elif ln conf$$.file conf$$ 2>/dev/null; then
218 rm -f conf$$ conf$$.exe conf$$.file
220 if mkdir -p . 2>/dev/null; then
223 test -d ./-p && rmdir ./-p
227 as_executable_p="test -f"
229 # Sed expression to map a string onto a valid CPP name.
230 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
232 # Sed expression to map a string onto a valid variable name.
233 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
237 # We need space, tab and new line, in precisely that order.
247 # hostname on some systems (SVR3.2, Linux) returns a bogus exit status,
248 # so uname gets run too.
249 ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
256 ac_default_prefix=/usr/local
257 ac_config_libobj_dir=.
262 SHELL=${CONFIG_SHELL-/bin/sh}
264 # Maximum number of lines to put in a shell here document.
265 # This variable seems obsolete. It should probably be removed, and
266 # only ac_max_sed_lines should be used.
267 : ${ac_max_here_lines=38}
269 # Identity of this package.
270 PACKAGE_NAME='GNU Classpath'
271 PACKAGE_TARNAME='classpath'
272 PACKAGE_VERSION='0.94-pre'
273 PACKAGE_STRING='GNU Classpath 0.94-pre'
274 PACKAGE_BUGREPORT='classpath@gnu.org'
276 ac_unique_file="java/lang/System.java"
277 ac_default_prefix=/usr/local/classpath
278 # Factoring default headers for most tests.
279 ac_includes_default="\
282 # include <sys/types.h>
285 # include <sys/stat.h>
296 # if !STDC_HEADERS && HAVE_MEMORY_H
302 # include <strings.h>
305 # include <inttypes.h>
315 ac_subst_vars='SHELL PATH_SEPARATOR PACKAGE_NAME PACKAGE_TARNAME PACKAGE_VERSION PACKAGE_STRING PACKAGE_BUGREPORT exec_prefix prefix program_transform_name bindir sbindir libexecdir datadir sysconfdir sharedstatedir localstatedir libdir includedir oldincludedir infodir mandir build_alias host_alias target_alias DEFS ECHO_C ECHO_N ECHO_T LIBS build build_cpu build_vendor build_os host host_cpu host_vendor host_os target target_cpu target_vendor target_os JAVA_MAINTAINER_MODE_TRUE JAVA_MAINTAINER_MODE_FALSE LIBVERSION CLASSPATH_MODULE CLASSPATH_CONVENIENCE INSTALL_PROGRAM INSTALL_SCRIPT INSTALL_DATA CYGPATH_W PACKAGE VERSION ACLOCAL AUTOCONF AUTOMAKE AUTOHEADER MAKEINFO install_sh STRIP ac_ct_STRIP INSTALL_STRIP_PROGRAM mkdir_p AWK SET_MAKE am__leading_dot AMTAR am__tar am__untar CREATE_COLLECTIONS_TRUE CREATE_COLLECTIONS_FALSE CREATE_JNI_LIBRARIES_TRUE CREATE_JNI_LIBRARIES_FALSE CREATE_CORE_JNI_LIBRARIES_TRUE CREATE_CORE_JNI_LIBRARIES_FALSE CREATE_GCONF_PEER_LIBRARIES_TRUE CREATE_GCONF_PEER_LIBRARIES_FALSE default_toolkit CREATE_XMLJ_LIBRARY_TRUE CREATE_XMLJ_LIBRARY_FALSE CC CFLAGS LDFLAGS CPPFLAGS ac_ct_CC EXEEXT OBJEXT DEPDIR am__include am__quote AMDEP_TRUE AMDEP_FALSE AMDEPBACKSLASH CCDEPMODE am__fastdepCC_TRUE am__fastdepCC_FALSE CPP EGREP CREATE_ALSA_LIBRARIES_TRUE CREATE_ALSA_LIBRARIES_FALSE CREATE_DSSI_LIBRARIES_TRUE CREATE_DSSI_LIBRARIES_FALSE CREATE_GTK_PEER_LIBRARIES_TRUE CREATE_GTK_PEER_LIBRARIES_FALSE CREATE_QT_PEER_LIBRARIES_TRUE CREATE_QT_PEER_LIBRARIES_FALSE CREATE_PLUGIN_TRUE CREATE_PLUGIN_FALSE toolexeclibdir nativeexeclibdir glibjdir VM_BINARY FOUND_CACAO_TRUE FOUND_CACAO_FALSE CREATE_JNI_HEADERS_TRUE CREATE_JNI_HEADERS_FALSE CREATE_WRAPPERS_TRUE CREATE_WRAPPERS_FALSE LN_S RANLIB ac_ct_RANLIB LIBTOOL CXX CXXFLAGS ac_ct_CXX CXXDEPMODE am__fastdepCXX_TRUE am__fastdepCXX_FALSE CXXCPP PERL COLLECTIONS_PREFIX LIBMAGIC LIBICONV LTLIBICONV WARNING_CFLAGS STRICT_WARNING_CFLAGS ERROR_CFLAGS PKG_CONFIG XML_CFLAGS XML_LIBS XSLT_CFLAGS XSLT_LIBS X_CFLAGS X_PRE_LIBS X_LIBS X_EXTRA_LIBS GTK_CFLAGS GTK_LIBS FREETYPE2_CFLAGS FREETYPE2_LIBS PANGOFT2_CFLAGS PANGOFT2_LIBS XTEST_LIBS GCONF_CFLAGS GCONF_LIBS GDK_CFLAGS GDK_LIBS QT_CFLAGS QT_LIBS MOC MOZILLA_CFLAGS MOZILLA_LIBS GLIB_CFLAGS GLIB_LIBS PLUGIN_DIR USER_JAVAH USER_SPECIFIED_JAVAH_TRUE USER_SPECIFIED_JAVAH_FALSE CLASSPATH_INCLUDES GCJ JIKES JIKESENCODING JIKESWARNINGS KJC GCJX ECJ FOUND_GCJ_TRUE FOUND_GCJ_FALSE FOUND_JIKES_TRUE FOUND_JIKES_FALSE FOUND_ECJ_TRUE FOUND_ECJ_FALSE FOUND_KJC_TRUE FOUND_KJC_FALSE FOUND_GCJX_TRUE FOUND_GCJX_FALSE USER_CLASSLIB USER_SPECIFIED_CLASSLIB_TRUE USER_SPECIFIED_CLASSLIB_FALSE vm_classes MAINTAINER_MODE_TRUE MAINTAINER_MODE_FALSE MAINT LIBDEBUG INIT_LOAD_LIBRARY JAVA_LANG_SYSTEM_EXPLICIT_INITIALIZATION REMOVE MKDIR CP DATE FIND ZIP FASTJAR INSTALL_GLIBJ_ZIP_TRUE INSTALL_GLIBJ_ZIP_FALSE INSTALL_CLASS_FILES_TRUE INSTALL_CLASS_FILES_FALSE BUILD_CLASS_FILES_TRUE BUILD_CLASS_FILES_FALSE EXAMPLESDIR GJDOC CREATE_API_DOCS_TRUE CREATE_API_DOCS_FALSE JAY JAY_SKELETON REGEN_PARSERS_TRUE REGEN_PARSERS_FALSE USE_PREBUILT_GLIBJ_ZIP_TRUE USE_PREBUILT_GLIBJ_ZIP_FALSE PATH_TO_GLIBJ_ZIP USE_ESCHER_TRUE USE_ESCHER_FALSE PATH_TO_ESCHER ENABLE_LOCAL_SOCKETS_TRUE ENABLE_LOCAL_SOCKETS_FALSE DEFAULT_PREFS_PEER LIBOBJS LTLIBOBJS'
318 # Initialize some variables set by options.
320 ac_init_version=false
321 # The variables have the same names as the options, with
322 # dashes changed to underlines.
330 program_transform_name=s,x,x,
338 # Installation directory options.
339 # These are left unexpanded so users can "make install exec_prefix=/foo"
340 # and all the variables that are supposed to be based on exec_prefix
341 # by default will actually change.
342 # Use braces instead of parens because sh, perl, etc. also accept them.
343 bindir='${exec_prefix}/bin'
344 sbindir='${exec_prefix}/sbin'
345 libexecdir='${exec_prefix}/libexec'
346 datadir='${prefix}/share'
347 sysconfdir='${prefix}/etc'
348 sharedstatedir='${prefix}/com'
349 localstatedir='${prefix}/var'
350 libdir='${exec_prefix}/lib'
351 includedir='${prefix}/include'
352 oldincludedir='/usr/include'
353 infodir='${prefix}/info'
354 mandir='${prefix}/man'
359 # If the previous option needs an argument, assign it.
360 if test -n "$ac_prev"; then
361 eval "$ac_prev=\$ac_option"
366 ac_optarg=`expr "x$ac_option" : 'x[^=]*=\(.*\)'`
368 # Accept the important Cygnus configure options, so we can diagnose typos.
372 -bindir | --bindir | --bindi | --bind | --bin | --bi)
374 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
377 -build | --build | --buil | --bui | --bu)
378 ac_prev=build_alias ;;
379 -build=* | --build=* | --buil=* | --bui=* | --bu=*)
380 build_alias=$ac_optarg ;;
382 -cache-file | --cache-file | --cache-fil | --cache-fi \
383 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
384 ac_prev=cache_file ;;
385 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
386 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
387 cache_file=$ac_optarg ;;
390 cache_file=config.cache ;;
392 -datadir | --datadir | --datadi | --datad | --data | --dat | --da)
394 -datadir=* | --datadir=* | --datadi=* | --datad=* | --data=* | --dat=* \
396 datadir=$ac_optarg ;;
398 -disable-* | --disable-*)
399 ac_feature=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
400 # Reject names that are not valid shell variable names.
401 expr "x$ac_feature" : ".*[^-_$as_cr_alnum]" >/dev/null &&
402 { echo "$as_me: error: invalid feature name: $ac_feature" >&2
403 { (exit 1); exit 1; }; }
404 ac_feature=`echo $ac_feature | sed 's/-/_/g'`
405 eval "enable_$ac_feature=no" ;;
407 -enable-* | --enable-*)
408 ac_feature=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
409 # Reject names that are not valid shell variable names.
410 expr "x$ac_feature" : ".*[^-_$as_cr_alnum]" >/dev/null &&
411 { echo "$as_me: error: invalid feature name: $ac_feature" >&2
412 { (exit 1); exit 1; }; }
413 ac_feature=`echo $ac_feature | sed 's/-/_/g'`
415 *=*) ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`;;
418 eval "enable_$ac_feature='$ac_optarg'" ;;
420 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
421 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
422 | --exec | --exe | --ex)
423 ac_prev=exec_prefix ;;
424 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
425 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
426 | --exec=* | --exe=* | --ex=*)
427 exec_prefix=$ac_optarg ;;
429 -gas | --gas | --ga | --g)
430 # Obsolete; use --with-gas.
433 -help | --help | --hel | --he | -h)
435 -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
436 ac_init_help=recursive ;;
437 -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
438 ac_init_help=short ;;
440 -host | --host | --hos | --ho)
441 ac_prev=host_alias ;;
442 -host=* | --host=* | --hos=* | --ho=*)
443 host_alias=$ac_optarg ;;
445 -includedir | --includedir | --includedi | --included | --include \
446 | --includ | --inclu | --incl | --inc)
447 ac_prev=includedir ;;
448 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
449 | --includ=* | --inclu=* | --incl=* | --inc=*)
450 includedir=$ac_optarg ;;
452 -infodir | --infodir | --infodi | --infod | --info | --inf)
454 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
455 infodir=$ac_optarg ;;
457 -libdir | --libdir | --libdi | --libd)
459 -libdir=* | --libdir=* | --libdi=* | --libd=*)
462 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
463 | --libexe | --libex | --libe)
464 ac_prev=libexecdir ;;
465 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
466 | --libexe=* | --libex=* | --libe=*)
467 libexecdir=$ac_optarg ;;
469 -localstatedir | --localstatedir | --localstatedi | --localstated \
470 | --localstate | --localstat | --localsta | --localst \
471 | --locals | --local | --loca | --loc | --lo)
472 ac_prev=localstatedir ;;
473 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
474 | --localstate=* | --localstat=* | --localsta=* | --localst=* \
475 | --locals=* | --local=* | --loca=* | --loc=* | --lo=*)
476 localstatedir=$ac_optarg ;;
478 -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
480 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
484 # Obsolete; use --without-fp.
487 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
488 | --no-cr | --no-c | -n)
491 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
492 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
495 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
496 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
497 | --oldin | --oldi | --old | --ol | --o)
498 ac_prev=oldincludedir ;;
499 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
500 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
501 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
502 oldincludedir=$ac_optarg ;;
504 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
506 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
509 -program-prefix | --program-prefix | --program-prefi | --program-pref \
510 | --program-pre | --program-pr | --program-p)
511 ac_prev=program_prefix ;;
512 -program-prefix=* | --program-prefix=* | --program-prefi=* \
513 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
514 program_prefix=$ac_optarg ;;
516 -program-suffix | --program-suffix | --program-suffi | --program-suff \
517 | --program-suf | --program-su | --program-s)
518 ac_prev=program_suffix ;;
519 -program-suffix=* | --program-suffix=* | --program-suffi=* \
520 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
521 program_suffix=$ac_optarg ;;
523 -program-transform-name | --program-transform-name \
524 | --program-transform-nam | --program-transform-na \
525 | --program-transform-n | --program-transform- \
526 | --program-transform | --program-transfor \
527 | --program-transfo | --program-transf \
528 | --program-trans | --program-tran \
529 | --progr-tra | --program-tr | --program-t)
530 ac_prev=program_transform_name ;;
531 -program-transform-name=* | --program-transform-name=* \
532 | --program-transform-nam=* | --program-transform-na=* \
533 | --program-transform-n=* | --program-transform-=* \
534 | --program-transform=* | --program-transfor=* \
535 | --program-transfo=* | --program-transf=* \
536 | --program-trans=* | --program-tran=* \
537 | --progr-tra=* | --program-tr=* | --program-t=*)
538 program_transform_name=$ac_optarg ;;
540 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
541 | -silent | --silent | --silen | --sile | --sil)
544 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
546 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
548 sbindir=$ac_optarg ;;
550 -sharedstatedir | --sharedstatedir | --sharedstatedi \
551 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
552 | --sharedst | --shareds | --shared | --share | --shar \
554 ac_prev=sharedstatedir ;;
555 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
556 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
557 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
559 sharedstatedir=$ac_optarg ;;
561 -site | --site | --sit)
563 -site=* | --site=* | --sit=*)
566 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
568 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
571 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
572 | --syscon | --sysco | --sysc | --sys | --sy)
573 ac_prev=sysconfdir ;;
574 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
575 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
576 sysconfdir=$ac_optarg ;;
578 -target | --target | --targe | --targ | --tar | --ta | --t)
579 ac_prev=target_alias ;;
580 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
581 target_alias=$ac_optarg ;;
583 -v | -verbose | --verbose | --verbos | --verbo | --verb)
586 -version | --version | --versio | --versi | --vers | -V)
590 ac_package=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
591 # Reject names that are not valid shell variable names.
592 expr "x$ac_package" : ".*[^-_$as_cr_alnum]" >/dev/null &&
593 { echo "$as_me: error: invalid package name: $ac_package" >&2
594 { (exit 1); exit 1; }; }
595 ac_package=`echo $ac_package| sed 's/-/_/g'`
597 *=*) ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`;;
600 eval "with_$ac_package='$ac_optarg'" ;;
602 -without-* | --without-*)
603 ac_package=`expr "x$ac_option" : 'x-*without-\(.*\)'`
604 # Reject names that are not valid shell variable names.
605 expr "x$ac_package" : ".*[^-_$as_cr_alnum]" >/dev/null &&
606 { echo "$as_me: error: invalid package name: $ac_package" >&2
607 { (exit 1); exit 1; }; }
608 ac_package=`echo $ac_package | sed 's/-/_/g'`
609 eval "with_$ac_package=no" ;;
612 # Obsolete; use --with-x.
615 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
616 | --x-incl | --x-inc | --x-in | --x-i)
617 ac_prev=x_includes ;;
618 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
619 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
620 x_includes=$ac_optarg ;;
622 -x-libraries | --x-libraries | --x-librarie | --x-librari \
623 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
624 ac_prev=x_libraries ;;
625 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
626 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
627 x_libraries=$ac_optarg ;;
629 -*) { echo "$as_me: error: unrecognized option: $ac_option
630 Try \`$0 --help' for more information." >&2
631 { (exit 1); exit 1; }; }
635 ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
636 # Reject names that are not valid shell variable names.
637 expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev/null &&
638 { echo "$as_me: error: invalid variable name: $ac_envvar" >&2
639 { (exit 1); exit 1; }; }
640 ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`
641 eval "$ac_envvar='$ac_optarg'"
645 # FIXME: should be removed in autoconf 3.0.
646 echo "$as_me: WARNING: you should use --build, --host, --target" >&2
647 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
648 echo "$as_me: WARNING: invalid host type: $ac_option" >&2
649 : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
655 if test -n "$ac_prev"; then
656 ac_option=--`echo $ac_prev | sed 's/_/-/g'`
657 { echo "$as_me: error: missing argument to $ac_option" >&2
658 { (exit 1); exit 1; }; }
661 # Be sure to have absolute paths.
662 for ac_var in exec_prefix prefix
664 eval ac_val=$`echo $ac_var`
666 [\\/$]* | ?:[\\/]* | NONE | '' ) ;;
667 *) { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
668 { (exit 1); exit 1; }; };;
672 # Be sure to have absolute paths.
673 for ac_var in bindir sbindir libexecdir datadir sysconfdir sharedstatedir \
674 localstatedir libdir includedir oldincludedir infodir mandir
676 eval ac_val=$`echo $ac_var`
678 [\\/$]* | ?:[\\/]* ) ;;
679 *) { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
680 { (exit 1); exit 1; }; };;
684 # There might be people who depend on the old broken behavior: `$host'
685 # used to hold the argument of --host etc.
686 # FIXME: To remove some day.
691 # FIXME: To remove some day.
692 if test "x$host_alias" != x; then
693 if test "x$build_alias" = x; then
694 cross_compiling=maybe
695 echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
696 If a cross compiler is detected then cross compile mode will be used." >&2
697 elif test "x$build_alias" != "x$host_alias"; then
703 test -n "$host_alias" && ac_tool_prefix=$host_alias-
705 test "$silent" = yes && exec 6>/dev/null
708 # Find the source files, if location was not specified.
709 if test -z "$srcdir"; then
710 ac_srcdir_defaulted=yes
711 # Try the directory containing this script, then its parent.
712 ac_confdir=`(dirname "$0") 2>/dev/null ||
713 $as_expr X"$0" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
714 X"$0" : 'X\(//\)[^/]' \| \
715 X"$0" : 'X\(//\)$' \| \
716 X"$0" : 'X\(/\)' \| \
717 . : '\(.\)' 2>/dev/null ||
719 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
720 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
721 /^X\(\/\/\)$/{ s//\1/; q; }
722 /^X\(\/\).*/{ s//\1/; q; }
725 if test ! -r $srcdir/$ac_unique_file; then
729 ac_srcdir_defaulted=no
731 if test ! -r $srcdir/$ac_unique_file; then
732 if test "$ac_srcdir_defaulted" = yes; then
733 { echo "$as_me: error: cannot find sources ($ac_unique_file) in $ac_confdir or .." >&2
734 { (exit 1); exit 1; }; }
736 { echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2
737 { (exit 1); exit 1; }; }
740 (cd $srcdir && test -r ./$ac_unique_file) 2>/dev/null ||
741 { echo "$as_me: error: sources are in $srcdir, but \`cd $srcdir' does not work" >&2
742 { (exit 1); exit 1; }; }
743 srcdir=`echo "$srcdir" | sed 's%\([^\\/]\)[\\/]*$%\1%'`
744 ac_env_build_alias_set=${build_alias+set}
745 ac_env_build_alias_value=$build_alias
746 ac_cv_env_build_alias_set=${build_alias+set}
747 ac_cv_env_build_alias_value=$build_alias
748 ac_env_host_alias_set=${host_alias+set}
749 ac_env_host_alias_value=$host_alias
750 ac_cv_env_host_alias_set=${host_alias+set}
751 ac_cv_env_host_alias_value=$host_alias
752 ac_env_target_alias_set=${target_alias+set}
753 ac_env_target_alias_value=$target_alias
754 ac_cv_env_target_alias_set=${target_alias+set}
755 ac_cv_env_target_alias_value=$target_alias
756 ac_env_CC_set=${CC+set}
758 ac_cv_env_CC_set=${CC+set}
759 ac_cv_env_CC_value=$CC
760 ac_env_CFLAGS_set=${CFLAGS+set}
761 ac_env_CFLAGS_value=$CFLAGS
762 ac_cv_env_CFLAGS_set=${CFLAGS+set}
763 ac_cv_env_CFLAGS_value=$CFLAGS
764 ac_env_LDFLAGS_set=${LDFLAGS+set}
765 ac_env_LDFLAGS_value=$LDFLAGS
766 ac_cv_env_LDFLAGS_set=${LDFLAGS+set}
767 ac_cv_env_LDFLAGS_value=$LDFLAGS
768 ac_env_CPPFLAGS_set=${CPPFLAGS+set}
769 ac_env_CPPFLAGS_value=$CPPFLAGS
770 ac_cv_env_CPPFLAGS_set=${CPPFLAGS+set}
771 ac_cv_env_CPPFLAGS_value=$CPPFLAGS
772 ac_env_CPP_set=${CPP+set}
773 ac_env_CPP_value=$CPP
774 ac_cv_env_CPP_set=${CPP+set}
775 ac_cv_env_CPP_value=$CPP
776 ac_env_CXX_set=${CXX+set}
777 ac_env_CXX_value=$CXX
778 ac_cv_env_CXX_set=${CXX+set}
779 ac_cv_env_CXX_value=$CXX
780 ac_env_CXXFLAGS_set=${CXXFLAGS+set}
781 ac_env_CXXFLAGS_value=$CXXFLAGS
782 ac_cv_env_CXXFLAGS_set=${CXXFLAGS+set}
783 ac_cv_env_CXXFLAGS_value=$CXXFLAGS
784 ac_env_CXXCPP_set=${CXXCPP+set}
785 ac_env_CXXCPP_value=$CXXCPP
786 ac_cv_env_CXXCPP_set=${CXXCPP+set}
787 ac_cv_env_CXXCPP_value=$CXXCPP
790 # Report the --help message.
792 if test "$ac_init_help" = "long"; then
793 # Omit some internal or obsolete options to make the list less imposing.
794 # This message is too long to be a string in the A/UX 3.1 sh.
796 \`configure' configures GNU Classpath 0.94-pre to adapt to many kinds of systems.
798 Usage: $0 [OPTION]... [VAR=VALUE]...
800 To assign environment variables (e.g., CC, CFLAGS...), specify them as
801 VAR=VALUE. See below for descriptions of some of the useful variables.
803 Defaults for the options are specified in brackets.
806 -h, --help display this help and exit
807 --help=short display options specific to this package
808 --help=recursive display the short help of all the included packages
809 -V, --version display version information and exit
810 -q, --quiet, --silent do not print \`checking...' messages
811 --cache-file=FILE cache test results in FILE [disabled]
812 -C, --config-cache alias for \`--cache-file=config.cache'
813 -n, --no-create do not create output files
814 --srcdir=DIR find the sources in DIR [configure dir or \`..']
819 Installation directories:
820 --prefix=PREFIX install architecture-independent files in PREFIX
822 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
825 By default, \`make install' will install all the files in
826 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
827 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
828 for instance \`--prefix=\$HOME'.
830 For better control, use the options below.
832 Fine tuning of the installation directories:
833 --bindir=DIR user executables [EPREFIX/bin]
834 --sbindir=DIR system admin executables [EPREFIX/sbin]
835 --libexecdir=DIR program executables [EPREFIX/libexec]
836 --datadir=DIR read-only architecture-independent data [PREFIX/share]
837 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
838 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
839 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
840 --libdir=DIR object code libraries [EPREFIX/lib]
841 --includedir=DIR C header files [PREFIX/include]
842 --oldincludedir=DIR C header files for non-gcc [/usr/include]
843 --infodir=DIR info documentation [PREFIX/info]
844 --mandir=DIR man documentation [PREFIX/man]
850 --program-prefix=PREFIX prepend PREFIX to installed program names
851 --program-suffix=SUFFIX append SUFFIX to installed program names
852 --program-transform-name=PROGRAM run sed PROGRAM on installed program names
855 --x-includes=DIR X include files are in DIR
856 --x-libraries=DIR X library files are in DIR
859 --build=BUILD configure for building on BUILD [guessed]
860 --host=HOST cross-compile to build programs to run on HOST [BUILD]
861 --target=TARGET configure for building compilers for TARGET [HOST]
865 if test -n "$ac_init_help"; then
866 case $ac_init_help in
867 short | recursive ) echo "Configuration of GNU Classpath 0.94-pre:";;
872 --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
873 --enable-FEATURE[=ARG] include FEATURE [ARG=yes]
874 --enable-java-maintainer-mode
875 allow rebuilding of .class and .h files
876 --enable-collections create collections.jar default=no
877 --enable-jni compile JNI source default=yes
878 --enable-core-jni compile JNI sources for core default=yes
879 --enable-default-preferences-peer[=peer type or class name]
880 specify one of: "gconf" [default] for a GConf based
881 backend, "file" for a file based one, "memory" for a
882 transient one, or a fully qualified class name
883 implementing java.util.prefs.PreferencesFactory
884 --disable-gconf-peer compile GConf native peers (disabled by
885 --disable-jni) default=yes
887 --enable-Werror whether to compile C code with -Werror which turns
888 any compiler warning into a compilation failure
890 --enable-default-toolkit
891 fully qualified class name of default AWT toolkit
892 --enable-xmlj compile native libxml/xslt library default=no
893 --disable-alsa compile ALSA providers (enable by --enable-alsa)
895 --disable-dependency-tracking speeds up one-time build
896 --enable-dependency-tracking do not reject slow dependency extractors
897 --disable-dssi compile DSSI providers (enable by --enable-dssi)
899 --disable-gtk-peer compile GTK native peers (disabled by --disable-jni)
901 --enable-qt-peer compile Qt4 native peers (disabled by --disable-jni)
903 --disable-plugin compile gcjwebplugin (disabled by --disable-plugin)
905 --enable-regen-headers automatically regenerate JNI headers default=no
906 --enable-tool-wrappers create tool wrapper binaries default=no
907 --enable-static=PKGS build static libraries default=no
908 --enable-shared=PKGS build shared libraries default=yes
909 --enable-fast-install=PKGS optimize for fast installation default=yes
910 --disable-libtool-lock avoid locking (might break parallel builds)
911 --disable-rpath do not hardcode runtime library paths
912 --enable-maintainer-mode enable make rules and dependencies not useful
913 (and sometimes confusing) to the casual installer
914 --enable-debug enable runtime debugging code
915 --enable-load-library enable to use JNI native methods default=yes
916 --enable-java-lang-system-explicit-initialization
917 will the VM explicitly invoke java.lang.System's
918 static initialization methods default=no
919 --enable-examples enable build of the examples default=yes
920 --enable-portable-native-sync
921 synchronize VM threads portably
922 --enable-local-sockets enables local (AF_LOCAL) socket API default: no
925 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
926 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
927 --with-native-libdir sets the installation directory for native libraries
928 default='${libdir}/${PACKAGE}'
929 --with-glibj-dir sets the installation directory for glibj.zip
930 default='${libdir}/${PACKAGE}'
931 --with-vm sets the VM binary name
932 default='${prefix}/bin/jamvm'
933 --with-gnu-ld assume the C compiler uses GNU ld default=no
934 --with-pic try to use only PIC/non-PIC objects default=use both
935 --with-libiconv-prefix[=DIR] search for libiconv in DIR/include and DIR/lib
936 --without-libiconv-prefix don't search for libiconv in includedir and libdir
937 --with-x use the X Window System
938 --with-qt4dir=DIR Qt4 installation directory used for OS-X. For other
939 systems use pkg-config.
940 --with-javah specify path or name of a javah-like program
941 --with-gcj bytecode compilation with gcj
942 --with-jikes bytecode compilation with jikes
943 --with-kjc bytecode compilation with kjc
944 --with-gcjx bytecode compilation with gcjx
945 --with-ecj bytecode compilation with ecj
946 --with-classpath specify path to a classes.zip like file
947 --with-vm-classes specify path to VM override source files
948 --with-fastjar=PATH define to use a fastjar style tool
949 --with-glibj define what to install (zip|flat|both|none|build)
951 --with-gjdoc generate documentation using gjdoc (default is NO)
952 --with-jay Regenerate the parsers with jay must be given the
953 path to the jay executable
954 --with-glibj-zip=ABS.PATH
955 use prebuilt glibj.zip class library
956 --with-escher=ABS.PATH specify path to escher dir or JAR for X peers
958 Some influential environment variables:
959 CC C compiler command
960 CFLAGS C compiler flags
961 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
962 nonstandard directory <lib dir>
963 CPPFLAGS C/C++ preprocessor flags, e.g. -I<include dir> if you have
964 headers in a nonstandard directory <include dir>
966 CXX C++ compiler command
967 CXXFLAGS C++ compiler flags
968 CXXCPP C++ preprocessor
970 Use these variables to override the choices made by `configure' or to help
971 it to find libraries and programs with nonstandard names/locations.
973 Report bugs to <classpath@gnu.org>.
977 if test "$ac_init_help" = "recursive"; then
978 # If there are subdirs, report their specific --help.
980 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
981 test -d $ac_dir || continue
984 if test "$ac_dir" != .; then
985 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
986 # A "../" for each directory in $ac_dir_suffix.
987 ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
989 ac_dir_suffix= ac_top_builddir=
993 .) # No --srcdir option. We are building in place.
995 if test -z "$ac_top_builddir"; then
998 ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
1000 [\\/]* | ?:[\\/]* ) # Absolute path.
1001 ac_srcdir=$srcdir$ac_dir_suffix;
1002 ac_top_srcdir=$srcdir ;;
1004 ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
1005 ac_top_srcdir=$ac_top_builddir$srcdir ;;
1008 # Do not use `cd foo && pwd` to compute absolute paths, because
1009 # the directories may not exist.
1011 .) ac_abs_builddir="$ac_dir";;
1014 .) ac_abs_builddir=`pwd`;;
1015 [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";;
1016 *) ac_abs_builddir=`pwd`/"$ac_dir";;
1019 case $ac_abs_builddir in
1020 .) ac_abs_top_builddir=${ac_top_builddir}.;;
1022 case ${ac_top_builddir}. in
1023 .) ac_abs_top_builddir=$ac_abs_builddir;;
1024 [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;;
1025 *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;;
1028 case $ac_abs_builddir in
1029 .) ac_abs_srcdir=$ac_srcdir;;
1032 .) ac_abs_srcdir=$ac_abs_builddir;;
1033 [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
1034 *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;;
1037 case $ac_abs_builddir in
1038 .) ac_abs_top_srcdir=$ac_top_srcdir;;
1040 case $ac_top_srcdir in
1041 .) ac_abs_top_srcdir=$ac_abs_builddir;;
1042 [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;;
1043 *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;;
1048 # Check for guested configure; otherwise get Cygnus style configure.
1049 if test -f $ac_srcdir/configure.gnu; then
1051 $SHELL $ac_srcdir/configure.gnu --help=recursive
1052 elif test -f $ac_srcdir/configure; then
1054 $SHELL $ac_srcdir/configure --help=recursive
1055 elif test -f $ac_srcdir/configure.ac ||
1056 test -f $ac_srcdir/configure.in; then
1058 $ac_configure --help
1060 echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1066 test -n "$ac_init_help" && exit 0
1067 if $ac_init_version; then
1069 GNU Classpath configure 0.94-pre
1070 generated by GNU Autoconf 2.59
1072 Copyright (C) 2003 Free Software Foundation, Inc.
1073 This configure script is free software; the Free Software Foundation
1074 gives unlimited permission to copy, distribute and modify it.
1080 This file contains any messages produced by compilers while
1081 running configure, to aid debugging if configure makes a mistake.
1083 It was created by GNU Classpath $as_me 0.94-pre, which was
1084 generated by GNU Autoconf 2.59. Invocation command line was
1095 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
1096 uname -m = `(uname -m) 2>/dev/null || echo unknown`
1097 uname -r = `(uname -r) 2>/dev/null || echo unknown`
1098 uname -s = `(uname -s) 2>/dev/null || echo unknown`
1099 uname -v = `(uname -v) 2>/dev/null || echo unknown`
1101 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
1102 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
1104 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
1105 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
1106 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
1107 hostinfo = `(hostinfo) 2>/dev/null || echo unknown`
1108 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
1109 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
1110 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
1114 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1118 test -z "$as_dir" && as_dir=.
1119 echo "PATH: $as_dir"
1134 # Keep a trace of the command line.
1135 # Strip out --no-create and --no-recursion so they do not pile up.
1136 # Strip out --silent because we don't want to record it for future runs.
1137 # Also quote any args containing shell meta-characters.
1138 # Make two passes to allow for proper duplicate-argument suppression.
1143 ac_must_keep_next=false
1149 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
1150 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1151 | -silent | --silent | --silen | --sile | --sil)
1153 *" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
1154 ac_arg=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
1157 1) ac_configure_args0="$ac_configure_args0 '$ac_arg'" ;;
1159 ac_configure_args1="$ac_configure_args1 '$ac_arg'"
1160 if test $ac_must_keep_next = true; then
1161 ac_must_keep_next=false # Got value, back to normal.
1164 *=* | --config-cache | -C | -disable-* | --disable-* \
1165 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
1166 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
1167 | -with-* | --with-* | -without-* | --without-* | --x)
1168 case "$ac_configure_args0 " in
1169 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
1172 -* ) ac_must_keep_next=true ;;
1175 ac_configure_args="$ac_configure_args$ac_sep'$ac_arg'"
1176 # Get rid of the leading space.
1182 $as_unset ac_configure_args0 || test "${ac_configure_args0+set}" != set || { ac_configure_args0=; export ac_configure_args0; }
1183 $as_unset ac_configure_args1 || test "${ac_configure_args1+set}" != set || { ac_configure_args1=; export ac_configure_args1; }
1185 # When interrupted or exit'd, cleanup temporary files, and complete
1186 # config.log. We remove comments because anyway the quotes in there
1187 # would cause problems or look ugly.
1188 # WARNING: Be sure not to use single quotes in there, as some shells,
1189 # such as our DU 5.0 friend, will then `close' the trap.
1190 trap 'exit_status=$?
1191 # Save into config.log some information that might help in debugging.
1196 ## ---------------- ##
1197 ## Cache variables. ##
1198 ## ---------------- ##
1201 # The following way of writing the cache mishandles newlines in values,
1204 case `(ac_space='"'"' '"'"'; set | grep ac_space) 2>&1` in
1207 "s/'"'"'/'"'"'\\\\'"'"''"'"'/g;
1208 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='"'"'\\2'"'"'/p"
1212 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
1219 ## ----------------- ##
1220 ## Output variables. ##
1221 ## ----------------- ##
1224 for ac_var in $ac_subst_vars
1226 eval ac_val=$`echo $ac_var`
1227 echo "$ac_var='"'"'$ac_val'"'"'"
1231 if test -n "$ac_subst_files"; then
1238 for ac_var in $ac_subst_files
1240 eval ac_val=$`echo $ac_var`
1241 echo "$ac_var='"'"'$ac_val'"'"'"
1246 if test -s confdefs.h; then
1253 sed "/^$/d" confdefs.h | sort
1256 test "$ac_signal" != 0 &&
1257 echo "$as_me: caught signal $ac_signal"
1258 echo "$as_me: exit $exit_status"
1260 rm -f core *.core &&
1261 rm -rf conftest* confdefs* conf$$* $ac_clean_files &&
1264 for ac_signal in 1 2 13 15; do
1265 trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
1269 # confdefs.h avoids OS command line length limits that DEFS can exceed.
1270 rm -rf conftest* confdefs.h
1271 # AIX cpp loses on an empty file, so make sure it contains at least a newline.
1274 # Predefined preprocessor variables.
1276 cat >>confdefs.h <<_ACEOF
1277 #define PACKAGE_NAME "$PACKAGE_NAME"
1281 cat >>confdefs.h <<_ACEOF
1282 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
1286 cat >>confdefs.h <<_ACEOF
1287 #define PACKAGE_VERSION "$PACKAGE_VERSION"
1291 cat >>confdefs.h <<_ACEOF
1292 #define PACKAGE_STRING "$PACKAGE_STRING"
1296 cat >>confdefs.h <<_ACEOF
1297 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
1301 # Let the site file select an alternate cache file if it wants to.
1302 # Prefer explicitly selected file to automatically selected ones.
1303 if test -z "$CONFIG_SITE"; then
1304 if test "x$prefix" != xNONE; then
1305 CONFIG_SITE="$prefix/share/config.site $prefix/etc/config.site"
1307 CONFIG_SITE="$ac_default_prefix/share/config.site $ac_default_prefix/etc/config.site"
1310 for ac_site_file in $CONFIG_SITE; do
1311 if test -r "$ac_site_file"; then
1312 { echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
1313 echo "$as_me: loading site script $ac_site_file" >&6;}
1314 sed 's/^/| /' "$ac_site_file" >&5
1319 if test -r "$cache_file"; then
1320 # Some versions of bash will fail to source /dev/null (special
1321 # files actually), so we avoid doing that.
1322 if test -f "$cache_file"; then
1323 { echo "$as_me:$LINENO: loading cache $cache_file" >&5
1324 echo "$as_me: loading cache $cache_file" >&6;}
1326 [\\/]* | ?:[\\/]* ) . $cache_file;;
1327 *) . ./$cache_file;;
1331 { echo "$as_me:$LINENO: creating cache $cache_file" >&5
1332 echo "$as_me: creating cache $cache_file" >&6;}
1336 # Check that the precious variables saved in the cache have kept the same
1338 ac_cache_corrupted=false
1339 for ac_var in `(set) 2>&1 |
1340 sed -n 's/^ac_env_\([a-zA-Z_0-9]*\)_set=.*/\1/p'`; do
1341 eval ac_old_set=\$ac_cv_env_${ac_var}_set
1342 eval ac_new_set=\$ac_env_${ac_var}_set
1343 eval ac_old_val="\$ac_cv_env_${ac_var}_value"
1344 eval ac_new_val="\$ac_env_${ac_var}_value"
1345 case $ac_old_set,$ac_new_set in
1347 { echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
1348 echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
1349 ac_cache_corrupted=: ;;
1351 { echo "$as_me:$LINENO: error: \`$ac_var' was not set in the previous run" >&5
1352 echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
1353 ac_cache_corrupted=: ;;
1356 if test "x$ac_old_val" != "x$ac_new_val"; then
1357 { echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5
1358 echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
1359 { echo "$as_me:$LINENO: former value: $ac_old_val" >&5
1360 echo "$as_me: former value: $ac_old_val" >&2;}
1361 { echo "$as_me:$LINENO: current value: $ac_new_val" >&5
1362 echo "$as_me: current value: $ac_new_val" >&2;}
1363 ac_cache_corrupted=:
1366 # Pass precious variables to config.status.
1367 if test "$ac_new_set" = set; then
1369 *" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
1370 ac_arg=$ac_var=`echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
1371 *) ac_arg=$ac_var=$ac_new_val ;;
1373 case " $ac_configure_args " in
1374 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
1375 *) ac_configure_args="$ac_configure_args '$ac_arg'" ;;
1379 if $ac_cache_corrupted; then
1380 { echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5
1381 echo "$as_me: error: changes in the environment can compromise the build" >&2;}
1382 { { echo "$as_me:$LINENO: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5
1383 echo "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;}
1384 { (exit 1); exit 1; }; }
1388 ac_cpp='$CPP $CPPFLAGS'
1389 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1390 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1391 ac_compiler_gnu=$ac_cv_c_compiler_gnu
1422 for ac_dir in $srcdir $srcdir/.. $srcdir/../..; do
1423 if test -f $ac_dir/install-sh; then
1425 ac_install_sh="$ac_aux_dir/install-sh -c"
1427 elif test -f $ac_dir/install.sh; then
1429 ac_install_sh="$ac_aux_dir/install.sh -c"
1431 elif test -f $ac_dir/shtool; then
1433 ac_install_sh="$ac_aux_dir/shtool install -c"
1437 if test -z "$ac_aux_dir"; then
1438 { { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." >&5
1439 echo "$as_me: error: cannot find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." >&2;}
1440 { (exit 1); exit 1; }; }
1442 ac_config_guess="$SHELL $ac_aux_dir/config.guess"
1443 ac_config_sub="$SHELL $ac_aux_dir/config.sub"
1444 ac_configure="$SHELL $ac_aux_dir/configure" # This should be Cygnus configure.
1446 # Make sure we can run config.sub.
1447 $ac_config_sub sun4 >/dev/null 2>&1 ||
1448 { { echo "$as_me:$LINENO: error: cannot run $ac_config_sub" >&5
1449 echo "$as_me: error: cannot run $ac_config_sub" >&2;}
1450 { (exit 1); exit 1; }; }
1452 echo "$as_me:$LINENO: checking build system type" >&5
1453 echo $ECHO_N "checking build system type... $ECHO_C" >&6
1454 if test "${ac_cv_build+set}" = set; then
1455 echo $ECHO_N "(cached) $ECHO_C" >&6
1457 ac_cv_build_alias=$build_alias
1458 test -z "$ac_cv_build_alias" &&
1459 ac_cv_build_alias=`$ac_config_guess`
1460 test -z "$ac_cv_build_alias" &&
1461 { { echo "$as_me:$LINENO: error: cannot guess build type; you must specify one" >&5
1462 echo "$as_me: error: cannot guess build type; you must specify one" >&2;}
1463 { (exit 1); exit 1; }; }
1464 ac_cv_build=`$ac_config_sub $ac_cv_build_alias` ||
1465 { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_build_alias failed" >&5
1466 echo "$as_me: error: $ac_config_sub $ac_cv_build_alias failed" >&2;}
1467 { (exit 1); exit 1; }; }
1470 echo "$as_me:$LINENO: result: $ac_cv_build" >&5
1471 echo "${ECHO_T}$ac_cv_build" >&6
1473 build_cpu=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
1474 build_vendor=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
1475 build_os=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
1478 echo "$as_me:$LINENO: checking host system type" >&5
1479 echo $ECHO_N "checking host system type... $ECHO_C" >&6
1480 if test "${ac_cv_host+set}" = set; then
1481 echo $ECHO_N "(cached) $ECHO_C" >&6
1483 ac_cv_host_alias=$host_alias
1484 test -z "$ac_cv_host_alias" &&
1485 ac_cv_host_alias=$ac_cv_build_alias
1486 ac_cv_host=`$ac_config_sub $ac_cv_host_alias` ||
1487 { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_host_alias failed" >&5
1488 echo "$as_me: error: $ac_config_sub $ac_cv_host_alias failed" >&2;}
1489 { (exit 1); exit 1; }; }
1492 echo "$as_me:$LINENO: result: $ac_cv_host" >&5
1493 echo "${ECHO_T}$ac_cv_host" >&6
1495 host_cpu=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
1496 host_vendor=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
1497 host_os=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
1500 echo "$as_me:$LINENO: checking target system type" >&5
1501 echo $ECHO_N "checking target system type... $ECHO_C" >&6
1502 if test "${ac_cv_target+set}" = set; then
1503 echo $ECHO_N "(cached) $ECHO_C" >&6
1505 ac_cv_target_alias=$target_alias
1506 test "x$ac_cv_target_alias" = "x" &&
1507 ac_cv_target_alias=$ac_cv_host_alias
1508 ac_cv_target=`$ac_config_sub $ac_cv_target_alias` ||
1509 { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_target_alias failed" >&5
1510 echo "$as_me: error: $ac_config_sub $ac_cv_target_alias failed" >&2;}
1511 { (exit 1); exit 1; }; }
1514 echo "$as_me:$LINENO: result: $ac_cv_target" >&5
1515 echo "${ECHO_T}$ac_cv_target" >&6
1516 target=$ac_cv_target
1517 target_cpu=`echo $ac_cv_target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
1518 target_vendor=`echo $ac_cv_target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
1519 target_os=`echo $ac_cv_target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
1522 # The aliases save the names the user supplied, while $host etc.
1523 # will get canonicalized.
1524 test -n "$target_alias" &&
1525 test "$program_prefix$program_suffix$program_transform_name" = \
1527 program_prefix=${target_alias}-
1529 # Check whether --enable-java-maintainer-mode or --disable-java-maintainer-mode was given.
1530 if test "${enable_java_maintainer_mode+set}" = set; then
1531 enableval="$enable_java_maintainer_mode"
1536 if test "$enable_java_maintainer_mode" = yes; then
1537 JAVA_MAINTAINER_MODE_TRUE=
1538 JAVA_MAINTAINER_MODE_FALSE='#'
1540 JAVA_MAINTAINER_MODE_TRUE='#'
1541 JAVA_MAINTAINER_MODE_FALSE=
1545 if expr ${target_cpu} : '.*86' > /dev/null; then target_cpu=x86; fi
1558 CLASSPATH_MODULE="${cp_module} -version-info ${LIBVERSION} -no-undefined"
1561 CLASSPATH_CONVENIENCE="-no-undefined"
1565 am__api_version="1.9"
1566 # Find a good install program. We prefer a C program (faster),
1567 # so one script is as good as another. But avoid the broken or
1568 # incompatible versions:
1569 # SysV /etc/install, /usr/sbin/install
1570 # SunOS /usr/etc/install
1571 # IRIX /sbin/install
1573 # AmigaOS /C/install, which installs bootblocks on floppy discs
1574 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
1575 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
1576 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
1577 # OS/2's system install, which has a completely different semantic
1578 # ./install, which can be erroneously created by make from ./install.sh.
1579 echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
1580 echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6
1581 if test -z "$INSTALL"; then
1582 if test "${ac_cv_path_install+set}" = set; then
1583 echo $ECHO_N "(cached) $ECHO_C" >&6
1585 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1589 test -z "$as_dir" && as_dir=.
1590 # Account for people who put trailing slashes in PATH elements.
1592 ./ | .// | /cC/* | \
1593 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
1594 ?:\\/os2\\/install\\/* | ?:\\/OS2\\/INSTALL\\/* | \
1597 # OSF1 and SCO ODT 3.0 have their own names for install.
1598 # Don't use installbsd from OSF since it installs stuff as root
1600 for ac_prog in ginstall scoinst install; do
1601 for ac_exec_ext in '' $ac_executable_extensions; do
1602 if $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
1603 if test $ac_prog = install &&
1604 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
1605 # AIX install. It has an incompatible calling convention.
1607 elif test $ac_prog = install &&
1608 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
1609 # program-specific install script used by HP pwplus--don't use.
1612 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
1624 if test "${ac_cv_path_install+set}" = set; then
1625 INSTALL=$ac_cv_path_install
1627 # As a last resort, use the slow shell script. We don't cache a
1628 # path for INSTALL within a source directory, because that will
1629 # break other packages using the cache if that directory is
1630 # removed, or if the path is relative.
1631 INSTALL=$ac_install_sh
1634 echo "$as_me:$LINENO: result: $INSTALL" >&5
1635 echo "${ECHO_T}$INSTALL" >&6
1637 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
1638 # It thinks the first close brace ends the variable substitution.
1639 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
1641 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
1643 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
1645 echo "$as_me:$LINENO: checking whether build environment is sane" >&5
1646 echo $ECHO_N "checking whether build environment is sane... $ECHO_C" >&6
1649 echo timestamp > conftest.file
1650 # Do `set' in a subshell so we don't clobber the current shell's
1651 # arguments. Must try -L first in case configure is actually a
1652 # symlink; some systems play weird games with the mod time of symlinks
1653 # (eg FreeBSD returns the mod time of the symlink's containing
1656 set X `ls -Lt $srcdir/configure conftest.file 2> /dev/null`
1657 if test "$*" = "X"; then
1659 set X `ls -t $srcdir/configure conftest.file`
1662 if test "$*" != "X $srcdir/configure conftest.file" \
1663 && test "$*" != "X conftest.file $srcdir/configure"; then
1665 # If neither matched, then we have a broken ls. This can happen
1666 # if, for instance, CONFIG_SHELL is bash and it inherits a
1667 # broken ls alias from the environment. This has actually
1668 # happened. Such a system could not be considered "sane".
1669 { { echo "$as_me:$LINENO: error: ls -t appears to fail. Make sure there is not a broken
1670 alias in your environment" >&5
1671 echo "$as_me: error: ls -t appears to fail. Make sure there is not a broken
1672 alias in your environment" >&2;}
1673 { (exit 1); exit 1; }; }
1676 test "$2" = conftest.file
1682 { { echo "$as_me:$LINENO: error: newly created file is older than distributed files!
1683 Check your system clock" >&5
1684 echo "$as_me: error: newly created file is older than distributed files!
1685 Check your system clock" >&2;}
1686 { (exit 1); exit 1; }; }
1688 echo "$as_me:$LINENO: result: yes" >&5
1689 echo "${ECHO_T}yes" >&6
1690 test "$program_prefix" != NONE &&
1691 program_transform_name="s,^,$program_prefix,;$program_transform_name"
1692 # Use a double $ so make ignores it.
1693 test "$program_suffix" != NONE &&
1694 program_transform_name="s,\$,$program_suffix,;$program_transform_name"
1695 # Double any \ or $. echo might interpret backslashes.
1696 # By default was `s,x,x', remove it if useless.
1697 cat <<\_ACEOF >conftest.sed
1698 s/[\\$]/&&/g;s/;s,x,x,$//
1700 program_transform_name=`echo $program_transform_name | sed -f conftest.sed`
1703 # expand $ac_aux_dir to an absolute path
1704 am_aux_dir=`cd $ac_aux_dir && pwd`
1706 test x"${MISSING+set}" = xset || MISSING="\${SHELL} $am_aux_dir/missing"
1707 # Use eval to expand $SHELL
1708 if eval "$MISSING --run true"; then
1709 am_missing_run="$MISSING --run "
1712 { echo "$as_me:$LINENO: WARNING: \`missing' script is too old or missing" >&5
1713 echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;}
1716 if mkdir -p --version . >/dev/null 2>&1 && test ! -d ./--version; then
1717 # We used to keeping the `.' as first argument, in order to
1718 # allow $(mkdir_p) to be used without argument. As in
1719 # $(mkdir_p) $(somedir)
1720 # where $(somedir) is conditionally defined. However this is wrong
1722 # 1. if the package is installed by a user who cannot write `.'
1723 # make install will fail,
1724 # 2. the above comment should most certainly read
1725 # $(mkdir_p) $(DESTDIR)$(somedir)
1726 # so it does not work when $(somedir) is undefined and
1727 # $(DESTDIR) is not.
1728 # To support the latter case, we have to write
1729 # test -z "$(somedir)" || $(mkdir_p) $(DESTDIR)$(somedir),
1730 # so the `.' trick is pointless.
1731 mkdir_p='mkdir -p --'
1733 # On NextStep and OpenStep, the `mkdir' command does not
1734 # recognize any option. It will interpret all options as
1735 # directories to create, and then abort because `.' already
1737 for d in ./-p ./--version;
1739 test -d $d && rmdir $d
1741 # $(mkinstalldirs) is defined by Automake if mkinstalldirs exists.
1742 if test -f "$ac_aux_dir/mkinstalldirs"; then
1743 mkdir_p='$(mkinstalldirs)'
1745 mkdir_p='$(install_sh) -d'
1749 for ac_prog in gawk mawk nawk awk
1751 # Extract the first word of "$ac_prog", so it can be a program name with args.
1752 set dummy $ac_prog; ac_word=$2
1753 echo "$as_me:$LINENO: checking for $ac_word" >&5
1754 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1755 if test "${ac_cv_prog_AWK+set}" = set; then
1756 echo $ECHO_N "(cached) $ECHO_C" >&6
1758 if test -n "$AWK"; then
1759 ac_cv_prog_AWK="$AWK" # Let the user override the test.
1761 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1765 test -z "$as_dir" && as_dir=.
1766 for ac_exec_ext in '' $ac_executable_extensions; do
1767 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1768 ac_cv_prog_AWK="$ac_prog"
1769 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1778 if test -n "$AWK"; then
1779 echo "$as_me:$LINENO: result: $AWK" >&5
1780 echo "${ECHO_T}$AWK" >&6
1782 echo "$as_me:$LINENO: result: no" >&5
1783 echo "${ECHO_T}no" >&6
1786 test -n "$AWK" && break
1789 echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
1790 echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6
1791 set dummy ${MAKE-make}; ac_make=`echo "$2" | sed 'y,:./+-,___p_,'`
1792 if eval "test \"\${ac_cv_prog_make_${ac_make}_set+set}\" = set"; then
1793 echo $ECHO_N "(cached) $ECHO_C" >&6
1795 cat >conftest.make <<\_ACEOF
1797 @echo 'ac_maketemp="$(MAKE)"'
1799 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
1800 eval `${MAKE-make} -f conftest.make 2>/dev/null | grep temp=`
1801 if test -n "$ac_maketemp"; then
1802 eval ac_cv_prog_make_${ac_make}_set=yes
1804 eval ac_cv_prog_make_${ac_make}_set=no
1808 if eval "test \"`echo '$ac_cv_prog_make_'${ac_make}_set`\" = yes"; then
1809 echo "$as_me:$LINENO: result: yes" >&5
1810 echo "${ECHO_T}yes" >&6
1813 echo "$as_me:$LINENO: result: no" >&5
1814 echo "${ECHO_T}no" >&6
1815 SET_MAKE="MAKE=${MAKE-make}"
1818 rm -rf .tst 2>/dev/null
1819 mkdir .tst 2>/dev/null
1820 if test -d .tst; then
1825 rmdir .tst 2>/dev/null
1827 # test to see if srcdir already configured
1828 if test "`cd $srcdir && pwd`" != "`pwd`" &&
1829 test -f $srcdir/config.status; then
1830 { { echo "$as_me:$LINENO: error: source directory already configured; run \"make distclean\" there first" >&5
1831 echo "$as_me: error: source directory already configured; run \"make distclean\" there first" >&2;}
1832 { (exit 1); exit 1; }; }
1835 # test whether we have cygpath
1836 if test -z "$CYGPATH_W"; then
1837 if (cygpath --version) >/dev/null 2>/dev/null; then
1838 CYGPATH_W='cygpath -w'
1845 # Define the identity of the package.
1850 cat >>confdefs.h <<_ACEOF
1851 #define PACKAGE "$PACKAGE"
1855 cat >>confdefs.h <<_ACEOF
1856 #define VERSION "$VERSION"
1859 # Some tools Automake needs.
1861 ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
1864 AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"}
1867 AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
1870 AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"}
1873 MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
1875 install_sh=${install_sh-"$am_aux_dir/install-sh"}
1877 # Installed binaries are usually stripped using `strip' when the user
1878 # run `make install-strip'. However `strip' might not be the right
1879 # tool to use in cross-compilation environments, therefore Automake
1880 # will honor the `STRIP' environment variable to overrule this program.
1881 if test "$cross_compiling" != no; then
1882 if test -n "$ac_tool_prefix"; then
1883 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
1884 set dummy ${ac_tool_prefix}strip; ac_word=$2
1885 echo "$as_me:$LINENO: checking for $ac_word" >&5
1886 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1887 if test "${ac_cv_prog_STRIP+set}" = set; then
1888 echo $ECHO_N "(cached) $ECHO_C" >&6
1890 if test -n "$STRIP"; then
1891 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
1893 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1897 test -z "$as_dir" && as_dir=.
1898 for ac_exec_ext in '' $ac_executable_extensions; do
1899 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1900 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
1901 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1909 STRIP=$ac_cv_prog_STRIP
1910 if test -n "$STRIP"; then
1911 echo "$as_me:$LINENO: result: $STRIP" >&5
1912 echo "${ECHO_T}$STRIP" >&6
1914 echo "$as_me:$LINENO: result: no" >&5
1915 echo "${ECHO_T}no" >&6
1919 if test -z "$ac_cv_prog_STRIP"; then
1921 # Extract the first word of "strip", so it can be a program name with args.
1922 set dummy strip; ac_word=$2
1923 echo "$as_me:$LINENO: checking for $ac_word" >&5
1924 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1925 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
1926 echo $ECHO_N "(cached) $ECHO_C" >&6
1928 if test -n "$ac_ct_STRIP"; then
1929 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
1931 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1935 test -z "$as_dir" && as_dir=.
1936 for ac_exec_ext in '' $ac_executable_extensions; do
1937 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1938 ac_cv_prog_ac_ct_STRIP="strip"
1939 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1945 test -z "$ac_cv_prog_ac_ct_STRIP" && ac_cv_prog_ac_ct_STRIP=":"
1948 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
1949 if test -n "$ac_ct_STRIP"; then
1950 echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
1951 echo "${ECHO_T}$ac_ct_STRIP" >&6
1953 echo "$as_me:$LINENO: result: no" >&5
1954 echo "${ECHO_T}no" >&6
1959 STRIP="$ac_cv_prog_STRIP"
1963 INSTALL_STRIP_PROGRAM="\${SHELL} \$(install_sh) -c -s"
1965 # We need awk for the "check" target. The system "awk" is bad on
1967 # Always define AMTAR for backward compatibility.
1969 AMTAR=${AMTAR-"${am_missing_run}tar"}
1972 echo "$as_me:$LINENO: checking how to create a ustar tar archive" >&5
1973 echo $ECHO_N "checking how to create a ustar tar archive... $ECHO_C" >&6
1974 # Loop over all known methods to create a tar archive until one works.
1975 _am_tools='gnutar plaintar pax cpio none'
1976 _am_tools=${am_cv_prog_tar_ustar-$_am_tools}
1977 # Do not fold the above two line into one, because Tru64 sh and
1978 # Solaris sh will not grok spaces in the rhs of `-'.
1979 for _am_tool in $_am_tools
1983 for _am_tar in tar gnutar gtar;
1985 { echo "$as_me:$LINENO: $_am_tar --version" >&5
1986 ($_am_tar --version) >&5 2>&5
1988 echo "$as_me:$LINENO: \$? = $ac_status" >&5
1989 (exit $ac_status); } && break
1991 am__tar="$_am_tar --format=ustar -chf - "'"$$tardir"'
1992 am__tar_="$_am_tar --format=ustar -chf - "'"$tardir"'
1993 am__untar="$_am_tar -xf -"
1996 # Must skip GNU tar: if it does not support --format= it doesn't create
1997 # ustar tarball either.
1998 (tar --version) >/dev/null 2>&1 && continue
1999 am__tar='tar chf - "$$tardir"'
2000 am__tar_='tar chf - "$tardir"'
2001 am__untar='tar xf -'
2004 am__tar='pax -L -x ustar -w "$$tardir"'
2005 am__tar_='pax -L -x ustar -w "$tardir"'
2009 am__tar='find "$$tardir" -print | cpio -o -H ustar -L'
2010 am__tar_='find "$tardir" -print | cpio -o -H ustar -L'
2011 am__untar='cpio -i -H ustar -d'
2020 # If the value was cached, stop now. We just wanted to have am__tar
2021 # and am__untar set.
2022 test -n "${am_cv_prog_tar_ustar}" && break
2024 # tar/untar a dummy directory, and stop if the command works
2027 echo GrepMe > conftest.dir/file
2028 { echo "$as_me:$LINENO: tardir=conftest.dir && eval $am__tar_ >conftest.tar" >&5
2029 (tardir=conftest.dir && eval $am__tar_ >conftest.tar) >&5 2>&5
2031 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2032 (exit $ac_status); }
2034 if test -s conftest.tar; then
2035 { echo "$as_me:$LINENO: $am__untar <conftest.tar" >&5
2036 ($am__untar <conftest.tar) >&5 2>&5
2038 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2039 (exit $ac_status); }
2040 grep GrepMe conftest.dir/file >/dev/null 2>&1 && break
2045 if test "${am_cv_prog_tar_ustar+set}" = set; then
2046 echo $ECHO_N "(cached) $ECHO_C" >&6
2048 am_cv_prog_tar_ustar=$_am_tool
2051 echo "$as_me:$LINENO: result: $am_cv_prog_tar_ustar" >&5
2052 echo "${ECHO_T}$am_cv_prog_tar_ustar" >&6
2058 ac_config_headers="$ac_config_headers include/config.h"
2064 # Check whether --enable-collections or --disable-collections was given.
2065 if test "${enable_collections+set}" = set; then
2066 enableval="$enable_collections"
2067 case x"${enableval}" in
2068 xyes) COMPILE_COLLECTIONS=yes; COLLECTIONS_PREFIX="\"gnu/java/util/collections\"" ;;
2069 xno) COMPILE_COLLECTIONS=no ;;
2070 x) COMPILE_COLLECTIONS=yes; COLLECTIONS_PREFIX="\"gnu/java/util/collections\"" ;;
2071 *) COMPILE_COLLECTIONS=yes; COLLECTIONS_PREFIX="\"${enableval}\"" ;;
2074 COMPILE_COLLECTIONS=no
2078 if test "x${COMPILE_COLLECTIONS}" = xyes; then
2079 CREATE_COLLECTIONS_TRUE=
2080 CREATE_COLLECTIONS_FALSE='#'
2082 CREATE_COLLECTIONS_TRUE='#'
2083 CREATE_COLLECTIONS_FALSE=
2087 # Check whether --enable-jni or --disable-jni was given.
2088 if test "${enable_jni+set}" = set; then
2089 enableval="$enable_jni"
2090 case "${enableval}" in
2091 yes) COMPILE_JNI=yes; COMPILE_JAVA=yes ;;
2092 no) COMPILE_JNI=no ;;
2093 *) COMPILE_JNI=yes; COMPILE_JAVA=yes ;;
2100 if test "x${COMPILE_JNI}" = xyes; then
2101 CREATE_JNI_LIBRARIES_TRUE=
2102 CREATE_JNI_LIBRARIES_FALSE='#'
2104 CREATE_JNI_LIBRARIES_TRUE='#'
2105 CREATE_JNI_LIBRARIES_FALSE=
2109 # Check whether --enable-core-jni or --disable-core-jni was given.
2110 if test "${enable_core_jni+set}" = set; then
2111 enableval="$enable_core_jni"
2112 case "${enableval}" in
2113 yes) COMPILE_CORE_JNI=yes; COMPILE_JAVA=yes ;;
2114 no) COMPILE_CORE_JNI=no ;;
2115 *) COMPILE_CORE_JNI=yes; COMPILE_JAVA=yes ;;
2118 COMPILE_CORE_JNI=yes
2122 if test "x${COMPILE_CORE_JNI}" = xyes; then
2123 CREATE_CORE_JNI_LIBRARIES_TRUE=
2124 CREATE_CORE_JNI_LIBRARIES_FALSE='#'
2126 CREATE_CORE_JNI_LIBRARIES_TRUE='#'
2127 CREATE_CORE_JNI_LIBRARIES_FALSE=
2131 # Check whether --enable-default-preferences-peer or --disable-default-preferences-peer was given.
2132 if test "${enable_default_preferences_peer+set}" = set; then
2133 enableval="$enable_default_preferences_peer"
2134 case "${enableval}" in
2135 file) DEFAULT_PREFS_PEER=gnu.java.util.prefs.FileBasedFactory ;;
2136 gconf|yes|true) DEFAULT_PREFS_PEER=gnu.java.util.prefs.GConfBasedFactory ;;
2137 memory) DEFAULT_PREFS_PEER=gnu.java.util.prefs.MemoryBasedFactory ;;
2138 no|false) { { echo "$as_me:$LINENO: error: bad value '${enableval}' for --enable-default-preferences-peer" >&5
2139 echo "$as_me: error: bad value '${enableval}' for --enable-default-preferences-peer" >&2;}
2140 { (exit 1); exit 1; }; } ;;
2141 *) DEFAULT_PREFS_PEER=${enableval} ;;
2144 DEFAULT_PREFS_PEER=gnu.java.util.prefs.GConfBasedFactory
2147 # Check whether --enable-gconf-peer or --disable-gconf-peer was given.
2148 if test "${enable_gconf_peer+set}" = set; then
2149 enableval="$enable_gconf_peer"
2150 case "${enableval}" in
2151 yes) COMPILE_GCONF_PEER=yes ;;
2152 no) COMPILE_GCONF_PEER=no ;;
2153 *) COMPILE_GCONF_PEER=yes ;;
2156 COMPILE_GCONF_PEER=yes
2160 if test "x${COMPILE_GCONF_PEER}" = xyes; then
2161 CREATE_GCONF_PEER_LIBRARIES_TRUE=
2162 CREATE_GCONF_PEER_LIBRARIES_FALSE='#'
2164 CREATE_GCONF_PEER_LIBRARIES_TRUE='#'
2165 CREATE_GCONF_PEER_LIBRARIES_FALSE=
2169 # Check whether --enable-gconf-peers or --disable-gconf-peers was given.
2170 if test "${enable_gconf_peers+set}" = set; then
2171 enableval="$enable_gconf_peers"
2172 { { echo "$as_me:$LINENO: error: No --enable-gconf-peers (or --disable-gconf-peers) option; you want --enable-gconf-peer" >&5
2173 echo "$as_me: error: No --enable-gconf-peers (or --disable-gconf-peers) option; you want --enable-gconf-peer" >&2;}
2174 { (exit 1); exit 1; }; }
2177 # Check whether --enable-Werror or --disable-Werror was given.
2178 if test "${enable_Werror+set}" = set; then
2179 enableval="$enable_Werror"
2180 case "${enableval}" in
2181 yes) ENABLE_WERROR=yes ;;
2182 no) ENABLE_WERROR=no ;;
2183 *) ENABLE_WERROR=default ;;
2186 ENABLE_WERROR=default
2189 # Check whether --enable-default-toolkit or --disable-default-toolkit was given.
2190 if test "${enable_default_toolkit+set}" = set; then
2191 enableval="$enable_default_toolkit"
2194 default_toolkit=$enable_default_toolkit
2195 if test "$default_toolkit" = ""; then
2196 default_toolkit=gnu.java.awt.peer.gtk.GtkToolkit
2200 # Check whether --enable-xmlj or --disable-xmlj was given.
2201 if test "${enable_xmlj+set}" = set; then
2202 enableval="$enable_xmlj"
2203 case "${enableval}" in
2204 yes) COMPILE_XMLJ=yes ;;
2205 no) COMPILE_XMLJ=no ;;
2206 *) COMPILE_XMLJ=no ;;
2213 if test "x${COMPILE_XMLJ}" = xyes; then
2214 CREATE_XMLJ_LIBRARY_TRUE=
2215 CREATE_XMLJ_LIBRARY_FALSE='#'
2217 CREATE_XMLJ_LIBRARY_TRUE='#'
2218 CREATE_XMLJ_LIBRARY_FALSE=
2222 DEPDIR="${am__leading_dot}deps"
2224 ac_config_commands="$ac_config_commands depfiles"
2227 am_make=${MAKE-make}
2228 cat > confinc << 'END'
2233 # If we don't find an include directive, just comment out the code.
2234 echo "$as_me:$LINENO: checking for style of include used by $am_make" >&5
2235 echo $ECHO_N "checking for style of include used by $am_make... $ECHO_C" >&6
2239 # First try GNU make style include.
2240 echo "include confinc" > confmf
2241 # We grep out `Entering directory' and `Leaving directory'
2242 # messages which can occur if `w' ends up in MAKEFLAGS.
2243 # In particular we don't look at `^make:' because GNU make might
2244 # be invoked under some other name (usually "gmake"), in which
2245 # case it prints its new name instead of `make'.
2246 if test "`$am_make -s -f confmf 2> /dev/null | grep -v 'ing directory'`" = "done"; then
2251 # Now try BSD make style include.
2252 if test "$am__include" = "#"; then
2253 echo '.include "confinc"' > confmf
2254 if test "`$am_make -s -f confmf 2> /dev/null`" = "done"; then
2255 am__include=.include
2262 echo "$as_me:$LINENO: result: $_am_result" >&5
2263 echo "${ECHO_T}$_am_result" >&6
2264 rm -f confinc confmf
2266 # Check whether --enable-dependency-tracking or --disable-dependency-tracking was given.
2267 if test "${enable_dependency_tracking+set}" = set; then
2268 enableval="$enable_dependency_tracking"
2271 if test "x$enable_dependency_tracking" != xno; then
2272 am_depcomp="$ac_aux_dir/depcomp"
2277 if test "x$enable_dependency_tracking" != xno; then
2288 ac_cpp='$CPP $CPPFLAGS'
2289 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2290 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2291 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2292 if test -n "$ac_tool_prefix"; then
2293 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
2294 set dummy ${ac_tool_prefix}gcc; ac_word=$2
2295 echo "$as_me:$LINENO: checking for $ac_word" >&5
2296 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2297 if test "${ac_cv_prog_CC+set}" = set; then
2298 echo $ECHO_N "(cached) $ECHO_C" >&6
2300 if test -n "$CC"; then
2301 ac_cv_prog_CC="$CC" # Let the user override the test.
2303 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2307 test -z "$as_dir" && as_dir=.
2308 for ac_exec_ext in '' $ac_executable_extensions; do
2309 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2310 ac_cv_prog_CC="${ac_tool_prefix}gcc"
2311 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2320 if test -n "$CC"; then
2321 echo "$as_me:$LINENO: result: $CC" >&5
2322 echo "${ECHO_T}$CC" >&6
2324 echo "$as_me:$LINENO: result: no" >&5
2325 echo "${ECHO_T}no" >&6
2329 if test -z "$ac_cv_prog_CC"; then
2331 # Extract the first word of "gcc", so it can be a program name with args.
2332 set dummy gcc; ac_word=$2
2333 echo "$as_me:$LINENO: checking for $ac_word" >&5
2334 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2335 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
2336 echo $ECHO_N "(cached) $ECHO_C" >&6
2338 if test -n "$ac_ct_CC"; then
2339 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
2341 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2345 test -z "$as_dir" && as_dir=.
2346 for ac_exec_ext in '' $ac_executable_extensions; do
2347 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2348 ac_cv_prog_ac_ct_CC="gcc"
2349 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2357 ac_ct_CC=$ac_cv_prog_ac_ct_CC
2358 if test -n "$ac_ct_CC"; then
2359 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
2360 echo "${ECHO_T}$ac_ct_CC" >&6
2362 echo "$as_me:$LINENO: result: no" >&5
2363 echo "${ECHO_T}no" >&6
2371 if test -z "$CC"; then
2372 if test -n "$ac_tool_prefix"; then
2373 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
2374 set dummy ${ac_tool_prefix}cc; ac_word=$2
2375 echo "$as_me:$LINENO: checking for $ac_word" >&5
2376 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2377 if test "${ac_cv_prog_CC+set}" = set; then
2378 echo $ECHO_N "(cached) $ECHO_C" >&6
2380 if test -n "$CC"; then
2381 ac_cv_prog_CC="$CC" # Let the user override the test.
2383 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2387 test -z "$as_dir" && as_dir=.
2388 for ac_exec_ext in '' $ac_executable_extensions; do
2389 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2390 ac_cv_prog_CC="${ac_tool_prefix}cc"
2391 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2400 if test -n "$CC"; then
2401 echo "$as_me:$LINENO: result: $CC" >&5
2402 echo "${ECHO_T}$CC" >&6
2404 echo "$as_me:$LINENO: result: no" >&5
2405 echo "${ECHO_T}no" >&6
2409 if test -z "$ac_cv_prog_CC"; then
2411 # Extract the first word of "cc", so it can be a program name with args.
2412 set dummy cc; ac_word=$2
2413 echo "$as_me:$LINENO: checking for $ac_word" >&5
2414 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2415 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
2416 echo $ECHO_N "(cached) $ECHO_C" >&6
2418 if test -n "$ac_ct_CC"; then
2419 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
2421 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2425 test -z "$as_dir" && as_dir=.
2426 for ac_exec_ext in '' $ac_executable_extensions; do
2427 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2428 ac_cv_prog_ac_ct_CC="cc"
2429 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2437 ac_ct_CC=$ac_cv_prog_ac_ct_CC
2438 if test -n "$ac_ct_CC"; then
2439 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
2440 echo "${ECHO_T}$ac_ct_CC" >&6
2442 echo "$as_me:$LINENO: result: no" >&5
2443 echo "${ECHO_T}no" >&6
2452 if test -z "$CC"; then
2453 # Extract the first word of "cc", so it can be a program name with args.
2454 set dummy cc; ac_word=$2
2455 echo "$as_me:$LINENO: checking for $ac_word" >&5
2456 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2457 if test "${ac_cv_prog_CC+set}" = set; then
2458 echo $ECHO_N "(cached) $ECHO_C" >&6
2460 if test -n "$CC"; then
2461 ac_cv_prog_CC="$CC" # Let the user override the test.
2464 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2468 test -z "$as_dir" && as_dir=.
2469 for ac_exec_ext in '' $ac_executable_extensions; do
2470 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2471 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
2472 ac_prog_rejected=yes
2476 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2482 if test $ac_prog_rejected = yes; then
2483 # We found a bogon in the path, so make sure we never use it.
2484 set dummy $ac_cv_prog_CC
2486 if test $# != 0; then
2487 # We chose a different compiler from the bogus one.
2488 # However, it has the same basename, so the bogon will be chosen
2489 # first if we set CC to just the basename; use the full file name.
2491 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
2497 if test -n "$CC"; then
2498 echo "$as_me:$LINENO: result: $CC" >&5
2499 echo "${ECHO_T}$CC" >&6
2501 echo "$as_me:$LINENO: result: no" >&5
2502 echo "${ECHO_T}no" >&6
2506 if test -z "$CC"; then
2507 if test -n "$ac_tool_prefix"; then
2510 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
2511 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
2512 echo "$as_me:$LINENO: checking for $ac_word" >&5
2513 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2514 if test "${ac_cv_prog_CC+set}" = set; then
2515 echo $ECHO_N "(cached) $ECHO_C" >&6
2517 if test -n "$CC"; then
2518 ac_cv_prog_CC="$CC" # Let the user override the test.
2520 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2524 test -z "$as_dir" && as_dir=.
2525 for ac_exec_ext in '' $ac_executable_extensions; do
2526 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2527 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
2528 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2537 if test -n "$CC"; then
2538 echo "$as_me:$LINENO: result: $CC" >&5
2539 echo "${ECHO_T}$CC" >&6
2541 echo "$as_me:$LINENO: result: no" >&5
2542 echo "${ECHO_T}no" >&6
2545 test -n "$CC" && break
2548 if test -z "$CC"; then
2552 # Extract the first word of "$ac_prog", so it can be a program name with args.
2553 set dummy $ac_prog; ac_word=$2
2554 echo "$as_me:$LINENO: checking for $ac_word" >&5
2555 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2556 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
2557 echo $ECHO_N "(cached) $ECHO_C" >&6
2559 if test -n "$ac_ct_CC"; then
2560 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
2562 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2566 test -z "$as_dir" && as_dir=.
2567 for ac_exec_ext in '' $ac_executable_extensions; do
2568 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2569 ac_cv_prog_ac_ct_CC="$ac_prog"
2570 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2578 ac_ct_CC=$ac_cv_prog_ac_ct_CC
2579 if test -n "$ac_ct_CC"; then
2580 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
2581 echo "${ECHO_T}$ac_ct_CC" >&6
2583 echo "$as_me:$LINENO: result: no" >&5
2584 echo "${ECHO_T}no" >&6
2587 test -n "$ac_ct_CC" && break
2596 test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
2597 See \`config.log' for more details." >&5
2598 echo "$as_me: error: no acceptable C compiler found in \$PATH
2599 See \`config.log' for more details." >&2;}
2600 { (exit 1); exit 1; }; }
2602 # Provide some information about the compiler.
2603 echo "$as_me:$LINENO:" \
2604 "checking for C compiler version" >&5
2605 ac_compiler=`set X $ac_compile; echo $2`
2606 { (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5
2607 (eval $ac_compiler --version </dev/null >&5) 2>&5
2609 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2610 (exit $ac_status); }
2611 { (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5
2612 (eval $ac_compiler -v </dev/null >&5) 2>&5
2614 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2615 (exit $ac_status); }
2616 { (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5
2617 (eval $ac_compiler -V </dev/null >&5) 2>&5
2619 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2620 (exit $ac_status); }
2622 cat >conftest.$ac_ext <<_ACEOF
2625 cat confdefs.h >>conftest.$ac_ext
2626 cat >>conftest.$ac_ext <<_ACEOF
2627 /* end confdefs.h. */
2638 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
2639 (eval $ac_link) 2>&5
2641 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2642 (exit $ac_status); }; then
2648 if test x$gcc_no_link = xyes; then
2649 # Setting cross_compile will disable run tests; it will
2650 # also disable AC_CHECK_FILE but that's generally
2651 # correct if we can't link.
2655 cat >conftest.$ac_ext <<_ACEOF
2658 cat confdefs.h >>conftest.$ac_ext
2659 cat >>conftest.$ac_ext <<_ACEOF
2660 /* end confdefs.h. */
2670 ac_clean_files_save=$ac_clean_files
2671 ac_clean_files="$ac_clean_files a.out a.exe b.out"
2672 # Try to create an executable without -o first, disregard a.out.
2673 # It will help us diagnose broken compilers, and finding out an intuition
2675 echo "$as_me:$LINENO: checking for C compiler default output file name" >&5
2676 echo $ECHO_N "checking for C compiler default output file name... $ECHO_C" >&6
2677 ac_link_default=`echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
2678 if { (eval echo "$as_me:$LINENO: \"$ac_link_default\"") >&5
2679 (eval $ac_link_default) 2>&5
2681 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2682 (exit $ac_status); }; then
2683 # Find the output, starting from the most likely. This scheme is
2684 # not robust to junk in `.', hence go to wildcards (a.*) only as a last
2687 # Be careful to initialize this variable, since it used to be cached.
2688 # Otherwise an old cache value of `no' led to `EXEEXT = no' in a Makefile.
2690 # b.out is created by i960 compilers.
2691 for ac_file in a_out.exe a.exe conftest.exe a.out conftest a.* conftest.* b.out
2693 test -f "$ac_file" || continue
2695 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.o | *.obj )
2698 # This is the source file.
2701 # We found the default executable, but exeext='' is most
2705 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
2706 # FIXME: I believe we export ac_cv_exeext for Libtool,
2707 # but it would be cool to find out if it's true. Does anybody
2708 # maintain Libtool? --akim.
2716 echo "$as_me: failed program was:" >&5
2717 sed 's/^/| /' conftest.$ac_ext >&5
2719 { { echo "$as_me:$LINENO: error: C compiler cannot create executables
2720 See \`config.log' for more details." >&5
2721 echo "$as_me: error: C compiler cannot create executables
2722 See \`config.log' for more details." >&2;}
2723 { (exit 77); exit 77; }; }
2726 ac_exeext=$ac_cv_exeext
2727 echo "$as_me:$LINENO: result: $ac_file" >&5
2728 echo "${ECHO_T}$ac_file" >&6
2730 # Check the compiler produces executables we can run. If not, either
2731 # the compiler is broken, or we cross compile.
2732 echo "$as_me:$LINENO: checking whether the C compiler works" >&5
2733 echo $ECHO_N "checking whether the C compiler works... $ECHO_C" >&6
2734 # FIXME: These cross compiler hacks should be removed for Autoconf 3.0
2735 # If not cross compiling, check that we can run a simple program.
2736 if test "$cross_compiling" != yes; then
2737 if { ac_try='./$ac_file'
2738 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2741 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2742 (exit $ac_status); }; }; then
2745 if test "$cross_compiling" = maybe; then
2748 { { echo "$as_me:$LINENO: error: cannot run C compiled programs.
2749 If you meant to cross compile, use \`--host'.
2750 See \`config.log' for more details." >&5
2751 echo "$as_me: error: cannot run C compiled programs.
2752 If you meant to cross compile, use \`--host'.
2753 See \`config.log' for more details." >&2;}
2754 { (exit 1); exit 1; }; }
2758 echo "$as_me:$LINENO: result: yes" >&5
2759 echo "${ECHO_T}yes" >&6
2761 rm -f a.out a.exe conftest$ac_cv_exeext b.out
2762 ac_clean_files=$ac_clean_files_save
2763 # Check the compiler produces executables we can run. If not, either
2764 # the compiler is broken, or we cross compile.
2765 echo "$as_me:$LINENO: checking whether we are cross compiling" >&5
2766 echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6
2767 echo "$as_me:$LINENO: result: $cross_compiling" >&5
2768 echo "${ECHO_T}$cross_compiling" >&6
2770 echo "$as_me:$LINENO: checking for suffix of executables" >&5
2771 echo $ECHO_N "checking for suffix of executables... $ECHO_C" >&6
2772 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
2773 (eval $ac_link) 2>&5
2775 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2776 (exit $ac_status); }; then
2777 # If both `conftest.exe' and `conftest' are `present' (well, observable)
2778 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
2779 # work properly (i.e., refer to `conftest.exe'), while it won't with
2781 for ac_file in conftest.exe conftest conftest.*; do
2782 test -f "$ac_file" || continue
2784 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.o | *.obj ) ;;
2785 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
2792 { { echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link
2793 See \`config.log' for more details." >&5
2794 echo "$as_me: error: cannot compute suffix of executables: cannot compile and link
2795 See \`config.log' for more details." >&2;}
2796 { (exit 1); exit 1; }; }
2799 rm -f conftest$ac_cv_exeext
2800 echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
2801 echo "${ECHO_T}$ac_cv_exeext" >&6
2803 rm -f conftest.$ac_ext
2804 EXEEXT=$ac_cv_exeext
2807 echo "$as_me:$LINENO: checking for suffix of object files" >&5
2808 echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6
2809 if test "${ac_cv_objext+set}" = set; then
2810 echo $ECHO_N "(cached) $ECHO_C" >&6
2812 cat >conftest.$ac_ext <<_ACEOF
2815 cat confdefs.h >>conftest.$ac_ext
2816 cat >>conftest.$ac_ext <<_ACEOF
2817 /* end confdefs.h. */
2827 rm -f conftest.o conftest.obj
2828 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2829 (eval $ac_compile) 2>&5
2831 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2832 (exit $ac_status); }; then
2833 for ac_file in `(ls conftest.o conftest.obj; ls conftest.*) 2>/dev/null`; do
2835 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg ) ;;
2836 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
2841 echo "$as_me: failed program was:" >&5
2842 sed 's/^/| /' conftest.$ac_ext >&5
2844 { { echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile
2845 See \`config.log' for more details." >&5
2846 echo "$as_me: error: cannot compute suffix of object files: cannot compile
2847 See \`config.log' for more details." >&2;}
2848 { (exit 1); exit 1; }; }
2851 rm -f conftest.$ac_cv_objext conftest.$ac_ext
2853 echo "$as_me:$LINENO: result: $ac_cv_objext" >&5
2854 echo "${ECHO_T}$ac_cv_objext" >&6
2855 OBJEXT=$ac_cv_objext
2857 echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
2858 echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6
2859 if test "${ac_cv_c_compiler_gnu+set}" = set; then
2860 echo $ECHO_N "(cached) $ECHO_C" >&6
2862 cat >conftest.$ac_ext <<_ACEOF
2865 cat confdefs.h >>conftest.$ac_ext
2866 cat >>conftest.$ac_ext <<_ACEOF
2867 /* end confdefs.h. */
2880 rm -f conftest.$ac_objext
2881 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2882 (eval $ac_compile) 2>conftest.er1
2884 grep -v '^ *+' conftest.er1 >conftest.err
2886 cat conftest.err >&5
2887 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2888 (exit $ac_status); } &&
2889 { ac_try='test -z "$ac_c_werror_flag"
2890 || test ! -s conftest.err'
2891 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2894 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2895 (exit $ac_status); }; } &&
2896 { ac_try='test -s conftest.$ac_objext'
2897 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2900 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2901 (exit $ac_status); }; }; then
2904 echo "$as_me: failed program was:" >&5
2905 sed 's/^/| /' conftest.$ac_ext >&5
2909 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
2910 ac_cv_c_compiler_gnu=$ac_compiler_gnu
2913 echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
2914 echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6
2915 GCC=`test $ac_compiler_gnu = yes && echo yes`
2916 ac_test_CFLAGS=${CFLAGS+set}
2917 ac_save_CFLAGS=$CFLAGS
2919 echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
2920 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6
2921 if test "${ac_cv_prog_cc_g+set}" = set; then
2922 echo $ECHO_N "(cached) $ECHO_C" >&6
2924 cat >conftest.$ac_ext <<_ACEOF
2927 cat confdefs.h >>conftest.$ac_ext
2928 cat >>conftest.$ac_ext <<_ACEOF
2929 /* end confdefs.h. */
2939 rm -f conftest.$ac_objext
2940 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2941 (eval $ac_compile) 2>conftest.er1
2943 grep -v '^ *+' conftest.er1 >conftest.err
2945 cat conftest.err >&5
2946 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2947 (exit $ac_status); } &&
2948 { ac_try='test -z "$ac_c_werror_flag"
2949 || test ! -s conftest.err'
2950 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2953 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2954 (exit $ac_status); }; } &&
2955 { ac_try='test -s conftest.$ac_objext'
2956 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2959 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2960 (exit $ac_status); }; }; then
2963 echo "$as_me: failed program was:" >&5
2964 sed 's/^/| /' conftest.$ac_ext >&5
2968 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
2970 echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
2971 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6
2972 if test "$ac_test_CFLAGS" = set; then
2973 CFLAGS=$ac_save_CFLAGS
2974 elif test $ac_cv_prog_cc_g = yes; then
2975 if test "$GCC" = yes; then
2981 if test "$GCC" = yes; then
2987 echo "$as_me:$LINENO: checking for $CC option to accept ANSI C" >&5
2988 echo $ECHO_N "checking for $CC option to accept ANSI C... $ECHO_C" >&6
2989 if test "${ac_cv_prog_cc_stdc+set}" = set; then
2990 echo $ECHO_N "(cached) $ECHO_C" >&6
2992 ac_cv_prog_cc_stdc=no
2994 cat >conftest.$ac_ext <<_ACEOF
2997 cat confdefs.h >>conftest.$ac_ext
2998 cat >>conftest.$ac_ext <<_ACEOF
2999 /* end confdefs.h. */
3002 #include <sys/types.h>
3003 #include <sys/stat.h>
3004 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
3005 struct buf { int x; };
3006 FILE * (*rcsopen) (struct buf *, struct stat *, int);
3007 static char *e (p, i)
3013 static char *f (char * (*g) (char **, int), char **p, ...)
3018 s = g (p, va_arg (v,int));
3023 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
3024 function prototypes and stuff, but not '\xHH' hex character constants.
3025 These don't provoke an error unfortunately, instead are silently treated
3026 as 'x'. The following induces an error, until -std1 is added to get
3027 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
3028 array size at least. It's necessary to write '\x00'==0 to get something
3029 that's true only with -std1. */
3030 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
3032 int test (int i, double x);
3033 struct s1 {int (*f) (int a);};
3034 struct s2 {int (*f) (double a);};
3035 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
3041 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
3046 # Don't try gcc -ansi; that turns off useful extensions and
3047 # breaks some systems' header files.
3048 # AIX -qlanglvl=ansi
3049 # Ultrix and OSF/1 -std1
3050 # HP-UX 10.20 and later -Ae
3051 # HP-UX older versions -Aa -D_HPUX_SOURCE
3052 # SVR4 -Xc -D__EXTENSIONS__
3053 for ac_arg in "" -qlanglvl=ansi -std1 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
3055 CC="$ac_save_CC $ac_arg"
3056 rm -f conftest.$ac_objext
3057 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3058 (eval $ac_compile) 2>conftest.er1
3060 grep -v '^ *+' conftest.er1 >conftest.err
3062 cat conftest.err >&5
3063 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3064 (exit $ac_status); } &&
3065 { ac_try='test -z "$ac_c_werror_flag"
3066 || test ! -s conftest.err'
3067 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3070 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3071 (exit $ac_status); }; } &&
3072 { ac_try='test -s conftest.$ac_objext'
3073 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3076 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3077 (exit $ac_status); }; }; then
3078 ac_cv_prog_cc_stdc=$ac_arg
3081 echo "$as_me: failed program was:" >&5
3082 sed 's/^/| /' conftest.$ac_ext >&5
3085 rm -f conftest.err conftest.$ac_objext
3087 rm -f conftest.$ac_ext conftest.$ac_objext
3092 case "x$ac_cv_prog_cc_stdc" in
3094 echo "$as_me:$LINENO: result: none needed" >&5
3095 echo "${ECHO_T}none needed" >&6 ;;
3097 echo "$as_me:$LINENO: result: $ac_cv_prog_cc_stdc" >&5
3098 echo "${ECHO_T}$ac_cv_prog_cc_stdc" >&6
3099 CC="$CC $ac_cv_prog_cc_stdc" ;;
3102 # Some people use a C++ compiler to compile C. Since we use `exit',
3103 # in C++ we need to declare it. In case someone uses the same compiler
3104 # for both compiling C and C++ we need to have the C++ compiler decide
3105 # the declaration of exit, since it's the most demanding environment.
3106 cat >conftest.$ac_ext <<_ACEOF
3111 rm -f conftest.$ac_objext
3112 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3113 (eval $ac_compile) 2>conftest.er1
3115 grep -v '^ *+' conftest.er1 >conftest.err
3117 cat conftest.err >&5
3118 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3119 (exit $ac_status); } &&
3120 { ac_try='test -z "$ac_c_werror_flag"
3121 || test ! -s conftest.err'
3122 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3125 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3126 (exit $ac_status); }; } &&
3127 { ac_try='test -s conftest.$ac_objext'
3128 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3131 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3132 (exit $ac_status); }; }; then
3133 for ac_declaration in \
3135 'extern "C" void std::exit (int) throw (); using std::exit;' \
3136 'extern "C" void std::exit (int); using std::exit;' \
3137 'extern "C" void exit (int) throw ();' \
3138 'extern "C" void exit (int);' \
3141 cat >conftest.$ac_ext <<_ACEOF
3144 cat confdefs.h >>conftest.$ac_ext
3145 cat >>conftest.$ac_ext <<_ACEOF
3146 /* end confdefs.h. */
3157 rm -f conftest.$ac_objext
3158 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3159 (eval $ac_compile) 2>conftest.er1
3161 grep -v '^ *+' conftest.er1 >conftest.err
3163 cat conftest.err >&5
3164 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3165 (exit $ac_status); } &&
3166 { ac_try='test -z "$ac_c_werror_flag"
3167 || test ! -s conftest.err'
3168 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3171 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3172 (exit $ac_status); }; } &&
3173 { ac_try='test -s conftest.$ac_objext'
3174 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3177 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3178 (exit $ac_status); }; }; then
3181 echo "$as_me: failed program was:" >&5
3182 sed 's/^/| /' conftest.$ac_ext >&5
3186 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
3187 cat >conftest.$ac_ext <<_ACEOF
3190 cat confdefs.h >>conftest.$ac_ext
3191 cat >>conftest.$ac_ext <<_ACEOF
3192 /* end confdefs.h. */
3202 rm -f conftest.$ac_objext
3203 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3204 (eval $ac_compile) 2>conftest.er1
3206 grep -v '^ *+' conftest.er1 >conftest.err
3208 cat conftest.err >&5
3209 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3210 (exit $ac_status); } &&
3211 { ac_try='test -z "$ac_c_werror_flag"
3212 || test ! -s conftest.err'
3213 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3216 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3217 (exit $ac_status); }; } &&
3218 { ac_try='test -s conftest.$ac_objext'
3219 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3222 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3223 (exit $ac_status); }; }; then
3226 echo "$as_me: failed program was:" >&5
3227 sed 's/^/| /' conftest.$ac_ext >&5
3230 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
3233 if test -n "$ac_declaration"; then
3234 echo '#ifdef __cplusplus' >>confdefs.h
3235 echo $ac_declaration >>confdefs.h
3236 echo '#endif' >>confdefs.h
3240 echo "$as_me: failed program was:" >&5
3241 sed 's/^/| /' conftest.$ac_ext >&5
3244 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
3246 ac_cpp='$CPP $CPPFLAGS'
3247 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3248 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3249 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3251 depcc="$CC" am_compiler_list=
3253 echo "$as_me:$LINENO: checking dependency style of $depcc" >&5
3254 echo $ECHO_N "checking dependency style of $depcc... $ECHO_C" >&6
3255 if test "${am_cv_CC_dependencies_compiler_type+set}" = set; then
3256 echo $ECHO_N "(cached) $ECHO_C" >&6
3258 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
3259 # We make a subdir and do the tests there. Otherwise we can end up
3260 # making bogus files that we don't know about and never remove. For
3261 # instance it was reported that on HP-UX the gcc test will end up
3262 # making a dummy file named `D' -- because `-MD' means `put the output
3265 # Copy depcomp to subdir because otherwise we won't find it if we're
3266 # using a relative directory.
3267 cp "$am_depcomp" conftest.dir
3269 # We will build objects and dependencies in a subdirectory because
3270 # it helps to detect inapplicable dependency modes. For instance
3271 # both Tru64's cc and ICC support -MD to output dependencies as a
3272 # side effect of compilation, but ICC will put the dependencies in
3273 # the current directory while Tru64 will put them in the object
3277 am_cv_CC_dependencies_compiler_type=none
3278 if test "$am_compiler_list" = ""; then
3279 am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
3281 for depmode in $am_compiler_list; do
3282 # Setup a source with many dependencies, because some compilers
3283 # like to wrap large dependency lists on column 80 (with \), and
3284 # we should not choose a depcomp mode which is confused by this.
3286 # We need to recreate these files for each test, as the compiler may
3287 # overwrite some of them when testing with obscure command lines.
3288 # This happens at least with the AIX C compiler.
3290 for i in 1 2 3 4 5 6; do
3291 echo '#include "conftst'$i'.h"' >> sub/conftest.c
3292 # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
3293 # Solaris 8's {/usr,}/bin/sh.
3294 touch sub/conftst$i.h
3296 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
3300 # after this tag, mechanisms are not by side-effect, so they'll
3301 # only be used when explicitly requested
3302 if test "x$enable_dependency_tracking" = xyes; then
3310 # We check with `-c' and `-o' for the sake of the "dashmstdout"
3311 # mode. It turns out that the SunPro C++ compiler does not properly
3312 # handle `-M -o', and we need to detect this.
3313 if depmode=$depmode \
3314 source=sub/conftest.c object=sub/conftest.${OBJEXT-o} \
3315 depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
3316 $SHELL ./depcomp $depcc -c -o sub/conftest.${OBJEXT-o} sub/conftest.c \
3317 >/dev/null 2>conftest.err &&
3318 grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
3319 grep sub/conftest.${OBJEXT-o} sub/conftest.Po > /dev/null 2>&1 &&
3320 ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
3321 # icc doesn't choke on unknown options, it will just issue warnings
3322 # or remarks (even with -Werror). So we grep stderr for any message
3323 # that says an option was ignored or not supported.
3324 # When given -MP, icc 7.0 and 7.1 complain thusly:
3325 # icc: Command line warning: ignoring option '-M'; no argument required
3326 # The diagnosis changed in icc 8.0:
3327 # icc: Command line remark: option '-MP' not supported
3328 if (grep 'ignoring option' conftest.err ||
3329 grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
3330 am_cv_CC_dependencies_compiler_type=$depmode
3339 am_cv_CC_dependencies_compiler_type=none
3343 echo "$as_me:$LINENO: result: $am_cv_CC_dependencies_compiler_type" >&5
3344 echo "${ECHO_T}$am_cv_CC_dependencies_compiler_type" >&6
3345 CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
3350 test "x$enable_dependency_tracking" != xno \
3351 && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
3353 am__fastdepCC_FALSE='#'
3355 am__fastdepCC_TRUE='#'
3356 am__fastdepCC_FALSE=
3362 ac_cpp='$CPP $CPPFLAGS'
3363 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3364 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3365 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3366 echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5
3367 echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6
3368 # On Suns, sometimes $CPP names a directory.
3369 if test -n "$CPP" && test -d "$CPP"; then
3372 if test -z "$CPP"; then
3373 if test "${ac_cv_prog_CPP+set}" = set; then
3374 echo $ECHO_N "(cached) $ECHO_C" >&6
3376 # Double quotes because CPP needs to be expanded
3377 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
3380 for ac_c_preproc_warn_flag in '' yes
3382 # Use a header file that comes with gcc, so configuring glibc
3383 # with a fresh cross-compiler works.
3384 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
3385 # <limits.h> exists even on freestanding compilers.
3386 # On the NeXT, cc -E runs the code through the compiler's parser,
3387 # not just through cpp. "Syntax error" is here to catch this case.
3388 cat >conftest.$ac_ext <<_ACEOF
3391 cat confdefs.h >>conftest.$ac_ext
3392 cat >>conftest.$ac_ext <<_ACEOF
3393 /* end confdefs.h. */
3395 # include <limits.h>
3397 # include <assert.h>
3401 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
3402 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
3404 grep -v '^ *+' conftest.er1 >conftest.err
3406 cat conftest.err >&5
3407 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3408 (exit $ac_status); } >/dev/null; then
3409 if test -s conftest.err; then
3410 ac_cpp_err=$ac_c_preproc_warn_flag
3411 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
3418 if test -z "$ac_cpp_err"; then
3421 echo "$as_me: failed program was:" >&5
3422 sed 's/^/| /' conftest.$ac_ext >&5
3424 # Broken: fails on valid input.
3427 rm -f conftest.err conftest.$ac_ext
3429 # OK, works on sane cases. Now check whether non-existent headers
3430 # can be detected and how.
3431 cat >conftest.$ac_ext <<_ACEOF
3434 cat confdefs.h >>conftest.$ac_ext
3435 cat >>conftest.$ac_ext <<_ACEOF
3436 /* end confdefs.h. */
3437 #include <ac_nonexistent.h>
3439 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
3440 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
3442 grep -v '^ *+' conftest.er1 >conftest.err
3444 cat conftest.err >&5
3445 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3446 (exit $ac_status); } >/dev/null; then
3447 if test -s conftest.err; then
3448 ac_cpp_err=$ac_c_preproc_warn_flag
3449 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
3456 if test -z "$ac_cpp_err"; then
3457 # Broken: success on invalid input.
3460 echo "$as_me: failed program was:" >&5
3461 sed 's/^/| /' conftest.$ac_ext >&5
3463 # Passes both tests.
3467 rm -f conftest.err conftest.$ac_ext
3470 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
3471 rm -f conftest.err conftest.$ac_ext
3472 if $ac_preproc_ok; then
3484 echo "$as_me:$LINENO: result: $CPP" >&5
3485 echo "${ECHO_T}$CPP" >&6
3487 for ac_c_preproc_warn_flag in '' yes
3489 # Use a header file that comes with gcc, so configuring glibc
3490 # with a fresh cross-compiler works.
3491 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
3492 # <limits.h> exists even on freestanding compilers.
3493 # On the NeXT, cc -E runs the code through the compiler's parser,
3494 # not just through cpp. "Syntax error" is here to catch this case.
3495 cat >conftest.$ac_ext <<_ACEOF
3498 cat confdefs.h >>conftest.$ac_ext
3499 cat >>conftest.$ac_ext <<_ACEOF
3500 /* end confdefs.h. */
3502 # include <limits.h>
3504 # include <assert.h>
3508 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
3509 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
3511 grep -v '^ *+' conftest.er1 >conftest.err
3513 cat conftest.err >&5
3514 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3515 (exit $ac_status); } >/dev/null; then
3516 if test -s conftest.err; then
3517 ac_cpp_err=$ac_c_preproc_warn_flag
3518 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
3525 if test -z "$ac_cpp_err"; then
3528 echo "$as_me: failed program was:" >&5
3529 sed 's/^/| /' conftest.$ac_ext >&5
3531 # Broken: fails on valid input.
3534 rm -f conftest.err conftest.$ac_ext
3536 # OK, works on sane cases. Now check whether non-existent headers
3537 # can be detected and how.
3538 cat >conftest.$ac_ext <<_ACEOF
3541 cat confdefs.h >>conftest.$ac_ext
3542 cat >>conftest.$ac_ext <<_ACEOF
3543 /* end confdefs.h. */
3544 #include <ac_nonexistent.h>
3546 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
3547 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
3549 grep -v '^ *+' conftest.er1 >conftest.err
3551 cat conftest.err >&5
3552 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3553 (exit $ac_status); } >/dev/null; then
3554 if test -s conftest.err; then
3555 ac_cpp_err=$ac_c_preproc_warn_flag
3556 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
3563 if test -z "$ac_cpp_err"; then
3564 # Broken: success on invalid input.
3567 echo "$as_me: failed program was:" >&5
3568 sed 's/^/| /' conftest.$ac_ext >&5
3570 # Passes both tests.
3574 rm -f conftest.err conftest.$ac_ext
3577 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
3578 rm -f conftest.err conftest.$ac_ext
3579 if $ac_preproc_ok; then
3582 { { echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check
3583 See \`config.log' for more details." >&5
3584 echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check
3585 See \`config.log' for more details." >&2;}
3586 { (exit 1); exit 1; }; }
3590 ac_cpp='$CPP $CPPFLAGS'
3591 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3592 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3593 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3596 echo "$as_me:$LINENO: checking for egrep" >&5
3597 echo $ECHO_N "checking for egrep... $ECHO_C" >&6
3598 if test "${ac_cv_prog_egrep+set}" = set; then
3599 echo $ECHO_N "(cached) $ECHO_C" >&6
3601 if echo a | (grep -E '(a|b)') >/dev/null 2>&1
3602 then ac_cv_prog_egrep='grep -E'
3603 else ac_cv_prog_egrep='egrep'
3606 echo "$as_me:$LINENO: result: $ac_cv_prog_egrep" >&5
3607 echo "${ECHO_T}$ac_cv_prog_egrep" >&6
3608 EGREP=$ac_cv_prog_egrep
3611 echo "$as_me:$LINENO: checking for ANSI C header files" >&5
3612 echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6
3613 if test "${ac_cv_header_stdc+set}" = set; then
3614 echo $ECHO_N "(cached) $ECHO_C" >&6
3616 cat >conftest.$ac_ext <<_ACEOF
3619 cat confdefs.h >>conftest.$ac_ext
3620 cat >>conftest.$ac_ext <<_ACEOF
3621 /* end confdefs.h. */
3635 rm -f conftest.$ac_objext
3636 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3637 (eval $ac_compile) 2>conftest.er1
3639 grep -v '^ *+' conftest.er1 >conftest.err
3641 cat conftest.err >&5
3642 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3643 (exit $ac_status); } &&
3644 { ac_try='test -z "$ac_c_werror_flag"
3645 || test ! -s conftest.err'
3646 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3649 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3650 (exit $ac_status); }; } &&
3651 { ac_try='test -s conftest.$ac_objext'
3652 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3655 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3656 (exit $ac_status); }; }; then
3657 ac_cv_header_stdc=yes
3659 echo "$as_me: failed program was:" >&5
3660 sed 's/^/| /' conftest.$ac_ext >&5
3662 ac_cv_header_stdc=no
3664 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
3666 if test $ac_cv_header_stdc = yes; then
3667 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
3668 cat >conftest.$ac_ext <<_ACEOF
3671 cat confdefs.h >>conftest.$ac_ext
3672 cat >>conftest.$ac_ext <<_ACEOF
3673 /* end confdefs.h. */
3677 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
3678 $EGREP "memchr" >/dev/null 2>&1; then
3681 ac_cv_header_stdc=no
3687 if test $ac_cv_header_stdc = yes; then
3688 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
3689 cat >conftest.$ac_ext <<_ACEOF
3692 cat confdefs.h >>conftest.$ac_ext
3693 cat >>conftest.$ac_ext <<_ACEOF
3694 /* end confdefs.h. */
3698 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
3699 $EGREP "free" >/dev/null 2>&1; then
3702 ac_cv_header_stdc=no
3708 if test $ac_cv_header_stdc = yes; then
3709 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
3710 if test "$cross_compiling" = yes; then
3713 cat >conftest.$ac_ext <<_ACEOF
3716 cat confdefs.h >>conftest.$ac_ext
3717 cat >>conftest.$ac_ext <<_ACEOF
3718 /* end confdefs.h. */
3720 #if ((' ' & 0x0FF) == 0x020)
3721 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
3722 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
3724 # define ISLOWER(c) \
3725 (('a' <= (c) && (c) <= 'i') \
3726 || ('j' <= (c) && (c) <= 'r') \
3727 || ('s' <= (c) && (c) <= 'z'))
3728 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
3731 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
3736 for (i = 0; i < 256; i++)
3737 if (XOR (islower (i), ISLOWER (i))
3738 || toupper (i) != TOUPPER (i))
3743 rm -f conftest$ac_exeext
3744 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
3745 (eval $ac_link) 2>&5
3747 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3748 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
3749 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3752 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3753 (exit $ac_status); }; }; then
3756 echo "$as_me: program exited with status $ac_status" >&5
3757 echo "$as_me: failed program was:" >&5
3758 sed 's/^/| /' conftest.$ac_ext >&5
3761 ac_cv_header_stdc=no
3763 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
3767 echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
3768 echo "${ECHO_T}$ac_cv_header_stdc" >&6
3769 if test $ac_cv_header_stdc = yes; then
3771 cat >>confdefs.h <<\_ACEOF
3772 #define STDC_HEADERS 1
3777 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
3787 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
3788 inttypes.h stdint.h unistd.h
3790 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
3791 echo "$as_me:$LINENO: checking for $ac_header" >&5
3792 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
3793 if eval "test \"\${$as_ac_Header+set}\" = set"; then
3794 echo $ECHO_N "(cached) $ECHO_C" >&6
3796 cat >conftest.$ac_ext <<_ACEOF
3799 cat confdefs.h >>conftest.$ac_ext
3800 cat >>conftest.$ac_ext <<_ACEOF
3801 /* end confdefs.h. */
3802 $ac_includes_default
3804 #include <$ac_header>
3806 rm -f conftest.$ac_objext
3807 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3808 (eval $ac_compile) 2>conftest.er1
3810 grep -v '^ *+' conftest.er1 >conftest.err
3812 cat conftest.err >&5
3813 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3814 (exit $ac_status); } &&
3815 { ac_try='test -z "$ac_c_werror_flag"
3816 || test ! -s conftest.err'
3817 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3820 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3821 (exit $ac_status); }; } &&
3822 { ac_try='test -s conftest.$ac_objext'
3823 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3826 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3827 (exit $ac_status); }; }; then
3828 eval "$as_ac_Header=yes"
3830 echo "$as_me: failed program was:" >&5
3831 sed 's/^/| /' conftest.$ac_ext >&5
3833 eval "$as_ac_Header=no"
3835 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
3837 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
3838 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
3839 if test `eval echo '${'$as_ac_Header'}'` = yes; then
3840 cat >>confdefs.h <<_ACEOF
3841 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
3849 # Check whether --enable-alsa or --disable-alsa was given.
3850 if test "${enable_alsa+set}" = set; then
3851 enableval="$enable_alsa"
3852 case "${enableval}" in
3853 yes) COMPILE_ALSA=yes ;;
3854 no) COMPILE_ALSA=no ;;
3855 *) COMPILE_ALSA=yes ;;
3859 for ac_header in alsa/asoundlib.h
3861 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
3862 if eval "test \"\${$as_ac_Header+set}\" = set"; then
3863 echo "$as_me:$LINENO: checking for $ac_header" >&5
3864 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
3865 if eval "test \"\${$as_ac_Header+set}\" = set"; then
3866 echo $ECHO_N "(cached) $ECHO_C" >&6
3868 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
3869 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
3871 # Is the header compilable?
3872 echo "$as_me:$LINENO: checking $ac_header usability" >&5
3873 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
3874 cat >conftest.$ac_ext <<_ACEOF
3877 cat confdefs.h >>conftest.$ac_ext
3878 cat >>conftest.$ac_ext <<_ACEOF
3879 /* end confdefs.h. */
3880 $ac_includes_default
3881 #include <$ac_header>
3883 rm -f conftest.$ac_objext
3884 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3885 (eval $ac_compile) 2>conftest.er1
3887 grep -v '^ *+' conftest.er1 >conftest.err
3889 cat conftest.err >&5
3890 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3891 (exit $ac_status); } &&
3892 { ac_try='test -z "$ac_c_werror_flag"
3893 || test ! -s conftest.err'
3894 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3897 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3898 (exit $ac_status); }; } &&
3899 { ac_try='test -s conftest.$ac_objext'
3900 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3903 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3904 (exit $ac_status); }; }; then
3905 ac_header_compiler=yes
3907 echo "$as_me: failed program was:" >&5
3908 sed 's/^/| /' conftest.$ac_ext >&5
3910 ac_header_compiler=no
3912 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
3913 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
3914 echo "${ECHO_T}$ac_header_compiler" >&6
3916 # Is the header present?
3917 echo "$as_me:$LINENO: checking $ac_header presence" >&5
3918 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
3919 cat >conftest.$ac_ext <<_ACEOF
3922 cat confdefs.h >>conftest.$ac_ext
3923 cat >>conftest.$ac_ext <<_ACEOF
3924 /* end confdefs.h. */
3925 #include <$ac_header>
3927 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
3928 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
3930 grep -v '^ *+' conftest.er1 >conftest.err
3932 cat conftest.err >&5
3933 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3934 (exit $ac_status); } >/dev/null; then
3935 if test -s conftest.err; then
3936 ac_cpp_err=$ac_c_preproc_warn_flag
3937 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
3944 if test -z "$ac_cpp_err"; then
3945 ac_header_preproc=yes
3947 echo "$as_me: failed program was:" >&5
3948 sed 's/^/| /' conftest.$ac_ext >&5
3950 ac_header_preproc=no
3952 rm -f conftest.err conftest.$ac_ext
3953 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
3954 echo "${ECHO_T}$ac_header_preproc" >&6
3956 # So? What about this header?
3957 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
3959 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
3960 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
3961 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
3962 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
3963 ac_header_preproc=yes
3966 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
3967 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
3968 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
3969 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
3970 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
3971 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
3972 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
3973 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
3974 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
3975 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
3976 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
3977 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
3980 ## -------------------------------- ##
3981 ## Report this to classpath@gnu.org ##
3982 ## -------------------------------- ##
3985 sed "s/^/$as_me: WARNING: /" >&2
3988 echo "$as_me:$LINENO: checking for $ac_header" >&5
3989 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
3990 if eval "test \"\${$as_ac_Header+set}\" = set"; then
3991 echo $ECHO_N "(cached) $ECHO_C" >&6
3993 eval "$as_ac_Header=\$ac_header_preproc"
3995 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
3996 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
3999 if test `eval echo '${'$as_ac_Header'}'` = yes; then
4000 cat >>confdefs.h <<_ACEOF
4001 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
4003 echo "$as_me:$LINENO: checking for snd_seq_open in -lasound" >&5
4004 echo $ECHO_N "checking for snd_seq_open in -lasound... $ECHO_C" >&6
4005 if test "${ac_cv_lib_asound_snd_seq_open+set}" = set; then
4006 echo $ECHO_N "(cached) $ECHO_C" >&6
4008 ac_check_lib_save_LIBS=$LIBS
4009 LIBS="-lasound $LIBS"
4010 if test x$gcc_no_link = xyes; then
4011 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
4012 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
4013 { (exit 1); exit 1; }; }
4015 cat >conftest.$ac_ext <<_ACEOF
4018 cat confdefs.h >>conftest.$ac_ext
4019 cat >>conftest.$ac_ext <<_ACEOF
4020 /* end confdefs.h. */
4022 /* Override any gcc2 internal prototype to avoid an error. */
4026 /* We use char because int might match the return type of a gcc2
4027 builtin and then its argument prototype would still apply. */
4028 char snd_seq_open ();
4037 rm -f conftest.$ac_objext conftest$ac_exeext
4038 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
4039 (eval $ac_link) 2>conftest.er1
4041 grep -v '^ *+' conftest.er1 >conftest.err
4043 cat conftest.err >&5
4044 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4045 (exit $ac_status); } &&
4046 { ac_try='test -z "$ac_c_werror_flag"
4047 || test ! -s conftest.err'
4048 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4051 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4052 (exit $ac_status); }; } &&
4053 { ac_try='test -s conftest$ac_exeext'
4054 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4057 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4058 (exit $ac_status); }; }; then
4059 ac_cv_lib_asound_snd_seq_open=yes
4061 echo "$as_me: failed program was:" >&5
4062 sed 's/^/| /' conftest.$ac_ext >&5
4064 ac_cv_lib_asound_snd_seq_open=no
4066 rm -f conftest.err conftest.$ac_objext \
4067 conftest$ac_exeext conftest.$ac_ext
4068 LIBS=$ac_check_lib_save_LIBS
4070 echo "$as_me:$LINENO: result: $ac_cv_lib_asound_snd_seq_open" >&5
4071 echo "${ECHO_T}$ac_cv_lib_asound_snd_seq_open" >&6
4072 if test $ac_cv_lib_asound_snd_seq_open = yes; then
4087 if test "x${COMPILE_ALSA}" = xyes; then
4088 CREATE_ALSA_LIBRARIES_TRUE=
4089 CREATE_ALSA_LIBRARIES_FALSE='#'
4091 CREATE_ALSA_LIBRARIES_TRUE='#'
4092 CREATE_ALSA_LIBRARIES_FALSE=
4096 # Check whether --enable-dssi or --disable-dssi was given.
4097 if test "${enable_dssi+set}" = set; then
4098 enableval="$enable_dssi"
4099 case "${enableval}" in
4100 yes) COMPILE_DSSI=yes ;;
4101 no) COMPILE_DSSI=no ;;
4102 *) COMPILE_DSSI=yes ;;
4106 for ac_header in dssi.h
4108 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
4109 if eval "test \"\${$as_ac_Header+set}\" = set"; then
4110 echo "$as_me:$LINENO: checking for $ac_header" >&5
4111 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
4112 if eval "test \"\${$as_ac_Header+set}\" = set"; then
4113 echo $ECHO_N "(cached) $ECHO_C" >&6
4115 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
4116 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
4118 # Is the header compilable?
4119 echo "$as_me:$LINENO: checking $ac_header usability" >&5
4120 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
4121 cat >conftest.$ac_ext <<_ACEOF
4124 cat confdefs.h >>conftest.$ac_ext
4125 cat >>conftest.$ac_ext <<_ACEOF
4126 /* end confdefs.h. */
4127 $ac_includes_default
4128 #include <$ac_header>
4130 rm -f conftest.$ac_objext
4131 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4132 (eval $ac_compile) 2>conftest.er1
4134 grep -v '^ *+' conftest.er1 >conftest.err
4136 cat conftest.err >&5
4137 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4138 (exit $ac_status); } &&
4139 { ac_try='test -z "$ac_c_werror_flag"
4140 || test ! -s conftest.err'
4141 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4144 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4145 (exit $ac_status); }; } &&
4146 { ac_try='test -s conftest.$ac_objext'
4147 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4150 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4151 (exit $ac_status); }; }; then
4152 ac_header_compiler=yes
4154 echo "$as_me: failed program was:" >&5
4155 sed 's/^/| /' conftest.$ac_ext >&5
4157 ac_header_compiler=no
4159 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
4160 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
4161 echo "${ECHO_T}$ac_header_compiler" >&6
4163 # Is the header present?
4164 echo "$as_me:$LINENO: checking $ac_header presence" >&5
4165 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
4166 cat >conftest.$ac_ext <<_ACEOF
4169 cat confdefs.h >>conftest.$ac_ext
4170 cat >>conftest.$ac_ext <<_ACEOF
4171 /* end confdefs.h. */
4172 #include <$ac_header>
4174 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
4175 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
4177 grep -v '^ *+' conftest.er1 >conftest.err
4179 cat conftest.err >&5
4180 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4181 (exit $ac_status); } >/dev/null; then
4182 if test -s conftest.err; then
4183 ac_cpp_err=$ac_c_preproc_warn_flag
4184 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
4191 if test -z "$ac_cpp_err"; then
4192 ac_header_preproc=yes
4194 echo "$as_me: failed program was:" >&5
4195 sed 's/^/| /' conftest.$ac_ext >&5
4197 ac_header_preproc=no
4199 rm -f conftest.err conftest.$ac_ext