2 # Guess values for system-dependent variables and create Makefiles.
3 # Generated by GNU Autoconf 2.59 for GNU Classpath 0.91.
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.91'
273 PACKAGE_STRING
='GNU Classpath 0.91'
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 CLASSPATH_CONVENIENCE INSTALL_PROGRAM INSTALL_SCRIPT INSTALL_DATA CYGPATH_W PACKAGE VERSION ACLOCAL AUTOCONF AUTOMAKE AUTOHEADER MAKEINFO install_sh STRIP ac_ct_STRIP INSTALL_STRIP_PROGRAM mkdir_p AWK SET_MAKE am__leading_dot AMTAR am__tar am__untar CREATE_COLLECTIONS_TRUE CREATE_COLLECTIONS_FALSE CREATE_JNI_LIBRARIES_TRUE CREATE_JNI_LIBRARIES_FALSE CREATE_CORE_JNI_LIBRARIES_TRUE CREATE_CORE_JNI_LIBRARIES_FALSE 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 nativeexeclibdir 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 PERL COLLECTIONS_PREFIX 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 FREETYPE2_CFLAGS FREETYPE2_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 FASTJAR INSTALL_GLIBJ_ZIP_TRUE INSTALL_GLIBJ_ZIP_FALSE INSTALL_CLASS_FILES_TRUE INSTALL_CLASS_FILES_FALSE BUILD_CLASS_FILES_TRUE BUILD_CLASS_FILES_FALSE EXAMPLESDIR GJDOC CREATE_API_DOCS_TRUE CREATE_API_DOCS_FALSE JAY JAY_SKELETON REGEN_PARSERS_TRUE REGEN_PARSERS_FALSE USE_PREBUILT_GLIBJ_ZIP_TRUE USE_PREBUILT_GLIBJ_ZIP_FALSE PATH_TO_GLIBJ_ZIP ENABLE_LOCAL_SOCKETS_TRUE ENABLE_LOCAL_SOCKETS_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.91 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.91:";;
872 --disable-FEATURE do not include FEATURE
(same as
--enable-FEATURE=no
)
873 --enable-FEATURE[=ARG
] include FEATURE
[ARG
=yes]
874 --enable-collections create collections.jar default
=no
875 --enable-jni compile JNI
source default
=yes
876 --enable-core-jni compile JNI sources
for core default
=yes
877 --enable-Werror whether to compile C code with
-Werror which turns
878 any compiler warning into a compilation failure
880 --enable-default-toolkit
881 fully qualified class name of default AWT toolkit
882 --enable-xmlj compile native libxml
/xslt library default
=no
883 --disable-alsa compile ALSA providers
(enable by
--enable-alsa)
885 --disable-dependency-tracking speeds up one-time build
886 --enable-dependency-tracking do not reject slow dependency extractors
887 --disable-dssi compile DSSI providers
(enable by
--enable-dssi)
889 --disable-gtk-peer compile GTK native peers
(disabled by
--disable-jni)
892 --enable-gtk-cairo build the cairo Graphics2D implementation on GTK
894 --enable-qt-peer compile Qt4 native peers
(disabled by
--disable-jni)
896 --enable-regen-headers automatically regenerate JNI headers default
=no
897 --enable-static=PKGS build static libraries default
=no
898 --enable-shared=PKGS build shared libraries default
=yes
899 --enable-fast-install=PKGS optimize
for fast installation default
=yes
900 --disable-libtool-lock avoid locking
(might
break parallel builds
)
901 --disable-rpath do not hardcode runtime library paths
902 --enable-maintainer-mode enable make rules and dependencies not useful
903 (and sometimes confusing
) to the casual installer
904 --enable-debug enable runtime debugging code
905 --enable-load-library enable to use JNI native methods default
=yes
906 --enable-java-lang-system-explicit-initialization
907 will the VM explicitly invoke java.lang.System
's
908 static initialization methods default=no
909 --enable-examples enable build of the examples default=yes
910 --enable-portable-native-sync
911 synchronize VM threads portably
912 --enable-local-sockets enables local (AF_LOCAL) socket API default: no
915 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
916 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
917 --with-native-libdir sets the installation directore for native libraries
918 default='${libdir}/${PACKAGE}'
919 --with-glibj-dir sets the installation directory for glibj.zip
920 default='${libdir}/${PACKAGE}'
921 --with-gnu-ld assume the C compiler uses GNU ld default=no
922 --with-pic try to use only PIC/non-PIC objects default=use both
923 --with-libiconv-prefix[=DIR] search for libiconv in DIR/include and DIR/lib
924 --without-libiconv-prefix don't search
for libiconv
in includedir and libdir
925 --with-x use the X Window System
926 --with-qt4dir=DIR Qt4 installation directory used
for OS-X. For other
927 systems use pkg-config.
928 --with-javah specify path or name of a javah-like program
929 --with-gcj bytecode compilation with gcj
930 --with-jikes bytecode compilation with jikes
931 --with-kjc bytecode compilation with kjc
932 --with-gcjx bytecode compilation with gcjx
933 --with-ecj bytecode compilation with ecj
934 --with-classpath specify path to a classes.
zip like
file
935 --with-vm-classes specify path to VM override
source files
936 --with-fastjar=PATH define to use a fastjar style tool
937 --with-glibj define what to
install (zip|flat|both|none|build
)
939 --with-gjdoc generate documentation using gjdoc
(default is NO
)
940 --with-jay Regenerate the parsers with jay must be given the
941 path to the jay executable
942 --with-glibj-zip=ABS.PATH
943 use prebuilt glibj.
zip class library
945 Some influential environment variables
:
946 CC C compiler
command
947 CFLAGS C compiler flags
948 LDFLAGS linker flags
, e.g.
-L<lib dir
> if you have libraries
in a
949 nonstandard directory
<lib dir
>
950 CPPFLAGS C
/C
++ preprocessor flags
, e.g.
-I<include dir
> if you have
951 headers
in a nonstandard directory
<include dir
>
953 CXX C
++ compiler
command
954 CXXFLAGS C
++ compiler flags
955 CXXCPP C
++ preprocessor
957 Use these variables to override the choices made by
`configure' or to help
958 it to find libraries and programs with nonstandard names/locations.
960 Report bugs to <classpath@gnu.org>.
964 if test "$ac_init_help" = "recursive"; then
965 # If there are subdirs, report their specific --help.
967 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
968 test -d $ac_dir || continue
971 if test "$ac_dir" != .; then
972 ac_dir_suffix=/`echo "$ac_dir" |
sed 's,^\.[\\/],,'`
973 # A "../" for each directory in $ac_dir_suffix.
974 ac_top_builddir=`echo "$ac_dir_suffix" |
sed 's,/[^\\/]*,../,g'`
976 ac_dir_suffix= ac_top_builddir=
980 .) # No --srcdir option. We are building in place.
982 if test -z "$ac_top_builddir"; then
985 ac_top_srcdir=`echo $ac_top_builddir |
sed 's,/$,,'`
987 [\\/]* | ?:[\\/]* ) # Absolute path.
988 ac_srcdir=$srcdir$ac_dir_suffix;
989 ac_top_srcdir=$srcdir ;;
991 ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
992 ac_top_srcdir=$ac_top_builddir$srcdir ;;
995 # Do not use `cd foo
&& pwd` to compute absolute paths, because
996 # the directories may not exist.
998 .) ac_abs_builddir="$ac_dir";;
1001 .) ac_abs_builddir=`pwd`;;
1002 [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";;
1003 *) ac_abs_builddir=`pwd`/"$ac_dir";;
1006 case $ac_abs_builddir in
1007 .) ac_abs_top_builddir=${ac_top_builddir}.;;
1009 case ${ac_top_builddir}. in
1010 .) ac_abs_top_builddir=$ac_abs_builddir;;
1011 [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;;
1012 *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;;
1015 case $ac_abs_builddir in
1016 .) ac_abs_srcdir=$ac_srcdir;;
1019 .) ac_abs_srcdir=$ac_abs_builddir;;
1020 [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
1021 *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;;
1024 case $ac_abs_builddir in
1025 .) ac_abs_top_srcdir=$ac_top_srcdir;;
1027 case $ac_top_srcdir in
1028 .) ac_abs_top_srcdir=$ac_abs_builddir;;
1029 [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;;
1030 *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;;
1035 # Check for guested configure; otherwise get Cygnus style configure.
1036 if test -f $ac_srcdir/configure.gnu; then
1038 $SHELL $ac_srcdir/configure.gnu --help=recursive
1039 elif test -f $ac_srcdir/configure; then
1041 $SHELL $ac_srcdir/configure --help=recursive
1042 elif test -f $ac_srcdir/configure.ac ||
1043 test -f $ac_srcdir/configure.in; then
1045 $ac_configure --help
1047 echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1053 test -n "$ac_init_help" && exit 0
1054 if $ac_init_version; then
1056 GNU Classpath configure 0.91
1057 generated by GNU Autoconf 2.59
1059 Copyright (C) 2003 Free Software Foundation, Inc.
1060 This configure script is free software; the Free Software Foundation
1061 gives unlimited permission to copy, distribute and modify it.
1067 This file contains any messages produced by compilers while
1068 running configure, to aid debugging if configure makes a mistake.
1070 It was created by GNU Classpath $as_me 0.91, which was
1071 generated by GNU Autoconf 2.59. Invocation command line was
1082 hostname = `(hostname || uname
-n) 2>/dev
/null |
sed 1q
`
1083 uname -m = `(uname
-m) 2>/dev
/null ||
echo unknown
`
1084 uname -r = `(uname
-r) 2>/dev
/null ||
echo unknown
`
1085 uname -s = `(uname
-s) 2>/dev
/null ||
echo unknown
`
1086 uname -v = `(uname
-v) 2>/dev
/null ||
echo unknown
`
1088 /usr/bin/uname -p = `(/usr
/bin
/uname
-p) 2>/dev
/null ||
echo unknown
`
1089 /bin/uname -X = `(/bin
/uname
-X) 2>/dev
/null ||
echo unknown
`
1091 /bin/arch = `(/bin
/arch
) 2>/dev
/null ||
echo unknown
`
1092 /usr/bin/arch -k = `(/usr
/bin
/arch
-k) 2>/dev
/null ||
echo unknown
`
1093 /usr/convex/getsysinfo = `(/usr
/convex
/getsysinfo
) 2>/dev
/null ||
echo unknown
`
1094 hostinfo = `(hostinfo
) 2>/dev
/null ||
echo unknown
`
1095 /bin/machine = `(/bin
/machine
) 2>/dev
/null ||
echo unknown
`
1096 /usr/bin/oslevel = `(/usr
/bin
/oslevel
) 2>/dev
/null ||
echo unknown
`
1097 /bin/universe = `(/bin
/universe
) 2>/dev
/null ||
echo unknown
`
1101 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1105 test -z "$as_dir" && as_dir=.
1106 echo "PATH: $as_dir"
1121 # Keep a trace of the command line.
1122 # Strip out --no-create and --no-recursion so they do not pile up.
1123 # Strip out --silent because we don't want to record it for future runs.
1124 # Also quote any args containing shell meta-characters.
1125 # Make two passes to allow for proper duplicate-argument suppression.
1130 ac_must_keep_next=false
1136 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
1137 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1138 | -silent | --silent | --silen | --sile | --sil)
1140 *" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
1141 ac_arg=`echo "$ac_arg" |
sed "s/'/'\\\\\\\\''/g"` ;;
1144 1) ac_configure_args0="$ac_configure_args0 '$ac_arg'" ;;
1146 ac_configure_args1="$ac_configure_args1 '$ac_arg'"
1147 if test $ac_must_keep_next = true; then
1148 ac_must_keep_next=false # Got value, back to normal.
1151 *=* | --config-cache | -C | -disable-* | --disable-* \
1152 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
1153 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
1154 | -with-* | --with-* | -without-* | --without-* | --x)
1155 case "$ac_configure_args0 " in
1156 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
1159 -* ) ac_must_keep_next=true ;;
1162 ac_configure_args="$ac_configure_args$ac_sep'$ac_arg'"
1163 # Get rid of the leading space.
1169 $as_unset ac_configure_args0 || test "${ac_configure_args0+set}" != set || { ac_configure_args0=; export ac_configure_args0; }
1170 $as_unset ac_configure_args1 || test "${ac_configure_args1+set}" != set || { ac_configure_args1=; export ac_configure_args1; }
1172 # When interrupted or exit'd, cleanup temporary files, and complete
1173 # config.log. We remove comments because anyway the quotes in there
1174 # would cause problems or look ugly.
1175 # WARNING: Be sure not to use single quotes in there, as some shells,
1176 # such as our DU 5.0 friend, will then `close
' the trap.
1177 trap 'exit_status
=$?
1178 # Save into config.log some information that might help in debugging.
1183 ## ---------------- ##
1184 ## Cache variables. ##
1185 ## ---------------- ##
1188 # The following way of writing the cache mishandles newlines in values,
1191 case `(ac_space='"'"' '"'"'; set | grep ac_space) 2>&1` in
1194 "s/'"'"'/'"'"'\\\\'"'"''"'"'/g;
1195 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='"'"'\\2'"'"'/p"
1199 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
1206 ## ----------------- ##
1207 ## Output variables. ##
1208 ## ----------------- ##
1211 for ac_var
in $ac_subst_vars
1213 eval ac_val
=$
`echo $ac_var`
1214 echo "$ac_var='"'"'$ac_val'"'"'"
1218 if test -n "$ac_subst_files"; then
1225 for ac_var
in $ac_subst_files
1227 eval ac_val
=$
`echo $ac_var`
1228 echo "$ac_var='"'"'$ac_val'"'"'"
1233 if test -s confdefs.h
; then
1240 sed "/^$/d" confdefs.h |
sort
1243 test "$ac_signal" != 0 &&
1244 echo "$as_me: caught signal $ac_signal"
1245 echo "$as_me: exit $exit_status"
1247 rm -f core
*.core
&&
1248 rm -rf conftest
* confdefs
* conf$$
* $ac_clean_files &&
1251 for ac_signal in 1 2 13 15; do
1252 trap 'ac_signal
='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
1256 # confdefs.h avoids OS command line length limits that DEFS can exceed.
1257 rm -rf conftest* confdefs.h
1258 # AIX cpp loses on an empty file, so make sure it contains at least a newline.
1261 # Predefined preprocessor variables.
1263 cat >>confdefs.h <<_ACEOF
1264 #define PACKAGE_NAME "$PACKAGE_NAME"
1268 cat >>confdefs.h <<_ACEOF
1269 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
1273 cat >>confdefs.h <<_ACEOF
1274 #define PACKAGE_VERSION "$PACKAGE_VERSION"
1278 cat >>confdefs.h <<_ACEOF
1279 #define PACKAGE_STRING "$PACKAGE_STRING"
1283 cat >>confdefs.h <<_ACEOF
1284 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
1288 # Let the site file select an alternate cache file if it wants to.
1289 # Prefer explicitly selected file to automatically selected ones.
1290 if test -z "$CONFIG_SITE"; then
1291 if test "x$prefix" != xNONE; then
1292 CONFIG_SITE="$prefix/share/config.site $prefix/etc/config.site"
1294 CONFIG_SITE="$ac_default_prefix/share/config.site $ac_default_prefix/etc/config.site"
1297 for ac_site_file in $CONFIG_SITE; do
1298 if test -r "$ac_site_file"; then
1299 { echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
1300 echo "$as_me: loading site script $ac_site_file" >&6;}
1301 sed 's
/^
/|
/' "$ac_site_file" >&5
1306 if test -r "$cache_file"; then
1307 # Some versions of bash will fail to source /dev/null (special
1308 # files actually), so we avoid doing that.
1309 if test -f "$cache_file"; then
1310 { echo "$as_me:$LINENO: loading cache $cache_file" >&5
1311 echo "$as_me: loading cache $cache_file" >&6;}
1313 [\\/]* | ?:[\\/]* ) . $cache_file;;
1314 *) . ./$cache_file;;
1318 { echo "$as_me:$LINENO: creating cache $cache_file" >&5
1319 echo "$as_me: creating cache $cache_file" >&6;}
1323 # Check that the precious variables saved in the cache have kept the same
1325 ac_cache_corrupted=false
1326 for ac_var in `(set) 2>&1 |
1327 sed -n 's
/^ac_env_\
([a-zA-Z_0-9
]*\
)_set
=.
*/\
1/p
'`; do
1328 eval ac_old_set=\$ac_cv_env_${ac_var}_set
1329 eval ac_new_set=\$ac_env_${ac_var}_set
1330 eval ac_old_val="\$ac_cv_env_${ac_var}_value"
1331 eval ac_new_val="\$ac_env_${ac_var}_value"
1332 case $ac_old_set,$ac_new_set in
1334 { echo "$as_me:$LINENO: error: \`$ac_var' was
set to \
`$ac_old_val' in the previous run" >&5
1335 echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run
" >&2;}
1336 ac_cache_corrupted=: ;;
1338 { echo "$as_me:$LINENO: error
: \
`$ac_var' was not set in the previous run" >&5
1339 echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
1340 ac_cache_corrupted=: ;;
1343 if test "x$ac_old_val" != "x$ac_new_val"; then
1344 { echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run
:" >&5
1345 echo "$as_me: error
: \
`$ac_var' has changed since the previous run:" >&2;}
1346 { echo "$as_me:$LINENO: former value: $ac_old_val" >&5
1347 echo "$as_me: former value: $ac_old_val" >&2;}
1348 { echo "$as_me:$LINENO: current value: $ac_new_val" >&5
1349 echo "$as_me: current value: $ac_new_val" >&2;}
1350 ac_cache_corrupted=:
1353 # Pass precious variables to config.status.
1354 if test "$ac_new_set" = set; then
1356 *" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
1357 ac_arg=$ac_var=`echo "$ac_new_val" |
sed "s/'/'\\\\\\\\''/g"` ;;
1358 *) ac_arg=$ac_var=$ac_new_val ;;
1360 case " $ac_configure_args " in
1361 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
1362 *) ac_configure_args="$ac_configure_args '$ac_arg'" ;;
1366 if $ac_cache_corrupted; then
1367 { echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5
1368 echo "$as_me: error: changes in the environment can compromise the build" >&2;}
1369 { { echo "$as_me:$LINENO: error: run \`make distclean
' and/or \`rm $cache_file' and start over
" >&5
1370 echo "$as_me: error
: run \
`make distclean' and/or \`rm $cache_file' and start over" >&2;}
1371 { (exit 1); exit 1; }; }
1375 ac_cpp='$CPP $CPPFLAGS'
1376 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
1377 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
1378 ac_compiler_gnu=$ac_cv_c_compiler_gnu
1409 for ac_dir in $srcdir $srcdir/.. $srcdir/../..; do
1410 if test -f $ac_dir/install-sh; then
1412 ac_install_sh="$ac_aux_dir/install-sh -c"
1414 elif test -f $ac_dir/install.sh; then
1416 ac_install_sh="$ac_aux_dir/install.sh -c"
1418 elif test -f $ac_dir/shtool; then
1420 ac_install_sh="$ac_aux_dir/shtool install -c"
1424 if test -z "$ac_aux_dir"; then
1425 { { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." >&5
1426 echo "$as_me: error: cannot find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." >&2;}
1427 { (exit 1); exit 1; }; }
1429 ac_config_guess="$SHELL $ac_aux_dir/config.guess"
1430 ac_config_sub="$SHELL $ac_aux_dir/config.sub"
1431 ac_configure="$SHELL $ac_aux_dir/configure" # This should be Cygnus configure.
1433 # Make sure we can run config.sub.
1434 $ac_config_sub sun4 >/dev/null 2>&1 ||
1435 { { echo "$as_me:$LINENO: error: cannot run $ac_config_sub" >&5
1436 echo "$as_me: error: cannot run $ac_config_sub" >&2;}
1437 { (exit 1); exit 1; }; }
1439 echo "$as_me:$LINENO: checking build system type" >&5
1440 echo $ECHO_N "checking build system type... $ECHO_C" >&6
1441 if test "${ac_cv_build+set}" = set; then
1442 echo $ECHO_N "(cached) $ECHO_C" >&6
1444 ac_cv_build_alias=$build_alias
1445 test -z "$ac_cv_build_alias" &&
1446 ac_cv_build_alias=`$ac_config_guess`
1447 test -z "$ac_cv_build_alias" &&
1448 { { echo "$as_me:$LINENO: error: cannot guess build type; you must specify one" >&5
1449 echo "$as_me: error: cannot guess build type; you must specify one" >&2;}
1450 { (exit 1); exit 1; }; }
1451 ac_cv_build=`$ac_config_sub $ac_cv_build_alias` ||
1452 { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_build_alias failed" >&5
1453 echo "$as_me: error: $ac_config_sub $ac_cv_build_alias failed" >&2;}
1454 { (exit 1); exit 1; }; }
1457 echo "$as_me:$LINENO: result: $ac_cv_build" >&5
1458 echo "${ECHO_T}$ac_cv_build" >&6
1460 build_cpu=`echo $ac_cv_build | sed 's
/^\
([^
-]*\
)-\
([^
-]*\
)-\
(.
*\
)$
/\
1/'`
1461 build_vendor=`echo $ac_cv_build | sed 's
/^\
([^
-]*\
)-\
([^
-]*\
)-\
(.
*\
)$
/\
2/'`
1462 build_os=`echo $ac_cv_build | sed 's
/^\
([^
-]*\
)-\
([^
-]*\
)-\
(.
*\
)$
/\
3/'`
1465 echo "$as_me:$LINENO: checking host system type" >&5
1466 echo $ECHO_N "checking host system type... $ECHO_C" >&6
1467 if test "${ac_cv_host+set}" = set; then
1468 echo $ECHO_N "(cached) $ECHO_C" >&6
1470 ac_cv_host_alias=$host_alias
1471 test -z "$ac_cv_host_alias" &&
1472 ac_cv_host_alias=$ac_cv_build_alias
1473 ac_cv_host=`$ac_config_sub $ac_cv_host_alias` ||
1474 { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_host_alias failed" >&5
1475 echo "$as_me: error: $ac_config_sub $ac_cv_host_alias failed" >&2;}
1476 { (exit 1); exit 1; }; }
1479 echo "$as_me:$LINENO: result: $ac_cv_host" >&5
1480 echo "${ECHO_T}$ac_cv_host" >&6
1482 host_cpu=`echo $ac_cv_host | sed 's
/^\
([^
-]*\
)-\
([^
-]*\
)-\
(.
*\
)$
/\
1/'`
1483 host_vendor=`echo $ac_cv_host | sed 's
/^\
([^
-]*\
)-\
([^
-]*\
)-\
(.
*\
)$
/\
2/'`
1484 host_os=`echo $ac_cv_host | sed 's
/^\
([^
-]*\
)-\
([^
-]*\
)-\
(.
*\
)$
/\
3/'`
1487 echo "$as_me:$LINENO: checking target system type" >&5
1488 echo $ECHO_N "checking target system type... $ECHO_C" >&6
1489 if test "${ac_cv_target+set}" = set; then
1490 echo $ECHO_N "(cached) $ECHO_C" >&6
1492 ac_cv_target_alias=$target_alias
1493 test "x$ac_cv_target_alias" = "x" &&
1494 ac_cv_target_alias=$ac_cv_host_alias
1495 ac_cv_target=`$ac_config_sub $ac_cv_target_alias` ||
1496 { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_target_alias failed" >&5
1497 echo "$as_me: error: $ac_config_sub $ac_cv_target_alias failed" >&2;}
1498 { (exit 1); exit 1; }; }
1501 echo "$as_me:$LINENO: result: $ac_cv_target" >&5
1502 echo "${ECHO_T}$ac_cv_target" >&6
1503 target=$ac_cv_target
1504 target_cpu=`echo $ac_cv_target | sed 's
/^\
([^
-]*\
)-\
([^
-]*\
)-\
(.
*\
)$
/\
1/'`
1505 target_vendor=`echo $ac_cv_target | sed 's
/^\
([^
-]*\
)-\
([^
-]*\
)-\
(.
*\
)$
/\
2/'`
1506 target_os=`echo $ac_cv_target | sed 's
/^\
([^
-]*\
)-\
([^
-]*\
)-\
(.
*\
)$
/\
3/'`
1509 # The aliases save the names the user supplied, while $host etc.
1510 # will get canonicalized.
1511 test -n "$target_alias" &&
1512 test "$program_prefix$program_suffix$program_transform_name" = \
1514 program_prefix=${target_alias}-
1516 if expr ${target_cpu} : '.
*86' > /dev/null; then target_cpu=x86; fi
1529 CLASSPATH_MODULE="${cp_module} -version-info ${LIBVERSION} -no-undefined"
1532 CLASSPATH_CONVENIENCE="-no-undefined"
1536 am__api_version="1.9"
1537 # Find a good install program. We prefer a C program (faster),
1538 # so one script is as good as another. But avoid the broken or
1539 # incompatible versions:
1540 # SysV /etc/install, /usr/sbin/install
1541 # SunOS /usr/etc/install
1542 # IRIX /sbin/install
1544 # AmigaOS /C/install, which installs bootblocks on floppy discs
1545 # AIX 4 /usr/bin/installbsd, which doesn't work without a
-g flag
1546 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
1547 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
1548 # OS/2's system install, which has a completely different semantic
1549 # ./install, which can be erroneously created by make from ./install.sh.
1550 echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
1551 echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6
1552 if test -z "$INSTALL"; then
1553 if test "${ac_cv_path_install+set}" = set; then
1554 echo $ECHO_N "(cached) $ECHO_C" >&6
1556 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
1560 test -z "$as_dir" && as_dir
=.
1561 # Account for people who put trailing slashes in PATH elements.
1563 .
/ | .
// |
/cC
/* | \
1564 /etc
/* |
/usr
/sbin
/* |
/usr
/etc
/* |
/sbin
/* |
/usr
/afsws
/bin
/* | \
1565 ?
:\\/os2
\\/install\\/* | ?
:\\/OS2
\\/INSTALL
\\/* | \
1568 # OSF1 and SCO ODT 3.0 have their own names for install.
1569 # Don't use installbsd from OSF since it installs stuff as root
1571 for ac_prog
in ginstall scoinst
install; do
1572 for ac_exec_ext
in '' $ac_executable_extensions; do
1573 if $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
1574 if test $ac_prog = install &&
1575 grep dspmsg
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
1576 # AIX install. It has an incompatible calling convention.
1578 elif test $ac_prog = install &&
1579 grep pwplus
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
1580 # program-specific install script used by HP pwplus--don't use.
1583 ac_cv_path_install
="$as_dir/$ac_prog$ac_exec_ext -c"
1595 if test "${ac_cv_path_install+set}" = set; then
1596 INSTALL
=$ac_cv_path_install
1598 # As a last resort, use the slow shell script. We don't cache a
1599 # path for INSTALL within a source directory, because that will
1600 # break other packages using the cache if that directory is
1601 # removed, or if the path is relative.
1602 INSTALL
=$ac_install_sh
1605 echo "$as_me:$LINENO: result: $INSTALL" >&5
1606 echo "${ECHO_T}$INSTALL" >&6
1608 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
1609 # It thinks the first close brace ends the variable substitution.
1610 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM
='${INSTALL}'
1612 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT
='${INSTALL}'
1614 test -z "$INSTALL_DATA" && INSTALL_DATA
='${INSTALL} -m 644'
1616 echo "$as_me:$LINENO: checking whether build environment is sane" >&5
1617 echo $ECHO_N "checking whether build environment is sane... $ECHO_C" >&6
1620 echo timestamp
> conftest.
file
1621 # Do `set' in a subshell so we don't clobber the current shell's
1622 # arguments. Must try -L first in case configure is actually a
1623 # symlink; some systems play weird games with the mod time of symlinks
1624 # (eg FreeBSD returns the mod time of the symlink's containing
1627 set X
`ls -Lt $srcdir/configure conftest.file 2> /dev/null`
1628 if test "$*" = "X"; then
1630 set X
`ls -t $srcdir/configure conftest.file`
1633 if test "$*" != "X $srcdir/configure conftest.file" \
1634 && test "$*" != "X conftest.file $srcdir/configure"; then
1636 # If neither matched, then we have a broken ls. This can happen
1637 # if, for instance, CONFIG_SHELL is bash and it inherits a
1638 # broken ls alias from the environment. This has actually
1639 # happened. Such a system could not be considered "sane".
1640 { { echo "$as_me:$LINENO: error: ls -t appears to fail. Make sure there is not a broken
1641 alias in your environment" >&5
1642 echo "$as_me: error: ls -t appears to fail. Make sure there is not a broken
1643 alias in your environment" >&2;}
1644 { (exit 1); exit 1; }; }
1647 test "$2" = conftest.
file
1653 { { echo "$as_me:$LINENO: error: newly created file is older than distributed files!
1654 Check your system clock" >&5
1655 echo "$as_me: error: newly created file is older than distributed files!
1656 Check your system clock" >&2;}
1657 { (exit 1); exit 1; }; }
1659 echo "$as_me:$LINENO: result: yes" >&5
1660 echo "${ECHO_T}yes" >&6
1661 test "$program_prefix" != NONE
&&
1662 program_transform_name
="s,^,$program_prefix,;$program_transform_name"
1663 # Use a double $ so make ignores it.
1664 test "$program_suffix" != NONE
&&
1665 program_transform_name
="s,\$,$program_suffix,;$program_transform_name"
1666 # Double any \ or $. echo might interpret backslashes.
1667 # By default was `s,x,x', remove it if useless.
1668 cat <<\_ACEOF
>conftest.
sed
1669 s
/[\\$
]/&&/g
;s
/;s
,x
,x
,$
//
1671 program_transform_name
=`echo $program_transform_name | sed -f conftest.sed`
1674 # expand $ac_aux_dir to an absolute path
1675 am_aux_dir
=`cd $ac_aux_dir && pwd`
1677 test x
"${MISSING+set}" = xset || MISSING
="\${SHELL} $am_aux_dir/missing"
1678 # Use eval to expand $SHELL
1679 if eval "$MISSING --run true"; then
1680 am_missing_run
="$MISSING --run "
1683 { echo "$as_me:$LINENO: WARNING: \`missing' script is too old or missing" >&5
1684 echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;}
1687 if mkdir
-p --version .
>/dev
/null
2>&1 && test ! -d .
/--version; then
1688 # We used to keeping the `.' as first argument, in order to
1689 # allow $(mkdir_p) to be used without argument. As in
1690 # $(mkdir_p) $(somedir)
1691 # where $(somedir) is conditionally defined. However this is wrong
1693 # 1. if the package is installed by a user who cannot write `.'
1694 # make install will fail,
1695 # 2. the above comment should most certainly read
1696 # $(mkdir_p) $(DESTDIR)$(somedir)
1697 # so it does not work when $(somedir) is undefined and
1698 # $(DESTDIR) is not.
1699 # To support the latter case, we have to write
1700 # test -z "$(somedir)" || $(mkdir_p) $(DESTDIR)$(somedir),
1701 # so the `.' trick is pointless.
1702 mkdir_p
='mkdir -p --'
1704 # On NextStep and OpenStep, the `mkdir' command does not
1705 # recognize any option. It will interpret all options as
1706 # directories to create, and then abort because `.' already
1708 for d
in .
/-p .
/--version;
1710 test -d $d && rmdir $d
1712 # $(mkinstalldirs) is defined by Automake if mkinstalldirs exists.
1713 if test -f "$ac_aux_dir/mkinstalldirs"; then
1714 mkdir_p
='$(mkinstalldirs)'
1716 mkdir_p
='$(install_sh) -d'
1720 for ac_prog
in gawk mawk nawk
awk
1722 # Extract the first word of "$ac_prog", so it can be a program name with args.
1723 set dummy
$ac_prog; ac_word
=$2
1724 echo "$as_me:$LINENO: checking for $ac_word" >&5
1725 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1726 if test "${ac_cv_prog_AWK+set}" = set; then
1727 echo $ECHO_N "(cached) $ECHO_C" >&6
1729 if test -n "$AWK"; then
1730 ac_cv_prog_AWK
="$AWK" # Let the user override the test.
1732 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
1736 test -z "$as_dir" && as_dir
=.
1737 for ac_exec_ext
in '' $ac_executable_extensions; do
1738 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1739 ac_cv_prog_AWK
="$ac_prog"
1740 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1749 if test -n "$AWK"; then
1750 echo "$as_me:$LINENO: result: $AWK" >&5
1751 echo "${ECHO_T}$AWK" >&6
1753 echo "$as_me:$LINENO: result: no" >&5
1754 echo "${ECHO_T}no" >&6
1757 test -n "$AWK" && break
1760 echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
1761 echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6
1762 set dummy
${MAKE-make}; ac_make
=`echo "$2" | sed 'y,:./+-,___p_,'`
1763 if eval "test \"\${ac_cv_prog_make_${ac_make}_set+set}\" = set"; then
1764 echo $ECHO_N "(cached) $ECHO_C" >&6
1766 cat >conftest.
make <<\_ACEOF
1768 @
echo 'ac_maketemp="$(MAKE)"'
1770 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
1771 eval `${MAKE-make} -f conftest.make 2>/dev/null | grep temp=`
1772 if test -n "$ac_maketemp"; then
1773 eval ac_cv_prog_make_
${ac_make}_set
=yes
1775 eval ac_cv_prog_make_
${ac_make}_set
=no
1779 if eval "test \"`echo '$ac_cv_prog_make_'${ac_make}_set`\" = yes"; then
1780 echo "$as_me:$LINENO: result: yes" >&5
1781 echo "${ECHO_T}yes" >&6
1784 echo "$as_me:$LINENO: result: no" >&5
1785 echo "${ECHO_T}no" >&6
1786 SET_MAKE
="MAKE=${MAKE-make}"
1789 rm -rf .tst
2>/dev
/null
1790 mkdir .tst
2>/dev
/null
1791 if test -d .tst
; then
1796 rmdir .tst
2>/dev
/null
1798 # test to see if srcdir already configured
1799 if test "`cd $srcdir && pwd`" != "`pwd`" &&
1800 test -f $srcdir/config.status
; then
1801 { { echo "$as_me:$LINENO: error: source directory already configured; run \"make distclean\" there first" >&5
1802 echo "$as_me: error: source directory already configured; run \"make distclean\" there first" >&2;}
1803 { (exit 1); exit 1; }; }
1806 # test whether we have cygpath
1807 if test -z "$CYGPATH_W"; then
1808 if (cygpath
--version) >/dev
/null
2>/dev
/null
; then
1809 CYGPATH_W
='cygpath -w'
1816 # Define the identity of the package.
1821 cat >>confdefs.h
<<_ACEOF
1822 #define PACKAGE "$PACKAGE"
1826 cat >>confdefs.h
<<_ACEOF
1827 #define VERSION "$VERSION"
1830 # Some tools Automake needs.
1832 ACLOCAL
=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
1835 AUTOCONF
=${AUTOCONF-"${am_missing_run}autoconf"}
1838 AUTOMAKE
=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
1841 AUTOHEADER
=${AUTOHEADER-"${am_missing_run}autoheader"}
1844 MAKEINFO
=${MAKEINFO-"${am_missing_run}makeinfo"}
1846 install_sh
=${install_sh-"$am_aux_dir/install-sh"}
1848 # Installed binaries are usually stripped using `strip' when the user
1849 # run `make install-strip'. However `strip' might not be the right
1850 # tool to use in cross-compilation environments, therefore Automake
1851 # will honor the `STRIP' environment variable to overrule this program.
1852 if test "$cross_compiling" != no
; then
1853 if test -n "$ac_tool_prefix"; then
1854 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
1855 set dummy
${ac_tool_prefix}strip
; ac_word
=$2
1856 echo "$as_me:$LINENO: checking for $ac_word" >&5
1857 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1858 if test "${ac_cv_prog_STRIP+set}" = set; then
1859 echo $ECHO_N "(cached) $ECHO_C" >&6
1861 if test -n "$STRIP"; then
1862 ac_cv_prog_STRIP
="$STRIP" # Let the user override the test.
1864 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
1868 test -z "$as_dir" && as_dir
=.
1869 for ac_exec_ext
in '' $ac_executable_extensions; do
1870 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1871 ac_cv_prog_STRIP
="${ac_tool_prefix}strip"
1872 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1880 STRIP
=$ac_cv_prog_STRIP
1881 if test -n "$STRIP"; then
1882 echo "$as_me:$LINENO: result: $STRIP" >&5
1883 echo "${ECHO_T}$STRIP" >&6
1885 echo "$as_me:$LINENO: result: no" >&5
1886 echo "${ECHO_T}no" >&6
1890 if test -z "$ac_cv_prog_STRIP"; then
1892 # Extract the first word of "strip", so it can be a program name with args.
1893 set dummy strip
; ac_word
=$2
1894 echo "$as_me:$LINENO: checking for $ac_word" >&5
1895 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1896 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
1897 echo $ECHO_N "(cached) $ECHO_C" >&6
1899 if test -n "$ac_ct_STRIP"; then
1900 ac_cv_prog_ac_ct_STRIP
="$ac_ct_STRIP" # Let the user override the test.
1902 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
1906 test -z "$as_dir" && as_dir
=.
1907 for ac_exec_ext
in '' $ac_executable_extensions; do
1908 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1909 ac_cv_prog_ac_ct_STRIP
="strip"
1910 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1916 test -z "$ac_cv_prog_ac_ct_STRIP" && ac_cv_prog_ac_ct_STRIP
=":"
1919 ac_ct_STRIP
=$ac_cv_prog_ac_ct_STRIP
1920 if test -n "$ac_ct_STRIP"; then
1921 echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
1922 echo "${ECHO_T}$ac_ct_STRIP" >&6
1924 echo "$as_me:$LINENO: result: no" >&5
1925 echo "${ECHO_T}no" >&6
1930 STRIP
="$ac_cv_prog_STRIP"
1934 INSTALL_STRIP_PROGRAM
="\${SHELL} \$(install_sh) -c -s"
1936 # We need awk for the "check" target. The system "awk" is bad on
1938 # Always define AMTAR for backward compatibility.
1940 AMTAR
=${AMTAR-"${am_missing_run}tar"}
1943 echo "$as_me:$LINENO: checking how to create a ustar tar archive" >&5
1944 echo $ECHO_N "checking how to create a ustar tar archive... $ECHO_C" >&6
1945 # Loop over all known methods to create a tar archive until one works.
1946 _am_tools
='gnutar plaintar pax cpio none'
1947 _am_tools
=${am_cv_prog_tar_ustar-$_am_tools}
1948 # Do not fold the above two line into one, because Tru64 sh and
1949 # Solaris sh will not grok spaces in the rhs of `-'.
1950 for _am_tool
in $_am_tools
1954 for _am_tar
in tar gnutar gtar
;
1956 { echo "$as_me:$LINENO: $_am_tar --version" >&5
1957 ($_am_tar --version) >&5 2>&5
1959 echo "$as_me:$LINENO: \$? = $ac_status" >&5
1960 (exit $ac_status); } && break
1962 am__tar
="$_am_tar --format=ustar -chf - "'"$$tardir"'
1963 am__tar_
="$_am_tar --format=ustar -chf - "'"$tardir"'
1964 am__untar
="$_am_tar -xf -"
1967 # Must skip GNU tar: if it does not support --format= it doesn't create
1968 # ustar tarball either.
1969 (tar --version) >/dev
/null
2>&1 && continue
1970 am__tar
='tar chf - "$$tardir"'
1971 am__tar_
='tar chf - "$tardir"'
1972 am__untar
='tar xf -'
1975 am__tar
='pax -L -x ustar -w "$$tardir"'
1976 am__tar_
='pax -L -x ustar -w "$tardir"'
1980 am__tar
='find "$$tardir" -print | cpio -o -H ustar -L'
1981 am__tar_
='find "$tardir" -print | cpio -o -H ustar -L'
1982 am__untar
='cpio -i -H ustar -d'
1991 # If the value was cached, stop now. We just wanted to have am__tar
1992 # and am__untar set.
1993 test -n "${am_cv_prog_tar_ustar}" && break
1995 # tar/untar a dummy directory, and stop if the command works
1998 echo GrepMe
> conftest.dir
/file
1999 { echo "$as_me:$LINENO: tardir=conftest.dir && eval $am__tar_ >conftest.tar" >&5
2000 (tardir
=conftest.dir
&& eval $am__tar_ >conftest.
tar) >&5 2>&5
2002 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2003 (exit $ac_status); }
2005 if test -s conftest.
tar; then
2006 { echo "$as_me:$LINENO: $am__untar <conftest.tar" >&5
2007 ($am__untar <conftest.
tar) >&5 2>&5
2009 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2010 (exit $ac_status); }
2011 grep GrepMe conftest.dir
/file >/dev
/null
2>&1 && break
2016 if test "${am_cv_prog_tar_ustar+set}" = set; then
2017 echo $ECHO_N "(cached) $ECHO_C" >&6
2019 am_cv_prog_tar_ustar
=$_am_tool
2022 echo "$as_me:$LINENO: result: $am_cv_prog_tar_ustar" >&5
2023 echo "${ECHO_T}$am_cv_prog_tar_ustar" >&6
2029 ac_config_headers
="$ac_config_headers include/config.h"
2035 # Check whether --enable-collections or --disable-collections was given.
2036 if test "${enable_collections+set}" = set; then
2037 enableval
="$enable_collections"
2038 case x
"${enableval}" in
2039 xyes
) COMPILE_COLLECTIONS
=yes; COLLECTIONS_PREFIX
="\"gnu/java/util/collections\"" ;;
2040 xno
) COMPILE_COLLECTIONS
=no
;;
2041 x
) COMPILE_COLLECTIONS
=yes; COLLECTIONS_PREFIX
="\"gnu/java/util/collections\"" ;;
2042 *) COMPILE_COLLECTIONS
=yes; COLLECTIONS_PREFIX
="\"${enableval}\"" ;;
2045 COMPILE_COLLECTIONS
=no
2049 if test "x${COMPILE_COLLECTIONS}" = xyes
; then
2050 CREATE_COLLECTIONS_TRUE
=
2051 CREATE_COLLECTIONS_FALSE
='#'
2053 CREATE_COLLECTIONS_TRUE
='#'
2054 CREATE_COLLECTIONS_FALSE
=
2058 # Check whether --enable-jni or --disable-jni was given.
2059 if test "${enable_jni+set}" = set; then
2060 enableval
="$enable_jni"
2061 case "${enableval}" in
2062 yes) COMPILE_JNI
=yes; COMPILE_JAVA
=yes ;;
2063 no
) COMPILE_JNI
=no
;;
2064 *) COMPILE_JNI
=yes; COMPILE_JAVA
=yes ;;
2071 if test "x${COMPILE_JNI}" = xyes
; then
2072 CREATE_JNI_LIBRARIES_TRUE
=
2073 CREATE_JNI_LIBRARIES_FALSE
='#'
2075 CREATE_JNI_LIBRARIES_TRUE
='#'
2076 CREATE_JNI_LIBRARIES_FALSE
=
2080 # Check whether --enable-core-jni or --disable-core-jni was given.
2081 if test "${enable_core_jni+set}" = set; then
2082 enableval
="$enable_core_jni"
2083 case "${enableval}" in
2084 yes) COMPILE_CORE_JNI
=yes; COMPILE_JAVA
=yes ;;
2085 no
) COMPILE_CORE_JNI
=no
;;
2086 *) COMPILE_CORE_JNI
=yes; COMPILE_JAVA
=yes ;;
2089 COMPILE_CORE_JNI
=yes
2093 if test "x${COMPILE_CORE_JNI}" = xyes
; then
2094 CREATE_CORE_JNI_LIBRARIES_TRUE
=
2095 CREATE_CORE_JNI_LIBRARIES_FALSE
='#'
2097 CREATE_CORE_JNI_LIBRARIES_TRUE
='#'
2098 CREATE_CORE_JNI_LIBRARIES_FALSE
=
2102 # Check whether --enable-Werror or --disable-Werror was given.
2103 if test "${enable_Werror+set}" = set; then
2104 enableval
="$enable_Werror"
2105 case "${enableval}" in
2106 yes) ENABLE_WERROR
=yes ;;
2107 no
) ENABLE_WERROR
=no
;;
2108 *) ENABLE_WERROR
=no
;;
2114 # Check whether --enable-default-toolkit or --disable-default-toolkit was given.
2115 if test "${enable_default_toolkit+set}" = set; then
2116 enableval
="$enable_default_toolkit"
2119 default_toolkit
=$enable_default_toolkit
2120 if test "$default_toolkit" = ""; then
2121 default_toolkit
=gnu.java.awt.peer.gtk.GtkToolkit
2125 # Check whether --enable-xmlj or --disable-xmlj was given.
2126 if test "${enable_xmlj+set}" = set; then
2127 enableval
="$enable_xmlj"
2128 case "${enableval}" in
2129 yes) COMPILE_XMLJ
=yes ;;
2130 no
) COMPILE_XMLJ
=no
;;
2131 *) COMPILE_XMLJ
=no
;;
2138 if test "x${COMPILE_XMLJ}" = xyes
; then
2139 CREATE_XMLJ_LIBRARY_TRUE
=
2140 CREATE_XMLJ_LIBRARY_FALSE
='#'
2142 CREATE_XMLJ_LIBRARY_TRUE
='#'
2143 CREATE_XMLJ_LIBRARY_FALSE
=
2147 DEPDIR
="${am__leading_dot}deps"
2149 ac_config_commands
="$ac_config_commands depfiles"
2152 am_make
=${MAKE-make}
2153 cat > confinc
<< 'END'
2158 # If we don't find an include directive, just comment out the code.
2159 echo "$as_me:$LINENO: checking for style of include used by $am_make" >&5
2160 echo $ECHO_N "checking for style of include used by $am_make... $ECHO_C" >&6
2164 # First try GNU make style include.
2165 echo "include confinc" > confmf
2166 # We grep out `Entering directory' and `Leaving directory'
2167 # messages which can occur if `w' ends up in MAKEFLAGS.
2168 # In particular we don't look at `^make:' because GNU make might
2169 # be invoked under some other name (usually "gmake"), in which
2170 # case it prints its new name instead of `make'.
2171 if test "`$am_make -s -f confmf 2> /dev/null | grep -v 'ing directory'`" = "done"; then
2176 # Now try BSD make style include.
2177 if test "$am__include" = "#"; then
2178 echo '.include "confinc"' > confmf
2179 if test "`$am_make -s -f confmf 2> /dev/null`" = "done"; then
2180 am__include
=.include
2187 echo "$as_me:$LINENO: result: $_am_result" >&5
2188 echo "${ECHO_T}$_am_result" >&6
2189 rm -f confinc confmf
2191 # Check whether --enable-dependency-tracking or --disable-dependency-tracking was given.
2192 if test "${enable_dependency_tracking+set}" = set; then
2193 enableval
="$enable_dependency_tracking"
2196 if test "x$enable_dependency_tracking" != xno
; then
2197 am_depcomp
="$ac_aux_dir/depcomp"
2202 if test "x$enable_dependency_tracking" != xno; then
2213 ac_cpp
='$CPP $CPPFLAGS'
2214 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2215 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2216 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
2217 if test -n "$ac_tool_prefix"; then
2218 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
2219 set dummy
${ac_tool_prefix}gcc
; ac_word
=$2
2220 echo "$as_me:$LINENO: checking for $ac_word" >&5
2221 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2222 if test "${ac_cv_prog_CC+set}" = set; then
2223 echo $ECHO_N "(cached) $ECHO_C" >&6
2225 if test -n "$CC"; then
2226 ac_cv_prog_CC
="$CC" # Let the user override the test.
2228 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2232 test -z "$as_dir" && as_dir
=.
2233 for ac_exec_ext
in '' $ac_executable_extensions; do
2234 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2235 ac_cv_prog_CC
="${ac_tool_prefix}gcc"
2236 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2245 if test -n "$CC"; then
2246 echo "$as_me:$LINENO: result: $CC" >&5
2247 echo "${ECHO_T}$CC" >&6
2249 echo "$as_me:$LINENO: result: no" >&5
2250 echo "${ECHO_T}no" >&6
2254 if test -z "$ac_cv_prog_CC"; then
2256 # Extract the first word of "gcc", so it can be a program name with args.
2257 set dummy gcc
; ac_word
=$2
2258 echo "$as_me:$LINENO: checking for $ac_word" >&5
2259 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2260 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
2261 echo $ECHO_N "(cached) $ECHO_C" >&6
2263 if test -n "$ac_ct_CC"; then
2264 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
2266 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2270 test -z "$as_dir" && as_dir
=.
2271 for ac_exec_ext
in '' $ac_executable_extensions; do
2272 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2273 ac_cv_prog_ac_ct_CC
="gcc"
2274 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2282 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
2283 if test -n "$ac_ct_CC"; then
2284 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
2285 echo "${ECHO_T}$ac_ct_CC" >&6
2287 echo "$as_me:$LINENO: result: no" >&5
2288 echo "${ECHO_T}no" >&6
2296 if test -z "$CC"; then
2297 if test -n "$ac_tool_prefix"; then
2298 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
2299 set dummy
${ac_tool_prefix}cc
; ac_word
=$2
2300 echo "$as_me:$LINENO: checking for $ac_word" >&5
2301 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2302 if test "${ac_cv_prog_CC+set}" = set; then
2303 echo $ECHO_N "(cached) $ECHO_C" >&6
2305 if test -n "$CC"; then
2306 ac_cv_prog_CC
="$CC" # Let the user override the test.
2308 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2312 test -z "$as_dir" && as_dir
=.
2313 for ac_exec_ext
in '' $ac_executable_extensions; do
2314 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2315 ac_cv_prog_CC
="${ac_tool_prefix}cc"
2316 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2325 if test -n "$CC"; then
2326 echo "$as_me:$LINENO: result: $CC" >&5
2327 echo "${ECHO_T}$CC" >&6
2329 echo "$as_me:$LINENO: result: no" >&5
2330 echo "${ECHO_T}no" >&6
2334 if test -z "$ac_cv_prog_CC"; then
2336 # Extract the first word of "cc", so it can be a program name with args.
2337 set dummy cc
; ac_word
=$2
2338 echo "$as_me:$LINENO: checking for $ac_word" >&5
2339 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2340 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
2341 echo $ECHO_N "(cached) $ECHO_C" >&6
2343 if test -n "$ac_ct_CC"; then
2344 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
2346 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2350 test -z "$as_dir" && as_dir
=.
2351 for ac_exec_ext
in '' $ac_executable_extensions; do
2352 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2353 ac_cv_prog_ac_ct_CC
="cc"
2354 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2362 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
2363 if test -n "$ac_ct_CC"; then
2364 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
2365 echo "${ECHO_T}$ac_ct_CC" >&6
2367 echo "$as_me:$LINENO: result: no" >&5
2368 echo "${ECHO_T}no" >&6
2377 if test -z "$CC"; then
2378 # Extract the first word of "cc", so it can be a program name with args.
2379 set dummy cc
; ac_word
=$2
2380 echo "$as_me:$LINENO: checking for $ac_word" >&5
2381 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2382 if test "${ac_cv_prog_CC+set}" = set; then
2383 echo $ECHO_N "(cached) $ECHO_C" >&6
2385 if test -n "$CC"; then
2386 ac_cv_prog_CC
="$CC" # Let the user override the test.
2389 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2393 test -z "$as_dir" && as_dir
=.
2394 for ac_exec_ext
in '' $ac_executable_extensions; do
2395 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2396 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
2397 ac_prog_rejected
=yes
2401 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2407 if test $ac_prog_rejected = yes; then
2408 # We found a bogon in the path, so make sure we never use it.
2409 set dummy
$ac_cv_prog_CC
2411 if test $# != 0; then
2412 # We chose a different compiler from the bogus one.
2413 # However, it has the same basename, so the bogon will be chosen
2414 # first if we set CC to just the basename; use the full file name.
2416 ac_cv_prog_CC
="$as_dir/$ac_word${1+' '}$@"
2422 if test -n "$CC"; then
2423 echo "$as_me:$LINENO: result: $CC" >&5
2424 echo "${ECHO_T}$CC" >&6
2426 echo "$as_me:$LINENO: result: no" >&5
2427 echo "${ECHO_T}no" >&6
2431 if test -z "$CC"; then
2432 if test -n "$ac_tool_prefix"; then
2435 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
2436 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
2437 echo "$as_me:$LINENO: checking for $ac_word" >&5
2438 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2439 if test "${ac_cv_prog_CC+set}" = set; then
2440 echo $ECHO_N "(cached) $ECHO_C" >&6
2442 if test -n "$CC"; then
2443 ac_cv_prog_CC
="$CC" # Let the user override the test.
2445 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2449 test -z "$as_dir" && as_dir
=.
2450 for ac_exec_ext
in '' $ac_executable_extensions; do
2451 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2452 ac_cv_prog_CC
="$ac_tool_prefix$ac_prog"
2453 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2462 if test -n "$CC"; then
2463 echo "$as_me:$LINENO: result: $CC" >&5
2464 echo "${ECHO_T}$CC" >&6
2466 echo "$as_me:$LINENO: result: no" >&5
2467 echo "${ECHO_T}no" >&6
2470 test -n "$CC" && break
2473 if test -z "$CC"; then
2477 # Extract the first word of "$ac_prog", so it can be a program name with args.
2478 set dummy
$ac_prog; ac_word
=$2
2479 echo "$as_me:$LINENO: checking for $ac_word" >&5
2480 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2481 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
2482 echo $ECHO_N "(cached) $ECHO_C" >&6
2484 if test -n "$ac_ct_CC"; then
2485 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
2487 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2491 test -z "$as_dir" && as_dir
=.
2492 for ac_exec_ext
in '' $ac_executable_extensions; do
2493 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2494 ac_cv_prog_ac_ct_CC
="$ac_prog"
2495 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2503 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
2504 if test -n "$ac_ct_CC"; then
2505 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
2506 echo "${ECHO_T}$ac_ct_CC" >&6
2508 echo "$as_me:$LINENO: result: no" >&5
2509 echo "${ECHO_T}no" >&6
2512 test -n "$ac_ct_CC" && break
2521 test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
2522 See \`config.log' for more details." >&5
2523 echo "$as_me: error: no acceptable C compiler found in \$PATH
2524 See \`config.log' for more details." >&2;}
2525 { (exit 1); exit 1; }; }
2527 # Provide some information about the compiler.
2528 echo "$as_me:$LINENO:" \
2529 "checking for C compiler version" >&5
2530 ac_compiler
=`set X $ac_compile; echo $2`
2531 { (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5
2532 (eval $ac_compiler --version </dev
/null
>&5) 2>&5
2534 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2535 (exit $ac_status); }
2536 { (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5
2537 (eval $ac_compiler -v </dev
/null
>&5) 2>&5
2539 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2540 (exit $ac_status); }
2541 { (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5
2542 (eval $ac_compiler -V </dev
/null
>&5) 2>&5
2544 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2545 (exit $ac_status); }
2547 cat >conftest.
$ac_ext <<_ACEOF
2550 cat confdefs.h
>>conftest.
$ac_ext
2551 cat >>conftest.
$ac_ext <<_ACEOF
2552 /* end confdefs.h. */
2562 ac_clean_files_save
=$ac_clean_files
2563 ac_clean_files
="$ac_clean_files a.out a.exe b.out"
2564 # Try to create an executable without -o first, disregard a.out.
2565 # It will help us diagnose broken compilers, and finding out an intuition
2567 echo "$as_me:$LINENO: checking for C compiler default output file name" >&5
2568 echo $ECHO_N "checking for C compiler default output file name... $ECHO_C" >&6
2569 ac_link_default
=`echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
2570 if { (eval echo "$as_me:$LINENO: \"$ac_link_default\"") >&5
2571 (eval $ac_link_default) 2>&5
2573 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2574 (exit $ac_status); }; then
2575 # Find the output, starting from the most likely. This scheme is
2576 # not robust to junk in `.', hence go to wildcards (a.*) only as a last
2579 # Be careful to initialize this variable, since it used to be cached.
2580 # Otherwise an old cache value of `no' led to `EXEEXT = no' in a Makefile.
2582 # b.out is created by i960 compilers.
2583 for ac_file
in a_out.exe a.exe conftest.exe a.out conftest a.
* conftest.
* b.out
2585 test -f "$ac_file" ||
continue
2587 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg |
*.o |
*.obj
)
2590 # This is the source file.
2593 # We found the default executable, but exeext='' is most
2597 ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
2598 # FIXME: I believe we export ac_cv_exeext for Libtool,
2599 # but it would be cool to find out if it's true. Does anybody
2600 # maintain Libtool? --akim.
2608 echo "$as_me: failed program was:" >&5
2609 sed 's/^/| /' conftest.
$ac_ext >&5
2611 { { echo "$as_me:$LINENO: error: C compiler cannot create executables
2612 See \`config.log' for more details." >&5
2613 echo "$as_me: error: C compiler cannot create executables
2614 See \`config.log' for more details." >&2;}
2615 { (exit 77); exit 77; }; }
2618 ac_exeext
=$ac_cv_exeext
2619 echo "$as_me:$LINENO: result: $ac_file" >&5
2620 echo "${ECHO_T}$ac_file" >&6
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 the C compiler works" >&5
2625 echo $ECHO_N "checking whether the C compiler works... $ECHO_C" >&6
2626 # FIXME: These cross compiler hacks should be removed for Autoconf 3.0
2627 # If not cross compiling, check that we can run a simple program.
2628 if test "$cross_compiling" != yes; then
2629 if { ac_try
='./$ac_file'
2630 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2633 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2634 (exit $ac_status); }; }; then
2637 if test "$cross_compiling" = maybe
; then
2640 { { echo "$as_me:$LINENO: error: cannot run C compiled programs.
2641 If you meant to cross compile, use \`--host'.
2642 See \`config.log' for more details." >&5
2643 echo "$as_me: error: cannot run C compiled programs.
2644 If you meant to cross compile, use \`--host'.
2645 See \`config.log' for more details." >&2;}
2646 { (exit 1); exit 1; }; }
2650 echo "$as_me:$LINENO: result: yes" >&5
2651 echo "${ECHO_T}yes" >&6
2653 rm -f a.out a.exe conftest
$ac_cv_exeext b.out
2654 ac_clean_files
=$ac_clean_files_save
2655 # Check the compiler produces executables we can run. If not, either
2656 # the compiler is broken, or we cross compile.
2657 echo "$as_me:$LINENO: checking whether we are cross compiling" >&5
2658 echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6
2659 echo "$as_me:$LINENO: result: $cross_compiling" >&5
2660 echo "${ECHO_T}$cross_compiling" >&6
2662 echo "$as_me:$LINENO: checking for suffix of executables" >&5
2663 echo $ECHO_N "checking for suffix of executables... $ECHO_C" >&6
2664 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
2665 (eval $ac_link) 2>&5
2667 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2668 (exit $ac_status); }; then
2669 # If both `conftest.exe' and `conftest' are `present' (well, observable)
2670 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
2671 # work properly (i.e., refer to `conftest.exe'), while it won't with
2673 for ac_file
in conftest.exe conftest conftest.
*; do
2674 test -f "$ac_file" ||
continue
2676 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg |
*.o |
*.obj
) ;;
2677 *.
* ) ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
2684 { { echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link
2685 See \`config.log' for more details." >&5
2686 echo "$as_me: error: cannot compute suffix of executables: cannot compile and link
2687 See \`config.log' for more details." >&2;}
2688 { (exit 1); exit 1; }; }
2691 rm -f conftest
$ac_cv_exeext
2692 echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
2693 echo "${ECHO_T}$ac_cv_exeext" >&6
2695 rm -f conftest.
$ac_ext
2696 EXEEXT
=$ac_cv_exeext
2698 echo "$as_me:$LINENO: checking for suffix of object files" >&5
2699 echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6
2700 if test "${ac_cv_objext+set}" = set; then
2701 echo $ECHO_N "(cached) $ECHO_C" >&6
2703 cat >conftest.
$ac_ext <<_ACEOF
2706 cat confdefs.h
>>conftest.
$ac_ext
2707 cat >>conftest.
$ac_ext <<_ACEOF
2708 /* end confdefs.h. */
2718 rm -f conftest.o conftest.obj
2719 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2720 (eval $ac_compile) 2>&5
2722 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2723 (exit $ac_status); }; then
2724 for ac_file
in `(ls conftest.o conftest.obj; ls conftest.*) 2>/dev/null`; do
2726 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg
) ;;
2727 *) ac_cv_objext
=`expr "$ac_file" : '.*\.\(.*\)'`
2732 echo "$as_me: failed program was:" >&5
2733 sed 's/^/| /' conftest.
$ac_ext >&5
2735 { { echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile
2736 See \`config.log' for more details." >&5
2737 echo "$as_me: error: cannot compute suffix of object files: cannot compile
2738 See \`config.log' for more details." >&2;}
2739 { (exit 1); exit 1; }; }
2742 rm -f conftest.
$ac_cv_objext conftest.
$ac_ext
2744 echo "$as_me:$LINENO: result: $ac_cv_objext" >&5
2745 echo "${ECHO_T}$ac_cv_objext" >&6
2746 OBJEXT
=$ac_cv_objext
2748 echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
2749 echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6
2750 if test "${ac_cv_c_compiler_gnu+set}" = set; then
2751 echo $ECHO_N "(cached) $ECHO_C" >&6
2753 cat >conftest.
$ac_ext <<_ACEOF
2756 cat confdefs.h
>>conftest.
$ac_ext
2757 cat >>conftest.
$ac_ext <<_ACEOF
2758 /* end confdefs.h. */
2771 rm -f conftest.
$ac_objext
2772 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2773 (eval $ac_compile) 2>conftest.er1
2775 grep -v '^ *+' conftest.er1
>conftest.err
2777 cat conftest.err
>&5
2778 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2779 (exit $ac_status); } &&
2780 { ac_try
='test -z "$ac_c_werror_flag"
2781 || test ! -s conftest.err'
2782 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2785 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2786 (exit $ac_status); }; } &&
2787 { ac_try
='test -s conftest.$ac_objext'
2788 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2791 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2792 (exit $ac_status); }; }; then
2795 echo "$as_me: failed program was:" >&5
2796 sed 's/^/| /' conftest.
$ac_ext >&5
2800 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
2801 ac_cv_c_compiler_gnu
=$ac_compiler_gnu
2804 echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
2805 echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6
2806 GCC
=`test $ac_compiler_gnu = yes && echo yes`
2807 ac_test_CFLAGS
=${CFLAGS+set}
2808 ac_save_CFLAGS
=$CFLAGS
2810 echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
2811 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6
2812 if test "${ac_cv_prog_cc_g+set}" = set; then
2813 echo $ECHO_N "(cached) $ECHO_C" >&6
2815 cat >conftest.
$ac_ext <<_ACEOF
2818 cat confdefs.h
>>conftest.
$ac_ext
2819 cat >>conftest.
$ac_ext <<_ACEOF
2820 /* end confdefs.h. */
2830 rm -f conftest.
$ac_objext
2831 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2832 (eval $ac_compile) 2>conftest.er1
2834 grep -v '^ *+' conftest.er1
>conftest.err
2836 cat conftest.err
>&5
2837 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2838 (exit $ac_status); } &&
2839 { ac_try
='test -z "$ac_c_werror_flag"
2840 || test ! -s conftest.err'
2841 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2844 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2845 (exit $ac_status); }; } &&
2846 { ac_try
='test -s conftest.$ac_objext'
2847 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2850 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2851 (exit $ac_status); }; }; then
2854 echo "$as_me: failed program was:" >&5
2855 sed 's/^/| /' conftest.
$ac_ext >&5
2859 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
2861 echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
2862 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6
2863 if test "$ac_test_CFLAGS" = set; then
2864 CFLAGS
=$ac_save_CFLAGS
2865 elif test $ac_cv_prog_cc_g = yes; then
2866 if test "$GCC" = yes; then
2872 if test "$GCC" = yes; then
2878 echo "$as_me:$LINENO: checking for $CC option to accept ANSI C" >&5
2879 echo $ECHO_N "checking for $CC option to accept ANSI C... $ECHO_C" >&6
2880 if test "${ac_cv_prog_cc_stdc+set}" = set; then
2881 echo $ECHO_N "(cached) $ECHO_C" >&6
2883 ac_cv_prog_cc_stdc
=no
2885 cat >conftest.
$ac_ext <<_ACEOF
2888 cat confdefs.h
>>conftest.
$ac_ext
2889 cat >>conftest.
$ac_ext <<_ACEOF
2890 /* end confdefs.h. */
2893 #include <sys/types.h>
2894 #include <sys/stat.h>
2895 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
2896 struct buf { int x; };
2897 FILE * (*rcsopen) (struct buf *, struct stat *, int);
2898 static char *e (p, i)
2904 static char *f (char * (*g) (char **, int), char **p, ...)
2909 s = g (p, va_arg (v,int));
2914 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
2915 function prototypes and stuff, but not '\xHH' hex character constants.
2916 These don't provoke an error unfortunately, instead are silently treated
2917 as 'x'. The following induces an error, until -std1 is added to get
2918 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
2919 array size at least. It's necessary to write '\x00'==0 to get something
2920 that's true only with -std1. */
2921 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
2923 int test (int i, double x);
2924 struct s1 {int (*f) (int a);};
2925 struct s2 {int (*f) (double a);};
2926 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
2932 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
2937 # Don't try gcc -ansi; that turns off useful extensions and
2938 # breaks some systems' header files.
2939 # AIX -qlanglvl=ansi
2940 # Ultrix and OSF/1 -std1
2941 # HP-UX 10.20 and later -Ae
2942 # HP-UX older versions -Aa -D_HPUX_SOURCE
2943 # SVR4 -Xc -D__EXTENSIONS__
2944 for ac_arg
in "" -qlanglvl=ansi
-std1 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
2946 CC
="$ac_save_CC $ac_arg"
2947 rm -f conftest.
$ac_objext
2948 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2949 (eval $ac_compile) 2>conftest.er1
2951 grep -v '^ *+' conftest.er1
>conftest.err
2953 cat conftest.err
>&5
2954 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2955 (exit $ac_status); } &&
2956 { ac_try
='test -z "$ac_c_werror_flag"
2957 || test ! -s conftest.err'
2958 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2961 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2962 (exit $ac_status); }; } &&
2963 { ac_try
='test -s conftest.$ac_objext'
2964 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2967 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2968 (exit $ac_status); }; }; then
2969 ac_cv_prog_cc_stdc
=$ac_arg
2972 echo "$as_me: failed program was:" >&5
2973 sed 's/^/| /' conftest.
$ac_ext >&5
2976 rm -f conftest.err conftest.
$ac_objext
2978 rm -f conftest.
$ac_ext conftest.
$ac_objext
2983 case "x$ac_cv_prog_cc_stdc" in
2985 echo "$as_me:$LINENO: result: none needed" >&5
2986 echo "${ECHO_T}none needed" >&6 ;;
2988 echo "$as_me:$LINENO: result: $ac_cv_prog_cc_stdc" >&5
2989 echo "${ECHO_T}$ac_cv_prog_cc_stdc" >&6
2990 CC
="$CC $ac_cv_prog_cc_stdc" ;;
2993 # Some people use a C++ compiler to compile C. Since we use `exit',
2994 # in C++ we need to declare it. In case someone uses the same compiler
2995 # for both compiling C and C++ we need to have the C++ compiler decide
2996 # the declaration of exit, since it's the most demanding environment.
2997 cat >conftest.
$ac_ext <<_ACEOF
3002 rm -f conftest.
$ac_objext
3003 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3004 (eval $ac_compile) 2>conftest.er1
3006 grep -v '^ *+' conftest.er1
>conftest.err
3008 cat conftest.err
>&5
3009 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3010 (exit $ac_status); } &&
3011 { ac_try
='test -z "$ac_c_werror_flag"
3012 || test ! -s conftest.err'
3013 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3016 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3017 (exit $ac_status); }; } &&
3018 { ac_try
='test -s conftest.$ac_objext'
3019 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3022 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3023 (exit $ac_status); }; }; then
3024 for ac_declaration
in \
3026 'extern "C" void std::exit (int) throw (); using std::exit;' \
3027 'extern "C" void std::exit (int); using std::exit;' \
3028 'extern "C" void exit (int) throw ();' \
3029 'extern "C" void exit (int);' \
3032 cat >conftest.
$ac_ext <<_ACEOF
3035 cat confdefs.h
>>conftest.
$ac_ext
3036 cat >>conftest.
$ac_ext <<_ACEOF
3037 /* end confdefs.h. */
3048 rm -f conftest.
$ac_objext
3049 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3050 (eval $ac_compile) 2>conftest.er1
3052 grep -v '^ *+' conftest.er1
>conftest.err
3054 cat conftest.err
>&5
3055 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3056 (exit $ac_status); } &&
3057 { ac_try
='test -z "$ac_c_werror_flag"
3058 || test ! -s conftest.err'
3059 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3062 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3063 (exit $ac_status); }; } &&
3064 { ac_try
='test -s conftest.$ac_objext'
3065 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3068 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3069 (exit $ac_status); }; }; then
3072 echo "$as_me: failed program was:" >&5
3073 sed 's/^/| /' conftest.
$ac_ext >&5
3077 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
3078 cat >conftest.
$ac_ext <<_ACEOF
3081 cat confdefs.h
>>conftest.
$ac_ext
3082 cat >>conftest.
$ac_ext <<_ACEOF
3083 /* end confdefs.h. */
3093 rm -f conftest.
$ac_objext
3094 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3095 (eval $ac_compile) 2>conftest.er1
3097 grep -v '^ *+' conftest.er1
>conftest.err
3099 cat conftest.err
>&5
3100 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3101 (exit $ac_status); } &&
3102 { ac_try
='test -z "$ac_c_werror_flag"
3103 || test ! -s conftest.err'
3104 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3107 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3108 (exit $ac_status); }; } &&
3109 { ac_try
='test -s conftest.$ac_objext'
3110 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3113 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3114 (exit $ac_status); }; }; then
3117 echo "$as_me: failed program was:" >&5
3118 sed 's/^/| /' conftest.
$ac_ext >&5
3121 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
3124 if test -n "$ac_declaration"; then
3125 echo '#ifdef __cplusplus' >>confdefs.h
3126 echo $ac_declaration >>confdefs.h
3127 echo '#endif' >>confdefs.h
3131 echo "$as_me: failed program was:" >&5
3132 sed 's/^/| /' conftest.
$ac_ext >&5
3135 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
3137 ac_cpp
='$CPP $CPPFLAGS'
3138 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3139 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3140 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
3142 depcc
="$CC" am_compiler_list
=
3144 echo "$as_me:$LINENO: checking dependency style of $depcc" >&5
3145 echo $ECHO_N "checking dependency style of $depcc... $ECHO_C" >&6
3146 if test "${am_cv_CC_dependencies_compiler_type+set}" = set; then
3147 echo $ECHO_N "(cached) $ECHO_C" >&6
3149 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
3150 # We make a subdir and do the tests there. Otherwise we can end up
3151 # making bogus files that we don't know about and never remove. For
3152 # instance it was reported that on HP-UX the gcc test will end up
3153 # making a dummy file named `D' -- because `-MD' means `put the output
3156 # Copy depcomp to subdir because otherwise we won't find it if we're
3157 # using a relative directory.
3158 cp "$am_depcomp" conftest.dir
3160 # We will build objects and dependencies in a subdirectory because
3161 # it helps to detect inapplicable dependency modes. For instance
3162 # both Tru64's cc and ICC support -MD to output dependencies as a
3163 # side effect of compilation, but ICC will put the dependencies in
3164 # the current directory while Tru64 will put them in the object
3168 am_cv_CC_dependencies_compiler_type
=none
3169 if test "$am_compiler_list" = ""; then
3170 am_compiler_list
=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
3172 for depmode
in $am_compiler_list; do
3173 # Setup a source with many dependencies, because some compilers
3174 # like to wrap large dependency lists on column 80 (with \), and
3175 # we should not choose a depcomp mode which is confused by this.
3177 # We need to recreate these files for each test, as the compiler may
3178 # overwrite some of them when testing with obscure command lines.
3179 # This happens at least with the AIX C compiler.
3181 for i
in 1 2 3 4 5 6; do
3182 echo '#include "conftst'$i'.h"' >> sub
/conftest.c
3183 # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
3184 # Solaris 8's {/usr,}/bin/sh.
3185 touch sub
/conftst
$i.h
3187 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
3191 # after this tag, mechanisms are not by side-effect, so they'll
3192 # only be used when explicitly requested
3193 if test "x$enable_dependency_tracking" = xyes
; then
3201 # We check with `-c' and `-o' for the sake of the "dashmstdout"
3202 # mode. It turns out that the SunPro C++ compiler does not properly
3203 # handle `-M -o', and we need to detect this.
3204 if depmode
=$depmode \
3205 source=sub
/conftest.c object
=sub
/conftest.
${OBJEXT-o} \
3206 depfile
=sub
/conftest.Po tmpdepfile
=sub
/conftest.TPo \
3207 $SHELL .
/depcomp
$depcc -c -o sub
/conftest.
${OBJEXT-o} sub
/conftest.c \
3208 >/dev
/null
2>conftest.err
&&
3209 grep sub
/conftst6.h sub
/conftest.Po
> /dev
/null
2>&1 &&
3210 grep sub
/conftest.
${OBJEXT-o} sub
/conftest.Po
> /dev
/null
2>&1 &&
3211 ${MAKE-make} -s -f confmf
> /dev
/null
2>&1; then
3212 # icc doesn't choke on unknown options, it will just issue warnings
3213 # or remarks (even with -Werror). So we grep stderr for any message
3214 # that says an option was ignored or not supported.
3215 # When given -MP, icc 7.0 and 7.1 complain thusly:
3216 # icc: Command line warning: ignoring option '-M'; no argument required
3217 # The diagnosis changed in icc 8.0:
3218 # icc: Command line remark: option '-MP' not supported
3219 if (grep 'ignoring option' conftest.err ||
3220 grep 'not supported' conftest.err
) >/dev
/null
2>&1; then :; else
3221 am_cv_CC_dependencies_compiler_type
=$depmode
3230 am_cv_CC_dependencies_compiler_type
=none
3234 echo "$as_me:$LINENO: result: $am_cv_CC_dependencies_compiler_type" >&5
3235 echo "${ECHO_T}$am_cv_CC_dependencies_compiler_type" >&6
3236 CCDEPMODE
=depmode
=$am_cv_CC_dependencies_compiler_type
3241 test "x$enable_dependency_tracking" != xno \
3242 && test "$am_cv_CC_dependencies_compiler_type" = gcc3
; then
3244 am__fastdepCC_FALSE
='#'
3246 am__fastdepCC_TRUE
='#'
3247 am__fastdepCC_FALSE
=
3253 ac_cpp
='$CPP $CPPFLAGS'
3254 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3255 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3256 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
3257 echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5
3258 echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6
3259 # On Suns, sometimes $CPP names a directory.
3260 if test -n "$CPP" && test -d "$CPP"; then
3263 if test -z "$CPP"; then
3264 if test "${ac_cv_prog_CPP+set}" = set; then
3265 echo $ECHO_N "(cached) $ECHO_C" >&6
3267 # Double quotes because CPP needs to be expanded
3268 for CPP
in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
3271 for ac_c_preproc_warn_flag
in '' yes
3273 # Use a header file that comes with gcc, so configuring glibc
3274 # with a fresh cross-compiler works.
3275 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
3276 # <limits.h> exists even on freestanding compilers.
3277 # On the NeXT, cc -E runs the code through the compiler's parser,
3278 # not just through cpp. "Syntax error" is here to catch this case.
3279 cat >conftest.
$ac_ext <<_ACEOF
3282 cat confdefs.h
>>conftest.
$ac_ext
3283 cat >>conftest.
$ac_ext <<_ACEOF
3284 /* end confdefs.h. */
3286 # include <limits.h>
3288 # include <assert.h>
3292 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
3293 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
3295 grep -v '^ *+' conftest.er1
>conftest.err
3297 cat conftest.err
>&5
3298 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3299 (exit $ac_status); } >/dev
/null
; then
3300 if test -s conftest.err
; then
3301 ac_cpp_err
=$ac_c_preproc_warn_flag
3302 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
3309 if test -z "$ac_cpp_err"; then
3312 echo "$as_me: failed program was:" >&5
3313 sed 's/^/| /' conftest.
$ac_ext >&5
3315 # Broken: fails on valid input.
3318 rm -f conftest.err conftest.
$ac_ext
3320 # OK, works on sane cases. Now check whether non-existent headers
3321 # can be detected and how.
3322 cat >conftest.
$ac_ext <<_ACEOF
3325 cat confdefs.h
>>conftest.
$ac_ext
3326 cat >>conftest.
$ac_ext <<_ACEOF
3327 /* end confdefs.h. */
3328 #include <ac_nonexistent.h>
3330 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
3331 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
3333 grep -v '^ *+' conftest.er1
>conftest.err
3335 cat conftest.err
>&5
3336 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3337 (exit $ac_status); } >/dev
/null
; then
3338 if test -s conftest.err
; then
3339 ac_cpp_err
=$ac_c_preproc_warn_flag
3340 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
3347 if test -z "$ac_cpp_err"; then
3348 # Broken: success on invalid input.
3351 echo "$as_me: failed program was:" >&5
3352 sed 's/^/| /' conftest.
$ac_ext >&5
3354 # Passes both tests.
3358 rm -f conftest.err conftest.
$ac_ext
3361 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
3362 rm -f conftest.err conftest.
$ac_ext
3363 if $ac_preproc_ok; then
3375 echo "$as_me:$LINENO: result: $CPP" >&5
3376 echo "${ECHO_T}$CPP" >&6
3378 for ac_c_preproc_warn_flag
in '' yes
3380 # Use a header file that comes with gcc, so configuring glibc
3381 # with a fresh cross-compiler works.
3382 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
3383 # <limits.h> exists even on freestanding compilers.
3384 # On the NeXT, cc -E runs the code through the compiler's parser,
3385 # not just through cpp. "Syntax error" is here to catch this case.
3386 cat >conftest.
$ac_ext <<_ACEOF
3389 cat confdefs.h
>>conftest.
$ac_ext
3390 cat >>conftest.
$ac_ext <<_ACEOF
3391 /* end confdefs.h. */
3393 # include <limits.h>
3395 # include <assert.h>
3399 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
3400 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
3402 grep -v '^ *+' conftest.er1
>conftest.err
3404 cat conftest.err
>&5
3405 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3406 (exit $ac_status); } >/dev
/null
; then
3407 if test -s conftest.err
; then
3408 ac_cpp_err
=$ac_c_preproc_warn_flag
3409 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
3416 if test -z "$ac_cpp_err"; then
3419 echo "$as_me: failed program was:" >&5
3420 sed 's/^/| /' conftest.
$ac_ext >&5
3422 # Broken: fails on valid input.
3425 rm -f conftest.err conftest.
$ac_ext
3427 # OK, works on sane cases. Now check whether non-existent headers
3428 # can be detected and how.
3429 cat >conftest.
$ac_ext <<_ACEOF
3432 cat confdefs.h
>>conftest.
$ac_ext
3433 cat >>conftest.
$ac_ext <<_ACEOF
3434 /* end confdefs.h. */
3435 #include <ac_nonexistent.h>
3437 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
3438 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
3440 grep -v '^ *+' conftest.er1
>conftest.err
3442 cat conftest.err
>&5
3443 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3444 (exit $ac_status); } >/dev
/null
; then
3445 if test -s conftest.err
; then
3446 ac_cpp_err
=$ac_c_preproc_warn_flag
3447 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
3454 if test -z "$ac_cpp_err"; then
3455 # Broken: success on invalid input.
3458 echo "$as_me: failed program was:" >&5
3459 sed 's/^/| /' conftest.
$ac_ext >&5
3461 # Passes both tests.
3465 rm -f conftest.err conftest.
$ac_ext
3468 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
3469 rm -f conftest.err conftest.
$ac_ext
3470 if $ac_preproc_ok; then
3473 { { echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check
3474 See \`config.log' for more details." >&5
3475 echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check
3476 See \`config.log' for more details." >&2;}
3477 { (exit 1); exit 1; }; }
3481 ac_cpp
='$CPP $CPPFLAGS'
3482 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3483 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3484 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
3487 echo "$as_me:$LINENO: checking for egrep" >&5
3488 echo $ECHO_N "checking for egrep... $ECHO_C" >&6
3489 if test "${ac_cv_prog_egrep+set}" = set; then
3490 echo $ECHO_N "(cached) $ECHO_C" >&6
3492 if echo a |
(grep -E '(a|b)') >/dev
/null
2>&1
3493 then ac_cv_prog_egrep
='grep -E'
3494 else ac_cv_prog_egrep
='egrep'
3497 echo "$as_me:$LINENO: result: $ac_cv_prog_egrep" >&5
3498 echo "${ECHO_T}$ac_cv_prog_egrep" >&6
3499 EGREP
=$ac_cv_prog_egrep
3502 echo "$as_me:$LINENO: checking for ANSI C header files" >&5
3503 echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6
3504 if test "${ac_cv_header_stdc+set}" = set; then
3505 echo $ECHO_N "(cached) $ECHO_C" >&6
3507 cat >conftest.
$ac_ext <<_ACEOF
3510 cat confdefs.h
>>conftest.
$ac_ext
3511 cat >>conftest.
$ac_ext <<_ACEOF
3512 /* end confdefs.h. */
3526 rm -f conftest.
$ac_objext
3527 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3528 (eval $ac_compile) 2>conftest.er1
3530 grep -v '^ *+' conftest.er1
>conftest.err
3532 cat conftest.err
>&5
3533 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3534 (exit $ac_status); } &&
3535 { ac_try
='test -z "$ac_c_werror_flag"
3536 || test ! -s conftest.err'
3537 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3540 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3541 (exit $ac_status); }; } &&
3542 { ac_try
='test -s conftest.$ac_objext'
3543 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3546 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3547 (exit $ac_status); }; }; then
3548 ac_cv_header_stdc
=yes
3550 echo "$as_me: failed program was:" >&5
3551 sed 's/^/| /' conftest.
$ac_ext >&5
3553 ac_cv_header_stdc
=no
3555 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
3557 if test $ac_cv_header_stdc = yes; then
3558 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
3559 cat >conftest.
$ac_ext <<_ACEOF
3562 cat confdefs.h
>>conftest.
$ac_ext
3563 cat >>conftest.
$ac_ext <<_ACEOF
3564 /* end confdefs.h. */
3568 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
3569 $EGREP "memchr" >/dev
/null
2>&1; then
3572 ac_cv_header_stdc
=no
3578 if test $ac_cv_header_stdc = yes; then
3579 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
3580 cat >conftest.
$ac_ext <<_ACEOF
3583 cat confdefs.h
>>conftest.
$ac_ext
3584 cat >>conftest.
$ac_ext <<_ACEOF
3585 /* end confdefs.h. */
3589 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
3590 $EGREP "free" >/dev
/null
2>&1; then
3593 ac_cv_header_stdc
=no
3599 if test $ac_cv_header_stdc = yes; then
3600 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
3601 if test "$cross_compiling" = yes; then
3604 cat >conftest.
$ac_ext <<_ACEOF
3607 cat confdefs.h
>>conftest.
$ac_ext
3608 cat >>conftest.
$ac_ext <<_ACEOF
3609 /* end confdefs.h. */
3611 #if ((' ' & 0x0FF) == 0x020)
3612 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
3613 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
3615 # define ISLOWER(c) \
3616 (('a' <= (c) && (c) <= 'i') \
3617 || ('j' <= (c) && (c) <= 'r') \
3618 || ('s' <= (c) && (c) <= 'z'))
3619 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
3622 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
3627 for (i = 0; i < 256; i++)
3628 if (XOR (islower (i), ISLOWER (i))
3629 || toupper (i) != TOUPPER (i))
3634 rm -f conftest
$ac_exeext
3635 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
3636 (eval $ac_link) 2>&5
3638 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3639 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
3640 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3643 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3644 (exit $ac_status); }; }; then
3647 echo "$as_me: program exited with status $ac_status" >&5
3648 echo "$as_me: failed program was:" >&5
3649 sed 's/^/| /' conftest.
$ac_ext >&5
3652 ac_cv_header_stdc
=no
3654 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
3658 echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
3659 echo "${ECHO_T}$ac_cv_header_stdc" >&6
3660 if test $ac_cv_header_stdc = yes; then
3662 cat >>confdefs.h
<<\_ACEOF
3663 #define STDC_HEADERS 1
3668 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
3678 for ac_header
in sys
/types.h sys
/stat.h stdlib.h string.h memory.h
strings.h \
3679 inttypes.h stdint.h unistd.h
3681 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
3682 echo "$as_me:$LINENO: checking for $ac_header" >&5
3683 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
3684 if eval "test \"\${$as_ac_Header+set}\" = set"; then
3685 echo $ECHO_N "(cached) $ECHO_C" >&6
3687 cat >conftest.
$ac_ext <<_ACEOF
3690 cat confdefs.h
>>conftest.
$ac_ext
3691 cat >>conftest.
$ac_ext <<_ACEOF
3692 /* end confdefs.h. */
3693 $ac_includes_default
3695 #include <$ac_header>
3697 rm -f conftest.
$ac_objext
3698 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3699 (eval $ac_compile) 2>conftest.er1
3701 grep -v '^ *+' conftest.er1
>conftest.err
3703 cat conftest.err
>&5
3704 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3705 (exit $ac_status); } &&
3706 { ac_try
='test -z "$ac_c_werror_flag"
3707 || test ! -s conftest.err'
3708 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3711 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3712 (exit $ac_status); }; } &&
3713 { ac_try
='test -s conftest.$ac_objext'
3714 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3717 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3718 (exit $ac_status); }; }; then
3719 eval "$as_ac_Header=yes"
3721 echo "$as_me: failed program was:" >&5
3722 sed 's/^/| /' conftest.
$ac_ext >&5
3724 eval "$as_ac_Header=no"
3726 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
3728 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
3729 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
3730 if test `eval echo '${'$as_ac_Header'}'` = yes; then
3731 cat >>confdefs.h
<<_ACEOF
3732 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
3740 # Check whether --enable-alsa or --disable-alsa was given.
3741 if test "${enable_alsa+set}" = set; then
3742 enableval
="$enable_alsa"
3743 case "${enableval}" in
3744 yes) COMPILE_ALSA
=yes ;;
3745 no
) COMPILE_ALSA
=no
;;
3746 *) COMPILE_ALSA
=yes ;;
3750 for ac_header
in alsa
/asoundlib.h
3752 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
3753 if eval "test \"\${$as_ac_Header+set}\" = set"; then
3754 echo "$as_me:$LINENO: checking for $ac_header" >&5
3755 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
3756 if eval "test \"\${$as_ac_Header+set}\" = set"; then
3757 echo $ECHO_N "(cached) $ECHO_C" >&6
3759 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
3760 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
3762 # Is the header compilable?
3763 echo "$as_me:$LINENO: checking $ac_header usability" >&5
3764 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
3765 cat >conftest.
$ac_ext <<_ACEOF
3768 cat confdefs.h
>>conftest.
$ac_ext
3769 cat >>conftest.
$ac_ext <<_ACEOF
3770 /* end confdefs.h. */
3771 $ac_includes_default
3772 #include <$ac_header>
3774 rm -f conftest.
$ac_objext
3775 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3776 (eval $ac_compile) 2>conftest.er1
3778 grep -v '^ *+' conftest.er1
>conftest.err
3780 cat conftest.err
>&5
3781 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3782 (exit $ac_status); } &&
3783 { ac_try
='test -z "$ac_c_werror_flag"
3784 || test ! -s conftest.err'
3785 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3788 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3789 (exit $ac_status); }; } &&
3790 { ac_try
='test -s conftest.$ac_objext'
3791 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3794 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3795 (exit $ac_status); }; }; then
3796 ac_header_compiler
=yes
3798 echo "$as_me: failed program was:" >&5
3799 sed 's/^/| /' conftest.
$ac_ext >&5
3801 ac_header_compiler
=no
3803 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
3804 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
3805 echo "${ECHO_T}$ac_header_compiler" >&6
3807 # Is the header present?
3808 echo "$as_me:$LINENO: checking $ac_header presence" >&5
3809 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
3810 cat >conftest.
$ac_ext <<_ACEOF
3813 cat confdefs.h
>>conftest.
$ac_ext
3814 cat >>conftest.
$ac_ext <<_ACEOF
3815 /* end confdefs.h. */
3816 #include <$ac_header>
3818 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
3819 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
3821 grep -v '^ *+' conftest.er1
>conftest.err
3823 cat conftest.err
>&5
3824 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3825 (exit $ac_status); } >/dev
/null
; then
3826 if test -s conftest.err
; then
3827 ac_cpp_err
=$ac_c_preproc_warn_flag
3828 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
3835 if test -z "$ac_cpp_err"; then
3836 ac_header_preproc
=yes
3838 echo "$as_me: failed program was:" >&5
3839 sed 's/^/| /' conftest.
$ac_ext >&5
3841 ac_header_preproc
=no
3843 rm -f conftest.err conftest.
$ac_ext
3844 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
3845 echo "${ECHO_T}$ac_header_preproc" >&6
3847 # So? What about this header?
3848 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
3850 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
3851 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
3852 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
3853 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
3854 ac_header_preproc
=yes
3857 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
3858 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
3859 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
3860 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
3861 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
3862 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
3863 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
3864 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
3865 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
3866 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
3867 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
3868 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
3871 ## -------------------------------- ##
3872 ## Report this to classpath@gnu.org ##
3873 ## -------------------------------- ##
3876 sed "s/^/$as_me: WARNING: /" >&2
3879 echo "$as_me:$LINENO: checking for $ac_header" >&5
3880 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
3881 if eval "test \"\${$as_ac_Header+set}\" = set"; then
3882 echo $ECHO_N "(cached) $ECHO_C" >&6
3884 eval "$as_ac_Header=\$ac_header_preproc"
3886 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
3887 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
3890 if test `eval echo '${'$as_ac_Header'}'` = yes; then
3891 cat >>confdefs.h
<<_ACEOF
3892 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
3894 echo "$as_me:$LINENO: checking for snd_seq_open in -lasound" >&5
3895 echo $ECHO_N "checking for snd_seq_open in -lasound... $ECHO_C" >&6
3896 if test "${ac_cv_lib_asound_snd_seq_open+set}" = set; then
3897 echo $ECHO_N "(cached) $ECHO_C" >&6
3899 ac_check_lib_save_LIBS
=$LIBS
3900 LIBS
="-lasound $LIBS"
3901 cat >conftest.
$ac_ext <<_ACEOF
3904 cat confdefs.h
>>conftest.
$ac_ext
3905 cat >>conftest.
$ac_ext <<_ACEOF
3906 /* end confdefs.h. */
3908 /* Override any gcc2 internal prototype to avoid an error. */
3912 /* We use char because int might match the return type of a gcc2
3913 builtin and then its argument prototype would still apply. */
3914 char snd_seq_open ();
3923 rm -f conftest.
$ac_objext conftest
$ac_exeext
3924 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
3925 (eval $ac_link) 2>conftest.er1
3927 grep -v '^ *+' conftest.er1
>conftest.err
3929 cat conftest.err
>&5
3930 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3931 (exit $ac_status); } &&
3932 { ac_try
='test -z "$ac_c_werror_flag"
3933 || test ! -s conftest.err'
3934 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3937 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3938 (exit $ac_status); }; } &&
3939 { ac_try
='test -s conftest$ac_exeext'
3940 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3943 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3944 (exit $ac_status); }; }; then
3945 ac_cv_lib_asound_snd_seq_open
=yes
3947 echo "$as_me: failed program was:" >&5
3948 sed 's/^/| /' conftest.
$ac_ext >&5
3950 ac_cv_lib_asound_snd_seq_open
=no
3952 rm -f conftest.err conftest.
$ac_objext \
3953 conftest
$ac_exeext conftest.
$ac_ext
3954 LIBS
=$ac_check_lib_save_LIBS
3956 echo "$as_me:$LINENO: result: $ac_cv_lib_asound_snd_seq_open" >&5
3957 echo "${ECHO_T}$ac_cv_lib_asound_snd_seq_open" >&6
3958 if test $ac_cv_lib_asound_snd_seq_open = yes; then
3973 if test "x${COMPILE_ALSA}" = xyes
; then
3974 CREATE_ALSA_LIBRARIES_TRUE
=
3975 CREATE_ALSA_LIBRARIES_FALSE
='#'
3977 CREATE_ALSA_LIBRARIES_TRUE
='#'
3978 CREATE_ALSA_LIBRARIES_FALSE
=
3982 # Check whether --enable-dssi or --disable-dssi was given.
3983 if test "${enable_dssi+set}" = set; then
3984 enableval
="$enable_dssi"
3985 case "${enableval}" in
3986 yes) COMPILE_DSSI
=yes ;;
3987 no
) COMPILE_DSSI
=no
;;
3988 *) COMPILE_DSSI
=yes ;;
3992 for ac_header
in dssi.h
3994 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
3995 if eval "test \"\${$as_ac_Header+set}\" = set"; then
3996 echo "$as_me:$LINENO: checking for $ac_header" >&5
3997 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
3998 if eval "test \"\${$as_ac_Header+set}\" = set"; then
3999 echo $ECHO_N "(cached) $ECHO_C" >&6
4001 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
4002 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
4004 # Is the header compilable?
4005 echo "$as_me:$LINENO: checking $ac_header usability" >&5
4006 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
4007 cat >conftest.
$ac_ext <<_ACEOF
4010 cat confdefs.h
>>conftest.
$ac_ext
4011 cat >>conftest.
$ac_ext <<_ACEOF
4012 /* end confdefs.h. */
4013 $ac_includes_default
4014 #include <$ac_header>
4016 rm -f conftest.
$ac_objext
4017 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4018 (eval $ac_compile) 2>conftest.er1
4020 grep -v '^ *+' conftest.er1
>conftest.err
4022 cat conftest.err
>&5
4023 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4024 (exit $ac_status); } &&
4025 { ac_try
='test -z "$ac_c_werror_flag"
4026 || test ! -s conftest.err'
4027 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4030 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4031 (exit $ac_status); }; } &&
4032 { ac_try
='test -s conftest.$ac_objext'
4033 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4036 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4037 (exit $ac_status); }; }; then
4038 ac_header_compiler
=yes
4040 echo "$as_me: failed program was:" >&5
4041 sed 's/^/| /' conftest.
$ac_ext >&5
4043 ac_header_compiler
=no
4045 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
4046 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
4047 echo "${ECHO_T}$ac_header_compiler" >&6
4049 # Is the header present?
4050 echo "$as_me:$LINENO: checking $ac_header presence" >&5
4051 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
4052 cat >conftest.
$ac_ext <<_ACEOF
4055 cat confdefs.h
>>conftest.
$ac_ext
4056 cat >>conftest.
$ac_ext <<_ACEOF
4057 /* end confdefs.h. */
4058 #include <$ac_header>
4060 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
4061 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
4063 grep -v '^ *+' conftest.er1
>conftest.err
4065 cat conftest.err
>&5
4066 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4067 (exit $ac_status); } >/dev
/null
; then
4068 if test -s conftest.err
; then
4069 ac_cpp_err
=$ac_c_preproc_warn_flag
4070 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
4077 if test -z "$ac_cpp_err"; then
4078 ac_header_preproc
=yes
4080 echo "$as_me: failed program was:" >&5
4081 sed 's/^/| /' conftest.
$ac_ext >&5
4083 ac_header_preproc
=no
4085 rm -f conftest.err conftest.
$ac_ext
4086 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
4087 echo "${ECHO_T}$ac_header_preproc" >&6
4089 # So? What about this header?
4090 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
4092 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
4093 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
4094 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
4095 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
4096 ac_header_preproc
=yes
4099 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
4100 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
4101 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
4102 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
4103 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
4104 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
4105 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
4106 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
4107 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
4108 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
4109 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
4110 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
4113 ## -------------------------------- ##
4114 ## Report this to classpath@gnu.org ##
4115 ## -------------------------------- ##
4118 sed "s/^/$as_me: WARNING: /" >&2
4121 echo "$as_me:$LINENO: checking for $ac_header" >&5
4122 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
4123 if eval "test \"\${$as_ac_Header+set}\" = set"; then
4124 echo $ECHO_N "(cached) $ECHO_C" >&6
4126 eval "$as_ac_Header=\$ac_header_preproc"
4128 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
4129 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
4132 if test `eval echo '${'$as_ac_Header'}'` = yes; then
4133 cat >>confdefs.h
<<_ACEOF
4134 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
4146 if test "x${COMPILE_DSSI}" = xyes
; then
4147 CREATE_DSSI_LIBRARIES_TRUE
=
4148 CREATE_DSSI_LIBRARIES_FALSE
='#'
4150 CREATE_DSSI_LIBRARIES_TRUE
='#'
4151 CREATE_DSSI_LIBRARIES_FALSE
=
4155 # Check whether --enable-gtk-peer or --disable-gtk-peer was given.
4156 if test "${enable_gtk_peer+set}" = set; then
4157 enableval
="$enable_gtk_peer"
4158 case "${enableval}" in
4159 yes) COMPILE_GTK_PEER
=yes ;;
4160 no
) COMPILE_GTK_PEER
=no
;;
4161 *) COMPILE_GTK_PEER
=yes ;;
4164 COMPILE_GTK_PEER
=yes
4168 if test "x${COMPILE_GTK_PEER}" = xyes
; then
4169 CREATE_GTK_PEER_LIBRARIES_TRUE
=
4170 CREATE_GTK_PEER_LIBRARIES_FALSE
='#'
4172 CREATE_GTK_PEER_LIBRARIES_TRUE
='#'
4173 CREATE_GTK_PEER_LIBRARIES_FALSE
=
4177 # Check whether --enable-gtk-peers or --disable-gtk-peers was given.
4178 if test "${enable_gtk_peers+set}" = set; then
4179 enableval
="$enable_gtk_peers"
4180 { { echo "$as_me:$LINENO: error: No --enable-gtk-peers (or --disable-gtk-peers) option; you want --enable-gtk-peer" >&5
4181 echo "$as_me: error: No --enable-gtk-peers (or --disable-gtk-peers) option; you want --enable-gtk-peer" >&2;}
4182 { (exit 1); exit 1; }; }
4185 # Check whether --enable-gtk-cairo or --disable-gtk-cairo was given.
4186 if test "${enable_gtk_cairo+set}" = set; then
4187 enableval
="$enable_gtk_cairo"
4188 case "${enableval}" in
4189 yes) GTK_CAIRO_ENABLED
=true
;;
4190 no
) GTK_CAIRO_ENABLED
=false
;;
4191 *) GTK_CAIRO_ENABLED
=true
;;
4194 GTK_CAIRO_ENABLED
=false
4197 if test "x${GTK_CAIRO_ENABLED}" = xtrue
; then
4199 cat >>confdefs.h
<<\_ACEOF
4206 if test "x${GTK_CAIRO_ENABLED}" = xtrue
; then
4215 # Check whether --enable-qt-peer or --disable-qt-peer was given.
4216 if test "${enable_qt_peer+set}" = set; then
4217 enableval
="$enable_qt_peer"
4218 case "${enableval}" in
4219 yes) COMPILE_QT_PEER
=yes ;;
4220 no
) COMPILE_QT_PEER
=no
;;
4221 *) COMPILE_QT_PEER
=yes ;;
4228 if test "x${COMPILE_QT_PEER}" = xyes
; then
4229 CREATE_QT_PEER_LIBRARIES_TRUE
=
4230 CREATE_QT_PEER_LIBRARIES_FALSE
='#'
4232 CREATE_QT_PEER_LIBRARIES_TRUE
='#'
4233 CREATE_QT_PEER_LIBRARIES_FALSE
=
4239 # Check whether --with-native-libdir or --without-native-libdir was given.
4240 if test "${with_native_libdir+set}" = set; then
4241 withval
="$with_native_libdir"
4243 nativeexeclibdir
=${withval}
4247 nativeexeclibdir
='${libdir}/${PACKAGE}'
4254 # Check whether --with-glibj-dir or --without-glibj-dir was given.
4255 if test "${with_glibj_dir+set}" = set; then
4256 withval
="$with_glibj_dir"
4262 glibjdir
='${datadir}/${PACKAGE}'
4268 # Check whether --enable-regen-headers or --disable-regen-headers was given.
4269 if test "${enable_regen_headers+set}" = set; then
4270 enableval
="$enable_regen_headers"
4271 case "${enableval}" in
4272 yes) REGENERATE_JNI_HEADERS
=yes ;;
4273 no
) REGENERATE_JNI_HEADERS
=no
;;
4274 *) REGENERATE_JNI_HEADERS
=no
;;
4277 REGENERATE_JNI_HEADERS
=no
4281 if test "x${REGENERATE_JNI_HEADERS}" = xyes
; then
4282 CREATE_JNI_HEADERS_TRUE
=
4283 CREATE_JNI_HEADERS_FALSE
='#'
4285 CREATE_JNI_HEADERS_TRUE
='#'
4286 CREATE_JNI_HEADERS_FALSE
=
4290 echo "$as_me:$LINENO: checking whether ln -s works" >&5
4291 echo $ECHO_N "checking whether ln -s works... $ECHO_C" >&6
4293 if test "$LN_S" = "ln -s"; then
4294 echo "$as_me:$LINENO: result: yes" >&5
4295 echo "${ECHO_T}yes" >&6
4297 echo "$as_me:$LINENO: result: no, using $LN_S" >&5
4298 echo "${ECHO_T}no, using $LN_S" >&6
4301 # Find a good install program. We prefer a C program (faster),
4302 # so one script is as good as another. But avoid the broken or
4303 # incompatible versions:
4304 # SysV /etc/install, /usr/sbin/install
4305 # SunOS /usr/etc/install
4306 # IRIX /sbin/install
4308 # AmigaOS /C/install, which installs bootblocks on floppy discs
4309 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
4310 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
4311 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
4312 # OS/2's system install, which has a completely different semantic
4313 # ./install, which can be erroneously created by make from ./install.sh.
4314 echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
4315 echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6
4316 if test -z "$INSTALL"; then
4317 if test "${ac_cv_path_install+set}" = set; then
4318 echo $ECHO_N "(cached) $ECHO_C" >&6
4320 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4324 test -z "$as_dir" && as_dir
=.
4325 # Account for people who put trailing slashes in PATH elements.
4327 .
/ | .
// |
/cC
/* | \
4328 /etc
/* |
/usr
/sbin
/* |
/usr
/etc
/* |
/sbin
/* |
/usr
/afsws
/bin
/* | \
4329 ?
:\\/os2
\\/install\\/* | ?
:\\/OS2
\\/INSTALL
\\/* | \
4332 # OSF1 and SCO ODT 3.0 have their own names for install.
4333 # Don't use installbsd from OSF since it installs stuff as root
4335 for ac_prog
in ginstall scoinst
install; do
4336 for ac_exec_ext
in '' $ac_executable_extensions; do
4337 if $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
4338 if test $ac_prog = install &&
4339 grep dspmsg
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
4340 # AIX install. It has an incompatible calling convention.
4342 elif test $ac_prog = install &&
4343 grep pwplus
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
4344 # program-specific install script used by HP pwplus--don't use.
4347 ac_cv_path_install
="$as_dir/$ac_prog$ac_exec_ext -c"
4359 if test "${ac_cv_path_install+set}" = set; then
4360 INSTALL
=$ac_cv_path_install
4362 # As a last resort, use the slow shell script. We don't cache a
4363 # path for INSTALL within a source directory, because that will
4364 # break other packages using the cache if that directory is
4365 # removed, or if the path is relative.
4366 INSTALL
=$ac_install_sh
4369 echo "$as_me:$LINENO: result: $INSTALL" >&5
4370 echo "${ECHO_T}$INSTALL" >&6
4372 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
4373 # It thinks the first close brace ends the variable substitution.
4374 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM
='${INSTALL}'
4376 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT
='${INSTALL}'
4378 test -z "$INSTALL_DATA" && INSTALL_DATA
='${INSTALL} -m 644'
4382 # Check whether --enable-static or --disable-static was given.
4383 if test "${enable_static+set}" = set; then
4384 enableval
="$enable_static"
4385 p
=${PACKAGE-default}
4387 yes) enable_static
=yes ;;
4388 no
) enable_static
=no
;;
4391 # Look at the argument we got. We use all the common list separators.
4392 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
="${IFS}:,"
4393 for pkg
in $enableval; do
4394 if test "X$pkg" = "X$p"; then
4404 # Check whether --enable-shared or --disable-shared was given.
4405 if test "${enable_shared+set}" = set; then
4406 enableval
="$enable_shared"
4407 p
=${PACKAGE-default}
4409 yes) enable_shared
=yes ;;
4410 no
) enable_shared
=no
;;
4413 # Look at the argument we got. We use all the common list separators.
4414 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
="${IFS}:,"
4415 for pkg
in $enableval; do
4416 if test "X$pkg" = "X$p"; then
4426 # Check whether --enable-fast-install or --disable-fast-install was given.
4427 if test "${enable_fast_install+set}" = set; then
4428 enableval
="$enable_fast_install"
4429 p
=${PACKAGE-default}
4431 yes) enable_fast_install
=yes ;;
4432 no
) enable_fast_install
=no
;;
4434 enable_fast_install
=no
4435 # Look at the argument we got. We use all the common list separators.
4436 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
="${IFS}:,"
4437 for pkg
in $enableval; do
4438 if test "X$pkg" = "X$p"; then
4439 enable_fast_install
=yes
4446 enable_fast_install
=yes
4449 # Check whether --with-gnu-ld or --without-gnu-ld was given.
4450 if test "${with_gnu_ld+set}" = set; then
4451 withval
="$with_gnu_ld"
4452 test "$withval" = no || with_gnu_ld
=yes
4457 if test "$GCC" = yes; then
4458 # Check if gcc -print-prog-name=ld gives a path.
4459 echo "$as_me:$LINENO: checking for ld used by GCC" >&5
4460 echo $ECHO_N "checking for ld used by GCC... $ECHO_C" >&6
4463 # gcc leaves a trailing carriage return which upsets mingw
4464 ac_prog
=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
4466 ac_prog
=`($CC -print-prog-name=ld) 2>&5` ;;
4469 # Accept absolute paths.
4470 [\\/]* |
[A-Za-z
]:[\\/]*)
4471 re_direlt
='/[^/][^/]*/\.\./'
4472 # Canonicalize the path of ld
4473 ac_prog
=`echo $ac_prog| sed 's%\\\\%/%g'`
4474 while echo $ac_prog |
grep "$re_direlt" > /dev
/null
2>&1; do
4475 ac_prog
=`echo $ac_prog| sed "s%$re_direlt%/%"`
4477 test -z "$LD" && LD
="$ac_prog"
4480 # If it fails, then pretend we aren't using GCC.
4484 # If it is relative, then search for the first ld in PATH.
4488 elif test "$with_gnu_ld" = yes; then
4489 echo "$as_me:$LINENO: checking for GNU ld" >&5
4490 echo $ECHO_N "checking for GNU ld... $ECHO_C" >&6
4492 echo "$as_me:$LINENO: checking for non-GNU ld" >&5
4493 echo $ECHO_N "checking for non-GNU ld... $ECHO_C" >&6
4495 if test "${lt_cv_path_LD+set}" = set; then
4496 echo $ECHO_N "(cached) $ECHO_C" >&6
4498 if test -z "$LD"; then
4499 IFS
="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}${PATH_SEPARATOR-:}"
4500 for ac_dir
in $PATH; do
4501 test -z "$ac_dir" && ac_dir
=.
4502 if test -f "$ac_dir/$ac_prog" ||
test -f "$ac_dir/$ac_prog$ac_exeext"; then
4503 lt_cv_path_LD
="$ac_dir/$ac_prog"
4504 # Check to see if the program is GNU ld. I'd rather use --version,
4505 # but apparently some GNU ld's only accept -v.
4506 # Break only if it was the GNU/non-GNU ld that we prefer.
4507 if "$lt_cv_path_LD" -v 2>&1 < /dev
/null |
egrep '(GNU|with BFD)' > /dev
/null
; then
4508 test "$with_gnu_ld" != no
&& break
4510 test "$with_gnu_ld" != yes && break
4516 lt_cv_path_LD
="$LD" # Let the user override the test with a path.
4521 if test -n "$LD"; then
4522 echo "$as_me:$LINENO: result: $LD" >&5
4523 echo "${ECHO_T}$LD" >&6
4525 echo "$as_me:$LINENO: result: no" >&5
4526 echo "${ECHO_T}no" >&6
4528 test -z "$LD" && { { echo "$as_me:$LINENO: error: no acceptable ld found in \$PATH" >&5
4529 echo "$as_me: error: no acceptable ld found in \$PATH" >&2;}
4530 { (exit 1); exit 1; }; }
4531 echo "$as_me:$LINENO: checking if the linker ($LD) is GNU ld" >&5
4532 echo $ECHO_N "checking if the linker ($LD) is GNU ld... $ECHO_C" >&6
4533 if test "${lt_cv_prog_gnu_ld+set}" = set; then
4534 echo $ECHO_N "(cached) $ECHO_C" >&6
4536 # I'd rather use --version here, but apparently some GNU ld's only accept -v.
4537 if $LD -v 2>&1 </dev
/null |
egrep '(GNU|with BFD)' 1>&5; then
4538 lt_cv_prog_gnu_ld
=yes
4540 lt_cv_prog_gnu_ld
=no
4543 echo "$as_me:$LINENO: result: $lt_cv_prog_gnu_ld" >&5
4544 echo "${ECHO_T}$lt_cv_prog_gnu_ld" >&6
4545 with_gnu_ld
=$lt_cv_prog_gnu_ld
4548 echo "$as_me:$LINENO: checking for $LD option to reload object files" >&5
4549 echo $ECHO_N "checking for $LD option to reload object files... $ECHO_C" >&6
4550 if test "${lt_cv_ld_reload_flag+set}" = set; then
4551 echo $ECHO_N "(cached) $ECHO_C" >&6
4553 lt_cv_ld_reload_flag
='-r'
4555 echo "$as_me:$LINENO: result: $lt_cv_ld_reload_flag" >&5
4556 echo "${ECHO_T}$lt_cv_ld_reload_flag" >&6
4557 reload_flag
=$lt_cv_ld_reload_flag
4558 test -n "$reload_flag" && reload_flag
=" $reload_flag"
4560 echo "$as_me:$LINENO: checking for BSD-compatible nm" >&5
4561 echo $ECHO_N "checking for BSD-compatible nm... $ECHO_C" >&6
4562 if test "${lt_cv_path_NM+set}" = set; then
4563 echo $ECHO_N "(cached) $ECHO_C" >&6
4565 if test -n "$NM"; then
4566 # Let the user override the test.
4569 IFS
="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}${PATH_SEPARATOR-:}"
4570 for ac_dir
in $PATH /usr
/ccs
/bin
/usr
/ucb
/bin
; do
4571 test -z "$ac_dir" && ac_dir
=.
4572 tmp_nm
=$ac_dir/${ac_tool_prefix}nm
4573 if test -f $tmp_nm ||
test -f $tmp_nm$ac_exeext ; then
4574 # Check to see if the nm accepts a BSD-compat flag.
4575 # Adding the `sed 1q' prevents false positives on HP-UX, which says:
4576 # nm: unknown option "B" ignored
4577 # Tru64's nm complains that /dev/null is an invalid object file
4578 if ($tmp_nm -B /dev
/null
2>&1 |
sed '1q'; exit 0) |
egrep '(/dev/null|Invalid file or object type)' >/dev
/null
; then
4579 lt_cv_path_NM
="$tmp_nm -B"
4581 elif ($tmp_nm -p /dev
/null
2>&1 |
sed '1q'; exit 0) |
egrep /dev
/null
>/dev
/null
; then
4582 lt_cv_path_NM
="$tmp_nm -p"
4585 lt_cv_path_NM
=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but
4586 continue # so that we can try to find one that supports BSD flags
4591 test -z "$lt_cv_path_NM" && lt_cv_path_NM
=nm
4596 echo "$as_me:$LINENO: result: $NM" >&5
4597 echo "${ECHO_T}$NM" >&6
4599 echo "$as_me:$LINENO: checking how to recognise dependant libraries" >&5
4600 echo $ECHO_N "checking how to recognise dependant libraries... $ECHO_C" >&6
4601 if test "${lt_cv_deplibs_check_method+set}" = set; then
4602 echo $ECHO_N "(cached) $ECHO_C" >&6
4604 lt_cv_file_magic_cmd
='$MAGIC_CMD'
4605 lt_cv_file_magic_test_file
=
4606 lt_cv_deplibs_check_method
='unknown'
4607 # Need to set the preceding variable on all platforms that support
4608 # interlibrary dependencies.
4609 # 'none' -- dependencies not supported.
4610 # `unknown' -- same as none, but documents that we really don't know.
4611 # 'pass_all' -- all dependencies passed with no checks.
4612 # 'test_compile' -- check by making test program.
4613 # 'file_magic [regex]' -- check by looking for files in library path
4614 # which responds to the $file_magic_cmd with a given egrep regex.
4615 # If you have `file' or equivalent on your system and you're not sure
4616 # whether `pass_all' will *always* work, you probably want this one.
4620 lt_cv_deplibs_check_method
=pass_all
4624 lt_cv_deplibs_check_method
=pass_all
4628 lt_cv_deplibs_check_method
='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib)'
4629 lt_cv_file_magic_cmd
='/usr/bin/file -L'
4630 lt_cv_file_magic_test_file
=/shlib
/libc.so
4633 cygwin
* | mingw
* |pw32
*)
4634 lt_cv_deplibs_check_method
='file_magic file format pei*-i386(.*architecture: i386)?'
4635 lt_cv_file_magic_cmd
='$OBJDUMP -f'
4638 darwin
* | rhapsody
*)
4639 # this will be overwritten by pass_all, but leave it in just in case
4640 lt_cv_deplibs_check_method
='file_magic Mach-O dynamically linked shared library'
4641 lt_cv_file_magic_cmd
='/usr/bin/file -L'
4643 rhapsody
* | darwin1.012
)
4644 lt_cv_file_magic_test_file
='/System/Library/Frameworks/System.framework/System'
4647 lt_cv_file_magic_test_file
='/usr/lib/libSystem.dylib'
4650 lt_cv_deplibs_check_method
=pass_all
4653 freebsd
* | kfreebsd
*-gnu)
4654 if echo __ELF__ |
$CC -E - |
grep __ELF__
> /dev
/null
; then
4657 # Not sure whether the presence of OpenBSD here was a mistake.
4658 # Let's accept both of them until this is cleared up.
4659 lt_cv_deplibs_check_method
='file_magic (FreeBSD|OpenBSD)/i[3-9]86 (compact )?demand paged shared library'
4660 lt_cv_file_magic_cmd
=/usr
/bin
/file
4661 lt_cv_file_magic_test_file
=`echo /usr/lib/libc.so.*`
4665 lt_cv_deplibs_check_method
=pass_all
4670 lt_cv_deplibs_check_method
=pass_all
4676 lt_cv_deplibs_check_method
='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9].[0-9]) shared library'
4677 lt_cv_file_magic_cmd
=/usr
/bin
/file
4678 lt_cv_file_magic_test_file
=/usr
/lib
/libc.sl
4681 lt_cv_deplibs_check_method
='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - IA64'
4682 lt_cv_file_magic_cmd
=/usr
/bin
/file
4683 lt_cv_file_magic_test_file
=/usr
/lib
/hpux32
/libc.so
4691 # this will be overridden with pass_all, but let us keep it just in case
4692 lt_cv_deplibs_check_method
="file_magic ELF 32-bit MSB dynamic lib MIPS - version 1"
4696 *-32|
*"-32 ") libmagic
=32-bit;;
4697 *-n32|
*"-n32 ") libmagic
=N32
;;
4698 *-64|
*"-64 ") libmagic
=64-bit;;
4699 *) libmagic
=never-match
;;
4701 # this will be overridden with pass_all, but let us keep it just in case
4702 lt_cv_deplibs_check_method
="file_magic ELF ${libmagic} MSB mips-[1234] dynamic lib MIPS - version 1"
4705 lt_cv_file_magic_test_file
=`echo /lib${libsuff}/libc.so*`
4706 lt_cv_deplibs_check_method
=pass_all
4709 # This must be Linux ELF.
4711 lt_cv_deplibs_check_method
=pass_all
4714 netbsd
* | knetbsd
*-gnu)
4715 if echo __ELF__ |
$CC -E - |
grep __ELF__
> /dev
/null
; then
4716 lt_cv_deplibs_check_method
='match_pattern /lib[^/\.]+\.so\.[0-9]+\.[0-9]+$'
4718 lt_cv_deplibs_check_method
='match_pattern /lib[^/\.]+\.so$'
4723 lt_cv_deplibs_check_method
='file_magic ELF [0-9][0-9]*-bit [ML]SB (executable|dynamic lib)'
4724 lt_cv_file_magic_cmd
=/usr
/bin
/file
4725 lt_cv_file_magic_test_file
=/usr
/lib
/libnls.so
4728 osf3
* | osf4
* | osf5
*)
4729 # this will be overridden with pass_all, but let us keep it just in case
4730 lt_cv_deplibs_check_method
='file_magic COFF format alpha shared library'
4731 lt_cv_file_magic_test_file
=/shlib
/libc.so
4732 lt_cv_deplibs_check_method
=pass_all
4736 lt_cv_deplibs_check_method
=pass_all
4740 lt_cv_deplibs_check_method
=pass_all
4741 lt_cv_file_magic_test_file
=/lib
/libc.so
4744 sysv5uw
[78]* | sysv4
*uw2
*)
4745 lt_cv_deplibs_check_method
=pass_all
4748 sysv4 | sysv4.2uw2
* | sysv4.3
* | sysv5
*)
4749 case $host_vendor in
4751 lt_cv_deplibs_check_method
=pass_all
4754 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]'
4755 lt_cv_file_magic_test_file
=`echo /usr/lib/libc.so*`
4762 echo "$as_me:$LINENO: result: $lt_cv_deplibs_check_method" >&5
4763 echo "${ECHO_T}$lt_cv_deplibs_check_method" >&6
4764 file_magic_cmd
=$lt_cv_file_magic_cmd
4765 deplibs_check_method
=$lt_cv_deplibs_check_method
4770 # Autoconf 2.13's AC_OBJEXT and AC_EXEEXT macros only works for C compilers!
4772 # find the maximum length of command line arguments
4773 echo "$as_me:$LINENO: checking the maximum length of command line arguments" >&5
4774 echo $ECHO_N "checking the maximum length of command line arguments... $ECHO_C" >&6
4775 if test "${lt_cv_sys_max_cmd_len+set}" = set; then
4776 echo $ECHO_N "(cached) $ECHO_C" >&6
4783 # On DJGPP, this test can blow up pretty badly due to problems in libc
4784 # (any single argument exceeding 2000 bytes causes a buffer overrun
4785 # during glob expansion). Even if it were fixed, the result of this
4786 # check would be larger than it should be.
4787 lt_cv_sys_max_cmd_len
=12288; # 12K is about right
4791 # On Win9x/ME, this test blows up -- it succeeds, but takes
4792 # about 5 minutes as the teststring grows exponentially.
4793 # Worse, since 9x/ME are not pre-emptively multitasking,
4794 # you end up with a "frozen" computer, even though with patience
4795 # the test eventually succeeds (with a max line length of 256k).
4796 # Instead, let's just punt: use the minimum linelength reported by
4797 # all of the supported platforms: 8192 (on NT/2K/XP).
4798 lt_cv_sys_max_cmd_len
=8192;
4802 # On AmigaOS with pdksh, this test takes hours, literally.
4803 # So we just punt and use a minimum line length of 8192.
4804 lt_cv_sys_max_cmd_len
=8192;
4807 netbsd
* | freebsd
* | openbsd
* | darwin
* | dragonfly
*)
4808 # This has been around since 386BSD, at least. Likely further.
4809 if test -x /sbin
/sysctl
; then
4810 lt_cv_sys_max_cmd_len
=`/sbin/sysctl -n kern.argmax`
4811 elif test -x /usr
/sbin
/sysctl
; then
4812 lt_cv_sys_max_cmd_len
=`/usr/sbin/sysctl -n kern.argmax`
4814 lt_cv_sys_max_cmd_len
=65536 # usable default for *BSD
4816 # And add a safety zone
4817 lt_cv_sys_max_cmd_len
=`expr $lt_cv_sys_max_cmd_len \/ 4`
4818 lt_cv_sys_max_cmd_len
=`expr $lt_cv_sys_max_cmd_len \* 3`
4824 if test -n "$lt_cv_sys_max_cmd_len" ; then
4825 echo "$as_me:$LINENO: result: $lt_cv_sys_max_cmd_len" >&5
4826 echo "${ECHO_T}$lt_cv_sys_max_cmd_len" >&6
4828 echo "$as_me:$LINENO: result: none" >&5
4829 echo "${ECHO_T}none" >&6
4833 # Only perform the check for file, if the check method requires it
4834 case $deplibs_check_method in
4836 if test "$file_magic_cmd" = '$MAGIC_CMD'; then
4837 echo "$as_me:$LINENO: checking for ${ac_tool_prefix}file" >&5
4838 echo $ECHO_N "checking for ${ac_tool_prefix}file... $ECHO_C" >&6
4839 if test "${lt_cv_path_MAGIC_CMD+set}" = set; then
4840 echo $ECHO_N "(cached) $ECHO_C" >&6
4844 lt_cv_path_MAGIC_CMD
="$MAGIC_CMD" # Let the user override the test with a path.
4847 lt_cv_path_MAGIC_CMD
="$MAGIC_CMD" # Let the user override the test with a dos path.
4850 ac_save_MAGIC_CMD
="$MAGIC_CMD"
4851 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
=":"
4852 ac_dummy
="/usr/bin:$PATH"
4853 for ac_dir
in $ac_dummy; do
4854 test -z "$ac_dir" && ac_dir
=.
4855 if test -f $ac_dir/${ac_tool_prefix}file; then
4856 lt_cv_path_MAGIC_CMD
="$ac_dir/${ac_tool_prefix}file"
4857 if test -n "$file_magic_test_file"; then
4858 case $deplibs_check_method in
4860 file_magic_regex
="`expr \"$deplibs_check_method\" : \"file_magic \(.*\)\"`"
4861 MAGIC_CMD
="$lt_cv_path_MAGIC_CMD"
4862 if eval $file_magic_cmd \
$file_magic_test_file 2> /dev
/null |
4863 egrep "$file_magic_regex" > /dev
/null
; then
4868 *** Warning: the command libtool uses to detect shared libraries,
4869 *** $file_magic_cmd, produces output that libtool cannot recognize.
4870 *** The result is that libtool may fail to recognize shared libraries
4871 *** as such. This will affect the creation of libtool libraries that
4872 *** depend on shared libraries, but programs linked with such libtool
4873 *** libraries will work regardless of this problem. Nevertheless, you
4874 *** may want to report the problem to your system manager and/or to
4875 *** bug-libtool@gnu.org
4885 MAGIC_CMD
="$ac_save_MAGIC_CMD"
4890 MAGIC_CMD
="$lt_cv_path_MAGIC_CMD"
4891 if test -n "$MAGIC_CMD"; then
4892 echo "$as_me:$LINENO: result: $MAGIC_CMD" >&5
4893 echo "${ECHO_T}$MAGIC_CMD" >&6
4895 echo "$as_me:$LINENO: result: no" >&5
4896 echo "${ECHO_T}no" >&6
4899 if test -z "$lt_cv_path_MAGIC_CMD"; then
4900 if test -n "$ac_tool_prefix"; then
4901 echo "$as_me:$LINENO: checking for file" >&5
4902 echo $ECHO_N "checking for file... $ECHO_C" >&6
4903 if test "${lt_cv_path_MAGIC_CMD+set}" = set; then
4904 echo $ECHO_N "(cached) $ECHO_C" >&6
4908 lt_cv_path_MAGIC_CMD
="$MAGIC_CMD" # Let the user override the test with a path.
4911 lt_cv_path_MAGIC_CMD
="$MAGIC_CMD" # Let the user override the test with a dos path.
4914 ac_save_MAGIC_CMD
="$MAGIC_CMD"
4915 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
=":"
4916 ac_dummy
="/usr/bin:$PATH"
4917 for ac_dir
in $ac_dummy; do
4918 test -z "$ac_dir" && ac_dir
=.
4919 if test -f $ac_dir/file; then
4920 lt_cv_path_MAGIC_CMD
="$ac_dir/file"
4921 if test -n "$file_magic_test_file"; then
4922 case $deplibs_check_method in
4924 file_magic_regex
="`expr \"$deplibs_check_method\" : \"file_magic \(.*\)\"`"
4925 MAGIC_CMD
="$lt_cv_path_MAGIC_CMD"
4926 if eval $file_magic_cmd \
$file_magic_test_file 2> /dev
/null |
4927 egrep "$file_magic_regex" > /dev
/null
; then
4932 *** Warning: the command libtool uses to detect shared libraries,
4933 *** $file_magic_cmd, produces output that libtool cannot recognize.
4934 *** The result is that libtool may fail to recognize shared libraries
4935 *** as such. This will affect the creation of libtool libraries that
4936 *** depend on shared libraries, but programs linked with such libtool
4937 *** libraries will work regardless of this problem. Nevertheless, you
4938 *** may want to report the problem to your system manager and/or to
4939 *** bug-libtool@gnu.org
4949 MAGIC_CMD
="$ac_save_MAGIC_CMD"
4954 MAGIC_CMD
="$lt_cv_path_MAGIC_CMD"
4955 if test -n "$MAGIC_CMD"; then
4956 echo "$as_me:$LINENO: result: $MAGIC_CMD" >&5
4957 echo "${ECHO_T}$MAGIC_CMD" >&6
4959 echo "$as_me:$LINENO: result: no" >&5
4960 echo "${ECHO_T}no" >&6
4972 if test -n "$ac_tool_prefix"; then
4973 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
4974 set dummy
${ac_tool_prefix}ranlib
; ac_word
=$2
4975 echo "$as_me:$LINENO: checking for $ac_word" >&5
4976 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
4977 if test "${ac_cv_prog_RANLIB+set}" = set; then
4978 echo $ECHO_N "(cached) $ECHO_C" >&6
4980 if test -n "$RANLIB"; then
4981 ac_cv_prog_RANLIB
="$RANLIB" # Let the user override the test.
4983 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4987 test -z "$as_dir" && as_dir
=.
4988 for ac_exec_ext
in '' $ac_executable_extensions; do
4989 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4990 ac_cv_prog_RANLIB
="${ac_tool_prefix}ranlib"
4991 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4999 RANLIB
=$ac_cv_prog_RANLIB
5000 if test -n "$RANLIB"; then
5001 echo "$as_me:$LINENO: result: $RANLIB" >&5
5002 echo "${ECHO_T}$RANLIB" >&6
5004 echo "$as_me:$LINENO: result: no" >&5
5005 echo "${ECHO_T}no" >&6
5009 if test -z "$ac_cv_prog_RANLIB"; then
5010 ac_ct_RANLIB
=$RANLIB
5011 # Extract the first word of "ranlib", so it can be a program name with args.
5012 set dummy ranlib
; 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_ac_ct_RANLIB+set}" = set; then
5016 echo $ECHO_N "(cached) $ECHO_C" >&6
5018 if test -n "$ac_ct_RANLIB"; then
5019 ac_cv_prog_ac_ct_RANLIB
="$ac_ct_RANLIB" # 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_ac_ct_RANLIB
="ranlib"
5029 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5035 test -z "$ac_cv_prog_ac_ct_RANLIB" && ac_cv_prog_ac_ct_RANLIB
=":"
5038 ac_ct_RANLIB
=$ac_cv_prog_ac_ct_RANLIB
5039 if test -n "$ac_ct_RANLIB"; then
5040 echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
5041 echo "${ECHO_T}$ac_ct_RANLIB" >&6
5043 echo "$as_me:$LINENO: result: no" >&5
5044 echo "${ECHO_T}no" >&6
5047 RANLIB
=$ac_ct_RANLIB
5049 RANLIB
="$ac_cv_prog_RANLIB"
5052 if test -n "$ac_tool_prefix"; then
5053 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
5054 set dummy
${ac_tool_prefix}strip
; ac_word
=$2
5055 echo "$as_me:$LINENO: checking for $ac_word" >&5
5056 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
5057 if test "${ac_cv_prog_STRIP+set}" = set; then
5058 echo $ECHO_N "(cached) $ECHO_C" >&6
5060 if test -n "$STRIP"; then
5061 ac_cv_prog_STRIP
="$STRIP" # Let the user override the test.
5063 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5067 test -z "$as_dir" && as_dir
=.
5068 for ac_exec_ext
in '' $ac_executable_extensions; do
5069 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5070 ac_cv_prog_STRIP
="${ac_tool_prefix}strip"
5071 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5079 STRIP
=$ac_cv_prog_STRIP
5080 if test -n "$STRIP"; then
5081 echo "$as_me:$LINENO: result: $STRIP" >&5
5082 echo "${ECHO_T}$STRIP" >&6
5084 echo "$as_me:$LINENO: result: no" >&5
5085 echo "${ECHO_T}no" >&6
5089 if test -z "$ac_cv_prog_STRIP"; then
5091 # Extract the first word of "strip", so it can be a program name with args.
5092 set dummy strip
; ac_word
=$2
5093 echo "$as_me:$LINENO: checking for $ac_word" >&5
5094 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
5095 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
5096 echo $ECHO_N "(cached) $ECHO_C" >&6
5098 if test -n "$ac_ct_STRIP"; then
5099 ac_cv_prog_ac_ct_STRIP
="$ac_ct_STRIP" # Let the user override the test.
5101 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5105 test -z "$as_dir" && as_dir
=.
5106 for ac_exec_ext
in '' $ac_executable_extensions; do
5107 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5108 ac_cv_prog_ac_ct_STRIP
="strip"
5109 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5115 test -z "$ac_cv_prog_ac_ct_STRIP" && ac_cv_prog_ac_ct_STRIP
=":"
5118 ac_ct_STRIP
=$ac_cv_prog_ac_ct_STRIP
5119 if test -n "$ac_ct_STRIP"; then
5120 echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
5121 echo "${ECHO_T}$ac_ct_STRIP" >&6
5123 echo "$as_me:$LINENO: result: no" >&5
5124 echo "${ECHO_T}no" >&6
5129 STRIP
="$ac_cv_prog_STRIP"
5133 # Check for any special flags to pass to ltconfig.
5134 libtool_flags
="--cache-file=$cache_file"
5135 test "$enable_shared" = no
&& libtool_flags
="$libtool_flags --disable-shared"
5136 test "$enable_static" = no
&& libtool_flags
="$libtool_flags --disable-static"
5137 test "$enable_fast_install" = no
&& libtool_flags
="$libtool_flags --disable-fast-install"
5138 test "$GCC" = yes && libtool_flags
="$libtool_flags --with-gcc"
5139 test "$lt_cv_prog_gnu_ld" = yes && libtool_flags
="$libtool_flags --with-gnu-ld"
5142 # Check whether --enable-libtool-lock or --disable-libtool-lock was given.
5143 if test "${enable_libtool_lock+set}" = set; then
5144 enableval
="$enable_libtool_lock"
5147 test "x$enable_libtool_lock" = xno
&& libtool_flags
="$libtool_flags --disable-lock"
5148 test x
"$silent" = xyes
&& libtool_flags
="$libtool_flags --silent"
5151 # Check whether --with-pic or --without-pic was given.
5152 if test "${with_pic+set}" = set; then
5158 test x
"$pic_mode" = xyes
&& libtool_flags
="$libtool_flags --prefer-pic"
5159 test x
"$pic_mode" = xno
&& libtool_flags
="$libtool_flags --prefer-non-pic"
5161 # Some flags need to be propagated to the compiler or linker for good
5165 # Find out which ABI we are using.
5166 echo '#line 5166 "configure"' > conftest.
$ac_ext
5167 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5168 (eval $ac_compile) 2>&5
5170 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5171 (exit $ac_status); }; then
5172 if test "$lt_cv_prog_gnu_ld" = yes; then
5173 case `/usr/bin/file conftest.$ac_objext` in
5175 LD
="${LD-ld} -melf32bsmip"
5178 LD
="${LD-ld} -melf32bmipn32"
5181 LD
="${LD-ld} -melf64bmip"
5185 case `/usr/bin/file conftest.$ac_objext` in
5202 # Find out which ABI we are using.
5203 echo 'int i;' > conftest.
$ac_ext
5204 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5205 (eval $ac_compile) 2>&5
5207 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5208 (exit $ac_status); }; then
5209 case "`/usr/bin/file conftest.o`" in
5221 x86_64-
*linux
*|ppc
*-*linux
*|powerpc
*-*linux
*|s390
*-*linux
*|sparc
*-*linux
*)
5222 # Find out which ABI we are using.
5223 echo 'int i;' > conftest.
$ac_ext
5224 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5225 (eval $ac_compile) 2>&5
5227 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5228 (exit $ac_status); }; then
5229 case "`/usr/bin/file conftest.o`" in
5233 LD
="${LD-ld} -m elf_i386"
5235 ppc64-
*linux
*|powerpc64-
*linux
*)
5236 LD
="${LD-ld} -m elf32ppclinux"
5239 LD
="${LD-ld} -m elf_s390"
5242 LD
="${LD-ld} -m elf32_sparc"
5249 LD
="${LD-ld} -m elf_x86_64"
5251 ppc
*-*linux
*|powerpc
*-*linux
*)
5252 LD
="${LD-ld} -m elf64ppc"
5255 LD
="${LD-ld} -m elf64_s390"
5258 LD
="${LD-ld} -m elf64_sparc"
5268 # On SCO OpenServer 5, we need -belf to get full-featured binaries.
5269 SAVE_CFLAGS
="$CFLAGS"
5270 CFLAGS
="$CFLAGS -belf"
5271 echo "$as_me:$LINENO: checking whether the C compiler needs -belf" >&5
5272 echo $ECHO_N "checking whether the C compiler needs -belf... $ECHO_C" >&6
5273 if test "${lt_cv_cc_needs_belf+set}" = set; then
5274 echo $ECHO_N "(cached) $ECHO_C" >&6
5279 ac_cpp
='$CPP $CPPFLAGS'
5280 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5281 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5282 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
5284 cat >conftest.
$ac_ext <<_ACEOF
5287 cat confdefs.h
>>conftest.
$ac_ext
5288 cat >>conftest.
$ac_ext <<_ACEOF
5289 /* end confdefs.h. */
5299 rm -f conftest.
$ac_objext conftest
$ac_exeext
5300 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
5301 (eval $ac_link) 2>conftest.er1
5303 grep -v '^ *+' conftest.er1
>conftest.err
5305 cat conftest.err
>&5
5306 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5307 (exit $ac_status); } &&
5308 { ac_try
='test -z "$ac_c_werror_flag"
5309 || test ! -s conftest.err'
5310 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5313 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5314 (exit $ac_status); }; } &&
5315 { ac_try
='test -s conftest$ac_exeext'
5316 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5319 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5320 (exit $ac_status); }; }; then
5321 lt_cv_cc_needs_belf
=yes
5323 echo "$as_me: failed program was:" >&5
5324 sed 's/^/| /' conftest.
$ac_ext >&5
5326 lt_cv_cc_needs_belf
=no
5328 rm -f conftest.err conftest.
$ac_objext \
5329 conftest
$ac_exeext conftest.
$ac_ext
5331 ac_cpp
='$CPP $CPPFLAGS'
5332 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5333 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5334 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
5337 echo "$as_me:$LINENO: result: $lt_cv_cc_needs_belf" >&5
5338 echo "${ECHO_T}$lt_cv_cc_needs_belf" >&6
5339 if test x
"$lt_cv_cc_needs_belf" != x
"yes"; then
5340 # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
5341 CFLAGS
="$SAVE_CFLAGS"
5349 # Save cache, so that ltconfig can load it
5350 cat >confcache
<<\_ACEOF
5351 # This file is a shell script that caches the results of configure
5352 # tests run on this system so they can be shared between configure
5353 # scripts and configure runs, see configure's option --config-cache.
5354 # It is not useful on other systems. If it contains results you don't
5355 # want to keep, you may remove or edit it.
5357 # config.status only pays attention to the cache file if you give it
5358 # the --recheck option to rerun configure.
5360 # `ac_cv_env_foo' variables (set or unset) will be overridden when
5361 # loading this file, other *unset* `ac_cv_foo' will be assigned the
5366 # The following way of writing the cache mishandles newlines in values,
5367 # but we know of no workaround that is simple, portable, and efficient.
5368 # So, don't put newlines in cache variables' values.
5369 # Ultrix sh set writes to stderr and can't be redirected directly,
5370 # and sets the high bit in the cache file unless we assign to the vars.
5373 case `(ac_space=' '; set | grep ac_space) 2>&1` in
5375 # `set' does not quote correctly, so add quotes (double-quote
5376 # substitution turns \\\\ into \\, and sed turns \\ into \).
5379 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
5382 # `set' quotes correctly as required by POSIX, so do not add quotes.
5384 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
5391 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
5393 /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
5395 if diff $cache_file confcache
>/dev
/null
2>&1; then :; else
5396 if test -w $cache_file; then
5397 test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
5398 cat confcache
>$cache_file
5400 echo "not updating unwritable cache $cache_file"
5405 # Actually configure libtool. ac_aux_dir is where install-sh is found.
5406 AR
="$AR" LTCC
="$CC" CC
="$CC" CFLAGS
="$CFLAGS" CPPFLAGS
="$CPPFLAGS" \
5407 MAGIC_CMD
="$MAGIC_CMD" LD
="$LD" LDFLAGS
="$LDFLAGS" LIBS
="$LIBS" \
5408 LN_S
="$LN_S" NM
="$NM" RANLIB
="$RANLIB" STRIP
="$STRIP" \
5409 AS
="$AS" DLLTOOL
="$DLLTOOL" OBJDUMP
="$OBJDUMP" \
5410 objext
="$OBJEXT" exeext
="$EXEEXT" reload_flag
="$reload_flag" \
5411 deplibs_check_method
="$deplibs_check_method" file_magic_cmd
="$file_magic_cmd" \
5412 ${CONFIG_SHELL-/bin/sh} $ac_aux_dir/ltconfig
--no-reexec \
5413 $libtool_flags --no-verify --build="$build" $ac_aux_dir/ltmain.sh
$host \
5414 ||
{ { echo "$as_me:$LINENO: error: libtool configure failed" >&5
5415 echo "$as_me: error: libtool configure failed" >&2;}
5416 { (exit 1); exit 1; }; }
5418 # Reload cache, that may have been modified by ltconfig
5419 if test -r "$cache_file"; then
5420 # Some versions of bash will fail to source /dev/null (special
5421 # files actually), so we avoid doing that.
5422 if test -f "$cache_file"; then
5423 { echo "$as_me:$LINENO: loading cache $cache_file" >&5
5424 echo "$as_me: loading cache $cache_file" >&6;}
5426 [\\/]* | ?
:[\\/]* ) .
$cache_file;;
5427 *) . .
/$cache_file;;
5431 { echo "$as_me:$LINENO: creating cache $cache_file" >&5
5432 echo "$as_me: creating cache $cache_file" >&6;}
5437 # This can be used to rebuild libtool when needed
5438 LIBTOOL_DEPS
="$ac_aux_dir/ltconfig $ac_aux_dir/ltmain.sh $ac_aux_dir/ltcf-c.sh"
5440 # Always use our own libtool.
5441 LIBTOOL
='$(SHELL) $(top_builddir)/libtool'
5443 # Redirect the config.log output again, so that the ltconfig log is not
5444 # clobbered by the next message.
5445 exec 5>>.
/config.log
5453 ac_cpp
='$CPP $CPPFLAGS'
5454 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5455 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5456 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
5457 if test -n "$ac_tool_prefix"; then
5458 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
5459 set dummy
${ac_tool_prefix}gcc
; ac_word
=$2
5460 echo "$as_me:$LINENO: checking for $ac_word" >&5
5461 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
5462 if test "${ac_cv_prog_CC+set}" = set; then
5463 echo $ECHO_N "(cached) $ECHO_C" >&6
5465 if test -n "$CC"; then
5466 ac_cv_prog_CC
="$CC" # Let the user override the test.
5468 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5472 test -z "$as_dir" && as_dir
=.
5473 for ac_exec_ext
in '' $ac_executable_extensions; do
5474 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5475 ac_cv_prog_CC
="${ac_tool_prefix}gcc"
5476 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5485 if test -n "$CC"; then
5486 echo "$as_me:$LINENO: result: $CC" >&5
5487 echo "${ECHO_T}$CC" >&6
5489 echo "$as_me:$LINENO: result: no" >&5
5490 echo "${ECHO_T}no" >&6
5494 if test -z "$ac_cv_prog_CC"; then
5496 # Extract the first word of "gcc", so it can be a program name with args.
5497 set dummy gcc
; ac_word
=$2
5498 echo "$as_me:$LINENO: checking for $ac_word" >&5
5499 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
5500 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
5501 echo $ECHO_N "(cached) $ECHO_C" >&6
5503 if test -n "$ac_ct_CC"; then
5504 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
5506 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5510 test -z "$as_dir" && as_dir
=.
5511 for ac_exec_ext
in '' $ac_executable_extensions; do
5512 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5513 ac_cv_prog_ac_ct_CC
="gcc"
5514 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5522 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
5523 if test -n "$ac_ct_CC"; then
5524 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
5525 echo "${ECHO_T}$ac_ct_CC" >&6
5527 echo "$as_me:$LINENO: result: no" >&5
5528 echo "${ECHO_T}no" >&6
5536 if test -z "$CC"; then
5537 if test -n "$ac_tool_prefix"; then
5538 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
5539 set dummy
${ac_tool_prefix}cc
; ac_word
=$2
5540 echo "$as_me:$LINENO: checking for $ac_word" >&5
5541 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
5542 if test "${ac_cv_prog_CC+set}" = set; then
5543 echo $ECHO_N "(cached) $ECHO_C" >&6
5545 if test -n "$CC"; then
5546 ac_cv_prog_CC
="$CC" # Let the user override the test.
5548 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5552 test -z "$as_dir" && as_dir
=.
5553 for ac_exec_ext
in '' $ac_executable_extensions; do
5554 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5555 ac_cv_prog_CC
="${ac_tool_prefix}cc"
5556 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5565 if test -n "$CC"; then
5566 echo "$as_me:$LINENO: result: $CC" >&5
5567 echo "${ECHO_T}$CC" >&6
5569 echo "$as_me:$LINENO: result: no" >&5
5570 echo "${ECHO_T}no" >&6
5574 if test -z "$ac_cv_prog_CC"; then
5576 # Extract the first word of "cc", so it can be a program name with args.
5577 set dummy cc
; ac_word
=$2
5578 echo "$as_me:$LINENO: checking for $ac_word" >&5
5579 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
5580 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
5581 echo $ECHO_N "(cached) $ECHO_C" >&6
5583 if test -n "$ac_ct_CC"; then
5584 ac_cv_prog_ac_ct_CC
="$ac_ct_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 ac_cv_prog_ac_ct_CC
="cc"
5594 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5602 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
5603 if test -n "$ac_ct_CC"; then
5604 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
5605 echo "${ECHO_T}$ac_ct_CC" >&6
5607 echo "$as_me:$LINENO: result: no" >&5
5608 echo "${ECHO_T}no" >&6
5617 if test -z "$CC"; then
5618 # Extract the first word of "cc", so it can be a program name with args.
5619 set dummy cc
; ac_word
=$2
5620 echo "$as_me:$LINENO: checking for $ac_word" >&5
5621 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
5622 if test "${ac_cv_prog_CC+set}" = set; then
5623 echo $ECHO_N "(cached) $ECHO_C" >&6
5625 if test -n "$CC"; then
5626 ac_cv_prog_CC
="$CC" # Let the user override the test.
5629 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5633 test -z "$as_dir" && as_dir
=.
5634 for ac_exec_ext
in '' $ac_executable_extensions; do
5635 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5636 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
5637 ac_prog_rejected
=yes
5641 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5647 if test $ac_prog_rejected = yes; then
5648 # We found a bogon in the path, so make sure we never use it.
5649 set dummy
$ac_cv_prog_CC
5651 if test $# != 0; then
5652 # We chose a different compiler from the bogus one.
5653 # However, it has the same basename, so the bogon will be chosen
5654 # first if we set CC to just the basename; use the full file name.
5656 ac_cv_prog_CC
="$as_dir/$ac_word${1+' '}$@"
5662 if test -n "$CC"; then
5663 echo "$as_me:$LINENO: result: $CC" >&5
5664 echo "${ECHO_T}$CC" >&6
5666 echo "$as_me:$LINENO: result: no" >&5
5667 echo "${ECHO_T}no" >&6
5671 if test -z "$CC"; then
5672 if test -n "$ac_tool_prefix"; then
5675 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
5676 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
5677 echo "$as_me:$LINENO: checking for $ac_word" >&5
5678 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
5679 if test "${ac_cv_prog_CC+set}" = set; then
5680 echo $ECHO_N "(cached) $ECHO_C" >&6
5682 if test -n "$CC"; then
5683 ac_cv_prog_CC
="$CC" # Let the user override the test.
5685 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5689 test -z "$as_dir" && as_dir
=.
5690 for ac_exec_ext
in '' $ac_executable_extensions; do
5691 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5692 ac_cv_prog_CC
="$ac_tool_prefix$ac_prog"
5693 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5702 if test -n "$CC"; then
5703 echo "$as_me:$LINENO: result: $CC" >&5
5704 echo "${ECHO_T}$CC" >&6
5706 echo "$as_me:$LINENO: result: no" >&5
5707 echo "${ECHO_T}no" >&6
5710 test -n "$CC" && break
5713 if test -z "$CC"; then
5717 # Extract the first word of "$ac_prog", so it can be a program name with args.
5718 set dummy
$ac_prog; ac_word
=$2
5719 echo "$as_me:$LINENO: checking for $ac_word" >&5
5720 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
5721 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
5722 echo $ECHO_N "(cached) $ECHO_C" >&6
5724 if test -n "$ac_ct_CC"; then
5725 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
5727 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5731 test -z "$as_dir" && as_dir
=.
5732 for ac_exec_ext
in '' $ac_executable_extensions; do
5733 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5734 ac_cv_prog_ac_ct_CC
="$ac_prog"
5735 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5743 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
5744 if test -n "$ac_ct_CC"; then
5745 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
5746 echo "${ECHO_T}$ac_ct_CC" >&6
5748 echo "$as_me:$LINENO: result: no" >&5
5749 echo "${ECHO_T}no" >&6
5752 test -n "$ac_ct_CC" && break
5761 test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
5762 See \`config.log' for more details." >&5
5763 echo "$as_me: error: no acceptable C compiler found in \$PATH
5764 See \`config.log' for more details." >&2;}
5765 { (exit 1); exit 1; }; }
5767 # Provide some information about the compiler.
5768 echo "$as_me:$LINENO:" \
5769 "checking for C compiler version" >&5
5770 ac_compiler
=`set X $ac_compile; echo $2`
5771 { (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5
5772 (eval $ac_compiler --version </dev
/null
>&5) 2>&5
5774 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5775 (exit $ac_status); }
5776 { (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5
5777 (eval $ac_compiler -v </dev
/null
>&5) 2>&5
5779 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5780 (exit $ac_status); }
5781 { (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5
5782 (eval $ac_compiler -V </dev
/null
>&5) 2>&5
5784 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5785 (exit $ac_status); }
5787 echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
5788 echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6
5789 if test "${ac_cv_c_compiler_gnu+set}" = set; then
5790 echo $ECHO_N "(cached) $ECHO_C" >&6
5792 cat >conftest.
$ac_ext <<_ACEOF
5795 cat confdefs.h
>>conftest.
$ac_ext
5796 cat >>conftest.
$ac_ext <<_ACEOF
5797 /* end confdefs.h. */
5810 rm -f conftest.
$ac_objext
5811 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5812 (eval $ac_compile) 2>conftest.er1
5814 grep -v '^ *+' conftest.er1
>conftest.err
5816 cat conftest.err
>&5
5817 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5818 (exit $ac_status); } &&
5819 { ac_try
='test -z "$ac_c_werror_flag"
5820 || test ! -s conftest.err'
5821 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5824 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5825 (exit $ac_status); }; } &&
5826 { ac_try
='test -s conftest.$ac_objext'
5827 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5830 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5831 (exit $ac_status); }; }; then
5834 echo "$as_me: failed program was:" >&5
5835 sed 's/^/| /' conftest.
$ac_ext >&5
5839 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
5840 ac_cv_c_compiler_gnu
=$ac_compiler_gnu
5843 echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
5844 echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6
5845 GCC
=`test $ac_compiler_gnu = yes && echo yes`
5846 ac_test_CFLAGS
=${CFLAGS+set}
5847 ac_save_CFLAGS
=$CFLAGS
5849 echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
5850 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6
5851 if test "${ac_cv_prog_cc_g+set}" = set; then
5852 echo $ECHO_N "(cached) $ECHO_C" >&6
5854 cat >conftest.
$ac_ext <<_ACEOF
5857 cat confdefs.h
>>conftest.
$ac_ext
5858 cat >>conftest.
$ac_ext <<_ACEOF
5859 /* end confdefs.h. */
5869 rm -f conftest.
$ac_objext
5870 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5871 (eval $ac_compile) 2>conftest.er1
5873 grep -v '^ *+' conftest.er1
>conftest.err
5875 cat conftest.err
>&5
5876 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5877 (exit $ac_status); } &&
5878 { ac_try
='test -z "$ac_c_werror_flag"
5879 || test ! -s conftest.err'
5880 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5883 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5884 (exit $ac_status); }; } &&
5885 { ac_try
='test -s conftest.$ac_objext'
5886 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5889 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5890 (exit $ac_status); }; }; then
5893 echo "$as_me: failed program was:" >&5
5894 sed 's/^/| /' conftest.
$ac_ext >&5
5898 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
5900 echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
5901 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6
5902 if test "$ac_test_CFLAGS" = set; then
5903 CFLAGS
=$ac_save_CFLAGS
5904 elif test $ac_cv_prog_cc_g = yes; then
5905 if test "$GCC" = yes; then
5911 if test "$GCC" = yes; then
5917 echo "$as_me:$LINENO: checking for $CC option to accept ANSI C" >&5
5918 echo $ECHO_N "checking for $CC option to accept ANSI C... $ECHO_C" >&6
5919 if test "${ac_cv_prog_cc_stdc+set}" = set; then
5920 echo $ECHO_N "(cached) $ECHO_C" >&6
5922 ac_cv_prog_cc_stdc
=no
5924 cat >conftest.
$ac_ext <<_ACEOF
5927 cat confdefs.h
>>conftest.
$ac_ext
5928 cat >>conftest.
$ac_ext <<_ACEOF
5929 /* end confdefs.h. */
5932 #include <sys/types.h>
5933 #include <sys/stat.h>
5934 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
5935 struct buf { int x; };
5936 FILE * (*rcsopen) (struct buf *, struct stat *, int);
5937 static char *e (p, i)
5943 static char *f (char * (*g) (char **, int), char **p, ...)
5948 s = g (p, va_arg (v,int));
5953 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
5954 function prototypes and stuff, but not '\xHH' hex character constants.
5955 These don't provoke an error unfortunately, instead are silently treated
5956 as 'x'. The following induces an error, until -std1 is added to get
5957 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
5958 array size at least. It's necessary to write '\x00'==0 to get something
5959 that's true only with -std1. */
5960 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
5962 int test (int i, double x);
5963 struct s1 {int (*f) (int a);};
5964 struct s2 {int (*f) (double a);};
5965 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
5971 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
5976 # Don't try gcc -ansi; that turns off useful extensions and
5977 # breaks some systems' header files.
5978 # AIX -qlanglvl=ansi
5979 # Ultrix and OSF/1 -std1
5980 # HP-UX 10.20 and later -Ae
5981 # HP-UX older versions -Aa -D_HPUX_SOURCE
5982 # SVR4 -Xc -D__EXTENSIONS__
5983 for ac_arg
in "" -qlanglvl=ansi
-std1 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
5985 CC
="$ac_save_CC $ac_arg"
5986 rm -f conftest.
$ac_objext
5987 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5988 (eval $ac_compile) 2>conftest.er1
5990 grep -v '^ *+' conftest.er1
>conftest.err
5992 cat conftest.err
>&5
5993 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5994 (exit $ac_status); } &&
5995 { ac_try
='test -z "$ac_c_werror_flag"
5996 || test ! -s conftest.err'
5997 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6000 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6001 (exit $ac_status); }; } &&
6002 { ac_try
='test -s conftest.$ac_objext'
6003 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6006 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6007 (exit $ac_status); }; }; then
6008 ac_cv_prog_cc_stdc
=$ac_arg
6011 echo "$as_me: failed program was:" >&5
6012 sed 's/^/| /' conftest.
$ac_ext >&5
6015 rm -f conftest.err conftest.
$ac_objext
6017 rm -f conftest.
$ac_ext conftest.
$ac_objext
6022 case "x$ac_cv_prog_cc_stdc" in
6024 echo "$as_me:$LINENO: result: none needed" >&5
6025 echo "${ECHO_T}none needed" >&6 ;;
6027 echo "$as_me:$LINENO: result: $ac_cv_prog_cc_stdc" >&5
6028 echo "${ECHO_T}$ac_cv_prog_cc_stdc" >&6
6029 CC
="$CC $ac_cv_prog_cc_stdc" ;;
6032 # Some people use a C++ compiler to compile C. Since we use `exit',
6033 # in C++ we need to declare it. In case someone uses the same compiler
6034 # for both compiling C and C++ we need to have the C++ compiler decide
6035 # the declaration of exit, since it's the most demanding environment.
6036 cat >conftest.
$ac_ext <<_ACEOF
6041 rm -f conftest.
$ac_objext
6042 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6043 (eval $ac_compile) 2>conftest.er1
6045 grep -v '^ *+' conftest.er1
>conftest.err
6047 cat conftest.err
>&5
6048 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6049 (exit $ac_status); } &&
6050 { ac_try
='test -z "$ac_c_werror_flag"
6051 || test ! -s conftest.err'
6052 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6055 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6056 (exit $ac_status); }; } &&
6057 { ac_try
='test -s conftest.$ac_objext'
6058 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6061 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6062 (exit $ac_status); }; }; then
6063 for ac_declaration
in \
6065 'extern "C" void std::exit (int) throw (); using std::exit;' \
6066 'extern "C" void std::exit (int); using std::exit;' \
6067 'extern "C" void exit (int) throw ();' \
6068 'extern "C" void exit (int);' \
6071 cat >conftest.
$ac_ext <<_ACEOF
6074 cat confdefs.h
>>conftest.
$ac_ext
6075 cat >>conftest.
$ac_ext <<_ACEOF
6076 /* end confdefs.h. */
6087 rm -f conftest.
$ac_objext
6088 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6089 (eval $ac_compile) 2>conftest.er1
6091 grep -v '^ *+' conftest.er1
>conftest.err
6093 cat conftest.err
>&5
6094 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6095 (exit $ac_status); } &&
6096 { ac_try
='test -z "$ac_c_werror_flag"
6097 || test ! -s conftest.err'
6098 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6101 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6102 (exit $ac_status); }; } &&
6103 { ac_try
='test -s conftest.$ac_objext'
6104 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6107 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6108 (exit $ac_status); }; }; then
6111 echo "$as_me: failed program was:" >&5
6112 sed 's/^/| /' conftest.
$ac_ext >&5
6116 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
6117 cat >conftest.
$ac_ext <<_ACEOF
6120 cat confdefs.h
>>conftest.
$ac_ext
6121 cat >>conftest.
$ac_ext <<_ACEOF
6122 /* end confdefs.h. */
6132 rm -f conftest.
$ac_objext
6133 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6134 (eval $ac_compile) 2>conftest.er1
6136 grep -v '^ *+' conftest.er1
>conftest.err
6138 cat conftest.err
>&5
6139 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6140 (exit $ac_status); } &&
6141 { ac_try
='test -z "$ac_c_werror_flag"
6142 || test ! -s conftest.err'
6143 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6146 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6147 (exit $ac_status); }; } &&
6148 { ac_try
='test -s conftest.$ac_objext'
6149 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6152 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6153 (exit $ac_status); }; }; then
6156 echo "$as_me: failed program was:" >&5
6157 sed 's/^/| /' conftest.
$ac_ext >&5
6160 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
6163 if test -n "$ac_declaration"; then
6164 echo '#ifdef __cplusplus' >>confdefs.h
6165 echo $ac_declaration >>confdefs.h
6166 echo '#endif' >>confdefs.h
6170 echo "$as_me: failed program was:" >&5
6171 sed 's/^/| /' conftest.
$ac_ext >&5
6174 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
6176 ac_cpp
='$CPP $CPPFLAGS'
6177 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6178 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6179 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
6181 depcc
="$CC" am_compiler_list
=
6183 echo "$as_me:$LINENO: checking dependency style of $depcc" >&5
6184 echo $ECHO_N "checking dependency style of $depcc... $ECHO_C" >&6
6185 if test "${am_cv_CC_dependencies_compiler_type+set}" = set; then
6186 echo $ECHO_N "(cached) $ECHO_C" >&6
6188 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
6189 # We make a subdir and do the tests there. Otherwise we can end up
6190 # making bogus files that we don't know about and never remove. For
6191 # instance it was reported that on HP-UX the gcc test will end up
6192 # making a dummy file named `D' -- because `-MD' means `put the output
6195 # Copy depcomp to subdir because otherwise we won't find it if we're
6196 # using a relative directory.
6197 cp "$am_depcomp" conftest.dir
6199 # We will build objects and dependencies in a subdirectory because
6200 # it helps to detect inapplicable dependency modes. For instance
6201 # both Tru64's cc and ICC support -MD to output dependencies as a
6202 # side effect of compilation, but ICC will put the dependencies in
6203 # the current directory while Tru64 will put them in the object
6207 am_cv_CC_dependencies_compiler_type
=none
6208 if test "$am_compiler_list" = ""; then
6209 am_compiler_list
=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
6211 for depmode
in $am_compiler_list; do
6212 # Setup a source with many dependencies, because some compilers
6213 # like to wrap large dependency lists on column 80 (with \), and
6214 # we should not choose a depcomp mode which is confused by this.
6216 # We need to recreate these files for each test, as the compiler may
6217 # overwrite some of them when testing with obscure command lines.
6218 # This happens at least with the AIX C compiler.
6220 for i
in 1 2 3 4 5 6; do
6221 echo '#include "conftst'$i'.h"' >> sub
/conftest.c
6222 # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
6223 # Solaris 8's {/usr,}/bin/sh.
6224 touch sub
/conftst
$i.h
6226 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
6230 # after this tag, mechanisms are not by side-effect, so they'll
6231 # only be used when explicitly requested
6232 if test "x$enable_dependency_tracking" = xyes
; then
6240 # We check with `-c' and `-o' for the sake of the "dashmstdout"
6241 # mode. It turns out that the SunPro C++ compiler does not properly
6242 # handle `-M -o', and we need to detect this.
6243 if depmode
=$depmode \
6244 source=sub
/conftest.c object
=sub
/conftest.
${OBJEXT-o} \
6245 depfile
=sub
/conftest.Po tmpdepfile
=sub
/conftest.TPo \
6246 $SHELL .
/depcomp
$depcc -c -o sub
/conftest.
${OBJEXT-o} sub
/conftest.c \
6247 >/dev
/null
2>conftest.err
&&
6248 grep sub
/conftst6.h sub
/conftest.Po
> /dev
/null
2>&1 &&
6249 grep sub
/conftest.
${OBJEXT-o} sub
/conftest.Po
> /dev
/null
2>&1 &&
6250 ${MAKE-make} -s -f confmf
> /dev
/null
2>&1; then
6251 # icc doesn't choke on unknown options, it will just issue warnings
6252 # or remarks (even with -Werror). So we grep stderr for any message
6253 # that says an option was ignored or not supported.
6254 # When given -MP, icc 7.0 and 7.1 complain thusly:
6255 # icc: Command line warning: ignoring option '-M'; no argument required
6256 # The diagnosis changed in icc 8.0:
6257 # icc: Command line remark: option '-MP' not supported
6258 if (grep 'ignoring option' conftest.err ||
6259 grep 'not supported' conftest.err
) >/dev
/null
2>&1; then :; else
6260 am_cv_CC_dependencies_compiler_type
=$depmode
6269 am_cv_CC_dependencies_compiler_type
=none
6273 echo "$as_me:$LINENO: result: $am_cv_CC_dependencies_compiler_type" >&5
6274 echo "${ECHO_T}$am_cv_CC_dependencies_compiler_type" >&6
6275 CCDEPMODE
=depmode
=$am_cv_CC_dependencies_compiler_type
6280 test "x$enable_dependency_tracking" != xno \
6281 && test "$am_cv_CC_dependencies_compiler_type" = gcc3
; then
6283 am__fastdepCC_FALSE
='#'
6285 am__fastdepCC_TRUE
='#'
6286 am__fastdepCC_FALSE
=
6291 ac_cpp
='$CPP $CPPFLAGS'
6292 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6293 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6294 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
6295 echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5
6296 echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6
6297 # On Suns, sometimes $CPP names a directory.
6298 if test -n "$CPP" && test -d "$CPP"; then
6301 if test -z "$CPP"; then
6302 if test "${ac_cv_prog_CPP+set}" = set; then
6303 echo $ECHO_N "(cached) $ECHO_C" >&6
6305 # Double quotes because CPP needs to be expanded
6306 for CPP
in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
6309 for ac_c_preproc_warn_flag
in '' yes
6311 # Use a header file that comes with gcc, so configuring glibc
6312 # with a fresh cross-compiler works.
6313 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
6314 # <limits.h> exists even on freestanding compilers.
6315 # On the NeXT, cc -E runs the code through the compiler's parser,
6316 # not just through cpp. "Syntax error" is here to catch this case.
6317 cat >conftest.
$ac_ext <<_ACEOF
6320 cat confdefs.h
>>conftest.
$ac_ext
6321 cat >>conftest.
$ac_ext <<_ACEOF
6322 /* end confdefs.h. */
6324 # include <limits.h>
6326 # include <assert.h>
6330 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
6331 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
6333 grep -v '^ *+' conftest.er1
>conftest.err
6335 cat conftest.err
>&5
6336 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6337 (exit $ac_status); } >/dev
/null
; then
6338 if test -s conftest.err
; then
6339 ac_cpp_err
=$ac_c_preproc_warn_flag
6340 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
6347 if test -z "$ac_cpp_err"; then
6350 echo "$as_me: failed program was:" >&5
6351 sed 's/^/| /' conftest.
$ac_ext >&5
6353 # Broken: fails on valid input.
6356 rm -f conftest.err conftest.
$ac_ext
6358 # OK, works on sane cases. Now check whether non-existent headers
6359 # can be detected and how.
6360 cat >conftest.
$ac_ext <<_ACEOF
6363 cat confdefs.h
>>conftest.
$ac_ext
6364 cat >>conftest.
$ac_ext <<_ACEOF
6365 /* end confdefs.h. */
6366 #include <ac_nonexistent.h>
6368 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
6369 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
6371 grep -v '^ *+' conftest.er1
>conftest.err
6373 cat conftest.err
>&5
6374 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6375 (exit $ac_status); } >/dev
/null
; then
6376 if test -s conftest.err
; then
6377 ac_cpp_err
=$ac_c_preproc_warn_flag
6378 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
6385 if test -z "$ac_cpp_err"; then
6386 # Broken: success on invalid input.
6389 echo "$as_me: failed program was:" >&5
6390 sed 's/^/| /' conftest.
$ac_ext >&5
6392 # Passes both tests.
6396 rm -f conftest.err conftest.
$ac_ext
6399 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
6400 rm -f conftest.err conftest.
$ac_ext
6401 if $ac_preproc_ok; then
6413 echo "$as_me:$LINENO: result: $CPP" >&5
6414 echo "${ECHO_T}$CPP" >&6
6416 for ac_c_preproc_warn_flag
in '' yes
6418 # Use a header file that comes with gcc, so configuring glibc
6419 # with a fresh cross-compiler works.
6420 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
6421 # <limits.h> exists even on freestanding compilers.
6422 # On the NeXT, cc -E runs the code through the compiler's parser,
6423 # not just through cpp. "Syntax error" is here to catch this case.
6424 cat >conftest.
$ac_ext <<_ACEOF
6427 cat confdefs.h
>>conftest.
$ac_ext
6428 cat >>conftest.
$ac_ext <<_ACEOF
6429 /* end confdefs.h. */
6431 # include <limits.h>
6433 # include <assert.h>
6437 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
6438 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
6440 grep -v '^ *+' conftest.er1
>conftest.err
6442 cat conftest.err
>&5
6443 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6444 (exit $ac_status); } >/dev
/null
; then
6445 if test -s conftest.err
; then
6446 ac_cpp_err
=$ac_c_preproc_warn_flag
6447 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
6454 if test -z "$ac_cpp_err"; then
6457 echo "$as_me: failed program was:" >&5
6458 sed 's/^/| /' conftest.
$ac_ext >&5
6460 # Broken: fails on valid input.
6463 rm -f conftest.err conftest.
$ac_ext
6465 # OK, works on sane cases. Now check whether non-existent headers
6466 # can be detected and how.
6467 cat >conftest.
$ac_ext <<_ACEOF
6470 cat confdefs.h
>>conftest.
$ac_ext
6471 cat >>conftest.
$ac_ext <<_ACEOF
6472 /* end confdefs.h. */
6473 #include <ac_nonexistent.h>
6475 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
6476 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
6478 grep -v '^ *+' conftest.er1
>conftest.err
6480 cat conftest.err
>&5
6481 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6482 (exit $ac_status); } >/dev
/null
; then
6483 if test -s conftest.err
; then
6484 ac_cpp_err
=$ac_c_preproc_warn_flag
6485 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
6492 if test -z "$ac_cpp_err"; then
6493 # Broken: success on invalid input.
6496 echo "$as_me: failed program was:" >&5
6497 sed 's/^/| /' conftest.
$ac_ext >&5
6499 # Passes both tests.
6503 rm -f conftest.err conftest.
$ac_ext
6506 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
6507 rm -f conftest.err conftest.
$ac_ext
6508 if $ac_preproc_ok; then
6511 { { echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check
6512 See \`config.log' for more details." >&5
6513 echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check
6514 See \`config.log' for more details." >&2;}
6515 { (exit 1); exit 1; }; }
6519 ac_cpp
='$CPP $CPPFLAGS'
6520 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6521 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6522 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
6525 ac_cpp
='$CXXCPP $CPPFLAGS'
6526 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6527 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6528 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
6529 if test -n "$ac_tool_prefix"; then
6530 for ac_prog
in $CCC g
++ c
++ gpp aCC CC cxx cc
++ cl FCC KCC RCC xlC_r xlC
6532 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
6533 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
6534 echo "$as_me:$LINENO: checking for $ac_word" >&5
6535 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
6536 if test "${ac_cv_prog_CXX+set}" = set; then
6537 echo $ECHO_N "(cached) $ECHO_C" >&6
6539 if test -n "$CXX"; then
6540 ac_cv_prog_CXX
="$CXX" # Let the user override the test.
6542 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6546 test -z "$as_dir" && as_dir
=.
6547 for ac_exec_ext
in '' $ac_executable_extensions; do
6548 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6549 ac_cv_prog_CXX
="$ac_tool_prefix$ac_prog"
6550 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6559 if test -n "$CXX"; then
6560 echo "$as_me:$LINENO: result: $CXX" >&5
6561 echo "${ECHO_T}$CXX" >&6
6563 echo "$as_me:$LINENO: result: no" >&5
6564 echo "${ECHO_T}no" >&6
6567 test -n "$CXX" && break
6570 if test -z "$CXX"; then
6572 for ac_prog
in $CCC g
++ c
++ gpp aCC CC cxx cc
++ cl FCC KCC RCC xlC_r xlC
6574 # Extract the first word of "$ac_prog", so it can be a program name with args.
6575 set dummy
$ac_prog; ac_word
=$2
6576 echo "$as_me:$LINENO: checking for $ac_word" >&5
6577 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
6578 if test "${ac_cv_prog_ac_ct_CXX+set}" = set; then
6579 echo $ECHO_N "(cached) $ECHO_C" >&6
6581 if test -n "$ac_ct_CXX"; then
6582 ac_cv_prog_ac_ct_CXX
="$ac_ct_CXX" # Let the user override the test.
6584 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6588 test -z "$as_dir" && as_dir
=.
6589 for ac_exec_ext
in '' $ac_executable_extensions; do
6590 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6591 ac_cv_prog_ac_ct_CXX
="$ac_prog"
6592 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6600 ac_ct_CXX
=$ac_cv_prog_ac_ct_CXX
6601 if test -n "$ac_ct_CXX"; then
6602 echo "$as_me:$LINENO: result: $ac_ct_CXX" >&5
6603 echo "${ECHO_T}$ac_ct_CXX" >&6
6605 echo "$as_me:$LINENO: result: no" >&5
6606 echo "${ECHO_T}no" >&6
6609 test -n "$ac_ct_CXX" && break
6611 test -n "$ac_ct_CXX" || ac_ct_CXX
="g++"
6617 # Provide some information about the compiler.
6618 echo "$as_me:$LINENO:" \
6619 "checking for C++ compiler version" >&5
6620 ac_compiler
=`set X $ac_compile; echo $2`
6621 { (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5
6622 (eval $ac_compiler --version </dev
/null
>&5) 2>&5
6624 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6625 (exit $ac_status); }
6626 { (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5
6627 (eval $ac_compiler -v </dev
/null
>&5) 2>&5
6629 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6630 (exit $ac_status); }
6631 { (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5
6632 (eval $ac_compiler -V </dev
/null
>&5) 2>&5
6634 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6635 (exit $ac_status); }
6637 echo "$as_me:$LINENO: checking whether we are using the GNU C++ compiler" >&5
6638 echo $ECHO_N "checking whether we are using the GNU C++ compiler... $ECHO_C" >&6
6639 if test "${ac_cv_cxx_compiler_gnu+set}" = set; then
6640 echo $ECHO_N "(cached) $ECHO_C" >&6
6642 cat >conftest.
$ac_ext <<_ACEOF
6645 cat confdefs.h
>>conftest.
$ac_ext
6646 cat >>conftest.
$ac_ext <<_ACEOF
6647 /* end confdefs.h. */
6660 rm -f conftest.
$ac_objext
6661 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6662 (eval $ac_compile) 2>conftest.er1
6664 grep -v '^ *+' conftest.er1
>conftest.err
6666 cat conftest.err
>&5
6667 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6668 (exit $ac_status); } &&
6669 { ac_try
='test -z "$ac_cxx_werror_flag"
6670 || test ! -s conftest.err'
6671 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6674 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6675 (exit $ac_status); }; } &&
6676 { ac_try
='test -s conftest.$ac_objext'
6677 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6680 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6681 (exit $ac_status); }; }; then
6684 echo "$as_me: failed program was:" >&5
6685 sed 's/^/| /' conftest.
$ac_ext >&5
6689 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
6690 ac_cv_cxx_compiler_gnu
=$ac_compiler_gnu
6693 echo "$as_me:$LINENO: result: $ac_cv_cxx_compiler_gnu" >&5
6694 echo "${ECHO_T}$ac_cv_cxx_compiler_gnu" >&6
6695 GXX
=`test $ac_compiler_gnu = yes && echo yes`
6696 ac_test_CXXFLAGS
=${CXXFLAGS+set}
6697 ac_save_CXXFLAGS
=$CXXFLAGS
6699 echo "$as_me:$LINENO: checking whether $CXX accepts -g" >&5
6700 echo $ECHO_N "checking whether $CXX accepts -g... $ECHO_C" >&6
6701 if test "${ac_cv_prog_cxx_g+set}" = set; then
6702 echo $ECHO_N "(cached) $ECHO_C" >&6
6704 cat >conftest.
$ac_ext <<_ACEOF
6707 cat confdefs.h
>>conftest.
$ac_ext
6708 cat >>conftest.
$ac_ext <<_ACEOF
6709 /* end confdefs.h. */
6719 rm -f conftest.
$ac_objext
6720 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6721 (eval $ac_compile) 2>conftest.er1
6723 grep -v '^ *+' conftest.er1
>conftest.err
6725 cat conftest.err
>&5
6726 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6727 (exit $ac_status); } &&
6728 { ac_try
='test -z "$ac_cxx_werror_flag"
6729 || test ! -s conftest.err'
6730 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6733 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6734 (exit $ac_status); }; } &&
6735 { ac_try
='test -s conftest.$ac_objext'
6736 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6739 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6740 (exit $ac_status); }; }; then
6741 ac_cv_prog_cxx_g
=yes
6743 echo "$as_me: failed program was:" >&5
6744 sed 's/^/| /' conftest.
$ac_ext >&5
6748 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
6750 echo "$as_me:$LINENO: result: $ac_cv_prog_cxx_g" >&5
6751 echo "${ECHO_T}$ac_cv_prog_cxx_g" >&6
6752 if test "$ac_test_CXXFLAGS" = set; then
6753 CXXFLAGS
=$ac_save_CXXFLAGS
6754 elif test $ac_cv_prog_cxx_g = yes; then
6755 if test "$GXX" = yes; then
6761 if test "$GXX" = yes; then
6767 for ac_declaration
in \
6769 'extern "C" void std::exit (int) throw (); using std::exit;' \
6770 'extern "C" void std::exit (int); using std::exit;' \
6771 'extern "C" void exit (int) throw ();' \
6772 'extern "C" void exit (int);' \
6775 cat >conftest.
$ac_ext <<_ACEOF
6778 cat confdefs.h
>>conftest.
$ac_ext
6779 cat >>conftest.
$ac_ext <<_ACEOF
6780 /* end confdefs.h. */
6791 rm -f conftest.
$ac_objext
6792 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6793 (eval $ac_compile) 2>conftest.er1
6795 grep -v '^ *+' conftest.er1
>conftest.err
6797 cat conftest.err
>&5
6798 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6799 (exit $ac_status); } &&
6800 { ac_try
='test -z "$ac_cxx_werror_flag"
6801 || test ! -s conftest.err'
6802 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6805 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6806 (exit $ac_status); }; } &&
6807 { ac_try
='test -s conftest.$ac_objext'
6808 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6811 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6812 (exit $ac_status); }; }; then
6815 echo "$as_me: failed program was:" >&5
6816 sed 's/^/| /' conftest.
$ac_ext >&5
6820 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
6821 cat >conftest.
$ac_ext <<_ACEOF
6824 cat confdefs.h
>>conftest.
$ac_ext
6825 cat >>conftest.
$ac_ext <<_ACEOF
6826 /* end confdefs.h. */
6836 rm -f conftest.
$ac_objext
6837 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6838 (eval $ac_compile) 2>conftest.er1
6840 grep -v '^ *+' conftest.er1
>conftest.err
6842 cat conftest.err
>&5
6843 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6844 (exit $ac_status); } &&
6845 { ac_try
='test -z "$ac_cxx_werror_flag"
6846 || test ! -s conftest.err'
6847 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6850 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6851 (exit $ac_status); }; } &&
6852 { ac_try
='test -s conftest.$ac_objext'
6853 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6856 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6857 (exit $ac_status); }; }; then
6860 echo "$as_me: failed program was:" >&5
6861 sed 's/^/| /' conftest.
$ac_ext >&5
6864 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
6867 if test -n "$ac_declaration"; then
6868 echo '#ifdef __cplusplus' >>confdefs.h
6869 echo $ac_declaration >>confdefs.h
6870 echo '#endif' >>confdefs.h
6874 ac_cpp
='$CPP $CPPFLAGS'
6875 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6876 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6877 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
6879 depcc
="$CXX" am_compiler_list
=
6881 echo "$as_me:$LINENO: checking dependency style of $depcc" >&5
6882 echo $ECHO_N "checking dependency style of $depcc... $ECHO_C" >&6
6883 if test "${am_cv_CXX_dependencies_compiler_type+set}" = set; then
6884 echo $ECHO_N "(cached) $ECHO_C" >&6
6886 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
6887 # We make a subdir and do the tests there. Otherwise we can end up
6888 # making bogus files that we don't know about and never remove. For
6889 # instance it was reported that on HP-UX the gcc test will end up
6890 # making a dummy file named `D' -- because `-MD' means `put the output
6893 # Copy depcomp to subdir because otherwise we won't find it if we're
6894 # using a relative directory.
6895 cp "$am_depcomp" conftest.dir
6897 # We will build objects and dependencies in a subdirectory because
6898 # it helps to detect inapplicable dependency modes. For instance
6899 # both Tru64's cc and ICC support -MD to output dependencies as a
6900 # side effect of compilation, but ICC will put the dependencies in
6901 # the current directory while Tru64 will put them in the object
6905 am_cv_CXX_dependencies_compiler_type
=none
6906 if test "$am_compiler_list" = ""; then
6907 am_compiler_list
=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
6909 for depmode
in $am_compiler_list; do
6910 # Setup a source with many dependencies, because some compilers
6911 # like to wrap large dependency lists on column 80 (with \), and
6912 # we should not choose a depcomp mode which is confused by this.
6914 # We need to recreate these files for each test, as the compiler may
6915 # overwrite some of them when testing with obscure command lines.
6916 # This happens at least with the AIX C compiler.
6918 for i
in 1 2 3 4 5 6; do
6919 echo '#include "conftst'$i'.h"' >> sub
/conftest.c
6920 # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
6921 # Solaris 8's {/usr,}/bin/sh.
6922 touch sub
/conftst
$i.h
6924 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
6928 # after this tag, mechanisms are not by side-effect, so they'll
6929 # only be used when explicitly requested
6930 if test "x$enable_dependency_tracking" = xyes
; then
6938 # We check with `-c' and `-o' for the sake of the "dashmstdout"
6939 # mode. It turns out that the SunPro C++ compiler does not properly
6940 # handle `-M -o', and we need to detect this.
6941 if depmode
=$depmode \
6942 source=sub
/conftest.c object
=sub
/conftest.
${OBJEXT-o} \
6943 depfile
=sub
/conftest.Po tmpdepfile
=sub
/conftest.TPo \
6944 $SHELL .
/depcomp
$depcc -c -o sub
/conftest.
${OBJEXT-o} sub
/conftest.c \
6945 >/dev
/null
2>conftest.err
&&
6946 grep sub
/conftst6.h sub
/conftest.Po
> /dev
/null
2>&1 &&
6947 grep sub
/conftest.
${OBJEXT-o} sub
/conftest.Po
> /dev
/null
2>&1 &&
6948 ${MAKE-make} -s -f confmf
> /dev
/null
2>&1; then
6949 # icc doesn't choke on unknown options, it will just issue warnings
6950 # or remarks (even with -Werror). So we grep stderr for any message
6951 # that says an option was ignored or not supported.
6952 # When given -MP, icc 7.0 and 7.1 complain thusly:
6953 # icc: Command line warning: ignoring option '-M'; no argument required
6954 # The diagnosis changed in icc 8.0:
6955 # icc: Command line remark: option '-MP' not supported
6956 if (grep 'ignoring option' conftest.err ||
6957 grep 'not supported' conftest.err
) >/dev
/null
2>&1; then :; else
6958 am_cv_CXX_dependencies_compiler_type
=$depmode
6967 am_cv_CXX_dependencies_compiler_type
=none
6971 echo "$as_me:$LINENO: result: $am_cv_CXX_dependencies_compiler_type" >&5
6972 echo "${ECHO_T}$am_cv_CXX_dependencies_compiler_type" >&6
6973 CXXDEPMODE
=depmode
=$am_cv_CXX_dependencies_compiler_type
6978 test "x$enable_dependency_tracking" != xno \
6979 && test "$am_cv_CXX_dependencies_compiler_type" = gcc3
; then
6980 am__fastdepCXX_TRUE
=
6981 am__fastdepCXX_FALSE
='#'
6983 am__fastdepCXX_TRUE
='#'
6984 am__fastdepCXX_FALSE
=
6988 ac_cpp
='$CXXCPP $CPPFLAGS'
6989 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6990 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6991 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
6992 echo "$as_me:$LINENO: checking how to run the C++ preprocessor" >&5
6993 echo $ECHO_N "checking how to run the C++ preprocessor... $ECHO_C" >&6
6994 if test -z "$CXXCPP"; then
6995 if test "${ac_cv_prog_CXXCPP+set}" = set; then
6996 echo $ECHO_N "(cached) $ECHO_C" >&6
6998 # Double quotes because CXXCPP needs to be expanded
6999 for CXXCPP
in "$CXX -E" "/lib/cpp"
7002 for ac_cxx_preproc_warn_flag
in '' yes
7004 # Use a header file that comes with gcc, so configuring glibc
7005 # with a fresh cross-compiler works.
7006 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
7007 # <limits.h> exists even on freestanding compilers.
7008 # On the NeXT, cc -E runs the code through the compiler's parser,
7009 # not just through cpp. "Syntax error" is here to catch this case.
7010 cat >conftest.
$ac_ext <<_ACEOF
7013 cat confdefs.h
>>conftest.
$ac_ext
7014 cat >>conftest.
$ac_ext <<_ACEOF
7015 /* end confdefs.h. */
7017 # include <limits.h>
7019 # include <assert.h>
7023 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
7024 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
7026 grep -v '^ *+' conftest.er1
>conftest.err
7028 cat conftest.err
>&5
7029 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7030 (exit $ac_status); } >/dev
/null
; then
7031 if test -s conftest.err
; then
7032 ac_cpp_err
=$ac_cxx_preproc_warn_flag
7033 ac_cpp_err
=$ac_cpp_err$ac_cxx_werror_flag
7040 if test -z "$ac_cpp_err"; then
7043 echo "$as_me: failed program was:" >&5
7044 sed 's/^/| /' conftest.
$ac_ext >&5
7046 # Broken: fails on valid input.
7049 rm -f conftest.err conftest.
$ac_ext
7051 # OK, works on sane cases. Now check whether non-existent headers
7052 # can be detected and how.
7053 cat >conftest.
$ac_ext <<_ACEOF
7056 cat confdefs.h
>>conftest.
$ac_ext
7057 cat >>conftest.
$ac_ext <<_ACEOF
7058 /* end confdefs.h. */
7059 #include <ac_nonexistent.h>
7061 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
7062 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
7064 grep -v '^ *+' conftest.er1
>conftest.err
7066 cat conftest.err
>&5
7067 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7068 (exit $ac_status); } >/dev
/null
; then
7069 if test -s conftest.err
; then
7070 ac_cpp_err
=$ac_cxx_preproc_warn_flag
7071 ac_cpp_err
=$ac_cpp_err$ac_cxx_werror_flag
7078 if test -z "$ac_cpp_err"; then
7079 # Broken: success on invalid input.
7082 echo "$as_me: failed program was:" >&5
7083 sed 's/^/| /' conftest.
$ac_ext >&5
7085 # Passes both tests.
7089 rm -f conftest.err conftest.
$ac_ext
7092 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
7093 rm -f conftest.err conftest.
$ac_ext
7094 if $ac_preproc_ok; then
7099 ac_cv_prog_CXXCPP
=$CXXCPP
7102 CXXCPP
=$ac_cv_prog_CXXCPP
7104 ac_cv_prog_CXXCPP
=$CXXCPP
7106 echo "$as_me:$LINENO: result: $CXXCPP" >&5
7107 echo "${ECHO_T}$CXXCPP" >&6
7109 for ac_cxx_preproc_warn_flag
in '' yes
7111 # Use a header file that comes with gcc, so configuring glibc
7112 # with a fresh cross-compiler works.
7113 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
7114 # <limits.h> exists even on freestanding compilers.
7115 # On the NeXT, cc -E runs the code through the compiler's parser,
7116 # not just through cpp. "Syntax error" is here to catch this case.
7117 cat >conftest.
$ac_ext <<_ACEOF
7120 cat confdefs.h
>>conftest.
$ac_ext
7121 cat >>conftest.
$ac_ext <<_ACEOF
7122 /* end confdefs.h. */
7124 # include <limits.h>
7126 # include <assert.h>
7130 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
7131 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
7133 grep -v '^ *+' conftest.er1
>conftest.err
7135 cat conftest.err
>&5
7136 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7137 (exit $ac_status); } >/dev
/null
; then
7138 if test -s conftest.err
; then
7139 ac_cpp_err
=$ac_cxx_preproc_warn_flag
7140 ac_cpp_err
=$ac_cpp_err$ac_cxx_werror_flag
7147 if test -z "$ac_cpp_err"; then
7150 echo "$as_me: failed program was:" >&5
7151 sed 's/^/| /' conftest.
$ac_ext >&5
7153 # Broken: fails on valid input.
7156 rm -f conftest.err conftest.
$ac_ext
7158 # OK, works on sane cases. Now check whether non-existent headers
7159 # can be detected and how.
7160 cat >conftest.
$ac_ext <<_ACEOF
7163 cat confdefs.h
>>conftest.
$ac_ext
7164 cat >>conftest.
$ac_ext <<_ACEOF
7165 /* end confdefs.h. */
7166 #include <ac_nonexistent.h>
7168 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
7169 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
7171 grep -v '^ *+' conftest.er1
>conftest.err
7173 cat conftest.err
>&5
7174 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7175 (exit $ac_status); } >/dev
/null
; then
7176 if test -s conftest.err
; then
7177 ac_cpp_err
=$ac_cxx_preproc_warn_flag
7178 ac_cpp_err
=$ac_cpp_err$ac_cxx_werror_flag
7185 if test -z "$ac_cpp_err"; then
7186 # Broken: success on invalid input.
7189 echo "$as_me: failed program was:" >&5
7190 sed 's/^/| /' conftest.
$ac_ext >&5
7192 # Passes both tests.
7196 rm -f conftest.err conftest.
$ac_ext
7199 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
7200 rm -f conftest.err conftest.
$ac_ext
7201 if $ac_preproc_ok; then
7204 { { echo "$as_me:$LINENO: error: C++ preprocessor \"$CXXCPP\" fails sanity check
7205 See \`config.log' for more details." >&5
7206 echo "$as_me: error: C++ preprocessor \"$CXXCPP\" fails sanity check
7207 See \`config.log' for more details." >&2;}
7208 { (exit 1); exit 1; }; }
7212 ac_cpp
='$CPP $CPPFLAGS'
7213 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7214 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7215 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
7219 LIBTOOL_DEPS
=$LIBTOOL_DEPS" $ac_aux_dir/ltcf-cxx.sh"
7221 lt_save_CFLAGS
="$CFLAGS"
7222 AR
="$AR" LTCC
="$CC" CC
="$CXX" CXX
="$CXX" CFLAGS
="$CXXFLAGS" CPPFLAGS
="$CPPFLAGS" \
7223 MAGIC_CMD
="$MAGIC_CMD" LD
="$LD" LDFLAGS
="$LDFLAGS" LIBS
="$LIBS" \
7224 LN_S
="$LN_S" NM
="$NM" RANLIB
="$RANLIB" STRIP
="$STRIP" \
7225 AS
="$AS" DLLTOOL
="$DLLTOOL" OBJDUMP
="$OBJDUMP" \
7226 objext
="$OBJEXT" exeext
="$EXEEXT" reload_flag
="$reload_flag" \
7227 deplibs_check_method
="$deplibs_check_method" \
7228 file_magic_cmd
="$file_magic_cmd" \
7229 ${CONFIG_SHELL-/bin/sh} $ac_aux_dir/ltconfig
-o libtool
$libtool_flags \
7230 --build="$build" --add-tag=CXX
$ac_aux_dir/ltcf-cxx.sh
$host \
7231 ||
{ { echo "$as_me:$LINENO: error: libtool tag configuration failed" >&5
7232 echo "$as_me: error: libtool tag configuration failed" >&2;}
7233 { (exit 1); exit 1; }; }
7235 CFLAGS
="$lt_save_CFLAGS"
7237 # Redirect the config.log output again, so that the ltconfig log is not
7238 # clobbered by the next message.
7239 exec 5>>.
/config.log
7244 if test "x${COMPILE_COLLECTIONS}" = xyes
; then
7245 # Extract the first word of "perl", so it can be a program name with args.
7246 set dummy perl
; ac_word
=$2
7247 echo "$as_me:$LINENO: checking for $ac_word" >&5
7248 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
7249 if test "${ac_cv_path_PERL+set}" = set; then
7250 echo $ECHO_N "(cached) $ECHO_C" >&6
7254 ac_cv_path_PERL
="$PERL" # Let the user override the test with a path.
7257 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7261 test -z "$as_dir" && as_dir
=.
7262 for ac_exec_ext
in '' $ac_executable_extensions; do
7263 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7264 ac_cv_path_PERL
="$as_dir/$ac_word$ac_exec_ext"
7265 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
7274 PERL
=$ac_cv_path_PERL
7276 if test -n "$PERL"; then
7277 echo "$as_me:$LINENO: result: $PERL" >&5
7278 echo "${ECHO_T}$PERL" >&6
7280 echo "$as_me:$LINENO: result: no" >&5
7281 echo "${ECHO_T}no" >&6
7286 ac_config_files
="$ac_config_files lib/mkcollections.pl"
7288 ac_config_commands
="$ac_config_commands mkcollections.pl"
7292 if test "x${COMPILE_JNI}" = xyes
; then
7293 echo "$as_me:$LINENO: checking for ANSI C header files" >&5
7294 echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6
7295 if test "${ac_cv_header_stdc+set}" = set; then
7296 echo $ECHO_N "(cached) $ECHO_C" >&6
7298 cat >conftest.
$ac_ext <<_ACEOF
7301 cat confdefs.h
>>conftest.
$ac_ext
7302 cat >>conftest.
$ac_ext <<_ACEOF
7303 /* end confdefs.h. */
7317 rm -f conftest.
$ac_objext
7318 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7319 (eval $ac_compile) 2>conftest.er1
7321 grep -v '^ *+' conftest.er1
>conftest.err
7323 cat conftest.err
>&5
7324 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7325 (exit $ac_status); } &&
7326 { ac_try
='test -z "$ac_c_werror_flag"
7327 || test ! -s conftest.err'
7328 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7331 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7332 (exit $ac_status); }; } &&
7333 { ac_try
='test -s conftest.$ac_objext'
7334 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7337 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7338 (exit $ac_status); }; }; then
7339 ac_cv_header_stdc
=yes
7341 echo "$as_me: failed program was:" >&5
7342 sed 's/^/| /' conftest.
$ac_ext >&5
7344 ac_cv_header_stdc
=no
7346 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
7348 if test $ac_cv_header_stdc = yes; then
7349 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
7350 cat >conftest.
$ac_ext <<_ACEOF
7353 cat confdefs.h
>>conftest.
$ac_ext
7354 cat >>conftest.
$ac_ext <<_ACEOF
7355 /* end confdefs.h. */
7359 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
7360 $EGREP "memchr" >/dev
/null
2>&1; then
7363 ac_cv_header_stdc
=no
7369 if test $ac_cv_header_stdc = yes; then
7370 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
7371 cat >conftest.
$ac_ext <<_ACEOF
7374 cat confdefs.h
>>conftest.
$ac_ext
7375 cat >>conftest.
$ac_ext <<_ACEOF
7376 /* end confdefs.h. */
7380 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
7381 $EGREP "free" >/dev
/null
2>&1; then
7384 ac_cv_header_stdc
=no
7390 if test $ac_cv_header_stdc = yes; then
7391 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
7392 if test "$cross_compiling" = yes; then
7395 cat >conftest.
$ac_ext <<_ACEOF
7398 cat confdefs.h
>>conftest.
$ac_ext
7399 cat >>conftest.
$ac_ext <<_ACEOF
7400 /* end confdefs.h. */
7402 #if ((' ' & 0x0FF) == 0x020)
7403 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
7404 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
7406 # define ISLOWER(c) \
7407 (('a' <= (c) && (c) <= 'i') \
7408 || ('j' <= (c) && (c) <= 'r') \
7409 || ('s' <= (c) && (c) <= 'z'))
7410 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
7413 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
7418 for (i = 0; i < 256; i++)
7419 if (XOR (islower (i), ISLOWER (i))
7420 || toupper (i) != TOUPPER (i))
7425 rm -f conftest
$ac_exeext
7426 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
7427 (eval $ac_link) 2>&5
7429 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7430 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
7431 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7434 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7435 (exit $ac_status); }; }; then
7438 echo "$as_me: program exited with status $ac_status" >&5
7439 echo "$as_me: failed program was:" >&5
7440 sed 's/^/| /' conftest.
$ac_ext >&5
7443 ac_cv_header_stdc
=no
7445 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
7449 echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
7450 echo "${ECHO_T}$ac_cv_header_stdc" >&6
7451 if test $ac_cv_header_stdc = yes; then
7453 cat >>confdefs.h
<<\_ACEOF
7454 #define STDC_HEADERS 1
7460 echo "$as_me:$LINENO: checking size of void *" >&5
7461 echo $ECHO_N "checking size of void *... $ECHO_C" >&6
7462 if test "${ac_cv_sizeof_void_p+set}" = set; then
7463 echo $ECHO_N "(cached) $ECHO_C" >&6
7465 for ac_size
in 4 8 1 2 16 12 ; do # List sizes in rough order of prevalence.
7466 cat >conftest.
$ac_ext <<_ACEOF
7469 cat confdefs.h
>>conftest.
$ac_ext
7470 cat >>conftest.
$ac_ext <<_ACEOF
7471 /* end confdefs.h. */
7472 #include "confdefs.h"
7473 #include <sys/types.h>
7479 switch (0) case 0: case (sizeof (void *) == $ac_size):;
7484 rm -f conftest.
$ac_objext
7485 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7486 (eval $ac_compile) 2>conftest.er1
7488 grep -v '^ *+' conftest.er1
>conftest.err
7490 cat conftest.err
>&5
7491 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7492 (exit $ac_status); } &&
7493 { ac_try
='test -z "$ac_c_werror_flag"
7494 || test ! -s conftest.err'
7495 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7498 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7499 (exit $ac_status); }; } &&
7500 { ac_try
='test -s conftest.$ac_objext'
7501 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7504 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7505 (exit $ac_status); }; }; then
7506 ac_cv_sizeof_void_p
=$ac_size
7508 echo "$as_me: failed program was:" >&5
7509 sed 's/^/| /' conftest.
$ac_ext >&5
7512 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
7513 if test x
$ac_cv_sizeof_void_p != x
; then break; fi
7518 if test x
$ac_cv_sizeof_void_p = x
; then
7519 { { echo "$as_me:$LINENO: error: cannot determine a size for void *" >&5
7520 echo "$as_me: error: cannot determine a size for void *" >&2;}
7521 { (exit 1); exit 1; }; }
7523 echo "$as_me:$LINENO: result: $ac_cv_sizeof_void_p" >&5
7524 echo "${ECHO_T}$ac_cv_sizeof_void_p" >&6
7526 cat >>confdefs.h
<<_ACEOF
7527 #define SIZEOF_VOID_P $ac_cv_sizeof_void_p
7532 echo "$as_me:$LINENO: checking whether byte ordering is bigendian" >&5
7533 echo $ECHO_N "checking whether byte ordering is bigendian... $ECHO_C" >&6
7534 if test "${ac_cv_c_bigendian+set}" = set; then
7535 echo $ECHO_N "(cached) $ECHO_C" >&6
7537 ac_cv_c_bigendian
=unknown
7538 # See if sys/param.h defines the BYTE_ORDER macro.
7539 cat >conftest.
$ac_ext <<_ACEOF
7542 cat confdefs.h
>>conftest.
$ac_ext
7543 cat >>conftest.
$ac_ext <<_ACEOF
7544 /* end confdefs.h. */
7545 #include <sys/types.h>
7546 #include <sys/param.h>
7551 #if !BYTE_ORDER || !BIG_ENDIAN || !LITTLE_ENDIAN
7558 rm -f conftest.
$ac_objext
7559 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7560 (eval $ac_compile) 2>conftest.er1
7562 grep -v '^ *+' conftest.er1
>conftest.err
7564 cat conftest.err
>&5
7565 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7566 (exit $ac_status); } &&
7567 { ac_try
='test -z "$ac_c_werror_flag"
7568 || test ! -s conftest.err'
7569 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7572 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7573 (exit $ac_status); }; } &&
7574 { ac_try
='test -s conftest.$ac_objext'
7575 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7578 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7579 (exit $ac_status); }; }; then
7580 # It does; now see whether it defined to BIG_ENDIAN or not.
7581 cat >conftest.
$ac_ext <<_ACEOF
7584 cat confdefs.h
>>conftest.
$ac_ext
7585 cat >>conftest.
$ac_ext <<_ACEOF
7586 /* end confdefs.h. */
7587 #include <sys/types.h>
7588 #include <sys/param.h>
7593 #if BYTE_ORDER != BIG_ENDIAN
7600 rm -f conftest.
$ac_objext
7601 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7602 (eval $ac_compile) 2>conftest.er1
7604 grep -v '^ *+' conftest.er1
>conftest.err
7606 cat conftest.err
>&5
7607 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7608 (exit $ac_status); } &&
7609 { ac_try
='test -z "$ac_c_werror_flag"
7610 || test ! -s conftest.err'
7611 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7614 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7615 (exit $ac_status); }; } &&
7616 { ac_try
='test -s conftest.$ac_objext'
7617 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7620 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7621 (exit $ac_status); }; }; then
7622 ac_cv_c_bigendian
=yes
7624 echo "$as_me: failed program was:" >&5
7625 sed 's/^/| /' conftest.
$ac_ext >&5
7627 ac_cv_c_bigendian
=no
7629 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
7631 echo "$as_me: failed program was:" >&5
7632 sed 's/^/| /' conftest.
$ac_ext >&5
7635 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
7636 if test $ac_cv_c_bigendian = unknown
; then
7637 if test "$cross_compiling" = yes; then
7638 echo $ac_n "cross-compiling... " 2>&6
7640 cat >conftest.
$ac_ext <<_ACEOF
7643 cat confdefs.h
>>conftest.
$ac_ext
7644 cat >>conftest.
$ac_ext <<_ACEOF
7645 /* end confdefs.h. */
7647 /* Are we little or big endian? From Harbison&Steele. */
7651 char c[sizeof (long)];
7654 exit (u.c[sizeof (long) - 1] == 1);
7657 rm -f conftest
$ac_exeext
7658 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
7659 (eval $ac_link) 2>&5
7661 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7662 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
7663 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7666 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7667 (exit $ac_status); }; }; then
7668 ac_cv_c_bigendian
=no
7670 echo "$as_me: program exited with status $ac_status" >&5
7671 echo "$as_me: failed program was:" >&5
7672 sed 's/^/| /' conftest.
$ac_ext >&5
7675 ac_cv_c_bigendian
=yes
7677 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
7681 echo "$as_me:$LINENO: result: $ac_cv_c_bigendian" >&5
7682 echo "${ECHO_T}$ac_cv_c_bigendian" >&6
7683 if test $ac_cv_c_bigendian = unknown
; then
7684 echo "$as_me:$LINENO: checking to probe for byte ordering" >&5
7685 echo $ECHO_N "checking to probe for byte ordering... $ECHO_C" >&6
7687 cat >conftest.c
<<EOF
7688 short ascii_mm[] = { 0x4249, 0x4765, 0x6E44, 0x6961, 0x6E53, 0x7953, 0 };
7689 short ascii_ii[] = { 0x694C, 0x5454, 0x656C, 0x6E45, 0x6944, 0x6E61, 0 };
7690 void _ascii() { char* s = (char*) ascii_mm; s = (char*) ascii_ii; }
7691 short ebcdic_ii[] = { 0x89D3, 0xE3E3, 0x8593, 0x95C5, 0x89C4, 0x9581, 0 };
7692 short ebcdic_mm[] = { 0xC2C9, 0xC785, 0x95C4, 0x8981, 0x95E2, 0xA8E2, 0 };
7693 void _ebcdic() { char* s = (char*) ebcdic_mm; s = (char*) ebcdic_ii; }
7694 int main() { _ascii (); _ebcdic (); return 0; }
7696 if test -f conftest.c
; then
7697 if ${CC-cc} ${CFLAGS} -c conftest.c
-o conftest.o
&& test -f conftest.o
; then
7698 if test `grep -l BIGenDianSyS conftest.o` ; then
7699 echo $ac_n ' big endian probe OK, ' 1>&6
7700 ac_cv_c_bigendian
=yes
7702 if test `grep -l LiTTleEnDian conftest.o` ; then
7703 echo $ac_n ' little endian probe OK, ' 1>&6
7704 if test $ac_cv_c_bigendian = yes ; then
7705 ac_cv_c_bigendian
=unknown
;
7707 ac_cv_c_bigendian
=no
7710 echo $ac_n 'guessing bigendian ... ' >&6
7713 echo "$as_me:$LINENO: result: $ac_cv_c_bigendian" >&5
7714 echo "${ECHO_T}$ac_cv_c_bigendian" >&6
7716 if test $ac_cv_c_bigendian = yes; then
7718 cat >>confdefs.h
<<\_ACEOF
7719 #define WORDS_BIGENDIAN 1
7723 cat >>confdefs.h
<<\_ACEOF
7724 #define HOST_WORDS_BIG_ENDIAN 1
7732 cat >>confdefs.h
<<_ACEOF
7733 #define BYTEORDER $BYTEORDER
7736 if test $ac_cv_c_bigendian = unknown
; then
7737 { { echo "$as_me:$LINENO: error: unknown endianess - sorry, please pre-set ac_cv_c_bigendian" >&5
7738 echo "$as_me: error: unknown endianess - sorry, please pre-set ac_cv_c_bigendian" >&2;}
7739 { (exit 1); exit 1; }; }
7758 for ac_header
in unistd.h sys
/types.h sys
/config.h sys
/ioctl.h \
7760 inttypes.h stdint.h utime.h sys
/utime.h sys
/filio.h \
7767 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
7768 if eval "test \"\${$as_ac_Header+set}\" = set"; then
7769 echo "$as_me:$LINENO: checking for $ac_header" >&5
7770 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
7771 if eval "test \"\${$as_ac_Header+set}\" = set"; then
7772 echo $ECHO_N "(cached) $ECHO_C" >&6
7774 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
7775 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
7777 # Is the header compilable?
7778 echo "$as_me:$LINENO: checking $ac_header usability" >&5
7779 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
7780 cat >conftest.
$ac_ext <<_ACEOF
7783 cat confdefs.h
>>conftest.
$ac_ext
7784 cat >>conftest.
$ac_ext <<_ACEOF
7785 /* end confdefs.h. */
7786 $ac_includes_default
7787 #include <$ac_header>
7789 rm -f conftest.
$ac_objext
7790 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7791 (eval $ac_compile) 2>conftest.er1
7793 grep -v '^ *+' conftest.er1
>conftest.err
7795 cat conftest.err
>&5
7796 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7797 (exit $ac_status); } &&
7798 { ac_try
='test -z "$ac_c_werror_flag"
7799 || test ! -s conftest.err'
7800 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7803 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7804 (exit $ac_status); }; } &&
7805 { ac_try
='test -s conftest.$ac_objext'
7806 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7809 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7810 (exit $ac_status); }; }; then
7811 ac_header_compiler
=yes
7813 echo "$as_me: failed program was:" >&5
7814 sed 's/^/| /' conftest.
$ac_ext >&5
7816 ac_header_compiler
=no
7818 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
7819 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
7820 echo "${ECHO_T}$ac_header_compiler" >&6
7822 # Is the header present?
7823 echo "$as_me:$LINENO: checking $ac_header presence" >&5
7824 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
7825 cat >conftest.
$ac_ext <<_ACEOF
7828 cat confdefs.h
>>conftest.
$ac_ext
7829 cat >>conftest.
$ac_ext <<_ACEOF
7830 /* end confdefs.h. */
7831 #include <$ac_header>
7833 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
7834 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
7836 grep -v '^ *+' conftest.er1
>conftest.err
7838 cat conftest.err
>&5
7839 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7840 (exit $ac_status); } >/dev
/null
; then
7841 if test -s conftest.err
; then
7842 ac_cpp_err
=$ac_c_preproc_warn_flag
7843 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
7850 if test -z "$ac_cpp_err"; then
7851 ac_header_preproc
=yes
7853 echo "$as_me: failed program was:" >&5
7854 sed 's/^/| /' conftest.
$ac_ext >&5
7856 ac_header_preproc
=no
7858 rm -f conftest.err conftest.
$ac_ext
7859 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
7860 echo "${ECHO_T}$ac_header_preproc" >&6
7862 # So? What about this header?
7863 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
7865 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
7866 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
7867 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
7868 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
7869 ac_header_preproc
=yes
7872 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
7873 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
7874 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
7875 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
7876 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
7877 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
7878 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
7879 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
7880 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
7881 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
7882 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
7883 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
7886 ## -------------------------------- ##
7887 ## Report this to classpath@gnu.org ##
7888 ## -------------------------------- ##
7891 sed "s/^/$as_me: WARNING: /" >&2
7894 echo "$as_me:$LINENO: checking for $ac_header" >&5
7895 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
7896 if eval "test \"\${$as_ac_Header+set}\" = set"; then
7897 echo $ECHO_N "(cached) $ECHO_C" >&6
7899 eval "$as_ac_Header=\$ac_header_preproc"
7901 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
7902 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
7905 if test `eval echo '${'$as_ac_Header'}'` = yes; then
7906 cat >>confdefs.h
<<_ACEOF
7907 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
7915 cat >conftest.
$ac_ext <<_ACEOF
7918 cat confdefs.h
>>conftest.
$ac_ext
7919 cat >>conftest.
$ac_ext <<_ACEOF
7920 /* end confdefs.h. */
7924 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
7925 $EGREP "uint32_t" >/dev
/null
2>&1; then
7927 cat >>confdefs.h
<<\_ACEOF
7928 #define HAVE_INT32_DEFINED 1
7934 cat >conftest.
$ac_ext <<_ACEOF
7937 cat confdefs.h
>>conftest.
$ac_ext
7938 cat >>conftest.
$ac_ext <<_ACEOF
7939 /* end confdefs.h. */
7940 #include <inttypes.h>
7943 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
7944 $EGREP "uint32_t" >/dev
/null
2>&1; then
7946 cat >>confdefs.h
<<\_ACEOF
7947 #define HAVE_INT32_DEFINED 1
7953 cat >conftest.
$ac_ext <<_ACEOF
7956 cat confdefs.h
>>conftest.
$ac_ext
7957 cat >>conftest.
$ac_ext <<_ACEOF
7958 /* end confdefs.h. */
7959 #include <sys/types.h>
7962 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
7963 $EGREP "u_int32_t" >/dev
/null
2>&1; then
7965 cat >>confdefs.h
<<\_ACEOF
7966 #define HAVE_BSD_INT32_DEFINED 1
7972 cat >conftest.
$ac_ext <<_ACEOF
7975 cat confdefs.h
>>conftest.
$ac_ext
7976 cat >>conftest.
$ac_ext <<_ACEOF
7977 /* end confdefs.h. */
7978 #include <sys/config.h>
7981 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
7982 $EGREP "u_int32_t" >/dev
/null
2>&1; then
7984 cat >>confdefs.h
<<\_ACEOF
7985 #define HAVE_BSD_INT32_DEFINED 1
8033 for ac_func
in ftruncate fsync
select \
8034 gethostname socket strerror fork pipe execve open close \
8035 lseek fstat
read write htonl memset htons connect \
8036 getsockname getpeername
bind listen accept \
8037 recvfrom send sendto setsockopt getsockopt
time mktime \
8041 mmap munmap mincore msync madvise getpagesize sysconf \
8044 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
8045 echo "$as_me:$LINENO: checking for $ac_func" >&5
8046 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
8047 if eval "test \"\${$as_ac_var+set}\" = set"; then
8048 echo $ECHO_N "(cached) $ECHO_C" >&6
8050 cat >conftest.
$ac_ext <<_ACEOF
8053 cat confdefs.h
>>conftest.
$ac_ext
8054 cat >>conftest.
$ac_ext <<_ACEOF
8055 /* end confdefs.h. */
8056 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
8057 For example, HP-UX 11i <limits.h> declares gettimeofday. */
8058 #define $ac_func innocuous_$ac_func
8060 /* System header to define __stub macros and hopefully few prototypes,
8061 which can conflict with char $ac_func (); below.
8062 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
8063 <limits.h> exists even on freestanding compilers. */
8066 # include <limits.h>
8068 # include <assert.h>
8073 /* Override any gcc2 internal prototype to avoid an error. */
8078 /* We use char because int might match the return type of a gcc2
8079 builtin and then its argument prototype would still apply. */
8081 /* The GNU C library defines this for functions which it implements
8082 to always fail with ENOSYS. Some functions are actually named
8083 something starting with __ and the normal name is an alias. */
8084 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
8087 char (*f) () = $ac_func;
8096 return f != $ac_func;
8101 rm -f conftest.
$ac_objext conftest
$ac_exeext
8102 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8103 (eval $ac_link) 2>conftest.er1
8105 grep -v '^ *+' conftest.er1
>conftest.err
8107 cat conftest.err
>&5
8108 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8109 (exit $ac_status); } &&
8110 { ac_try
='test -z "$ac_c_werror_flag"
8111 || test ! -s conftest.err'
8112 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8115 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8116 (exit $ac_status); }; } &&
8117 { ac_try
='test -s conftest$ac_exeext'
8118 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8121 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8122 (exit $ac_status); }; }; then
8123 eval "$as_ac_var=yes"
8125 echo "$as_me: failed program was:" >&5
8126 sed 's/^/| /' conftest.
$ac_ext >&5
8128 eval "$as_ac_var=no"
8130 rm -f conftest.err conftest.
$ac_objext \
8131 conftest
$ac_exeext conftest.
$ac_ext
8133 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
8134 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
8135 if test `eval echo '${'$as_ac_var'}'` = yes; then
8136 cat >>confdefs.h
<<_ACEOF
8137 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
8144 echo "$as_me:$LINENO: checking whether time.h and sys/time.h may both be included" >&5
8145 echo $ECHO_N "checking whether time.h and sys/time.h may both be included... $ECHO_C" >&6
8146 if test "${ac_cv_header_time+set}" = set; then
8147 echo $ECHO_N "(cached) $ECHO_C" >&6
8149 cat >conftest.
$ac_ext <<_ACEOF
8152 cat confdefs.h
>>conftest.
$ac_ext
8153 cat >>conftest.
$ac_ext <<_ACEOF
8154 /* end confdefs.h. */
8155 #include <sys/types.h>
8156 #include <sys/time.h>
8162 if ((struct tm *) 0)
8168 rm -f conftest.
$ac_objext
8169 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
8170 (eval $ac_compile) 2>conftest.er1
8172 grep -v '^ *+' conftest.er1
>conftest.err
8174 cat conftest.err
>&5
8175 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8176 (exit $ac_status); } &&
8177 { ac_try
='test -z "$ac_c_werror_flag"
8178 || test ! -s conftest.err'
8179 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8182 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8183 (exit $ac_status); }; } &&
8184 { ac_try
='test -s conftest.$ac_objext'
8185 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8188 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8189 (exit $ac_status); }; }; then
8190 ac_cv_header_time
=yes
8192 echo "$as_me: failed program was:" >&5
8193 sed 's/^/| /' conftest.
$ac_ext >&5
8195 ac_cv_header_time
=no
8197 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
8199 echo "$as_me:$LINENO: result: $ac_cv_header_time" >&5
8200 echo "${ECHO_T}$ac_cv_header_time" >&6
8201 if test $ac_cv_header_time = yes; then
8203 cat >>confdefs.h
<<\_ACEOF
8204 #define TIME_WITH_SYS_TIME 1
8209 echo "$as_me:$LINENO: checking whether struct tm is in sys/time.h or time.h" >&5
8210 echo $ECHO_N "checking whether struct tm is in sys/time.h or time.h... $ECHO_C" >&6
8211 if test "${ac_cv_struct_tm+set}" = set; then
8212 echo $ECHO_N "(cached) $ECHO_C" >&6
8214 cat >conftest.
$ac_ext <<_ACEOF
8217 cat confdefs.h
>>conftest.
$ac_ext
8218 cat >>conftest.
$ac_ext <<_ACEOF
8219 /* end confdefs.h. */
8220 #include <sys/types.h>
8226 struct tm *tp; tp->tm_sec;
8231 rm -f conftest.
$ac_objext
8232 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
8233 (eval $ac_compile) 2>conftest.er1
8235 grep -v '^ *+' conftest.er1
>conftest.err
8237 cat conftest.err
>&5
8238 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8239 (exit $ac_status); } &&
8240 { ac_try
='test -z "$ac_c_werror_flag"
8241 || test ! -s conftest.err'
8242 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8245 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8246 (exit $ac_status); }; } &&
8247 { ac_try
='test -s conftest.$ac_objext'
8248 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8251 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8252 (exit $ac_status); }; }; then
8253 ac_cv_struct_tm
=time.h
8255 echo "$as_me: failed program was:" >&5
8256 sed 's/^/| /' conftest.
$ac_ext >&5
8258 ac_cv_struct_tm
=sys
/time.h
8260 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
8262 echo "$as_me:$LINENO: result: $ac_cv_struct_tm" >&5
8263 echo "${ECHO_T}$ac_cv_struct_tm" >&6
8264 if test $ac_cv_struct_tm = sys
/time.h
; then
8266 cat >>confdefs.h
<<\_ACEOF
8267 #define TM_IN_SYS_TIME 1
8272 echo "$as_me:$LINENO: checking for struct tm.tm_zone" >&5
8273 echo $ECHO_N "checking for struct tm.tm_zone... $ECHO_C" >&6
8274 if test "${ac_cv_member_struct_tm_tm_zone+set}" = set; then
8275 echo $ECHO_N "(cached) $ECHO_C" >&6
8277 cat >conftest.
$ac_ext <<_ACEOF
8280 cat confdefs.h
>>conftest.
$ac_ext
8281 cat >>conftest.
$ac_ext <<_ACEOF
8282 /* end confdefs.h. */
8283 #include <sys/types.h>
8284 #include <$ac_cv_struct_tm>
8290 static struct tm ac_aggr;
8291 if (ac_aggr.tm_zone)
8297 rm -f conftest.
$ac_objext
8298 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
8299 (eval $ac_compile) 2>conftest.er1
8301 grep -v '^ *+' conftest.er1
>conftest.err
8303 cat conftest.err
>&5
8304 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8305 (exit $ac_status); } &&
8306 { ac_try
='test -z "$ac_c_werror_flag"
8307 || test ! -s conftest.err'
8308 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8311 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8312 (exit $ac_status); }; } &&
8313 { ac_try
='test -s conftest.$ac_objext'
8314 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8317 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8318 (exit $ac_status); }; }; then
8319 ac_cv_member_struct_tm_tm_zone
=yes
8321 echo "$as_me: failed program was:" >&5
8322 sed 's/^/| /' conftest.
$ac_ext >&5
8324 cat >conftest.
$ac_ext <<_ACEOF
8327 cat confdefs.h
>>conftest.
$ac_ext
8328 cat >>conftest.
$ac_ext <<_ACEOF
8329 /* end confdefs.h. */
8330 #include <sys/types.h>
8331 #include <$ac_cv_struct_tm>
8337 static struct tm ac_aggr;
8338 if (sizeof ac_aggr.tm_zone)
8344 rm -f conftest.
$ac_objext
8345 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
8346 (eval $ac_compile) 2>conftest.er1
8348 grep -v '^ *+' conftest.er1
>conftest.err
8350 cat conftest.err
>&5
8351 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8352 (exit $ac_status); } &&
8353 { ac_try
='test -z "$ac_c_werror_flag"
8354 || test ! -s conftest.err'
8355 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8358 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8359 (exit $ac_status); }; } &&
8360 { ac_try
='test -s conftest.$ac_objext'
8361 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8364 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8365 (exit $ac_status); }; }; then
8366 ac_cv_member_struct_tm_tm_zone
=yes
8368 echo "$as_me: failed program was:" >&5
8369 sed 's/^/| /' conftest.
$ac_ext >&5
8371 ac_cv_member_struct_tm_tm_zone
=no
8373 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
8375 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
8377 echo "$as_me:$LINENO: result: $ac_cv_member_struct_tm_tm_zone" >&5
8378 echo "${ECHO_T}$ac_cv_member_struct_tm_tm_zone" >&6
8379 if test $ac_cv_member_struct_tm_tm_zone = yes; then
8381 cat >>confdefs.h
<<_ACEOF
8382 #define HAVE_STRUCT_TM_TM_ZONE 1
8388 if test "$ac_cv_member_struct_tm_tm_zone" = yes; then
8390 cat >>confdefs.h
<<\_ACEOF
8391 #define HAVE_TM_ZONE 1
8395 echo "$as_me:$LINENO: checking for tzname" >&5
8396 echo $ECHO_N "checking for tzname... $ECHO_C" >&6
8397 if test "${ac_cv_var_tzname+set}" = set; then
8398 echo $ECHO_N "(cached) $ECHO_C" >&6
8400 cat >conftest.
$ac_ext <<_ACEOF
8403 cat confdefs.h
>>conftest.
$ac_ext
8404 cat >>conftest.
$ac_ext <<_ACEOF
8405 /* end confdefs.h. */
8407 #ifndef tzname /* For SGI. */
8408 extern char *tzname[]; /* RS6000 and others reject char **tzname. */
8419 rm -f conftest.
$ac_objext conftest
$ac_exeext
8420 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8421 (eval $ac_link) 2>conftest.er1
8423 grep -v '^ *+' conftest.er1
>conftest.err
8425 cat conftest.err
>&5
8426 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8427 (exit $ac_status); } &&
8428 { ac_try
='test -z "$ac_c_werror_flag"
8429 || 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_exeext'
8436 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8439 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8440 (exit $ac_status); }; }; then
8441 ac_cv_var_tzname
=yes
8443 echo "$as_me: failed program was:" >&5
8444 sed 's/^/| /' conftest.
$ac_ext >&5
8448 rm -f conftest.err conftest.
$ac_objext \
8449 conftest
$ac_exeext conftest.
$ac_ext
8451 echo "$as_me:$LINENO: result: $ac_cv_var_tzname" >&5
8452 echo "${ECHO_T}$ac_cv_var_tzname" >&6
8453 if test $ac_cv_var_tzname = yes; then
8455 cat >>confdefs.h
<<\_ACEOF
8456 #define HAVE_TZNAME 1
8463 echo "$as_me:$LINENO: checking for tm_gmtoff in struct tm" >&5
8464 echo $ECHO_N "checking for tm_gmtoff in struct tm... $ECHO_C" >&6
8465 cat >conftest.
$ac_ext <<_ACEOF
8468 cat confdefs.h
>>conftest.
$ac_ext
8469 cat >>conftest.
$ac_ext <<_ACEOF
8470 /* end confdefs.h. */
8475 struct tm tim; tim.tm_gmtoff = 0;
8480 rm -f conftest.
$ac_objext
8481 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
8482 (eval $ac_compile) 2>conftest.er1
8484 grep -v '^ *+' conftest.er1
>conftest.err
8486 cat conftest.err
>&5
8487 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8488 (exit $ac_status); } &&
8489 { ac_try
='test -z "$ac_c_werror_flag"
8490 || test ! -s conftest.err'
8491 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8494 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8495 (exit $ac_status); }; } &&
8496 { ac_try
='test -s conftest.$ac_objext'
8497 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8500 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8501 (exit $ac_status); }; }; then
8503 cat >>confdefs.h
<<\_ACEOF
8504 #define STRUCT_TM_HAS_GMTOFF 1
8507 echo "$as_me:$LINENO: result: yes" >&5
8508 echo "${ECHO_T}yes" >&6
8510 echo "$as_me: failed program was:" >&5
8511 sed 's/^/| /' conftest.
$ac_ext >&5
8513 echo "$as_me:$LINENO: result: no" >&5
8514 echo "${ECHO_T}no" >&6
8515 echo "$as_me:$LINENO: checking for global timezone variable" >&5
8516 echo $ECHO_N "checking for global timezone variable... $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 void i(){long z2 = 2*timezone;}
8532 rm -f conftest.
$ac_objext
8533 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
8534 (eval $ac_compile) 2>conftest.er1
8536 grep -v '^ *+' conftest.er1
>conftest.err
8538 cat conftest.err
>&5
8539 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8540 (exit $ac_status); } &&
8541 { ac_try
='test -z "$ac_c_werror_flag"
8542 || test ! -s conftest.err'
8543 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8546 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8547 (exit $ac_status); }; } &&
8548 { ac_try
='test -s conftest.$ac_objext'
8549 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8552 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8553 (exit $ac_status); }; }; then
8555 cat >>confdefs.h
<<\_ACEOF
8556 #define HAVE_TIMEZONE 1
8559 echo "$as_me:$LINENO: result: yes" >&5
8560 echo "${ECHO_T}yes" >&6
8562 echo "$as_me: failed program was:" >&5
8563 sed 's/^/| /' conftest.
$ac_ext >&5
8565 echo "$as_me:$LINENO: result: no" >&5
8566 echo "${ECHO_T}no" >&6
8567 echo "$as_me:$LINENO: checking for global _timezone variable" >&5
8568 echo $ECHO_N "checking for global _timezone variable... $ECHO_C" >&6
8569 cat >conftest.
$ac_ext <<_ACEOF
8572 cat confdefs.h
>>conftest.
$ac_ext
8573 cat >>conftest.
$ac_ext <<_ACEOF
8574 /* end confdefs.h. */
8579 long z2 = _timezone;
8584 rm -f conftest.
$ac_objext
8585 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
8586 (eval $ac_compile) 2>conftest.er1
8588 grep -v '^ *+' conftest.er1
>conftest.err
8590 cat conftest.err
>&5
8591 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8592 (exit $ac_status); } &&
8593 { ac_try
='test -z "$ac_c_werror_flag"
8594 || test ! -s conftest.err'
8595 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8598 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8599 (exit $ac_status); }; } &&
8600 { ac_try
='test -s conftest.$ac_objext'
8601 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8604 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8605 (exit $ac_status); }; }; then
8607 cat >>confdefs.h
<<\_ACEOF
8608 #define HAVE_UNDERSCORE_TIMEZONE 1
8611 echo "$as_me:$LINENO: result: yes" >&5
8612 echo "${ECHO_T}yes" >&6
8614 echo "$as_me: failed program was:" >&5
8615 sed 's/^/| /' conftest.
$ac_ext >&5
8617 echo "$as_me:$LINENO: result: no" >&5
8618 echo "${ECHO_T}no" >&6
8620 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
8622 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
8624 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
8626 echo "$as_me:$LINENO: checking for an ANSI C-conforming const" >&5
8627 echo $ECHO_N "checking for an ANSI C-conforming const... $ECHO_C" >&6
8628 if test "${ac_cv_c_const+set}" = set; then
8629 echo $ECHO_N "(cached) $ECHO_C" >&6
8631 cat >conftest.
$ac_ext <<_ACEOF
8634 cat confdefs.h
>>conftest.
$ac_ext
8635 cat >>conftest.
$ac_ext <<_ACEOF
8636 /* end confdefs.h. */
8641 /* FIXME: Include the comments suggested by Paul. */
8643 /* Ultrix mips cc rejects this. */
8644 typedef int charset[2];
8646 /* SunOS 4.1.1 cc rejects this. */
8647 char const *const *ccp;
8649 /* NEC SVR4.0.2 mips cc rejects this. */
8650 struct point {int x, y;};
8651 static struct point const zero = {0,0};
8652 /* AIX XL C 1.02.0.0 rejects this.
8653 It does not let you subtract one const X* pointer from another in
8654 an arm of an if-expression whose if-part is not a constant
8656 const char *g = "string";
8657 ccp = &g + (g ? g-g : 0);
8658 /* HPUX 7.0 cc rejects these. */
8661 ccp = (char const *const *) p;
8662 { /* SCO 3.2v4 cc rejects this. */
8664 char const *s = 0 ? (char *) 0 : (char const *) 0;
8668 { /* Someone thinks the Sun supposedly-ANSI compiler will reject this. */
8670 const int *foo = &x[0];
8673 { /* Sun SC1.0 ANSI compiler rejects this -- but not the above. */
8674 typedef const int *iptr;
8678 { /* AIX XL C 1.02.0.0 rejects this saying
8679 "k.c", line 2.27: 1506-025 (S) Operand must be a modifiable lvalue. */
8680 struct s { int j; const int *ap[3]; };
8681 struct s *b; b->j = 5;
8683 { /* ULTRIX-32 V3.1 (Rev 9) vcc rejects this */
8692 rm -f conftest.
$ac_objext
8693 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
8694 (eval $ac_compile) 2>conftest.er1
8696 grep -v '^ *+' conftest.er1
>conftest.err
8698 cat conftest.err
>&5
8699 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8700 (exit $ac_status); } &&
8701 { ac_try
='test -z "$ac_c_werror_flag"
8702 || test ! -s conftest.err'
8703 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8706 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8707 (exit $ac_status); }; } &&
8708 { ac_try
='test -s conftest.$ac_objext'
8709 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8712 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8713 (exit $ac_status); }; }; then
8716 echo "$as_me: failed program was:" >&5
8717 sed 's/^/| /' conftest.
$ac_ext >&5
8721 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
8723 echo "$as_me:$LINENO: result: $ac_cv_c_const" >&5
8724 echo "${ECHO_T}$ac_cv_c_const" >&6
8725 if test $ac_cv_c_const = no
; then
8727 cat >>confdefs.h
<<\_ACEOF
8733 echo "$as_me:$LINENO: checking for __attribute__" >&5
8734 echo $ECHO_N "checking for __attribute__... $ECHO_C" >&6
8735 if test "${ac_cv_c_attribute+set}" = set; then
8736 echo $ECHO_N "(cached) $ECHO_C" >&6
8739 cat >conftest.
$ac_ext <<_ACEOF
8742 cat confdefs.h
>>conftest.
$ac_ext
8743 cat >>conftest.
$ac_ext <<_ACEOF
8744 /* end confdefs.h. */
8745 void foo(void) __attribute__ ((__noreturn__));
8748 rm -f conftest.
$ac_objext
8749 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
8750 (eval $ac_compile) 2>conftest.er1
8752 grep -v '^ *+' conftest.er1
>conftest.err
8754 cat conftest.err
>&5
8755 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8756 (exit $ac_status); } &&
8757 { ac_try
='test -z "$ac_c_werror_flag"
8758 || test ! -s conftest.err'
8759 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8762 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8763 (exit $ac_status); }; } &&
8764 { ac_try
='test -s conftest.$ac_objext'
8765 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8768 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8769 (exit $ac_status); }; }; then
8770 ac_cv_c_attribute
=yes
8772 echo "$as_me: failed program was:" >&5
8773 sed 's/^/| /' conftest.
$ac_ext >&5
8775 ac_cv_c_attribute
=no
8778 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
8781 echo "$as_me:$LINENO: result: $ac_cv_c_attribute" >&5
8782 echo "${ECHO_T}$ac_cv_c_attribute" >&6
8785 case $ac_cv_c_attribute in
8788 cat >>confdefs.h
<<_ACEOF
8789 #define __attribute__(x) /* nothing */
8796 if test "X$prefix" = "XNONE"; then
8797 acl_final_prefix
="$ac_default_prefix"
8799 acl_final_prefix
="$prefix"
8801 if test "X$exec_prefix" = "XNONE"; then
8802 acl_final_exec_prefix
='${prefix}'
8804 acl_final_exec_prefix
="$exec_prefix"
8806 acl_save_prefix
="$prefix"
8807 prefix
="$acl_final_prefix"
8808 eval acl_final_exec_prefix
=\"$acl_final_exec_prefix\"
8809 prefix
="$acl_save_prefix"
8812 # Check whether --with-gnu-ld or --without-gnu-ld was given.
8813 if test "${with_gnu_ld+set}" = set; then
8814 withval
="$with_gnu_ld"
8815 test "$withval" = no || with_gnu_ld
=yes
8819 # Prepare PATH_SEPARATOR.
8820 # The user is always right.
8821 if test "${PATH_SEPARATOR+set}" != set; then
8822 echo "#! /bin/sh" >conf$$.sh
8823 echo "exit 0" >>conf$$.sh
8825 if (PATH
="/nonexistent;."; conf$$.sh
) >/dev
/null
2>&1; then
8833 if test "$GCC" = yes; then
8834 # Check if gcc -print-prog-name=ld gives a path.
8835 echo "$as_me:$LINENO: checking for ld used by GCC" >&5
8836 echo $ECHO_N "checking for ld used by GCC... $ECHO_C" >&6
8839 # gcc leaves a trailing carriage return which upsets mingw
8840 ac_prog
=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
8842 ac_prog
=`($CC -print-prog-name=ld) 2>&5` ;;
8845 # Accept absolute paths.
8846 [\\/]* |
[A-Za-z
]:[\\/]*)
8847 re_direlt
='/[^/][^/]*/\.\./'
8848 # Canonicalize the path of ld
8849 ac_prog
=`echo $ac_prog| sed 's%\\\\%/%g'`
8850 while echo $ac_prog |
grep "$re_direlt" > /dev
/null
2>&1; do
8851 ac_prog
=`echo $ac_prog| sed "s%$re_direlt%/%"`
8853 test -z "$LD" && LD
="$ac_prog"
8856 # If it fails, then pretend we aren't using GCC.
8860 # If it is relative, then search for the first ld in PATH.
8864 elif test "$with_gnu_ld" = yes; then
8865 echo "$as_me:$LINENO: checking for GNU ld" >&5
8866 echo $ECHO_N "checking for GNU ld... $ECHO_C" >&6
8868 echo "$as_me:$LINENO: checking for non-GNU ld" >&5
8869 echo $ECHO_N "checking for non-GNU ld... $ECHO_C" >&6
8871 if test "${acl_cv_path_LD+set}" = set; then
8872 echo $ECHO_N "(cached) $ECHO_C" >&6
8874 if test -z "$LD"; then
8875 IFS
="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}${PATH_SEPARATOR-:}"
8876 for ac_dir
in $PATH; do
8877 test -z "$ac_dir" && ac_dir
=.
8878 if test -f "$ac_dir/$ac_prog" ||
test -f "$ac_dir/$ac_prog$ac_exeext"; then
8879 acl_cv_path_LD
="$ac_dir/$ac_prog"
8880 # Check to see if the program is GNU ld. I'd rather use --version,
8881 # but apparently some GNU ld's only accept -v.
8882 # Break only if it was the GNU/non-GNU ld that we prefer.
8883 if "$acl_cv_path_LD" -v 2>&1 < /dev
/null |
egrep '(GNU|with BFD)' > /dev
/null
; then
8884 test "$with_gnu_ld" != no
&& break
8886 test "$with_gnu_ld" != yes && break
8892 acl_cv_path_LD
="$LD" # Let the user override the test with a path.
8896 LD
="$acl_cv_path_LD"
8897 if test -n "$LD"; then
8898 echo "$as_me:$LINENO: result: $LD" >&5
8899 echo "${ECHO_T}$LD" >&6
8901 echo "$as_me:$LINENO: result: no" >&5
8902 echo "${ECHO_T}no" >&6
8904 test -z "$LD" && { { echo "$as_me:$LINENO: error: no acceptable ld found in \$PATH" >&5
8905 echo "$as_me: error: no acceptable ld found in \$PATH" >&2;}
8906 { (exit 1); exit 1; }; }
8907 echo "$as_me:$LINENO: checking if the linker ($LD) is GNU ld" >&5
8908 echo $ECHO_N "checking if the linker ($LD) is GNU ld... $ECHO_C" >&6
8909 if test "${acl_cv_prog_gnu_ld+set}" = set; then
8910 echo $ECHO_N "(cached) $ECHO_C" >&6
8912 # I'd rather use --version here, but apparently some GNU ld's only accept -v.
8913 if $LD -v 2>&1 </dev
/null |
egrep '(GNU|with BFD)' 1>&5; then
8914 acl_cv_prog_gnu_ld
=yes
8916 acl_cv_prog_gnu_ld
=no
8919 echo "$as_me:$LINENO: result: $acl_cv_prog_gnu_ld" >&5
8920 echo "${ECHO_T}$acl_cv_prog_gnu_ld" >&6
8921 with_gnu_ld
=$acl_cv_prog_gnu_ld
8925 echo "$as_me:$LINENO: checking for shared library run path origin" >&5
8926 echo $ECHO_N "checking for shared library run path origin... $ECHO_C" >&6
8927 if test "${acl_cv_rpath+set}" = set; then
8928 echo $ECHO_N "(cached) $ECHO_C" >&6
8931 CC
="$CC" GCC
="$GCC" LDFLAGS
="$LDFLAGS" LD
="$LD" with_gnu_ld
="$with_gnu_ld" \
8932 ${CONFIG_SHELL-/bin/sh} "$ac_aux_dir/config.rpath" "$host" > conftest.sh
8938 echo "$as_me:$LINENO: result: $acl_cv_rpath" >&5
8939 echo "${ECHO_T}$acl_cv_rpath" >&6
8941 libext
="$acl_cv_libext"
8942 shlibext
="$acl_cv_shlibext"
8943 hardcode_libdir_flag_spec
="$acl_cv_hardcode_libdir_flag_spec"
8944 hardcode_libdir_separator
="$acl_cv_hardcode_libdir_separator"
8945 hardcode_direct
="$acl_cv_hardcode_direct"
8946 hardcode_minus_L
="$acl_cv_hardcode_minus_L"
8947 # Check whether --enable-rpath or --disable-rpath was given.
8948 if test "${enable_rpath+set}" = set; then
8949 enableval
="$enable_rpath"
8963 acl_save_prefix
="$prefix"
8964 prefix
="$acl_final_prefix"
8965 acl_save_exec_prefix
="$exec_prefix"
8966 exec_prefix
="$acl_final_exec_prefix"
8968 eval additional_includedir
=\"$includedir\"
8969 eval additional_libdir
=\"$libdir\"
8971 exec_prefix
="$acl_save_exec_prefix"
8972 prefix
="$acl_save_prefix"
8975 # Check whether --with-libiconv-prefix or --without-libiconv-prefix was given.
8976 if test "${with_libiconv_prefix+set}" = set; then
8977 withval
="$with_libiconv_prefix"
8979 if test "X$withval" = "Xno"; then
8982 if test "X$withval" = "X"; then
8984 acl_save_prefix
="$prefix"
8985 prefix
="$acl_final_prefix"
8986 acl_save_exec_prefix
="$exec_prefix"
8987 exec_prefix
="$acl_final_exec_prefix"
8989 eval additional_includedir
=\"$includedir\"
8990 eval additional_libdir
=\"$libdir\"
8992 exec_prefix
="$acl_save_exec_prefix"
8993 prefix
="$acl_save_prefix"
8996 additional_includedir
="$withval/include"
8997 additional_libdir
="$withval/lib"
9007 names_already_handled
=
9008 names_next_round
='iconv '
9009 while test -n "$names_next_round"; do
9010 names_this_round
="$names_next_round"
9012 for name
in $names_this_round; do
9014 for n
in $names_already_handled; do
9015 if test "$n" = "$name"; then
9020 if test -z "$already_handled"; then
9021 names_already_handled
="$names_already_handled $name"
9022 uppername
=`echo "$name" | sed -e 'y|abcdefghijklmnopqrstuvwxyz./-|ABCDEFGHIJKLMNOPQRSTUVWXYZ___|'`
9023 eval value
=\"\
$HAVE_LIB$uppername\"
9024 if test -n "$value"; then
9025 if test "$value" = yes; then
9026 eval value
=\"\
$LIB$uppername\"
9027 test -z "$value" || LIBICONV
="${LIBICONV}${LIBICONV:+ }$value"
9028 eval value
=\"\
$LTLIB$uppername\"
9029 test -z "$value" || LTLIBICONV
="${LTLIBICONV}${LTLIBICONV:+ }$value"
9038 if test $use_additional = yes; then
9039 if test -n "$shlibext" && test -f "$additional_libdir/lib$name.$shlibext"; then
9040 found_dir
="$additional_libdir"
9041 found_so
="$additional_libdir/lib$name.$shlibext"
9042 if test -f "$additional_libdir/lib$name.la"; then
9043 found_la
="$additional_libdir/lib$name.la"
9046 if test -f "$additional_libdir/lib$name.$libext"; then
9047 found_dir
="$additional_libdir"
9048 found_a
="$additional_libdir/lib$name.$libext"
9049 if test -f "$additional_libdir/lib$name.la"; then
9050 found_la
="$additional_libdir/lib$name.la"
9055 if test "X$found_dir" = "X"; then
9056 for x
in $LDFLAGS $LTLIBICONV; do
9058 acl_save_prefix
="$prefix"
9059 prefix
="$acl_final_prefix"
9060 acl_save_exec_prefix
="$exec_prefix"
9061 exec_prefix
="$acl_final_exec_prefix"
9063 exec_prefix
="$acl_save_exec_prefix"
9064 prefix
="$acl_save_prefix"
9068 dir
=`echo "X$x" | sed -e 's/^X-L//'`
9069 if test -n "$shlibext" && test -f "$dir/lib$name.$shlibext"; then
9071 found_so
="$dir/lib$name.$shlibext"
9072 if test -f "$dir/lib$name.la"; then
9073 found_la
="$dir/lib$name.la"
9076 if test -f "$dir/lib$name.$libext"; then
9078 found_a
="$dir/lib$name.$libext"
9079 if test -f "$dir/lib$name.la"; then
9080 found_la
="$dir/lib$name.la"
9086 if test "X$found_dir" != "X"; then
9091 if test "X$found_dir" != "X"; then
9092 LTLIBICONV
="${LTLIBICONV}${LTLIBICONV:+ }-L$found_dir -l$name"
9093 if test "X$found_so" != "X"; then
9094 if test "$enable_rpath" = no ||
test "X$found_dir" = "X/usr/lib"; then
9095 LIBICONV
="${LIBICONV}${LIBICONV:+ }$found_so"
9098 for x
in $ltrpathdirs; do
9099 if test "X$x" = "X$found_dir"; then
9104 if test -z "$haveit"; then
9105 ltrpathdirs
="$ltrpathdirs $found_dir"
9107 if test "$hardcode_direct" = yes; then
9108 LIBICONV
="${LIBICONV}${LIBICONV:+ }$found_so"
9110 if test -n "$hardcode_libdir_flag_spec" && test "$hardcode_minus_L" = no
; then
9111 LIBICONV
="${LIBICONV}${LIBICONV:+ }$found_so"
9113 for x
in $rpathdirs; do
9114 if test "X$x" = "X$found_dir"; then
9119 if test -z "$haveit"; then
9120 rpathdirs
="$rpathdirs $found_dir"
9124 for x
in $LDFLAGS $LIBICONV; do
9126 acl_save_prefix
="$prefix"
9127 prefix
="$acl_final_prefix"
9128 acl_save_exec_prefix
="$exec_prefix"
9129 exec_prefix
="$acl_final_exec_prefix"
9131 exec_prefix
="$acl_save_exec_prefix"
9132 prefix
="$acl_save_prefix"
9134 if test "X$x" = "X-L$found_dir"; then
9139 if test -z "$haveit"; then
9140 LIBICONV
="${LIBICONV}${LIBICONV:+ }-L$found_dir"
9142 if test "$hardcode_minus_L" != no
; then
9143 LIBICONV
="${LIBICONV}${LIBICONV:+ }$found_so"
9145 LIBICONV
="${LIBICONV}${LIBICONV:+ }-l$name"
9151 if test "X$found_a" != "X"; then
9152 LIBICONV
="${LIBICONV}${LIBICONV:+ }$found_a"
9154 LIBICONV
="${LIBICONV}${LIBICONV:+ }-L$found_dir -l$name"
9157 additional_includedir
=
9158 case "$found_dir" in
9160 basedir
=`echo "X$found_dir" | sed -e 's,^X,,' -e 's,/lib/*$,,'`
9161 additional_includedir
="$basedir/include"
9164 if test "X$additional_includedir" != "X"; then
9165 if test "X$additional_includedir" != "X/usr/include"; then
9167 if test "X$additional_includedir" = "X/usr/local/include"; then
9168 if test -n "$GCC"; then
9170 linux
*) haveit
=yes;;
9174 if test -z "$haveit"; then
9175 for x
in $CPPFLAGS $INCICONV; do
9177 acl_save_prefix
="$prefix"
9178 prefix
="$acl_final_prefix"
9179 acl_save_exec_prefix
="$exec_prefix"
9180 exec_prefix
="$acl_final_exec_prefix"
9182 exec_prefix
="$acl_save_exec_prefix"
9183 prefix
="$acl_save_prefix"
9185 if test "X$x" = "X-I$additional_includedir"; then
9190 if test -z "$haveit"; then
9191 if test -d "$additional_includedir"; then
9192 INCICONV
="${INCICONV}${INCICONV:+ }-I$additional_includedir"
9198 if test -n "$found_la"; then
9199 save_libdir
="$libdir"
9201 */* |
*\\*) .
"$found_la" ;;
9202 *) .
"./$found_la" ;;
9204 libdir
="$save_libdir"
9205 for dep
in $dependency_libs; do
9208 additional_libdir
=`echo "X$dep" | sed -e 's/^X-L//'`
9209 if test "X$additional_libdir" != "X/usr/lib"; then
9211 if test "X$additional_libdir" = "X/usr/local/lib"; then
9212 if test -n "$GCC"; then
9214 linux
*) haveit
=yes;;
9218 if test -z "$haveit"; then
9220 for x
in $LDFLAGS $LIBICONV; do
9222 acl_save_prefix
="$prefix"
9223 prefix
="$acl_final_prefix"
9224 acl_save_exec_prefix
="$exec_prefix"
9225 exec_prefix
="$acl_final_exec_prefix"
9227 exec_prefix
="$acl_save_exec_prefix"
9228 prefix
="$acl_save_prefix"
9230 if test "X$x" = "X-L$additional_libdir"; then
9235 if test -z "$haveit"; then
9236 if test -d "$additional_libdir"; then
9237 LIBICONV
="${LIBICONV}${LIBICONV:+ }-L$additional_libdir"
9241 for x
in $LDFLAGS $LTLIBICONV; do
9243 acl_save_prefix
="$prefix"
9244 prefix
="$acl_final_prefix"
9245 acl_save_exec_prefix
="$exec_prefix"
9246 exec_prefix
="$acl_final_exec_prefix"
9248 exec_prefix
="$acl_save_exec_prefix"
9249 prefix
="$acl_save_prefix"
9251 if test "X$x" = "X-L$additional_libdir"; then
9256 if test -z "$haveit"; then
9257 if test -d "$additional_libdir"; then
9258 LTLIBICONV
="${LTLIBICONV}${LTLIBICONV:+ }-L$additional_libdir"
9265 dir
=`echo "X$dep" | sed -e 's/^X-R//'`
9266 if test "$enable_rpath" != no
; then
9268 for x
in $rpathdirs; do
9269 if test "X$x" = "X$dir"; then
9274 if test -z "$haveit"; then
9275 rpathdirs
="$rpathdirs $dir"
9278 for x
in $ltrpathdirs; do
9279 if test "X$x" = "X$dir"; then
9284 if test -z "$haveit"; then
9285 ltrpathdirs
="$ltrpathdirs $dir"
9290 names_next_round
="$names_next_round "`echo "X$dep" | sed -e 's/^X-l//'`
9293 names_next_round
="$names_next_round "`echo "X$dep" | sed -e 's,^X.*/,,' -e 's,^lib,,' -e 's,\.la$,,'`
9296 LIBICONV
="${LIBICONV}${LIBICONV:+ }$dep"
9297 LTLIBICONV
="${LTLIBICONV}${LTLIBICONV:+ }$dep"
9303 LIBICONV
="${LIBICONV}${LIBICONV:+ }-l$name"
9304 LTLIBICONV
="${LTLIBICONV}${LTLIBICONV:+ }-l$name"
9310 if test "X$rpathdirs" != "X"; then
9311 if test -n "$hardcode_libdir_separator"; then
9313 for found_dir
in $rpathdirs; do
9314 alldirs
="${alldirs}${alldirs:+$hardcode_libdir_separator}$found_dir"
9316 acl_save_libdir
="$libdir"
9318 eval flag
=\"$hardcode_libdir_flag_spec\"
9319 libdir
="$acl_save_libdir"
9320 LIBICONV
="${LIBICONV}${LIBICONV:+ }$flag"
9322 for found_dir
in $rpathdirs; do
9323 acl_save_libdir
="$libdir"
9325 eval flag
=\"$hardcode_libdir_flag_spec\"
9326 libdir
="$acl_save_libdir"
9327 LIBICONV
="${LIBICONV}${LIBICONV:+ }$flag"
9331 if test "X$ltrpathdirs" != "X"; then
9332 for found_dir
in $ltrpathdirs; do
9333 LTLIBICONV
="${LTLIBICONV}${LTLIBICONV:+ }-R$found_dir"
9343 am_save_CPPFLAGS
="$CPPFLAGS"
9345 for element
in $INCICONV; do
9347 for x
in $CPPFLAGS; do
9349 acl_save_prefix
="$prefix"
9350 prefix
="$acl_final_prefix"
9351 acl_save_exec_prefix
="$exec_prefix"
9352 exec_prefix
="$acl_final_exec_prefix"
9354 exec_prefix
="$acl_save_exec_prefix"
9355 prefix
="$acl_save_prefix"
9357 if test "X$x" = "X$element"; then
9362 if test -z "$haveit"; then
9363 CPPFLAGS
="${CPPFLAGS}${CPPFLAGS:+ }$element"
9368 echo "$as_me:$LINENO: checking for iconv" >&5
9369 echo $ECHO_N "checking for iconv... $ECHO_C" >&6
9370 if test "${am_cv_func_iconv+set}" = set; then
9371 echo $ECHO_N "(cached) $ECHO_C" >&6
9374 am_cv_func_iconv
="no, consider installing GNU libiconv"
9376 cat >conftest.
$ac_ext <<_ACEOF
9379 cat confdefs.h
>>conftest.
$ac_ext
9380 cat >>conftest.
$ac_ext <<_ACEOF
9381 /* end confdefs.h. */
9387 iconv_t cd = iconv_open("","");
9388 iconv(cd,NULL,NULL,NULL,NULL);
9394 rm -f conftest.
$ac_objext conftest
$ac_exeext
9395 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
9396 (eval $ac_link) 2>conftest.er1
9398 grep -v '^ *+' conftest.er1
>conftest.err
9400 cat conftest.err
>&5
9401 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9402 (exit $ac_status); } &&
9403 { ac_try
='test -z "$ac_c_werror_flag"
9404 || test ! -s conftest.err'
9405 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9408 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9409 (exit $ac_status); }; } &&
9410 { ac_try
='test -s conftest$ac_exeext'
9411 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9414 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9415 (exit $ac_status); }; }; then
9416 am_cv_func_iconv
=yes
9418 echo "$as_me: failed program was:" >&5
9419 sed 's/^/| /' conftest.
$ac_ext >&5
9422 rm -f conftest.err conftest.
$ac_objext \
9423 conftest
$ac_exeext conftest.
$ac_ext
9424 if test "$am_cv_func_iconv" != yes; then
9425 am_save_LIBS
="$LIBS"
9426 LIBS
="$LIBS $LIBICONV"
9427 cat >conftest.
$ac_ext <<_ACEOF
9430 cat confdefs.h
>>conftest.
$ac_ext
9431 cat >>conftest.
$ac_ext <<_ACEOF
9432 /* end confdefs.h. */
9438 iconv_t cd = iconv_open("","");
9439 iconv(cd,NULL,NULL,NULL,NULL);
9445 rm -f conftest.
$ac_objext conftest
$ac_exeext
9446 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
9447 (eval $ac_link) 2>conftest.er1
9449 grep -v '^ *+' conftest.er1
>conftest.err
9451 cat conftest.err
>&5
9452 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9453 (exit $ac_status); } &&
9454 { ac_try
='test -z "$ac_c_werror_flag"
9455 || test ! -s conftest.err'
9456 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9459 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9460 (exit $ac_status); }; } &&
9461 { ac_try
='test -s conftest$ac_exeext'
9462 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9465 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9466 (exit $ac_status); }; }; then
9468 am_cv_func_iconv
=yes
9470 echo "$as_me: failed program was:" >&5
9471 sed 's/^/| /' conftest.
$ac_ext >&5
9474 rm -f conftest.err conftest.
$ac_objext \
9475 conftest
$ac_exeext conftest.
$ac_ext
9476 LIBS
="$am_save_LIBS"
9480 echo "$as_me:$LINENO: result: $am_cv_func_iconv" >&5
9481 echo "${ECHO_T}$am_cv_func_iconv" >&6
9482 if test "$am_cv_func_iconv" = yes; then
9484 cat >>confdefs.h
<<\_ACEOF
9485 #define HAVE_ICONV 1
9489 if test "$am_cv_lib_iconv" = yes; then
9490 echo "$as_me:$LINENO: checking how to link with libiconv" >&5
9491 echo $ECHO_N "checking how to link with libiconv... $ECHO_C" >&6
9492 echo "$as_me:$LINENO: result: $LIBICONV" >&5
9493 echo "${ECHO_T}$LIBICONV" >&6
9495 CPPFLAGS
="$am_save_CPPFLAGS"
9502 if test "$am_cv_func_iconv" = yes; then
9503 echo "$as_me:$LINENO: checking for iconv declaration" >&5
9504 echo $ECHO_N "checking for iconv declaration... $ECHO_C" >&6
9505 if test "${am_cv_proto_iconv+set}" = set; then
9506 echo $ECHO_N "(cached) $ECHO_C" >&6
9509 cat >conftest.
$ac_ext <<_ACEOF
9512 cat confdefs.h
>>conftest.
$ac_ext
9513 cat >>conftest.
$ac_ext <<_ACEOF
9514 /* end confdefs.h. */
9522 #if defined(__STDC__) || defined(__cplusplus)
9523 size_t iconv (iconv_t cd, char * *inbuf, size_t *inbytesleft, char * *outbuf, size_t *outbytesleft);
9536 rm -f conftest.
$ac_objext
9537 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
9538 (eval $ac_compile) 2>conftest.er1
9540 grep -v '^ *+' conftest.er1
>conftest.err
9542 cat conftest.err
>&5
9543 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9544 (exit $ac_status); } &&
9545 { ac_try
='test -z "$ac_c_werror_flag"
9546 || test ! -s conftest.err'
9547 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9550 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9551 (exit $ac_status); }; } &&
9552 { ac_try
='test -s conftest.$ac_objext'
9553 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9556 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9557 (exit $ac_status); }; }; then
9558 am_cv_proto_iconv_arg1
=""
9560 echo "$as_me: failed program was:" >&5
9561 sed 's/^/| /' conftest.
$ac_ext >&5
9563 am_cv_proto_iconv_arg1
="const"
9565 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
9566 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);"
9569 am_cv_proto_iconv
=`echo "$am_cv_proto_iconv" | tr -s ' ' | sed -e 's/( /(/'`
9570 echo "$as_me:$LINENO: result: ${ac_t:-
9571 }$am_cv_proto_iconv" >&5
9572 echo "${ECHO_T}${ac_t:-
9573 }$am_cv_proto_iconv" >&6
9575 cat >>confdefs.h
<<_ACEOF
9576 #define ICONV_CONST $am_cv_proto_iconv_arg1
9582 if test "x${GCC}" = xyes
; then
9584 WARNING_CFLAGS
='-pedantic -W -Wall -Wmissing-declarations -Wwrite-strings -Wmissing-prototypes -Wno-long-long'
9587 STRICT_WARNING_CFLAGS
=-Wstrict-prototypes
9591 if test "x${ENABLE_WERROR}" = xyes
; then
9592 ERROR_CFLAGS
='-Werror'
9597 if test "x${COMPILE_XMLJ}" = xyes
; then
9601 if test -z "$PKG_CONFIG"; then
9602 # Extract the first word of "pkg-config", so it can be a program name with args.
9603 set dummy pkg-config
; ac_word
=$2
9604 echo "$as_me:$LINENO: checking for $ac_word" >&5
9605 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
9606 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
9607 echo $ECHO_N "(cached) $ECHO_C" >&6
9611 ac_cv_path_PKG_CONFIG
="$PKG_CONFIG" # Let the user override the test with a path.
9614 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
9618 test -z "$as_dir" && as_dir
=.
9619 for ac_exec_ext
in '' $ac_executable_extensions; do
9620 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
9621 ac_cv_path_PKG_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
9622 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
9628 test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG
="no"
9632 PKG_CONFIG
=$ac_cv_path_PKG_CONFIG
9634 if test -n "$PKG_CONFIG"; then
9635 echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
9636 echo "${ECHO_T}$PKG_CONFIG" >&6
9638 echo "$as_me:$LINENO: result: no" >&5
9639 echo "${ECHO_T}no" >&6
9644 if test "$PKG_CONFIG" = "no" ; then
9645 echo "*** The pkg-config script could not be found. Make sure it is"
9646 echo "*** in your path, or set the PKG_CONFIG environment variable"
9647 echo "*** to the full path to pkg-config."
9648 echo "*** Or see http://www.freedesktop.org/software/pkgconfig to get pkg-config."
9650 PKG_CONFIG_MIN_VERSION
=0.9.0
9651 if $PKG_CONFIG --atleast-pkgconfig-version $PKG_CONFIG_MIN_VERSION; then
9652 echo "$as_me:$LINENO: checking for libxml-2.0 >= 2.6.8" >&5
9653 echo $ECHO_N "checking for libxml-2.0 >= 2.6.8... $ECHO_C" >&6
9655 if $PKG_CONFIG --exists "libxml-2.0 >= 2.6.8" ; then
9656 echo "$as_me:$LINENO: result: yes" >&5
9657 echo "${ECHO_T}yes" >&6
9660 echo "$as_me:$LINENO: checking XML_CFLAGS" >&5
9661 echo $ECHO_N "checking XML_CFLAGS... $ECHO_C" >&6
9662 XML_CFLAGS
=`$PKG_CONFIG --cflags "libxml-2.0 >= 2.6.8"`
9663 echo "$as_me:$LINENO: result: $XML_CFLAGS" >&5
9664 echo "${ECHO_T}$XML_CFLAGS" >&6
9666 echo "$as_me:$LINENO: checking XML_LIBS" >&5
9667 echo $ECHO_N "checking XML_LIBS... $ECHO_C" >&6
9668 XML_LIBS
=`$PKG_CONFIG --libs "libxml-2.0 >= 2.6.8"`
9669 echo "$as_me:$LINENO: result: $XML_LIBS" >&5
9670 echo "${ECHO_T}$XML_LIBS" >&6
9674 ## If we have a custom action on failure, don't print errors, but
9675 ## do set a variable so people can do so.
9676 XML_PKG_ERRORS
=`$PKG_CONFIG --errors-to-stdout --print-errors "libxml-2.0 >= 2.6.8"`
9677 echo $XML_PKG_ERRORS
9683 echo "*** Your version of pkg-config is too old. You need version $PKG_CONFIG_MIN_VERSION or newer."
9684 echo "*** See http://www.freedesktop.org/software/pkgconfig"
9688 if test $succeeded = yes; then
9691 { { 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
9692 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;}
9693 { (exit 1); exit 1; }; }
9699 if test -z "$PKG_CONFIG"; then
9700 # Extract the first word of "pkg-config", so it can be a program name with args.
9701 set dummy pkg-config
; ac_word
=$2
9702 echo "$as_me:$LINENO: checking for $ac_word" >&5
9703 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
9704 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
9705 echo $ECHO_N "(cached) $ECHO_C" >&6
9709 ac_cv_path_PKG_CONFIG
="$PKG_CONFIG" # Let the user override the test with a path.
9712 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
9716 test -z "$as_dir" && as_dir
=.
9717 for ac_exec_ext
in '' $ac_executable_extensions; do
9718 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
9719 ac_cv_path_PKG_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
9720 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
9726 test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG
="no"
9730 PKG_CONFIG
=$ac_cv_path_PKG_CONFIG
9732 if test -n "$PKG_CONFIG"; then
9733 echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
9734 echo "${ECHO_T}$PKG_CONFIG" >&6
9736 echo "$as_me:$LINENO: result: no" >&5
9737 echo "${ECHO_T}no" >&6
9742 if test "$PKG_CONFIG" = "no" ; then
9743 echo "*** The pkg-config script could not be found. Make sure it is"
9744 echo "*** in your path, or set the PKG_CONFIG environment variable"
9745 echo "*** to the full path to pkg-config."
9746 echo "*** Or see http://www.freedesktop.org/software/pkgconfig to get pkg-config."
9748 PKG_CONFIG_MIN_VERSION
=0.9.0
9749 if $PKG_CONFIG --atleast-pkgconfig-version $PKG_CONFIG_MIN_VERSION; then
9750 echo "$as_me:$LINENO: checking for libxslt >= 1.1.11" >&5
9751 echo $ECHO_N "checking for libxslt >= 1.1.11... $ECHO_C" >&6
9753 if $PKG_CONFIG --exists "libxslt >= 1.1.11" ; then
9754 echo "$as_me:$LINENO: result: yes" >&5
9755 echo "${ECHO_T}yes" >&6
9758 echo "$as_me:$LINENO: checking XSLT_CFLAGS" >&5
9759 echo $ECHO_N "checking XSLT_CFLAGS... $ECHO_C" >&6
9760 XSLT_CFLAGS
=`$PKG_CONFIG --cflags "libxslt >= 1.1.11"`
9761 echo "$as_me:$LINENO: result: $XSLT_CFLAGS" >&5
9762 echo "${ECHO_T}$XSLT_CFLAGS" >&6
9764 echo "$as_me:$LINENO: checking XSLT_LIBS" >&5
9765 echo $ECHO_N "checking XSLT_LIBS... $ECHO_C" >&6
9766 XSLT_LIBS
=`$PKG_CONFIG --libs "libxslt >= 1.1.11"`
9767 echo "$as_me:$LINENO: result: $XSLT_LIBS" >&5
9768 echo "${ECHO_T}$XSLT_LIBS" >&6
9772 ## If we have a custom action on failure, don't print errors, but
9773 ## do set a variable so people can do so.
9774 XSLT_PKG_ERRORS
=`$PKG_CONFIG --errors-to-stdout --print-errors "libxslt >= 1.1.11"`
9775 echo $XSLT_PKG_ERRORS
9781 echo "*** Your version of pkg-config is too old. You need version $PKG_CONFIG_MIN_VERSION or newer."
9782 echo "*** See http://www.freedesktop.org/software/pkgconfig"
9786 if test $succeeded = yes; then
9789 { { 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
9790 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;}
9791 { (exit 1); exit 1; }; }
9800 if test "x${COMPILE_GTK_PEER}" = xyes
; then
9801 echo "$as_me:$LINENO: checking for X" >&5
9802 echo $ECHO_N "checking for X... $ECHO_C" >&6
9805 # Check whether --with-x or --without-x was given.
9806 if test "${with_x+set}" = set; then
9810 # $have_x is `yes', `no', `disabled', or empty when we do not yet know.
9811 if test "x$with_x" = xno
; then
9812 # The user explicitly disabled X.
9815 if test "x$x_includes" != xNONE
&& test "x$x_libraries" != xNONE
; then
9816 # Both variables are already set.
9819 if test "${ac_cv_have_x+set}" = set; then
9820 echo $ECHO_N "(cached) $ECHO_C" >&6
9822 # One or both of the vars are not set, and there is no cached value.
9823 ac_x_includes
=no ac_x_libraries
=no
9825 if mkdir conftest.dir
; then
9827 # Make sure to not put "make" in the Imakefile rules, since we grep it out.
9828 cat >Imakefile
<<'_ACEOF'
9830 @echo 'ac_im_incroot="${INCROOT}"; ac_im_usrlibdir="${USRLIBDIR}"; ac_im_libdir="${LIBDIR}"'
9832 if (xmkmf
) >/dev
/null
2>/dev
/null
&& test -f Makefile
; then
9833 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
9834 eval `${MAKE-make} acfindx 2>/dev/null | grep -v make`
9835 # Open Windows xmkmf reportedly sets LIBDIR instead of USRLIBDIR.
9836 for ac_extension
in a so sl
; do
9837 if test ! -f $ac_im_usrlibdir/libX11.
$ac_extension &&
9838 test -f $ac_im_libdir/libX11.
$ac_extension; then
9839 ac_im_usrlibdir
=$ac_im_libdir; break
9842 # Screen out bogus values from the imake configuration. They are
9843 # bogus both because they are the default anyway, and because
9844 # using them would break gcc on systems where it needs fixed includes.
9845 case $ac_im_incroot in
9847 *) test -f "$ac_im_incroot/X11/Xos.h" && ac_x_includes
=$ac_im_incroot;;
9849 case $ac_im_usrlibdir in
9851 *) test -d "$ac_im_usrlibdir" && ac_x_libraries
=$ac_im_usrlibdir ;;
9858 # Standard set of common directories for X headers.
9859 # Check X11 before X11Rn because it is often a symlink to the current release.
9871 /usr/local/X11/include
9872 /usr/local/X11R6/include
9873 /usr/local/X11R5/include
9874 /usr/local/X11R4/include
9876 /usr/local/include/X11
9877 /usr/local/include/X11R6
9878 /usr/local/include/X11R5
9879 /usr/local/include/X11R4
9883 /usr/XFree86/include/X11
9887 /usr/unsupported/include
9889 /usr/local/x11r5/include
9890 /usr/lpp/Xamples/include
9892 /usr/openwin/include
9893 /usr/openwin/share/include'
9895 if test "$ac_x_includes" = no
; then
9896 # Guess where to find include files, by looking for Xlib.h.
9897 # First, try using that file with no special directory specified.
9898 cat >conftest.
$ac_ext <<_ACEOF
9901 cat confdefs.h
>>conftest.
$ac_ext
9902 cat >>conftest.
$ac_ext <<_ACEOF
9903 /* end confdefs.h. */
9904 #include <X11/Xlib.h>
9906 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
9907 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
9909 grep -v '^ *+' conftest.er1
>conftest.err
9911 cat conftest.err
>&5
9912 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9913 (exit $ac_status); } >/dev
/null
; then
9914 if test -s conftest.err
; then
9915 ac_cpp_err
=$ac_c_preproc_warn_flag
9916 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
9923 if test -z "$ac_cpp_err"; then
9924 # We can compile using X headers with no special include directory.
9927 echo "$as_me: failed program was:" >&5
9928 sed 's/^/| /' conftest.
$ac_ext >&5
9930 for ac_dir
in $ac_x_header_dirs; do
9931 if test -r "$ac_dir/X11/Xlib.h"; then
9932 ac_x_includes
=$ac_dir
9937 rm -f conftest.err conftest.
$ac_ext
9938 fi # $ac_x_includes = no
9940 if test "$ac_x_libraries" = no
; then
9941 # Check for the libraries.
9942 # See if we find them without any special options.
9943 # Don't add to $LIBS permanently.
9946 cat >conftest.
$ac_ext <<_ACEOF
9949 cat confdefs.h
>>conftest.
$ac_ext
9950 cat >>conftest.
$ac_ext <<_ACEOF
9951 /* end confdefs.h. */
9952 #include <X11/Xlib.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"
9971 || test ! -s conftest.err'
9972 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9975 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9976 (exit $ac_status); }; } &&
9977 { ac_try
='test -s conftest$ac_exeext'
9978 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9981 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9982 (exit $ac_status); }; }; then
9984 # We can link X programs with no special library path.
9987 echo "$as_me: failed program was:" >&5
9988 sed 's/^/| /' conftest.
$ac_ext >&5
9991 for ac_dir
in `echo "$ac_x_includes $ac_x_header_dirs" | sed s/include/lib/g`
9993 # Don't even attempt the hair of trying to link an X program!
9994 for ac_extension
in a so sl
; do
9995 if test -r $ac_dir/libXt.
$ac_extension; then
9996 ac_x_libraries
=$ac_dir
10002 rm -f conftest.err conftest.
$ac_objext \
10003 conftest
$ac_exeext conftest.
$ac_ext
10004 fi # $ac_x_libraries = no
10006 if test "$ac_x_includes" = no ||
test "$ac_x_libraries" = no
; then
10007 # Didn't find X anywhere. Cache the known absence of X.
10008 ac_cv_have_x
="have_x=no"
10010 # Record where we found X for the cache.
10011 ac_cv_have_x
="have_x=yes \
10012 ac_x_includes=$ac_x_includes ac_x_libraries=$ac_x_libraries"
10017 eval "$ac_cv_have_x"
10020 if test "$have_x" != yes; then
10021 echo "$as_me:$LINENO: result: $have_x" >&5
10022 echo "${ECHO_T}$have_x" >&6
10025 # If each of the values was on the command line, it overrides each guess.
10026 test "x$x_includes" = xNONE
&& x_includes
=$ac_x_includes
10027 test "x$x_libraries" = xNONE
&& x_libraries
=$ac_x_libraries
10028 # Update the cache value to reflect the command line values.
10029 ac_cv_have_x
="have_x=yes \
10030 ac_x_includes=$x_includes ac_x_libraries=$x_libraries"
10031 echo "$as_me:$LINENO: result: libraries $x_libraries, headers $x_includes" >&5
10032 echo "${ECHO_T}libraries $x_libraries, headers $x_includes" >&6
10035 if test "$no_x" = yes; then
10036 # Not all programs may use this symbol, but it does not hurt to define it.
10038 cat >>confdefs.h
<<\_ACEOF
10039 #define X_DISPLAY_MISSING 1
10042 X_CFLAGS
= X_PRE_LIBS
= X_LIBS
= X_EXTRA_LIBS
=
10044 if test -n "$x_includes"; then
10045 X_CFLAGS
="$X_CFLAGS -I$x_includes"
10048 # It would also be nice to do this for all -L options, not just this one.
10049 if test -n "$x_libraries"; then
10050 X_LIBS
="$X_LIBS -L$x_libraries"
10051 # For Solaris; some versions of Sun CC require a space after -R and
10052 # others require no space. Words are not sufficient . . . .
10053 case `(uname -sr) 2>/dev/null` in
10055 echo "$as_me:$LINENO: checking whether -R must be followed by a space" >&5
10056 echo $ECHO_N "checking whether -R must be followed by a space... $ECHO_C" >&6
10057 ac_xsave_LIBS
=$LIBS; LIBS
="$LIBS -R$x_libraries"
10058 cat >conftest.
$ac_ext <<_ACEOF
10061 cat confdefs.h
>>conftest.
$ac_ext
10062 cat >>conftest.
$ac_ext <<_ACEOF
10063 /* end confdefs.h. */
10073 rm -f conftest.
$ac_objext conftest
$ac_exeext
10074 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10075 (eval $ac_link) 2>conftest.er1
10077 grep -v '^ *+' conftest.er1
>conftest.err
10079 cat conftest.err
>&5
10080 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10081 (exit $ac_status); } &&
10082 { ac_try
='test -z "$ac_c_werror_flag"
10083 || test ! -s conftest.err'
10084 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10085 (eval $ac_try) 2>&5
10087 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10088 (exit $ac_status); }; } &&
10089 { ac_try
='test -s conftest$ac_exeext'
10090 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10091 (eval $ac_try) 2>&5
10093 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10094 (exit $ac_status); }; }; then
10097 echo "$as_me: failed program was:" >&5
10098 sed 's/^/| /' conftest.
$ac_ext >&5
10102 rm -f conftest.err conftest.
$ac_objext \
10103 conftest
$ac_exeext conftest.
$ac_ext
10104 if test $ac_R_nospace = yes; then
10105 echo "$as_me:$LINENO: result: no" >&5
10106 echo "${ECHO_T}no" >&6
10107 X_LIBS
="$X_LIBS -R$x_libraries"
10109 LIBS
="$ac_xsave_LIBS -R $x_libraries"
10110 cat >conftest.
$ac_ext <<_ACEOF
10113 cat confdefs.h
>>conftest.
$ac_ext
10114 cat >>conftest.
$ac_ext <<_ACEOF
10115 /* end confdefs.h. */
10125 rm -f conftest.
$ac_objext conftest
$ac_exeext
10126 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10127 (eval $ac_link) 2>conftest.er1
10129 grep -v '^ *+' conftest.er1
>conftest.err
10131 cat conftest.err
>&5
10132 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10133 (exit $ac_status); } &&
10134 { ac_try
='test -z "$ac_c_werror_flag"
10135 || test ! -s conftest.err'
10136 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10137 (eval $ac_try) 2>&5
10139 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10140 (exit $ac_status); }; } &&
10141 { ac_try
='test -s conftest$ac_exeext'
10142 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10143 (eval $ac_try) 2>&5
10145 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10146 (exit $ac_status); }; }; then
10149 echo "$as_me: failed program was:" >&5
10150 sed 's/^/| /' conftest.
$ac_ext >&5
10154 rm -f conftest.err conftest.
$ac_objext \
10155 conftest
$ac_exeext conftest.
$ac_ext
10156 if test $ac_R_space = yes; then
10157 echo "$as_me:$LINENO: result: yes" >&5
10158 echo "${ECHO_T}yes" >&6
10159 X_LIBS
="$X_LIBS -R $x_libraries"
10161 echo "$as_me:$LINENO: result: neither works" >&5
10162 echo "${ECHO_T}neither works" >&6
10165 LIBS
=$ac_xsave_LIBS
10169 # Check for system-dependent libraries X programs must link with.
10170 # Do this before checking for the system-independent R6 libraries
10171 # (-lICE), since we may need -lsocket or whatever for X linking.
10173 if test "$ISC" = yes; then
10174 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lnsl_s -linet"
10176 # Martyn Johnson says this is needed for Ultrix, if the X
10177 # libraries were built with DECnet support. And Karl Berry says
10178 # the Alpha needs dnet_stub (dnet does not exist).
10179 ac_xsave_LIBS
="$LIBS"; LIBS
="$LIBS $X_LIBS -lX11"
10180 cat >conftest.
$ac_ext <<_ACEOF
10183 cat confdefs.h
>>conftest.
$ac_ext
10184 cat >>conftest.
$ac_ext <<_ACEOF
10185 /* end confdefs.h. */
10187 /* Override any gcc2 internal prototype to avoid an error. */
10191 /* We use char because int might match the return type of a gcc2
10192 builtin and then its argument prototype would still apply. */
10193 char XOpenDisplay ();
10202 rm -f conftest.
$ac_objext conftest
$ac_exeext
10203 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10204 (eval $ac_link) 2>conftest.er1
10206 grep -v '^ *+' conftest.er1
>conftest.err
10208 cat conftest.err
>&5
10209 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10210 (exit $ac_status); } &&
10211 { ac_try
='test -z "$ac_c_werror_flag"
10212 || test ! -s conftest.err'
10213 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10214 (eval $ac_try) 2>&5
10216 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10217 (exit $ac_status); }; } &&
10218 { ac_try
='test -s conftest$ac_exeext'
10219 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10220 (eval $ac_try) 2>&5
10222 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10223 (exit $ac_status); }; }; then
10226 echo "$as_me: failed program was:" >&5
10227 sed 's/^/| /' conftest.
$ac_ext >&5
10229 echo "$as_me:$LINENO: checking for dnet_ntoa in -ldnet" >&5
10230 echo $ECHO_N "checking for dnet_ntoa in -ldnet... $ECHO_C" >&6
10231 if test "${ac_cv_lib_dnet_dnet_ntoa+set}" = set; then
10232 echo $ECHO_N "(cached) $ECHO_C" >&6
10234 ac_check_lib_save_LIBS
=$LIBS
10235 LIBS
="-ldnet $LIBS"
10236 cat >conftest.
$ac_ext <<_ACEOF
10239 cat confdefs.h
>>conftest.
$ac_ext
10240 cat >>conftest.
$ac_ext <<_ACEOF
10241 /* end confdefs.h. */
10243 /* Override any gcc2 internal prototype to avoid an error. */
10247 /* We use char because int might match the return type of a gcc2
10248 builtin and then its argument prototype would still apply. */
10258 rm -f conftest.
$ac_objext conftest
$ac_exeext
10259 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10260 (eval $ac_link) 2>conftest.er1
10262 grep -v '^ *+' conftest.er1
>conftest.err
10264 cat conftest.err
>&5
10265 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10266 (exit $ac_status); } &&
10267 { ac_try
='test -z "$ac_c_werror_flag"
10268 || test ! -s conftest.err'
10269 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10270 (eval $ac_try) 2>&5
10272 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10273 (exit $ac_status); }; } &&
10274 { ac_try
='test -s conftest$ac_exeext'
10275 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10276 (eval $ac_try) 2>&5
10278 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10279 (exit $ac_status); }; }; then
10280 ac_cv_lib_dnet_dnet_ntoa
=yes
10282 echo "$as_me: failed program was:" >&5
10283 sed 's/^/| /' conftest.
$ac_ext >&5
10285 ac_cv_lib_dnet_dnet_ntoa
=no
10287 rm -f conftest.err conftest.
$ac_objext \
10288 conftest
$ac_exeext conftest.
$ac_ext
10289 LIBS
=$ac_check_lib_save_LIBS
10291 echo "$as_me:$LINENO: result: $ac_cv_lib_dnet_dnet_ntoa" >&5
10292 echo "${ECHO_T}$ac_cv_lib_dnet_dnet_ntoa" >&6
10293 if test $ac_cv_lib_dnet_dnet_ntoa = yes; then
10294 X_EXTRA_LIBS
="$X_EXTRA_LIBS -ldnet"
10297 if test $ac_cv_lib_dnet_dnet_ntoa = no
; then
10298 echo "$as_me:$LINENO: checking for dnet_ntoa in -ldnet_stub" >&5
10299 echo $ECHO_N "checking for dnet_ntoa in -ldnet_stub... $ECHO_C" >&6
10300 if test "${ac_cv_lib_dnet_stub_dnet_ntoa+set}" = set; then
10301 echo $ECHO_N "(cached) $ECHO_C" >&6
10303 ac_check_lib_save_LIBS
=$LIBS
10304 LIBS
="-ldnet_stub $LIBS"
10305 cat >conftest.
$ac_ext <<_ACEOF
10308 cat confdefs.h
>>conftest.
$ac_ext
10309 cat >>conftest.
$ac_ext <<_ACEOF
10310 /* end confdefs.h. */
10312 /* Override any gcc2 internal prototype to avoid an error. */
10316 /* We use char because int might match the return type of a gcc2
10317 builtin and then its argument prototype would still apply. */
10327 rm -f conftest.
$ac_objext conftest
$ac_exeext
10328 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10329 (eval $ac_link) 2>conftest.er1
10331 grep -v '^ *+' conftest.er1
>conftest.err
10333 cat conftest.err
>&5
10334 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10335 (exit $ac_status); } &&
10336 { ac_try
='test -z "$ac_c_werror_flag"
10337 || test ! -s conftest.err'
10338 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10339 (eval $ac_try) 2>&5
10341 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10342 (exit $ac_status); }; } &&
10343 { ac_try
='test -s conftest$ac_exeext'
10344 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10345 (eval $ac_try) 2>&5
10347 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10348 (exit $ac_status); }; }; then
10349 ac_cv_lib_dnet_stub_dnet_ntoa
=yes
10351 echo "$as_me: failed program was:" >&5
10352 sed 's/^/| /' conftest.
$ac_ext >&5
10354 ac_cv_lib_dnet_stub_dnet_ntoa
=no
10356 rm -f conftest.err conftest.
$ac_objext \
10357 conftest
$ac_exeext conftest.
$ac_ext
10358 LIBS
=$ac_check_lib_save_LIBS
10360 echo "$as_me:$LINENO: result: $ac_cv_lib_dnet_stub_dnet_ntoa" >&5
10361 echo "${ECHO_T}$ac_cv_lib_dnet_stub_dnet_ntoa" >&6
10362 if test $ac_cv_lib_dnet_stub_dnet_ntoa = yes; then
10363 X_EXTRA_LIBS
="$X_EXTRA_LIBS -ldnet_stub"
10368 rm -f conftest.err conftest.
$ac_objext \
10369 conftest
$ac_exeext conftest.
$ac_ext
10370 LIBS
="$ac_xsave_LIBS"
10372 # msh@cis.ufl.edu says -lnsl (and -lsocket) are needed for his 386/AT,
10373 # to get the SysV transport functions.
10374 # Chad R. Larson says the Pyramis MIS-ES running DC/OSx (SVR4)
10376 # The nsl library prevents programs from opening the X display
10377 # on Irix 5.2, according to T.E. Dickey.
10378 # The functions gethostbyname, getservbyname, and inet_addr are
10379 # in -lbsd on LynxOS 3.0.1/i386, according to Lars Hecking.
10380 echo "$as_me:$LINENO: checking for gethostbyname" >&5
10381 echo $ECHO_N "checking for gethostbyname... $ECHO_C" >&6
10382 if test "${ac_cv_func_gethostbyname+set}" = set; then
10383 echo $ECHO_N "(cached) $ECHO_C" >&6
10385 cat >conftest.
$ac_ext <<_ACEOF
10388 cat confdefs.h
>>conftest.
$ac_ext
10389 cat >>conftest.
$ac_ext <<_ACEOF
10390 /* end confdefs.h. */
10391 /* Define gethostbyname to an innocuous variant, in case <limits.h> declares gethostbyname.
10392 For example, HP-UX 11i <limits.h> declares gettimeofday. */
10393 #define gethostbyname innocuous_gethostbyname
10395 /* System header to define __stub macros and hopefully few prototypes,
10396 which can conflict with char gethostbyname (); below.
10397 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
10398 <limits.h> exists even on freestanding compilers. */
10401 # include <limits.h>
10403 # include <assert.h>
10406 #undef gethostbyname
10408 /* Override any gcc2 internal prototype to avoid an error. */
10413 /* We use char because int might match the return type of a gcc2
10414 builtin and then its argument prototype would still apply. */
10415 char gethostbyname ();
10416 /* The GNU C library defines this for functions which it implements
10417 to always fail with ENOSYS. Some functions are actually named
10418 something starting with __ and the normal name is an alias. */
10419 #if defined (__stub_gethostbyname) || defined (__stub___gethostbyname)
10422 char (*f) () = gethostbyname;
10431 return f != gethostbyname;
10436 rm -f conftest.
$ac_objext conftest
$ac_exeext
10437 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10438 (eval $ac_link) 2>conftest.er1
10440 grep -v '^ *+' conftest.er1
>conftest.err
10442 cat conftest.err
>&5
10443 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10444 (exit $ac_status); } &&
10445 { ac_try
='test -z "$ac_c_werror_flag"
10446 || test ! -s conftest.err'
10447 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10448 (eval $ac_try) 2>&5
10450 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10451 (exit $ac_status); }; } &&
10452 { ac_try
='test -s conftest$ac_exeext'
10453 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10454 (eval $ac_try) 2>&5
10456 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10457 (exit $ac_status); }; }; then
10458 ac_cv_func_gethostbyname
=yes
10460 echo "$as_me: failed program was:" >&5
10461 sed 's/^/| /' conftest.
$ac_ext >&5
10463 ac_cv_func_gethostbyname
=no
10465 rm -f conftest.err conftest.
$ac_objext \
10466 conftest
$ac_exeext conftest.
$ac_ext
10468 echo "$as_me:$LINENO: result: $ac_cv_func_gethostbyname" >&5
10469 echo "${ECHO_T}$ac_cv_func_gethostbyname" >&6
10471 if test $ac_cv_func_gethostbyname = no
; then
10472 echo "$as_me:$LINENO: checking for gethostbyname in -lnsl" >&5
10473 echo $ECHO_N "checking for gethostbyname in -lnsl... $ECHO_C" >&6
10474 if test "${ac_cv_lib_nsl_gethostbyname+set}" = set; then
10475 echo $ECHO_N "(cached) $ECHO_C" >&6
10477 ac_check_lib_save_LIBS
=$LIBS
10479 cat >conftest.
$ac_ext <<_ACEOF
10482 cat confdefs.h
>>conftest.
$ac_ext
10483 cat >>conftest.
$ac_ext <<_ACEOF
10484 /* end confdefs.h. */
10486 /* Override any gcc2 internal prototype to avoid an error. */
10490 /* We use char because int might match the return type of a gcc2
10491 builtin and then its argument prototype would still apply. */
10492 char gethostbyname ();
10501 rm -f conftest.
$ac_objext conftest
$ac_exeext
10502 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10503 (eval $ac_link) 2>conftest.er1
10505 grep -v '^ *+' conftest.er1
>conftest.err
10507 cat conftest.err
>&5
10508 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10509 (exit $ac_status); } &&
10510 { ac_try
='test -z "$ac_c_werror_flag"
10511 || test ! -s conftest.err'
10512 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10513 (eval $ac_try) 2>&5
10515 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10516 (exit $ac_status); }; } &&
10517 { ac_try
='test -s conftest$ac_exeext'
10518 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10519 (eval $ac_try) 2>&5
10521 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10522 (exit $ac_status); }; }; then
10523 ac_cv_lib_nsl_gethostbyname
=yes
10525 echo "$as_me: failed program was:" >&5
10526 sed 's/^/| /' conftest.
$ac_ext >&5
10528 ac_cv_lib_nsl_gethostbyname
=no
10530 rm -f conftest.err conftest.
$ac_objext \
10531 conftest
$ac_exeext conftest.
$ac_ext
10532 LIBS
=$ac_check_lib_save_LIBS
10534 echo "$as_me:$LINENO: result: $ac_cv_lib_nsl_gethostbyname" >&5
10535 echo "${ECHO_T}$ac_cv_lib_nsl_gethostbyname" >&6
10536 if test $ac_cv_lib_nsl_gethostbyname = yes; then
10537 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lnsl"
10540 if test $ac_cv_lib_nsl_gethostbyname = no
; then
10541 echo "$as_me:$LINENO: checking for gethostbyname in -lbsd" >&5
10542 echo $ECHO_N "checking for gethostbyname in -lbsd... $ECHO_C" >&6
10543 if test "${ac_cv_lib_bsd_gethostbyname+set}" = set; then
10544 echo $ECHO_N "(cached) $ECHO_C" >&6
10546 ac_check_lib_save_LIBS
=$LIBS
10548 cat >conftest.
$ac_ext <<_ACEOF
10551 cat confdefs.h
>>conftest.
$ac_ext
10552 cat >>conftest.
$ac_ext <<_ACEOF
10553 /* end confdefs.h. */
10555 /* Override any gcc2 internal prototype to avoid an error. */
10559 /* We use char because int might match the return type of a gcc2
10560 builtin and then its argument prototype would still apply. */
10561 char gethostbyname ();
10570 rm -f conftest.
$ac_objext conftest
$ac_exeext
10571 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10572 (eval $ac_link) 2>conftest.er1
10574 grep -v '^ *+' conftest.er1
>conftest.err
10576 cat conftest.err
>&5
10577 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10578 (exit $ac_status); } &&
10579 { ac_try
='test -z "$ac_c_werror_flag"
10580 || test ! -s conftest.err'
10581 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10582 (eval $ac_try) 2>&5
10584 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10585 (exit $ac_status); }; } &&
10586 { ac_try
='test -s conftest$ac_exeext'
10587 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10588 (eval $ac_try) 2>&5
10590 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10591 (exit $ac_status); }; }; then
10592 ac_cv_lib_bsd_gethostbyname
=yes
10594 echo "$as_me: failed program was:" >&5
10595 sed 's/^/| /' conftest.
$ac_ext >&5
10597 ac_cv_lib_bsd_gethostbyname
=no
10599 rm -f conftest.err conftest.
$ac_objext \
10600 conftest
$ac_exeext conftest.
$ac_ext
10601 LIBS
=$ac_check_lib_save_LIBS
10603 echo "$as_me:$LINENO: result: $ac_cv_lib_bsd_gethostbyname" >&5
10604 echo "${ECHO_T}$ac_cv_lib_bsd_gethostbyname" >&6
10605 if test $ac_cv_lib_bsd_gethostbyname = yes; then
10606 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lbsd"
10612 # lieder@skyler.mavd.honeywell.com says without -lsocket,
10613 # socket/setsockopt and other routines are undefined under SCO ODT
10614 # 2.0. But -lsocket is broken on IRIX 5.2 (and is not necessary
10615 # on later versions), says Simon Leinen: it contains gethostby*
10616 # variants that don't use the name server (or something). -lsocket
10617 # must be given before -lnsl if both are needed. We assume that
10618 # if connect needs -lnsl, so does gethostbyname.
10619 echo "$as_me:$LINENO: checking for connect" >&5
10620 echo $ECHO_N "checking for connect... $ECHO_C" >&6
10621 if test "${ac_cv_func_connect+set}" = set; then
10622 echo $ECHO_N "(cached) $ECHO_C" >&6
10624 cat >conftest.
$ac_ext <<_ACEOF
10627 cat confdefs.h
>>conftest.
$ac_ext
10628 cat >>conftest.
$ac_ext <<_ACEOF
10629 /* end confdefs.h. */
10630 /* Define connect to an innocuous variant, in case <limits.h> declares connect.
10631 For example, HP-UX 11i <limits.h> declares gettimeofday. */
10632 #define connect innocuous_connect
10634 /* System header to define __stub macros and hopefully few prototypes,
10635 which can conflict with char connect (); below.
10636 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
10637 <limits.h> exists even on freestanding compilers. */
10640 # include <limits.h>
10642 # include <assert.h>
10647 /* Override any gcc2 internal prototype to avoid an error. */
10652 /* We use char because int might match the return type of a gcc2
10653 builtin and then its argument prototype would still apply. */
10655 /* The GNU C library defines this for functions which it implements
10656 to always fail with ENOSYS. Some functions are actually named
10657 something starting with __ and the normal name is an alias. */
10658 #if defined (__stub_connect) || defined (__stub___connect)
10661 char (*f) () = connect;
10670 return f != connect;
10675 rm -f conftest.
$ac_objext conftest
$ac_exeext
10676 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10677 (eval $ac_link) 2>conftest.er1
10679 grep -v '^ *+' conftest.er1
>conftest.err
10681 cat conftest.err
>&5
10682 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10683 (exit $ac_status); } &&
10684 { ac_try
='test -z "$ac_c_werror_flag"
10685 || test ! -s conftest.err'
10686 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10687 (eval $ac_try) 2>&5
10689 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10690 (exit $ac_status); }; } &&
10691 { ac_try
='test -s conftest$ac_exeext'
10692 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10693 (eval $ac_try) 2>&5
10695 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10696 (exit $ac_status); }; }; then
10697 ac_cv_func_connect
=yes
10699 echo "$as_me: failed program was:" >&5
10700 sed 's/^/| /' conftest.
$ac_ext >&5
10702 ac_cv_func_connect
=no
10704 rm -f conftest.err conftest.
$ac_objext \
10705 conftest
$ac_exeext conftest.
$ac_ext
10707 echo "$as_me:$LINENO: result: $ac_cv_func_connect" >&5
10708 echo "${ECHO_T}$ac_cv_func_connect" >&6
10710 if test $ac_cv_func_connect = no
; then
10711 echo "$as_me:$LINENO: checking for connect in -lsocket" >&5
10712 echo $ECHO_N "checking for connect in -lsocket... $ECHO_C" >&6
10713 if test "${ac_cv_lib_socket_connect+set}" = set; then
10714 echo $ECHO_N "(cached) $ECHO_C" >&6
10716 ac_check_lib_save_LIBS
=$LIBS
10717 LIBS
="-lsocket $X_EXTRA_LIBS $LIBS"
10718 cat >conftest.
$ac_ext <<_ACEOF
10721 cat confdefs.h
>>conftest.
$ac_ext
10722 cat >>conftest.
$ac_ext <<_ACEOF
10723 /* end confdefs.h. */
10725 /* Override any gcc2 internal prototype to avoid an error. */
10729 /* We use char because int might match the return type of a gcc2
10730 builtin and then its argument prototype would still apply. */
10740 rm -f conftest.
$ac_objext conftest
$ac_exeext
10741 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10742 (eval $ac_link) 2>conftest.er1
10744 grep -v '^ *+' conftest.er1
>conftest.err
10746 cat conftest.err
>&5
10747 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10748 (exit $ac_status); } &&
10749 { ac_try
='test -z "$ac_c_werror_flag"
10750 || test ! -s conftest.err'
10751 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10752 (eval $ac_try) 2>&5
10754 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10755 (exit $ac_status); }; } &&
10756 { ac_try
='test -s conftest$ac_exeext'
10757 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10758 (eval $ac_try) 2>&5
10760 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10761 (exit $ac_status); }; }; then
10762 ac_cv_lib_socket_connect
=yes
10764 echo "$as_me: failed program was:" >&5
10765 sed 's/^/| /' conftest.
$ac_ext >&5
10767 ac_cv_lib_socket_connect
=no
10769 rm -f conftest.err conftest.
$ac_objext \
10770 conftest
$ac_exeext conftest.
$ac_ext
10771 LIBS
=$ac_check_lib_save_LIBS
10773 echo "$as_me:$LINENO: result: $ac_cv_lib_socket_connect" >&5
10774 echo "${ECHO_T}$ac_cv_lib_socket_connect" >&6
10775 if test $ac_cv_lib_socket_connect = yes; then
10776 X_EXTRA_LIBS
="-lsocket $X_EXTRA_LIBS"
10781 # Guillermo Gomez says -lposix is necessary on A/UX.
10782 echo "$as_me:$LINENO: checking for remove" >&5
10783 echo $ECHO_N "checking for remove... $ECHO_C" >&6
10784 if test "${ac_cv_func_remove+set}" = set; then
10785 echo $ECHO_N "(cached) $ECHO_C" >&6
10787 cat >conftest.
$ac_ext <<_ACEOF
10790 cat confdefs.h
>>conftest.
$ac_ext
10791 cat >>conftest.
$ac_ext <<_ACEOF
10792 /* end confdefs.h. */
10793 /* Define remove to an innocuous variant, in case <limits.h> declares remove.
10794 For example, HP-UX 11i <limits.h> declares gettimeofday. */
10795 #define remove innocuous_remove
10797 /* System header to define __stub macros and hopefully few prototypes,
10798 which can conflict with char remove (); below.
10799 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
10800 <limits.h> exists even on freestanding compilers. */
10803 # include <limits.h>
10805 # include <assert.h>
10810 /* Override any gcc2 internal prototype to avoid an error. */
10815 /* We use char because int might match the return type of a gcc2
10816 builtin and then its argument prototype would still apply. */
10818 /* The GNU C library defines this for functions which it implements
10819 to always fail with ENOSYS. Some functions are actually named
10820 something starting with __ and the normal name is an alias. */
10821 #if defined (__stub_remove) || defined (__stub___remove)
10824 char (*f) () = remove;
10833 return f != remove;
10838 rm -f conftest.
$ac_objext conftest
$ac_exeext
10839 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10840 (eval $ac_link) 2>conftest.er1
10842 grep -v '^ *+' conftest.er1
>conftest.err
10844 cat conftest.err
>&5
10845 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10846 (exit $ac_status); } &&
10847 { ac_try
='test -z "$ac_c_werror_flag"
10848 || test ! -s conftest.err'
10849 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10850 (eval $ac_try) 2>&5
10852 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10853 (exit $ac_status); }; } &&
10854 { ac_try
='test -s conftest$ac_exeext'
10855 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10856 (eval $ac_try) 2>&5
10858 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10859 (exit $ac_status); }; }; then
10860 ac_cv_func_remove
=yes
10862 echo "$as_me: failed program was:" >&5
10863 sed 's/^/| /' conftest.
$ac_ext >&5
10865 ac_cv_func_remove
=no
10867 rm -f conftest.err conftest.
$ac_objext \
10868 conftest
$ac_exeext conftest.
$ac_ext
10870 echo "$as_me:$LINENO: result: $ac_cv_func_remove" >&5
10871 echo "${ECHO_T}$ac_cv_func_remove" >&6
10873 if test $ac_cv_func_remove = no
; then
10874 echo "$as_me:$LINENO: checking for remove in -lposix" >&5
10875 echo $ECHO_N "checking for remove in -lposix... $ECHO_C" >&6
10876 if test "${ac_cv_lib_posix_remove+set}" = set; then
10877 echo $ECHO_N "(cached) $ECHO_C" >&6
10879 ac_check_lib_save_LIBS
=$LIBS
10880 LIBS
="-lposix $LIBS"
10881 cat >conftest.
$ac_ext <<_ACEOF
10884 cat confdefs.h
>>conftest.
$ac_ext
10885 cat >>conftest.
$ac_ext <<_ACEOF
10886 /* end confdefs.h. */
10888 /* Override any gcc2 internal prototype to avoid an error. */
10892 /* We use char because int might match the return type of a gcc2
10893 builtin and then its argument prototype would still apply. */
10903 rm -f conftest.
$ac_objext conftest
$ac_exeext
10904 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10905 (eval $ac_link) 2>conftest.er1
10907 grep -v '^ *+' conftest.er1
>conftest.err
10909 cat conftest.err
>&5
10910 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10911 (exit $ac_status); } &&
10912 { ac_try
='test -z "$ac_c_werror_flag"
10913 || test ! -s conftest.err'
10914 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10915 (eval $ac_try) 2>&5
10917 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10918 (exit $ac_status); }; } &&
10919 { ac_try
='test -s conftest$ac_exeext'
10920 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10921 (eval $ac_try) 2>&5
10923 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10924 (exit $ac_status); }; }; then
10925 ac_cv_lib_posix_remove
=yes
10927 echo "$as_me: failed program was:" >&5
10928 sed 's/^/| /' conftest.
$ac_ext >&5
10930 ac_cv_lib_posix_remove
=no
10932 rm -f conftest.err conftest.
$ac_objext \
10933 conftest
$ac_exeext conftest.
$ac_ext
10934 LIBS
=$ac_check_lib_save_LIBS
10936 echo "$as_me:$LINENO: result: $ac_cv_lib_posix_remove" >&5
10937 echo "${ECHO_T}$ac_cv_lib_posix_remove" >&6
10938 if test $ac_cv_lib_posix_remove = yes; then
10939 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lposix"
10944 # BSDI BSD/OS 2.1 needs -lipc for XOpenDisplay.
10945 echo "$as_me:$LINENO: checking for shmat" >&5
10946 echo $ECHO_N "checking for shmat... $ECHO_C" >&6
10947 if test "${ac_cv_func_shmat+set}" = set; then
10948 echo $ECHO_N "(cached) $ECHO_C" >&6
10950 cat >conftest.
$ac_ext <<_ACEOF
10953 cat confdefs.h
>>conftest.
$ac_ext
10954 cat >>conftest.
$ac_ext <<_ACEOF
10955 /* end confdefs.h. */
10956 /* Define shmat to an innocuous variant, in case <limits.h> declares shmat.
10957 For example, HP-UX 11i <limits.h> declares gettimeofday. */
10958 #define shmat innocuous_shmat
10960 /* System header to define __stub macros and hopefully few prototypes,
10961 which can conflict with char shmat (); below.
10962 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
10963 <limits.h> exists even on freestanding compilers. */
10966 # include <limits.h>
10968 # include <assert.h>
10973 /* Override any gcc2 internal prototype to avoid an error. */
10978 /* We use char because int might match the return type of a gcc2
10979 builtin and then its argument prototype would still apply. */
10981 /* The GNU C library defines this for functions which it implements
10982 to always fail with ENOSYS. Some functions are actually named
10983 something starting with __ and the normal name is an alias. */
10984 #if defined (__stub_shmat) || defined (__stub___shmat)
10987 char (*f) () = shmat;
11001 rm -f conftest.
$ac_objext conftest
$ac_exeext
11002 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
11003 (eval $ac_link) 2>conftest.er1
11005 grep -v '^ *+' conftest.er1
>conftest.err
11007 cat conftest.err
>&5
11008 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11009 (exit $ac_status); } &&
11010 { ac_try
='test -z "$ac_c_werror_flag"
11011 || test ! -s conftest.err'
11012 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11013 (eval $ac_try) 2>&5
11015 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11016 (exit $ac_status); }; } &&
11017 { ac_try
='test -s conftest$ac_exeext'
11018 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11019 (eval $ac_try) 2>&5
11021 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11022 (exit $ac_status); }; }; then
11023 ac_cv_func_shmat
=yes
11025 echo "$as_me: failed program was:" >&5
11026 sed 's/^/| /' conftest.
$ac_ext >&5
11028 ac_cv_func_shmat
=no
11030 rm -f conftest.err conftest.
$ac_objext \
11031 conftest
$ac_exeext conftest.
$ac_ext
11033 echo "$as_me:$LINENO: result: $ac_cv_func_shmat" >&5
11034 echo "${ECHO_T}$ac_cv_func_shmat" >&6
11036 if test $ac_cv_func_shmat = no
; then
11037 echo "$as_me:$LINENO: checking for shmat in -lipc" >&5
11038 echo $ECHO_N "checking for shmat in -lipc... $ECHO_C" >&6
11039 if test "${ac_cv_lib_ipc_shmat+set}" = set; then
11040 echo $ECHO_N "(cached) $ECHO_C" >&6
11042 ac_check_lib_save_LIBS
=$LIBS
11044 cat >conftest.
$ac_ext <<_ACEOF
11047 cat confdefs.h
>>conftest.
$ac_ext
11048 cat >>conftest.
$ac_ext <<_ACEOF
11049 /* end confdefs.h. */
11051 /* Override any gcc2 internal prototype to avoid an error. */
11055 /* We use char because int might match the return type of a gcc2
11056 builtin and then its argument prototype would still apply. */
11066 rm -f conftest.
$ac_objext conftest
$ac_exeext
11067 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
11068 (eval $ac_link) 2>conftest.er1
11070 grep -v '^ *+' conftest.er1
>conftest.err
11072 cat conftest.err
>&5
11073 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11074 (exit $ac_status); } &&
11075 { ac_try
='test -z "$ac_c_werror_flag"
11076 || test ! -s conftest.err'
11077 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11078 (eval $ac_try) 2>&5
11080 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11081 (exit $ac_status); }; } &&
11082 { ac_try
='test -s conftest$ac_exeext'
11083 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11084 (eval $ac_try) 2>&5
11086 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11087 (exit $ac_status); }; }; then
11088 ac_cv_lib_ipc_shmat
=yes
11090 echo "$as_me: failed program was:" >&5
11091 sed 's/^/| /' conftest.
$ac_ext >&5
11093 ac_cv_lib_ipc_shmat
=no
11095 rm -f conftest.err conftest.
$ac_objext \
11096 conftest
$ac_exeext conftest.
$ac_ext
11097 LIBS
=$ac_check_lib_save_LIBS
11099 echo "$as_me:$LINENO: result: $ac_cv_lib_ipc_shmat" >&5
11100 echo "${ECHO_T}$ac_cv_lib_ipc_shmat" >&6
11101 if test $ac_cv_lib_ipc_shmat = yes; then
11102 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lipc"
11108 # Check for libraries that X11R6 Xt/Xaw programs need.
11109 ac_save_LDFLAGS
=$LDFLAGS
11110 test -n "$x_libraries" && LDFLAGS
="$LDFLAGS -L$x_libraries"
11111 # SM needs ICE to (dynamically) link under SunOS 4.x (so we have to
11112 # check for ICE first), but we must link in the order -lSM -lICE or
11113 # we get undefined symbols. So assume we have SM if we have ICE.
11114 # These have to be linked with before -lX11, unlike the other
11115 # libraries we check for below, so use a different variable.
11116 # John Interrante, Karl Berry
11117 echo "$as_me:$LINENO: checking for IceConnectionNumber in -lICE" >&5
11118 echo $ECHO_N "checking for IceConnectionNumber in -lICE... $ECHO_C" >&6
11119 if test "${ac_cv_lib_ICE_IceConnectionNumber+set}" = set; then
11120 echo $ECHO_N "(cached) $ECHO_C" >&6
11122 ac_check_lib_save_LIBS
=$LIBS
11123 LIBS
="-lICE $X_EXTRA_LIBS $LIBS"
11124 cat >conftest.
$ac_ext <<_ACEOF
11127 cat confdefs.h
>>conftest.
$ac_ext
11128 cat >>conftest.
$ac_ext <<_ACEOF
11129 /* end confdefs.h. */
11131 /* Override any gcc2 internal prototype to avoid an error. */
11135 /* We use char because int might match the return type of a gcc2
11136 builtin and then its argument prototype would still apply. */
11137 char IceConnectionNumber ();
11141 IceConnectionNumber ();
11146 rm -f conftest.
$ac_objext conftest
$ac_exeext
11147 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
11148 (eval $ac_link) 2>conftest.er1
11150 grep -v '^ *+' conftest.er1
>conftest.err
11152 cat conftest.err
>&5
11153 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11154 (exit $ac_status); } &&
11155 { ac_try
='test -z "$ac_c_werror_flag"
11156 || test ! -s conftest.err'
11157 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11158 (eval $ac_try) 2>&5
11160 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11161 (exit $ac_status); }; } &&
11162 { ac_try
='test -s conftest$ac_exeext'
11163 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11164 (eval $ac_try) 2>&5
11166 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11167 (exit $ac_status); }; }; then
11168 ac_cv_lib_ICE_IceConnectionNumber
=yes
11170 echo "$as_me: failed program was:" >&5
11171 sed 's/^/| /' conftest.
$ac_ext >&5
11173 ac_cv_lib_ICE_IceConnectionNumber
=no
11175 rm -f conftest.err conftest.
$ac_objext \
11176 conftest
$ac_exeext conftest.
$ac_ext
11177 LIBS
=$ac_check_lib_save_LIBS
11179 echo "$as_me:$LINENO: result: $ac_cv_lib_ICE_IceConnectionNumber" >&5
11180 echo "${ECHO_T}$ac_cv_lib_ICE_IceConnectionNumber" >&6
11181 if test $ac_cv_lib_ICE_IceConnectionNumber = yes; then
11182 X_PRE_LIBS
="$X_PRE_LIBS -lSM -lICE"
11185 LDFLAGS
=$ac_save_LDFLAGS
11189 if test "$no_x" = yes; then
11190 { { echo "$as_me:$LINENO: error: GTK+ peers requested but no X library available" >&5
11191 echo "$as_me: error: GTK+ peers requested but no X library available" >&2;}
11192 { (exit 1); exit 1; }; }
11194 echo "$as_me:$LINENO: checking for XTestQueryExtension in -lXtst" >&5
11195 echo $ECHO_N "checking for XTestQueryExtension in -lXtst... $ECHO_C" >&6
11196 if test "${ac_cv_lib_Xtst_XTestQueryExtension+set}" = set; then
11197 echo $ECHO_N "(cached) $ECHO_C" >&6
11199 ac_check_lib_save_LIBS
=$LIBS
11200 LIBS
="-lXtst ${X_LIBS} $LIBS"
11201 cat >conftest.
$ac_ext <<_ACEOF
11204 cat confdefs.h
>>conftest.
$ac_ext
11205 cat >>conftest.
$ac_ext <<_ACEOF
11206 /* end confdefs.h. */
11208 /* Override any gcc2 internal prototype to avoid an error. */
11212 /* We use char because int might match the return type of a gcc2
11213 builtin and then its argument prototype would still apply. */
11214 char XTestQueryExtension ();
11218 XTestQueryExtension ();
11223 rm -f conftest.
$ac_objext conftest
$ac_exeext
11224 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
11225 (eval $ac_link) 2>conftest.er1
11227 grep -v '^ *+' conftest.er1
>conftest.err
11229 cat conftest.err
>&5
11230 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11231 (exit $ac_status); } &&
11232 { ac_try
='test -z "$ac_c_werror_flag"
11233 || test ! -s conftest.err'
11234 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11235 (eval $ac_try) 2>&5
11237 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11238 (exit $ac_status); }; } &&
11239 { ac_try
='test -s conftest$ac_exeext'
11240 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11241 (eval $ac_try) 2>&5
11243 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11244 (exit $ac_status); }; }; then
11245 ac_cv_lib_Xtst_XTestQueryExtension
=yes
11247 echo "$as_me: failed program was:" >&5
11248 sed 's/^/| /' conftest.
$ac_ext >&5
11250 ac_cv_lib_Xtst_XTestQueryExtension
=no
11252 rm -f conftest.err conftest.
$ac_objext \
11253 conftest
$ac_exeext conftest.
$ac_ext
11254 LIBS
=$ac_check_lib_save_LIBS
11256 echo "$as_me:$LINENO: result: $ac_cv_lib_Xtst_XTestQueryExtension" >&5
11257 echo "${ECHO_T}$ac_cv_lib_Xtst_XTestQueryExtension" >&6
11258 if test $ac_cv_lib_Xtst_XTestQueryExtension = yes; then
11261 { { echo "$as_me:$LINENO: error: libXtst NOT found, required for GdkRobot" >&5
11262 echo "$as_me: error: libXtst NOT found, required for GdkRobot" >&2;}
11263 { (exit 1); exit 1; }; }
11269 if test -z "$PKG_CONFIG"; then
11270 # Extract the first word of "pkg-config", so it can be a program name with args.
11271 set dummy pkg-config
; ac_word
=$2
11272 echo "$as_me:$LINENO: checking for $ac_word" >&5
11273 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
11274 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
11275 echo $ECHO_N "(cached) $ECHO_C" >&6
11277 case $PKG_CONFIG in
11279 ac_cv_path_PKG_CONFIG
="$PKG_CONFIG" # Let the user override the test with a path.
11282 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
11283 for as_dir
in $PATH
11286 test -z "$as_dir" && as_dir
=.
11287 for ac_exec_ext
in '' $ac_executable_extensions; do
11288 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
11289 ac_cv_path_PKG_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
11290 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
11296 test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG
="no"
11300 PKG_CONFIG
=$ac_cv_path_PKG_CONFIG
11302 if test -n "$PKG_CONFIG"; then
11303 echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
11304 echo "${ECHO_T}$PKG_CONFIG" >&6
11306 echo "$as_me:$LINENO: result: no" >&5
11307 echo "${ECHO_T}no" >&6
11312 if test "$PKG_CONFIG" = "no" ; then
11313 echo "*** The pkg-config script could not be found. Make sure it is"
11314 echo "*** in your path, or set the PKG_CONFIG environment variable"
11315 echo "*** to the full path to pkg-config."
11316 echo "*** Or see http://www.freedesktop.org/software/pkgconfig to get pkg-config."
11318 PKG_CONFIG_MIN_VERSION
=0.9.0
11319 if $PKG_CONFIG --atleast-pkgconfig-version $PKG_CONFIG_MIN_VERSION; then
11320 echo "$as_me:$LINENO: checking for gtk+-2.0 >= 2.4 gthread-2.0 >= 2.2 gdk-pixbuf-2.0" >&5
11321 echo $ECHO_N "checking for gtk+-2.0 >= 2.4 gthread-2.0 >= 2.2 gdk-pixbuf-2.0... $ECHO_C" >&6
11323 if $PKG_CONFIG --exists "gtk+-2.0 >= 2.4 gthread-2.0 >= 2.2 gdk-pixbuf-2.0" ; then
11324 echo "$as_me:$LINENO: result: yes" >&5
11325 echo "${ECHO_T}yes" >&6
11328 echo "$as_me:$LINENO: checking GTK_CFLAGS" >&5
11329 echo $ECHO_N "checking GTK_CFLAGS... $ECHO_C" >&6
11330 GTK_CFLAGS
=`$PKG_CONFIG --cflags "gtk+-2.0 >= 2.4 gthread-2.0 >= 2.2 gdk-pixbuf-2.0"`
11331 echo "$as_me:$LINENO: result: $GTK_CFLAGS" >&5
11332 echo "${ECHO_T}$GTK_CFLAGS" >&6
11334 echo "$as_me:$LINENO: checking GTK_LIBS" >&5
11335 echo $ECHO_N "checking GTK_LIBS... $ECHO_C" >&6
11336 GTK_LIBS
=`$PKG_CONFIG --libs "gtk+-2.0 >= 2.4 gthread-2.0 >= 2.2 gdk-pixbuf-2.0"`
11337 echo "$as_me:$LINENO: result: $GTK_LIBS" >&5
11338 echo "${ECHO_T}$GTK_LIBS" >&6
11342 ## If we have a custom action on failure, don't print errors, but
11343 ## do set a variable so people can do so.
11344 GTK_PKG_ERRORS
=`$PKG_CONFIG --errors-to-stdout --print-errors "gtk+-2.0 >= 2.4 gthread-2.0 >= 2.2 gdk-pixbuf-2.0"`
11345 echo $GTK_PKG_ERRORS
11351 echo "*** Your version of pkg-config is too old. You need version $PKG_CONFIG_MIN_VERSION or newer."
11352 echo "*** See http://www.freedesktop.org/software/pkgconfig"
11356 if test $succeeded = yes; then
11359 { { 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
11360 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;}
11361 { (exit 1); exit 1; }; }
11365 if test "x${enable_gtk_cairo}" = xyes
; then
11369 if test -z "$PKG_CONFIG"; then
11370 # Extract the first word of "pkg-config", so it can be a program name with args.
11371 set dummy pkg-config
; ac_word
=$2
11372 echo "$as_me:$LINENO: checking for $ac_word" >&5
11373 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
11374 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
11375 echo $ECHO_N "(cached) $ECHO_C" >&6
11377 case $PKG_CONFIG in
11379 ac_cv_path_PKG_CONFIG
="$PKG_CONFIG" # Let the user override the test with a path.
11382 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
11383 for as_dir
in $PATH
11386 test -z "$as_dir" && as_dir
=.
11387 for ac_exec_ext
in '' $ac_executable_extensions; do
11388 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
11389 ac_cv_path_PKG_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
11390 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
11396 test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG
="no"
11400 PKG_CONFIG
=$ac_cv_path_PKG_CONFIG
11402 if test -n "$PKG_CONFIG"; then
11403 echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
11404 echo "${ECHO_T}$PKG_CONFIG" >&6
11406 echo "$as_me:$LINENO: result: no" >&5
11407 echo "${ECHO_T}no" >&6
11412 if test "$PKG_CONFIG" = "no" ; then
11413 echo "*** The pkg-config script could not be found. Make sure it is"
11414 echo "*** in your path, or set the PKG_CONFIG environment variable"
11415 echo "*** to the full path to pkg-config."
11416 echo "*** Or see http://www.freedesktop.org/software/pkgconfig to get pkg-config."
11418 PKG_CONFIG_MIN_VERSION
=0.9.0
11419 if $PKG_CONFIG --atleast-pkgconfig-version $PKG_CONFIG_MIN_VERSION; then
11420 echo "$as_me:$LINENO: checking for cairo >= 0.5.0" >&5
11421 echo $ECHO_N "checking for cairo >= 0.5.0... $ECHO_C" >&6
11423 if $PKG_CONFIG --exists "cairo >= 0.5.0" ; then
11424 echo "$as_me:$LINENO: result: yes" >&5
11425 echo "${ECHO_T}yes" >&6
11428 echo "$as_me:$LINENO: checking CAIRO_CFLAGS" >&5
11429 echo $ECHO_N "checking CAIRO_CFLAGS... $ECHO_C" >&6
11430 CAIRO_CFLAGS
=`$PKG_CONFIG --cflags "cairo >= 0.5.0"`
11431 echo "$as_me:$LINENO: result: $CAIRO_CFLAGS" >&5
11432 echo "${ECHO_T}$CAIRO_CFLAGS" >&6
11434 echo "$as_me:$LINENO: checking CAIRO_LIBS" >&5
11435 echo $ECHO_N "checking CAIRO_LIBS... $ECHO_C" >&6
11436 CAIRO_LIBS
=`$PKG_CONFIG --libs "cairo >= 0.5.0"`
11437 echo "$as_me:$LINENO: result: $CAIRO_LIBS" >&5
11438 echo "${ECHO_T}$CAIRO_LIBS" >&6
11442 ## If we have a custom action on failure, don't print errors, but
11443 ## do set a variable so people can do so.
11444 CAIRO_PKG_ERRORS
=`$PKG_CONFIG --errors-to-stdout --print-errors "cairo >= 0.5.0"`
11445 echo $CAIRO_PKG_ERRORS
11451 echo "*** Your version of pkg-config is too old. You need version $PKG_CONFIG_MIN_VERSION or newer."
11452 echo "*** See http://www.freedesktop.org/software/pkgconfig"
11456 if test $succeeded = yes; then
11459 { { 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
11460 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;}
11461 { (exit 1); exit 1; }; }
11469 if test -z "$PKG_CONFIG"; then
11470 # Extract the first word of "pkg-config", so it can be a program name with args.
11471 set dummy pkg-config
; ac_word
=$2
11472 echo "$as_me:$LINENO: checking for $ac_word" >&5
11473 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
11474 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
11475 echo $ECHO_N "(cached) $ECHO_C" >&6
11477 case $PKG_CONFIG in
11479 ac_cv_path_PKG_CONFIG
="$PKG_CONFIG" # Let the user override the test with a path.
11482 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
11483 for as_dir
in $PATH
11486 test -z "$as_dir" && as_dir
=.
11487 for ac_exec_ext
in '' $ac_executable_extensions; do
11488 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
11489 ac_cv_path_PKG_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
11490 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
11496 test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG
="no"
11500 PKG_CONFIG
=$ac_cv_path_PKG_CONFIG
11502 if test -n "$PKG_CONFIG"; then
11503 echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
11504 echo "${ECHO_T}$PKG_CONFIG" >&6
11506 echo "$as_me:$LINENO: result: no" >&5
11507 echo "${ECHO_T}no" >&6
11512 if test "$PKG_CONFIG" = "no" ; then
11513 echo "*** The pkg-config script could not be found. Make sure it is"
11514 echo "*** in your path, or set the PKG_CONFIG environment variable"
11515 echo "*** to the full path to pkg-config."
11516 echo "*** Or see http://www.freedesktop.org/software/pkgconfig to get pkg-config."
11518 PKG_CONFIG_MIN_VERSION
=0.9.0
11519 if $PKG_CONFIG --atleast-pkgconfig-version $PKG_CONFIG_MIN_VERSION; then
11520 echo "$as_me:$LINENO: checking for freetype2" >&5
11521 echo $ECHO_N "checking for freetype2... $ECHO_C" >&6
11523 if $PKG_CONFIG --exists "freetype2" ; then
11524 echo "$as_me:$LINENO: result: yes" >&5
11525 echo "${ECHO_T}yes" >&6
11528 echo "$as_me:$LINENO: checking FREETYPE2_CFLAGS" >&5
11529 echo $ECHO_N "checking FREETYPE2_CFLAGS... $ECHO_C" >&6
11530 FREETYPE2_CFLAGS
=`$PKG_CONFIG --cflags "freetype2"`
11531 echo "$as_me:$LINENO: result: $FREETYPE2_CFLAGS" >&5
11532 echo "${ECHO_T}$FREETYPE2_CFLAGS" >&6
11534 echo "$as_me:$LINENO: checking FREETYPE2_LIBS" >&5
11535 echo $ECHO_N "checking FREETYPE2_LIBS... $ECHO_C" >&6
11536 FREETYPE2_LIBS
=`$PKG_CONFIG --libs "freetype2"`
11537 echo "$as_me:$LINENO: result: $FREETYPE2_LIBS" >&5
11538 echo "${ECHO_T}$FREETYPE2_LIBS" >&6
11540 FREETYPE2_CFLAGS
=""
11542 ## If we have a custom action on failure, don't print errors, but
11543 ## do set a variable so people can do so.
11544 FREETYPE2_PKG_ERRORS
=`$PKG_CONFIG --errors-to-stdout --print-errors "freetype2"`
11545 echo $FREETYPE2_PKG_ERRORS
11551 echo "*** Your version of pkg-config is too old. You need version $PKG_CONFIG_MIN_VERSION or newer."
11552 echo "*** See http://www.freedesktop.org/software/pkgconfig"
11556 if test $succeeded = yes; then
11559 { { echo "$as_me:$LINENO: error: Library requirements (freetype2) not met; consider adjusting the PKG_CONFIG_PATH environment variable if your libraries are in a nonstandard prefix so pkg-config can find them." >&5
11560 echo "$as_me: error: Library requirements (freetype2) not met; consider adjusting the PKG_CONFIG_PATH environment variable if your libraries are in a nonstandard prefix so pkg-config can find them." >&2;}
11561 { (exit 1); exit 1; }; }
11567 if test -z "$PKG_CONFIG"; then
11568 # Extract the first word of "pkg-config", so it can be a program name with args.
11569 set dummy pkg-config
; ac_word
=$2
11570 echo "$as_me:$LINENO: checking for $ac_word" >&5
11571 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
11572 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
11573 echo $ECHO_N "(cached) $ECHO_C" >&6
11575 case $PKG_CONFIG in
11577 ac_cv_path_PKG_CONFIG
="$PKG_CONFIG" # Let the user override the test with a path.
11580 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
11581 for as_dir
in $PATH
11584 test -z "$as_dir" && as_dir
=.
11585 for ac_exec_ext
in '' $ac_executable_extensions; do
11586 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
11587 ac_cv_path_PKG_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
11588 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
11594 test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG
="no"
11598 PKG_CONFIG
=$ac_cv_path_PKG_CONFIG
11600 if test -n "$PKG_CONFIG"; then
11601 echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
11602 echo "${ECHO_T}$PKG_CONFIG" >&6
11604 echo "$as_me:$LINENO: result: no" >&5
11605 echo "${ECHO_T}no" >&6
11610 if test "$PKG_CONFIG" = "no" ; then
11611 echo "*** The pkg-config script could not be found. Make sure it is"
11612 echo "*** in your path, or set the PKG_CONFIG environment variable"
11613 echo "*** to the full path to pkg-config."
11614 echo "*** Or see http://www.freedesktop.org/software/pkgconfig to get pkg-config."
11616 PKG_CONFIG_MIN_VERSION
=0.9.0
11617 if $PKG_CONFIG --atleast-pkgconfig-version $PKG_CONFIG_MIN_VERSION; then
11618 echo "$as_me:$LINENO: checking for pangoft2" >&5
11619 echo $ECHO_N "checking for pangoft2... $ECHO_C" >&6
11621 if $PKG_CONFIG --exists "pangoft2" ; then
11622 echo "$as_me:$LINENO: result: yes" >&5
11623 echo "${ECHO_T}yes" >&6
11626 echo "$as_me:$LINENO: checking PANGOFT2_CFLAGS" >&5
11627 echo $ECHO_N "checking PANGOFT2_CFLAGS... $ECHO_C" >&6
11628 PANGOFT2_CFLAGS
=`$PKG_CONFIG --cflags "pangoft2"`
11629 echo "$as_me:$LINENO: result: $PANGOFT2_CFLAGS" >&5
11630 echo "${ECHO_T}$PANGOFT2_CFLAGS" >&6
11632 echo "$as_me:$LINENO: checking PANGOFT2_LIBS" >&5
11633 echo $ECHO_N "checking PANGOFT2_LIBS... $ECHO_C" >&6
11634 PANGOFT2_LIBS
=`$PKG_CONFIG --libs "pangoft2"`
11635 echo "$as_me:$LINENO: result: $PANGOFT2_LIBS" >&5
11636 echo "${ECHO_T}$PANGOFT2_LIBS" >&6
11640 ## If we have a custom action on failure, don't print errors, but
11641 ## do set a variable so people can do so.
11642 PANGOFT2_PKG_ERRORS
=`$PKG_CONFIG --errors-to-stdout --print-errors "pangoft2"`
11643 echo $PANGOFT2_PKG_ERRORS
11649 echo "*** Your version of pkg-config is too old. You need version $PKG_CONFIG_MIN_VERSION or newer."
11650 echo "*** See http://www.freedesktop.org/software/pkgconfig"
11654 if test $succeeded = yes; then
11657 { { 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
11658 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;}
11659 { (exit 1); exit 1; }; }
11673 if test "x${COMPILE_QT_PEER}" = xyes
; then
11677 if test -z "$PKG_CONFIG"; then
11678 # Extract the first word of "pkg-config", so it can be a program name with args.
11679 set dummy pkg-config
; ac_word
=$2
11680 echo "$as_me:$LINENO: checking for $ac_word" >&5
11681 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
11682 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
11683 echo $ECHO_N "(cached) $ECHO_C" >&6
11685 case $PKG_CONFIG in
11687 ac_cv_path_PKG_CONFIG
="$PKG_CONFIG" # Let the user override the test with a path.
11690 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
11691 for as_dir
in $PATH
11694 test -z "$as_dir" && as_dir
=.
11695 for ac_exec_ext
in '' $ac_executable_extensions; do
11696 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
11697 ac_cv_path_PKG_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
11698 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
11704 test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG
="no"
11708 PKG_CONFIG
=$ac_cv_path_PKG_CONFIG
11710 if test -n "$PKG_CONFIG"; then
11711 echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
11712 echo "${ECHO_T}$PKG_CONFIG" >&6
11714 echo "$as_me:$LINENO: result: no" >&5
11715 echo "${ECHO_T}no" >&6
11720 if test "$PKG_CONFIG" = "no" ; then
11721 echo "*** The pkg-config script could not be found. Make sure it is"
11722 echo "*** in your path, or set the PKG_CONFIG environment variable"
11723 echo "*** to the full path to pkg-config."
11724 echo "*** Or see http://www.freedesktop.org/software/pkgconfig to get pkg-config."
11726 PKG_CONFIG_MIN_VERSION
=0.9.0
11727 if $PKG_CONFIG --atleast-pkgconfig-version $PKG_CONFIG_MIN_VERSION; then
11728 echo "$as_me:$LINENO: checking for QtCore QtGui >= 4.1.0" >&5
11729 echo $ECHO_N "checking for QtCore QtGui >= 4.1.0... $ECHO_C" >&6
11731 if $PKG_CONFIG --exists "QtCore QtGui >= 4.1.0" ; then
11732 echo "$as_me:$LINENO: result: yes" >&5
11733 echo "${ECHO_T}yes" >&6
11736 echo "$as_me:$LINENO: checking QT_CFLAGS" >&5
11737 echo $ECHO_N "checking QT_CFLAGS... $ECHO_C" >&6
11738 QT_CFLAGS
=`$PKG_CONFIG --cflags "QtCore QtGui >= 4.1.0"`
11739 echo "$as_me:$LINENO: result: $QT_CFLAGS" >&5
11740 echo "${ECHO_T}$QT_CFLAGS" >&6
11742 echo "$as_me:$LINENO: checking QT_LIBS" >&5
11743 echo $ECHO_N "checking QT_LIBS... $ECHO_C" >&6
11744 QT_LIBS
=`$PKG_CONFIG --libs "QtCore QtGui >= 4.1.0"`
11745 echo "$as_me:$LINENO: result: $QT_LIBS" >&5
11746 echo "${ECHO_T}$QT_LIBS" >&6
11750 ## If we have a custom action on failure, don't print errors, but
11751 ## do set a variable so people can do so.
11752 QT_PKG_ERRORS
=`$PKG_CONFIG --errors-to-stdout --print-errors "QtCore QtGui >= 4.1.0"`
11759 echo "*** Your version of pkg-config is too old. You need version $PKG_CONFIG_MIN_VERSION or newer."
11760 echo "*** See http://www.freedesktop.org/software/pkgconfig"
11764 if test $succeeded = yes; then
11770 if test "x$HAVE_QT4" = "xyes"; then
11771 QT_INCLUDE_DIR
=$
($PKG_CONFIG --variable=includedir QtGui
)
11772 EXTRA_QT_INCLUDE_DIR
="$QT_INCLUDE_DIR/Qt"
11773 as_ac_File
=`echo "ac_cv_file_$QT_INCLUDE_DIR/QWidget" | $as_tr_sh`
11774 echo "$as_me:$LINENO: checking for $QT_INCLUDE_DIR/QWidget" >&5
11775 echo $ECHO_N "checking for $QT_INCLUDE_DIR/QWidget... $ECHO_C" >&6
11776 if eval "test \"\${$as_ac_File+set}\" = set"; then
11777 echo $ECHO_N "(cached) $ECHO_C" >&6
11779 test "$cross_compiling" = yes &&
11780 { { echo "$as_me:$LINENO: error: cannot check for file existence when cross compiling" >&5
11781 echo "$as_me: error: cannot check for file existence when cross compiling" >&2;}
11782 { (exit 1); exit 1; }; }
11783 if test -r "$QT_INCLUDE_DIR/QWidget"; then
11784 eval "$as_ac_File=yes"
11786 eval "$as_ac_File=no"
11789 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_File'}'`" >&5
11790 echo "${ECHO_T}`eval echo '${'$as_ac_File'}'`" >&6
11791 if test `eval echo '${'$as_ac_File'}'` = yes; then
11792 { echo "$as_me:$LINENO: No extra QT_INCLUDE_DIR needed" >&5
11793 echo "$as_me: No extra QT_INCLUDE_DIR needed" >&6;}
11795 as_ac_File
=`echo "ac_cv_file_$EXTRA_QT_INCLUDE_DIR/QWidget" | $as_tr_sh`
11796 echo "$as_me:$LINENO: checking for $EXTRA_QT_INCLUDE_DIR/QWidget" >&5
11797 echo $ECHO_N "checking for $EXTRA_QT_INCLUDE_DIR/QWidget... $ECHO_C" >&6
11798 if eval "test \"\${$as_ac_File+set}\" = set"; then
11799 echo $ECHO_N "(cached) $ECHO_C" >&6
11801 test "$cross_compiling" = yes &&
11802 { { echo "$as_me:$LINENO: error: cannot check for file existence when cross compiling" >&5
11803 echo "$as_me: error: cannot check for file existence when cross compiling" >&2;}
11804 { (exit 1); exit 1; }; }
11805 if test -r "$EXTRA_QT_INCLUDE_DIR/QWidget"; then
11806 eval "$as_ac_File=yes"
11808 eval "$as_ac_File=no"
11811 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_File'}'`" >&5
11812 echo "${ECHO_T}`eval echo '${'$as_ac_File'}'`" >&6
11813 if test `eval echo '${'$as_ac_File'}'` = yes; then
11814 QT_CFLAGS
="$QT_CFLAGS -I$EXTRA_QT_INCLUDE_DIR"
11816 { echo "$as_me:$LINENO: WARNING: QWidget not found" >&5
11817 echo "$as_me: WARNING: QWidget not found" >&2;}
11822 # Extract the first word of "moc", so it can be a program name with args.
11823 set dummy moc
; ac_word
=$2
11824 echo "$as_me:$LINENO: checking for $ac_word" >&5
11825 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
11826 if test "${ac_cv_prog_MOC+set}" = set; then
11827 echo $ECHO_N "(cached) $ECHO_C" >&6
11829 if test -n "$MOC"; then
11830 ac_cv_prog_MOC
="$MOC" # Let the user override the test.
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_prog_MOC
="moc"
11840 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
11848 MOC
=$ac_cv_prog_MOC
11849 if test -n "$MOC"; then
11850 echo "$as_me:$LINENO: result: $MOC" >&5
11851 echo "${ECHO_T}$MOC" >&6
11853 echo "$as_me:$LINENO: result: no" >&5
11854 echo "${ECHO_T}no" >&6
11858 if test "x$HAVE_QT4" = "xno"; then
11859 { echo "$as_me:$LINENO: Looking for QT_CFLAGS and QT_LIBS without pkg-config" >&5
11860 echo "$as_me: Looking for QT_CFLAGS and QT_LIBS without pkg-config" >&6;}
11864 # Check whether --with-qt4dir or --without-qt4dir was given.
11865 if test "${with_qt4dir+set}" = set; then
11866 withval
="$with_qt4dir"
11870 if test x
"$QT4DIR" = x
; then
11871 { { echo "$as_me:$LINENO: error: *** No path for Qt4 --with-qt4dir option given" >&5
11872 echo "$as_me: error: *** No path for Qt4 --with-qt4dir option given" >&2;}
11873 { (exit 1); exit 1; }; }
11875 echo "$as_me:$LINENO: result: QT4DIR... $QT4DIR" >&5
11876 echo "${ECHO_T}QT4DIR... $QT4DIR" >&6
11877 # Extract the first word of "moc", so it can be a program name with args.
11878 set dummy moc
; ac_word
=$2
11879 echo "$as_me:$LINENO: checking for $ac_word" >&5
11880 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
11881 if test "${ac_cv_prog_MOC+set}" = set; then
11882 echo $ECHO_N "(cached) $ECHO_C" >&6
11884 if test -n "$MOC"; then
11885 ac_cv_prog_MOC
="$MOC" # Let the user override the test.
11887 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
11888 for as_dir
in $QT4DIR/bin
11891 test -z "$as_dir" && as_dir
=.
11892 for ac_exec_ext
in '' $ac_executable_extensions; do
11893 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
11894 ac_cv_prog_MOC
="$QT4DIR/bin/moc"
11895 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
11903 MOC
=$ac_cv_prog_MOC
11904 if test -n "$MOC"; then
11905 echo "$as_me:$LINENO: result: $MOC" >&5
11906 echo "${ECHO_T}$MOC" >&6
11908 echo "$as_me:$LINENO: result: no" >&5
11909 echo "${ECHO_T}no" >&6
11912 if test x
"$MOC" = x
; then
11913 { { echo "$as_me:$LINENO: error: *** This is not the right Qt installation" >&5
11914 echo "$as_me: error: *** This is not the right Qt installation" >&2;}
11915 { (exit 1); exit 1; }; }
11917 QT_CFLAGS
="-F$QT4DIR/lib -I$QT4DIR/lib/QtCore.framework/Headers"
11918 QT_CFLAGS
="$QT_CFLAGS -I$QT4DIR/lib/QtGui.framework/Headers"
11919 QT_LIBS
="-Xlinker -F$QT4DIR/lib -Xlinker -framework -Xlinker QtCore"
11920 QT_LIBS
="$QT_LIBS -Xlinker -framework -Xlinker QtGui"
11923 { { echo "$as_me:$LINENO: error: *** Please check PKG_CONFIG_PATH or the version
11924 of your installed Qt4 installation." >&5
11925 echo "$as_me: error: *** Please check PKG_CONFIG_PATH or the version
11926 of your installed Qt4 installation." >&2;}
11927 { (exit 1); exit 1; }; }
11931 { echo "$as_me:$LINENO: Set QT_CFLAGS... $QT_CFLAGS" >&5
11932 echo "$as_me: Set QT_CFLAGS... $QT_CFLAGS" >&6;}
11940 # Check whether --with-javah or --without-javah was given.
11941 if test "${with_javah+set}" = set; then
11942 withval
="$with_javah"
11944 if test "x${withval}" != x && test "x${withval}" != xyes && test "x${withval}" != xno
; then
11946 if test "x${withval}" != x
; then
11947 if test -f "${withval}"; then
11948 USER_JAVAH
="${withval}"
11950 # Extract the first word of ""${withval}"", so it can be a program name with args.
11951 set dummy
"${withval}"; ac_word
=$2
11952 echo "$as_me:$LINENO: checking for $ac_word" >&5
11953 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
11954 if test "${ac_cv_path_USER_JAVAH+set}" = set; then
11955 echo $ECHO_N "(cached) $ECHO_C" >&6
11957 case $USER_JAVAH in
11959 ac_cv_path_USER_JAVAH
="$USER_JAVAH" # Let the user override the test with a path.
11962 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
11963 for as_dir
in $PATH
11966 test -z "$as_dir" && as_dir
=.
11967 for ac_exec_ext
in '' $ac_executable_extensions; do
11968 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
11969 ac_cv_path_USER_JAVAH
="$as_dir/$ac_word$ac_exec_ext"
11970 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
11979 USER_JAVAH
=$ac_cv_path_USER_JAVAH
11981 if test -n "$USER_JAVAH"; then
11982 echo "$as_me:$LINENO: result: $USER_JAVAH" >&5
11983 echo "${ECHO_T}$USER_JAVAH" >&6
11985 echo "$as_me:$LINENO: result: no" >&5
11986 echo "${ECHO_T}no" >&6
11991 for javah_name
in gcjh javah
; do
11992 # Extract the first word of ""$javah_name"", so it can be a program name with args.
11993 set dummy
"$javah_name"; ac_word
=$2
11994 echo "$as_me:$LINENO: checking for $ac_word" >&5
11995 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
11996 if test "${ac_cv_path_USER_JAVAH+set}" = set; then
11997 echo $ECHO_N "(cached) $ECHO_C" >&6
11999 case $USER_JAVAH in
12001 ac_cv_path_USER_JAVAH
="$USER_JAVAH" # Let the user override the test with a path.
12004 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
12005 for as_dir
in $PATH
12008 test -z "$as_dir" && as_dir
=.
12009 for ac_exec_ext
in '' $ac_executable_extensions; do
12010 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
12011 ac_cv_path_USER_JAVAH
="$as_dir/$ac_word$ac_exec_ext"
12012 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
12021 USER_JAVAH
=$ac_cv_path_USER_JAVAH
12023 if test -n "$USER_JAVAH"; then
12024 echo "$as_me:$LINENO: result: $USER_JAVAH" >&5
12025 echo "${ECHO_T}$USER_JAVAH" >&6
12027 echo "$as_me:$LINENO: result: no" >&5
12028 echo "${ECHO_T}no" >&6
12031 if test "x${USER_JAVAH}" != x
; then
12037 # if test "x${USER_JAVAH}" = x; then
12038 # echo "configure: cannot find javah" 1>&2
12044 if test "x" != x
; then
12045 if test -f ""; then
12048 # Extract the first word of """", so it can be a program name with args.
12049 set dummy
""; ac_word
=$2
12050 echo "$as_me:$LINENO: checking for $ac_word" >&5
12051 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
12052 if test "${ac_cv_path_USER_JAVAH+set}" = set; then
12053 echo $ECHO_N "(cached) $ECHO_C" >&6
12055 case $USER_JAVAH in
12057 ac_cv_path_USER_JAVAH
="$USER_JAVAH" # Let the user override the test with a path.
12060 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
12061 for as_dir
in $PATH
12064 test -z "$as_dir" && as_dir
=.
12065 for ac_exec_ext
in '' $ac_executable_extensions; do
12066 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
12067 ac_cv_path_USER_JAVAH
="$as_dir/$ac_word$ac_exec_ext"
12068 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
12077 USER_JAVAH
=$ac_cv_path_USER_JAVAH
12079 if test -n "$USER_JAVAH"; then
12080 echo "$as_me:$LINENO: result: $USER_JAVAH" >&5
12081 echo "${ECHO_T}$USER_JAVAH" >&6
12083 echo "$as_me:$LINENO: result: no" >&5
12084 echo "${ECHO_T}no" >&6
12089 for javah_name
in gcjh javah
; do
12090 # Extract the first word of ""$javah_name"", so it can be a program name with args.
12091 set dummy
"$javah_name"; ac_word
=$2
12092 echo "$as_me:$LINENO: checking for $ac_word" >&5
12093 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
12094 if test "${ac_cv_path_USER_JAVAH+set}" = set; then
12095 echo $ECHO_N "(cached) $ECHO_C" >&6
12097 case $USER_JAVAH in
12099 ac_cv_path_USER_JAVAH
="$USER_JAVAH" # Let the user override the test with a path.
12102 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
12103 for as_dir
in $PATH
12106 test -z "$as_dir" && as_dir
=.
12107 for ac_exec_ext
in '' $ac_executable_extensions; do
12108 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
12109 ac_cv_path_USER_JAVAH
="$as_dir/$ac_word$ac_exec_ext"
12110 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
12119 USER_JAVAH
=$ac_cv_path_USER_JAVAH
12121 if test -n "$USER_JAVAH"; then
12122 echo "$as_me:$LINENO: result: $USER_JAVAH" >&5
12123 echo "${ECHO_T}$USER_JAVAH" >&6
12125 echo "$as_me:$LINENO: result: no" >&5
12126 echo "${ECHO_T}no" >&6
12129 if test "x${USER_JAVAH}" != x
; then
12135 # if test "x${USER_JAVAH}" = x; then
12136 # echo "configure: cannot find javah" 1>&2
12145 if test "x" != x
; then
12146 if test -f ""; then
12149 # Extract the first word of """", so it can be a program name with args.
12150 set dummy
""; ac_word
=$2
12151 echo "$as_me:$LINENO: checking for $ac_word" >&5
12152 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
12153 if test "${ac_cv_path_USER_JAVAH+set}" = set; then
12154 echo $ECHO_N "(cached) $ECHO_C" >&6
12156 case $USER_JAVAH in
12158 ac_cv_path_USER_JAVAH
="$USER_JAVAH" # Let the user override the test with a path.
12161 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
12162 for as_dir
in $PATH
12165 test -z "$as_dir" && as_dir
=.
12166 for ac_exec_ext
in '' $ac_executable_extensions; do
12167 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
12168 ac_cv_path_USER_JAVAH
="$as_dir/$ac_word$ac_exec_ext"
12169 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
12178 USER_JAVAH
=$ac_cv_path_USER_JAVAH
12180 if test -n "$USER_JAVAH"; then
12181 echo "$as_me:$LINENO: result: $USER_JAVAH" >&5
12182 echo "${ECHO_T}$USER_JAVAH" >&6
12184 echo "$as_me:$LINENO: result: no" >&5
12185 echo "${ECHO_T}no" >&6
12190 for javah_name
in gcjh javah
; do
12191 # Extract the first word of ""$javah_name"", so it can be a program name with args.
12192 set dummy
"$javah_name"; ac_word
=$2
12193 echo "$as_me:$LINENO: checking for $ac_word" >&5
12194 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
12195 if test "${ac_cv_path_USER_JAVAH+set}" = set; then
12196 echo $ECHO_N "(cached) $ECHO_C" >&6
12198 case $USER_JAVAH in
12200 ac_cv_path_USER_JAVAH
="$USER_JAVAH" # Let the user override the test with a path.
12203 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
12204 for as_dir
in $PATH
12207 test -z "$as_dir" && as_dir
=.
12208 for ac_exec_ext
in '' $ac_executable_extensions; do
12209 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
12210 ac_cv_path_USER_JAVAH
="$as_dir/$ac_word$ac_exec_ext"
12211 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
12220 USER_JAVAH
=$ac_cv_path_USER_JAVAH
12222 if test -n "$USER_JAVAH"; then
12223 echo "$as_me:$LINENO: result: $USER_JAVAH" >&5
12224 echo "${ECHO_T}$USER_JAVAH" >&6
12226 echo "$as_me:$LINENO: result: no" >&5
12227 echo "${ECHO_T}no" >&6
12230 if test "x${USER_JAVAH}" != x
; then
12236 # if test "x${USER_JAVAH}" = x; then
12237 # echo "configure: cannot find javah" 1>&2
12245 if test "x${USER_JAVAH}" != x
; then
12246 USER_SPECIFIED_JAVAH_TRUE
=
12247 USER_SPECIFIED_JAVAH_FALSE
='#'
12249 USER_SPECIFIED_JAVAH_TRUE
='#'
12250 USER_SPECIFIED_JAVAH_FALSE
=
12256 CLASSPATH_INCLUDES
="-I\$(top_srcdir)/include -I\$(top_srcdir)/native/jni/classpath -I\$(top_srcdir)/native/target/Linux -I\$(top_srcdir)/native/target/generic"
12259 if test "x${COMPILE_JNI}" = xyes
; then
12260 echo "$as_me:$LINENO: checking jni_md.h support" >&5
12261 echo $ECHO_N "checking jni_md.h support... $ECHO_C" >&6
12262 if test -f ${srcdir}/include/jni_md-${target_cpu}-${target_os}.h
; then
12263 echo "$as_me:$LINENO: result: yes" >&5
12264 echo "${ECHO_T}yes" >&6
12267 target_os
=linux-gnu
12268 { echo "$as_me:$LINENO: WARNING: no" >&5
12269 echo "$as_me: WARNING: no" >&2;}
12271 ac_sources
="include/jni_md-${target_cpu}-${target_os}.h"
12272 ac_dests
="include/jni_md.h"
12273 while test -n "$ac_sources"; do
12274 set $ac_dests; ac_dest
=$1; shift; ac_dests
=$
*
12275 set $ac_sources; ac_source
=$1; shift; ac_sources
=$
*
12276 ac_config_links_1
="$ac_config_links_1 $ac_dest:$ac_source"
12278 ac_config_links
="$ac_config_links $ac_config_links_1"
12283 user_specified_javac
=
12287 # Check whether --with-gcj or --without-gcj was given.
12288 if test "${with_gcj+set}" = set; then
12289 withval
="$with_gcj"
12291 if test "x${withval}" != x && test "x${withval}" != xyes && test "x${withval}" != xno
; then
12293 if test "x${withval}" != x
; then
12294 if test -f "${withval}"; then
12297 # Extract the first word of ""${withval}"", so it can be a program name with args.
12298 set dummy
"${withval}"; ac_word
=$2
12299 echo "$as_me:$LINENO: checking for $ac_word" >&5
12300 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
12301 if test "${ac_cv_path_GCJ+set}" = set; then
12302 echo $ECHO_N "(cached) $ECHO_C" >&6
12306 ac_cv_path_GCJ
="$GCJ" # Let the user override the test with a path.
12309 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
12310 for as_dir
in $PATH
12313 test -z "$as_dir" && as_dir
=.
12314 for ac_exec_ext
in '' $ac_executable_extensions; do
12315 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
12316 ac_cv_path_GCJ
="$as_dir/$ac_word$ac_exec_ext"
12317 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
12326 GCJ
=$ac_cv_path_GCJ
12328 if test -n "$GCJ"; then
12329 echo "$as_me:$LINENO: result: $GCJ" >&5
12330 echo "${ECHO_T}$GCJ" >&6
12332 echo "$as_me:$LINENO: result: no" >&5
12333 echo "${ECHO_T}no" >&6
12338 # Extract the first word of ""gcj"", so it can be a program name with args.
12339 set dummy
"gcj"; ac_word
=$2
12340 echo "$as_me:$LINENO: checking for $ac_word" >&5
12341 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
12342 if test "${ac_cv_path_GCJ+set}" = set; then
12343 echo $ECHO_N "(cached) $ECHO_C" >&6
12347 ac_cv_path_GCJ
="$GCJ" # Let the user override the test with a path.
12350 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
12351 for as_dir
in $PATH
12354 test -z "$as_dir" && as_dir
=.
12355 for ac_exec_ext
in '' $ac_executable_extensions; do
12356 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
12357 ac_cv_path_GCJ
="$as_dir/$ac_word$ac_exec_ext"
12358 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
12367 GCJ
=$ac_cv_path_GCJ
12369 if test -n "$GCJ"; then
12370 echo "$as_me:$LINENO: result: $GCJ" >&5
12371 echo "${ECHO_T}$GCJ" >&6
12373 echo "$as_me:$LINENO: result: no" >&5
12374 echo "${ECHO_T}no" >&6
12378 if test "x$GCJ" != x
; then
12379 echo "$as_me:$LINENO: checking gcj version 4.0" >&5
12380 echo $ECHO_N "checking gcj version 4.0... $ECHO_C" >&6
12382 ac_cpp
='$CPP $CPPFLAGS'
12383 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12384 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12385 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
12387 cat >conftest.
$ac_ext <<_ACEOF
12389 #error GCJ 4.0.0 or higher is required
12393 $GCJ -E conftest.c
> /dev
/null
12395 if test "x$gcj_4_result" = "x0"; then
12396 echo "$as_me:$LINENO: result: 4.0 or higher found" >&5
12397 echo "${ECHO_T}4.0 or higher found" >&6
12399 { echo "$as_me:$LINENO: WARNING: 4.0 or higher required" >&5
12400 echo "$as_me: WARNING: 4.0 or higher required" >&2;}
12403 ac_cpp
='$CPP $CPPFLAGS'
12404 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12405 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12406 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
12411 if test "x${withval}" != xno
; then
12413 if test "x" != x
; then
12414 if test -f ""; then
12417 # Extract the first word of """", so it can be a program name with args.
12418 set dummy
""; ac_word
=$2
12419 echo "$as_me:$LINENO: checking for $ac_word" >&5
12420 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
12421 if test "${ac_cv_path_GCJ+set}" = set; then
12422 echo $ECHO_N "(cached) $ECHO_C" >&6
12426 ac_cv_path_GCJ
="$GCJ" # Let the user override the test with a path.
12429 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
12430 for as_dir
in $PATH
12433 test -z "$as_dir" && as_dir
=.
12434 for ac_exec_ext
in '' $ac_executable_extensions; do
12435 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
12436 ac_cv_path_GCJ
="$as_dir/$ac_word$ac_exec_ext"
12437 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
12446 GCJ
=$ac_cv_path_GCJ
12448 if test -n "$GCJ"; then
12449 echo "$as_me:$LINENO: result: $GCJ" >&5
12450 echo "${ECHO_T}$GCJ" >&6
12452 echo "$as_me:$LINENO: result: no" >&5
12453 echo "${ECHO_T}no" >&6
12458 # Extract the first word of ""gcj"", so it can be a program name with args.
12459 set dummy
"gcj"; ac_word
=$2
12460 echo "$as_me:$LINENO: checking for $ac_word" >&5
12461 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
12462 if test "${ac_cv_path_GCJ+set}" = set; then
12463 echo $ECHO_N "(cached) $ECHO_C" >&6
12467 ac_cv_path_GCJ
="$GCJ" # Let the user override the test with a path.
12470 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
12471 for as_dir
in $PATH
12474 test -z "$as_dir" && as_dir
=.
12475 for ac_exec_ext
in '' $ac_executable_extensions; do
12476 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
12477 ac_cv_path_GCJ
="$as_dir/$ac_word$ac_exec_ext"
12478 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
12487 GCJ
=$ac_cv_path_GCJ
12489 if test -n "$GCJ"; then
12490 echo "$as_me:$LINENO: result: $GCJ" >&5
12491 echo "${ECHO_T}$GCJ" >&6
12493 echo "$as_me:$LINENO: result: no" >&5
12494 echo "${ECHO_T}no" >&6
12498 if test "x$GCJ" != x
; then
12499 echo "$as_me:$LINENO: checking gcj version 4.0" >&5
12500 echo $ECHO_N "checking gcj version 4.0... $ECHO_C" >&6
12502 ac_cpp
='$CPP $CPPFLAGS'
12503 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12504 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12505 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
12507 cat >conftest.
$ac_ext <<_ACEOF
12509 #error GCJ 4.0.0 or higher is required
12513 $GCJ -E conftest.c
> /dev
/null
12515 if test "x$gcj_4_result" = "x0"; then
12516 echo "$as_me:$LINENO: result: 4.0 or higher found" >&5
12517 echo "${ECHO_T}4.0 or higher found" >&6
12519 { echo "$as_me:$LINENO: WARNING: 4.0 or higher required" >&5
12520 echo "$as_me: WARNING: 4.0 or higher required" >&2;}
12523 ac_cpp
='$CPP $CPPFLAGS'
12524 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12525 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12526 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
12532 user_specified_javac
=gcj
12537 if test "x" != x
; then
12538 if test -f ""; then
12541 # Extract the first word of """", so it can be a program name with args.
12542 set dummy
""; ac_word
=$2
12543 echo "$as_me:$LINENO: checking for $ac_word" >&5
12544 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
12545 if test "${ac_cv_path_GCJ+set}" = set; then
12546 echo $ECHO_N "(cached) $ECHO_C" >&6
12550 ac_cv_path_GCJ
="$GCJ" # Let the user override the test with a path.
12553 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
12554 for as_dir
in $PATH
12557 test -z "$as_dir" && as_dir
=.
12558 for ac_exec_ext
in '' $ac_executable_extensions; do
12559 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
12560 ac_cv_path_GCJ
="$as_dir/$ac_word$ac_exec_ext"
12561 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
12570 GCJ
=$ac_cv_path_GCJ
12572 if test -n "$GCJ"; then
12573 echo "$as_me:$LINENO: result: $GCJ" >&5
12574 echo "${ECHO_T}$GCJ" >&6
12576 echo "$as_me:$LINENO: result: no" >&5
12577 echo "${ECHO_T}no" >&6
12582 # Extract the first word of ""gcj"", so it can be a program name with args.
12583 set dummy
"gcj"; ac_word
=$2
12584 echo "$as_me:$LINENO: checking for $ac_word" >&5
12585 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
12586 if test "${ac_cv_path_GCJ+set}" = set; then
12587 echo $ECHO_N "(cached) $ECHO_C" >&6
12591 ac_cv_path_GCJ
="$GCJ" # Let the user override the test with a path.
12594 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
12595 for as_dir
in $PATH
12598 test -z "$as_dir" && as_dir
=.
12599 for ac_exec_ext
in '' $ac_executable_extensions; do
12600 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
12601 ac_cv_path_GCJ
="$as_dir/$ac_word$ac_exec_ext"
12602 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
12611 GCJ
=$ac_cv_path_GCJ
12613 if test -n "$GCJ"; then
12614 echo "$as_me:$LINENO: result: $GCJ" >&5
12615 echo "${ECHO_T}$GCJ" >&6
12617 echo "$as_me:$LINENO: result: no" >&5
12618 echo "${ECHO_T}no" >&6
12622 if test "x$GCJ" != x
; then
12623 echo "$as_me:$LINENO: checking gcj version 4.0" >&5
12624 echo $ECHO_N "checking gcj version 4.0... $ECHO_C" >&6
12626 ac_cpp
='$CPP $CPPFLAGS'
12627 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12628 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12629 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
12631 cat >conftest.
$ac_ext <<_ACEOF
12633 #error GCJ 4.0.0 or higher is required
12637 $GCJ -E conftest.c
> /dev
/null
12639 if test "x$gcj_4_result" = "x0"; then
12640 echo "$as_me:$LINENO: result: 4.0 or higher found" >&5
12641 echo "${ECHO_T}4.0 or higher found" >&6
12643 { echo "$as_me:$LINENO: WARNING: 4.0 or higher required" >&5
12644 echo "$as_me: WARNING: 4.0 or higher required" >&2;}
12647 ac_cpp
='$CPP $CPPFLAGS'
12648 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12649 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12650 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
12660 # Check whether --with-jikes or --without-jikes was given.
12661 if test "${with_jikes+set}" = set; then
12662 withval
="$with_jikes"
12664 if test "x${withval}" != x && test "x${withval}" != xyes && test "x${withval}" != xno
; then
12666 if test "x${withval}" != x
; then
12667 if test -f "${withval}"; then
12670 # Extract the first word of ""${withval}"", so it can be a program name with args.
12671 set dummy
"${withval}"; ac_word
=$2
12672 echo "$as_me:$LINENO: checking for $ac_word" >&5
12673 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
12674 if test "${ac_cv_path_JIKES+set}" = set; then
12675 echo $ECHO_N "(cached) $ECHO_C" >&6
12679 ac_cv_path_JIKES
="$JIKES" # Let the user override the test with a path.
12682 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
12683 for as_dir
in $PATH
12686 test -z "$as_dir" && as_dir
=.
12687 for ac_exec_ext
in '' $ac_executable_extensions; do
12688 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
12689 ac_cv_path_JIKES
="$as_dir/$ac_word$ac_exec_ext"
12690 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
12699 JIKES
=$ac_cv_path_JIKES
12701 if test -n "$JIKES"; then
12702 echo "$as_me:$LINENO: result: $JIKES" >&5
12703 echo "${ECHO_T}$JIKES" >&6
12705 echo "$as_me:$LINENO: result: no" >&5
12706 echo "${ECHO_T}no" >&6
12711 # Extract the first word of ""jikes"", so it can be a program name with args.
12712 set dummy
"jikes"; ac_word
=$2
12713 echo "$as_me:$LINENO: checking for $ac_word" >&5
12714 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
12715 if test "${ac_cv_path_JIKES+set}" = set; then
12716 echo $ECHO_N "(cached) $ECHO_C" >&6
12720 ac_cv_path_JIKES
="$JIKES" # Let the user override the test with a path.
12723 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
12724 for as_dir
in $PATH
12727 test -z "$as_dir" && as_dir
=.
12728 for ac_exec_ext
in '' $ac_executable_extensions; do
12729 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
12730 ac_cv_path_JIKES
="$as_dir/$ac_word$ac_exec_ext"
12731 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
12740 JIKES
=$ac_cv_path_JIKES
12742 if test -n "$JIKES"; then
12743 echo "$as_me:$LINENO: result: $JIKES" >&5
12744 echo "${ECHO_T}$JIKES" >&6
12746 echo "$as_me:$LINENO: result: no" >&5
12747 echo "${ECHO_T}no" >&6
12751 if test "x$JIKES" != "x"; then
12752 echo "$as_me:$LINENO: checking jikes version" >&5
12753 echo $ECHO_N "checking jikes version... $ECHO_C" >&6
12754 JIKES_VERSION
=`$JIKES --version | awk '/^Jikes Compiler/' | cut -d ' ' -f 5`
12755 JIKES_VERSION_MAJOR
=`echo "$JIKES_VERSION" | cut -d '.' -f 1`
12756 JIKES_VERSION_MINOR
=`echo "$JIKES_VERSION" | cut -d '.' -f 2`
12757 if expr "$JIKES_VERSION_MAJOR" = 1 > /dev
/null
; then
12758 if expr "$JIKES_VERSION_MINOR" \
< 19 > /dev
/null
; then
12762 if test "x$JIKES" != "x"; then
12763 echo "$as_me:$LINENO: result: $JIKES_VERSION" >&5
12764 echo "${ECHO_T}$JIKES_VERSION" >&6
12766 { echo "$as_me:$LINENO: WARNING: $JIKES_VERSION: jikes 1.19 or higher required" >&5
12767 echo "$as_me: WARNING: $JIKES_VERSION: jikes 1.19 or higher required" >&2;}
12771 if test -n "`$JIKES --help 2>&1 | grep encoding`"; then
12772 JIKESENCODING
='-encoding UTF-8'
12776 JIKESWARNINGS
="+Pno-switchcheck"
12777 if test "x$JIKES_VERSION_MAJOR" = x
"1" ; then
12778 if ! test "x$JIKES_VERSION_MINOR" = x
"19"; then
12779 JIKESWARNINGS
="$JIKESWARNINGS +Pno-shadow"
12787 if test "x${withval}" != xno
; then
12789 if test "x" != x
; then
12790 if test -f ""; then
12793 # Extract the first word of """", so it can be a program name with args.
12794 set dummy
""; ac_word
=$2
12795 echo "$as_me:$LINENO: checking for $ac_word" >&5
12796 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
12797 if test "${ac_cv_path_JIKES+set}" = set; then
12798 echo $ECHO_N "(cached) $ECHO_C" >&6
12802 ac_cv_path_JIKES
="$JIKES" # Let the user override the test with a path.
12805 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
12806 for as_dir
in $PATH
12809 test -z "$as_dir" && as_dir
=.
12810 for ac_exec_ext
in '' $ac_executable_extensions; do
12811 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
12812 ac_cv_path_JIKES
="$as_dir/$ac_word$ac_exec_ext"
12813 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
12822 JIKES
=$ac_cv_path_JIKES
12824 if test -n "$JIKES"; then
12825 echo "$as_me:$LINENO: result: $JIKES" >&5
12826 echo "${ECHO_T}$JIKES" >&6
12828 echo "$as_me:$LINENO: result: no" >&5
12829 echo "${ECHO_T}no" >&6
12834 # Extract the first word of ""jikes"", so it can be a program name with args.
12835 set dummy
"jikes"; ac_word
=$2
12836 echo "$as_me:$LINENO: checking for $ac_word" >&5
12837 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
12838 if test "${ac_cv_path_JIKES+set}" = set; then
12839 echo $ECHO_N "(cached) $ECHO_C" >&6
12843 ac_cv_path_JIKES
="$JIKES" # Let the user override the test with a path.
12846 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
12847 for as_dir
in $PATH
12850 test -z "$as_dir" && as_dir
=.
12851 for ac_exec_ext
in '' $ac_executable_extensions; do
12852 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
12853 ac_cv_path_JIKES
="$as_dir/$ac_word$ac_exec_ext"
12854 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
12863 JIKES
=$ac_cv_path_JIKES
12865 if test -n "$JIKES"; then
12866 echo "$as_me:$LINENO: result: $JIKES" >&5
12867 echo "${ECHO_T}$JIKES" >&6
12869 echo "$as_me:$LINENO: result: no" >&5
12870 echo "${ECHO_T}no" >&6
12874 if test "x$JIKES" != "x"; then
12875 echo "$as_me:$LINENO: checking jikes version" >&5
12876 echo $ECHO_N "checking jikes version... $ECHO_C" >&6
12877 JIKES_VERSION
=`$JIKES --version | awk '/^Jikes Compiler/' | cut -d ' ' -f 5`
12878 JIKES_VERSION_MAJOR
=`echo "$JIKES_VERSION" | cut -d '.' -f 1`
12879 JIKES_VERSION_MINOR
=`echo "$JIKES_VERSION" | cut -d '.' -f 2`
12880 if expr "$JIKES_VERSION_MAJOR" = 1 > /dev
/null
; then
12881 if expr "$JIKES_VERSION_MINOR" \
< 19 > /dev
/null
; then
12885 if test "x$JIKES" != "x"; then
12886 echo "$as_me:$LINENO: result: $JIKES_VERSION" >&5
12887 echo "${ECHO_T}$JIKES_VERSION" >&6
12889 { echo "$as_me:$LINENO: WARNING: $JIKES_VERSION: jikes 1.19 or higher required" >&5
12890 echo "$as_me: WARNING: $JIKES_VERSION: jikes 1.19 or higher required" >&2;}
12894 if test -n "`$JIKES --help 2>&1 | grep encoding`"; then
12895 JIKESENCODING
='-encoding UTF-8'
12899 JIKESWARNINGS
="+Pno-switchcheck"
12900 if test "x$JIKES_VERSION_MAJOR" = x
"1" ; then
12901 if ! test "x$JIKES_VERSION_MINOR" = x
"19"; then
12902 JIKESWARNINGS
="$JIKESWARNINGS +Pno-shadow"
12911 user_specified_javac
=jikes
12916 if test "x" != x
; then
12917 if test -f ""; then
12920 # Extract the first word of """", so it can be a program name with args.
12921 set dummy
""; ac_word
=$2
12922 echo "$as_me:$LINENO: checking for $ac_word" >&5
12923 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
12924 if test "${ac_cv_path_JIKES+set}" = set; then
12925 echo $ECHO_N "(cached) $ECHO_C" >&6
12929 ac_cv_path_JIKES
="$JIKES" # Let the user override the test with a path.
12932 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
12933 for as_dir
in $PATH
12936 test -z "$as_dir" && as_dir
=.
12937 for ac_exec_ext
in '' $ac_executable_extensions; do
12938 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
12939 ac_cv_path_JIKES
="$as_dir/$ac_word$ac_exec_ext"
12940 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
12949 JIKES
=$ac_cv_path_JIKES
12951 if test -n "$JIKES"; then
12952 echo "$as_me:$LINENO: result: $JIKES" >&5
12953 echo "${ECHO_T}$JIKES" >&6
12955 echo "$as_me:$LINENO: result: no" >&5
12956 echo "${ECHO_T}no" >&6
12961 # Extract the first word of ""jikes"", so it can be a program name with args.
12962 set dummy
"jikes"; ac_word
=$2
12963 echo "$as_me:$LINENO: checking for $ac_word" >&5
12964 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
12965 if test "${ac_cv_path_JIKES+set}" = set; then
12966 echo $ECHO_N "(cached) $ECHO_C" >&6
12970 ac_cv_path_JIKES
="$JIKES" # Let the user override the test with a path.
12973 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
12974 for as_dir
in $PATH
12977 test -z "$as_dir" && as_dir
=.
12978 for ac_exec_ext
in '' $ac_executable_extensions; do
12979 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
12980 ac_cv_path_JIKES
="$as_dir/$ac_word$ac_exec_ext"
12981 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
12990 JIKES
=$ac_cv_path_JIKES
12992 if test -n "$JIKES"; then
12993 echo "$as_me:$LINENO: result: $JIKES" >&5
12994 echo "${ECHO_T}$JIKES" >&6
12996 echo "$as_me:$LINENO: result: no" >&5
12997 echo "${ECHO_T}no" >&6
13001 if test "x$JIKES" != "x"; then
13002 echo "$as_me:$LINENO: checking jikes version" >&5
13003 echo $ECHO_N "checking jikes version... $ECHO_C" >&6
13004 JIKES_VERSION
=`$JIKES --version | awk '/^Jikes Compiler/' | cut -d ' ' -f 5`
13005 JIKES_VERSION_MAJOR
=`echo "$JIKES_VERSION" | cut -d '.' -f 1`
13006 JIKES_VERSION_MINOR
=`echo "$JIKES_VERSION" | cut -d '.' -f 2`
13007 if expr "$JIKES_VERSION_MAJOR" = 1 > /dev
/null
; then
13008 if expr "$JIKES_VERSION_MINOR" \
< 19 > /dev
/null
; then
13012 if test "x$JIKES" != "x"; then
13013 echo "$as_me:$LINENO: result: $JIKES_VERSION" >&5
13014 echo "${ECHO_T}$JIKES_VERSION" >&6
13016 { echo "$as_me:$LINENO: WARNING: $JIKES_VERSION: jikes 1.19 or higher required" >&5
13017 echo "$as_me: WARNING: $JIKES_VERSION: jikes 1.19 or higher required" >&2;}
13021 if test -n "`$JIKES --help 2>&1 | grep encoding`"; then
13022 JIKESENCODING
='-encoding UTF-8'
13026 JIKESWARNINGS
="+Pno-switchcheck"
13027 if test "x$JIKES_VERSION_MAJOR" = x
"1" ; then
13028 if ! test "x$JIKES_VERSION_MINOR" = x
"19"; then
13029 JIKESWARNINGS
="$JIKESWARNINGS +Pno-shadow"
13042 # Check whether --with-kjc or --without-kjc was given.
13043 if test "${with_kjc+set}" = set; then
13044 withval
="$with_kjc"
13046 if test "x${withval}" != x && test "x${withval}" != xyes && test "x${withval}" != xno
; then
13048 if test "x${withval}" != x
; then
13049 if test -f "${withval}"; then
13052 # Extract the first word of ""${withval}"", so it can be a program name with args.
13053 set dummy
"${withval}"; ac_word
=$2
13054 echo "$as_me:$LINENO: checking for $ac_word" >&5
13055 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
13056 if test "${ac_cv_path_KJC+set}" = set; then
13057 echo $ECHO_N "(cached) $ECHO_C" >&6
13061 ac_cv_path_KJC
="$KJC" # Let the user override the test with a path.
13064 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
13065 for as_dir
in $PATH
13068 test -z "$as_dir" && as_dir
=.
13069 for ac_exec_ext
in '' $ac_executable_extensions; do
13070 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
13071 ac_cv_path_KJC
="$as_dir/$ac_word$ac_exec_ext"
13072 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
13081 KJC
=$ac_cv_path_KJC
13083 if test -n "$KJC"; then
13084 echo "$as_me:$LINENO: result: $KJC" >&5
13085 echo "${ECHO_T}$KJC" >&6
13087 echo "$as_me:$LINENO: result: no" >&5
13088 echo "${ECHO_T}no" >&6
13093 # Extract the first word of ""kJC"", so it can be a program name with args.
13094 set dummy
"kJC"; ac_word
=$2
13095 echo "$as_me:$LINENO: checking for $ac_word" >&5
13096 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
13097 if test "${ac_cv_path_KJC+set}" = set; then
13098 echo $ECHO_N "(cached) $ECHO_C" >&6
13102 ac_cv_path_KJC
="$KJC" # Let the user override the test with a path.
13105 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
13106 for as_dir
in $PATH
13109 test -z "$as_dir" && as_dir
=.
13110 for ac_exec_ext
in '' $ac_executable_extensions; do
13111 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
13112 ac_cv_path_KJC
="$as_dir/$ac_word$ac_exec_ext"
13113 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
13122 KJC
=$ac_cv_path_KJC
13124 if test -n "$KJC"; then
13125 echo "$as_me:$LINENO: result: $KJC" >&5
13126 echo "${ECHO_T}$KJC" >&6
13128 echo "$as_me:$LINENO: result: no" >&5
13129 echo "${ECHO_T}no" >&6
13135 if test "x${withval}" != xno
; then
13137 if test "x" != x
; then
13138 if test -f ""; then
13141 # Extract the first word of """", so it can be a program name with args.
13142 set dummy
""; ac_word
=$2
13143 echo "$as_me:$LINENO: checking for $ac_word" >&5
13144 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
13145 if test "${ac_cv_path_KJC+set}" = set; then
13146 echo $ECHO_N "(cached) $ECHO_C" >&6
13150 ac_cv_path_KJC
="$KJC" # Let the user override the test with a path.
13153 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
13154 for as_dir
in $PATH
13157 test -z "$as_dir" && as_dir
=.
13158 for ac_exec_ext
in '' $ac_executable_extensions; do
13159 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
13160 ac_cv_path_KJC
="$as_dir/$ac_word$ac_exec_ext"
13161 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
13170 KJC
=$ac_cv_path_KJC
13172 if test -n "$KJC"; then
13173 echo "$as_me:$LINENO: result: $KJC" >&5
13174 echo "${ECHO_T}$KJC" >&6
13176 echo "$as_me:$LINENO: result: no" >&5
13177 echo "${ECHO_T}no" >&6
13182 # Extract the first word of ""kJC"", so it can be a program name with args.
13183 set dummy
"kJC"; ac_word
=$2
13184 echo "$as_me:$LINENO: checking for $ac_word" >&5
13185 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
13186 if test "${ac_cv_path_KJC+set}" = set; then
13187 echo $ECHO_N "(cached) $ECHO_C" >&6
13191 ac_cv_path_KJC
="$KJC" # Let the user override the test with a path.
13194 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
13195 for as_dir
in $PATH
13198 test -z "$as_dir" && as_dir
=.
13199 for ac_exec_ext
in '' $ac_executable_extensions; do
13200 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
13201 ac_cv_path_KJC
="$as_dir/$ac_word$ac_exec_ext"
13202 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
13211 KJC
=$ac_cv_path_KJC
13213 if test -n "$KJC"; then
13214 echo "$as_me:$LINENO: result: $KJC" >&5
13215 echo "${ECHO_T}$KJC" >&6
13217 echo "$as_me:$LINENO: result: no" >&5
13218 echo "${ECHO_T}no" >&6
13225 user_specified_javac
=kjc
13230 if test "x" != x
; then
13231 if test -f ""; then
13234 # Extract the first word of """", so it can be a program name with args.
13235 set dummy
""; 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_KJC+set}" = set; then
13239 echo $ECHO_N "(cached) $ECHO_C" >&6
13243 ac_cv_path_KJC
="$KJC" # 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_KJC
="$as_dir/$ac_word$ac_exec_ext"
13254 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
13263 KJC
=$ac_cv_path_KJC
13265 if test -n "$KJC"; then
13266 echo "$as_me:$LINENO: result: $KJC" >&5
13267 echo "${ECHO_T}$KJC" >&6
13269 echo "$as_me:$LINENO: result: no" >&5
13270 echo "${ECHO_T}no" >&6
13275 # Extract the first word of ""kJC"", so it can be a program name with args.
13276 set dummy
"kJC"; ac_word
=$2
13277 echo "$as_me:$LINENO: checking for $ac_word" >&5
13278 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
13279 if test "${ac_cv_path_KJC+set}" = set; then
13280 echo $ECHO_N "(cached) $ECHO_C" >&6
13284 ac_cv_path_KJC
="$KJC" # Let the user override the test with a path.
13287 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
13288 for as_dir
in $PATH
13291 test -z "$as_dir" && as_dir
=.
13292 for ac_exec_ext
in '' $ac_executable_extensions; do
13293 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
13294 ac_cv_path_KJC
="$as_dir/$ac_word$ac_exec_ext"
13295 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
13304 KJC
=$ac_cv_path_KJC
13306 if test -n "$KJC"; then
13307 echo "$as_me:$LINENO: result: $KJC" >&5
13308 echo "${ECHO_T}$KJC" >&6
13310 echo "$as_me:$LINENO: result: no" >&5
13311 echo "${ECHO_T}no" >&6
13322 # Check whether --with-gcjx or --without-gcjx was given.
13323 if test "${with_gcjx+set}" = set; then
13324 withval
="$with_gcjx"
13326 if test "x${withval}" != x && test "x${withval}" != xyes && test "x${withval}" != xno
; then
13328 if test "x${withval}" != x
; then
13329 if test -f "${withval}"; then
13332 # Extract the first word of ""${withval}"", so it can be a program name with args.
13333 set dummy
"${withval}"; ac_word
=$2
13334 echo "$as_me:$LINENO: checking for $ac_word" >&5
13335 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
13336 if test "${ac_cv_path_GCJX+set}" = set; then
13337 echo $ECHO_N "(cached) $ECHO_C" >&6
13341 ac_cv_path_GCJX
="$GCJX" # Let the user override the test with a path.
13344 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
13345 for as_dir
in $PATH
13348 test -z "$as_dir" && as_dir
=.
13349 for ac_exec_ext
in '' $ac_executable_extensions; do
13350 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
13351 ac_cv_path_GCJX
="$as_dir/$ac_word$ac_exec_ext"
13352 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
13361 GCJX
=$ac_cv_path_GCJX
13363 if test -n "$GCJX"; then
13364 echo "$as_me:$LINENO: result: $GCJX" >&5
13365 echo "${ECHO_T}$GCJX" >&6
13367 echo "$as_me:$LINENO: result: no" >&5
13368 echo "${ECHO_T}no" >&6
13373 # Extract the first word of ""gcjx"", so it can be a program name with args.
13374 set dummy
"gcjx"; ac_word
=$2
13375 echo "$as_me:$LINENO: checking for $ac_word" >&5
13376 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
13377 if test "${ac_cv_path_GCJX+set}" = set; then
13378 echo $ECHO_N "(cached) $ECHO_C" >&6
13382 ac_cv_path_GCJX
="$GCJX" # Let the user override the test with a path.
13385 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
13386 for as_dir
in $PATH
13389 test -z "$as_dir" && as_dir
=.
13390 for ac_exec_ext
in '' $ac_executable_extensions; do
13391 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
13392 ac_cv_path_GCJX
="$as_dir/$ac_word$ac_exec_ext"
13393 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
13402 GCJX
=$ac_cv_path_GCJX
13404 if test -n "$GCJX"; then
13405 echo "$as_me:$LINENO: result: $GCJX" >&5
13406 echo "${ECHO_T}$GCJX" >&6
13408 echo "$as_me:$LINENO: result: no" >&5
13409 echo "${ECHO_T}no" >&6
13415 if test "x${withval}" != xno
; then
13417 if test "x" != x
; then
13418 if test -f ""; then
13421 # Extract the first word of """", so it can be a program name with args.
13422 set dummy
""; ac_word
=$2
13423 echo "$as_me:$LINENO: checking for $ac_word" >&5
13424 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
13425 if test "${ac_cv_path_GCJX+set}" = set; then
13426 echo $ECHO_N "(cached) $ECHO_C" >&6
13430 ac_cv_path_GCJX
="$GCJX" # Let the user override the test with a path.
13433 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
13434 for as_dir
in $PATH
13437 test -z "$as_dir" && as_dir
=.
13438 for ac_exec_ext
in '' $ac_executable_extensions; do
13439 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
13440 ac_cv_path_GCJX
="$as_dir/$ac_word$ac_exec_ext"
13441 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
13450 GCJX
=$ac_cv_path_GCJX
13452 if test -n "$GCJX"; then
13453 echo "$as_me:$LINENO: result: $GCJX" >&5
13454 echo "${ECHO_T}$GCJX" >&6
13456 echo "$as_me:$LINENO: result: no" >&5
13457 echo "${ECHO_T}no" >&6
13462 # Extract the first word of ""gcjx"", so it can be a program name with args.
13463 set dummy
"gcjx"; ac_word
=$2
13464 echo "$as_me:$LINENO: checking for $ac_word" >&5
13465 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
13466 if test "${ac_cv_path_GCJX+set}" = set; then
13467 echo $ECHO_N "(cached) $ECHO_C" >&6
13471 ac_cv_path_GCJX
="$GCJX" # Let the user override the test with a path.
13474 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
13475 for as_dir
in $PATH
13478 test -z "$as_dir" && as_dir
=.
13479 for ac_exec_ext
in '' $ac_executable_extensions; do
13480 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
13481 ac_cv_path_GCJX
="$as_dir/$ac_word$ac_exec_ext"
13482 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
13491 GCJX
=$ac_cv_path_GCJX
13493 if test -n "$GCJX"; then
13494 echo "$as_me:$LINENO: result: $GCJX" >&5
13495 echo "${ECHO_T}$GCJX" >&6
13497 echo "$as_me:$LINENO: result: no" >&5
13498 echo "${ECHO_T}no" >&6
13505 user_specified_javac
=gcjx
13510 if test "x" != x
; then
13511 if test -f ""; then
13514 # Extract the first word of """", so it can be a program name with args.
13515 set dummy
""; 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_GCJX+set}" = set; then
13519 echo $ECHO_N "(cached) $ECHO_C" >&6
13523 ac_cv_path_GCJX
="$GCJX" # 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_GCJX
="$as_dir/$ac_word$ac_exec_ext"
13534 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
13543 GCJX
=$ac_cv_path_GCJX
13545 if test -n "$GCJX"; then
13546 echo "$as_me:$LINENO: result: $GCJX" >&5
13547 echo "${ECHO_T}$GCJX" >&6
13549 echo "$as_me:$LINENO: result: no" >&5
13550 echo "${ECHO_T}no" >&6
13555 # Extract the first word of ""gcjx"", so it can be a program name with args.
13556 set dummy
"gcjx"; ac_word
=$2
13557 echo "$as_me:$LINENO: checking for $ac_word" >&5
13558 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
13559 if test "${ac_cv_path_GCJX+set}" = set; then
13560 echo $ECHO_N "(cached) $ECHO_C" >&6
13564 ac_cv_path_GCJX
="$GCJX" # Let the user override the test with a path.
13567 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
13568 for as_dir
in $PATH
13571 test -z "$as_dir" && as_dir
=.
13572 for ac_exec_ext
in '' $ac_executable_extensions; do
13573 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
13574 ac_cv_path_GCJX
="$as_dir/$ac_word$ac_exec_ext"
13575 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
13584 GCJX
=$ac_cv_path_GCJX
13586 if test -n "$GCJX"; then
13587 echo "$as_me:$LINENO: result: $GCJX" >&5
13588 echo "${ECHO_T}$GCJX" >&6
13590 echo "$as_me:$LINENO: result: no" >&5
13591 echo "${ECHO_T}no" >&6
13602 # Check whether --with-ecj or --without-ecj was given.
13603 if test "${with_ecj+set}" = set; then
13604 withval
="$with_ecj"
13606 if test "x${withval}" != x && test "x${withval}" != xyes && test "x${withval}" != xno
; then
13608 if test "x${withval}" != x
; then
13609 if test -f "${withval}"; then
13612 # Extract the first word of ""${withval}"", so it can be a program name with args.
13613 set dummy
"${withval}"; ac_word
=$2
13614 echo "$as_me:$LINENO: checking for $ac_word" >&5
13615 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
13616 if test "${ac_cv_path_ECJ+set}" = set; then
13617 echo $ECHO_N "(cached) $ECHO_C" >&6
13621 ac_cv_path_ECJ
="$ECJ" # Let the user override the test with a path.
13624 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
13625 for as_dir
in $PATH
13628 test -z "$as_dir" && as_dir
=.
13629 for ac_exec_ext
in '' $ac_executable_extensions; do
13630 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
13631 ac_cv_path_ECJ
="$as_dir/$ac_word$ac_exec_ext"
13632 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
13641 ECJ
=$ac_cv_path_ECJ
13643 if test -n "$ECJ"; then
13644 echo "$as_me:$LINENO: result: $ECJ" >&5
13645 echo "${ECHO_T}$ECJ" >&6
13647 echo "$as_me:$LINENO: result: no" >&5
13648 echo "${ECHO_T}no" >&6
13653 # Extract the first word of ""ecj"", so it can be a program name with args.
13654 set dummy
"ecj"; ac_word
=$2
13655 echo "$as_me:$LINENO: checking for $ac_word" >&5
13656 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
13657 if test "${ac_cv_path_ECJ+set}" = set; then
13658 echo $ECHO_N "(cached) $ECHO_C" >&6
13662 ac_cv_path_ECJ
="$ECJ" # Let the user override the test with a path.
13665 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
13666 for as_dir
in $PATH
13669 test -z "$as_dir" && as_dir
=.
13670 for ac_exec_ext
in '' $ac_executable_extensions; do
13671 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
13672 ac_cv_path_ECJ
="$as_dir/$ac_word$ac_exec_ext"
13673 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
13682 ECJ
=$ac_cv_path_ECJ
13684 if test -n "$ECJ"; then
13685 echo "$as_me:$LINENO: result: $ECJ" >&5
13686 echo "${ECHO_T}$ECJ" >&6
13688 echo "$as_me:$LINENO: result: no" >&5
13689 echo "${ECHO_T}no" >&6
13695 if test "x${withval}" != xno
; then
13697 if test "x" != x
; then
13698 if test -f ""; then
13701 # Extract the first word of """", so it can be a program name with args.
13702 set dummy
""; ac_word
=$2
13703 echo "$as_me:$LINENO: checking for $ac_word" >&5
13704 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
13705 if test "${ac_cv_path_ECJ+set}" = set; then
13706 echo $ECHO_N "(cached) $ECHO_C" >&6
13710 ac_cv_path_ECJ
="$ECJ" # Let the user override the test with a path.
13713 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
13714 for as_dir
in $PATH
13717 test -z "$as_dir" && as_dir
=.
13718 for ac_exec_ext
in '' $ac_executable_extensions; do
13719 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
13720 ac_cv_path_ECJ
="$as_dir/$ac_word$ac_exec_ext"
13721 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
13730 ECJ
=$ac_cv_path_ECJ
13732 if test -n "$ECJ"; then
13733 echo "$as_me:$LINENO: result: $ECJ" >&5
13734 echo "${ECHO_T}$ECJ" >&6
13736 echo "$as_me:$LINENO: result: no" >&5
13737 echo "${ECHO_T}no" >&6
13742 # Extract the first word of ""ecj"", so it can be a program name with args.
13743 set dummy
"ecj"; ac_word
=$2
13744 echo "$as_me:$LINENO: checking for $ac_word" >&5
13745 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
13746 if test "${ac_cv_path_ECJ+set}" = set; then
13747 echo $ECHO_N "(cached) $ECHO_C" >&6
13751 ac_cv_path_ECJ
="$ECJ" # Let the user override the test with a path.
13754 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
13755 for as_dir
in $PATH
13758 test -z "$as_dir" && as_dir
=.
13759 for ac_exec_ext
in '' $ac_executable_extensions; do
13760 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
13761 ac_cv_path_ECJ
="$as_dir/$ac_word$ac_exec_ext"
13762 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
13771 ECJ
=$ac_cv_path_ECJ
13773 if test -n "$ECJ"; then
13774 echo "$as_me:$LINENO: result: $ECJ" >&5
13775 echo "${ECHO_T}$ECJ" >&6
13777 echo "$as_me:$LINENO: result: no" >&5
13778 echo "${ECHO_T}no" >&6
13785 user_specified_javac
=ecj
13790 if test "x" != x
; then
13791 if test -f ""; then
13794 # Extract the first word of """", so it can be a program name with args.
13795 set dummy
""; ac_word
=$2
13796 echo "$as_me:$LINENO: checking for $ac_word" >&5
13797 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
13798 if test "${ac_cv_path_ECJ+set}" = set; then
13799 echo $ECHO_N "(cached) $ECHO_C" >&6
13803 ac_cv_path_ECJ
="$ECJ" # Let the user override the test with a path.
13806 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
13807 for as_dir
in $PATH
13810 test -z "$as_dir" && as_dir
=.
13811 for ac_exec_ext
in '' $ac_executable_extensions; do
13812 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
13813 ac_cv_path_ECJ
="$as_dir/$ac_word$ac_exec_ext"
13814 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
13823 ECJ
=$ac_cv_path_ECJ
13825 if test -n "$ECJ"; then
13826 echo "$as_me:$LINENO: result: $ECJ" >&5
13827 echo "${ECHO_T}$ECJ" >&6
13829 echo "$as_me:$LINENO: result: no" >&5
13830 echo "${ECHO_T}no" >&6
13835 # Extract the first word of ""ecj"", so it can be a program name with args.
13836 set dummy
"ecj"; ac_word
=$2
13837 echo "$as_me:$LINENO: checking for $ac_word" >&5
13838 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
13839 if test "${ac_cv_path_ECJ+set}" = set; then
13840 echo $ECHO_N "(cached) $ECHO_C" >&6
13844 ac_cv_path_ECJ
="$ECJ" # Let the user override the test with a path.
13847 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
13848 for as_dir
in $PATH
13851 test -z "$as_dir" && as_dir
=.
13852 for ac_exec_ext
in '' $ac_executable_extensions; do
13853 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
13854 ac_cv_path_ECJ
="$as_dir/$ac_word$ac_exec_ext"
13855 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
13864 ECJ
=$ac_cv_path_ECJ
13866 if test -n "$ECJ"; then
13867 echo "$as_me:$LINENO: result: $ECJ" >&5
13868 echo "${ECHO_T}$ECJ" >&6
13870 echo "$as_me:$LINENO: result: no" >&5
13871 echo "${ECHO_T}no" >&6
13881 if test "x${user_specified_javac}" = x
; then
13884 if test "x${GCJ}" != x
; then
13886 FOUND_GCJ_FALSE
='#'
13894 if test "x${JIKES}" != x
; then
13896 FOUND_JIKES_FALSE
='#'
13898 FOUND_JIKES_TRUE
='#'
13904 if test "x${ECJ}" != x
; then
13906 FOUND_ECJ_FALSE
='#'
13915 if test "x${user_specified_javac}" = xgcj
; then
13917 FOUND_GCJ_FALSE
='#'
13925 if test "x${user_specified_javac}" = xjikes
; then
13927 FOUND_JIKES_FALSE
='#'
13929 FOUND_JIKES_TRUE
='#'
13935 if test "x${user_specified_javac}" = xecj
; then
13937 FOUND_ECJ_FALSE
='#'
13946 if test "x${user_specified_javac}" = xkjc
; then
13948 FOUND_KJC_FALSE
='#'
13956 if test "x${user_specified_javac}" = xgcjx
; then
13958 FOUND_GCJX_FALSE
='#'
13960 FOUND_GCJX_TRUE
='#'
13965 if test "x${GCJ}" = x && test "x${JIKES}" = x && test "x${user_specified_javac}" != xkjc && test "x${user_specified_javac}" != xgcjx && test "x${user_specified_javac}" != xecj
; then
13966 { { echo "$as_me:$LINENO: error: cannot find javac, try --with-gcj, --with-jikes, --with-kjc, --with-ecj, or --with-gcjx" >&5
13967 echo "$as_me: error: cannot find javac, try --with-gcj, --with-jikes, --with-kjc, --with-ecj, or --with-gcjx" >&2;}
13968 { (exit 1); exit 1; }; }
13974 # Check whether --with-classpath or --without-classpath was given.
13975 if test "${with_classpath+set}" = set; then
13976 withval
="$with_classpath"
13978 if test "x${withval}" = xyes
; then
13979 # set user classpath to CLASSPATH from env
13980 echo "$as_me:$LINENO: checking for classlib" >&5
13981 echo $ECHO_N "checking for classlib... $ECHO_C" >&6
13982 USER_CLASSLIB
=${CLASSPATH}
13984 echo "$as_me:$LINENO: result: ${USER_CLASSLIB}" >&5
13985 echo "${ECHO_T}${USER_CLASSLIB}" >&6
13986 conditional_with_classlib
=true
13987 elif test "x${withval}" != x
&& test "x${withval}" != xno
; then
13988 # set user classpath to specified value
13989 echo "$as_me:$LINENO: checking for classlib" >&5
13990 echo $ECHO_N "checking for classlib... $ECHO_C" >&6
13991 USER_CLASSLIB
=${withval}
13993 echo "$as_me:$LINENO: result: ${withval}" >&5
13994 echo "${ECHO_T}${withval}" >&6
13995 conditional_with_classlib
=true
13999 conditional_with_classlib
=false
14003 if test "x${conditional_with_classlib}" = xtrue
; then
14004 USER_SPECIFIED_CLASSLIB_TRUE
=
14005 USER_SPECIFIED_CLASSLIB_FALSE
='#'
14007 USER_SPECIFIED_CLASSLIB_TRUE
='#'
14008 USER_SPECIFIED_CLASSLIB_FALSE
=
14013 # Check whether --with-vm-classes or --without-vm-classes was given.
14014 if test "${with_vm_classes+set}" = set; then
14015 withval
="$with_vm_classes"
14016 vm_classes
="$with_vm_classes"
14018 vm_classes
='${top_srcdir}/vm/reference'
14023 echo "$as_me:$LINENO: checking whether to enable maintainer-specific portions of Makefiles" >&5
14024 echo $ECHO_N "checking whether to enable maintainer-specific portions of Makefiles... $ECHO_C" >&6
14025 # Check whether --enable-maintainer-mode or --disable-maintainer-mode was given.
14026 if test "${enable_maintainer_mode+set}" = set; then
14027 enableval
="$enable_maintainer_mode"
14028 USE_MAINTAINER_MODE
=$enableval
14030 USE_MAINTAINER_MODE
=no
14032 echo "$as_me:$LINENO: result: $USE_MAINTAINER_MODE" >&5
14033 echo "${ECHO_T}$USE_MAINTAINER_MODE" >&6
14036 if test $USE_MAINTAINER_MODE = yes; then
14037 MAINTAINER_MODE_TRUE
=
14038 MAINTAINER_MODE_FALSE
='#'
14040 MAINTAINER_MODE_TRUE
='#'
14041 MAINTAINER_MODE_FALSE
=
14044 MAINT
=$MAINTAINER_MODE_TRUE
14048 # Check whether --enable-debug or --disable-debug was given.
14049 if test "${enable_debug+set}" = set; then
14050 enableval
="$enable_debug"
14051 case "${enableval}" in
14055 cat >>confdefs.h
<<\_ACEOF
14060 no
) LIBDEBUG
="false" ;;
14061 *) { { echo "$as_me:$LINENO: error: bad value ${enableval} for --enable-debug" >&5
14062 echo "$as_me: error: bad value ${enableval} for --enable-debug" >&2;}
14063 { (exit 1); exit 1; }; } ;;
14070 # Check whether --enable-load-library or --disable-load-library was given.
14071 if test "${enable_load_library+set}" = set; then
14072 enableval
="$enable_load_library"
14073 case "${enableval}" in
14074 yes) INIT_LOAD_LIBRARY
="true" ;;
14075 no
) INIT_LOAD_LIBRARY
="false" ;;
14076 *) { { echo "$as_me:$LINENO: error: bad value ${enableval} for --enable-load-library" >&5
14077 echo "$as_me: error: bad value ${enableval} for --enable-load-library" >&2;}
14078 { (exit 1); exit 1; }; } ;;
14081 INIT_LOAD_LIBRARY
="true"
14086 # Check whether --enable-java-lang-system-explicit-initialization or --disable-java-lang-system-explicit-initialization was given.
14087 if test "${enable_java_lang_system_explicit_initialization+set}" = set; then
14088 enableval
="$enable_java_lang_system_explicit_initialization"
14089 case "${enableval}" in
14090 yes|true
) JAVA_LANG_SYSTEM_EXPLICIT_INITIALIZATION
="true" ;;
14091 no|false
) JAVA_LANG_SYSTEM_EXPLICIT_INITIALIZATION
="false" ;;
14092 *) { { echo "$as_me:$LINENO: error: bad value ${enableval} for --enable-java-lang-system-explicit-initialization" >&5
14093 echo "$as_me: error: bad value ${enableval} for --enable-java-lang-system-explicit-initialization" >&2;}
14094 { (exit 1); exit 1; }; } ;;
14097 JAVA_LANG_SYSTEM_EXPLICIT_INITIALIZATION
="false"
14105 # Extract the first word of "mkdir", so it can be a program name with args.
14106 set dummy mkdir
; ac_word
=$2
14107 echo "$as_me:$LINENO: checking for $ac_word" >&5
14108 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
14109 if test "${ac_cv_path_MKDIR+set}" = set; then
14110 echo $ECHO_N "(cached) $ECHO_C" >&6
14114 ac_cv_path_MKDIR
="$MKDIR" # Let the user override the test with a path.
14117 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
14118 for as_dir
in $PATH
14121 test -z "$as_dir" && as_dir
=.
14122 for ac_exec_ext
in '' $ac_executable_extensions; do
14123 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
14124 ac_cv_path_MKDIR
="$as_dir/$ac_word$ac_exec_ext"
14125 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
14134 MKDIR
=$ac_cv_path_MKDIR
14136 if test -n "$MKDIR"; then
14137 echo "$as_me:$LINENO: result: $MKDIR" >&5
14138 echo "${ECHO_T}$MKDIR" >&6
14140 echo "$as_me:$LINENO: result: no" >&5
14141 echo "${ECHO_T}no" >&6
14144 # Extract the first word of "cp", so it can be a program name with args.
14145 set dummy
cp; ac_word
=$2
14146 echo "$as_me:$LINENO: checking for $ac_word" >&5
14147 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
14148 if test "${ac_cv_path_CP+set}" = set; then
14149 echo $ECHO_N "(cached) $ECHO_C" >&6
14153 ac_cv_path_CP
="$CP" # Let the user override the test with a path.
14156 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
14157 for as_dir
in $PATH
14160 test -z "$as_dir" && as_dir
=.
14161 for ac_exec_ext
in '' $ac_executable_extensions; do
14162 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
14163 ac_cv_path_CP
="$as_dir/$ac_word$ac_exec_ext"
14164 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
14175 if test -n "$CP"; then
14176 echo "$as_me:$LINENO: result: $CP" >&5
14177 echo "${ECHO_T}$CP" >&6
14179 echo "$as_me:$LINENO: result: no" >&5
14180 echo "${ECHO_T}no" >&6
14183 # Extract the first word of "date", so it can be a program name with args.
14184 set dummy
date; ac_word
=$2
14185 echo "$as_me:$LINENO: checking for $ac_word" >&5
14186 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
14187 if test "${ac_cv_path_DATE+set}" = set; then
14188 echo $ECHO_N "(cached) $ECHO_C" >&6
14192 ac_cv_path_DATE
="$DATE" # Let the user override the test with a path.
14195 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
14196 for as_dir
in $PATH
14199 test -z "$as_dir" && as_dir
=.
14200 for ac_exec_ext
in '' $ac_executable_extensions; do
14201 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
14202 ac_cv_path_DATE
="$as_dir/$ac_word$ac_exec_ext"
14203 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
14212 DATE
=$ac_cv_path_DATE
14214 if test -n "$DATE"; then
14215 echo "$as_me:$LINENO: result: $DATE" >&5
14216 echo "${ECHO_T}$DATE" >&6
14218 echo "$as_me:$LINENO: result: no" >&5
14219 echo "${ECHO_T}no" >&6
14223 # Extract the first word of "find", so it can be a program name with args.
14224 set dummy
find; ac_word
=$2
14225 echo "$as_me:$LINENO: checking for $ac_word" >&5
14226 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
14227 if test "${ac_cv_path_FIND+set}" = set; then
14228 echo $ECHO_N "(cached) $ECHO_C" >&6
14232 ac_cv_path_FIND
="$FIND" # Let the user override the test with a path.
14235 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
14236 for as_dir
in $PATH
14239 test -z "$as_dir" && as_dir
=.
14240 for ac_exec_ext
in '' $ac_executable_extensions; do
14241 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
14242 ac_cv_path_FIND
="$as_dir/$ac_word$ac_exec_ext"
14243 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
14252 FIND
=$ac_cv_path_FIND
14254 if test -n "$FIND"; then
14255 echo "$as_me:$LINENO: result: $FIND" >&5
14256 echo "${ECHO_T}$FIND" >&6
14258 echo "$as_me:$LINENO: result: no" >&5
14259 echo "${ECHO_T}no" >&6
14264 # Extract the first word of "zip", so it can be a program name with args.
14265 set dummy
zip; ac_word
=$2
14266 echo "$as_me:$LINENO: checking for $ac_word" >&5
14267 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
14268 if test "${ac_cv_path_ZIP+set}" = set; then
14269 echo $ECHO_N "(cached) $ECHO_C" >&6
14273 ac_cv_path_ZIP
="$ZIP" # Let the user override the test with a path.
14276 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
14277 for as_dir
in $PATH
14280 test -z "$as_dir" && as_dir
=.
14281 for ac_exec_ext
in '' $ac_executable_extensions; do
14282 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
14283 ac_cv_path_ZIP
="$as_dir/$ac_word$ac_exec_ext"
14284 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
14293 ZIP
=$ac_cv_path_ZIP
14295 if test -n "$ZIP"; then
14296 echo "$as_me:$LINENO: result: $ZIP" >&5
14297 echo "${ECHO_T}$ZIP" >&6
14299 echo "$as_me:$LINENO: result: no" >&5
14300 echo "${ECHO_T}no" >&6
14304 # Check whether --with-fastjar or --without-fastjar was given.
14305 if test "${with_fastjar+set}" = set; then
14306 withval
="$with_fastjar"
14308 echo "$as_me:$LINENO: checking for user supplied fastjar" >&5
14309 echo $ECHO_N "checking for user supplied fastjar... $ECHO_C" >&6
14311 echo "$as_me:$LINENO: result: ${FASTJAR}" >&5
14312 echo "${ECHO_T}${FASTJAR}" >&6
14315 # Extract the first word of "fastjar", so it can be a program name with args.
14316 set dummy fastjar
; ac_word
=$2
14317 echo "$as_me:$LINENO: checking for $ac_word" >&5
14318 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
14319 if test "${ac_cv_path_FASTJAR+set}" = set; then
14320 echo $ECHO_N "(cached) $ECHO_C" >&6
14324 ac_cv_path_FASTJAR
="$FASTJAR" # Let the user override the test with a path.
14327 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
14328 for as_dir
in $PATH
14331 test -z "$as_dir" && as_dir
=.
14332 for ac_exec_ext
in '' $ac_executable_extensions; do
14333 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
14334 ac_cv_path_FASTJAR
="$as_dir/$ac_word$ac_exec_ext"
14335 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
14344 FASTJAR
=$ac_cv_path_FASTJAR
14346 if test -n "$FASTJAR"; then
14347 echo "$as_me:$LINENO: result: $FASTJAR" >&5
14348 echo "${ECHO_T}$FASTJAR" >&6
14350 echo "$as_me:$LINENO: result: no" >&5
14351 echo "${ECHO_T}no" >&6
14355 if test x
"${FASTJAR}" != x
; then
14360 # Check whether --with-glibj or --without-glibj was given.
14361 if test "${with_glibj+set}" = set; then
14362 withval
="$with_glibj"
14364 if test "x${withval}" = xyes ||
test "x${withval}" = xzip
; then
14365 install_class_files
=no
14366 build_class_files
=yes
14368 elif test "x${withval}" = xboth
; then
14369 install_class_files
=yes
14370 build_class_files
=yes
14372 elif test "x${withval}" = xflat
; then
14373 install_class_files
=yes
14374 build_class_files
=yes
14376 elif test "x${withval}" = xno ||
test "x${withval}" = xnone
; then
14377 install_class_files
=no
14378 build_class_files
=no
14380 elif test "x${withval}" = xbuild
; then
14381 install_class_files
=no
14382 build_class_files
=yes
14385 { { echo "$as_me:$LINENO: error: unknown value given to --with-glibj" >&5
14386 echo "$as_me: error: unknown value given to --with-glibj" >&2;}
14387 { (exit 1); exit 1; }; }
14392 install_class_files
=no
14398 if test "x${use_zip}" = xyes
; then
14399 INSTALL_GLIBJ_ZIP_TRUE
=
14400 INSTALL_GLIBJ_ZIP_FALSE
='#'
14402 INSTALL_GLIBJ_ZIP_TRUE
='#'
14403 INSTALL_GLIBJ_ZIP_FALSE
=
14408 if test "x${install_class_files}" = xyes
; then
14409 INSTALL_CLASS_FILES_TRUE
=
14410 INSTALL_CLASS_FILES_FALSE
='#'
14412 INSTALL_CLASS_FILES_TRUE
='#'
14413 INSTALL_CLASS_FILES_FALSE
=
14418 if test "x${build_class_files}" = xyes
; then
14419 BUILD_CLASS_FILES_TRUE
=
14420 BUILD_CLASS_FILES_FALSE
='#'
14422 BUILD_CLASS_FILES_TRUE
='#'
14423 BUILD_CLASS_FILES_FALSE
=
14427 # Check whether --enable-examples or --disable-examples was given.
14428 if test "${enable_examples+set}" = set; then
14429 enableval
="$enable_examples"
14430 case "${enableval}" in
14431 yes) EXAMPLESDIR
="examples" ;;
14432 no
) EXAMPLESDIR
="" ;;
14433 *) { { echo "$as_me:$LINENO: error: bad value ${enableval} for --enable-examples" >&5
14434 echo "$as_me: error: bad value ${enableval} for --enable-examples" >&2;}
14435 { (exit 1); exit 1; }; } ;;
14438 EXAMPLESDIR
="examples"
14440 if test "x${use_zip}" = xno
&& test "x${install_class_files}" = xno
; then
14448 # Check whether --with-gjdoc or --without-gjdoc was given.
14449 if test "${with_gjdoc+set}" = set; then
14450 withval
="$with_gjdoc"
14451 if test "x${withval}" = xno
; then
14453 elif test "x${withval}" = xyes
-o "x{withval}" = x
; then
14455 # Extract the first word of "gjdoc", so it can be a program name with args.
14456 set dummy gjdoc
; ac_word
=$2
14457 echo "$as_me:$LINENO: checking for $ac_word" >&5
14458 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
14459 if test "${ac_cv_path_GJDOC+set}" = set; then
14460 echo $ECHO_N "(cached) $ECHO_C" >&6
14464 ac_cv_path_GJDOC
="$GJDOC" # Let the user override the test with a path.
14467 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
14468 for as_dir
in $PATH
14471 test -z "$as_dir" && as_dir
=.
14472 for ac_exec_ext
in '' $ac_executable_extensions; do
14473 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
14474 ac_cv_path_GJDOC
="$as_dir/$ac_word$ac_exec_ext"
14475 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
14481 test -z "$ac_cv_path_GJDOC" && ac_cv_path_GJDOC
=""no
""
14485 GJDOC
=$ac_cv_path_GJDOC
14487 if test -n "$GJDOC"; then
14488 echo "$as_me:$LINENO: result: $GJDOC" >&5
14489 echo "${ECHO_T}$GJDOC" >&6
14491 echo "$as_me:$LINENO: result: no" >&5
14492 echo "${ECHO_T}no" >&6
14495 if test "x${GJDOC}" = xno
; then
14496 { { echo "$as_me:$LINENO: error: \"gjdoc executable not found\"" >&5
14497 echo "$as_me: error: \"gjdoc executable not found\"" >&2;}
14498 { (exit 1); exit 1; }; };
14503 as_ac_File
=`echo "ac_cv_file_${GJDOC}" | $as_tr_sh`
14504 echo "$as_me:$LINENO: checking for ${GJDOC}" >&5
14505 echo $ECHO_N "checking for ${GJDOC}... $ECHO_C" >&6
14506 if eval "test \"\${$as_ac_File+set}\" = set"; then
14507 echo $ECHO_N "(cached) $ECHO_C" >&6
14509 test "$cross_compiling" = yes &&
14510 { { echo "$as_me:$LINENO: error: cannot check for file existence when cross compiling" >&5
14511 echo "$as_me: error: cannot check for file existence when cross compiling" >&2;}
14512 { (exit 1); exit 1; }; }
14513 if test -r "${GJDOC}"; then
14514 eval "$as_ac_File=yes"
14516 eval "$as_ac_File=no"
14519 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_File'}'`" >&5
14520 echo "${ECHO_T}`eval echo '${'$as_ac_File'}'`" >&6
14521 if test `eval echo '${'$as_ac_File'}'` = yes; then
14524 { { echo "$as_me:$LINENO: error: \"Cannot use ${withval} as gjdoc executable since it doesn't exist\"" >&5
14525 echo "$as_me: error: \"Cannot use ${withval} as gjdoc executable since it doesn't exist\"" >&2;}
14526 { (exit 1); exit 1; }; }
14536 if test "x${WITH_GJDOC}" = xyes
; then
14537 CREATE_API_DOCS_TRUE
=
14538 CREATE_API_DOCS_FALSE
='#'
14540 CREATE_API_DOCS_TRUE
='#'
14541 CREATE_API_DOCS_FALSE
=
14548 # Check whether --with-jay or --without-jay was given.
14549 if test "${with_jay+set}" = set; then
14550 withval
="$with_jay"
14552 if test -d "${withval}"; then
14553 JAY_DIR_PATH
="${withval}"
14554 # Extract the first word of "jay", so it can be a program name with args.
14555 set dummy jay
; ac_word
=$2
14556 echo "$as_me:$LINENO: checking for $ac_word" >&5
14557 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
14558 if test "${ac_cv_path_JAY+set}" = set; then
14559 echo $ECHO_N "(cached) $ECHO_C" >&6
14563 ac_cv_path_JAY
="$JAY" # Let the user override the test with a path.
14566 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
14567 for as_dir
in ${JAY_DIR_PATH}
14570 test -z "$as_dir" && as_dir
=.
14571 for ac_exec_ext
in '' $ac_executable_extensions; do
14572 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
14573 ac_cv_path_JAY
="$as_dir/$ac_word$ac_exec_ext"
14574 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
14580 test -z "$ac_cv_path_JAY" && ac_cv_path_JAY
=""no
""
14584 JAY
=$ac_cv_path_JAY
14586 if test -n "$JAY"; then
14587 echo "$as_me:$LINENO: result: $JAY" >&5
14588 echo "${ECHO_T}$JAY" >&6
14590 echo "$as_me:$LINENO: result: no" >&5
14591 echo "${ECHO_T}no" >&6
14594 if test "x${JAY}" = xno
; then
14595 { { echo "$as_me:$LINENO: error: \"jay executable not found\"" >&5
14596 echo "$as_me: error: \"jay executable not found\"" >&2;}
14597 { (exit 1); exit 1; }; };
14600 JAY_DIR_PATH
=$
(dirname "${withval}")
14604 JAY_SKELETON
="${JAY_DIR_PATH}/skeleton"
14605 as_ac_File
=`echo "ac_cv_file_${JAY_SKELETON}" | $as_tr_sh`
14606 echo "$as_me:$LINENO: checking for ${JAY_SKELETON}" >&5
14607 echo $ECHO_N "checking for ${JAY_SKELETON}... $ECHO_C" >&6
14608 if eval "test \"\${$as_ac_File+set}\" = set"; then
14609 echo $ECHO_N "(cached) $ECHO_C" >&6
14611 test "$cross_compiling" = yes &&
14612 { { echo "$as_me:$LINENO: error: cannot check for file existence when cross compiling" >&5
14613 echo "$as_me: error: cannot check for file existence when cross compiling" >&2;}
14614 { (exit 1); exit 1; }; }
14615 if test -r "${JAY_SKELETON}"; then
14616 eval "$as_ac_File=yes"
14618 eval "$as_ac_File=no"
14621 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_File'}'`" >&5
14622 echo "${ECHO_T}`eval echo '${'$as_ac_File'}'`" >&6
14623 if test `eval echo '${'$as_ac_File'}'` = yes; then
14626 { { echo "$as_me:$LINENO: error: \"Expected skeleton file in $(dirname ${withval})\"" >&5
14627 echo "$as_me: error: \"Expected skeleton file in $(dirname ${withval})\"" >&2;}
14628 { (exit 1); exit 1; }; }
14640 if test "x${JAY_FOUND}" = xyes
; then
14641 REGEN_PARSERS_TRUE
=
14642 REGEN_PARSERS_FALSE
='#'
14644 REGEN_PARSERS_TRUE
='#'
14645 REGEN_PARSERS_FALSE
=
14650 # Check whether --enable-portable-native-sync or --disable-portable-native-sync was given.
14651 if test "${enable_portable_native_sync+set}" = set; then
14652 enableval
="$enable_portable_native_sync"
14653 case "${enableval}" in
14656 cat >>confdefs.h
<<\_ACEOF
14657 #define PORTABLE_NATIVE_SYNC 1
14663 { { echo "$as_me:$LINENO: error: bad value ${enableval} for --enable-portable-native-sync" >&5
14664 echo "$as_me: error: bad value ${enableval} for --enable-portable-native-sync" >&2;}
14665 { (exit 1); exit 1; }; }
14670 # ------ AX CREATE STDINT H -------------------------------------
14671 echo "$as_me:$LINENO: checking for stdint types" >&5
14672 echo $ECHO_N "checking for stdint types... $ECHO_C" >&6
14673 ac_stdint_h
=`echo include/config-int.h`
14674 # try to shortcircuit - if the default include path of the compiler
14675 # can find a "stdint.h" header then we assume that all compilers can.
14676 if test "${ac_cv_header_stdint_t+set}" = set; then
14677 echo $ECHO_N "(cached) $ECHO_C" >&6
14680 old_CXXFLAGS
="$CXXFLAGS" ; CXXFLAGS
=""
14681 old_CPPFLAGS
="$CPPFLAGS" ; CPPFLAGS
=""
14682 old_CFLAGS
="$CFLAGS" ; CFLAGS
=""
14683 cat >conftest.
$ac_ext <<_ACEOF
14686 cat confdefs.h
>>conftest.
$ac_ext
14687 cat >>conftest.
$ac_ext <<_ACEOF
14688 /* end confdefs.h. */
14689 #include <stdint.h>
14693 int_least32_t v = 0;
14698 rm -f conftest.
$ac_objext
14699 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14700 (eval $ac_compile) 2>conftest.er1
14702 grep -v '^ *+' conftest.er1
>conftest.err
14704 cat conftest.err
>&5
14705 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14706 (exit $ac_status); } &&
14707 { ac_try
='test -z "$ac_c_werror_flag"
14708 || test ! -s conftest.err'
14709 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14710 (eval $ac_try) 2>&5
14712 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14713 (exit $ac_status); }; } &&
14714 { ac_try
='test -s conftest.$ac_objext'
14715 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14716 (eval $ac_try) 2>&5
14718 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14719 (exit $ac_status); }; }; then
14720 ac_cv_stdint_result
="(assuming C99 compatible system)"
14721 ac_cv_header_stdint_t
="stdint.h";
14723 echo "$as_me: failed program was:" >&5
14724 sed 's/^/| /' conftest.
$ac_ext >&5
14726 ac_cv_header_stdint_t
=""
14728 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
14729 CXXFLAGS
="$old_CXXFLAGS"
14730 CPPFLAGS
="$old_CPPFLAGS"
14731 CFLAGS
="$old_CFLAGS"
14735 v
="... $ac_cv_header_stdint_h"
14736 if test "$ac_stdint_h" = "stdint.h" ; then
14737 echo "$as_me:$LINENO: result: (are you sure you want them in ./stdint.h?)" >&5
14738 echo "${ECHO_T}(are you sure you want them in ./stdint.h?)" >&6
14739 elif test "$ac_stdint_h" = "inttypes.h" ; then
14740 echo "$as_me:$LINENO: result: (are you sure you want them in ./inttypes.h?)" >&5
14741 echo "${ECHO_T}(are you sure you want them in ./inttypes.h?)" >&6
14742 elif test "_$ac_cv_header_stdint_t" = "_" ; then
14743 echo "$as_me:$LINENO: result: (putting them into $ac_stdint_h)$v" >&5
14744 echo "${ECHO_T}(putting them into $ac_stdint_h)$v" >&6
14746 ac_cv_header_stdint
="$ac_cv_header_stdint_t"
14747 echo "$as_me:$LINENO: result: $ac_cv_header_stdint (shortcircuit)" >&5
14748 echo "${ECHO_T}$ac_cv_header_stdint (shortcircuit)" >&6
14751 if test "_$ac_cv_header_stdint_t" = "_" ; then # can not shortcircuit..
14754 inttype_headers
=`echo | sed -e 's/,/ /g'`
14756 ac_cv_stdint_result
="(no helpful system typedefs seen)"
14758 echo "$as_me:$LINENO: checking for stdint uintptr_t" >&5
14759 echo $ECHO_N "checking for stdint uintptr_t... $ECHO_C" >&6
14760 if test "${ac_cv_header_stdint_x+set}" = set; then
14761 echo $ECHO_N "(cached) $ECHO_C" >&6
14764 ac_cv_header_stdint_x
="" # the 1997 typedefs (inttypes.h)
14765 echo "$as_me:$LINENO: result: (..)" >&5
14766 echo "${ECHO_T}(..)" >&6
14767 for i
in stdint.h inttypes.h sys
/inttypes.h
$inttype_headers ; do
14768 unset ac_cv_type_uintptr_t
14769 unset ac_cv_type_uint64_t
14770 echo "$as_me:$LINENO: checking for uintptr_t" >&5
14771 echo $ECHO_N "checking for uintptr_t... $ECHO_C" >&6
14772 if test "${ac_cv_type_uintptr_t+set}" = set; then
14773 echo $ECHO_N "(cached) $ECHO_C" >&6
14775 cat >conftest.
$ac_ext <<_ACEOF
14778 cat confdefs.h
>>conftest.
$ac_ext
14779 cat >>conftest.
$ac_ext <<_ACEOF
14780 /* end confdefs.h. */
14786 if ((uintptr_t *) 0)
14788 if (sizeof (uintptr_t))
14794 rm -f conftest.
$ac_objext
14795 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14796 (eval $ac_compile) 2>conftest.er1
14798 grep -v '^ *+' conftest.er1
>conftest.err
14800 cat conftest.err
>&5
14801 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14802 (exit $ac_status); } &&
14803 { ac_try
='test -z "$ac_c_werror_flag"
14804 || test ! -s conftest.err'
14805 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14806 (eval $ac_try) 2>&5
14808 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14809 (exit $ac_status); }; } &&
14810 { ac_try
='test -s conftest.$ac_objext'
14811 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14812 (eval $ac_try) 2>&5
14814 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14815 (exit $ac_status); }; }; then
14816 ac_cv_type_uintptr_t
=yes
14818 echo "$as_me: failed program was:" >&5
14819 sed 's/^/| /' conftest.
$ac_ext >&5
14821 ac_cv_type_uintptr_t
=no
14823 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
14825 echo "$as_me:$LINENO: result: $ac_cv_type_uintptr_t" >&5
14826 echo "${ECHO_T}$ac_cv_type_uintptr_t" >&6
14827 if test $ac_cv_type_uintptr_t = yes; then
14828 ac_cv_header_stdint_x
=$i
14833 echo "$as_me:$LINENO: checking for uint64_t" >&5
14834 echo $ECHO_N "checking for uint64_t... $ECHO_C" >&6
14835 if test "${ac_cv_type_uint64_t+set}" = set; then
14836 echo $ECHO_N "(cached) $ECHO_C" >&6
14838 cat >conftest.
$ac_ext <<_ACEOF
14841 cat confdefs.h
>>conftest.
$ac_ext
14842 cat >>conftest.
$ac_ext <<_ACEOF
14843 /* end confdefs.h. */
14849 if ((uint64_t *) 0)
14851 if (sizeof (uint64_t))
14857 rm -f conftest.
$ac_objext
14858 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14859 (eval $ac_compile) 2>conftest.er1
14861 grep -v '^ *+' conftest.er1
>conftest.err
14863 cat conftest.err
>&5
14864 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14865 (exit $ac_status); } &&
14866 { ac_try
='test -z "$ac_c_werror_flag"
14867 || test ! -s conftest.err'
14868 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14869 (eval $ac_try) 2>&5
14871 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14872 (exit $ac_status); }; } &&
14873 { ac_try
='test -s conftest.$ac_objext'
14874 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14875 (eval $ac_try) 2>&5
14877 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14878 (exit $ac_status); }; }; then
14879 ac_cv_type_uint64_t
=yes
14881 echo "$as_me: failed program was:" >&5
14882 sed 's/^/| /' conftest.
$ac_ext >&5
14884 ac_cv_type_uint64_t
=no
14886 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
14888 echo "$as_me:$LINENO: result: $ac_cv_type_uint64_t" >&5
14889 echo "${ECHO_T}$ac_cv_type_uint64_t" >&6
14890 if test $ac_cv_type_uint64_t = yes; then
14896 stdint.h inttypes.h sys
/inttypes.h
$inttype_headers
14899 echo "$as_me:$LINENO: checking for stdint uintptr_t" >&5
14900 echo $ECHO_N "checking for stdint uintptr_t... $ECHO_C" >&6
14903 echo "$as_me:$LINENO: result: $ac_cv_header_stdint_x" >&5
14904 echo "${ECHO_T}$ac_cv_header_stdint_x" >&6
14907 if test "_$ac_cv_header_stdint_x" = "_" ; then
14909 echo "$as_me:$LINENO: checking for stdint uint32_t" >&5
14910 echo $ECHO_N "checking for stdint uint32_t... $ECHO_C" >&6
14911 if test "${ac_cv_header_stdint_o+set}" = set; then
14912 echo $ECHO_N "(cached) $ECHO_C" >&6
14915 ac_cv_header_stdint_o
="" # the 1995 typedefs (sys/inttypes.h)
14916 echo "$as_me:$LINENO: result: (..)" >&5
14917 echo "${ECHO_T}(..)" >&6
14918 for i
in inttypes.h sys
/inttypes.h stdint.h
$inttype_headers ; do
14919 unset ac_cv_type_uint32_t
14920 unset ac_cv_type_uint64_t
14921 echo "$as_me:$LINENO: checking for uint32_t" >&5
14922 echo $ECHO_N "checking for uint32_t... $ECHO_C" >&6
14923 if test "${ac_cv_type_uint32_t+set}" = set; then
14924 echo $ECHO_N "(cached) $ECHO_C" >&6
14926 cat >conftest.
$ac_ext <<_ACEOF
14929 cat confdefs.h
>>conftest.
$ac_ext
14930 cat >>conftest.
$ac_ext <<_ACEOF
14931 /* end confdefs.h. */
14937 if ((uint32_t *) 0)
14939 if (sizeof (uint32_t))
14945 rm -f conftest.
$ac_objext
14946 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14947 (eval $ac_compile) 2>conftest.er1
14949 grep -v '^ *+' conftest.er1
>conftest.err
14951 cat conftest.err
>&5
14952 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14953 (exit $ac_status); } &&
14954 { ac_try
='test -z "$ac_c_werror_flag"
14955 || test ! -s conftest.err'
14956 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14957 (eval $ac_try) 2>&5
14959 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14960 (exit $ac_status); }; } &&
14961 { ac_try
='test -s conftest.$ac_objext'
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); }; }; then
14967 ac_cv_type_uint32_t
=yes
14969 echo "$as_me: failed program was:" >&5
14970 sed 's/^/| /' conftest.
$ac_ext >&5
14972 ac_cv_type_uint32_t
=no
14974 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
14976 echo "$as_me:$LINENO: result: $ac_cv_type_uint32_t" >&5
14977 echo "${ECHO_T}$ac_cv_type_uint32_t" >&6
14978 if test $ac_cv_type_uint32_t = yes; then
14979 ac_cv_header_stdint_o
=$i
14984 echo "$as_me:$LINENO: checking for uint64_t" >&5
14985 echo $ECHO_N "checking for uint64_t... $ECHO_C" >&6
14986 if test "${ac_cv_type_uint64_t+set}" = set; then
14987 echo $ECHO_N "(cached) $ECHO_C" >&6
14989 cat >conftest.
$ac_ext <<_ACEOF
14992 cat confdefs.h
>>conftest.
$ac_ext
14993 cat >>conftest.
$ac_ext <<_ACEOF
14994 /* end confdefs.h. */
15000 if ((uint64_t *) 0)
15002 if (sizeof (uint64_t))
15008 rm -f conftest.
$ac_objext
15009 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15010 (eval $ac_compile) 2>conftest.er1
15012 grep -v '^ *+' conftest.er1
>conftest.err
15014 cat conftest.err
>&5
15015 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15016 (exit $ac_status); } &&
15017 { ac_try
='test -z "$ac_c_werror_flag"
15018 || test ! -s conftest.err'
15019 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15020 (eval $ac_try) 2>&5
15022 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15023 (exit $ac_status); }; } &&
15024 { ac_try
='test -s conftest.$ac_objext'
15025 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15026 (eval $ac_try) 2>&5
15028 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15029 (exit $ac_status); }; }; then
15030 ac_cv_type_uint64_t
=yes
15032 echo "$as_me: failed program was:" >&5
15033 sed 's/^/| /' conftest.
$ac_ext >&5
15035 ac_cv_type_uint64_t
=no
15037 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
15039 echo "$as_me:$LINENO: result: $ac_cv_type_uint64_t" >&5
15040 echo "${ECHO_T}$ac_cv_type_uint64_t" >&6
15041 if test $ac_cv_type_uint64_t = yes; then
15047 inttypes.h sys
/inttypes.h stdint.h
$inttype_headers
15051 echo "$as_me:$LINENO: checking for stdint uint32_t" >&5
15052 echo $ECHO_N "checking for stdint uint32_t... $ECHO_C" >&6
15055 echo "$as_me:$LINENO: result: $ac_cv_header_stdint_o" >&5
15056 echo "${ECHO_T}$ac_cv_header_stdint_o" >&6
15060 if test "_$ac_cv_header_stdint_x" = "_" ; then
15061 if test "_$ac_cv_header_stdint_o" = "_" ; then
15063 echo "$as_me:$LINENO: checking for stdint u_int32_t" >&5
15064 echo $ECHO_N "checking for stdint u_int32_t... $ECHO_C" >&6
15065 if test "${ac_cv_header_stdint_u+set}" = set; then
15066 echo $ECHO_N "(cached) $ECHO_C" >&6
15069 ac_cv_header_stdint_u
="" # the BSD typedefs (sys/types.h)
15070 echo "$as_me:$LINENO: result: (..)" >&5
15071 echo "${ECHO_T}(..)" >&6
15072 for i
in sys
/types.h inttypes.h sys
/inttypes.h
$inttype_headers ; do
15073 unset ac_cv_type_u_int32_t
15074 unset ac_cv_type_u_int64_t
15075 echo "$as_me:$LINENO: checking for u_int32_t" >&5
15076 echo $ECHO_N "checking for u_int32_t... $ECHO_C" >&6
15077 if test "${ac_cv_type_u_int32_t+set}" = set; then
15078 echo $ECHO_N "(cached) $ECHO_C" >&6
15080 cat >conftest.
$ac_ext <<_ACEOF
15083 cat confdefs.h
>>conftest.
$ac_ext
15084 cat >>conftest.
$ac_ext <<_ACEOF
15085 /* end confdefs.h. */
15091 if ((u_int32_t *) 0)
15093 if (sizeof (u_int32_t))
15099 rm -f conftest.
$ac_objext
15100 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15101 (eval $ac_compile) 2>conftest.er1
15103 grep -v '^ *+' conftest.er1
>conftest.err
15105 cat conftest.err
>&5
15106 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15107 (exit $ac_status); } &&
15108 { ac_try
='test -z "$ac_c_werror_flag"
15109 || test ! -s conftest.err'
15110 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15111 (eval $ac_try) 2>&5
15113 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15114 (exit $ac_status); }; } &&
15115 { ac_try
='test -s conftest.$ac_objext'
15116 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15117 (eval $ac_try) 2>&5
15119 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15120 (exit $ac_status); }; }; then
15121 ac_cv_type_u_int32_t
=yes
15123 echo "$as_me: failed program was:" >&5
15124 sed 's/^/| /' conftest.
$ac_ext >&5
15126 ac_cv_type_u_int32_t
=no
15128 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
15130 echo "$as_me:$LINENO: result: $ac_cv_type_u_int32_t" >&5
15131 echo "${ECHO_T}$ac_cv_type_u_int32_t" >&6
15132 if test $ac_cv_type_u_int32_t = yes; then
15133 ac_cv_header_stdint_u
=$i
15138 echo "$as_me:$LINENO: checking for u_int64_t" >&5
15139 echo $ECHO_N "checking for u_int64_t... $ECHO_C" >&6
15140 if test "${ac_cv_type_u_int64_t+set}" = set; then
15141 echo $ECHO_N "(cached) $ECHO_C" >&6
15143 cat >conftest.
$ac_ext <<_ACEOF
15146 cat confdefs.h
>>conftest.
$ac_ext
15147 cat >>conftest.
$ac_ext <<_ACEOF
15148 /* end confdefs.h. */
15154 if ((u_int64_t *) 0)
15156 if (sizeof (u_int64_t))
15162 rm -f conftest.
$ac_objext
15163 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15164 (eval $ac_compile) 2>conftest.er1
15166 grep -v '^ *+' conftest.er1
>conftest.err
15168 cat conftest.err
>&5
15169 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15170 (exit $ac_status); } &&
15171 { ac_try
='test -z "$ac_c_werror_flag"
15172 || test ! -s conftest.err'
15173 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15174 (eval $ac_try) 2>&5
15176 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15177 (exit $ac_status); }; } &&
15178 { ac_try
='test -s conftest.$ac_objext'
15179 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15180 (eval $ac_try) 2>&5
15182 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15183 (exit $ac_status); }; }; then
15184 ac_cv_type_u_int64_t
=yes
15186 echo "$as_me: failed program was:" >&5
15187 sed 's/^/| /' conftest.
$ac_ext >&5
15189 ac_cv_type_u_int64_t
=no
15191 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
15193 echo "$as_me:$LINENO: result: $ac_cv_type_u_int64_t" >&5
15194 echo "${ECHO_T}$ac_cv_type_u_int64_t" >&6
15195 if test $ac_cv_type_u_int64_t = yes; then
15201 sys
/types.h inttypes.h sys
/inttypes.h
$inttype_headers
15205 echo "$as_me:$LINENO: checking for stdint u_int32_t" >&5
15206 echo $ECHO_N "checking for stdint u_int32_t... $ECHO_C" >&6
15209 echo "$as_me:$LINENO: result: $ac_cv_header_stdint_u" >&5
15210 echo "${ECHO_T}$ac_cv_header_stdint_u" >&6
15214 if test "_$ac_cv_header_stdint_x" = "_" ; then
15215 echo "$as_me:$LINENO: checking for stdint datatype model" >&5
15216 echo $ECHO_N "checking for stdint datatype model... $ECHO_C" >&6
15217 echo "$as_me:$LINENO: result: (..)" >&5
15218 echo "${ECHO_T}(..)" >&6
15220 echo "$as_me:$LINENO: checking for char" >&5
15221 echo $ECHO_N "checking for char... $ECHO_C" >&6
15222 if test "${ac_cv_type_char+set}" = set; then
15223 echo $ECHO_N "(cached) $ECHO_C" >&6
15225 cat >conftest.
$ac_ext <<_ACEOF
15228 cat confdefs.h
>>conftest.
$ac_ext
15229 cat >>conftest.
$ac_ext <<_ACEOF
15230 /* end confdefs.h. */
15231 $ac_includes_default
15243 rm -f conftest.
$ac_objext
15244 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15245 (eval $ac_compile) 2>conftest.er1
15247 grep -v '^ *+' conftest.er1
>conftest.err
15249 cat conftest.err
>&5
15250 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15251 (exit $ac_status); } &&
15252 { ac_try
='test -z "$ac_c_werror_flag"
15253 || test ! -s conftest.err'
15254 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15255 (eval $ac_try) 2>&5
15257 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15258 (exit $ac_status); }; } &&
15259 { ac_try
='test -s conftest.$ac_objext'
15260 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15261 (eval $ac_try) 2>&5
15263 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15264 (exit $ac_status); }; }; then
15265 ac_cv_type_char
=yes
15267 echo "$as_me: failed program was:" >&5
15268 sed 's/^/| /' conftest.
$ac_ext >&5
15272 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
15274 echo "$as_me:$LINENO: result: $ac_cv_type_char" >&5
15275 echo "${ECHO_T}$ac_cv_type_char" >&6
15277 echo "$as_me:$LINENO: checking size of char" >&5
15278 echo $ECHO_N "checking size of char... $ECHO_C" >&6
15279 if test "${ac_cv_sizeof_char+set}" = set; then
15280 echo $ECHO_N "(cached) $ECHO_C" >&6
15282 if test "$ac_cv_type_char" = yes; then
15283 # The cast to unsigned long works around a bug in the HP C Compiler
15284 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
15285 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
15286 # This bug is HP SR number 8606223364.
15287 if test "$cross_compiling" = yes; then
15288 # Depending upon the size, compute the lo and hi bounds.
15289 cat >conftest.
$ac_ext <<_ACEOF
15292 cat confdefs.h
>>conftest.
$ac_ext
15293 cat >>conftest.
$ac_ext <<_ACEOF
15294 /* end confdefs.h. */
15295 $ac_includes_default
15299 static int test_array [1 - 2 * !(((long) (sizeof (char))) >= 0)];
15306 rm -f conftest.
$ac_objext
15307 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15308 (eval $ac_compile) 2>conftest.er1
15310 grep -v '^ *+' conftest.er1
>conftest.err
15312 cat conftest.err
>&5
15313 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15314 (exit $ac_status); } &&
15315 { ac_try
='test -z "$ac_c_werror_flag"
15316 || test ! -s conftest.err'
15317 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15318 (eval $ac_try) 2>&5
15320 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15321 (exit $ac_status); }; } &&
15322 { ac_try
='test -s conftest.$ac_objext'
15323 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15324 (eval $ac_try) 2>&5
15326 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15327 (exit $ac_status); }; }; then
15330 cat >conftest.
$ac_ext <<_ACEOF
15333 cat confdefs.h
>>conftest.
$ac_ext
15334 cat >>conftest.
$ac_ext <<_ACEOF
15335 /* end confdefs.h. */
15336 $ac_includes_default
15340 static int test_array [1 - 2 * !(((long) (sizeof (char))) <= $ac_mid)];
15347 rm -f conftest.
$ac_objext
15348 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15349 (eval $ac_compile) 2>conftest.er1
15351 grep -v '^ *+' conftest.er1
>conftest.err
15353 cat conftest.err
>&5
15354 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15355 (exit $ac_status); } &&
15356 { ac_try
='test -z "$ac_c_werror_flag"
15357 || test ! -s conftest.err'
15358 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15359 (eval $ac_try) 2>&5
15361 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15362 (exit $ac_status); }; } &&
15363 { ac_try
='test -s conftest.$ac_objext'
15364 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15365 (eval $ac_try) 2>&5
15367 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15368 (exit $ac_status); }; }; then
15369 ac_hi
=$ac_mid; break
15371 echo "$as_me: failed program was:" >&5
15372 sed 's/^/| /' conftest.
$ac_ext >&5
15374 ac_lo
=`expr $ac_mid + 1`
15375 if test $ac_lo -le $ac_mid; then
15379 ac_mid
=`expr 2 '*' $ac_mid + 1`
15381 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
15384 echo "$as_me: failed program was:" >&5
15385 sed 's/^/| /' conftest.
$ac_ext >&5
15387 cat >conftest.
$ac_ext <<_ACEOF
15390 cat confdefs.h
>>conftest.
$ac_ext
15391 cat >>conftest.
$ac_ext <<_ACEOF
15392 /* end confdefs.h. */
15393 $ac_includes_default
15397 static int test_array [1 - 2 * !(((long) (sizeof (char))) < 0)];
15404 rm -f conftest.
$ac_objext
15405 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15406 (eval $ac_compile) 2>conftest.er1
15408 grep -v '^ *+' conftest.er1
>conftest.err
15410 cat conftest.err
>&5
15411 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15412 (exit $ac_status); } &&
15413 { ac_try
='test -z "$ac_c_werror_flag"
15414 || test ! -s conftest.err'
15415 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15416 (eval $ac_try) 2>&5
15418 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15419 (exit $ac_status); }; } &&
15420 { ac_try
='test -s conftest.$ac_objext'
15421 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15422 (eval $ac_try) 2>&5
15424 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15425 (exit $ac_status); }; }; then
15428 cat >conftest.
$ac_ext <<_ACEOF
15431 cat confdefs.h
>>conftest.
$ac_ext
15432 cat >>conftest.
$ac_ext <<_ACEOF
15433 /* end confdefs.h. */
15434 $ac_includes_default
15438 static int test_array [1 - 2 * !(((long) (sizeof (char))) >= $ac_mid)];
15445 rm -f conftest.
$ac_objext
15446 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15447 (eval $ac_compile) 2>conftest.er1
15449 grep -v '^ *+' conftest.er1
>conftest.err
15451 cat conftest.err
>&5
15452 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15453 (exit $ac_status); } &&
15454 { ac_try
='test -z "$ac_c_werror_flag"
15455 || test ! -s conftest.err'
15456 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15457 (eval $ac_try) 2>&5
15459 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15460 (exit $ac_status); }; } &&
15461 { ac_try
='test -s conftest.$ac_objext'
15462 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15463 (eval $ac_try) 2>&5
15465 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15466 (exit $ac_status); }; }; then
15467 ac_lo
=$ac_mid; break
15469 echo "$as_me: failed program was:" >&5
15470 sed 's/^/| /' conftest.
$ac_ext >&5
15472 ac_hi
=`expr '(' $ac_mid ')' - 1`
15473 if test $ac_mid -le $ac_hi; then
15477 ac_mid
=`expr 2 '*' $ac_mid`
15479 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
15482 echo "$as_me: failed program was:" >&5
15483 sed 's/^/| /' conftest.
$ac_ext >&5
15487 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
15489 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
15490 # Binary search between lo and hi bounds.
15491 while test "x$ac_lo" != "x$ac_hi"; do
15492 ac_mid
=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
15493 cat >conftest.
$ac_ext <<_ACEOF
15496 cat confdefs.h
>>conftest.
$ac_ext
15497 cat >>conftest.
$ac_ext <<_ACEOF
15498 /* end confdefs.h. */
15499 $ac_includes_default
15503 static int test_array [1 - 2 * !(((long) (sizeof (char))) <= $ac_mid)];
15510 rm -f conftest.
$ac_objext
15511 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15512 (eval $ac_compile) 2>conftest.er1
15514 grep -v '^ *+' conftest.er1
>conftest.err
15516 cat conftest.err
>&5
15517 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15518 (exit $ac_status); } &&
15519 { ac_try
='test -z "$ac_c_werror_flag"
15520 || test ! -s conftest.err'
15521 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15522 (eval $ac_try) 2>&5
15524 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15525 (exit $ac_status); }; } &&
15526 { ac_try
='test -s conftest.$ac_objext'
15527 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15528 (eval $ac_try) 2>&5
15530 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15531 (exit $ac_status); }; }; then
15534 echo "$as_me: failed program was:" >&5
15535 sed 's/^/| /' conftest.
$ac_ext >&5
15537 ac_lo
=`expr '(' $ac_mid ')' + 1`
15539 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
15542 ?
*) ac_cv_sizeof_char
=$ac_lo;;
15543 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (char), 77
15544 See \`config.log' for more details." >&5
15545 echo "$as_me: error: cannot compute sizeof (char), 77
15546 See \`config.log' for more details." >&2;}
15547 { (exit 1); exit 1; }; } ;;
15550 if test "$cross_compiling" = yes; then
15551 { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
15552 See \`config.log' for more details." >&5
15553 echo "$as_me: error: cannot run test program while cross compiling
15554 See \`config.log' for more details." >&2;}
15555 { (exit 1); exit 1; }; }
15557 cat >conftest.
$ac_ext <<_ACEOF
15560 cat confdefs.h
>>conftest.
$ac_ext
15561 cat >>conftest.
$ac_ext <<_ACEOF
15562 /* end confdefs.h. */
15563 $ac_includes_default
15564 long longval () { return (long) (sizeof (char)); }
15565 unsigned long ulongval () { return (long) (sizeof (char)); }
15567 #include <stdlib.h>
15572 FILE *f = fopen ("conftest.val", "w");
15575 if (((long) (sizeof (char))) < 0)
15577 long i = longval ();
15578 if (i != ((long) (sizeof (char))))
15580 fprintf (f, "%ld\n", i);
15584 unsigned long i = ulongval ();
15585 if (i != ((long) (sizeof (char))))
15587 fprintf (f, "%lu\n", i);
15589 exit (ferror (f) || fclose (f) != 0);
15595 rm -f conftest
$ac_exeext
15596 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
15597 (eval $ac_link) 2>&5
15599 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15600 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
15601 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15602 (eval $ac_try) 2>&5
15604 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15605 (exit $ac_status); }; }; then
15606 ac_cv_sizeof_char
=`cat conftest.val`
15608 echo "$as_me: program exited with status $ac_status" >&5
15609 echo "$as_me: failed program was:" >&5
15610 sed 's/^/| /' conftest.
$ac_ext >&5
15612 ( exit $ac_status )
15613 { { echo "$as_me:$LINENO: error: cannot compute sizeof (char), 77
15614 See \`config.log' for more details." >&5
15615 echo "$as_me: error: cannot compute sizeof (char), 77
15616 See \`config.log' for more details." >&2;}
15617 { (exit 1); exit 1; }; }
15619 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
15624 ac_cv_sizeof_char
=0
15627 echo "$as_me:$LINENO: result: $ac_cv_sizeof_char" >&5
15628 echo "${ECHO_T}$ac_cv_sizeof_char" >&6
15629 cat >>confdefs.h
<<_ACEOF
15630 #define SIZEOF_CHAR $ac_cv_sizeof_char
15634 echo "$as_me:$LINENO: checking for short" >&5
15635 echo $ECHO_N "checking for short... $ECHO_C" >&6
15636 if test "${ac_cv_type_short+set}" = set; then
15637 echo $ECHO_N "(cached) $ECHO_C" >&6
15639 cat >conftest.
$ac_ext <<_ACEOF
15642 cat confdefs.h
>>conftest.
$ac_ext
15643 cat >>conftest.
$ac_ext <<_ACEOF
15644 /* end confdefs.h. */
15645 $ac_includes_default
15651 if (sizeof (short))
15657 rm -f conftest.
$ac_objext
15658 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15659 (eval $ac_compile) 2>conftest.er1
15661 grep -v '^ *+' conftest.er1
>conftest.err
15663 cat conftest.err
>&5
15664 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15665 (exit $ac_status); } &&
15666 { ac_try
='test -z "$ac_c_werror_flag"
15667 || test ! -s conftest.err'
15668 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15669 (eval $ac_try) 2>&5
15671 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15672 (exit $ac_status); }; } &&
15673 { ac_try
='test -s conftest.$ac_objext'
15674 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15675 (eval $ac_try) 2>&5
15677 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15678 (exit $ac_status); }; }; then
15679 ac_cv_type_short
=yes
15681 echo "$as_me: failed program was:" >&5
15682 sed 's/^/| /' conftest.
$ac_ext >&5
15684 ac_cv_type_short
=no
15686 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
15688 echo "$as_me:$LINENO: result: $ac_cv_type_short" >&5
15689 echo "${ECHO_T}$ac_cv_type_short" >&6
15691 echo "$as_me:$LINENO: checking size of short" >&5
15692 echo $ECHO_N "checking size of short... $ECHO_C" >&6
15693 if test "${ac_cv_sizeof_short+set}" = set; then
15694 echo $ECHO_N "(cached) $ECHO_C" >&6
15696 if test "$ac_cv_type_short" = yes; then
15697 # The cast to unsigned long works around a bug in the HP C Compiler
15698 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
15699 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
15700 # This bug is HP SR number 8606223364.
15701 if test "$cross_compiling" = yes; then
15702 # Depending upon the size, compute the lo and hi bounds.
15703 cat >conftest.
$ac_ext <<_ACEOF
15706 cat confdefs.h
>>conftest.
$ac_ext
15707 cat >>conftest.
$ac_ext <<_ACEOF
15708 /* end confdefs.h. */
15709 $ac_includes_default
15713 static int test_array [1 - 2 * !(((long) (sizeof (short))) >= 0)];
15720 rm -f conftest.
$ac_objext
15721 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15722 (eval $ac_compile) 2>conftest.er1
15724 grep -v '^ *+' conftest.er1
>conftest.err
15726 cat conftest.err
>&5
15727 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15728 (exit $ac_status); } &&
15729 { ac_try
='test -z "$ac_c_werror_flag"
15730 || test ! -s conftest.err'
15731 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15732 (eval $ac_try) 2>&5
15734 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15735 (exit $ac_status); }; } &&
15736 { ac_try
='test -s conftest.$ac_objext'
15737 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15738 (eval $ac_try) 2>&5
15740 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15741 (exit $ac_status); }; }; then
15744 cat >conftest.
$ac_ext <<_ACEOF
15747 cat confdefs.h
>>conftest.
$ac_ext
15748 cat >>conftest.
$ac_ext <<_ACEOF
15749 /* end confdefs.h. */
15750 $ac_includes_default
15754 static int test_array [1 - 2 * !(((long) (sizeof (short))) <= $ac_mid)];
15761 rm -f conftest.
$ac_objext
15762 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15763 (eval $ac_compile) 2>conftest.er1
15765 grep -v '^ *+' conftest.er1
>conftest.err
15767 cat conftest.err
>&5
15768 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15769 (exit $ac_status); } &&
15770 { ac_try
='test -z "$ac_c_werror_flag"
15771 || test ! -s conftest.err'
15772 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15773 (eval $ac_try) 2>&5
15775 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15776 (exit $ac_status); }; } &&
15777 { ac_try
='test -s conftest.$ac_objext'
15778 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15779 (eval $ac_try) 2>&5
15781 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15782 (exit $ac_status); }; }; then
15783 ac_hi
=$ac_mid; break
15785 echo "$as_me: failed program was:" >&5
15786 sed 's/^/| /' conftest.
$ac_ext >&5
15788 ac_lo
=`expr $ac_mid + 1`
15789 if test $ac_lo -le $ac_mid; then
15793 ac_mid
=`expr 2 '*' $ac_mid + 1`
15795 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
15798 echo "$as_me: failed program was:" >&5
15799 sed 's/^/| /' conftest.
$ac_ext >&5
15801 cat >conftest.
$ac_ext <<_ACEOF
15804 cat confdefs.h
>>conftest.
$ac_ext
15805 cat >>conftest.
$ac_ext <<_ACEOF
15806 /* end confdefs.h. */
15807 $ac_includes_default
15811 static int test_array [1 - 2 * !(((long) (sizeof (short))) < 0)];
15818 rm -f conftest.
$ac_objext
15819 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15820 (eval $ac_compile) 2>conftest.er1
15822 grep -v '^ *+' conftest.er1
>conftest.err
15824 cat conftest.err
>&5
15825 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15826 (exit $ac_status); } &&
15827 { ac_try
='test -z "$ac_c_werror_flag"
15828 || test ! -s conftest.err'
15829 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15830 (eval $ac_try) 2>&5
15832 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15833 (exit $ac_status); }; } &&
15834 { ac_try
='test -s conftest.$ac_objext'
15835 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15836 (eval $ac_try) 2>&5
15838 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15839 (exit $ac_status); }; }; then
15842 cat >conftest.
$ac_ext <<_ACEOF
15845 cat confdefs.h
>>conftest.
$ac_ext
15846 cat >>conftest.
$ac_ext <<_ACEOF
15847 /* end confdefs.h. */
15848 $ac_includes_default
15852 static int test_array [1 - 2 * !(((long) (sizeof (short))) >= $ac_mid)];
15859 rm -f conftest.
$ac_objext
15860 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15861 (eval $ac_compile) 2>conftest.er1
15863 grep -v '^ *+' conftest.er1
>conftest.err
15865 cat conftest.err
>&5
15866 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15867 (exit $ac_status); } &&
15868 { ac_try
='test -z "$ac_c_werror_flag"
15869 || test ! -s conftest.err'
15870 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15871 (eval $ac_try) 2>&5
15873 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15874 (exit $ac_status); }; } &&
15875 { ac_try
='test -s conftest.$ac_objext'
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); }; }; then
15881 ac_lo
=$ac_mid; break
15883 echo "$as_me: failed program was:" >&5
15884 sed 's/^/| /' conftest.
$ac_ext >&5
15886 ac_hi
=`expr '(' $ac_mid ')' - 1`
15887 if test $ac_mid -le $ac_hi; then
15891 ac_mid
=`expr 2 '*' $ac_mid`
15893 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
15896 echo "$as_me: failed program was:" >&5
15897 sed 's/^/| /' conftest.
$ac_ext >&5
15901 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
15903 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
15904 # Binary search between lo and hi bounds.
15905 while test "x$ac_lo" != "x$ac_hi"; do
15906 ac_mid
=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
15907 cat >conftest.
$ac_ext <<_ACEOF
15910 cat confdefs.h
>>conftest.
$ac_ext
15911 cat >>conftest.
$ac_ext <<_ACEOF
15912 /* end confdefs.h. */
15913 $ac_includes_default
15917 static int test_array [1 - 2 * !(((long) (sizeof (short))) <= $ac_mid)];
15924 rm -f conftest.
$ac_objext
15925 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15926 (eval $ac_compile) 2>conftest.er1
15928 grep -v '^ *+' conftest.er1
>conftest.err
15930 cat conftest.err
>&5
15931 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15932 (exit $ac_status); } &&
15933 { ac_try
='test -z "$ac_c_werror_flag"
15934 || test ! -s conftest.err'
15935 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15936 (eval $ac_try) 2>&5
15938 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15939 (exit $ac_status); }; } &&
15940 { ac_try
='test -s conftest.$ac_objext'
15941 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15942 (eval $ac_try) 2>&5
15944 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15945 (exit $ac_status); }; }; then
15948 echo "$as_me: failed program was:" >&5
15949 sed 's/^/| /' conftest.
$ac_ext >&5
15951 ac_lo
=`expr '(' $ac_mid ')' + 1`
15953 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
15956 ?
*) ac_cv_sizeof_short
=$ac_lo;;
15957 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (short), 77
15958 See \`config.log' for more details." >&5
15959 echo "$as_me: error: cannot compute sizeof (short), 77
15960 See \`config.log' for more details." >&2;}
15961 { (exit 1); exit 1; }; } ;;
15964 if test "$cross_compiling" = yes; then
15965 { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
15966 See \`config.log' for more details." >&5
15967 echo "$as_me: error: cannot run test program while cross compiling
15968 See \`config.log' for more details." >&2;}
15969 { (exit 1); exit 1; }; }
15971 cat >conftest.
$ac_ext <<_ACEOF
15974 cat confdefs.h
>>conftest.
$ac_ext
15975 cat >>conftest.
$ac_ext <<_ACEOF
15976 /* end confdefs.h. */
15977 $ac_includes_default
15978 long longval () { return (long) (sizeof (short)); }
15979 unsigned long ulongval () { return (long) (sizeof (short)); }
15981 #include <stdlib.h>
15986 FILE *f = fopen ("conftest.val", "w");
15989 if (((long) (sizeof (short))) < 0)
15991 long i = longval ();
15992 if (i != ((long) (sizeof (short))))
15994 fprintf (f, "%ld\n", i);
15998 unsigned long i = ulongval ();
15999 if (i != ((long) (sizeof (short))))
16001 fprintf (f, "%lu\n", i);
16003 exit (ferror (f) || fclose (f) != 0);
16009 rm -f conftest
$ac_exeext
16010 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
16011 (eval $ac_link) 2>&5
16013 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16014 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
16015 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16016 (eval $ac_try) 2>&5
16018 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16019 (exit $ac_status); }; }; then
16020 ac_cv_sizeof_short
=`cat conftest.val`
16022 echo "$as_me: program exited with status $ac_status" >&5
16023 echo "$as_me: failed program was:" >&5
16024 sed 's/^/| /' conftest.
$ac_ext >&5
16026 ( exit $ac_status )
16027 { { echo "$as_me:$LINENO: error: cannot compute sizeof (short), 77
16028 See \`config.log' for more details." >&5
16029 echo "$as_me: error: cannot compute sizeof (short), 77
16030 See \`config.log' for more details." >&2;}
16031 { (exit 1); exit 1; }; }
16033 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
16038 ac_cv_sizeof_short
=0
16041 echo "$as_me:$LINENO: result: $ac_cv_sizeof_short" >&5
16042 echo "${ECHO_T}$ac_cv_sizeof_short" >&6
16043 cat >>confdefs.h
<<_ACEOF
16044 #define SIZEOF_SHORT $ac_cv_sizeof_short
16048 echo "$as_me:$LINENO: checking for int" >&5
16049 echo $ECHO_N "checking for int... $ECHO_C" >&6
16050 if test "${ac_cv_type_int+set}" = set; then
16051 echo $ECHO_N "(cached) $ECHO_C" >&6
16053 cat >conftest.
$ac_ext <<_ACEOF
16056 cat confdefs.h
>>conftest.
$ac_ext
16057 cat >>conftest.
$ac_ext <<_ACEOF
16058 /* end confdefs.h. */
16059 $ac_includes_default
16071 rm -f conftest.
$ac_objext
16072 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16073 (eval $ac_compile) 2>conftest.er1
16075 grep -v '^ *+' conftest.er1
>conftest.err
16077 cat conftest.err
>&5
16078 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16079 (exit $ac_status); } &&
16080 { ac_try
='test -z "$ac_c_werror_flag"
16081 || test ! -s conftest.err'
16082 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16083 (eval $ac_try) 2>&5
16085 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16086 (exit $ac_status); }; } &&
16087 { ac_try
='test -s conftest.$ac_objext'
16088 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16089 (eval $ac_try) 2>&5
16091 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16092 (exit $ac_status); }; }; then
16095 echo "$as_me: failed program was:" >&5
16096 sed 's/^/| /' conftest.
$ac_ext >&5
16100 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
16102 echo "$as_me:$LINENO: result: $ac_cv_type_int" >&5
16103 echo "${ECHO_T}$ac_cv_type_int" >&6
16105 echo "$as_me:$LINENO: checking size of int" >&5
16106 echo $ECHO_N "checking size of int... $ECHO_C" >&6
16107 if test "${ac_cv_sizeof_int+set}" = set; then
16108 echo $ECHO_N "(cached) $ECHO_C" >&6
16110 if test "$ac_cv_type_int" = yes; then
16111 # The cast to unsigned long works around a bug in the HP C Compiler
16112 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
16113 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
16114 # This bug is HP SR number 8606223364.
16115 if test "$cross_compiling" = yes; then
16116 # Depending upon the size, compute the lo and hi bounds.
16117 cat >conftest.
$ac_ext <<_ACEOF
16120 cat confdefs.h
>>conftest.
$ac_ext
16121 cat >>conftest.
$ac_ext <<_ACEOF
16122 /* end confdefs.h. */
16123 $ac_includes_default
16127 static int test_array [1 - 2 * !(((long) (sizeof (int))) >= 0)];
16134 rm -f conftest.
$ac_objext
16135 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16136 (eval $ac_compile) 2>conftest.er1
16138 grep -v '^ *+' conftest.er1
>conftest.err
16140 cat conftest.err
>&5
16141 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16142 (exit $ac_status); } &&
16143 { ac_try
='test -z "$ac_c_werror_flag"
16144 || test ! -s conftest.err'
16145 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16146 (eval $ac_try) 2>&5
16148 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16149 (exit $ac_status); }; } &&
16150 { ac_try
='test -s conftest.$ac_objext'
16151 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16152 (eval $ac_try) 2>&5
16154 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16155 (exit $ac_status); }; }; then
16158 cat >conftest.
$ac_ext <<_ACEOF
16161 cat confdefs.h
>>conftest.
$ac_ext
16162 cat >>conftest.
$ac_ext <<_ACEOF
16163 /* end confdefs.h. */
16164 $ac_includes_default
16168 static int test_array [1 - 2 * !(((long) (sizeof (int))) <= $ac_mid)];
16175 rm -f conftest.
$ac_objext
16176 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16177 (eval $ac_compile) 2>conftest.er1
16179 grep -v '^ *+' conftest.er1
>conftest.err
16181 cat conftest.err
>&5
16182 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16183 (exit $ac_status); } &&
16184 { ac_try
='test -z "$ac_c_werror_flag"
16185 || test ! -s conftest.err'
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); }; } &&
16191 { ac_try
='test -s conftest.$ac_objext'
16192 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16193 (eval $ac_try) 2>&5
16195 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16196 (exit $ac_status); }; }; then
16197 ac_hi
=$ac_mid; break
16199 echo "$as_me: failed program was:" >&5
16200 sed 's/^/| /' conftest.
$ac_ext >&5
16202 ac_lo
=`expr $ac_mid + 1`
16203 if test $ac_lo -le $ac_mid; then
16207 ac_mid
=`expr 2 '*' $ac_mid + 1`
16209 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
16212 echo "$as_me: failed program was:" >&5
16213 sed 's/^/| /' conftest.
$ac_ext >&5
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 (int))) < 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"
16242 || test ! -s conftest.err'
16243 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16244 (eval $ac_try) 2>&5
16246 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16247 (exit $ac_status); }; } &&
16248 { ac_try
='test -s conftest.$ac_objext'
16249 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16250 (eval $ac_try) 2>&5
16252 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16253 (exit $ac_status); }; }; then
16256 cat >conftest.
$ac_ext <<_ACEOF
16259 cat confdefs.h
>>conftest.
$ac_ext
16260 cat >>conftest.
$ac_ext <<_ACEOF
16261 /* end confdefs.h. */
16262 $ac_includes_default
16266 static int test_array [1 - 2 * !(((long) (sizeof (int))) >= $ac_mid)];
16273 rm -f conftest.
$ac_objext
16274 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16275 (eval $ac_compile) 2>conftest.er1
16277 grep -v '^ *+' conftest.er1
>conftest.err
16279 cat conftest.err
>&5
16280 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16281 (exit $ac_status); } &&
16282 { ac_try
='test -z "$ac_c_werror_flag"
16283 || test ! -s conftest.err'
16284 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16285 (eval $ac_try) 2>&5
16287 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16288 (exit $ac_status); }; } &&
16289 { ac_try
='test -s conftest.$ac_objext'
16290 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16291 (eval $ac_try) 2>&5
16293 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16294 (exit $ac_status); }; }; then
16295 ac_lo
=$ac_mid; break
16297 echo "$as_me: failed program was:" >&5
16298 sed 's/^/| /' conftest.
$ac_ext >&5
16300 ac_hi
=`expr '(' $ac_mid ')' - 1`
16301 if test $ac_mid -le $ac_hi; then
16305 ac_mid
=`expr 2 '*' $ac_mid`
16307 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
16310 echo "$as_me: failed program was:" >&5
16311 sed 's/^/| /' conftest.
$ac_ext >&5
16315 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
16317 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
16318 # Binary search between lo and hi bounds.
16319 while test "x$ac_lo" != "x$ac_hi"; do
16320 ac_mid
=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
16321 cat >conftest.
$ac_ext <<_ACEOF
16324 cat confdefs.h
>>conftest.
$ac_ext
16325 cat >>conftest.
$ac_ext <<_ACEOF
16326 /* end confdefs.h. */
16327 $ac_includes_default
16331 static int test_array [1 - 2 * !(((long) (sizeof (int))) <= $ac_mid)];
16338 rm -f conftest.
$ac_objext
16339 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16340 (eval $ac_compile) 2>conftest.er1
16342 grep -v '^ *+' conftest.er1
>conftest.err
16344 cat conftest.err
>&5
16345 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16346 (exit $ac_status); } &&
16347 { ac_try
='test -z "$ac_c_werror_flag"
16348 || test ! -s conftest.err'
16349 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16350 (eval $ac_try) 2>&5
16352 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16353 (exit $ac_status); }; } &&
16354 { ac_try
='test -s conftest.$ac_objext'
16355 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16356 (eval $ac_try) 2>&5
16358 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16359 (exit $ac_status); }; }; then
16362 echo "$as_me: failed program was:" >&5
16363 sed 's/^/| /' conftest.
$ac_ext >&5
16365 ac_lo
=`expr '(' $ac_mid ')' + 1`
16367 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
16370 ?
*) ac_cv_sizeof_int
=$ac_lo;;
16371 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (int), 77
16372 See \`config.log' for more details." >&5
16373 echo "$as_me: error: cannot compute sizeof (int), 77
16374 See \`config.log' for more details." >&2;}
16375 { (exit 1); exit 1; }; } ;;
16378 if test "$cross_compiling" = yes; then
16379 { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
16380 See \`config.log' for more details." >&5
16381 echo "$as_me: error: cannot run test program while cross compiling
16382 See \`config.log' for more details." >&2;}
16383 { (exit 1); exit 1; }; }
16385 cat >conftest.
$ac_ext <<_ACEOF
16388 cat confdefs.h
>>conftest.
$ac_ext
16389 cat >>conftest.
$ac_ext <<_ACEOF
16390 /* end confdefs.h. */
16391 $ac_includes_default
16392 long longval () { return (long) (sizeof (int)); }
16393 unsigned long ulongval () { return (long) (sizeof (int)); }
16395 #include <stdlib.h>
16400 FILE *f = fopen ("conftest.val", "w");
16403 if (((long) (sizeof (int))) < 0)
16405 long i = longval ();
16406 if (i != ((long) (sizeof (int))))
16408 fprintf (f, "%ld\n", i);
16412 unsigned long i = ulongval ();
16413 if (i != ((long) (sizeof (int))))
16415 fprintf (f, "%lu\n", i);
16417 exit (ferror (f) || fclose (f) != 0);
16423 rm -f conftest
$ac_exeext
16424 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
16425 (eval $ac_link) 2>&5
16427 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16428 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
16429 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16430 (eval $ac_try) 2>&5
16432 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16433 (exit $ac_status); }; }; then
16434 ac_cv_sizeof_int
=`cat conftest.val`
16436 echo "$as_me: program exited with status $ac_status" >&5
16437 echo "$as_me: failed program was:" >&5
16438 sed 's/^/| /' conftest.
$ac_ext >&5
16440 ( exit $ac_status )
16441 { { echo "$as_me:$LINENO: error: cannot compute sizeof (int), 77
16442 See \`config.log' for more details." >&5
16443 echo "$as_me: error: cannot compute sizeof (int), 77
16444 See \`config.log' for more details." >&2;}
16445 { (exit 1); exit 1; }; }
16447 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
16455 echo "$as_me:$LINENO: result: $ac_cv_sizeof_int" >&5
16456 echo "${ECHO_T}$ac_cv_sizeof_int" >&6
16457 cat >>confdefs.h
<<_ACEOF
16458 #define SIZEOF_INT $ac_cv_sizeof_int
16462 echo "$as_me:$LINENO: checking for long" >&5
16463 echo $ECHO_N "checking for long... $ECHO_C" >&6
16464 if test "${ac_cv_type_long+set}" = set; then
16465 echo $ECHO_N "(cached) $ECHO_C" >&6
16467 cat >conftest.
$ac_ext <<_ACEOF
16470 cat confdefs.h
>>conftest.
$ac_ext
16471 cat >>conftest.
$ac_ext <<_ACEOF
16472 /* end confdefs.h. */
16473 $ac_includes_default
16485 rm -f conftest.
$ac_objext
16486 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16487 (eval $ac_compile) 2>conftest.er1
16489 grep -v '^ *+' conftest.er1
>conftest.err
16491 cat conftest.err
>&5
16492 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16493 (exit $ac_status); } &&
16494 { ac_try
='test -z "$ac_c_werror_flag"
16495 || test ! -s conftest.err'
16496 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16497 (eval $ac_try) 2>&5
16499 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16500 (exit $ac_status); }; } &&
16501 { ac_try
='test -s conftest.$ac_objext'
16502 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16503 (eval $ac_try) 2>&5
16505 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16506 (exit $ac_status); }; }; then
16507 ac_cv_type_long
=yes
16509 echo "$as_me: failed program was:" >&5
16510 sed 's/^/| /' conftest.
$ac_ext >&5
16514 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
16516 echo "$as_me:$LINENO: result: $ac_cv_type_long" >&5
16517 echo "${ECHO_T}$ac_cv_type_long" >&6
16519 echo "$as_me:$LINENO: checking size of long" >&5
16520 echo $ECHO_N "checking size of long... $ECHO_C" >&6
16521 if test "${ac_cv_sizeof_long+set}" = set; then
16522 echo $ECHO_N "(cached) $ECHO_C" >&6
16524 if test "$ac_cv_type_long" = yes; then
16525 # The cast to unsigned long works around a bug in the HP C Compiler
16526 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
16527 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
16528 # This bug is HP SR number 8606223364.
16529 if test "$cross_compiling" = yes; then
16530 # Depending upon the size, compute the lo and hi bounds.
16531 cat >conftest.
$ac_ext <<_ACEOF
16534 cat confdefs.h
>>conftest.
$ac_ext
16535 cat >>conftest.
$ac_ext <<_ACEOF
16536 /* end confdefs.h. */
16537 $ac_includes_default
16541 static int test_array [1 - 2 * !(((long) (sizeof (long))) >= 0)];
16548 rm -f conftest.
$ac_objext
16549 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16550 (eval $ac_compile) 2>conftest.er1
16552 grep -v '^ *+' conftest.er1
>conftest.err
16554 cat conftest.err
>&5
16555 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16556 (exit $ac_status); } &&
16557 { ac_try
='test -z "$ac_c_werror_flag"
16558 || test ! -s conftest.err'
16559 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16560 (eval $ac_try) 2>&5
16562 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16563 (exit $ac_status); }; } &&
16564 { ac_try
='test -s conftest.$ac_objext'
16565 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16566 (eval $ac_try) 2>&5
16568 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16569 (exit $ac_status); }; }; then
16572 cat >conftest.
$ac_ext <<_ACEOF
16575 cat confdefs.h
>>conftest.
$ac_ext
16576 cat >>conftest.
$ac_ext <<_ACEOF
16577 /* end confdefs.h. */
16578 $ac_includes_default
16582 static int test_array [1 - 2 * !(((long) (sizeof (long))) <= $ac_mid)];
16589 rm -f conftest.
$ac_objext
16590 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16591 (eval $ac_compile) 2>conftest.er1
16593 grep -v '^ *+' conftest.er1
>conftest.err
16595 cat conftest.err
>&5
16596 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16597 (exit $ac_status); } &&
16598 { ac_try
='test -z "$ac_c_werror_flag"
16599 || test ! -s conftest.err'
16600 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16601 (eval $ac_try) 2>&5
16603 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16604 (exit $ac_status); }; } &&
16605 { ac_try
='test -s conftest.$ac_objext'
16606 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16607 (eval $ac_try) 2>&5
16609 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16610 (exit $ac_status); }; }; then
16611 ac_hi
=$ac_mid; break
16613 echo "$as_me: failed program was:" >&5
16614 sed 's/^/| /' conftest.
$ac_ext >&5
16616 ac_lo
=`expr $ac_mid + 1`
16617 if test $ac_lo -le $ac_mid; then
16621 ac_mid
=`expr 2 '*' $ac_mid + 1`
16623 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
16626 echo "$as_me: failed program was:" >&5
16627 sed 's/^/| /' conftest.
$ac_ext >&5
16629 cat >conftest.
$ac_ext <<_ACEOF
16632 cat confdefs.h
>>conftest.
$ac_ext
16633 cat >>conftest.
$ac_ext <<_ACEOF
16634 /* end confdefs.h. */
16635 $ac_includes_default
16639 static int test_array [1 - 2 * !(((long) (sizeof (long))) < 0)];
16646 rm -f conftest.
$ac_objext
16647 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16648 (eval $ac_compile) 2>conftest.er1
16650 grep -v '^ *+' conftest.er1
>conftest.err
16652 cat conftest.err
>&5
16653 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16654 (exit $ac_status); } &&
16655 { ac_try
='test -z "$ac_c_werror_flag"
16656 || test ! -s conftest.err'
16657 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16658 (eval $ac_try) 2>&5
16660 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16661 (exit $ac_status); }; } &&
16662 { ac_try
='test -s conftest.$ac_objext'
16663 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16664 (eval $ac_try) 2>&5
16666 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16667 (exit $ac_status); }; }; then
16670 cat >conftest.
$ac_ext <<_ACEOF
16673 cat confdefs.h
>>conftest.
$ac_ext
16674 cat >>conftest.
$ac_ext <<_ACEOF
16675 /* end confdefs.h. */
16676 $ac_includes_default
16680 static int test_array [1 - 2 * !(((long) (sizeof (long))) >= $ac_mid)];
16687 rm -f conftest.
$ac_objext
16688 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16689 (eval $ac_compile) 2>conftest.er1
16691 grep -v '^ *+' conftest.er1
>conftest.err
16693 cat conftest.err
>&5
16694 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16695 (exit $ac_status); } &&
16696 { ac_try
='test -z "$ac_c_werror_flag"
16697 || test ! -s conftest.err'
16698 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16699 (eval $ac_try) 2>&5
16701 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16702 (exit $ac_status); }; } &&
16703 { ac_try
='test -s conftest.$ac_objext'
16704 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16705 (eval $ac_try) 2>&5
16707 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16708 (exit $ac_status); }; }; then
16709 ac_lo
=$ac_mid; break
16711 echo "$as_me: failed program was:" >&5
16712 sed 's/^/| /' conftest.
$ac_ext >&5
16714 ac_hi
=`expr '(' $ac_mid ')' - 1`
16715 if test $ac_mid -le $ac_hi; then
16719 ac_mid
=`expr 2 '*' $ac_mid`
16721 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
16724 echo "$as_me: failed program was:" >&5
16725 sed 's/^/| /' conftest.
$ac_ext >&5
16729 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
16731 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
16732 # Binary search between lo and hi bounds.
16733 while test "x$ac_lo" != "x$ac_hi"; do
16734 ac_mid
=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
16735 cat >conftest.
$ac_ext <<_ACEOF
16738 cat confdefs.h
>>conftest.
$ac_ext
16739 cat >>conftest.
$ac_ext <<_ACEOF
16740 /* end confdefs.h. */
16741 $ac_includes_default
16745 static int test_array [1 - 2 * !(((long) (sizeof (long))) <= $ac_mid)];
16752 rm -f conftest.
$ac_objext
16753 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16754 (eval $ac_compile) 2>conftest.er1
16756 grep -v '^ *+' conftest.er1
>conftest.err
16758 cat conftest.err
>&5
16759 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16760 (exit $ac_status); } &&
16761 { ac_try
='test -z "$ac_c_werror_flag"
16762 || test ! -s conftest.err'
16763 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16764 (eval $ac_try) 2>&5
16766 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16767 (exit $ac_status); }; } &&
16768 { ac_try
='test -s conftest.$ac_objext'
16769 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16770 (eval $ac_try) 2>&5
16772 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16773 (exit $ac_status); }; }; then
16776 echo "$as_me: failed program was:" >&5
16777 sed 's/^/| /' conftest.
$ac_ext >&5
16779 ac_lo
=`expr '(' $ac_mid ')' + 1`
16781 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
16784 ?
*) ac_cv_sizeof_long
=$ac_lo;;
16785 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (long), 77
16786 See \`config.log' for more details." >&5
16787 echo "$as_me: error: cannot compute sizeof (long), 77
16788 See \`config.log' for more details." >&2;}
16789 { (exit 1); exit 1; }; } ;;
16792 if test "$cross_compiling" = yes; then
16793 { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
16794 See \`config.log' for more details." >&5
16795 echo "$as_me: error: cannot run test program while cross compiling
16796 See \`config.log' for more details." >&2;}
16797 { (exit 1); exit 1; }; }
16799 cat >conftest.
$ac_ext <<_ACEOF
16802 cat confdefs.h
>>conftest.
$ac_ext
16803 cat >>conftest.
$ac_ext <<_ACEOF
16804 /* end confdefs.h. */
16805 $ac_includes_default
16806 long longval () { return (long) (sizeof (long)); }
16807 unsigned long ulongval () { return (long) (sizeof (long)); }
16809 #include <stdlib.h>
16814 FILE *f = fopen ("conftest.val", "w");
16817 if (((long) (sizeof (long))) < 0)
16819 long i = longval ();
16820 if (i != ((long) (sizeof (long))))
16822 fprintf (f, "%ld\n", i);
16826 unsigned long i = ulongval ();
16827 if (i != ((long) (sizeof (long))))
16829 fprintf (f, "%lu\n", i);
16831 exit (ferror (f) || fclose (f) != 0);
16837 rm -f conftest
$ac_exeext
16838 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
16839 (eval $ac_link) 2>&5
16841 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16842 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
16843 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16844 (eval $ac_try) 2>&5
16846 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16847 (exit $ac_status); }; }; then
16848 ac_cv_sizeof_long
=`cat conftest.val`
16850 echo "$as_me: program exited with status $ac_status" >&5
16851 echo "$as_me: failed program was:" >&5
16852 sed 's/^/| /' conftest.
$ac_ext >&5
16854 ( exit $ac_status )
16855 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long), 77
16856 See \`config.log' for more details." >&5
16857 echo "$as_me: error: cannot compute sizeof (long), 77
16858 See \`config.log' for more details." >&2;}
16859 { (exit 1); exit 1; }; }
16861 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
16866 ac_cv_sizeof_long
=0
16869 echo "$as_me:$LINENO: result: $ac_cv_sizeof_long" >&5
16870 echo "${ECHO_T}$ac_cv_sizeof_long" >&6
16871 cat >>confdefs.h
<<_ACEOF
16872 #define SIZEOF_LONG $ac_cv_sizeof_long
16876 echo "$as_me:$LINENO: checking for void*" >&5
16877 echo $ECHO_N "checking for void*... $ECHO_C" >&6
16878 if test "${ac_cv_type_voidp+set}" = set; then
16879 echo $ECHO_N "(cached) $ECHO_C" >&6
16881 cat >conftest.
$ac_ext <<_ACEOF
16884 cat confdefs.h
>>conftest.
$ac_ext
16885 cat >>conftest.
$ac_ext <<_ACEOF
16886 /* end confdefs.h. */
16887 $ac_includes_default
16893 if (sizeof (void*))
16899 rm -f conftest.
$ac_objext
16900 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16901 (eval $ac_compile) 2>conftest.er1
16903 grep -v '^ *+' conftest.er1
>conftest.err
16905 cat conftest.err
>&5
16906 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16907 (exit $ac_status); } &&
16908 { ac_try
='test -z "$ac_c_werror_flag"
16909 || test ! -s conftest.err'
16910 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16911 (eval $ac_try) 2>&5
16913 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16914 (exit $ac_status); }; } &&
16915 { ac_try
='test -s conftest.$ac_objext'
16916 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16917 (eval $ac_try) 2>&5
16919 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16920 (exit $ac_status); }; }; then
16921 ac_cv_type_voidp
=yes
16923 echo "$as_me: failed program was:" >&5
16924 sed 's/^/| /' conftest.
$ac_ext >&5
16926 ac_cv_type_voidp
=no
16928 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
16930 echo "$as_me:$LINENO: result: $ac_cv_type_voidp" >&5
16931 echo "${ECHO_T}$ac_cv_type_voidp" >&6
16933 echo "$as_me:$LINENO: checking size of void*" >&5
16934 echo $ECHO_N "checking size of void*... $ECHO_C" >&6
16935 if test "${ac_cv_sizeof_voidp+set}" = set; then
16936 echo $ECHO_N "(cached) $ECHO_C" >&6
16938 if test "$ac_cv_type_voidp" = yes; then
16939 # The cast to unsigned long works around a bug in the HP C Compiler
16940 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
16941 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
16942 # This bug is HP SR number 8606223364.
16943 if test "$cross_compiling" = yes; then
16944 # Depending upon the size, compute the lo and hi bounds.
16945 cat >conftest.
$ac_ext <<_ACEOF
16948 cat confdefs.h
>>conftest.
$ac_ext
16949 cat >>conftest.
$ac_ext <<_ACEOF
16950 /* end confdefs.h. */
16951 $ac_includes_default
16955 static int test_array [1 - 2 * !(((long) (sizeof (void*))) >= 0)];
16962 rm -f conftest.
$ac_objext
16963 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16964 (eval $ac_compile) 2>conftest.er1
16966 grep -v '^ *+' conftest.er1
>conftest.err
16968 cat conftest.err
>&5
16969 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16970 (exit $ac_status); } &&
16971 { ac_try
='test -z "$ac_c_werror_flag"
16972 || test ! -s conftest.err'
16973 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16974 (eval $ac_try) 2>&5
16976 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16977 (exit $ac_status); }; } &&
16978 { ac_try
='test -s conftest.$ac_objext'
16979 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16980 (eval $ac_try) 2>&5
16982 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16983 (exit $ac_status); }; }; then
16986 cat >conftest.
$ac_ext <<_ACEOF
16989 cat confdefs.h
>>conftest.
$ac_ext
16990 cat >>conftest.
$ac_ext <<_ACEOF
16991 /* end confdefs.h. */
16992 $ac_includes_default
16996 static int test_array [1 - 2 * !(((long) (sizeof (void*))) <= $ac_mid)];
17003 rm -f conftest.
$ac_objext
17004 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17005 (eval $ac_compile) 2>conftest.er1
17007 grep -v '^ *+' conftest.er1
>conftest.err
17009 cat conftest.err
>&5
17010 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17011 (exit $ac_status); } &&
17012 { ac_try
='test -z "$ac_c_werror_flag"
17013 || test ! -s conftest.err'
17014 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17015 (eval $ac_try) 2>&5
17017 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17018 (exit $ac_status); }; } &&
17019 { ac_try
='test -s conftest.$ac_objext'
17020 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17021 (eval $ac_try) 2>&5
17023 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17024 (exit $ac_status); }; }; then
17025 ac_hi
=$ac_mid; break
17027 echo "$as_me: failed program was:" >&5
17028 sed 's/^/| /' conftest.
$ac_ext >&5
17030 ac_lo
=`expr $ac_mid + 1`
17031 if test $ac_lo -le $ac_mid; then
17035 ac_mid
=`expr 2 '*' $ac_mid + 1`
17037 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
17040 echo "$as_me: failed program was:" >&5
17041 sed 's/^/| /' conftest.
$ac_ext >&5
17043 cat >conftest.
$ac_ext <<_ACEOF
17046 cat confdefs.h
>>conftest.
$ac_ext
17047 cat >>conftest.
$ac_ext <<_ACEOF
17048 /* end confdefs.h. */
17049 $ac_includes_default
17053 static int test_array [1 - 2 * !(((long) (sizeof (void*))) < 0)];
17060 rm -f conftest.
$ac_objext
17061 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17062 (eval $ac_compile) 2>conftest.er1
17064 grep -v '^ *+' conftest.er1
>conftest.err
17066 cat conftest.err
>&5
17067 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17068 (exit $ac_status); } &&
17069 { ac_try
='test -z "$ac_c_werror_flag"
17070 || test ! -s conftest.err'
17071 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17072 (eval $ac_try) 2>&5
17074 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17075 (exit $ac_status); }; } &&
17076 { ac_try
='test -s conftest.$ac_objext'
17077 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17078 (eval $ac_try) 2>&5
17080 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17081 (exit $ac_status); }; }; then
17084 cat >conftest.
$ac_ext <<_ACEOF
17087 cat confdefs.h
>>conftest.
$ac_ext
17088 cat >>conftest.
$ac_ext <<_ACEOF
17089 /* end confdefs.h. */
17090 $ac_includes_default
17094 static int test_array [1 - 2 * !(((long) (sizeof (void*))) >= $ac_mid)];
17101 rm -f conftest.
$ac_objext
17102 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17103 (eval $ac_compile) 2>conftest.er1
17105 grep -v '^ *+' conftest.er1
>conftest.err
17107 cat conftest.err
>&5
17108 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17109 (exit $ac_status); } &&
17110 { ac_try
='test -z "$ac_c_werror_flag"
17111 || test ! -s conftest.err'
17112 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17113 (eval $ac_try) 2>&5
17115 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17116 (exit $ac_status); }; } &&
17117 { ac_try
='test -s conftest.$ac_objext'
17118 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17119 (eval $ac_try) 2>&5
17121 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17122 (exit $ac_status); }; }; then
17123 ac_lo
=$ac_mid; break
17125 echo "$as_me: failed program was:" >&5
17126 sed 's/^/| /' conftest.
$ac_ext >&5
17128 ac_hi
=`expr '(' $ac_mid ')' - 1`
17129 if test $ac_mid -le $ac_hi; then
17133 ac_mid
=`expr 2 '*' $ac_mid`
17135 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
17138 echo "$as_me: failed program was:" >&5
17139 sed 's/^/| /' conftest.
$ac_ext >&5
17143 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
17145 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
17146 # Binary search between lo and hi bounds.
17147 while test "x$ac_lo" != "x$ac_hi"; do
17148 ac_mid
=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
17149 cat >conftest.
$ac_ext <<_ACEOF
17152 cat confdefs.h
>>conftest.
$ac_ext
17153 cat >>conftest.
$ac_ext <<_ACEOF
17154 /* end confdefs.h. */
17155 $ac_includes_default
17159 static int test_array [1 - 2 * !(((long) (sizeof (void*))) <= $ac_mid)];
17166 rm -f conftest.
$ac_objext
17167 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17168 (eval $ac_compile) 2>conftest.er1
17170 grep -v '^ *+' conftest.er1
>conftest.err
17172 cat conftest.err
>&5
17173 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17174 (exit $ac_status); } &&
17175 { ac_try
='test -z "$ac_c_werror_flag"
17176 || test ! -s conftest.err'
17177 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17178 (eval $ac_try) 2>&5
17180 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17181 (exit $ac_status); }; } &&
17182 { ac_try
='test -s conftest.$ac_objext'
17183 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17184 (eval $ac_try) 2>&5
17186 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17187 (exit $ac_status); }; }; then
17190 echo "$as_me: failed program was:" >&5
17191 sed 's/^/| /' conftest.
$ac_ext >&5
17193 ac_lo
=`expr '(' $ac_mid ')' + 1`
17195 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
17198 ?
*) ac_cv_sizeof_voidp
=$ac_lo;;
17199 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (void*), 77
17200 See \`config.log' for more details." >&5
17201 echo "$as_me: error: cannot compute sizeof (void*), 77
17202 See \`config.log' for more details." >&2;}
17203 { (exit 1); exit 1; }; } ;;
17206 if test "$cross_compiling" = yes; then
17207 { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
17208 See \`config.log' for more details." >&5
17209 echo "$as_me: error: cannot run test program while cross compiling
17210 See \`config.log' for more details." >&2;}
17211 { (exit 1); exit 1; }; }
17213 cat >conftest.
$ac_ext <<_ACEOF
17216 cat confdefs.h
>>conftest.
$ac_ext
17217 cat >>conftest.
$ac_ext <<_ACEOF
17218 /* end confdefs.h. */
17219 $ac_includes_default
17220 long longval () { return (long) (sizeof (void*)); }
17221 unsigned long ulongval () { return (long) (sizeof (void*)); }
17223 #include <stdlib.h>
17228 FILE *f = fopen ("conftest.val", "w");
17231 if (((long) (sizeof (void*))) < 0)
17233 long i = longval ();
17234 if (i != ((long) (sizeof (void*))))
17236 fprintf (f, "%ld\n", i);
17240 unsigned long i = ulongval ();
17241 if (i != ((long) (sizeof (void*))))
17243 fprintf (f, "%lu\n", i);
17245 exit (ferror (f) || fclose (f) != 0);
17251 rm -f conftest
$ac_exeext
17252 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
17253 (eval $ac_link) 2>&5
17255 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17256 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
17257 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17258 (eval $ac_try) 2>&5
17260 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17261 (exit $ac_status); }; }; then
17262 ac_cv_sizeof_voidp
=`cat conftest.val`
17264 echo "$as_me: program exited with status $ac_status" >&5
17265 echo "$as_me: failed program was:" >&5
17266 sed 's/^/| /' conftest.
$ac_ext >&5
17268 ( exit $ac_status )
17269 { { echo "$as_me:$LINENO: error: cannot compute sizeof (void*), 77
17270 See \`config.log' for more details." >&5
17271 echo "$as_me: error: cannot compute sizeof (void*), 77
17272 See \`config.log' for more details." >&2;}
17273 { (exit 1); exit 1; }; }
17275 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
17280 ac_cv_sizeof_voidp
=0
17283 echo "$as_me:$LINENO: result: $ac_cv_sizeof_voidp" >&5
17284 echo "${ECHO_T}$ac_cv_sizeof_voidp" >&6
17285 cat >>confdefs.h
<<_ACEOF
17286 #define SIZEOF_VOIDP $ac_cv_sizeof_voidp
17290 ac_cv_char_data_model
=""
17291 ac_cv_char_data_model
="$ac_cv_char_data_model$ac_cv_sizeof_char"
17292 ac_cv_char_data_model
="$ac_cv_char_data_model$ac_cv_sizeof_short"
17293 ac_cv_char_data_model
="$ac_cv_char_data_model$ac_cv_sizeof_int"
17294 ac_cv_long_data_model
=""
17295 ac_cv_long_data_model
="$ac_cv_long_data_model$ac_cv_sizeof_int"
17296 ac_cv_long_data_model
="$ac_cv_long_data_model$ac_cv_sizeof_long"
17297 ac_cv_long_data_model
="$ac_cv_long_data_model$ac_cv_sizeof_voidp"
17298 echo "$as_me:$LINENO: checking data model" >&5
17299 echo $ECHO_N "checking data model... $ECHO_C" >&6
17300 case "$ac_cv_char_data_model/$ac_cv_long_data_model" in
17301 122/242) ac_cv_data_model
="IP16" ; n
="standard 16bit machine" ;;
17302 122/244) ac_cv_data_model
="LP32" ; n
="standard 32bit machine" ;;
17303 122/*) ac_cv_data_model
="i16" ; n
="unusual int16 model" ;;
17304 124/444) ac_cv_data_model
="ILP32" ; n
="standard 32bit unixish" ;;
17305 124/488) ac_cv_data_model
="LP64" ; n
="standard 64bit unixish" ;;
17306 124/448) ac_cv_data_model
="LLP64" ; n
="unusual 64bit unixish" ;;
17307 124/*) ac_cv_data_model
="i32" ; n
="unusual int32 model" ;;
17308 128/888) ac_cv_data_model
="ILP64" ; n
="unusual 64bit numeric" ;;
17309 128/*) ac_cv_data_model
="i64" ; n
="unusual int64 model" ;;
17310 222/*2) ac_cv_data_model
="DSP16" ; n
="strict 16bit dsptype" ;;
17311 333/*3) ac_cv_data_model
="DSP24" ; n
="strict 24bit dsptype" ;;
17312 444/*4) ac_cv_data_model
="DSP32" ; n
="strict 32bit dsptype" ;;
17313 666/*6) ac_cv_data_model
="DSP48" ; n
="strict 48bit dsptype" ;;
17314 888/*8) ac_cv_data_model
="DSP64" ; n
="strict 64bit dsptype" ;;
17315 222/*|
333/*|
444/*|
666/*|
888/*) :
17316 ac_cv_data_model
="iDSP" ; n
="unusual dsptype" ;;
17317 *) ac_cv_data_model
="none" ; n
="very unusual model" ;;
17319 echo "$as_me:$LINENO: result: $ac_cv_data_model ($ac_cv_long_data_model, $n)" >&5
17320 echo "${ECHO_T}$ac_cv_data_model ($ac_cv_long_data_model, $n)" >&6
17324 if test "_$ac_cv_header_stdint_x" != "_" ; then
17325 ac_cv_header_stdint
="$ac_cv_header_stdint_x"
17326 elif test "_$ac_cv_header_stdint_o" != "_" ; then
17327 ac_cv_header_stdint
="$ac_cv_header_stdint_o"
17328 elif test "_$ac_cv_header_stdint_u" != "_" ; then
17329 ac_cv_header_stdint
="$ac_cv_header_stdint_u"
17331 ac_cv_header_stdint
="stddef.h"
17334 echo "$as_me:$LINENO: checking for extra inttypes in chosen header" >&5
17335 echo $ECHO_N "checking for extra inttypes in chosen header... $ECHO_C" >&6
17336 echo "$as_me:$LINENO: result: ($ac_cv_header_stdint)" >&5
17337 echo "${ECHO_T}($ac_cv_header_stdint)" >&6
17338 unset ac_cv_type_int_least32_t
17339 unset ac_cv_type_int_fast32_t
17340 echo "$as_me:$LINENO: checking for int_least32_t" >&5
17341 echo $ECHO_N "checking for int_least32_t... $ECHO_C" >&6
17342 if test "${ac_cv_type_int_least32_t+set}" = set; then
17343 echo $ECHO_N "(cached) $ECHO_C" >&6
17345 cat >conftest.
$ac_ext <<_ACEOF
17348 cat confdefs.h
>>conftest.
$ac_ext
17349 cat >>conftest.
$ac_ext <<_ACEOF
17350 /* end confdefs.h. */
17351 #include <$ac_cv_header_stdint>
17356 if ((int_least32_t *) 0)
17358 if (sizeof (int_least32_t))
17364 rm -f conftest.
$ac_objext
17365 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17366 (eval $ac_compile) 2>conftest.er1
17368 grep -v '^ *+' conftest.er1
>conftest.err
17370 cat conftest.err
>&5
17371 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17372 (exit $ac_status); } &&
17373 { ac_try
='test -z "$ac_c_werror_flag"
17374 || test ! -s conftest.err'
17375 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17376 (eval $ac_try) 2>&5
17378 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17379 (exit $ac_status); }; } &&
17380 { ac_try
='test -s conftest.$ac_objext'
17381 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17382 (eval $ac_try) 2>&5
17384 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17385 (exit $ac_status); }; }; then
17386 ac_cv_type_int_least32_t
=yes
17388 echo "$as_me: failed program was:" >&5
17389 sed 's/^/| /' conftest.
$ac_ext >&5
17391 ac_cv_type_int_least32_t
=no
17393 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
17395 echo "$as_me:$LINENO: result: $ac_cv_type_int_least32_t" >&5
17396 echo "${ECHO_T}$ac_cv_type_int_least32_t" >&6
17398 echo "$as_me:$LINENO: checking for int_fast32_t" >&5
17399 echo $ECHO_N "checking for int_fast32_t... $ECHO_C" >&6
17400 if test "${ac_cv_type_int_fast32_t+set}" = set; then
17401 echo $ECHO_N "(cached) $ECHO_C" >&6
17403 cat >conftest.
$ac_ext <<_ACEOF
17406 cat confdefs.h
>>conftest.
$ac_ext
17407 cat >>conftest.
$ac_ext <<_ACEOF
17408 /* end confdefs.h. */
17409 #include<$ac_cv_header_stdint>
17414 if ((int_fast32_t *) 0)
17416 if (sizeof (int_fast32_t))
17422 rm -f conftest.
$ac_objext
17423 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17424 (eval $ac_compile) 2>conftest.er1
17426 grep -v '^ *+' conftest.er1
>conftest.err
17428 cat conftest.err
>&5
17429 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17430 (exit $ac_status); } &&
17431 { ac_try
='test -z "$ac_c_werror_flag"
17432 || test ! -s conftest.err'
17433 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17434 (eval $ac_try) 2>&5
17436 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17437 (exit $ac_status); }; } &&
17438 { ac_try
='test -s conftest.$ac_objext'
17439 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17440 (eval $ac_try) 2>&5
17442 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17443 (exit $ac_status); }; }; then
17444 ac_cv_type_int_fast32_t
=yes
17446 echo "$as_me: failed program was:" >&5
17447 sed 's/^/| /' conftest.
$ac_ext >&5
17449 ac_cv_type_int_fast32_t
=no
17451 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
17453 echo "$as_me:$LINENO: result: $ac_cv_type_int_fast32_t" >&5
17454 echo "${ECHO_T}$ac_cv_type_int_fast32_t" >&6
17456 echo "$as_me:$LINENO: checking for intmax_t" >&5
17457 echo $ECHO_N "checking for intmax_t... $ECHO_C" >&6
17458 if test "${ac_cv_type_intmax_t+set}" = set; then
17459 echo $ECHO_N "(cached) $ECHO_C" >&6
17461 cat >conftest.
$ac_ext <<_ACEOF
17464 cat confdefs.h
>>conftest.
$ac_ext
17465 cat >>conftest.
$ac_ext <<_ACEOF
17466 /* end confdefs.h. */
17467 #include <$ac_cv_header_stdint>
17472 if ((intmax_t *) 0)
17474 if (sizeof (intmax_t))
17480 rm -f conftest.
$ac_objext
17481 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17482 (eval $ac_compile) 2>conftest.er1
17484 grep -v '^ *+' conftest.er1
>conftest.err
17486 cat conftest.err
>&5
17487 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17488 (exit $ac_status); } &&
17489 { ac_try
='test -z "$ac_c_werror_flag"
17490 || test ! -s conftest.err'
17491 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17492 (eval $ac_try) 2>&5
17494 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17495 (exit $ac_status); }; } &&
17496 { ac_try
='test -s conftest.$ac_objext'
17497 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17498 (eval $ac_try) 2>&5
17500 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17501 (exit $ac_status); }; }; then
17502 ac_cv_type_intmax_t
=yes
17504 echo "$as_me: failed program was:" >&5
17505 sed 's/^/| /' conftest.
$ac_ext >&5
17507 ac_cv_type_intmax_t
=no
17509 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
17511 echo "$as_me:$LINENO: result: $ac_cv_type_intmax_t" >&5
17512 echo "${ECHO_T}$ac_cv_type_intmax_t" >&6
17515 fi # shortcircut to system "stdint.h"
17516 # ------------------ PREPARE VARIABLES ------------------------------
17517 if test "$GCC" = "yes" ; then
17518 ac_cv_stdint_message
="using gnu compiler "`$CC --version | head -1`
17520 ac_cv_stdint_message
="using $CC"
17523 echo "$as_me:$LINENO: result: make use of $ac_cv_header_stdint in $ac_stdint_h $ac_cv_stdint_result" >&5
17524 echo "${ECHO_T}make use of $ac_cv_header_stdint in $ac_stdint_h $ac_cv_stdint_result" >&6
17526 # ----------------- DONE inttypes.h checks START header -------------
17527 ac_config_commands
="$ac_config_commands $ac_stdint_h"
17532 # Check whether --with-glibj_zip or --without-glibj_zip was given.
17533 if test "${with_glibj_zip+set}" = set; then
17534 withval
="$with_glibj_zip"
17538 case "$with_glibj_zip" in
17540 use_glibj_zip
=false
17543 use_glibj_zip
=false
17546 { { echo "$as_me:$LINENO: error: Please suply an absolute path to a prebuilt glibj.zip" >&5
17547 echo "$as_me: error: Please suply an absolute path to a prebuilt glibj.zip" >&2;}
17548 { (exit 1); exit 1; }; }
17552 PATH_TO_GLIBJ_ZIP
=$with_glibj_zip
17558 if test x
$use_glibj_zip = xtrue
; then
17559 USE_PREBUILT_GLIBJ_ZIP_TRUE
=
17560 USE_PREBUILT_GLIBJ_ZIP_FALSE
='#'
17562 USE_PREBUILT_GLIBJ_ZIP_TRUE
='#'
17563 USE_PREBUILT_GLIBJ_ZIP_FALSE
=
17569 # Check whether --enable-local-sockets or --disable-local-sockets was given.
17570 if test "${enable_local_sockets+set}" = set; then
17571 enableval
="$enable_local_sockets"
17572 case "${enableval}" in
17574 ENABLE_LOCAL_SOCKETS
=yes
17577 ENABLE_LOCAL_SOCKETS
=no
17581 if test "x$ENABLE_LOCAL_SOCKETS" = "xyes"
17583 if test "${ac_cv_header_sys_un_h+set}" = set; then
17584 echo "$as_me:$LINENO: checking for sys/un.h" >&5
17585 echo $ECHO_N "checking for sys/un.h... $ECHO_C" >&6
17586 if test "${ac_cv_header_sys_un_h+set}" = set; then
17587 echo $ECHO_N "(cached) $ECHO_C" >&6
17589 echo "$as_me:$LINENO: result: $ac_cv_header_sys_un_h" >&5
17590 echo "${ECHO_T}$ac_cv_header_sys_un_h" >&6
17592 # Is the header compilable?
17593 echo "$as_me:$LINENO: checking sys/un.h usability" >&5
17594 echo $ECHO_N "checking sys/un.h usability... $ECHO_C" >&6
17595 cat >conftest.
$ac_ext <<_ACEOF
17598 cat confdefs.h
>>conftest.
$ac_ext
17599 cat >>conftest.
$ac_ext <<_ACEOF
17600 /* end confdefs.h. */
17601 $ac_includes_default
17602 #include <sys/un.h>
17604 rm -f conftest.
$ac_objext
17605 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17606 (eval $ac_compile) 2>conftest.er1
17608 grep -v '^ *+' conftest.er1
>conftest.err
17610 cat conftest.err
>&5
17611 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17612 (exit $ac_status); } &&
17613 { ac_try
='test -z "$ac_c_werror_flag"
17614 || test ! -s conftest.err'
17615 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17616 (eval $ac_try) 2>&5
17618 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17619 (exit $ac_status); }; } &&
17620 { ac_try
='test -s conftest.$ac_objext'
17621 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17622 (eval $ac_try) 2>&5
17624 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17625 (exit $ac_status); }; }; then
17626 ac_header_compiler
=yes
17628 echo "$as_me: failed program was:" >&5
17629 sed 's/^/| /' conftest.
$ac_ext >&5
17631 ac_header_compiler
=no
17633 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
17634 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
17635 echo "${ECHO_T}$ac_header_compiler" >&6
17637 # Is the header present?
17638 echo "$as_me:$LINENO: checking sys/un.h presence" >&5
17639 echo $ECHO_N "checking sys/un.h presence... $ECHO_C" >&6
17640 cat >conftest.
$ac_ext <<_ACEOF
17643 cat confdefs.h
>>conftest.
$ac_ext
17644 cat >>conftest.
$ac_ext <<_ACEOF
17645 /* end confdefs.h. */
17646 #include <sys/un.h>
17648 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
17649 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
17651 grep -v '^ *+' conftest.er1
>conftest.err
17653 cat conftest.err
>&5
17654 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17655 (exit $ac_status); } >/dev
/null
; then
17656 if test -s conftest.err
; then
17657 ac_cpp_err
=$ac_c_preproc_warn_flag
17658 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
17665 if test -z "$ac_cpp_err"; then
17666 ac_header_preproc
=yes
17668 echo "$as_me: failed program was:" >&5
17669 sed 's/^/| /' conftest.
$ac_ext >&5
17671 ac_header_preproc
=no
17673 rm -f conftest.err conftest.
$ac_ext
17674 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
17675 echo "${ECHO_T}$ac_header_preproc" >&6
17677 # So? What about this header?
17678 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
17680 { echo "$as_me:$LINENO: WARNING: sys/un.h: accepted by the compiler, rejected by the preprocessor!" >&5
17681 echo "$as_me: WARNING: sys/un.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
17682 { echo "$as_me:$LINENO: WARNING: sys/un.h: proceeding with the compiler's result" >&5
17683 echo "$as_me: WARNING: sys/un.h: proceeding with the compiler's result" >&2;}
17684 ac_header_preproc
=yes
17687 { echo "$as_me:$LINENO: WARNING: sys/un.h: present but cannot be compiled" >&5
17688 echo "$as_me: WARNING: sys/un.h: present but cannot be compiled" >&2;}
17689 { echo "$as_me:$LINENO: WARNING: sys/un.h: check for missing prerequisite headers?" >&5
17690 echo "$as_me: WARNING: sys/un.h: check for missing prerequisite headers?" >&2;}
17691 { echo "$as_me:$LINENO: WARNING: sys/un.h: see the Autoconf documentation" >&5
17692 echo "$as_me: WARNING: sys/un.h: see the Autoconf documentation" >&2;}
17693 { echo "$as_me:$LINENO: WARNING: sys/un.h: section \"Present But Cannot Be Compiled\"" >&5
17694 echo "$as_me: WARNING: sys/un.h: section \"Present But Cannot Be Compiled\"" >&2;}
17695 { echo "$as_me:$LINENO: WARNING: sys/un.h: proceeding with the preprocessor's result" >&5
17696 echo "$as_me: WARNING: sys/un.h: proceeding with the preprocessor's result" >&2;}
17697 { echo "$as_me:$LINENO: WARNING: sys/un.h: in the future, the compiler will take precedence" >&5
17698 echo "$as_me: WARNING: sys/un.h: in the future, the compiler will take precedence" >&2;}
17701 ## -------------------------------- ##
17702 ## Report this to classpath@gnu.org ##
17703 ## -------------------------------- ##
17706 sed "s/^/$as_me: WARNING: /" >&2
17709 echo "$as_me:$LINENO: checking for sys/un.h" >&5
17710 echo $ECHO_N "checking for sys/un.h... $ECHO_C" >&6
17711 if test "${ac_cv_header_sys_un_h+set}" = set; then
17712 echo $ECHO_N "(cached) $ECHO_C" >&6
17714 ac_cv_header_sys_un_h
=$ac_header_preproc
17716 echo "$as_me:$LINENO: result: $ac_cv_header_sys_un_h" >&5
17717 echo "${ECHO_T}$ac_cv_header_sys_un_h" >&6
17728 for ac_func
in read write bind listen accept shutdown
17730 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
17731 echo "$as_me:$LINENO: checking for $ac_func" >&5
17732 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
17733 if eval "test \"\${$as_ac_var+set}\" = set"; then
17734 echo $ECHO_N "(cached) $ECHO_C" >&6
17736 cat >conftest.
$ac_ext <<_ACEOF
17739 cat confdefs.h
>>conftest.
$ac_ext
17740 cat >>conftest.
$ac_ext <<_ACEOF
17741 /* end confdefs.h. */
17742 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
17743 For example, HP-UX 11i <limits.h> declares gettimeofday. */
17744 #define $ac_func innocuous_$ac_func
17746 /* System header to define __stub macros and hopefully few prototypes,
17747 which can conflict with char $ac_func (); below.
17748 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
17749 <limits.h> exists even on freestanding compilers. */
17752 # include <limits.h>
17754 # include <assert.h>
17759 /* Override any gcc2 internal prototype to avoid an error. */
17764 /* We use char because int might match the return type of a gcc2
17765 builtin and then its argument prototype would still apply. */
17767 /* The GNU C library defines this for functions which it implements
17768 to always fail with ENOSYS. Some functions are actually named
17769 something starting with __ and the normal name is an alias. */
17770 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
17773 char (*f) () = $ac_func;
17782 return f != $ac_func;
17787 rm -f conftest.
$ac_objext conftest
$ac_exeext
17788 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
17789 (eval $ac_link) 2>conftest.er1
17791 grep -v '^ *+' conftest.er1
>conftest.err
17793 cat conftest.err
>&5
17794 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17795 (exit $ac_status); } &&
17796 { ac_try
='test -z "$ac_c_werror_flag"
17797 || test ! -s conftest.err'
17798 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17799 (eval $ac_try) 2>&5
17801 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17802 (exit $ac_status); }; } &&
17803 { ac_try
='test -s conftest$ac_exeext'
17804 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17805 (eval $ac_try) 2>&5
17807 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17808 (exit $ac_status); }; }; then
17809 eval "$as_ac_var=yes"
17811 echo "$as_me: failed program was:" >&5
17812 sed 's/^/| /' conftest.
$ac_ext >&5
17814 eval "$as_ac_var=no"
17816 rm -f conftest.err conftest.
$ac_objext \
17817 conftest
$ac_exeext conftest.
$ac_ext
17819 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
17820 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
17821 if test `eval echo '${'$as_ac_var'}'` = yes; then
17822 cat >>confdefs.h
<<_ACEOF
17823 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
17827 { { echo "$as_me:$LINENO: error: networking support not available" >&5
17828 echo "$as_me: error: networking support not available" >&2;}
17829 { (exit 1); exit 1; }; }
17834 cat >>confdefs.h
<<\_ACEOF
17835 #define ENABLE_LOCAL_SOCKETS 1
17841 if test "x$ENABLE_LOCAL_SOCKETS" = "xyes"; then
17842 ENABLE_LOCAL_SOCKETS_TRUE
=
17843 ENABLE_LOCAL_SOCKETS_FALSE
='#'
17845 ENABLE_LOCAL_SOCKETS_TRUE
='#'
17846 ENABLE_LOCAL_SOCKETS_FALSE
=
17851 ac_config_files
="$ac_config_files Makefile doc/Makefile doc/api/Makefile external/Makefile external/sax/Makefile external/w3c_dom/Makefile external/relaxngDatatype/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 tools/Makefile tools/jarsigner.sh tools/keytool.sh examples/Makefile examples/Makefile.jawt"
17853 ac_config_commands
="$ac_config_commands gen-classlist"
17855 ac_config_commands
="$ac_config_commands copy-vmresources"
17857 cat >confcache
<<\_ACEOF
17858 # This file is a shell script that caches the results of configure
17859 # tests run on this system so they can be shared between configure
17860 # scripts and configure runs, see configure's option --config-cache.
17861 # It is not useful on other systems. If it contains results you don't
17862 # want to keep, you may remove or edit it.
17864 # config.status only pays attention to the cache file if you give it
17865 # the --recheck option to rerun configure.
17867 # `ac_cv_env_foo' variables (set or unset) will be overridden when
17868 # loading this file, other *unset* `ac_cv_foo' will be assigned the
17869 # following values.
17873 # The following way of writing the cache mishandles newlines in values,
17874 # but we know of no workaround that is simple, portable, and efficient.
17875 # So, don't put newlines in cache variables' values.
17876 # Ultrix sh set writes to stderr and can't be redirected directly,
17877 # and sets the high bit in the cache file unless we assign to the vars.
17880 case `(ac_space=' '; set | grep ac_space) 2>&1` in
17882 # `set' does not quote correctly, so add quotes (double-quote
17883 # substitution turns \\\\ into \\, and sed turns \\ into \).
17886 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
17889 # `set' quotes correctly as required by POSIX, so do not add quotes.
17891 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
17898 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
17900 /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
17902 if diff $cache_file confcache
>/dev
/null
2>&1; then :; else
17903 if test -w $cache_file; then
17904 test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
17905 cat confcache
>$cache_file
17907 echo "not updating unwritable cache $cache_file"
17912 test "x$prefix" = xNONE
&& prefix
=$ac_default_prefix
17913 # Let make expand exec_prefix.
17914 test "x$exec_prefix" = xNONE
&& exec_prefix
='${prefix}'
17916 # VPATH may cause trouble with some makes, so we remove $(srcdir),
17917 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
17918 # trailing colons and then remove the whole line if VPATH becomes empty
17919 # (actually we leave an empty line to preserve line numbers).
17920 if test "x$srcdir" = x.
; then
17921 ac_vpsub
='/^[ ]*VPATH[ ]*=/{
17922 s/:*\$(srcdir):*/:/;
17923 s/:*\${srcdir}:*/:/;
17925 s/^\([^=]*=[ ]*\):*/\1/;
17931 DEFS
=-DHAVE_CONFIG_H
17935 for ac_i
in : $LIBOBJS; do test "x$ac_i" = x
: && continue
17936 # 1. Remove the extension, and $U if already installed.
17937 ac_i
=`echo "$ac_i" |
17938 sed 's/\$U\././;s/\.o$//;s/\.obj$//'`
17940 ac_libobjs
="$ac_libobjs $ac_i\$U.$ac_objext"
17941 ac_ltlibobjs
="$ac_ltlibobjs $ac_i"'$U.lo'
17943 LIBOBJS
=$ac_libobjs
17945 LTLIBOBJS
=$ac_ltlibobjs
17948 if test -z "${CREATE_COLLECTIONS_TRUE}" && test -z "${CREATE_COLLECTIONS_FALSE}"; then
17949 { { echo "$as_me:$LINENO: error: conditional \"CREATE_COLLECTIONS\" was never defined.
17950 Usually this means the macro was only invoked conditionally." >&5
17951 echo "$as_me: error: conditional \"CREATE_COLLECTIONS\" was never defined.
17952 Usually this means the macro was only invoked conditionally." >&2;}
17953 { (exit 1); exit 1; }; }
17955 if test -z "${CREATE_JNI_LIBRARIES_TRUE}" && test -z "${CREATE_JNI_LIBRARIES_FALSE}"; then
17956 { { echo "$as_me:$LINENO: error: conditional \"CREATE_JNI_LIBRARIES\" was never defined.
17957 Usually this means the macro was only invoked conditionally." >&5
17958 echo "$as_me: error: conditional \"CREATE_JNI_LIBRARIES\" was never defined.
17959 Usually this means the macro was only invoked conditionally." >&2;}
17960 { (exit 1); exit 1; }; }
17962 if test -z "${CREATE_CORE_JNI_LIBRARIES_TRUE}" && test -z "${CREATE_CORE_JNI_LIBRARIES_FALSE}"; then
17963 { { echo "$as_me:$LINENO: error: conditional \"CREATE_CORE_JNI_LIBRARIES\" was never defined.
17964 Usually this means the macro was only invoked conditionally." >&5
17965 echo "$as_me: error: conditional \"CREATE_CORE_JNI_LIBRARIES\" was never defined.
17966 Usually this means the macro was only invoked conditionally." >&2;}
17967 { (exit 1); exit 1; }; }
17969 if test -z "${CREATE_XMLJ_LIBRARY_TRUE}" && test -z "${CREATE_XMLJ_LIBRARY_FALSE}"; then
17970 { { echo "$as_me:$LINENO: error: conditional \"CREATE_XMLJ_LIBRARY\" was never defined.
17971 Usually this means the macro was only invoked conditionally." >&5
17972 echo "$as_me: error: conditional \"CREATE_XMLJ_LIBRARY\" was never defined.
17973 Usually this means the macro was only invoked conditionally." >&2;}
17974 { (exit 1); exit 1; }; }
17976 if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
17977 { { echo "$as_me:$LINENO: error: conditional \"AMDEP\" was never defined.
17978 Usually this means the macro was only invoked conditionally." >&5
17979 echo "$as_me: error: conditional \"AMDEP\" was never defined.
17980 Usually this means the macro was only invoked conditionally." >&2;}
17981 { (exit 1); exit 1; }; }
17983 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
17984 { { echo "$as_me:$LINENO: error: conditional \"am__fastdepCC\" was never defined.
17985 Usually this means the macro was only invoked conditionally." >&5
17986 echo "$as_me: error: conditional \"am__fastdepCC\" was never defined.
17987 Usually this means the macro was only invoked conditionally." >&2;}
17988 { (exit 1); exit 1; }; }
17990 if test -z "${CREATE_ALSA_LIBRARIES_TRUE}" && test -z "${CREATE_ALSA_LIBRARIES_FALSE}"; then
17991 { { echo "$as_me:$LINENO: error: conditional \"CREATE_ALSA_LIBRARIES\" was never defined.
17992 Usually this means the macro was only invoked conditionally." >&5
17993 echo "$as_me: error: conditional \"CREATE_ALSA_LIBRARIES\" was never defined.
17994 Usually this means the macro was only invoked conditionally." >&2;}
17995 { (exit 1); exit 1; }; }
17997 if test -z "${CREATE_DSSI_LIBRARIES_TRUE}" && test -z "${CREATE_DSSI_LIBRARIES_FALSE}"; then
17998 { { echo "$as_me:$LINENO: error: conditional \"CREATE_DSSI_LIBRARIES\" was never defined.
17999 Usually this means the macro was only invoked conditionally." >&5
18000 echo "$as_me: error: conditional \"CREATE_DSSI_LIBRARIES\" was never defined.
18001 Usually this means the macro was only invoked conditionally." >&2;}
18002 { (exit 1); exit 1; }; }
18004 if test -z "${CREATE_GTK_PEER_LIBRARIES_TRUE}" && test -z "${CREATE_GTK_PEER_LIBRARIES_FALSE}"; then
18005 { { echo "$as_me:$LINENO: error: conditional \"CREATE_GTK_PEER_LIBRARIES\" was never defined.
18006 Usually this means the macro was only invoked conditionally." >&5
18007 echo "$as_me: error: conditional \"CREATE_GTK_PEER_LIBRARIES\" was never defined.
18008 Usually this means the macro was only invoked conditionally." >&2;}
18009 { (exit 1); exit 1; }; }
18011 if test -z "${GTK_CAIRO_TRUE}" && test -z "${GTK_CAIRO_FALSE}"; then
18012 { { echo "$as_me:$LINENO: error: conditional \"GTK_CAIRO\" was never defined.
18013 Usually this means the macro was only invoked conditionally." >&5
18014 echo "$as_me: error: conditional \"GTK_CAIRO\" was never defined.
18015 Usually this means the macro was only invoked conditionally." >&2;}
18016 { (exit 1); exit 1; }; }
18018 if test -z "${CREATE_QT_PEER_LIBRARIES_TRUE}" && test -z "${CREATE_QT_PEER_LIBRARIES_FALSE}"; then
18019 { { echo "$as_me:$LINENO: error: conditional \"CREATE_QT_PEER_LIBRARIES\" was never defined.
18020 Usually this means the macro was only invoked conditionally." >&5
18021 echo "$as_me: error: conditional \"CREATE_QT_PEER_LIBRARIES\" was never defined.
18022 Usually this means the macro was only invoked conditionally." >&2;}
18023 { (exit 1); exit 1; }; }
18025 if test -z "${CREATE_JNI_HEADERS_TRUE}" && test -z "${CREATE_JNI_HEADERS_FALSE}"; then
18026 { { echo "$as_me:$LINENO: error: conditional \"CREATE_JNI_HEADERS\" was never defined.
18027 Usually this means the macro was only invoked conditionally." >&5
18028 echo "$as_me: error: conditional \"CREATE_JNI_HEADERS\" was never defined.
18029 Usually this means the macro was only invoked conditionally." >&2;}
18030 { (exit 1); exit 1; }; }
18032 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
18033 { { echo "$as_me:$LINENO: error: conditional \"am__fastdepCC\" was never defined.
18034 Usually this means the macro was only invoked conditionally." >&5
18035 echo "$as_me: error: conditional \"am__fastdepCC\" was never defined.
18036 Usually this means the macro was only invoked conditionally." >&2;}
18037 { (exit 1); exit 1; }; }
18039 if test -z "${am__fastdepCXX_TRUE}" && test -z "${am__fastdepCXX_FALSE}"; then
18040 { { echo "$as_me:$LINENO: error: conditional \"am__fastdepCXX\" was never defined.
18041 Usually this means the macro was only invoked conditionally." >&5
18042 echo "$as_me: error: conditional \"am__fastdepCXX\" was never defined.
18043 Usually this means the macro was only invoked conditionally." >&2;}
18044 { (exit 1); exit 1; }; }
18046 if test -z "${USER_SPECIFIED_JAVAH_TRUE}" && test -z "${USER_SPECIFIED_JAVAH_FALSE}"; then
18047 { { echo "$as_me:$LINENO: error: conditional \"USER_SPECIFIED_JAVAH\" was never defined.
18048 Usually this means the macro was only invoked conditionally." >&5
18049 echo "$as_me: error: conditional \"USER_SPECIFIED_JAVAH\" was never defined.
18050 Usually this means the macro was only invoked conditionally." >&2;}
18051 { (exit 1); exit 1; }; }
18053 if test -z "${FOUND_GCJ_TRUE}" && test -z "${FOUND_GCJ_FALSE}"; then
18054 { { echo "$as_me:$LINENO: error: conditional \"FOUND_GCJ\" was never defined.
18055 Usually this means the macro was only invoked conditionally." >&5
18056 echo "$as_me: error: conditional \"FOUND_GCJ\" was never defined.
18057 Usually this means the macro was only invoked conditionally." >&2;}
18058 { (exit 1); exit 1; }; }
18060 if test -z "${FOUND_JIKES_TRUE}" && test -z "${FOUND_JIKES_FALSE}"; then
18061 { { echo "$as_me:$LINENO: error: conditional \"FOUND_JIKES\" was never defined.
18062 Usually this means the macro was only invoked conditionally." >&5
18063 echo "$as_me: error: conditional \"FOUND_JIKES\" was never defined.
18064 Usually this means the macro was only invoked conditionally." >&2;}
18065 { (exit 1); exit 1; }; }
18067 if test -z "${FOUND_ECJ_TRUE}" && test -z "${FOUND_ECJ_FALSE}"; then
18068 { { echo "$as_me:$LINENO: error: conditional \"FOUND_ECJ\" was never defined.
18069 Usually this means the macro was only invoked conditionally." >&5
18070 echo "$as_me: error: conditional \"FOUND_ECJ\" was never defined.
18071 Usually this means the macro was only invoked conditionally." >&2;}
18072 { (exit 1); exit 1; }; }
18074 if test -z "${FOUND_GCJ_TRUE}" && test -z "${FOUND_GCJ_FALSE}"; then
18075 { { echo "$as_me:$LINENO: error: conditional \"FOUND_GCJ\" was never defined.
18076 Usually this means the macro was only invoked conditionally." >&5
18077 echo "$as_me: error: conditional \"FOUND_GCJ\" was never defined.
18078 Usually this means the macro was only invoked conditionally." >&2;}
18079 { (exit 1); exit 1; }; }
18081 if test -z "${FOUND_JIKES_TRUE}" && test -z "${FOUND_JIKES_FALSE}"; then
18082 { { echo "$as_me:$LINENO: error: conditional \"FOUND_JIKES\" was never defined.
18083 Usually this means the macro was only invoked conditionally." >&5
18084 echo "$as_me: error: conditional \"FOUND_JIKES\" was never defined.
18085 Usually this means the macro was only invoked conditionally." >&2;}
18086 { (exit 1); exit 1; }; }
18088 if test -z "${FOUND_ECJ_TRUE}" && test -z "${FOUND_ECJ_FALSE}"; then
18089 { { echo "$as_me:$LINENO: error: conditional \"FOUND_ECJ\" was never defined.
18090 Usually this means the macro was only invoked conditionally." >&5
18091 echo "$as_me: error: conditional \"FOUND_ECJ\" was never defined.
18092 Usually this means the macro was only invoked conditionally." >&2;}
18093 { (exit 1); exit 1; }; }
18095 if test -z "${FOUND_KJC_TRUE}" && test -z "${FOUND_KJC_FALSE}"; then
18096 { { echo "$as_me:$LINENO: error: conditional \"FOUND_KJC\" was never defined.
18097 Usually this means the macro was only invoked conditionally." >&5
18098 echo "$as_me: error: conditional \"FOUND_KJC\" was never defined.
18099 Usually this means the macro was only invoked conditionally." >&2;}
18100 { (exit 1); exit 1; }; }
18102 if test -z "${FOUND_GCJX_TRUE}" && test -z "${FOUND_GCJX_FALSE}"; then
18103 { { echo "$as_me:$LINENO: error: conditional \"FOUND_GCJX\" was never defined.
18104 Usually this means the macro was only invoked conditionally." >&5
18105 echo "$as_me: error: conditional \"FOUND_GCJX\" was never defined.
18106 Usually this means the macro was only invoked conditionally." >&2;}
18107 { (exit 1); exit 1; }; }
18109 if test -z "${USER_SPECIFIED_CLASSLIB_TRUE}" && test -z "${USER_SPECIFIED_CLASSLIB_FALSE}"; then
18110 { { echo "$as_me:$LINENO: error: conditional \"USER_SPECIFIED_CLASSLIB\" was never defined.
18111 Usually this means the macro was only invoked conditionally." >&5
18112 echo "$as_me: error: conditional \"USER_SPECIFIED_CLASSLIB\" was never defined.
18113 Usually this means the macro was only invoked conditionally." >&2;}
18114 { (exit 1); exit 1; }; }
18116 if test -z "${MAINTAINER_MODE_TRUE}" && test -z "${MAINTAINER_MODE_FALSE}"; then
18117 { { echo "$as_me:$LINENO: error: conditional \"MAINTAINER_MODE\" was never defined.
18118 Usually this means the macro was only invoked conditionally." >&5
18119 echo "$as_me: error: conditional \"MAINTAINER_MODE\" was never defined.
18120 Usually this means the macro was only invoked conditionally." >&2;}
18121 { (exit 1); exit 1; }; }
18123 if test -z "${INSTALL_GLIBJ_ZIP_TRUE}" && test -z "${INSTALL_GLIBJ_ZIP_FALSE}"; then
18124 { { echo "$as_me:$LINENO: error: conditional \"INSTALL_GLIBJ_ZIP\" was never defined.
18125 Usually this means the macro was only invoked conditionally." >&5
18126 echo "$as_me: error: conditional \"INSTALL_GLIBJ_ZIP\" was never defined.
18127 Usually this means the macro was only invoked conditionally." >&2;}
18128 { (exit 1); exit 1; }; }
18130 if test -z "${INSTALL_CLASS_FILES_TRUE}" && test -z "${INSTALL_CLASS_FILES_FALSE}"; then
18131 { { echo "$as_me:$LINENO: error: conditional \"INSTALL_CLASS_FILES\" was never defined.
18132 Usually this means the macro was only invoked conditionally." >&5
18133 echo "$as_me: error: conditional \"INSTALL_CLASS_FILES\" was never defined.
18134 Usually this means the macro was only invoked conditionally." >&2;}
18135 { (exit 1); exit 1; }; }
18137 if test -z "${BUILD_CLASS_FILES_TRUE}" && test -z "${BUILD_CLASS_FILES_FALSE}"; then
18138 { { echo "$as_me:$LINENO: error: conditional \"BUILD_CLASS_FILES\" was never defined.
18139 Usually this means the macro was only invoked conditionally." >&5
18140 echo "$as_me: error: conditional \"BUILD_CLASS_FILES\" was never defined.
18141 Usually this means the macro was only invoked conditionally." >&2;}
18142 { (exit 1); exit 1; }; }
18144 if test -z "${CREATE_API_DOCS_TRUE}" && test -z "${CREATE_API_DOCS_FALSE}"; then
18145 { { echo "$as_me:$LINENO: error: conditional \"CREATE_API_DOCS\" was never defined.
18146 Usually this means the macro was only invoked conditionally." >&5
18147 echo "$as_me: error: conditional \"CREATE_API_DOCS\" was never defined.
18148 Usually this means the macro was only invoked conditionally." >&2;}
18149 { (exit 1); exit 1; }; }
18151 if test -z "${REGEN_PARSERS_TRUE}" && test -z "${REGEN_PARSERS_FALSE}"; then
18152 { { echo "$as_me:$LINENO: error: conditional \"REGEN_PARSERS\" was never defined.
18153 Usually this means the macro was only invoked conditionally." >&5
18154 echo "$as_me: error: conditional \"REGEN_PARSERS\" was never defined.
18155 Usually this means the macro was only invoked conditionally." >&2;}
18156 { (exit 1); exit 1; }; }
18158 if test -z "${USE_PREBUILT_GLIBJ_ZIP_TRUE}" && test -z "${USE_PREBUILT_GLIBJ_ZIP_FALSE}"; then
18159 { { echo "$as_me:$LINENO: error: conditional \"USE_PREBUILT_GLIBJ_ZIP\" was never defined.
18160 Usually this means the macro was only invoked conditionally." >&5
18161 echo "$as_me: error: conditional \"USE_PREBUILT_GLIBJ_ZIP\" was never defined.
18162 Usually this means the macro was only invoked conditionally." >&2;}
18163 { (exit 1); exit 1; }; }
18165 if test -z "${ENABLE_LOCAL_SOCKETS_TRUE}" && test -z "${ENABLE_LOCAL_SOCKETS_FALSE}"; then
18166 { { echo "$as_me:$LINENO: error: conditional \"ENABLE_LOCAL_SOCKETS\" was never defined.
18167 Usually this means the macro was only invoked conditionally." >&5
18168 echo "$as_me: error: conditional \"ENABLE_LOCAL_SOCKETS\" was never defined.
18169 Usually this means the macro was only invoked conditionally." >&2;}
18170 { (exit 1); exit 1; }; }
18173 : ${CONFIG_STATUS=./config.status}
18174 ac_clean_files_save
=$ac_clean_files
18175 ac_clean_files
="$ac_clean_files $CONFIG_STATUS"
18176 { echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
18177 echo "$as_me: creating $CONFIG_STATUS" >&6;}
18178 cat >$CONFIG_STATUS <<_ACEOF
18180 # Generated by $as_me.
18181 # Run this file to recreate the current configuration.
18182 # Compiler output produced by configure, useful for debugging
18183 # configure, is in config.log if it exists.
18186 ac_cs_recheck=false
18188 SHELL=\${CONFIG_SHELL-$SHELL}
18191 cat >>$CONFIG_STATUS <<\_ACEOF
18192 ## --------------------- ##
18193 ## M4sh Initialization. ##
18194 ## --------------------- ##
18196 # Be Bourne compatible
18197 if test -n "${ZSH_VERSION+set}" && (emulate sh
) >/dev
/null
2>&1; then
18200 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
18201 # is contrary to our usage. Disable this feature.
18202 alias -g '${1+"$@"}'='"$@"'
18203 elif test -n "${BASH_VERSION+set}" && (set -o posix
) >/dev
/null
2>&1; then
18206 DUALCASE
=1; export DUALCASE
# for MKS sh
18208 # Support unset when possible.
18209 if ( (MAIL
=60; unset MAIL
) ||
exit) >/dev
/null
2>&1; then
18216 # Work around bugs in pre-3.0 UWIN ksh.
18217 $as_unset ENV MAIL MAILPATH
18224 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
18225 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
18226 LC_TELEPHONE LC_TIME
18228 if (set +x
; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
18229 eval $as_var=C
; export $as_var
18235 # Required to use basename.
18236 if expr a
: '\(a\)' >/dev
/null
2>&1; then
18242 if (basename /) >/dev
/null
2>&1 && test "X`basename / 2>&1`" = "X/"; then
18243 as_basename
=basename
18249 # Name of the executable.
18250 as_me
=`$as_basename "$0" ||
18251 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
18252 X"$0" : 'X\(//\)$' \| \
18253 X"$0" : 'X\(/\)$' \| \
18254 . : '\(.\)' 2>/dev/null ||
18256 sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; }
18257 /^X\/\(\/\/\)$/{ s//\1/; q; }
18258 /^X\/\(\/\).*/{ s//\1/; q; }
18262 # PATH needs CR, and LINENO needs CR and PATH.
18263 # Avoid depending upon Character Ranges.
18264 as_cr_letters
='abcdefghijklmnopqrstuvwxyz'
18265 as_cr_LETTERS
='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
18266 as_cr_Letters
=$as_cr_letters$as_cr_LETTERS
18267 as_cr_digits
='0123456789'
18268 as_cr_alnum
=$as_cr_Letters$as_cr_digits
18270 # The user is always right.
18271 if test "${PATH_SEPARATOR+set}" != set; then
18272 echo "#! /bin/sh" >conf$$.sh
18273 echo "exit 0" >>conf$$.sh
18275 if (PATH
="/nonexistent;."; conf$$.sh
) >/dev
/null
2>&1; then
18284 as_lineno_1
=$LINENO
18285 as_lineno_2
=$LINENO
18286 as_lineno_3
=`(expr $as_lineno_1 + 1) 2>/dev/null`
18287 test "x$as_lineno_1" != "x$as_lineno_2" &&
18288 test "x$as_lineno_3" = "x$as_lineno_2" ||
{
18289 # Find who we are. Look in the path if we contain no path at all
18292 *[\\/]* ) as_myself
=$0 ;;
18293 *) as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
18294 for as_dir
in $PATH
18297 test -z "$as_dir" && as_dir
=.
18298 test -r "$as_dir/$0" && as_myself
=$as_dir/$0 && break
18303 # We did not find ourselves, most probably we were run as `sh COMMAND'
18304 # in which case we are not to be found in the path.
18305 if test "x$as_myself" = x
; then
18308 if test ! -f "$as_myself"; then
18309 { { echo "$as_me:$LINENO: error: cannot find myself; rerun with an absolute path" >&5
18310 echo "$as_me: error: cannot find myself; rerun with an absolute path" >&2;}
18311 { (exit 1); exit 1; }; }
18313 case $CONFIG_SHELL in
18315 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
18316 for as_dir
in /bin
$PATH_SEPARATOR/usr
/bin
$PATH_SEPARATOR$PATH
18319 test -z "$as_dir" && as_dir
=.
18320 for as_base
in sh bash ksh sh5
; do
18323 if ("$as_dir/$as_base" -c '
18324 as_lineno_1=$LINENO
18325 as_lineno_2=$LINENO
18326 as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
18327 test "x$as_lineno_1" != "x$as_lineno_2" &&
18328 test "x$as_lineno_3" = "x$as_lineno_2" ') 2>/dev
/null
; then
18329 $as_unset BASH_ENV ||
test "${BASH_ENV+set}" != set ||
{ BASH_ENV
=; export BASH_ENV
; }
18330 $as_unset ENV ||
test "${ENV+set}" != set ||
{ ENV
=; export ENV
; }
18331 CONFIG_SHELL
=$as_dir/$as_base
18332 export CONFIG_SHELL
18333 exec "$CONFIG_SHELL" "$0" ${1+"$@"}
18341 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
18342 # uniformly replaced by the line number. The first 'sed' inserts a
18343 # line-number line before each line; the second 'sed' does the real
18344 # work. The second script uses 'N' to pair each line-number line
18345 # with the numbered line, and appends trailing '-' during
18346 # substitution so that $LINENO is not a special case at line end.
18347 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
18348 # second 'sed' script. Blame Lee E. McMahon for sed's syntax. :-)
18349 sed '=' <$as_myself |
18354 s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3,
18357 s,^['$as_cr_digits']*\n,,
18358 ' >$as_me.lineno
&&
18359 chmod +x
$as_me.lineno ||
18360 { { echo "$as_me:$LINENO: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&5
18361 echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2;}
18362 { (exit 1); exit 1; }; }
18364 # Don't try to exec as it changes $[0], causing all sort of problems
18365 # (the dirname of $[0] is not the place where we might find the
18366 # original and so on. Autoconf is especially sensible to this).
18368 # Exit status is that of the last command.
18373 case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in
18374 *c
*,-n*) ECHO_N
= ECHO_C
='
18376 *c
*,* ) ECHO_N
=-n ECHO_C
= ECHO_T
= ;;
18377 *) ECHO_N
= ECHO_C
='\c' ECHO_T
= ;;
18380 if expr a
: '\(a\)' >/dev
/null
2>&1; then
18386 rm -f conf$$ conf$$.exe conf$$.
file
18388 if ln -s conf$$.
file conf$$
2>/dev
/null
; then
18389 # We could just check for DJGPP; but this test a) works b) is more generic
18390 # and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04).
18391 if test -f conf$$.exe
; then
18392 # Don't use ln at all; we don't have any links
18397 elif ln conf$$.
file conf$$
2>/dev
/null
; then
18402 rm -f conf$$ conf$$.exe conf$$.
file
18404 if mkdir
-p .
2>/dev
/null
; then
18407 test -d .
/-p && rmdir .
/-p
18411 as_executable_p
="test -f"
18413 # Sed expression to map a string onto a valid CPP name.
18414 as_tr_cpp
="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
18416 # Sed expression to map a string onto a valid variable name.
18417 as_tr_sh
="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
18421 # We need space, tab and new line, in precisely that order.
18431 # Open the log real soon, to keep \$[0] and so on meaningful, and to
18432 # report actual input values of CONFIG_FILES etc. instead of their
18433 # values after options handling. Logging --version etc. is OK.
18437 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
18438 ## Running $as_me. ##
18443 This file was extended by GNU Classpath $as_me 0.91, which was
18444 generated by GNU Autoconf 2.59. Invocation command line was
18446 CONFIG_FILES = $CONFIG_FILES
18447 CONFIG_HEADERS = $CONFIG_HEADERS
18448 CONFIG_LINKS = $CONFIG_LINKS
18449 CONFIG_COMMANDS = $CONFIG_COMMANDS
18453 echo "on `(hostname || uname -n) 2>/dev/null | sed 1q`" >&5
18457 # Files that config.status was made for.
18458 if test -n "$ac_config_files"; then
18459 echo "config_files=\"$ac_config_files\"" >>$CONFIG_STATUS
18462 if test -n "$ac_config_headers"; then
18463 echo "config_headers=\"$ac_config_headers\"" >>$CONFIG_STATUS
18466 if test -n "$ac_config_links"; then
18467 echo "config_links=\"$ac_config_links\"" >>$CONFIG_STATUS
18470 if test -n "$ac_config_commands"; then
18471 echo "config_commands=\"$ac_config_commands\"" >>$CONFIG_STATUS
18474 cat >>$CONFIG_STATUS <<\_ACEOF
18477 \`$as_me' instantiates files from templates according to the
18478 current configuration.
18480 Usage: $0 [OPTIONS] [FILE]...
18482 -h, --help print this help, then exit
18483 -V, --version print version number, then exit
18484 -q, --quiet do not print progress messages
18485 -d, --debug don't remove temporary files
18486 --recheck update $as_me by reconfiguring in the same conditions
18487 --file=FILE[:TEMPLATE]
18488 instantiate the configuration file FILE
18489 --header=FILE[:TEMPLATE]
18490 instantiate the configuration header FILE
18492 Configuration files:
18495 Configuration headers:
18498 Configuration links:
18501 Configuration commands:
18504 Report bugs to <bug-autoconf@gnu.org>."
18507 cat >>$CONFIG_STATUS <<_ACEOF
18509 GNU Classpath config.status 0.91
18510 configured by $0, generated by GNU Autoconf 2.59,
18511 with options \\"`echo "$ac_configure_args" | sed 's/[\\""\`\$]/\\\\&/g'`\\"
18513 Copyright (C) 2003 Free Software Foundation, Inc.
18514 This config.status script is free software; the Free Software Foundation
18515 gives unlimited permission to copy, distribute and modify it."
18520 cat >>$CONFIG_STATUS <<\_ACEOF
18521 # If no file are specified by the user, then we need to provide default
18522 # value. By we need to know if files were specified by the user.
18528 ac_option
=`expr "x$1" : 'x\([^=]*\)='`
18529 ac_optarg
=`expr "x$1" : 'x[^=]*=\(.*\)'`
18537 *) # This is not an option, so the user has probably given explicit
18540 ac_need_defaults
=false
;;
18544 # Handling of the options.
18546 cat >>$CONFIG_STATUS <<\_ACEOF
18547 -recheck |
--recheck |
--rechec |
--reche |
--rech |
--rec |
--re |
--r)
18549 --version |
--vers* |
-V )
18550 echo "$ac_cs_version"; exit 0 ;;
18552 # Conflict between --help and --header
18553 { { echo "$as_me:$LINENO: error: ambiguous option: $1
18554 Try \`$0 --help' for more information." >&5
18555 echo "$as_me: error: ambiguous option: $1
18556 Try \`$0 --help' for more information." >&2;}
18557 { (exit 1); exit 1; }; };;
18558 --help |
--hel |
-h )
18559 echo "$ac_cs_usage"; exit 0 ;;
18560 --debug |
--d* |
-d )
18562 --file |
--fil |
--fi |
--f )
18564 CONFIG_FILES
="$CONFIG_FILES $ac_optarg"
18565 ac_need_defaults
=false
;;
18566 --header |
--heade |
--head |
--hea )
18568 CONFIG_HEADERS
="$CONFIG_HEADERS $ac_optarg"
18569 ac_need_defaults
=false
;;
18570 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
18571 |
-silent |
--silent |
--silen |
--sile |
--sil |
--si |
--s)
18574 # This is an error.
18575 -*) { { echo "$as_me:$LINENO: error: unrecognized option: $1
18576 Try \`$0 --help' for more information." >&5
18577 echo "$as_me: error: unrecognized option: $1
18578 Try \`$0 --help' for more information." >&2;}
18579 { (exit 1); exit 1; }; } ;;
18581 *) ac_config_targets
="$ac_config_targets $1" ;;
18587 ac_configure_extra_args
=
18589 if $ac_cs_silent; then
18591 ac_configure_extra_args
="$ac_configure_extra_args --silent"
18595 cat >>$CONFIG_STATUS <<_ACEOF
18596 if \$ac_cs_recheck; then
18597 echo "running $SHELL $0 " $ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6
18598 exec $SHELL $0 $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
18603 cat >>$CONFIG_STATUS <<_ACEOF
18605 # INIT-COMMANDS section.
18608 AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
18609 # variables for create stdint.h replacement
18612 ac_stdint_h="$ac_stdint_h"
18613 _ac_stdint_h=`echo "_$PACKAGE-$ac_stdint_h" | $as_tr_cpp`
18614 ac_cv_stdint_message="$ac_cv_stdint_message"
18615 ac_cv_header_stdint_t="$ac_cv_header_stdint_t"
18616 ac_cv_header_stdint_x="$ac_cv_header_stdint_x"
18617 ac_cv_header_stdint_o="$ac_cv_header_stdint_o"
18618 ac_cv_header_stdint_u="$ac_cv_header_stdint_u"
18619 ac_cv_type_uint64_t="$ac_cv_type_uint64_t"
18620 ac_cv_type_u_int64_t="$ac_cv_type_u_int64_t"
18621 ac_cv_char_data_model="$ac_cv_char_data_model"
18622 ac_cv_long_data_model="$ac_cv_long_data_model"
18623 ac_cv_type_int_least32_t="$ac_cv_type_int_least32_t"
18624 ac_cv_type_int_fast32_t="$ac_cv_type_int_fast32_t"
18625 ac_cv_type_intmax_t="$ac_cv_type_intmax_t"
18632 cat >>$CONFIG_STATUS <<\_ACEOF
18633 for ac_config_target
in $ac_config_targets
18635 case "$ac_config_target" in
18636 # Handling of arguments.
18637 "lib/mkcollections.pl" ) CONFIG_FILES
="$CONFIG_FILES lib/mkcollections.pl" ;;
18638 "Makefile" ) CONFIG_FILES
="$CONFIG_FILES Makefile" ;;
18639 "doc/Makefile" ) CONFIG_FILES
="$CONFIG_FILES doc/Makefile" ;;
18640 "doc/api/Makefile" ) CONFIG_FILES
="$CONFIG_FILES doc/api/Makefile" ;;
18641 "external/Makefile" ) CONFIG_FILES
="$CONFIG_FILES external/Makefile" ;;
18642 "external/sax/Makefile" ) CONFIG_FILES
="$CONFIG_FILES external/sax/Makefile" ;;
18643 "external/w3c_dom/Makefile" ) CONFIG_FILES
="$CONFIG_FILES external/w3c_dom/Makefile" ;;
18644 "external/relaxngDatatype/Makefile" ) CONFIG_FILES
="$CONFIG_FILES external/relaxngDatatype/Makefile" ;;
18645 "gnu/classpath/Configuration.java" ) CONFIG_FILES
="$CONFIG_FILES gnu/classpath/Configuration.java" ;;
18646 "include/Makefile" ) CONFIG_FILES
="$CONFIG_FILES include/Makefile" ;;
18647 "native/Makefile" ) CONFIG_FILES
="$CONFIG_FILES native/Makefile" ;;
18648 "native/fdlibm/Makefile" ) CONFIG_FILES
="$CONFIG_FILES native/fdlibm/Makefile" ;;
18649 "native/jawt/Makefile" ) CONFIG_FILES
="$CONFIG_FILES native/jawt/Makefile" ;;
18650 "native/jni/Makefile" ) CONFIG_FILES
="$CONFIG_FILES native/jni/Makefile" ;;
18651 "native/jni/classpath/Makefile" ) CONFIG_FILES
="$CONFIG_FILES native/jni/classpath/Makefile" ;;
18652 "native/jni/java-io/Makefile" ) CONFIG_FILES
="$CONFIG_FILES native/jni/java-io/Makefile" ;;
18653 "native/jni/java-lang/Makefile" ) CONFIG_FILES
="$CONFIG_FILES native/jni/java-lang/Makefile" ;;
18654 "native/jni/java-net/Makefile" ) CONFIG_FILES
="$CONFIG_FILES native/jni/java-net/Makefile" ;;
18655 "native/jni/java-nio/Makefile" ) CONFIG_FILES
="$CONFIG_FILES native/jni/java-nio/Makefile" ;;
18656 "native/jni/java-util/Makefile" ) CONFIG_FILES
="$CONFIG_FILES native/jni/java-util/Makefile" ;;
18657 "native/jni/gtk-peer/Makefile" ) CONFIG_FILES
="$CONFIG_FILES native/jni/gtk-peer/Makefile" ;;
18658 "native/jni/qt-peer/Makefile" ) CONFIG_FILES
="$CONFIG_FILES native/jni/qt-peer/Makefile" ;;
18659 "native/jni/xmlj/Makefile" ) CONFIG_FILES
="$CONFIG_FILES native/jni/xmlj/Makefile" ;;
18660 "native/jni/midi-alsa/Makefile" ) CONFIG_FILES
="$CONFIG_FILES native/jni/midi-alsa/Makefile" ;;
18661 "native/jni/midi-dssi/Makefile" ) CONFIG_FILES
="$CONFIG_FILES native/jni/midi-dssi/Makefile" ;;
18662 "native/target/Makefile" ) CONFIG_FILES
="$CONFIG_FILES native/target/Makefile" ;;
18663 "native/target/Linux/Makefile" ) CONFIG_FILES
="$CONFIG_FILES native/target/Linux/Makefile" ;;
18664 "native/target/generic/Makefile" ) CONFIG_FILES
="$CONFIG_FILES native/target/generic/Makefile" ;;
18665 "resource/Makefile" ) CONFIG_FILES
="$CONFIG_FILES resource/Makefile" ;;
18666 "scripts/Makefile" ) CONFIG_FILES
="$CONFIG_FILES scripts/Makefile" ;;
18667 "scripts/classpath.spec" ) CONFIG_FILES
="$CONFIG_FILES scripts/classpath.spec" ;;
18668 "lib/Makefile" ) CONFIG_FILES
="$CONFIG_FILES lib/Makefile" ;;
18669 "lib/gen-classlist.sh" ) CONFIG_FILES
="$CONFIG_FILES lib/gen-classlist.sh" ;;
18670 "lib/copy-vmresources.sh" ) CONFIG_FILES
="$CONFIG_FILES lib/copy-vmresources.sh" ;;
18671 "tools/Makefile" ) CONFIG_FILES
="$CONFIG_FILES tools/Makefile" ;;
18672 "tools/jarsigner.sh" ) CONFIG_FILES
="$CONFIG_FILES tools/jarsigner.sh" ;;
18673 "tools/keytool.sh" ) CONFIG_FILES
="$CONFIG_FILES tools/keytool.sh" ;;
18674 "examples/Makefile" ) CONFIG_FILES
="$CONFIG_FILES examples/Makefile" ;;
18675 "examples/Makefile.jawt" ) CONFIG_FILES
="$CONFIG_FILES examples/Makefile.jawt" ;;
18676 "$ac_config_links_1" ) CONFIG_LINKS
="$CONFIG_LINKS $ac_config_links_1" ;;
18677 "depfiles" ) CONFIG_COMMANDS
="$CONFIG_COMMANDS depfiles" ;;
18678 "mkcollections.pl" ) CONFIG_COMMANDS
="$CONFIG_COMMANDS mkcollections.pl" ;;
18679 "$ac_stdint_h" ) CONFIG_COMMANDS
="$CONFIG_COMMANDS $ac_stdint_h" ;;
18680 "gen-classlist" ) CONFIG_COMMANDS
="$CONFIG_COMMANDS gen-classlist" ;;
18681 "copy-vmresources" ) CONFIG_COMMANDS
="$CONFIG_COMMANDS copy-vmresources" ;;
18682 "include/config.h" ) CONFIG_HEADERS
="$CONFIG_HEADERS include/config.h" ;;
18683 *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
18684 echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
18685 { (exit 1); exit 1; }; };;
18689 # If the user did not use the arguments to specify the items to instantiate,
18690 # then the envvar interface is used. Set only those that are not.
18691 # We use the long form for the default assignment because of an extremely
18692 # bizarre bug on SunOS 4.1.3.
18693 if $ac_need_defaults; then
18694 test "${CONFIG_FILES+set}" = set || CONFIG_FILES
=$config_files
18695 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS
=$config_headers
18696 test "${CONFIG_LINKS+set}" = set || CONFIG_LINKS
=$config_links
18697 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS
=$config_commands
18700 # Have a temporary directory for convenience. Make it in the build tree
18701 # simply because there is no reason to put it here, and in addition,
18702 # creating and moving files from /tmp can sometimes cause problems.
18703 # Create a temporary directory, and hook for its removal unless debugging.
18706 trap 'exit_status=$?; rm -rf $tmp && exit $exit_status' 0
18707 trap '{ (exit 1); exit 1; }' 1 2 13 15
18710 # Create a (secure) tmp directory for tmp files.
18713 tmp
=`(umask 077 && mktemp -d -q "./confstatXXXXXX") 2>/dev/null` &&
18714 test -n "$tmp" && test -d "$tmp"
18717 tmp
=.
/confstat$$
-$RANDOM
18718 (umask 077 && mkdir
$tmp)
18721 echo "$me: cannot create a temporary directory in ." >&2
18722 { (exit 1); exit 1; }
18727 cat >>$CONFIG_STATUS <<_ACEOF
18730 # CONFIG_FILES section.
18733 # No need to generate the scripts if there are no CONFIG_FILES.
18734 # This happens for instance when ./config.status config.h
18735 if test -n "\$CONFIG_FILES"; then
18736 # Protect against being on the right side of a sed subst in config.status.
18737 sed 's/,@/@@/; s/@,/@@/; s/,;t t\$/@;t t/; /@;t t\$/s/[\\\\&,]/\\\\&/g;
18738 s/@@/,@/; s/@@/@,/; s/@;t t\$/,;t t/' >\$tmp/subs.sed <<\\CEOF
18739 s,@SHELL@,$SHELL,;t t
18740 s,@PATH_SEPARATOR@,$PATH_SEPARATOR,;t t
18741 s,@PACKAGE_NAME@,$PACKAGE_NAME,;t t
18742 s,@PACKAGE_TARNAME@,$PACKAGE_TARNAME,;t t
18743 s,@PACKAGE_VERSION@,$PACKAGE_VERSION,;t t
18744 s,@PACKAGE_STRING@,$PACKAGE_STRING,;t t
18745 s,@PACKAGE_BUGREPORT@,$PACKAGE_BUGREPORT,;t t
18746 s,@exec_prefix@,$exec_prefix,;t t
18747 s,@prefix@,$prefix,;t t
18748 s,@program_transform_name@,$program_transform_name,;t t
18749 s,@bindir@,$bindir,;t t
18750 s,@sbindir@,$sbindir,;t t
18751 s,@libexecdir@,$libexecdir,;t t
18752 s,@datadir@,$datadir,;t t
18753 s,@sysconfdir@,$sysconfdir,;t t
18754 s,@sharedstatedir@,$sharedstatedir,;t t
18755 s,@localstatedir@,$localstatedir,;t t
18756 s,@libdir@,$libdir,;t t
18757 s,@includedir@,$includedir,;t t
18758 s,@oldincludedir@,$oldincludedir,;t t
18759 s,@infodir@,$infodir,;t t
18760 s,@mandir@,$mandir,;t t
18761 s,@build_alias@,$build_alias,;t t
18762 s,@host_alias@,$host_alias,;t t
18763 s,@target_alias@,$target_alias,;t t
18764 s,@DEFS@,$DEFS,;t t
18765 s,@ECHO_C@,$ECHO_C,;t t
18766 s,@ECHO_N@,$ECHO_N,;t t
18767 s,@ECHO_T@,$ECHO_T,;t t
18768 s,@LIBS@,$LIBS,;t t
18769 s,@build@,$build,;t t
18770 s,@build_cpu@,$build_cpu,;t t
18771 s,@build_vendor@,$build_vendor,;t t
18772 s,@build_os@,$build_os,;t t
18773 s,@host@,$host,;t t
18774 s,@host_cpu@,$host_cpu,;t t
18775 s,@host_vendor@,$host_vendor,;t t
18776 s,@host_os@,$host_os,;t t
18777 s,@target@,$target,;t t
18778 s,@target_cpu@,$target_cpu,;t t
18779 s,@target_vendor@,$target_vendor,;t t
18780 s,@target_os@,$target_os,;t t
18781 s,@LIBVERSION@,$LIBVERSION,;t t
18782 s,@CLASSPATH_MODULE@,$CLASSPATH_MODULE,;t t
18783 s,@CLASSPATH_CONVENIENCE@,$CLASSPATH_CONVENIENCE,;t t
18784 s,@INSTALL_PROGRAM@,$INSTALL_PROGRAM,;t t
18785 s,@INSTALL_SCRIPT@,$INSTALL_SCRIPT,;t t
18786 s,@INSTALL_DATA@,$INSTALL_DATA,;t t
18787 s,@CYGPATH_W@,$CYGPATH_W,;t t
18788 s,@PACKAGE@,$PACKAGE,;t t
18789 s,@VERSION@,$VERSION,;t t
18790 s,@ACLOCAL@,$ACLOCAL,;t t
18791 s,@AUTOCONF@,$AUTOCONF,;t t
18792 s,@AUTOMAKE@,$AUTOMAKE,;t t
18793 s,@AUTOHEADER@,$AUTOHEADER,;t t
18794 s,@MAKEINFO@,$MAKEINFO,;t t
18795 s,@install_sh@,$install_sh,;t t
18796 s,@STRIP@,$STRIP,;t t
18797 s,@ac_ct_STRIP@,$ac_ct_STRIP,;t t
18798 s,@INSTALL_STRIP_PROGRAM@,$INSTALL_STRIP_PROGRAM,;t t
18799 s,@mkdir_p@,$mkdir_p,;t t
18801 s,@SET_MAKE@,$SET_MAKE,;t t
18802 s,@am__leading_dot@,$am__leading_dot,;t t
18803 s,@AMTAR@,$AMTAR,;t t
18804 s,@am__tar@,$am__tar,;t t
18805 s,@am__untar@,$am__untar,;t t
18806 s,@CREATE_COLLECTIONS_TRUE@,$CREATE_COLLECTIONS_TRUE,;t t
18807 s,@CREATE_COLLECTIONS_FALSE@,$CREATE_COLLECTIONS_FALSE,;t t
18808 s,@CREATE_JNI_LIBRARIES_TRUE@,$CREATE_JNI_LIBRARIES_TRUE,;t t
18809 s,@CREATE_JNI_LIBRARIES_FALSE@,$CREATE_JNI_LIBRARIES_FALSE,;t t
18810 s,@CREATE_CORE_JNI_LIBRARIES_TRUE@,$CREATE_CORE_JNI_LIBRARIES_TRUE,;t t
18811 s,@CREATE_CORE_JNI_LIBRARIES_FALSE@,$CREATE_CORE_JNI_LIBRARIES_FALSE,;t t
18812 s,@default_toolkit@,$default_toolkit,;t t
18813 s,@CREATE_XMLJ_LIBRARY_TRUE@,$CREATE_XMLJ_LIBRARY_TRUE,;t t
18814 s,@CREATE_XMLJ_LIBRARY_FALSE@,$CREATE_XMLJ_LIBRARY_FALSE,;t t
18816 s,@CFLAGS@,$CFLAGS,;t t
18817 s,@LDFLAGS@,$LDFLAGS,;t t
18818 s,@CPPFLAGS@,$CPPFLAGS,;t t
18819 s,@ac_ct_CC@,$ac_ct_CC,;t t
18820 s,@EXEEXT@,$EXEEXT,;t t
18821 s,@OBJEXT@,$OBJEXT,;t t
18822 s,@DEPDIR@,$DEPDIR,;t t
18823 s,@am__include@,$am__include,;t t
18824 s,@am__quote@,$am__quote,;t t
18825 s,@AMDEP_TRUE@,$AMDEP_TRUE,;t t
18826 s,@AMDEP_FALSE@,$AMDEP_FALSE,;t t
18827 s,@AMDEPBACKSLASH@,$AMDEPBACKSLASH,;t t
18828 s,@CCDEPMODE@,$CCDEPMODE,;t t
18829 s,@am__fastdepCC_TRUE@,$am__fastdepCC_TRUE,;t t
18830 s,@am__fastdepCC_FALSE@,$am__fastdepCC_FALSE,;t t
18832 s,@EGREP@,$EGREP,;t t
18833 s,@CREATE_ALSA_LIBRARIES_TRUE@,$CREATE_ALSA_LIBRARIES_TRUE,;t t
18834 s,@CREATE_ALSA_LIBRARIES_FALSE@,$CREATE_ALSA_LIBRARIES_FALSE,;t t
18835 s,@CREATE_DSSI_LIBRARIES_TRUE@,$CREATE_DSSI_LIBRARIES_TRUE,;t t
18836 s,@CREATE_DSSI_LIBRARIES_FALSE@,$CREATE_DSSI_LIBRARIES_FALSE,;t t
18837 s,@CREATE_GTK_PEER_LIBRARIES_TRUE@,$CREATE_GTK_PEER_LIBRARIES_TRUE,;t t
18838 s,@CREATE_GTK_PEER_LIBRARIES_FALSE@,$CREATE_GTK_PEER_LIBRARIES_FALSE,;t t
18839 s,@GTK_CAIRO_ENABLED@,$GTK_CAIRO_ENABLED,;t t
18840 s,@GTK_CAIRO_TRUE@,$GTK_CAIRO_TRUE,;t t
18841 s,@GTK_CAIRO_FALSE@,$GTK_CAIRO_FALSE,;t t
18842 s,@CREATE_QT_PEER_LIBRARIES_TRUE@,$CREATE_QT_PEER_LIBRARIES_TRUE,;t t
18843 s,@CREATE_QT_PEER_LIBRARIES_FALSE@,$CREATE_QT_PEER_LIBRARIES_FALSE,;t t
18844 s,@nativeexeclibdir@,$nativeexeclibdir,;t t
18845 s,@glibjdir@,$glibjdir,;t t
18846 s,@CREATE_JNI_HEADERS_TRUE@,$CREATE_JNI_HEADERS_TRUE,;t t
18847 s,@CREATE_JNI_HEADERS_FALSE@,$CREATE_JNI_HEADERS_FALSE,;t t
18848 s,@LN_S@,$LN_S,;t t
18849 s,@RANLIB@,$RANLIB,;t t
18850 s,@ac_ct_RANLIB@,$ac_ct_RANLIB,;t t
18851 s,@LIBTOOL@,$LIBTOOL,;t t
18853 s,@CXXFLAGS@,$CXXFLAGS,;t t
18854 s,@ac_ct_CXX@,$ac_ct_CXX,;t t
18855 s,@CXXDEPMODE@,$CXXDEPMODE,;t t
18856 s,@am__fastdepCXX_TRUE@,$am__fastdepCXX_TRUE,;t t
18857 s,@am__fastdepCXX_FALSE@,$am__fastdepCXX_FALSE,;t t
18858 s,@CXXCPP@,$CXXCPP,;t t
18859 s,@PERL@,$PERL,;t t
18860 s,@COLLECTIONS_PREFIX@,$COLLECTIONS_PREFIX,;t t
18861 s,@LIBICONV@,$LIBICONV,;t t
18862 s,@LTLIBICONV@,$LTLIBICONV,;t t
18863 s,@WARNING_CFLAGS@,$WARNING_CFLAGS,;t t
18864 s,@STRICT_WARNING_CFLAGS@,$STRICT_WARNING_CFLAGS,;t t
18865 s,@ERROR_CFLAGS@,$ERROR_CFLAGS,;t t
18866 s,@PKG_CONFIG@,$PKG_CONFIG,;t t
18867 s,@XML_CFLAGS@,$XML_CFLAGS,;t t
18868 s,@XML_LIBS@,$XML_LIBS,;t t
18869 s,@XSLT_CFLAGS@,$XSLT_CFLAGS,;t t
18870 s,@XSLT_LIBS@,$XSLT_LIBS,;t t
18871 s,@X_CFLAGS@,$X_CFLAGS,;t t
18872 s,@X_PRE_LIBS@,$X_PRE_LIBS,;t t
18873 s,@X_LIBS@,$X_LIBS,;t t
18874 s,@X_EXTRA_LIBS@,$X_EXTRA_LIBS,;t t
18875 s,@GTK_CFLAGS@,$GTK_CFLAGS,;t t
18876 s,@GTK_LIBS@,$GTK_LIBS,;t t
18877 s,@CAIRO_CFLAGS@,$CAIRO_CFLAGS,;t t
18878 s,@CAIRO_LIBS@,$CAIRO_LIBS,;t t
18879 s,@FREETYPE2_CFLAGS@,$FREETYPE2_CFLAGS,;t t
18880 s,@FREETYPE2_LIBS@,$FREETYPE2_LIBS,;t t
18881 s,@PANGOFT2_CFLAGS@,$PANGOFT2_CFLAGS,;t t
18882 s,@PANGOFT2_LIBS@,$PANGOFT2_LIBS,;t t
18883 s,@QT_CFLAGS@,$QT_CFLAGS,;t t
18884 s,@QT_LIBS@,$QT_LIBS,;t t
18886 s,@USER_JAVAH@,$USER_JAVAH,;t t
18887 s,@USER_SPECIFIED_JAVAH_TRUE@,$USER_SPECIFIED_JAVAH_TRUE,;t t
18888 s,@USER_SPECIFIED_JAVAH_FALSE@,$USER_SPECIFIED_JAVAH_FALSE,;t t
18889 s,@CLASSPATH_INCLUDES@,$CLASSPATH_INCLUDES,;t t
18891 s,@JIKES@,$JIKES,;t t
18892 s,@JIKESENCODING@,$JIKESENCODING,;t t
18893 s,@JIKESWARNINGS@,$JIKESWARNINGS,;t t
18895 s,@GCJX@,$GCJX,;t t
18897 s,@FOUND_GCJ_TRUE@,$FOUND_GCJ_TRUE,;t t
18898 s,@FOUND_GCJ_FALSE@,$FOUND_GCJ_FALSE,;t t
18899 s,@FOUND_JIKES_TRUE@,$FOUND_JIKES_TRUE,;t t
18900 s,@FOUND_JIKES_FALSE@,$FOUND_JIKES_FALSE,;t t
18901 s,@FOUND_ECJ_TRUE@,$FOUND_ECJ_TRUE,;t t
18902 s,@FOUND_ECJ_FALSE@,$FOUND_ECJ_FALSE,;t t
18903 s,@FOUND_KJC_TRUE@,$FOUND_KJC_TRUE,;t t
18904 s,@FOUND_KJC_FALSE@,$FOUND_KJC_FALSE,;t t
18905 s,@FOUND_GCJX_TRUE@,$FOUND_GCJX_TRUE,;t t
18906 s,@FOUND_GCJX_FALSE@,$FOUND_GCJX_FALSE,;t t
18907 s,@USER_CLASSLIB@,$USER_CLASSLIB,;t t
18908 s,@USER_SPECIFIED_CLASSLIB_TRUE@,$USER_SPECIFIED_CLASSLIB_TRUE,;t t
18909 s,@USER_SPECIFIED_CLASSLIB_FALSE@,$USER_SPECIFIED_CLASSLIB_FALSE,;t t
18910 s,@vm_classes@,$vm_classes,;t t
18911 s,@MAINTAINER_MODE_TRUE@,$MAINTAINER_MODE_TRUE,;t t
18912 s,@MAINTAINER_MODE_FALSE@,$MAINTAINER_MODE_FALSE,;t t
18913 s,@MAINT@,$MAINT,;t t
18914 s,@LIBDEBUG@,$LIBDEBUG,;t t
18915 s,@INIT_LOAD_LIBRARY@,$INIT_LOAD_LIBRARY,;t t
18916 s,@JAVA_LANG_SYSTEM_EXPLICIT_INITIALIZATION@,$JAVA_LANG_SYSTEM_EXPLICIT_INITIALIZATION,;t t
18917 s,@REMOVE@,$REMOVE,;t t
18918 s,@MKDIR@,$MKDIR,;t t
18920 s,@DATE@,$DATE,;t t
18921 s,@FIND@,$FIND,;t t
18923 s,@FASTJAR@,$FASTJAR,;t t
18924 s,@INSTALL_GLIBJ_ZIP_TRUE@,$INSTALL_GLIBJ_ZIP_TRUE,;t t
18925 s,@INSTALL_GLIBJ_ZIP_FALSE@,$INSTALL_GLIBJ_ZIP_FALSE,;t t
18926 s,@INSTALL_CLASS_FILES_TRUE@,$INSTALL_CLASS_FILES_TRUE,;t t
18927 s,@INSTALL_CLASS_FILES_FALSE@,$INSTALL_CLASS_FILES_FALSE,;t t
18928 s,@BUILD_CLASS_FILES_TRUE@,$BUILD_CLASS_FILES_TRUE,;t t
18929 s,@BUILD_CLASS_FILES_FALSE@,$BUILD_CLASS_FILES_FALSE,;t t
18930 s,@EXAMPLESDIR@,$EXAMPLESDIR,;t t
18931 s,@GJDOC@,$GJDOC,;t t
18932 s,@CREATE_API_DOCS_TRUE@,$CREATE_API_DOCS_TRUE,;t t
18933 s,@CREATE_API_DOCS_FALSE@,$CREATE_API_DOCS_FALSE,;t t
18935 s,@JAY_SKELETON@,$JAY_SKELETON,;t t
18936 s,@REGEN_PARSERS_TRUE@,$REGEN_PARSERS_TRUE,;t t
18937 s,@REGEN_PARSERS_FALSE@,$REGEN_PARSERS_FALSE,;t t
18938 s,@USE_PREBUILT_GLIBJ_ZIP_TRUE@,$USE_PREBUILT_GLIBJ_ZIP_TRUE,;t t
18939 s,@USE_PREBUILT_GLIBJ_ZIP_FALSE@,$USE_PREBUILT_GLIBJ_ZIP_FALSE,;t t
18940 s,@PATH_TO_GLIBJ_ZIP@,$PATH_TO_GLIBJ_ZIP,;t t
18941 s,@ENABLE_LOCAL_SOCKETS_TRUE@,$ENABLE_LOCAL_SOCKETS_TRUE,;t t
18942 s,@ENABLE_LOCAL_SOCKETS_FALSE@,$ENABLE_LOCAL_SOCKETS_FALSE,;t t
18943 s,@LIBOBJS@,$LIBOBJS,;t t
18944 s,@LTLIBOBJS@,$LTLIBOBJS,;t t
18949 cat >>$CONFIG_STATUS <<\_ACEOF
18950 # Split the substitutions into bite-sized pieces for seds with
18951 # small command number limits, like on Digital OSF/1 and HP-UX.
18952 ac_max_sed_lines
=48
18953 ac_sed_frag
=1 # Number of current file.
18954 ac_beg
=1 # First line for current file.
18955 ac_end
=$ac_max_sed_lines # Line after last line for current file.
18958 while $ac_more_lines; do
18959 if test $ac_beg -gt 1; then
18960 sed "1,${ac_beg}d; ${ac_end}q" $tmp/subs.
sed >$tmp/subs.frag
18962 sed "${ac_end}q" $tmp/subs.
sed >$tmp/subs.frag
18964 if test ! -s $tmp/subs.frag
; then
18965 ac_more_lines
=false
18967 # The purpose of the label and of the branching condition is to
18968 # speed up the sed processing (if there are no `@' at all, there
18969 # is no need to browse any of the substitutions).
18970 # These are the two extra sed commands mentioned above.
18972 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b' && cat $tmp/subs.frag
) >$tmp/subs-
$ac_sed_frag.
sed
18973 if test -z "$ac_sed_cmds"; then
18974 ac_sed_cmds
="sed -f $tmp/subs-$ac_sed_frag.sed"
18976 ac_sed_cmds
="$ac_sed_cmds | sed -f $tmp/subs-$ac_sed_frag.sed"
18978 ac_sed_frag
=`expr $ac_sed_frag + 1`
18980 ac_end
=`expr $ac_end + $ac_max_sed_lines`
18983 if test -z "$ac_sed_cmds"; then
18986 fi # test -n "$CONFIG_FILES"
18989 cat >>$CONFIG_STATUS <<\_ACEOF
18990 for ac_file
in : $CONFIG_FILES; do test "x$ac_file" = x
: && continue
18991 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
18993 - |
*:- |
*:-:* ) # input from stdin
18995 ac_file_in
=`echo "$ac_file" | sed 's,[^:]*:,,'`
18996 ac_file
=`echo "$ac_file" | sed 's,:.*,,'` ;;
18997 *:* ) ac_file_in
=`echo "$ac_file" | sed 's,[^:]*:,,'`
18998 ac_file
=`echo "$ac_file" | sed 's,:.*,,'` ;;
18999 * ) ac_file_in
=$ac_file.
in ;;
19002 # Compute @srcdir@, @top_srcdir@, and @INSTALL@ for subdirectories.
19003 ac_dir
=`(dirname "$ac_file") 2>/dev/null ||
19004 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
19005 X"$ac_file" : 'X\(//\)[^/]' \| \
19006 X"$ac_file" : 'X\(//\)$' \| \
19007 X"$ac_file" : 'X\(/\)' \| \
19008 . : '\(.\)' 2>/dev/null ||
19010 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
19011 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
19012 /^X\(\/\/\)$/{ s//\1/; q; }
19013 /^X\(\/\).*/{ s//\1/; q; }
19015 { if $as_mkdir_p; then
19020 while test ! -d "$as_dir"; do
19021 as_dirs
="$as_dir $as_dirs"
19022 as_dir
=`(dirname "$as_dir") 2>/dev/null ||
19023 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
19024 X"$as_dir" : 'X\(//\)[^/]' \| \
19025 X"$as_dir" : 'X\(//\)$' \| \
19026 X"$as_dir" : 'X\(/\)' \| \
19027 . : '\(.\)' 2>/dev/null ||
19029 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
19030 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
19031 /^X\(\/\/\)$/{ s//\1/; q; }
19032 /^X\(\/\).*/{ s//\1/; q; }
19035 test ! -n "$as_dirs" || mkdir
$as_dirs
19036 fi ||
{ { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
19037 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
19038 { (exit 1); exit 1; }; }; }
19042 if test "$ac_dir" != .
; then
19043 ac_dir_suffix
=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
19044 # A "../" for each directory in $ac_dir_suffix.
19045 ac_top_builddir
=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
19047 ac_dir_suffix
= ac_top_builddir
=
19051 .
) # No --srcdir option. We are building in place.
19053 if test -z "$ac_top_builddir"; then
19056 ac_top_srcdir
=`echo $ac_top_builddir | sed 's,/$,,'`
19058 [\\/]* | ?
:[\\/]* ) # Absolute path.
19059 ac_srcdir
=$srcdir$ac_dir_suffix;
19060 ac_top_srcdir
=$srcdir ;;
19061 *) # Relative path.
19062 ac_srcdir
=$ac_top_builddir$srcdir$ac_dir_suffix
19063 ac_top_srcdir
=$ac_top_builddir$srcdir ;;
19066 # Do not use `cd foo && pwd` to compute absolute paths, because
19067 # the directories may not exist.
19069 .
) ac_abs_builddir
="$ac_dir";;
19072 .
) ac_abs_builddir
=`pwd`;;
19073 [\\/]* | ?
:[\\/]* ) ac_abs_builddir
="$ac_dir";;
19074 *) ac_abs_builddir
=`pwd`/"$ac_dir";;
19077 case $ac_abs_builddir in
19078 .
) ac_abs_top_builddir
=${ac_top_builddir}.
;;
19080 case ${ac_top_builddir}.
in
19081 .
) ac_abs_top_builddir
=$ac_abs_builddir;;
19082 [\\/]* | ?
:[\\/]* ) ac_abs_top_builddir
=${ac_top_builddir}.
;;
19083 *) ac_abs_top_builddir
=$ac_abs_builddir/${ac_top_builddir}.
;;
19086 case $ac_abs_builddir in
19087 .
) ac_abs_srcdir
=$ac_srcdir;;
19090 .
) ac_abs_srcdir
=$ac_abs_builddir;;
19091 [\\/]* | ?
:[\\/]* ) ac_abs_srcdir
=$ac_srcdir;;
19092 *) ac_abs_srcdir
=$ac_abs_builddir/$ac_srcdir;;
19095 case $ac_abs_builddir in
19096 .
) ac_abs_top_srcdir
=$ac_top_srcdir;;
19098 case $ac_top_srcdir in
19099 .
) ac_abs_top_srcdir
=$ac_abs_builddir;;
19100 [\\/]* | ?
:[\\/]* ) ac_abs_top_srcdir
=$ac_top_srcdir;;
19101 *) ac_abs_top_srcdir
=$ac_abs_builddir/$ac_top_srcdir;;
19107 [\\/$
]* | ?
:[\\/]* ) ac_INSTALL
=$INSTALL ;;
19108 *) ac_INSTALL
=$ac_top_builddir$INSTALL ;;
19111 if test x
"$ac_file" != x-
; then
19112 { echo "$as_me:$LINENO: creating $ac_file" >&5
19113 echo "$as_me: creating $ac_file" >&6;}
19116 # Let's still pretend it is `configure' which instantiates (i.e., don't
19117 # use $as_me), people would be surprised to read:
19118 # /* config.h. Generated by config.status. */
19119 if test x
"$ac_file" = x-
; then
19122 configure_input
="$ac_file. "
19124 configure_input
=$configure_input"Generated from `echo $ac_file_in |
19125 sed 's,.*/,,'` by configure."
19127 # First look for the input files in the build tree, otherwise in the
19129 ac_file_inputs
=`IFS=:
19130 for f in $ac_file_in; do
19132 -) echo $tmp/stdin ;;
19134 # Absolute (can't be DOS-style, as IFS=:)
19135 test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
19136 echo "$as_me: error: cannot find input file: $f" >&2;}
19137 { (exit 1); exit 1; }; }
19140 if test -f "$f"; then
19143 elif test -f "$srcdir/$f"; then
19148 { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
19149 echo "$as_me: error: cannot find input file: $f" >&2;}
19150 { (exit 1); exit 1; }; }
19153 done` ||
{ (exit 1); exit 1; }
19155 cat >>$CONFIG_STATUS <<_ACEOF
19159 cat >>$CONFIG_STATUS <<\_ACEOF
19161 /@
[a-zA-Z_
][a-zA-Z_0-9
]*@
/!b
19162 s
,@configure_input@
,$configure_input,;t t
19163 s
,@srcdir@
,$ac_srcdir,;t t
19164 s
,@abs_srcdir@
,$ac_abs_srcdir,;t t
19165 s
,@top_srcdir@
,$ac_top_srcdir,;t t
19166 s
,@abs_top_srcdir@
,$ac_abs_top_srcdir,;t t
19167 s
,@builddir@
,$ac_builddir,;t t
19168 s
,@abs_builddir@
,$ac_abs_builddir,;t t
19169 s
,@top_builddir@
,$ac_top_builddir,;t t
19170 s
,@abs_top_builddir@
,$ac_abs_top_builddir,;t t
19171 s
,@INSTALL@
,$ac_INSTALL,;t t
19172 " $ac_file_inputs | (eval "$ac_sed_cmds") >$tmp/out
19174 if test x"$ac_file" != x-; then
19175 mv $tmp/out $ac_file
19183 cat >>$CONFIG_STATUS <<\_ACEOF
19186 # CONFIG_HEADER section.
19189 # These sed commands are passed to sed as "A NAME B NAME C VALUE D
", where
19190 # NAME is the cpp macro being defined and VALUE is the value it is being given.
19192 # ac_d sets the value in "#define NAME VALUE" lines.
19193 ac_dA
='s,^\([ ]*\)#\([ ]*define[ ][ ]*\)'
19194 ac_dB
='[ ].*$,\1#\2'
19197 # ac_u turns "#undef NAME" without trailing blanks into "#define NAME VALUE".
19198 ac_uA
='s,^\([ ]*\)#\([ ]*\)undef\([ ][ ]*\)'
19199 ac_uB
='$,\1#\2define\3'
19203 for ac_file
in : $CONFIG_HEADERS; do test "x$ac_file" = x
: && continue
19204 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
19206 - |
*:- |
*:-:* ) # input from stdin
19208 ac_file_in
=`echo "$ac_file" | sed 's,[^:]*:,,'`
19209 ac_file
=`echo "$ac_file" | sed 's,:.*,,'` ;;
19210 *:* ) ac_file_in
=`echo "$ac_file" | sed 's,[^:]*:,,'`
19211 ac_file
=`echo "$ac_file" | sed 's,:.*,,'` ;;
19212 * ) ac_file_in
=$ac_file.
in ;;
19215 test x
"$ac_file" != x-
&& { echo "$as_me:$LINENO: creating $ac_file" >&5
19216 echo "$as_me: creating $ac_file" >&6;}
19218 # First look for the input files in the build tree, otherwise in the
19220 ac_file_inputs
=`IFS=:
19221 for f in $ac_file_in; do
19223 -) echo $tmp/stdin ;;
19225 # Absolute (can't be DOS-style, as IFS=:)
19226 test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
19227 echo "$as_me: error: cannot find input file: $f" >&2;}
19228 { (exit 1); exit 1; }; }
19229 # Do quote $f, to prevent DOS paths from being IFS'd.
19232 if test -f "$f"; then
19235 elif test -f "$srcdir/$f"; then
19240 { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
19241 echo "$as_me: error: cannot find input file: $f" >&2;}
19242 { (exit 1); exit 1; }; }
19245 done` ||
{ (exit 1); exit 1; }
19246 # Remove the trailing spaces.
19247 sed 's/[ ]*$//' $ac_file_inputs >$tmp/in
19251 # Transform confdefs.h into two sed scripts, `conftest.defines' and
19252 # `conftest.undefs', that substitutes the proper values into
19253 # config.h.in to produce config.h. The first handles `#define'
19254 # templates, and the second `#undef' templates.
19255 # And first: Protect against being on the right side of a sed subst in
19256 # config.status. Protect against being in an unquoted here document
19257 # in config.status.
19258 rm -f conftest.defines conftest.undefs
19259 # Using a here document instead of a string reduces the quoting nightmare.
19260 # Putting comments in sed scripts is not portable.
19262 # `end' is used to avoid that the second main sed command (meant for
19263 # 0-ary CPP macros) applies to n-ary macro definitions.
19264 # See the Autoconf documentation for `clear'.
19265 cat >confdef2sed.
sed <<\_ACEOF
19270 s,^[ ]*#[ ]*define[ ][ ]*\([^ (][^ (]*\)\(([^)]*)\)[ ]*\(.*\)$,${ac_dA}\1${ac_dB}\1\2${ac_dC}\3${ac_dD},gp
19272 s,^[ ]*#[ ]*define[ ][ ]*\([^ ][^ ]*\)[ ]*\(.*\)$,${ac_dA}\1${ac_dB}\1${ac_dC}\2${ac_dD},gp
19275 # If some macros were called several times there might be several times
19276 # the same #defines, which is useless. Nevertheless, we may not want to
19277 # sort them, since we want the *last* AC-DEFINE to be honored.
19278 uniq confdefs.h | sed -n -f confdef2sed.sed >conftest.defines
19279 sed 's/ac_d/ac_u/g' conftest.defines >conftest.undefs
19280 rm -f confdef2sed.sed
19282 # This sed command replaces #undef with comments. This is necessary, for
19283 # example, in the case of _POSIX_SOURCE, which is predefined and required
19284 # on some systems where configure will not decide to define it.
19285 cat >>conftest.undefs <<\_ACEOF
19286 s,^[ ]*#[ ]*undef[ ][ ]*[a-zA-Z_][a-zA-Z_0-9]*,/* & */,
19289 # Break up conftest.defines because some shells have a limit on the size
19290 # of here documents, and old seds have small limits too (100 cmds).
19291 echo ' # Handle all the #define templates only if necessary.' >>$CONFIG_STATUS
19292 echo ' if grep "^[ ]*#[ ]*define" $tmp/in >/dev/null; then' >>$CONFIG_STATUS
19293 echo ' # If there are no defines, we may have an empty if/fi' >>$CONFIG_STATUS
19294 echo ' :' >>$CONFIG_STATUS
19295 rm -f conftest.tail
19296 while grep . conftest.defines >/dev/null
19298 # Write a limited-size here document to $tmp/defines.sed.
19299 echo ' cat >$tmp/defines.sed <<CEOF' >>$CONFIG_STATUS
19300 # Speed up: don't consider the non `#define' lines.
19301 echo '/^[ ]*#[ ]*define/!b' >>$CONFIG_STATUS
19302 # Work around the forget-to-reset-the-flag bug.
19303 echo 't clr' >>$CONFIG_STATUS
19304 echo ': clr' >>$CONFIG_STATUS
19305 sed ${ac_max_here_lines}q conftest.defines
>>$CONFIG_STATUS
19307 sed -f $tmp/defines.sed $tmp/in >$tmp/out
19309 mv $tmp/out $tmp/in
19311 sed 1,${ac_max_here_lines}d conftest.defines
>conftest.
tail
19312 rm -f conftest.defines
19313 mv conftest.
tail conftest.defines
19315 rm -f conftest.defines
19316 echo ' fi # grep' >>$CONFIG_STATUS
19317 echo >>$CONFIG_STATUS
19319 # Break up conftest.undefs because some shells have a limit on the size
19320 # of here documents, and old seds have small limits too (100 cmds).
19321 echo ' # Handle all the #undef templates' >>$CONFIG_STATUS
19322 rm -f conftest.
tail
19323 while grep . conftest.undefs
>/dev
/null
19325 # Write a limited-size here document to $tmp/undefs.sed.
19326 echo ' cat >$tmp/undefs.sed <<CEOF' >>$CONFIG_STATUS
19327 # Speed up: don't consider the non
`#undef'
19328 echo '/^[ ]*#[ ]*undef/!b' >>$CONFIG_STATUS
19329 # Work around the forget-to-reset-the-flag bug.
19330 echo 't clr' >>$CONFIG_STATUS
19331 echo ': clr' >>$CONFIG_STATUS
19332 sed ${ac_max_here_lines}q conftest.undefs >>$CONFIG_STATUS
19334 sed -f $tmp/undefs.sed $tmp/in >$tmp/out
19336 mv $tmp/out $tmp/in
19338 sed 1,${ac_max_here_lines}d conftest.undefs >conftest.tail
19339 rm -f conftest.undefs
19340 mv conftest.tail conftest.undefs
19342 rm -f conftest.undefs
19344 cat >>$CONFIG_STATUS <<\_ACEOF
19345 # Let's still pretend it is `configure
' which instantiates (i.e., don't
19346 # use $as_me), people would be surprised to read:
19347 # /* config.h. Generated by config.status. */
19348 if test x
"$ac_file" = x-
; then
19349 echo "/* Generated by configure. */" >$tmp/config.h
19351 echo "/* $ac_file. Generated by configure. */" >$tmp/config.h
19353 cat $tmp/in >>$tmp/config.h
19355 if test x
"$ac_file" != x-
; then
19356 if diff $ac_file $tmp/config.h
>/dev
/null
2>&1; then
19357 { echo "$as_me:$LINENO: $ac_file is unchanged" >&5
19358 echo "$as_me: $ac_file is unchanged" >&6;}
19360 ac_dir
=`(dirname "$ac_file") 2>/dev/null ||
19361 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
19362 X"$ac_file" : 'X\(//\)[^/]' \| \
19363 X"$ac_file" : 'X\(//\)$' \| \
19364 X"$ac_file" : 'X\(/\)' \| \
19365 . : '\(.\)' 2>/dev/null ||
19367 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
19368 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
19369 /^X\(\/\/\)$/{ s//\1/; q; }
19370 /^X\(\/\).*/{ s//\1/; q; }
19372 { if $as_mkdir_p; then
19377 while test ! -d "$as_dir"; do
19378 as_dirs
="$as_dir $as_dirs"
19379 as_dir
=`(dirname "$as_dir") 2>/dev/null ||
19380 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
19381 X"$as_dir" : 'X\(//\)[^/]' \| \
19382 X"$as_dir" : 'X\(//\)$' \| \
19383 X"$as_dir" : 'X\(/\)' \| \
19384 . : '\(.\)' 2>/dev/null ||
19386 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
19387 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
19388 /^X\(\/\/\)$/{ s//\1/; q; }
19389 /^X\(\/\).*/{ s//\1/; q; }
19392 test ! -n "$as_dirs" || mkdir
$as_dirs
19393 fi ||
{ { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
19394 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
19395 { (exit 1); exit 1; }; }; }
19398 mv $tmp/config.h
$ac_file
19402 rm -f $tmp/config.h
19404 # Compute $ac_file's index in $config_headers.
19406 for _am_header
in $config_headers :; do
19407 case $_am_header in
19408 $ac_file |
$ac_file:* )
19411 _am_stamp_count
=`expr $_am_stamp_count + 1` ;;
19414 echo "timestamp for $ac_file" >`(dirname $ac_file) 2>/dev/null ||
19415 $as_expr X$ac_file : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
19416 X$ac_file : 'X\(//\)[^/]' \| \
19417 X$ac_file : 'X\(//\)$' \| \
19418 X$ac_file : 'X\(/\)' \| \
19419 . : '\(.\)' 2>/dev/null ||
19421 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
19422 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
19423 /^X\(\/\/\)$/{ s//\1/; q; }
19424 /^X\(\/\).*/{ s//\1/; q; }
19425 s/.*/./; q'`/stamp-h
$_am_stamp_count
19428 cat >>$CONFIG_STATUS <<\_ACEOF
19431 # CONFIG_LINKS section.
19434 for ac_file
in : $CONFIG_LINKS; do test "x$ac_file" = x
: && continue
19435 ac_dest
=`echo "$ac_file" | sed 's,:.*,,'`
19436 ac_source
=`echo "$ac_file" | sed 's,[^:]*:,,'`
19438 { echo "$as_me:$LINENO: linking $srcdir/$ac_source to $ac_dest" >&5
19439 echo "$as_me: linking $srcdir/$ac_source to $ac_dest" >&6;}
19441 if test ! -r $srcdir/$ac_source; then
19442 { { echo "$as_me:$LINENO: error: $srcdir/$ac_source: file not found" >&5
19443 echo "$as_me: error: $srcdir/$ac_source: file not found" >&2;}
19444 { (exit 1); exit 1; }; }
19448 # Make relative symlinks.
19449 ac_dest_dir
=`(dirname "$ac_dest") 2>/dev/null ||
19450 $as_expr X"$ac_dest" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
19451 X"$ac_dest" : 'X\(//\)[^/]' \| \
19452 X"$ac_dest" : 'X\(//\)$' \| \
19453 X"$ac_dest" : 'X\(/\)' \| \
19454 . : '\(.\)' 2>/dev/null ||
19456 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
19457 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
19458 /^X\(\/\/\)$/{ s//\1/; q; }
19459 /^X\(\/\).*/{ s//\1/; q; }
19461 { if $as_mkdir_p; then
19462 mkdir
-p "$ac_dest_dir"
19464 as_dir
="$ac_dest_dir"
19466 while test ! -d "$as_dir"; do
19467 as_dirs
="$as_dir $as_dirs"
19468 as_dir
=`(dirname "$as_dir") 2>/dev/null ||
19469 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
19470 X"$as_dir" : 'X\(//\)[^/]' \| \
19471 X"$as_dir" : 'X\(//\)$' \| \
19472 X"$as_dir" : 'X\(/\)' \| \
19473 . : '\(.\)' 2>/dev/null ||
19475 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
19476 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
19477 /^X\(\/\/\)$/{ s//\1/; q; }
19478 /^X\(\/\).*/{ s//\1/; q; }
19481 test ! -n "$as_dirs" || mkdir
$as_dirs
19482 fi ||
{ { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dest_dir\"" >&5
19483 echo "$as_me: error: cannot create directory \"$ac_dest_dir\"" >&2;}
19484 { (exit 1); exit 1; }; }; }
19488 if test "$ac_dest_dir" != .
; then
19489 ac_dir_suffix
=/`echo "$ac_dest_dir" | sed 's,^\.[\\/],,'`
19490 # A "../" for each directory in $ac_dir_suffix.
19491 ac_top_builddir
=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
19493 ac_dir_suffix
= ac_top_builddir
=
19497 .
) # No --srcdir option. We are building in place.
19499 if test -z "$ac_top_builddir"; then
19502 ac_top_srcdir
=`echo $ac_top_builddir | sed 's,/$,,'`
19504 [\\/]* | ?
:[\\/]* ) # Absolute path.
19505 ac_srcdir
=$srcdir$ac_dir_suffix;
19506 ac_top_srcdir
=$srcdir ;;
19507 *) # Relative path.
19508 ac_srcdir
=$ac_top_builddir$srcdir$ac_dir_suffix
19509 ac_top_srcdir
=$ac_top_builddir$srcdir ;;
19512 # Do not use `cd foo && pwd` to compute absolute paths, because
19513 # the directories may not exist.
19515 .
) ac_abs_builddir
="$ac_dest_dir";;
19517 case "$ac_dest_dir" in
19518 .
) ac_abs_builddir
=`pwd`;;
19519 [\\/]* | ?
:[\\/]* ) ac_abs_builddir
="$ac_dest_dir";;
19520 *) ac_abs_builddir
=`pwd`/"$ac_dest_dir";;
19523 case $ac_abs_builddir in
19524 .
) ac_abs_top_builddir
=${ac_top_builddir}.
;;
19526 case ${ac_top_builddir}.
in
19527 .
) ac_abs_top_builddir
=$ac_abs_builddir;;
19528 [\\/]* | ?
:[\\/]* ) ac_abs_top_builddir
=${ac_top_builddir}.
;;
19529 *) ac_abs_top_builddir
=$ac_abs_builddir/${ac_top_builddir}.
;;
19532 case $ac_abs_builddir in
19533 .
) ac_abs_srcdir
=$ac_srcdir;;
19536 .
) ac_abs_srcdir
=$ac_abs_builddir;;
19537 [\\/]* | ?
:[\\/]* ) ac_abs_srcdir
=$ac_srcdir;;
19538 *) ac_abs_srcdir
=$ac_abs_builddir/$ac_srcdir;;
19541 case $ac_abs_builddir in
19542 .
) ac_abs_top_srcdir
=$ac_top_srcdir;;
19544 case $ac_top_srcdir in
19545 .
) ac_abs_top_srcdir
=$ac_abs_builddir;;
19546 [\\/]* | ?
:[\\/]* ) ac_abs_top_srcdir
=$ac_top_srcdir;;
19547 *) ac_abs_top_srcdir
=$ac_abs_builddir/$ac_top_srcdir;;
19553 [\\/$
]* | ?
:[\\/]* ) ac_rel_source
=$srcdir/$ac_source ;;
19554 *) ac_rel_source
=$ac_top_builddir$srcdir/$ac_source ;;
19557 # Try a symlink, then a hard link, then a copy.
19558 ln -s $ac_rel_source $ac_dest 2>/dev
/null ||
19559 ln $srcdir/$ac_source $ac_dest 2>/dev
/null ||
19560 cp -p $srcdir/$ac_source $ac_dest ||
19561 { { echo "$as_me:$LINENO: error: cannot link or copy $srcdir/$ac_source to $ac_dest" >&5
19562 echo "$as_me: error: cannot link or copy $srcdir/$ac_source to $ac_dest" >&2;}
19563 { (exit 1); exit 1; }; }
19566 cat >>$CONFIG_STATUS <<\_ACEOF
19569 # CONFIG_COMMANDS section.
19571 for ac_file
in : $CONFIG_COMMANDS; do test "x$ac_file" = x
: && continue
19572 ac_dest
=`echo "$ac_file" | sed 's,:.*,,'`
19573 ac_source
=`echo "$ac_file" | sed 's,[^:]*:,,'`
19574 ac_dir
=`(dirname "$ac_dest") 2>/dev/null ||
19575 $as_expr X"$ac_dest" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
19576 X"$ac_dest" : 'X\(//\)[^/]' \| \
19577 X"$ac_dest" : 'X\(//\)$' \| \
19578 X"$ac_dest" : 'X\(/\)' \| \
19579 . : '\(.\)' 2>/dev/null ||
19581 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
19582 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
19583 /^X\(\/\/\)$/{ s//\1/; q; }
19584 /^X\(\/\).*/{ s//\1/; q; }
19586 { if $as_mkdir_p; then
19591 while test ! -d "$as_dir"; do
19592 as_dirs
="$as_dir $as_dirs"
19593 as_dir
=`(dirname "$as_dir") 2>/dev/null ||
19594 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
19595 X"$as_dir" : 'X\(//\)[^/]' \| \
19596 X"$as_dir" : 'X\(//\)$' \| \
19597 X"$as_dir" : 'X\(/\)' \| \
19598 . : '\(.\)' 2>/dev/null ||
19600 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
19601 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
19602 /^X\(\/\/\)$/{ s//\1/; q; }
19603 /^X\(\/\).*/{ s//\1/; q; }
19606 test ! -n "$as_dirs" || mkdir
$as_dirs
19607 fi ||
{ { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
19608 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
19609 { (exit 1); exit 1; }; }; }
19613 if test "$ac_dir" != .
; then
19614 ac_dir_suffix
=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
19615 # A "../" for each directory in $ac_dir_suffix.
19616 ac_top_builddir
=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
19618 ac_dir_suffix
= ac_top_builddir
=
19622 .
) # No --srcdir option. We are building in place.
19624 if test -z "$ac_top_builddir"; then
19627 ac_top_srcdir
=`echo $ac_top_builddir | sed 's,/$,,'`
19629 [\\/]* | ?
:[\\/]* ) # Absolute path.
19630 ac_srcdir
=$srcdir$ac_dir_suffix;
19631 ac_top_srcdir
=$srcdir ;;
19632 *) # Relative path.
19633 ac_srcdir
=$ac_top_builddir$srcdir$ac_dir_suffix
19634 ac_top_srcdir
=$ac_top_builddir$srcdir ;;
19637 # Do not use `cd foo && pwd` to compute absolute paths, because
19638 # the directories may not exist.
19640 .
) ac_abs_builddir
="$ac_dir";;
19643 .
) ac_abs_builddir
=`pwd`;;
19644 [\\/]* | ?
:[\\/]* ) ac_abs_builddir
="$ac_dir";;
19645 *) ac_abs_builddir
=`pwd`/"$ac_dir";;
19648 case $ac_abs_builddir in
19649 .
) ac_abs_top_builddir
=${ac_top_builddir}.
;;
19651 case ${ac_top_builddir}.
in
19652 .
) ac_abs_top_builddir
=$ac_abs_builddir;;
19653 [\\/]* | ?
:[\\/]* ) ac_abs_top_builddir
=${ac_top_builddir}.
;;
19654 *) ac_abs_top_builddir
=$ac_abs_builddir/${ac_top_builddir}.
;;
19657 case $ac_abs_builddir in
19658 .
) ac_abs_srcdir
=$ac_srcdir;;
19661 .
) ac_abs_srcdir
=$ac_abs_builddir;;
19662 [\\/]* | ?
:[\\/]* ) ac_abs_srcdir
=$ac_srcdir;;
19663 *) ac_abs_srcdir
=$ac_abs_builddir/$ac_srcdir;;
19666 case $ac_abs_builddir in
19667 .
) ac_abs_top_srcdir
=$ac_top_srcdir;;
19669 case $ac_top_srcdir in
19670 .
) ac_abs_top_srcdir
=$ac_abs_builddir;;
19671 [\\/]* | ?
:[\\/]* ) ac_abs_top_srcdir
=$ac_top_srcdir;;
19672 *) ac_abs_top_srcdir
=$ac_abs_builddir/$ac_top_srcdir;;
19677 { echo "$as_me:$LINENO: executing $ac_dest commands" >&5
19678 echo "$as_me: executing $ac_dest commands" >&6;}
19680 depfiles
) test x
"$AMDEP_TRUE" != x
"" ||
for mf
in $CONFIG_FILES; do
19681 # Strip MF so we end up with the name of the file.
19682 mf
=`echo "$mf" | sed -e 's/:.*$//'`
19683 # Check whether this is an Automake generated Makefile or not.
19684 # We used to match only the files named `Makefile.in', but
19685 # some people rename them; so instead we look at the file content.
19686 # Grep'ing the first line is not enough: some people post-process
19687 # each Makefile.in and add a new line on top of each file to say so.
19688 # So let's grep whole file.
19689 if grep '^#.*generated by automake' $mf > /dev
/null
2>&1; then
19690 dirpart
=`(dirname "$mf") 2>/dev/null ||
19691 $as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
19692 X"$mf" : 'X\(//\)[^/]' \| \
19693 X"$mf" : 'X\(//\)$' \| \
19694 X"$mf" : 'X\(/\)' \| \
19695 . : '\(.\)' 2>/dev/null ||
19697 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
19698 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
19699 /^X\(\/\/\)$/{ s//\1/; q; }
19700 /^X\(\/\).*/{ s//\1/; q; }
19705 # Extract the definition of DEPDIR, am__include, and am__quote
19706 # from the Makefile without running `make'.
19707 DEPDIR
=`sed -n 's/^DEPDIR = //p' < "$mf"`
19708 test -z "$DEPDIR" && continue
19709 am__include
=`sed -n 's/^am__include = //p' < "$mf"`
19710 test -z "am__include" && continue
19711 am__quote
=`sed -n 's/^am__quote = //p' < "$mf"`
19712 # When using ansi2knr, U may be empty or an underscore; expand it
19713 U
=`sed -n 's/^U = //p' < "$mf"`
19714 # Find all dependency output files, they are included files with
19715 # $(DEPDIR) in their names. We invoke sed twice because it is the
19716 # simplest approach to changing $(DEPDIR) to its actual value in the
19718 for file in `sed -n "
19719 s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
19720 sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do
19721 # Make sure the directory exists.
19722 test -f "$dirpart/$file" && continue
19723 fdir
=`(dirname "$file") 2>/dev/null ||
19724 $as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
19725 X"$file" : 'X\(//\)[^/]' \| \
19726 X"$file" : 'X\(//\)$' \| \
19727 X"$file" : 'X\(/\)' \| \
19728 . : '\(.\)' 2>/dev/null ||
19730 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
19731 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
19732 /^X\(\/\/\)$/{ s//\1/; q; }
19733 /^X\(\/\).*/{ s//\1/; q; }
19735 { if $as_mkdir_p; then
19736 mkdir
-p $dirpart/$fdir
19738 as_dir
=$dirpart/$fdir
19740 while test ! -d "$as_dir"; do
19741 as_dirs
="$as_dir $as_dirs"
19742 as_dir
=`(dirname "$as_dir") 2>/dev/null ||
19743 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
19744 X"$as_dir" : 'X\(//\)[^/]' \| \
19745 X"$as_dir" : 'X\(//\)$' \| \
19746 X"$as_dir" : 'X\(/\)' \| \
19747 . : '\(.\)' 2>/dev/null ||
19749 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
19750 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
19751 /^X\(\/\/\)$/{ s//\1/; q; }
19752 /^X\(\/\).*/{ s//\1/; q; }
19755 test ! -n "$as_dirs" || mkdir
$as_dirs
19756 fi ||
{ { echo "$as_me:$LINENO: error: cannot create directory $dirpart/$fdir" >&5
19757 echo "$as_me: error: cannot create directory $dirpart/$fdir" >&2;}
19758 { (exit 1); exit 1; }; }; }
19760 # echo "creating $dirpart/$file"
19761 echo '# dummy' > "$dirpart/$file"
19765 mkcollections.pl
) chmod 755 lib
/mkcollections.pl
;;
19767 { echo "$as_me:$LINENO: creating $ac_stdint_h : $_ac_stdint_h" >&5
19768 echo "$as_me: creating $ac_stdint_h : $_ac_stdint_h" >&6;}
19769 ac_stdint
=$tmp/_stdint.h
19771 echo "#ifndef" $_ac_stdint_h >$ac_stdint
19772 echo "#define" $_ac_stdint_h "1" >>$ac_stdint
19773 echo "#ifndef" _GENERATED_STDINT_H
>>$ac_stdint
19774 echo "#define" _GENERATED_STDINT_H
'"'$PACKAGE $VERSION'"' >>$ac_stdint
19775 echo "/* generated $ac_cv_stdint_message */" >>$ac_stdint
19776 if test "_$ac_cv_header_stdint_t" != "_" ; then
19777 echo "#define _STDINT_HAVE_STDINT_H" "1" >>$ac_stdint
19778 echo "#include <stdint.h>" >>$ac_stdint
19779 echo "#endif" >>$ac_stdint
19780 echo "#endif" >>$ac_stdint
19783 cat >>$ac_stdint <<STDINT_EOF
19785 /* ................... shortcircuit part ........................... */
19787 #if defined HAVE_STDINT_H || defined _STDINT_HAVE_STDINT_H
19788 #include <stdint.h>
19790 #include <stddef.h>
19792 /* .................... configured part ............................ */
19796 echo "/* whether we have a C99 compatible stdint header file */" >>$ac_stdint
19797 if test "_$ac_cv_header_stdint_x" != "_" ; then
19798 ac_header
="$ac_cv_header_stdint_x"
19799 echo "#define _STDINT_HEADER_INTPTR" '"'"$ac_header"'"' >>$ac_stdint
19801 echo "/* #undef _STDINT_HEADER_INTPTR */" >>$ac_stdint
19804 echo "/* whether we have a C96 compatible inttypes header file */" >>$ac_stdint
19805 if test "_$ac_cv_header_stdint_o" != "_" ; then
19806 ac_header
="$ac_cv_header_stdint_o"
19807 echo "#define _STDINT_HEADER_UINT32" '"'"$ac_header"'"' >>$ac_stdint
19809 echo "/* #undef _STDINT_HEADER_UINT32 */" >>$ac_stdint
19812 echo "/* whether we have a BSD compatible inet types header */" >>$ac_stdint
19813 if test "_$ac_cv_header_stdint_u" != "_" ; then
19814 ac_header
="$ac_cv_header_stdint_u"
19815 echo "#define _STDINT_HEADER_U_INT32" '"'"$ac_header"'"' >>$ac_stdint
19817 echo "/* #undef _STDINT_HEADER_U_INT32 */" >>$ac_stdint
19820 echo "" >>$ac_stdint
19822 if test "_$ac_header" != "_" ; then if test "$ac_header" != "stddef.h" ; then
19823 echo "#include <$ac_header>" >>$ac_stdint
19824 echo "" >>$ac_stdint
19827 echo "/* which 64bit typedef has been found */" >>$ac_stdint
19828 if test "$ac_cv_type_uint64_t" = "yes" ; then
19829 echo "#define _STDINT_HAVE_UINT64_T" "1" >>$ac_stdint
19831 echo "/* #undef _STDINT_HAVE_UINT64_T */" >>$ac_stdint
19833 if test "$ac_cv_type_u_int64_t" = "yes" ; then
19834 echo "#define _STDINT_HAVE_U_INT64_T" "1" >>$ac_stdint
19836 echo "/* #undef _STDINT_HAVE_U_INT64_T */" >>$ac_stdint
19838 echo "" >>$ac_stdint
19840 echo "/* which type model has been detected */" >>$ac_stdint
19841 if test "_$ac_cv_char_data_model" != "_" ; then
19842 echo "#define _STDINT_CHAR_MODEL" "$ac_cv_char_data_model" >>$ac_stdint
19843 echo "#define _STDINT_LONG_MODEL" "$ac_cv_long_data_model" >>$ac_stdint
19845 echo "/* #undef _STDINT_CHAR_MODEL // skipped */" >>$ac_stdint
19846 echo "/* #undef _STDINT_LONG_MODEL // skipped */" >>$ac_stdint
19848 echo "" >>$ac_stdint
19850 echo "/* whether int_least types were detected */" >>$ac_stdint
19851 if test "$ac_cv_type_int_least32_t" = "yes"; then
19852 echo "#define _STDINT_HAVE_INT_LEAST32_T" "1" >>$ac_stdint
19854 echo "/* #undef _STDINT_HAVE_INT_LEAST32_T */" >>$ac_stdint
19856 echo "/* whether int_fast types were detected */" >>$ac_stdint
19857 if test "$ac_cv_type_int_fast32_t" = "yes"; then
19858 echo "#define _STDINT_HAVE_INT_FAST32_T" "1" >>$ac_stdint
19860 echo "/* #undef _STDINT_HAVE_INT_FAST32_T */" >>$ac_stdint
19862 echo "/* whether intmax_t type was detected */" >>$ac_stdint
19863 if test "$ac_cv_type_intmax_t" = "yes"; then
19864 echo "#define _STDINT_HAVE_INTMAX_T" "1" >>$ac_stdint
19866 echo "/* #undef _STDINT_HAVE_INTMAX_T */" >>$ac_stdint
19868 echo "" >>$ac_stdint
19870 cat >>$ac_stdint <<STDINT_EOF
19871 /* .................... detections part ............................ */
19873 /* whether we need to define bitspecific types from compiler base types */
19874 #ifndef _STDINT_HEADER_INTPTR
19875 #ifndef _STDINT_HEADER_UINT32
19876 #ifndef _STDINT_HEADER_U_INT32
19877 #define _STDINT_NEED_INT_MODEL_T
19879 #define _STDINT_HAVE_U_INT_TYPES
19884 #ifdef _STDINT_HAVE_U_INT_TYPES
19885 #undef _STDINT_NEED_INT_MODEL_T
19888 #ifdef _STDINT_CHAR_MODEL
19889 #if _STDINT_CHAR_MODEL+0 == 122 || _STDINT_CHAR_MODEL+0 == 124
19890 #ifndef _STDINT_BYTE_MODEL
19891 #define _STDINT_BYTE_MODEL 12
19896 #ifndef _STDINT_HAVE_INT_LEAST32_T
19897 #define _STDINT_NEED_INT_LEAST_T
19900 #ifndef _STDINT_HAVE_INT_FAST32_T
19901 #define _STDINT_NEED_INT_FAST_T
19904 #ifndef _STDINT_HEADER_INTPTR
19905 #define _STDINT_NEED_INTPTR_T
19906 #ifndef _STDINT_HAVE_INTMAX_T
19907 #define _STDINT_NEED_INTMAX_T
19912 /* .................... definition part ............................ */
19914 /* some system headers have good uint64_t */
19915 #ifndef _HAVE_UINT64_T
19916 #if defined _STDINT_HAVE_UINT64_T || defined HAVE_UINT64_T
19917 #define _HAVE_UINT64_T
19918 #elif defined _STDINT_HAVE_U_INT64_T || defined HAVE_U_INT64_T
19919 #define _HAVE_UINT64_T
19920 typedef u_int64_t uint64_t;
19924 #ifndef _HAVE_UINT64_T
19925 /* .. here are some common heuristics using compiler runtime specifics */
19926 #if defined __STDC_VERSION__ && defined __STDC_VERSION__ >= 199901L
19927 #define _HAVE_UINT64_T
19928 #define _HAVE_LONGLONG_UINT64_T
19929 typedef long long int64_t;
19930 typedef unsigned long long uint64_t;
19932 #elif !defined __STRICT_ANSI__
19933 #if defined _MSC_VER || defined __WATCOMC__ || defined __BORLANDC__
19934 #define _HAVE_UINT64_T
19935 typedef __int64 int64_t;
19936 typedef unsigned __int64 uint64_t;
19938 #elif defined __GNUC__ || defined __MWERKS__ || defined __ELF__
19939 /* note: all ELF-systems seem to have loff-support which needs 64-bit */
19940 #if !defined _NO_LONGLONG
19941 #define _HAVE_UINT64_T
19942 #define _HAVE_LONGLONG_UINT64_T
19943 typedef long long int64_t;
19944 typedef unsigned long long uint64_t;
19947 #elif defined __alpha || (defined __mips && defined _ABIN32)
19948 #if !defined _NO_LONGLONG
19949 typedef long int64_t;
19950 typedef unsigned long uint64_t;
19952 /* compiler/cpu type to define int64_t */
19957 #if defined _STDINT_HAVE_U_INT_TYPES
19958 /* int8_t int16_t int32_t defined by inet code, redeclare the u_intXX types */
19959 typedef u_int8_t uint8_t;
19960 typedef u_int16_t uint16_t;
19961 typedef u_int32_t uint32_t;
19963 /* glibc compatibility */
19964 #ifndef __int8_t_defined
19965 #define __int8_t_defined
19969 #ifdef _STDINT_NEED_INT_MODEL_T
19970 /* we must guess all the basic types. Apart from byte-adressable system, */
19971 /* there a few 32-bit-only dsp-systems that we guard with BYTE_MODEL 8-} */
19972 /* (btw, those nibble-addressable systems are way off, or so we assume) */
19975 #if defined _STDINT_BYTE_MODEL
19976 #if _STDINT_LONG_MODEL+0 == 242
19977 /* 2:4:2 = IP16 = a normal 16-bit system */
19978 typedef unsigned char uint8_t;
19979 typedef unsigned short uint16_t;
19980 typedef unsigned long uint32_t;
19981 #ifndef __int8_t_defined
19982 #define __int8_t_defined
19983 typedef char int8_t;
19984 typedef short int16_t;
19985 typedef long int32_t;
19987 #elif _STDINT_LONG_MODEL+0 == 244 || _STDINT_LONG_MODEL == 444
19988 /* 2:4:4 = LP32 = a 32-bit system derived from a 16-bit */
19989 /* 4:4:4 = ILP32 = a normal 32-bit system */
19990 typedef unsigned char uint8_t;
19991 typedef unsigned short uint16_t;
19992 typedef unsigned int uint32_t;
19993 #ifndef __int8_t_defined
19994 #define __int8_t_defined
19995 typedef char int8_t;
19996 typedef short int16_t;
19997 typedef int int32_t;
19999 #elif _STDINT_LONG_MODEL+0 == 484 || _STDINT_LONG_MODEL+0 == 488
20000 /* 4:8:4 = IP32 = a 32-bit system prepared for 64-bit */
20001 /* 4:8:8 = LP64 = a normal 64-bit system */
20002 typedef unsigned char uint8_t;
20003 typedef unsigned short uint16_t;
20004 typedef unsigned int uint32_t;
20005 #ifndef __int8_t_defined
20006 #define __int8_t_defined
20007 typedef char int8_t;
20008 typedef short int16_t;
20009 typedef int int32_t;
20011 /* this system has a "long" of 64bit */
20012 #ifndef _HAVE_UINT64_T
20013 #define _HAVE_UINT64_T
20014 typedef unsigned long uint64_t;
20015 typedef long int64_t;
20017 #elif _STDINT_LONG_MODEL+0 == 448
20018 /* LLP64 a 64-bit system derived from a 32-bit system */
20019 typedef unsigned char uint8_t;
20020 typedef unsigned short uint16_t;
20021 typedef unsigned int uint32_t;
20022 #ifndef __int8_t_defined
20023 #define __int8_t_defined
20024 typedef char int8_t;
20025 typedef short int16_t;
20026 typedef int int32_t;
20028 /* assuming the system has a "long long" */
20029 #ifndef _HAVE_UINT64_T
20030 #define _HAVE_UINT64_T
20031 #define _HAVE_LONGLONG_UINT64_T
20032 typedef unsigned long long uint64_t;
20033 typedef long long int64_t;
20036 #define _STDINT_NO_INT32_T
20039 #define _STDINT_NO_INT8_T
20040 #define _STDINT_NO_INT32_T
20045 * quote from SunOS-5.8 sys/inttypes.h:
20046 * Use at your own risk. As of February 1996, the committee is squarely
20047 * behind the fixed sized types; the "least" and "fast" types are still being
20048 * discussed. The probability that the "fast" types may be removed before
20049 * the standard is finalized is high enough that they are not currently
20053 #if defined _STDINT_NEED_INT_LEAST_T
20054 typedef int8_t int_least8_t;
20055 typedef int16_t int_least16_t;
20056 typedef int32_t int_least32_t;
20057 #ifdef _HAVE_UINT64_T
20058 typedef int64_t int_least64_t;
20061 typedef uint8_t uint_least8_t;
20062 typedef uint16_t uint_least16_t;
20063 typedef uint32_t uint_least32_t;
20064 #ifdef _HAVE_UINT64_T
20065 typedef uint64_t uint_least64_t;
20070 #if defined _STDINT_NEED_INT_FAST_T
20071 typedef int8_t int_fast8_t;
20072 typedef int int_fast16_t;
20073 typedef int32_t int_fast32_t;
20074 #ifdef _HAVE_UINT64_T
20075 typedef int64_t int_fast64_t;
20078 typedef uint8_t uint_fast8_t;
20079 typedef unsigned uint_fast16_t;
20080 typedef uint32_t uint_fast32_t;
20081 #ifdef _HAVE_UINT64_T
20082 typedef uint64_t uint_fast64_t;
20087 #ifdef _STDINT_NEED_INTMAX_T
20088 #ifdef _HAVE_UINT64_T
20089 typedef int64_t intmax_t;
20090 typedef uint64_t uintmax_t;
20092 typedef long intmax_t;
20093 typedef unsigned long uintmax_t;
20097 #ifdef _STDINT_NEED_INTPTR_T
20098 #ifndef __intptr_t_defined
20099 #define __intptr_t_defined
20100 /* we encourage using "long" to store pointer values, never use "int" ! */
20101 #if _STDINT_LONG_MODEL+0 == 242 || _STDINT_LONG_MODEL+0 == 484
20102 typedef unsigned int uintptr_t;
20103 typedef int intptr_t;
20104 #elif _STDINT_LONG_MODEL+0 == 244 || _STDINT_LONG_MODEL+0 == 444
20105 typedef unsigned long uintptr_t;
20106 typedef long intptr_t;
20107 #elif _STDINT_LONG_MODEL+0 == 448 && defined _HAVE_UINT64_T
20108 typedef uint64_t uintptr_t;
20109 typedef int64_t intptr_t;
20110 #else /* matches typical system types ILP32 and LP64 - but not IP16 or LLP64 */
20111 typedef unsigned long uintptr_t;
20112 typedef long intptr_t;
20117 /* The ISO C99 standard specifies that in C++ implementations these
20118 should only be defined if explicitly requested. */
20119 #if !defined __cplusplus || defined __STDC_CONSTANT_MACROS
20123 # define INT8_C(c) c
20124 # define INT16_C(c) c
20125 # define INT32_C(c) c
20126 # ifdef _HAVE_LONGLONG_UINT64_T
20127 # define INT64_C(c) c ## L
20129 # define INT64_C(c) c ## LL
20133 # define UINT8_C(c) c ## U
20134 # define UINT16_C(c) c ## U
20135 # define UINT32_C(c) c ## U
20136 # ifdef _HAVE_LONGLONG_UINT64_T
20137 # define UINT64_C(c) c ## UL
20139 # define UINT64_C(c) c ## ULL
20142 /* Maximal type. */
20143 # ifdef _HAVE_LONGLONG_UINT64_T
20144 # define INTMAX_C(c) c ## L
20145 # define UINTMAX_C(c) c ## UL
20147 # define INTMAX_C(c) c ## LL
20148 # define UINTMAX_C(c) c ## ULL
20151 /* literalnumbers */
20155 /* These limits are merily those of a two complement byte-oriented system */
20157 /* Minimum of signed integral types. */
20158 # define INT8_MIN (-128)
20159 # define INT16_MIN (-32767-1)
20160 # define INT32_MIN (-2147483647-1)
20161 # define INT64_MIN (-__INT64_C(9223372036854775807)-1)
20162 /* Maximum of signed integral types. */
20163 # define INT8_MAX (127)
20164 # define INT16_MAX (32767)
20165 # define INT32_MAX (2147483647)
20166 # define INT64_MAX (__INT64_C(9223372036854775807))
20168 /* Maximum of unsigned integral types. */
20169 # define UINT8_MAX (255)
20170 # define UINT16_MAX (65535)
20171 # define UINT32_MAX (4294967295U)
20172 # define UINT64_MAX (__UINT64_C(18446744073709551615))
20174 /* Minimum of signed integral types having a minimum size. */
20175 # define INT_LEAST8_MIN INT8_MIN
20176 # define INT_LEAST16_MIN INT16_MIN
20177 # define INT_LEAST32_MIN INT32_MIN
20178 # define INT_LEAST64_MIN INT64_MIN
20179 /* Maximum of signed integral types having a minimum size. */
20180 # define INT_LEAST8_MAX INT8_MAX
20181 # define INT_LEAST16_MAX INT16_MAX
20182 # define INT_LEAST32_MAX INT32_MAX
20183 # define INT_LEAST64_MAX INT64_MAX
20185 /* Maximum of unsigned integral types having a minimum size. */
20186 # define UINT_LEAST8_MAX UINT8_MAX
20187 # define UINT_LEAST16_MAX UINT16_MAX
20188 # define UINT_LEAST32_MAX UINT32_MAX
20189 # define UINT_LEAST64_MAX UINT64_MAX
20198 if cmp -s $ac_stdint_h $ac_stdint 2>/dev
/null
; then
20199 { echo "$as_me:$LINENO: $ac_stdint_h is unchanged" >&5
20200 echo "$as_me: $ac_stdint_h is unchanged" >&6;}
20202 ac_dir
=`(dirname "$ac_stdint_h") 2>/dev/null ||
20203 $as_expr X"$ac_stdint_h" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
20204 X"$ac_stdint_h" : 'X\(//\)[^/]' \| \
20205 X"$ac_stdint_h" : 'X\(//\)$' \| \
20206 X"$ac_stdint_h" : 'X\(/\)' \| \
20207 . : '\(.\)' 2>/dev/null ||
20208 echo X"$ac_stdint_h" |
20209 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
20210 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
20211 /^X\(\/\/\)$/{ s//\1/; q; }
20212 /^X\(\/\).*/{ s//\1/; q; }
20214 { if $as_mkdir_p; then
20219 while test ! -d "$as_dir"; do
20220 as_dirs
="$as_dir $as_dirs"
20221 as_dir
=`(dirname "$as_dir") 2>/dev/null ||
20222 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
20223 X"$as_dir" : 'X\(//\)[^/]' \| \
20224 X"$as_dir" : 'X\(//\)$' \| \
20225 X"$as_dir" : 'X\(/\)' \| \
20226 . : '\(.\)' 2>/dev/null ||
20228 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
20229 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
20230 /^X\(\/\/\)$/{ s//\1/; q; }
20231 /^X\(\/\).*/{ s//\1/; q; }
20234 test ! -n "$as_dirs" || mkdir
$as_dirs
20235 fi ||
{ { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
20236 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
20237 { (exit 1); exit 1; }; }; }
20240 mv $ac_stdint $ac_stdint_h
20243 gen-classlist
) chmod 755 lib
/gen-classlist.sh
;;
20244 copy-vmresources
) chmod 755 lib
/copy-vmresources.sh
;;
20249 cat >>$CONFIG_STATUS <<\_ACEOF
20251 { (exit 0); exit 0; }
20253 chmod +x
$CONFIG_STATUS
20254 ac_clean_files
=$ac_clean_files_save
20257 # configure is writing to config.log, and then calls config.status.
20258 # config.status does its own redirection, appending to config.log.
20259 # Unfortunately, on DOS this fails, as config.log is still kept open
20260 # by configure, so config.status won't be able to write to it; its
20261 # output is simply discarded. So we exec the FD to /dev/null,
20262 # effectively closing config.log, so it can be properly (re)opened and
20263 # appended to by config.status. When coming back to configure, we
20264 # need to make the FD available again.
20265 if test "$no_create" != yes; then
20267 ac_config_status_args
=
20268 test "$silent" = yes &&
20269 ac_config_status_args
="$ac_config_status_args --quiet"
20271 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success
=false
20273 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
20274 # would make configure fail if this is the last instruction.
20275 $ac_cs_success ||
{ (exit 1); exit 1; }