2 # Guess values for system-dependent variables and create Makefiles.
3 # Generated by GNU Autoconf 2.59 for GNU Classpath 0.20.
5 # Report bugs to <classpath@gnu.org>.
7 # Copyright (C) 2003 Free Software Foundation, Inc.
8 # This configure script is free software; the Free Software Foundation
9 # gives unlimited permission to copy, distribute and modify it.
10 ## --------------------- ##
11 ## M4sh Initialization. ##
12 ## --------------------- ##
14 # Be Bourne compatible
15 if test -n "${ZSH_VERSION+set}" && (emulate sh
) >/dev
/null
2>&1; then
18 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
19 # is contrary to our usage. Disable this feature.
20 alias -g '${1+"$@"}'='"$@"'
21 elif test -n "${BASH_VERSION+set}" && (set -o posix
) >/dev
/null
2>&1; then
24 DUALCASE
=1; export DUALCASE
# for MKS sh
26 # Support unset when possible.
27 if ( (MAIL
=60; unset MAIL
) ||
exit) >/dev
/null
2>&1; then
34 # Work around bugs in pre-3.0 UWIN ksh.
35 $as_unset ENV MAIL MAILPATH
42 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
43 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
46 if (set +x
; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
47 eval $as_var=C
; export $as_var
53 # Required to use basename.
54 if expr a
: '\(a\)' >/dev
/null
2>&1; then
60 if (basename /) >/dev
/null
2>&1 && test "X`basename / 2>&1`" = "X/"; then
67 # Name of the executable.
68 as_me
=`$as_basename "$0" ||
69 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
70 X"$0" : 'X\(//\)$' \| \
71 X"$0" : 'X\(/\)$' \| \
72 . : '\(.\)' 2>/dev/null ||
74 sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; }
75 /^X\/\(\/\/\)$/{ s//\1/; q; }
76 /^X\/\(\/\).*/{ s//\1/; q; }
80 # PATH needs CR, and LINENO needs CR and PATH.
81 # Avoid depending upon Character Ranges.
82 as_cr_letters
='abcdefghijklmnopqrstuvwxyz'
83 as_cr_LETTERS
='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
84 as_cr_Letters
=$as_cr_letters$as_cr_LETTERS
85 as_cr_digits
='0123456789'
86 as_cr_alnum
=$as_cr_Letters$as_cr_digits
88 # The user is always right.
89 if test "${PATH_SEPARATOR+set}" != set; then
90 echo "#! /bin/sh" >conf$$.sh
91 echo "exit 0" >>conf$$.sh
93 if (PATH
="/nonexistent;."; conf$$.sh
) >/dev
/null
2>&1; then
104 as_lineno_3
=`(expr $as_lineno_1 + 1) 2>/dev/null`
105 test "x$as_lineno_1" != "x$as_lineno_2" &&
106 test "x$as_lineno_3" = "x$as_lineno_2" ||
{
107 # Find who we are. Look in the path if we contain no path at all
110 *[\\/]* ) as_myself
=$0 ;;
111 *) as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
115 test -z "$as_dir" && as_dir
=.
116 test -r "$as_dir/$0" && as_myself
=$as_dir/$0 && break
121 # We did not find ourselves, most probably we were run as `sh COMMAND'
122 # in which case we are not to be found in the path.
123 if test "x$as_myself" = x
; then
126 if test ! -f "$as_myself"; then
127 { echo "$as_me: error: cannot find myself; rerun with an absolute path" >&2
128 { (exit 1); exit 1; }; }
130 case $CONFIG_SHELL in
132 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
133 for as_dir
in /bin
$PATH_SEPARATOR/usr
/bin
$PATH_SEPARATOR$PATH
136 test -z "$as_dir" && as_dir
=.
137 for as_base
in sh bash ksh sh5
; do
140 if ("$as_dir/$as_base" -c '
143 as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
144 test "x$as_lineno_1" != "x$as_lineno_2" &&
145 test "x$as_lineno_3" = "x$as_lineno_2" ') 2>/dev
/null
; then
146 $as_unset BASH_ENV ||
test "${BASH_ENV+set}" != set ||
{ BASH_ENV
=; export BASH_ENV
; }
147 $as_unset ENV ||
test "${ENV+set}" != set ||
{ ENV
=; export ENV
; }
148 CONFIG_SHELL
=$as_dir/$as_base
150 exec "$CONFIG_SHELL" "$0" ${1+"$@"}
158 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
159 # uniformly replaced by the line number. The first 'sed' inserts a
160 # line-number line before each line; the second 'sed' does the real
161 # work. The second script uses 'N' to pair each line-number line
162 # with the numbered line, and appends trailing '-' during
163 # substitution so that $LINENO is not a special case at line end.
164 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
165 # second 'sed' script. Blame Lee E. McMahon for sed's syntax. :-)
166 sed '=' <$as_myself |
171 s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3,
174 s,^['$as_cr_digits']*\n,,
176 chmod +x
$as_me.lineno ||
177 { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
178 { (exit 1); exit 1; }; }
180 # Don't try to exec as it changes $[0], causing all sort of problems
181 # (the dirname of $[0] is not the place where we might find the
182 # original and so on. Autoconf is especially sensible to this).
184 # Exit status is that of the last command.
189 case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in
190 *c
*,-n*) ECHO_N
= ECHO_C
='
192 *c
*,* ) ECHO_N
=-n ECHO_C
= ECHO_T
= ;;
193 *) ECHO_N
= ECHO_C
='\c' ECHO_T
= ;;
196 if expr a
: '\(a\)' >/dev
/null
2>&1; then
202 rm -f conf$$ conf$$.exe conf$$.
file
204 if ln -s conf$$.
file conf$$
2>/dev
/null
; then
205 # We could just check for DJGPP; but this test a) works b) is more generic
206 # and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04).
207 if test -f conf$$.exe
; then
208 # Don't use ln at all; we don't have any links
213 elif ln conf$$.
file conf$$
2>/dev
/null
; then
218 rm -f conf$$ conf$$.exe conf$$.
file
220 if mkdir
-p .
2>/dev
/null
; then
223 test -d .
/-p && rmdir .
/-p
227 as_executable_p
="test -f"
229 # Sed expression to map a string onto a valid CPP name.
230 as_tr_cpp
="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
232 # Sed expression to map a string onto a valid variable name.
233 as_tr_sh
="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
237 # We need space, tab and new line, in precisely that order.
247 # hostname on some systems (SVR3.2, Linux) returns a bogus exit status,
248 # so uname gets run too.
249 ac_hostname
=`(hostname || uname -n) 2>/dev/null | sed 1q`
256 ac_default_prefix
=/usr
/local
257 ac_config_libobj_dir
=.
262 SHELL
=${CONFIG_SHELL-/bin/sh}
264 # Maximum number of lines to put in a shell here document.
265 # This variable seems obsolete. It should probably be removed, and
266 # only ac_max_sed_lines should be used.
267 : ${ac_max_here_lines=38}
269 # Identity of this package.
270 PACKAGE_NAME
='GNU Classpath'
271 PACKAGE_TARNAME
='classpath'
272 PACKAGE_VERSION
='0.20'
273 PACKAGE_STRING
='GNU Classpath 0.20'
274 PACKAGE_BUGREPORT
='classpath@gnu.org'
276 ac_unique_file
="java/lang/System.java"
277 ac_default_prefix
=/usr
/local
/classpath
278 # Factoring default headers for most tests.
279 ac_includes_default
="\
282 # include <sys/types.h>
285 # include <sys/stat.h>
296 # if !STDC_HEADERS && HAVE_MEMORY_H
302 # include <strings.h>
305 # include <inttypes.h>
315 ac_subst_vars
='SHELL PATH_SEPARATOR PACKAGE_NAME PACKAGE_TARNAME PACKAGE_VERSION PACKAGE_STRING PACKAGE_BUGREPORT exec_prefix prefix program_transform_name bindir sbindir libexecdir datadir sysconfdir sharedstatedir localstatedir libdir includedir oldincludedir infodir mandir build_alias host_alias target_alias DEFS ECHO_C ECHO_N ECHO_T LIBS build build_cpu build_vendor build_os host host_cpu host_vendor host_os target target_cpu target_vendor target_os LIBVERSION CLASSPATH_MODULE INSTALL_PROGRAM INSTALL_SCRIPT INSTALL_DATA CYGPATH_W PACKAGE VERSION ACLOCAL AUTOCONF AUTOMAKE AUTOHEADER MAKEINFO install_sh STRIP ac_ct_STRIP INSTALL_STRIP_PROGRAM mkdir_p AWK SET_MAKE am__leading_dot AMTAR am__tar am__untar CREATE_JNI_LIBRARIES_TRUE CREATE_JNI_LIBRARIES_FALSE CREATE_CORE_JNI_LIBRARIES_TRUE CREATE_CORE_JNI_LIBRARIES_FALSE default_toolkit CREATE_XMLJ_LIBRARY_TRUE CREATE_XMLJ_LIBRARY_FALSE CC CFLAGS LDFLAGS CPPFLAGS ac_ct_CC EXEEXT OBJEXT DEPDIR am__include am__quote AMDEP_TRUE AMDEP_FALSE AMDEPBACKSLASH CCDEPMODE am__fastdepCC_TRUE am__fastdepCC_FALSE CPP EGREP CREATE_ALSA_LIBRARIES_TRUE CREATE_ALSA_LIBRARIES_FALSE CREATE_DSSI_LIBRARIES_TRUE CREATE_DSSI_LIBRARIES_FALSE CREATE_GTK_PEER_LIBRARIES_TRUE CREATE_GTK_PEER_LIBRARIES_FALSE GTK_CAIRO_ENABLED GTK_CAIRO_TRUE GTK_CAIRO_FALSE CREATE_QT_PEER_LIBRARIES_TRUE CREATE_QT_PEER_LIBRARIES_FALSE nativelibdir glibjdir CREATE_JNI_HEADERS_TRUE CREATE_JNI_HEADERS_FALSE LN_S RANLIB ac_ct_RANLIB LIBTOOL CXX CXXFLAGS ac_ct_CXX CXXDEPMODE am__fastdepCXX_TRUE am__fastdepCXX_FALSE CXXCPP LIBICONV LTLIBICONV WARNING_CFLAGS STRICT_WARNING_CFLAGS ERROR_CFLAGS PKG_CONFIG XML_CFLAGS XML_LIBS XSLT_CFLAGS XSLT_LIBS X_CFLAGS X_PRE_LIBS X_LIBS X_EXTRA_LIBS GTK_CFLAGS GTK_LIBS CAIRO_CFLAGS CAIRO_LIBS PANGOFT2_CFLAGS PANGOFT2_LIBS QT_CFLAGS QT_LIBS MOC USER_JAVAH USER_SPECIFIED_JAVAH_TRUE USER_SPECIFIED_JAVAH_FALSE CLASSPATH_INCLUDES GCJ JIKES JIKESENCODING JIKESWARNINGS KJC GCJX ECJ FOUND_GCJ_TRUE FOUND_GCJ_FALSE FOUND_JIKES_TRUE FOUND_JIKES_FALSE FOUND_ECJ_TRUE FOUND_ECJ_FALSE FOUND_KJC_TRUE FOUND_KJC_FALSE FOUND_GCJX_TRUE FOUND_GCJX_FALSE USER_CLASSLIB USER_SPECIFIED_CLASSLIB_TRUE USER_SPECIFIED_CLASSLIB_FALSE vm_classes MAINTAINER_MODE_TRUE MAINTAINER_MODE_FALSE MAINT LIBDEBUG INIT_LOAD_LIBRARY JAVA_LANG_SYSTEM_EXPLICIT_INITIALIZATION REMOVE MKDIR CP DATE FIND ZIP INSTALL_GLIBJ_ZIP_TRUE INSTALL_GLIBJ_ZIP_FALSE INSTALL_CLASS_FILES_TRUE INSTALL_CLASS_FILES_FALSE BUILD_CLASS_FILES_TRUE BUILD_CLASS_FILES_FALSE EXAMPLESDIR GJDOC CREATE_API_DOCS_TRUE CREATE_API_DOCS_FALSE JAY JAY_SKELETON REGEN_PARSERS_TRUE REGEN_PARSERS_FALSE LIBOBJS LTLIBOBJS'
318 # Initialize some variables set by options.
320 ac_init_version
=false
321 # The variables have the same names as the options, with
322 # dashes changed to underlines.
330 program_transform_name
=s
,x
,x
,
338 # Installation directory options.
339 # These are left unexpanded so users can "make install exec_prefix=/foo"
340 # and all the variables that are supposed to be based on exec_prefix
341 # by default will actually change.
342 # Use braces instead of parens because sh, perl, etc. also accept them.
343 bindir
='${exec_prefix}/bin'
344 sbindir
='${exec_prefix}/sbin'
345 libexecdir
='${exec_prefix}/libexec'
346 datadir
='${prefix}/share'
347 sysconfdir
='${prefix}/etc'
348 sharedstatedir
='${prefix}/com'
349 localstatedir
='${prefix}/var'
350 libdir
='${exec_prefix}/lib'
351 includedir
='${prefix}/include'
352 oldincludedir
='/usr/include'
353 infodir
='${prefix}/info'
354 mandir
='${prefix}/man'
359 # If the previous option needs an argument, assign it.
360 if test -n "$ac_prev"; then
361 eval "$ac_prev=\$ac_option"
366 ac_optarg
=`expr "x$ac_option" : 'x[^=]*=\(.*\)'`
368 # Accept the important Cygnus configure options, so we can diagnose typos.
372 -bindir |
--bindir |
--bindi |
--bind |
--bin |
--bi)
374 -bindir=* |
--bindir=* |
--bindi=* |
--bind=* |
--bin=* |
--bi=*)
377 -build |
--build |
--buil |
--bui |
--bu)
378 ac_prev
=build_alias
;;
379 -build=* |
--build=* |
--buil=* |
--bui=* |
--bu=*)
380 build_alias
=$ac_optarg ;;
382 -cache-file |
--cache-file |
--cache-fil |
--cache-fi \
383 |
--cache-f |
--cache- |
--cache |
--cach |
--cac |
--ca |
--c)
384 ac_prev
=cache_file
;;
385 -cache-file=* |
--cache-file=* |
--cache-fil=* |
--cache-fi=* \
386 |
--cache-f=* |
--cache-=* |
--cache=* |
--cach=* |
--cac=* |
--ca=* |
--c=*)
387 cache_file
=$ac_optarg ;;
390 cache_file
=config.cache
;;
392 -datadir |
--datadir |
--datadi |
--datad |
--data |
--dat |
--da)
394 -datadir=* |
--datadir=* |
--datadi=* |
--datad=* |
--data=* |
--dat=* \
396 datadir
=$ac_optarg ;;
398 -disable-* |
--disable-*)
399 ac_feature
=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
400 # Reject names that are not valid shell variable names.
401 expr "x$ac_feature" : ".*[^-_$as_cr_alnum]" >/dev
/null
&&
402 { echo "$as_me: error: invalid feature name: $ac_feature" >&2
403 { (exit 1); exit 1; }; }
404 ac_feature
=`echo $ac_feature | sed 's/-/_/g'`
405 eval "enable_$ac_feature=no" ;;
407 -enable-* |
--enable-*)
408 ac_feature
=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
409 # Reject names that are not valid shell variable names.
410 expr "x$ac_feature" : ".*[^-_$as_cr_alnum]" >/dev
/null
&&
411 { echo "$as_me: error: invalid feature name: $ac_feature" >&2
412 { (exit 1); exit 1; }; }
413 ac_feature
=`echo $ac_feature | sed 's/-/_/g'`
415 *=*) ac_optarg
=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`;;
418 eval "enable_$ac_feature='$ac_optarg'" ;;
420 -exec-prefix |
--exec_prefix |
--exec-prefix |
--exec-prefi \
421 |
--exec-pref |
--exec-pre |
--exec-pr |
--exec-p |
--exec- \
422 |
--exec |
--exe |
--ex)
423 ac_prev
=exec_prefix
;;
424 -exec-prefix=* |
--exec_prefix=* |
--exec-prefix=* |
--exec-prefi=* \
425 |
--exec-pref=* |
--exec-pre=* |
--exec-pr=* |
--exec-p=* |
--exec-=* \
426 |
--exec=* |
--exe=* |
--ex=*)
427 exec_prefix
=$ac_optarg ;;
429 -gas |
--gas |
--ga |
--g)
430 # Obsolete; use --with-gas.
433 -help |
--help |
--hel |
--he |
-h)
435 -help=r
* |
--help=r
* |
--hel=r
* |
--he=r
* |
-hr*)
436 ac_init_help
=recursive
;;
437 -help=s
* |
--help=s
* |
--hel=s
* |
--he=s
* |
-hs*)
438 ac_init_help
=short
;;
440 -host |
--host |
--hos |
--ho)
441 ac_prev
=host_alias
;;
442 -host=* |
--host=* |
--hos=* |
--ho=*)
443 host_alias
=$ac_optarg ;;
445 -includedir |
--includedir |
--includedi |
--included |
--include \
446 |
--includ |
--inclu |
--incl |
--inc)
447 ac_prev
=includedir
;;
448 -includedir=* |
--includedir=* |
--includedi=* |
--included=* |
--include=* \
449 |
--includ=* |
--inclu=* |
--incl=* |
--inc=*)
450 includedir
=$ac_optarg ;;
452 -infodir |
--infodir |
--infodi |
--infod |
--info |
--inf)
454 -infodir=* |
--infodir=* |
--infodi=* |
--infod=* |
--info=* |
--inf=*)
455 infodir
=$ac_optarg ;;
457 -libdir |
--libdir |
--libdi |
--libd)
459 -libdir=* |
--libdir=* |
--libdi=* |
--libd=*)
462 -libexecdir |
--libexecdir |
--libexecdi |
--libexecd |
--libexec \
463 |
--libexe |
--libex |
--libe)
464 ac_prev
=libexecdir
;;
465 -libexecdir=* |
--libexecdir=* |
--libexecdi=* |
--libexecd=* |
--libexec=* \
466 |
--libexe=* |
--libex=* |
--libe=*)
467 libexecdir
=$ac_optarg ;;
469 -localstatedir |
--localstatedir |
--localstatedi |
--localstated \
470 |
--localstate |
--localstat |
--localsta |
--localst \
471 |
--locals |
--local |
--loca |
--loc |
--lo)
472 ac_prev
=localstatedir
;;
473 -localstatedir=* |
--localstatedir=* |
--localstatedi=* |
--localstated=* \
474 |
--localstate=* |
--localstat=* |
--localsta=* |
--localst=* \
475 |
--locals=* |
--local=* |
--loca=* |
--loc=* |
--lo=*)
476 localstatedir
=$ac_optarg ;;
478 -mandir |
--mandir |
--mandi |
--mand |
--man |
--ma |
--m)
480 -mandir=* |
--mandir=* |
--mandi=* |
--mand=* |
--man=* |
--ma=* |
--m=*)
484 # Obsolete; use --without-fp.
487 -no-create |
--no-create |
--no-creat |
--no-crea |
--no-cre \
488 |
--no-cr |
--no-c |
-n)
491 -no-recursion |
--no-recursion |
--no-recursio |
--no-recursi \
492 |
--no-recurs |
--no-recur |
--no-recu |
--no-rec |
--no-re |
--no-r)
495 -oldincludedir |
--oldincludedir |
--oldincludedi |
--oldincluded \
496 |
--oldinclude |
--oldinclud |
--oldinclu |
--oldincl |
--oldinc \
497 |
--oldin |
--oldi |
--old |
--ol |
--o)
498 ac_prev
=oldincludedir
;;
499 -oldincludedir=* |
--oldincludedir=* |
--oldincludedi=* |
--oldincluded=* \
500 |
--oldinclude=* |
--oldinclud=* |
--oldinclu=* |
--oldincl=* |
--oldinc=* \
501 |
--oldin=* |
--oldi=* |
--old=* |
--ol=* |
--o=*)
502 oldincludedir
=$ac_optarg ;;
504 -prefix |
--prefix |
--prefi |
--pref |
--pre |
--pr |
--p)
506 -prefix=* |
--prefix=* |
--prefi=* |
--pref=* |
--pre=* |
--pr=* |
--p=*)
509 -program-prefix |
--program-prefix |
--program-prefi |
--program-pref \
510 |
--program-pre |
--program-pr |
--program-p)
511 ac_prev
=program_prefix
;;
512 -program-prefix=* |
--program-prefix=* |
--program-prefi=* \
513 |
--program-pref=* |
--program-pre=* |
--program-pr=* |
--program-p=*)
514 program_prefix
=$ac_optarg ;;
516 -program-suffix |
--program-suffix |
--program-suffi |
--program-suff \
517 |
--program-suf |
--program-su |
--program-s)
518 ac_prev
=program_suffix
;;
519 -program-suffix=* |
--program-suffix=* |
--program-suffi=* \
520 |
--program-suff=* |
--program-suf=* |
--program-su=* |
--program-s=*)
521 program_suffix
=$ac_optarg ;;
523 -program-transform-name |
--program-transform-name \
524 |
--program-transform-nam |
--program-transform-na \
525 |
--program-transform-n |
--program-transform- \
526 |
--program-transform |
--program-transfor \
527 |
--program-transfo |
--program-transf \
528 |
--program-trans |
--program-tran \
529 |
--progr-tra |
--program-tr |
--program-t)
530 ac_prev
=program_transform_name
;;
531 -program-transform-name=* |
--program-transform-name=* \
532 |
--program-transform-nam=* |
--program-transform-na=* \
533 |
--program-transform-n=* |
--program-transform-=* \
534 |
--program-transform=* |
--program-transfor=* \
535 |
--program-transfo=* |
--program-transf=* \
536 |
--program-trans=* |
--program-tran=* \
537 |
--progr-tra=* |
--program-tr=* |
--program-t=*)
538 program_transform_name
=$ac_optarg ;;
540 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
541 |
-silent |
--silent |
--silen |
--sile |
--sil)
544 -sbindir |
--sbindir |
--sbindi |
--sbind |
--sbin |
--sbi |
--sb)
546 -sbindir=* |
--sbindir=* |
--sbindi=* |
--sbind=* |
--sbin=* \
548 sbindir
=$ac_optarg ;;
550 -sharedstatedir |
--sharedstatedir |
--sharedstatedi \
551 |
--sharedstated |
--sharedstate |
--sharedstat |
--sharedsta \
552 |
--sharedst |
--shareds |
--shared |
--share |
--shar \
554 ac_prev
=sharedstatedir
;;
555 -sharedstatedir=* |
--sharedstatedir=* |
--sharedstatedi=* \
556 |
--sharedstated=* |
--sharedstate=* |
--sharedstat=* |
--sharedsta=* \
557 |
--sharedst=* |
--shareds=* |
--shared=* |
--share=* |
--shar=* \
559 sharedstatedir
=$ac_optarg ;;
561 -site |
--site |
--sit)
563 -site=* |
--site=* |
--sit=*)
566 -srcdir |
--srcdir |
--srcdi |
--srcd |
--src |
--sr)
568 -srcdir=* |
--srcdir=* |
--srcdi=* |
--srcd=* |
--src=* |
--sr=*)
571 -sysconfdir |
--sysconfdir |
--sysconfdi |
--sysconfd |
--sysconf \
572 |
--syscon |
--sysco |
--sysc |
--sys |
--sy)
573 ac_prev
=sysconfdir
;;
574 -sysconfdir=* |
--sysconfdir=* |
--sysconfdi=* |
--sysconfd=* |
--sysconf=* \
575 |
--syscon=* |
--sysco=* |
--sysc=* |
--sys=* |
--sy=*)
576 sysconfdir
=$ac_optarg ;;
578 -target |
--target |
--targe |
--targ |
--tar |
--ta |
--t)
579 ac_prev
=target_alias
;;
580 -target=* |
--target=* |
--targe=* |
--targ=* |
--tar=* |
--ta=* |
--t=*)
581 target_alias
=$ac_optarg ;;
583 -v |
-verbose |
--verbose |
--verbos |
--verbo |
--verb)
586 -version |
--version |
--versio |
--versi |
--vers |
-V)
590 ac_package
=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
591 # Reject names that are not valid shell variable names.
592 expr "x$ac_package" : ".*[^-_$as_cr_alnum]" >/dev
/null
&&
593 { echo "$as_me: error: invalid package name: $ac_package" >&2
594 { (exit 1); exit 1; }; }
595 ac_package
=`echo $ac_package| sed 's/-/_/g'`
597 *=*) ac_optarg
=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`;;
600 eval "with_$ac_package='$ac_optarg'" ;;
602 -without-* |
--without-*)
603 ac_package
=`expr "x$ac_option" : 'x-*without-\(.*\)'`
604 # Reject names that are not valid shell variable names.
605 expr "x$ac_package" : ".*[^-_$as_cr_alnum]" >/dev
/null
&&
606 { echo "$as_me: error: invalid package name: $ac_package" >&2
607 { (exit 1); exit 1; }; }
608 ac_package
=`echo $ac_package | sed 's/-/_/g'`
609 eval "with_$ac_package=no" ;;
612 # Obsolete; use --with-x.
615 -x-includes |
--x-includes |
--x-include |
--x-includ |
--x-inclu \
616 |
--x-incl |
--x-inc |
--x-in |
--x-i)
617 ac_prev
=x_includes
;;
618 -x-includes=* |
--x-includes=* |
--x-include=* |
--x-includ=* |
--x-inclu=* \
619 |
--x-incl=* |
--x-inc=* |
--x-in=* |
--x-i=*)
620 x_includes
=$ac_optarg ;;
622 -x-libraries |
--x-libraries |
--x-librarie |
--x-librari \
623 |
--x-librar |
--x-libra |
--x-libr |
--x-lib |
--x-li |
--x-l)
624 ac_prev
=x_libraries
;;
625 -x-libraries=* |
--x-libraries=* |
--x-librarie=* |
--x-librari=* \
626 |
--x-librar=* |
--x-libra=* |
--x-libr=* |
--x-lib=* |
--x-li=* |
--x-l=*)
627 x_libraries
=$ac_optarg ;;
629 -*) { echo "$as_me: error: unrecognized option: $ac_option
630 Try \`$0 --help' for more information." >&2
631 { (exit 1); exit 1; }; }
635 ac_envvar
=`expr "x$ac_option" : 'x\([^=]*\)='`
636 # Reject names that are not valid shell variable names.
637 expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev
/null
&&
638 { echo "$as_me: error: invalid variable name: $ac_envvar" >&2
639 { (exit 1); exit 1; }; }
640 ac_optarg
=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`
641 eval "$ac_envvar='$ac_optarg'"
645 # FIXME: should be removed in autoconf 3.0.
646 echo "$as_me: WARNING: you should use --build, --host, --target" >&2
647 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev
/null
&&
648 echo "$as_me: WARNING: invalid host type: $ac_option" >&2
649 : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
655 if test -n "$ac_prev"; then
656 ac_option
=--`echo $ac_prev | sed 's/_/-/g'`
657 { echo "$as_me: error: missing argument to $ac_option" >&2
658 { (exit 1); exit 1; }; }
661 # Be sure to have absolute paths.
662 for ac_var
in exec_prefix prefix
664 eval ac_val
=$
`echo $ac_var`
666 [\\/$
]* | ?
:[\\/]* | NONE |
'' ) ;;
667 *) { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
668 { (exit 1); exit 1; }; };;
672 # Be sure to have absolute paths.
673 for ac_var
in bindir sbindir libexecdir datadir sysconfdir sharedstatedir \
674 localstatedir libdir includedir oldincludedir infodir mandir
676 eval ac_val
=$
`echo $ac_var`
678 [\\/$
]* | ?
:[\\/]* ) ;;
679 *) { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
680 { (exit 1); exit 1; }; };;
684 # There might be people who depend on the old broken behavior: `$host'
685 # used to hold the argument of --host etc.
686 # FIXME: To remove some day.
691 # FIXME: To remove some day.
692 if test "x$host_alias" != x
; then
693 if test "x$build_alias" = x
; then
694 cross_compiling
=maybe
695 echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
696 If a cross compiler is detected then cross compile mode will be used." >&2
697 elif test "x$build_alias" != "x$host_alias"; then
703 test -n "$host_alias" && ac_tool_prefix
=$host_alias-
705 test "$silent" = yes && exec 6>/dev
/null
708 # Find the source files, if location was not specified.
709 if test -z "$srcdir"; then
710 ac_srcdir_defaulted
=yes
711 # Try the directory containing this script, then its parent.
712 ac_confdir
=`(dirname "$0") 2>/dev/null ||
713 $as_expr X"$0" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
714 X"$0" : 'X\(//\)[^/]' \| \
715 X"$0" : 'X\(//\)$' \| \
716 X"$0" : 'X\(/\)' \| \
717 . : '\(.\)' 2>/dev/null ||
719 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
720 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
721 /^X\(\/\/\)$/{ s//\1/; q; }
722 /^X\(\/\).*/{ s//\1/; q; }
725 if test ! -r $srcdir/$ac_unique_file; then
729 ac_srcdir_defaulted
=no
731 if test ! -r $srcdir/$ac_unique_file; then
732 if test "$ac_srcdir_defaulted" = yes; then
733 { echo "$as_me: error: cannot find sources ($ac_unique_file) in $ac_confdir or .." >&2
734 { (exit 1); exit 1; }; }
736 { echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2
737 { (exit 1); exit 1; }; }
740 (cd $srcdir && test -r .
/$ac_unique_file) 2>/dev
/null ||
741 { echo "$as_me: error: sources are in $srcdir, but \`cd $srcdir' does not work" >&2
742 { (exit 1); exit 1; }; }
743 srcdir
=`echo "$srcdir" | sed 's%\([^\\/]\)[\\/]*$%\1%'`
744 ac_env_build_alias_set
=${build_alias+set}
745 ac_env_build_alias_value
=$build_alias
746 ac_cv_env_build_alias_set
=${build_alias+set}
747 ac_cv_env_build_alias_value
=$build_alias
748 ac_env_host_alias_set
=${host_alias+set}
749 ac_env_host_alias_value
=$host_alias
750 ac_cv_env_host_alias_set
=${host_alias+set}
751 ac_cv_env_host_alias_value
=$host_alias
752 ac_env_target_alias_set
=${target_alias+set}
753 ac_env_target_alias_value
=$target_alias
754 ac_cv_env_target_alias_set
=${target_alias+set}
755 ac_cv_env_target_alias_value
=$target_alias
756 ac_env_CC_set
=${CC+set}
758 ac_cv_env_CC_set
=${CC+set}
759 ac_cv_env_CC_value
=$CC
760 ac_env_CFLAGS_set
=${CFLAGS+set}
761 ac_env_CFLAGS_value
=$CFLAGS
762 ac_cv_env_CFLAGS_set
=${CFLAGS+set}
763 ac_cv_env_CFLAGS_value
=$CFLAGS
764 ac_env_LDFLAGS_set
=${LDFLAGS+set}
765 ac_env_LDFLAGS_value
=$LDFLAGS
766 ac_cv_env_LDFLAGS_set
=${LDFLAGS+set}
767 ac_cv_env_LDFLAGS_value
=$LDFLAGS
768 ac_env_CPPFLAGS_set
=${CPPFLAGS+set}
769 ac_env_CPPFLAGS_value
=$CPPFLAGS
770 ac_cv_env_CPPFLAGS_set
=${CPPFLAGS+set}
771 ac_cv_env_CPPFLAGS_value
=$CPPFLAGS
772 ac_env_CPP_set
=${CPP+set}
773 ac_env_CPP_value
=$CPP
774 ac_cv_env_CPP_set
=${CPP+set}
775 ac_cv_env_CPP_value
=$CPP
776 ac_env_CXX_set
=${CXX+set}
777 ac_env_CXX_value
=$CXX
778 ac_cv_env_CXX_set
=${CXX+set}
779 ac_cv_env_CXX_value
=$CXX
780 ac_env_CXXFLAGS_set
=${CXXFLAGS+set}
781 ac_env_CXXFLAGS_value
=$CXXFLAGS
782 ac_cv_env_CXXFLAGS_set
=${CXXFLAGS+set}
783 ac_cv_env_CXXFLAGS_value
=$CXXFLAGS
784 ac_env_CXXCPP_set
=${CXXCPP+set}
785 ac_env_CXXCPP_value
=$CXXCPP
786 ac_cv_env_CXXCPP_set
=${CXXCPP+set}
787 ac_cv_env_CXXCPP_value
=$CXXCPP
790 # Report the --help message.
792 if test "$ac_init_help" = "long"; then
793 # Omit some internal or obsolete options to make the list less imposing.
794 # This message is too long to be a string in the A/UX 3.1 sh.
796 \`configure' configures GNU Classpath 0.20 to adapt to many kinds of systems.
798 Usage: $0 [OPTION]... [VAR=VALUE]...
800 To assign environment variables (e.g., CC, CFLAGS...), specify them as
801 VAR=VALUE. See below for descriptions of some of the useful variables.
803 Defaults for the options are specified in brackets.
806 -h, --help display this help and exit
807 --help=short display options specific to this package
808 --help=recursive display the short help of all the included packages
809 -V, --version display version information and exit
810 -q, --quiet, --silent do not print \`checking...' messages
811 --cache-file=FILE cache test results in FILE [disabled]
812 -C, --config-cache alias for \`--cache-file=config.cache'
813 -n, --no-create do not create output files
814 --srcdir=DIR find the sources in DIR [configure dir or \`..']
819 Installation directories:
820 --prefix=PREFIX install architecture-independent files in PREFIX
822 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
825 By default, \`make install' will install all the files in
826 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
827 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
828 for instance \`--prefix=\$HOME'.
830 For better control, use the options below.
832 Fine tuning of the installation directories:
833 --bindir=DIR user executables [EPREFIX/bin]
834 --sbindir=DIR system admin executables [EPREFIX/sbin]
835 --libexecdir=DIR program executables [EPREFIX/libexec]
836 --datadir=DIR read-only architecture-independent data [PREFIX/share]
837 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
838 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
839 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
840 --libdir=DIR object code libraries [EPREFIX/lib]
841 --includedir=DIR C header files [PREFIX/include]
842 --oldincludedir=DIR C header files for non-gcc [/usr/include]
843 --infodir=DIR info documentation [PREFIX/info]
844 --mandir=DIR man documentation [PREFIX/man]
850 --program-prefix=PREFIX prepend PREFIX to installed program names
851 --program-suffix=SUFFIX append SUFFIX to installed program names
852 --program-transform-name=PROGRAM run
sed PROGRAM on installed program names
855 --x-includes=DIR X include files are
in DIR
856 --x-libraries=DIR X library files are
in DIR
859 --build=BUILD configure
for building on BUILD
[guessed
]
860 --host=HOST cross-compile to build programs to run on HOST
[BUILD
]
861 --target=TARGET configure
for building compilers
for TARGET
[HOST
]
865 if test -n "$ac_init_help"; then
866 case $ac_init_help in
867 short | recursive
) echo "Configuration of GNU Classpath 0.20:";;
872 --disable-FEATURE do not include FEATURE
(same as
--enable-FEATURE=no
)
873 --enable-FEATURE[=ARG
] include FEATURE
[ARG
=yes]
874 --enable-jni compile JNI
source default
=yes
875 --enable-core-jni compile JNI sources
for core default
=yes
876 --enable-Werror whether to compile C code with
-Werror which turns
877 any compiler warning into a compilation failure
879 --enable-default-toolkit
880 fully qualified class name of default AWT toolkit
881 --enable-xmlj compile native libxml
/xslt library default
=no
882 --disable-alsa compile ALSA providers
(enable by
--enable-alsa)
884 --disable-dependency-tracking speeds up one-time build
885 --enable-dependency-tracking do not reject slow dependency extractors
886 --disable-dssi compile DSSI providers
(enable by
--enable-dssi)
888 --disable-gtk-peer compile GTK native peers
(disabled by
--disable-jni)
891 --enable-gtk-cairo build the cairo Graphics2D implementation on GTK
893 --enable-qt-peer compile Qt4 native peers
(disabled by
--disable-jni)
895 --enable-regen-headers automatically regenerate JNI headers default
=no
896 --enable-static=PKGS build static libraries default
=no
897 --enable-shared=PKGS build shared libraries default
=yes
898 --enable-fast-install=PKGS optimize
for fast installation default
=yes
899 --disable-libtool-lock avoid locking
(might
break parallel builds
)
900 --disable-rpath do not hardcode runtime library paths
901 --enable-maintainer-mode enable make rules and dependencies not useful
902 (and sometimes confusing
) to the casual installer
903 --enable-debug enable runtime debugging code
904 --enable-load-library enable to use JNI native methods default
=yes
905 --enable-java-lang-system-explicit-initialization
906 will the VM explicitly invoke java.lang.System
's
907 static initialization methods default=no
908 --enable-examples enable build of the examples default=yes
909 --enable-portable-native-sync
910 synchronize VM threads portably
913 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
914 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
915 --with-native-libdir sets the installation directore for native libraries
916 default='${libdir}/${PACKAGE}'
917 --with-glibj-dir sets the installation directory for glibj.zip
918 default='${libdir}/${PACKAGE}'
919 --with-gnu-ld assume the C compiler uses GNU ld default=no
920 --with-pic try to use only PIC/non-PIC objects default=use both
921 --with-libiconv-prefix[=DIR] search for libiconv in DIR/include and DIR/lib
922 --without-libiconv-prefix don't search
for libiconv
in includedir and libdir
923 --with-x use the X Window System
924 --with-qt4dir=DIR Qt4 installation directory used
for OS-X. For other
925 systems use pkg-config.
926 --with-javah specify path or name of a javah-like program
927 --with-gcj bytecode compilation with gcj
928 --with-jikes bytecode compilation with jikes
929 --with-kjc bytecode compilation with kjc
930 --with-gcjx bytecode compilation with gcjx
931 --with-ecj bytecode compilation with ecj
932 --with-classpath specify path to a classes.
zip like
file
933 --with-vm-classes specify path to VM override
source files
934 --with-glibj define what to
install (zip|flat|both|none|build
)
936 --with-gjdoc generate documentation using gjdoc
(default is NO
)
937 --with-jay Regenerate the parsers with jay must be given the
938 path to the jay executable
940 Some influential environment variables
:
941 CC C compiler
command
942 CFLAGS C compiler flags
943 LDFLAGS linker flags
, e.g.
-L<lib dir
> if you have libraries
in a
944 nonstandard directory
<lib dir
>
945 CPPFLAGS C
/C
++ preprocessor flags
, e.g.
-I<include dir
> if you have
946 headers
in a nonstandard directory
<include dir
>
948 CXX C
++ compiler
command
949 CXXFLAGS C
++ compiler flags
950 CXXCPP C
++ preprocessor
952 Use these variables to override the choices made by
`configure' or to help
953 it to find libraries and programs with nonstandard names/locations.
955 Report bugs to <classpath@gnu.org>.
959 if test "$ac_init_help" = "recursive"; then
960 # If there are subdirs, report their specific --help.
962 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
963 test -d $ac_dir || continue
966 if test "$ac_dir" != .; then
967 ac_dir_suffix=/`echo "$ac_dir" |
sed 's,^\.[\\/],,'`
968 # A "../" for each directory in $ac_dir_suffix.
969 ac_top_builddir=`echo "$ac_dir_suffix" |
sed 's,/[^\\/]*,../,g'`
971 ac_dir_suffix= ac_top_builddir=
975 .) # No --srcdir option. We are building in place.
977 if test -z "$ac_top_builddir"; then
980 ac_top_srcdir=`echo $ac_top_builddir |
sed 's,/$,,'`
982 [\\/]* | ?:[\\/]* ) # Absolute path.
983 ac_srcdir=$srcdir$ac_dir_suffix;
984 ac_top_srcdir=$srcdir ;;
986 ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
987 ac_top_srcdir=$ac_top_builddir$srcdir ;;
990 # Do not use `cd foo
&& pwd` to compute absolute paths, because
991 # the directories may not exist.
993 .) ac_abs_builddir="$ac_dir";;
996 .) ac_abs_builddir=`pwd`;;
997 [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";;
998 *) ac_abs_builddir=`pwd`/"$ac_dir";;
1001 case $ac_abs_builddir in
1002 .) ac_abs_top_builddir=${ac_top_builddir}.;;
1004 case ${ac_top_builddir}. in
1005 .) ac_abs_top_builddir=$ac_abs_builddir;;
1006 [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;;
1007 *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;;
1010 case $ac_abs_builddir in
1011 .) ac_abs_srcdir=$ac_srcdir;;
1014 .) ac_abs_srcdir=$ac_abs_builddir;;
1015 [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
1016 *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;;
1019 case $ac_abs_builddir in
1020 .) ac_abs_top_srcdir=$ac_top_srcdir;;
1022 case $ac_top_srcdir in
1023 .) ac_abs_top_srcdir=$ac_abs_builddir;;
1024 [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;;
1025 *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;;
1030 # Check for guested configure; otherwise get Cygnus style configure.
1031 if test -f $ac_srcdir/configure.gnu; then
1033 $SHELL $ac_srcdir/configure.gnu --help=recursive
1034 elif test -f $ac_srcdir/configure; then
1036 $SHELL $ac_srcdir/configure --help=recursive
1037 elif test -f $ac_srcdir/configure.ac ||
1038 test -f $ac_srcdir/configure.in; then
1040 $ac_configure --help
1042 echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1048 test -n "$ac_init_help" && exit 0
1049 if $ac_init_version; then
1051 GNU Classpath configure 0.20
1052 generated by GNU Autoconf 2.59
1054 Copyright (C) 2003 Free Software Foundation, Inc.
1055 This configure script is free software; the Free Software Foundation
1056 gives unlimited permission to copy, distribute and modify it.
1062 This file contains any messages produced by compilers while
1063 running configure, to aid debugging if configure makes a mistake.
1065 It was created by GNU Classpath $as_me 0.20, which was
1066 generated by GNU Autoconf 2.59. Invocation command line was
1077 hostname = `(hostname || uname
-n) 2>/dev
/null |
sed 1q
`
1078 uname -m = `(uname
-m) 2>/dev
/null ||
echo unknown
`
1079 uname -r = `(uname
-r) 2>/dev
/null ||
echo unknown
`
1080 uname -s = `(uname
-s) 2>/dev
/null ||
echo unknown
`
1081 uname -v = `(uname
-v) 2>/dev
/null ||
echo unknown
`
1083 /usr/bin/uname -p = `(/usr
/bin
/uname
-p) 2>/dev
/null ||
echo unknown
`
1084 /bin/uname -X = `(/bin
/uname
-X) 2>/dev
/null ||
echo unknown
`
1086 /bin/arch = `(/bin
/arch
) 2>/dev
/null ||
echo unknown
`
1087 /usr/bin/arch -k = `(/usr
/bin
/arch
-k) 2>/dev
/null ||
echo unknown
`
1088 /usr/convex/getsysinfo = `(/usr
/convex
/getsysinfo
) 2>/dev
/null ||
echo unknown
`
1089 hostinfo = `(hostinfo
) 2>/dev
/null ||
echo unknown
`
1090 /bin/machine = `(/bin
/machine
) 2>/dev
/null ||
echo unknown
`
1091 /usr/bin/oslevel = `(/usr
/bin
/oslevel
) 2>/dev
/null ||
echo unknown
`
1092 /bin/universe = `(/bin
/universe
) 2>/dev
/null ||
echo unknown
`
1096 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1100 test -z "$as_dir" && as_dir=.
1101 echo "PATH: $as_dir"
1116 # Keep a trace of the command line.
1117 # Strip out --no-create and --no-recursion so they do not pile up.
1118 # Strip out --silent because we don't want to record it for future runs.
1119 # Also quote any args containing shell meta-characters.
1120 # Make two passes to allow for proper duplicate-argument suppression.
1125 ac_must_keep_next=false
1131 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
1132 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1133 | -silent | --silent | --silen | --sile | --sil)
1135 *" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
1136 ac_arg=`echo "$ac_arg" |
sed "s/'/'\\\\\\\\''/g"` ;;
1139 1) ac_configure_args0="$ac_configure_args0 '$ac_arg'" ;;
1141 ac_configure_args1="$ac_configure_args1 '$ac_arg'"
1142 if test $ac_must_keep_next = true; then
1143 ac_must_keep_next=false # Got value, back to normal.
1146 *=* | --config-cache | -C | -disable-* | --disable-* \
1147 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
1148 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
1149 | -with-* | --with-* | -without-* | --without-* | --x)
1150 case "$ac_configure_args0 " in
1151 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
1154 -* ) ac_must_keep_next=true ;;
1157 ac_configure_args="$ac_configure_args$ac_sep'$ac_arg'"
1158 # Get rid of the leading space.
1164 $as_unset ac_configure_args0 || test "${ac_configure_args0+set}" != set || { ac_configure_args0=; export ac_configure_args0; }
1165 $as_unset ac_configure_args1 || test "${ac_configure_args1+set}" != set || { ac_configure_args1=; export ac_configure_args1; }
1167 # When interrupted or exit'd, cleanup temporary files, and complete
1168 # config.log. We remove comments because anyway the quotes in there
1169 # would cause problems or look ugly.
1170 # WARNING: Be sure not to use single quotes in there, as some shells,
1171 # such as our DU 5.0 friend, will then `close
' the trap.
1172 trap 'exit_status
=$?
1173 # Save into config.log some information that might help in debugging.
1178 ## ---------------- ##
1179 ## Cache variables. ##
1180 ## ---------------- ##
1183 # The following way of writing the cache mishandles newlines in values,
1186 case `(ac_space='"'"' '"'"'; set | grep ac_space) 2>&1` in
1189 "s/'"'"'/'"'"'\\\\'"'"''"'"'/g;
1190 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='"'"'\\2'"'"'/p"
1194 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
1201 ## ----------------- ##
1202 ## Output variables. ##
1203 ## ----------------- ##
1206 for ac_var
in $ac_subst_vars
1208 eval ac_val
=$
`echo $ac_var`
1209 echo "$ac_var='"'"'$ac_val'"'"'"
1213 if test -n "$ac_subst_files"; then
1220 for ac_var
in $ac_subst_files
1222 eval ac_val
=$
`echo $ac_var`
1223 echo "$ac_var='"'"'$ac_val'"'"'"
1228 if test -s confdefs.h
; then
1235 sed "/^$/d" confdefs.h |
sort
1238 test "$ac_signal" != 0 &&
1239 echo "$as_me: caught signal $ac_signal"
1240 echo "$as_me: exit $exit_status"
1242 rm -f core
*.core
&&
1243 rm -rf conftest
* confdefs
* conf$$
* $ac_clean_files &&
1246 for ac_signal in 1 2 13 15; do
1247 trap 'ac_signal
='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
1251 # confdefs.h avoids OS command line length limits that DEFS can exceed.
1252 rm -rf conftest* confdefs.h
1253 # AIX cpp loses on an empty file, so make sure it contains at least a newline.
1256 # Predefined preprocessor variables.
1258 cat >>confdefs.h <<_ACEOF
1259 #define PACKAGE_NAME "$PACKAGE_NAME"
1263 cat >>confdefs.h <<_ACEOF
1264 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
1268 cat >>confdefs.h <<_ACEOF
1269 #define PACKAGE_VERSION "$PACKAGE_VERSION"
1273 cat >>confdefs.h <<_ACEOF
1274 #define PACKAGE_STRING "$PACKAGE_STRING"
1278 cat >>confdefs.h <<_ACEOF
1279 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
1283 # Let the site file select an alternate cache file if it wants to.
1284 # Prefer explicitly selected file to automatically selected ones.
1285 if test -z "$CONFIG_SITE"; then
1286 if test "x$prefix" != xNONE; then
1287 CONFIG_SITE="$prefix/share/config.site $prefix/etc/config.site"
1289 CONFIG_SITE="$ac_default_prefix/share/config.site $ac_default_prefix/etc/config.site"
1292 for ac_site_file in $CONFIG_SITE; do
1293 if test -r "$ac_site_file"; then
1294 { echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
1295 echo "$as_me: loading site script $ac_site_file" >&6;}
1296 sed 's
/^
/|
/' "$ac_site_file" >&5
1301 if test -r "$cache_file"; then
1302 # Some versions of bash will fail to source /dev/null (special
1303 # files actually), so we avoid doing that.
1304 if test -f "$cache_file"; then
1305 { echo "$as_me:$LINENO: loading cache $cache_file" >&5
1306 echo "$as_me: loading cache $cache_file" >&6;}
1308 [\\/]* | ?:[\\/]* ) . $cache_file;;
1309 *) . ./$cache_file;;
1313 { echo "$as_me:$LINENO: creating cache $cache_file" >&5
1314 echo "$as_me: creating cache $cache_file" >&6;}
1318 # Check that the precious variables saved in the cache have kept the same
1320 ac_cache_corrupted=false
1321 for ac_var in `(set) 2>&1 |
1322 sed -n 's
/^ac_env_\
([a-zA-Z_0-9
]*\
)_set
=.
*/\
1/p
'`; do
1323 eval ac_old_set=\$ac_cv_env_${ac_var}_set
1324 eval ac_new_set=\$ac_env_${ac_var}_set
1325 eval ac_old_val="\$ac_cv_env_${ac_var}_value"
1326 eval ac_new_val="\$ac_env_${ac_var}_value"
1327 case $ac_old_set,$ac_new_set in
1329 { echo "$as_me:$LINENO: error: \`$ac_var' was
set to \
`$ac_old_val' in the previous run" >&5
1330 echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run
" >&2;}
1331 ac_cache_corrupted=: ;;
1333 { echo "$as_me:$LINENO: error
: \
`$ac_var' was not set in the previous run" >&5
1334 echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
1335 ac_cache_corrupted=: ;;
1338 if test "x$ac_old_val" != "x$ac_new_val"; then
1339 { echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run
:" >&5
1340 echo "$as_me: error
: \
`$ac_var' has changed since the previous run:" >&2;}
1341 { echo "$as_me:$LINENO: former value: $ac_old_val" >&5
1342 echo "$as_me: former value: $ac_old_val" >&2;}
1343 { echo "$as_me:$LINENO: current value: $ac_new_val" >&5
1344 echo "$as_me: current value: $ac_new_val" >&2;}
1345 ac_cache_corrupted=:
1348 # Pass precious variables to config.status.
1349 if test "$ac_new_set" = set; then
1351 *" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
1352 ac_arg=$ac_var=`echo "$ac_new_val" |
sed "s/'/'\\\\\\\\''/g"` ;;
1353 *) ac_arg=$ac_var=$ac_new_val ;;
1355 case " $ac_configure_args " in
1356 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
1357 *) ac_configure_args="$ac_configure_args '$ac_arg'" ;;
1361 if $ac_cache_corrupted; then
1362 { echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5
1363 echo "$as_me: error: changes in the environment can compromise the build" >&2;}
1364 { { echo "$as_me:$LINENO: error: run \`make distclean
' and/or \`rm $cache_file' and start over
" >&5
1365 echo "$as_me: error
: run \
`make distclean' and/or \`rm $cache_file' and start over" >&2;}
1366 { (exit 1); exit 1; }; }
1370 ac_cpp='$CPP $CPPFLAGS'
1371 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
1372 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
1373 ac_compiler_gnu=$ac_cv_c_compiler_gnu
1404 for ac_dir in $srcdir $srcdir/.. $srcdir/../..; do
1405 if test -f $ac_dir/install-sh; then
1407 ac_install_sh="$ac_aux_dir/install-sh -c"
1409 elif test -f $ac_dir/install.sh; then
1411 ac_install_sh="$ac_aux_dir/install.sh -c"
1413 elif test -f $ac_dir/shtool; then
1415 ac_install_sh="$ac_aux_dir/shtool install -c"
1419 if test -z "$ac_aux_dir"; then
1420 { { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." >&5
1421 echo "$as_me: error: cannot find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." >&2;}
1422 { (exit 1); exit 1; }; }
1424 ac_config_guess="$SHELL $ac_aux_dir/config.guess"
1425 ac_config_sub="$SHELL $ac_aux_dir/config.sub"
1426 ac_configure="$SHELL $ac_aux_dir/configure" # This should be Cygnus configure.
1428 # Make sure we can run config.sub.
1429 $ac_config_sub sun4 >/dev/null 2>&1 ||
1430 { { echo "$as_me:$LINENO: error: cannot run $ac_config_sub" >&5
1431 echo "$as_me: error: cannot run $ac_config_sub" >&2;}
1432 { (exit 1); exit 1; }; }
1434 echo "$as_me:$LINENO: checking build system type" >&5
1435 echo $ECHO_N "checking build system type... $ECHO_C" >&6
1436 if test "${ac_cv_build+set}" = set; then
1437 echo $ECHO_N "(cached) $ECHO_C" >&6
1439 ac_cv_build_alias=$build_alias
1440 test -z "$ac_cv_build_alias" &&
1441 ac_cv_build_alias=`$ac_config_guess`
1442 test -z "$ac_cv_build_alias" &&
1443 { { echo "$as_me:$LINENO: error: cannot guess build type; you must specify one" >&5
1444 echo "$as_me: error: cannot guess build type; you must specify one" >&2;}
1445 { (exit 1); exit 1; }; }
1446 ac_cv_build=`$ac_config_sub $ac_cv_build_alias` ||
1447 { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_build_alias failed" >&5
1448 echo "$as_me: error: $ac_config_sub $ac_cv_build_alias failed" >&2;}
1449 { (exit 1); exit 1; }; }
1452 echo "$as_me:$LINENO: result: $ac_cv_build" >&5
1453 echo "${ECHO_T}$ac_cv_build" >&6
1455 build_cpu=`echo $ac_cv_build | sed 's
/^\
([^
-]*\
)-\
([^
-]*\
)-\
(.
*\
)$
/\
1/'`
1456 build_vendor=`echo $ac_cv_build | sed 's
/^\
([^
-]*\
)-\
([^
-]*\
)-\
(.
*\
)$
/\
2/'`
1457 build_os=`echo $ac_cv_build | sed 's
/^\
([^
-]*\
)-\
([^
-]*\
)-\
(.
*\
)$
/\
3/'`
1460 echo "$as_me:$LINENO: checking host system type" >&5
1461 echo $ECHO_N "checking host system type... $ECHO_C" >&6
1462 if test "${ac_cv_host+set}" = set; then
1463 echo $ECHO_N "(cached) $ECHO_C" >&6
1465 ac_cv_host_alias=$host_alias
1466 test -z "$ac_cv_host_alias" &&
1467 ac_cv_host_alias=$ac_cv_build_alias
1468 ac_cv_host=`$ac_config_sub $ac_cv_host_alias` ||
1469 { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_host_alias failed" >&5
1470 echo "$as_me: error: $ac_config_sub $ac_cv_host_alias failed" >&2;}
1471 { (exit 1); exit 1; }; }
1474 echo "$as_me:$LINENO: result: $ac_cv_host" >&5
1475 echo "${ECHO_T}$ac_cv_host" >&6
1477 host_cpu=`echo $ac_cv_host | sed 's
/^\
([^
-]*\
)-\
([^
-]*\
)-\
(.
*\
)$
/\
1/'`
1478 host_vendor=`echo $ac_cv_host | sed 's
/^\
([^
-]*\
)-\
([^
-]*\
)-\
(.
*\
)$
/\
2/'`
1479 host_os=`echo $ac_cv_host | sed 's
/^\
([^
-]*\
)-\
([^
-]*\
)-\
(.
*\
)$
/\
3/'`
1482 echo "$as_me:$LINENO: checking target system type" >&5
1483 echo $ECHO_N "checking target system type... $ECHO_C" >&6
1484 if test "${ac_cv_target+set}" = set; then
1485 echo $ECHO_N "(cached) $ECHO_C" >&6
1487 ac_cv_target_alias=$target_alias
1488 test "x$ac_cv_target_alias" = "x" &&
1489 ac_cv_target_alias=$ac_cv_host_alias
1490 ac_cv_target=`$ac_config_sub $ac_cv_target_alias` ||
1491 { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_target_alias failed" >&5
1492 echo "$as_me: error: $ac_config_sub $ac_cv_target_alias failed" >&2;}
1493 { (exit 1); exit 1; }; }
1496 echo "$as_me:$LINENO: result: $ac_cv_target" >&5
1497 echo "${ECHO_T}$ac_cv_target" >&6
1498 target=$ac_cv_target
1499 target_cpu=`echo $ac_cv_target | sed 's
/^\
([^
-]*\
)-\
([^
-]*\
)-\
(.
*\
)$
/\
1/'`
1500 target_vendor=`echo $ac_cv_target | sed 's
/^\
([^
-]*\
)-\
([^
-]*\
)-\
(.
*\
)$
/\
2/'`
1501 target_os=`echo $ac_cv_target | sed 's
/^\
([^
-]*\
)-\
([^
-]*\
)-\
(.
*\
)$
/\
3/'`
1504 # The aliases save the names the user supplied, while $host etc.
1505 # will get canonicalized.
1506 test -n "$target_alias" &&
1507 test "$program_prefix$program_suffix$program_transform_name" = \
1509 program_prefix=${target_alias}-
1511 if expr ${target_cpu} : '.
*86' > /dev/null; then target_cpu=x86; fi
1524 CLASSPATH_MODULE="${cp_module} -version-info ${LIBVERSION} -no-undefined"
1528 am__api_version="1.9"
1529 # Find a good install program. We prefer a C program (faster),
1530 # so one script is as good as another. But avoid the broken or
1531 # incompatible versions:
1532 # SysV /etc/install, /usr/sbin/install
1533 # SunOS /usr/etc/install
1534 # IRIX /sbin/install
1536 # AmigaOS /C/install, which installs bootblocks on floppy discs
1537 # AIX 4 /usr/bin/installbsd, which doesn't work without a
-g flag
1538 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
1539 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
1540 # OS/2's system install, which has a completely different semantic
1541 # ./install, which can be erroneously created by make from ./install.sh.
1542 echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
1543 echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6
1544 if test -z "$INSTALL"; then
1545 if test "${ac_cv_path_install+set}" = set; then
1546 echo $ECHO_N "(cached) $ECHO_C" >&6
1548 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
1552 test -z "$as_dir" && as_dir
=.
1553 # Account for people who put trailing slashes in PATH elements.
1555 .
/ | .
// |
/cC
/* | \
1556 /etc
/* |
/usr
/sbin
/* |
/usr
/etc
/* |
/sbin
/* |
/usr
/afsws
/bin
/* | \
1557 ?
:\\/os2
\\/install\\/* | ?
:\\/OS2
\\/INSTALL
\\/* | \
1560 # OSF1 and SCO ODT 3.0 have their own names for install.
1561 # Don't use installbsd from OSF since it installs stuff as root
1563 for ac_prog
in ginstall scoinst
install; do
1564 for ac_exec_ext
in '' $ac_executable_extensions; do
1565 if $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
1566 if test $ac_prog = install &&
1567 grep dspmsg
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
1568 # AIX install. It has an incompatible calling convention.
1570 elif test $ac_prog = install &&
1571 grep pwplus
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
1572 # program-specific install script used by HP pwplus--don't use.
1575 ac_cv_path_install
="$as_dir/$ac_prog$ac_exec_ext -c"
1587 if test "${ac_cv_path_install+set}" = set; then
1588 INSTALL
=$ac_cv_path_install
1590 # As a last resort, use the slow shell script. We don't cache a
1591 # path for INSTALL within a source directory, because that will
1592 # break other packages using the cache if that directory is
1593 # removed, or if the path is relative.
1594 INSTALL
=$ac_install_sh
1597 echo "$as_me:$LINENO: result: $INSTALL" >&5
1598 echo "${ECHO_T}$INSTALL" >&6
1600 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
1601 # It thinks the first close brace ends the variable substitution.
1602 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM
='${INSTALL}'
1604 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT
='${INSTALL}'
1606 test -z "$INSTALL_DATA" && INSTALL_DATA
='${INSTALL} -m 644'
1608 echo "$as_me:$LINENO: checking whether build environment is sane" >&5
1609 echo $ECHO_N "checking whether build environment is sane... $ECHO_C" >&6
1612 echo timestamp
> conftest.
file
1613 # Do `set' in a subshell so we don't clobber the current shell's
1614 # arguments. Must try -L first in case configure is actually a
1615 # symlink; some systems play weird games with the mod time of symlinks
1616 # (eg FreeBSD returns the mod time of the symlink's containing
1619 set X
`ls -Lt $srcdir/configure conftest.file 2> /dev/null`
1620 if test "$*" = "X"; then
1622 set X
`ls -t $srcdir/configure conftest.file`
1625 if test "$*" != "X $srcdir/configure conftest.file" \
1626 && test "$*" != "X conftest.file $srcdir/configure"; then
1628 # If neither matched, then we have a broken ls. This can happen
1629 # if, for instance, CONFIG_SHELL is bash and it inherits a
1630 # broken ls alias from the environment. This has actually
1631 # happened. Such a system could not be considered "sane".
1632 { { echo "$as_me:$LINENO: error: ls -t appears to fail. Make sure there is not a broken
1633 alias in your environment" >&5
1634 echo "$as_me: error: ls -t appears to fail. Make sure there is not a broken
1635 alias in your environment" >&2;}
1636 { (exit 1); exit 1; }; }
1639 test "$2" = conftest.
file
1645 { { echo "$as_me:$LINENO: error: newly created file is older than distributed files!
1646 Check your system clock" >&5
1647 echo "$as_me: error: newly created file is older than distributed files!
1648 Check your system clock" >&2;}
1649 { (exit 1); exit 1; }; }
1651 echo "$as_me:$LINENO: result: yes" >&5
1652 echo "${ECHO_T}yes" >&6
1653 test "$program_prefix" != NONE
&&
1654 program_transform_name
="s,^,$program_prefix,;$program_transform_name"
1655 # Use a double $ so make ignores it.
1656 test "$program_suffix" != NONE
&&
1657 program_transform_name
="s,\$,$program_suffix,;$program_transform_name"
1658 # Double any \ or $. echo might interpret backslashes.
1659 # By default was `s,x,x', remove it if useless.
1660 cat <<\_ACEOF
>conftest.
sed
1661 s
/[\\$
]/&&/g
;s
/;s
,x
,x
,$
//
1663 program_transform_name
=`echo $program_transform_name | sed -f conftest.sed`
1666 # expand $ac_aux_dir to an absolute path
1667 am_aux_dir
=`cd $ac_aux_dir && pwd`
1669 test x
"${MISSING+set}" = xset || MISSING
="\${SHELL} $am_aux_dir/missing"
1670 # Use eval to expand $SHELL
1671 if eval "$MISSING --run true"; then
1672 am_missing_run
="$MISSING --run "
1675 { echo "$as_me:$LINENO: WARNING: \`missing' script is too old or missing" >&5
1676 echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;}
1679 if mkdir
-p --version .
>/dev
/null
2>&1 && test ! -d .
/--version; then
1680 # We used to keeping the `.' as first argument, in order to
1681 # allow $(mkdir_p) to be used without argument. As in
1682 # $(mkdir_p) $(somedir)
1683 # where $(somedir) is conditionally defined. However this is wrong
1685 # 1. if the package is installed by a user who cannot write `.'
1686 # make install will fail,
1687 # 2. the above comment should most certainly read
1688 # $(mkdir_p) $(DESTDIR)$(somedir)
1689 # so it does not work when $(somedir) is undefined and
1690 # $(DESTDIR) is not.
1691 # To support the latter case, we have to write
1692 # test -z "$(somedir)" || $(mkdir_p) $(DESTDIR)$(somedir),
1693 # so the `.' trick is pointless.
1694 mkdir_p
='mkdir -p --'
1696 # On NextStep and OpenStep, the `mkdir' command does not
1697 # recognize any option. It will interpret all options as
1698 # directories to create, and then abort because `.' already
1700 for d
in .
/-p .
/--version;
1702 test -d $d && rmdir $d
1704 # $(mkinstalldirs) is defined by Automake if mkinstalldirs exists.
1705 if test -f "$ac_aux_dir/mkinstalldirs"; then
1706 mkdir_p
='$(mkinstalldirs)'
1708 mkdir_p
='$(install_sh) -d'
1712 for ac_prog
in gawk mawk nawk
awk
1714 # Extract the first word of "$ac_prog", so it can be a program name with args.
1715 set dummy
$ac_prog; ac_word
=$2
1716 echo "$as_me:$LINENO: checking for $ac_word" >&5
1717 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1718 if test "${ac_cv_prog_AWK+set}" = set; then
1719 echo $ECHO_N "(cached) $ECHO_C" >&6
1721 if test -n "$AWK"; then
1722 ac_cv_prog_AWK
="$AWK" # Let the user override the test.
1724 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
1728 test -z "$as_dir" && as_dir
=.
1729 for ac_exec_ext
in '' $ac_executable_extensions; do
1730 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1731 ac_cv_prog_AWK
="$ac_prog"
1732 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1741 if test -n "$AWK"; then
1742 echo "$as_me:$LINENO: result: $AWK" >&5
1743 echo "${ECHO_T}$AWK" >&6
1745 echo "$as_me:$LINENO: result: no" >&5
1746 echo "${ECHO_T}no" >&6
1749 test -n "$AWK" && break
1752 echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
1753 echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6
1754 set dummy
${MAKE-make}; ac_make
=`echo "$2" | sed 'y,:./+-,___p_,'`
1755 if eval "test \"\${ac_cv_prog_make_${ac_make}_set+set}\" = set"; then
1756 echo $ECHO_N "(cached) $ECHO_C" >&6
1758 cat >conftest.
make <<\_ACEOF
1760 @
echo 'ac_maketemp="$(MAKE)"'
1762 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
1763 eval `${MAKE-make} -f conftest.make 2>/dev/null | grep temp=`
1764 if test -n "$ac_maketemp"; then
1765 eval ac_cv_prog_make_
${ac_make}_set
=yes
1767 eval ac_cv_prog_make_
${ac_make}_set
=no
1771 if eval "test \"`echo '$ac_cv_prog_make_'${ac_make}_set`\" = yes"; then
1772 echo "$as_me:$LINENO: result: yes" >&5
1773 echo "${ECHO_T}yes" >&6
1776 echo "$as_me:$LINENO: result: no" >&5
1777 echo "${ECHO_T}no" >&6
1778 SET_MAKE
="MAKE=${MAKE-make}"
1781 rm -rf .tst
2>/dev
/null
1782 mkdir .tst
2>/dev
/null
1783 if test -d .tst
; then
1788 rmdir .tst
2>/dev
/null
1790 # test to see if srcdir already configured
1791 if test "`cd $srcdir && pwd`" != "`pwd`" &&
1792 test -f $srcdir/config.status
; then
1793 { { echo "$as_me:$LINENO: error: source directory already configured; run \"make distclean\" there first" >&5
1794 echo "$as_me: error: source directory already configured; run \"make distclean\" there first" >&2;}
1795 { (exit 1); exit 1; }; }
1798 # test whether we have cygpath
1799 if test -z "$CYGPATH_W"; then
1800 if (cygpath
--version) >/dev
/null
2>/dev
/null
; then
1801 CYGPATH_W
='cygpath -w'
1808 # Define the identity of the package.
1813 cat >>confdefs.h
<<_ACEOF
1814 #define PACKAGE "$PACKAGE"
1818 cat >>confdefs.h
<<_ACEOF
1819 #define VERSION "$VERSION"
1822 # Some tools Automake needs.
1824 ACLOCAL
=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
1827 AUTOCONF
=${AUTOCONF-"${am_missing_run}autoconf"}
1830 AUTOMAKE
=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
1833 AUTOHEADER
=${AUTOHEADER-"${am_missing_run}autoheader"}
1836 MAKEINFO
=${MAKEINFO-"${am_missing_run}makeinfo"}
1838 install_sh
=${install_sh-"$am_aux_dir/install-sh"}
1840 # Installed binaries are usually stripped using `strip' when the user
1841 # run `make install-strip'. However `strip' might not be the right
1842 # tool to use in cross-compilation environments, therefore Automake
1843 # will honor the `STRIP' environment variable to overrule this program.
1844 if test "$cross_compiling" != no
; then
1845 if test -n "$ac_tool_prefix"; then
1846 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
1847 set dummy
${ac_tool_prefix}strip
; ac_word
=$2
1848 echo "$as_me:$LINENO: checking for $ac_word" >&5
1849 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1850 if test "${ac_cv_prog_STRIP+set}" = set; then
1851 echo $ECHO_N "(cached) $ECHO_C" >&6
1853 if test -n "$STRIP"; then
1854 ac_cv_prog_STRIP
="$STRIP" # Let the user override the test.
1856 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
1860 test -z "$as_dir" && as_dir
=.
1861 for ac_exec_ext
in '' $ac_executable_extensions; do
1862 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1863 ac_cv_prog_STRIP
="${ac_tool_prefix}strip"
1864 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1872 STRIP
=$ac_cv_prog_STRIP
1873 if test -n "$STRIP"; then
1874 echo "$as_me:$LINENO: result: $STRIP" >&5
1875 echo "${ECHO_T}$STRIP" >&6
1877 echo "$as_me:$LINENO: result: no" >&5
1878 echo "${ECHO_T}no" >&6
1882 if test -z "$ac_cv_prog_STRIP"; then
1884 # Extract the first word of "strip", so it can be a program name with args.
1885 set dummy strip
; ac_word
=$2
1886 echo "$as_me:$LINENO: checking for $ac_word" >&5
1887 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1888 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
1889 echo $ECHO_N "(cached) $ECHO_C" >&6
1891 if test -n "$ac_ct_STRIP"; then
1892 ac_cv_prog_ac_ct_STRIP
="$ac_ct_STRIP" # Let the user override the test.
1894 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
1898 test -z "$as_dir" && as_dir
=.
1899 for ac_exec_ext
in '' $ac_executable_extensions; do
1900 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1901 ac_cv_prog_ac_ct_STRIP
="strip"
1902 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1908 test -z "$ac_cv_prog_ac_ct_STRIP" && ac_cv_prog_ac_ct_STRIP
=":"
1911 ac_ct_STRIP
=$ac_cv_prog_ac_ct_STRIP
1912 if test -n "$ac_ct_STRIP"; then
1913 echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
1914 echo "${ECHO_T}$ac_ct_STRIP" >&6
1916 echo "$as_me:$LINENO: result: no" >&5
1917 echo "${ECHO_T}no" >&6
1922 STRIP
="$ac_cv_prog_STRIP"
1926 INSTALL_STRIP_PROGRAM
="\${SHELL} \$(install_sh) -c -s"
1928 # We need awk for the "check" target. The system "awk" is bad on
1930 # Always define AMTAR for backward compatibility.
1932 AMTAR
=${AMTAR-"${am_missing_run}tar"}
1935 echo "$as_me:$LINENO: checking how to create a ustar tar archive" >&5
1936 echo $ECHO_N "checking how to create a ustar tar archive... $ECHO_C" >&6
1937 # Loop over all known methods to create a tar archive until one works.
1938 _am_tools
='gnutar plaintar pax cpio none'
1939 _am_tools
=${am_cv_prog_tar_ustar-$_am_tools}
1940 # Do not fold the above two line into one, because Tru64 sh and
1941 # Solaris sh will not grok spaces in the rhs of `-'.
1942 for _am_tool
in $_am_tools
1946 for _am_tar
in tar gnutar gtar
;
1948 { echo "$as_me:$LINENO: $_am_tar --version" >&5
1949 ($_am_tar --version) >&5 2>&5
1951 echo "$as_me:$LINENO: \$? = $ac_status" >&5
1952 (exit $ac_status); } && break
1954 am__tar
="$_am_tar --format=ustar -chf - "'"$$tardir"'
1955 am__tar_
="$_am_tar --format=ustar -chf - "'"$tardir"'
1956 am__untar
="$_am_tar -xf -"
1959 # Must skip GNU tar: if it does not support --format= it doesn't create
1960 # ustar tarball either.
1961 (tar --version) >/dev
/null
2>&1 && continue
1962 am__tar
='tar chf - "$$tardir"'
1963 am__tar_
='tar chf - "$tardir"'
1964 am__untar
='tar xf -'
1967 am__tar
='pax -L -x ustar -w "$$tardir"'
1968 am__tar_
='pax -L -x ustar -w "$tardir"'
1972 am__tar
='find "$$tardir" -print | cpio -o -H ustar -L'
1973 am__tar_
='find "$tardir" -print | cpio -o -H ustar -L'
1974 am__untar
='cpio -i -H ustar -d'
1983 # If the value was cached, stop now. We just wanted to have am__tar
1984 # and am__untar set.
1985 test -n "${am_cv_prog_tar_ustar}" && break
1987 # tar/untar a dummy directory, and stop if the command works
1990 echo GrepMe
> conftest.dir
/file
1991 { echo "$as_me:$LINENO: tardir=conftest.dir && eval $am__tar_ >conftest.tar" >&5
1992 (tardir
=conftest.dir
&& eval $am__tar_ >conftest.
tar) >&5 2>&5
1994 echo "$as_me:$LINENO: \$? = $ac_status" >&5
1995 (exit $ac_status); }
1997 if test -s conftest.
tar; then
1998 { echo "$as_me:$LINENO: $am__untar <conftest.tar" >&5
1999 ($am__untar <conftest.
tar) >&5 2>&5
2001 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2002 (exit $ac_status); }
2003 grep GrepMe conftest.dir
/file >/dev
/null
2>&1 && break
2008 if test "${am_cv_prog_tar_ustar+set}" = set; then
2009 echo $ECHO_N "(cached) $ECHO_C" >&6
2011 am_cv_prog_tar_ustar
=$_am_tool
2014 echo "$as_me:$LINENO: result: $am_cv_prog_tar_ustar" >&5
2015 echo "${ECHO_T}$am_cv_prog_tar_ustar" >&6
2021 ac_config_headers
="$ac_config_headers include/config.h"
2025 # Check whether --enable-jni or --disable-jni was given.
2026 if test "${enable_jni+set}" = set; then
2027 enableval
="$enable_jni"
2028 case "${enableval}" in
2029 yes) COMPILE_JNI
=yes; COMPILE_JAVA
=yes ;;
2030 no
) COMPILE_JNI
=no
;;
2031 *) COMPILE_JNI
=yes; COMPILE_JAVA
=yes ;;
2038 if test "x${COMPILE_JNI}" = xyes
; then
2039 CREATE_JNI_LIBRARIES_TRUE
=
2040 CREATE_JNI_LIBRARIES_FALSE
='#'
2042 CREATE_JNI_LIBRARIES_TRUE
='#'
2043 CREATE_JNI_LIBRARIES_FALSE
=
2047 # Check whether --enable-core-jni or --disable-core-jni was given.
2048 if test "${enable_core_jni+set}" = set; then
2049 enableval
="$enable_core_jni"
2050 case "${enableval}" in
2051 yes) COMPILE_CORE_JNI
=yes; COMPILE_JAVA
=yes ;;
2052 no
) COMPILE_CORE_JNI
=no
;;
2053 *) COMPILE_CORE_JNI
=yes; COMPILE_JAVA
=yes ;;
2056 COMPILE_CORE_JNI
=yes
2060 if test "x${COMPILE_CORE_JNI}" = xyes
; then
2061 CREATE_CORE_JNI_LIBRARIES_TRUE
=
2062 CREATE_CORE_JNI_LIBRARIES_FALSE
='#'
2064 CREATE_CORE_JNI_LIBRARIES_TRUE
='#'
2065 CREATE_CORE_JNI_LIBRARIES_FALSE
=
2069 # Check whether --enable-Werror or --disable-Werror was given.
2070 if test "${enable_Werror+set}" = set; then
2071 enableval
="$enable_Werror"
2072 case "${enableval}" in
2073 yes) ENABLE_WERROR
=yes ;;
2074 no
) ENABLE_WERROR
=no
;;
2075 *) ENABLE_WERROR
=no
;;
2081 # Check whether --enable-default-toolkit or --disable-default-toolkit was given.
2082 if test "${enable_default_toolkit+set}" = set; then
2083 enableval
="$enable_default_toolkit"
2086 default_toolkit
=$enable_default_toolkit
2087 if test "$default_toolkit" = ""; then
2088 default_toolkit
=gnu.java.awt.peer.gtk.GtkToolkit
2092 # Check whether --enable-xmlj or --disable-xmlj was given.
2093 if test "${enable_xmlj+set}" = set; then
2094 enableval
="$enable_xmlj"
2095 case "${enableval}" in
2096 yes) COMPILE_XMLJ
=yes ;;
2097 no
) COMPILE_XMLJ
=no
;;
2098 *) COMPILE_XMLJ
=no
;;
2105 if test "x${COMPILE_XMLJ}" = xyes
; then
2106 CREATE_XMLJ_LIBRARY_TRUE
=
2107 CREATE_XMLJ_LIBRARY_FALSE
='#'
2109 CREATE_XMLJ_LIBRARY_TRUE
='#'
2110 CREATE_XMLJ_LIBRARY_FALSE
=
2114 DEPDIR
="${am__leading_dot}deps"
2116 ac_config_commands
="$ac_config_commands depfiles"
2119 am_make
=${MAKE-make}
2120 cat > confinc
<< 'END'
2125 # If we don't find an include directive, just comment out the code.
2126 echo "$as_me:$LINENO: checking for style of include used by $am_make" >&5
2127 echo $ECHO_N "checking for style of include used by $am_make... $ECHO_C" >&6
2131 # First try GNU make style include.
2132 echo "include confinc" > confmf
2133 # We grep out `Entering directory' and `Leaving directory'
2134 # messages which can occur if `w' ends up in MAKEFLAGS.
2135 # In particular we don't look at `^make:' because GNU make might
2136 # be invoked under some other name (usually "gmake"), in which
2137 # case it prints its new name instead of `make'.
2138 if test "`$am_make -s -f confmf 2> /dev/null | grep -v 'ing directory'`" = "done"; then
2143 # Now try BSD make style include.
2144 if test "$am__include" = "#"; then
2145 echo '.include "confinc"' > confmf
2146 if test "`$am_make -s -f confmf 2> /dev/null`" = "done"; then
2147 am__include
=.include
2154 echo "$as_me:$LINENO: result: $_am_result" >&5
2155 echo "${ECHO_T}$_am_result" >&6
2156 rm -f confinc confmf
2158 # Check whether --enable-dependency-tracking or --disable-dependency-tracking was given.
2159 if test "${enable_dependency_tracking+set}" = set; then
2160 enableval
="$enable_dependency_tracking"
2163 if test "x$enable_dependency_tracking" != xno
; then
2164 am_depcomp
="$ac_aux_dir/depcomp"
2169 if test "x$enable_dependency_tracking" != xno; then
2180 ac_cpp
='$CPP $CPPFLAGS'
2181 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2182 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2183 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
2184 if test -n "$ac_tool_prefix"; then
2185 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
2186 set dummy
${ac_tool_prefix}gcc
; ac_word
=$2
2187 echo "$as_me:$LINENO: checking for $ac_word" >&5
2188 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2189 if test "${ac_cv_prog_CC+set}" = set; then
2190 echo $ECHO_N "(cached) $ECHO_C" >&6
2192 if test -n "$CC"; then
2193 ac_cv_prog_CC
="$CC" # Let the user override the test.
2195 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2199 test -z "$as_dir" && as_dir
=.
2200 for ac_exec_ext
in '' $ac_executable_extensions; do
2201 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2202 ac_cv_prog_CC
="${ac_tool_prefix}gcc"
2203 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2212 if test -n "$CC"; then
2213 echo "$as_me:$LINENO: result: $CC" >&5
2214 echo "${ECHO_T}$CC" >&6
2216 echo "$as_me:$LINENO: result: no" >&5
2217 echo "${ECHO_T}no" >&6
2221 if test -z "$ac_cv_prog_CC"; then
2223 # Extract the first word of "gcc", so it can be a program name with args.
2224 set dummy gcc
; ac_word
=$2
2225 echo "$as_me:$LINENO: checking for $ac_word" >&5
2226 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2227 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
2228 echo $ECHO_N "(cached) $ECHO_C" >&6
2230 if test -n "$ac_ct_CC"; then
2231 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
2233 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2237 test -z "$as_dir" && as_dir
=.
2238 for ac_exec_ext
in '' $ac_executable_extensions; do
2239 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2240 ac_cv_prog_ac_ct_CC
="gcc"
2241 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2249 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
2250 if test -n "$ac_ct_CC"; then
2251 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
2252 echo "${ECHO_T}$ac_ct_CC" >&6
2254 echo "$as_me:$LINENO: result: no" >&5
2255 echo "${ECHO_T}no" >&6
2263 if test -z "$CC"; then
2264 if test -n "$ac_tool_prefix"; then
2265 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
2266 set dummy
${ac_tool_prefix}cc
; ac_word
=$2
2267 echo "$as_me:$LINENO: checking for $ac_word" >&5
2268 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2269 if test "${ac_cv_prog_CC+set}" = set; then
2270 echo $ECHO_N "(cached) $ECHO_C" >&6
2272 if test -n "$CC"; then
2273 ac_cv_prog_CC
="$CC" # Let the user override the test.
2275 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2279 test -z "$as_dir" && as_dir
=.
2280 for ac_exec_ext
in '' $ac_executable_extensions; do
2281 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2282 ac_cv_prog_CC
="${ac_tool_prefix}cc"
2283 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2292 if test -n "$CC"; then
2293 echo "$as_me:$LINENO: result: $CC" >&5
2294 echo "${ECHO_T}$CC" >&6
2296 echo "$as_me:$LINENO: result: no" >&5
2297 echo "${ECHO_T}no" >&6
2301 if test -z "$ac_cv_prog_CC"; then
2303 # Extract the first word of "cc", so it can be a program name with args.
2304 set dummy cc
; ac_word
=$2
2305 echo "$as_me:$LINENO: checking for $ac_word" >&5
2306 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2307 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
2308 echo $ECHO_N "(cached) $ECHO_C" >&6
2310 if test -n "$ac_ct_CC"; then
2311 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
2313 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2317 test -z "$as_dir" && as_dir
=.
2318 for ac_exec_ext
in '' $ac_executable_extensions; do
2319 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2320 ac_cv_prog_ac_ct_CC
="cc"
2321 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2329 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
2330 if test -n "$ac_ct_CC"; then
2331 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
2332 echo "${ECHO_T}$ac_ct_CC" >&6
2334 echo "$as_me:$LINENO: result: no" >&5
2335 echo "${ECHO_T}no" >&6
2344 if test -z "$CC"; then
2345 # Extract the first word of "cc", so it can be a program name with args.
2346 set dummy cc
; ac_word
=$2
2347 echo "$as_me:$LINENO: checking for $ac_word" >&5
2348 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2349 if test "${ac_cv_prog_CC+set}" = set; then
2350 echo $ECHO_N "(cached) $ECHO_C" >&6
2352 if test -n "$CC"; then
2353 ac_cv_prog_CC
="$CC" # Let the user override the test.
2356 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2360 test -z "$as_dir" && as_dir
=.
2361 for ac_exec_ext
in '' $ac_executable_extensions; do
2362 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2363 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
2364 ac_prog_rejected
=yes
2368 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2374 if test $ac_prog_rejected = yes; then
2375 # We found a bogon in the path, so make sure we never use it.
2376 set dummy
$ac_cv_prog_CC
2378 if test $# != 0; then
2379 # We chose a different compiler from the bogus one.
2380 # However, it has the same basename, so the bogon will be chosen
2381 # first if we set CC to just the basename; use the full file name.
2383 ac_cv_prog_CC
="$as_dir/$ac_word${1+' '}$@"
2389 if test -n "$CC"; then
2390 echo "$as_me:$LINENO: result: $CC" >&5
2391 echo "${ECHO_T}$CC" >&6
2393 echo "$as_me:$LINENO: result: no" >&5
2394 echo "${ECHO_T}no" >&6
2398 if test -z "$CC"; then
2399 if test -n "$ac_tool_prefix"; then
2402 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
2403 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
2404 echo "$as_me:$LINENO: checking for $ac_word" >&5
2405 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2406 if test "${ac_cv_prog_CC+set}" = set; then
2407 echo $ECHO_N "(cached) $ECHO_C" >&6
2409 if test -n "$CC"; then
2410 ac_cv_prog_CC
="$CC" # Let the user override the test.
2412 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2416 test -z "$as_dir" && as_dir
=.
2417 for ac_exec_ext
in '' $ac_executable_extensions; do
2418 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2419 ac_cv_prog_CC
="$ac_tool_prefix$ac_prog"
2420 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2429 if test -n "$CC"; then
2430 echo "$as_me:$LINENO: result: $CC" >&5
2431 echo "${ECHO_T}$CC" >&6
2433 echo "$as_me:$LINENO: result: no" >&5
2434 echo "${ECHO_T}no" >&6
2437 test -n "$CC" && break
2440 if test -z "$CC"; then
2444 # Extract the first word of "$ac_prog", so it can be a program name with args.
2445 set dummy
$ac_prog; ac_word
=$2
2446 echo "$as_me:$LINENO: checking for $ac_word" >&5
2447 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2448 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
2449 echo $ECHO_N "(cached) $ECHO_C" >&6
2451 if test -n "$ac_ct_CC"; then
2452 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
2454 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2458 test -z "$as_dir" && as_dir
=.
2459 for ac_exec_ext
in '' $ac_executable_extensions; do
2460 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2461 ac_cv_prog_ac_ct_CC
="$ac_prog"
2462 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2470 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
2471 if test -n "$ac_ct_CC"; then
2472 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
2473 echo "${ECHO_T}$ac_ct_CC" >&6
2475 echo "$as_me:$LINENO: result: no" >&5
2476 echo "${ECHO_T}no" >&6
2479 test -n "$ac_ct_CC" && break
2488 test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
2489 See \`config.log' for more details." >&5
2490 echo "$as_me: error: no acceptable C compiler found in \$PATH
2491 See \`config.log' for more details." >&2;}
2492 { (exit 1); exit 1; }; }
2494 # Provide some information about the compiler.
2495 echo "$as_me:$LINENO:" \
2496 "checking for C compiler version" >&5
2497 ac_compiler
=`set X $ac_compile; echo $2`
2498 { (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5
2499 (eval $ac_compiler --version </dev
/null
>&5) 2>&5
2501 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2502 (exit $ac_status); }
2503 { (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5
2504 (eval $ac_compiler -v </dev
/null
>&5) 2>&5
2506 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2507 (exit $ac_status); }
2508 { (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5
2509 (eval $ac_compiler -V </dev
/null
>&5) 2>&5
2511 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2512 (exit $ac_status); }
2514 cat >conftest.
$ac_ext <<_ACEOF
2517 cat confdefs.h
>>conftest.
$ac_ext
2518 cat >>conftest.
$ac_ext <<_ACEOF
2519 /* end confdefs.h. */
2529 ac_clean_files_save
=$ac_clean_files
2530 ac_clean_files
="$ac_clean_files a.out a.exe b.out"
2531 # Try to create an executable without -o first, disregard a.out.
2532 # It will help us diagnose broken compilers, and finding out an intuition
2534 echo "$as_me:$LINENO: checking for C compiler default output file name" >&5
2535 echo $ECHO_N "checking for C compiler default output file name... $ECHO_C" >&6
2536 ac_link_default
=`echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
2537 if { (eval echo "$as_me:$LINENO: \"$ac_link_default\"") >&5
2538 (eval $ac_link_default) 2>&5
2540 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2541 (exit $ac_status); }; then
2542 # Find the output, starting from the most likely. This scheme is
2543 # not robust to junk in `.', hence go to wildcards (a.*) only as a last
2546 # Be careful to initialize this variable, since it used to be cached.
2547 # Otherwise an old cache value of `no' led to `EXEEXT = no' in a Makefile.
2549 # b.out is created by i960 compilers.
2550 for ac_file
in a_out.exe a.exe conftest.exe a.out conftest a.
* conftest.
* b.out
2552 test -f "$ac_file" ||
continue
2554 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg |
*.o |
*.obj
)
2557 # This is the source file.
2560 # We found the default executable, but exeext='' is most
2564 ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
2565 # FIXME: I believe we export ac_cv_exeext for Libtool,
2566 # but it would be cool to find out if it's true. Does anybody
2567 # maintain Libtool? --akim.
2575 echo "$as_me: failed program was:" >&5
2576 sed 's/^/| /' conftest.
$ac_ext >&5
2578 { { echo "$as_me:$LINENO: error: C compiler cannot create executables
2579 See \`config.log' for more details." >&5
2580 echo "$as_me: error: C compiler cannot create executables
2581 See \`config.log' for more details." >&2;}
2582 { (exit 77); exit 77; }; }
2585 ac_exeext
=$ac_cv_exeext
2586 echo "$as_me:$LINENO: result: $ac_file" >&5
2587 echo "${ECHO_T}$ac_file" >&6
2589 # Check the compiler produces executables we can run. If not, either
2590 # the compiler is broken, or we cross compile.
2591 echo "$as_me:$LINENO: checking whether the C compiler works" >&5
2592 echo $ECHO_N "checking whether the C compiler works... $ECHO_C" >&6
2593 # FIXME: These cross compiler hacks should be removed for Autoconf 3.0
2594 # If not cross compiling, check that we can run a simple program.
2595 if test "$cross_compiling" != yes; then
2596 if { ac_try
='./$ac_file'
2597 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2600 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2601 (exit $ac_status); }; }; then
2604 if test "$cross_compiling" = maybe
; then
2607 { { echo "$as_me:$LINENO: error: cannot run C compiled programs.
2608 If you meant to cross compile, use \`--host'.
2609 See \`config.log' for more details." >&5
2610 echo "$as_me: error: cannot run C compiled programs.
2611 If you meant to cross compile, use \`--host'.
2612 See \`config.log' for more details." >&2;}
2613 { (exit 1); exit 1; }; }
2617 echo "$as_me:$LINENO: result: yes" >&5
2618 echo "${ECHO_T}yes" >&6
2620 rm -f a.out a.exe conftest
$ac_cv_exeext b.out
2621 ac_clean_files
=$ac_clean_files_save
2622 # Check the compiler produces executables we can run. If not, either
2623 # the compiler is broken, or we cross compile.
2624 echo "$as_me:$LINENO: checking whether we are cross compiling" >&5
2625 echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6
2626 echo "$as_me:$LINENO: result: $cross_compiling" >&5
2627 echo "${ECHO_T}$cross_compiling" >&6
2629 echo "$as_me:$LINENO: checking for suffix of executables" >&5
2630 echo $ECHO_N "checking for suffix of executables... $ECHO_C" >&6
2631 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
2632 (eval $ac_link) 2>&5
2634 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2635 (exit $ac_status); }; then
2636 # If both `conftest.exe' and `conftest' are `present' (well, observable)
2637 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
2638 # work properly (i.e., refer to `conftest.exe'), while it won't with
2640 for ac_file
in conftest.exe conftest conftest.
*; do
2641 test -f "$ac_file" ||
continue
2643 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg |
*.o |
*.obj
) ;;
2644 *.
* ) ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
2651 { { echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link
2652 See \`config.log' for more details." >&5
2653 echo "$as_me: error: cannot compute suffix of executables: cannot compile and link
2654 See \`config.log' for more details." >&2;}
2655 { (exit 1); exit 1; }; }
2658 rm -f conftest
$ac_cv_exeext
2659 echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
2660 echo "${ECHO_T}$ac_cv_exeext" >&6
2662 rm -f conftest.
$ac_ext
2663 EXEEXT
=$ac_cv_exeext
2665 echo "$as_me:$LINENO: checking for suffix of object files" >&5
2666 echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6
2667 if test "${ac_cv_objext+set}" = set; then
2668 echo $ECHO_N "(cached) $ECHO_C" >&6
2670 cat >conftest.
$ac_ext <<_ACEOF
2673 cat confdefs.h
>>conftest.
$ac_ext
2674 cat >>conftest.
$ac_ext <<_ACEOF
2675 /* end confdefs.h. */
2685 rm -f conftest.o conftest.obj
2686 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2687 (eval $ac_compile) 2>&5
2689 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2690 (exit $ac_status); }; then
2691 for ac_file
in `(ls conftest.o conftest.obj; ls conftest.*) 2>/dev/null`; do
2693 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg
) ;;
2694 *) ac_cv_objext
=`expr "$ac_file" : '.*\.\(.*\)'`
2699 echo "$as_me: failed program was:" >&5
2700 sed 's/^/| /' conftest.
$ac_ext >&5
2702 { { echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile
2703 See \`config.log' for more details." >&5
2704 echo "$as_me: error: cannot compute suffix of object files: cannot compile
2705 See \`config.log' for more details." >&2;}
2706 { (exit 1); exit 1; }; }
2709 rm -f conftest.
$ac_cv_objext conftest.
$ac_ext
2711 echo "$as_me:$LINENO: result: $ac_cv_objext" >&5
2712 echo "${ECHO_T}$ac_cv_objext" >&6
2713 OBJEXT
=$ac_cv_objext
2715 echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
2716 echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6
2717 if test "${ac_cv_c_compiler_gnu+set}" = set; then
2718 echo $ECHO_N "(cached) $ECHO_C" >&6
2720 cat >conftest.
$ac_ext <<_ACEOF
2723 cat confdefs.h
>>conftest.
$ac_ext
2724 cat >>conftest.
$ac_ext <<_ACEOF
2725 /* end confdefs.h. */
2738 rm -f conftest.
$ac_objext
2739 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2740 (eval $ac_compile) 2>conftest.er1
2742 grep -v '^ *+' conftest.er1
>conftest.err
2744 cat conftest.err
>&5
2745 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2746 (exit $ac_status); } &&
2747 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
2748 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2751 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2752 (exit $ac_status); }; } &&
2753 { ac_try
='test -s conftest.$ac_objext'
2754 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2757 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2758 (exit $ac_status); }; }; then
2761 echo "$as_me: failed program was:" >&5
2762 sed 's/^/| /' conftest.
$ac_ext >&5
2766 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
2767 ac_cv_c_compiler_gnu
=$ac_compiler_gnu
2770 echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
2771 echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6
2772 GCC
=`test $ac_compiler_gnu = yes && echo yes`
2773 ac_test_CFLAGS
=${CFLAGS+set}
2774 ac_save_CFLAGS
=$CFLAGS
2776 echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
2777 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6
2778 if test "${ac_cv_prog_cc_g+set}" = set; then
2779 echo $ECHO_N "(cached) $ECHO_C" >&6
2781 cat >conftest.
$ac_ext <<_ACEOF
2784 cat confdefs.h
>>conftest.
$ac_ext
2785 cat >>conftest.
$ac_ext <<_ACEOF
2786 /* end confdefs.h. */
2796 rm -f conftest.
$ac_objext
2797 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2798 (eval $ac_compile) 2>conftest.er1
2800 grep -v '^ *+' conftest.er1
>conftest.err
2802 cat conftest.err
>&5
2803 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2804 (exit $ac_status); } &&
2805 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
2806 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2809 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2810 (exit $ac_status); }; } &&
2811 { ac_try
='test -s conftest.$ac_objext'
2812 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2815 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2816 (exit $ac_status); }; }; then
2819 echo "$as_me: failed program was:" >&5
2820 sed 's/^/| /' conftest.
$ac_ext >&5
2824 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
2826 echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
2827 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6
2828 if test "$ac_test_CFLAGS" = set; then
2829 CFLAGS
=$ac_save_CFLAGS
2830 elif test $ac_cv_prog_cc_g = yes; then
2831 if test "$GCC" = yes; then
2837 if test "$GCC" = yes; then
2843 echo "$as_me:$LINENO: checking for $CC option to accept ANSI C" >&5
2844 echo $ECHO_N "checking for $CC option to accept ANSI C... $ECHO_C" >&6
2845 if test "${ac_cv_prog_cc_stdc+set}" = set; then
2846 echo $ECHO_N "(cached) $ECHO_C" >&6
2848 ac_cv_prog_cc_stdc
=no
2850 cat >conftest.
$ac_ext <<_ACEOF
2853 cat confdefs.h
>>conftest.
$ac_ext
2854 cat >>conftest.
$ac_ext <<_ACEOF
2855 /* end confdefs.h. */
2858 #include <sys/types.h>
2859 #include <sys/stat.h>
2860 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
2861 struct buf { int x; };
2862 FILE * (*rcsopen) (struct buf *, struct stat *, int);
2863 static char *e (p, i)
2869 static char *f (char * (*g) (char **, int), char **p, ...)
2874 s = g (p, va_arg (v,int));
2879 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
2880 function prototypes and stuff, but not '\xHH' hex character constants.
2881 These don't provoke an error unfortunately, instead are silently treated
2882 as 'x'. The following induces an error, until -std1 is added to get
2883 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
2884 array size at least. It's necessary to write '\x00'==0 to get something
2885 that's true only with -std1. */
2886 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
2888 int test (int i, double x);
2889 struct s1 {int (*f) (int a);};
2890 struct s2 {int (*f) (double a);};
2891 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
2897 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
2902 # Don't try gcc -ansi; that turns off useful extensions and
2903 # breaks some systems' header files.
2904 # AIX -qlanglvl=ansi
2905 # Ultrix and OSF/1 -std1
2906 # HP-UX 10.20 and later -Ae
2907 # HP-UX older versions -Aa -D_HPUX_SOURCE
2908 # SVR4 -Xc -D__EXTENSIONS__
2909 for ac_arg
in "" -qlanglvl=ansi
-std1 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
2911 CC
="$ac_save_CC $ac_arg"
2912 rm -f conftest.
$ac_objext
2913 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2914 (eval $ac_compile) 2>conftest.er1
2916 grep -v '^ *+' conftest.er1
>conftest.err
2918 cat conftest.err
>&5
2919 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2920 (exit $ac_status); } &&
2921 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
2922 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2925 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2926 (exit $ac_status); }; } &&
2927 { ac_try
='test -s conftest.$ac_objext'
2928 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2931 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2932 (exit $ac_status); }; }; then
2933 ac_cv_prog_cc_stdc
=$ac_arg
2936 echo "$as_me: failed program was:" >&5
2937 sed 's/^/| /' conftest.
$ac_ext >&5
2940 rm -f conftest.err conftest.
$ac_objext
2942 rm -f conftest.
$ac_ext conftest.
$ac_objext
2947 case "x$ac_cv_prog_cc_stdc" in
2949 echo "$as_me:$LINENO: result: none needed" >&5
2950 echo "${ECHO_T}none needed" >&6 ;;
2952 echo "$as_me:$LINENO: result: $ac_cv_prog_cc_stdc" >&5
2953 echo "${ECHO_T}$ac_cv_prog_cc_stdc" >&6
2954 CC
="$CC $ac_cv_prog_cc_stdc" ;;
2957 # Some people use a C++ compiler to compile C. Since we use `exit',
2958 # in C++ we need to declare it. In case someone uses the same compiler
2959 # for both compiling C and C++ we need to have the C++ compiler decide
2960 # the declaration of exit, since it's the most demanding environment.
2961 cat >conftest.
$ac_ext <<_ACEOF
2966 rm -f conftest.
$ac_objext
2967 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2968 (eval $ac_compile) 2>conftest.er1
2970 grep -v '^ *+' conftest.er1
>conftest.err
2972 cat conftest.err
>&5
2973 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2974 (exit $ac_status); } &&
2975 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
2976 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2979 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2980 (exit $ac_status); }; } &&
2981 { ac_try
='test -s conftest.$ac_objext'
2982 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2985 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2986 (exit $ac_status); }; }; then
2987 for ac_declaration
in \
2989 'extern "C" void std::exit (int) throw (); using std::exit;' \
2990 'extern "C" void std::exit (int); using std::exit;' \
2991 'extern "C" void exit (int) throw ();' \
2992 'extern "C" void exit (int);' \
2995 cat >conftest.
$ac_ext <<_ACEOF
2998 cat confdefs.h
>>conftest.
$ac_ext
2999 cat >>conftest.
$ac_ext <<_ACEOF
3000 /* end confdefs.h. */
3011 rm -f conftest.
$ac_objext
3012 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3013 (eval $ac_compile) 2>conftest.er1
3015 grep -v '^ *+' conftest.er1
>conftest.err
3017 cat conftest.err
>&5
3018 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3019 (exit $ac_status); } &&
3020 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
3021 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3024 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3025 (exit $ac_status); }; } &&
3026 { ac_try
='test -s conftest.$ac_objext'
3027 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3030 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3031 (exit $ac_status); }; }; then
3034 echo "$as_me: failed program was:" >&5
3035 sed 's/^/| /' conftest.
$ac_ext >&5
3039 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
3040 cat >conftest.
$ac_ext <<_ACEOF
3043 cat confdefs.h
>>conftest.
$ac_ext
3044 cat >>conftest.
$ac_ext <<_ACEOF
3045 /* end confdefs.h. */
3055 rm -f conftest.
$ac_objext
3056 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3057 (eval $ac_compile) 2>conftest.er1
3059 grep -v '^ *+' conftest.er1
>conftest.err
3061 cat conftest.err
>&5
3062 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3063 (exit $ac_status); } &&
3064 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
3065 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3068 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3069 (exit $ac_status); }; } &&
3070 { ac_try
='test -s conftest.$ac_objext'
3071 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3074 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3075 (exit $ac_status); }; }; then
3078 echo "$as_me: failed program was:" >&5
3079 sed 's/^/| /' conftest.
$ac_ext >&5
3082 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
3085 if test -n "$ac_declaration"; then
3086 echo '#ifdef __cplusplus' >>confdefs.h
3087 echo $ac_declaration >>confdefs.h
3088 echo '#endif' >>confdefs.h
3092 echo "$as_me: failed program was:" >&5
3093 sed 's/^/| /' conftest.
$ac_ext >&5
3096 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
3098 ac_cpp
='$CPP $CPPFLAGS'
3099 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3100 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3101 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
3103 depcc
="$CC" am_compiler_list
=
3105 echo "$as_me:$LINENO: checking dependency style of $depcc" >&5
3106 echo $ECHO_N "checking dependency style of $depcc... $ECHO_C" >&6
3107 if test "${am_cv_CC_dependencies_compiler_type+set}" = set; then
3108 echo $ECHO_N "(cached) $ECHO_C" >&6
3110 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
3111 # We make a subdir and do the tests there. Otherwise we can end up
3112 # making bogus files that we don't know about and never remove. For
3113 # instance it was reported that on HP-UX the gcc test will end up
3114 # making a dummy file named `D' -- because `-MD' means `put the output
3117 # Copy depcomp to subdir because otherwise we won't find it if we're
3118 # using a relative directory.
3119 cp "$am_depcomp" conftest.dir
3121 # We will build objects and dependencies in a subdirectory because
3122 # it helps to detect inapplicable dependency modes. For instance
3123 # both Tru64's cc and ICC support -MD to output dependencies as a
3124 # side effect of compilation, but ICC will put the dependencies in
3125 # the current directory while Tru64 will put them in the object
3129 am_cv_CC_dependencies_compiler_type
=none
3130 if test "$am_compiler_list" = ""; then
3131 am_compiler_list
=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
3133 for depmode
in $am_compiler_list; do
3134 # Setup a source with many dependencies, because some compilers
3135 # like to wrap large dependency lists on column 80 (with \), and
3136 # we should not choose a depcomp mode which is confused by this.
3138 # We need to recreate these files for each test, as the compiler may
3139 # overwrite some of them when testing with obscure command lines.
3140 # This happens at least with the AIX C compiler.
3142 for i
in 1 2 3 4 5 6; do
3143 echo '#include "conftst'$i'.h"' >> sub
/conftest.c
3144 # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
3145 # Solaris 8's {/usr,}/bin/sh.
3146 touch sub
/conftst
$i.h
3148 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
3152 # after this tag, mechanisms are not by side-effect, so they'll
3153 # only be used when explicitly requested
3154 if test "x$enable_dependency_tracking" = xyes
; then
3162 # We check with `-c' and `-o' for the sake of the "dashmstdout"
3163 # mode. It turns out that the SunPro C++ compiler does not properly
3164 # handle `-M -o', and we need to detect this.
3165 if depmode
=$depmode \
3166 source=sub
/conftest.c object
=sub
/conftest.
${OBJEXT-o} \
3167 depfile
=sub
/conftest.Po tmpdepfile
=sub
/conftest.TPo \
3168 $SHELL .
/depcomp
$depcc -c -o sub
/conftest.
${OBJEXT-o} sub
/conftest.c \
3169 >/dev
/null
2>conftest.err
&&
3170 grep sub
/conftst6.h sub
/conftest.Po
> /dev
/null
2>&1 &&
3171 grep sub
/conftest.
${OBJEXT-o} sub
/conftest.Po
> /dev
/null
2>&1 &&
3172 ${MAKE-make} -s -f confmf
> /dev
/null
2>&1; then
3173 # icc doesn't choke on unknown options, it will just issue warnings
3174 # or remarks (even with -Werror). So we grep stderr for any message
3175 # that says an option was ignored or not supported.
3176 # When given -MP, icc 7.0 and 7.1 complain thusly:
3177 # icc: Command line warning: ignoring option '-M'; no argument required
3178 # The diagnosis changed in icc 8.0:
3179 # icc: Command line remark: option '-MP' not supported
3180 if (grep 'ignoring option' conftest.err ||
3181 grep 'not supported' conftest.err
) >/dev
/null
2>&1; then :; else
3182 am_cv_CC_dependencies_compiler_type
=$depmode
3191 am_cv_CC_dependencies_compiler_type
=none
3195 echo "$as_me:$LINENO: result: $am_cv_CC_dependencies_compiler_type" >&5
3196 echo "${ECHO_T}$am_cv_CC_dependencies_compiler_type" >&6
3197 CCDEPMODE
=depmode
=$am_cv_CC_dependencies_compiler_type
3202 test "x$enable_dependency_tracking" != xno \
3203 && test "$am_cv_CC_dependencies_compiler_type" = gcc3
; then
3205 am__fastdepCC_FALSE
='#'
3207 am__fastdepCC_TRUE
='#'
3208 am__fastdepCC_FALSE
=
3214 ac_cpp
='$CPP $CPPFLAGS'
3215 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3216 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3217 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
3218 echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5
3219 echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6
3220 # On Suns, sometimes $CPP names a directory.
3221 if test -n "$CPP" && test -d "$CPP"; then
3224 if test -z "$CPP"; then
3225 if test "${ac_cv_prog_CPP+set}" = set; then
3226 echo $ECHO_N "(cached) $ECHO_C" >&6
3228 # Double quotes because CPP needs to be expanded
3229 for CPP
in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
3232 for ac_c_preproc_warn_flag
in '' yes
3234 # Use a header file that comes with gcc, so configuring glibc
3235 # with a fresh cross-compiler works.
3236 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
3237 # <limits.h> exists even on freestanding compilers.
3238 # On the NeXT, cc -E runs the code through the compiler's parser,
3239 # not just through cpp. "Syntax error" is here to catch this case.
3240 cat >conftest.
$ac_ext <<_ACEOF
3243 cat confdefs.h
>>conftest.
$ac_ext
3244 cat >>conftest.
$ac_ext <<_ACEOF
3245 /* end confdefs.h. */
3247 # include <limits.h>
3249 # include <assert.h>
3253 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
3254 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
3256 grep -v '^ *+' conftest.er1
>conftest.err
3258 cat conftest.err
>&5
3259 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3260 (exit $ac_status); } >/dev
/null
; then
3261 if test -s conftest.err
; then
3262 ac_cpp_err
=$ac_c_preproc_warn_flag
3263 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
3270 if test -z "$ac_cpp_err"; then
3273 echo "$as_me: failed program was:" >&5
3274 sed 's/^/| /' conftest.
$ac_ext >&5
3276 # Broken: fails on valid input.
3279 rm -f conftest.err conftest.
$ac_ext
3281 # OK, works on sane cases. Now check whether non-existent headers
3282 # can be detected and how.
3283 cat >conftest.
$ac_ext <<_ACEOF
3286 cat confdefs.h
>>conftest.
$ac_ext
3287 cat >>conftest.
$ac_ext <<_ACEOF
3288 /* end confdefs.h. */
3289 #include <ac_nonexistent.h>
3291 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
3292 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
3294 grep -v '^ *+' conftest.er1
>conftest.err
3296 cat conftest.err
>&5
3297 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3298 (exit $ac_status); } >/dev
/null
; then
3299 if test -s conftest.err
; then
3300 ac_cpp_err
=$ac_c_preproc_warn_flag
3301 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
3308 if test -z "$ac_cpp_err"; then
3309 # Broken: success on invalid input.
3312 echo "$as_me: failed program was:" >&5
3313 sed 's/^/| /' conftest.
$ac_ext >&5
3315 # Passes both tests.
3319 rm -f conftest.err conftest.
$ac_ext
3322 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
3323 rm -f conftest.err conftest.
$ac_ext
3324 if $ac_preproc_ok; then
3336 echo "$as_me:$LINENO: result: $CPP" >&5
3337 echo "${ECHO_T}$CPP" >&6
3339 for ac_c_preproc_warn_flag
in '' yes
3341 # Use a header file that comes with gcc, so configuring glibc
3342 # with a fresh cross-compiler works.
3343 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
3344 # <limits.h> exists even on freestanding compilers.
3345 # On the NeXT, cc -E runs the code through the compiler's parser,
3346 # not just through cpp. "Syntax error" is here to catch this case.
3347 cat >conftest.
$ac_ext <<_ACEOF
3350 cat confdefs.h
>>conftest.
$ac_ext
3351 cat >>conftest.
$ac_ext <<_ACEOF
3352 /* end confdefs.h. */
3354 # include <limits.h>
3356 # include <assert.h>
3360 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
3361 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
3363 grep -v '^ *+' conftest.er1
>conftest.err
3365 cat conftest.err
>&5
3366 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3367 (exit $ac_status); } >/dev
/null
; then
3368 if test -s conftest.err
; then
3369 ac_cpp_err
=$ac_c_preproc_warn_flag
3370 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
3377 if test -z "$ac_cpp_err"; then
3380 echo "$as_me: failed program was:" >&5
3381 sed 's/^/| /' conftest.
$ac_ext >&5
3383 # Broken: fails on valid input.
3386 rm -f conftest.err conftest.
$ac_ext
3388 # OK, works on sane cases. Now check whether non-existent headers
3389 # can be detected and how.
3390 cat >conftest.
$ac_ext <<_ACEOF
3393 cat confdefs.h
>>conftest.
$ac_ext
3394 cat >>conftest.
$ac_ext <<_ACEOF
3395 /* end confdefs.h. */
3396 #include <ac_nonexistent.h>
3398 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
3399 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
3401 grep -v '^ *+' conftest.er1
>conftest.err
3403 cat conftest.err
>&5
3404 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3405 (exit $ac_status); } >/dev
/null
; then
3406 if test -s conftest.err
; then
3407 ac_cpp_err
=$ac_c_preproc_warn_flag
3408 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
3415 if test -z "$ac_cpp_err"; then
3416 # Broken: success on invalid input.
3419 echo "$as_me: failed program was:" >&5
3420 sed 's/^/| /' conftest.
$ac_ext >&5
3422 # Passes both tests.
3426 rm -f conftest.err conftest.
$ac_ext
3429 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
3430 rm -f conftest.err conftest.
$ac_ext
3431 if $ac_preproc_ok; then
3434 { { echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check
3435 See \`config.log' for more details." >&5
3436 echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check
3437 See \`config.log' for more details." >&2;}
3438 { (exit 1); exit 1; }; }
3442 ac_cpp
='$CPP $CPPFLAGS'
3443 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3444 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3445 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
3448 echo "$as_me:$LINENO: checking for egrep" >&5
3449 echo $ECHO_N "checking for egrep... $ECHO_C" >&6
3450 if test "${ac_cv_prog_egrep+set}" = set; then
3451 echo $ECHO_N "(cached) $ECHO_C" >&6
3453 if echo a |
(grep -E '(a|b)') >/dev
/null
2>&1
3454 then ac_cv_prog_egrep
='grep -E'
3455 else ac_cv_prog_egrep
='egrep'
3458 echo "$as_me:$LINENO: result: $ac_cv_prog_egrep" >&5
3459 echo "${ECHO_T}$ac_cv_prog_egrep" >&6
3460 EGREP
=$ac_cv_prog_egrep
3463 echo "$as_me:$LINENO: checking for ANSI C header files" >&5
3464 echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6
3465 if test "${ac_cv_header_stdc+set}" = set; then
3466 echo $ECHO_N "(cached) $ECHO_C" >&6
3468 cat >conftest.
$ac_ext <<_ACEOF
3471 cat confdefs.h
>>conftest.
$ac_ext
3472 cat >>conftest.
$ac_ext <<_ACEOF
3473 /* end confdefs.h. */
3487 rm -f conftest.
$ac_objext
3488 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3489 (eval $ac_compile) 2>conftest.er1
3491 grep -v '^ *+' conftest.er1
>conftest.err
3493 cat conftest.err
>&5
3494 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3495 (exit $ac_status); } &&
3496 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
3497 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3500 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3501 (exit $ac_status); }; } &&
3502 { ac_try
='test -s conftest.$ac_objext'
3503 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3506 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3507 (exit $ac_status); }; }; then
3508 ac_cv_header_stdc
=yes
3510 echo "$as_me: failed program was:" >&5
3511 sed 's/^/| /' conftest.
$ac_ext >&5
3513 ac_cv_header_stdc
=no
3515 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
3517 if test $ac_cv_header_stdc = yes; then
3518 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
3519 cat >conftest.
$ac_ext <<_ACEOF
3522 cat confdefs.h
>>conftest.
$ac_ext
3523 cat >>conftest.
$ac_ext <<_ACEOF
3524 /* end confdefs.h. */
3528 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
3529 $EGREP "memchr" >/dev
/null
2>&1; then
3532 ac_cv_header_stdc
=no
3538 if test $ac_cv_header_stdc = yes; then
3539 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
3540 cat >conftest.
$ac_ext <<_ACEOF
3543 cat confdefs.h
>>conftest.
$ac_ext
3544 cat >>conftest.
$ac_ext <<_ACEOF
3545 /* end confdefs.h. */
3549 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
3550 $EGREP "free" >/dev
/null
2>&1; then
3553 ac_cv_header_stdc
=no
3559 if test $ac_cv_header_stdc = yes; then
3560 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
3561 if test "$cross_compiling" = yes; then
3564 cat >conftest.
$ac_ext <<_ACEOF
3567 cat confdefs.h
>>conftest.
$ac_ext
3568 cat >>conftest.
$ac_ext <<_ACEOF
3569 /* end confdefs.h. */
3571 #if ((' ' & 0x0FF) == 0x020)
3572 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
3573 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
3575 # define ISLOWER(c) \
3576 (('a' <= (c) && (c) <= 'i') \
3577 || ('j' <= (c) && (c) <= 'r') \
3578 || ('s' <= (c) && (c) <= 'z'))
3579 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
3582 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
3587 for (i = 0; i < 256; i++)
3588 if (XOR (islower (i), ISLOWER (i))
3589 || toupper (i) != TOUPPER (i))
3594 rm -f conftest
$ac_exeext
3595 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
3596 (eval $ac_link) 2>&5
3598 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3599 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
3600 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3603 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3604 (exit $ac_status); }; }; then
3607 echo "$as_me: program exited with status $ac_status" >&5
3608 echo "$as_me: failed program was:" >&5
3609 sed 's/^/| /' conftest.
$ac_ext >&5
3612 ac_cv_header_stdc
=no
3614 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
3618 echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
3619 echo "${ECHO_T}$ac_cv_header_stdc" >&6
3620 if test $ac_cv_header_stdc = yes; then
3622 cat >>confdefs.h
<<\_ACEOF
3623 #define STDC_HEADERS 1
3628 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
3638 for ac_header
in sys
/types.h sys
/stat.h stdlib.h string.h memory.h
strings.h \
3639 inttypes.h stdint.h unistd.h
3641 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
3642 echo "$as_me:$LINENO: checking for $ac_header" >&5
3643 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
3644 if eval "test \"\${$as_ac_Header+set}\" = set"; then
3645 echo $ECHO_N "(cached) $ECHO_C" >&6
3647 cat >conftest.
$ac_ext <<_ACEOF
3650 cat confdefs.h
>>conftest.
$ac_ext
3651 cat >>conftest.
$ac_ext <<_ACEOF
3652 /* end confdefs.h. */
3653 $ac_includes_default
3655 #include <$ac_header>
3657 rm -f conftest.
$ac_objext
3658 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3659 (eval $ac_compile) 2>conftest.er1
3661 grep -v '^ *+' conftest.er1
>conftest.err
3663 cat conftest.err
>&5
3664 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3665 (exit $ac_status); } &&
3666 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
3667 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3670 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3671 (exit $ac_status); }; } &&
3672 { ac_try
='test -s conftest.$ac_objext'
3673 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3676 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3677 (exit $ac_status); }; }; then
3678 eval "$as_ac_Header=yes"
3680 echo "$as_me: failed program was:" >&5
3681 sed 's/^/| /' conftest.
$ac_ext >&5
3683 eval "$as_ac_Header=no"
3685 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
3687 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
3688 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
3689 if test `eval echo '${'$as_ac_Header'}'` = yes; then
3690 cat >>confdefs.h
<<_ACEOF
3691 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
3699 # Check whether --enable-alsa or --disable-alsa was given.
3700 if test "${enable_alsa+set}" = set; then
3701 enableval
="$enable_alsa"
3702 case "${enableval}" in
3703 yes) COMPILE_ALSA
=yes ;;
3704 no
) COMPILE_ALSA
=no
;;
3705 *) COMPILE_ALSA
=yes ;;
3709 for ac_header
in alsa
/asoundlib.h
3711 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
3712 if eval "test \"\${$as_ac_Header+set}\" = set"; then
3713 echo "$as_me:$LINENO: checking for $ac_header" >&5
3714 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
3715 if eval "test \"\${$as_ac_Header+set}\" = set"; then
3716 echo $ECHO_N "(cached) $ECHO_C" >&6
3718 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
3719 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
3721 # Is the header compilable?
3722 echo "$as_me:$LINENO: checking $ac_header usability" >&5
3723 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
3724 cat >conftest.
$ac_ext <<_ACEOF
3727 cat confdefs.h
>>conftest.
$ac_ext
3728 cat >>conftest.
$ac_ext <<_ACEOF
3729 /* end confdefs.h. */
3730 $ac_includes_default
3731 #include <$ac_header>
3733 rm -f conftest.
$ac_objext
3734 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3735 (eval $ac_compile) 2>conftest.er1
3737 grep -v '^ *+' conftest.er1
>conftest.err
3739 cat conftest.err
>&5
3740 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3741 (exit $ac_status); } &&
3742 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
3743 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3746 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3747 (exit $ac_status); }; } &&
3748 { ac_try
='test -s conftest.$ac_objext'
3749 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3752 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3753 (exit $ac_status); }; }; then
3754 ac_header_compiler
=yes
3756 echo "$as_me: failed program was:" >&5
3757 sed 's/^/| /' conftest.
$ac_ext >&5
3759 ac_header_compiler
=no
3761 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
3762 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
3763 echo "${ECHO_T}$ac_header_compiler" >&6
3765 # Is the header present?
3766 echo "$as_me:$LINENO: checking $ac_header presence" >&5
3767 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
3768 cat >conftest.
$ac_ext <<_ACEOF
3771 cat confdefs.h
>>conftest.
$ac_ext
3772 cat >>conftest.
$ac_ext <<_ACEOF
3773 /* end confdefs.h. */
3774 #include <$ac_header>
3776 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
3777 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
3779 grep -v '^ *+' conftest.er1
>conftest.err
3781 cat conftest.err
>&5
3782 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3783 (exit $ac_status); } >/dev
/null
; then
3784 if test -s conftest.err
; then
3785 ac_cpp_err
=$ac_c_preproc_warn_flag
3786 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
3793 if test -z "$ac_cpp_err"; then
3794 ac_header_preproc
=yes
3796 echo "$as_me: failed program was:" >&5
3797 sed 's/^/| /' conftest.
$ac_ext >&5
3799 ac_header_preproc
=no
3801 rm -f conftest.err conftest.
$ac_ext
3802 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
3803 echo "${ECHO_T}$ac_header_preproc" >&6
3805 # So? What about this header?
3806 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
3808 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
3809 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
3810 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
3811 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
3812 ac_header_preproc
=yes
3815 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
3816 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
3817 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
3818 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
3819 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
3820 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
3821 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
3822 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
3823 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
3824 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
3825 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
3826 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
3829 ## -------------------------------- ##
3830 ## Report this to classpath@gnu.org ##
3831 ## -------------------------------- ##
3834 sed "s/^/$as_me: WARNING: /" >&2
3837 echo "$as_me:$LINENO: checking for $ac_header" >&5
3838 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
3839 if eval "test \"\${$as_ac_Header+set}\" = set"; then
3840 echo $ECHO_N "(cached) $ECHO_C" >&6
3842 eval "$as_ac_Header=\$ac_header_preproc"
3844 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
3845 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
3848 if test `eval echo '${'$as_ac_Header'}'` = yes; then
3849 cat >>confdefs.h
<<_ACEOF
3850 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
3852 echo "$as_me:$LINENO: checking for snd_seq_open in -lasound" >&5
3853 echo $ECHO_N "checking for snd_seq_open in -lasound... $ECHO_C" >&6
3854 if test "${ac_cv_lib_asound_snd_seq_open+set}" = set; then
3855 echo $ECHO_N "(cached) $ECHO_C" >&6
3857 ac_check_lib_save_LIBS
=$LIBS
3858 LIBS
="-lasound $LIBS"
3859 cat >conftest.
$ac_ext <<_ACEOF
3862 cat confdefs.h
>>conftest.
$ac_ext
3863 cat >>conftest.
$ac_ext <<_ACEOF
3864 /* end confdefs.h. */
3866 /* Override any gcc2 internal prototype to avoid an error. */
3870 /* We use char because int might match the return type of a gcc2
3871 builtin and then its argument prototype would still apply. */
3872 char snd_seq_open ();
3881 rm -f conftest.
$ac_objext conftest
$ac_exeext
3882 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
3883 (eval $ac_link) 2>conftest.er1
3885 grep -v '^ *+' conftest.er1
>conftest.err
3887 cat conftest.err
>&5
3888 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3889 (exit $ac_status); } &&
3890 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
3891 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3894 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3895 (exit $ac_status); }; } &&
3896 { ac_try
='test -s conftest$ac_exeext'
3897 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3900 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3901 (exit $ac_status); }; }; then
3902 ac_cv_lib_asound_snd_seq_open
=yes
3904 echo "$as_me: failed program was:" >&5
3905 sed 's/^/| /' conftest.
$ac_ext >&5
3907 ac_cv_lib_asound_snd_seq_open
=no
3909 rm -f conftest.err conftest.
$ac_objext \
3910 conftest
$ac_exeext conftest.
$ac_ext
3911 LIBS
=$ac_check_lib_save_LIBS
3913 echo "$as_me:$LINENO: result: $ac_cv_lib_asound_snd_seq_open" >&5
3914 echo "${ECHO_T}$ac_cv_lib_asound_snd_seq_open" >&6
3915 if test $ac_cv_lib_asound_snd_seq_open = yes; then
3930 if test "x${COMPILE_ALSA}" = xyes
; then
3931 CREATE_ALSA_LIBRARIES_TRUE
=
3932 CREATE_ALSA_LIBRARIES_FALSE
='#'
3934 CREATE_ALSA_LIBRARIES_TRUE
='#'
3935 CREATE_ALSA_LIBRARIES_FALSE
=
3939 # Check whether --enable-dssi or --disable-dssi was given.
3940 if test "${enable_dssi+set}" = set; then
3941 enableval
="$enable_dssi"
3942 case "${enableval}" in
3943 yes) COMPILE_DSSI
=yes ;;
3944 no
) COMPILE_DSSI
=no
;;
3945 *) COMPILE_DSSI
=yes ;;
3949 for ac_header
in dssi.h
3951 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
3952 if eval "test \"\${$as_ac_Header+set}\" = set"; then
3953 echo "$as_me:$LINENO: checking for $ac_header" >&5
3954 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
3955 if eval "test \"\${$as_ac_Header+set}\" = set"; then
3956 echo $ECHO_N "(cached) $ECHO_C" >&6
3958 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
3959 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
3961 # Is the header compilable?
3962 echo "$as_me:$LINENO: checking $ac_header usability" >&5
3963 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
3964 cat >conftest.
$ac_ext <<_ACEOF
3967 cat confdefs.h
>>conftest.
$ac_ext
3968 cat >>conftest.
$ac_ext <<_ACEOF
3969 /* end confdefs.h. */
3970 $ac_includes_default
3971 #include <$ac_header>
3973 rm -f conftest.
$ac_objext
3974 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3975 (eval $ac_compile) 2>conftest.er1
3977 grep -v '^ *+' conftest.er1
>conftest.err
3979 cat conftest.err
>&5
3980 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3981 (exit $ac_status); } &&
3982 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
3983 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3986 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3987 (exit $ac_status); }; } &&
3988 { ac_try
='test -s conftest.$ac_objext'
3989 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3992 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3993 (exit $ac_status); }; }; then
3994 ac_header_compiler
=yes
3996 echo "$as_me: failed program was:" >&5
3997 sed 's/^/| /' conftest.
$ac_ext >&5
3999 ac_header_compiler
=no
4001 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
4002 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
4003 echo "${ECHO_T}$ac_header_compiler" >&6
4005 # Is the header present?
4006 echo "$as_me:$LINENO: checking $ac_header presence" >&5
4007 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
4008 cat >conftest.
$ac_ext <<_ACEOF
4011 cat confdefs.h
>>conftest.
$ac_ext
4012 cat >>conftest.
$ac_ext <<_ACEOF
4013 /* end confdefs.h. */
4014 #include <$ac_header>
4016 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
4017 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
4019 grep -v '^ *+' conftest.er1
>conftest.err
4021 cat conftest.err
>&5
4022 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4023 (exit $ac_status); } >/dev
/null
; then
4024 if test -s conftest.err
; then
4025 ac_cpp_err
=$ac_c_preproc_warn_flag
4026 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
4033 if test -z "$ac_cpp_err"; then
4034 ac_header_preproc
=yes
4036 echo "$as_me: failed program was:" >&5
4037 sed 's/^/| /' conftest.
$ac_ext >&5
4039 ac_header_preproc
=no
4041 rm -f conftest.err conftest.
$ac_ext
4042 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
4043 echo "${ECHO_T}$ac_header_preproc" >&6
4045 # So? What about this header?
4046 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
4048 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
4049 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
4050 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
4051 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
4052 ac_header_preproc
=yes
4055 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
4056 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
4057 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
4058 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
4059 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
4060 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
4061 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
4062 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
4063 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
4064 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
4065 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
4066 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
4069 ## -------------------------------- ##
4070 ## Report this to classpath@gnu.org ##
4071 ## -------------------------------- ##
4074 sed "s/^/$as_me: WARNING: /" >&2
4077 echo "$as_me:$LINENO: checking for $ac_header" >&5
4078 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
4079 if eval "test \"\${$as_ac_Header+set}\" = set"; then
4080 echo $ECHO_N "(cached) $ECHO_C" >&6
4082 eval "$as_ac_Header=\$ac_header_preproc"
4084 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
4085 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
4088 if test `eval echo '${'$as_ac_Header'}'` = yes; then
4089 cat >>confdefs.h
<<_ACEOF
4090 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
4102 if test "x${COMPILE_DSSI}" = xyes
; then
4103 CREATE_DSSI_LIBRARIES_TRUE
=
4104 CREATE_DSSI_LIBRARIES_FALSE
='#'
4106 CREATE_DSSI_LIBRARIES_TRUE
='#'
4107 CREATE_DSSI_LIBRARIES_FALSE
=
4111 # Check whether --enable-gtk-peer or --disable-gtk-peer was given.
4112 if test "${enable_gtk_peer+set}" = set; then
4113 enableval
="$enable_gtk_peer"
4114 case "${enableval}" in
4115 yes) COMPILE_GTK_PEER
=yes ;;
4116 no
) COMPILE_GTK_PEER
=no
;;
4117 *) COMPILE_GTK_PEER
=yes ;;
4120 COMPILE_GTK_PEER
=yes
4124 if test "x${COMPILE_GTK_PEER}" = xyes
; then
4125 CREATE_GTK_PEER_LIBRARIES_TRUE
=
4126 CREATE_GTK_PEER_LIBRARIES_FALSE
='#'
4128 CREATE_GTK_PEER_LIBRARIES_TRUE
='#'
4129 CREATE_GTK_PEER_LIBRARIES_FALSE
=
4133 # Check whether --enable-gtk-peers or --disable-gtk-peers was given.
4134 if test "${enable_gtk_peers+set}" = set; then
4135 enableval
="$enable_gtk_peers"
4136 { { echo "$as_me:$LINENO: error: No --enable-gtk-peers (or --disable-gtk-peers) option; you want --enable-gtk-peer" >&5
4137 echo "$as_me: error: No --enable-gtk-peers (or --disable-gtk-peers) option; you want --enable-gtk-peer" >&2;}
4138 { (exit 1); exit 1; }; }
4141 # Check whether --enable-gtk-cairo or --disable-gtk-cairo was given.
4142 if test "${enable_gtk_cairo+set}" = set; then
4143 enableval
="$enable_gtk_cairo"
4144 case "${enableval}" in
4145 yes) GTK_CAIRO_ENABLED
=true
;;
4146 no
) GTK_CAIRO_ENABLED
=false
;;
4147 *) GTK_CAIRO_ENABLED
=true
;;
4150 GTK_CAIRO_ENABLED
=false
4153 if test "x${GTK_CAIRO_ENABLED}" = xtrue
; then
4155 cat >>confdefs.h
<<\_ACEOF
4162 if test "x${GTK_CAIRO_ENABLED}" = xtrue
; then
4171 # Check whether --enable-qt-peer or --disable-qt-peer was given.
4172 if test "${enable_qt_peer+set}" = set; then
4173 enableval
="$enable_qt_peer"
4174 case "${enableval}" in
4175 yes) COMPILE_QT_PEER
=yes ;;
4176 no
) COMPILE_QT_PEER
=no
;;
4177 *) COMPILE_QT_PEER
=yes ;;
4184 if test "x${COMPILE_QT_PEER}" = xyes
; then
4185 CREATE_QT_PEER_LIBRARIES_TRUE
=
4186 CREATE_QT_PEER_LIBRARIES_FALSE
='#'
4188 CREATE_QT_PEER_LIBRARIES_TRUE
='#'
4189 CREATE_QT_PEER_LIBRARIES_FALSE
=
4195 # Check whether --with-native-libdir or --without-native-libdir was given.
4196 if test "${with_native_libdir+set}" = set; then
4197 withval
="$with_native_libdir"
4199 nativelibdir
=${withval}
4203 nativelibdir
='${libdir}/${PACKAGE}'
4210 # Check whether --with-glibj-dir or --without-glibj-dir was given.
4211 if test "${with_glibj_dir+set}" = set; then
4212 withval
="$with_glibj_dir"
4218 glibjdir
='${datadir}/${PACKAGE}'
4224 # Check whether --enable-regen-headers or --disable-regen-headers was given.
4225 if test "${enable_regen_headers+set}" = set; then
4226 enableval
="$enable_regen_headers"
4227 case "${enableval}" in
4228 yes) REGENERATE_JNI_HEADERS
=yes ;;
4229 no
) REGENERATE_JNI_HEADERS
=no
;;
4230 *) REGENERATE_JNI_HEADERS
=no
;;
4233 REGENERATE_JNI_HEADERS
=no
4237 if test "x${REGENERATE_JNI_HEADERS}" = xyes
; then
4238 CREATE_JNI_HEADERS_TRUE
=
4239 CREATE_JNI_HEADERS_FALSE
='#'
4241 CREATE_JNI_HEADERS_TRUE
='#'
4242 CREATE_JNI_HEADERS_FALSE
=
4246 echo "$as_me:$LINENO: checking whether ln -s works" >&5
4247 echo $ECHO_N "checking whether ln -s works... $ECHO_C" >&6
4249 if test "$LN_S" = "ln -s"; then
4250 echo "$as_me:$LINENO: result: yes" >&5
4251 echo "${ECHO_T}yes" >&6
4253 echo "$as_me:$LINENO: result: no, using $LN_S" >&5
4254 echo "${ECHO_T}no, using $LN_S" >&6
4257 # Find a good install program. We prefer a C program (faster),
4258 # so one script is as good as another. But avoid the broken or
4259 # incompatible versions:
4260 # SysV /etc/install, /usr/sbin/install
4261 # SunOS /usr/etc/install
4262 # IRIX /sbin/install
4264 # AmigaOS /C/install, which installs bootblocks on floppy discs
4265 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
4266 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
4267 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
4268 # OS/2's system install, which has a completely different semantic
4269 # ./install, which can be erroneously created by make from ./install.sh.
4270 echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
4271 echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6
4272 if test -z "$INSTALL"; then
4273 if test "${ac_cv_path_install+set}" = set; then
4274 echo $ECHO_N "(cached) $ECHO_C" >&6
4276 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4280 test -z "$as_dir" && as_dir
=.
4281 # Account for people who put trailing slashes in PATH elements.
4283 .
/ | .
// |
/cC
/* | \
4284 /etc
/* |
/usr
/sbin
/* |
/usr
/etc
/* |
/sbin
/* |
/usr
/afsws
/bin
/* | \
4285 ?
:\\/os2
\\/install\\/* | ?
:\\/OS2
\\/INSTALL
\\/* | \
4288 # OSF1 and SCO ODT 3.0 have their own names for install.
4289 # Don't use installbsd from OSF since it installs stuff as root
4291 for ac_prog
in ginstall scoinst
install; do
4292 for ac_exec_ext
in '' $ac_executable_extensions; do
4293 if $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
4294 if test $ac_prog = install &&
4295 grep dspmsg
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
4296 # AIX install. It has an incompatible calling convention.
4298 elif test $ac_prog = install &&
4299 grep pwplus
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
4300 # program-specific install script used by HP pwplus--don't use.
4303 ac_cv_path_install
="$as_dir/$ac_prog$ac_exec_ext -c"
4315 if test "${ac_cv_path_install+set}" = set; then
4316 INSTALL
=$ac_cv_path_install
4318 # As a last resort, use the slow shell script. We don't cache a
4319 # path for INSTALL within a source directory, because that will
4320 # break other packages using the cache if that directory is
4321 # removed, or if the path is relative.
4322 INSTALL
=$ac_install_sh
4325 echo "$as_me:$LINENO: result: $INSTALL" >&5
4326 echo "${ECHO_T}$INSTALL" >&6
4328 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
4329 # It thinks the first close brace ends the variable substitution.
4330 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM
='${INSTALL}'
4332 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT
='${INSTALL}'
4334 test -z "$INSTALL_DATA" && INSTALL_DATA
='${INSTALL} -m 644'
4340 # Check whether --enable-static or --disable-static was given.
4341 if test "${enable_static+set}" = set; then
4342 enableval
="$enable_static"
4343 p
=${PACKAGE-default}
4345 yes) enable_static
=yes ;;
4346 no
) enable_static
=no
;;
4349 # Look at the argument we got. We use all the common list separators.
4350 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
="${IFS}:,"
4351 for pkg
in $enableval; do
4352 if test "X$pkg" = "X$p"; then
4362 # Check whether --enable-shared or --disable-shared was given.
4363 if test "${enable_shared+set}" = set; then
4364 enableval
="$enable_shared"
4365 p
=${PACKAGE-default}
4367 yes) enable_shared
=yes ;;
4368 no
) enable_shared
=no
;;
4371 # Look at the argument we got. We use all the common list separators.
4372 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
="${IFS}:,"
4373 for pkg
in $enableval; do
4374 if test "X$pkg" = "X$p"; then
4384 # Check whether --enable-fast-install or --disable-fast-install was given.
4385 if test "${enable_fast_install+set}" = set; then
4386 enableval
="$enable_fast_install"
4387 p
=${PACKAGE-default}
4389 yes) enable_fast_install
=yes ;;
4390 no
) enable_fast_install
=no
;;
4392 enable_fast_install
=no
4393 # Look at the argument we got. We use all the common list separators.
4394 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
="${IFS}:,"
4395 for pkg
in $enableval; do
4396 if test "X$pkg" = "X$p"; then
4397 enable_fast_install
=yes
4404 enable_fast_install
=yes
4407 # Check whether --with-gnu-ld or --without-gnu-ld was given.
4408 if test "${with_gnu_ld+set}" = set; then
4409 withval
="$with_gnu_ld"
4410 test "$withval" = no || with_gnu_ld
=yes
4415 if test "$GCC" = yes; then
4416 # Check if gcc -print-prog-name=ld gives a path.
4417 echo "$as_me:$LINENO: checking for ld used by GCC" >&5
4418 echo $ECHO_N "checking for ld used by GCC... $ECHO_C" >&6
4421 # gcc leaves a trailing carriage return which upsets mingw
4422 ac_prog
=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
4424 ac_prog
=`($CC -print-prog-name=ld) 2>&5` ;;
4427 # Accept absolute paths.
4428 [\\/]* |
[A-Za-z
]:[\\/]*)
4429 re_direlt
='/[^/][^/]*/\.\./'
4430 # Canonicalize the path of ld
4431 ac_prog
=`echo $ac_prog| sed 's%\\\\%/%g'`
4432 while echo $ac_prog |
grep "$re_direlt" > /dev
/null
2>&1; do
4433 ac_prog
=`echo $ac_prog| sed "s%$re_direlt%/%"`
4435 test -z "$LD" && LD
="$ac_prog"
4438 # If it fails, then pretend we aren't using GCC.
4442 # If it is relative, then search for the first ld in PATH.
4446 elif test "$with_gnu_ld" = yes; then
4447 echo "$as_me:$LINENO: checking for GNU ld" >&5
4448 echo $ECHO_N "checking for GNU ld... $ECHO_C" >&6
4450 echo "$as_me:$LINENO: checking for non-GNU ld" >&5
4451 echo $ECHO_N "checking for non-GNU ld... $ECHO_C" >&6
4453 if test "${lt_cv_path_LD+set}" = set; then
4454 echo $ECHO_N "(cached) $ECHO_C" >&6
4456 if test -z "$LD"; then
4457 IFS
="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}${PATH_SEPARATOR-:}"
4458 for ac_dir
in $PATH; do
4459 test -z "$ac_dir" && ac_dir
=.
4460 if test -f "$ac_dir/$ac_prog" ||
test -f "$ac_dir/$ac_prog$ac_exeext"; then
4461 lt_cv_path_LD
="$ac_dir/$ac_prog"
4462 # Check to see if the program is GNU ld. I'd rather use --version,
4463 # but apparently some GNU ld's only accept -v.
4464 # Break only if it was the GNU/non-GNU ld that we prefer.
4465 if "$lt_cv_path_LD" -v 2>&1 < /dev
/null |
egrep '(GNU|with BFD)' > /dev
/null
; then
4466 test "$with_gnu_ld" != no
&& break
4468 test "$with_gnu_ld" != yes && break
4474 lt_cv_path_LD
="$LD" # Let the user override the test with a path.
4479 if test -n "$LD"; then
4480 echo "$as_me:$LINENO: result: $LD" >&5
4481 echo "${ECHO_T}$LD" >&6
4483 echo "$as_me:$LINENO: result: no" >&5
4484 echo "${ECHO_T}no" >&6
4486 test -z "$LD" && { { echo "$as_me:$LINENO: error: no acceptable ld found in \$PATH" >&5
4487 echo "$as_me: error: no acceptable ld found in \$PATH" >&2;}
4488 { (exit 1); exit 1; }; }
4489 echo "$as_me:$LINENO: checking if the linker ($LD) is GNU ld" >&5
4490 echo $ECHO_N "checking if the linker ($LD) is GNU ld... $ECHO_C" >&6
4491 if test "${lt_cv_prog_gnu_ld+set}" = set; then
4492 echo $ECHO_N "(cached) $ECHO_C" >&6
4494 # I'd rather use --version here, but apparently some GNU ld's only accept -v.
4495 if $LD -v 2>&1 </dev
/null |
egrep '(GNU|with BFD)' 1>&5; then
4496 lt_cv_prog_gnu_ld
=yes
4498 lt_cv_prog_gnu_ld
=no
4501 echo "$as_me:$LINENO: result: $lt_cv_prog_gnu_ld" >&5
4502 echo "${ECHO_T}$lt_cv_prog_gnu_ld" >&6
4503 with_gnu_ld
=$lt_cv_prog_gnu_ld
4506 echo "$as_me:$LINENO: checking for $LD option to reload object files" >&5
4507 echo $ECHO_N "checking for $LD option to reload object files... $ECHO_C" >&6
4508 if test "${lt_cv_ld_reload_flag+set}" = set; then
4509 echo $ECHO_N "(cached) $ECHO_C" >&6
4511 lt_cv_ld_reload_flag
='-r'
4513 echo "$as_me:$LINENO: result: $lt_cv_ld_reload_flag" >&5
4514 echo "${ECHO_T}$lt_cv_ld_reload_flag" >&6
4515 reload_flag
=$lt_cv_ld_reload_flag
4516 test -n "$reload_flag" && reload_flag
=" $reload_flag"
4518 echo "$as_me:$LINENO: checking for BSD-compatible nm" >&5
4519 echo $ECHO_N "checking for BSD-compatible nm... $ECHO_C" >&6
4520 if test "${lt_cv_path_NM+set}" = set; then
4521 echo $ECHO_N "(cached) $ECHO_C" >&6
4523 if test -n "$NM"; then
4524 # Let the user override the test.
4527 IFS
="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}${PATH_SEPARATOR-:}"
4528 for ac_dir
in $PATH /usr
/ccs
/bin
/usr
/ucb
/bin
; do
4529 test -z "$ac_dir" && ac_dir
=.
4530 tmp_nm
=$ac_dir/${ac_tool_prefix}nm
4531 if test -f $tmp_nm ||
test -f $tmp_nm$ac_exeext ; then
4532 # Check to see if the nm accepts a BSD-compat flag.
4533 # Adding the `sed 1q' prevents false positives on HP-UX, which says:
4534 # nm: unknown option "B" ignored
4535 # Tru64's nm complains that /dev/null is an invalid object file
4536 if ($tmp_nm -B /dev
/null
2>&1 |
sed '1q'; exit 0) |
egrep '(/dev/null|Invalid file or object type)' >/dev
/null
; then
4537 lt_cv_path_NM
="$tmp_nm -B"
4539 elif ($tmp_nm -p /dev
/null
2>&1 |
sed '1q'; exit 0) |
egrep /dev
/null
>/dev
/null
; then
4540 lt_cv_path_NM
="$tmp_nm -p"
4543 lt_cv_path_NM
=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but
4544 continue # so that we can try to find one that supports BSD flags
4549 test -z "$lt_cv_path_NM" && lt_cv_path_NM
=nm
4554 echo "$as_me:$LINENO: result: $NM" >&5
4555 echo "${ECHO_T}$NM" >&6
4557 echo "$as_me:$LINENO: checking how to recognise dependant libraries" >&5
4558 echo $ECHO_N "checking how to recognise dependant libraries... $ECHO_C" >&6
4559 if test "${lt_cv_deplibs_check_method+set}" = set; then
4560 echo $ECHO_N "(cached) $ECHO_C" >&6
4562 lt_cv_file_magic_cmd
='$MAGIC_CMD'
4563 lt_cv_file_magic_test_file
=
4564 lt_cv_deplibs_check_method
='unknown'
4565 # Need to set the preceding variable on all platforms that support
4566 # interlibrary dependencies.
4567 # 'none' -- dependencies not supported.
4568 # `unknown' -- same as none, but documents that we really don't know.
4569 # 'pass_all' -- all dependencies passed with no checks.
4570 # 'test_compile' -- check by making test program.
4571 # 'file_magic [regex]' -- check by looking for files in library path
4572 # which responds to the $file_magic_cmd with a given egrep regex.
4573 # If you have `file' or equivalent on your system and you're not sure
4574 # whether `pass_all' will *always* work, you probably want this one.
4578 lt_cv_deplibs_check_method
=pass_all
4582 lt_cv_deplibs_check_method
=pass_all
4586 lt_cv_deplibs_check_method
='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib)'
4587 lt_cv_file_magic_cmd
='/usr/bin/file -L'
4588 lt_cv_file_magic_test_file
=/shlib
/libc.so
4591 cygwin
* | mingw
* |pw32
*)
4592 lt_cv_deplibs_check_method
='file_magic file format pei*-i386(.*architecture: i386)?'
4593 lt_cv_file_magic_cmd
='$OBJDUMP -f'
4596 darwin
* | rhapsody
*)
4597 # this will be overwritten by pass_all, but leave it in just in case
4598 lt_cv_deplibs_check_method
='file_magic Mach-O dynamically linked shared library'
4599 lt_cv_file_magic_cmd
='/usr/bin/file -L'
4601 rhapsody
* | darwin1.012
)
4602 lt_cv_file_magic_test_file
='/System/Library/Frameworks/System.framework/System'
4605 lt_cv_file_magic_test_file
='/usr/lib/libSystem.dylib'
4608 lt_cv_deplibs_check_method
=pass_all
4611 freebsd
* | kfreebsd
*-gnu)
4612 if echo __ELF__ |
$CC -E - |
grep __ELF__
> /dev
/null
; then
4615 # Not sure whether the presence of OpenBSD here was a mistake.
4616 # Let's accept both of them until this is cleared up.
4617 lt_cv_deplibs_check_method
='file_magic (FreeBSD|OpenBSD)/i[3-9]86 (compact )?demand paged shared library'
4618 lt_cv_file_magic_cmd
=/usr
/bin
/file
4619 lt_cv_file_magic_test_file
=`echo /usr/lib/libc.so.*`
4623 lt_cv_deplibs_check_method
=pass_all
4628 lt_cv_deplibs_check_method
=pass_all
4634 lt_cv_deplibs_check_method
='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9].[0-9]) shared library'
4635 lt_cv_file_magic_cmd
=/usr
/bin
/file
4636 lt_cv_file_magic_test_file
=/usr
/lib
/libc.sl
4639 lt_cv_deplibs_check_method
='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - IA64'
4640 lt_cv_file_magic_cmd
=/usr
/bin
/file
4641 lt_cv_file_magic_test_file
=/usr
/lib
/hpux32
/libc.so
4649 # this will be overridden with pass_all, but let us keep it just in case
4650 lt_cv_deplibs_check_method
="file_magic ELF 32-bit MSB dynamic lib MIPS - version 1"
4654 *-32|
*"-32 ") libmagic
=32-bit;;
4655 *-n32|
*"-n32 ") libmagic
=N32
;;
4656 *-64|
*"-64 ") libmagic
=64-bit;;
4657 *) libmagic
=never-match
;;
4659 # this will be overridden with pass_all, but let us keep it just in case
4660 lt_cv_deplibs_check_method
="file_magic ELF ${libmagic} MSB mips-[1234] dynamic lib MIPS - version 1"
4663 lt_cv_file_magic_test_file
=`echo /lib${libsuff}/libc.so*`
4664 lt_cv_deplibs_check_method
=pass_all
4667 # This must be Linux ELF.
4669 lt_cv_deplibs_check_method
=pass_all
4672 netbsd
* | knetbsd
*-gnu)
4673 if echo __ELF__ |
$CC -E - |
grep __ELF__
> /dev
/null
; then
4674 lt_cv_deplibs_check_method
='match_pattern /lib[^/\.]+\.so\.[0-9]+\.[0-9]+$'
4676 lt_cv_deplibs_check_method
='match_pattern /lib[^/\.]+\.so$'
4681 lt_cv_deplibs_check_method
='file_magic ELF [0-9][0-9]*-bit [ML]SB (executable|dynamic lib)'
4682 lt_cv_file_magic_cmd
=/usr
/bin
/file
4683 lt_cv_file_magic_test_file
=/usr
/lib
/libnls.so
4686 osf3
* | osf4
* | osf5
*)
4687 # this will be overridden with pass_all, but let us keep it just in case
4688 lt_cv_deplibs_check_method
='file_magic COFF format alpha shared library'
4689 lt_cv_file_magic_test_file
=/shlib
/libc.so
4690 lt_cv_deplibs_check_method
=pass_all
4694 lt_cv_deplibs_check_method
=pass_all
4698 lt_cv_deplibs_check_method
=pass_all
4699 lt_cv_file_magic_test_file
=/lib
/libc.so
4702 sysv5uw
[78]* | sysv4
*uw2
*)
4703 lt_cv_deplibs_check_method
=pass_all
4706 sysv4 | sysv4.2uw2
* | sysv4.3
* | sysv5
*)
4707 case $host_vendor in
4709 lt_cv_deplibs_check_method
=pass_all
4712 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]'
4713 lt_cv_file_magic_test_file
=`echo /usr/lib/libc.so*`
4720 echo "$as_me:$LINENO: result: $lt_cv_deplibs_check_method" >&5
4721 echo "${ECHO_T}$lt_cv_deplibs_check_method" >&6
4722 file_magic_cmd
=$lt_cv_file_magic_cmd
4723 deplibs_check_method
=$lt_cv_deplibs_check_method
4728 # Autoconf 2.13's AC_OBJEXT and AC_EXEEXT macros only works for C compilers!
4730 # find the maximum length of command line arguments
4731 echo "$as_me:$LINENO: checking the maximum length of command line arguments" >&5
4732 echo $ECHO_N "checking the maximum length of command line arguments... $ECHO_C" >&6
4733 if test "${lt_cv_sys_max_cmd_len+set}" = set; then
4734 echo $ECHO_N "(cached) $ECHO_C" >&6
4741 # On DJGPP, this test can blow up pretty badly due to problems in libc
4742 # (any single argument exceeding 2000 bytes causes a buffer overrun
4743 # during glob expansion). Even if it were fixed, the result of this
4744 # check would be larger than it should be.
4745 lt_cv_sys_max_cmd_len
=12288; # 12K is about right
4749 # On Win9x/ME, this test blows up -- it succeeds, but takes
4750 # about 5 minutes as the teststring grows exponentially.
4751 # Worse, since 9x/ME are not pre-emptively multitasking,
4752 # you end up with a "frozen" computer, even though with patience
4753 # the test eventually succeeds (with a max line length of 256k).
4754 # Instead, let's just punt: use the minimum linelength reported by
4755 # all of the supported platforms: 8192 (on NT/2K/XP).
4756 lt_cv_sys_max_cmd_len
=8192;
4760 # On AmigaOS with pdksh, this test takes hours, literally.
4761 # So we just punt and use a minimum line length of 8192.
4762 lt_cv_sys_max_cmd_len
=8192;
4765 netbsd
* | freebsd
* | openbsd
* | darwin
* | dragonfly
*)
4766 # This has been around since 386BSD, at least. Likely further.
4767 if test -x /sbin
/sysctl
; then
4768 lt_cv_sys_max_cmd_len
=`/sbin/sysctl -n kern.argmax`
4769 elif test -x /usr
/sbin
/sysctl
; then
4770 lt_cv_sys_max_cmd_len
=`/usr/sbin/sysctl -n kern.argmax`
4772 lt_cv_sys_max_cmd_len
=65536 # usable default for *BSD
4774 # And add a safety zone
4775 lt_cv_sys_max_cmd_len
=`expr $lt_cv_sys_max_cmd_len \/ 4`
4776 lt_cv_sys_max_cmd_len
=`expr $lt_cv_sys_max_cmd_len \* 3`
4782 if test -n "$lt_cv_sys_max_cmd_len" ; then
4783 echo "$as_me:$LINENO: result: $lt_cv_sys_max_cmd_len" >&5
4784 echo "${ECHO_T}$lt_cv_sys_max_cmd_len" >&6
4786 echo "$as_me:$LINENO: result: none" >&5
4787 echo "${ECHO_T}none" >&6
4791 # Only perform the check for file, if the check method requires it
4792 case $deplibs_check_method in
4794 if test "$file_magic_cmd" = '$MAGIC_CMD'; then
4795 echo "$as_me:$LINENO: checking for ${ac_tool_prefix}file" >&5
4796 echo $ECHO_N "checking for ${ac_tool_prefix}file... $ECHO_C" >&6
4797 if test "${lt_cv_path_MAGIC_CMD+set}" = set; then
4798 echo $ECHO_N "(cached) $ECHO_C" >&6
4802 lt_cv_path_MAGIC_CMD
="$MAGIC_CMD" # Let the user override the test with a path.
4805 lt_cv_path_MAGIC_CMD
="$MAGIC_CMD" # Let the user override the test with a dos path.
4808 ac_save_MAGIC_CMD
="$MAGIC_CMD"
4809 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
=":"
4810 ac_dummy
="/usr/bin:$PATH"
4811 for ac_dir
in $ac_dummy; do
4812 test -z "$ac_dir" && ac_dir
=.
4813 if test -f $ac_dir/${ac_tool_prefix}file; then
4814 lt_cv_path_MAGIC_CMD
="$ac_dir/${ac_tool_prefix}file"
4815 if test -n "$file_magic_test_file"; then
4816 case $deplibs_check_method in
4818 file_magic_regex
="`expr \"$deplibs_check_method\" : \"file_magic \(.*\)\"`"
4819 MAGIC_CMD
="$lt_cv_path_MAGIC_CMD"
4820 if eval $file_magic_cmd \
$file_magic_test_file 2> /dev
/null |
4821 egrep "$file_magic_regex" > /dev
/null
; then
4826 *** Warning: the command libtool uses to detect shared libraries,
4827 *** $file_magic_cmd, produces output that libtool cannot recognize.
4828 *** The result is that libtool may fail to recognize shared libraries
4829 *** as such. This will affect the creation of libtool libraries that
4830 *** depend on shared libraries, but programs linked with such libtool
4831 *** libraries will work regardless of this problem. Nevertheless, you
4832 *** may want to report the problem to your system manager and/or to
4833 *** bug-libtool@gnu.org
4843 MAGIC_CMD
="$ac_save_MAGIC_CMD"
4848 MAGIC_CMD
="$lt_cv_path_MAGIC_CMD"
4849 if test -n "$MAGIC_CMD"; then
4850 echo "$as_me:$LINENO: result: $MAGIC_CMD" >&5
4851 echo "${ECHO_T}$MAGIC_CMD" >&6
4853 echo "$as_me:$LINENO: result: no" >&5
4854 echo "${ECHO_T}no" >&6
4857 if test -z "$lt_cv_path_MAGIC_CMD"; then
4858 if test -n "$ac_tool_prefix"; then
4859 echo "$as_me:$LINENO: checking for file" >&5
4860 echo $ECHO_N "checking for file... $ECHO_C" >&6
4861 if test "${lt_cv_path_MAGIC_CMD+set}" = set; then
4862 echo $ECHO_N "(cached) $ECHO_C" >&6
4866 lt_cv_path_MAGIC_CMD
="$MAGIC_CMD" # Let the user override the test with a path.
4869 lt_cv_path_MAGIC_CMD
="$MAGIC_CMD" # Let the user override the test with a dos path.
4872 ac_save_MAGIC_CMD
="$MAGIC_CMD"
4873 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
=":"
4874 ac_dummy
="/usr/bin:$PATH"
4875 for ac_dir
in $ac_dummy; do
4876 test -z "$ac_dir" && ac_dir
=.
4877 if test -f $ac_dir/file; then
4878 lt_cv_path_MAGIC_CMD
="$ac_dir/file"
4879 if test -n "$file_magic_test_file"; then
4880 case $deplibs_check_method in
4882 file_magic_regex
="`expr \"$deplibs_check_method\" : \"file_magic \(.*\)\"`"
4883 MAGIC_CMD
="$lt_cv_path_MAGIC_CMD"
4884 if eval $file_magic_cmd \
$file_magic_test_file 2> /dev
/null |
4885 egrep "$file_magic_regex" > /dev
/null
; then
4890 *** Warning: the command libtool uses to detect shared libraries,
4891 *** $file_magic_cmd, produces output that libtool cannot recognize.
4892 *** The result is that libtool may fail to recognize shared libraries
4893 *** as such. This will affect the creation of libtool libraries that
4894 *** depend on shared libraries, but programs linked with such libtool
4895 *** libraries will work regardless of this problem. Nevertheless, you
4896 *** may want to report the problem to your system manager and/or to
4897 *** bug-libtool@gnu.org
4907 MAGIC_CMD
="$ac_save_MAGIC_CMD"
4912 MAGIC_CMD
="$lt_cv_path_MAGIC_CMD"
4913 if test -n "$MAGIC_CMD"; then
4914 echo "$as_me:$LINENO: result: $MAGIC_CMD" >&5
4915 echo "${ECHO_T}$MAGIC_CMD" >&6
4917 echo "$as_me:$LINENO: result: no" >&5
4918 echo "${ECHO_T}no" >&6
4930 if test -n "$ac_tool_prefix"; then
4931 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
4932 set dummy
${ac_tool_prefix}ranlib
; ac_word
=$2
4933 echo "$as_me:$LINENO: checking for $ac_word" >&5
4934 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
4935 if test "${ac_cv_prog_RANLIB+set}" = set; then
4936 echo $ECHO_N "(cached) $ECHO_C" >&6
4938 if test -n "$RANLIB"; then
4939 ac_cv_prog_RANLIB
="$RANLIB" # Let the user override the test.
4941 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4945 test -z "$as_dir" && as_dir
=.
4946 for ac_exec_ext
in '' $ac_executable_extensions; do
4947 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4948 ac_cv_prog_RANLIB
="${ac_tool_prefix}ranlib"
4949 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4957 RANLIB
=$ac_cv_prog_RANLIB
4958 if test -n "$RANLIB"; then
4959 echo "$as_me:$LINENO: result: $RANLIB" >&5
4960 echo "${ECHO_T}$RANLIB" >&6
4962 echo "$as_me:$LINENO: result: no" >&5
4963 echo "${ECHO_T}no" >&6
4967 if test -z "$ac_cv_prog_RANLIB"; then
4968 ac_ct_RANLIB
=$RANLIB
4969 # Extract the first word of "ranlib", so it can be a program name with args.
4970 set dummy ranlib
; ac_word
=$2
4971 echo "$as_me:$LINENO: checking for $ac_word" >&5
4972 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
4973 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
4974 echo $ECHO_N "(cached) $ECHO_C" >&6
4976 if test -n "$ac_ct_RANLIB"; then
4977 ac_cv_prog_ac_ct_RANLIB
="$ac_ct_RANLIB" # Let the user override the test.
4979 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4983 test -z "$as_dir" && as_dir
=.
4984 for ac_exec_ext
in '' $ac_executable_extensions; do
4985 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4986 ac_cv_prog_ac_ct_RANLIB
="ranlib"
4987 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4993 test -z "$ac_cv_prog_ac_ct_RANLIB" && ac_cv_prog_ac_ct_RANLIB
=":"
4996 ac_ct_RANLIB
=$ac_cv_prog_ac_ct_RANLIB
4997 if test -n "$ac_ct_RANLIB"; then
4998 echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
4999 echo "${ECHO_T}$ac_ct_RANLIB" >&6
5001 echo "$as_me:$LINENO: result: no" >&5
5002 echo "${ECHO_T}no" >&6
5005 RANLIB
=$ac_ct_RANLIB
5007 RANLIB
="$ac_cv_prog_RANLIB"
5010 if test -n "$ac_tool_prefix"; then
5011 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
5012 set dummy
${ac_tool_prefix}strip
; ac_word
=$2
5013 echo "$as_me:$LINENO: checking for $ac_word" >&5
5014 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
5015 if test "${ac_cv_prog_STRIP+set}" = set; then
5016 echo $ECHO_N "(cached) $ECHO_C" >&6
5018 if test -n "$STRIP"; then
5019 ac_cv_prog_STRIP
="$STRIP" # Let the user override the test.
5021 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5025 test -z "$as_dir" && as_dir
=.
5026 for ac_exec_ext
in '' $ac_executable_extensions; do
5027 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5028 ac_cv_prog_STRIP
="${ac_tool_prefix}strip"
5029 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5037 STRIP
=$ac_cv_prog_STRIP
5038 if test -n "$STRIP"; then
5039 echo "$as_me:$LINENO: result: $STRIP" >&5
5040 echo "${ECHO_T}$STRIP" >&6
5042 echo "$as_me:$LINENO: result: no" >&5
5043 echo "${ECHO_T}no" >&6
5047 if test -z "$ac_cv_prog_STRIP"; then
5049 # Extract the first word of "strip", so it can be a program name with args.
5050 set dummy strip
; ac_word
=$2
5051 echo "$as_me:$LINENO: checking for $ac_word" >&5
5052 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
5053 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
5054 echo $ECHO_N "(cached) $ECHO_C" >&6
5056 if test -n "$ac_ct_STRIP"; then
5057 ac_cv_prog_ac_ct_STRIP
="$ac_ct_STRIP" # Let the user override the test.
5059 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5063 test -z "$as_dir" && as_dir
=.
5064 for ac_exec_ext
in '' $ac_executable_extensions; do
5065 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5066 ac_cv_prog_ac_ct_STRIP
="strip"
5067 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5073 test -z "$ac_cv_prog_ac_ct_STRIP" && ac_cv_prog_ac_ct_STRIP
=":"
5076 ac_ct_STRIP
=$ac_cv_prog_ac_ct_STRIP
5077 if test -n "$ac_ct_STRIP"; then
5078 echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
5079 echo "${ECHO_T}$ac_ct_STRIP" >&6
5081 echo "$as_me:$LINENO: result: no" >&5
5082 echo "${ECHO_T}no" >&6
5087 STRIP
="$ac_cv_prog_STRIP"
5091 # Check for any special flags to pass to ltconfig.
5092 libtool_flags
="--cache-file=$cache_file"
5093 test "$enable_shared" = no
&& libtool_flags
="$libtool_flags --disable-shared"
5094 test "$enable_static" = no
&& libtool_flags
="$libtool_flags --disable-static"
5095 test "$enable_fast_install" = no
&& libtool_flags
="$libtool_flags --disable-fast-install"
5096 test "$GCC" = yes && libtool_flags
="$libtool_flags --with-gcc"
5097 test "$lt_cv_prog_gnu_ld" = yes && libtool_flags
="$libtool_flags --with-gnu-ld"
5100 # Check whether --enable-libtool-lock or --disable-libtool-lock was given.
5101 if test "${enable_libtool_lock+set}" = set; then
5102 enableval
="$enable_libtool_lock"
5105 test "x$enable_libtool_lock" = xno
&& libtool_flags
="$libtool_flags --disable-lock"
5106 test x
"$silent" = xyes
&& libtool_flags
="$libtool_flags --silent"
5109 # Check whether --with-pic or --without-pic was given.
5110 if test "${with_pic+set}" = set; then
5116 test x
"$pic_mode" = xyes
&& libtool_flags
="$libtool_flags --prefer-pic"
5117 test x
"$pic_mode" = xno
&& libtool_flags
="$libtool_flags --prefer-non-pic"
5119 # Some flags need to be propagated to the compiler or linker for good
5123 # Find out which ABI we are using.
5124 echo '#line 5124 "configure"' > conftest.
$ac_ext
5125 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5126 (eval $ac_compile) 2>&5
5128 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5129 (exit $ac_status); }; then
5130 if test "$lt_cv_prog_gnu_ld" = yes; then
5131 case `/usr/bin/file conftest.$ac_objext` in
5133 LD
="${LD-ld} -melf32bsmip"
5136 LD
="${LD-ld} -melf32bmipn32"
5139 LD
="${LD-ld} -melf64bmip"
5143 case `/usr/bin/file conftest.$ac_objext` in
5160 # Find out which ABI we are using.
5161 echo 'int i;' > conftest.
$ac_ext
5162 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5163 (eval $ac_compile) 2>&5
5165 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5166 (exit $ac_status); }; then
5167 case "`/usr/bin/file conftest.o`" in
5179 x86_64-
*linux
*|ppc
*-*linux
*|powerpc
*-*linux
*|s390
*-*linux
*|sparc
*-*linux
*)
5180 # Find out which ABI we are using.
5181 echo 'int i;' > conftest.
$ac_ext
5182 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5183 (eval $ac_compile) 2>&5
5185 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5186 (exit $ac_status); }; then
5187 case "`/usr/bin/file conftest.o`" in
5191 LD
="${LD-ld} -m elf_i386"
5193 ppc64-
*linux
*|powerpc64-
*linux
*)
5194 LD
="${LD-ld} -m elf32ppclinux"
5197 LD
="${LD-ld} -m elf_s390"
5200 LD
="${LD-ld} -m elf32_sparc"
5207 LD
="${LD-ld} -m elf_x86_64"
5209 ppc
*-*linux
*|powerpc
*-*linux
*)
5210 LD
="${LD-ld} -m elf64ppc"
5213 LD
="${LD-ld} -m elf64_s390"
5216 LD
="${LD-ld} -m elf64_sparc"
5226 # On SCO OpenServer 5, we need -belf to get full-featured binaries.
5227 SAVE_CFLAGS
="$CFLAGS"
5228 CFLAGS
="$CFLAGS -belf"
5229 echo "$as_me:$LINENO: checking whether the C compiler needs -belf" >&5
5230 echo $ECHO_N "checking whether the C compiler needs -belf... $ECHO_C" >&6
5231 if test "${lt_cv_cc_needs_belf+set}" = set; then
5232 echo $ECHO_N "(cached) $ECHO_C" >&6
5237 ac_cpp
='$CPP $CPPFLAGS'
5238 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5239 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5240 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
5242 cat >conftest.
$ac_ext <<_ACEOF
5245 cat confdefs.h
>>conftest.
$ac_ext
5246 cat >>conftest.
$ac_ext <<_ACEOF
5247 /* end confdefs.h. */
5257 rm -f conftest.
$ac_objext conftest
$ac_exeext
5258 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
5259 (eval $ac_link) 2>conftest.er1
5261 grep -v '^ *+' conftest.er1
>conftest.err
5263 cat conftest.err
>&5
5264 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5265 (exit $ac_status); } &&
5266 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
5267 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5270 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5271 (exit $ac_status); }; } &&
5272 { ac_try
='test -s conftest$ac_exeext'
5273 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5276 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5277 (exit $ac_status); }; }; then
5278 lt_cv_cc_needs_belf
=yes
5280 echo "$as_me: failed program was:" >&5
5281 sed 's/^/| /' conftest.
$ac_ext >&5
5283 lt_cv_cc_needs_belf
=no
5285 rm -f conftest.err conftest.
$ac_objext \
5286 conftest
$ac_exeext conftest.
$ac_ext
5288 ac_cpp
='$CPP $CPPFLAGS'
5289 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5290 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5291 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
5294 echo "$as_me:$LINENO: result: $lt_cv_cc_needs_belf" >&5
5295 echo "${ECHO_T}$lt_cv_cc_needs_belf" >&6
5296 if test x
"$lt_cv_cc_needs_belf" != x
"yes"; then
5297 # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
5298 CFLAGS
="$SAVE_CFLAGS"
5306 # Save cache, so that ltconfig can load it
5307 cat >confcache
<<\_ACEOF
5308 # This file is a shell script that caches the results of configure
5309 # tests run on this system so they can be shared between configure
5310 # scripts and configure runs, see configure's option --config-cache.
5311 # It is not useful on other systems. If it contains results you don't
5312 # want to keep, you may remove or edit it.
5314 # config.status only pays attention to the cache file if you give it
5315 # the --recheck option to rerun configure.
5317 # `ac_cv_env_foo' variables (set or unset) will be overridden when
5318 # loading this file, other *unset* `ac_cv_foo' will be assigned the
5323 # The following way of writing the cache mishandles newlines in values,
5324 # but we know of no workaround that is simple, portable, and efficient.
5325 # So, don't put newlines in cache variables' values.
5326 # Ultrix sh set writes to stderr and can't be redirected directly,
5327 # and sets the high bit in the cache file unless we assign to the vars.
5330 case `(ac_space=' '; set | grep ac_space) 2>&1` in
5332 # `set' does not quote correctly, so add quotes (double-quote
5333 # substitution turns \\\\ into \\, and sed turns \\ into \).
5336 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
5339 # `set' quotes correctly as required by POSIX, so do not add quotes.
5341 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
5348 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
5350 /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
5352 if diff $cache_file confcache
>/dev
/null
2>&1; then :; else
5353 if test -w $cache_file; then
5354 test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
5355 cat confcache
>$cache_file
5357 echo "not updating unwritable cache $cache_file"
5362 # Actually configure libtool. ac_aux_dir is where install-sh is found.
5363 AR
="$AR" LTCC
="$CC" CC
="$CC" CFLAGS
="$CFLAGS" CPPFLAGS
="$CPPFLAGS" \
5364 MAGIC_CMD
="$MAGIC_CMD" LD
="$LD" LDFLAGS
="$LDFLAGS" LIBS
="$LIBS" \
5365 LN_S
="$LN_S" NM
="$NM" RANLIB
="$RANLIB" STRIP
="$STRIP" \
5366 AS
="$AS" DLLTOOL
="$DLLTOOL" OBJDUMP
="$OBJDUMP" \
5367 objext
="$OBJEXT" exeext
="$EXEEXT" reload_flag
="$reload_flag" \
5368 deplibs_check_method
="$deplibs_check_method" file_magic_cmd
="$file_magic_cmd" \
5369 ${CONFIG_SHELL-/bin/sh} $ac_aux_dir/ltconfig
--no-reexec \
5370 $libtool_flags --no-verify --build="$build" $ac_aux_dir/ltmain.sh
$host \
5371 ||
{ { echo "$as_me:$LINENO: error: libtool configure failed" >&5
5372 echo "$as_me: error: libtool configure failed" >&2;}
5373 { (exit 1); exit 1; }; }
5375 # Reload cache, that may have been modified by ltconfig
5376 if test -r "$cache_file"; then
5377 # Some versions of bash will fail to source /dev/null (special
5378 # files actually), so we avoid doing that.
5379 if test -f "$cache_file"; then
5380 { echo "$as_me:$LINENO: loading cache $cache_file" >&5
5381 echo "$as_me: loading cache $cache_file" >&6;}
5383 [\\/]* | ?
:[\\/]* ) .
$cache_file;;
5384 *) . .
/$cache_file;;
5388 { echo "$as_me:$LINENO: creating cache $cache_file" >&5
5389 echo "$as_me: creating cache $cache_file" >&6;}
5394 # This can be used to rebuild libtool when needed
5395 LIBTOOL_DEPS
="$ac_aux_dir/ltconfig $ac_aux_dir/ltmain.sh $ac_aux_dir/ltcf-c.sh"
5397 # Always use our own libtool.
5398 LIBTOOL
='$(SHELL) $(top_builddir)/libtool'
5400 # Redirect the config.log output again, so that the ltconfig log is not
5401 # clobbered by the next message.
5402 exec 5>>.
/config.log
5410 ac_cpp
='$CPP $CPPFLAGS'
5411 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5412 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5413 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
5414 if test -n "$ac_tool_prefix"; then
5415 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
5416 set dummy
${ac_tool_prefix}gcc
; ac_word
=$2
5417 echo "$as_me:$LINENO: checking for $ac_word" >&5
5418 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
5419 if test "${ac_cv_prog_CC+set}" = set; then
5420 echo $ECHO_N "(cached) $ECHO_C" >&6
5422 if test -n "$CC"; then
5423 ac_cv_prog_CC
="$CC" # Let the user override the test.
5425 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5429 test -z "$as_dir" && as_dir
=.
5430 for ac_exec_ext
in '' $ac_executable_extensions; do
5431 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5432 ac_cv_prog_CC
="${ac_tool_prefix}gcc"
5433 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5442 if test -n "$CC"; then
5443 echo "$as_me:$LINENO: result: $CC" >&5
5444 echo "${ECHO_T}$CC" >&6
5446 echo "$as_me:$LINENO: result: no" >&5
5447 echo "${ECHO_T}no" >&6
5451 if test -z "$ac_cv_prog_CC"; then
5453 # Extract the first word of "gcc", so it can be a program name with args.
5454 set dummy gcc
; ac_word
=$2
5455 echo "$as_me:$LINENO: checking for $ac_word" >&5
5456 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
5457 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
5458 echo $ECHO_N "(cached) $ECHO_C" >&6
5460 if test -n "$ac_ct_CC"; then
5461 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
5463 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5467 test -z "$as_dir" && as_dir
=.
5468 for ac_exec_ext
in '' $ac_executable_extensions; do
5469 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5470 ac_cv_prog_ac_ct_CC
="gcc"
5471 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5479 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
5480 if test -n "$ac_ct_CC"; then
5481 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
5482 echo "${ECHO_T}$ac_ct_CC" >&6
5484 echo "$as_me:$LINENO: result: no" >&5
5485 echo "${ECHO_T}no" >&6
5493 if test -z "$CC"; then
5494 if test -n "$ac_tool_prefix"; then
5495 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
5496 set dummy
${ac_tool_prefix}cc
; ac_word
=$2
5497 echo "$as_me:$LINENO: checking for $ac_word" >&5
5498 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
5499 if test "${ac_cv_prog_CC+set}" = set; then
5500 echo $ECHO_N "(cached) $ECHO_C" >&6
5502 if test -n "$CC"; then
5503 ac_cv_prog_CC
="$CC" # Let the user override the test.
5505 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5509 test -z "$as_dir" && as_dir
=.
5510 for ac_exec_ext
in '' $ac_executable_extensions; do
5511 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5512 ac_cv_prog_CC
="${ac_tool_prefix}cc"
5513 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5522 if test -n "$CC"; then
5523 echo "$as_me:$LINENO: result: $CC" >&5
5524 echo "${ECHO_T}$CC" >&6
5526 echo "$as_me:$LINENO: result: no" >&5
5527 echo "${ECHO_T}no" >&6
5531 if test -z "$ac_cv_prog_CC"; then
5533 # Extract the first word of "cc", so it can be a program name with args.
5534 set dummy cc
; ac_word
=$2
5535 echo "$as_me:$LINENO: checking for $ac_word" >&5
5536 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
5537 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
5538 echo $ECHO_N "(cached) $ECHO_C" >&6
5540 if test -n "$ac_ct_CC"; then
5541 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
5543 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5547 test -z "$as_dir" && as_dir
=.
5548 for ac_exec_ext
in '' $ac_executable_extensions; do
5549 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5550 ac_cv_prog_ac_ct_CC
="cc"
5551 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5559 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
5560 if test -n "$ac_ct_CC"; then
5561 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
5562 echo "${ECHO_T}$ac_ct_CC" >&6
5564 echo "$as_me:$LINENO: result: no" >&5
5565 echo "${ECHO_T}no" >&6
5574 if test -z "$CC"; then
5575 # Extract the first word of "cc", so it can be a program name with args.
5576 set dummy cc
; ac_word
=$2
5577 echo "$as_me:$LINENO: checking for $ac_word" >&5
5578 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
5579 if test "${ac_cv_prog_CC+set}" = set; then
5580 echo $ECHO_N "(cached) $ECHO_C" >&6
5582 if test -n "$CC"; then
5583 ac_cv_prog_CC
="$CC" # Let the user override the test.
5586 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5590 test -z "$as_dir" && as_dir
=.
5591 for ac_exec_ext
in '' $ac_executable_extensions; do
5592 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5593 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
5594 ac_prog_rejected
=yes
5598 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5604 if test $ac_prog_rejected = yes; then
5605 # We found a bogon in the path, so make sure we never use it.
5606 set dummy
$ac_cv_prog_CC
5608 if test $# != 0; then
5609 # We chose a different compiler from the bogus one.
5610 # However, it has the same basename, so the bogon will be chosen
5611 # first if we set CC to just the basename; use the full file name.
5613 ac_cv_prog_CC
="$as_dir/$ac_word${1+' '}$@"
5619 if test -n "$CC"; then
5620 echo "$as_me:$LINENO: result: $CC" >&5
5621 echo "${ECHO_T}$CC" >&6
5623 echo "$as_me:$LINENO: result: no" >&5
5624 echo "${ECHO_T}no" >&6
5628 if test -z "$CC"; then
5629 if test -n "$ac_tool_prefix"; then
5632 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
5633 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
5634 echo "$as_me:$LINENO: checking for $ac_word" >&5
5635 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
5636 if test "${ac_cv_prog_CC+set}" = set; then
5637 echo $ECHO_N "(cached) $ECHO_C" >&6
5639 if test -n "$CC"; then
5640 ac_cv_prog_CC
="$CC" # Let the user override the test.
5642 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5646 test -z "$as_dir" && as_dir
=.
5647 for ac_exec_ext
in '' $ac_executable_extensions; do
5648 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5649 ac_cv_prog_CC
="$ac_tool_prefix$ac_prog"
5650 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5659 if test -n "$CC"; then
5660 echo "$as_me:$LINENO: result: $CC" >&5
5661 echo "${ECHO_T}$CC" >&6
5663 echo "$as_me:$LINENO: result: no" >&5
5664 echo "${ECHO_T}no" >&6
5667 test -n "$CC" && break
5670 if test -z "$CC"; then
5674 # Extract the first word of "$ac_prog", so it can be a program name with args.
5675 set dummy
$ac_prog; ac_word
=$2
5676 echo "$as_me:$LINENO: checking for $ac_word" >&5
5677 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
5678 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
5679 echo $ECHO_N "(cached) $ECHO_C" >&6
5681 if test -n "$ac_ct_CC"; then
5682 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
5684 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5688 test -z "$as_dir" && as_dir
=.
5689 for ac_exec_ext
in '' $ac_executable_extensions; do
5690 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5691 ac_cv_prog_ac_ct_CC
="$ac_prog"
5692 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5700 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
5701 if test -n "$ac_ct_CC"; then
5702 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
5703 echo "${ECHO_T}$ac_ct_CC" >&6
5705 echo "$as_me:$LINENO: result: no" >&5
5706 echo "${ECHO_T}no" >&6
5709 test -n "$ac_ct_CC" && break
5718 test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
5719 See \`config.log' for more details." >&5
5720 echo "$as_me: error: no acceptable C compiler found in \$PATH
5721 See \`config.log' for more details." >&2;}
5722 { (exit 1); exit 1; }; }
5724 # Provide some information about the compiler.
5725 echo "$as_me:$LINENO:" \
5726 "checking for C compiler version" >&5
5727 ac_compiler
=`set X $ac_compile; echo $2`
5728 { (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5
5729 (eval $ac_compiler --version </dev
/null
>&5) 2>&5
5731 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5732 (exit $ac_status); }
5733 { (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5
5734 (eval $ac_compiler -v </dev
/null
>&5) 2>&5
5736 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5737 (exit $ac_status); }
5738 { (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5
5739 (eval $ac_compiler -V </dev
/null
>&5) 2>&5
5741 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5742 (exit $ac_status); }
5744 echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
5745 echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6
5746 if test "${ac_cv_c_compiler_gnu+set}" = set; then
5747 echo $ECHO_N "(cached) $ECHO_C" >&6
5749 cat >conftest.
$ac_ext <<_ACEOF
5752 cat confdefs.h
>>conftest.
$ac_ext
5753 cat >>conftest.
$ac_ext <<_ACEOF
5754 /* end confdefs.h. */
5767 rm -f conftest.
$ac_objext
5768 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5769 (eval $ac_compile) 2>conftest.er1
5771 grep -v '^ *+' conftest.er1
>conftest.err
5773 cat conftest.err
>&5
5774 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5775 (exit $ac_status); } &&
5776 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
5777 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5780 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5781 (exit $ac_status); }; } &&
5782 { ac_try
='test -s conftest.$ac_objext'
5783 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5786 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5787 (exit $ac_status); }; }; then
5790 echo "$as_me: failed program was:" >&5
5791 sed 's/^/| /' conftest.
$ac_ext >&5
5795 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
5796 ac_cv_c_compiler_gnu
=$ac_compiler_gnu
5799 echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
5800 echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6
5801 GCC
=`test $ac_compiler_gnu = yes && echo yes`
5802 ac_test_CFLAGS
=${CFLAGS+set}
5803 ac_save_CFLAGS
=$CFLAGS
5805 echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
5806 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6
5807 if test "${ac_cv_prog_cc_g+set}" = set; then
5808 echo $ECHO_N "(cached) $ECHO_C" >&6
5810 cat >conftest.
$ac_ext <<_ACEOF
5813 cat confdefs.h
>>conftest.
$ac_ext
5814 cat >>conftest.
$ac_ext <<_ACEOF
5815 /* end confdefs.h. */
5825 rm -f conftest.
$ac_objext
5826 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5827 (eval $ac_compile) 2>conftest.er1
5829 grep -v '^ *+' conftest.er1
>conftest.err
5831 cat conftest.err
>&5
5832 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5833 (exit $ac_status); } &&
5834 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
5835 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5838 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5839 (exit $ac_status); }; } &&
5840 { ac_try
='test -s conftest.$ac_objext'
5841 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5844 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5845 (exit $ac_status); }; }; then
5848 echo "$as_me: failed program was:" >&5
5849 sed 's/^/| /' conftest.
$ac_ext >&5
5853 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
5855 echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
5856 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6
5857 if test "$ac_test_CFLAGS" = set; then
5858 CFLAGS
=$ac_save_CFLAGS
5859 elif test $ac_cv_prog_cc_g = yes; then
5860 if test "$GCC" = yes; then
5866 if test "$GCC" = yes; then
5872 echo "$as_me:$LINENO: checking for $CC option to accept ANSI C" >&5
5873 echo $ECHO_N "checking for $CC option to accept ANSI C... $ECHO_C" >&6
5874 if test "${ac_cv_prog_cc_stdc+set}" = set; then
5875 echo $ECHO_N "(cached) $ECHO_C" >&6
5877 ac_cv_prog_cc_stdc
=no
5879 cat >conftest.
$ac_ext <<_ACEOF
5882 cat confdefs.h
>>conftest.
$ac_ext
5883 cat >>conftest.
$ac_ext <<_ACEOF
5884 /* end confdefs.h. */
5887 #include <sys/types.h>
5888 #include <sys/stat.h>
5889 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
5890 struct buf { int x; };
5891 FILE * (*rcsopen) (struct buf *, struct stat *, int);
5892 static char *e (p, i)
5898 static char *f (char * (*g) (char **, int), char **p, ...)
5903 s = g (p, va_arg (v,int));
5908 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
5909 function prototypes and stuff, but not '\xHH' hex character constants.
5910 These don't provoke an error unfortunately, instead are silently treated
5911 as 'x'. The following induces an error, until -std1 is added to get
5912 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
5913 array size at least. It's necessary to write '\x00'==0 to get something
5914 that's true only with -std1. */
5915 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
5917 int test (int i, double x);
5918 struct s1 {int (*f) (int a);};
5919 struct s2 {int (*f) (double a);};
5920 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
5926 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
5931 # Don't try gcc -ansi; that turns off useful extensions and
5932 # breaks some systems' header files.
5933 # AIX -qlanglvl=ansi
5934 # Ultrix and OSF/1 -std1
5935 # HP-UX 10.20 and later -Ae
5936 # HP-UX older versions -Aa -D_HPUX_SOURCE
5937 # SVR4 -Xc -D__EXTENSIONS__
5938 for ac_arg
in "" -qlanglvl=ansi
-std1 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
5940 CC
="$ac_save_CC $ac_arg"
5941 rm -f conftest.
$ac_objext
5942 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5943 (eval $ac_compile) 2>conftest.er1
5945 grep -v '^ *+' conftest.er1
>conftest.err
5947 cat conftest.err
>&5
5948 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5949 (exit $ac_status); } &&
5950 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
5951 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5954 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5955 (exit $ac_status); }; } &&
5956 { ac_try
='test -s conftest.$ac_objext'
5957 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5960 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5961 (exit $ac_status); }; }; then
5962 ac_cv_prog_cc_stdc
=$ac_arg
5965 echo "$as_me: failed program was:" >&5
5966 sed 's/^/| /' conftest.
$ac_ext >&5
5969 rm -f conftest.err conftest.
$ac_objext
5971 rm -f conftest.
$ac_ext conftest.
$ac_objext
5976 case "x$ac_cv_prog_cc_stdc" in
5978 echo "$as_me:$LINENO: result: none needed" >&5
5979 echo "${ECHO_T}none needed" >&6 ;;
5981 echo "$as_me:$LINENO: result: $ac_cv_prog_cc_stdc" >&5
5982 echo "${ECHO_T}$ac_cv_prog_cc_stdc" >&6
5983 CC
="$CC $ac_cv_prog_cc_stdc" ;;
5986 # Some people use a C++ compiler to compile C. Since we use `exit',
5987 # in C++ we need to declare it. In case someone uses the same compiler
5988 # for both compiling C and C++ we need to have the C++ compiler decide
5989 # the declaration of exit, since it's the most demanding environment.
5990 cat >conftest.
$ac_ext <<_ACEOF
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" || test ! -s conftest.err'
6005 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6008 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6009 (exit $ac_status); }; } &&
6010 { ac_try
='test -s conftest.$ac_objext'
6011 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6014 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6015 (exit $ac_status); }; }; then
6016 for ac_declaration
in \
6018 'extern "C" void std::exit (int) throw (); using std::exit;' \
6019 'extern "C" void std::exit (int); using std::exit;' \
6020 'extern "C" void exit (int) throw ();' \
6021 'extern "C" void exit (int);' \
6024 cat >conftest.
$ac_ext <<_ACEOF
6027 cat confdefs.h
>>conftest.
$ac_ext
6028 cat >>conftest.
$ac_ext <<_ACEOF
6029 /* end confdefs.h. */
6040 rm -f conftest.
$ac_objext
6041 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6042 (eval $ac_compile) 2>conftest.er1
6044 grep -v '^ *+' conftest.er1
>conftest.err
6046 cat conftest.err
>&5
6047 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6048 (exit $ac_status); } &&
6049 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
6050 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6053 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6054 (exit $ac_status); }; } &&
6055 { ac_try
='test -s conftest.$ac_objext'
6056 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6059 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6060 (exit $ac_status); }; }; then
6063 echo "$as_me: failed program was:" >&5
6064 sed 's/^/| /' conftest.
$ac_ext >&5
6068 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
6069 cat >conftest.
$ac_ext <<_ACEOF
6072 cat confdefs.h
>>conftest.
$ac_ext
6073 cat >>conftest.
$ac_ext <<_ACEOF
6074 /* end confdefs.h. */
6084 rm -f conftest.
$ac_objext
6085 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6086 (eval $ac_compile) 2>conftest.er1
6088 grep -v '^ *+' conftest.er1
>conftest.err
6090 cat conftest.err
>&5
6091 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6092 (exit $ac_status); } &&
6093 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
6094 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6097 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6098 (exit $ac_status); }; } &&
6099 { ac_try
='test -s conftest.$ac_objext'
6100 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6103 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6104 (exit $ac_status); }; }; then
6107 echo "$as_me: failed program was:" >&5
6108 sed 's/^/| /' conftest.
$ac_ext >&5
6111 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
6114 if test -n "$ac_declaration"; then
6115 echo '#ifdef __cplusplus' >>confdefs.h
6116 echo $ac_declaration >>confdefs.h
6117 echo '#endif' >>confdefs.h
6121 echo "$as_me: failed program was:" >&5
6122 sed 's/^/| /' conftest.
$ac_ext >&5
6125 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
6127 ac_cpp
='$CPP $CPPFLAGS'
6128 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6129 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6130 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
6132 depcc
="$CC" am_compiler_list
=
6134 echo "$as_me:$LINENO: checking dependency style of $depcc" >&5
6135 echo $ECHO_N "checking dependency style of $depcc... $ECHO_C" >&6
6136 if test "${am_cv_CC_dependencies_compiler_type+set}" = set; then
6137 echo $ECHO_N "(cached) $ECHO_C" >&6
6139 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
6140 # We make a subdir and do the tests there. Otherwise we can end up
6141 # making bogus files that we don't know about and never remove. For
6142 # instance it was reported that on HP-UX the gcc test will end up
6143 # making a dummy file named `D' -- because `-MD' means `put the output
6146 # Copy depcomp to subdir because otherwise we won't find it if we're
6147 # using a relative directory.
6148 cp "$am_depcomp" conftest.dir
6150 # We will build objects and dependencies in a subdirectory because
6151 # it helps to detect inapplicable dependency modes. For instance
6152 # both Tru64's cc and ICC support -MD to output dependencies as a
6153 # side effect of compilation, but ICC will put the dependencies in
6154 # the current directory while Tru64 will put them in the object
6158 am_cv_CC_dependencies_compiler_type
=none
6159 if test "$am_compiler_list" = ""; then
6160 am_compiler_list
=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
6162 for depmode
in $am_compiler_list; do
6163 # Setup a source with many dependencies, because some compilers
6164 # like to wrap large dependency lists on column 80 (with \), and
6165 # we should not choose a depcomp mode which is confused by this.
6167 # We need to recreate these files for each test, as the compiler may
6168 # overwrite some of them when testing with obscure command lines.
6169 # This happens at least with the AIX C compiler.
6171 for i
in 1 2 3 4 5 6; do
6172 echo '#include "conftst'$i'.h"' >> sub
/conftest.c
6173 # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
6174 # Solaris 8's {/usr,}/bin/sh.
6175 touch sub
/conftst
$i.h
6177 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
6181 # after this tag, mechanisms are not by side-effect, so they'll
6182 # only be used when explicitly requested
6183 if test "x$enable_dependency_tracking" = xyes
; then
6191 # We check with `-c' and `-o' for the sake of the "dashmstdout"
6192 # mode. It turns out that the SunPro C++ compiler does not properly
6193 # handle `-M -o', and we need to detect this.
6194 if depmode
=$depmode \
6195 source=sub
/conftest.c object
=sub
/conftest.
${OBJEXT-o} \
6196 depfile
=sub
/conftest.Po tmpdepfile
=sub
/conftest.TPo \
6197 $SHELL .
/depcomp
$depcc -c -o sub
/conftest.
${OBJEXT-o} sub
/conftest.c \
6198 >/dev
/null
2>conftest.err
&&
6199 grep sub
/conftst6.h sub
/conftest.Po
> /dev
/null
2>&1 &&
6200 grep sub
/conftest.
${OBJEXT-o} sub
/conftest.Po
> /dev
/null
2>&1 &&
6201 ${MAKE-make} -s -f confmf
> /dev
/null
2>&1; then
6202 # icc doesn't choke on unknown options, it will just issue warnings
6203 # or remarks (even with -Werror). So we grep stderr for any message
6204 # that says an option was ignored or not supported.
6205 # When given -MP, icc 7.0 and 7.1 complain thusly:
6206 # icc: Command line warning: ignoring option '-M'; no argument required
6207 # The diagnosis changed in icc 8.0:
6208 # icc: Command line remark: option '-MP' not supported
6209 if (grep 'ignoring option' conftest.err ||
6210 grep 'not supported' conftest.err
) >/dev
/null
2>&1; then :; else
6211 am_cv_CC_dependencies_compiler_type
=$depmode
6220 am_cv_CC_dependencies_compiler_type
=none
6224 echo "$as_me:$LINENO: result: $am_cv_CC_dependencies_compiler_type" >&5
6225 echo "${ECHO_T}$am_cv_CC_dependencies_compiler_type" >&6
6226 CCDEPMODE
=depmode
=$am_cv_CC_dependencies_compiler_type
6231 test "x$enable_dependency_tracking" != xno \
6232 && test "$am_cv_CC_dependencies_compiler_type" = gcc3
; then
6234 am__fastdepCC_FALSE
='#'
6236 am__fastdepCC_TRUE
='#'
6237 am__fastdepCC_FALSE
=
6242 ac_cpp
='$CPP $CPPFLAGS'
6243 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6244 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6245 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
6246 echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5
6247 echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6
6248 # On Suns, sometimes $CPP names a directory.
6249 if test -n "$CPP" && test -d "$CPP"; then
6252 if test -z "$CPP"; then
6253 if test "${ac_cv_prog_CPP+set}" = set; then
6254 echo $ECHO_N "(cached) $ECHO_C" >&6
6256 # Double quotes because CPP needs to be expanded
6257 for CPP
in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
6260 for ac_c_preproc_warn_flag
in '' yes
6262 # Use a header file that comes with gcc, so configuring glibc
6263 # with a fresh cross-compiler works.
6264 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
6265 # <limits.h> exists even on freestanding compilers.
6266 # On the NeXT, cc -E runs the code through the compiler's parser,
6267 # not just through cpp. "Syntax error" is here to catch this case.
6268 cat >conftest.
$ac_ext <<_ACEOF
6271 cat confdefs.h
>>conftest.
$ac_ext
6272 cat >>conftest.
$ac_ext <<_ACEOF
6273 /* end confdefs.h. */
6275 # include <limits.h>
6277 # include <assert.h>
6281 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
6282 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
6284 grep -v '^ *+' conftest.er1
>conftest.err
6286 cat conftest.err
>&5
6287 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6288 (exit $ac_status); } >/dev
/null
; then
6289 if test -s conftest.err
; then
6290 ac_cpp_err
=$ac_c_preproc_warn_flag
6291 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
6298 if test -z "$ac_cpp_err"; then
6301 echo "$as_me: failed program was:" >&5
6302 sed 's/^/| /' conftest.
$ac_ext >&5
6304 # Broken: fails on valid input.
6307 rm -f conftest.err conftest.
$ac_ext
6309 # OK, works on sane cases. Now check whether non-existent headers
6310 # can be detected and how.
6311 cat >conftest.
$ac_ext <<_ACEOF
6314 cat confdefs.h
>>conftest.
$ac_ext
6315 cat >>conftest.
$ac_ext <<_ACEOF
6316 /* end confdefs.h. */
6317 #include <ac_nonexistent.h>
6319 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
6320 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
6322 grep -v '^ *+' conftest.er1
>conftest.err
6324 cat conftest.err
>&5
6325 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6326 (exit $ac_status); } >/dev
/null
; then
6327 if test -s conftest.err
; then
6328 ac_cpp_err
=$ac_c_preproc_warn_flag
6329 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
6336 if test -z "$ac_cpp_err"; then
6337 # Broken: success on invalid input.
6340 echo "$as_me: failed program was:" >&5
6341 sed 's/^/| /' conftest.
$ac_ext >&5
6343 # Passes both tests.
6347 rm -f conftest.err conftest.
$ac_ext
6350 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
6351 rm -f conftest.err conftest.
$ac_ext
6352 if $ac_preproc_ok; then
6364 echo "$as_me:$LINENO: result: $CPP" >&5
6365 echo "${ECHO_T}$CPP" >&6
6367 for ac_c_preproc_warn_flag
in '' yes
6369 # Use a header file that comes with gcc, so configuring glibc
6370 # with a fresh cross-compiler works.
6371 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
6372 # <limits.h> exists even on freestanding compilers.
6373 # On the NeXT, cc -E runs the code through the compiler's parser,
6374 # not just through cpp. "Syntax error" is here to catch this case.
6375 cat >conftest.
$ac_ext <<_ACEOF
6378 cat confdefs.h
>>conftest.
$ac_ext
6379 cat >>conftest.
$ac_ext <<_ACEOF
6380 /* end confdefs.h. */
6382 # include <limits.h>
6384 # include <assert.h>
6388 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
6389 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
6391 grep -v '^ *+' conftest.er1
>conftest.err
6393 cat conftest.err
>&5
6394 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6395 (exit $ac_status); } >/dev
/null
; then
6396 if test -s conftest.err
; then
6397 ac_cpp_err
=$ac_c_preproc_warn_flag
6398 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
6405 if test -z "$ac_cpp_err"; then
6408 echo "$as_me: failed program was:" >&5
6409 sed 's/^/| /' conftest.
$ac_ext >&5
6411 # Broken: fails on valid input.
6414 rm -f conftest.err conftest.
$ac_ext
6416 # OK, works on sane cases. Now check whether non-existent headers
6417 # can be detected and how.
6418 cat >conftest.
$ac_ext <<_ACEOF
6421 cat confdefs.h
>>conftest.
$ac_ext
6422 cat >>conftest.
$ac_ext <<_ACEOF
6423 /* end confdefs.h. */
6424 #include <ac_nonexistent.h>
6426 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
6427 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
6429 grep -v '^ *+' conftest.er1
>conftest.err
6431 cat conftest.err
>&5
6432 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6433 (exit $ac_status); } >/dev
/null
; then
6434 if test -s conftest.err
; then
6435 ac_cpp_err
=$ac_c_preproc_warn_flag
6436 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
6443 if test -z "$ac_cpp_err"; then
6444 # Broken: success on invalid input.
6447 echo "$as_me: failed program was:" >&5
6448 sed 's/^/| /' conftest.
$ac_ext >&5
6450 # Passes both tests.
6454 rm -f conftest.err conftest.
$ac_ext
6457 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
6458 rm -f conftest.err conftest.
$ac_ext
6459 if $ac_preproc_ok; then
6462 { { echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check
6463 See \`config.log' for more details." >&5
6464 echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check
6465 See \`config.log' for more details." >&2;}
6466 { (exit 1); exit 1; }; }
6470 ac_cpp
='$CPP $CPPFLAGS'
6471 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6472 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6473 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
6476 ac_cpp
='$CXXCPP $CPPFLAGS'
6477 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6478 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6479 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
6480 if test -n "$ac_tool_prefix"; then
6481 for ac_prog
in $CCC g
++ c
++ gpp aCC CC cxx cc
++ cl FCC KCC RCC xlC_r xlC
6483 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
6484 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
6485 echo "$as_me:$LINENO: checking for $ac_word" >&5
6486 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
6487 if test "${ac_cv_prog_CXX+set}" = set; then
6488 echo $ECHO_N "(cached) $ECHO_C" >&6
6490 if test -n "$CXX"; then
6491 ac_cv_prog_CXX
="$CXX" # Let the user override the test.
6493 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6497 test -z "$as_dir" && as_dir
=.
6498 for ac_exec_ext
in '' $ac_executable_extensions; do
6499 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6500 ac_cv_prog_CXX
="$ac_tool_prefix$ac_prog"
6501 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6510 if test -n "$CXX"; then
6511 echo "$as_me:$LINENO: result: $CXX" >&5
6512 echo "${ECHO_T}$CXX" >&6
6514 echo "$as_me:$LINENO: result: no" >&5
6515 echo "${ECHO_T}no" >&6
6518 test -n "$CXX" && break
6521 if test -z "$CXX"; then
6523 for ac_prog
in $CCC g
++ c
++ gpp aCC CC cxx cc
++ cl FCC KCC RCC xlC_r xlC
6525 # Extract the first word of "$ac_prog", so it can be a program name with args.
6526 set dummy
$ac_prog; ac_word
=$2
6527 echo "$as_me:$LINENO: checking for $ac_word" >&5
6528 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
6529 if test "${ac_cv_prog_ac_ct_CXX+set}" = set; then
6530 echo $ECHO_N "(cached) $ECHO_C" >&6
6532 if test -n "$ac_ct_CXX"; then
6533 ac_cv_prog_ac_ct_CXX
="$ac_ct_CXX" # Let the user override the test.
6535 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6539 test -z "$as_dir" && as_dir
=.
6540 for ac_exec_ext
in '' $ac_executable_extensions; do
6541 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6542 ac_cv_prog_ac_ct_CXX
="$ac_prog"
6543 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6551 ac_ct_CXX
=$ac_cv_prog_ac_ct_CXX
6552 if test -n "$ac_ct_CXX"; then
6553 echo "$as_me:$LINENO: result: $ac_ct_CXX" >&5
6554 echo "${ECHO_T}$ac_ct_CXX" >&6
6556 echo "$as_me:$LINENO: result: no" >&5
6557 echo "${ECHO_T}no" >&6
6560 test -n "$ac_ct_CXX" && break
6562 test -n "$ac_ct_CXX" || ac_ct_CXX
="g++"
6568 # Provide some information about the compiler.
6569 echo "$as_me:$LINENO:" \
6570 "checking for C++ compiler version" >&5
6571 ac_compiler
=`set X $ac_compile; echo $2`
6572 { (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5
6573 (eval $ac_compiler --version </dev
/null
>&5) 2>&5
6575 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6576 (exit $ac_status); }
6577 { (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5
6578 (eval $ac_compiler -v </dev
/null
>&5) 2>&5
6580 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6581 (exit $ac_status); }
6582 { (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5
6583 (eval $ac_compiler -V </dev
/null
>&5) 2>&5
6585 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6586 (exit $ac_status); }
6588 echo "$as_me:$LINENO: checking whether we are using the GNU C++ compiler" >&5
6589 echo $ECHO_N "checking whether we are using the GNU C++ compiler... $ECHO_C" >&6
6590 if test "${ac_cv_cxx_compiler_gnu+set}" = set; then
6591 echo $ECHO_N "(cached) $ECHO_C" >&6
6593 cat >conftest.
$ac_ext <<_ACEOF
6596 cat confdefs.h
>>conftest.
$ac_ext
6597 cat >>conftest.
$ac_ext <<_ACEOF
6598 /* end confdefs.h. */
6611 rm -f conftest.
$ac_objext
6612 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6613 (eval $ac_compile) 2>conftest.er1
6615 grep -v '^ *+' conftest.er1
>conftest.err
6617 cat conftest.err
>&5
6618 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6619 (exit $ac_status); } &&
6620 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
6621 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6624 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6625 (exit $ac_status); }; } &&
6626 { ac_try
='test -s conftest.$ac_objext'
6627 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6630 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6631 (exit $ac_status); }; }; then
6634 echo "$as_me: failed program was:" >&5
6635 sed 's/^/| /' conftest.
$ac_ext >&5
6639 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
6640 ac_cv_cxx_compiler_gnu
=$ac_compiler_gnu
6643 echo "$as_me:$LINENO: result: $ac_cv_cxx_compiler_gnu" >&5
6644 echo "${ECHO_T}$ac_cv_cxx_compiler_gnu" >&6
6645 GXX
=`test $ac_compiler_gnu = yes && echo yes`
6646 ac_test_CXXFLAGS
=${CXXFLAGS+set}
6647 ac_save_CXXFLAGS
=$CXXFLAGS
6649 echo "$as_me:$LINENO: checking whether $CXX accepts -g" >&5
6650 echo $ECHO_N "checking whether $CXX accepts -g... $ECHO_C" >&6
6651 if test "${ac_cv_prog_cxx_g+set}" = set; then
6652 echo $ECHO_N "(cached) $ECHO_C" >&6
6654 cat >conftest.
$ac_ext <<_ACEOF
6657 cat confdefs.h
>>conftest.
$ac_ext
6658 cat >>conftest.
$ac_ext <<_ACEOF
6659 /* end confdefs.h. */
6669 rm -f conftest.
$ac_objext
6670 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6671 (eval $ac_compile) 2>conftest.er1
6673 grep -v '^ *+' conftest.er1
>conftest.err
6675 cat conftest.err
>&5
6676 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6677 (exit $ac_status); } &&
6678 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
6679 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6682 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6683 (exit $ac_status); }; } &&
6684 { ac_try
='test -s conftest.$ac_objext'
6685 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6688 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6689 (exit $ac_status); }; }; then
6690 ac_cv_prog_cxx_g
=yes
6692 echo "$as_me: failed program was:" >&5
6693 sed 's/^/| /' conftest.
$ac_ext >&5
6697 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
6699 echo "$as_me:$LINENO: result: $ac_cv_prog_cxx_g" >&5
6700 echo "${ECHO_T}$ac_cv_prog_cxx_g" >&6
6701 if test "$ac_test_CXXFLAGS" = set; then
6702 CXXFLAGS
=$ac_save_CXXFLAGS
6703 elif test $ac_cv_prog_cxx_g = yes; then
6704 if test "$GXX" = yes; then
6710 if test "$GXX" = yes; then
6716 for ac_declaration
in \
6718 'extern "C" void std::exit (int) throw (); using std::exit;' \
6719 'extern "C" void std::exit (int); using std::exit;' \
6720 'extern "C" void exit (int) throw ();' \
6721 'extern "C" void exit (int);' \
6724 cat >conftest.
$ac_ext <<_ACEOF
6727 cat confdefs.h
>>conftest.
$ac_ext
6728 cat >>conftest.
$ac_ext <<_ACEOF
6729 /* end confdefs.h. */
6740 rm -f conftest.
$ac_objext
6741 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6742 (eval $ac_compile) 2>conftest.er1
6744 grep -v '^ *+' conftest.er1
>conftest.err
6746 cat conftest.err
>&5
6747 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6748 (exit $ac_status); } &&
6749 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
6750 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6753 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6754 (exit $ac_status); }; } &&
6755 { ac_try
='test -s conftest.$ac_objext'
6756 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6759 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6760 (exit $ac_status); }; }; then
6763 echo "$as_me: failed program was:" >&5
6764 sed 's/^/| /' conftest.
$ac_ext >&5
6768 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
6769 cat >conftest.
$ac_ext <<_ACEOF
6772 cat confdefs.h
>>conftest.
$ac_ext
6773 cat >>conftest.
$ac_ext <<_ACEOF
6774 /* end confdefs.h. */
6784 rm -f conftest.
$ac_objext
6785 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6786 (eval $ac_compile) 2>conftest.er1
6788 grep -v '^ *+' conftest.er1
>conftest.err
6790 cat conftest.err
>&5
6791 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6792 (exit $ac_status); } &&
6793 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
6794 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6797 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6798 (exit $ac_status); }; } &&
6799 { ac_try
='test -s conftest.$ac_objext'
6800 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6803 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6804 (exit $ac_status); }; }; then
6807 echo "$as_me: failed program was:" >&5
6808 sed 's/^/| /' conftest.
$ac_ext >&5
6811 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
6814 if test -n "$ac_declaration"; then
6815 echo '#ifdef __cplusplus' >>confdefs.h
6816 echo $ac_declaration >>confdefs.h
6817 echo '#endif' >>confdefs.h
6821 ac_cpp
='$CPP $CPPFLAGS'
6822 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6823 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6824 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
6826 depcc
="$CXX" am_compiler_list
=
6828 echo "$as_me:$LINENO: checking dependency style of $depcc" >&5
6829 echo $ECHO_N "checking dependency style of $depcc... $ECHO_C" >&6
6830 if test "${am_cv_CXX_dependencies_compiler_type+set}" = set; then
6831 echo $ECHO_N "(cached) $ECHO_C" >&6
6833 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
6834 # We make a subdir and do the tests there. Otherwise we can end up
6835 # making bogus files that we don't know about and never remove. For
6836 # instance it was reported that on HP-UX the gcc test will end up
6837 # making a dummy file named `D' -- because `-MD' means `put the output
6840 # Copy depcomp to subdir because otherwise we won't find it if we're
6841 # using a relative directory.
6842 cp "$am_depcomp" conftest.dir
6844 # We will build objects and dependencies in a subdirectory because
6845 # it helps to detect inapplicable dependency modes. For instance
6846 # both Tru64's cc and ICC support -MD to output dependencies as a
6847 # side effect of compilation, but ICC will put the dependencies in
6848 # the current directory while Tru64 will put them in the object
6852 am_cv_CXX_dependencies_compiler_type
=none
6853 if test "$am_compiler_list" = ""; then
6854 am_compiler_list
=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
6856 for depmode
in $am_compiler_list; do
6857 # Setup a source with many dependencies, because some compilers
6858 # like to wrap large dependency lists on column 80 (with \), and
6859 # we should not choose a depcomp mode which is confused by this.
6861 # We need to recreate these files for each test, as the compiler may
6862 # overwrite some of them when testing with obscure command lines.
6863 # This happens at least with the AIX C compiler.
6865 for i
in 1 2 3 4 5 6; do
6866 echo '#include "conftst'$i'.h"' >> sub
/conftest.c
6867 # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
6868 # Solaris 8's {/usr,}/bin/sh.
6869 touch sub
/conftst
$i.h
6871 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
6875 # after this tag, mechanisms are not by side-effect, so they'll
6876 # only be used when explicitly requested
6877 if test "x$enable_dependency_tracking" = xyes
; then
6885 # We check with `-c' and `-o' for the sake of the "dashmstdout"
6886 # mode. It turns out that the SunPro C++ compiler does not properly
6887 # handle `-M -o', and we need to detect this.
6888 if depmode
=$depmode \
6889 source=sub
/conftest.c object
=sub
/conftest.
${OBJEXT-o} \
6890 depfile
=sub
/conftest.Po tmpdepfile
=sub
/conftest.TPo \
6891 $SHELL .
/depcomp
$depcc -c -o sub
/conftest.
${OBJEXT-o} sub
/conftest.c \
6892 >/dev
/null
2>conftest.err
&&
6893 grep sub
/conftst6.h sub
/conftest.Po
> /dev
/null
2>&1 &&
6894 grep sub
/conftest.
${OBJEXT-o} sub
/conftest.Po
> /dev
/null
2>&1 &&
6895 ${MAKE-make} -s -f confmf
> /dev
/null
2>&1; then
6896 # icc doesn't choke on unknown options, it will just issue warnings
6897 # or remarks (even with -Werror). So we grep stderr for any message
6898 # that says an option was ignored or not supported.
6899 # When given -MP, icc 7.0 and 7.1 complain thusly:
6900 # icc: Command line warning: ignoring option '-M'; no argument required
6901 # The diagnosis changed in icc 8.0:
6902 # icc: Command line remark: option '-MP' not supported
6903 if (grep 'ignoring option' conftest.err ||
6904 grep 'not supported' conftest.err
) >/dev
/null
2>&1; then :; else
6905 am_cv_CXX_dependencies_compiler_type
=$depmode
6914 am_cv_CXX_dependencies_compiler_type
=none
6918 echo "$as_me:$LINENO: result: $am_cv_CXX_dependencies_compiler_type" >&5
6919 echo "${ECHO_T}$am_cv_CXX_dependencies_compiler_type" >&6
6920 CXXDEPMODE
=depmode
=$am_cv_CXX_dependencies_compiler_type
6925 test "x$enable_dependency_tracking" != xno \
6926 && test "$am_cv_CXX_dependencies_compiler_type" = gcc3
; then
6927 am__fastdepCXX_TRUE
=
6928 am__fastdepCXX_FALSE
='#'
6930 am__fastdepCXX_TRUE
='#'
6931 am__fastdepCXX_FALSE
=
6935 ac_cpp
='$CXXCPP $CPPFLAGS'
6936 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6937 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6938 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
6939 echo "$as_me:$LINENO: checking how to run the C++ preprocessor" >&5
6940 echo $ECHO_N "checking how to run the C++ preprocessor... $ECHO_C" >&6
6941 if test -z "$CXXCPP"; then
6942 if test "${ac_cv_prog_CXXCPP+set}" = set; then
6943 echo $ECHO_N "(cached) $ECHO_C" >&6
6945 # Double quotes because CXXCPP needs to be expanded
6946 for CXXCPP
in "$CXX -E" "/lib/cpp"
6949 for ac_cxx_preproc_warn_flag
in '' yes
6951 # Use a header file that comes with gcc, so configuring glibc
6952 # with a fresh cross-compiler works.
6953 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
6954 # <limits.h> exists even on freestanding compilers.
6955 # On the NeXT, cc -E runs the code through the compiler's parser,
6956 # not just through cpp. "Syntax error" is here to catch this case.
6957 cat >conftest.
$ac_ext <<_ACEOF
6960 cat confdefs.h
>>conftest.
$ac_ext
6961 cat >>conftest.
$ac_ext <<_ACEOF
6962 /* end confdefs.h. */
6964 # include <limits.h>
6966 # include <assert.h>
6970 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
6971 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
6973 grep -v '^ *+' conftest.er1
>conftest.err
6975 cat conftest.err
>&5
6976 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6977 (exit $ac_status); } >/dev
/null
; then
6978 if test -s conftest.err
; then
6979 ac_cpp_err
=$ac_cxx_preproc_warn_flag
6980 ac_cpp_err
=$ac_cpp_err$ac_cxx_werror_flag
6987 if test -z "$ac_cpp_err"; then
6990 echo "$as_me: failed program was:" >&5
6991 sed 's/^/| /' conftest.
$ac_ext >&5
6993 # Broken: fails on valid input.
6996 rm -f conftest.err conftest.
$ac_ext
6998 # OK, works on sane cases. Now check whether non-existent headers
6999 # can be detected and how.
7000 cat >conftest.
$ac_ext <<_ACEOF
7003 cat confdefs.h
>>conftest.
$ac_ext
7004 cat >>conftest.
$ac_ext <<_ACEOF
7005 /* end confdefs.h. */
7006 #include <ac_nonexistent.h>
7008 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
7009 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
7011 grep -v '^ *+' conftest.er1
>conftest.err
7013 cat conftest.err
>&5
7014 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7015 (exit $ac_status); } >/dev
/null
; then
7016 if test -s conftest.err
; then
7017 ac_cpp_err
=$ac_cxx_preproc_warn_flag
7018 ac_cpp_err
=$ac_cpp_err$ac_cxx_werror_flag
7025 if test -z "$ac_cpp_err"; then
7026 # Broken: success on invalid input.
7029 echo "$as_me: failed program was:" >&5
7030 sed 's/^/| /' conftest.
$ac_ext >&5
7032 # Passes both tests.
7036 rm -f conftest.err conftest.
$ac_ext
7039 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
7040 rm -f conftest.err conftest.
$ac_ext
7041 if $ac_preproc_ok; then
7046 ac_cv_prog_CXXCPP
=$CXXCPP
7049 CXXCPP
=$ac_cv_prog_CXXCPP
7051 ac_cv_prog_CXXCPP
=$CXXCPP
7053 echo "$as_me:$LINENO: result: $CXXCPP" >&5
7054 echo "${ECHO_T}$CXXCPP" >&6
7056 for ac_cxx_preproc_warn_flag
in '' yes
7058 # Use a header file that comes with gcc, so configuring glibc
7059 # with a fresh cross-compiler works.
7060 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
7061 # <limits.h> exists even on freestanding compilers.
7062 # On the NeXT, cc -E runs the code through the compiler's parser,
7063 # not just through cpp. "Syntax error" is here to catch this case.
7064 cat >conftest.
$ac_ext <<_ACEOF
7067 cat confdefs.h
>>conftest.
$ac_ext
7068 cat >>conftest.
$ac_ext <<_ACEOF
7069 /* end confdefs.h. */
7071 # include <limits.h>
7073 # include <assert.h>
7077 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
7078 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
7080 grep -v '^ *+' conftest.er1
>conftest.err
7082 cat conftest.err
>&5
7083 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7084 (exit $ac_status); } >/dev
/null
; then
7085 if test -s conftest.err
; then
7086 ac_cpp_err
=$ac_cxx_preproc_warn_flag
7087 ac_cpp_err
=$ac_cpp_err$ac_cxx_werror_flag
7094 if test -z "$ac_cpp_err"; then
7097 echo "$as_me: failed program was:" >&5
7098 sed 's/^/| /' conftest.
$ac_ext >&5
7100 # Broken: fails on valid input.
7103 rm -f conftest.err conftest.
$ac_ext
7105 # OK, works on sane cases. Now check whether non-existent headers
7106 # can be detected and how.
7107 cat >conftest.
$ac_ext <<_ACEOF
7110 cat confdefs.h
>>conftest.
$ac_ext
7111 cat >>conftest.
$ac_ext <<_ACEOF
7112 /* end confdefs.h. */
7113 #include <ac_nonexistent.h>
7115 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
7116 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
7118 grep -v '^ *+' conftest.er1
>conftest.err
7120 cat conftest.err
>&5
7121 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7122 (exit $ac_status); } >/dev
/null
; then
7123 if test -s conftest.err
; then
7124 ac_cpp_err
=$ac_cxx_preproc_warn_flag
7125 ac_cpp_err
=$ac_cpp_err$ac_cxx_werror_flag
7132 if test -z "$ac_cpp_err"; then
7133 # Broken: success on invalid input.
7136 echo "$as_me: failed program was:" >&5
7137 sed 's/^/| /' conftest.
$ac_ext >&5
7139 # Passes both tests.
7143 rm -f conftest.err conftest.
$ac_ext
7146 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
7147 rm -f conftest.err conftest.
$ac_ext
7148 if $ac_preproc_ok; then
7151 { { echo "$as_me:$LINENO: error: C++ preprocessor \"$CXXCPP\" fails sanity check
7152 See \`config.log' for more details." >&5
7153 echo "$as_me: error: C++ preprocessor \"$CXXCPP\" fails sanity check
7154 See \`config.log' for more details." >&2;}
7155 { (exit 1); exit 1; }; }
7159 ac_cpp
='$CPP $CPPFLAGS'
7160 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7161 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7162 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
7166 LIBTOOL_DEPS
=$LIBTOOL_DEPS" $ac_aux_dir/ltcf-cxx.sh"
7168 lt_save_CFLAGS
="$CFLAGS"
7169 AR
="$AR" LTCC
="$CC" CC
="$CXX" CXX
="$CXX" CFLAGS
="$CXXFLAGS" CPPFLAGS
="$CPPFLAGS" \
7170 MAGIC_CMD
="$MAGIC_CMD" LD
="$LD" LDFLAGS
="$LDFLAGS" LIBS
="$LIBS" \
7171 LN_S
="$LN_S" NM
="$NM" RANLIB
="$RANLIB" STRIP
="$STRIP" \
7172 AS
="$AS" DLLTOOL
="$DLLTOOL" OBJDUMP
="$OBJDUMP" \
7173 objext
="$OBJEXT" exeext
="$EXEEXT" reload_flag
="$reload_flag" \
7174 deplibs_check_method
="$deplibs_check_method" \
7175 file_magic_cmd
="$file_magic_cmd" \
7176 ${CONFIG_SHELL-/bin/sh} $ac_aux_dir/ltconfig
-o libtool
$libtool_flags \
7177 --build="$build" --add-tag=CXX
$ac_aux_dir/ltcf-cxx.sh
$host \
7178 ||
{ { echo "$as_me:$LINENO: error: libtool tag configuration failed" >&5
7179 echo "$as_me: error: libtool tag configuration failed" >&2;}
7180 { (exit 1); exit 1; }; }
7182 CFLAGS
="$lt_save_CFLAGS"
7184 # Redirect the config.log output again, so that the ltconfig log is not
7185 # clobbered by the next message.
7186 exec 5>>.
/config.log
7191 if test "x${COMPILE_JNI}" = xyes
; then
7192 echo "$as_me:$LINENO: checking for ANSI C header files" >&5
7193 echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6
7194 if test "${ac_cv_header_stdc+set}" = set; then
7195 echo $ECHO_N "(cached) $ECHO_C" >&6
7197 cat >conftest.
$ac_ext <<_ACEOF
7200 cat confdefs.h
>>conftest.
$ac_ext
7201 cat >>conftest.
$ac_ext <<_ACEOF
7202 /* end confdefs.h. */
7216 rm -f conftest.
$ac_objext
7217 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7218 (eval $ac_compile) 2>conftest.er1
7220 grep -v '^ *+' conftest.er1
>conftest.err
7222 cat conftest.err
>&5
7223 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7224 (exit $ac_status); } &&
7225 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
7226 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7229 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7230 (exit $ac_status); }; } &&
7231 { ac_try
='test -s conftest.$ac_objext'
7232 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7235 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7236 (exit $ac_status); }; }; then
7237 ac_cv_header_stdc
=yes
7239 echo "$as_me: failed program was:" >&5
7240 sed 's/^/| /' conftest.
$ac_ext >&5
7242 ac_cv_header_stdc
=no
7244 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
7246 if test $ac_cv_header_stdc = yes; then
7247 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
7248 cat >conftest.
$ac_ext <<_ACEOF
7251 cat confdefs.h
>>conftest.
$ac_ext
7252 cat >>conftest.
$ac_ext <<_ACEOF
7253 /* end confdefs.h. */
7257 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
7258 $EGREP "memchr" >/dev
/null
2>&1; then
7261 ac_cv_header_stdc
=no
7267 if test $ac_cv_header_stdc = yes; then
7268 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
7269 cat >conftest.
$ac_ext <<_ACEOF
7272 cat confdefs.h
>>conftest.
$ac_ext
7273 cat >>conftest.
$ac_ext <<_ACEOF
7274 /* end confdefs.h. */
7278 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
7279 $EGREP "free" >/dev
/null
2>&1; then
7282 ac_cv_header_stdc
=no
7288 if test $ac_cv_header_stdc = yes; then
7289 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
7290 if test "$cross_compiling" = yes; then
7293 cat >conftest.
$ac_ext <<_ACEOF
7296 cat confdefs.h
>>conftest.
$ac_ext
7297 cat >>conftest.
$ac_ext <<_ACEOF
7298 /* end confdefs.h. */
7300 #if ((' ' & 0x0FF) == 0x020)
7301 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
7302 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
7304 # define ISLOWER(c) \
7305 (('a' <= (c) && (c) <= 'i') \
7306 || ('j' <= (c) && (c) <= 'r') \
7307 || ('s' <= (c) && (c) <= 'z'))
7308 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
7311 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
7316 for (i = 0; i < 256; i++)
7317 if (XOR (islower (i), ISLOWER (i))
7318 || toupper (i) != TOUPPER (i))
7323 rm -f conftest
$ac_exeext
7324 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
7325 (eval $ac_link) 2>&5
7327 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7328 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
7329 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7332 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7333 (exit $ac_status); }; }; then
7336 echo "$as_me: program exited with status $ac_status" >&5
7337 echo "$as_me: failed program was:" >&5
7338 sed 's/^/| /' conftest.
$ac_ext >&5
7341 ac_cv_header_stdc
=no
7343 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
7347 echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
7348 echo "${ECHO_T}$ac_cv_header_stdc" >&6
7349 if test $ac_cv_header_stdc = yes; then
7351 cat >>confdefs.h
<<\_ACEOF
7352 #define STDC_HEADERS 1
7358 echo "$as_me:$LINENO: checking size of void *" >&5
7359 echo $ECHO_N "checking size of void *... $ECHO_C" >&6
7360 if test "${ac_cv_sizeof_void_p+set}" = set; then
7361 echo $ECHO_N "(cached) $ECHO_C" >&6
7363 for ac_size
in 4 8 1 2 16 12 ; do # List sizes in rough order of prevalence.
7364 cat >conftest.
$ac_ext <<_ACEOF
7367 cat confdefs.h
>>conftest.
$ac_ext
7368 cat >>conftest.
$ac_ext <<_ACEOF
7369 /* end confdefs.h. */
7370 #include "confdefs.h"
7371 #include <sys/types.h>
7377 switch (0) case 0: case (sizeof (void *) == $ac_size):;
7382 rm -f conftest.
$ac_objext
7383 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7384 (eval $ac_compile) 2>conftest.er1
7386 grep -v '^ *+' conftest.er1
>conftest.err
7388 cat conftest.err
>&5
7389 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7390 (exit $ac_status); } &&
7391 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
7392 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7395 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7396 (exit $ac_status); }; } &&
7397 { ac_try
='test -s conftest.$ac_objext'
7398 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7401 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7402 (exit $ac_status); }; }; then
7403 ac_cv_sizeof_void_p
=$ac_size
7405 echo "$as_me: failed program was:" >&5
7406 sed 's/^/| /' conftest.
$ac_ext >&5
7409 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
7410 if test x
$ac_cv_sizeof_void_p != x
; then break; fi
7415 if test x
$ac_cv_sizeof_void_p = x
; then
7416 { { echo "$as_me:$LINENO: error: cannot determine a size for void *" >&5
7417 echo "$as_me: error: cannot determine a size for void *" >&2;}
7418 { (exit 1); exit 1; }; }
7420 echo "$as_me:$LINENO: result: $ac_cv_sizeof_void_p" >&5
7421 echo "${ECHO_T}$ac_cv_sizeof_void_p" >&6
7423 cat >>confdefs.h
<<_ACEOF
7424 #define SIZEOF_VOID_P $ac_cv_sizeof_void_p
7429 echo "$as_me:$LINENO: checking whether byte ordering is bigendian" >&5
7430 echo $ECHO_N "checking whether byte ordering is bigendian... $ECHO_C" >&6
7431 if test "${ac_cv_c_bigendian+set}" = set; then
7432 echo $ECHO_N "(cached) $ECHO_C" >&6
7434 ac_cv_c_bigendian
=unknown
7435 # See if sys/param.h defines the BYTE_ORDER macro.
7436 cat >conftest.
$ac_ext <<_ACEOF
7439 cat confdefs.h
>>conftest.
$ac_ext
7440 cat >>conftest.
$ac_ext <<_ACEOF
7441 /* end confdefs.h. */
7442 #include <sys/types.h>
7443 #include <sys/param.h>
7448 #if !BYTE_ORDER || !BIG_ENDIAN || !LITTLE_ENDIAN
7455 rm -f conftest.
$ac_objext
7456 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7457 (eval $ac_compile) 2>conftest.er1
7459 grep -v '^ *+' conftest.er1
>conftest.err
7461 cat conftest.err
>&5
7462 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7463 (exit $ac_status); } &&
7464 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
7465 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7468 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7469 (exit $ac_status); }; } &&
7470 { ac_try
='test -s conftest.$ac_objext'
7471 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7474 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7475 (exit $ac_status); }; }; then
7476 # It does; now see whether it defined to BIG_ENDIAN or not.
7477 cat >conftest.
$ac_ext <<_ACEOF
7480 cat confdefs.h
>>conftest.
$ac_ext
7481 cat >>conftest.
$ac_ext <<_ACEOF
7482 /* end confdefs.h. */
7483 #include <sys/types.h>
7484 #include <sys/param.h>
7489 #if BYTE_ORDER != BIG_ENDIAN
7496 rm -f conftest.
$ac_objext
7497 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7498 (eval $ac_compile) 2>conftest.er1
7500 grep -v '^ *+' conftest.er1
>conftest.err
7502 cat conftest.err
>&5
7503 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7504 (exit $ac_status); } &&
7505 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
7506 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7509 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7510 (exit $ac_status); }; } &&
7511 { ac_try
='test -s conftest.$ac_objext'
7512 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7515 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7516 (exit $ac_status); }; }; then
7517 ac_cv_c_bigendian
=yes
7519 echo "$as_me: failed program was:" >&5
7520 sed 's/^/| /' conftest.
$ac_ext >&5
7522 ac_cv_c_bigendian
=no
7524 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
7526 echo "$as_me: failed program was:" >&5
7527 sed 's/^/| /' conftest.
$ac_ext >&5
7530 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
7531 if test $ac_cv_c_bigendian = unknown
; then
7532 if test "$cross_compiling" = yes; then
7533 echo $ac_n "cross-compiling... " 2>&6
7535 cat >conftest.
$ac_ext <<_ACEOF
7538 cat confdefs.h
>>conftest.
$ac_ext
7539 cat >>conftest.
$ac_ext <<_ACEOF
7540 /* end confdefs.h. */
7542 /* Are we little or big endian? From Harbison&Steele. */
7546 char c[sizeof (long)];
7549 exit (u.c[sizeof (long) - 1] == 1);
7552 rm -f conftest
$ac_exeext
7553 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
7554 (eval $ac_link) 2>&5
7556 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7557 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
7558 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7561 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7562 (exit $ac_status); }; }; then
7563 ac_cv_c_bigendian
=no
7565 echo "$as_me: program exited with status $ac_status" >&5
7566 echo "$as_me: failed program was:" >&5
7567 sed 's/^/| /' conftest.
$ac_ext >&5
7570 ac_cv_c_bigendian
=yes
7572 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
7576 echo "$as_me:$LINENO: result: $ac_cv_c_bigendian" >&5
7577 echo "${ECHO_T}$ac_cv_c_bigendian" >&6
7578 if test $ac_cv_c_bigendian = unknown
; then
7579 echo "$as_me:$LINENO: checking to probe for byte ordering" >&5
7580 echo $ECHO_N "checking to probe for byte ordering... $ECHO_C" >&6
7582 cat >conftest.c
<<EOF
7583 short ascii_mm[] = { 0x4249, 0x4765, 0x6E44, 0x6961, 0x6E53, 0x7953, 0 };
7584 short ascii_ii[] = { 0x694C, 0x5454, 0x656C, 0x6E45, 0x6944, 0x6E61, 0 };
7585 void _ascii() { char* s = (char*) ascii_mm; s = (char*) ascii_ii; }
7586 short ebcdic_ii[] = { 0x89D3, 0xE3E3, 0x8593, 0x95C5, 0x89C4, 0x9581, 0 };
7587 short ebcdic_mm[] = { 0xC2C9, 0xC785, 0x95C4, 0x8981, 0x95E2, 0xA8E2, 0 };
7588 void _ebcdic() { char* s = (char*) ebcdic_mm; s = (char*) ebcdic_ii; }
7589 int main() { _ascii (); _ebcdic (); return 0; }
7591 if test -f conftest.c
; then
7592 if ${CC-cc} ${CFLAGS} -c conftest.c
-o conftest.o
&& test -f conftest.o
; then
7593 if test `grep -l BIGenDianSyS conftest.o` ; then
7594 echo $ac_n ' big endian probe OK, ' 1>&6
7595 ac_cv_c_bigendian
=yes
7597 if test `grep -l LiTTleEnDian conftest.o` ; then
7598 echo $ac_n ' little endian probe OK, ' 1>&6
7599 if test $ac_cv_c_bigendian = yes ; then
7600 ac_cv_c_bigendian
=unknown
;
7602 ac_cv_c_bigendian
=no
7605 echo $ac_n 'guessing bigendian ... ' >&6
7608 echo "$as_me:$LINENO: result: $ac_cv_c_bigendian" >&5
7609 echo "${ECHO_T}$ac_cv_c_bigendian" >&6
7611 if test $ac_cv_c_bigendian = yes; then
7613 cat >>confdefs.h
<<\_ACEOF
7614 #define WORDS_BIGENDIAN 1
7618 cat >>confdefs.h
<<\_ACEOF
7619 #define HOST_WORDS_BIG_ENDIAN 1
7627 cat >>confdefs.h
<<_ACEOF
7628 #define BYTEORDER $BYTEORDER
7631 if test $ac_cv_c_bigendian = unknown
; then
7632 { { echo "$as_me:$LINENO: error: unknown endianess - sorry, please pre-set ac_cv_c_bigendian" >&5
7633 echo "$as_me: error: unknown endianess - sorry, please pre-set ac_cv_c_bigendian" >&2;}
7634 { (exit 1); exit 1; }; }
7653 for ac_header
in unistd.h sys
/types.h sys
/config.h sys
/ioctl.h \
7655 inttypes.h stdint.h utime.h sys
/utime.h sys
/filio.h \
7662 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
7663 if eval "test \"\${$as_ac_Header+set}\" = set"; then
7664 echo "$as_me:$LINENO: checking for $ac_header" >&5
7665 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
7666 if eval "test \"\${$as_ac_Header+set}\" = set"; then
7667 echo $ECHO_N "(cached) $ECHO_C" >&6
7669 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
7670 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
7672 # Is the header compilable?
7673 echo "$as_me:$LINENO: checking $ac_header usability" >&5
7674 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
7675 cat >conftest.
$ac_ext <<_ACEOF
7678 cat confdefs.h
>>conftest.
$ac_ext
7679 cat >>conftest.
$ac_ext <<_ACEOF
7680 /* end confdefs.h. */
7681 $ac_includes_default
7682 #include <$ac_header>
7684 rm -f conftest.
$ac_objext
7685 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7686 (eval $ac_compile) 2>conftest.er1
7688 grep -v '^ *+' conftest.er1
>conftest.err
7690 cat conftest.err
>&5
7691 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7692 (exit $ac_status); } &&
7693 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
7694 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7697 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7698 (exit $ac_status); }; } &&
7699 { ac_try
='test -s conftest.$ac_objext'
7700 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7703 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7704 (exit $ac_status); }; }; then
7705 ac_header_compiler
=yes
7707 echo "$as_me: failed program was:" >&5
7708 sed 's/^/| /' conftest.
$ac_ext >&5
7710 ac_header_compiler
=no
7712 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
7713 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
7714 echo "${ECHO_T}$ac_header_compiler" >&6
7716 # Is the header present?
7717 echo "$as_me:$LINENO: checking $ac_header presence" >&5
7718 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
7719 cat >conftest.
$ac_ext <<_ACEOF
7722 cat confdefs.h
>>conftest.
$ac_ext
7723 cat >>conftest.
$ac_ext <<_ACEOF
7724 /* end confdefs.h. */
7725 #include <$ac_header>
7727 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
7728 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
7730 grep -v '^ *+' conftest.er1
>conftest.err
7732 cat conftest.err
>&5
7733 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7734 (exit $ac_status); } >/dev
/null
; then
7735 if test -s conftest.err
; then
7736 ac_cpp_err
=$ac_c_preproc_warn_flag
7737 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
7744 if test -z "$ac_cpp_err"; then
7745 ac_header_preproc
=yes
7747 echo "$as_me: failed program was:" >&5
7748 sed 's/^/| /' conftest.
$ac_ext >&5
7750 ac_header_preproc
=no
7752 rm -f conftest.err conftest.
$ac_ext
7753 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
7754 echo "${ECHO_T}$ac_header_preproc" >&6
7756 # So? What about this header?
7757 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
7759 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
7760 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
7761 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
7762 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
7763 ac_header_preproc
=yes
7766 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
7767 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
7768 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
7769 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
7770 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
7771 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
7772 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
7773 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
7774 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
7775 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
7776 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
7777 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
7780 ## -------------------------------- ##
7781 ## Report this to classpath@gnu.org ##
7782 ## -------------------------------- ##
7785 sed "s/^/$as_me: WARNING: /" >&2
7788 echo "$as_me:$LINENO: checking for $ac_header" >&5
7789 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
7790 if eval "test \"\${$as_ac_Header+set}\" = set"; then
7791 echo $ECHO_N "(cached) $ECHO_C" >&6
7793 eval "$as_ac_Header=\$ac_header_preproc"
7795 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
7796 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
7799 if test `eval echo '${'$as_ac_Header'}'` = yes; then
7800 cat >>confdefs.h
<<_ACEOF
7801 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
7809 cat >conftest.
$ac_ext <<_ACEOF
7812 cat confdefs.h
>>conftest.
$ac_ext
7813 cat >>conftest.
$ac_ext <<_ACEOF
7814 /* end confdefs.h. */
7818 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
7819 $EGREP "uint32_t" >/dev
/null
2>&1; then
7821 cat >>confdefs.h
<<\_ACEOF
7822 #define HAVE_INT32_DEFINED 1
7828 cat >conftest.
$ac_ext <<_ACEOF
7831 cat confdefs.h
>>conftest.
$ac_ext
7832 cat >>conftest.
$ac_ext <<_ACEOF
7833 /* end confdefs.h. */
7834 #include <inttypes.h>
7837 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
7838 $EGREP "uint32_t" >/dev
/null
2>&1; then
7840 cat >>confdefs.h
<<\_ACEOF
7841 #define HAVE_INT32_DEFINED 1
7847 cat >conftest.
$ac_ext <<_ACEOF
7850 cat confdefs.h
>>conftest.
$ac_ext
7851 cat >>conftest.
$ac_ext <<_ACEOF
7852 /* end confdefs.h. */
7853 #include <sys/types.h>
7856 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
7857 $EGREP "u_int32_t" >/dev
/null
2>&1; then
7859 cat >>confdefs.h
<<\_ACEOF
7860 #define HAVE_BSD_INT32_DEFINED 1
7866 cat >conftest.
$ac_ext <<_ACEOF
7869 cat confdefs.h
>>conftest.
$ac_ext
7870 cat >>conftest.
$ac_ext <<_ACEOF
7871 /* end confdefs.h. */
7872 #include <sys/config.h>
7875 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
7876 $EGREP "u_int32_t" >/dev
/null
2>&1; then
7878 cat >>confdefs.h
<<\_ACEOF
7879 #define HAVE_BSD_INT32_DEFINED 1
7928 for ac_func
in ftruncate fsync
select \
7929 gethostname socket strerror fork pipe execve open close \
7930 lseek fstat
read write htonl memset htons connect \
7931 getsockname getpeername
bind listen accept \
7932 recvfrom send sendto setsockopt getsockopt
time mktime \
7936 mmap munmap mincore msync madvise getpagesize sysconf \
7939 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
7940 echo "$as_me:$LINENO: checking for $ac_func" >&5
7941 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
7942 if eval "test \"\${$as_ac_var+set}\" = set"; then
7943 echo $ECHO_N "(cached) $ECHO_C" >&6
7945 cat >conftest.
$ac_ext <<_ACEOF
7948 cat confdefs.h
>>conftest.
$ac_ext
7949 cat >>conftest.
$ac_ext <<_ACEOF
7950 /* end confdefs.h. */
7951 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
7952 For example, HP-UX 11i <limits.h> declares gettimeofday. */
7953 #define $ac_func innocuous_$ac_func
7955 /* System header to define __stub macros and hopefully few prototypes,
7956 which can conflict with char $ac_func (); below.
7957 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
7958 <limits.h> exists even on freestanding compilers. */
7961 # include <limits.h>
7963 # include <assert.h>
7968 /* Override any gcc2 internal prototype to avoid an error. */
7973 /* We use char because int might match the return type of a gcc2
7974 builtin and then its argument prototype would still apply. */
7976 /* The GNU C library defines this for functions which it implements
7977 to always fail with ENOSYS. Some functions are actually named
7978 something starting with __ and the normal name is an alias. */
7979 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
7982 char (*f) () = $ac_func;
7991 return f != $ac_func;
7996 rm -f conftest.
$ac_objext conftest
$ac_exeext
7997 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
7998 (eval $ac_link) 2>conftest.er1
8000 grep -v '^ *+' conftest.er1
>conftest.err
8002 cat conftest.err
>&5
8003 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8004 (exit $ac_status); } &&
8005 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
8006 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8009 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8010 (exit $ac_status); }; } &&
8011 { ac_try
='test -s conftest$ac_exeext'
8012 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8015 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8016 (exit $ac_status); }; }; then
8017 eval "$as_ac_var=yes"
8019 echo "$as_me: failed program was:" >&5
8020 sed 's/^/| /' conftest.
$ac_ext >&5
8022 eval "$as_ac_var=no"
8024 rm -f conftest.err conftest.
$ac_objext \
8025 conftest
$ac_exeext conftest.
$ac_ext
8027 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
8028 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
8029 if test `eval echo '${'$as_ac_var'}'` = yes; then
8030 cat >>confdefs.h
<<_ACEOF
8031 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
8038 echo "$as_me:$LINENO: checking whether time.h and sys/time.h may both be included" >&5
8039 echo $ECHO_N "checking whether time.h and sys/time.h may both be included... $ECHO_C" >&6
8040 if test "${ac_cv_header_time+set}" = set; then
8041 echo $ECHO_N "(cached) $ECHO_C" >&6
8043 cat >conftest.
$ac_ext <<_ACEOF
8046 cat confdefs.h
>>conftest.
$ac_ext
8047 cat >>conftest.
$ac_ext <<_ACEOF
8048 /* end confdefs.h. */
8049 #include <sys/types.h>
8050 #include <sys/time.h>
8056 if ((struct tm *) 0)
8062 rm -f conftest.
$ac_objext
8063 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
8064 (eval $ac_compile) 2>conftest.er1
8066 grep -v '^ *+' conftest.er1
>conftest.err
8068 cat conftest.err
>&5
8069 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8070 (exit $ac_status); } &&
8071 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
8072 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8075 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8076 (exit $ac_status); }; } &&
8077 { ac_try
='test -s conftest.$ac_objext'
8078 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8081 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8082 (exit $ac_status); }; }; then
8083 ac_cv_header_time
=yes
8085 echo "$as_me: failed program was:" >&5
8086 sed 's/^/| /' conftest.
$ac_ext >&5
8088 ac_cv_header_time
=no
8090 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
8092 echo "$as_me:$LINENO: result: $ac_cv_header_time" >&5
8093 echo "${ECHO_T}$ac_cv_header_time" >&6
8094 if test $ac_cv_header_time = yes; then
8096 cat >>confdefs.h
<<\_ACEOF
8097 #define TIME_WITH_SYS_TIME 1
8102 echo "$as_me:$LINENO: checking whether struct tm is in sys/time.h or time.h" >&5
8103 echo $ECHO_N "checking whether struct tm is in sys/time.h or time.h... $ECHO_C" >&6
8104 if test "${ac_cv_struct_tm+set}" = set; then
8105 echo $ECHO_N "(cached) $ECHO_C" >&6
8107 cat >conftest.
$ac_ext <<_ACEOF
8110 cat confdefs.h
>>conftest.
$ac_ext
8111 cat >>conftest.
$ac_ext <<_ACEOF
8112 /* end confdefs.h. */
8113 #include <sys/types.h>
8119 struct tm *tp; tp->tm_sec;
8124 rm -f conftest.
$ac_objext
8125 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
8126 (eval $ac_compile) 2>conftest.er1
8128 grep -v '^ *+' conftest.er1
>conftest.err
8130 cat conftest.err
>&5
8131 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8132 (exit $ac_status); } &&
8133 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
8134 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8137 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8138 (exit $ac_status); }; } &&
8139 { ac_try
='test -s conftest.$ac_objext'
8140 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8143 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8144 (exit $ac_status); }; }; then
8145 ac_cv_struct_tm
=time.h
8147 echo "$as_me: failed program was:" >&5
8148 sed 's/^/| /' conftest.
$ac_ext >&5
8150 ac_cv_struct_tm
=sys
/time.h
8152 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
8154 echo "$as_me:$LINENO: result: $ac_cv_struct_tm" >&5
8155 echo "${ECHO_T}$ac_cv_struct_tm" >&6
8156 if test $ac_cv_struct_tm = sys
/time.h
; then
8158 cat >>confdefs.h
<<\_ACEOF
8159 #define TM_IN_SYS_TIME 1
8164 echo "$as_me:$LINENO: checking for struct tm.tm_zone" >&5
8165 echo $ECHO_N "checking for struct tm.tm_zone... $ECHO_C" >&6
8166 if test "${ac_cv_member_struct_tm_tm_zone+set}" = set; then
8167 echo $ECHO_N "(cached) $ECHO_C" >&6
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 <sys/types.h>
8176 #include <$ac_cv_struct_tm>
8182 static struct tm ac_aggr;
8183 if (ac_aggr.tm_zone)
8189 rm -f conftest.
$ac_objext
8190 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
8191 (eval $ac_compile) 2>conftest.er1
8193 grep -v '^ *+' conftest.er1
>conftest.err
8195 cat conftest.err
>&5
8196 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8197 (exit $ac_status); } &&
8198 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
8199 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8202 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8203 (exit $ac_status); }; } &&
8204 { ac_try
='test -s conftest.$ac_objext'
8205 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8208 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8209 (exit $ac_status); }; }; then
8210 ac_cv_member_struct_tm_tm_zone
=yes
8212 echo "$as_me: failed program was:" >&5
8213 sed 's/^/| /' conftest.
$ac_ext >&5
8215 cat >conftest.
$ac_ext <<_ACEOF
8218 cat confdefs.h
>>conftest.
$ac_ext
8219 cat >>conftest.
$ac_ext <<_ACEOF
8220 /* end confdefs.h. */
8221 #include <sys/types.h>
8222 #include <$ac_cv_struct_tm>
8228 static struct tm ac_aggr;
8229 if (sizeof ac_aggr.tm_zone)
8235 rm -f conftest.
$ac_objext
8236 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
8237 (eval $ac_compile) 2>conftest.er1
8239 grep -v '^ *+' conftest.er1
>conftest.err
8241 cat conftest.err
>&5
8242 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8243 (exit $ac_status); } &&
8244 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
8245 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8248 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8249 (exit $ac_status); }; } &&
8250 { ac_try
='test -s conftest.$ac_objext'
8251 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8254 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8255 (exit $ac_status); }; }; then
8256 ac_cv_member_struct_tm_tm_zone
=yes
8258 echo "$as_me: failed program was:" >&5
8259 sed 's/^/| /' conftest.
$ac_ext >&5
8261 ac_cv_member_struct_tm_tm_zone
=no
8263 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
8265 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
8267 echo "$as_me:$LINENO: result: $ac_cv_member_struct_tm_tm_zone" >&5
8268 echo "${ECHO_T}$ac_cv_member_struct_tm_tm_zone" >&6
8269 if test $ac_cv_member_struct_tm_tm_zone = yes; then
8271 cat >>confdefs.h
<<_ACEOF
8272 #define HAVE_STRUCT_TM_TM_ZONE 1
8278 if test "$ac_cv_member_struct_tm_tm_zone" = yes; then
8280 cat >>confdefs.h
<<\_ACEOF
8281 #define HAVE_TM_ZONE 1
8285 echo "$as_me:$LINENO: checking for tzname" >&5
8286 echo $ECHO_N "checking for tzname... $ECHO_C" >&6
8287 if test "${ac_cv_var_tzname+set}" = set; then
8288 echo $ECHO_N "(cached) $ECHO_C" >&6
8290 cat >conftest.
$ac_ext <<_ACEOF
8293 cat confdefs.h
>>conftest.
$ac_ext
8294 cat >>conftest.
$ac_ext <<_ACEOF
8295 /* end confdefs.h. */
8297 #ifndef tzname /* For SGI. */
8298 extern char *tzname[]; /* RS6000 and others reject char **tzname. */
8309 rm -f conftest.
$ac_objext conftest
$ac_exeext
8310 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8311 (eval $ac_link) 2>conftest.er1
8313 grep -v '^ *+' conftest.er1
>conftest.err
8315 cat conftest.err
>&5
8316 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8317 (exit $ac_status); } &&
8318 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
8319 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8322 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8323 (exit $ac_status); }; } &&
8324 { ac_try
='test -s conftest$ac_exeext'
8325 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8328 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8329 (exit $ac_status); }; }; then
8330 ac_cv_var_tzname
=yes
8332 echo "$as_me: failed program was:" >&5
8333 sed 's/^/| /' conftest.
$ac_ext >&5
8337 rm -f conftest.err conftest.
$ac_objext \
8338 conftest
$ac_exeext conftest.
$ac_ext
8340 echo "$as_me:$LINENO: result: $ac_cv_var_tzname" >&5
8341 echo "${ECHO_T}$ac_cv_var_tzname" >&6
8342 if test $ac_cv_var_tzname = yes; then
8344 cat >>confdefs.h
<<\_ACEOF
8345 #define HAVE_TZNAME 1
8352 echo "$as_me:$LINENO: checking for tm_gmtoff in struct tm" >&5
8353 echo $ECHO_N "checking for tm_gmtoff in struct tm... $ECHO_C" >&6
8354 cat >conftest.
$ac_ext <<_ACEOF
8357 cat confdefs.h
>>conftest.
$ac_ext
8358 cat >>conftest.
$ac_ext <<_ACEOF
8359 /* end confdefs.h. */
8364 struct tm tim; tim.tm_gmtoff = 0;
8369 rm -f conftest.
$ac_objext
8370 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
8371 (eval $ac_compile) 2>conftest.er1
8373 grep -v '^ *+' conftest.er1
>conftest.err
8375 cat conftest.err
>&5
8376 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8377 (exit $ac_status); } &&
8378 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
8379 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8382 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8383 (exit $ac_status); }; } &&
8384 { ac_try
='test -s conftest.$ac_objext'
8385 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8388 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8389 (exit $ac_status); }; }; then
8391 cat >>confdefs.h
<<\_ACEOF
8392 #define STRUCT_TM_HAS_GMTOFF 1
8395 echo "$as_me:$LINENO: result: yes" >&5
8396 echo "${ECHO_T}yes" >&6
8398 echo "$as_me: failed program was:" >&5
8399 sed 's/^/| /' conftest.
$ac_ext >&5
8401 echo "$as_me:$LINENO: result: no" >&5
8402 echo "${ECHO_T}no" >&6
8403 echo "$as_me:$LINENO: checking for global timezone variable" >&5
8404 echo $ECHO_N "checking for global timezone variable... $ECHO_C" >&6
8405 cat >conftest.
$ac_ext <<_ACEOF
8408 cat confdefs.h
>>conftest.
$ac_ext
8409 cat >>conftest.
$ac_ext <<_ACEOF
8410 /* end confdefs.h. */
8415 void i(){long z2 = 2*timezone;}
8420 rm -f conftest.
$ac_objext
8421 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
8422 (eval $ac_compile) 2>conftest.er1
8424 grep -v '^ *+' conftest.er1
>conftest.err
8426 cat conftest.err
>&5
8427 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8428 (exit $ac_status); } &&
8429 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
8430 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8433 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8434 (exit $ac_status); }; } &&
8435 { ac_try
='test -s conftest.$ac_objext'
8436 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8439 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8440 (exit $ac_status); }; }; then
8442 cat >>confdefs.h
<<\_ACEOF
8443 #define HAVE_TIMEZONE 1
8446 echo "$as_me:$LINENO: result: yes" >&5
8447 echo "${ECHO_T}yes" >&6
8449 echo "$as_me: failed program was:" >&5
8450 sed 's/^/| /' conftest.
$ac_ext >&5
8452 echo "$as_me:$LINENO: result: no" >&5
8453 echo "${ECHO_T}no" >&6
8454 echo "$as_me:$LINENO: checking for global _timezone variable" >&5
8455 echo $ECHO_N "checking for global _timezone variable... $ECHO_C" >&6
8456 cat >conftest.
$ac_ext <<_ACEOF
8459 cat confdefs.h
>>conftest.
$ac_ext
8460 cat >>conftest.
$ac_ext <<_ACEOF
8461 /* end confdefs.h. */
8466 long z2 = _timezone;
8471 rm -f conftest.
$ac_objext
8472 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
8473 (eval $ac_compile) 2>conftest.er1
8475 grep -v '^ *+' conftest.er1
>conftest.err
8477 cat conftest.err
>&5
8478 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8479 (exit $ac_status); } &&
8480 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
8481 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8484 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8485 (exit $ac_status); }; } &&
8486 { ac_try
='test -s conftest.$ac_objext'
8487 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8490 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8491 (exit $ac_status); }; }; then
8493 cat >>confdefs.h
<<\_ACEOF
8494 #define HAVE_UNDERSCORE_TIMEZONE 1
8497 echo "$as_me:$LINENO: result: yes" >&5
8498 echo "${ECHO_T}yes" >&6
8500 echo "$as_me: failed program was:" >&5
8501 sed 's/^/| /' conftest.
$ac_ext >&5
8503 echo "$as_me:$LINENO: result: no" >&5
8504 echo "${ECHO_T}no" >&6
8506 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
8508 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
8510 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
8512 echo "$as_me:$LINENO: checking for an ANSI C-conforming const" >&5
8513 echo $ECHO_N "checking for an ANSI C-conforming const... $ECHO_C" >&6
8514 if test "${ac_cv_c_const+set}" = set; then
8515 echo $ECHO_N "(cached) $ECHO_C" >&6
8517 cat >conftest.
$ac_ext <<_ACEOF
8520 cat confdefs.h
>>conftest.
$ac_ext
8521 cat >>conftest.
$ac_ext <<_ACEOF
8522 /* end confdefs.h. */
8527 /* FIXME: Include the comments suggested by Paul. */
8529 /* Ultrix mips cc rejects this. */
8530 typedef int charset[2];
8532 /* SunOS 4.1.1 cc rejects this. */
8533 char const *const *ccp;
8535 /* NEC SVR4.0.2 mips cc rejects this. */
8536 struct point {int x, y;};
8537 static struct point const zero = {0,0};
8538 /* AIX XL C 1.02.0.0 rejects this.
8539 It does not let you subtract one const X* pointer from another in
8540 an arm of an if-expression whose if-part is not a constant
8542 const char *g = "string";
8543 ccp = &g + (g ? g-g : 0);
8544 /* HPUX 7.0 cc rejects these. */
8547 ccp = (char const *const *) p;
8548 { /* SCO 3.2v4 cc rejects this. */
8550 char const *s = 0 ? (char *) 0 : (char const *) 0;
8554 { /* Someone thinks the Sun supposedly-ANSI compiler will reject this. */
8556 const int *foo = &x[0];
8559 { /* Sun SC1.0 ANSI compiler rejects this -- but not the above. */
8560 typedef const int *iptr;
8564 { /* AIX XL C 1.02.0.0 rejects this saying
8565 "k.c", line 2.27: 1506-025 (S) Operand must be a modifiable lvalue. */
8566 struct s { int j; const int *ap[3]; };
8567 struct s *b; b->j = 5;
8569 { /* ULTRIX-32 V3.1 (Rev 9) vcc rejects this */
8578 rm -f conftest.
$ac_objext
8579 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
8580 (eval $ac_compile) 2>conftest.er1
8582 grep -v '^ *+' conftest.er1
>conftest.err
8584 cat conftest.err
>&5
8585 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8586 (exit $ac_status); } &&
8587 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
8588 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8591 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8592 (exit $ac_status); }; } &&
8593 { ac_try
='test -s conftest.$ac_objext'
8594 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8597 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8598 (exit $ac_status); }; }; then
8601 echo "$as_me: failed program was:" >&5
8602 sed 's/^/| /' conftest.
$ac_ext >&5
8606 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
8608 echo "$as_me:$LINENO: result: $ac_cv_c_const" >&5
8609 echo "${ECHO_T}$ac_cv_c_const" >&6
8610 if test $ac_cv_c_const = no
; then
8612 cat >>confdefs.h
<<\_ACEOF
8618 echo "$as_me:$LINENO: checking for __attribute__" >&5
8619 echo $ECHO_N "checking for __attribute__... $ECHO_C" >&6
8620 if test "${ac_cv_c_attribute+set}" = set; then
8621 echo $ECHO_N "(cached) $ECHO_C" >&6
8624 cat >conftest.
$ac_ext <<_ACEOF
8627 cat confdefs.h
>>conftest.
$ac_ext
8628 cat >>conftest.
$ac_ext <<_ACEOF
8629 /* end confdefs.h. */
8630 void foo(void) __attribute__ ((__noreturn__));
8633 rm -f conftest.
$ac_objext
8634 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
8635 (eval $ac_compile) 2>conftest.er1
8637 grep -v '^ *+' conftest.er1
>conftest.err
8639 cat conftest.err
>&5
8640 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8641 (exit $ac_status); } &&
8642 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
8643 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8646 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8647 (exit $ac_status); }; } &&
8648 { ac_try
='test -s conftest.$ac_objext'
8649 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8652 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8653 (exit $ac_status); }; }; then
8654 ac_cv_c_attribute
=yes
8656 echo "$as_me: failed program was:" >&5
8657 sed 's/^/| /' conftest.
$ac_ext >&5
8659 ac_cv_c_attribute
=no
8662 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
8665 echo "$as_me:$LINENO: result: $ac_cv_c_attribute" >&5
8666 echo "${ECHO_T}$ac_cv_c_attribute" >&6
8669 case $ac_cv_c_attribute in
8672 cat >>confdefs.h
<<_ACEOF
8673 #define __attribute__(x) /* nothing */
8680 if test "X$prefix" = "XNONE"; then
8681 acl_final_prefix
="$ac_default_prefix"
8683 acl_final_prefix
="$prefix"
8685 if test "X$exec_prefix" = "XNONE"; then
8686 acl_final_exec_prefix
='${prefix}'
8688 acl_final_exec_prefix
="$exec_prefix"
8690 acl_save_prefix
="$prefix"
8691 prefix
="$acl_final_prefix"
8692 eval acl_final_exec_prefix
=\"$acl_final_exec_prefix\"
8693 prefix
="$acl_save_prefix"
8696 # Check whether --with-gnu-ld or --without-gnu-ld was given.
8697 if test "${with_gnu_ld+set}" = set; then
8698 withval
="$with_gnu_ld"
8699 test "$withval" = no || with_gnu_ld
=yes
8703 # Prepare PATH_SEPARATOR.
8704 # The user is always right.
8705 if test "${PATH_SEPARATOR+set}" != set; then
8706 echo "#! /bin/sh" >conf$$.sh
8707 echo "exit 0" >>conf$$.sh
8709 if (PATH
="/nonexistent;."; conf$$.sh
) >/dev
/null
2>&1; then
8717 if test "$GCC" = yes; then
8718 # Check if gcc -print-prog-name=ld gives a path.
8719 echo "$as_me:$LINENO: checking for ld used by GCC" >&5
8720 echo $ECHO_N "checking for ld used by GCC... $ECHO_C" >&6
8723 # gcc leaves a trailing carriage return which upsets mingw
8724 ac_prog
=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
8726 ac_prog
=`($CC -print-prog-name=ld) 2>&5` ;;
8729 # Accept absolute paths.
8730 [\\/]* |
[A-Za-z
]:[\\/]*)
8731 re_direlt
='/[^/][^/]*/\.\./'
8732 # Canonicalize the path of ld
8733 ac_prog
=`echo $ac_prog| sed 's%\\\\%/%g'`
8734 while echo $ac_prog |
grep "$re_direlt" > /dev
/null
2>&1; do
8735 ac_prog
=`echo $ac_prog| sed "s%$re_direlt%/%"`
8737 test -z "$LD" && LD
="$ac_prog"
8740 # If it fails, then pretend we aren't using GCC.
8744 # If it is relative, then search for the first ld in PATH.
8748 elif test "$with_gnu_ld" = yes; then
8749 echo "$as_me:$LINENO: checking for GNU ld" >&5
8750 echo $ECHO_N "checking for GNU ld... $ECHO_C" >&6
8752 echo "$as_me:$LINENO: checking for non-GNU ld" >&5
8753 echo $ECHO_N "checking for non-GNU ld... $ECHO_C" >&6
8755 if test "${acl_cv_path_LD+set}" = set; then
8756 echo $ECHO_N "(cached) $ECHO_C" >&6
8758 if test -z "$LD"; then
8759 IFS
="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}${PATH_SEPARATOR-:}"
8760 for ac_dir
in $PATH; do
8761 test -z "$ac_dir" && ac_dir
=.
8762 if test -f "$ac_dir/$ac_prog" ||
test -f "$ac_dir/$ac_prog$ac_exeext"; then
8763 acl_cv_path_LD
="$ac_dir/$ac_prog"
8764 # Check to see if the program is GNU ld. I'd rather use --version,
8765 # but apparently some GNU ld's only accept -v.
8766 # Break only if it was the GNU/non-GNU ld that we prefer.
8767 if "$acl_cv_path_LD" -v 2>&1 < /dev
/null |
egrep '(GNU|with BFD)' > /dev
/null
; then
8768 test "$with_gnu_ld" != no
&& break
8770 test "$with_gnu_ld" != yes && break
8776 acl_cv_path_LD
="$LD" # Let the user override the test with a path.
8780 LD
="$acl_cv_path_LD"
8781 if test -n "$LD"; then
8782 echo "$as_me:$LINENO: result: $LD" >&5
8783 echo "${ECHO_T}$LD" >&6
8785 echo "$as_me:$LINENO: result: no" >&5
8786 echo "${ECHO_T}no" >&6
8788 test -z "$LD" && { { echo "$as_me:$LINENO: error: no acceptable ld found in \$PATH" >&5
8789 echo "$as_me: error: no acceptable ld found in \$PATH" >&2;}
8790 { (exit 1); exit 1; }; }
8791 echo "$as_me:$LINENO: checking if the linker ($LD) is GNU ld" >&5
8792 echo $ECHO_N "checking if the linker ($LD) is GNU ld... $ECHO_C" >&6
8793 if test "${acl_cv_prog_gnu_ld+set}" = set; then
8794 echo $ECHO_N "(cached) $ECHO_C" >&6
8796 # I'd rather use --version here, but apparently some GNU ld's only accept -v.
8797 if $LD -v 2>&1 </dev
/null |
egrep '(GNU|with BFD)' 1>&5; then
8798 acl_cv_prog_gnu_ld
=yes
8800 acl_cv_prog_gnu_ld
=no
8803 echo "$as_me:$LINENO: result: $acl_cv_prog_gnu_ld" >&5
8804 echo "${ECHO_T}$acl_cv_prog_gnu_ld" >&6
8805 with_gnu_ld
=$acl_cv_prog_gnu_ld
8809 echo "$as_me:$LINENO: checking for shared library run path origin" >&5
8810 echo $ECHO_N "checking for shared library run path origin... $ECHO_C" >&6
8811 if test "${acl_cv_rpath+set}" = set; then
8812 echo $ECHO_N "(cached) $ECHO_C" >&6
8815 CC
="$CC" GCC
="$GCC" LDFLAGS
="$LDFLAGS" LD
="$LD" with_gnu_ld
="$with_gnu_ld" \
8816 ${CONFIG_SHELL-/bin/sh} "$ac_aux_dir/config.rpath" "$host" > conftest.sh
8822 echo "$as_me:$LINENO: result: $acl_cv_rpath" >&5
8823 echo "${ECHO_T}$acl_cv_rpath" >&6
8825 libext
="$acl_cv_libext"
8826 shlibext
="$acl_cv_shlibext"
8827 hardcode_libdir_flag_spec
="$acl_cv_hardcode_libdir_flag_spec"
8828 hardcode_libdir_separator
="$acl_cv_hardcode_libdir_separator"
8829 hardcode_direct
="$acl_cv_hardcode_direct"
8830 hardcode_minus_L
="$acl_cv_hardcode_minus_L"
8831 # Check whether --enable-rpath or --disable-rpath was given.
8832 if test "${enable_rpath+set}" = set; then
8833 enableval
="$enable_rpath"
8847 acl_save_prefix
="$prefix"
8848 prefix
="$acl_final_prefix"
8849 acl_save_exec_prefix
="$exec_prefix"
8850 exec_prefix
="$acl_final_exec_prefix"
8852 eval additional_includedir
=\"$includedir\"
8853 eval additional_libdir
=\"$libdir\"
8855 exec_prefix
="$acl_save_exec_prefix"
8856 prefix
="$acl_save_prefix"
8859 # Check whether --with-libiconv-prefix or --without-libiconv-prefix was given.
8860 if test "${with_libiconv_prefix+set}" = set; then
8861 withval
="$with_libiconv_prefix"
8863 if test "X$withval" = "Xno"; then
8866 if test "X$withval" = "X"; then
8868 acl_save_prefix
="$prefix"
8869 prefix
="$acl_final_prefix"
8870 acl_save_exec_prefix
="$exec_prefix"
8871 exec_prefix
="$acl_final_exec_prefix"
8873 eval additional_includedir
=\"$includedir\"
8874 eval additional_libdir
=\"$libdir\"
8876 exec_prefix
="$acl_save_exec_prefix"
8877 prefix
="$acl_save_prefix"
8880 additional_includedir
="$withval/include"
8881 additional_libdir
="$withval/lib"
8891 names_already_handled
=
8892 names_next_round
='iconv '
8893 while test -n "$names_next_round"; do
8894 names_this_round
="$names_next_round"
8896 for name
in $names_this_round; do
8898 for n
in $names_already_handled; do
8899 if test "$n" = "$name"; then
8904 if test -z "$already_handled"; then
8905 names_already_handled
="$names_already_handled $name"
8906 uppername
=`echo "$name" | sed -e 'y|abcdefghijklmnopqrstuvwxyz./-|ABCDEFGHIJKLMNOPQRSTUVWXYZ___|'`
8907 eval value
=\"\
$HAVE_LIB$uppername\"
8908 if test -n "$value"; then
8909 if test "$value" = yes; then
8910 eval value
=\"\
$LIB$uppername\"
8911 test -z "$value" || LIBICONV
="${LIBICONV}${LIBICONV:+ }$value"
8912 eval value
=\"\
$LTLIB$uppername\"
8913 test -z "$value" || LTLIBICONV
="${LTLIBICONV}${LTLIBICONV:+ }$value"
8922 if test $use_additional = yes; then
8923 if test -n "$shlibext" && test -f "$additional_libdir/lib$name.$shlibext"; then
8924 found_dir
="$additional_libdir"
8925 found_so
="$additional_libdir/lib$name.$shlibext"
8926 if test -f "$additional_libdir/lib$name.la"; then
8927 found_la
="$additional_libdir/lib$name.la"
8930 if test -f "$additional_libdir/lib$name.$libext"; then
8931 found_dir
="$additional_libdir"
8932 found_a
="$additional_libdir/lib$name.$libext"
8933 if test -f "$additional_libdir/lib$name.la"; then
8934 found_la
="$additional_libdir/lib$name.la"
8939 if test "X$found_dir" = "X"; then
8940 for x
in $LDFLAGS $LTLIBICONV; do
8942 acl_save_prefix
="$prefix"
8943 prefix
="$acl_final_prefix"
8944 acl_save_exec_prefix
="$exec_prefix"
8945 exec_prefix
="$acl_final_exec_prefix"
8947 exec_prefix
="$acl_save_exec_prefix"
8948 prefix
="$acl_save_prefix"
8952 dir
=`echo "X$x" | sed -e 's/^X-L//'`
8953 if test -n "$shlibext" && test -f "$dir/lib$name.$shlibext"; then
8955 found_so
="$dir/lib$name.$shlibext"
8956 if test -f "$dir/lib$name.la"; then
8957 found_la
="$dir/lib$name.la"
8960 if test -f "$dir/lib$name.$libext"; then
8962 found_a
="$dir/lib$name.$libext"
8963 if test -f "$dir/lib$name.la"; then
8964 found_la
="$dir/lib$name.la"
8970 if test "X$found_dir" != "X"; then
8975 if test "X$found_dir" != "X"; then
8976 LTLIBICONV
="${LTLIBICONV}${LTLIBICONV:+ }-L$found_dir -l$name"
8977 if test "X$found_so" != "X"; then
8978 if test "$enable_rpath" = no ||
test "X$found_dir" = "X/usr/lib"; then
8979 LIBICONV
="${LIBICONV}${LIBICONV:+ }$found_so"
8982 for x
in $ltrpathdirs; do
8983 if test "X$x" = "X$found_dir"; then
8988 if test -z "$haveit"; then
8989 ltrpathdirs
="$ltrpathdirs $found_dir"
8991 if test "$hardcode_direct" = yes; then
8992 LIBICONV
="${LIBICONV}${LIBICONV:+ }$found_so"
8994 if test -n "$hardcode_libdir_flag_spec" && test "$hardcode_minus_L" = no
; then
8995 LIBICONV
="${LIBICONV}${LIBICONV:+ }$found_so"
8997 for x
in $rpathdirs; do
8998 if test "X$x" = "X$found_dir"; then
9003 if test -z "$haveit"; then
9004 rpathdirs
="$rpathdirs $found_dir"
9008 for x
in $LDFLAGS $LIBICONV; do
9010 acl_save_prefix
="$prefix"
9011 prefix
="$acl_final_prefix"
9012 acl_save_exec_prefix
="$exec_prefix"
9013 exec_prefix
="$acl_final_exec_prefix"
9015 exec_prefix
="$acl_save_exec_prefix"
9016 prefix
="$acl_save_prefix"
9018 if test "X$x" = "X-L$found_dir"; then
9023 if test -z "$haveit"; then
9024 LIBICONV
="${LIBICONV}${LIBICONV:+ }-L$found_dir"
9026 if test "$hardcode_minus_L" != no
; then
9027 LIBICONV
="${LIBICONV}${LIBICONV:+ }$found_so"
9029 LIBICONV
="${LIBICONV}${LIBICONV:+ }-l$name"
9035 if test "X$found_a" != "X"; then
9036 LIBICONV
="${LIBICONV}${LIBICONV:+ }$found_a"
9038 LIBICONV
="${LIBICONV}${LIBICONV:+ }-L$found_dir -l$name"
9041 additional_includedir
=
9042 case "$found_dir" in
9044 basedir
=`echo "X$found_dir" | sed -e 's,^X,,' -e 's,/lib/*$,,'`
9045 additional_includedir
="$basedir/include"
9048 if test "X$additional_includedir" != "X"; then
9049 if test "X$additional_includedir" != "X/usr/include"; then
9051 if test "X$additional_includedir" = "X/usr/local/include"; then
9052 if test -n "$GCC"; then
9054 linux
*) haveit
=yes;;
9058 if test -z "$haveit"; then
9059 for x
in $CPPFLAGS $INCICONV; do
9061 acl_save_prefix
="$prefix"
9062 prefix
="$acl_final_prefix"
9063 acl_save_exec_prefix
="$exec_prefix"
9064 exec_prefix
="$acl_final_exec_prefix"
9066 exec_prefix
="$acl_save_exec_prefix"
9067 prefix
="$acl_save_prefix"
9069 if test "X$x" = "X-I$additional_includedir"; then
9074 if test -z "$haveit"; then
9075 if test -d "$additional_includedir"; then
9076 INCICONV
="${INCICONV}${INCICONV:+ }-I$additional_includedir"
9082 if test -n "$found_la"; then
9083 save_libdir
="$libdir"
9085 */* |
*\\*) .
"$found_la" ;;
9086 *) .
"./$found_la" ;;
9088 libdir
="$save_libdir"
9089 for dep
in $dependency_libs; do
9092 additional_libdir
=`echo "X$dep" | sed -e 's/^X-L//'`
9093 if test "X$additional_libdir" != "X/usr/lib"; then
9095 if test "X$additional_libdir" = "X/usr/local/lib"; then
9096 if test -n "$GCC"; then
9098 linux
*) haveit
=yes;;
9102 if test -z "$haveit"; then
9104 for x
in $LDFLAGS $LIBICONV; do
9106 acl_save_prefix
="$prefix"
9107 prefix
="$acl_final_prefix"
9108 acl_save_exec_prefix
="$exec_prefix"
9109 exec_prefix
="$acl_final_exec_prefix"
9111 exec_prefix
="$acl_save_exec_prefix"
9112 prefix
="$acl_save_prefix"
9114 if test "X$x" = "X-L$additional_libdir"; then
9119 if test -z "$haveit"; then
9120 if test -d "$additional_libdir"; then
9121 LIBICONV
="${LIBICONV}${LIBICONV:+ }-L$additional_libdir"
9125 for x
in $LDFLAGS $LTLIBICONV; do
9127 acl_save_prefix
="$prefix"
9128 prefix
="$acl_final_prefix"
9129 acl_save_exec_prefix
="$exec_prefix"
9130 exec_prefix
="$acl_final_exec_prefix"
9132 exec_prefix
="$acl_save_exec_prefix"
9133 prefix
="$acl_save_prefix"
9135 if test "X$x" = "X-L$additional_libdir"; then
9140 if test -z "$haveit"; then
9141 if test -d "$additional_libdir"; then
9142 LTLIBICONV
="${LTLIBICONV}${LTLIBICONV:+ }-L$additional_libdir"
9149 dir
=`echo "X$dep" | sed -e 's/^X-R//'`
9150 if test "$enable_rpath" != no
; then
9152 for x
in $rpathdirs; do
9153 if test "X$x" = "X$dir"; then
9158 if test -z "$haveit"; then
9159 rpathdirs
="$rpathdirs $dir"
9162 for x
in $ltrpathdirs; do
9163 if test "X$x" = "X$dir"; then
9168 if test -z "$haveit"; then
9169 ltrpathdirs
="$ltrpathdirs $dir"
9174 names_next_round
="$names_next_round "`echo "X$dep" | sed -e 's/^X-l//'`
9177 names_next_round
="$names_next_round "`echo "X$dep" | sed -e 's,^X.*/,,' -e 's,^lib,,' -e 's,\.la$,,'`
9180 LIBICONV
="${LIBICONV}${LIBICONV:+ }$dep"
9181 LTLIBICONV
="${LTLIBICONV}${LTLIBICONV:+ }$dep"
9187 LIBICONV
="${LIBICONV}${LIBICONV:+ }-l$name"
9188 LTLIBICONV
="${LTLIBICONV}${LTLIBICONV:+ }-l$name"
9194 if test "X$rpathdirs" != "X"; then
9195 if test -n "$hardcode_libdir_separator"; then
9197 for found_dir
in $rpathdirs; do
9198 alldirs
="${alldirs}${alldirs:+$hardcode_libdir_separator}$found_dir"
9200 acl_save_libdir
="$libdir"
9202 eval flag
=\"$hardcode_libdir_flag_spec\"
9203 libdir
="$acl_save_libdir"
9204 LIBICONV
="${LIBICONV}${LIBICONV:+ }$flag"
9206 for found_dir
in $rpathdirs; do
9207 acl_save_libdir
="$libdir"
9209 eval flag
=\"$hardcode_libdir_flag_spec\"
9210 libdir
="$acl_save_libdir"
9211 LIBICONV
="${LIBICONV}${LIBICONV:+ }$flag"
9215 if test "X$ltrpathdirs" != "X"; then
9216 for found_dir
in $ltrpathdirs; do
9217 LTLIBICONV
="${LTLIBICONV}${LTLIBICONV:+ }-R$found_dir"
9227 am_save_CPPFLAGS
="$CPPFLAGS"
9229 for element
in $INCICONV; do
9231 for x
in $CPPFLAGS; do
9233 acl_save_prefix
="$prefix"
9234 prefix
="$acl_final_prefix"
9235 acl_save_exec_prefix
="$exec_prefix"
9236 exec_prefix
="$acl_final_exec_prefix"
9238 exec_prefix
="$acl_save_exec_prefix"
9239 prefix
="$acl_save_prefix"
9241 if test "X$x" = "X$element"; then
9246 if test -z "$haveit"; then
9247 CPPFLAGS
="${CPPFLAGS}${CPPFLAGS:+ }$element"
9252 echo "$as_me:$LINENO: checking for iconv" >&5
9253 echo $ECHO_N "checking for iconv... $ECHO_C" >&6
9254 if test "${am_cv_func_iconv+set}" = set; then
9255 echo $ECHO_N "(cached) $ECHO_C" >&6
9258 am_cv_func_iconv
="no, consider installing GNU libiconv"
9260 cat >conftest.
$ac_ext <<_ACEOF
9263 cat confdefs.h
>>conftest.
$ac_ext
9264 cat >>conftest.
$ac_ext <<_ACEOF
9265 /* end confdefs.h. */
9271 iconv_t cd = iconv_open("","");
9272 iconv(cd,NULL,NULL,NULL,NULL);
9278 rm -f conftest.
$ac_objext conftest
$ac_exeext
9279 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
9280 (eval $ac_link) 2>conftest.er1
9282 grep -v '^ *+' conftest.er1
>conftest.err
9284 cat conftest.err
>&5
9285 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9286 (exit $ac_status); } &&
9287 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
9288 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9291 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9292 (exit $ac_status); }; } &&
9293 { ac_try
='test -s conftest$ac_exeext'
9294 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9297 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9298 (exit $ac_status); }; }; then
9299 am_cv_func_iconv
=yes
9301 echo "$as_me: failed program was:" >&5
9302 sed 's/^/| /' conftest.
$ac_ext >&5
9305 rm -f conftest.err conftest.
$ac_objext \
9306 conftest
$ac_exeext conftest.
$ac_ext
9307 if test "$am_cv_func_iconv" != yes; then
9308 am_save_LIBS
="$LIBS"
9309 LIBS
="$LIBS $LIBICONV"
9310 cat >conftest.
$ac_ext <<_ACEOF
9313 cat confdefs.h
>>conftest.
$ac_ext
9314 cat >>conftest.
$ac_ext <<_ACEOF
9315 /* end confdefs.h. */
9321 iconv_t cd = iconv_open("","");
9322 iconv(cd,NULL,NULL,NULL,NULL);
9328 rm -f conftest.
$ac_objext conftest
$ac_exeext
9329 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
9330 (eval $ac_link) 2>conftest.er1
9332 grep -v '^ *+' conftest.er1
>conftest.err
9334 cat conftest.err
>&5
9335 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9336 (exit $ac_status); } &&
9337 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
9338 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9341 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9342 (exit $ac_status); }; } &&
9343 { ac_try
='test -s conftest$ac_exeext'
9344 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9347 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9348 (exit $ac_status); }; }; then
9350 am_cv_func_iconv
=yes
9352 echo "$as_me: failed program was:" >&5
9353 sed 's/^/| /' conftest.
$ac_ext >&5
9356 rm -f conftest.err conftest.
$ac_objext \
9357 conftest
$ac_exeext conftest.
$ac_ext
9358 LIBS
="$am_save_LIBS"
9362 echo "$as_me:$LINENO: result: $am_cv_func_iconv" >&5
9363 echo "${ECHO_T}$am_cv_func_iconv" >&6
9364 if test "$am_cv_func_iconv" = yes; then
9366 cat >>confdefs.h
<<\_ACEOF
9367 #define HAVE_ICONV 1
9371 if test "$am_cv_lib_iconv" = yes; then
9372 echo "$as_me:$LINENO: checking how to link with libiconv" >&5
9373 echo $ECHO_N "checking how to link with libiconv... $ECHO_C" >&6
9374 echo "$as_me:$LINENO: result: $LIBICONV" >&5
9375 echo "${ECHO_T}$LIBICONV" >&6
9377 CPPFLAGS
="$am_save_CPPFLAGS"
9384 if test "$am_cv_func_iconv" = yes; then
9385 echo "$as_me:$LINENO: checking for iconv declaration" >&5
9386 echo $ECHO_N "checking for iconv declaration... $ECHO_C" >&6
9387 if test "${am_cv_proto_iconv+set}" = set; then
9388 echo $ECHO_N "(cached) $ECHO_C" >&6
9391 cat >conftest.
$ac_ext <<_ACEOF
9394 cat confdefs.h
>>conftest.
$ac_ext
9395 cat >>conftest.
$ac_ext <<_ACEOF
9396 /* end confdefs.h. */
9404 #if defined(__STDC__) || defined(__cplusplus)
9405 size_t iconv (iconv_t cd, char * *inbuf, size_t *inbytesleft, char * *outbuf, size_t *outbytesleft);
9418 rm -f conftest.
$ac_objext
9419 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
9420 (eval $ac_compile) 2>conftest.er1
9422 grep -v '^ *+' conftest.er1
>conftest.err
9424 cat conftest.err
>&5
9425 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9426 (exit $ac_status); } &&
9427 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
9428 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9431 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9432 (exit $ac_status); }; } &&
9433 { ac_try
='test -s conftest.$ac_objext'
9434 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9437 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9438 (exit $ac_status); }; }; then
9439 am_cv_proto_iconv_arg1
=""
9441 echo "$as_me: failed program was:" >&5
9442 sed 's/^/| /' conftest.
$ac_ext >&5
9444 am_cv_proto_iconv_arg1
="const"
9446 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
9447 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);"
9450 am_cv_proto_iconv
=`echo "$am_cv_proto_iconv" | tr -s ' ' | sed -e 's/( /(/'`
9451 echo "$as_me:$LINENO: result: ${ac_t:-
9452 }$am_cv_proto_iconv" >&5
9453 echo "${ECHO_T}${ac_t:-
9454 }$am_cv_proto_iconv" >&6
9456 cat >>confdefs.h
<<_ACEOF
9457 #define ICONV_CONST $am_cv_proto_iconv_arg1
9463 if test "x${GCC}" = xyes
; then
9465 WARNING_CFLAGS
='-pedantic -W -Wall -Wmissing-declarations -Wwrite-strings -Wmissing-prototypes -Wno-long-long'
9468 STRICT_WARNING_CFLAGS
=-Wstrict-prototypes
9472 if test "x${ENABLE_WERROR}" = xyes
; then
9473 ERROR_CFLAGS
='-Werror'
9478 if test "x${COMPILE_XMLJ}" = xyes
; then
9482 if test -z "$PKG_CONFIG"; then
9483 # Extract the first word of "pkg-config", so it can be a program name with args.
9484 set dummy pkg-config
; ac_word
=$2
9485 echo "$as_me:$LINENO: checking for $ac_word" >&5
9486 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
9487 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
9488 echo $ECHO_N "(cached) $ECHO_C" >&6
9492 ac_cv_path_PKG_CONFIG
="$PKG_CONFIG" # Let the user override the test with a path.
9495 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
9499 test -z "$as_dir" && as_dir
=.
9500 for ac_exec_ext
in '' $ac_executable_extensions; do
9501 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
9502 ac_cv_path_PKG_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
9503 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
9509 test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG
="no"
9513 PKG_CONFIG
=$ac_cv_path_PKG_CONFIG
9515 if test -n "$PKG_CONFIG"; then
9516 echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
9517 echo "${ECHO_T}$PKG_CONFIG" >&6
9519 echo "$as_me:$LINENO: result: no" >&5
9520 echo "${ECHO_T}no" >&6
9525 if test "$PKG_CONFIG" = "no" ; then
9526 echo "*** The pkg-config script could not be found. Make sure it is"
9527 echo "*** in your path, or set the PKG_CONFIG environment variable"
9528 echo "*** to the full path to pkg-config."
9529 echo "*** Or see http://www.freedesktop.org/software/pkgconfig to get pkg-config."
9531 PKG_CONFIG_MIN_VERSION
=0.9.0
9532 if $PKG_CONFIG --atleast-pkgconfig-version $PKG_CONFIG_MIN_VERSION; then
9533 echo "$as_me:$LINENO: checking for libxml-2.0 >= 2.6.8" >&5
9534 echo $ECHO_N "checking for libxml-2.0 >= 2.6.8... $ECHO_C" >&6
9536 if $PKG_CONFIG --exists "libxml-2.0 >= 2.6.8" ; then
9537 echo "$as_me:$LINENO: result: yes" >&5
9538 echo "${ECHO_T}yes" >&6
9541 echo "$as_me:$LINENO: checking XML_CFLAGS" >&5
9542 echo $ECHO_N "checking XML_CFLAGS... $ECHO_C" >&6
9543 XML_CFLAGS
=`$PKG_CONFIG --cflags "libxml-2.0 >= 2.6.8"`
9544 echo "$as_me:$LINENO: result: $XML_CFLAGS" >&5
9545 echo "${ECHO_T}$XML_CFLAGS" >&6
9547 echo "$as_me:$LINENO: checking XML_LIBS" >&5
9548 echo $ECHO_N "checking XML_LIBS... $ECHO_C" >&6
9549 XML_LIBS
=`$PKG_CONFIG --libs "libxml-2.0 >= 2.6.8"`
9550 echo "$as_me:$LINENO: result: $XML_LIBS" >&5
9551 echo "${ECHO_T}$XML_LIBS" >&6
9555 ## If we have a custom action on failure, don't print errors, but
9556 ## do set a variable so people can do so.
9557 XML_PKG_ERRORS
=`$PKG_CONFIG --errors-to-stdout --print-errors "libxml-2.0 >= 2.6.8"`
9558 echo $XML_PKG_ERRORS
9564 echo "*** Your version of pkg-config is too old. You need version $PKG_CONFIG_MIN_VERSION or newer."
9565 echo "*** See http://www.freedesktop.org/software/pkgconfig"
9569 if test $succeeded = yes; then
9572 { { 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
9573 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;}
9574 { (exit 1); exit 1; }; }
9580 if test -z "$PKG_CONFIG"; then
9581 # Extract the first word of "pkg-config", so it can be a program name with args.
9582 set dummy pkg-config
; ac_word
=$2
9583 echo "$as_me:$LINENO: checking for $ac_word" >&5
9584 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
9585 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
9586 echo $ECHO_N "(cached) $ECHO_C" >&6
9590 ac_cv_path_PKG_CONFIG
="$PKG_CONFIG" # Let the user override the test with a path.
9593 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
9597 test -z "$as_dir" && as_dir
=.
9598 for ac_exec_ext
in '' $ac_executable_extensions; do
9599 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
9600 ac_cv_path_PKG_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
9601 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
9607 test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG
="no"
9611 PKG_CONFIG
=$ac_cv_path_PKG_CONFIG
9613 if test -n "$PKG_CONFIG"; then
9614 echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
9615 echo "${ECHO_T}$PKG_CONFIG" >&6
9617 echo "$as_me:$LINENO: result: no" >&5
9618 echo "${ECHO_T}no" >&6
9623 if test "$PKG_CONFIG" = "no" ; then
9624 echo "*** The pkg-config script could not be found. Make sure it is"
9625 echo "*** in your path, or set the PKG_CONFIG environment variable"
9626 echo "*** to the full path to pkg-config."
9627 echo "*** Or see http://www.freedesktop.org/software/pkgconfig to get pkg-config."
9629 PKG_CONFIG_MIN_VERSION
=0.9.0
9630 if $PKG_CONFIG --atleast-pkgconfig-version $PKG_CONFIG_MIN_VERSION; then
9631 echo "$as_me:$LINENO: checking for libxslt >= 1.1.11" >&5
9632 echo $ECHO_N "checking for libxslt >= 1.1.11... $ECHO_C" >&6
9634 if $PKG_CONFIG --exists "libxslt >= 1.1.11" ; then
9635 echo "$as_me:$LINENO: result: yes" >&5
9636 echo "${ECHO_T}yes" >&6
9639 echo "$as_me:$LINENO: checking XSLT_CFLAGS" >&5
9640 echo $ECHO_N "checking XSLT_CFLAGS... $ECHO_C" >&6
9641 XSLT_CFLAGS
=`$PKG_CONFIG --cflags "libxslt >= 1.1.11"`
9642 echo "$as_me:$LINENO: result: $XSLT_CFLAGS" >&5
9643 echo "${ECHO_T}$XSLT_CFLAGS" >&6
9645 echo "$as_me:$LINENO: checking XSLT_LIBS" >&5
9646 echo $ECHO_N "checking XSLT_LIBS... $ECHO_C" >&6
9647 XSLT_LIBS
=`$PKG_CONFIG --libs "libxslt >= 1.1.11"`
9648 echo "$as_me:$LINENO: result: $XSLT_LIBS" >&5
9649 echo "${ECHO_T}$XSLT_LIBS" >&6
9653 ## If we have a custom action on failure, don't print errors, but
9654 ## do set a variable so people can do so.
9655 XSLT_PKG_ERRORS
=`$PKG_CONFIG --errors-to-stdout --print-errors "libxslt >= 1.1.11"`
9656 echo $XSLT_PKG_ERRORS
9662 echo "*** Your version of pkg-config is too old. You need version $PKG_CONFIG_MIN_VERSION or newer."
9663 echo "*** See http://www.freedesktop.org/software/pkgconfig"
9667 if test $succeeded = yes; then
9670 { { 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
9671 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;}
9672 { (exit 1); exit 1; }; }
9681 if test "x${COMPILE_GTK_PEER}" = xyes
; then
9683 if test "x$ac_path_x_has_been_run" != xyes
; then
9684 echo "$as_me:$LINENO: checking for X" >&5
9685 echo $ECHO_N "checking for X... $ECHO_C" >&6
9687 ac_path_x_has_been_run
=yes
9689 # Check whether --with-x or --without-x was given.
9690 if test "${with_x+set}" = set; then
9694 # $have_x is `yes', `no', `disabled', or empty when we do not yet know.
9695 if test "x$with_x" = xno
; then
9696 # The user explicitly disabled X.
9699 if test "x$x_includes" != xNONE
&& test "x$x_libraries" != xNONE
; then
9700 # Both variables are already set.
9703 if test "${ac_cv_have_x+set}" = set; then
9704 echo $ECHO_N "(cached) $ECHO_C" >&6
9706 # One or both of the vars are not set, and there is no cached value.
9707 ac_x_includes
=no ac_x_libraries
=no
9709 if mkdir conftest.dir
; then
9711 # Make sure to not put "make" in the Imakefile rules, since we grep it out.
9712 cat >Imakefile
<<'_ACEOF'
9714 @echo 'ac_im_incroot="${INCROOT}"; ac_im_usrlibdir="${USRLIBDIR}"; ac_im_libdir="${LIBDIR}"'
9716 if (xmkmf
) >/dev
/null
2>/dev
/null
&& test -f Makefile
; then
9717 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
9718 eval `${MAKE-make} acfindx 2>/dev/null | grep -v make`
9719 # Open Windows xmkmf reportedly sets LIBDIR instead of USRLIBDIR.
9720 for ac_extension
in a so sl
; do
9721 if test ! -f $ac_im_usrlibdir/libX11.
$ac_extension &&
9722 test -f $ac_im_libdir/libX11.
$ac_extension; then
9723 ac_im_usrlibdir
=$ac_im_libdir; break
9726 # Screen out bogus values from the imake configuration. They are
9727 # bogus both because they are the default anyway, and because
9728 # using them would break gcc on systems where it needs fixed includes.
9729 case $ac_im_incroot in
9731 *) test -f "$ac_im_incroot/X11/Xos.h" && ac_x_includes
=$ac_im_incroot;;
9733 case $ac_im_usrlibdir in
9735 *) test -d "$ac_im_usrlibdir" && ac_x_libraries
=$ac_im_usrlibdir ;;
9742 # Standard set of common directories for X headers.
9743 # Check X11 before X11Rn because it is often a symlink to the current release.
9755 /usr/local/X11/include
9756 /usr/local/X11R6/include
9757 /usr/local/X11R5/include
9758 /usr/local/X11R4/include
9760 /usr/local/include/X11
9761 /usr/local/include/X11R6
9762 /usr/local/include/X11R5
9763 /usr/local/include/X11R4
9767 /usr/XFree86/include/X11
9771 /usr/unsupported/include
9773 /usr/local/x11r5/include
9774 /usr/lpp/Xamples/include
9776 /usr/openwin/include
9777 /usr/openwin/share/include'
9779 if test "$ac_x_includes" = no
; then
9780 # Guess where to find include files, by looking for a specified header file.
9781 # First, try using that file with no special directory specified.
9782 cat >conftest.
$ac_ext <<_ACEOF
9785 cat confdefs.h
>>conftest.
$ac_ext
9786 cat >>conftest.
$ac_ext <<_ACEOF
9787 /* end confdefs.h. */
9788 #include <X11/Xlib.h>
9790 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
9791 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
9793 grep -v '^ *+' conftest.er1
>conftest.err
9795 cat conftest.err
>&5
9796 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9797 (exit $ac_status); } >/dev
/null
; then
9798 if test -s conftest.err
; then
9799 ac_cpp_err
=$ac_c_preproc_warn_flag
9800 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
9807 if test -z "$ac_cpp_err"; then
9808 # We can compile using X headers with no special include directory.
9811 echo "$as_me: failed program was:" >&5
9812 sed 's/^/| /' conftest.
$ac_ext >&5
9814 for ac_dir
in $ac_x_header_dirs; do
9815 if test -r "$ac_dir/X11/Xlib.h"; then
9816 ac_x_includes
=$ac_dir
9821 rm -f conftest.err conftest.
$ac_ext
9822 fi # $ac_x_includes = no
9824 if test "$ac_x_libraries" = no
; then
9825 # Check for the libraries.
9826 # See if we find them without any special options.
9827 # Don't add to $LIBS permanently.
9830 cat >conftest.
$ac_ext <<_ACEOF
9833 cat confdefs.h
>>conftest.
$ac_ext
9834 cat >>conftest.
$ac_ext <<_ACEOF
9835 /* end confdefs.h. */
9836 #include <X11/Xlib.h>
9845 rm -f conftest.
$ac_objext conftest
$ac_exeext
9846 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
9847 (eval $ac_link) 2>conftest.er1
9849 grep -v '^ *+' conftest.er1
>conftest.err
9851 cat conftest.err
>&5
9852 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9853 (exit $ac_status); } &&
9854 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
9855 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9858 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9859 (exit $ac_status); }; } &&
9860 { ac_try
='test -s conftest$ac_exeext'
9861 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9864 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9865 (exit $ac_status); }; }; then
9867 # We can link X programs with no special library path.
9870 echo "$as_me: failed program was:" >&5
9871 sed 's/^/| /' conftest.
$ac_ext >&5
9874 for ac_dir
in `echo "$ac_x_includes $ac_x_header_dirs" | sed s/include/lib/g`
9876 # Don't even attempt the hair of trying to link an X program!
9877 for ac_extension
in a so sl
; do
9878 if test -r $ac_dir/libX11.
$ac_extension; then
9879 ac_x_libraries
=$ac_dir
9885 rm -f conftest.err conftest.
$ac_objext \
9886 conftest
$ac_exeext conftest.
$ac_ext
9887 fi # $ac_x_libraries = no
9889 if test "$ac_x_includes" = no ||
test "$ac_x_libraries" = no
; then
9890 # Didn't find X anywhere. Cache the known absence of X.
9891 ac_cv_have_x
="have_x=no"
9893 # Record where we found X for the cache.
9894 ac_cv_have_x
="have_x=yes \
9895 ac_x_includes=$ac_x_includes ac_x_libraries=$ac_x_libraries"
9900 eval "$ac_cv_have_x"
9903 if test "$have_x" != yes; then
9904 echo "$as_me:$LINENO: result: $have_x" >&5
9905 echo "${ECHO_T}$have_x" >&6
9908 # If each of the values was on the command line, it overrides each guess.
9909 test "x$x_includes" = xNONE
&& x_includes
=$ac_x_includes
9910 test "x$x_libraries" = xNONE
&& x_libraries
=$ac_x_libraries
9911 # Update the cache value to reflect the command line values.
9912 ac_cv_have_x
="have_x=yes \
9913 ac_x_includes=$x_includes ac_x_libraries=$x_libraries"
9914 # It might be that x_includes is empty (headers are found in the
9915 # standard search path. Then output the corresponding message
9916 ac_out_x_includes
=$x_includes
9917 test "x$x_includes" = x
&& ac_out_x_includes
="in standard search path"
9918 echo "$as_me:$LINENO: result: libraries $x_libraries, headers $ac_out_x_includes" >&5
9919 echo "${ECHO_T}libraries $x_libraries, headers $ac_out_x_includes" >&6
9923 if test "$no_x" = yes; then
9924 # Not all programs may use this symbol, but it does not hurt to define it.
9926 cat >>confdefs.h
<<\_ACEOF
9927 #define X_DISPLAY_MISSING 1
9930 X_CFLAGS
= X_PRE_LIBS
= X_LIBS
= X_EXTRA_LIBS
=
9932 if test -n "$x_includes"; then
9933 X_CFLAGS
="$X_CFLAGS -I$x_includes"
9936 # It would also be nice to do this for all -L options, not just this one.
9937 if test -n "$x_libraries"; then
9938 X_LIBS
="$X_LIBS -L$x_libraries"
9939 # For Solaris; some versions of Sun CC require a space after -R and
9940 # others require no space. Words are not sufficient . . . .
9941 case `(uname -sr) 2>/dev/null` in
9943 echo "$as_me:$LINENO: checking whether -R must be followed by a space" >&5
9944 echo $ECHO_N "checking whether -R must be followed by a space... $ECHO_C" >&6
9945 ac_xsave_LIBS
=$LIBS; LIBS
="$LIBS -R$x_libraries"
9946 cat >conftest.
$ac_ext <<_ACEOF
9949 cat confdefs.h
>>conftest.
$ac_ext
9950 cat >>conftest.
$ac_ext <<_ACEOF
9951 /* end confdefs.h. */
9961 rm -f conftest.
$ac_objext conftest
$ac_exeext
9962 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
9963 (eval $ac_link) 2>conftest.er1
9965 grep -v '^ *+' conftest.er1
>conftest.err
9967 cat conftest.err
>&5
9968 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9969 (exit $ac_status); } &&
9970 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
9971 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9974 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9975 (exit $ac_status); }; } &&
9976 { ac_try
='test -s conftest$ac_exeext'
9977 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9980 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9981 (exit $ac_status); }; }; then
9984 echo "$as_me: failed program was:" >&5
9985 sed 's/^/| /' conftest.
$ac_ext >&5
9989 rm -f conftest.err conftest.
$ac_objext \
9990 conftest
$ac_exeext conftest.
$ac_ext
9991 if test $ac_R_nospace = yes; then
9992 echo "$as_me:$LINENO: result: no" >&5
9993 echo "${ECHO_T}no" >&6
9994 X_LIBS
="$X_LIBS -R$x_libraries"
9996 LIBS
="$ac_xsave_LIBS -R $x_libraries"
9997 cat >conftest.
$ac_ext <<_ACEOF
10000 cat confdefs.h
>>conftest.
$ac_ext
10001 cat >>conftest.
$ac_ext <<_ACEOF
10002 /* end confdefs.h. */
10012 rm -f conftest.
$ac_objext conftest
$ac_exeext
10013 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10014 (eval $ac_link) 2>conftest.er1
10016 grep -v '^ *+' conftest.er1
>conftest.err
10018 cat conftest.err
>&5
10019 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10020 (exit $ac_status); } &&
10021 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
10022 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10023 (eval $ac_try) 2>&5
10025 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10026 (exit $ac_status); }; } &&
10027 { ac_try
='test -s conftest$ac_exeext'
10028 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10029 (eval $ac_try) 2>&5
10031 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10032 (exit $ac_status); }; }; then
10035 echo "$as_me: failed program was:" >&5
10036 sed 's/^/| /' conftest.
$ac_ext >&5
10040 rm -f conftest.err conftest.
$ac_objext \
10041 conftest
$ac_exeext conftest.
$ac_ext
10042 if test $ac_R_space = yes; then
10043 echo "$as_me:$LINENO: result: yes" >&5
10044 echo "${ECHO_T}yes" >&6
10045 X_LIBS
="$X_LIBS -R $x_libraries"
10047 echo "$as_me:$LINENO: result: neither works" >&5
10048 echo "${ECHO_T}neither works" >&6
10051 LIBS
=$ac_xsave_LIBS
10055 # Check for system-dependent libraries X programs must link with.
10056 # Do this before checking for the system-independent R6 libraries
10057 # (-lICE), since we may need -lsocket or whatever for X linking.
10059 if test "$ISC" = yes; then
10060 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lnsl_s -linet"
10062 # Martyn Johnson says this is needed for Ultrix, if the X
10063 # libraries were built with DECnet support. And Karl Berry says
10064 # the Alpha needs dnet_stub (dnet does not exist).
10065 ac_xsave_LIBS
="$LIBS"; LIBS
="$LIBS $X_LIBS -lX11"
10066 cat >conftest.
$ac_ext <<_ACEOF
10069 cat confdefs.h
>>conftest.
$ac_ext
10070 cat >>conftest.
$ac_ext <<_ACEOF
10071 /* end confdefs.h. */
10073 /* Override any gcc2 internal prototype to avoid an error. */
10077 /* We use char because int might match the return type of a gcc2
10078 builtin and then its argument prototype would still apply. */
10079 char XOpenDisplay ();
10088 rm -f conftest.
$ac_objext conftest
$ac_exeext
10089 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10090 (eval $ac_link) 2>conftest.er1
10092 grep -v '^ *+' conftest.er1
>conftest.err
10094 cat conftest.err
>&5
10095 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10096 (exit $ac_status); } &&
10097 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
10098 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10099 (eval $ac_try) 2>&5
10101 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10102 (exit $ac_status); }; } &&
10103 { ac_try
='test -s conftest$ac_exeext'
10104 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10105 (eval $ac_try) 2>&5
10107 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10108 (exit $ac_status); }; }; then
10111 echo "$as_me: failed program was:" >&5
10112 sed 's/^/| /' conftest.
$ac_ext >&5
10114 echo "$as_me:$LINENO: checking for dnet_ntoa in -ldnet" >&5
10115 echo $ECHO_N "checking for dnet_ntoa in -ldnet... $ECHO_C" >&6
10116 if test "${ac_cv_lib_dnet_dnet_ntoa+set}" = set; then
10117 echo $ECHO_N "(cached) $ECHO_C" >&6
10119 ac_check_lib_save_LIBS
=$LIBS
10120 LIBS
="-ldnet $LIBS"
10121 cat >conftest.
$ac_ext <<_ACEOF
10124 cat confdefs.h
>>conftest.
$ac_ext
10125 cat >>conftest.
$ac_ext <<_ACEOF
10126 /* end confdefs.h. */
10128 /* Override any gcc2 internal prototype to avoid an error. */
10132 /* We use char because int might match the return type of a gcc2
10133 builtin and then its argument prototype would still apply. */
10143 rm -f conftest.
$ac_objext conftest
$ac_exeext
10144 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10145 (eval $ac_link) 2>conftest.er1
10147 grep -v '^ *+' conftest.er1
>conftest.err
10149 cat conftest.err
>&5
10150 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10151 (exit $ac_status); } &&
10152 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
10153 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10154 (eval $ac_try) 2>&5
10156 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10157 (exit $ac_status); }; } &&
10158 { ac_try
='test -s conftest$ac_exeext'
10159 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10160 (eval $ac_try) 2>&5
10162 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10163 (exit $ac_status); }; }; then
10164 ac_cv_lib_dnet_dnet_ntoa
=yes
10166 echo "$as_me: failed program was:" >&5
10167 sed 's/^/| /' conftest.
$ac_ext >&5
10169 ac_cv_lib_dnet_dnet_ntoa
=no
10171 rm -f conftest.err conftest.
$ac_objext \
10172 conftest
$ac_exeext conftest.
$ac_ext
10173 LIBS
=$ac_check_lib_save_LIBS
10175 echo "$as_me:$LINENO: result: $ac_cv_lib_dnet_dnet_ntoa" >&5
10176 echo "${ECHO_T}$ac_cv_lib_dnet_dnet_ntoa" >&6
10177 if test $ac_cv_lib_dnet_dnet_ntoa = yes; then
10178 X_EXTRA_LIBS
="$X_EXTRA_LIBS -ldnet"
10181 if test $ac_cv_lib_dnet_dnet_ntoa = no
; then
10182 echo "$as_me:$LINENO: checking for dnet_ntoa in -ldnet_stub" >&5
10183 echo $ECHO_N "checking for dnet_ntoa in -ldnet_stub... $ECHO_C" >&6
10184 if test "${ac_cv_lib_dnet_stub_dnet_ntoa+set}" = set; then
10185 echo $ECHO_N "(cached) $ECHO_C" >&6
10187 ac_check_lib_save_LIBS
=$LIBS
10188 LIBS
="-ldnet_stub $LIBS"
10189 cat >conftest.
$ac_ext <<_ACEOF
10192 cat confdefs.h
>>conftest.
$ac_ext
10193 cat >>conftest.
$ac_ext <<_ACEOF
10194 /* end confdefs.h. */
10196 /* Override any gcc2 internal prototype to avoid an error. */
10200 /* We use char because int might match the return type of a gcc2
10201 builtin and then its argument prototype would still apply. */
10211 rm -f conftest.
$ac_objext conftest
$ac_exeext
10212 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10213 (eval $ac_link) 2>conftest.er1
10215 grep -v '^ *+' conftest.er1
>conftest.err
10217 cat conftest.err
>&5
10218 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10219 (exit $ac_status); } &&
10220 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
10221 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10222 (eval $ac_try) 2>&5
10224 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10225 (exit $ac_status); }; } &&
10226 { ac_try
='test -s conftest$ac_exeext'
10227 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10228 (eval $ac_try) 2>&5
10230 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10231 (exit $ac_status); }; }; then
10232 ac_cv_lib_dnet_stub_dnet_ntoa
=yes
10234 echo "$as_me: failed program was:" >&5
10235 sed 's/^/| /' conftest.
$ac_ext >&5
10237 ac_cv_lib_dnet_stub_dnet_ntoa
=no
10239 rm -f conftest.err conftest.
$ac_objext \
10240 conftest
$ac_exeext conftest.
$ac_ext
10241 LIBS
=$ac_check_lib_save_LIBS
10243 echo "$as_me:$LINENO: result: $ac_cv_lib_dnet_stub_dnet_ntoa" >&5
10244 echo "${ECHO_T}$ac_cv_lib_dnet_stub_dnet_ntoa" >&6
10245 if test $ac_cv_lib_dnet_stub_dnet_ntoa = yes; then
10246 X_EXTRA_LIBS
="$X_EXTRA_LIBS -ldnet_stub"
10251 rm -f conftest.err conftest.
$ac_objext \
10252 conftest
$ac_exeext conftest.
$ac_ext
10253 LIBS
="$ac_xsave_LIBS"
10255 # msh@cis.ufl.edu says -lnsl (and -lsocket) are needed for his 386/AT,
10256 # to get the SysV transport functions.
10257 # Chad R. Larson says the Pyramis MIS-ES running DC/OSx (SVR4)
10259 # The nsl library prevents programs from opening the X display
10260 # on Irix 5.2, according to T.E. Dickey.
10261 # The functions gethostbyname, getservbyname, and inet_addr are
10262 # in -lbsd on LynxOS 3.0.1/i386, according to Lars Hecking.
10263 echo "$as_me:$LINENO: checking for gethostbyname" >&5
10264 echo $ECHO_N "checking for gethostbyname... $ECHO_C" >&6
10265 if test "${ac_cv_func_gethostbyname+set}" = set; then
10266 echo $ECHO_N "(cached) $ECHO_C" >&6
10268 cat >conftest.
$ac_ext <<_ACEOF
10271 cat confdefs.h
>>conftest.
$ac_ext
10272 cat >>conftest.
$ac_ext <<_ACEOF
10273 /* end confdefs.h. */
10274 /* Define gethostbyname to an innocuous variant, in case <limits.h> declares gethostbyname.
10275 For example, HP-UX 11i <limits.h> declares gettimeofday. */
10276 #define gethostbyname innocuous_gethostbyname
10278 /* System header to define __stub macros and hopefully few prototypes,
10279 which can conflict with char gethostbyname (); below.
10280 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
10281 <limits.h> exists even on freestanding compilers. */
10284 # include <limits.h>
10286 # include <assert.h>
10289 #undef gethostbyname
10291 /* Override any gcc2 internal prototype to avoid an error. */
10296 /* We use char because int might match the return type of a gcc2
10297 builtin and then its argument prototype would still apply. */
10298 char gethostbyname ();
10299 /* The GNU C library defines this for functions which it implements
10300 to always fail with ENOSYS. Some functions are actually named
10301 something starting with __ and the normal name is an alias. */
10302 #if defined (__stub_gethostbyname) || defined (__stub___gethostbyname)
10305 char (*f) () = gethostbyname;
10314 return f != gethostbyname;
10319 rm -f conftest.
$ac_objext conftest
$ac_exeext
10320 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10321 (eval $ac_link) 2>conftest.er1
10323 grep -v '^ *+' conftest.er1
>conftest.err
10325 cat conftest.err
>&5
10326 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10327 (exit $ac_status); } &&
10328 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
10329 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10330 (eval $ac_try) 2>&5
10332 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10333 (exit $ac_status); }; } &&
10334 { ac_try
='test -s conftest$ac_exeext'
10335 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10336 (eval $ac_try) 2>&5
10338 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10339 (exit $ac_status); }; }; then
10340 ac_cv_func_gethostbyname
=yes
10342 echo "$as_me: failed program was:" >&5
10343 sed 's/^/| /' conftest.
$ac_ext >&5
10345 ac_cv_func_gethostbyname
=no
10347 rm -f conftest.err conftest.
$ac_objext \
10348 conftest
$ac_exeext conftest.
$ac_ext
10350 echo "$as_me:$LINENO: result: $ac_cv_func_gethostbyname" >&5
10351 echo "${ECHO_T}$ac_cv_func_gethostbyname" >&6
10353 if test $ac_cv_func_gethostbyname = no
; then
10354 echo "$as_me:$LINENO: checking for gethostbyname in -lnsl" >&5
10355 echo $ECHO_N "checking for gethostbyname in -lnsl... $ECHO_C" >&6
10356 if test "${ac_cv_lib_nsl_gethostbyname+set}" = set; then
10357 echo $ECHO_N "(cached) $ECHO_C" >&6
10359 ac_check_lib_save_LIBS
=$LIBS
10361 cat >conftest.
$ac_ext <<_ACEOF
10364 cat confdefs.h
>>conftest.
$ac_ext
10365 cat >>conftest.
$ac_ext <<_ACEOF
10366 /* end confdefs.h. */
10368 /* Override any gcc2 internal prototype to avoid an error. */
10372 /* We use char because int might match the return type of a gcc2
10373 builtin and then its argument prototype would still apply. */
10374 char gethostbyname ();
10383 rm -f conftest.
$ac_objext conftest
$ac_exeext
10384 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10385 (eval $ac_link) 2>conftest.er1
10387 grep -v '^ *+' conftest.er1
>conftest.err
10389 cat conftest.err
>&5
10390 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10391 (exit $ac_status); } &&
10392 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
10393 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10394 (eval $ac_try) 2>&5
10396 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10397 (exit $ac_status); }; } &&
10398 { ac_try
='test -s conftest$ac_exeext'
10399 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10400 (eval $ac_try) 2>&5
10402 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10403 (exit $ac_status); }; }; then
10404 ac_cv_lib_nsl_gethostbyname
=yes
10406 echo "$as_me: failed program was:" >&5
10407 sed 's/^/| /' conftest.
$ac_ext >&5
10409 ac_cv_lib_nsl_gethostbyname
=no
10411 rm -f conftest.err conftest.
$ac_objext \
10412 conftest
$ac_exeext conftest.
$ac_ext
10413 LIBS
=$ac_check_lib_save_LIBS
10415 echo "$as_me:$LINENO: result: $ac_cv_lib_nsl_gethostbyname" >&5
10416 echo "${ECHO_T}$ac_cv_lib_nsl_gethostbyname" >&6
10417 if test $ac_cv_lib_nsl_gethostbyname = yes; then
10418 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lnsl"
10421 if test $ac_cv_lib_nsl_gethostbyname = no
; then
10422 echo "$as_me:$LINENO: checking for gethostbyname in -lbsd" >&5
10423 echo $ECHO_N "checking for gethostbyname in -lbsd... $ECHO_C" >&6
10424 if test "${ac_cv_lib_bsd_gethostbyname+set}" = set; then
10425 echo $ECHO_N "(cached) $ECHO_C" >&6
10427 ac_check_lib_save_LIBS
=$LIBS
10429 cat >conftest.
$ac_ext <<_ACEOF
10432 cat confdefs.h
>>conftest.
$ac_ext
10433 cat >>conftest.
$ac_ext <<_ACEOF
10434 /* end confdefs.h. */
10436 /* Override any gcc2 internal prototype to avoid an error. */
10440 /* We use char because int might match the return type of a gcc2
10441 builtin and then its argument prototype would still apply. */
10442 char gethostbyname ();
10451 rm -f conftest.
$ac_objext conftest
$ac_exeext
10452 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10453 (eval $ac_link) 2>conftest.er1
10455 grep -v '^ *+' conftest.er1
>conftest.err
10457 cat conftest.err
>&5
10458 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10459 (exit $ac_status); } &&
10460 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
10461 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10462 (eval $ac_try) 2>&5
10464 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10465 (exit $ac_status); }; } &&
10466 { ac_try
='test -s conftest$ac_exeext'
10467 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10468 (eval $ac_try) 2>&5
10470 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10471 (exit $ac_status); }; }; then
10472 ac_cv_lib_bsd_gethostbyname
=yes
10474 echo "$as_me: failed program was:" >&5
10475 sed 's/^/| /' conftest.
$ac_ext >&5
10477 ac_cv_lib_bsd_gethostbyname
=no
10479 rm -f conftest.err conftest.
$ac_objext \
10480 conftest
$ac_exeext conftest.
$ac_ext
10481 LIBS
=$ac_check_lib_save_LIBS
10483 echo "$as_me:$LINENO: result: $ac_cv_lib_bsd_gethostbyname" >&5
10484 echo "${ECHO_T}$ac_cv_lib_bsd_gethostbyname" >&6
10485 if test $ac_cv_lib_bsd_gethostbyname = yes; then
10486 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lbsd"
10492 # lieder@skyler.mavd.honeywell.com says without -lsocket,
10493 # socket/setsockopt and other routines are undefined under SCO ODT
10494 # 2.0. But -lsocket is broken on IRIX 5.2 (and is not necessary
10495 # on later versions), says Simon Leinen: it contains gethostby*
10496 # variants that don't use the name server (or something). -lsocket
10497 # must be given before -lnsl if both are needed. We assume that
10498 # if connect needs -lnsl, so does gethostbyname.
10499 echo "$as_me:$LINENO: checking for connect" >&5
10500 echo $ECHO_N "checking for connect... $ECHO_C" >&6
10501 if test "${ac_cv_func_connect+set}" = set; then
10502 echo $ECHO_N "(cached) $ECHO_C" >&6
10504 cat >conftest.
$ac_ext <<_ACEOF
10507 cat confdefs.h
>>conftest.
$ac_ext
10508 cat >>conftest.
$ac_ext <<_ACEOF
10509 /* end confdefs.h. */
10510 /* Define connect to an innocuous variant, in case <limits.h> declares connect.
10511 For example, HP-UX 11i <limits.h> declares gettimeofday. */
10512 #define connect innocuous_connect
10514 /* System header to define __stub macros and hopefully few prototypes,
10515 which can conflict with char connect (); below.
10516 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
10517 <limits.h> exists even on freestanding compilers. */
10520 # include <limits.h>
10522 # include <assert.h>
10527 /* Override any gcc2 internal prototype to avoid an error. */
10532 /* We use char because int might match the return type of a gcc2
10533 builtin and then its argument prototype would still apply. */
10535 /* The GNU C library defines this for functions which it implements
10536 to always fail with ENOSYS. Some functions are actually named
10537 something starting with __ and the normal name is an alias. */
10538 #if defined (__stub_connect) || defined (__stub___connect)
10541 char (*f) () = connect;
10550 return f != connect;
10555 rm -f conftest.
$ac_objext conftest
$ac_exeext
10556 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10557 (eval $ac_link) 2>conftest.er1
10559 grep -v '^ *+' conftest.er1
>conftest.err
10561 cat conftest.err
>&5
10562 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10563 (exit $ac_status); } &&
10564 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
10565 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10566 (eval $ac_try) 2>&5
10568 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10569 (exit $ac_status); }; } &&
10570 { ac_try
='test -s conftest$ac_exeext'
10571 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10572 (eval $ac_try) 2>&5
10574 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10575 (exit $ac_status); }; }; then
10576 ac_cv_func_connect
=yes
10578 echo "$as_me: failed program was:" >&5
10579 sed 's/^/| /' conftest.
$ac_ext >&5
10581 ac_cv_func_connect
=no
10583 rm -f conftest.err conftest.
$ac_objext \
10584 conftest
$ac_exeext conftest.
$ac_ext
10586 echo "$as_me:$LINENO: result: $ac_cv_func_connect" >&5
10587 echo "${ECHO_T}$ac_cv_func_connect" >&6
10589 if test $ac_cv_func_connect = no
; then
10590 echo "$as_me:$LINENO: checking for connect in -lsocket" >&5
10591 echo $ECHO_N "checking for connect in -lsocket... $ECHO_C" >&6
10592 if test "${ac_cv_lib_socket_connect+set}" = set; then
10593 echo $ECHO_N "(cached) $ECHO_C" >&6
10595 ac_check_lib_save_LIBS
=$LIBS
10596 LIBS
="-lsocket $X_EXTRA_LIBS $LIBS"
10597 cat >conftest.
$ac_ext <<_ACEOF
10600 cat confdefs.h
>>conftest.
$ac_ext
10601 cat >>conftest.
$ac_ext <<_ACEOF
10602 /* end confdefs.h. */
10604 /* Override any gcc2 internal prototype to avoid an error. */
10608 /* We use char because int might match the return type of a gcc2
10609 builtin and then its argument prototype would still apply. */
10619 rm -f conftest.
$ac_objext conftest
$ac_exeext
10620 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10621 (eval $ac_link) 2>conftest.er1
10623 grep -v '^ *+' conftest.er1
>conftest.err
10625 cat conftest.err
>&5
10626 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10627 (exit $ac_status); } &&
10628 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
10629 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10630 (eval $ac_try) 2>&5
10632 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10633 (exit $ac_status); }; } &&
10634 { ac_try
='test -s conftest$ac_exeext'
10635 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10636 (eval $ac_try) 2>&5
10638 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10639 (exit $ac_status); }; }; then
10640 ac_cv_lib_socket_connect
=yes
10642 echo "$as_me: failed program was:" >&5
10643 sed 's/^/| /' conftest.
$ac_ext >&5
10645 ac_cv_lib_socket_connect
=no
10647 rm -f conftest.err conftest.
$ac_objext \
10648 conftest
$ac_exeext conftest.
$ac_ext
10649 LIBS
=$ac_check_lib_save_LIBS
10651 echo "$as_me:$LINENO: result: $ac_cv_lib_socket_connect" >&5
10652 echo "${ECHO_T}$ac_cv_lib_socket_connect" >&6
10653 if test $ac_cv_lib_socket_connect = yes; then
10654 X_EXTRA_LIBS
="-lsocket $X_EXTRA_LIBS"
10659 # Guillermo Gomez says -lposix is necessary on A/UX.
10660 echo "$as_me:$LINENO: checking for remove" >&5
10661 echo $ECHO_N "checking for remove... $ECHO_C" >&6
10662 if test "${ac_cv_func_remove+set}" = set; then
10663 echo $ECHO_N "(cached) $ECHO_C" >&6
10665 cat >conftest.
$ac_ext <<_ACEOF
10668 cat confdefs.h
>>conftest.
$ac_ext
10669 cat >>conftest.
$ac_ext <<_ACEOF
10670 /* end confdefs.h. */
10671 /* Define remove to an innocuous variant, in case <limits.h> declares remove.
10672 For example, HP-UX 11i <limits.h> declares gettimeofday. */
10673 #define remove innocuous_remove
10675 /* System header to define __stub macros and hopefully few prototypes,
10676 which can conflict with char remove (); below.
10677 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
10678 <limits.h> exists even on freestanding compilers. */
10681 # include <limits.h>
10683 # include <assert.h>
10688 /* Override any gcc2 internal prototype to avoid an error. */
10693 /* We use char because int might match the return type of a gcc2
10694 builtin and then its argument prototype would still apply. */
10696 /* The GNU C library defines this for functions which it implements
10697 to always fail with ENOSYS. Some functions are actually named
10698 something starting with __ and the normal name is an alias. */
10699 #if defined (__stub_remove) || defined (__stub___remove)
10702 char (*f) () = remove;
10711 return f != remove;
10716 rm -f conftest.
$ac_objext conftest
$ac_exeext
10717 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10718 (eval $ac_link) 2>conftest.er1
10720 grep -v '^ *+' conftest.er1
>conftest.err
10722 cat conftest.err
>&5
10723 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10724 (exit $ac_status); } &&
10725 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
10726 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10727 (eval $ac_try) 2>&5
10729 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10730 (exit $ac_status); }; } &&
10731 { ac_try
='test -s conftest$ac_exeext'
10732 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10733 (eval $ac_try) 2>&5
10735 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10736 (exit $ac_status); }; }; then
10737 ac_cv_func_remove
=yes
10739 echo "$as_me: failed program was:" >&5
10740 sed 's/^/| /' conftest.
$ac_ext >&5
10742 ac_cv_func_remove
=no
10744 rm -f conftest.err conftest.
$ac_objext \
10745 conftest
$ac_exeext conftest.
$ac_ext
10747 echo "$as_me:$LINENO: result: $ac_cv_func_remove" >&5
10748 echo "${ECHO_T}$ac_cv_func_remove" >&6
10750 if test $ac_cv_func_remove = no
; then
10751 echo "$as_me:$LINENO: checking for remove in -lposix" >&5
10752 echo $ECHO_N "checking for remove in -lposix... $ECHO_C" >&6
10753 if test "${ac_cv_lib_posix_remove+set}" = set; then
10754 echo $ECHO_N "(cached) $ECHO_C" >&6
10756 ac_check_lib_save_LIBS
=$LIBS
10757 LIBS
="-lposix $LIBS"
10758 cat >conftest.
$ac_ext <<_ACEOF
10761 cat confdefs.h
>>conftest.
$ac_ext
10762 cat >>conftest.
$ac_ext <<_ACEOF
10763 /* end confdefs.h. */
10765 /* Override any gcc2 internal prototype to avoid an error. */
10769 /* We use char because int might match the return type of a gcc2
10770 builtin and then its argument prototype would still apply. */
10780 rm -f conftest.
$ac_objext conftest
$ac_exeext
10781 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10782 (eval $ac_link) 2>conftest.er1
10784 grep -v '^ *+' conftest.er1
>conftest.err
10786 cat conftest.err
>&5
10787 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10788 (exit $ac_status); } &&
10789 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
10790 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10791 (eval $ac_try) 2>&5
10793 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10794 (exit $ac_status); }; } &&
10795 { ac_try
='test -s conftest$ac_exeext'
10796 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10797 (eval $ac_try) 2>&5
10799 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10800 (exit $ac_status); }; }; then
10801 ac_cv_lib_posix_remove
=yes
10803 echo "$as_me: failed program was:" >&5
10804 sed 's/^/| /' conftest.
$ac_ext >&5
10806 ac_cv_lib_posix_remove
=no
10808 rm -f conftest.err conftest.
$ac_objext \
10809 conftest
$ac_exeext conftest.
$ac_ext
10810 LIBS
=$ac_check_lib_save_LIBS
10812 echo "$as_me:$LINENO: result: $ac_cv_lib_posix_remove" >&5
10813 echo "${ECHO_T}$ac_cv_lib_posix_remove" >&6
10814 if test $ac_cv_lib_posix_remove = yes; then
10815 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lposix"
10820 # BSDI BSD/OS 2.1 needs -lipc for XOpenDisplay.
10821 echo "$as_me:$LINENO: checking for shmat" >&5
10822 echo $ECHO_N "checking for shmat... $ECHO_C" >&6
10823 if test "${ac_cv_func_shmat+set}" = set; then
10824 echo $ECHO_N "(cached) $ECHO_C" >&6
10826 cat >conftest.
$ac_ext <<_ACEOF
10829 cat confdefs.h
>>conftest.
$ac_ext
10830 cat >>conftest.
$ac_ext <<_ACEOF
10831 /* end confdefs.h. */
10832 /* Define shmat to an innocuous variant, in case <limits.h> declares shmat.
10833 For example, HP-UX 11i <limits.h> declares gettimeofday. */
10834 #define shmat innocuous_shmat
10836 /* System header to define __stub macros and hopefully few prototypes,
10837 which can conflict with char shmat (); below.
10838 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
10839 <limits.h> exists even on freestanding compilers. */
10842 # include <limits.h>
10844 # include <assert.h>
10849 /* Override any gcc2 internal prototype to avoid an error. */
10854 /* We use char because int might match the return type of a gcc2
10855 builtin and then its argument prototype would still apply. */
10857 /* The GNU C library defines this for functions which it implements
10858 to always fail with ENOSYS. Some functions are actually named
10859 something starting with __ and the normal name is an alias. */
10860 #if defined (__stub_shmat) || defined (__stub___shmat)
10863 char (*f) () = shmat;
10877 rm -f conftest.
$ac_objext conftest
$ac_exeext
10878 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10879 (eval $ac_link) 2>conftest.er1
10881 grep -v '^ *+' conftest.er1
>conftest.err
10883 cat conftest.err
>&5
10884 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10885 (exit $ac_status); } &&
10886 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
10887 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10888 (eval $ac_try) 2>&5
10890 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10891 (exit $ac_status); }; } &&
10892 { ac_try
='test -s conftest$ac_exeext'
10893 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10894 (eval $ac_try) 2>&5
10896 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10897 (exit $ac_status); }; }; then
10898 ac_cv_func_shmat
=yes
10900 echo "$as_me: failed program was:" >&5
10901 sed 's/^/| /' conftest.
$ac_ext >&5
10903 ac_cv_func_shmat
=no
10905 rm -f conftest.err conftest.
$ac_objext \
10906 conftest
$ac_exeext conftest.
$ac_ext
10908 echo "$as_me:$LINENO: result: $ac_cv_func_shmat" >&5
10909 echo "${ECHO_T}$ac_cv_func_shmat" >&6
10911 if test $ac_cv_func_shmat = no
; then
10912 echo "$as_me:$LINENO: checking for shmat in -lipc" >&5
10913 echo $ECHO_N "checking for shmat in -lipc... $ECHO_C" >&6
10914 if test "${ac_cv_lib_ipc_shmat+set}" = set; then
10915 echo $ECHO_N "(cached) $ECHO_C" >&6
10917 ac_check_lib_save_LIBS
=$LIBS
10919 cat >conftest.
$ac_ext <<_ACEOF
10922 cat confdefs.h
>>conftest.
$ac_ext
10923 cat >>conftest.
$ac_ext <<_ACEOF
10924 /* end confdefs.h. */
10926 /* Override any gcc2 internal prototype to avoid an error. */
10930 /* We use char because int might match the return type of a gcc2
10931 builtin and then its argument prototype would still apply. */
10941 rm -f conftest.
$ac_objext conftest
$ac_exeext
10942 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10943 (eval $ac_link) 2>conftest.er1
10945 grep -v '^ *+' conftest.er1
>conftest.err
10947 cat conftest.err
>&5
10948 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10949 (exit $ac_status); } &&
10950 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
10951 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10952 (eval $ac_try) 2>&5
10954 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10955 (exit $ac_status); }; } &&
10956 { ac_try
='test -s conftest$ac_exeext'
10957 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10958 (eval $ac_try) 2>&5
10960 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10961 (exit $ac_status); }; }; then
10962 ac_cv_lib_ipc_shmat
=yes
10964 echo "$as_me: failed program was:" >&5
10965 sed 's/^/| /' conftest.
$ac_ext >&5
10967 ac_cv_lib_ipc_shmat
=no
10969 rm -f conftest.err conftest.
$ac_objext \
10970 conftest
$ac_exeext conftest.
$ac_ext
10971 LIBS
=$ac_check_lib_save_LIBS
10973 echo "$as_me:$LINENO: result: $ac_cv_lib_ipc_shmat" >&5
10974 echo "${ECHO_T}$ac_cv_lib_ipc_shmat" >&6
10975 if test $ac_cv_lib_ipc_shmat = yes; then
10976 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lipc"
10982 # Check for libraries that X11R6 Xt/Xaw programs need.
10983 ac_save_LDFLAGS
=$LDFLAGS
10984 test -n "$x_libraries" && LDFLAGS
="$LDFLAGS -L$x_libraries"
10985 # SM needs ICE to (dynamically) link under SunOS 4.x (so we have to
10986 # check for ICE first), but we must link in the order -lSM -lICE or
10987 # we get undefined symbols. So assume we have SM if we have ICE.
10988 # These have to be linked with before -lX11, unlike the other
10989 # libraries we check for below, so use a different variable.
10990 # John Interrante, Karl Berry
10991 echo "$as_me:$LINENO: checking for IceConnectionNumber in -lICE" >&5
10992 echo $ECHO_N "checking for IceConnectionNumber in -lICE... $ECHO_C" >&6
10993 if test "${ac_cv_lib_ICE_IceConnectionNumber+set}" = set; then
10994 echo $ECHO_N "(cached) $ECHO_C" >&6
10996 ac_check_lib_save_LIBS
=$LIBS
10997 LIBS
="-lICE $X_EXTRA_LIBS $LIBS"
10998 cat >conftest.
$ac_ext <<_ACEOF
11001 cat confdefs.h
>>conftest.
$ac_ext
11002 cat >>conftest.
$ac_ext <<_ACEOF
11003 /* end confdefs.h. */
11005 /* Override any gcc2 internal prototype to avoid an error. */
11009 /* We use char because int might match the return type of a gcc2
11010 builtin and then its argument prototype would still apply. */
11011 char IceConnectionNumber ();
11015 IceConnectionNumber ();
11020 rm -f conftest.
$ac_objext conftest
$ac_exeext
11021 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
11022 (eval $ac_link) 2>conftest.er1
11024 grep -v '^ *+' conftest.er1
>conftest.err
11026 cat conftest.err
>&5
11027 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11028 (exit $ac_status); } &&
11029 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
11030 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11031 (eval $ac_try) 2>&5
11033 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11034 (exit $ac_status); }; } &&
11035 { ac_try
='test -s conftest$ac_exeext'
11036 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11037 (eval $ac_try) 2>&5
11039 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11040 (exit $ac_status); }; }; then
11041 ac_cv_lib_ICE_IceConnectionNumber
=yes
11043 echo "$as_me: failed program was:" >&5
11044 sed 's/^/| /' conftest.
$ac_ext >&5
11046 ac_cv_lib_ICE_IceConnectionNumber
=no
11048 rm -f conftest.err conftest.
$ac_objext \
11049 conftest
$ac_exeext conftest.
$ac_ext
11050 LIBS
=$ac_check_lib_save_LIBS
11052 echo "$as_me:$LINENO: result: $ac_cv_lib_ICE_IceConnectionNumber" >&5
11053 echo "${ECHO_T}$ac_cv_lib_ICE_IceConnectionNumber" >&6
11054 if test $ac_cv_lib_ICE_IceConnectionNumber = yes; then
11055 X_PRE_LIBS
="$X_PRE_LIBS -lSM -lICE"
11058 LDFLAGS
=$ac_save_LDFLAGS
11062 if test "$no_x" = yes; then
11063 { { echo "$as_me:$LINENO: error: GTK+ peers requested but no X library available" >&5
11064 echo "$as_me: error: GTK+ peers requested but no X library available" >&2;}
11065 { (exit 1); exit 1; }; }
11067 echo "$as_me:$LINENO: checking for XTestQueryExtension in -lXtst" >&5
11068 echo $ECHO_N "checking for XTestQueryExtension in -lXtst... $ECHO_C" >&6
11069 if test "${ac_cv_lib_Xtst_XTestQueryExtension+set}" = set; then
11070 echo $ECHO_N "(cached) $ECHO_C" >&6
11072 ac_check_lib_save_LIBS
=$LIBS
11073 LIBS
="-lXtst ${X_LIBS} $LIBS"
11074 cat >conftest.
$ac_ext <<_ACEOF
11077 cat confdefs.h
>>conftest.
$ac_ext
11078 cat >>conftest.
$ac_ext <<_ACEOF
11079 /* end confdefs.h. */
11081 /* Override any gcc2 internal prototype to avoid an error. */
11085 /* We use char because int might match the return type of a gcc2
11086 builtin and then its argument prototype would still apply. */
11087 char XTestQueryExtension ();
11091 XTestQueryExtension ();
11096 rm -f conftest.
$ac_objext conftest
$ac_exeext
11097 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
11098 (eval $ac_link) 2>conftest.er1
11100 grep -v '^ *+' conftest.er1
>conftest.err
11102 cat conftest.err
>&5
11103 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11104 (exit $ac_status); } &&
11105 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
11106 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11107 (eval $ac_try) 2>&5
11109 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11110 (exit $ac_status); }; } &&
11111 { ac_try
='test -s conftest$ac_exeext'
11112 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11113 (eval $ac_try) 2>&5
11115 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11116 (exit $ac_status); }; }; then
11117 ac_cv_lib_Xtst_XTestQueryExtension
=yes
11119 echo "$as_me: failed program was:" >&5
11120 sed 's/^/| /' conftest.
$ac_ext >&5
11122 ac_cv_lib_Xtst_XTestQueryExtension
=no
11124 rm -f conftest.err conftest.
$ac_objext \
11125 conftest
$ac_exeext conftest.
$ac_ext
11126 LIBS
=$ac_check_lib_save_LIBS
11128 echo "$as_me:$LINENO: result: $ac_cv_lib_Xtst_XTestQueryExtension" >&5
11129 echo "${ECHO_T}$ac_cv_lib_Xtst_XTestQueryExtension" >&6
11130 if test $ac_cv_lib_Xtst_XTestQueryExtension = yes; then
11133 { { echo "$as_me:$LINENO: error: libXtst NOT found, required for GdkRobot" >&5
11134 echo "$as_me: error: libXtst NOT found, required for GdkRobot" >&2;}
11135 { (exit 1); exit 1; }; }
11141 if test -z "$PKG_CONFIG"; then
11142 # Extract the first word of "pkg-config", so it can be a program name with args.
11143 set dummy pkg-config
; ac_word
=$2
11144 echo "$as_me:$LINENO: checking for $ac_word" >&5
11145 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
11146 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
11147 echo $ECHO_N "(cached) $ECHO_C" >&6
11149 case $PKG_CONFIG in
11151 ac_cv_path_PKG_CONFIG
="$PKG_CONFIG" # Let the user override the test with a path.
11154 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
11155 for as_dir
in $PATH
11158 test -z "$as_dir" && as_dir
=.
11159 for ac_exec_ext
in '' $ac_executable_extensions; do
11160 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
11161 ac_cv_path_PKG_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
11162 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
11168 test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG
="no"
11172 PKG_CONFIG
=$ac_cv_path_PKG_CONFIG
11174 if test -n "$PKG_CONFIG"; then
11175 echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
11176 echo "${ECHO_T}$PKG_CONFIG" >&6
11178 echo "$as_me:$LINENO: result: no" >&5
11179 echo "${ECHO_T}no" >&6
11184 if test "$PKG_CONFIG" = "no" ; then
11185 echo "*** The pkg-config script could not be found. Make sure it is"
11186 echo "*** in your path, or set the PKG_CONFIG environment variable"
11187 echo "*** to the full path to pkg-config."
11188 echo "*** Or see http://www.freedesktop.org/software/pkgconfig to get pkg-config."
11190 PKG_CONFIG_MIN_VERSION
=0.9.0
11191 if $PKG_CONFIG --atleast-pkgconfig-version $PKG_CONFIG_MIN_VERSION; then
11192 echo "$as_me:$LINENO: checking for gtk+-2.0 >= 2.4 gthread-2.0 >= 2.2 gdk-pixbuf-2.0" >&5
11193 echo $ECHO_N "checking for gtk+-2.0 >= 2.4 gthread-2.0 >= 2.2 gdk-pixbuf-2.0... $ECHO_C" >&6
11195 if $PKG_CONFIG --exists "gtk+-2.0 >= 2.4 gthread-2.0 >= 2.2 gdk-pixbuf-2.0" ; then
11196 echo "$as_me:$LINENO: result: yes" >&5
11197 echo "${ECHO_T}yes" >&6
11200 echo "$as_me:$LINENO: checking GTK_CFLAGS" >&5
11201 echo $ECHO_N "checking GTK_CFLAGS... $ECHO_C" >&6
11202 GTK_CFLAGS
=`$PKG_CONFIG --cflags "gtk+-2.0 >= 2.4 gthread-2.0 >= 2.2 gdk-pixbuf-2.0"`
11203 echo "$as_me:$LINENO: result: $GTK_CFLAGS" >&5
11204 echo "${ECHO_T}$GTK_CFLAGS" >&6
11206 echo "$as_me:$LINENO: checking GTK_LIBS" >&5
11207 echo $ECHO_N "checking GTK_LIBS... $ECHO_C" >&6
11208 GTK_LIBS
=`$PKG_CONFIG --libs "gtk+-2.0 >= 2.4 gthread-2.0 >= 2.2 gdk-pixbuf-2.0"`
11209 echo "$as_me:$LINENO: result: $GTK_LIBS" >&5
11210 echo "${ECHO_T}$GTK_LIBS" >&6
11214 ## If we have a custom action on failure, don't print errors, but
11215 ## do set a variable so people can do so.
11216 GTK_PKG_ERRORS
=`$PKG_CONFIG --errors-to-stdout --print-errors "gtk+-2.0 >= 2.4 gthread-2.0 >= 2.2 gdk-pixbuf-2.0"`
11217 echo $GTK_PKG_ERRORS
11223 echo "*** Your version of pkg-config is too old. You need version $PKG_CONFIG_MIN_VERSION or newer."
11224 echo "*** See http://www.freedesktop.org/software/pkgconfig"
11228 if test $succeeded = yes; then
11231 { { 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
11232 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;}
11233 { (exit 1); exit 1; }; }
11237 if test "x${enable_gtk_cairo}" = xyes
; then
11241 if test -z "$PKG_CONFIG"; then
11242 # Extract the first word of "pkg-config", so it can be a program name with args.
11243 set dummy pkg-config
; ac_word
=$2
11244 echo "$as_me:$LINENO: checking for $ac_word" >&5
11245 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
11246 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
11247 echo $ECHO_N "(cached) $ECHO_C" >&6
11249 case $PKG_CONFIG in
11251 ac_cv_path_PKG_CONFIG
="$PKG_CONFIG" # Let the user override the test with a path.
11254 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
11255 for as_dir
in $PATH
11258 test -z "$as_dir" && as_dir
=.
11259 for ac_exec_ext
in '' $ac_executable_extensions; do
11260 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
11261 ac_cv_path_PKG_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
11262 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
11268 test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG
="no"
11272 PKG_CONFIG
=$ac_cv_path_PKG_CONFIG
11274 if test -n "$PKG_CONFIG"; then
11275 echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
11276 echo "${ECHO_T}$PKG_CONFIG" >&6
11278 echo "$as_me:$LINENO: result: no" >&5
11279 echo "${ECHO_T}no" >&6
11284 if test "$PKG_CONFIG" = "no" ; then
11285 echo "*** The pkg-config script could not be found. Make sure it is"
11286 echo "*** in your path, or set the PKG_CONFIG environment variable"
11287 echo "*** to the full path to pkg-config."
11288 echo "*** Or see http://www.freedesktop.org/software/pkgconfig to get pkg-config."
11290 PKG_CONFIG_MIN_VERSION
=0.9.0
11291 if $PKG_CONFIG --atleast-pkgconfig-version $PKG_CONFIG_MIN_VERSION; then
11292 echo "$as_me:$LINENO: checking for cairo >= 0.5.0" >&5
11293 echo $ECHO_N "checking for cairo >= 0.5.0... $ECHO_C" >&6
11295 if $PKG_CONFIG --exists "cairo >= 0.5.0" ; then
11296 echo "$as_me:$LINENO: result: yes" >&5
11297 echo "${ECHO_T}yes" >&6
11300 echo "$as_me:$LINENO: checking CAIRO_CFLAGS" >&5
11301 echo $ECHO_N "checking CAIRO_CFLAGS... $ECHO_C" >&6
11302 CAIRO_CFLAGS
=`$PKG_CONFIG --cflags "cairo >= 0.5.0"`
11303 echo "$as_me:$LINENO: result: $CAIRO_CFLAGS" >&5
11304 echo "${ECHO_T}$CAIRO_CFLAGS" >&6
11306 echo "$as_me:$LINENO: checking CAIRO_LIBS" >&5
11307 echo $ECHO_N "checking CAIRO_LIBS... $ECHO_C" >&6
11308 CAIRO_LIBS
=`$PKG_CONFIG --libs "cairo >= 0.5.0"`
11309 echo "$as_me:$LINENO: result: $CAIRO_LIBS" >&5
11310 echo "${ECHO_T}$CAIRO_LIBS" >&6
11314 ## If we have a custom action on failure, don't print errors, but
11315 ## do set a variable so people can do so.
11316 CAIRO_PKG_ERRORS
=`$PKG_CONFIG --errors-to-stdout --print-errors "cairo >= 0.5.0"`
11317 echo $CAIRO_PKG_ERRORS
11323 echo "*** Your version of pkg-config is too old. You need version $PKG_CONFIG_MIN_VERSION or newer."
11324 echo "*** See http://www.freedesktop.org/software/pkgconfig"
11328 if test $succeeded = yes; then
11331 { { 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
11332 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;}
11333 { (exit 1); exit 1; }; }
11341 if test -z "$PKG_CONFIG"; then
11342 # Extract the first word of "pkg-config", so it can be a program name with args.
11343 set dummy pkg-config
; ac_word
=$2
11344 echo "$as_me:$LINENO: checking for $ac_word" >&5
11345 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
11346 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
11347 echo $ECHO_N "(cached) $ECHO_C" >&6
11349 case $PKG_CONFIG in
11351 ac_cv_path_PKG_CONFIG
="$PKG_CONFIG" # Let the user override the test with a path.
11354 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
11355 for as_dir
in $PATH
11358 test -z "$as_dir" && as_dir
=.
11359 for ac_exec_ext
in '' $ac_executable_extensions; do
11360 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
11361 ac_cv_path_PKG_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
11362 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
11368 test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG
="no"
11372 PKG_CONFIG
=$ac_cv_path_PKG_CONFIG
11374 if test -n "$PKG_CONFIG"; then
11375 echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
11376 echo "${ECHO_T}$PKG_CONFIG" >&6
11378 echo "$as_me:$LINENO: result: no" >&5
11379 echo "${ECHO_T}no" >&6
11384 if test "$PKG_CONFIG" = "no" ; then
11385 echo "*** The pkg-config script could not be found. Make sure it is"
11386 echo "*** in your path, or set the PKG_CONFIG environment variable"
11387 echo "*** to the full path to pkg-config."
11388 echo "*** Or see http://www.freedesktop.org/software/pkgconfig to get pkg-config."
11390 PKG_CONFIG_MIN_VERSION
=0.9.0
11391 if $PKG_CONFIG --atleast-pkgconfig-version $PKG_CONFIG_MIN_VERSION; then
11392 echo "$as_me:$LINENO: checking for pangoft2" >&5
11393 echo $ECHO_N "checking for pangoft2... $ECHO_C" >&6
11395 if $PKG_CONFIG --exists "pangoft2" ; then
11396 echo "$as_me:$LINENO: result: yes" >&5
11397 echo "${ECHO_T}yes" >&6
11400 echo "$as_me:$LINENO: checking PANGOFT2_CFLAGS" >&5
11401 echo $ECHO_N "checking PANGOFT2_CFLAGS... $ECHO_C" >&6
11402 PANGOFT2_CFLAGS
=`$PKG_CONFIG --cflags "pangoft2"`
11403 echo "$as_me:$LINENO: result: $PANGOFT2_CFLAGS" >&5
11404 echo "${ECHO_T}$PANGOFT2_CFLAGS" >&6
11406 echo "$as_me:$LINENO: checking PANGOFT2_LIBS" >&5
11407 echo $ECHO_N "checking PANGOFT2_LIBS... $ECHO_C" >&6
11408 PANGOFT2_LIBS
=`$PKG_CONFIG --libs "pangoft2"`
11409 echo "$as_me:$LINENO: result: $PANGOFT2_LIBS" >&5
11410 echo "${ECHO_T}$PANGOFT2_LIBS" >&6
11414 ## If we have a custom action on failure, don't print errors, but
11415 ## do set a variable so people can do so.
11416 PANGOFT2_PKG_ERRORS
=`$PKG_CONFIG --errors-to-stdout --print-errors "pangoft2"`
11417 echo $PANGOFT2_PKG_ERRORS
11423 echo "*** Your version of pkg-config is too old. You need version $PKG_CONFIG_MIN_VERSION or newer."
11424 echo "*** See http://www.freedesktop.org/software/pkgconfig"
11428 if test $succeeded = yes; then
11431 { { 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
11432 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;}
11433 { (exit 1); exit 1; }; }
11445 if test "x${COMPILE_QT_PEER}" = xyes
; then
11449 if test -z "$PKG_CONFIG"; then
11450 # Extract the first word of "pkg-config", so it can be a program name with args.
11451 set dummy pkg-config
; ac_word
=$2
11452 echo "$as_me:$LINENO: checking for $ac_word" >&5
11453 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
11454 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
11455 echo $ECHO_N "(cached) $ECHO_C" >&6
11457 case $PKG_CONFIG in
11459 ac_cv_path_PKG_CONFIG
="$PKG_CONFIG" # Let the user override the test with a path.
11462 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
11463 for as_dir
in $PATH
11466 test -z "$as_dir" && as_dir
=.
11467 for ac_exec_ext
in '' $ac_executable_extensions; do
11468 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
11469 ac_cv_path_PKG_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
11470 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
11476 test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG
="no"
11480 PKG_CONFIG
=$ac_cv_path_PKG_CONFIG
11482 if test -n "$PKG_CONFIG"; then
11483 echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
11484 echo "${ECHO_T}$PKG_CONFIG" >&6
11486 echo "$as_me:$LINENO: result: no" >&5
11487 echo "${ECHO_T}no" >&6
11492 if test "$PKG_CONFIG" = "no" ; then
11493 echo "*** The pkg-config script could not be found. Make sure it is"
11494 echo "*** in your path, or set the PKG_CONFIG environment variable"
11495 echo "*** to the full path to pkg-config."
11496 echo "*** Or see http://www.freedesktop.org/software/pkgconfig to get pkg-config."
11498 PKG_CONFIG_MIN_VERSION
=0.9.0
11499 if $PKG_CONFIG --atleast-pkgconfig-version $PKG_CONFIG_MIN_VERSION; then
11500 echo "$as_me:$LINENO: checking for QtCore QtGui >= 4.1.0" >&5
11501 echo $ECHO_N "checking for QtCore QtGui >= 4.1.0... $ECHO_C" >&6
11503 if $PKG_CONFIG --exists "QtCore QtGui >= 4.1.0" ; then
11504 echo "$as_me:$LINENO: result: yes" >&5
11505 echo "${ECHO_T}yes" >&6
11508 echo "$as_me:$LINENO: checking QT_CFLAGS" >&5
11509 echo $ECHO_N "checking QT_CFLAGS... $ECHO_C" >&6
11510 QT_CFLAGS
=`$PKG_CONFIG --cflags "QtCore QtGui >= 4.1.0"`
11511 echo "$as_me:$LINENO: result: $QT_CFLAGS" >&5
11512 echo "${ECHO_T}$QT_CFLAGS" >&6
11514 echo "$as_me:$LINENO: checking QT_LIBS" >&5
11515 echo $ECHO_N "checking QT_LIBS... $ECHO_C" >&6
11516 QT_LIBS
=`$PKG_CONFIG --libs "QtCore QtGui >= 4.1.0"`
11517 echo "$as_me:$LINENO: result: $QT_LIBS" >&5
11518 echo "${ECHO_T}$QT_LIBS" >&6
11522 ## If we have a custom action on failure, don't print errors, but
11523 ## do set a variable so people can do so.
11524 QT_PKG_ERRORS
=`$PKG_CONFIG --errors-to-stdout --print-errors "QtCore QtGui >= 4.1.0"`
11531 echo "*** Your version of pkg-config is too old. You need version $PKG_CONFIG_MIN_VERSION or newer."
11532 echo "*** See http://www.freedesktop.org/software/pkgconfig"
11536 if test $succeeded = yes; then
11542 if test "x$HAVE_QT4" = "xyes"; then
11543 QT_INCLUDE_DIR
=$
($PKG_CONFIG --variable=includedir QtGui
)
11544 EXTRA_QT_INCLUDE_DIR
="$QT_INCLUDE_DIR/Qt"
11545 as_ac_File
=`echo "ac_cv_file_$QT_INCLUDE_DIR/QWidget" | $as_tr_sh`
11546 echo "$as_me:$LINENO: checking for $QT_INCLUDE_DIR/QWidget" >&5
11547 echo $ECHO_N "checking for $QT_INCLUDE_DIR/QWidget... $ECHO_C" >&6
11548 if eval "test \"\${$as_ac_File+set}\" = set"; then
11549 echo $ECHO_N "(cached) $ECHO_C" >&6
11551 test "$cross_compiling" = yes &&
11552 { { echo "$as_me:$LINENO: error: cannot check for file existence when cross compiling" >&5
11553 echo "$as_me: error: cannot check for file existence when cross compiling" >&2;}
11554 { (exit 1); exit 1; }; }
11555 if test -r "$QT_INCLUDE_DIR/QWidget"; then
11556 eval "$as_ac_File=yes"
11558 eval "$as_ac_File=no"
11561 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_File'}'`" >&5
11562 echo "${ECHO_T}`eval echo '${'$as_ac_File'}'`" >&6
11563 if test `eval echo '${'$as_ac_File'}'` = yes; then
11564 { echo "$as_me:$LINENO: No extra QT_INCLUDE_DIR needed" >&5
11565 echo "$as_me: No extra QT_INCLUDE_DIR needed" >&6;}
11567 as_ac_File
=`echo "ac_cv_file_$EXTRA_QT_INCLUDE_DIR/QWidget" | $as_tr_sh`
11568 echo "$as_me:$LINENO: checking for $EXTRA_QT_INCLUDE_DIR/QWidget" >&5
11569 echo $ECHO_N "checking for $EXTRA_QT_INCLUDE_DIR/QWidget... $ECHO_C" >&6
11570 if eval "test \"\${$as_ac_File+set}\" = set"; then
11571 echo $ECHO_N "(cached) $ECHO_C" >&6
11573 test "$cross_compiling" = yes &&
11574 { { echo "$as_me:$LINENO: error: cannot check for file existence when cross compiling" >&5
11575 echo "$as_me: error: cannot check for file existence when cross compiling" >&2;}
11576 { (exit 1); exit 1; }; }
11577 if test -r "$EXTRA_QT_INCLUDE_DIR/QWidget"; then
11578 eval "$as_ac_File=yes"
11580 eval "$as_ac_File=no"
11583 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_File'}'`" >&5
11584 echo "${ECHO_T}`eval echo '${'$as_ac_File'}'`" >&6
11585 if test `eval echo '${'$as_ac_File'}'` = yes; then
11586 QT_CFLAGS
="$QT_CFLAGS -I$EXTRA_QT_INCLUDE_DIR"
11588 { echo "$as_me:$LINENO: WARNING: QWidget not found" >&5
11589 echo "$as_me: WARNING: QWidget not found" >&2;}
11594 # Extract the first word of "moc", so it can be a program name with args.
11595 set dummy moc
; ac_word
=$2
11596 echo "$as_me:$LINENO: checking for $ac_word" >&5
11597 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
11598 if test "${ac_cv_prog_MOC+set}" = set; then
11599 echo $ECHO_N "(cached) $ECHO_C" >&6
11601 if test -n "$MOC"; then
11602 ac_cv_prog_MOC
="$MOC" # Let the user override the test.
11604 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
11605 for as_dir
in $PATH
11608 test -z "$as_dir" && as_dir
=.
11609 for ac_exec_ext
in '' $ac_executable_extensions; do
11610 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
11611 ac_cv_prog_MOC
="moc"
11612 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
11620 MOC
=$ac_cv_prog_MOC
11621 if test -n "$MOC"; then
11622 echo "$as_me:$LINENO: result: $MOC" >&5
11623 echo "${ECHO_T}$MOC" >&6
11625 echo "$as_me:$LINENO: result: no" >&5
11626 echo "${ECHO_T}no" >&6
11630 if test "x$HAVE_QT4" = "xno"; then
11631 { echo "$as_me:$LINENO: Looking for QT_CFLAGS and QT_LIBS without pkg-config" >&5
11632 echo "$as_me: Looking for QT_CFLAGS and QT_LIBS without pkg-config" >&6;}
11636 # Check whether --with-qt4dir or --without-qt4dir was given.
11637 if test "${with_qt4dir+set}" = set; then
11638 withval
="$with_qt4dir"
11642 if test x
"$QT4DIR" = x
; then
11643 { { echo "$as_me:$LINENO: error: *** No path for Qt4 --with-qt4dir option given" >&5
11644 echo "$as_me: error: *** No path for Qt4 --with-qt4dir option given" >&2;}
11645 { (exit 1); exit 1; }; }
11647 echo "$as_me:$LINENO: result: QT4DIR... $QT4DIR" >&5
11648 echo "${ECHO_T}QT4DIR... $QT4DIR" >&6
11649 # Extract the first word of "moc", so it can be a program name with args.
11650 set dummy moc
; ac_word
=$2
11651 echo "$as_me:$LINENO: checking for $ac_word" >&5
11652 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
11653 if test "${ac_cv_prog_MOC+set}" = set; then
11654 echo $ECHO_N "(cached) $ECHO_C" >&6
11656 if test -n "$MOC"; then
11657 ac_cv_prog_MOC
="$MOC" # Let the user override the test.
11659 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
11660 for as_dir
in $QT4DIR/bin
11663 test -z "$as_dir" && as_dir
=.
11664 for ac_exec_ext
in '' $ac_executable_extensions; do
11665 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
11666 ac_cv_prog_MOC
="$QT4DIR/bin/moc"
11667 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
11675 MOC
=$ac_cv_prog_MOC
11676 if test -n "$MOC"; then
11677 echo "$as_me:$LINENO: result: $MOC" >&5
11678 echo "${ECHO_T}$MOC" >&6
11680 echo "$as_me:$LINENO: result: no" >&5
11681 echo "${ECHO_T}no" >&6
11684 if test x
"$MOC" = x
; then
11685 { { echo "$as_me:$LINENO: error: *** This is not the right Qt installation" >&5
11686 echo "$as_me: error: *** This is not the right Qt installation" >&2;}
11687 { (exit 1); exit 1; }; }
11689 QT_CFLAGS
="-F$QT4DIR/lib -I$QT4DIR/lib/QtCore.framework/Headers"
11690 QT_CFLAGS
="$QT_CFLAGS -I$QT4DIR/lib/QtGui.framework/Headers"
11691 QT_LIBS
="-Xlinker -F$QT4DIR/lib -Xlinker -framework -Xlinker QtCore"
11692 QT_LIBS
="$QT_LIBS -Xlinker -framework -Xlinker QtGui"
11695 { { echo "$as_me:$LINENO: error: *** Please check PKG_CONFIG_PATH or the version
11696 of your installed Qt4 installation." >&5
11697 echo "$as_me: error: *** Please check PKG_CONFIG_PATH or the version
11698 of your installed Qt4 installation." >&2;}
11699 { (exit 1); exit 1; }; }
11703 { echo "$as_me:$LINENO: Set QT_CFLAGS... $QT_CFLAGS" >&5
11704 echo "$as_me: Set QT_CFLAGS... $QT_CFLAGS" >&6;}
11712 # Check whether --with-javah or --without-javah was given.
11713 if test "${with_javah+set}" = set; then
11714 withval
="$with_javah"
11716 if test "x${withval}" != x && test "x${withval}" != xyes && test "x${withval}" != xno
; then
11718 if test "x${withval}" != x
; then
11719 if test -f "${withval}"; then
11720 USER_JAVAH
="${withval}"
11722 # Extract the first word of ""${withval}"", so it can be a program name with args.
11723 set dummy
"${withval}"; ac_word
=$2
11724 echo "$as_me:$LINENO: checking for $ac_word" >&5
11725 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
11726 if test "${ac_cv_path_USER_JAVAH+set}" = set; then
11727 echo $ECHO_N "(cached) $ECHO_C" >&6
11729 case $USER_JAVAH in
11731 ac_cv_path_USER_JAVAH
="$USER_JAVAH" # Let the user override the test with a path.
11734 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
11735 for as_dir
in $PATH
11738 test -z "$as_dir" && as_dir
=.
11739 for ac_exec_ext
in '' $ac_executable_extensions; do
11740 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
11741 ac_cv_path_USER_JAVAH
="$as_dir/$ac_word$ac_exec_ext"
11742 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
11751 USER_JAVAH
=$ac_cv_path_USER_JAVAH
11753 if test -n "$USER_JAVAH"; then
11754 echo "$as_me:$LINENO: result: $USER_JAVAH" >&5
11755 echo "${ECHO_T}$USER_JAVAH" >&6
11757 echo "$as_me:$LINENO: result: no" >&5
11758 echo "${ECHO_T}no" >&6
11763 for javah_name
in gcjh javah
; do
11764 # Extract the first word of ""$javah_name"", so it can be a program name with args.
11765 set dummy
"$javah_name"; ac_word
=$2
11766 echo "$as_me:$LINENO: checking for $ac_word" >&5
11767 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
11768 if test "${ac_cv_path_USER_JAVAH+set}" = set; then
11769 echo $ECHO_N "(cached) $ECHO_C" >&6
11771 case $USER_JAVAH in
11773 ac_cv_path_USER_JAVAH
="$USER_JAVAH" # Let the user override the test with a path.
11776 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
11777 for as_dir
in $PATH
11780 test -z "$as_dir" && as_dir
=.
11781 for ac_exec_ext
in '' $ac_executable_extensions; do
11782 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
11783 ac_cv_path_USER_JAVAH
="$as_dir/$ac_word$ac_exec_ext"
11784 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
11793 USER_JAVAH
=$ac_cv_path_USER_JAVAH
11795 if test -n "$USER_JAVAH"; then
11796 echo "$as_me:$LINENO: result: $USER_JAVAH" >&5
11797 echo "${ECHO_T}$USER_JAVAH" >&6
11799 echo "$as_me:$LINENO: result: no" >&5
11800 echo "${ECHO_T}no" >&6
11803 if test "x${USER_JAVAH}" != x
; then
11809 # if test "x${USER_JAVAH}" = x; then
11810 # echo "configure: cannot find javah" 1>&2
11816 if test "x" != x
; then
11817 if test -f ""; then
11820 # Extract the first word of """", so it can be a program name with args.
11821 set dummy
""; ac_word
=$2
11822 echo "$as_me:$LINENO: checking for $ac_word" >&5
11823 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
11824 if test "${ac_cv_path_USER_JAVAH+set}" = set; then
11825 echo $ECHO_N "(cached) $ECHO_C" >&6
11827 case $USER_JAVAH in
11829 ac_cv_path_USER_JAVAH
="$USER_JAVAH" # Let the user override the test with a path.
11832 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
11833 for as_dir
in $PATH
11836 test -z "$as_dir" && as_dir
=.
11837 for ac_exec_ext
in '' $ac_executable_extensions; do
11838 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
11839 ac_cv_path_USER_JAVAH
="$as_dir/$ac_word$ac_exec_ext"
11840 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
11849 USER_JAVAH
=$ac_cv_path_USER_JAVAH
11851 if test -n "$USER_JAVAH"; then
11852 echo "$as_me:$LINENO: result: $USER_JAVAH" >&5
11853 echo "${ECHO_T}$USER_JAVAH" >&6
11855 echo "$as_me:$LINENO: result: no" >&5
11856 echo "${ECHO_T}no" >&6
11861 for javah_name
in gcjh javah
; do
11862 # Extract the first word of ""$javah_name"", so it can be a program name with args.
11863 set dummy
"$javah_name"; ac_word
=$2
11864 echo "$as_me:$LINENO: checking for $ac_word" >&5
11865 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
11866 if test "${ac_cv_path_USER_JAVAH+set}" = set; then
11867 echo $ECHO_N "(cached) $ECHO_C" >&6
11869 case $USER_JAVAH in
11871 ac_cv_path_USER_JAVAH
="$USER_JAVAH" # Let the user override the test with a path.
11874 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
11875 for as_dir
in $PATH
11878 test -z "$as_dir" && as_dir
=.
11879 for ac_exec_ext
in '' $ac_executable_extensions; do
11880 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
11881 ac_cv_path_USER_JAVAH
="$as_dir/$ac_word$ac_exec_ext"
11882 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
11891 USER_JAVAH
=$ac_cv_path_USER_JAVAH
11893 if test -n "$USER_JAVAH"; then
11894 echo "$as_me:$LINENO: result: $USER_JAVAH" >&5
11895 echo "${ECHO_T}$USER_JAVAH" >&6
11897 echo "$as_me:$LINENO: result: no" >&5
11898 echo "${ECHO_T}no" >&6
11901 if test "x${USER_JAVAH}" != x
; then
11907 # if test "x${USER_JAVAH}" = x; then
11908 # echo "configure: cannot find javah" 1>&2
11917 if test "x" != x
; then
11918 if test -f ""; then
11921 # Extract the first word of """", so it can be a program name with args.
11922 set dummy
""; ac_word
=$2
11923 echo "$as_me:$LINENO: checking for $ac_word" >&5
11924 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
11925 if test "${ac_cv_path_USER_JAVAH+set}" = set; then
11926 echo $ECHO_N "(cached) $ECHO_C" >&6
11928 case $USER_JAVAH in
11930 ac_cv_path_USER_JAVAH
="$USER_JAVAH" # Let the user override the test with a path.
11933 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
11934 for as_dir
in $PATH
11937 test -z "$as_dir" && as_dir
=.
11938 for ac_exec_ext
in '' $ac_executable_extensions; do
11939 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
11940 ac_cv_path_USER_JAVAH
="$as_dir/$ac_word$ac_exec_ext"
11941 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
11950 USER_JAVAH
=$ac_cv_path_USER_JAVAH
11952 if test -n "$USER_JAVAH"; then
11953 echo "$as_me:$LINENO: result: $USER_JAVAH" >&5
11954 echo "${ECHO_T}$USER_JAVAH" >&6
11956 echo "$as_me:$LINENO: result: no" >&5
11957 echo "${ECHO_T}no" >&6
11962 for javah_name
in gcjh javah
; do
11963 # Extract the first word of ""$javah_name"", so it can be a program name with args.
11964 set dummy
"$javah_name"; ac_word
=$2
11965 echo "$as_me:$LINENO: checking for $ac_word" >&5
11966 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
11967 if test "${ac_cv_path_USER_JAVAH+set}" = set; then
11968 echo $ECHO_N "(cached) $ECHO_C" >&6
11970 case $USER_JAVAH in
11972 ac_cv_path_USER_JAVAH
="$USER_JAVAH" # Let the user override the test with a path.
11975 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
11976 for as_dir
in $PATH
11979 test -z "$as_dir" && as_dir
=.
11980 for ac_exec_ext
in '' $ac_executable_extensions; do
11981 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
11982 ac_cv_path_USER_JAVAH
="$as_dir/$ac_word$ac_exec_ext"
11983 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
11992 USER_JAVAH
=$ac_cv_path_USER_JAVAH
11994 if test -n "$USER_JAVAH"; then
11995 echo "$as_me:$LINENO: result: $USER_JAVAH" >&5
11996 echo "${ECHO_T}$USER_JAVAH" >&6
11998 echo "$as_me:$LINENO: result: no" >&5
11999 echo "${ECHO_T}no" >&6
12002 if test "x${USER_JAVAH}" != x
; then
12008 # if test "x${USER_JAVAH}" = x; then
12009 # echo "configure: cannot find javah" 1>&2
12017 if test "x${USER_JAVAH}" != x
; then
12018 USER_SPECIFIED_JAVAH_TRUE
=
12019 USER_SPECIFIED_JAVAH_FALSE
='#'
12021 USER_SPECIFIED_JAVAH_TRUE
='#'
12022 USER_SPECIFIED_JAVAH_FALSE
=
12028 CLASSPATH_INCLUDES
="-I\$(top_srcdir)/include -I\$(top_srcdir)/native/jni/classpath -I\$(top_srcdir)/native/target/Linux -I\$(top_srcdir)/native/target/generic"
12031 if test "x${COMPILE_JNI}" = xyes
; then
12032 echo "$as_me:$LINENO: checking jni_md.h support" >&5
12033 echo $ECHO_N "checking jni_md.h support... $ECHO_C" >&6
12034 if test -f ${srcdir}/include/jni_md-${target_cpu}-${target_os}.h
; then
12035 echo "$as_me:$LINENO: result: yes" >&5
12036 echo "${ECHO_T}yes" >&6
12039 target_os
=linux-gnu
12040 { echo "$as_me:$LINENO: WARNING: no" >&5
12041 echo "$as_me: WARNING: no" >&2;}
12043 ac_sources
="include/jni_md-${target_cpu}-${target_os}.h"
12044 ac_dests
="include/jni_md.h"
12045 while test -n "$ac_sources"; do
12046 set $ac_dests; ac_dest
=$1; shift; ac_dests
=$
*
12047 set $ac_sources; ac_source
=$1; shift; ac_sources
=$
*
12048 ac_config_links_1
="$ac_config_links_1 $ac_dest:$ac_source"
12050 ac_config_links
="$ac_config_links $ac_config_links_1"
12055 user_specified_javac
=
12059 # Check whether --with-gcj or --without-gcj was given.
12060 if test "${with_gcj+set}" = set; then
12061 withval
="$with_gcj"
12063 if test "x${withval}" != x && test "x${withval}" != xyes && test "x${withval}" != xno
; then
12065 if test "x${withval}" != x
; then
12066 if test -f "${withval}"; then
12069 # Extract the first word of ""${withval}"", so it can be a program name with args.
12070 set dummy
"${withval}"; ac_word
=$2
12071 echo "$as_me:$LINENO: checking for $ac_word" >&5
12072 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
12073 if test "${ac_cv_path_GCJ+set}" = set; then
12074 echo $ECHO_N "(cached) $ECHO_C" >&6
12078 ac_cv_path_GCJ
="$GCJ" # Let the user override the test with a path.
12081 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
12082 for as_dir
in $PATH
12085 test -z "$as_dir" && as_dir
=.
12086 for ac_exec_ext
in '' $ac_executable_extensions; do
12087 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
12088 ac_cv_path_GCJ
="$as_dir/$ac_word$ac_exec_ext"
12089 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
12098 GCJ
=$ac_cv_path_GCJ
12100 if test -n "$GCJ"; then
12101 echo "$as_me:$LINENO: result: $GCJ" >&5
12102 echo "${ECHO_T}$GCJ" >&6
12104 echo "$as_me:$LINENO: result: no" >&5
12105 echo "${ECHO_T}no" >&6
12110 # Extract the first word of ""gcj"", so it can be a program name with args.
12111 set dummy
"gcj"; ac_word
=$2
12112 echo "$as_me:$LINENO: checking for $ac_word" >&5
12113 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
12114 if test "${ac_cv_path_GCJ+set}" = set; then
12115 echo $ECHO_N "(cached) $ECHO_C" >&6
12119 ac_cv_path_GCJ
="$GCJ" # Let the user override the test with a path.
12122 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
12123 for as_dir
in $PATH
12126 test -z "$as_dir" && as_dir
=.
12127 for ac_exec_ext
in '' $ac_executable_extensions; do
12128 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
12129 ac_cv_path_GCJ
="$as_dir/$ac_word$ac_exec_ext"
12130 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
12139 GCJ
=$ac_cv_path_GCJ
12141 if test -n "$GCJ"; then
12142 echo "$as_me:$LINENO: result: $GCJ" >&5
12143 echo "${ECHO_T}$GCJ" >&6
12145 echo "$as_me:$LINENO: result: no" >&5
12146 echo "${ECHO_T}no" >&6
12150 if test "x$GCJ" != x
; then
12151 echo "$as_me:$LINENO: checking gcj version 4.0" >&5
12152 echo $ECHO_N "checking gcj version 4.0... $ECHO_C" >&6
12154 ac_cpp
='$CPP $CPPFLAGS'
12155 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12156 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12157 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
12159 cat >conftest.
$ac_ext <<_ACEOF
12161 #error GCJ 4.0.0 or higher is required
12165 $GCJ -E conftest.c
> /dev
/null
12167 if test "x$gcj_4_result" = "x0"; then
12168 echo "$as_me:$LINENO: result: 4.0 or higher found" >&5
12169 echo "${ECHO_T}4.0 or higher found" >&6
12171 { echo "$as_me:$LINENO: WARNING: 4.0 or higher required" >&5
12172 echo "$as_me: WARNING: 4.0 or higher required" >&2;}
12175 ac_cpp
='$CPP $CPPFLAGS'
12176 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12177 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12178 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
12183 if test "x${withval}" != xno
; then
12185 if test "x" != x
; then
12186 if test -f ""; then
12189 # Extract the first word of """", so it can be a program name with args.
12190 set dummy
""; ac_word
=$2
12191 echo "$as_me:$LINENO: checking for $ac_word" >&5
12192 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
12193 if test "${ac_cv_path_GCJ+set}" = set; then
12194 echo $ECHO_N "(cached) $ECHO_C" >&6
12198 ac_cv_path_GCJ
="$GCJ" # Let the user override the test with a path.
12201 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
12202 for as_dir
in $PATH
12205 test -z "$as_dir" && as_dir
=.
12206 for ac_exec_ext
in '' $ac_executable_extensions; do
12207 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
12208 ac_cv_path_GCJ
="$as_dir/$ac_word$ac_exec_ext"
12209 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
12218 GCJ
=$ac_cv_path_GCJ
12220 if test -n "$GCJ"; then
12221 echo "$as_me:$LINENO: result: $GCJ" >&5
12222 echo "${ECHO_T}$GCJ" >&6
12224 echo "$as_me:$LINENO: result: no" >&5
12225 echo "${ECHO_T}no" >&6
12230 # Extract the first word of ""gcj"", so it can be a program name with args.
12231 set dummy
"gcj"; ac_word
=$2
12232 echo "$as_me:$LINENO: checking for $ac_word" >&5
12233 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
12234 if test "${ac_cv_path_GCJ+set}" = set; then
12235 echo $ECHO_N "(cached) $ECHO_C" >&6
12239 ac_cv_path_GCJ
="$GCJ" # Let the user override the test with a path.
12242 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
12243 for as_dir
in $PATH
12246 test -z "$as_dir" && as_dir
=.
12247 for ac_exec_ext
in '' $ac_executable_extensions; do
12248 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
12249 ac_cv_path_GCJ
="$as_dir/$ac_word$ac_exec_ext"
12250 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
12259 GCJ
=$ac_cv_path_GCJ
12261 if test -n "$GCJ"; then
12262 echo "$as_me:$LINENO: result: $GCJ" >&5
12263 echo "${ECHO_T}$GCJ" >&6
12265 echo "$as_me:$LINENO: result: no" >&5
12266 echo "${ECHO_T}no" >&6
12270 if test "x$GCJ" != x
; then
12271 echo "$as_me:$LINENO: checking gcj version 4.0" >&5
12272 echo $ECHO_N "checking gcj version 4.0... $ECHO_C" >&6
12274 ac_cpp
='$CPP $CPPFLAGS'
12275 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12276 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12277 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
12279 cat >conftest.
$ac_ext <<_ACEOF
12281 #error GCJ 4.0.0 or higher is required
12285 $GCJ -E conftest.c
> /dev
/null
12287 if test "x$gcj_4_result" = "x0"; then
12288 echo "$as_me:$LINENO: result: 4.0 or higher found" >&5
12289 echo "${ECHO_T}4.0 or higher found" >&6
12291 { echo "$as_me:$LINENO: WARNING: 4.0 or higher required" >&5
12292 echo "$as_me: WARNING: 4.0 or higher required" >&2;}
12295 ac_cpp
='$CPP $CPPFLAGS'
12296 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12297 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12298 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
12304 user_specified_javac
=gcj
12309 if test "x" != x
; then
12310 if test -f ""; then
12313 # Extract the first word of """", so it can be a program name with args.
12314 set dummy
""; ac_word
=$2
12315 echo "$as_me:$LINENO: checking for $ac_word" >&5
12316 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
12317 if test "${ac_cv_path_GCJ+set}" = set; then
12318 echo $ECHO_N "(cached) $ECHO_C" >&6
12322 ac_cv_path_GCJ
="$GCJ" # Let the user override the test with a path.
12325 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
12326 for as_dir
in $PATH
12329 test -z "$as_dir" && as_dir
=.
12330 for ac_exec_ext
in '' $ac_executable_extensions; do
12331 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
12332 ac_cv_path_GCJ
="$as_dir/$ac_word$ac_exec_ext"
12333 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
12342 GCJ
=$ac_cv_path_GCJ
12344 if test -n "$GCJ"; then
12345 echo "$as_me:$LINENO: result: $GCJ" >&5
12346 echo "${ECHO_T}$GCJ" >&6
12348 echo "$as_me:$LINENO: result: no" >&5
12349 echo "${ECHO_T}no" >&6
12354 # Extract the first word of ""gcj"", so it can be a program name with args.
12355 set dummy
"gcj"; ac_word
=$2
12356 echo "$as_me:$LINENO: checking for $ac_word" >&5
12357 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
12358 if test "${ac_cv_path_GCJ+set}" = set; then
12359 echo $ECHO_N "(cached) $ECHO_C" >&6
12363 ac_cv_path_GCJ
="$GCJ" # Let the user override the test with a path.
12366 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
12367 for as_dir
in $PATH
12370 test -z "$as_dir" && as_dir
=.
12371 for ac_exec_ext
in '' $ac_executable_extensions; do
12372 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
12373 ac_cv_path_GCJ
="$as_dir/$ac_word$ac_exec_ext"
12374 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
12383 GCJ
=$ac_cv_path_GCJ
12385 if test -n "$GCJ"; then
12386 echo "$as_me:$LINENO: result: $GCJ" >&5
12387 echo "${ECHO_T}$GCJ" >&6
12389 echo "$as_me:$LINENO: result: no" >&5
12390 echo "${ECHO_T}no" >&6
12394 if test "x$GCJ" != x
; then
12395 echo "$as_me:$LINENO: checking gcj version 4.0" >&5
12396 echo $ECHO_N "checking gcj version 4.0... $ECHO_C" >&6
12398 ac_cpp
='$CPP $CPPFLAGS'
12399 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12400 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12401 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
12403 cat >conftest.
$ac_ext <<_ACEOF
12405 #error GCJ 4.0.0 or higher is required
12409 $GCJ -E conftest.c
> /dev
/null
12411 if test "x$gcj_4_result" = "x0"; then
12412 echo "$as_me:$LINENO: result: 4.0 or higher found" >&5
12413 echo "${ECHO_T}4.0 or higher found" >&6
12415 { echo "$as_me:$LINENO: WARNING: 4.0 or higher required" >&5
12416 echo "$as_me: WARNING: 4.0 or higher required" >&2;}
12419 ac_cpp
='$CPP $CPPFLAGS'
12420 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12421 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12422 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
12432 # Check whether --with-jikes or --without-jikes was given.
12433 if test "${with_jikes+set}" = set; then
12434 withval
="$with_jikes"
12436 if test "x${withval}" != x && test "x${withval}" != xyes && test "x${withval}" != xno
; then
12438 if test "x${withval}" != x
; then
12439 if test -f "${withval}"; then
12442 # Extract the first word of ""${withval}"", so it can be a program name with args.
12443 set dummy
"${withval}"; ac_word
=$2
12444 echo "$as_me:$LINENO: checking for $ac_word" >&5
12445 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
12446 if test "${ac_cv_path_JIKES+set}" = set; then
12447 echo $ECHO_N "(cached) $ECHO_C" >&6
12451 ac_cv_path_JIKES
="$JIKES" # Let the user override the test with a path.
12454 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
12455 for as_dir
in $PATH
12458 test -z "$as_dir" && as_dir
=.
12459 for ac_exec_ext
in '' $ac_executable_extensions; do
12460 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
12461 ac_cv_path_JIKES
="$as_dir/$ac_word$ac_exec_ext"
12462 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
12471 JIKES
=$ac_cv_path_JIKES
12473 if test -n "$JIKES"; then
12474 echo "$as_me:$LINENO: result: $JIKES" >&5
12475 echo "${ECHO_T}$JIKES" >&6
12477 echo "$as_me:$LINENO: result: no" >&5
12478 echo "${ECHO_T}no" >&6
12483 # Extract the first word of ""jikes"", so it can be a program name with args.
12484 set dummy
"jikes"; ac_word
=$2
12485 echo "$as_me:$LINENO: checking for $ac_word" >&5
12486 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
12487 if test "${ac_cv_path_JIKES+set}" = set; then
12488 echo $ECHO_N "(cached) $ECHO_C" >&6
12492 ac_cv_path_JIKES
="$JIKES" # Let the user override the test with a path.
12495 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
12496 for as_dir
in $PATH
12499 test -z "$as_dir" && as_dir
=.
12500 for ac_exec_ext
in '' $ac_executable_extensions; do
12501 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
12502 ac_cv_path_JIKES
="$as_dir/$ac_word$ac_exec_ext"
12503 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
12512 JIKES
=$ac_cv_path_JIKES
12514 if test -n "$JIKES"; then
12515 echo "$as_me:$LINENO: result: $JIKES" >&5
12516 echo "${ECHO_T}$JIKES" >&6
12518 echo "$as_me:$LINENO: result: no" >&5
12519 echo "${ECHO_T}no" >&6
12523 if test "x$JIKES" != "x"; then
12524 echo "$as_me:$LINENO: checking jikes version" >&5
12525 echo $ECHO_N "checking jikes version... $ECHO_C" >&6
12526 JIKES_VERSION
=`$JIKES --version | awk '/^Jikes Compiler/' | cut -d ' ' -f 5`
12527 JIKES_VERSION_MAJOR
=`echo "$JIKES_VERSION" | cut -d '.' -f 1`
12528 JIKES_VERSION_MINOR
=`echo "$JIKES_VERSION" | cut -d '.' -f 2`
12529 if expr "$JIKES_VERSION_MAJOR" = 1 > /dev
/null
; then
12530 if expr "$JIKES_VERSION_MINOR" \
< 19 > /dev
/null
; then
12534 if test "x$JIKES" != "x"; then
12535 echo "$as_me:$LINENO: result: $JIKES_VERSION" >&5
12536 echo "${ECHO_T}$JIKES_VERSION" >&6
12538 { echo "$as_me:$LINENO: WARNING: $JIKES_VERSION: jikes 1.19 or higher required" >&5
12539 echo "$as_me: WARNING: $JIKES_VERSION: jikes 1.19 or higher required" >&2;}
12543 if test -n "`$JIKES --help 2>&1 | grep encoding`"; then
12544 JIKESENCODING
='-encoding UTF-8'
12548 JIKESWARNINGS
="+Pno-switchcheck"
12549 if test "x$JIKES_VERSION_MAJOR" = x
"1" ; then
12550 if ! test "x$JIKES_VERSION_MINOR" = x
"19"; then
12551 JIKESWARNINGS
="$JIKESWARNINGS +Pno-shadow"
12559 if test "x${withval}" != xno
; then
12561 if test "x" != x
; then
12562 if test -f ""; then
12565 # Extract the first word of """", so it can be a program name with args.
12566 set dummy
""; ac_word
=$2
12567 echo "$as_me:$LINENO: checking for $ac_word" >&5
12568 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
12569 if test "${ac_cv_path_JIKES+set}" = set; then
12570 echo $ECHO_N "(cached) $ECHO_C" >&6
12574 ac_cv_path_JIKES
="$JIKES" # Let the user override the test with a path.
12577 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
12578 for as_dir
in $PATH
12581 test -z "$as_dir" && as_dir
=.
12582 for ac_exec_ext
in '' $ac_executable_extensions; do
12583 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
12584 ac_cv_path_JIKES
="$as_dir/$ac_word$ac_exec_ext"
12585 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
12594 JIKES
=$ac_cv_path_JIKES
12596 if test -n "$JIKES"; then
12597 echo "$as_me:$LINENO: result: $JIKES" >&5
12598 echo "${ECHO_T}$JIKES" >&6
12600 echo "$as_me:$LINENO: result: no" >&5
12601 echo "${ECHO_T}no" >&6
12606 # Extract the first word of ""jikes"", so it can be a program name with args.
12607 set dummy
"jikes"; ac_word
=$2
12608 echo "$as_me:$LINENO: checking for $ac_word" >&5
12609 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
12610 if test "${ac_cv_path_JIKES+set}" = set; then
12611 echo $ECHO_N "(cached) $ECHO_C" >&6
12615 ac_cv_path_JIKES
="$JIKES" # Let the user override the test with a path.
12618 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
12619 for as_dir
in $PATH
12622 test -z "$as_dir" && as_dir
=.
12623 for ac_exec_ext
in '' $ac_executable_extensions; do
12624 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
12625 ac_cv_path_JIKES
="$as_dir/$ac_word$ac_exec_ext"
12626 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
12635 JIKES
=$ac_cv_path_JIKES
12637 if test -n "$JIKES"; then
12638 echo "$as_me:$LINENO: result: $JIKES" >&5
12639 echo "${ECHO_T}$JIKES" >&6
12641 echo "$as_me:$LINENO: result: no" >&5
12642 echo "${ECHO_T}no" >&6
12646 if test "x$JIKES" != "x"; then
12647 echo "$as_me:$LINENO: checking jikes version" >&5
12648 echo $ECHO_N "checking jikes version... $ECHO_C" >&6
12649 JIKES_VERSION
=`$JIKES --version | awk '/^Jikes Compiler/' | cut -d ' ' -f 5`
12650 JIKES_VERSION_MAJOR
=`echo "$JIKES_VERSION" | cut -d '.' -f 1`
12651 JIKES_VERSION_MINOR
=`echo "$JIKES_VERSION" | cut -d '.' -f 2`
12652 if expr "$JIKES_VERSION_MAJOR" = 1 > /dev
/null
; then
12653 if expr "$JIKES_VERSION_MINOR" \
< 19 > /dev
/null
; then
12657 if test "x$JIKES" != "x"; then
12658 echo "$as_me:$LINENO: result: $JIKES_VERSION" >&5
12659 echo "${ECHO_T}$JIKES_VERSION" >&6
12661 { echo "$as_me:$LINENO: WARNING: $JIKES_VERSION: jikes 1.19 or higher required" >&5
12662 echo "$as_me: WARNING: $JIKES_VERSION: jikes 1.19 or higher required" >&2;}
12666 if test -n "`$JIKES --help 2>&1 | grep encoding`"; then
12667 JIKESENCODING
='-encoding UTF-8'
12671 JIKESWARNINGS
="+Pno-switchcheck"
12672 if test "x$JIKES_VERSION_MAJOR" = x
"1" ; then
12673 if ! test "x$JIKES_VERSION_MINOR" = x
"19"; then
12674 JIKESWARNINGS
="$JIKESWARNINGS +Pno-shadow"
12683 user_specified_javac
=jikes
12688 if test "x" != x
; then
12689 if test -f ""; then
12692 # Extract the first word of """", so it can be a program name with args.
12693 set dummy
""; ac_word
=$2
12694 echo "$as_me:$LINENO: checking for $ac_word" >&5
12695 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
12696 if test "${ac_cv_path_JIKES+set}" = set; then
12697 echo $ECHO_N "(cached) $ECHO_C" >&6
12701 ac_cv_path_JIKES
="$JIKES" # Let the user override the test with a path.
12704 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
12705 for as_dir
in $PATH
12708 test -z "$as_dir" && as_dir
=.
12709 for ac_exec_ext
in '' $ac_executable_extensions; do
12710 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
12711 ac_cv_path_JIKES
="$as_dir/$ac_word$ac_exec_ext"
12712 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
12721 JIKES
=$ac_cv_path_JIKES
12723 if test -n "$JIKES"; then
12724 echo "$as_me:$LINENO: result: $JIKES" >&5
12725 echo "${ECHO_T}$JIKES" >&6
12727 echo "$as_me:$LINENO: result: no" >&5
12728 echo "${ECHO_T}no" >&6
12733 # Extract the first word of ""jikes"", so it can be a program name with args.
12734 set dummy
"jikes"; ac_word
=$2
12735 echo "$as_me:$LINENO: checking for $ac_word" >&5
12736 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
12737 if test "${ac_cv_path_JIKES+set}" = set; then
12738 echo $ECHO_N "(cached) $ECHO_C" >&6
12742 ac_cv_path_JIKES
="$JIKES" # Let the user override the test with a path.
12745 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
12746 for as_dir
in $PATH
12749 test -z "$as_dir" && as_dir
=.
12750 for ac_exec_ext
in '' $ac_executable_extensions; do
12751 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
12752 ac_cv_path_JIKES
="$as_dir/$ac_word$ac_exec_ext"
12753 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
12762 JIKES
=$ac_cv_path_JIKES
12764 if test -n "$JIKES"; then
12765 echo "$as_me:$LINENO: result: $JIKES" >&5
12766 echo "${ECHO_T}$JIKES" >&6
12768 echo "$as_me:$LINENO: result: no" >&5
12769 echo "${ECHO_T}no" >&6
12773 if test "x$JIKES" != "x"; then
12774 echo "$as_me:$LINENO: checking jikes version" >&5
12775 echo $ECHO_N "checking jikes version... $ECHO_C" >&6
12776 JIKES_VERSION
=`$JIKES --version | awk '/^Jikes Compiler/' | cut -d ' ' -f 5`
12777 JIKES_VERSION_MAJOR
=`echo "$JIKES_VERSION" | cut -d '.' -f 1`
12778 JIKES_VERSION_MINOR
=`echo "$JIKES_VERSION" | cut -d '.' -f 2`
12779 if expr "$JIKES_VERSION_MAJOR" = 1 > /dev
/null
; then
12780 if expr "$JIKES_VERSION_MINOR" \
< 19 > /dev
/null
; then
12784 if test "x$JIKES" != "x"; then
12785 echo "$as_me:$LINENO: result: $JIKES_VERSION" >&5
12786 echo "${ECHO_T}$JIKES_VERSION" >&6
12788 { echo "$as_me:$LINENO: WARNING: $JIKES_VERSION: jikes 1.19 or higher required" >&5
12789 echo "$as_me: WARNING: $JIKES_VERSION: jikes 1.19 or higher required" >&2;}
12793 if test -n "`$JIKES --help 2>&1 | grep encoding`"; then
12794 JIKESENCODING
='-encoding UTF-8'
12798 JIKESWARNINGS
="+Pno-switchcheck"
12799 if test "x$JIKES_VERSION_MAJOR" = x
"1" ; then
12800 if ! test "x$JIKES_VERSION_MINOR" = x
"19"; then
12801 JIKESWARNINGS
="$JIKESWARNINGS +Pno-shadow"
12814 # Check whether --with-kjc or --without-kjc was given.
12815 if test "${with_kjc+set}" = set; then
12816 withval
="$with_kjc"
12818 if test "x${withval}" != x && test "x${withval}" != xyes && test "x${withval}" != xno
; then
12820 if test "x${withval}" != x
; then
12821 if test -f "${withval}"; then
12824 # Extract the first word of ""${withval}"", so it can be a program name with args.
12825 set dummy
"${withval}"; ac_word
=$2
12826 echo "$as_me:$LINENO: checking for $ac_word" >&5
12827 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
12828 if test "${ac_cv_path_KJC+set}" = set; then
12829 echo $ECHO_N "(cached) $ECHO_C" >&6
12833 ac_cv_path_KJC
="$KJC" # Let the user override the test with a path.
12836 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
12837 for as_dir
in $PATH
12840 test -z "$as_dir" && as_dir
=.
12841 for ac_exec_ext
in '' $ac_executable_extensions; do
12842 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
12843 ac_cv_path_KJC
="$as_dir/$ac_word$ac_exec_ext"
12844 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
12853 KJC
=$ac_cv_path_KJC
12855 if test -n "$KJC"; then
12856 echo "$as_me:$LINENO: result: $KJC" >&5
12857 echo "${ECHO_T}$KJC" >&6
12859 echo "$as_me:$LINENO: result: no" >&5
12860 echo "${ECHO_T}no" >&6
12865 # Extract the first word of ""kJC"", so it can be a program name with args.
12866 set dummy
"kJC"; ac_word
=$2
12867 echo "$as_me:$LINENO: checking for $ac_word" >&5
12868 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
12869 if test "${ac_cv_path_KJC+set}" = set; then
12870 echo $ECHO_N "(cached) $ECHO_C" >&6
12874 ac_cv_path_KJC
="$KJC" # Let the user override the test with a path.
12877 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
12878 for as_dir
in $PATH
12881 test -z "$as_dir" && as_dir
=.
12882 for ac_exec_ext
in '' $ac_executable_extensions; do
12883 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
12884 ac_cv_path_KJC
="$as_dir/$ac_word$ac_exec_ext"
12885 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
12894 KJC
=$ac_cv_path_KJC
12896 if test -n "$KJC"; then
12897 echo "$as_me:$LINENO: result: $KJC" >&5
12898 echo "${ECHO_T}$KJC" >&6
12900 echo "$as_me:$LINENO: result: no" >&5
12901 echo "${ECHO_T}no" >&6
12907 if test "x${withval}" != xno
; then
12909 if test "x" != x
; then
12910 if test -f ""; then
12913 # Extract the first word of """", so it can be a program name with args.
12914 set dummy
""; ac_word
=$2
12915 echo "$as_me:$LINENO: checking for $ac_word" >&5
12916 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
12917 if test "${ac_cv_path_KJC+set}" = set; then
12918 echo $ECHO_N "(cached) $ECHO_C" >&6
12922 ac_cv_path_KJC
="$KJC" # Let the user override the test with a path.
12925 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
12926 for as_dir
in $PATH
12929 test -z "$as_dir" && as_dir
=.
12930 for ac_exec_ext
in '' $ac_executable_extensions; do
12931 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
12932 ac_cv_path_KJC
="$as_dir/$ac_word$ac_exec_ext"
12933 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
12942 KJC
=$ac_cv_path_KJC
12944 if test -n "$KJC"; then
12945 echo "$as_me:$LINENO: result: $KJC" >&5
12946 echo "${ECHO_T}$KJC" >&6
12948 echo "$as_me:$LINENO: result: no" >&5
12949 echo "${ECHO_T}no" >&6
12954 # Extract the first word of ""kJC"", so it can be a program name with args.
12955 set dummy
"kJC"; ac_word
=$2
12956 echo "$as_me:$LINENO: checking for $ac_word" >&5
12957 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
12958 if test "${ac_cv_path_KJC+set}" = set; then
12959 echo $ECHO_N "(cached) $ECHO_C" >&6
12963 ac_cv_path_KJC
="$KJC" # Let the user override the test with a path.
12966 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
12967 for as_dir
in $PATH
12970 test -z "$as_dir" && as_dir
=.
12971 for ac_exec_ext
in '' $ac_executable_extensions; do
12972 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
12973 ac_cv_path_KJC
="$as_dir/$ac_word$ac_exec_ext"
12974 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
12983 KJC
=$ac_cv_path_KJC
12985 if test -n "$KJC"; then
12986 echo "$as_me:$LINENO: result: $KJC" >&5
12987 echo "${ECHO_T}$KJC" >&6
12989 echo "$as_me:$LINENO: result: no" >&5
12990 echo "${ECHO_T}no" >&6
12997 user_specified_javac
=kjc
13002 if test "x" != x
; then
13003 if test -f ""; then
13006 # Extract the first word of """", so it can be a program name with args.
13007 set dummy
""; ac_word
=$2
13008 echo "$as_me:$LINENO: checking for $ac_word" >&5
13009 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
13010 if test "${ac_cv_path_KJC+set}" = set; then
13011 echo $ECHO_N "(cached) $ECHO_C" >&6
13015 ac_cv_path_KJC
="$KJC" # Let the user override the test with a path.
13018 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
13019 for as_dir
in $PATH
13022 test -z "$as_dir" && as_dir
=.
13023 for ac_exec_ext
in '' $ac_executable_extensions; do
13024 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
13025 ac_cv_path_KJC
="$as_dir/$ac_word$ac_exec_ext"
13026 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
13035 KJC
=$ac_cv_path_KJC
13037 if test -n "$KJC"; then
13038 echo "$as_me:$LINENO: result: $KJC" >&5
13039 echo "${ECHO_T}$KJC" >&6
13041 echo "$as_me:$LINENO: result: no" >&5
13042 echo "${ECHO_T}no" >&6
13047 # Extract the first word of ""kJC"", so it can be a program name with args.
13048 set dummy
"kJC"; ac_word
=$2
13049 echo "$as_me:$LINENO: checking for $ac_word" >&5
13050 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
13051 if test "${ac_cv_path_KJC+set}" = set; then
13052 echo $ECHO_N "(cached) $ECHO_C" >&6
13056 ac_cv_path_KJC
="$KJC" # Let the user override the test with a path.
13059 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
13060 for as_dir
in $PATH
13063 test -z "$as_dir" && as_dir
=.
13064 for ac_exec_ext
in '' $ac_executable_extensions; do
13065 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
13066 ac_cv_path_KJC
="$as_dir/$ac_word$ac_exec_ext"
13067 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
13076 KJC
=$ac_cv_path_KJC
13078 if test -n "$KJC"; then
13079 echo "$as_me:$LINENO: result: $KJC" >&5
13080 echo "${ECHO_T}$KJC" >&6
13082 echo "$as_me:$LINENO: result: no" >&5
13083 echo "${ECHO_T}no" >&6
13094 # Check whether --with-gcjx or --without-gcjx was given.
13095 if test "${with_gcjx+set}" = set; then
13096 withval
="$with_gcjx"
13098 if test "x${withval}" != x && test "x${withval}" != xyes && test "x${withval}" != xno
; then
13100 if test "x${withval}" != x
; then
13101 if test -f "${withval}"; then
13104 # Extract the first word of ""${withval}"", so it can be a program name with args.
13105 set dummy
"${withval}"; ac_word
=$2
13106 echo "$as_me:$LINENO: checking for $ac_word" >&5
13107 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
13108 if test "${ac_cv_path_GCJX+set}" = set; then
13109 echo $ECHO_N "(cached) $ECHO_C" >&6
13113 ac_cv_path_GCJX
="$GCJX" # Let the user override the test with a path.
13116 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
13117 for as_dir
in $PATH
13120 test -z "$as_dir" && as_dir
=.
13121 for ac_exec_ext
in '' $ac_executable_extensions; do
13122 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
13123 ac_cv_path_GCJX
="$as_dir/$ac_word$ac_exec_ext"
13124 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
13133 GCJX
=$ac_cv_path_GCJX
13135 if test -n "$GCJX"; then
13136 echo "$as_me:$LINENO: result: $GCJX" >&5
13137 echo "${ECHO_T}$GCJX" >&6
13139 echo "$as_me:$LINENO: result: no" >&5
13140 echo "${ECHO_T}no" >&6
13145 # Extract the first word of ""gcjx"", so it can be a program name with args.
13146 set dummy
"gcjx"; ac_word
=$2
13147 echo "$as_me:$LINENO: checking for $ac_word" >&5
13148 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
13149 if test "${ac_cv_path_GCJX+set}" = set; then
13150 echo $ECHO_N "(cached) $ECHO_C" >&6
13154 ac_cv_path_GCJX
="$GCJX" # Let the user override the test with a path.
13157 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
13158 for as_dir
in $PATH
13161 test -z "$as_dir" && as_dir
=.
13162 for ac_exec_ext
in '' $ac_executable_extensions; do
13163 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
13164 ac_cv_path_GCJX
="$as_dir/$ac_word$ac_exec_ext"
13165 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
13174 GCJX
=$ac_cv_path_GCJX
13176 if test -n "$GCJX"; then
13177 echo "$as_me:$LINENO: result: $GCJX" >&5
13178 echo "${ECHO_T}$GCJX" >&6
13180 echo "$as_me:$LINENO: result: no" >&5
13181 echo "${ECHO_T}no" >&6
13187 if test "x${withval}" != xno
; then
13189 if test "x" != x
; then
13190 if test -f ""; then
13193 # Extract the first word of """", so it can be a program name with args.
13194 set dummy
""; ac_word
=$2
13195 echo "$as_me:$LINENO: checking for $ac_word" >&5
13196 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
13197 if test "${ac_cv_path_GCJX+set}" = set; then
13198 echo $ECHO_N "(cached) $ECHO_C" >&6
13202 ac_cv_path_GCJX
="$GCJX" # Let the user override the test with a path.
13205 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
13206 for as_dir
in $PATH
13209 test -z "$as_dir" && as_dir
=.
13210 for ac_exec_ext
in '' $ac_executable_extensions; do
13211 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
13212 ac_cv_path_GCJX
="$as_dir/$ac_word$ac_exec_ext"
13213 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
13222 GCJX
=$ac_cv_path_GCJX
13224 if test -n "$GCJX"; then
13225 echo "$as_me:$LINENO: result: $GCJX" >&5
13226 echo "${ECHO_T}$GCJX" >&6
13228 echo "$as_me:$LINENO: result: no" >&5
13229 echo "${ECHO_T}no" >&6
13234 # Extract the first word of ""gcjx"", so it can be a program name with args.
13235 set dummy
"gcjx"; ac_word
=$2
13236 echo "$as_me:$LINENO: checking for $ac_word" >&5
13237 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
13238 if test "${ac_cv_path_GCJX+set}" = set; then
13239 echo $ECHO_N "(cached) $ECHO_C" >&6
13243 ac_cv_path_GCJX
="$GCJX" # Let the user override the test with a path.
13246 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
13247 for as_dir
in $PATH
13250 test -z "$as_dir" && as_dir
=.
13251 for ac_exec_ext
in '' $ac_executable_extensions; do
13252 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
13253 ac_cv_path_GCJX
="$as_dir/$ac_word$ac_exec_ext"
13254 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
13263 GCJX
=$ac_cv_path_GCJX
13265 if test -n "$GCJX"; then
13266 echo "$as_me:$LINENO: result: $GCJX" >&5
13267 echo "${ECHO_T}$GCJX" >&6
13269 echo "$as_me:$LINENO: result: no" >&5
13270 echo "${ECHO_T}no" >&6
13277 user_specified_javac
=gcjx
13282 if test "x" != x
; then
13283 if test -f ""; then
13286 # Extract the first word of """", so it can be a program name with args.
13287 set dummy
""; ac_word
=$2
13288 echo "$as_me:$LINENO: checking for $ac_word" >&5
13289 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
13290 if test "${ac_cv_path_GCJX+set}" = set; then
13291 echo $ECHO_N "(cached) $ECHO_C" >&6
13295 ac_cv_path_GCJX
="$GCJX" # Let the user override the test with a path.
13298 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
13299 for as_dir
in $PATH
13302 test -z "$as_dir" && as_dir
=.
13303 for ac_exec_ext
in '' $ac_executable_extensions; do
13304 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
13305 ac_cv_path_GCJX
="$as_dir/$ac_word$ac_exec_ext"
13306 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
13315 GCJX
=$ac_cv_path_GCJX
13317 if test -n "$GCJX"; then
13318 echo "$as_me:$LINENO: result: $GCJX" >&5
13319 echo "${ECHO_T}$GCJX" >&6
13321 echo "$as_me:$LINENO: result: no" >&5
13322 echo "${ECHO_T}no" >&6
13327 # Extract the first word of ""gcjx"", so it can be a program name with args.
13328 set dummy
"gcjx"; ac_word
=$2
13329 echo "$as_me:$LINENO: checking for $ac_word" >&5
13330 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
13331 if test "${ac_cv_path_GCJX+set}" = set; then
13332 echo $ECHO_N "(cached) $ECHO_C" >&6
13336 ac_cv_path_GCJX
="$GCJX" # Let the user override the test with a path.
13339 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
13340 for as_dir
in $PATH
13343 test -z "$as_dir" && as_dir
=.
13344 for ac_exec_ext
in '' $ac_executable_extensions; do
13345 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
13346 ac_cv_path_GCJX
="$as_dir/$ac_word$ac_exec_ext"
13347 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
13356 GCJX
=$ac_cv_path_GCJX
13358 if test -n "$GCJX"; then
13359 echo "$as_me:$LINENO: result: $GCJX" >&5
13360 echo "${ECHO_T}$GCJX" >&6
13362 echo "$as_me:$LINENO: result: no" >&5
13363 echo "${ECHO_T}no" >&6
13374 # Check whether --with-ecj or --without-ecj was given.
13375 if test "${with_ecj+set}" = set; then
13376 withval
="$with_ecj"
13378 if test "x${withval}" != x && test "x${withval}" != xyes && test "x${withval}" != xno
; then
13380 if test "x${withval}" != x
; then
13381 if test -f "${withval}"; then
13384 # Extract the first word of ""${withval}"", so it can be a program name with args.
13385 set dummy
"${withval}"; ac_word
=$2
13386 echo "$as_me:$LINENO: checking for $ac_word" >&5
13387 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
13388 if test "${ac_cv_path_ECJ+set}" = set; then
13389 echo $ECHO_N "(cached) $ECHO_C" >&6
13393 ac_cv_path_ECJ
="$ECJ" # Let the user override the test with a path.
13396 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
13397 for as_dir
in $PATH
13400 test -z "$as_dir" && as_dir
=.
13401 for ac_exec_ext
in '' $ac_executable_extensions; do
13402 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
13403 ac_cv_path_ECJ
="$as_dir/$ac_word$ac_exec_ext"
13404 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
13413 ECJ
=$ac_cv_path_ECJ
13415 if test -n "$ECJ"; then
13416 echo "$as_me:$LINENO: result: $ECJ" >&5
13417 echo "${ECHO_T}$ECJ" >&6
13419 echo "$as_me:$LINENO: result: no" >&5
13420 echo "${ECHO_T}no" >&6
13425 # Extract the first word of ""ecj"", so it can be a program name with args.
13426 set dummy
"ecj"; ac_word
=$2
13427 echo "$as_me:$LINENO: checking for $ac_word" >&5
13428 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
13429 if test "${ac_cv_path_ECJ+set}" = set; then
13430 echo $ECHO_N "(cached) $ECHO_C" >&6
13434 ac_cv_path_ECJ
="$ECJ" # Let the user override the test with a path.
13437 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
13438 for as_dir
in $PATH
13441 test -z "$as_dir" && as_dir
=.
13442 for ac_exec_ext
in '' $ac_executable_extensions; do
13443 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
13444 ac_cv_path_ECJ
="$as_dir/$ac_word$ac_exec_ext"
13445 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
13454 ECJ
=$ac_cv_path_ECJ
13456 if test -n "$ECJ"; then
13457 echo "$as_me:$LINENO: result: $ECJ" >&5
13458 echo "${ECHO_T}$ECJ" >&6
13460 echo "$as_me:$LINENO: result: no" >&5
13461 echo "${ECHO_T}no" >&6
13467 if test "x${withval}" != xno
; then
13469 if test "x" != x
; then
13470 if test -f ""; then
13473 # Extract the first word of """", so it can be a program name with args.
13474 set dummy
""; ac_word
=$2
13475 echo "$as_me:$LINENO: checking for $ac_word" >&5
13476 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
13477 if test "${ac_cv_path_ECJ+set}" = set; then
13478 echo $ECHO_N "(cached) $ECHO_C" >&6
13482 ac_cv_path_ECJ
="$ECJ" # Let the user override the test with a path.
13485 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
13486 for as_dir
in $PATH
13489 test -z "$as_dir" && as_dir
=.
13490 for ac_exec_ext
in '' $ac_executable_extensions; do
13491 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
13492 ac_cv_path_ECJ
="$as_dir/$ac_word$ac_exec_ext"
13493 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
13502 ECJ
=$ac_cv_path_ECJ
13504 if test -n "$ECJ"; then
13505 echo "$as_me:$LINENO: result: $ECJ" >&5
13506 echo "${ECHO_T}$ECJ" >&6
13508 echo "$as_me:$LINENO: result: no" >&5
13509 echo "${ECHO_T}no" >&6
13514 # Extract the first word of ""ecj"", so it can be a program name with args.
13515 set dummy
"ecj"; ac_word
=$2
13516 echo "$as_me:$LINENO: checking for $ac_word" >&5
13517 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
13518 if test "${ac_cv_path_ECJ+set}" = set; then
13519 echo $ECHO_N "(cached) $ECHO_C" >&6
13523 ac_cv_path_ECJ
="$ECJ" # Let the user override the test with a path.
13526 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
13527 for as_dir
in $PATH
13530 test -z "$as_dir" && as_dir
=.
13531 for ac_exec_ext
in '' $ac_executable_extensions; do
13532 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
13533 ac_cv_path_ECJ
="$as_dir/$ac_word$ac_exec_ext"
13534 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
13543 ECJ
=$ac_cv_path_ECJ
13545 if test -n "$ECJ"; then
13546 echo "$as_me:$LINENO: result: $ECJ" >&5
13547 echo "${ECHO_T}$ECJ" >&6
13549 echo "$as_me:$LINENO: result: no" >&5
13550 echo "${ECHO_T}no" >&6
13557 user_specified_javac
=ecj
13562 if test "x" != x
; then
13563 if test -f ""; then
13566 # Extract the first word of """", so it can be a program name with args.
13567 set dummy
""; ac_word
=$2
13568 echo "$as_me:$LINENO: checking for $ac_word" >&5
13569 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
13570 if test "${ac_cv_path_ECJ+set}" = set; then
13571 echo $ECHO_N "(cached) $ECHO_C" >&6
13575 ac_cv_path_ECJ
="$ECJ" # Let the user override the test with a path.
13578 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
13579 for as_dir
in $PATH
13582 test -z "$as_dir" && as_dir
=.
13583 for ac_exec_ext
in '' $ac_executable_extensions; do
13584 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
13585 ac_cv_path_ECJ
="$as_dir/$ac_word$ac_exec_ext"
13586 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
13595 ECJ
=$ac_cv_path_ECJ
13597 if test -n "$ECJ"; then
13598 echo "$as_me:$LINENO: result: $ECJ" >&5
13599 echo "${ECHO_T}$ECJ" >&6
13601 echo "$as_me:$LINENO: result: no" >&5
13602 echo "${ECHO_T}no" >&6
13607 # Extract the first word of ""ecj"", so it can be a program name with args.
13608 set dummy
"ecj"; ac_word
=$2
13609 echo "$as_me:$LINENO: checking for $ac_word" >&5
13610 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
13611 if test "${ac_cv_path_ECJ+set}" = set; then
13612 echo $ECHO_N "(cached) $ECHO_C" >&6
13616 ac_cv_path_ECJ
="$ECJ" # Let the user override the test with a path.
13619 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
13620 for as_dir
in $PATH
13623 test -z "$as_dir" && as_dir
=.
13624 for ac_exec_ext
in '' $ac_executable_extensions; do
13625 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
13626 ac_cv_path_ECJ
="$as_dir/$ac_word$ac_exec_ext"
13627 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
13636 ECJ
=$ac_cv_path_ECJ
13638 if test -n "$ECJ"; then
13639 echo "$as_me:$LINENO: result: $ECJ" >&5
13640 echo "${ECHO_T}$ECJ" >&6
13642 echo "$as_me:$LINENO: result: no" >&5
13643 echo "${ECHO_T}no" >&6
13653 if test "x${user_specified_javac}" = x
; then
13656 if test "x${GCJ}" != x
; then
13658 FOUND_GCJ_FALSE
='#'
13666 if test "x${JIKES}" != x
; then
13668 FOUND_JIKES_FALSE
='#'
13670 FOUND_JIKES_TRUE
='#'
13676 if test "x${ECJ}" != x
; then
13678 FOUND_ECJ_FALSE
='#'
13687 if test "x${user_specified_javac}" = xgcj
; then
13689 FOUND_GCJ_FALSE
='#'
13697 if test "x${user_specified_javac}" = xjikes
; then
13699 FOUND_JIKES_FALSE
='#'
13701 FOUND_JIKES_TRUE
='#'
13707 if test "x${user_specified_javac}" = xecj
; then
13709 FOUND_ECJ_FALSE
='#'
13718 if test "x${user_specified_javac}" = xkjc
; then
13720 FOUND_KJC_FALSE
='#'
13728 if test "x${user_specified_javac}" = xgcjx
; then
13730 FOUND_GCJX_FALSE
='#'
13732 FOUND_GCJX_TRUE
='#'
13737 if test "x${GCJ}" = x && test "x${JIKES}" = x && test "x${user_specified_javac}" != xkjc && test "x${user_specified_javac}" != xgcjx
; then
13738 # FIXME: use autoconf error function
13739 echo "configure: cannot find javac, try --with-gcj, --with-jikes, --with-kjc, or --with-gcjx" 1>&2
13746 # Check whether --with-classpath or --without-classpath was given.
13747 if test "${with_classpath+set}" = set; then
13748 withval
="$with_classpath"
13750 if test "x${withval}" = xyes
; then
13751 # set user classpath to CLASSPATH from env
13752 echo "$as_me:$LINENO: checking for classlib" >&5
13753 echo $ECHO_N "checking for classlib... $ECHO_C" >&6
13754 USER_CLASSLIB
=${CLASSPATH}
13756 echo "$as_me:$LINENO: result: ${USER_CLASSLIB}" >&5
13757 echo "${ECHO_T}${USER_CLASSLIB}" >&6
13758 conditional_with_classlib
=true
13759 elif test "x${withval}" != x
&& test "x${withval}" != xno
; then
13760 # set user classpath to specified value
13761 echo "$as_me:$LINENO: checking for classlib" >&5
13762 echo $ECHO_N "checking for classlib... $ECHO_C" >&6
13763 USER_CLASSLIB
=${withval}
13765 echo "$as_me:$LINENO: result: ${withval}" >&5
13766 echo "${ECHO_T}${withval}" >&6
13767 conditional_with_classlib
=true
13771 conditional_with_classlib
=false
13775 if test "x${conditional_with_classlib}" = xtrue
; then
13776 USER_SPECIFIED_CLASSLIB_TRUE
=
13777 USER_SPECIFIED_CLASSLIB_FALSE
='#'
13779 USER_SPECIFIED_CLASSLIB_TRUE
='#'
13780 USER_SPECIFIED_CLASSLIB_FALSE
=
13785 # Check whether --with-vm-classes or --without-vm-classes was given.
13786 if test "${with_vm_classes+set}" = set; then
13787 withval
="$with_vm_classes"
13788 vm_classes
="$with_vm_classes"
13790 vm_classes
='${top_srcdir}/vm/reference'
13795 echo "$as_me:$LINENO: checking whether to enable maintainer-specific portions of Makefiles" >&5
13796 echo $ECHO_N "checking whether to enable maintainer-specific portions of Makefiles... $ECHO_C" >&6
13797 # Check whether --enable-maintainer-mode or --disable-maintainer-mode was given.
13798 if test "${enable_maintainer_mode+set}" = set; then
13799 enableval
="$enable_maintainer_mode"
13800 USE_MAINTAINER_MODE
=$enableval
13802 USE_MAINTAINER_MODE
=no
13804 echo "$as_me:$LINENO: result: $USE_MAINTAINER_MODE" >&5
13805 echo "${ECHO_T}$USE_MAINTAINER_MODE" >&6
13808 if test $USE_MAINTAINER_MODE = yes; then
13809 MAINTAINER_MODE_TRUE
=
13810 MAINTAINER_MODE_FALSE
='#'
13812 MAINTAINER_MODE_TRUE
='#'
13813 MAINTAINER_MODE_FALSE
=
13816 MAINT
=$MAINTAINER_MODE_TRUE
13820 # Check whether --enable-debug or --disable-debug was given.
13821 if test "${enable_debug+set}" = set; then
13822 enableval
="$enable_debug"
13823 case "${enableval}" in
13827 cat >>confdefs.h
<<\_ACEOF
13832 no
) LIBDEBUG
="false" ;;
13833 *) { { echo "$as_me:$LINENO: error: bad value ${enableval} for --enable-debug" >&5
13834 echo "$as_me: error: bad value ${enableval} for --enable-debug" >&2;}
13835 { (exit 1); exit 1; }; } ;;
13842 # Check whether --enable-load-library or --disable-load-library was given.
13843 if test "${enable_load_library+set}" = set; then
13844 enableval
="$enable_load_library"
13845 case "${enableval}" in
13846 yes) INIT_LOAD_LIBRARY
="true" ;;
13847 no
) INIT_LOAD_LIBRARY
="false" ;;
13848 *) { { echo "$as_me:$LINENO: error: bad value ${enableval} for --enable-load-library" >&5
13849 echo "$as_me: error: bad value ${enableval} for --enable-load-library" >&2;}
13850 { (exit 1); exit 1; }; } ;;
13853 INIT_LOAD_LIBRARY
="true"
13858 # Check whether --enable-java-lang-system-explicit-initialization or --disable-java-lang-system-explicit-initialization was given.
13859 if test "${enable_java_lang_system_explicit_initialization+set}" = set; then
13860 enableval
="$enable_java_lang_system_explicit_initialization"
13861 case "${enableval}" in
13862 yes|true
) JAVA_LANG_SYSTEM_EXPLICIT_INITIALIZATION
="true" ;;
13863 no|false
) JAVA_LANG_SYSTEM_EXPLICIT_INITIALIZATION
="false" ;;
13864 *) { { echo "$as_me:$LINENO: error: bad value ${enableval} for --enable-java-lang-system-explicit-initialization" >&5
13865 echo "$as_me: error: bad value ${enableval} for --enable-java-lang-system-explicit-initialization" >&2;}
13866 { (exit 1); exit 1; }; } ;;
13869 JAVA_LANG_SYSTEM_EXPLICIT_INITIALIZATION
="false"
13877 # Extract the first word of "mkdir", so it can be a program name with args.
13878 set dummy mkdir
; ac_word
=$2
13879 echo "$as_me:$LINENO: checking for $ac_word" >&5
13880 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
13881 if test "${ac_cv_path_MKDIR+set}" = set; then
13882 echo $ECHO_N "(cached) $ECHO_C" >&6
13886 ac_cv_path_MKDIR
="$MKDIR" # Let the user override the test with a path.
13889 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
13890 for as_dir
in $PATH
13893 test -z "$as_dir" && as_dir
=.
13894 for ac_exec_ext
in '' $ac_executable_extensions; do
13895 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
13896 ac_cv_path_MKDIR
="$as_dir/$ac_word$ac_exec_ext"
13897 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
13906 MKDIR
=$ac_cv_path_MKDIR
13908 if test -n "$MKDIR"; then
13909 echo "$as_me:$LINENO: result: $MKDIR" >&5
13910 echo "${ECHO_T}$MKDIR" >&6
13912 echo "$as_me:$LINENO: result: no" >&5
13913 echo "${ECHO_T}no" >&6
13916 # Extract the first word of "cp", so it can be a program name with args.
13917 set dummy
cp; ac_word
=$2
13918 echo "$as_me:$LINENO: checking for $ac_word" >&5
13919 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
13920 if test "${ac_cv_path_CP+set}" = set; then
13921 echo $ECHO_N "(cached) $ECHO_C" >&6
13925 ac_cv_path_CP
="$CP" # Let the user override the test with a path.
13928 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
13929 for as_dir
in $PATH
13932 test -z "$as_dir" && as_dir
=.
13933 for ac_exec_ext
in '' $ac_executable_extensions; do
13934 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
13935 ac_cv_path_CP
="$as_dir/$ac_word$ac_exec_ext"
13936 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
13947 if test -n "$CP"; then
13948 echo "$as_me:$LINENO: result: $CP" >&5
13949 echo "${ECHO_T}$CP" >&6
13951 echo "$as_me:$LINENO: result: no" >&5
13952 echo "${ECHO_T}no" >&6
13955 # Extract the first word of "date", so it can be a program name with args.
13956 set dummy
date; ac_word
=$2
13957 echo "$as_me:$LINENO: checking for $ac_word" >&5
13958 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
13959 if test "${ac_cv_path_DATE+set}" = set; then
13960 echo $ECHO_N "(cached) $ECHO_C" >&6
13964 ac_cv_path_DATE
="$DATE" # Let the user override the test with a path.
13967 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
13968 for as_dir
in $PATH
13971 test -z "$as_dir" && as_dir
=.
13972 for ac_exec_ext
in '' $ac_executable_extensions; do
13973 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
13974 ac_cv_path_DATE
="$as_dir/$ac_word$ac_exec_ext"
13975 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
13984 DATE
=$ac_cv_path_DATE
13986 if test -n "$DATE"; then
13987 echo "$as_me:$LINENO: result: $DATE" >&5
13988 echo "${ECHO_T}$DATE" >&6
13990 echo "$as_me:$LINENO: result: no" >&5
13991 echo "${ECHO_T}no" >&6
13995 # Extract the first word of "find", so it can be a program name with args.
13996 set dummy
find; ac_word
=$2
13997 echo "$as_me:$LINENO: checking for $ac_word" >&5
13998 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
13999 if test "${ac_cv_path_FIND+set}" = set; then
14000 echo $ECHO_N "(cached) $ECHO_C" >&6
14004 ac_cv_path_FIND
="$FIND" # Let the user override the test with a path.
14007 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
14008 for as_dir
in $PATH
14011 test -z "$as_dir" && as_dir
=.
14012 for ac_exec_ext
in '' $ac_executable_extensions; do
14013 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
14014 ac_cv_path_FIND
="$as_dir/$ac_word$ac_exec_ext"
14015 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
14024 FIND
=$ac_cv_path_FIND
14026 if test -n "$FIND"; then
14027 echo "$as_me:$LINENO: result: $FIND" >&5
14028 echo "${ECHO_T}$FIND" >&6
14030 echo "$as_me:$LINENO: result: no" >&5
14031 echo "${ECHO_T}no" >&6
14036 # Extract the first word of "zip", so it can be a program name with args.
14037 set dummy
zip; ac_word
=$2
14038 echo "$as_me:$LINENO: checking for $ac_word" >&5
14039 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
14040 if test "${ac_cv_path_ZIP+set}" = set; then
14041 echo $ECHO_N "(cached) $ECHO_C" >&6
14045 ac_cv_path_ZIP
="$ZIP" # Let the user override the test with a path.
14048 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
14049 for as_dir
in $PATH
14052 test -z "$as_dir" && as_dir
=.
14053 for ac_exec_ext
in '' $ac_executable_extensions; do
14054 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
14055 ac_cv_path_ZIP
="$as_dir/$ac_word$ac_exec_ext"
14056 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
14065 ZIP
=$ac_cv_path_ZIP
14067 if test -n "$ZIP"; then
14068 echo "$as_me:$LINENO: result: $ZIP" >&5
14069 echo "${ECHO_T}$ZIP" >&6
14071 echo "$as_me:$LINENO: result: no" >&5
14072 echo "${ECHO_T}no" >&6
14076 # Check whether --with-glibj or --without-glibj was given.
14077 if test "${with_glibj+set}" = set; then
14078 withval
="$with_glibj"
14080 if test "x${withval}" = xyes ||
test "x${withval}" = xzip
; then
14081 install_class_files
=no
14082 build_class_files
=yes
14084 elif test "x${withval}" = xboth
; then
14085 install_class_files
=yes
14086 build_class_files
=yes
14088 elif test "x${withval}" = xflat
; then
14089 install_class_files
=yes
14090 build_class_files
=yes
14092 elif test "x${withval}" = xno ||
test "x${withval}" = xnone
; then
14093 install_class_files
=no
14094 build_class_files
=no
14096 elif test "x${withval}" = xbuild
; then
14097 install_class_files
=no
14098 build_class_files
=yes
14101 { { echo "$as_me:$LINENO: error: unknown value given to --with-glibj" >&5
14102 echo "$as_me: error: unknown value given to --with-glibj" >&2;}
14103 { (exit 1); exit 1; }; }
14108 install_class_files
=no
14114 if test "x${use_zip}" = xyes
; then
14115 INSTALL_GLIBJ_ZIP_TRUE
=
14116 INSTALL_GLIBJ_ZIP_FALSE
='#'
14118 INSTALL_GLIBJ_ZIP_TRUE
='#'
14119 INSTALL_GLIBJ_ZIP_FALSE
=
14124 if test "x${install_class_files}" = xyes
; then
14125 INSTALL_CLASS_FILES_TRUE
=
14126 INSTALL_CLASS_FILES_FALSE
='#'
14128 INSTALL_CLASS_FILES_TRUE
='#'
14129 INSTALL_CLASS_FILES_FALSE
=
14134 if test "x${build_class_files}" = xyes
; then
14135 BUILD_CLASS_FILES_TRUE
=
14136 BUILD_CLASS_FILES_FALSE
='#'
14138 BUILD_CLASS_FILES_TRUE
='#'
14139 BUILD_CLASS_FILES_FALSE
=
14143 # Check whether --enable-examples or --disable-examples was given.
14144 if test "${enable_examples+set}" = set; then
14145 enableval
="$enable_examples"
14146 case "${enableval}" in
14147 yes) EXAMPLESDIR
="examples" ;;
14148 no
) EXAMPLESDIR
="" ;;
14149 *) { { echo "$as_me:$LINENO: error: bad value ${enableval} for --enable-examples" >&5
14150 echo "$as_me: error: bad value ${enableval} for --enable-examples" >&2;}
14151 { (exit 1); exit 1; }; } ;;
14154 EXAMPLESDIR
="examples"
14156 if test "x${use_zip}" = xno
&& test "x${install_class_files}" = xno
; then
14164 # Check whether --with-gjdoc or --without-gjdoc was given.
14165 if test "${with_gjdoc+set}" = set; then
14166 withval
="$with_gjdoc"
14167 if test "x${withval}" = xno
; then
14169 elif test "x${withval}" = xyes
-o "x{withval}" = x
; then
14171 # Extract the first word of "gjdoc", so it can be a program name with args.
14172 set dummy gjdoc
; ac_word
=$2
14173 echo "$as_me:$LINENO: checking for $ac_word" >&5
14174 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
14175 if test "${ac_cv_path_GJDOC+set}" = set; then
14176 echo $ECHO_N "(cached) $ECHO_C" >&6
14180 ac_cv_path_GJDOC
="$GJDOC" # Let the user override the test with a path.
14183 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
14184 for as_dir
in $PATH
14187 test -z "$as_dir" && as_dir
=.
14188 for ac_exec_ext
in '' $ac_executable_extensions; do
14189 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
14190 ac_cv_path_GJDOC
="$as_dir/$ac_word$ac_exec_ext"
14191 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
14197 test -z "$ac_cv_path_GJDOC" && ac_cv_path_GJDOC
=""no
""
14201 GJDOC
=$ac_cv_path_GJDOC
14203 if test -n "$GJDOC"; then
14204 echo "$as_me:$LINENO: result: $GJDOC" >&5
14205 echo "${ECHO_T}$GJDOC" >&6
14207 echo "$as_me:$LINENO: result: no" >&5
14208 echo "${ECHO_T}no" >&6
14211 if test "x${GJDOC}" = xno
; then
14212 { { echo "$as_me:$LINENO: error: \"gjdoc executable not found\"" >&5
14213 echo "$as_me: error: \"gjdoc executable not found\"" >&2;}
14214 { (exit 1); exit 1; }; };
14219 as_ac_File
=`echo "ac_cv_file_${GJDOC}" | $as_tr_sh`
14220 echo "$as_me:$LINENO: checking for ${GJDOC}" >&5
14221 echo $ECHO_N "checking for ${GJDOC}... $ECHO_C" >&6
14222 if eval "test \"\${$as_ac_File+set}\" = set"; then
14223 echo $ECHO_N "(cached) $ECHO_C" >&6
14225 test "$cross_compiling" = yes &&
14226 { { echo "$as_me:$LINENO: error: cannot check for file existence when cross compiling" >&5
14227 echo "$as_me: error: cannot check for file existence when cross compiling" >&2;}
14228 { (exit 1); exit 1; }; }
14229 if test -r "${GJDOC}"; then
14230 eval "$as_ac_File=yes"
14232 eval "$as_ac_File=no"
14235 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_File'}'`" >&5
14236 echo "${ECHO_T}`eval echo '${'$as_ac_File'}'`" >&6
14237 if test `eval echo '${'$as_ac_File'}'` = yes; then
14240 { { echo "$as_me:$LINENO: error: \"Cannot use ${withval} as gjdoc executable since it doesn't exist\"" >&5
14241 echo "$as_me: error: \"Cannot use ${withval} as gjdoc executable since it doesn't exist\"" >&2;}
14242 { (exit 1); exit 1; }; }
14252 if test "x${WITH_GJDOC}" = xyes
; then
14253 CREATE_API_DOCS_TRUE
=
14254 CREATE_API_DOCS_FALSE
='#'
14256 CREATE_API_DOCS_TRUE
='#'
14257 CREATE_API_DOCS_FALSE
=
14264 # Check whether --with-jay or --without-jay was given.
14265 if test "${with_jay+set}" = set; then
14266 withval
="$with_jay"
14268 if test -d "${withval}"; then
14269 JAY_DIR_PATH
="${withval}"
14270 # Extract the first word of "jay", so it can be a program name with args.
14271 set dummy jay
; ac_word
=$2
14272 echo "$as_me:$LINENO: checking for $ac_word" >&5
14273 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
14274 if test "${ac_cv_path_JAY+set}" = set; then
14275 echo $ECHO_N "(cached) $ECHO_C" >&6
14279 ac_cv_path_JAY
="$JAY" # Let the user override the test with a path.
14282 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
14283 for as_dir
in ${JAY_DIR_PATH}
14286 test -z "$as_dir" && as_dir
=.
14287 for ac_exec_ext
in '' $ac_executable_extensions; do
14288 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
14289 ac_cv_path_JAY
="$as_dir/$ac_word$ac_exec_ext"
14290 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
14296 test -z "$ac_cv_path_JAY" && ac_cv_path_JAY
=""no
""
14300 JAY
=$ac_cv_path_JAY
14302 if test -n "$JAY"; then
14303 echo "$as_me:$LINENO: result: $JAY" >&5
14304 echo "${ECHO_T}$JAY" >&6
14306 echo "$as_me:$LINENO: result: no" >&5
14307 echo "${ECHO_T}no" >&6
14310 if test "x${JAY}" = xno
; then
14311 { { echo "$as_me:$LINENO: error: \"jay executable not found\"" >&5
14312 echo "$as_me: error: \"jay executable not found\"" >&2;}
14313 { (exit 1); exit 1; }; };
14316 JAY_DIR_PATH
=$
(dirname "${withval}")
14320 JAY_SKELETON
="${JAY_DIR_PATH}/skeleton"
14321 as_ac_File
=`echo "ac_cv_file_${JAY_SKELETON}" | $as_tr_sh`
14322 echo "$as_me:$LINENO: checking for ${JAY_SKELETON}" >&5
14323 echo $ECHO_N "checking for ${JAY_SKELETON}... $ECHO_C" >&6
14324 if eval "test \"\${$as_ac_File+set}\" = set"; then
14325 echo $ECHO_N "(cached) $ECHO_C" >&6
14327 test "$cross_compiling" = yes &&
14328 { { echo "$as_me:$LINENO: error: cannot check for file existence when cross compiling" >&5
14329 echo "$as_me: error: cannot check for file existence when cross compiling" >&2;}
14330 { (exit 1); exit 1; }; }
14331 if test -r "${JAY_SKELETON}"; then
14332 eval "$as_ac_File=yes"
14334 eval "$as_ac_File=no"
14337 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_File'}'`" >&5
14338 echo "${ECHO_T}`eval echo '${'$as_ac_File'}'`" >&6
14339 if test `eval echo '${'$as_ac_File'}'` = yes; then
14342 { { echo "$as_me:$LINENO: error: \"Expected skeleton file in $(dirname ${withval})\"" >&5
14343 echo "$as_me: error: \"Expected skeleton file in $(dirname ${withval})\"" >&2;}
14344 { (exit 1); exit 1; }; }
14356 if test "x${JAY_FOUND}" = xyes
; then
14357 REGEN_PARSERS_TRUE
=
14358 REGEN_PARSERS_FALSE
='#'
14360 REGEN_PARSERS_TRUE
='#'
14361 REGEN_PARSERS_FALSE
=
14366 # Check whether --enable-portable-native-sync or --disable-portable-native-sync was given.
14367 if test "${enable_portable_native_sync+set}" = set; then
14368 enableval
="$enable_portable_native_sync"
14369 case "${enableval}" in
14372 cat >>confdefs.h
<<\_ACEOF
14373 #define PORTABLE_NATIVE_SYNC 1
14379 { { echo "$as_me:$LINENO: error: bad value ${enableval} for --enable-portable-native-sync" >&5
14380 echo "$as_me: error: bad value ${enableval} for --enable-portable-native-sync" >&2;}
14381 { (exit 1); exit 1; }; }
14386 # ------ AX CREATE STDINT H -------------------------------------
14387 echo "$as_me:$LINENO: checking for stdint types" >&5
14388 echo $ECHO_N "checking for stdint types... $ECHO_C" >&6
14389 ac_stdint_h
=`echo include/config-int.h`
14390 # try to shortcircuit - if the default include path of the compiler
14391 # can find a "stdint.h" header then we assume that all compilers can.
14392 if test "${ac_cv_header_stdint_t+set}" = set; then
14393 echo $ECHO_N "(cached) $ECHO_C" >&6
14396 old_CXXFLAGS
="$CXXFLAGS" ; CXXFLAGS
=""
14397 old_CPPFLAGS
="$CPPFLAGS" ; CPPFLAGS
=""
14398 old_CFLAGS
="$CFLAGS" ; CFLAGS
=""
14399 cat >conftest.
$ac_ext <<_ACEOF
14402 cat confdefs.h
>>conftest.
$ac_ext
14403 cat >>conftest.
$ac_ext <<_ACEOF
14404 /* end confdefs.h. */
14405 #include <stdint.h>
14409 int_least32_t v = 0;
14414 rm -f conftest.
$ac_objext
14415 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14416 (eval $ac_compile) 2>conftest.er1
14418 grep -v '^ *+' conftest.er1
>conftest.err
14420 cat conftest.err
>&5
14421 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14422 (exit $ac_status); } &&
14423 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
14424 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14425 (eval $ac_try) 2>&5
14427 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14428 (exit $ac_status); }; } &&
14429 { ac_try
='test -s conftest.$ac_objext'
14430 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14431 (eval $ac_try) 2>&5
14433 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14434 (exit $ac_status); }; }; then
14435 ac_cv_stdint_result
="(assuming C99 compatible system)"
14436 ac_cv_header_stdint_t
="stdint.h";
14438 echo "$as_me: failed program was:" >&5
14439 sed 's/^/| /' conftest.
$ac_ext >&5
14441 ac_cv_header_stdint_t
=""
14443 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
14444 CXXFLAGS
="$old_CXXFLAGS"
14445 CPPFLAGS
="$old_CPPFLAGS"
14446 CFLAGS
="$old_CFLAGS"
14450 v
="... $ac_cv_header_stdint_h"
14451 if test "$ac_stdint_h" = "stdint.h" ; then
14452 echo "$as_me:$LINENO: result: (are you sure you want them in ./stdint.h?)" >&5
14453 echo "${ECHO_T}(are you sure you want them in ./stdint.h?)" >&6
14454 elif test "$ac_stdint_h" = "inttypes.h" ; then
14455 echo "$as_me:$LINENO: result: (are you sure you want them in ./inttypes.h?)" >&5
14456 echo "${ECHO_T}(are you sure you want them in ./inttypes.h?)" >&6
14457 elif test "_$ac_cv_header_stdint_t" = "_" ; then
14458 echo "$as_me:$LINENO: result: (putting them into $ac_stdint_h)$v" >&5
14459 echo "${ECHO_T}(putting them into $ac_stdint_h)$v" >&6
14461 ac_cv_header_stdint
="$ac_cv_header_stdint_t"
14462 echo "$as_me:$LINENO: result: $ac_cv_header_stdint (shortcircuit)" >&5
14463 echo "${ECHO_T}$ac_cv_header_stdint (shortcircuit)" >&6
14466 if test "_$ac_cv_header_stdint_t" = "_" ; then # can not shortcircuit..
14469 inttype_headers
=`echo | sed -e 's/,/ /g'`
14471 ac_cv_stdint_result
="(no helpful system typedefs seen)"
14473 echo "$as_me:$LINENO: checking for stdint uintptr_t" >&5
14474 echo $ECHO_N "checking for stdint uintptr_t... $ECHO_C" >&6
14475 if test "${ac_cv_header_stdint_x+set}" = set; then
14476 echo $ECHO_N "(cached) $ECHO_C" >&6
14479 ac_cv_header_stdint_x
="" # the 1997 typedefs (inttypes.h)
14480 echo "$as_me:$LINENO: result: (..)" >&5
14481 echo "${ECHO_T}(..)" >&6
14482 for i
in stdint.h inttypes.h sys
/inttypes.h
$inttype_headers ; do
14483 unset ac_cv_type_uintptr_t
14484 unset ac_cv_type_uint64_t
14485 echo "$as_me:$LINENO: checking for uintptr_t" >&5
14486 echo $ECHO_N "checking for uintptr_t... $ECHO_C" >&6
14487 if test "${ac_cv_type_uintptr_t+set}" = set; then
14488 echo $ECHO_N "(cached) $ECHO_C" >&6
14490 cat >conftest.
$ac_ext <<_ACEOF
14493 cat confdefs.h
>>conftest.
$ac_ext
14494 cat >>conftest.
$ac_ext <<_ACEOF
14495 /* end confdefs.h. */
14501 if ((uintptr_t *) 0)
14503 if (sizeof (uintptr_t))
14509 rm -f conftest.
$ac_objext
14510 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14511 (eval $ac_compile) 2>conftest.er1
14513 grep -v '^ *+' conftest.er1
>conftest.err
14515 cat conftest.err
>&5
14516 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14517 (exit $ac_status); } &&
14518 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
14519 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14520 (eval $ac_try) 2>&5
14522 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14523 (exit $ac_status); }; } &&
14524 { ac_try
='test -s conftest.$ac_objext'
14525 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14526 (eval $ac_try) 2>&5
14528 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14529 (exit $ac_status); }; }; then
14530 ac_cv_type_uintptr_t
=yes
14532 echo "$as_me: failed program was:" >&5
14533 sed 's/^/| /' conftest.
$ac_ext >&5
14535 ac_cv_type_uintptr_t
=no
14537 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
14539 echo "$as_me:$LINENO: result: $ac_cv_type_uintptr_t" >&5
14540 echo "${ECHO_T}$ac_cv_type_uintptr_t" >&6
14541 if test $ac_cv_type_uintptr_t = yes; then
14542 ac_cv_header_stdint_x
=$i
14547 echo "$as_me:$LINENO: checking for uint64_t" >&5
14548 echo $ECHO_N "checking for uint64_t... $ECHO_C" >&6
14549 if test "${ac_cv_type_uint64_t+set}" = set; then
14550 echo $ECHO_N "(cached) $ECHO_C" >&6
14552 cat >conftest.
$ac_ext <<_ACEOF
14555 cat confdefs.h
>>conftest.
$ac_ext
14556 cat >>conftest.
$ac_ext <<_ACEOF
14557 /* end confdefs.h. */
14563 if ((uint64_t *) 0)
14565 if (sizeof (uint64_t))
14571 rm -f conftest.
$ac_objext
14572 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14573 (eval $ac_compile) 2>conftest.er1
14575 grep -v '^ *+' conftest.er1
>conftest.err
14577 cat conftest.err
>&5
14578 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14579 (exit $ac_status); } &&
14580 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
14581 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14582 (eval $ac_try) 2>&5
14584 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14585 (exit $ac_status); }; } &&
14586 { ac_try
='test -s conftest.$ac_objext'
14587 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14588 (eval $ac_try) 2>&5
14590 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14591 (exit $ac_status); }; }; then
14592 ac_cv_type_uint64_t
=yes
14594 echo "$as_me: failed program was:" >&5
14595 sed 's/^/| /' conftest.
$ac_ext >&5
14597 ac_cv_type_uint64_t
=no
14599 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
14601 echo "$as_me:$LINENO: result: $ac_cv_type_uint64_t" >&5
14602 echo "${ECHO_T}$ac_cv_type_uint64_t" >&6
14603 if test $ac_cv_type_uint64_t = yes; then
14609 stdint.h inttypes.h sys
/inttypes.h
$inttype_headers
14612 echo "$as_me:$LINENO: checking for stdint uintptr_t" >&5
14613 echo $ECHO_N "checking for stdint uintptr_t... $ECHO_C" >&6
14616 echo "$as_me:$LINENO: result: $ac_cv_header_stdint_x" >&5
14617 echo "${ECHO_T}$ac_cv_header_stdint_x" >&6
14620 if test "_$ac_cv_header_stdint_x" = "_" ; then
14622 echo "$as_me:$LINENO: checking for stdint uint32_t" >&5
14623 echo $ECHO_N "checking for stdint uint32_t... $ECHO_C" >&6
14624 if test "${ac_cv_header_stdint_o+set}" = set; then
14625 echo $ECHO_N "(cached) $ECHO_C" >&6
14628 ac_cv_header_stdint_o
="" # the 1995 typedefs (sys/inttypes.h)
14629 echo "$as_me:$LINENO: result: (..)" >&5
14630 echo "${ECHO_T}(..)" >&6
14631 for i
in inttypes.h sys
/inttypes.h stdint.h
$inttype_headers ; do
14632 unset ac_cv_type_uint32_t
14633 unset ac_cv_type_uint64_t
14634 echo "$as_me:$LINENO: checking for uint32_t" >&5
14635 echo $ECHO_N "checking for uint32_t... $ECHO_C" >&6
14636 if test "${ac_cv_type_uint32_t+set}" = set; then
14637 echo $ECHO_N "(cached) $ECHO_C" >&6
14639 cat >conftest.
$ac_ext <<_ACEOF
14642 cat confdefs.h
>>conftest.
$ac_ext
14643 cat >>conftest.
$ac_ext <<_ACEOF
14644 /* end confdefs.h. */
14650 if ((uint32_t *) 0)
14652 if (sizeof (uint32_t))
14658 rm -f conftest.
$ac_objext
14659 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14660 (eval $ac_compile) 2>conftest.er1
14662 grep -v '^ *+' conftest.er1
>conftest.err
14664 cat conftest.err
>&5
14665 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14666 (exit $ac_status); } &&
14667 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
14668 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14669 (eval $ac_try) 2>&5
14671 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14672 (exit $ac_status); }; } &&
14673 { ac_try
='test -s conftest.$ac_objext'
14674 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14675 (eval $ac_try) 2>&5
14677 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14678 (exit $ac_status); }; }; then
14679 ac_cv_type_uint32_t
=yes
14681 echo "$as_me: failed program was:" >&5
14682 sed 's/^/| /' conftest.
$ac_ext >&5
14684 ac_cv_type_uint32_t
=no
14686 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
14688 echo "$as_me:$LINENO: result: $ac_cv_type_uint32_t" >&5
14689 echo "${ECHO_T}$ac_cv_type_uint32_t" >&6
14690 if test $ac_cv_type_uint32_t = yes; then
14691 ac_cv_header_stdint_o
=$i
14696 echo "$as_me:$LINENO: checking for uint64_t" >&5
14697 echo $ECHO_N "checking for uint64_t... $ECHO_C" >&6
14698 if test "${ac_cv_type_uint64_t+set}" = set; then
14699 echo $ECHO_N "(cached) $ECHO_C" >&6
14701 cat >conftest.
$ac_ext <<_ACEOF
14704 cat confdefs.h
>>conftest.
$ac_ext
14705 cat >>conftest.
$ac_ext <<_ACEOF
14706 /* end confdefs.h. */
14712 if ((uint64_t *) 0)
14714 if (sizeof (uint64_t))
14720 rm -f conftest.
$ac_objext
14721 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14722 (eval $ac_compile) 2>conftest.er1
14724 grep -v '^ *+' conftest.er1
>conftest.err
14726 cat conftest.err
>&5
14727 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14728 (exit $ac_status); } &&
14729 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
14730 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14731 (eval $ac_try) 2>&5
14733 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14734 (exit $ac_status); }; } &&
14735 { ac_try
='test -s conftest.$ac_objext'
14736 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14737 (eval $ac_try) 2>&5
14739 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14740 (exit $ac_status); }; }; then
14741 ac_cv_type_uint64_t
=yes
14743 echo "$as_me: failed program was:" >&5
14744 sed 's/^/| /' conftest.
$ac_ext >&5
14746 ac_cv_type_uint64_t
=no
14748 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
14750 echo "$as_me:$LINENO: result: $ac_cv_type_uint64_t" >&5
14751 echo "${ECHO_T}$ac_cv_type_uint64_t" >&6
14752 if test $ac_cv_type_uint64_t = yes; then
14758 inttypes.h sys
/inttypes.h stdint.h
$inttype_headers
14762 echo "$as_me:$LINENO: checking for stdint uint32_t" >&5
14763 echo $ECHO_N "checking for stdint uint32_t... $ECHO_C" >&6
14766 echo "$as_me:$LINENO: result: $ac_cv_header_stdint_o" >&5
14767 echo "${ECHO_T}$ac_cv_header_stdint_o" >&6
14771 if test "_$ac_cv_header_stdint_x" = "_" ; then
14772 if test "_$ac_cv_header_stdint_o" = "_" ; then
14774 echo "$as_me:$LINENO: checking for stdint u_int32_t" >&5
14775 echo $ECHO_N "checking for stdint u_int32_t... $ECHO_C" >&6
14776 if test "${ac_cv_header_stdint_u+set}" = set; then
14777 echo $ECHO_N "(cached) $ECHO_C" >&6
14780 ac_cv_header_stdint_u
="" # the BSD typedefs (sys/types.h)
14781 echo "$as_me:$LINENO: result: (..)" >&5
14782 echo "${ECHO_T}(..)" >&6
14783 for i
in sys
/types.h inttypes.h sys
/inttypes.h
$inttype_headers ; do
14784 unset ac_cv_type_u_int32_t
14785 unset ac_cv_type_u_int64_t
14786 echo "$as_me:$LINENO: checking for u_int32_t" >&5
14787 echo $ECHO_N "checking for u_int32_t... $ECHO_C" >&6
14788 if test "${ac_cv_type_u_int32_t+set}" = set; then
14789 echo $ECHO_N "(cached) $ECHO_C" >&6
14791 cat >conftest.
$ac_ext <<_ACEOF
14794 cat confdefs.h
>>conftest.
$ac_ext
14795 cat >>conftest.
$ac_ext <<_ACEOF
14796 /* end confdefs.h. */
14802 if ((u_int32_t *) 0)
14804 if (sizeof (u_int32_t))
14810 rm -f conftest.
$ac_objext
14811 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14812 (eval $ac_compile) 2>conftest.er1
14814 grep -v '^ *+' conftest.er1
>conftest.err
14816 cat conftest.err
>&5
14817 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14818 (exit $ac_status); } &&
14819 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
14820 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14821 (eval $ac_try) 2>&5
14823 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14824 (exit $ac_status); }; } &&
14825 { ac_try
='test -s conftest.$ac_objext'
14826 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14827 (eval $ac_try) 2>&5
14829 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14830 (exit $ac_status); }; }; then
14831 ac_cv_type_u_int32_t
=yes
14833 echo "$as_me: failed program was:" >&5
14834 sed 's/^/| /' conftest.
$ac_ext >&5
14836 ac_cv_type_u_int32_t
=no
14838 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
14840 echo "$as_me:$LINENO: result: $ac_cv_type_u_int32_t" >&5
14841 echo "${ECHO_T}$ac_cv_type_u_int32_t" >&6
14842 if test $ac_cv_type_u_int32_t = yes; then
14843 ac_cv_header_stdint_u
=$i
14848 echo "$as_me:$LINENO: checking for u_int64_t" >&5
14849 echo $ECHO_N "checking for u_int64_t... $ECHO_C" >&6
14850 if test "${ac_cv_type_u_int64_t+set}" = set; then
14851 echo $ECHO_N "(cached) $ECHO_C" >&6
14853 cat >conftest.
$ac_ext <<_ACEOF
14856 cat confdefs.h
>>conftest.
$ac_ext
14857 cat >>conftest.
$ac_ext <<_ACEOF
14858 /* end confdefs.h. */
14864 if ((u_int64_t *) 0)
14866 if (sizeof (u_int64_t))
14872 rm -f conftest.
$ac_objext
14873 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14874 (eval $ac_compile) 2>conftest.er1
14876 grep -v '^ *+' conftest.er1
>conftest.err
14878 cat conftest.err
>&5
14879 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14880 (exit $ac_status); } &&
14881 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
14882 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14883 (eval $ac_try) 2>&5
14885 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14886 (exit $ac_status); }; } &&
14887 { ac_try
='test -s conftest.$ac_objext'
14888 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14889 (eval $ac_try) 2>&5
14891 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14892 (exit $ac_status); }; }; then
14893 ac_cv_type_u_int64_t
=yes
14895 echo "$as_me: failed program was:" >&5
14896 sed 's/^/| /' conftest.
$ac_ext >&5
14898 ac_cv_type_u_int64_t
=no
14900 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
14902 echo "$as_me:$LINENO: result: $ac_cv_type_u_int64_t" >&5
14903 echo "${ECHO_T}$ac_cv_type_u_int64_t" >&6
14904 if test $ac_cv_type_u_int64_t = yes; then
14910 sys
/types.h inttypes.h sys
/inttypes.h
$inttype_headers
14914 echo "$as_me:$LINENO: checking for stdint u_int32_t" >&5
14915 echo $ECHO_N "checking for stdint u_int32_t... $ECHO_C" >&6
14918 echo "$as_me:$LINENO: result: $ac_cv_header_stdint_u" >&5
14919 echo "${ECHO_T}$ac_cv_header_stdint_u" >&6
14923 if test "_$ac_cv_header_stdint_x" = "_" ; then
14924 echo "$as_me:$LINENO: checking for stdint datatype model" >&5
14925 echo $ECHO_N "checking for stdint datatype model... $ECHO_C" >&6
14926 echo "$as_me:$LINENO: result: (..)" >&5
14927 echo "${ECHO_T}(..)" >&6
14929 echo "$as_me:$LINENO: checking for char" >&5
14930 echo $ECHO_N "checking for char... $ECHO_C" >&6
14931 if test "${ac_cv_type_char+set}" = set; then
14932 echo $ECHO_N "(cached) $ECHO_C" >&6
14934 cat >conftest.
$ac_ext <<_ACEOF
14937 cat confdefs.h
>>conftest.
$ac_ext
14938 cat >>conftest.
$ac_ext <<_ACEOF
14939 /* end confdefs.h. */
14940 $ac_includes_default
14952 rm -f conftest.
$ac_objext
14953 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14954 (eval $ac_compile) 2>conftest.er1
14956 grep -v '^ *+' conftest.er1
>conftest.err
14958 cat conftest.err
>&5
14959 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14960 (exit $ac_status); } &&
14961 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
14962 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14963 (eval $ac_try) 2>&5
14965 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14966 (exit $ac_status); }; } &&
14967 { ac_try
='test -s conftest.$ac_objext'
14968 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14969 (eval $ac_try) 2>&5
14971 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14972 (exit $ac_status); }; }; then
14973 ac_cv_type_char
=yes
14975 echo "$as_me: failed program was:" >&5
14976 sed 's/^/| /' conftest.
$ac_ext >&5
14980 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
14982 echo "$as_me:$LINENO: result: $ac_cv_type_char" >&5
14983 echo "${ECHO_T}$ac_cv_type_char" >&6
14985 echo "$as_me:$LINENO: checking size of char" >&5
14986 echo $ECHO_N "checking size of char... $ECHO_C" >&6
14987 if test "${ac_cv_sizeof_char+set}" = set; then
14988 echo $ECHO_N "(cached) $ECHO_C" >&6
14990 if test "$ac_cv_type_char" = yes; then
14991 # The cast to unsigned long works around a bug in the HP C Compiler
14992 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
14993 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
14994 # This bug is HP SR number 8606223364.
14995 if test "$cross_compiling" = yes; then
14996 # Depending upon the size, compute the lo and hi bounds.
14997 cat >conftest.
$ac_ext <<_ACEOF
15000 cat confdefs.h
>>conftest.
$ac_ext
15001 cat >>conftest.
$ac_ext <<_ACEOF
15002 /* end confdefs.h. */
15003 $ac_includes_default
15007 static int test_array [1 - 2 * !(((long) (sizeof (char))) >= 0)];
15014 rm -f conftest.
$ac_objext
15015 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15016 (eval $ac_compile) 2>conftest.er1
15018 grep -v '^ *+' conftest.er1
>conftest.err
15020 cat conftest.err
>&5
15021 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15022 (exit $ac_status); } &&
15023 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
15024 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15025 (eval $ac_try) 2>&5
15027 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15028 (exit $ac_status); }; } &&
15029 { ac_try
='test -s conftest.$ac_objext'
15030 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15031 (eval $ac_try) 2>&5
15033 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15034 (exit $ac_status); }; }; then
15037 cat >conftest.
$ac_ext <<_ACEOF
15040 cat confdefs.h
>>conftest.
$ac_ext
15041 cat >>conftest.
$ac_ext <<_ACEOF
15042 /* end confdefs.h. */
15043 $ac_includes_default
15047 static int test_array [1 - 2 * !(((long) (sizeof (char))) <= $ac_mid)];
15054 rm -f conftest.
$ac_objext
15055 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15056 (eval $ac_compile) 2>conftest.er1
15058 grep -v '^ *+' conftest.er1
>conftest.err
15060 cat conftest.err
>&5
15061 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15062 (exit $ac_status); } &&
15063 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
15064 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15065 (eval $ac_try) 2>&5
15067 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15068 (exit $ac_status); }; } &&
15069 { ac_try
='test -s conftest.$ac_objext'
15070 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15071 (eval $ac_try) 2>&5
15073 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15074 (exit $ac_status); }; }; then
15075 ac_hi
=$ac_mid; break
15077 echo "$as_me: failed program was:" >&5
15078 sed 's/^/| /' conftest.
$ac_ext >&5
15080 ac_lo
=`expr $ac_mid + 1`
15081 if test $ac_lo -le $ac_mid; then
15085 ac_mid
=`expr 2 '*' $ac_mid + 1`
15087 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
15090 echo "$as_me: failed program was:" >&5
15091 sed 's/^/| /' conftest.
$ac_ext >&5
15093 cat >conftest.
$ac_ext <<_ACEOF
15096 cat confdefs.h
>>conftest.
$ac_ext
15097 cat >>conftest.
$ac_ext <<_ACEOF
15098 /* end confdefs.h. */
15099 $ac_includes_default
15103 static int test_array [1 - 2 * !(((long) (sizeof (char))) < 0)];
15110 rm -f conftest.
$ac_objext
15111 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15112 (eval $ac_compile) 2>conftest.er1
15114 grep -v '^ *+' conftest.er1
>conftest.err
15116 cat conftest.err
>&5
15117 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15118 (exit $ac_status); } &&
15119 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
15120 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15121 (eval $ac_try) 2>&5
15123 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15124 (exit $ac_status); }; } &&
15125 { ac_try
='test -s conftest.$ac_objext'
15126 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15127 (eval $ac_try) 2>&5
15129 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15130 (exit $ac_status); }; }; then
15133 cat >conftest.
$ac_ext <<_ACEOF
15136 cat confdefs.h
>>conftest.
$ac_ext
15137 cat >>conftest.
$ac_ext <<_ACEOF
15138 /* end confdefs.h. */
15139 $ac_includes_default
15143 static int test_array [1 - 2 * !(((long) (sizeof (char))) >= $ac_mid)];
15150 rm -f conftest.
$ac_objext
15151 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15152 (eval $ac_compile) 2>conftest.er1
15154 grep -v '^ *+' conftest.er1
>conftest.err
15156 cat conftest.err
>&5
15157 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15158 (exit $ac_status); } &&
15159 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
15160 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15161 (eval $ac_try) 2>&5
15163 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15164 (exit $ac_status); }; } &&
15165 { ac_try
='test -s conftest.$ac_objext'
15166 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15167 (eval $ac_try) 2>&5
15169 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15170 (exit $ac_status); }; }; then
15171 ac_lo
=$ac_mid; break
15173 echo "$as_me: failed program was:" >&5
15174 sed 's/^/| /' conftest.
$ac_ext >&5
15176 ac_hi
=`expr '(' $ac_mid ')' - 1`
15177 if test $ac_mid -le $ac_hi; then
15181 ac_mid
=`expr 2 '*' $ac_mid`
15183 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
15186 echo "$as_me: failed program was:" >&5
15187 sed 's/^/| /' conftest.
$ac_ext >&5
15191 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
15193 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
15194 # Binary search between lo and hi bounds.
15195 while test "x$ac_lo" != "x$ac_hi"; do
15196 ac_mid
=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
15197 cat >conftest.
$ac_ext <<_ACEOF
15200 cat confdefs.h
>>conftest.
$ac_ext
15201 cat >>conftest.
$ac_ext <<_ACEOF
15202 /* end confdefs.h. */
15203 $ac_includes_default
15207 static int test_array [1 - 2 * !(((long) (sizeof (char))) <= $ac_mid)];
15214 rm -f conftest.
$ac_objext
15215 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15216 (eval $ac_compile) 2>conftest.er1
15218 grep -v '^ *+' conftest.er1
>conftest.err
15220 cat conftest.err
>&5
15221 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15222 (exit $ac_status); } &&
15223 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
15224 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15225 (eval $ac_try) 2>&5
15227 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15228 (exit $ac_status); }; } &&
15229 { ac_try
='test -s conftest.$ac_objext'
15230 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15231 (eval $ac_try) 2>&5
15233 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15234 (exit $ac_status); }; }; then
15237 echo "$as_me: failed program was:" >&5
15238 sed 's/^/| /' conftest.
$ac_ext >&5
15240 ac_lo
=`expr '(' $ac_mid ')' + 1`
15242 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
15245 ?
*) ac_cv_sizeof_char
=$ac_lo;;
15246 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (char), 77
15247 See \`config.log' for more details." >&5
15248 echo "$as_me: error: cannot compute sizeof (char), 77
15249 See \`config.log' for more details." >&2;}
15250 { (exit 1); exit 1; }; } ;;
15253 if test "$cross_compiling" = yes; then
15254 { { echo "$as_me:$LINENO: error: internal error: not reached in cross-compile" >&5
15255 echo "$as_me: error: internal error: not reached in cross-compile" >&2;}
15256 { (exit 1); exit 1; }; }
15258 cat >conftest.
$ac_ext <<_ACEOF
15261 cat confdefs.h
>>conftest.
$ac_ext
15262 cat >>conftest.
$ac_ext <<_ACEOF
15263 /* end confdefs.h. */
15264 $ac_includes_default
15265 long longval () { return (long) (sizeof (char)); }
15266 unsigned long ulongval () { return (long) (sizeof (char)); }
15268 #include <stdlib.h>
15273 FILE *f = fopen ("conftest.val", "w");
15276 if (((long) (sizeof (char))) < 0)
15278 long i = longval ();
15279 if (i != ((long) (sizeof (char))))
15281 fprintf (f, "%ld\n", i);
15285 unsigned long i = ulongval ();
15286 if (i != ((long) (sizeof (char))))
15288 fprintf (f, "%lu\n", i);
15290 exit (ferror (f) || fclose (f) != 0);
15296 rm -f conftest
$ac_exeext
15297 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
15298 (eval $ac_link) 2>&5
15300 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15301 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
15302 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15303 (eval $ac_try) 2>&5
15305 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15306 (exit $ac_status); }; }; then
15307 ac_cv_sizeof_char
=`cat conftest.val`
15309 echo "$as_me: program exited with status $ac_status" >&5
15310 echo "$as_me: failed program was:" >&5
15311 sed 's/^/| /' conftest.
$ac_ext >&5
15313 ( exit $ac_status )
15314 { { echo "$as_me:$LINENO: error: cannot compute sizeof (char), 77
15315 See \`config.log' for more details." >&5
15316 echo "$as_me: error: cannot compute sizeof (char), 77
15317 See \`config.log' for more details." >&2;}
15318 { (exit 1); exit 1; }; }
15320 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
15325 ac_cv_sizeof_char
=0
15328 echo "$as_me:$LINENO: result: $ac_cv_sizeof_char" >&5
15329 echo "${ECHO_T}$ac_cv_sizeof_char" >&6
15330 cat >>confdefs.h
<<_ACEOF
15331 #define SIZEOF_CHAR $ac_cv_sizeof_char
15335 echo "$as_me:$LINENO: checking for short" >&5
15336 echo $ECHO_N "checking for short... $ECHO_C" >&6
15337 if test "${ac_cv_type_short+set}" = set; then
15338 echo $ECHO_N "(cached) $ECHO_C" >&6
15340 cat >conftest.
$ac_ext <<_ACEOF
15343 cat confdefs.h
>>conftest.
$ac_ext
15344 cat >>conftest.
$ac_ext <<_ACEOF
15345 /* end confdefs.h. */
15346 $ac_includes_default
15352 if (sizeof (short))
15358 rm -f conftest.
$ac_objext
15359 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15360 (eval $ac_compile) 2>conftest.er1
15362 grep -v '^ *+' conftest.er1
>conftest.err
15364 cat conftest.err
>&5
15365 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15366 (exit $ac_status); } &&
15367 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
15368 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15369 (eval $ac_try) 2>&5
15371 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15372 (exit $ac_status); }; } &&
15373 { ac_try
='test -s conftest.$ac_objext'
15374 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15375 (eval $ac_try) 2>&5
15377 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15378 (exit $ac_status); }; }; then
15379 ac_cv_type_short
=yes
15381 echo "$as_me: failed program was:" >&5
15382 sed 's/^/| /' conftest.
$ac_ext >&5
15384 ac_cv_type_short
=no
15386 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
15388 echo "$as_me:$LINENO: result: $ac_cv_type_short" >&5
15389 echo "${ECHO_T}$ac_cv_type_short" >&6
15391 echo "$as_me:$LINENO: checking size of short" >&5
15392 echo $ECHO_N "checking size of short... $ECHO_C" >&6
15393 if test "${ac_cv_sizeof_short+set}" = set; then
15394 echo $ECHO_N "(cached) $ECHO_C" >&6
15396 if test "$ac_cv_type_short" = yes; then
15397 # The cast to unsigned long works around a bug in the HP C Compiler
15398 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
15399 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
15400 # This bug is HP SR number 8606223364.
15401 if test "$cross_compiling" = yes; then
15402 # Depending upon the size, compute the lo and hi bounds.
15403 cat >conftest.
$ac_ext <<_ACEOF
15406 cat confdefs.h
>>conftest.
$ac_ext
15407 cat >>conftest.
$ac_ext <<_ACEOF
15408 /* end confdefs.h. */
15409 $ac_includes_default
15413 static int test_array [1 - 2 * !(((long) (sizeof (short))) >= 0)];
15420 rm -f conftest.
$ac_objext
15421 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15422 (eval $ac_compile) 2>conftest.er1
15424 grep -v '^ *+' conftest.er1
>conftest.err
15426 cat conftest.err
>&5
15427 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15428 (exit $ac_status); } &&
15429 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
15430 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15431 (eval $ac_try) 2>&5
15433 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15434 (exit $ac_status); }; } &&
15435 { ac_try
='test -s conftest.$ac_objext'
15436 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15437 (eval $ac_try) 2>&5
15439 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15440 (exit $ac_status); }; }; then
15443 cat >conftest.
$ac_ext <<_ACEOF
15446 cat confdefs.h
>>conftest.
$ac_ext
15447 cat >>conftest.
$ac_ext <<_ACEOF
15448 /* end confdefs.h. */
15449 $ac_includes_default
15453 static int test_array [1 - 2 * !(((long) (sizeof (short))) <= $ac_mid)];
15460 rm -f conftest.
$ac_objext
15461 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15462 (eval $ac_compile) 2>conftest.er1
15464 grep -v '^ *+' conftest.er1
>conftest.err
15466 cat conftest.err
>&5
15467 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15468 (exit $ac_status); } &&
15469 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
15470 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15471 (eval $ac_try) 2>&5
15473 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15474 (exit $ac_status); }; } &&
15475 { ac_try
='test -s conftest.$ac_objext'
15476 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15477 (eval $ac_try) 2>&5
15479 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15480 (exit $ac_status); }; }; then
15481 ac_hi
=$ac_mid; break
15483 echo "$as_me: failed program was:" >&5
15484 sed 's/^/| /' conftest.
$ac_ext >&5
15486 ac_lo
=`expr $ac_mid + 1`
15487 if test $ac_lo -le $ac_mid; then
15491 ac_mid
=`expr 2 '*' $ac_mid + 1`
15493 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
15496 echo "$as_me: failed program was:" >&5
15497 sed 's/^/| /' conftest.
$ac_ext >&5
15499 cat >conftest.
$ac_ext <<_ACEOF
15502 cat confdefs.h
>>conftest.
$ac_ext
15503 cat >>conftest.
$ac_ext <<_ACEOF
15504 /* end confdefs.h. */
15505 $ac_includes_default
15509 static int test_array [1 - 2 * !(((long) (sizeof (short))) < 0)];
15516 rm -f conftest.
$ac_objext
15517 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15518 (eval $ac_compile) 2>conftest.er1
15520 grep -v '^ *+' conftest.er1
>conftest.err
15522 cat conftest.err
>&5
15523 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15524 (exit $ac_status); } &&
15525 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
15526 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15527 (eval $ac_try) 2>&5
15529 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15530 (exit $ac_status); }; } &&
15531 { ac_try
='test -s conftest.$ac_objext'
15532 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15533 (eval $ac_try) 2>&5
15535 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15536 (exit $ac_status); }; }; then
15539 cat >conftest.
$ac_ext <<_ACEOF
15542 cat confdefs.h
>>conftest.
$ac_ext
15543 cat >>conftest.
$ac_ext <<_ACEOF
15544 /* end confdefs.h. */
15545 $ac_includes_default
15549 static int test_array [1 - 2 * !(((long) (sizeof (short))) >= $ac_mid)];
15556 rm -f conftest.
$ac_objext
15557 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15558 (eval $ac_compile) 2>conftest.er1
15560 grep -v '^ *+' conftest.er1
>conftest.err
15562 cat conftest.err
>&5
15563 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15564 (exit $ac_status); } &&
15565 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
15566 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15567 (eval $ac_try) 2>&5
15569 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15570 (exit $ac_status); }; } &&
15571 { ac_try
='test -s conftest.$ac_objext'
15572 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15573 (eval $ac_try) 2>&5
15575 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15576 (exit $ac_status); }; }; then
15577 ac_lo
=$ac_mid; break
15579 echo "$as_me: failed program was:" >&5
15580 sed 's/^/| /' conftest.
$ac_ext >&5
15582 ac_hi
=`expr '(' $ac_mid ')' - 1`
15583 if test $ac_mid -le $ac_hi; then
15587 ac_mid
=`expr 2 '*' $ac_mid`
15589 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
15592 echo "$as_me: failed program was:" >&5
15593 sed 's/^/| /' conftest.
$ac_ext >&5
15597 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
15599 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
15600 # Binary search between lo and hi bounds.
15601 while test "x$ac_lo" != "x$ac_hi"; do
15602 ac_mid
=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
15603 cat >conftest.
$ac_ext <<_ACEOF
15606 cat confdefs.h
>>conftest.
$ac_ext
15607 cat >>conftest.
$ac_ext <<_ACEOF
15608 /* end confdefs.h. */
15609 $ac_includes_default
15613 static int test_array [1 - 2 * !(((long) (sizeof (short))) <= $ac_mid)];
15620 rm -f conftest.
$ac_objext
15621 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15622 (eval $ac_compile) 2>conftest.er1
15624 grep -v '^ *+' conftest.er1
>conftest.err
15626 cat conftest.err
>&5
15627 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15628 (exit $ac_status); } &&
15629 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
15630 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15631 (eval $ac_try) 2>&5
15633 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15634 (exit $ac_status); }; } &&
15635 { ac_try
='test -s conftest.$ac_objext'
15636 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15637 (eval $ac_try) 2>&5
15639 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15640 (exit $ac_status); }; }; then
15643 echo "$as_me: failed program was:" >&5
15644 sed 's/^/| /' conftest.
$ac_ext >&5
15646 ac_lo
=`expr '(' $ac_mid ')' + 1`
15648 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
15651 ?
*) ac_cv_sizeof_short
=$ac_lo;;
15652 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (short), 77
15653 See \`config.log' for more details." >&5
15654 echo "$as_me: error: cannot compute sizeof (short), 77
15655 See \`config.log' for more details." >&2;}
15656 { (exit 1); exit 1; }; } ;;
15659 if test "$cross_compiling" = yes; then
15660 { { echo "$as_me:$LINENO: error: internal error: not reached in cross-compile" >&5
15661 echo "$as_me: error: internal error: not reached in cross-compile" >&2;}
15662 { (exit 1); exit 1; }; }
15664 cat >conftest.
$ac_ext <<_ACEOF
15667 cat confdefs.h
>>conftest.
$ac_ext
15668 cat >>conftest.
$ac_ext <<_ACEOF
15669 /* end confdefs.h. */
15670 $ac_includes_default
15671 long longval () { return (long) (sizeof (short)); }
15672 unsigned long ulongval () { return (long) (sizeof (short)); }
15674 #include <stdlib.h>
15679 FILE *f = fopen ("conftest.val", "w");
15682 if (((long) (sizeof (short))) < 0)
15684 long i = longval ();
15685 if (i != ((long) (sizeof (short))))
15687 fprintf (f, "%ld\n", i);
15691 unsigned long i = ulongval ();
15692 if (i != ((long) (sizeof (short))))
15694 fprintf (f, "%lu\n", i);
15696 exit (ferror (f) || fclose (f) != 0);
15702 rm -f conftest
$ac_exeext
15703 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
15704 (eval $ac_link) 2>&5
15706 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15707 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
15708 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15709 (eval $ac_try) 2>&5
15711 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15712 (exit $ac_status); }; }; then
15713 ac_cv_sizeof_short
=`cat conftest.val`
15715 echo "$as_me: program exited with status $ac_status" >&5
15716 echo "$as_me: failed program was:" >&5
15717 sed 's/^/| /' conftest.
$ac_ext >&5
15719 ( exit $ac_status )
15720 { { echo "$as_me:$LINENO: error: cannot compute sizeof (short), 77
15721 See \`config.log' for more details." >&5
15722 echo "$as_me: error: cannot compute sizeof (short), 77
15723 See \`config.log' for more details." >&2;}
15724 { (exit 1); exit 1; }; }
15726 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
15731 ac_cv_sizeof_short
=0
15734 echo "$as_me:$LINENO: result: $ac_cv_sizeof_short" >&5
15735 echo "${ECHO_T}$ac_cv_sizeof_short" >&6
15736 cat >>confdefs.h
<<_ACEOF
15737 #define SIZEOF_SHORT $ac_cv_sizeof_short
15741 echo "$as_me:$LINENO: checking for int" >&5
15742 echo $ECHO_N "checking for int... $ECHO_C" >&6
15743 if test "${ac_cv_type_int+set}" = set; then
15744 echo $ECHO_N "(cached) $ECHO_C" >&6
15746 cat >conftest.
$ac_ext <<_ACEOF
15749 cat confdefs.h
>>conftest.
$ac_ext
15750 cat >>conftest.
$ac_ext <<_ACEOF
15751 /* end confdefs.h. */
15752 $ac_includes_default
15764 rm -f conftest.
$ac_objext
15765 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15766 (eval $ac_compile) 2>conftest.er1
15768 grep -v '^ *+' conftest.er1
>conftest.err
15770 cat conftest.err
>&5
15771 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15772 (exit $ac_status); } &&
15773 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
15774 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15775 (eval $ac_try) 2>&5
15777 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15778 (exit $ac_status); }; } &&
15779 { ac_try
='test -s conftest.$ac_objext'
15780 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15781 (eval $ac_try) 2>&5
15783 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15784 (exit $ac_status); }; }; then
15787 echo "$as_me: failed program was:" >&5
15788 sed 's/^/| /' conftest.
$ac_ext >&5
15792 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
15794 echo "$as_me:$LINENO: result: $ac_cv_type_int" >&5
15795 echo "${ECHO_T}$ac_cv_type_int" >&6
15797 echo "$as_me:$LINENO: checking size of int" >&5
15798 echo $ECHO_N "checking size of int... $ECHO_C" >&6
15799 if test "${ac_cv_sizeof_int+set}" = set; then
15800 echo $ECHO_N "(cached) $ECHO_C" >&6
15802 if test "$ac_cv_type_int" = yes; then
15803 # The cast to unsigned long works around a bug in the HP C Compiler
15804 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
15805 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
15806 # This bug is HP SR number 8606223364.
15807 if test "$cross_compiling" = yes; then
15808 # Depending upon the size, compute the lo and hi bounds.
15809 cat >conftest.
$ac_ext <<_ACEOF
15812 cat confdefs.h
>>conftest.
$ac_ext
15813 cat >>conftest.
$ac_ext <<_ACEOF
15814 /* end confdefs.h. */
15815 $ac_includes_default
15819 static int test_array [1 - 2 * !(((long) (sizeof (int))) >= 0)];
15826 rm -f conftest.
$ac_objext
15827 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15828 (eval $ac_compile) 2>conftest.er1
15830 grep -v '^ *+' conftest.er1
>conftest.err
15832 cat conftest.err
>&5
15833 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15834 (exit $ac_status); } &&
15835 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
15836 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15837 (eval $ac_try) 2>&5
15839 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15840 (exit $ac_status); }; } &&
15841 { ac_try
='test -s conftest.$ac_objext'
15842 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15843 (eval $ac_try) 2>&5
15845 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15846 (exit $ac_status); }; }; then
15849 cat >conftest.
$ac_ext <<_ACEOF
15852 cat confdefs.h
>>conftest.
$ac_ext
15853 cat >>conftest.
$ac_ext <<_ACEOF
15854 /* end confdefs.h. */
15855 $ac_includes_default
15859 static int test_array [1 - 2 * !(((long) (sizeof (int))) <= $ac_mid)];
15866 rm -f conftest.
$ac_objext
15867 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15868 (eval $ac_compile) 2>conftest.er1
15870 grep -v '^ *+' conftest.er1
>conftest.err
15872 cat conftest.err
>&5
15873 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15874 (exit $ac_status); } &&
15875 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
15876 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15877 (eval $ac_try) 2>&5
15879 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15880 (exit $ac_status); }; } &&
15881 { ac_try
='test -s conftest.$ac_objext'
15882 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15883 (eval $ac_try) 2>&5
15885 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15886 (exit $ac_status); }; }; then
15887 ac_hi
=$ac_mid; break
15889 echo "$as_me: failed program was:" >&5
15890 sed 's/^/| /' conftest.
$ac_ext >&5
15892 ac_lo
=`expr $ac_mid + 1`
15893 if test $ac_lo -le $ac_mid; then
15897 ac_mid
=`expr 2 '*' $ac_mid + 1`
15899 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
15902 echo "$as_me: failed program was:" >&5
15903 sed 's/^/| /' conftest.
$ac_ext >&5
15905 cat >conftest.
$ac_ext <<_ACEOF
15908 cat confdefs.h
>>conftest.
$ac_ext
15909 cat >>conftest.
$ac_ext <<_ACEOF
15910 /* end confdefs.h. */
15911 $ac_includes_default
15915 static int test_array [1 - 2 * !(((long) (sizeof (int))) < 0)];
15922 rm -f conftest.
$ac_objext
15923 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15924 (eval $ac_compile) 2>conftest.er1
15926 grep -v '^ *+' conftest.er1
>conftest.err
15928 cat conftest.err
>&5
15929 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15930 (exit $ac_status); } &&
15931 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
15932 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15933 (eval $ac_try) 2>&5
15935 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15936 (exit $ac_status); }; } &&
15937 { ac_try
='test -s conftest.$ac_objext'
15938 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15939 (eval $ac_try) 2>&5
15941 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15942 (exit $ac_status); }; }; then
15945 cat >conftest.
$ac_ext <<_ACEOF
15948 cat confdefs.h
>>conftest.
$ac_ext
15949 cat >>conftest.
$ac_ext <<_ACEOF
15950 /* end confdefs.h. */
15951 $ac_includes_default
15955 static int test_array [1 - 2 * !(((long) (sizeof (int))) >= $ac_mid)];
15962 rm -f conftest.
$ac_objext
15963 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15964 (eval $ac_compile) 2>conftest.er1
15966 grep -v '^ *+' conftest.er1
>conftest.err
15968 cat conftest.err
>&5
15969 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15970 (exit $ac_status); } &&
15971 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
15972 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15973 (eval $ac_try) 2>&5
15975 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15976 (exit $ac_status); }; } &&
15977 { ac_try
='test -s conftest.$ac_objext'
15978 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15979 (eval $ac_try) 2>&5
15981 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15982 (exit $ac_status); }; }; then
15983 ac_lo
=$ac_mid; break
15985 echo "$as_me: failed program was:" >&5
15986 sed 's/^/| /' conftest.
$ac_ext >&5
15988 ac_hi
=`expr '(' $ac_mid ')' - 1`
15989 if test $ac_mid -le $ac_hi; then
15993 ac_mid
=`expr 2 '*' $ac_mid`
15995 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
15998 echo "$as_me: failed program was:" >&5
15999 sed 's/^/| /' conftest.
$ac_ext >&5
16003 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
16005 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
16006 # Binary search between lo and hi bounds.
16007 while test "x$ac_lo" != "x$ac_hi"; do
16008 ac_mid
=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
16009 cat >conftest.
$ac_ext <<_ACEOF
16012 cat confdefs.h
>>conftest.
$ac_ext
16013 cat >>conftest.
$ac_ext <<_ACEOF
16014 /* end confdefs.h. */
16015 $ac_includes_default
16019 static int test_array [1 - 2 * !(((long) (sizeof (int))) <= $ac_mid)];
16026 rm -f conftest.
$ac_objext
16027 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16028 (eval $ac_compile) 2>conftest.er1
16030 grep -v '^ *+' conftest.er1
>conftest.err
16032 cat conftest.err
>&5
16033 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16034 (exit $ac_status); } &&
16035 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
16036 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16037 (eval $ac_try) 2>&5
16039 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16040 (exit $ac_status); }; } &&
16041 { ac_try
='test -s conftest.$ac_objext'
16042 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16043 (eval $ac_try) 2>&5
16045 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16046 (exit $ac_status); }; }; then
16049 echo "$as_me: failed program was:" >&5
16050 sed 's/^/| /' conftest.
$ac_ext >&5
16052 ac_lo
=`expr '(' $ac_mid ')' + 1`
16054 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
16057 ?
*) ac_cv_sizeof_int
=$ac_lo;;
16058 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (int), 77
16059 See \`config.log' for more details." >&5
16060 echo "$as_me: error: cannot compute sizeof (int), 77
16061 See \`config.log' for more details." >&2;}
16062 { (exit 1); exit 1; }; } ;;
16065 if test "$cross_compiling" = yes; then
16066 { { echo "$as_me:$LINENO: error: internal error: not reached in cross-compile" >&5
16067 echo "$as_me: error: internal error: not reached in cross-compile" >&2;}
16068 { (exit 1); exit 1; }; }
16070 cat >conftest.
$ac_ext <<_ACEOF
16073 cat confdefs.h
>>conftest.
$ac_ext
16074 cat >>conftest.
$ac_ext <<_ACEOF
16075 /* end confdefs.h. */
16076 $ac_includes_default
16077 long longval () { return (long) (sizeof (int)); }
16078 unsigned long ulongval () { return (long) (sizeof (int)); }
16080 #include <stdlib.h>
16085 FILE *f = fopen ("conftest.val", "w");
16088 if (((long) (sizeof (int))) < 0)
16090 long i = longval ();
16091 if (i != ((long) (sizeof (int))))
16093 fprintf (f, "%ld\n", i);
16097 unsigned long i = ulongval ();
16098 if (i != ((long) (sizeof (int))))
16100 fprintf (f, "%lu\n", i);
16102 exit (ferror (f) || fclose (f) != 0);
16108 rm -f conftest
$ac_exeext
16109 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
16110 (eval $ac_link) 2>&5
16112 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16113 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
16114 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16115 (eval $ac_try) 2>&5
16117 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16118 (exit $ac_status); }; }; then
16119 ac_cv_sizeof_int
=`cat conftest.val`
16121 echo "$as_me: program exited with status $ac_status" >&5
16122 echo "$as_me: failed program was:" >&5
16123 sed 's/^/| /' conftest.
$ac_ext >&5
16125 ( exit $ac_status )
16126 { { echo "$as_me:$LINENO: error: cannot compute sizeof (int), 77
16127 See \`config.log' for more details." >&5
16128 echo "$as_me: error: cannot compute sizeof (int), 77
16129 See \`config.log' for more details." >&2;}
16130 { (exit 1); exit 1; }; }
16132 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
16140 echo "$as_me:$LINENO: result: $ac_cv_sizeof_int" >&5
16141 echo "${ECHO_T}$ac_cv_sizeof_int" >&6
16142 cat >>confdefs.h
<<_ACEOF
16143 #define SIZEOF_INT $ac_cv_sizeof_int
16147 echo "$as_me:$LINENO: checking for long" >&5
16148 echo $ECHO_N "checking for long... $ECHO_C" >&6
16149 if test "${ac_cv_type_long+set}" = set; then
16150 echo $ECHO_N "(cached) $ECHO_C" >&6
16152 cat >conftest.
$ac_ext <<_ACEOF
16155 cat confdefs.h
>>conftest.
$ac_ext
16156 cat >>conftest.
$ac_ext <<_ACEOF
16157 /* end confdefs.h. */
16158 $ac_includes_default
16170 rm -f conftest.
$ac_objext
16171 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16172 (eval $ac_compile) 2>conftest.er1
16174 grep -v '^ *+' conftest.er1
>conftest.err
16176 cat conftest.err
>&5
16177 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16178 (exit $ac_status); } &&
16179 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
16180 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16181 (eval $ac_try) 2>&5
16183 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16184 (exit $ac_status); }; } &&
16185 { ac_try
='test -s conftest.$ac_objext'
16186 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16187 (eval $ac_try) 2>&5
16189 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16190 (exit $ac_status); }; }; then
16191 ac_cv_type_long
=yes
16193 echo "$as_me: failed program was:" >&5
16194 sed 's/^/| /' conftest.
$ac_ext >&5
16198 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
16200 echo "$as_me:$LINENO: result: $ac_cv_type_long" >&5
16201 echo "${ECHO_T}$ac_cv_type_long" >&6
16203 echo "$as_me:$LINENO: checking size of long" >&5
16204 echo $ECHO_N "checking size of long... $ECHO_C" >&6
16205 if test "${ac_cv_sizeof_long+set}" = set; then
16206 echo $ECHO_N "(cached) $ECHO_C" >&6
16208 if test "$ac_cv_type_long" = yes; then
16209 # The cast to unsigned long works around a bug in the HP C Compiler
16210 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
16211 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
16212 # This bug is HP SR number 8606223364.
16213 if test "$cross_compiling" = yes; then
16214 # Depending upon the size, compute the lo and hi bounds.
16215 cat >conftest.
$ac_ext <<_ACEOF
16218 cat confdefs.h
>>conftest.
$ac_ext
16219 cat >>conftest.
$ac_ext <<_ACEOF
16220 /* end confdefs.h. */
16221 $ac_includes_default
16225 static int test_array [1 - 2 * !(((long) (sizeof (long))) >= 0)];
16232 rm -f conftest.
$ac_objext
16233 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16234 (eval $ac_compile) 2>conftest.er1
16236 grep -v '^ *+' conftest.er1
>conftest.err
16238 cat conftest.err
>&5
16239 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16240 (exit $ac_status); } &&
16241 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
16242 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16243 (eval $ac_try) 2>&5
16245 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16246 (exit $ac_status); }; } &&
16247 { ac_try
='test -s conftest.$ac_objext'
16248 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16249 (eval $ac_try) 2>&5
16251 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16252 (exit $ac_status); }; }; then
16255 cat >conftest.
$ac_ext <<_ACEOF
16258 cat confdefs.h
>>conftest.
$ac_ext
16259 cat >>conftest.
$ac_ext <<_ACEOF
16260 /* end confdefs.h. */
16261 $ac_includes_default
16265 static int test_array [1 - 2 * !(((long) (sizeof (long))) <= $ac_mid)];
16272 rm -f conftest.
$ac_objext
16273 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16274 (eval $ac_compile) 2>conftest.er1
16276 grep -v '^ *+' conftest.er1
>conftest.err
16278 cat conftest.err
>&5
16279 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16280 (exit $ac_status); } &&
16281 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
16282 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16283 (eval $ac_try) 2>&5
16285 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16286 (exit $ac_status); }; } &&
16287 { ac_try
='test -s conftest.$ac_objext'
16288 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16289 (eval $ac_try) 2>&5
16291 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16292 (exit $ac_status); }; }; then
16293 ac_hi
=$ac_mid; break
16295 echo "$as_me: failed program was:" >&5
16296 sed 's/^/| /' conftest.
$ac_ext >&5
16298 ac_lo
=`expr $ac_mid + 1`
16299 if test $ac_lo -le $ac_mid; then
16303 ac_mid
=`expr 2 '*' $ac_mid + 1`
16305 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
16308 echo "$as_me: failed program was:" >&5
16309 sed 's/^/| /' conftest.
$ac_ext >&5
16311 cat >conftest.
$ac_ext <<_ACEOF
16314 cat confdefs.h
>>conftest.
$ac_ext
16315 cat >>conftest.
$ac_ext <<_ACEOF
16316 /* end confdefs.h. */
16317 $ac_includes_default
16321 static int test_array [1 - 2 * !(((long) (sizeof (long))) < 0)];
16328 rm -f conftest.
$ac_objext
16329 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16330 (eval $ac_compile) 2>conftest.er1
16332 grep -v '^ *+' conftest.er1
>conftest.err
16334 cat conftest.err
>&5
16335 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16336 (exit $ac_status); } &&
16337 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
16338 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16339 (eval $ac_try) 2>&5
16341 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16342 (exit $ac_status); }; } &&
16343 { ac_try
='test -s conftest.$ac_objext'
16344 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16345 (eval $ac_try) 2>&5
16347 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16348 (exit $ac_status); }; }; then
16351 cat >conftest.
$ac_ext <<_ACEOF
16354 cat confdefs.h
>>conftest.
$ac_ext
16355 cat >>conftest.
$ac_ext <<_ACEOF
16356 /* end confdefs.h. */
16357 $ac_includes_default
16361 static int test_array [1 - 2 * !(((long) (sizeof (long))) >= $ac_mid)];
16368 rm -f conftest.
$ac_objext
16369 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16370 (eval $ac_compile) 2>conftest.er1
16372 grep -v '^ *+' conftest.er1
>conftest.err
16374 cat conftest.err
>&5
16375 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16376 (exit $ac_status); } &&
16377 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
16378 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16379 (eval $ac_try) 2>&5
16381 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16382 (exit $ac_status); }; } &&
16383 { ac_try
='test -s conftest.$ac_objext'
16384 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16385 (eval $ac_try) 2>&5
16387 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16388 (exit $ac_status); }; }; then
16389 ac_lo
=$ac_mid; break
16391 echo "$as_me: failed program was:" >&5
16392 sed 's/^/| /' conftest.
$ac_ext >&5
16394 ac_hi
=`expr '(' $ac_mid ')' - 1`
16395 if test $ac_mid -le $ac_hi; then
16399 ac_mid
=`expr 2 '*' $ac_mid`
16401 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
16404 echo "$as_me: failed program was:" >&5
16405 sed 's/^/| /' conftest.
$ac_ext >&5
16409 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
16411 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
16412 # Binary search between lo and hi bounds.
16413 while test "x$ac_lo" != "x$ac_hi"; do
16414 ac_mid
=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
16415 cat >conftest.
$ac_ext <<_ACEOF
16418 cat confdefs.h
>>conftest.
$ac_ext
16419 cat >>conftest.
$ac_ext <<_ACEOF
16420 /* end confdefs.h. */
16421 $ac_includes_default
16425 static int test_array [1 - 2 * !(((long) (sizeof (long))) <= $ac_mid)];
16432 rm -f conftest.
$ac_objext
16433 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16434 (eval $ac_compile) 2>conftest.er1
16436 grep -v '^ *+' conftest.er1
>conftest.err
16438 cat conftest.err
>&5
16439 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16440 (exit $ac_status); } &&
16441 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
16442 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16443 (eval $ac_try) 2>&5
16445 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16446 (exit $ac_status); }; } &&
16447 { ac_try
='test -s conftest.$ac_objext'
16448 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16449 (eval $ac_try) 2>&5
16451 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16452 (exit $ac_status); }; }; then
16455 echo "$as_me: failed program was:" >&5
16456 sed 's/^/| /' conftest.
$ac_ext >&5
16458 ac_lo
=`expr '(' $ac_mid ')' + 1`
16460 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
16463 ?
*) ac_cv_sizeof_long
=$ac_lo;;
16464 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (long), 77
16465 See \`config.log' for more details." >&5
16466 echo "$as_me: error: cannot compute sizeof (long), 77
16467 See \`config.log' for more details." >&2;}
16468 { (exit 1); exit 1; }; } ;;
16471 if test "$cross_compiling" = yes; then
16472 { { echo "$as_me:$LINENO: error: internal error: not reached in cross-compile" >&5
16473 echo "$as_me: error: internal error: not reached in cross-compile" >&2;}
16474 { (exit 1); exit 1; }; }
16476 cat >conftest.
$ac_ext <<_ACEOF
16479 cat confdefs.h
>>conftest.
$ac_ext
16480 cat >>conftest.
$ac_ext <<_ACEOF
16481 /* end confdefs.h. */
16482 $ac_includes_default
16483 long longval () { return (long) (sizeof (long)); }
16484 unsigned long ulongval () { return (long) (sizeof (long)); }
16486 #include <stdlib.h>
16491 FILE *f = fopen ("conftest.val", "w");
16494 if (((long) (sizeof (long))) < 0)
16496 long i = longval ();
16497 if (i != ((long) (sizeof (long))))
16499 fprintf (f, "%ld\n", i);
16503 unsigned long i = ulongval ();
16504 if (i != ((long) (sizeof (long))))
16506 fprintf (f, "%lu\n", i);
16508 exit (ferror (f) || fclose (f) != 0);
16514 rm -f conftest
$ac_exeext
16515 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
16516 (eval $ac_link) 2>&5
16518 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16519 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
16520 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16521 (eval $ac_try) 2>&5
16523 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16524 (exit $ac_status); }; }; then
16525 ac_cv_sizeof_long
=`cat conftest.val`
16527 echo "$as_me: program exited with status $ac_status" >&5
16528 echo "$as_me: failed program was:" >&5
16529 sed 's/^/| /' conftest.
$ac_ext >&5
16531 ( exit $ac_status )
16532 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long), 77
16533 See \`config.log' for more details." >&5
16534 echo "$as_me: error: cannot compute sizeof (long), 77
16535 See \`config.log' for more details." >&2;}
16536 { (exit 1); exit 1; }; }
16538 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
16543 ac_cv_sizeof_long
=0
16546 echo "$as_me:$LINENO: result: $ac_cv_sizeof_long" >&5
16547 echo "${ECHO_T}$ac_cv_sizeof_long" >&6
16548 cat >>confdefs.h
<<_ACEOF
16549 #define SIZEOF_LONG $ac_cv_sizeof_long
16553 echo "$as_me:$LINENO: checking for void*" >&5
16554 echo $ECHO_N "checking for void*... $ECHO_C" >&6
16555 if test "${ac_cv_type_voidp+set}" = set; then
16556 echo $ECHO_N "(cached) $ECHO_C" >&6
16558 cat >conftest.
$ac_ext <<_ACEOF
16561 cat confdefs.h
>>conftest.
$ac_ext
16562 cat >>conftest.
$ac_ext <<_ACEOF
16563 /* end confdefs.h. */
16564 $ac_includes_default
16570 if (sizeof (void*))
16576 rm -f conftest.
$ac_objext
16577 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16578 (eval $ac_compile) 2>conftest.er1
16580 grep -v '^ *+' conftest.er1
>conftest.err
16582 cat conftest.err
>&5
16583 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16584 (exit $ac_status); } &&
16585 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
16586 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16587 (eval $ac_try) 2>&5
16589 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16590 (exit $ac_status); }; } &&
16591 { ac_try
='test -s conftest.$ac_objext'
16592 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16593 (eval $ac_try) 2>&5
16595 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16596 (exit $ac_status); }; }; then
16597 ac_cv_type_voidp
=yes
16599 echo "$as_me: failed program was:" >&5
16600 sed 's/^/| /' conftest.
$ac_ext >&5
16602 ac_cv_type_voidp
=no
16604 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
16606 echo "$as_me:$LINENO: result: $ac_cv_type_voidp" >&5
16607 echo "${ECHO_T}$ac_cv_type_voidp" >&6
16609 echo "$as_me:$LINENO: checking size of void*" >&5
16610 echo $ECHO_N "checking size of void*... $ECHO_C" >&6
16611 if test "${ac_cv_sizeof_voidp+set}" = set; then
16612 echo $ECHO_N "(cached) $ECHO_C" >&6
16614 if test "$ac_cv_type_voidp" = yes; then
16615 # The cast to unsigned long works around a bug in the HP C Compiler
16616 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
16617 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
16618 # This bug is HP SR number 8606223364.
16619 if test "$cross_compiling" = yes; then
16620 # Depending upon the size, compute the lo and hi bounds.
16621 cat >conftest.
$ac_ext <<_ACEOF
16624 cat confdefs.h
>>conftest.
$ac_ext
16625 cat >>conftest.
$ac_ext <<_ACEOF
16626 /* end confdefs.h. */
16627 $ac_includes_default
16631 static int test_array [1 - 2 * !(((long) (sizeof (void*))) >= 0)];
16638 rm -f conftest.
$ac_objext
16639 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16640 (eval $ac_compile) 2>conftest.er1
16642 grep -v '^ *+' conftest.er1
>conftest.err
16644 cat conftest.err
>&5
16645 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16646 (exit $ac_status); } &&
16647 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
16648 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16649 (eval $ac_try) 2>&5
16651 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16652 (exit $ac_status); }; } &&
16653 { ac_try
='test -s conftest.$ac_objext'
16654 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16655 (eval $ac_try) 2>&5
16657 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16658 (exit $ac_status); }; }; then
16661 cat >conftest.
$ac_ext <<_ACEOF
16664 cat confdefs.h
>>conftest.
$ac_ext
16665 cat >>conftest.
$ac_ext <<_ACEOF
16666 /* end confdefs.h. */
16667 $ac_includes_default
16671 static int test_array [1 - 2 * !(((long) (sizeof (void*))) <= $ac_mid)];
16678 rm -f conftest.
$ac_objext
16679 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16680 (eval $ac_compile) 2>conftest.er1
16682 grep -v '^ *+' conftest.er1
>conftest.err
16684 cat conftest.err
>&5
16685 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16686 (exit $ac_status); } &&
16687 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
16688 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16689 (eval $ac_try) 2>&5
16691 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16692 (exit $ac_status); }; } &&
16693 { ac_try
='test -s conftest.$ac_objext'
16694 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16695 (eval $ac_try) 2>&5
16697 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16698 (exit $ac_status); }; }; then
16699 ac_hi
=$ac_mid; break
16701 echo "$as_me: failed program was:" >&5
16702 sed 's/^/| /' conftest.
$ac_ext >&5
16704 ac_lo
=`expr $ac_mid + 1`
16705 if test $ac_lo -le $ac_mid; then
16709 ac_mid
=`expr 2 '*' $ac_mid + 1`
16711 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
16714 echo "$as_me: failed program was:" >&5
16715 sed 's/^/| /' conftest.
$ac_ext >&5
16717 cat >conftest.
$ac_ext <<_ACEOF
16720 cat confdefs.h
>>conftest.
$ac_ext
16721 cat >>conftest.
$ac_ext <<_ACEOF
16722 /* end confdefs.h. */
16723 $ac_includes_default
16727 static int test_array [1 - 2 * !(((long) (sizeof (void*))) < 0)];
16734 rm -f conftest.
$ac_objext
16735 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16736 (eval $ac_compile) 2>conftest.er1
16738 grep -v '^ *+' conftest.er1
>conftest.err
16740 cat conftest.err
>&5
16741 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16742 (exit $ac_status); } &&
16743 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
16744 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16745 (eval $ac_try) 2>&5
16747 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16748 (exit $ac_status); }; } &&
16749 { ac_try
='test -s conftest.$ac_objext'
16750 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16751 (eval $ac_try) 2>&5
16753 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16754 (exit $ac_status); }; }; then
16757 cat >conftest.
$ac_ext <<_ACEOF
16760 cat confdefs.h
>>conftest.
$ac_ext
16761 cat >>conftest.
$ac_ext <<_ACEOF
16762 /* end confdefs.h. */
16763 $ac_includes_default
16767 static int test_array [1 - 2 * !(((long) (sizeof (void*))) >= $ac_mid)];
16774 rm -f conftest.
$ac_objext
16775 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16776 (eval $ac_compile) 2>conftest.er1
16778 grep -v '^ *+' conftest.er1
>conftest.err
16780 cat conftest.err
>&5
16781 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16782 (exit $ac_status); } &&
16783 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
16784 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16785 (eval $ac_try) 2>&5
16787 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16788 (exit $ac_status); }; } &&
16789 { ac_try
='test -s conftest.$ac_objext'
16790 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16791 (eval $ac_try) 2>&5
16793 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16794 (exit $ac_status); }; }; then
16795 ac_lo
=$ac_mid; break
16797 echo "$as_me: failed program was:" >&5
16798 sed 's/^/| /' conftest.
$ac_ext >&5
16800 ac_hi
=`expr '(' $ac_mid ')' - 1`
16801 if test $ac_mid -le $ac_hi; then
16805 ac_mid
=`expr 2 '*' $ac_mid`
16807 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
16810 echo "$as_me: failed program was:" >&5
16811 sed 's/^/| /' conftest.
$ac_ext >&5
16815 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
16817 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
16818 # Binary search between lo and hi bounds.
16819 while test "x$ac_lo" != "x$ac_hi"; do
16820 ac_mid
=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
16821 cat >conftest.
$ac_ext <<_ACEOF
16824 cat confdefs.h
>>conftest.
$ac_ext
16825 cat >>conftest.
$ac_ext <<_ACEOF
16826 /* end confdefs.h. */
16827 $ac_includes_default
16831 static int test_array [1 - 2 * !(((long) (sizeof (void*))) <= $ac_mid)];
16838 rm -f conftest.
$ac_objext
16839 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16840 (eval $ac_compile) 2>conftest.er1
16842 grep -v '^ *+' conftest.er1
>conftest.err
16844 cat conftest.err
>&5
16845 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16846 (exit $ac_status); } &&
16847 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
16848 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16849 (eval $ac_try) 2>&5
16851 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16852 (exit $ac_status); }; } &&
16853 { ac_try
='test -s conftest.$ac_objext'
16854 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16855 (eval $ac_try) 2>&5
16857 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16858 (exit $ac_status); }; }; then
16861 echo "$as_me: failed program was:" >&5
16862 sed 's/^/| /' conftest.
$ac_ext >&5
16864 ac_lo
=`expr '(' $ac_mid ')' + 1`
16866 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
16869 ?
*) ac_cv_sizeof_voidp
=$ac_lo;;
16870 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (void*), 77
16871 See \`config.log' for more details." >&5
16872 echo "$as_me: error: cannot compute sizeof (void*), 77
16873 See \`config.log' for more details." >&2;}
16874 { (exit 1); exit 1; }; } ;;
16877 if test "$cross_compiling" = yes; then
16878 { { echo "$as_me:$LINENO: error: internal error: not reached in cross-compile" >&5
16879 echo "$as_me: error: internal error: not reached in cross-compile" >&2;}
16880 { (exit 1); exit 1; }; }
16882 cat >conftest.
$ac_ext <<_ACEOF
16885 cat confdefs.h
>>conftest.
$ac_ext
16886 cat >>conftest.
$ac_ext <<_ACEOF
16887 /* end confdefs.h. */
16888 $ac_includes_default
16889 long longval () { return (long) (sizeof (void*)); }
16890 unsigned long ulongval () { return (long) (sizeof (void*)); }
16892 #include <stdlib.h>
16897 FILE *f = fopen ("conftest.val", "w");
16900 if (((long) (sizeof (void*))) < 0)
16902 long i = longval ();
16903 if (i != ((long) (sizeof (void*))))
16905 fprintf (f, "%ld\n", i);
16909 unsigned long i = ulongval ();
16910 if (i != ((long) (sizeof (void*))))
16912 fprintf (f, "%lu\n", i);
16914 exit (ferror (f) || fclose (f) != 0);
16920 rm -f conftest
$ac_exeext
16921 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
16922 (eval $ac_link) 2>&5
16924 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16925 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
16926 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16927 (eval $ac_try) 2>&5
16929 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16930 (exit $ac_status); }; }; then
16931 ac_cv_sizeof_voidp
=`cat conftest.val`
16933 echo "$as_me: program exited with status $ac_status" >&5
16934 echo "$as_me: failed program was:" >&5
16935 sed 's/^/| /' conftest.
$ac_ext >&5
16937 ( exit $ac_status )
16938 { { echo "$as_me:$LINENO: error: cannot compute sizeof (void*), 77
16939 See \`config.log' for more details." >&5
16940 echo "$as_me: error: cannot compute sizeof (void*), 77
16941 See \`config.log' for more details." >&2;}
16942 { (exit 1); exit 1; }; }
16944 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
16949 ac_cv_sizeof_voidp
=0
16952 echo "$as_me:$LINENO: result: $ac_cv_sizeof_voidp" >&5
16953 echo "${ECHO_T}$ac_cv_sizeof_voidp" >&6
16954 cat >>confdefs.h
<<_ACEOF
16955 #define SIZEOF_VOIDP $ac_cv_sizeof_voidp
16959 ac_cv_char_data_model
=""
16960 ac_cv_char_data_model
="$ac_cv_char_data_model$ac_cv_sizeof_char"
16961 ac_cv_char_data_model
="$ac_cv_char_data_model$ac_cv_sizeof_short"
16962 ac_cv_char_data_model
="$ac_cv_char_data_model$ac_cv_sizeof_int"
16963 ac_cv_long_data_model
=""
16964 ac_cv_long_data_model
="$ac_cv_long_data_model$ac_cv_sizeof_int"
16965 ac_cv_long_data_model
="$ac_cv_long_data_model$ac_cv_sizeof_long"
16966 ac_cv_long_data_model
="$ac_cv_long_data_model$ac_cv_sizeof_voidp"
16967 echo "$as_me:$LINENO: checking data model" >&5
16968 echo $ECHO_N "checking data model... $ECHO_C" >&6
16969 case "$ac_cv_char_data_model/$ac_cv_long_data_model" in
16970 122/242) ac_cv_data_model
="IP16" ; n
="standard 16bit machine" ;;
16971 122/244) ac_cv_data_model
="LP32" ; n
="standard 32bit machine" ;;
16972 122/*) ac_cv_data_model
="i16" ; n
="unusual int16 model" ;;
16973 124/444) ac_cv_data_model
="ILP32" ; n
="standard 32bit unixish" ;;
16974 124/488) ac_cv_data_model
="LP64" ; n
="standard 64bit unixish" ;;
16975 124/448) ac_cv_data_model
="LLP64" ; n
="unusual 64bit unixish" ;;
16976 124/*) ac_cv_data_model
="i32" ; n
="unusual int32 model" ;;
16977 128/888) ac_cv_data_model
="ILP64" ; n
="unusual 64bit numeric" ;;
16978 128/*) ac_cv_data_model
="i64" ; n
="unusual int64 model" ;;
16979 222/*2) ac_cv_data_model
="DSP16" ; n
="strict 16bit dsptype" ;;
16980 333/*3) ac_cv_data_model
="DSP24" ; n
="strict 24bit dsptype" ;;
16981 444/*4) ac_cv_data_model
="DSP32" ; n
="strict 32bit dsptype" ;;
16982 666/*6) ac_cv_data_model
="DSP48" ; n
="strict 48bit dsptype" ;;
16983 888/*8) ac_cv_data_model
="DSP64" ; n
="strict 64bit dsptype" ;;
16984 222/*|
333/*|
444/*|
666/*|
888/*) :
16985 ac_cv_data_model
="iDSP" ; n
="unusual dsptype" ;;
16986 *) ac_cv_data_model
="none" ; n
="very unusual model" ;;
16988 echo "$as_me:$LINENO: result: $ac_cv_data_model ($ac_cv_long_data_model, $n)" >&5
16989 echo "${ECHO_T}$ac_cv_data_model ($ac_cv_long_data_model, $n)" >&6
16993 if test "_$ac_cv_header_stdint_x" != "_" ; then
16994 ac_cv_header_stdint
="$ac_cv_header_stdint_x"
16995 elif test "_$ac_cv_header_stdint_o" != "_" ; then
16996 ac_cv_header_stdint
="$ac_cv_header_stdint_o"
16997 elif test "_$ac_cv_header_stdint_u" != "_" ; then
16998 ac_cv_header_stdint
="$ac_cv_header_stdint_u"
17000 ac_cv_header_stdint
="stddef.h"
17003 echo "$as_me:$LINENO: checking for extra inttypes in chosen header" >&5
17004 echo $ECHO_N "checking for extra inttypes in chosen header... $ECHO_C" >&6
17005 echo "$as_me:$LINENO: result: ($ac_cv_header_stdint)" >&5
17006 echo "${ECHO_T}($ac_cv_header_stdint)" >&6
17007 unset ac_cv_type_int_least32_t
17008 unset ac_cv_type_int_fast32_t
17009 echo "$as_me:$LINENO: checking for int_least32_t" >&5
17010 echo $ECHO_N "checking for int_least32_t... $ECHO_C" >&6
17011 if test "${ac_cv_type_int_least32_t+set}" = set; then
17012 echo $ECHO_N "(cached) $ECHO_C" >&6
17014 cat >conftest.
$ac_ext <<_ACEOF
17017 cat confdefs.h
>>conftest.
$ac_ext
17018 cat >>conftest.
$ac_ext <<_ACEOF
17019 /* end confdefs.h. */
17020 #include <$ac_cv_header_stdint>
17025 if ((int_least32_t *) 0)
17027 if (sizeof (int_least32_t))
17033 rm -f conftest.
$ac_objext
17034 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17035 (eval $ac_compile) 2>conftest.er1
17037 grep -v '^ *+' conftest.er1
>conftest.err
17039 cat conftest.err
>&5
17040 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17041 (exit $ac_status); } &&
17042 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
17043 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17044 (eval $ac_try) 2>&5
17046 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17047 (exit $ac_status); }; } &&
17048 { ac_try
='test -s conftest.$ac_objext'
17049 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17050 (eval $ac_try) 2>&5
17052 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17053 (exit $ac_status); }; }; then
17054 ac_cv_type_int_least32_t
=yes
17056 echo "$as_me: failed program was:" >&5
17057 sed 's/^/| /' conftest.
$ac_ext >&5
17059 ac_cv_type_int_least32_t
=no
17061 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
17063 echo "$as_me:$LINENO: result: $ac_cv_type_int_least32_t" >&5
17064 echo "${ECHO_T}$ac_cv_type_int_least32_t" >&6
17066 echo "$as_me:$LINENO: checking for int_fast32_t" >&5
17067 echo $ECHO_N "checking for int_fast32_t... $ECHO_C" >&6
17068 if test "${ac_cv_type_int_fast32_t+set}" = set; then
17069 echo $ECHO_N "(cached) $ECHO_C" >&6
17071 cat >conftest.
$ac_ext <<_ACEOF
17074 cat confdefs.h
>>conftest.
$ac_ext
17075 cat >>conftest.
$ac_ext <<_ACEOF
17076 /* end confdefs.h. */
17077 #include<$ac_cv_header_stdint>
17082 if ((int_fast32_t *) 0)
17084 if (sizeof (int_fast32_t))
17090 rm -f conftest.
$ac_objext
17091 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17092 (eval $ac_compile) 2>conftest.er1
17094 grep -v '^ *+' conftest.er1
>conftest.err
17096 cat conftest.err
>&5
17097 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17098 (exit $ac_status); } &&
17099 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
17100 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17101 (eval $ac_try) 2>&5
17103 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17104 (exit $ac_status); }; } &&
17105 { ac_try
='test -s conftest.$ac_objext'
17106 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17107 (eval $ac_try) 2>&5
17109 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17110 (exit $ac_status); }; }; then
17111 ac_cv_type_int_fast32_t
=yes
17113 echo "$as_me: failed program was:" >&5
17114 sed 's/^/| /' conftest.
$ac_ext >&5
17116 ac_cv_type_int_fast32_t
=no
17118 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
17120 echo "$as_me:$LINENO: result: $ac_cv_type_int_fast32_t" >&5
17121 echo "${ECHO_T}$ac_cv_type_int_fast32_t" >&6
17123 echo "$as_me:$LINENO: checking for intmax_t" >&5
17124 echo $ECHO_N "checking for intmax_t... $ECHO_C" >&6
17125 if test "${ac_cv_type_intmax_t+set}" = set; then
17126 echo $ECHO_N "(cached) $ECHO_C" >&6
17128 cat >conftest.
$ac_ext <<_ACEOF
17131 cat confdefs.h
>>conftest.
$ac_ext
17132 cat >>conftest.
$ac_ext <<_ACEOF
17133 /* end confdefs.h. */
17134 #include <$ac_cv_header_stdint>
17139 if ((intmax_t *) 0)
17141 if (sizeof (intmax_t))
17147 rm -f conftest.
$ac_objext
17148 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17149 (eval $ac_compile) 2>conftest.er1
17151 grep -v '^ *+' conftest.er1
>conftest.err
17153 cat conftest.err
>&5
17154 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17155 (exit $ac_status); } &&
17156 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
17157 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17158 (eval $ac_try) 2>&5
17160 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17161 (exit $ac_status); }; } &&
17162 { ac_try
='test -s conftest.$ac_objext'
17163 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17164 (eval $ac_try) 2>&5
17166 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17167 (exit $ac_status); }; }; then
17168 ac_cv_type_intmax_t
=yes
17170 echo "$as_me: failed program was:" >&5
17171 sed 's/^/| /' conftest.
$ac_ext >&5
17173 ac_cv_type_intmax_t
=no
17175 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
17177 echo "$as_me:$LINENO: result: $ac_cv_type_intmax_t" >&5
17178 echo "${ECHO_T}$ac_cv_type_intmax_t" >&6
17181 fi # shortcircut to system "stdint.h"
17182 # ------------------ PREPARE VARIABLES ------------------------------
17183 if test "$GCC" = "yes" ; then
17184 ac_cv_stdint_message
="using gnu compiler "`$CC --version | head -1`
17186 ac_cv_stdint_message
="using $CC"
17189 echo "$as_me:$LINENO: result: make use of $ac_cv_header_stdint in $ac_stdint_h $ac_cv_stdint_result" >&5
17190 echo "${ECHO_T}make use of $ac_cv_header_stdint in $ac_stdint_h $ac_cv_stdint_result" >&6
17192 # ----------------- DONE inttypes.h checks START header -------------
17193 ac_config_commands
="$ac_config_commands $ac_stdint_h"
17197 ac_config_files
="$ac_config_files Makefile doc/Makefile doc/api/Makefile external/Makefile external/sax/Makefile external/w3c_dom/Makefile gnu/classpath/Configuration.java include/Makefile native/Makefile native/fdlibm/Makefile native/jawt/Makefile native/jni/Makefile native/jni/classpath/Makefile native/jni/java-io/Makefile native/jni/java-lang/Makefile native/jni/java-net/Makefile native/jni/java-nio/Makefile native/jni/java-util/Makefile native/jni/gtk-peer/Makefile native/jni/qt-peer/Makefile native/jni/xmlj/Makefile native/jni/midi-alsa/Makefile native/jni/midi-dssi/Makefile native/target/Makefile native/target/Linux/Makefile native/target/generic/Makefile resource/Makefile scripts/Makefile scripts/classpath.spec lib/Makefile lib/gen-classlist.sh lib/copy-vmresources.sh examples/Makefile examples/Makefile.jawt"
17199 ac_config_commands
="$ac_config_commands gen-classlist"
17201 ac_config_commands
="$ac_config_commands copy-vmresources"
17203 cat >confcache
<<\_ACEOF
17204 # This file is a shell script that caches the results of configure
17205 # tests run on this system so they can be shared between configure
17206 # scripts and configure runs, see configure's option --config-cache.
17207 # It is not useful on other systems. If it contains results you don't
17208 # want to keep, you may remove or edit it.
17210 # config.status only pays attention to the cache file if you give it
17211 # the --recheck option to rerun configure.
17213 # `ac_cv_env_foo' variables (set or unset) will be overridden when
17214 # loading this file, other *unset* `ac_cv_foo' will be assigned the
17215 # following values.
17219 # The following way of writing the cache mishandles newlines in values,
17220 # but we know of no workaround that is simple, portable, and efficient.
17221 # So, don't put newlines in cache variables' values.
17222 # Ultrix sh set writes to stderr and can't be redirected directly,
17223 # and sets the high bit in the cache file unless we assign to the vars.
17226 case `(ac_space=' '; set | grep ac_space) 2>&1` in
17228 # `set' does not quote correctly, so add quotes (double-quote
17229 # substitution turns \\\\ into \\, and sed turns \\ into \).
17232 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
17235 # `set' quotes correctly as required by POSIX, so do not add quotes.
17237 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
17244 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
17246 /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
17248 if diff $cache_file confcache
>/dev
/null
2>&1; then :; else
17249 if test -w $cache_file; then
17250 test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
17251 cat confcache
>$cache_file
17253 echo "not updating unwritable cache $cache_file"
17258 test "x$prefix" = xNONE
&& prefix
=$ac_default_prefix
17259 # Let make expand exec_prefix.
17260 test "x$exec_prefix" = xNONE
&& exec_prefix
='${prefix}'
17262 # VPATH may cause trouble with some makes, so we remove $(srcdir),
17263 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
17264 # trailing colons and then remove the whole line if VPATH becomes empty
17265 # (actually we leave an empty line to preserve line numbers).
17266 if test "x$srcdir" = x.
; then
17267 ac_vpsub
='/^[ ]*VPATH[ ]*=/{
17268 s/:*\$(srcdir):*/:/;
17269 s/:*\${srcdir}:*/:/;
17271 s/^\([^=]*=[ ]*\):*/\1/;
17277 DEFS
=-DHAVE_CONFIG_H
17281 for ac_i
in : $LIBOBJS; do test "x$ac_i" = x
: && continue
17282 # 1. Remove the extension, and $U if already installed.
17283 ac_i
=`echo "$ac_i" |
17284 sed 's/\$U\././;s/\.o$//;s/\.obj$//'`
17286 ac_libobjs
="$ac_libobjs $ac_i\$U.$ac_objext"
17287 ac_ltlibobjs
="$ac_ltlibobjs $ac_i"'$U.lo'
17289 LIBOBJS
=$ac_libobjs
17291 LTLIBOBJS
=$ac_ltlibobjs
17294 if test -z "${CREATE_JNI_LIBRARIES_TRUE}" && test -z "${CREATE_JNI_LIBRARIES_FALSE}"; then
17295 { { echo "$as_me:$LINENO: error: conditional \"CREATE_JNI_LIBRARIES\" was never defined.
17296 Usually this means the macro was only invoked conditionally." >&5
17297 echo "$as_me: error: conditional \"CREATE_JNI_LIBRARIES\" was never defined.
17298 Usually this means the macro was only invoked conditionally." >&2;}
17299 { (exit 1); exit 1; }; }
17301 if test -z "${CREATE_CORE_JNI_LIBRARIES_TRUE}" && test -z "${CREATE_CORE_JNI_LIBRARIES_FALSE}"; then
17302 { { echo "$as_me:$LINENO: error: conditional \"CREATE_CORE_JNI_LIBRARIES\" was never defined.
17303 Usually this means the macro was only invoked conditionally." >&5
17304 echo "$as_me: error: conditional \"CREATE_CORE_JNI_LIBRARIES\" was never defined.
17305 Usually this means the macro was only invoked conditionally." >&2;}
17306 { (exit 1); exit 1; }; }
17308 if test -z "${CREATE_XMLJ_LIBRARY_TRUE}" && test -z "${CREATE_XMLJ_LIBRARY_FALSE}"; then
17309 { { echo "$as_me:$LINENO: error: conditional \"CREATE_XMLJ_LIBRARY\" was never defined.
17310 Usually this means the macro was only invoked conditionally." >&5
17311 echo "$as_me: error: conditional \"CREATE_XMLJ_LIBRARY\" was never defined.
17312 Usually this means the macro was only invoked conditionally." >&2;}
17313 { (exit 1); exit 1; }; }
17315 if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
17316 { { echo "$as_me:$LINENO: error: conditional \"AMDEP\" was never defined.
17317 Usually this means the macro was only invoked conditionally." >&5
17318 echo "$as_me: error: conditional \"AMDEP\" was never defined.
17319 Usually this means the macro was only invoked conditionally." >&2;}
17320 { (exit 1); exit 1; }; }
17322 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
17323 { { echo "$as_me:$LINENO: error: conditional \"am__fastdepCC\" was never defined.
17324 Usually this means the macro was only invoked conditionally." >&5
17325 echo "$as_me: error: conditional \"am__fastdepCC\" was never defined.
17326 Usually this means the macro was only invoked conditionally." >&2;}
17327 { (exit 1); exit 1; }; }
17329 if test -z "${CREATE_ALSA_LIBRARIES_TRUE}" && test -z "${CREATE_ALSA_LIBRARIES_FALSE}"; then
17330 { { echo "$as_me:$LINENO: error: conditional \"CREATE_ALSA_LIBRARIES\" was never defined.
17331 Usually this means the macro was only invoked conditionally." >&5
17332 echo "$as_me: error: conditional \"CREATE_ALSA_LIBRARIES\" was never defined.
17333 Usually this means the macro was only invoked conditionally." >&2;}
17334 { (exit 1); exit 1; }; }
17336 if test -z "${CREATE_DSSI_LIBRARIES_TRUE}" && test -z "${CREATE_DSSI_LIBRARIES_FALSE}"; then
17337 { { echo "$as_me:$LINENO: error: conditional \"CREATE_DSSI_LIBRARIES\" was never defined.
17338 Usually this means the macro was only invoked conditionally." >&5
17339 echo "$as_me: error: conditional \"CREATE_DSSI_LIBRARIES\" was never defined.
17340 Usually this means the macro was only invoked conditionally." >&2;}
17341 { (exit 1); exit 1; }; }
17343 if test -z "${CREATE_GTK_PEER_LIBRARIES_TRUE}" && test -z "${CREATE_GTK_PEER_LIBRARIES_FALSE}"; then
17344 { { echo "$as_me:$LINENO: error: conditional \"CREATE_GTK_PEER_LIBRARIES\" was never defined.
17345 Usually this means the macro was only invoked conditionally." >&5
17346 echo "$as_me: error: conditional \"CREATE_GTK_PEER_LIBRARIES\" was never defined.
17347 Usually this means the macro was only invoked conditionally." >&2;}
17348 { (exit 1); exit 1; }; }
17350 if test -z "${GTK_CAIRO_TRUE}" && test -z "${GTK_CAIRO_FALSE}"; then
17351 { { echo "$as_me:$LINENO: error: conditional \"GTK_CAIRO\" was never defined.
17352 Usually this means the macro was only invoked conditionally." >&5
17353 echo "$as_me: error: conditional \"GTK_CAIRO\" was never defined.
17354 Usually this means the macro was only invoked conditionally." >&2;}
17355 { (exit 1); exit 1; }; }
17357 if test -z "${CREATE_QT_PEER_LIBRARIES_TRUE}" && test -z "${CREATE_QT_PEER_LIBRARIES_FALSE}"; then
17358 { { echo "$as_me:$LINENO: error: conditional \"CREATE_QT_PEER_LIBRARIES\" was never defined.
17359 Usually this means the macro was only invoked conditionally." >&5
17360 echo "$as_me: error: conditional \"CREATE_QT_PEER_LIBRARIES\" was never defined.
17361 Usually this means the macro was only invoked conditionally." >&2;}
17362 { (exit 1); exit 1; }; }
17364 if test -z "${CREATE_JNI_HEADERS_TRUE}" && test -z "${CREATE_JNI_HEADERS_FALSE}"; then
17365 { { echo "$as_me:$LINENO: error: conditional \"CREATE_JNI_HEADERS\" was never defined.
17366 Usually this means the macro was only invoked conditionally." >&5
17367 echo "$as_me: error: conditional \"CREATE_JNI_HEADERS\" was never defined.
17368 Usually this means the macro was only invoked conditionally." >&2;}
17369 { (exit 1); exit 1; }; }
17371 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
17372 { { echo "$as_me:$LINENO: error: conditional \"am__fastdepCC\" was never defined.
17373 Usually this means the macro was only invoked conditionally." >&5
17374 echo "$as_me: error: conditional \"am__fastdepCC\" was never defined.
17375 Usually this means the macro was only invoked conditionally." >&2;}
17376 { (exit 1); exit 1; }; }
17378 if test -z "${am__fastdepCXX_TRUE}" && test -z "${am__fastdepCXX_FALSE}"; then
17379 { { echo "$as_me:$LINENO: error: conditional \"am__fastdepCXX\" was never defined.
17380 Usually this means the macro was only invoked conditionally." >&5
17381 echo "$as_me: error: conditional \"am__fastdepCXX\" was never defined.
17382 Usually this means the macro was only invoked conditionally." >&2;}
17383 { (exit 1); exit 1; }; }
17385 if test -z "${USER_SPECIFIED_JAVAH_TRUE}" && test -z "${USER_SPECIFIED_JAVAH_FALSE}"; then
17386 { { echo "$as_me:$LINENO: error: conditional \"USER_SPECIFIED_JAVAH\" was never defined.
17387 Usually this means the macro was only invoked conditionally." >&5
17388 echo "$as_me: error: conditional \"USER_SPECIFIED_JAVAH\" was never defined.
17389 Usually this means the macro was only invoked conditionally." >&2;}
17390 { (exit 1); exit 1; }; }
17392 if test -z "${FOUND_GCJ_TRUE}" && test -z "${FOUND_GCJ_FALSE}"; then
17393 { { echo "$as_me:$LINENO: error: conditional \"FOUND_GCJ\" was never defined.
17394 Usually this means the macro was only invoked conditionally." >&5
17395 echo "$as_me: error: conditional \"FOUND_GCJ\" was never defined.
17396 Usually this means the macro was only invoked conditionally." >&2;}
17397 { (exit 1); exit 1; }; }
17399 if test -z "${FOUND_JIKES_TRUE}" && test -z "${FOUND_JIKES_FALSE}"; then
17400 { { echo "$as_me:$LINENO: error: conditional \"FOUND_JIKES\" was never defined.
17401 Usually this means the macro was only invoked conditionally." >&5
17402 echo "$as_me: error: conditional \"FOUND_JIKES\" was never defined.
17403 Usually this means the macro was only invoked conditionally." >&2;}
17404 { (exit 1); exit 1; }; }
17406 if test -z "${FOUND_ECJ_TRUE}" && test -z "${FOUND_ECJ_FALSE}"; then
17407 { { echo "$as_me:$LINENO: error: conditional \"FOUND_ECJ\" was never defined.
17408 Usually this means the macro was only invoked conditionally." >&5
17409 echo "$as_me: error: conditional \"FOUND_ECJ\" was never defined.
17410 Usually this means the macro was only invoked conditionally." >&2;}
17411 { (exit 1); exit 1; }; }
17413 if test -z "${FOUND_GCJ_TRUE}" && test -z "${FOUND_GCJ_FALSE}"; then
17414 { { echo "$as_me:$LINENO: error: conditional \"FOUND_GCJ\" was never defined.
17415 Usually this means the macro was only invoked conditionally." >&5
17416 echo "$as_me: error: conditional \"FOUND_GCJ\" was never defined.
17417 Usually this means the macro was only invoked conditionally." >&2;}
17418 { (exit 1); exit 1; }; }
17420 if test -z "${FOUND_JIKES_TRUE}" && test -z "${FOUND_JIKES_FALSE}"; then
17421 { { echo "$as_me:$LINENO: error: conditional \"FOUND_JIKES\" was never defined.
17422 Usually this means the macro was only invoked conditionally." >&5
17423 echo "$as_me: error: conditional \"FOUND_JIKES\" was never defined.
17424 Usually this means the macro was only invoked conditionally." >&2;}
17425 { (exit 1); exit 1; }; }
17427 if test -z "${FOUND_ECJ_TRUE}" && test -z "${FOUND_ECJ_FALSE}"; then
17428 { { echo "$as_me:$LINENO: error: conditional \"FOUND_ECJ\" was never defined.
17429 Usually this means the macro was only invoked conditionally." >&5
17430 echo "$as_me: error: conditional \"FOUND_ECJ\" was never defined.
17431 Usually this means the macro was only invoked conditionally." >&2;}
17432 { (exit 1); exit 1; }; }
17434 if test -z "${FOUND_KJC_TRUE}" && test -z "${FOUND_KJC_FALSE}"; then
17435 { { echo "$as_me:$LINENO: error: conditional \"FOUND_KJC\" was never defined.
17436 Usually this means the macro was only invoked conditionally." >&5
17437 echo "$as_me: error: conditional \"FOUND_KJC\" was never defined.
17438 Usually this means the macro was only invoked conditionally." >&2;}
17439 { (exit 1); exit 1; }; }
17441 if test -z "${FOUND_GCJX_TRUE}" && test -z "${FOUND_GCJX_FALSE}"; then
17442 { { echo "$as_me:$LINENO: error: conditional \"FOUND_GCJX\" was never defined.
17443 Usually this means the macro was only invoked conditionally." >&5
17444 echo "$as_me: error: conditional \"FOUND_GCJX\" was never defined.
17445 Usually this means the macro was only invoked conditionally." >&2;}
17446 { (exit 1); exit 1; }; }
17448 if test -z "${USER_SPECIFIED_CLASSLIB_TRUE}" && test -z "${USER_SPECIFIED_CLASSLIB_FALSE}"; then
17449 { { echo "$as_me:$LINENO: error: conditional \"USER_SPECIFIED_CLASSLIB\" was never defined.
17450 Usually this means the macro was only invoked conditionally." >&5
17451 echo "$as_me: error: conditional \"USER_SPECIFIED_CLASSLIB\" was never defined.
17452 Usually this means the macro was only invoked conditionally." >&2;}
17453 { (exit 1); exit 1; }; }
17455 if test -z "${MAINTAINER_MODE_TRUE}" && test -z "${MAINTAINER_MODE_FALSE}"; then
17456 { { echo "$as_me:$LINENO: error: conditional \"MAINTAINER_MODE\" was never defined.
17457 Usually this means the macro was only invoked conditionally." >&5
17458 echo "$as_me: error: conditional \"MAINTAINER_MODE\" was never defined.
17459 Usually this means the macro was only invoked conditionally." >&2;}
17460 { (exit 1); exit 1; }; }
17462 if test -z "${INSTALL_GLIBJ_ZIP_TRUE}" && test -z "${INSTALL_GLIBJ_ZIP_FALSE}"; then
17463 { { echo "$as_me:$LINENO: error: conditional \"INSTALL_GLIBJ_ZIP\" was never defined.
17464 Usually this means the macro was only invoked conditionally." >&5
17465 echo "$as_me: error: conditional \"INSTALL_GLIBJ_ZIP\" was never defined.
17466 Usually this means the macro was only invoked conditionally." >&2;}
17467 { (exit 1); exit 1; }; }
17469 if test -z "${INSTALL_CLASS_FILES_TRUE}" && test -z "${INSTALL_CLASS_FILES_FALSE}"; then
17470 { { echo "$as_me:$LINENO: error: conditional \"INSTALL_CLASS_FILES\" was never defined.
17471 Usually this means the macro was only invoked conditionally." >&5
17472 echo "$as_me: error: conditional \"INSTALL_CLASS_FILES\" was never defined.
17473 Usually this means the macro was only invoked conditionally." >&2;}
17474 { (exit 1); exit 1; }; }
17476 if test -z "${BUILD_CLASS_FILES_TRUE}" && test -z "${BUILD_CLASS_FILES_FALSE}"; then
17477 { { echo "$as_me:$LINENO: error: conditional \"BUILD_CLASS_FILES\" was never defined.
17478 Usually this means the macro was only invoked conditionally." >&5
17479 echo "$as_me: error: conditional \"BUILD_CLASS_FILES\" was never defined.
17480 Usually this means the macro was only invoked conditionally." >&2;}
17481 { (exit 1); exit 1; }; }
17483 if test -z "${CREATE_API_DOCS_TRUE}" && test -z "${CREATE_API_DOCS_FALSE}"; then
17484 { { echo "$as_me:$LINENO: error: conditional \"CREATE_API_DOCS\" was never defined.
17485 Usually this means the macro was only invoked conditionally." >&5
17486 echo "$as_me: error: conditional \"CREATE_API_DOCS\" was never defined.
17487 Usually this means the macro was only invoked conditionally." >&2;}
17488 { (exit 1); exit 1; }; }
17490 if test -z "${REGEN_PARSERS_TRUE}" && test -z "${REGEN_PARSERS_FALSE}"; then
17491 { { echo "$as_me:$LINENO: error: conditional \"REGEN_PARSERS\" was never defined.
17492 Usually this means the macro was only invoked conditionally." >&5
17493 echo "$as_me: error: conditional \"REGEN_PARSERS\" was never defined.
17494 Usually this means the macro was only invoked conditionally." >&2;}
17495 { (exit 1); exit 1; }; }
17498 : ${CONFIG_STATUS=./config.status}
17499 ac_clean_files_save
=$ac_clean_files
17500 ac_clean_files
="$ac_clean_files $CONFIG_STATUS"
17501 { echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
17502 echo "$as_me: creating $CONFIG_STATUS" >&6;}
17503 cat >$CONFIG_STATUS <<_ACEOF
17505 # Generated by $as_me.
17506 # Run this file to recreate the current configuration.
17507 # Compiler output produced by configure, useful for debugging
17508 # configure, is in config.log if it exists.
17511 ac_cs_recheck=false
17513 SHELL=\${CONFIG_SHELL-$SHELL}
17516 cat >>$CONFIG_STATUS <<\_ACEOF
17517 ## --------------------- ##
17518 ## M4sh Initialization. ##
17519 ## --------------------- ##
17521 # Be Bourne compatible
17522 if test -n "${ZSH_VERSION+set}" && (emulate sh
) >/dev
/null
2>&1; then
17525 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
17526 # is contrary to our usage. Disable this feature.
17527 alias -g '${1+"$@"}'='"$@"'
17528 elif test -n "${BASH_VERSION+set}" && (set -o posix
) >/dev
/null
2>&1; then
17531 DUALCASE
=1; export DUALCASE
# for MKS sh
17533 # Support unset when possible.
17534 if ( (MAIL
=60; unset MAIL
) ||
exit) >/dev
/null
2>&1; then
17541 # Work around bugs in pre-3.0 UWIN ksh.
17542 $as_unset ENV MAIL MAILPATH
17549 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
17550 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
17551 LC_TELEPHONE LC_TIME
17553 if (set +x
; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
17554 eval $as_var=C
; export $as_var
17560 # Required to use basename.
17561 if expr a
: '\(a\)' >/dev
/null
2>&1; then
17567 if (basename /) >/dev
/null
2>&1 && test "X`basename / 2>&1`" = "X/"; then
17568 as_basename
=basename
17574 # Name of the executable.
17575 as_me
=`$as_basename "$0" ||
17576 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
17577 X"$0" : 'X\(//\)$' \| \
17578 X"$0" : 'X\(/\)$' \| \
17579 . : '\(.\)' 2>/dev/null ||
17581 sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; }
17582 /^X\/\(\/\/\)$/{ s//\1/; q; }
17583 /^X\/\(\/\).*/{ s//\1/; q; }
17587 # PATH needs CR, and LINENO needs CR and PATH.
17588 # Avoid depending upon Character Ranges.
17589 as_cr_letters
='abcdefghijklmnopqrstuvwxyz'
17590 as_cr_LETTERS
='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
17591 as_cr_Letters
=$as_cr_letters$as_cr_LETTERS
17592 as_cr_digits
='0123456789'
17593 as_cr_alnum
=$as_cr_Letters$as_cr_digits
17595 # The user is always right.
17596 if test "${PATH_SEPARATOR+set}" != set; then
17597 echo "#! /bin/sh" >conf$$.sh
17598 echo "exit 0" >>conf$$.sh
17600 if (PATH
="/nonexistent;."; conf$$.sh
) >/dev
/null
2>&1; then
17609 as_lineno_1
=$LINENO
17610 as_lineno_2
=$LINENO
17611 as_lineno_3
=`(expr $as_lineno_1 + 1) 2>/dev/null`
17612 test "x$as_lineno_1" != "x$as_lineno_2" &&
17613 test "x$as_lineno_3" = "x$as_lineno_2" ||
{
17614 # Find who we are. Look in the path if we contain no path at all
17617 *[\\/]* ) as_myself
=$0 ;;
17618 *) as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
17619 for as_dir
in $PATH
17622 test -z "$as_dir" && as_dir
=.
17623 test -r "$as_dir/$0" && as_myself
=$as_dir/$0 && break
17628 # We did not find ourselves, most probably we were run as `sh COMMAND'
17629 # in which case we are not to be found in the path.
17630 if test "x$as_myself" = x
; then
17633 if test ! -f "$as_myself"; then
17634 { { echo "$as_me:$LINENO: error: cannot find myself; rerun with an absolute path" >&5
17635 echo "$as_me: error: cannot find myself; rerun with an absolute path" >&2;}
17636 { (exit 1); exit 1; }; }
17638 case $CONFIG_SHELL in
17640 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
17641 for as_dir
in /bin
$PATH_SEPARATOR/usr
/bin
$PATH_SEPARATOR$PATH
17644 test -z "$as_dir" && as_dir
=.
17645 for as_base
in sh bash ksh sh5
; do
17648 if ("$as_dir/$as_base" -c '
17649 as_lineno_1=$LINENO
17650 as_lineno_2=$LINENO
17651 as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
17652 test "x$as_lineno_1" != "x$as_lineno_2" &&
17653 test "x$as_lineno_3" = "x$as_lineno_2" ') 2>/dev
/null
; then
17654 $as_unset BASH_ENV ||
test "${BASH_ENV+set}" != set ||
{ BASH_ENV
=; export BASH_ENV
; }
17655 $as_unset ENV ||
test "${ENV+set}" != set ||
{ ENV
=; export ENV
; }
17656 CONFIG_SHELL
=$as_dir/$as_base
17657 export CONFIG_SHELL
17658 exec "$CONFIG_SHELL" "$0" ${1+"$@"}
17666 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
17667 # uniformly replaced by the line number. The first 'sed' inserts a
17668 # line-number line before each line; the second 'sed' does the real
17669 # work. The second script uses 'N' to pair each line-number line
17670 # with the numbered line, and appends trailing '-' during
17671 # substitution so that $LINENO is not a special case at line end.
17672 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
17673 # second 'sed' script. Blame Lee E. McMahon for sed's syntax. :-)
17674 sed '=' <$as_myself |
17679 s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3,
17682 s,^['$as_cr_digits']*\n,,
17683 ' >$as_me.lineno
&&
17684 chmod +x
$as_me.lineno ||
17685 { { echo "$as_me:$LINENO: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&5
17686 echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2;}
17687 { (exit 1); exit 1; }; }
17689 # Don't try to exec as it changes $[0], causing all sort of problems
17690 # (the dirname of $[0] is not the place where we might find the
17691 # original and so on. Autoconf is especially sensible to this).
17693 # Exit status is that of the last command.
17698 case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in
17699 *c
*,-n*) ECHO_N
= ECHO_C
='
17701 *c
*,* ) ECHO_N
=-n ECHO_C
= ECHO_T
= ;;
17702 *) ECHO_N
= ECHO_C
='\c' ECHO_T
= ;;
17705 if expr a
: '\(a\)' >/dev
/null
2>&1; then
17711 rm -f conf$$ conf$$.exe conf$$.
file
17713 if ln -s conf$$.
file conf$$
2>/dev
/null
; then
17714 # We could just check for DJGPP; but this test a) works b) is more generic
17715 # and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04).
17716 if test -f conf$$.exe
; then
17717 # Don't use ln at all; we don't have any links
17722 elif ln conf$$.
file conf$$
2>/dev
/null
; then
17727 rm -f conf$$ conf$$.exe conf$$.
file
17729 if mkdir
-p .
2>/dev
/null
; then
17732 test -d .
/-p && rmdir .
/-p
17736 as_executable_p
="test -f"
17738 # Sed expression to map a string onto a valid CPP name.
17739 as_tr_cpp
="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
17741 # Sed expression to map a string onto a valid variable name.
17742 as_tr_sh
="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
17746 # We need space, tab and new line, in precisely that order.
17756 # Open the log real soon, to keep \$[0] and so on meaningful, and to
17757 # report actual input values of CONFIG_FILES etc. instead of their
17758 # values after options handling. Logging --version etc. is OK.
17762 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
17763 ## Running $as_me. ##
17768 This file was extended by GNU Classpath $as_me 0.20, which was
17769 generated by GNU Autoconf 2.59. Invocation command line was
17771 CONFIG_FILES = $CONFIG_FILES
17772 CONFIG_HEADERS = $CONFIG_HEADERS
17773 CONFIG_LINKS = $CONFIG_LINKS
17774 CONFIG_COMMANDS = $CONFIG_COMMANDS
17778 echo "on `(hostname || uname -n) 2>/dev/null | sed 1q`" >&5
17782 # Files that config.status was made for.
17783 if test -n "$ac_config_files"; then
17784 echo "config_files=\"$ac_config_files\"" >>$CONFIG_STATUS
17787 if test -n "$ac_config_headers"; then
17788 echo "config_headers=\"$ac_config_headers\"" >>$CONFIG_STATUS
17791 if test -n "$ac_config_links"; then
17792 echo "config_links=\"$ac_config_links\"" >>$CONFIG_STATUS
17795 if test -n "$ac_config_commands"; then
17796 echo "config_commands=\"$ac_config_commands\"" >>$CONFIG_STATUS
17799 cat >>$CONFIG_STATUS <<\_ACEOF
17802 \`$as_me' instantiates files from templates according to the
17803 current configuration.
17805 Usage: $0 [OPTIONS] [FILE]...
17807 -h, --help print this help, then exit
17808 -V, --version print version number, then exit
17809 -q, --quiet do not print progress messages
17810 -d, --debug don't remove temporary files
17811 --recheck update $as_me by reconfiguring in the same conditions
17812 --file=FILE[:TEMPLATE]
17813 instantiate the configuration file FILE
17814 --header=FILE[:TEMPLATE]
17815 instantiate the configuration header FILE
17817 Configuration files:
17820 Configuration headers:
17823 Configuration links:
17826 Configuration commands:
17829 Report bugs to <bug-autoconf@gnu.org>."
17832 cat >>$CONFIG_STATUS <<_ACEOF
17834 GNU Classpath config.status 0.20
17835 configured by $0, generated by GNU Autoconf 2.59,
17836 with options \\"`echo "$ac_configure_args" | sed 's/[\\""\`\$]/\\\\&/g'`\\"
17838 Copyright (C) 2003 Free Software Foundation, Inc.
17839 This config.status script is free software; the Free Software Foundation
17840 gives unlimited permission to copy, distribute and modify it."
17845 cat >>$CONFIG_STATUS <<\_ACEOF
17846 # If no file are specified by the user, then we need to provide default
17847 # value. By we need to know if files were specified by the user.
17853 ac_option
=`expr "x$1" : 'x\([^=]*\)='`
17854 ac_optarg
=`expr "x$1" : 'x[^=]*=\(.*\)'`
17862 *) # This is not an option, so the user has probably given explicit
17865 ac_need_defaults
=false
;;
17869 # Handling of the options.
17871 cat >>$CONFIG_STATUS <<\_ACEOF
17872 -recheck |
--recheck |
--rechec |
--reche |
--rech |
--rec |
--re |
--r)
17874 --version |
--vers* |
-V )
17875 echo "$ac_cs_version"; exit 0 ;;
17877 # Conflict between --help and --header
17878 { { echo "$as_me:$LINENO: error: ambiguous option: $1
17879 Try \`$0 --help' for more information." >&5
17880 echo "$as_me: error: ambiguous option: $1
17881 Try \`$0 --help' for more information." >&2;}
17882 { (exit 1); exit 1; }; };;
17883 --help |
--hel |
-h )
17884 echo "$ac_cs_usage"; exit 0 ;;
17885 --debug |
--d* |
-d )
17887 --file |
--fil |
--fi |
--f )
17889 CONFIG_FILES
="$CONFIG_FILES $ac_optarg"
17890 ac_need_defaults
=false
;;
17891 --header |
--heade |
--head |
--hea )
17893 CONFIG_HEADERS
="$CONFIG_HEADERS $ac_optarg"
17894 ac_need_defaults
=false
;;
17895 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
17896 |
-silent |
--silent |
--silen |
--sile |
--sil |
--si |
--s)
17899 # This is an error.
17900 -*) { { echo "$as_me:$LINENO: error: unrecognized option: $1
17901 Try \`$0 --help' for more information." >&5
17902 echo "$as_me: error: unrecognized option: $1
17903 Try \`$0 --help' for more information." >&2;}
17904 { (exit 1); exit 1; }; } ;;
17906 *) ac_config_targets
="$ac_config_targets $1" ;;
17912 ac_configure_extra_args
=
17914 if $ac_cs_silent; then
17916 ac_configure_extra_args
="$ac_configure_extra_args --silent"
17920 cat >>$CONFIG_STATUS <<_ACEOF
17921 if \$ac_cs_recheck; then
17922 echo "running $SHELL $0 " $ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6
17923 exec $SHELL $0 $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
17928 cat >>$CONFIG_STATUS <<_ACEOF
17930 # INIT-COMMANDS section.
17933 AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
17934 # variables for create stdint.h replacement
17937 ac_stdint_h="$ac_stdint_h"
17938 _ac_stdint_h=`echo "_$PACKAGE-$ac_stdint_h" | $as_tr_cpp`
17939 ac_cv_stdint_message="$ac_cv_stdint_message"
17940 ac_cv_header_stdint_t="$ac_cv_header_stdint_t"
17941 ac_cv_header_stdint_x="$ac_cv_header_stdint_x"
17942 ac_cv_header_stdint_o="$ac_cv_header_stdint_o"
17943 ac_cv_header_stdint_u="$ac_cv_header_stdint_u"
17944 ac_cv_type_uint64_t="$ac_cv_type_uint64_t"
17945 ac_cv_type_u_int64_t="$ac_cv_type_u_int64_t"
17946 ac_cv_char_data_model="$ac_cv_char_data_model"
17947 ac_cv_long_data_model="$ac_cv_long_data_model"
17948 ac_cv_type_int_least32_t="$ac_cv_type_int_least32_t"
17949 ac_cv_type_int_fast32_t="$ac_cv_type_int_fast32_t"
17950 ac_cv_type_intmax_t="$ac_cv_type_intmax_t"
17957 cat >>$CONFIG_STATUS <<\_ACEOF
17958 for ac_config_target
in $ac_config_targets
17960 case "$ac_config_target" in
17961 # Handling of arguments.
17962 "Makefile" ) CONFIG_FILES
="$CONFIG_FILES Makefile" ;;
17963 "doc/Makefile" ) CONFIG_FILES
="$CONFIG_FILES doc/Makefile" ;;
17964 "doc/api/Makefile" ) CONFIG_FILES
="$CONFIG_FILES doc/api/Makefile" ;;
17965 "external/Makefile" ) CONFIG_FILES
="$CONFIG_FILES external/Makefile" ;;
17966 "external/sax/Makefile" ) CONFIG_FILES
="$CONFIG_FILES external/sax/Makefile" ;;
17967 "external/w3c_dom/Makefile" ) CONFIG_FILES
="$CONFIG_FILES external/w3c_dom/Makefile" ;;
17968 "gnu/classpath/Configuration.java" ) CONFIG_FILES
="$CONFIG_FILES gnu/classpath/Configuration.java" ;;
17969 "include/Makefile" ) CONFIG_FILES
="$CONFIG_FILES include/Makefile" ;;
17970 "native/Makefile" ) CONFIG_FILES
="$CONFIG_FILES native/Makefile" ;;
17971 "native/fdlibm/Makefile" ) CONFIG_FILES
="$CONFIG_FILES native/fdlibm/Makefile" ;;
17972 "native/jawt/Makefile" ) CONFIG_FILES
="$CONFIG_FILES native/jawt/Makefile" ;;
17973 "native/jni/Makefile" ) CONFIG_FILES
="$CONFIG_FILES native/jni/Makefile" ;;
17974 "native/jni/classpath/Makefile" ) CONFIG_FILES
="$CONFIG_FILES native/jni/classpath/Makefile" ;;
17975 "native/jni/java-io/Makefile" ) CONFIG_FILES
="$CONFIG_FILES native/jni/java-io/Makefile" ;;
17976 "native/jni/java-lang/Makefile" ) CONFIG_FILES
="$CONFIG_FILES native/jni/java-lang/Makefile" ;;
17977 "native/jni/java-net/Makefile" ) CONFIG_FILES
="$CONFIG_FILES native/jni/java-net/Makefile" ;;
17978 "native/jni/java-nio/Makefile" ) CONFIG_FILES
="$CONFIG_FILES native/jni/java-nio/Makefile" ;;
17979 "native/jni/java-util/Makefile" ) CONFIG_FILES
="$CONFIG_FILES native/jni/java-util/Makefile" ;;
17980 "native/jni/gtk-peer/Makefile" ) CONFIG_FILES
="$CONFIG_FILES native/jni/gtk-peer/Makefile" ;;
17981 "native/jni/qt-peer/Makefile" ) CONFIG_FILES
="$CONFIG_FILES native/jni/qt-peer/Makefile" ;;
17982 "native/jni/xmlj/Makefile" ) CONFIG_FILES
="$CONFIG_FILES native/jni/xmlj/Makefile" ;;
17983 "native/jni/midi-alsa/Makefile" ) CONFIG_FILES
="$CONFIG_FILES native/jni/midi-alsa/Makefile" ;;
17984 "native/jni/midi-dssi/Makefile" ) CONFIG_FILES
="$CONFIG_FILES native/jni/midi-dssi/Makefile" ;;
17985 "native/target/Makefile" ) CONFIG_FILES
="$CONFIG_FILES native/target/Makefile" ;;
17986 "native/target/Linux/Makefile" ) CONFIG_FILES
="$CONFIG_FILES native/target/Linux/Makefile" ;;
17987 "native/target/generic/Makefile" ) CONFIG_FILES
="$CONFIG_FILES native/target/generic/Makefile" ;;
17988 "resource/Makefile" ) CONFIG_FILES
="$CONFIG_FILES resource/Makefile" ;;
17989 "scripts/Makefile" ) CONFIG_FILES
="$CONFIG_FILES scripts/Makefile" ;;
17990 "scripts/classpath.spec" ) CONFIG_FILES
="$CONFIG_FILES scripts/classpath.spec" ;;
17991 "lib/Makefile" ) CONFIG_FILES
="$CONFIG_FILES lib/Makefile" ;;
17992 "lib/gen-classlist.sh" ) CONFIG_FILES
="$CONFIG_FILES lib/gen-classlist.sh" ;;
17993 "lib/copy-vmresources.sh" ) CONFIG_FILES
="$CONFIG_FILES lib/copy-vmresources.sh" ;;
17994 "examples/Makefile" ) CONFIG_FILES
="$CONFIG_FILES examples/Makefile" ;;
17995 "examples/Makefile.jawt" ) CONFIG_FILES
="$CONFIG_FILES examples/Makefile.jawt" ;;
17996 "$ac_config_links_1" ) CONFIG_LINKS
="$CONFIG_LINKS $ac_config_links_1" ;;
17997 "depfiles" ) CONFIG_COMMANDS
="$CONFIG_COMMANDS depfiles" ;;
17998 "$ac_stdint_h" ) CONFIG_COMMANDS
="$CONFIG_COMMANDS $ac_stdint_h" ;;
17999 "gen-classlist" ) CONFIG_COMMANDS
="$CONFIG_COMMANDS gen-classlist" ;;
18000 "copy-vmresources" ) CONFIG_COMMANDS
="$CONFIG_COMMANDS copy-vmresources" ;;
18001 "include/config.h" ) CONFIG_HEADERS
="$CONFIG_HEADERS include/config.h" ;;
18002 *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
18003 echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
18004 { (exit 1); exit 1; }; };;
18008 # If the user did not use the arguments to specify the items to instantiate,
18009 # then the envvar interface is used. Set only those that are not.
18010 # We use the long form for the default assignment because of an extremely
18011 # bizarre bug on SunOS 4.1.3.
18012 if $ac_need_defaults; then
18013 test "${CONFIG_FILES+set}" = set || CONFIG_FILES
=$config_files
18014 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS
=$config_headers
18015 test "${CONFIG_LINKS+set}" = set || CONFIG_LINKS
=$config_links
18016 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS
=$config_commands
18019 # Have a temporary directory for convenience. Make it in the build tree
18020 # simply because there is no reason to put it here, and in addition,
18021 # creating and moving files from /tmp can sometimes cause problems.
18022 # Create a temporary directory, and hook for its removal unless debugging.
18025 trap 'exit_status=$?; rm -rf $tmp && exit $exit_status' 0
18026 trap '{ (exit 1); exit 1; }' 1 2 13 15
18029 # Create a (secure) tmp directory for tmp files.
18032 tmp
=`(umask 077 && mktemp -d -q "./confstatXXXXXX") 2>/dev/null` &&
18033 test -n "$tmp" && test -d "$tmp"
18036 tmp
=.
/confstat$$
-$RANDOM
18037 (umask 077 && mkdir
$tmp)
18040 echo "$me: cannot create a temporary directory in ." >&2
18041 { (exit 1); exit 1; }
18046 cat >>$CONFIG_STATUS <<_ACEOF
18049 # CONFIG_FILES section.
18052 # No need to generate the scripts if there are no CONFIG_FILES.
18053 # This happens for instance when ./config.status config.h
18054 if test -n "\$CONFIG_FILES"; then
18055 # Protect against being on the right side of a sed subst in config.status.
18056 sed 's/,@/@@/; s/@,/@@/; s/,;t t\$/@;t t/; /@;t t\$/s/[\\\\&,]/\\\\&/g;
18057 s/@@/,@/; s/@@/@,/; s/@;t t\$/,;t t/' >\$tmp/subs.sed <<\\CEOF
18058 s,@SHELL@,$SHELL,;t t
18059 s,@PATH_SEPARATOR@,$PATH_SEPARATOR,;t t
18060 s,@PACKAGE_NAME@,$PACKAGE_NAME,;t t
18061 s,@PACKAGE_TARNAME@,$PACKAGE_TARNAME,;t t
18062 s,@PACKAGE_VERSION@,$PACKAGE_VERSION,;t t
18063 s,@PACKAGE_STRING@,$PACKAGE_STRING,;t t
18064 s,@PACKAGE_BUGREPORT@,$PACKAGE_BUGREPORT,;t t
18065 s,@exec_prefix@,$exec_prefix,;t t
18066 s,@prefix@,$prefix,;t t
18067 s,@program_transform_name@,$program_transform_name,;t t
18068 s,@bindir@,$bindir,;t t
18069 s,@sbindir@,$sbindir,;t t
18070 s,@libexecdir@,$libexecdir,;t t
18071 s,@datadir@,$datadir,;t t
18072 s,@sysconfdir@,$sysconfdir,;t t
18073 s,@sharedstatedir@,$sharedstatedir,;t t
18074 s,@localstatedir@,$localstatedir,;t t
18075 s,@libdir@,$libdir,;t t
18076 s,@includedir@,$includedir,;t t
18077 s,@oldincludedir@,$oldincludedir,;t t
18078 s,@infodir@,$infodir,;t t
18079 s,@mandir@,$mandir,;t t
18080 s,@build_alias@,$build_alias,;t t
18081 s,@host_alias@,$host_alias,;t t
18082 s,@target_alias@,$target_alias,;t t
18083 s,@DEFS@,$DEFS,;t t
18084 s,@ECHO_C@,$ECHO_C,;t t
18085 s,@ECHO_N@,$ECHO_N,;t t
18086 s,@ECHO_T@,$ECHO_T,;t t
18087 s,@LIBS@,$LIBS,;t t
18088 s,@build@,$build,;t t
18089 s,@build_cpu@,$build_cpu,;t t
18090 s,@build_vendor@,$build_vendor,;t t
18091 s,@build_os@,$build_os,;t t
18092 s,@host@,$host,;t t
18093 s,@host_cpu@,$host_cpu,;t t
18094 s,@host_vendor@,$host_vendor,;t t
18095 s,@host_os@,$host_os,;t t
18096 s,@target@,$target,;t t
18097 s,@target_cpu@,$target_cpu,;t t
18098 s,@target_vendor@,$target_vendor,;t t
18099 s,@target_os@,$target_os,;t t
18100 s,@LIBVERSION@,$LIBVERSION,;t t
18101 s,@CLASSPATH_MODULE@,$CLASSPATH_MODULE,;t t
18102 s,@INSTALL_PROGRAM@,$INSTALL_PROGRAM,;t t
18103 s,@INSTALL_SCRIPT@,$INSTALL_SCRIPT,;t t
18104 s,@INSTALL_DATA@,$INSTALL_DATA,;t t
18105 s,@CYGPATH_W@,$CYGPATH_W,;t t
18106 s,@PACKAGE@,$PACKAGE,;t t
18107 s,@VERSION@,$VERSION,;t t
18108 s,@ACLOCAL@,$ACLOCAL,;t t
18109 s,@AUTOCONF@,$AUTOCONF,;t t
18110 s,@AUTOMAKE@,$AUTOMAKE,;t t
18111 s,@AUTOHEADER@,$AUTOHEADER,;t t
18112 s,@MAKEINFO@,$MAKEINFO,;t t
18113 s,@install_sh@,$install_sh,;t t
18114 s,@STRIP@,$STRIP,;t t
18115 s,@ac_ct_STRIP@,$ac_ct_STRIP,;t t
18116 s,@INSTALL_STRIP_PROGRAM@,$INSTALL_STRIP_PROGRAM,;t t
18117 s,@mkdir_p@,$mkdir_p,;t t
18119 s,@SET_MAKE@,$SET_MAKE,;t t
18120 s,@am__leading_dot@,$am__leading_dot,;t t
18121 s,@AMTAR@,$AMTAR,;t t
18122 s,@am__tar@,$am__tar,;t t
18123 s,@am__untar@,$am__untar,;t t
18124 s,@CREATE_JNI_LIBRARIES_TRUE@,$CREATE_JNI_LIBRARIES_TRUE,;t t
18125 s,@CREATE_JNI_LIBRARIES_FALSE@,$CREATE_JNI_LIBRARIES_FALSE,;t t
18126 s,@CREATE_CORE_JNI_LIBRARIES_TRUE@,$CREATE_CORE_JNI_LIBRARIES_TRUE,;t t
18127 s,@CREATE_CORE_JNI_LIBRARIES_FALSE@,$CREATE_CORE_JNI_LIBRARIES_FALSE,;t t
18128 s,@default_toolkit@,$default_toolkit,;t t
18129 s,@CREATE_XMLJ_LIBRARY_TRUE@,$CREATE_XMLJ_LIBRARY_TRUE,;t t
18130 s,@CREATE_XMLJ_LIBRARY_FALSE@,$CREATE_XMLJ_LIBRARY_FALSE,;t t
18132 s,@CFLAGS@,$CFLAGS,;t t
18133 s,@LDFLAGS@,$LDFLAGS,;t t
18134 s,@CPPFLAGS@,$CPPFLAGS,;t t
18135 s,@ac_ct_CC@,$ac_ct_CC,;t t
18136 s,@EXEEXT@,$EXEEXT,;t t
18137 s,@OBJEXT@,$OBJEXT,;t t
18138 s,@DEPDIR@,$DEPDIR,;t t
18139 s,@am__include@,$am__include,;t t
18140 s,@am__quote@,$am__quote,;t t
18141 s,@AMDEP_TRUE@,$AMDEP_TRUE,;t t
18142 s,@AMDEP_FALSE@,$AMDEP_FALSE,;t t
18143 s,@AMDEPBACKSLASH@,$AMDEPBACKSLASH,;t t
18144 s,@CCDEPMODE@,$CCDEPMODE,;t t
18145 s,@am__fastdepCC_TRUE@,$am__fastdepCC_TRUE,;t t
18146 s,@am__fastdepCC_FALSE@,$am__fastdepCC_FALSE,;t t
18148 s,@EGREP@,$EGREP,;t t
18149 s,@CREATE_ALSA_LIBRARIES_TRUE@,$CREATE_ALSA_LIBRARIES_TRUE,;t t
18150 s,@CREATE_ALSA_LIBRARIES_FALSE@,$CREATE_ALSA_LIBRARIES_FALSE,;t t
18151 s,@CREATE_DSSI_LIBRARIES_TRUE@,$CREATE_DSSI_LIBRARIES_TRUE,;t t
18152 s,@CREATE_DSSI_LIBRARIES_FALSE@,$CREATE_DSSI_LIBRARIES_FALSE,;t t
18153 s,@CREATE_GTK_PEER_LIBRARIES_TRUE@,$CREATE_GTK_PEER_LIBRARIES_TRUE,;t t
18154 s,@CREATE_GTK_PEER_LIBRARIES_FALSE@,$CREATE_GTK_PEER_LIBRARIES_FALSE,;t t
18155 s,@GTK_CAIRO_ENABLED@,$GTK_CAIRO_ENABLED,;t t
18156 s,@GTK_CAIRO_TRUE@,$GTK_CAIRO_TRUE,;t t
18157 s,@GTK_CAIRO_FALSE@,$GTK_CAIRO_FALSE,;t t
18158 s,@CREATE_QT_PEER_LIBRARIES_TRUE@,$CREATE_QT_PEER_LIBRARIES_TRUE,;t t
18159 s,@CREATE_QT_PEER_LIBRARIES_FALSE@,$CREATE_QT_PEER_LIBRARIES_FALSE,;t t
18160 s,@nativelibdir@,$nativelibdir,;t t
18161 s,@glibjdir@,$glibjdir,;t t
18162 s,@CREATE_JNI_HEADERS_TRUE@,$CREATE_JNI_HEADERS_TRUE,;t t
18163 s,@CREATE_JNI_HEADERS_FALSE@,$CREATE_JNI_HEADERS_FALSE,;t t
18164 s,@LN_S@,$LN_S,;t t
18165 s,@RANLIB@,$RANLIB,;t t
18166 s,@ac_ct_RANLIB@,$ac_ct_RANLIB,;t t
18167 s,@LIBTOOL@,$LIBTOOL,;t t
18169 s,@CXXFLAGS@,$CXXFLAGS,;t t
18170 s,@ac_ct_CXX@,$ac_ct_CXX,;t t
18171 s,@CXXDEPMODE@,$CXXDEPMODE,;t t
18172 s,@am__fastdepCXX_TRUE@,$am__fastdepCXX_TRUE,;t t
18173 s,@am__fastdepCXX_FALSE@,$am__fastdepCXX_FALSE,;t t
18174 s,@CXXCPP@,$CXXCPP,;t t
18175 s,@LIBICONV@,$LIBICONV,;t t
18176 s,@LTLIBICONV@,$LTLIBICONV,;t t
18177 s,@WARNING_CFLAGS@,$WARNING_CFLAGS,;t t
18178 s,@STRICT_WARNING_CFLAGS@,$STRICT_WARNING_CFLAGS,;t t
18179 s,@ERROR_CFLAGS@,$ERROR_CFLAGS,;t t
18180 s,@PKG_CONFIG@,$PKG_CONFIG,;t t
18181 s,@XML_CFLAGS@,$XML_CFLAGS,;t t
18182 s,@XML_LIBS@,$XML_LIBS,;t t
18183 s,@XSLT_CFLAGS@,$XSLT_CFLAGS,;t t
18184 s,@XSLT_LIBS@,$XSLT_LIBS,;t t
18185 s,@X_CFLAGS@,$X_CFLAGS,;t t
18186 s,@X_PRE_LIBS@,$X_PRE_LIBS,;t t
18187 s,@X_LIBS@,$X_LIBS,;t t
18188 s,@X_EXTRA_LIBS@,$X_EXTRA_LIBS,;t t
18189 s,@GTK_CFLAGS@,$GTK_CFLAGS,;t t
18190 s,@GTK_LIBS@,$GTK_LIBS,;t t
18191 s,@CAIRO_CFLAGS@,$CAIRO_CFLAGS,;t t
18192 s,@CAIRO_LIBS@,$CAIRO_LIBS,;t t
18193 s,@PANGOFT2_CFLAGS@,$PANGOFT2_CFLAGS,;t t
18194 s,@PANGOFT2_LIBS@,$PANGOFT2_LIBS,;t t
18195 s,@QT_CFLAGS@,$QT_CFLAGS,;t t
18196 s,@QT_LIBS@,$QT_LIBS,;t t
18198 s,@USER_JAVAH@,$USER_JAVAH,;t t
18199 s,@USER_SPECIFIED_JAVAH_TRUE@,$USER_SPECIFIED_JAVAH_TRUE,;t t
18200 s,@USER_SPECIFIED_JAVAH_FALSE@,$USER_SPECIFIED_JAVAH_FALSE,;t t
18201 s,@CLASSPATH_INCLUDES@,$CLASSPATH_INCLUDES,;t t
18203 s,@JIKES@,$JIKES,;t t
18204 s,@JIKESENCODING@,$JIKESENCODING,;t t
18205 s,@JIKESWARNINGS@,$JIKESWARNINGS,;t t
18207 s,@GCJX@,$GCJX,;t t
18209 s,@FOUND_GCJ_TRUE@,$FOUND_GCJ_TRUE,;t t
18210 s,@FOUND_GCJ_FALSE@,$FOUND_GCJ_FALSE,;t t
18211 s,@FOUND_JIKES_TRUE@,$FOUND_JIKES_TRUE,;t t
18212 s,@FOUND_JIKES_FALSE@,$FOUND_JIKES_FALSE,;t t
18213 s,@FOUND_ECJ_TRUE@,$FOUND_ECJ_TRUE,;t t
18214 s,@FOUND_ECJ_FALSE@,$FOUND_ECJ_FALSE,;t t
18215 s,@FOUND_KJC_TRUE@,$FOUND_KJC_TRUE,;t t
18216 s,@FOUND_KJC_FALSE@,$FOUND_KJC_FALSE,;t t
18217 s,@FOUND_GCJX_TRUE@,$FOUND_GCJX_TRUE,;t t
18218 s,@FOUND_GCJX_FALSE@,$FOUND_GCJX_FALSE,;t t
18219 s,@USER_CLASSLIB@,$USER_CLASSLIB,;t t
18220 s,@USER_SPECIFIED_CLASSLIB_TRUE@,$USER_SPECIFIED_CLASSLIB_TRUE,;t t
18221 s,@USER_SPECIFIED_CLASSLIB_FALSE@,$USER_SPECIFIED_CLASSLIB_FALSE,;t t
18222 s,@vm_classes@,$vm_classes,;t t
18223 s,@MAINTAINER_MODE_TRUE@,$MAINTAINER_MODE_TRUE,;t t
18224 s,@MAINTAINER_MODE_FALSE@,$MAINTAINER_MODE_FALSE,;t t
18225 s,@MAINT@,$MAINT,;t t
18226 s,@LIBDEBUG@,$LIBDEBUG,;t t
18227 s,@INIT_LOAD_LIBRARY@,$INIT_LOAD_LIBRARY,;t t
18228 s,@JAVA_LANG_SYSTEM_EXPLICIT_INITIALIZATION@,$JAVA_LANG_SYSTEM_EXPLICIT_INITIALIZATION,;t t
18229 s,@REMOVE@,$REMOVE,;t t
18230 s,@MKDIR@,$MKDIR,;t t
18232 s,@DATE@,$DATE,;t t
18233 s,@FIND@,$FIND,;t t
18235 s,@INSTALL_GLIBJ_ZIP_TRUE@,$INSTALL_GLIBJ_ZIP_TRUE,;t t
18236 s,@INSTALL_GLIBJ_ZIP_FALSE@,$INSTALL_GLIBJ_ZIP_FALSE,;t t
18237 s,@INSTALL_CLASS_FILES_TRUE@,$INSTALL_CLASS_FILES_TRUE,;t t
18238 s,@INSTALL_CLASS_FILES_FALSE@,$INSTALL_CLASS_FILES_FALSE,;t t
18239 s,@BUILD_CLASS_FILES_TRUE@,$BUILD_CLASS_FILES_TRUE,;t t
18240 s,@BUILD_CLASS_FILES_FALSE@,$BUILD_CLASS_FILES_FALSE,;t t
18241 s,@EXAMPLESDIR@,$EXAMPLESDIR,;t t
18242 s,@GJDOC@,$GJDOC,;t t
18243 s,@CREATE_API_DOCS_TRUE@,$CREATE_API_DOCS_TRUE,;t t
18244 s,@CREATE_API_DOCS_FALSE@,$CREATE_API_DOCS_FALSE,;t t
18246 s,@JAY_SKELETON@,$JAY_SKELETON,;t t
18247 s,@REGEN_PARSERS_TRUE@,$REGEN_PARSERS_TRUE,;t t
18248 s,@REGEN_PARSERS_FALSE@,$REGEN_PARSERS_FALSE,;t t
18249 s,@LIBOBJS@,$LIBOBJS,;t t
18250 s,@LTLIBOBJS@,$LTLIBOBJS,;t t
18255 cat >>$CONFIG_STATUS <<\_ACEOF
18256 # Split the substitutions into bite-sized pieces for seds with
18257 # small command number limits, like on Digital OSF/1 and HP-UX.
18258 ac_max_sed_lines
=48
18259 ac_sed_frag
=1 # Number of current file.
18260 ac_beg
=1 # First line for current file.
18261 ac_end
=$ac_max_sed_lines # Line after last line for current file.
18264 while $ac_more_lines; do
18265 if test $ac_beg -gt 1; then
18266 sed "1,${ac_beg}d; ${ac_end}q" $tmp/subs.
sed >$tmp/subs.frag
18268 sed "${ac_end}q" $tmp/subs.
sed >$tmp/subs.frag
18270 if test ! -s $tmp/subs.frag
; then
18271 ac_more_lines
=false
18273 # The purpose of the label and of the branching condition is to
18274 # speed up the sed processing (if there are no `@' at all, there
18275 # is no need to browse any of the substitutions).
18276 # These are the two extra sed commands mentioned above.
18278 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b' && cat $tmp/subs.frag
) >$tmp/subs-
$ac_sed_frag.
sed
18279 if test -z "$ac_sed_cmds"; then
18280 ac_sed_cmds
="sed -f $tmp/subs-$ac_sed_frag.sed"
18282 ac_sed_cmds
="$ac_sed_cmds | sed -f $tmp/subs-$ac_sed_frag.sed"
18284 ac_sed_frag
=`expr $ac_sed_frag + 1`
18286 ac_end
=`expr $ac_end + $ac_max_sed_lines`
18289 if test -z "$ac_sed_cmds"; then
18292 fi # test -n "$CONFIG_FILES"
18295 cat >>$CONFIG_STATUS <<\_ACEOF
18296 for ac_file
in : $CONFIG_FILES; do test "x$ac_file" = x
: && continue
18297 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
18299 - |
*:- |
*:-:* ) # input from stdin
18301 ac_file_in
=`echo "$ac_file" | sed 's,[^:]*:,,'`
18302 ac_file
=`echo "$ac_file" | sed 's,:.*,,'` ;;
18303 *:* ) ac_file_in
=`echo "$ac_file" | sed 's,[^:]*:,,'`
18304 ac_file
=`echo "$ac_file" | sed 's,:.*,,'` ;;
18305 * ) ac_file_in
=$ac_file.
in ;;
18308 # Compute @srcdir@, @top_srcdir@, and @INSTALL@ for subdirectories.
18309 ac_dir
=`(dirname "$ac_file") 2>/dev/null ||
18310 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
18311 X"$ac_file" : 'X\(//\)[^/]' \| \
18312 X"$ac_file" : 'X\(//\)$' \| \
18313 X"$ac_file" : 'X\(/\)' \| \
18314 . : '\(.\)' 2>/dev/null ||
18316 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
18317 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
18318 /^X\(\/\/\)$/{ s//\1/; q; }
18319 /^X\(\/\).*/{ s//\1/; q; }
18321 { if $as_mkdir_p; then
18326 while test ! -d "$as_dir"; do
18327 as_dirs
="$as_dir $as_dirs"
18328 as_dir
=`(dirname "$as_dir") 2>/dev/null ||
18329 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
18330 X"$as_dir" : 'X\(//\)[^/]' \| \
18331 X"$as_dir" : 'X\(//\)$' \| \
18332 X"$as_dir" : 'X\(/\)' \| \
18333 . : '\(.\)' 2>/dev/null ||
18335 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
18336 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
18337 /^X\(\/\/\)$/{ s//\1/; q; }
18338 /^X\(\/\).*/{ s//\1/; q; }
18341 test ! -n "$as_dirs" || mkdir
$as_dirs
18342 fi ||
{ { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
18343 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
18344 { (exit 1); exit 1; }; }; }
18348 if test "$ac_dir" != .
; then
18349 ac_dir_suffix
=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
18350 # A "../" for each directory in $ac_dir_suffix.
18351 ac_top_builddir
=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
18353 ac_dir_suffix
= ac_top_builddir
=
18357 .
) # No --srcdir option. We are building in place.
18359 if test -z "$ac_top_builddir"; then
18362 ac_top_srcdir
=`echo $ac_top_builddir | sed 's,/$,,'`
18364 [\\/]* | ?
:[\\/]* ) # Absolute path.
18365 ac_srcdir
=$srcdir$ac_dir_suffix;
18366 ac_top_srcdir
=$srcdir ;;
18367 *) # Relative path.
18368 ac_srcdir
=$ac_top_builddir$srcdir$ac_dir_suffix
18369 ac_top_srcdir
=$ac_top_builddir$srcdir ;;
18372 # Do not use `cd foo && pwd` to compute absolute paths, because
18373 # the directories may not exist.
18375 .
) ac_abs_builddir
="$ac_dir";;
18378 .
) ac_abs_builddir
=`pwd`;;
18379 [\\/]* | ?
:[\\/]* ) ac_abs_builddir
="$ac_dir";;
18380 *) ac_abs_builddir
=`pwd`/"$ac_dir";;
18383 case $ac_abs_builddir in
18384 .
) ac_abs_top_builddir
=${ac_top_builddir}.
;;
18386 case ${ac_top_builddir}.
in
18387 .
) ac_abs_top_builddir
=$ac_abs_builddir;;
18388 [\\/]* | ?
:[\\/]* ) ac_abs_top_builddir
=${ac_top_builddir}.
;;
18389 *) ac_abs_top_builddir
=$ac_abs_builddir/${ac_top_builddir}.
;;
18392 case $ac_abs_builddir in
18393 .
) ac_abs_srcdir
=$ac_srcdir;;
18396 .
) ac_abs_srcdir
=$ac_abs_builddir;;
18397 [\\/]* | ?
:[\\/]* ) ac_abs_srcdir
=$ac_srcdir;;
18398 *) ac_abs_srcdir
=$ac_abs_builddir/$ac_srcdir;;
18401 case $ac_abs_builddir in
18402 .
) ac_abs_top_srcdir
=$ac_top_srcdir;;
18404 case $ac_top_srcdir in
18405 .
) ac_abs_top_srcdir
=$ac_abs_builddir;;
18406 [\\/]* | ?
:[\\/]* ) ac_abs_top_srcdir
=$ac_top_srcdir;;
18407 *) ac_abs_top_srcdir
=$ac_abs_builddir/$ac_top_srcdir;;
18413 [\\/$
]* | ?
:[\\/]* ) ac_INSTALL
=$INSTALL ;;
18414 *) ac_INSTALL
=$ac_top_builddir$INSTALL ;;
18417 # Let's still pretend it is `configure' which instantiates (i.e., don't
18418 # use $as_me), people would be surprised to read:
18419 # /* config.h. Generated by config.status. */
18420 if test x
"$ac_file" = x-
; then
18423 configure_input
="$ac_file. "
18425 configure_input
=$configure_input"Generated from `echo $ac_file_in |
18426 sed 's,.*/,,'` by configure."
18428 # First look for the input files in the build tree, otherwise in the
18430 ac_file_inputs
=`IFS=:
18431 for f in $ac_file_in; do
18433 -) echo $tmp/stdin ;;
18435 # Absolute (can't be DOS-style, as IFS=:)
18436 test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
18437 echo "$as_me: error: cannot find input file: $f" >&2;}
18438 { (exit 1); exit 1; }; }
18441 if test -f "$f"; then
18444 elif test -f "$srcdir/$f"; then
18449 { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
18450 echo "$as_me: error: cannot find input file: $f" >&2;}
18451 { (exit 1); exit 1; }; }
18454 done` ||
{ (exit 1); exit 1; }
18456 if test x
"$ac_file" != x-
; then
18457 { echo "$as_me:$LINENO: creating $ac_file" >&5
18458 echo "$as_me: creating $ac_file" >&6;}
18462 cat >>$CONFIG_STATUS <<_ACEOF
18466 cat >>$CONFIG_STATUS <<\_ACEOF
18468 /@
[a-zA-Z_
][a-zA-Z_0-9
]*@
/!b
18469 s
,@configure_input@
,$configure_input,;t t
18470 s
,@srcdir@
,$ac_srcdir,;t t
18471 s
,@abs_srcdir@
,$ac_abs_srcdir,;t t
18472 s
,@top_srcdir@
,$ac_top_srcdir,;t t
18473 s
,@abs_top_srcdir@
,$ac_abs_top_srcdir,;t t
18474 s
,@builddir@
,$ac_builddir,;t t
18475 s
,@abs_builddir@
,$ac_abs_builddir,;t t
18476 s
,@top_builddir@
,$ac_top_builddir,;t t
18477 s
,@abs_top_builddir@
,$ac_abs_top_builddir,;t t
18478 s
,@INSTALL@
,$ac_INSTALL,;t t
18479 " $ac_file_inputs | (eval "$ac_sed_cmds") >$tmp/out
18481 if test x"$ac_file" != x-; then
18482 mv $tmp/out $ac_file
18490 cat >>$CONFIG_STATUS <<\_ACEOF
18493 # CONFIG_HEADER section.
18496 # These sed commands are passed to sed as "A NAME B NAME C VALUE D
", where
18497 # NAME is the cpp macro being defined and VALUE is the value it is being given.
18499 # ac_d sets the value in "#define NAME VALUE" lines.
18500 ac_dA
='s,^\([ ]*\)#\([ ]*define[ ][ ]*\)'
18501 ac_dB
='[ ].*$,\1#\2'
18504 # ac_u turns "#undef NAME" without trailing blanks into "#define NAME VALUE".
18505 ac_uA
='s,^\([ ]*\)#\([ ]*\)undef\([ ][ ]*\)'
18506 ac_uB
='$,\1#\2define\3'
18510 for ac_file
in : $CONFIG_HEADERS; do test "x$ac_file" = x
: && continue
18511 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
18513 - |
*:- |
*:-:* ) # input from stdin
18515 ac_file_in
=`echo "$ac_file" | sed 's,[^:]*:,,'`
18516 ac_file
=`echo "$ac_file" | sed 's,:.*,,'` ;;
18517 *:* ) ac_file_in
=`echo "$ac_file" | sed 's,[^:]*:,,'`
18518 ac_file
=`echo "$ac_file" | sed 's,:.*,,'` ;;
18519 * ) ac_file_in
=$ac_file.
in ;;
18522 test x
"$ac_file" != x-
&& { echo "$as_me:$LINENO: creating $ac_file" >&5
18523 echo "$as_me: creating $ac_file" >&6;}
18525 # First look for the input files in the build tree, otherwise in the
18527 ac_file_inputs
=`IFS=:
18528 for f in $ac_file_in; do
18530 -) echo $tmp/stdin ;;
18532 # Absolute (can't be DOS-style, as IFS=:)
18533 test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
18534 echo "$as_me: error: cannot find input file: $f" >&2;}
18535 { (exit 1); exit 1; }; }
18536 # Do quote $f, to prevent DOS paths from being IFS'd.
18539 if test -f "$f"; then
18542 elif test -f "$srcdir/$f"; then
18547 { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
18548 echo "$as_me: error: cannot find input file: $f" >&2;}
18549 { (exit 1); exit 1; }; }
18552 done` ||
{ (exit 1); exit 1; }
18553 # Remove the trailing spaces.
18554 sed 's/[ ]*$//' $ac_file_inputs >$tmp/in
18558 # Transform confdefs.h into two sed scripts, `conftest.defines' and
18559 # `conftest.undefs', that substitutes the proper values into
18560 # config.h.in to produce config.h. The first handles `#define'
18561 # templates, and the second `#undef' templates.
18562 # And first: Protect against being on the right side of a sed subst in
18563 # config.status. Protect against being in an unquoted here document
18564 # in config.status.
18565 rm -f conftest.defines conftest.undefs
18566 # Using a here document instead of a string reduces the quoting nightmare.
18567 # Putting comments in sed scripts is not portable.
18569 # `end' is used to avoid that the second main sed command (meant for
18570 # 0-ary CPP macros) applies to n-ary macro definitions.
18571 # See the Autoconf documentation for `clear'.
18572 cat >confdef2sed.
sed <<\_ACEOF
18577 s,^[ ]*#[ ]*define[ ][ ]*\([^ (][^ (]*\)\(([^)]*)\)[ ]*\(.*\)$,${ac_dA}\1${ac_dB}\1\2${ac_dC}\3${ac_dD},gp
18579 s,^[ ]*#[ ]*define[ ][ ]*\([^ ][^ ]*\)[ ]*\(.*\)$,${ac_dA}\1${ac_dB}\1${ac_dC}\2${ac_dD},gp
18582 # If some macros were called several times there might be several times
18583 # the same #defines, which is useless. Nevertheless, we may not want to
18584 # sort them, since we want the *last* AC-DEFINE to be honored.
18585 uniq confdefs.h | sed -n -f confdef2sed.sed >conftest.defines
18586 sed 's/ac_d/ac_u/g' conftest.defines >conftest.undefs
18587 rm -f confdef2sed.sed
18589 # This sed command replaces #undef with comments. This is necessary, for
18590 # example, in the case of _POSIX_SOURCE, which is predefined and required
18591 # on some systems where configure will not decide to define it.
18592 cat >>conftest.undefs <<\_ACEOF
18593 s,^[ ]*#[ ]*undef[ ][ ]*[a-zA-Z_][a-zA-Z_0-9]*,/* & */,
18596 # Break up conftest.defines because some shells have a limit on the size
18597 # of here documents, and old seds have small limits too (100 cmds).
18598 echo ' # Handle all the #define templates only if necessary.' >>$CONFIG_STATUS
18599 echo ' if grep "^[ ]*#[ ]*define" $tmp/in >/dev/null; then' >>$CONFIG_STATUS
18600 echo ' # If there are no defines, we may have an empty if/fi' >>$CONFIG_STATUS
18601 echo ' :' >>$CONFIG_STATUS
18602 rm -f conftest.tail
18603 while grep . conftest.defines >/dev/null
18605 # Write a limited-size here document to $tmp/defines.sed.
18606 echo ' cat >$tmp/defines.sed <<CEOF' >>$CONFIG_STATUS
18607 # Speed up: don't consider the non `#define' lines.
18608 echo '/^[ ]*#[ ]*define/!b' >>$CONFIG_STATUS
18609 # Work around the forget-to-reset-the-flag bug.
18610 echo 't clr' >>$CONFIG_STATUS
18611 echo ': clr' >>$CONFIG_STATUS
18612 sed ${ac_max_here_lines}q conftest.defines
>>$CONFIG_STATUS
18614 sed -f $tmp/defines.sed $tmp/in >$tmp/out
18616 mv $tmp/out $tmp/in
18618 sed 1,${ac_max_here_lines}d conftest.defines
>conftest.
tail
18619 rm -f conftest.defines
18620 mv conftest.
tail conftest.defines
18622 rm -f conftest.defines
18623 echo ' fi # grep' >>$CONFIG_STATUS
18624 echo >>$CONFIG_STATUS
18626 # Break up conftest.undefs because some shells have a limit on the size
18627 # of here documents, and old seds have small limits too (100 cmds).
18628 echo ' # Handle all the #undef templates' >>$CONFIG_STATUS
18629 rm -f conftest.
tail
18630 while grep . conftest.undefs
>/dev
/null
18632 # Write a limited-size here document to $tmp/undefs.sed.
18633 echo ' cat >$tmp/undefs.sed <<CEOF' >>$CONFIG_STATUS
18634 # Speed up: don't consider the non
`#undef'
18635 echo '/^[ ]*#[ ]*undef/!b' >>$CONFIG_STATUS
18636 # Work around the forget-to-reset-the-flag bug.
18637 echo 't clr' >>$CONFIG_STATUS
18638 echo ': clr' >>$CONFIG_STATUS
18639 sed ${ac_max_here_lines}q conftest.undefs >>$CONFIG_STATUS
18641 sed -f $tmp/undefs.sed $tmp/in >$tmp/out
18643 mv $tmp/out $tmp/in
18645 sed 1,${ac_max_here_lines}d conftest.undefs >conftest.tail
18646 rm -f conftest.undefs
18647 mv conftest.tail conftest.undefs
18649 rm -f conftest.undefs
18651 cat >>$CONFIG_STATUS <<\_ACEOF
18652 # Let's still pretend it is `configure
' which instantiates (i.e., don't
18653 # use $as_me), people would be surprised to read:
18654 # /* config.h. Generated by config.status. */
18655 if test x
"$ac_file" = x-
; then
18656 echo "/* Generated by configure. */" >$tmp/config.h
18658 echo "/* $ac_file. Generated by configure. */" >$tmp/config.h
18660 cat $tmp/in >>$tmp/config.h
18662 if test x
"$ac_file" != x-
; then
18663 if diff $ac_file $tmp/config.h
>/dev
/null
2>&1; then
18664 { echo "$as_me:$LINENO: $ac_file is unchanged" >&5
18665 echo "$as_me: $ac_file is unchanged" >&6;}
18667 ac_dir
=`(dirname "$ac_file") 2>/dev/null ||
18668 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
18669 X"$ac_file" : 'X\(//\)[^/]' \| \
18670 X"$ac_file" : 'X\(//\)$' \| \
18671 X"$ac_file" : 'X\(/\)' \| \
18672 . : '\(.\)' 2>/dev/null ||
18674 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
18675 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
18676 /^X\(\/\/\)$/{ s//\1/; q; }
18677 /^X\(\/\).*/{ s//\1/; q; }
18679 { if $as_mkdir_p; then
18684 while test ! -d "$as_dir"; do
18685 as_dirs
="$as_dir $as_dirs"
18686 as_dir
=`(dirname "$as_dir") 2>/dev/null ||
18687 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
18688 X"$as_dir" : 'X\(//\)[^/]' \| \
18689 X"$as_dir" : 'X\(//\)$' \| \
18690 X"$as_dir" : 'X\(/\)' \| \
18691 . : '\(.\)' 2>/dev/null ||
18693 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
18694 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
18695 /^X\(\/\/\)$/{ s//\1/; q; }
18696 /^X\(\/\).*/{ s//\1/; q; }
18699 test ! -n "$as_dirs" || mkdir
$as_dirs
18700 fi ||
{ { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
18701 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
18702 { (exit 1); exit 1; }; }; }
18705 mv $tmp/config.h
$ac_file
18709 rm -f $tmp/config.h
18711 # Compute $ac_file's index in $config_headers.
18713 for _am_header
in $config_headers :; do
18714 case $_am_header in
18715 $ac_file |
$ac_file:* )
18718 _am_stamp_count
=`expr $_am_stamp_count + 1` ;;
18721 echo "timestamp for $ac_file" >`(dirname $ac_file) 2>/dev/null ||
18722 $as_expr X$ac_file : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
18723 X$ac_file : 'X\(//\)[^/]' \| \
18724 X$ac_file : 'X\(//\)$' \| \
18725 X$ac_file : 'X\(/\)' \| \
18726 . : '\(.\)' 2>/dev/null ||
18728 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
18729 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
18730 /^X\(\/\/\)$/{ s//\1/; q; }
18731 /^X\(\/\).*/{ s//\1/; q; }
18732 s/.*/./; q'`/stamp-h
$_am_stamp_count
18735 cat >>$CONFIG_STATUS <<\_ACEOF
18738 # CONFIG_LINKS section.
18741 for ac_file
in : $CONFIG_LINKS; do test "x$ac_file" = x
: && continue
18742 ac_dest
=`echo "$ac_file" | sed 's,:.*,,'`
18743 ac_source
=`echo "$ac_file" | sed 's,[^:]*:,,'`
18745 { echo "$as_me:$LINENO: linking $srcdir/$ac_source to $ac_dest" >&5
18746 echo "$as_me: linking $srcdir/$ac_source to $ac_dest" >&6;}
18748 if test ! -r $srcdir/$ac_source; then
18749 { { echo "$as_me:$LINENO: error: $srcdir/$ac_source: file not found" >&5
18750 echo "$as_me: error: $srcdir/$ac_source: file not found" >&2;}
18751 { (exit 1); exit 1; }; }
18755 # Make relative symlinks.
18756 ac_dest_dir
=`(dirname "$ac_dest") 2>/dev/null ||
18757 $as_expr X"$ac_dest" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
18758 X"$ac_dest" : 'X\(//\)[^/]' \| \
18759 X"$ac_dest" : 'X\(//\)$' \| \
18760 X"$ac_dest" : 'X\(/\)' \| \
18761 . : '\(.\)' 2>/dev/null ||
18763 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
18764 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
18765 /^X\(\/\/\)$/{ s//\1/; q; }
18766 /^X\(\/\).*/{ s//\1/; q; }
18768 { if $as_mkdir_p; then
18769 mkdir
-p "$ac_dest_dir"
18771 as_dir
="$ac_dest_dir"
18773 while test ! -d "$as_dir"; do
18774 as_dirs
="$as_dir $as_dirs"
18775 as_dir
=`(dirname "$as_dir") 2>/dev/null ||
18776 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
18777 X"$as_dir" : 'X\(//\)[^/]' \| \
18778 X"$as_dir" : 'X\(//\)$' \| \
18779 X"$as_dir" : 'X\(/\)' \| \
18780 . : '\(.\)' 2>/dev/null ||
18782 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
18783 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
18784 /^X\(\/\/\)$/{ s//\1/; q; }
18785 /^X\(\/\).*/{ s//\1/; q; }
18788 test ! -n "$as_dirs" || mkdir
$as_dirs
18789 fi ||
{ { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dest_dir\"" >&5
18790 echo "$as_me: error: cannot create directory \"$ac_dest_dir\"" >&2;}
18791 { (exit 1); exit 1; }; }; }
18795 if test "$ac_dest_dir" != .
; then
18796 ac_dir_suffix
=/`echo "$ac_dest_dir" | sed 's,^\.[\\/],,'`
18797 # A "../" for each directory in $ac_dir_suffix.
18798 ac_top_builddir
=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
18800 ac_dir_suffix
= ac_top_builddir
=
18804 .
) # No --srcdir option. We are building in place.
18806 if test -z "$ac_top_builddir"; then
18809 ac_top_srcdir
=`echo $ac_top_builddir | sed 's,/$,,'`
18811 [\\/]* | ?
:[\\/]* ) # Absolute path.
18812 ac_srcdir
=$srcdir$ac_dir_suffix;
18813 ac_top_srcdir
=$srcdir ;;
18814 *) # Relative path.
18815 ac_srcdir
=$ac_top_builddir$srcdir$ac_dir_suffix
18816 ac_top_srcdir
=$ac_top_builddir$srcdir ;;
18819 # Do not use `cd foo && pwd` to compute absolute paths, because
18820 # the directories may not exist.
18822 .
) ac_abs_builddir
="$ac_dest_dir";;
18824 case "$ac_dest_dir" in
18825 .
) ac_abs_builddir
=`pwd`;;
18826 [\\/]* | ?
:[\\/]* ) ac_abs_builddir
="$ac_dest_dir";;
18827 *) ac_abs_builddir
=`pwd`/"$ac_dest_dir";;
18830 case $ac_abs_builddir in
18831 .
) ac_abs_top_builddir
=${ac_top_builddir}.
;;
18833 case ${ac_top_builddir}.
in
18834 .
) ac_abs_top_builddir
=$ac_abs_builddir;;
18835 [\\/]* | ?
:[\\/]* ) ac_abs_top_builddir
=${ac_top_builddir}.
;;
18836 *) ac_abs_top_builddir
=$ac_abs_builddir/${ac_top_builddir}.
;;
18839 case $ac_abs_builddir in
18840 .
) ac_abs_srcdir
=$ac_srcdir;;
18843 .
) ac_abs_srcdir
=$ac_abs_builddir;;
18844 [\\/]* | ?
:[\\/]* ) ac_abs_srcdir
=$ac_srcdir;;
18845 *) ac_abs_srcdir
=$ac_abs_builddir/$ac_srcdir;;
18848 case $ac_abs_builddir in
18849 .
) ac_abs_top_srcdir
=$ac_top_srcdir;;
18851 case $ac_top_srcdir in
18852 .
) ac_abs_top_srcdir
=$ac_abs_builddir;;
18853 [\\/]* | ?
:[\\/]* ) ac_abs_top_srcdir
=$ac_top_srcdir;;
18854 *) ac_abs_top_srcdir
=$ac_abs_builddir/$ac_top_srcdir;;
18860 [\\/$
]* | ?
:[\\/]* ) ac_rel_source
=$srcdir/$ac_source ;;
18861 *) ac_rel_source
=$ac_top_builddir$srcdir/$ac_source ;;
18864 # Try a symlink, then a hard link, then a copy.
18865 ln -s $ac_rel_source $ac_dest 2>/dev
/null ||
18866 ln $srcdir/$ac_source $ac_dest 2>/dev
/null ||
18867 cp -p $srcdir/$ac_source $ac_dest ||
18868 { { echo "$as_me:$LINENO: error: cannot link or copy $srcdir/$ac_source to $ac_dest" >&5
18869 echo "$as_me: error: cannot link or copy $srcdir/$ac_source to $ac_dest" >&2;}
18870 { (exit 1); exit 1; }; }
18873 cat >>$CONFIG_STATUS <<\_ACEOF
18876 # CONFIG_COMMANDS section.
18878 for ac_file
in : $CONFIG_COMMANDS; do test "x$ac_file" = x
: && continue
18879 ac_dest
=`echo "$ac_file" | sed 's,:.*,,'`
18880 ac_source
=`echo "$ac_file" | sed 's,[^:]*:,,'`
18881 ac_dir
=`(dirname "$ac_dest") 2>/dev/null ||
18882 $as_expr X"$ac_dest" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
18883 X"$ac_dest" : 'X\(//\)[^/]' \| \
18884 X"$ac_dest" : 'X\(//\)$' \| \
18885 X"$ac_dest" : 'X\(/\)' \| \
18886 . : '\(.\)' 2>/dev/null ||
18888 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
18889 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
18890 /^X\(\/\/\)$/{ s//\1/; q; }
18891 /^X\(\/\).*/{ s//\1/; q; }
18893 { if $as_mkdir_p; then
18898 while test ! -d "$as_dir"; do
18899 as_dirs
="$as_dir $as_dirs"
18900 as_dir
=`(dirname "$as_dir") 2>/dev/null ||
18901 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
18902 X"$as_dir" : 'X\(//\)[^/]' \| \
18903 X"$as_dir" : 'X\(//\)$' \| \
18904 X"$as_dir" : 'X\(/\)' \| \
18905 . : '\(.\)' 2>/dev/null ||
18907 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
18908 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
18909 /^X\(\/\/\)$/{ s//\1/; q; }
18910 /^X\(\/\).*/{ s//\1/; q; }
18913 test ! -n "$as_dirs" || mkdir
$as_dirs
18914 fi ||
{ { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
18915 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
18916 { (exit 1); exit 1; }; }; }
18920 if test "$ac_dir" != .
; then
18921 ac_dir_suffix
=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
18922 # A "../" for each directory in $ac_dir_suffix.
18923 ac_top_builddir
=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
18925 ac_dir_suffix
= ac_top_builddir
=
18929 .
) # No --srcdir option. We are building in place.
18931 if test -z "$ac_top_builddir"; then
18934 ac_top_srcdir
=`echo $ac_top_builddir | sed 's,/$,,'`
18936 [\\/]* | ?
:[\\/]* ) # Absolute path.
18937 ac_srcdir
=$srcdir$ac_dir_suffix;
18938 ac_top_srcdir
=$srcdir ;;
18939 *) # Relative path.
18940 ac_srcdir
=$ac_top_builddir$srcdir$ac_dir_suffix
18941 ac_top_srcdir
=$ac_top_builddir$srcdir ;;
18944 # Do not use `cd foo && pwd` to compute absolute paths, because
18945 # the directories may not exist.
18947 .
) ac_abs_builddir
="$ac_dir";;
18950 .
) ac_abs_builddir
=`pwd`;;
18951 [\\/]* | ?
:[\\/]* ) ac_abs_builddir
="$ac_dir";;
18952 *) ac_abs_builddir
=`pwd`/"$ac_dir";;
18955 case $ac_abs_builddir in
18956 .
) ac_abs_top_builddir
=${ac_top_builddir}.
;;
18958 case ${ac_top_builddir}.
in
18959 .
) ac_abs_top_builddir
=$ac_abs_builddir;;
18960 [\\/]* | ?
:[\\/]* ) ac_abs_top_builddir
=${ac_top_builddir}.
;;
18961 *) ac_abs_top_builddir
=$ac_abs_builddir/${ac_top_builddir}.
;;
18964 case $ac_abs_builddir in
18965 .
) ac_abs_srcdir
=$ac_srcdir;;
18968 .
) ac_abs_srcdir
=$ac_abs_builddir;;
18969 [\\/]* | ?
:[\\/]* ) ac_abs_srcdir
=$ac_srcdir;;
18970 *) ac_abs_srcdir
=$ac_abs_builddir/$ac_srcdir;;
18973 case $ac_abs_builddir in
18974 .
) ac_abs_top_srcdir
=$ac_top_srcdir;;
18976 case $ac_top_srcdir in
18977 .
) ac_abs_top_srcdir
=$ac_abs_builddir;;
18978 [\\/]* | ?
:[\\/]* ) ac_abs_top_srcdir
=$ac_top_srcdir;;
18979 *) ac_abs_top_srcdir
=$ac_abs_builddir/$ac_top_srcdir;;
18984 { echo "$as_me:$LINENO: executing $ac_dest commands" >&5
18985 echo "$as_me: executing $ac_dest commands" >&6;}
18987 depfiles
) test x
"$AMDEP_TRUE" != x
"" ||
for mf
in $CONFIG_FILES; do
18988 # Strip MF so we end up with the name of the file.
18989 mf
=`echo "$mf" | sed -e 's/:.*$//'`
18990 # Check whether this is an Automake generated Makefile or not.
18991 # We used to match only the files named `Makefile.in', but
18992 # some people rename them; so instead we look at the file content.
18993 # Grep'ing the first line is not enough: some people post-process
18994 # each Makefile.in and add a new line on top of each file to say so.
18995 # So let's grep whole file.
18996 if grep '^#.*generated by automake' $mf > /dev
/null
2>&1; then
18997 dirpart
=`(dirname "$mf") 2>/dev/null ||
18998 $as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
18999 X"$mf" : 'X\(//\)[^/]' \| \
19000 X"$mf" : 'X\(//\)$' \| \
19001 X"$mf" : 'X\(/\)' \| \
19002 . : '\(.\)' 2>/dev/null ||
19004 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
19005 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
19006 /^X\(\/\/\)$/{ s//\1/; q; }
19007 /^X\(\/\).*/{ s//\1/; q; }
19012 # Extract the definition of DEPDIR, am__include, and am__quote
19013 # from the Makefile without running `make'.
19014 DEPDIR
=`sed -n 's/^DEPDIR = //p' < "$mf"`
19015 test -z "$DEPDIR" && continue
19016 am__include
=`sed -n 's/^am__include = //p' < "$mf"`
19017 test -z "am__include" && continue
19018 am__quote
=`sed -n 's/^am__quote = //p' < "$mf"`
19019 # When using ansi2knr, U may be empty or an underscore; expand it
19020 U
=`sed -n 's/^U = //p' < "$mf"`
19021 # Find all dependency output files, they are included files with
19022 # $(DEPDIR) in their names. We invoke sed twice because it is the
19023 # simplest approach to changing $(DEPDIR) to its actual value in the
19025 for file in `sed -n "
19026 s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
19027 sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do
19028 # Make sure the directory exists.
19029 test -f "$dirpart/$file" && continue
19030 fdir
=`(dirname "$file") 2>/dev/null ||
19031 $as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
19032 X"$file" : 'X\(//\)[^/]' \| \
19033 X"$file" : 'X\(//\)$' \| \
19034 X"$file" : 'X\(/\)' \| \
19035 . : '\(.\)' 2>/dev/null ||
19037 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
19038 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
19039 /^X\(\/\/\)$/{ s//\1/; q; }
19040 /^X\(\/\).*/{ s//\1/; q; }
19042 { if $as_mkdir_p; then
19043 mkdir
-p $dirpart/$fdir
19045 as_dir
=$dirpart/$fdir
19047 while test ! -d "$as_dir"; do
19048 as_dirs
="$as_dir $as_dirs"
19049 as_dir
=`(dirname "$as_dir") 2>/dev/null ||
19050 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
19051 X"$as_dir" : 'X\(//\)[^/]' \| \
19052 X"$as_dir" : 'X\(//\)$' \| \
19053 X"$as_dir" : 'X\(/\)' \| \
19054 . : '\(.\)' 2>/dev/null ||
19056 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
19057 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
19058 /^X\(\/\/\)$/{ s//\1/; q; }
19059 /^X\(\/\).*/{ s//\1/; q; }
19062 test ! -n "$as_dirs" || mkdir
$as_dirs
19063 fi ||
{ { echo "$as_me:$LINENO: error: cannot create directory $dirpart/$fdir" >&5
19064 echo "$as_me: error: cannot create directory $dirpart/$fdir" >&2;}
19065 { (exit 1); exit 1; }; }; }
19067 # echo "creating $dirpart/$file"
19068 echo '# dummy' > "$dirpart/$file"
19073 { echo "$as_me:$LINENO: creating $ac_stdint_h : $_ac_stdint_h" >&5
19074 echo "$as_me: creating $ac_stdint_h : $_ac_stdint_h" >&6;}
19075 ac_stdint
=$tmp/_stdint.h
19077 echo "#ifndef" $_ac_stdint_h >$ac_stdint
19078 echo "#define" $_ac_stdint_h "1" >>$ac_stdint
19079 echo "#ifndef" _GENERATED_STDINT_H
>>$ac_stdint
19080 echo "#define" _GENERATED_STDINT_H
'"'$PACKAGE $VERSION'"' >>$ac_stdint
19081 echo "/* generated $ac_cv_stdint_message */" >>$ac_stdint
19082 if test "_$ac_cv_header_stdint_t" != "_" ; then
19083 echo "#define _STDINT_HAVE_STDINT_H" "1" >>$ac_stdint
19084 echo "#include <stdint.h>" >>$ac_stdint
19085 echo "#endif" >>$ac_stdint
19086 echo "#endif" >>$ac_stdint
19089 cat >>$ac_stdint <<STDINT_EOF
19091 /* ................... shortcircuit part ........................... */
19093 #if defined HAVE_STDINT_H || defined _STDINT_HAVE_STDINT_H
19094 #include <stdint.h>
19096 #include <stddef.h>
19098 /* .................... configured part ............................ */
19102 echo "/* whether we have a C99 compatible stdint header file */" >>$ac_stdint
19103 if test "_$ac_cv_header_stdint_x" != "_" ; then
19104 ac_header
="$ac_cv_header_stdint_x"
19105 echo "#define _STDINT_HEADER_INTPTR" '"'"$ac_header"'"' >>$ac_stdint
19107 echo "/* #undef _STDINT_HEADER_INTPTR */" >>$ac_stdint
19110 echo "/* whether we have a C96 compatible inttypes header file */" >>$ac_stdint
19111 if test "_$ac_cv_header_stdint_o" != "_" ; then
19112 ac_header
="$ac_cv_header_stdint_o"
19113 echo "#define _STDINT_HEADER_UINT32" '"'"$ac_header"'"' >>$ac_stdint
19115 echo "/* #undef _STDINT_HEADER_UINT32 */" >>$ac_stdint
19118 echo "/* whether we have a BSD compatible inet types header */" >>$ac_stdint
19119 if test "_$ac_cv_header_stdint_u" != "_" ; then
19120 ac_header
="$ac_cv_header_stdint_u"
19121 echo "#define _STDINT_HEADER_U_INT32" '"'"$ac_header"'"' >>$ac_stdint
19123 echo "/* #undef _STDINT_HEADER_U_INT32 */" >>$ac_stdint
19126 echo "" >>$ac_stdint
19128 if test "_$ac_header" != "_" ; then if test "$ac_header" != "stddef.h" ; then
19129 echo "#include <$ac_header>" >>$ac_stdint
19130 echo "" >>$ac_stdint
19133 echo "/* which 64bit typedef has been found */" >>$ac_stdint
19134 if test "$ac_cv_type_uint64_t" = "yes" ; then
19135 echo "#define _STDINT_HAVE_UINT64_T" "1" >>$ac_stdint
19137 echo "/* #undef _STDINT_HAVE_UINT64_T */" >>$ac_stdint
19139 if test "$ac_cv_type_u_int64_t" = "yes" ; then
19140 echo "#define _STDINT_HAVE_U_INT64_T" "1" >>$ac_stdint
19142 echo "/* #undef _STDINT_HAVE_U_INT64_T */" >>$ac_stdint
19144 echo "" >>$ac_stdint
19146 echo "/* which type model has been detected */" >>$ac_stdint
19147 if test "_$ac_cv_char_data_model" != "_" ; then
19148 echo "#define _STDINT_CHAR_MODEL" "$ac_cv_char_data_model" >>$ac_stdint
19149 echo "#define _STDINT_LONG_MODEL" "$ac_cv_long_data_model" >>$ac_stdint
19151 echo "/* #undef _STDINT_CHAR_MODEL // skipped */" >>$ac_stdint
19152 echo "/* #undef _STDINT_LONG_MODEL // skipped */" >>$ac_stdint
19154 echo "" >>$ac_stdint
19156 echo "/* whether int_least types were detected */" >>$ac_stdint
19157 if test "$ac_cv_type_int_least32_t" = "yes"; then
19158 echo "#define _STDINT_HAVE_INT_LEAST32_T" "1" >>$ac_stdint
19160 echo "/* #undef _STDINT_HAVE_INT_LEAST32_T */" >>$ac_stdint
19162 echo "/* whether int_fast types were detected */" >>$ac_stdint
19163 if test "$ac_cv_type_int_fast32_t" = "yes"; then
19164 echo "#define _STDINT_HAVE_INT_FAST32_T" "1" >>$ac_stdint
19166 echo "/* #undef _STDINT_HAVE_INT_FAST32_T */" >>$ac_stdint
19168 echo "/* whether intmax_t type was detected */" >>$ac_stdint
19169 if test "$ac_cv_type_intmax_t" = "yes"; then
19170 echo "#define _STDINT_HAVE_INTMAX_T" "1" >>$ac_stdint
19172 echo "/* #undef _STDINT_HAVE_INTMAX_T */" >>$ac_stdint
19174 echo "" >>$ac_stdint
19176 cat >>$ac_stdint <<STDINT_EOF
19177 /* .................... detections part ............................ */
19179 /* whether we need to define bitspecific types from compiler base types */
19180 #ifndef _STDINT_HEADER_INTPTR
19181 #ifndef _STDINT_HEADER_UINT32
19182 #ifndef _STDINT_HEADER_U_INT32
19183 #define _STDINT_NEED_INT_MODEL_T
19185 #define _STDINT_HAVE_U_INT_TYPES
19190 #ifdef _STDINT_HAVE_U_INT_TYPES
19191 #undef _STDINT_NEED_INT_MODEL_T
19194 #ifdef _STDINT_CHAR_MODEL
19195 #if _STDINT_CHAR_MODEL+0 == 122 || _STDINT_CHAR_MODEL+0 == 124
19196 #ifndef _STDINT_BYTE_MODEL
19197 #define _STDINT_BYTE_MODEL 12
19202 #ifndef _STDINT_HAVE_INT_LEAST32_T
19203 #define _STDINT_NEED_INT_LEAST_T
19206 #ifndef _STDINT_HAVE_INT_FAST32_T
19207 #define _STDINT_NEED_INT_FAST_T
19210 #ifndef _STDINT_HEADER_INTPTR
19211 #define _STDINT_NEED_INTPTR_T
19212 #ifndef _STDINT_HAVE_INTMAX_T
19213 #define _STDINT_NEED_INTMAX_T
19218 /* .................... definition part ............................ */
19220 /* some system headers have good uint64_t */
19221 #ifndef _HAVE_UINT64_T
19222 #if defined _STDINT_HAVE_UINT64_T || defined HAVE_UINT64_T
19223 #define _HAVE_UINT64_T
19224 #elif defined _STDINT_HAVE_U_INT64_T || defined HAVE_U_INT64_T
19225 #define _HAVE_UINT64_T
19226 typedef u_int64_t uint64_t;
19230 #ifndef _HAVE_UINT64_T
19231 /* .. here are some common heuristics using compiler runtime specifics */
19232 #if defined __STDC_VERSION__ && defined __STDC_VERSION__ >= 199901L
19233 #define _HAVE_UINT64_T
19234 #define _HAVE_LONGLONG_UINT64_T
19235 typedef long long int64_t;
19236 typedef unsigned long long uint64_t;
19238 #elif !defined __STRICT_ANSI__
19239 #if defined _MSC_VER || defined __WATCOMC__ || defined __BORLANDC__
19240 #define _HAVE_UINT64_T
19241 typedef __int64 int64_t;
19242 typedef unsigned __int64 uint64_t;
19244 #elif defined __GNUC__ || defined __MWERKS__ || defined __ELF__
19245 /* note: all ELF-systems seem to have loff-support which needs 64-bit */
19246 #if !defined _NO_LONGLONG
19247 #define _HAVE_UINT64_T
19248 #define _HAVE_LONGLONG_UINT64_T
19249 typedef long long int64_t;
19250 typedef unsigned long long uint64_t;
19253 #elif defined __alpha || (defined __mips && defined _ABIN32)
19254 #if !defined _NO_LONGLONG
19255 typedef long int64_t;
19256 typedef unsigned long uint64_t;
19258 /* compiler/cpu type to define int64_t */
19263 #if defined _STDINT_HAVE_U_INT_TYPES
19264 /* int8_t int16_t int32_t defined by inet code, redeclare the u_intXX types */
19265 typedef u_int8_t uint8_t;
19266 typedef u_int16_t uint16_t;
19267 typedef u_int32_t uint32_t;
19269 /* glibc compatibility */
19270 #ifndef __int8_t_defined
19271 #define __int8_t_defined
19275 #ifdef _STDINT_NEED_INT_MODEL_T
19276 /* we must guess all the basic types. Apart from byte-adressable system, */
19277 /* there a few 32-bit-only dsp-systems that we guard with BYTE_MODEL 8-} */
19278 /* (btw, those nibble-addressable systems are way off, or so we assume) */
19281 #if defined _STDINT_BYTE_MODEL
19282 #if _STDINT_LONG_MODEL+0 == 242
19283 /* 2:4:2 = IP16 = a normal 16-bit system */
19284 typedef unsigned char uint8_t;
19285 typedef unsigned short uint16_t;
19286 typedef unsigned long uint32_t;
19287 #ifndef __int8_t_defined
19288 #define __int8_t_defined
19289 typedef char int8_t;
19290 typedef short int16_t;
19291 typedef long int32_t;
19293 #elif _STDINT_LONG_MODEL+0 == 244 || _STDINT_LONG_MODEL == 444
19294 /* 2:4:4 = LP32 = a 32-bit system derived from a 16-bit */
19295 /* 4:4:4 = ILP32 = a normal 32-bit system */
19296 typedef unsigned char uint8_t;
19297 typedef unsigned short uint16_t;
19298 typedef unsigned int uint32_t;
19299 #ifndef __int8_t_defined
19300 #define __int8_t_defined
19301 typedef char int8_t;
19302 typedef short int16_t;
19303 typedef int int32_t;
19305 #elif _STDINT_LONG_MODEL+0 == 484 || _STDINT_LONG_MODEL+0 == 488
19306 /* 4:8:4 = IP32 = a 32-bit system prepared for 64-bit */
19307 /* 4:8:8 = LP64 = a normal 64-bit system */
19308 typedef unsigned char uint8_t;
19309 typedef unsigned short uint16_t;
19310 typedef unsigned int uint32_t;
19311 #ifndef __int8_t_defined
19312 #define __int8_t_defined
19313 typedef char int8_t;
19314 typedef short int16_t;
19315 typedef int int32_t;
19317 /* this system has a "long" of 64bit */
19318 #ifndef _HAVE_UINT64_T
19319 #define _HAVE_UINT64_T
19320 typedef unsigned long uint64_t;
19321 typedef long int64_t;
19323 #elif _STDINT_LONG_MODEL+0 == 448
19324 /* LLP64 a 64-bit system derived from a 32-bit system */
19325 typedef unsigned char uint8_t;
19326 typedef unsigned short uint16_t;
19327 typedef unsigned int uint32_t;
19328 #ifndef __int8_t_defined
19329 #define __int8_t_defined
19330 typedef char int8_t;
19331 typedef short int16_t;
19332 typedef int int32_t;
19334 /* assuming the system has a "long long" */
19335 #ifndef _HAVE_UINT64_T
19336 #define _HAVE_UINT64_T
19337 #define _HAVE_LONGLONG_UINT64_T
19338 typedef unsigned long long uint64_t;
19339 typedef long long int64_t;
19342 #define _STDINT_NO_INT32_T
19345 #define _STDINT_NO_INT8_T
19346 #define _STDINT_NO_INT32_T
19351 * quote from SunOS-5.8 sys/inttypes.h:
19352 * Use at your own risk. As of February 1996, the committee is squarely
19353 * behind the fixed sized types; the "least" and "fast" types are still being
19354 * discussed. The probability that the "fast" types may be removed before
19355 * the standard is finalized is high enough that they are not currently
19359 #if defined _STDINT_NEED_INT_LEAST_T
19360 typedef int8_t int_least8_t;
19361 typedef int16_t int_least16_t;
19362 typedef int32_t int_least32_t;
19363 #ifdef _HAVE_UINT64_T
19364 typedef int64_t int_least64_t;
19367 typedef uint8_t uint_least8_t;
19368 typedef uint16_t uint_least16_t;
19369 typedef uint32_t uint_least32_t;
19370 #ifdef _HAVE_UINT64_T
19371 typedef uint64_t uint_least64_t;
19376 #if defined _STDINT_NEED_INT_FAST_T
19377 typedef int8_t int_fast8_t;
19378 typedef int int_fast16_t;
19379 typedef int32_t int_fast32_t;
19380 #ifdef _HAVE_UINT64_T
19381 typedef int64_t int_fast64_t;
19384 typedef uint8_t uint_fast8_t;
19385 typedef unsigned uint_fast16_t;
19386 typedef uint32_t uint_fast32_t;
19387 #ifdef _HAVE_UINT64_T
19388 typedef uint64_t uint_fast64_t;
19393 #ifdef _STDINT_NEED_INTMAX_T
19394 #ifdef _HAVE_UINT64_T
19395 typedef int64_t intmax_t;
19396 typedef uint64_t uintmax_t;
19398 typedef long intmax_t;
19399 typedef unsigned long uintmax_t;
19403 #ifdef _STDINT_NEED_INTPTR_T
19404 #ifndef __intptr_t_defined
19405 #define __intptr_t_defined
19406 /* we encourage using "long" to store pointer values, never use "int" ! */
19407 #if _STDINT_LONG_MODEL+0 == 242 || _STDINT_LONG_MODEL+0 == 484
19408 typedef unsigned int uintptr_t;
19409 typedef int intptr_t;
19410 #elif _STDINT_LONG_MODEL+0 == 244 || _STDINT_LONG_MODEL+0 == 444
19411 typedef unsigned long uintptr_t;
19412 typedef long intptr_t;
19413 #elif _STDINT_LONG_MODEL+0 == 448 && defined _HAVE_UINT64_T
19414 typedef uint64_t uintptr_t;
19415 typedef int64_t intptr_t;
19416 #else /* matches typical system types ILP32 and LP64 - but not IP16 or LLP64 */
19417 typedef unsigned long uintptr_t;
19418 typedef long intptr_t;
19423 /* The ISO C99 standard specifies that in C++ implementations these
19424 should only be defined if explicitly requested. */
19425 #if !defined __cplusplus || defined __STDC_CONSTANT_MACROS
19429 # define INT8_C(c) c
19430 # define INT16_C(c) c
19431 # define INT32_C(c) c
19432 # ifdef _HAVE_LONGLONG_UINT64_T
19433 # define INT64_C(c) c ## L
19435 # define INT64_C(c) c ## LL
19439 # define UINT8_C(c) c ## U
19440 # define UINT16_C(c) c ## U
19441 # define UINT32_C(c) c ## U
19442 # ifdef _HAVE_LONGLONG_UINT64_T
19443 # define UINT64_C(c) c ## UL
19445 # define UINT64_C(c) c ## ULL
19448 /* Maximal type. */
19449 # ifdef _HAVE_LONGLONG_UINT64_T
19450 # define INTMAX_C(c) c ## L
19451 # define UINTMAX_C(c) c ## UL
19453 # define INTMAX_C(c) c ## LL
19454 # define UINTMAX_C(c) c ## ULL
19457 /* literalnumbers */
19461 /* These limits are merily those of a two complement byte-oriented system */
19463 /* Minimum of signed integral types. */
19464 # define INT8_MIN (-128)
19465 # define INT16_MIN (-32767-1)
19466 # define INT32_MIN (-2147483647-1)
19467 # define INT64_MIN (-__INT64_C(9223372036854775807)-1)
19468 /* Maximum of signed integral types. */
19469 # define INT8_MAX (127)
19470 # define INT16_MAX (32767)
19471 # define INT32_MAX (2147483647)
19472 # define INT64_MAX (__INT64_C(9223372036854775807))
19474 /* Maximum of unsigned integral types. */
19475 # define UINT8_MAX (255)
19476 # define UINT16_MAX (65535)
19477 # define UINT32_MAX (4294967295U)
19478 # define UINT64_MAX (__UINT64_C(18446744073709551615))
19480 /* Minimum of signed integral types having a minimum size. */
19481 # define INT_LEAST8_MIN INT8_MIN
19482 # define INT_LEAST16_MIN INT16_MIN
19483 # define INT_LEAST32_MIN INT32_MIN
19484 # define INT_LEAST64_MIN INT64_MIN
19485 /* Maximum of signed integral types having a minimum size. */
19486 # define INT_LEAST8_MAX INT8_MAX
19487 # define INT_LEAST16_MAX INT16_MAX
19488 # define INT_LEAST32_MAX INT32_MAX
19489 # define INT_LEAST64_MAX INT64_MAX
19491 /* Maximum of unsigned integral types having a minimum size. */
19492 # define UINT_LEAST8_MAX UINT8_MAX
19493 # define UINT_LEAST16_MAX UINT16_MAX
19494 # define UINT_LEAST32_MAX UINT32_MAX
19495 # define UINT_LEAST64_MAX UINT64_MAX
19504 if cmp -s $ac_stdint_h $ac_stdint 2>/dev
/null
; then
19505 { echo "$as_me:$LINENO: $ac_stdint_h is unchanged" >&5
19506 echo "$as_me: $ac_stdint_h is unchanged" >&6;}
19508 ac_dir
=`(dirname "$ac_stdint_h") 2>/dev/null ||
19509 $as_expr X"$ac_stdint_h" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
19510 X"$ac_stdint_h" : 'X\(//\)[^/]' \| \
19511 X"$ac_stdint_h" : 'X\(//\)$' \| \
19512 X"$ac_stdint_h" : 'X\(/\)' \| \
19513 . : '\(.\)' 2>/dev/null ||
19514 echo X"$ac_stdint_h" |
19515 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
19516 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
19517 /^X\(\/\/\)$/{ s//\1/; q; }
19518 /^X\(\/\).*/{ s//\1/; q; }
19520 { if $as_mkdir_p; then
19525 while test ! -d "$as_dir"; do
19526 as_dirs
="$as_dir $as_dirs"
19527 as_dir
=`(dirname "$as_dir") 2>/dev/null ||
19528 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
19529 X"$as_dir" : 'X\(//\)[^/]' \| \
19530 X"$as_dir" : 'X\(//\)$' \| \
19531 X"$as_dir" : 'X\(/\)' \| \
19532 . : '\(.\)' 2>/dev/null ||
19534 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
19535 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
19536 /^X\(\/\/\)$/{ s//\1/; q; }
19537 /^X\(\/\).*/{ s//\1/; q; }
19540 test ! -n "$as_dirs" || mkdir
$as_dirs
19541 fi ||
{ { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
19542 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
19543 { (exit 1); exit 1; }; }; }
19546 mv $ac_stdint $ac_stdint_h
19549 gen-classlist
) chmod 755 lib
/gen-classlist.sh
;;
19550 copy-vmresources
) chmod 755 lib
/copy-vmresources.sh
;;
19555 cat >>$CONFIG_STATUS <<\_ACEOF
19557 { (exit 0); exit 0; }
19559 chmod +x
$CONFIG_STATUS
19560 ac_clean_files
=$ac_clean_files_save
19563 # configure is writing to config.log, and then calls config.status.
19564 # config.status does its own redirection, appending to config.log.
19565 # Unfortunately, on DOS this fails, as config.log is still kept open
19566 # by configure, so config.status won't be able to write to it; its
19567 # output is simply discarded. So we exec the FD to /dev/null,
19568 # effectively closing config.log, so it can be properly (re)opened and
19569 # appended to by config.status. When coming back to configure, we
19570 # need to make the FD available again.
19571 if test "$no_create" != yes; then
19573 ac_config_status_args
=
19574 test "$silent" = yes &&
19575 ac_config_status_args
="$ac_config_status_args --quiet"
19577 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success
=false
19579 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
19580 # would make configure fail if this is the last instruction.
19581 $ac_cs_success ||
{ (exit 1); exit 1; }