2 # Guess values for system-dependent variables and create Makefiles.
3 # Generated by GNU Autoconf 2.59 for GNU Classpath 0.17+cvs.
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.17+cvs'
273 PACKAGE_STRING
='GNU Classpath 0.17+cvs'
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 CREATE_GTK_PEER_LIBRARIES_TRUE CREATE_GTK_PEER_LIBRARIES_FALSE GTK_CAIRO_ENABLED GTK_CAIRO_TRUE GTK_CAIRO_FALSE CREATE_JNI_HEADERS_TRUE CREATE_JNI_HEADERS_FALSE LN_S 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 RANLIB ac_ct_RANLIB LIBTOOL CPP EGREP 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 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 SH 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
778 # Report the --help message.
780 if test "$ac_init_help" = "long"; then
781 # Omit some internal or obsolete options to make the list less imposing.
782 # This message is too long to be a string in the A/UX 3.1 sh.
784 \`configure' configures GNU Classpath 0.17+cvs to adapt to many kinds of systems.
786 Usage: $0 [OPTION]... [VAR=VALUE]...
788 To assign environment variables (e.g., CC, CFLAGS...), specify them as
789 VAR=VALUE. See below for descriptions of some of the useful variables.
791 Defaults for the options are specified in brackets.
794 -h, --help display this help and exit
795 --help=short display options specific to this package
796 --help=recursive display the short help of all the included packages
797 -V, --version display version information and exit
798 -q, --quiet, --silent do not print \`checking...' messages
799 --cache-file=FILE cache test results in FILE [disabled]
800 -C, --config-cache alias for \`--cache-file=config.cache'
801 -n, --no-create do not create output files
802 --srcdir=DIR find the sources in DIR [configure dir or \`..']
807 Installation directories:
808 --prefix=PREFIX install architecture-independent files in PREFIX
810 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
813 By default, \`make install' will install all the files in
814 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
815 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
816 for instance \`--prefix=\$HOME'.
818 For better control, use the options below.
820 Fine tuning of the installation directories:
821 --bindir=DIR user executables [EPREFIX/bin]
822 --sbindir=DIR system admin executables [EPREFIX/sbin]
823 --libexecdir=DIR program executables [EPREFIX/libexec]
824 --datadir=DIR read-only architecture-independent data [PREFIX/share]
825 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
826 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
827 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
828 --libdir=DIR object code libraries [EPREFIX/lib]
829 --includedir=DIR C header files [PREFIX/include]
830 --oldincludedir=DIR C header files for non-gcc [/usr/include]
831 --infodir=DIR info documentation [PREFIX/info]
832 --mandir=DIR man documentation [PREFIX/man]
838 --program-prefix=PREFIX prepend PREFIX to installed program names
839 --program-suffix=SUFFIX append SUFFIX to installed program names
840 --program-transform-name=PROGRAM run
sed PROGRAM on installed program names
843 --x-includes=DIR X include files are
in DIR
844 --x-libraries=DIR X library files are
in DIR
847 --build=BUILD configure
for building on BUILD
[guessed
]
848 --host=HOST cross-compile to build programs to run on HOST
[BUILD
]
849 --target=TARGET configure
for building compilers
for TARGET
[HOST
]
853 if test -n "$ac_init_help"; then
854 case $ac_init_help in
855 short | recursive
) echo "Configuration of GNU Classpath 0.17+cvs:";;
860 --disable-FEATURE do not include FEATURE
(same as
--enable-FEATURE=no
)
861 --enable-FEATURE[=ARG
] include FEATURE
[ARG
=yes]
862 --enable-jni compile JNI
source default
=yes
863 --enable-core-jni compile JNI sources
for core default
=yes
864 --disable-Werror whether to compile C code with
-Werror which turns
865 any compiler warning into a compilation failure
867 --enable-default-toolkit
868 fully qualified class name of default AWT toolkit
869 --enable-xmlj compile native libxml
/xslt library default
=no
870 --disable-gtk-peer compile GTK native peers
(disabled by
--disable-jni)
873 --enable-gtk-cairo build the cairo Graphics2D implementation on GTK
875 --enable-regen-headers automatically regenerate JNI headers default
=no
876 --enable-static=PKGS build static libraries default
=no
877 --enable-shared=PKGS build shared libraries default
=yes
878 --enable-fast-install=PKGS optimize
for fast installation default
=yes
879 --disable-dependency-tracking speeds up one-time build
880 --enable-dependency-tracking do not reject slow dependency extractors
881 --disable-libtool-lock avoid locking
(might
break parallel builds
)
882 --disable-rpath do not hardcode runtime library paths
883 --enable-maintainer-mode enable make rules and dependencies not useful
884 (and sometimes confusing
) to the casual installer
885 --enable-debug enable runtime debugging code
886 --enable-load-library enable to use JNI native methods default
=yes
887 --enable-java-lang-system-explicit-initialization
888 will the VM explicitly invoke java.lang.System
's
889 static initialization methods default=no
890 --enable-examples enable build of the examples default=yes
891 --enable-portable-native-sync
892 synchronize VM threads portably
895 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
896 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
897 --with-gnu-ld assume the C compiler uses GNU ld default=no
898 --with-pic try to use only PIC/non-PIC objects default=use both
899 --with-libiconv-prefix[=DIR] search for libiconv in DIR/include and DIR/lib
900 --without-libiconv-prefix don't search
for libiconv
in includedir and libdir
901 --with-x use the X Window System
902 --with-javah specify path or name of a javah-like program
903 --with-gcj bytecode compilation with gcj
904 --with-jikes bytecode compilation with jikes
905 --with-kjc bytecode compilation with kjc
906 --with-gcjx bytecode compilation with gcjx
907 --with-ecj bytecode compilation with ecj
908 --with-classpath specify path to a classes.
zip like
file
909 --with-vm-classes specify path to VM override
source files
910 --with-glibj define what to
install (zip|flat|both|none|build
)
912 --with-gjdoc generate documentation using gjdoc
(default is NO
)
913 --with-jay Regenerate the parsers with jay must be given the
914 path to the jay executable
916 Some influential environment variables
:
917 CC C compiler
command
918 CFLAGS C compiler flags
919 LDFLAGS linker flags
, e.g.
-L<lib dir
> if you have libraries
in a
920 nonstandard directory
<lib dir
>
921 CPPFLAGS C
/C
++ preprocessor flags
, e.g.
-I<include dir
> if you have
922 headers
in a nonstandard directory
<include dir
>
925 Use these variables to override the choices made by
`configure' or to help
926 it to find libraries and programs with nonstandard names/locations.
928 Report bugs to <classpath@gnu.org>.
932 if test "$ac_init_help" = "recursive"; then
933 # If there are subdirs, report their specific --help.
935 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
936 test -d $ac_dir || continue
939 if test "$ac_dir" != .; then
940 ac_dir_suffix=/`echo "$ac_dir" |
sed 's,^\.[\\/],,'`
941 # A "../" for each directory in $ac_dir_suffix.
942 ac_top_builddir=`echo "$ac_dir_suffix" |
sed 's,/[^\\/]*,../,g'`
944 ac_dir_suffix= ac_top_builddir=
948 .) # No --srcdir option. We are building in place.
950 if test -z "$ac_top_builddir"; then
953 ac_top_srcdir=`echo $ac_top_builddir |
sed 's,/$,,'`
955 [\\/]* | ?:[\\/]* ) # Absolute path.
956 ac_srcdir=$srcdir$ac_dir_suffix;
957 ac_top_srcdir=$srcdir ;;
959 ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
960 ac_top_srcdir=$ac_top_builddir$srcdir ;;
963 # Do not use `cd foo
&& pwd` to compute absolute paths, because
964 # the directories may not exist.
966 .) ac_abs_builddir="$ac_dir";;
969 .) ac_abs_builddir=`pwd`;;
970 [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";;
971 *) ac_abs_builddir=`pwd`/"$ac_dir";;
974 case $ac_abs_builddir in
975 .) ac_abs_top_builddir=${ac_top_builddir}.;;
977 case ${ac_top_builddir}. in
978 .) ac_abs_top_builddir=$ac_abs_builddir;;
979 [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;;
980 *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;;
983 case $ac_abs_builddir in
984 .) ac_abs_srcdir=$ac_srcdir;;
987 .) ac_abs_srcdir=$ac_abs_builddir;;
988 [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
989 *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;;
992 case $ac_abs_builddir in
993 .) ac_abs_top_srcdir=$ac_top_srcdir;;
995 case $ac_top_srcdir in
996 .) ac_abs_top_srcdir=$ac_abs_builddir;;
997 [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;;
998 *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;;
1003 # Check for guested configure; otherwise get Cygnus style configure.
1004 if test -f $ac_srcdir/configure.gnu; then
1006 $SHELL $ac_srcdir/configure.gnu --help=recursive
1007 elif test -f $ac_srcdir/configure; then
1009 $SHELL $ac_srcdir/configure --help=recursive
1010 elif test -f $ac_srcdir/configure.ac ||
1011 test -f $ac_srcdir/configure.in; then
1013 $ac_configure --help
1015 echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1021 test -n "$ac_init_help" && exit 0
1022 if $ac_init_version; then
1024 GNU Classpath configure 0.17+cvs
1025 generated by GNU Autoconf 2.59
1027 Copyright (C) 2003 Free Software Foundation, Inc.
1028 This configure script is free software; the Free Software Foundation
1029 gives unlimited permission to copy, distribute and modify it.
1035 This file contains any messages produced by compilers while
1036 running configure, to aid debugging if configure makes a mistake.
1038 It was created by GNU Classpath $as_me 0.17+cvs, which was
1039 generated by GNU Autoconf 2.59. Invocation command line was
1050 hostname = `(hostname || uname
-n) 2>/dev
/null |
sed 1q
`
1051 uname -m = `(uname
-m) 2>/dev
/null ||
echo unknown
`
1052 uname -r = `(uname
-r) 2>/dev
/null ||
echo unknown
`
1053 uname -s = `(uname
-s) 2>/dev
/null ||
echo unknown
`
1054 uname -v = `(uname
-v) 2>/dev
/null ||
echo unknown
`
1056 /usr/bin/uname -p = `(/usr
/bin
/uname
-p) 2>/dev
/null ||
echo unknown
`
1057 /bin/uname -X = `(/bin
/uname
-X) 2>/dev
/null ||
echo unknown
`
1059 /bin/arch = `(/bin
/arch
) 2>/dev
/null ||
echo unknown
`
1060 /usr/bin/arch -k = `(/usr
/bin
/arch
-k) 2>/dev
/null ||
echo unknown
`
1061 /usr/convex/getsysinfo = `(/usr
/convex
/getsysinfo
) 2>/dev
/null ||
echo unknown
`
1062 hostinfo = `(hostinfo
) 2>/dev
/null ||
echo unknown
`
1063 /bin/machine = `(/bin
/machine
) 2>/dev
/null ||
echo unknown
`
1064 /usr/bin/oslevel = `(/usr
/bin
/oslevel
) 2>/dev
/null ||
echo unknown
`
1065 /bin/universe = `(/bin
/universe
) 2>/dev
/null ||
echo unknown
`
1069 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1073 test -z "$as_dir" && as_dir=.
1074 echo "PATH: $as_dir"
1089 # Keep a trace of the command line.
1090 # Strip out --no-create and --no-recursion so they do not pile up.
1091 # Strip out --silent because we don't want to record it for future runs.
1092 # Also quote any args containing shell meta-characters.
1093 # Make two passes to allow for proper duplicate-argument suppression.
1098 ac_must_keep_next=false
1104 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
1105 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1106 | -silent | --silent | --silen | --sile | --sil)
1108 *" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
1109 ac_arg=`echo "$ac_arg" |
sed "s/'/'\\\\\\\\''/g"` ;;
1112 1) ac_configure_args0="$ac_configure_args0 '$ac_arg'" ;;
1114 ac_configure_args1="$ac_configure_args1 '$ac_arg'"
1115 if test $ac_must_keep_next = true; then
1116 ac_must_keep_next=false # Got value, back to normal.
1119 *=* | --config-cache | -C | -disable-* | --disable-* \
1120 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
1121 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
1122 | -with-* | --with-* | -without-* | --without-* | --x)
1123 case "$ac_configure_args0 " in
1124 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
1127 -* ) ac_must_keep_next=true ;;
1130 ac_configure_args="$ac_configure_args$ac_sep'$ac_arg'"
1131 # Get rid of the leading space.
1137 $as_unset ac_configure_args0 || test "${ac_configure_args0+set}" != set || { ac_configure_args0=; export ac_configure_args0; }
1138 $as_unset ac_configure_args1 || test "${ac_configure_args1+set}" != set || { ac_configure_args1=; export ac_configure_args1; }
1140 # When interrupted or exit'd, cleanup temporary files, and complete
1141 # config.log. We remove comments because anyway the quotes in there
1142 # would cause problems or look ugly.
1143 # WARNING: Be sure not to use single quotes in there, as some shells,
1144 # such as our DU 5.0 friend, will then `close
' the trap.
1145 trap 'exit_status
=$?
1146 # Save into config.log some information that might help in debugging.
1151 ## ---------------- ##
1152 ## Cache variables. ##
1153 ## ---------------- ##
1156 # The following way of writing the cache mishandles newlines in values,
1159 case `(ac_space='"'"' '"'"'; set | grep ac_space) 2>&1` in
1162 "s/'"'"'/'"'"'\\\\'"'"''"'"'/g;
1163 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='"'"'\\2'"'"'/p"
1167 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
1174 ## ----------------- ##
1175 ## Output variables. ##
1176 ## ----------------- ##
1179 for ac_var
in $ac_subst_vars
1181 eval ac_val
=$
`echo $ac_var`
1182 echo "$ac_var='"'"'$ac_val'"'"'"
1186 if test -n "$ac_subst_files"; then
1193 for ac_var
in $ac_subst_files
1195 eval ac_val
=$
`echo $ac_var`
1196 echo "$ac_var='"'"'$ac_val'"'"'"
1201 if test -s confdefs.h
; then
1208 sed "/^$/d" confdefs.h |
sort
1211 test "$ac_signal" != 0 &&
1212 echo "$as_me: caught signal $ac_signal"
1213 echo "$as_me: exit $exit_status"
1215 rm -f core
*.core
&&
1216 rm -rf conftest
* confdefs
* conf$$
* $ac_clean_files &&
1219 for ac_signal in 1 2 13 15; do
1220 trap 'ac_signal
='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
1224 # confdefs.h avoids OS command line length limits that DEFS can exceed.
1225 rm -rf conftest* confdefs.h
1226 # AIX cpp loses on an empty file, so make sure it contains at least a newline.
1229 # Predefined preprocessor variables.
1231 cat >>confdefs.h <<_ACEOF
1232 #define PACKAGE_NAME "$PACKAGE_NAME"
1236 cat >>confdefs.h <<_ACEOF
1237 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
1241 cat >>confdefs.h <<_ACEOF
1242 #define PACKAGE_VERSION "$PACKAGE_VERSION"
1246 cat >>confdefs.h <<_ACEOF
1247 #define PACKAGE_STRING "$PACKAGE_STRING"
1251 cat >>confdefs.h <<_ACEOF
1252 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
1256 # Let the site file select an alternate cache file if it wants to.
1257 # Prefer explicitly selected file to automatically selected ones.
1258 if test -z "$CONFIG_SITE"; then
1259 if test "x$prefix" != xNONE; then
1260 CONFIG_SITE="$prefix/share/config.site $prefix/etc/config.site"
1262 CONFIG_SITE="$ac_default_prefix/share/config.site $ac_default_prefix/etc/config.site"
1265 for ac_site_file in $CONFIG_SITE; do
1266 if test -r "$ac_site_file"; then
1267 { echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
1268 echo "$as_me: loading site script $ac_site_file" >&6;}
1269 sed 's
/^
/|
/' "$ac_site_file" >&5
1274 if test -r "$cache_file"; then
1275 # Some versions of bash will fail to source /dev/null (special
1276 # files actually), so we avoid doing that.
1277 if test -f "$cache_file"; then
1278 { echo "$as_me:$LINENO: loading cache $cache_file" >&5
1279 echo "$as_me: loading cache $cache_file" >&6;}
1281 [\\/]* | ?:[\\/]* ) . $cache_file;;
1282 *) . ./$cache_file;;
1286 { echo "$as_me:$LINENO: creating cache $cache_file" >&5
1287 echo "$as_me: creating cache $cache_file" >&6;}
1291 # Check that the precious variables saved in the cache have kept the same
1293 ac_cache_corrupted=false
1294 for ac_var in `(set) 2>&1 |
1295 sed -n 's
/^ac_env_\
([a-zA-Z_0-9
]*\
)_set
=.
*/\
1/p
'`; do
1296 eval ac_old_set=\$ac_cv_env_${ac_var}_set
1297 eval ac_new_set=\$ac_env_${ac_var}_set
1298 eval ac_old_val="\$ac_cv_env_${ac_var}_value"
1299 eval ac_new_val="\$ac_env_${ac_var}_value"
1300 case $ac_old_set,$ac_new_set in
1302 { echo "$as_me:$LINENO: error: \`$ac_var' was
set to \
`$ac_old_val' in the previous run" >&5
1303 echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run
" >&2;}
1304 ac_cache_corrupted=: ;;
1306 { echo "$as_me:$LINENO: error
: \
`$ac_var' was not set in the previous run" >&5
1307 echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
1308 ac_cache_corrupted=: ;;
1311 if test "x$ac_old_val" != "x$ac_new_val"; then
1312 { echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run
:" >&5
1313 echo "$as_me: error
: \
`$ac_var' has changed since the previous run:" >&2;}
1314 { echo "$as_me:$LINENO: former value: $ac_old_val" >&5
1315 echo "$as_me: former value: $ac_old_val" >&2;}
1316 { echo "$as_me:$LINENO: current value: $ac_new_val" >&5
1317 echo "$as_me: current value: $ac_new_val" >&2;}
1318 ac_cache_corrupted=:
1321 # Pass precious variables to config.status.
1322 if test "$ac_new_set" = set; then
1324 *" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
1325 ac_arg=$ac_var=`echo "$ac_new_val" |
sed "s/'/'\\\\\\\\''/g"` ;;
1326 *) ac_arg=$ac_var=$ac_new_val ;;
1328 case " $ac_configure_args " in
1329 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
1330 *) ac_configure_args="$ac_configure_args '$ac_arg'" ;;
1334 if $ac_cache_corrupted; then
1335 { echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5
1336 echo "$as_me: error: changes in the environment can compromise the build" >&2;}
1337 { { echo "$as_me:$LINENO: error: run \`make distclean
' and/or \`rm $cache_file' and start over
" >&5
1338 echo "$as_me: error
: run \
`make distclean' and/or \`rm $cache_file' and start over" >&2;}
1339 { (exit 1); exit 1; }; }
1343 ac_cpp='$CPP $CPPFLAGS'
1344 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
1345 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
1346 ac_compiler_gnu=$ac_cv_c_compiler_gnu
1377 for ac_dir in $srcdir $srcdir/.. $srcdir/../..; do
1378 if test -f $ac_dir/install-sh; then
1380 ac_install_sh="$ac_aux_dir/install-sh -c"
1382 elif test -f $ac_dir/install.sh; then
1384 ac_install_sh="$ac_aux_dir/install.sh -c"
1386 elif test -f $ac_dir/shtool; then
1388 ac_install_sh="$ac_aux_dir/shtool install -c"
1392 if test -z "$ac_aux_dir"; then
1393 { { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." >&5
1394 echo "$as_me: error: cannot find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." >&2;}
1395 { (exit 1); exit 1; }; }
1397 ac_config_guess="$SHELL $ac_aux_dir/config.guess"
1398 ac_config_sub="$SHELL $ac_aux_dir/config.sub"
1399 ac_configure="$SHELL $ac_aux_dir/configure" # This should be Cygnus configure.
1401 # Make sure we can run config.sub.
1402 $ac_config_sub sun4 >/dev/null 2>&1 ||
1403 { { echo "$as_me:$LINENO: error: cannot run $ac_config_sub" >&5
1404 echo "$as_me: error: cannot run $ac_config_sub" >&2;}
1405 { (exit 1); exit 1; }; }
1407 echo "$as_me:$LINENO: checking build system type" >&5
1408 echo $ECHO_N "checking build system type... $ECHO_C" >&6
1409 if test "${ac_cv_build+set}" = set; then
1410 echo $ECHO_N "(cached) $ECHO_C" >&6
1412 ac_cv_build_alias=$build_alias
1413 test -z "$ac_cv_build_alias" &&
1414 ac_cv_build_alias=`$ac_config_guess`
1415 test -z "$ac_cv_build_alias" &&
1416 { { echo "$as_me:$LINENO: error: cannot guess build type; you must specify one" >&5
1417 echo "$as_me: error: cannot guess build type; you must specify one" >&2;}
1418 { (exit 1); exit 1; }; }
1419 ac_cv_build=`$ac_config_sub $ac_cv_build_alias` ||
1420 { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_build_alias failed" >&5
1421 echo "$as_me: error: $ac_config_sub $ac_cv_build_alias failed" >&2;}
1422 { (exit 1); exit 1; }; }
1425 echo "$as_me:$LINENO: result: $ac_cv_build" >&5
1426 echo "${ECHO_T}$ac_cv_build" >&6
1428 build_cpu=`echo $ac_cv_build | sed 's
/^\
([^
-]*\
)-\
([^
-]*\
)-\
(.
*\
)$
/\
1/'`
1429 build_vendor=`echo $ac_cv_build | sed 's
/^\
([^
-]*\
)-\
([^
-]*\
)-\
(.
*\
)$
/\
2/'`
1430 build_os=`echo $ac_cv_build | sed 's
/^\
([^
-]*\
)-\
([^
-]*\
)-\
(.
*\
)$
/\
3/'`
1433 echo "$as_me:$LINENO: checking host system type" >&5
1434 echo $ECHO_N "checking host system type... $ECHO_C" >&6
1435 if test "${ac_cv_host+set}" = set; then
1436 echo $ECHO_N "(cached) $ECHO_C" >&6
1438 ac_cv_host_alias=$host_alias
1439 test -z "$ac_cv_host_alias" &&
1440 ac_cv_host_alias=$ac_cv_build_alias
1441 ac_cv_host=`$ac_config_sub $ac_cv_host_alias` ||
1442 { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_host_alias failed" >&5
1443 echo "$as_me: error: $ac_config_sub $ac_cv_host_alias failed" >&2;}
1444 { (exit 1); exit 1; }; }
1447 echo "$as_me:$LINENO: result: $ac_cv_host" >&5
1448 echo "${ECHO_T}$ac_cv_host" >&6
1450 host_cpu=`echo $ac_cv_host | sed 's
/^\
([^
-]*\
)-\
([^
-]*\
)-\
(.
*\
)$
/\
1/'`
1451 host_vendor=`echo $ac_cv_host | sed 's
/^\
([^
-]*\
)-\
([^
-]*\
)-\
(.
*\
)$
/\
2/'`
1452 host_os=`echo $ac_cv_host | sed 's
/^\
([^
-]*\
)-\
([^
-]*\
)-\
(.
*\
)$
/\
3/'`
1455 echo "$as_me:$LINENO: checking target system type" >&5
1456 echo $ECHO_N "checking target system type... $ECHO_C" >&6
1457 if test "${ac_cv_target+set}" = set; then
1458 echo $ECHO_N "(cached) $ECHO_C" >&6
1460 ac_cv_target_alias=$target_alias
1461 test "x$ac_cv_target_alias" = "x" &&
1462 ac_cv_target_alias=$ac_cv_host_alias
1463 ac_cv_target=`$ac_config_sub $ac_cv_target_alias` ||
1464 { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_target_alias failed" >&5
1465 echo "$as_me: error: $ac_config_sub $ac_cv_target_alias failed" >&2;}
1466 { (exit 1); exit 1; }; }
1469 echo "$as_me:$LINENO: result: $ac_cv_target" >&5
1470 echo "${ECHO_T}$ac_cv_target" >&6
1471 target=$ac_cv_target
1472 target_cpu=`echo $ac_cv_target | sed 's
/^\
([^
-]*\
)-\
([^
-]*\
)-\
(.
*\
)$
/\
1/'`
1473 target_vendor=`echo $ac_cv_target | sed 's
/^\
([^
-]*\
)-\
([^
-]*\
)-\
(.
*\
)$
/\
2/'`
1474 target_os=`echo $ac_cv_target | sed 's
/^\
([^
-]*\
)-\
([^
-]*\
)-\
(.
*\
)$
/\
3/'`
1477 # The aliases save the names the user supplied, while $host etc.
1478 # will get canonicalized.
1479 test -n "$target_alias" &&
1480 test "$program_prefix$program_suffix$program_transform_name" = \
1482 program_prefix=${target_alias}-
1484 if expr ${target_cpu} : '.
*86' > /dev/null; then target_cpu=x86; fi
1488 CLASSPATH_MODULE="-module -version-info ${LIBVERSION} -no-undefined"
1492 am__api_version="1.9"
1493 # Find a good install program. We prefer a C program (faster),
1494 # so one script is as good as another. But avoid the broken or
1495 # incompatible versions:
1496 # SysV /etc/install, /usr/sbin/install
1497 # SunOS /usr/etc/install
1498 # IRIX /sbin/install
1500 # AmigaOS /C/install, which installs bootblocks on floppy discs
1501 # AIX 4 /usr/bin/installbsd, which doesn't work without a
-g flag
1502 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
1503 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
1504 # OS/2's system install, which has a completely different semantic
1505 # ./install, which can be erroneously created by make from ./install.sh.
1506 echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
1507 echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6
1508 if test -z "$INSTALL"; then
1509 if test "${ac_cv_path_install+set}" = set; then
1510 echo $ECHO_N "(cached) $ECHO_C" >&6
1512 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
1516 test -z "$as_dir" && as_dir
=.
1517 # Account for people who put trailing slashes in PATH elements.
1519 .
/ | .
// |
/cC
/* | \
1520 /etc
/* |
/usr
/sbin
/* |
/usr
/etc
/* |
/sbin
/* |
/usr
/afsws
/bin
/* | \
1521 ?
:\\/os2
\\/install\\/* | ?
:\\/OS2
\\/INSTALL
\\/* | \
1524 # OSF1 and SCO ODT 3.0 have their own names for install.
1525 # Don't use installbsd from OSF since it installs stuff as root
1527 for ac_prog
in ginstall scoinst
install; do
1528 for ac_exec_ext
in '' $ac_executable_extensions; do
1529 if $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
1530 if test $ac_prog = install &&
1531 grep dspmsg
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
1532 # AIX install. It has an incompatible calling convention.
1534 elif test $ac_prog = install &&
1535 grep pwplus
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
1536 # program-specific install script used by HP pwplus--don't use.
1539 ac_cv_path_install
="$as_dir/$ac_prog$ac_exec_ext -c"
1551 if test "${ac_cv_path_install+set}" = set; then
1552 INSTALL
=$ac_cv_path_install
1554 # As a last resort, use the slow shell script. We don't cache a
1555 # path for INSTALL within a source directory, because that will
1556 # break other packages using the cache if that directory is
1557 # removed, or if the path is relative.
1558 INSTALL
=$ac_install_sh
1561 echo "$as_me:$LINENO: result: $INSTALL" >&5
1562 echo "${ECHO_T}$INSTALL" >&6
1564 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
1565 # It thinks the first close brace ends the variable substitution.
1566 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM
='${INSTALL}'
1568 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT
='${INSTALL}'
1570 test -z "$INSTALL_DATA" && INSTALL_DATA
='${INSTALL} -m 644'
1572 echo "$as_me:$LINENO: checking whether build environment is sane" >&5
1573 echo $ECHO_N "checking whether build environment is sane... $ECHO_C" >&6
1576 echo timestamp
> conftest.
file
1577 # Do `set' in a subshell so we don't clobber the current shell's
1578 # arguments. Must try -L first in case configure is actually a
1579 # symlink; some systems play weird games with the mod time of symlinks
1580 # (eg FreeBSD returns the mod time of the symlink's containing
1583 set X
`ls -Lt $srcdir/configure conftest.file 2> /dev/null`
1584 if test "$*" = "X"; then
1586 set X
`ls -t $srcdir/configure conftest.file`
1589 if test "$*" != "X $srcdir/configure conftest.file" \
1590 && test "$*" != "X conftest.file $srcdir/configure"; then
1592 # If neither matched, then we have a broken ls. This can happen
1593 # if, for instance, CONFIG_SHELL is bash and it inherits a
1594 # broken ls alias from the environment. This has actually
1595 # happened. Such a system could not be considered "sane".
1596 { { echo "$as_me:$LINENO: error: ls -t appears to fail. Make sure there is not a broken
1597 alias in your environment" >&5
1598 echo "$as_me: error: ls -t appears to fail. Make sure there is not a broken
1599 alias in your environment" >&2;}
1600 { (exit 1); exit 1; }; }
1603 test "$2" = conftest.
file
1609 { { echo "$as_me:$LINENO: error: newly created file is older than distributed files!
1610 Check your system clock" >&5
1611 echo "$as_me: error: newly created file is older than distributed files!
1612 Check your system clock" >&2;}
1613 { (exit 1); exit 1; }; }
1615 echo "$as_me:$LINENO: result: yes" >&5
1616 echo "${ECHO_T}yes" >&6
1617 test "$program_prefix" != NONE
&&
1618 program_transform_name
="s,^,$program_prefix,;$program_transform_name"
1619 # Use a double $ so make ignores it.
1620 test "$program_suffix" != NONE
&&
1621 program_transform_name
="s,\$,$program_suffix,;$program_transform_name"
1622 # Double any \ or $. echo might interpret backslashes.
1623 # By default was `s,x,x', remove it if useless.
1624 cat <<\_ACEOF
>conftest.
sed
1625 s
/[\\$
]/&&/g
;s
/;s
,x
,x
,$
//
1627 program_transform_name
=`echo $program_transform_name | sed -f conftest.sed`
1630 # expand $ac_aux_dir to an absolute path
1631 am_aux_dir
=`cd $ac_aux_dir && pwd`
1633 test x
"${MISSING+set}" = xset || MISSING
="\${SHELL} $am_aux_dir/missing"
1634 # Use eval to expand $SHELL
1635 if eval "$MISSING --run true"; then
1636 am_missing_run
="$MISSING --run "
1639 { echo "$as_me:$LINENO: WARNING: \`missing' script is too old or missing" >&5
1640 echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;}
1643 if mkdir
-p --version .
>/dev
/null
2>&1 && test ! -d .
/--version; then
1644 # We used to keeping the `.' as first argument, in order to
1645 # allow $(mkdir_p) to be used without argument. As in
1646 # $(mkdir_p) $(somedir)
1647 # where $(somedir) is conditionally defined. However this is wrong
1649 # 1. if the package is installed by a user who cannot write `.'
1650 # make install will fail,
1651 # 2. the above comment should most certainly read
1652 # $(mkdir_p) $(DESTDIR)$(somedir)
1653 # so it does not work when $(somedir) is undefined and
1654 # $(DESTDIR) is not.
1655 # To support the latter case, we have to write
1656 # test -z "$(somedir)" || $(mkdir_p) $(DESTDIR)$(somedir),
1657 # so the `.' trick is pointless.
1658 mkdir_p
='mkdir -p --'
1660 # On NextStep and OpenStep, the `mkdir' command does not
1661 # recognize any option. It will interpret all options as
1662 # directories to create, and then abort because `.' already
1664 for d
in .
/-p .
/--version;
1666 test -d $d && rmdir $d
1668 # $(mkinstalldirs) is defined by Automake if mkinstalldirs exists.
1669 if test -f "$ac_aux_dir/mkinstalldirs"; then
1670 mkdir_p
='$(mkinstalldirs)'
1672 mkdir_p
='$(install_sh) -d'
1676 for ac_prog
in gawk mawk nawk
awk
1678 # Extract the first word of "$ac_prog", so it can be a program name with args.
1679 set dummy
$ac_prog; ac_word
=$2
1680 echo "$as_me:$LINENO: checking for $ac_word" >&5
1681 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1682 if test "${ac_cv_prog_AWK+set}" = set; then
1683 echo $ECHO_N "(cached) $ECHO_C" >&6
1685 if test -n "$AWK"; then
1686 ac_cv_prog_AWK
="$AWK" # Let the user override the test.
1688 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
1692 test -z "$as_dir" && as_dir
=.
1693 for ac_exec_ext
in '' $ac_executable_extensions; do
1694 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1695 ac_cv_prog_AWK
="$ac_prog"
1696 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1705 if test -n "$AWK"; then
1706 echo "$as_me:$LINENO: result: $AWK" >&5
1707 echo "${ECHO_T}$AWK" >&6
1709 echo "$as_me:$LINENO: result: no" >&5
1710 echo "${ECHO_T}no" >&6
1713 test -n "$AWK" && break
1716 echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
1717 echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6
1718 set dummy
${MAKE-make}; ac_make
=`echo "$2" | sed 'y,:./+-,___p_,'`
1719 if eval "test \"\${ac_cv_prog_make_${ac_make}_set+set}\" = set"; then
1720 echo $ECHO_N "(cached) $ECHO_C" >&6
1722 cat >conftest.
make <<\_ACEOF
1724 @
echo 'ac_maketemp="$(MAKE)"'
1726 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
1727 eval `${MAKE-make} -f conftest.make 2>/dev/null | grep temp=`
1728 if test -n "$ac_maketemp"; then
1729 eval ac_cv_prog_make_
${ac_make}_set
=yes
1731 eval ac_cv_prog_make_
${ac_make}_set
=no
1735 if eval "test \"`echo '$ac_cv_prog_make_'${ac_make}_set`\" = yes"; then
1736 echo "$as_me:$LINENO: result: yes" >&5
1737 echo "${ECHO_T}yes" >&6
1740 echo "$as_me:$LINENO: result: no" >&5
1741 echo "${ECHO_T}no" >&6
1742 SET_MAKE
="MAKE=${MAKE-make}"
1745 rm -rf .tst
2>/dev
/null
1746 mkdir .tst
2>/dev
/null
1747 if test -d .tst
; then
1752 rmdir .tst
2>/dev
/null
1754 # test to see if srcdir already configured
1755 if test "`cd $srcdir && pwd`" != "`pwd`" &&
1756 test -f $srcdir/config.status
; then
1757 { { echo "$as_me:$LINENO: error: source directory already configured; run \"make distclean\" there first" >&5
1758 echo "$as_me: error: source directory already configured; run \"make distclean\" there first" >&2;}
1759 { (exit 1); exit 1; }; }
1762 # test whether we have cygpath
1763 if test -z "$CYGPATH_W"; then
1764 if (cygpath
--version) >/dev
/null
2>/dev
/null
; then
1765 CYGPATH_W
='cygpath -w'
1772 # Define the identity of the package.
1777 cat >>confdefs.h
<<_ACEOF
1778 #define PACKAGE "$PACKAGE"
1782 cat >>confdefs.h
<<_ACEOF
1783 #define VERSION "$VERSION"
1786 # Some tools Automake needs.
1788 ACLOCAL
=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
1791 AUTOCONF
=${AUTOCONF-"${am_missing_run}autoconf"}
1794 AUTOMAKE
=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
1797 AUTOHEADER
=${AUTOHEADER-"${am_missing_run}autoheader"}
1800 MAKEINFO
=${MAKEINFO-"${am_missing_run}makeinfo"}
1802 install_sh
=${install_sh-"$am_aux_dir/install-sh"}
1804 # Installed binaries are usually stripped using `strip' when the user
1805 # run `make install-strip'. However `strip' might not be the right
1806 # tool to use in cross-compilation environments, therefore Automake
1807 # will honor the `STRIP' environment variable to overrule this program.
1808 if test "$cross_compiling" != no
; then
1809 if test -n "$ac_tool_prefix"; then
1810 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
1811 set dummy
${ac_tool_prefix}strip
; ac_word
=$2
1812 echo "$as_me:$LINENO: checking for $ac_word" >&5
1813 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1814 if test "${ac_cv_prog_STRIP+set}" = set; then
1815 echo $ECHO_N "(cached) $ECHO_C" >&6
1817 if test -n "$STRIP"; then
1818 ac_cv_prog_STRIP
="$STRIP" # Let the user override the test.
1820 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
1824 test -z "$as_dir" && as_dir
=.
1825 for ac_exec_ext
in '' $ac_executable_extensions; do
1826 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1827 ac_cv_prog_STRIP
="${ac_tool_prefix}strip"
1828 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1836 STRIP
=$ac_cv_prog_STRIP
1837 if test -n "$STRIP"; then
1838 echo "$as_me:$LINENO: result: $STRIP" >&5
1839 echo "${ECHO_T}$STRIP" >&6
1841 echo "$as_me:$LINENO: result: no" >&5
1842 echo "${ECHO_T}no" >&6
1846 if test -z "$ac_cv_prog_STRIP"; then
1848 # Extract the first word of "strip", so it can be a program name with args.
1849 set dummy strip
; ac_word
=$2
1850 echo "$as_me:$LINENO: checking for $ac_word" >&5
1851 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1852 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
1853 echo $ECHO_N "(cached) $ECHO_C" >&6
1855 if test -n "$ac_ct_STRIP"; then
1856 ac_cv_prog_ac_ct_STRIP
="$ac_ct_STRIP" # Let the user override the test.
1858 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
1862 test -z "$as_dir" && as_dir
=.
1863 for ac_exec_ext
in '' $ac_executable_extensions; do
1864 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1865 ac_cv_prog_ac_ct_STRIP
="strip"
1866 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1872 test -z "$ac_cv_prog_ac_ct_STRIP" && ac_cv_prog_ac_ct_STRIP
=":"
1875 ac_ct_STRIP
=$ac_cv_prog_ac_ct_STRIP
1876 if test -n "$ac_ct_STRIP"; then
1877 echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
1878 echo "${ECHO_T}$ac_ct_STRIP" >&6
1880 echo "$as_me:$LINENO: result: no" >&5
1881 echo "${ECHO_T}no" >&6
1886 STRIP
="$ac_cv_prog_STRIP"
1890 INSTALL_STRIP_PROGRAM
="\${SHELL} \$(install_sh) -c -s"
1892 # We need awk for the "check" target. The system "awk" is bad on
1894 # Always define AMTAR for backward compatibility.
1896 AMTAR
=${AMTAR-"${am_missing_run}tar"}
1899 echo "$as_me:$LINENO: checking how to create a ustar tar archive" >&5
1900 echo $ECHO_N "checking how to create a ustar tar archive... $ECHO_C" >&6
1901 # Loop over all known methods to create a tar archive until one works.
1902 _am_tools
='gnutar plaintar pax cpio none'
1903 _am_tools
=${am_cv_prog_tar_ustar-$_am_tools}
1904 # Do not fold the above two line into one, because Tru64 sh and
1905 # Solaris sh will not grok spaces in the rhs of `-'.
1906 for _am_tool
in $_am_tools
1910 for _am_tar
in tar gnutar gtar
;
1912 { echo "$as_me:$LINENO: $_am_tar --version" >&5
1913 ($_am_tar --version) >&5 2>&5
1915 echo "$as_me:$LINENO: \$? = $ac_status" >&5
1916 (exit $ac_status); } && break
1918 am__tar
="$_am_tar --format=ustar -chf - "'"$$tardir"'
1919 am__tar_
="$_am_tar --format=ustar -chf - "'"$tardir"'
1920 am__untar
="$_am_tar -xf -"
1923 # Must skip GNU tar: if it does not support --format= it doesn't create
1924 # ustar tarball either.
1925 (tar --version) >/dev
/null
2>&1 && continue
1926 am__tar
='tar chf - "$$tardir"'
1927 am__tar_
='tar chf - "$tardir"'
1928 am__untar
='tar xf -'
1931 am__tar
='pax -L -x ustar -w "$$tardir"'
1932 am__tar_
='pax -L -x ustar -w "$tardir"'
1936 am__tar
='find "$$tardir" -print | cpio -o -H ustar -L'
1937 am__tar_
='find "$tardir" -print | cpio -o -H ustar -L'
1938 am__untar
='cpio -i -H ustar -d'
1947 # If the value was cached, stop now. We just wanted to have am__tar
1948 # and am__untar set.
1949 test -n "${am_cv_prog_tar_ustar}" && break
1951 # tar/untar a dummy directory, and stop if the command works
1954 echo GrepMe
> conftest.dir
/file
1955 { echo "$as_me:$LINENO: tardir=conftest.dir && eval $am__tar_ >conftest.tar" >&5
1956 (tardir
=conftest.dir
&& eval $am__tar_ >conftest.
tar) >&5 2>&5
1958 echo "$as_me:$LINENO: \$? = $ac_status" >&5
1959 (exit $ac_status); }
1961 if test -s conftest.
tar; then
1962 { echo "$as_me:$LINENO: $am__untar <conftest.tar" >&5
1963 ($am__untar <conftest.
tar) >&5 2>&5
1965 echo "$as_me:$LINENO: \$? = $ac_status" >&5
1966 (exit $ac_status); }
1967 grep GrepMe conftest.dir
/file >/dev
/null
2>&1 && break
1972 if test "${am_cv_prog_tar_ustar+set}" = set; then
1973 echo $ECHO_N "(cached) $ECHO_C" >&6
1975 am_cv_prog_tar_ustar
=$_am_tool
1978 echo "$as_me:$LINENO: result: $am_cv_prog_tar_ustar" >&5
1979 echo "${ECHO_T}$am_cv_prog_tar_ustar" >&6
1985 ac_config_headers
="$ac_config_headers include/config.h"
1989 # Check whether --enable-jni or --disable-jni was given.
1990 if test "${enable_jni+set}" = set; then
1991 enableval
="$enable_jni"
1992 case "${enableval}" in
1993 yes) COMPILE_JNI
=yes; COMPILE_JAVA
=yes ;;
1994 no
) COMPILE_JNI
=no
;;
1995 *) COMPILE_JNI
=yes; COMPILE_JAVA
=yes ;;
2002 if test "x${COMPILE_JNI}" = xyes
; then
2003 CREATE_JNI_LIBRARIES_TRUE
=
2004 CREATE_JNI_LIBRARIES_FALSE
='#'
2006 CREATE_JNI_LIBRARIES_TRUE
='#'
2007 CREATE_JNI_LIBRARIES_FALSE
=
2011 # Check whether --enable-core-jni or --disable-core-jni was given.
2012 if test "${enable_core_jni+set}" = set; then
2013 enableval
="$enable_core_jni"
2014 case "${enableval}" in
2015 yes) COMPILE_CORE_JNI
=yes; COMPILE_JAVA
=yes ;;
2016 no
) COMPILE_CORE_JNI
=no
;;
2017 *) COMPILE_CORE_JNI
=yes; COMPILE_JAVA
=yes ;;
2020 COMPILE_CORE_JNI
=yes
2024 if test "x${COMPILE_CORE_JNI}" = xyes
; then
2025 CREATE_CORE_JNI_LIBRARIES_TRUE
=
2026 CREATE_CORE_JNI_LIBRARIES_FALSE
='#'
2028 CREATE_CORE_JNI_LIBRARIES_TRUE
='#'
2029 CREATE_CORE_JNI_LIBRARIES_FALSE
=
2033 # Check whether --enable-Werror or --disable-Werror was given.
2034 if test "${enable_Werror+set}" = set; then
2035 enableval
="$enable_Werror"
2036 case "${enableval}" in
2037 yes) ENABLE_WERROR
=yes ;;
2038 no
) ENABLE_WERROR
=no
;;
2039 *) ENABLE_WERROR
=yes ;;
2045 # Check whether --enable-default-toolkit or --disable-default-toolkit was given.
2046 if test "${enable_default_toolkit+set}" = set; then
2047 enableval
="$enable_default_toolkit"
2050 default_toolkit
=$enable_default_toolkit
2051 if test "$default_toolkit" = ""; then
2052 default_toolkit
=gnu.java.awt.peer.gtk.GtkToolkit
2056 # Check whether --enable-xmlj or --disable-xmlj was given.
2057 if test "${enable_xmlj+set}" = set; then
2058 enableval
="$enable_xmlj"
2059 case "${enableval}" in
2060 yes) COMPILE_XMLJ
=yes ;;
2061 no
) COMPILE_XMLJ
=no
;;
2062 *) COMPILE_XMLJ
=no
;;
2069 if test "x${COMPILE_XMLJ}" = xyes
; then
2070 CREATE_XMLJ_LIBRARY_TRUE
=
2071 CREATE_XMLJ_LIBRARY_FALSE
='#'
2073 CREATE_XMLJ_LIBRARY_TRUE
='#'
2074 CREATE_XMLJ_LIBRARY_FALSE
=
2078 # Check whether --enable-gtk-peer or --disable-gtk-peer was given.
2079 if test "${enable_gtk_peer+set}" = set; then
2080 enableval
="$enable_gtk_peer"
2081 case "${enableval}" in
2082 yes) COMPILE_GTK_PEER
=yes ;;
2083 no
) COMPILE_GTK_PEER
=no
;;
2084 *) COMPILE_GTK_PEER
=yes ;;
2087 COMPILE_GTK_PEER
=yes
2091 if test "x${COMPILE_GTK_PEER}" = xyes
; then
2092 CREATE_GTK_PEER_LIBRARIES_TRUE
=
2093 CREATE_GTK_PEER_LIBRARIES_FALSE
='#'
2095 CREATE_GTK_PEER_LIBRARIES_TRUE
='#'
2096 CREATE_GTK_PEER_LIBRARIES_FALSE
=
2100 # Check whether --enable-gtk-peers or --disable-gtk-peers was given.
2101 if test "${enable_gtk_peers+set}" = set; then
2102 enableval
="$enable_gtk_peers"
2103 { { echo "$as_me:$LINENO: error: No --enable-gtk-peers (or --disable-gtk-peers) option; you want --enable-gtk-peer" >&5
2104 echo "$as_me: error: No --enable-gtk-peers (or --disable-gtk-peers) option; you want --enable-gtk-peer" >&2;}
2105 { (exit 1); exit 1; }; }
2108 # Check whether --enable-gtk-cairo or --disable-gtk-cairo was given.
2109 if test "${enable_gtk_cairo+set}" = set; then
2110 enableval
="$enable_gtk_cairo"
2111 case "${enableval}" in
2112 yes) GTK_CAIRO_ENABLED
=true
;;
2113 no
) GTK_CAIRO_ENABLED
=false
;;
2114 *) GTK_CAIRO_ENABLED
=true
;;
2117 GTK_CAIRO_ENABLED
=false
2120 if test "x${GTK_CAIRO_ENABLED}" = xtrue
; then
2122 cat >>confdefs.h
<<\_ACEOF
2129 if test "x${GTK_CAIRO_ENABLED}" = xtrue
; then
2138 # Check whether --enable-regen-headers or --disable-regen-headers was given.
2139 if test "${enable_regen_headers+set}" = set; then
2140 enableval
="$enable_regen_headers"
2141 case "${enableval}" in
2142 yes) REGENERATE_JNI_HEADERS
=yes ;;
2143 no
) REGENERATE_JNI_HEADERS
=no
;;
2144 *) REGENERATE_JNI_HEADERS
=no
;;
2147 REGENERATE_JNI_HEADERS
=no
2151 if test "x${REGENERATE_JNI_HEADERS}" = xyes
; then
2152 CREATE_JNI_HEADERS_TRUE
=
2153 CREATE_JNI_HEADERS_FALSE
='#'
2155 CREATE_JNI_HEADERS_TRUE
='#'
2156 CREATE_JNI_HEADERS_FALSE
=
2160 echo "$as_me:$LINENO: checking whether ln -s works" >&5
2161 echo $ECHO_N "checking whether ln -s works... $ECHO_C" >&6
2163 if test "$LN_S" = "ln -s"; then
2164 echo "$as_me:$LINENO: result: yes" >&5
2165 echo "${ECHO_T}yes" >&6
2167 echo "$as_me:$LINENO: result: no, using $LN_S" >&5
2168 echo "${ECHO_T}no, using $LN_S" >&6
2171 # Find a good install program. We prefer a C program (faster),
2172 # so one script is as good as another. But avoid the broken or
2173 # incompatible versions:
2174 # SysV /etc/install, /usr/sbin/install
2175 # SunOS /usr/etc/install
2176 # IRIX /sbin/install
2178 # AmigaOS /C/install, which installs bootblocks on floppy discs
2179 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
2180 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
2181 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
2182 # OS/2's system install, which has a completely different semantic
2183 # ./install, which can be erroneously created by make from ./install.sh.
2184 echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
2185 echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6
2186 if test -z "$INSTALL"; then
2187 if test "${ac_cv_path_install+set}" = set; then
2188 echo $ECHO_N "(cached) $ECHO_C" >&6
2190 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2194 test -z "$as_dir" && as_dir
=.
2195 # Account for people who put trailing slashes in PATH elements.
2197 .
/ | .
// |
/cC
/* | \
2198 /etc
/* |
/usr
/sbin
/* |
/usr
/etc
/* |
/sbin
/* |
/usr
/afsws
/bin
/* | \
2199 ?
:\\/os2
\\/install\\/* | ?
:\\/OS2
\\/INSTALL
\\/* | \
2202 # OSF1 and SCO ODT 3.0 have their own names for install.
2203 # Don't use installbsd from OSF since it installs stuff as root
2205 for ac_prog
in ginstall scoinst
install; do
2206 for ac_exec_ext
in '' $ac_executable_extensions; do
2207 if $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
2208 if test $ac_prog = install &&
2209 grep dspmsg
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
2210 # AIX install. It has an incompatible calling convention.
2212 elif test $ac_prog = install &&
2213 grep pwplus
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
2214 # program-specific install script used by HP pwplus--don't use.
2217 ac_cv_path_install
="$as_dir/$ac_prog$ac_exec_ext -c"
2229 if test "${ac_cv_path_install+set}" = set; then
2230 INSTALL
=$ac_cv_path_install
2232 # As a last resort, use the slow shell script. We don't cache a
2233 # path for INSTALL within a source directory, because that will
2234 # break other packages using the cache if that directory is
2235 # removed, or if the path is relative.
2236 INSTALL
=$ac_install_sh
2239 echo "$as_me:$LINENO: result: $INSTALL" >&5
2240 echo "${ECHO_T}$INSTALL" >&6
2242 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
2243 # It thinks the first close brace ends the variable substitution.
2244 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM
='${INSTALL}'
2246 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT
='${INSTALL}'
2248 test -z "$INSTALL_DATA" && INSTALL_DATA
='${INSTALL} -m 644'
2251 # Check whether --enable-static or --disable-static was given.
2252 if test "${enable_static+set}" = set; then
2253 enableval
="$enable_static"
2254 p
=${PACKAGE-default}
2256 yes) enable_static
=yes ;;
2257 no
) enable_static
=no
;;
2260 # Look at the argument we got. We use all the common list separators.
2261 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
="${IFS}:,"
2262 for pkg
in $enableval; do
2263 if test "X$pkg" = "X$p"; then
2273 # Check whether --enable-shared or --disable-shared was given.
2274 if test "${enable_shared+set}" = set; then
2275 enableval
="$enable_shared"
2276 p
=${PACKAGE-default}
2278 yes) enable_shared
=yes ;;
2279 no
) enable_shared
=no
;;
2282 # Look at the argument we got. We use all the common list separators.
2283 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
="${IFS}:,"
2284 for pkg
in $enableval; do
2285 if test "X$pkg" = "X$p"; then
2295 # Check whether --enable-fast-install or --disable-fast-install was given.
2296 if test "${enable_fast_install+set}" = set; then
2297 enableval
="$enable_fast_install"
2298 p
=${PACKAGE-default}
2300 yes) enable_fast_install
=yes ;;
2301 no
) enable_fast_install
=no
;;
2303 enable_fast_install
=no
2304 # Look at the argument we got. We use all the common list separators.
2305 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
="${IFS}:,"
2306 for pkg
in $enableval; do
2307 if test "X$pkg" = "X$p"; then
2308 enable_fast_install
=yes
2315 enable_fast_install
=yes
2317 DEPDIR
="${am__leading_dot}deps"
2319 ac_config_commands
="$ac_config_commands depfiles"
2322 am_make
=${MAKE-make}
2323 cat > confinc
<< 'END'
2328 # If we don't find an include directive, just comment out the code.
2329 echo "$as_me:$LINENO: checking for style of include used by $am_make" >&5
2330 echo $ECHO_N "checking for style of include used by $am_make... $ECHO_C" >&6
2334 # First try GNU make style include.
2335 echo "include confinc" > confmf
2336 # We grep out `Entering directory' and `Leaving directory'
2337 # messages which can occur if `w' ends up in MAKEFLAGS.
2338 # In particular we don't look at `^make:' because GNU make might
2339 # be invoked under some other name (usually "gmake"), in which
2340 # case it prints its new name instead of `make'.
2341 if test "`$am_make -s -f confmf 2> /dev/null | grep -v 'ing directory'`" = "done"; then
2346 # Now try BSD make style include.
2347 if test "$am__include" = "#"; then
2348 echo '.include "confinc"' > confmf
2349 if test "`$am_make -s -f confmf 2> /dev/null`" = "done"; then
2350 am__include
=.include
2357 echo "$as_me:$LINENO: result: $_am_result" >&5
2358 echo "${ECHO_T}$_am_result" >&6
2359 rm -f confinc confmf
2361 # Check whether --enable-dependency-tracking or --disable-dependency-tracking was given.
2362 if test "${enable_dependency_tracking+set}" = set; then
2363 enableval
="$enable_dependency_tracking"
2366 if test "x$enable_dependency_tracking" != xno
; then
2367 am_depcomp
="$ac_aux_dir/depcomp"
2372 if test "x$enable_dependency_tracking" != xno; then
2383 ac_cpp
='$CPP $CPPFLAGS'
2384 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2385 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2386 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
2387 if test -n "$ac_tool_prefix"; then
2388 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
2389 set dummy
${ac_tool_prefix}gcc
; ac_word
=$2
2390 echo "$as_me:$LINENO: checking for $ac_word" >&5
2391 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2392 if test "${ac_cv_prog_CC+set}" = set; then
2393 echo $ECHO_N "(cached) $ECHO_C" >&6
2395 if test -n "$CC"; then
2396 ac_cv_prog_CC
="$CC" # Let the user override the test.
2398 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2402 test -z "$as_dir" && as_dir
=.
2403 for ac_exec_ext
in '' $ac_executable_extensions; do
2404 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2405 ac_cv_prog_CC
="${ac_tool_prefix}gcc"
2406 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2415 if test -n "$CC"; then
2416 echo "$as_me:$LINENO: result: $CC" >&5
2417 echo "${ECHO_T}$CC" >&6
2419 echo "$as_me:$LINENO: result: no" >&5
2420 echo "${ECHO_T}no" >&6
2424 if test -z "$ac_cv_prog_CC"; then
2426 # Extract the first word of "gcc", so it can be a program name with args.
2427 set dummy gcc
; ac_word
=$2
2428 echo "$as_me:$LINENO: checking for $ac_word" >&5
2429 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2430 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
2431 echo $ECHO_N "(cached) $ECHO_C" >&6
2433 if test -n "$ac_ct_CC"; then
2434 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
2436 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2440 test -z "$as_dir" && as_dir
=.
2441 for ac_exec_ext
in '' $ac_executable_extensions; do
2442 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2443 ac_cv_prog_ac_ct_CC
="gcc"
2444 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2452 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
2453 if test -n "$ac_ct_CC"; then
2454 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
2455 echo "${ECHO_T}$ac_ct_CC" >&6
2457 echo "$as_me:$LINENO: result: no" >&5
2458 echo "${ECHO_T}no" >&6
2466 if test -z "$CC"; then
2467 if test -n "$ac_tool_prefix"; then
2468 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
2469 set dummy
${ac_tool_prefix}cc
; ac_word
=$2
2470 echo "$as_me:$LINENO: checking for $ac_word" >&5
2471 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2472 if test "${ac_cv_prog_CC+set}" = set; then
2473 echo $ECHO_N "(cached) $ECHO_C" >&6
2475 if test -n "$CC"; then
2476 ac_cv_prog_CC
="$CC" # Let the user override the test.
2478 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2482 test -z "$as_dir" && as_dir
=.
2483 for ac_exec_ext
in '' $ac_executable_extensions; do
2484 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2485 ac_cv_prog_CC
="${ac_tool_prefix}cc"
2486 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2495 if test -n "$CC"; then
2496 echo "$as_me:$LINENO: result: $CC" >&5
2497 echo "${ECHO_T}$CC" >&6
2499 echo "$as_me:$LINENO: result: no" >&5
2500 echo "${ECHO_T}no" >&6
2504 if test -z "$ac_cv_prog_CC"; then
2506 # Extract the first word of "cc", so it can be a program name with args.
2507 set dummy cc
; ac_word
=$2
2508 echo "$as_me:$LINENO: checking for $ac_word" >&5
2509 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2510 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
2511 echo $ECHO_N "(cached) $ECHO_C" >&6
2513 if test -n "$ac_ct_CC"; then
2514 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
2516 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2520 test -z "$as_dir" && as_dir
=.
2521 for ac_exec_ext
in '' $ac_executable_extensions; do
2522 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2523 ac_cv_prog_ac_ct_CC
="cc"
2524 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2532 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
2533 if test -n "$ac_ct_CC"; then
2534 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
2535 echo "${ECHO_T}$ac_ct_CC" >&6
2537 echo "$as_me:$LINENO: result: no" >&5
2538 echo "${ECHO_T}no" >&6
2547 if test -z "$CC"; then
2548 # Extract the first word of "cc", so it can be a program name with args.
2549 set dummy cc
; ac_word
=$2
2550 echo "$as_me:$LINENO: checking for $ac_word" >&5
2551 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2552 if test "${ac_cv_prog_CC+set}" = set; then
2553 echo $ECHO_N "(cached) $ECHO_C" >&6
2555 if test -n "$CC"; then
2556 ac_cv_prog_CC
="$CC" # Let the user override the test.
2559 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2563 test -z "$as_dir" && as_dir
=.
2564 for ac_exec_ext
in '' $ac_executable_extensions; do
2565 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2566 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
2567 ac_prog_rejected
=yes
2571 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2577 if test $ac_prog_rejected = yes; then
2578 # We found a bogon in the path, so make sure we never use it.
2579 set dummy
$ac_cv_prog_CC
2581 if test $# != 0; then
2582 # We chose a different compiler from the bogus one.
2583 # However, it has the same basename, so the bogon will be chosen
2584 # first if we set CC to just the basename; use the full file name.
2586 ac_cv_prog_CC
="$as_dir/$ac_word${1+' '}$@"
2592 if test -n "$CC"; then
2593 echo "$as_me:$LINENO: result: $CC" >&5
2594 echo "${ECHO_T}$CC" >&6
2596 echo "$as_me:$LINENO: result: no" >&5
2597 echo "${ECHO_T}no" >&6
2601 if test -z "$CC"; then
2602 if test -n "$ac_tool_prefix"; then
2605 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
2606 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
2607 echo "$as_me:$LINENO: checking for $ac_word" >&5
2608 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2609 if test "${ac_cv_prog_CC+set}" = set; then
2610 echo $ECHO_N "(cached) $ECHO_C" >&6
2612 if test -n "$CC"; then
2613 ac_cv_prog_CC
="$CC" # Let the user override the test.
2615 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2619 test -z "$as_dir" && as_dir
=.
2620 for ac_exec_ext
in '' $ac_executable_extensions; do
2621 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2622 ac_cv_prog_CC
="$ac_tool_prefix$ac_prog"
2623 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2632 if test -n "$CC"; then
2633 echo "$as_me:$LINENO: result: $CC" >&5
2634 echo "${ECHO_T}$CC" >&6
2636 echo "$as_me:$LINENO: result: no" >&5
2637 echo "${ECHO_T}no" >&6
2640 test -n "$CC" && break
2643 if test -z "$CC"; then
2647 # Extract the first word of "$ac_prog", so it can be a program name with args.
2648 set dummy
$ac_prog; ac_word
=$2
2649 echo "$as_me:$LINENO: checking for $ac_word" >&5
2650 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2651 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
2652 echo $ECHO_N "(cached) $ECHO_C" >&6
2654 if test -n "$ac_ct_CC"; then
2655 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
2657 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2661 test -z "$as_dir" && as_dir
=.
2662 for ac_exec_ext
in '' $ac_executable_extensions; do
2663 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2664 ac_cv_prog_ac_ct_CC
="$ac_prog"
2665 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2673 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
2674 if test -n "$ac_ct_CC"; then
2675 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
2676 echo "${ECHO_T}$ac_ct_CC" >&6
2678 echo "$as_me:$LINENO: result: no" >&5
2679 echo "${ECHO_T}no" >&6
2682 test -n "$ac_ct_CC" && break
2691 test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
2692 See \`config.log' for more details." >&5
2693 echo "$as_me: error: no acceptable C compiler found in \$PATH
2694 See \`config.log' for more details." >&2;}
2695 { (exit 1); exit 1; }; }
2697 # Provide some information about the compiler.
2698 echo "$as_me:$LINENO:" \
2699 "checking for C compiler version" >&5
2700 ac_compiler
=`set X $ac_compile; echo $2`
2701 { (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5
2702 (eval $ac_compiler --version </dev
/null
>&5) 2>&5
2704 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2705 (exit $ac_status); }
2706 { (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5
2707 (eval $ac_compiler -v </dev
/null
>&5) 2>&5
2709 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2710 (exit $ac_status); }
2711 { (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5
2712 (eval $ac_compiler -V </dev
/null
>&5) 2>&5
2714 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2715 (exit $ac_status); }
2717 cat >conftest.
$ac_ext <<_ACEOF
2720 cat confdefs.h
>>conftest.
$ac_ext
2721 cat >>conftest.
$ac_ext <<_ACEOF
2722 /* end confdefs.h. */
2732 ac_clean_files_save
=$ac_clean_files
2733 ac_clean_files
="$ac_clean_files a.out a.exe b.out"
2734 # Try to create an executable without -o first, disregard a.out.
2735 # It will help us diagnose broken compilers, and finding out an intuition
2737 echo "$as_me:$LINENO: checking for C compiler default output file name" >&5
2738 echo $ECHO_N "checking for C compiler default output file name... $ECHO_C" >&6
2739 ac_link_default
=`echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
2740 if { (eval echo "$as_me:$LINENO: \"$ac_link_default\"") >&5
2741 (eval $ac_link_default) 2>&5
2743 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2744 (exit $ac_status); }; then
2745 # Find the output, starting from the most likely. This scheme is
2746 # not robust to junk in `.', hence go to wildcards (a.*) only as a last
2749 # Be careful to initialize this variable, since it used to be cached.
2750 # Otherwise an old cache value of `no' led to `EXEEXT = no' in a Makefile.
2752 # b.out is created by i960 compilers.
2753 for ac_file
in a_out.exe a.exe conftest.exe a.out conftest a.
* conftest.
* b.out
2755 test -f "$ac_file" ||
continue
2757 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg |
*.o |
*.obj
)
2760 # This is the source file.
2763 # We found the default executable, but exeext='' is most
2767 ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
2768 # FIXME: I believe we export ac_cv_exeext for Libtool,
2769 # but it would be cool to find out if it's true. Does anybody
2770 # maintain Libtool? --akim.
2778 echo "$as_me: failed program was:" >&5
2779 sed 's/^/| /' conftest.
$ac_ext >&5
2781 { { echo "$as_me:$LINENO: error: C compiler cannot create executables
2782 See \`config.log' for more details." >&5
2783 echo "$as_me: error: C compiler cannot create executables
2784 See \`config.log' for more details." >&2;}
2785 { (exit 77); exit 77; }; }
2788 ac_exeext
=$ac_cv_exeext
2789 echo "$as_me:$LINENO: result: $ac_file" >&5
2790 echo "${ECHO_T}$ac_file" >&6
2792 # Check the compiler produces executables we can run. If not, either
2793 # the compiler is broken, or we cross compile.
2794 echo "$as_me:$LINENO: checking whether the C compiler works" >&5
2795 echo $ECHO_N "checking whether the C compiler works... $ECHO_C" >&6
2796 # FIXME: These cross compiler hacks should be removed for Autoconf 3.0
2797 # If not cross compiling, check that we can run a simple program.
2798 if test "$cross_compiling" != yes; then
2799 if { ac_try
='./$ac_file'
2800 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2803 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2804 (exit $ac_status); }; }; then
2807 if test "$cross_compiling" = maybe
; then
2810 { { echo "$as_me:$LINENO: error: cannot run C compiled programs.
2811 If you meant to cross compile, use \`--host'.
2812 See \`config.log' for more details." >&5
2813 echo "$as_me: error: cannot run C compiled programs.
2814 If you meant to cross compile, use \`--host'.
2815 See \`config.log' for more details." >&2;}
2816 { (exit 1); exit 1; }; }
2820 echo "$as_me:$LINENO: result: yes" >&5
2821 echo "${ECHO_T}yes" >&6
2823 rm -f a.out a.exe conftest
$ac_cv_exeext b.out
2824 ac_clean_files
=$ac_clean_files_save
2825 # Check the compiler produces executables we can run. If not, either
2826 # the compiler is broken, or we cross compile.
2827 echo "$as_me:$LINENO: checking whether we are cross compiling" >&5
2828 echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6
2829 echo "$as_me:$LINENO: result: $cross_compiling" >&5
2830 echo "${ECHO_T}$cross_compiling" >&6
2832 echo "$as_me:$LINENO: checking for suffix of executables" >&5
2833 echo $ECHO_N "checking for suffix of executables... $ECHO_C" >&6
2834 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
2835 (eval $ac_link) 2>&5
2837 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2838 (exit $ac_status); }; then
2839 # If both `conftest.exe' and `conftest' are `present' (well, observable)
2840 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
2841 # work properly (i.e., refer to `conftest.exe'), while it won't with
2843 for ac_file
in conftest.exe conftest conftest.
*; do
2844 test -f "$ac_file" ||
continue
2846 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg |
*.o |
*.obj
) ;;
2847 *.
* ) ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
2854 { { echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link
2855 See \`config.log' for more details." >&5
2856 echo "$as_me: error: cannot compute suffix of executables: cannot compile and link
2857 See \`config.log' for more details." >&2;}
2858 { (exit 1); exit 1; }; }
2861 rm -f conftest
$ac_cv_exeext
2862 echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
2863 echo "${ECHO_T}$ac_cv_exeext" >&6
2865 rm -f conftest.
$ac_ext
2866 EXEEXT
=$ac_cv_exeext
2868 echo "$as_me:$LINENO: checking for suffix of object files" >&5
2869 echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6
2870 if test "${ac_cv_objext+set}" = set; then
2871 echo $ECHO_N "(cached) $ECHO_C" >&6
2873 cat >conftest.
$ac_ext <<_ACEOF
2876 cat confdefs.h
>>conftest.
$ac_ext
2877 cat >>conftest.
$ac_ext <<_ACEOF
2878 /* end confdefs.h. */
2888 rm -f conftest.o conftest.obj
2889 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2890 (eval $ac_compile) 2>&5
2892 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2893 (exit $ac_status); }; then
2894 for ac_file
in `(ls conftest.o conftest.obj; ls conftest.*) 2>/dev/null`; do
2896 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg
) ;;
2897 *) ac_cv_objext
=`expr "$ac_file" : '.*\.\(.*\)'`
2902 echo "$as_me: failed program was:" >&5
2903 sed 's/^/| /' conftest.
$ac_ext >&5
2905 { { echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile
2906 See \`config.log' for more details." >&5
2907 echo "$as_me: error: cannot compute suffix of object files: cannot compile
2908 See \`config.log' for more details." >&2;}
2909 { (exit 1); exit 1; }; }
2912 rm -f conftest.
$ac_cv_objext conftest.
$ac_ext
2914 echo "$as_me:$LINENO: result: $ac_cv_objext" >&5
2915 echo "${ECHO_T}$ac_cv_objext" >&6
2916 OBJEXT
=$ac_cv_objext
2918 echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
2919 echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6
2920 if test "${ac_cv_c_compiler_gnu+set}" = set; then
2921 echo $ECHO_N "(cached) $ECHO_C" >&6
2923 cat >conftest.
$ac_ext <<_ACEOF
2926 cat confdefs.h
>>conftest.
$ac_ext
2927 cat >>conftest.
$ac_ext <<_ACEOF
2928 /* end confdefs.h. */
2941 rm -f conftest.
$ac_objext
2942 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2943 (eval $ac_compile) 2>conftest.er1
2945 grep -v '^ *+' conftest.er1
>conftest.err
2947 cat conftest.err
>&5
2948 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2949 (exit $ac_status); } &&
2950 { ac_try
='test -z "$ac_c_werror_flag"
2951 || test ! -s conftest.err'
2952 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2955 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2956 (exit $ac_status); }; } &&
2957 { ac_try
='test -s conftest.$ac_objext'
2958 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2961 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2962 (exit $ac_status); }; }; then
2965 echo "$as_me: failed program was:" >&5
2966 sed 's/^/| /' conftest.
$ac_ext >&5
2970 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
2971 ac_cv_c_compiler_gnu
=$ac_compiler_gnu
2974 echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
2975 echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6
2976 GCC
=`test $ac_compiler_gnu = yes && echo yes`
2977 ac_test_CFLAGS
=${CFLAGS+set}
2978 ac_save_CFLAGS
=$CFLAGS
2980 echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
2981 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6
2982 if test "${ac_cv_prog_cc_g+set}" = set; then
2983 echo $ECHO_N "(cached) $ECHO_C" >&6
2985 cat >conftest.
$ac_ext <<_ACEOF
2988 cat confdefs.h
>>conftest.
$ac_ext
2989 cat >>conftest.
$ac_ext <<_ACEOF
2990 /* end confdefs.h. */
3000 rm -f conftest.
$ac_objext
3001 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3002 (eval $ac_compile) 2>conftest.er1
3004 grep -v '^ *+' conftest.er1
>conftest.err
3006 cat conftest.err
>&5
3007 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3008 (exit $ac_status); } &&
3009 { ac_try
='test -z "$ac_c_werror_flag"
3010 || test ! -s conftest.err'
3011 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3014 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3015 (exit $ac_status); }; } &&
3016 { ac_try
='test -s conftest.$ac_objext'
3017 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3020 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3021 (exit $ac_status); }; }; then
3024 echo "$as_me: failed program was:" >&5
3025 sed 's/^/| /' conftest.
$ac_ext >&5
3029 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
3031 echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
3032 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6
3033 if test "$ac_test_CFLAGS" = set; then
3034 CFLAGS
=$ac_save_CFLAGS
3035 elif test $ac_cv_prog_cc_g = yes; then
3036 if test "$GCC" = yes; then
3042 if test "$GCC" = yes; then
3048 echo "$as_me:$LINENO: checking for $CC option to accept ANSI C" >&5
3049 echo $ECHO_N "checking for $CC option to accept ANSI C... $ECHO_C" >&6
3050 if test "${ac_cv_prog_cc_stdc+set}" = set; then
3051 echo $ECHO_N "(cached) $ECHO_C" >&6
3053 ac_cv_prog_cc_stdc
=no
3055 cat >conftest.
$ac_ext <<_ACEOF
3058 cat confdefs.h
>>conftest.
$ac_ext
3059 cat >>conftest.
$ac_ext <<_ACEOF
3060 /* end confdefs.h. */
3063 #include <sys/types.h>
3064 #include <sys/stat.h>
3065 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
3066 struct buf { int x; };
3067 FILE * (*rcsopen) (struct buf *, struct stat *, int);
3068 static char *e (p, i)
3074 static char *f (char * (*g) (char **, int), char **p, ...)
3079 s = g (p, va_arg (v,int));
3084 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
3085 function prototypes and stuff, but not '\xHH' hex character constants.
3086 These don't provoke an error unfortunately, instead are silently treated
3087 as 'x'. The following induces an error, until -std1 is added to get
3088 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
3089 array size at least. It's necessary to write '\x00'==0 to get something
3090 that's true only with -std1. */
3091 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
3093 int test (int i, double x);
3094 struct s1 {int (*f) (int a);};
3095 struct s2 {int (*f) (double a);};
3096 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
3102 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
3107 # Don't try gcc -ansi; that turns off useful extensions and
3108 # breaks some systems' header files.
3109 # AIX -qlanglvl=ansi
3110 # Ultrix and OSF/1 -std1
3111 # HP-UX 10.20 and later -Ae
3112 # HP-UX older versions -Aa -D_HPUX_SOURCE
3113 # SVR4 -Xc -D__EXTENSIONS__
3114 for ac_arg
in "" -qlanglvl=ansi
-std1 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
3116 CC
="$ac_save_CC $ac_arg"
3117 rm -f conftest.
$ac_objext
3118 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3119 (eval $ac_compile) 2>conftest.er1
3121 grep -v '^ *+' conftest.er1
>conftest.err
3123 cat conftest.err
>&5
3124 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3125 (exit $ac_status); } &&
3126 { ac_try
='test -z "$ac_c_werror_flag"
3127 || test ! -s conftest.err'
3128 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3131 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3132 (exit $ac_status); }; } &&
3133 { ac_try
='test -s conftest.$ac_objext'
3134 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3137 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3138 (exit $ac_status); }; }; then
3139 ac_cv_prog_cc_stdc
=$ac_arg
3142 echo "$as_me: failed program was:" >&5
3143 sed 's/^/| /' conftest.
$ac_ext >&5
3146 rm -f conftest.err conftest.
$ac_objext
3148 rm -f conftest.
$ac_ext conftest.
$ac_objext
3153 case "x$ac_cv_prog_cc_stdc" in
3155 echo "$as_me:$LINENO: result: none needed" >&5
3156 echo "${ECHO_T}none needed" >&6 ;;
3158 echo "$as_me:$LINENO: result: $ac_cv_prog_cc_stdc" >&5
3159 echo "${ECHO_T}$ac_cv_prog_cc_stdc" >&6
3160 CC
="$CC $ac_cv_prog_cc_stdc" ;;
3163 # Some people use a C++ compiler to compile C. Since we use `exit',
3164 # in C++ we need to declare it. In case someone uses the same compiler
3165 # for both compiling C and C++ we need to have the C++ compiler decide
3166 # the declaration of exit, since it's the most demanding environment.
3167 cat >conftest.
$ac_ext <<_ACEOF
3172 rm -f conftest.
$ac_objext
3173 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3174 (eval $ac_compile) 2>conftest.er1
3176 grep -v '^ *+' conftest.er1
>conftest.err
3178 cat conftest.err
>&5
3179 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3180 (exit $ac_status); } &&
3181 { ac_try
='test -z "$ac_c_werror_flag"
3182 || test ! -s conftest.err'
3183 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3186 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3187 (exit $ac_status); }; } &&
3188 { ac_try
='test -s conftest.$ac_objext'
3189 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3192 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3193 (exit $ac_status); }; }; then
3194 for ac_declaration
in \
3196 'extern "C" void std::exit (int) throw (); using std::exit;' \
3197 'extern "C" void std::exit (int); using std::exit;' \
3198 'extern "C" void exit (int) throw ();' \
3199 'extern "C" void exit (int);' \
3202 cat >conftest.
$ac_ext <<_ACEOF
3205 cat confdefs.h
>>conftest.
$ac_ext
3206 cat >>conftest.
$ac_ext <<_ACEOF
3207 /* end confdefs.h. */
3218 rm -f conftest.
$ac_objext
3219 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3220 (eval $ac_compile) 2>conftest.er1
3222 grep -v '^ *+' conftest.er1
>conftest.err
3224 cat conftest.err
>&5
3225 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3226 (exit $ac_status); } &&
3227 { ac_try
='test -z "$ac_c_werror_flag"
3228 || test ! -s conftest.err'
3229 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3232 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3233 (exit $ac_status); }; } &&
3234 { ac_try
='test -s conftest.$ac_objext'
3235 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3238 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3239 (exit $ac_status); }; }; then
3242 echo "$as_me: failed program was:" >&5
3243 sed 's/^/| /' conftest.
$ac_ext >&5
3247 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
3248 cat >conftest.
$ac_ext <<_ACEOF
3251 cat confdefs.h
>>conftest.
$ac_ext
3252 cat >>conftest.
$ac_ext <<_ACEOF
3253 /* end confdefs.h. */
3263 rm -f conftest.
$ac_objext
3264 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3265 (eval $ac_compile) 2>conftest.er1
3267 grep -v '^ *+' conftest.er1
>conftest.err
3269 cat conftest.err
>&5
3270 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3271 (exit $ac_status); } &&
3272 { ac_try
='test -z "$ac_c_werror_flag"
3273 || test ! -s conftest.err'
3274 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3277 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3278 (exit $ac_status); }; } &&
3279 { ac_try
='test -s conftest.$ac_objext'
3280 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3283 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3284 (exit $ac_status); }; }; then
3287 echo "$as_me: failed program was:" >&5
3288 sed 's/^/| /' conftest.
$ac_ext >&5
3291 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
3294 if test -n "$ac_declaration"; then
3295 echo '#ifdef __cplusplus' >>confdefs.h
3296 echo $ac_declaration >>confdefs.h
3297 echo '#endif' >>confdefs.h
3301 echo "$as_me: failed program was:" >&5
3302 sed 's/^/| /' conftest.
$ac_ext >&5
3305 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
3307 ac_cpp
='$CPP $CPPFLAGS'
3308 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3309 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3310 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
3312 depcc
="$CC" am_compiler_list
=
3314 echo "$as_me:$LINENO: checking dependency style of $depcc" >&5
3315 echo $ECHO_N "checking dependency style of $depcc... $ECHO_C" >&6
3316 if test "${am_cv_CC_dependencies_compiler_type+set}" = set; then
3317 echo $ECHO_N "(cached) $ECHO_C" >&6
3319 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
3320 # We make a subdir and do the tests there. Otherwise we can end up
3321 # making bogus files that we don't know about and never remove. For
3322 # instance it was reported that on HP-UX the gcc test will end up
3323 # making a dummy file named `D' -- because `-MD' means `put the output
3326 # Copy depcomp to subdir because otherwise we won't find it if we're
3327 # using a relative directory.
3328 cp "$am_depcomp" conftest.dir
3330 # We will build objects and dependencies in a subdirectory because
3331 # it helps to detect inapplicable dependency modes. For instance
3332 # both Tru64's cc and ICC support -MD to output dependencies as a
3333 # side effect of compilation, but ICC will put the dependencies in
3334 # the current directory while Tru64 will put them in the object
3338 am_cv_CC_dependencies_compiler_type
=none
3339 if test "$am_compiler_list" = ""; then
3340 am_compiler_list
=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
3342 for depmode
in $am_compiler_list; do
3343 # Setup a source with many dependencies, because some compilers
3344 # like to wrap large dependency lists on column 80 (with \), and
3345 # we should not choose a depcomp mode which is confused by this.
3347 # We need to recreate these files for each test, as the compiler may
3348 # overwrite some of them when testing with obscure command lines.
3349 # This happens at least with the AIX C compiler.
3351 for i
in 1 2 3 4 5 6; do
3352 echo '#include "conftst'$i'.h"' >> sub
/conftest.c
3353 # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
3354 # Solaris 8's {/usr,}/bin/sh.
3355 touch sub
/conftst
$i.h
3357 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
3361 # after this tag, mechanisms are not by side-effect, so they'll
3362 # only be used when explicitly requested
3363 if test "x$enable_dependency_tracking" = xyes
; then
3371 # We check with `-c' and `-o' for the sake of the "dashmstdout"
3372 # mode. It turns out that the SunPro C++ compiler does not properly
3373 # handle `-M -o', and we need to detect this.
3374 if depmode
=$depmode \
3375 source=sub
/conftest.c object
=sub
/conftest.
${OBJEXT-o} \
3376 depfile
=sub
/conftest.Po tmpdepfile
=sub
/conftest.TPo \
3377 $SHELL .
/depcomp
$depcc -c -o sub
/conftest.
${OBJEXT-o} sub
/conftest.c \
3378 >/dev
/null
2>conftest.err
&&
3379 grep sub
/conftst6.h sub
/conftest.Po
> /dev
/null
2>&1 &&
3380 grep sub
/conftest.
${OBJEXT-o} sub
/conftest.Po
> /dev
/null
2>&1 &&
3381 ${MAKE-make} -s -f confmf
> /dev
/null
2>&1; then
3382 # icc doesn't choke on unknown options, it will just issue warnings
3383 # or remarks (even with -Werror). So we grep stderr for any message
3384 # that says an option was ignored or not supported.
3385 # When given -MP, icc 7.0 and 7.1 complain thusly:
3386 # icc: Command line warning: ignoring option '-M'; no argument required
3387 # The diagnosis changed in icc 8.0:
3388 # icc: Command line remark: option '-MP' not supported
3389 if (grep 'ignoring option' conftest.err ||
3390 grep 'not supported' conftest.err
) >/dev
/null
2>&1; then :; else
3391 am_cv_CC_dependencies_compiler_type
=$depmode
3400 am_cv_CC_dependencies_compiler_type
=none
3404 echo "$as_me:$LINENO: result: $am_cv_CC_dependencies_compiler_type" >&5
3405 echo "${ECHO_T}$am_cv_CC_dependencies_compiler_type" >&6
3406 CCDEPMODE
=depmode
=$am_cv_CC_dependencies_compiler_type
3411 test "x$enable_dependency_tracking" != xno \
3412 && test "$am_cv_CC_dependencies_compiler_type" = gcc3
; then
3414 am__fastdepCC_FALSE
='#'
3416 am__fastdepCC_TRUE
='#'
3417 am__fastdepCC_FALSE
=
3422 # Check whether --with-gnu-ld or --without-gnu-ld was given.
3423 if test "${with_gnu_ld+set}" = set; then
3424 withval
="$with_gnu_ld"
3425 test "$withval" = no || with_gnu_ld
=yes
3430 if test "$GCC" = yes; then
3431 # Check if gcc -print-prog-name=ld gives a path.
3432 echo "$as_me:$LINENO: checking for ld used by GCC" >&5
3433 echo $ECHO_N "checking for ld used by GCC... $ECHO_C" >&6
3436 # gcc leaves a trailing carriage return which upsets mingw
3437 ac_prog
=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
3439 ac_prog
=`($CC -print-prog-name=ld) 2>&5` ;;
3442 # Accept absolute paths.
3443 [\\/]* |
[A-Za-z
]:[\\/]*)
3444 re_direlt
='/[^/][^/]*/\.\./'
3445 # Canonicalize the path of ld
3446 ac_prog
=`echo $ac_prog| sed 's%\\\\%/%g'`
3447 while echo $ac_prog |
grep "$re_direlt" > /dev
/null
2>&1; do
3448 ac_prog
=`echo $ac_prog| sed "s%$re_direlt%/%"`
3450 test -z "$LD" && LD
="$ac_prog"
3453 # If it fails, then pretend we aren't using GCC.
3457 # If it is relative, then search for the first ld in PATH.
3461 elif test "$with_gnu_ld" = yes; then
3462 echo "$as_me:$LINENO: checking for GNU ld" >&5
3463 echo $ECHO_N "checking for GNU ld... $ECHO_C" >&6
3465 echo "$as_me:$LINENO: checking for non-GNU ld" >&5
3466 echo $ECHO_N "checking for non-GNU ld... $ECHO_C" >&6
3468 if test "${lt_cv_path_LD+set}" = set; then
3469 echo $ECHO_N "(cached) $ECHO_C" >&6
3471 if test -z "$LD"; then
3472 IFS
="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}${PATH_SEPARATOR-:}"
3473 for ac_dir
in $PATH; do
3474 test -z "$ac_dir" && ac_dir
=.
3475 if test -f "$ac_dir/$ac_prog" ||
test -f "$ac_dir/$ac_prog$ac_exeext"; then
3476 lt_cv_path_LD
="$ac_dir/$ac_prog"
3477 # Check to see if the program is GNU ld. I'd rather use --version,
3478 # but apparently some GNU ld's only accept -v.
3479 # Break only if it was the GNU/non-GNU ld that we prefer.
3480 if "$lt_cv_path_LD" -v 2>&1 < /dev
/null |
egrep '(GNU|with BFD)' > /dev
/null
; then
3481 test "$with_gnu_ld" != no
&& break
3483 test "$with_gnu_ld" != yes && break
3489 lt_cv_path_LD
="$LD" # Let the user override the test with a path.
3494 if test -n "$LD"; then
3495 echo "$as_me:$LINENO: result: $LD" >&5
3496 echo "${ECHO_T}$LD" >&6
3498 echo "$as_me:$LINENO: result: no" >&5
3499 echo "${ECHO_T}no" >&6
3501 test -z "$LD" && { { echo "$as_me:$LINENO: error: no acceptable ld found in \$PATH" >&5
3502 echo "$as_me: error: no acceptable ld found in \$PATH" >&2;}
3503 { (exit 1); exit 1; }; }
3504 echo "$as_me:$LINENO: checking if the linker ($LD) is GNU ld" >&5
3505 echo $ECHO_N "checking if the linker ($LD) is GNU ld... $ECHO_C" >&6
3506 if test "${lt_cv_prog_gnu_ld+set}" = set; then
3507 echo $ECHO_N "(cached) $ECHO_C" >&6
3509 # I'd rather use --version here, but apparently some GNU ld's only accept -v.
3510 if $LD -v 2>&1 </dev
/null |
egrep '(GNU|with BFD)' 1>&5; then
3511 lt_cv_prog_gnu_ld
=yes
3513 lt_cv_prog_gnu_ld
=no
3516 echo "$as_me:$LINENO: result: $lt_cv_prog_gnu_ld" >&5
3517 echo "${ECHO_T}$lt_cv_prog_gnu_ld" >&6
3518 with_gnu_ld
=$lt_cv_prog_gnu_ld
3521 echo "$as_me:$LINENO: checking for $LD option to reload object files" >&5
3522 echo $ECHO_N "checking for $LD option to reload object files... $ECHO_C" >&6
3523 if test "${lt_cv_ld_reload_flag+set}" = set; then
3524 echo $ECHO_N "(cached) $ECHO_C" >&6
3526 lt_cv_ld_reload_flag
='-r'
3528 echo "$as_me:$LINENO: result: $lt_cv_ld_reload_flag" >&5
3529 echo "${ECHO_T}$lt_cv_ld_reload_flag" >&6
3530 reload_flag
=$lt_cv_ld_reload_flag
3531 test -n "$reload_flag" && reload_flag
=" $reload_flag"
3533 echo "$as_me:$LINENO: checking for BSD-compatible nm" >&5
3534 echo $ECHO_N "checking for BSD-compatible nm... $ECHO_C" >&6
3535 if test "${lt_cv_path_NM+set}" = set; then
3536 echo $ECHO_N "(cached) $ECHO_C" >&6
3538 if test -n "$NM"; then
3539 # Let the user override the test.
3542 IFS
="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}${PATH_SEPARATOR-:}"
3543 for ac_dir
in $PATH /usr
/ccs
/bin
/usr
/ucb
/bin
; do
3544 test -z "$ac_dir" && ac_dir
=.
3545 tmp_nm
=$ac_dir/${ac_tool_prefix}nm
3546 if test -f $tmp_nm ||
test -f $tmp_nm$ac_exeext ; then
3547 # Check to see if the nm accepts a BSD-compat flag.
3548 # Adding the `sed 1q' prevents false positives on HP-UX, which says:
3549 # nm: unknown option "B" ignored
3550 # Tru64's nm complains that /dev/null is an invalid object file
3551 if ($tmp_nm -B /dev
/null
2>&1 |
sed '1q'; exit 0) |
egrep '(/dev/null|Invalid file or object type)' >/dev
/null
; then
3552 lt_cv_path_NM
="$tmp_nm -B"
3554 elif ($tmp_nm -p /dev
/null
2>&1 |
sed '1q'; exit 0) |
egrep /dev
/null
>/dev
/null
; then
3555 lt_cv_path_NM
="$tmp_nm -p"
3558 lt_cv_path_NM
=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but
3559 continue # so that we can try to find one that supports BSD flags
3564 test -z "$lt_cv_path_NM" && lt_cv_path_NM
=nm
3569 echo "$as_me:$LINENO: result: $NM" >&5
3570 echo "${ECHO_T}$NM" >&6
3572 echo "$as_me:$LINENO: checking how to recognise dependant libraries" >&5
3573 echo $ECHO_N "checking how to recognise dependant libraries... $ECHO_C" >&6
3574 if test "${lt_cv_deplibs_check_method+set}" = set; then
3575 echo $ECHO_N "(cached) $ECHO_C" >&6
3577 lt_cv_file_magic_cmd
='$MAGIC_CMD'
3578 lt_cv_file_magic_test_file
=
3579 lt_cv_deplibs_check_method
='unknown'
3580 # Need to set the preceding variable on all platforms that support
3581 # interlibrary dependencies.
3582 # 'none' -- dependencies not supported.
3583 # `unknown' -- same as none, but documents that we really don't know.
3584 # 'pass_all' -- all dependencies passed with no checks.
3585 # 'test_compile' -- check by making test program.
3586 # 'file_magic [regex]' -- check by looking for files in library path
3587 # which responds to the $file_magic_cmd with a given egrep regex.
3588 # If you have `file' or equivalent on your system and you're not sure
3589 # whether `pass_all' will *always* work, you probably want this one.
3593 lt_cv_deplibs_check_method
=pass_all
3597 lt_cv_deplibs_check_method
=pass_all
3601 lt_cv_deplibs_check_method
='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib)'
3602 lt_cv_file_magic_cmd
='/usr/bin/file -L'
3603 lt_cv_file_magic_test_file
=/shlib
/libc.so
3606 cygwin
* | mingw
* |pw32
*)
3607 lt_cv_deplibs_check_method
='file_magic file format pei*-i386(.*architecture: i386)?'
3608 lt_cv_file_magic_cmd
='$OBJDUMP -f'
3611 darwin
* | rhapsody
*)
3612 # this will be overwritten by pass_all, but leave it in just in case
3613 lt_cv_deplibs_check_method
='file_magic Mach-O dynamically linked shared library'
3614 lt_cv_file_magic_cmd
='/usr/bin/file -L'
3616 rhapsody
* | darwin1.012
)
3617 lt_cv_file_magic_test_file
='/System/Library/Frameworks/System.framework/System'
3620 lt_cv_file_magic_test_file
='/usr/lib/libSystem.dylib'
3623 lt_cv_deplibs_check_method
=pass_all
3626 freebsd
* | kfreebsd
*-gnu)
3627 if echo __ELF__ |
$CC -E - |
grep __ELF__
> /dev
/null
; then
3630 # Not sure whether the presence of OpenBSD here was a mistake.
3631 # Let's accept both of them until this is cleared up.
3632 lt_cv_deplibs_check_method
='file_magic (FreeBSD|OpenBSD)/i[3-9]86 (compact )?demand paged shared library'
3633 lt_cv_file_magic_cmd
=/usr
/bin
/file
3634 lt_cv_file_magic_test_file
=`echo /usr/lib/libc.so.*`
3638 lt_cv_deplibs_check_method
=pass_all
3643 lt_cv_deplibs_check_method
=pass_all
3649 lt_cv_deplibs_check_method
='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9].[0-9]) shared library'
3650 lt_cv_file_magic_cmd
=/usr
/bin
/file
3651 lt_cv_file_magic_test_file
=/usr
/lib
/libc.sl
3654 lt_cv_deplibs_check_method
='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - IA64'
3655 lt_cv_file_magic_cmd
=/usr
/bin
/file
3656 lt_cv_file_magic_test_file
=/usr
/lib
/hpux32
/libc.so
3664 # this will be overridden with pass_all, but let us keep it just in case
3665 lt_cv_deplibs_check_method
="file_magic ELF 32-bit MSB dynamic lib MIPS - version 1"
3669 *-32|
*"-32 ") libmagic
=32-bit;;
3670 *-n32|
*"-n32 ") libmagic
=N32
;;
3671 *-64|
*"-64 ") libmagic
=64-bit;;
3672 *) libmagic
=never-match
;;
3674 # this will be overridden with pass_all, but let us keep it just in case
3675 lt_cv_deplibs_check_method
="file_magic ELF ${libmagic} MSB mips-[1234] dynamic lib MIPS - version 1"
3678 lt_cv_file_magic_test_file
=`echo /lib${libsuff}/libc.so*`
3679 lt_cv_deplibs_check_method
=pass_all
3682 # This must be Linux ELF.
3684 lt_cv_deplibs_check_method
=pass_all
3687 netbsd
* | knetbsd
*-gnu)
3688 if echo __ELF__ |
$CC -E - |
grep __ELF__
> /dev
/null
; then
3689 lt_cv_deplibs_check_method
='match_pattern /lib[^/\.]+\.so\.[0-9]+\.[0-9]+$'
3691 lt_cv_deplibs_check_method
='match_pattern /lib[^/\.]+\.so$'
3696 lt_cv_deplibs_check_method
='file_magic ELF [0-9][0-9]*-bit [ML]SB (executable|dynamic lib)'
3697 lt_cv_file_magic_cmd
=/usr
/bin
/file
3698 lt_cv_file_magic_test_file
=/usr
/lib
/libnls.so
3701 osf3
* | osf4
* | osf5
*)
3702 # this will be overridden with pass_all, but let us keep it just in case
3703 lt_cv_deplibs_check_method
='file_magic COFF format alpha shared library'
3704 lt_cv_file_magic_test_file
=/shlib
/libc.so
3705 lt_cv_deplibs_check_method
=pass_all
3709 lt_cv_deplibs_check_method
=pass_all
3713 lt_cv_deplibs_check_method
=pass_all
3714 lt_cv_file_magic_test_file
=/lib
/libc.so
3717 sysv5uw
[78]* | sysv4
*uw2
*)
3718 lt_cv_deplibs_check_method
=pass_all
3721 sysv4 | sysv4.2uw2
* | sysv4.3
* | sysv5
*)
3722 case $host_vendor in
3724 lt_cv_deplibs_check_method
=pass_all
3727 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]'
3728 lt_cv_file_magic_test_file
=`echo /usr/lib/libc.so*`
3735 echo "$as_me:$LINENO: result: $lt_cv_deplibs_check_method" >&5
3736 echo "${ECHO_T}$lt_cv_deplibs_check_method" >&6
3737 file_magic_cmd
=$lt_cv_file_magic_cmd
3738 deplibs_check_method
=$lt_cv_deplibs_check_method
3744 # Autoconf 2.13's AC_OBJEXT and AC_EXEEXT macros only works for C compilers!
3746 # find the maximum length of command line arguments
3747 echo "$as_me:$LINENO: checking the maximum length of command line arguments" >&5
3748 echo $ECHO_N "checking the maximum length of command line arguments... $ECHO_C" >&6
3749 if test "${lt_cv_sys_max_cmd_len+set}" = set; then
3750 echo $ECHO_N "(cached) $ECHO_C" >&6
3757 # On DJGPP, this test can blow up pretty badly due to problems in libc
3758 # (any single argument exceeding 2000 bytes causes a buffer overrun
3759 # during glob expansion). Even if it were fixed, the result of this
3760 # check would be larger than it should be.
3761 lt_cv_sys_max_cmd_len
=12288; # 12K is about right
3765 # On Win9x/ME, this test blows up -- it succeeds, but takes
3766 # about 5 minutes as the teststring grows exponentially.
3767 # Worse, since 9x/ME are not pre-emptively multitasking,
3768 # you end up with a "frozen" computer, even though with patience
3769 # the test eventually succeeds (with a max line length of 256k).
3770 # Instead, let's just punt: use the minimum linelength reported by
3771 # all of the supported platforms: 8192 (on NT/2K/XP).
3772 lt_cv_sys_max_cmd_len
=8192;
3776 # On AmigaOS with pdksh, this test takes hours, literally.
3777 # So we just punt and use a minimum line length of 8192.
3778 lt_cv_sys_max_cmd_len
=8192;
3781 netbsd
* | freebsd
* | openbsd
* | darwin
* | dragonfly
*)
3782 # This has been around since 386BSD, at least. Likely further.
3783 if test -x /sbin
/sysctl
; then
3784 lt_cv_sys_max_cmd_len
=`/sbin/sysctl -n kern.argmax`
3785 elif test -x /usr
/sbin
/sysctl
; then
3786 lt_cv_sys_max_cmd_len
=`/usr/sbin/sysctl -n kern.argmax`
3788 lt_cv_sys_max_cmd_len
=65536 # usable default for *BSD
3790 # And add a safety zone
3791 lt_cv_sys_max_cmd_len
=`expr $lt_cv_sys_max_cmd_len \/ 4`
3792 lt_cv_sys_max_cmd_len
=`expr $lt_cv_sys_max_cmd_len \* 3`
3798 if test -n "$lt_cv_sys_max_cmd_len" ; then
3799 echo "$as_me:$LINENO: result: $lt_cv_sys_max_cmd_len" >&5
3800 echo "${ECHO_T}$lt_cv_sys_max_cmd_len" >&6
3802 echo "$as_me:$LINENO: result: none" >&5
3803 echo "${ECHO_T}none" >&6
3807 # Only perform the check for file, if the check method requires it
3808 case $deplibs_check_method in
3810 if test "$file_magic_cmd" = '$MAGIC_CMD'; then
3811 echo "$as_me:$LINENO: checking for ${ac_tool_prefix}file" >&5
3812 echo $ECHO_N "checking for ${ac_tool_prefix}file... $ECHO_C" >&6
3813 if test "${lt_cv_path_MAGIC_CMD+set}" = set; then
3814 echo $ECHO_N "(cached) $ECHO_C" >&6
3818 lt_cv_path_MAGIC_CMD
="$MAGIC_CMD" # Let the user override the test with a path.
3821 lt_cv_path_MAGIC_CMD
="$MAGIC_CMD" # Let the user override the test with a dos path.
3824 ac_save_MAGIC_CMD
="$MAGIC_CMD"
3825 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
=":"
3826 ac_dummy
="/usr/bin:$PATH"
3827 for ac_dir
in $ac_dummy; do
3828 test -z "$ac_dir" && ac_dir
=.
3829 if test -f $ac_dir/${ac_tool_prefix}file; then
3830 lt_cv_path_MAGIC_CMD
="$ac_dir/${ac_tool_prefix}file"
3831 if test -n "$file_magic_test_file"; then
3832 case $deplibs_check_method in
3834 file_magic_regex
="`expr \"$deplibs_check_method\" : \"file_magic \(.*\)\"`"
3835 MAGIC_CMD
="$lt_cv_path_MAGIC_CMD"
3836 if eval $file_magic_cmd \
$file_magic_test_file 2> /dev
/null |
3837 egrep "$file_magic_regex" > /dev
/null
; then
3842 *** Warning: the command libtool uses to detect shared libraries,
3843 *** $file_magic_cmd, produces output that libtool cannot recognize.
3844 *** The result is that libtool may fail to recognize shared libraries
3845 *** as such. This will affect the creation of libtool libraries that
3846 *** depend on shared libraries, but programs linked with such libtool
3847 *** libraries will work regardless of this problem. Nevertheless, you
3848 *** may want to report the problem to your system manager and/or to
3849 *** bug-libtool@gnu.org
3859 MAGIC_CMD
="$ac_save_MAGIC_CMD"
3864 MAGIC_CMD
="$lt_cv_path_MAGIC_CMD"
3865 if test -n "$MAGIC_CMD"; then
3866 echo "$as_me:$LINENO: result: $MAGIC_CMD" >&5
3867 echo "${ECHO_T}$MAGIC_CMD" >&6
3869 echo "$as_me:$LINENO: result: no" >&5
3870 echo "${ECHO_T}no" >&6
3873 if test -z "$lt_cv_path_MAGIC_CMD"; then
3874 if test -n "$ac_tool_prefix"; then
3875 echo "$as_me:$LINENO: checking for file" >&5
3876 echo $ECHO_N "checking for file... $ECHO_C" >&6
3877 if test "${lt_cv_path_MAGIC_CMD+set}" = set; then
3878 echo $ECHO_N "(cached) $ECHO_C" >&6
3882 lt_cv_path_MAGIC_CMD
="$MAGIC_CMD" # Let the user override the test with a path.
3885 lt_cv_path_MAGIC_CMD
="$MAGIC_CMD" # Let the user override the test with a dos path.
3888 ac_save_MAGIC_CMD
="$MAGIC_CMD"
3889 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
=":"
3890 ac_dummy
="/usr/bin:$PATH"
3891 for ac_dir
in $ac_dummy; do
3892 test -z "$ac_dir" && ac_dir
=.
3893 if test -f $ac_dir/file; then
3894 lt_cv_path_MAGIC_CMD
="$ac_dir/file"
3895 if test -n "$file_magic_test_file"; then
3896 case $deplibs_check_method in
3898 file_magic_regex
="`expr \"$deplibs_check_method\" : \"file_magic \(.*\)\"`"
3899 MAGIC_CMD
="$lt_cv_path_MAGIC_CMD"
3900 if eval $file_magic_cmd \
$file_magic_test_file 2> /dev
/null |
3901 egrep "$file_magic_regex" > /dev
/null
; then
3906 *** Warning: the command libtool uses to detect shared libraries,
3907 *** $file_magic_cmd, produces output that libtool cannot recognize.
3908 *** The result is that libtool may fail to recognize shared libraries
3909 *** as such. This will affect the creation of libtool libraries that
3910 *** depend on shared libraries, but programs linked with such libtool
3911 *** libraries will work regardless of this problem. Nevertheless, you
3912 *** may want to report the problem to your system manager and/or to
3913 *** bug-libtool@gnu.org
3923 MAGIC_CMD
="$ac_save_MAGIC_CMD"
3928 MAGIC_CMD
="$lt_cv_path_MAGIC_CMD"
3929 if test -n "$MAGIC_CMD"; then
3930 echo "$as_me:$LINENO: result: $MAGIC_CMD" >&5
3931 echo "${ECHO_T}$MAGIC_CMD" >&6
3933 echo "$as_me:$LINENO: result: no" >&5
3934 echo "${ECHO_T}no" >&6
3946 if test -n "$ac_tool_prefix"; then
3947 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
3948 set dummy
${ac_tool_prefix}ranlib
; ac_word
=$2
3949 echo "$as_me:$LINENO: checking for $ac_word" >&5
3950 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3951 if test "${ac_cv_prog_RANLIB+set}" = set; then
3952 echo $ECHO_N "(cached) $ECHO_C" >&6
3954 if test -n "$RANLIB"; then
3955 ac_cv_prog_RANLIB
="$RANLIB" # Let the user override the test.
3957 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3961 test -z "$as_dir" && as_dir
=.
3962 for ac_exec_ext
in '' $ac_executable_extensions; do
3963 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3964 ac_cv_prog_RANLIB
="${ac_tool_prefix}ranlib"
3965 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3973 RANLIB
=$ac_cv_prog_RANLIB
3974 if test -n "$RANLIB"; then
3975 echo "$as_me:$LINENO: result: $RANLIB" >&5
3976 echo "${ECHO_T}$RANLIB" >&6
3978 echo "$as_me:$LINENO: result: no" >&5
3979 echo "${ECHO_T}no" >&6
3983 if test -z "$ac_cv_prog_RANLIB"; then
3984 ac_ct_RANLIB
=$RANLIB
3985 # Extract the first word of "ranlib", so it can be a program name with args.
3986 set dummy ranlib
; ac_word
=$2
3987 echo "$as_me:$LINENO: checking for $ac_word" >&5
3988 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3989 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
3990 echo $ECHO_N "(cached) $ECHO_C" >&6
3992 if test -n "$ac_ct_RANLIB"; then
3993 ac_cv_prog_ac_ct_RANLIB
="$ac_ct_RANLIB" # Let the user override the test.
3995 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3999 test -z "$as_dir" && as_dir
=.
4000 for ac_exec_ext
in '' $ac_executable_extensions; do
4001 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4002 ac_cv_prog_ac_ct_RANLIB
="ranlib"
4003 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4009 test -z "$ac_cv_prog_ac_ct_RANLIB" && ac_cv_prog_ac_ct_RANLIB
=":"
4012 ac_ct_RANLIB
=$ac_cv_prog_ac_ct_RANLIB
4013 if test -n "$ac_ct_RANLIB"; then
4014 echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
4015 echo "${ECHO_T}$ac_ct_RANLIB" >&6
4017 echo "$as_me:$LINENO: result: no" >&5
4018 echo "${ECHO_T}no" >&6
4021 RANLIB
=$ac_ct_RANLIB
4023 RANLIB
="$ac_cv_prog_RANLIB"
4026 if test -n "$ac_tool_prefix"; then
4027 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
4028 set dummy
${ac_tool_prefix}strip
; ac_word
=$2
4029 echo "$as_me:$LINENO: checking for $ac_word" >&5
4030 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
4031 if test "${ac_cv_prog_STRIP+set}" = set; then
4032 echo $ECHO_N "(cached) $ECHO_C" >&6
4034 if test -n "$STRIP"; then
4035 ac_cv_prog_STRIP
="$STRIP" # Let the user override the test.
4037 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4041 test -z "$as_dir" && as_dir
=.
4042 for ac_exec_ext
in '' $ac_executable_extensions; do
4043 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4044 ac_cv_prog_STRIP
="${ac_tool_prefix}strip"
4045 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4053 STRIP
=$ac_cv_prog_STRIP
4054 if test -n "$STRIP"; then
4055 echo "$as_me:$LINENO: result: $STRIP" >&5
4056 echo "${ECHO_T}$STRIP" >&6
4058 echo "$as_me:$LINENO: result: no" >&5
4059 echo "${ECHO_T}no" >&6
4063 if test -z "$ac_cv_prog_STRIP"; then
4065 # Extract the first word of "strip", so it can be a program name with args.
4066 set dummy strip
; ac_word
=$2
4067 echo "$as_me:$LINENO: checking for $ac_word" >&5
4068 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
4069 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
4070 echo $ECHO_N "(cached) $ECHO_C" >&6
4072 if test -n "$ac_ct_STRIP"; then
4073 ac_cv_prog_ac_ct_STRIP
="$ac_ct_STRIP" # Let the user override the test.
4075 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4079 test -z "$as_dir" && as_dir
=.
4080 for ac_exec_ext
in '' $ac_executable_extensions; do
4081 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4082 ac_cv_prog_ac_ct_STRIP
="strip"
4083 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4089 test -z "$ac_cv_prog_ac_ct_STRIP" && ac_cv_prog_ac_ct_STRIP
=":"
4092 ac_ct_STRIP
=$ac_cv_prog_ac_ct_STRIP
4093 if test -n "$ac_ct_STRIP"; then
4094 echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
4095 echo "${ECHO_T}$ac_ct_STRIP" >&6
4097 echo "$as_me:$LINENO: result: no" >&5
4098 echo "${ECHO_T}no" >&6
4103 STRIP
="$ac_cv_prog_STRIP"
4107 # Check for any special flags to pass to ltconfig.
4108 libtool_flags
="--cache-file=$cache_file"
4109 test "$enable_shared" = no
&& libtool_flags
="$libtool_flags --disable-shared"
4110 test "$enable_static" = no
&& libtool_flags
="$libtool_flags --disable-static"
4111 test "$enable_fast_install" = no
&& libtool_flags
="$libtool_flags --disable-fast-install"
4112 test "$GCC" = yes && libtool_flags
="$libtool_flags --with-gcc"
4113 test "$lt_cv_prog_gnu_ld" = yes && libtool_flags
="$libtool_flags --with-gnu-ld"
4116 # Check whether --enable-libtool-lock or --disable-libtool-lock was given.
4117 if test "${enable_libtool_lock+set}" = set; then
4118 enableval
="$enable_libtool_lock"
4121 test "x$enable_libtool_lock" = xno
&& libtool_flags
="$libtool_flags --disable-lock"
4122 test x
"$silent" = xyes
&& libtool_flags
="$libtool_flags --silent"
4125 # Check whether --with-pic or --without-pic was given.
4126 if test "${with_pic+set}" = set; then
4132 test x
"$pic_mode" = xyes
&& libtool_flags
="$libtool_flags --prefer-pic"
4133 test x
"$pic_mode" = xno
&& libtool_flags
="$libtool_flags --prefer-non-pic"
4135 # Some flags need to be propagated to the compiler or linker for good
4139 # Find out which ABI we are using.
4140 echo '#line 4140 "configure"' > conftest.
$ac_ext
4141 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4142 (eval $ac_compile) 2>&5
4144 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4145 (exit $ac_status); }; then
4146 if test "$lt_cv_prog_gnu_ld" = yes; then
4147 case `/usr/bin/file conftest.$ac_objext` in
4149 LD
="${LD-ld} -melf32bsmip"
4152 LD
="${LD-ld} -melf32bmipn32"
4155 LD
="${LD-ld} -melf64bmip"
4159 case `/usr/bin/file conftest.$ac_objext` in
4176 # Find out which ABI we are using.
4177 echo 'int i;' > conftest.
$ac_ext
4178 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4179 (eval $ac_compile) 2>&5
4181 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4182 (exit $ac_status); }; then
4183 case "`/usr/bin/file conftest.o`" in
4195 x86_64-
*linux
*|ppc
*-*linux
*|powerpc
*-*linux
*|s390
*-*linux
*|sparc
*-*linux
*)
4196 # Find out which ABI we are using.
4197 echo 'int i;' > conftest.
$ac_ext
4198 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4199 (eval $ac_compile) 2>&5
4201 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4202 (exit $ac_status); }; then
4203 case "`/usr/bin/file conftest.o`" in
4207 LD
="${LD-ld} -m elf_i386"
4209 ppc64-
*linux
*|powerpc64-
*linux
*)
4210 LD
="${LD-ld} -m elf32ppclinux"
4213 LD
="${LD-ld} -m elf_s390"
4216 LD
="${LD-ld} -m elf32_sparc"
4223 LD
="${LD-ld} -m elf_x86_64"
4225 ppc
*-*linux
*|powerpc
*-*linux
*)
4226 LD
="${LD-ld} -m elf64ppc"
4229 LD
="${LD-ld} -m elf64_s390"
4232 LD
="${LD-ld} -m elf64_sparc"
4242 # On SCO OpenServer 5, we need -belf to get full-featured binaries.
4243 SAVE_CFLAGS
="$CFLAGS"
4244 CFLAGS
="$CFLAGS -belf"
4245 echo "$as_me:$LINENO: checking whether the C compiler needs -belf" >&5
4246 echo $ECHO_N "checking whether the C compiler needs -belf... $ECHO_C" >&6
4247 if test "${lt_cv_cc_needs_belf+set}" = set; then
4248 echo $ECHO_N "(cached) $ECHO_C" >&6
4253 ac_cpp
='$CPP $CPPFLAGS'
4254 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4255 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4256 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
4258 cat >conftest.
$ac_ext <<_ACEOF
4261 cat confdefs.h
>>conftest.
$ac_ext
4262 cat >>conftest.
$ac_ext <<_ACEOF
4263 /* end confdefs.h. */
4273 rm -f conftest.
$ac_objext conftest
$ac_exeext
4274 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
4275 (eval $ac_link) 2>conftest.er1
4277 grep -v '^ *+' conftest.er1
>conftest.err
4279 cat conftest.err
>&5
4280 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4281 (exit $ac_status); } &&
4282 { ac_try
='test -z "$ac_c_werror_flag"
4283 || test ! -s conftest.err'
4284 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4287 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4288 (exit $ac_status); }; } &&
4289 { ac_try
='test -s conftest$ac_exeext'
4290 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4293 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4294 (exit $ac_status); }; }; then
4295 lt_cv_cc_needs_belf
=yes
4297 echo "$as_me: failed program was:" >&5
4298 sed 's/^/| /' conftest.
$ac_ext >&5
4300 lt_cv_cc_needs_belf
=no
4302 rm -f conftest.err conftest.
$ac_objext \
4303 conftest
$ac_exeext conftest.
$ac_ext
4305 ac_cpp
='$CPP $CPPFLAGS'
4306 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4307 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4308 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
4311 echo "$as_me:$LINENO: result: $lt_cv_cc_needs_belf" >&5
4312 echo "${ECHO_T}$lt_cv_cc_needs_belf" >&6
4313 if test x
"$lt_cv_cc_needs_belf" != x
"yes"; then
4314 # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
4315 CFLAGS
="$SAVE_CFLAGS"
4323 # Save cache, so that ltconfig can load it
4324 cat >confcache
<<\_ACEOF
4325 # This file is a shell script that caches the results of configure
4326 # tests run on this system so they can be shared between configure
4327 # scripts and configure runs, see configure's option --config-cache.
4328 # It is not useful on other systems. If it contains results you don't
4329 # want to keep, you may remove or edit it.
4331 # config.status only pays attention to the cache file if you give it
4332 # the --recheck option to rerun configure.
4334 # `ac_cv_env_foo' variables (set or unset) will be overridden when
4335 # loading this file, other *unset* `ac_cv_foo' will be assigned the
4340 # The following way of writing the cache mishandles newlines in values,
4341 # but we know of no workaround that is simple, portable, and efficient.
4342 # So, don't put newlines in cache variables' values.
4343 # Ultrix sh set writes to stderr and can't be redirected directly,
4344 # and sets the high bit in the cache file unless we assign to the vars.
4347 case `(ac_space=' '; set | grep ac_space) 2>&1` in
4349 # `set' does not quote correctly, so add quotes (double-quote
4350 # substitution turns \\\\ into \\, and sed turns \\ into \).
4353 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
4356 # `set' quotes correctly as required by POSIX, so do not add quotes.
4358 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
4365 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
4367 /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
4369 if diff $cache_file confcache
>/dev
/null
2>&1; then :; else
4370 if test -w $cache_file; then
4371 test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
4372 cat confcache
>$cache_file
4374 echo "not updating unwritable cache $cache_file"
4379 # Actually configure libtool. ac_aux_dir is where install-sh is found.
4380 AR
="$AR" LTCC
="$CC" CC
="$CC" CFLAGS
="$CFLAGS" CPPFLAGS
="$CPPFLAGS" \
4381 MAGIC_CMD
="$MAGIC_CMD" LD
="$LD" LDFLAGS
="$LDFLAGS" LIBS
="$LIBS" \
4382 LN_S
="$LN_S" NM
="$NM" RANLIB
="$RANLIB" STRIP
="$STRIP" \
4383 AS
="$AS" DLLTOOL
="$DLLTOOL" OBJDUMP
="$OBJDUMP" \
4384 objext
="$OBJEXT" exeext
="$EXEEXT" reload_flag
="$reload_flag" \
4385 deplibs_check_method
="$deplibs_check_method" file_magic_cmd
="$file_magic_cmd" \
4386 ${CONFIG_SHELL-/bin/sh} $ac_aux_dir/ltconfig
--no-reexec \
4387 $libtool_flags --no-verify --build="$build" $ac_aux_dir/ltmain.sh
$host \
4388 ||
{ { echo "$as_me:$LINENO: error: libtool configure failed" >&5
4389 echo "$as_me: error: libtool configure failed" >&2;}
4390 { (exit 1); exit 1; }; }
4392 # Reload cache, that may have been modified by ltconfig
4393 if test -r "$cache_file"; then
4394 # Some versions of bash will fail to source /dev/null (special
4395 # files actually), so we avoid doing that.
4396 if test -f "$cache_file"; then
4397 { echo "$as_me:$LINENO: loading cache $cache_file" >&5
4398 echo "$as_me: loading cache $cache_file" >&6;}
4400 [\\/]* | ?
:[\\/]* ) .
$cache_file;;
4401 *) . .
/$cache_file;;
4405 { echo "$as_me:$LINENO: creating cache $cache_file" >&5
4406 echo "$as_me: creating cache $cache_file" >&6;}
4411 # This can be used to rebuild libtool when needed
4412 LIBTOOL_DEPS
="$ac_aux_dir/ltconfig $ac_aux_dir/ltmain.sh $ac_aux_dir/ltcf-c.sh"
4414 # Always use our own libtool.
4415 LIBTOOL
='$(SHELL) $(top_builddir)/libtool'
4417 # Redirect the config.log output again, so that the ltconfig log is not
4418 # clobbered by the next message.
4419 exec 5>>.
/config.log
4427 ac_cpp
='$CPP $CPPFLAGS'
4428 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4429 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4430 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
4431 if test -n "$ac_tool_prefix"; then
4432 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
4433 set dummy
${ac_tool_prefix}gcc
; ac_word
=$2
4434 echo "$as_me:$LINENO: checking for $ac_word" >&5
4435 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
4436 if test "${ac_cv_prog_CC+set}" = set; then
4437 echo $ECHO_N "(cached) $ECHO_C" >&6
4439 if test -n "$CC"; then
4440 ac_cv_prog_CC
="$CC" # Let the user override the test.
4442 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4446 test -z "$as_dir" && as_dir
=.
4447 for ac_exec_ext
in '' $ac_executable_extensions; do
4448 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4449 ac_cv_prog_CC
="${ac_tool_prefix}gcc"
4450 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4459 if test -n "$CC"; then
4460 echo "$as_me:$LINENO: result: $CC" >&5
4461 echo "${ECHO_T}$CC" >&6
4463 echo "$as_me:$LINENO: result: no" >&5
4464 echo "${ECHO_T}no" >&6
4468 if test -z "$ac_cv_prog_CC"; then
4470 # Extract the first word of "gcc", so it can be a program name with args.
4471 set dummy gcc
; ac_word
=$2
4472 echo "$as_me:$LINENO: checking for $ac_word" >&5
4473 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
4474 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
4475 echo $ECHO_N "(cached) $ECHO_C" >&6
4477 if test -n "$ac_ct_CC"; then
4478 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
4480 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4484 test -z "$as_dir" && as_dir
=.
4485 for ac_exec_ext
in '' $ac_executable_extensions; do
4486 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4487 ac_cv_prog_ac_ct_CC
="gcc"
4488 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4496 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
4497 if test -n "$ac_ct_CC"; then
4498 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
4499 echo "${ECHO_T}$ac_ct_CC" >&6
4501 echo "$as_me:$LINENO: result: no" >&5
4502 echo "${ECHO_T}no" >&6
4510 if test -z "$CC"; then
4511 if test -n "$ac_tool_prefix"; then
4512 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
4513 set dummy
${ac_tool_prefix}cc
; ac_word
=$2
4514 echo "$as_me:$LINENO: checking for $ac_word" >&5
4515 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
4516 if test "${ac_cv_prog_CC+set}" = set; then
4517 echo $ECHO_N "(cached) $ECHO_C" >&6
4519 if test -n "$CC"; then
4520 ac_cv_prog_CC
="$CC" # Let the user override the test.
4522 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4526 test -z "$as_dir" && as_dir
=.
4527 for ac_exec_ext
in '' $ac_executable_extensions; do
4528 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4529 ac_cv_prog_CC
="${ac_tool_prefix}cc"
4530 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4539 if test -n "$CC"; then
4540 echo "$as_me:$LINENO: result: $CC" >&5
4541 echo "${ECHO_T}$CC" >&6
4543 echo "$as_me:$LINENO: result: no" >&5
4544 echo "${ECHO_T}no" >&6
4548 if test -z "$ac_cv_prog_CC"; then
4550 # Extract the first word of "cc", so it can be a program name with args.
4551 set dummy cc
; ac_word
=$2
4552 echo "$as_me:$LINENO: checking for $ac_word" >&5
4553 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
4554 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
4555 echo $ECHO_N "(cached) $ECHO_C" >&6
4557 if test -n "$ac_ct_CC"; then
4558 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
4560 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4564 test -z "$as_dir" && as_dir
=.
4565 for ac_exec_ext
in '' $ac_executable_extensions; do
4566 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4567 ac_cv_prog_ac_ct_CC
="cc"
4568 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4576 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
4577 if test -n "$ac_ct_CC"; then
4578 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
4579 echo "${ECHO_T}$ac_ct_CC" >&6
4581 echo "$as_me:$LINENO: result: no" >&5
4582 echo "${ECHO_T}no" >&6
4591 if test -z "$CC"; then
4592 # Extract the first word of "cc", so it can be a program name with args.
4593 set dummy cc
; ac_word
=$2
4594 echo "$as_me:$LINENO: checking for $ac_word" >&5
4595 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
4596 if test "${ac_cv_prog_CC+set}" = set; then
4597 echo $ECHO_N "(cached) $ECHO_C" >&6
4599 if test -n "$CC"; then
4600 ac_cv_prog_CC
="$CC" # Let the user override the test.
4603 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4607 test -z "$as_dir" && as_dir
=.
4608 for ac_exec_ext
in '' $ac_executable_extensions; do
4609 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4610 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
4611 ac_prog_rejected
=yes
4615 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4621 if test $ac_prog_rejected = yes; then
4622 # We found a bogon in the path, so make sure we never use it.
4623 set dummy
$ac_cv_prog_CC
4625 if test $# != 0; then
4626 # We chose a different compiler from the bogus one.
4627 # However, it has the same basename, so the bogon will be chosen
4628 # first if we set CC to just the basename; use the full file name.
4630 ac_cv_prog_CC
="$as_dir/$ac_word${1+' '}$@"
4636 if test -n "$CC"; then
4637 echo "$as_me:$LINENO: result: $CC" >&5
4638 echo "${ECHO_T}$CC" >&6
4640 echo "$as_me:$LINENO: result: no" >&5
4641 echo "${ECHO_T}no" >&6
4645 if test -z "$CC"; then
4646 if test -n "$ac_tool_prefix"; then
4649 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
4650 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
4651 echo "$as_me:$LINENO: checking for $ac_word" >&5
4652 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
4653 if test "${ac_cv_prog_CC+set}" = set; then
4654 echo $ECHO_N "(cached) $ECHO_C" >&6
4656 if test -n "$CC"; then
4657 ac_cv_prog_CC
="$CC" # Let the user override the test.
4659 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4663 test -z "$as_dir" && as_dir
=.
4664 for ac_exec_ext
in '' $ac_executable_extensions; do
4665 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4666 ac_cv_prog_CC
="$ac_tool_prefix$ac_prog"
4667 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4676 if test -n "$CC"; then
4677 echo "$as_me:$LINENO: result: $CC" >&5
4678 echo "${ECHO_T}$CC" >&6
4680 echo "$as_me:$LINENO: result: no" >&5
4681 echo "${ECHO_T}no" >&6
4684 test -n "$CC" && break
4687 if test -z "$CC"; then
4691 # Extract the first word of "$ac_prog", so it can be a program name with args.
4692 set dummy
$ac_prog; ac_word
=$2
4693 echo "$as_me:$LINENO: checking for $ac_word" >&5
4694 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
4695 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
4696 echo $ECHO_N "(cached) $ECHO_C" >&6
4698 if test -n "$ac_ct_CC"; then
4699 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
4701 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4705 test -z "$as_dir" && as_dir
=.
4706 for ac_exec_ext
in '' $ac_executable_extensions; do
4707 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4708 ac_cv_prog_ac_ct_CC
="$ac_prog"
4709 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4717 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
4718 if test -n "$ac_ct_CC"; then
4719 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
4720 echo "${ECHO_T}$ac_ct_CC" >&6
4722 echo "$as_me:$LINENO: result: no" >&5
4723 echo "${ECHO_T}no" >&6
4726 test -n "$ac_ct_CC" && break
4735 test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
4736 See \`config.log' for more details." >&5
4737 echo "$as_me: error: no acceptable C compiler found in \$PATH
4738 See \`config.log' for more details." >&2;}
4739 { (exit 1); exit 1; }; }
4741 # Provide some information about the compiler.
4742 echo "$as_me:$LINENO:" \
4743 "checking for C compiler version" >&5
4744 ac_compiler
=`set X $ac_compile; echo $2`
4745 { (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5
4746 (eval $ac_compiler --version </dev
/null
>&5) 2>&5
4748 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4749 (exit $ac_status); }
4750 { (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5
4751 (eval $ac_compiler -v </dev
/null
>&5) 2>&5
4753 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4754 (exit $ac_status); }
4755 { (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5
4756 (eval $ac_compiler -V </dev
/null
>&5) 2>&5
4758 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4759 (exit $ac_status); }
4761 echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
4762 echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6
4763 if test "${ac_cv_c_compiler_gnu+set}" = set; then
4764 echo $ECHO_N "(cached) $ECHO_C" >&6
4766 cat >conftest.
$ac_ext <<_ACEOF
4769 cat confdefs.h
>>conftest.
$ac_ext
4770 cat >>conftest.
$ac_ext <<_ACEOF
4771 /* end confdefs.h. */
4784 rm -f conftest.
$ac_objext
4785 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4786 (eval $ac_compile) 2>conftest.er1
4788 grep -v '^ *+' conftest.er1
>conftest.err
4790 cat conftest.err
>&5
4791 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4792 (exit $ac_status); } &&
4793 { ac_try
='test -z "$ac_c_werror_flag"
4794 || test ! -s conftest.err'
4795 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4798 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4799 (exit $ac_status); }; } &&
4800 { ac_try
='test -s conftest.$ac_objext'
4801 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4804 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4805 (exit $ac_status); }; }; then
4808 echo "$as_me: failed program was:" >&5
4809 sed 's/^/| /' conftest.
$ac_ext >&5
4813 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
4814 ac_cv_c_compiler_gnu
=$ac_compiler_gnu
4817 echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
4818 echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6
4819 GCC
=`test $ac_compiler_gnu = yes && echo yes`
4820 ac_test_CFLAGS
=${CFLAGS+set}
4821 ac_save_CFLAGS
=$CFLAGS
4823 echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
4824 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6
4825 if test "${ac_cv_prog_cc_g+set}" = set; then
4826 echo $ECHO_N "(cached) $ECHO_C" >&6
4828 cat >conftest.
$ac_ext <<_ACEOF
4831 cat confdefs.h
>>conftest.
$ac_ext
4832 cat >>conftest.
$ac_ext <<_ACEOF
4833 /* end confdefs.h. */
4843 rm -f conftest.
$ac_objext
4844 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4845 (eval $ac_compile) 2>conftest.er1
4847 grep -v '^ *+' conftest.er1
>conftest.err
4849 cat conftest.err
>&5
4850 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4851 (exit $ac_status); } &&
4852 { ac_try
='test -z "$ac_c_werror_flag"
4853 || test ! -s conftest.err'
4854 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4857 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4858 (exit $ac_status); }; } &&
4859 { ac_try
='test -s conftest.$ac_objext'
4860 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4863 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4864 (exit $ac_status); }; }; then
4867 echo "$as_me: failed program was:" >&5
4868 sed 's/^/| /' conftest.
$ac_ext >&5
4872 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
4874 echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
4875 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6
4876 if test "$ac_test_CFLAGS" = set; then
4877 CFLAGS
=$ac_save_CFLAGS
4878 elif test $ac_cv_prog_cc_g = yes; then
4879 if test "$GCC" = yes; then
4885 if test "$GCC" = yes; then
4891 echo "$as_me:$LINENO: checking for $CC option to accept ANSI C" >&5
4892 echo $ECHO_N "checking for $CC option to accept ANSI C... $ECHO_C" >&6
4893 if test "${ac_cv_prog_cc_stdc+set}" = set; then
4894 echo $ECHO_N "(cached) $ECHO_C" >&6
4896 ac_cv_prog_cc_stdc
=no
4898 cat >conftest.
$ac_ext <<_ACEOF
4901 cat confdefs.h
>>conftest.
$ac_ext
4902 cat >>conftest.
$ac_ext <<_ACEOF
4903 /* end confdefs.h. */
4906 #include <sys/types.h>
4907 #include <sys/stat.h>
4908 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
4909 struct buf { int x; };
4910 FILE * (*rcsopen) (struct buf *, struct stat *, int);
4911 static char *e (p, i)
4917 static char *f (char * (*g) (char **, int), char **p, ...)
4922 s = g (p, va_arg (v,int));
4927 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
4928 function prototypes and stuff, but not '\xHH' hex character constants.
4929 These don't provoke an error unfortunately, instead are silently treated
4930 as 'x'. The following induces an error, until -std1 is added to get
4931 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
4932 array size at least. It's necessary to write '\x00'==0 to get something
4933 that's true only with -std1. */
4934 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
4936 int test (int i, double x);
4937 struct s1 {int (*f) (int a);};
4938 struct s2 {int (*f) (double a);};
4939 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
4945 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
4950 # Don't try gcc -ansi; that turns off useful extensions and
4951 # breaks some systems' header files.
4952 # AIX -qlanglvl=ansi
4953 # Ultrix and OSF/1 -std1
4954 # HP-UX 10.20 and later -Ae
4955 # HP-UX older versions -Aa -D_HPUX_SOURCE
4956 # SVR4 -Xc -D__EXTENSIONS__
4957 for ac_arg
in "" -qlanglvl=ansi
-std1 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
4959 CC
="$ac_save_CC $ac_arg"
4960 rm -f conftest.
$ac_objext
4961 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4962 (eval $ac_compile) 2>conftest.er1
4964 grep -v '^ *+' conftest.er1
>conftest.err
4966 cat conftest.err
>&5
4967 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4968 (exit $ac_status); } &&
4969 { ac_try
='test -z "$ac_c_werror_flag"
4970 || test ! -s conftest.err'
4971 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4974 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4975 (exit $ac_status); }; } &&
4976 { ac_try
='test -s conftest.$ac_objext'
4977 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4980 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4981 (exit $ac_status); }; }; then
4982 ac_cv_prog_cc_stdc
=$ac_arg
4985 echo "$as_me: failed program was:" >&5
4986 sed 's/^/| /' conftest.
$ac_ext >&5
4989 rm -f conftest.err conftest.
$ac_objext
4991 rm -f conftest.
$ac_ext conftest.
$ac_objext
4996 case "x$ac_cv_prog_cc_stdc" in
4998 echo "$as_me:$LINENO: result: none needed" >&5
4999 echo "${ECHO_T}none needed" >&6 ;;
5001 echo "$as_me:$LINENO: result: $ac_cv_prog_cc_stdc" >&5
5002 echo "${ECHO_T}$ac_cv_prog_cc_stdc" >&6
5003 CC
="$CC $ac_cv_prog_cc_stdc" ;;
5006 # Some people use a C++ compiler to compile C. Since we use `exit',
5007 # in C++ we need to declare it. In case someone uses the same compiler
5008 # for both compiling C and C++ we need to have the C++ compiler decide
5009 # the declaration of exit, since it's the most demanding environment.
5010 cat >conftest.
$ac_ext <<_ACEOF
5015 rm -f conftest.
$ac_objext
5016 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5017 (eval $ac_compile) 2>conftest.er1
5019 grep -v '^ *+' conftest.er1
>conftest.err
5021 cat conftest.err
>&5
5022 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5023 (exit $ac_status); } &&
5024 { ac_try
='test -z "$ac_c_werror_flag"
5025 || test ! -s conftest.err'
5026 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5029 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5030 (exit $ac_status); }; } &&
5031 { ac_try
='test -s conftest.$ac_objext'
5032 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5035 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5036 (exit $ac_status); }; }; then
5037 for ac_declaration
in \
5039 'extern "C" void std::exit (int) throw (); using std::exit;' \
5040 'extern "C" void std::exit (int); using std::exit;' \
5041 'extern "C" void exit (int) throw ();' \
5042 'extern "C" void exit (int);' \
5045 cat >conftest.
$ac_ext <<_ACEOF
5048 cat confdefs.h
>>conftest.
$ac_ext
5049 cat >>conftest.
$ac_ext <<_ACEOF
5050 /* end confdefs.h. */
5061 rm -f conftest.
$ac_objext
5062 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5063 (eval $ac_compile) 2>conftest.er1
5065 grep -v '^ *+' conftest.er1
>conftest.err
5067 cat conftest.err
>&5
5068 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5069 (exit $ac_status); } &&
5070 { ac_try
='test -z "$ac_c_werror_flag"
5071 || test ! -s conftest.err'
5072 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5075 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5076 (exit $ac_status); }; } &&
5077 { ac_try
='test -s conftest.$ac_objext'
5078 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5081 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5082 (exit $ac_status); }; }; then
5085 echo "$as_me: failed program was:" >&5
5086 sed 's/^/| /' conftest.
$ac_ext >&5
5090 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
5091 cat >conftest.
$ac_ext <<_ACEOF
5094 cat confdefs.h
>>conftest.
$ac_ext
5095 cat >>conftest.
$ac_ext <<_ACEOF
5096 /* end confdefs.h. */
5106 rm -f conftest.
$ac_objext
5107 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5108 (eval $ac_compile) 2>conftest.er1
5110 grep -v '^ *+' conftest.er1
>conftest.err
5112 cat conftest.err
>&5
5113 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5114 (exit $ac_status); } &&
5115 { ac_try
='test -z "$ac_c_werror_flag"
5116 || test ! -s conftest.err'
5117 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5120 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5121 (exit $ac_status); }; } &&
5122 { ac_try
='test -s conftest.$ac_objext'
5123 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5126 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5127 (exit $ac_status); }; }; then
5130 echo "$as_me: failed program was:" >&5
5131 sed 's/^/| /' conftest.
$ac_ext >&5
5134 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
5137 if test -n "$ac_declaration"; then
5138 echo '#ifdef __cplusplus' >>confdefs.h
5139 echo $ac_declaration >>confdefs.h
5140 echo '#endif' >>confdefs.h
5144 echo "$as_me: failed program was:" >&5
5145 sed 's/^/| /' conftest.
$ac_ext >&5
5148 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
5150 ac_cpp
='$CPP $CPPFLAGS'
5151 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5152 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5153 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
5155 depcc
="$CC" am_compiler_list
=
5157 echo "$as_me:$LINENO: checking dependency style of $depcc" >&5
5158 echo $ECHO_N "checking dependency style of $depcc... $ECHO_C" >&6
5159 if test "${am_cv_CC_dependencies_compiler_type+set}" = set; then
5160 echo $ECHO_N "(cached) $ECHO_C" >&6
5162 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
5163 # We make a subdir and do the tests there. Otherwise we can end up
5164 # making bogus files that we don't know about and never remove. For
5165 # instance it was reported that on HP-UX the gcc test will end up
5166 # making a dummy file named `D' -- because `-MD' means `put the output
5169 # Copy depcomp to subdir because otherwise we won't find it if we're
5170 # using a relative directory.
5171 cp "$am_depcomp" conftest.dir
5173 # We will build objects and dependencies in a subdirectory because
5174 # it helps to detect inapplicable dependency modes. For instance
5175 # both Tru64's cc and ICC support -MD to output dependencies as a
5176 # side effect of compilation, but ICC will put the dependencies in
5177 # the current directory while Tru64 will put them in the object
5181 am_cv_CC_dependencies_compiler_type
=none
5182 if test "$am_compiler_list" = ""; then
5183 am_compiler_list
=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
5185 for depmode
in $am_compiler_list; do
5186 # Setup a source with many dependencies, because some compilers
5187 # like to wrap large dependency lists on column 80 (with \), and
5188 # we should not choose a depcomp mode which is confused by this.
5190 # We need to recreate these files for each test, as the compiler may
5191 # overwrite some of them when testing with obscure command lines.
5192 # This happens at least with the AIX C compiler.
5194 for i
in 1 2 3 4 5 6; do
5195 echo '#include "conftst'$i'.h"' >> sub
/conftest.c
5196 # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
5197 # Solaris 8's {/usr,}/bin/sh.
5198 touch sub
/conftst
$i.h
5200 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
5204 # after this tag, mechanisms are not by side-effect, so they'll
5205 # only be used when explicitly requested
5206 if test "x$enable_dependency_tracking" = xyes
; then
5214 # We check with `-c' and `-o' for the sake of the "dashmstdout"
5215 # mode. It turns out that the SunPro C++ compiler does not properly
5216 # handle `-M -o', and we need to detect this.
5217 if depmode
=$depmode \
5218 source=sub
/conftest.c object
=sub
/conftest.
${OBJEXT-o} \
5219 depfile
=sub
/conftest.Po tmpdepfile
=sub
/conftest.TPo \
5220 $SHELL .
/depcomp
$depcc -c -o sub
/conftest.
${OBJEXT-o} sub
/conftest.c \
5221 >/dev
/null
2>conftest.err
&&
5222 grep sub
/conftst6.h sub
/conftest.Po
> /dev
/null
2>&1 &&
5223 grep sub
/conftest.
${OBJEXT-o} sub
/conftest.Po
> /dev
/null
2>&1 &&
5224 ${MAKE-make} -s -f confmf
> /dev
/null
2>&1; then
5225 # icc doesn't choke on unknown options, it will just issue warnings
5226 # or remarks (even with -Werror). So we grep stderr for any message
5227 # that says an option was ignored or not supported.
5228 # When given -MP, icc 7.0 and 7.1 complain thusly:
5229 # icc: Command line warning: ignoring option '-M'; no argument required
5230 # The diagnosis changed in icc 8.0:
5231 # icc: Command line remark: option '-MP' not supported
5232 if (grep 'ignoring option' conftest.err ||
5233 grep 'not supported' conftest.err
) >/dev
/null
2>&1; then :; else
5234 am_cv_CC_dependencies_compiler_type
=$depmode
5243 am_cv_CC_dependencies_compiler_type
=none
5247 echo "$as_me:$LINENO: result: $am_cv_CC_dependencies_compiler_type" >&5
5248 echo "${ECHO_T}$am_cv_CC_dependencies_compiler_type" >&6
5249 CCDEPMODE
=depmode
=$am_cv_CC_dependencies_compiler_type
5254 test "x$enable_dependency_tracking" != xno \
5255 && test "$am_cv_CC_dependencies_compiler_type" = gcc3
; then
5257 am__fastdepCC_FALSE
='#'
5259 am__fastdepCC_TRUE
='#'
5260 am__fastdepCC_FALSE
=
5265 ac_cpp
='$CPP $CPPFLAGS'
5266 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5267 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5268 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
5269 echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5
5270 echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6
5271 # On Suns, sometimes $CPP names a directory.
5272 if test -n "$CPP" && test -d "$CPP"; then
5275 if test -z "$CPP"; then
5276 if test "${ac_cv_prog_CPP+set}" = set; then
5277 echo $ECHO_N "(cached) $ECHO_C" >&6
5279 # Double quotes because CPP needs to be expanded
5280 for CPP
in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
5283 for ac_c_preproc_warn_flag
in '' yes
5285 # Use a header file that comes with gcc, so configuring glibc
5286 # with a fresh cross-compiler works.
5287 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
5288 # <limits.h> exists even on freestanding compilers.
5289 # On the NeXT, cc -E runs the code through the compiler's parser,
5290 # not just through cpp. "Syntax error" is here to catch this case.
5291 cat >conftest.
$ac_ext <<_ACEOF
5294 cat confdefs.h
>>conftest.
$ac_ext
5295 cat >>conftest.
$ac_ext <<_ACEOF
5296 /* end confdefs.h. */
5298 # include <limits.h>
5300 # include <assert.h>
5304 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
5305 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
5307 grep -v '^ *+' conftest.er1
>conftest.err
5309 cat conftest.err
>&5
5310 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5311 (exit $ac_status); } >/dev
/null
; then
5312 if test -s conftest.err
; then
5313 ac_cpp_err
=$ac_c_preproc_warn_flag
5314 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
5321 if test -z "$ac_cpp_err"; then
5324 echo "$as_me: failed program was:" >&5
5325 sed 's/^/| /' conftest.
$ac_ext >&5
5327 # Broken: fails on valid input.
5330 rm -f conftest.err conftest.
$ac_ext
5332 # OK, works on sane cases. Now check whether non-existent headers
5333 # can be detected and how.
5334 cat >conftest.
$ac_ext <<_ACEOF
5337 cat confdefs.h
>>conftest.
$ac_ext
5338 cat >>conftest.
$ac_ext <<_ACEOF
5339 /* end confdefs.h. */
5340 #include <ac_nonexistent.h>
5342 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
5343 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
5345 grep -v '^ *+' conftest.er1
>conftest.err
5347 cat conftest.err
>&5
5348 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5349 (exit $ac_status); } >/dev
/null
; then
5350 if test -s conftest.err
; then
5351 ac_cpp_err
=$ac_c_preproc_warn_flag
5352 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
5359 if test -z "$ac_cpp_err"; then
5360 # Broken: success on invalid input.
5363 echo "$as_me: failed program was:" >&5
5364 sed 's/^/| /' conftest.
$ac_ext >&5
5366 # Passes both tests.
5370 rm -f conftest.err conftest.
$ac_ext
5373 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
5374 rm -f conftest.err conftest.
$ac_ext
5375 if $ac_preproc_ok; then
5387 echo "$as_me:$LINENO: result: $CPP" >&5
5388 echo "${ECHO_T}$CPP" >&6
5390 for ac_c_preproc_warn_flag
in '' yes
5392 # Use a header file that comes with gcc, so configuring glibc
5393 # with a fresh cross-compiler works.
5394 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
5395 # <limits.h> exists even on freestanding compilers.
5396 # On the NeXT, cc -E runs the code through the compiler's parser,
5397 # not just through cpp. "Syntax error" is here to catch this case.
5398 cat >conftest.
$ac_ext <<_ACEOF
5401 cat confdefs.h
>>conftest.
$ac_ext
5402 cat >>conftest.
$ac_ext <<_ACEOF
5403 /* end confdefs.h. */
5405 # include <limits.h>
5407 # include <assert.h>
5411 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
5412 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
5414 grep -v '^ *+' conftest.er1
>conftest.err
5416 cat conftest.err
>&5
5417 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5418 (exit $ac_status); } >/dev
/null
; then
5419 if test -s conftest.err
; then
5420 ac_cpp_err
=$ac_c_preproc_warn_flag
5421 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
5428 if test -z "$ac_cpp_err"; then
5431 echo "$as_me: failed program was:" >&5
5432 sed 's/^/| /' conftest.
$ac_ext >&5
5434 # Broken: fails on valid input.
5437 rm -f conftest.err conftest.
$ac_ext
5439 # OK, works on sane cases. Now check whether non-existent headers
5440 # can be detected and how.
5441 cat >conftest.
$ac_ext <<_ACEOF
5444 cat confdefs.h
>>conftest.
$ac_ext
5445 cat >>conftest.
$ac_ext <<_ACEOF
5446 /* end confdefs.h. */
5447 #include <ac_nonexistent.h>
5449 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
5450 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
5452 grep -v '^ *+' conftest.er1
>conftest.err
5454 cat conftest.err
>&5
5455 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5456 (exit $ac_status); } >/dev
/null
; then
5457 if test -s conftest.err
; then
5458 ac_cpp_err
=$ac_c_preproc_warn_flag
5459 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
5466 if test -z "$ac_cpp_err"; then
5467 # Broken: success on invalid input.
5470 echo "$as_me: failed program was:" >&5
5471 sed 's/^/| /' conftest.
$ac_ext >&5
5473 # Passes both tests.
5477 rm -f conftest.err conftest.
$ac_ext
5480 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
5481 rm -f conftest.err conftest.
$ac_ext
5482 if $ac_preproc_ok; then
5485 { { echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check
5486 See \`config.log' for more details." >&5
5487 echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check
5488 See \`config.log' for more details." >&2;}
5489 { (exit 1); exit 1; }; }
5493 ac_cpp
='$CPP $CPPFLAGS'
5494 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5495 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5496 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
5499 if test "x${COMPILE_JNI}" = xyes
; then
5501 echo "$as_me:$LINENO: checking for egrep" >&5
5502 echo $ECHO_N "checking for egrep... $ECHO_C" >&6
5503 if test "${ac_cv_prog_egrep+set}" = set; then
5504 echo $ECHO_N "(cached) $ECHO_C" >&6
5506 if echo a |
(grep -E '(a|b)') >/dev
/null
2>&1
5507 then ac_cv_prog_egrep
='grep -E'
5508 else ac_cv_prog_egrep
='egrep'
5511 echo "$as_me:$LINENO: result: $ac_cv_prog_egrep" >&5
5512 echo "${ECHO_T}$ac_cv_prog_egrep" >&6
5513 EGREP
=$ac_cv_prog_egrep
5516 echo "$as_me:$LINENO: checking for ANSI C header files" >&5
5517 echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6
5518 if test "${ac_cv_header_stdc+set}" = set; then
5519 echo $ECHO_N "(cached) $ECHO_C" >&6
5521 cat >conftest.
$ac_ext <<_ACEOF
5524 cat confdefs.h
>>conftest.
$ac_ext
5525 cat >>conftest.
$ac_ext <<_ACEOF
5526 /* end confdefs.h. */
5540 rm -f conftest.
$ac_objext
5541 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5542 (eval $ac_compile) 2>conftest.er1
5544 grep -v '^ *+' conftest.er1
>conftest.err
5546 cat conftest.err
>&5
5547 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5548 (exit $ac_status); } &&
5549 { ac_try
='test -z "$ac_c_werror_flag"
5550 || test ! -s conftest.err'
5551 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5554 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5555 (exit $ac_status); }; } &&
5556 { ac_try
='test -s conftest.$ac_objext'
5557 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5560 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5561 (exit $ac_status); }; }; then
5562 ac_cv_header_stdc
=yes
5564 echo "$as_me: failed program was:" >&5
5565 sed 's/^/| /' conftest.
$ac_ext >&5
5567 ac_cv_header_stdc
=no
5569 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
5571 if test $ac_cv_header_stdc = yes; then
5572 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
5573 cat >conftest.
$ac_ext <<_ACEOF
5576 cat confdefs.h
>>conftest.
$ac_ext
5577 cat >>conftest.
$ac_ext <<_ACEOF
5578 /* end confdefs.h. */
5582 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
5583 $EGREP "memchr" >/dev
/null
2>&1; then
5586 ac_cv_header_stdc
=no
5592 if test $ac_cv_header_stdc = yes; then
5593 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
5594 cat >conftest.
$ac_ext <<_ACEOF
5597 cat confdefs.h
>>conftest.
$ac_ext
5598 cat >>conftest.
$ac_ext <<_ACEOF
5599 /* end confdefs.h. */
5603 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
5604 $EGREP "free" >/dev
/null
2>&1; then
5607 ac_cv_header_stdc
=no
5613 if test $ac_cv_header_stdc = yes; then
5614 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
5615 if test "$cross_compiling" = yes; then
5618 cat >conftest.
$ac_ext <<_ACEOF
5621 cat confdefs.h
>>conftest.
$ac_ext
5622 cat >>conftest.
$ac_ext <<_ACEOF
5623 /* end confdefs.h. */
5625 #if ((' ' & 0x0FF) == 0x020)
5626 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
5627 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
5629 # define ISLOWER(c) \
5630 (('a' <= (c) && (c) <= 'i') \
5631 || ('j' <= (c) && (c) <= 'r') \
5632 || ('s' <= (c) && (c) <= 'z'))
5633 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
5636 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
5641 for (i = 0; i < 256; i++)
5642 if (XOR (islower (i), ISLOWER (i))
5643 || toupper (i) != TOUPPER (i))
5648 rm -f conftest
$ac_exeext
5649 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
5650 (eval $ac_link) 2>&5
5652 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5653 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
5654 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5657 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5658 (exit $ac_status); }; }; then
5661 echo "$as_me: program exited with status $ac_status" >&5
5662 echo "$as_me: failed program was:" >&5
5663 sed 's/^/| /' conftest.
$ac_ext >&5
5666 ac_cv_header_stdc
=no
5668 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
5672 echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
5673 echo "${ECHO_T}$ac_cv_header_stdc" >&6
5674 if test $ac_cv_header_stdc = yes; then
5676 cat >>confdefs.h
<<\_ACEOF
5677 #define STDC_HEADERS 1
5683 echo "$as_me:$LINENO: checking size of void *" >&5
5684 echo $ECHO_N "checking size of void *... $ECHO_C" >&6
5685 if test "${ac_cv_sizeof_void_p+set}" = set; then
5686 echo $ECHO_N "(cached) $ECHO_C" >&6
5688 for ac_size
in 4 8 1 2 16 12 ; do # List sizes in rough order of prevalence.
5689 cat >conftest.
$ac_ext <<_ACEOF
5692 cat confdefs.h
>>conftest.
$ac_ext
5693 cat >>conftest.
$ac_ext <<_ACEOF
5694 /* end confdefs.h. */
5695 #include "confdefs.h"
5696 #include <sys/types.h>
5702 switch (0) case 0: case (sizeof (void *) == $ac_size):;
5707 rm -f conftest.
$ac_objext
5708 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5709 (eval $ac_compile) 2>conftest.er1
5711 grep -v '^ *+' conftest.er1
>conftest.err
5713 cat conftest.err
>&5
5714 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5715 (exit $ac_status); } &&
5716 { ac_try
='test -z "$ac_c_werror_flag"
5717 || test ! -s conftest.err'
5718 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5721 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5722 (exit $ac_status); }; } &&
5723 { ac_try
='test -s conftest.$ac_objext'
5724 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5727 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5728 (exit $ac_status); }; }; then
5729 ac_cv_sizeof_void_p
=$ac_size
5731 echo "$as_me: failed program was:" >&5
5732 sed 's/^/| /' conftest.
$ac_ext >&5
5735 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
5736 if test x
$ac_cv_sizeof_void_p != x
; then break; fi
5741 if test x
$ac_cv_sizeof_void_p = x
; then
5742 { { echo "$as_me:$LINENO: error: cannot determine a size for void *" >&5
5743 echo "$as_me: error: cannot determine a size for void *" >&2;}
5744 { (exit 1); exit 1; }; }
5746 echo "$as_me:$LINENO: result: $ac_cv_sizeof_void_p" >&5
5747 echo "${ECHO_T}$ac_cv_sizeof_void_p" >&6
5749 cat >>confdefs.h
<<_ACEOF
5750 #define SIZEOF_VOID_P $ac_cv_sizeof_void_p
5755 echo "$as_me:$LINENO: checking whether byte ordering is bigendian" >&5
5756 echo $ECHO_N "checking whether byte ordering is bigendian... $ECHO_C" >&6
5757 if test "${ac_cv_c_bigendian+set}" = set; then
5758 echo $ECHO_N "(cached) $ECHO_C" >&6
5760 ac_cv_c_bigendian
=unknown
5761 # See if sys/param.h defines the BYTE_ORDER macro.
5762 cat >conftest.
$ac_ext <<_ACEOF
5765 cat confdefs.h
>>conftest.
$ac_ext
5766 cat >>conftest.
$ac_ext <<_ACEOF
5767 /* end confdefs.h. */
5768 #include <sys/types.h>
5769 #include <sys/param.h>
5774 #if !BYTE_ORDER || !BIG_ENDIAN || !LITTLE_ENDIAN
5781 rm -f conftest.
$ac_objext
5782 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5783 (eval $ac_compile) 2>conftest.er1
5785 grep -v '^ *+' conftest.er1
>conftest.err
5787 cat conftest.err
>&5
5788 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5789 (exit $ac_status); } &&
5790 { ac_try
='test -z "$ac_c_werror_flag"
5791 || test ! -s conftest.err'
5792 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5795 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5796 (exit $ac_status); }; } &&
5797 { ac_try
='test -s conftest.$ac_objext'
5798 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5801 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5802 (exit $ac_status); }; }; then
5803 # It does; now see whether it defined to BIG_ENDIAN or not.
5804 cat >conftest.
$ac_ext <<_ACEOF
5807 cat confdefs.h
>>conftest.
$ac_ext
5808 cat >>conftest.
$ac_ext <<_ACEOF
5809 /* end confdefs.h. */
5810 #include <sys/types.h>
5811 #include <sys/param.h>
5816 #if BYTE_ORDER != BIG_ENDIAN
5823 rm -f conftest.
$ac_objext
5824 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5825 (eval $ac_compile) 2>conftest.er1
5827 grep -v '^ *+' conftest.er1
>conftest.err
5829 cat conftest.err
>&5
5830 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5831 (exit $ac_status); } &&
5832 { ac_try
='test -z "$ac_c_werror_flag"
5833 || test ! -s conftest.err'
5834 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5837 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5838 (exit $ac_status); }; } &&
5839 { ac_try
='test -s conftest.$ac_objext'
5840 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5843 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5844 (exit $ac_status); }; }; then
5845 ac_cv_c_bigendian
=yes
5847 echo "$as_me: failed program was:" >&5
5848 sed 's/^/| /' conftest.
$ac_ext >&5
5850 ac_cv_c_bigendian
=no
5852 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
5854 echo "$as_me: failed program was:" >&5
5855 sed 's/^/| /' conftest.
$ac_ext >&5
5858 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
5859 if test $ac_cv_c_bigendian = unknown
; then
5860 if test "$cross_compiling" = yes; then
5861 echo $ac_n "cross-compiling... " 2>&6
5863 cat >conftest.
$ac_ext <<_ACEOF
5866 cat confdefs.h
>>conftest.
$ac_ext
5867 cat >>conftest.
$ac_ext <<_ACEOF
5868 /* end confdefs.h. */
5870 /* Are we little or big endian? From Harbison&Steele. */
5874 char c[sizeof (long)];
5877 exit (u.c[sizeof (long) - 1] == 1);
5880 rm -f conftest
$ac_exeext
5881 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
5882 (eval $ac_link) 2>&5
5884 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5885 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
5886 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5889 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5890 (exit $ac_status); }; }; then
5891 ac_cv_c_bigendian
=no
5893 echo "$as_me: program exited with status $ac_status" >&5
5894 echo "$as_me: failed program was:" >&5
5895 sed 's/^/| /' conftest.
$ac_ext >&5
5898 ac_cv_c_bigendian
=yes
5900 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
5904 echo "$as_me:$LINENO: result: $ac_cv_c_bigendian" >&5
5905 echo "${ECHO_T}$ac_cv_c_bigendian" >&6
5906 if test $ac_cv_c_bigendian = unknown
; then
5907 echo "$as_me:$LINENO: checking to probe for byte ordering" >&5
5908 echo $ECHO_N "checking to probe for byte ordering... $ECHO_C" >&6
5910 cat >conftest.c
<<EOF
5911 short ascii_mm[] = { 0x4249, 0x4765, 0x6E44, 0x6961, 0x6E53, 0x7953, 0 };
5912 short ascii_ii[] = { 0x694C, 0x5454, 0x656C, 0x6E45, 0x6944, 0x6E61, 0 };
5913 void _ascii() { char* s = (char*) ascii_mm; s = (char*) ascii_ii; }
5914 short ebcdic_ii[] = { 0x89D3, 0xE3E3, 0x8593, 0x95C5, 0x89C4, 0x9581, 0 };
5915 short ebcdic_mm[] = { 0xC2C9, 0xC785, 0x95C4, 0x8981, 0x95E2, 0xA8E2, 0 };
5916 void _ebcdic() { char* s = (char*) ebcdic_mm; s = (char*) ebcdic_ii; }
5917 int main() { _ascii (); _ebcdic (); return 0; }
5919 if test -f conftest.c
; then
5920 if ${CC-cc} ${CFLAGS} -c conftest.c
-o conftest.o
&& test -f conftest.o
; then
5921 if test `grep -l BIGenDianSyS conftest.o` ; then
5922 echo $ac_n ' big endian probe OK, ' 1>&6
5923 ac_cv_c_bigendian
=yes
5925 if test `grep -l LiTTleEnDian conftest.o` ; then
5926 echo $ac_n ' little endian probe OK, ' 1>&6
5927 if test $ac_cv_c_bigendian = yes ; then
5928 ac_cv_c_bigendian
=unknown
;
5930 ac_cv_c_bigendian
=no
5933 echo $ac_n 'guessing bigendian ... ' >&6
5936 echo "$as_me:$LINENO: result: $ac_cv_c_bigendian" >&5
5937 echo "${ECHO_T}$ac_cv_c_bigendian" >&6
5939 if test $ac_cv_c_bigendian = yes; then
5941 cat >>confdefs.h
<<\_ACEOF
5942 #define WORDS_BIGENDIAN 1
5946 cat >>confdefs.h
<<\_ACEOF
5947 #define HOST_WORDS_BIG_ENDIAN 1
5955 cat >>confdefs.h
<<_ACEOF
5956 #define BYTEORDER $BYTEORDER
5959 if test $ac_cv_c_bigendian = unknown
; then
5960 { { echo "$as_me:$LINENO: error: unknown endianess - sorry, please pre-set ac_cv_c_bigendian" >&5
5961 echo "$as_me: error: unknown endianess - sorry, please pre-set ac_cv_c_bigendian" >&2;}
5962 { (exit 1); exit 1; }; }
5966 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
5976 for ac_header
in sys
/types.h sys
/stat.h stdlib.h string.h memory.h
strings.h \
5977 inttypes.h stdint.h unistd.h
5979 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
5980 echo "$as_me:$LINENO: checking for $ac_header" >&5
5981 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
5982 if eval "test \"\${$as_ac_Header+set}\" = set"; then
5983 echo $ECHO_N "(cached) $ECHO_C" >&6
5985 cat >conftest.
$ac_ext <<_ACEOF
5988 cat confdefs.h
>>conftest.
$ac_ext
5989 cat >>conftest.
$ac_ext <<_ACEOF
5990 /* end confdefs.h. */
5991 $ac_includes_default
5993 #include <$ac_header>
5995 rm -f conftest.
$ac_objext
5996 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5997 (eval $ac_compile) 2>conftest.er1
5999 grep -v '^ *+' conftest.er1
>conftest.err
6001 cat conftest.err
>&5
6002 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6003 (exit $ac_status); } &&
6004 { ac_try
='test -z "$ac_c_werror_flag"
6005 || test ! -s conftest.err'
6006 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6009 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6010 (exit $ac_status); }; } &&
6011 { ac_try
='test -s conftest.$ac_objext'
6012 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6015 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6016 (exit $ac_status); }; }; then
6017 eval "$as_ac_Header=yes"
6019 echo "$as_me: failed program was:" >&5
6020 sed 's/^/| /' conftest.
$ac_ext >&5
6022 eval "$as_ac_Header=no"
6024 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
6026 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
6027 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
6028 if test `eval echo '${'$as_ac_Header'}'` = yes; then
6029 cat >>confdefs.h
<<_ACEOF
6030 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
6052 for ac_header
in unistd.h sys
/types.h sys
/config.h sys
/ioctl.h \
6054 inttypes.h stdint.h utime.h sys
/utime.h sys
/filio.h \
6060 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
6061 if eval "test \"\${$as_ac_Header+set}\" = set"; then
6062 echo "$as_me:$LINENO: checking for $ac_header" >&5
6063 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
6064 if eval "test \"\${$as_ac_Header+set}\" = set"; then
6065 echo $ECHO_N "(cached) $ECHO_C" >&6
6067 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
6068 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
6070 # Is the header compilable?
6071 echo "$as_me:$LINENO: checking $ac_header usability" >&5
6072 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
6073 cat >conftest.
$ac_ext <<_ACEOF
6076 cat confdefs.h
>>conftest.
$ac_ext
6077 cat >>conftest.
$ac_ext <<_ACEOF
6078 /* end confdefs.h. */
6079 $ac_includes_default
6080 #include <$ac_header>
6082 rm -f conftest.
$ac_objext
6083 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6084 (eval $ac_compile) 2>conftest.er1
6086 grep -v '^ *+' conftest.er1
>conftest.err
6088 cat conftest.err
>&5
6089 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6090 (exit $ac_status); } &&
6091 { ac_try
='test -z "$ac_c_werror_flag"
6092 || test ! -s conftest.err'
6093 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6096 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6097 (exit $ac_status); }; } &&
6098 { ac_try
='test -s conftest.$ac_objext'
6099 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6102 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6103 (exit $ac_status); }; }; then
6104 ac_header_compiler
=yes
6106 echo "$as_me: failed program was:" >&5
6107 sed 's/^/| /' conftest.
$ac_ext >&5
6109 ac_header_compiler
=no
6111 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
6112 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
6113 echo "${ECHO_T}$ac_header_compiler" >&6
6115 # Is the header present?
6116 echo "$as_me:$LINENO: checking $ac_header presence" >&5
6117 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
6118 cat >conftest.
$ac_ext <<_ACEOF
6121 cat confdefs.h
>>conftest.
$ac_ext
6122 cat >>conftest.
$ac_ext <<_ACEOF
6123 /* end confdefs.h. */
6124 #include <$ac_header>
6126 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
6127 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
6129 grep -v '^ *+' conftest.er1
>conftest.err
6131 cat conftest.err
>&5
6132 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6133 (exit $ac_status); } >/dev
/null
; then
6134 if test -s conftest.err
; then
6135 ac_cpp_err
=$ac_c_preproc_warn_flag
6136 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
6143 if test -z "$ac_cpp_err"; then
6144 ac_header_preproc
=yes
6146 echo "$as_me: failed program was:" >&5
6147 sed 's/^/| /' conftest.
$ac_ext >&5
6149 ac_header_preproc
=no
6151 rm -f conftest.err conftest.
$ac_ext
6152 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
6153 echo "${ECHO_T}$ac_header_preproc" >&6
6155 # So? What about this header?
6156 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
6158 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
6159 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
6160 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
6161 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
6162 ac_header_preproc
=yes
6165 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
6166 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
6167 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
6168 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
6169 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
6170 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
6171 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
6172 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
6173 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
6174 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
6175 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
6176 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
6179 ## -------------------------------- ##
6180 ## Report this to classpath@gnu.org ##
6181 ## -------------------------------- ##
6184 sed "s/^/$as_me: WARNING: /" >&2
6187 echo "$as_me:$LINENO: checking for $ac_header" >&5
6188 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
6189 if eval "test \"\${$as_ac_Header+set}\" = set"; then
6190 echo $ECHO_N "(cached) $ECHO_C" >&6
6192 eval "$as_ac_Header=\$ac_header_preproc"
6194 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
6195 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
6198 if test `eval echo '${'$as_ac_Header'}'` = yes; then
6199 cat >>confdefs.h
<<_ACEOF
6200 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
6208 cat >conftest.
$ac_ext <<_ACEOF
6211 cat confdefs.h
>>conftest.
$ac_ext
6212 cat >>conftest.
$ac_ext <<_ACEOF
6213 /* end confdefs.h. */
6217 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
6218 $EGREP "uint32_t" >/dev
/null
2>&1; then
6220 cat >>confdefs.h
<<\_ACEOF
6221 #define HAVE_INT32_DEFINED 1
6227 cat >conftest.
$ac_ext <<_ACEOF
6230 cat confdefs.h
>>conftest.
$ac_ext
6231 cat >>conftest.
$ac_ext <<_ACEOF
6232 /* end confdefs.h. */
6233 #include <inttypes.h>
6236 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
6237 $EGREP "uint32_t" >/dev
/null
2>&1; then
6239 cat >>confdefs.h
<<\_ACEOF
6240 #define HAVE_INT32_DEFINED 1
6246 cat >conftest.
$ac_ext <<_ACEOF
6249 cat confdefs.h
>>conftest.
$ac_ext
6250 cat >>conftest.
$ac_ext <<_ACEOF
6251 /* end confdefs.h. */
6252 #include <sys/types.h>
6255 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
6256 $EGREP "u_int32_t" >/dev
/null
2>&1; then
6258 cat >>confdefs.h
<<\_ACEOF
6259 #define HAVE_BSD_INT32_DEFINED 1
6265 cat >conftest.
$ac_ext <<_ACEOF
6268 cat confdefs.h
>>conftest.
$ac_ext
6269 cat >>conftest.
$ac_ext <<_ACEOF
6270 /* end confdefs.h. */
6271 #include <sys/config.h>
6274 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
6275 $EGREP "u_int32_t" >/dev
/null
2>&1; then
6277 cat >>confdefs.h
<<\_ACEOF
6278 #define HAVE_BSD_INT32_DEFINED 1
6319 for ac_func
in ftruncate fsync
select \
6320 gethostname socket strerror fork pipe execve open close \
6321 lseek fstat
read write htonl memset htons connect \
6322 getsockname getpeername
bind listen accept \
6323 recvfrom send sendto setsockopt getsockopt
time mktime \
6328 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
6329 echo "$as_me:$LINENO: checking for $ac_func" >&5
6330 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
6331 if eval "test \"\${$as_ac_var+set}\" = set"; then
6332 echo $ECHO_N "(cached) $ECHO_C" >&6
6334 cat >conftest.
$ac_ext <<_ACEOF
6337 cat confdefs.h
>>conftest.
$ac_ext
6338 cat >>conftest.
$ac_ext <<_ACEOF
6339 /* end confdefs.h. */
6340 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
6341 For example, HP-UX 11i <limits.h> declares gettimeofday. */
6342 #define $ac_func innocuous_$ac_func
6344 /* System header to define __stub macros and hopefully few prototypes,
6345 which can conflict with char $ac_func (); below.
6346 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
6347 <limits.h> exists even on freestanding compilers. */
6350 # include <limits.h>
6352 # include <assert.h>
6357 /* Override any gcc2 internal prototype to avoid an error. */
6362 /* We use char because int might match the return type of a gcc2
6363 builtin and then its argument prototype would still apply. */
6365 /* The GNU C library defines this for functions which it implements
6366 to always fail with ENOSYS. Some functions are actually named
6367 something starting with __ and the normal name is an alias. */
6368 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
6371 char (*f) () = $ac_func;
6380 return f != $ac_func;
6385 rm -f conftest.
$ac_objext conftest
$ac_exeext
6386 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
6387 (eval $ac_link) 2>conftest.er1
6389 grep -v '^ *+' conftest.er1
>conftest.err
6391 cat conftest.err
>&5
6392 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6393 (exit $ac_status); } &&
6394 { ac_try
='test -z "$ac_c_werror_flag"
6395 || test ! -s conftest.err'
6396 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6399 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6400 (exit $ac_status); }; } &&
6401 { ac_try
='test -s conftest$ac_exeext'
6402 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6405 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6406 (exit $ac_status); }; }; then
6407 eval "$as_ac_var=yes"
6409 echo "$as_me: failed program was:" >&5
6410 sed 's/^/| /' conftest.
$ac_ext >&5
6412 eval "$as_ac_var=no"
6414 rm -f conftest.err conftest.
$ac_objext \
6415 conftest
$ac_exeext conftest.
$ac_ext
6417 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
6418 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
6419 if test `eval echo '${'$as_ac_var'}'` = yes; then
6420 cat >>confdefs.h
<<_ACEOF
6421 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
6428 echo "$as_me:$LINENO: checking whether time.h and sys/time.h may both be included" >&5
6429 echo $ECHO_N "checking whether time.h and sys/time.h may both be included... $ECHO_C" >&6
6430 if test "${ac_cv_header_time+set}" = set; then
6431 echo $ECHO_N "(cached) $ECHO_C" >&6
6433 cat >conftest.
$ac_ext <<_ACEOF
6436 cat confdefs.h
>>conftest.
$ac_ext
6437 cat >>conftest.
$ac_ext <<_ACEOF
6438 /* end confdefs.h. */
6439 #include <sys/types.h>
6440 #include <sys/time.h>
6446 if ((struct tm *) 0)
6452 rm -f conftest.
$ac_objext
6453 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6454 (eval $ac_compile) 2>conftest.er1
6456 grep -v '^ *+' conftest.er1
>conftest.err
6458 cat conftest.err
>&5
6459 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6460 (exit $ac_status); } &&
6461 { ac_try
='test -z "$ac_c_werror_flag"
6462 || test ! -s conftest.err'
6463 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6466 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6467 (exit $ac_status); }; } &&
6468 { ac_try
='test -s conftest.$ac_objext'
6469 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6472 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6473 (exit $ac_status); }; }; then
6474 ac_cv_header_time
=yes
6476 echo "$as_me: failed program was:" >&5
6477 sed 's/^/| /' conftest.
$ac_ext >&5
6479 ac_cv_header_time
=no
6481 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
6483 echo "$as_me:$LINENO: result: $ac_cv_header_time" >&5
6484 echo "${ECHO_T}$ac_cv_header_time" >&6
6485 if test $ac_cv_header_time = yes; then
6487 cat >>confdefs.h
<<\_ACEOF
6488 #define TIME_WITH_SYS_TIME 1
6493 echo "$as_me:$LINENO: checking whether struct tm is in sys/time.h or time.h" >&5
6494 echo $ECHO_N "checking whether struct tm is in sys/time.h or time.h... $ECHO_C" >&6
6495 if test "${ac_cv_struct_tm+set}" = set; then
6496 echo $ECHO_N "(cached) $ECHO_C" >&6
6498 cat >conftest.
$ac_ext <<_ACEOF
6501 cat confdefs.h
>>conftest.
$ac_ext
6502 cat >>conftest.
$ac_ext <<_ACEOF
6503 /* end confdefs.h. */
6504 #include <sys/types.h>
6510 struct tm *tp; tp->tm_sec;
6515 rm -f conftest.
$ac_objext
6516 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6517 (eval $ac_compile) 2>conftest.er1
6519 grep -v '^ *+' conftest.er1
>conftest.err
6521 cat conftest.err
>&5
6522 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6523 (exit $ac_status); } &&
6524 { ac_try
='test -z "$ac_c_werror_flag"
6525 || test ! -s conftest.err'
6526 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6529 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6530 (exit $ac_status); }; } &&
6531 { ac_try
='test -s conftest.$ac_objext'
6532 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6535 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6536 (exit $ac_status); }; }; then
6537 ac_cv_struct_tm
=time.h
6539 echo "$as_me: failed program was:" >&5
6540 sed 's/^/| /' conftest.
$ac_ext >&5
6542 ac_cv_struct_tm
=sys
/time.h
6544 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
6546 echo "$as_me:$LINENO: result: $ac_cv_struct_tm" >&5
6547 echo "${ECHO_T}$ac_cv_struct_tm" >&6
6548 if test $ac_cv_struct_tm = sys
/time.h
; then
6550 cat >>confdefs.h
<<\_ACEOF
6551 #define TM_IN_SYS_TIME 1
6556 echo "$as_me:$LINENO: checking for struct tm.tm_zone" >&5
6557 echo $ECHO_N "checking for struct tm.tm_zone... $ECHO_C" >&6
6558 if test "${ac_cv_member_struct_tm_tm_zone+set}" = set; then
6559 echo $ECHO_N "(cached) $ECHO_C" >&6
6561 cat >conftest.
$ac_ext <<_ACEOF
6564 cat confdefs.h
>>conftest.
$ac_ext
6565 cat >>conftest.
$ac_ext <<_ACEOF
6566 /* end confdefs.h. */
6567 #include <sys/types.h>
6568 #include <$ac_cv_struct_tm>
6574 static struct tm ac_aggr;
6575 if (ac_aggr.tm_zone)
6581 rm -f conftest.
$ac_objext
6582 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6583 (eval $ac_compile) 2>conftest.er1
6585 grep -v '^ *+' conftest.er1
>conftest.err
6587 cat conftest.err
>&5
6588 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6589 (exit $ac_status); } &&
6590 { ac_try
='test -z "$ac_c_werror_flag"
6591 || test ! -s conftest.err'
6592 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6595 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6596 (exit $ac_status); }; } &&
6597 { ac_try
='test -s conftest.$ac_objext'
6598 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6601 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6602 (exit $ac_status); }; }; then
6603 ac_cv_member_struct_tm_tm_zone
=yes
6605 echo "$as_me: failed program was:" >&5
6606 sed 's/^/| /' conftest.
$ac_ext >&5
6608 cat >conftest.
$ac_ext <<_ACEOF
6611 cat confdefs.h
>>conftest.
$ac_ext
6612 cat >>conftest.
$ac_ext <<_ACEOF
6613 /* end confdefs.h. */
6614 #include <sys/types.h>
6615 #include <$ac_cv_struct_tm>
6621 static struct tm ac_aggr;
6622 if (sizeof ac_aggr.tm_zone)
6628 rm -f conftest.
$ac_objext
6629 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6630 (eval $ac_compile) 2>conftest.er1
6632 grep -v '^ *+' conftest.er1
>conftest.err
6634 cat conftest.err
>&5
6635 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6636 (exit $ac_status); } &&
6637 { ac_try
='test -z "$ac_c_werror_flag"
6638 || test ! -s conftest.err'
6639 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6642 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6643 (exit $ac_status); }; } &&
6644 { ac_try
='test -s conftest.$ac_objext'
6645 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6648 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6649 (exit $ac_status); }; }; then
6650 ac_cv_member_struct_tm_tm_zone
=yes
6652 echo "$as_me: failed program was:" >&5
6653 sed 's/^/| /' conftest.
$ac_ext >&5
6655 ac_cv_member_struct_tm_tm_zone
=no
6657 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
6659 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
6661 echo "$as_me:$LINENO: result: $ac_cv_member_struct_tm_tm_zone" >&5
6662 echo "${ECHO_T}$ac_cv_member_struct_tm_tm_zone" >&6
6663 if test $ac_cv_member_struct_tm_tm_zone = yes; then
6665 cat >>confdefs.h
<<_ACEOF
6666 #define HAVE_STRUCT_TM_TM_ZONE 1
6672 if test "$ac_cv_member_struct_tm_tm_zone" = yes; then
6674 cat >>confdefs.h
<<\_ACEOF
6675 #define HAVE_TM_ZONE 1
6679 echo "$as_me:$LINENO: checking for tzname" >&5
6680 echo $ECHO_N "checking for tzname... $ECHO_C" >&6
6681 if test "${ac_cv_var_tzname+set}" = set; then
6682 echo $ECHO_N "(cached) $ECHO_C" >&6
6684 cat >conftest.
$ac_ext <<_ACEOF
6687 cat confdefs.h
>>conftest.
$ac_ext
6688 cat >>conftest.
$ac_ext <<_ACEOF
6689 /* end confdefs.h. */
6691 #ifndef tzname /* For SGI. */
6692 extern char *tzname[]; /* RS6000 and others reject char **tzname. */
6703 rm -f conftest.
$ac_objext conftest
$ac_exeext
6704 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
6705 (eval $ac_link) 2>conftest.er1
6707 grep -v '^ *+' conftest.er1
>conftest.err
6709 cat conftest.err
>&5
6710 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6711 (exit $ac_status); } &&
6712 { ac_try
='test -z "$ac_c_werror_flag"
6713 || test ! -s conftest.err'
6714 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6717 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6718 (exit $ac_status); }; } &&
6719 { ac_try
='test -s conftest$ac_exeext'
6720 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6723 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6724 (exit $ac_status); }; }; then
6725 ac_cv_var_tzname
=yes
6727 echo "$as_me: failed program was:" >&5
6728 sed 's/^/| /' conftest.
$ac_ext >&5
6732 rm -f conftest.err conftest.
$ac_objext \
6733 conftest
$ac_exeext conftest.
$ac_ext
6735 echo "$as_me:$LINENO: result: $ac_cv_var_tzname" >&5
6736 echo "${ECHO_T}$ac_cv_var_tzname" >&6
6737 if test $ac_cv_var_tzname = yes; then
6739 cat >>confdefs.h
<<\_ACEOF
6740 #define HAVE_TZNAME 1
6747 echo "$as_me:$LINENO: checking for tm_gmtoff in struct tm" >&5
6748 echo $ECHO_N "checking for tm_gmtoff in struct tm... $ECHO_C" >&6
6749 cat >conftest.
$ac_ext <<_ACEOF
6752 cat confdefs.h
>>conftest.
$ac_ext
6753 cat >>conftest.
$ac_ext <<_ACEOF
6754 /* end confdefs.h. */
6759 struct tm tim; tim.tm_gmtoff = 0;
6764 rm -f conftest.
$ac_objext
6765 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6766 (eval $ac_compile) 2>conftest.er1
6768 grep -v '^ *+' conftest.er1
>conftest.err
6770 cat conftest.err
>&5
6771 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6772 (exit $ac_status); } &&
6773 { ac_try
='test -z "$ac_c_werror_flag"
6774 || test ! -s conftest.err'
6775 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6778 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6779 (exit $ac_status); }; } &&
6780 { ac_try
='test -s conftest.$ac_objext'
6781 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6784 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6785 (exit $ac_status); }; }; then
6787 cat >>confdefs.h
<<\_ACEOF
6788 #define STRUCT_TM_HAS_GMTOFF 1
6791 echo "$as_me:$LINENO: result: yes" >&5
6792 echo "${ECHO_T}yes" >&6
6794 echo "$as_me: failed program was:" >&5
6795 sed 's/^/| /' conftest.
$ac_ext >&5
6797 echo "$as_me:$LINENO: result: no" >&5
6798 echo "${ECHO_T}no" >&6
6799 echo "$as_me:$LINENO: checking for global timezone variable" >&5
6800 echo $ECHO_N "checking for global timezone variable... $ECHO_C" >&6
6801 cat >conftest.
$ac_ext <<_ACEOF
6804 cat confdefs.h
>>conftest.
$ac_ext
6805 cat >>conftest.
$ac_ext <<_ACEOF
6806 /* end confdefs.h. */
6811 void i(){long z2 = 2*timezone;}
6816 rm -f conftest.
$ac_objext
6817 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6818 (eval $ac_compile) 2>conftest.er1
6820 grep -v '^ *+' conftest.er1
>conftest.err
6822 cat conftest.err
>&5
6823 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6824 (exit $ac_status); } &&
6825 { ac_try
='test -z "$ac_c_werror_flag"
6826 || test ! -s conftest.err'
6827 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6830 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6831 (exit $ac_status); }; } &&
6832 { ac_try
='test -s conftest.$ac_objext'
6833 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6836 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6837 (exit $ac_status); }; }; then
6839 cat >>confdefs.h
<<\_ACEOF
6840 #define HAVE_TIMEZONE 1
6843 echo "$as_me:$LINENO: result: yes" >&5
6844 echo "${ECHO_T}yes" >&6
6846 echo "$as_me: failed program was:" >&5
6847 sed 's/^/| /' conftest.
$ac_ext >&5
6849 echo "$as_me:$LINENO: result: no" >&5
6850 echo "${ECHO_T}no" >&6
6851 echo "$as_me:$LINENO: checking for global _timezone variable" >&5
6852 echo $ECHO_N "checking for global _timezone variable... $ECHO_C" >&6
6853 cat >conftest.
$ac_ext <<_ACEOF
6856 cat confdefs.h
>>conftest.
$ac_ext
6857 cat >>conftest.
$ac_ext <<_ACEOF
6858 /* end confdefs.h. */
6863 long z2 = _timezone;
6868 rm -f conftest.
$ac_objext
6869 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6870 (eval $ac_compile) 2>conftest.er1
6872 grep -v '^ *+' conftest.er1
>conftest.err
6874 cat conftest.err
>&5
6875 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6876 (exit $ac_status); } &&
6877 { ac_try
='test -z "$ac_c_werror_flag"
6878 || test ! -s conftest.err'
6879 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6882 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6883 (exit $ac_status); }; } &&
6884 { ac_try
='test -s conftest.$ac_objext'
6885 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6888 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6889 (exit $ac_status); }; }; then
6891 cat >>confdefs.h
<<\_ACEOF
6892 #define HAVE_UNDERSCORE_TIMEZONE 1
6895 echo "$as_me:$LINENO: result: yes" >&5
6896 echo "${ECHO_T}yes" >&6
6898 echo "$as_me: failed program was:" >&5
6899 sed 's/^/| /' conftest.
$ac_ext >&5
6901 echo "$as_me:$LINENO: result: no" >&5
6902 echo "${ECHO_T}no" >&6
6904 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
6906 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
6908 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
6910 echo "$as_me:$LINENO: checking for an ANSI C-conforming const" >&5
6911 echo $ECHO_N "checking for an ANSI C-conforming const... $ECHO_C" >&6
6912 if test "${ac_cv_c_const+set}" = set; then
6913 echo $ECHO_N "(cached) $ECHO_C" >&6
6915 cat >conftest.
$ac_ext <<_ACEOF
6918 cat confdefs.h
>>conftest.
$ac_ext
6919 cat >>conftest.
$ac_ext <<_ACEOF
6920 /* end confdefs.h. */
6925 /* FIXME: Include the comments suggested by Paul. */
6927 /* Ultrix mips cc rejects this. */
6928 typedef int charset[2];
6930 /* SunOS 4.1.1 cc rejects this. */
6931 char const *const *ccp;
6933 /* NEC SVR4.0.2 mips cc rejects this. */
6934 struct point {int x, y;};
6935 static struct point const zero = {0,0};
6936 /* AIX XL C 1.02.0.0 rejects this.
6937 It does not let you subtract one const X* pointer from another in
6938 an arm of an if-expression whose if-part is not a constant
6940 const char *g = "string";
6941 ccp = &g + (g ? g-g : 0);
6942 /* HPUX 7.0 cc rejects these. */
6945 ccp = (char const *const *) p;
6946 { /* SCO 3.2v4 cc rejects this. */
6948 char const *s = 0 ? (char *) 0 : (char const *) 0;
6952 { /* Someone thinks the Sun supposedly-ANSI compiler will reject this. */
6954 const int *foo = &x[0];
6957 { /* Sun SC1.0 ANSI compiler rejects this -- but not the above. */
6958 typedef const int *iptr;
6962 { /* AIX XL C 1.02.0.0 rejects this saying
6963 "k.c", line 2.27: 1506-025 (S) Operand must be a modifiable lvalue. */
6964 struct s { int j; const int *ap[3]; };
6965 struct s *b; b->j = 5;
6967 { /* ULTRIX-32 V3.1 (Rev 9) vcc rejects this */
6976 rm -f conftest.
$ac_objext
6977 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6978 (eval $ac_compile) 2>conftest.er1
6980 grep -v '^ *+' conftest.er1
>conftest.err
6982 cat conftest.err
>&5
6983 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6984 (exit $ac_status); } &&
6985 { ac_try
='test -z "$ac_c_werror_flag"
6986 || test ! -s conftest.err'
6987 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6990 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6991 (exit $ac_status); }; } &&
6992 { ac_try
='test -s conftest.$ac_objext'
6993 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6996 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6997 (exit $ac_status); }; }; then
7000 echo "$as_me: failed program was:" >&5
7001 sed 's/^/| /' conftest.
$ac_ext >&5
7005 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
7007 echo "$as_me:$LINENO: result: $ac_cv_c_const" >&5
7008 echo "${ECHO_T}$ac_cv_c_const" >&6
7009 if test $ac_cv_c_const = no
; then
7011 cat >>confdefs.h
<<\_ACEOF
7019 if test "X$prefix" = "XNONE"; then
7020 acl_final_prefix
="$ac_default_prefix"
7022 acl_final_prefix
="$prefix"
7024 if test "X$exec_prefix" = "XNONE"; then
7025 acl_final_exec_prefix
='${prefix}'
7027 acl_final_exec_prefix
="$exec_prefix"
7029 acl_save_prefix
="$prefix"
7030 prefix
="$acl_final_prefix"
7031 eval acl_final_exec_prefix
=\"$acl_final_exec_prefix\"
7032 prefix
="$acl_save_prefix"
7035 # Check whether --with-gnu-ld or --without-gnu-ld was given.
7036 if test "${with_gnu_ld+set}" = set; then
7037 withval
="$with_gnu_ld"
7038 test "$withval" = no || with_gnu_ld
=yes
7042 # Prepare PATH_SEPARATOR.
7043 # The user is always right.
7044 if test "${PATH_SEPARATOR+set}" != set; then
7045 echo "#! /bin/sh" >conf$$.sh
7046 echo "exit 0" >>conf$$.sh
7048 if (PATH
="/nonexistent;."; conf$$.sh
) >/dev
/null
2>&1; then
7056 if test "$GCC" = yes; then
7057 # Check if gcc -print-prog-name=ld gives a path.
7058 echo "$as_me:$LINENO: checking for ld used by GCC" >&5
7059 echo $ECHO_N "checking for ld used by GCC... $ECHO_C" >&6
7062 # gcc leaves a trailing carriage return which upsets mingw
7063 ac_prog
=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
7065 ac_prog
=`($CC -print-prog-name=ld) 2>&5` ;;
7068 # Accept absolute paths.
7069 [\\/]* |
[A-Za-z
]:[\\/]*)
7070 re_direlt
='/[^/][^/]*/\.\./'
7071 # Canonicalize the path of ld
7072 ac_prog
=`echo $ac_prog| sed 's%\\\\%/%g'`
7073 while echo $ac_prog |
grep "$re_direlt" > /dev
/null
2>&1; do
7074 ac_prog
=`echo $ac_prog| sed "s%$re_direlt%/%"`
7076 test -z "$LD" && LD
="$ac_prog"
7079 # If it fails, then pretend we aren't using GCC.
7083 # If it is relative, then search for the first ld in PATH.
7087 elif test "$with_gnu_ld" = yes; then
7088 echo "$as_me:$LINENO: checking for GNU ld" >&5
7089 echo $ECHO_N "checking for GNU ld... $ECHO_C" >&6
7091 echo "$as_me:$LINENO: checking for non-GNU ld" >&5
7092 echo $ECHO_N "checking for non-GNU ld... $ECHO_C" >&6
7094 if test "${acl_cv_path_LD+set}" = set; then
7095 echo $ECHO_N "(cached) $ECHO_C" >&6
7097 if test -z "$LD"; then
7098 IFS
="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}${PATH_SEPARATOR-:}"
7099 for ac_dir
in $PATH; do
7100 test -z "$ac_dir" && ac_dir
=.
7101 if test -f "$ac_dir/$ac_prog" ||
test -f "$ac_dir/$ac_prog$ac_exeext"; then
7102 acl_cv_path_LD
="$ac_dir/$ac_prog"
7103 # Check to see if the program is GNU ld. I'd rather use --version,
7104 # but apparently some GNU ld's only accept -v.
7105 # Break only if it was the GNU/non-GNU ld that we prefer.
7106 if "$acl_cv_path_LD" -v 2>&1 < /dev
/null |
egrep '(GNU|with BFD)' > /dev
/null
; then
7107 test "$with_gnu_ld" != no
&& break
7109 test "$with_gnu_ld" != yes && break
7115 acl_cv_path_LD
="$LD" # Let the user override the test with a path.
7119 LD
="$acl_cv_path_LD"
7120 if test -n "$LD"; then
7121 echo "$as_me:$LINENO: result: $LD" >&5
7122 echo "${ECHO_T}$LD" >&6
7124 echo "$as_me:$LINENO: result: no" >&5
7125 echo "${ECHO_T}no" >&6
7127 test -z "$LD" && { { echo "$as_me:$LINENO: error: no acceptable ld found in \$PATH" >&5
7128 echo "$as_me: error: no acceptable ld found in \$PATH" >&2;}
7129 { (exit 1); exit 1; }; }
7130 echo "$as_me:$LINENO: checking if the linker ($LD) is GNU ld" >&5
7131 echo $ECHO_N "checking if the linker ($LD) is GNU ld... $ECHO_C" >&6
7132 if test "${acl_cv_prog_gnu_ld+set}" = set; then
7133 echo $ECHO_N "(cached) $ECHO_C" >&6
7135 # I'd rather use --version here, but apparently some GNU ld's only accept -v.
7136 if $LD -v 2>&1 </dev
/null |
egrep '(GNU|with BFD)' 1>&5; then
7137 acl_cv_prog_gnu_ld
=yes
7139 acl_cv_prog_gnu_ld
=no
7142 echo "$as_me:$LINENO: result: $acl_cv_prog_gnu_ld" >&5
7143 echo "${ECHO_T}$acl_cv_prog_gnu_ld" >&6
7144 with_gnu_ld
=$acl_cv_prog_gnu_ld
7148 echo "$as_me:$LINENO: checking for shared library run path origin" >&5
7149 echo $ECHO_N "checking for shared library run path origin... $ECHO_C" >&6
7150 if test "${acl_cv_rpath+set}" = set; then
7151 echo $ECHO_N "(cached) $ECHO_C" >&6
7154 CC
="$CC" GCC
="$GCC" LDFLAGS
="$LDFLAGS" LD
="$LD" with_gnu_ld
="$with_gnu_ld" \
7155 ${CONFIG_SHELL-/bin/sh} "$ac_aux_dir/config.rpath" "$host" > conftest.sh
7161 echo "$as_me:$LINENO: result: $acl_cv_rpath" >&5
7162 echo "${ECHO_T}$acl_cv_rpath" >&6
7164 libext
="$acl_cv_libext"
7165 shlibext
="$acl_cv_shlibext"
7166 hardcode_libdir_flag_spec
="$acl_cv_hardcode_libdir_flag_spec"
7167 hardcode_libdir_separator
="$acl_cv_hardcode_libdir_separator"
7168 hardcode_direct
="$acl_cv_hardcode_direct"
7169 hardcode_minus_L
="$acl_cv_hardcode_minus_L"
7170 # Check whether --enable-rpath or --disable-rpath was given.
7171 if test "${enable_rpath+set}" = set; then
7172 enableval
="$enable_rpath"
7186 acl_save_prefix
="$prefix"
7187 prefix
="$acl_final_prefix"
7188 acl_save_exec_prefix
="$exec_prefix"
7189 exec_prefix
="$acl_final_exec_prefix"
7191 eval additional_includedir
=\"$includedir\"
7192 eval additional_libdir
=\"$libdir\"
7194 exec_prefix
="$acl_save_exec_prefix"
7195 prefix
="$acl_save_prefix"
7198 # Check whether --with-libiconv-prefix or --without-libiconv-prefix was given.
7199 if test "${with_libiconv_prefix+set}" = set; then
7200 withval
="$with_libiconv_prefix"
7202 if test "X$withval" = "Xno"; then
7205 if test "X$withval" = "X"; then
7207 acl_save_prefix
="$prefix"
7208 prefix
="$acl_final_prefix"
7209 acl_save_exec_prefix
="$exec_prefix"
7210 exec_prefix
="$acl_final_exec_prefix"
7212 eval additional_includedir
=\"$includedir\"
7213 eval additional_libdir
=\"$libdir\"
7215 exec_prefix
="$acl_save_exec_prefix"
7216 prefix
="$acl_save_prefix"
7219 additional_includedir
="$withval/include"
7220 additional_libdir
="$withval/lib"
7230 names_already_handled
=
7231 names_next_round
='iconv '
7232 while test -n "$names_next_round"; do
7233 names_this_round
="$names_next_round"
7235 for name
in $names_this_round; do
7237 for n
in $names_already_handled; do
7238 if test "$n" = "$name"; then
7243 if test -z "$already_handled"; then
7244 names_already_handled
="$names_already_handled $name"
7245 uppername
=`echo "$name" | sed -e 'y|abcdefghijklmnopqrstuvwxyz./-|ABCDEFGHIJKLMNOPQRSTUVWXYZ___|'`
7246 eval value
=\"\
$HAVE_LIB$uppername\"
7247 if test -n "$value"; then
7248 if test "$value" = yes; then
7249 eval value
=\"\
$LIB$uppername\"
7250 test -z "$value" || LIBICONV
="${LIBICONV}${LIBICONV:+ }$value"
7251 eval value
=\"\
$LTLIB$uppername\"
7252 test -z "$value" || LTLIBICONV
="${LTLIBICONV}${LTLIBICONV:+ }$value"
7261 if test $use_additional = yes; then
7262 if test -n "$shlibext" && test -f "$additional_libdir/lib$name.$shlibext"; then
7263 found_dir
="$additional_libdir"
7264 found_so
="$additional_libdir/lib$name.$shlibext"
7265 if test -f "$additional_libdir/lib$name.la"; then
7266 found_la
="$additional_libdir/lib$name.la"
7269 if test -f "$additional_libdir/lib$name.$libext"; then
7270 found_dir
="$additional_libdir"
7271 found_a
="$additional_libdir/lib$name.$libext"
7272 if test -f "$additional_libdir/lib$name.la"; then
7273 found_la
="$additional_libdir/lib$name.la"
7278 if test "X$found_dir" = "X"; then
7279 for x
in $LDFLAGS $LTLIBICONV; do
7281 acl_save_prefix
="$prefix"
7282 prefix
="$acl_final_prefix"
7283 acl_save_exec_prefix
="$exec_prefix"
7284 exec_prefix
="$acl_final_exec_prefix"
7286 exec_prefix
="$acl_save_exec_prefix"
7287 prefix
="$acl_save_prefix"
7291 dir
=`echo "X$x" | sed -e 's/^X-L//'`
7292 if test -n "$shlibext" && test -f "$dir/lib$name.$shlibext"; then
7294 found_so
="$dir/lib$name.$shlibext"
7295 if test -f "$dir/lib$name.la"; then
7296 found_la
="$dir/lib$name.la"
7299 if test -f "$dir/lib$name.$libext"; then
7301 found_a
="$dir/lib$name.$libext"
7302 if test -f "$dir/lib$name.la"; then
7303 found_la
="$dir/lib$name.la"
7309 if test "X$found_dir" != "X"; then
7314 if test "X$found_dir" != "X"; then
7315 LTLIBICONV
="${LTLIBICONV}${LTLIBICONV:+ }-L$found_dir -l$name"
7316 if test "X$found_so" != "X"; then
7317 if test "$enable_rpath" = no ||
test "X$found_dir" = "X/usr/lib"; then
7318 LIBICONV
="${LIBICONV}${LIBICONV:+ }$found_so"
7321 for x
in $ltrpathdirs; do
7322 if test "X$x" = "X$found_dir"; then
7327 if test -z "$haveit"; then
7328 ltrpathdirs
="$ltrpathdirs $found_dir"
7330 if test "$hardcode_direct" = yes; then
7331 LIBICONV
="${LIBICONV}${LIBICONV:+ }$found_so"
7333 if test -n "$hardcode_libdir_flag_spec" && test "$hardcode_minus_L" = no
; then
7334 LIBICONV
="${LIBICONV}${LIBICONV:+ }$found_so"
7336 for x
in $rpathdirs; do
7337 if test "X$x" = "X$found_dir"; then
7342 if test -z "$haveit"; then
7343 rpathdirs
="$rpathdirs $found_dir"
7347 for x
in $LDFLAGS $LIBICONV; do
7349 acl_save_prefix
="$prefix"
7350 prefix
="$acl_final_prefix"
7351 acl_save_exec_prefix
="$exec_prefix"
7352 exec_prefix
="$acl_final_exec_prefix"
7354 exec_prefix
="$acl_save_exec_prefix"
7355 prefix
="$acl_save_prefix"
7357 if test "X$x" = "X-L$found_dir"; then
7362 if test -z "$haveit"; then
7363 LIBICONV
="${LIBICONV}${LIBICONV:+ }-L$found_dir"
7365 if test "$hardcode_minus_L" != no
; then
7366 LIBICONV
="${LIBICONV}${LIBICONV:+ }$found_so"
7368 LIBICONV
="${LIBICONV}${LIBICONV:+ }-l$name"
7374 if test "X$found_a" != "X"; then
7375 LIBICONV
="${LIBICONV}${LIBICONV:+ }$found_a"
7377 LIBICONV
="${LIBICONV}${LIBICONV:+ }-L$found_dir -l$name"
7380 additional_includedir
=
7381 case "$found_dir" in
7383 basedir
=`echo "X$found_dir" | sed -e 's,^X,,' -e 's,/lib/*$,,'`
7384 additional_includedir
="$basedir/include"
7387 if test "X$additional_includedir" != "X"; then
7388 if test "X$additional_includedir" != "X/usr/include"; then
7390 if test "X$additional_includedir" = "X/usr/local/include"; then
7391 if test -n "$GCC"; then
7393 linux
*) haveit
=yes;;
7397 if test -z "$haveit"; then
7398 for x
in $CPPFLAGS $INCICONV; do
7400 acl_save_prefix
="$prefix"
7401 prefix
="$acl_final_prefix"
7402 acl_save_exec_prefix
="$exec_prefix"
7403 exec_prefix
="$acl_final_exec_prefix"
7405 exec_prefix
="$acl_save_exec_prefix"
7406 prefix
="$acl_save_prefix"
7408 if test "X$x" = "X-I$additional_includedir"; then
7413 if test -z "$haveit"; then
7414 if test -d "$additional_includedir"; then
7415 INCICONV
="${INCICONV}${INCICONV:+ }-I$additional_includedir"
7421 if test -n "$found_la"; then
7422 save_libdir
="$libdir"
7424 */* |
*\\*) .
"$found_la" ;;
7425 *) .
"./$found_la" ;;
7427 libdir
="$save_libdir"
7428 for dep
in $dependency_libs; do
7431 additional_libdir
=`echo "X$dep" | sed -e 's/^X-L//'`
7432 if test "X$additional_libdir" != "X/usr/lib"; then
7434 if test "X$additional_libdir" = "X/usr/local/lib"; then
7435 if test -n "$GCC"; then
7437 linux
*) haveit
=yes;;
7441 if test -z "$haveit"; then
7443 for x
in $LDFLAGS $LIBICONV; do
7445 acl_save_prefix
="$prefix"
7446 prefix
="$acl_final_prefix"
7447 acl_save_exec_prefix
="$exec_prefix"
7448 exec_prefix
="$acl_final_exec_prefix"
7450 exec_prefix
="$acl_save_exec_prefix"
7451 prefix
="$acl_save_prefix"
7453 if test "X$x" = "X-L$additional_libdir"; then
7458 if test -z "$haveit"; then
7459 if test -d "$additional_libdir"; then
7460 LIBICONV
="${LIBICONV}${LIBICONV:+ }-L$additional_libdir"
7464 for x
in $LDFLAGS $LTLIBICONV; do
7466 acl_save_prefix
="$prefix"
7467 prefix
="$acl_final_prefix"
7468 acl_save_exec_prefix
="$exec_prefix"
7469 exec_prefix
="$acl_final_exec_prefix"
7471 exec_prefix
="$acl_save_exec_prefix"
7472 prefix
="$acl_save_prefix"
7474 if test "X$x" = "X-L$additional_libdir"; then
7479 if test -z "$haveit"; then
7480 if test -d "$additional_libdir"; then
7481 LTLIBICONV
="${LTLIBICONV}${LTLIBICONV:+ }-L$additional_libdir"
7488 dir
=`echo "X$dep" | sed -e 's/^X-R//'`
7489 if test "$enable_rpath" != no
; then
7491 for x
in $rpathdirs; do
7492 if test "X$x" = "X$dir"; then
7497 if test -z "$haveit"; then
7498 rpathdirs
="$rpathdirs $dir"
7501 for x
in $ltrpathdirs; do
7502 if test "X$x" = "X$dir"; then
7507 if test -z "$haveit"; then
7508 ltrpathdirs
="$ltrpathdirs $dir"
7513 names_next_round
="$names_next_round "`echo "X$dep" | sed -e 's/^X-l//'`
7516 names_next_round
="$names_next_round "`echo "X$dep" | sed -e 's,^X.*/,,' -e 's,^lib,,' -e 's,\.la$,,'`
7519 LIBICONV
="${LIBICONV}${LIBICONV:+ }$dep"
7520 LTLIBICONV
="${LTLIBICONV}${LTLIBICONV:+ }$dep"
7526 LIBICONV
="${LIBICONV}${LIBICONV:+ }-l$name"
7527 LTLIBICONV
="${LTLIBICONV}${LTLIBICONV:+ }-l$name"
7533 if test "X$rpathdirs" != "X"; then
7534 if test -n "$hardcode_libdir_separator"; then
7536 for found_dir
in $rpathdirs; do
7537 alldirs
="${alldirs}${alldirs:+$hardcode_libdir_separator}$found_dir"
7539 acl_save_libdir
="$libdir"
7541 eval flag
=\"$hardcode_libdir_flag_spec\"
7542 libdir
="$acl_save_libdir"
7543 LIBICONV
="${LIBICONV}${LIBICONV:+ }$flag"
7545 for found_dir
in $rpathdirs; do
7546 acl_save_libdir
="$libdir"
7548 eval flag
=\"$hardcode_libdir_flag_spec\"
7549 libdir
="$acl_save_libdir"
7550 LIBICONV
="${LIBICONV}${LIBICONV:+ }$flag"
7554 if test "X$ltrpathdirs" != "X"; then
7555 for found_dir
in $ltrpathdirs; do
7556 LTLIBICONV
="${LTLIBICONV}${LTLIBICONV:+ }-R$found_dir"
7566 am_save_CPPFLAGS
="$CPPFLAGS"
7568 for element
in $INCICONV; do
7570 for x
in $CPPFLAGS; do
7572 acl_save_prefix
="$prefix"
7573 prefix
="$acl_final_prefix"
7574 acl_save_exec_prefix
="$exec_prefix"
7575 exec_prefix
="$acl_final_exec_prefix"
7577 exec_prefix
="$acl_save_exec_prefix"
7578 prefix
="$acl_save_prefix"
7580 if test "X$x" = "X$element"; then
7585 if test -z "$haveit"; then
7586 CPPFLAGS
="${CPPFLAGS}${CPPFLAGS:+ }$element"
7591 echo "$as_me:$LINENO: checking for iconv" >&5
7592 echo $ECHO_N "checking for iconv... $ECHO_C" >&6
7593 if test "${am_cv_func_iconv+set}" = set; then
7594 echo $ECHO_N "(cached) $ECHO_C" >&6
7597 am_cv_func_iconv
="no, consider installing GNU libiconv"
7599 cat >conftest.
$ac_ext <<_ACEOF
7602 cat confdefs.h
>>conftest.
$ac_ext
7603 cat >>conftest.
$ac_ext <<_ACEOF
7604 /* end confdefs.h. */
7610 iconv_t cd = iconv_open("","");
7611 iconv(cd,NULL,NULL,NULL,NULL);
7617 rm -f conftest.
$ac_objext conftest
$ac_exeext
7618 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
7619 (eval $ac_link) 2>conftest.er1
7621 grep -v '^ *+' conftest.er1
>conftest.err
7623 cat conftest.err
>&5
7624 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7625 (exit $ac_status); } &&
7626 { ac_try
='test -z "$ac_c_werror_flag"
7627 || test ! -s conftest.err'
7628 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7631 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7632 (exit $ac_status); }; } &&
7633 { ac_try
='test -s conftest$ac_exeext'
7634 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7637 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7638 (exit $ac_status); }; }; then
7639 am_cv_func_iconv
=yes
7641 echo "$as_me: failed program was:" >&5
7642 sed 's/^/| /' conftest.
$ac_ext >&5
7645 rm -f conftest.err conftest.
$ac_objext \
7646 conftest
$ac_exeext conftest.
$ac_ext
7647 if test "$am_cv_func_iconv" != yes; then
7648 am_save_LIBS
="$LIBS"
7649 LIBS
="$LIBS $LIBICONV"
7650 cat >conftest.
$ac_ext <<_ACEOF
7653 cat confdefs.h
>>conftest.
$ac_ext
7654 cat >>conftest.
$ac_ext <<_ACEOF
7655 /* end confdefs.h. */
7661 iconv_t cd = iconv_open("","");
7662 iconv(cd,NULL,NULL,NULL,NULL);
7668 rm -f conftest.
$ac_objext conftest
$ac_exeext
7669 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
7670 (eval $ac_link) 2>conftest.er1
7672 grep -v '^ *+' conftest.er1
>conftest.err
7674 cat conftest.err
>&5
7675 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7676 (exit $ac_status); } &&
7677 { ac_try
='test -z "$ac_c_werror_flag"
7678 || test ! -s conftest.err'
7679 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7682 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7683 (exit $ac_status); }; } &&
7684 { ac_try
='test -s conftest$ac_exeext'
7685 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7688 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7689 (exit $ac_status); }; }; then
7691 am_cv_func_iconv
=yes
7693 echo "$as_me: failed program was:" >&5
7694 sed 's/^/| /' conftest.
$ac_ext >&5
7697 rm -f conftest.err conftest.
$ac_objext \
7698 conftest
$ac_exeext conftest.
$ac_ext
7699 LIBS
="$am_save_LIBS"
7703 echo "$as_me:$LINENO: result: $am_cv_func_iconv" >&5
7704 echo "${ECHO_T}$am_cv_func_iconv" >&6
7705 if test "$am_cv_func_iconv" = yes; then
7707 cat >>confdefs.h
<<\_ACEOF
7708 #define HAVE_ICONV 1
7712 if test "$am_cv_lib_iconv" = yes; then
7713 echo "$as_me:$LINENO: checking how to link with libiconv" >&5
7714 echo $ECHO_N "checking how to link with libiconv... $ECHO_C" >&6
7715 echo "$as_me:$LINENO: result: $LIBICONV" >&5
7716 echo "${ECHO_T}$LIBICONV" >&6
7718 CPPFLAGS
="$am_save_CPPFLAGS"
7725 if test "$am_cv_func_iconv" = yes; then
7726 echo "$as_me:$LINENO: checking for iconv declaration" >&5
7727 echo $ECHO_N "checking for iconv declaration... $ECHO_C" >&6
7728 if test "${am_cv_proto_iconv+set}" = set; then
7729 echo $ECHO_N "(cached) $ECHO_C" >&6
7732 cat >conftest.
$ac_ext <<_ACEOF
7735 cat confdefs.h
>>conftest.
$ac_ext
7736 cat >>conftest.
$ac_ext <<_ACEOF
7737 /* end confdefs.h. */
7745 #if defined(__STDC__) || defined(__cplusplus)
7746 size_t iconv (iconv_t cd, char * *inbuf, size_t *inbytesleft, char * *outbuf, size_t *outbytesleft);
7759 rm -f conftest.
$ac_objext
7760 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7761 (eval $ac_compile) 2>conftest.er1
7763 grep -v '^ *+' conftest.er1
>conftest.err
7765 cat conftest.err
>&5
7766 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7767 (exit $ac_status); } &&
7768 { ac_try
='test -z "$ac_c_werror_flag"
7769 || test ! -s conftest.err'
7770 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7773 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7774 (exit $ac_status); }; } &&
7775 { ac_try
='test -s conftest.$ac_objext'
7776 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7779 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7780 (exit $ac_status); }; }; then
7781 am_cv_proto_iconv_arg1
=""
7783 echo "$as_me: failed program was:" >&5
7784 sed 's/^/| /' conftest.
$ac_ext >&5
7786 am_cv_proto_iconv_arg1
="const"
7788 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
7789 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);"
7792 am_cv_proto_iconv
=`echo "$am_cv_proto_iconv" | tr -s ' ' | sed -e 's/( /(/'`
7793 echo "$as_me:$LINENO: result: ${ac_t:-
7794 }$am_cv_proto_iconv" >&5
7795 echo "${ECHO_T}${ac_t:-
7796 }$am_cv_proto_iconv" >&6
7798 cat >>confdefs.h
<<_ACEOF
7799 #define ICONV_CONST $am_cv_proto_iconv_arg1
7805 if test "x${GCC}" = xyes
; then
7807 WARNING_CFLAGS
='-pedantic -W -Wall -Wmissing-declarations -Wwrite-strings -Wmissing-prototypes -Wno-long-long'
7810 STRICT_WARNING_CFLAGS
=-Wstrict-prototypes
7814 if test "x${ENABLE_WERROR}" = xyes
; then
7815 ERROR_CFLAGS
='-Werror'
7820 if test "x${COMPILE_XMLJ}" = xyes
; then
7824 if test -z "$PKG_CONFIG"; then
7825 # Extract the first word of "pkg-config", so it can be a program name with args.
7826 set dummy pkg-config
; ac_word
=$2
7827 echo "$as_me:$LINENO: checking for $ac_word" >&5
7828 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
7829 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
7830 echo $ECHO_N "(cached) $ECHO_C" >&6
7834 ac_cv_path_PKG_CONFIG
="$PKG_CONFIG" # Let the user override the test with a path.
7837 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7841 test -z "$as_dir" && as_dir
=.
7842 for ac_exec_ext
in '' $ac_executable_extensions; do
7843 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7844 ac_cv_path_PKG_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
7845 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
7851 test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG
="no"
7855 PKG_CONFIG
=$ac_cv_path_PKG_CONFIG
7857 if test -n "$PKG_CONFIG"; then
7858 echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
7859 echo "${ECHO_T}$PKG_CONFIG" >&6
7861 echo "$as_me:$LINENO: result: no" >&5
7862 echo "${ECHO_T}no" >&6
7867 if test "$PKG_CONFIG" = "no" ; then
7868 echo "*** The pkg-config script could not be found. Make sure it is"
7869 echo "*** in your path, or set the PKG_CONFIG environment variable"
7870 echo "*** to the full path to pkg-config."
7871 echo "*** Or see http://www.freedesktop.org/software/pkgconfig to get pkg-config."
7873 PKG_CONFIG_MIN_VERSION
=0.9.0
7874 if $PKG_CONFIG --atleast-pkgconfig-version $PKG_CONFIG_MIN_VERSION; then
7875 echo "$as_me:$LINENO: checking for libxml-2.0 >= 2.6.8" >&5
7876 echo $ECHO_N "checking for libxml-2.0 >= 2.6.8... $ECHO_C" >&6
7878 if $PKG_CONFIG --exists "libxml-2.0 >= 2.6.8" ; then
7879 echo "$as_me:$LINENO: result: yes" >&5
7880 echo "${ECHO_T}yes" >&6
7883 echo "$as_me:$LINENO: checking XML_CFLAGS" >&5
7884 echo $ECHO_N "checking XML_CFLAGS... $ECHO_C" >&6
7885 XML_CFLAGS
=`$PKG_CONFIG --cflags "libxml-2.0 >= 2.6.8"`
7886 echo "$as_me:$LINENO: result: $XML_CFLAGS" >&5
7887 echo "${ECHO_T}$XML_CFLAGS" >&6
7889 echo "$as_me:$LINENO: checking XML_LIBS" >&5
7890 echo $ECHO_N "checking XML_LIBS... $ECHO_C" >&6
7891 XML_LIBS
=`$PKG_CONFIG --libs "libxml-2.0 >= 2.6.8"`
7892 echo "$as_me:$LINENO: result: $XML_LIBS" >&5
7893 echo "${ECHO_T}$XML_LIBS" >&6
7897 ## If we have a custom action on failure, don't print errors, but
7898 ## do set a variable so people can do so.
7899 XML_PKG_ERRORS
=`$PKG_CONFIG --errors-to-stdout --print-errors "libxml-2.0 >= 2.6.8"`
7900 echo $XML_PKG_ERRORS
7906 echo "*** Your version of pkg-config is too old. You need version $PKG_CONFIG_MIN_VERSION or newer."
7907 echo "*** See http://www.freedesktop.org/software/pkgconfig"
7911 if test $succeeded = yes; then
7914 { { 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
7915 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;}
7916 { (exit 1); exit 1; }; }
7922 if test -z "$PKG_CONFIG"; then
7923 # Extract the first word of "pkg-config", so it can be a program name with args.
7924 set dummy pkg-config
; ac_word
=$2
7925 echo "$as_me:$LINENO: checking for $ac_word" >&5
7926 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
7927 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
7928 echo $ECHO_N "(cached) $ECHO_C" >&6
7932 ac_cv_path_PKG_CONFIG
="$PKG_CONFIG" # Let the user override the test with a path.
7935 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7939 test -z "$as_dir" && as_dir
=.
7940 for ac_exec_ext
in '' $ac_executable_extensions; do
7941 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7942 ac_cv_path_PKG_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
7943 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
7949 test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG
="no"
7953 PKG_CONFIG
=$ac_cv_path_PKG_CONFIG
7955 if test -n "$PKG_CONFIG"; then
7956 echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
7957 echo "${ECHO_T}$PKG_CONFIG" >&6
7959 echo "$as_me:$LINENO: result: no" >&5
7960 echo "${ECHO_T}no" >&6
7965 if test "$PKG_CONFIG" = "no" ; then
7966 echo "*** The pkg-config script could not be found. Make sure it is"
7967 echo "*** in your path, or set the PKG_CONFIG environment variable"
7968 echo "*** to the full path to pkg-config."
7969 echo "*** Or see http://www.freedesktop.org/software/pkgconfig to get pkg-config."
7971 PKG_CONFIG_MIN_VERSION
=0.9.0
7972 if $PKG_CONFIG --atleast-pkgconfig-version $PKG_CONFIG_MIN_VERSION; then
7973 echo "$as_me:$LINENO: checking for libxslt >= 1.1.11" >&5
7974 echo $ECHO_N "checking for libxslt >= 1.1.11... $ECHO_C" >&6
7976 if $PKG_CONFIG --exists "libxslt >= 1.1.11" ; then
7977 echo "$as_me:$LINENO: result: yes" >&5
7978 echo "${ECHO_T}yes" >&6
7981 echo "$as_me:$LINENO: checking XSLT_CFLAGS" >&5
7982 echo $ECHO_N "checking XSLT_CFLAGS... $ECHO_C" >&6
7983 XSLT_CFLAGS
=`$PKG_CONFIG --cflags "libxslt >= 1.1.11"`
7984 echo "$as_me:$LINENO: result: $XSLT_CFLAGS" >&5
7985 echo "${ECHO_T}$XSLT_CFLAGS" >&6
7987 echo "$as_me:$LINENO: checking XSLT_LIBS" >&5
7988 echo $ECHO_N "checking XSLT_LIBS... $ECHO_C" >&6
7989 XSLT_LIBS
=`$PKG_CONFIG --libs "libxslt >= 1.1.11"`
7990 echo "$as_me:$LINENO: result: $XSLT_LIBS" >&5
7991 echo "${ECHO_T}$XSLT_LIBS" >&6
7995 ## If we have a custom action on failure, don't print errors, but
7996 ## do set a variable so people can do so.
7997 XSLT_PKG_ERRORS
=`$PKG_CONFIG --errors-to-stdout --print-errors "libxslt >= 1.1.11"`
7998 echo $XSLT_PKG_ERRORS
8004 echo "*** Your version of pkg-config is too old. You need version $PKG_CONFIG_MIN_VERSION or newer."
8005 echo "*** See http://www.freedesktop.org/software/pkgconfig"
8009 if test $succeeded = yes; then
8012 { { 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
8013 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;}
8014 { (exit 1); exit 1; }; }
8023 if test "x${COMPILE_GTK_PEER}" = xyes
; then
8024 echo "$as_me:$LINENO: checking for X" >&5
8025 echo $ECHO_N "checking for X... $ECHO_C" >&6
8028 # Check whether --with-x or --without-x was given.
8029 if test "${with_x+set}" = set; then
8033 # $have_x is `yes', `no', `disabled', or empty when we do not yet know.
8034 if test "x$with_x" = xno
; then
8035 # The user explicitly disabled X.
8038 if test "x$x_includes" != xNONE
&& test "x$x_libraries" != xNONE
; then
8039 # Both variables are already set.
8042 if test "${ac_cv_have_x+set}" = set; then
8043 echo $ECHO_N "(cached) $ECHO_C" >&6
8045 # One or both of the vars are not set, and there is no cached value.
8046 ac_x_includes
=no ac_x_libraries
=no
8048 if mkdir conftest.dir
; then
8050 # Make sure to not put "make" in the Imakefile rules, since we grep it out.
8051 cat >Imakefile
<<'_ACEOF'
8053 @echo 'ac_im_incroot="${INCROOT}"; ac_im_usrlibdir="${USRLIBDIR}"; ac_im_libdir="${LIBDIR}"'
8055 if (xmkmf
) >/dev
/null
2>/dev
/null
&& test -f Makefile
; then
8056 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
8057 eval `${MAKE-make} acfindx 2>/dev/null | grep -v make`
8058 # Open Windows xmkmf reportedly sets LIBDIR instead of USRLIBDIR.
8059 for ac_extension
in a so sl
; do
8060 if test ! -f $ac_im_usrlibdir/libX11.
$ac_extension &&
8061 test -f $ac_im_libdir/libX11.
$ac_extension; then
8062 ac_im_usrlibdir
=$ac_im_libdir; break
8065 # Screen out bogus values from the imake configuration. They are
8066 # bogus both because they are the default anyway, and because
8067 # using them would break gcc on systems where it needs fixed includes.
8068 case $ac_im_incroot in
8070 *) test -f "$ac_im_incroot/X11/Xos.h" && ac_x_includes
=$ac_im_incroot;;
8072 case $ac_im_usrlibdir in
8074 *) test -d "$ac_im_usrlibdir" && ac_x_libraries
=$ac_im_usrlibdir ;;
8081 # Standard set of common directories for X headers.
8082 # Check X11 before X11Rn because it is often a symlink to the current release.
8094 /usr/local/X11/include
8095 /usr/local/X11R6/include
8096 /usr/local/X11R5/include
8097 /usr/local/X11R4/include
8099 /usr/local/include/X11
8100 /usr/local/include/X11R6
8101 /usr/local/include/X11R5
8102 /usr/local/include/X11R4
8106 /usr/XFree86/include/X11
8110 /usr/unsupported/include
8112 /usr/local/x11r5/include
8113 /usr/lpp/Xamples/include
8115 /usr/openwin/include
8116 /usr/openwin/share/include'
8118 if test "$ac_x_includes" = no
; then
8119 # Guess where to find include files, by looking for Intrinsic.h.
8120 # First, try using that file with no special directory specified.
8121 cat >conftest.
$ac_ext <<_ACEOF
8124 cat confdefs.h
>>conftest.
$ac_ext
8125 cat >>conftest.
$ac_ext <<_ACEOF
8126 /* end confdefs.h. */
8127 #include <X11/Intrinsic.h>
8129 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
8130 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
8132 grep -v '^ *+' conftest.er1
>conftest.err
8134 cat conftest.err
>&5
8135 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8136 (exit $ac_status); } >/dev
/null
; then
8137 if test -s conftest.err
; then
8138 ac_cpp_err
=$ac_c_preproc_warn_flag
8139 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
8146 if test -z "$ac_cpp_err"; then
8147 # We can compile using X headers with no special include directory.
8150 echo "$as_me: failed program was:" >&5
8151 sed 's/^/| /' conftest.
$ac_ext >&5
8153 for ac_dir
in $ac_x_header_dirs; do
8154 if test -r "$ac_dir/X11/Intrinsic.h"; then
8155 ac_x_includes
=$ac_dir
8160 rm -f conftest.err conftest.
$ac_ext
8161 fi # $ac_x_includes = no
8163 if test "$ac_x_libraries" = no
; then
8164 # Check for the libraries.
8165 # See if we find them without any special options.
8166 # Don't add to $LIBS permanently.
8169 cat >conftest.
$ac_ext <<_ACEOF
8172 cat confdefs.h
>>conftest.
$ac_ext
8173 cat >>conftest.
$ac_ext <<_ACEOF
8174 /* end confdefs.h. */
8175 #include <X11/Intrinsic.h>
8184 rm -f conftest.
$ac_objext conftest
$ac_exeext
8185 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8186 (eval $ac_link) 2>conftest.er1
8188 grep -v '^ *+' conftest.er1
>conftest.err
8190 cat conftest.err
>&5
8191 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8192 (exit $ac_status); } &&
8193 { ac_try
='test -z "$ac_c_werror_flag"
8194 || test ! -s conftest.err'
8195 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8198 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8199 (exit $ac_status); }; } &&
8200 { ac_try
='test -s conftest$ac_exeext'
8201 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8204 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8205 (exit $ac_status); }; }; then
8207 # We can link X programs with no special library path.
8210 echo "$as_me: failed program was:" >&5
8211 sed 's/^/| /' conftest.
$ac_ext >&5
8214 for ac_dir
in `echo "$ac_x_includes $ac_x_header_dirs" | sed s/include/lib/g`
8216 # Don't even attempt the hair of trying to link an X program!
8217 for ac_extension
in a so sl
; do
8218 if test -r $ac_dir/libXt.
$ac_extension; then
8219 ac_x_libraries
=$ac_dir
8225 rm -f conftest.err conftest.
$ac_objext \
8226 conftest
$ac_exeext conftest.
$ac_ext
8227 fi # $ac_x_libraries = no
8229 if test "$ac_x_includes" = no ||
test "$ac_x_libraries" = no
; then
8230 # Didn't find X anywhere. Cache the known absence of X.
8231 ac_cv_have_x
="have_x=no"
8233 # Record where we found X for the cache.
8234 ac_cv_have_x
="have_x=yes \
8235 ac_x_includes=$ac_x_includes ac_x_libraries=$ac_x_libraries"
8240 eval "$ac_cv_have_x"
8243 if test "$have_x" != yes; then
8244 echo "$as_me:$LINENO: result: $have_x" >&5
8245 echo "${ECHO_T}$have_x" >&6
8248 # If each of the values was on the command line, it overrides each guess.
8249 test "x$x_includes" = xNONE
&& x_includes
=$ac_x_includes
8250 test "x$x_libraries" = xNONE
&& x_libraries
=$ac_x_libraries
8251 # Update the cache value to reflect the command line values.
8252 ac_cv_have_x
="have_x=yes \
8253 ac_x_includes=$x_includes ac_x_libraries=$x_libraries"
8254 echo "$as_me:$LINENO: result: libraries $x_libraries, headers $x_includes" >&5
8255 echo "${ECHO_T}libraries $x_libraries, headers $x_includes" >&6
8258 if test "$no_x" = yes; then
8259 # Not all programs may use this symbol, but it does not hurt to define it.
8261 cat >>confdefs.h
<<\_ACEOF
8262 #define X_DISPLAY_MISSING 1
8265 X_CFLAGS
= X_PRE_LIBS
= X_LIBS
= X_EXTRA_LIBS
=
8267 if test -n "$x_includes"; then
8268 X_CFLAGS
="$X_CFLAGS -I$x_includes"
8271 # It would also be nice to do this for all -L options, not just this one.
8272 if test -n "$x_libraries"; then
8273 X_LIBS
="$X_LIBS -L$x_libraries"
8274 # For Solaris; some versions of Sun CC require a space after -R and
8275 # others require no space. Words are not sufficient . . . .
8276 case `(uname -sr) 2>/dev/null` in
8278 echo "$as_me:$LINENO: checking whether -R must be followed by a space" >&5
8279 echo $ECHO_N "checking whether -R must be followed by a space... $ECHO_C" >&6
8280 ac_xsave_LIBS
=$LIBS; LIBS
="$LIBS -R$x_libraries"
8281 cat >conftest.
$ac_ext <<_ACEOF
8284 cat confdefs.h
>>conftest.
$ac_ext
8285 cat >>conftest.
$ac_ext <<_ACEOF
8286 /* end confdefs.h. */
8296 rm -f conftest.
$ac_objext conftest
$ac_exeext
8297 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8298 (eval $ac_link) 2>conftest.er1
8300 grep -v '^ *+' conftest.er1
>conftest.err
8302 cat conftest.err
>&5
8303 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8304 (exit $ac_status); } &&
8305 { ac_try
='test -z "$ac_c_werror_flag"
8306 || test ! -s conftest.err'
8307 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8310 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8311 (exit $ac_status); }; } &&
8312 { ac_try
='test -s conftest$ac_exeext'
8313 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8316 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8317 (exit $ac_status); }; }; then
8320 echo "$as_me: failed program was:" >&5
8321 sed 's/^/| /' conftest.
$ac_ext >&5
8325 rm -f conftest.err conftest.
$ac_objext \
8326 conftest
$ac_exeext conftest.
$ac_ext
8327 if test $ac_R_nospace = yes; then
8328 echo "$as_me:$LINENO: result: no" >&5
8329 echo "${ECHO_T}no" >&6
8330 X_LIBS
="$X_LIBS -R$x_libraries"
8332 LIBS
="$ac_xsave_LIBS -R $x_libraries"
8333 cat >conftest.
$ac_ext <<_ACEOF
8336 cat confdefs.h
>>conftest.
$ac_ext
8337 cat >>conftest.
$ac_ext <<_ACEOF
8338 /* end confdefs.h. */
8348 rm -f conftest.
$ac_objext conftest
$ac_exeext
8349 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8350 (eval $ac_link) 2>conftest.er1
8352 grep -v '^ *+' conftest.er1
>conftest.err
8354 cat conftest.err
>&5
8355 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8356 (exit $ac_status); } &&
8357 { ac_try
='test -z "$ac_c_werror_flag"
8358 || test ! -s conftest.err'
8359 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8362 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8363 (exit $ac_status); }; } &&
8364 { ac_try
='test -s conftest$ac_exeext'
8365 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8368 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8369 (exit $ac_status); }; }; then
8372 echo "$as_me: failed program was:" >&5
8373 sed 's/^/| /' conftest.
$ac_ext >&5
8377 rm -f conftest.err conftest.
$ac_objext \
8378 conftest
$ac_exeext conftest.
$ac_ext
8379 if test $ac_R_space = yes; then
8380 echo "$as_me:$LINENO: result: yes" >&5
8381 echo "${ECHO_T}yes" >&6
8382 X_LIBS
="$X_LIBS -R $x_libraries"
8384 echo "$as_me:$LINENO: result: neither works" >&5
8385 echo "${ECHO_T}neither works" >&6
8392 # Check for system-dependent libraries X programs must link with.
8393 # Do this before checking for the system-independent R6 libraries
8394 # (-lICE), since we may need -lsocket or whatever for X linking.
8396 if test "$ISC" = yes; then
8397 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lnsl_s -linet"
8399 # Martyn Johnson says this is needed for Ultrix, if the X
8400 # libraries were built with DECnet support. And Karl Berry says
8401 # the Alpha needs dnet_stub (dnet does not exist).
8402 ac_xsave_LIBS
="$LIBS"; LIBS
="$LIBS $X_LIBS -lX11"
8403 cat >conftest.
$ac_ext <<_ACEOF
8406 cat confdefs.h
>>conftest.
$ac_ext
8407 cat >>conftest.
$ac_ext <<_ACEOF
8408 /* end confdefs.h. */
8410 /* Override any gcc2 internal prototype to avoid an error. */
8414 /* We use char because int might match the return type of a gcc2
8415 builtin and then its argument prototype would still apply. */
8416 char XOpenDisplay ();
8425 rm -f conftest.
$ac_objext conftest
$ac_exeext
8426 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8427 (eval $ac_link) 2>conftest.er1
8429 grep -v '^ *+' conftest.er1
>conftest.err
8431 cat conftest.err
>&5
8432 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8433 (exit $ac_status); } &&
8434 { ac_try
='test -z "$ac_c_werror_flag"
8435 || test ! -s conftest.err'
8436 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8439 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8440 (exit $ac_status); }; } &&
8441 { ac_try
='test -s conftest$ac_exeext'
8442 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8445 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8446 (exit $ac_status); }; }; then
8449 echo "$as_me: failed program was:" >&5
8450 sed 's/^/| /' conftest.
$ac_ext >&5
8452 echo "$as_me:$LINENO: checking for dnet_ntoa in -ldnet" >&5
8453 echo $ECHO_N "checking for dnet_ntoa in -ldnet... $ECHO_C" >&6
8454 if test "${ac_cv_lib_dnet_dnet_ntoa+set}" = set; then
8455 echo $ECHO_N "(cached) $ECHO_C" >&6
8457 ac_check_lib_save_LIBS
=$LIBS
8459 cat >conftest.
$ac_ext <<_ACEOF
8462 cat confdefs.h
>>conftest.
$ac_ext
8463 cat >>conftest.
$ac_ext <<_ACEOF
8464 /* end confdefs.h. */
8466 /* Override any gcc2 internal prototype to avoid an error. */
8470 /* We use char because int might match the return type of a gcc2
8471 builtin and then its argument prototype would still apply. */
8481 rm -f conftest.
$ac_objext conftest
$ac_exeext
8482 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8483 (eval $ac_link) 2>conftest.er1
8485 grep -v '^ *+' conftest.er1
>conftest.err
8487 cat conftest.err
>&5
8488 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8489 (exit $ac_status); } &&
8490 { ac_try
='test -z "$ac_c_werror_flag"
8491 || test ! -s conftest.err'
8492 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8495 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8496 (exit $ac_status); }; } &&
8497 { ac_try
='test -s conftest$ac_exeext'
8498 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8501 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8502 (exit $ac_status); }; }; then
8503 ac_cv_lib_dnet_dnet_ntoa
=yes
8505 echo "$as_me: failed program was:" >&5
8506 sed 's/^/| /' conftest.
$ac_ext >&5
8508 ac_cv_lib_dnet_dnet_ntoa
=no
8510 rm -f conftest.err conftest.
$ac_objext \
8511 conftest
$ac_exeext conftest.
$ac_ext
8512 LIBS
=$ac_check_lib_save_LIBS
8514 echo "$as_me:$LINENO: result: $ac_cv_lib_dnet_dnet_ntoa" >&5
8515 echo "${ECHO_T}$ac_cv_lib_dnet_dnet_ntoa" >&6
8516 if test $ac_cv_lib_dnet_dnet_ntoa = yes; then
8517 X_EXTRA_LIBS
="$X_EXTRA_LIBS -ldnet"
8520 if test $ac_cv_lib_dnet_dnet_ntoa = no
; then
8521 echo "$as_me:$LINENO: checking for dnet_ntoa in -ldnet_stub" >&5
8522 echo $ECHO_N "checking for dnet_ntoa in -ldnet_stub... $ECHO_C" >&6
8523 if test "${ac_cv_lib_dnet_stub_dnet_ntoa+set}" = set; then
8524 echo $ECHO_N "(cached) $ECHO_C" >&6
8526 ac_check_lib_save_LIBS
=$LIBS
8527 LIBS
="-ldnet_stub $LIBS"
8528 cat >conftest.
$ac_ext <<_ACEOF
8531 cat confdefs.h
>>conftest.
$ac_ext
8532 cat >>conftest.
$ac_ext <<_ACEOF
8533 /* end confdefs.h. */
8535 /* Override any gcc2 internal prototype to avoid an error. */
8539 /* We use char because int might match the return type of a gcc2
8540 builtin and then its argument prototype would still apply. */
8550 rm -f conftest.
$ac_objext conftest
$ac_exeext
8551 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8552 (eval $ac_link) 2>conftest.er1
8554 grep -v '^ *+' conftest.er1
>conftest.err
8556 cat conftest.err
>&5
8557 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8558 (exit $ac_status); } &&
8559 { ac_try
='test -z "$ac_c_werror_flag"
8560 || test ! -s conftest.err'
8561 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8564 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8565 (exit $ac_status); }; } &&
8566 { ac_try
='test -s conftest$ac_exeext'
8567 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8570 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8571 (exit $ac_status); }; }; then
8572 ac_cv_lib_dnet_stub_dnet_ntoa
=yes
8574 echo "$as_me: failed program was:" >&5
8575 sed 's/^/| /' conftest.
$ac_ext >&5
8577 ac_cv_lib_dnet_stub_dnet_ntoa
=no
8579 rm -f conftest.err conftest.
$ac_objext \
8580 conftest
$ac_exeext conftest.
$ac_ext
8581 LIBS
=$ac_check_lib_save_LIBS
8583 echo "$as_me:$LINENO: result: $ac_cv_lib_dnet_stub_dnet_ntoa" >&5
8584 echo "${ECHO_T}$ac_cv_lib_dnet_stub_dnet_ntoa" >&6
8585 if test $ac_cv_lib_dnet_stub_dnet_ntoa = yes; then
8586 X_EXTRA_LIBS
="$X_EXTRA_LIBS -ldnet_stub"
8591 rm -f conftest.err conftest.
$ac_objext \
8592 conftest
$ac_exeext conftest.
$ac_ext
8593 LIBS
="$ac_xsave_LIBS"
8595 # msh@cis.ufl.edu says -lnsl (and -lsocket) are needed for his 386/AT,
8596 # to get the SysV transport functions.
8597 # Chad R. Larson says the Pyramis MIS-ES running DC/OSx (SVR4)
8599 # The nsl library prevents programs from opening the X display
8600 # on Irix 5.2, according to T.E. Dickey.
8601 # The functions gethostbyname, getservbyname, and inet_addr are
8602 # in -lbsd on LynxOS 3.0.1/i386, according to Lars Hecking.
8603 echo "$as_me:$LINENO: checking for gethostbyname" >&5
8604 echo $ECHO_N "checking for gethostbyname... $ECHO_C" >&6
8605 if test "${ac_cv_func_gethostbyname+set}" = set; then
8606 echo $ECHO_N "(cached) $ECHO_C" >&6
8608 cat >conftest.
$ac_ext <<_ACEOF
8611 cat confdefs.h
>>conftest.
$ac_ext
8612 cat >>conftest.
$ac_ext <<_ACEOF
8613 /* end confdefs.h. */
8614 /* Define gethostbyname to an innocuous variant, in case <limits.h> declares gethostbyname.
8615 For example, HP-UX 11i <limits.h> declares gettimeofday. */
8616 #define gethostbyname innocuous_gethostbyname
8618 /* System header to define __stub macros and hopefully few prototypes,
8619 which can conflict with char gethostbyname (); below.
8620 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
8621 <limits.h> exists even on freestanding compilers. */
8624 # include <limits.h>
8626 # include <assert.h>
8629 #undef gethostbyname
8631 /* Override any gcc2 internal prototype to avoid an error. */
8636 /* We use char because int might match the return type of a gcc2
8637 builtin and then its argument prototype would still apply. */
8638 char gethostbyname ();
8639 /* The GNU C library defines this for functions which it implements
8640 to always fail with ENOSYS. Some functions are actually named
8641 something starting with __ and the normal name is an alias. */
8642 #if defined (__stub_gethostbyname) || defined (__stub___gethostbyname)
8645 char (*f) () = gethostbyname;
8654 return f != gethostbyname;
8659 rm -f conftest.
$ac_objext conftest
$ac_exeext
8660 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8661 (eval $ac_link) 2>conftest.er1
8663 grep -v '^ *+' conftest.er1
>conftest.err
8665 cat conftest.err
>&5
8666 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8667 (exit $ac_status); } &&
8668 { ac_try
='test -z "$ac_c_werror_flag"
8669 || test ! -s conftest.err'
8670 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8673 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8674 (exit $ac_status); }; } &&
8675 { ac_try
='test -s conftest$ac_exeext'
8676 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8679 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8680 (exit $ac_status); }; }; then
8681 ac_cv_func_gethostbyname
=yes
8683 echo "$as_me: failed program was:" >&5
8684 sed 's/^/| /' conftest.
$ac_ext >&5
8686 ac_cv_func_gethostbyname
=no
8688 rm -f conftest.err conftest.
$ac_objext \
8689 conftest
$ac_exeext conftest.
$ac_ext
8691 echo "$as_me:$LINENO: result: $ac_cv_func_gethostbyname" >&5
8692 echo "${ECHO_T}$ac_cv_func_gethostbyname" >&6
8694 if test $ac_cv_func_gethostbyname = no
; then
8695 echo "$as_me:$LINENO: checking for gethostbyname in -lnsl" >&5
8696 echo $ECHO_N "checking for gethostbyname in -lnsl... $ECHO_C" >&6
8697 if test "${ac_cv_lib_nsl_gethostbyname+set}" = set; then
8698 echo $ECHO_N "(cached) $ECHO_C" >&6
8700 ac_check_lib_save_LIBS
=$LIBS
8702 cat >conftest.
$ac_ext <<_ACEOF
8705 cat confdefs.h
>>conftest.
$ac_ext
8706 cat >>conftest.
$ac_ext <<_ACEOF
8707 /* end confdefs.h. */
8709 /* Override any gcc2 internal prototype to avoid an error. */
8713 /* We use char because int might match the return type of a gcc2
8714 builtin and then its argument prototype would still apply. */
8715 char gethostbyname ();
8724 rm -f conftest.
$ac_objext conftest
$ac_exeext
8725 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8726 (eval $ac_link) 2>conftest.er1
8728 grep -v '^ *+' conftest.er1
>conftest.err
8730 cat conftest.err
>&5
8731 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8732 (exit $ac_status); } &&
8733 { ac_try
='test -z "$ac_c_werror_flag"
8734 || test ! -s conftest.err'
8735 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8738 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8739 (exit $ac_status); }; } &&
8740 { ac_try
='test -s conftest$ac_exeext'
8741 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8744 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8745 (exit $ac_status); }; }; then
8746 ac_cv_lib_nsl_gethostbyname
=yes
8748 echo "$as_me: failed program was:" >&5
8749 sed 's/^/| /' conftest.
$ac_ext >&5
8751 ac_cv_lib_nsl_gethostbyname
=no
8753 rm -f conftest.err conftest.
$ac_objext \
8754 conftest
$ac_exeext conftest.
$ac_ext
8755 LIBS
=$ac_check_lib_save_LIBS
8757 echo "$as_me:$LINENO: result: $ac_cv_lib_nsl_gethostbyname" >&5
8758 echo "${ECHO_T}$ac_cv_lib_nsl_gethostbyname" >&6
8759 if test $ac_cv_lib_nsl_gethostbyname = yes; then
8760 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lnsl"
8763 if test $ac_cv_lib_nsl_gethostbyname = no
; then
8764 echo "$as_me:$LINENO: checking for gethostbyname in -lbsd" >&5
8765 echo $ECHO_N "checking for gethostbyname in -lbsd... $ECHO_C" >&6
8766 if test "${ac_cv_lib_bsd_gethostbyname+set}" = set; then
8767 echo $ECHO_N "(cached) $ECHO_C" >&6
8769 ac_check_lib_save_LIBS
=$LIBS
8771 cat >conftest.
$ac_ext <<_ACEOF
8774 cat confdefs.h
>>conftest.
$ac_ext
8775 cat >>conftest.
$ac_ext <<_ACEOF
8776 /* end confdefs.h. */
8778 /* Override any gcc2 internal prototype to avoid an error. */
8782 /* We use char because int might match the return type of a gcc2
8783 builtin and then its argument prototype would still apply. */
8784 char gethostbyname ();
8793 rm -f conftest.
$ac_objext conftest
$ac_exeext
8794 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8795 (eval $ac_link) 2>conftest.er1
8797 grep -v '^ *+' conftest.er1
>conftest.err
8799 cat conftest.err
>&5
8800 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8801 (exit $ac_status); } &&
8802 { ac_try
='test -z "$ac_c_werror_flag"
8803 || test ! -s conftest.err'
8804 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8807 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8808 (exit $ac_status); }; } &&
8809 { ac_try
='test -s conftest$ac_exeext'
8810 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8813 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8814 (exit $ac_status); }; }; then
8815 ac_cv_lib_bsd_gethostbyname
=yes
8817 echo "$as_me: failed program was:" >&5
8818 sed 's/^/| /' conftest.
$ac_ext >&5
8820 ac_cv_lib_bsd_gethostbyname
=no
8822 rm -f conftest.err conftest.
$ac_objext \
8823 conftest
$ac_exeext conftest.
$ac_ext
8824 LIBS
=$ac_check_lib_save_LIBS
8826 echo "$as_me:$LINENO: result: $ac_cv_lib_bsd_gethostbyname" >&5
8827 echo "${ECHO_T}$ac_cv_lib_bsd_gethostbyname" >&6
8828 if test $ac_cv_lib_bsd_gethostbyname = yes; then
8829 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lbsd"
8835 # lieder@skyler.mavd.honeywell.com says without -lsocket,
8836 # socket/setsockopt and other routines are undefined under SCO ODT
8837 # 2.0. But -lsocket is broken on IRIX 5.2 (and is not necessary
8838 # on later versions), says Simon Leinen: it contains gethostby*
8839 # variants that don't use the name server (or something). -lsocket
8840 # must be given before -lnsl if both are needed. We assume that
8841 # if connect needs -lnsl, so does gethostbyname.
8842 echo "$as_me:$LINENO: checking for connect" >&5
8843 echo $ECHO_N "checking for connect... $ECHO_C" >&6
8844 if test "${ac_cv_func_connect+set}" = set; then
8845 echo $ECHO_N "(cached) $ECHO_C" >&6
8847 cat >conftest.
$ac_ext <<_ACEOF
8850 cat confdefs.h
>>conftest.
$ac_ext
8851 cat >>conftest.
$ac_ext <<_ACEOF
8852 /* end confdefs.h. */
8853 /* Define connect to an innocuous variant, in case <limits.h> declares connect.
8854 For example, HP-UX 11i <limits.h> declares gettimeofday. */
8855 #define connect innocuous_connect
8857 /* System header to define __stub macros and hopefully few prototypes,
8858 which can conflict with char connect (); below.
8859 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
8860 <limits.h> exists even on freestanding compilers. */
8863 # include <limits.h>
8865 # include <assert.h>
8870 /* Override any gcc2 internal prototype to avoid an error. */
8875 /* We use char because int might match the return type of a gcc2
8876 builtin and then its argument prototype would still apply. */
8878 /* The GNU C library defines this for functions which it implements
8879 to always fail with ENOSYS. Some functions are actually named
8880 something starting with __ and the normal name is an alias. */
8881 #if defined (__stub_connect) || defined (__stub___connect)
8884 char (*f) () = connect;
8893 return f != connect;
8898 rm -f conftest.
$ac_objext conftest
$ac_exeext
8899 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8900 (eval $ac_link) 2>conftest.er1
8902 grep -v '^ *+' conftest.er1
>conftest.err
8904 cat conftest.err
>&5
8905 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8906 (exit $ac_status); } &&
8907 { ac_try
='test -z "$ac_c_werror_flag"
8908 || test ! -s conftest.err'
8909 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8912 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8913 (exit $ac_status); }; } &&
8914 { ac_try
='test -s conftest$ac_exeext'
8915 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8918 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8919 (exit $ac_status); }; }; then
8920 ac_cv_func_connect
=yes
8922 echo "$as_me: failed program was:" >&5
8923 sed 's/^/| /' conftest.
$ac_ext >&5
8925 ac_cv_func_connect
=no
8927 rm -f conftest.err conftest.
$ac_objext \
8928 conftest
$ac_exeext conftest.
$ac_ext
8930 echo "$as_me:$LINENO: result: $ac_cv_func_connect" >&5
8931 echo "${ECHO_T}$ac_cv_func_connect" >&6
8933 if test $ac_cv_func_connect = no
; then
8934 echo "$as_me:$LINENO: checking for connect in -lsocket" >&5
8935 echo $ECHO_N "checking for connect in -lsocket... $ECHO_C" >&6
8936 if test "${ac_cv_lib_socket_connect+set}" = set; then
8937 echo $ECHO_N "(cached) $ECHO_C" >&6
8939 ac_check_lib_save_LIBS
=$LIBS
8940 LIBS
="-lsocket $X_EXTRA_LIBS $LIBS"
8941 cat >conftest.
$ac_ext <<_ACEOF
8944 cat confdefs.h
>>conftest.
$ac_ext
8945 cat >>conftest.
$ac_ext <<_ACEOF
8946 /* end confdefs.h. */
8948 /* Override any gcc2 internal prototype to avoid an error. */
8952 /* We use char because int might match the return type of a gcc2
8953 builtin and then its argument prototype would still apply. */
8963 rm -f conftest.
$ac_objext conftest
$ac_exeext
8964 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8965 (eval $ac_link) 2>conftest.er1
8967 grep -v '^ *+' conftest.er1
>conftest.err
8969 cat conftest.err
>&5
8970 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8971 (exit $ac_status); } &&
8972 { ac_try
='test -z "$ac_c_werror_flag"
8973 || test ! -s conftest.err'
8974 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8977 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8978 (exit $ac_status); }; } &&
8979 { ac_try
='test -s conftest$ac_exeext'
8980 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8983 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8984 (exit $ac_status); }; }; then
8985 ac_cv_lib_socket_connect
=yes
8987 echo "$as_me: failed program was:" >&5
8988 sed 's/^/| /' conftest.
$ac_ext >&5
8990 ac_cv_lib_socket_connect
=no
8992 rm -f conftest.err conftest.
$ac_objext \
8993 conftest
$ac_exeext conftest.
$ac_ext
8994 LIBS
=$ac_check_lib_save_LIBS
8996 echo "$as_me:$LINENO: result: $ac_cv_lib_socket_connect" >&5
8997 echo "${ECHO_T}$ac_cv_lib_socket_connect" >&6
8998 if test $ac_cv_lib_socket_connect = yes; then
8999 X_EXTRA_LIBS
="-lsocket $X_EXTRA_LIBS"
9004 # Guillermo Gomez says -lposix is necessary on A/UX.
9005 echo "$as_me:$LINENO: checking for remove" >&5
9006 echo $ECHO_N "checking for remove... $ECHO_C" >&6
9007 if test "${ac_cv_func_remove+set}" = set; then
9008 echo $ECHO_N "(cached) $ECHO_C" >&6
9010 cat >conftest.
$ac_ext <<_ACEOF
9013 cat confdefs.h
>>conftest.
$ac_ext
9014 cat >>conftest.
$ac_ext <<_ACEOF
9015 /* end confdefs.h. */
9016 /* Define remove to an innocuous variant, in case <limits.h> declares remove.
9017 For example, HP-UX 11i <limits.h> declares gettimeofday. */
9018 #define remove innocuous_remove
9020 /* System header to define __stub macros and hopefully few prototypes,
9021 which can conflict with char remove (); below.
9022 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
9023 <limits.h> exists even on freestanding compilers. */
9026 # include <limits.h>
9028 # include <assert.h>
9033 /* Override any gcc2 internal prototype to avoid an error. */
9038 /* We use char because int might match the return type of a gcc2
9039 builtin and then its argument prototype would still apply. */
9041 /* The GNU C library defines this for functions which it implements
9042 to always fail with ENOSYS. Some functions are actually named
9043 something starting with __ and the normal name is an alias. */
9044 #if defined (__stub_remove) || defined (__stub___remove)
9047 char (*f) () = remove;
9061 rm -f conftest.
$ac_objext conftest
$ac_exeext
9062 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
9063 (eval $ac_link) 2>conftest.er1
9065 grep -v '^ *+' conftest.er1
>conftest.err
9067 cat conftest.err
>&5
9068 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9069 (exit $ac_status); } &&
9070 { ac_try
='test -z "$ac_c_werror_flag"
9071 || test ! -s conftest.err'
9072 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9075 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9076 (exit $ac_status); }; } &&
9077 { ac_try
='test -s conftest$ac_exeext'
9078 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9081 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9082 (exit $ac_status); }; }; then
9083 ac_cv_func_remove
=yes
9085 echo "$as_me: failed program was:" >&5
9086 sed 's/^/| /' conftest.
$ac_ext >&5
9088 ac_cv_func_remove
=no
9090 rm -f conftest.err conftest.
$ac_objext \
9091 conftest
$ac_exeext conftest.
$ac_ext
9093 echo "$as_me:$LINENO: result: $ac_cv_func_remove" >&5
9094 echo "${ECHO_T}$ac_cv_func_remove" >&6
9096 if test $ac_cv_func_remove = no
; then
9097 echo "$as_me:$LINENO: checking for remove in -lposix" >&5
9098 echo $ECHO_N "checking for remove in -lposix... $ECHO_C" >&6
9099 if test "${ac_cv_lib_posix_remove+set}" = set; then
9100 echo $ECHO_N "(cached) $ECHO_C" >&6
9102 ac_check_lib_save_LIBS
=$LIBS
9103 LIBS
="-lposix $LIBS"
9104 cat >conftest.
$ac_ext <<_ACEOF
9107 cat confdefs.h
>>conftest.
$ac_ext
9108 cat >>conftest.
$ac_ext <<_ACEOF
9109 /* end confdefs.h. */
9111 /* Override any gcc2 internal prototype to avoid an error. */
9115 /* We use char because int might match the return type of a gcc2
9116 builtin and then its argument prototype would still apply. */
9126 rm -f conftest.
$ac_objext conftest
$ac_exeext
9127 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
9128 (eval $ac_link) 2>conftest.er1
9130 grep -v '^ *+' conftest.er1
>conftest.err
9132 cat conftest.err
>&5
9133 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9134 (exit $ac_status); } &&
9135 { ac_try
='test -z "$ac_c_werror_flag"
9136 || test ! -s conftest.err'
9137 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9140 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9141 (exit $ac_status); }; } &&
9142 { ac_try
='test -s conftest$ac_exeext'
9143 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9146 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9147 (exit $ac_status); }; }; then
9148 ac_cv_lib_posix_remove
=yes
9150 echo "$as_me: failed program was:" >&5
9151 sed 's/^/| /' conftest.
$ac_ext >&5
9153 ac_cv_lib_posix_remove
=no
9155 rm -f conftest.err conftest.
$ac_objext \
9156 conftest
$ac_exeext conftest.
$ac_ext
9157 LIBS
=$ac_check_lib_save_LIBS
9159 echo "$as_me:$LINENO: result: $ac_cv_lib_posix_remove" >&5
9160 echo "${ECHO_T}$ac_cv_lib_posix_remove" >&6
9161 if test $ac_cv_lib_posix_remove = yes; then
9162 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lposix"
9167 # BSDI BSD/OS 2.1 needs -lipc for XOpenDisplay.
9168 echo "$as_me:$LINENO: checking for shmat" >&5
9169 echo $ECHO_N "checking for shmat... $ECHO_C" >&6
9170 if test "${ac_cv_func_shmat+set}" = set; then
9171 echo $ECHO_N "(cached) $ECHO_C" >&6
9173 cat >conftest.
$ac_ext <<_ACEOF
9176 cat confdefs.h
>>conftest.
$ac_ext
9177 cat >>conftest.
$ac_ext <<_ACEOF
9178 /* end confdefs.h. */
9179 /* Define shmat to an innocuous variant, in case <limits.h> declares shmat.
9180 For example, HP-UX 11i <limits.h> declares gettimeofday. */
9181 #define shmat innocuous_shmat
9183 /* System header to define __stub macros and hopefully few prototypes,
9184 which can conflict with char shmat (); below.
9185 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
9186 <limits.h> exists even on freestanding compilers. */
9189 # include <limits.h>
9191 # include <assert.h>
9196 /* Override any gcc2 internal prototype to avoid an error. */
9201 /* We use char because int might match the return type of a gcc2
9202 builtin and then its argument prototype would still apply. */
9204 /* The GNU C library defines this for functions which it implements
9205 to always fail with ENOSYS. Some functions are actually named
9206 something starting with __ and the normal name is an alias. */
9207 #if defined (__stub_shmat) || defined (__stub___shmat)
9210 char (*f) () = shmat;
9224 rm -f conftest.
$ac_objext conftest
$ac_exeext
9225 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
9226 (eval $ac_link) 2>conftest.er1
9228 grep -v '^ *+' conftest.er1
>conftest.err
9230 cat conftest.err
>&5
9231 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9232 (exit $ac_status); } &&
9233 { ac_try
='test -z "$ac_c_werror_flag"
9234 || test ! -s conftest.err'
9235 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9238 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9239 (exit $ac_status); }; } &&
9240 { ac_try
='test -s conftest$ac_exeext'
9241 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9244 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9245 (exit $ac_status); }; }; then
9246 ac_cv_func_shmat
=yes
9248 echo "$as_me: failed program was:" >&5
9249 sed 's/^/| /' conftest.
$ac_ext >&5
9253 rm -f conftest.err conftest.
$ac_objext \
9254 conftest
$ac_exeext conftest.
$ac_ext
9256 echo "$as_me:$LINENO: result: $ac_cv_func_shmat" >&5
9257 echo "${ECHO_T}$ac_cv_func_shmat" >&6
9259 if test $ac_cv_func_shmat = no
; then
9260 echo "$as_me:$LINENO: checking for shmat in -lipc" >&5
9261 echo $ECHO_N "checking for shmat in -lipc... $ECHO_C" >&6
9262 if test "${ac_cv_lib_ipc_shmat+set}" = set; then
9263 echo $ECHO_N "(cached) $ECHO_C" >&6
9265 ac_check_lib_save_LIBS
=$LIBS
9267 cat >conftest.
$ac_ext <<_ACEOF
9270 cat confdefs.h
>>conftest.
$ac_ext
9271 cat >>conftest.
$ac_ext <<_ACEOF
9272 /* end confdefs.h. */
9274 /* Override any gcc2 internal prototype to avoid an error. */
9278 /* We use char because int might match the return type of a gcc2
9279 builtin and then its argument prototype would still apply. */
9289 rm -f conftest.
$ac_objext conftest
$ac_exeext
9290 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
9291 (eval $ac_link) 2>conftest.er1
9293 grep -v '^ *+' conftest.er1
>conftest.err
9295 cat conftest.err
>&5
9296 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9297 (exit $ac_status); } &&
9298 { ac_try
='test -z "$ac_c_werror_flag"
9299 || test ! -s conftest.err'
9300 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9303 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9304 (exit $ac_status); }; } &&
9305 { ac_try
='test -s conftest$ac_exeext'
9306 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9309 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9310 (exit $ac_status); }; }; then
9311 ac_cv_lib_ipc_shmat
=yes
9313 echo "$as_me: failed program was:" >&5
9314 sed 's/^/| /' conftest.
$ac_ext >&5
9316 ac_cv_lib_ipc_shmat
=no
9318 rm -f conftest.err conftest.
$ac_objext \
9319 conftest
$ac_exeext conftest.
$ac_ext
9320 LIBS
=$ac_check_lib_save_LIBS
9322 echo "$as_me:$LINENO: result: $ac_cv_lib_ipc_shmat" >&5
9323 echo "${ECHO_T}$ac_cv_lib_ipc_shmat" >&6
9324 if test $ac_cv_lib_ipc_shmat = yes; then
9325 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lipc"
9331 # Check for libraries that X11R6 Xt/Xaw programs need.
9332 ac_save_LDFLAGS
=$LDFLAGS
9333 test -n "$x_libraries" && LDFLAGS
="$LDFLAGS -L$x_libraries"
9334 # SM needs ICE to (dynamically) link under SunOS 4.x (so we have to
9335 # check for ICE first), but we must link in the order -lSM -lICE or
9336 # we get undefined symbols. So assume we have SM if we have ICE.
9337 # These have to be linked with before -lX11, unlike the other
9338 # libraries we check for below, so use a different variable.
9339 # John Interrante, Karl Berry
9340 echo "$as_me:$LINENO: checking for IceConnectionNumber in -lICE" >&5
9341 echo $ECHO_N "checking for IceConnectionNumber in -lICE... $ECHO_C" >&6
9342 if test "${ac_cv_lib_ICE_IceConnectionNumber+set}" = set; then
9343 echo $ECHO_N "(cached) $ECHO_C" >&6
9345 ac_check_lib_save_LIBS
=$LIBS
9346 LIBS
="-lICE $X_EXTRA_LIBS $LIBS"
9347 cat >conftest.
$ac_ext <<_ACEOF
9350 cat confdefs.h
>>conftest.
$ac_ext
9351 cat >>conftest.
$ac_ext <<_ACEOF
9352 /* end confdefs.h. */
9354 /* Override any gcc2 internal prototype to avoid an error. */
9358 /* We use char because int might match the return type of a gcc2
9359 builtin and then its argument prototype would still apply. */
9360 char IceConnectionNumber ();
9364 IceConnectionNumber ();
9369 rm -f conftest.
$ac_objext conftest
$ac_exeext
9370 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
9371 (eval $ac_link) 2>conftest.er1
9373 grep -v '^ *+' conftest.er1
>conftest.err
9375 cat conftest.err
>&5
9376 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9377 (exit $ac_status); } &&
9378 { ac_try
='test -z "$ac_c_werror_flag"
9379 || test ! -s conftest.err'
9380 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9383 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9384 (exit $ac_status); }; } &&
9385 { ac_try
='test -s conftest$ac_exeext'
9386 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9389 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9390 (exit $ac_status); }; }; then
9391 ac_cv_lib_ICE_IceConnectionNumber
=yes
9393 echo "$as_me: failed program was:" >&5
9394 sed 's/^/| /' conftest.
$ac_ext >&5
9396 ac_cv_lib_ICE_IceConnectionNumber
=no
9398 rm -f conftest.err conftest.
$ac_objext \
9399 conftest
$ac_exeext conftest.
$ac_ext
9400 LIBS
=$ac_check_lib_save_LIBS
9402 echo "$as_me:$LINENO: result: $ac_cv_lib_ICE_IceConnectionNumber" >&5
9403 echo "${ECHO_T}$ac_cv_lib_ICE_IceConnectionNumber" >&6
9404 if test $ac_cv_lib_ICE_IceConnectionNumber = yes; then
9405 X_PRE_LIBS
="$X_PRE_LIBS -lSM -lICE"
9408 LDFLAGS
=$ac_save_LDFLAGS
9412 if test "$no_x" = yes; then
9413 { { echo "$as_me:$LINENO: error: GTK+ peers requested but no X library available" >&5
9414 echo "$as_me: error: GTK+ peers requested but no X library available" >&2;}
9415 { (exit 1); exit 1; }; }
9417 echo "$as_me:$LINENO: checking for XTestQueryExtension in -lXtst" >&5
9418 echo $ECHO_N "checking for XTestQueryExtension in -lXtst... $ECHO_C" >&6
9419 if test "${ac_cv_lib_Xtst_XTestQueryExtension+set}" = set; then
9420 echo $ECHO_N "(cached) $ECHO_C" >&6
9422 ac_check_lib_save_LIBS
=$LIBS
9423 LIBS
="-lXtst ${X_LIBS} $LIBS"
9424 cat >conftest.
$ac_ext <<_ACEOF
9427 cat confdefs.h
>>conftest.
$ac_ext
9428 cat >>conftest.
$ac_ext <<_ACEOF
9429 /* end confdefs.h. */
9431 /* Override any gcc2 internal prototype to avoid an error. */
9435 /* We use char because int might match the return type of a gcc2
9436 builtin and then its argument prototype would still apply. */
9437 char XTestQueryExtension ();
9441 XTestQueryExtension ();
9446 rm -f conftest.
$ac_objext conftest
$ac_exeext
9447 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
9448 (eval $ac_link) 2>conftest.er1
9450 grep -v '^ *+' conftest.er1
>conftest.err
9452 cat conftest.err
>&5
9453 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9454 (exit $ac_status); } &&
9455 { ac_try
='test -z "$ac_c_werror_flag"
9456 || test ! -s conftest.err'
9457 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9460 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9461 (exit $ac_status); }; } &&
9462 { ac_try
='test -s conftest$ac_exeext'
9463 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9466 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9467 (exit $ac_status); }; }; then
9468 ac_cv_lib_Xtst_XTestQueryExtension
=yes
9470 echo "$as_me: failed program was:" >&5
9471 sed 's/^/| /' conftest.
$ac_ext >&5
9473 ac_cv_lib_Xtst_XTestQueryExtension
=no
9475 rm -f conftest.err conftest.
$ac_objext \
9476 conftest
$ac_exeext conftest.
$ac_ext
9477 LIBS
=$ac_check_lib_save_LIBS
9479 echo "$as_me:$LINENO: result: $ac_cv_lib_Xtst_XTestQueryExtension" >&5
9480 echo "${ECHO_T}$ac_cv_lib_Xtst_XTestQueryExtension" >&6
9481 if test $ac_cv_lib_Xtst_XTestQueryExtension = yes; then
9484 { { echo "$as_me:$LINENO: error: libXtst NOT found, required for GdkRobot" >&5
9485 echo "$as_me: error: libXtst NOT found, required for GdkRobot" >&2;}
9486 { (exit 1); exit 1; }; }
9492 if test -z "$PKG_CONFIG"; then
9493 # Extract the first word of "pkg-config", so it can be a program name with args.
9494 set dummy pkg-config
; ac_word
=$2
9495 echo "$as_me:$LINENO: checking for $ac_word" >&5
9496 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
9497 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
9498 echo $ECHO_N "(cached) $ECHO_C" >&6
9502 ac_cv_path_PKG_CONFIG
="$PKG_CONFIG" # Let the user override the test with a path.
9505 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
9509 test -z "$as_dir" && as_dir
=.
9510 for ac_exec_ext
in '' $ac_executable_extensions; do
9511 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
9512 ac_cv_path_PKG_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
9513 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
9519 test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG
="no"
9523 PKG_CONFIG
=$ac_cv_path_PKG_CONFIG
9525 if test -n "$PKG_CONFIG"; then
9526 echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
9527 echo "${ECHO_T}$PKG_CONFIG" >&6
9529 echo "$as_me:$LINENO: result: no" >&5
9530 echo "${ECHO_T}no" >&6
9535 if test "$PKG_CONFIG" = "no" ; then
9536 echo "*** The pkg-config script could not be found. Make sure it is"
9537 echo "*** in your path, or set the PKG_CONFIG environment variable"
9538 echo "*** to the full path to pkg-config."
9539 echo "*** Or see http://www.freedesktop.org/software/pkgconfig to get pkg-config."
9541 PKG_CONFIG_MIN_VERSION
=0.9.0
9542 if $PKG_CONFIG --atleast-pkgconfig-version $PKG_CONFIG_MIN_VERSION; then
9543 echo "$as_me:$LINENO: checking for gtk+-2.0 >= 2.4 gthread-2.0 >= 2.2 gdk-pixbuf-2.0" >&5
9544 echo $ECHO_N "checking for gtk+-2.0 >= 2.4 gthread-2.0 >= 2.2 gdk-pixbuf-2.0... $ECHO_C" >&6
9546 if $PKG_CONFIG --exists "gtk+-2.0 >= 2.4 gthread-2.0 >= 2.2 gdk-pixbuf-2.0" ; then
9547 echo "$as_me:$LINENO: result: yes" >&5
9548 echo "${ECHO_T}yes" >&6
9551 echo "$as_me:$LINENO: checking GTK_CFLAGS" >&5
9552 echo $ECHO_N "checking GTK_CFLAGS... $ECHO_C" >&6
9553 GTK_CFLAGS
=`$PKG_CONFIG --cflags "gtk+-2.0 >= 2.4 gthread-2.0 >= 2.2 gdk-pixbuf-2.0"`
9554 echo "$as_me:$LINENO: result: $GTK_CFLAGS" >&5
9555 echo "${ECHO_T}$GTK_CFLAGS" >&6
9557 echo "$as_me:$LINENO: checking GTK_LIBS" >&5
9558 echo $ECHO_N "checking GTK_LIBS... $ECHO_C" >&6
9559 GTK_LIBS
=`$PKG_CONFIG --libs "gtk+-2.0 >= 2.4 gthread-2.0 >= 2.2 gdk-pixbuf-2.0"`
9560 echo "$as_me:$LINENO: result: $GTK_LIBS" >&5
9561 echo "${ECHO_T}$GTK_LIBS" >&6
9565 ## If we have a custom action on failure, don't print errors, but
9566 ## do set a variable so people can do so.
9567 GTK_PKG_ERRORS
=`$PKG_CONFIG --errors-to-stdout --print-errors "gtk+-2.0 >= 2.4 gthread-2.0 >= 2.2 gdk-pixbuf-2.0"`
9568 echo $GTK_PKG_ERRORS
9574 echo "*** Your version of pkg-config is too old. You need version $PKG_CONFIG_MIN_VERSION or newer."
9575 echo "*** See http://www.freedesktop.org/software/pkgconfig"
9579 if test $succeeded = yes; then
9582 { { 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
9583 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;}
9584 { (exit 1); exit 1; }; }
9591 if test "x${enable_gtk_cairo}" = xyes
; then
9595 if test -z "$PKG_CONFIG"; then
9596 # Extract the first word of "pkg-config", so it can be a program name with args.
9597 set dummy pkg-config
; ac_word
=$2
9598 echo "$as_me:$LINENO: checking for $ac_word" >&5
9599 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
9600 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
9601 echo $ECHO_N "(cached) $ECHO_C" >&6
9605 ac_cv_path_PKG_CONFIG
="$PKG_CONFIG" # Let the user override the test with a path.
9608 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
9612 test -z "$as_dir" && as_dir
=.
9613 for ac_exec_ext
in '' $ac_executable_extensions; do
9614 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
9615 ac_cv_path_PKG_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
9616 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
9622 test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG
="no"
9626 PKG_CONFIG
=$ac_cv_path_PKG_CONFIG
9628 if test -n "$PKG_CONFIG"; then
9629 echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
9630 echo "${ECHO_T}$PKG_CONFIG" >&6
9632 echo "$as_me:$LINENO: result: no" >&5
9633 echo "${ECHO_T}no" >&6
9638 if test "$PKG_CONFIG" = "no" ; then
9639 echo "*** The pkg-config script could not be found. Make sure it is"
9640 echo "*** in your path, or set the PKG_CONFIG environment variable"
9641 echo "*** to the full path to pkg-config."
9642 echo "*** Or see http://www.freedesktop.org/software/pkgconfig to get pkg-config."
9644 PKG_CONFIG_MIN_VERSION
=0.9.0
9645 if $PKG_CONFIG --atleast-pkgconfig-version $PKG_CONFIG_MIN_VERSION; then
9646 echo "$as_me:$LINENO: checking for cairo >= 0.5.0" >&5
9647 echo $ECHO_N "checking for cairo >= 0.5.0... $ECHO_C" >&6
9649 if $PKG_CONFIG --exists "cairo >= 0.5.0" ; then
9650 echo "$as_me:$LINENO: result: yes" >&5
9651 echo "${ECHO_T}yes" >&6
9654 echo "$as_me:$LINENO: checking CAIRO_CFLAGS" >&5
9655 echo $ECHO_N "checking CAIRO_CFLAGS... $ECHO_C" >&6
9656 CAIRO_CFLAGS
=`$PKG_CONFIG --cflags "cairo >= 0.5.0"`
9657 echo "$as_me:$LINENO: result: $CAIRO_CFLAGS" >&5
9658 echo "${ECHO_T}$CAIRO_CFLAGS" >&6
9660 echo "$as_me:$LINENO: checking CAIRO_LIBS" >&5
9661 echo $ECHO_N "checking CAIRO_LIBS... $ECHO_C" >&6
9662 CAIRO_LIBS
=`$PKG_CONFIG --libs "cairo >= 0.5.0"`
9663 echo "$as_me:$LINENO: result: $CAIRO_LIBS" >&5
9664 echo "${ECHO_T}$CAIRO_LIBS" >&6
9668 ## If we have a custom action on failure, don't print errors, but
9669 ## do set a variable so people can do so.
9670 CAIRO_PKG_ERRORS
=`$PKG_CONFIG --errors-to-stdout --print-errors "cairo >= 0.5.0"`
9671 echo $CAIRO_PKG_ERRORS
9677 echo "*** Your version of pkg-config is too old. You need version $PKG_CONFIG_MIN_VERSION or newer."
9678 echo "*** See http://www.freedesktop.org/software/pkgconfig"
9682 if test $succeeded = yes; then
9685 { { 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
9686 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;}
9687 { (exit 1); exit 1; }; }
9693 if test -z "$PKG_CONFIG"; then
9694 # Extract the first word of "pkg-config", so it can be a program name with args.
9695 set dummy pkg-config
; ac_word
=$2
9696 echo "$as_me:$LINENO: checking for $ac_word" >&5
9697 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
9698 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
9699 echo $ECHO_N "(cached) $ECHO_C" >&6
9703 ac_cv_path_PKG_CONFIG
="$PKG_CONFIG" # Let the user override the test with a path.
9706 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
9710 test -z "$as_dir" && as_dir
=.
9711 for ac_exec_ext
in '' $ac_executable_extensions; do
9712 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
9713 ac_cv_path_PKG_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
9714 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
9720 test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG
="no"
9724 PKG_CONFIG
=$ac_cv_path_PKG_CONFIG
9726 if test -n "$PKG_CONFIG"; then
9727 echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
9728 echo "${ECHO_T}$PKG_CONFIG" >&6
9730 echo "$as_me:$LINENO: result: no" >&5
9731 echo "${ECHO_T}no" >&6
9736 if test "$PKG_CONFIG" = "no" ; then
9737 echo "*** The pkg-config script could not be found. Make sure it is"
9738 echo "*** in your path, or set the PKG_CONFIG environment variable"
9739 echo "*** to the full path to pkg-config."
9740 echo "*** Or see http://www.freedesktop.org/software/pkgconfig to get pkg-config."
9742 PKG_CONFIG_MIN_VERSION
=0.9.0
9743 if $PKG_CONFIG --atleast-pkgconfig-version $PKG_CONFIG_MIN_VERSION; then
9744 echo "$as_me:$LINENO: checking for pangoft2" >&5
9745 echo $ECHO_N "checking for pangoft2... $ECHO_C" >&6
9747 if $PKG_CONFIG --exists "pangoft2" ; then
9748 echo "$as_me:$LINENO: result: yes" >&5
9749 echo "${ECHO_T}yes" >&6
9752 echo "$as_me:$LINENO: checking PANGOFT2_CFLAGS" >&5
9753 echo $ECHO_N "checking PANGOFT2_CFLAGS... $ECHO_C" >&6
9754 PANGOFT2_CFLAGS
=`$PKG_CONFIG --cflags "pangoft2"`
9755 echo "$as_me:$LINENO: result: $PANGOFT2_CFLAGS" >&5
9756 echo "${ECHO_T}$PANGOFT2_CFLAGS" >&6
9758 echo "$as_me:$LINENO: checking PANGOFT2_LIBS" >&5
9759 echo $ECHO_N "checking PANGOFT2_LIBS... $ECHO_C" >&6
9760 PANGOFT2_LIBS
=`$PKG_CONFIG --libs "pangoft2"`
9761 echo "$as_me:$LINENO: result: $PANGOFT2_LIBS" >&5
9762 echo "${ECHO_T}$PANGOFT2_LIBS" >&6
9766 ## If we have a custom action on failure, don't print errors, but
9767 ## do set a variable so people can do so.
9768 PANGOFT2_PKG_ERRORS
=`$PKG_CONFIG --errors-to-stdout --print-errors "pangoft2"`
9769 echo $PANGOFT2_PKG_ERRORS
9775 echo "*** Your version of pkg-config is too old. You need version $PKG_CONFIG_MIN_VERSION or newer."
9776 echo "*** See http://www.freedesktop.org/software/pkgconfig"
9780 if test $succeeded = yes; then
9783 { { 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
9784 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;}
9785 { (exit 1); exit 1; }; }
9797 # Check whether --with-javah or --without-javah was given.
9798 if test "${with_javah+set}" = set; then
9799 withval
="$with_javah"
9801 if test "x${withval}" != x && test "x${withval}" != xyes && test "x${withval}" != xno
; then
9803 if test "x${withval}" != x
; then
9804 if test -f "${withval}"; then
9805 USER_JAVAH
="${withval}"
9807 # Extract the first word of ""${withval}"", so it can be a program name with args.
9808 set dummy
"${withval}"; ac_word
=$2
9809 echo "$as_me:$LINENO: checking for $ac_word" >&5
9810 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
9811 if test "${ac_cv_path_USER_JAVAH+set}" = set; then
9812 echo $ECHO_N "(cached) $ECHO_C" >&6
9816 ac_cv_path_USER_JAVAH
="$USER_JAVAH" # Let the user override the test with a path.
9819 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
9823 test -z "$as_dir" && as_dir
=.
9824 for ac_exec_ext
in '' $ac_executable_extensions; do
9825 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
9826 ac_cv_path_USER_JAVAH
="$as_dir/$ac_word$ac_exec_ext"
9827 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
9836 USER_JAVAH
=$ac_cv_path_USER_JAVAH
9838 if test -n "$USER_JAVAH"; then
9839 echo "$as_me:$LINENO: result: $USER_JAVAH" >&5
9840 echo "${ECHO_T}$USER_JAVAH" >&6
9842 echo "$as_me:$LINENO: result: no" >&5
9843 echo "${ECHO_T}no" >&6
9848 for javah_name
in gcjh javah
; do
9849 # Extract the first word of ""$javah_name"", so it can be a program name with args.
9850 set dummy
"$javah_name"; ac_word
=$2
9851 echo "$as_me:$LINENO: checking for $ac_word" >&5
9852 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
9853 if test "${ac_cv_path_USER_JAVAH+set}" = set; then
9854 echo $ECHO_N "(cached) $ECHO_C" >&6
9858 ac_cv_path_USER_JAVAH
="$USER_JAVAH" # Let the user override the test with a path.
9861 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
9865 test -z "$as_dir" && as_dir
=.
9866 for ac_exec_ext
in '' $ac_executable_extensions; do
9867 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
9868 ac_cv_path_USER_JAVAH
="$as_dir/$ac_word$ac_exec_ext"
9869 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
9878 USER_JAVAH
=$ac_cv_path_USER_JAVAH
9880 if test -n "$USER_JAVAH"; then
9881 echo "$as_me:$LINENO: result: $USER_JAVAH" >&5
9882 echo "${ECHO_T}$USER_JAVAH" >&6
9884 echo "$as_me:$LINENO: result: no" >&5
9885 echo "${ECHO_T}no" >&6
9888 if test "x${USER_JAVAH}" != x
; then
9894 # if test "x${USER_JAVAH}" = x; then
9895 # echo "configure: cannot find javah" 1>&2
9901 if test "x" != x
; then
9905 # Extract the first word of """", so it can be a program name with args.
9906 set dummy
""; ac_word
=$2
9907 echo "$as_me:$LINENO: checking for $ac_word" >&5
9908 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
9909 if test "${ac_cv_path_USER_JAVAH+set}" = set; then
9910 echo $ECHO_N "(cached) $ECHO_C" >&6
9914 ac_cv_path_USER_JAVAH
="$USER_JAVAH" # Let the user override the test with a path.
9917 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
9921 test -z "$as_dir" && as_dir
=.
9922 for ac_exec_ext
in '' $ac_executable_extensions; do
9923 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
9924 ac_cv_path_USER_JAVAH
="$as_dir/$ac_word$ac_exec_ext"
9925 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
9934 USER_JAVAH
=$ac_cv_path_USER_JAVAH
9936 if test -n "$USER_JAVAH"; then
9937 echo "$as_me:$LINENO: result: $USER_JAVAH" >&5
9938 echo "${ECHO_T}$USER_JAVAH" >&6
9940 echo "$as_me:$LINENO: result: no" >&5
9941 echo "${ECHO_T}no" >&6
9946 for javah_name
in gcjh javah
; do
9947 # Extract the first word of ""$javah_name"", so it can be a program name with args.
9948 set dummy
"$javah_name"; ac_word
=$2
9949 echo "$as_me:$LINENO: checking for $ac_word" >&5
9950 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
9951 if test "${ac_cv_path_USER_JAVAH+set}" = set; then
9952 echo $ECHO_N "(cached) $ECHO_C" >&6
9956 ac_cv_path_USER_JAVAH
="$USER_JAVAH" # Let the user override the test with a path.
9959 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
9963 test -z "$as_dir" && as_dir
=.
9964 for ac_exec_ext
in '' $ac_executable_extensions; do
9965 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
9966 ac_cv_path_USER_JAVAH
="$as_dir/$ac_word$ac_exec_ext"
9967 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
9976 USER_JAVAH
=$ac_cv_path_USER_JAVAH
9978 if test -n "$USER_JAVAH"; then
9979 echo "$as_me:$LINENO: result: $USER_JAVAH" >&5
9980 echo "${ECHO_T}$USER_JAVAH" >&6
9982 echo "$as_me:$LINENO: result: no" >&5
9983 echo "${ECHO_T}no" >&6
9986 if test "x${USER_JAVAH}" != x
; then
9992 # if test "x${USER_JAVAH}" = x; then
9993 # echo "configure: cannot find javah" 1>&2
10002 if test "x" != x
; then
10003 if test -f ""; then
10006 # Extract the first word of """", so it can be a program name with args.
10007 set dummy
""; ac_word
=$2
10008 echo "$as_me:$LINENO: checking for $ac_word" >&5
10009 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
10010 if test "${ac_cv_path_USER_JAVAH+set}" = set; then
10011 echo $ECHO_N "(cached) $ECHO_C" >&6
10013 case $USER_JAVAH in
10015 ac_cv_path_USER_JAVAH
="$USER_JAVAH" # Let the user override the test with a path.
10018 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
10019 for as_dir
in $PATH
10022 test -z "$as_dir" && as_dir
=.
10023 for ac_exec_ext
in '' $ac_executable_extensions; do
10024 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
10025 ac_cv_path_USER_JAVAH
="$as_dir/$ac_word$ac_exec_ext"
10026 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
10035 USER_JAVAH
=$ac_cv_path_USER_JAVAH
10037 if test -n "$USER_JAVAH"; then
10038 echo "$as_me:$LINENO: result: $USER_JAVAH" >&5
10039 echo "${ECHO_T}$USER_JAVAH" >&6
10041 echo "$as_me:$LINENO: result: no" >&5
10042 echo "${ECHO_T}no" >&6
10047 for javah_name
in gcjh javah
; do
10048 # Extract the first word of ""$javah_name"", so it can be a program name with args.
10049 set dummy
"$javah_name"; ac_word
=$2
10050 echo "$as_me:$LINENO: checking for $ac_word" >&5
10051 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
10052 if test "${ac_cv_path_USER_JAVAH+set}" = set; then
10053 echo $ECHO_N "(cached) $ECHO_C" >&6
10055 case $USER_JAVAH in
10057 ac_cv_path_USER_JAVAH
="$USER_JAVAH" # Let the user override the test with a path.
10060 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
10061 for as_dir
in $PATH
10064 test -z "$as_dir" && as_dir
=.
10065 for ac_exec_ext
in '' $ac_executable_extensions; do
10066 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
10067 ac_cv_path_USER_JAVAH
="$as_dir/$ac_word$ac_exec_ext"
10068 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
10077 USER_JAVAH
=$ac_cv_path_USER_JAVAH
10079 if test -n "$USER_JAVAH"; then
10080 echo "$as_me:$LINENO: result: $USER_JAVAH" >&5
10081 echo "${ECHO_T}$USER_JAVAH" >&6
10083 echo "$as_me:$LINENO: result: no" >&5
10084 echo "${ECHO_T}no" >&6
10087 if test "x${USER_JAVAH}" != x
; then
10093 # if test "x${USER_JAVAH}" = x; then
10094 # echo "configure: cannot find javah" 1>&2
10102 if test "x${USER_JAVAH}" != x
; then
10103 USER_SPECIFIED_JAVAH_TRUE
=
10104 USER_SPECIFIED_JAVAH_FALSE
='#'
10106 USER_SPECIFIED_JAVAH_TRUE
='#'
10107 USER_SPECIFIED_JAVAH_FALSE
=
10113 CLASSPATH_INCLUDES
="-I\$(top_srcdir)/include -I\$(top_srcdir)/native/jni/classpath -I\$(top_srcdir)/native/target/Linux -I\$(top_srcdir)/native/target/generic"
10116 if test "x${COMPILE_JNI}" = xyes
; then
10117 echo "$as_me:$LINENO: checking jni_md.h support" >&5
10118 echo $ECHO_N "checking jni_md.h support... $ECHO_C" >&6
10119 if test -f ${srcdir}/include/jni_md-${target_cpu}-${target_os}.h
; then
10120 echo "$as_me:$LINENO: result: yes" >&5
10121 echo "${ECHO_T}yes" >&6
10124 target_os
=linux-gnu
10125 { echo "$as_me:$LINENO: WARNING: no" >&5
10126 echo "$as_me: WARNING: no" >&2;}
10128 ac_sources
="include/jni_md-${target_cpu}-${target_os}.h"
10129 ac_dests
="include/jni_md.h"
10130 while test -n "$ac_sources"; do
10131 set $ac_dests; ac_dest
=$1; shift; ac_dests
=$
*
10132 set $ac_sources; ac_source
=$1; shift; ac_sources
=$
*
10133 ac_config_links_1
="$ac_config_links_1 $ac_dest:$ac_source"
10135 ac_config_links
="$ac_config_links $ac_config_links_1"
10140 user_specified_javac
=
10144 # Check whether --with-gcj or --without-gcj was given.
10145 if test "${with_gcj+set}" = set; then
10146 withval
="$with_gcj"
10148 if test "x${withval}" != x && test "x${withval}" != xyes && test "x${withval}" != xno
; then
10150 if test "x${withval}" != x
; then
10151 if test -f "${withval}"; then
10154 # Extract the first word of ""${withval}"", so it can be a program name with args.
10155 set dummy
"${withval}"; ac_word
=$2
10156 echo "$as_me:$LINENO: checking for $ac_word" >&5
10157 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
10158 if test "${ac_cv_path_GCJ+set}" = set; then
10159 echo $ECHO_N "(cached) $ECHO_C" >&6
10163 ac_cv_path_GCJ
="$GCJ" # Let the user override the test with a path.
10166 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
10167 for as_dir
in $PATH
10170 test -z "$as_dir" && as_dir
=.
10171 for ac_exec_ext
in '' $ac_executable_extensions; do
10172 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
10173 ac_cv_path_GCJ
="$as_dir/$ac_word$ac_exec_ext"
10174 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
10183 GCJ
=$ac_cv_path_GCJ
10185 if test -n "$GCJ"; then
10186 echo "$as_me:$LINENO: result: $GCJ" >&5
10187 echo "${ECHO_T}$GCJ" >&6
10189 echo "$as_me:$LINENO: result: no" >&5
10190 echo "${ECHO_T}no" >&6
10195 # Extract the first word of ""gcj"", so it can be a program name with args.
10196 set dummy
"gcj"; ac_word
=$2
10197 echo "$as_me:$LINENO: checking for $ac_word" >&5
10198 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
10199 if test "${ac_cv_path_GCJ+set}" = set; then
10200 echo $ECHO_N "(cached) $ECHO_C" >&6
10204 ac_cv_path_GCJ
="$GCJ" # Let the user override the test with a path.
10207 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
10208 for as_dir
in $PATH
10211 test -z "$as_dir" && as_dir
=.
10212 for ac_exec_ext
in '' $ac_executable_extensions; do
10213 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
10214 ac_cv_path_GCJ
="$as_dir/$ac_word$ac_exec_ext"
10215 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
10224 GCJ
=$ac_cv_path_GCJ
10226 if test -n "$GCJ"; then
10227 echo "$as_me:$LINENO: result: $GCJ" >&5
10228 echo "${ECHO_T}$GCJ" >&6
10230 echo "$as_me:$LINENO: result: no" >&5
10231 echo "${ECHO_T}no" >&6
10236 if test "x$GCJ" != x
; then
10237 ## GCC version 2 puts out version messages that looked like:
10240 ## GCC version 3 puts out version messages like:
10242 ## Copyright (C) 2003 Free Software Foundation, Inc.
10243 ## This is free software; see the source for copying conditions. There is NO
10244 ## warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
10245 echo "$as_me:$LINENO: checking gcj version" >&5
10246 echo $ECHO_N "checking gcj version... $ECHO_C" >&6
10247 ## Take the output from gcj --version and extract just the version number
10248 ## into GCJ_VERSION.
10249 ## (we need to do this to be compatible with both GCC 2 and GCC 3 version
10252 ## First, we get rid of everything before the first number on that line.
10253 ## Assume that the first number on that line is the start of the
10256 ## Second, while we're at it, go ahead and get rid of the first character
10257 ## that is not part of a version number (i.e., is neither a digit nor
10260 ## Third, quit, so that we won't process the second and subsequent lines.
10261 GCJ_VERSION
=`$GCJ --version | sed -e 's/^[^0-9]*//' -e 's/[^.0-9][^.0-9]*//' -e 'q'`
10262 GCJ_VERSION_MAJOR
=`echo "$GCJ_VERSION" | cut -d '.' -f 1`
10263 GCJ_VERSION_MINOR
=`echo "$GCJ_VERSION" | cut -d '.' -f 2`
10265 if expr "$GCJ_VERSION_MAJOR" \
< 3 > /dev
/null
; then
10268 if expr "$GCJ_VERSION_MAJOR" = 3 > /dev
/null
; then
10269 if expr "$GCJ_VERSION_MINOR" \
< 3; then
10273 if test "x$GCJ" != x
; then
10274 echo "$as_me:$LINENO: result: $GCJ_VERSION" >&5
10275 echo "${ECHO_T}$GCJ_VERSION" >&6
10277 { echo "$as_me:$LINENO: WARNING: $GCJ_VERSION: gcj 3.3 or higher required" >&5
10278 echo "$as_me: WARNING: $GCJ_VERSION: gcj 3.3 or higher required" >&2;}
10283 if test "x${withval}" != xno
; then
10285 if test "x" != x
; then
10286 if test -f ""; then
10289 # Extract the first word of """", so it can be a program name with args.
10290 set dummy
""; ac_word
=$2
10291 echo "$as_me:$LINENO: checking for $ac_word" >&5
10292 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
10293 if test "${ac_cv_path_GCJ+set}" = set; then
10294 echo $ECHO_N "(cached) $ECHO_C" >&6
10298 ac_cv_path_GCJ
="$GCJ" # Let the user override the test with a path.
10301 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
10302 for as_dir
in $PATH
10305 test -z "$as_dir" && as_dir
=.
10306 for ac_exec_ext
in '' $ac_executable_extensions; do
10307 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
10308 ac_cv_path_GCJ
="$as_dir/$ac_word$ac_exec_ext"
10309 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
10318 GCJ
=$ac_cv_path_GCJ
10320 if test -n "$GCJ"; then
10321 echo "$as_me:$LINENO: result: $GCJ" >&5
10322 echo "${ECHO_T}$GCJ" >&6
10324 echo "$as_me:$LINENO: result: no" >&5
10325 echo "${ECHO_T}no" >&6
10330 # Extract the first word of ""gcj"", so it can be a program name with args.
10331 set dummy
"gcj"; ac_word
=$2
10332 echo "$as_me:$LINENO: checking for $ac_word" >&5
10333 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
10334 if test "${ac_cv_path_GCJ+set}" = set; then
10335 echo $ECHO_N "(cached) $ECHO_C" >&6
10339 ac_cv_path_GCJ
="$GCJ" # Let the user override the test with a path.
10342 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
10343 for as_dir
in $PATH
10346 test -z "$as_dir" && as_dir
=.
10347 for ac_exec_ext
in '' $ac_executable_extensions; do
10348 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
10349 ac_cv_path_GCJ
="$as_dir/$ac_word$ac_exec_ext"
10350 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
10359 GCJ
=$ac_cv_path_GCJ
10361 if test -n "$GCJ"; then
10362 echo "$as_me:$LINENO: result: $GCJ" >&5
10363 echo "${ECHO_T}$GCJ" >&6
10365 echo "$as_me:$LINENO: result: no" >&5
10366 echo "${ECHO_T}no" >&6
10371 if test "x$GCJ" != x
; then
10372 ## GCC version 2 puts out version messages that looked like:
10375 ## GCC version 3 puts out version messages like:
10377 ## Copyright (C) 2003 Free Software Foundation, Inc.
10378 ## This is free software; see the source for copying conditions. There is NO
10379 ## warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
10380 echo "$as_me:$LINENO: checking gcj version" >&5
10381 echo $ECHO_N "checking gcj version... $ECHO_C" >&6
10382 ## Take the output from gcj --version and extract just the version number
10383 ## into GCJ_VERSION.
10384 ## (we need to do this to be compatible with both GCC 2 and GCC 3 version
10387 ## First, we get rid of everything before the first number on that line.
10388 ## Assume that the first number on that line is the start of the
10391 ## Second, while we're at it, go ahead and get rid of the first character
10392 ## that is not part of a version number (i.e., is neither a digit nor
10395 ## Third, quit, so that we won't process the second and subsequent lines.
10396 GCJ_VERSION
=`$GCJ --version | sed -e 's/^[^0-9]*//' -e 's/[^.0-9][^.0-9]*//' -e 'q'`
10397 GCJ_VERSION_MAJOR
=`echo "$GCJ_VERSION" | cut -d '.' -f 1`
10398 GCJ_VERSION_MINOR
=`echo "$GCJ_VERSION" | cut -d '.' -f 2`
10400 if expr "$GCJ_VERSION_MAJOR" \
< 3 > /dev
/null
; then
10403 if expr "$GCJ_VERSION_MAJOR" = 3 > /dev
/null
; then
10404 if expr "$GCJ_VERSION_MINOR" \
< 3; then
10408 if test "x$GCJ" != x
; then
10409 echo "$as_me:$LINENO: result: $GCJ_VERSION" >&5
10410 echo "${ECHO_T}$GCJ_VERSION" >&6
10412 { echo "$as_me:$LINENO: WARNING: $GCJ_VERSION: gcj 3.3 or higher required" >&5
10413 echo "$as_me: WARNING: $GCJ_VERSION: gcj 3.3 or higher required" >&2;}
10419 user_specified_javac
=gcj
10424 if test "x" != x
; then
10425 if test -f ""; then
10428 # Extract the first word of """", so it can be a program name with args.
10429 set dummy
""; ac_word
=$2
10430 echo "$as_me:$LINENO: checking for $ac_word" >&5
10431 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
10432 if test "${ac_cv_path_GCJ+set}" = set; then
10433 echo $ECHO_N "(cached) $ECHO_C" >&6
10437 ac_cv_path_GCJ
="$GCJ" # Let the user override the test with a path.
10440 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
10441 for as_dir
in $PATH
10444 test -z "$as_dir" && as_dir
=.
10445 for ac_exec_ext
in '' $ac_executable_extensions; do
10446 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
10447 ac_cv_path_GCJ
="$as_dir/$ac_word$ac_exec_ext"
10448 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
10457 GCJ
=$ac_cv_path_GCJ
10459 if test -n "$GCJ"; then
10460 echo "$as_me:$LINENO: result: $GCJ" >&5
10461 echo "${ECHO_T}$GCJ" >&6
10463 echo "$as_me:$LINENO: result: no" >&5
10464 echo "${ECHO_T}no" >&6
10469 # Extract the first word of ""gcj"", so it can be a program name with args.
10470 set dummy
"gcj"; ac_word
=$2
10471 echo "$as_me:$LINENO: checking for $ac_word" >&5
10472 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
10473 if test "${ac_cv_path_GCJ+set}" = set; then
10474 echo $ECHO_N "(cached) $ECHO_C" >&6
10478 ac_cv_path_GCJ
="$GCJ" # Let the user override the test with a path.
10481 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
10482 for as_dir
in $PATH
10485 test -z "$as_dir" && as_dir
=.
10486 for ac_exec_ext
in '' $ac_executable_extensions; do
10487 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
10488 ac_cv_path_GCJ
="$as_dir/$ac_word$ac_exec_ext"
10489 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
10498 GCJ
=$ac_cv_path_GCJ
10500 if test -n "$GCJ"; then
10501 echo "$as_me:$LINENO: result: $GCJ" >&5
10502 echo "${ECHO_T}$GCJ" >&6
10504 echo "$as_me:$LINENO: result: no" >&5
10505 echo "${ECHO_T}no" >&6
10510 if test "x$GCJ" != x
; then
10511 ## GCC version 2 puts out version messages that looked like:
10514 ## GCC version 3 puts out version messages like:
10516 ## Copyright (C) 2003 Free Software Foundation, Inc.
10517 ## This is free software; see the source for copying conditions. There is NO
10518 ## warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
10519 echo "$as_me:$LINENO: checking gcj version" >&5
10520 echo $ECHO_N "checking gcj version... $ECHO_C" >&6
10521 ## Take the output from gcj --version and extract just the version number
10522 ## into GCJ_VERSION.
10523 ## (we need to do this to be compatible with both GCC 2 and GCC 3 version
10526 ## First, we get rid of everything before the first number on that line.
10527 ## Assume that the first number on that line is the start of the
10530 ## Second, while we're at it, go ahead and get rid of the first character
10531 ## that is not part of a version number (i.e., is neither a digit nor
10534 ## Third, quit, so that we won't process the second and subsequent lines.
10535 GCJ_VERSION
=`$GCJ --version | sed -e 's/^[^0-9]*//' -e 's/[^.0-9][^.0-9]*//' -e 'q'`
10536 GCJ_VERSION_MAJOR
=`echo "$GCJ_VERSION" | cut -d '.' -f 1`
10537 GCJ_VERSION_MINOR
=`echo "$GCJ_VERSION" | cut -d '.' -f 2`
10539 if expr "$GCJ_VERSION_MAJOR" \
< 3 > /dev
/null
; then
10542 if expr "$GCJ_VERSION_MAJOR" = 3 > /dev
/null
; then
10543 if expr "$GCJ_VERSION_MINOR" \
< 3; then
10547 if test "x$GCJ" != x
; then
10548 echo "$as_me:$LINENO: result: $GCJ_VERSION" >&5
10549 echo "${ECHO_T}$GCJ_VERSION" >&6
10551 { echo "$as_me:$LINENO: WARNING: $GCJ_VERSION: gcj 3.3 or higher required" >&5
10552 echo "$as_me: WARNING: $GCJ_VERSION: gcj 3.3 or higher required" >&2;}
10562 # Check whether --with-jikes or --without-jikes was given.
10563 if test "${with_jikes+set}" = set; then
10564 withval
="$with_jikes"
10566 if test "x${withval}" != x && test "x${withval}" != xyes && test "x${withval}" != xno
; then
10568 if test "x${withval}" != x
; then
10569 if test -f "${withval}"; then
10572 # Extract the first word of ""${withval}"", so it can be a program name with args.
10573 set dummy
"${withval}"; ac_word
=$2
10574 echo "$as_me:$LINENO: checking for $ac_word" >&5
10575 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
10576 if test "${ac_cv_path_JIKES+set}" = set; then
10577 echo $ECHO_N "(cached) $ECHO_C" >&6
10581 ac_cv_path_JIKES
="$JIKES" # Let the user override the test with a path.
10584 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
10585 for as_dir
in $PATH
10588 test -z "$as_dir" && as_dir
=.
10589 for ac_exec_ext
in '' $ac_executable_extensions; do
10590 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
10591 ac_cv_path_JIKES
="$as_dir/$ac_word$ac_exec_ext"
10592 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
10601 JIKES
=$ac_cv_path_JIKES
10603 if test -n "$JIKES"; then
10604 echo "$as_me:$LINENO: result: $JIKES" >&5
10605 echo "${ECHO_T}$JIKES" >&6
10607 echo "$as_me:$LINENO: result: no" >&5
10608 echo "${ECHO_T}no" >&6
10613 # Extract the first word of ""jikes"", so it can be a program name with args.
10614 set dummy
"jikes"; ac_word
=$2
10615 echo "$as_me:$LINENO: checking for $ac_word" >&5
10616 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
10617 if test "${ac_cv_path_JIKES+set}" = set; then
10618 echo $ECHO_N "(cached) $ECHO_C" >&6
10622 ac_cv_path_JIKES
="$JIKES" # Let the user override the test with a path.
10625 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
10626 for as_dir
in $PATH
10629 test -z "$as_dir" && as_dir
=.
10630 for ac_exec_ext
in '' $ac_executable_extensions; do
10631 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
10632 ac_cv_path_JIKES
="$as_dir/$ac_word$ac_exec_ext"
10633 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
10642 JIKES
=$ac_cv_path_JIKES
10644 if test -n "$JIKES"; then
10645 echo "$as_me:$LINENO: result: $JIKES" >&5
10646 echo "${ECHO_T}$JIKES" >&6
10648 echo "$as_me:$LINENO: result: no" >&5
10649 echo "${ECHO_T}no" >&6
10653 if test "x$JIKES" != "x"; then
10654 echo "$as_me:$LINENO: checking jikes version" >&5
10655 echo $ECHO_N "checking jikes version... $ECHO_C" >&6
10656 JIKES_VERSION
=`$JIKES --version | awk '/^Jikes Compiler/' | cut -d ' ' -f 5`
10657 JIKES_VERSION_MAJOR
=`echo "$JIKES_VERSION" | cut -d '.' -f 1`
10658 JIKES_VERSION_MINOR
=`echo "$JIKES_VERSION" | cut -d '.' -f 2`
10659 if expr "$JIKES_VERSION_MAJOR" = 1 > /dev
/null
; then
10660 if expr "$JIKES_VERSION_MINOR" \
< 19 > /dev
/null
; then
10664 if test "x$JIKES" != "x"; then
10665 echo "$as_me:$LINENO: result: $JIKES_VERSION" >&5
10666 echo "${ECHO_T}$JIKES_VERSION" >&6
10668 { echo "$as_me:$LINENO: WARNING: $JIKES_VERSION: jikes 1.19 or higher required" >&5
10669 echo "$as_me: WARNING: $JIKES_VERSION: jikes 1.19 or higher required" >&2;}
10673 if test -n "`$JIKES --help 2>&1 | grep encoding`"; then
10674 JIKESENCODING
='-encoding UTF-8'
10680 if test "x${withval}" != xno
; then
10682 if test "x" != x
; then
10683 if test -f ""; then
10686 # Extract the first word of """", so it can be a program name with args.
10687 set dummy
""; ac_word
=$2
10688 echo "$as_me:$LINENO: checking for $ac_word" >&5
10689 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
10690 if test "${ac_cv_path_JIKES+set}" = set; then
10691 echo $ECHO_N "(cached) $ECHO_C" >&6
10695 ac_cv_path_JIKES
="$JIKES" # Let the user override the test with a path.
10698 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
10699 for as_dir
in $PATH
10702 test -z "$as_dir" && as_dir
=.
10703 for ac_exec_ext
in '' $ac_executable_extensions; do
10704 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
10705 ac_cv_path_JIKES
="$as_dir/$ac_word$ac_exec_ext"
10706 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
10715 JIKES
=$ac_cv_path_JIKES
10717 if test -n "$JIKES"; then
10718 echo "$as_me:$LINENO: result: $JIKES" >&5
10719 echo "${ECHO_T}$JIKES" >&6
10721 echo "$as_me:$LINENO: result: no" >&5
10722 echo "${ECHO_T}no" >&6
10727 # Extract the first word of ""jikes"", so it can be a program name with args.
10728 set dummy
"jikes"; ac_word
=$2
10729 echo "$as_me:$LINENO: checking for $ac_word" >&5
10730 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
10731 if test "${ac_cv_path_JIKES+set}" = set; then
10732 echo $ECHO_N "(cached) $ECHO_C" >&6
10736 ac_cv_path_JIKES
="$JIKES" # Let the user override the test with a path.
10739 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
10740 for as_dir
in $PATH
10743 test -z "$as_dir" && as_dir
=.
10744 for ac_exec_ext
in '' $ac_executable_extensions; do
10745 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
10746 ac_cv_path_JIKES
="$as_dir/$ac_word$ac_exec_ext"
10747 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
10756 JIKES
=$ac_cv_path_JIKES
10758 if test -n "$JIKES"; then
10759 echo "$as_me:$LINENO: result: $JIKES" >&5
10760 echo "${ECHO_T}$JIKES" >&6
10762 echo "$as_me:$LINENO: result: no" >&5
10763 echo "${ECHO_T}no" >&6
10767 if test "x$JIKES" != "x"; then
10768 echo "$as_me:$LINENO: checking jikes version" >&5
10769 echo $ECHO_N "checking jikes version... $ECHO_C" >&6
10770 JIKES_VERSION
=`$JIKES --version | awk '/^Jikes Compiler/' | cut -d ' ' -f 5`
10771 JIKES_VERSION_MAJOR
=`echo "$JIKES_VERSION" | cut -d '.' -f 1`
10772 JIKES_VERSION_MINOR
=`echo "$JIKES_VERSION" | cut -d '.' -f 2`
10773 if expr "$JIKES_VERSION_MAJOR" = 1 > /dev
/null
; then
10774 if expr "$JIKES_VERSION_MINOR" \
< 19 > /dev
/null
; then
10778 if test "x$JIKES" != "x"; then
10779 echo "$as_me:$LINENO: result: $JIKES_VERSION" >&5
10780 echo "${ECHO_T}$JIKES_VERSION" >&6
10782 { echo "$as_me:$LINENO: WARNING: $JIKES_VERSION: jikes 1.19 or higher required" >&5
10783 echo "$as_me: WARNING: $JIKES_VERSION: jikes 1.19 or higher required" >&2;}
10787 if test -n "`$JIKES --help 2>&1 | grep encoding`"; then
10788 JIKESENCODING
='-encoding UTF-8'
10795 user_specified_javac
=jikes
10800 if test "x" != x
; then
10801 if test -f ""; then
10804 # Extract the first word of """", so it can be a program name with args.
10805 set dummy
""; ac_word
=$2
10806 echo "$as_me:$LINENO: checking for $ac_word" >&5
10807 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
10808 if test "${ac_cv_path_JIKES+set}" = set; then
10809 echo $ECHO_N "(cached) $ECHO_C" >&6
10813 ac_cv_path_JIKES
="$JIKES" # Let the user override the test with a path.
10816 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
10817 for as_dir
in $PATH
10820 test -z "$as_dir" && as_dir
=.
10821 for ac_exec_ext
in '' $ac_executable_extensions; do
10822 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
10823 ac_cv_path_JIKES
="$as_dir/$ac_word$ac_exec_ext"
10824 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
10833 JIKES
=$ac_cv_path_JIKES
10835 if test -n "$JIKES"; then
10836 echo "$as_me:$LINENO: result: $JIKES" >&5
10837 echo "${ECHO_T}$JIKES" >&6
10839 echo "$as_me:$LINENO: result: no" >&5
10840 echo "${ECHO_T}no" >&6
10845 # Extract the first word of ""jikes"", so it can be a program name with args.
10846 set dummy
"jikes"; ac_word
=$2
10847 echo "$as_me:$LINENO: checking for $ac_word" >&5
10848 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
10849 if test "${ac_cv_path_JIKES+set}" = set; then
10850 echo $ECHO_N "(cached) $ECHO_C" >&6
10854 ac_cv_path_JIKES
="$JIKES" # Let the user override the test with a path.
10857 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
10858 for as_dir
in $PATH
10861 test -z "$as_dir" && as_dir
=.
10862 for ac_exec_ext
in '' $ac_executable_extensions; do
10863 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
10864 ac_cv_path_JIKES
="$as_dir/$ac_word$ac_exec_ext"
10865 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
10874 JIKES
=$ac_cv_path_JIKES
10876 if test -n "$JIKES"; then
10877 echo "$as_me:$LINENO: result: $JIKES" >&5
10878 echo "${ECHO_T}$JIKES" >&6
10880 echo "$as_me:$LINENO: result: no" >&5
10881 echo "${ECHO_T}no" >&6
10885 if test "x$JIKES" != "x"; then
10886 echo "$as_me:$LINENO: checking jikes version" >&5
10887 echo $ECHO_N "checking jikes version... $ECHO_C" >&6
10888 JIKES_VERSION
=`$JIKES --version | awk '/^Jikes Compiler/' | cut -d ' ' -f 5`
10889 JIKES_VERSION_MAJOR
=`echo "$JIKES_VERSION" | cut -d '.' -f 1`
10890 JIKES_VERSION_MINOR
=`echo "$JIKES_VERSION" | cut -d '.' -f 2`
10891 if expr "$JIKES_VERSION_MAJOR" = 1 > /dev
/null
; then
10892 if expr "$JIKES_VERSION_MINOR" \
< 19 > /dev
/null
; then
10896 if test "x$JIKES" != "x"; then
10897 echo "$as_me:$LINENO: result: $JIKES_VERSION" >&5
10898 echo "${ECHO_T}$JIKES_VERSION" >&6
10900 { echo "$as_me:$LINENO: WARNING: $JIKES_VERSION: jikes 1.19 or higher required" >&5
10901 echo "$as_me: WARNING: $JIKES_VERSION: jikes 1.19 or higher required" >&2;}
10905 if test -n "`$JIKES --help 2>&1 | grep encoding`"; then
10906 JIKESENCODING
='-encoding UTF-8'
10917 # Check whether --with-kjc or --without-kjc was given.
10918 if test "${with_kjc+set}" = set; then
10919 withval
="$with_kjc"
10921 if test "x${withval}" != x && test "x${withval}" != xyes && test "x${withval}" != xno
; then
10923 if test "x${withval}" != x
; then
10924 if test -f "${withval}"; then
10927 # Extract the first word of ""${withval}"", so it can be a program name with args.
10928 set dummy
"${withval}"; ac_word
=$2
10929 echo "$as_me:$LINENO: checking for $ac_word" >&5
10930 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
10931 if test "${ac_cv_path_KJC+set}" = set; then
10932 echo $ECHO_N "(cached) $ECHO_C" >&6
10936 ac_cv_path_KJC
="$KJC" # Let the user override the test with a path.
10939 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
10940 for as_dir
in $PATH
10943 test -z "$as_dir" && as_dir
=.
10944 for ac_exec_ext
in '' $ac_executable_extensions; do
10945 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
10946 ac_cv_path_KJC
="$as_dir/$ac_word$ac_exec_ext"
10947 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
10956 KJC
=$ac_cv_path_KJC
10958 if test -n "$KJC"; then
10959 echo "$as_me:$LINENO: result: $KJC" >&5
10960 echo "${ECHO_T}$KJC" >&6
10962 echo "$as_me:$LINENO: result: no" >&5
10963 echo "${ECHO_T}no" >&6
10968 # Extract the first word of ""kJC"", so it can be a program name with args.
10969 set dummy
"kJC"; ac_word
=$2
10970 echo "$as_me:$LINENO: checking for $ac_word" >&5
10971 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
10972 if test "${ac_cv_path_KJC+set}" = set; then
10973 echo $ECHO_N "(cached) $ECHO_C" >&6
10977 ac_cv_path_KJC
="$KJC" # Let the user override the test with a path.
10980 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
10981 for as_dir
in $PATH
10984 test -z "$as_dir" && as_dir
=.
10985 for ac_exec_ext
in '' $ac_executable_extensions; do
10986 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
10987 ac_cv_path_KJC
="$as_dir/$ac_word$ac_exec_ext"
10988 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
10997 KJC
=$ac_cv_path_KJC
10999 if test -n "$KJC"; then
11000 echo "$as_me:$LINENO: result: $KJC" >&5
11001 echo "${ECHO_T}$KJC" >&6
11003 echo "$as_me:$LINENO: result: no" >&5
11004 echo "${ECHO_T}no" >&6
11010 if test "x${withval}" != xno
; then
11012 if test "x" != x
; then
11013 if test -f ""; then
11016 # Extract the first word of """", so it can be a program name with args.
11017 set dummy
""; ac_word
=$2
11018 echo "$as_me:$LINENO: checking for $ac_word" >&5
11019 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
11020 if test "${ac_cv_path_KJC+set}" = set; then
11021 echo $ECHO_N "(cached) $ECHO_C" >&6
11025 ac_cv_path_KJC
="$KJC" # Let the user override the test with a path.
11028 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
11029 for as_dir
in $PATH
11032 test -z "$as_dir" && as_dir
=.
11033 for ac_exec_ext
in '' $ac_executable_extensions; do
11034 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
11035 ac_cv_path_KJC
="$as_dir/$ac_word$ac_exec_ext"
11036 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
11045 KJC
=$ac_cv_path_KJC
11047 if test -n "$KJC"; then
11048 echo "$as_me:$LINENO: result: $KJC" >&5
11049 echo "${ECHO_T}$KJC" >&6
11051 echo "$as_me:$LINENO: result: no" >&5
11052 echo "${ECHO_T}no" >&6
11057 # Extract the first word of ""kJC"", so it can be a program name with args.
11058 set dummy
"kJC"; ac_word
=$2
11059 echo "$as_me:$LINENO: checking for $ac_word" >&5
11060 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
11061 if test "${ac_cv_path_KJC+set}" = set; then
11062 echo $ECHO_N "(cached) $ECHO_C" >&6
11066 ac_cv_path_KJC
="$KJC" # Let the user override the test with a path.
11069 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
11070 for as_dir
in $PATH
11073 test -z "$as_dir" && as_dir
=.
11074 for ac_exec_ext
in '' $ac_executable_extensions; do
11075 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
11076 ac_cv_path_KJC
="$as_dir/$ac_word$ac_exec_ext"
11077 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
11086 KJC
=$ac_cv_path_KJC
11088 if test -n "$KJC"; then
11089 echo "$as_me:$LINENO: result: $KJC" >&5
11090 echo "${ECHO_T}$KJC" >&6
11092 echo "$as_me:$LINENO: result: no" >&5
11093 echo "${ECHO_T}no" >&6
11100 user_specified_javac
=kjc
11105 if test "x" != x
; then
11106 if test -f ""; then
11109 # Extract the first word of """", so it can be a program name with args.
11110 set dummy
""; ac_word
=$2
11111 echo "$as_me:$LINENO: checking for $ac_word" >&5
11112 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
11113 if test "${ac_cv_path_KJC+set}" = set; then
11114 echo $ECHO_N "(cached) $ECHO_C" >&6
11118 ac_cv_path_KJC
="$KJC" # Let the user override the test with a path.
11121 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
11122 for as_dir
in $PATH
11125 test -z "$as_dir" && as_dir
=.
11126 for ac_exec_ext
in '' $ac_executable_extensions; do
11127 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
11128 ac_cv_path_KJC
="$as_dir/$ac_word$ac_exec_ext"
11129 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
11138 KJC
=$ac_cv_path_KJC
11140 if test -n "$KJC"; then
11141 echo "$as_me:$LINENO: result: $KJC" >&5
11142 echo "${ECHO_T}$KJC" >&6
11144 echo "$as_me:$LINENO: result: no" >&5
11145 echo "${ECHO_T}no" >&6
11150 # Extract the first word of ""kJC"", so it can be a program name with args.
11151 set dummy
"kJC"; ac_word
=$2
11152 echo "$as_me:$LINENO: checking for $ac_word" >&5
11153 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
11154 if test "${ac_cv_path_KJC+set}" = set; then
11155 echo $ECHO_N "(cached) $ECHO_C" >&6
11159 ac_cv_path_KJC
="$KJC" # Let the user override the test with a path.
11162 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
11163 for as_dir
in $PATH
11166 test -z "$as_dir" && as_dir
=.
11167 for ac_exec_ext
in '' $ac_executable_extensions; do
11168 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
11169 ac_cv_path_KJC
="$as_dir/$ac_word$ac_exec_ext"
11170 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
11179 KJC
=$ac_cv_path_KJC
11181 if test -n "$KJC"; then
11182 echo "$as_me:$LINENO: result: $KJC" >&5
11183 echo "${ECHO_T}$KJC" >&6
11185 echo "$as_me:$LINENO: result: no" >&5
11186 echo "${ECHO_T}no" >&6
11197 # Check whether --with-gcjx or --without-gcjx was given.
11198 if test "${with_gcjx+set}" = set; then
11199 withval
="$with_gcjx"
11201 if test "x${withval}" != x && test "x${withval}" != xyes && test "x${withval}" != xno
; then
11203 if test "x${withval}" != x
; then
11204 if test -f "${withval}"; then
11207 # Extract the first word of ""${withval}"", so it can be a program name with args.
11208 set dummy
"${withval}"; ac_word
=$2
11209 echo "$as_me:$LINENO: checking for $ac_word" >&5
11210 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
11211 if test "${ac_cv_path_GCJX+set}" = set; then
11212 echo $ECHO_N "(cached) $ECHO_C" >&6
11216 ac_cv_path_GCJX
="$GCJX" # Let the user override the test with a path.
11219 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
11220 for as_dir
in $PATH
11223 test -z "$as_dir" && as_dir
=.
11224 for ac_exec_ext
in '' $ac_executable_extensions; do
11225 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
11226 ac_cv_path_GCJX
="$as_dir/$ac_word$ac_exec_ext"
11227 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
11236 GCJX
=$ac_cv_path_GCJX
11238 if test -n "$GCJX"; then
11239 echo "$as_me:$LINENO: result: $GCJX" >&5
11240 echo "${ECHO_T}$GCJX" >&6
11242 echo "$as_me:$LINENO: result: no" >&5
11243 echo "${ECHO_T}no" >&6
11248 # Extract the first word of ""gcjx"", so it can be a program name with args.
11249 set dummy
"gcjx"; ac_word
=$2
11250 echo "$as_me:$LINENO: checking for $ac_word" >&5
11251 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
11252 if test "${ac_cv_path_GCJX+set}" = set; then
11253 echo $ECHO_N "(cached) $ECHO_C" >&6
11257 ac_cv_path_GCJX
="$GCJX" # Let the user override the test with a path.
11260 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
11261 for as_dir
in $PATH
11264 test -z "$as_dir" && as_dir
=.
11265 for ac_exec_ext
in '' $ac_executable_extensions; do
11266 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
11267 ac_cv_path_GCJX
="$as_dir/$ac_word$ac_exec_ext"
11268 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
11277 GCJX
=$ac_cv_path_GCJX
11279 if test -n "$GCJX"; then
11280 echo "$as_me:$LINENO: result: $GCJX" >&5
11281 echo "${ECHO_T}$GCJX" >&6
11283 echo "$as_me:$LINENO: result: no" >&5
11284 echo "${ECHO_T}no" >&6
11290 if test "x${withval}" != xno
; then
11292 if test "x" != x
; then
11293 if test -f ""; then
11296 # Extract the first word of """", so it can be a program name with args.
11297 set dummy
""; ac_word
=$2
11298 echo "$as_me:$LINENO: checking for $ac_word" >&5
11299 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
11300 if test "${ac_cv_path_GCJX+set}" = set; then
11301 echo $ECHO_N "(cached) $ECHO_C" >&6
11305 ac_cv_path_GCJX
="$GCJX" # Let the user override the test with a path.
11308 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
11309 for as_dir
in $PATH
11312 test -z "$as_dir" && as_dir
=.
11313 for ac_exec_ext
in '' $ac_executable_extensions; do
11314 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
11315 ac_cv_path_GCJX
="$as_dir/$ac_word$ac_exec_ext"
11316 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
11325 GCJX
=$ac_cv_path_GCJX
11327 if test -n "$GCJX"; then
11328 echo "$as_me:$LINENO: result: $GCJX" >&5
11329 echo "${ECHO_T}$GCJX" >&6
11331 echo "$as_me:$LINENO: result: no" >&5
11332 echo "${ECHO_T}no" >&6
11337 # Extract the first word of ""gcjx"", so it can be a program name with args.
11338 set dummy
"gcjx"; ac_word
=$2
11339 echo "$as_me:$LINENO: checking for $ac_word" >&5
11340 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
11341 if test "${ac_cv_path_GCJX+set}" = set; then
11342 echo $ECHO_N "(cached) $ECHO_C" >&6
11346 ac_cv_path_GCJX
="$GCJX" # Let the user override the test with a path.
11349 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
11350 for as_dir
in $PATH
11353 test -z "$as_dir" && as_dir
=.
11354 for ac_exec_ext
in '' $ac_executable_extensions; do
11355 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
11356 ac_cv_path_GCJX
="$as_dir/$ac_word$ac_exec_ext"
11357 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
11366 GCJX
=$ac_cv_path_GCJX
11368 if test -n "$GCJX"; then
11369 echo "$as_me:$LINENO: result: $GCJX" >&5
11370 echo "${ECHO_T}$GCJX" >&6
11372 echo "$as_me:$LINENO: result: no" >&5
11373 echo "${ECHO_T}no" >&6
11380 user_specified_javac
=gcjx
11385 if test "x" != x
; then
11386 if test -f ""; then
11389 # Extract the first word of """", so it can be a program name with args.
11390 set dummy
""; ac_word
=$2
11391 echo "$as_me:$LINENO: checking for $ac_word" >&5
11392 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
11393 if test "${ac_cv_path_GCJX+set}" = set; then
11394 echo $ECHO_N "(cached) $ECHO_C" >&6
11398 ac_cv_path_GCJX
="$GCJX" # Let the user override the test with a path.
11401 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
11402 for as_dir
in $PATH
11405 test -z "$as_dir" && as_dir
=.
11406 for ac_exec_ext
in '' $ac_executable_extensions; do
11407 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
11408 ac_cv_path_GCJX
="$as_dir/$ac_word$ac_exec_ext"
11409 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
11418 GCJX
=$ac_cv_path_GCJX
11420 if test -n "$GCJX"; then
11421 echo "$as_me:$LINENO: result: $GCJX" >&5
11422 echo "${ECHO_T}$GCJX" >&6
11424 echo "$as_me:$LINENO: result: no" >&5
11425 echo "${ECHO_T}no" >&6
11430 # Extract the first word of ""gcjx"", so it can be a program name with args.
11431 set dummy
"gcjx"; ac_word
=$2
11432 echo "$as_me:$LINENO: checking for $ac_word" >&5
11433 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
11434 if test "${ac_cv_path_GCJX+set}" = set; then
11435 echo $ECHO_N "(cached) $ECHO_C" >&6
11439 ac_cv_path_GCJX
="$GCJX" # Let the user override the test with a path.
11442 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
11443 for as_dir
in $PATH
11446 test -z "$as_dir" && as_dir
=.
11447 for ac_exec_ext
in '' $ac_executable_extensions; do
11448 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
11449 ac_cv_path_GCJX
="$as_dir/$ac_word$ac_exec_ext"
11450 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
11459 GCJX
=$ac_cv_path_GCJX
11461 if test -n "$GCJX"; then
11462 echo "$as_me:$LINENO: result: $GCJX" >&5
11463 echo "${ECHO_T}$GCJX" >&6
11465 echo "$as_me:$LINENO: result: no" >&5
11466 echo "${ECHO_T}no" >&6
11477 # Check whether --with-ecj or --without-ecj was given.
11478 if test "${with_ecj+set}" = set; then
11479 withval
="$with_ecj"
11481 if test "x${withval}" != x && test "x${withval}" != xyes && test "x${withval}" != xno
; then
11483 if test "x${withval}" != x
; then
11484 if test -f "${withval}"; then
11487 # Extract the first word of ""${withval}"", so it can be a program name with args.
11488 set dummy
"${withval}"; ac_word
=$2
11489 echo "$as_me:$LINENO: checking for $ac_word" >&5
11490 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
11491 if test "${ac_cv_path_ECJ+set}" = set; then
11492 echo $ECHO_N "(cached) $ECHO_C" >&6
11496 ac_cv_path_ECJ
="$ECJ" # Let the user override the test with a path.
11499 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
11500 for as_dir
in $PATH
11503 test -z "$as_dir" && as_dir
=.
11504 for ac_exec_ext
in '' $ac_executable_extensions; do
11505 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
11506 ac_cv_path_ECJ
="$as_dir/$ac_word$ac_exec_ext"
11507 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
11516 ECJ
=$ac_cv_path_ECJ
11518 if test -n "$ECJ"; then
11519 echo "$as_me:$LINENO: result: $ECJ" >&5
11520 echo "${ECHO_T}$ECJ" >&6
11522 echo "$as_me:$LINENO: result: no" >&5
11523 echo "${ECHO_T}no" >&6
11528 # Extract the first word of ""ecj"", so it can be a program name with args.
11529 set dummy
"ecj"; ac_word
=$2
11530 echo "$as_me:$LINENO: checking for $ac_word" >&5
11531 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
11532 if test "${ac_cv_path_ECJ+set}" = set; then
11533 echo $ECHO_N "(cached) $ECHO_C" >&6
11537 ac_cv_path_ECJ
="$ECJ" # Let the user override the test with a path.
11540 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
11541 for as_dir
in $PATH
11544 test -z "$as_dir" && as_dir
=.
11545 for ac_exec_ext
in '' $ac_executable_extensions; do
11546 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
11547 ac_cv_path_ECJ
="$as_dir/$ac_word$ac_exec_ext"
11548 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
11557 ECJ
=$ac_cv_path_ECJ
11559 if test -n "$ECJ"; then
11560 echo "$as_me:$LINENO: result: $ECJ" >&5
11561 echo "${ECHO_T}$ECJ" >&6
11563 echo "$as_me:$LINENO: result: no" >&5
11564 echo "${ECHO_T}no" >&6
11570 if test "x${withval}" != xno
; then
11572 if test "x" != x
; then
11573 if test -f ""; then
11576 # Extract the first word of """", so it can be a program name with args.
11577 set dummy
""; ac_word
=$2
11578 echo "$as_me:$LINENO: checking for $ac_word" >&5
11579 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
11580 if test "${ac_cv_path_ECJ+set}" = set; then
11581 echo $ECHO_N "(cached) $ECHO_C" >&6
11585 ac_cv_path_ECJ
="$ECJ" # Let the user override the test with a path.
11588 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
11589 for as_dir
in $PATH
11592 test -z "$as_dir" && as_dir
=.
11593 for ac_exec_ext
in '' $ac_executable_extensions; do
11594 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
11595 ac_cv_path_ECJ
="$as_dir/$ac_word$ac_exec_ext"
11596 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
11605 ECJ
=$ac_cv_path_ECJ
11607 if test -n "$ECJ"; then
11608 echo "$as_me:$LINENO: result: $ECJ" >&5
11609 echo "${ECHO_T}$ECJ" >&6
11611 echo "$as_me:$LINENO: result: no" >&5
11612 echo "${ECHO_T}no" >&6
11617 # Extract the first word of ""ecj"", so it can be a program name with args.
11618 set dummy
"ecj"; ac_word
=$2
11619 echo "$as_me:$LINENO: checking for $ac_word" >&5
11620 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
11621 if test "${ac_cv_path_ECJ+set}" = set; then
11622 echo $ECHO_N "(cached) $ECHO_C" >&6
11626 ac_cv_path_ECJ
="$ECJ" # Let the user override the test with a path.
11629 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
11630 for as_dir
in $PATH
11633 test -z "$as_dir" && as_dir
=.
11634 for ac_exec_ext
in '' $ac_executable_extensions; do
11635 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
11636 ac_cv_path_ECJ
="$as_dir/$ac_word$ac_exec_ext"
11637 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
11646 ECJ
=$ac_cv_path_ECJ
11648 if test -n "$ECJ"; then
11649 echo "$as_me:$LINENO: result: $ECJ" >&5
11650 echo "${ECHO_T}$ECJ" >&6
11652 echo "$as_me:$LINENO: result: no" >&5
11653 echo "${ECHO_T}no" >&6
11660 user_specified_javac
=ecj
11665 if test "x" != x
; then
11666 if test -f ""; then
11669 # Extract the first word of """", so it can be a program name with args.
11670 set dummy
""; ac_word
=$2
11671 echo "$as_me:$LINENO: checking for $ac_word" >&5
11672 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
11673 if test "${ac_cv_path_ECJ+set}" = set; then
11674 echo $ECHO_N "(cached) $ECHO_C" >&6
11678 ac_cv_path_ECJ
="$ECJ" # Let the user override the test with a path.
11681 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
11682 for as_dir
in $PATH
11685 test -z "$as_dir" && as_dir
=.
11686 for ac_exec_ext
in '' $ac_executable_extensions; do
11687 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
11688 ac_cv_path_ECJ
="$as_dir/$ac_word$ac_exec_ext"
11689 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
11698 ECJ
=$ac_cv_path_ECJ
11700 if test -n "$ECJ"; then
11701 echo "$as_me:$LINENO: result: $ECJ" >&5
11702 echo "${ECHO_T}$ECJ" >&6
11704 echo "$as_me:$LINENO: result: no" >&5
11705 echo "${ECHO_T}no" >&6
11710 # Extract the first word of ""ecj"", so it can be a program name with args.
11711 set dummy
"ecj"; ac_word
=$2
11712 echo "$as_me:$LINENO: checking for $ac_word" >&5
11713 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
11714 if test "${ac_cv_path_ECJ+set}" = set; then
11715 echo $ECHO_N "(cached) $ECHO_C" >&6
11719 ac_cv_path_ECJ
="$ECJ" # Let the user override the test with a path.
11722 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
11723 for as_dir
in $PATH
11726 test -z "$as_dir" && as_dir
=.
11727 for ac_exec_ext
in '' $ac_executable_extensions; do
11728 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
11729 ac_cv_path_ECJ
="$as_dir/$ac_word$ac_exec_ext"
11730 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
11739 ECJ
=$ac_cv_path_ECJ
11741 if test -n "$ECJ"; then
11742 echo "$as_me:$LINENO: result: $ECJ" >&5
11743 echo "${ECHO_T}$ECJ" >&6
11745 echo "$as_me:$LINENO: result: no" >&5
11746 echo "${ECHO_T}no" >&6
11756 if test "x${user_specified_javac}" = x
; then
11759 if test "x${GCJ}" != x
; then
11761 FOUND_GCJ_FALSE
='#'
11769 if test "x${JIKES}" != x
; then
11771 FOUND_JIKES_FALSE
='#'
11773 FOUND_JIKES_TRUE
='#'
11779 if test "x${ECJ}" != x
; then
11781 FOUND_ECJ_FALSE
='#'
11790 if test "x${user_specified_javac}" = xgcj
; then
11792 FOUND_GCJ_FALSE
='#'
11800 if test "x${user_specified_javac}" = xjikes
; then
11802 FOUND_JIKES_FALSE
='#'
11804 FOUND_JIKES_TRUE
='#'
11810 if test "x${user_specified_javac}" = xecj
; then
11812 FOUND_ECJ_FALSE
='#'
11821 if test "x${user_specified_javac}" = xkjc
; then
11823 FOUND_KJC_FALSE
='#'
11831 if test "x${user_specified_javac}" = xgcjx
; then
11833 FOUND_GCJX_FALSE
='#'
11835 FOUND_GCJX_TRUE
='#'
11840 if test "x${GCJ}" = x && test "x${JIKES}" = x && test "x${user_specified_javac}" != xkjc && test "x${user_specified_javac}" != xgcjx
; then
11841 # FIXME: use autoconf error function
11842 echo "configure: cannot find javac, try --with-gcj, --with-jikes, --with-kjc, or --with-gcjx" 1>&2
11849 # Check whether --with-classpath or --without-classpath was given.
11850 if test "${with_classpath+set}" = set; then
11851 withval
="$with_classpath"
11853 if test "x${withval}" = xyes
; then
11854 # set user classpath to CLASSPATH from env
11855 echo "$as_me:$LINENO: checking for classlib" >&5
11856 echo $ECHO_N "checking for classlib... $ECHO_C" >&6
11857 USER_CLASSLIB
=${CLASSPATH}
11859 echo "$as_me:$LINENO: result: ${USER_CLASSLIB}" >&5
11860 echo "${ECHO_T}${USER_CLASSLIB}" >&6
11861 conditional_with_classlib
=true
11862 elif test "x${withval}" != x
&& test "x${withval}" != xno
; then
11863 # set user classpath to specified value
11864 echo "$as_me:$LINENO: checking for classlib" >&5
11865 echo $ECHO_N "checking for classlib... $ECHO_C" >&6
11866 USER_CLASSLIB
=${withval}
11868 echo "$as_me:$LINENO: result: ${withval}" >&5
11869 echo "${ECHO_T}${withval}" >&6
11870 conditional_with_classlib
=true
11874 conditional_with_classlib
=false
11878 if test "x${conditional_with_classlib}" = xtrue
; then
11879 USER_SPECIFIED_CLASSLIB_TRUE
=
11880 USER_SPECIFIED_CLASSLIB_FALSE
='#'
11882 USER_SPECIFIED_CLASSLIB_TRUE
='#'
11883 USER_SPECIFIED_CLASSLIB_FALSE
=
11888 # Check whether --with-vm-classes or --without-vm-classes was given.
11889 if test "${with_vm_classes+set}" = set; then
11890 withval
="$with_vm_classes"
11891 vm_classes
="$with_vm_classes"
11893 vm_classes
='${top_srcdir}/vm/reference'
11898 echo "$as_me:$LINENO: checking whether to enable maintainer-specific portions of Makefiles" >&5
11899 echo $ECHO_N "checking whether to enable maintainer-specific portions of Makefiles... $ECHO_C" >&6
11900 # Check whether --enable-maintainer-mode or --disable-maintainer-mode was given.
11901 if test "${enable_maintainer_mode+set}" = set; then
11902 enableval
="$enable_maintainer_mode"
11903 USE_MAINTAINER_MODE
=$enableval
11905 USE_MAINTAINER_MODE
=no
11907 echo "$as_me:$LINENO: result: $USE_MAINTAINER_MODE" >&5
11908 echo "${ECHO_T}$USE_MAINTAINER_MODE" >&6
11911 if test $USE_MAINTAINER_MODE = yes; then
11912 MAINTAINER_MODE_TRUE
=
11913 MAINTAINER_MODE_FALSE
='#'
11915 MAINTAINER_MODE_TRUE
='#'
11916 MAINTAINER_MODE_FALSE
=
11919 MAINT
=$MAINTAINER_MODE_TRUE
11923 # Check whether --enable-debug or --disable-debug was given.
11924 if test "${enable_debug+set}" = set; then
11925 enableval
="$enable_debug"
11926 case "${enableval}" in
11930 cat >>confdefs.h
<<\_ACEOF
11935 no
) LIBDEBUG
="false" ;;
11936 *) { { echo "$as_me:$LINENO: error: bad value ${enableval} for --enable-debug" >&5
11937 echo "$as_me: error: bad value ${enableval} for --enable-debug" >&2;}
11938 { (exit 1); exit 1; }; } ;;
11945 # Check whether --enable-load-library or --disable-load-library was given.
11946 if test "${enable_load_library+set}" = set; then
11947 enableval
="$enable_load_library"
11948 case "${enableval}" in
11949 yes) INIT_LOAD_LIBRARY
="true" ;;
11950 no
) INIT_LOAD_LIBRARY
="false" ;;
11951 *) { { echo "$as_me:$LINENO: error: bad value ${enableval} for --enable-load-library" >&5
11952 echo "$as_me: error: bad value ${enableval} for --enable-load-library" >&2;}
11953 { (exit 1); exit 1; }; } ;;
11956 INIT_LOAD_LIBRARY
="true"
11961 # Check whether --enable-java-lang-system-explicit-initialization or --disable-java-lang-system-explicit-initialization was given.
11962 if test "${enable_java_lang_system_explicit_initialization+set}" = set; then
11963 enableval
="$enable_java_lang_system_explicit_initialization"
11964 case "${enableval}" in
11965 yes|true
) JAVA_LANG_SYSTEM_EXPLICIT_INITIALIZATION
="true" ;;
11966 no|false
) JAVA_LANG_SYSTEM_EXPLICIT_INITIALIZATION
="false" ;;
11967 *) { { echo "$as_me:$LINENO: error: bad value ${enableval} for --enable-java-lang-system-explicit-initialization" >&5
11968 echo "$as_me: error: bad value ${enableval} for --enable-java-lang-system-explicit-initialization" >&2;}
11969 { (exit 1); exit 1; }; } ;;
11972 JAVA_LANG_SYSTEM_EXPLICIT_INITIALIZATION
="false"
11980 # Extract the first word of "sh", so it can be a program name with args.
11981 set dummy sh
; ac_word
=$2
11982 echo "$as_me:$LINENO: checking for $ac_word" >&5
11983 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
11984 if test "${ac_cv_path_SH+set}" = set; then
11985 echo $ECHO_N "(cached) $ECHO_C" >&6
11989 ac_cv_path_SH
="$SH" # Let the user override the test with a path.
11992 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
11993 for as_dir
in $PATH
11996 test -z "$as_dir" && as_dir
=.
11997 for ac_exec_ext
in '' $ac_executable_extensions; do
11998 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
11999 ac_cv_path_SH
="$as_dir/$ac_word$ac_exec_ext"
12000 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
12011 if test -n "$SH"; then
12012 echo "$as_me:$LINENO: result: $SH" >&5
12013 echo "${ECHO_T}$SH" >&6
12015 echo "$as_me:$LINENO: result: no" >&5
12016 echo "${ECHO_T}no" >&6
12019 # Extract the first word of "mkdir", so it can be a program name with args.
12020 set dummy mkdir
; ac_word
=$2
12021 echo "$as_me:$LINENO: checking for $ac_word" >&5
12022 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
12023 if test "${ac_cv_path_MKDIR+set}" = set; then
12024 echo $ECHO_N "(cached) $ECHO_C" >&6
12028 ac_cv_path_MKDIR
="$MKDIR" # Let the user override the test with a path.
12031 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
12032 for as_dir
in $PATH
12035 test -z "$as_dir" && as_dir
=.
12036 for ac_exec_ext
in '' $ac_executable_extensions; do
12037 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
12038 ac_cv_path_MKDIR
="$as_dir/$ac_word$ac_exec_ext"
12039 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
12048 MKDIR
=$ac_cv_path_MKDIR
12050 if test -n "$MKDIR"; then
12051 echo "$as_me:$LINENO: result: $MKDIR" >&5
12052 echo "${ECHO_T}$MKDIR" >&6
12054 echo "$as_me:$LINENO: result: no" >&5
12055 echo "${ECHO_T}no" >&6
12058 # Extract the first word of "cp", so it can be a program name with args.
12059 set dummy
cp; ac_word
=$2
12060 echo "$as_me:$LINENO: checking for $ac_word" >&5
12061 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
12062 if test "${ac_cv_path_CP+set}" = set; then
12063 echo $ECHO_N "(cached) $ECHO_C" >&6
12067 ac_cv_path_CP
="$CP" # Let the user override the test with a path.
12070 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
12071 for as_dir
in $PATH
12074 test -z "$as_dir" && as_dir
=.
12075 for ac_exec_ext
in '' $ac_executable_extensions; do
12076 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
12077 ac_cv_path_CP
="$as_dir/$ac_word$ac_exec_ext"
12078 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
12089 if test -n "$CP"; then
12090 echo "$as_me:$LINENO: result: $CP" >&5
12091 echo "${ECHO_T}$CP" >&6
12093 echo "$as_me:$LINENO: result: no" >&5
12094 echo "${ECHO_T}no" >&6
12097 # Extract the first word of "date", so it can be a program name with args.
12098 set dummy
date; ac_word
=$2
12099 echo "$as_me:$LINENO: checking for $ac_word" >&5
12100 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
12101 if test "${ac_cv_path_DATE+set}" = set; then
12102 echo $ECHO_N "(cached) $ECHO_C" >&6
12106 ac_cv_path_DATE
="$DATE" # Let the user override the test with a path.
12109 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
12110 for as_dir
in $PATH
12113 test -z "$as_dir" && as_dir
=.
12114 for ac_exec_ext
in '' $ac_executable_extensions; do
12115 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
12116 ac_cv_path_DATE
="$as_dir/$ac_word$ac_exec_ext"
12117 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
12126 DATE
=$ac_cv_path_DATE
12128 if test -n "$DATE"; then
12129 echo "$as_me:$LINENO: result: $DATE" >&5
12130 echo "${ECHO_T}$DATE" >&6
12132 echo "$as_me:$LINENO: result: no" >&5
12133 echo "${ECHO_T}no" >&6
12137 # Extract the first word of "find", so it can be a program name with args.
12138 set dummy
find; ac_word
=$2
12139 echo "$as_me:$LINENO: checking for $ac_word" >&5
12140 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
12141 if test "${ac_cv_path_FIND+set}" = set; then
12142 echo $ECHO_N "(cached) $ECHO_C" >&6
12146 ac_cv_path_FIND
="$FIND" # Let the user override the test with a path.
12149 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
12150 for as_dir
in $PATH
12153 test -z "$as_dir" && as_dir
=.
12154 for ac_exec_ext
in '' $ac_executable_extensions; do
12155 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
12156 ac_cv_path_FIND
="$as_dir/$ac_word$ac_exec_ext"
12157 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
12166 FIND
=$ac_cv_path_FIND
12168 if test -n "$FIND"; then
12169 echo "$as_me:$LINENO: result: $FIND" >&5
12170 echo "${ECHO_T}$FIND" >&6
12172 echo "$as_me:$LINENO: result: no" >&5
12173 echo "${ECHO_T}no" >&6
12179 # Check whether --with-glibj or --without-glibj was given.
12180 if test "${with_glibj+set}" = set; then
12181 withval
="$with_glibj"
12183 if test "x${withval}" = xyes ||
test "x${withval}" = xzip
; then
12184 # Extract the first word of "zip", so it can be a program name with args.
12185 set dummy
zip; ac_word
=$2
12186 echo "$as_me:$LINENO: checking for $ac_word" >&5
12187 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
12188 if test "${ac_cv_path_ZIP+set}" = set; then
12189 echo $ECHO_N "(cached) $ECHO_C" >&6
12193 ac_cv_path_ZIP
="$ZIP" # Let the user override the test with a path.
12196 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
12197 for as_dir
in $PATH
12200 test -z "$as_dir" && as_dir
=.
12201 for ac_exec_ext
in '' $ac_executable_extensions; do
12202 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
12203 ac_cv_path_ZIP
="$as_dir/$ac_word$ac_exec_ext"
12204 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
12213 ZIP
=$ac_cv_path_ZIP
12215 if test -n "$ZIP"; then
12216 echo "$as_me:$LINENO: result: $ZIP" >&5
12217 echo "${ECHO_T}$ZIP" >&6
12219 echo "$as_me:$LINENO: result: no" >&5
12220 echo "${ECHO_T}no" >&6
12223 install_class_files
=no
12224 build_class_files
=yes
12225 elif test "x${withval}" = xboth
; then
12226 # Extract the first word of "zip", so it can be a program name with args.
12227 set dummy
zip; ac_word
=$2
12228 echo "$as_me:$LINENO: checking for $ac_word" >&5
12229 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
12230 if test "${ac_cv_path_ZIP+set}" = set; then
12231 echo $ECHO_N "(cached) $ECHO_C" >&6
12235 ac_cv_path_ZIP
="$ZIP" # Let the user override the test with a path.
12238 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
12239 for as_dir
in $PATH
12242 test -z "$as_dir" && as_dir
=.
12243 for ac_exec_ext
in '' $ac_executable_extensions; do
12244 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
12245 ac_cv_path_ZIP
="$as_dir/$ac_word$ac_exec_ext"
12246 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
12255 ZIP
=$ac_cv_path_ZIP
12257 if test -n "$ZIP"; then
12258 echo "$as_me:$LINENO: result: $ZIP" >&5
12259 echo "${ECHO_T}$ZIP" >&6
12261 echo "$as_me:$LINENO: result: no" >&5
12262 echo "${ECHO_T}no" >&6
12265 install_class_files
=yes
12266 build_class_files
=yes
12267 elif test "x${withval}" = xflat
; then
12269 install_class_files
=yes
12270 build_class_files
=yes
12271 elif test "x${withval}" = xno ||
test "x${withval}" = xnone
; then
12273 install_class_files
=no
12274 build_class_files
=no
12275 elif test "x${withval}" = xbuild
; then
12277 install_class_files
=no
12278 build_class_files
=yes
12280 { { echo "$as_me:$LINENO: error: unknown value given to --with-glibj" >&5
12281 echo "$as_me: error: unknown value given to --with-glibj" >&2;}
12282 { (exit 1); exit 1; }; }
12287 # Extract the first word of "zip", so it can be a program name with args.
12288 set dummy
zip; ac_word
=$2
12289 echo "$as_me:$LINENO: checking for $ac_word" >&5
12290 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
12291 if test "${ac_cv_path_ZIP+set}" = set; then
12292 echo $ECHO_N "(cached) $ECHO_C" >&6
12296 ac_cv_path_ZIP
="$ZIP" # Let the user override the test with a path.
12299 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
12300 for as_dir
in $PATH
12303 test -z "$as_dir" && as_dir
=.
12304 for ac_exec_ext
in '' $ac_executable_extensions; do
12305 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
12306 ac_cv_path_ZIP
="$as_dir/$ac_word$ac_exec_ext"
12307 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
12316 ZIP
=$ac_cv_path_ZIP
12318 if test -n "$ZIP"; then
12319 echo "$as_me:$LINENO: result: $ZIP" >&5
12320 echo "${ECHO_T}$ZIP" >&6
12322 echo "$as_me:$LINENO: result: no" >&5
12323 echo "${ECHO_T}no" >&6
12326 install_class_files
=no
12331 if test "x${ZIP}" != x
; then
12332 INSTALL_GLIBJ_ZIP_TRUE
=
12333 INSTALL_GLIBJ_ZIP_FALSE
='#'
12335 INSTALL_GLIBJ_ZIP_TRUE
='#'
12336 INSTALL_GLIBJ_ZIP_FALSE
=
12341 if test "x${install_class_files}" = xyes
; then
12342 INSTALL_CLASS_FILES_TRUE
=
12343 INSTALL_CLASS_FILES_FALSE
='#'
12345 INSTALL_CLASS_FILES_TRUE
='#'
12346 INSTALL_CLASS_FILES_FALSE
=
12351 if test "x${build_class_files}" = xyes
; then
12352 BUILD_CLASS_FILES_TRUE
=
12353 BUILD_CLASS_FILES_FALSE
='#'
12355 BUILD_CLASS_FILES_TRUE
='#'
12356 BUILD_CLASS_FILES_FALSE
=
12360 # Check whether --enable-examples or --disable-examples was given.
12361 if test "${enable_examples+set}" = set; then
12362 enableval
="$enable_examples"
12363 case "${enableval}" in
12364 yes) EXAMPLESDIR
="examples" ;;
12365 no
) EXAMPLESDIR
="" ;;
12366 *) { { echo "$as_me:$LINENO: error: bad value ${enableval} for --enable-examples" >&5
12367 echo "$as_me: error: bad value ${enableval} for --enable-examples" >&2;}
12368 { (exit 1); exit 1; }; } ;;
12371 EXAMPLESDIR
="examples"
12373 if test "x${ZIP}" = x
&& test "x${install_class_files}" = xno
; then
12381 # Check whether --with-gjdoc or --without-gjdoc was given.
12382 if test "${with_gjdoc+set}" = set; then
12383 withval
="$with_gjdoc"
12384 if test "x${withval}" = xno
; then
12386 elif test "x${withval}" = xyes
-o "x{withval}" = x
; then
12388 # Extract the first word of "gjdoc", so it can be a program name with args.
12389 set dummy gjdoc
; ac_word
=$2
12390 echo "$as_me:$LINENO: checking for $ac_word" >&5
12391 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
12392 if test "${ac_cv_path_GJDOC+set}" = set; then
12393 echo $ECHO_N "(cached) $ECHO_C" >&6
12397 ac_cv_path_GJDOC
="$GJDOC" # Let the user override the test with a path.
12400 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
12401 for as_dir
in $PATH
12404 test -z "$as_dir" && as_dir
=.
12405 for ac_exec_ext
in '' $ac_executable_extensions; do
12406 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
12407 ac_cv_path_GJDOC
="$as_dir/$ac_word$ac_exec_ext"
12408 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
12414 test -z "$ac_cv_path_GJDOC" && ac_cv_path_GJDOC
=""no
""
12418 GJDOC
=$ac_cv_path_GJDOC
12420 if test -n "$GJDOC"; then
12421 echo "$as_me:$LINENO: result: $GJDOC" >&5
12422 echo "${ECHO_T}$GJDOC" >&6
12424 echo "$as_me:$LINENO: result: no" >&5
12425 echo "${ECHO_T}no" >&6
12428 if test "x${GJDOC}" = xno
; then
12429 { { echo "$as_me:$LINENO: error: \"gjdoc executable not found\"" >&5
12430 echo "$as_me: error: \"gjdoc executable not found\"" >&2;}
12431 { (exit 1); exit 1; }; };
12436 as_ac_File
=`echo "ac_cv_file_${GJDOC}" | $as_tr_sh`
12437 echo "$as_me:$LINENO: checking for ${GJDOC}" >&5
12438 echo $ECHO_N "checking for ${GJDOC}... $ECHO_C" >&6
12439 if eval "test \"\${$as_ac_File+set}\" = set"; then
12440 echo $ECHO_N "(cached) $ECHO_C" >&6
12442 test "$cross_compiling" = yes &&
12443 { { echo "$as_me:$LINENO: error: cannot check for file existence when cross compiling" >&5
12444 echo "$as_me: error: cannot check for file existence when cross compiling" >&2;}
12445 { (exit 1); exit 1; }; }
12446 if test -r "${GJDOC}"; then
12447 eval "$as_ac_File=yes"
12449 eval "$as_ac_File=no"
12452 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_File'}'`" >&5
12453 echo "${ECHO_T}`eval echo '${'$as_ac_File'}'`" >&6
12454 if test `eval echo '${'$as_ac_File'}'` = yes; then
12457 { { echo "$as_me:$LINENO: error: \"Cannot use ${withval} as gjdoc executable since it doesn't exist\"" >&5
12458 echo "$as_me: error: \"Cannot use ${withval} as gjdoc executable since it doesn't exist\"" >&2;}
12459 { (exit 1); exit 1; }; }
12469 if test "x${WITH_GJDOC}" = xyes
; then
12470 CREATE_API_DOCS_TRUE
=
12471 CREATE_API_DOCS_FALSE
='#'
12473 CREATE_API_DOCS_TRUE
='#'
12474 CREATE_API_DOCS_FALSE
=
12481 # Check whether --with-jay or --without-jay was given.
12482 if test "${with_jay+set}" = set; then
12483 withval
="$with_jay"
12485 if test -d "${withval}"; then
12486 JAY_DIR_PATH
="${withval}"
12487 # Extract the first word of "jay", so it can be a program name with args.
12488 set dummy jay
; ac_word
=$2
12489 echo "$as_me:$LINENO: checking for $ac_word" >&5
12490 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
12491 if test "${ac_cv_path_JAY+set}" = set; then
12492 echo $ECHO_N "(cached) $ECHO_C" >&6
12496 ac_cv_path_JAY
="$JAY" # Let the user override the test with a path.
12499 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
12500 for as_dir
in ${JAY_DIR_PATH}
12503 test -z "$as_dir" && as_dir
=.
12504 for ac_exec_ext
in '' $ac_executable_extensions; do
12505 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
12506 ac_cv_path_JAY
="$as_dir/$ac_word$ac_exec_ext"
12507 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
12513 test -z "$ac_cv_path_JAY" && ac_cv_path_JAY
=""no
""
12517 JAY
=$ac_cv_path_JAY
12519 if test -n "$JAY"; then
12520 echo "$as_me:$LINENO: result: $JAY" >&5
12521 echo "${ECHO_T}$JAY" >&6
12523 echo "$as_me:$LINENO: result: no" >&5
12524 echo "${ECHO_T}no" >&6
12527 if test "x${JAY}" = xno
; then
12528 { { echo "$as_me:$LINENO: error: \"jay executable not found\"" >&5
12529 echo "$as_me: error: \"jay executable not found\"" >&2;}
12530 { (exit 1); exit 1; }; };
12533 JAY_DIR_PATH
=$
(dirname "${withval}")
12537 JAY_SKELETON
="${JAY_DIR_PATH}/skeleton"
12538 as_ac_File
=`echo "ac_cv_file_${JAY_SKELETON}" | $as_tr_sh`
12539 echo "$as_me:$LINENO: checking for ${JAY_SKELETON}" >&5
12540 echo $ECHO_N "checking for ${JAY_SKELETON}... $ECHO_C" >&6
12541 if eval "test \"\${$as_ac_File+set}\" = set"; then
12542 echo $ECHO_N "(cached) $ECHO_C" >&6
12544 test "$cross_compiling" = yes &&
12545 { { echo "$as_me:$LINENO: error: cannot check for file existence when cross compiling" >&5
12546 echo "$as_me: error: cannot check for file existence when cross compiling" >&2;}
12547 { (exit 1); exit 1; }; }
12548 if test -r "${JAY_SKELETON}"; then
12549 eval "$as_ac_File=yes"
12551 eval "$as_ac_File=no"
12554 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_File'}'`" >&5
12555 echo "${ECHO_T}`eval echo '${'$as_ac_File'}'`" >&6
12556 if test `eval echo '${'$as_ac_File'}'` = yes; then
12559 { { echo "$as_me:$LINENO: error: \"Expected skeleton file in $(dirname ${withval})\"" >&5
12560 echo "$as_me: error: \"Expected skeleton file in $(dirname ${withval})\"" >&2;}
12561 { (exit 1); exit 1; }; }
12573 if test "x${JAY_FOUND}" = xyes
; then
12574 REGEN_PARSERS_TRUE
=
12575 REGEN_PARSERS_FALSE
='#'
12577 REGEN_PARSERS_TRUE
='#'
12578 REGEN_PARSERS_FALSE
=
12583 # Check whether --enable-portable-native-sync or --disable-portable-native-sync was given.
12584 if test "${enable_portable_native_sync+set}" = set; then
12585 enableval
="$enable_portable_native_sync"
12586 case "${enableval}" in
12589 cat >>confdefs.h
<<\_ACEOF
12590 #define PORTABLE_NATIVE_SYNC 1
12596 { { echo "$as_me:$LINENO: error: bad value ${enableval} for --enable-portable-native-sync" >&5
12597 echo "$as_me: error: bad value ${enableval} for --enable-portable-native-sync" >&2;}
12598 { (exit 1); exit 1; }; }
12603 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/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/xmlj/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 examples/Makefile"
12605 ac_config_commands
="$ac_config_commands gen-classlist"
12607 cat >confcache
<<\_ACEOF
12608 # This file is a shell script that caches the results of configure
12609 # tests run on this system so they can be shared between configure
12610 # scripts and configure runs, see configure's option --config-cache.
12611 # It is not useful on other systems. If it contains results you don't
12612 # want to keep, you may remove or edit it.
12614 # config.status only pays attention to the cache file if you give it
12615 # the --recheck option to rerun configure.
12617 # `ac_cv_env_foo' variables (set or unset) will be overridden when
12618 # loading this file, other *unset* `ac_cv_foo' will be assigned the
12619 # following values.
12623 # The following way of writing the cache mishandles newlines in values,
12624 # but we know of no workaround that is simple, portable, and efficient.
12625 # So, don't put newlines in cache variables' values.
12626 # Ultrix sh set writes to stderr and can't be redirected directly,
12627 # and sets the high bit in the cache file unless we assign to the vars.
12630 case `(ac_space=' '; set | grep ac_space) 2>&1` in
12632 # `set' does not quote correctly, so add quotes (double-quote
12633 # substitution turns \\\\ into \\, and sed turns \\ into \).
12636 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
12639 # `set' quotes correctly as required by POSIX, so do not add quotes.
12641 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
12648 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
12650 /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
12652 if diff $cache_file confcache
>/dev
/null
2>&1; then :; else
12653 if test -w $cache_file; then
12654 test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
12655 cat confcache
>$cache_file
12657 echo "not updating unwritable cache $cache_file"
12662 test "x$prefix" = xNONE
&& prefix
=$ac_default_prefix
12663 # Let make expand exec_prefix.
12664 test "x$exec_prefix" = xNONE
&& exec_prefix
='${prefix}'
12666 # VPATH may cause trouble with some makes, so we remove $(srcdir),
12667 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
12668 # trailing colons and then remove the whole line if VPATH becomes empty
12669 # (actually we leave an empty line to preserve line numbers).
12670 if test "x$srcdir" = x.
; then
12671 ac_vpsub
='/^[ ]*VPATH[ ]*=/{
12672 s/:*\$(srcdir):*/:/;
12673 s/:*\${srcdir}:*/:/;
12675 s/^\([^=]*=[ ]*\):*/\1/;
12681 DEFS
=-DHAVE_CONFIG_H
12685 for ac_i
in : $LIBOBJS; do test "x$ac_i" = x
: && continue
12686 # 1. Remove the extension, and $U if already installed.
12687 ac_i
=`echo "$ac_i" |
12688 sed 's/\$U\././;s/\.o$//;s/\.obj$//'`
12690 ac_libobjs
="$ac_libobjs $ac_i\$U.$ac_objext"
12691 ac_ltlibobjs
="$ac_ltlibobjs $ac_i"'$U.lo'
12693 LIBOBJS
=$ac_libobjs
12695 LTLIBOBJS
=$ac_ltlibobjs
12698 if test -z "${CREATE_JNI_LIBRARIES_TRUE}" && test -z "${CREATE_JNI_LIBRARIES_FALSE}"; then
12699 { { echo "$as_me:$LINENO: error: conditional \"CREATE_JNI_LIBRARIES\" was never defined.
12700 Usually this means the macro was only invoked conditionally." >&5
12701 echo "$as_me: error: conditional \"CREATE_JNI_LIBRARIES\" was never defined.
12702 Usually this means the macro was only invoked conditionally." >&2;}
12703 { (exit 1); exit 1; }; }
12705 if test -z "${CREATE_CORE_JNI_LIBRARIES_TRUE}" && test -z "${CREATE_CORE_JNI_LIBRARIES_FALSE}"; then
12706 { { echo "$as_me:$LINENO: error: conditional \"CREATE_CORE_JNI_LIBRARIES\" was never defined.
12707 Usually this means the macro was only invoked conditionally." >&5
12708 echo "$as_me: error: conditional \"CREATE_CORE_JNI_LIBRARIES\" was never defined.
12709 Usually this means the macro was only invoked conditionally." >&2;}
12710 { (exit 1); exit 1; }; }
12712 if test -z "${CREATE_XMLJ_LIBRARY_TRUE}" && test -z "${CREATE_XMLJ_LIBRARY_FALSE}"; then
12713 { { echo "$as_me:$LINENO: error: conditional \"CREATE_XMLJ_LIBRARY\" was never defined.
12714 Usually this means the macro was only invoked conditionally." >&5
12715 echo "$as_me: error: conditional \"CREATE_XMLJ_LIBRARY\" was never defined.
12716 Usually this means the macro was only invoked conditionally." >&2;}
12717 { (exit 1); exit 1; }; }
12719 if test -z "${CREATE_GTK_PEER_LIBRARIES_TRUE}" && test -z "${CREATE_GTK_PEER_LIBRARIES_FALSE}"; then
12720 { { echo "$as_me:$LINENO: error: conditional \"CREATE_GTK_PEER_LIBRARIES\" was never defined.
12721 Usually this means the macro was only invoked conditionally." >&5
12722 echo "$as_me: error: conditional \"CREATE_GTK_PEER_LIBRARIES\" was never defined.
12723 Usually this means the macro was only invoked conditionally." >&2;}
12724 { (exit 1); exit 1; }; }
12726 if test -z "${GTK_CAIRO_TRUE}" && test -z "${GTK_CAIRO_FALSE}"; then
12727 { { echo "$as_me:$LINENO: error: conditional \"GTK_CAIRO\" was never defined.
12728 Usually this means the macro was only invoked conditionally." >&5
12729 echo "$as_me: error: conditional \"GTK_CAIRO\" was never defined.
12730 Usually this means the macro was only invoked conditionally." >&2;}
12731 { (exit 1); exit 1; }; }
12733 if test -z "${CREATE_JNI_HEADERS_TRUE}" && test -z "${CREATE_JNI_HEADERS_FALSE}"; then
12734 { { echo "$as_me:$LINENO: error: conditional \"CREATE_JNI_HEADERS\" was never defined.
12735 Usually this means the macro was only invoked conditionally." >&5
12736 echo "$as_me: error: conditional \"CREATE_JNI_HEADERS\" was never defined.
12737 Usually this means the macro was only invoked conditionally." >&2;}
12738 { (exit 1); exit 1; }; }
12740 if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
12741 { { echo "$as_me:$LINENO: error: conditional \"AMDEP\" was never defined.
12742 Usually this means the macro was only invoked conditionally." >&5
12743 echo "$as_me: error: conditional \"AMDEP\" was never defined.
12744 Usually this means the macro was only invoked conditionally." >&2;}
12745 { (exit 1); exit 1; }; }
12747 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
12748 { { echo "$as_me:$LINENO: error: conditional \"am__fastdepCC\" was never defined.
12749 Usually this means the macro was only invoked conditionally." >&5
12750 echo "$as_me: error: conditional \"am__fastdepCC\" was never defined.
12751 Usually this means the macro was only invoked conditionally." >&2;}
12752 { (exit 1); exit 1; }; }
12754 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
12755 { { echo "$as_me:$LINENO: error: conditional \"am__fastdepCC\" was never defined.
12756 Usually this means the macro was only invoked conditionally." >&5
12757 echo "$as_me: error: conditional \"am__fastdepCC\" was never defined.
12758 Usually this means the macro was only invoked conditionally." >&2;}
12759 { (exit 1); exit 1; }; }
12761 if test -z "${USER_SPECIFIED_JAVAH_TRUE}" && test -z "${USER_SPECIFIED_JAVAH_FALSE}"; then
12762 { { echo "$as_me:$LINENO: error: conditional \"USER_SPECIFIED_JAVAH\" was never defined.
12763 Usually this means the macro was only invoked conditionally." >&5
12764 echo "$as_me: error: conditional \"USER_SPECIFIED_JAVAH\" was never defined.
12765 Usually this means the macro was only invoked conditionally." >&2;}
12766 { (exit 1); exit 1; }; }
12768 if test -z "${FOUND_GCJ_TRUE}" && test -z "${FOUND_GCJ_FALSE}"; then
12769 { { echo "$as_me:$LINENO: error: conditional \"FOUND_GCJ\" was never defined.
12770 Usually this means the macro was only invoked conditionally." >&5
12771 echo "$as_me: error: conditional \"FOUND_GCJ\" was never defined.
12772 Usually this means the macro was only invoked conditionally." >&2;}
12773 { (exit 1); exit 1; }; }
12775 if test -z "${FOUND_JIKES_TRUE}" && test -z "${FOUND_JIKES_FALSE}"; then
12776 { { echo "$as_me:$LINENO: error: conditional \"FOUND_JIKES\" was never defined.
12777 Usually this means the macro was only invoked conditionally." >&5
12778 echo "$as_me: error: conditional \"FOUND_JIKES\" was never defined.
12779 Usually this means the macro was only invoked conditionally." >&2;}
12780 { (exit 1); exit 1; }; }
12782 if test -z "${FOUND_ECJ_TRUE}" && test -z "${FOUND_ECJ_FALSE}"; then
12783 { { echo "$as_me:$LINENO: error: conditional \"FOUND_ECJ\" was never defined.
12784 Usually this means the macro was only invoked conditionally." >&5
12785 echo "$as_me: error: conditional \"FOUND_ECJ\" was never defined.
12786 Usually this means the macro was only invoked conditionally." >&2;}
12787 { (exit 1); exit 1; }; }
12789 if test -z "${FOUND_GCJ_TRUE}" && test -z "${FOUND_GCJ_FALSE}"; then
12790 { { echo "$as_me:$LINENO: error: conditional \"FOUND_GCJ\" was never defined.
12791 Usually this means the macro was only invoked conditionally." >&5
12792 echo "$as_me: error: conditional \"FOUND_GCJ\" was never defined.
12793 Usually this means the macro was only invoked conditionally." >&2;}
12794 { (exit 1); exit 1; }; }
12796 if test -z "${FOUND_JIKES_TRUE}" && test -z "${FOUND_JIKES_FALSE}"; then
12797 { { echo "$as_me:$LINENO: error: conditional \"FOUND_JIKES\" was never defined.
12798 Usually this means the macro was only invoked conditionally." >&5
12799 echo "$as_me: error: conditional \"FOUND_JIKES\" was never defined.
12800 Usually this means the macro was only invoked conditionally." >&2;}
12801 { (exit 1); exit 1; }; }
12803 if test -z "${FOUND_ECJ_TRUE}" && test -z "${FOUND_ECJ_FALSE}"; then
12804 { { echo "$as_me:$LINENO: error: conditional \"FOUND_ECJ\" was never defined.
12805 Usually this means the macro was only invoked conditionally." >&5
12806 echo "$as_me: error: conditional \"FOUND_ECJ\" was never defined.
12807 Usually this means the macro was only invoked conditionally." >&2;}
12808 { (exit 1); exit 1; }; }
12810 if test -z "${FOUND_KJC_TRUE}" && test -z "${FOUND_KJC_FALSE}"; then
12811 { { echo "$as_me:$LINENO: error: conditional \"FOUND_KJC\" was never defined.
12812 Usually this means the macro was only invoked conditionally." >&5
12813 echo "$as_me: error: conditional \"FOUND_KJC\" was never defined.
12814 Usually this means the macro was only invoked conditionally." >&2;}
12815 { (exit 1); exit 1; }; }
12817 if test -z "${FOUND_GCJX_TRUE}" && test -z "${FOUND_GCJX_FALSE}"; then
12818 { { echo "$as_me:$LINENO: error: conditional \"FOUND_GCJX\" was never defined.
12819 Usually this means the macro was only invoked conditionally." >&5
12820 echo "$as_me: error: conditional \"FOUND_GCJX\" was never defined.
12821 Usually this means the macro was only invoked conditionally." >&2;}
12822 { (exit 1); exit 1; }; }
12824 if test -z "${USER_SPECIFIED_CLASSLIB_TRUE}" && test -z "${USER_SPECIFIED_CLASSLIB_FALSE}"; then
12825 { { echo "$as_me:$LINENO: error: conditional \"USER_SPECIFIED_CLASSLIB\" was never defined.
12826 Usually this means the macro was only invoked conditionally." >&5
12827 echo "$as_me: error: conditional \"USER_SPECIFIED_CLASSLIB\" was never defined.
12828 Usually this means the macro was only invoked conditionally." >&2;}
12829 { (exit 1); exit 1; }; }
12831 if test -z "${MAINTAINER_MODE_TRUE}" && test -z "${MAINTAINER_MODE_FALSE}"; then
12832 { { echo "$as_me:$LINENO: error: conditional \"MAINTAINER_MODE\" was never defined.
12833 Usually this means the macro was only invoked conditionally." >&5
12834 echo "$as_me: error: conditional \"MAINTAINER_MODE\" was never defined.
12835 Usually this means the macro was only invoked conditionally." >&2;}
12836 { (exit 1); exit 1; }; }
12838 if test -z "${INSTALL_GLIBJ_ZIP_TRUE}" && test -z "${INSTALL_GLIBJ_ZIP_FALSE}"; then
12839 { { echo "$as_me:$LINENO: error: conditional \"INSTALL_GLIBJ_ZIP\" was never defined.
12840 Usually this means the macro was only invoked conditionally." >&5
12841 echo "$as_me: error: conditional \"INSTALL_GLIBJ_ZIP\" was never defined.
12842 Usually this means the macro was only invoked conditionally." >&2;}
12843 { (exit 1); exit 1; }; }
12845 if test -z "${INSTALL_CLASS_FILES_TRUE}" && test -z "${INSTALL_CLASS_FILES_FALSE}"; then
12846 { { echo "$as_me:$LINENO: error: conditional \"INSTALL_CLASS_FILES\" was never defined.
12847 Usually this means the macro was only invoked conditionally." >&5
12848 echo "$as_me: error: conditional \"INSTALL_CLASS_FILES\" was never defined.
12849 Usually this means the macro was only invoked conditionally." >&2;}
12850 { (exit 1); exit 1; }; }
12852 if test -z "${BUILD_CLASS_FILES_TRUE}" && test -z "${BUILD_CLASS_FILES_FALSE}"; then
12853 { { echo "$as_me:$LINENO: error: conditional \"BUILD_CLASS_FILES\" was never defined.
12854 Usually this means the macro was only invoked conditionally." >&5
12855 echo "$as_me: error: conditional \"BUILD_CLASS_FILES\" was never defined.
12856 Usually this means the macro was only invoked conditionally." >&2;}
12857 { (exit 1); exit 1; }; }
12859 if test -z "${CREATE_API_DOCS_TRUE}" && test -z "${CREATE_API_DOCS_FALSE}"; then
12860 { { echo "$as_me:$LINENO: error: conditional \"CREATE_API_DOCS\" was never defined.
12861 Usually this means the macro was only invoked conditionally." >&5
12862 echo "$as_me: error: conditional \"CREATE_API_DOCS\" was never defined.
12863 Usually this means the macro was only invoked conditionally." >&2;}
12864 { (exit 1); exit 1; }; }
12866 if test -z "${REGEN_PARSERS_TRUE}" && test -z "${REGEN_PARSERS_FALSE}"; then
12867 { { echo "$as_me:$LINENO: error: conditional \"REGEN_PARSERS\" was never defined.
12868 Usually this means the macro was only invoked conditionally." >&5
12869 echo "$as_me: error: conditional \"REGEN_PARSERS\" was never defined.
12870 Usually this means the macro was only invoked conditionally." >&2;}
12871 { (exit 1); exit 1; }; }
12874 : ${CONFIG_STATUS=./config.status}
12875 ac_clean_files_save
=$ac_clean_files
12876 ac_clean_files
="$ac_clean_files $CONFIG_STATUS"
12877 { echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
12878 echo "$as_me: creating $CONFIG_STATUS" >&6;}
12879 cat >$CONFIG_STATUS <<_ACEOF
12881 # Generated by $as_me.
12882 # Run this file to recreate the current configuration.
12883 # Compiler output produced by configure, useful for debugging
12884 # configure, is in config.log if it exists.
12887 ac_cs_recheck=false
12889 SHELL=\${CONFIG_SHELL-$SHELL}
12892 cat >>$CONFIG_STATUS <<\_ACEOF
12893 ## --------------------- ##
12894 ## M4sh Initialization. ##
12895 ## --------------------- ##
12897 # Be Bourne compatible
12898 if test -n "${ZSH_VERSION+set}" && (emulate sh
) >/dev
/null
2>&1; then
12901 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
12902 # is contrary to our usage. Disable this feature.
12903 alias -g '${1+"$@"}'='"$@"'
12904 elif test -n "${BASH_VERSION+set}" && (set -o posix
) >/dev
/null
2>&1; then
12907 DUALCASE
=1; export DUALCASE
# for MKS sh
12909 # Support unset when possible.
12910 if ( (MAIL
=60; unset MAIL
) ||
exit) >/dev
/null
2>&1; then
12917 # Work around bugs in pre-3.0 UWIN ksh.
12918 $as_unset ENV MAIL MAILPATH
12925 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
12926 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
12927 LC_TELEPHONE LC_TIME
12929 if (set +x
; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
12930 eval $as_var=C
; export $as_var
12936 # Required to use basename.
12937 if expr a
: '\(a\)' >/dev
/null
2>&1; then
12943 if (basename /) >/dev
/null
2>&1 && test "X`basename / 2>&1`" = "X/"; then
12944 as_basename
=basename
12950 # Name of the executable.
12951 as_me
=`$as_basename "$0" ||
12952 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
12953 X"$0" : 'X\(//\)$' \| \
12954 X"$0" : 'X\(/\)$' \| \
12955 . : '\(.\)' 2>/dev/null ||
12957 sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; }
12958 /^X\/\(\/\/\)$/{ s//\1/; q; }
12959 /^X\/\(\/\).*/{ s//\1/; q; }
12963 # PATH needs CR, and LINENO needs CR and PATH.
12964 # Avoid depending upon Character Ranges.
12965 as_cr_letters
='abcdefghijklmnopqrstuvwxyz'
12966 as_cr_LETTERS
='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
12967 as_cr_Letters
=$as_cr_letters$as_cr_LETTERS
12968 as_cr_digits
='0123456789'
12969 as_cr_alnum
=$as_cr_Letters$as_cr_digits
12971 # The user is always right.
12972 if test "${PATH_SEPARATOR+set}" != set; then
12973 echo "#! /bin/sh" >conf$$.sh
12974 echo "exit 0" >>conf$$.sh
12976 if (PATH
="/nonexistent;."; conf$$.sh
) >/dev
/null
2>&1; then
12985 as_lineno_1
=$LINENO
12986 as_lineno_2
=$LINENO
12987 as_lineno_3
=`(expr $as_lineno_1 + 1) 2>/dev/null`
12988 test "x$as_lineno_1" != "x$as_lineno_2" &&
12989 test "x$as_lineno_3" = "x$as_lineno_2" ||
{
12990 # Find who we are. Look in the path if we contain no path at all
12993 *[\\/]* ) as_myself
=$0 ;;
12994 *) as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
12995 for as_dir
in $PATH
12998 test -z "$as_dir" && as_dir
=.
12999 test -r "$as_dir/$0" && as_myself
=$as_dir/$0 && break
13004 # We did not find ourselves, most probably we were run as `sh COMMAND'
13005 # in which case we are not to be found in the path.
13006 if test "x$as_myself" = x
; then
13009 if test ! -f "$as_myself"; then
13010 { { echo "$as_me:$LINENO: error: cannot find myself; rerun with an absolute path" >&5
13011 echo "$as_me: error: cannot find myself; rerun with an absolute path" >&2;}
13012 { (exit 1); exit 1; }; }
13014 case $CONFIG_SHELL in
13016 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
13017 for as_dir
in /bin
$PATH_SEPARATOR/usr
/bin
$PATH_SEPARATOR$PATH
13020 test -z "$as_dir" && as_dir
=.
13021 for as_base
in sh bash ksh sh5
; do
13024 if ("$as_dir/$as_base" -c '
13025 as_lineno_1=$LINENO
13026 as_lineno_2=$LINENO
13027 as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
13028 test "x$as_lineno_1" != "x$as_lineno_2" &&
13029 test "x$as_lineno_3" = "x$as_lineno_2" ') 2>/dev
/null
; then
13030 $as_unset BASH_ENV ||
test "${BASH_ENV+set}" != set ||
{ BASH_ENV
=; export BASH_ENV
; }
13031 $as_unset ENV ||
test "${ENV+set}" != set ||
{ ENV
=; export ENV
; }
13032 CONFIG_SHELL
=$as_dir/$as_base
13033 export CONFIG_SHELL
13034 exec "$CONFIG_SHELL" "$0" ${1+"$@"}
13042 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
13043 # uniformly replaced by the line number. The first 'sed' inserts a
13044 # line-number line before each line; the second 'sed' does the real
13045 # work. The second script uses 'N' to pair each line-number line
13046 # with the numbered line, and appends trailing '-' during
13047 # substitution so that $LINENO is not a special case at line end.
13048 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
13049 # second 'sed' script. Blame Lee E. McMahon for sed's syntax. :-)
13050 sed '=' <$as_myself |
13055 s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3,
13058 s,^['$as_cr_digits']*\n,,
13059 ' >$as_me.lineno
&&
13060 chmod +x
$as_me.lineno ||
13061 { { echo "$as_me:$LINENO: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&5
13062 echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2;}
13063 { (exit 1); exit 1; }; }
13065 # Don't try to exec as it changes $[0], causing all sort of problems
13066 # (the dirname of $[0] is not the place where we might find the
13067 # original and so on. Autoconf is especially sensible to this).
13069 # Exit status is that of the last command.
13074 case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in
13075 *c
*,-n*) ECHO_N
= ECHO_C
='
13077 *c
*,* ) ECHO_N
=-n ECHO_C
= ECHO_T
= ;;
13078 *) ECHO_N
= ECHO_C
='\c' ECHO_T
= ;;
13081 if expr a
: '\(a\)' >/dev
/null
2>&1; then
13087 rm -f conf$$ conf$$.exe conf$$.
file
13089 if ln -s conf$$.
file conf$$
2>/dev
/null
; then
13090 # We could just check for DJGPP; but this test a) works b) is more generic
13091 # and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04).
13092 if test -f conf$$.exe
; then
13093 # Don't use ln at all; we don't have any links
13098 elif ln conf$$.
file conf$$
2>/dev
/null
; then
13103 rm -f conf$$ conf$$.exe conf$$.
file
13105 if mkdir
-p .
2>/dev
/null
; then
13108 test -d .
/-p && rmdir .
/-p
13112 as_executable_p
="test -f"
13114 # Sed expression to map a string onto a valid CPP name.
13115 as_tr_cpp
="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
13117 # Sed expression to map a string onto a valid variable name.
13118 as_tr_sh
="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
13122 # We need space, tab and new line, in precisely that order.
13132 # Open the log real soon, to keep \$[0] and so on meaningful, and to
13133 # report actual input values of CONFIG_FILES etc. instead of their
13134 # values after options handling. Logging --version etc. is OK.
13138 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
13139 ## Running $as_me. ##
13144 This file was extended by GNU Classpath $as_me 0.17+cvs, which was
13145 generated by GNU Autoconf 2.59. Invocation command line was
13147 CONFIG_FILES = $CONFIG_FILES
13148 CONFIG_HEADERS = $CONFIG_HEADERS
13149 CONFIG_LINKS = $CONFIG_LINKS
13150 CONFIG_COMMANDS = $CONFIG_COMMANDS
13154 echo "on `(hostname || uname -n) 2>/dev/null | sed 1q`" >&5
13158 # Files that config.status was made for.
13159 if test -n "$ac_config_files"; then
13160 echo "config_files=\"$ac_config_files\"" >>$CONFIG_STATUS
13163 if test -n "$ac_config_headers"; then
13164 echo "config_headers=\"$ac_config_headers\"" >>$CONFIG_STATUS
13167 if test -n "$ac_config_links"; then
13168 echo "config_links=\"$ac_config_links\"" >>$CONFIG_STATUS
13171 if test -n "$ac_config_commands"; then
13172 echo "config_commands=\"$ac_config_commands\"" >>$CONFIG_STATUS
13175 cat >>$CONFIG_STATUS <<\_ACEOF
13178 \`$as_me' instantiates files from templates according to the
13179 current configuration.
13181 Usage: $0 [OPTIONS] [FILE]...
13183 -h, --help print this help, then exit
13184 -V, --version print version number, then exit
13185 -q, --quiet do not print progress messages
13186 -d, --debug don't remove temporary files
13187 --recheck update $as_me by reconfiguring in the same conditions
13188 --file=FILE[:TEMPLATE]
13189 instantiate the configuration file FILE
13190 --header=FILE[:TEMPLATE]
13191 instantiate the configuration header FILE
13193 Configuration files:
13196 Configuration headers:
13199 Configuration links:
13202 Configuration commands:
13205 Report bugs to <bug-autoconf@gnu.org>."
13208 cat >>$CONFIG_STATUS <<_ACEOF
13210 GNU Classpath config.status 0.17+cvs
13211 configured by $0, generated by GNU Autoconf 2.59,
13212 with options \\"`echo "$ac_configure_args" | sed 's/[\\""\`\$]/\\\\&/g'`\\"
13214 Copyright (C) 2003 Free Software Foundation, Inc.
13215 This config.status script is free software; the Free Software Foundation
13216 gives unlimited permission to copy, distribute and modify it."
13221 cat >>$CONFIG_STATUS <<\_ACEOF
13222 # If no file are specified by the user, then we need to provide default
13223 # value. By we need to know if files were specified by the user.
13229 ac_option
=`expr "x$1" : 'x\([^=]*\)='`
13230 ac_optarg
=`expr "x$1" : 'x[^=]*=\(.*\)'`
13238 *) # This is not an option, so the user has probably given explicit
13241 ac_need_defaults
=false
;;
13245 # Handling of the options.
13247 cat >>$CONFIG_STATUS <<\_ACEOF
13248 -recheck |
--recheck |
--rechec |
--reche |
--rech |
--rec |
--re |
--r)
13250 --version |
--vers* |
-V )
13251 echo "$ac_cs_version"; exit 0 ;;
13253 # Conflict between --help and --header
13254 { { echo "$as_me:$LINENO: error: ambiguous option: $1
13255 Try \`$0 --help' for more information." >&5
13256 echo "$as_me: error: ambiguous option: $1
13257 Try \`$0 --help' for more information." >&2;}
13258 { (exit 1); exit 1; }; };;
13259 --help |
--hel |
-h )
13260 echo "$ac_cs_usage"; exit 0 ;;
13261 --debug |
--d* |
-d )
13263 --file |
--fil |
--fi |
--f )
13265 CONFIG_FILES
="$CONFIG_FILES $ac_optarg"
13266 ac_need_defaults
=false
;;
13267 --header |
--heade |
--head |
--hea )
13269 CONFIG_HEADERS
="$CONFIG_HEADERS $ac_optarg"
13270 ac_need_defaults
=false
;;
13271 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
13272 |
-silent |
--silent |
--silen |
--sile |
--sil |
--si |
--s)
13275 # This is an error.
13276 -*) { { echo "$as_me:$LINENO: error: unrecognized option: $1
13277 Try \`$0 --help' for more information." >&5
13278 echo "$as_me: error: unrecognized option: $1
13279 Try \`$0 --help' for more information." >&2;}
13280 { (exit 1); exit 1; }; } ;;
13282 *) ac_config_targets
="$ac_config_targets $1" ;;
13288 ac_configure_extra_args
=
13290 if $ac_cs_silent; then
13292 ac_configure_extra_args
="$ac_configure_extra_args --silent"
13296 cat >>$CONFIG_STATUS <<_ACEOF
13297 if \$ac_cs_recheck; then
13298 echo "running $SHELL $0 " $ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6
13299 exec $SHELL $0 $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
13304 cat >>$CONFIG_STATUS <<_ACEOF
13306 # INIT-COMMANDS section.
13309 AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
13315 cat >>$CONFIG_STATUS <<\_ACEOF
13316 for ac_config_target
in $ac_config_targets
13318 case "$ac_config_target" in
13319 # Handling of arguments.
13320 "Makefile" ) CONFIG_FILES
="$CONFIG_FILES Makefile" ;;
13321 "doc/Makefile" ) CONFIG_FILES
="$CONFIG_FILES doc/Makefile" ;;
13322 "doc/api/Makefile" ) CONFIG_FILES
="$CONFIG_FILES doc/api/Makefile" ;;
13323 "external/Makefile" ) CONFIG_FILES
="$CONFIG_FILES external/Makefile" ;;
13324 "external/sax/Makefile" ) CONFIG_FILES
="$CONFIG_FILES external/sax/Makefile" ;;
13325 "external/w3c_dom/Makefile" ) CONFIG_FILES
="$CONFIG_FILES external/w3c_dom/Makefile" ;;
13326 "gnu/classpath/Configuration.java" ) CONFIG_FILES
="$CONFIG_FILES gnu/classpath/Configuration.java" ;;
13327 "include/Makefile" ) CONFIG_FILES
="$CONFIG_FILES include/Makefile" ;;
13328 "native/Makefile" ) CONFIG_FILES
="$CONFIG_FILES native/Makefile" ;;
13329 "native/fdlibm/Makefile" ) CONFIG_FILES
="$CONFIG_FILES native/fdlibm/Makefile" ;;
13330 "native/jni/Makefile" ) CONFIG_FILES
="$CONFIG_FILES native/jni/Makefile" ;;
13331 "native/jni/classpath/Makefile" ) CONFIG_FILES
="$CONFIG_FILES native/jni/classpath/Makefile" ;;
13332 "native/jni/java-io/Makefile" ) CONFIG_FILES
="$CONFIG_FILES native/jni/java-io/Makefile" ;;
13333 "native/jni/java-lang/Makefile" ) CONFIG_FILES
="$CONFIG_FILES native/jni/java-lang/Makefile" ;;
13334 "native/jni/java-net/Makefile" ) CONFIG_FILES
="$CONFIG_FILES native/jni/java-net/Makefile" ;;
13335 "native/jni/java-nio/Makefile" ) CONFIG_FILES
="$CONFIG_FILES native/jni/java-nio/Makefile" ;;
13336 "native/jni/java-util/Makefile" ) CONFIG_FILES
="$CONFIG_FILES native/jni/java-util/Makefile" ;;
13337 "native/jni/gtk-peer/Makefile" ) CONFIG_FILES
="$CONFIG_FILES native/jni/gtk-peer/Makefile" ;;
13338 "native/jni/xmlj/Makefile" ) CONFIG_FILES
="$CONFIG_FILES native/jni/xmlj/Makefile" ;;
13339 "native/target/Makefile" ) CONFIG_FILES
="$CONFIG_FILES native/target/Makefile" ;;
13340 "native/target/Linux/Makefile" ) CONFIG_FILES
="$CONFIG_FILES native/target/Linux/Makefile" ;;
13341 "native/target/generic/Makefile" ) CONFIG_FILES
="$CONFIG_FILES native/target/generic/Makefile" ;;
13342 "resource/Makefile" ) CONFIG_FILES
="$CONFIG_FILES resource/Makefile" ;;
13343 "scripts/Makefile" ) CONFIG_FILES
="$CONFIG_FILES scripts/Makefile" ;;
13344 "scripts/classpath.spec" ) CONFIG_FILES
="$CONFIG_FILES scripts/classpath.spec" ;;
13345 "lib/Makefile" ) CONFIG_FILES
="$CONFIG_FILES lib/Makefile" ;;
13346 "lib/gen-classlist.sh" ) CONFIG_FILES
="$CONFIG_FILES lib/gen-classlist.sh" ;;
13347 "examples/Makefile" ) CONFIG_FILES
="$CONFIG_FILES examples/Makefile" ;;
13348 "$ac_config_links_1" ) CONFIG_LINKS
="$CONFIG_LINKS $ac_config_links_1" ;;
13349 "depfiles" ) CONFIG_COMMANDS
="$CONFIG_COMMANDS depfiles" ;;
13350 "gen-classlist" ) CONFIG_COMMANDS
="$CONFIG_COMMANDS gen-classlist" ;;
13351 "include/config.h" ) CONFIG_HEADERS
="$CONFIG_HEADERS include/config.h" ;;
13352 *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
13353 echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
13354 { (exit 1); exit 1; }; };;
13358 # If the user did not use the arguments to specify the items to instantiate,
13359 # then the envvar interface is used. Set only those that are not.
13360 # We use the long form for the default assignment because of an extremely
13361 # bizarre bug on SunOS 4.1.3.
13362 if $ac_need_defaults; then
13363 test "${CONFIG_FILES+set}" = set || CONFIG_FILES
=$config_files
13364 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS
=$config_headers
13365 test "${CONFIG_LINKS+set}" = set || CONFIG_LINKS
=$config_links
13366 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS
=$config_commands
13369 # Have a temporary directory for convenience. Make it in the build tree
13370 # simply because there is no reason to put it here, and in addition,
13371 # creating and moving files from /tmp can sometimes cause problems.
13372 # Create a temporary directory, and hook for its removal unless debugging.
13375 trap 'exit_status=$?; rm -rf $tmp && exit $exit_status' 0
13376 trap '{ (exit 1); exit 1; }' 1 2 13 15
13379 # Create a (secure) tmp directory for tmp files.
13382 tmp
=`(umask 077 && mktemp -d -q "./confstatXXXXXX") 2>/dev/null` &&
13383 test -n "$tmp" && test -d "$tmp"
13386 tmp
=.
/confstat$$
-$RANDOM
13387 (umask 077 && mkdir
$tmp)
13390 echo "$me: cannot create a temporary directory in ." >&2
13391 { (exit 1); exit 1; }
13396 cat >>$CONFIG_STATUS <<_ACEOF
13399 # CONFIG_FILES section.
13402 # No need to generate the scripts if there are no CONFIG_FILES.
13403 # This happens for instance when ./config.status config.h
13404 if test -n "\$CONFIG_FILES"; then
13405 # Protect against being on the right side of a sed subst in config.status.
13406 sed 's/,@/@@/; s/@,/@@/; s/,;t t\$/@;t t/; /@;t t\$/s/[\\\\&,]/\\\\&/g;
13407 s/@@/,@/; s/@@/@,/; s/@;t t\$/,;t t/' >\$tmp/subs.sed <<\\CEOF
13408 s,@SHELL@,$SHELL,;t t
13409 s,@PATH_SEPARATOR@,$PATH_SEPARATOR,;t t
13410 s,@PACKAGE_NAME@,$PACKAGE_NAME,;t t
13411 s,@PACKAGE_TARNAME@,$PACKAGE_TARNAME,;t t
13412 s,@PACKAGE_VERSION@,$PACKAGE_VERSION,;t t
13413 s,@PACKAGE_STRING@,$PACKAGE_STRING,;t t
13414 s,@PACKAGE_BUGREPORT@,$PACKAGE_BUGREPORT,;t t
13415 s,@exec_prefix@,$exec_prefix,;t t
13416 s,@prefix@,$prefix,;t t
13417 s,@program_transform_name@,$program_transform_name,;t t
13418 s,@bindir@,$bindir,;t t
13419 s,@sbindir@,$sbindir,;t t
13420 s,@libexecdir@,$libexecdir,;t t
13421 s,@datadir@,$datadir,;t t
13422 s,@sysconfdir@,$sysconfdir,;t t
13423 s,@sharedstatedir@,$sharedstatedir,;t t
13424 s,@localstatedir@,$localstatedir,;t t
13425 s,@libdir@,$libdir,;t t
13426 s,@includedir@,$includedir,;t t
13427 s,@oldincludedir@,$oldincludedir,;t t
13428 s,@infodir@,$infodir,;t t
13429 s,@mandir@,$mandir,;t t
13430 s,@build_alias@,$build_alias,;t t
13431 s,@host_alias@,$host_alias,;t t
13432 s,@target_alias@,$target_alias,;t t
13433 s,@DEFS@,$DEFS,;t t
13434 s,@ECHO_C@,$ECHO_C,;t t
13435 s,@ECHO_N@,$ECHO_N,;t t
13436 s,@ECHO_T@,$ECHO_T,;t t
13437 s,@LIBS@,$LIBS,;t t
13438 s,@build@,$build,;t t
13439 s,@build_cpu@,$build_cpu,;t t
13440 s,@build_vendor@,$build_vendor,;t t
13441 s,@build_os@,$build_os,;t t
13442 s,@host@,$host,;t t
13443 s,@host_cpu@,$host_cpu,;t t
13444 s,@host_vendor@,$host_vendor,;t t
13445 s,@host_os@,$host_os,;t t
13446 s,@target@,$target,;t t
13447 s,@target_cpu@,$target_cpu,;t t
13448 s,@target_vendor@,$target_vendor,;t t
13449 s,@target_os@,$target_os,;t t
13450 s,@LIBVERSION@,$LIBVERSION,;t t
13451 s,@CLASSPATH_MODULE@,$CLASSPATH_MODULE,;t t
13452 s,@INSTALL_PROGRAM@,$INSTALL_PROGRAM,;t t
13453 s,@INSTALL_SCRIPT@,$INSTALL_SCRIPT,;t t
13454 s,@INSTALL_DATA@,$INSTALL_DATA,;t t
13455 s,@CYGPATH_W@,$CYGPATH_W,;t t
13456 s,@PACKAGE@,$PACKAGE,;t t
13457 s,@VERSION@,$VERSION,;t t
13458 s,@ACLOCAL@,$ACLOCAL,;t t
13459 s,@AUTOCONF@,$AUTOCONF,;t t
13460 s,@AUTOMAKE@,$AUTOMAKE,;t t
13461 s,@AUTOHEADER@,$AUTOHEADER,;t t
13462 s,@MAKEINFO@,$MAKEINFO,;t t
13463 s,@install_sh@,$install_sh,;t t
13464 s,@STRIP@,$STRIP,;t t
13465 s,@ac_ct_STRIP@,$ac_ct_STRIP,;t t
13466 s,@INSTALL_STRIP_PROGRAM@,$INSTALL_STRIP_PROGRAM,;t t
13467 s,@mkdir_p@,$mkdir_p,;t t
13469 s,@SET_MAKE@,$SET_MAKE,;t t
13470 s,@am__leading_dot@,$am__leading_dot,;t t
13471 s,@AMTAR@,$AMTAR,;t t
13472 s,@am__tar@,$am__tar,;t t
13473 s,@am__untar@,$am__untar,;t t
13474 s,@CREATE_JNI_LIBRARIES_TRUE@,$CREATE_JNI_LIBRARIES_TRUE,;t t
13475 s,@CREATE_JNI_LIBRARIES_FALSE@,$CREATE_JNI_LIBRARIES_FALSE,;t t
13476 s,@CREATE_CORE_JNI_LIBRARIES_TRUE@,$CREATE_CORE_JNI_LIBRARIES_TRUE,;t t
13477 s,@CREATE_CORE_JNI_LIBRARIES_FALSE@,$CREATE_CORE_JNI_LIBRARIES_FALSE,;t t
13478 s,@default_toolkit@,$default_toolkit,;t t
13479 s,@CREATE_XMLJ_LIBRARY_TRUE@,$CREATE_XMLJ_LIBRARY_TRUE,;t t
13480 s,@CREATE_XMLJ_LIBRARY_FALSE@,$CREATE_XMLJ_LIBRARY_FALSE,;t t
13481 s,@CREATE_GTK_PEER_LIBRARIES_TRUE@,$CREATE_GTK_PEER_LIBRARIES_TRUE,;t t
13482 s,@CREATE_GTK_PEER_LIBRARIES_FALSE@,$CREATE_GTK_PEER_LIBRARIES_FALSE,;t t
13483 s,@GTK_CAIRO_ENABLED@,$GTK_CAIRO_ENABLED,;t t
13484 s,@GTK_CAIRO_TRUE@,$GTK_CAIRO_TRUE,;t t
13485 s,@GTK_CAIRO_FALSE@,$GTK_CAIRO_FALSE,;t t
13486 s,@CREATE_JNI_HEADERS_TRUE@,$CREATE_JNI_HEADERS_TRUE,;t t
13487 s,@CREATE_JNI_HEADERS_FALSE@,$CREATE_JNI_HEADERS_FALSE,;t t
13488 s,@LN_S@,$LN_S,;t t
13490 s,@CFLAGS@,$CFLAGS,;t t
13491 s,@LDFLAGS@,$LDFLAGS,;t t
13492 s,@CPPFLAGS@,$CPPFLAGS,;t t
13493 s,@ac_ct_CC@,$ac_ct_CC,;t t
13494 s,@EXEEXT@,$EXEEXT,;t t
13495 s,@OBJEXT@,$OBJEXT,;t t
13496 s,@DEPDIR@,$DEPDIR,;t t
13497 s,@am__include@,$am__include,;t t
13498 s,@am__quote@,$am__quote,;t t
13499 s,@AMDEP_TRUE@,$AMDEP_TRUE,;t t
13500 s,@AMDEP_FALSE@,$AMDEP_FALSE,;t t
13501 s,@AMDEPBACKSLASH@,$AMDEPBACKSLASH,;t t
13502 s,@CCDEPMODE@,$CCDEPMODE,;t t
13503 s,@am__fastdepCC_TRUE@,$am__fastdepCC_TRUE,;t t
13504 s,@am__fastdepCC_FALSE@,$am__fastdepCC_FALSE,;t t
13505 s,@RANLIB@,$RANLIB,;t t
13506 s,@ac_ct_RANLIB@,$ac_ct_RANLIB,;t t
13507 s,@LIBTOOL@,$LIBTOOL,;t t
13509 s,@EGREP@,$EGREP,;t t
13510 s,@LIBICONV@,$LIBICONV,;t t
13511 s,@LTLIBICONV@,$LTLIBICONV,;t t
13512 s,@WARNING_CFLAGS@,$WARNING_CFLAGS,;t t
13513 s,@STRICT_WARNING_CFLAGS@,$STRICT_WARNING_CFLAGS,;t t
13514 s,@ERROR_CFLAGS@,$ERROR_CFLAGS,;t t
13515 s,@PKG_CONFIG@,$PKG_CONFIG,;t t
13516 s,@XML_CFLAGS@,$XML_CFLAGS,;t t
13517 s,@XML_LIBS@,$XML_LIBS,;t t
13518 s,@XSLT_CFLAGS@,$XSLT_CFLAGS,;t t
13519 s,@XSLT_LIBS@,$XSLT_LIBS,;t t
13520 s,@X_CFLAGS@,$X_CFLAGS,;t t
13521 s,@X_PRE_LIBS@,$X_PRE_LIBS,;t t
13522 s,@X_LIBS@,$X_LIBS,;t t
13523 s,@X_EXTRA_LIBS@,$X_EXTRA_LIBS,;t t
13524 s,@GTK_CFLAGS@,$GTK_CFLAGS,;t t
13525 s,@GTK_LIBS@,$GTK_LIBS,;t t
13526 s,@CAIRO_CFLAGS@,$CAIRO_CFLAGS,;t t
13527 s,@CAIRO_LIBS@,$CAIRO_LIBS,;t t
13528 s,@PANGOFT2_CFLAGS@,$PANGOFT2_CFLAGS,;t t
13529 s,@PANGOFT2_LIBS@,$PANGOFT2_LIBS,;t t
13530 s,@USER_JAVAH@,$USER_JAVAH,;t t
13531 s,@USER_SPECIFIED_JAVAH_TRUE@,$USER_SPECIFIED_JAVAH_TRUE,;t t
13532 s,@USER_SPECIFIED_JAVAH_FALSE@,$USER_SPECIFIED_JAVAH_FALSE,;t t
13533 s,@CLASSPATH_INCLUDES@,$CLASSPATH_INCLUDES,;t t
13535 s,@JIKES@,$JIKES,;t t
13536 s,@JIKESENCODING@,$JIKESENCODING,;t t
13538 s,@GCJX@,$GCJX,;t t
13540 s,@FOUND_GCJ_TRUE@,$FOUND_GCJ_TRUE,;t t
13541 s,@FOUND_GCJ_FALSE@,$FOUND_GCJ_FALSE,;t t
13542 s,@FOUND_JIKES_TRUE@,$FOUND_JIKES_TRUE,;t t
13543 s,@FOUND_JIKES_FALSE@,$FOUND_JIKES_FALSE,;t t
13544 s,@FOUND_ECJ_TRUE@,$FOUND_ECJ_TRUE,;t t
13545 s,@FOUND_ECJ_FALSE@,$FOUND_ECJ_FALSE,;t t
13546 s,@FOUND_KJC_TRUE@,$FOUND_KJC_TRUE,;t t
13547 s,@FOUND_KJC_FALSE@,$FOUND_KJC_FALSE,;t t
13548 s,@FOUND_GCJX_TRUE@,$FOUND_GCJX_TRUE,;t t
13549 s,@FOUND_GCJX_FALSE@,$FOUND_GCJX_FALSE,;t t
13550 s,@USER_CLASSLIB@,$USER_CLASSLIB,;t t
13551 s,@USER_SPECIFIED_CLASSLIB_TRUE@,$USER_SPECIFIED_CLASSLIB_TRUE,;t t
13552 s,@USER_SPECIFIED_CLASSLIB_FALSE@,$USER_SPECIFIED_CLASSLIB_FALSE,;t t
13553 s,@vm_classes@,$vm_classes,;t t
13554 s,@MAINTAINER_MODE_TRUE@,$MAINTAINER_MODE_TRUE,;t t
13555 s,@MAINTAINER_MODE_FALSE@,$MAINTAINER_MODE_FALSE,;t t
13556 s,@MAINT@,$MAINT,;t t
13557 s,@LIBDEBUG@,$LIBDEBUG,;t t
13558 s,@INIT_LOAD_LIBRARY@,$INIT_LOAD_LIBRARY,;t t
13559 s,@JAVA_LANG_SYSTEM_EXPLICIT_INITIALIZATION@,$JAVA_LANG_SYSTEM_EXPLICIT_INITIALIZATION,;t t
13560 s,@REMOVE@,$REMOVE,;t t
13562 s,@MKDIR@,$MKDIR,;t t
13564 s,@DATE@,$DATE,;t t
13565 s,@FIND@,$FIND,;t t
13567 s,@INSTALL_GLIBJ_ZIP_TRUE@,$INSTALL_GLIBJ_ZIP_TRUE,;t t
13568 s,@INSTALL_GLIBJ_ZIP_FALSE@,$INSTALL_GLIBJ_ZIP_FALSE,;t t
13569 s,@INSTALL_CLASS_FILES_TRUE@,$INSTALL_CLASS_FILES_TRUE,;t t
13570 s,@INSTALL_CLASS_FILES_FALSE@,$INSTALL_CLASS_FILES_FALSE,;t t
13571 s,@BUILD_CLASS_FILES_TRUE@,$BUILD_CLASS_FILES_TRUE,;t t
13572 s,@BUILD_CLASS_FILES_FALSE@,$BUILD_CLASS_FILES_FALSE,;t t
13573 s,@EXAMPLESDIR@,$EXAMPLESDIR,;t t
13574 s,@GJDOC@,$GJDOC,;t t
13575 s,@CREATE_API_DOCS_TRUE@,$CREATE_API_DOCS_TRUE,;t t
13576 s,@CREATE_API_DOCS_FALSE@,$CREATE_API_DOCS_FALSE,;t t
13578 s,@JAY_SKELETON@,$JAY_SKELETON,;t t
13579 s,@REGEN_PARSERS_TRUE@,$REGEN_PARSERS_TRUE,;t t
13580 s,@REGEN_PARSERS_FALSE@,$REGEN_PARSERS_FALSE,;t t
13581 s,@LIBOBJS@,$LIBOBJS,;t t
13582 s,@LTLIBOBJS@,$LTLIBOBJS,;t t
13587 cat >>$CONFIG_STATUS <<\_ACEOF
13588 # Split the substitutions into bite-sized pieces for seds with
13589 # small command number limits, like on Digital OSF/1 and HP-UX.
13590 ac_max_sed_lines
=48
13591 ac_sed_frag
=1 # Number of current file.
13592 ac_beg
=1 # First line for current file.
13593 ac_end
=$ac_max_sed_lines # Line after last line for current file.
13596 while $ac_more_lines; do
13597 if test $ac_beg -gt 1; then
13598 sed "1,${ac_beg}d; ${ac_end}q" $tmp/subs.
sed >$tmp/subs.frag
13600 sed "${ac_end}q" $tmp/subs.
sed >$tmp/subs.frag
13602 if test ! -s $tmp/subs.frag
; then
13603 ac_more_lines
=false
13605 # The purpose of the label and of the branching condition is to
13606 # speed up the sed processing (if there are no `@' at all, there
13607 # is no need to browse any of the substitutions).
13608 # These are the two extra sed commands mentioned above.
13610 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b' && cat $tmp/subs.frag
) >$tmp/subs-
$ac_sed_frag.
sed
13611 if test -z "$ac_sed_cmds"; then
13612 ac_sed_cmds
="sed -f $tmp/subs-$ac_sed_frag.sed"
13614 ac_sed_cmds
="$ac_sed_cmds | sed -f $tmp/subs-$ac_sed_frag.sed"
13616 ac_sed_frag
=`expr $ac_sed_frag + 1`
13618 ac_end
=`expr $ac_end + $ac_max_sed_lines`
13621 if test -z "$ac_sed_cmds"; then
13624 fi # test -n "$CONFIG_FILES"
13627 cat >>$CONFIG_STATUS <<\_ACEOF
13628 for ac_file
in : $CONFIG_FILES; do test "x$ac_file" = x
: && continue
13629 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
13631 - |
*:- |
*:-:* ) # input from stdin
13633 ac_file_in
=`echo "$ac_file" | sed 's,[^:]*:,,'`
13634 ac_file
=`echo "$ac_file" | sed 's,:.*,,'` ;;
13635 *:* ) ac_file_in
=`echo "$ac_file" | sed 's,[^:]*:,,'`
13636 ac_file
=`echo "$ac_file" | sed 's,:.*,,'` ;;
13637 * ) ac_file_in
=$ac_file.
in ;;
13640 # Compute @srcdir@, @top_srcdir@, and @INSTALL@ for subdirectories.
13641 ac_dir
=`(dirname "$ac_file") 2>/dev/null ||
13642 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
13643 X"$ac_file" : 'X\(//\)[^/]' \| \
13644 X"$ac_file" : 'X\(//\)$' \| \
13645 X"$ac_file" : 'X\(/\)' \| \
13646 . : '\(.\)' 2>/dev/null ||
13648 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
13649 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
13650 /^X\(\/\/\)$/{ s//\1/; q; }
13651 /^X\(\/\).*/{ s//\1/; q; }
13653 { if $as_mkdir_p; then
13658 while test ! -d "$as_dir"; do
13659 as_dirs
="$as_dir $as_dirs"
13660 as_dir
=`(dirname "$as_dir") 2>/dev/null ||
13661 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
13662 X"$as_dir" : 'X\(//\)[^/]' \| \
13663 X"$as_dir" : 'X\(//\)$' \| \
13664 X"$as_dir" : 'X\(/\)' \| \
13665 . : '\(.\)' 2>/dev/null ||
13667 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
13668 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
13669 /^X\(\/\/\)$/{ s//\1/; q; }
13670 /^X\(\/\).*/{ s//\1/; q; }
13673 test ! -n "$as_dirs" || mkdir
$as_dirs
13674 fi ||
{ { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
13675 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
13676 { (exit 1); exit 1; }; }; }
13680 if test "$ac_dir" != .
; then
13681 ac_dir_suffix
=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
13682 # A "../" for each directory in $ac_dir_suffix.
13683 ac_top_builddir
=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
13685 ac_dir_suffix
= ac_top_builddir
=
13689 .
) # No --srcdir option. We are building in place.
13691 if test -z "$ac_top_builddir"; then
13694 ac_top_srcdir
=`echo $ac_top_builddir | sed 's,/$,,'`
13696 [\\/]* | ?
:[\\/]* ) # Absolute path.
13697 ac_srcdir
=$srcdir$ac_dir_suffix;
13698 ac_top_srcdir
=$srcdir ;;
13699 *) # Relative path.
13700 ac_srcdir
=$ac_top_builddir$srcdir$ac_dir_suffix
13701 ac_top_srcdir
=$ac_top_builddir$srcdir ;;
13704 # Do not use `cd foo && pwd` to compute absolute paths, because
13705 # the directories may not exist.
13707 .
) ac_abs_builddir
="$ac_dir";;
13710 .
) ac_abs_builddir
=`pwd`;;
13711 [\\/]* | ?
:[\\/]* ) ac_abs_builddir
="$ac_dir";;
13712 *) ac_abs_builddir
=`pwd`/"$ac_dir";;
13715 case $ac_abs_builddir in
13716 .
) ac_abs_top_builddir
=${ac_top_builddir}.
;;
13718 case ${ac_top_builddir}.
in
13719 .
) ac_abs_top_builddir
=$ac_abs_builddir;;
13720 [\\/]* | ?
:[\\/]* ) ac_abs_top_builddir
=${ac_top_builddir}.
;;
13721 *) ac_abs_top_builddir
=$ac_abs_builddir/${ac_top_builddir}.
;;
13724 case $ac_abs_builddir in
13725 .
) ac_abs_srcdir
=$ac_srcdir;;
13728 .
) ac_abs_srcdir
=$ac_abs_builddir;;
13729 [\\/]* | ?
:[\\/]* ) ac_abs_srcdir
=$ac_srcdir;;
13730 *) ac_abs_srcdir
=$ac_abs_builddir/$ac_srcdir;;
13733 case $ac_abs_builddir in
13734 .
) ac_abs_top_srcdir
=$ac_top_srcdir;;
13736 case $ac_top_srcdir in
13737 .
) ac_abs_top_srcdir
=$ac_abs_builddir;;
13738 [\\/]* | ?
:[\\/]* ) ac_abs_top_srcdir
=$ac_top_srcdir;;
13739 *) ac_abs_top_srcdir
=$ac_abs_builddir/$ac_top_srcdir;;
13745 [\\/$
]* | ?
:[\\/]* ) ac_INSTALL
=$INSTALL ;;
13746 *) ac_INSTALL
=$ac_top_builddir$INSTALL ;;
13749 if test x
"$ac_file" != x-
; then
13750 { echo "$as_me:$LINENO: creating $ac_file" >&5
13751 echo "$as_me: creating $ac_file" >&6;}
13754 # Let's still pretend it is `configure' which instantiates (i.e., don't
13755 # use $as_me), people would be surprised to read:
13756 # /* config.h. Generated by config.status. */
13757 if test x
"$ac_file" = x-
; then
13760 configure_input
="$ac_file. "
13762 configure_input
=$configure_input"Generated from `echo $ac_file_in |
13763 sed 's,.*/,,'` by configure."
13765 # First look for the input files in the build tree, otherwise in the
13767 ac_file_inputs
=`IFS=:
13768 for f in $ac_file_in; do
13770 -) echo $tmp/stdin ;;
13772 # Absolute (can't be DOS-style, as IFS=:)
13773 test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
13774 echo "$as_me: error: cannot find input file: $f" >&2;}
13775 { (exit 1); exit 1; }; }
13778 if test -f "$f"; then
13781 elif test -f "$srcdir/$f"; then
13786 { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
13787 echo "$as_me: error: cannot find input file: $f" >&2;}
13788 { (exit 1); exit 1; }; }
13791 done` ||
{ (exit 1); exit 1; }
13793 cat >>$CONFIG_STATUS <<_ACEOF
13797 cat >>$CONFIG_STATUS <<\_ACEOF
13799 /@
[a-zA-Z_
][a-zA-Z_0-9
]*@
/!b
13800 s
,@configure_input@
,$configure_input,;t t
13801 s
,@srcdir@
,$ac_srcdir,;t t
13802 s
,@abs_srcdir@
,$ac_abs_srcdir,;t t
13803 s
,@top_srcdir@
,$ac_top_srcdir,;t t
13804 s
,@abs_top_srcdir@
,$ac_abs_top_srcdir,;t t
13805 s
,@builddir@
,$ac_builddir,;t t
13806 s
,@abs_builddir@
,$ac_abs_builddir,;t t
13807 s
,@top_builddir@
,$ac_top_builddir,;t t
13808 s
,@abs_top_builddir@
,$ac_abs_top_builddir,;t t
13809 s
,@INSTALL@
,$ac_INSTALL,;t t
13810 " $ac_file_inputs | (eval "$ac_sed_cmds") >$tmp/out
13812 if test x"$ac_file" != x-; then
13813 mv $tmp/out $ac_file
13821 cat >>$CONFIG_STATUS <<\_ACEOF
13824 # CONFIG_HEADER section.
13827 # These sed commands are passed to sed as "A NAME B NAME C VALUE D
", where
13828 # NAME is the cpp macro being defined and VALUE is the value it is being given.
13830 # ac_d sets the value in "#define NAME VALUE" lines.
13831 ac_dA
='s,^\([ ]*\)#\([ ]*define[ ][ ]*\)'
13832 ac_dB
='[ ].*$,\1#\2'
13835 # ac_u turns "#undef NAME" without trailing blanks into "#define NAME VALUE".
13836 ac_uA
='s,^\([ ]*\)#\([ ]*\)undef\([ ][ ]*\)'
13837 ac_uB
='$,\1#\2define\3'
13841 for ac_file
in : $CONFIG_HEADERS; do test "x$ac_file" = x
: && continue
13842 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
13844 - |
*:- |
*:-:* ) # input from stdin
13846 ac_file_in
=`echo "$ac_file" | sed 's,[^:]*:,,'`
13847 ac_file
=`echo "$ac_file" | sed 's,:.*,,'` ;;
13848 *:* ) ac_file_in
=`echo "$ac_file" | sed 's,[^:]*:,,'`
13849 ac_file
=`echo "$ac_file" | sed 's,:.*,,'` ;;
13850 * ) ac_file_in
=$ac_file.
in ;;
13853 test x
"$ac_file" != x-
&& { echo "$as_me:$LINENO: creating $ac_file" >&5
13854 echo "$as_me: creating $ac_file" >&6;}
13856 # First look for the input files in the build tree, otherwise in the
13858 ac_file_inputs
=`IFS=:
13859 for f in $ac_file_in; do
13861 -) echo $tmp/stdin ;;
13863 # Absolute (can't be DOS-style, as IFS=:)
13864 test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
13865 echo "$as_me: error: cannot find input file: $f" >&2;}
13866 { (exit 1); exit 1; }; }
13867 # Do quote $f, to prevent DOS paths from being IFS'd.
13870 if test -f "$f"; then
13873 elif test -f "$srcdir/$f"; then
13878 { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
13879 echo "$as_me: error: cannot find input file: $f" >&2;}
13880 { (exit 1); exit 1; }; }
13883 done` ||
{ (exit 1); exit 1; }
13884 # Remove the trailing spaces.
13885 sed 's/[ ]*$//' $ac_file_inputs >$tmp/in
13889 # Transform confdefs.h into two sed scripts, `conftest.defines' and
13890 # `conftest.undefs', that substitutes the proper values into
13891 # config.h.in to produce config.h. The first handles `#define'
13892 # templates, and the second `#undef' templates.
13893 # And first: Protect against being on the right side of a sed subst in
13894 # config.status. Protect against being in an unquoted here document
13895 # in config.status.
13896 rm -f conftest.defines conftest.undefs
13897 # Using a here document instead of a string reduces the quoting nightmare.
13898 # Putting comments in sed scripts is not portable.
13900 # `end' is used to avoid that the second main sed command (meant for
13901 # 0-ary CPP macros) applies to n-ary macro definitions.
13902 # See the Autoconf documentation for `clear'.
13903 cat >confdef2sed.
sed <<\_ACEOF
13908 s,^[ ]*#[ ]*define[ ][ ]*\([^ (][^ (]*\)\(([^)]*)\)[ ]*\(.*\)$,${ac_dA}\1${ac_dB}\1\2${ac_dC}\3${ac_dD},gp
13910 s,^[ ]*#[ ]*define[ ][ ]*\([^ ][^ ]*\)[ ]*\(.*\)$,${ac_dA}\1${ac_dB}\1${ac_dC}\2${ac_dD},gp
13913 # If some macros were called several times there might be several times
13914 # the same #defines, which is useless. Nevertheless, we may not want to
13915 # sort them, since we want the *last* AC-DEFINE to be honored.
13916 uniq confdefs.h | sed -n -f confdef2sed.sed >conftest.defines
13917 sed 's/ac_d/ac_u/g' conftest.defines >conftest.undefs
13918 rm -f confdef2sed.sed
13920 # This sed command replaces #undef with comments. This is necessary, for
13921 # example, in the case of _POSIX_SOURCE, which is predefined and required
13922 # on some systems where configure will not decide to define it.
13923 cat >>conftest.undefs <<\_ACEOF
13924 s,^[ ]*#[ ]*undef[ ][ ]*[a-zA-Z_][a-zA-Z_0-9]*,/* & */,
13927 # Break up conftest.defines because some shells have a limit on the size
13928 # of here documents, and old seds have small limits too (100 cmds).
13929 echo ' # Handle all the #define templates only if necessary.' >>$CONFIG_STATUS
13930 echo ' if grep "^[ ]*#[ ]*define" $tmp/in >/dev/null; then' >>$CONFIG_STATUS
13931 echo ' # If there are no defines, we may have an empty if/fi' >>$CONFIG_STATUS
13932 echo ' :' >>$CONFIG_STATUS
13933 rm -f conftest.tail
13934 while grep . conftest.defines >/dev/null
13936 # Write a limited-size here document to $tmp/defines.sed.
13937 echo ' cat >$tmp/defines.sed <<CEOF' >>$CONFIG_STATUS
13938 # Speed up: don't consider the non `#define' lines.
13939 echo '/^[ ]*#[ ]*define/!b' >>$CONFIG_STATUS
13940 # Work around the forget-to-reset-the-flag bug.
13941 echo 't clr' >>$CONFIG_STATUS
13942 echo ': clr' >>$CONFIG_STATUS
13943 sed ${ac_max_here_lines}q conftest.defines
>>$CONFIG_STATUS
13945 sed -f $tmp/defines.sed $tmp/in >$tmp/out
13947 mv $tmp/out $tmp/in
13949 sed 1,${ac_max_here_lines}d conftest.defines
>conftest.
tail
13950 rm -f conftest.defines
13951 mv conftest.
tail conftest.defines
13953 rm -f conftest.defines
13954 echo ' fi # grep' >>$CONFIG_STATUS
13955 echo >>$CONFIG_STATUS
13957 # Break up conftest.undefs because some shells have a limit on the size
13958 # of here documents, and old seds have small limits too (100 cmds).
13959 echo ' # Handle all the #undef templates' >>$CONFIG_STATUS
13960 rm -f conftest.
tail
13961 while grep . conftest.undefs
>/dev
/null
13963 # Write a limited-size here document to $tmp/undefs.sed.
13964 echo ' cat >$tmp/undefs.sed <<CEOF' >>$CONFIG_STATUS
13965 # Speed up: don't consider the non
`#undef'
13966 echo '/^[ ]*#[ ]*undef/!b' >>$CONFIG_STATUS
13967 # Work around the forget-to-reset-the-flag bug.
13968 echo 't clr' >>$CONFIG_STATUS
13969 echo ': clr' >>$CONFIG_STATUS
13970 sed ${ac_max_here_lines}q conftest.undefs >>$CONFIG_STATUS
13972 sed -f $tmp/undefs.sed $tmp/in >$tmp/out
13974 mv $tmp/out $tmp/in
13976 sed 1,${ac_max_here_lines}d conftest.undefs >conftest.tail
13977 rm -f conftest.undefs
13978 mv conftest.tail conftest.undefs
13980 rm -f conftest.undefs
13982 cat >>$CONFIG_STATUS <<\_ACEOF
13983 # Let's still pretend it is `configure
' which instantiates (i.e., don't
13984 # use $as_me), people would be surprised to read:
13985 # /* config.h. Generated by config.status. */
13986 if test x
"$ac_file" = x-
; then
13987 echo "/* Generated by configure. */" >$tmp/config.h
13989 echo "/* $ac_file. Generated by configure. */" >$tmp/config.h
13991 cat $tmp/in >>$tmp/config.h
13993 if test x
"$ac_file" != x-
; then
13994 if diff $ac_file $tmp/config.h
>/dev
/null
2>&1; then
13995 { echo "$as_me:$LINENO: $ac_file is unchanged" >&5
13996 echo "$as_me: $ac_file is unchanged" >&6;}
13998 ac_dir
=`(dirname "$ac_file") 2>/dev/null ||
13999 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
14000 X"$ac_file" : 'X\(//\)[^/]' \| \
14001 X"$ac_file" : 'X\(//\)$' \| \
14002 X"$ac_file" : 'X\(/\)' \| \
14003 . : '\(.\)' 2>/dev/null ||
14005 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
14006 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
14007 /^X\(\/\/\)$/{ s//\1/; q; }
14008 /^X\(\/\).*/{ s//\1/; q; }
14010 { if $as_mkdir_p; then
14015 while test ! -d "$as_dir"; do
14016 as_dirs
="$as_dir $as_dirs"
14017 as_dir
=`(dirname "$as_dir") 2>/dev/null ||
14018 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
14019 X"$as_dir" : 'X\(//\)[^/]' \| \
14020 X"$as_dir" : 'X\(//\)$' \| \
14021 X"$as_dir" : 'X\(/\)' \| \
14022 . : '\(.\)' 2>/dev/null ||
14024 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
14025 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
14026 /^X\(\/\/\)$/{ s//\1/; q; }
14027 /^X\(\/\).*/{ s//\1/; q; }
14030 test ! -n "$as_dirs" || mkdir
$as_dirs
14031 fi ||
{ { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
14032 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
14033 { (exit 1); exit 1; }; }; }
14036 mv $tmp/config.h
$ac_file
14040 rm -f $tmp/config.h
14042 # Compute $ac_file's index in $config_headers.
14044 for _am_header
in $config_headers :; do
14045 case $_am_header in
14046 $ac_file |
$ac_file:* )
14049 _am_stamp_count
=`expr $_am_stamp_count + 1` ;;
14052 echo "timestamp for $ac_file" >`(dirname $ac_file) 2>/dev/null ||
14053 $as_expr X$ac_file : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
14054 X$ac_file : 'X\(//\)[^/]' \| \
14055 X$ac_file : 'X\(//\)$' \| \
14056 X$ac_file : 'X\(/\)' \| \
14057 . : '\(.\)' 2>/dev/null ||
14059 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
14060 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
14061 /^X\(\/\/\)$/{ s//\1/; q; }
14062 /^X\(\/\).*/{ s//\1/; q; }
14063 s/.*/./; q'`/stamp-h
$_am_stamp_count
14066 cat >>$CONFIG_STATUS <<\_ACEOF
14069 # CONFIG_LINKS section.
14072 for ac_file
in : $CONFIG_LINKS; do test "x$ac_file" = x
: && continue
14073 ac_dest
=`echo "$ac_file" | sed 's,:.*,,'`
14074 ac_source
=`echo "$ac_file" | sed 's,[^:]*:,,'`
14076 { echo "$as_me:$LINENO: linking $srcdir/$ac_source to $ac_dest" >&5
14077 echo "$as_me: linking $srcdir/$ac_source to $ac_dest" >&6;}
14079 if test ! -r $srcdir/$ac_source; then
14080 { { echo "$as_me:$LINENO: error: $srcdir/$ac_source: file not found" >&5
14081 echo "$as_me: error: $srcdir/$ac_source: file not found" >&2;}
14082 { (exit 1); exit 1; }; }
14086 # Make relative symlinks.
14087 ac_dest_dir
=`(dirname "$ac_dest") 2>/dev/null ||
14088 $as_expr X"$ac_dest" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
14089 X"$ac_dest" : 'X\(//\)[^/]' \| \
14090 X"$ac_dest" : 'X\(//\)$' \| \
14091 X"$ac_dest" : 'X\(/\)' \| \
14092 . : '\(.\)' 2>/dev/null ||
14094 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
14095 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
14096 /^X\(\/\/\)$/{ s//\1/; q; }
14097 /^X\(\/\).*/{ s//\1/; q; }
14099 { if $as_mkdir_p; then
14100 mkdir
-p "$ac_dest_dir"
14102 as_dir
="$ac_dest_dir"
14104 while test ! -d "$as_dir"; do
14105 as_dirs
="$as_dir $as_dirs"
14106 as_dir
=`(dirname "$as_dir") 2>/dev/null ||
14107 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
14108 X"$as_dir" : 'X\(//\)[^/]' \| \
14109 X"$as_dir" : 'X\(//\)$' \| \
14110 X"$as_dir" : 'X\(/\)' \| \
14111 . : '\(.\)' 2>/dev/null ||
14113 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
14114 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
14115 /^X\(\/\/\)$/{ s//\1/; q; }
14116 /^X\(\/\).*/{ s//\1/; q; }
14119 test ! -n "$as_dirs" || mkdir
$as_dirs
14120 fi ||
{ { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dest_dir\"" >&5
14121 echo "$as_me: error: cannot create directory \"$ac_dest_dir\"" >&2;}
14122 { (exit 1); exit 1; }; }; }
14126 if test "$ac_dest_dir" != .
; then
14127 ac_dir_suffix
=/`echo "$ac_dest_dir" | sed 's,^\.[\\/],,'`
14128 # A "../" for each directory in $ac_dir_suffix.
14129 ac_top_builddir
=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
14131 ac_dir_suffix
= ac_top_builddir
=
14135 .
) # No --srcdir option. We are building in place.
14137 if test -z "$ac_top_builddir"; then
14140 ac_top_srcdir
=`echo $ac_top_builddir | sed 's,/$,,'`
14142 [\\/]* | ?
:[\\/]* ) # Absolute path.
14143 ac_srcdir
=$srcdir$ac_dir_suffix;
14144 ac_top_srcdir
=$srcdir ;;
14145 *) # Relative path.
14146 ac_srcdir
=$ac_top_builddir$srcdir$ac_dir_suffix
14147 ac_top_srcdir
=$ac_top_builddir$srcdir ;;
14150 # Do not use `cd foo && pwd` to compute absolute paths, because
14151 # the directories may not exist.
14153 .
) ac_abs_builddir
="$ac_dest_dir";;
14155 case "$ac_dest_dir" in
14156 .
) ac_abs_builddir
=`pwd`;;
14157 [\\/]* | ?
:[\\/]* ) ac_abs_builddir
="$ac_dest_dir";;
14158 *) ac_abs_builddir
=`pwd`/"$ac_dest_dir";;
14161 case $ac_abs_builddir in
14162 .
) ac_abs_top_builddir
=${ac_top_builddir}.
;;
14164 case ${ac_top_builddir}.
in
14165 .
) ac_abs_top_builddir
=$ac_abs_builddir;;
14166 [\\/]* | ?
:[\\/]* ) ac_abs_top_builddir
=${ac_top_builddir}.
;;
14167 *) ac_abs_top_builddir
=$ac_abs_builddir/${ac_top_builddir}.
;;
14170 case $ac_abs_builddir in
14171 .
) ac_abs_srcdir
=$ac_srcdir;;
14174 .
) ac_abs_srcdir
=$ac_abs_builddir;;
14175 [\\/]* | ?
:[\\/]* ) ac_abs_srcdir
=$ac_srcdir;;
14176 *) ac_abs_srcdir
=$ac_abs_builddir/$ac_srcdir;;
14179 case $ac_abs_builddir in
14180 .
) ac_abs_top_srcdir
=$ac_top_srcdir;;
14182 case $ac_top_srcdir in
14183 .
) ac_abs_top_srcdir
=$ac_abs_builddir;;
14184 [\\/]* | ?
:[\\/]* ) ac_abs_top_srcdir
=$ac_top_srcdir;;
14185 *) ac_abs_top_srcdir
=$ac_abs_builddir/$ac_top_srcdir;;
14191 [\\/$
]* | ?
:[\\/]* ) ac_rel_source
=$srcdir/$ac_source ;;
14192 *) ac_rel_source
=$ac_top_builddir$srcdir/$ac_source ;;
14195 # Try a symlink, then a hard link, then a copy.
14196 ln -s $ac_rel_source $ac_dest 2>/dev
/null ||
14197 ln $srcdir/$ac_source $ac_dest 2>/dev
/null ||
14198 cp -p $srcdir/$ac_source $ac_dest ||
14199 { { echo "$as_me:$LINENO: error: cannot link or copy $srcdir/$ac_source to $ac_dest" >&5
14200 echo "$as_me: error: cannot link or copy $srcdir/$ac_source to $ac_dest" >&2;}
14201 { (exit 1); exit 1; }; }
14204 cat >>$CONFIG_STATUS <<\_ACEOF
14207 # CONFIG_COMMANDS section.
14209 for ac_file
in : $CONFIG_COMMANDS; do test "x$ac_file" = x
: && continue
14210 ac_dest
=`echo "$ac_file" | sed 's,:.*,,'`
14211 ac_source
=`echo "$ac_file" | sed 's,[^:]*:,,'`
14212 ac_dir
=`(dirname "$ac_dest") 2>/dev/null ||
14213 $as_expr X"$ac_dest" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
14214 X"$ac_dest" : 'X\(//\)[^/]' \| \
14215 X"$ac_dest" : 'X\(//\)$' \| \
14216 X"$ac_dest" : 'X\(/\)' \| \
14217 . : '\(.\)' 2>/dev/null ||
14219 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
14220 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
14221 /^X\(\/\/\)$/{ s//\1/; q; }
14222 /^X\(\/\).*/{ s//\1/; q; }
14224 { if $as_mkdir_p; then
14229 while test ! -d "$as_dir"; do
14230 as_dirs
="$as_dir $as_dirs"
14231 as_dir
=`(dirname "$as_dir") 2>/dev/null ||
14232 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
14233 X"$as_dir" : 'X\(//\)[^/]' \| \
14234 X"$as_dir" : 'X\(//\)$' \| \
14235 X"$as_dir" : 'X\(/\)' \| \
14236 . : '\(.\)' 2>/dev/null ||
14238 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
14239 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
14240 /^X\(\/\/\)$/{ s//\1/; q; }
14241 /^X\(\/\).*/{ s//\1/; q; }
14244 test ! -n "$as_dirs" || mkdir
$as_dirs
14245 fi ||
{ { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
14246 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
14247 { (exit 1); exit 1; }; }; }
14251 if test "$ac_dir" != .
; then
14252 ac_dir_suffix
=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
14253 # A "../" for each directory in $ac_dir_suffix.
14254 ac_top_builddir
=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
14256 ac_dir_suffix
= ac_top_builddir
=
14260 .
) # No --srcdir option. We are building in place.
14262 if test -z "$ac_top_builddir"; then
14265 ac_top_srcdir
=`echo $ac_top_builddir | sed 's,/$,,'`
14267 [\\/]* | ?
:[\\/]* ) # Absolute path.
14268 ac_srcdir
=$srcdir$ac_dir_suffix;
14269 ac_top_srcdir
=$srcdir ;;
14270 *) # Relative path.
14271 ac_srcdir
=$ac_top_builddir$srcdir$ac_dir_suffix
14272 ac_top_srcdir
=$ac_top_builddir$srcdir ;;
14275 # Do not use `cd foo && pwd` to compute absolute paths, because
14276 # the directories may not exist.
14278 .
) ac_abs_builddir
="$ac_dir";;
14281 .
) ac_abs_builddir
=`pwd`;;
14282 [\\/]* | ?
:[\\/]* ) ac_abs_builddir
="$ac_dir";;
14283 *) ac_abs_builddir
=`pwd`/"$ac_dir";;
14286 case $ac_abs_builddir in
14287 .
) ac_abs_top_builddir
=${ac_top_builddir}.
;;
14289 case ${ac_top_builddir}.
in
14290 .
) ac_abs_top_builddir
=$ac_abs_builddir;;
14291 [\\/]* | ?
:[\\/]* ) ac_abs_top_builddir
=${ac_top_builddir}.
;;
14292 *) ac_abs_top_builddir
=$ac_abs_builddir/${ac_top_builddir}.
;;
14295 case $ac_abs_builddir in
14296 .
) ac_abs_srcdir
=$ac_srcdir;;
14299 .
) ac_abs_srcdir
=$ac_abs_builddir;;
14300 [\\/]* | ?
:[\\/]* ) ac_abs_srcdir
=$ac_srcdir;;
14301 *) ac_abs_srcdir
=$ac_abs_builddir/$ac_srcdir;;
14304 case $ac_abs_builddir in
14305 .
) ac_abs_top_srcdir
=$ac_top_srcdir;;
14307 case $ac_top_srcdir in
14308 .
) ac_abs_top_srcdir
=$ac_abs_builddir;;
14309 [\\/]* | ?
:[\\/]* ) ac_abs_top_srcdir
=$ac_top_srcdir;;
14310 *) ac_abs_top_srcdir
=$ac_abs_builddir/$ac_top_srcdir;;
14315 { echo "$as_me:$LINENO: executing $ac_dest commands" >&5
14316 echo "$as_me: executing $ac_dest commands" >&6;}
14318 depfiles
) test x
"$AMDEP_TRUE" != x
"" ||
for mf
in $CONFIG_FILES; do
14319 # Strip MF so we end up with the name of the file.
14320 mf
=`echo "$mf" | sed -e 's/:.*$//'`
14321 # Check whether this is an Automake generated Makefile or not.
14322 # We used to match only the files named `Makefile.in', but
14323 # some people rename them; so instead we look at the file content.
14324 # Grep'ing the first line is not enough: some people post-process
14325 # each Makefile.in and add a new line on top of each file to say so.
14326 # So let's grep whole file.
14327 if grep '^#.*generated by automake' $mf > /dev
/null
2>&1; then
14328 dirpart
=`(dirname "$mf") 2>/dev/null ||
14329 $as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
14330 X"$mf" : 'X\(//\)[^/]' \| \
14331 X"$mf" : 'X\(//\)$' \| \
14332 X"$mf" : 'X\(/\)' \| \
14333 . : '\(.\)' 2>/dev/null ||
14335 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
14336 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
14337 /^X\(\/\/\)$/{ s//\1/; q; }
14338 /^X\(\/\).*/{ s//\1/; q; }
14343 # Extract the definition of DEPDIR, am__include, and am__quote
14344 # from the Makefile without running `make'.
14345 DEPDIR
=`sed -n 's/^DEPDIR = //p' < "$mf"`
14346 test -z "$DEPDIR" && continue
14347 am__include
=`sed -n 's/^am__include = //p' < "$mf"`
14348 test -z "am__include" && continue
14349 am__quote
=`sed -n 's/^am__quote = //p' < "$mf"`
14350 # When using ansi2knr, U may be empty or an underscore; expand it
14351 U
=`sed -n 's/^U = //p' < "$mf"`
14352 # Find all dependency output files, they are included files with
14353 # $(DEPDIR) in their names. We invoke sed twice because it is the
14354 # simplest approach to changing $(DEPDIR) to its actual value in the
14356 for file in `sed -n "
14357 s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
14358 sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do
14359 # Make sure the directory exists.
14360 test -f "$dirpart/$file" && continue
14361 fdir
=`(dirname "$file") 2>/dev/null ||
14362 $as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
14363 X"$file" : 'X\(//\)[^/]' \| \
14364 X"$file" : 'X\(//\)$' \| \
14365 X"$file" : 'X\(/\)' \| \
14366 . : '\(.\)' 2>/dev/null ||
14368 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
14369 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
14370 /^X\(\/\/\)$/{ s//\1/; q; }
14371 /^X\(\/\).*/{ s//\1/; q; }
14373 { if $as_mkdir_p; then
14374 mkdir
-p $dirpart/$fdir
14376 as_dir
=$dirpart/$fdir
14378 while test ! -d "$as_dir"; do
14379 as_dirs
="$as_dir $as_dirs"
14380 as_dir
=`(dirname "$as_dir") 2>/dev/null ||
14381 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
14382 X"$as_dir" : 'X\(//\)[^/]' \| \
14383 X"$as_dir" : 'X\(//\)$' \| \
14384 X"$as_dir" : 'X\(/\)' \| \
14385 . : '\(.\)' 2>/dev/null ||
14387 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
14388 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
14389 /^X\(\/\/\)$/{ s//\1/; q; }
14390 /^X\(\/\).*/{ s//\1/; q; }
14393 test ! -n "$as_dirs" || mkdir
$as_dirs
14394 fi ||
{ { echo "$as_me:$LINENO: error: cannot create directory $dirpart/$fdir" >&5
14395 echo "$as_me: error: cannot create directory $dirpart/$fdir" >&2;}
14396 { (exit 1); exit 1; }; }; }
14398 # echo "creating $dirpart/$file"
14399 echo '# dummy' > "$dirpart/$file"
14403 gen-classlist
) chmod 755 lib
/gen-classlist.sh
;;
14408 cat >>$CONFIG_STATUS <<\_ACEOF
14410 { (exit 0); exit 0; }
14412 chmod +x
$CONFIG_STATUS
14413 ac_clean_files
=$ac_clean_files_save
14416 # configure is writing to config.log, and then calls config.status.
14417 # config.status does its own redirection, appending to config.log.
14418 # Unfortunately, on DOS this fails, as config.log is still kept open
14419 # by configure, so config.status won't be able to write to it; its
14420 # output is simply discarded. So we exec the FD to /dev/null,
14421 # effectively closing config.log, so it can be properly (re)opened and
14422 # appended to by config.status. When coming back to configure, we
14423 # need to make the FD available again.
14424 if test "$no_create" != yes; then
14426 ac_config_status_args
=
14427 test "$silent" = yes &&
14428 ac_config_status_args
="$ac_config_status_args --quiet"
14430 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success
=false
14432 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
14433 # would make configure fail if this is the last instruction.
14434 $ac_cs_success ||
{ (exit 1); exit 1; }