2 # Guess values for system-dependent variables and create Makefiles.
3 # Generated by GNU Autoconf 2.59 for GNU Classpath 0.20-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.20-pre'
273 PACKAGE_STRING
='GNU Classpath 0.20-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 LIBVERSION CLASSPATH_MODULE 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_JNI_LIBRARIES_TRUE CREATE_JNI_LIBRARIES_FALSE CREATE_CORE_JNI_LIBRARIES_TRUE CREATE_CORE_JNI_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 GTK_CAIRO_ENABLED GTK_CAIRO_TRUE GTK_CAIRO_FALSE CREATE_QT_PEER_LIBRARIES_TRUE CREATE_QT_PEER_LIBRARIES_FALSE nativelibdir glibjdir CREATE_JNI_HEADERS_TRUE CREATE_JNI_HEADERS_FALSE LN_S RANLIB ac_ct_RANLIB LIBTOOL CXX CXXFLAGS ac_ct_CXX CXXDEPMODE am__fastdepCXX_TRUE am__fastdepCXX_FALSE CXXCPP 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 CAIRO_CFLAGS CAIRO_LIBS PANGOFT2_CFLAGS PANGOFT2_LIBS QT_CFLAGS QT_LIBS MOC USER_JAVAH USER_SPECIFIED_JAVAH_TRUE USER_SPECIFIED_JAVAH_FALSE CLASSPATH_INCLUDES GCJ JIKES JIKESENCODING 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 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 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.20-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.20-pre:";;
872 --disable-FEATURE do not include FEATURE
(same as
--enable-FEATURE=no
)
873 --enable-FEATURE[=ARG
] include FEATURE
[ARG
=yes]
874 --enable-jni compile JNI
source default
=yes
875 --enable-core-jni compile JNI sources
for core default
=yes
876 --enable-Werror whether to compile C code with
-Werror which turns
877 any compiler warning into a compilation failure
879 --enable-default-toolkit
880 fully qualified class name of default AWT toolkit
881 --enable-xmlj compile native libxml
/xslt library default
=no
882 --disable-alsa compile ALSA providers
(enable by
--enable-alsa)
884 --disable-dependency-tracking speeds up one-time build
885 --enable-dependency-tracking do not reject slow dependency extractors
886 --disable-dssi compile DSSI providers
(enable by
--enable-dssi)
888 --disable-gtk-peer compile GTK native peers
(disabled by
--disable-jni)
891 --enable-gtk-cairo build the cairo Graphics2D implementation on GTK
893 --enable-qt-peer compile Qt4 native peers
(disabled by
--disable-jni)
895 --enable-regen-headers automatically regenerate JNI headers default
=no
896 --enable-static=PKGS build static libraries default
=no
897 --enable-shared=PKGS build shared libraries default
=yes
898 --enable-fast-install=PKGS optimize
for fast installation default
=yes
899 --disable-libtool-lock avoid locking
(might
break parallel builds
)
900 --disable-rpath do not hardcode runtime library paths
901 --enable-maintainer-mode enable make rules and dependencies not useful
902 (and sometimes confusing
) to the casual installer
903 --enable-debug enable runtime debugging code
904 --enable-load-library enable to use JNI native methods default
=yes
905 --enable-java-lang-system-explicit-initialization
906 will the VM explicitly invoke java.lang.System
's
907 static initialization methods default=no
908 --enable-examples enable build of the examples default=yes
909 --enable-portable-native-sync
910 synchronize VM threads portably
913 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
914 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
915 --with-native-libdir sets the installation directore for native libraries
916 default='${libdir}/${PACKAGE}'
917 --with-glibj-dir sets the installation directory for glibj.zip
918 default='${libdir}/${PACKAGE}'
919 --with-gnu-ld assume the C compiler uses GNU ld default=no
920 --with-pic try to use only PIC/non-PIC objects default=use both
921 --with-libiconv-prefix[=DIR] search for libiconv in DIR/include and DIR/lib
922 --without-libiconv-prefix don't search
for libiconv
in includedir and libdir
923 --with-x use the X Window System
924 --with-qt4dir=DIR Qt4 installation directory used
for OS-X. For other
925 systems use pkg-config.
926 --with-javah specify path or name of a javah-like program
927 --with-gcj bytecode compilation with gcj
928 --with-jikes bytecode compilation with jikes
929 --with-kjc bytecode compilation with kjc
930 --with-gcjx bytecode compilation with gcjx
931 --with-ecj bytecode compilation with ecj
932 --with-classpath specify path to a classes.
zip like
file
933 --with-vm-classes specify path to VM override
source files
934 --with-glibj define what to
install (zip|flat|both|none|build
)
936 --with-gjdoc generate documentation using gjdoc
(default is NO
)
937 --with-jay Regenerate the parsers with jay must be given the
938 path to the jay executable
940 Some influential environment variables
:
941 CC C compiler
command
942 CFLAGS C compiler flags
943 LDFLAGS linker flags
, e.g.
-L<lib dir
> if you have libraries
in a
944 nonstandard directory
<lib dir
>
945 CPPFLAGS C
/C
++ preprocessor flags
, e.g.
-I<include dir
> if you have
946 headers
in a nonstandard directory
<include dir
>
948 CXX C
++ compiler
command
949 CXXFLAGS C
++ compiler flags
950 CXXCPP C
++ preprocessor
952 Use these variables to override the choices made by
`configure' or to help
953 it to find libraries and programs with nonstandard names/locations.
955 Report bugs to <classpath@gnu.org>.
959 if test "$ac_init_help" = "recursive"; then
960 # If there are subdirs, report their specific --help.
962 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
963 test -d $ac_dir || continue
966 if test "$ac_dir" != .; then
967 ac_dir_suffix=/`echo "$ac_dir" |
sed 's,^\.[\\/],,'`
968 # A "../" for each directory in $ac_dir_suffix.
969 ac_top_builddir=`echo "$ac_dir_suffix" |
sed 's,/[^\\/]*,../,g'`
971 ac_dir_suffix= ac_top_builddir=
975 .) # No --srcdir option. We are building in place.
977 if test -z "$ac_top_builddir"; then
980 ac_top_srcdir=`echo $ac_top_builddir |
sed 's,/$,,'`
982 [\\/]* | ?:[\\/]* ) # Absolute path.
983 ac_srcdir=$srcdir$ac_dir_suffix;
984 ac_top_srcdir=$srcdir ;;
986 ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
987 ac_top_srcdir=$ac_top_builddir$srcdir ;;
990 # Do not use `cd foo
&& pwd` to compute absolute paths, because
991 # the directories may not exist.
993 .) ac_abs_builddir="$ac_dir";;
996 .) ac_abs_builddir=`pwd`;;
997 [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";;
998 *) ac_abs_builddir=`pwd`/"$ac_dir";;
1001 case $ac_abs_builddir in
1002 .) ac_abs_top_builddir=${ac_top_builddir}.;;
1004 case ${ac_top_builddir}. in
1005 .) ac_abs_top_builddir=$ac_abs_builddir;;
1006 [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;;
1007 *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;;
1010 case $ac_abs_builddir in
1011 .) ac_abs_srcdir=$ac_srcdir;;
1014 .) ac_abs_srcdir=$ac_abs_builddir;;
1015 [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
1016 *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;;
1019 case $ac_abs_builddir in
1020 .) ac_abs_top_srcdir=$ac_top_srcdir;;
1022 case $ac_top_srcdir in
1023 .) ac_abs_top_srcdir=$ac_abs_builddir;;
1024 [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;;
1025 *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;;
1030 # Check for guested configure; otherwise get Cygnus style configure.
1031 if test -f $ac_srcdir/configure.gnu; then
1033 $SHELL $ac_srcdir/configure.gnu --help=recursive
1034 elif test -f $ac_srcdir/configure; then
1036 $SHELL $ac_srcdir/configure --help=recursive
1037 elif test -f $ac_srcdir/configure.ac ||
1038 test -f $ac_srcdir/configure.in; then
1040 $ac_configure --help
1042 echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1048 test -n "$ac_init_help" && exit 0
1049 if $ac_init_version; then
1051 GNU Classpath configure 0.20-pre
1052 generated by GNU Autoconf 2.59
1054 Copyright (C) 2003 Free Software Foundation, Inc.
1055 This configure script is free software; the Free Software Foundation
1056 gives unlimited permission to copy, distribute and modify it.
1062 This file contains any messages produced by compilers while
1063 running configure, to aid debugging if configure makes a mistake.
1065 It was created by GNU Classpath $as_me 0.20-pre, which was
1066 generated by GNU Autoconf 2.59. Invocation command line was
1077 hostname = `(hostname || uname
-n) 2>/dev
/null |
sed 1q
`
1078 uname -m = `(uname
-m) 2>/dev
/null ||
echo unknown
`
1079 uname -r = `(uname
-r) 2>/dev
/null ||
echo unknown
`
1080 uname -s = `(uname
-s) 2>/dev
/null ||
echo unknown
`
1081 uname -v = `(uname
-v) 2>/dev
/null ||
echo unknown
`
1083 /usr/bin/uname -p = `(/usr
/bin
/uname
-p) 2>/dev
/null ||
echo unknown
`
1084 /bin/uname -X = `(/bin
/uname
-X) 2>/dev
/null ||
echo unknown
`
1086 /bin/arch = `(/bin
/arch
) 2>/dev
/null ||
echo unknown
`
1087 /usr/bin/arch -k = `(/usr
/bin
/arch
-k) 2>/dev
/null ||
echo unknown
`
1088 /usr/convex/getsysinfo = `(/usr
/convex
/getsysinfo
) 2>/dev
/null ||
echo unknown
`
1089 hostinfo = `(hostinfo
) 2>/dev
/null ||
echo unknown
`
1090 /bin/machine = `(/bin
/machine
) 2>/dev
/null ||
echo unknown
`
1091 /usr/bin/oslevel = `(/usr
/bin
/oslevel
) 2>/dev
/null ||
echo unknown
`
1092 /bin/universe = `(/bin
/universe
) 2>/dev
/null ||
echo unknown
`
1096 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1100 test -z "$as_dir" && as_dir=.
1101 echo "PATH: $as_dir"
1116 # Keep a trace of the command line.
1117 # Strip out --no-create and --no-recursion so they do not pile up.
1118 # Strip out --silent because we don't want to record it for future runs.
1119 # Also quote any args containing shell meta-characters.
1120 # Make two passes to allow for proper duplicate-argument suppression.
1125 ac_must_keep_next=false
1131 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
1132 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1133 | -silent | --silent | --silen | --sile | --sil)
1135 *" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
1136 ac_arg=`echo "$ac_arg" |
sed "s/'/'\\\\\\\\''/g"` ;;
1139 1) ac_configure_args0="$ac_configure_args0 '$ac_arg'" ;;
1141 ac_configure_args1="$ac_configure_args1 '$ac_arg'"
1142 if test $ac_must_keep_next = true; then
1143 ac_must_keep_next=false # Got value, back to normal.
1146 *=* | --config-cache | -C | -disable-* | --disable-* \
1147 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
1148 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
1149 | -with-* | --with-* | -without-* | --without-* | --x)
1150 case "$ac_configure_args0 " in
1151 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
1154 -* ) ac_must_keep_next=true ;;
1157 ac_configure_args="$ac_configure_args$ac_sep'$ac_arg'"
1158 # Get rid of the leading space.
1164 $as_unset ac_configure_args0 || test "${ac_configure_args0+set}" != set || { ac_configure_args0=; export ac_configure_args0; }
1165 $as_unset ac_configure_args1 || test "${ac_configure_args1+set}" != set || { ac_configure_args1=; export ac_configure_args1; }
1167 # When interrupted or exit'd, cleanup temporary files, and complete
1168 # config.log. We remove comments because anyway the quotes in there
1169 # would cause problems or look ugly.
1170 # WARNING: Be sure not to use single quotes in there, as some shells,
1171 # such as our DU 5.0 friend, will then `close
' the trap.
1172 trap 'exit_status
=$?
1173 # Save into config.log some information that might help in debugging.
1178 ## ---------------- ##
1179 ## Cache variables. ##
1180 ## ---------------- ##
1183 # The following way of writing the cache mishandles newlines in values,
1186 case `(ac_space='"'"' '"'"'; set | grep ac_space) 2>&1` in
1189 "s/'"'"'/'"'"'\\\\'"'"''"'"'/g;
1190 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='"'"'\\2'"'"'/p"
1194 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
1201 ## ----------------- ##
1202 ## Output variables. ##
1203 ## ----------------- ##
1206 for ac_var
in $ac_subst_vars
1208 eval ac_val
=$
`echo $ac_var`
1209 echo "$ac_var='"'"'$ac_val'"'"'"
1213 if test -n "$ac_subst_files"; then
1220 for ac_var
in $ac_subst_files
1222 eval ac_val
=$
`echo $ac_var`
1223 echo "$ac_var='"'"'$ac_val'"'"'"
1228 if test -s confdefs.h
; then
1235 sed "/^$/d" confdefs.h |
sort
1238 test "$ac_signal" != 0 &&
1239 echo "$as_me: caught signal $ac_signal"
1240 echo "$as_me: exit $exit_status"
1242 rm -f core
*.core
&&
1243 rm -rf conftest
* confdefs
* conf$$
* $ac_clean_files &&
1246 for ac_signal in 1 2 13 15; do
1247 trap 'ac_signal
='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
1251 # confdefs.h avoids OS command line length limits that DEFS can exceed.
1252 rm -rf conftest* confdefs.h
1253 # AIX cpp loses on an empty file, so make sure it contains at least a newline.
1256 # Predefined preprocessor variables.
1258 cat >>confdefs.h <<_ACEOF
1259 #define PACKAGE_NAME "$PACKAGE_NAME"
1263 cat >>confdefs.h <<_ACEOF
1264 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
1268 cat >>confdefs.h <<_ACEOF
1269 #define PACKAGE_VERSION "$PACKAGE_VERSION"
1273 cat >>confdefs.h <<_ACEOF
1274 #define PACKAGE_STRING "$PACKAGE_STRING"
1278 cat >>confdefs.h <<_ACEOF
1279 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
1283 # Let the site file select an alternate cache file if it wants to.
1284 # Prefer explicitly selected file to automatically selected ones.
1285 if test -z "$CONFIG_SITE"; then
1286 if test "x$prefix" != xNONE; then
1287 CONFIG_SITE="$prefix/share/config.site $prefix/etc/config.site"
1289 CONFIG_SITE="$ac_default_prefix/share/config.site $ac_default_prefix/etc/config.site"
1292 for ac_site_file in $CONFIG_SITE; do
1293 if test -r "$ac_site_file"; then
1294 { echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
1295 echo "$as_me: loading site script $ac_site_file" >&6;}
1296 sed 's
/^
/|
/' "$ac_site_file" >&5
1301 if test -r "$cache_file"; then
1302 # Some versions of bash will fail to source /dev/null (special
1303 # files actually), so we avoid doing that.
1304 if test -f "$cache_file"; then
1305 { echo "$as_me:$LINENO: loading cache $cache_file" >&5
1306 echo "$as_me: loading cache $cache_file" >&6;}
1308 [\\/]* | ?:[\\/]* ) . $cache_file;;
1309 *) . ./$cache_file;;
1313 { echo "$as_me:$LINENO: creating cache $cache_file" >&5
1314 echo "$as_me: creating cache $cache_file" >&6;}
1318 # Check that the precious variables saved in the cache have kept the same
1320 ac_cache_corrupted=false
1321 for ac_var in `(set) 2>&1 |
1322 sed -n 's
/^ac_env_\
([a-zA-Z_0-9
]*\
)_set
=.
*/\
1/p
'`; do
1323 eval ac_old_set=\$ac_cv_env_${ac_var}_set
1324 eval ac_new_set=\$ac_env_${ac_var}_set
1325 eval ac_old_val="\$ac_cv_env_${ac_var}_value"
1326 eval ac_new_val="\$ac_env_${ac_var}_value"
1327 case $ac_old_set,$ac_new_set in
1329 { echo "$as_me:$LINENO: error: \`$ac_var' was
set to \
`$ac_old_val' in the previous run" >&5
1330 echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run
" >&2;}
1331 ac_cache_corrupted=: ;;
1333 { echo "$as_me:$LINENO: error
: \
`$ac_var' was not set in the previous run" >&5
1334 echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
1335 ac_cache_corrupted=: ;;
1338 if test "x$ac_old_val" != "x$ac_new_val"; then
1339 { echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run
:" >&5
1340 echo "$as_me: error
: \
`$ac_var' has changed since the previous run:" >&2;}
1341 { echo "$as_me:$LINENO: former value: $ac_old_val" >&5
1342 echo "$as_me: former value: $ac_old_val" >&2;}
1343 { echo "$as_me:$LINENO: current value: $ac_new_val" >&5
1344 echo "$as_me: current value: $ac_new_val" >&2;}
1345 ac_cache_corrupted=:
1348 # Pass precious variables to config.status.
1349 if test "$ac_new_set" = set; then
1351 *" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
1352 ac_arg=$ac_var=`echo "$ac_new_val" |
sed "s/'/'\\\\\\\\''/g"` ;;
1353 *) ac_arg=$ac_var=$ac_new_val ;;
1355 case " $ac_configure_args " in
1356 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
1357 *) ac_configure_args="$ac_configure_args '$ac_arg'" ;;
1361 if $ac_cache_corrupted; then
1362 { echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5
1363 echo "$as_me: error: changes in the environment can compromise the build" >&2;}
1364 { { echo "$as_me:$LINENO: error: run \`make distclean
' and/or \`rm $cache_file' and start over
" >&5
1365 echo "$as_me: error
: run \
`make distclean' and/or \`rm $cache_file' and start over" >&2;}
1366 { (exit 1); exit 1; }; }
1370 ac_cpp='$CPP $CPPFLAGS'
1371 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
1372 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
1373 ac_compiler_gnu=$ac_cv_c_compiler_gnu
1404 for ac_dir in $srcdir $srcdir/.. $srcdir/../..; do
1405 if test -f $ac_dir/install-sh; then
1407 ac_install_sh="$ac_aux_dir/install-sh -c"
1409 elif test -f $ac_dir/install.sh; then
1411 ac_install_sh="$ac_aux_dir/install.sh -c"
1413 elif test -f $ac_dir/shtool; then
1415 ac_install_sh="$ac_aux_dir/shtool install -c"
1419 if test -z "$ac_aux_dir"; then
1420 { { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." >&5
1421 echo "$as_me: error: cannot find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." >&2;}
1422 { (exit 1); exit 1; }; }
1424 ac_config_guess="$SHELL $ac_aux_dir/config.guess"
1425 ac_config_sub="$SHELL $ac_aux_dir/config.sub"
1426 ac_configure="$SHELL $ac_aux_dir/configure" # This should be Cygnus configure.
1428 # Make sure we can run config.sub.
1429 $ac_config_sub sun4 >/dev/null 2>&1 ||
1430 { { echo "$as_me:$LINENO: error: cannot run $ac_config_sub" >&5
1431 echo "$as_me: error: cannot run $ac_config_sub" >&2;}
1432 { (exit 1); exit 1; }; }
1434 echo "$as_me:$LINENO: checking build system type" >&5
1435 echo $ECHO_N "checking build system type... $ECHO_C" >&6
1436 if test "${ac_cv_build+set}" = set; then
1437 echo $ECHO_N "(cached) $ECHO_C" >&6
1439 ac_cv_build_alias=$build_alias
1440 test -z "$ac_cv_build_alias" &&
1441 ac_cv_build_alias=`$ac_config_guess`
1442 test -z "$ac_cv_build_alias" &&
1443 { { echo "$as_me:$LINENO: error: cannot guess build type; you must specify one" >&5
1444 echo "$as_me: error: cannot guess build type; you must specify one" >&2;}
1445 { (exit 1); exit 1; }; }
1446 ac_cv_build=`$ac_config_sub $ac_cv_build_alias` ||
1447 { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_build_alias failed" >&5
1448 echo "$as_me: error: $ac_config_sub $ac_cv_build_alias failed" >&2;}
1449 { (exit 1); exit 1; }; }
1452 echo "$as_me:$LINENO: result: $ac_cv_build" >&5
1453 echo "${ECHO_T}$ac_cv_build" >&6
1455 build_cpu=`echo $ac_cv_build | sed 's
/^\
([^
-]*\
)-\
([^
-]*\
)-\
(.
*\
)$
/\
1/'`
1456 build_vendor=`echo $ac_cv_build | sed 's
/^\
([^
-]*\
)-\
([^
-]*\
)-\
(.
*\
)$
/\
2/'`
1457 build_os=`echo $ac_cv_build | sed 's
/^\
([^
-]*\
)-\
([^
-]*\
)-\
(.
*\
)$
/\
3/'`
1460 echo "$as_me:$LINENO: checking host system type" >&5
1461 echo $ECHO_N "checking host system type... $ECHO_C" >&6
1462 if test "${ac_cv_host+set}" = set; then
1463 echo $ECHO_N "(cached) $ECHO_C" >&6
1465 ac_cv_host_alias=$host_alias
1466 test -z "$ac_cv_host_alias" &&
1467 ac_cv_host_alias=$ac_cv_build_alias
1468 ac_cv_host=`$ac_config_sub $ac_cv_host_alias` ||
1469 { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_host_alias failed" >&5
1470 echo "$as_me: error: $ac_config_sub $ac_cv_host_alias failed" >&2;}
1471 { (exit 1); exit 1; }; }
1474 echo "$as_me:$LINENO: result: $ac_cv_host" >&5
1475 echo "${ECHO_T}$ac_cv_host" >&6
1477 host_cpu=`echo $ac_cv_host | sed 's
/^\
([^
-]*\
)-\
([^
-]*\
)-\
(.
*\
)$
/\
1/'`
1478 host_vendor=`echo $ac_cv_host | sed 's
/^\
([^
-]*\
)-\
([^
-]*\
)-\
(.
*\
)$
/\
2/'`
1479 host_os=`echo $ac_cv_host | sed 's
/^\
([^
-]*\
)-\
([^
-]*\
)-\
(.
*\
)$
/\
3/'`
1482 echo "$as_me:$LINENO: checking target system type" >&5
1483 echo $ECHO_N "checking target system type... $ECHO_C" >&6
1484 if test "${ac_cv_target+set}" = set; then
1485 echo $ECHO_N "(cached) $ECHO_C" >&6
1487 ac_cv_target_alias=$target_alias
1488 test "x$ac_cv_target_alias" = "x" &&
1489 ac_cv_target_alias=$ac_cv_host_alias
1490 ac_cv_target=`$ac_config_sub $ac_cv_target_alias` ||
1491 { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_target_alias failed" >&5
1492 echo "$as_me: error: $ac_config_sub $ac_cv_target_alias failed" >&2;}
1493 { (exit 1); exit 1; }; }
1496 echo "$as_me:$LINENO: result: $ac_cv_target" >&5
1497 echo "${ECHO_T}$ac_cv_target" >&6
1498 target=$ac_cv_target
1499 target_cpu=`echo $ac_cv_target | sed 's
/^\
([^
-]*\
)-\
([^
-]*\
)-\
(.
*\
)$
/\
1/'`
1500 target_vendor=`echo $ac_cv_target | sed 's
/^\
([^
-]*\
)-\
([^
-]*\
)-\
(.
*\
)$
/\
2/'`
1501 target_os=`echo $ac_cv_target | sed 's
/^\
([^
-]*\
)-\
([^
-]*\
)-\
(.
*\
)$
/\
3/'`
1504 # The aliases save the names the user supplied, while $host etc.
1505 # will get canonicalized.
1506 test -n "$target_alias" &&
1507 test "$program_prefix$program_suffix$program_transform_name" = \
1509 program_prefix=${target_alias}-
1511 if expr ${target_cpu} : '.
*86' > /dev/null; then target_cpu=x86; fi
1524 CLASSPATH_MODULE="${cp_module} -version-info ${LIBVERSION} -no-undefined"
1528 am__api_version="1.9"
1529 # Find a good install program. We prefer a C program (faster),
1530 # so one script is as good as another. But avoid the broken or
1531 # incompatible versions:
1532 # SysV /etc/install, /usr/sbin/install
1533 # SunOS /usr/etc/install
1534 # IRIX /sbin/install
1536 # AmigaOS /C/install, which installs bootblocks on floppy discs
1537 # AIX 4 /usr/bin/installbsd, which doesn't work without a
-g flag
1538 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
1539 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
1540 # OS/2's system install, which has a completely different semantic
1541 # ./install, which can be erroneously created by make from ./install.sh.
1542 echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
1543 echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6
1544 if test -z "$INSTALL"; then
1545 if test "${ac_cv_path_install+set}" = set; then
1546 echo $ECHO_N "(cached) $ECHO_C" >&6
1548 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
1552 test -z "$as_dir" && as_dir
=.
1553 # Account for people who put trailing slashes in PATH elements.
1555 .
/ | .
// |
/cC
/* | \
1556 /etc
/* |
/usr
/sbin
/* |
/usr
/etc
/* |
/sbin
/* |
/usr
/afsws
/bin
/* | \
1557 ?
:\\/os2
\\/install\\/* | ?
:\\/OS2
\\/INSTALL
\\/* | \
1560 # OSF1 and SCO ODT 3.0 have their own names for install.
1561 # Don't use installbsd from OSF since it installs stuff as root
1563 for ac_prog
in ginstall scoinst
install; do
1564 for ac_exec_ext
in '' $ac_executable_extensions; do
1565 if $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
1566 if test $ac_prog = install &&
1567 grep dspmsg
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
1568 # AIX install. It has an incompatible calling convention.
1570 elif test $ac_prog = install &&
1571 grep pwplus
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
1572 # program-specific install script used by HP pwplus--don't use.
1575 ac_cv_path_install
="$as_dir/$ac_prog$ac_exec_ext -c"
1587 if test "${ac_cv_path_install+set}" = set; then
1588 INSTALL
=$ac_cv_path_install
1590 # As a last resort, use the slow shell script. We don't cache a
1591 # path for INSTALL within a source directory, because that will
1592 # break other packages using the cache if that directory is
1593 # removed, or if the path is relative.
1594 INSTALL
=$ac_install_sh
1597 echo "$as_me:$LINENO: result: $INSTALL" >&5
1598 echo "${ECHO_T}$INSTALL" >&6
1600 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
1601 # It thinks the first close brace ends the variable substitution.
1602 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM
='${INSTALL}'
1604 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT
='${INSTALL}'
1606 test -z "$INSTALL_DATA" && INSTALL_DATA
='${INSTALL} -m 644'
1608 echo "$as_me:$LINENO: checking whether build environment is sane" >&5
1609 echo $ECHO_N "checking whether build environment is sane... $ECHO_C" >&6
1612 echo timestamp
> conftest.
file
1613 # Do `set' in a subshell so we don't clobber the current shell's
1614 # arguments. Must try -L first in case configure is actually a
1615 # symlink; some systems play weird games with the mod time of symlinks
1616 # (eg FreeBSD returns the mod time of the symlink's containing
1619 set X
`ls -Lt $srcdir/configure conftest.file 2> /dev/null`
1620 if test "$*" = "X"; then
1622 set X
`ls -t $srcdir/configure conftest.file`
1625 if test "$*" != "X $srcdir/configure conftest.file" \
1626 && test "$*" != "X conftest.file $srcdir/configure"; then
1628 # If neither matched, then we have a broken ls. This can happen
1629 # if, for instance, CONFIG_SHELL is bash and it inherits a
1630 # broken ls alias from the environment. This has actually
1631 # happened. Such a system could not be considered "sane".
1632 { { echo "$as_me:$LINENO: error: ls -t appears to fail. Make sure there is not a broken
1633 alias in your environment" >&5
1634 echo "$as_me: error: ls -t appears to fail. Make sure there is not a broken
1635 alias in your environment" >&2;}
1636 { (exit 1); exit 1; }; }
1639 test "$2" = conftest.
file
1645 { { echo "$as_me:$LINENO: error: newly created file is older than distributed files!
1646 Check your system clock" >&5
1647 echo "$as_me: error: newly created file is older than distributed files!
1648 Check your system clock" >&2;}
1649 { (exit 1); exit 1; }; }
1651 echo "$as_me:$LINENO: result: yes" >&5
1652 echo "${ECHO_T}yes" >&6
1653 test "$program_prefix" != NONE
&&
1654 program_transform_name
="s,^,$program_prefix,;$program_transform_name"
1655 # Use a double $ so make ignores it.
1656 test "$program_suffix" != NONE
&&
1657 program_transform_name
="s,\$,$program_suffix,;$program_transform_name"
1658 # Double any \ or $. echo might interpret backslashes.
1659 # By default was `s,x,x', remove it if useless.
1660 cat <<\_ACEOF
>conftest.
sed
1661 s
/[\\$
]/&&/g
;s
/;s
,x
,x
,$
//
1663 program_transform_name
=`echo $program_transform_name | sed -f conftest.sed`
1666 # expand $ac_aux_dir to an absolute path
1667 am_aux_dir
=`cd $ac_aux_dir && pwd`
1669 test x
"${MISSING+set}" = xset || MISSING
="\${SHELL} $am_aux_dir/missing"
1670 # Use eval to expand $SHELL
1671 if eval "$MISSING --run true"; then
1672 am_missing_run
="$MISSING --run "
1675 { echo "$as_me:$LINENO: WARNING: \`missing' script is too old or missing" >&5
1676 echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;}
1679 if mkdir
-p --version .
>/dev
/null
2>&1 && test ! -d .
/--version; then
1680 # We used to keeping the `.' as first argument, in order to
1681 # allow $(mkdir_p) to be used without argument. As in
1682 # $(mkdir_p) $(somedir)
1683 # where $(somedir) is conditionally defined. However this is wrong
1685 # 1. if the package is installed by a user who cannot write `.'
1686 # make install will fail,
1687 # 2. the above comment should most certainly read
1688 # $(mkdir_p) $(DESTDIR)$(somedir)
1689 # so it does not work when $(somedir) is undefined and
1690 # $(DESTDIR) is not.
1691 # To support the latter case, we have to write
1692 # test -z "$(somedir)" || $(mkdir_p) $(DESTDIR)$(somedir),
1693 # so the `.' trick is pointless.
1694 mkdir_p
='mkdir -p --'
1696 # On NextStep and OpenStep, the `mkdir' command does not
1697 # recognize any option. It will interpret all options as
1698 # directories to create, and then abort because `.' already
1700 for d
in .
/-p .
/--version;
1702 test -d $d && rmdir $d
1704 # $(mkinstalldirs) is defined by Automake if mkinstalldirs exists.
1705 if test -f "$ac_aux_dir/mkinstalldirs"; then
1706 mkdir_p
='$(mkinstalldirs)'
1708 mkdir_p
='$(install_sh) -d'
1712 for ac_prog
in gawk mawk nawk
awk
1714 # Extract the first word of "$ac_prog", so it can be a program name with args.
1715 set dummy
$ac_prog; ac_word
=$2
1716 echo "$as_me:$LINENO: checking for $ac_word" >&5
1717 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1718 if test "${ac_cv_prog_AWK+set}" = set; then
1719 echo $ECHO_N "(cached) $ECHO_C" >&6
1721 if test -n "$AWK"; then
1722 ac_cv_prog_AWK
="$AWK" # Let the user override the test.
1724 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
1728 test -z "$as_dir" && as_dir
=.
1729 for ac_exec_ext
in '' $ac_executable_extensions; do
1730 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1731 ac_cv_prog_AWK
="$ac_prog"
1732 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1741 if test -n "$AWK"; then
1742 echo "$as_me:$LINENO: result: $AWK" >&5
1743 echo "${ECHO_T}$AWK" >&6
1745 echo "$as_me:$LINENO: result: no" >&5
1746 echo "${ECHO_T}no" >&6
1749 test -n "$AWK" && break
1752 echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
1753 echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6
1754 set dummy
${MAKE-make}; ac_make
=`echo "$2" | sed 'y,:./+-,___p_,'`
1755 if eval "test \"\${ac_cv_prog_make_${ac_make}_set+set}\" = set"; then
1756 echo $ECHO_N "(cached) $ECHO_C" >&6
1758 cat >conftest.
make <<\_ACEOF
1760 @
echo 'ac_maketemp="$(MAKE)"'
1762 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
1763 eval `${MAKE-make} -f conftest.make 2>/dev/null | grep temp=`
1764 if test -n "$ac_maketemp"; then
1765 eval ac_cv_prog_make_
${ac_make}_set
=yes
1767 eval ac_cv_prog_make_
${ac_make}_set
=no
1771 if eval "test \"`echo '$ac_cv_prog_make_'${ac_make}_set`\" = yes"; then
1772 echo "$as_me:$LINENO: result: yes" >&5
1773 echo "${ECHO_T}yes" >&6
1776 echo "$as_me:$LINENO: result: no" >&5
1777 echo "${ECHO_T}no" >&6
1778 SET_MAKE
="MAKE=${MAKE-make}"
1781 rm -rf .tst
2>/dev
/null
1782 mkdir .tst
2>/dev
/null
1783 if test -d .tst
; then
1788 rmdir .tst
2>/dev
/null
1790 # test to see if srcdir already configured
1791 if test "`cd $srcdir && pwd`" != "`pwd`" &&
1792 test -f $srcdir/config.status
; then
1793 { { echo "$as_me:$LINENO: error: source directory already configured; run \"make distclean\" there first" >&5
1794 echo "$as_me: error: source directory already configured; run \"make distclean\" there first" >&2;}
1795 { (exit 1); exit 1; }; }
1798 # test whether we have cygpath
1799 if test -z "$CYGPATH_W"; then
1800 if (cygpath
--version) >/dev
/null
2>/dev
/null
; then
1801 CYGPATH_W
='cygpath -w'
1808 # Define the identity of the package.
1813 cat >>confdefs.h
<<_ACEOF
1814 #define PACKAGE "$PACKAGE"
1818 cat >>confdefs.h
<<_ACEOF
1819 #define VERSION "$VERSION"
1822 # Some tools Automake needs.
1824 ACLOCAL
=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
1827 AUTOCONF
=${AUTOCONF-"${am_missing_run}autoconf"}
1830 AUTOMAKE
=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
1833 AUTOHEADER
=${AUTOHEADER-"${am_missing_run}autoheader"}
1836 MAKEINFO
=${MAKEINFO-"${am_missing_run}makeinfo"}
1838 install_sh
=${install_sh-"$am_aux_dir/install-sh"}
1840 # Installed binaries are usually stripped using `strip' when the user
1841 # run `make install-strip'. However `strip' might not be the right
1842 # tool to use in cross-compilation environments, therefore Automake
1843 # will honor the `STRIP' environment variable to overrule this program.
1844 if test "$cross_compiling" != no
; then
1845 if test -n "$ac_tool_prefix"; then
1846 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
1847 set dummy
${ac_tool_prefix}strip
; ac_word
=$2
1848 echo "$as_me:$LINENO: checking for $ac_word" >&5
1849 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1850 if test "${ac_cv_prog_STRIP+set}" = set; then
1851 echo $ECHO_N "(cached) $ECHO_C" >&6
1853 if test -n "$STRIP"; then
1854 ac_cv_prog_STRIP
="$STRIP" # Let the user override the test.
1856 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
1860 test -z "$as_dir" && as_dir
=.
1861 for ac_exec_ext
in '' $ac_executable_extensions; do
1862 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1863 ac_cv_prog_STRIP
="${ac_tool_prefix}strip"
1864 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1872 STRIP
=$ac_cv_prog_STRIP
1873 if test -n "$STRIP"; then
1874 echo "$as_me:$LINENO: result: $STRIP" >&5
1875 echo "${ECHO_T}$STRIP" >&6
1877 echo "$as_me:$LINENO: result: no" >&5
1878 echo "${ECHO_T}no" >&6
1882 if test -z "$ac_cv_prog_STRIP"; then
1884 # Extract the first word of "strip", so it can be a program name with args.
1885 set dummy strip
; ac_word
=$2
1886 echo "$as_me:$LINENO: checking for $ac_word" >&5
1887 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1888 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
1889 echo $ECHO_N "(cached) $ECHO_C" >&6
1891 if test -n "$ac_ct_STRIP"; then
1892 ac_cv_prog_ac_ct_STRIP
="$ac_ct_STRIP" # Let the user override the test.
1894 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
1898 test -z "$as_dir" && as_dir
=.
1899 for ac_exec_ext
in '' $ac_executable_extensions; do
1900 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1901 ac_cv_prog_ac_ct_STRIP
="strip"
1902 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1908 test -z "$ac_cv_prog_ac_ct_STRIP" && ac_cv_prog_ac_ct_STRIP
=":"
1911 ac_ct_STRIP
=$ac_cv_prog_ac_ct_STRIP
1912 if test -n "$ac_ct_STRIP"; then
1913 echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
1914 echo "${ECHO_T}$ac_ct_STRIP" >&6
1916 echo "$as_me:$LINENO: result: no" >&5
1917 echo "${ECHO_T}no" >&6
1922 STRIP
="$ac_cv_prog_STRIP"
1926 INSTALL_STRIP_PROGRAM
="\${SHELL} \$(install_sh) -c -s"
1928 # We need awk for the "check" target. The system "awk" is bad on
1930 # Always define AMTAR for backward compatibility.
1932 AMTAR
=${AMTAR-"${am_missing_run}tar"}
1935 echo "$as_me:$LINENO: checking how to create a ustar tar archive" >&5
1936 echo $ECHO_N "checking how to create a ustar tar archive... $ECHO_C" >&6
1937 # Loop over all known methods to create a tar archive until one works.
1938 _am_tools
='gnutar plaintar pax cpio none'
1939 _am_tools
=${am_cv_prog_tar_ustar-$_am_tools}
1940 # Do not fold the above two line into one, because Tru64 sh and
1941 # Solaris sh will not grok spaces in the rhs of `-'.
1942 for _am_tool
in $_am_tools
1946 for _am_tar
in tar gnutar gtar
;
1948 { echo "$as_me:$LINENO: $_am_tar --version" >&5
1949 ($_am_tar --version) >&5 2>&5
1951 echo "$as_me:$LINENO: \$? = $ac_status" >&5
1952 (exit $ac_status); } && break
1954 am__tar
="$_am_tar --format=ustar -chf - "'"$$tardir"'
1955 am__tar_
="$_am_tar --format=ustar -chf - "'"$tardir"'
1956 am__untar
="$_am_tar -xf -"
1959 # Must skip GNU tar: if it does not support --format= it doesn't create
1960 # ustar tarball either.
1961 (tar --version) >/dev
/null
2>&1 && continue
1962 am__tar
='tar chf - "$$tardir"'
1963 am__tar_
='tar chf - "$tardir"'
1964 am__untar
='tar xf -'
1967 am__tar
='pax -L -x ustar -w "$$tardir"'
1968 am__tar_
='pax -L -x ustar -w "$tardir"'
1972 am__tar
='find "$$tardir" -print | cpio -o -H ustar -L'
1973 am__tar_
='find "$tardir" -print | cpio -o -H ustar -L'
1974 am__untar
='cpio -i -H ustar -d'
1983 # If the value was cached, stop now. We just wanted to have am__tar
1984 # and am__untar set.
1985 test -n "${am_cv_prog_tar_ustar}" && break
1987 # tar/untar a dummy directory, and stop if the command works
1990 echo GrepMe
> conftest.dir
/file
1991 { echo "$as_me:$LINENO: tardir=conftest.dir && eval $am__tar_ >conftest.tar" >&5
1992 (tardir
=conftest.dir
&& eval $am__tar_ >conftest.
tar) >&5 2>&5
1994 echo "$as_me:$LINENO: \$? = $ac_status" >&5
1995 (exit $ac_status); }
1997 if test -s conftest.
tar; then
1998 { echo "$as_me:$LINENO: $am__untar <conftest.tar" >&5
1999 ($am__untar <conftest.
tar) >&5 2>&5
2001 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2002 (exit $ac_status); }
2003 grep GrepMe conftest.dir
/file >/dev
/null
2>&1 && break
2008 if test "${am_cv_prog_tar_ustar+set}" = set; then
2009 echo $ECHO_N "(cached) $ECHO_C" >&6
2011 am_cv_prog_tar_ustar
=$_am_tool
2014 echo "$as_me:$LINENO: result: $am_cv_prog_tar_ustar" >&5
2015 echo "${ECHO_T}$am_cv_prog_tar_ustar" >&6
2021 ac_config_headers
="$ac_config_headers include/config.h"
2025 # Check whether --enable-jni or --disable-jni was given.
2026 if test "${enable_jni+set}" = set; then
2027 enableval
="$enable_jni"
2028 case "${enableval}" in
2029 yes) COMPILE_JNI
=yes; COMPILE_JAVA
=yes ;;
2030 no
) COMPILE_JNI
=no
;;
2031 *) COMPILE_JNI
=yes; COMPILE_JAVA
=yes ;;
2038 if test "x${COMPILE_JNI}" = xyes
; then
2039 CREATE_JNI_LIBRARIES_TRUE
=
2040 CREATE_JNI_LIBRARIES_FALSE
='#'
2042 CREATE_JNI_LIBRARIES_TRUE
='#'
2043 CREATE_JNI_LIBRARIES_FALSE
=
2047 # Check whether --enable-core-jni or --disable-core-jni was given.
2048 if test "${enable_core_jni+set}" = set; then
2049 enableval
="$enable_core_jni"
2050 case "${enableval}" in
2051 yes) COMPILE_CORE_JNI
=yes; COMPILE_JAVA
=yes ;;
2052 no
) COMPILE_CORE_JNI
=no
;;
2053 *) COMPILE_CORE_JNI
=yes; COMPILE_JAVA
=yes ;;
2056 COMPILE_CORE_JNI
=yes
2060 if test "x${COMPILE_CORE_JNI}" = xyes
; then
2061 CREATE_CORE_JNI_LIBRARIES_TRUE
=
2062 CREATE_CORE_JNI_LIBRARIES_FALSE
='#'
2064 CREATE_CORE_JNI_LIBRARIES_TRUE
='#'
2065 CREATE_CORE_JNI_LIBRARIES_FALSE
=
2069 # Check whether --enable-Werror or --disable-Werror was given.
2070 if test "${enable_Werror+set}" = set; then
2071 enableval
="$enable_Werror"
2072 case "${enableval}" in
2073 yes) ENABLE_WERROR
=yes ;;
2074 no
) ENABLE_WERROR
=no
;;
2075 *) ENABLE_WERROR
=no
;;
2081 # Check whether --enable-default-toolkit or --disable-default-toolkit was given.
2082 if test "${enable_default_toolkit+set}" = set; then
2083 enableval
="$enable_default_toolkit"
2086 default_toolkit
=$enable_default_toolkit
2087 if test "$default_toolkit" = ""; then
2088 default_toolkit
=gnu.java.awt.peer.gtk.GtkToolkit
2092 # Check whether --enable-xmlj or --disable-xmlj was given.
2093 if test "${enable_xmlj+set}" = set; then
2094 enableval
="$enable_xmlj"
2095 case "${enableval}" in
2096 yes) COMPILE_XMLJ
=yes ;;
2097 no
) COMPILE_XMLJ
=no
;;
2098 *) COMPILE_XMLJ
=no
;;
2105 if test "x${COMPILE_XMLJ}" = xyes
; then
2106 CREATE_XMLJ_LIBRARY_TRUE
=
2107 CREATE_XMLJ_LIBRARY_FALSE
='#'
2109 CREATE_XMLJ_LIBRARY_TRUE
='#'
2110 CREATE_XMLJ_LIBRARY_FALSE
=
2114 DEPDIR
="${am__leading_dot}deps"
2116 ac_config_commands
="$ac_config_commands depfiles"
2119 am_make
=${MAKE-make}
2120 cat > confinc
<< 'END'
2125 # If we don't find an include directive, just comment out the code.
2126 echo "$as_me:$LINENO: checking for style of include used by $am_make" >&5
2127 echo $ECHO_N "checking for style of include used by $am_make... $ECHO_C" >&6
2131 # First try GNU make style include.
2132 echo "include confinc" > confmf
2133 # We grep out `Entering directory' and `Leaving directory'
2134 # messages which can occur if `w' ends up in MAKEFLAGS.
2135 # In particular we don't look at `^make:' because GNU make might
2136 # be invoked under some other name (usually "gmake"), in which
2137 # case it prints its new name instead of `make'.
2138 if test "`$am_make -s -f confmf 2> /dev/null | grep -v 'ing directory'`" = "done"; then
2143 # Now try BSD make style include.
2144 if test "$am__include" = "#"; then
2145 echo '.include "confinc"' > confmf
2146 if test "`$am_make -s -f confmf 2> /dev/null`" = "done"; then
2147 am__include
=.include
2154 echo "$as_me:$LINENO: result: $_am_result" >&5
2155 echo "${ECHO_T}$_am_result" >&6
2156 rm -f confinc confmf
2158 # Check whether --enable-dependency-tracking or --disable-dependency-tracking was given.
2159 if test "${enable_dependency_tracking+set}" = set; then
2160 enableval
="$enable_dependency_tracking"
2163 if test "x$enable_dependency_tracking" != xno
; then
2164 am_depcomp
="$ac_aux_dir/depcomp"
2169 if test "x$enable_dependency_tracking" != xno; then
2180 ac_cpp
='$CPP $CPPFLAGS'
2181 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2182 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2183 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
2184 if test -n "$ac_tool_prefix"; then
2185 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
2186 set dummy
${ac_tool_prefix}gcc
; ac_word
=$2
2187 echo "$as_me:$LINENO: checking for $ac_word" >&5
2188 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2189 if test "${ac_cv_prog_CC+set}" = set; then
2190 echo $ECHO_N "(cached) $ECHO_C" >&6
2192 if test -n "$CC"; then
2193 ac_cv_prog_CC
="$CC" # Let the user override the test.
2195 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2199 test -z "$as_dir" && as_dir
=.
2200 for ac_exec_ext
in '' $ac_executable_extensions; do
2201 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2202 ac_cv_prog_CC
="${ac_tool_prefix}gcc"
2203 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2212 if test -n "$CC"; then
2213 echo "$as_me:$LINENO: result: $CC" >&5
2214 echo "${ECHO_T}$CC" >&6
2216 echo "$as_me:$LINENO: result: no" >&5
2217 echo "${ECHO_T}no" >&6
2221 if test -z "$ac_cv_prog_CC"; then
2223 # Extract the first word of "gcc", so it can be a program name with args.
2224 set dummy gcc
; ac_word
=$2
2225 echo "$as_me:$LINENO: checking for $ac_word" >&5
2226 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2227 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
2228 echo $ECHO_N "(cached) $ECHO_C" >&6
2230 if test -n "$ac_ct_CC"; then
2231 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
2233 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2237 test -z "$as_dir" && as_dir
=.
2238 for ac_exec_ext
in '' $ac_executable_extensions; do
2239 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2240 ac_cv_prog_ac_ct_CC
="gcc"
2241 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2249 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
2250 if test -n "$ac_ct_CC"; then
2251 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
2252 echo "${ECHO_T}$ac_ct_CC" >&6
2254 echo "$as_me:$LINENO: result: no" >&5
2255 echo "${ECHO_T}no" >&6
2263 if test -z "$CC"; then
2264 if test -n "$ac_tool_prefix"; then
2265 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
2266 set dummy
${ac_tool_prefix}cc
; ac_word
=$2
2267 echo "$as_me:$LINENO: checking for $ac_word" >&5
2268 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2269 if test "${ac_cv_prog_CC+set}" = set; then
2270 echo $ECHO_N "(cached) $ECHO_C" >&6
2272 if test -n "$CC"; then
2273 ac_cv_prog_CC
="$CC" # Let the user override the test.
2275 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2279 test -z "$as_dir" && as_dir
=.
2280 for ac_exec_ext
in '' $ac_executable_extensions; do
2281 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2282 ac_cv_prog_CC
="${ac_tool_prefix}cc"
2283 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2292 if test -n "$CC"; then
2293 echo "$as_me:$LINENO: result: $CC" >&5
2294 echo "${ECHO_T}$CC" >&6
2296 echo "$as_me:$LINENO: result: no" >&5
2297 echo "${ECHO_T}no" >&6
2301 if test -z "$ac_cv_prog_CC"; then
2303 # Extract the first word of "cc", so it can be a program name with args.
2304 set dummy cc
; ac_word
=$2
2305 echo "$as_me:$LINENO: checking for $ac_word" >&5
2306 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2307 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
2308 echo $ECHO_N "(cached) $ECHO_C" >&6
2310 if test -n "$ac_ct_CC"; then
2311 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
2313 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2317 test -z "$as_dir" && as_dir
=.
2318 for ac_exec_ext
in '' $ac_executable_extensions; do
2319 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2320 ac_cv_prog_ac_ct_CC
="cc"
2321 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2329 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
2330 if test -n "$ac_ct_CC"; then
2331 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
2332 echo "${ECHO_T}$ac_ct_CC" >&6
2334 echo "$as_me:$LINENO: result: no" >&5
2335 echo "${ECHO_T}no" >&6
2344 if test -z "$CC"; then
2345 # Extract the first word of "cc", so it can be a program name with args.
2346 set dummy cc
; ac_word
=$2
2347 echo "$as_me:$LINENO: checking for $ac_word" >&5
2348 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2349 if test "${ac_cv_prog_CC+set}" = set; then
2350 echo $ECHO_N "(cached) $ECHO_C" >&6
2352 if test -n "$CC"; then
2353 ac_cv_prog_CC
="$CC" # Let the user override the test.
2356 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2360 test -z "$as_dir" && as_dir
=.
2361 for ac_exec_ext
in '' $ac_executable_extensions; do
2362 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2363 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
2364 ac_prog_rejected
=yes
2368 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2374 if test $ac_prog_rejected = yes; then
2375 # We found a bogon in the path, so make sure we never use it.
2376 set dummy
$ac_cv_prog_CC
2378 if test $# != 0; then
2379 # We chose a different compiler from the bogus one.
2380 # However, it has the same basename, so the bogon will be chosen
2381 # first if we set CC to just the basename; use the full file name.
2383 ac_cv_prog_CC
="$as_dir/$ac_word${1+' '}$@"
2389 if test -n "$CC"; then
2390 echo "$as_me:$LINENO: result: $CC" >&5
2391 echo "${ECHO_T}$CC" >&6
2393 echo "$as_me:$LINENO: result: no" >&5
2394 echo "${ECHO_T}no" >&6
2398 if test -z "$CC"; then
2399 if test -n "$ac_tool_prefix"; then
2402 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
2403 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
2404 echo "$as_me:$LINENO: checking for $ac_word" >&5
2405 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2406 if test "${ac_cv_prog_CC+set}" = set; then
2407 echo $ECHO_N "(cached) $ECHO_C" >&6
2409 if test -n "$CC"; then
2410 ac_cv_prog_CC
="$CC" # Let the user override the test.
2412 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2416 test -z "$as_dir" && as_dir
=.
2417 for ac_exec_ext
in '' $ac_executable_extensions; do
2418 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2419 ac_cv_prog_CC
="$ac_tool_prefix$ac_prog"
2420 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2429 if test -n "$CC"; then
2430 echo "$as_me:$LINENO: result: $CC" >&5
2431 echo "${ECHO_T}$CC" >&6
2433 echo "$as_me:$LINENO: result: no" >&5
2434 echo "${ECHO_T}no" >&6
2437 test -n "$CC" && break
2440 if test -z "$CC"; then
2444 # Extract the first word of "$ac_prog", so it can be a program name with args.
2445 set dummy
$ac_prog; ac_word
=$2
2446 echo "$as_me:$LINENO: checking for $ac_word" >&5
2447 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2448 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
2449 echo $ECHO_N "(cached) $ECHO_C" >&6
2451 if test -n "$ac_ct_CC"; then
2452 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
2454 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2458 test -z "$as_dir" && as_dir
=.
2459 for ac_exec_ext
in '' $ac_executable_extensions; do
2460 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2461 ac_cv_prog_ac_ct_CC
="$ac_prog"
2462 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2470 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
2471 if test -n "$ac_ct_CC"; then
2472 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
2473 echo "${ECHO_T}$ac_ct_CC" >&6
2475 echo "$as_me:$LINENO: result: no" >&5
2476 echo "${ECHO_T}no" >&6
2479 test -n "$ac_ct_CC" && break
2488 test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
2489 See \`config.log' for more details." >&5
2490 echo "$as_me: error: no acceptable C compiler found in \$PATH
2491 See \`config.log' for more details." >&2;}
2492 { (exit 1); exit 1; }; }
2494 # Provide some information about the compiler.
2495 echo "$as_me:$LINENO:" \
2496 "checking for C compiler version" >&5
2497 ac_compiler
=`set X $ac_compile; echo $2`
2498 { (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5
2499 (eval $ac_compiler --version </dev
/null
>&5) 2>&5
2501 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2502 (exit $ac_status); }
2503 { (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5
2504 (eval $ac_compiler -v </dev
/null
>&5) 2>&5
2506 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2507 (exit $ac_status); }
2508 { (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5
2509 (eval $ac_compiler -V </dev
/null
>&5) 2>&5
2511 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2512 (exit $ac_status); }
2514 cat >conftest.
$ac_ext <<_ACEOF
2517 cat confdefs.h
>>conftest.
$ac_ext
2518 cat >>conftest.
$ac_ext <<_ACEOF
2519 /* end confdefs.h. */
2529 ac_clean_files_save
=$ac_clean_files
2530 ac_clean_files
="$ac_clean_files a.out a.exe b.out"
2531 # Try to create an executable without -o first, disregard a.out.
2532 # It will help us diagnose broken compilers, and finding out an intuition
2534 echo "$as_me:$LINENO: checking for C compiler default output file name" >&5
2535 echo $ECHO_N "checking for C compiler default output file name... $ECHO_C" >&6
2536 ac_link_default
=`echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
2537 if { (eval echo "$as_me:$LINENO: \"$ac_link_default\"") >&5
2538 (eval $ac_link_default) 2>&5
2540 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2541 (exit $ac_status); }; then
2542 # Find the output, starting from the most likely. This scheme is
2543 # not robust to junk in `.', hence go to wildcards (a.*) only as a last
2546 # Be careful to initialize this variable, since it used to be cached.
2547 # Otherwise an old cache value of `no' led to `EXEEXT = no' in a Makefile.
2549 # b.out is created by i960 compilers.
2550 for ac_file
in a_out.exe a.exe conftest.exe a.out conftest a.
* conftest.
* b.out
2552 test -f "$ac_file" ||
continue
2554 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg |
*.o |
*.obj
)
2557 # This is the source file.
2560 # We found the default executable, but exeext='' is most
2564 ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
2565 # FIXME: I believe we export ac_cv_exeext for Libtool,
2566 # but it would be cool to find out if it's true. Does anybody
2567 # maintain Libtool? --akim.
2575 echo "$as_me: failed program was:" >&5
2576 sed 's/^/| /' conftest.
$ac_ext >&5
2578 { { echo "$as_me:$LINENO: error: C compiler cannot create executables
2579 See \`config.log' for more details." >&5
2580 echo "$as_me: error: C compiler cannot create executables
2581 See \`config.log' for more details." >&2;}
2582 { (exit 77); exit 77; }; }
2585 ac_exeext
=$ac_cv_exeext
2586 echo "$as_me:$LINENO: result: $ac_file" >&5
2587 echo "${ECHO_T}$ac_file" >&6
2589 # Check the compiler produces executables we can run. If not, either
2590 # the compiler is broken, or we cross compile.
2591 echo "$as_me:$LINENO: checking whether the C compiler works" >&5
2592 echo $ECHO_N "checking whether the C compiler works... $ECHO_C" >&6
2593 # FIXME: These cross compiler hacks should be removed for Autoconf 3.0
2594 # If not cross compiling, check that we can run a simple program.
2595 if test "$cross_compiling" != yes; then
2596 if { ac_try
='./$ac_file'
2597 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2600 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2601 (exit $ac_status); }; }; then
2604 if test "$cross_compiling" = maybe
; then
2607 { { echo "$as_me:$LINENO: error: cannot run C compiled programs.
2608 If you meant to cross compile, use \`--host'.
2609 See \`config.log' for more details." >&5
2610 echo "$as_me: error: cannot run C compiled programs.
2611 If you meant to cross compile, use \`--host'.
2612 See \`config.log' for more details." >&2;}
2613 { (exit 1); exit 1; }; }
2617 echo "$as_me:$LINENO: result: yes" >&5
2618 echo "${ECHO_T}yes" >&6
2620 rm -f a.out a.exe conftest
$ac_cv_exeext b.out
2621 ac_clean_files
=$ac_clean_files_save
2622 # Check the compiler produces executables we can run. If not, either
2623 # the compiler is broken, or we cross compile.
2624 echo "$as_me:$LINENO: checking whether we are cross compiling" >&5
2625 echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6
2626 echo "$as_me:$LINENO: result: $cross_compiling" >&5
2627 echo "${ECHO_T}$cross_compiling" >&6
2629 echo "$as_me:$LINENO: checking for suffix of executables" >&5
2630 echo $ECHO_N "checking for suffix of executables... $ECHO_C" >&6
2631 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
2632 (eval $ac_link) 2>&5
2634 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2635 (exit $ac_status); }; then
2636 # If both `conftest.exe' and `conftest' are `present' (well, observable)
2637 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
2638 # work properly (i.e., refer to `conftest.exe'), while it won't with
2640 for ac_file
in conftest.exe conftest conftest.
*; do
2641 test -f "$ac_file" ||
continue
2643 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg |
*.o |
*.obj
) ;;
2644 *.
* ) ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
2651 { { echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link
2652 See \`config.log' for more details." >&5
2653 echo "$as_me: error: cannot compute suffix of executables: cannot compile and link
2654 See \`config.log' for more details." >&2;}
2655 { (exit 1); exit 1; }; }
2658 rm -f conftest
$ac_cv_exeext
2659 echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
2660 echo "${ECHO_T}$ac_cv_exeext" >&6
2662 rm -f conftest.
$ac_ext
2663 EXEEXT
=$ac_cv_exeext
2665 echo "$as_me:$LINENO: checking for suffix of object files" >&5
2666 echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6
2667 if test "${ac_cv_objext+set}" = set; then
2668 echo $ECHO_N "(cached) $ECHO_C" >&6
2670 cat >conftest.
$ac_ext <<_ACEOF
2673 cat confdefs.h
>>conftest.
$ac_ext
2674 cat >>conftest.
$ac_ext <<_ACEOF
2675 /* end confdefs.h. */
2685 rm -f conftest.o conftest.obj
2686 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2687 (eval $ac_compile) 2>&5
2689 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2690 (exit $ac_status); }; then
2691 for ac_file
in `(ls conftest.o conftest.obj; ls conftest.*) 2>/dev/null`; do
2693 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg
) ;;
2694 *) ac_cv_objext
=`expr "$ac_file" : '.*\.\(.*\)'`
2699 echo "$as_me: failed program was:" >&5
2700 sed 's/^/| /' conftest.
$ac_ext >&5
2702 { { echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile
2703 See \`config.log' for more details." >&5
2704 echo "$as_me: error: cannot compute suffix of object files: cannot compile
2705 See \`config.log' for more details." >&2;}
2706 { (exit 1); exit 1; }; }
2709 rm -f conftest.
$ac_cv_objext conftest.
$ac_ext
2711 echo "$as_me:$LINENO: result: $ac_cv_objext" >&5
2712 echo "${ECHO_T}$ac_cv_objext" >&6
2713 OBJEXT
=$ac_cv_objext
2715 echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
2716 echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6
2717 if test "${ac_cv_c_compiler_gnu+set}" = set; then
2718 echo $ECHO_N "(cached) $ECHO_C" >&6
2720 cat >conftest.
$ac_ext <<_ACEOF
2723 cat confdefs.h
>>conftest.
$ac_ext
2724 cat >>conftest.
$ac_ext <<_ACEOF
2725 /* end confdefs.h. */
2738 rm -f conftest.
$ac_objext
2739 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2740 (eval $ac_compile) 2>conftest.er1
2742 grep -v '^ *+' conftest.er1
>conftest.err
2744 cat conftest.err
>&5
2745 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2746 (exit $ac_status); } &&
2747 { ac_try
='test -z "$ac_c_werror_flag"
2748 || test ! -s conftest.err'
2749 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2752 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2753 (exit $ac_status); }; } &&
2754 { ac_try
='test -s conftest.$ac_objext'
2755 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2758 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2759 (exit $ac_status); }; }; then
2762 echo "$as_me: failed program was:" >&5
2763 sed 's/^/| /' conftest.
$ac_ext >&5
2767 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
2768 ac_cv_c_compiler_gnu
=$ac_compiler_gnu
2771 echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
2772 echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6
2773 GCC
=`test $ac_compiler_gnu = yes && echo yes`
2774 ac_test_CFLAGS
=${CFLAGS+set}
2775 ac_save_CFLAGS
=$CFLAGS
2777 echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
2778 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6
2779 if test "${ac_cv_prog_cc_g+set}" = set; then
2780 echo $ECHO_N "(cached) $ECHO_C" >&6
2782 cat >conftest.
$ac_ext <<_ACEOF
2785 cat confdefs.h
>>conftest.
$ac_ext
2786 cat >>conftest.
$ac_ext <<_ACEOF
2787 /* end confdefs.h. */
2797 rm -f conftest.
$ac_objext
2798 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2799 (eval $ac_compile) 2>conftest.er1
2801 grep -v '^ *+' conftest.er1
>conftest.err
2803 cat conftest.err
>&5
2804 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2805 (exit $ac_status); } &&
2806 { ac_try
='test -z "$ac_c_werror_flag"
2807 || test ! -s conftest.err'
2808 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2811 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2812 (exit $ac_status); }; } &&
2813 { ac_try
='test -s conftest.$ac_objext'
2814 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2817 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2818 (exit $ac_status); }; }; then
2821 echo "$as_me: failed program was:" >&5
2822 sed 's/^/| /' conftest.
$ac_ext >&5
2826 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
2828 echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
2829 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6
2830 if test "$ac_test_CFLAGS" = set; then
2831 CFLAGS
=$ac_save_CFLAGS
2832 elif test $ac_cv_prog_cc_g = yes; then
2833 if test "$GCC" = yes; then
2839 if test "$GCC" = yes; then
2845 echo "$as_me:$LINENO: checking for $CC option to accept ANSI C" >&5
2846 echo $ECHO_N "checking for $CC option to accept ANSI C... $ECHO_C" >&6
2847 if test "${ac_cv_prog_cc_stdc+set}" = set; then
2848 echo $ECHO_N "(cached) $ECHO_C" >&6
2850 ac_cv_prog_cc_stdc
=no
2852 cat >conftest.
$ac_ext <<_ACEOF
2855 cat confdefs.h
>>conftest.
$ac_ext
2856 cat >>conftest.
$ac_ext <<_ACEOF
2857 /* end confdefs.h. */
2860 #include <sys/types.h>
2861 #include <sys/stat.h>
2862 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
2863 struct buf { int x; };
2864 FILE * (*rcsopen) (struct buf *, struct stat *, int);
2865 static char *e (p, i)
2871 static char *f (char * (*g) (char **, int), char **p, ...)
2876 s = g (p, va_arg (v,int));
2881 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
2882 function prototypes and stuff, but not '\xHH' hex character constants.
2883 These don't provoke an error unfortunately, instead are silently treated
2884 as 'x'. The following induces an error, until -std1 is added to get
2885 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
2886 array size at least. It's necessary to write '\x00'==0 to get something
2887 that's true only with -std1. */
2888 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
2890 int test (int i, double x);
2891 struct s1 {int (*f) (int a);};
2892 struct s2 {int (*f) (double a);};
2893 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
2899 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
2904 # Don't try gcc -ansi; that turns off useful extensions and
2905 # breaks some systems' header files.
2906 # AIX -qlanglvl=ansi
2907 # Ultrix and OSF/1 -std1
2908 # HP-UX 10.20 and later -Ae
2909 # HP-UX older versions -Aa -D_HPUX_SOURCE
2910 # SVR4 -Xc -D__EXTENSIONS__
2911 for ac_arg
in "" -qlanglvl=ansi
-std1 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
2913 CC
="$ac_save_CC $ac_arg"
2914 rm -f conftest.
$ac_objext
2915 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2916 (eval $ac_compile) 2>conftest.er1
2918 grep -v '^ *+' conftest.er1
>conftest.err
2920 cat conftest.err
>&5
2921 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2922 (exit $ac_status); } &&
2923 { ac_try
='test -z "$ac_c_werror_flag"
2924 || test ! -s conftest.err'
2925 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2928 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2929 (exit $ac_status); }; } &&
2930 { ac_try
='test -s conftest.$ac_objext'
2931 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2934 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2935 (exit $ac_status); }; }; then
2936 ac_cv_prog_cc_stdc
=$ac_arg
2939 echo "$as_me: failed program was:" >&5
2940 sed 's/^/| /' conftest.
$ac_ext >&5
2943 rm -f conftest.err conftest.
$ac_objext
2945 rm -f conftest.
$ac_ext conftest.
$ac_objext
2950 case "x$ac_cv_prog_cc_stdc" in
2952 echo "$as_me:$LINENO: result: none needed" >&5
2953 echo "${ECHO_T}none needed" >&6 ;;
2955 echo "$as_me:$LINENO: result: $ac_cv_prog_cc_stdc" >&5
2956 echo "${ECHO_T}$ac_cv_prog_cc_stdc" >&6
2957 CC
="$CC $ac_cv_prog_cc_stdc" ;;
2960 # Some people use a C++ compiler to compile C. Since we use `exit',
2961 # in C++ we need to declare it. In case someone uses the same compiler
2962 # for both compiling C and C++ we need to have the C++ compiler decide
2963 # the declaration of exit, since it's the most demanding environment.
2964 cat >conftest.
$ac_ext <<_ACEOF
2969 rm -f conftest.
$ac_objext
2970 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2971 (eval $ac_compile) 2>conftest.er1
2973 grep -v '^ *+' conftest.er1
>conftest.err
2975 cat conftest.err
>&5
2976 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2977 (exit $ac_status); } &&
2978 { ac_try
='test -z "$ac_c_werror_flag"
2979 || test ! -s conftest.err'
2980 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2983 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2984 (exit $ac_status); }; } &&
2985 { ac_try
='test -s conftest.$ac_objext'
2986 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2989 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2990 (exit $ac_status); }; }; then
2991 for ac_declaration
in \
2993 'extern "C" void std::exit (int) throw (); using std::exit;' \
2994 'extern "C" void std::exit (int); using std::exit;' \
2995 'extern "C" void exit (int) throw ();' \
2996 'extern "C" void exit (int);' \
2999 cat >conftest.
$ac_ext <<_ACEOF
3002 cat confdefs.h
>>conftest.
$ac_ext
3003 cat >>conftest.
$ac_ext <<_ACEOF
3004 /* end confdefs.h. */
3015 rm -f conftest.
$ac_objext
3016 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3017 (eval $ac_compile) 2>conftest.er1
3019 grep -v '^ *+' conftest.er1
>conftest.err
3021 cat conftest.err
>&5
3022 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3023 (exit $ac_status); } &&
3024 { ac_try
='test -z "$ac_c_werror_flag"
3025 || test ! -s conftest.err'
3026 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3029 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3030 (exit $ac_status); }; } &&
3031 { ac_try
='test -s conftest.$ac_objext'
3032 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3035 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3036 (exit $ac_status); }; }; then
3039 echo "$as_me: failed program was:" >&5
3040 sed 's/^/| /' conftest.
$ac_ext >&5
3044 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
3045 cat >conftest.
$ac_ext <<_ACEOF
3048 cat confdefs.h
>>conftest.
$ac_ext
3049 cat >>conftest.
$ac_ext <<_ACEOF
3050 /* end confdefs.h. */
3060 rm -f conftest.
$ac_objext
3061 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3062 (eval $ac_compile) 2>conftest.er1
3064 grep -v '^ *+' conftest.er1
>conftest.err
3066 cat conftest.err
>&5
3067 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3068 (exit $ac_status); } &&
3069 { ac_try
='test -z "$ac_c_werror_flag"
3070 || test ! -s conftest.err'
3071 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3074 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3075 (exit $ac_status); }; } &&
3076 { ac_try
='test -s conftest.$ac_objext'
3077 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3080 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3081 (exit $ac_status); }; }; then
3084 echo "$as_me: failed program was:" >&5
3085 sed 's/^/| /' conftest.
$ac_ext >&5
3088 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
3091 if test -n "$ac_declaration"; then
3092 echo '#ifdef __cplusplus' >>confdefs.h
3093 echo $ac_declaration >>confdefs.h
3094 echo '#endif' >>confdefs.h
3098 echo "$as_me: failed program was:" >&5
3099 sed 's/^/| /' conftest.
$ac_ext >&5
3102 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
3104 ac_cpp
='$CPP $CPPFLAGS'
3105 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3106 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3107 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
3109 depcc
="$CC" am_compiler_list
=
3111 echo "$as_me:$LINENO: checking dependency style of $depcc" >&5
3112 echo $ECHO_N "checking dependency style of $depcc... $ECHO_C" >&6
3113 if test "${am_cv_CC_dependencies_compiler_type+set}" = set; then
3114 echo $ECHO_N "(cached) $ECHO_C" >&6
3116 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
3117 # We make a subdir and do the tests there. Otherwise we can end up
3118 # making bogus files that we don't know about and never remove. For
3119 # instance it was reported that on HP-UX the gcc test will end up
3120 # making a dummy file named `D' -- because `-MD' means `put the output
3123 # Copy depcomp to subdir because otherwise we won't find it if we're
3124 # using a relative directory.
3125 cp "$am_depcomp" conftest.dir
3127 # We will build objects and dependencies in a subdirectory because
3128 # it helps to detect inapplicable dependency modes. For instance
3129 # both Tru64's cc and ICC support -MD to output dependencies as a
3130 # side effect of compilation, but ICC will put the dependencies in
3131 # the current directory while Tru64 will put them in the object
3135 am_cv_CC_dependencies_compiler_type
=none
3136 if test "$am_compiler_list" = ""; then
3137 am_compiler_list
=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
3139 for depmode
in $am_compiler_list; do
3140 # Setup a source with many dependencies, because some compilers
3141 # like to wrap large dependency lists on column 80 (with \), and
3142 # we should not choose a depcomp mode which is confused by this.
3144 # We need to recreate these files for each test, as the compiler may
3145 # overwrite some of them when testing with obscure command lines.
3146 # This happens at least with the AIX C compiler.
3148 for i
in 1 2 3 4 5 6; do
3149 echo '#include "conftst'$i'.h"' >> sub
/conftest.c
3150 # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
3151 # Solaris 8's {/usr,}/bin/sh.
3152 touch sub
/conftst
$i.h
3154 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
3158 # after this tag, mechanisms are not by side-effect, so they'll
3159 # only be used when explicitly requested
3160 if test "x$enable_dependency_tracking" = xyes
; then
3168 # We check with `-c' and `-o' for the sake of the "dashmstdout"
3169 # mode. It turns out that the SunPro C++ compiler does not properly
3170 # handle `-M -o', and we need to detect this.
3171 if depmode
=$depmode \
3172 source=sub
/conftest.c object
=sub
/conftest.
${OBJEXT-o} \
3173 depfile
=sub
/conftest.Po tmpdepfile
=sub
/conftest.TPo \
3174 $SHELL .
/depcomp
$depcc -c -o sub
/conftest.
${OBJEXT-o} sub
/conftest.c \
3175 >/dev
/null
2>conftest.err
&&
3176 grep sub
/conftst6.h sub
/conftest.Po
> /dev
/null
2>&1 &&
3177 grep sub
/conftest.
${OBJEXT-o} sub
/conftest.Po
> /dev
/null
2>&1 &&
3178 ${MAKE-make} -s -f confmf
> /dev
/null
2>&1; then
3179 # icc doesn't choke on unknown options, it will just issue warnings
3180 # or remarks (even with -Werror). So we grep stderr for any message
3181 # that says an option was ignored or not supported.
3182 # When given -MP, icc 7.0 and 7.1 complain thusly:
3183 # icc: Command line warning: ignoring option '-M'; no argument required
3184 # The diagnosis changed in icc 8.0:
3185 # icc: Command line remark: option '-MP' not supported
3186 if (grep 'ignoring option' conftest.err ||
3187 grep 'not supported' conftest.err
) >/dev
/null
2>&1; then :; else
3188 am_cv_CC_dependencies_compiler_type
=$depmode
3197 am_cv_CC_dependencies_compiler_type
=none
3201 echo "$as_me:$LINENO: result: $am_cv_CC_dependencies_compiler_type" >&5
3202 echo "${ECHO_T}$am_cv_CC_dependencies_compiler_type" >&6
3203 CCDEPMODE
=depmode
=$am_cv_CC_dependencies_compiler_type
3208 test "x$enable_dependency_tracking" != xno \
3209 && test "$am_cv_CC_dependencies_compiler_type" = gcc3
; then
3211 am__fastdepCC_FALSE
='#'
3213 am__fastdepCC_TRUE
='#'
3214 am__fastdepCC_FALSE
=
3220 ac_cpp
='$CPP $CPPFLAGS'
3221 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3222 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3223 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
3224 echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5
3225 echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6
3226 # On Suns, sometimes $CPP names a directory.
3227 if test -n "$CPP" && test -d "$CPP"; then
3230 if test -z "$CPP"; then
3231 if test "${ac_cv_prog_CPP+set}" = set; then
3232 echo $ECHO_N "(cached) $ECHO_C" >&6
3234 # Double quotes because CPP needs to be expanded
3235 for CPP
in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
3238 for ac_c_preproc_warn_flag
in '' yes
3240 # Use a header file that comes with gcc, so configuring glibc
3241 # with a fresh cross-compiler works.
3242 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
3243 # <limits.h> exists even on freestanding compilers.
3244 # On the NeXT, cc -E runs the code through the compiler's parser,
3245 # not just through cpp. "Syntax error" is here to catch this case.
3246 cat >conftest.
$ac_ext <<_ACEOF
3249 cat confdefs.h
>>conftest.
$ac_ext
3250 cat >>conftest.
$ac_ext <<_ACEOF
3251 /* end confdefs.h. */
3253 # include <limits.h>
3255 # include <assert.h>
3259 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
3260 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
3262 grep -v '^ *+' conftest.er1
>conftest.err
3264 cat conftest.err
>&5
3265 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3266 (exit $ac_status); } >/dev
/null
; then
3267 if test -s conftest.err
; then
3268 ac_cpp_err
=$ac_c_preproc_warn_flag
3269 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
3276 if test -z "$ac_cpp_err"; then
3279 echo "$as_me: failed program was:" >&5
3280 sed 's/^/| /' conftest.
$ac_ext >&5
3282 # Broken: fails on valid input.
3285 rm -f conftest.err conftest.
$ac_ext
3287 # OK, works on sane cases. Now check whether non-existent headers
3288 # can be detected and how.
3289 cat >conftest.
$ac_ext <<_ACEOF
3292 cat confdefs.h
>>conftest.
$ac_ext
3293 cat >>conftest.
$ac_ext <<_ACEOF
3294 /* end confdefs.h. */
3295 #include <ac_nonexistent.h>
3297 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
3298 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
3300 grep -v '^ *+' conftest.er1
>conftest.err
3302 cat conftest.err
>&5
3303 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3304 (exit $ac_status); } >/dev
/null
; then
3305 if test -s conftest.err
; then
3306 ac_cpp_err
=$ac_c_preproc_warn_flag
3307 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
3314 if test -z "$ac_cpp_err"; then
3315 # Broken: success on invalid input.
3318 echo "$as_me: failed program was:" >&5
3319 sed 's/^/| /' conftest.
$ac_ext >&5
3321 # Passes both tests.
3325 rm -f conftest.err conftest.
$ac_ext
3328 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
3329 rm -f conftest.err conftest.
$ac_ext
3330 if $ac_preproc_ok; then
3342 echo "$as_me:$LINENO: result: $CPP" >&5
3343 echo "${ECHO_T}$CPP" >&6
3345 for ac_c_preproc_warn_flag
in '' yes
3347 # Use a header file that comes with gcc, so configuring glibc
3348 # with a fresh cross-compiler works.
3349 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
3350 # <limits.h> exists even on freestanding compilers.
3351 # On the NeXT, cc -E runs the code through the compiler's parser,
3352 # not just through cpp. "Syntax error" is here to catch this case.
3353 cat >conftest.
$ac_ext <<_ACEOF
3356 cat confdefs.h
>>conftest.
$ac_ext
3357 cat >>conftest.
$ac_ext <<_ACEOF
3358 /* end confdefs.h. */
3360 # include <limits.h>
3362 # include <assert.h>
3366 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
3367 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
3369 grep -v '^ *+' conftest.er1
>conftest.err
3371 cat conftest.err
>&5
3372 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3373 (exit $ac_status); } >/dev
/null
; then
3374 if test -s conftest.err
; then
3375 ac_cpp_err
=$ac_c_preproc_warn_flag
3376 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
3383 if test -z "$ac_cpp_err"; then
3386 echo "$as_me: failed program was:" >&5
3387 sed 's/^/| /' conftest.
$ac_ext >&5
3389 # Broken: fails on valid input.
3392 rm -f conftest.err conftest.
$ac_ext
3394 # OK, works on sane cases. Now check whether non-existent headers
3395 # can be detected and how.
3396 cat >conftest.
$ac_ext <<_ACEOF
3399 cat confdefs.h
>>conftest.
$ac_ext
3400 cat >>conftest.
$ac_ext <<_ACEOF
3401 /* end confdefs.h. */
3402 #include <ac_nonexistent.h>
3404 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
3405 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
3407 grep -v '^ *+' conftest.er1
>conftest.err
3409 cat conftest.err
>&5
3410 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3411 (exit $ac_status); } >/dev
/null
; then
3412 if test -s conftest.err
; then
3413 ac_cpp_err
=$ac_c_preproc_warn_flag
3414 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
3421 if test -z "$ac_cpp_err"; then
3422 # Broken: success on invalid input.
3425 echo "$as_me: failed program was:" >&5
3426 sed 's/^/| /' conftest.
$ac_ext >&5
3428 # Passes both tests.
3432 rm -f conftest.err conftest.
$ac_ext
3435 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
3436 rm -f conftest.err conftest.
$ac_ext
3437 if $ac_preproc_ok; then
3440 { { echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check
3441 See \`config.log' for more details." >&5
3442 echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check
3443 See \`config.log' for more details." >&2;}
3444 { (exit 1); exit 1; }; }
3448 ac_cpp
='$CPP $CPPFLAGS'
3449 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3450 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3451 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
3454 echo "$as_me:$LINENO: checking for egrep" >&5
3455 echo $ECHO_N "checking for egrep... $ECHO_C" >&6
3456 if test "${ac_cv_prog_egrep+set}" = set; then
3457 echo $ECHO_N "(cached) $ECHO_C" >&6
3459 if echo a |
(grep -E '(a|b)') >/dev
/null
2>&1
3460 then ac_cv_prog_egrep
='grep -E'
3461 else ac_cv_prog_egrep
='egrep'
3464 echo "$as_me:$LINENO: result: $ac_cv_prog_egrep" >&5
3465 echo "${ECHO_T}$ac_cv_prog_egrep" >&6
3466 EGREP
=$ac_cv_prog_egrep
3469 echo "$as_me:$LINENO: checking for ANSI C header files" >&5
3470 echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6
3471 if test "${ac_cv_header_stdc+set}" = set; then
3472 echo $ECHO_N "(cached) $ECHO_C" >&6
3474 cat >conftest.
$ac_ext <<_ACEOF
3477 cat confdefs.h
>>conftest.
$ac_ext
3478 cat >>conftest.
$ac_ext <<_ACEOF
3479 /* end confdefs.h. */
3493 rm -f conftest.
$ac_objext
3494 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3495 (eval $ac_compile) 2>conftest.er1
3497 grep -v '^ *+' conftest.er1
>conftest.err
3499 cat conftest.err
>&5
3500 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3501 (exit $ac_status); } &&
3502 { ac_try
='test -z "$ac_c_werror_flag"
3503 || test ! -s conftest.err'
3504 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3507 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3508 (exit $ac_status); }; } &&
3509 { ac_try
='test -s conftest.$ac_objext'
3510 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3513 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3514 (exit $ac_status); }; }; then
3515 ac_cv_header_stdc
=yes
3517 echo "$as_me: failed program was:" >&5
3518 sed 's/^/| /' conftest.
$ac_ext >&5
3520 ac_cv_header_stdc
=no
3522 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
3524 if test $ac_cv_header_stdc = yes; then
3525 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
3526 cat >conftest.
$ac_ext <<_ACEOF
3529 cat confdefs.h
>>conftest.
$ac_ext
3530 cat >>conftest.
$ac_ext <<_ACEOF
3531 /* end confdefs.h. */
3535 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
3536 $EGREP "memchr" >/dev
/null
2>&1; then
3539 ac_cv_header_stdc
=no
3545 if test $ac_cv_header_stdc = yes; then
3546 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
3547 cat >conftest.
$ac_ext <<_ACEOF
3550 cat confdefs.h
>>conftest.
$ac_ext
3551 cat >>conftest.
$ac_ext <<_ACEOF
3552 /* end confdefs.h. */
3556 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
3557 $EGREP "free" >/dev
/null
2>&1; then
3560 ac_cv_header_stdc
=no
3566 if test $ac_cv_header_stdc = yes; then
3567 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
3568 if test "$cross_compiling" = yes; then
3571 cat >conftest.
$ac_ext <<_ACEOF
3574 cat confdefs.h
>>conftest.
$ac_ext
3575 cat >>conftest.
$ac_ext <<_ACEOF
3576 /* end confdefs.h. */
3578 #if ((' ' & 0x0FF) == 0x020)
3579 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
3580 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
3582 # define ISLOWER(c) \
3583 (('a' <= (c) && (c) <= 'i') \
3584 || ('j' <= (c) && (c) <= 'r') \
3585 || ('s' <= (c) && (c) <= 'z'))
3586 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
3589 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
3594 for (i = 0; i < 256; i++)
3595 if (XOR (islower (i), ISLOWER (i))
3596 || toupper (i) != TOUPPER (i))
3601 rm -f conftest
$ac_exeext
3602 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
3603 (eval $ac_link) 2>&5
3605 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3606 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
3607 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3610 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3611 (exit $ac_status); }; }; then
3614 echo "$as_me: program exited with status $ac_status" >&5
3615 echo "$as_me: failed program was:" >&5
3616 sed 's/^/| /' conftest.
$ac_ext >&5
3619 ac_cv_header_stdc
=no
3621 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
3625 echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
3626 echo "${ECHO_T}$ac_cv_header_stdc" >&6
3627 if test $ac_cv_header_stdc = yes; then
3629 cat >>confdefs.h
<<\_ACEOF
3630 #define STDC_HEADERS 1
3635 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
3645 for ac_header
in sys
/types.h sys
/stat.h stdlib.h string.h memory.h
strings.h \
3646 inttypes.h stdint.h unistd.h
3648 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
3649 echo "$as_me:$LINENO: checking for $ac_header" >&5
3650 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
3651 if eval "test \"\${$as_ac_Header+set}\" = set"; then
3652 echo $ECHO_N "(cached) $ECHO_C" >&6
3654 cat >conftest.
$ac_ext <<_ACEOF
3657 cat confdefs.h
>>conftest.
$ac_ext
3658 cat >>conftest.
$ac_ext <<_ACEOF
3659 /* end confdefs.h. */
3660 $ac_includes_default
3662 #include <$ac_header>
3664 rm -f conftest.
$ac_objext
3665 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3666 (eval $ac_compile) 2>conftest.er1
3668 grep -v '^ *+' conftest.er1
>conftest.err
3670 cat conftest.err
>&5
3671 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3672 (exit $ac_status); } &&
3673 { ac_try
='test -z "$ac_c_werror_flag"
3674 || test ! -s conftest.err'
3675 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3678 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3679 (exit $ac_status); }; } &&
3680 { ac_try
='test -s conftest.$ac_objext'
3681 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3684 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3685 (exit $ac_status); }; }; then
3686 eval "$as_ac_Header=yes"
3688 echo "$as_me: failed program was:" >&5
3689 sed 's/^/| /' conftest.
$ac_ext >&5
3691 eval "$as_ac_Header=no"
3693 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
3695 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
3696 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
3697 if test `eval echo '${'$as_ac_Header'}'` = yes; then
3698 cat >>confdefs.h
<<_ACEOF
3699 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
3707 # Check whether --enable-alsa or --disable-alsa was given.
3708 if test "${enable_alsa+set}" = set; then
3709 enableval
="$enable_alsa"
3710 case "${enableval}" in
3711 yes) COMPILE_ALSA
=yes ;;
3712 no
) COMPILE_ALSA
=no
;;
3713 *) COMPILE_ALSA
=yes ;;
3717 for ac_header
in alsa
/asoundlib.h
3719 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
3720 if eval "test \"\${$as_ac_Header+set}\" = set"; then
3721 echo "$as_me:$LINENO: checking for $ac_header" >&5
3722 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
3723 if eval "test \"\${$as_ac_Header+set}\" = set"; then
3724 echo $ECHO_N "(cached) $ECHO_C" >&6
3726 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
3727 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
3729 # Is the header compilable?
3730 echo "$as_me:$LINENO: checking $ac_header usability" >&5
3731 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
3732 cat >conftest.
$ac_ext <<_ACEOF
3735 cat confdefs.h
>>conftest.
$ac_ext
3736 cat >>conftest.
$ac_ext <<_ACEOF
3737 /* end confdefs.h. */
3738 $ac_includes_default
3739 #include <$ac_header>
3741 rm -f conftest.
$ac_objext
3742 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3743 (eval $ac_compile) 2>conftest.er1
3745 grep -v '^ *+' conftest.er1
>conftest.err
3747 cat conftest.err
>&5
3748 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3749 (exit $ac_status); } &&
3750 { ac_try
='test -z "$ac_c_werror_flag"
3751 || test ! -s conftest.err'
3752 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3755 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3756 (exit $ac_status); }; } &&
3757 { ac_try
='test -s conftest.$ac_objext'
3758 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3761 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3762 (exit $ac_status); }; }; then
3763 ac_header_compiler
=yes
3765 echo "$as_me: failed program was:" >&5
3766 sed 's/^/| /' conftest.
$ac_ext >&5
3768 ac_header_compiler
=no
3770 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
3771 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
3772 echo "${ECHO_T}$ac_header_compiler" >&6
3774 # Is the header present?
3775 echo "$as_me:$LINENO: checking $ac_header presence" >&5
3776 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
3777 cat >conftest.
$ac_ext <<_ACEOF
3780 cat confdefs.h
>>conftest.
$ac_ext
3781 cat >>conftest.
$ac_ext <<_ACEOF
3782 /* end confdefs.h. */
3783 #include <$ac_header>
3785 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
3786 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
3788 grep -v '^ *+' conftest.er1
>conftest.err
3790 cat conftest.err
>&5
3791 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3792 (exit $ac_status); } >/dev
/null
; then
3793 if test -s conftest.err
; then
3794 ac_cpp_err
=$ac_c_preproc_warn_flag
3795 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
3802 if test -z "$ac_cpp_err"; then
3803 ac_header_preproc
=yes
3805 echo "$as_me: failed program was:" >&5
3806 sed 's/^/| /' conftest.
$ac_ext >&5
3808 ac_header_preproc
=no
3810 rm -f conftest.err conftest.
$ac_ext
3811 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
3812 echo "${ECHO_T}$ac_header_preproc" >&6
3814 # So? What about this header?
3815 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
3817 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
3818 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
3819 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
3820 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
3821 ac_header_preproc
=yes
3824 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
3825 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
3826 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
3827 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
3828 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
3829 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
3830 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
3831 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
3832 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
3833 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
3834 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
3835 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
3838 ## -------------------------------- ##
3839 ## Report this to classpath@gnu.org ##
3840 ## -------------------------------- ##
3843 sed "s/^/$as_me: WARNING: /" >&2
3846 echo "$as_me:$LINENO: checking for $ac_header" >&5
3847 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
3848 if eval "test \"\${$as_ac_Header+set}\" = set"; then
3849 echo $ECHO_N "(cached) $ECHO_C" >&6
3851 eval "$as_ac_Header=\$ac_header_preproc"
3853 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
3854 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
3857 if test `eval echo '${'$as_ac_Header'}'` = yes; then
3858 cat >>confdefs.h
<<_ACEOF
3859 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
3861 echo "$as_me:$LINENO: checking for snd_seq_open in -lasound" >&5
3862 echo $ECHO_N "checking for snd_seq_open in -lasound... $ECHO_C" >&6
3863 if test "${ac_cv_lib_asound_snd_seq_open+set}" = set; then
3864 echo $ECHO_N "(cached) $ECHO_C" >&6
3866 ac_check_lib_save_LIBS
=$LIBS
3867 LIBS
="-lasound $LIBS"
3868 cat >conftest.
$ac_ext <<_ACEOF
3871 cat confdefs.h
>>conftest.
$ac_ext
3872 cat >>conftest.
$ac_ext <<_ACEOF
3873 /* end confdefs.h. */
3875 /* Override any gcc2 internal prototype to avoid an error. */
3879 /* We use char because int might match the return type of a gcc2
3880 builtin and then its argument prototype would still apply. */
3881 char snd_seq_open ();
3890 rm -f conftest.
$ac_objext conftest
$ac_exeext
3891 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
3892 (eval $ac_link) 2>conftest.er1
3894 grep -v '^ *+' conftest.er1
>conftest.err
3896 cat conftest.err
>&5
3897 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3898 (exit $ac_status); } &&
3899 { ac_try
='test -z "$ac_c_werror_flag"
3900 || test ! -s conftest.err'
3901 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3904 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3905 (exit $ac_status); }; } &&
3906 { ac_try
='test -s conftest$ac_exeext'
3907 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3910 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3911 (exit $ac_status); }; }; then
3912 ac_cv_lib_asound_snd_seq_open
=yes
3914 echo "$as_me: failed program was:" >&5
3915 sed 's/^/| /' conftest.
$ac_ext >&5
3917 ac_cv_lib_asound_snd_seq_open
=no
3919 rm -f conftest.err conftest.
$ac_objext \
3920 conftest
$ac_exeext conftest.
$ac_ext
3921 LIBS
=$ac_check_lib_save_LIBS
3923 echo "$as_me:$LINENO: result: $ac_cv_lib_asound_snd_seq_open" >&5
3924 echo "${ECHO_T}$ac_cv_lib_asound_snd_seq_open" >&6
3925 if test $ac_cv_lib_asound_snd_seq_open = yes; then
3940 if test "x${COMPILE_ALSA}" = xyes
; then
3941 CREATE_ALSA_LIBRARIES_TRUE
=
3942 CREATE_ALSA_LIBRARIES_FALSE
='#'
3944 CREATE_ALSA_LIBRARIES_TRUE
='#'
3945 CREATE_ALSA_LIBRARIES_FALSE
=
3949 # Check whether --enable-dssi or --disable-dssi was given.
3950 if test "${enable_dssi+set}" = set; then
3951 enableval
="$enable_dssi"
3952 case "${enableval}" in
3953 yes) COMPILE_DSSI
=yes ;;
3954 no
) COMPILE_DSSI
=no
;;
3955 *) COMPILE_DSSI
=yes ;;
3959 for ac_header
in dssi.h
3961 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
3962 if eval "test \"\${$as_ac_Header+set}\" = set"; then
3963 echo "$as_me:$LINENO: checking for $ac_header" >&5
3964 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
3965 if eval "test \"\${$as_ac_Header+set}\" = set"; then
3966 echo $ECHO_N "(cached) $ECHO_C" >&6
3968 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
3969 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
3971 # Is the header compilable?
3972 echo "$as_me:$LINENO: checking $ac_header usability" >&5
3973 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
3974 cat >conftest.
$ac_ext <<_ACEOF
3977 cat confdefs.h
>>conftest.
$ac_ext
3978 cat >>conftest.
$ac_ext <<_ACEOF
3979 /* end confdefs.h. */
3980 $ac_includes_default
3981 #include <$ac_header>
3983 rm -f conftest.
$ac_objext
3984 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3985 (eval $ac_compile) 2>conftest.er1
3987 grep -v '^ *+' conftest.er1
>conftest.err
3989 cat conftest.err
>&5
3990 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3991 (exit $ac_status); } &&
3992 { ac_try
='test -z "$ac_c_werror_flag"
3993 || test ! -s conftest.err'
3994 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3997 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3998 (exit $ac_status); }; } &&
3999 { ac_try
='test -s conftest.$ac_objext'
4000 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4003 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4004 (exit $ac_status); }; }; then
4005 ac_header_compiler
=yes
4007 echo "$as_me: failed program was:" >&5
4008 sed 's/^/| /' conftest.
$ac_ext >&5
4010 ac_header_compiler
=no
4012 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
4013 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
4014 echo "${ECHO_T}$ac_header_compiler" >&6
4016 # Is the header present?
4017 echo "$as_me:$LINENO: checking $ac_header presence" >&5
4018 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
4019 cat >conftest.
$ac_ext <<_ACEOF
4022 cat confdefs.h
>>conftest.
$ac_ext
4023 cat >>conftest.
$ac_ext <<_ACEOF
4024 /* end confdefs.h. */
4025 #include <$ac_header>
4027 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
4028 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
4030 grep -v '^ *+' conftest.er1
>conftest.err
4032 cat conftest.err
>&5
4033 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4034 (exit $ac_status); } >/dev
/null
; then
4035 if test -s conftest.err
; then
4036 ac_cpp_err
=$ac_c_preproc_warn_flag
4037 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
4044 if test -z "$ac_cpp_err"; then
4045 ac_header_preproc
=yes
4047 echo "$as_me: failed program was:" >&5
4048 sed 's/^/| /' conftest.
$ac_ext >&5
4050 ac_header_preproc
=no
4052 rm -f conftest.err conftest.
$ac_ext
4053 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
4054 echo "${ECHO_T}$ac_header_preproc" >&6
4056 # So? What about this header?
4057 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
4059 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
4060 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
4061 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
4062 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
4063 ac_header_preproc
=yes
4066 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
4067 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
4068 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
4069 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
4070 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
4071 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
4072 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
4073 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
4074 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
4075 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
4076 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
4077 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
4080 ## -------------------------------- ##
4081 ## Report this to classpath@gnu.org ##
4082 ## -------------------------------- ##
4085 sed "s/^/$as_me: WARNING: /" >&2
4088 echo "$as_me:$LINENO: checking for $ac_header" >&5
4089 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
4090 if eval "test \"\${$as_ac_Header+set}\" = set"; then
4091 echo $ECHO_N "(cached) $ECHO_C" >&6
4093 eval "$as_ac_Header=\$ac_header_preproc"
4095 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
4096 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
4099 if test `eval echo '${'$as_ac_Header'}'` = yes; then
4100 cat >>confdefs.h
<<_ACEOF
4101 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
4113 if test "x${COMPILE_DSSI}" = xyes
; then
4114 CREATE_DSSI_LIBRARIES_TRUE
=
4115 CREATE_DSSI_LIBRARIES_FALSE
='#'
4117 CREATE_DSSI_LIBRARIES_TRUE
='#'
4118 CREATE_DSSI_LIBRARIES_FALSE
=
4122 # Check whether --enable-gtk-peer or --disable-gtk-peer was given.
4123 if test "${enable_gtk_peer+set}" = set; then
4124 enableval
="$enable_gtk_peer"
4125 case "${enableval}" in
4126 yes) COMPILE_GTK_PEER
=yes ;;
4127 no
) COMPILE_GTK_PEER
=no
;;
4128 *) COMPILE_GTK_PEER
=yes ;;
4131 COMPILE_GTK_PEER
=yes
4135 if test "x${COMPILE_GTK_PEER}" = xyes
; then
4136 CREATE_GTK_PEER_LIBRARIES_TRUE
=
4137 CREATE_GTK_PEER_LIBRARIES_FALSE
='#'
4139 CREATE_GTK_PEER_LIBRARIES_TRUE
='#'
4140 CREATE_GTK_PEER_LIBRARIES_FALSE
=
4144 # Check whether --enable-gtk-peers or --disable-gtk-peers was given.
4145 if test "${enable_gtk_peers+set}" = set; then
4146 enableval
="$enable_gtk_peers"
4147 { { echo "$as_me:$LINENO: error: No --enable-gtk-peers (or --disable-gtk-peers) option; you want --enable-gtk-peer" >&5
4148 echo "$as_me: error: No --enable-gtk-peers (or --disable-gtk-peers) option; you want --enable-gtk-peer" >&2;}
4149 { (exit 1); exit 1; }; }
4152 # Check whether --enable-gtk-cairo or --disable-gtk-cairo was given.
4153 if test "${enable_gtk_cairo+set}" = set; then
4154 enableval
="$enable_gtk_cairo"
4155 case "${enableval}" in
4156 yes) GTK_CAIRO_ENABLED
=true
;;
4157 no
) GTK_CAIRO_ENABLED
=false
;;
4158 *) GTK_CAIRO_ENABLED
=true
;;
4161 GTK_CAIRO_ENABLED
=false
4164 if test "x${GTK_CAIRO_ENABLED}" = xtrue
; then
4166 cat >>confdefs.h
<<\_ACEOF
4173 if test "x${GTK_CAIRO_ENABLED}" = xtrue
; then
4182 # Check whether --enable-qt-peer or --disable-qt-peer was given.
4183 if test "${enable_qt_peer+set}" = set; then
4184 enableval
="$enable_qt_peer"
4185 case "${enableval}" in
4186 yes) COMPILE_QT_PEER
=yes ;;
4187 no
) COMPILE_QT_PEER
=no
;;
4188 *) COMPILE_QT_PEER
=yes ;;
4195 if test "x${COMPILE_QT_PEER}" = xyes
; then
4196 CREATE_QT_PEER_LIBRARIES_TRUE
=
4197 CREATE_QT_PEER_LIBRARIES_FALSE
='#'
4199 CREATE_QT_PEER_LIBRARIES_TRUE
='#'
4200 CREATE_QT_PEER_LIBRARIES_FALSE
=
4206 # Check whether --with-native-libdir or --without-native-libdir was given.
4207 if test "${with_native_libdir+set}" = set; then
4208 withval
="$with_native_libdir"
4210 nativelibdir
=${withval}
4214 nativelibdir
='${libdir}/${PACKAGE}'
4221 # Check whether --with-glibj-dir or --without-glibj-dir was given.
4222 if test "${with_glibj_dir+set}" = set; then
4223 withval
="$with_glibj_dir"
4229 glibjdir
='${datadir}/${PACKAGE}'
4235 # Check whether --enable-regen-headers or --disable-regen-headers was given.
4236 if test "${enable_regen_headers+set}" = set; then
4237 enableval
="$enable_regen_headers"
4238 case "${enableval}" in
4239 yes) REGENERATE_JNI_HEADERS
=yes ;;
4240 no
) REGENERATE_JNI_HEADERS
=no
;;
4241 *) REGENERATE_JNI_HEADERS
=no
;;
4244 REGENERATE_JNI_HEADERS
=no
4248 if test "x${REGENERATE_JNI_HEADERS}" = xyes
; then
4249 CREATE_JNI_HEADERS_TRUE
=
4250 CREATE_JNI_HEADERS_FALSE
='#'
4252 CREATE_JNI_HEADERS_TRUE
='#'
4253 CREATE_JNI_HEADERS_FALSE
=
4257 echo "$as_me:$LINENO: checking whether ln -s works" >&5
4258 echo $ECHO_N "checking whether ln -s works... $ECHO_C" >&6
4260 if test "$LN_S" = "ln -s"; then
4261 echo "$as_me:$LINENO: result: yes" >&5
4262 echo "${ECHO_T}yes" >&6
4264 echo "$as_me:$LINENO: result: no, using $LN_S" >&5
4265 echo "${ECHO_T}no, using $LN_S" >&6
4268 # Find a good install program. We prefer a C program (faster),
4269 # so one script is as good as another. But avoid the broken or
4270 # incompatible versions:
4271 # SysV /etc/install, /usr/sbin/install
4272 # SunOS /usr/etc/install
4273 # IRIX /sbin/install
4275 # AmigaOS /C/install, which installs bootblocks on floppy discs
4276 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
4277 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
4278 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
4279 # OS/2's system install, which has a completely different semantic
4280 # ./install, which can be erroneously created by make from ./install.sh.
4281 echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
4282 echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6
4283 if test -z "$INSTALL"; then
4284 if test "${ac_cv_path_install+set}" = set; then
4285 echo $ECHO_N "(cached) $ECHO_C" >&6
4287 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4291 test -z "$as_dir" && as_dir
=.
4292 # Account for people who put trailing slashes in PATH elements.
4294 .
/ | .
// |
/cC
/* | \
4295 /etc
/* |
/usr
/sbin
/* |
/usr
/etc
/* |
/sbin
/* |
/usr
/afsws
/bin
/* | \
4296 ?
:\\/os2
\\/install\\/* | ?
:\\/OS2
\\/INSTALL
\\/* | \
4299 # OSF1 and SCO ODT 3.0 have their own names for install.
4300 # Don't use installbsd from OSF since it installs stuff as root
4302 for ac_prog
in ginstall scoinst
install; do
4303 for ac_exec_ext
in '' $ac_executable_extensions; do
4304 if $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
4305 if test $ac_prog = install &&
4306 grep dspmsg
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
4307 # AIX install. It has an incompatible calling convention.
4309 elif test $ac_prog = install &&
4310 grep pwplus
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
4311 # program-specific install script used by HP pwplus--don't use.
4314 ac_cv_path_install
="$as_dir/$ac_prog$ac_exec_ext -c"
4326 if test "${ac_cv_path_install+set}" = set; then
4327 INSTALL
=$ac_cv_path_install
4329 # As a last resort, use the slow shell script. We don't cache a
4330 # path for INSTALL within a source directory, because that will
4331 # break other packages using the cache if that directory is
4332 # removed, or if the path is relative.
4333 INSTALL
=$ac_install_sh
4336 echo "$as_me:$LINENO: result: $INSTALL" >&5
4337 echo "${ECHO_T}$INSTALL" >&6
4339 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
4340 # It thinks the first close brace ends the variable substitution.
4341 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM
='${INSTALL}'
4343 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT
='${INSTALL}'
4345 test -z "$INSTALL_DATA" && INSTALL_DATA
='${INSTALL} -m 644'
4351 # Check whether --enable-static or --disable-static was given.
4352 if test "${enable_static+set}" = set; then
4353 enableval
="$enable_static"
4354 p
=${PACKAGE-default}
4356 yes) enable_static
=yes ;;
4357 no
) enable_static
=no
;;
4360 # Look at the argument we got. We use all the common list separators.
4361 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
="${IFS}:,"
4362 for pkg
in $enableval; do
4363 if test "X$pkg" = "X$p"; then
4373 # Check whether --enable-shared or --disable-shared was given.
4374 if test "${enable_shared+set}" = set; then
4375 enableval
="$enable_shared"
4376 p
=${PACKAGE-default}
4378 yes) enable_shared
=yes ;;
4379 no
) enable_shared
=no
;;
4382 # Look at the argument we got. We use all the common list separators.
4383 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
="${IFS}:,"
4384 for pkg
in $enableval; do
4385 if test "X$pkg" = "X$p"; then
4395 # Check whether --enable-fast-install or --disable-fast-install was given.
4396 if test "${enable_fast_install+set}" = set; then
4397 enableval
="$enable_fast_install"
4398 p
=${PACKAGE-default}
4400 yes) enable_fast_install
=yes ;;
4401 no
) enable_fast_install
=no
;;
4403 enable_fast_install
=no
4404 # Look at the argument we got. We use all the common list separators.
4405 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
="${IFS}:,"
4406 for pkg
in $enableval; do
4407 if test "X$pkg" = "X$p"; then
4408 enable_fast_install
=yes
4415 enable_fast_install
=yes
4418 # Check whether --with-gnu-ld or --without-gnu-ld was given.
4419 if test "${with_gnu_ld+set}" = set; then
4420 withval
="$with_gnu_ld"
4421 test "$withval" = no || with_gnu_ld
=yes
4426 if test "$GCC" = yes; then
4427 # Check if gcc -print-prog-name=ld gives a path.
4428 echo "$as_me:$LINENO: checking for ld used by GCC" >&5
4429 echo $ECHO_N "checking for ld used by GCC... $ECHO_C" >&6
4432 # gcc leaves a trailing carriage return which upsets mingw
4433 ac_prog
=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
4435 ac_prog
=`($CC -print-prog-name=ld) 2>&5` ;;
4438 # Accept absolute paths.
4439 [\\/]* |
[A-Za-z
]:[\\/]*)
4440 re_direlt
='/[^/][^/]*/\.\./'
4441 # Canonicalize the path of ld
4442 ac_prog
=`echo $ac_prog| sed 's%\\\\%/%g'`
4443 while echo $ac_prog |
grep "$re_direlt" > /dev
/null
2>&1; do
4444 ac_prog
=`echo $ac_prog| sed "s%$re_direlt%/%"`
4446 test -z "$LD" && LD
="$ac_prog"
4449 # If it fails, then pretend we aren't using GCC.
4453 # If it is relative, then search for the first ld in PATH.
4457 elif test "$with_gnu_ld" = yes; then
4458 echo "$as_me:$LINENO: checking for GNU ld" >&5
4459 echo $ECHO_N "checking for GNU ld... $ECHO_C" >&6
4461 echo "$as_me:$LINENO: checking for non-GNU ld" >&5
4462 echo $ECHO_N "checking for non-GNU ld... $ECHO_C" >&6
4464 if test "${lt_cv_path_LD+set}" = set; then
4465 echo $ECHO_N "(cached) $ECHO_C" >&6
4467 if test -z "$LD"; then
4468 IFS
="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}${PATH_SEPARATOR-:}"
4469 for ac_dir
in $PATH; do
4470 test -z "$ac_dir" && ac_dir
=.
4471 if test -f "$ac_dir/$ac_prog" ||
test -f "$ac_dir/$ac_prog$ac_exeext"; then
4472 lt_cv_path_LD
="$ac_dir/$ac_prog"
4473 # Check to see if the program is GNU ld. I'd rather use --version,
4474 # but apparently some GNU ld's only accept -v.
4475 # Break only if it was the GNU/non-GNU ld that we prefer.
4476 if "$lt_cv_path_LD" -v 2>&1 < /dev
/null |
egrep '(GNU|with BFD)' > /dev
/null
; then
4477 test "$with_gnu_ld" != no
&& break
4479 test "$with_gnu_ld" != yes && break
4485 lt_cv_path_LD
="$LD" # Let the user override the test with a path.
4490 if test -n "$LD"; then
4491 echo "$as_me:$LINENO: result: $LD" >&5
4492 echo "${ECHO_T}$LD" >&6
4494 echo "$as_me:$LINENO: result: no" >&5
4495 echo "${ECHO_T}no" >&6
4497 test -z "$LD" && { { echo "$as_me:$LINENO: error: no acceptable ld found in \$PATH" >&5
4498 echo "$as_me: error: no acceptable ld found in \$PATH" >&2;}
4499 { (exit 1); exit 1; }; }
4500 echo "$as_me:$LINENO: checking if the linker ($LD) is GNU ld" >&5
4501 echo $ECHO_N "checking if the linker ($LD) is GNU ld... $ECHO_C" >&6
4502 if test "${lt_cv_prog_gnu_ld+set}" = set; then
4503 echo $ECHO_N "(cached) $ECHO_C" >&6
4505 # I'd rather use --version here, but apparently some GNU ld's only accept -v.
4506 if $LD -v 2>&1 </dev
/null |
egrep '(GNU|with BFD)' 1>&5; then
4507 lt_cv_prog_gnu_ld
=yes
4509 lt_cv_prog_gnu_ld
=no
4512 echo "$as_me:$LINENO: result: $lt_cv_prog_gnu_ld" >&5
4513 echo "${ECHO_T}$lt_cv_prog_gnu_ld" >&6
4514 with_gnu_ld
=$lt_cv_prog_gnu_ld
4517 echo "$as_me:$LINENO: checking for $LD option to reload object files" >&5
4518 echo $ECHO_N "checking for $LD option to reload object files... $ECHO_C" >&6
4519 if test "${lt_cv_ld_reload_flag+set}" = set; then
4520 echo $ECHO_N "(cached) $ECHO_C" >&6
4522 lt_cv_ld_reload_flag
='-r'
4524 echo "$as_me:$LINENO: result: $lt_cv_ld_reload_flag" >&5
4525 echo "${ECHO_T}$lt_cv_ld_reload_flag" >&6
4526 reload_flag
=$lt_cv_ld_reload_flag
4527 test -n "$reload_flag" && reload_flag
=" $reload_flag"
4529 echo "$as_me:$LINENO: checking for BSD-compatible nm" >&5
4530 echo $ECHO_N "checking for BSD-compatible nm... $ECHO_C" >&6
4531 if test "${lt_cv_path_NM+set}" = set; then
4532 echo $ECHO_N "(cached) $ECHO_C" >&6
4534 if test -n "$NM"; then
4535 # Let the user override the test.
4538 IFS
="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}${PATH_SEPARATOR-:}"
4539 for ac_dir
in $PATH /usr
/ccs
/bin
/usr
/ucb
/bin
; do
4540 test -z "$ac_dir" && ac_dir
=.
4541 tmp_nm
=$ac_dir/${ac_tool_prefix}nm
4542 if test -f $tmp_nm ||
test -f $tmp_nm$ac_exeext ; then
4543 # Check to see if the nm accepts a BSD-compat flag.
4544 # Adding the `sed 1q' prevents false positives on HP-UX, which says:
4545 # nm: unknown option "B" ignored
4546 # Tru64's nm complains that /dev/null is an invalid object file
4547 if ($tmp_nm -B /dev
/null
2>&1 |
sed '1q'; exit 0) |
egrep '(/dev/null|Invalid file or object type)' >/dev
/null
; then
4548 lt_cv_path_NM
="$tmp_nm -B"
4550 elif ($tmp_nm -p /dev
/null
2>&1 |
sed '1q'; exit 0) |
egrep /dev
/null
>/dev
/null
; then
4551 lt_cv_path_NM
="$tmp_nm -p"
4554 lt_cv_path_NM
=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but
4555 continue # so that we can try to find one that supports BSD flags
4560 test -z "$lt_cv_path_NM" && lt_cv_path_NM
=nm
4565 echo "$as_me:$LINENO: result: $NM" >&5
4566 echo "${ECHO_T}$NM" >&6
4568 echo "$as_me:$LINENO: checking how to recognise dependant libraries" >&5
4569 echo $ECHO_N "checking how to recognise dependant libraries... $ECHO_C" >&6
4570 if test "${lt_cv_deplibs_check_method+set}" = set; then
4571 echo $ECHO_N "(cached) $ECHO_C" >&6
4573 lt_cv_file_magic_cmd
='$MAGIC_CMD'
4574 lt_cv_file_magic_test_file
=
4575 lt_cv_deplibs_check_method
='unknown'
4576 # Need to set the preceding variable on all platforms that support
4577 # interlibrary dependencies.
4578 # 'none' -- dependencies not supported.
4579 # `unknown' -- same as none, but documents that we really don't know.
4580 # 'pass_all' -- all dependencies passed with no checks.
4581 # 'test_compile' -- check by making test program.
4582 # 'file_magic [regex]' -- check by looking for files in library path
4583 # which responds to the $file_magic_cmd with a given egrep regex.
4584 # If you have `file' or equivalent on your system and you're not sure
4585 # whether `pass_all' will *always* work, you probably want this one.
4589 lt_cv_deplibs_check_method
=pass_all
4593 lt_cv_deplibs_check_method
=pass_all
4597 lt_cv_deplibs_check_method
='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib)'
4598 lt_cv_file_magic_cmd
='/usr/bin/file -L'
4599 lt_cv_file_magic_test_file
=/shlib
/libc.so
4602 cygwin
* | mingw
* |pw32
*)
4603 lt_cv_deplibs_check_method
='file_magic file format pei*-i386(.*architecture: i386)?'
4604 lt_cv_file_magic_cmd
='$OBJDUMP -f'
4607 darwin
* | rhapsody
*)
4608 # this will be overwritten by pass_all, but leave it in just in case
4609 lt_cv_deplibs_check_method
='file_magic Mach-O dynamically linked shared library'
4610 lt_cv_file_magic_cmd
='/usr/bin/file -L'
4612 rhapsody
* | darwin1.012
)
4613 lt_cv_file_magic_test_file
='/System/Library/Frameworks/System.framework/System'
4616 lt_cv_file_magic_test_file
='/usr/lib/libSystem.dylib'
4619 lt_cv_deplibs_check_method
=pass_all
4622 freebsd
* | kfreebsd
*-gnu)
4623 if echo __ELF__ |
$CC -E - |
grep __ELF__
> /dev
/null
; then
4626 # Not sure whether the presence of OpenBSD here was a mistake.
4627 # Let's accept both of them until this is cleared up.
4628 lt_cv_deplibs_check_method
='file_magic (FreeBSD|OpenBSD)/i[3-9]86 (compact )?demand paged shared library'
4629 lt_cv_file_magic_cmd
=/usr
/bin
/file
4630 lt_cv_file_magic_test_file
=`echo /usr/lib/libc.so.*`
4634 lt_cv_deplibs_check_method
=pass_all
4639 lt_cv_deplibs_check_method
=pass_all
4645 lt_cv_deplibs_check_method
='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9].[0-9]) shared library'
4646 lt_cv_file_magic_cmd
=/usr
/bin
/file
4647 lt_cv_file_magic_test_file
=/usr
/lib
/libc.sl
4650 lt_cv_deplibs_check_method
='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - IA64'
4651 lt_cv_file_magic_cmd
=/usr
/bin
/file
4652 lt_cv_file_magic_test_file
=/usr
/lib
/hpux32
/libc.so
4660 # this will be overridden with pass_all, but let us keep it just in case
4661 lt_cv_deplibs_check_method
="file_magic ELF 32-bit MSB dynamic lib MIPS - version 1"
4665 *-32|
*"-32 ") libmagic
=32-bit;;
4666 *-n32|
*"-n32 ") libmagic
=N32
;;
4667 *-64|
*"-64 ") libmagic
=64-bit;;
4668 *) libmagic
=never-match
;;
4670 # this will be overridden with pass_all, but let us keep it just in case
4671 lt_cv_deplibs_check_method
="file_magic ELF ${libmagic} MSB mips-[1234] dynamic lib MIPS - version 1"
4674 lt_cv_file_magic_test_file
=`echo /lib${libsuff}/libc.so*`
4675 lt_cv_deplibs_check_method
=pass_all
4678 # This must be Linux ELF.
4680 lt_cv_deplibs_check_method
=pass_all
4683 netbsd
* | knetbsd
*-gnu)
4684 if echo __ELF__ |
$CC -E - |
grep __ELF__
> /dev
/null
; then
4685 lt_cv_deplibs_check_method
='match_pattern /lib[^/\.]+\.so\.[0-9]+\.[0-9]+$'
4687 lt_cv_deplibs_check_method
='match_pattern /lib[^/\.]+\.so$'
4692 lt_cv_deplibs_check_method
='file_magic ELF [0-9][0-9]*-bit [ML]SB (executable|dynamic lib)'
4693 lt_cv_file_magic_cmd
=/usr
/bin
/file
4694 lt_cv_file_magic_test_file
=/usr
/lib
/libnls.so
4697 osf3
* | osf4
* | osf5
*)
4698 # this will be overridden with pass_all, but let us keep it just in case
4699 lt_cv_deplibs_check_method
='file_magic COFF format alpha shared library'
4700 lt_cv_file_magic_test_file
=/shlib
/libc.so
4701 lt_cv_deplibs_check_method
=pass_all
4705 lt_cv_deplibs_check_method
=pass_all
4709 lt_cv_deplibs_check_method
=pass_all
4710 lt_cv_file_magic_test_file
=/lib
/libc.so
4713 sysv5uw
[78]* | sysv4
*uw2
*)
4714 lt_cv_deplibs_check_method
=pass_all
4717 sysv4 | sysv4.2uw2
* | sysv4.3
* | sysv5
*)
4718 case $host_vendor in
4720 lt_cv_deplibs_check_method
=pass_all
4723 lt_cv_deplibs_check_method
='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib) M[0-9][0-9]* Version [0-9]'
4724 lt_cv_file_magic_test_file
=`echo /usr/lib/libc.so*`
4731 echo "$as_me:$LINENO: result: $lt_cv_deplibs_check_method" >&5
4732 echo "${ECHO_T}$lt_cv_deplibs_check_method" >&6
4733 file_magic_cmd
=$lt_cv_file_magic_cmd
4734 deplibs_check_method
=$lt_cv_deplibs_check_method
4739 # Autoconf 2.13's AC_OBJEXT and AC_EXEEXT macros only works for C compilers!
4741 # find the maximum length of command line arguments
4742 echo "$as_me:$LINENO: checking the maximum length of command line arguments" >&5
4743 echo $ECHO_N "checking the maximum length of command line arguments... $ECHO_C" >&6
4744 if test "${lt_cv_sys_max_cmd_len+set}" = set; then
4745 echo $ECHO_N "(cached) $ECHO_C" >&6
4752 # On DJGPP, this test can blow up pretty badly due to problems in libc
4753 # (any single argument exceeding 2000 bytes causes a buffer overrun
4754 # during glob expansion). Even if it were fixed, the result of this
4755 # check would be larger than it should be.
4756 lt_cv_sys_max_cmd_len
=12288; # 12K is about right
4760 # On Win9x/ME, this test blows up -- it succeeds, but takes
4761 # about 5 minutes as the teststring grows exponentially.
4762 # Worse, since 9x/ME are not pre-emptively multitasking,
4763 # you end up with a "frozen" computer, even though with patience
4764 # the test eventually succeeds (with a max line length of 256k).
4765 # Instead, let's just punt: use the minimum linelength reported by
4766 # all of the supported platforms: 8192 (on NT/2K/XP).
4767 lt_cv_sys_max_cmd_len
=8192;
4771 # On AmigaOS with pdksh, this test takes hours, literally.
4772 # So we just punt and use a minimum line length of 8192.
4773 lt_cv_sys_max_cmd_len
=8192;
4776 netbsd
* | freebsd
* | openbsd
* | darwin
* | dragonfly
*)
4777 # This has been around since 386BSD, at least. Likely further.
4778 if test -x /sbin
/sysctl
; then
4779 lt_cv_sys_max_cmd_len
=`/sbin/sysctl -n kern.argmax`
4780 elif test -x /usr
/sbin
/sysctl
; then
4781 lt_cv_sys_max_cmd_len
=`/usr/sbin/sysctl -n kern.argmax`
4783 lt_cv_sys_max_cmd_len
=65536 # usable default for *BSD
4785 # And add a safety zone
4786 lt_cv_sys_max_cmd_len
=`expr $lt_cv_sys_max_cmd_len \/ 4`
4787 lt_cv_sys_max_cmd_len
=`expr $lt_cv_sys_max_cmd_len \* 3`
4793 if test -n "$lt_cv_sys_max_cmd_len" ; then
4794 echo "$as_me:$LINENO: result: $lt_cv_sys_max_cmd_len" >&5
4795 echo "${ECHO_T}$lt_cv_sys_max_cmd_len" >&6
4797 echo "$as_me:$LINENO: result: none" >&5
4798 echo "${ECHO_T}none" >&6
4802 # Only perform the check for file, if the check method requires it
4803 case $deplibs_check_method in
4805 if test "$file_magic_cmd" = '$MAGIC_CMD'; then
4806 echo "$as_me:$LINENO: checking for ${ac_tool_prefix}file" >&5
4807 echo $ECHO_N "checking for ${ac_tool_prefix}file... $ECHO_C" >&6
4808 if test "${lt_cv_path_MAGIC_CMD+set}" = set; then
4809 echo $ECHO_N "(cached) $ECHO_C" >&6
4813 lt_cv_path_MAGIC_CMD
="$MAGIC_CMD" # Let the user override the test with a path.
4816 lt_cv_path_MAGIC_CMD
="$MAGIC_CMD" # Let the user override the test with a dos path.
4819 ac_save_MAGIC_CMD
="$MAGIC_CMD"
4820 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
=":"
4821 ac_dummy
="/usr/bin:$PATH"
4822 for ac_dir
in $ac_dummy; do
4823 test -z "$ac_dir" && ac_dir
=.
4824 if test -f $ac_dir/${ac_tool_prefix}file; then
4825 lt_cv_path_MAGIC_CMD
="$ac_dir/${ac_tool_prefix}file"
4826 if test -n "$file_magic_test_file"; then
4827 case $deplibs_check_method in
4829 file_magic_regex
="`expr \"$deplibs_check_method\" : \"file_magic \(.*\)\"`"
4830 MAGIC_CMD
="$lt_cv_path_MAGIC_CMD"
4831 if eval $file_magic_cmd \
$file_magic_test_file 2> /dev
/null |
4832 egrep "$file_magic_regex" > /dev
/null
; then
4837 *** Warning: the command libtool uses to detect shared libraries,
4838 *** $file_magic_cmd, produces output that libtool cannot recognize.
4839 *** The result is that libtool may fail to recognize shared libraries
4840 *** as such. This will affect the creation of libtool libraries that
4841 *** depend on shared libraries, but programs linked with such libtool
4842 *** libraries will work regardless of this problem. Nevertheless, you
4843 *** may want to report the problem to your system manager and/or to
4844 *** bug-libtool@gnu.org
4854 MAGIC_CMD
="$ac_save_MAGIC_CMD"
4859 MAGIC_CMD
="$lt_cv_path_MAGIC_CMD"
4860 if test -n "$MAGIC_CMD"; then
4861 echo "$as_me:$LINENO: result: $MAGIC_CMD" >&5
4862 echo "${ECHO_T}$MAGIC_CMD" >&6
4864 echo "$as_me:$LINENO: result: no" >&5
4865 echo "${ECHO_T}no" >&6
4868 if test -z "$lt_cv_path_MAGIC_CMD"; then
4869 if test -n "$ac_tool_prefix"; then
4870 echo "$as_me:$LINENO: checking for file" >&5
4871 echo $ECHO_N "checking for file... $ECHO_C" >&6
4872 if test "${lt_cv_path_MAGIC_CMD+set}" = set; then
4873 echo $ECHO_N "(cached) $ECHO_C" >&6
4877 lt_cv_path_MAGIC_CMD
="$MAGIC_CMD" # Let the user override the test with a path.
4880 lt_cv_path_MAGIC_CMD
="$MAGIC_CMD" # Let the user override the test with a dos path.
4883 ac_save_MAGIC_CMD
="$MAGIC_CMD"
4884 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
=":"
4885 ac_dummy
="/usr/bin:$PATH"
4886 for ac_dir
in $ac_dummy; do
4887 test -z "$ac_dir" && ac_dir
=.
4888 if test -f $ac_dir/file; then
4889 lt_cv_path_MAGIC_CMD
="$ac_dir/file"
4890 if test -n "$file_magic_test_file"; then
4891 case $deplibs_check_method in
4893 file_magic_regex
="`expr \"$deplibs_check_method\" : \"file_magic \(.*\)\"`"
4894 MAGIC_CMD
="$lt_cv_path_MAGIC_CMD"
4895 if eval $file_magic_cmd \
$file_magic_test_file 2> /dev
/null |
4896 egrep "$file_magic_regex" > /dev
/null
; then
4901 *** Warning: the command libtool uses to detect shared libraries,
4902 *** $file_magic_cmd, produces output that libtool cannot recognize.
4903 *** The result is that libtool may fail to recognize shared libraries
4904 *** as such. This will affect the creation of libtool libraries that
4905 *** depend on shared libraries, but programs linked with such libtool
4906 *** libraries will work regardless of this problem. Nevertheless, you
4907 *** may want to report the problem to your system manager and/or to
4908 *** bug-libtool@gnu.org
4918 MAGIC_CMD
="$ac_save_MAGIC_CMD"
4923 MAGIC_CMD
="$lt_cv_path_MAGIC_CMD"
4924 if test -n "$MAGIC_CMD"; then
4925 echo "$as_me:$LINENO: result: $MAGIC_CMD" >&5
4926 echo "${ECHO_T}$MAGIC_CMD" >&6
4928 echo "$as_me:$LINENO: result: no" >&5
4929 echo "${ECHO_T}no" >&6
4941 if test -n "$ac_tool_prefix"; then
4942 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
4943 set dummy
${ac_tool_prefix}ranlib
; ac_word
=$2
4944 echo "$as_me:$LINENO: checking for $ac_word" >&5
4945 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
4946 if test "${ac_cv_prog_RANLIB+set}" = set; then
4947 echo $ECHO_N "(cached) $ECHO_C" >&6
4949 if test -n "$RANLIB"; then
4950 ac_cv_prog_RANLIB
="$RANLIB" # Let the user override the test.
4952 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4956 test -z "$as_dir" && as_dir
=.
4957 for ac_exec_ext
in '' $ac_executable_extensions; do
4958 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4959 ac_cv_prog_RANLIB
="${ac_tool_prefix}ranlib"
4960 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4968 RANLIB
=$ac_cv_prog_RANLIB
4969 if test -n "$RANLIB"; then
4970 echo "$as_me:$LINENO: result: $RANLIB" >&5
4971 echo "${ECHO_T}$RANLIB" >&6
4973 echo "$as_me:$LINENO: result: no" >&5
4974 echo "${ECHO_T}no" >&6
4978 if test -z "$ac_cv_prog_RANLIB"; then
4979 ac_ct_RANLIB
=$RANLIB
4980 # Extract the first word of "ranlib", so it can be a program name with args.
4981 set dummy ranlib
; ac_word
=$2
4982 echo "$as_me:$LINENO: checking for $ac_word" >&5
4983 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
4984 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
4985 echo $ECHO_N "(cached) $ECHO_C" >&6
4987 if test -n "$ac_ct_RANLIB"; then
4988 ac_cv_prog_ac_ct_RANLIB
="$ac_ct_RANLIB" # Let the user override the test.
4990 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4994 test -z "$as_dir" && as_dir
=.
4995 for ac_exec_ext
in '' $ac_executable_extensions; do
4996 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4997 ac_cv_prog_ac_ct_RANLIB
="ranlib"
4998 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5004 test -z "$ac_cv_prog_ac_ct_RANLIB" && ac_cv_prog_ac_ct_RANLIB
=":"
5007 ac_ct_RANLIB
=$ac_cv_prog_ac_ct_RANLIB
5008 if test -n "$ac_ct_RANLIB"; then
5009 echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
5010 echo "${ECHO_T}$ac_ct_RANLIB" >&6
5012 echo "$as_me:$LINENO: result: no" >&5
5013 echo "${ECHO_T}no" >&6
5016 RANLIB
=$ac_ct_RANLIB
5018 RANLIB
="$ac_cv_prog_RANLIB"
5021 if test -n "$ac_tool_prefix"; then
5022 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
5023 set dummy
${ac_tool_prefix}strip
; ac_word
=$2
5024 echo "$as_me:$LINENO: checking for $ac_word" >&5
5025 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
5026 if test "${ac_cv_prog_STRIP+set}" = set; then
5027 echo $ECHO_N "(cached) $ECHO_C" >&6
5029 if test -n "$STRIP"; then
5030 ac_cv_prog_STRIP
="$STRIP" # Let the user override the test.
5032 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5036 test -z "$as_dir" && as_dir
=.
5037 for ac_exec_ext
in '' $ac_executable_extensions; do
5038 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5039 ac_cv_prog_STRIP
="${ac_tool_prefix}strip"
5040 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5048 STRIP
=$ac_cv_prog_STRIP
5049 if test -n "$STRIP"; then
5050 echo "$as_me:$LINENO: result: $STRIP" >&5
5051 echo "${ECHO_T}$STRIP" >&6
5053 echo "$as_me:$LINENO: result: no" >&5
5054 echo "${ECHO_T}no" >&6
5058 if test -z "$ac_cv_prog_STRIP"; then
5060 # Extract the first word of "strip", so it can be a program name with args.
5061 set dummy strip
; ac_word
=$2
5062 echo "$as_me:$LINENO: checking for $ac_word" >&5
5063 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
5064 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
5065 echo $ECHO_N "(cached) $ECHO_C" >&6
5067 if test -n "$ac_ct_STRIP"; then
5068 ac_cv_prog_ac_ct_STRIP
="$ac_ct_STRIP" # Let the user override the test.
5070 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5074 test -z "$as_dir" && as_dir
=.
5075 for ac_exec_ext
in '' $ac_executable_extensions; do
5076 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5077 ac_cv_prog_ac_ct_STRIP
="strip"
5078 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5084 test -z "$ac_cv_prog_ac_ct_STRIP" && ac_cv_prog_ac_ct_STRIP
=":"
5087 ac_ct_STRIP
=$ac_cv_prog_ac_ct_STRIP
5088 if test -n "$ac_ct_STRIP"; then
5089 echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
5090 echo "${ECHO_T}$ac_ct_STRIP" >&6
5092 echo "$as_me:$LINENO: result: no" >&5
5093 echo "${ECHO_T}no" >&6
5098 STRIP
="$ac_cv_prog_STRIP"
5102 # Check for any special flags to pass to ltconfig.
5103 libtool_flags
="--cache-file=$cache_file"
5104 test "$enable_shared" = no
&& libtool_flags
="$libtool_flags --disable-shared"
5105 test "$enable_static" = no
&& libtool_flags
="$libtool_flags --disable-static"
5106 test "$enable_fast_install" = no
&& libtool_flags
="$libtool_flags --disable-fast-install"
5107 test "$GCC" = yes && libtool_flags
="$libtool_flags --with-gcc"
5108 test "$lt_cv_prog_gnu_ld" = yes && libtool_flags
="$libtool_flags --with-gnu-ld"
5111 # Check whether --enable-libtool-lock or --disable-libtool-lock was given.
5112 if test "${enable_libtool_lock+set}" = set; then
5113 enableval
="$enable_libtool_lock"
5116 test "x$enable_libtool_lock" = xno
&& libtool_flags
="$libtool_flags --disable-lock"
5117 test x
"$silent" = xyes
&& libtool_flags
="$libtool_flags --silent"
5120 # Check whether --with-pic or --without-pic was given.
5121 if test "${with_pic+set}" = set; then
5127 test x
"$pic_mode" = xyes
&& libtool_flags
="$libtool_flags --prefer-pic"
5128 test x
"$pic_mode" = xno
&& libtool_flags
="$libtool_flags --prefer-non-pic"
5130 # Some flags need to be propagated to the compiler or linker for good
5134 # Find out which ABI we are using.
5135 echo '#line 5135 "configure"' > conftest.
$ac_ext
5136 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5137 (eval $ac_compile) 2>&5
5139 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5140 (exit $ac_status); }; then
5141 if test "$lt_cv_prog_gnu_ld" = yes; then
5142 case `/usr/bin/file conftest.$ac_objext` in
5144 LD
="${LD-ld} -melf32bsmip"
5147 LD
="${LD-ld} -melf32bmipn32"
5150 LD
="${LD-ld} -melf64bmip"
5154 case `/usr/bin/file conftest.$ac_objext` in
5171 # Find out which ABI we are using.
5172 echo 'int i;' > conftest.
$ac_ext
5173 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5174 (eval $ac_compile) 2>&5
5176 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5177 (exit $ac_status); }; then
5178 case "`/usr/bin/file conftest.o`" in
5190 x86_64-
*linux
*|ppc
*-*linux
*|powerpc
*-*linux
*|s390
*-*linux
*|sparc
*-*linux
*)
5191 # Find out which ABI we are using.
5192 echo 'int i;' > conftest.
$ac_ext
5193 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5194 (eval $ac_compile) 2>&5
5196 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5197 (exit $ac_status); }; then
5198 case "`/usr/bin/file conftest.o`" in
5202 LD
="${LD-ld} -m elf_i386"
5204 ppc64-
*linux
*|powerpc64-
*linux
*)
5205 LD
="${LD-ld} -m elf32ppclinux"
5208 LD
="${LD-ld} -m elf_s390"
5211 LD
="${LD-ld} -m elf32_sparc"
5218 LD
="${LD-ld} -m elf_x86_64"
5220 ppc
*-*linux
*|powerpc
*-*linux
*)
5221 LD
="${LD-ld} -m elf64ppc"
5224 LD
="${LD-ld} -m elf64_s390"
5227 LD
="${LD-ld} -m elf64_sparc"
5237 # On SCO OpenServer 5, we need -belf to get full-featured binaries.
5238 SAVE_CFLAGS
="$CFLAGS"
5239 CFLAGS
="$CFLAGS -belf"
5240 echo "$as_me:$LINENO: checking whether the C compiler needs -belf" >&5
5241 echo $ECHO_N "checking whether the C compiler needs -belf... $ECHO_C" >&6
5242 if test "${lt_cv_cc_needs_belf+set}" = set; then
5243 echo $ECHO_N "(cached) $ECHO_C" >&6
5248 ac_cpp
='$CPP $CPPFLAGS'
5249 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5250 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5251 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
5253 cat >conftest.
$ac_ext <<_ACEOF
5256 cat confdefs.h
>>conftest.
$ac_ext
5257 cat >>conftest.
$ac_ext <<_ACEOF
5258 /* end confdefs.h. */
5268 rm -f conftest.
$ac_objext conftest
$ac_exeext
5269 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
5270 (eval $ac_link) 2>conftest.er1
5272 grep -v '^ *+' conftest.er1
>conftest.err
5274 cat conftest.err
>&5
5275 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5276 (exit $ac_status); } &&
5277 { ac_try
='test -z "$ac_c_werror_flag"
5278 || test ! -s conftest.err'
5279 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5282 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5283 (exit $ac_status); }; } &&
5284 { ac_try
='test -s conftest$ac_exeext'
5285 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5288 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5289 (exit $ac_status); }; }; then
5290 lt_cv_cc_needs_belf
=yes
5292 echo "$as_me: failed program was:" >&5
5293 sed 's/^/| /' conftest.
$ac_ext >&5
5295 lt_cv_cc_needs_belf
=no
5297 rm -f conftest.err conftest.
$ac_objext \
5298 conftest
$ac_exeext conftest.
$ac_ext
5300 ac_cpp
='$CPP $CPPFLAGS'
5301 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5302 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5303 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
5306 echo "$as_me:$LINENO: result: $lt_cv_cc_needs_belf" >&5
5307 echo "${ECHO_T}$lt_cv_cc_needs_belf" >&6
5308 if test x
"$lt_cv_cc_needs_belf" != x
"yes"; then
5309 # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
5310 CFLAGS
="$SAVE_CFLAGS"
5318 # Save cache, so that ltconfig can load it
5319 cat >confcache
<<\_ACEOF
5320 # This file is a shell script that caches the results of configure
5321 # tests run on this system so they can be shared between configure
5322 # scripts and configure runs, see configure's option --config-cache.
5323 # It is not useful on other systems. If it contains results you don't
5324 # want to keep, you may remove or edit it.
5326 # config.status only pays attention to the cache file if you give it
5327 # the --recheck option to rerun configure.
5329 # `ac_cv_env_foo' variables (set or unset) will be overridden when
5330 # loading this file, other *unset* `ac_cv_foo' will be assigned the
5335 # The following way of writing the cache mishandles newlines in values,
5336 # but we know of no workaround that is simple, portable, and efficient.
5337 # So, don't put newlines in cache variables' values.
5338 # Ultrix sh set writes to stderr and can't be redirected directly,
5339 # and sets the high bit in the cache file unless we assign to the vars.
5342 case `(ac_space=' '; set | grep ac_space) 2>&1` in
5344 # `set' does not quote correctly, so add quotes (double-quote
5345 # substitution turns \\\\ into \\, and sed turns \\ into \).
5348 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
5351 # `set' quotes correctly as required by POSIX, so do not add quotes.
5353 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
5360 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
5362 /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
5364 if diff $cache_file confcache
>/dev
/null
2>&1; then :; else
5365 if test -w $cache_file; then
5366 test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
5367 cat confcache
>$cache_file
5369 echo "not updating unwritable cache $cache_file"
5374 # Actually configure libtool. ac_aux_dir is where install-sh is found.
5375 AR
="$AR" LTCC
="$CC" CC
="$CC" CFLAGS
="$CFLAGS" CPPFLAGS
="$CPPFLAGS" \
5376 MAGIC_CMD
="$MAGIC_CMD" LD
="$LD" LDFLAGS
="$LDFLAGS" LIBS
="$LIBS" \
5377 LN_S
="$LN_S" NM
="$NM" RANLIB
="$RANLIB" STRIP
="$STRIP" \
5378 AS
="$AS" DLLTOOL
="$DLLTOOL" OBJDUMP
="$OBJDUMP" \
5379 objext
="$OBJEXT" exeext
="$EXEEXT" reload_flag
="$reload_flag" \
5380 deplibs_check_method
="$deplibs_check_method" file_magic_cmd
="$file_magic_cmd" \
5381 ${CONFIG_SHELL-/bin/sh} $ac_aux_dir/ltconfig
--no-reexec \
5382 $libtool_flags --no-verify --build="$build" $ac_aux_dir/ltmain.sh
$host \
5383 ||
{ { echo "$as_me:$LINENO: error: libtool configure failed" >&5
5384 echo "$as_me: error: libtool configure failed" >&2;}
5385 { (exit 1); exit 1; }; }
5387 # Reload cache, that may have been modified by ltconfig
5388 if test -r "$cache_file"; then
5389 # Some versions of bash will fail to source /dev/null (special
5390 # files actually), so we avoid doing that.
5391 if test -f "$cache_file"; then
5392 { echo "$as_me:$LINENO: loading cache $cache_file" >&5
5393 echo "$as_me: loading cache $cache_file" >&6;}
5395 [\\/]* | ?
:[\\/]* ) .
$cache_file;;
5396 *) . .
/$cache_file;;
5400 { echo "$as_me:$LINENO: creating cache $cache_file" >&5
5401 echo "$as_me: creating cache $cache_file" >&6;}
5406 # This can be used to rebuild libtool when needed
5407 LIBTOOL_DEPS
="$ac_aux_dir/ltconfig $ac_aux_dir/ltmain.sh $ac_aux_dir/ltcf-c.sh"
5409 # Always use our own libtool.
5410 LIBTOOL
='$(SHELL) $(top_builddir)/libtool'
5412 # Redirect the config.log output again, so that the ltconfig log is not
5413 # clobbered by the next message.
5414 exec 5>>.
/config.log
5422 ac_cpp
='$CPP $CPPFLAGS'
5423 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5424 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5425 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
5426 if test -n "$ac_tool_prefix"; then
5427 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
5428 set dummy
${ac_tool_prefix}gcc
; ac_word
=$2
5429 echo "$as_me:$LINENO: checking for $ac_word" >&5
5430 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
5431 if test "${ac_cv_prog_CC+set}" = set; then
5432 echo $ECHO_N "(cached) $ECHO_C" >&6
5434 if test -n "$CC"; then
5435 ac_cv_prog_CC
="$CC" # Let the user override the test.
5437 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5441 test -z "$as_dir" && as_dir
=.
5442 for ac_exec_ext
in '' $ac_executable_extensions; do
5443 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5444 ac_cv_prog_CC
="${ac_tool_prefix}gcc"
5445 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5454 if test -n "$CC"; then
5455 echo "$as_me:$LINENO: result: $CC" >&5
5456 echo "${ECHO_T}$CC" >&6
5458 echo "$as_me:$LINENO: result: no" >&5
5459 echo "${ECHO_T}no" >&6
5463 if test -z "$ac_cv_prog_CC"; then
5465 # Extract the first word of "gcc", so it can be a program name with args.
5466 set dummy gcc
; ac_word
=$2
5467 echo "$as_me:$LINENO: checking for $ac_word" >&5
5468 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
5469 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
5470 echo $ECHO_N "(cached) $ECHO_C" >&6
5472 if test -n "$ac_ct_CC"; then
5473 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
5475 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5479 test -z "$as_dir" && as_dir
=.
5480 for ac_exec_ext
in '' $ac_executable_extensions; do
5481 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5482 ac_cv_prog_ac_ct_CC
="gcc"
5483 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5491 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
5492 if test -n "$ac_ct_CC"; then
5493 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
5494 echo "${ECHO_T}$ac_ct_CC" >&6
5496 echo "$as_me:$LINENO: result: no" >&5
5497 echo "${ECHO_T}no" >&6
5505 if test -z "$CC"; then
5506 if test -n "$ac_tool_prefix"; then
5507 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
5508 set dummy
${ac_tool_prefix}cc
; ac_word
=$2
5509 echo "$as_me:$LINENO: checking for $ac_word" >&5
5510 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
5511 if test "${ac_cv_prog_CC+set}" = set; then
5512 echo $ECHO_N "(cached) $ECHO_C" >&6
5514 if test -n "$CC"; then
5515 ac_cv_prog_CC
="$CC" # Let the user override the test.
5517 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5521 test -z "$as_dir" && as_dir
=.
5522 for ac_exec_ext
in '' $ac_executable_extensions; do
5523 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5524 ac_cv_prog_CC
="${ac_tool_prefix}cc"
5525 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5534 if test -n "$CC"; then
5535 echo "$as_me:$LINENO: result: $CC" >&5
5536 echo "${ECHO_T}$CC" >&6
5538 echo "$as_me:$LINENO: result: no" >&5
5539 echo "${ECHO_T}no" >&6
5543 if test -z "$ac_cv_prog_CC"; then
5545 # Extract the first word of "cc", so it can be a program name with args.
5546 set dummy cc
; ac_word
=$2
5547 echo "$as_me:$LINENO: checking for $ac_word" >&5
5548 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
5549 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
5550 echo $ECHO_N "(cached) $ECHO_C" >&6
5552 if test -n "$ac_ct_CC"; then
5553 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
5555 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5559 test -z "$as_dir" && as_dir
=.
5560 for ac_exec_ext
in '' $ac_executable_extensions; do
5561 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5562 ac_cv_prog_ac_ct_CC
="cc"
5563 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5571 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
5572 if test -n "$ac_ct_CC"; then
5573 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
5574 echo "${ECHO_T}$ac_ct_CC" >&6
5576 echo "$as_me:$LINENO: result: no" >&5
5577 echo "${ECHO_T}no" >&6
5586 if test -z "$CC"; then
5587 # Extract the first word of "cc", so it can be a program name with args.
5588 set dummy cc
; ac_word
=$2
5589 echo "$as_me:$LINENO: checking for $ac_word" >&5
5590 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
5591 if test "${ac_cv_prog_CC+set}" = set; then
5592 echo $ECHO_N "(cached) $ECHO_C" >&6
5594 if test -n "$CC"; then
5595 ac_cv_prog_CC
="$CC" # Let the user override the test.
5598 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5602 test -z "$as_dir" && as_dir
=.
5603 for ac_exec_ext
in '' $ac_executable_extensions; do
5604 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5605 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
5606 ac_prog_rejected
=yes
5610 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5616 if test $ac_prog_rejected = yes; then
5617 # We found a bogon in the path, so make sure we never use it.
5618 set dummy
$ac_cv_prog_CC
5620 if test $# != 0; then
5621 # We chose a different compiler from the bogus one.
5622 # However, it has the same basename, so the bogon will be chosen
5623 # first if we set CC to just the basename; use the full file name.
5625 ac_cv_prog_CC
="$as_dir/$ac_word${1+' '}$@"
5631 if test -n "$CC"; then
5632 echo "$as_me:$LINENO: result: $CC" >&5
5633 echo "${ECHO_T}$CC" >&6
5635 echo "$as_me:$LINENO: result: no" >&5
5636 echo "${ECHO_T}no" >&6
5640 if test -z "$CC"; then
5641 if test -n "$ac_tool_prefix"; then
5644 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
5645 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
5646 echo "$as_me:$LINENO: checking for $ac_word" >&5
5647 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
5648 if test "${ac_cv_prog_CC+set}" = set; then
5649 echo $ECHO_N "(cached) $ECHO_C" >&6
5651 if test -n "$CC"; then
5652 ac_cv_prog_CC
="$CC" # Let the user override the test.
5654 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5658 test -z "$as_dir" && as_dir
=.
5659 for ac_exec_ext
in '' $ac_executable_extensions; do
5660 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5661 ac_cv_prog_CC
="$ac_tool_prefix$ac_prog"
5662 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5671 if test -n "$CC"; then
5672 echo "$as_me:$LINENO: result: $CC" >&5
5673 echo "${ECHO_T}$CC" >&6
5675 echo "$as_me:$LINENO: result: no" >&5
5676 echo "${ECHO_T}no" >&6
5679 test -n "$CC" && break
5682 if test -z "$CC"; then
5686 # Extract the first word of "$ac_prog", so it can be a program name with args.
5687 set dummy
$ac_prog; ac_word
=$2
5688 echo "$as_me:$LINENO: checking for $ac_word" >&5
5689 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
5690 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
5691 echo $ECHO_N "(cached) $ECHO_C" >&6
5693 if test -n "$ac_ct_CC"; then
5694 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
5696 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5700 test -z "$as_dir" && as_dir
=.
5701 for ac_exec_ext
in '' $ac_executable_extensions; do
5702 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5703 ac_cv_prog_ac_ct_CC
="$ac_prog"
5704 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5712 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
5713 if test -n "$ac_ct_CC"; then
5714 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
5715 echo "${ECHO_T}$ac_ct_CC" >&6
5717 echo "$as_me:$LINENO: result: no" >&5
5718 echo "${ECHO_T}no" >&6
5721 test -n "$ac_ct_CC" && break
5730 test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
5731 See \`config.log' for more details." >&5
5732 echo "$as_me: error: no acceptable C compiler found in \$PATH
5733 See \`config.log' for more details." >&2;}
5734 { (exit 1); exit 1; }; }
5736 # Provide some information about the compiler.
5737 echo "$as_me:$LINENO:" \
5738 "checking for C compiler version" >&5
5739 ac_compiler
=`set X $ac_compile; echo $2`
5740 { (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5
5741 (eval $ac_compiler --version </dev
/null
>&5) 2>&5
5743 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5744 (exit $ac_status); }
5745 { (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5
5746 (eval $ac_compiler -v </dev
/null
>&5) 2>&5
5748 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5749 (exit $ac_status); }
5750 { (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5
5751 (eval $ac_compiler -V </dev
/null
>&5) 2>&5
5753 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5754 (exit $ac_status); }
5756 echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
5757 echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6
5758 if test "${ac_cv_c_compiler_gnu+set}" = set; then
5759 echo $ECHO_N "(cached) $ECHO_C" >&6
5761 cat >conftest.
$ac_ext <<_ACEOF
5764 cat confdefs.h
>>conftest.
$ac_ext
5765 cat >>conftest.
$ac_ext <<_ACEOF
5766 /* end confdefs.h. */
5779 rm -f conftest.
$ac_objext
5780 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5781 (eval $ac_compile) 2>conftest.er1
5783 grep -v '^ *+' conftest.er1
>conftest.err
5785 cat conftest.err
>&5
5786 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5787 (exit $ac_status); } &&
5788 { ac_try
='test -z "$ac_c_werror_flag"
5789 || test ! -s conftest.err'
5790 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5793 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5794 (exit $ac_status); }; } &&
5795 { ac_try
='test -s conftest.$ac_objext'
5796 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5799 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5800 (exit $ac_status); }; }; then
5803 echo "$as_me: failed program was:" >&5
5804 sed 's/^/| /' conftest.
$ac_ext >&5
5808 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
5809 ac_cv_c_compiler_gnu
=$ac_compiler_gnu
5812 echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
5813 echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6
5814 GCC
=`test $ac_compiler_gnu = yes && echo yes`
5815 ac_test_CFLAGS
=${CFLAGS+set}
5816 ac_save_CFLAGS
=$CFLAGS
5818 echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
5819 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6
5820 if test "${ac_cv_prog_cc_g+set}" = set; then
5821 echo $ECHO_N "(cached) $ECHO_C" >&6
5823 cat >conftest.
$ac_ext <<_ACEOF
5826 cat confdefs.h
>>conftest.
$ac_ext
5827 cat >>conftest.
$ac_ext <<_ACEOF
5828 /* end confdefs.h. */
5838 rm -f conftest.
$ac_objext
5839 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5840 (eval $ac_compile) 2>conftest.er1
5842 grep -v '^ *+' conftest.er1
>conftest.err
5844 cat conftest.err
>&5
5845 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5846 (exit $ac_status); } &&
5847 { ac_try
='test -z "$ac_c_werror_flag"
5848 || test ! -s conftest.err'
5849 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5852 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5853 (exit $ac_status); }; } &&
5854 { ac_try
='test -s conftest.$ac_objext'
5855 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5858 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5859 (exit $ac_status); }; }; then
5862 echo "$as_me: failed program was:" >&5
5863 sed 's/^/| /' conftest.
$ac_ext >&5
5867 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
5869 echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
5870 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6
5871 if test "$ac_test_CFLAGS" = set; then
5872 CFLAGS
=$ac_save_CFLAGS
5873 elif test $ac_cv_prog_cc_g = yes; then
5874 if test "$GCC" = yes; then
5880 if test "$GCC" = yes; then
5886 echo "$as_me:$LINENO: checking for $CC option to accept ANSI C" >&5
5887 echo $ECHO_N "checking for $CC option to accept ANSI C... $ECHO_C" >&6
5888 if test "${ac_cv_prog_cc_stdc+set}" = set; then
5889 echo $ECHO_N "(cached) $ECHO_C" >&6
5891 ac_cv_prog_cc_stdc
=no
5893 cat >conftest.
$ac_ext <<_ACEOF
5896 cat confdefs.h
>>conftest.
$ac_ext
5897 cat >>conftest.
$ac_ext <<_ACEOF
5898 /* end confdefs.h. */
5901 #include <sys/types.h>
5902 #include <sys/stat.h>
5903 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
5904 struct buf { int x; };
5905 FILE * (*rcsopen) (struct buf *, struct stat *, int);
5906 static char *e (p, i)
5912 static char *f (char * (*g) (char **, int), char **p, ...)
5917 s = g (p, va_arg (v,int));
5922 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
5923 function prototypes and stuff, but not '\xHH' hex character constants.
5924 These don't provoke an error unfortunately, instead are silently treated
5925 as 'x'. The following induces an error, until -std1 is added to get
5926 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
5927 array size at least. It's necessary to write '\x00'==0 to get something
5928 that's true only with -std1. */
5929 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
5931 int test (int i, double x);
5932 struct s1 {int (*f) (int a);};
5933 struct s2 {int (*f) (double a);};
5934 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
5940 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
5945 # Don't try gcc -ansi; that turns off useful extensions and
5946 # breaks some systems' header files.
5947 # AIX -qlanglvl=ansi
5948 # Ultrix and OSF/1 -std1
5949 # HP-UX 10.20 and later -Ae
5950 # HP-UX older versions -Aa -D_HPUX_SOURCE
5951 # SVR4 -Xc -D__EXTENSIONS__
5952 for ac_arg
in "" -qlanglvl=ansi
-std1 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
5954 CC
="$ac_save_CC $ac_arg"
5955 rm -f conftest.
$ac_objext
5956 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5957 (eval $ac_compile) 2>conftest.er1
5959 grep -v '^ *+' conftest.er1
>conftest.err
5961 cat conftest.err
>&5
5962 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5963 (exit $ac_status); } &&
5964 { ac_try
='test -z "$ac_c_werror_flag"
5965 || test ! -s conftest.err'
5966 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5969 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5970 (exit $ac_status); }; } &&
5971 { ac_try
='test -s conftest.$ac_objext'
5972 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5975 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5976 (exit $ac_status); }; }; then
5977 ac_cv_prog_cc_stdc
=$ac_arg
5980 echo "$as_me: failed program was:" >&5
5981 sed 's/^/| /' conftest.
$ac_ext >&5
5984 rm -f conftest.err conftest.
$ac_objext
5986 rm -f conftest.
$ac_ext conftest.
$ac_objext
5991 case "x$ac_cv_prog_cc_stdc" in
5993 echo "$as_me:$LINENO: result: none needed" >&5
5994 echo "${ECHO_T}none needed" >&6 ;;
5996 echo "$as_me:$LINENO: result: $ac_cv_prog_cc_stdc" >&5
5997 echo "${ECHO_T}$ac_cv_prog_cc_stdc" >&6
5998 CC
="$CC $ac_cv_prog_cc_stdc" ;;
6001 # Some people use a C++ compiler to compile C. Since we use `exit',
6002 # in C++ we need to declare it. In case someone uses the same compiler
6003 # for both compiling C and C++ we need to have the C++ compiler decide
6004 # the declaration of exit, since it's the most demanding environment.
6005 cat >conftest.
$ac_ext <<_ACEOF
6010 rm -f conftest.
$ac_objext
6011 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6012 (eval $ac_compile) 2>conftest.er1
6014 grep -v '^ *+' conftest.er1
>conftest.err
6016 cat conftest.err
>&5
6017 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6018 (exit $ac_status); } &&
6019 { ac_try
='test -z "$ac_c_werror_flag"
6020 || test ! -s conftest.err'
6021 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6024 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6025 (exit $ac_status); }; } &&
6026 { ac_try
='test -s conftest.$ac_objext'
6027 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6030 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6031 (exit $ac_status); }; }; then
6032 for ac_declaration
in \
6034 'extern "C" void std::exit (int) throw (); using std::exit;' \
6035 'extern "C" void std::exit (int); using std::exit;' \
6036 'extern "C" void exit (int) throw ();' \
6037 'extern "C" void exit (int);' \
6040 cat >conftest.
$ac_ext <<_ACEOF
6043 cat confdefs.h
>>conftest.
$ac_ext
6044 cat >>conftest.
$ac_ext <<_ACEOF
6045 /* end confdefs.h. */
6056 rm -f conftest.
$ac_objext
6057 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6058 (eval $ac_compile) 2>conftest.er1
6060 grep -v '^ *+' conftest.er1
>conftest.err
6062 cat conftest.err
>&5
6063 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6064 (exit $ac_status); } &&
6065 { ac_try
='test -z "$ac_c_werror_flag"
6066 || test ! -s conftest.err'
6067 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6070 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6071 (exit $ac_status); }; } &&
6072 { ac_try
='test -s conftest.$ac_objext'
6073 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6076 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6077 (exit $ac_status); }; }; then
6080 echo "$as_me: failed program was:" >&5
6081 sed 's/^/| /' conftest.
$ac_ext >&5
6085 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
6086 cat >conftest.
$ac_ext <<_ACEOF
6089 cat confdefs.h
>>conftest.
$ac_ext
6090 cat >>conftest.
$ac_ext <<_ACEOF
6091 /* end confdefs.h. */
6101 rm -f conftest.
$ac_objext
6102 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6103 (eval $ac_compile) 2>conftest.er1
6105 grep -v '^ *+' conftest.er1
>conftest.err
6107 cat conftest.err
>&5
6108 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6109 (exit $ac_status); } &&
6110 { ac_try
='test -z "$ac_c_werror_flag"
6111 || test ! -s conftest.err'
6112 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6115 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6116 (exit $ac_status); }; } &&
6117 { ac_try
='test -s conftest.$ac_objext'
6118 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6121 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6122 (exit $ac_status); }; }; then
6125 echo "$as_me: failed program was:" >&5
6126 sed 's/^/| /' conftest.
$ac_ext >&5
6129 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
6132 if test -n "$ac_declaration"; then
6133 echo '#ifdef __cplusplus' >>confdefs.h
6134 echo $ac_declaration >>confdefs.h
6135 echo '#endif' >>confdefs.h
6139 echo "$as_me: failed program was:" >&5
6140 sed 's/^/| /' conftest.
$ac_ext >&5
6143 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
6145 ac_cpp
='$CPP $CPPFLAGS'
6146 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6147 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6148 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
6150 depcc
="$CC" am_compiler_list
=
6152 echo "$as_me:$LINENO: checking dependency style of $depcc" >&5
6153 echo $ECHO_N "checking dependency style of $depcc... $ECHO_C" >&6
6154 if test "${am_cv_CC_dependencies_compiler_type+set}" = set; then
6155 echo $ECHO_N "(cached) $ECHO_C" >&6
6157 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
6158 # We make a subdir and do the tests there. Otherwise we can end up
6159 # making bogus files that we don't know about and never remove. For
6160 # instance it was reported that on HP-UX the gcc test will end up
6161 # making a dummy file named `D' -- because `-MD' means `put the output
6164 # Copy depcomp to subdir because otherwise we won't find it if we're
6165 # using a relative directory.
6166 cp "$am_depcomp" conftest.dir
6168 # We will build objects and dependencies in a subdirectory because
6169 # it helps to detect inapplicable dependency modes. For instance
6170 # both Tru64's cc and ICC support -MD to output dependencies as a
6171 # side effect of compilation, but ICC will put the dependencies in
6172 # the current directory while Tru64 will put them in the object
6176 am_cv_CC_dependencies_compiler_type
=none
6177 if test "$am_compiler_list" = ""; then
6178 am_compiler_list
=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
6180 for depmode
in $am_compiler_list; do
6181 # Setup a source with many dependencies, because some compilers
6182 # like to wrap large dependency lists on column 80 (with \), and
6183 # we should not choose a depcomp mode which is confused by this.
6185 # We need to recreate these files for each test, as the compiler may
6186 # overwrite some of them when testing with obscure command lines.
6187 # This happens at least with the AIX C compiler.
6189 for i
in 1 2 3 4 5 6; do
6190 echo '#include "conftst'$i'.h"' >> sub
/conftest.c
6191 # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
6192 # Solaris 8's {/usr,}/bin/sh.
6193 touch sub
/conftst
$i.h
6195 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
6199 # after this tag, mechanisms are not by side-effect, so they'll
6200 # only be used when explicitly requested
6201 if test "x$enable_dependency_tracking" = xyes
; then
6209 # We check with `-c' and `-o' for the sake of the "dashmstdout"
6210 # mode. It turns out that the SunPro C++ compiler does not properly
6211 # handle `-M -o', and we need to detect this.
6212 if depmode
=$depmode \
6213 source=sub
/conftest.c object
=sub
/conftest.
${OBJEXT-o} \
6214 depfile
=sub
/conftest.Po tmpdepfile
=sub
/conftest.TPo \
6215 $SHELL .
/depcomp
$depcc -c -o sub
/conftest.
${OBJEXT-o} sub
/conftest.c \
6216 >/dev
/null
2>conftest.err
&&
6217 grep sub
/conftst6.h sub
/conftest.Po
> /dev
/null
2>&1 &&
6218 grep sub
/conftest.
${OBJEXT-o} sub
/conftest.Po
> /dev
/null
2>&1 &&
6219 ${MAKE-make} -s -f confmf
> /dev
/null
2>&1; then
6220 # icc doesn't choke on unknown options, it will just issue warnings
6221 # or remarks (even with -Werror). So we grep stderr for any message
6222 # that says an option was ignored or not supported.
6223 # When given -MP, icc 7.0 and 7.1 complain thusly:
6224 # icc: Command line warning: ignoring option '-M'; no argument required
6225 # The diagnosis changed in icc 8.0:
6226 # icc: Command line remark: option '-MP' not supported
6227 if (grep 'ignoring option' conftest.err ||
6228 grep 'not supported' conftest.err
) >/dev
/null
2>&1; then :; else
6229 am_cv_CC_dependencies_compiler_type
=$depmode
6238 am_cv_CC_dependencies_compiler_type
=none
6242 echo "$as_me:$LINENO: result: $am_cv_CC_dependencies_compiler_type" >&5
6243 echo "${ECHO_T}$am_cv_CC_dependencies_compiler_type" >&6
6244 CCDEPMODE
=depmode
=$am_cv_CC_dependencies_compiler_type
6249 test "x$enable_dependency_tracking" != xno \
6250 && test "$am_cv_CC_dependencies_compiler_type" = gcc3
; then
6252 am__fastdepCC_FALSE
='#'
6254 am__fastdepCC_TRUE
='#'
6255 am__fastdepCC_FALSE
=
6260 ac_cpp
='$CPP $CPPFLAGS'
6261 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6262 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6263 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
6264 echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5
6265 echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6
6266 # On Suns, sometimes $CPP names a directory.
6267 if test -n "$CPP" && test -d "$CPP"; then
6270 if test -z "$CPP"; then
6271 if test "${ac_cv_prog_CPP+set}" = set; then
6272 echo $ECHO_N "(cached) $ECHO_C" >&6
6274 # Double quotes because CPP needs to be expanded
6275 for CPP
in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
6278 for ac_c_preproc_warn_flag
in '' yes
6280 # Use a header file that comes with gcc, so configuring glibc
6281 # with a fresh cross-compiler works.
6282 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
6283 # <limits.h> exists even on freestanding compilers.
6284 # On the NeXT, cc -E runs the code through the compiler's parser,
6285 # not just through cpp. "Syntax error" is here to catch this case.
6286 cat >conftest.
$ac_ext <<_ACEOF
6289 cat confdefs.h
>>conftest.
$ac_ext
6290 cat >>conftest.
$ac_ext <<_ACEOF
6291 /* end confdefs.h. */
6293 # include <limits.h>
6295 # include <assert.h>
6299 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
6300 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
6302 grep -v '^ *+' conftest.er1
>conftest.err
6304 cat conftest.err
>&5
6305 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6306 (exit $ac_status); } >/dev
/null
; then
6307 if test -s conftest.err
; then
6308 ac_cpp_err
=$ac_c_preproc_warn_flag
6309 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
6316 if test -z "$ac_cpp_err"; then
6319 echo "$as_me: failed program was:" >&5
6320 sed 's/^/| /' conftest.
$ac_ext >&5
6322 # Broken: fails on valid input.
6325 rm -f conftest.err conftest.
$ac_ext
6327 # OK, works on sane cases. Now check whether non-existent headers
6328 # can be detected and how.
6329 cat >conftest.
$ac_ext <<_ACEOF
6332 cat confdefs.h
>>conftest.
$ac_ext
6333 cat >>conftest.
$ac_ext <<_ACEOF
6334 /* end confdefs.h. */
6335 #include <ac_nonexistent.h>
6337 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
6338 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
6340 grep -v '^ *+' conftest.er1
>conftest.err
6342 cat conftest.err
>&5
6343 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6344 (exit $ac_status); } >/dev
/null
; then
6345 if test -s conftest.err
; then
6346 ac_cpp_err
=$ac_c_preproc_warn_flag
6347 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
6354 if test -z "$ac_cpp_err"; then
6355 # Broken: success on invalid input.
6358 echo "$as_me: failed program was:" >&5
6359 sed 's/^/| /' conftest.
$ac_ext >&5
6361 # Passes both tests.
6365 rm -f conftest.err conftest.
$ac_ext
6368 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
6369 rm -f conftest.err conftest.
$ac_ext
6370 if $ac_preproc_ok; then
6382 echo "$as_me:$LINENO: result: $CPP" >&5
6383 echo "${ECHO_T}$CPP" >&6
6385 for ac_c_preproc_warn_flag
in '' yes
6387 # Use a header file that comes with gcc, so configuring glibc
6388 # with a fresh cross-compiler works.
6389 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
6390 # <limits.h> exists even on freestanding compilers.
6391 # On the NeXT, cc -E runs the code through the compiler's parser,
6392 # not just through cpp. "Syntax error" is here to catch this case.
6393 cat >conftest.
$ac_ext <<_ACEOF
6396 cat confdefs.h
>>conftest.
$ac_ext
6397 cat >>conftest.
$ac_ext <<_ACEOF
6398 /* end confdefs.h. */
6400 # include <limits.h>
6402 # include <assert.h>
6406 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
6407 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
6409 grep -v '^ *+' conftest.er1
>conftest.err
6411 cat conftest.err
>&5
6412 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6413 (exit $ac_status); } >/dev
/null
; then
6414 if test -s conftest.err
; then
6415 ac_cpp_err
=$ac_c_preproc_warn_flag
6416 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
6423 if test -z "$ac_cpp_err"; then
6426 echo "$as_me: failed program was:" >&5
6427 sed 's/^/| /' conftest.
$ac_ext >&5
6429 # Broken: fails on valid input.
6432 rm -f conftest.err conftest.
$ac_ext
6434 # OK, works on sane cases. Now check whether non-existent headers
6435 # can be detected and how.
6436 cat >conftest.
$ac_ext <<_ACEOF
6439 cat confdefs.h
>>conftest.
$ac_ext
6440 cat >>conftest.
$ac_ext <<_ACEOF
6441 /* end confdefs.h. */
6442 #include <ac_nonexistent.h>
6444 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
6445 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
6447 grep -v '^ *+' conftest.er1
>conftest.err
6449 cat conftest.err
>&5
6450 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6451 (exit $ac_status); } >/dev
/null
; then
6452 if test -s conftest.err
; then
6453 ac_cpp_err
=$ac_c_preproc_warn_flag
6454 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
6461 if test -z "$ac_cpp_err"; then
6462 # Broken: success on invalid input.
6465 echo "$as_me: failed program was:" >&5
6466 sed 's/^/| /' conftest.
$ac_ext >&5
6468 # Passes both tests.
6472 rm -f conftest.err conftest.
$ac_ext
6475 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
6476 rm -f conftest.err conftest.
$ac_ext
6477 if $ac_preproc_ok; then
6480 { { echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check
6481 See \`config.log' for more details." >&5
6482 echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check
6483 See \`config.log' for more details." >&2;}
6484 { (exit 1); exit 1; }; }
6488 ac_cpp
='$CPP $CPPFLAGS'
6489 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6490 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6491 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
6494 ac_cpp
='$CXXCPP $CPPFLAGS'
6495 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6496 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6497 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
6498 if test -n "$ac_tool_prefix"; then
6499 for ac_prog
in $CCC g
++ c
++ gpp aCC CC cxx cc
++ cl FCC KCC RCC xlC_r xlC
6501 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
6502 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
6503 echo "$as_me:$LINENO: checking for $ac_word" >&5
6504 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
6505 if test "${ac_cv_prog_CXX+set}" = set; then
6506 echo $ECHO_N "(cached) $ECHO_C" >&6
6508 if test -n "$CXX"; then
6509 ac_cv_prog_CXX
="$CXX" # Let the user override the test.
6511 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6515 test -z "$as_dir" && as_dir
=.
6516 for ac_exec_ext
in '' $ac_executable_extensions; do
6517 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6518 ac_cv_prog_CXX
="$ac_tool_prefix$ac_prog"
6519 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6528 if test -n "$CXX"; then
6529 echo "$as_me:$LINENO: result: $CXX" >&5
6530 echo "${ECHO_T}$CXX" >&6
6532 echo "$as_me:$LINENO: result: no" >&5
6533 echo "${ECHO_T}no" >&6
6536 test -n "$CXX" && break
6539 if test -z "$CXX"; then
6541 for ac_prog
in $CCC g
++ c
++ gpp aCC CC cxx cc
++ cl FCC KCC RCC xlC_r xlC
6543 # Extract the first word of "$ac_prog", so it can be a program name with args.
6544 set dummy
$ac_prog; ac_word
=$2
6545 echo "$as_me:$LINENO: checking for $ac_word" >&5
6546 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
6547 if test "${ac_cv_prog_ac_ct_CXX+set}" = set; then
6548 echo $ECHO_N "(cached) $ECHO_C" >&6
6550 if test -n "$ac_ct_CXX"; then
6551 ac_cv_prog_ac_ct_CXX
="$ac_ct_CXX" # Let the user override the test.
6553 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6557 test -z "$as_dir" && as_dir
=.
6558 for ac_exec_ext
in '' $ac_executable_extensions; do
6559 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6560 ac_cv_prog_ac_ct_CXX
="$ac_prog"
6561 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6569 ac_ct_CXX
=$ac_cv_prog_ac_ct_CXX
6570 if test -n "$ac_ct_CXX"; then
6571 echo "$as_me:$LINENO: result: $ac_ct_CXX" >&5
6572 echo "${ECHO_T}$ac_ct_CXX" >&6
6574 echo "$as_me:$LINENO: result: no" >&5
6575 echo "${ECHO_T}no" >&6
6578 test -n "$ac_ct_CXX" && break
6580 test -n "$ac_ct_CXX" || ac_ct_CXX
="g++"
6586 # Provide some information about the compiler.
6587 echo "$as_me:$LINENO:" \
6588 "checking for C++ compiler version" >&5
6589 ac_compiler
=`set X $ac_compile; echo $2`
6590 { (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5
6591 (eval $ac_compiler --version </dev
/null
>&5) 2>&5
6593 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6594 (exit $ac_status); }
6595 { (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5
6596 (eval $ac_compiler -v </dev
/null
>&5) 2>&5
6598 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6599 (exit $ac_status); }
6600 { (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5
6601 (eval $ac_compiler -V </dev
/null
>&5) 2>&5
6603 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6604 (exit $ac_status); }
6606 echo "$as_me:$LINENO: checking whether we are using the GNU C++ compiler" >&5
6607 echo $ECHO_N "checking whether we are using the GNU C++ compiler... $ECHO_C" >&6
6608 if test "${ac_cv_cxx_compiler_gnu+set}" = set; then
6609 echo $ECHO_N "(cached) $ECHO_C" >&6
6611 cat >conftest.
$ac_ext <<_ACEOF
6614 cat confdefs.h
>>conftest.
$ac_ext
6615 cat >>conftest.
$ac_ext <<_ACEOF
6616 /* end confdefs.h. */
6629 rm -f conftest.
$ac_objext
6630 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6631 (eval $ac_compile) 2>conftest.er1
6633 grep -v '^ *+' conftest.er1
>conftest.err
6635 cat conftest.err
>&5
6636 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6637 (exit $ac_status); } &&
6638 { ac_try
='test -z "$ac_cxx_werror_flag"
6639 || test ! -s conftest.err'
6640 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6643 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6644 (exit $ac_status); }; } &&
6645 { ac_try
='test -s conftest.$ac_objext'
6646 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6649 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6650 (exit $ac_status); }; }; then
6653 echo "$as_me: failed program was:" >&5
6654 sed 's/^/| /' conftest.
$ac_ext >&5
6658 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
6659 ac_cv_cxx_compiler_gnu
=$ac_compiler_gnu
6662 echo "$as_me:$LINENO: result: $ac_cv_cxx_compiler_gnu" >&5
6663 echo "${ECHO_T}$ac_cv_cxx_compiler_gnu" >&6
6664 GXX
=`test $ac_compiler_gnu = yes && echo yes`
6665 ac_test_CXXFLAGS
=${CXXFLAGS+set}
6666 ac_save_CXXFLAGS
=$CXXFLAGS
6668 echo "$as_me:$LINENO: checking whether $CXX accepts -g" >&5
6669 echo $ECHO_N "checking whether $CXX accepts -g... $ECHO_C" >&6
6670 if test "${ac_cv_prog_cxx_g+set}" = set; then
6671 echo $ECHO_N "(cached) $ECHO_C" >&6
6673 cat >conftest.
$ac_ext <<_ACEOF
6676 cat confdefs.h
>>conftest.
$ac_ext
6677 cat >>conftest.
$ac_ext <<_ACEOF
6678 /* end confdefs.h. */
6688 rm -f conftest.
$ac_objext
6689 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6690 (eval $ac_compile) 2>conftest.er1
6692 grep -v '^ *+' conftest.er1
>conftest.err
6694 cat conftest.err
>&5
6695 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6696 (exit $ac_status); } &&
6697 { ac_try
='test -z "$ac_cxx_werror_flag"
6698 || test ! -s conftest.err'
6699 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6702 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6703 (exit $ac_status); }; } &&
6704 { ac_try
='test -s conftest.$ac_objext'
6705 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6708 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6709 (exit $ac_status); }; }; then
6710 ac_cv_prog_cxx_g
=yes
6712 echo "$as_me: failed program was:" >&5
6713 sed 's/^/| /' conftest.
$ac_ext >&5
6717 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
6719 echo "$as_me:$LINENO: result: $ac_cv_prog_cxx_g" >&5
6720 echo "${ECHO_T}$ac_cv_prog_cxx_g" >&6
6721 if test "$ac_test_CXXFLAGS" = set; then
6722 CXXFLAGS
=$ac_save_CXXFLAGS
6723 elif test $ac_cv_prog_cxx_g = yes; then
6724 if test "$GXX" = yes; then
6730 if test "$GXX" = yes; then
6736 for ac_declaration
in \
6738 'extern "C" void std::exit (int) throw (); using std::exit;' \
6739 'extern "C" void std::exit (int); using std::exit;' \
6740 'extern "C" void exit (int) throw ();' \
6741 'extern "C" void exit (int);' \
6744 cat >conftest.
$ac_ext <<_ACEOF
6747 cat confdefs.h
>>conftest.
$ac_ext
6748 cat >>conftest.
$ac_ext <<_ACEOF
6749 /* end confdefs.h. */
6760 rm -f conftest.
$ac_objext
6761 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6762 (eval $ac_compile) 2>conftest.er1
6764 grep -v '^ *+' conftest.er1
>conftest.err
6766 cat conftest.err
>&5
6767 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6768 (exit $ac_status); } &&
6769 { ac_try
='test -z "$ac_cxx_werror_flag"
6770 || test ! -s conftest.err'
6771 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6774 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6775 (exit $ac_status); }; } &&
6776 { ac_try
='test -s conftest.$ac_objext'
6777 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6780 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6781 (exit $ac_status); }; }; then
6784 echo "$as_me: failed program was:" >&5
6785 sed 's/^/| /' conftest.
$ac_ext >&5
6789 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
6790 cat >conftest.
$ac_ext <<_ACEOF
6793 cat confdefs.h
>>conftest.
$ac_ext
6794 cat >>conftest.
$ac_ext <<_ACEOF
6795 /* end confdefs.h. */
6805 rm -f conftest.
$ac_objext
6806 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6807 (eval $ac_compile) 2>conftest.er1
6809 grep -v '^ *+' conftest.er1
>conftest.err
6811 cat conftest.err
>&5
6812 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6813 (exit $ac_status); } &&
6814 { ac_try
='test -z "$ac_cxx_werror_flag"
6815 || test ! -s conftest.err'
6816 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6819 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6820 (exit $ac_status); }; } &&
6821 { ac_try
='test -s conftest.$ac_objext'
6822 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6825 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6826 (exit $ac_status); }; }; then
6829 echo "$as_me: failed program was:" >&5
6830 sed 's/^/| /' conftest.
$ac_ext >&5
6833 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
6836 if test -n "$ac_declaration"; then
6837 echo '#ifdef __cplusplus' >>confdefs.h
6838 echo $ac_declaration >>confdefs.h
6839 echo '#endif' >>confdefs.h
6843 ac_cpp
='$CPP $CPPFLAGS'
6844 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6845 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6846 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
6848 depcc
="$CXX" am_compiler_list
=
6850 echo "$as_me:$LINENO: checking dependency style of $depcc" >&5
6851 echo $ECHO_N "checking dependency style of $depcc... $ECHO_C" >&6
6852 if test "${am_cv_CXX_dependencies_compiler_type+set}" = set; then
6853 echo $ECHO_N "(cached) $ECHO_C" >&6
6855 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
6856 # We make a subdir and do the tests there. Otherwise we can end up
6857 # making bogus files that we don't know about and never remove. For
6858 # instance it was reported that on HP-UX the gcc test will end up
6859 # making a dummy file named `D' -- because `-MD' means `put the output
6862 # Copy depcomp to subdir because otherwise we won't find it if we're
6863 # using a relative directory.
6864 cp "$am_depcomp" conftest.dir
6866 # We will build objects and dependencies in a subdirectory because
6867 # it helps to detect inapplicable dependency modes. For instance
6868 # both Tru64's cc and ICC support -MD to output dependencies as a
6869 # side effect of compilation, but ICC will put the dependencies in
6870 # the current directory while Tru64 will put them in the object
6874 am_cv_CXX_dependencies_compiler_type
=none
6875 if test "$am_compiler_list" = ""; then
6876 am_compiler_list
=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
6878 for depmode
in $am_compiler_list; do
6879 # Setup a source with many dependencies, because some compilers
6880 # like to wrap large dependency lists on column 80 (with \), and
6881 # we should not choose a depcomp mode which is confused by this.
6883 # We need to recreate these files for each test, as the compiler may
6884 # overwrite some of them when testing with obscure command lines.
6885 # This happens at least with the AIX C compiler.
6887 for i
in 1 2 3 4 5 6; do
6888 echo '#include "conftst'$i'.h"' >> sub
/conftest.c
6889 # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
6890 # Solaris 8's {/usr,}/bin/sh.
6891 touch sub
/conftst
$i.h
6893 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
6897 # after this tag, mechanisms are not by side-effect, so they'll
6898 # only be used when explicitly requested
6899 if test "x$enable_dependency_tracking" = xyes
; then
6907 # We check with `-c' and `-o' for the sake of the "dashmstdout"
6908 # mode. It turns out that the SunPro C++ compiler does not properly
6909 # handle `-M -o', and we need to detect this.
6910 if depmode
=$depmode \
6911 source=sub
/conftest.c object
=sub
/conftest.
${OBJEXT-o} \
6912 depfile
=sub
/conftest.Po tmpdepfile
=sub
/conftest.TPo \
6913 $SHELL .
/depcomp
$depcc -c -o sub
/conftest.
${OBJEXT-o} sub
/conftest.c \
6914 >/dev
/null
2>conftest.err
&&
6915 grep sub
/conftst6.h sub
/conftest.Po
> /dev
/null
2>&1 &&
6916 grep sub
/conftest.
${OBJEXT-o} sub
/conftest.Po
> /dev
/null
2>&1 &&
6917 ${MAKE-make} -s -f confmf
> /dev
/null
2>&1; then
6918 # icc doesn't choke on unknown options, it will just issue warnings
6919 # or remarks (even with -Werror). So we grep stderr for any message
6920 # that says an option was ignored or not supported.
6921 # When given -MP, icc 7.0 and 7.1 complain thusly:
6922 # icc: Command line warning: ignoring option '-M'; no argument required
6923 # The diagnosis changed in icc 8.0:
6924 # icc: Command line remark: option '-MP' not supported
6925 if (grep 'ignoring option' conftest.err ||
6926 grep 'not supported' conftest.err
) >/dev
/null
2>&1; then :; else
6927 am_cv_CXX_dependencies_compiler_type
=$depmode
6936 am_cv_CXX_dependencies_compiler_type
=none
6940 echo "$as_me:$LINENO: result: $am_cv_CXX_dependencies_compiler_type" >&5
6941 echo "${ECHO_T}$am_cv_CXX_dependencies_compiler_type" >&6
6942 CXXDEPMODE
=depmode
=$am_cv_CXX_dependencies_compiler_type
6947 test "x$enable_dependency_tracking" != xno \
6948 && test "$am_cv_CXX_dependencies_compiler_type" = gcc3
; then
6949 am__fastdepCXX_TRUE
=
6950 am__fastdepCXX_FALSE
='#'
6952 am__fastdepCXX_TRUE
='#'
6953 am__fastdepCXX_FALSE
=
6957 ac_cpp
='$CXXCPP $CPPFLAGS'
6958 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6959 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6960 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
6961 echo "$as_me:$LINENO: checking how to run the C++ preprocessor" >&5
6962 echo $ECHO_N "checking how to run the C++ preprocessor... $ECHO_C" >&6
6963 if test -z "$CXXCPP"; then
6964 if test "${ac_cv_prog_CXXCPP+set}" = set; then
6965 echo $ECHO_N "(cached) $ECHO_C" >&6
6967 # Double quotes because CXXCPP needs to be expanded
6968 for CXXCPP
in "$CXX -E" "/lib/cpp"
6971 for ac_cxx_preproc_warn_flag
in '' yes
6973 # Use a header file that comes with gcc, so configuring glibc
6974 # with a fresh cross-compiler works.
6975 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
6976 # <limits.h> exists even on freestanding compilers.
6977 # On the NeXT, cc -E runs the code through the compiler's parser,
6978 # not just through cpp. "Syntax error" is here to catch this case.
6979 cat >conftest.
$ac_ext <<_ACEOF
6982 cat confdefs.h
>>conftest.
$ac_ext
6983 cat >>conftest.
$ac_ext <<_ACEOF
6984 /* end confdefs.h. */
6986 # include <limits.h>
6988 # include <assert.h>
6992 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
6993 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
6995 grep -v '^ *+' conftest.er1
>conftest.err
6997 cat conftest.err
>&5
6998 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6999 (exit $ac_status); } >/dev
/null
; then
7000 if test -s conftest.err
; then
7001 ac_cpp_err
=$ac_cxx_preproc_warn_flag
7002 ac_cpp_err
=$ac_cpp_err$ac_cxx_werror_flag
7009 if test -z "$ac_cpp_err"; then
7012 echo "$as_me: failed program was:" >&5
7013 sed 's/^/| /' conftest.
$ac_ext >&5
7015 # Broken: fails on valid input.
7018 rm -f conftest.err conftest.
$ac_ext
7020 # OK, works on sane cases. Now check whether non-existent headers
7021 # can be detected and how.
7022 cat >conftest.
$ac_ext <<_ACEOF
7025 cat confdefs.h
>>conftest.
$ac_ext
7026 cat >>conftest.
$ac_ext <<_ACEOF
7027 /* end confdefs.h. */
7028 #include <ac_nonexistent.h>
7030 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
7031 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
7033 grep -v '^ *+' conftest.er1
>conftest.err
7035 cat conftest.err
>&5
7036 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7037 (exit $ac_status); } >/dev
/null
; then
7038 if test -s conftest.err
; then
7039 ac_cpp_err
=$ac_cxx_preproc_warn_flag
7040 ac_cpp_err
=$ac_cpp_err$ac_cxx_werror_flag
7047 if test -z "$ac_cpp_err"; then
7048 # Broken: success on invalid input.
7051 echo "$as_me: failed program was:" >&5
7052 sed 's/^/| /' conftest.
$ac_ext >&5
7054 # Passes both tests.
7058 rm -f conftest.err conftest.
$ac_ext
7061 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
7062 rm -f conftest.err conftest.
$ac_ext
7063 if $ac_preproc_ok; then
7068 ac_cv_prog_CXXCPP
=$CXXCPP
7071 CXXCPP
=$ac_cv_prog_CXXCPP
7073 ac_cv_prog_CXXCPP
=$CXXCPP
7075 echo "$as_me:$LINENO: result: $CXXCPP" >&5
7076 echo "${ECHO_T}$CXXCPP" >&6
7078 for ac_cxx_preproc_warn_flag
in '' yes
7080 # Use a header file that comes with gcc, so configuring glibc
7081 # with a fresh cross-compiler works.
7082 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
7083 # <limits.h> exists even on freestanding compilers.
7084 # On the NeXT, cc -E runs the code through the compiler's parser,
7085 # not just through cpp. "Syntax error" is here to catch this case.
7086 cat >conftest.
$ac_ext <<_ACEOF
7089 cat confdefs.h
>>conftest.
$ac_ext
7090 cat >>conftest.
$ac_ext <<_ACEOF
7091 /* end confdefs.h. */
7093 # include <limits.h>
7095 # include <assert.h>
7099 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
7100 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
7102 grep -v '^ *+' conftest.er1
>conftest.err
7104 cat conftest.err
>&5
7105 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7106 (exit $ac_status); } >/dev
/null
; then
7107 if test -s conftest.err
; then
7108 ac_cpp_err
=$ac_cxx_preproc_warn_flag
7109 ac_cpp_err
=$ac_cpp_err$ac_cxx_werror_flag
7116 if test -z "$ac_cpp_err"; then
7119 echo "$as_me: failed program was:" >&5
7120 sed 's/^/| /' conftest.
$ac_ext >&5
7122 # Broken: fails on valid input.
7125 rm -f conftest.err conftest.
$ac_ext
7127 # OK, works on sane cases. Now check whether non-existent headers
7128 # can be detected and how.
7129 cat >conftest.
$ac_ext <<_ACEOF
7132 cat confdefs.h
>>conftest.
$ac_ext
7133 cat >>conftest.
$ac_ext <<_ACEOF
7134 /* end confdefs.h. */
7135 #include <ac_nonexistent.h>
7137 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
7138 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
7140 grep -v '^ *+' conftest.er1
>conftest.err
7142 cat conftest.err
>&5
7143 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7144 (exit $ac_status); } >/dev
/null
; then
7145 if test -s conftest.err
; then
7146 ac_cpp_err
=$ac_cxx_preproc_warn_flag
7147 ac_cpp_err
=$ac_cpp_err$ac_cxx_werror_flag
7154 if test -z "$ac_cpp_err"; then
7155 # Broken: success on invalid input.
7158 echo "$as_me: failed program was:" >&5
7159 sed 's/^/| /' conftest.
$ac_ext >&5
7161 # Passes both tests.
7165 rm -f conftest.err conftest.
$ac_ext
7168 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
7169 rm -f conftest.err conftest.
$ac_ext
7170 if $ac_preproc_ok; then
7173 { { echo "$as_me:$LINENO: error: C++ preprocessor \"$CXXCPP\" fails sanity check
7174 See \`config.log' for more details." >&5
7175 echo "$as_me: error: C++ preprocessor \"$CXXCPP\" fails sanity check
7176 See \`config.log' for more details." >&2;}
7177 { (exit 1); exit 1; }; }
7181 ac_cpp
='$CPP $CPPFLAGS'
7182 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7183 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7184 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
7188 LIBTOOL_DEPS
=$LIBTOOL_DEPS" $ac_aux_dir/ltcf-cxx.sh"
7190 lt_save_CFLAGS
="$CFLAGS"
7191 AR
="$AR" LTCC
="$CC" CC
="$CXX" CXX
="$CXX" CFLAGS
="$CXXFLAGS" CPPFLAGS
="$CPPFLAGS" \
7192 MAGIC_CMD
="$MAGIC_CMD" LD
="$LD" LDFLAGS
="$LDFLAGS" LIBS
="$LIBS" \
7193 LN_S
="$LN_S" NM
="$NM" RANLIB
="$RANLIB" STRIP
="$STRIP" \
7194 AS
="$AS" DLLTOOL
="$DLLTOOL" OBJDUMP
="$OBJDUMP" \
7195 objext
="$OBJEXT" exeext
="$EXEEXT" reload_flag
="$reload_flag" \
7196 deplibs_check_method
="$deplibs_check_method" \
7197 file_magic_cmd
="$file_magic_cmd" \
7198 ${CONFIG_SHELL-/bin/sh} $ac_aux_dir/ltconfig
-o libtool
$libtool_flags \
7199 --build="$build" --add-tag=CXX
$ac_aux_dir/ltcf-cxx.sh
$host \
7200 ||
{ { echo "$as_me:$LINENO: error: libtool tag configuration failed" >&5
7201 echo "$as_me: error: libtool tag configuration failed" >&2;}
7202 { (exit 1); exit 1; }; }
7204 CFLAGS
="$lt_save_CFLAGS"
7206 # Redirect the config.log output again, so that the ltconfig log is not
7207 # clobbered by the next message.
7208 exec 5>>.
/config.log
7213 if test "x${COMPILE_JNI}" = xyes
; then
7214 echo "$as_me:$LINENO: checking for ANSI C header files" >&5
7215 echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6
7216 if test "${ac_cv_header_stdc+set}" = set; then
7217 echo $ECHO_N "(cached) $ECHO_C" >&6
7219 cat >conftest.
$ac_ext <<_ACEOF
7222 cat confdefs.h
>>conftest.
$ac_ext
7223 cat >>conftest.
$ac_ext <<_ACEOF
7224 /* end confdefs.h. */
7238 rm -f conftest.
$ac_objext
7239 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7240 (eval $ac_compile) 2>conftest.er1
7242 grep -v '^ *+' conftest.er1
>conftest.err
7244 cat conftest.err
>&5
7245 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7246 (exit $ac_status); } &&
7247 { ac_try
='test -z "$ac_c_werror_flag"
7248 || test ! -s conftest.err'
7249 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7252 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7253 (exit $ac_status); }; } &&
7254 { ac_try
='test -s conftest.$ac_objext'
7255 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7258 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7259 (exit $ac_status); }; }; then
7260 ac_cv_header_stdc
=yes
7262 echo "$as_me: failed program was:" >&5
7263 sed 's/^/| /' conftest.
$ac_ext >&5
7265 ac_cv_header_stdc
=no
7267 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
7269 if test $ac_cv_header_stdc = yes; then
7270 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
7271 cat >conftest.
$ac_ext <<_ACEOF
7274 cat confdefs.h
>>conftest.
$ac_ext
7275 cat >>conftest.
$ac_ext <<_ACEOF
7276 /* end confdefs.h. */
7280 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
7281 $EGREP "memchr" >/dev
/null
2>&1; then
7284 ac_cv_header_stdc
=no
7290 if test $ac_cv_header_stdc = yes; then
7291 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
7292 cat >conftest.
$ac_ext <<_ACEOF
7295 cat confdefs.h
>>conftest.
$ac_ext
7296 cat >>conftest.
$ac_ext <<_ACEOF
7297 /* end confdefs.h. */
7301 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
7302 $EGREP "free" >/dev
/null
2>&1; then
7305 ac_cv_header_stdc
=no
7311 if test $ac_cv_header_stdc = yes; then
7312 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
7313 if test "$cross_compiling" = yes; then
7316 cat >conftest.
$ac_ext <<_ACEOF
7319 cat confdefs.h
>>conftest.
$ac_ext
7320 cat >>conftest.
$ac_ext <<_ACEOF
7321 /* end confdefs.h. */
7323 #if ((' ' & 0x0FF) == 0x020)
7324 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
7325 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
7327 # define ISLOWER(c) \
7328 (('a' <= (c) && (c) <= 'i') \
7329 || ('j' <= (c) && (c) <= 'r') \
7330 || ('s' <= (c) && (c) <= 'z'))
7331 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
7334 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
7339 for (i = 0; i < 256; i++)
7340 if (XOR (islower (i), ISLOWER (i))
7341 || toupper (i) != TOUPPER (i))
7346 rm -f conftest
$ac_exeext
7347 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
7348 (eval $ac_link) 2>&5
7350 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7351 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
7352 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7355 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7356 (exit $ac_status); }; }; then
7359 echo "$as_me: program exited with status $ac_status" >&5
7360 echo "$as_me: failed program was:" >&5
7361 sed 's/^/| /' conftest.
$ac_ext >&5
7364 ac_cv_header_stdc
=no
7366 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
7370 echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
7371 echo "${ECHO_T}$ac_cv_header_stdc" >&6
7372 if test $ac_cv_header_stdc = yes; then
7374 cat >>confdefs.h
<<\_ACEOF
7375 #define STDC_HEADERS 1
7381 echo "$as_me:$LINENO: checking size of void *" >&5
7382 echo $ECHO_N "checking size of void *... $ECHO_C" >&6
7383 if test "${ac_cv_sizeof_void_p+set}" = set; then
7384 echo $ECHO_N "(cached) $ECHO_C" >&6
7386 for ac_size
in 4 8 1 2 16 12 ; do # List sizes in rough order of prevalence.
7387 cat >conftest.
$ac_ext <<_ACEOF
7390 cat confdefs.h
>>conftest.
$ac_ext
7391 cat >>conftest.
$ac_ext <<_ACEOF
7392 /* end confdefs.h. */
7393 #include "confdefs.h"
7394 #include <sys/types.h>
7400 switch (0) case 0: case (sizeof (void *) == $ac_size):;
7405 rm -f conftest.
$ac_objext
7406 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7407 (eval $ac_compile) 2>conftest.er1
7409 grep -v '^ *+' conftest.er1
>conftest.err
7411 cat conftest.err
>&5
7412 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7413 (exit $ac_status); } &&
7414 { ac_try
='test -z "$ac_c_werror_flag"
7415 || test ! -s conftest.err'
7416 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7419 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7420 (exit $ac_status); }; } &&
7421 { ac_try
='test -s conftest.$ac_objext'
7422 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7425 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7426 (exit $ac_status); }; }; then
7427 ac_cv_sizeof_void_p
=$ac_size
7429 echo "$as_me: failed program was:" >&5
7430 sed 's/^/| /' conftest.
$ac_ext >&5
7433 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
7434 if test x
$ac_cv_sizeof_void_p != x
; then break; fi
7439 if test x
$ac_cv_sizeof_void_p = x
; then
7440 { { echo "$as_me:$LINENO: error: cannot determine a size for void *" >&5
7441 echo "$as_me: error: cannot determine a size for void *" >&2;}
7442 { (exit 1); exit 1; }; }
7444 echo "$as_me:$LINENO: result: $ac_cv_sizeof_void_p" >&5
7445 echo "${ECHO_T}$ac_cv_sizeof_void_p" >&6
7447 cat >>confdefs.h
<<_ACEOF
7448 #define SIZEOF_VOID_P $ac_cv_sizeof_void_p
7453 echo "$as_me:$LINENO: checking whether byte ordering is bigendian" >&5
7454 echo $ECHO_N "checking whether byte ordering is bigendian... $ECHO_C" >&6
7455 if test "${ac_cv_c_bigendian+set}" = set; then
7456 echo $ECHO_N "(cached) $ECHO_C" >&6
7458 ac_cv_c_bigendian
=unknown
7459 # See if sys/param.h defines the BYTE_ORDER macro.
7460 cat >conftest.
$ac_ext <<_ACEOF
7463 cat confdefs.h
>>conftest.
$ac_ext
7464 cat >>conftest.
$ac_ext <<_ACEOF
7465 /* end confdefs.h. */
7466 #include <sys/types.h>
7467 #include <sys/param.h>
7472 #if !BYTE_ORDER || !BIG_ENDIAN || !LITTLE_ENDIAN
7479 rm -f conftest.
$ac_objext
7480 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7481 (eval $ac_compile) 2>conftest.er1
7483 grep -v '^ *+' conftest.er1
>conftest.err
7485 cat conftest.err
>&5
7486 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7487 (exit $ac_status); } &&
7488 { ac_try
='test -z "$ac_c_werror_flag"
7489 || test ! -s conftest.err'
7490 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7493 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7494 (exit $ac_status); }; } &&
7495 { ac_try
='test -s conftest.$ac_objext'
7496 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7499 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7500 (exit $ac_status); }; }; then
7501 # It does; now see whether it defined to BIG_ENDIAN or not.
7502 cat >conftest.
$ac_ext <<_ACEOF
7505 cat confdefs.h
>>conftest.
$ac_ext
7506 cat >>conftest.
$ac_ext <<_ACEOF
7507 /* end confdefs.h. */
7508 #include <sys/types.h>
7509 #include <sys/param.h>
7514 #if BYTE_ORDER != BIG_ENDIAN
7521 rm -f conftest.
$ac_objext
7522 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7523 (eval $ac_compile) 2>conftest.er1
7525 grep -v '^ *+' conftest.er1
>conftest.err
7527 cat conftest.err
>&5
7528 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7529 (exit $ac_status); } &&
7530 { ac_try
='test -z "$ac_c_werror_flag"
7531 || test ! -s conftest.err'
7532 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7535 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7536 (exit $ac_status); }; } &&
7537 { ac_try
='test -s conftest.$ac_objext'
7538 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7541 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7542 (exit $ac_status); }; }; then
7543 ac_cv_c_bigendian
=yes
7545 echo "$as_me: failed program was:" >&5
7546 sed 's/^/| /' conftest.
$ac_ext >&5
7548 ac_cv_c_bigendian
=no
7550 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
7552 echo "$as_me: failed program was:" >&5
7553 sed 's/^/| /' conftest.
$ac_ext >&5
7556 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
7557 if test $ac_cv_c_bigendian = unknown
; then
7558 if test "$cross_compiling" = yes; then
7559 echo $ac_n "cross-compiling... " 2>&6
7561 cat >conftest.
$ac_ext <<_ACEOF
7564 cat confdefs.h
>>conftest.
$ac_ext
7565 cat >>conftest.
$ac_ext <<_ACEOF
7566 /* end confdefs.h. */
7568 /* Are we little or big endian? From Harbison&Steele. */
7572 char c[sizeof (long)];
7575 exit (u.c[sizeof (long) - 1] == 1);
7578 rm -f conftest
$ac_exeext
7579 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
7580 (eval $ac_link) 2>&5
7582 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7583 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
7584 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7587 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7588 (exit $ac_status); }; }; then
7589 ac_cv_c_bigendian
=no
7591 echo "$as_me: program exited with status $ac_status" >&5
7592 echo "$as_me: failed program was:" >&5
7593 sed 's/^/| /' conftest.
$ac_ext >&5
7596 ac_cv_c_bigendian
=yes
7598 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
7602 echo "$as_me:$LINENO: result: $ac_cv_c_bigendian" >&5
7603 echo "${ECHO_T}$ac_cv_c_bigendian" >&6
7604 if test $ac_cv_c_bigendian = unknown
; then
7605 echo "$as_me:$LINENO: checking to probe for byte ordering" >&5
7606 echo $ECHO_N "checking to probe for byte ordering... $ECHO_C" >&6
7608 cat >conftest.c
<<EOF
7609 short ascii_mm[] = { 0x4249, 0x4765, 0x6E44, 0x6961, 0x6E53, 0x7953, 0 };
7610 short ascii_ii[] = { 0x694C, 0x5454, 0x656C, 0x6E45, 0x6944, 0x6E61, 0 };
7611 void _ascii() { char* s = (char*) ascii_mm; s = (char*) ascii_ii; }
7612 short ebcdic_ii[] = { 0x89D3, 0xE3E3, 0x8593, 0x95C5, 0x89C4, 0x9581, 0 };
7613 short ebcdic_mm[] = { 0xC2C9, 0xC785, 0x95C4, 0x8981, 0x95E2, 0xA8E2, 0 };
7614 void _ebcdic() { char* s = (char*) ebcdic_mm; s = (char*) ebcdic_ii; }
7615 int main() { _ascii (); _ebcdic (); return 0; }
7617 if test -f conftest.c
; then
7618 if ${CC-cc} ${CFLAGS} -c conftest.c
-o conftest.o
&& test -f conftest.o
; then
7619 if test `grep -l BIGenDianSyS conftest.o` ; then
7620 echo $ac_n ' big endian probe OK, ' 1>&6
7621 ac_cv_c_bigendian
=yes
7623 if test `grep -l LiTTleEnDian conftest.o` ; then
7624 echo $ac_n ' little endian probe OK, ' 1>&6
7625 if test $ac_cv_c_bigendian = yes ; then
7626 ac_cv_c_bigendian
=unknown
;
7628 ac_cv_c_bigendian
=no
7631 echo $ac_n 'guessing bigendian ... ' >&6
7634 echo "$as_me:$LINENO: result: $ac_cv_c_bigendian" >&5
7635 echo "${ECHO_T}$ac_cv_c_bigendian" >&6
7637 if test $ac_cv_c_bigendian = yes; then
7639 cat >>confdefs.h
<<\_ACEOF
7640 #define WORDS_BIGENDIAN 1
7644 cat >>confdefs.h
<<\_ACEOF
7645 #define HOST_WORDS_BIG_ENDIAN 1
7653 cat >>confdefs.h
<<_ACEOF
7654 #define BYTEORDER $BYTEORDER
7657 if test $ac_cv_c_bigendian = unknown
; then
7658 { { echo "$as_me:$LINENO: error: unknown endianess - sorry, please pre-set ac_cv_c_bigendian" >&5
7659 echo "$as_me: error: unknown endianess - sorry, please pre-set ac_cv_c_bigendian" >&2;}
7660 { (exit 1); exit 1; }; }
7679 for ac_header
in unistd.h sys
/types.h sys
/config.h sys
/ioctl.h \
7681 inttypes.h stdint.h utime.h sys
/utime.h sys
/filio.h \
7688 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
7689 if eval "test \"\${$as_ac_Header+set}\" = set"; then
7690 echo "$as_me:$LINENO: checking for $ac_header" >&5
7691 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
7692 if eval "test \"\${$as_ac_Header+set}\" = set"; then
7693 echo $ECHO_N "(cached) $ECHO_C" >&6
7695 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
7696 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
7698 # Is the header compilable?
7699 echo "$as_me:$LINENO: checking $ac_header usability" >&5
7700 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
7701 cat >conftest.
$ac_ext <<_ACEOF
7704 cat confdefs.h
>>conftest.
$ac_ext
7705 cat >>conftest.
$ac_ext <<_ACEOF
7706 /* end confdefs.h. */
7707 $ac_includes_default
7708 #include <$ac_header>
7710 rm -f conftest.
$ac_objext
7711 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7712 (eval $ac_compile) 2>conftest.er1
7714 grep -v '^ *+' conftest.er1
>conftest.err
7716 cat conftest.err
>&5
7717 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7718 (exit $ac_status); } &&
7719 { ac_try
='test -z "$ac_c_werror_flag"
7720 || test ! -s conftest.err'
7721 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7724 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7725 (exit $ac_status); }; } &&
7726 { ac_try
='test -s conftest.$ac_objext'
7727 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7730 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7731 (exit $ac_status); }; }; then
7732 ac_header_compiler
=yes
7734 echo "$as_me: failed program was:" >&5
7735 sed 's/^/| /' conftest.
$ac_ext >&5
7737 ac_header_compiler
=no
7739 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
7740 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
7741 echo "${ECHO_T}$ac_header_compiler" >&6
7743 # Is the header present?
7744 echo "$as_me:$LINENO: checking $ac_header presence" >&5
7745 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
7746 cat >conftest.
$ac_ext <<_ACEOF
7749 cat confdefs.h
>>conftest.
$ac_ext
7750 cat >>conftest.
$ac_ext <<_ACEOF
7751 /* end confdefs.h. */
7752 #include <$ac_header>
7754 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
7755 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
7757 grep -v '^ *+' conftest.er1
>conftest.err
7759 cat conftest.err
>&5
7760 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7761 (exit $ac_status); } >/dev
/null
; then
7762 if test -s conftest.err
; then
7763 ac_cpp_err
=$ac_c_preproc_warn_flag
7764 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
7771 if test -z "$ac_cpp_err"; then
7772 ac_header_preproc
=yes
7774 echo "$as_me: failed program was:" >&5
7775 sed 's/^/| /' conftest.
$ac_ext >&5
7777 ac_header_preproc
=no
7779 rm -f conftest.err conftest.
$ac_ext
7780 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
7781 echo "${ECHO_T}$ac_header_preproc" >&6
7783 # So? What about this header?
7784 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
7786 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
7787 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
7788 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
7789 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
7790 ac_header_preproc
=yes
7793 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
7794 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
7795 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
7796 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
7797 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
7798 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
7799 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
7800 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
7801 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
7802 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
7803 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
7804 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
7807 ## -------------------------------- ##
7808 ## Report this to classpath@gnu.org ##
7809 ## -------------------------------- ##
7812 sed "s/^/$as_me: WARNING: /" >&2
7815 echo "$as_me:$LINENO: checking for $ac_header" >&5
7816 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
7817 if eval "test \"\${$as_ac_Header+set}\" = set"; then
7818 echo $ECHO_N "(cached) $ECHO_C" >&6
7820 eval "$as_ac_Header=\$ac_header_preproc"
7822 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
7823 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
7826 if test `eval echo '${'$as_ac_Header'}'` = yes; then
7827 cat >>confdefs.h
<<_ACEOF
7828 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
7836 cat >conftest.
$ac_ext <<_ACEOF
7839 cat confdefs.h
>>conftest.
$ac_ext
7840 cat >>conftest.
$ac_ext <<_ACEOF
7841 /* end confdefs.h. */
7845 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
7846 $EGREP "uint32_t" >/dev
/null
2>&1; then
7848 cat >>confdefs.h
<<\_ACEOF
7849 #define HAVE_INT32_DEFINED 1
7855 cat >conftest.
$ac_ext <<_ACEOF
7858 cat confdefs.h
>>conftest.
$ac_ext
7859 cat >>conftest.
$ac_ext <<_ACEOF
7860 /* end confdefs.h. */
7861 #include <inttypes.h>
7864 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
7865 $EGREP "uint32_t" >/dev
/null
2>&1; then
7867 cat >>confdefs.h
<<\_ACEOF
7868 #define HAVE_INT32_DEFINED 1
7874 cat >conftest.
$ac_ext <<_ACEOF
7877 cat confdefs.h
>>conftest.
$ac_ext
7878 cat >>conftest.
$ac_ext <<_ACEOF
7879 /* end confdefs.h. */
7880 #include <sys/types.h>
7883 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
7884 $EGREP "u_int32_t" >/dev
/null
2>&1; then
7886 cat >>confdefs.h
<<\_ACEOF
7887 #define HAVE_BSD_INT32_DEFINED 1
7893 cat >conftest.
$ac_ext <<_ACEOF
7896 cat confdefs.h
>>conftest.
$ac_ext
7897 cat >>conftest.
$ac_ext <<_ACEOF
7898 /* end confdefs.h. */
7899 #include <sys/config.h>
7902 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
7903 $EGREP "u_int32_t" >/dev
/null
2>&1; then
7905 cat >>confdefs.h
<<\_ACEOF
7906 #define HAVE_BSD_INT32_DEFINED 1
7954 for ac_func
in ftruncate fsync
select \
7955 gethostname socket strerror fork pipe execve open close \
7956 lseek fstat
read write htonl memset htons connect \
7957 getsockname getpeername
bind listen accept \
7958 recvfrom send sendto setsockopt getsockopt
time mktime \
7962 mmap munmap mincore msync madvise getpagesize sysconf
7964 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
7965 echo "$as_me:$LINENO: checking for $ac_func" >&5
7966 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
7967 if eval "test \"\${$as_ac_var+set}\" = set"; then
7968 echo $ECHO_N "(cached) $ECHO_C" >&6
7970 cat >conftest.
$ac_ext <<_ACEOF
7973 cat confdefs.h
>>conftest.
$ac_ext
7974 cat >>conftest.
$ac_ext <<_ACEOF
7975 /* end confdefs.h. */
7976 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
7977 For example, HP-UX 11i <limits.h> declares gettimeofday. */
7978 #define $ac_func innocuous_$ac_func
7980 /* System header to define __stub macros and hopefully few prototypes,
7981 which can conflict with char $ac_func (); below.
7982 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
7983 <limits.h> exists even on freestanding compilers. */
7986 # include <limits.h>
7988 # include <assert.h>
7993 /* Override any gcc2 internal prototype to avoid an error. */
7998 /* We use char because int might match the return type of a gcc2
7999 builtin and then its argument prototype would still apply. */
8001 /* The GNU C library defines this for functions which it implements
8002 to always fail with ENOSYS. Some functions are actually named
8003 something starting with __ and the normal name is an alias. */
8004 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
8007 char (*f) () = $ac_func;
8016 return f != $ac_func;
8021 rm -f conftest.
$ac_objext conftest
$ac_exeext
8022 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8023 (eval $ac_link) 2>conftest.er1
8025 grep -v '^ *+' conftest.er1
>conftest.err
8027 cat conftest.err
>&5
8028 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8029 (exit $ac_status); } &&
8030 { ac_try
='test -z "$ac_c_werror_flag"
8031 || test ! -s conftest.err'
8032 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8035 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8036 (exit $ac_status); }; } &&
8037 { ac_try
='test -s conftest$ac_exeext'
8038 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8041 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8042 (exit $ac_status); }; }; then
8043 eval "$as_ac_var=yes"
8045 echo "$as_me: failed program was:" >&5
8046 sed 's/^/| /' conftest.
$ac_ext >&5
8048 eval "$as_ac_var=no"
8050 rm -f conftest.err conftest.
$ac_objext \
8051 conftest
$ac_exeext conftest.
$ac_ext
8053 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
8054 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
8055 if test `eval echo '${'$as_ac_var'}'` = yes; then
8056 cat >>confdefs.h
<<_ACEOF
8057 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
8064 echo "$as_me:$LINENO: checking whether time.h and sys/time.h may both be included" >&5
8065 echo $ECHO_N "checking whether time.h and sys/time.h may both be included... $ECHO_C" >&6
8066 if test "${ac_cv_header_time+set}" = set; then
8067 echo $ECHO_N "(cached) $ECHO_C" >&6
8069 cat >conftest.
$ac_ext <<_ACEOF
8072 cat confdefs.h
>>conftest.
$ac_ext
8073 cat >>conftest.
$ac_ext <<_ACEOF
8074 /* end confdefs.h. */
8075 #include <sys/types.h>
8076 #include <sys/time.h>
8082 if ((struct tm *) 0)
8088 rm -f conftest.
$ac_objext
8089 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
8090 (eval $ac_compile) 2>conftest.er1
8092 grep -v '^ *+' conftest.er1
>conftest.err
8094 cat conftest.err
>&5
8095 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8096 (exit $ac_status); } &&
8097 { ac_try
='test -z "$ac_c_werror_flag"
8098 || test ! -s conftest.err'
8099 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8102 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8103 (exit $ac_status); }; } &&
8104 { ac_try
='test -s conftest.$ac_objext'
8105 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8108 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8109 (exit $ac_status); }; }; then
8110 ac_cv_header_time
=yes
8112 echo "$as_me: failed program was:" >&5
8113 sed 's/^/| /' conftest.
$ac_ext >&5
8115 ac_cv_header_time
=no
8117 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
8119 echo "$as_me:$LINENO: result: $ac_cv_header_time" >&5
8120 echo "${ECHO_T}$ac_cv_header_time" >&6
8121 if test $ac_cv_header_time = yes; then
8123 cat >>confdefs.h
<<\_ACEOF
8124 #define TIME_WITH_SYS_TIME 1
8129 echo "$as_me:$LINENO: checking whether struct tm is in sys/time.h or time.h" >&5
8130 echo $ECHO_N "checking whether struct tm is in sys/time.h or time.h... $ECHO_C" >&6
8131 if test "${ac_cv_struct_tm+set}" = set; then
8132 echo $ECHO_N "(cached) $ECHO_C" >&6
8134 cat >conftest.
$ac_ext <<_ACEOF
8137 cat confdefs.h
>>conftest.
$ac_ext
8138 cat >>conftest.
$ac_ext <<_ACEOF
8139 /* end confdefs.h. */
8140 #include <sys/types.h>
8146 struct tm *tp; tp->tm_sec;
8151 rm -f conftest.
$ac_objext
8152 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
8153 (eval $ac_compile) 2>conftest.er1
8155 grep -v '^ *+' conftest.er1
>conftest.err
8157 cat conftest.err
>&5
8158 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8159 (exit $ac_status); } &&
8160 { ac_try
='test -z "$ac_c_werror_flag"
8161 || test ! -s conftest.err'
8162 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8165 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8166 (exit $ac_status); }; } &&
8167 { ac_try
='test -s conftest.$ac_objext'
8168 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8171 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8172 (exit $ac_status); }; }; then
8173 ac_cv_struct_tm
=time.h
8175 echo "$as_me: failed program was:" >&5
8176 sed 's/^/| /' conftest.
$ac_ext >&5
8178 ac_cv_struct_tm
=sys
/time.h
8180 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
8182 echo "$as_me:$LINENO: result: $ac_cv_struct_tm" >&5
8183 echo "${ECHO_T}$ac_cv_struct_tm" >&6
8184 if test $ac_cv_struct_tm = sys
/time.h
; then
8186 cat >>confdefs.h
<<\_ACEOF
8187 #define TM_IN_SYS_TIME 1
8192 echo "$as_me:$LINENO: checking for struct tm.tm_zone" >&5
8193 echo $ECHO_N "checking for struct tm.tm_zone... $ECHO_C" >&6
8194 if test "${ac_cv_member_struct_tm_tm_zone+set}" = set; then
8195 echo $ECHO_N "(cached) $ECHO_C" >&6
8197 cat >conftest.
$ac_ext <<_ACEOF
8200 cat confdefs.h
>>conftest.
$ac_ext
8201 cat >>conftest.
$ac_ext <<_ACEOF
8202 /* end confdefs.h. */
8203 #include <sys/types.h>
8204 #include <$ac_cv_struct_tm>
8210 static struct tm ac_aggr;
8211 if (ac_aggr.tm_zone)
8217 rm -f conftest.
$ac_objext
8218 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
8219 (eval $ac_compile) 2>conftest.er1
8221 grep -v '^ *+' conftest.er1
>conftest.err
8223 cat conftest.err
>&5
8224 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8225 (exit $ac_status); } &&
8226 { ac_try
='test -z "$ac_c_werror_flag"
8227 || test ! -s conftest.err'
8228 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8231 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8232 (exit $ac_status); }; } &&
8233 { ac_try
='test -s conftest.$ac_objext'
8234 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8237 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8238 (exit $ac_status); }; }; then
8239 ac_cv_member_struct_tm_tm_zone
=yes
8241 echo "$as_me: failed program was:" >&5
8242 sed 's/^/| /' conftest.
$ac_ext >&5
8244 cat >conftest.
$ac_ext <<_ACEOF
8247 cat confdefs.h
>>conftest.
$ac_ext
8248 cat >>conftest.
$ac_ext <<_ACEOF
8249 /* end confdefs.h. */
8250 #include <sys/types.h>
8251 #include <$ac_cv_struct_tm>
8257 static struct tm ac_aggr;
8258 if (sizeof ac_aggr.tm_zone)
8264 rm -f conftest.
$ac_objext
8265 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
8266 (eval $ac_compile) 2>conftest.er1
8268 grep -v '^ *+' conftest.er1
>conftest.err
8270 cat conftest.err
>&5
8271 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8272 (exit $ac_status); } &&
8273 { ac_try
='test -z "$ac_c_werror_flag"
8274 || test ! -s conftest.err'
8275 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8278 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8279 (exit $ac_status); }; } &&
8280 { ac_try
='test -s conftest.$ac_objext'
8281 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8284 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8285 (exit $ac_status); }; }; then
8286 ac_cv_member_struct_tm_tm_zone
=yes
8288 echo "$as_me: failed program was:" >&5
8289 sed 's/^/| /' conftest.
$ac_ext >&5
8291 ac_cv_member_struct_tm_tm_zone
=no
8293 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
8295 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
8297 echo "$as_me:$LINENO: result: $ac_cv_member_struct_tm_tm_zone" >&5
8298 echo "${ECHO_T}$ac_cv_member_struct_tm_tm_zone" >&6
8299 if test $ac_cv_member_struct_tm_tm_zone = yes; then
8301 cat >>confdefs.h
<<_ACEOF
8302 #define HAVE_STRUCT_TM_TM_ZONE 1
8308 if test "$ac_cv_member_struct_tm_tm_zone" = yes; then
8310 cat >>confdefs.h
<<\_ACEOF
8311 #define HAVE_TM_ZONE 1
8315 echo "$as_me:$LINENO: checking for tzname" >&5
8316 echo $ECHO_N "checking for tzname... $ECHO_C" >&6
8317 if test "${ac_cv_var_tzname+set}" = set; then
8318 echo $ECHO_N "(cached) $ECHO_C" >&6
8320 cat >conftest.
$ac_ext <<_ACEOF
8323 cat confdefs.h
>>conftest.
$ac_ext
8324 cat >>conftest.
$ac_ext <<_ACEOF
8325 /* end confdefs.h. */
8327 #ifndef tzname /* For SGI. */
8328 extern char *tzname[]; /* RS6000 and others reject char **tzname. */
8339 rm -f conftest.
$ac_objext conftest
$ac_exeext
8340 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8341 (eval $ac_link) 2>conftest.er1
8343 grep -v '^ *+' conftest.er1
>conftest.err
8345 cat conftest.err
>&5
8346 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8347 (exit $ac_status); } &&
8348 { ac_try
='test -z "$ac_c_werror_flag"
8349 || test ! -s conftest.err'
8350 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8353 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8354 (exit $ac_status); }; } &&
8355 { ac_try
='test -s conftest$ac_exeext'
8356 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8359 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8360 (exit $ac_status); }; }; then
8361 ac_cv_var_tzname
=yes
8363 echo "$as_me: failed program was:" >&5
8364 sed 's/^/| /' conftest.
$ac_ext >&5
8368 rm -f conftest.err conftest.
$ac_objext \
8369 conftest
$ac_exeext conftest.
$ac_ext
8371 echo "$as_me:$LINENO: result: $ac_cv_var_tzname" >&5
8372 echo "${ECHO_T}$ac_cv_var_tzname" >&6
8373 if test $ac_cv_var_tzname = yes; then
8375 cat >>confdefs.h
<<\_ACEOF
8376 #define HAVE_TZNAME 1
8383 echo "$as_me:$LINENO: checking for tm_gmtoff in struct tm" >&5
8384 echo $ECHO_N "checking for tm_gmtoff in struct tm... $ECHO_C" >&6
8385 cat >conftest.
$ac_ext <<_ACEOF
8388 cat confdefs.h
>>conftest.
$ac_ext
8389 cat >>conftest.
$ac_ext <<_ACEOF
8390 /* end confdefs.h. */
8395 struct tm tim; tim.tm_gmtoff = 0;
8400 rm -f conftest.
$ac_objext
8401 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
8402 (eval $ac_compile) 2>conftest.er1
8404 grep -v '^ *+' conftest.er1
>conftest.err
8406 cat conftest.err
>&5
8407 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8408 (exit $ac_status); } &&
8409 { ac_try
='test -z "$ac_c_werror_flag"
8410 || test ! -s conftest.err'
8411 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8414 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8415 (exit $ac_status); }; } &&
8416 { ac_try
='test -s conftest.$ac_objext'
8417 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8420 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8421 (exit $ac_status); }; }; then
8423 cat >>confdefs.h
<<\_ACEOF
8424 #define STRUCT_TM_HAS_GMTOFF 1
8427 echo "$as_me:$LINENO: result: yes" >&5
8428 echo "${ECHO_T}yes" >&6
8430 echo "$as_me: failed program was:" >&5
8431 sed 's/^/| /' conftest.
$ac_ext >&5
8433 echo "$as_me:$LINENO: result: no" >&5
8434 echo "${ECHO_T}no" >&6
8435 echo "$as_me:$LINENO: checking for global timezone variable" >&5
8436 echo $ECHO_N "checking for global timezone variable... $ECHO_C" >&6
8437 cat >conftest.
$ac_ext <<_ACEOF
8440 cat confdefs.h
>>conftest.
$ac_ext
8441 cat >>conftest.
$ac_ext <<_ACEOF
8442 /* end confdefs.h. */
8447 void i(){long z2 = 2*timezone;}
8452 rm -f conftest.
$ac_objext
8453 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
8454 (eval $ac_compile) 2>conftest.er1
8456 grep -v '^ *+' conftest.er1
>conftest.err
8458 cat conftest.err
>&5
8459 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8460 (exit $ac_status); } &&
8461 { ac_try
='test -z "$ac_c_werror_flag"
8462 || test ! -s conftest.err'
8463 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8466 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8467 (exit $ac_status); }; } &&
8468 { ac_try
='test -s conftest.$ac_objext'
8469 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8472 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8473 (exit $ac_status); }; }; then
8475 cat >>confdefs.h
<<\_ACEOF
8476 #define HAVE_TIMEZONE 1
8479 echo "$as_me:$LINENO: result: yes" >&5
8480 echo "${ECHO_T}yes" >&6
8482 echo "$as_me: failed program was:" >&5
8483 sed 's/^/| /' conftest.
$ac_ext >&5
8485 echo "$as_me:$LINENO: result: no" >&5
8486 echo "${ECHO_T}no" >&6
8487 echo "$as_me:$LINENO: checking for global _timezone variable" >&5
8488 echo $ECHO_N "checking for global _timezone variable... $ECHO_C" >&6
8489 cat >conftest.
$ac_ext <<_ACEOF
8492 cat confdefs.h
>>conftest.
$ac_ext
8493 cat >>conftest.
$ac_ext <<_ACEOF
8494 /* end confdefs.h. */
8499 long z2 = _timezone;
8504 rm -f conftest.
$ac_objext
8505 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
8506 (eval $ac_compile) 2>conftest.er1
8508 grep -v '^ *+' conftest.er1
>conftest.err
8510 cat conftest.err
>&5
8511 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8512 (exit $ac_status); } &&
8513 { ac_try
='test -z "$ac_c_werror_flag"
8514 || test ! -s conftest.err'
8515 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8518 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8519 (exit $ac_status); }; } &&
8520 { ac_try
='test -s conftest.$ac_objext'
8521 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8524 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8525 (exit $ac_status); }; }; then
8527 cat >>confdefs.h
<<\_ACEOF
8528 #define HAVE_UNDERSCORE_TIMEZONE 1
8531 echo "$as_me:$LINENO: result: yes" >&5
8532 echo "${ECHO_T}yes" >&6
8534 echo "$as_me: failed program was:" >&5
8535 sed 's/^/| /' conftest.
$ac_ext >&5
8537 echo "$as_me:$LINENO: result: no" >&5
8538 echo "${ECHO_T}no" >&6
8540 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
8542 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
8544 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
8546 echo "$as_me:$LINENO: checking for an ANSI C-conforming const" >&5
8547 echo $ECHO_N "checking for an ANSI C-conforming const... $ECHO_C" >&6
8548 if test "${ac_cv_c_const+set}" = set; then
8549 echo $ECHO_N "(cached) $ECHO_C" >&6
8551 cat >conftest.
$ac_ext <<_ACEOF
8554 cat confdefs.h
>>conftest.
$ac_ext
8555 cat >>conftest.
$ac_ext <<_ACEOF
8556 /* end confdefs.h. */
8561 /* FIXME: Include the comments suggested by Paul. */
8563 /* Ultrix mips cc rejects this. */
8564 typedef int charset[2];
8566 /* SunOS 4.1.1 cc rejects this. */
8567 char const *const *ccp;
8569 /* NEC SVR4.0.2 mips cc rejects this. */
8570 struct point {int x, y;};
8571 static struct point const zero = {0,0};
8572 /* AIX XL C 1.02.0.0 rejects this.
8573 It does not let you subtract one const X* pointer from another in
8574 an arm of an if-expression whose if-part is not a constant
8576 const char *g = "string";
8577 ccp = &g + (g ? g-g : 0);
8578 /* HPUX 7.0 cc rejects these. */
8581 ccp = (char const *const *) p;
8582 { /* SCO 3.2v4 cc rejects this. */
8584 char const *s = 0 ? (char *) 0 : (char const *) 0;
8588 { /* Someone thinks the Sun supposedly-ANSI compiler will reject this. */
8590 const int *foo = &x[0];
8593 { /* Sun SC1.0 ANSI compiler rejects this -- but not the above. */
8594 typedef const int *iptr;
8598 { /* AIX XL C 1.02.0.0 rejects this saying
8599 "k.c", line 2.27: 1506-025 (S) Operand must be a modifiable lvalue. */
8600 struct s { int j; const int *ap[3]; };
8601 struct s *b; b->j = 5;
8603 { /* ULTRIX-32 V3.1 (Rev 9) vcc rejects this */
8612 rm -f conftest.
$ac_objext
8613 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
8614 (eval $ac_compile) 2>conftest.er1
8616 grep -v '^ *+' conftest.er1
>conftest.err
8618 cat conftest.err
>&5
8619 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8620 (exit $ac_status); } &&
8621 { ac_try
='test -z "$ac_c_werror_flag"
8622 || test ! -s conftest.err'
8623 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8626 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8627 (exit $ac_status); }; } &&
8628 { ac_try
='test -s conftest.$ac_objext'
8629 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8632 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8633 (exit $ac_status); }; }; then
8636 echo "$as_me: failed program was:" >&5
8637 sed 's/^/| /' conftest.
$ac_ext >&5
8641 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
8643 echo "$as_me:$LINENO: result: $ac_cv_c_const" >&5
8644 echo "${ECHO_T}$ac_cv_c_const" >&6
8645 if test $ac_cv_c_const = no
; then
8647 cat >>confdefs.h
<<\_ACEOF
8653 echo "$as_me:$LINENO: checking for __attribute__" >&5
8654 echo $ECHO_N "checking for __attribute__... $ECHO_C" >&6
8655 if test "${ac_cv_c_attribute+set}" = set; then
8656 echo $ECHO_N "(cached) $ECHO_C" >&6
8659 cat >conftest.
$ac_ext <<_ACEOF
8662 cat confdefs.h
>>conftest.
$ac_ext
8663 cat >>conftest.
$ac_ext <<_ACEOF
8664 /* end confdefs.h. */
8665 void foo(void) __attribute__ ((__noreturn__));
8668 rm -f conftest.
$ac_objext
8669 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
8670 (eval $ac_compile) 2>conftest.er1
8672 grep -v '^ *+' conftest.er1
>conftest.err
8674 cat conftest.err
>&5
8675 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8676 (exit $ac_status); } &&
8677 { ac_try
='test -z "$ac_c_werror_flag"
8678 || test ! -s conftest.err'
8679 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8682 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8683 (exit $ac_status); }; } &&
8684 { ac_try
='test -s conftest.$ac_objext'
8685 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8688 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8689 (exit $ac_status); }; }; then
8690 ac_cv_c_attribute
=yes
8692 echo "$as_me: failed program was:" >&5
8693 sed 's/^/| /' conftest.
$ac_ext >&5
8695 ac_cv_c_attribute
=no
8698 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
8701 echo "$as_me:$LINENO: result: $ac_cv_c_attribute" >&5
8702 echo "${ECHO_T}$ac_cv_c_attribute" >&6
8705 case $ac_cv_c_attribute in
8708 cat >>confdefs.h
<<_ACEOF
8709 #define __attribute__(x) /* nothing */
8716 if test "X$prefix" = "XNONE"; then
8717 acl_final_prefix
="$ac_default_prefix"
8719 acl_final_prefix
="$prefix"
8721 if test "X$exec_prefix" = "XNONE"; then
8722 acl_final_exec_prefix
='${prefix}'
8724 acl_final_exec_prefix
="$exec_prefix"
8726 acl_save_prefix
="$prefix"
8727 prefix
="$acl_final_prefix"
8728 eval acl_final_exec_prefix
=\"$acl_final_exec_prefix\"
8729 prefix
="$acl_save_prefix"
8732 # Check whether --with-gnu-ld or --without-gnu-ld was given.
8733 if test "${with_gnu_ld+set}" = set; then
8734 withval
="$with_gnu_ld"
8735 test "$withval" = no || with_gnu_ld
=yes
8739 # Prepare PATH_SEPARATOR.
8740 # The user is always right.
8741 if test "${PATH_SEPARATOR+set}" != set; then
8742 echo "#! /bin/sh" >conf$$.sh
8743 echo "exit 0" >>conf$$.sh
8745 if (PATH
="/nonexistent;."; conf$$.sh
) >/dev
/null
2>&1; then
8753 if test "$GCC" = yes; then
8754 # Check if gcc -print-prog-name=ld gives a path.
8755 echo "$as_me:$LINENO: checking for ld used by GCC" >&5
8756 echo $ECHO_N "checking for ld used by GCC... $ECHO_C" >&6
8759 # gcc leaves a trailing carriage return which upsets mingw
8760 ac_prog
=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
8762 ac_prog
=`($CC -print-prog-name=ld) 2>&5` ;;
8765 # Accept absolute paths.
8766 [\\/]* |
[A-Za-z
]:[\\/]*)
8767 re_direlt
='/[^/][^/]*/\.\./'
8768 # Canonicalize the path of ld
8769 ac_prog
=`echo $ac_prog| sed 's%\\\\%/%g'`
8770 while echo $ac_prog |
grep "$re_direlt" > /dev
/null
2>&1; do
8771 ac_prog
=`echo $ac_prog| sed "s%$re_direlt%/%"`
8773 test -z "$LD" && LD
="$ac_prog"
8776 # If it fails, then pretend we aren't using GCC.
8780 # If it is relative, then search for the first ld in PATH.
8784 elif test "$with_gnu_ld" = yes; then
8785 echo "$as_me:$LINENO: checking for GNU ld" >&5
8786 echo $ECHO_N "checking for GNU ld... $ECHO_C" >&6
8788 echo "$as_me:$LINENO: checking for non-GNU ld" >&5
8789 echo $ECHO_N "checking for non-GNU ld... $ECHO_C" >&6
8791 if test "${acl_cv_path_LD+set}" = set; then
8792 echo $ECHO_N "(cached) $ECHO_C" >&6
8794 if test -z "$LD"; then
8795 IFS
="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}${PATH_SEPARATOR-:}"
8796 for ac_dir
in $PATH; do
8797 test -z "$ac_dir" && ac_dir
=.
8798 if test -f "$ac_dir/$ac_prog" ||
test -f "$ac_dir/$ac_prog$ac_exeext"; then
8799 acl_cv_path_LD
="$ac_dir/$ac_prog"
8800 # Check to see if the program is GNU ld. I'd rather use --version,
8801 # but apparently some GNU ld's only accept -v.
8802 # Break only if it was the GNU/non-GNU ld that we prefer.
8803 if "$acl_cv_path_LD" -v 2>&1 < /dev
/null |
egrep '(GNU|with BFD)' > /dev
/null
; then
8804 test "$with_gnu_ld" != no
&& break
8806 test "$with_gnu_ld" != yes && break
8812 acl_cv_path_LD
="$LD" # Let the user override the test with a path.
8816 LD
="$acl_cv_path_LD"
8817 if test -n "$LD"; then
8818 echo "$as_me:$LINENO: result: $LD" >&5
8819 echo "${ECHO_T}$LD" >&6
8821 echo "$as_me:$LINENO: result: no" >&5
8822 echo "${ECHO_T}no" >&6
8824 test -z "$LD" && { { echo "$as_me:$LINENO: error: no acceptable ld found in \$PATH" >&5
8825 echo "$as_me: error: no acceptable ld found in \$PATH" >&2;}
8826 { (exit 1); exit 1; }; }
8827 echo "$as_me:$LINENO: checking if the linker ($LD) is GNU ld" >&5
8828 echo $ECHO_N "checking if the linker ($LD) is GNU ld... $ECHO_C" >&6
8829 if test "${acl_cv_prog_gnu_ld+set}" = set; then
8830 echo $ECHO_N "(cached) $ECHO_C" >&6
8832 # I'd rather use --version here, but apparently some GNU ld's only accept -v.
8833 if $LD -v 2>&1 </dev
/null |
egrep '(GNU|with BFD)' 1>&5; then
8834 acl_cv_prog_gnu_ld
=yes
8836 acl_cv_prog_gnu_ld
=no
8839 echo "$as_me:$LINENO: result: $acl_cv_prog_gnu_ld" >&5
8840 echo "${ECHO_T}$acl_cv_prog_gnu_ld" >&6
8841 with_gnu_ld
=$acl_cv_prog_gnu_ld
8845 echo "$as_me:$LINENO: checking for shared library run path origin" >&5
8846 echo $ECHO_N "checking for shared library run path origin... $ECHO_C" >&6
8847 if test "${acl_cv_rpath+set}" = set; then
8848 echo $ECHO_N "(cached) $ECHO_C" >&6
8851 CC
="$CC" GCC
="$GCC" LDFLAGS
="$LDFLAGS" LD
="$LD" with_gnu_ld
="$with_gnu_ld" \
8852 ${CONFIG_SHELL-/bin/sh} "$ac_aux_dir/config.rpath" "$host" > conftest.sh
8858 echo "$as_me:$LINENO: result: $acl_cv_rpath" >&5
8859 echo "${ECHO_T}$acl_cv_rpath" >&6
8861 libext
="$acl_cv_libext"
8862 shlibext
="$acl_cv_shlibext"
8863 hardcode_libdir_flag_spec
="$acl_cv_hardcode_libdir_flag_spec"
8864 hardcode_libdir_separator
="$acl_cv_hardcode_libdir_separator"
8865 hardcode_direct
="$acl_cv_hardcode_direct"
8866 hardcode_minus_L
="$acl_cv_hardcode_minus_L"
8867 # Check whether --enable-rpath or --disable-rpath was given.
8868 if test "${enable_rpath+set}" = set; then
8869 enableval
="$enable_rpath"
8883 acl_save_prefix
="$prefix"
8884 prefix
="$acl_final_prefix"
8885 acl_save_exec_prefix
="$exec_prefix"
8886 exec_prefix
="$acl_final_exec_prefix"
8888 eval additional_includedir
=\"$includedir\"
8889 eval additional_libdir
=\"$libdir\"
8891 exec_prefix
="$acl_save_exec_prefix"
8892 prefix
="$acl_save_prefix"
8895 # Check whether --with-libiconv-prefix or --without-libiconv-prefix was given.
8896 if test "${with_libiconv_prefix+set}" = set; then
8897 withval
="$with_libiconv_prefix"
8899 if test "X$withval" = "Xno"; then
8902 if test "X$withval" = "X"; then
8904 acl_save_prefix
="$prefix"
8905 prefix
="$acl_final_prefix"
8906 acl_save_exec_prefix
="$exec_prefix"
8907 exec_prefix
="$acl_final_exec_prefix"
8909 eval additional_includedir
=\"$includedir\"
8910 eval additional_libdir
=\"$libdir\"
8912 exec_prefix
="$acl_save_exec_prefix"
8913 prefix
="$acl_save_prefix"
8916 additional_includedir
="$withval/include"
8917 additional_libdir
="$withval/lib"
8927 names_already_handled
=
8928 names_next_round
='iconv '
8929 while test -n "$names_next_round"; do
8930 names_this_round
="$names_next_round"
8932 for name
in $names_this_round; do
8934 for n
in $names_already_handled; do
8935 if test "$n" = "$name"; then
8940 if test -z "$already_handled"; then
8941 names_already_handled
="$names_already_handled $name"
8942 uppername
=`echo "$name" | sed -e 'y|abcdefghijklmnopqrstuvwxyz./-|ABCDEFGHIJKLMNOPQRSTUVWXYZ___|'`
8943 eval value
=\"\
$HAVE_LIB$uppername\"
8944 if test -n "$value"; then
8945 if test "$value" = yes; then
8946 eval value
=\"\
$LIB$uppername\"
8947 test -z "$value" || LIBICONV
="${LIBICONV}${LIBICONV:+ }$value"
8948 eval value
=\"\
$LTLIB$uppername\"
8949 test -z "$value" || LTLIBICONV
="${LTLIBICONV}${LTLIBICONV:+ }$value"
8958 if test $use_additional = yes; then
8959 if test -n "$shlibext" && test -f "$additional_libdir/lib$name.$shlibext"; then
8960 found_dir
="$additional_libdir"
8961 found_so
="$additional_libdir/lib$name.$shlibext"
8962 if test -f "$additional_libdir/lib$name.la"; then
8963 found_la
="$additional_libdir/lib$name.la"
8966 if test -f "$additional_libdir/lib$name.$libext"; then
8967 found_dir
="$additional_libdir"
8968 found_a
="$additional_libdir/lib$name.$libext"
8969 if test -f "$additional_libdir/lib$name.la"; then
8970 found_la
="$additional_libdir/lib$name.la"
8975 if test "X$found_dir" = "X"; then
8976 for x
in $LDFLAGS $LTLIBICONV; do
8978 acl_save_prefix
="$prefix"
8979 prefix
="$acl_final_prefix"
8980 acl_save_exec_prefix
="$exec_prefix"
8981 exec_prefix
="$acl_final_exec_prefix"
8983 exec_prefix
="$acl_save_exec_prefix"
8984 prefix
="$acl_save_prefix"
8988 dir
=`echo "X$x" | sed -e 's/^X-L//'`
8989 if test -n "$shlibext" && test -f "$dir/lib$name.$shlibext"; then
8991 found_so
="$dir/lib$name.$shlibext"
8992 if test -f "$dir/lib$name.la"; then
8993 found_la
="$dir/lib$name.la"
8996 if test -f "$dir/lib$name.$libext"; then
8998 found_a
="$dir/lib$name.$libext"
8999 if test -f "$dir/lib$name.la"; then
9000 found_la
="$dir/lib$name.la"
9006 if test "X$found_dir" != "X"; then
9011 if test "X$found_dir" != "X"; then
9012 LTLIBICONV
="${LTLIBICONV}${LTLIBICONV:+ }-L$found_dir -l$name"
9013 if test "X$found_so" != "X"; then
9014 if test "$enable_rpath" = no ||
test "X$found_dir" = "X/usr/lib"; then
9015 LIBICONV
="${LIBICONV}${LIBICONV:+ }$found_so"
9018 for x
in $ltrpathdirs; do
9019 if test "X$x" = "X$found_dir"; then
9024 if test -z "$haveit"; then
9025 ltrpathdirs
="$ltrpathdirs $found_dir"
9027 if test "$hardcode_direct" = yes; then
9028 LIBICONV
="${LIBICONV}${LIBICONV:+ }$found_so"
9030 if test -n "$hardcode_libdir_flag_spec" && test "$hardcode_minus_L" = no
; then
9031 LIBICONV
="${LIBICONV}${LIBICONV:+ }$found_so"
9033 for x
in $rpathdirs; do
9034 if test "X$x" = "X$found_dir"; then
9039 if test -z "$haveit"; then
9040 rpathdirs
="$rpathdirs $found_dir"
9044 for x
in $LDFLAGS $LIBICONV; do
9046 acl_save_prefix
="$prefix"
9047 prefix
="$acl_final_prefix"
9048 acl_save_exec_prefix
="$exec_prefix"
9049 exec_prefix
="$acl_final_exec_prefix"
9051 exec_prefix
="$acl_save_exec_prefix"
9052 prefix
="$acl_save_prefix"
9054 if test "X$x" = "X-L$found_dir"; then
9059 if test -z "$haveit"; then
9060 LIBICONV
="${LIBICONV}${LIBICONV:+ }-L$found_dir"
9062 if test "$hardcode_minus_L" != no
; then
9063 LIBICONV
="${LIBICONV}${LIBICONV:+ }$found_so"
9065 LIBICONV
="${LIBICONV}${LIBICONV:+ }-l$name"
9071 if test "X$found_a" != "X"; then
9072 LIBICONV
="${LIBICONV}${LIBICONV:+ }$found_a"
9074 LIBICONV
="${LIBICONV}${LIBICONV:+ }-L$found_dir -l$name"
9077 additional_includedir
=
9078 case "$found_dir" in
9080 basedir
=`echo "X$found_dir" | sed -e 's,^X,,' -e 's,/lib/*$,,'`
9081 additional_includedir
="$basedir/include"
9084 if test "X$additional_includedir" != "X"; then
9085 if test "X$additional_includedir" != "X/usr/include"; then
9087 if test "X$additional_includedir" = "X/usr/local/include"; then
9088 if test -n "$GCC"; then
9090 linux
*) haveit
=yes;;
9094 if test -z "$haveit"; then
9095 for x
in $CPPFLAGS $INCICONV; do
9097 acl_save_prefix
="$prefix"
9098 prefix
="$acl_final_prefix"
9099 acl_save_exec_prefix
="$exec_prefix"
9100 exec_prefix
="$acl_final_exec_prefix"
9102 exec_prefix
="$acl_save_exec_prefix"
9103 prefix
="$acl_save_prefix"
9105 if test "X$x" = "X-I$additional_includedir"; then
9110 if test -z "$haveit"; then
9111 if test -d "$additional_includedir"; then
9112 INCICONV
="${INCICONV}${INCICONV:+ }-I$additional_includedir"
9118 if test -n "$found_la"; then
9119 save_libdir
="$libdir"
9121 */* |
*\\*) .
"$found_la" ;;
9122 *) .
"./$found_la" ;;
9124 libdir
="$save_libdir"
9125 for dep
in $dependency_libs; do
9128 additional_libdir
=`echo "X$dep" | sed -e 's/^X-L//'`
9129 if test "X$additional_libdir" != "X/usr/lib"; then
9131 if test "X$additional_libdir" = "X/usr/local/lib"; then
9132 if test -n "$GCC"; then
9134 linux
*) haveit
=yes;;
9138 if test -z "$haveit"; then
9140 for x
in $LDFLAGS $LIBICONV; do
9142 acl_save_prefix
="$prefix"
9143 prefix
="$acl_final_prefix"
9144 acl_save_exec_prefix
="$exec_prefix"
9145 exec_prefix
="$acl_final_exec_prefix"
9147 exec_prefix
="$acl_save_exec_prefix"
9148 prefix
="$acl_save_prefix"
9150 if test "X$x" = "X-L$additional_libdir"; then
9155 if test -z "$haveit"; then
9156 if test -d "$additional_libdir"; then
9157 LIBICONV
="${LIBICONV}${LIBICONV:+ }-L$additional_libdir"
9161 for x
in $LDFLAGS $LTLIBICONV; do
9163 acl_save_prefix
="$prefix"
9164 prefix
="$acl_final_prefix"
9165 acl_save_exec_prefix
="$exec_prefix"
9166 exec_prefix
="$acl_final_exec_prefix"
9168 exec_prefix
="$acl_save_exec_prefix"
9169 prefix
="$acl_save_prefix"
9171 if test "X$x" = "X-L$additional_libdir"; then
9176 if test -z "$haveit"; then
9177 if test -d "$additional_libdir"; then
9178 LTLIBICONV
="${LTLIBICONV}${LTLIBICONV:+ }-L$additional_libdir"
9185 dir
=`echo "X$dep" | sed -e 's/^X-R//'`
9186 if test "$enable_rpath" != no
; then
9188 for x
in $rpathdirs; do
9189 if test "X$x" = "X$dir"; then
9194 if test -z "$haveit"; then
9195 rpathdirs
="$rpathdirs $dir"
9198 for x
in $ltrpathdirs; do
9199 if test "X$x" = "X$dir"; then
9204 if test -z "$haveit"; then
9205 ltrpathdirs
="$ltrpathdirs $dir"
9210 names_next_round
="$names_next_round "`echo "X$dep" | sed -e 's/^X-l//'`
9213 names_next_round
="$names_next_round "`echo "X$dep" | sed -e 's,^X.*/,,' -e 's,^lib,,' -e 's,\.la$,,'`
9216 LIBICONV
="${LIBICONV}${LIBICONV:+ }$dep"
9217 LTLIBICONV
="${LTLIBICONV}${LTLIBICONV:+ }$dep"
9223 LIBICONV
="${LIBICONV}${LIBICONV:+ }-l$name"
9224 LTLIBICONV
="${LTLIBICONV}${LTLIBICONV:+ }-l$name"
9230 if test "X$rpathdirs" != "X"; then
9231 if test -n "$hardcode_libdir_separator"; then
9233 for found_dir
in $rpathdirs; do
9234 alldirs
="${alldirs}${alldirs:+$hardcode_libdir_separator}$found_dir"
9236 acl_save_libdir
="$libdir"
9238 eval flag
=\"$hardcode_libdir_flag_spec\"
9239 libdir
="$acl_save_libdir"
9240 LIBICONV
="${LIBICONV}${LIBICONV:+ }$flag"
9242 for found_dir
in $rpathdirs; do
9243 acl_save_libdir
="$libdir"
9245 eval flag
=\"$hardcode_libdir_flag_spec\"
9246 libdir
="$acl_save_libdir"
9247 LIBICONV
="${LIBICONV}${LIBICONV:+ }$flag"
9251 if test "X$ltrpathdirs" != "X"; then
9252 for found_dir
in $ltrpathdirs; do
9253 LTLIBICONV
="${LTLIBICONV}${LTLIBICONV:+ }-R$found_dir"
9263 am_save_CPPFLAGS
="$CPPFLAGS"
9265 for element
in $INCICONV; do
9267 for x
in $CPPFLAGS; do
9269 acl_save_prefix
="$prefix"
9270 prefix
="$acl_final_prefix"
9271 acl_save_exec_prefix
="$exec_prefix"
9272 exec_prefix
="$acl_final_exec_prefix"
9274 exec_prefix
="$acl_save_exec_prefix"
9275 prefix
="$acl_save_prefix"
9277 if test "X$x" = "X$element"; then
9282 if test -z "$haveit"; then
9283 CPPFLAGS
="${CPPFLAGS}${CPPFLAGS:+ }$element"
9288 echo "$as_me:$LINENO: checking for iconv" >&5
9289 echo $ECHO_N "checking for iconv... $ECHO_C" >&6
9290 if test "${am_cv_func_iconv+set}" = set; then
9291 echo $ECHO_N "(cached) $ECHO_C" >&6
9294 am_cv_func_iconv
="no, consider installing GNU libiconv"
9296 cat >conftest.
$ac_ext <<_ACEOF
9299 cat confdefs.h
>>conftest.
$ac_ext
9300 cat >>conftest.
$ac_ext <<_ACEOF
9301 /* end confdefs.h. */
9307 iconv_t cd = iconv_open("","");
9308 iconv(cd,NULL,NULL,NULL,NULL);
9314 rm -f conftest.
$ac_objext conftest
$ac_exeext
9315 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
9316 (eval $ac_link) 2>conftest.er1
9318 grep -v '^ *+' conftest.er1
>conftest.err
9320 cat conftest.err
>&5
9321 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9322 (exit $ac_status); } &&
9323 { ac_try
='test -z "$ac_c_werror_flag"
9324 || test ! -s conftest.err'
9325 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9328 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9329 (exit $ac_status); }; } &&
9330 { ac_try
='test -s conftest$ac_exeext'
9331 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9334 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9335 (exit $ac_status); }; }; then
9336 am_cv_func_iconv
=yes
9338 echo "$as_me: failed program was:" >&5
9339 sed 's/^/| /' conftest.
$ac_ext >&5
9342 rm -f conftest.err conftest.
$ac_objext \
9343 conftest
$ac_exeext conftest.
$ac_ext
9344 if test "$am_cv_func_iconv" != yes; then
9345 am_save_LIBS
="$LIBS"
9346 LIBS
="$LIBS $LIBICONV"
9347 cat >conftest.
$ac_ext <<_ACEOF
9350 cat confdefs.h
>>conftest.
$ac_ext
9351 cat >>conftest.
$ac_ext <<_ACEOF
9352 /* end confdefs.h. */
9358 iconv_t cd = iconv_open("","");
9359 iconv(cd,NULL,NULL,NULL,NULL);
9365 rm -f conftest.
$ac_objext conftest
$ac_exeext
9366 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
9367 (eval $ac_link) 2>conftest.er1
9369 grep -v '^ *+' conftest.er1
>conftest.err
9371 cat conftest.err
>&5
9372 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9373 (exit $ac_status); } &&
9374 { ac_try
='test -z "$ac_c_werror_flag"
9375 || test ! -s conftest.err'
9376 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9379 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9380 (exit $ac_status); }; } &&
9381 { ac_try
='test -s conftest$ac_exeext'
9382 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9385 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9386 (exit $ac_status); }; }; then
9388 am_cv_func_iconv
=yes
9390 echo "$as_me: failed program was:" >&5
9391 sed 's/^/| /' conftest.
$ac_ext >&5
9394 rm -f conftest.err conftest.
$ac_objext \
9395 conftest
$ac_exeext conftest.
$ac_ext
9396 LIBS
="$am_save_LIBS"
9400 echo "$as_me:$LINENO: result: $am_cv_func_iconv" >&5
9401 echo "${ECHO_T}$am_cv_func_iconv" >&6
9402 if test "$am_cv_func_iconv" = yes; then
9404 cat >>confdefs.h
<<\_ACEOF
9405 #define HAVE_ICONV 1
9409 if test "$am_cv_lib_iconv" = yes; then
9410 echo "$as_me:$LINENO: checking how to link with libiconv" >&5
9411 echo $ECHO_N "checking how to link with libiconv... $ECHO_C" >&6
9412 echo "$as_me:$LINENO: result: $LIBICONV" >&5
9413 echo "${ECHO_T}$LIBICONV" >&6
9415 CPPFLAGS
="$am_save_CPPFLAGS"
9422 if test "$am_cv_func_iconv" = yes; then
9423 echo "$as_me:$LINENO: checking for iconv declaration" >&5
9424 echo $ECHO_N "checking for iconv declaration... $ECHO_C" >&6
9425 if test "${am_cv_proto_iconv+set}" = set; then
9426 echo $ECHO_N "(cached) $ECHO_C" >&6
9429 cat >conftest.
$ac_ext <<_ACEOF
9432 cat confdefs.h
>>conftest.
$ac_ext
9433 cat >>conftest.
$ac_ext <<_ACEOF
9434 /* end confdefs.h. */
9442 #if defined(__STDC__) || defined(__cplusplus)
9443 size_t iconv (iconv_t cd, char * *inbuf, size_t *inbytesleft, char * *outbuf, size_t *outbytesleft);
9456 rm -f conftest.
$ac_objext
9457 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
9458 (eval $ac_compile) 2>conftest.er1
9460 grep -v '^ *+' conftest.er1
>conftest.err
9462 cat conftest.err
>&5
9463 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9464 (exit $ac_status); } &&
9465 { ac_try
='test -z "$ac_c_werror_flag"
9466 || test ! -s conftest.err'
9467 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9470 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9471 (exit $ac_status); }; } &&
9472 { ac_try
='test -s conftest.$ac_objext'
9473 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9476 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9477 (exit $ac_status); }; }; then
9478 am_cv_proto_iconv_arg1
=""
9480 echo "$as_me: failed program was:" >&5
9481 sed 's/^/| /' conftest.
$ac_ext >&5
9483 am_cv_proto_iconv_arg1
="const"
9485 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
9486 am_cv_proto_iconv
="extern size_t iconv (iconv_t cd, $am_cv_proto_iconv_arg1 char * *inbuf, size_t *inbytesleft, char * *outbuf, size_t *outbytesleft);"
9489 am_cv_proto_iconv
=`echo "$am_cv_proto_iconv" | tr -s ' ' | sed -e 's/( /(/'`
9490 echo "$as_me:$LINENO: result: ${ac_t:-
9491 }$am_cv_proto_iconv" >&5
9492 echo "${ECHO_T}${ac_t:-
9493 }$am_cv_proto_iconv" >&6
9495 cat >>confdefs.h
<<_ACEOF
9496 #define ICONV_CONST $am_cv_proto_iconv_arg1
9502 if test "x${GCC}" = xyes
; then
9504 WARNING_CFLAGS
='-pedantic -W -Wall -Wmissing-declarations -Wwrite-strings -Wmissing-prototypes -Wno-long-long'
9507 STRICT_WARNING_CFLAGS
=-Wstrict-prototypes
9511 if test "x${ENABLE_WERROR}" = xyes
; then
9512 ERROR_CFLAGS
='-Werror'
9517 if test "x${COMPILE_XMLJ}" = xyes
; then
9521 if test -z "$PKG_CONFIG"; then
9522 # Extract the first word of "pkg-config", so it can be a program name with args.
9523 set dummy pkg-config
; ac_word
=$2
9524 echo "$as_me:$LINENO: checking for $ac_word" >&5
9525 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
9526 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
9527 echo $ECHO_N "(cached) $ECHO_C" >&6
9531 ac_cv_path_PKG_CONFIG
="$PKG_CONFIG" # Let the user override the test with a path.
9534 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
9538 test -z "$as_dir" && as_dir
=.
9539 for ac_exec_ext
in '' $ac_executable_extensions; do
9540 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
9541 ac_cv_path_PKG_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
9542 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
9548 test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG
="no"
9552 PKG_CONFIG
=$ac_cv_path_PKG_CONFIG
9554 if test -n "$PKG_CONFIG"; then
9555 echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
9556 echo "${ECHO_T}$PKG_CONFIG" >&6
9558 echo "$as_me:$LINENO: result: no" >&5
9559 echo "${ECHO_T}no" >&6
9564 if test "$PKG_CONFIG" = "no" ; then
9565 echo "*** The pkg-config script could not be found. Make sure it is"
9566 echo "*** in your path, or set the PKG_CONFIG environment variable"
9567 echo "*** to the full path to pkg-config."
9568 echo "*** Or see http://www.freedesktop.org/software/pkgconfig to get pkg-config."
9570 PKG_CONFIG_MIN_VERSION
=0.9.0
9571 if $PKG_CONFIG --atleast-pkgconfig-version $PKG_CONFIG_MIN_VERSION; then
9572 echo "$as_me:$LINENO: checking for libxml-2.0 >= 2.6.8" >&5
9573 echo $ECHO_N "checking for libxml-2.0 >= 2.6.8... $ECHO_C" >&6
9575 if $PKG_CONFIG --exists "libxml-2.0 >= 2.6.8" ; then
9576 echo "$as_me:$LINENO: result: yes" >&5
9577 echo "${ECHO_T}yes" >&6
9580 echo "$as_me:$LINENO: checking XML_CFLAGS" >&5
9581 echo $ECHO_N "checking XML_CFLAGS... $ECHO_C" >&6
9582 XML_CFLAGS
=`$PKG_CONFIG --cflags "libxml-2.0 >= 2.6.8"`
9583 echo "$as_me:$LINENO: result: $XML_CFLAGS" >&5
9584 echo "${ECHO_T}$XML_CFLAGS" >&6
9586 echo "$as_me:$LINENO: checking XML_LIBS" >&5
9587 echo $ECHO_N "checking XML_LIBS... $ECHO_C" >&6
9588 XML_LIBS
=`$PKG_CONFIG --libs "libxml-2.0 >= 2.6.8"`
9589 echo "$as_me:$LINENO: result: $XML_LIBS" >&5
9590 echo "${ECHO_T}$XML_LIBS" >&6
9594 ## If we have a custom action on failure, don't print errors, but
9595 ## do set a variable so people can do so.
9596 XML_PKG_ERRORS
=`$PKG_CONFIG --errors-to-stdout --print-errors "libxml-2.0 >= 2.6.8"`
9597 echo $XML_PKG_ERRORS
9603 echo "*** Your version of pkg-config is too old. You need version $PKG_CONFIG_MIN_VERSION or newer."
9604 echo "*** See http://www.freedesktop.org/software/pkgconfig"
9608 if test $succeeded = yes; then
9611 { { echo "$as_me:$LINENO: error: Library requirements (libxml-2.0 >= 2.6.8) not met; consider adjusting the PKG_CONFIG_PATH environment variable if your libraries are in a nonstandard prefix so pkg-config can find them." >&5
9612 echo "$as_me: error: Library requirements (libxml-2.0 >= 2.6.8) not met; consider adjusting the PKG_CONFIG_PATH environment variable if your libraries are in a nonstandard prefix so pkg-config can find them." >&2;}
9613 { (exit 1); exit 1; }; }
9619 if test -z "$PKG_CONFIG"; then
9620 # Extract the first word of "pkg-config", so it can be a program name with args.
9621 set dummy pkg-config
; ac_word
=$2
9622 echo "$as_me:$LINENO: checking for $ac_word" >&5
9623 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
9624 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
9625 echo $ECHO_N "(cached) $ECHO_C" >&6
9629 ac_cv_path_PKG_CONFIG
="$PKG_CONFIG" # Let the user override the test with a path.
9632 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
9636 test -z "$as_dir" && as_dir
=.
9637 for ac_exec_ext
in '' $ac_executable_extensions; do
9638 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
9639 ac_cv_path_PKG_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
9640 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
9646 test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG
="no"
9650 PKG_CONFIG
=$ac_cv_path_PKG_CONFIG
9652 if test -n "$PKG_CONFIG"; then
9653 echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
9654 echo "${ECHO_T}$PKG_CONFIG" >&6
9656 echo "$as_me:$LINENO: result: no" >&5
9657 echo "${ECHO_T}no" >&6
9662 if test "$PKG_CONFIG" = "no" ; then
9663 echo "*** The pkg-config script could not be found. Make sure it is"
9664 echo "*** in your path, or set the PKG_CONFIG environment variable"
9665 echo "*** to the full path to pkg-config."
9666 echo "*** Or see http://www.freedesktop.org/software/pkgconfig to get pkg-config."
9668 PKG_CONFIG_MIN_VERSION
=0.9.0
9669 if $PKG_CONFIG --atleast-pkgconfig-version $PKG_CONFIG_MIN_VERSION; then
9670 echo "$as_me:$LINENO: checking for libxslt >= 1.1.11" >&5
9671 echo $ECHO_N "checking for libxslt >= 1.1.11... $ECHO_C" >&6
9673 if $PKG_CONFIG --exists "libxslt >= 1.1.11" ; then
9674 echo "$as_me:$LINENO: result: yes" >&5
9675 echo "${ECHO_T}yes" >&6
9678 echo "$as_me:$LINENO: checking XSLT_CFLAGS" >&5
9679 echo $ECHO_N "checking XSLT_CFLAGS... $ECHO_C" >&6
9680 XSLT_CFLAGS
=`$PKG_CONFIG --cflags "libxslt >= 1.1.11"`
9681 echo "$as_me:$LINENO: result: $XSLT_CFLAGS" >&5
9682 echo "${ECHO_T}$XSLT_CFLAGS" >&6
9684 echo "$as_me:$LINENO: checking XSLT_LIBS" >&5
9685 echo $ECHO_N "checking XSLT_LIBS... $ECHO_C" >&6
9686 XSLT_LIBS
=`$PKG_CONFIG --libs "libxslt >= 1.1.11"`
9687 echo "$as_me:$LINENO: result: $XSLT_LIBS" >&5
9688 echo "${ECHO_T}$XSLT_LIBS" >&6
9692 ## If we have a custom action on failure, don't print errors, but
9693 ## do set a variable so people can do so.
9694 XSLT_PKG_ERRORS
=`$PKG_CONFIG --errors-to-stdout --print-errors "libxslt >= 1.1.11"`
9695 echo $XSLT_PKG_ERRORS
9701 echo "*** Your version of pkg-config is too old. You need version $PKG_CONFIG_MIN_VERSION or newer."
9702 echo "*** See http://www.freedesktop.org/software/pkgconfig"
9706 if test $succeeded = yes; then
9709 { { echo "$as_me:$LINENO: error: Library requirements (libxslt >= 1.1.11) not met; consider adjusting the PKG_CONFIG_PATH environment variable if your libraries are in a nonstandard prefix so pkg-config can find them." >&5
9710 echo "$as_me: error: Library requirements (libxslt >= 1.1.11) not met; consider adjusting the PKG_CONFIG_PATH environment variable if your libraries are in a nonstandard prefix so pkg-config can find them." >&2;}
9711 { (exit 1); exit 1; }; }
9720 if test "x${COMPILE_GTK_PEER}" = xyes
; then
9721 echo "$as_me:$LINENO: checking for X" >&5
9722 echo $ECHO_N "checking for X... $ECHO_C" >&6
9725 # Check whether --with-x or --without-x was given.
9726 if test "${with_x+set}" = set; then
9730 # $have_x is `yes', `no', `disabled', or empty when we do not yet know.
9731 if test "x$with_x" = xno
; then
9732 # The user explicitly disabled X.
9735 if test "x$x_includes" != xNONE
&& test "x$x_libraries" != xNONE
; then
9736 # Both variables are already set.
9739 if test "${ac_cv_have_x+set}" = set; then
9740 echo $ECHO_N "(cached) $ECHO_C" >&6
9742 # One or both of the vars are not set, and there is no cached value.
9743 ac_x_includes
=no ac_x_libraries
=no
9745 if mkdir conftest.dir
; then
9747 # Make sure to not put "make" in the Imakefile rules, since we grep it out.
9748 cat >Imakefile
<<'_ACEOF'
9750 @echo 'ac_im_incroot="${INCROOT}"; ac_im_usrlibdir="${USRLIBDIR}"; ac_im_libdir="${LIBDIR}"'
9752 if (xmkmf
) >/dev
/null
2>/dev
/null
&& test -f Makefile
; then
9753 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
9754 eval `${MAKE-make} acfindx 2>/dev/null | grep -v make`
9755 # Open Windows xmkmf reportedly sets LIBDIR instead of USRLIBDIR.
9756 for ac_extension
in a so sl
; do
9757 if test ! -f $ac_im_usrlibdir/libX11.
$ac_extension &&
9758 test -f $ac_im_libdir/libX11.
$ac_extension; then
9759 ac_im_usrlibdir
=$ac_im_libdir; break
9762 # Screen out bogus values from the imake configuration. They are
9763 # bogus both because they are the default anyway, and because
9764 # using them would break gcc on systems where it needs fixed includes.
9765 case $ac_im_incroot in
9767 *) test -f "$ac_im_incroot/X11/Xos.h" && ac_x_includes
=$ac_im_incroot;;
9769 case $ac_im_usrlibdir in
9771 *) test -d "$ac_im_usrlibdir" && ac_x_libraries
=$ac_im_usrlibdir ;;
9778 # Standard set of common directories for X headers.
9779 # Check X11 before X11Rn because it is often a symlink to the current release.
9791 /usr/local/X11/include
9792 /usr/local/X11R6/include
9793 /usr/local/X11R5/include
9794 /usr/local/X11R4/include
9796 /usr/local/include/X11
9797 /usr/local/include/X11R6
9798 /usr/local/include/X11R5
9799 /usr/local/include/X11R4
9803 /usr/XFree86/include/X11
9807 /usr/unsupported/include
9809 /usr/local/x11r5/include
9810 /usr/lpp/Xamples/include
9812 /usr/openwin/include
9813 /usr/openwin/share/include'
9815 if test "$ac_x_includes" = no
; then
9816 # Guess where to find include files, by looking for Intrinsic.h.
9817 # First, try using that file with no special directory specified.
9818 cat >conftest.
$ac_ext <<_ACEOF
9821 cat confdefs.h
>>conftest.
$ac_ext
9822 cat >>conftest.
$ac_ext <<_ACEOF
9823 /* end confdefs.h. */
9824 #include <X11/Intrinsic.h>
9826 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
9827 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
9829 grep -v '^ *+' conftest.er1
>conftest.err
9831 cat conftest.err
>&5
9832 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9833 (exit $ac_status); } >/dev
/null
; then
9834 if test -s conftest.err
; then
9835 ac_cpp_err
=$ac_c_preproc_warn_flag
9836 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
9843 if test -z "$ac_cpp_err"; then
9844 # We can compile using X headers with no special include directory.
9847 echo "$as_me: failed program was:" >&5
9848 sed 's/^/| /' conftest.
$ac_ext >&5
9850 for ac_dir
in $ac_x_header_dirs; do
9851 if test -r "$ac_dir/X11/Intrinsic.h"; then
9852 ac_x_includes
=$ac_dir
9857 rm -f conftest.err conftest.
$ac_ext
9858 fi # $ac_x_includes = no
9860 if test "$ac_x_libraries" = no
; then
9861 # Check for the libraries.
9862 # See if we find them without any special options.
9863 # Don't add to $LIBS permanently.
9866 cat >conftest.
$ac_ext <<_ACEOF
9869 cat confdefs.h
>>conftest.
$ac_ext
9870 cat >>conftest.
$ac_ext <<_ACEOF
9871 /* end confdefs.h. */
9872 #include <X11/Intrinsic.h>
9881 rm -f conftest.
$ac_objext conftest
$ac_exeext
9882 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
9883 (eval $ac_link) 2>conftest.er1
9885 grep -v '^ *+' conftest.er1
>conftest.err
9887 cat conftest.err
>&5
9888 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9889 (exit $ac_status); } &&
9890 { ac_try
='test -z "$ac_c_werror_flag"
9891 || test ! -s conftest.err'
9892 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9895 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9896 (exit $ac_status); }; } &&
9897 { ac_try
='test -s conftest$ac_exeext'
9898 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9901 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9902 (exit $ac_status); }; }; then
9904 # We can link X programs with no special library path.
9907 echo "$as_me: failed program was:" >&5
9908 sed 's/^/| /' conftest.
$ac_ext >&5
9911 for ac_dir
in `echo "$ac_x_includes $ac_x_header_dirs" | sed s/include/lib/g`
9913 # Don't even attempt the hair of trying to link an X program!
9914 for ac_extension
in a so sl
; do
9915 if test -r $ac_dir/libXt.
$ac_extension; then
9916 ac_x_libraries
=$ac_dir
9922 rm -f conftest.err conftest.
$ac_objext \
9923 conftest
$ac_exeext conftest.
$ac_ext
9924 fi # $ac_x_libraries = no
9926 if test "$ac_x_includes" = no ||
test "$ac_x_libraries" = no
; then
9927 # Didn't find X anywhere. Cache the known absence of X.
9928 ac_cv_have_x
="have_x=no"
9930 # Record where we found X for the cache.
9931 ac_cv_have_x
="have_x=yes \
9932 ac_x_includes=$ac_x_includes ac_x_libraries=$ac_x_libraries"
9937 eval "$ac_cv_have_x"
9940 if test "$have_x" != yes; then
9941 echo "$as_me:$LINENO: result: $have_x" >&5
9942 echo "${ECHO_T}$have_x" >&6
9945 # If each of the values was on the command line, it overrides each guess.
9946 test "x$x_includes" = xNONE
&& x_includes
=$ac_x_includes
9947 test "x$x_libraries" = xNONE
&& x_libraries
=$ac_x_libraries
9948 # Update the cache value to reflect the command line values.
9949 ac_cv_have_x
="have_x=yes \
9950 ac_x_includes=$x_includes ac_x_libraries=$x_libraries"
9951 echo "$as_me:$LINENO: result: libraries $x_libraries, headers $x_includes" >&5
9952 echo "${ECHO_T}libraries $x_libraries, headers $x_includes" >&6
9955 if test "$no_x" = yes; then
9956 # Not all programs may use this symbol, but it does not hurt to define it.
9958 cat >>confdefs.h
<<\_ACEOF
9959 #define X_DISPLAY_MISSING 1
9962 X_CFLAGS
= X_PRE_LIBS
= X_LIBS
= X_EXTRA_LIBS
=
9964 if test -n "$x_includes"; then
9965 X_CFLAGS
="$X_CFLAGS -I$x_includes"
9968 # It would also be nice to do this for all -L options, not just this one.
9969 if test -n "$x_libraries"; then
9970 X_LIBS
="$X_LIBS -L$x_libraries"
9971 # For Solaris; some versions of Sun CC require a space after -R and
9972 # others require no space. Words are not sufficient . . . .
9973 case `(uname -sr) 2>/dev/null` in
9975 echo "$as_me:$LINENO: checking whether -R must be followed by a space" >&5
9976 echo $ECHO_N "checking whether -R must be followed by a space... $ECHO_C" >&6
9977 ac_xsave_LIBS
=$LIBS; LIBS
="$LIBS -R$x_libraries"
9978 cat >conftest.
$ac_ext <<_ACEOF
9981 cat confdefs.h
>>conftest.
$ac_ext
9982 cat >>conftest.
$ac_ext <<_ACEOF
9983 /* end confdefs.h. */
9993 rm -f conftest.
$ac_objext conftest
$ac_exeext
9994 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
9995 (eval $ac_link) 2>conftest.er1
9997 grep -v '^ *+' conftest.er1
>conftest.err
9999 cat conftest.err
>&5
10000 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10001 (exit $ac_status); } &&
10002 { ac_try
='test -z "$ac_c_werror_flag"
10003 || test ! -s conftest.err'
10004 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10005 (eval $ac_try) 2>&5
10007 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10008 (exit $ac_status); }; } &&
10009 { ac_try
='test -s conftest$ac_exeext'
10010 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10011 (eval $ac_try) 2>&5
10013 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10014 (exit $ac_status); }; }; then
10017 echo "$as_me: failed program was:" >&5
10018 sed 's/^/| /' conftest.
$ac_ext >&5
10022 rm -f conftest.err conftest.
$ac_objext \
10023 conftest
$ac_exeext conftest.
$ac_ext
10024 if test $ac_R_nospace = yes; then
10025 echo "$as_me:$LINENO: result: no" >&5
10026 echo "${ECHO_T}no" >&6
10027 X_LIBS
="$X_LIBS -R$x_libraries"
10029 LIBS
="$ac_xsave_LIBS -R $x_libraries"
10030 cat >conftest.
$ac_ext <<_ACEOF
10033 cat confdefs.h
>>conftest.
$ac_ext
10034 cat >>conftest.
$ac_ext <<_ACEOF
10035 /* end confdefs.h. */
10045 rm -f conftest.
$ac_objext conftest
$ac_exeext
10046 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10047 (eval $ac_link) 2>conftest.er1
10049 grep -v '^ *+' conftest.er1
>conftest.err
10051 cat conftest.err
>&5
10052 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10053 (exit $ac_status); } &&
10054 { ac_try
='test -z "$ac_c_werror_flag"
10055 || test ! -s conftest.err'
10056 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10057 (eval $ac_try) 2>&5
10059 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10060 (exit $ac_status); }; } &&
10061 { ac_try
='test -s conftest$ac_exeext'
10062 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10063 (eval $ac_try) 2>&5
10065 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10066 (exit $ac_status); }; }; then
10069 echo "$as_me: failed program was:" >&5
10070 sed 's/^/| /' conftest.
$ac_ext >&5
10074 rm -f conftest.err conftest.
$ac_objext \
10075 conftest
$ac_exeext conftest.
$ac_ext
10076 if test $ac_R_space = yes; then
10077 echo "$as_me:$LINENO: result: yes" >&5
10078 echo "${ECHO_T}yes" >&6
10079 X_LIBS
="$X_LIBS -R $x_libraries"
10081 echo "$as_me:$LINENO: result: neither works" >&5
10082 echo "${ECHO_T}neither works" >&6
10085 LIBS
=$ac_xsave_LIBS
10089 # Check for system-dependent libraries X programs must link with.
10090 # Do this before checking for the system-independent R6 libraries
10091 # (-lICE), since we may need -lsocket or whatever for X linking.
10093 if test "$ISC" = yes; then
10094 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lnsl_s -linet"
10096 # Martyn Johnson says this is needed for Ultrix, if the X
10097 # libraries were built with DECnet support. And Karl Berry says
10098 # the Alpha needs dnet_stub (dnet does not exist).
10099 ac_xsave_LIBS
="$LIBS"; LIBS
="$LIBS $X_LIBS -lX11"
10100 cat >conftest.
$ac_ext <<_ACEOF
10103 cat confdefs.h
>>conftest.
$ac_ext
10104 cat >>conftest.
$ac_ext <<_ACEOF
10105 /* end confdefs.h. */
10107 /* Override any gcc2 internal prototype to avoid an error. */
10111 /* We use char because int might match the return type of a gcc2
10112 builtin and then its argument prototype would still apply. */
10113 char XOpenDisplay ();
10122 rm -f conftest.
$ac_objext conftest
$ac_exeext
10123 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10124 (eval $ac_link) 2>conftest.er1
10126 grep -v '^ *+' conftest.er1
>conftest.err
10128 cat conftest.err
>&5
10129 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10130 (exit $ac_status); } &&
10131 { ac_try
='test -z "$ac_c_werror_flag"
10132 || test ! -s conftest.err'
10133 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10134 (eval $ac_try) 2>&5
10136 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10137 (exit $ac_status); }; } &&
10138 { ac_try
='test -s conftest$ac_exeext'
10139 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10140 (eval $ac_try) 2>&5
10142 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10143 (exit $ac_status); }; }; then
10146 echo "$as_me: failed program was:" >&5
10147 sed 's/^/| /' conftest.
$ac_ext >&5
10149 echo "$as_me:$LINENO: checking for dnet_ntoa in -ldnet" >&5
10150 echo $ECHO_N "checking for dnet_ntoa in -ldnet... $ECHO_C" >&6
10151 if test "${ac_cv_lib_dnet_dnet_ntoa+set}" = set; then
10152 echo $ECHO_N "(cached) $ECHO_C" >&6
10154 ac_check_lib_save_LIBS
=$LIBS
10155 LIBS
="-ldnet $LIBS"
10156 cat >conftest.
$ac_ext <<_ACEOF
10159 cat confdefs.h
>>conftest.
$ac_ext
10160 cat >>conftest.
$ac_ext <<_ACEOF
10161 /* end confdefs.h. */
10163 /* Override any gcc2 internal prototype to avoid an error. */
10167 /* We use char because int might match the return type of a gcc2
10168 builtin and then its argument prototype would still apply. */
10178 rm -f conftest.
$ac_objext conftest
$ac_exeext
10179 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10180 (eval $ac_link) 2>conftest.er1
10182 grep -v '^ *+' conftest.er1
>conftest.err
10184 cat conftest.err
>&5
10185 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10186 (exit $ac_status); } &&
10187 { ac_try
='test -z "$ac_c_werror_flag"
10188 || test ! -s conftest.err'
10189 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10190 (eval $ac_try) 2>&5
10192 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10193 (exit $ac_status); }; } &&
10194 { ac_try
='test -s conftest$ac_exeext'
10195 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10196 (eval $ac_try) 2>&5
10198 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10199 (exit $ac_status); }; }; then
10200 ac_cv_lib_dnet_dnet_ntoa
=yes
10202 echo "$as_me: failed program was:" >&5
10203 sed 's/^/| /' conftest.
$ac_ext >&5
10205 ac_cv_lib_dnet_dnet_ntoa
=no
10207 rm -f conftest.err conftest.
$ac_objext \
10208 conftest
$ac_exeext conftest.
$ac_ext
10209 LIBS
=$ac_check_lib_save_LIBS
10211 echo "$as_me:$LINENO: result: $ac_cv_lib_dnet_dnet_ntoa" >&5
10212 echo "${ECHO_T}$ac_cv_lib_dnet_dnet_ntoa" >&6
10213 if test $ac_cv_lib_dnet_dnet_ntoa = yes; then
10214 X_EXTRA_LIBS
="$X_EXTRA_LIBS -ldnet"
10217 if test $ac_cv_lib_dnet_dnet_ntoa = no
; then
10218 echo "$as_me:$LINENO: checking for dnet_ntoa in -ldnet_stub" >&5
10219 echo $ECHO_N "checking for dnet_ntoa in -ldnet_stub... $ECHO_C" >&6
10220 if test "${ac_cv_lib_dnet_stub_dnet_ntoa+set}" = set; then
10221 echo $ECHO_N "(cached) $ECHO_C" >&6
10223 ac_check_lib_save_LIBS
=$LIBS
10224 LIBS
="-ldnet_stub $LIBS"
10225 cat >conftest.
$ac_ext <<_ACEOF
10228 cat confdefs.h
>>conftest.
$ac_ext
10229 cat >>conftest.
$ac_ext <<_ACEOF
10230 /* end confdefs.h. */
10232 /* Override any gcc2 internal prototype to avoid an error. */
10236 /* We use char because int might match the return type of a gcc2
10237 builtin and then its argument prototype would still apply. */
10247 rm -f conftest.
$ac_objext conftest
$ac_exeext
10248 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10249 (eval $ac_link) 2>conftest.er1
10251 grep -v '^ *+' conftest.er1
>conftest.err
10253 cat conftest.err
>&5
10254 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10255 (exit $ac_status); } &&
10256 { ac_try
='test -z "$ac_c_werror_flag"
10257 || test ! -s conftest.err'
10258 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10259 (eval $ac_try) 2>&5
10261 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10262 (exit $ac_status); }; } &&
10263 { ac_try
='test -s conftest$ac_exeext'
10264 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10265 (eval $ac_try) 2>&5
10267 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10268 (exit $ac_status); }; }; then
10269 ac_cv_lib_dnet_stub_dnet_ntoa
=yes
10271 echo "$as_me: failed program was:" >&5
10272 sed 's/^/| /' conftest.
$ac_ext >&5
10274 ac_cv_lib_dnet_stub_dnet_ntoa
=no
10276 rm -f conftest.err conftest.
$ac_objext \
10277 conftest
$ac_exeext conftest.
$ac_ext
10278 LIBS
=$ac_check_lib_save_LIBS
10280 echo "$as_me:$LINENO: result: $ac_cv_lib_dnet_stub_dnet_ntoa" >&5
10281 echo "${ECHO_T}$ac_cv_lib_dnet_stub_dnet_ntoa" >&6
10282 if test $ac_cv_lib_dnet_stub_dnet_ntoa = yes; then
10283 X_EXTRA_LIBS
="$X_EXTRA_LIBS -ldnet_stub"
10288 rm -f conftest.err conftest.
$ac_objext \
10289 conftest
$ac_exeext conftest.
$ac_ext
10290 LIBS
="$ac_xsave_LIBS"
10292 # msh@cis.ufl.edu says -lnsl (and -lsocket) are needed for his 386/AT,
10293 # to get the SysV transport functions.
10294 # Chad R. Larson says the Pyramis MIS-ES running DC/OSx (SVR4)
10296 # The nsl library prevents programs from opening the X display
10297 # on Irix 5.2, according to T.E. Dickey.
10298 # The functions gethostbyname, getservbyname, and inet_addr are
10299 # in -lbsd on LynxOS 3.0.1/i386, according to Lars Hecking.
10300 echo "$as_me:$LINENO: checking for gethostbyname" >&5
10301 echo $ECHO_N "checking for gethostbyname... $ECHO_C" >&6
10302 if test "${ac_cv_func_gethostbyname+set}" = set; then
10303 echo $ECHO_N "(cached) $ECHO_C" >&6
10305 cat >conftest.
$ac_ext <<_ACEOF
10308 cat confdefs.h
>>conftest.
$ac_ext
10309 cat >>conftest.
$ac_ext <<_ACEOF
10310 /* end confdefs.h. */
10311 /* Define gethostbyname to an innocuous variant, in case <limits.h> declares gethostbyname.
10312 For example, HP-UX 11i <limits.h> declares gettimeofday. */
10313 #define gethostbyname innocuous_gethostbyname
10315 /* System header to define __stub macros and hopefully few prototypes,
10316 which can conflict with char gethostbyname (); below.
10317 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
10318 <limits.h> exists even on freestanding compilers. */
10321 # include <limits.h>
10323 # include <assert.h>
10326 #undef gethostbyname
10328 /* Override any gcc2 internal prototype to avoid an error. */
10333 /* We use char because int might match the return type of a gcc2
10334 builtin and then its argument prototype would still apply. */
10335 char gethostbyname ();
10336 /* The GNU C library defines this for functions which it implements
10337 to always fail with ENOSYS. Some functions are actually named
10338 something starting with __ and the normal name is an alias. */
10339 #if defined (__stub_gethostbyname) || defined (__stub___gethostbyname)
10342 char (*f) () = gethostbyname;
10351 return f != gethostbyname;
10356 rm -f conftest.
$ac_objext conftest
$ac_exeext
10357 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10358 (eval $ac_link) 2>conftest.er1
10360 grep -v '^ *+' conftest.er1
>conftest.err
10362 cat conftest.err
>&5
10363 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10364 (exit $ac_status); } &&
10365 { ac_try
='test -z "$ac_c_werror_flag"
10366 || test ! -s conftest.err'
10367 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10368 (eval $ac_try) 2>&5
10370 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10371 (exit $ac_status); }; } &&
10372 { ac_try
='test -s conftest$ac_exeext'
10373 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10374 (eval $ac_try) 2>&5
10376 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10377 (exit $ac_status); }; }; then
10378 ac_cv_func_gethostbyname
=yes
10380 echo "$as_me: failed program was:" >&5
10381 sed 's/^/| /' conftest.
$ac_ext >&5
10383 ac_cv_func_gethostbyname
=no
10385 rm -f conftest.err conftest.
$ac_objext \
10386 conftest
$ac_exeext conftest.
$ac_ext
10388 echo "$as_me:$LINENO: result: $ac_cv_func_gethostbyname" >&5
10389 echo "${ECHO_T}$ac_cv_func_gethostbyname" >&6
10391 if test $ac_cv_func_gethostbyname = no
; then
10392 echo "$as_me:$LINENO: checking for gethostbyname in -lnsl" >&5
10393 echo $ECHO_N "checking for gethostbyname in -lnsl... $ECHO_C" >&6
10394 if test "${ac_cv_lib_nsl_gethostbyname+set}" = set; then
10395 echo $ECHO_N "(cached) $ECHO_C" >&6
10397 ac_check_lib_save_LIBS
=$LIBS
10399 cat >conftest.
$ac_ext <<_ACEOF
10402 cat confdefs.h
>>conftest.
$ac_ext
10403 cat >>conftest.
$ac_ext <<_ACEOF
10404 /* end confdefs.h. */
10406 /* Override any gcc2 internal prototype to avoid an error. */
10410 /* We use char because int might match the return type of a gcc2
10411 builtin and then its argument prototype would still apply. */
10412 char gethostbyname ();
10421 rm -f conftest.
$ac_objext conftest
$ac_exeext
10422 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10423 (eval $ac_link) 2>conftest.er1
10425 grep -v '^ *+' conftest.er1
>conftest.err
10427 cat conftest.err
>&5
10428 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10429 (exit $ac_status); } &&
10430 { ac_try
='test -z "$ac_c_werror_flag"
10431 || test ! -s conftest.err'
10432 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10433 (eval $ac_try) 2>&5
10435 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10436 (exit $ac_status); }; } &&
10437 { ac_try
='test -s conftest$ac_exeext'
10438 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10439 (eval $ac_try) 2>&5
10441 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10442 (exit $ac_status); }; }; then
10443 ac_cv_lib_nsl_gethostbyname
=yes
10445 echo "$as_me: failed program was:" >&5
10446 sed 's/^/| /' conftest.
$ac_ext >&5
10448 ac_cv_lib_nsl_gethostbyname
=no
10450 rm -f conftest.err conftest.
$ac_objext \
10451 conftest
$ac_exeext conftest.
$ac_ext
10452 LIBS
=$ac_check_lib_save_LIBS
10454 echo "$as_me:$LINENO: result: $ac_cv_lib_nsl_gethostbyname" >&5
10455 echo "${ECHO_T}$ac_cv_lib_nsl_gethostbyname" >&6
10456 if test $ac_cv_lib_nsl_gethostbyname = yes; then
10457 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lnsl"
10460 if test $ac_cv_lib_nsl_gethostbyname = no
; then
10461 echo "$as_me:$LINENO: checking for gethostbyname in -lbsd" >&5
10462 echo $ECHO_N "checking for gethostbyname in -lbsd... $ECHO_C" >&6
10463 if test "${ac_cv_lib_bsd_gethostbyname+set}" = set; then
10464 echo $ECHO_N "(cached) $ECHO_C" >&6
10466 ac_check_lib_save_LIBS
=$LIBS
10468 cat >conftest.
$ac_ext <<_ACEOF
10471 cat confdefs.h
>>conftest.
$ac_ext
10472 cat >>conftest.
$ac_ext <<_ACEOF
10473 /* end confdefs.h. */
10475 /* Override any gcc2 internal prototype to avoid an error. */
10479 /* We use char because int might match the return type of a gcc2
10480 builtin and then its argument prototype would still apply. */
10481 char gethostbyname ();
10490 rm -f conftest.
$ac_objext conftest
$ac_exeext
10491 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10492 (eval $ac_link) 2>conftest.er1
10494 grep -v '^ *+' conftest.er1
>conftest.err
10496 cat conftest.err
>&5
10497 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10498 (exit $ac_status); } &&
10499 { ac_try
='test -z "$ac_c_werror_flag"
10500 || test ! -s conftest.err'
10501 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10502 (eval $ac_try) 2>&5
10504 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10505 (exit $ac_status); }; } &&
10506 { ac_try
='test -s conftest$ac_exeext'
10507 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10508 (eval $ac_try) 2>&5
10510 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10511 (exit $ac_status); }; }; then
10512 ac_cv_lib_bsd_gethostbyname
=yes
10514 echo "$as_me: failed program was:" >&5
10515 sed 's/^/| /' conftest.
$ac_ext >&5
10517 ac_cv_lib_bsd_gethostbyname
=no
10519 rm -f conftest.err conftest.
$ac_objext \
10520 conftest
$ac_exeext conftest.
$ac_ext
10521 LIBS
=$ac_check_lib_save_LIBS
10523 echo "$as_me:$LINENO: result: $ac_cv_lib_bsd_gethostbyname" >&5
10524 echo "${ECHO_T}$ac_cv_lib_bsd_gethostbyname" >&6
10525 if test $ac_cv_lib_bsd_gethostbyname = yes; then
10526 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lbsd"
10532 # lieder@skyler.mavd.honeywell.com says without -lsocket,
10533 # socket/setsockopt and other routines are undefined under SCO ODT
10534 # 2.0. But -lsocket is broken on IRIX 5.2 (and is not necessary
10535 # on later versions), says Simon Leinen: it contains gethostby*
10536 # variants that don't use the name server (or something). -lsocket
10537 # must be given before -lnsl if both are needed. We assume that
10538 # if connect needs -lnsl, so does gethostbyname.
10539 echo "$as_me:$LINENO: checking for connect" >&5
10540 echo $ECHO_N "checking for connect... $ECHO_C" >&6
10541 if test "${ac_cv_func_connect+set}" = set; then
10542 echo $ECHO_N "(cached) $ECHO_C" >&6
10544 cat >conftest.
$ac_ext <<_ACEOF
10547 cat confdefs.h
>>conftest.
$ac_ext
10548 cat >>conftest.
$ac_ext <<_ACEOF
10549 /* end confdefs.h. */
10550 /* Define connect to an innocuous variant, in case <limits.h> declares connect.
10551 For example, HP-UX 11i <limits.h> declares gettimeofday. */
10552 #define connect innocuous_connect
10554 /* System header to define __stub macros and hopefully few prototypes,
10555 which can conflict with char connect (); below.
10556 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
10557 <limits.h> exists even on freestanding compilers. */
10560 # include <limits.h>
10562 # include <assert.h>
10567 /* Override any gcc2 internal prototype to avoid an error. */
10572 /* We use char because int might match the return type of a gcc2
10573 builtin and then its argument prototype would still apply. */
10575 /* The GNU C library defines this for functions which it implements
10576 to always fail with ENOSYS. Some functions are actually named
10577 something starting with __ and the normal name is an alias. */
10578 #if defined (__stub_connect) || defined (__stub___connect)
10581 char (*f) () = connect;
10590 return f != connect;
10595 rm -f conftest.
$ac_objext conftest
$ac_exeext
10596 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10597 (eval $ac_link) 2>conftest.er1
10599 grep -v '^ *+' conftest.er1
>conftest.err
10601 cat conftest.err
>&5
10602 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10603 (exit $ac_status); } &&
10604 { ac_try
='test -z "$ac_c_werror_flag"
10605 || test ! -s conftest.err'
10606 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10607 (eval $ac_try) 2>&5
10609 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10610 (exit $ac_status); }; } &&
10611 { ac_try
='test -s conftest$ac_exeext'
10612 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10613 (eval $ac_try) 2>&5
10615 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10616 (exit $ac_status); }; }; then
10617 ac_cv_func_connect
=yes
10619 echo "$as_me: failed program was:" >&5
10620 sed 's/^/| /' conftest.
$ac_ext >&5
10622 ac_cv_func_connect
=no
10624 rm -f conftest.err conftest.
$ac_objext \
10625 conftest
$ac_exeext conftest.
$ac_ext
10627 echo "$as_me:$LINENO: result: $ac_cv_func_connect" >&5
10628 echo "${ECHO_T}$ac_cv_func_connect" >&6
10630 if test $ac_cv_func_connect = no
; then
10631 echo "$as_me:$LINENO: checking for connect in -lsocket" >&5
10632 echo $ECHO_N "checking for connect in -lsocket... $ECHO_C" >&6
10633 if test "${ac_cv_lib_socket_connect+set}" = set; then
10634 echo $ECHO_N "(cached) $ECHO_C" >&6
10636 ac_check_lib_save_LIBS
=$LIBS
10637 LIBS
="-lsocket $X_EXTRA_LIBS $LIBS"
10638 cat >conftest.
$ac_ext <<_ACEOF
10641 cat confdefs.h
>>conftest.
$ac_ext
10642 cat >>conftest.
$ac_ext <<_ACEOF
10643 /* end confdefs.h. */
10645 /* Override any gcc2 internal prototype to avoid an error. */
10649 /* We use char because int might match the return type of a gcc2
10650 builtin and then its argument prototype would still apply. */
10660 rm -f conftest.
$ac_objext conftest
$ac_exeext
10661 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10662 (eval $ac_link) 2>conftest.er1
10664 grep -v '^ *+' conftest.er1
>conftest.err
10666 cat conftest.err
>&5
10667 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10668 (exit $ac_status); } &&
10669 { ac_try
='test -z "$ac_c_werror_flag"
10670 || test ! -s conftest.err'
10671 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10672 (eval $ac_try) 2>&5
10674 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10675 (exit $ac_status); }; } &&
10676 { ac_try
='test -s conftest$ac_exeext'
10677 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10678 (eval $ac_try) 2>&5
10680 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10681 (exit $ac_status); }; }; then
10682 ac_cv_lib_socket_connect
=yes
10684 echo "$as_me: failed program was:" >&5
10685 sed 's/^/| /' conftest.
$ac_ext >&5
10687 ac_cv_lib_socket_connect
=no
10689 rm -f conftest.err conftest.
$ac_objext \
10690 conftest
$ac_exeext conftest.
$ac_ext
10691 LIBS
=$ac_check_lib_save_LIBS
10693 echo "$as_me:$LINENO: result: $ac_cv_lib_socket_connect" >&5
10694 echo "${ECHO_T}$ac_cv_lib_socket_connect" >&6
10695 if test $ac_cv_lib_socket_connect = yes; then
10696 X_EXTRA_LIBS
="-lsocket $X_EXTRA_LIBS"
10701 # Guillermo Gomez says -lposix is necessary on A/UX.
10702 echo "$as_me:$LINENO: checking for remove" >&5
10703 echo $ECHO_N "checking for remove... $ECHO_C" >&6
10704 if test "${ac_cv_func_remove+set}" = set; then
10705 echo $ECHO_N "(cached) $ECHO_C" >&6
10707 cat >conftest.
$ac_ext <<_ACEOF
10710 cat confdefs.h
>>conftest.
$ac_ext
10711 cat >>conftest.
$ac_ext <<_ACEOF
10712 /* end confdefs.h. */
10713 /* Define remove to an innocuous variant, in case <limits.h> declares remove.
10714 For example, HP-UX 11i <limits.h> declares gettimeofday. */
10715 #define remove innocuous_remove
10717 /* System header to define __stub macros and hopefully few prototypes,
10718 which can conflict with char remove (); below.
10719 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
10720 <limits.h> exists even on freestanding compilers. */
10723 # include <limits.h>
10725 # include <assert.h>
10730 /* Override any gcc2 internal prototype to avoid an error. */
10735 /* We use char because int might match the return type of a gcc2
10736 builtin and then its argument prototype would still apply. */
10738 /* The GNU C library defines this for functions which it implements
10739 to always fail with ENOSYS. Some functions are actually named
10740 something starting with __ and the normal name is an alias. */
10741 #if defined (__stub_remove) || defined (__stub___remove)
10744 char (*f) () = remove;
10753 return f != remove;
10758 rm -f conftest.
$ac_objext conftest
$ac_exeext
10759 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10760 (eval $ac_link) 2>conftest.er1
10762 grep -v '^ *+' conftest.er1
>conftest.err
10764 cat conftest.err
>&5
10765 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10766 (exit $ac_status); } &&
10767 { ac_try
='test -z "$ac_c_werror_flag"
10768 || test ! -s conftest.err'
10769 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10770 (eval $ac_try) 2>&5
10772 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10773 (exit $ac_status); }; } &&
10774 { ac_try
='test -s conftest$ac_exeext'
10775 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10776 (eval $ac_try) 2>&5
10778 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10779 (exit $ac_status); }; }; then
10780 ac_cv_func_remove
=yes
10782 echo "$as_me: failed program was:" >&5
10783 sed 's/^/| /' conftest.
$ac_ext >&5
10785 ac_cv_func_remove
=no
10787 rm -f conftest.err conftest.
$ac_objext \
10788 conftest
$ac_exeext conftest.
$ac_ext
10790 echo "$as_me:$LINENO: result: $ac_cv_func_remove" >&5
10791 echo "${ECHO_T}$ac_cv_func_remove" >&6
10793 if test $ac_cv_func_remove = no
; then
10794 echo "$as_me:$LINENO: checking for remove in -lposix" >&5
10795 echo $ECHO_N "checking for remove in -lposix... $ECHO_C" >&6
10796 if test "${ac_cv_lib_posix_remove+set}" = set; then
10797 echo $ECHO_N "(cached) $ECHO_C" >&6
10799 ac_check_lib_save_LIBS
=$LIBS
10800 LIBS
="-lposix $LIBS"
10801 cat >conftest.
$ac_ext <<_ACEOF
10804 cat confdefs.h
>>conftest.
$ac_ext
10805 cat >>conftest.
$ac_ext <<_ACEOF
10806 /* end confdefs.h. */
10808 /* Override any gcc2 internal prototype to avoid an error. */
10812 /* We use char because int might match the return type of a gcc2
10813 builtin and then its argument prototype would still apply. */
10823 rm -f conftest.
$ac_objext conftest
$ac_exeext
10824 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10825 (eval $ac_link) 2>conftest.er1
10827 grep -v '^ *+' conftest.er1
>conftest.err
10829 cat conftest.err
>&5
10830 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10831 (exit $ac_status); } &&
10832 { ac_try
='test -z "$ac_c_werror_flag"
10833 || test ! -s conftest.err'
10834 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10835 (eval $ac_try) 2>&5
10837 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10838 (exit $ac_status); }; } &&
10839 { ac_try
='test -s conftest$ac_exeext'
10840 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10841 (eval $ac_try) 2>&5
10843 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10844 (exit $ac_status); }; }; then
10845 ac_cv_lib_posix_remove
=yes
10847 echo "$as_me: failed program was:" >&5
10848 sed 's/^/| /' conftest.
$ac_ext >&5
10850 ac_cv_lib_posix_remove
=no
10852 rm -f conftest.err conftest.
$ac_objext \
10853 conftest
$ac_exeext conftest.
$ac_ext
10854 LIBS
=$ac_check_lib_save_LIBS
10856 echo "$as_me:$LINENO: result: $ac_cv_lib_posix_remove" >&5
10857 echo "${ECHO_T}$ac_cv_lib_posix_remove" >&6
10858 if test $ac_cv_lib_posix_remove = yes; then
10859 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lposix"
10864 # BSDI BSD/OS 2.1 needs -lipc for XOpenDisplay.
10865 echo "$as_me:$LINENO: checking for shmat" >&5
10866 echo $ECHO_N "checking for shmat... $ECHO_C" >&6
10867 if test "${ac_cv_func_shmat+set}" = set; then
10868 echo $ECHO_N "(cached) $ECHO_C" >&6
10870 cat >conftest.
$ac_ext <<_ACEOF
10873 cat confdefs.h
>>conftest.
$ac_ext
10874 cat >>conftest.
$ac_ext <<_ACEOF
10875 /* end confdefs.h. */
10876 /* Define shmat to an innocuous variant, in case <limits.h> declares shmat.
10877 For example, HP-UX 11i <limits.h> declares gettimeofday. */
10878 #define shmat innocuous_shmat
10880 /* System header to define __stub macros and hopefully few prototypes,
10881 which can conflict with char shmat (); below.
10882 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
10883 <limits.h> exists even on freestanding compilers. */
10886 # include <limits.h>
10888 # include <assert.h>
10893 /* Override any gcc2 internal prototype to avoid an error. */
10898 /* We use char because int might match the return type of a gcc2
10899 builtin and then its argument prototype would still apply. */
10901 /* The GNU C library defines this for functions which it implements
10902 to always fail with ENOSYS. Some functions are actually named
10903 something starting with __ and the normal name is an alias. */
10904 #if defined (__stub_shmat) || defined (__stub___shmat)
10907 char (*f) () = shmat;
10921 rm -f conftest.
$ac_objext conftest
$ac_exeext
10922 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10923 (eval $ac_link) 2>conftest.er1
10925 grep -v '^ *+' conftest.er1
>conftest.err
10927 cat conftest.err
>&5
10928 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10929 (exit $ac_status); } &&
10930 { ac_try
='test -z "$ac_c_werror_flag"
10931 || test ! -s conftest.err'
10932 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10933 (eval $ac_try) 2>&5
10935 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10936 (exit $ac_status); }; } &&
10937 { ac_try
='test -s conftest$ac_exeext'
10938 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10939 (eval $ac_try) 2>&5
10941 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10942 (exit $ac_status); }; }; then
10943 ac_cv_func_shmat
=yes
10945 echo "$as_me: failed program was:" >&5
10946 sed 's/^/| /' conftest.
$ac_ext >&5
10948 ac_cv_func_shmat
=no
10950 rm -f conftest.err conftest.
$ac_objext \
10951 conftest
$ac_exeext conftest.
$ac_ext
10953 echo "$as_me:$LINENO: result: $ac_cv_func_shmat" >&5
10954 echo "${ECHO_T}$ac_cv_func_shmat" >&6
10956 if test $ac_cv_func_shmat = no
; then
10957 echo "$as_me:$LINENO: checking for shmat in -lipc" >&5
10958 echo $ECHO_N "checking for shmat in -lipc... $ECHO_C" >&6
10959 if test "${ac_cv_lib_ipc_shmat+set}" = set; then
10960 echo $ECHO_N "(cached) $ECHO_C" >&6
10962 ac_check_lib_save_LIBS
=$LIBS
10964 cat >conftest.
$ac_ext <<_ACEOF
10967 cat confdefs.h
>>conftest.
$ac_ext
10968 cat >>conftest.
$ac_ext <<_ACEOF
10969 /* end confdefs.h. */
10971 /* Override any gcc2 internal prototype to avoid an error. */
10975 /* We use char because int might match the return type of a gcc2
10976 builtin and then its argument prototype would still apply. */
10986 rm -f conftest.
$ac_objext conftest
$ac_exeext
10987 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10988 (eval $ac_link) 2>conftest.er1
10990 grep -v '^ *+' conftest.er1
>conftest.err
10992 cat conftest.err
>&5
10993 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10994 (exit $ac_status); } &&
10995 { ac_try
='test -z "$ac_c_werror_flag"
10996 || test ! -s conftest.err'
10997 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10998 (eval $ac_try) 2>&5
11000 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11001 (exit $ac_status); }; } &&
11002 { ac_try
='test -s conftest$ac_exeext'
11003 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11004 (eval $ac_try) 2>&5
11006 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11007 (exit $ac_status); }; }; then
11008 ac_cv_lib_ipc_shmat
=yes
11010 echo "$as_me: failed program was:" >&5
11011 sed 's/^/| /' conftest.
$ac_ext >&5
11013 ac_cv_lib_ipc_shmat
=no
11015 rm -f conftest.err conftest.
$ac_objext \
11016 conftest
$ac_exeext conftest.
$ac_ext
11017 LIBS
=$ac_check_lib_save_LIBS
11019 echo "$as_me:$LINENO: result: $ac_cv_lib_ipc_shmat" >&5
11020 echo "${ECHO_T}$ac_cv_lib_ipc_shmat" >&6
11021 if test $ac_cv_lib_ipc_shmat = yes; then
11022 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lipc"
11028 # Check for libraries that X11R6 Xt/Xaw programs need.
11029 ac_save_LDFLAGS
=$LDFLAGS
11030 test -n "$x_libraries" && LDFLAGS
="$LDFLAGS -L$x_libraries"
11031 # SM needs ICE to (dynamically) link under SunOS 4.x (so we have to
11032 # check for ICE first), but we must link in the order -lSM -lICE or
11033 # we get undefined symbols. So assume we have SM if we have ICE.
11034 # These have to be linked with before -lX11, unlike the other
11035 # libraries we check for below, so use a different variable.
11036 # John Interrante, Karl Berry
11037 echo "$as_me:$LINENO: checking for IceConnectionNumber in -lICE" >&5
11038 echo $ECHO_N "checking for IceConnectionNumber in -lICE... $ECHO_C" >&6
11039 if test "${ac_cv_lib_ICE_IceConnectionNumber+set}" = set; then
11040 echo $ECHO_N "(cached) $ECHO_C" >&6
11042 ac_check_lib_save_LIBS
=$LIBS
11043 LIBS
="-lICE $X_EXTRA_LIBS $LIBS"
11044 cat >conftest.
$ac_ext <<_ACEOF
11047 cat confdefs.h
>>conftest.
$ac_ext
11048 cat >>conftest.
$ac_ext <<_ACEOF
11049 /* end confdefs.h. */
11051 /* Override any gcc2 internal prototype to avoid an error. */
11055 /* We use char because int might match the return type of a gcc2
11056 builtin and then its argument prototype would still apply. */
11057 char IceConnectionNumber ();
11061 IceConnectionNumber ();
11066 rm -f conftest.
$ac_objext conftest
$ac_exeext
11067 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
11068 (eval $ac_link) 2>conftest.er1
11070 grep -v '^ *+' conftest.er1
>conftest.err
11072 cat conftest.err
>&5
11073 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11074 (exit $ac_status); } &&
11075 { ac_try
='test -z "$ac_c_werror_flag"
11076 || test ! -s conftest.err'
11077 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11078 (eval $ac_try) 2>&5
11080 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11081 (exit $ac_status); }; } &&
11082 { ac_try
='test -s conftest$ac_exeext'
11083 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11084 (eval $ac_try) 2>&5
11086 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11087 (exit $ac_status); }; }; then
11088 ac_cv_lib_ICE_IceConnectionNumber
=yes
11090 echo "$as_me: failed program was:" >&5
11091 sed 's/^/| /' conftest.
$ac_ext >&5
11093 ac_cv_lib_ICE_IceConnectionNumber
=no
11095 rm -f conftest.err conftest.
$ac_objext \
11096 conftest
$ac_exeext conftest.
$ac_ext
11097 LIBS
=$ac_check_lib_save_LIBS
11099 echo "$as_me:$LINENO: result: $ac_cv_lib_ICE_IceConnectionNumber" >&5
11100 echo "${ECHO_T}$ac_cv_lib_ICE_IceConnectionNumber" >&6
11101 if test $ac_cv_lib_ICE_IceConnectionNumber = yes; then
11102 X_PRE_LIBS
="$X_PRE_LIBS -lSM -lICE"
11105 LDFLAGS
=$ac_save_LDFLAGS
11109 if test "$no_x" = yes; then
11110 { { echo "$as_me:$LINENO: error: GTK+ peers requested but no X library available" >&5
11111 echo "$as_me: error: GTK+ peers requested but no X library available" >&2;}
11112 { (exit 1); exit 1; }; }
11114 echo "$as_me:$LINENO: checking for XTestQueryExtension in -lXtst" >&5
11115 echo $ECHO_N "checking for XTestQueryExtension in -lXtst... $ECHO_C" >&6
11116 if test "${ac_cv_lib_Xtst_XTestQueryExtension+set}" = set; then
11117 echo $ECHO_N "(cached) $ECHO_C" >&6
11119 ac_check_lib_save_LIBS
=$LIBS
11120 LIBS
="-lXtst ${X_LIBS} $LIBS"
11121 cat >conftest.
$ac_ext <<_ACEOF
11124 cat confdefs.h
>>conftest.
$ac_ext
11125 cat >>conftest.
$ac_ext <<_ACEOF
11126 /* end confdefs.h. */
11128 /* Override any gcc2 internal prototype to avoid an error. */
11132 /* We use char because int might match the return type of a gcc2
11133 builtin and then its argument prototype would still apply. */
11134 char XTestQueryExtension ();
11138 XTestQueryExtension ();
11143 rm -f conftest.
$ac_objext conftest
$ac_exeext
11144 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
11145 (eval $ac_link) 2>conftest.er1
11147 grep -v '^ *+' conftest.er1
>conftest.err
11149 cat conftest.err
>&5
11150 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11151 (exit $ac_status); } &&
11152 { ac_try
='test -z "$ac_c_werror_flag"
11153 || test ! -s conftest.err'
11154 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11155 (eval $ac_try) 2>&5
11157 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11158 (exit $ac_status); }; } &&
11159 { ac_try
='test -s conftest$ac_exeext'
11160 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11161 (eval $ac_try) 2>&5
11163 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11164 (exit $ac_status); }; }; then
11165 ac_cv_lib_Xtst_XTestQueryExtension
=yes
11167 echo "$as_me: failed program was:" >&5
11168 sed 's/^/| /' conftest.
$ac_ext >&5
11170 ac_cv_lib_Xtst_XTestQueryExtension
=no
11172 rm -f conftest.err conftest.
$ac_objext \
11173 conftest
$ac_exeext conftest.
$ac_ext
11174 LIBS
=$ac_check_lib_save_LIBS
11176 echo "$as_me:$LINENO: result: $ac_cv_lib_Xtst_XTestQueryExtension" >&5
11177 echo "${ECHO_T}$ac_cv_lib_Xtst_XTestQueryExtension" >&6
11178 if test $ac_cv_lib_Xtst_XTestQueryExtension = yes; then
11181 { { echo "$as_me:$LINENO: error: libXtst NOT found, required for GdkRobot" >&5
11182 echo "$as_me: error: libXtst NOT found, required for GdkRobot" >&2;}
11183 { (exit 1); exit 1; }; }
11189 if test -z "$PKG_CONFIG"; then
11190 # Extract the first word of "pkg-config", so it can be a program name with args.
11191 set dummy pkg-config
; ac_word
=$2
11192 echo "$as_me:$LINENO: checking for $ac_word" >&5
11193 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
11194 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
11195 echo $ECHO_N "(cached) $ECHO_C" >&6
11197 case $PKG_CONFIG in
11199 ac_cv_path_PKG_CONFIG
="$PKG_CONFIG" # Let the user override the test with a path.
11202 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
11203 for as_dir
in $PATH
11206 test -z "$as_dir" && as_dir
=.
11207 for ac_exec_ext
in '' $ac_executable_extensions; do
11208 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
11209 ac_cv_path_PKG_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
11210 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
11216 test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG
="no"
11220 PKG_CONFIG
=$ac_cv_path_PKG_CONFIG
11222 if test -n "$PKG_CONFIG"; then
11223 echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
11224 echo "${ECHO_T}$PKG_CONFIG" >&6
11226 echo "$as_me:$LINENO: result: no" >&5
11227 echo "${ECHO_T}no" >&6
11232 if test "$PKG_CONFIG" = "no" ; then
11233 echo "*** The pkg-config script could not be found. Make sure it is"
11234 echo "*** in your path, or set the PKG_CONFIG environment variable"
11235 echo "*** to the full path to pkg-config."
11236 echo "*** Or see http://www.freedesktop.org/software/pkgconfig to get pkg-config."
11238 PKG_CONFIG_MIN_VERSION
=0.9.0
11239 if $PKG_CONFIG --atleast-pkgconfig-version $PKG_CONFIG_MIN_VERSION; then
11240 echo "$as_me:$LINENO: checking for gtk+-2.0 >= 2.4 gthread-2.0 >= 2.2 gdk-pixbuf-2.0" >&5
11241 echo $ECHO_N "checking for gtk+-2.0 >= 2.4 gthread-2.0 >= 2.2 gdk-pixbuf-2.0... $ECHO_C" >&6
11243 if $PKG_CONFIG --exists "gtk+-2.0 >= 2.4 gthread-2.0 >= 2.2 gdk-pixbuf-2.0" ; then
11244 echo "$as_me:$LINENO: result: yes" >&5
11245 echo "${ECHO_T}yes" >&6
11248 echo "$as_me:$LINENO: checking GTK_CFLAGS" >&5
11249 echo $ECHO_N "checking GTK_CFLAGS... $ECHO_C" >&6
11250 GTK_CFLAGS
=`$PKG_CONFIG --cflags "gtk+-2.0 >= 2.4 gthread-2.0 >= 2.2 gdk-pixbuf-2.0"`
11251 echo "$as_me:$LINENO: result: $GTK_CFLAGS" >&5
11252 echo "${ECHO_T}$GTK_CFLAGS" >&6
11254 echo "$as_me:$LINENO: checking GTK_LIBS" >&5
11255 echo $ECHO_N "checking GTK_LIBS... $ECHO_C" >&6
11256 GTK_LIBS
=`$PKG_CONFIG --libs "gtk+-2.0 >= 2.4 gthread-2.0 >= 2.2 gdk-pixbuf-2.0"`
11257 echo "$as_me:$LINENO: result: $GTK_LIBS" >&5
11258 echo "${ECHO_T}$GTK_LIBS" >&6
11262 ## If we have a custom action on failure, don't print errors, but
11263 ## do set a variable so people can do so.
11264 GTK_PKG_ERRORS
=`$PKG_CONFIG --errors-to-stdout --print-errors "gtk+-2.0 >= 2.4 gthread-2.0 >= 2.2 gdk-pixbuf-2.0"`
11265 echo $GTK_PKG_ERRORS
11271 echo "*** Your version of pkg-config is too old. You need version $PKG_CONFIG_MIN_VERSION or newer."
11272 echo "*** See http://www.freedesktop.org/software/pkgconfig"
11276 if test $succeeded = yes; then
11279 { { echo "$as_me:$LINENO: error: Library requirements (gtk+-2.0 >= 2.4 gthread-2.0 >= 2.2 gdk-pixbuf-2.0) not met; consider adjusting the PKG_CONFIG_PATH environment variable if your libraries are in a nonstandard prefix so pkg-config can find them." >&5
11280 echo "$as_me: error: Library requirements (gtk+-2.0 >= 2.4 gthread-2.0 >= 2.2 gdk-pixbuf-2.0) not met; consider adjusting the PKG_CONFIG_PATH environment variable if your libraries are in a nonstandard prefix so pkg-config can find them." >&2;}
11281 { (exit 1); exit 1; }; }
11285 if test "x${enable_gtk_cairo}" = xyes
; then
11289 if test -z "$PKG_CONFIG"; then
11290 # Extract the first word of "pkg-config", so it can be a program name with args.
11291 set dummy pkg-config
; ac_word
=$2
11292 echo "$as_me:$LINENO: checking for $ac_word" >&5
11293 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
11294 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
11295 echo $ECHO_N "(cached) $ECHO_C" >&6
11297 case $PKG_CONFIG in
11299 ac_cv_path_PKG_CONFIG
="$PKG_CONFIG" # Let the user override the test with a path.
11302 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
11303 for as_dir
in $PATH
11306 test -z "$as_dir" && as_dir
=.
11307 for ac_exec_ext
in '' $ac_executable_extensions; do
11308 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
11309 ac_cv_path_PKG_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
11310 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
11316 test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG
="no"
11320 PKG_CONFIG
=$ac_cv_path_PKG_CONFIG
11322 if test -n "$PKG_CONFIG"; then
11323 echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
11324 echo "${ECHO_T}$PKG_CONFIG" >&6
11326 echo "$as_me:$LINENO: result: no" >&5
11327 echo "${ECHO_T}no" >&6
11332 if test "$PKG_CONFIG" = "no" ; then
11333 echo "*** The pkg-config script could not be found. Make sure it is"
11334 echo "*** in your path, or set the PKG_CONFIG environment variable"
11335 echo "*** to the full path to pkg-config."
11336 echo "*** Or see http://www.freedesktop.org/software/pkgconfig to get pkg-config."
11338 PKG_CONFIG_MIN_VERSION
=0.9.0
11339 if $PKG_CONFIG --atleast-pkgconfig-version $PKG_CONFIG_MIN_VERSION; then
11340 echo "$as_me:$LINENO: checking for cairo >= 0.5.0" >&5
11341 echo $ECHO_N "checking for cairo >= 0.5.0... $ECHO_C" >&6
11343 if $PKG_CONFIG --exists "cairo >= 0.5.0" ; then
11344 echo "$as_me:$LINENO: result: yes" >&5
11345 echo "${ECHO_T}yes" >&6
11348 echo "$as_me:$LINENO: checking CAIRO_CFLAGS" >&5
11349 echo $ECHO_N "checking CAIRO_CFLAGS... $ECHO_C" >&6
11350 CAIRO_CFLAGS
=`$PKG_CONFIG --cflags "cairo >= 0.5.0"`
11351 echo "$as_me:$LINENO: result: $CAIRO_CFLAGS" >&5
11352 echo "${ECHO_T}$CAIRO_CFLAGS" >&6
11354 echo "$as_me:$LINENO: checking CAIRO_LIBS" >&5
11355 echo $ECHO_N "checking CAIRO_LIBS... $ECHO_C" >&6
11356 CAIRO_LIBS
=`$PKG_CONFIG --libs "cairo >= 0.5.0"`
11357 echo "$as_me:$LINENO: result: $CAIRO_LIBS" >&5
11358 echo "${ECHO_T}$CAIRO_LIBS" >&6
11362 ## If we have a custom action on failure, don't print errors, but
11363 ## do set a variable so people can do so.
11364 CAIRO_PKG_ERRORS
=`$PKG_CONFIG --errors-to-stdout --print-errors "cairo >= 0.5.0"`
11365 echo $CAIRO_PKG_ERRORS
11371 echo "*** Your version of pkg-config is too old. You need version $PKG_CONFIG_MIN_VERSION or newer."
11372 echo "*** See http://www.freedesktop.org/software/pkgconfig"
11376 if test $succeeded = yes; then
11379 { { echo "$as_me:$LINENO: error: Library requirements (cairo >= 0.5.0) not met; consider adjusting the PKG_CONFIG_PATH environment variable if your libraries are in a nonstandard prefix so pkg-config can find them." >&5
11380 echo "$as_me: error: Library requirements (cairo >= 0.5.0) not met; consider adjusting the PKG_CONFIG_PATH environment variable if your libraries are in a nonstandard prefix so pkg-config can find them." >&2;}
11381 { (exit 1); exit 1; }; }
11389 if test -z "$PKG_CONFIG"; then
11390 # Extract the first word of "pkg-config", so it can be a program name with args.
11391 set dummy pkg-config
; ac_word
=$2
11392 echo "$as_me:$LINENO: checking for $ac_word" >&5
11393 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
11394 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
11395 echo $ECHO_N "(cached) $ECHO_C" >&6
11397 case $PKG_CONFIG in
11399 ac_cv_path_PKG_CONFIG
="$PKG_CONFIG" # Let the user override the test with a path.
11402 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
11403 for as_dir
in $PATH
11406 test -z "$as_dir" && as_dir
=.
11407 for ac_exec_ext
in '' $ac_executable_extensions; do
11408 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
11409 ac_cv_path_PKG_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
11410 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
11416 test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG
="no"
11420 PKG_CONFIG
=$ac_cv_path_PKG_CONFIG
11422 if test -n "$PKG_CONFIG"; then
11423 echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
11424 echo "${ECHO_T}$PKG_CONFIG" >&6
11426 echo "$as_me:$LINENO: result: no" >&5
11427 echo "${ECHO_T}no" >&6
11432 if test "$PKG_CONFIG" = "no" ; then
11433 echo "*** The pkg-config script could not be found. Make sure it is"
11434 echo "*** in your path, or set the PKG_CONFIG environment variable"
11435 echo "*** to the full path to pkg-config."
11436 echo "*** Or see http://www.freedesktop.org/software/pkgconfig to get pkg-config."
11438 PKG_CONFIG_MIN_VERSION
=0.9.0
11439 if $PKG_CONFIG --atleast-pkgconfig-version $PKG_CONFIG_MIN_VERSION; then
11440 echo "$as_me:$LINENO: checking for pangoft2" >&5
11441 echo $ECHO_N "checking for pangoft2... $ECHO_C" >&6
11443 if $PKG_CONFIG --exists "pangoft2" ; then
11444 echo "$as_me:$LINENO: result: yes" >&5
11445 echo "${ECHO_T}yes" >&6
11448 echo "$as_me:$LINENO: checking PANGOFT2_CFLAGS" >&5
11449 echo $ECHO_N "checking PANGOFT2_CFLAGS... $ECHO_C" >&6
11450 PANGOFT2_CFLAGS
=`$PKG_CONFIG --cflags "pangoft2"`
11451 echo "$as_me:$LINENO: result: $PANGOFT2_CFLAGS" >&5
11452 echo "${ECHO_T}$PANGOFT2_CFLAGS" >&6
11454 echo "$as_me:$LINENO: checking PANGOFT2_LIBS" >&5
11455 echo $ECHO_N "checking PANGOFT2_LIBS... $ECHO_C" >&6
11456 PANGOFT2_LIBS
=`$PKG_CONFIG --libs "pangoft2"`
11457 echo "$as_me:$LINENO: result: $PANGOFT2_LIBS" >&5
11458 echo "${ECHO_T}$PANGOFT2_LIBS" >&6
11462 ## If we have a custom action on failure, don't print errors, but
11463 ## do set a variable so people can do so.
11464 PANGOFT2_PKG_ERRORS
=`$PKG_CONFIG --errors-to-stdout --print-errors "pangoft2"`
11465 echo $PANGOFT2_PKG_ERRORS
11471 echo "*** Your version of pkg-config is too old. You need version $PKG_CONFIG_MIN_VERSION or newer."
11472 echo "*** See http://www.freedesktop.org/software/pkgconfig"
11476 if test $succeeded = yes; then
11479 { { echo "$as_me:$LINENO: error: Library requirements (pangoft2) not met; consider adjusting the PKG_CONFIG_PATH environment variable if your libraries are in a nonstandard prefix so pkg-config can find them." >&5
11480 echo "$as_me: error: Library requirements (pangoft2) not met; consider adjusting the PKG_CONFIG_PATH environment variable if your libraries are in a nonstandard prefix so pkg-config can find them." >&2;}
11481 { (exit 1); exit 1; }; }
11493 if test "x${COMPILE_QT_PEER}" = xyes
; then
11497 if test -z "$PKG_CONFIG"; then
11498 # Extract the first word of "pkg-config", so it can be a program name with args.
11499 set dummy pkg-config
; ac_word
=$2
11500 echo "$as_me:$LINENO: checking for $ac_word" >&5
11501 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
11502 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
11503 echo $ECHO_N "(cached) $ECHO_C" >&6
11505 case $PKG_CONFIG in
11507 ac_cv_path_PKG_CONFIG
="$PKG_CONFIG" # Let the user override the test with a path.
11510 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
11511 for as_dir
in $PATH
11514 test -z "$as_dir" && as_dir
=.
11515 for ac_exec_ext
in '' $ac_executable_extensions; do
11516 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
11517 ac_cv_path_PKG_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
11518 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
11524 test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG
="no"
11528 PKG_CONFIG
=$ac_cv_path_PKG_CONFIG
11530 if test -n "$PKG_CONFIG"; then
11531 echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
11532 echo "${ECHO_T}$PKG_CONFIG" >&6
11534 echo "$as_me:$LINENO: result: no" >&5
11535 echo "${ECHO_T}no" >&6
11540 if test "$PKG_CONFIG" = "no" ; then
11541 echo "*** The pkg-config script could not be found. Make sure it is"
11542 echo "*** in your path, or set the PKG_CONFIG environment variable"
11543 echo "*** to the full path to pkg-config."
11544 echo "*** Or see http://www.freedesktop.org/software/pkgconfig to get pkg-config."
11546 PKG_CONFIG_MIN_VERSION
=0.9.0
11547 if $PKG_CONFIG --atleast-pkgconfig-version $PKG_CONFIG_MIN_VERSION; then
11548 echo "$as_me:$LINENO: checking for QtGui >= 4.0.1" >&5
11549 echo $ECHO_N "checking for QtGui >= 4.0.1... $ECHO_C" >&6
11551 if $PKG_CONFIG --exists "QtGui >= 4.0.1" ; then
11552 echo "$as_me:$LINENO: result: yes" >&5
11553 echo "${ECHO_T}yes" >&6
11556 echo "$as_me:$LINENO: checking QT_CFLAGS" >&5
11557 echo $ECHO_N "checking QT_CFLAGS... $ECHO_C" >&6
11558 QT_CFLAGS
=`$PKG_CONFIG --cflags "QtGui >= 4.0.1"`
11559 echo "$as_me:$LINENO: result: $QT_CFLAGS" >&5
11560 echo "${ECHO_T}$QT_CFLAGS" >&6
11562 echo "$as_me:$LINENO: checking QT_LIBS" >&5
11563 echo $ECHO_N "checking QT_LIBS... $ECHO_C" >&6
11564 QT_LIBS
=`$PKG_CONFIG --libs "QtGui >= 4.0.1"`
11565 echo "$as_me:$LINENO: result: $QT_LIBS" >&5
11566 echo "${ECHO_T}$QT_LIBS" >&6
11570 ## If we have a custom action on failure, don't print errors, but
11571 ## do set a variable so people can do so.
11572 QT_PKG_ERRORS
=`$PKG_CONFIG --errors-to-stdout --print-errors "QtGui >= 4.0.1"`
11579 echo "*** Your version of pkg-config is too old. You need version $PKG_CONFIG_MIN_VERSION or newer."
11580 echo "*** See http://www.freedesktop.org/software/pkgconfig"
11584 if test $succeeded = yes; then
11590 if test "x$HAVE_QT4" = "xyes"; then
11591 QT_INCLUDE_DIR
=$
($PKG_CONFIG --variable=includedir QtGui
)
11592 EXTRA_QT_INCLUDE_DIR
="$QT_INCLUDE_DIR/Qt"
11593 as_ac_File
=`echo "ac_cv_file_$QT_INCLUDE_DIR/QWidget" | $as_tr_sh`
11594 echo "$as_me:$LINENO: checking for $QT_INCLUDE_DIR/QWidget" >&5
11595 echo $ECHO_N "checking for $QT_INCLUDE_DIR/QWidget... $ECHO_C" >&6
11596 if eval "test \"\${$as_ac_File+set}\" = set"; then
11597 echo $ECHO_N "(cached) $ECHO_C" >&6
11599 test "$cross_compiling" = yes &&
11600 { { echo "$as_me:$LINENO: error: cannot check for file existence when cross compiling" >&5
11601 echo "$as_me: error: cannot check for file existence when cross compiling" >&2;}
11602 { (exit 1); exit 1; }; }
11603 if test -r "$QT_INCLUDE_DIR/QWidget"; then
11604 eval "$as_ac_File=yes"
11606 eval "$as_ac_File=no"
11609 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_File'}'`" >&5
11610 echo "${ECHO_T}`eval echo '${'$as_ac_File'}'`" >&6
11611 if test `eval echo '${'$as_ac_File'}'` = yes; then
11612 { echo "$as_me:$LINENO: No extra QT_INCLUDE_DIR needed" >&5
11613 echo "$as_me: No extra QT_INCLUDE_DIR needed" >&6;}
11615 as_ac_File
=`echo "ac_cv_file_$EXTRA_QT_INCLUDE_DIR/QWidget" | $as_tr_sh`
11616 echo "$as_me:$LINENO: checking for $EXTRA_QT_INCLUDE_DIR/QWidget" >&5
11617 echo $ECHO_N "checking for $EXTRA_QT_INCLUDE_DIR/QWidget... $ECHO_C" >&6
11618 if eval "test \"\${$as_ac_File+set}\" = set"; then
11619 echo $ECHO_N "(cached) $ECHO_C" >&6
11621 test "$cross_compiling" = yes &&
11622 { { echo "$as_me:$LINENO: error: cannot check for file existence when cross compiling" >&5
11623 echo "$as_me: error: cannot check for file existence when cross compiling" >&2;}
11624 { (exit 1); exit 1; }; }
11625 if test -r "$EXTRA_QT_INCLUDE_DIR/QWidget"; then
11626 eval "$as_ac_File=yes"
11628 eval "$as_ac_File=no"
11631 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_File'}'`" >&5
11632 echo "${ECHO_T}`eval echo '${'$as_ac_File'}'`" >&6
11633 if test `eval echo '${'$as_ac_File'}'` = yes; then
11634 QT_CFLAGS
="$QT_CFLAGS -I$EXTRA_QT_INCLUDE_DIR"
11636 { echo "$as_me:$LINENO: WARNING: QWidget not found" >&5
11637 echo "$as_me: WARNING: QWidget not found" >&2;}
11642 # Extract the first word of "moc", so it can be a program name with args.
11643 set dummy moc
; ac_word
=$2
11644 echo "$as_me:$LINENO: checking for $ac_word" >&5
11645 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
11646 if test "${ac_cv_prog_MOC+set}" = set; then
11647 echo $ECHO_N "(cached) $ECHO_C" >&6
11649 if test -n "$MOC"; then
11650 ac_cv_prog_MOC
="$MOC" # Let the user override the test.
11652 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
11653 for as_dir
in $PATH
11656 test -z "$as_dir" && as_dir
=.
11657 for ac_exec_ext
in '' $ac_executable_extensions; do
11658 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
11659 ac_cv_prog_MOC
="moc"
11660 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
11668 MOC
=$ac_cv_prog_MOC
11669 if test -n "$MOC"; then
11670 echo "$as_me:$LINENO: result: $MOC" >&5
11671 echo "${ECHO_T}$MOC" >&6
11673 echo "$as_me:$LINENO: result: no" >&5
11674 echo "${ECHO_T}no" >&6
11678 if test "x$HAVE_QT4" = "xno"; then
11679 { echo "$as_me:$LINENO: Looking for QT_CFLAGS and QT_LIBS without pkg-config" >&5
11680 echo "$as_me: Looking for QT_CFLAGS and QT_LIBS without pkg-config" >&6;}
11684 # Check whether --with-qt4dir or --without-qt4dir was given.
11685 if test "${with_qt4dir+set}" = set; then
11686 withval
="$with_qt4dir"
11690 if test x
"$QT4DIR" = x
; then
11691 { { echo "$as_me:$LINENO: error: *** No path for Qt4 --with-qt4dir option given" >&5
11692 echo "$as_me: error: *** No path for Qt4 --with-qt4dir option given" >&2;}
11693 { (exit 1); exit 1; }; }
11695 echo "$as_me:$LINENO: result: QT4DIR... $QT4DIR" >&5
11696 echo "${ECHO_T}QT4DIR... $QT4DIR" >&6
11697 # Extract the first word of "moc", so it can be a program name with args.
11698 set dummy moc
; ac_word
=$2
11699 echo "$as_me:$LINENO: checking for $ac_word" >&5
11700 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
11701 if test "${ac_cv_prog_MOC+set}" = set; then
11702 echo $ECHO_N "(cached) $ECHO_C" >&6
11704 if test -n "$MOC"; then
11705 ac_cv_prog_MOC
="$MOC" # Let the user override the test.
11707 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
11708 for as_dir
in $QT4DIR/bin
11711 test -z "$as_dir" && as_dir
=.
11712 for ac_exec_ext
in '' $ac_executable_extensions; do
11713 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
11714 ac_cv_prog_MOC
="$QT4DIR/bin/moc"
11715 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
11723 MOC
=$ac_cv_prog_MOC
11724 if test -n "$MOC"; then
11725 echo "$as_me:$LINENO: result: $MOC" >&5
11726 echo "${ECHO_T}$MOC" >&6
11728 echo "$as_me:$LINENO: result: no" >&5
11729 echo "${ECHO_T}no" >&6
11732 if test x
"$MOC" = x
; then
11733 { { echo "$as_me:$LINENO: error: *** This is not the right Qt installation" >&5
11734 echo "$as_me: error: *** This is not the right Qt installation" >&2;}
11735 { (exit 1); exit 1; }; }
11737 QT_CFLAGS
="-F$QT4DIR/lib -I$QT4DIR/lib/QtCore.framework/Headers"
11738 QT_CFLAGS
="$QT_CFLAGS -I$QT4DIR/lib/QtGui.framework/Headers"
11739 QT_LIBS
="-Xlinker -F$QT4DIR/lib -Xlinker -framework -Xlinker QtCore"
11740 QT_LIBS
="$QT_LIBS -Xlinker -framework -Xlinker QtGui"
11743 { { echo "$as_me:$LINENO: error: *** Please check PKG_CONFIG_PATH or the version
11744 of your installed Qt4 installation." >&5
11745 echo "$as_me: error: *** Please check PKG_CONFIG_PATH or the version
11746 of your installed Qt4 installation." >&2;}
11747 { (exit 1); exit 1; }; }
11751 { echo "$as_me:$LINENO: Set QT_CFLAGS... $QT_CFLAGS" >&5
11752 echo "$as_me: Set QT_CFLAGS... $QT_CFLAGS" >&6;}
11760 # Check whether --with-javah or --without-javah was given.
11761 if test "${with_javah+set}" = set; then
11762 withval
="$with_javah"
11764 if test "x${withval}" != x && test "x${withval}" != xyes && test "x${withval}" != xno
; then
11766 if test "x${withval}" != x
; then
11767 if test -f "${withval}"; then
11768 USER_JAVAH
="${withval}"
11770 # Extract the first word of ""${withval}"", so it can be a program name with args.
11771 set dummy
"${withval}"; ac_word
=$2
11772 echo "$as_me:$LINENO: checking for $ac_word" >&5
11773 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
11774 if test "${ac_cv_path_USER_JAVAH+set}" = set; then
11775 echo $ECHO_N "(cached) $ECHO_C" >&6
11777 case $USER_JAVAH in
11779 ac_cv_path_USER_JAVAH
="$USER_JAVAH" # Let the user override the test with a path.
11782 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
11783 for as_dir
in $PATH
11786 test -z "$as_dir" && as_dir
=.
11787 for ac_exec_ext
in '' $ac_executable_extensions; do
11788 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
11789 ac_cv_path_USER_JAVAH
="$as_dir/$ac_word$ac_exec_ext"
11790 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
11799 USER_JAVAH
=$ac_cv_path_USER_JAVAH
11801 if test -n "$USER_JAVAH"; then
11802 echo "$as_me:$LINENO: result: $USER_JAVAH" >&5
11803 echo "${ECHO_T}$USER_JAVAH" >&6
11805 echo "$as_me:$LINENO: result: no" >&5
11806 echo "${ECHO_T}no" >&6
11811 for javah_name
in gcjh javah
; do
11812 # Extract the first word of ""$javah_name"", so it can be a program name with args.
11813 set dummy
"$javah_name"; ac_word
=$2
11814 echo "$as_me:$LINENO: checking for $ac_word" >&5
11815 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
11816 if test "${ac_cv_path_USER_JAVAH+set}" = set; then
11817 echo $ECHO_N "(cached) $ECHO_C" >&6
11819 case $USER_JAVAH in
11821 ac_cv_path_USER_JAVAH
="$USER_JAVAH" # Let the user override the test with a path.
11824 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
11825 for as_dir
in $PATH
11828 test -z "$as_dir" && as_dir
=.
11829 for ac_exec_ext
in '' $ac_executable_extensions; do
11830 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
11831 ac_cv_path_USER_JAVAH
="$as_dir/$ac_word$ac_exec_ext"
11832 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
11841 USER_JAVAH
=$ac_cv_path_USER_JAVAH
11843 if test -n "$USER_JAVAH"; then
11844 echo "$as_me:$LINENO: result: $USER_JAVAH" >&5
11845 echo "${ECHO_T}$USER_JAVAH" >&6
11847 echo "$as_me:$LINENO: result: no" >&5
11848 echo "${ECHO_T}no" >&6
11851 if test "x${USER_JAVAH}" != x
; then
11857 # if test "x${USER_JAVAH}" = x; then
11858 # echo "configure: cannot find javah" 1>&2
11864 if test "x" != x
; then
11865 if test -f ""; then
11868 # Extract the first word of """", so it can be a program name with args.
11869 set dummy
""; ac_word
=$2
11870 echo "$as_me:$LINENO: checking for $ac_word" >&5
11871 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
11872 if test "${ac_cv_path_USER_JAVAH+set}" = set; then
11873 echo $ECHO_N "(cached) $ECHO_C" >&6
11875 case $USER_JAVAH in
11877 ac_cv_path_USER_JAVAH
="$USER_JAVAH" # Let the user override the test with a path.
11880 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
11881 for as_dir
in $PATH
11884 test -z "$as_dir" && as_dir
=.
11885 for ac_exec_ext
in '' $ac_executable_extensions; do
11886 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
11887 ac_cv_path_USER_JAVAH
="$as_dir/$ac_word$ac_exec_ext"
11888 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
11897 USER_JAVAH
=$ac_cv_path_USER_JAVAH
11899 if test -n "$USER_JAVAH"; then
11900 echo "$as_me:$LINENO: result: $USER_JAVAH" >&5
11901 echo "${ECHO_T}$USER_JAVAH" >&6
11903 echo "$as_me:$LINENO: result: no" >&5
11904 echo "${ECHO_T}no" >&6
11909 for javah_name
in gcjh javah
; do
11910 # Extract the first word of ""$javah_name"", so it can be a program name with args.
11911 set dummy
"$javah_name"; ac_word
=$2
11912 echo "$as_me:$LINENO: checking for $ac_word" >&5
11913 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
11914 if test "${ac_cv_path_USER_JAVAH+set}" = set; then
11915 echo $ECHO_N "(cached) $ECHO_C" >&6
11917 case $USER_JAVAH in
11919 ac_cv_path_USER_JAVAH
="$USER_JAVAH" # Let the user override the test with a path.
11922 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
11923 for as_dir
in $PATH
11926 test -z "$as_dir" && as_dir
=.
11927 for ac_exec_ext
in '' $ac_executable_extensions; do
11928 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
11929 ac_cv_path_USER_JAVAH
="$as_dir/$ac_word$ac_exec_ext"
11930 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
11939 USER_JAVAH
=$ac_cv_path_USER_JAVAH
11941 if test -n "$USER_JAVAH"; then
11942 echo "$as_me:$LINENO: result: $USER_JAVAH" >&5
11943 echo "${ECHO_T}$USER_JAVAH" >&6
11945 echo "$as_me:$LINENO: result: no" >&5
11946 echo "${ECHO_T}no" >&6
11949 if test "x${USER_JAVAH}" != x
; then
11955 # if test "x${USER_JAVAH}" = x; then
11956 # echo "configure: cannot find javah" 1>&2
11965 if test "x" != x
; then
11966 if test -f ""; then
11969 # Extract the first word of """", so it can be a program name with args.
11970 set dummy
""; ac_word
=$2
11971 echo "$as_me:$LINENO: checking for $ac_word" >&5
11972 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
11973 if test "${ac_cv_path_USER_JAVAH+set}" = set; then
11974 echo $ECHO_N "(cached) $ECHO_C" >&6
11976 case $USER_JAVAH in
11978 ac_cv_path_USER_JAVAH
="$USER_JAVAH" # Let the user override the test with a path.
11981 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
11982 for as_dir
in $PATH
11985 test -z "$as_dir" && as_dir
=.
11986 for ac_exec_ext
in '' $ac_executable_extensions; do
11987 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
11988 ac_cv_path_USER_JAVAH
="$as_dir/$ac_word$ac_exec_ext"
11989 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
11998 USER_JAVAH
=$ac_cv_path_USER_JAVAH
12000 if test -n "$USER_JAVAH"; then
12001 echo "$as_me:$LINENO: result: $USER_JAVAH" >&5
12002 echo "${ECHO_T}$USER_JAVAH" >&6
12004 echo "$as_me:$LINENO: result: no" >&5
12005 echo "${ECHO_T}no" >&6
12010 for javah_name
in gcjh javah
; do
12011 # Extract the first word of ""$javah_name"", so it can be a program name with args.
12012 set dummy
"$javah_name"; ac_word
=$2
12013 echo "$as_me:$LINENO: checking for $ac_word" >&5
12014 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
12015 if test "${ac_cv_path_USER_JAVAH+set}" = set; then
12016 echo $ECHO_N "(cached) $ECHO_C" >&6
12018 case $USER_JAVAH in
12020 ac_cv_path_USER_JAVAH
="$USER_JAVAH" # Let the user override the test with a path.
12023 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
12024 for as_dir
in $PATH
12027 test -z "$as_dir" && as_dir
=.
12028 for ac_exec_ext
in '' $ac_executable_extensions; do
12029 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
12030 ac_cv_path_USER_JAVAH
="$as_dir/$ac_word$ac_exec_ext"
12031 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
12040 USER_JAVAH
=$ac_cv_path_USER_JAVAH
12042 if test -n "$USER_JAVAH"; then
12043 echo "$as_me:$LINENO: result: $USER_JAVAH" >&5
12044 echo "${ECHO_T}$USER_JAVAH" >&6
12046 echo "$as_me:$LINENO: result: no" >&5
12047 echo "${ECHO_T}no" >&6
12050 if test "x${USER_JAVAH}" != x
; then
12056 # if test "x${USER_JAVAH}" = x; then
12057 # echo "configure: cannot find javah" 1>&2
12065 if test "x${USER_JAVAH}" != x
; then
12066 USER_SPECIFIED_JAVAH_TRUE
=
12067 USER_SPECIFIED_JAVAH_FALSE
='#'
12069 USER_SPECIFIED_JAVAH_TRUE
='#'
12070 USER_SPECIFIED_JAVAH_FALSE
=
12076 CLASSPATH_INCLUDES
="-I\$(top_srcdir)/include -I\$(top_srcdir)/native/jni/classpath -I\$(top_srcdir)/native/target/Linux -I\$(top_srcdir)/native/target/generic"
12079 if test "x${COMPILE_JNI}" = xyes
; then
12080 echo "$as_me:$LINENO: checking jni_md.h support" >&5
12081 echo $ECHO_N "checking jni_md.h support... $ECHO_C" >&6
12082 if test -f ${srcdir}/include/jni_md-${target_cpu}-${target_os}.h
; then
12083 echo "$as_me:$LINENO: result: yes" >&5
12084 echo "${ECHO_T}yes" >&6
12087 target_os
=linux-gnu
12088 { echo "$as_me:$LINENO: WARNING: no" >&5
12089 echo "$as_me: WARNING: no" >&2;}
12091 ac_sources
="include/jni_md-${target_cpu}-${target_os}.h"
12092 ac_dests
="include/jni_md.h"
12093 while test -n "$ac_sources"; do
12094 set $ac_dests; ac_dest
=$1; shift; ac_dests
=$
*
12095 set $ac_sources; ac_source
=$1; shift; ac_sources
=$
*
12096 ac_config_links_1
="$ac_config_links_1 $ac_dest:$ac_source"
12098 ac_config_links
="$ac_config_links $ac_config_links_1"
12103 user_specified_javac
=
12107 # Check whether --with-gcj or --without-gcj was given.
12108 if test "${with_gcj+set}" = set; then
12109 withval
="$with_gcj"
12111 if test "x${withval}" != x && test "x${withval}" != xyes && test "x${withval}" != xno
; then
12113 if test "x${withval}" != x
; then
12114 if test -f "${withval}"; then
12117 # Extract the first word of ""${withval}"", so it can be a program name with args.
12118 set dummy
"${withval}"; ac_word
=$2
12119 echo "$as_me:$LINENO: checking for $ac_word" >&5
12120 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
12121 if test "${ac_cv_path_GCJ+set}" = set; then
12122 echo $ECHO_N "(cached) $ECHO_C" >&6
12126 ac_cv_path_GCJ
="$GCJ" # Let the user override the test with a path.
12129 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
12130 for as_dir
in $PATH
12133 test -z "$as_dir" && as_dir
=.
12134 for ac_exec_ext
in '' $ac_executable_extensions; do
12135 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
12136 ac_cv_path_GCJ
="$as_dir/$ac_word$ac_exec_ext"
12137 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
12146 GCJ
=$ac_cv_path_GCJ
12148 if test -n "$GCJ"; then
12149 echo "$as_me:$LINENO: result: $GCJ" >&5
12150 echo "${ECHO_T}$GCJ" >&6
12152 echo "$as_me:$LINENO: result: no" >&5
12153 echo "${ECHO_T}no" >&6
12158 # Extract the first word of ""gcj"", so it can be a program name with args.
12159 set dummy
"gcj"; ac_word
=$2
12160 echo "$as_me:$LINENO: checking for $ac_word" >&5
12161 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
12162 if test "${ac_cv_path_GCJ+set}" = set; then
12163 echo $ECHO_N "(cached) $ECHO_C" >&6
12167 ac_cv_path_GCJ
="$GCJ" # Let the user override the test with a path.
12170 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
12171 for as_dir
in $PATH
12174 test -z "$as_dir" && as_dir
=.
12175 for ac_exec_ext
in '' $ac_executable_extensions; do
12176 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
12177 ac_cv_path_GCJ
="$as_dir/$ac_word$ac_exec_ext"
12178 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
12187 GCJ
=$ac_cv_path_GCJ
12189 if test -n "$GCJ"; then
12190 echo "$as_me:$LINENO: result: $GCJ" >&5
12191 echo "${ECHO_T}$GCJ" >&6
12193 echo "$as_me:$LINENO: result: no" >&5
12194 echo "${ECHO_T}no" >&6
12198 if test "x$GCJ" != x
; then
12199 echo "$as_me:$LINENO: checking gcj version 4.0" >&5
12200 echo $ECHO_N "checking gcj version 4.0... $ECHO_C" >&6
12202 ac_cpp
='$CPP $CPPFLAGS'
12203 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12204 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12205 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
12207 cat >conftest.
$ac_ext <<_ACEOF
12209 #error GCJ 4.0.0 or higher is required
12213 $GCJ -E conftest.c
> /dev
/null
12215 if test "x$gcj_4_result" = "x0"; then
12216 echo "$as_me:$LINENO: result: 4.0 or higher found" >&5
12217 echo "${ECHO_T}4.0 or higher found" >&6
12219 { echo "$as_me:$LINENO: WARNING: 4.0 or higher required" >&5
12220 echo "$as_me: WARNING: 4.0 or higher required" >&2;}
12223 ac_cpp
='$CPP $CPPFLAGS'
12224 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12225 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12226 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
12231 if test "x${withval}" != xno
; then
12233 if test "x" != x
; then
12234 if test -f ""; then
12237 # Extract the first word of """", so it can be a program name with args.
12238 set dummy
""; ac_word
=$2
12239 echo "$as_me:$LINENO: checking for $ac_word" >&5
12240 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
12241 if test "${ac_cv_path_GCJ+set}" = set; then
12242 echo $ECHO_N "(cached) $ECHO_C" >&6
12246 ac_cv_path_GCJ
="$GCJ" # Let the user override the test with a path.
12249 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
12250 for as_dir
in $PATH
12253 test -z "$as_dir" && as_dir
=.
12254 for ac_exec_ext
in '' $ac_executable_extensions; do
12255 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
12256 ac_cv_path_GCJ
="$as_dir/$ac_word$ac_exec_ext"
12257 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
12266 GCJ
=$ac_cv_path_GCJ
12268 if test -n "$GCJ"; then
12269 echo "$as_me:$LINENO: result: $GCJ" >&5
12270 echo "${ECHO_T}$GCJ" >&6
12272 echo "$as_me:$LINENO: result: no" >&5
12273 echo "${ECHO_T}no" >&6
12278 # Extract the first word of ""gcj"", so it can be a program name with args.
12279 set dummy
"gcj"; ac_word
=$2
12280 echo "$as_me:$LINENO: checking for $ac_word" >&5
12281 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
12282 if test "${ac_cv_path_GCJ+set}" = set; then
12283 echo $ECHO_N "(cached) $ECHO_C" >&6
12287 ac_cv_path_GCJ
="$GCJ" # Let the user override the test with a path.
12290 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
12291 for as_dir
in $PATH
12294 test -z "$as_dir" && as_dir
=.
12295 for ac_exec_ext
in '' $ac_executable_extensions; do
12296 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
12297 ac_cv_path_GCJ
="$as_dir/$ac_word$ac_exec_ext"
12298 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
12307 GCJ
=$ac_cv_path_GCJ
12309 if test -n "$GCJ"; then
12310 echo "$as_me:$LINENO: result: $GCJ" >&5
12311 echo "${ECHO_T}$GCJ" >&6
12313 echo "$as_me:$LINENO: result: no" >&5
12314 echo "${ECHO_T}no" >&6
12318 if test "x$GCJ" != x
; then
12319 echo "$as_me:$LINENO: checking gcj version 4.0" >&5
12320 echo $ECHO_N "checking gcj version 4.0... $ECHO_C" >&6
12322 ac_cpp
='$CPP $CPPFLAGS'
12323 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12324 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12325 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
12327 cat >conftest.
$ac_ext <<_ACEOF
12329 #error GCJ 4.0.0 or higher is required
12333 $GCJ -E conftest.c
> /dev
/null
12335 if test "x$gcj_4_result" = "x0"; then
12336 echo "$as_me:$LINENO: result: 4.0 or higher found" >&5
12337 echo "${ECHO_T}4.0 or higher found" >&6
12339 { echo "$as_me:$LINENO: WARNING: 4.0 or higher required" >&5
12340 echo "$as_me: WARNING: 4.0 or higher required" >&2;}
12343 ac_cpp
='$CPP $CPPFLAGS'
12344 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12345 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12346 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
12352 user_specified_javac
=gcj
12357 if test "x" != x
; then
12358 if test -f ""; then
12361 # Extract the first word of """", so it can be a program name with args.
12362 set dummy
""; ac_word
=$2
12363 echo "$as_me:$LINENO: checking for $ac_word" >&5
12364 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
12365 if test "${ac_cv_path_GCJ+set}" = set; then
12366 echo $ECHO_N "(cached) $ECHO_C" >&6
12370 ac_cv_path_GCJ
="$GCJ" # Let the user override the test with a path.
12373 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
12374 for as_dir
in $PATH
12377 test -z "$as_dir" && as_dir
=.
12378 for ac_exec_ext
in '' $ac_executable_extensions; do
12379 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
12380 ac_cv_path_GCJ
="$as_dir/$ac_word$ac_exec_ext"
12381 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
12390 GCJ
=$ac_cv_path_GCJ
12392 if test -n "$GCJ"; then
12393 echo "$as_me:$LINENO: result: $GCJ" >&5
12394 echo "${ECHO_T}$GCJ" >&6
12396 echo "$as_me:$LINENO: result: no" >&5
12397 echo "${ECHO_T}no" >&6
12402 # Extract the first word of ""gcj"", so it can be a program name with args.
12403 set dummy
"gcj"; ac_word
=$2
12404 echo "$as_me:$LINENO: checking for $ac_word" >&5
12405 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
12406 if test "${ac_cv_path_GCJ+set}" = set; then
12407 echo $ECHO_N "(cached) $ECHO_C" >&6
12411 ac_cv_path_GCJ
="$GCJ" # Let the user override the test with a path.
12414 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
12415 for as_dir
in $PATH
12418 test -z "$as_dir" && as_dir
=.
12419 for ac_exec_ext
in '' $ac_executable_extensions; do
12420 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
12421 ac_cv_path_GCJ
="$as_dir/$ac_word$ac_exec_ext"
12422 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
12431 GCJ
=$ac_cv_path_GCJ
12433 if test -n "$GCJ"; then
12434 echo "$as_me:$LINENO: result: $GCJ" >&5
12435 echo "${ECHO_T}$GCJ" >&6
12437 echo "$as_me:$LINENO: result: no" >&5
12438 echo "${ECHO_T}no" >&6
12442 if test "x$GCJ" != x
; then
12443 echo "$as_me:$LINENO: checking gcj version 4.0" >&5
12444 echo $ECHO_N "checking gcj version 4.0... $ECHO_C" >&6
12446 ac_cpp
='$CPP $CPPFLAGS'
12447 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12448 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12449 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
12451 cat >conftest.
$ac_ext <<_ACEOF
12453 #error GCJ 4.0.0 or higher is required
12457 $GCJ -E conftest.c
> /dev
/null
12459 if test "x$gcj_4_result" = "x0"; then
12460 echo "$as_me:$LINENO: result: 4.0 or higher found" >&5
12461 echo "${ECHO_T}4.0 or higher found" >&6
12463 { echo "$as_me:$LINENO: WARNING: 4.0 or higher required" >&5
12464 echo "$as_me: WARNING: 4.0 or higher required" >&2;}
12467 ac_cpp
='$CPP $CPPFLAGS'
12468 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12469 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12470 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
12480 # Check whether --with-jikes or --without-jikes was given.
12481 if test "${with_jikes+set}" = set; then
12482 withval
="$with_jikes"
12484 if test "x${withval}" != x && test "x${withval}" != xyes && test "x${withval}" != xno
; then
12486 if test "x${withval}" != x
; then
12487 if test -f "${withval}"; then
12490 # Extract the first word of ""${withval}"", so it can be a program name with args.
12491 set dummy
"${withval}"; ac_word
=$2
12492 echo "$as_me:$LINENO: checking for $ac_word" >&5
12493 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
12494 if test "${ac_cv_path_JIKES+set}" = set; then
12495 echo $ECHO_N "(cached) $ECHO_C" >&6
12499 ac_cv_path_JIKES
="$JIKES" # Let the user override the test with a path.
12502 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
12503 for as_dir
in $PATH
12506 test -z "$as_dir" && as_dir
=.
12507 for ac_exec_ext
in '' $ac_executable_extensions; do
12508 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
12509 ac_cv_path_JIKES
="$as_dir/$ac_word$ac_exec_ext"
12510 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
12519 JIKES
=$ac_cv_path_JIKES
12521 if test -n "$JIKES"; then
12522 echo "$as_me:$LINENO: result: $JIKES" >&5
12523 echo "${ECHO_T}$JIKES" >&6
12525 echo "$as_me:$LINENO: result: no" >&5
12526 echo "${ECHO_T}no" >&6
12531 # Extract the first word of ""jikes"", so it can be a program name with args.
12532 set dummy
"jikes"; ac_word
=$2
12533 echo "$as_me:$LINENO: checking for $ac_word" >&5
12534 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
12535 if test "${ac_cv_path_JIKES+set}" = set; then
12536 echo $ECHO_N "(cached) $ECHO_C" >&6
12540 ac_cv_path_JIKES
="$JIKES" # Let the user override the test with a path.
12543 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
12544 for as_dir
in $PATH
12547 test -z "$as_dir" && as_dir
=.
12548 for ac_exec_ext
in '' $ac_executable_extensions; do
12549 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
12550 ac_cv_path_JIKES
="$as_dir/$ac_word$ac_exec_ext"
12551 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
12560 JIKES
=$ac_cv_path_JIKES
12562 if test -n "$JIKES"; then
12563 echo "$as_me:$LINENO: result: $JIKES" >&5
12564 echo "${ECHO_T}$JIKES" >&6
12566 echo "$as_me:$LINENO: result: no" >&5
12567 echo "${ECHO_T}no" >&6
12571 if test "x$JIKES" != "x"; then
12572 echo "$as_me:$LINENO: checking jikes version" >&5
12573 echo $ECHO_N "checking jikes version... $ECHO_C" >&6
12574 JIKES_VERSION
=`$JIKES --version | awk '/^Jikes Compiler/' | cut -d ' ' -f 5`
12575 JIKES_VERSION_MAJOR
=`echo "$JIKES_VERSION" | cut -d '.' -f 1`
12576 JIKES_VERSION_MINOR
=`echo "$JIKES_VERSION" | cut -d '.' -f 2`
12577 if expr "$JIKES_VERSION_MAJOR" = 1 > /dev
/null
; then
12578 if expr "$JIKES_VERSION_MINOR" \
< 19 > /dev
/null
; then
12582 if test "x$JIKES" != "x"; then
12583 echo "$as_me:$LINENO: result: $JIKES_VERSION" >&5
12584 echo "${ECHO_T}$JIKES_VERSION" >&6
12586 { echo "$as_me:$LINENO: WARNING: $JIKES_VERSION: jikes 1.19 or higher required" >&5
12587 echo "$as_me: WARNING: $JIKES_VERSION: jikes 1.19 or higher required" >&2;}
12591 if test -n "`$JIKES --help 2>&1 | grep encoding`"; then
12592 JIKESENCODING
='-encoding UTF-8'
12598 if test "x${withval}" != xno
; then
12600 if test "x" != x
; then
12601 if test -f ""; then
12604 # Extract the first word of """", so it can be a program name with args.
12605 set dummy
""; ac_word
=$2
12606 echo "$as_me:$LINENO: checking for $ac_word" >&5
12607 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
12608 if test "${ac_cv_path_JIKES+set}" = set; then
12609 echo $ECHO_N "(cached) $ECHO_C" >&6
12613 ac_cv_path_JIKES
="$JIKES" # Let the user override the test with a path.
12616 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
12617 for as_dir
in $PATH
12620 test -z "$as_dir" && as_dir
=.
12621 for ac_exec_ext
in '' $ac_executable_extensions; do
12622 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
12623 ac_cv_path_JIKES
="$as_dir/$ac_word$ac_exec_ext"
12624 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
12633 JIKES
=$ac_cv_path_JIKES
12635 if test -n "$JIKES"; then
12636 echo "$as_me:$LINENO: result: $JIKES" >&5
12637 echo "${ECHO_T}$JIKES" >&6
12639 echo "$as_me:$LINENO: result: no" >&5
12640 echo "${ECHO_T}no" >&6
12645 # Extract the first word of ""jikes"", so it can be a program name with args.
12646 set dummy
"jikes"; ac_word
=$2
12647 echo "$as_me:$LINENO: checking for $ac_word" >&5
12648 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
12649 if test "${ac_cv_path_JIKES+set}" = set; then
12650 echo $ECHO_N "(cached) $ECHO_C" >&6
12654 ac_cv_path_JIKES
="$JIKES" # Let the user override the test with a path.
12657 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
12658 for as_dir
in $PATH
12661 test -z "$as_dir" && as_dir
=.
12662 for ac_exec_ext
in '' $ac_executable_extensions; do
12663 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
12664 ac_cv_path_JIKES
="$as_dir/$ac_word$ac_exec_ext"
12665 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
12674 JIKES
=$ac_cv_path_JIKES
12676 if test -n "$JIKES"; then
12677 echo "$as_me:$LINENO: result: $JIKES" >&5
12678 echo "${ECHO_T}$JIKES" >&6
12680 echo "$as_me:$LINENO: result: no" >&5
12681 echo "${ECHO_T}no" >&6
12685 if test "x$JIKES" != "x"; then
12686 echo "$as_me:$LINENO: checking jikes version" >&5
12687 echo $ECHO_N "checking jikes version... $ECHO_C" >&6
12688 JIKES_VERSION
=`$JIKES --version | awk '/^Jikes Compiler/' | cut -d ' ' -f 5`
12689 JIKES_VERSION_MAJOR
=`echo "$JIKES_VERSION" | cut -d '.' -f 1`
12690 JIKES_VERSION_MINOR
=`echo "$JIKES_VERSION" | cut -d '.' -f 2`
12691 if expr "$JIKES_VERSION_MAJOR" = 1 > /dev
/null
; then
12692 if expr "$JIKES_VERSION_MINOR" \
< 19 > /dev
/null
; then
12696 if test "x$JIKES" != "x"; then
12697 echo "$as_me:$LINENO: result: $JIKES_VERSION" >&5
12698 echo "${ECHO_T}$JIKES_VERSION" >&6
12700 { echo "$as_me:$LINENO: WARNING: $JIKES_VERSION: jikes 1.19 or higher required" >&5
12701 echo "$as_me: WARNING: $JIKES_VERSION: jikes 1.19 or higher required" >&2;}
12705 if test -n "`$JIKES --help 2>&1 | grep encoding`"; then
12706 JIKESENCODING
='-encoding UTF-8'
12713 user_specified_javac
=jikes
12718 if test "x" != x
; then
12719 if test -f ""; then
12722 # Extract the first word of """", so it can be a program name with args.
12723 set dummy
""; ac_word
=$2
12724 echo "$as_me:$LINENO: checking for $ac_word" >&5
12725 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
12726 if test "${ac_cv_path_JIKES+set}" = set; then
12727 echo $ECHO_N "(cached) $ECHO_C" >&6
12731 ac_cv_path_JIKES
="$JIKES" # Let the user override the test with a path.
12734 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
12735 for as_dir
in $PATH
12738 test -z "$as_dir" && as_dir
=.
12739 for ac_exec_ext
in '' $ac_executable_extensions; do
12740 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
12741 ac_cv_path_JIKES
="$as_dir/$ac_word$ac_exec_ext"
12742 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
12751 JIKES
=$ac_cv_path_JIKES
12753 if test -n "$JIKES"; then
12754 echo "$as_me:$LINENO: result: $JIKES" >&5
12755 echo "${ECHO_T}$JIKES" >&6
12757 echo "$as_me:$LINENO: result: no" >&5
12758 echo "${ECHO_T}no" >&6
12763 # Extract the first word of ""jikes"", so it can be a program name with args.
12764 set dummy
"jikes"; ac_word
=$2
12765 echo "$as_me:$LINENO: checking for $ac_word" >&5
12766 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
12767 if test "${ac_cv_path_JIKES+set}" = set; then
12768 echo $ECHO_N "(cached) $ECHO_C" >&6
12772 ac_cv_path_JIKES
="$JIKES" # Let the user override the test with a path.
12775 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
12776 for as_dir
in $PATH
12779 test -z "$as_dir" && as_dir
=.
12780 for ac_exec_ext
in '' $ac_executable_extensions; do
12781 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
12782 ac_cv_path_JIKES
="$as_dir/$ac_word$ac_exec_ext"
12783 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
12792 JIKES
=$ac_cv_path_JIKES
12794 if test -n "$JIKES"; then
12795 echo "$as_me:$LINENO: result: $JIKES" >&5
12796 echo "${ECHO_T}$JIKES" >&6
12798 echo "$as_me:$LINENO: result: no" >&5
12799 echo "${ECHO_T}no" >&6
12803 if test "x$JIKES" != "x"; then
12804 echo "$as_me:$LINENO: checking jikes version" >&5
12805 echo $ECHO_N "checking jikes version... $ECHO_C" >&6
12806 JIKES_VERSION
=`$JIKES --version | awk '/^Jikes Compiler/' | cut -d ' ' -f 5`
12807 JIKES_VERSION_MAJOR
=`echo "$JIKES_VERSION" | cut -d '.' -f 1`
12808 JIKES_VERSION_MINOR
=`echo "$JIKES_VERSION" | cut -d '.' -f 2`
12809 if expr "$JIKES_VERSION_MAJOR" = 1 > /dev
/null
; then
12810 if expr "$JIKES_VERSION_MINOR" \
< 19 > /dev
/null
; then
12814 if test "x$JIKES" != "x"; then
12815 echo "$as_me:$LINENO: result: $JIKES_VERSION" >&5
12816 echo "${ECHO_T}$JIKES_VERSION" >&6
12818 { echo "$as_me:$LINENO: WARNING: $JIKES_VERSION: jikes 1.19 or higher required" >&5
12819 echo "$as_me: WARNING: $JIKES_VERSION: jikes 1.19 or higher required" >&2;}
12823 if test -n "`$JIKES --help 2>&1 | grep encoding`"; then
12824 JIKESENCODING
='-encoding UTF-8'
12835 # Check whether --with-kjc or --without-kjc was given.
12836 if test "${with_kjc+set}" = set; then
12837 withval
="$with_kjc"
12839 if test "x${withval}" != x && test "x${withval}" != xyes && test "x${withval}" != xno
; then
12841 if test "x${withval}" != x
; then
12842 if test -f "${withval}"; then
12845 # Extract the first word of ""${withval}"", so it can be a program name with args.
12846 set dummy
"${withval}"; ac_word
=$2
12847 echo "$as_me:$LINENO: checking for $ac_word" >&5
12848 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
12849 if test "${ac_cv_path_KJC+set}" = set; then
12850 echo $ECHO_N "(cached) $ECHO_C" >&6
12854 ac_cv_path_KJC
="$KJC" # Let the user override the test with a path.
12857 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
12858 for as_dir
in $PATH
12861 test -z "$as_dir" && as_dir
=.
12862 for ac_exec_ext
in '' $ac_executable_extensions; do
12863 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
12864 ac_cv_path_KJC
="$as_dir/$ac_word$ac_exec_ext"
12865 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
12874 KJC
=$ac_cv_path_KJC
12876 if test -n "$KJC"; then
12877 echo "$as_me:$LINENO: result: $KJC" >&5
12878 echo "${ECHO_T}$KJC" >&6
12880 echo "$as_me:$LINENO: result: no" >&5
12881 echo "${ECHO_T}no" >&6
12886 # Extract the first word of ""kJC"", so it can be a program name with args.
12887 set dummy
"kJC"; ac_word
=$2
12888 echo "$as_me:$LINENO: checking for $ac_word" >&5
12889 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
12890 if test "${ac_cv_path_KJC+set}" = set; then
12891 echo $ECHO_N "(cached) $ECHO_C" >&6
12895 ac_cv_path_KJC
="$KJC" # Let the user override the test with a path.
12898 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
12899 for as_dir
in $PATH
12902 test -z "$as_dir" && as_dir
=.
12903 for ac_exec_ext
in '' $ac_executable_extensions; do
12904 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
12905 ac_cv_path_KJC
="$as_dir/$ac_word$ac_exec_ext"
12906 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
12915 KJC
=$ac_cv_path_KJC
12917 if test -n "$KJC"; then
12918 echo "$as_me:$LINENO: result: $KJC" >&5
12919 echo "${ECHO_T}$KJC" >&6
12921 echo "$as_me:$LINENO: result: no" >&5
12922 echo "${ECHO_T}no" >&6
12928 if test "x${withval}" != xno
; then
12930 if test "x" != x
; then
12931 if test -f ""; then
12934 # Extract the first word of """", so it can be a program name with args.
12935 set dummy
""; ac_word
=$2
12936 echo "$as_me:$LINENO: checking for $ac_word" >&5
12937 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
12938 if test "${ac_cv_path_KJC+set}" = set; then
12939 echo $ECHO_N "(cached) $ECHO_C" >&6
12943 ac_cv_path_KJC
="$KJC" # Let the user override the test with a path.
12946 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
12947 for as_dir
in $PATH
12950 test -z "$as_dir" && as_dir
=.
12951 for ac_exec_ext
in '' $ac_executable_extensions; do
12952 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
12953 ac_cv_path_KJC
="$as_dir/$ac_word$ac_exec_ext"
12954 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
12963 KJC
=$ac_cv_path_KJC
12965 if test -n "$KJC"; then
12966 echo "$as_me:$LINENO: result: $KJC" >&5
12967 echo "${ECHO_T}$KJC" >&6
12969 echo "$as_me:$LINENO: result: no" >&5
12970 echo "${ECHO_T}no" >&6
12975 # Extract the first word of ""kJC"", so it can be a program name with args.
12976 set dummy
"kJC"; ac_word
=$2
12977 echo "$as_me:$LINENO: checking for $ac_word" >&5
12978 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
12979 if test "${ac_cv_path_KJC+set}" = set; then
12980 echo $ECHO_N "(cached) $ECHO_C" >&6
12984 ac_cv_path_KJC
="$KJC" # Let the user override the test with a path.
12987 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
12988 for as_dir
in $PATH
12991 test -z "$as_dir" && as_dir
=.
12992 for ac_exec_ext
in '' $ac_executable_extensions; do
12993 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
12994 ac_cv_path_KJC
="$as_dir/$ac_word$ac_exec_ext"
12995 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
13004 KJC
=$ac_cv_path_KJC
13006 if test -n "$KJC"; then
13007 echo "$as_me:$LINENO: result: $KJC" >&5
13008 echo "${ECHO_T}$KJC" >&6
13010 echo "$as_me:$LINENO: result: no" >&5
13011 echo "${ECHO_T}no" >&6
13018 user_specified_javac
=kjc
13023 if test "x" != x
; then
13024 if test -f ""; then
13027 # Extract the first word of """", so it can be a program name with args.
13028 set dummy
""; ac_word
=$2
13029 echo "$as_me:$LINENO: checking for $ac_word" >&5
13030 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
13031 if test "${ac_cv_path_KJC+set}" = set; then
13032 echo $ECHO_N "(cached) $ECHO_C" >&6
13036 ac_cv_path_KJC
="$KJC" # Let the user override the test with a path.
13039 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
13040 for as_dir
in $PATH
13043 test -z "$as_dir" && as_dir
=.
13044 for ac_exec_ext
in '' $ac_executable_extensions; do
13045 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
13046 ac_cv_path_KJC
="$as_dir/$ac_word$ac_exec_ext"
13047 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
13056 KJC
=$ac_cv_path_KJC
13058 if test -n "$KJC"; then
13059 echo "$as_me:$LINENO: result: $KJC" >&5
13060 echo "${ECHO_T}$KJC" >&6
13062 echo "$as_me:$LINENO: result: no" >&5
13063 echo "${ECHO_T}no" >&6
13068 # Extract the first word of ""kJC"", so it can be a program name with args.
13069 set dummy
"kJC"; ac_word
=$2
13070 echo "$as_me:$LINENO: checking for $ac_word" >&5
13071 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
13072 if test "${ac_cv_path_KJC+set}" = set; then
13073 echo $ECHO_N "(cached) $ECHO_C" >&6
13077 ac_cv_path_KJC
="$KJC" # Let the user override the test with a path.
13080 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
13081 for as_dir
in $PATH
13084 test -z "$as_dir" && as_dir
=.
13085 for ac_exec_ext
in '' $ac_executable_extensions; do
13086 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
13087 ac_cv_path_KJC
="$as_dir/$ac_word$ac_exec_ext"
13088 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
13097 KJC
=$ac_cv_path_KJC
13099 if test -n "$KJC"; then
13100 echo "$as_me:$LINENO: result: $KJC" >&5
13101 echo "${ECHO_T}$KJC" >&6
13103 echo "$as_me:$LINENO: result: no" >&5
13104 echo "${ECHO_T}no" >&6
13115 # Check whether --with-gcjx or --without-gcjx was given.
13116 if test "${with_gcjx+set}" = set; then
13117 withval
="$with_gcjx"
13119 if test "x${withval}" != x && test "x${withval}" != xyes && test "x${withval}" != xno
; then
13121 if test "x${withval}" != x
; then
13122 if test -f "${withval}"; then
13125 # Extract the first word of ""${withval}"", so it can be a program name with args.
13126 set dummy
"${withval}"; ac_word
=$2
13127 echo "$as_me:$LINENO: checking for $ac_word" >&5
13128 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
13129 if test "${ac_cv_path_GCJX+set}" = set; then
13130 echo $ECHO_N "(cached) $ECHO_C" >&6
13134 ac_cv_path_GCJX
="$GCJX" # Let the user override the test with a path.
13137 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
13138 for as_dir
in $PATH
13141 test -z "$as_dir" && as_dir
=.
13142 for ac_exec_ext
in '' $ac_executable_extensions; do
13143 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
13144 ac_cv_path_GCJX
="$as_dir/$ac_word$ac_exec_ext"
13145 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
13154 GCJX
=$ac_cv_path_GCJX
13156 if test -n "$GCJX"; then
13157 echo "$as_me:$LINENO: result: $GCJX" >&5
13158 echo "${ECHO_T}$GCJX" >&6
13160 echo "$as_me:$LINENO: result: no" >&5
13161 echo "${ECHO_T}no" >&6
13166 # Extract the first word of ""gcjx"", so it can be a program name with args.
13167 set dummy
"gcjx"; ac_word
=$2
13168 echo "$as_me:$LINENO: checking for $ac_word" >&5
13169 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
13170 if test "${ac_cv_path_GCJX+set}" = set; then
13171 echo $ECHO_N "(cached) $ECHO_C" >&6
13175 ac_cv_path_GCJX
="$GCJX" # Let the user override the test with a path.
13178 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
13179 for as_dir
in $PATH
13182 test -z "$as_dir" && as_dir
=.
13183 for ac_exec_ext
in '' $ac_executable_extensions; do
13184 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
13185 ac_cv_path_GCJX
="$as_dir/$ac_word$ac_exec_ext"
13186 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
13195 GCJX
=$ac_cv_path_GCJX
13197 if test -n "$GCJX"; then
13198 echo "$as_me:$LINENO: result: $GCJX" >&5
13199 echo "${ECHO_T}$GCJX" >&6
13201 echo "$as_me:$LINENO: result: no" >&5
13202 echo "${ECHO_T}no" >&6
13208 if test "x${withval}" != xno
; then
13210 if test "x" != x
; then
13211 if test -f ""; then
13214 # Extract the first word of """", so it can be a program name with args.
13215 set dummy
""; ac_word
=$2
13216 echo "$as_me:$LINENO: checking for $ac_word" >&5
13217 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
13218 if test "${ac_cv_path_GCJX+set}" = set; then
13219 echo $ECHO_N "(cached) $ECHO_C" >&6
13223 ac_cv_path_GCJX
="$GCJX" # Let the user override the test with a path.
13226 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
13227 for as_dir
in $PATH
13230 test -z "$as_dir" && as_dir
=.
13231 for ac_exec_ext
in '' $ac_executable_extensions; do
13232 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
13233 ac_cv_path_GCJX
="$as_dir/$ac_word$ac_exec_ext"
13234 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
13243 GCJX
=$ac_cv_path_GCJX
13245 if test -n "$GCJX"; then
13246 echo "$as_me:$LINENO: result: $GCJX" >&5
13247 echo "${ECHO_T}$GCJX" >&6
13249 echo "$as_me:$LINENO: result: no" >&5
13250 echo "${ECHO_T}no" >&6
13255 # Extract the first word of ""gcjx"", so it can be a program name with args.
13256 set dummy
"gcjx"; ac_word
=$2
13257 echo "$as_me:$LINENO: checking for $ac_word" >&5
13258 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
13259 if test "${ac_cv_path_GCJX+set}" = set; then
13260 echo $ECHO_N "(cached) $ECHO_C" >&6
13264 ac_cv_path_GCJX
="$GCJX" # Let the user override the test with a path.
13267 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
13268 for as_dir
in $PATH
13271 test -z "$as_dir" && as_dir
=.
13272 for ac_exec_ext
in '' $ac_executable_extensions; do
13273 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
13274 ac_cv_path_GCJX
="$as_dir/$ac_word$ac_exec_ext"
13275 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
13284 GCJX
=$ac_cv_path_GCJX
13286 if test -n "$GCJX"; then
13287 echo "$as_me:$LINENO: result: $GCJX" >&5
13288 echo "${ECHO_T}$GCJX" >&6
13290 echo "$as_me:$LINENO: result: no" >&5
13291 echo "${ECHO_T}no" >&6
13298 user_specified_javac
=gcjx
13303 if test "x" != x
; then
13304 if test -f ""; then
13307 # Extract the first word of """", so it can be a program name with args.
13308 set dummy
""; ac_word
=$2
13309 echo "$as_me:$LINENO: checking for $ac_word" >&5
13310 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
13311 if test "${ac_cv_path_GCJX+set}" = set; then
13312 echo $ECHO_N "(cached) $ECHO_C" >&6
13316 ac_cv_path_GCJX
="$GCJX" # Let the user override the test with a path.
13319 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
13320 for as_dir
in $PATH
13323 test -z "$as_dir" && as_dir
=.
13324 for ac_exec_ext
in '' $ac_executable_extensions; do
13325 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
13326 ac_cv_path_GCJX
="$as_dir/$ac_word$ac_exec_ext"
13327 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
13336 GCJX
=$ac_cv_path_GCJX
13338 if test -n "$GCJX"; then
13339 echo "$as_me:$LINENO: result: $GCJX" >&5
13340 echo "${ECHO_T}$GCJX" >&6
13342 echo "$as_me:$LINENO: result: no" >&5
13343 echo "${ECHO_T}no" >&6
13348 # Extract the first word of ""gcjx"", so it can be a program name with args.
13349 set dummy
"gcjx"; ac_word
=$2
13350 echo "$as_me:$LINENO: checking for $ac_word" >&5
13351 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
13352 if test "${ac_cv_path_GCJX+set}" = set; then
13353 echo $ECHO_N "(cached) $ECHO_C" >&6
13357 ac_cv_path_GCJX
="$GCJX" # Let the user override the test with a path.
13360 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
13361 for as_dir
in $PATH
13364 test -z "$as_dir" && as_dir
=.
13365 for ac_exec_ext
in '' $ac_executable_extensions; do
13366 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
13367 ac_cv_path_GCJX
="$as_dir/$ac_word$ac_exec_ext"
13368 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
13377 GCJX
=$ac_cv_path_GCJX
13379 if test -n "$GCJX"; then
13380 echo "$as_me:$LINENO: result: $GCJX" >&5
13381 echo "${ECHO_T}$GCJX" >&6
13383 echo "$as_me:$LINENO: result: no" >&5
13384 echo "${ECHO_T}no" >&6
13395 # Check whether --with-ecj or --without-ecj was given.
13396 if test "${with_ecj+set}" = set; then
13397 withval
="$with_ecj"
13399 if test "x${withval}" != x && test "x${withval}" != xyes && test "x${withval}" != xno
; then
13401 if test "x${withval}" != x
; then
13402 if test -f "${withval}"; then
13405 # Extract the first word of ""${withval}"", so it can be a program name with args.
13406 set dummy
"${withval}"; ac_word
=$2
13407 echo "$as_me:$LINENO: checking for $ac_word" >&5
13408 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
13409 if test "${ac_cv_path_ECJ+set}" = set; then
13410 echo $ECHO_N "(cached) $ECHO_C" >&6
13414 ac_cv_path_ECJ
="$ECJ" # Let the user override the test with a path.
13417 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
13418 for as_dir
in $PATH
13421 test -z "$as_dir" && as_dir
=.
13422 for ac_exec_ext
in '' $ac_executable_extensions; do
13423 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
13424 ac_cv_path_ECJ
="$as_dir/$ac_word$ac_exec_ext"
13425 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
13434 ECJ
=$ac_cv_path_ECJ
13436 if test -n "$ECJ"; then
13437 echo "$as_me:$LINENO: result: $ECJ" >&5
13438 echo "${ECHO_T}$ECJ" >&6
13440 echo "$as_me:$LINENO: result: no" >&5
13441 echo "${ECHO_T}no" >&6
13446 # Extract the first word of ""ecj"", so it can be a program name with args.
13447 set dummy
"ecj"; ac_word
=$2
13448 echo "$as_me:$LINENO: checking for $ac_word" >&5
13449 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
13450 if test "${ac_cv_path_ECJ+set}" = set; then
13451 echo $ECHO_N "(cached) $ECHO_C" >&6
13455 ac_cv_path_ECJ
="$ECJ" # Let the user override the test with a path.
13458 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
13459 for as_dir
in $PATH
13462 test -z "$as_dir" && as_dir
=.
13463 for ac_exec_ext
in '' $ac_executable_extensions; do
13464 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
13465 ac_cv_path_ECJ
="$as_dir/$ac_word$ac_exec_ext"
13466 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
13475 ECJ
=$ac_cv_path_ECJ
13477 if test -n "$ECJ"; then
13478 echo "$as_me:$LINENO: result: $ECJ" >&5
13479 echo "${ECHO_T}$ECJ" >&6
13481 echo "$as_me:$LINENO: result: no" >&5
13482 echo "${ECHO_T}no" >&6
13488 if test "x${withval}" != xno
; then
13490 if test "x" != x
; then
13491 if test -f ""; then
13494 # Extract the first word of """", so it can be a program name with args.
13495 set dummy
""; ac_word
=$2
13496 echo "$as_me:$LINENO: checking for $ac_word" >&5
13497 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
13498 if test "${ac_cv_path_ECJ+set}" = set; then
13499 echo $ECHO_N "(cached) $ECHO_C" >&6
13503 ac_cv_path_ECJ
="$ECJ" # Let the user override the test with a path.
13506 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
13507 for as_dir
in $PATH
13510 test -z "$as_dir" && as_dir
=.
13511 for ac_exec_ext
in '' $ac_executable_extensions; do
13512 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
13513 ac_cv_path_ECJ
="$as_dir/$ac_word$ac_exec_ext"
13514 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
13523 ECJ
=$ac_cv_path_ECJ
13525 if test -n "$ECJ"; then
13526 echo "$as_me:$LINENO: result: $ECJ" >&5
13527 echo "${ECHO_T}$ECJ" >&6
13529 echo "$as_me:$LINENO: result: no" >&5
13530 echo "${ECHO_T}no" >&6
13535 # Extract the first word of ""ecj"", so it can be a program name with args.
13536 set dummy
"ecj"; ac_word
=$2
13537 echo "$as_me:$LINENO: checking for $ac_word" >&5
13538 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
13539 if test "${ac_cv_path_ECJ+set}" = set; then
13540 echo $ECHO_N "(cached) $ECHO_C" >&6
13544 ac_cv_path_ECJ
="$ECJ" # Let the user override the test with a path.
13547 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
13548 for as_dir
in $PATH
13551 test -z "$as_dir" && as_dir
=.
13552 for ac_exec_ext
in '' $ac_executable_extensions; do
13553 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
13554 ac_cv_path_ECJ
="$as_dir/$ac_word$ac_exec_ext"
13555 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
13564 ECJ
=$ac_cv_path_ECJ
13566 if test -n "$ECJ"; then
13567 echo "$as_me:$LINENO: result: $ECJ" >&5
13568 echo "${ECHO_T}$ECJ" >&6
13570 echo "$as_me:$LINENO: result: no" >&5
13571 echo "${ECHO_T}no" >&6
13578 user_specified_javac
=ecj
13583 if test "x" != x
; then
13584 if test -f ""; then
13587 # Extract the first word of """", so it can be a program name with args.
13588 set dummy
""; ac_word
=$2
13589 echo "$as_me:$LINENO: checking for $ac_word" >&5
13590 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
13591 if test "${ac_cv_path_ECJ+set}" = set; then
13592 echo $ECHO_N "(cached) $ECHO_C" >&6
13596 ac_cv_path_ECJ
="$ECJ" # Let the user override the test with a path.
13599 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
13600 for as_dir
in $PATH
13603 test -z "$as_dir" && as_dir
=.
13604 for ac_exec_ext
in '' $ac_executable_extensions; do
13605 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
13606 ac_cv_path_ECJ
="$as_dir/$ac_word$ac_exec_ext"
13607 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
13616 ECJ
=$ac_cv_path_ECJ
13618 if test -n "$ECJ"; then
13619 echo "$as_me:$LINENO: result: $ECJ" >&5
13620 echo "${ECHO_T}$ECJ" >&6
13622 echo "$as_me:$LINENO: result: no" >&5
13623 echo "${ECHO_T}no" >&6
13628 # Extract the first word of ""ecj"", so it can be a program name with args.
13629 set dummy
"ecj"; ac_word
=$2
13630 echo "$as_me:$LINENO: checking for $ac_word" >&5
13631 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
13632 if test "${ac_cv_path_ECJ+set}" = set; then
13633 echo $ECHO_N "(cached) $ECHO_C" >&6
13637 ac_cv_path_ECJ
="$ECJ" # Let the user override the test with a path.
13640 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
13641 for as_dir
in $PATH
13644 test -z "$as_dir" && as_dir
=.
13645 for ac_exec_ext
in '' $ac_executable_extensions; do
13646 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
13647 ac_cv_path_ECJ
="$as_dir/$ac_word$ac_exec_ext"
13648 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
13657 ECJ
=$ac_cv_path_ECJ
13659 if test -n "$ECJ"; then
13660 echo "$as_me:$LINENO: result: $ECJ" >&5
13661 echo "${ECHO_T}$ECJ" >&6
13663 echo "$as_me:$LINENO: result: no" >&5
13664 echo "${ECHO_T}no" >&6
13674 if test "x${user_specified_javac}" = x
; then
13677 if test "x${GCJ}" != x
; then
13679 FOUND_GCJ_FALSE
='#'
13687 if test "x${JIKES}" != x
; then
13689 FOUND_JIKES_FALSE
='#'
13691 FOUND_JIKES_TRUE
='#'
13697 if test "x${ECJ}" != x
; then
13699 FOUND_ECJ_FALSE
='#'
13708 if test "x${user_specified_javac}" = xgcj
; then
13710 FOUND_GCJ_FALSE
='#'
13718 if test "x${user_specified_javac}" = xjikes
; then
13720 FOUND_JIKES_FALSE
='#'
13722 FOUND_JIKES_TRUE
='#'
13728 if test "x${user_specified_javac}" = xecj
; then
13730 FOUND_ECJ_FALSE
='#'
13739 if test "x${user_specified_javac}" = xkjc
; then
13741 FOUND_KJC_FALSE
='#'
13749 if test "x${user_specified_javac}" = xgcjx
; then
13751 FOUND_GCJX_FALSE
='#'
13753 FOUND_GCJX_TRUE
='#'
13758 if test "x${GCJ}" = x && test "x${JIKES}" = x && test "x${user_specified_javac}" != xkjc && test "x${user_specified_javac}" != xgcjx
; then
13759 # FIXME: use autoconf error function
13760 echo "configure: cannot find javac, try --with-gcj, --with-jikes, --with-kjc, or --with-gcjx" 1>&2
13767 # Check whether --with-classpath or --without-classpath was given.
13768 if test "${with_classpath+set}" = set; then
13769 withval
="$with_classpath"
13771 if test "x${withval}" = xyes
; then
13772 # set user classpath to CLASSPATH from env
13773 echo "$as_me:$LINENO: checking for classlib" >&5
13774 echo $ECHO_N "checking for classlib... $ECHO_C" >&6
13775 USER_CLASSLIB
=${CLASSPATH}
13777 echo "$as_me:$LINENO: result: ${USER_CLASSLIB}" >&5
13778 echo "${ECHO_T}${USER_CLASSLIB}" >&6
13779 conditional_with_classlib
=true
13780 elif test "x${withval}" != x
&& test "x${withval}" != xno
; then
13781 # set user classpath to specified value
13782 echo "$as_me:$LINENO: checking for classlib" >&5
13783 echo $ECHO_N "checking for classlib... $ECHO_C" >&6
13784 USER_CLASSLIB
=${withval}
13786 echo "$as_me:$LINENO: result: ${withval}" >&5
13787 echo "${ECHO_T}${withval}" >&6
13788 conditional_with_classlib
=true
13792 conditional_with_classlib
=false
13796 if test "x${conditional_with_classlib}" = xtrue
; then
13797 USER_SPECIFIED_CLASSLIB_TRUE
=
13798 USER_SPECIFIED_CLASSLIB_FALSE
='#'
13800 USER_SPECIFIED_CLASSLIB_TRUE
='#'
13801 USER_SPECIFIED_CLASSLIB_FALSE
=
13806 # Check whether --with-vm-classes or --without-vm-classes was given.
13807 if test "${with_vm_classes+set}" = set; then
13808 withval
="$with_vm_classes"
13809 vm_classes
="$with_vm_classes"
13811 vm_classes
='${top_srcdir}/vm/reference'
13816 echo "$as_me:$LINENO: checking whether to enable maintainer-specific portions of Makefiles" >&5
13817 echo $ECHO_N "checking whether to enable maintainer-specific portions of Makefiles... $ECHO_C" >&6
13818 # Check whether --enable-maintainer-mode or --disable-maintainer-mode was given.
13819 if test "${enable_maintainer_mode+set}" = set; then
13820 enableval
="$enable_maintainer_mode"
13821 USE_MAINTAINER_MODE
=$enableval
13823 USE_MAINTAINER_MODE
=no
13825 echo "$as_me:$LINENO: result: $USE_MAINTAINER_MODE" >&5
13826 echo "${ECHO_T}$USE_MAINTAINER_MODE" >&6
13829 if test $USE_MAINTAINER_MODE = yes; then
13830 MAINTAINER_MODE_TRUE
=
13831 MAINTAINER_MODE_FALSE
='#'
13833 MAINTAINER_MODE_TRUE
='#'
13834 MAINTAINER_MODE_FALSE
=
13837 MAINT
=$MAINTAINER_MODE_TRUE
13841 # Check whether --enable-debug or --disable-debug was given.
13842 if test "${enable_debug+set}" = set; then
13843 enableval
="$enable_debug"
13844 case "${enableval}" in
13848 cat >>confdefs.h
<<\_ACEOF
13853 no
) LIBDEBUG
="false" ;;
13854 *) { { echo "$as_me:$LINENO: error: bad value ${enableval} for --enable-debug" >&5
13855 echo "$as_me: error: bad value ${enableval} for --enable-debug" >&2;}
13856 { (exit 1); exit 1; }; } ;;
13863 # Check whether --enable-load-library or --disable-load-library was given.
13864 if test "${enable_load_library+set}" = set; then
13865 enableval
="$enable_load_library"
13866 case "${enableval}" in
13867 yes) INIT_LOAD_LIBRARY
="true" ;;
13868 no
) INIT_LOAD_LIBRARY
="false" ;;
13869 *) { { echo "$as_me:$LINENO: error: bad value ${enableval} for --enable-load-library" >&5
13870 echo "$as_me: error: bad value ${enableval} for --enable-load-library" >&2;}
13871 { (exit 1); exit 1; }; } ;;
13874 INIT_LOAD_LIBRARY
="true"
13879 # Check whether --enable-java-lang-system-explicit-initialization or --disable-java-lang-system-explicit-initialization was given.
13880 if test "${enable_java_lang_system_explicit_initialization+set}" = set; then
13881 enableval
="$enable_java_lang_system_explicit_initialization"
13882 case "${enableval}" in
13883 yes|true
) JAVA_LANG_SYSTEM_EXPLICIT_INITIALIZATION
="true" ;;
13884 no|false
) JAVA_LANG_SYSTEM_EXPLICIT_INITIALIZATION
="false" ;;
13885 *) { { echo "$as_me:$LINENO: error: bad value ${enableval} for --enable-java-lang-system-explicit-initialization" >&5
13886 echo "$as_me: error: bad value ${enableval} for --enable-java-lang-system-explicit-initialization" >&2;}
13887 { (exit 1); exit 1; }; } ;;
13890 JAVA_LANG_SYSTEM_EXPLICIT_INITIALIZATION
="false"
13898 # Extract the first word of "mkdir", so it can be a program name with args.
13899 set dummy mkdir
; ac_word
=$2
13900 echo "$as_me:$LINENO: checking for $ac_word" >&5
13901 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
13902 if test "${ac_cv_path_MKDIR+set}" = set; then
13903 echo $ECHO_N "(cached) $ECHO_C" >&6
13907 ac_cv_path_MKDIR
="$MKDIR" # Let the user override the test with a path.
13910 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
13911 for as_dir
in $PATH
13914 test -z "$as_dir" && as_dir
=.
13915 for ac_exec_ext
in '' $ac_executable_extensions; do
13916 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
13917 ac_cv_path_MKDIR
="$as_dir/$ac_word$ac_exec_ext"
13918 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
13927 MKDIR
=$ac_cv_path_MKDIR
13929 if test -n "$MKDIR"; then
13930 echo "$as_me:$LINENO: result: $MKDIR" >&5
13931 echo "${ECHO_T}$MKDIR" >&6
13933 echo "$as_me:$LINENO: result: no" >&5
13934 echo "${ECHO_T}no" >&6
13937 # Extract the first word of "cp", so it can be a program name with args.
13938 set dummy
cp; ac_word
=$2
13939 echo "$as_me:$LINENO: checking for $ac_word" >&5
13940 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
13941 if test "${ac_cv_path_CP+set}" = set; then
13942 echo $ECHO_N "(cached) $ECHO_C" >&6
13946 ac_cv_path_CP
="$CP" # Let the user override the test with a path.
13949 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
13950 for as_dir
in $PATH
13953 test -z "$as_dir" && as_dir
=.
13954 for ac_exec_ext
in '' $ac_executable_extensions; do
13955 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
13956 ac_cv_path_CP
="$as_dir/$ac_word$ac_exec_ext"
13957 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
13968 if test -n "$CP"; then
13969 echo "$as_me:$LINENO: result: $CP" >&5
13970 echo "${ECHO_T}$CP" >&6
13972 echo "$as_me:$LINENO: result: no" >&5
13973 echo "${ECHO_T}no" >&6
13976 # Extract the first word of "date", so it can be a program name with args.
13977 set dummy
date; ac_word
=$2
13978 echo "$as_me:$LINENO: checking for $ac_word" >&5
13979 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
13980 if test "${ac_cv_path_DATE+set}" = set; then
13981 echo $ECHO_N "(cached) $ECHO_C" >&6
13985 ac_cv_path_DATE
="$DATE" # Let the user override the test with a path.
13988 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
13989 for as_dir
in $PATH
13992 test -z "$as_dir" && as_dir
=.
13993 for ac_exec_ext
in '' $ac_executable_extensions; do
13994 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
13995 ac_cv_path_DATE
="$as_dir/$ac_word$ac_exec_ext"
13996 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
14005 DATE
=$ac_cv_path_DATE
14007 if test -n "$DATE"; then
14008 echo "$as_me:$LINENO: result: $DATE" >&5
14009 echo "${ECHO_T}$DATE" >&6
14011 echo "$as_me:$LINENO: result: no" >&5
14012 echo "${ECHO_T}no" >&6
14016 # Extract the first word of "find", so it can be a program name with args.
14017 set dummy
find; ac_word
=$2
14018 echo "$as_me:$LINENO: checking for $ac_word" >&5
14019 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
14020 if test "${ac_cv_path_FIND+set}" = set; then
14021 echo $ECHO_N "(cached) $ECHO_C" >&6
14025 ac_cv_path_FIND
="$FIND" # Let the user override the test with a path.
14028 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
14029 for as_dir
in $PATH
14032 test -z "$as_dir" && as_dir
=.
14033 for ac_exec_ext
in '' $ac_executable_extensions; do
14034 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
14035 ac_cv_path_FIND
="$as_dir/$ac_word$ac_exec_ext"
14036 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
14045 FIND
=$ac_cv_path_FIND
14047 if test -n "$FIND"; then
14048 echo "$as_me:$LINENO: result: $FIND" >&5
14049 echo "${ECHO_T}$FIND" >&6
14051 echo "$as_me:$LINENO: result: no" >&5
14052 echo "${ECHO_T}no" >&6
14057 # Extract the first word of "zip", so it can be a program name with args.
14058 set dummy
zip; ac_word
=$2
14059 echo "$as_me:$LINENO: checking for $ac_word" >&5
14060 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
14061 if test "${ac_cv_path_ZIP+set}" = set; then
14062 echo $ECHO_N "(cached) $ECHO_C" >&6
14066 ac_cv_path_ZIP
="$ZIP" # Let the user override the test with a path.
14069 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
14070 for as_dir
in $PATH
14073 test -z "$as_dir" && as_dir
=.
14074 for ac_exec_ext
in '' $ac_executable_extensions; do
14075 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
14076 ac_cv_path_ZIP
="$as_dir/$ac_word$ac_exec_ext"
14077 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
14086 ZIP
=$ac_cv_path_ZIP
14088 if test -n "$ZIP"; then
14089 echo "$as_me:$LINENO: result: $ZIP" >&5
14090 echo "${ECHO_T}$ZIP" >&6
14092 echo "$as_me:$LINENO: result: no" >&5
14093 echo "${ECHO_T}no" >&6
14097 # Check whether --with-glibj or --without-glibj was given.
14098 if test "${with_glibj+set}" = set; then
14099 withval
="$with_glibj"
14101 if test "x${withval}" = xyes ||
test "x${withval}" = xzip
; then
14102 install_class_files
=no
14103 build_class_files
=yes
14105 elif test "x${withval}" = xboth
; then
14106 install_class_files
=yes
14107 build_class_files
=yes
14109 elif test "x${withval}" = xflat
; then
14110 install_class_files
=yes
14111 build_class_files
=yes
14113 elif test "x${withval}" = xno ||
test "x${withval}" = xnone
; then
14114 install_class_files
=no
14115 build_class_files
=no
14117 elif test "x${withval}" = xbuild
; then
14118 install_class_files
=no
14119 build_class_files
=yes
14122 { { echo "$as_me:$LINENO: error: unknown value given to --with-glibj" >&5
14123 echo "$as_me: error: unknown value given to --with-glibj" >&2;}
14124 { (exit 1); exit 1; }; }
14129 install_class_files
=no
14135 if test "x${use_zip}" = xyes
; then
14136 INSTALL_GLIBJ_ZIP_TRUE
=
14137 INSTALL_GLIBJ_ZIP_FALSE
='#'
14139 INSTALL_GLIBJ_ZIP_TRUE
='#'
14140 INSTALL_GLIBJ_ZIP_FALSE
=
14145 if test "x${install_class_files}" = xyes
; then
14146 INSTALL_CLASS_FILES_TRUE
=
14147 INSTALL_CLASS_FILES_FALSE
='#'
14149 INSTALL_CLASS_FILES_TRUE
='#'
14150 INSTALL_CLASS_FILES_FALSE
=
14155 if test "x${build_class_files}" = xyes
; then
14156 BUILD_CLASS_FILES_TRUE
=
14157 BUILD_CLASS_FILES_FALSE
='#'
14159 BUILD_CLASS_FILES_TRUE
='#'
14160 BUILD_CLASS_FILES_FALSE
=
14164 # Check whether --enable-examples or --disable-examples was given.
14165 if test "${enable_examples+set}" = set; then
14166 enableval
="$enable_examples"
14167 case "${enableval}" in
14168 yes) EXAMPLESDIR
="examples" ;;
14169 no
) EXAMPLESDIR
="" ;;
14170 *) { { echo "$as_me:$LINENO: error: bad value ${enableval} for --enable-examples" >&5
14171 echo "$as_me: error: bad value ${enableval} for --enable-examples" >&2;}
14172 { (exit 1); exit 1; }; } ;;
14175 EXAMPLESDIR
="examples"
14177 if test "x${use_zip}" = xno
&& test "x${install_class_files}" = xno
; then
14185 # Check whether --with-gjdoc or --without-gjdoc was given.
14186 if test "${with_gjdoc+set}" = set; then
14187 withval
="$with_gjdoc"
14188 if test "x${withval}" = xno
; then
14190 elif test "x${withval}" = xyes
-o "x{withval}" = x
; then
14192 # Extract the first word of "gjdoc", so it can be a program name with args.
14193 set dummy gjdoc
; ac_word
=$2
14194 echo "$as_me:$LINENO: checking for $ac_word" >&5
14195 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
14196 if test "${ac_cv_path_GJDOC+set}" = set; then
14197 echo $ECHO_N "(cached) $ECHO_C" >&6
14201 ac_cv_path_GJDOC
="$GJDOC" # Let the user override the test with a path.
14204 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
14205 for as_dir
in $PATH
14208 test -z "$as_dir" && as_dir
=.
14209 for ac_exec_ext
in '' $ac_executable_extensions; do
14210 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
14211 ac_cv_path_GJDOC
="$as_dir/$ac_word$ac_exec_ext"
14212 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
14218 test -z "$ac_cv_path_GJDOC" && ac_cv_path_GJDOC
=""no
""
14222 GJDOC
=$ac_cv_path_GJDOC
14224 if test -n "$GJDOC"; then
14225 echo "$as_me:$LINENO: result: $GJDOC" >&5
14226 echo "${ECHO_T}$GJDOC" >&6
14228 echo "$as_me:$LINENO: result: no" >&5
14229 echo "${ECHO_T}no" >&6
14232 if test "x${GJDOC}" = xno
; then
14233 { { echo "$as_me:$LINENO: error: \"gjdoc executable not found\"" >&5
14234 echo "$as_me: error: \"gjdoc executable not found\"" >&2;}
14235 { (exit 1); exit 1; }; };
14240 as_ac_File
=`echo "ac_cv_file_${GJDOC}" | $as_tr_sh`
14241 echo "$as_me:$LINENO: checking for ${GJDOC}" >&5
14242 echo $ECHO_N "checking for ${GJDOC}... $ECHO_C" >&6
14243 if eval "test \"\${$as_ac_File+set}\" = set"; then
14244 echo $ECHO_N "(cached) $ECHO_C" >&6
14246 test "$cross_compiling" = yes &&
14247 { { echo "$as_me:$LINENO: error: cannot check for file existence when cross compiling" >&5
14248 echo "$as_me: error: cannot check for file existence when cross compiling" >&2;}
14249 { (exit 1); exit 1; }; }
14250 if test -r "${GJDOC}"; then
14251 eval "$as_ac_File=yes"
14253 eval "$as_ac_File=no"
14256 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_File'}'`" >&5
14257 echo "${ECHO_T}`eval echo '${'$as_ac_File'}'`" >&6
14258 if test `eval echo '${'$as_ac_File'}'` = yes; then
14261 { { echo "$as_me:$LINENO: error: \"Cannot use ${withval} as gjdoc executable since it doesn't exist\"" >&5
14262 echo "$as_me: error: \"Cannot use ${withval} as gjdoc executable since it doesn't exist\"" >&2;}
14263 { (exit 1); exit 1; }; }
14273 if test "x${WITH_GJDOC}" = xyes
; then
14274 CREATE_API_DOCS_TRUE
=
14275 CREATE_API_DOCS_FALSE
='#'
14277 CREATE_API_DOCS_TRUE
='#'
14278 CREATE_API_DOCS_FALSE
=
14285 # Check whether --with-jay or --without-jay was given.
14286 if test "${with_jay+set}" = set; then
14287 withval
="$with_jay"
14289 if test -d "${withval}"; then
14290 JAY_DIR_PATH
="${withval}"
14291 # Extract the first word of "jay", so it can be a program name with args.
14292 set dummy jay
; ac_word
=$2
14293 echo "$as_me:$LINENO: checking for $ac_word" >&5
14294 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
14295 if test "${ac_cv_path_JAY+set}" = set; then
14296 echo $ECHO_N "(cached) $ECHO_C" >&6
14300 ac_cv_path_JAY
="$JAY" # Let the user override the test with a path.
14303 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
14304 for as_dir
in ${JAY_DIR_PATH}
14307 test -z "$as_dir" && as_dir
=.
14308 for ac_exec_ext
in '' $ac_executable_extensions; do
14309 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
14310 ac_cv_path_JAY
="$as_dir/$ac_word$ac_exec_ext"
14311 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
14317 test -z "$ac_cv_path_JAY" && ac_cv_path_JAY
=""no
""
14321 JAY
=$ac_cv_path_JAY
14323 if test -n "$JAY"; then
14324 echo "$as_me:$LINENO: result: $JAY" >&5
14325 echo "${ECHO_T}$JAY" >&6
14327 echo "$as_me:$LINENO: result: no" >&5
14328 echo "${ECHO_T}no" >&6
14331 if test "x${JAY}" = xno
; then
14332 { { echo "$as_me:$LINENO: error: \"jay executable not found\"" >&5
14333 echo "$as_me: error: \"jay executable not found\"" >&2;}
14334 { (exit 1); exit 1; }; };
14337 JAY_DIR_PATH
=$
(dirname "${withval}")
14341 JAY_SKELETON
="${JAY_DIR_PATH}/skeleton"
14342 as_ac_File
=`echo "ac_cv_file_${JAY_SKELETON}" | $as_tr_sh`
14343 echo "$as_me:$LINENO: checking for ${JAY_SKELETON}" >&5
14344 echo $ECHO_N "checking for ${JAY_SKELETON}... $ECHO_C" >&6
14345 if eval "test \"\${$as_ac_File+set}\" = set"; then
14346 echo $ECHO_N "(cached) $ECHO_C" >&6
14348 test "$cross_compiling" = yes &&
14349 { { echo "$as_me:$LINENO: error: cannot check for file existence when cross compiling" >&5
14350 echo "$as_me: error: cannot check for file existence when cross compiling" >&2;}
14351 { (exit 1); exit 1; }; }
14352 if test -r "${JAY_SKELETON}"; then
14353 eval "$as_ac_File=yes"
14355 eval "$as_ac_File=no"
14358 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_File'}'`" >&5
14359 echo "${ECHO_T}`eval echo '${'$as_ac_File'}'`" >&6
14360 if test `eval echo '${'$as_ac_File'}'` = yes; then
14363 { { echo "$as_me:$LINENO: error: \"Expected skeleton file in $(dirname ${withval})\"" >&5
14364 echo "$as_me: error: \"Expected skeleton file in $(dirname ${withval})\"" >&2;}
14365 { (exit 1); exit 1; }; }
14377 if test "x${JAY_FOUND}" = xyes
; then
14378 REGEN_PARSERS_TRUE
=
14379 REGEN_PARSERS_FALSE
='#'
14381 REGEN_PARSERS_TRUE
='#'
14382 REGEN_PARSERS_FALSE
=
14387 # Check whether --enable-portable-native-sync or --disable-portable-native-sync was given.
14388 if test "${enable_portable_native_sync+set}" = set; then
14389 enableval
="$enable_portable_native_sync"
14390 case "${enableval}" in
14393 cat >>confdefs.h
<<\_ACEOF
14394 #define PORTABLE_NATIVE_SYNC 1
14400 { { echo "$as_me:$LINENO: error: bad value ${enableval} for --enable-portable-native-sync" >&5
14401 echo "$as_me: error: bad value ${enableval} for --enable-portable-native-sync" >&2;}
14402 { (exit 1); exit 1; }; }
14407 ac_config_files
="$ac_config_files Makefile doc/Makefile doc/api/Makefile external/Makefile external/sax/Makefile external/w3c_dom/Makefile gnu/classpath/Configuration.java include/Makefile native/Makefile native/fdlibm/Makefile native/jawt/Makefile native/jni/Makefile native/jni/classpath/Makefile native/jni/java-io/Makefile native/jni/java-lang/Makefile native/jni/java-net/Makefile native/jni/java-nio/Makefile native/jni/java-util/Makefile native/jni/gtk-peer/Makefile native/jni/qt-peer/Makefile native/jni/xmlj/Makefile native/jni/midi-alsa/Makefile native/jni/midi-dssi/Makefile native/target/Makefile native/target/Linux/Makefile native/target/generic/Makefile resource/Makefile scripts/Makefile scripts/classpath.spec lib/Makefile lib/gen-classlist.sh lib/copy-vmresources.sh examples/Makefile examples/Makefile.jawt"
14409 ac_config_commands
="$ac_config_commands gen-classlist"
14411 ac_config_commands
="$ac_config_commands copy-vmresources"
14413 cat >confcache
<<\_ACEOF
14414 # This file is a shell script that caches the results of configure
14415 # tests run on this system so they can be shared between configure
14416 # scripts and configure runs, see configure's option --config-cache.
14417 # It is not useful on other systems. If it contains results you don't
14418 # want to keep, you may remove or edit it.
14420 # config.status only pays attention to the cache file if you give it
14421 # the --recheck option to rerun configure.
14423 # `ac_cv_env_foo' variables (set or unset) will be overridden when
14424 # loading this file, other *unset* `ac_cv_foo' will be assigned the
14425 # following values.
14429 # The following way of writing the cache mishandles newlines in values,
14430 # but we know of no workaround that is simple, portable, and efficient.
14431 # So, don't put newlines in cache variables' values.
14432 # Ultrix sh set writes to stderr and can't be redirected directly,
14433 # and sets the high bit in the cache file unless we assign to the vars.
14436 case `(ac_space=' '; set | grep ac_space) 2>&1` in
14438 # `set' does not quote correctly, so add quotes (double-quote
14439 # substitution turns \\\\ into \\, and sed turns \\ into \).
14442 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
14445 # `set' quotes correctly as required by POSIX, so do not add quotes.
14447 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
14454 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
14456 /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
14458 if diff $cache_file confcache
>/dev
/null
2>&1; then :; else
14459 if test -w $cache_file; then
14460 test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
14461 cat confcache
>$cache_file
14463 echo "not updating unwritable cache $cache_file"
14468 test "x$prefix" = xNONE
&& prefix
=$ac_default_prefix
14469 # Let make expand exec_prefix.
14470 test "x$exec_prefix" = xNONE
&& exec_prefix
='${prefix}'
14472 # VPATH may cause trouble with some makes, so we remove $(srcdir),
14473 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
14474 # trailing colons and then remove the whole line if VPATH becomes empty
14475 # (actually we leave an empty line to preserve line numbers).
14476 if test "x$srcdir" = x.
; then
14477 ac_vpsub
='/^[ ]*VPATH[ ]*=/{
14478 s/:*\$(srcdir):*/:/;
14479 s/:*\${srcdir}:*/:/;
14481 s/^\([^=]*=[ ]*\):*/\1/;
14487 DEFS
=-DHAVE_CONFIG_H
14491 for ac_i
in : $LIBOBJS; do test "x$ac_i" = x
: && continue
14492 # 1. Remove the extension, and $U if already installed.
14493 ac_i
=`echo "$ac_i" |
14494 sed 's/\$U\././;s/\.o$//;s/\.obj$//'`
14496 ac_libobjs
="$ac_libobjs $ac_i\$U.$ac_objext"
14497 ac_ltlibobjs
="$ac_ltlibobjs $ac_i"'$U.lo'
14499 LIBOBJS
=$ac_libobjs
14501 LTLIBOBJS
=$ac_ltlibobjs
14504 if test -z "${CREATE_JNI_LIBRARIES_TRUE}" && test -z "${CREATE_JNI_LIBRARIES_FALSE}"; then
14505 { { echo "$as_me:$LINENO: error: conditional \"CREATE_JNI_LIBRARIES\" was never defined.
14506 Usually this means the macro was only invoked conditionally." >&5
14507 echo "$as_me: error: conditional \"CREATE_JNI_LIBRARIES\" was never defined.
14508 Usually this means the macro was only invoked conditionally." >&2;}
14509 { (exit 1); exit 1; }; }
14511 if test -z "${CREATE_CORE_JNI_LIBRARIES_TRUE}" && test -z "${CREATE_CORE_JNI_LIBRARIES_FALSE}"; then
14512 { { echo "$as_me:$LINENO: error: conditional \"CREATE_CORE_JNI_LIBRARIES\" was never defined.
14513 Usually this means the macro was only invoked conditionally." >&5
14514 echo "$as_me: error: conditional \"CREATE_CORE_JNI_LIBRARIES\" was never defined.
14515 Usually this means the macro was only invoked conditionally." >&2;}
14516 { (exit 1); exit 1; }; }
14518 if test -z "${CREATE_XMLJ_LIBRARY_TRUE}" && test -z "${CREATE_XMLJ_LIBRARY_FALSE}"; then
14519 { { echo "$as_me:$LINENO: error: conditional \"CREATE_XMLJ_LIBRARY\" was never defined.
14520 Usually this means the macro was only invoked conditionally." >&5
14521 echo "$as_me: error: conditional \"CREATE_XMLJ_LIBRARY\" was never defined.
14522 Usually this means the macro was only invoked conditionally." >&2;}
14523 { (exit 1); exit 1; }; }
14525 if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
14526 { { echo "$as_me:$LINENO: error: conditional \"AMDEP\" was never defined.
14527 Usually this means the macro was only invoked conditionally." >&5
14528 echo "$as_me: error: conditional \"AMDEP\" was never defined.
14529 Usually this means the macro was only invoked conditionally." >&2;}
14530 { (exit 1); exit 1; }; }
14532 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
14533 { { echo "$as_me:$LINENO: error: conditional \"am__fastdepCC\" was never defined.
14534 Usually this means the macro was only invoked conditionally." >&5
14535 echo "$as_me: error: conditional \"am__fastdepCC\" was never defined.
14536 Usually this means the macro was only invoked conditionally." >&2;}
14537 { (exit 1); exit 1; }; }
14539 if test -z "${CREATE_ALSA_LIBRARIES_TRUE}" && test -z "${CREATE_ALSA_LIBRARIES_FALSE}"; then
14540 { { echo "$as_me:$LINENO: error: conditional \"CREATE_ALSA_LIBRARIES\" was never defined.
14541 Usually this means the macro was only invoked conditionally." >&5
14542 echo "$as_me: error: conditional \"CREATE_ALSA_LIBRARIES\" was never defined.
14543 Usually this means the macro was only invoked conditionally." >&2;}
14544 { (exit 1); exit 1; }; }
14546 if test -z "${CREATE_DSSI_LIBRARIES_TRUE}" && test -z "${CREATE_DSSI_LIBRARIES_FALSE}"; then
14547 { { echo "$as_me:$LINENO: error: conditional \"CREATE_DSSI_LIBRARIES\" was never defined.
14548 Usually this means the macro was only invoked conditionally." >&5
14549 echo "$as_me: error: conditional \"CREATE_DSSI_LIBRARIES\" was never defined.
14550 Usually this means the macro was only invoked conditionally." >&2;}
14551 { (exit 1); exit 1; }; }
14553 if test -z "${CREATE_GTK_PEER_LIBRARIES_TRUE}" && test -z "${CREATE_GTK_PEER_LIBRARIES_FALSE}"; then
14554 { { echo "$as_me:$LINENO: error: conditional \"CREATE_GTK_PEER_LIBRARIES\" was never defined.
14555 Usually this means the macro was only invoked conditionally." >&5
14556 echo "$as_me: error: conditional \"CREATE_GTK_PEER_LIBRARIES\" was never defined.
14557 Usually this means the macro was only invoked conditionally." >&2;}
14558 { (exit 1); exit 1; }; }
14560 if test -z "${GTK_CAIRO_TRUE}" && test -z "${GTK_CAIRO_FALSE}"; then
14561 { { echo "$as_me:$LINENO: error: conditional \"GTK_CAIRO\" was never defined.
14562 Usually this means the macro was only invoked conditionally." >&5
14563 echo "$as_me: error: conditional \"GTK_CAIRO\" was never defined.
14564 Usually this means the macro was only invoked conditionally." >&2;}
14565 { (exit 1); exit 1; }; }
14567 if test -z "${CREATE_QT_PEER_LIBRARIES_TRUE}" && test -z "${CREATE_QT_PEER_LIBRARIES_FALSE}"; then
14568 { { echo "$as_me:$LINENO: error: conditional \"CREATE_QT_PEER_LIBRARIES\" was never defined.
14569 Usually this means the macro was only invoked conditionally." >&5
14570 echo "$as_me: error: conditional \"CREATE_QT_PEER_LIBRARIES\" was never defined.
14571 Usually this means the macro was only invoked conditionally." >&2;}
14572 { (exit 1); exit 1; }; }
14574 if test -z "${CREATE_JNI_HEADERS_TRUE}" && test -z "${CREATE_JNI_HEADERS_FALSE}"; then
14575 { { echo "$as_me:$LINENO: error: conditional \"CREATE_JNI_HEADERS\" was never defined.
14576 Usually this means the macro was only invoked conditionally." >&5
14577 echo "$as_me: error: conditional \"CREATE_JNI_HEADERS\" was never defined.
14578 Usually this means the macro was only invoked conditionally." >&2;}
14579 { (exit 1); exit 1; }; }
14581 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
14582 { { echo "$as_me:$LINENO: error: conditional \"am__fastdepCC\" was never defined.
14583 Usually this means the macro was only invoked conditionally." >&5
14584 echo "$as_me: error: conditional \"am__fastdepCC\" was never defined.
14585 Usually this means the macro was only invoked conditionally." >&2;}
14586 { (exit 1); exit 1; }; }
14588 if test -z "${am__fastdepCXX_TRUE}" && test -z "${am__fastdepCXX_FALSE}"; then
14589 { { echo "$as_me:$LINENO: error: conditional \"am__fastdepCXX\" was never defined.
14590 Usually this means the macro was only invoked conditionally." >&5
14591 echo "$as_me: error: conditional \"am__fastdepCXX\" was never defined.
14592 Usually this means the macro was only invoked conditionally." >&2;}
14593 { (exit 1); exit 1; }; }
14595 if test -z "${USER_SPECIFIED_JAVAH_TRUE}" && test -z "${USER_SPECIFIED_JAVAH_FALSE}"; then
14596 { { echo "$as_me:$LINENO: error: conditional \"USER_SPECIFIED_JAVAH\" was never defined.
14597 Usually this means the macro was only invoked conditionally." >&5
14598 echo "$as_me: error: conditional \"USER_SPECIFIED_JAVAH\" was never defined.
14599 Usually this means the macro was only invoked conditionally." >&2;}
14600 { (exit 1); exit 1; }; }
14602 if test -z "${FOUND_GCJ_TRUE}" && test -z "${FOUND_GCJ_FALSE}"; then
14603 { { echo "$as_me:$LINENO: error: conditional \"FOUND_GCJ\" was never defined.
14604 Usually this means the macro was only invoked conditionally." >&5
14605 echo "$as_me: error: conditional \"FOUND_GCJ\" was never defined.
14606 Usually this means the macro was only invoked conditionally." >&2;}
14607 { (exit 1); exit 1; }; }
14609 if test -z "${FOUND_JIKES_TRUE}" && test -z "${FOUND_JIKES_FALSE}"; then
14610 { { echo "$as_me:$LINENO: error: conditional \"FOUND_JIKES\" was never defined.
14611 Usually this means the macro was only invoked conditionally." >&5
14612 echo "$as_me: error: conditional \"FOUND_JIKES\" was never defined.
14613 Usually this means the macro was only invoked conditionally." >&2;}
14614 { (exit 1); exit 1; }; }
14616 if test -z "${FOUND_ECJ_TRUE}" && test -z "${FOUND_ECJ_FALSE}"; then
14617 { { echo "$as_me:$LINENO: error: conditional \"FOUND_ECJ\" was never defined.
14618 Usually this means the macro was only invoked conditionally." >&5
14619 echo "$as_me: error: conditional \"FOUND_ECJ\" was never defined.
14620 Usually this means the macro was only invoked conditionally." >&2;}
14621 { (exit 1); exit 1; }; }
14623 if test -z "${FOUND_GCJ_TRUE}" && test -z "${FOUND_GCJ_FALSE}"; then
14624 { { echo "$as_me:$LINENO: error: conditional \"FOUND_GCJ\" was never defined.
14625 Usually this means the macro was only invoked conditionally." >&5
14626 echo "$as_me: error: conditional \"FOUND_GCJ\" was never defined.
14627 Usually this means the macro was only invoked conditionally." >&2;}
14628 { (exit 1); exit 1; }; }
14630 if test -z "${FOUND_JIKES_TRUE}" && test -z "${FOUND_JIKES_FALSE}"; then
14631 { { echo "$as_me:$LINENO: error: conditional \"FOUND_JIKES\" was never defined.
14632 Usually this means the macro was only invoked conditionally." >&5
14633 echo "$as_me: error: conditional \"FOUND_JIKES\" was never defined.
14634 Usually this means the macro was only invoked conditionally." >&2;}
14635 { (exit 1); exit 1; }; }
14637 if test -z "${FOUND_ECJ_TRUE}" && test -z "${FOUND_ECJ_FALSE}"; then
14638 { { echo "$as_me:$LINENO: error: conditional \"FOUND_ECJ\" was never defined.
14639 Usually this means the macro was only invoked conditionally." >&5
14640 echo "$as_me: error: conditional \"FOUND_ECJ\" was never defined.
14641 Usually this means the macro was only invoked conditionally." >&2;}
14642 { (exit 1); exit 1; }; }
14644 if test -z "${FOUND_KJC_TRUE}" && test -z "${FOUND_KJC_FALSE}"; then
14645 { { echo "$as_me:$LINENO: error: conditional \"FOUND_KJC\" was never defined.
14646 Usually this means the macro was only invoked conditionally." >&5
14647 echo "$as_me: error: conditional \"FOUND_KJC\" was never defined.
14648 Usually this means the macro was only invoked conditionally." >&2;}
14649 { (exit 1); exit 1; }; }
14651 if test -z "${FOUND_GCJX_TRUE}" && test -z "${FOUND_GCJX_FALSE}"; then
14652 { { echo "$as_me:$LINENO: error: conditional \"FOUND_GCJX\" was never defined.
14653 Usually this means the macro was only invoked conditionally." >&5
14654 echo "$as_me: error: conditional \"FOUND_GCJX\" was never defined.
14655 Usually this means the macro was only invoked conditionally." >&2;}
14656 { (exit 1); exit 1; }; }
14658 if test -z "${USER_SPECIFIED_CLASSLIB_TRUE}" && test -z "${USER_SPECIFIED_CLASSLIB_FALSE}"; then
14659 { { echo "$as_me:$LINENO: error: conditional \"USER_SPECIFIED_CLASSLIB\" was never defined.
14660 Usually this means the macro was only invoked conditionally." >&5
14661 echo "$as_me: error: conditional \"USER_SPECIFIED_CLASSLIB\" was never defined.
14662 Usually this means the macro was only invoked conditionally." >&2;}
14663 { (exit 1); exit 1; }; }
14665 if test -z "${MAINTAINER_MODE_TRUE}" && test -z "${MAINTAINER_MODE_FALSE}"; then
14666 { { echo "$as_me:$LINENO: error: conditional \"MAINTAINER_MODE\" was never defined.
14667 Usually this means the macro was only invoked conditionally." >&5
14668 echo "$as_me: error: conditional \"MAINTAINER_MODE\" was never defined.
14669 Usually this means the macro was only invoked conditionally." >&2;}
14670 { (exit 1); exit 1; }; }
14672 if test -z "${INSTALL_GLIBJ_ZIP_TRUE}" && test -z "${INSTALL_GLIBJ_ZIP_FALSE}"; then
14673 { { echo "$as_me:$LINENO: error: conditional \"INSTALL_GLIBJ_ZIP\" was never defined.
14674 Usually this means the macro was only invoked conditionally." >&5
14675 echo "$as_me: error: conditional \"INSTALL_GLIBJ_ZIP\" was never defined.
14676 Usually this means the macro was only invoked conditionally." >&2;}
14677 { (exit 1); exit 1; }; }
14679 if test -z "${INSTALL_CLASS_FILES_TRUE}" && test -z "${INSTALL_CLASS_FILES_FALSE}"; then
14680 { { echo "$as_me:$LINENO: error: conditional \"INSTALL_CLASS_FILES\" was never defined.
14681 Usually this means the macro was only invoked conditionally." >&5
14682 echo "$as_me: error: conditional \"INSTALL_CLASS_FILES\" was never defined.
14683 Usually this means the macro was only invoked conditionally." >&2;}
14684 { (exit 1); exit 1; }; }
14686 if test -z "${BUILD_CLASS_FILES_TRUE}" && test -z "${BUILD_CLASS_FILES_FALSE}"; then
14687 { { echo "$as_me:$LINENO: error: conditional \"BUILD_CLASS_FILES\" was never defined.
14688 Usually this means the macro was only invoked conditionally." >&5
14689 echo "$as_me: error: conditional \"BUILD_CLASS_FILES\" was never defined.
14690 Usually this means the macro was only invoked conditionally." >&2;}
14691 { (exit 1); exit 1; }; }
14693 if test -z "${CREATE_API_DOCS_TRUE}" && test -z "${CREATE_API_DOCS_FALSE}"; then
14694 { { echo "$as_me:$LINENO: error: conditional \"CREATE_API_DOCS\" was never defined.
14695 Usually this means the macro was only invoked conditionally." >&5
14696 echo "$as_me: error: conditional \"CREATE_API_DOCS\" was never defined.
14697 Usually this means the macro was only invoked conditionally." >&2;}
14698 { (exit 1); exit 1; }; }
14700 if test -z "${REGEN_PARSERS_TRUE}" && test -z "${REGEN_PARSERS_FALSE}"; then
14701 { { echo "$as_me:$LINENO: error: conditional \"REGEN_PARSERS\" was never defined.
14702 Usually this means the macro was only invoked conditionally." >&5
14703 echo "$as_me: error: conditional \"REGEN_PARSERS\" was never defined.
14704 Usually this means the macro was only invoked conditionally." >&2;}
14705 { (exit 1); exit 1; }; }
14708 : ${CONFIG_STATUS=./config.status}
14709 ac_clean_files_save
=$ac_clean_files
14710 ac_clean_files
="$ac_clean_files $CONFIG_STATUS"
14711 { echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
14712 echo "$as_me: creating $CONFIG_STATUS" >&6;}
14713 cat >$CONFIG_STATUS <<_ACEOF
14715 # Generated by $as_me.
14716 # Run this file to recreate the current configuration.
14717 # Compiler output produced by configure, useful for debugging
14718 # configure, is in config.log if it exists.
14721 ac_cs_recheck=false
14723 SHELL=\${CONFIG_SHELL-$SHELL}
14726 cat >>$CONFIG_STATUS <<\_ACEOF
14727 ## --------------------- ##
14728 ## M4sh Initialization. ##
14729 ## --------------------- ##
14731 # Be Bourne compatible
14732 if test -n "${ZSH_VERSION+set}" && (emulate sh
) >/dev
/null
2>&1; then
14735 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
14736 # is contrary to our usage. Disable this feature.
14737 alias -g '${1+"$@"}'='"$@"'
14738 elif test -n "${BASH_VERSION+set}" && (set -o posix
) >/dev
/null
2>&1; then
14741 DUALCASE
=1; export DUALCASE
# for MKS sh
14743 # Support unset when possible.
14744 if ( (MAIL
=60; unset MAIL
) ||
exit) >/dev
/null
2>&1; then
14751 # Work around bugs in pre-3.0 UWIN ksh.
14752 $as_unset ENV MAIL MAILPATH
14759 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
14760 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
14761 LC_TELEPHONE LC_TIME
14763 if (set +x
; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
14764 eval $as_var=C
; export $as_var
14770 # Required to use basename.
14771 if expr a
: '\(a\)' >/dev
/null
2>&1; then
14777 if (basename /) >/dev
/null
2>&1 && test "X`basename / 2>&1`" = "X/"; then
14778 as_basename
=basename
14784 # Name of the executable.
14785 as_me
=`$as_basename "$0" ||
14786 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
14787 X"$0" : 'X\(//\)$' \| \
14788 X"$0" : 'X\(/\)$' \| \
14789 . : '\(.\)' 2>/dev/null ||
14791 sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; }
14792 /^X\/\(\/\/\)$/{ s//\1/; q; }
14793 /^X\/\(\/\).*/{ s//\1/; q; }
14797 # PATH needs CR, and LINENO needs CR and PATH.
14798 # Avoid depending upon Character Ranges.
14799 as_cr_letters
='abcdefghijklmnopqrstuvwxyz'
14800 as_cr_LETTERS
='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
14801 as_cr_Letters
=$as_cr_letters$as_cr_LETTERS
14802 as_cr_digits
='0123456789'
14803 as_cr_alnum
=$as_cr_Letters$as_cr_digits
14805 # The user is always right.
14806 if test "${PATH_SEPARATOR+set}" != set; then
14807 echo "#! /bin/sh" >conf$$.sh
14808 echo "exit 0" >>conf$$.sh
14810 if (PATH
="/nonexistent;."; conf$$.sh
) >/dev
/null
2>&1; then
14819 as_lineno_1
=$LINENO
14820 as_lineno_2
=$LINENO
14821 as_lineno_3
=`(expr $as_lineno_1 + 1) 2>/dev/null`
14822 test "x$as_lineno_1" != "x$as_lineno_2" &&
14823 test "x$as_lineno_3" = "x$as_lineno_2" ||
{
14824 # Find who we are. Look in the path if we contain no path at all
14827 *[\\/]* ) as_myself
=$0 ;;
14828 *) as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
14829 for as_dir
in $PATH
14832 test -z "$as_dir" && as_dir
=.
14833 test -r "$as_dir/$0" && as_myself
=$as_dir/$0 && break
14838 # We did not find ourselves, most probably we were run as `sh COMMAND'
14839 # in which case we are not to be found in the path.
14840 if test "x$as_myself" = x
; then
14843 if test ! -f "$as_myself"; then
14844 { { echo "$as_me:$LINENO: error: cannot find myself; rerun with an absolute path" >&5
14845 echo "$as_me: error: cannot find myself; rerun with an absolute path" >&2;}
14846 { (exit 1); exit 1; }; }
14848 case $CONFIG_SHELL in
14850 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
14851 for as_dir
in /bin
$PATH_SEPARATOR/usr
/bin
$PATH_SEPARATOR$PATH
14854 test -z "$as_dir" && as_dir
=.
14855 for as_base
in sh bash ksh sh5
; do
14858 if ("$as_dir/$as_base" -c '
14859 as_lineno_1=$LINENO
14860 as_lineno_2=$LINENO
14861 as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
14862 test "x$as_lineno_1" != "x$as_lineno_2" &&
14863 test "x$as_lineno_3" = "x$as_lineno_2" ') 2>/dev
/null
; then
14864 $as_unset BASH_ENV ||
test "${BASH_ENV+set}" != set ||
{ BASH_ENV
=; export BASH_ENV
; }
14865 $as_unset ENV ||
test "${ENV+set}" != set ||
{ ENV
=; export ENV
; }
14866 CONFIG_SHELL
=$as_dir/$as_base
14867 export CONFIG_SHELL
14868 exec "$CONFIG_SHELL" "$0" ${1+"$@"}
14876 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
14877 # uniformly replaced by the line number. The first 'sed' inserts a
14878 # line-number line before each line; the second 'sed' does the real
14879 # work. The second script uses 'N' to pair each line-number line
14880 # with the numbered line, and appends trailing '-' during
14881 # substitution so that $LINENO is not a special case at line end.
14882 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
14883 # second 'sed' script. Blame Lee E. McMahon for sed's syntax. :-)
14884 sed '=' <$as_myself |
14889 s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3,
14892 s,^['$as_cr_digits']*\n,,
14893 ' >$as_me.lineno
&&
14894 chmod +x
$as_me.lineno ||
14895 { { echo "$as_me:$LINENO: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&5
14896 echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2;}
14897 { (exit 1); exit 1; }; }
14899 # Don't try to exec as it changes $[0], causing all sort of problems
14900 # (the dirname of $[0] is not the place where we might find the
14901 # original and so on. Autoconf is especially sensible to this).
14903 # Exit status is that of the last command.
14908 case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in
14909 *c
*,-n*) ECHO_N
= ECHO_C
='
14911 *c
*,* ) ECHO_N
=-n ECHO_C
= ECHO_T
= ;;
14912 *) ECHO_N
= ECHO_C
='\c' ECHO_T
= ;;
14915 if expr a
: '\(a\)' >/dev
/null
2>&1; then
14921 rm -f conf$$ conf$$.exe conf$$.
file
14923 if ln -s conf$$.
file conf$$
2>/dev
/null
; then
14924 # We could just check for DJGPP; but this test a) works b) is more generic
14925 # and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04).
14926 if test -f conf$$.exe
; then
14927 # Don't use ln at all; we don't have any links
14932 elif ln conf$$.
file conf$$
2>/dev
/null
; then
14937 rm -f conf$$ conf$$.exe conf$$.
file
14939 if mkdir
-p .
2>/dev
/null
; then
14942 test -d .
/-p && rmdir .
/-p
14946 as_executable_p
="test -f"
14948 # Sed expression to map a string onto a valid CPP name.
14949 as_tr_cpp
="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
14951 # Sed expression to map a string onto a valid variable name.
14952 as_tr_sh
="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
14956 # We need space, tab and new line, in precisely that order.
14966 # Open the log real soon, to keep \$[0] and so on meaningful, and to
14967 # report actual input values of CONFIG_FILES etc. instead of their
14968 # values after options handling. Logging --version etc. is OK.
14972 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
14973 ## Running $as_me. ##
14978 This file was extended by GNU Classpath $as_me 0.20-pre, which was
14979 generated by GNU Autoconf 2.59. Invocation command line was
14981 CONFIG_FILES = $CONFIG_FILES
14982 CONFIG_HEADERS = $CONFIG_HEADERS
14983 CONFIG_LINKS = $CONFIG_LINKS
14984 CONFIG_COMMANDS = $CONFIG_COMMANDS
14988 echo "on `(hostname || uname -n) 2>/dev/null | sed 1q`" >&5
14992 # Files that config.status was made for.
14993 if test -n "$ac_config_files"; then
14994 echo "config_files=\"$ac_config_files\"" >>$CONFIG_STATUS
14997 if test -n "$ac_config_headers"; then
14998 echo "config_headers=\"$ac_config_headers\"" >>$CONFIG_STATUS
15001 if test -n "$ac_config_links"; then
15002 echo "config_links=\"$ac_config_links\"" >>$CONFIG_STATUS
15005 if test -n "$ac_config_commands"; then
15006 echo "config_commands=\"$ac_config_commands\"" >>$CONFIG_STATUS
15009 cat >>$CONFIG_STATUS <<\_ACEOF
15012 \`$as_me' instantiates files from templates according to the
15013 current configuration.
15015 Usage: $0 [OPTIONS] [FILE]...
15017 -h, --help print this help, then exit
15018 -V, --version print version number, then exit
15019 -q, --quiet do not print progress messages
15020 -d, --debug don't remove temporary files
15021 --recheck update $as_me by reconfiguring in the same conditions
15022 --file=FILE[:TEMPLATE]
15023 instantiate the configuration file FILE
15024 --header=FILE[:TEMPLATE]
15025 instantiate the configuration header FILE
15027 Configuration files:
15030 Configuration headers:
15033 Configuration links:
15036 Configuration commands:
15039 Report bugs to <bug-autoconf@gnu.org>."
15042 cat >>$CONFIG_STATUS <<_ACEOF
15044 GNU Classpath config.status 0.20-pre
15045 configured by $0, generated by GNU Autoconf 2.59,
15046 with options \\"`echo "$ac_configure_args" | sed 's/[\\""\`\$]/\\\\&/g'`\\"
15048 Copyright (C) 2003 Free Software Foundation, Inc.
15049 This config.status script is free software; the Free Software Foundation
15050 gives unlimited permission to copy, distribute and modify it."
15055 cat >>$CONFIG_STATUS <<\_ACEOF
15056 # If no file are specified by the user, then we need to provide default
15057 # value. By we need to know if files were specified by the user.
15063 ac_option
=`expr "x$1" : 'x\([^=]*\)='`
15064 ac_optarg
=`expr "x$1" : 'x[^=]*=\(.*\)'`
15072 *) # This is not an option, so the user has probably given explicit
15075 ac_need_defaults
=false
;;
15079 # Handling of the options.
15081 cat >>$CONFIG_STATUS <<\_ACEOF
15082 -recheck |
--recheck |
--rechec |
--reche |
--rech |
--rec |
--re |
--r)
15084 --version |
--vers* |
-V )
15085 echo "$ac_cs_version"; exit 0 ;;
15087 # Conflict between --help and --header
15088 { { echo "$as_me:$LINENO: error: ambiguous option: $1
15089 Try \`$0 --help' for more information." >&5
15090 echo "$as_me: error: ambiguous option: $1
15091 Try \`$0 --help' for more information." >&2;}
15092 { (exit 1); exit 1; }; };;
15093 --help |
--hel |
-h )
15094 echo "$ac_cs_usage"; exit 0 ;;
15095 --debug |
--d* |
-d )
15097 --file |
--fil |
--fi |
--f )
15099 CONFIG_FILES
="$CONFIG_FILES $ac_optarg"
15100 ac_need_defaults
=false
;;
15101 --header |
--heade |
--head |
--hea )
15103 CONFIG_HEADERS
="$CONFIG_HEADERS $ac_optarg"
15104 ac_need_defaults
=false
;;
15105 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
15106 |
-silent |
--silent |
--silen |
--sile |
--sil |
--si |
--s)
15109 # This is an error.
15110 -*) { { echo "$as_me:$LINENO: error: unrecognized option: $1
15111 Try \`$0 --help' for more information." >&5
15112 echo "$as_me: error: unrecognized option: $1
15113 Try \`$0 --help' for more information." >&2;}
15114 { (exit 1); exit 1; }; } ;;
15116 *) ac_config_targets
="$ac_config_targets $1" ;;
15122 ac_configure_extra_args
=
15124 if $ac_cs_silent; then
15126 ac_configure_extra_args
="$ac_configure_extra_args --silent"
15130 cat >>$CONFIG_STATUS <<_ACEOF
15131 if \$ac_cs_recheck; then
15132 echo "running $SHELL $0 " $ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6
15133 exec $SHELL $0 $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
15138 cat >>$CONFIG_STATUS <<_ACEOF
15140 # INIT-COMMANDS section.
15143 AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
15149 cat >>$CONFIG_STATUS <<\_ACEOF
15150 for ac_config_target
in $ac_config_targets
15152 case "$ac_config_target" in
15153 # Handling of arguments.
15154 "Makefile" ) CONFIG_FILES
="$CONFIG_FILES Makefile" ;;
15155 "doc/Makefile" ) CONFIG_FILES
="$CONFIG_FILES doc/Makefile" ;;
15156 "doc/api/Makefile" ) CONFIG_FILES
="$CONFIG_FILES doc/api/Makefile" ;;
15157 "external/Makefile" ) CONFIG_FILES
="$CONFIG_FILES external/Makefile" ;;
15158 "external/sax/Makefile" ) CONFIG_FILES
="$CONFIG_FILES external/sax/Makefile" ;;
15159 "external/w3c_dom/Makefile" ) CONFIG_FILES
="$CONFIG_FILES external/w3c_dom/Makefile" ;;
15160 "gnu/classpath/Configuration.java" ) CONFIG_FILES
="$CONFIG_FILES gnu/classpath/Configuration.java" ;;
15161 "include/Makefile" ) CONFIG_FILES
="$CONFIG_FILES include/Makefile" ;;
15162 "native/Makefile" ) CONFIG_FILES
="$CONFIG_FILES native/Makefile" ;;
15163 "native/fdlibm/Makefile" ) CONFIG_FILES
="$CONFIG_FILES native/fdlibm/Makefile" ;;
15164 "native/jawt/Makefile" ) CONFIG_FILES
="$CONFIG_FILES native/jawt/Makefile" ;;
15165 "native/jni/Makefile" ) CONFIG_FILES
="$CONFIG_FILES native/jni/Makefile" ;;
15166 "native/jni/classpath/Makefile" ) CONFIG_FILES
="$CONFIG_FILES native/jni/classpath/Makefile" ;;
15167 "native/jni/java-io/Makefile" ) CONFIG_FILES
="$CONFIG_FILES native/jni/java-io/Makefile" ;;
15168 "native/jni/java-lang/Makefile" ) CONFIG_FILES
="$CONFIG_FILES native/jni/java-lang/Makefile" ;;
15169 "native/jni/java-net/Makefile" ) CONFIG_FILES
="$CONFIG_FILES native/jni/java-net/Makefile" ;;
15170 "native/jni/java-nio/Makefile" ) CONFIG_FILES
="$CONFIG_FILES native/jni/java-nio/Makefile" ;;
15171 "native/jni/java-util/Makefile" ) CONFIG_FILES
="$CONFIG_FILES native/jni/java-util/Makefile" ;;
15172 "native/jni/gtk-peer/Makefile" ) CONFIG_FILES
="$CONFIG_FILES native/jni/gtk-peer/Makefile" ;;
15173 "native/jni/qt-peer/Makefile" ) CONFIG_FILES
="$CONFIG_FILES native/jni/qt-peer/Makefile" ;;
15174 "native/jni/xmlj/Makefile" ) CONFIG_FILES
="$CONFIG_FILES native/jni/xmlj/Makefile" ;;
15175 "native/jni/midi-alsa/Makefile" ) CONFIG_FILES
="$CONFIG_FILES native/jni/midi-alsa/Makefile" ;;
15176 "native/jni/midi-dssi/Makefile" ) CONFIG_FILES
="$CONFIG_FILES native/jni/midi-dssi/Makefile" ;;
15177 "native/target/Makefile" ) CONFIG_FILES
="$CONFIG_FILES native/target/Makefile" ;;
15178 "native/target/Linux/Makefile" ) CONFIG_FILES
="$CONFIG_FILES native/target/Linux/Makefile" ;;
15179 "native/target/generic/Makefile" ) CONFIG_FILES
="$CONFIG_FILES native/target/generic/Makefile" ;;
15180 "resource/Makefile" ) CONFIG_FILES
="$CONFIG_FILES resource/Makefile" ;;
15181 "scripts/Makefile" ) CONFIG_FILES
="$CONFIG_FILES scripts/Makefile" ;;
15182 "scripts/classpath.spec" ) CONFIG_FILES
="$CONFIG_FILES scripts/classpath.spec" ;;
15183 "lib/Makefile" ) CONFIG_FILES
="$CONFIG_FILES lib/Makefile" ;;
15184 "lib/gen-classlist.sh" ) CONFIG_FILES
="$CONFIG_FILES lib/gen-classlist.sh" ;;
15185 "lib/copy-vmresources.sh" ) CONFIG_FILES
="$CONFIG_FILES lib/copy-vmresources.sh" ;;
15186 "examples/Makefile" ) CONFIG_FILES
="$CONFIG_FILES examples/Makefile" ;;
15187 "examples/Makefile.jawt" ) CONFIG_FILES
="$CONFIG_FILES examples/Makefile.jawt" ;;
15188 "$ac_config_links_1" ) CONFIG_LINKS
="$CONFIG_LINKS $ac_config_links_1" ;;
15189 "depfiles" ) CONFIG_COMMANDS
="$CONFIG_COMMANDS depfiles" ;;
15190 "gen-classlist" ) CONFIG_COMMANDS
="$CONFIG_COMMANDS gen-classlist" ;;
15191 "copy-vmresources" ) CONFIG_COMMANDS
="$CONFIG_COMMANDS copy-vmresources" ;;
15192 "include/config.h" ) CONFIG_HEADERS
="$CONFIG_HEADERS include/config.h" ;;
15193 *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
15194 echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
15195 { (exit 1); exit 1; }; };;
15199 # If the user did not use the arguments to specify the items to instantiate,
15200 # then the envvar interface is used. Set only those that are not.
15201 # We use the long form for the default assignment because of an extremely
15202 # bizarre bug on SunOS 4.1.3.
15203 if $ac_need_defaults; then
15204 test "${CONFIG_FILES+set}" = set || CONFIG_FILES
=$config_files
15205 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS
=$config_headers
15206 test "${CONFIG_LINKS+set}" = set || CONFIG_LINKS
=$config_links
15207 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS
=$config_commands
15210 # Have a temporary directory for convenience. Make it in the build tree
15211 # simply because there is no reason to put it here, and in addition,
15212 # creating and moving files from /tmp can sometimes cause problems.
15213 # Create a temporary directory, and hook for its removal unless debugging.
15216 trap 'exit_status=$?; rm -rf $tmp && exit $exit_status' 0
15217 trap '{ (exit 1); exit 1; }' 1 2 13 15
15220 # Create a (secure) tmp directory for tmp files.
15223 tmp
=`(umask 077 && mktemp -d -q "./confstatXXXXXX") 2>/dev/null` &&
15224 test -n "$tmp" && test -d "$tmp"
15227 tmp
=.
/confstat$$
-$RANDOM
15228 (umask 077 && mkdir
$tmp)
15231 echo "$me: cannot create a temporary directory in ." >&2
15232 { (exit 1); exit 1; }
15237 cat >>$CONFIG_STATUS <<_ACEOF
15240 # CONFIG_FILES section.
15243 # No need to generate the scripts if there are no CONFIG_FILES.
15244 # This happens for instance when ./config.status config.h
15245 if test -n "\$CONFIG_FILES"; then
15246 # Protect against being on the right side of a sed subst in config.status.
15247 sed 's/,@/@@/; s/@,/@@/; s/,;t t\$/@;t t/; /@;t t\$/s/[\\\\&,]/\\\\&/g;
15248 s/@@/,@/; s/@@/@,/; s/@;t t\$/,;t t/' >\$tmp/subs.sed <<\\CEOF
15249 s,@SHELL@,$SHELL,;t t
15250 s,@PATH_SEPARATOR@,$PATH_SEPARATOR,;t t
15251 s,@PACKAGE_NAME@,$PACKAGE_NAME,;t t
15252 s,@PACKAGE_TARNAME@,$PACKAGE_TARNAME,;t t
15253 s,@PACKAGE_VERSION@,$PACKAGE_VERSION,;t t
15254 s,@PACKAGE_STRING@,$PACKAGE_STRING,;t t
15255 s,@PACKAGE_BUGREPORT@,$PACKAGE_BUGREPORT,;t t
15256 s,@exec_prefix@,$exec_prefix,;t t
15257 s,@prefix@,$prefix,;t t
15258 s,@program_transform_name@,$program_transform_name,;t t
15259 s,@bindir@,$bindir,;t t
15260 s,@sbindir@,$sbindir,;t t
15261 s,@libexecdir@,$libexecdir,;t t
15262 s,@datadir@,$datadir,;t t
15263 s,@sysconfdir@,$sysconfdir,;t t
15264 s,@sharedstatedir@,$sharedstatedir,;t t
15265 s,@localstatedir@,$localstatedir,;t t
15266 s,@libdir@,$libdir,;t t
15267 s,@includedir@,$includedir,;t t
15268 s,@oldincludedir@,$oldincludedir,;t t
15269 s,@infodir@,$infodir,;t t
15270 s,@mandir@,$mandir,;t t
15271 s,@build_alias@,$build_alias,;t t
15272 s,@host_alias@,$host_alias,;t t
15273 s,@target_alias@,$target_alias,;t t
15274 s,@DEFS@,$DEFS,;t t
15275 s,@ECHO_C@,$ECHO_C,;t t
15276 s,@ECHO_N@,$ECHO_N,;t t
15277 s,@ECHO_T@,$ECHO_T,;t t
15278 s,@LIBS@,$LIBS,;t t
15279 s,@build@,$build,;t t
15280 s,@build_cpu@,$build_cpu,;t t
15281 s,@build_vendor@,$build_vendor,;t t
15282 s,@build_os@,$build_os,;t t
15283 s,@host@,$host,;t t
15284 s,@host_cpu@,$host_cpu,;t t
15285 s,@host_vendor@,$host_vendor,;t t
15286 s,@host_os@,$host_os,;t t
15287 s,@target@,$target,;t t
15288 s,@target_cpu@,$target_cpu,;t t
15289 s,@target_vendor@,$target_vendor,;t t
15290 s,@target_os@,$target_os,;t t
15291 s,@LIBVERSION@,$LIBVERSION,;t t
15292 s,@CLASSPATH_MODULE@,$CLASSPATH_MODULE,;t t
15293 s,@INSTALL_PROGRAM@,$INSTALL_PROGRAM,;t t
15294 s,@INSTALL_SCRIPT@,$INSTALL_SCRIPT,;t t
15295 s,@INSTALL_DATA@,$INSTALL_DATA,;t t
15296 s,@CYGPATH_W@,$CYGPATH_W,;t t
15297 s,@PACKAGE@,$PACKAGE,;t t
15298 s,@VERSION@,$VERSION,;t t
15299 s,@ACLOCAL@,$ACLOCAL,;t t
15300 s,@AUTOCONF@,$AUTOCONF,;t t
15301 s,@AUTOMAKE@,$AUTOMAKE,;t t
15302 s,@AUTOHEADER@,$AUTOHEADER,;t t
15303 s,@MAKEINFO@,$MAKEINFO,;t t
15304 s,@install_sh@,$install_sh,;t t
15305 s,@STRIP@,$STRIP,;t t
15306 s,@ac_ct_STRIP@,$ac_ct_STRIP,;t t
15307 s,@INSTALL_STRIP_PROGRAM@,$INSTALL_STRIP_PROGRAM,;t t
15308 s,@mkdir_p@,$mkdir_p,;t t
15310 s,@SET_MAKE@,$SET_MAKE,;t t
15311 s,@am__leading_dot@,$am__leading_dot,;t t
15312 s,@AMTAR@,$AMTAR,;t t
15313 s,@am__tar@,$am__tar,;t t
15314 s,@am__untar@,$am__untar,;t t
15315 s,@CREATE_JNI_LIBRARIES_TRUE@,$CREATE_JNI_LIBRARIES_TRUE,;t t
15316 s,@CREATE_JNI_LIBRARIES_FALSE@,$CREATE_JNI_LIBRARIES_FALSE,;t t
15317 s,@CREATE_CORE_JNI_LIBRARIES_TRUE@,$CREATE_CORE_JNI_LIBRARIES_TRUE,;t t
15318 s,@CREATE_CORE_JNI_LIBRARIES_FALSE@,$CREATE_CORE_JNI_LIBRARIES_FALSE,;t t
15319 s,@default_toolkit@,$default_toolkit,;t t
15320 s,@CREATE_XMLJ_LIBRARY_TRUE@,$CREATE_XMLJ_LIBRARY_TRUE,;t t
15321 s,@CREATE_XMLJ_LIBRARY_FALSE@,$CREATE_XMLJ_LIBRARY_FALSE,;t t
15323 s,@CFLAGS@,$CFLAGS,;t t
15324 s,@LDFLAGS@,$LDFLAGS,;t t
15325 s,@CPPFLAGS@,$CPPFLAGS,;t t
15326 s,@ac_ct_CC@,$ac_ct_CC,;t t
15327 s,@EXEEXT@,$EXEEXT,;t t
15328 s,@OBJEXT@,$OBJEXT,;t t
15329 s,@DEPDIR@,$DEPDIR,;t t
15330 s,@am__include@,$am__include,;t t
15331 s,@am__quote@,$am__quote,;t t
15332 s,@AMDEP_TRUE@,$AMDEP_TRUE,;t t
15333 s,@AMDEP_FALSE@,$AMDEP_FALSE,;t t
15334 s,@AMDEPBACKSLASH@,$AMDEPBACKSLASH,;t t
15335 s,@CCDEPMODE@,$CCDEPMODE,;t t
15336 s,@am__fastdepCC_TRUE@,$am__fastdepCC_TRUE,;t t
15337 s,@am__fastdepCC_FALSE@,$am__fastdepCC_FALSE,;t t
15339 s,@EGREP@,$EGREP,;t t
15340 s,@CREATE_ALSA_LIBRARIES_TRUE@,$CREATE_ALSA_LIBRARIES_TRUE,;t t
15341 s,@CREATE_ALSA_LIBRARIES_FALSE@,$CREATE_ALSA_LIBRARIES_FALSE,;t t
15342 s,@CREATE_DSSI_LIBRARIES_TRUE@,$CREATE_DSSI_LIBRARIES_TRUE,;t t
15343 s,@CREATE_DSSI_LIBRARIES_FALSE@,$CREATE_DSSI_LIBRARIES_FALSE,;t t
15344 s,@CREATE_GTK_PEER_LIBRARIES_TRUE@,$CREATE_GTK_PEER_LIBRARIES_TRUE,;t t
15345 s,@CREATE_GTK_PEER_LIBRARIES_FALSE@,$CREATE_GTK_PEER_LIBRARIES_FALSE,;t t
15346 s,@GTK_CAIRO_ENABLED@,$GTK_CAIRO_ENABLED,;t t
15347 s,@GTK_CAIRO_TRUE@,$GTK_CAIRO_TRUE,;t t
15348 s,@GTK_CAIRO_FALSE@,$GTK_CAIRO_FALSE,;t t
15349 s,@CREATE_QT_PEER_LIBRARIES_TRUE@,$CREATE_QT_PEER_LIBRARIES_TRUE,;t t
15350 s,@CREATE_QT_PEER_LIBRARIES_FALSE@,$CREATE_QT_PEER_LIBRARIES_FALSE,;t t
15351 s,@nativelibdir@,$nativelibdir,;t t
15352 s,@glibjdir@,$glibjdir,;t t
15353 s,@CREATE_JNI_HEADERS_TRUE@,$CREATE_JNI_HEADERS_TRUE,;t t
15354 s,@CREATE_JNI_HEADERS_FALSE@,$CREATE_JNI_HEADERS_FALSE,;t t
15355 s,@LN_S@,$LN_S,;t t
15356 s,@RANLIB@,$RANLIB,;t t
15357 s,@ac_ct_RANLIB@,$ac_ct_RANLIB,;t t
15358 s,@LIBTOOL@,$LIBTOOL,;t t
15360 s,@CXXFLAGS@,$CXXFLAGS,;t t
15361 s,@ac_ct_CXX@,$ac_ct_CXX,;t t
15362 s,@CXXDEPMODE@,$CXXDEPMODE,;t t
15363 s,@am__fastdepCXX_TRUE@,$am__fastdepCXX_TRUE,;t t
15364 s,@am__fastdepCXX_FALSE@,$am__fastdepCXX_FALSE,;t t
15365 s,@CXXCPP@,$CXXCPP,;t t
15366 s,@LIBICONV@,$LIBICONV,;t t
15367 s,@LTLIBICONV@,$LTLIBICONV,;t t
15368 s,@WARNING_CFLAGS@,$WARNING_CFLAGS,;t t
15369 s,@STRICT_WARNING_CFLAGS@,$STRICT_WARNING_CFLAGS,;t t
15370 s,@ERROR_CFLAGS@,$ERROR_CFLAGS,;t t
15371 s,@PKG_CONFIG@,$PKG_CONFIG,;t t
15372 s,@XML_CFLAGS@,$XML_CFLAGS,;t t
15373 s,@XML_LIBS@,$XML_LIBS,;t t
15374 s,@XSLT_CFLAGS@,$XSLT_CFLAGS,;t t
15375 s,@XSLT_LIBS@,$XSLT_LIBS,;t t
15376 s,@X_CFLAGS@,$X_CFLAGS,;t t
15377 s,@X_PRE_LIBS@,$X_PRE_LIBS,;t t
15378 s,@X_LIBS@,$X_LIBS,;t t
15379 s,@X_EXTRA_LIBS@,$X_EXTRA_LIBS,;t t
15380 s,@GTK_CFLAGS@,$GTK_CFLAGS,;t t
15381 s,@GTK_LIBS@,$GTK_LIBS,;t t
15382 s,@CAIRO_CFLAGS@,$CAIRO_CFLAGS,;t t
15383 s,@CAIRO_LIBS@,$CAIRO_LIBS,;t t
15384 s,@PANGOFT2_CFLAGS@,$PANGOFT2_CFLAGS,;t t
15385 s,@PANGOFT2_LIBS@,$PANGOFT2_LIBS,;t t
15386 s,@QT_CFLAGS@,$QT_CFLAGS,;t t
15387 s,@QT_LIBS@,$QT_LIBS,;t t
15389 s,@USER_JAVAH@,$USER_JAVAH,;t t
15390 s,@USER_SPECIFIED_JAVAH_TRUE@,$USER_SPECIFIED_JAVAH_TRUE,;t t
15391 s,@USER_SPECIFIED_JAVAH_FALSE@,$USER_SPECIFIED_JAVAH_FALSE,;t t
15392 s,@CLASSPATH_INCLUDES@,$CLASSPATH_INCLUDES,;t t
15394 s,@JIKES@,$JIKES,;t t
15395 s,@JIKESENCODING@,$JIKESENCODING,;t t
15397 s,@GCJX@,$GCJX,;t t
15399 s,@FOUND_GCJ_TRUE@,$FOUND_GCJ_TRUE,;t t
15400 s,@FOUND_GCJ_FALSE@,$FOUND_GCJ_FALSE,;t t
15401 s,@FOUND_JIKES_TRUE@,$FOUND_JIKES_TRUE,;t t
15402 s,@FOUND_JIKES_FALSE@,$FOUND_JIKES_FALSE,;t t
15403 s,@FOUND_ECJ_TRUE@,$FOUND_ECJ_TRUE,;t t
15404 s,@FOUND_ECJ_FALSE@,$FOUND_ECJ_FALSE,;t t
15405 s,@FOUND_KJC_TRUE@,$FOUND_KJC_TRUE,;t t
15406 s,@FOUND_KJC_FALSE@,$FOUND_KJC_FALSE,;t t
15407 s,@FOUND_GCJX_TRUE@,$FOUND_GCJX_TRUE,;t t
15408 s,@FOUND_GCJX_FALSE@,$FOUND_GCJX_FALSE,;t t
15409 s,@USER_CLASSLIB@,$USER_CLASSLIB,;t t
15410 s,@USER_SPECIFIED_CLASSLIB_TRUE@,$USER_SPECIFIED_CLASSLIB_TRUE,;t t
15411 s,@USER_SPECIFIED_CLASSLIB_FALSE@,$USER_SPECIFIED_CLASSLIB_FALSE,;t t
15412 s,@vm_classes@,$vm_classes,;t t
15413 s,@MAINTAINER_MODE_TRUE@,$MAINTAINER_MODE_TRUE,;t t
15414 s,@MAINTAINER_MODE_FALSE@,$MAINTAINER_MODE_FALSE,;t t
15415 s,@MAINT@,$MAINT,;t t
15416 s,@LIBDEBUG@,$LIBDEBUG,;t t
15417 s,@INIT_LOAD_LIBRARY@,$INIT_LOAD_LIBRARY,;t t
15418 s,@JAVA_LANG_SYSTEM_EXPLICIT_INITIALIZATION@,$JAVA_LANG_SYSTEM_EXPLICIT_INITIALIZATION,;t t
15419 s,@REMOVE@,$REMOVE,;t t
15420 s,@MKDIR@,$MKDIR,;t t
15422 s,@DATE@,$DATE,;t t
15423 s,@FIND@,$FIND,;t t
15425 s,@INSTALL_GLIBJ_ZIP_TRUE@,$INSTALL_GLIBJ_ZIP_TRUE,;t t
15426 s,@INSTALL_GLIBJ_ZIP_FALSE@,$INSTALL_GLIBJ_ZIP_FALSE,;t t
15427 s,@INSTALL_CLASS_FILES_TRUE@,$INSTALL_CLASS_FILES_TRUE,;t t
15428 s,@INSTALL_CLASS_FILES_FALSE@,$INSTALL_CLASS_FILES_FALSE,;t t
15429 s,@BUILD_CLASS_FILES_TRUE@,$BUILD_CLASS_FILES_TRUE,;t t
15430 s,@BUILD_CLASS_FILES_FALSE@,$BUILD_CLASS_FILES_FALSE,;t t
15431 s,@EXAMPLESDIR@,$EXAMPLESDIR,;t t
15432 s,@GJDOC@,$GJDOC,;t t
15433 s,@CREATE_API_DOCS_TRUE@,$CREATE_API_DOCS_TRUE,;t t
15434 s,@CREATE_API_DOCS_FALSE@,$CREATE_API_DOCS_FALSE,;t t
15436 s,@JAY_SKELETON@,$JAY_SKELETON,;t t
15437 s,@REGEN_PARSERS_TRUE@,$REGEN_PARSERS_TRUE,;t t
15438 s,@REGEN_PARSERS_FALSE@,$REGEN_PARSERS_FALSE,;t t
15439 s,@LIBOBJS@,$LIBOBJS,;t t
15440 s,@LTLIBOBJS@,$LTLIBOBJS,;t t
15445 cat >>$CONFIG_STATUS <<\_ACEOF
15446 # Split the substitutions into bite-sized pieces for seds with
15447 # small command number limits, like on Digital OSF/1 and HP-UX.
15448 ac_max_sed_lines
=48
15449 ac_sed_frag
=1 # Number of current file.
15450 ac_beg
=1 # First line for current file.
15451 ac_end
=$ac_max_sed_lines # Line after last line for current file.
15454 while $ac_more_lines; do
15455 if test $ac_beg -gt 1; then
15456 sed "1,${ac_beg}d; ${ac_end}q" $tmp/subs.
sed >$tmp/subs.frag
15458 sed "${ac_end}q" $tmp/subs.
sed >$tmp/subs.frag
15460 if test ! -s $tmp/subs.frag
; then
15461 ac_more_lines
=false
15463 # The purpose of the label and of the branching condition is to
15464 # speed up the sed processing (if there are no `@' at all, there
15465 # is no need to browse any of the substitutions).
15466 # These are the two extra sed commands mentioned above.
15468 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b' && cat $tmp/subs.frag
) >$tmp/subs-
$ac_sed_frag.
sed
15469 if test -z "$ac_sed_cmds"; then
15470 ac_sed_cmds
="sed -f $tmp/subs-$ac_sed_frag.sed"
15472 ac_sed_cmds
="$ac_sed_cmds | sed -f $tmp/subs-$ac_sed_frag.sed"
15474 ac_sed_frag
=`expr $ac_sed_frag + 1`
15476 ac_end
=`expr $ac_end + $ac_max_sed_lines`
15479 if test -z "$ac_sed_cmds"; then
15482 fi # test -n "$CONFIG_FILES"
15485 cat >>$CONFIG_STATUS <<\_ACEOF
15486 for ac_file
in : $CONFIG_FILES; do test "x$ac_file" = x
: && continue
15487 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
15489 - |
*:- |
*:-:* ) # input from stdin
15491 ac_file_in
=`echo "$ac_file" | sed 's,[^:]*:,,'`
15492 ac_file
=`echo "$ac_file" | sed 's,:.*,,'` ;;
15493 *:* ) ac_file_in
=`echo "$ac_file" | sed 's,[^:]*:,,'`
15494 ac_file
=`echo "$ac_file" | sed 's,:.*,,'` ;;
15495 * ) ac_file_in
=$ac_file.
in ;;
15498 # Compute @srcdir@, @top_srcdir@, and @INSTALL@ for subdirectories.
15499 ac_dir
=`(dirname "$ac_file") 2>/dev/null ||
15500 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
15501 X"$ac_file" : 'X\(//\)[^/]' \| \
15502 X"$ac_file" : 'X\(//\)$' \| \
15503 X"$ac_file" : 'X\(/\)' \| \
15504 . : '\(.\)' 2>/dev/null ||
15506 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
15507 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
15508 /^X\(\/\/\)$/{ s//\1/; q; }
15509 /^X\(\/\).*/{ s//\1/; q; }
15511 { if $as_mkdir_p; then
15516 while test ! -d "$as_dir"; do
15517 as_dirs
="$as_dir $as_dirs"
15518 as_dir
=`(dirname "$as_dir") 2>/dev/null ||
15519 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
15520 X"$as_dir" : 'X\(//\)[^/]' \| \
15521 X"$as_dir" : 'X\(//\)$' \| \
15522 X"$as_dir" : 'X\(/\)' \| \
15523 . : '\(.\)' 2>/dev/null ||
15525 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
15526 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
15527 /^X\(\/\/\)$/{ s//\1/; q; }
15528 /^X\(\/\).*/{ s//\1/; q; }
15531 test ! -n "$as_dirs" || mkdir
$as_dirs
15532 fi ||
{ { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
15533 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
15534 { (exit 1); exit 1; }; }; }
15538 if test "$ac_dir" != .
; then
15539 ac_dir_suffix
=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
15540 # A "../" for each directory in $ac_dir_suffix.
15541 ac_top_builddir
=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
15543 ac_dir_suffix
= ac_top_builddir
=
15547 .
) # No --srcdir option. We are building in place.
15549 if test -z "$ac_top_builddir"; then
15552 ac_top_srcdir
=`echo $ac_top_builddir | sed 's,/$,,'`
15554 [\\/]* | ?
:[\\/]* ) # Absolute path.
15555 ac_srcdir
=$srcdir$ac_dir_suffix;
15556 ac_top_srcdir
=$srcdir ;;
15557 *) # Relative path.
15558 ac_srcdir
=$ac_top_builddir$srcdir$ac_dir_suffix
15559 ac_top_srcdir
=$ac_top_builddir$srcdir ;;
15562 # Do not use `cd foo && pwd` to compute absolute paths, because
15563 # the directories may not exist.
15565 .
) ac_abs_builddir
="$ac_dir";;
15568 .
) ac_abs_builddir
=`pwd`;;
15569 [\\/]* | ?
:[\\/]* ) ac_abs_builddir
="$ac_dir";;
15570 *) ac_abs_builddir
=`pwd`/"$ac_dir";;
15573 case $ac_abs_builddir in
15574 .
) ac_abs_top_builddir
=${ac_top_builddir}.
;;
15576 case ${ac_top_builddir}.
in
15577 .
) ac_abs_top_builddir
=$ac_abs_builddir;;
15578 [\\/]* | ?
:[\\/]* ) ac_abs_top_builddir
=${ac_top_builddir}.
;;
15579 *) ac_abs_top_builddir
=$ac_abs_builddir/${ac_top_builddir}.
;;
15582 case $ac_abs_builddir in
15583 .
) ac_abs_srcdir
=$ac_srcdir;;
15586 .
) ac_abs_srcdir
=$ac_abs_builddir;;
15587 [\\/]* | ?
:[\\/]* ) ac_abs_srcdir
=$ac_srcdir;;
15588 *) ac_abs_srcdir
=$ac_abs_builddir/$ac_srcdir;;
15591 case $ac_abs_builddir in
15592 .
) ac_abs_top_srcdir
=$ac_top_srcdir;;
15594 case $ac_top_srcdir in
15595 .
) ac_abs_top_srcdir
=$ac_abs_builddir;;
15596 [\\/]* | ?
:[\\/]* ) ac_abs_top_srcdir
=$ac_top_srcdir;;
15597 *) ac_abs_top_srcdir
=$ac_abs_builddir/$ac_top_srcdir;;
15603 [\\/$
]* | ?
:[\\/]* ) ac_INSTALL
=$INSTALL ;;
15604 *) ac_INSTALL
=$ac_top_builddir$INSTALL ;;
15607 if test x
"$ac_file" != x-
; then
15608 { echo "$as_me:$LINENO: creating $ac_file" >&5
15609 echo "$as_me: creating $ac_file" >&6;}
15612 # Let's still pretend it is `configure' which instantiates (i.e., don't
15613 # use $as_me), people would be surprised to read:
15614 # /* config.h. Generated by config.status. */
15615 if test x
"$ac_file" = x-
; then
15618 configure_input
="$ac_file. "
15620 configure_input
=$configure_input"Generated from `echo $ac_file_in |
15621 sed 's,.*/,,'` by configure."
15623 # First look for the input files in the build tree, otherwise in the
15625 ac_file_inputs
=`IFS=:
15626 for f in $ac_file_in; do
15628 -) echo $tmp/stdin ;;
15630 # Absolute (can't be DOS-style, as IFS=:)
15631 test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
15632 echo "$as_me: error: cannot find input file: $f" >&2;}
15633 { (exit 1); exit 1; }; }
15636 if test -f "$f"; then
15639 elif test -f "$srcdir/$f"; then
15644 { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
15645 echo "$as_me: error: cannot find input file: $f" >&2;}
15646 { (exit 1); exit 1; }; }
15649 done` ||
{ (exit 1); exit 1; }
15651 cat >>$CONFIG_STATUS <<_ACEOF
15655 cat >>$CONFIG_STATUS <<\_ACEOF
15657 /@
[a-zA-Z_
][a-zA-Z_0-9
]*@
/!b
15658 s
,@configure_input@
,$configure_input,;t t
15659 s
,@srcdir@
,$ac_srcdir,;t t
15660 s
,@abs_srcdir@
,$ac_abs_srcdir,;t t
15661 s
,@top_srcdir@
,$ac_top_srcdir,;t t
15662 s
,@abs_top_srcdir@
,$ac_abs_top_srcdir,;t t
15663 s
,@builddir@
,$ac_builddir,;t t
15664 s
,@abs_builddir@
,$ac_abs_builddir,;t t
15665 s
,@top_builddir@
,$ac_top_builddir,;t t
15666 s
,@abs_top_builddir@
,$ac_abs_top_builddir,;t t
15667 s
,@INSTALL@
,$ac_INSTALL,;t t
15668 " $ac_file_inputs | (eval "$ac_sed_cmds") >$tmp/out
15670 if test x"$ac_file" != x-; then
15671 mv $tmp/out $ac_file
15679 cat >>$CONFIG_STATUS <<\_ACEOF
15682 # CONFIG_HEADER section.
15685 # These sed commands are passed to sed as "A NAME B NAME C VALUE D
", where
15686 # NAME is the cpp macro being defined and VALUE is the value it is being given.
15688 # ac_d sets the value in "#define NAME VALUE" lines.
15689 ac_dA
='s,^\([ ]*\)#\([ ]*define[ ][ ]*\)'
15690 ac_dB
='[ ].*$,\1#\2'
15693 # ac_u turns "#undef NAME" without trailing blanks into "#define NAME VALUE".
15694 ac_uA
='s,^\([ ]*\)#\([ ]*\)undef\([ ][ ]*\)'
15695 ac_uB
='$,\1#\2define\3'
15699 for ac_file
in : $CONFIG_HEADERS; do test "x$ac_file" = x
: && continue
15700 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
15702 - |
*:- |
*:-:* ) # input from stdin
15704 ac_file_in
=`echo "$ac_file" | sed 's,[^:]*:,,'`
15705 ac_file
=`echo "$ac_file" | sed 's,:.*,,'` ;;
15706 *:* ) ac_file_in
=`echo "$ac_file" | sed 's,[^:]*:,,'`
15707 ac_file
=`echo "$ac_file" | sed 's,:.*,,'` ;;
15708 * ) ac_file_in
=$ac_file.
in ;;
15711 test x
"$ac_file" != x-
&& { echo "$as_me:$LINENO: creating $ac_file" >&5
15712 echo "$as_me: creating $ac_file" >&6;}
15714 # First look for the input files in the build tree, otherwise in the
15716 ac_file_inputs
=`IFS=:
15717 for f in $ac_file_in; do
15719 -) echo $tmp/stdin ;;
15721 # Absolute (can't be DOS-style, as IFS=:)
15722 test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
15723 echo "$as_me: error: cannot find input file: $f" >&2;}
15724 { (exit 1); exit 1; }; }
15725 # Do quote $f, to prevent DOS paths from being IFS'd.
15728 if test -f "$f"; then
15731 elif test -f "$srcdir/$f"; then
15736 { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
15737 echo "$as_me: error: cannot find input file: $f" >&2;}
15738 { (exit 1); exit 1; }; }
15741 done` ||
{ (exit 1); exit 1; }
15742 # Remove the trailing spaces.
15743 sed 's/[ ]*$//' $ac_file_inputs >$tmp/in
15747 # Transform confdefs.h into two sed scripts, `conftest.defines' and
15748 # `conftest.undefs', that substitutes the proper values into
15749 # config.h.in to produce config.h. The first handles `#define'
15750 # templates, and the second `#undef' templates.
15751 # And first: Protect against being on the right side of a sed subst in
15752 # config.status. Protect against being in an unquoted here document
15753 # in config.status.
15754 rm -f conftest.defines conftest.undefs
15755 # Using a here document instead of a string reduces the quoting nightmare.
15756 # Putting comments in sed scripts is not portable.
15758 # `end' is used to avoid that the second main sed command (meant for
15759 # 0-ary CPP macros) applies to n-ary macro definitions.
15760 # See the Autoconf documentation for `clear'.
15761 cat >confdef2sed.
sed <<\_ACEOF
15766 s,^[ ]*#[ ]*define[ ][ ]*\([^ (][^ (]*\)\(([^)]*)\)[ ]*\(.*\)$,${ac_dA}\1${ac_dB}\1\2${ac_dC}\3${ac_dD},gp
15768 s,^[ ]*#[ ]*define[ ][ ]*\([^ ][^ ]*\)[ ]*\(.*\)$,${ac_dA}\1${ac_dB}\1${ac_dC}\2${ac_dD},gp
15771 # If some macros were called several times there might be several times
15772 # the same #defines, which is useless. Nevertheless, we may not want to
15773 # sort them, since we want the *last* AC-DEFINE to be honored.
15774 uniq confdefs.h | sed -n -f confdef2sed.sed >conftest.defines
15775 sed 's/ac_d/ac_u/g' conftest.defines >conftest.undefs
15776 rm -f confdef2sed.sed
15778 # This sed command replaces #undef with comments. This is necessary, for
15779 # example, in the case of _POSIX_SOURCE, which is predefined and required
15780 # on some systems where configure will not decide to define it.
15781 cat >>conftest.undefs <<\_ACEOF
15782 s,^[ ]*#[ ]*undef[ ][ ]*[a-zA-Z_][a-zA-Z_0-9]*,/* & */,
15785 # Break up conftest.defines because some shells have a limit on the size
15786 # of here documents, and old seds have small limits too (100 cmds).
15787 echo ' # Handle all the #define templates only if necessary.' >>$CONFIG_STATUS
15788 echo ' if grep "^[ ]*#[ ]*define" $tmp/in >/dev/null; then' >>$CONFIG_STATUS
15789 echo ' # If there are no defines, we may have an empty if/fi' >>$CONFIG_STATUS
15790 echo ' :' >>$CONFIG_STATUS
15791 rm -f conftest.tail
15792 while grep . conftest.defines >/dev/null
15794 # Write a limited-size here document to $tmp/defines.sed.
15795 echo ' cat >$tmp/defines.sed <<CEOF' >>$CONFIG_STATUS
15796 # Speed up: don't consider the non `#define' lines.
15797 echo '/^[ ]*#[ ]*define/!b' >>$CONFIG_STATUS
15798 # Work around the forget-to-reset-the-flag bug.
15799 echo 't clr' >>$CONFIG_STATUS
15800 echo ': clr' >>$CONFIG_STATUS
15801 sed ${ac_max_here_lines}q conftest.defines
>>$CONFIG_STATUS
15803 sed -f $tmp/defines.sed $tmp/in >$tmp/out
15805 mv $tmp/out $tmp/in
15807 sed 1,${ac_max_here_lines}d conftest.defines
>conftest.
tail
15808 rm -f conftest.defines
15809 mv conftest.
tail conftest.defines
15811 rm -f conftest.defines
15812 echo ' fi # grep' >>$CONFIG_STATUS
15813 echo >>$CONFIG_STATUS
15815 # Break up conftest.undefs because some shells have a limit on the size
15816 # of here documents, and old seds have small limits too (100 cmds).
15817 echo ' # Handle all the #undef templates' >>$CONFIG_STATUS
15818 rm -f conftest.
tail
15819 while grep . conftest.undefs
>/dev
/null
15821 # Write a limited-size here document to $tmp/undefs.sed.
15822 echo ' cat >$tmp/undefs.sed <<CEOF' >>$CONFIG_STATUS
15823 # Speed up: don't consider the non
`#undef'
15824 echo '/^[ ]*#[ ]*undef/!b' >>$CONFIG_STATUS
15825 # Work around the forget-to-reset-the-flag bug.
15826 echo 't clr' >>$CONFIG_STATUS
15827 echo ': clr' >>$CONFIG_STATUS
15828 sed ${ac_max_here_lines}q conftest.undefs >>$CONFIG_STATUS
15830 sed -f $tmp/undefs.sed $tmp/in >$tmp/out
15832 mv $tmp/out $tmp/in
15834 sed 1,${ac_max_here_lines}d conftest.undefs >conftest.tail
15835 rm -f conftest.undefs
15836 mv conftest.tail conftest.undefs
15838 rm -f conftest.undefs
15840 cat >>$CONFIG_STATUS <<\_ACEOF
15841 # Let's still pretend it is `configure
' which instantiates (i.e., don't
15842 # use $as_me), people would be surprised to read:
15843 # /* config.h. Generated by config.status. */
15844 if test x
"$ac_file" = x-
; then
15845 echo "/* Generated by configure. */" >$tmp/config.h
15847 echo "/* $ac_file. Generated by configure. */" >$tmp/config.h
15849 cat $tmp/in >>$tmp/config.h
15851 if test x
"$ac_file" != x-
; then
15852 if diff $ac_file $tmp/config.h
>/dev
/null
2>&1; then
15853 { echo "$as_me:$LINENO: $ac_file is unchanged" >&5
15854 echo "$as_me: $ac_file is unchanged" >&6;}
15856 ac_dir
=`(dirname "$ac_file") 2>/dev/null ||
15857 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
15858 X"$ac_file" : 'X\(//\)[^/]' \| \
15859 X"$ac_file" : 'X\(//\)$' \| \
15860 X"$ac_file" : 'X\(/\)' \| \
15861 . : '\(.\)' 2>/dev/null ||
15863 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
15864 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
15865 /^X\(\/\/\)$/{ s//\1/; q; }
15866 /^X\(\/\).*/{ s//\1/; q; }
15868 { if $as_mkdir_p; then
15873 while test ! -d "$as_dir"; do
15874 as_dirs
="$as_dir $as_dirs"
15875 as_dir
=`(dirname "$as_dir") 2>/dev/null ||
15876 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
15877 X"$as_dir" : 'X\(//\)[^/]' \| \
15878 X"$as_dir" : 'X\(//\)$' \| \
15879 X"$as_dir" : 'X\(/\)' \| \
15880 . : '\(.\)' 2>/dev/null ||
15882 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
15883 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
15884 /^X\(\/\/\)$/{ s//\1/; q; }
15885 /^X\(\/\).*/{ s//\1/; q; }
15888 test ! -n "$as_dirs" || mkdir
$as_dirs
15889 fi ||
{ { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
15890 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
15891 { (exit 1); exit 1; }; }; }
15894 mv $tmp/config.h
$ac_file
15898 rm -f $tmp/config.h
15900 # Compute $ac_file's index in $config_headers.
15902 for _am_header
in $config_headers :; do
15903 case $_am_header in
15904 $ac_file |
$ac_file:* )
15907 _am_stamp_count
=`expr $_am_stamp_count + 1` ;;
15910 echo "timestamp for $ac_file" >`(dirname $ac_file) 2>/dev/null ||
15911 $as_expr X$ac_file : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
15912 X$ac_file : 'X\(//\)[^/]' \| \
15913 X$ac_file : 'X\(//\)$' \| \
15914 X$ac_file : 'X\(/\)' \| \
15915 . : '\(.\)' 2>/dev/null ||
15917 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
15918 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
15919 /^X\(\/\/\)$/{ s//\1/; q; }
15920 /^X\(\/\).*/{ s//\1/; q; }
15921 s/.*/./; q'`/stamp-h
$_am_stamp_count
15924 cat >>$CONFIG_STATUS <<\_ACEOF
15927 # CONFIG_LINKS section.
15930 for ac_file
in : $CONFIG_LINKS; do test "x$ac_file" = x
: && continue
15931 ac_dest
=`echo "$ac_file" | sed 's,:.*,,'`
15932 ac_source
=`echo "$ac_file" | sed 's,[^:]*:,,'`
15934 { echo "$as_me:$LINENO: linking $srcdir/$ac_source to $ac_dest" >&5
15935 echo "$as_me: linking $srcdir/$ac_source to $ac_dest" >&6;}
15937 if test ! -r $srcdir/$ac_source; then
15938 { { echo "$as_me:$LINENO: error: $srcdir/$ac_source: file not found" >&5
15939 echo "$as_me: error: $srcdir/$ac_source: file not found" >&2;}
15940 { (exit 1); exit 1; }; }
15944 # Make relative symlinks.
15945 ac_dest_dir
=`(dirname "$ac_dest") 2>/dev/null ||
15946 $as_expr X"$ac_dest" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
15947 X"$ac_dest" : 'X\(//\)[^/]' \| \
15948 X"$ac_dest" : 'X\(//\)$' \| \
15949 X"$ac_dest" : 'X\(/\)' \| \
15950 . : '\(.\)' 2>/dev/null ||
15952 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
15953 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
15954 /^X\(\/\/\)$/{ s//\1/; q; }
15955 /^X\(\/\).*/{ s//\1/; q; }
15957 { if $as_mkdir_p; then
15958 mkdir
-p "$ac_dest_dir"
15960 as_dir
="$ac_dest_dir"
15962 while test ! -d "$as_dir"; do
15963 as_dirs
="$as_dir $as_dirs"
15964 as_dir
=`(dirname "$as_dir") 2>/dev/null ||
15965 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
15966 X"$as_dir" : 'X\(//\)[^/]' \| \
15967 X"$as_dir" : 'X\(//\)$' \| \
15968 X"$as_dir" : 'X\(/\)' \| \
15969 . : '\(.\)' 2>/dev/null ||
15971 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
15972 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
15973 /^X\(\/\/\)$/{ s//\1/; q; }
15974 /^X\(\/\).*/{ s//\1/; q; }
15977 test ! -n "$as_dirs" || mkdir
$as_dirs
15978 fi ||
{ { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dest_dir\"" >&5
15979 echo "$as_me: error: cannot create directory \"$ac_dest_dir\"" >&2;}
15980 { (exit 1); exit 1; }; }; }
15984 if test "$ac_dest_dir" != .
; then
15985 ac_dir_suffix
=/`echo "$ac_dest_dir" | sed 's,^\.[\\/],,'`
15986 # A "../" for each directory in $ac_dir_suffix.
15987 ac_top_builddir
=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
15989 ac_dir_suffix
= ac_top_builddir
=
15993 .
) # No --srcdir option. We are building in place.
15995 if test -z "$ac_top_builddir"; then
15998 ac_top_srcdir
=`echo $ac_top_builddir | sed 's,/$,,'`
16000 [\\/]* | ?
:[\\/]* ) # Absolute path.
16001 ac_srcdir
=$srcdir$ac_dir_suffix;
16002 ac_top_srcdir
=$srcdir ;;
16003 *) # Relative path.
16004 ac_srcdir
=$ac_top_builddir$srcdir$ac_dir_suffix
16005 ac_top_srcdir
=$ac_top_builddir$srcdir ;;
16008 # Do not use `cd foo && pwd` to compute absolute paths, because
16009 # the directories may not exist.
16011 .
) ac_abs_builddir
="$ac_dest_dir";;
16013 case "$ac_dest_dir" in
16014 .
) ac_abs_builddir
=`pwd`;;
16015 [\\/]* | ?
:[\\/]* ) ac_abs_builddir
="$ac_dest_dir";;
16016 *) ac_abs_builddir
=`pwd`/"$ac_dest_dir";;
16019 case $ac_abs_builddir in
16020 .
) ac_abs_top_builddir
=${ac_top_builddir}.
;;
16022 case ${ac_top_builddir}.
in
16023 .
) ac_abs_top_builddir
=$ac_abs_builddir;;
16024 [\\/]* | ?
:[\\/]* ) ac_abs_top_builddir
=${ac_top_builddir}.
;;
16025 *) ac_abs_top_builddir
=$ac_abs_builddir/${ac_top_builddir}.
;;
16028 case $ac_abs_builddir in
16029 .
) ac_abs_srcdir
=$ac_srcdir;;
16032 .
) ac_abs_srcdir
=$ac_abs_builddir;;
16033 [\\/]* | ?
:[\\/]* ) ac_abs_srcdir
=$ac_srcdir;;
16034 *) ac_abs_srcdir
=$ac_abs_builddir/$ac_srcdir;;
16037 case $ac_abs_builddir in
16038 .
) ac_abs_top_srcdir
=$ac_top_srcdir;;
16040 case $ac_top_srcdir in
16041 .
) ac_abs_top_srcdir
=$ac_abs_builddir;;
16042 [\\/]* | ?
:[\\/]* ) ac_abs_top_srcdir
=$ac_top_srcdir;;
16043 *) ac_abs_top_srcdir
=$ac_abs_builddir/$ac_top_srcdir;;
16049 [\\/$
]* | ?
:[\\/]* ) ac_rel_source
=$srcdir/$ac_source ;;
16050 *) ac_rel_source
=$ac_top_builddir$srcdir/$ac_source ;;
16053 # Try a symlink, then a hard link, then a copy.
16054 ln -s $ac_rel_source $ac_dest 2>/dev
/null ||
16055 ln $srcdir/$ac_source $ac_dest 2>/dev
/null ||
16056 cp -p $srcdir/$ac_source $ac_dest ||
16057 { { echo "$as_me:$LINENO: error: cannot link or copy $srcdir/$ac_source to $ac_dest" >&5
16058 echo "$as_me: error: cannot link or copy $srcdir/$ac_source to $ac_dest" >&2;}
16059 { (exit 1); exit 1; }; }
16062 cat >>$CONFIG_STATUS <<\_ACEOF
16065 # CONFIG_COMMANDS section.
16067 for ac_file
in : $CONFIG_COMMANDS; do test "x$ac_file" = x
: && continue
16068 ac_dest
=`echo "$ac_file" | sed 's,:.*,,'`
16069 ac_source
=`echo "$ac_file" | sed 's,[^:]*:,,'`
16070 ac_dir
=`(dirname "$ac_dest") 2>/dev/null ||
16071 $as_expr X"$ac_dest" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
16072 X"$ac_dest" : 'X\(//\)[^/]' \| \
16073 X"$ac_dest" : 'X\(//\)$' \| \
16074 X"$ac_dest" : 'X\(/\)' \| \
16075 . : '\(.\)' 2>/dev/null ||
16077 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
16078 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
16079 /^X\(\/\/\)$/{ s//\1/; q; }
16080 /^X\(\/\).*/{ s//\1/; q; }
16082 { if $as_mkdir_p; then
16087 while test ! -d "$as_dir"; do
16088 as_dirs
="$as_dir $as_dirs"
16089 as_dir
=`(dirname "$as_dir") 2>/dev/null ||
16090 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
16091 X"$as_dir" : 'X\(//\)[^/]' \| \
16092 X"$as_dir" : 'X\(//\)$' \| \
16093 X"$as_dir" : 'X\(/\)' \| \
16094 . : '\(.\)' 2>/dev/null ||
16096 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
16097 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
16098 /^X\(\/\/\)$/{ s//\1/; q; }
16099 /^X\(\/\).*/{ s//\1/; q; }
16102 test ! -n "$as_dirs" || mkdir
$as_dirs
16103 fi ||
{ { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
16104 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
16105 { (exit 1); exit 1; }; }; }
16109 if test "$ac_dir" != .
; then
16110 ac_dir_suffix
=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
16111 # A "../" for each directory in $ac_dir_suffix.
16112 ac_top_builddir
=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
16114 ac_dir_suffix
= ac_top_builddir
=
16118 .
) # No --srcdir option. We are building in place.
16120 if test -z "$ac_top_builddir"; then
16123 ac_top_srcdir
=`echo $ac_top_builddir | sed 's,/$,,'`
16125 [\\/]* | ?
:[\\/]* ) # Absolute path.
16126 ac_srcdir
=$srcdir$ac_dir_suffix;
16127 ac_top_srcdir
=$srcdir ;;
16128 *) # Relative path.
16129 ac_srcdir
=$ac_top_builddir$srcdir$ac_dir_suffix
16130 ac_top_srcdir
=$ac_top_builddir$srcdir ;;
16133 # Do not use `cd foo && pwd` to compute absolute paths, because
16134 # the directories may not exist.
16136 .
) ac_abs_builddir
="$ac_dir";;
16139 .
) ac_abs_builddir
=`pwd`;;
16140 [\\/]* | ?
:[\\/]* ) ac_abs_builddir
="$ac_dir";;
16141 *) ac_abs_builddir
=`pwd`/"$ac_dir";;
16144 case $ac_abs_builddir in
16145 .
) ac_abs_top_builddir
=${ac_top_builddir}.
;;
16147 case ${ac_top_builddir}.
in
16148 .
) ac_abs_top_builddir
=$ac_abs_builddir;;
16149 [\\/]* | ?
:[\\/]* ) ac_abs_top_builddir
=${ac_top_builddir}.
;;
16150 *) ac_abs_top_builddir
=$ac_abs_builddir/${ac_top_builddir}.
;;
16153 case $ac_abs_builddir in
16154 .
) ac_abs_srcdir
=$ac_srcdir;;
16157 .
) ac_abs_srcdir
=$ac_abs_builddir;;
16158 [\\/]* | ?
:[\\/]* ) ac_abs_srcdir
=$ac_srcdir;;
16159 *) ac_abs_srcdir
=$ac_abs_builddir/$ac_srcdir;;
16162 case $ac_abs_builddir in
16163 .
) ac_abs_top_srcdir
=$ac_top_srcdir;;
16165 case $ac_top_srcdir in
16166 .
) ac_abs_top_srcdir
=$ac_abs_builddir;;
16167 [\\/]* | ?
:[\\/]* ) ac_abs_top_srcdir
=$ac_top_srcdir;;
16168 *) ac_abs_top_srcdir
=$ac_abs_builddir/$ac_top_srcdir;;
16173 { echo "$as_me:$LINENO: executing $ac_dest commands" >&5
16174 echo "$as_me: executing $ac_dest commands" >&6;}
16176 depfiles
) test x
"$AMDEP_TRUE" != x
"" ||
for mf
in $CONFIG_FILES; do
16177 # Strip MF so we end up with the name of the file.
16178 mf
=`echo "$mf" | sed -e 's/:.*$//'`
16179 # Check whether this is an Automake generated Makefile or not.
16180 # We used to match only the files named `Makefile.in', but
16181 # some people rename them; so instead we look at the file content.
16182 # Grep'ing the first line is not enough: some people post-process
16183 # each Makefile.in and add a new line on top of each file to say so.
16184 # So let's grep whole file.
16185 if grep '^#.*generated by automake' $mf > /dev
/null
2>&1; then
16186 dirpart
=`(dirname "$mf") 2>/dev/null ||
16187 $as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
16188 X"$mf" : 'X\(//\)[^/]' \| \
16189 X"$mf" : 'X\(//\)$' \| \
16190 X"$mf" : 'X\(/\)' \| \
16191 . : '\(.\)' 2>/dev/null ||
16193 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
16194 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
16195 /^X\(\/\/\)$/{ s//\1/; q; }
16196 /^X\(\/\).*/{ s//\1/; q; }
16201 # Extract the definition of DEPDIR, am__include, and am__quote
16202 # from the Makefile without running `make'.
16203 DEPDIR
=`sed -n 's/^DEPDIR = //p' < "$mf"`
16204 test -z "$DEPDIR" && continue
16205 am__include
=`sed -n 's/^am__include = //p' < "$mf"`
16206 test -z "am__include" && continue
16207 am__quote
=`sed -n 's/^am__quote = //p' < "$mf"`
16208 # When using ansi2knr, U may be empty or an underscore; expand it
16209 U
=`sed -n 's/^U = //p' < "$mf"`
16210 # Find all dependency output files, they are included files with
16211 # $(DEPDIR) in their names. We invoke sed twice because it is the
16212 # simplest approach to changing $(DEPDIR) to its actual value in the
16214 for file in `sed -n "
16215 s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
16216 sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do
16217 # Make sure the directory exists.
16218 test -f "$dirpart/$file" && continue
16219 fdir
=`(dirname "$file") 2>/dev/null ||
16220 $as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
16221 X"$file" : 'X\(//\)[^/]' \| \
16222 X"$file" : 'X\(//\)$' \| \
16223 X"$file" : 'X\(/\)' \| \
16224 . : '\(.\)' 2>/dev/null ||
16226 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
16227 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
16228 /^X\(\/\/\)$/{ s//\1/; q; }
16229 /^X\(\/\).*/{ s//\1/; q; }
16231 { if $as_mkdir_p; then
16232 mkdir
-p $dirpart/$fdir
16234 as_dir
=$dirpart/$fdir
16236 while test ! -d "$as_dir"; do
16237 as_dirs
="$as_dir $as_dirs"
16238 as_dir
=`(dirname "$as_dir") 2>/dev/null ||
16239 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
16240 X"$as_dir" : 'X\(//\)[^/]' \| \
16241 X"$as_dir" : 'X\(//\)$' \| \
16242 X"$as_dir" : 'X\(/\)' \| \
16243 . : '\(.\)' 2>/dev/null ||
16245 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
16246 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
16247 /^X\(\/\/\)$/{ s//\1/; q; }
16248 /^X\(\/\).*/{ s//\1/; q; }
16251 test ! -n "$as_dirs" || mkdir
$as_dirs
16252 fi ||
{ { echo "$as_me:$LINENO: error: cannot create directory $dirpart/$fdir" >&5
16253 echo "$as_me: error: cannot create directory $dirpart/$fdir" >&2;}
16254 { (exit 1); exit 1; }; }; }
16256 # echo "creating $dirpart/$file"
16257 echo '# dummy' > "$dirpart/$file"
16261 gen-classlist
) chmod 755 lib
/gen-classlist.sh
;;
16262 copy-vmresources
) chmod 755 lib
/copy-vmresources.sh
;;
16267 cat >>$CONFIG_STATUS <<\_ACEOF
16269 { (exit 0); exit 0; }
16271 chmod +x
$CONFIG_STATUS
16272 ac_clean_files
=$ac_clean_files_save
16275 # configure is writing to config.log, and then calls config.status.
16276 # config.status does its own redirection, appending to config.log.
16277 # Unfortunately, on DOS this fails, as config.log is still kept open
16278 # by configure, so config.status won't be able to write to it; its
16279 # output is simply discarded. So we exec the FD to /dev/null,
16280 # effectively closing config.log, so it can be properly (re)opened and
16281 # appended to by config.status. When coming back to configure, we
16282 # need to make the FD available again.
16283 if test "$no_create" != yes; then
16285 ac_config_status_args
=
16286 test "$silent" = yes &&
16287 ac_config_status_args
="$ac_config_status_args --quiet"
16289 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success
=false
16291 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
16292 # would make configure fail if this is the last instruction.
16293 $ac_cs_success ||
{ (exit 1); exit 1; }