2 # Guess values for system-dependent variables and create Makefiles.
3 # Generated by GNU Autoconf 2.59 for GNU Classpath 0.90.
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.90'
273 PACKAGE_STRING
='GNU Classpath 0.90'
274 PACKAGE_BUGREPORT
='classpath@gnu.org'
276 ac_unique_file
="java/lang/System.java"
277 ac_default_prefix
=/usr
/local
/classpath
278 # Factoring default headers for most tests.
279 ac_includes_default
="\
282 # include <sys/types.h>
285 # include <sys/stat.h>
296 # if !STDC_HEADERS && HAVE_MEMORY_H
302 # include <strings.h>
305 # include <inttypes.h>
315 ac_subst_vars
='SHELL PATH_SEPARATOR PACKAGE_NAME PACKAGE_TARNAME PACKAGE_VERSION PACKAGE_STRING PACKAGE_BUGREPORT exec_prefix prefix program_transform_name bindir sbindir libexecdir datadir sysconfdir sharedstatedir localstatedir libdir includedir oldincludedir infodir mandir build_alias host_alias target_alias DEFS ECHO_C ECHO_N ECHO_T LIBS build build_cpu build_vendor build_os host host_cpu host_vendor host_os target target_cpu target_vendor target_os LIBVERSION CLASSPATH_MODULE INSTALL_PROGRAM INSTALL_SCRIPT INSTALL_DATA CYGPATH_W PACKAGE VERSION ACLOCAL AUTOCONF AUTOMAKE AUTOHEADER MAKEINFO install_sh STRIP ac_ct_STRIP INSTALL_STRIP_PROGRAM mkdir_p AWK SET_MAKE am__leading_dot AMTAR am__tar am__untar CREATE_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 nativelibdir glibjdir CREATE_JNI_HEADERS_TRUE CREATE_JNI_HEADERS_FALSE LN_S RANLIB ac_ct_RANLIB LIBTOOL CXX CXXFLAGS ac_ct_CXX CXXDEPMODE am__fastdepCXX_TRUE am__fastdepCXX_FALSE CXXCPP 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 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.90 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.90:";;
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
914 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
915 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
916 --with-native-libdir sets the installation directore for native libraries
917 default='${libdir}/${PACKAGE}'
918 --with-glibj-dir sets the installation directory for glibj.zip
919 default='${libdir}/${PACKAGE}'
920 --with-gnu-ld assume the C compiler uses GNU ld default=no
921 --with-pic try to use only PIC/non-PIC objects default=use both
922 --with-libiconv-prefix[=DIR] search for libiconv in DIR/include and DIR/lib
923 --without-libiconv-prefix don't search
for libiconv
in includedir and libdir
924 --with-x use the X Window System
925 --with-qt4dir=DIR Qt4 installation directory used
for OS-X. For other
926 systems use pkg-config.
927 --with-javah specify path or name of a javah-like program
928 --with-gcj bytecode compilation with gcj
929 --with-jikes bytecode compilation with jikes
930 --with-kjc bytecode compilation with kjc
931 --with-gcjx bytecode compilation with gcjx
932 --with-ecj bytecode compilation with ecj
933 --with-classpath specify path to a classes.
zip like
file
934 --with-vm-classes specify path to VM override
source files
935 --with-fastjar=PATH define to use a fastjar style tool
936 --with-glibj define what to
install (zip|flat|both|none|build
)
938 --with-gjdoc generate documentation using gjdoc
(default is NO
)
939 --with-jay Regenerate the parsers with jay must be given the
940 path to the jay executable
942 Some influential environment variables
:
943 CC C compiler
command
944 CFLAGS C compiler flags
945 LDFLAGS linker flags
, e.g.
-L<lib dir
> if you have libraries
in a
946 nonstandard directory
<lib dir
>
947 CPPFLAGS C
/C
++ preprocessor flags
, e.g.
-I<include dir
> if you have
948 headers
in a nonstandard directory
<include dir
>
950 CXX C
++ compiler
command
951 CXXFLAGS C
++ compiler flags
952 CXXCPP C
++ preprocessor
954 Use these variables to override the choices made by
`configure' or to help
955 it to find libraries and programs with nonstandard names/locations.
957 Report bugs to <classpath@gnu.org>.
961 if test "$ac_init_help" = "recursive"; then
962 # If there are subdirs, report their specific --help.
964 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
965 test -d $ac_dir || continue
968 if test "$ac_dir" != .; then
969 ac_dir_suffix=/`echo "$ac_dir" |
sed 's,^\.[\\/],,'`
970 # A "../" for each directory in $ac_dir_suffix.
971 ac_top_builddir=`echo "$ac_dir_suffix" |
sed 's,/[^\\/]*,../,g'`
973 ac_dir_suffix= ac_top_builddir=
977 .) # No --srcdir option. We are building in place.
979 if test -z "$ac_top_builddir"; then
982 ac_top_srcdir=`echo $ac_top_builddir |
sed 's,/$,,'`
984 [\\/]* | ?:[\\/]* ) # Absolute path.
985 ac_srcdir=$srcdir$ac_dir_suffix;
986 ac_top_srcdir=$srcdir ;;
988 ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
989 ac_top_srcdir=$ac_top_builddir$srcdir ;;
992 # Do not use `cd foo
&& pwd` to compute absolute paths, because
993 # the directories may not exist.
995 .) ac_abs_builddir="$ac_dir";;
998 .) ac_abs_builddir=`pwd`;;
999 [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";;
1000 *) ac_abs_builddir=`pwd`/"$ac_dir";;
1003 case $ac_abs_builddir in
1004 .) ac_abs_top_builddir=${ac_top_builddir}.;;
1006 case ${ac_top_builddir}. in
1007 .) ac_abs_top_builddir=$ac_abs_builddir;;
1008 [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;;
1009 *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;;
1012 case $ac_abs_builddir in
1013 .) ac_abs_srcdir=$ac_srcdir;;
1016 .) ac_abs_srcdir=$ac_abs_builddir;;
1017 [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
1018 *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;;
1021 case $ac_abs_builddir in
1022 .) ac_abs_top_srcdir=$ac_top_srcdir;;
1024 case $ac_top_srcdir in
1025 .) ac_abs_top_srcdir=$ac_abs_builddir;;
1026 [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;;
1027 *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;;
1032 # Check for guested configure; otherwise get Cygnus style configure.
1033 if test -f $ac_srcdir/configure.gnu; then
1035 $SHELL $ac_srcdir/configure.gnu --help=recursive
1036 elif test -f $ac_srcdir/configure; then
1038 $SHELL $ac_srcdir/configure --help=recursive
1039 elif test -f $ac_srcdir/configure.ac ||
1040 test -f $ac_srcdir/configure.in; then
1042 $ac_configure --help
1044 echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1050 test -n "$ac_init_help" && exit 0
1051 if $ac_init_version; then
1053 GNU Classpath configure 0.90
1054 generated by GNU Autoconf 2.59
1056 Copyright (C) 2003 Free Software Foundation, Inc.
1057 This configure script is free software; the Free Software Foundation
1058 gives unlimited permission to copy, distribute and modify it.
1064 This file contains any messages produced by compilers while
1065 running configure, to aid debugging if configure makes a mistake.
1067 It was created by GNU Classpath $as_me 0.90, which was
1068 generated by GNU Autoconf 2.59. Invocation command line was
1079 hostname = `(hostname || uname
-n) 2>/dev
/null |
sed 1q
`
1080 uname -m = `(uname
-m) 2>/dev
/null ||
echo unknown
`
1081 uname -r = `(uname
-r) 2>/dev
/null ||
echo unknown
`
1082 uname -s = `(uname
-s) 2>/dev
/null ||
echo unknown
`
1083 uname -v = `(uname
-v) 2>/dev
/null ||
echo unknown
`
1085 /usr/bin/uname -p = `(/usr
/bin
/uname
-p) 2>/dev
/null ||
echo unknown
`
1086 /bin/uname -X = `(/bin
/uname
-X) 2>/dev
/null ||
echo unknown
`
1088 /bin/arch = `(/bin
/arch
) 2>/dev
/null ||
echo unknown
`
1089 /usr/bin/arch -k = `(/usr
/bin
/arch
-k) 2>/dev
/null ||
echo unknown
`
1090 /usr/convex/getsysinfo = `(/usr
/convex
/getsysinfo
) 2>/dev
/null ||
echo unknown
`
1091 hostinfo = `(hostinfo
) 2>/dev
/null ||
echo unknown
`
1092 /bin/machine = `(/bin
/machine
) 2>/dev
/null ||
echo unknown
`
1093 /usr/bin/oslevel = `(/usr
/bin
/oslevel
) 2>/dev
/null ||
echo unknown
`
1094 /bin/universe = `(/bin
/universe
) 2>/dev
/null ||
echo unknown
`
1098 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1102 test -z "$as_dir" && as_dir=.
1103 echo "PATH: $as_dir"
1118 # Keep a trace of the command line.
1119 # Strip out --no-create and --no-recursion so they do not pile up.
1120 # Strip out --silent because we don't want to record it for future runs.
1121 # Also quote any args containing shell meta-characters.
1122 # Make two passes to allow for proper duplicate-argument suppression.
1127 ac_must_keep_next=false
1133 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
1134 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1135 | -silent | --silent | --silen | --sile | --sil)
1137 *" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
1138 ac_arg=`echo "$ac_arg" |
sed "s/'/'\\\\\\\\''/g"` ;;
1141 1) ac_configure_args0="$ac_configure_args0 '$ac_arg'" ;;
1143 ac_configure_args1="$ac_configure_args1 '$ac_arg'"
1144 if test $ac_must_keep_next = true; then
1145 ac_must_keep_next=false # Got value, back to normal.
1148 *=* | --config-cache | -C | -disable-* | --disable-* \
1149 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
1150 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
1151 | -with-* | --with-* | -without-* | --without-* | --x)
1152 case "$ac_configure_args0 " in
1153 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
1156 -* ) ac_must_keep_next=true ;;
1159 ac_configure_args="$ac_configure_args$ac_sep'$ac_arg'"
1160 # Get rid of the leading space.
1166 $as_unset ac_configure_args0 || test "${ac_configure_args0+set}" != set || { ac_configure_args0=; export ac_configure_args0; }
1167 $as_unset ac_configure_args1 || test "${ac_configure_args1+set}" != set || { ac_configure_args1=; export ac_configure_args1; }
1169 # When interrupted or exit'd, cleanup temporary files, and complete
1170 # config.log. We remove comments because anyway the quotes in there
1171 # would cause problems or look ugly.
1172 # WARNING: Be sure not to use single quotes in there, as some shells,
1173 # such as our DU 5.0 friend, will then `close
' the trap.
1174 trap 'exit_status
=$?
1175 # Save into config.log some information that might help in debugging.
1180 ## ---------------- ##
1181 ## Cache variables. ##
1182 ## ---------------- ##
1185 # The following way of writing the cache mishandles newlines in values,
1188 case `(ac_space='"'"' '"'"'; set | grep ac_space) 2>&1` in
1191 "s/'"'"'/'"'"'\\\\'"'"''"'"'/g;
1192 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='"'"'\\2'"'"'/p"
1196 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
1203 ## ----------------- ##
1204 ## Output variables. ##
1205 ## ----------------- ##
1208 for ac_var
in $ac_subst_vars
1210 eval ac_val
=$
`echo $ac_var`
1211 echo "$ac_var='"'"'$ac_val'"'"'"
1215 if test -n "$ac_subst_files"; then
1222 for ac_var
in $ac_subst_files
1224 eval ac_val
=$
`echo $ac_var`
1225 echo "$ac_var='"'"'$ac_val'"'"'"
1230 if test -s confdefs.h
; then
1237 sed "/^$/d" confdefs.h |
sort
1240 test "$ac_signal" != 0 &&
1241 echo "$as_me: caught signal $ac_signal"
1242 echo "$as_me: exit $exit_status"
1244 rm -f core
*.core
&&
1245 rm -rf conftest
* confdefs
* conf$$
* $ac_clean_files &&
1248 for ac_signal in 1 2 13 15; do
1249 trap 'ac_signal
='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
1253 # confdefs.h avoids OS command line length limits that DEFS can exceed.
1254 rm -rf conftest* confdefs.h
1255 # AIX cpp loses on an empty file, so make sure it contains at least a newline.
1258 # Predefined preprocessor variables.
1260 cat >>confdefs.h <<_ACEOF
1261 #define PACKAGE_NAME "$PACKAGE_NAME"
1265 cat >>confdefs.h <<_ACEOF
1266 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
1270 cat >>confdefs.h <<_ACEOF
1271 #define PACKAGE_VERSION "$PACKAGE_VERSION"
1275 cat >>confdefs.h <<_ACEOF
1276 #define PACKAGE_STRING "$PACKAGE_STRING"
1280 cat >>confdefs.h <<_ACEOF
1281 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
1285 # Let the site file select an alternate cache file if it wants to.
1286 # Prefer explicitly selected file to automatically selected ones.
1287 if test -z "$CONFIG_SITE"; then
1288 if test "x$prefix" != xNONE; then
1289 CONFIG_SITE="$prefix/share/config.site $prefix/etc/config.site"
1291 CONFIG_SITE="$ac_default_prefix/share/config.site $ac_default_prefix/etc/config.site"
1294 for ac_site_file in $CONFIG_SITE; do
1295 if test -r "$ac_site_file"; then
1296 { echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
1297 echo "$as_me: loading site script $ac_site_file" >&6;}
1298 sed 's
/^
/|
/' "$ac_site_file" >&5
1303 if test -r "$cache_file"; then
1304 # Some versions of bash will fail to source /dev/null (special
1305 # files actually), so we avoid doing that.
1306 if test -f "$cache_file"; then
1307 { echo "$as_me:$LINENO: loading cache $cache_file" >&5
1308 echo "$as_me: loading cache $cache_file" >&6;}
1310 [\\/]* | ?:[\\/]* ) . $cache_file;;
1311 *) . ./$cache_file;;
1315 { echo "$as_me:$LINENO: creating cache $cache_file" >&5
1316 echo "$as_me: creating cache $cache_file" >&6;}
1320 # Check that the precious variables saved in the cache have kept the same
1322 ac_cache_corrupted=false
1323 for ac_var in `(set) 2>&1 |
1324 sed -n 's
/^ac_env_\
([a-zA-Z_0-9
]*\
)_set
=.
*/\
1/p
'`; do
1325 eval ac_old_set=\$ac_cv_env_${ac_var}_set
1326 eval ac_new_set=\$ac_env_${ac_var}_set
1327 eval ac_old_val="\$ac_cv_env_${ac_var}_value"
1328 eval ac_new_val="\$ac_env_${ac_var}_value"
1329 case $ac_old_set,$ac_new_set in
1331 { echo "$as_me:$LINENO: error: \`$ac_var' was
set to \
`$ac_old_val' in the previous run" >&5
1332 echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run
" >&2;}
1333 ac_cache_corrupted=: ;;
1335 { echo "$as_me:$LINENO: error
: \
`$ac_var' was not set in the previous run" >&5
1336 echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
1337 ac_cache_corrupted=: ;;
1340 if test "x$ac_old_val" != "x$ac_new_val"; then
1341 { echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run
:" >&5
1342 echo "$as_me: error
: \
`$ac_var' has changed since the previous run:" >&2;}
1343 { echo "$as_me:$LINENO: former value: $ac_old_val" >&5
1344 echo "$as_me: former value: $ac_old_val" >&2;}
1345 { echo "$as_me:$LINENO: current value: $ac_new_val" >&5
1346 echo "$as_me: current value: $ac_new_val" >&2;}
1347 ac_cache_corrupted=:
1350 # Pass precious variables to config.status.
1351 if test "$ac_new_set" = set; then
1353 *" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
1354 ac_arg=$ac_var=`echo "$ac_new_val" |
sed "s/'/'\\\\\\\\''/g"` ;;
1355 *) ac_arg=$ac_var=$ac_new_val ;;
1357 case " $ac_configure_args " in
1358 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
1359 *) ac_configure_args="$ac_configure_args '$ac_arg'" ;;
1363 if $ac_cache_corrupted; then
1364 { echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5
1365 echo "$as_me: error: changes in the environment can compromise the build" >&2;}
1366 { { echo "$as_me:$LINENO: error: run \`make distclean
' and/or \`rm $cache_file' and start over
" >&5
1367 echo "$as_me: error
: run \
`make distclean' and/or \`rm $cache_file' and start over" >&2;}
1368 { (exit 1); exit 1; }; }
1372 ac_cpp='$CPP $CPPFLAGS'
1373 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
1374 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
1375 ac_compiler_gnu=$ac_cv_c_compiler_gnu
1406 for ac_dir in $srcdir $srcdir/.. $srcdir/../..; do
1407 if test -f $ac_dir/install-sh; then
1409 ac_install_sh="$ac_aux_dir/install-sh -c"
1411 elif test -f $ac_dir/install.sh; then
1413 ac_install_sh="$ac_aux_dir/install.sh -c"
1415 elif test -f $ac_dir/shtool; then
1417 ac_install_sh="$ac_aux_dir/shtool install -c"
1421 if test -z "$ac_aux_dir"; then
1422 { { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." >&5
1423 echo "$as_me: error: cannot find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." >&2;}
1424 { (exit 1); exit 1; }; }
1426 ac_config_guess="$SHELL $ac_aux_dir/config.guess"
1427 ac_config_sub="$SHELL $ac_aux_dir/config.sub"
1428 ac_configure="$SHELL $ac_aux_dir/configure" # This should be Cygnus configure.
1430 # Make sure we can run config.sub.
1431 $ac_config_sub sun4 >/dev/null 2>&1 ||
1432 { { echo "$as_me:$LINENO: error: cannot run $ac_config_sub" >&5
1433 echo "$as_me: error: cannot run $ac_config_sub" >&2;}
1434 { (exit 1); exit 1; }; }
1436 echo "$as_me:$LINENO: checking build system type" >&5
1437 echo $ECHO_N "checking build system type... $ECHO_C" >&6
1438 if test "${ac_cv_build+set}" = set; then
1439 echo $ECHO_N "(cached) $ECHO_C" >&6
1441 ac_cv_build_alias=$build_alias
1442 test -z "$ac_cv_build_alias" &&
1443 ac_cv_build_alias=`$ac_config_guess`
1444 test -z "$ac_cv_build_alias" &&
1445 { { echo "$as_me:$LINENO: error: cannot guess build type; you must specify one" >&5
1446 echo "$as_me: error: cannot guess build type; you must specify one" >&2;}
1447 { (exit 1); exit 1; }; }
1448 ac_cv_build=`$ac_config_sub $ac_cv_build_alias` ||
1449 { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_build_alias failed" >&5
1450 echo "$as_me: error: $ac_config_sub $ac_cv_build_alias failed" >&2;}
1451 { (exit 1); exit 1; }; }
1454 echo "$as_me:$LINENO: result: $ac_cv_build" >&5
1455 echo "${ECHO_T}$ac_cv_build" >&6
1457 build_cpu=`echo $ac_cv_build | sed 's
/^\
([^
-]*\
)-\
([^
-]*\
)-\
(.
*\
)$
/\
1/'`
1458 build_vendor=`echo $ac_cv_build | sed 's
/^\
([^
-]*\
)-\
([^
-]*\
)-\
(.
*\
)$
/\
2/'`
1459 build_os=`echo $ac_cv_build | sed 's
/^\
([^
-]*\
)-\
([^
-]*\
)-\
(.
*\
)$
/\
3/'`
1462 echo "$as_me:$LINENO: checking host system type" >&5
1463 echo $ECHO_N "checking host system type... $ECHO_C" >&6
1464 if test "${ac_cv_host+set}" = set; then
1465 echo $ECHO_N "(cached) $ECHO_C" >&6
1467 ac_cv_host_alias=$host_alias
1468 test -z "$ac_cv_host_alias" &&
1469 ac_cv_host_alias=$ac_cv_build_alias
1470 ac_cv_host=`$ac_config_sub $ac_cv_host_alias` ||
1471 { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_host_alias failed" >&5
1472 echo "$as_me: error: $ac_config_sub $ac_cv_host_alias failed" >&2;}
1473 { (exit 1); exit 1; }; }
1476 echo "$as_me:$LINENO: result: $ac_cv_host" >&5
1477 echo "${ECHO_T}$ac_cv_host" >&6
1479 host_cpu=`echo $ac_cv_host | sed 's
/^\
([^
-]*\
)-\
([^
-]*\
)-\
(.
*\
)$
/\
1/'`
1480 host_vendor=`echo $ac_cv_host | sed 's
/^\
([^
-]*\
)-\
([^
-]*\
)-\
(.
*\
)$
/\
2/'`
1481 host_os=`echo $ac_cv_host | sed 's
/^\
([^
-]*\
)-\
([^
-]*\
)-\
(.
*\
)$
/\
3/'`
1484 echo "$as_me:$LINENO: checking target system type" >&5
1485 echo $ECHO_N "checking target system type... $ECHO_C" >&6
1486 if test "${ac_cv_target+set}" = set; then
1487 echo $ECHO_N "(cached) $ECHO_C" >&6
1489 ac_cv_target_alias=$target_alias
1490 test "x$ac_cv_target_alias" = "x" &&
1491 ac_cv_target_alias=$ac_cv_host_alias
1492 ac_cv_target=`$ac_config_sub $ac_cv_target_alias` ||
1493 { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_target_alias failed" >&5
1494 echo "$as_me: error: $ac_config_sub $ac_cv_target_alias failed" >&2;}
1495 { (exit 1); exit 1; }; }
1498 echo "$as_me:$LINENO: result: $ac_cv_target" >&5
1499 echo "${ECHO_T}$ac_cv_target" >&6
1500 target=$ac_cv_target
1501 target_cpu=`echo $ac_cv_target | sed 's
/^\
([^
-]*\
)-\
([^
-]*\
)-\
(.
*\
)$
/\
1/'`
1502 target_vendor=`echo $ac_cv_target | sed 's
/^\
([^
-]*\
)-\
([^
-]*\
)-\
(.
*\
)$
/\
2/'`
1503 target_os=`echo $ac_cv_target | sed 's
/^\
([^
-]*\
)-\
([^
-]*\
)-\
(.
*\
)$
/\
3/'`
1506 # The aliases save the names the user supplied, while $host etc.
1507 # will get canonicalized.
1508 test -n "$target_alias" &&
1509 test "$program_prefix$program_suffix$program_transform_name" = \
1511 program_prefix=${target_alias}-
1513 if expr ${target_cpu} : '.
*86' > /dev/null; then target_cpu=x86; fi
1526 CLASSPATH_MODULE="${cp_module} -version-info ${LIBVERSION} -no-undefined"
1530 am__api_version="1.9"
1531 # Find a good install program. We prefer a C program (faster),
1532 # so one script is as good as another. But avoid the broken or
1533 # incompatible versions:
1534 # SysV /etc/install, /usr/sbin/install
1535 # SunOS /usr/etc/install
1536 # IRIX /sbin/install
1538 # AmigaOS /C/install, which installs bootblocks on floppy discs
1539 # AIX 4 /usr/bin/installbsd, which doesn't work without a
-g flag
1540 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
1541 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
1542 # OS/2's system install, which has a completely different semantic
1543 # ./install, which can be erroneously created by make from ./install.sh.
1544 echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
1545 echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6
1546 if test -z "$INSTALL"; then
1547 if test "${ac_cv_path_install+set}" = set; then
1548 echo $ECHO_N "(cached) $ECHO_C" >&6
1550 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
1554 test -z "$as_dir" && as_dir
=.
1555 # Account for people who put trailing slashes in PATH elements.
1557 .
/ | .
// |
/cC
/* | \
1558 /etc
/* |
/usr
/sbin
/* |
/usr
/etc
/* |
/sbin
/* |
/usr
/afsws
/bin
/* | \
1559 ?
:\\/os2
\\/install\\/* | ?
:\\/OS2
\\/INSTALL
\\/* | \
1562 # OSF1 and SCO ODT 3.0 have their own names for install.
1563 # Don't use installbsd from OSF since it installs stuff as root
1565 for ac_prog
in ginstall scoinst
install; do
1566 for ac_exec_ext
in '' $ac_executable_extensions; do
1567 if $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
1568 if test $ac_prog = install &&
1569 grep dspmsg
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
1570 # AIX install. It has an incompatible calling convention.
1572 elif test $ac_prog = install &&
1573 grep pwplus
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
1574 # program-specific install script used by HP pwplus--don't use.
1577 ac_cv_path_install
="$as_dir/$ac_prog$ac_exec_ext -c"
1589 if test "${ac_cv_path_install+set}" = set; then
1590 INSTALL
=$ac_cv_path_install
1592 # As a last resort, use the slow shell script. We don't cache a
1593 # path for INSTALL within a source directory, because that will
1594 # break other packages using the cache if that directory is
1595 # removed, or if the path is relative.
1596 INSTALL
=$ac_install_sh
1599 echo "$as_me:$LINENO: result: $INSTALL" >&5
1600 echo "${ECHO_T}$INSTALL" >&6
1602 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
1603 # It thinks the first close brace ends the variable substitution.
1604 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM
='${INSTALL}'
1606 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT
='${INSTALL}'
1608 test -z "$INSTALL_DATA" && INSTALL_DATA
='${INSTALL} -m 644'
1610 echo "$as_me:$LINENO: checking whether build environment is sane" >&5
1611 echo $ECHO_N "checking whether build environment is sane... $ECHO_C" >&6
1614 echo timestamp
> conftest.
file
1615 # Do `set' in a subshell so we don't clobber the current shell's
1616 # arguments. Must try -L first in case configure is actually a
1617 # symlink; some systems play weird games with the mod time of symlinks
1618 # (eg FreeBSD returns the mod time of the symlink's containing
1621 set X
`ls -Lt $srcdir/configure conftest.file 2> /dev/null`
1622 if test "$*" = "X"; then
1624 set X
`ls -t $srcdir/configure conftest.file`
1627 if test "$*" != "X $srcdir/configure conftest.file" \
1628 && test "$*" != "X conftest.file $srcdir/configure"; then
1630 # If neither matched, then we have a broken ls. This can happen
1631 # if, for instance, CONFIG_SHELL is bash and it inherits a
1632 # broken ls alias from the environment. This has actually
1633 # happened. Such a system could not be considered "sane".
1634 { { echo "$as_me:$LINENO: error: ls -t appears to fail. Make sure there is not a broken
1635 alias in your environment" >&5
1636 echo "$as_me: error: ls -t appears to fail. Make sure there is not a broken
1637 alias in your environment" >&2;}
1638 { (exit 1); exit 1; }; }
1641 test "$2" = conftest.
file
1647 { { echo "$as_me:$LINENO: error: newly created file is older than distributed files!
1648 Check your system clock" >&5
1649 echo "$as_me: error: newly created file is older than distributed files!
1650 Check your system clock" >&2;}
1651 { (exit 1); exit 1; }; }
1653 echo "$as_me:$LINENO: result: yes" >&5
1654 echo "${ECHO_T}yes" >&6
1655 test "$program_prefix" != NONE
&&
1656 program_transform_name
="s,^,$program_prefix,;$program_transform_name"
1657 # Use a double $ so make ignores it.
1658 test "$program_suffix" != NONE
&&
1659 program_transform_name
="s,\$,$program_suffix,;$program_transform_name"
1660 # Double any \ or $. echo might interpret backslashes.
1661 # By default was `s,x,x', remove it if useless.
1662 cat <<\_ACEOF
>conftest.
sed
1663 s
/[\\$
]/&&/g
;s
/;s
,x
,x
,$
//
1665 program_transform_name
=`echo $program_transform_name | sed -f conftest.sed`
1668 # expand $ac_aux_dir to an absolute path
1669 am_aux_dir
=`cd $ac_aux_dir && pwd`
1671 test x
"${MISSING+set}" = xset || MISSING
="\${SHELL} $am_aux_dir/missing"
1672 # Use eval to expand $SHELL
1673 if eval "$MISSING --run true"; then
1674 am_missing_run
="$MISSING --run "
1677 { echo "$as_me:$LINENO: WARNING: \`missing' script is too old or missing" >&5
1678 echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;}
1681 if mkdir
-p --version .
>/dev
/null
2>&1 && test ! -d .
/--version; then
1682 # We used to keeping the `.' as first argument, in order to
1683 # allow $(mkdir_p) to be used without argument. As in
1684 # $(mkdir_p) $(somedir)
1685 # where $(somedir) is conditionally defined. However this is wrong
1687 # 1. if the package is installed by a user who cannot write `.'
1688 # make install will fail,
1689 # 2. the above comment should most certainly read
1690 # $(mkdir_p) $(DESTDIR)$(somedir)
1691 # so it does not work when $(somedir) is undefined and
1692 # $(DESTDIR) is not.
1693 # To support the latter case, we have to write
1694 # test -z "$(somedir)" || $(mkdir_p) $(DESTDIR)$(somedir),
1695 # so the `.' trick is pointless.
1696 mkdir_p
='mkdir -p --'
1698 # On NextStep and OpenStep, the `mkdir' command does not
1699 # recognize any option. It will interpret all options as
1700 # directories to create, and then abort because `.' already
1702 for d
in .
/-p .
/--version;
1704 test -d $d && rmdir $d
1706 # $(mkinstalldirs) is defined by Automake if mkinstalldirs exists.
1707 if test -f "$ac_aux_dir/mkinstalldirs"; then
1708 mkdir_p
='$(mkinstalldirs)'
1710 mkdir_p
='$(install_sh) -d'
1714 for ac_prog
in gawk mawk nawk
awk
1716 # Extract the first word of "$ac_prog", so it can be a program name with args.
1717 set dummy
$ac_prog; ac_word
=$2
1718 echo "$as_me:$LINENO: checking for $ac_word" >&5
1719 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1720 if test "${ac_cv_prog_AWK+set}" = set; then
1721 echo $ECHO_N "(cached) $ECHO_C" >&6
1723 if test -n "$AWK"; then
1724 ac_cv_prog_AWK
="$AWK" # Let the user override the test.
1726 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
1730 test -z "$as_dir" && as_dir
=.
1731 for ac_exec_ext
in '' $ac_executable_extensions; do
1732 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1733 ac_cv_prog_AWK
="$ac_prog"
1734 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1743 if test -n "$AWK"; then
1744 echo "$as_me:$LINENO: result: $AWK" >&5
1745 echo "${ECHO_T}$AWK" >&6
1747 echo "$as_me:$LINENO: result: no" >&5
1748 echo "${ECHO_T}no" >&6
1751 test -n "$AWK" && break
1754 echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
1755 echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6
1756 set dummy
${MAKE-make}; ac_make
=`echo "$2" | sed 'y,:./+-,___p_,'`
1757 if eval "test \"\${ac_cv_prog_make_${ac_make}_set+set}\" = set"; then
1758 echo $ECHO_N "(cached) $ECHO_C" >&6
1760 cat >conftest.
make <<\_ACEOF
1762 @
echo 'ac_maketemp="$(MAKE)"'
1764 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
1765 eval `${MAKE-make} -f conftest.make 2>/dev/null | grep temp=`
1766 if test -n "$ac_maketemp"; then
1767 eval ac_cv_prog_make_
${ac_make}_set
=yes
1769 eval ac_cv_prog_make_
${ac_make}_set
=no
1773 if eval "test \"`echo '$ac_cv_prog_make_'${ac_make}_set`\" = yes"; then
1774 echo "$as_me:$LINENO: result: yes" >&5
1775 echo "${ECHO_T}yes" >&6
1778 echo "$as_me:$LINENO: result: no" >&5
1779 echo "${ECHO_T}no" >&6
1780 SET_MAKE
="MAKE=${MAKE-make}"
1783 rm -rf .tst
2>/dev
/null
1784 mkdir .tst
2>/dev
/null
1785 if test -d .tst
; then
1790 rmdir .tst
2>/dev
/null
1792 # test to see if srcdir already configured
1793 if test "`cd $srcdir && pwd`" != "`pwd`" &&
1794 test -f $srcdir/config.status
; then
1795 { { echo "$as_me:$LINENO: error: source directory already configured; run \"make distclean\" there first" >&5
1796 echo "$as_me: error: source directory already configured; run \"make distclean\" there first" >&2;}
1797 { (exit 1); exit 1; }; }
1800 # test whether we have cygpath
1801 if test -z "$CYGPATH_W"; then
1802 if (cygpath
--version) >/dev
/null
2>/dev
/null
; then
1803 CYGPATH_W
='cygpath -w'
1810 # Define the identity of the package.
1815 cat >>confdefs.h
<<_ACEOF
1816 #define PACKAGE "$PACKAGE"
1820 cat >>confdefs.h
<<_ACEOF
1821 #define VERSION "$VERSION"
1824 # Some tools Automake needs.
1826 ACLOCAL
=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
1829 AUTOCONF
=${AUTOCONF-"${am_missing_run}autoconf"}
1832 AUTOMAKE
=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
1835 AUTOHEADER
=${AUTOHEADER-"${am_missing_run}autoheader"}
1838 MAKEINFO
=${MAKEINFO-"${am_missing_run}makeinfo"}
1840 install_sh
=${install_sh-"$am_aux_dir/install-sh"}
1842 # Installed binaries are usually stripped using `strip' when the user
1843 # run `make install-strip'. However `strip' might not be the right
1844 # tool to use in cross-compilation environments, therefore Automake
1845 # will honor the `STRIP' environment variable to overrule this program.
1846 if test "$cross_compiling" != no
; then
1847 if test -n "$ac_tool_prefix"; then
1848 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
1849 set dummy
${ac_tool_prefix}strip
; ac_word
=$2
1850 echo "$as_me:$LINENO: checking for $ac_word" >&5
1851 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1852 if test "${ac_cv_prog_STRIP+set}" = set; then
1853 echo $ECHO_N "(cached) $ECHO_C" >&6
1855 if test -n "$STRIP"; then
1856 ac_cv_prog_STRIP
="$STRIP" # Let the user override the test.
1858 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
1862 test -z "$as_dir" && as_dir
=.
1863 for ac_exec_ext
in '' $ac_executable_extensions; do
1864 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1865 ac_cv_prog_STRIP
="${ac_tool_prefix}strip"
1866 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1874 STRIP
=$ac_cv_prog_STRIP
1875 if test -n "$STRIP"; then
1876 echo "$as_me:$LINENO: result: $STRIP" >&5
1877 echo "${ECHO_T}$STRIP" >&6
1879 echo "$as_me:$LINENO: result: no" >&5
1880 echo "${ECHO_T}no" >&6
1884 if test -z "$ac_cv_prog_STRIP"; then
1886 # Extract the first word of "strip", so it can be a program name with args.
1887 set dummy strip
; ac_word
=$2
1888 echo "$as_me:$LINENO: checking for $ac_word" >&5
1889 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1890 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
1891 echo $ECHO_N "(cached) $ECHO_C" >&6
1893 if test -n "$ac_ct_STRIP"; then
1894 ac_cv_prog_ac_ct_STRIP
="$ac_ct_STRIP" # Let the user override the test.
1896 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
1900 test -z "$as_dir" && as_dir
=.
1901 for ac_exec_ext
in '' $ac_executable_extensions; do
1902 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1903 ac_cv_prog_ac_ct_STRIP
="strip"
1904 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1910 test -z "$ac_cv_prog_ac_ct_STRIP" && ac_cv_prog_ac_ct_STRIP
=":"
1913 ac_ct_STRIP
=$ac_cv_prog_ac_ct_STRIP
1914 if test -n "$ac_ct_STRIP"; then
1915 echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
1916 echo "${ECHO_T}$ac_ct_STRIP" >&6
1918 echo "$as_me:$LINENO: result: no" >&5
1919 echo "${ECHO_T}no" >&6
1924 STRIP
="$ac_cv_prog_STRIP"
1928 INSTALL_STRIP_PROGRAM
="\${SHELL} \$(install_sh) -c -s"
1930 # We need awk for the "check" target. The system "awk" is bad on
1932 # Always define AMTAR for backward compatibility.
1934 AMTAR
=${AMTAR-"${am_missing_run}tar"}
1937 echo "$as_me:$LINENO: checking how to create a ustar tar archive" >&5
1938 echo $ECHO_N "checking how to create a ustar tar archive... $ECHO_C" >&6
1939 # Loop over all known methods to create a tar archive until one works.
1940 _am_tools
='gnutar plaintar pax cpio none'
1941 _am_tools
=${am_cv_prog_tar_ustar-$_am_tools}
1942 # Do not fold the above two line into one, because Tru64 sh and
1943 # Solaris sh will not grok spaces in the rhs of `-'.
1944 for _am_tool
in $_am_tools
1948 for _am_tar
in tar gnutar gtar
;
1950 { echo "$as_me:$LINENO: $_am_tar --version" >&5
1951 ($_am_tar --version) >&5 2>&5
1953 echo "$as_me:$LINENO: \$? = $ac_status" >&5
1954 (exit $ac_status); } && break
1956 am__tar
="$_am_tar --format=ustar -chf - "'"$$tardir"'
1957 am__tar_
="$_am_tar --format=ustar -chf - "'"$tardir"'
1958 am__untar
="$_am_tar -xf -"
1961 # Must skip GNU tar: if it does not support --format= it doesn't create
1962 # ustar tarball either.
1963 (tar --version) >/dev
/null
2>&1 && continue
1964 am__tar
='tar chf - "$$tardir"'
1965 am__tar_
='tar chf - "$tardir"'
1966 am__untar
='tar xf -'
1969 am__tar
='pax -L -x ustar -w "$$tardir"'
1970 am__tar_
='pax -L -x ustar -w "$tardir"'
1974 am__tar
='find "$$tardir" -print | cpio -o -H ustar -L'
1975 am__tar_
='find "$tardir" -print | cpio -o -H ustar -L'
1976 am__untar
='cpio -i -H ustar -d'
1985 # If the value was cached, stop now. We just wanted to have am__tar
1986 # and am__untar set.
1987 test -n "${am_cv_prog_tar_ustar}" && break
1989 # tar/untar a dummy directory, and stop if the command works
1992 echo GrepMe
> conftest.dir
/file
1993 { echo "$as_me:$LINENO: tardir=conftest.dir && eval $am__tar_ >conftest.tar" >&5
1994 (tardir
=conftest.dir
&& eval $am__tar_ >conftest.
tar) >&5 2>&5
1996 echo "$as_me:$LINENO: \$? = $ac_status" >&5
1997 (exit $ac_status); }
1999 if test -s conftest.
tar; then
2000 { echo "$as_me:$LINENO: $am__untar <conftest.tar" >&5
2001 ($am__untar <conftest.
tar) >&5 2>&5
2003 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2004 (exit $ac_status); }
2005 grep GrepMe conftest.dir
/file >/dev
/null
2>&1 && break
2010 if test "${am_cv_prog_tar_ustar+set}" = set; then
2011 echo $ECHO_N "(cached) $ECHO_C" >&6
2013 am_cv_prog_tar_ustar
=$_am_tool
2016 echo "$as_me:$LINENO: result: $am_cv_prog_tar_ustar" >&5
2017 echo "${ECHO_T}$am_cv_prog_tar_ustar" >&6
2023 ac_config_headers
="$ac_config_headers include/config.h"
2027 # Check whether --enable-collections or --disable-collections was given.
2028 if test "${enable_collections+set}" = set; then
2029 enableval
="$enable_collections"
2030 case x
"${enableval}" in
2031 xyes
) COMPILE_COLLECTIONS
=yes; COLLECTIONS_PREFIX
="\"gnu/java/util/collections\"" ;;
2032 xno
) COMPILE_COLLECTIONS
=no
;;
2033 x
) COMPILE_COLLECTIONS
=yes; COLLECTIONS_PREFIX
="\"gnu/java/util/collections\"" ;;
2034 *) COMPILE_COLLECTIONS
=yes; COLLECTIONS_PREFIX
="\"${enableval}\"" ;;
2037 COMPILE_COLLECTIONS
=no
2041 if test "x${COMPILE_COLLECTIONS}" = xyes
; then
2042 CREATE_COLLECTIONS_TRUE
=
2043 CREATE_COLLECTIONS_FALSE
='#'
2045 CREATE_COLLECTIONS_TRUE
='#'
2046 CREATE_COLLECTIONS_FALSE
=
2050 # Check whether --enable-jni or --disable-jni was given.
2051 if test "${enable_jni+set}" = set; then
2052 enableval
="$enable_jni"
2053 case "${enableval}" in
2054 yes) COMPILE_JNI
=yes; COMPILE_JAVA
=yes ;;
2055 no
) COMPILE_JNI
=no
;;
2056 *) COMPILE_JNI
=yes; COMPILE_JAVA
=yes ;;
2063 if test "x${COMPILE_JNI}" = xyes
; then
2064 CREATE_JNI_LIBRARIES_TRUE
=
2065 CREATE_JNI_LIBRARIES_FALSE
='#'
2067 CREATE_JNI_LIBRARIES_TRUE
='#'
2068 CREATE_JNI_LIBRARIES_FALSE
=
2072 # Check whether --enable-core-jni or --disable-core-jni was given.
2073 if test "${enable_core_jni+set}" = set; then
2074 enableval
="$enable_core_jni"
2075 case "${enableval}" in
2076 yes) COMPILE_CORE_JNI
=yes; COMPILE_JAVA
=yes ;;
2077 no
) COMPILE_CORE_JNI
=no
;;
2078 *) COMPILE_CORE_JNI
=yes; COMPILE_JAVA
=yes ;;
2081 COMPILE_CORE_JNI
=yes
2085 if test "x${COMPILE_CORE_JNI}" = xyes
; then
2086 CREATE_CORE_JNI_LIBRARIES_TRUE
=
2087 CREATE_CORE_JNI_LIBRARIES_FALSE
='#'
2089 CREATE_CORE_JNI_LIBRARIES_TRUE
='#'
2090 CREATE_CORE_JNI_LIBRARIES_FALSE
=
2094 # Check whether --enable-Werror or --disable-Werror was given.
2095 if test "${enable_Werror+set}" = set; then
2096 enableval
="$enable_Werror"
2097 case "${enableval}" in
2098 yes) ENABLE_WERROR
=yes ;;
2099 no
) ENABLE_WERROR
=no
;;
2100 *) ENABLE_WERROR
=no
;;
2106 # Check whether --enable-default-toolkit or --disable-default-toolkit was given.
2107 if test "${enable_default_toolkit+set}" = set; then
2108 enableval
="$enable_default_toolkit"
2111 default_toolkit
=$enable_default_toolkit
2112 if test "$default_toolkit" = ""; then
2113 default_toolkit
=gnu.java.awt.peer.gtk.GtkToolkit
2117 # Check whether --enable-xmlj or --disable-xmlj was given.
2118 if test "${enable_xmlj+set}" = set; then
2119 enableval
="$enable_xmlj"
2120 case "${enableval}" in
2121 yes) COMPILE_XMLJ
=yes ;;
2122 no
) COMPILE_XMLJ
=no
;;
2123 *) COMPILE_XMLJ
=no
;;
2130 if test "x${COMPILE_XMLJ}" = xyes
; then
2131 CREATE_XMLJ_LIBRARY_TRUE
=
2132 CREATE_XMLJ_LIBRARY_FALSE
='#'
2134 CREATE_XMLJ_LIBRARY_TRUE
='#'
2135 CREATE_XMLJ_LIBRARY_FALSE
=
2139 DEPDIR
="${am__leading_dot}deps"
2141 ac_config_commands
="$ac_config_commands depfiles"
2144 am_make
=${MAKE-make}
2145 cat > confinc
<< 'END'
2150 # If we don't find an include directive, just comment out the code.
2151 echo "$as_me:$LINENO: checking for style of include used by $am_make" >&5
2152 echo $ECHO_N "checking for style of include used by $am_make... $ECHO_C" >&6
2156 # First try GNU make style include.
2157 echo "include confinc" > confmf
2158 # We grep out `Entering directory' and `Leaving directory'
2159 # messages which can occur if `w' ends up in MAKEFLAGS.
2160 # In particular we don't look at `^make:' because GNU make might
2161 # be invoked under some other name (usually "gmake"), in which
2162 # case it prints its new name instead of `make'.
2163 if test "`$am_make -s -f confmf 2> /dev/null | grep -v 'ing directory'`" = "done"; then
2168 # Now try BSD make style include.
2169 if test "$am__include" = "#"; then
2170 echo '.include "confinc"' > confmf
2171 if test "`$am_make -s -f confmf 2> /dev/null`" = "done"; then
2172 am__include
=.include
2179 echo "$as_me:$LINENO: result: $_am_result" >&5
2180 echo "${ECHO_T}$_am_result" >&6
2181 rm -f confinc confmf
2183 # Check whether --enable-dependency-tracking or --disable-dependency-tracking was given.
2184 if test "${enable_dependency_tracking+set}" = set; then
2185 enableval
="$enable_dependency_tracking"
2188 if test "x$enable_dependency_tracking" != xno
; then
2189 am_depcomp
="$ac_aux_dir/depcomp"
2194 if test "x$enable_dependency_tracking" != xno; then
2205 ac_cpp
='$CPP $CPPFLAGS'
2206 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2207 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2208 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
2209 if test -n "$ac_tool_prefix"; then
2210 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
2211 set dummy
${ac_tool_prefix}gcc
; ac_word
=$2
2212 echo "$as_me:$LINENO: checking for $ac_word" >&5
2213 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2214 if test "${ac_cv_prog_CC+set}" = set; then
2215 echo $ECHO_N "(cached) $ECHO_C" >&6
2217 if test -n "$CC"; then
2218 ac_cv_prog_CC
="$CC" # Let the user override the test.
2220 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2224 test -z "$as_dir" && as_dir
=.
2225 for ac_exec_ext
in '' $ac_executable_extensions; do
2226 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2227 ac_cv_prog_CC
="${ac_tool_prefix}gcc"
2228 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2237 if test -n "$CC"; then
2238 echo "$as_me:$LINENO: result: $CC" >&5
2239 echo "${ECHO_T}$CC" >&6
2241 echo "$as_me:$LINENO: result: no" >&5
2242 echo "${ECHO_T}no" >&6
2246 if test -z "$ac_cv_prog_CC"; then
2248 # Extract the first word of "gcc", so it can be a program name with args.
2249 set dummy gcc
; ac_word
=$2
2250 echo "$as_me:$LINENO: checking for $ac_word" >&5
2251 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2252 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
2253 echo $ECHO_N "(cached) $ECHO_C" >&6
2255 if test -n "$ac_ct_CC"; then
2256 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
2258 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2262 test -z "$as_dir" && as_dir
=.
2263 for ac_exec_ext
in '' $ac_executable_extensions; do
2264 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2265 ac_cv_prog_ac_ct_CC
="gcc"
2266 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2274 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
2275 if test -n "$ac_ct_CC"; then
2276 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
2277 echo "${ECHO_T}$ac_ct_CC" >&6
2279 echo "$as_me:$LINENO: result: no" >&5
2280 echo "${ECHO_T}no" >&6
2288 if test -z "$CC"; then
2289 if test -n "$ac_tool_prefix"; then
2290 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
2291 set dummy
${ac_tool_prefix}cc
; ac_word
=$2
2292 echo "$as_me:$LINENO: checking for $ac_word" >&5
2293 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2294 if test "${ac_cv_prog_CC+set}" = set; then
2295 echo $ECHO_N "(cached) $ECHO_C" >&6
2297 if test -n "$CC"; then
2298 ac_cv_prog_CC
="$CC" # Let the user override the test.
2300 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2304 test -z "$as_dir" && as_dir
=.
2305 for ac_exec_ext
in '' $ac_executable_extensions; do
2306 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2307 ac_cv_prog_CC
="${ac_tool_prefix}cc"
2308 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2317 if test -n "$CC"; then
2318 echo "$as_me:$LINENO: result: $CC" >&5
2319 echo "${ECHO_T}$CC" >&6
2321 echo "$as_me:$LINENO: result: no" >&5
2322 echo "${ECHO_T}no" >&6
2326 if test -z "$ac_cv_prog_CC"; then
2328 # Extract the first word of "cc", so it can be a program name with args.
2329 set dummy cc
; ac_word
=$2
2330 echo "$as_me:$LINENO: checking for $ac_word" >&5
2331 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2332 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
2333 echo $ECHO_N "(cached) $ECHO_C" >&6
2335 if test -n "$ac_ct_CC"; then
2336 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
2338 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2342 test -z "$as_dir" && as_dir
=.
2343 for ac_exec_ext
in '' $ac_executable_extensions; do
2344 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2345 ac_cv_prog_ac_ct_CC
="cc"
2346 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2354 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
2355 if test -n "$ac_ct_CC"; then
2356 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
2357 echo "${ECHO_T}$ac_ct_CC" >&6
2359 echo "$as_me:$LINENO: result: no" >&5
2360 echo "${ECHO_T}no" >&6
2369 if test -z "$CC"; then
2370 # Extract the first word of "cc", so it can be a program name with args.
2371 set dummy cc
; ac_word
=$2
2372 echo "$as_me:$LINENO: checking for $ac_word" >&5
2373 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2374 if test "${ac_cv_prog_CC+set}" = set; then
2375 echo $ECHO_N "(cached) $ECHO_C" >&6
2377 if test -n "$CC"; then
2378 ac_cv_prog_CC
="$CC" # Let the user override the test.
2381 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2385 test -z "$as_dir" && as_dir
=.
2386 for ac_exec_ext
in '' $ac_executable_extensions; do
2387 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2388 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
2389 ac_prog_rejected
=yes
2393 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2399 if test $ac_prog_rejected = yes; then
2400 # We found a bogon in the path, so make sure we never use it.
2401 set dummy
$ac_cv_prog_CC
2403 if test $# != 0; then
2404 # We chose a different compiler from the bogus one.
2405 # However, it has the same basename, so the bogon will be chosen
2406 # first if we set CC to just the basename; use the full file name.
2408 ac_cv_prog_CC
="$as_dir/$ac_word${1+' '}$@"
2414 if test -n "$CC"; then
2415 echo "$as_me:$LINENO: result: $CC" >&5
2416 echo "${ECHO_T}$CC" >&6
2418 echo "$as_me:$LINENO: result: no" >&5
2419 echo "${ECHO_T}no" >&6
2423 if test -z "$CC"; then
2424 if test -n "$ac_tool_prefix"; then
2427 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
2428 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
2429 echo "$as_me:$LINENO: checking for $ac_word" >&5
2430 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2431 if test "${ac_cv_prog_CC+set}" = set; then
2432 echo $ECHO_N "(cached) $ECHO_C" >&6
2434 if test -n "$CC"; then
2435 ac_cv_prog_CC
="$CC" # Let the user override the test.
2437 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2441 test -z "$as_dir" && as_dir
=.
2442 for ac_exec_ext
in '' $ac_executable_extensions; do
2443 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2444 ac_cv_prog_CC
="$ac_tool_prefix$ac_prog"
2445 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2454 if test -n "$CC"; then
2455 echo "$as_me:$LINENO: result: $CC" >&5
2456 echo "${ECHO_T}$CC" >&6
2458 echo "$as_me:$LINENO: result: no" >&5
2459 echo "${ECHO_T}no" >&6
2462 test -n "$CC" && break
2465 if test -z "$CC"; then
2469 # Extract the first word of "$ac_prog", so it can be a program name with args.
2470 set dummy
$ac_prog; ac_word
=$2
2471 echo "$as_me:$LINENO: checking for $ac_word" >&5
2472 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2473 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
2474 echo $ECHO_N "(cached) $ECHO_C" >&6
2476 if test -n "$ac_ct_CC"; then
2477 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
2479 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2483 test -z "$as_dir" && as_dir
=.
2484 for ac_exec_ext
in '' $ac_executable_extensions; do
2485 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2486 ac_cv_prog_ac_ct_CC
="$ac_prog"
2487 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2495 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
2496 if test -n "$ac_ct_CC"; then
2497 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
2498 echo "${ECHO_T}$ac_ct_CC" >&6
2500 echo "$as_me:$LINENO: result: no" >&5
2501 echo "${ECHO_T}no" >&6
2504 test -n "$ac_ct_CC" && break
2513 test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
2514 See \`config.log' for more details." >&5
2515 echo "$as_me: error: no acceptable C compiler found in \$PATH
2516 See \`config.log' for more details." >&2;}
2517 { (exit 1); exit 1; }; }
2519 # Provide some information about the compiler.
2520 echo "$as_me:$LINENO:" \
2521 "checking for C compiler version" >&5
2522 ac_compiler
=`set X $ac_compile; echo $2`
2523 { (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5
2524 (eval $ac_compiler --version </dev
/null
>&5) 2>&5
2526 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2527 (exit $ac_status); }
2528 { (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5
2529 (eval $ac_compiler -v </dev
/null
>&5) 2>&5
2531 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2532 (exit $ac_status); }
2533 { (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5
2534 (eval $ac_compiler -V </dev
/null
>&5) 2>&5
2536 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2537 (exit $ac_status); }
2539 cat >conftest.
$ac_ext <<_ACEOF
2542 cat confdefs.h
>>conftest.
$ac_ext
2543 cat >>conftest.
$ac_ext <<_ACEOF
2544 /* end confdefs.h. */
2554 ac_clean_files_save
=$ac_clean_files
2555 ac_clean_files
="$ac_clean_files a.out a.exe b.out"
2556 # Try to create an executable without -o first, disregard a.out.
2557 # It will help us diagnose broken compilers, and finding out an intuition
2559 echo "$as_me:$LINENO: checking for C compiler default output file name" >&5
2560 echo $ECHO_N "checking for C compiler default output file name... $ECHO_C" >&6
2561 ac_link_default
=`echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
2562 if { (eval echo "$as_me:$LINENO: \"$ac_link_default\"") >&5
2563 (eval $ac_link_default) 2>&5
2565 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2566 (exit $ac_status); }; then
2567 # Find the output, starting from the most likely. This scheme is
2568 # not robust to junk in `.', hence go to wildcards (a.*) only as a last
2571 # Be careful to initialize this variable, since it used to be cached.
2572 # Otherwise an old cache value of `no' led to `EXEEXT = no' in a Makefile.
2574 # b.out is created by i960 compilers.
2575 for ac_file
in a_out.exe a.exe conftest.exe a.out conftest a.
* conftest.
* b.out
2577 test -f "$ac_file" ||
continue
2579 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg |
*.o |
*.obj
)
2582 # This is the source file.
2585 # We found the default executable, but exeext='' is most
2589 ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
2590 # FIXME: I believe we export ac_cv_exeext for Libtool,
2591 # but it would be cool to find out if it's true. Does anybody
2592 # maintain Libtool? --akim.
2600 echo "$as_me: failed program was:" >&5
2601 sed 's/^/| /' conftest.
$ac_ext >&5
2603 { { echo "$as_me:$LINENO: error: C compiler cannot create executables
2604 See \`config.log' for more details." >&5
2605 echo "$as_me: error: C compiler cannot create executables
2606 See \`config.log' for more details." >&2;}
2607 { (exit 77); exit 77; }; }
2610 ac_exeext
=$ac_cv_exeext
2611 echo "$as_me:$LINENO: result: $ac_file" >&5
2612 echo "${ECHO_T}$ac_file" >&6
2614 # Check the compiler produces executables we can run. If not, either
2615 # the compiler is broken, or we cross compile.
2616 echo "$as_me:$LINENO: checking whether the C compiler works" >&5
2617 echo $ECHO_N "checking whether the C compiler works... $ECHO_C" >&6
2618 # FIXME: These cross compiler hacks should be removed for Autoconf 3.0
2619 # If not cross compiling, check that we can run a simple program.
2620 if test "$cross_compiling" != yes; then
2621 if { ac_try
='./$ac_file'
2622 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2625 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2626 (exit $ac_status); }; }; then
2629 if test "$cross_compiling" = maybe
; then
2632 { { echo "$as_me:$LINENO: error: cannot run C compiled programs.
2633 If you meant to cross compile, use \`--host'.
2634 See \`config.log' for more details." >&5
2635 echo "$as_me: error: cannot run C compiled programs.
2636 If you meant to cross compile, use \`--host'.
2637 See \`config.log' for more details." >&2;}
2638 { (exit 1); exit 1; }; }
2642 echo "$as_me:$LINENO: result: yes" >&5
2643 echo "${ECHO_T}yes" >&6
2645 rm -f a.out a.exe conftest
$ac_cv_exeext b.out
2646 ac_clean_files
=$ac_clean_files_save
2647 # Check the compiler produces executables we can run. If not, either
2648 # the compiler is broken, or we cross compile.
2649 echo "$as_me:$LINENO: checking whether we are cross compiling" >&5
2650 echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6
2651 echo "$as_me:$LINENO: result: $cross_compiling" >&5
2652 echo "${ECHO_T}$cross_compiling" >&6
2654 echo "$as_me:$LINENO: checking for suffix of executables" >&5
2655 echo $ECHO_N "checking for suffix of executables... $ECHO_C" >&6
2656 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
2657 (eval $ac_link) 2>&5
2659 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2660 (exit $ac_status); }; then
2661 # If both `conftest.exe' and `conftest' are `present' (well, observable)
2662 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
2663 # work properly (i.e., refer to `conftest.exe'), while it won't with
2665 for ac_file
in conftest.exe conftest conftest.
*; do
2666 test -f "$ac_file" ||
continue
2668 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg |
*.o |
*.obj
) ;;
2669 *.
* ) ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
2676 { { echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link
2677 See \`config.log' for more details." >&5
2678 echo "$as_me: error: cannot compute suffix of executables: cannot compile and link
2679 See \`config.log' for more details." >&2;}
2680 { (exit 1); exit 1; }; }
2683 rm -f conftest
$ac_cv_exeext
2684 echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
2685 echo "${ECHO_T}$ac_cv_exeext" >&6
2687 rm -f conftest.
$ac_ext
2688 EXEEXT
=$ac_cv_exeext
2690 echo "$as_me:$LINENO: checking for suffix of object files" >&5
2691 echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6
2692 if test "${ac_cv_objext+set}" = set; then
2693 echo $ECHO_N "(cached) $ECHO_C" >&6
2695 cat >conftest.
$ac_ext <<_ACEOF
2698 cat confdefs.h
>>conftest.
$ac_ext
2699 cat >>conftest.
$ac_ext <<_ACEOF
2700 /* end confdefs.h. */
2710 rm -f conftest.o conftest.obj
2711 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2712 (eval $ac_compile) 2>&5
2714 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2715 (exit $ac_status); }; then
2716 for ac_file
in `(ls conftest.o conftest.obj; ls conftest.*) 2>/dev/null`; do
2718 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg
) ;;
2719 *) ac_cv_objext
=`expr "$ac_file" : '.*\.\(.*\)'`
2724 echo "$as_me: failed program was:" >&5
2725 sed 's/^/| /' conftest.
$ac_ext >&5
2727 { { echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile
2728 See \`config.log' for more details." >&5
2729 echo "$as_me: error: cannot compute suffix of object files: cannot compile
2730 See \`config.log' for more details." >&2;}
2731 { (exit 1); exit 1; }; }
2734 rm -f conftest.
$ac_cv_objext conftest.
$ac_ext
2736 echo "$as_me:$LINENO: result: $ac_cv_objext" >&5
2737 echo "${ECHO_T}$ac_cv_objext" >&6
2738 OBJEXT
=$ac_cv_objext
2740 echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
2741 echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6
2742 if test "${ac_cv_c_compiler_gnu+set}" = set; then
2743 echo $ECHO_N "(cached) $ECHO_C" >&6
2745 cat >conftest.
$ac_ext <<_ACEOF
2748 cat confdefs.h
>>conftest.
$ac_ext
2749 cat >>conftest.
$ac_ext <<_ACEOF
2750 /* end confdefs.h. */
2763 rm -f conftest.
$ac_objext
2764 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2765 (eval $ac_compile) 2>conftest.er1
2767 grep -v '^ *+' conftest.er1
>conftest.err
2769 cat conftest.err
>&5
2770 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2771 (exit $ac_status); } &&
2772 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
2773 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2776 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2777 (exit $ac_status); }; } &&
2778 { ac_try
='test -s conftest.$ac_objext'
2779 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2782 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2783 (exit $ac_status); }; }; then
2786 echo "$as_me: failed program was:" >&5
2787 sed 's/^/| /' conftest.
$ac_ext >&5
2791 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
2792 ac_cv_c_compiler_gnu
=$ac_compiler_gnu
2795 echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
2796 echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6
2797 GCC
=`test $ac_compiler_gnu = yes && echo yes`
2798 ac_test_CFLAGS
=${CFLAGS+set}
2799 ac_save_CFLAGS
=$CFLAGS
2801 echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
2802 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6
2803 if test "${ac_cv_prog_cc_g+set}" = set; then
2804 echo $ECHO_N "(cached) $ECHO_C" >&6
2806 cat >conftest.
$ac_ext <<_ACEOF
2809 cat confdefs.h
>>conftest.
$ac_ext
2810 cat >>conftest.
$ac_ext <<_ACEOF
2811 /* end confdefs.h. */
2821 rm -f conftest.
$ac_objext
2822 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2823 (eval $ac_compile) 2>conftest.er1
2825 grep -v '^ *+' conftest.er1
>conftest.err
2827 cat conftest.err
>&5
2828 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2829 (exit $ac_status); } &&
2830 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
2831 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2834 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2835 (exit $ac_status); }; } &&
2836 { ac_try
='test -s conftest.$ac_objext'
2837 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2840 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2841 (exit $ac_status); }; }; then
2844 echo "$as_me: failed program was:" >&5
2845 sed 's/^/| /' conftest.
$ac_ext >&5
2849 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
2851 echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
2852 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6
2853 if test "$ac_test_CFLAGS" = set; then
2854 CFLAGS
=$ac_save_CFLAGS
2855 elif test $ac_cv_prog_cc_g = yes; then
2856 if test "$GCC" = yes; then
2862 if test "$GCC" = yes; then
2868 echo "$as_me:$LINENO: checking for $CC option to accept ANSI C" >&5
2869 echo $ECHO_N "checking for $CC option to accept ANSI C... $ECHO_C" >&6
2870 if test "${ac_cv_prog_cc_stdc+set}" = set; then
2871 echo $ECHO_N "(cached) $ECHO_C" >&6
2873 ac_cv_prog_cc_stdc
=no
2875 cat >conftest.
$ac_ext <<_ACEOF
2878 cat confdefs.h
>>conftest.
$ac_ext
2879 cat >>conftest.
$ac_ext <<_ACEOF
2880 /* end confdefs.h. */
2883 #include <sys/types.h>
2884 #include <sys/stat.h>
2885 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
2886 struct buf { int x; };
2887 FILE * (*rcsopen) (struct buf *, struct stat *, int);
2888 static char *e (p, i)
2894 static char *f (char * (*g) (char **, int), char **p, ...)
2899 s = g (p, va_arg (v,int));
2904 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
2905 function prototypes and stuff, but not '\xHH' hex character constants.
2906 These don't provoke an error unfortunately, instead are silently treated
2907 as 'x'. The following induces an error, until -std1 is added to get
2908 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
2909 array size at least. It's necessary to write '\x00'==0 to get something
2910 that's true only with -std1. */
2911 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
2913 int test (int i, double x);
2914 struct s1 {int (*f) (int a);};
2915 struct s2 {int (*f) (double a);};
2916 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
2922 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
2927 # Don't try gcc -ansi; that turns off useful extensions and
2928 # breaks some systems' header files.
2929 # AIX -qlanglvl=ansi
2930 # Ultrix and OSF/1 -std1
2931 # HP-UX 10.20 and later -Ae
2932 # HP-UX older versions -Aa -D_HPUX_SOURCE
2933 # SVR4 -Xc -D__EXTENSIONS__
2934 for ac_arg
in "" -qlanglvl=ansi
-std1 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
2936 CC
="$ac_save_CC $ac_arg"
2937 rm -f conftest.
$ac_objext
2938 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2939 (eval $ac_compile) 2>conftest.er1
2941 grep -v '^ *+' conftest.er1
>conftest.err
2943 cat conftest.err
>&5
2944 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2945 (exit $ac_status); } &&
2946 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
2947 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2950 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2951 (exit $ac_status); }; } &&
2952 { ac_try
='test -s conftest.$ac_objext'
2953 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2956 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2957 (exit $ac_status); }; }; then
2958 ac_cv_prog_cc_stdc
=$ac_arg
2961 echo "$as_me: failed program was:" >&5
2962 sed 's/^/| /' conftest.
$ac_ext >&5
2965 rm -f conftest.err conftest.
$ac_objext
2967 rm -f conftest.
$ac_ext conftest.
$ac_objext
2972 case "x$ac_cv_prog_cc_stdc" in
2974 echo "$as_me:$LINENO: result: none needed" >&5
2975 echo "${ECHO_T}none needed" >&6 ;;
2977 echo "$as_me:$LINENO: result: $ac_cv_prog_cc_stdc" >&5
2978 echo "${ECHO_T}$ac_cv_prog_cc_stdc" >&6
2979 CC
="$CC $ac_cv_prog_cc_stdc" ;;
2982 # Some people use a C++ compiler to compile C. Since we use `exit',
2983 # in C++ we need to declare it. In case someone uses the same compiler
2984 # for both compiling C and C++ we need to have the C++ compiler decide
2985 # the declaration of exit, since it's the most demanding environment.
2986 cat >conftest.
$ac_ext <<_ACEOF
2991 rm -f conftest.
$ac_objext
2992 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2993 (eval $ac_compile) 2>conftest.er1
2995 grep -v '^ *+' conftest.er1
>conftest.err
2997 cat conftest.err
>&5
2998 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2999 (exit $ac_status); } &&
3000 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
3001 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3004 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3005 (exit $ac_status); }; } &&
3006 { ac_try
='test -s conftest.$ac_objext'
3007 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3010 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3011 (exit $ac_status); }; }; then
3012 for ac_declaration
in \
3014 'extern "C" void std::exit (int) throw (); using std::exit;' \
3015 'extern "C" void std::exit (int); using std::exit;' \
3016 'extern "C" void exit (int) throw ();' \
3017 'extern "C" void exit (int);' \
3020 cat >conftest.
$ac_ext <<_ACEOF
3023 cat confdefs.h
>>conftest.
$ac_ext
3024 cat >>conftest.
$ac_ext <<_ACEOF
3025 /* end confdefs.h. */
3036 rm -f conftest.
$ac_objext
3037 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3038 (eval $ac_compile) 2>conftest.er1
3040 grep -v '^ *+' conftest.er1
>conftest.err
3042 cat conftest.err
>&5
3043 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3044 (exit $ac_status); } &&
3045 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
3046 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3049 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3050 (exit $ac_status); }; } &&
3051 { ac_try
='test -s conftest.$ac_objext'
3052 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3055 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3056 (exit $ac_status); }; }; then
3059 echo "$as_me: failed program was:" >&5
3060 sed 's/^/| /' conftest.
$ac_ext >&5
3064 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
3065 cat >conftest.
$ac_ext <<_ACEOF
3068 cat confdefs.h
>>conftest.
$ac_ext
3069 cat >>conftest.
$ac_ext <<_ACEOF
3070 /* end confdefs.h. */
3080 rm -f conftest.
$ac_objext
3081 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3082 (eval $ac_compile) 2>conftest.er1
3084 grep -v '^ *+' conftest.er1
>conftest.err
3086 cat conftest.err
>&5
3087 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3088 (exit $ac_status); } &&
3089 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
3090 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3093 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3094 (exit $ac_status); }; } &&
3095 { ac_try
='test -s conftest.$ac_objext'
3096 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3099 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3100 (exit $ac_status); }; }; then
3103 echo "$as_me: failed program was:" >&5
3104 sed 's/^/| /' conftest.
$ac_ext >&5
3107 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
3110 if test -n "$ac_declaration"; then
3111 echo '#ifdef __cplusplus' >>confdefs.h
3112 echo $ac_declaration >>confdefs.h
3113 echo '#endif' >>confdefs.h
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
3123 ac_cpp
='$CPP $CPPFLAGS'
3124 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3125 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3126 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
3128 depcc
="$CC" am_compiler_list
=
3130 echo "$as_me:$LINENO: checking dependency style of $depcc" >&5
3131 echo $ECHO_N "checking dependency style of $depcc... $ECHO_C" >&6
3132 if test "${am_cv_CC_dependencies_compiler_type+set}" = set; then
3133 echo $ECHO_N "(cached) $ECHO_C" >&6
3135 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
3136 # We make a subdir and do the tests there. Otherwise we can end up
3137 # making bogus files that we don't know about and never remove. For
3138 # instance it was reported that on HP-UX the gcc test will end up
3139 # making a dummy file named `D' -- because `-MD' means `put the output
3142 # Copy depcomp to subdir because otherwise we won't find it if we're
3143 # using a relative directory.
3144 cp "$am_depcomp" conftest.dir
3146 # We will build objects and dependencies in a subdirectory because
3147 # it helps to detect inapplicable dependency modes. For instance
3148 # both Tru64's cc and ICC support -MD to output dependencies as a
3149 # side effect of compilation, but ICC will put the dependencies in
3150 # the current directory while Tru64 will put them in the object
3154 am_cv_CC_dependencies_compiler_type
=none
3155 if test "$am_compiler_list" = ""; then
3156 am_compiler_list
=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
3158 for depmode
in $am_compiler_list; do
3159 # Setup a source with many dependencies, because some compilers
3160 # like to wrap large dependency lists on column 80 (with \), and
3161 # we should not choose a depcomp mode which is confused by this.
3163 # We need to recreate these files for each test, as the compiler may
3164 # overwrite some of them when testing with obscure command lines.
3165 # This happens at least with the AIX C compiler.
3167 for i
in 1 2 3 4 5 6; do
3168 echo '#include "conftst'$i'.h"' >> sub
/conftest.c
3169 # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
3170 # Solaris 8's {/usr,}/bin/sh.
3171 touch sub
/conftst
$i.h
3173 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
3177 # after this tag, mechanisms are not by side-effect, so they'll
3178 # only be used when explicitly requested
3179 if test "x$enable_dependency_tracking" = xyes
; then
3187 # We check with `-c' and `-o' for the sake of the "dashmstdout"
3188 # mode. It turns out that the SunPro C++ compiler does not properly
3189 # handle `-M -o', and we need to detect this.
3190 if depmode
=$depmode \
3191 source=sub
/conftest.c object
=sub
/conftest.
${OBJEXT-o} \
3192 depfile
=sub
/conftest.Po tmpdepfile
=sub
/conftest.TPo \
3193 $SHELL .
/depcomp
$depcc -c -o sub
/conftest.
${OBJEXT-o} sub
/conftest.c \
3194 >/dev
/null
2>conftest.err
&&
3195 grep sub
/conftst6.h sub
/conftest.Po
> /dev
/null
2>&1 &&
3196 grep sub
/conftest.
${OBJEXT-o} sub
/conftest.Po
> /dev
/null
2>&1 &&
3197 ${MAKE-make} -s -f confmf
> /dev
/null
2>&1; then
3198 # icc doesn't choke on unknown options, it will just issue warnings
3199 # or remarks (even with -Werror). So we grep stderr for any message
3200 # that says an option was ignored or not supported.
3201 # When given -MP, icc 7.0 and 7.1 complain thusly:
3202 # icc: Command line warning: ignoring option '-M'; no argument required
3203 # The diagnosis changed in icc 8.0:
3204 # icc: Command line remark: option '-MP' not supported
3205 if (grep 'ignoring option' conftest.err ||
3206 grep 'not supported' conftest.err
) >/dev
/null
2>&1; then :; else
3207 am_cv_CC_dependencies_compiler_type
=$depmode
3216 am_cv_CC_dependencies_compiler_type
=none
3220 echo "$as_me:$LINENO: result: $am_cv_CC_dependencies_compiler_type" >&5
3221 echo "${ECHO_T}$am_cv_CC_dependencies_compiler_type" >&6
3222 CCDEPMODE
=depmode
=$am_cv_CC_dependencies_compiler_type
3227 test "x$enable_dependency_tracking" != xno \
3228 && test "$am_cv_CC_dependencies_compiler_type" = gcc3
; then
3230 am__fastdepCC_FALSE
='#'
3232 am__fastdepCC_TRUE
='#'
3233 am__fastdepCC_FALSE
=
3239 ac_cpp
='$CPP $CPPFLAGS'
3240 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3241 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3242 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
3243 echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5
3244 echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6
3245 # On Suns, sometimes $CPP names a directory.
3246 if test -n "$CPP" && test -d "$CPP"; then
3249 if test -z "$CPP"; then
3250 if test "${ac_cv_prog_CPP+set}" = set; then
3251 echo $ECHO_N "(cached) $ECHO_C" >&6
3253 # Double quotes because CPP needs to be expanded
3254 for CPP
in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
3257 for ac_c_preproc_warn_flag
in '' yes
3259 # Use a header file that comes with gcc, so configuring glibc
3260 # with a fresh cross-compiler works.
3261 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
3262 # <limits.h> exists even on freestanding compilers.
3263 # On the NeXT, cc -E runs the code through the compiler's parser,
3264 # not just through cpp. "Syntax error" is here to catch this case.
3265 cat >conftest.
$ac_ext <<_ACEOF
3268 cat confdefs.h
>>conftest.
$ac_ext
3269 cat >>conftest.
$ac_ext <<_ACEOF
3270 /* end confdefs.h. */
3272 # include <limits.h>
3274 # include <assert.h>
3278 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
3279 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
3281 grep -v '^ *+' conftest.er1
>conftest.err
3283 cat conftest.err
>&5
3284 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3285 (exit $ac_status); } >/dev
/null
; then
3286 if test -s conftest.err
; then
3287 ac_cpp_err
=$ac_c_preproc_warn_flag
3288 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
3295 if test -z "$ac_cpp_err"; then
3298 echo "$as_me: failed program was:" >&5
3299 sed 's/^/| /' conftest.
$ac_ext >&5
3301 # Broken: fails on valid input.
3304 rm -f conftest.err conftest.
$ac_ext
3306 # OK, works on sane cases. Now check whether non-existent headers
3307 # can be detected and how.
3308 cat >conftest.
$ac_ext <<_ACEOF
3311 cat confdefs.h
>>conftest.
$ac_ext
3312 cat >>conftest.
$ac_ext <<_ACEOF
3313 /* end confdefs.h. */
3314 #include <ac_nonexistent.h>
3316 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
3317 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
3319 grep -v '^ *+' conftest.er1
>conftest.err
3321 cat conftest.err
>&5
3322 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3323 (exit $ac_status); } >/dev
/null
; then
3324 if test -s conftest.err
; then
3325 ac_cpp_err
=$ac_c_preproc_warn_flag
3326 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
3333 if test -z "$ac_cpp_err"; then
3334 # Broken: success on invalid input.
3337 echo "$as_me: failed program was:" >&5
3338 sed 's/^/| /' conftest.
$ac_ext >&5
3340 # Passes both tests.
3344 rm -f conftest.err conftest.
$ac_ext
3347 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
3348 rm -f conftest.err conftest.
$ac_ext
3349 if $ac_preproc_ok; then
3361 echo "$as_me:$LINENO: result: $CPP" >&5
3362 echo "${ECHO_T}$CPP" >&6
3364 for ac_c_preproc_warn_flag
in '' yes
3366 # Use a header file that comes with gcc, so configuring glibc
3367 # with a fresh cross-compiler works.
3368 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
3369 # <limits.h> exists even on freestanding compilers.
3370 # On the NeXT, cc -E runs the code through the compiler's parser,
3371 # not just through cpp. "Syntax error" is here to catch this case.
3372 cat >conftest.
$ac_ext <<_ACEOF
3375 cat confdefs.h
>>conftest.
$ac_ext
3376 cat >>conftest.
$ac_ext <<_ACEOF
3377 /* end confdefs.h. */
3379 # include <limits.h>
3381 # include <assert.h>
3385 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
3386 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
3388 grep -v '^ *+' conftest.er1
>conftest.err
3390 cat conftest.err
>&5
3391 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3392 (exit $ac_status); } >/dev
/null
; then
3393 if test -s conftest.err
; then
3394 ac_cpp_err
=$ac_c_preproc_warn_flag
3395 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
3402 if test -z "$ac_cpp_err"; then
3405 echo "$as_me: failed program was:" >&5
3406 sed 's/^/| /' conftest.
$ac_ext >&5
3408 # Broken: fails on valid input.
3411 rm -f conftest.err conftest.
$ac_ext
3413 # OK, works on sane cases. Now check whether non-existent headers
3414 # can be detected and how.
3415 cat >conftest.
$ac_ext <<_ACEOF
3418 cat confdefs.h
>>conftest.
$ac_ext
3419 cat >>conftest.
$ac_ext <<_ACEOF
3420 /* end confdefs.h. */
3421 #include <ac_nonexistent.h>
3423 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
3424 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
3426 grep -v '^ *+' conftest.er1
>conftest.err
3428 cat conftest.err
>&5
3429 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3430 (exit $ac_status); } >/dev
/null
; then
3431 if test -s conftest.err
; then
3432 ac_cpp_err
=$ac_c_preproc_warn_flag
3433 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
3440 if test -z "$ac_cpp_err"; then
3441 # Broken: success on invalid input.
3444 echo "$as_me: failed program was:" >&5
3445 sed 's/^/| /' conftest.
$ac_ext >&5
3447 # Passes both tests.
3451 rm -f conftest.err conftest.
$ac_ext
3454 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
3455 rm -f conftest.err conftest.
$ac_ext
3456 if $ac_preproc_ok; then
3459 { { echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check
3460 See \`config.log' for more details." >&5
3461 echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check
3462 See \`config.log' for more details." >&2;}
3463 { (exit 1); exit 1; }; }
3467 ac_cpp
='$CPP $CPPFLAGS'
3468 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3469 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3470 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
3473 echo "$as_me:$LINENO: checking for egrep" >&5
3474 echo $ECHO_N "checking for egrep... $ECHO_C" >&6
3475 if test "${ac_cv_prog_egrep+set}" = set; then
3476 echo $ECHO_N "(cached) $ECHO_C" >&6
3478 if echo a |
(grep -E '(a|b)') >/dev
/null
2>&1
3479 then ac_cv_prog_egrep
='grep -E'
3480 else ac_cv_prog_egrep
='egrep'
3483 echo "$as_me:$LINENO: result: $ac_cv_prog_egrep" >&5
3484 echo "${ECHO_T}$ac_cv_prog_egrep" >&6
3485 EGREP
=$ac_cv_prog_egrep
3488 echo "$as_me:$LINENO: checking for ANSI C header files" >&5
3489 echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6
3490 if test "${ac_cv_header_stdc+set}" = set; then
3491 echo $ECHO_N "(cached) $ECHO_C" >&6
3493 cat >conftest.
$ac_ext <<_ACEOF
3496 cat confdefs.h
>>conftest.
$ac_ext
3497 cat >>conftest.
$ac_ext <<_ACEOF
3498 /* end confdefs.h. */
3512 rm -f conftest.
$ac_objext
3513 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3514 (eval $ac_compile) 2>conftest.er1
3516 grep -v '^ *+' conftest.er1
>conftest.err
3518 cat conftest.err
>&5
3519 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3520 (exit $ac_status); } &&
3521 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
3522 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3525 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3526 (exit $ac_status); }; } &&
3527 { ac_try
='test -s conftest.$ac_objext'
3528 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3531 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3532 (exit $ac_status); }; }; then
3533 ac_cv_header_stdc
=yes
3535 echo "$as_me: failed program was:" >&5
3536 sed 's/^/| /' conftest.
$ac_ext >&5
3538 ac_cv_header_stdc
=no
3540 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
3542 if test $ac_cv_header_stdc = yes; then
3543 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
3544 cat >conftest.
$ac_ext <<_ACEOF
3547 cat confdefs.h
>>conftest.
$ac_ext
3548 cat >>conftest.
$ac_ext <<_ACEOF
3549 /* end confdefs.h. */
3553 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
3554 $EGREP "memchr" >/dev
/null
2>&1; then
3557 ac_cv_header_stdc
=no
3563 if test $ac_cv_header_stdc = yes; then
3564 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
3565 cat >conftest.
$ac_ext <<_ACEOF
3568 cat confdefs.h
>>conftest.
$ac_ext
3569 cat >>conftest.
$ac_ext <<_ACEOF
3570 /* end confdefs.h. */
3574 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
3575 $EGREP "free" >/dev
/null
2>&1; then
3578 ac_cv_header_stdc
=no
3584 if test $ac_cv_header_stdc = yes; then
3585 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
3586 if test "$cross_compiling" = yes; then
3589 cat >conftest.
$ac_ext <<_ACEOF
3592 cat confdefs.h
>>conftest.
$ac_ext
3593 cat >>conftest.
$ac_ext <<_ACEOF
3594 /* end confdefs.h. */
3596 #if ((' ' & 0x0FF) == 0x020)
3597 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
3598 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
3600 # define ISLOWER(c) \
3601 (('a' <= (c) && (c) <= 'i') \
3602 || ('j' <= (c) && (c) <= 'r') \
3603 || ('s' <= (c) && (c) <= 'z'))
3604 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
3607 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
3612 for (i = 0; i < 256; i++)
3613 if (XOR (islower (i), ISLOWER (i))
3614 || toupper (i) != TOUPPER (i))
3619 rm -f conftest
$ac_exeext
3620 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
3621 (eval $ac_link) 2>&5
3623 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3624 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
3625 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3628 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3629 (exit $ac_status); }; }; then
3632 echo "$as_me: program exited with status $ac_status" >&5
3633 echo "$as_me: failed program was:" >&5
3634 sed 's/^/| /' conftest.
$ac_ext >&5
3637 ac_cv_header_stdc
=no
3639 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
3643 echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
3644 echo "${ECHO_T}$ac_cv_header_stdc" >&6
3645 if test $ac_cv_header_stdc = yes; then
3647 cat >>confdefs.h
<<\_ACEOF
3648 #define STDC_HEADERS 1
3653 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
3663 for ac_header
in sys
/types.h sys
/stat.h stdlib.h string.h memory.h
strings.h \
3664 inttypes.h stdint.h unistd.h
3666 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
3667 echo "$as_me:$LINENO: checking for $ac_header" >&5
3668 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
3669 if eval "test \"\${$as_ac_Header+set}\" = set"; then
3670 echo $ECHO_N "(cached) $ECHO_C" >&6
3672 cat >conftest.
$ac_ext <<_ACEOF
3675 cat confdefs.h
>>conftest.
$ac_ext
3676 cat >>conftest.
$ac_ext <<_ACEOF
3677 /* end confdefs.h. */
3678 $ac_includes_default
3680 #include <$ac_header>
3682 rm -f conftest.
$ac_objext
3683 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3684 (eval $ac_compile) 2>conftest.er1
3686 grep -v '^ *+' conftest.er1
>conftest.err
3688 cat conftest.err
>&5
3689 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3690 (exit $ac_status); } &&
3691 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
3692 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3695 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3696 (exit $ac_status); }; } &&
3697 { ac_try
='test -s conftest.$ac_objext'
3698 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3701 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3702 (exit $ac_status); }; }; then
3703 eval "$as_ac_Header=yes"
3705 echo "$as_me: failed program was:" >&5
3706 sed 's/^/| /' conftest.
$ac_ext >&5
3708 eval "$as_ac_Header=no"
3710 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
3712 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
3713 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
3714 if test `eval echo '${'$as_ac_Header'}'` = yes; then
3715 cat >>confdefs.h
<<_ACEOF
3716 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
3724 # Check whether --enable-alsa or --disable-alsa was given.
3725 if test "${enable_alsa+set}" = set; then
3726 enableval
="$enable_alsa"
3727 case "${enableval}" in
3728 yes) COMPILE_ALSA
=yes ;;
3729 no
) COMPILE_ALSA
=no
;;
3730 *) COMPILE_ALSA
=yes ;;
3734 for ac_header
in alsa
/asoundlib.h
3736 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
3737 if eval "test \"\${$as_ac_Header+set}\" = set"; then
3738 echo "$as_me:$LINENO: checking for $ac_header" >&5
3739 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
3740 if eval "test \"\${$as_ac_Header+set}\" = set"; then
3741 echo $ECHO_N "(cached) $ECHO_C" >&6
3743 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
3744 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
3746 # Is the header compilable?
3747 echo "$as_me:$LINENO: checking $ac_header usability" >&5
3748 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
3749 cat >conftest.
$ac_ext <<_ACEOF
3752 cat confdefs.h
>>conftest.
$ac_ext
3753 cat >>conftest.
$ac_ext <<_ACEOF
3754 /* end confdefs.h. */
3755 $ac_includes_default
3756 #include <$ac_header>
3758 rm -f conftest.
$ac_objext
3759 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3760 (eval $ac_compile) 2>conftest.er1
3762 grep -v '^ *+' conftest.er1
>conftest.err
3764 cat conftest.err
>&5
3765 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3766 (exit $ac_status); } &&
3767 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
3768 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3771 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3772 (exit $ac_status); }; } &&
3773 { ac_try
='test -s conftest.$ac_objext'
3774 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3777 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3778 (exit $ac_status); }; }; then
3779 ac_header_compiler
=yes
3781 echo "$as_me: failed program was:" >&5
3782 sed 's/^/| /' conftest.
$ac_ext >&5
3784 ac_header_compiler
=no
3786 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
3787 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
3788 echo "${ECHO_T}$ac_header_compiler" >&6
3790 # Is the header present?
3791 echo "$as_me:$LINENO: checking $ac_header presence" >&5
3792 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
3793 cat >conftest.
$ac_ext <<_ACEOF
3796 cat confdefs.h
>>conftest.
$ac_ext
3797 cat >>conftest.
$ac_ext <<_ACEOF
3798 /* end confdefs.h. */
3799 #include <$ac_header>
3801 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
3802 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
3804 grep -v '^ *+' conftest.er1
>conftest.err
3806 cat conftest.err
>&5
3807 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3808 (exit $ac_status); } >/dev
/null
; then
3809 if test -s conftest.err
; then
3810 ac_cpp_err
=$ac_c_preproc_warn_flag
3811 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
3818 if test -z "$ac_cpp_err"; then
3819 ac_header_preproc
=yes
3821 echo "$as_me: failed program was:" >&5
3822 sed 's/^/| /' conftest.
$ac_ext >&5
3824 ac_header_preproc
=no
3826 rm -f conftest.err conftest.
$ac_ext
3827 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
3828 echo "${ECHO_T}$ac_header_preproc" >&6
3830 # So? What about this header?
3831 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
3833 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
3834 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
3835 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
3836 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
3837 ac_header_preproc
=yes
3840 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
3841 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
3842 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
3843 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
3844 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
3845 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
3846 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
3847 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
3848 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
3849 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
3850 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
3851 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
3854 ## -------------------------------- ##
3855 ## Report this to classpath@gnu.org ##
3856 ## -------------------------------- ##
3859 sed "s/^/$as_me: WARNING: /" >&2
3862 echo "$as_me:$LINENO: checking for $ac_header" >&5
3863 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
3864 if eval "test \"\${$as_ac_Header+set}\" = set"; then
3865 echo $ECHO_N "(cached) $ECHO_C" >&6
3867 eval "$as_ac_Header=\$ac_header_preproc"
3869 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
3870 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
3873 if test `eval echo '${'$as_ac_Header'}'` = yes; then
3874 cat >>confdefs.h
<<_ACEOF
3875 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
3877 echo "$as_me:$LINENO: checking for snd_seq_open in -lasound" >&5
3878 echo $ECHO_N "checking for snd_seq_open in -lasound... $ECHO_C" >&6
3879 if test "${ac_cv_lib_asound_snd_seq_open+set}" = set; then
3880 echo $ECHO_N "(cached) $ECHO_C" >&6
3882 ac_check_lib_save_LIBS
=$LIBS
3883 LIBS
="-lasound $LIBS"
3884 cat >conftest.
$ac_ext <<_ACEOF
3887 cat confdefs.h
>>conftest.
$ac_ext
3888 cat >>conftest.
$ac_ext <<_ACEOF
3889 /* end confdefs.h. */
3891 /* Override any gcc2 internal prototype to avoid an error. */
3895 /* We use char because int might match the return type of a gcc2
3896 builtin and then its argument prototype would still apply. */
3897 char snd_seq_open ();
3906 rm -f conftest.
$ac_objext conftest
$ac_exeext
3907 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
3908 (eval $ac_link) 2>conftest.er1
3910 grep -v '^ *+' conftest.er1
>conftest.err
3912 cat conftest.err
>&5
3913 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3914 (exit $ac_status); } &&
3915 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
3916 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3919 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3920 (exit $ac_status); }; } &&
3921 { ac_try
='test -s conftest$ac_exeext'
3922 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3925 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3926 (exit $ac_status); }; }; then
3927 ac_cv_lib_asound_snd_seq_open
=yes
3929 echo "$as_me: failed program was:" >&5
3930 sed 's/^/| /' conftest.
$ac_ext >&5
3932 ac_cv_lib_asound_snd_seq_open
=no
3934 rm -f conftest.err conftest.
$ac_objext \
3935 conftest
$ac_exeext conftest.
$ac_ext
3936 LIBS
=$ac_check_lib_save_LIBS
3938 echo "$as_me:$LINENO: result: $ac_cv_lib_asound_snd_seq_open" >&5
3939 echo "${ECHO_T}$ac_cv_lib_asound_snd_seq_open" >&6
3940 if test $ac_cv_lib_asound_snd_seq_open = yes; then
3955 if test "x${COMPILE_ALSA}" = xyes
; then
3956 CREATE_ALSA_LIBRARIES_TRUE
=
3957 CREATE_ALSA_LIBRARIES_FALSE
='#'
3959 CREATE_ALSA_LIBRARIES_TRUE
='#'
3960 CREATE_ALSA_LIBRARIES_FALSE
=
3964 # Check whether --enable-dssi or --disable-dssi was given.
3965 if test "${enable_dssi+set}" = set; then
3966 enableval
="$enable_dssi"
3967 case "${enableval}" in
3968 yes) COMPILE_DSSI
=yes ;;
3969 no
) COMPILE_DSSI
=no
;;
3970 *) COMPILE_DSSI
=yes ;;
3974 for ac_header
in dssi.h
3976 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
3977 if eval "test \"\${$as_ac_Header+set}\" = set"; then
3978 echo "$as_me:$LINENO: checking for $ac_header" >&5
3979 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
3980 if eval "test \"\${$as_ac_Header+set}\" = set"; then
3981 echo $ECHO_N "(cached) $ECHO_C" >&6
3983 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
3984 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
3986 # Is the header compilable?
3987 echo "$as_me:$LINENO: checking $ac_header usability" >&5
3988 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
3989 cat >conftest.
$ac_ext <<_ACEOF
3992 cat confdefs.h
>>conftest.
$ac_ext
3993 cat >>conftest.
$ac_ext <<_ACEOF
3994 /* end confdefs.h. */
3995 $ac_includes_default
3996 #include <$ac_header>
3998 rm -f conftest.
$ac_objext
3999 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4000 (eval $ac_compile) 2>conftest.er1
4002 grep -v '^ *+' conftest.er1
>conftest.err
4004 cat conftest.err
>&5
4005 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4006 (exit $ac_status); } &&
4007 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
4008 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4011 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4012 (exit $ac_status); }; } &&
4013 { ac_try
='test -s conftest.$ac_objext'
4014 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4017 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4018 (exit $ac_status); }; }; then
4019 ac_header_compiler
=yes
4021 echo "$as_me: failed program was:" >&5
4022 sed 's/^/| /' conftest.
$ac_ext >&5
4024 ac_header_compiler
=no
4026 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
4027 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
4028 echo "${ECHO_T}$ac_header_compiler" >&6
4030 # Is the header present?
4031 echo "$as_me:$LINENO: checking $ac_header presence" >&5
4032 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
4033 cat >conftest.
$ac_ext <<_ACEOF
4036 cat confdefs.h
>>conftest.
$ac_ext
4037 cat >>conftest.
$ac_ext <<_ACEOF
4038 /* end confdefs.h. */
4039 #include <$ac_header>
4041 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
4042 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
4044 grep -v '^ *+' conftest.er1
>conftest.err
4046 cat conftest.err
>&5
4047 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4048 (exit $ac_status); } >/dev
/null
; then
4049 if test -s conftest.err
; then
4050 ac_cpp_err
=$ac_c_preproc_warn_flag
4051 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
4058 if test -z "$ac_cpp_err"; then
4059 ac_header_preproc
=yes
4061 echo "$as_me: failed program was:" >&5
4062 sed 's/^/| /' conftest.
$ac_ext >&5
4064 ac_header_preproc
=no
4066 rm -f conftest.err conftest.
$ac_ext
4067 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
4068 echo "${ECHO_T}$ac_header_preproc" >&6
4070 # So? What about this header?
4071 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
4073 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
4074 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
4075 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
4076 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
4077 ac_header_preproc
=yes
4080 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
4081 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
4082 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
4083 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
4084 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
4085 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
4086 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
4087 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
4088 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
4089 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
4090 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
4091 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
4094 ## -------------------------------- ##
4095 ## Report this to classpath@gnu.org ##
4096 ## -------------------------------- ##
4099 sed "s/^/$as_me: WARNING: /" >&2
4102 echo "$as_me:$LINENO: checking for $ac_header" >&5
4103 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
4104 if eval "test \"\${$as_ac_Header+set}\" = set"; then
4105 echo $ECHO_N "(cached) $ECHO_C" >&6
4107 eval "$as_ac_Header=\$ac_header_preproc"
4109 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
4110 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
4113 if test `eval echo '${'$as_ac_Header'}'` = yes; then
4114 cat >>confdefs.h
<<_ACEOF
4115 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
4127 if test "x${COMPILE_DSSI}" = xyes
; then
4128 CREATE_DSSI_LIBRARIES_TRUE
=
4129 CREATE_DSSI_LIBRARIES_FALSE
='#'
4131 CREATE_DSSI_LIBRARIES_TRUE
='#'
4132 CREATE_DSSI_LIBRARIES_FALSE
=
4136 # Check whether --enable-gtk-peer or --disable-gtk-peer was given.
4137 if test "${enable_gtk_peer+set}" = set; then
4138 enableval
="$enable_gtk_peer"
4139 case "${enableval}" in
4140 yes) COMPILE_GTK_PEER
=yes ;;
4141 no
) COMPILE_GTK_PEER
=no
;;
4142 *) COMPILE_GTK_PEER
=yes ;;
4145 COMPILE_GTK_PEER
=yes
4149 if test "x${COMPILE_GTK_PEER}" = xyes
; then
4150 CREATE_GTK_PEER_LIBRARIES_TRUE
=
4151 CREATE_GTK_PEER_LIBRARIES_FALSE
='#'
4153 CREATE_GTK_PEER_LIBRARIES_TRUE
='#'
4154 CREATE_GTK_PEER_LIBRARIES_FALSE
=
4158 # Check whether --enable-gtk-peers or --disable-gtk-peers was given.
4159 if test "${enable_gtk_peers+set}" = set; then
4160 enableval
="$enable_gtk_peers"
4161 { { echo "$as_me:$LINENO: error: No --enable-gtk-peers (or --disable-gtk-peers) option; you want --enable-gtk-peer" >&5
4162 echo "$as_me: error: No --enable-gtk-peers (or --disable-gtk-peers) option; you want --enable-gtk-peer" >&2;}
4163 { (exit 1); exit 1; }; }
4166 # Check whether --enable-gtk-cairo or --disable-gtk-cairo was given.
4167 if test "${enable_gtk_cairo+set}" = set; then
4168 enableval
="$enable_gtk_cairo"
4169 case "${enableval}" in
4170 yes) GTK_CAIRO_ENABLED
=true
;;
4171 no
) GTK_CAIRO_ENABLED
=false
;;
4172 *) GTK_CAIRO_ENABLED
=true
;;
4175 GTK_CAIRO_ENABLED
=false
4178 if test "x${GTK_CAIRO_ENABLED}" = xtrue
; then
4180 cat >>confdefs.h
<<\_ACEOF
4187 if test "x${GTK_CAIRO_ENABLED}" = xtrue
; then
4196 # Check whether --enable-qt-peer or --disable-qt-peer was given.
4197 if test "${enable_qt_peer+set}" = set; then
4198 enableval
="$enable_qt_peer"
4199 case "${enableval}" in
4200 yes) COMPILE_QT_PEER
=yes ;;
4201 no
) COMPILE_QT_PEER
=no
;;
4202 *) COMPILE_QT_PEER
=yes ;;
4209 if test "x${COMPILE_QT_PEER}" = xyes
; then
4210 CREATE_QT_PEER_LIBRARIES_TRUE
=
4211 CREATE_QT_PEER_LIBRARIES_FALSE
='#'
4213 CREATE_QT_PEER_LIBRARIES_TRUE
='#'
4214 CREATE_QT_PEER_LIBRARIES_FALSE
=
4220 # Check whether --with-native-libdir or --without-native-libdir was given.
4221 if test "${with_native_libdir+set}" = set; then
4222 withval
="$with_native_libdir"
4224 nativelibdir
=${withval}
4228 nativelibdir
='${libdir}/${PACKAGE}'
4235 # Check whether --with-glibj-dir or --without-glibj-dir was given.
4236 if test "${with_glibj_dir+set}" = set; then
4237 withval
="$with_glibj_dir"
4243 glibjdir
='${datadir}/${PACKAGE}'
4249 # Check whether --enable-regen-headers or --disable-regen-headers was given.
4250 if test "${enable_regen_headers+set}" = set; then
4251 enableval
="$enable_regen_headers"
4252 case "${enableval}" in
4253 yes) REGENERATE_JNI_HEADERS
=yes ;;
4254 no
) REGENERATE_JNI_HEADERS
=no
;;
4255 *) REGENERATE_JNI_HEADERS
=no
;;
4258 REGENERATE_JNI_HEADERS
=no
4262 if test "x${REGENERATE_JNI_HEADERS}" = xyes
; then
4263 CREATE_JNI_HEADERS_TRUE
=
4264 CREATE_JNI_HEADERS_FALSE
='#'
4266 CREATE_JNI_HEADERS_TRUE
='#'
4267 CREATE_JNI_HEADERS_FALSE
=
4271 echo "$as_me:$LINENO: checking whether ln -s works" >&5
4272 echo $ECHO_N "checking whether ln -s works... $ECHO_C" >&6
4274 if test "$LN_S" = "ln -s"; then
4275 echo "$as_me:$LINENO: result: yes" >&5
4276 echo "${ECHO_T}yes" >&6
4278 echo "$as_me:$LINENO: result: no, using $LN_S" >&5
4279 echo "${ECHO_T}no, using $LN_S" >&6
4282 # Find a good install program. We prefer a C program (faster),
4283 # so one script is as good as another. But avoid the broken or
4284 # incompatible versions:
4285 # SysV /etc/install, /usr/sbin/install
4286 # SunOS /usr/etc/install
4287 # IRIX /sbin/install
4289 # AmigaOS /C/install, which installs bootblocks on floppy discs
4290 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
4291 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
4292 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
4293 # OS/2's system install, which has a completely different semantic
4294 # ./install, which can be erroneously created by make from ./install.sh.
4295 echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
4296 echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6
4297 if test -z "$INSTALL"; then
4298 if test "${ac_cv_path_install+set}" = set; then
4299 echo $ECHO_N "(cached) $ECHO_C" >&6
4301 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4305 test -z "$as_dir" && as_dir
=.
4306 # Account for people who put trailing slashes in PATH elements.
4308 .
/ | .
// |
/cC
/* | \
4309 /etc
/* |
/usr
/sbin
/* |
/usr
/etc
/* |
/sbin
/* |
/usr
/afsws
/bin
/* | \
4310 ?
:\\/os2
\\/install\\/* | ?
:\\/OS2
\\/INSTALL
\\/* | \
4313 # OSF1 and SCO ODT 3.0 have their own names for install.
4314 # Don't use installbsd from OSF since it installs stuff as root
4316 for ac_prog
in ginstall scoinst
install; do
4317 for ac_exec_ext
in '' $ac_executable_extensions; do
4318 if $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
4319 if test $ac_prog = install &&
4320 grep dspmsg
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
4321 # AIX install. It has an incompatible calling convention.
4323 elif test $ac_prog = install &&
4324 grep pwplus
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
4325 # program-specific install script used by HP pwplus--don't use.
4328 ac_cv_path_install
="$as_dir/$ac_prog$ac_exec_ext -c"
4340 if test "${ac_cv_path_install+set}" = set; then
4341 INSTALL
=$ac_cv_path_install
4343 # As a last resort, use the slow shell script. We don't cache a
4344 # path for INSTALL within a source directory, because that will
4345 # break other packages using the cache if that directory is
4346 # removed, or if the path is relative.
4347 INSTALL
=$ac_install_sh
4350 echo "$as_me:$LINENO: result: $INSTALL" >&5
4351 echo "${ECHO_T}$INSTALL" >&6
4353 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
4354 # It thinks the first close brace ends the variable substitution.
4355 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM
='${INSTALL}'
4357 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT
='${INSTALL}'
4359 test -z "$INSTALL_DATA" && INSTALL_DATA
='${INSTALL} -m 644'
4365 # Check whether --enable-static or --disable-static was given.
4366 if test "${enable_static+set}" = set; then
4367 enableval
="$enable_static"
4368 p
=${PACKAGE-default}
4370 yes) enable_static
=yes ;;
4371 no
) enable_static
=no
;;
4374 # Look at the argument we got. We use all the common list separators.
4375 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
="${IFS}:,"
4376 for pkg
in $enableval; do
4377 if test "X$pkg" = "X$p"; then
4387 # Check whether --enable-shared or --disable-shared was given.
4388 if test "${enable_shared+set}" = set; then
4389 enableval
="$enable_shared"
4390 p
=${PACKAGE-default}
4392 yes) enable_shared
=yes ;;
4393 no
) enable_shared
=no
;;
4396 # Look at the argument we got. We use all the common list separators.
4397 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
="${IFS}:,"
4398 for pkg
in $enableval; do
4399 if test "X$pkg" = "X$p"; then
4409 # Check whether --enable-fast-install or --disable-fast-install was given.
4410 if test "${enable_fast_install+set}" = set; then
4411 enableval
="$enable_fast_install"
4412 p
=${PACKAGE-default}
4414 yes) enable_fast_install
=yes ;;
4415 no
) enable_fast_install
=no
;;
4417 enable_fast_install
=no
4418 # Look at the argument we got. We use all the common list separators.
4419 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
="${IFS}:,"
4420 for pkg
in $enableval; do
4421 if test "X$pkg" = "X$p"; then
4422 enable_fast_install
=yes
4429 enable_fast_install
=yes
4432 # Check whether --with-gnu-ld or --without-gnu-ld was given.
4433 if test "${with_gnu_ld+set}" = set; then
4434 withval
="$with_gnu_ld"
4435 test "$withval" = no || with_gnu_ld
=yes
4440 if test "$GCC" = yes; then
4441 # Check if gcc -print-prog-name=ld gives a path.
4442 echo "$as_me:$LINENO: checking for ld used by GCC" >&5
4443 echo $ECHO_N "checking for ld used by GCC... $ECHO_C" >&6
4446 # gcc leaves a trailing carriage return which upsets mingw
4447 ac_prog
=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
4449 ac_prog
=`($CC -print-prog-name=ld) 2>&5` ;;
4452 # Accept absolute paths.
4453 [\\/]* |
[A-Za-z
]:[\\/]*)
4454 re_direlt
='/[^/][^/]*/\.\./'
4455 # Canonicalize the path of ld
4456 ac_prog
=`echo $ac_prog| sed 's%\\\\%/%g'`
4457 while echo $ac_prog |
grep "$re_direlt" > /dev
/null
2>&1; do
4458 ac_prog
=`echo $ac_prog| sed "s%$re_direlt%/%"`
4460 test -z "$LD" && LD
="$ac_prog"
4463 # If it fails, then pretend we aren't using GCC.
4467 # If it is relative, then search for the first ld in PATH.
4471 elif test "$with_gnu_ld" = yes; then
4472 echo "$as_me:$LINENO: checking for GNU ld" >&5
4473 echo $ECHO_N "checking for GNU ld... $ECHO_C" >&6
4475 echo "$as_me:$LINENO: checking for non-GNU ld" >&5
4476 echo $ECHO_N "checking for non-GNU ld... $ECHO_C" >&6
4478 if test "${lt_cv_path_LD+set}" = set; then
4479 echo $ECHO_N "(cached) $ECHO_C" >&6
4481 if test -z "$LD"; then
4482 IFS
="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}${PATH_SEPARATOR-:}"
4483 for ac_dir
in $PATH; do
4484 test -z "$ac_dir" && ac_dir
=.
4485 if test -f "$ac_dir/$ac_prog" ||
test -f "$ac_dir/$ac_prog$ac_exeext"; then
4486 lt_cv_path_LD
="$ac_dir/$ac_prog"
4487 # Check to see if the program is GNU ld. I'd rather use --version,
4488 # but apparently some GNU ld's only accept -v.
4489 # Break only if it was the GNU/non-GNU ld that we prefer.
4490 if "$lt_cv_path_LD" -v 2>&1 < /dev
/null |
egrep '(GNU|with BFD)' > /dev
/null
; then
4491 test "$with_gnu_ld" != no
&& break
4493 test "$with_gnu_ld" != yes && break
4499 lt_cv_path_LD
="$LD" # Let the user override the test with a path.
4504 if test -n "$LD"; then
4505 echo "$as_me:$LINENO: result: $LD" >&5
4506 echo "${ECHO_T}$LD" >&6
4508 echo "$as_me:$LINENO: result: no" >&5
4509 echo "${ECHO_T}no" >&6
4511 test -z "$LD" && { { echo "$as_me:$LINENO: error: no acceptable ld found in \$PATH" >&5
4512 echo "$as_me: error: no acceptable ld found in \$PATH" >&2;}
4513 { (exit 1); exit 1; }; }
4514 echo "$as_me:$LINENO: checking if the linker ($LD) is GNU ld" >&5
4515 echo $ECHO_N "checking if the linker ($LD) is GNU ld... $ECHO_C" >&6
4516 if test "${lt_cv_prog_gnu_ld+set}" = set; then
4517 echo $ECHO_N "(cached) $ECHO_C" >&6
4519 # I'd rather use --version here, but apparently some GNU ld's only accept -v.
4520 if $LD -v 2>&1 </dev
/null |
egrep '(GNU|with BFD)' 1>&5; then
4521 lt_cv_prog_gnu_ld
=yes
4523 lt_cv_prog_gnu_ld
=no
4526 echo "$as_me:$LINENO: result: $lt_cv_prog_gnu_ld" >&5
4527 echo "${ECHO_T}$lt_cv_prog_gnu_ld" >&6
4528 with_gnu_ld
=$lt_cv_prog_gnu_ld
4531 echo "$as_me:$LINENO: checking for $LD option to reload object files" >&5
4532 echo $ECHO_N "checking for $LD option to reload object files... $ECHO_C" >&6
4533 if test "${lt_cv_ld_reload_flag+set}" = set; then
4534 echo $ECHO_N "(cached) $ECHO_C" >&6
4536 lt_cv_ld_reload_flag
='-r'
4538 echo "$as_me:$LINENO: result: $lt_cv_ld_reload_flag" >&5
4539 echo "${ECHO_T}$lt_cv_ld_reload_flag" >&6
4540 reload_flag
=$lt_cv_ld_reload_flag
4541 test -n "$reload_flag" && reload_flag
=" $reload_flag"
4543 echo "$as_me:$LINENO: checking for BSD-compatible nm" >&5
4544 echo $ECHO_N "checking for BSD-compatible nm... $ECHO_C" >&6
4545 if test "${lt_cv_path_NM+set}" = set; then
4546 echo $ECHO_N "(cached) $ECHO_C" >&6
4548 if test -n "$NM"; then
4549 # Let the user override the test.
4552 IFS
="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}${PATH_SEPARATOR-:}"
4553 for ac_dir
in $PATH /usr
/ccs
/bin
/usr
/ucb
/bin
; do
4554 test -z "$ac_dir" && ac_dir
=.
4555 tmp_nm
=$ac_dir/${ac_tool_prefix}nm
4556 if test -f $tmp_nm ||
test -f $tmp_nm$ac_exeext ; then
4557 # Check to see if the nm accepts a BSD-compat flag.
4558 # Adding the `sed 1q' prevents false positives on HP-UX, which says:
4559 # nm: unknown option "B" ignored
4560 # Tru64's nm complains that /dev/null is an invalid object file
4561 if ($tmp_nm -B /dev
/null
2>&1 |
sed '1q'; exit 0) |
egrep '(/dev/null|Invalid file or object type)' >/dev
/null
; then
4562 lt_cv_path_NM
="$tmp_nm -B"
4564 elif ($tmp_nm -p /dev
/null
2>&1 |
sed '1q'; exit 0) |
egrep /dev
/null
>/dev
/null
; then
4565 lt_cv_path_NM
="$tmp_nm -p"
4568 lt_cv_path_NM
=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but
4569 continue # so that we can try to find one that supports BSD flags
4574 test -z "$lt_cv_path_NM" && lt_cv_path_NM
=nm
4579 echo "$as_me:$LINENO: result: $NM" >&5
4580 echo "${ECHO_T}$NM" >&6
4582 echo "$as_me:$LINENO: checking how to recognise dependant libraries" >&5
4583 echo $ECHO_N "checking how to recognise dependant libraries... $ECHO_C" >&6
4584 if test "${lt_cv_deplibs_check_method+set}" = set; then
4585 echo $ECHO_N "(cached) $ECHO_C" >&6
4587 lt_cv_file_magic_cmd
='$MAGIC_CMD'
4588 lt_cv_file_magic_test_file
=
4589 lt_cv_deplibs_check_method
='unknown'
4590 # Need to set the preceding variable on all platforms that support
4591 # interlibrary dependencies.
4592 # 'none' -- dependencies not supported.
4593 # `unknown' -- same as none, but documents that we really don't know.
4594 # 'pass_all' -- all dependencies passed with no checks.
4595 # 'test_compile' -- check by making test program.
4596 # 'file_magic [regex]' -- check by looking for files in library path
4597 # which responds to the $file_magic_cmd with a given egrep regex.
4598 # If you have `file' or equivalent on your system and you're not sure
4599 # whether `pass_all' will *always* work, you probably want this one.
4603 lt_cv_deplibs_check_method
=pass_all
4607 lt_cv_deplibs_check_method
=pass_all
4611 lt_cv_deplibs_check_method
='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib)'
4612 lt_cv_file_magic_cmd
='/usr/bin/file -L'
4613 lt_cv_file_magic_test_file
=/shlib
/libc.so
4616 cygwin
* | mingw
* |pw32
*)
4617 lt_cv_deplibs_check_method
='file_magic file format pei*-i386(.*architecture: i386)?'
4618 lt_cv_file_magic_cmd
='$OBJDUMP -f'
4621 darwin
* | rhapsody
*)
4622 # this will be overwritten by pass_all, but leave it in just in case
4623 lt_cv_deplibs_check_method
='file_magic Mach-O dynamically linked shared library'
4624 lt_cv_file_magic_cmd
='/usr/bin/file -L'
4626 rhapsody
* | darwin1.012
)
4627 lt_cv_file_magic_test_file
='/System/Library/Frameworks/System.framework/System'
4630 lt_cv_file_magic_test_file
='/usr/lib/libSystem.dylib'
4633 lt_cv_deplibs_check_method
=pass_all
4636 freebsd
* | kfreebsd
*-gnu)
4637 if echo __ELF__ |
$CC -E - |
grep __ELF__
> /dev
/null
; then
4640 # Not sure whether the presence of OpenBSD here was a mistake.
4641 # Let's accept both of them until this is cleared up.
4642 lt_cv_deplibs_check_method
='file_magic (FreeBSD|OpenBSD)/i[3-9]86 (compact )?demand paged shared library'
4643 lt_cv_file_magic_cmd
=/usr
/bin
/file
4644 lt_cv_file_magic_test_file
=`echo /usr/lib/libc.so.*`
4648 lt_cv_deplibs_check_method
=pass_all
4653 lt_cv_deplibs_check_method
=pass_all
4659 lt_cv_deplibs_check_method
='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9].[0-9]) shared library'
4660 lt_cv_file_magic_cmd
=/usr
/bin
/file
4661 lt_cv_file_magic_test_file
=/usr
/lib
/libc.sl
4664 lt_cv_deplibs_check_method
='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - IA64'
4665 lt_cv_file_magic_cmd
=/usr
/bin
/file
4666 lt_cv_file_magic_test_file
=/usr
/lib
/hpux32
/libc.so
4674 # this will be overridden with pass_all, but let us keep it just in case
4675 lt_cv_deplibs_check_method
="file_magic ELF 32-bit MSB dynamic lib MIPS - version 1"
4679 *-32|
*"-32 ") libmagic
=32-bit;;
4680 *-n32|
*"-n32 ") libmagic
=N32
;;
4681 *-64|
*"-64 ") libmagic
=64-bit;;
4682 *) libmagic
=never-match
;;
4684 # this will be overridden with pass_all, but let us keep it just in case
4685 lt_cv_deplibs_check_method
="file_magic ELF ${libmagic} MSB mips-[1234] dynamic lib MIPS - version 1"
4688 lt_cv_file_magic_test_file
=`echo /lib${libsuff}/libc.so*`
4689 lt_cv_deplibs_check_method
=pass_all
4692 # This must be Linux ELF.
4694 lt_cv_deplibs_check_method
=pass_all
4697 netbsd
* | knetbsd
*-gnu)
4698 if echo __ELF__ |
$CC -E - |
grep __ELF__
> /dev
/null
; then
4699 lt_cv_deplibs_check_method
='match_pattern /lib[^/\.]+\.so\.[0-9]+\.[0-9]+$'
4701 lt_cv_deplibs_check_method
='match_pattern /lib[^/\.]+\.so$'
4706 lt_cv_deplibs_check_method
='file_magic ELF [0-9][0-9]*-bit [ML]SB (executable|dynamic lib)'
4707 lt_cv_file_magic_cmd
=/usr
/bin
/file
4708 lt_cv_file_magic_test_file
=/usr
/lib
/libnls.so
4711 osf3
* | osf4
* | osf5
*)
4712 # this will be overridden with pass_all, but let us keep it just in case
4713 lt_cv_deplibs_check_method
='file_magic COFF format alpha shared library'
4714 lt_cv_file_magic_test_file
=/shlib
/libc.so
4715 lt_cv_deplibs_check_method
=pass_all
4719 lt_cv_deplibs_check_method
=pass_all
4723 lt_cv_deplibs_check_method
=pass_all
4724 lt_cv_file_magic_test_file
=/lib
/libc.so
4727 sysv5uw
[78]* | sysv4
*uw2
*)
4728 lt_cv_deplibs_check_method
=pass_all
4731 sysv4 | sysv4.2uw2
* | sysv4.3
* | sysv5
*)
4732 case $host_vendor in
4734 lt_cv_deplibs_check_method
=pass_all
4737 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]'
4738 lt_cv_file_magic_test_file
=`echo /usr/lib/libc.so*`
4745 echo "$as_me:$LINENO: result: $lt_cv_deplibs_check_method" >&5
4746 echo "${ECHO_T}$lt_cv_deplibs_check_method" >&6
4747 file_magic_cmd
=$lt_cv_file_magic_cmd
4748 deplibs_check_method
=$lt_cv_deplibs_check_method
4753 # Autoconf 2.13's AC_OBJEXT and AC_EXEEXT macros only works for C compilers!
4755 # find the maximum length of command line arguments
4756 echo "$as_me:$LINENO: checking the maximum length of command line arguments" >&5
4757 echo $ECHO_N "checking the maximum length of command line arguments... $ECHO_C" >&6
4758 if test "${lt_cv_sys_max_cmd_len+set}" = set; then
4759 echo $ECHO_N "(cached) $ECHO_C" >&6
4766 # On DJGPP, this test can blow up pretty badly due to problems in libc
4767 # (any single argument exceeding 2000 bytes causes a buffer overrun
4768 # during glob expansion). Even if it were fixed, the result of this
4769 # check would be larger than it should be.
4770 lt_cv_sys_max_cmd_len
=12288; # 12K is about right
4774 # On Win9x/ME, this test blows up -- it succeeds, but takes
4775 # about 5 minutes as the teststring grows exponentially.
4776 # Worse, since 9x/ME are not pre-emptively multitasking,
4777 # you end up with a "frozen" computer, even though with patience
4778 # the test eventually succeeds (with a max line length of 256k).
4779 # Instead, let's just punt: use the minimum linelength reported by
4780 # all of the supported platforms: 8192 (on NT/2K/XP).
4781 lt_cv_sys_max_cmd_len
=8192;
4785 # On AmigaOS with pdksh, this test takes hours, literally.
4786 # So we just punt and use a minimum line length of 8192.
4787 lt_cv_sys_max_cmd_len
=8192;
4790 netbsd
* | freebsd
* | openbsd
* | darwin
* | dragonfly
*)
4791 # This has been around since 386BSD, at least. Likely further.
4792 if test -x /sbin
/sysctl
; then
4793 lt_cv_sys_max_cmd_len
=`/sbin/sysctl -n kern.argmax`
4794 elif test -x /usr
/sbin
/sysctl
; then
4795 lt_cv_sys_max_cmd_len
=`/usr/sbin/sysctl -n kern.argmax`
4797 lt_cv_sys_max_cmd_len
=65536 # usable default for *BSD
4799 # And add a safety zone
4800 lt_cv_sys_max_cmd_len
=`expr $lt_cv_sys_max_cmd_len \/ 4`
4801 lt_cv_sys_max_cmd_len
=`expr $lt_cv_sys_max_cmd_len \* 3`
4807 if test -n "$lt_cv_sys_max_cmd_len" ; then
4808 echo "$as_me:$LINENO: result: $lt_cv_sys_max_cmd_len" >&5
4809 echo "${ECHO_T}$lt_cv_sys_max_cmd_len" >&6
4811 echo "$as_me:$LINENO: result: none" >&5
4812 echo "${ECHO_T}none" >&6
4816 # Only perform the check for file, if the check method requires it
4817 case $deplibs_check_method in
4819 if test "$file_magic_cmd" = '$MAGIC_CMD'; then
4820 echo "$as_me:$LINENO: checking for ${ac_tool_prefix}file" >&5
4821 echo $ECHO_N "checking for ${ac_tool_prefix}file... $ECHO_C" >&6
4822 if test "${lt_cv_path_MAGIC_CMD+set}" = set; then
4823 echo $ECHO_N "(cached) $ECHO_C" >&6
4827 lt_cv_path_MAGIC_CMD
="$MAGIC_CMD" # Let the user override the test with a path.
4830 lt_cv_path_MAGIC_CMD
="$MAGIC_CMD" # Let the user override the test with a dos path.
4833 ac_save_MAGIC_CMD
="$MAGIC_CMD"
4834 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
=":"
4835 ac_dummy
="/usr/bin:$PATH"
4836 for ac_dir
in $ac_dummy; do
4837 test -z "$ac_dir" && ac_dir
=.
4838 if test -f $ac_dir/${ac_tool_prefix}file; then
4839 lt_cv_path_MAGIC_CMD
="$ac_dir/${ac_tool_prefix}file"
4840 if test -n "$file_magic_test_file"; then
4841 case $deplibs_check_method in
4843 file_magic_regex
="`expr \"$deplibs_check_method\" : \"file_magic \(.*\)\"`"
4844 MAGIC_CMD
="$lt_cv_path_MAGIC_CMD"
4845 if eval $file_magic_cmd \
$file_magic_test_file 2> /dev
/null |
4846 egrep "$file_magic_regex" > /dev
/null
; then
4851 *** Warning: the command libtool uses to detect shared libraries,
4852 *** $file_magic_cmd, produces output that libtool cannot recognize.
4853 *** The result is that libtool may fail to recognize shared libraries
4854 *** as such. This will affect the creation of libtool libraries that
4855 *** depend on shared libraries, but programs linked with such libtool
4856 *** libraries will work regardless of this problem. Nevertheless, you
4857 *** may want to report the problem to your system manager and/or to
4858 *** bug-libtool@gnu.org
4868 MAGIC_CMD
="$ac_save_MAGIC_CMD"
4873 MAGIC_CMD
="$lt_cv_path_MAGIC_CMD"
4874 if test -n "$MAGIC_CMD"; then
4875 echo "$as_me:$LINENO: result: $MAGIC_CMD" >&5
4876 echo "${ECHO_T}$MAGIC_CMD" >&6
4878 echo "$as_me:$LINENO: result: no" >&5
4879 echo "${ECHO_T}no" >&6
4882 if test -z "$lt_cv_path_MAGIC_CMD"; then
4883 if test -n "$ac_tool_prefix"; then
4884 echo "$as_me:$LINENO: checking for file" >&5
4885 echo $ECHO_N "checking for file... $ECHO_C" >&6
4886 if test "${lt_cv_path_MAGIC_CMD+set}" = set; then
4887 echo $ECHO_N "(cached) $ECHO_C" >&6
4891 lt_cv_path_MAGIC_CMD
="$MAGIC_CMD" # Let the user override the test with a path.
4894 lt_cv_path_MAGIC_CMD
="$MAGIC_CMD" # Let the user override the test with a dos path.
4897 ac_save_MAGIC_CMD
="$MAGIC_CMD"
4898 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
=":"
4899 ac_dummy
="/usr/bin:$PATH"
4900 for ac_dir
in $ac_dummy; do
4901 test -z "$ac_dir" && ac_dir
=.
4902 if test -f $ac_dir/file; then
4903 lt_cv_path_MAGIC_CMD
="$ac_dir/file"
4904 if test -n "$file_magic_test_file"; then
4905 case $deplibs_check_method in
4907 file_magic_regex
="`expr \"$deplibs_check_method\" : \"file_magic \(.*\)\"`"
4908 MAGIC_CMD
="$lt_cv_path_MAGIC_CMD"
4909 if eval $file_magic_cmd \
$file_magic_test_file 2> /dev
/null |
4910 egrep "$file_magic_regex" > /dev
/null
; then
4915 *** Warning: the command libtool uses to detect shared libraries,
4916 *** $file_magic_cmd, produces output that libtool cannot recognize.
4917 *** The result is that libtool may fail to recognize shared libraries
4918 *** as such. This will affect the creation of libtool libraries that
4919 *** depend on shared libraries, but programs linked with such libtool
4920 *** libraries will work regardless of this problem. Nevertheless, you
4921 *** may want to report the problem to your system manager and/or to
4922 *** bug-libtool@gnu.org
4932 MAGIC_CMD
="$ac_save_MAGIC_CMD"
4937 MAGIC_CMD
="$lt_cv_path_MAGIC_CMD"
4938 if test -n "$MAGIC_CMD"; then
4939 echo "$as_me:$LINENO: result: $MAGIC_CMD" >&5
4940 echo "${ECHO_T}$MAGIC_CMD" >&6
4942 echo "$as_me:$LINENO: result: no" >&5
4943 echo "${ECHO_T}no" >&6
4955 if test -n "$ac_tool_prefix"; then
4956 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
4957 set dummy
${ac_tool_prefix}ranlib
; ac_word
=$2
4958 echo "$as_me:$LINENO: checking for $ac_word" >&5
4959 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
4960 if test "${ac_cv_prog_RANLIB+set}" = set; then
4961 echo $ECHO_N "(cached) $ECHO_C" >&6
4963 if test -n "$RANLIB"; then
4964 ac_cv_prog_RANLIB
="$RANLIB" # Let the user override the test.
4966 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4970 test -z "$as_dir" && as_dir
=.
4971 for ac_exec_ext
in '' $ac_executable_extensions; do
4972 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4973 ac_cv_prog_RANLIB
="${ac_tool_prefix}ranlib"
4974 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4982 RANLIB
=$ac_cv_prog_RANLIB
4983 if test -n "$RANLIB"; then
4984 echo "$as_me:$LINENO: result: $RANLIB" >&5
4985 echo "${ECHO_T}$RANLIB" >&6
4987 echo "$as_me:$LINENO: result: no" >&5
4988 echo "${ECHO_T}no" >&6
4992 if test -z "$ac_cv_prog_RANLIB"; then
4993 ac_ct_RANLIB
=$RANLIB
4994 # Extract the first word of "ranlib", so it can be a program name with args.
4995 set dummy ranlib
; ac_word
=$2
4996 echo "$as_me:$LINENO: checking for $ac_word" >&5
4997 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
4998 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
4999 echo $ECHO_N "(cached) $ECHO_C" >&6
5001 if test -n "$ac_ct_RANLIB"; then
5002 ac_cv_prog_ac_ct_RANLIB
="$ac_ct_RANLIB" # Let the user override the test.
5004 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5008 test -z "$as_dir" && as_dir
=.
5009 for ac_exec_ext
in '' $ac_executable_extensions; do
5010 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5011 ac_cv_prog_ac_ct_RANLIB
="ranlib"
5012 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5018 test -z "$ac_cv_prog_ac_ct_RANLIB" && ac_cv_prog_ac_ct_RANLIB
=":"
5021 ac_ct_RANLIB
=$ac_cv_prog_ac_ct_RANLIB
5022 if test -n "$ac_ct_RANLIB"; then
5023 echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
5024 echo "${ECHO_T}$ac_ct_RANLIB" >&6
5026 echo "$as_me:$LINENO: result: no" >&5
5027 echo "${ECHO_T}no" >&6
5030 RANLIB
=$ac_ct_RANLIB
5032 RANLIB
="$ac_cv_prog_RANLIB"
5035 if test -n "$ac_tool_prefix"; then
5036 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
5037 set dummy
${ac_tool_prefix}strip
; ac_word
=$2
5038 echo "$as_me:$LINENO: checking for $ac_word" >&5
5039 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
5040 if test "${ac_cv_prog_STRIP+set}" = set; then
5041 echo $ECHO_N "(cached) $ECHO_C" >&6
5043 if test -n "$STRIP"; then
5044 ac_cv_prog_STRIP
="$STRIP" # Let the user override the test.
5046 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5050 test -z "$as_dir" && as_dir
=.
5051 for ac_exec_ext
in '' $ac_executable_extensions; do
5052 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5053 ac_cv_prog_STRIP
="${ac_tool_prefix}strip"
5054 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5062 STRIP
=$ac_cv_prog_STRIP
5063 if test -n "$STRIP"; then
5064 echo "$as_me:$LINENO: result: $STRIP" >&5
5065 echo "${ECHO_T}$STRIP" >&6
5067 echo "$as_me:$LINENO: result: no" >&5
5068 echo "${ECHO_T}no" >&6
5072 if test -z "$ac_cv_prog_STRIP"; then
5074 # Extract the first word of "strip", so it can be a program name with args.
5075 set dummy strip
; ac_word
=$2
5076 echo "$as_me:$LINENO: checking for $ac_word" >&5
5077 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
5078 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
5079 echo $ECHO_N "(cached) $ECHO_C" >&6
5081 if test -n "$ac_ct_STRIP"; then
5082 ac_cv_prog_ac_ct_STRIP
="$ac_ct_STRIP" # Let the user override the test.
5084 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5088 test -z "$as_dir" && as_dir
=.
5089 for ac_exec_ext
in '' $ac_executable_extensions; do
5090 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5091 ac_cv_prog_ac_ct_STRIP
="strip"
5092 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5098 test -z "$ac_cv_prog_ac_ct_STRIP" && ac_cv_prog_ac_ct_STRIP
=":"
5101 ac_ct_STRIP
=$ac_cv_prog_ac_ct_STRIP
5102 if test -n "$ac_ct_STRIP"; then
5103 echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
5104 echo "${ECHO_T}$ac_ct_STRIP" >&6
5106 echo "$as_me:$LINENO: result: no" >&5
5107 echo "${ECHO_T}no" >&6
5112 STRIP
="$ac_cv_prog_STRIP"
5116 # Check for any special flags to pass to ltconfig.
5117 libtool_flags
="--cache-file=$cache_file"
5118 test "$enable_shared" = no
&& libtool_flags
="$libtool_flags --disable-shared"
5119 test "$enable_static" = no
&& libtool_flags
="$libtool_flags --disable-static"
5120 test "$enable_fast_install" = no
&& libtool_flags
="$libtool_flags --disable-fast-install"
5121 test "$GCC" = yes && libtool_flags
="$libtool_flags --with-gcc"
5122 test "$lt_cv_prog_gnu_ld" = yes && libtool_flags
="$libtool_flags --with-gnu-ld"
5125 # Check whether --enable-libtool-lock or --disable-libtool-lock was given.
5126 if test "${enable_libtool_lock+set}" = set; then
5127 enableval
="$enable_libtool_lock"
5130 test "x$enable_libtool_lock" = xno
&& libtool_flags
="$libtool_flags --disable-lock"
5131 test x
"$silent" = xyes
&& libtool_flags
="$libtool_flags --silent"
5134 # Check whether --with-pic or --without-pic was given.
5135 if test "${with_pic+set}" = set; then
5141 test x
"$pic_mode" = xyes
&& libtool_flags
="$libtool_flags --prefer-pic"
5142 test x
"$pic_mode" = xno
&& libtool_flags
="$libtool_flags --prefer-non-pic"
5144 # Some flags need to be propagated to the compiler or linker for good
5148 # Find out which ABI we are using.
5149 echo '#line 5149 "configure"' > conftest.
$ac_ext
5150 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5151 (eval $ac_compile) 2>&5
5153 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5154 (exit $ac_status); }; then
5155 if test "$lt_cv_prog_gnu_ld" = yes; then
5156 case `/usr/bin/file conftest.$ac_objext` in
5158 LD
="${LD-ld} -melf32bsmip"
5161 LD
="${LD-ld} -melf32bmipn32"
5164 LD
="${LD-ld} -melf64bmip"
5168 case `/usr/bin/file conftest.$ac_objext` in
5185 # Find out which ABI we are using.
5186 echo 'int i;' > conftest.
$ac_ext
5187 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5188 (eval $ac_compile) 2>&5
5190 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5191 (exit $ac_status); }; then
5192 case "`/usr/bin/file conftest.o`" in
5204 x86_64-
*linux
*|ppc
*-*linux
*|powerpc
*-*linux
*|s390
*-*linux
*|sparc
*-*linux
*)
5205 # Find out which ABI we are using.
5206 echo 'int i;' > conftest.
$ac_ext
5207 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5208 (eval $ac_compile) 2>&5
5210 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5211 (exit $ac_status); }; then
5212 case "`/usr/bin/file conftest.o`" in
5216 LD
="${LD-ld} -m elf_i386"
5218 ppc64-
*linux
*|powerpc64-
*linux
*)
5219 LD
="${LD-ld} -m elf32ppclinux"
5222 LD
="${LD-ld} -m elf_s390"
5225 LD
="${LD-ld} -m elf32_sparc"
5232 LD
="${LD-ld} -m elf_x86_64"
5234 ppc
*-*linux
*|powerpc
*-*linux
*)
5235 LD
="${LD-ld} -m elf64ppc"
5238 LD
="${LD-ld} -m elf64_s390"
5241 LD
="${LD-ld} -m elf64_sparc"
5251 # On SCO OpenServer 5, we need -belf to get full-featured binaries.
5252 SAVE_CFLAGS
="$CFLAGS"
5253 CFLAGS
="$CFLAGS -belf"
5254 echo "$as_me:$LINENO: checking whether the C compiler needs -belf" >&5
5255 echo $ECHO_N "checking whether the C compiler needs -belf... $ECHO_C" >&6
5256 if test "${lt_cv_cc_needs_belf+set}" = set; then
5257 echo $ECHO_N "(cached) $ECHO_C" >&6
5262 ac_cpp
='$CPP $CPPFLAGS'
5263 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5264 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5265 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
5267 cat >conftest.
$ac_ext <<_ACEOF
5270 cat confdefs.h
>>conftest.
$ac_ext
5271 cat >>conftest.
$ac_ext <<_ACEOF
5272 /* end confdefs.h. */
5282 rm -f conftest.
$ac_objext conftest
$ac_exeext
5283 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
5284 (eval $ac_link) 2>conftest.er1
5286 grep -v '^ *+' conftest.er1
>conftest.err
5288 cat conftest.err
>&5
5289 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5290 (exit $ac_status); } &&
5291 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
5292 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5295 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5296 (exit $ac_status); }; } &&
5297 { ac_try
='test -s conftest$ac_exeext'
5298 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5301 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5302 (exit $ac_status); }; }; then
5303 lt_cv_cc_needs_belf
=yes
5305 echo "$as_me: failed program was:" >&5
5306 sed 's/^/| /' conftest.
$ac_ext >&5
5308 lt_cv_cc_needs_belf
=no
5310 rm -f conftest.err conftest.
$ac_objext \
5311 conftest
$ac_exeext conftest.
$ac_ext
5313 ac_cpp
='$CPP $CPPFLAGS'
5314 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5315 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5316 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
5319 echo "$as_me:$LINENO: result: $lt_cv_cc_needs_belf" >&5
5320 echo "${ECHO_T}$lt_cv_cc_needs_belf" >&6
5321 if test x
"$lt_cv_cc_needs_belf" != x
"yes"; then
5322 # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
5323 CFLAGS
="$SAVE_CFLAGS"
5331 # Save cache, so that ltconfig can load it
5332 cat >confcache
<<\_ACEOF
5333 # This file is a shell script that caches the results of configure
5334 # tests run on this system so they can be shared between configure
5335 # scripts and configure runs, see configure's option --config-cache.
5336 # It is not useful on other systems. If it contains results you don't
5337 # want to keep, you may remove or edit it.
5339 # config.status only pays attention to the cache file if you give it
5340 # the --recheck option to rerun configure.
5342 # `ac_cv_env_foo' variables (set or unset) will be overridden when
5343 # loading this file, other *unset* `ac_cv_foo' will be assigned the
5348 # The following way of writing the cache mishandles newlines in values,
5349 # but we know of no workaround that is simple, portable, and efficient.
5350 # So, don't put newlines in cache variables' values.
5351 # Ultrix sh set writes to stderr and can't be redirected directly,
5352 # and sets the high bit in the cache file unless we assign to the vars.
5355 case `(ac_space=' '; set | grep ac_space) 2>&1` in
5357 # `set' does not quote correctly, so add quotes (double-quote
5358 # substitution turns \\\\ into \\, and sed turns \\ into \).
5361 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
5364 # `set' quotes correctly as required by POSIX, so do not add quotes.
5366 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
5373 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
5375 /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
5377 if diff $cache_file confcache
>/dev
/null
2>&1; then :; else
5378 if test -w $cache_file; then
5379 test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
5380 cat confcache
>$cache_file
5382 echo "not updating unwritable cache $cache_file"
5387 # Actually configure libtool. ac_aux_dir is where install-sh is found.
5388 AR
="$AR" LTCC
="$CC" CC
="$CC" CFLAGS
="$CFLAGS" CPPFLAGS
="$CPPFLAGS" \
5389 MAGIC_CMD
="$MAGIC_CMD" LD
="$LD" LDFLAGS
="$LDFLAGS" LIBS
="$LIBS" \
5390 LN_S
="$LN_S" NM
="$NM" RANLIB
="$RANLIB" STRIP
="$STRIP" \
5391 AS
="$AS" DLLTOOL
="$DLLTOOL" OBJDUMP
="$OBJDUMP" \
5392 objext
="$OBJEXT" exeext
="$EXEEXT" reload_flag
="$reload_flag" \
5393 deplibs_check_method
="$deplibs_check_method" file_magic_cmd
="$file_magic_cmd" \
5394 ${CONFIG_SHELL-/bin/sh} $ac_aux_dir/ltconfig
--no-reexec \
5395 $libtool_flags --no-verify --build="$build" $ac_aux_dir/ltmain.sh
$host \
5396 ||
{ { echo "$as_me:$LINENO: error: libtool configure failed" >&5
5397 echo "$as_me: error: libtool configure failed" >&2;}
5398 { (exit 1); exit 1; }; }
5400 # Reload cache, that may have been modified by ltconfig
5401 if test -r "$cache_file"; then
5402 # Some versions of bash will fail to source /dev/null (special
5403 # files actually), so we avoid doing that.
5404 if test -f "$cache_file"; then
5405 { echo "$as_me:$LINENO: loading cache $cache_file" >&5
5406 echo "$as_me: loading cache $cache_file" >&6;}
5408 [\\/]* | ?
:[\\/]* ) .
$cache_file;;
5409 *) . .
/$cache_file;;
5413 { echo "$as_me:$LINENO: creating cache $cache_file" >&5
5414 echo "$as_me: creating cache $cache_file" >&6;}
5419 # This can be used to rebuild libtool when needed
5420 LIBTOOL_DEPS
="$ac_aux_dir/ltconfig $ac_aux_dir/ltmain.sh $ac_aux_dir/ltcf-c.sh"
5422 # Always use our own libtool.
5423 LIBTOOL
='$(SHELL) $(top_builddir)/libtool'
5425 # Redirect the config.log output again, so that the ltconfig log is not
5426 # clobbered by the next message.
5427 exec 5>>.
/config.log
5435 ac_cpp
='$CPP $CPPFLAGS'
5436 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5437 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5438 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
5439 if test -n "$ac_tool_prefix"; then
5440 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
5441 set dummy
${ac_tool_prefix}gcc
; ac_word
=$2
5442 echo "$as_me:$LINENO: checking for $ac_word" >&5
5443 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
5444 if test "${ac_cv_prog_CC+set}" = set; then
5445 echo $ECHO_N "(cached) $ECHO_C" >&6
5447 if test -n "$CC"; then
5448 ac_cv_prog_CC
="$CC" # Let the user override the test.
5450 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5454 test -z "$as_dir" && as_dir
=.
5455 for ac_exec_ext
in '' $ac_executable_extensions; do
5456 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5457 ac_cv_prog_CC
="${ac_tool_prefix}gcc"
5458 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5467 if test -n "$CC"; then
5468 echo "$as_me:$LINENO: result: $CC" >&5
5469 echo "${ECHO_T}$CC" >&6
5471 echo "$as_me:$LINENO: result: no" >&5
5472 echo "${ECHO_T}no" >&6
5476 if test -z "$ac_cv_prog_CC"; then
5478 # Extract the first word of "gcc", so it can be a program name with args.
5479 set dummy gcc
; ac_word
=$2
5480 echo "$as_me:$LINENO: checking for $ac_word" >&5
5481 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
5482 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
5483 echo $ECHO_N "(cached) $ECHO_C" >&6
5485 if test -n "$ac_ct_CC"; then
5486 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
5488 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5492 test -z "$as_dir" && as_dir
=.
5493 for ac_exec_ext
in '' $ac_executable_extensions; do
5494 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5495 ac_cv_prog_ac_ct_CC
="gcc"
5496 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5504 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
5505 if test -n "$ac_ct_CC"; then
5506 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
5507 echo "${ECHO_T}$ac_ct_CC" >&6
5509 echo "$as_me:$LINENO: result: no" >&5
5510 echo "${ECHO_T}no" >&6
5518 if test -z "$CC"; then
5519 if test -n "$ac_tool_prefix"; then
5520 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
5521 set dummy
${ac_tool_prefix}cc
; ac_word
=$2
5522 echo "$as_me:$LINENO: checking for $ac_word" >&5
5523 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
5524 if test "${ac_cv_prog_CC+set}" = set; then
5525 echo $ECHO_N "(cached) $ECHO_C" >&6
5527 if test -n "$CC"; then
5528 ac_cv_prog_CC
="$CC" # Let the user override the test.
5530 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5534 test -z "$as_dir" && as_dir
=.
5535 for ac_exec_ext
in '' $ac_executable_extensions; do
5536 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5537 ac_cv_prog_CC
="${ac_tool_prefix}cc"
5538 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5547 if test -n "$CC"; then
5548 echo "$as_me:$LINENO: result: $CC" >&5
5549 echo "${ECHO_T}$CC" >&6
5551 echo "$as_me:$LINENO: result: no" >&5
5552 echo "${ECHO_T}no" >&6
5556 if test -z "$ac_cv_prog_CC"; then
5558 # Extract the first word of "cc", so it can be a program name with args.
5559 set dummy cc
; ac_word
=$2
5560 echo "$as_me:$LINENO: checking for $ac_word" >&5
5561 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
5562 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
5563 echo $ECHO_N "(cached) $ECHO_C" >&6
5565 if test -n "$ac_ct_CC"; then
5566 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
5568 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5572 test -z "$as_dir" && as_dir
=.
5573 for ac_exec_ext
in '' $ac_executable_extensions; do
5574 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5575 ac_cv_prog_ac_ct_CC
="cc"
5576 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5584 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
5585 if test -n "$ac_ct_CC"; then
5586 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
5587 echo "${ECHO_T}$ac_ct_CC" >&6
5589 echo "$as_me:$LINENO: result: no" >&5
5590 echo "${ECHO_T}no" >&6
5599 if test -z "$CC"; then
5600 # Extract the first word of "cc", so it can be a program name with args.
5601 set dummy cc
; ac_word
=$2
5602 echo "$as_me:$LINENO: checking for $ac_word" >&5
5603 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
5604 if test "${ac_cv_prog_CC+set}" = set; then
5605 echo $ECHO_N "(cached) $ECHO_C" >&6
5607 if test -n "$CC"; then
5608 ac_cv_prog_CC
="$CC" # Let the user override the test.
5611 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5615 test -z "$as_dir" && as_dir
=.
5616 for ac_exec_ext
in '' $ac_executable_extensions; do
5617 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5618 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
5619 ac_prog_rejected
=yes
5623 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5629 if test $ac_prog_rejected = yes; then
5630 # We found a bogon in the path, so make sure we never use it.
5631 set dummy
$ac_cv_prog_CC
5633 if test $# != 0; then
5634 # We chose a different compiler from the bogus one.
5635 # However, it has the same basename, so the bogon will be chosen
5636 # first if we set CC to just the basename; use the full file name.
5638 ac_cv_prog_CC
="$as_dir/$ac_word${1+' '}$@"
5644 if test -n "$CC"; then
5645 echo "$as_me:$LINENO: result: $CC" >&5
5646 echo "${ECHO_T}$CC" >&6
5648 echo "$as_me:$LINENO: result: no" >&5
5649 echo "${ECHO_T}no" >&6
5653 if test -z "$CC"; then
5654 if test -n "$ac_tool_prefix"; then
5657 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
5658 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
5659 echo "$as_me:$LINENO: checking for $ac_word" >&5
5660 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
5661 if test "${ac_cv_prog_CC+set}" = set; then
5662 echo $ECHO_N "(cached) $ECHO_C" >&6
5664 if test -n "$CC"; then
5665 ac_cv_prog_CC
="$CC" # Let the user override the test.
5667 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5671 test -z "$as_dir" && as_dir
=.
5672 for ac_exec_ext
in '' $ac_executable_extensions; do
5673 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5674 ac_cv_prog_CC
="$ac_tool_prefix$ac_prog"
5675 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5684 if test -n "$CC"; then
5685 echo "$as_me:$LINENO: result: $CC" >&5
5686 echo "${ECHO_T}$CC" >&6
5688 echo "$as_me:$LINENO: result: no" >&5
5689 echo "${ECHO_T}no" >&6
5692 test -n "$CC" && break
5695 if test -z "$CC"; then
5699 # Extract the first word of "$ac_prog", so it can be a program name with args.
5700 set dummy
$ac_prog; ac_word
=$2
5701 echo "$as_me:$LINENO: checking for $ac_word" >&5
5702 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
5703 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
5704 echo $ECHO_N "(cached) $ECHO_C" >&6
5706 if test -n "$ac_ct_CC"; then
5707 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
5709 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5713 test -z "$as_dir" && as_dir
=.
5714 for ac_exec_ext
in '' $ac_executable_extensions; do
5715 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5716 ac_cv_prog_ac_ct_CC
="$ac_prog"
5717 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5725 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
5726 if test -n "$ac_ct_CC"; then
5727 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
5728 echo "${ECHO_T}$ac_ct_CC" >&6
5730 echo "$as_me:$LINENO: result: no" >&5
5731 echo "${ECHO_T}no" >&6
5734 test -n "$ac_ct_CC" && break
5743 test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
5744 See \`config.log' for more details." >&5
5745 echo "$as_me: error: no acceptable C compiler found in \$PATH
5746 See \`config.log' for more details." >&2;}
5747 { (exit 1); exit 1; }; }
5749 # Provide some information about the compiler.
5750 echo "$as_me:$LINENO:" \
5751 "checking for C compiler version" >&5
5752 ac_compiler
=`set X $ac_compile; echo $2`
5753 { (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5
5754 (eval $ac_compiler --version </dev
/null
>&5) 2>&5
5756 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5757 (exit $ac_status); }
5758 { (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5
5759 (eval $ac_compiler -v </dev
/null
>&5) 2>&5
5761 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5762 (exit $ac_status); }
5763 { (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5
5764 (eval $ac_compiler -V </dev
/null
>&5) 2>&5
5766 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5767 (exit $ac_status); }
5769 echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
5770 echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6
5771 if test "${ac_cv_c_compiler_gnu+set}" = set; then
5772 echo $ECHO_N "(cached) $ECHO_C" >&6
5774 cat >conftest.
$ac_ext <<_ACEOF
5777 cat confdefs.h
>>conftest.
$ac_ext
5778 cat >>conftest.
$ac_ext <<_ACEOF
5779 /* end confdefs.h. */
5792 rm -f conftest.
$ac_objext
5793 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5794 (eval $ac_compile) 2>conftest.er1
5796 grep -v '^ *+' conftest.er1
>conftest.err
5798 cat conftest.err
>&5
5799 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5800 (exit $ac_status); } &&
5801 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
5802 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5805 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5806 (exit $ac_status); }; } &&
5807 { ac_try
='test -s conftest.$ac_objext'
5808 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5811 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5812 (exit $ac_status); }; }; then
5815 echo "$as_me: failed program was:" >&5
5816 sed 's/^/| /' conftest.
$ac_ext >&5
5820 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
5821 ac_cv_c_compiler_gnu
=$ac_compiler_gnu
5824 echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
5825 echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6
5826 GCC
=`test $ac_compiler_gnu = yes && echo yes`
5827 ac_test_CFLAGS
=${CFLAGS+set}
5828 ac_save_CFLAGS
=$CFLAGS
5830 echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
5831 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6
5832 if test "${ac_cv_prog_cc_g+set}" = set; then
5833 echo $ECHO_N "(cached) $ECHO_C" >&6
5835 cat >conftest.
$ac_ext <<_ACEOF
5838 cat confdefs.h
>>conftest.
$ac_ext
5839 cat >>conftest.
$ac_ext <<_ACEOF
5840 /* end confdefs.h. */
5850 rm -f conftest.
$ac_objext
5851 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5852 (eval $ac_compile) 2>conftest.er1
5854 grep -v '^ *+' conftest.er1
>conftest.err
5856 cat conftest.err
>&5
5857 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5858 (exit $ac_status); } &&
5859 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
5860 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5863 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5864 (exit $ac_status); }; } &&
5865 { ac_try
='test -s conftest.$ac_objext'
5866 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5869 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5870 (exit $ac_status); }; }; then
5873 echo "$as_me: failed program was:" >&5
5874 sed 's/^/| /' conftest.
$ac_ext >&5
5878 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
5880 echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
5881 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6
5882 if test "$ac_test_CFLAGS" = set; then
5883 CFLAGS
=$ac_save_CFLAGS
5884 elif test $ac_cv_prog_cc_g = yes; then
5885 if test "$GCC" = yes; then
5891 if test "$GCC" = yes; then
5897 echo "$as_me:$LINENO: checking for $CC option to accept ANSI C" >&5
5898 echo $ECHO_N "checking for $CC option to accept ANSI C... $ECHO_C" >&6
5899 if test "${ac_cv_prog_cc_stdc+set}" = set; then
5900 echo $ECHO_N "(cached) $ECHO_C" >&6
5902 ac_cv_prog_cc_stdc
=no
5904 cat >conftest.
$ac_ext <<_ACEOF
5907 cat confdefs.h
>>conftest.
$ac_ext
5908 cat >>conftest.
$ac_ext <<_ACEOF
5909 /* end confdefs.h. */
5912 #include <sys/types.h>
5913 #include <sys/stat.h>
5914 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
5915 struct buf { int x; };
5916 FILE * (*rcsopen) (struct buf *, struct stat *, int);
5917 static char *e (p, i)
5923 static char *f (char * (*g) (char **, int), char **p, ...)
5928 s = g (p, va_arg (v,int));
5933 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
5934 function prototypes and stuff, but not '\xHH' hex character constants.
5935 These don't provoke an error unfortunately, instead are silently treated
5936 as 'x'. The following induces an error, until -std1 is added to get
5937 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
5938 array size at least. It's necessary to write '\x00'==0 to get something
5939 that's true only with -std1. */
5940 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
5942 int test (int i, double x);
5943 struct s1 {int (*f) (int a);};
5944 struct s2 {int (*f) (double a);};
5945 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
5951 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
5956 # Don't try gcc -ansi; that turns off useful extensions and
5957 # breaks some systems' header files.
5958 # AIX -qlanglvl=ansi
5959 # Ultrix and OSF/1 -std1
5960 # HP-UX 10.20 and later -Ae
5961 # HP-UX older versions -Aa -D_HPUX_SOURCE
5962 # SVR4 -Xc -D__EXTENSIONS__
5963 for ac_arg
in "" -qlanglvl=ansi
-std1 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
5965 CC
="$ac_save_CC $ac_arg"
5966 rm -f conftest.
$ac_objext
5967 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5968 (eval $ac_compile) 2>conftest.er1
5970 grep -v '^ *+' conftest.er1
>conftest.err
5972 cat conftest.err
>&5
5973 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5974 (exit $ac_status); } &&
5975 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
5976 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5979 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5980 (exit $ac_status); }; } &&
5981 { ac_try
='test -s conftest.$ac_objext'
5982 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5985 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5986 (exit $ac_status); }; }; then
5987 ac_cv_prog_cc_stdc
=$ac_arg
5990 echo "$as_me: failed program was:" >&5
5991 sed 's/^/| /' conftest.
$ac_ext >&5
5994 rm -f conftest.err conftest.
$ac_objext
5996 rm -f conftest.
$ac_ext conftest.
$ac_objext
6001 case "x$ac_cv_prog_cc_stdc" in
6003 echo "$as_me:$LINENO: result: none needed" >&5
6004 echo "${ECHO_T}none needed" >&6 ;;
6006 echo "$as_me:$LINENO: result: $ac_cv_prog_cc_stdc" >&5
6007 echo "${ECHO_T}$ac_cv_prog_cc_stdc" >&6
6008 CC
="$CC $ac_cv_prog_cc_stdc" ;;
6011 # Some people use a C++ compiler to compile C. Since we use `exit',
6012 # in C++ we need to declare it. In case someone uses the same compiler
6013 # for both compiling C and C++ we need to have the C++ compiler decide
6014 # the declaration of exit, since it's the most demanding environment.
6015 cat >conftest.
$ac_ext <<_ACEOF
6020 rm -f conftest.
$ac_objext
6021 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6022 (eval $ac_compile) 2>conftest.er1
6024 grep -v '^ *+' conftest.er1
>conftest.err
6026 cat conftest.err
>&5
6027 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6028 (exit $ac_status); } &&
6029 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
6030 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6033 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6034 (exit $ac_status); }; } &&
6035 { ac_try
='test -s conftest.$ac_objext'
6036 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6039 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6040 (exit $ac_status); }; }; then
6041 for ac_declaration
in \
6043 'extern "C" void std::exit (int) throw (); using std::exit;' \
6044 'extern "C" void std::exit (int); using std::exit;' \
6045 'extern "C" void exit (int) throw ();' \
6046 'extern "C" void exit (int);' \
6049 cat >conftest.
$ac_ext <<_ACEOF
6052 cat confdefs.h
>>conftest.
$ac_ext
6053 cat >>conftest.
$ac_ext <<_ACEOF
6054 /* end confdefs.h. */
6065 rm -f conftest.
$ac_objext
6066 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6067 (eval $ac_compile) 2>conftest.er1
6069 grep -v '^ *+' conftest.er1
>conftest.err
6071 cat conftest.err
>&5
6072 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6073 (exit $ac_status); } &&
6074 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
6075 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6078 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6079 (exit $ac_status); }; } &&
6080 { ac_try
='test -s conftest.$ac_objext'
6081 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6084 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6085 (exit $ac_status); }; }; then
6088 echo "$as_me: failed program was:" >&5
6089 sed 's/^/| /' conftest.
$ac_ext >&5
6093 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
6094 cat >conftest.
$ac_ext <<_ACEOF
6097 cat confdefs.h
>>conftest.
$ac_ext
6098 cat >>conftest.
$ac_ext <<_ACEOF
6099 /* end confdefs.h. */
6109 rm -f conftest.
$ac_objext
6110 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6111 (eval $ac_compile) 2>conftest.er1
6113 grep -v '^ *+' conftest.er1
>conftest.err
6115 cat conftest.err
>&5
6116 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6117 (exit $ac_status); } &&
6118 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
6119 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6122 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6123 (exit $ac_status); }; } &&
6124 { ac_try
='test -s conftest.$ac_objext'
6125 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6128 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6129 (exit $ac_status); }; }; then
6132 echo "$as_me: failed program was:" >&5
6133 sed 's/^/| /' conftest.
$ac_ext >&5
6136 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
6139 if test -n "$ac_declaration"; then
6140 echo '#ifdef __cplusplus' >>confdefs.h
6141 echo $ac_declaration >>confdefs.h
6142 echo '#endif' >>confdefs.h
6146 echo "$as_me: failed program was:" >&5
6147 sed 's/^/| /' conftest.
$ac_ext >&5
6150 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
6152 ac_cpp
='$CPP $CPPFLAGS'
6153 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6154 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6155 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
6157 depcc
="$CC" am_compiler_list
=
6159 echo "$as_me:$LINENO: checking dependency style of $depcc" >&5
6160 echo $ECHO_N "checking dependency style of $depcc... $ECHO_C" >&6
6161 if test "${am_cv_CC_dependencies_compiler_type+set}" = set; then
6162 echo $ECHO_N "(cached) $ECHO_C" >&6
6164 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
6165 # We make a subdir and do the tests there. Otherwise we can end up
6166 # making bogus files that we don't know about and never remove. For
6167 # instance it was reported that on HP-UX the gcc test will end up
6168 # making a dummy file named `D' -- because `-MD' means `put the output
6171 # Copy depcomp to subdir because otherwise we won't find it if we're
6172 # using a relative directory.
6173 cp "$am_depcomp" conftest.dir
6175 # We will build objects and dependencies in a subdirectory because
6176 # it helps to detect inapplicable dependency modes. For instance
6177 # both Tru64's cc and ICC support -MD to output dependencies as a
6178 # side effect of compilation, but ICC will put the dependencies in
6179 # the current directory while Tru64 will put them in the object
6183 am_cv_CC_dependencies_compiler_type
=none
6184 if test "$am_compiler_list" = ""; then
6185 am_compiler_list
=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
6187 for depmode
in $am_compiler_list; do
6188 # Setup a source with many dependencies, because some compilers
6189 # like to wrap large dependency lists on column 80 (with \), and
6190 # we should not choose a depcomp mode which is confused by this.
6192 # We need to recreate these files for each test, as the compiler may
6193 # overwrite some of them when testing with obscure command lines.
6194 # This happens at least with the AIX C compiler.
6196 for i
in 1 2 3 4 5 6; do
6197 echo '#include "conftst'$i'.h"' >> sub
/conftest.c
6198 # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
6199 # Solaris 8's {/usr,}/bin/sh.
6200 touch sub
/conftst
$i.h
6202 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
6206 # after this tag, mechanisms are not by side-effect, so they'll
6207 # only be used when explicitly requested
6208 if test "x$enable_dependency_tracking" = xyes
; then
6216 # We check with `-c' and `-o' for the sake of the "dashmstdout"
6217 # mode. It turns out that the SunPro C++ compiler does not properly
6218 # handle `-M -o', and we need to detect this.
6219 if depmode
=$depmode \
6220 source=sub
/conftest.c object
=sub
/conftest.
${OBJEXT-o} \
6221 depfile
=sub
/conftest.Po tmpdepfile
=sub
/conftest.TPo \
6222 $SHELL .
/depcomp
$depcc -c -o sub
/conftest.
${OBJEXT-o} sub
/conftest.c \
6223 >/dev
/null
2>conftest.err
&&
6224 grep sub
/conftst6.h sub
/conftest.Po
> /dev
/null
2>&1 &&
6225 grep sub
/conftest.
${OBJEXT-o} sub
/conftest.Po
> /dev
/null
2>&1 &&
6226 ${MAKE-make} -s -f confmf
> /dev
/null
2>&1; then
6227 # icc doesn't choke on unknown options, it will just issue warnings
6228 # or remarks (even with -Werror). So we grep stderr for any message
6229 # that says an option was ignored or not supported.
6230 # When given -MP, icc 7.0 and 7.1 complain thusly:
6231 # icc: Command line warning: ignoring option '-M'; no argument required
6232 # The diagnosis changed in icc 8.0:
6233 # icc: Command line remark: option '-MP' not supported
6234 if (grep 'ignoring option' conftest.err ||
6235 grep 'not supported' conftest.err
) >/dev
/null
2>&1; then :; else
6236 am_cv_CC_dependencies_compiler_type
=$depmode
6245 am_cv_CC_dependencies_compiler_type
=none
6249 echo "$as_me:$LINENO: result: $am_cv_CC_dependencies_compiler_type" >&5
6250 echo "${ECHO_T}$am_cv_CC_dependencies_compiler_type" >&6
6251 CCDEPMODE
=depmode
=$am_cv_CC_dependencies_compiler_type
6256 test "x$enable_dependency_tracking" != xno \
6257 && test "$am_cv_CC_dependencies_compiler_type" = gcc3
; then
6259 am__fastdepCC_FALSE
='#'
6261 am__fastdepCC_TRUE
='#'
6262 am__fastdepCC_FALSE
=
6267 ac_cpp
='$CPP $CPPFLAGS'
6268 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6269 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6270 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
6271 echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5
6272 echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6
6273 # On Suns, sometimes $CPP names a directory.
6274 if test -n "$CPP" && test -d "$CPP"; then
6277 if test -z "$CPP"; then
6278 if test "${ac_cv_prog_CPP+set}" = set; then
6279 echo $ECHO_N "(cached) $ECHO_C" >&6
6281 # Double quotes because CPP needs to be expanded
6282 for CPP
in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
6285 for ac_c_preproc_warn_flag
in '' yes
6287 # Use a header file that comes with gcc, so configuring glibc
6288 # with a fresh cross-compiler works.
6289 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
6290 # <limits.h> exists even on freestanding compilers.
6291 # On the NeXT, cc -E runs the code through the compiler's parser,
6292 # not just through cpp. "Syntax error" is here to catch this case.
6293 cat >conftest.
$ac_ext <<_ACEOF
6296 cat confdefs.h
>>conftest.
$ac_ext
6297 cat >>conftest.
$ac_ext <<_ACEOF
6298 /* end confdefs.h. */
6300 # include <limits.h>
6302 # include <assert.h>
6306 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
6307 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
6309 grep -v '^ *+' conftest.er1
>conftest.err
6311 cat conftest.err
>&5
6312 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6313 (exit $ac_status); } >/dev
/null
; then
6314 if test -s conftest.err
; then
6315 ac_cpp_err
=$ac_c_preproc_warn_flag
6316 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
6323 if test -z "$ac_cpp_err"; then
6326 echo "$as_me: failed program was:" >&5
6327 sed 's/^/| /' conftest.
$ac_ext >&5
6329 # Broken: fails on valid input.
6332 rm -f conftest.err conftest.
$ac_ext
6334 # OK, works on sane cases. Now check whether non-existent headers
6335 # can be detected and how.
6336 cat >conftest.
$ac_ext <<_ACEOF
6339 cat confdefs.h
>>conftest.
$ac_ext
6340 cat >>conftest.
$ac_ext <<_ACEOF
6341 /* end confdefs.h. */
6342 #include <ac_nonexistent.h>
6344 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
6345 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
6347 grep -v '^ *+' conftest.er1
>conftest.err
6349 cat conftest.err
>&5
6350 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6351 (exit $ac_status); } >/dev
/null
; then
6352 if test -s conftest.err
; then
6353 ac_cpp_err
=$ac_c_preproc_warn_flag
6354 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
6361 if test -z "$ac_cpp_err"; then
6362 # Broken: success on invalid input.
6365 echo "$as_me: failed program was:" >&5
6366 sed 's/^/| /' conftest.
$ac_ext >&5
6368 # Passes both tests.
6372 rm -f conftest.err conftest.
$ac_ext
6375 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
6376 rm -f conftest.err conftest.
$ac_ext
6377 if $ac_preproc_ok; then
6389 echo "$as_me:$LINENO: result: $CPP" >&5
6390 echo "${ECHO_T}$CPP" >&6
6392 for ac_c_preproc_warn_flag
in '' yes
6394 # Use a header file that comes with gcc, so configuring glibc
6395 # with a fresh cross-compiler works.
6396 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
6397 # <limits.h> exists even on freestanding compilers.
6398 # On the NeXT, cc -E runs the code through the compiler's parser,
6399 # not just through cpp. "Syntax error" is here to catch this case.
6400 cat >conftest.
$ac_ext <<_ACEOF
6403 cat confdefs.h
>>conftest.
$ac_ext
6404 cat >>conftest.
$ac_ext <<_ACEOF
6405 /* end confdefs.h. */
6407 # include <limits.h>
6409 # include <assert.h>
6413 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
6414 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
6416 grep -v '^ *+' conftest.er1
>conftest.err
6418 cat conftest.err
>&5
6419 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6420 (exit $ac_status); } >/dev
/null
; then
6421 if test -s conftest.err
; then
6422 ac_cpp_err
=$ac_c_preproc_warn_flag
6423 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
6430 if test -z "$ac_cpp_err"; then
6433 echo "$as_me: failed program was:" >&5
6434 sed 's/^/| /' conftest.
$ac_ext >&5
6436 # Broken: fails on valid input.
6439 rm -f conftest.err conftest.
$ac_ext
6441 # OK, works on sane cases. Now check whether non-existent headers
6442 # can be detected and how.
6443 cat >conftest.
$ac_ext <<_ACEOF
6446 cat confdefs.h
>>conftest.
$ac_ext
6447 cat >>conftest.
$ac_ext <<_ACEOF
6448 /* end confdefs.h. */
6449 #include <ac_nonexistent.h>
6451 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
6452 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
6454 grep -v '^ *+' conftest.er1
>conftest.err
6456 cat conftest.err
>&5
6457 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6458 (exit $ac_status); } >/dev
/null
; then
6459 if test -s conftest.err
; then
6460 ac_cpp_err
=$ac_c_preproc_warn_flag
6461 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
6468 if test -z "$ac_cpp_err"; then
6469 # Broken: success on invalid input.
6472 echo "$as_me: failed program was:" >&5
6473 sed 's/^/| /' conftest.
$ac_ext >&5
6475 # Passes both tests.
6479 rm -f conftest.err conftest.
$ac_ext
6482 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
6483 rm -f conftest.err conftest.
$ac_ext
6484 if $ac_preproc_ok; then
6487 { { echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check
6488 See \`config.log' for more details." >&5
6489 echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check
6490 See \`config.log' for more details." >&2;}
6491 { (exit 1); exit 1; }; }
6495 ac_cpp
='$CPP $CPPFLAGS'
6496 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6497 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6498 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
6501 ac_cpp
='$CXXCPP $CPPFLAGS'
6502 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6503 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6504 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
6505 if test -n "$ac_tool_prefix"; then
6506 for ac_prog
in $CCC g
++ c
++ gpp aCC CC cxx cc
++ cl FCC KCC RCC xlC_r xlC
6508 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
6509 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
6510 echo "$as_me:$LINENO: checking for $ac_word" >&5
6511 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
6512 if test "${ac_cv_prog_CXX+set}" = set; then
6513 echo $ECHO_N "(cached) $ECHO_C" >&6
6515 if test -n "$CXX"; then
6516 ac_cv_prog_CXX
="$CXX" # Let the user override the test.
6518 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6522 test -z "$as_dir" && as_dir
=.
6523 for ac_exec_ext
in '' $ac_executable_extensions; do
6524 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6525 ac_cv_prog_CXX
="$ac_tool_prefix$ac_prog"
6526 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6535 if test -n "$CXX"; then
6536 echo "$as_me:$LINENO: result: $CXX" >&5
6537 echo "${ECHO_T}$CXX" >&6
6539 echo "$as_me:$LINENO: result: no" >&5
6540 echo "${ECHO_T}no" >&6
6543 test -n "$CXX" && break
6546 if test -z "$CXX"; then
6548 for ac_prog
in $CCC g
++ c
++ gpp aCC CC cxx cc
++ cl FCC KCC RCC xlC_r xlC
6550 # Extract the first word of "$ac_prog", so it can be a program name with args.
6551 set dummy
$ac_prog; ac_word
=$2
6552 echo "$as_me:$LINENO: checking for $ac_word" >&5
6553 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
6554 if test "${ac_cv_prog_ac_ct_CXX+set}" = set; then
6555 echo $ECHO_N "(cached) $ECHO_C" >&6
6557 if test -n "$ac_ct_CXX"; then
6558 ac_cv_prog_ac_ct_CXX
="$ac_ct_CXX" # Let the user override the test.
6560 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6564 test -z "$as_dir" && as_dir
=.
6565 for ac_exec_ext
in '' $ac_executable_extensions; do
6566 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6567 ac_cv_prog_ac_ct_CXX
="$ac_prog"
6568 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6576 ac_ct_CXX
=$ac_cv_prog_ac_ct_CXX
6577 if test -n "$ac_ct_CXX"; then
6578 echo "$as_me:$LINENO: result: $ac_ct_CXX" >&5
6579 echo "${ECHO_T}$ac_ct_CXX" >&6
6581 echo "$as_me:$LINENO: result: no" >&5
6582 echo "${ECHO_T}no" >&6
6585 test -n "$ac_ct_CXX" && break
6587 test -n "$ac_ct_CXX" || ac_ct_CXX
="g++"
6593 # Provide some information about the compiler.
6594 echo "$as_me:$LINENO:" \
6595 "checking for C++ compiler version" >&5
6596 ac_compiler
=`set X $ac_compile; echo $2`
6597 { (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5
6598 (eval $ac_compiler --version </dev
/null
>&5) 2>&5
6600 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6601 (exit $ac_status); }
6602 { (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5
6603 (eval $ac_compiler -v </dev
/null
>&5) 2>&5
6605 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6606 (exit $ac_status); }
6607 { (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5
6608 (eval $ac_compiler -V </dev
/null
>&5) 2>&5
6610 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6611 (exit $ac_status); }
6613 echo "$as_me:$LINENO: checking whether we are using the GNU C++ compiler" >&5
6614 echo $ECHO_N "checking whether we are using the GNU C++ compiler... $ECHO_C" >&6
6615 if test "${ac_cv_cxx_compiler_gnu+set}" = set; then
6616 echo $ECHO_N "(cached) $ECHO_C" >&6
6618 cat >conftest.
$ac_ext <<_ACEOF
6621 cat confdefs.h
>>conftest.
$ac_ext
6622 cat >>conftest.
$ac_ext <<_ACEOF
6623 /* end confdefs.h. */
6636 rm -f conftest.
$ac_objext
6637 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6638 (eval $ac_compile) 2>conftest.er1
6640 grep -v '^ *+' conftest.er1
>conftest.err
6642 cat conftest.err
>&5
6643 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6644 (exit $ac_status); } &&
6645 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
6646 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6649 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6650 (exit $ac_status); }; } &&
6651 { ac_try
='test -s conftest.$ac_objext'
6652 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6655 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6656 (exit $ac_status); }; }; then
6659 echo "$as_me: failed program was:" >&5
6660 sed 's/^/| /' conftest.
$ac_ext >&5
6664 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
6665 ac_cv_cxx_compiler_gnu
=$ac_compiler_gnu
6668 echo "$as_me:$LINENO: result: $ac_cv_cxx_compiler_gnu" >&5
6669 echo "${ECHO_T}$ac_cv_cxx_compiler_gnu" >&6
6670 GXX
=`test $ac_compiler_gnu = yes && echo yes`
6671 ac_test_CXXFLAGS
=${CXXFLAGS+set}
6672 ac_save_CXXFLAGS
=$CXXFLAGS
6674 echo "$as_me:$LINENO: checking whether $CXX accepts -g" >&5
6675 echo $ECHO_N "checking whether $CXX accepts -g... $ECHO_C" >&6
6676 if test "${ac_cv_prog_cxx_g+set}" = set; then
6677 echo $ECHO_N "(cached) $ECHO_C" >&6
6679 cat >conftest.
$ac_ext <<_ACEOF
6682 cat confdefs.h
>>conftest.
$ac_ext
6683 cat >>conftest.
$ac_ext <<_ACEOF
6684 /* end confdefs.h. */
6694 rm -f conftest.
$ac_objext
6695 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6696 (eval $ac_compile) 2>conftest.er1
6698 grep -v '^ *+' conftest.er1
>conftest.err
6700 cat conftest.err
>&5
6701 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6702 (exit $ac_status); } &&
6703 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
6704 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6707 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6708 (exit $ac_status); }; } &&
6709 { ac_try
='test -s conftest.$ac_objext'
6710 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6713 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6714 (exit $ac_status); }; }; then
6715 ac_cv_prog_cxx_g
=yes
6717 echo "$as_me: failed program was:" >&5
6718 sed 's/^/| /' conftest.
$ac_ext >&5
6722 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
6724 echo "$as_me:$LINENO: result: $ac_cv_prog_cxx_g" >&5
6725 echo "${ECHO_T}$ac_cv_prog_cxx_g" >&6
6726 if test "$ac_test_CXXFLAGS" = set; then
6727 CXXFLAGS
=$ac_save_CXXFLAGS
6728 elif test $ac_cv_prog_cxx_g = yes; then
6729 if test "$GXX" = yes; then
6735 if test "$GXX" = yes; then
6741 for ac_declaration
in \
6743 'extern "C" void std::exit (int) throw (); using std::exit;' \
6744 'extern "C" void std::exit (int); using std::exit;' \
6745 'extern "C" void exit (int) throw ();' \
6746 'extern "C" void exit (int);' \
6749 cat >conftest.
$ac_ext <<_ACEOF
6752 cat confdefs.h
>>conftest.
$ac_ext
6753 cat >>conftest.
$ac_ext <<_ACEOF
6754 /* end confdefs.h. */
6765 rm -f conftest.
$ac_objext
6766 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6767 (eval $ac_compile) 2>conftest.er1
6769 grep -v '^ *+' conftest.er1
>conftest.err
6771 cat conftest.err
>&5
6772 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6773 (exit $ac_status); } &&
6774 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
6775 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6778 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6779 (exit $ac_status); }; } &&
6780 { ac_try
='test -s conftest.$ac_objext'
6781 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6784 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6785 (exit $ac_status); }; }; then
6788 echo "$as_me: failed program was:" >&5
6789 sed 's/^/| /' conftest.
$ac_ext >&5
6793 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
6794 cat >conftest.
$ac_ext <<_ACEOF
6797 cat confdefs.h
>>conftest.
$ac_ext
6798 cat >>conftest.
$ac_ext <<_ACEOF
6799 /* end confdefs.h. */
6809 rm -f conftest.
$ac_objext
6810 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6811 (eval $ac_compile) 2>conftest.er1
6813 grep -v '^ *+' conftest.er1
>conftest.err
6815 cat conftest.err
>&5
6816 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6817 (exit $ac_status); } &&
6818 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
6819 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6822 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6823 (exit $ac_status); }; } &&
6824 { ac_try
='test -s conftest.$ac_objext'
6825 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6828 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6829 (exit $ac_status); }; }; then
6832 echo "$as_me: failed program was:" >&5
6833 sed 's/^/| /' conftest.
$ac_ext >&5
6836 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
6839 if test -n "$ac_declaration"; then
6840 echo '#ifdef __cplusplus' >>confdefs.h
6841 echo $ac_declaration >>confdefs.h
6842 echo '#endif' >>confdefs.h
6846 ac_cpp
='$CPP $CPPFLAGS'
6847 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6848 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6849 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
6851 depcc
="$CXX" am_compiler_list
=
6853 echo "$as_me:$LINENO: checking dependency style of $depcc" >&5
6854 echo $ECHO_N "checking dependency style of $depcc... $ECHO_C" >&6
6855 if test "${am_cv_CXX_dependencies_compiler_type+set}" = set; then
6856 echo $ECHO_N "(cached) $ECHO_C" >&6
6858 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
6859 # We make a subdir and do the tests there. Otherwise we can end up
6860 # making bogus files that we don't know about and never remove. For
6861 # instance it was reported that on HP-UX the gcc test will end up
6862 # making a dummy file named `D' -- because `-MD' means `put the output
6865 # Copy depcomp to subdir because otherwise we won't find it if we're
6866 # using a relative directory.
6867 cp "$am_depcomp" conftest.dir
6869 # We will build objects and dependencies in a subdirectory because
6870 # it helps to detect inapplicable dependency modes. For instance
6871 # both Tru64's cc and ICC support -MD to output dependencies as a
6872 # side effect of compilation, but ICC will put the dependencies in
6873 # the current directory while Tru64 will put them in the object
6877 am_cv_CXX_dependencies_compiler_type
=none
6878 if test "$am_compiler_list" = ""; then
6879 am_compiler_list
=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
6881 for depmode
in $am_compiler_list; do
6882 # Setup a source with many dependencies, because some compilers
6883 # like to wrap large dependency lists on column 80 (with \), and
6884 # we should not choose a depcomp mode which is confused by this.
6886 # We need to recreate these files for each test, as the compiler may
6887 # overwrite some of them when testing with obscure command lines.
6888 # This happens at least with the AIX C compiler.
6890 for i
in 1 2 3 4 5 6; do
6891 echo '#include "conftst'$i'.h"' >> sub
/conftest.c
6892 # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
6893 # Solaris 8's {/usr,}/bin/sh.
6894 touch sub
/conftst
$i.h
6896 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
6900 # after this tag, mechanisms are not by side-effect, so they'll
6901 # only be used when explicitly requested
6902 if test "x$enable_dependency_tracking" = xyes
; then
6910 # We check with `-c' and `-o' for the sake of the "dashmstdout"
6911 # mode. It turns out that the SunPro C++ compiler does not properly
6912 # handle `-M -o', and we need to detect this.
6913 if depmode
=$depmode \
6914 source=sub
/conftest.c object
=sub
/conftest.
${OBJEXT-o} \
6915 depfile
=sub
/conftest.Po tmpdepfile
=sub
/conftest.TPo \
6916 $SHELL .
/depcomp
$depcc -c -o sub
/conftest.
${OBJEXT-o} sub
/conftest.c \
6917 >/dev
/null
2>conftest.err
&&
6918 grep sub
/conftst6.h sub
/conftest.Po
> /dev
/null
2>&1 &&
6919 grep sub
/conftest.
${OBJEXT-o} sub
/conftest.Po
> /dev
/null
2>&1 &&
6920 ${MAKE-make} -s -f confmf
> /dev
/null
2>&1; then
6921 # icc doesn't choke on unknown options, it will just issue warnings
6922 # or remarks (even with -Werror). So we grep stderr for any message
6923 # that says an option was ignored or not supported.
6924 # When given -MP, icc 7.0 and 7.1 complain thusly:
6925 # icc: Command line warning: ignoring option '-M'; no argument required
6926 # The diagnosis changed in icc 8.0:
6927 # icc: Command line remark: option '-MP' not supported
6928 if (grep 'ignoring option' conftest.err ||
6929 grep 'not supported' conftest.err
) >/dev
/null
2>&1; then :; else
6930 am_cv_CXX_dependencies_compiler_type
=$depmode
6939 am_cv_CXX_dependencies_compiler_type
=none
6943 echo "$as_me:$LINENO: result: $am_cv_CXX_dependencies_compiler_type" >&5
6944 echo "${ECHO_T}$am_cv_CXX_dependencies_compiler_type" >&6
6945 CXXDEPMODE
=depmode
=$am_cv_CXX_dependencies_compiler_type
6950 test "x$enable_dependency_tracking" != xno \
6951 && test "$am_cv_CXX_dependencies_compiler_type" = gcc3
; then
6952 am__fastdepCXX_TRUE
=
6953 am__fastdepCXX_FALSE
='#'
6955 am__fastdepCXX_TRUE
='#'
6956 am__fastdepCXX_FALSE
=
6960 ac_cpp
='$CXXCPP $CPPFLAGS'
6961 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6962 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6963 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
6964 echo "$as_me:$LINENO: checking how to run the C++ preprocessor" >&5
6965 echo $ECHO_N "checking how to run the C++ preprocessor... $ECHO_C" >&6
6966 if test -z "$CXXCPP"; then
6967 if test "${ac_cv_prog_CXXCPP+set}" = set; then
6968 echo $ECHO_N "(cached) $ECHO_C" >&6
6970 # Double quotes because CXXCPP needs to be expanded
6971 for CXXCPP
in "$CXX -E" "/lib/cpp"
6974 for ac_cxx_preproc_warn_flag
in '' yes
6976 # Use a header file that comes with gcc, so configuring glibc
6977 # with a fresh cross-compiler works.
6978 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
6979 # <limits.h> exists even on freestanding compilers.
6980 # On the NeXT, cc -E runs the code through the compiler's parser,
6981 # not just through cpp. "Syntax error" is here to catch this case.
6982 cat >conftest.
$ac_ext <<_ACEOF
6985 cat confdefs.h
>>conftest.
$ac_ext
6986 cat >>conftest.
$ac_ext <<_ACEOF
6987 /* end confdefs.h. */
6989 # include <limits.h>
6991 # include <assert.h>
6995 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
6996 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
6998 grep -v '^ *+' conftest.er1
>conftest.err
7000 cat conftest.err
>&5
7001 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7002 (exit $ac_status); } >/dev
/null
; then
7003 if test -s conftest.err
; then
7004 ac_cpp_err
=$ac_cxx_preproc_warn_flag
7005 ac_cpp_err
=$ac_cpp_err$ac_cxx_werror_flag
7012 if test -z "$ac_cpp_err"; then
7015 echo "$as_me: failed program was:" >&5
7016 sed 's/^/| /' conftest.
$ac_ext >&5
7018 # Broken: fails on valid input.
7021 rm -f conftest.err conftest.
$ac_ext
7023 # OK, works on sane cases. Now check whether non-existent headers
7024 # can be detected and how.
7025 cat >conftest.
$ac_ext <<_ACEOF
7028 cat confdefs.h
>>conftest.
$ac_ext
7029 cat >>conftest.
$ac_ext <<_ACEOF
7030 /* end confdefs.h. */
7031 #include <ac_nonexistent.h>
7033 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
7034 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
7036 grep -v '^ *+' conftest.er1
>conftest.err
7038 cat conftest.err
>&5
7039 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7040 (exit $ac_status); } >/dev
/null
; then
7041 if test -s conftest.err
; then
7042 ac_cpp_err
=$ac_cxx_preproc_warn_flag
7043 ac_cpp_err
=$ac_cpp_err$ac_cxx_werror_flag
7050 if test -z "$ac_cpp_err"; then
7051 # Broken: success on invalid input.
7054 echo "$as_me: failed program was:" >&5
7055 sed 's/^/| /' conftest.
$ac_ext >&5
7057 # Passes both tests.
7061 rm -f conftest.err conftest.
$ac_ext
7064 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
7065 rm -f conftest.err conftest.
$ac_ext
7066 if $ac_preproc_ok; then
7071 ac_cv_prog_CXXCPP
=$CXXCPP
7074 CXXCPP
=$ac_cv_prog_CXXCPP
7076 ac_cv_prog_CXXCPP
=$CXXCPP
7078 echo "$as_me:$LINENO: result: $CXXCPP" >&5
7079 echo "${ECHO_T}$CXXCPP" >&6
7081 for ac_cxx_preproc_warn_flag
in '' yes
7083 # Use a header file that comes with gcc, so configuring glibc
7084 # with a fresh cross-compiler works.
7085 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
7086 # <limits.h> exists even on freestanding compilers.
7087 # On the NeXT, cc -E runs the code through the compiler's parser,
7088 # not just through cpp. "Syntax error" is here to catch this case.
7089 cat >conftest.
$ac_ext <<_ACEOF
7092 cat confdefs.h
>>conftest.
$ac_ext
7093 cat >>conftest.
$ac_ext <<_ACEOF
7094 /* end confdefs.h. */
7096 # include <limits.h>
7098 # include <assert.h>
7102 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
7103 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
7105 grep -v '^ *+' conftest.er1
>conftest.err
7107 cat conftest.err
>&5
7108 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7109 (exit $ac_status); } >/dev
/null
; then
7110 if test -s conftest.err
; then
7111 ac_cpp_err
=$ac_cxx_preproc_warn_flag
7112 ac_cpp_err
=$ac_cpp_err$ac_cxx_werror_flag
7119 if test -z "$ac_cpp_err"; then
7122 echo "$as_me: failed program was:" >&5
7123 sed 's/^/| /' conftest.
$ac_ext >&5
7125 # Broken: fails on valid input.
7128 rm -f conftest.err conftest.
$ac_ext
7130 # OK, works on sane cases. Now check whether non-existent headers
7131 # can be detected and how.
7132 cat >conftest.
$ac_ext <<_ACEOF
7135 cat confdefs.h
>>conftest.
$ac_ext
7136 cat >>conftest.
$ac_ext <<_ACEOF
7137 /* end confdefs.h. */
7138 #include <ac_nonexistent.h>
7140 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
7141 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
7143 grep -v '^ *+' conftest.er1
>conftest.err
7145 cat conftest.err
>&5
7146 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7147 (exit $ac_status); } >/dev
/null
; then
7148 if test -s conftest.err
; then
7149 ac_cpp_err
=$ac_cxx_preproc_warn_flag
7150 ac_cpp_err
=$ac_cpp_err$ac_cxx_werror_flag
7157 if test -z "$ac_cpp_err"; then
7158 # Broken: success on invalid input.
7161 echo "$as_me: failed program was:" >&5
7162 sed 's/^/| /' conftest.
$ac_ext >&5
7164 # Passes both tests.
7168 rm -f conftest.err conftest.
$ac_ext
7171 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
7172 rm -f conftest.err conftest.
$ac_ext
7173 if $ac_preproc_ok; then
7176 { { echo "$as_me:$LINENO: error: C++ preprocessor \"$CXXCPP\" fails sanity check
7177 See \`config.log' for more details." >&5
7178 echo "$as_me: error: C++ preprocessor \"$CXXCPP\" fails sanity check
7179 See \`config.log' for more details." >&2;}
7180 { (exit 1); exit 1; }; }
7184 ac_cpp
='$CPP $CPPFLAGS'
7185 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7186 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7187 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
7191 LIBTOOL_DEPS
=$LIBTOOL_DEPS" $ac_aux_dir/ltcf-cxx.sh"
7193 lt_save_CFLAGS
="$CFLAGS"
7194 AR
="$AR" LTCC
="$CC" CC
="$CXX" CXX
="$CXX" CFLAGS
="$CXXFLAGS" CPPFLAGS
="$CPPFLAGS" \
7195 MAGIC_CMD
="$MAGIC_CMD" LD
="$LD" LDFLAGS
="$LDFLAGS" LIBS
="$LIBS" \
7196 LN_S
="$LN_S" NM
="$NM" RANLIB
="$RANLIB" STRIP
="$STRIP" \
7197 AS
="$AS" DLLTOOL
="$DLLTOOL" OBJDUMP
="$OBJDUMP" \
7198 objext
="$OBJEXT" exeext
="$EXEEXT" reload_flag
="$reload_flag" \
7199 deplibs_check_method
="$deplibs_check_method" \
7200 file_magic_cmd
="$file_magic_cmd" \
7201 ${CONFIG_SHELL-/bin/sh} $ac_aux_dir/ltconfig
-o libtool
$libtool_flags \
7202 --build="$build" --add-tag=CXX
$ac_aux_dir/ltcf-cxx.sh
$host \
7203 ||
{ { echo "$as_me:$LINENO: error: libtool tag configuration failed" >&5
7204 echo "$as_me: error: libtool tag configuration failed" >&2;}
7205 { (exit 1); exit 1; }; }
7207 CFLAGS
="$lt_save_CFLAGS"
7209 # Redirect the config.log output again, so that the ltconfig log is not
7210 # clobbered by the next message.
7211 exec 5>>.
/config.log
7216 if test "x${COMPILE_COLLECTIONS}" = xyes
; then
7217 # Extract the first word of "perl", so it can be a program name with args.
7218 set dummy perl
; ac_word
=$2
7219 echo "$as_me:$LINENO: checking for $ac_word" >&5
7220 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
7221 if test "${ac_cv_path_PERL+set}" = set; then
7222 echo $ECHO_N "(cached) $ECHO_C" >&6
7226 ac_cv_path_PERL
="$PERL" # Let the user override the test with a path.
7229 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7233 test -z "$as_dir" && as_dir
=.
7234 for ac_exec_ext
in '' $ac_executable_extensions; do
7235 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7236 ac_cv_path_PERL
="$as_dir/$ac_word$ac_exec_ext"
7237 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
7246 PERL
=$ac_cv_path_PERL
7248 if test -n "$PERL"; then
7249 echo "$as_me:$LINENO: result: $PERL" >&5
7250 echo "${ECHO_T}$PERL" >&6
7252 echo "$as_me:$LINENO: result: no" >&5
7253 echo "${ECHO_T}no" >&6
7258 ac_config_files
="$ac_config_files lib/mkcollections.pl"
7260 ac_config_commands
="$ac_config_commands mkcollections.pl"
7264 if test "x${COMPILE_JNI}" = xyes
; then
7265 echo "$as_me:$LINENO: checking for ANSI C header files" >&5
7266 echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6
7267 if test "${ac_cv_header_stdc+set}" = set; then
7268 echo $ECHO_N "(cached) $ECHO_C" >&6
7270 cat >conftest.
$ac_ext <<_ACEOF
7273 cat confdefs.h
>>conftest.
$ac_ext
7274 cat >>conftest.
$ac_ext <<_ACEOF
7275 /* end confdefs.h. */
7289 rm -f conftest.
$ac_objext
7290 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7291 (eval $ac_compile) 2>conftest.er1
7293 grep -v '^ *+' conftest.er1
>conftest.err
7295 cat conftest.err
>&5
7296 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7297 (exit $ac_status); } &&
7298 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
7299 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7302 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7303 (exit $ac_status); }; } &&
7304 { ac_try
='test -s conftest.$ac_objext'
7305 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7308 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7309 (exit $ac_status); }; }; then
7310 ac_cv_header_stdc
=yes
7312 echo "$as_me: failed program was:" >&5
7313 sed 's/^/| /' conftest.
$ac_ext >&5
7315 ac_cv_header_stdc
=no
7317 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
7319 if test $ac_cv_header_stdc = yes; then
7320 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
7321 cat >conftest.
$ac_ext <<_ACEOF
7324 cat confdefs.h
>>conftest.
$ac_ext
7325 cat >>conftest.
$ac_ext <<_ACEOF
7326 /* end confdefs.h. */
7330 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
7331 $EGREP "memchr" >/dev
/null
2>&1; then
7334 ac_cv_header_stdc
=no
7340 if test $ac_cv_header_stdc = yes; then
7341 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
7342 cat >conftest.
$ac_ext <<_ACEOF
7345 cat confdefs.h
>>conftest.
$ac_ext
7346 cat >>conftest.
$ac_ext <<_ACEOF
7347 /* end confdefs.h. */
7351 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
7352 $EGREP "free" >/dev
/null
2>&1; then
7355 ac_cv_header_stdc
=no
7361 if test $ac_cv_header_stdc = yes; then
7362 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
7363 if test "$cross_compiling" = yes; then
7366 cat >conftest.
$ac_ext <<_ACEOF
7369 cat confdefs.h
>>conftest.
$ac_ext
7370 cat >>conftest.
$ac_ext <<_ACEOF
7371 /* end confdefs.h. */
7373 #if ((' ' & 0x0FF) == 0x020)
7374 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
7375 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
7377 # define ISLOWER(c) \
7378 (('a' <= (c) && (c) <= 'i') \
7379 || ('j' <= (c) && (c) <= 'r') \
7380 || ('s' <= (c) && (c) <= 'z'))
7381 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
7384 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
7389 for (i = 0; i < 256; i++)
7390 if (XOR (islower (i), ISLOWER (i))
7391 || toupper (i) != TOUPPER (i))
7396 rm -f conftest
$ac_exeext
7397 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
7398 (eval $ac_link) 2>&5
7400 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7401 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
7402 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7405 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7406 (exit $ac_status); }; }; then
7409 echo "$as_me: program exited with status $ac_status" >&5
7410 echo "$as_me: failed program was:" >&5
7411 sed 's/^/| /' conftest.
$ac_ext >&5
7414 ac_cv_header_stdc
=no
7416 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
7420 echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
7421 echo "${ECHO_T}$ac_cv_header_stdc" >&6
7422 if test $ac_cv_header_stdc = yes; then
7424 cat >>confdefs.h
<<\_ACEOF
7425 #define STDC_HEADERS 1
7431 echo "$as_me:$LINENO: checking size of void *" >&5
7432 echo $ECHO_N "checking size of void *... $ECHO_C" >&6
7433 if test "${ac_cv_sizeof_void_p+set}" = set; then
7434 echo $ECHO_N "(cached) $ECHO_C" >&6
7436 for ac_size
in 4 8 1 2 16 12 ; do # List sizes in rough order of prevalence.
7437 cat >conftest.
$ac_ext <<_ACEOF
7440 cat confdefs.h
>>conftest.
$ac_ext
7441 cat >>conftest.
$ac_ext <<_ACEOF
7442 /* end confdefs.h. */
7443 #include "confdefs.h"
7444 #include <sys/types.h>
7450 switch (0) case 0: case (sizeof (void *) == $ac_size):;
7455 rm -f conftest.
$ac_objext
7456 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7457 (eval $ac_compile) 2>conftest.er1
7459 grep -v '^ *+' conftest.er1
>conftest.err
7461 cat conftest.err
>&5
7462 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7463 (exit $ac_status); } &&
7464 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
7465 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7468 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7469 (exit $ac_status); }; } &&
7470 { ac_try
='test -s conftest.$ac_objext'
7471 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7474 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7475 (exit $ac_status); }; }; then
7476 ac_cv_sizeof_void_p
=$ac_size
7478 echo "$as_me: failed program was:" >&5
7479 sed 's/^/| /' conftest.
$ac_ext >&5
7482 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
7483 if test x
$ac_cv_sizeof_void_p != x
; then break; fi
7488 if test x
$ac_cv_sizeof_void_p = x
; then
7489 { { echo "$as_me:$LINENO: error: cannot determine a size for void *" >&5
7490 echo "$as_me: error: cannot determine a size for void *" >&2;}
7491 { (exit 1); exit 1; }; }
7493 echo "$as_me:$LINENO: result: $ac_cv_sizeof_void_p" >&5
7494 echo "${ECHO_T}$ac_cv_sizeof_void_p" >&6
7496 cat >>confdefs.h
<<_ACEOF
7497 #define SIZEOF_VOID_P $ac_cv_sizeof_void_p
7502 echo "$as_me:$LINENO: checking whether byte ordering is bigendian" >&5
7503 echo $ECHO_N "checking whether byte ordering is bigendian... $ECHO_C" >&6
7504 if test "${ac_cv_c_bigendian+set}" = set; then
7505 echo $ECHO_N "(cached) $ECHO_C" >&6
7507 ac_cv_c_bigendian
=unknown
7508 # See if sys/param.h defines the BYTE_ORDER macro.
7509 cat >conftest.
$ac_ext <<_ACEOF
7512 cat confdefs.h
>>conftest.
$ac_ext
7513 cat >>conftest.
$ac_ext <<_ACEOF
7514 /* end confdefs.h. */
7515 #include <sys/types.h>
7516 #include <sys/param.h>
7521 #if !BYTE_ORDER || !BIG_ENDIAN || !LITTLE_ENDIAN
7528 rm -f conftest.
$ac_objext
7529 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7530 (eval $ac_compile) 2>conftest.er1
7532 grep -v '^ *+' conftest.er1
>conftest.err
7534 cat conftest.err
>&5
7535 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7536 (exit $ac_status); } &&
7537 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
7538 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7541 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7542 (exit $ac_status); }; } &&
7543 { ac_try
='test -s conftest.$ac_objext'
7544 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7547 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7548 (exit $ac_status); }; }; then
7549 # It does; now see whether it defined to BIG_ENDIAN or not.
7550 cat >conftest.
$ac_ext <<_ACEOF
7553 cat confdefs.h
>>conftest.
$ac_ext
7554 cat >>conftest.
$ac_ext <<_ACEOF
7555 /* end confdefs.h. */
7556 #include <sys/types.h>
7557 #include <sys/param.h>
7562 #if BYTE_ORDER != BIG_ENDIAN
7569 rm -f conftest.
$ac_objext
7570 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7571 (eval $ac_compile) 2>conftest.er1
7573 grep -v '^ *+' conftest.er1
>conftest.err
7575 cat conftest.err
>&5
7576 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7577 (exit $ac_status); } &&
7578 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
7579 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7582 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7583 (exit $ac_status); }; } &&
7584 { ac_try
='test -s conftest.$ac_objext'
7585 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7588 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7589 (exit $ac_status); }; }; then
7590 ac_cv_c_bigendian
=yes
7592 echo "$as_me: failed program was:" >&5
7593 sed 's/^/| /' conftest.
$ac_ext >&5
7595 ac_cv_c_bigendian
=no
7597 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
7599 echo "$as_me: failed program was:" >&5
7600 sed 's/^/| /' conftest.
$ac_ext >&5
7603 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
7604 if test $ac_cv_c_bigendian = unknown
; then
7605 if test "$cross_compiling" = yes; then
7606 echo $ac_n "cross-compiling... " 2>&6
7608 cat >conftest.
$ac_ext <<_ACEOF
7611 cat confdefs.h
>>conftest.
$ac_ext
7612 cat >>conftest.
$ac_ext <<_ACEOF
7613 /* end confdefs.h. */
7615 /* Are we little or big endian? From Harbison&Steele. */
7619 char c[sizeof (long)];
7622 exit (u.c[sizeof (long) - 1] == 1);
7625 rm -f conftest
$ac_exeext
7626 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
7627 (eval $ac_link) 2>&5
7629 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7630 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
7631 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7634 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7635 (exit $ac_status); }; }; then
7636 ac_cv_c_bigendian
=no
7638 echo "$as_me: program exited with status $ac_status" >&5
7639 echo "$as_me: failed program was:" >&5
7640 sed 's/^/| /' conftest.
$ac_ext >&5
7643 ac_cv_c_bigendian
=yes
7645 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
7649 echo "$as_me:$LINENO: result: $ac_cv_c_bigendian" >&5
7650 echo "${ECHO_T}$ac_cv_c_bigendian" >&6
7651 if test $ac_cv_c_bigendian = unknown
; then
7652 echo "$as_me:$LINENO: checking to probe for byte ordering" >&5
7653 echo $ECHO_N "checking to probe for byte ordering... $ECHO_C" >&6
7655 cat >conftest.c
<<EOF
7656 short ascii_mm[] = { 0x4249, 0x4765, 0x6E44, 0x6961, 0x6E53, 0x7953, 0 };
7657 short ascii_ii[] = { 0x694C, 0x5454, 0x656C, 0x6E45, 0x6944, 0x6E61, 0 };
7658 void _ascii() { char* s = (char*) ascii_mm; s = (char*) ascii_ii; }
7659 short ebcdic_ii[] = { 0x89D3, 0xE3E3, 0x8593, 0x95C5, 0x89C4, 0x9581, 0 };
7660 short ebcdic_mm[] = { 0xC2C9, 0xC785, 0x95C4, 0x8981, 0x95E2, 0xA8E2, 0 };
7661 void _ebcdic() { char* s = (char*) ebcdic_mm; s = (char*) ebcdic_ii; }
7662 int main() { _ascii (); _ebcdic (); return 0; }
7664 if test -f conftest.c
; then
7665 if ${CC-cc} ${CFLAGS} -c conftest.c
-o conftest.o
&& test -f conftest.o
; then
7666 if test `grep -l BIGenDianSyS conftest.o` ; then
7667 echo $ac_n ' big endian probe OK, ' 1>&6
7668 ac_cv_c_bigendian
=yes
7670 if test `grep -l LiTTleEnDian conftest.o` ; then
7671 echo $ac_n ' little endian probe OK, ' 1>&6
7672 if test $ac_cv_c_bigendian = yes ; then
7673 ac_cv_c_bigendian
=unknown
;
7675 ac_cv_c_bigendian
=no
7678 echo $ac_n 'guessing bigendian ... ' >&6
7681 echo "$as_me:$LINENO: result: $ac_cv_c_bigendian" >&5
7682 echo "${ECHO_T}$ac_cv_c_bigendian" >&6
7684 if test $ac_cv_c_bigendian = yes; then
7686 cat >>confdefs.h
<<\_ACEOF
7687 #define WORDS_BIGENDIAN 1
7691 cat >>confdefs.h
<<\_ACEOF
7692 #define HOST_WORDS_BIG_ENDIAN 1
7700 cat >>confdefs.h
<<_ACEOF
7701 #define BYTEORDER $BYTEORDER
7704 if test $ac_cv_c_bigendian = unknown
; then
7705 { { echo "$as_me:$LINENO: error: unknown endianess - sorry, please pre-set ac_cv_c_bigendian" >&5
7706 echo "$as_me: error: unknown endianess - sorry, please pre-set ac_cv_c_bigendian" >&2;}
7707 { (exit 1); exit 1; }; }
7726 for ac_header
in unistd.h sys
/types.h sys
/config.h sys
/ioctl.h \
7728 inttypes.h stdint.h utime.h sys
/utime.h sys
/filio.h \
7735 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
7736 if eval "test \"\${$as_ac_Header+set}\" = set"; then
7737 echo "$as_me:$LINENO: checking for $ac_header" >&5
7738 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
7739 if eval "test \"\${$as_ac_Header+set}\" = set"; then
7740 echo $ECHO_N "(cached) $ECHO_C" >&6
7742 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
7743 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
7745 # Is the header compilable?
7746 echo "$as_me:$LINENO: checking $ac_header usability" >&5
7747 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
7748 cat >conftest.
$ac_ext <<_ACEOF
7751 cat confdefs.h
>>conftest.
$ac_ext
7752 cat >>conftest.
$ac_ext <<_ACEOF
7753 /* end confdefs.h. */
7754 $ac_includes_default
7755 #include <$ac_header>
7757 rm -f conftest.
$ac_objext
7758 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7759 (eval $ac_compile) 2>conftest.er1
7761 grep -v '^ *+' conftest.er1
>conftest.err
7763 cat conftest.err
>&5
7764 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7765 (exit $ac_status); } &&
7766 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
7767 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7770 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7771 (exit $ac_status); }; } &&
7772 { ac_try
='test -s conftest.$ac_objext'
7773 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7776 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7777 (exit $ac_status); }; }; then
7778 ac_header_compiler
=yes
7780 echo "$as_me: failed program was:" >&5
7781 sed 's/^/| /' conftest.
$ac_ext >&5
7783 ac_header_compiler
=no
7785 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
7786 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
7787 echo "${ECHO_T}$ac_header_compiler" >&6
7789 # Is the header present?
7790 echo "$as_me:$LINENO: checking $ac_header presence" >&5
7791 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
7792 cat >conftest.
$ac_ext <<_ACEOF
7795 cat confdefs.h
>>conftest.
$ac_ext
7796 cat >>conftest.
$ac_ext <<_ACEOF
7797 /* end confdefs.h. */
7798 #include <$ac_header>
7800 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
7801 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
7803 grep -v '^ *+' conftest.er1
>conftest.err
7805 cat conftest.err
>&5
7806 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7807 (exit $ac_status); } >/dev
/null
; then
7808 if test -s conftest.err
; then
7809 ac_cpp_err
=$ac_c_preproc_warn_flag
7810 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
7817 if test -z "$ac_cpp_err"; then
7818 ac_header_preproc
=yes
7820 echo "$as_me: failed program was:" >&5
7821 sed 's/^/| /' conftest.
$ac_ext >&5
7823 ac_header_preproc
=no
7825 rm -f conftest.err conftest.
$ac_ext
7826 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
7827 echo "${ECHO_T}$ac_header_preproc" >&6
7829 # So? What about this header?
7830 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
7832 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
7833 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
7834 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
7835 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
7836 ac_header_preproc
=yes
7839 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
7840 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
7841 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
7842 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
7843 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
7844 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
7845 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
7846 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
7847 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
7848 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
7849 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
7850 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
7853 ## -------------------------------- ##
7854 ## Report this to classpath@gnu.org ##
7855 ## -------------------------------- ##
7858 sed "s/^/$as_me: WARNING: /" >&2
7861 echo "$as_me:$LINENO: checking for $ac_header" >&5
7862 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
7863 if eval "test \"\${$as_ac_Header+set}\" = set"; then
7864 echo $ECHO_N "(cached) $ECHO_C" >&6
7866 eval "$as_ac_Header=\$ac_header_preproc"
7868 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
7869 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
7872 if test `eval echo '${'$as_ac_Header'}'` = yes; then
7873 cat >>confdefs.h
<<_ACEOF
7874 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
7882 cat >conftest.
$ac_ext <<_ACEOF
7885 cat confdefs.h
>>conftest.
$ac_ext
7886 cat >>conftest.
$ac_ext <<_ACEOF
7887 /* end confdefs.h. */
7891 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
7892 $EGREP "uint32_t" >/dev
/null
2>&1; then
7894 cat >>confdefs.h
<<\_ACEOF
7895 #define HAVE_INT32_DEFINED 1
7901 cat >conftest.
$ac_ext <<_ACEOF
7904 cat confdefs.h
>>conftest.
$ac_ext
7905 cat >>conftest.
$ac_ext <<_ACEOF
7906 /* end confdefs.h. */
7907 #include <inttypes.h>
7910 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
7911 $EGREP "uint32_t" >/dev
/null
2>&1; then
7913 cat >>confdefs.h
<<\_ACEOF
7914 #define HAVE_INT32_DEFINED 1
7920 cat >conftest.
$ac_ext <<_ACEOF
7923 cat confdefs.h
>>conftest.
$ac_ext
7924 cat >>conftest.
$ac_ext <<_ACEOF
7925 /* end confdefs.h. */
7926 #include <sys/types.h>
7929 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
7930 $EGREP "u_int32_t" >/dev
/null
2>&1; then
7932 cat >>confdefs.h
<<\_ACEOF
7933 #define HAVE_BSD_INT32_DEFINED 1
7939 cat >conftest.
$ac_ext <<_ACEOF
7942 cat confdefs.h
>>conftest.
$ac_ext
7943 cat >>conftest.
$ac_ext <<_ACEOF
7944 /* end confdefs.h. */
7945 #include <sys/config.h>
7948 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
7949 $EGREP "u_int32_t" >/dev
/null
2>&1; then
7951 cat >>confdefs.h
<<\_ACEOF
7952 #define HAVE_BSD_INT32_DEFINED 1
8001 for ac_func
in ftruncate fsync
select \
8002 gethostname socket strerror fork pipe execve open close \
8003 lseek fstat
read write htonl memset htons connect \
8004 getsockname getpeername
bind listen accept \
8005 recvfrom send sendto setsockopt getsockopt
time mktime \
8009 mmap munmap mincore msync madvise getpagesize sysconf \
8012 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
8013 echo "$as_me:$LINENO: checking for $ac_func" >&5
8014 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
8015 if eval "test \"\${$as_ac_var+set}\" = set"; then
8016 echo $ECHO_N "(cached) $ECHO_C" >&6
8018 cat >conftest.
$ac_ext <<_ACEOF
8021 cat confdefs.h
>>conftest.
$ac_ext
8022 cat >>conftest.
$ac_ext <<_ACEOF
8023 /* end confdefs.h. */
8024 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
8025 For example, HP-UX 11i <limits.h> declares gettimeofday. */
8026 #define $ac_func innocuous_$ac_func
8028 /* System header to define __stub macros and hopefully few prototypes,
8029 which can conflict with char $ac_func (); below.
8030 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
8031 <limits.h> exists even on freestanding compilers. */
8034 # include <limits.h>
8036 # include <assert.h>
8041 /* Override any gcc2 internal prototype to avoid an error. */
8046 /* We use char because int might match the return type of a gcc2
8047 builtin and then its argument prototype would still apply. */
8049 /* The GNU C library defines this for functions which it implements
8050 to always fail with ENOSYS. Some functions are actually named
8051 something starting with __ and the normal name is an alias. */
8052 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
8055 char (*f) () = $ac_func;
8064 return f != $ac_func;
8069 rm -f conftest.
$ac_objext conftest
$ac_exeext
8070 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8071 (eval $ac_link) 2>conftest.er1
8073 grep -v '^ *+' conftest.er1
>conftest.err
8075 cat conftest.err
>&5
8076 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8077 (exit $ac_status); } &&
8078 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
8079 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8082 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8083 (exit $ac_status); }; } &&
8084 { ac_try
='test -s conftest$ac_exeext'
8085 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8088 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8089 (exit $ac_status); }; }; then
8090 eval "$as_ac_var=yes"
8092 echo "$as_me: failed program was:" >&5
8093 sed 's/^/| /' conftest.
$ac_ext >&5
8095 eval "$as_ac_var=no"
8097 rm -f conftest.err conftest.
$ac_objext \
8098 conftest
$ac_exeext conftest.
$ac_ext
8100 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
8101 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
8102 if test `eval echo '${'$as_ac_var'}'` = yes; then
8103 cat >>confdefs.h
<<_ACEOF
8104 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
8111 echo "$as_me:$LINENO: checking whether time.h and sys/time.h may both be included" >&5
8112 echo $ECHO_N "checking whether time.h and sys/time.h may both be included... $ECHO_C" >&6
8113 if test "${ac_cv_header_time+set}" = set; then
8114 echo $ECHO_N "(cached) $ECHO_C" >&6
8116 cat >conftest.
$ac_ext <<_ACEOF
8119 cat confdefs.h
>>conftest.
$ac_ext
8120 cat >>conftest.
$ac_ext <<_ACEOF
8121 /* end confdefs.h. */
8122 #include <sys/types.h>
8123 #include <sys/time.h>
8129 if ((struct tm *) 0)
8135 rm -f conftest.
$ac_objext
8136 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
8137 (eval $ac_compile) 2>conftest.er1
8139 grep -v '^ *+' conftest.er1
>conftest.err
8141 cat conftest.err
>&5
8142 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8143 (exit $ac_status); } &&
8144 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
8145 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8148 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8149 (exit $ac_status); }; } &&
8150 { ac_try
='test -s conftest.$ac_objext'
8151 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8154 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8155 (exit $ac_status); }; }; then
8156 ac_cv_header_time
=yes
8158 echo "$as_me: failed program was:" >&5
8159 sed 's/^/| /' conftest.
$ac_ext >&5
8161 ac_cv_header_time
=no
8163 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
8165 echo "$as_me:$LINENO: result: $ac_cv_header_time" >&5
8166 echo "${ECHO_T}$ac_cv_header_time" >&6
8167 if test $ac_cv_header_time = yes; then
8169 cat >>confdefs.h
<<\_ACEOF
8170 #define TIME_WITH_SYS_TIME 1
8175 echo "$as_me:$LINENO: checking whether struct tm is in sys/time.h or time.h" >&5
8176 echo $ECHO_N "checking whether struct tm is in sys/time.h or time.h... $ECHO_C" >&6
8177 if test "${ac_cv_struct_tm+set}" = set; then
8178 echo $ECHO_N "(cached) $ECHO_C" >&6
8180 cat >conftest.
$ac_ext <<_ACEOF
8183 cat confdefs.h
>>conftest.
$ac_ext
8184 cat >>conftest.
$ac_ext <<_ACEOF
8185 /* end confdefs.h. */
8186 #include <sys/types.h>
8192 struct tm *tp; tp->tm_sec;
8197 rm -f conftest.
$ac_objext
8198 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
8199 (eval $ac_compile) 2>conftest.er1
8201 grep -v '^ *+' conftest.er1
>conftest.err
8203 cat conftest.err
>&5
8204 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8205 (exit $ac_status); } &&
8206 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
8207 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8210 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8211 (exit $ac_status); }; } &&
8212 { ac_try
='test -s conftest.$ac_objext'
8213 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8216 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8217 (exit $ac_status); }; }; then
8218 ac_cv_struct_tm
=time.h
8220 echo "$as_me: failed program was:" >&5
8221 sed 's/^/| /' conftest.
$ac_ext >&5
8223 ac_cv_struct_tm
=sys
/time.h
8225 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
8227 echo "$as_me:$LINENO: result: $ac_cv_struct_tm" >&5
8228 echo "${ECHO_T}$ac_cv_struct_tm" >&6
8229 if test $ac_cv_struct_tm = sys
/time.h
; then
8231 cat >>confdefs.h
<<\_ACEOF
8232 #define TM_IN_SYS_TIME 1
8237 echo "$as_me:$LINENO: checking for struct tm.tm_zone" >&5
8238 echo $ECHO_N "checking for struct tm.tm_zone... $ECHO_C" >&6
8239 if test "${ac_cv_member_struct_tm_tm_zone+set}" = set; then
8240 echo $ECHO_N "(cached) $ECHO_C" >&6
8242 cat >conftest.
$ac_ext <<_ACEOF
8245 cat confdefs.h
>>conftest.
$ac_ext
8246 cat >>conftest.
$ac_ext <<_ACEOF
8247 /* end confdefs.h. */
8248 #include <sys/types.h>
8249 #include <$ac_cv_struct_tm>
8255 static struct tm ac_aggr;
8256 if (ac_aggr.tm_zone)
8262 rm -f conftest.
$ac_objext
8263 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
8264 (eval $ac_compile) 2>conftest.er1
8266 grep -v '^ *+' conftest.er1
>conftest.err
8268 cat conftest.err
>&5
8269 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8270 (exit $ac_status); } &&
8271 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
8272 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8275 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8276 (exit $ac_status); }; } &&
8277 { ac_try
='test -s conftest.$ac_objext'
8278 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8281 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8282 (exit $ac_status); }; }; then
8283 ac_cv_member_struct_tm_tm_zone
=yes
8285 echo "$as_me: failed program was:" >&5
8286 sed 's/^/| /' conftest.
$ac_ext >&5
8288 cat >conftest.
$ac_ext <<_ACEOF
8291 cat confdefs.h
>>conftest.
$ac_ext
8292 cat >>conftest.
$ac_ext <<_ACEOF
8293 /* end confdefs.h. */
8294 #include <sys/types.h>
8295 #include <$ac_cv_struct_tm>
8301 static struct tm ac_aggr;
8302 if (sizeof ac_aggr.tm_zone)
8308 rm -f conftest.
$ac_objext
8309 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
8310 (eval $ac_compile) 2>conftest.er1
8312 grep -v '^ *+' conftest.er1
>conftest.err
8314 cat conftest.err
>&5
8315 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8316 (exit $ac_status); } &&
8317 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
8318 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8321 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8322 (exit $ac_status); }; } &&
8323 { ac_try
='test -s conftest.$ac_objext'
8324 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8327 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8328 (exit $ac_status); }; }; then
8329 ac_cv_member_struct_tm_tm_zone
=yes
8331 echo "$as_me: failed program was:" >&5
8332 sed 's/^/| /' conftest.
$ac_ext >&5
8334 ac_cv_member_struct_tm_tm_zone
=no
8336 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
8338 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
8340 echo "$as_me:$LINENO: result: $ac_cv_member_struct_tm_tm_zone" >&5
8341 echo "${ECHO_T}$ac_cv_member_struct_tm_tm_zone" >&6
8342 if test $ac_cv_member_struct_tm_tm_zone = yes; then
8344 cat >>confdefs.h
<<_ACEOF
8345 #define HAVE_STRUCT_TM_TM_ZONE 1
8351 if test "$ac_cv_member_struct_tm_tm_zone" = yes; then
8353 cat >>confdefs.h
<<\_ACEOF
8354 #define HAVE_TM_ZONE 1
8358 echo "$as_me:$LINENO: checking for tzname" >&5
8359 echo $ECHO_N "checking for tzname... $ECHO_C" >&6
8360 if test "${ac_cv_var_tzname+set}" = set; then
8361 echo $ECHO_N "(cached) $ECHO_C" >&6
8363 cat >conftest.
$ac_ext <<_ACEOF
8366 cat confdefs.h
>>conftest.
$ac_ext
8367 cat >>conftest.
$ac_ext <<_ACEOF
8368 /* end confdefs.h. */
8370 #ifndef tzname /* For SGI. */
8371 extern char *tzname[]; /* RS6000 and others reject char **tzname. */
8382 rm -f conftest.
$ac_objext conftest
$ac_exeext
8383 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8384 (eval $ac_link) 2>conftest.er1
8386 grep -v '^ *+' conftest.er1
>conftest.err
8388 cat conftest.err
>&5
8389 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8390 (exit $ac_status); } &&
8391 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
8392 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8395 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8396 (exit $ac_status); }; } &&
8397 { ac_try
='test -s conftest$ac_exeext'
8398 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8401 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8402 (exit $ac_status); }; }; then
8403 ac_cv_var_tzname
=yes
8405 echo "$as_me: failed program was:" >&5
8406 sed 's/^/| /' conftest.
$ac_ext >&5
8410 rm -f conftest.err conftest.
$ac_objext \
8411 conftest
$ac_exeext conftest.
$ac_ext
8413 echo "$as_me:$LINENO: result: $ac_cv_var_tzname" >&5
8414 echo "${ECHO_T}$ac_cv_var_tzname" >&6
8415 if test $ac_cv_var_tzname = yes; then
8417 cat >>confdefs.h
<<\_ACEOF
8418 #define HAVE_TZNAME 1
8425 echo "$as_me:$LINENO: checking for tm_gmtoff in struct tm" >&5
8426 echo $ECHO_N "checking for tm_gmtoff in struct tm... $ECHO_C" >&6
8427 cat >conftest.
$ac_ext <<_ACEOF
8430 cat confdefs.h
>>conftest.
$ac_ext
8431 cat >>conftest.
$ac_ext <<_ACEOF
8432 /* end confdefs.h. */
8437 struct tm tim; tim.tm_gmtoff = 0;
8442 rm -f conftest.
$ac_objext
8443 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
8444 (eval $ac_compile) 2>conftest.er1
8446 grep -v '^ *+' conftest.er1
>conftest.err
8448 cat conftest.err
>&5
8449 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8450 (exit $ac_status); } &&
8451 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
8452 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8455 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8456 (exit $ac_status); }; } &&
8457 { ac_try
='test -s conftest.$ac_objext'
8458 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8461 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8462 (exit $ac_status); }; }; then
8464 cat >>confdefs.h
<<\_ACEOF
8465 #define STRUCT_TM_HAS_GMTOFF 1
8468 echo "$as_me:$LINENO: result: yes" >&5
8469 echo "${ECHO_T}yes" >&6
8471 echo "$as_me: failed program was:" >&5
8472 sed 's/^/| /' conftest.
$ac_ext >&5
8474 echo "$as_me:$LINENO: result: no" >&5
8475 echo "${ECHO_T}no" >&6
8476 echo "$as_me:$LINENO: checking for global timezone variable" >&5
8477 echo $ECHO_N "checking for global timezone variable... $ECHO_C" >&6
8478 cat >conftest.
$ac_ext <<_ACEOF
8481 cat confdefs.h
>>conftest.
$ac_ext
8482 cat >>conftest.
$ac_ext <<_ACEOF
8483 /* end confdefs.h. */
8488 void i(){long z2 = 2*timezone;}
8493 rm -f conftest.
$ac_objext
8494 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
8495 (eval $ac_compile) 2>conftest.er1
8497 grep -v '^ *+' conftest.er1
>conftest.err
8499 cat conftest.err
>&5
8500 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8501 (exit $ac_status); } &&
8502 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
8503 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8506 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8507 (exit $ac_status); }; } &&
8508 { ac_try
='test -s conftest.$ac_objext'
8509 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8512 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8513 (exit $ac_status); }; }; then
8515 cat >>confdefs.h
<<\_ACEOF
8516 #define HAVE_TIMEZONE 1
8519 echo "$as_me:$LINENO: result: yes" >&5
8520 echo "${ECHO_T}yes" >&6
8522 echo "$as_me: failed program was:" >&5
8523 sed 's/^/| /' conftest.
$ac_ext >&5
8525 echo "$as_me:$LINENO: result: no" >&5
8526 echo "${ECHO_T}no" >&6
8527 echo "$as_me:$LINENO: checking for global _timezone variable" >&5
8528 echo $ECHO_N "checking for global _timezone variable... $ECHO_C" >&6
8529 cat >conftest.
$ac_ext <<_ACEOF
8532 cat confdefs.h
>>conftest.
$ac_ext
8533 cat >>conftest.
$ac_ext <<_ACEOF
8534 /* end confdefs.h. */
8539 long z2 = _timezone;
8544 rm -f conftest.
$ac_objext
8545 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
8546 (eval $ac_compile) 2>conftest.er1
8548 grep -v '^ *+' conftest.er1
>conftest.err
8550 cat conftest.err
>&5
8551 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8552 (exit $ac_status); } &&
8553 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
8554 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8557 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8558 (exit $ac_status); }; } &&
8559 { ac_try
='test -s conftest.$ac_objext'
8560 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8563 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8564 (exit $ac_status); }; }; then
8566 cat >>confdefs.h
<<\_ACEOF
8567 #define HAVE_UNDERSCORE_TIMEZONE 1
8570 echo "$as_me:$LINENO: result: yes" >&5
8571 echo "${ECHO_T}yes" >&6
8573 echo "$as_me: failed program was:" >&5
8574 sed 's/^/| /' conftest.
$ac_ext >&5
8576 echo "$as_me:$LINENO: result: no" >&5
8577 echo "${ECHO_T}no" >&6
8579 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
8581 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
8583 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
8585 echo "$as_me:$LINENO: checking for an ANSI C-conforming const" >&5
8586 echo $ECHO_N "checking for an ANSI C-conforming const... $ECHO_C" >&6
8587 if test "${ac_cv_c_const+set}" = set; then
8588 echo $ECHO_N "(cached) $ECHO_C" >&6
8590 cat >conftest.
$ac_ext <<_ACEOF
8593 cat confdefs.h
>>conftest.
$ac_ext
8594 cat >>conftest.
$ac_ext <<_ACEOF
8595 /* end confdefs.h. */
8600 /* FIXME: Include the comments suggested by Paul. */
8602 /* Ultrix mips cc rejects this. */
8603 typedef int charset[2];
8605 /* SunOS 4.1.1 cc rejects this. */
8606 char const *const *ccp;
8608 /* NEC SVR4.0.2 mips cc rejects this. */
8609 struct point {int x, y;};
8610 static struct point const zero = {0,0};
8611 /* AIX XL C 1.02.0.0 rejects this.
8612 It does not let you subtract one const X* pointer from another in
8613 an arm of an if-expression whose if-part is not a constant
8615 const char *g = "string";
8616 ccp = &g + (g ? g-g : 0);
8617 /* HPUX 7.0 cc rejects these. */
8620 ccp = (char const *const *) p;
8621 { /* SCO 3.2v4 cc rejects this. */
8623 char const *s = 0 ? (char *) 0 : (char const *) 0;
8627 { /* Someone thinks the Sun supposedly-ANSI compiler will reject this. */
8629 const int *foo = &x[0];
8632 { /* Sun SC1.0 ANSI compiler rejects this -- but not the above. */
8633 typedef const int *iptr;
8637 { /* AIX XL C 1.02.0.0 rejects this saying
8638 "k.c", line 2.27: 1506-025 (S) Operand must be a modifiable lvalue. */
8639 struct s { int j; const int *ap[3]; };
8640 struct s *b; b->j = 5;
8642 { /* ULTRIX-32 V3.1 (Rev 9) vcc rejects this */
8651 rm -f conftest.
$ac_objext
8652 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
8653 (eval $ac_compile) 2>conftest.er1
8655 grep -v '^ *+' conftest.er1
>conftest.err
8657 cat conftest.err
>&5
8658 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8659 (exit $ac_status); } &&
8660 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
8661 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8664 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8665 (exit $ac_status); }; } &&
8666 { ac_try
='test -s conftest.$ac_objext'
8667 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8670 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8671 (exit $ac_status); }; }; then
8674 echo "$as_me: failed program was:" >&5
8675 sed 's/^/| /' conftest.
$ac_ext >&5
8679 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
8681 echo "$as_me:$LINENO: result: $ac_cv_c_const" >&5
8682 echo "${ECHO_T}$ac_cv_c_const" >&6
8683 if test $ac_cv_c_const = no
; then
8685 cat >>confdefs.h
<<\_ACEOF
8691 echo "$as_me:$LINENO: checking for __attribute__" >&5
8692 echo $ECHO_N "checking for __attribute__... $ECHO_C" >&6
8693 if test "${ac_cv_c_attribute+set}" = set; then
8694 echo $ECHO_N "(cached) $ECHO_C" >&6
8697 cat >conftest.
$ac_ext <<_ACEOF
8700 cat confdefs.h
>>conftest.
$ac_ext
8701 cat >>conftest.
$ac_ext <<_ACEOF
8702 /* end confdefs.h. */
8703 void foo(void) __attribute__ ((__noreturn__));
8706 rm -f conftest.
$ac_objext
8707 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
8708 (eval $ac_compile) 2>conftest.er1
8710 grep -v '^ *+' conftest.er1
>conftest.err
8712 cat conftest.err
>&5
8713 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8714 (exit $ac_status); } &&
8715 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
8716 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8719 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8720 (exit $ac_status); }; } &&
8721 { ac_try
='test -s conftest.$ac_objext'
8722 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8725 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8726 (exit $ac_status); }; }; then
8727 ac_cv_c_attribute
=yes
8729 echo "$as_me: failed program was:" >&5
8730 sed 's/^/| /' conftest.
$ac_ext >&5
8732 ac_cv_c_attribute
=no
8735 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
8738 echo "$as_me:$LINENO: result: $ac_cv_c_attribute" >&5
8739 echo "${ECHO_T}$ac_cv_c_attribute" >&6
8742 case $ac_cv_c_attribute in
8745 cat >>confdefs.h
<<_ACEOF
8746 #define __attribute__(x) /* nothing */
8753 if test "X$prefix" = "XNONE"; then
8754 acl_final_prefix
="$ac_default_prefix"
8756 acl_final_prefix
="$prefix"
8758 if test "X$exec_prefix" = "XNONE"; then
8759 acl_final_exec_prefix
='${prefix}'
8761 acl_final_exec_prefix
="$exec_prefix"
8763 acl_save_prefix
="$prefix"
8764 prefix
="$acl_final_prefix"
8765 eval acl_final_exec_prefix
=\"$acl_final_exec_prefix\"
8766 prefix
="$acl_save_prefix"
8769 # Check whether --with-gnu-ld or --without-gnu-ld was given.
8770 if test "${with_gnu_ld+set}" = set; then
8771 withval
="$with_gnu_ld"
8772 test "$withval" = no || with_gnu_ld
=yes
8776 # Prepare PATH_SEPARATOR.
8777 # The user is always right.
8778 if test "${PATH_SEPARATOR+set}" != set; then
8779 echo "#! /bin/sh" >conf$$.sh
8780 echo "exit 0" >>conf$$.sh
8782 if (PATH
="/nonexistent;."; conf$$.sh
) >/dev
/null
2>&1; then
8790 if test "$GCC" = yes; then
8791 # Check if gcc -print-prog-name=ld gives a path.
8792 echo "$as_me:$LINENO: checking for ld used by GCC" >&5
8793 echo $ECHO_N "checking for ld used by GCC... $ECHO_C" >&6
8796 # gcc leaves a trailing carriage return which upsets mingw
8797 ac_prog
=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
8799 ac_prog
=`($CC -print-prog-name=ld) 2>&5` ;;
8802 # Accept absolute paths.
8803 [\\/]* |
[A-Za-z
]:[\\/]*)
8804 re_direlt
='/[^/][^/]*/\.\./'
8805 # Canonicalize the path of ld
8806 ac_prog
=`echo $ac_prog| sed 's%\\\\%/%g'`
8807 while echo $ac_prog |
grep "$re_direlt" > /dev
/null
2>&1; do
8808 ac_prog
=`echo $ac_prog| sed "s%$re_direlt%/%"`
8810 test -z "$LD" && LD
="$ac_prog"
8813 # If it fails, then pretend we aren't using GCC.
8817 # If it is relative, then search for the first ld in PATH.
8821 elif test "$with_gnu_ld" = yes; then
8822 echo "$as_me:$LINENO: checking for GNU ld" >&5
8823 echo $ECHO_N "checking for GNU ld... $ECHO_C" >&6
8825 echo "$as_me:$LINENO: checking for non-GNU ld" >&5
8826 echo $ECHO_N "checking for non-GNU ld... $ECHO_C" >&6
8828 if test "${acl_cv_path_LD+set}" = set; then
8829 echo $ECHO_N "(cached) $ECHO_C" >&6
8831 if test -z "$LD"; then
8832 IFS
="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}${PATH_SEPARATOR-:}"
8833 for ac_dir
in $PATH; do
8834 test -z "$ac_dir" && ac_dir
=.
8835 if test -f "$ac_dir/$ac_prog" ||
test -f "$ac_dir/$ac_prog$ac_exeext"; then
8836 acl_cv_path_LD
="$ac_dir/$ac_prog"
8837 # Check to see if the program is GNU ld. I'd rather use --version,
8838 # but apparently some GNU ld's only accept -v.
8839 # Break only if it was the GNU/non-GNU ld that we prefer.
8840 if "$acl_cv_path_LD" -v 2>&1 < /dev
/null |
egrep '(GNU|with BFD)' > /dev
/null
; then
8841 test "$with_gnu_ld" != no
&& break
8843 test "$with_gnu_ld" != yes && break
8849 acl_cv_path_LD
="$LD" # Let the user override the test with a path.
8853 LD
="$acl_cv_path_LD"
8854 if test -n "$LD"; then
8855 echo "$as_me:$LINENO: result: $LD" >&5
8856 echo "${ECHO_T}$LD" >&6
8858 echo "$as_me:$LINENO: result: no" >&5
8859 echo "${ECHO_T}no" >&6
8861 test -z "$LD" && { { echo "$as_me:$LINENO: error: no acceptable ld found in \$PATH" >&5
8862 echo "$as_me: error: no acceptable ld found in \$PATH" >&2;}
8863 { (exit 1); exit 1; }; }
8864 echo "$as_me:$LINENO: checking if the linker ($LD) is GNU ld" >&5
8865 echo $ECHO_N "checking if the linker ($LD) is GNU ld... $ECHO_C" >&6
8866 if test "${acl_cv_prog_gnu_ld+set}" = set; then
8867 echo $ECHO_N "(cached) $ECHO_C" >&6
8869 # I'd rather use --version here, but apparently some GNU ld's only accept -v.
8870 if $LD -v 2>&1 </dev
/null |
egrep '(GNU|with BFD)' 1>&5; then
8871 acl_cv_prog_gnu_ld
=yes
8873 acl_cv_prog_gnu_ld
=no
8876 echo "$as_me:$LINENO: result: $acl_cv_prog_gnu_ld" >&5
8877 echo "${ECHO_T}$acl_cv_prog_gnu_ld" >&6
8878 with_gnu_ld
=$acl_cv_prog_gnu_ld
8882 echo "$as_me:$LINENO: checking for shared library run path origin" >&5
8883 echo $ECHO_N "checking for shared library run path origin... $ECHO_C" >&6
8884 if test "${acl_cv_rpath+set}" = set; then
8885 echo $ECHO_N "(cached) $ECHO_C" >&6
8888 CC
="$CC" GCC
="$GCC" LDFLAGS
="$LDFLAGS" LD
="$LD" with_gnu_ld
="$with_gnu_ld" \
8889 ${CONFIG_SHELL-/bin/sh} "$ac_aux_dir/config.rpath" "$host" > conftest.sh
8895 echo "$as_me:$LINENO: result: $acl_cv_rpath" >&5
8896 echo "${ECHO_T}$acl_cv_rpath" >&6
8898 libext
="$acl_cv_libext"
8899 shlibext
="$acl_cv_shlibext"
8900 hardcode_libdir_flag_spec
="$acl_cv_hardcode_libdir_flag_spec"
8901 hardcode_libdir_separator
="$acl_cv_hardcode_libdir_separator"
8902 hardcode_direct
="$acl_cv_hardcode_direct"
8903 hardcode_minus_L
="$acl_cv_hardcode_minus_L"
8904 # Check whether --enable-rpath or --disable-rpath was given.
8905 if test "${enable_rpath+set}" = set; then
8906 enableval
="$enable_rpath"
8920 acl_save_prefix
="$prefix"
8921 prefix
="$acl_final_prefix"
8922 acl_save_exec_prefix
="$exec_prefix"
8923 exec_prefix
="$acl_final_exec_prefix"
8925 eval additional_includedir
=\"$includedir\"
8926 eval additional_libdir
=\"$libdir\"
8928 exec_prefix
="$acl_save_exec_prefix"
8929 prefix
="$acl_save_prefix"
8932 # Check whether --with-libiconv-prefix or --without-libiconv-prefix was given.
8933 if test "${with_libiconv_prefix+set}" = set; then
8934 withval
="$with_libiconv_prefix"
8936 if test "X$withval" = "Xno"; then
8939 if test "X$withval" = "X"; then
8941 acl_save_prefix
="$prefix"
8942 prefix
="$acl_final_prefix"
8943 acl_save_exec_prefix
="$exec_prefix"
8944 exec_prefix
="$acl_final_exec_prefix"
8946 eval additional_includedir
=\"$includedir\"
8947 eval additional_libdir
=\"$libdir\"
8949 exec_prefix
="$acl_save_exec_prefix"
8950 prefix
="$acl_save_prefix"
8953 additional_includedir
="$withval/include"
8954 additional_libdir
="$withval/lib"
8964 names_already_handled
=
8965 names_next_round
='iconv '
8966 while test -n "$names_next_round"; do
8967 names_this_round
="$names_next_round"
8969 for name
in $names_this_round; do
8971 for n
in $names_already_handled; do
8972 if test "$n" = "$name"; then
8977 if test -z "$already_handled"; then
8978 names_already_handled
="$names_already_handled $name"
8979 uppername
=`echo "$name" | sed -e 'y|abcdefghijklmnopqrstuvwxyz./-|ABCDEFGHIJKLMNOPQRSTUVWXYZ___|'`
8980 eval value
=\"\
$HAVE_LIB$uppername\"
8981 if test -n "$value"; then
8982 if test "$value" = yes; then
8983 eval value
=\"\
$LIB$uppername\"
8984 test -z "$value" || LIBICONV
="${LIBICONV}${LIBICONV:+ }$value"
8985 eval value
=\"\
$LTLIB$uppername\"
8986 test -z "$value" || LTLIBICONV
="${LTLIBICONV}${LTLIBICONV:+ }$value"
8995 if test $use_additional = yes; then
8996 if test -n "$shlibext" && test -f "$additional_libdir/lib$name.$shlibext"; then
8997 found_dir
="$additional_libdir"
8998 found_so
="$additional_libdir/lib$name.$shlibext"
8999 if test -f "$additional_libdir/lib$name.la"; then
9000 found_la
="$additional_libdir/lib$name.la"
9003 if test -f "$additional_libdir/lib$name.$libext"; then
9004 found_dir
="$additional_libdir"
9005 found_a
="$additional_libdir/lib$name.$libext"
9006 if test -f "$additional_libdir/lib$name.la"; then
9007 found_la
="$additional_libdir/lib$name.la"
9012 if test "X$found_dir" = "X"; then
9013 for x
in $LDFLAGS $LTLIBICONV; do
9015 acl_save_prefix
="$prefix"
9016 prefix
="$acl_final_prefix"
9017 acl_save_exec_prefix
="$exec_prefix"
9018 exec_prefix
="$acl_final_exec_prefix"
9020 exec_prefix
="$acl_save_exec_prefix"
9021 prefix
="$acl_save_prefix"
9025 dir
=`echo "X$x" | sed -e 's/^X-L//'`
9026 if test -n "$shlibext" && test -f "$dir/lib$name.$shlibext"; then
9028 found_so
="$dir/lib$name.$shlibext"
9029 if test -f "$dir/lib$name.la"; then
9030 found_la
="$dir/lib$name.la"
9033 if test -f "$dir/lib$name.$libext"; then
9035 found_a
="$dir/lib$name.$libext"
9036 if test -f "$dir/lib$name.la"; then
9037 found_la
="$dir/lib$name.la"
9043 if test "X$found_dir" != "X"; then
9048 if test "X$found_dir" != "X"; then
9049 LTLIBICONV
="${LTLIBICONV}${LTLIBICONV:+ }-L$found_dir -l$name"
9050 if test "X$found_so" != "X"; then
9051 if test "$enable_rpath" = no ||
test "X$found_dir" = "X/usr/lib"; then
9052 LIBICONV
="${LIBICONV}${LIBICONV:+ }$found_so"
9055 for x
in $ltrpathdirs; do
9056 if test "X$x" = "X$found_dir"; then
9061 if test -z "$haveit"; then
9062 ltrpathdirs
="$ltrpathdirs $found_dir"
9064 if test "$hardcode_direct" = yes; then
9065 LIBICONV
="${LIBICONV}${LIBICONV:+ }$found_so"
9067 if test -n "$hardcode_libdir_flag_spec" && test "$hardcode_minus_L" = no
; then
9068 LIBICONV
="${LIBICONV}${LIBICONV:+ }$found_so"
9070 for x
in $rpathdirs; do
9071 if test "X$x" = "X$found_dir"; then
9076 if test -z "$haveit"; then
9077 rpathdirs
="$rpathdirs $found_dir"
9081 for x
in $LDFLAGS $LIBICONV; do
9083 acl_save_prefix
="$prefix"
9084 prefix
="$acl_final_prefix"
9085 acl_save_exec_prefix
="$exec_prefix"
9086 exec_prefix
="$acl_final_exec_prefix"
9088 exec_prefix
="$acl_save_exec_prefix"
9089 prefix
="$acl_save_prefix"
9091 if test "X$x" = "X-L$found_dir"; then
9096 if test -z "$haveit"; then
9097 LIBICONV
="${LIBICONV}${LIBICONV:+ }-L$found_dir"
9099 if test "$hardcode_minus_L" != no
; then
9100 LIBICONV
="${LIBICONV}${LIBICONV:+ }$found_so"
9102 LIBICONV
="${LIBICONV}${LIBICONV:+ }-l$name"
9108 if test "X$found_a" != "X"; then
9109 LIBICONV
="${LIBICONV}${LIBICONV:+ }$found_a"
9111 LIBICONV
="${LIBICONV}${LIBICONV:+ }-L$found_dir -l$name"
9114 additional_includedir
=
9115 case "$found_dir" in
9117 basedir
=`echo "X$found_dir" | sed -e 's,^X,,' -e 's,/lib/*$,,'`
9118 additional_includedir
="$basedir/include"
9121 if test "X$additional_includedir" != "X"; then
9122 if test "X$additional_includedir" != "X/usr/include"; then
9124 if test "X$additional_includedir" = "X/usr/local/include"; then
9125 if test -n "$GCC"; then
9127 linux
*) haveit
=yes;;
9131 if test -z "$haveit"; then
9132 for x
in $CPPFLAGS $INCICONV; do
9134 acl_save_prefix
="$prefix"
9135 prefix
="$acl_final_prefix"
9136 acl_save_exec_prefix
="$exec_prefix"
9137 exec_prefix
="$acl_final_exec_prefix"
9139 exec_prefix
="$acl_save_exec_prefix"
9140 prefix
="$acl_save_prefix"
9142 if test "X$x" = "X-I$additional_includedir"; then
9147 if test -z "$haveit"; then
9148 if test -d "$additional_includedir"; then
9149 INCICONV
="${INCICONV}${INCICONV:+ }-I$additional_includedir"
9155 if test -n "$found_la"; then
9156 save_libdir
="$libdir"
9158 */* |
*\\*) .
"$found_la" ;;
9159 *) .
"./$found_la" ;;
9161 libdir
="$save_libdir"
9162 for dep
in $dependency_libs; do
9165 additional_libdir
=`echo "X$dep" | sed -e 's/^X-L//'`
9166 if test "X$additional_libdir" != "X/usr/lib"; then
9168 if test "X$additional_libdir" = "X/usr/local/lib"; then
9169 if test -n "$GCC"; then
9171 linux
*) haveit
=yes;;
9175 if test -z "$haveit"; then
9177 for x
in $LDFLAGS $LIBICONV; do
9179 acl_save_prefix
="$prefix"
9180 prefix
="$acl_final_prefix"
9181 acl_save_exec_prefix
="$exec_prefix"
9182 exec_prefix
="$acl_final_exec_prefix"
9184 exec_prefix
="$acl_save_exec_prefix"
9185 prefix
="$acl_save_prefix"
9187 if test "X$x" = "X-L$additional_libdir"; then
9192 if test -z "$haveit"; then
9193 if test -d "$additional_libdir"; then
9194 LIBICONV
="${LIBICONV}${LIBICONV:+ }-L$additional_libdir"
9198 for x
in $LDFLAGS $LTLIBICONV; do
9200 acl_save_prefix
="$prefix"
9201 prefix
="$acl_final_prefix"
9202 acl_save_exec_prefix
="$exec_prefix"
9203 exec_prefix
="$acl_final_exec_prefix"
9205 exec_prefix
="$acl_save_exec_prefix"
9206 prefix
="$acl_save_prefix"
9208 if test "X$x" = "X-L$additional_libdir"; then
9213 if test -z "$haveit"; then
9214 if test -d "$additional_libdir"; then
9215 LTLIBICONV
="${LTLIBICONV}${LTLIBICONV:+ }-L$additional_libdir"
9222 dir
=`echo "X$dep" | sed -e 's/^X-R//'`
9223 if test "$enable_rpath" != no
; then
9225 for x
in $rpathdirs; do
9226 if test "X$x" = "X$dir"; then
9231 if test -z "$haveit"; then
9232 rpathdirs
="$rpathdirs $dir"
9235 for x
in $ltrpathdirs; do
9236 if test "X$x" = "X$dir"; then
9241 if test -z "$haveit"; then
9242 ltrpathdirs
="$ltrpathdirs $dir"
9247 names_next_round
="$names_next_round "`echo "X$dep" | sed -e 's/^X-l//'`
9250 names_next_round
="$names_next_round "`echo "X$dep" | sed -e 's,^X.*/,,' -e 's,^lib,,' -e 's,\.la$,,'`
9253 LIBICONV
="${LIBICONV}${LIBICONV:+ }$dep"
9254 LTLIBICONV
="${LTLIBICONV}${LTLIBICONV:+ }$dep"
9260 LIBICONV
="${LIBICONV}${LIBICONV:+ }-l$name"
9261 LTLIBICONV
="${LTLIBICONV}${LTLIBICONV:+ }-l$name"
9267 if test "X$rpathdirs" != "X"; then
9268 if test -n "$hardcode_libdir_separator"; then
9270 for found_dir
in $rpathdirs; do
9271 alldirs
="${alldirs}${alldirs:+$hardcode_libdir_separator}$found_dir"
9273 acl_save_libdir
="$libdir"
9275 eval flag
=\"$hardcode_libdir_flag_spec\"
9276 libdir
="$acl_save_libdir"
9277 LIBICONV
="${LIBICONV}${LIBICONV:+ }$flag"
9279 for found_dir
in $rpathdirs; do
9280 acl_save_libdir
="$libdir"
9282 eval flag
=\"$hardcode_libdir_flag_spec\"
9283 libdir
="$acl_save_libdir"
9284 LIBICONV
="${LIBICONV}${LIBICONV:+ }$flag"
9288 if test "X$ltrpathdirs" != "X"; then
9289 for found_dir
in $ltrpathdirs; do
9290 LTLIBICONV
="${LTLIBICONV}${LTLIBICONV:+ }-R$found_dir"
9300 am_save_CPPFLAGS
="$CPPFLAGS"
9302 for element
in $INCICONV; do
9304 for x
in $CPPFLAGS; do
9306 acl_save_prefix
="$prefix"
9307 prefix
="$acl_final_prefix"
9308 acl_save_exec_prefix
="$exec_prefix"
9309 exec_prefix
="$acl_final_exec_prefix"
9311 exec_prefix
="$acl_save_exec_prefix"
9312 prefix
="$acl_save_prefix"
9314 if test "X$x" = "X$element"; then
9319 if test -z "$haveit"; then
9320 CPPFLAGS
="${CPPFLAGS}${CPPFLAGS:+ }$element"
9325 echo "$as_me:$LINENO: checking for iconv" >&5
9326 echo $ECHO_N "checking for iconv... $ECHO_C" >&6
9327 if test "${am_cv_func_iconv+set}" = set; then
9328 echo $ECHO_N "(cached) $ECHO_C" >&6
9331 am_cv_func_iconv
="no, consider installing GNU libiconv"
9333 cat >conftest.
$ac_ext <<_ACEOF
9336 cat confdefs.h
>>conftest.
$ac_ext
9337 cat >>conftest.
$ac_ext <<_ACEOF
9338 /* end confdefs.h. */
9344 iconv_t cd = iconv_open("","");
9345 iconv(cd,NULL,NULL,NULL,NULL);
9351 rm -f conftest.
$ac_objext conftest
$ac_exeext
9352 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
9353 (eval $ac_link) 2>conftest.er1
9355 grep -v '^ *+' conftest.er1
>conftest.err
9357 cat conftest.err
>&5
9358 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9359 (exit $ac_status); } &&
9360 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
9361 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9364 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9365 (exit $ac_status); }; } &&
9366 { ac_try
='test -s conftest$ac_exeext'
9367 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9370 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9371 (exit $ac_status); }; }; then
9372 am_cv_func_iconv
=yes
9374 echo "$as_me: failed program was:" >&5
9375 sed 's/^/| /' conftest.
$ac_ext >&5
9378 rm -f conftest.err conftest.
$ac_objext \
9379 conftest
$ac_exeext conftest.
$ac_ext
9380 if test "$am_cv_func_iconv" != yes; then
9381 am_save_LIBS
="$LIBS"
9382 LIBS
="$LIBS $LIBICONV"
9383 cat >conftest.
$ac_ext <<_ACEOF
9386 cat confdefs.h
>>conftest.
$ac_ext
9387 cat >>conftest.
$ac_ext <<_ACEOF
9388 /* end confdefs.h. */
9394 iconv_t cd = iconv_open("","");
9395 iconv(cd,NULL,NULL,NULL,NULL);
9401 rm -f conftest.
$ac_objext conftest
$ac_exeext
9402 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
9403 (eval $ac_link) 2>conftest.er1
9405 grep -v '^ *+' conftest.er1
>conftest.err
9407 cat conftest.err
>&5
9408 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9409 (exit $ac_status); } &&
9410 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
9411 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9414 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9415 (exit $ac_status); }; } &&
9416 { ac_try
='test -s conftest$ac_exeext'
9417 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9420 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9421 (exit $ac_status); }; }; then
9423 am_cv_func_iconv
=yes
9425 echo "$as_me: failed program was:" >&5
9426 sed 's/^/| /' conftest.
$ac_ext >&5
9429 rm -f conftest.err conftest.
$ac_objext \
9430 conftest
$ac_exeext conftest.
$ac_ext
9431 LIBS
="$am_save_LIBS"
9435 echo "$as_me:$LINENO: result: $am_cv_func_iconv" >&5
9436 echo "${ECHO_T}$am_cv_func_iconv" >&6
9437 if test "$am_cv_func_iconv" = yes; then
9439 cat >>confdefs.h
<<\_ACEOF
9440 #define HAVE_ICONV 1
9444 if test "$am_cv_lib_iconv" = yes; then
9445 echo "$as_me:$LINENO: checking how to link with libiconv" >&5
9446 echo $ECHO_N "checking how to link with libiconv... $ECHO_C" >&6
9447 echo "$as_me:$LINENO: result: $LIBICONV" >&5
9448 echo "${ECHO_T}$LIBICONV" >&6
9450 CPPFLAGS
="$am_save_CPPFLAGS"
9457 if test "$am_cv_func_iconv" = yes; then
9458 echo "$as_me:$LINENO: checking for iconv declaration" >&5
9459 echo $ECHO_N "checking for iconv declaration... $ECHO_C" >&6
9460 if test "${am_cv_proto_iconv+set}" = set; then
9461 echo $ECHO_N "(cached) $ECHO_C" >&6
9464 cat >conftest.
$ac_ext <<_ACEOF
9467 cat confdefs.h
>>conftest.
$ac_ext
9468 cat >>conftest.
$ac_ext <<_ACEOF
9469 /* end confdefs.h. */
9477 #if defined(__STDC__) || defined(__cplusplus)
9478 size_t iconv (iconv_t cd, char * *inbuf, size_t *inbytesleft, char * *outbuf, size_t *outbytesleft);
9491 rm -f conftest.
$ac_objext
9492 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
9493 (eval $ac_compile) 2>conftest.er1
9495 grep -v '^ *+' conftest.er1
>conftest.err
9497 cat conftest.err
>&5
9498 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9499 (exit $ac_status); } &&
9500 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
9501 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9504 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9505 (exit $ac_status); }; } &&
9506 { ac_try
='test -s conftest.$ac_objext'
9507 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9510 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9511 (exit $ac_status); }; }; then
9512 am_cv_proto_iconv_arg1
=""
9514 echo "$as_me: failed program was:" >&5
9515 sed 's/^/| /' conftest.
$ac_ext >&5
9517 am_cv_proto_iconv_arg1
="const"
9519 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
9520 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);"
9523 am_cv_proto_iconv
=`echo "$am_cv_proto_iconv" | tr -s ' ' | sed -e 's/( /(/'`
9524 echo "$as_me:$LINENO: result: ${ac_t:-
9525 }$am_cv_proto_iconv" >&5
9526 echo "${ECHO_T}${ac_t:-
9527 }$am_cv_proto_iconv" >&6
9529 cat >>confdefs.h
<<_ACEOF
9530 #define ICONV_CONST $am_cv_proto_iconv_arg1
9536 if test "x${GCC}" = xyes
; then
9538 WARNING_CFLAGS
='-pedantic -W -Wall -Wmissing-declarations -Wwrite-strings -Wmissing-prototypes -Wno-long-long'
9541 STRICT_WARNING_CFLAGS
=-Wstrict-prototypes
9545 if test "x${ENABLE_WERROR}" = xyes
; then
9546 ERROR_CFLAGS
='-Werror'
9551 if test "x${COMPILE_XMLJ}" = xyes
; then
9555 if test -z "$PKG_CONFIG"; then
9556 # Extract the first word of "pkg-config", so it can be a program name with args.
9557 set dummy pkg-config
; ac_word
=$2
9558 echo "$as_me:$LINENO: checking for $ac_word" >&5
9559 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
9560 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
9561 echo $ECHO_N "(cached) $ECHO_C" >&6
9565 ac_cv_path_PKG_CONFIG
="$PKG_CONFIG" # Let the user override the test with a path.
9568 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
9572 test -z "$as_dir" && as_dir
=.
9573 for ac_exec_ext
in '' $ac_executable_extensions; do
9574 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
9575 ac_cv_path_PKG_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
9576 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
9582 test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG
="no"
9586 PKG_CONFIG
=$ac_cv_path_PKG_CONFIG
9588 if test -n "$PKG_CONFIG"; then
9589 echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
9590 echo "${ECHO_T}$PKG_CONFIG" >&6
9592 echo "$as_me:$LINENO: result: no" >&5
9593 echo "${ECHO_T}no" >&6
9598 if test "$PKG_CONFIG" = "no" ; then
9599 echo "*** The pkg-config script could not be found. Make sure it is"
9600 echo "*** in your path, or set the PKG_CONFIG environment variable"
9601 echo "*** to the full path to pkg-config."
9602 echo "*** Or see http://www.freedesktop.org/software/pkgconfig to get pkg-config."
9604 PKG_CONFIG_MIN_VERSION
=0.9.0
9605 if $PKG_CONFIG --atleast-pkgconfig-version $PKG_CONFIG_MIN_VERSION; then
9606 echo "$as_me:$LINENO: checking for libxml-2.0 >= 2.6.8" >&5
9607 echo $ECHO_N "checking for libxml-2.0 >= 2.6.8... $ECHO_C" >&6
9609 if $PKG_CONFIG --exists "libxml-2.0 >= 2.6.8" ; then
9610 echo "$as_me:$LINENO: result: yes" >&5
9611 echo "${ECHO_T}yes" >&6
9614 echo "$as_me:$LINENO: checking XML_CFLAGS" >&5
9615 echo $ECHO_N "checking XML_CFLAGS... $ECHO_C" >&6
9616 XML_CFLAGS
=`$PKG_CONFIG --cflags "libxml-2.0 >= 2.6.8"`
9617 echo "$as_me:$LINENO: result: $XML_CFLAGS" >&5
9618 echo "${ECHO_T}$XML_CFLAGS" >&6
9620 echo "$as_me:$LINENO: checking XML_LIBS" >&5
9621 echo $ECHO_N "checking XML_LIBS... $ECHO_C" >&6
9622 XML_LIBS
=`$PKG_CONFIG --libs "libxml-2.0 >= 2.6.8"`
9623 echo "$as_me:$LINENO: result: $XML_LIBS" >&5
9624 echo "${ECHO_T}$XML_LIBS" >&6
9628 ## If we have a custom action on failure, don't print errors, but
9629 ## do set a variable so people can do so.
9630 XML_PKG_ERRORS
=`$PKG_CONFIG --errors-to-stdout --print-errors "libxml-2.0 >= 2.6.8"`
9631 echo $XML_PKG_ERRORS
9637 echo "*** Your version of pkg-config is too old. You need version $PKG_CONFIG_MIN_VERSION or newer."
9638 echo "*** See http://www.freedesktop.org/software/pkgconfig"
9642 if test $succeeded = yes; then
9645 { { 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
9646 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;}
9647 { (exit 1); exit 1; }; }
9653 if test -z "$PKG_CONFIG"; then
9654 # Extract the first word of "pkg-config", so it can be a program name with args.
9655 set dummy pkg-config
; ac_word
=$2
9656 echo "$as_me:$LINENO: checking for $ac_word" >&5
9657 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
9658 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
9659 echo $ECHO_N "(cached) $ECHO_C" >&6
9663 ac_cv_path_PKG_CONFIG
="$PKG_CONFIG" # Let the user override the test with a path.
9666 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
9670 test -z "$as_dir" && as_dir
=.
9671 for ac_exec_ext
in '' $ac_executable_extensions; do
9672 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
9673 ac_cv_path_PKG_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
9674 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
9680 test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG
="no"
9684 PKG_CONFIG
=$ac_cv_path_PKG_CONFIG
9686 if test -n "$PKG_CONFIG"; then
9687 echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
9688 echo "${ECHO_T}$PKG_CONFIG" >&6
9690 echo "$as_me:$LINENO: result: no" >&5
9691 echo "${ECHO_T}no" >&6
9696 if test "$PKG_CONFIG" = "no" ; then
9697 echo "*** The pkg-config script could not be found. Make sure it is"
9698 echo "*** in your path, or set the PKG_CONFIG environment variable"
9699 echo "*** to the full path to pkg-config."
9700 echo "*** Or see http://www.freedesktop.org/software/pkgconfig to get pkg-config."
9702 PKG_CONFIG_MIN_VERSION
=0.9.0
9703 if $PKG_CONFIG --atleast-pkgconfig-version $PKG_CONFIG_MIN_VERSION; then
9704 echo "$as_me:$LINENO: checking for libxslt >= 1.1.11" >&5
9705 echo $ECHO_N "checking for libxslt >= 1.1.11... $ECHO_C" >&6
9707 if $PKG_CONFIG --exists "libxslt >= 1.1.11" ; then
9708 echo "$as_me:$LINENO: result: yes" >&5
9709 echo "${ECHO_T}yes" >&6
9712 echo "$as_me:$LINENO: checking XSLT_CFLAGS" >&5
9713 echo $ECHO_N "checking XSLT_CFLAGS... $ECHO_C" >&6
9714 XSLT_CFLAGS
=`$PKG_CONFIG --cflags "libxslt >= 1.1.11"`
9715 echo "$as_me:$LINENO: result: $XSLT_CFLAGS" >&5
9716 echo "${ECHO_T}$XSLT_CFLAGS" >&6
9718 echo "$as_me:$LINENO: checking XSLT_LIBS" >&5
9719 echo $ECHO_N "checking XSLT_LIBS... $ECHO_C" >&6
9720 XSLT_LIBS
=`$PKG_CONFIG --libs "libxslt >= 1.1.11"`
9721 echo "$as_me:$LINENO: result: $XSLT_LIBS" >&5
9722 echo "${ECHO_T}$XSLT_LIBS" >&6
9726 ## If we have a custom action on failure, don't print errors, but
9727 ## do set a variable so people can do so.
9728 XSLT_PKG_ERRORS
=`$PKG_CONFIG --errors-to-stdout --print-errors "libxslt >= 1.1.11"`
9729 echo $XSLT_PKG_ERRORS
9735 echo "*** Your version of pkg-config is too old. You need version $PKG_CONFIG_MIN_VERSION or newer."
9736 echo "*** See http://www.freedesktop.org/software/pkgconfig"
9740 if test $succeeded = yes; then
9743 { { 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
9744 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;}
9745 { (exit 1); exit 1; }; }
9754 if test "x${COMPILE_GTK_PEER}" = xyes
; then
9756 if test "x$ac_path_x_has_been_run" != xyes
; then
9757 echo "$as_me:$LINENO: checking for X" >&5
9758 echo $ECHO_N "checking for X... $ECHO_C" >&6
9760 ac_path_x_has_been_run
=yes
9762 # Check whether --with-x or --without-x was given.
9763 if test "${with_x+set}" = set; then
9767 # $have_x is `yes', `no', `disabled', or empty when we do not yet know.
9768 if test "x$with_x" = xno
; then
9769 # The user explicitly disabled X.
9772 if test "x$x_includes" != xNONE
&& test "x$x_libraries" != xNONE
; then
9773 # Both variables are already set.
9776 if test "${ac_cv_have_x+set}" = set; then
9777 echo $ECHO_N "(cached) $ECHO_C" >&6
9779 # One or both of the vars are not set, and there is no cached value.
9780 ac_x_includes
=no ac_x_libraries
=no
9782 if mkdir conftest.dir
; then
9784 # Make sure to not put "make" in the Imakefile rules, since we grep it out.
9785 cat >Imakefile
<<'_ACEOF'
9787 @echo 'ac_im_incroot="${INCROOT}"; ac_im_usrlibdir="${USRLIBDIR}"; ac_im_libdir="${LIBDIR}"'
9789 if (xmkmf
) >/dev
/null
2>/dev
/null
&& test -f Makefile
; then
9790 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
9791 eval `${MAKE-make} acfindx 2>/dev/null | grep -v make`
9792 # Open Windows xmkmf reportedly sets LIBDIR instead of USRLIBDIR.
9793 for ac_extension
in a so sl
; do
9794 if test ! -f $ac_im_usrlibdir/libX11.
$ac_extension &&
9795 test -f $ac_im_libdir/libX11.
$ac_extension; then
9796 ac_im_usrlibdir
=$ac_im_libdir; break
9799 # Screen out bogus values from the imake configuration. They are
9800 # bogus both because they are the default anyway, and because
9801 # using them would break gcc on systems where it needs fixed includes.
9802 case $ac_im_incroot in
9804 *) test -f "$ac_im_incroot/X11/Xos.h" && ac_x_includes
=$ac_im_incroot;;
9806 case $ac_im_usrlibdir in
9808 *) test -d "$ac_im_usrlibdir" && ac_x_libraries
=$ac_im_usrlibdir ;;
9815 # Standard set of common directories for X headers.
9816 # Check X11 before X11Rn because it is often a symlink to the current release.
9828 /usr/local/X11/include
9829 /usr/local/X11R6/include
9830 /usr/local/X11R5/include
9831 /usr/local/X11R4/include
9833 /usr/local/include/X11
9834 /usr/local/include/X11R6
9835 /usr/local/include/X11R5
9836 /usr/local/include/X11R4
9840 /usr/XFree86/include/X11
9844 /usr/unsupported/include
9846 /usr/local/x11r5/include
9847 /usr/lpp/Xamples/include
9849 /usr/openwin/include
9850 /usr/openwin/share/include'
9852 if test "$ac_x_includes" = no
; then
9853 # Guess where to find include files, by looking for a specified header file.
9854 # First, try using that file with no special directory specified.
9855 cat >conftest.
$ac_ext <<_ACEOF
9858 cat confdefs.h
>>conftest.
$ac_ext
9859 cat >>conftest.
$ac_ext <<_ACEOF
9860 /* end confdefs.h. */
9861 #include <X11/Xlib.h>
9863 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
9864 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
9866 grep -v '^ *+' conftest.er1
>conftest.err
9868 cat conftest.err
>&5
9869 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9870 (exit $ac_status); } >/dev
/null
; then
9871 if test -s conftest.err
; then
9872 ac_cpp_err
=$ac_c_preproc_warn_flag
9873 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
9880 if test -z "$ac_cpp_err"; then
9881 # We can compile using X headers with no special include directory.
9884 echo "$as_me: failed program was:" >&5
9885 sed 's/^/| /' conftest.
$ac_ext >&5
9887 for ac_dir
in $ac_x_header_dirs; do
9888 if test -r "$ac_dir/X11/Xlib.h"; then
9889 ac_x_includes
=$ac_dir
9894 rm -f conftest.err conftest.
$ac_ext
9895 fi # $ac_x_includes = no
9897 if test "$ac_x_libraries" = no
; then
9898 # Check for the libraries.
9899 # See if we find them without any special options.
9900 # Don't add to $LIBS permanently.
9903 cat >conftest.
$ac_ext <<_ACEOF
9906 cat confdefs.h
>>conftest.
$ac_ext
9907 cat >>conftest.
$ac_ext <<_ACEOF
9908 /* end confdefs.h. */
9909 #include <X11/Xlib.h>
9918 rm -f conftest.
$ac_objext conftest
$ac_exeext
9919 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
9920 (eval $ac_link) 2>conftest.er1
9922 grep -v '^ *+' conftest.er1
>conftest.err
9924 cat conftest.err
>&5
9925 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9926 (exit $ac_status); } &&
9927 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
9928 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9931 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9932 (exit $ac_status); }; } &&
9933 { ac_try
='test -s conftest$ac_exeext'
9934 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9937 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9938 (exit $ac_status); }; }; then
9940 # We can link X programs with no special library path.
9943 echo "$as_me: failed program was:" >&5
9944 sed 's/^/| /' conftest.
$ac_ext >&5
9947 for ac_dir
in `echo "$ac_x_includes $ac_x_header_dirs" | sed s/include/lib/g`
9949 # Don't even attempt the hair of trying to link an X program!
9950 for ac_extension
in a so sl
; do
9951 if test -r $ac_dir/libX11.
$ac_extension; then
9952 ac_x_libraries
=$ac_dir
9958 rm -f conftest.err conftest.
$ac_objext \
9959 conftest
$ac_exeext conftest.
$ac_ext
9960 fi # $ac_x_libraries = no
9962 if test "$ac_x_includes" = no ||
test "$ac_x_libraries" = no
; then
9963 # Didn't find X anywhere. Cache the known absence of X.
9964 ac_cv_have_x
="have_x=no"
9966 # Record where we found X for the cache.
9967 ac_cv_have_x
="have_x=yes \
9968 ac_x_includes=$ac_x_includes ac_x_libraries=$ac_x_libraries"
9973 eval "$ac_cv_have_x"
9976 if test "$have_x" != yes; then
9977 echo "$as_me:$LINENO: result: $have_x" >&5
9978 echo "${ECHO_T}$have_x" >&6
9981 # If each of the values was on the command line, it overrides each guess.
9982 test "x$x_includes" = xNONE
&& x_includes
=$ac_x_includes
9983 test "x$x_libraries" = xNONE
&& x_libraries
=$ac_x_libraries
9984 # Update the cache value to reflect the command line values.
9985 ac_cv_have_x
="have_x=yes \
9986 ac_x_includes=$x_includes ac_x_libraries=$x_libraries"
9987 # It might be that x_includes is empty (headers are found in the
9988 # standard search path. Then output the corresponding message
9989 ac_out_x_includes
=$x_includes
9990 test "x$x_includes" = x
&& ac_out_x_includes
="in standard search path"
9991 echo "$as_me:$LINENO: result: libraries $x_libraries, headers $ac_out_x_includes" >&5
9992 echo "${ECHO_T}libraries $x_libraries, headers $ac_out_x_includes" >&6
9996 if test "$no_x" = yes; then
9997 # Not all programs may use this symbol, but it does not hurt to define it.
9999 cat >>confdefs.h
<<\_ACEOF
10000 #define X_DISPLAY_MISSING 1
10003 X_CFLAGS
= X_PRE_LIBS
= X_LIBS
= X_EXTRA_LIBS
=
10005 if test -n "$x_includes"; then
10006 X_CFLAGS
="$X_CFLAGS -I$x_includes"
10009 # It would also be nice to do this for all -L options, not just this one.
10010 if test -n "$x_libraries"; then
10011 X_LIBS
="$X_LIBS -L$x_libraries"
10012 # For Solaris; some versions of Sun CC require a space after -R and
10013 # others require no space. Words are not sufficient . . . .
10014 case `(uname -sr) 2>/dev/null` in
10016 echo "$as_me:$LINENO: checking whether -R must be followed by a space" >&5
10017 echo $ECHO_N "checking whether -R must be followed by a space... $ECHO_C" >&6
10018 ac_xsave_LIBS
=$LIBS; LIBS
="$LIBS -R$x_libraries"
10019 cat >conftest.
$ac_ext <<_ACEOF
10022 cat confdefs.h
>>conftest.
$ac_ext
10023 cat >>conftest.
$ac_ext <<_ACEOF
10024 /* end confdefs.h. */
10034 rm -f conftest.
$ac_objext conftest
$ac_exeext
10035 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10036 (eval $ac_link) 2>conftest.er1
10038 grep -v '^ *+' conftest.er1
>conftest.err
10040 cat conftest.err
>&5
10041 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10042 (exit $ac_status); } &&
10043 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
10044 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10045 (eval $ac_try) 2>&5
10047 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10048 (exit $ac_status); }; } &&
10049 { ac_try
='test -s conftest$ac_exeext'
10050 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10051 (eval $ac_try) 2>&5
10053 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10054 (exit $ac_status); }; }; then
10057 echo "$as_me: failed program was:" >&5
10058 sed 's/^/| /' conftest.
$ac_ext >&5
10062 rm -f conftest.err conftest.
$ac_objext \
10063 conftest
$ac_exeext conftest.
$ac_ext
10064 if test $ac_R_nospace = yes; then
10065 echo "$as_me:$LINENO: result: no" >&5
10066 echo "${ECHO_T}no" >&6
10067 X_LIBS
="$X_LIBS -R$x_libraries"
10069 LIBS
="$ac_xsave_LIBS -R $x_libraries"
10070 cat >conftest.
$ac_ext <<_ACEOF
10073 cat confdefs.h
>>conftest.
$ac_ext
10074 cat >>conftest.
$ac_ext <<_ACEOF
10075 /* end confdefs.h. */
10085 rm -f conftest.
$ac_objext conftest
$ac_exeext
10086 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10087 (eval $ac_link) 2>conftest.er1
10089 grep -v '^ *+' conftest.er1
>conftest.err
10091 cat conftest.err
>&5
10092 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10093 (exit $ac_status); } &&
10094 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
10095 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10096 (eval $ac_try) 2>&5
10098 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10099 (exit $ac_status); }; } &&
10100 { ac_try
='test -s conftest$ac_exeext'
10101 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10102 (eval $ac_try) 2>&5
10104 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10105 (exit $ac_status); }; }; then
10108 echo "$as_me: failed program was:" >&5
10109 sed 's/^/| /' conftest.
$ac_ext >&5
10113 rm -f conftest.err conftest.
$ac_objext \
10114 conftest
$ac_exeext conftest.
$ac_ext
10115 if test $ac_R_space = yes; then
10116 echo "$as_me:$LINENO: result: yes" >&5
10117 echo "${ECHO_T}yes" >&6
10118 X_LIBS
="$X_LIBS -R $x_libraries"
10120 echo "$as_me:$LINENO: result: neither works" >&5
10121 echo "${ECHO_T}neither works" >&6
10124 LIBS
=$ac_xsave_LIBS
10128 # Check for system-dependent libraries X programs must link with.
10129 # Do this before checking for the system-independent R6 libraries
10130 # (-lICE), since we may need -lsocket or whatever for X linking.
10132 if test "$ISC" = yes; then
10133 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lnsl_s -linet"
10135 # Martyn Johnson says this is needed for Ultrix, if the X
10136 # libraries were built with DECnet support. And Karl Berry says
10137 # the Alpha needs dnet_stub (dnet does not exist).
10138 ac_xsave_LIBS
="$LIBS"; LIBS
="$LIBS $X_LIBS -lX11"
10139 cat >conftest.
$ac_ext <<_ACEOF
10142 cat confdefs.h
>>conftest.
$ac_ext
10143 cat >>conftest.
$ac_ext <<_ACEOF
10144 /* end confdefs.h. */
10146 /* Override any gcc2 internal prototype to avoid an error. */
10150 /* We use char because int might match the return type of a gcc2
10151 builtin and then its argument prototype would still apply. */
10152 char XOpenDisplay ();
10161 rm -f conftest.
$ac_objext conftest
$ac_exeext
10162 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10163 (eval $ac_link) 2>conftest.er1
10165 grep -v '^ *+' conftest.er1
>conftest.err
10167 cat conftest.err
>&5
10168 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10169 (exit $ac_status); } &&
10170 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
10171 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10172 (eval $ac_try) 2>&5
10174 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10175 (exit $ac_status); }; } &&
10176 { ac_try
='test -s conftest$ac_exeext'
10177 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10178 (eval $ac_try) 2>&5
10180 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10181 (exit $ac_status); }; }; then
10184 echo "$as_me: failed program was:" >&5
10185 sed 's/^/| /' conftest.
$ac_ext >&5
10187 echo "$as_me:$LINENO: checking for dnet_ntoa in -ldnet" >&5
10188 echo $ECHO_N "checking for dnet_ntoa in -ldnet... $ECHO_C" >&6
10189 if test "${ac_cv_lib_dnet_dnet_ntoa+set}" = set; then
10190 echo $ECHO_N "(cached) $ECHO_C" >&6
10192 ac_check_lib_save_LIBS
=$LIBS
10193 LIBS
="-ldnet $LIBS"
10194 cat >conftest.
$ac_ext <<_ACEOF
10197 cat confdefs.h
>>conftest.
$ac_ext
10198 cat >>conftest.
$ac_ext <<_ACEOF
10199 /* end confdefs.h. */
10201 /* Override any gcc2 internal prototype to avoid an error. */
10205 /* We use char because int might match the return type of a gcc2
10206 builtin and then its argument prototype would still apply. */
10216 rm -f conftest.
$ac_objext conftest
$ac_exeext
10217 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10218 (eval $ac_link) 2>conftest.er1
10220 grep -v '^ *+' conftest.er1
>conftest.err
10222 cat conftest.err
>&5
10223 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10224 (exit $ac_status); } &&
10225 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
10226 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10227 (eval $ac_try) 2>&5
10229 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10230 (exit $ac_status); }; } &&
10231 { ac_try
='test -s conftest$ac_exeext'
10232 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10233 (eval $ac_try) 2>&5
10235 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10236 (exit $ac_status); }; }; then
10237 ac_cv_lib_dnet_dnet_ntoa
=yes
10239 echo "$as_me: failed program was:" >&5
10240 sed 's/^/| /' conftest.
$ac_ext >&5
10242 ac_cv_lib_dnet_dnet_ntoa
=no
10244 rm -f conftest.err conftest.
$ac_objext \
10245 conftest
$ac_exeext conftest.
$ac_ext
10246 LIBS
=$ac_check_lib_save_LIBS
10248 echo "$as_me:$LINENO: result: $ac_cv_lib_dnet_dnet_ntoa" >&5
10249 echo "${ECHO_T}$ac_cv_lib_dnet_dnet_ntoa" >&6
10250 if test $ac_cv_lib_dnet_dnet_ntoa = yes; then
10251 X_EXTRA_LIBS
="$X_EXTRA_LIBS -ldnet"
10254 if test $ac_cv_lib_dnet_dnet_ntoa = no
; then
10255 echo "$as_me:$LINENO: checking for dnet_ntoa in -ldnet_stub" >&5
10256 echo $ECHO_N "checking for dnet_ntoa in -ldnet_stub... $ECHO_C" >&6
10257 if test "${ac_cv_lib_dnet_stub_dnet_ntoa+set}" = set; then
10258 echo $ECHO_N "(cached) $ECHO_C" >&6
10260 ac_check_lib_save_LIBS
=$LIBS
10261 LIBS
="-ldnet_stub $LIBS"
10262 cat >conftest.
$ac_ext <<_ACEOF
10265 cat confdefs.h
>>conftest.
$ac_ext
10266 cat >>conftest.
$ac_ext <<_ACEOF
10267 /* end confdefs.h. */
10269 /* Override any gcc2 internal prototype to avoid an error. */
10273 /* We use char because int might match the return type of a gcc2
10274 builtin and then its argument prototype would still apply. */
10284 rm -f conftest.
$ac_objext conftest
$ac_exeext
10285 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10286 (eval $ac_link) 2>conftest.er1
10288 grep -v '^ *+' conftest.er1
>conftest.err
10290 cat conftest.err
>&5
10291 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10292 (exit $ac_status); } &&
10293 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
10294 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10295 (eval $ac_try) 2>&5
10297 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10298 (exit $ac_status); }; } &&
10299 { ac_try
='test -s conftest$ac_exeext'
10300 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10301 (eval $ac_try) 2>&5
10303 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10304 (exit $ac_status); }; }; then
10305 ac_cv_lib_dnet_stub_dnet_ntoa
=yes
10307 echo "$as_me: failed program was:" >&5
10308 sed 's/^/| /' conftest.
$ac_ext >&5
10310 ac_cv_lib_dnet_stub_dnet_ntoa
=no
10312 rm -f conftest.err conftest.
$ac_objext \
10313 conftest
$ac_exeext conftest.
$ac_ext
10314 LIBS
=$ac_check_lib_save_LIBS
10316 echo "$as_me:$LINENO: result: $ac_cv_lib_dnet_stub_dnet_ntoa" >&5
10317 echo "${ECHO_T}$ac_cv_lib_dnet_stub_dnet_ntoa" >&6
10318 if test $ac_cv_lib_dnet_stub_dnet_ntoa = yes; then
10319 X_EXTRA_LIBS
="$X_EXTRA_LIBS -ldnet_stub"
10324 rm -f conftest.err conftest.
$ac_objext \
10325 conftest
$ac_exeext conftest.
$ac_ext
10326 LIBS
="$ac_xsave_LIBS"
10328 # msh@cis.ufl.edu says -lnsl (and -lsocket) are needed for his 386/AT,
10329 # to get the SysV transport functions.
10330 # Chad R. Larson says the Pyramis MIS-ES running DC/OSx (SVR4)
10332 # The nsl library prevents programs from opening the X display
10333 # on Irix 5.2, according to T.E. Dickey.
10334 # The functions gethostbyname, getservbyname, and inet_addr are
10335 # in -lbsd on LynxOS 3.0.1/i386, according to Lars Hecking.
10336 echo "$as_me:$LINENO: checking for gethostbyname" >&5
10337 echo $ECHO_N "checking for gethostbyname... $ECHO_C" >&6
10338 if test "${ac_cv_func_gethostbyname+set}" = set; then
10339 echo $ECHO_N "(cached) $ECHO_C" >&6
10341 cat >conftest.
$ac_ext <<_ACEOF
10344 cat confdefs.h
>>conftest.
$ac_ext
10345 cat >>conftest.
$ac_ext <<_ACEOF
10346 /* end confdefs.h. */
10347 /* Define gethostbyname to an innocuous variant, in case <limits.h> declares gethostbyname.
10348 For example, HP-UX 11i <limits.h> declares gettimeofday. */
10349 #define gethostbyname innocuous_gethostbyname
10351 /* System header to define __stub macros and hopefully few prototypes,
10352 which can conflict with char gethostbyname (); below.
10353 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
10354 <limits.h> exists even on freestanding compilers. */
10357 # include <limits.h>
10359 # include <assert.h>
10362 #undef gethostbyname
10364 /* Override any gcc2 internal prototype to avoid an error. */
10369 /* We use char because int might match the return type of a gcc2
10370 builtin and then its argument prototype would still apply. */
10371 char gethostbyname ();
10372 /* The GNU C library defines this for functions which it implements
10373 to always fail with ENOSYS. Some functions are actually named
10374 something starting with __ and the normal name is an alias. */
10375 #if defined (__stub_gethostbyname) || defined (__stub___gethostbyname)
10378 char (*f) () = gethostbyname;
10387 return f != gethostbyname;
10392 rm -f conftest.
$ac_objext conftest
$ac_exeext
10393 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10394 (eval $ac_link) 2>conftest.er1
10396 grep -v '^ *+' conftest.er1
>conftest.err
10398 cat conftest.err
>&5
10399 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10400 (exit $ac_status); } &&
10401 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
10402 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10403 (eval $ac_try) 2>&5
10405 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10406 (exit $ac_status); }; } &&
10407 { ac_try
='test -s conftest$ac_exeext'
10408 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10409 (eval $ac_try) 2>&5
10411 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10412 (exit $ac_status); }; }; then
10413 ac_cv_func_gethostbyname
=yes
10415 echo "$as_me: failed program was:" >&5
10416 sed 's/^/| /' conftest.
$ac_ext >&5
10418 ac_cv_func_gethostbyname
=no
10420 rm -f conftest.err conftest.
$ac_objext \
10421 conftest
$ac_exeext conftest.
$ac_ext
10423 echo "$as_me:$LINENO: result: $ac_cv_func_gethostbyname" >&5
10424 echo "${ECHO_T}$ac_cv_func_gethostbyname" >&6
10426 if test $ac_cv_func_gethostbyname = no
; then
10427 echo "$as_me:$LINENO: checking for gethostbyname in -lnsl" >&5
10428 echo $ECHO_N "checking for gethostbyname in -lnsl... $ECHO_C" >&6
10429 if test "${ac_cv_lib_nsl_gethostbyname+set}" = set; then
10430 echo $ECHO_N "(cached) $ECHO_C" >&6
10432 ac_check_lib_save_LIBS
=$LIBS
10434 cat >conftest.
$ac_ext <<_ACEOF
10437 cat confdefs.h
>>conftest.
$ac_ext
10438 cat >>conftest.
$ac_ext <<_ACEOF
10439 /* end confdefs.h. */
10441 /* Override any gcc2 internal prototype to avoid an error. */
10445 /* We use char because int might match the return type of a gcc2
10446 builtin and then its argument prototype would still apply. */
10447 char gethostbyname ();
10456 rm -f conftest.
$ac_objext conftest
$ac_exeext
10457 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10458 (eval $ac_link) 2>conftest.er1
10460 grep -v '^ *+' conftest.er1
>conftest.err
10462 cat conftest.err
>&5
10463 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10464 (exit $ac_status); } &&
10465 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
10466 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10467 (eval $ac_try) 2>&5
10469 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10470 (exit $ac_status); }; } &&
10471 { ac_try
='test -s conftest$ac_exeext'
10472 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10473 (eval $ac_try) 2>&5
10475 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10476 (exit $ac_status); }; }; then
10477 ac_cv_lib_nsl_gethostbyname
=yes
10479 echo "$as_me: failed program was:" >&5
10480 sed 's/^/| /' conftest.
$ac_ext >&5
10482 ac_cv_lib_nsl_gethostbyname
=no
10484 rm -f conftest.err conftest.
$ac_objext \
10485 conftest
$ac_exeext conftest.
$ac_ext
10486 LIBS
=$ac_check_lib_save_LIBS
10488 echo "$as_me:$LINENO: result: $ac_cv_lib_nsl_gethostbyname" >&5
10489 echo "${ECHO_T}$ac_cv_lib_nsl_gethostbyname" >&6
10490 if test $ac_cv_lib_nsl_gethostbyname = yes; then
10491 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lnsl"
10494 if test $ac_cv_lib_nsl_gethostbyname = no
; then
10495 echo "$as_me:$LINENO: checking for gethostbyname in -lbsd" >&5
10496 echo $ECHO_N "checking for gethostbyname in -lbsd... $ECHO_C" >&6
10497 if test "${ac_cv_lib_bsd_gethostbyname+set}" = set; then
10498 echo $ECHO_N "(cached) $ECHO_C" >&6
10500 ac_check_lib_save_LIBS
=$LIBS
10502 cat >conftest.
$ac_ext <<_ACEOF
10505 cat confdefs.h
>>conftest.
$ac_ext
10506 cat >>conftest.
$ac_ext <<_ACEOF
10507 /* end confdefs.h. */
10509 /* Override any gcc2 internal prototype to avoid an error. */
10513 /* We use char because int might match the return type of a gcc2
10514 builtin and then its argument prototype would still apply. */
10515 char gethostbyname ();
10524 rm -f conftest.
$ac_objext conftest
$ac_exeext
10525 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10526 (eval $ac_link) 2>conftest.er1
10528 grep -v '^ *+' conftest.er1
>conftest.err
10530 cat conftest.err
>&5
10531 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10532 (exit $ac_status); } &&
10533 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
10534 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10535 (eval $ac_try) 2>&5
10537 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10538 (exit $ac_status); }; } &&
10539 { ac_try
='test -s conftest$ac_exeext'
10540 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10541 (eval $ac_try) 2>&5
10543 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10544 (exit $ac_status); }; }; then
10545 ac_cv_lib_bsd_gethostbyname
=yes
10547 echo "$as_me: failed program was:" >&5
10548 sed 's/^/| /' conftest.
$ac_ext >&5
10550 ac_cv_lib_bsd_gethostbyname
=no
10552 rm -f conftest.err conftest.
$ac_objext \
10553 conftest
$ac_exeext conftest.
$ac_ext
10554 LIBS
=$ac_check_lib_save_LIBS
10556 echo "$as_me:$LINENO: result: $ac_cv_lib_bsd_gethostbyname" >&5
10557 echo "${ECHO_T}$ac_cv_lib_bsd_gethostbyname" >&6
10558 if test $ac_cv_lib_bsd_gethostbyname = yes; then
10559 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lbsd"
10565 # lieder@skyler.mavd.honeywell.com says without -lsocket,
10566 # socket/setsockopt and other routines are undefined under SCO ODT
10567 # 2.0. But -lsocket is broken on IRIX 5.2 (and is not necessary
10568 # on later versions), says Simon Leinen: it contains gethostby*
10569 # variants that don't use the name server (or something). -lsocket
10570 # must be given before -lnsl if both are needed. We assume that
10571 # if connect needs -lnsl, so does gethostbyname.
10572 echo "$as_me:$LINENO: checking for connect" >&5
10573 echo $ECHO_N "checking for connect... $ECHO_C" >&6
10574 if test "${ac_cv_func_connect+set}" = set; then
10575 echo $ECHO_N "(cached) $ECHO_C" >&6
10577 cat >conftest.
$ac_ext <<_ACEOF
10580 cat confdefs.h
>>conftest.
$ac_ext
10581 cat >>conftest.
$ac_ext <<_ACEOF
10582 /* end confdefs.h. */
10583 /* Define connect to an innocuous variant, in case <limits.h> declares connect.
10584 For example, HP-UX 11i <limits.h> declares gettimeofday. */
10585 #define connect innocuous_connect
10587 /* System header to define __stub macros and hopefully few prototypes,
10588 which can conflict with char connect (); below.
10589 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
10590 <limits.h> exists even on freestanding compilers. */
10593 # include <limits.h>
10595 # include <assert.h>
10600 /* Override any gcc2 internal prototype to avoid an error. */
10605 /* We use char because int might match the return type of a gcc2
10606 builtin and then its argument prototype would still apply. */
10608 /* The GNU C library defines this for functions which it implements
10609 to always fail with ENOSYS. Some functions are actually named
10610 something starting with __ and the normal name is an alias. */
10611 #if defined (__stub_connect) || defined (__stub___connect)
10614 char (*f) () = connect;
10623 return f != connect;
10628 rm -f conftest.
$ac_objext conftest
$ac_exeext
10629 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10630 (eval $ac_link) 2>conftest.er1
10632 grep -v '^ *+' conftest.er1
>conftest.err
10634 cat conftest.err
>&5
10635 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10636 (exit $ac_status); } &&
10637 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
10638 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10639 (eval $ac_try) 2>&5
10641 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10642 (exit $ac_status); }; } &&
10643 { ac_try
='test -s conftest$ac_exeext'
10644 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10645 (eval $ac_try) 2>&5
10647 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10648 (exit $ac_status); }; }; then
10649 ac_cv_func_connect
=yes
10651 echo "$as_me: failed program was:" >&5
10652 sed 's/^/| /' conftest.
$ac_ext >&5
10654 ac_cv_func_connect
=no
10656 rm -f conftest.err conftest.
$ac_objext \
10657 conftest
$ac_exeext conftest.
$ac_ext
10659 echo "$as_me:$LINENO: result: $ac_cv_func_connect" >&5
10660 echo "${ECHO_T}$ac_cv_func_connect" >&6
10662 if test $ac_cv_func_connect = no
; then
10663 echo "$as_me:$LINENO: checking for connect in -lsocket" >&5
10664 echo $ECHO_N "checking for connect in -lsocket... $ECHO_C" >&6
10665 if test "${ac_cv_lib_socket_connect+set}" = set; then
10666 echo $ECHO_N "(cached) $ECHO_C" >&6
10668 ac_check_lib_save_LIBS
=$LIBS
10669 LIBS
="-lsocket $X_EXTRA_LIBS $LIBS"
10670 cat >conftest.
$ac_ext <<_ACEOF
10673 cat confdefs.h
>>conftest.
$ac_ext
10674 cat >>conftest.
$ac_ext <<_ACEOF
10675 /* end confdefs.h. */
10677 /* Override any gcc2 internal prototype to avoid an error. */
10681 /* We use char because int might match the return type of a gcc2
10682 builtin and then its argument prototype would still apply. */
10692 rm -f conftest.
$ac_objext conftest
$ac_exeext
10693 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10694 (eval $ac_link) 2>conftest.er1
10696 grep -v '^ *+' conftest.er1
>conftest.err
10698 cat conftest.err
>&5
10699 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10700 (exit $ac_status); } &&
10701 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
10702 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10703 (eval $ac_try) 2>&5
10705 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10706 (exit $ac_status); }; } &&
10707 { ac_try
='test -s conftest$ac_exeext'
10708 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10709 (eval $ac_try) 2>&5
10711 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10712 (exit $ac_status); }; }; then
10713 ac_cv_lib_socket_connect
=yes
10715 echo "$as_me: failed program was:" >&5
10716 sed 's/^/| /' conftest.
$ac_ext >&5
10718 ac_cv_lib_socket_connect
=no
10720 rm -f conftest.err conftest.
$ac_objext \
10721 conftest
$ac_exeext conftest.
$ac_ext
10722 LIBS
=$ac_check_lib_save_LIBS
10724 echo "$as_me:$LINENO: result: $ac_cv_lib_socket_connect" >&5
10725 echo "${ECHO_T}$ac_cv_lib_socket_connect" >&6
10726 if test $ac_cv_lib_socket_connect = yes; then
10727 X_EXTRA_LIBS
="-lsocket $X_EXTRA_LIBS"
10732 # Guillermo Gomez says -lposix is necessary on A/UX.
10733 echo "$as_me:$LINENO: checking for remove" >&5
10734 echo $ECHO_N "checking for remove... $ECHO_C" >&6
10735 if test "${ac_cv_func_remove+set}" = set; then
10736 echo $ECHO_N "(cached) $ECHO_C" >&6
10738 cat >conftest.
$ac_ext <<_ACEOF
10741 cat confdefs.h
>>conftest.
$ac_ext
10742 cat >>conftest.
$ac_ext <<_ACEOF
10743 /* end confdefs.h. */
10744 /* Define remove to an innocuous variant, in case <limits.h> declares remove.
10745 For example, HP-UX 11i <limits.h> declares gettimeofday. */
10746 #define remove innocuous_remove
10748 /* System header to define __stub macros and hopefully few prototypes,
10749 which can conflict with char remove (); below.
10750 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
10751 <limits.h> exists even on freestanding compilers. */
10754 # include <limits.h>
10756 # include <assert.h>
10761 /* Override any gcc2 internal prototype to avoid an error. */
10766 /* We use char because int might match the return type of a gcc2
10767 builtin and then its argument prototype would still apply. */
10769 /* The GNU C library defines this for functions which it implements
10770 to always fail with ENOSYS. Some functions are actually named
10771 something starting with __ and the normal name is an alias. */
10772 #if defined (__stub_remove) || defined (__stub___remove)
10775 char (*f) () = remove;
10784 return f != remove;
10789 rm -f conftest.
$ac_objext conftest
$ac_exeext
10790 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10791 (eval $ac_link) 2>conftest.er1
10793 grep -v '^ *+' conftest.er1
>conftest.err
10795 cat conftest.err
>&5
10796 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10797 (exit $ac_status); } &&
10798 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
10799 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10800 (eval $ac_try) 2>&5
10802 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10803 (exit $ac_status); }; } &&
10804 { ac_try
='test -s conftest$ac_exeext'
10805 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10806 (eval $ac_try) 2>&5
10808 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10809 (exit $ac_status); }; }; then
10810 ac_cv_func_remove
=yes
10812 echo "$as_me: failed program was:" >&5
10813 sed 's/^/| /' conftest.
$ac_ext >&5
10815 ac_cv_func_remove
=no
10817 rm -f conftest.err conftest.
$ac_objext \
10818 conftest
$ac_exeext conftest.
$ac_ext
10820 echo "$as_me:$LINENO: result: $ac_cv_func_remove" >&5
10821 echo "${ECHO_T}$ac_cv_func_remove" >&6
10823 if test $ac_cv_func_remove = no
; then
10824 echo "$as_me:$LINENO: checking for remove in -lposix" >&5
10825 echo $ECHO_N "checking for remove in -lposix... $ECHO_C" >&6
10826 if test "${ac_cv_lib_posix_remove+set}" = set; then
10827 echo $ECHO_N "(cached) $ECHO_C" >&6
10829 ac_check_lib_save_LIBS
=$LIBS
10830 LIBS
="-lposix $LIBS"
10831 cat >conftest.
$ac_ext <<_ACEOF
10834 cat confdefs.h
>>conftest.
$ac_ext
10835 cat >>conftest.
$ac_ext <<_ACEOF
10836 /* end confdefs.h. */
10838 /* Override any gcc2 internal prototype to avoid an error. */
10842 /* We use char because int might match the return type of a gcc2
10843 builtin and then its argument prototype would still apply. */
10853 rm -f conftest.
$ac_objext conftest
$ac_exeext
10854 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10855 (eval $ac_link) 2>conftest.er1
10857 grep -v '^ *+' conftest.er1
>conftest.err
10859 cat conftest.err
>&5
10860 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10861 (exit $ac_status); } &&
10862 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
10863 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10864 (eval $ac_try) 2>&5
10866 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10867 (exit $ac_status); }; } &&
10868 { ac_try
='test -s conftest$ac_exeext'
10869 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10870 (eval $ac_try) 2>&5
10872 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10873 (exit $ac_status); }; }; then
10874 ac_cv_lib_posix_remove
=yes
10876 echo "$as_me: failed program was:" >&5
10877 sed 's/^/| /' conftest.
$ac_ext >&5
10879 ac_cv_lib_posix_remove
=no
10881 rm -f conftest.err conftest.
$ac_objext \
10882 conftest
$ac_exeext conftest.
$ac_ext
10883 LIBS
=$ac_check_lib_save_LIBS
10885 echo "$as_me:$LINENO: result: $ac_cv_lib_posix_remove" >&5
10886 echo "${ECHO_T}$ac_cv_lib_posix_remove" >&6
10887 if test $ac_cv_lib_posix_remove = yes; then
10888 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lposix"
10893 # BSDI BSD/OS 2.1 needs -lipc for XOpenDisplay.
10894 echo "$as_me:$LINENO: checking for shmat" >&5
10895 echo $ECHO_N "checking for shmat... $ECHO_C" >&6
10896 if test "${ac_cv_func_shmat+set}" = set; then
10897 echo $ECHO_N "(cached) $ECHO_C" >&6
10899 cat >conftest.
$ac_ext <<_ACEOF
10902 cat confdefs.h
>>conftest.
$ac_ext
10903 cat >>conftest.
$ac_ext <<_ACEOF
10904 /* end confdefs.h. */
10905 /* Define shmat to an innocuous variant, in case <limits.h> declares shmat.
10906 For example, HP-UX 11i <limits.h> declares gettimeofday. */
10907 #define shmat innocuous_shmat
10909 /* System header to define __stub macros and hopefully few prototypes,
10910 which can conflict with char shmat (); below.
10911 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
10912 <limits.h> exists even on freestanding compilers. */
10915 # include <limits.h>
10917 # include <assert.h>
10922 /* Override any gcc2 internal prototype to avoid an error. */
10927 /* We use char because int might match the return type of a gcc2
10928 builtin and then its argument prototype would still apply. */
10930 /* The GNU C library defines this for functions which it implements
10931 to always fail with ENOSYS. Some functions are actually named
10932 something starting with __ and the normal name is an alias. */
10933 #if defined (__stub_shmat) || defined (__stub___shmat)
10936 char (*f) () = shmat;
10950 rm -f conftest.
$ac_objext conftest
$ac_exeext
10951 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10952 (eval $ac_link) 2>conftest.er1
10954 grep -v '^ *+' conftest.er1
>conftest.err
10956 cat conftest.err
>&5
10957 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10958 (exit $ac_status); } &&
10959 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
10960 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10961 (eval $ac_try) 2>&5
10963 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10964 (exit $ac_status); }; } &&
10965 { ac_try
='test -s conftest$ac_exeext'
10966 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10967 (eval $ac_try) 2>&5
10969 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10970 (exit $ac_status); }; }; then
10971 ac_cv_func_shmat
=yes
10973 echo "$as_me: failed program was:" >&5
10974 sed 's/^/| /' conftest.
$ac_ext >&5
10976 ac_cv_func_shmat
=no
10978 rm -f conftest.err conftest.
$ac_objext \
10979 conftest
$ac_exeext conftest.
$ac_ext
10981 echo "$as_me:$LINENO: result: $ac_cv_func_shmat" >&5
10982 echo "${ECHO_T}$ac_cv_func_shmat" >&6
10984 if test $ac_cv_func_shmat = no
; then
10985 echo "$as_me:$LINENO: checking for shmat in -lipc" >&5
10986 echo $ECHO_N "checking for shmat in -lipc... $ECHO_C" >&6
10987 if test "${ac_cv_lib_ipc_shmat+set}" = set; then
10988 echo $ECHO_N "(cached) $ECHO_C" >&6
10990 ac_check_lib_save_LIBS
=$LIBS
10992 cat >conftest.
$ac_ext <<_ACEOF
10995 cat confdefs.h
>>conftest.
$ac_ext
10996 cat >>conftest.
$ac_ext <<_ACEOF
10997 /* end confdefs.h. */
10999 /* Override any gcc2 internal prototype to avoid an error. */
11003 /* We use char because int might match the return type of a gcc2
11004 builtin and then its argument prototype would still apply. */
11014 rm -f conftest.
$ac_objext conftest
$ac_exeext
11015 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
11016 (eval $ac_link) 2>conftest.er1
11018 grep -v '^ *+' conftest.er1
>conftest.err
11020 cat conftest.err
>&5
11021 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11022 (exit $ac_status); } &&
11023 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
11024 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11025 (eval $ac_try) 2>&5
11027 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11028 (exit $ac_status); }; } &&
11029 { ac_try
='test -s conftest$ac_exeext'
11030 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11031 (eval $ac_try) 2>&5
11033 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11034 (exit $ac_status); }; }; then
11035 ac_cv_lib_ipc_shmat
=yes
11037 echo "$as_me: failed program was:" >&5
11038 sed 's/^/| /' conftest.
$ac_ext >&5
11040 ac_cv_lib_ipc_shmat
=no
11042 rm -f conftest.err conftest.
$ac_objext \
11043 conftest
$ac_exeext conftest.
$ac_ext
11044 LIBS
=$ac_check_lib_save_LIBS
11046 echo "$as_me:$LINENO: result: $ac_cv_lib_ipc_shmat" >&5
11047 echo "${ECHO_T}$ac_cv_lib_ipc_shmat" >&6
11048 if test $ac_cv_lib_ipc_shmat = yes; then
11049 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lipc"
11055 # Check for libraries that X11R6 Xt/Xaw programs need.
11056 ac_save_LDFLAGS
=$LDFLAGS
11057 test -n "$x_libraries" && LDFLAGS
="$LDFLAGS -L$x_libraries"
11058 # SM needs ICE to (dynamically) link under SunOS 4.x (so we have to
11059 # check for ICE first), but we must link in the order -lSM -lICE or
11060 # we get undefined symbols. So assume we have SM if we have ICE.
11061 # These have to be linked with before -lX11, unlike the other
11062 # libraries we check for below, so use a different variable.
11063 # John Interrante, Karl Berry
11064 echo "$as_me:$LINENO: checking for IceConnectionNumber in -lICE" >&5
11065 echo $ECHO_N "checking for IceConnectionNumber in -lICE... $ECHO_C" >&6
11066 if test "${ac_cv_lib_ICE_IceConnectionNumber+set}" = set; then
11067 echo $ECHO_N "(cached) $ECHO_C" >&6
11069 ac_check_lib_save_LIBS
=$LIBS
11070 LIBS
="-lICE $X_EXTRA_LIBS $LIBS"
11071 cat >conftest.
$ac_ext <<_ACEOF
11074 cat confdefs.h
>>conftest.
$ac_ext
11075 cat >>conftest.
$ac_ext <<_ACEOF
11076 /* end confdefs.h. */
11078 /* Override any gcc2 internal prototype to avoid an error. */
11082 /* We use char because int might match the return type of a gcc2
11083 builtin and then its argument prototype would still apply. */
11084 char IceConnectionNumber ();
11088 IceConnectionNumber ();
11093 rm -f conftest.
$ac_objext conftest
$ac_exeext
11094 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
11095 (eval $ac_link) 2>conftest.er1
11097 grep -v '^ *+' conftest.er1
>conftest.err
11099 cat conftest.err
>&5
11100 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11101 (exit $ac_status); } &&
11102 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
11103 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11104 (eval $ac_try) 2>&5
11106 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11107 (exit $ac_status); }; } &&
11108 { ac_try
='test -s conftest$ac_exeext'
11109 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11110 (eval $ac_try) 2>&5
11112 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11113 (exit $ac_status); }; }; then
11114 ac_cv_lib_ICE_IceConnectionNumber
=yes
11116 echo "$as_me: failed program was:" >&5
11117 sed 's/^/| /' conftest.
$ac_ext >&5
11119 ac_cv_lib_ICE_IceConnectionNumber
=no
11121 rm -f conftest.err conftest.
$ac_objext \
11122 conftest
$ac_exeext conftest.
$ac_ext
11123 LIBS
=$ac_check_lib_save_LIBS
11125 echo "$as_me:$LINENO: result: $ac_cv_lib_ICE_IceConnectionNumber" >&5
11126 echo "${ECHO_T}$ac_cv_lib_ICE_IceConnectionNumber" >&6
11127 if test $ac_cv_lib_ICE_IceConnectionNumber = yes; then
11128 X_PRE_LIBS
="$X_PRE_LIBS -lSM -lICE"
11131 LDFLAGS
=$ac_save_LDFLAGS
11135 if test "$no_x" = yes; then
11136 { { echo "$as_me:$LINENO: error: GTK+ peers requested but no X library available" >&5
11137 echo "$as_me: error: GTK+ peers requested but no X library available" >&2;}
11138 { (exit 1); exit 1; }; }
11140 echo "$as_me:$LINENO: checking for XTestQueryExtension in -lXtst" >&5
11141 echo $ECHO_N "checking for XTestQueryExtension in -lXtst... $ECHO_C" >&6
11142 if test "${ac_cv_lib_Xtst_XTestQueryExtension+set}" = set; then
11143 echo $ECHO_N "(cached) $ECHO_C" >&6
11145 ac_check_lib_save_LIBS
=$LIBS
11146 LIBS
="-lXtst ${X_LIBS} $LIBS"
11147 cat >conftest.
$ac_ext <<_ACEOF
11150 cat confdefs.h
>>conftest.
$ac_ext
11151 cat >>conftest.
$ac_ext <<_ACEOF
11152 /* end confdefs.h. */
11154 /* Override any gcc2 internal prototype to avoid an error. */
11158 /* We use char because int might match the return type of a gcc2
11159 builtin and then its argument prototype would still apply. */
11160 char XTestQueryExtension ();
11164 XTestQueryExtension ();
11169 rm -f conftest.
$ac_objext conftest
$ac_exeext
11170 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
11171 (eval $ac_link) 2>conftest.er1
11173 grep -v '^ *+' conftest.er1
>conftest.err
11175 cat conftest.err
>&5
11176 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11177 (exit $ac_status); } &&
11178 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
11179 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11180 (eval $ac_try) 2>&5
11182 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11183 (exit $ac_status); }; } &&
11184 { ac_try
='test -s conftest$ac_exeext'
11185 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11186 (eval $ac_try) 2>&5
11188 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11189 (exit $ac_status); }; }; then
11190 ac_cv_lib_Xtst_XTestQueryExtension
=yes
11192 echo "$as_me: failed program was:" >&5
11193 sed 's/^/| /' conftest.
$ac_ext >&5
11195 ac_cv_lib_Xtst_XTestQueryExtension
=no
11197 rm -f conftest.err conftest.
$ac_objext \
11198 conftest
$ac_exeext conftest.
$ac_ext
11199 LIBS
=$ac_check_lib_save_LIBS
11201 echo "$as_me:$LINENO: result: $ac_cv_lib_Xtst_XTestQueryExtension" >&5
11202 echo "${ECHO_T}$ac_cv_lib_Xtst_XTestQueryExtension" >&6
11203 if test $ac_cv_lib_Xtst_XTestQueryExtension = yes; then
11206 { { echo "$as_me:$LINENO: error: libXtst NOT found, required for GdkRobot" >&5
11207 echo "$as_me: error: libXtst NOT found, required for GdkRobot" >&2;}
11208 { (exit 1); exit 1; }; }
11214 if test -z "$PKG_CONFIG"; then
11215 # Extract the first word of "pkg-config", so it can be a program name with args.
11216 set dummy pkg-config
; ac_word
=$2
11217 echo "$as_me:$LINENO: checking for $ac_word" >&5
11218 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
11219 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
11220 echo $ECHO_N "(cached) $ECHO_C" >&6
11222 case $PKG_CONFIG in
11224 ac_cv_path_PKG_CONFIG
="$PKG_CONFIG" # Let the user override the test with a path.
11227 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
11228 for as_dir
in $PATH
11231 test -z "$as_dir" && as_dir
=.
11232 for ac_exec_ext
in '' $ac_executable_extensions; do
11233 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
11234 ac_cv_path_PKG_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
11235 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
11241 test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG
="no"
11245 PKG_CONFIG
=$ac_cv_path_PKG_CONFIG
11247 if test -n "$PKG_CONFIG"; then
11248 echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
11249 echo "${ECHO_T}$PKG_CONFIG" >&6
11251 echo "$as_me:$LINENO: result: no" >&5
11252 echo "${ECHO_T}no" >&6
11257 if test "$PKG_CONFIG" = "no" ; then
11258 echo "*** The pkg-config script could not be found. Make sure it is"
11259 echo "*** in your path, or set the PKG_CONFIG environment variable"
11260 echo "*** to the full path to pkg-config."
11261 echo "*** Or see http://www.freedesktop.org/software/pkgconfig to get pkg-config."
11263 PKG_CONFIG_MIN_VERSION
=0.9.0
11264 if $PKG_CONFIG --atleast-pkgconfig-version $PKG_CONFIG_MIN_VERSION; then
11265 echo "$as_me:$LINENO: checking for gtk+-2.0 >= 2.4 gthread-2.0 >= 2.2 gdk-pixbuf-2.0" >&5
11266 echo $ECHO_N "checking for gtk+-2.0 >= 2.4 gthread-2.0 >= 2.2 gdk-pixbuf-2.0... $ECHO_C" >&6
11268 if $PKG_CONFIG --exists "gtk+-2.0 >= 2.4 gthread-2.0 >= 2.2 gdk-pixbuf-2.0" ; then
11269 echo "$as_me:$LINENO: result: yes" >&5
11270 echo "${ECHO_T}yes" >&6
11273 echo "$as_me:$LINENO: checking GTK_CFLAGS" >&5
11274 echo $ECHO_N "checking GTK_CFLAGS... $ECHO_C" >&6
11275 GTK_CFLAGS
=`$PKG_CONFIG --cflags "gtk+-2.0 >= 2.4 gthread-2.0 >= 2.2 gdk-pixbuf-2.0"`
11276 echo "$as_me:$LINENO: result: $GTK_CFLAGS" >&5
11277 echo "${ECHO_T}$GTK_CFLAGS" >&6
11279 echo "$as_me:$LINENO: checking GTK_LIBS" >&5
11280 echo $ECHO_N "checking GTK_LIBS... $ECHO_C" >&6
11281 GTK_LIBS
=`$PKG_CONFIG --libs "gtk+-2.0 >= 2.4 gthread-2.0 >= 2.2 gdk-pixbuf-2.0"`
11282 echo "$as_me:$LINENO: result: $GTK_LIBS" >&5
11283 echo "${ECHO_T}$GTK_LIBS" >&6
11287 ## If we have a custom action on failure, don't print errors, but
11288 ## do set a variable so people can do so.
11289 GTK_PKG_ERRORS
=`$PKG_CONFIG --errors-to-stdout --print-errors "gtk+-2.0 >= 2.4 gthread-2.0 >= 2.2 gdk-pixbuf-2.0"`
11290 echo $GTK_PKG_ERRORS
11296 echo "*** Your version of pkg-config is too old. You need version $PKG_CONFIG_MIN_VERSION or newer."
11297 echo "*** See http://www.freedesktop.org/software/pkgconfig"
11301 if test $succeeded = yes; then
11304 { { 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
11305 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;}
11306 { (exit 1); exit 1; }; }
11310 if test "x${enable_gtk_cairo}" = xyes
; then
11314 if test -z "$PKG_CONFIG"; then
11315 # Extract the first word of "pkg-config", so it can be a program name with args.
11316 set dummy pkg-config
; ac_word
=$2
11317 echo "$as_me:$LINENO: checking for $ac_word" >&5
11318 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
11319 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
11320 echo $ECHO_N "(cached) $ECHO_C" >&6
11322 case $PKG_CONFIG in
11324 ac_cv_path_PKG_CONFIG
="$PKG_CONFIG" # Let the user override the test with a path.
11327 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
11328 for as_dir
in $PATH
11331 test -z "$as_dir" && as_dir
=.
11332 for ac_exec_ext
in '' $ac_executable_extensions; do
11333 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
11334 ac_cv_path_PKG_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
11335 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
11341 test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG
="no"
11345 PKG_CONFIG
=$ac_cv_path_PKG_CONFIG
11347 if test -n "$PKG_CONFIG"; then
11348 echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
11349 echo "${ECHO_T}$PKG_CONFIG" >&6
11351 echo "$as_me:$LINENO: result: no" >&5
11352 echo "${ECHO_T}no" >&6
11357 if test "$PKG_CONFIG" = "no" ; then
11358 echo "*** The pkg-config script could not be found. Make sure it is"
11359 echo "*** in your path, or set the PKG_CONFIG environment variable"
11360 echo "*** to the full path to pkg-config."
11361 echo "*** Or see http://www.freedesktop.org/software/pkgconfig to get pkg-config."
11363 PKG_CONFIG_MIN_VERSION
=0.9.0
11364 if $PKG_CONFIG --atleast-pkgconfig-version $PKG_CONFIG_MIN_VERSION; then
11365 echo "$as_me:$LINENO: checking for cairo >= 0.5.0" >&5
11366 echo $ECHO_N "checking for cairo >= 0.5.0... $ECHO_C" >&6
11368 if $PKG_CONFIG --exists "cairo >= 0.5.0" ; then
11369 echo "$as_me:$LINENO: result: yes" >&5
11370 echo "${ECHO_T}yes" >&6
11373 echo "$as_me:$LINENO: checking CAIRO_CFLAGS" >&5
11374 echo $ECHO_N "checking CAIRO_CFLAGS... $ECHO_C" >&6
11375 CAIRO_CFLAGS
=`$PKG_CONFIG --cflags "cairo >= 0.5.0"`
11376 echo "$as_me:$LINENO: result: $CAIRO_CFLAGS" >&5
11377 echo "${ECHO_T}$CAIRO_CFLAGS" >&6
11379 echo "$as_me:$LINENO: checking CAIRO_LIBS" >&5
11380 echo $ECHO_N "checking CAIRO_LIBS... $ECHO_C" >&6
11381 CAIRO_LIBS
=`$PKG_CONFIG --libs "cairo >= 0.5.0"`
11382 echo "$as_me:$LINENO: result: $CAIRO_LIBS" >&5
11383 echo "${ECHO_T}$CAIRO_LIBS" >&6
11387 ## If we have a custom action on failure, don't print errors, but
11388 ## do set a variable so people can do so.
11389 CAIRO_PKG_ERRORS
=`$PKG_CONFIG --errors-to-stdout --print-errors "cairo >= 0.5.0"`
11390 echo $CAIRO_PKG_ERRORS
11396 echo "*** Your version of pkg-config is too old. You need version $PKG_CONFIG_MIN_VERSION or newer."
11397 echo "*** See http://www.freedesktop.org/software/pkgconfig"
11401 if test $succeeded = yes; then
11404 { { 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
11405 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;}
11406 { (exit 1); exit 1; }; }
11414 if test -z "$PKG_CONFIG"; then
11415 # Extract the first word of "pkg-config", so it can be a program name with args.
11416 set dummy pkg-config
; ac_word
=$2
11417 echo "$as_me:$LINENO: checking for $ac_word" >&5
11418 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
11419 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
11420 echo $ECHO_N "(cached) $ECHO_C" >&6
11422 case $PKG_CONFIG in
11424 ac_cv_path_PKG_CONFIG
="$PKG_CONFIG" # Let the user override the test with a path.
11427 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
11428 for as_dir
in $PATH
11431 test -z "$as_dir" && as_dir
=.
11432 for ac_exec_ext
in '' $ac_executable_extensions; do
11433 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
11434 ac_cv_path_PKG_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
11435 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
11441 test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG
="no"
11445 PKG_CONFIG
=$ac_cv_path_PKG_CONFIG
11447 if test -n "$PKG_CONFIG"; then
11448 echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
11449 echo "${ECHO_T}$PKG_CONFIG" >&6
11451 echo "$as_me:$LINENO: result: no" >&5
11452 echo "${ECHO_T}no" >&6
11457 if test "$PKG_CONFIG" = "no" ; then
11458 echo "*** The pkg-config script could not be found. Make sure it is"
11459 echo "*** in your path, or set the PKG_CONFIG environment variable"
11460 echo "*** to the full path to pkg-config."
11461 echo "*** Or see http://www.freedesktop.org/software/pkgconfig to get pkg-config."
11463 PKG_CONFIG_MIN_VERSION
=0.9.0
11464 if $PKG_CONFIG --atleast-pkgconfig-version $PKG_CONFIG_MIN_VERSION; then
11465 echo "$as_me:$LINENO: checking for freetype2" >&5
11466 echo $ECHO_N "checking for freetype2... $ECHO_C" >&6
11468 if $PKG_CONFIG --exists "freetype2" ; then
11469 echo "$as_me:$LINENO: result: yes" >&5
11470 echo "${ECHO_T}yes" >&6
11473 echo "$as_me:$LINENO: checking FREETYPE2_CFLAGS" >&5
11474 echo $ECHO_N "checking FREETYPE2_CFLAGS... $ECHO_C" >&6
11475 FREETYPE2_CFLAGS
=`$PKG_CONFIG --cflags "freetype2"`
11476 echo "$as_me:$LINENO: result: $FREETYPE2_CFLAGS" >&5
11477 echo "${ECHO_T}$FREETYPE2_CFLAGS" >&6
11479 echo "$as_me:$LINENO: checking FREETYPE2_LIBS" >&5
11480 echo $ECHO_N "checking FREETYPE2_LIBS... $ECHO_C" >&6
11481 FREETYPE2_LIBS
=`$PKG_CONFIG --libs "freetype2"`
11482 echo "$as_me:$LINENO: result: $FREETYPE2_LIBS" >&5
11483 echo "${ECHO_T}$FREETYPE2_LIBS" >&6
11485 FREETYPE2_CFLAGS
=""
11487 ## If we have a custom action on failure, don't print errors, but
11488 ## do set a variable so people can do so.
11489 FREETYPE2_PKG_ERRORS
=`$PKG_CONFIG --errors-to-stdout --print-errors "freetype2"`
11490 echo $FREETYPE2_PKG_ERRORS
11496 echo "*** Your version of pkg-config is too old. You need version $PKG_CONFIG_MIN_VERSION or newer."
11497 echo "*** See http://www.freedesktop.org/software/pkgconfig"
11501 if test $succeeded = yes; then
11504 { { 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
11505 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;}
11506 { (exit 1); exit 1; }; }
11512 if test -z "$PKG_CONFIG"; then
11513 # Extract the first word of "pkg-config", so it can be a program name with args.
11514 set dummy pkg-config
; ac_word
=$2
11515 echo "$as_me:$LINENO: checking for $ac_word" >&5
11516 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
11517 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
11518 echo $ECHO_N "(cached) $ECHO_C" >&6
11520 case $PKG_CONFIG in
11522 ac_cv_path_PKG_CONFIG
="$PKG_CONFIG" # Let the user override the test with a path.
11525 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
11526 for as_dir
in $PATH
11529 test -z "$as_dir" && as_dir
=.
11530 for ac_exec_ext
in '' $ac_executable_extensions; do
11531 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
11532 ac_cv_path_PKG_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
11533 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
11539 test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG
="no"
11543 PKG_CONFIG
=$ac_cv_path_PKG_CONFIG
11545 if test -n "$PKG_CONFIG"; then
11546 echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
11547 echo "${ECHO_T}$PKG_CONFIG" >&6
11549 echo "$as_me:$LINENO: result: no" >&5
11550 echo "${ECHO_T}no" >&6
11555 if test "$PKG_CONFIG" = "no" ; then
11556 echo "*** The pkg-config script could not be found. Make sure it is"
11557 echo "*** in your path, or set the PKG_CONFIG environment variable"
11558 echo "*** to the full path to pkg-config."
11559 echo "*** Or see http://www.freedesktop.org/software/pkgconfig to get pkg-config."
11561 PKG_CONFIG_MIN_VERSION
=0.9.0
11562 if $PKG_CONFIG --atleast-pkgconfig-version $PKG_CONFIG_MIN_VERSION; then
11563 echo "$as_me:$LINENO: checking for pangoft2" >&5
11564 echo $ECHO_N "checking for pangoft2... $ECHO_C" >&6
11566 if $PKG_CONFIG --exists "pangoft2" ; then
11567 echo "$as_me:$LINENO: result: yes" >&5
11568 echo "${ECHO_T}yes" >&6
11571 echo "$as_me:$LINENO: checking PANGOFT2_CFLAGS" >&5
11572 echo $ECHO_N "checking PANGOFT2_CFLAGS... $ECHO_C" >&6
11573 PANGOFT2_CFLAGS
=`$PKG_CONFIG --cflags "pangoft2"`
11574 echo "$as_me:$LINENO: result: $PANGOFT2_CFLAGS" >&5
11575 echo "${ECHO_T}$PANGOFT2_CFLAGS" >&6
11577 echo "$as_me:$LINENO: checking PANGOFT2_LIBS" >&5
11578 echo $ECHO_N "checking PANGOFT2_LIBS... $ECHO_C" >&6
11579 PANGOFT2_LIBS
=`$PKG_CONFIG --libs "pangoft2"`
11580 echo "$as_me:$LINENO: result: $PANGOFT2_LIBS" >&5
11581 echo "${ECHO_T}$PANGOFT2_LIBS" >&6
11585 ## If we have a custom action on failure, don't print errors, but
11586 ## do set a variable so people can do so.
11587 PANGOFT2_PKG_ERRORS
=`$PKG_CONFIG --errors-to-stdout --print-errors "pangoft2"`
11588 echo $PANGOFT2_PKG_ERRORS
11594 echo "*** Your version of pkg-config is too old. You need version $PKG_CONFIG_MIN_VERSION or newer."
11595 echo "*** See http://www.freedesktop.org/software/pkgconfig"
11599 if test $succeeded = yes; then
11602 { { 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
11603 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;}
11604 { (exit 1); exit 1; }; }
11618 if test "x${COMPILE_QT_PEER}" = xyes
; then
11622 if test -z "$PKG_CONFIG"; then
11623 # Extract the first word of "pkg-config", so it can be a program name with args.
11624 set dummy pkg-config
; ac_word
=$2
11625 echo "$as_me:$LINENO: checking for $ac_word" >&5
11626 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
11627 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
11628 echo $ECHO_N "(cached) $ECHO_C" >&6
11630 case $PKG_CONFIG in
11632 ac_cv_path_PKG_CONFIG
="$PKG_CONFIG" # Let the user override the test with a path.
11635 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
11636 for as_dir
in $PATH
11639 test -z "$as_dir" && as_dir
=.
11640 for ac_exec_ext
in '' $ac_executable_extensions; do
11641 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
11642 ac_cv_path_PKG_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
11643 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
11649 test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG
="no"
11653 PKG_CONFIG
=$ac_cv_path_PKG_CONFIG
11655 if test -n "$PKG_CONFIG"; then
11656 echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
11657 echo "${ECHO_T}$PKG_CONFIG" >&6
11659 echo "$as_me:$LINENO: result: no" >&5
11660 echo "${ECHO_T}no" >&6
11665 if test "$PKG_CONFIG" = "no" ; then
11666 echo "*** The pkg-config script could not be found. Make sure it is"
11667 echo "*** in your path, or set the PKG_CONFIG environment variable"
11668 echo "*** to the full path to pkg-config."
11669 echo "*** Or see http://www.freedesktop.org/software/pkgconfig to get pkg-config."
11671 PKG_CONFIG_MIN_VERSION
=0.9.0
11672 if $PKG_CONFIG --atleast-pkgconfig-version $PKG_CONFIG_MIN_VERSION; then
11673 echo "$as_me:$LINENO: checking for QtCore QtGui >= 4.1.0" >&5
11674 echo $ECHO_N "checking for QtCore QtGui >= 4.1.0... $ECHO_C" >&6
11676 if $PKG_CONFIG --exists "QtCore QtGui >= 4.1.0" ; then
11677 echo "$as_me:$LINENO: result: yes" >&5
11678 echo "${ECHO_T}yes" >&6
11681 echo "$as_me:$LINENO: checking QT_CFLAGS" >&5
11682 echo $ECHO_N "checking QT_CFLAGS... $ECHO_C" >&6
11683 QT_CFLAGS
=`$PKG_CONFIG --cflags "QtCore QtGui >= 4.1.0"`
11684 echo "$as_me:$LINENO: result: $QT_CFLAGS" >&5
11685 echo "${ECHO_T}$QT_CFLAGS" >&6
11687 echo "$as_me:$LINENO: checking QT_LIBS" >&5
11688 echo $ECHO_N "checking QT_LIBS... $ECHO_C" >&6
11689 QT_LIBS
=`$PKG_CONFIG --libs "QtCore QtGui >= 4.1.0"`
11690 echo "$as_me:$LINENO: result: $QT_LIBS" >&5
11691 echo "${ECHO_T}$QT_LIBS" >&6
11695 ## If we have a custom action on failure, don't print errors, but
11696 ## do set a variable so people can do so.
11697 QT_PKG_ERRORS
=`$PKG_CONFIG --errors-to-stdout --print-errors "QtCore QtGui >= 4.1.0"`
11704 echo "*** Your version of pkg-config is too old. You need version $PKG_CONFIG_MIN_VERSION or newer."
11705 echo "*** See http://www.freedesktop.org/software/pkgconfig"
11709 if test $succeeded = yes; then
11715 if test "x$HAVE_QT4" = "xyes"; then
11716 QT_INCLUDE_DIR
=$
($PKG_CONFIG --variable=includedir QtGui
)
11717 EXTRA_QT_INCLUDE_DIR
="$QT_INCLUDE_DIR/Qt"
11718 as_ac_File
=`echo "ac_cv_file_$QT_INCLUDE_DIR/QWidget" | $as_tr_sh`
11719 echo "$as_me:$LINENO: checking for $QT_INCLUDE_DIR/QWidget" >&5
11720 echo $ECHO_N "checking for $QT_INCLUDE_DIR/QWidget... $ECHO_C" >&6
11721 if eval "test \"\${$as_ac_File+set}\" = set"; then
11722 echo $ECHO_N "(cached) $ECHO_C" >&6
11724 test "$cross_compiling" = yes &&
11725 { { echo "$as_me:$LINENO: error: cannot check for file existence when cross compiling" >&5
11726 echo "$as_me: error: cannot check for file existence when cross compiling" >&2;}
11727 { (exit 1); exit 1; }; }
11728 if test -r "$QT_INCLUDE_DIR/QWidget"; then
11729 eval "$as_ac_File=yes"
11731 eval "$as_ac_File=no"
11734 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_File'}'`" >&5
11735 echo "${ECHO_T}`eval echo '${'$as_ac_File'}'`" >&6
11736 if test `eval echo '${'$as_ac_File'}'` = yes; then
11737 { echo "$as_me:$LINENO: No extra QT_INCLUDE_DIR needed" >&5
11738 echo "$as_me: No extra QT_INCLUDE_DIR needed" >&6;}
11740 as_ac_File
=`echo "ac_cv_file_$EXTRA_QT_INCLUDE_DIR/QWidget" | $as_tr_sh`
11741 echo "$as_me:$LINENO: checking for $EXTRA_QT_INCLUDE_DIR/QWidget" >&5
11742 echo $ECHO_N "checking for $EXTRA_QT_INCLUDE_DIR/QWidget... $ECHO_C" >&6
11743 if eval "test \"\${$as_ac_File+set}\" = set"; then
11744 echo $ECHO_N "(cached) $ECHO_C" >&6
11746 test "$cross_compiling" = yes &&
11747 { { echo "$as_me:$LINENO: error: cannot check for file existence when cross compiling" >&5
11748 echo "$as_me: error: cannot check for file existence when cross compiling" >&2;}
11749 { (exit 1); exit 1; }; }
11750 if test -r "$EXTRA_QT_INCLUDE_DIR/QWidget"; then
11751 eval "$as_ac_File=yes"
11753 eval "$as_ac_File=no"
11756 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_File'}'`" >&5
11757 echo "${ECHO_T}`eval echo '${'$as_ac_File'}'`" >&6
11758 if test `eval echo '${'$as_ac_File'}'` = yes; then
11759 QT_CFLAGS
="$QT_CFLAGS -I$EXTRA_QT_INCLUDE_DIR"
11761 { echo "$as_me:$LINENO: WARNING: QWidget not found" >&5
11762 echo "$as_me: WARNING: QWidget not found" >&2;}
11767 # Extract the first word of "moc", so it can be a program name with args.
11768 set dummy moc
; ac_word
=$2
11769 echo "$as_me:$LINENO: checking for $ac_word" >&5
11770 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
11771 if test "${ac_cv_prog_MOC+set}" = set; then
11772 echo $ECHO_N "(cached) $ECHO_C" >&6
11774 if test -n "$MOC"; then
11775 ac_cv_prog_MOC
="$MOC" # Let the user override the test.
11777 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
11778 for as_dir
in $PATH
11781 test -z "$as_dir" && as_dir
=.
11782 for ac_exec_ext
in '' $ac_executable_extensions; do
11783 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
11784 ac_cv_prog_MOC
="moc"
11785 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
11793 MOC
=$ac_cv_prog_MOC
11794 if test -n "$MOC"; then
11795 echo "$as_me:$LINENO: result: $MOC" >&5
11796 echo "${ECHO_T}$MOC" >&6
11798 echo "$as_me:$LINENO: result: no" >&5
11799 echo "${ECHO_T}no" >&6
11803 if test "x$HAVE_QT4" = "xno"; then
11804 { echo "$as_me:$LINENO: Looking for QT_CFLAGS and QT_LIBS without pkg-config" >&5
11805 echo "$as_me: Looking for QT_CFLAGS and QT_LIBS without pkg-config" >&6;}
11809 # Check whether --with-qt4dir or --without-qt4dir was given.
11810 if test "${with_qt4dir+set}" = set; then
11811 withval
="$with_qt4dir"
11815 if test x
"$QT4DIR" = x
; then
11816 { { echo "$as_me:$LINENO: error: *** No path for Qt4 --with-qt4dir option given" >&5
11817 echo "$as_me: error: *** No path for Qt4 --with-qt4dir option given" >&2;}
11818 { (exit 1); exit 1; }; }
11820 echo "$as_me:$LINENO: result: QT4DIR... $QT4DIR" >&5
11821 echo "${ECHO_T}QT4DIR... $QT4DIR" >&6
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 $QT4DIR/bin
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
="$QT4DIR/bin/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
11857 if test x
"$MOC" = x
; then
11858 { { echo "$as_me:$LINENO: error: *** This is not the right Qt installation" >&5
11859 echo "$as_me: error: *** This is not the right Qt installation" >&2;}
11860 { (exit 1); exit 1; }; }
11862 QT_CFLAGS
="-F$QT4DIR/lib -I$QT4DIR/lib/QtCore.framework/Headers"
11863 QT_CFLAGS
="$QT_CFLAGS -I$QT4DIR/lib/QtGui.framework/Headers"
11864 QT_LIBS
="-Xlinker -F$QT4DIR/lib -Xlinker -framework -Xlinker QtCore"
11865 QT_LIBS
="$QT_LIBS -Xlinker -framework -Xlinker QtGui"
11868 { { echo "$as_me:$LINENO: error: *** Please check PKG_CONFIG_PATH or the version
11869 of your installed Qt4 installation." >&5
11870 echo "$as_me: error: *** Please check PKG_CONFIG_PATH or the version
11871 of your installed Qt4 installation." >&2;}
11872 { (exit 1); exit 1; }; }
11876 { echo "$as_me:$LINENO: Set QT_CFLAGS... $QT_CFLAGS" >&5
11877 echo "$as_me: Set QT_CFLAGS... $QT_CFLAGS" >&6;}
11885 # Check whether --with-javah or --without-javah was given.
11886 if test "${with_javah+set}" = set; then
11887 withval
="$with_javah"
11889 if test "x${withval}" != x && test "x${withval}" != xyes && test "x${withval}" != xno
; then
11891 if test "x${withval}" != x
; then
11892 if test -f "${withval}"; then
11893 USER_JAVAH
="${withval}"
11895 # Extract the first word of ""${withval}"", so it can be a program name with args.
11896 set dummy
"${withval}"; ac_word
=$2
11897 echo "$as_me:$LINENO: checking for $ac_word" >&5
11898 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
11899 if test "${ac_cv_path_USER_JAVAH+set}" = set; then
11900 echo $ECHO_N "(cached) $ECHO_C" >&6
11902 case $USER_JAVAH in
11904 ac_cv_path_USER_JAVAH
="$USER_JAVAH" # Let the user override the test with a path.
11907 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
11908 for as_dir
in $PATH
11911 test -z "$as_dir" && as_dir
=.
11912 for ac_exec_ext
in '' $ac_executable_extensions; do
11913 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
11914 ac_cv_path_USER_JAVAH
="$as_dir/$ac_word$ac_exec_ext"
11915 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
11924 USER_JAVAH
=$ac_cv_path_USER_JAVAH
11926 if test -n "$USER_JAVAH"; then
11927 echo "$as_me:$LINENO: result: $USER_JAVAH" >&5
11928 echo "${ECHO_T}$USER_JAVAH" >&6
11930 echo "$as_me:$LINENO: result: no" >&5
11931 echo "${ECHO_T}no" >&6
11936 for javah_name
in gcjh javah
; do
11937 # Extract the first word of ""$javah_name"", so it can be a program name with args.
11938 set dummy
"$javah_name"; ac_word
=$2
11939 echo "$as_me:$LINENO: checking for $ac_word" >&5
11940 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
11941 if test "${ac_cv_path_USER_JAVAH+set}" = set; then
11942 echo $ECHO_N "(cached) $ECHO_C" >&6
11944 case $USER_JAVAH in
11946 ac_cv_path_USER_JAVAH
="$USER_JAVAH" # Let the user override the test with a path.
11949 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
11950 for as_dir
in $PATH
11953 test -z "$as_dir" && as_dir
=.
11954 for ac_exec_ext
in '' $ac_executable_extensions; do
11955 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
11956 ac_cv_path_USER_JAVAH
="$as_dir/$ac_word$ac_exec_ext"
11957 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
11966 USER_JAVAH
=$ac_cv_path_USER_JAVAH
11968 if test -n "$USER_JAVAH"; then
11969 echo "$as_me:$LINENO: result: $USER_JAVAH" >&5
11970 echo "${ECHO_T}$USER_JAVAH" >&6
11972 echo "$as_me:$LINENO: result: no" >&5
11973 echo "${ECHO_T}no" >&6
11976 if test "x${USER_JAVAH}" != x
; then
11982 # if test "x${USER_JAVAH}" = x; then
11983 # echo "configure: cannot find javah" 1>&2
11989 if test "x" != x
; then
11990 if test -f ""; then
11993 # Extract the first word of """", so it can be a program name with args.
11994 set dummy
""; ac_word
=$2
11995 echo "$as_me:$LINENO: checking for $ac_word" >&5
11996 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
11997 if test "${ac_cv_path_USER_JAVAH+set}" = set; then
11998 echo $ECHO_N "(cached) $ECHO_C" >&6
12000 case $USER_JAVAH in
12002 ac_cv_path_USER_JAVAH
="$USER_JAVAH" # Let the user override the test with a path.
12005 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
12006 for as_dir
in $PATH
12009 test -z "$as_dir" && as_dir
=.
12010 for ac_exec_ext
in '' $ac_executable_extensions; do
12011 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
12012 ac_cv_path_USER_JAVAH
="$as_dir/$ac_word$ac_exec_ext"
12013 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
12022 USER_JAVAH
=$ac_cv_path_USER_JAVAH
12024 if test -n "$USER_JAVAH"; then
12025 echo "$as_me:$LINENO: result: $USER_JAVAH" >&5
12026 echo "${ECHO_T}$USER_JAVAH" >&6
12028 echo "$as_me:$LINENO: result: no" >&5
12029 echo "${ECHO_T}no" >&6
12034 for javah_name
in gcjh javah
; do
12035 # Extract the first word of ""$javah_name"", so it can be a program name with args.
12036 set dummy
"$javah_name"; ac_word
=$2
12037 echo "$as_me:$LINENO: checking for $ac_word" >&5
12038 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
12039 if test "${ac_cv_path_USER_JAVAH+set}" = set; then
12040 echo $ECHO_N "(cached) $ECHO_C" >&6
12042 case $USER_JAVAH in
12044 ac_cv_path_USER_JAVAH
="$USER_JAVAH" # Let the user override the test with a path.
12047 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
12048 for as_dir
in $PATH
12051 test -z "$as_dir" && as_dir
=.
12052 for ac_exec_ext
in '' $ac_executable_extensions; do
12053 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
12054 ac_cv_path_USER_JAVAH
="$as_dir/$ac_word$ac_exec_ext"
12055 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
12064 USER_JAVAH
=$ac_cv_path_USER_JAVAH
12066 if test -n "$USER_JAVAH"; then
12067 echo "$as_me:$LINENO: result: $USER_JAVAH" >&5
12068 echo "${ECHO_T}$USER_JAVAH" >&6
12070 echo "$as_me:$LINENO: result: no" >&5
12071 echo "${ECHO_T}no" >&6
12074 if test "x${USER_JAVAH}" != x
; then
12080 # if test "x${USER_JAVAH}" = x; then
12081 # echo "configure: cannot find javah" 1>&2
12090 if test "x" != x
; then
12091 if test -f ""; then
12094 # Extract the first word of """", so it can be a program name with args.
12095 set dummy
""; ac_word
=$2
12096 echo "$as_me:$LINENO: checking for $ac_word" >&5
12097 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
12098 if test "${ac_cv_path_USER_JAVAH+set}" = set; then
12099 echo $ECHO_N "(cached) $ECHO_C" >&6
12101 case $USER_JAVAH in
12103 ac_cv_path_USER_JAVAH
="$USER_JAVAH" # Let the user override the test with a path.
12106 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
12107 for as_dir
in $PATH
12110 test -z "$as_dir" && as_dir
=.
12111 for ac_exec_ext
in '' $ac_executable_extensions; do
12112 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
12113 ac_cv_path_USER_JAVAH
="$as_dir/$ac_word$ac_exec_ext"
12114 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
12123 USER_JAVAH
=$ac_cv_path_USER_JAVAH
12125 if test -n "$USER_JAVAH"; then
12126 echo "$as_me:$LINENO: result: $USER_JAVAH" >&5
12127 echo "${ECHO_T}$USER_JAVAH" >&6
12129 echo "$as_me:$LINENO: result: no" >&5
12130 echo "${ECHO_T}no" >&6
12135 for javah_name
in gcjh javah
; do
12136 # Extract the first word of ""$javah_name"", so it can be a program name with args.
12137 set dummy
"$javah_name"; ac_word
=$2
12138 echo "$as_me:$LINENO: checking for $ac_word" >&5
12139 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
12140 if test "${ac_cv_path_USER_JAVAH+set}" = set; then
12141 echo $ECHO_N "(cached) $ECHO_C" >&6
12143 case $USER_JAVAH in
12145 ac_cv_path_USER_JAVAH
="$USER_JAVAH" # Let the user override the test with a path.
12148 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
12149 for as_dir
in $PATH
12152 test -z "$as_dir" && as_dir
=.
12153 for ac_exec_ext
in '' $ac_executable_extensions; do
12154 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
12155 ac_cv_path_USER_JAVAH
="$as_dir/$ac_word$ac_exec_ext"
12156 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
12165 USER_JAVAH
=$ac_cv_path_USER_JAVAH
12167 if test -n "$USER_JAVAH"; then
12168 echo "$as_me:$LINENO: result: $USER_JAVAH" >&5
12169 echo "${ECHO_T}$USER_JAVAH" >&6
12171 echo "$as_me:$LINENO: result: no" >&5
12172 echo "${ECHO_T}no" >&6
12175 if test "x${USER_JAVAH}" != x
; then
12181 # if test "x${USER_JAVAH}" = x; then
12182 # echo "configure: cannot find javah" 1>&2
12190 if test "x${USER_JAVAH}" != x
; then
12191 USER_SPECIFIED_JAVAH_TRUE
=
12192 USER_SPECIFIED_JAVAH_FALSE
='#'
12194 USER_SPECIFIED_JAVAH_TRUE
='#'
12195 USER_SPECIFIED_JAVAH_FALSE
=
12201 CLASSPATH_INCLUDES
="-I\$(top_srcdir)/include -I\$(top_srcdir)/native/jni/classpath -I\$(top_srcdir)/native/target/Linux -I\$(top_srcdir)/native/target/generic"
12204 if test "x${COMPILE_JNI}" = xyes
; then
12205 echo "$as_me:$LINENO: checking jni_md.h support" >&5
12206 echo $ECHO_N "checking jni_md.h support... $ECHO_C" >&6
12207 if test -f ${srcdir}/include/jni_md-${target_cpu}-${target_os}.h
; then
12208 echo "$as_me:$LINENO: result: yes" >&5
12209 echo "${ECHO_T}yes" >&6
12212 target_os
=linux-gnu
12213 { echo "$as_me:$LINENO: WARNING: no" >&5
12214 echo "$as_me: WARNING: no" >&2;}
12216 ac_sources
="include/jni_md-${target_cpu}-${target_os}.h"
12217 ac_dests
="include/jni_md.h"
12218 while test -n "$ac_sources"; do
12219 set $ac_dests; ac_dest
=$1; shift; ac_dests
=$
*
12220 set $ac_sources; ac_source
=$1; shift; ac_sources
=$
*
12221 ac_config_links_1
="$ac_config_links_1 $ac_dest:$ac_source"
12223 ac_config_links
="$ac_config_links $ac_config_links_1"
12228 user_specified_javac
=
12232 # Check whether --with-gcj or --without-gcj was given.
12233 if test "${with_gcj+set}" = set; then
12234 withval
="$with_gcj"
12236 if test "x${withval}" != x && test "x${withval}" != xyes && test "x${withval}" != xno
; then
12238 if test "x${withval}" != x
; then
12239 if test -f "${withval}"; then
12242 # Extract the first word of ""${withval}"", so it can be a program name with args.
12243 set dummy
"${withval}"; ac_word
=$2
12244 echo "$as_me:$LINENO: checking for $ac_word" >&5
12245 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
12246 if test "${ac_cv_path_GCJ+set}" = set; then
12247 echo $ECHO_N "(cached) $ECHO_C" >&6
12251 ac_cv_path_GCJ
="$GCJ" # Let the user override the test with a path.
12254 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
12255 for as_dir
in $PATH
12258 test -z "$as_dir" && as_dir
=.
12259 for ac_exec_ext
in '' $ac_executable_extensions; do
12260 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
12261 ac_cv_path_GCJ
="$as_dir/$ac_word$ac_exec_ext"
12262 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
12271 GCJ
=$ac_cv_path_GCJ
12273 if test -n "$GCJ"; then
12274 echo "$as_me:$LINENO: result: $GCJ" >&5
12275 echo "${ECHO_T}$GCJ" >&6
12277 echo "$as_me:$LINENO: result: no" >&5
12278 echo "${ECHO_T}no" >&6
12283 # Extract the first word of ""gcj"", so it can be a program name with args.
12284 set dummy
"gcj"; ac_word
=$2
12285 echo "$as_me:$LINENO: checking for $ac_word" >&5
12286 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
12287 if test "${ac_cv_path_GCJ+set}" = set; then
12288 echo $ECHO_N "(cached) $ECHO_C" >&6
12292 ac_cv_path_GCJ
="$GCJ" # Let the user override the test with a path.
12295 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
12296 for as_dir
in $PATH
12299 test -z "$as_dir" && as_dir
=.
12300 for ac_exec_ext
in '' $ac_executable_extensions; do
12301 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
12302 ac_cv_path_GCJ
="$as_dir/$ac_word$ac_exec_ext"
12303 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
12312 GCJ
=$ac_cv_path_GCJ
12314 if test -n "$GCJ"; then
12315 echo "$as_me:$LINENO: result: $GCJ" >&5
12316 echo "${ECHO_T}$GCJ" >&6
12318 echo "$as_me:$LINENO: result: no" >&5
12319 echo "${ECHO_T}no" >&6
12323 if test "x$GCJ" != x
; then
12324 echo "$as_me:$LINENO: checking gcj version 4.0" >&5
12325 echo $ECHO_N "checking gcj version 4.0... $ECHO_C" >&6
12327 ac_cpp
='$CPP $CPPFLAGS'
12328 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12329 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12330 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
12332 cat >conftest.
$ac_ext <<_ACEOF
12334 #error GCJ 4.0.0 or higher is required
12338 $GCJ -E conftest.c
> /dev
/null
12340 if test "x$gcj_4_result" = "x0"; then
12341 echo "$as_me:$LINENO: result: 4.0 or higher found" >&5
12342 echo "${ECHO_T}4.0 or higher found" >&6
12344 { echo "$as_me:$LINENO: WARNING: 4.0 or higher required" >&5
12345 echo "$as_me: WARNING: 4.0 or higher required" >&2;}
12348 ac_cpp
='$CPP $CPPFLAGS'
12349 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12350 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12351 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
12356 if test "x${withval}" != xno
; then
12358 if test "x" != x
; then
12359 if test -f ""; then
12362 # Extract the first word of """", so it can be a program name with args.
12363 set dummy
""; ac_word
=$2
12364 echo "$as_me:$LINENO: checking for $ac_word" >&5
12365 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
12366 if test "${ac_cv_path_GCJ+set}" = set; then
12367 echo $ECHO_N "(cached) $ECHO_C" >&6
12371 ac_cv_path_GCJ
="$GCJ" # Let the user override the test with a path.
12374 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
12375 for as_dir
in $PATH
12378 test -z "$as_dir" && as_dir
=.
12379 for ac_exec_ext
in '' $ac_executable_extensions; do
12380 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
12381 ac_cv_path_GCJ
="$as_dir/$ac_word$ac_exec_ext"
12382 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
12391 GCJ
=$ac_cv_path_GCJ
12393 if test -n "$GCJ"; then
12394 echo "$as_me:$LINENO: result: $GCJ" >&5
12395 echo "${ECHO_T}$GCJ" >&6
12397 echo "$as_me:$LINENO: result: no" >&5
12398 echo "${ECHO_T}no" >&6
12403 # Extract the first word of ""gcj"", so it can be a program name with args.
12404 set dummy
"gcj"; ac_word
=$2
12405 echo "$as_me:$LINENO: checking for $ac_word" >&5
12406 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
12407 if test "${ac_cv_path_GCJ+set}" = set; then
12408 echo $ECHO_N "(cached) $ECHO_C" >&6
12412 ac_cv_path_GCJ
="$GCJ" # Let the user override the test with a path.
12415 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
12416 for as_dir
in $PATH
12419 test -z "$as_dir" && as_dir
=.
12420 for ac_exec_ext
in '' $ac_executable_extensions; do
12421 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
12422 ac_cv_path_GCJ
="$as_dir/$ac_word$ac_exec_ext"
12423 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
12432 GCJ
=$ac_cv_path_GCJ
12434 if test -n "$GCJ"; then
12435 echo "$as_me:$LINENO: result: $GCJ" >&5
12436 echo "${ECHO_T}$GCJ" >&6
12438 echo "$as_me:$LINENO: result: no" >&5
12439 echo "${ECHO_T}no" >&6
12443 if test "x$GCJ" != x
; then
12444 echo "$as_me:$LINENO: checking gcj version 4.0" >&5
12445 echo $ECHO_N "checking gcj version 4.0... $ECHO_C" >&6
12447 ac_cpp
='$CPP $CPPFLAGS'
12448 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12449 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12450 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
12452 cat >conftest.
$ac_ext <<_ACEOF
12454 #error GCJ 4.0.0 or higher is required
12458 $GCJ -E conftest.c
> /dev
/null
12460 if test "x$gcj_4_result" = "x0"; then
12461 echo "$as_me:$LINENO: result: 4.0 or higher found" >&5
12462 echo "${ECHO_T}4.0 or higher found" >&6
12464 { echo "$as_me:$LINENO: WARNING: 4.0 or higher required" >&5
12465 echo "$as_me: WARNING: 4.0 or higher required" >&2;}
12468 ac_cpp
='$CPP $CPPFLAGS'
12469 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12470 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12471 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
12477 user_specified_javac
=gcj
12482 if test "x" != x
; then
12483 if test -f ""; then
12486 # Extract the first word of """", so it can be a program name with args.
12487 set dummy
""; ac_word
=$2
12488 echo "$as_me:$LINENO: checking for $ac_word" >&5
12489 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
12490 if test "${ac_cv_path_GCJ+set}" = set; then
12491 echo $ECHO_N "(cached) $ECHO_C" >&6
12495 ac_cv_path_GCJ
="$GCJ" # Let the user override the test with a path.
12498 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
12499 for as_dir
in $PATH
12502 test -z "$as_dir" && as_dir
=.
12503 for ac_exec_ext
in '' $ac_executable_extensions; do
12504 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
12505 ac_cv_path_GCJ
="$as_dir/$ac_word$ac_exec_ext"
12506 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
12515 GCJ
=$ac_cv_path_GCJ
12517 if test -n "$GCJ"; then
12518 echo "$as_me:$LINENO: result: $GCJ" >&5
12519 echo "${ECHO_T}$GCJ" >&6
12521 echo "$as_me:$LINENO: result: no" >&5
12522 echo "${ECHO_T}no" >&6
12527 # Extract the first word of ""gcj"", so it can be a program name with args.
12528 set dummy
"gcj"; ac_word
=$2
12529 echo "$as_me:$LINENO: checking for $ac_word" >&5
12530 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
12531 if test "${ac_cv_path_GCJ+set}" = set; then
12532 echo $ECHO_N "(cached) $ECHO_C" >&6
12536 ac_cv_path_GCJ
="$GCJ" # Let the user override the test with a path.
12539 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
12540 for as_dir
in $PATH
12543 test -z "$as_dir" && as_dir
=.
12544 for ac_exec_ext
in '' $ac_executable_extensions; do
12545 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
12546 ac_cv_path_GCJ
="$as_dir/$ac_word$ac_exec_ext"
12547 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
12556 GCJ
=$ac_cv_path_GCJ
12558 if test -n "$GCJ"; then
12559 echo "$as_me:$LINENO: result: $GCJ" >&5
12560 echo "${ECHO_T}$GCJ" >&6
12562 echo "$as_me:$LINENO: result: no" >&5
12563 echo "${ECHO_T}no" >&6
12567 if test "x$GCJ" != x
; then
12568 echo "$as_me:$LINENO: checking gcj version 4.0" >&5
12569 echo $ECHO_N "checking gcj version 4.0... $ECHO_C" >&6
12571 ac_cpp
='$CPP $CPPFLAGS'
12572 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12573 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12574 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
12576 cat >conftest.
$ac_ext <<_ACEOF
12578 #error GCJ 4.0.0 or higher is required
12582 $GCJ -E conftest.c
> /dev
/null
12584 if test "x$gcj_4_result" = "x0"; then
12585 echo "$as_me:$LINENO: result: 4.0 or higher found" >&5
12586 echo "${ECHO_T}4.0 or higher found" >&6
12588 { echo "$as_me:$LINENO: WARNING: 4.0 or higher required" >&5
12589 echo "$as_me: WARNING: 4.0 or higher required" >&2;}
12592 ac_cpp
='$CPP $CPPFLAGS'
12593 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12594 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12595 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
12605 # Check whether --with-jikes or --without-jikes was given.
12606 if test "${with_jikes+set}" = set; then
12607 withval
="$with_jikes"
12609 if test "x${withval}" != x && test "x${withval}" != xyes && test "x${withval}" != xno
; then
12611 if test "x${withval}" != x
; then
12612 if test -f "${withval}"; then
12615 # Extract the first word of ""${withval}"", so it can be a program name with args.
12616 set dummy
"${withval}"; ac_word
=$2
12617 echo "$as_me:$LINENO: checking for $ac_word" >&5
12618 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
12619 if test "${ac_cv_path_JIKES+set}" = set; then
12620 echo $ECHO_N "(cached) $ECHO_C" >&6
12624 ac_cv_path_JIKES
="$JIKES" # Let the user override the test with a path.
12627 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
12628 for as_dir
in $PATH
12631 test -z "$as_dir" && as_dir
=.
12632 for ac_exec_ext
in '' $ac_executable_extensions; do
12633 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
12634 ac_cv_path_JIKES
="$as_dir/$ac_word$ac_exec_ext"
12635 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
12644 JIKES
=$ac_cv_path_JIKES
12646 if test -n "$JIKES"; then
12647 echo "$as_me:$LINENO: result: $JIKES" >&5
12648 echo "${ECHO_T}$JIKES" >&6
12650 echo "$as_me:$LINENO: result: no" >&5
12651 echo "${ECHO_T}no" >&6
12656 # Extract the first word of ""jikes"", so it can be a program name with args.
12657 set dummy
"jikes"; ac_word
=$2
12658 echo "$as_me:$LINENO: checking for $ac_word" >&5
12659 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
12660 if test "${ac_cv_path_JIKES+set}" = set; then
12661 echo $ECHO_N "(cached) $ECHO_C" >&6
12665 ac_cv_path_JIKES
="$JIKES" # Let the user override the test with a path.
12668 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
12669 for as_dir
in $PATH
12672 test -z "$as_dir" && as_dir
=.
12673 for ac_exec_ext
in '' $ac_executable_extensions; do
12674 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
12675 ac_cv_path_JIKES
="$as_dir/$ac_word$ac_exec_ext"
12676 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
12685 JIKES
=$ac_cv_path_JIKES
12687 if test -n "$JIKES"; then
12688 echo "$as_me:$LINENO: result: $JIKES" >&5
12689 echo "${ECHO_T}$JIKES" >&6
12691 echo "$as_me:$LINENO: result: no" >&5
12692 echo "${ECHO_T}no" >&6
12696 if test "x$JIKES" != "x"; then
12697 echo "$as_me:$LINENO: checking jikes version" >&5
12698 echo $ECHO_N "checking jikes version... $ECHO_C" >&6
12699 JIKES_VERSION
=`$JIKES --version | awk '/^Jikes Compiler/' | cut -d ' ' -f 5`
12700 JIKES_VERSION_MAJOR
=`echo "$JIKES_VERSION" | cut -d '.' -f 1`
12701 JIKES_VERSION_MINOR
=`echo "$JIKES_VERSION" | cut -d '.' -f 2`
12702 if expr "$JIKES_VERSION_MAJOR" = 1 > /dev
/null
; then
12703 if expr "$JIKES_VERSION_MINOR" \
< 19 > /dev
/null
; then
12707 if test "x$JIKES" != "x"; then
12708 echo "$as_me:$LINENO: result: $JIKES_VERSION" >&5
12709 echo "${ECHO_T}$JIKES_VERSION" >&6
12711 { echo "$as_me:$LINENO: WARNING: $JIKES_VERSION: jikes 1.19 or higher required" >&5
12712 echo "$as_me: WARNING: $JIKES_VERSION: jikes 1.19 or higher required" >&2;}
12716 if test -n "`$JIKES --help 2>&1 | grep encoding`"; then
12717 JIKESENCODING
='-encoding UTF-8'
12721 JIKESWARNINGS
="+Pno-switchcheck"
12722 if test "x$JIKES_VERSION_MAJOR" = x
"1" ; then
12723 if ! test "x$JIKES_VERSION_MINOR" = x
"19"; then
12724 JIKESWARNINGS
="$JIKESWARNINGS +Pno-shadow"
12732 if test "x${withval}" != xno
; then
12734 if test "x" != x
; then
12735 if test -f ""; then
12738 # Extract the first word of """", so it can be a program name with args.
12739 set dummy
""; ac_word
=$2
12740 echo "$as_me:$LINENO: checking for $ac_word" >&5
12741 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
12742 if test "${ac_cv_path_JIKES+set}" = set; then
12743 echo $ECHO_N "(cached) $ECHO_C" >&6
12747 ac_cv_path_JIKES
="$JIKES" # Let the user override the test with a path.
12750 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
12751 for as_dir
in $PATH
12754 test -z "$as_dir" && as_dir
=.
12755 for ac_exec_ext
in '' $ac_executable_extensions; do
12756 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
12757 ac_cv_path_JIKES
="$as_dir/$ac_word$ac_exec_ext"
12758 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
12767 JIKES
=$ac_cv_path_JIKES
12769 if test -n "$JIKES"; then
12770 echo "$as_me:$LINENO: result: $JIKES" >&5
12771 echo "${ECHO_T}$JIKES" >&6
12773 echo "$as_me:$LINENO: result: no" >&5
12774 echo "${ECHO_T}no" >&6
12779 # Extract the first word of ""jikes"", so it can be a program name with args.
12780 set dummy
"jikes"; ac_word
=$2
12781 echo "$as_me:$LINENO: checking for $ac_word" >&5
12782 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
12783 if test "${ac_cv_path_JIKES+set}" = set; then
12784 echo $ECHO_N "(cached) $ECHO_C" >&6
12788 ac_cv_path_JIKES
="$JIKES" # Let the user override the test with a path.
12791 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
12792 for as_dir
in $PATH
12795 test -z "$as_dir" && as_dir
=.
12796 for ac_exec_ext
in '' $ac_executable_extensions; do
12797 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
12798 ac_cv_path_JIKES
="$as_dir/$ac_word$ac_exec_ext"
12799 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
12808 JIKES
=$ac_cv_path_JIKES
12810 if test -n "$JIKES"; then
12811 echo "$as_me:$LINENO: result: $JIKES" >&5
12812 echo "${ECHO_T}$JIKES" >&6
12814 echo "$as_me:$LINENO: result: no" >&5
12815 echo "${ECHO_T}no" >&6
12819 if test "x$JIKES" != "x"; then
12820 echo "$as_me:$LINENO: checking jikes version" >&5
12821 echo $ECHO_N "checking jikes version... $ECHO_C" >&6
12822 JIKES_VERSION
=`$JIKES --version | awk '/^Jikes Compiler/' | cut -d ' ' -f 5`
12823 JIKES_VERSION_MAJOR
=`echo "$JIKES_VERSION" | cut -d '.' -f 1`
12824 JIKES_VERSION_MINOR
=`echo "$JIKES_VERSION" | cut -d '.' -f 2`
12825 if expr "$JIKES_VERSION_MAJOR" = 1 > /dev
/null
; then
12826 if expr "$JIKES_VERSION_MINOR" \
< 19 > /dev
/null
; then
12830 if test "x$JIKES" != "x"; then
12831 echo "$as_me:$LINENO: result: $JIKES_VERSION" >&5
12832 echo "${ECHO_T}$JIKES_VERSION" >&6
12834 { echo "$as_me:$LINENO: WARNING: $JIKES_VERSION: jikes 1.19 or higher required" >&5
12835 echo "$as_me: WARNING: $JIKES_VERSION: jikes 1.19 or higher required" >&2;}
12839 if test -n "`$JIKES --help 2>&1 | grep encoding`"; then
12840 JIKESENCODING
='-encoding UTF-8'
12844 JIKESWARNINGS
="+Pno-switchcheck"
12845 if test "x$JIKES_VERSION_MAJOR" = x
"1" ; then
12846 if ! test "x$JIKES_VERSION_MINOR" = x
"19"; then
12847 JIKESWARNINGS
="$JIKESWARNINGS +Pno-shadow"
12856 user_specified_javac
=jikes
12861 if test "x" != x
; then
12862 if test -f ""; then
12865 # Extract the first word of """", so it can be a program name with args.
12866 set dummy
""; ac_word
=$2
12867 echo "$as_me:$LINENO: checking for $ac_word" >&5
12868 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
12869 if test "${ac_cv_path_JIKES+set}" = set; then
12870 echo $ECHO_N "(cached) $ECHO_C" >&6
12874 ac_cv_path_JIKES
="$JIKES" # Let the user override the test with a path.
12877 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
12878 for as_dir
in $PATH
12881 test -z "$as_dir" && as_dir
=.
12882 for ac_exec_ext
in '' $ac_executable_extensions; do
12883 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
12884 ac_cv_path_JIKES
="$as_dir/$ac_word$ac_exec_ext"
12885 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
12894 JIKES
=$ac_cv_path_JIKES
12896 if test -n "$JIKES"; then
12897 echo "$as_me:$LINENO: result: $JIKES" >&5
12898 echo "${ECHO_T}$JIKES" >&6
12900 echo "$as_me:$LINENO: result: no" >&5
12901 echo "${ECHO_T}no" >&6
12906 # Extract the first word of ""jikes"", so it can be a program name with args.
12907 set dummy
"jikes"; ac_word
=$2
12908 echo "$as_me:$LINENO: checking for $ac_word" >&5
12909 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
12910 if test "${ac_cv_path_JIKES+set}" = set; then
12911 echo $ECHO_N "(cached) $ECHO_C" >&6
12915 ac_cv_path_JIKES
="$JIKES" # Let the user override the test with a path.
12918 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
12919 for as_dir
in $PATH
12922 test -z "$as_dir" && as_dir
=.
12923 for ac_exec_ext
in '' $ac_executable_extensions; do
12924 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
12925 ac_cv_path_JIKES
="$as_dir/$ac_word$ac_exec_ext"
12926 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
12935 JIKES
=$ac_cv_path_JIKES
12937 if test -n "$JIKES"; then
12938 echo "$as_me:$LINENO: result: $JIKES" >&5
12939 echo "${ECHO_T}$JIKES" >&6
12941 echo "$as_me:$LINENO: result: no" >&5
12942 echo "${ECHO_T}no" >&6
12946 if test "x$JIKES" != "x"; then
12947 echo "$as_me:$LINENO: checking jikes version" >&5
12948 echo $ECHO_N "checking jikes version... $ECHO_C" >&6
12949 JIKES_VERSION
=`$JIKES --version | awk '/^Jikes Compiler/' | cut -d ' ' -f 5`
12950 JIKES_VERSION_MAJOR
=`echo "$JIKES_VERSION" | cut -d '.' -f 1`
12951 JIKES_VERSION_MINOR
=`echo "$JIKES_VERSION" | cut -d '.' -f 2`
12952 if expr "$JIKES_VERSION_MAJOR" = 1 > /dev
/null
; then
12953 if expr "$JIKES_VERSION_MINOR" \
< 19 > /dev
/null
; then
12957 if test "x$JIKES" != "x"; then
12958 echo "$as_me:$LINENO: result: $JIKES_VERSION" >&5
12959 echo "${ECHO_T}$JIKES_VERSION" >&6
12961 { echo "$as_me:$LINENO: WARNING: $JIKES_VERSION: jikes 1.19 or higher required" >&5
12962 echo "$as_me: WARNING: $JIKES_VERSION: jikes 1.19 or higher required" >&2;}
12966 if test -n "`$JIKES --help 2>&1 | grep encoding`"; then
12967 JIKESENCODING
='-encoding UTF-8'
12971 JIKESWARNINGS
="+Pno-switchcheck"
12972 if test "x$JIKES_VERSION_MAJOR" = x
"1" ; then
12973 if ! test "x$JIKES_VERSION_MINOR" = x
"19"; then
12974 JIKESWARNINGS
="$JIKESWARNINGS +Pno-shadow"
12987 # Check whether --with-kjc or --without-kjc was given.
12988 if test "${with_kjc+set}" = set; then
12989 withval
="$with_kjc"
12991 if test "x${withval}" != x && test "x${withval}" != xyes && test "x${withval}" != xno
; then
12993 if test "x${withval}" != x
; then
12994 if test -f "${withval}"; then
12997 # Extract the first word of ""${withval}"", so it can be a program name with args.
12998 set dummy
"${withval}"; ac_word
=$2
12999 echo "$as_me:$LINENO: checking for $ac_word" >&5
13000 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
13001 if test "${ac_cv_path_KJC+set}" = set; then
13002 echo $ECHO_N "(cached) $ECHO_C" >&6
13006 ac_cv_path_KJC
="$KJC" # Let the user override the test with a path.
13009 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
13010 for as_dir
in $PATH
13013 test -z "$as_dir" && as_dir
=.
13014 for ac_exec_ext
in '' $ac_executable_extensions; do
13015 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
13016 ac_cv_path_KJC
="$as_dir/$ac_word$ac_exec_ext"
13017 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
13026 KJC
=$ac_cv_path_KJC
13028 if test -n "$KJC"; then
13029 echo "$as_me:$LINENO: result: $KJC" >&5
13030 echo "${ECHO_T}$KJC" >&6
13032 echo "$as_me:$LINENO: result: no" >&5
13033 echo "${ECHO_T}no" >&6
13038 # Extract the first word of ""kJC"", so it can be a program name with args.
13039 set dummy
"kJC"; ac_word
=$2
13040 echo "$as_me:$LINENO: checking for $ac_word" >&5
13041 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
13042 if test "${ac_cv_path_KJC+set}" = set; then
13043 echo $ECHO_N "(cached) $ECHO_C" >&6
13047 ac_cv_path_KJC
="$KJC" # Let the user override the test with a path.
13050 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
13051 for as_dir
in $PATH
13054 test -z "$as_dir" && as_dir
=.
13055 for ac_exec_ext
in '' $ac_executable_extensions; do
13056 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
13057 ac_cv_path_KJC
="$as_dir/$ac_word$ac_exec_ext"
13058 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
13067 KJC
=$ac_cv_path_KJC
13069 if test -n "$KJC"; then
13070 echo "$as_me:$LINENO: result: $KJC" >&5
13071 echo "${ECHO_T}$KJC" >&6
13073 echo "$as_me:$LINENO: result: no" >&5
13074 echo "${ECHO_T}no" >&6
13080 if test "x${withval}" != xno
; then
13082 if test "x" != x
; then
13083 if test -f ""; then
13086 # Extract the first word of """", so it can be a program name with args.
13087 set dummy
""; ac_word
=$2
13088 echo "$as_me:$LINENO: checking for $ac_word" >&5
13089 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
13090 if test "${ac_cv_path_KJC+set}" = set; then
13091 echo $ECHO_N "(cached) $ECHO_C" >&6
13095 ac_cv_path_KJC
="$KJC" # Let the user override the test with a path.
13098 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
13099 for as_dir
in $PATH
13102 test -z "$as_dir" && as_dir
=.
13103 for ac_exec_ext
in '' $ac_executable_extensions; do
13104 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
13105 ac_cv_path_KJC
="$as_dir/$ac_word$ac_exec_ext"
13106 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
13115 KJC
=$ac_cv_path_KJC
13117 if test -n "$KJC"; then
13118 echo "$as_me:$LINENO: result: $KJC" >&5
13119 echo "${ECHO_T}$KJC" >&6
13121 echo "$as_me:$LINENO: result: no" >&5
13122 echo "${ECHO_T}no" >&6
13127 # Extract the first word of ""kJC"", so it can be a program name with args.
13128 set dummy
"kJC"; ac_word
=$2
13129 echo "$as_me:$LINENO: checking for $ac_word" >&5
13130 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
13131 if test "${ac_cv_path_KJC+set}" = set; then
13132 echo $ECHO_N "(cached) $ECHO_C" >&6
13136 ac_cv_path_KJC
="$KJC" # Let the user override the test with a path.
13139 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
13140 for as_dir
in $PATH
13143 test -z "$as_dir" && as_dir
=.
13144 for ac_exec_ext
in '' $ac_executable_extensions; do
13145 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
13146 ac_cv_path_KJC
="$as_dir/$ac_word$ac_exec_ext"
13147 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
13156 KJC
=$ac_cv_path_KJC
13158 if test -n "$KJC"; then
13159 echo "$as_me:$LINENO: result: $KJC" >&5
13160 echo "${ECHO_T}$KJC" >&6
13162 echo "$as_me:$LINENO: result: no" >&5
13163 echo "${ECHO_T}no" >&6
13170 user_specified_javac
=kjc
13175 if test "x" != x
; then
13176 if test -f ""; then
13179 # Extract the first word of """", so it can be a program name with args.
13180 set dummy
""; ac_word
=$2
13181 echo "$as_me:$LINENO: checking for $ac_word" >&5
13182 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
13183 if test "${ac_cv_path_KJC+set}" = set; then
13184 echo $ECHO_N "(cached) $ECHO_C" >&6
13188 ac_cv_path_KJC
="$KJC" # Let the user override the test with a path.
13191 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
13192 for as_dir
in $PATH
13195 test -z "$as_dir" && as_dir
=.
13196 for ac_exec_ext
in '' $ac_executable_extensions; do
13197 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
13198 ac_cv_path_KJC
="$as_dir/$ac_word$ac_exec_ext"
13199 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
13208 KJC
=$ac_cv_path_KJC
13210 if test -n "$KJC"; then
13211 echo "$as_me:$LINENO: result: $KJC" >&5
13212 echo "${ECHO_T}$KJC" >&6
13214 echo "$as_me:$LINENO: result: no" >&5
13215 echo "${ECHO_T}no" >&6
13220 # Extract the first word of ""kJC"", so it can be a program name with args.
13221 set dummy
"kJC"; ac_word
=$2
13222 echo "$as_me:$LINENO: checking for $ac_word" >&5
13223 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
13224 if test "${ac_cv_path_KJC+set}" = set; then
13225 echo $ECHO_N "(cached) $ECHO_C" >&6
13229 ac_cv_path_KJC
="$KJC" # Let the user override the test with a path.
13232 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
13233 for as_dir
in $PATH
13236 test -z "$as_dir" && as_dir
=.
13237 for ac_exec_ext
in '' $ac_executable_extensions; do
13238 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
13239 ac_cv_path_KJC
="$as_dir/$ac_word$ac_exec_ext"
13240 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
13249 KJC
=$ac_cv_path_KJC
13251 if test -n "$KJC"; then
13252 echo "$as_me:$LINENO: result: $KJC" >&5
13253 echo "${ECHO_T}$KJC" >&6
13255 echo "$as_me:$LINENO: result: no" >&5
13256 echo "${ECHO_T}no" >&6
13267 # Check whether --with-gcjx or --without-gcjx was given.
13268 if test "${with_gcjx+set}" = set; then
13269 withval
="$with_gcjx"
13271 if test "x${withval}" != x && test "x${withval}" != xyes && test "x${withval}" != xno
; then
13273 if test "x${withval}" != x
; then
13274 if test -f "${withval}"; then
13277 # Extract the first word of ""${withval}"", so it can be a program name with args.
13278 set dummy
"${withval}"; ac_word
=$2
13279 echo "$as_me:$LINENO: checking for $ac_word" >&5
13280 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
13281 if test "${ac_cv_path_GCJX+set}" = set; then
13282 echo $ECHO_N "(cached) $ECHO_C" >&6
13286 ac_cv_path_GCJX
="$GCJX" # Let the user override the test with a path.
13289 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
13290 for as_dir
in $PATH
13293 test -z "$as_dir" && as_dir
=.
13294 for ac_exec_ext
in '' $ac_executable_extensions; do
13295 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
13296 ac_cv_path_GCJX
="$as_dir/$ac_word$ac_exec_ext"
13297 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
13306 GCJX
=$ac_cv_path_GCJX
13308 if test -n "$GCJX"; then
13309 echo "$as_me:$LINENO: result: $GCJX" >&5
13310 echo "${ECHO_T}$GCJX" >&6
13312 echo "$as_me:$LINENO: result: no" >&5
13313 echo "${ECHO_T}no" >&6
13318 # Extract the first word of ""gcjx"", so it can be a program name with args.
13319 set dummy
"gcjx"; ac_word
=$2
13320 echo "$as_me:$LINENO: checking for $ac_word" >&5
13321 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
13322 if test "${ac_cv_path_GCJX+set}" = set; then
13323 echo $ECHO_N "(cached) $ECHO_C" >&6
13327 ac_cv_path_GCJX
="$GCJX" # Let the user override the test with a path.
13330 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
13331 for as_dir
in $PATH
13334 test -z "$as_dir" && as_dir
=.
13335 for ac_exec_ext
in '' $ac_executable_extensions; do
13336 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
13337 ac_cv_path_GCJX
="$as_dir/$ac_word$ac_exec_ext"
13338 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
13347 GCJX
=$ac_cv_path_GCJX
13349 if test -n "$GCJX"; then
13350 echo "$as_me:$LINENO: result: $GCJX" >&5
13351 echo "${ECHO_T}$GCJX" >&6
13353 echo "$as_me:$LINENO: result: no" >&5
13354 echo "${ECHO_T}no" >&6
13360 if test "x${withval}" != xno
; then
13362 if test "x" != x
; then
13363 if test -f ""; then
13366 # Extract the first word of """", so it can be a program name with args.
13367 set dummy
""; ac_word
=$2
13368 echo "$as_me:$LINENO: checking for $ac_word" >&5
13369 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
13370 if test "${ac_cv_path_GCJX+set}" = set; then
13371 echo $ECHO_N "(cached) $ECHO_C" >&6
13375 ac_cv_path_GCJX
="$GCJX" # Let the user override the test with a path.
13378 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
13379 for as_dir
in $PATH
13382 test -z "$as_dir" && as_dir
=.
13383 for ac_exec_ext
in '' $ac_executable_extensions; do
13384 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
13385 ac_cv_path_GCJX
="$as_dir/$ac_word$ac_exec_ext"
13386 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
13395 GCJX
=$ac_cv_path_GCJX
13397 if test -n "$GCJX"; then
13398 echo "$as_me:$LINENO: result: $GCJX" >&5
13399 echo "${ECHO_T}$GCJX" >&6
13401 echo "$as_me:$LINENO: result: no" >&5
13402 echo "${ECHO_T}no" >&6
13407 # Extract the first word of ""gcjx"", so it can be a program name with args.
13408 set dummy
"gcjx"; ac_word
=$2
13409 echo "$as_me:$LINENO: checking for $ac_word" >&5
13410 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
13411 if test "${ac_cv_path_GCJX+set}" = set; then
13412 echo $ECHO_N "(cached) $ECHO_C" >&6
13416 ac_cv_path_GCJX
="$GCJX" # Let the user override the test with a path.
13419 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
13420 for as_dir
in $PATH
13423 test -z "$as_dir" && as_dir
=.
13424 for ac_exec_ext
in '' $ac_executable_extensions; do
13425 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
13426 ac_cv_path_GCJX
="$as_dir/$ac_word$ac_exec_ext"
13427 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
13436 GCJX
=$ac_cv_path_GCJX
13438 if test -n "$GCJX"; then
13439 echo "$as_me:$LINENO: result: $GCJX" >&5
13440 echo "${ECHO_T}$GCJX" >&6
13442 echo "$as_me:$LINENO: result: no" >&5
13443 echo "${ECHO_T}no" >&6
13450 user_specified_javac
=gcjx
13455 if test "x" != x
; then
13456 if test -f ""; then
13459 # Extract the first word of """", so it can be a program name with args.
13460 set dummy
""; ac_word
=$2
13461 echo "$as_me:$LINENO: checking for $ac_word" >&5
13462 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
13463 if test "${ac_cv_path_GCJX+set}" = set; then
13464 echo $ECHO_N "(cached) $ECHO_C" >&6
13468 ac_cv_path_GCJX
="$GCJX" # Let the user override the test with a path.
13471 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
13472 for as_dir
in $PATH
13475 test -z "$as_dir" && as_dir
=.
13476 for ac_exec_ext
in '' $ac_executable_extensions; do
13477 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
13478 ac_cv_path_GCJX
="$as_dir/$ac_word$ac_exec_ext"
13479 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
13488 GCJX
=$ac_cv_path_GCJX
13490 if test -n "$GCJX"; then
13491 echo "$as_me:$LINENO: result: $GCJX" >&5
13492 echo "${ECHO_T}$GCJX" >&6
13494 echo "$as_me:$LINENO: result: no" >&5
13495 echo "${ECHO_T}no" >&6
13500 # Extract the first word of ""gcjx"", so it can be a program name with args.
13501 set dummy
"gcjx"; ac_word
=$2
13502 echo "$as_me:$LINENO: checking for $ac_word" >&5
13503 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
13504 if test "${ac_cv_path_GCJX+set}" = set; then
13505 echo $ECHO_N "(cached) $ECHO_C" >&6
13509 ac_cv_path_GCJX
="$GCJX" # Let the user override the test with a path.
13512 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
13513 for as_dir
in $PATH
13516 test -z "$as_dir" && as_dir
=.
13517 for ac_exec_ext
in '' $ac_executable_extensions; do
13518 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
13519 ac_cv_path_GCJX
="$as_dir/$ac_word$ac_exec_ext"
13520 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
13529 GCJX
=$ac_cv_path_GCJX
13531 if test -n "$GCJX"; then
13532 echo "$as_me:$LINENO: result: $GCJX" >&5
13533 echo "${ECHO_T}$GCJX" >&6
13535 echo "$as_me:$LINENO: result: no" >&5
13536 echo "${ECHO_T}no" >&6
13547 # Check whether --with-ecj or --without-ecj was given.
13548 if test "${with_ecj+set}" = set; then
13549 withval
="$with_ecj"
13551 if test "x${withval}" != x && test "x${withval}" != xyes && test "x${withval}" != xno
; then
13553 if test "x${withval}" != x
; then
13554 if test -f "${withval}"; then
13557 # Extract the first word of ""${withval}"", so it can be a program name with args.
13558 set dummy
"${withval}"; ac_word
=$2
13559 echo "$as_me:$LINENO: checking for $ac_word" >&5
13560 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
13561 if test "${ac_cv_path_ECJ+set}" = set; then
13562 echo $ECHO_N "(cached) $ECHO_C" >&6
13566 ac_cv_path_ECJ
="$ECJ" # Let the user override the test with a path.
13569 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
13570 for as_dir
in $PATH
13573 test -z "$as_dir" && as_dir
=.
13574 for ac_exec_ext
in '' $ac_executable_extensions; do
13575 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
13576 ac_cv_path_ECJ
="$as_dir/$ac_word$ac_exec_ext"
13577 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
13586 ECJ
=$ac_cv_path_ECJ
13588 if test -n "$ECJ"; then
13589 echo "$as_me:$LINENO: result: $ECJ" >&5
13590 echo "${ECHO_T}$ECJ" >&6
13592 echo "$as_me:$LINENO: result: no" >&5
13593 echo "${ECHO_T}no" >&6
13598 # Extract the first word of ""ecj"", so it can be a program name with args.
13599 set dummy
"ecj"; ac_word
=$2
13600 echo "$as_me:$LINENO: checking for $ac_word" >&5
13601 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
13602 if test "${ac_cv_path_ECJ+set}" = set; then
13603 echo $ECHO_N "(cached) $ECHO_C" >&6
13607 ac_cv_path_ECJ
="$ECJ" # Let the user override the test with a path.
13610 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
13611 for as_dir
in $PATH
13614 test -z "$as_dir" && as_dir
=.
13615 for ac_exec_ext
in '' $ac_executable_extensions; do
13616 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
13617 ac_cv_path_ECJ
="$as_dir/$ac_word$ac_exec_ext"
13618 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
13627 ECJ
=$ac_cv_path_ECJ
13629 if test -n "$ECJ"; then
13630 echo "$as_me:$LINENO: result: $ECJ" >&5
13631 echo "${ECHO_T}$ECJ" >&6
13633 echo "$as_me:$LINENO: result: no" >&5
13634 echo "${ECHO_T}no" >&6
13640 if test "x${withval}" != xno
; then
13642 if test "x" != x
; then
13643 if test -f ""; then
13646 # Extract the first word of """", so it can be a program name with args.
13647 set dummy
""; ac_word
=$2
13648 echo "$as_me:$LINENO: checking for $ac_word" >&5
13649 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
13650 if test "${ac_cv_path_ECJ+set}" = set; then
13651 echo $ECHO_N "(cached) $ECHO_C" >&6
13655 ac_cv_path_ECJ
="$ECJ" # Let the user override the test with a path.
13658 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
13659 for as_dir
in $PATH
13662 test -z "$as_dir" && as_dir
=.
13663 for ac_exec_ext
in '' $ac_executable_extensions; do
13664 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
13665 ac_cv_path_ECJ
="$as_dir/$ac_word$ac_exec_ext"
13666 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
13675 ECJ
=$ac_cv_path_ECJ
13677 if test -n "$ECJ"; then
13678 echo "$as_me:$LINENO: result: $ECJ" >&5
13679 echo "${ECHO_T}$ECJ" >&6
13681 echo "$as_me:$LINENO: result: no" >&5
13682 echo "${ECHO_T}no" >&6
13687 # Extract the first word of ""ecj"", so it can be a program name with args.
13688 set dummy
"ecj"; ac_word
=$2
13689 echo "$as_me:$LINENO: checking for $ac_word" >&5
13690 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
13691 if test "${ac_cv_path_ECJ+set}" = set; then
13692 echo $ECHO_N "(cached) $ECHO_C" >&6
13696 ac_cv_path_ECJ
="$ECJ" # Let the user override the test with a path.
13699 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
13700 for as_dir
in $PATH
13703 test -z "$as_dir" && as_dir
=.
13704 for ac_exec_ext
in '' $ac_executable_extensions; do
13705 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
13706 ac_cv_path_ECJ
="$as_dir/$ac_word$ac_exec_ext"
13707 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
13716 ECJ
=$ac_cv_path_ECJ
13718 if test -n "$ECJ"; then
13719 echo "$as_me:$LINENO: result: $ECJ" >&5
13720 echo "${ECHO_T}$ECJ" >&6
13722 echo "$as_me:$LINENO: result: no" >&5
13723 echo "${ECHO_T}no" >&6
13730 user_specified_javac
=ecj
13735 if test "x" != x
; then
13736 if test -f ""; then
13739 # Extract the first word of """", so it can be a program name with args.
13740 set dummy
""; ac_word
=$2
13741 echo "$as_me:$LINENO: checking for $ac_word" >&5
13742 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
13743 if test "${ac_cv_path_ECJ+set}" = set; then
13744 echo $ECHO_N "(cached) $ECHO_C" >&6
13748 ac_cv_path_ECJ
="$ECJ" # Let the user override the test with a path.
13751 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
13752 for as_dir
in $PATH
13755 test -z "$as_dir" && as_dir
=.
13756 for ac_exec_ext
in '' $ac_executable_extensions; do
13757 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
13758 ac_cv_path_ECJ
="$as_dir/$ac_word$ac_exec_ext"
13759 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
13768 ECJ
=$ac_cv_path_ECJ
13770 if test -n "$ECJ"; then
13771 echo "$as_me:$LINENO: result: $ECJ" >&5
13772 echo "${ECHO_T}$ECJ" >&6
13774 echo "$as_me:$LINENO: result: no" >&5
13775 echo "${ECHO_T}no" >&6
13780 # Extract the first word of ""ecj"", so it can be a program name with args.
13781 set dummy
"ecj"; ac_word
=$2
13782 echo "$as_me:$LINENO: checking for $ac_word" >&5
13783 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
13784 if test "${ac_cv_path_ECJ+set}" = set; then
13785 echo $ECHO_N "(cached) $ECHO_C" >&6
13789 ac_cv_path_ECJ
="$ECJ" # Let the user override the test with a path.
13792 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
13793 for as_dir
in $PATH
13796 test -z "$as_dir" && as_dir
=.
13797 for ac_exec_ext
in '' $ac_executable_extensions; do
13798 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
13799 ac_cv_path_ECJ
="$as_dir/$ac_word$ac_exec_ext"
13800 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
13809 ECJ
=$ac_cv_path_ECJ
13811 if test -n "$ECJ"; then
13812 echo "$as_me:$LINENO: result: $ECJ" >&5
13813 echo "${ECHO_T}$ECJ" >&6
13815 echo "$as_me:$LINENO: result: no" >&5
13816 echo "${ECHO_T}no" >&6
13826 if test "x${user_specified_javac}" = x
; then
13829 if test "x${GCJ}" != x
; then
13831 FOUND_GCJ_FALSE
='#'
13839 if test "x${JIKES}" != x
; then
13841 FOUND_JIKES_FALSE
='#'
13843 FOUND_JIKES_TRUE
='#'
13849 if test "x${ECJ}" != x
; then
13851 FOUND_ECJ_FALSE
='#'
13860 if test "x${user_specified_javac}" = xgcj
; then
13862 FOUND_GCJ_FALSE
='#'
13870 if test "x${user_specified_javac}" = xjikes
; then
13872 FOUND_JIKES_FALSE
='#'
13874 FOUND_JIKES_TRUE
='#'
13880 if test "x${user_specified_javac}" = xecj
; then
13882 FOUND_ECJ_FALSE
='#'
13891 if test "x${user_specified_javac}" = xkjc
; then
13893 FOUND_KJC_FALSE
='#'
13901 if test "x${user_specified_javac}" = xgcjx
; then
13903 FOUND_GCJX_FALSE
='#'
13905 FOUND_GCJX_TRUE
='#'
13910 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
13911 # FIXME: use autoconf error function
13912 echo "configure: cannot find javac, try --with-gcj, --with-jikes, --with-kjc, --with-ecj, or --with-gcjx" 1>&2
13919 # Check whether --with-classpath or --without-classpath was given.
13920 if test "${with_classpath+set}" = set; then
13921 withval
="$with_classpath"
13923 if test "x${withval}" = xyes
; then
13924 # set user classpath to CLASSPATH from env
13925 echo "$as_me:$LINENO: checking for classlib" >&5
13926 echo $ECHO_N "checking for classlib... $ECHO_C" >&6
13927 USER_CLASSLIB
=${CLASSPATH}
13929 echo "$as_me:$LINENO: result: ${USER_CLASSLIB}" >&5
13930 echo "${ECHO_T}${USER_CLASSLIB}" >&6
13931 conditional_with_classlib
=true
13932 elif test "x${withval}" != x
&& test "x${withval}" != xno
; then
13933 # set user classpath to specified value
13934 echo "$as_me:$LINENO: checking for classlib" >&5
13935 echo $ECHO_N "checking for classlib... $ECHO_C" >&6
13936 USER_CLASSLIB
=${withval}
13938 echo "$as_me:$LINENO: result: ${withval}" >&5
13939 echo "${ECHO_T}${withval}" >&6
13940 conditional_with_classlib
=true
13944 conditional_with_classlib
=false
13948 if test "x${conditional_with_classlib}" = xtrue
; then
13949 USER_SPECIFIED_CLASSLIB_TRUE
=
13950 USER_SPECIFIED_CLASSLIB_FALSE
='#'
13952 USER_SPECIFIED_CLASSLIB_TRUE
='#'
13953 USER_SPECIFIED_CLASSLIB_FALSE
=
13958 # Check whether --with-vm-classes or --without-vm-classes was given.
13959 if test "${with_vm_classes+set}" = set; then
13960 withval
="$with_vm_classes"
13961 vm_classes
="$with_vm_classes"
13963 vm_classes
='${top_srcdir}/vm/reference'
13968 echo "$as_me:$LINENO: checking whether to enable maintainer-specific portions of Makefiles" >&5
13969 echo $ECHO_N "checking whether to enable maintainer-specific portions of Makefiles... $ECHO_C" >&6
13970 # Check whether --enable-maintainer-mode or --disable-maintainer-mode was given.
13971 if test "${enable_maintainer_mode+set}" = set; then
13972 enableval
="$enable_maintainer_mode"
13973 USE_MAINTAINER_MODE
=$enableval
13975 USE_MAINTAINER_MODE
=no
13977 echo "$as_me:$LINENO: result: $USE_MAINTAINER_MODE" >&5
13978 echo "${ECHO_T}$USE_MAINTAINER_MODE" >&6
13981 if test $USE_MAINTAINER_MODE = yes; then
13982 MAINTAINER_MODE_TRUE
=
13983 MAINTAINER_MODE_FALSE
='#'
13985 MAINTAINER_MODE_TRUE
='#'
13986 MAINTAINER_MODE_FALSE
=
13989 MAINT
=$MAINTAINER_MODE_TRUE
13993 # Check whether --enable-debug or --disable-debug was given.
13994 if test "${enable_debug+set}" = set; then
13995 enableval
="$enable_debug"
13996 case "${enableval}" in
14000 cat >>confdefs.h
<<\_ACEOF
14005 no
) LIBDEBUG
="false" ;;
14006 *) { { echo "$as_me:$LINENO: error: bad value ${enableval} for --enable-debug" >&5
14007 echo "$as_me: error: bad value ${enableval} for --enable-debug" >&2;}
14008 { (exit 1); exit 1; }; } ;;
14015 # Check whether --enable-load-library or --disable-load-library was given.
14016 if test "${enable_load_library+set}" = set; then
14017 enableval
="$enable_load_library"
14018 case "${enableval}" in
14019 yes) INIT_LOAD_LIBRARY
="true" ;;
14020 no
) INIT_LOAD_LIBRARY
="false" ;;
14021 *) { { echo "$as_me:$LINENO: error: bad value ${enableval} for --enable-load-library" >&5
14022 echo "$as_me: error: bad value ${enableval} for --enable-load-library" >&2;}
14023 { (exit 1); exit 1; }; } ;;
14026 INIT_LOAD_LIBRARY
="true"
14031 # Check whether --enable-java-lang-system-explicit-initialization or --disable-java-lang-system-explicit-initialization was given.
14032 if test "${enable_java_lang_system_explicit_initialization+set}" = set; then
14033 enableval
="$enable_java_lang_system_explicit_initialization"
14034 case "${enableval}" in
14035 yes|true
) JAVA_LANG_SYSTEM_EXPLICIT_INITIALIZATION
="true" ;;
14036 no|false
) JAVA_LANG_SYSTEM_EXPLICIT_INITIALIZATION
="false" ;;
14037 *) { { echo "$as_me:$LINENO: error: bad value ${enableval} for --enable-java-lang-system-explicit-initialization" >&5
14038 echo "$as_me: error: bad value ${enableval} for --enable-java-lang-system-explicit-initialization" >&2;}
14039 { (exit 1); exit 1; }; } ;;
14042 JAVA_LANG_SYSTEM_EXPLICIT_INITIALIZATION
="false"
14050 # Extract the first word of "mkdir", so it can be a program name with args.
14051 set dummy mkdir
; ac_word
=$2
14052 echo "$as_me:$LINENO: checking for $ac_word" >&5
14053 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
14054 if test "${ac_cv_path_MKDIR+set}" = set; then
14055 echo $ECHO_N "(cached) $ECHO_C" >&6
14059 ac_cv_path_MKDIR
="$MKDIR" # Let the user override the test with a path.
14062 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
14063 for as_dir
in $PATH
14066 test -z "$as_dir" && as_dir
=.
14067 for ac_exec_ext
in '' $ac_executable_extensions; do
14068 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
14069 ac_cv_path_MKDIR
="$as_dir/$ac_word$ac_exec_ext"
14070 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
14079 MKDIR
=$ac_cv_path_MKDIR
14081 if test -n "$MKDIR"; then
14082 echo "$as_me:$LINENO: result: $MKDIR" >&5
14083 echo "${ECHO_T}$MKDIR" >&6
14085 echo "$as_me:$LINENO: result: no" >&5
14086 echo "${ECHO_T}no" >&6
14089 # Extract the first word of "cp", so it can be a program name with args.
14090 set dummy
cp; ac_word
=$2
14091 echo "$as_me:$LINENO: checking for $ac_word" >&5
14092 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
14093 if test "${ac_cv_path_CP+set}" = set; then
14094 echo $ECHO_N "(cached) $ECHO_C" >&6
14098 ac_cv_path_CP
="$CP" # Let the user override the test with a path.
14101 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
14102 for as_dir
in $PATH
14105 test -z "$as_dir" && as_dir
=.
14106 for ac_exec_ext
in '' $ac_executable_extensions; do
14107 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
14108 ac_cv_path_CP
="$as_dir/$ac_word$ac_exec_ext"
14109 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
14120 if test -n "$CP"; then
14121 echo "$as_me:$LINENO: result: $CP" >&5
14122 echo "${ECHO_T}$CP" >&6
14124 echo "$as_me:$LINENO: result: no" >&5
14125 echo "${ECHO_T}no" >&6
14128 # Extract the first word of "date", so it can be a program name with args.
14129 set dummy
date; ac_word
=$2
14130 echo "$as_me:$LINENO: checking for $ac_word" >&5
14131 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
14132 if test "${ac_cv_path_DATE+set}" = set; then
14133 echo $ECHO_N "(cached) $ECHO_C" >&6
14137 ac_cv_path_DATE
="$DATE" # Let the user override the test with a path.
14140 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
14141 for as_dir
in $PATH
14144 test -z "$as_dir" && as_dir
=.
14145 for ac_exec_ext
in '' $ac_executable_extensions; do
14146 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
14147 ac_cv_path_DATE
="$as_dir/$ac_word$ac_exec_ext"
14148 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
14157 DATE
=$ac_cv_path_DATE
14159 if test -n "$DATE"; then
14160 echo "$as_me:$LINENO: result: $DATE" >&5
14161 echo "${ECHO_T}$DATE" >&6
14163 echo "$as_me:$LINENO: result: no" >&5
14164 echo "${ECHO_T}no" >&6
14168 # Extract the first word of "find", so it can be a program name with args.
14169 set dummy
find; ac_word
=$2
14170 echo "$as_me:$LINENO: checking for $ac_word" >&5
14171 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
14172 if test "${ac_cv_path_FIND+set}" = set; then
14173 echo $ECHO_N "(cached) $ECHO_C" >&6
14177 ac_cv_path_FIND
="$FIND" # Let the user override the test with a path.
14180 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
14181 for as_dir
in $PATH
14184 test -z "$as_dir" && as_dir
=.
14185 for ac_exec_ext
in '' $ac_executable_extensions; do
14186 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
14187 ac_cv_path_FIND
="$as_dir/$ac_word$ac_exec_ext"
14188 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
14197 FIND
=$ac_cv_path_FIND
14199 if test -n "$FIND"; then
14200 echo "$as_me:$LINENO: result: $FIND" >&5
14201 echo "${ECHO_T}$FIND" >&6
14203 echo "$as_me:$LINENO: result: no" >&5
14204 echo "${ECHO_T}no" >&6
14209 # Extract the first word of "zip", so it can be a program name with args.
14210 set dummy
zip; ac_word
=$2
14211 echo "$as_me:$LINENO: checking for $ac_word" >&5
14212 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
14213 if test "${ac_cv_path_ZIP+set}" = set; then
14214 echo $ECHO_N "(cached) $ECHO_C" >&6
14218 ac_cv_path_ZIP
="$ZIP" # Let the user override the test with a path.
14221 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
14222 for as_dir
in $PATH
14225 test -z "$as_dir" && as_dir
=.
14226 for ac_exec_ext
in '' $ac_executable_extensions; do
14227 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
14228 ac_cv_path_ZIP
="$as_dir/$ac_word$ac_exec_ext"
14229 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
14238 ZIP
=$ac_cv_path_ZIP
14240 if test -n "$ZIP"; then
14241 echo "$as_me:$LINENO: result: $ZIP" >&5
14242 echo "${ECHO_T}$ZIP" >&6
14244 echo "$as_me:$LINENO: result: no" >&5
14245 echo "${ECHO_T}no" >&6
14249 # Check whether --with-fastjar or --without-fastjar was given.
14250 if test "${with_fastjar+set}" = set; then
14251 withval
="$with_fastjar"
14253 echo "$as_me:$LINENO: checking for user supplied fastjar" >&5
14254 echo $ECHO_N "checking for user supplied fastjar... $ECHO_C" >&6
14256 echo "$as_me:$LINENO: result: ${FASTJAR}" >&5
14257 echo "${ECHO_T}${FASTJAR}" >&6
14260 # Extract the first word of "fastjar", so it can be a program name with args.
14261 set dummy fastjar
; ac_word
=$2
14262 echo "$as_me:$LINENO: checking for $ac_word" >&5
14263 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
14264 if test "${ac_cv_path_FASTJAR+set}" = set; then
14265 echo $ECHO_N "(cached) $ECHO_C" >&6
14269 ac_cv_path_FASTJAR
="$FASTJAR" # Let the user override the test with a path.
14272 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
14273 for as_dir
in $PATH
14276 test -z "$as_dir" && as_dir
=.
14277 for ac_exec_ext
in '' $ac_executable_extensions; do
14278 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
14279 ac_cv_path_FASTJAR
="$as_dir/$ac_word$ac_exec_ext"
14280 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
14289 FASTJAR
=$ac_cv_path_FASTJAR
14291 if test -n "$FASTJAR"; then
14292 echo "$as_me:$LINENO: result: $FASTJAR" >&5
14293 echo "${ECHO_T}$FASTJAR" >&6
14295 echo "$as_me:$LINENO: result: no" >&5
14296 echo "${ECHO_T}no" >&6
14300 if test x
"${FASTJAR}" != x
; then
14305 # Check whether --with-glibj or --without-glibj was given.
14306 if test "${with_glibj+set}" = set; then
14307 withval
="$with_glibj"
14309 if test "x${withval}" = xyes ||
test "x${withval}" = xzip
; then
14310 install_class_files
=no
14311 build_class_files
=yes
14313 elif test "x${withval}" = xboth
; then
14314 install_class_files
=yes
14315 build_class_files
=yes
14317 elif test "x${withval}" = xflat
; then
14318 install_class_files
=yes
14319 build_class_files
=yes
14321 elif test "x${withval}" = xno ||
test "x${withval}" = xnone
; then
14322 install_class_files
=no
14323 build_class_files
=no
14325 elif test "x${withval}" = xbuild
; then
14326 install_class_files
=no
14327 build_class_files
=yes
14330 { { echo "$as_me:$LINENO: error: unknown value given to --with-glibj" >&5
14331 echo "$as_me: error: unknown value given to --with-glibj" >&2;}
14332 { (exit 1); exit 1; }; }
14337 install_class_files
=no
14343 if test "x${use_zip}" = xyes
; then
14344 INSTALL_GLIBJ_ZIP_TRUE
=
14345 INSTALL_GLIBJ_ZIP_FALSE
='#'
14347 INSTALL_GLIBJ_ZIP_TRUE
='#'
14348 INSTALL_GLIBJ_ZIP_FALSE
=
14353 if test "x${install_class_files}" = xyes
; then
14354 INSTALL_CLASS_FILES_TRUE
=
14355 INSTALL_CLASS_FILES_FALSE
='#'
14357 INSTALL_CLASS_FILES_TRUE
='#'
14358 INSTALL_CLASS_FILES_FALSE
=
14363 if test "x${build_class_files}" = xyes
; then
14364 BUILD_CLASS_FILES_TRUE
=
14365 BUILD_CLASS_FILES_FALSE
='#'
14367 BUILD_CLASS_FILES_TRUE
='#'
14368 BUILD_CLASS_FILES_FALSE
=
14372 # Check whether --enable-examples or --disable-examples was given.
14373 if test "${enable_examples+set}" = set; then
14374 enableval
="$enable_examples"
14375 case "${enableval}" in
14376 yes) EXAMPLESDIR
="examples" ;;
14377 no
) EXAMPLESDIR
="" ;;
14378 *) { { echo "$as_me:$LINENO: error: bad value ${enableval} for --enable-examples" >&5
14379 echo "$as_me: error: bad value ${enableval} for --enable-examples" >&2;}
14380 { (exit 1); exit 1; }; } ;;
14383 EXAMPLESDIR
="examples"
14385 if test "x${use_zip}" = xno
&& test "x${install_class_files}" = xno
; then
14393 # Check whether --with-gjdoc or --without-gjdoc was given.
14394 if test "${with_gjdoc+set}" = set; then
14395 withval
="$with_gjdoc"
14396 if test "x${withval}" = xno
; then
14398 elif test "x${withval}" = xyes
-o "x{withval}" = x
; then
14400 # Extract the first word of "gjdoc", so it can be a program name with args.
14401 set dummy gjdoc
; ac_word
=$2
14402 echo "$as_me:$LINENO: checking for $ac_word" >&5
14403 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
14404 if test "${ac_cv_path_GJDOC+set}" = set; then
14405 echo $ECHO_N "(cached) $ECHO_C" >&6
14409 ac_cv_path_GJDOC
="$GJDOC" # Let the user override the test with a path.
14412 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
14413 for as_dir
in $PATH
14416 test -z "$as_dir" && as_dir
=.
14417 for ac_exec_ext
in '' $ac_executable_extensions; do
14418 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
14419 ac_cv_path_GJDOC
="$as_dir/$ac_word$ac_exec_ext"
14420 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
14426 test -z "$ac_cv_path_GJDOC" && ac_cv_path_GJDOC
=""no
""
14430 GJDOC
=$ac_cv_path_GJDOC
14432 if test -n "$GJDOC"; then
14433 echo "$as_me:$LINENO: result: $GJDOC" >&5
14434 echo "${ECHO_T}$GJDOC" >&6
14436 echo "$as_me:$LINENO: result: no" >&5
14437 echo "${ECHO_T}no" >&6
14440 if test "x${GJDOC}" = xno
; then
14441 { { echo "$as_me:$LINENO: error: \"gjdoc executable not found\"" >&5
14442 echo "$as_me: error: \"gjdoc executable not found\"" >&2;}
14443 { (exit 1); exit 1; }; };
14448 as_ac_File
=`echo "ac_cv_file_${GJDOC}" | $as_tr_sh`
14449 echo "$as_me:$LINENO: checking for ${GJDOC}" >&5
14450 echo $ECHO_N "checking for ${GJDOC}... $ECHO_C" >&6
14451 if eval "test \"\${$as_ac_File+set}\" = set"; then
14452 echo $ECHO_N "(cached) $ECHO_C" >&6
14454 test "$cross_compiling" = yes &&
14455 { { echo "$as_me:$LINENO: error: cannot check for file existence when cross compiling" >&5
14456 echo "$as_me: error: cannot check for file existence when cross compiling" >&2;}
14457 { (exit 1); exit 1; }; }
14458 if test -r "${GJDOC}"; then
14459 eval "$as_ac_File=yes"
14461 eval "$as_ac_File=no"
14464 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_File'}'`" >&5
14465 echo "${ECHO_T}`eval echo '${'$as_ac_File'}'`" >&6
14466 if test `eval echo '${'$as_ac_File'}'` = yes; then
14469 { { echo "$as_me:$LINENO: error: \"Cannot use ${withval} as gjdoc executable since it doesn't exist\"" >&5
14470 echo "$as_me: error: \"Cannot use ${withval} as gjdoc executable since it doesn't exist\"" >&2;}
14471 { (exit 1); exit 1; }; }
14481 if test "x${WITH_GJDOC}" = xyes
; then
14482 CREATE_API_DOCS_TRUE
=
14483 CREATE_API_DOCS_FALSE
='#'
14485 CREATE_API_DOCS_TRUE
='#'
14486 CREATE_API_DOCS_FALSE
=
14493 # Check whether --with-jay or --without-jay was given.
14494 if test "${with_jay+set}" = set; then
14495 withval
="$with_jay"
14497 if test -d "${withval}"; then
14498 JAY_DIR_PATH
="${withval}"
14499 # Extract the first word of "jay", so it can be a program name with args.
14500 set dummy jay
; ac_word
=$2
14501 echo "$as_me:$LINENO: checking for $ac_word" >&5
14502 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
14503 if test "${ac_cv_path_JAY+set}" = set; then
14504 echo $ECHO_N "(cached) $ECHO_C" >&6
14508 ac_cv_path_JAY
="$JAY" # Let the user override the test with a path.
14511 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
14512 for as_dir
in ${JAY_DIR_PATH}
14515 test -z "$as_dir" && as_dir
=.
14516 for ac_exec_ext
in '' $ac_executable_extensions; do
14517 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
14518 ac_cv_path_JAY
="$as_dir/$ac_word$ac_exec_ext"
14519 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
14525 test -z "$ac_cv_path_JAY" && ac_cv_path_JAY
=""no
""
14529 JAY
=$ac_cv_path_JAY
14531 if test -n "$JAY"; then
14532 echo "$as_me:$LINENO: result: $JAY" >&5
14533 echo "${ECHO_T}$JAY" >&6
14535 echo "$as_me:$LINENO: result: no" >&5
14536 echo "${ECHO_T}no" >&6
14539 if test "x${JAY}" = xno
; then
14540 { { echo "$as_me:$LINENO: error: \"jay executable not found\"" >&5
14541 echo "$as_me: error: \"jay executable not found\"" >&2;}
14542 { (exit 1); exit 1; }; };
14545 JAY_DIR_PATH
=$
(dirname "${withval}")
14549 JAY_SKELETON
="${JAY_DIR_PATH}/skeleton"
14550 as_ac_File
=`echo "ac_cv_file_${JAY_SKELETON}" | $as_tr_sh`
14551 echo "$as_me:$LINENO: checking for ${JAY_SKELETON}" >&5
14552 echo $ECHO_N "checking for ${JAY_SKELETON}... $ECHO_C" >&6
14553 if eval "test \"\${$as_ac_File+set}\" = set"; then
14554 echo $ECHO_N "(cached) $ECHO_C" >&6
14556 test "$cross_compiling" = yes &&
14557 { { echo "$as_me:$LINENO: error: cannot check for file existence when cross compiling" >&5
14558 echo "$as_me: error: cannot check for file existence when cross compiling" >&2;}
14559 { (exit 1); exit 1; }; }
14560 if test -r "${JAY_SKELETON}"; then
14561 eval "$as_ac_File=yes"
14563 eval "$as_ac_File=no"
14566 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_File'}'`" >&5
14567 echo "${ECHO_T}`eval echo '${'$as_ac_File'}'`" >&6
14568 if test `eval echo '${'$as_ac_File'}'` = yes; then
14571 { { echo "$as_me:$LINENO: error: \"Expected skeleton file in $(dirname ${withval})\"" >&5
14572 echo "$as_me: error: \"Expected skeleton file in $(dirname ${withval})\"" >&2;}
14573 { (exit 1); exit 1; }; }
14585 if test "x${JAY_FOUND}" = xyes
; then
14586 REGEN_PARSERS_TRUE
=
14587 REGEN_PARSERS_FALSE
='#'
14589 REGEN_PARSERS_TRUE
='#'
14590 REGEN_PARSERS_FALSE
=
14595 # Check whether --enable-portable-native-sync or --disable-portable-native-sync was given.
14596 if test "${enable_portable_native_sync+set}" = set; then
14597 enableval
="$enable_portable_native_sync"
14598 case "${enableval}" in
14601 cat >>confdefs.h
<<\_ACEOF
14602 #define PORTABLE_NATIVE_SYNC 1
14608 { { echo "$as_me:$LINENO: error: bad value ${enableval} for --enable-portable-native-sync" >&5
14609 echo "$as_me: error: bad value ${enableval} for --enable-portable-native-sync" >&2;}
14610 { (exit 1); exit 1; }; }
14615 # ------ AX CREATE STDINT H -------------------------------------
14616 echo "$as_me:$LINENO: checking for stdint types" >&5
14617 echo $ECHO_N "checking for stdint types... $ECHO_C" >&6
14618 ac_stdint_h
=`echo include/config-int.h`
14619 # try to shortcircuit - if the default include path of the compiler
14620 # can find a "stdint.h" header then we assume that all compilers can.
14621 if test "${ac_cv_header_stdint_t+set}" = set; then
14622 echo $ECHO_N "(cached) $ECHO_C" >&6
14625 old_CXXFLAGS
="$CXXFLAGS" ; CXXFLAGS
=""
14626 old_CPPFLAGS
="$CPPFLAGS" ; CPPFLAGS
=""
14627 old_CFLAGS
="$CFLAGS" ; CFLAGS
=""
14628 cat >conftest.
$ac_ext <<_ACEOF
14631 cat confdefs.h
>>conftest.
$ac_ext
14632 cat >>conftest.
$ac_ext <<_ACEOF
14633 /* end confdefs.h. */
14634 #include <stdint.h>
14638 int_least32_t v = 0;
14643 rm -f conftest.
$ac_objext
14644 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14645 (eval $ac_compile) 2>conftest.er1
14647 grep -v '^ *+' conftest.er1
>conftest.err
14649 cat conftest.err
>&5
14650 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14651 (exit $ac_status); } &&
14652 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
14653 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14654 (eval $ac_try) 2>&5
14656 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14657 (exit $ac_status); }; } &&
14658 { ac_try
='test -s conftest.$ac_objext'
14659 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14660 (eval $ac_try) 2>&5
14662 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14663 (exit $ac_status); }; }; then
14664 ac_cv_stdint_result
="(assuming C99 compatible system)"
14665 ac_cv_header_stdint_t
="stdint.h";
14667 echo "$as_me: failed program was:" >&5
14668 sed 's/^/| /' conftest.
$ac_ext >&5
14670 ac_cv_header_stdint_t
=""
14672 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
14673 CXXFLAGS
="$old_CXXFLAGS"
14674 CPPFLAGS
="$old_CPPFLAGS"
14675 CFLAGS
="$old_CFLAGS"
14679 v
="... $ac_cv_header_stdint_h"
14680 if test "$ac_stdint_h" = "stdint.h" ; then
14681 echo "$as_me:$LINENO: result: (are you sure you want them in ./stdint.h?)" >&5
14682 echo "${ECHO_T}(are you sure you want them in ./stdint.h?)" >&6
14683 elif test "$ac_stdint_h" = "inttypes.h" ; then
14684 echo "$as_me:$LINENO: result: (are you sure you want them in ./inttypes.h?)" >&5
14685 echo "${ECHO_T}(are you sure you want them in ./inttypes.h?)" >&6
14686 elif test "_$ac_cv_header_stdint_t" = "_" ; then
14687 echo "$as_me:$LINENO: result: (putting them into $ac_stdint_h)$v" >&5
14688 echo "${ECHO_T}(putting them into $ac_stdint_h)$v" >&6
14690 ac_cv_header_stdint
="$ac_cv_header_stdint_t"
14691 echo "$as_me:$LINENO: result: $ac_cv_header_stdint (shortcircuit)" >&5
14692 echo "${ECHO_T}$ac_cv_header_stdint (shortcircuit)" >&6
14695 if test "_$ac_cv_header_stdint_t" = "_" ; then # can not shortcircuit..
14698 inttype_headers
=`echo | sed -e 's/,/ /g'`
14700 ac_cv_stdint_result
="(no helpful system typedefs seen)"
14702 echo "$as_me:$LINENO: checking for stdint uintptr_t" >&5
14703 echo $ECHO_N "checking for stdint uintptr_t... $ECHO_C" >&6
14704 if test "${ac_cv_header_stdint_x+set}" = set; then
14705 echo $ECHO_N "(cached) $ECHO_C" >&6
14708 ac_cv_header_stdint_x
="" # the 1997 typedefs (inttypes.h)
14709 echo "$as_me:$LINENO: result: (..)" >&5
14710 echo "${ECHO_T}(..)" >&6
14711 for i
in stdint.h inttypes.h sys
/inttypes.h
$inttype_headers ; do
14712 unset ac_cv_type_uintptr_t
14713 unset ac_cv_type_uint64_t
14714 echo "$as_me:$LINENO: checking for uintptr_t" >&5
14715 echo $ECHO_N "checking for uintptr_t... $ECHO_C" >&6
14716 if test "${ac_cv_type_uintptr_t+set}" = set; then
14717 echo $ECHO_N "(cached) $ECHO_C" >&6
14719 cat >conftest.
$ac_ext <<_ACEOF
14722 cat confdefs.h
>>conftest.
$ac_ext
14723 cat >>conftest.
$ac_ext <<_ACEOF
14724 /* end confdefs.h. */
14730 if ((uintptr_t *) 0)
14732 if (sizeof (uintptr_t))
14738 rm -f conftest.
$ac_objext
14739 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14740 (eval $ac_compile) 2>conftest.er1
14742 grep -v '^ *+' conftest.er1
>conftest.err
14744 cat conftest.err
>&5
14745 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14746 (exit $ac_status); } &&
14747 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
14748 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14749 (eval $ac_try) 2>&5
14751 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14752 (exit $ac_status); }; } &&
14753 { ac_try
='test -s conftest.$ac_objext'
14754 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14755 (eval $ac_try) 2>&5
14757 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14758 (exit $ac_status); }; }; then
14759 ac_cv_type_uintptr_t
=yes
14761 echo "$as_me: failed program was:" >&5
14762 sed 's/^/| /' conftest.
$ac_ext >&5
14764 ac_cv_type_uintptr_t
=no
14766 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
14768 echo "$as_me:$LINENO: result: $ac_cv_type_uintptr_t" >&5
14769 echo "${ECHO_T}$ac_cv_type_uintptr_t" >&6
14770 if test $ac_cv_type_uintptr_t = yes; then
14771 ac_cv_header_stdint_x
=$i
14776 echo "$as_me:$LINENO: checking for uint64_t" >&5
14777 echo $ECHO_N "checking for uint64_t... $ECHO_C" >&6
14778 if test "${ac_cv_type_uint64_t+set}" = set; then
14779 echo $ECHO_N "(cached) $ECHO_C" >&6
14781 cat >conftest.
$ac_ext <<_ACEOF
14784 cat confdefs.h
>>conftest.
$ac_ext
14785 cat >>conftest.
$ac_ext <<_ACEOF
14786 /* end confdefs.h. */
14792 if ((uint64_t *) 0)
14794 if (sizeof (uint64_t))
14800 rm -f conftest.
$ac_objext
14801 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14802 (eval $ac_compile) 2>conftest.er1
14804 grep -v '^ *+' conftest.er1
>conftest.err
14806 cat conftest.err
>&5
14807 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14808 (exit $ac_status); } &&
14809 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
14810 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14811 (eval $ac_try) 2>&5
14813 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14814 (exit $ac_status); }; } &&
14815 { ac_try
='test -s conftest.$ac_objext'
14816 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14817 (eval $ac_try) 2>&5
14819 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14820 (exit $ac_status); }; }; then
14821 ac_cv_type_uint64_t
=yes
14823 echo "$as_me: failed program was:" >&5
14824 sed 's/^/| /' conftest.
$ac_ext >&5
14826 ac_cv_type_uint64_t
=no
14828 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
14830 echo "$as_me:$LINENO: result: $ac_cv_type_uint64_t" >&5
14831 echo "${ECHO_T}$ac_cv_type_uint64_t" >&6
14832 if test $ac_cv_type_uint64_t = yes; then
14838 stdint.h inttypes.h sys
/inttypes.h
$inttype_headers
14841 echo "$as_me:$LINENO: checking for stdint uintptr_t" >&5
14842 echo $ECHO_N "checking for stdint uintptr_t... $ECHO_C" >&6
14845 echo "$as_me:$LINENO: result: $ac_cv_header_stdint_x" >&5
14846 echo "${ECHO_T}$ac_cv_header_stdint_x" >&6
14849 if test "_$ac_cv_header_stdint_x" = "_" ; then
14851 echo "$as_me:$LINENO: checking for stdint uint32_t" >&5
14852 echo $ECHO_N "checking for stdint uint32_t... $ECHO_C" >&6
14853 if test "${ac_cv_header_stdint_o+set}" = set; then
14854 echo $ECHO_N "(cached) $ECHO_C" >&6
14857 ac_cv_header_stdint_o
="" # the 1995 typedefs (sys/inttypes.h)
14858 echo "$as_me:$LINENO: result: (..)" >&5
14859 echo "${ECHO_T}(..)" >&6
14860 for i
in inttypes.h sys
/inttypes.h stdint.h
$inttype_headers ; do
14861 unset ac_cv_type_uint32_t
14862 unset ac_cv_type_uint64_t
14863 echo "$as_me:$LINENO: checking for uint32_t" >&5
14864 echo $ECHO_N "checking for uint32_t... $ECHO_C" >&6
14865 if test "${ac_cv_type_uint32_t+set}" = set; then
14866 echo $ECHO_N "(cached) $ECHO_C" >&6
14868 cat >conftest.
$ac_ext <<_ACEOF
14871 cat confdefs.h
>>conftest.
$ac_ext
14872 cat >>conftest.
$ac_ext <<_ACEOF
14873 /* end confdefs.h. */
14879 if ((uint32_t *) 0)
14881 if (sizeof (uint32_t))
14887 rm -f conftest.
$ac_objext
14888 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14889 (eval $ac_compile) 2>conftest.er1
14891 grep -v '^ *+' conftest.er1
>conftest.err
14893 cat conftest.err
>&5
14894 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14895 (exit $ac_status); } &&
14896 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
14897 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14898 (eval $ac_try) 2>&5
14900 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14901 (exit $ac_status); }; } &&
14902 { ac_try
='test -s conftest.$ac_objext'
14903 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14904 (eval $ac_try) 2>&5
14906 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14907 (exit $ac_status); }; }; then
14908 ac_cv_type_uint32_t
=yes
14910 echo "$as_me: failed program was:" >&5
14911 sed 's/^/| /' conftest.
$ac_ext >&5
14913 ac_cv_type_uint32_t
=no
14915 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
14917 echo "$as_me:$LINENO: result: $ac_cv_type_uint32_t" >&5
14918 echo "${ECHO_T}$ac_cv_type_uint32_t" >&6
14919 if test $ac_cv_type_uint32_t = yes; then
14920 ac_cv_header_stdint_o
=$i
14925 echo "$as_me:$LINENO: checking for uint64_t" >&5
14926 echo $ECHO_N "checking for uint64_t... $ECHO_C" >&6
14927 if test "${ac_cv_type_uint64_t+set}" = set; then
14928 echo $ECHO_N "(cached) $ECHO_C" >&6
14930 cat >conftest.
$ac_ext <<_ACEOF
14933 cat confdefs.h
>>conftest.
$ac_ext
14934 cat >>conftest.
$ac_ext <<_ACEOF
14935 /* end confdefs.h. */
14941 if ((uint64_t *) 0)
14943 if (sizeof (uint64_t))
14949 rm -f conftest.
$ac_objext
14950 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14951 (eval $ac_compile) 2>conftest.er1
14953 grep -v '^ *+' conftest.er1
>conftest.err
14955 cat conftest.err
>&5
14956 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14957 (exit $ac_status); } &&
14958 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
14959 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14960 (eval $ac_try) 2>&5
14962 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14963 (exit $ac_status); }; } &&
14964 { ac_try
='test -s conftest.$ac_objext'
14965 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14966 (eval $ac_try) 2>&5
14968 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14969 (exit $ac_status); }; }; then
14970 ac_cv_type_uint64_t
=yes
14972 echo "$as_me: failed program was:" >&5
14973 sed 's/^/| /' conftest.
$ac_ext >&5
14975 ac_cv_type_uint64_t
=no
14977 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
14979 echo "$as_me:$LINENO: result: $ac_cv_type_uint64_t" >&5
14980 echo "${ECHO_T}$ac_cv_type_uint64_t" >&6
14981 if test $ac_cv_type_uint64_t = yes; then
14987 inttypes.h sys
/inttypes.h stdint.h
$inttype_headers
14991 echo "$as_me:$LINENO: checking for stdint uint32_t" >&5
14992 echo $ECHO_N "checking for stdint uint32_t... $ECHO_C" >&6
14995 echo "$as_me:$LINENO: result: $ac_cv_header_stdint_o" >&5
14996 echo "${ECHO_T}$ac_cv_header_stdint_o" >&6
15000 if test "_$ac_cv_header_stdint_x" = "_" ; then
15001 if test "_$ac_cv_header_stdint_o" = "_" ; then
15003 echo "$as_me:$LINENO: checking for stdint u_int32_t" >&5
15004 echo $ECHO_N "checking for stdint u_int32_t... $ECHO_C" >&6
15005 if test "${ac_cv_header_stdint_u+set}" = set; then
15006 echo $ECHO_N "(cached) $ECHO_C" >&6
15009 ac_cv_header_stdint_u
="" # the BSD typedefs (sys/types.h)
15010 echo "$as_me:$LINENO: result: (..)" >&5
15011 echo "${ECHO_T}(..)" >&6
15012 for i
in sys
/types.h inttypes.h sys
/inttypes.h
$inttype_headers ; do
15013 unset ac_cv_type_u_int32_t
15014 unset ac_cv_type_u_int64_t
15015 echo "$as_me:$LINENO: checking for u_int32_t" >&5
15016 echo $ECHO_N "checking for u_int32_t... $ECHO_C" >&6
15017 if test "${ac_cv_type_u_int32_t+set}" = set; then
15018 echo $ECHO_N "(cached) $ECHO_C" >&6
15020 cat >conftest.
$ac_ext <<_ACEOF
15023 cat confdefs.h
>>conftest.
$ac_ext
15024 cat >>conftest.
$ac_ext <<_ACEOF
15025 /* end confdefs.h. */
15031 if ((u_int32_t *) 0)
15033 if (sizeof (u_int32_t))
15039 rm -f conftest.
$ac_objext
15040 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15041 (eval $ac_compile) 2>conftest.er1
15043 grep -v '^ *+' conftest.er1
>conftest.err
15045 cat conftest.err
>&5
15046 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15047 (exit $ac_status); } &&
15048 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
15049 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15050 (eval $ac_try) 2>&5
15052 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15053 (exit $ac_status); }; } &&
15054 { ac_try
='test -s conftest.$ac_objext'
15055 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15056 (eval $ac_try) 2>&5
15058 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15059 (exit $ac_status); }; }; then
15060 ac_cv_type_u_int32_t
=yes
15062 echo "$as_me: failed program was:" >&5
15063 sed 's/^/| /' conftest.
$ac_ext >&5
15065 ac_cv_type_u_int32_t
=no
15067 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
15069 echo "$as_me:$LINENO: result: $ac_cv_type_u_int32_t" >&5
15070 echo "${ECHO_T}$ac_cv_type_u_int32_t" >&6
15071 if test $ac_cv_type_u_int32_t = yes; then
15072 ac_cv_header_stdint_u
=$i
15077 echo "$as_me:$LINENO: checking for u_int64_t" >&5
15078 echo $ECHO_N "checking for u_int64_t... $ECHO_C" >&6
15079 if test "${ac_cv_type_u_int64_t+set}" = set; then
15080 echo $ECHO_N "(cached) $ECHO_C" >&6
15082 cat >conftest.
$ac_ext <<_ACEOF
15085 cat confdefs.h
>>conftest.
$ac_ext
15086 cat >>conftest.
$ac_ext <<_ACEOF
15087 /* end confdefs.h. */
15093 if ((u_int64_t *) 0)
15095 if (sizeof (u_int64_t))
15101 rm -f conftest.
$ac_objext
15102 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15103 (eval $ac_compile) 2>conftest.er1
15105 grep -v '^ *+' conftest.er1
>conftest.err
15107 cat conftest.err
>&5
15108 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15109 (exit $ac_status); } &&
15110 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
15111 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15112 (eval $ac_try) 2>&5
15114 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15115 (exit $ac_status); }; } &&
15116 { ac_try
='test -s conftest.$ac_objext'
15117 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15118 (eval $ac_try) 2>&5
15120 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15121 (exit $ac_status); }; }; then
15122 ac_cv_type_u_int64_t
=yes
15124 echo "$as_me: failed program was:" >&5
15125 sed 's/^/| /' conftest.
$ac_ext >&5
15127 ac_cv_type_u_int64_t
=no
15129 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
15131 echo "$as_me:$LINENO: result: $ac_cv_type_u_int64_t" >&5
15132 echo "${ECHO_T}$ac_cv_type_u_int64_t" >&6
15133 if test $ac_cv_type_u_int64_t = yes; then
15139 sys
/types.h inttypes.h sys
/inttypes.h
$inttype_headers
15143 echo "$as_me:$LINENO: checking for stdint u_int32_t" >&5
15144 echo $ECHO_N "checking for stdint u_int32_t... $ECHO_C" >&6
15147 echo "$as_me:$LINENO: result: $ac_cv_header_stdint_u" >&5
15148 echo "${ECHO_T}$ac_cv_header_stdint_u" >&6
15152 if test "_$ac_cv_header_stdint_x" = "_" ; then
15153 echo "$as_me:$LINENO: checking for stdint datatype model" >&5
15154 echo $ECHO_N "checking for stdint datatype model... $ECHO_C" >&6
15155 echo "$as_me:$LINENO: result: (..)" >&5
15156 echo "${ECHO_T}(..)" >&6
15158 echo "$as_me:$LINENO: checking for char" >&5
15159 echo $ECHO_N "checking for char... $ECHO_C" >&6
15160 if test "${ac_cv_type_char+set}" = set; then
15161 echo $ECHO_N "(cached) $ECHO_C" >&6
15163 cat >conftest.
$ac_ext <<_ACEOF
15166 cat confdefs.h
>>conftest.
$ac_ext
15167 cat >>conftest.
$ac_ext <<_ACEOF
15168 /* end confdefs.h. */
15169 $ac_includes_default
15181 rm -f conftest.
$ac_objext
15182 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15183 (eval $ac_compile) 2>conftest.er1
15185 grep -v '^ *+' conftest.er1
>conftest.err
15187 cat conftest.err
>&5
15188 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15189 (exit $ac_status); } &&
15190 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
15191 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15192 (eval $ac_try) 2>&5
15194 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15195 (exit $ac_status); }; } &&
15196 { ac_try
='test -s conftest.$ac_objext'
15197 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15198 (eval $ac_try) 2>&5
15200 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15201 (exit $ac_status); }; }; then
15202 ac_cv_type_char
=yes
15204 echo "$as_me: failed program was:" >&5
15205 sed 's/^/| /' conftest.
$ac_ext >&5
15209 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
15211 echo "$as_me:$LINENO: result: $ac_cv_type_char" >&5
15212 echo "${ECHO_T}$ac_cv_type_char" >&6
15214 echo "$as_me:$LINENO: checking size of char" >&5
15215 echo $ECHO_N "checking size of char... $ECHO_C" >&6
15216 if test "${ac_cv_sizeof_char+set}" = set; then
15217 echo $ECHO_N "(cached) $ECHO_C" >&6
15219 if test "$ac_cv_type_char" = yes; then
15220 # The cast to unsigned long works around a bug in the HP C Compiler
15221 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
15222 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
15223 # This bug is HP SR number 8606223364.
15224 if test "$cross_compiling" = yes; then
15225 # Depending upon the size, compute the lo and hi bounds.
15226 cat >conftest.
$ac_ext <<_ACEOF
15229 cat confdefs.h
>>conftest.
$ac_ext
15230 cat >>conftest.
$ac_ext <<_ACEOF
15231 /* end confdefs.h. */
15232 $ac_includes_default
15236 static int test_array [1 - 2 * !(((long) (sizeof (char))) >= 0)];
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" || test ! -s conftest.err'
15253 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15254 (eval $ac_try) 2>&5
15256 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15257 (exit $ac_status); }; } &&
15258 { ac_try
='test -s conftest.$ac_objext'
15259 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15260 (eval $ac_try) 2>&5
15262 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15263 (exit $ac_status); }; }; then
15266 cat >conftest.
$ac_ext <<_ACEOF
15269 cat confdefs.h
>>conftest.
$ac_ext
15270 cat >>conftest.
$ac_ext <<_ACEOF
15271 /* end confdefs.h. */
15272 $ac_includes_default
15276 static int test_array [1 - 2 * !(((long) (sizeof (char))) <= $ac_mid)];
15283 rm -f conftest.
$ac_objext
15284 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15285 (eval $ac_compile) 2>conftest.er1
15287 grep -v '^ *+' conftest.er1
>conftest.err
15289 cat conftest.err
>&5
15290 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15291 (exit $ac_status); } &&
15292 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
15293 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15294 (eval $ac_try) 2>&5
15296 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15297 (exit $ac_status); }; } &&
15298 { ac_try
='test -s conftest.$ac_objext'
15299 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15300 (eval $ac_try) 2>&5
15302 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15303 (exit $ac_status); }; }; then
15304 ac_hi
=$ac_mid; break
15306 echo "$as_me: failed program was:" >&5
15307 sed 's/^/| /' conftest.
$ac_ext >&5
15309 ac_lo
=`expr $ac_mid + 1`
15310 if test $ac_lo -le $ac_mid; then
15314 ac_mid
=`expr 2 '*' $ac_mid + 1`
15316 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
15319 echo "$as_me: failed program was:" >&5
15320 sed 's/^/| /' conftest.
$ac_ext >&5
15322 cat >conftest.
$ac_ext <<_ACEOF
15325 cat confdefs.h
>>conftest.
$ac_ext
15326 cat >>conftest.
$ac_ext <<_ACEOF
15327 /* end confdefs.h. */
15328 $ac_includes_default
15332 static int test_array [1 - 2 * !(((long) (sizeof (char))) < 0)];
15339 rm -f conftest.
$ac_objext
15340 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15341 (eval $ac_compile) 2>conftest.er1
15343 grep -v '^ *+' conftest.er1
>conftest.err
15345 cat conftest.err
>&5
15346 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15347 (exit $ac_status); } &&
15348 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
15349 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15350 (eval $ac_try) 2>&5
15352 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15353 (exit $ac_status); }; } &&
15354 { ac_try
='test -s conftest.$ac_objext'
15355 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15356 (eval $ac_try) 2>&5
15358 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15359 (exit $ac_status); }; }; then
15362 cat >conftest.
$ac_ext <<_ACEOF
15365 cat confdefs.h
>>conftest.
$ac_ext
15366 cat >>conftest.
$ac_ext <<_ACEOF
15367 /* end confdefs.h. */
15368 $ac_includes_default
15372 static int test_array [1 - 2 * !(((long) (sizeof (char))) >= $ac_mid)];
15379 rm -f conftest.
$ac_objext
15380 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15381 (eval $ac_compile) 2>conftest.er1
15383 grep -v '^ *+' conftest.er1
>conftest.err
15385 cat conftest.err
>&5
15386 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15387 (exit $ac_status); } &&
15388 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
15389 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15390 (eval $ac_try) 2>&5
15392 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15393 (exit $ac_status); }; } &&
15394 { ac_try
='test -s conftest.$ac_objext'
15395 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15396 (eval $ac_try) 2>&5
15398 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15399 (exit $ac_status); }; }; then
15400 ac_lo
=$ac_mid; break
15402 echo "$as_me: failed program was:" >&5
15403 sed 's/^/| /' conftest.
$ac_ext >&5
15405 ac_hi
=`expr '(' $ac_mid ')' - 1`
15406 if test $ac_mid -le $ac_hi; then
15410 ac_mid
=`expr 2 '*' $ac_mid`
15412 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
15415 echo "$as_me: failed program was:" >&5
15416 sed 's/^/| /' conftest.
$ac_ext >&5
15420 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
15422 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
15423 # Binary search between lo and hi bounds.
15424 while test "x$ac_lo" != "x$ac_hi"; do
15425 ac_mid
=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
15426 cat >conftest.
$ac_ext <<_ACEOF
15429 cat confdefs.h
>>conftest.
$ac_ext
15430 cat >>conftest.
$ac_ext <<_ACEOF
15431 /* end confdefs.h. */
15432 $ac_includes_default
15436 static int test_array [1 - 2 * !(((long) (sizeof (char))) <= $ac_mid)];
15443 rm -f conftest.
$ac_objext
15444 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15445 (eval $ac_compile) 2>conftest.er1
15447 grep -v '^ *+' conftest.er1
>conftest.err
15449 cat conftest.err
>&5
15450 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15451 (exit $ac_status); } &&
15452 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
15453 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15454 (eval $ac_try) 2>&5
15456 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15457 (exit $ac_status); }; } &&
15458 { ac_try
='test -s conftest.$ac_objext'
15459 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15460 (eval $ac_try) 2>&5
15462 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15463 (exit $ac_status); }; }; then
15466 echo "$as_me: failed program was:" >&5
15467 sed 's/^/| /' conftest.
$ac_ext >&5
15469 ac_lo
=`expr '(' $ac_mid ')' + 1`
15471 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
15474 ?
*) ac_cv_sizeof_char
=$ac_lo;;
15475 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (char), 77
15476 See \`config.log' for more details." >&5
15477 echo "$as_me: error: cannot compute sizeof (char), 77
15478 See \`config.log' for more details." >&2;}
15479 { (exit 1); exit 1; }; } ;;
15482 if test "$cross_compiling" = yes; then
15483 { { echo "$as_me:$LINENO: error: internal error: not reached in cross-compile" >&5
15484 echo "$as_me: error: internal error: not reached in cross-compile" >&2;}
15485 { (exit 1); exit 1; }; }
15487 cat >conftest.
$ac_ext <<_ACEOF
15490 cat confdefs.h
>>conftest.
$ac_ext
15491 cat >>conftest.
$ac_ext <<_ACEOF
15492 /* end confdefs.h. */
15493 $ac_includes_default
15494 long longval () { return (long) (sizeof (char)); }
15495 unsigned long ulongval () { return (long) (sizeof (char)); }
15497 #include <stdlib.h>
15502 FILE *f = fopen ("conftest.val", "w");
15505 if (((long) (sizeof (char))) < 0)
15507 long i = longval ();
15508 if (i != ((long) (sizeof (char))))
15510 fprintf (f, "%ld\n", i);
15514 unsigned long i = ulongval ();
15515 if (i != ((long) (sizeof (char))))
15517 fprintf (f, "%lu\n", i);
15519 exit (ferror (f) || fclose (f) != 0);
15525 rm -f conftest
$ac_exeext
15526 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
15527 (eval $ac_link) 2>&5
15529 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15530 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
15531 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15532 (eval $ac_try) 2>&5
15534 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15535 (exit $ac_status); }; }; then
15536 ac_cv_sizeof_char
=`cat conftest.val`
15538 echo "$as_me: program exited with status $ac_status" >&5
15539 echo "$as_me: failed program was:" >&5
15540 sed 's/^/| /' conftest.
$ac_ext >&5
15542 ( exit $ac_status )
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; }; }
15549 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
15554 ac_cv_sizeof_char
=0
15557 echo "$as_me:$LINENO: result: $ac_cv_sizeof_char" >&5
15558 echo "${ECHO_T}$ac_cv_sizeof_char" >&6
15559 cat >>confdefs.h
<<_ACEOF
15560 #define SIZEOF_CHAR $ac_cv_sizeof_char
15564 echo "$as_me:$LINENO: checking for short" >&5
15565 echo $ECHO_N "checking for short... $ECHO_C" >&6
15566 if test "${ac_cv_type_short+set}" = set; then
15567 echo $ECHO_N "(cached) $ECHO_C" >&6
15569 cat >conftest.
$ac_ext <<_ACEOF
15572 cat confdefs.h
>>conftest.
$ac_ext
15573 cat >>conftest.
$ac_ext <<_ACEOF
15574 /* end confdefs.h. */
15575 $ac_includes_default
15581 if (sizeof (short))
15587 rm -f conftest.
$ac_objext
15588 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15589 (eval $ac_compile) 2>conftest.er1
15591 grep -v '^ *+' conftest.er1
>conftest.err
15593 cat conftest.err
>&5
15594 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15595 (exit $ac_status); } &&
15596 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
15597 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15598 (eval $ac_try) 2>&5
15600 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15601 (exit $ac_status); }; } &&
15602 { ac_try
='test -s conftest.$ac_objext'
15603 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15604 (eval $ac_try) 2>&5
15606 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15607 (exit $ac_status); }; }; then
15608 ac_cv_type_short
=yes
15610 echo "$as_me: failed program was:" >&5
15611 sed 's/^/| /' conftest.
$ac_ext >&5
15613 ac_cv_type_short
=no
15615 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
15617 echo "$as_me:$LINENO: result: $ac_cv_type_short" >&5
15618 echo "${ECHO_T}$ac_cv_type_short" >&6
15620 echo "$as_me:$LINENO: checking size of short" >&5
15621 echo $ECHO_N "checking size of short... $ECHO_C" >&6
15622 if test "${ac_cv_sizeof_short+set}" = set; then
15623 echo $ECHO_N "(cached) $ECHO_C" >&6
15625 if test "$ac_cv_type_short" = yes; then
15626 # The cast to unsigned long works around a bug in the HP C Compiler
15627 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
15628 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
15629 # This bug is HP SR number 8606223364.
15630 if test "$cross_compiling" = yes; then
15631 # Depending upon the size, compute the lo and hi bounds.
15632 cat >conftest.
$ac_ext <<_ACEOF
15635 cat confdefs.h
>>conftest.
$ac_ext
15636 cat >>conftest.
$ac_ext <<_ACEOF
15637 /* end confdefs.h. */
15638 $ac_includes_default
15642 static int test_array [1 - 2 * !(((long) (sizeof (short))) >= 0)];
15649 rm -f conftest.
$ac_objext
15650 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15651 (eval $ac_compile) 2>conftest.er1
15653 grep -v '^ *+' conftest.er1
>conftest.err
15655 cat conftest.err
>&5
15656 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15657 (exit $ac_status); } &&
15658 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
15659 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15660 (eval $ac_try) 2>&5
15662 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15663 (exit $ac_status); }; } &&
15664 { ac_try
='test -s conftest.$ac_objext'
15665 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15666 (eval $ac_try) 2>&5
15668 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15669 (exit $ac_status); }; }; then
15672 cat >conftest.
$ac_ext <<_ACEOF
15675 cat confdefs.h
>>conftest.
$ac_ext
15676 cat >>conftest.
$ac_ext <<_ACEOF
15677 /* end confdefs.h. */
15678 $ac_includes_default
15682 static int test_array [1 - 2 * !(((long) (sizeof (short))) <= $ac_mid)];
15689 rm -f conftest.
$ac_objext
15690 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15691 (eval $ac_compile) 2>conftest.er1
15693 grep -v '^ *+' conftest.er1
>conftest.err
15695 cat conftest.err
>&5
15696 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15697 (exit $ac_status); } &&
15698 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
15699 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15700 (eval $ac_try) 2>&5
15702 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15703 (exit $ac_status); }; } &&
15704 { ac_try
='test -s conftest.$ac_objext'
15705 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15706 (eval $ac_try) 2>&5
15708 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15709 (exit $ac_status); }; }; then
15710 ac_hi
=$ac_mid; break
15712 echo "$as_me: failed program was:" >&5
15713 sed 's/^/| /' conftest.
$ac_ext >&5
15715 ac_lo
=`expr $ac_mid + 1`
15716 if test $ac_lo -le $ac_mid; then
15720 ac_mid
=`expr 2 '*' $ac_mid + 1`
15722 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
15725 echo "$as_me: failed program was:" >&5
15726 sed 's/^/| /' conftest.
$ac_ext >&5
15728 cat >conftest.
$ac_ext <<_ACEOF
15731 cat confdefs.h
>>conftest.
$ac_ext
15732 cat >>conftest.
$ac_ext <<_ACEOF
15733 /* end confdefs.h. */
15734 $ac_includes_default
15738 static int test_array [1 - 2 * !(((long) (sizeof (short))) < 0)];
15745 rm -f conftest.
$ac_objext
15746 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15747 (eval $ac_compile) 2>conftest.er1
15749 grep -v '^ *+' conftest.er1
>conftest.err
15751 cat conftest.err
>&5
15752 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15753 (exit $ac_status); } &&
15754 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
15755 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15756 (eval $ac_try) 2>&5
15758 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15759 (exit $ac_status); }; } &&
15760 { ac_try
='test -s conftest.$ac_objext'
15761 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15762 (eval $ac_try) 2>&5
15764 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15765 (exit $ac_status); }; }; then
15768 cat >conftest.
$ac_ext <<_ACEOF
15771 cat confdefs.h
>>conftest.
$ac_ext
15772 cat >>conftest.
$ac_ext <<_ACEOF
15773 /* end confdefs.h. */
15774 $ac_includes_default
15778 static int test_array [1 - 2 * !(((long) (sizeof (short))) >= $ac_mid)];
15785 rm -f conftest.
$ac_objext
15786 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15787 (eval $ac_compile) 2>conftest.er1
15789 grep -v '^ *+' conftest.er1
>conftest.err
15791 cat conftest.err
>&5
15792 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15793 (exit $ac_status); } &&
15794 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
15795 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15796 (eval $ac_try) 2>&5
15798 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15799 (exit $ac_status); }; } &&
15800 { ac_try
='test -s conftest.$ac_objext'
15801 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15802 (eval $ac_try) 2>&5
15804 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15805 (exit $ac_status); }; }; then
15806 ac_lo
=$ac_mid; break
15808 echo "$as_me: failed program was:" >&5
15809 sed 's/^/| /' conftest.
$ac_ext >&5
15811 ac_hi
=`expr '(' $ac_mid ')' - 1`
15812 if test $ac_mid -le $ac_hi; then
15816 ac_mid
=`expr 2 '*' $ac_mid`
15818 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
15821 echo "$as_me: failed program was:" >&5
15822 sed 's/^/| /' conftest.
$ac_ext >&5
15826 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
15828 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
15829 # Binary search between lo and hi bounds.
15830 while test "x$ac_lo" != "x$ac_hi"; do
15831 ac_mid
=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
15832 cat >conftest.
$ac_ext <<_ACEOF
15835 cat confdefs.h
>>conftest.
$ac_ext
15836 cat >>conftest.
$ac_ext <<_ACEOF
15837 /* end confdefs.h. */
15838 $ac_includes_default
15842 static int test_array [1 - 2 * !(((long) (sizeof (short))) <= $ac_mid)];
15849 rm -f conftest.
$ac_objext
15850 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15851 (eval $ac_compile) 2>conftest.er1
15853 grep -v '^ *+' conftest.er1
>conftest.err
15855 cat conftest.err
>&5
15856 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15857 (exit $ac_status); } &&
15858 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
15859 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15860 (eval $ac_try) 2>&5
15862 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15863 (exit $ac_status); }; } &&
15864 { ac_try
='test -s conftest.$ac_objext'
15865 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15866 (eval $ac_try) 2>&5
15868 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15869 (exit $ac_status); }; }; then
15872 echo "$as_me: failed program was:" >&5
15873 sed 's/^/| /' conftest.
$ac_ext >&5
15875 ac_lo
=`expr '(' $ac_mid ')' + 1`
15877 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
15880 ?
*) ac_cv_sizeof_short
=$ac_lo;;
15881 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (short), 77
15882 See \`config.log' for more details." >&5
15883 echo "$as_me: error: cannot compute sizeof (short), 77
15884 See \`config.log' for more details." >&2;}
15885 { (exit 1); exit 1; }; } ;;
15888 if test "$cross_compiling" = yes; then
15889 { { echo "$as_me:$LINENO: error: internal error: not reached in cross-compile" >&5
15890 echo "$as_me: error: internal error: not reached in cross-compile" >&2;}
15891 { (exit 1); exit 1; }; }
15893 cat >conftest.
$ac_ext <<_ACEOF
15896 cat confdefs.h
>>conftest.
$ac_ext
15897 cat >>conftest.
$ac_ext <<_ACEOF
15898 /* end confdefs.h. */
15899 $ac_includes_default
15900 long longval () { return (long) (sizeof (short)); }
15901 unsigned long ulongval () { return (long) (sizeof (short)); }
15903 #include <stdlib.h>
15908 FILE *f = fopen ("conftest.val", "w");
15911 if (((long) (sizeof (short))) < 0)
15913 long i = longval ();
15914 if (i != ((long) (sizeof (short))))
15916 fprintf (f, "%ld\n", i);
15920 unsigned long i = ulongval ();
15921 if (i != ((long) (sizeof (short))))
15923 fprintf (f, "%lu\n", i);
15925 exit (ferror (f) || fclose (f) != 0);
15931 rm -f conftest
$ac_exeext
15932 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
15933 (eval $ac_link) 2>&5
15935 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15936 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
15937 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15938 (eval $ac_try) 2>&5
15940 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15941 (exit $ac_status); }; }; then
15942 ac_cv_sizeof_short
=`cat conftest.val`
15944 echo "$as_me: program exited with status $ac_status" >&5
15945 echo "$as_me: failed program was:" >&5
15946 sed 's/^/| /' conftest.
$ac_ext >&5
15948 ( exit $ac_status )
15949 { { echo "$as_me:$LINENO: error: cannot compute sizeof (short), 77
15950 See \`config.log' for more details." >&5
15951 echo "$as_me: error: cannot compute sizeof (short), 77
15952 See \`config.log' for more details." >&2;}
15953 { (exit 1); exit 1; }; }
15955 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
15960 ac_cv_sizeof_short
=0
15963 echo "$as_me:$LINENO: result: $ac_cv_sizeof_short" >&5
15964 echo "${ECHO_T}$ac_cv_sizeof_short" >&6
15965 cat >>confdefs.h
<<_ACEOF
15966 #define SIZEOF_SHORT $ac_cv_sizeof_short
15970 echo "$as_me:$LINENO: checking for int" >&5
15971 echo $ECHO_N "checking for int... $ECHO_C" >&6
15972 if test "${ac_cv_type_int+set}" = set; then
15973 echo $ECHO_N "(cached) $ECHO_C" >&6
15975 cat >conftest.
$ac_ext <<_ACEOF
15978 cat confdefs.h
>>conftest.
$ac_ext
15979 cat >>conftest.
$ac_ext <<_ACEOF
15980 /* end confdefs.h. */
15981 $ac_includes_default
15993 rm -f conftest.
$ac_objext
15994 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15995 (eval $ac_compile) 2>conftest.er1
15997 grep -v '^ *+' conftest.er1
>conftest.err
15999 cat conftest.err
>&5
16000 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16001 (exit $ac_status); } &&
16002 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
16003 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16004 (eval $ac_try) 2>&5
16006 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16007 (exit $ac_status); }; } &&
16008 { ac_try
='test -s conftest.$ac_objext'
16009 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16010 (eval $ac_try) 2>&5
16012 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16013 (exit $ac_status); }; }; then
16016 echo "$as_me: failed program was:" >&5
16017 sed 's/^/| /' conftest.
$ac_ext >&5
16021 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
16023 echo "$as_me:$LINENO: result: $ac_cv_type_int" >&5
16024 echo "${ECHO_T}$ac_cv_type_int" >&6
16026 echo "$as_me:$LINENO: checking size of int" >&5
16027 echo $ECHO_N "checking size of int... $ECHO_C" >&6
16028 if test "${ac_cv_sizeof_int+set}" = set; then
16029 echo $ECHO_N "(cached) $ECHO_C" >&6
16031 if test "$ac_cv_type_int" = yes; then
16032 # The cast to unsigned long works around a bug in the HP C Compiler
16033 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
16034 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
16035 # This bug is HP SR number 8606223364.
16036 if test "$cross_compiling" = yes; then
16037 # Depending upon the size, compute the lo and hi bounds.
16038 cat >conftest.
$ac_ext <<_ACEOF
16041 cat confdefs.h
>>conftest.
$ac_ext
16042 cat >>conftest.
$ac_ext <<_ACEOF
16043 /* end confdefs.h. */
16044 $ac_includes_default
16048 static int test_array [1 - 2 * !(((long) (sizeof (int))) >= 0)];
16055 rm -f conftest.
$ac_objext
16056 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16057 (eval $ac_compile) 2>conftest.er1
16059 grep -v '^ *+' conftest.er1
>conftest.err
16061 cat conftest.err
>&5
16062 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16063 (exit $ac_status); } &&
16064 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
16065 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16066 (eval $ac_try) 2>&5
16068 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16069 (exit $ac_status); }; } &&
16070 { ac_try
='test -s conftest.$ac_objext'
16071 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16072 (eval $ac_try) 2>&5
16074 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16075 (exit $ac_status); }; }; then
16078 cat >conftest.
$ac_ext <<_ACEOF
16081 cat confdefs.h
>>conftest.
$ac_ext
16082 cat >>conftest.
$ac_ext <<_ACEOF
16083 /* end confdefs.h. */
16084 $ac_includes_default
16088 static int test_array [1 - 2 * !(((long) (sizeof (int))) <= $ac_mid)];
16095 rm -f conftest.
$ac_objext
16096 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16097 (eval $ac_compile) 2>conftest.er1
16099 grep -v '^ *+' conftest.er1
>conftest.err
16101 cat conftest.err
>&5
16102 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16103 (exit $ac_status); } &&
16104 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
16105 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16106 (eval $ac_try) 2>&5
16108 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16109 (exit $ac_status); }; } &&
16110 { ac_try
='test -s conftest.$ac_objext'
16111 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16112 (eval $ac_try) 2>&5
16114 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16115 (exit $ac_status); }; }; then
16116 ac_hi
=$ac_mid; break
16118 echo "$as_me: failed program was:" >&5
16119 sed 's/^/| /' conftest.
$ac_ext >&5
16121 ac_lo
=`expr $ac_mid + 1`
16122 if test $ac_lo -le $ac_mid; then
16126 ac_mid
=`expr 2 '*' $ac_mid + 1`
16128 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
16131 echo "$as_me: failed program was:" >&5
16132 sed 's/^/| /' conftest.
$ac_ext >&5
16134 cat >conftest.
$ac_ext <<_ACEOF
16137 cat confdefs.h
>>conftest.
$ac_ext
16138 cat >>conftest.
$ac_ext <<_ACEOF
16139 /* end confdefs.h. */
16140 $ac_includes_default
16144 static int test_array [1 - 2 * !(((long) (sizeof (int))) < 0)];
16151 rm -f conftest.
$ac_objext
16152 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16153 (eval $ac_compile) 2>conftest.er1
16155 grep -v '^ *+' conftest.er1
>conftest.err
16157 cat conftest.err
>&5
16158 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16159 (exit $ac_status); } &&
16160 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
16161 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16162 (eval $ac_try) 2>&5
16164 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16165 (exit $ac_status); }; } &&
16166 { ac_try
='test -s conftest.$ac_objext'
16167 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16168 (eval $ac_try) 2>&5
16170 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16171 (exit $ac_status); }; }; then
16174 cat >conftest.
$ac_ext <<_ACEOF
16177 cat confdefs.h
>>conftest.
$ac_ext
16178 cat >>conftest.
$ac_ext <<_ACEOF
16179 /* end confdefs.h. */
16180 $ac_includes_default
16184 static int test_array [1 - 2 * !(((long) (sizeof (int))) >= $ac_mid)];
16191 rm -f conftest.
$ac_objext
16192 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16193 (eval $ac_compile) 2>conftest.er1
16195 grep -v '^ *+' conftest.er1
>conftest.err
16197 cat conftest.err
>&5
16198 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16199 (exit $ac_status); } &&
16200 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
16201 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16202 (eval $ac_try) 2>&5
16204 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16205 (exit $ac_status); }; } &&
16206 { ac_try
='test -s conftest.$ac_objext'
16207 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16208 (eval $ac_try) 2>&5
16210 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16211 (exit $ac_status); }; }; then
16212 ac_lo
=$ac_mid; break
16214 echo "$as_me: failed program was:" >&5
16215 sed 's/^/| /' conftest.
$ac_ext >&5
16217 ac_hi
=`expr '(' $ac_mid ')' - 1`
16218 if test $ac_mid -le $ac_hi; then
16222 ac_mid
=`expr 2 '*' $ac_mid`
16224 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
16227 echo "$as_me: failed program was:" >&5
16228 sed 's/^/| /' conftest.
$ac_ext >&5
16232 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
16234 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
16235 # Binary search between lo and hi bounds.
16236 while test "x$ac_lo" != "x$ac_hi"; do
16237 ac_mid
=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
16238 cat >conftest.
$ac_ext <<_ACEOF
16241 cat confdefs.h
>>conftest.
$ac_ext
16242 cat >>conftest.
$ac_ext <<_ACEOF
16243 /* end confdefs.h. */
16244 $ac_includes_default
16248 static int test_array [1 - 2 * !(((long) (sizeof (int))) <= $ac_mid)];
16255 rm -f conftest.
$ac_objext
16256 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16257 (eval $ac_compile) 2>conftest.er1
16259 grep -v '^ *+' conftest.er1
>conftest.err
16261 cat conftest.err
>&5
16262 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16263 (exit $ac_status); } &&
16264 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
16265 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16266 (eval $ac_try) 2>&5
16268 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16269 (exit $ac_status); }; } &&
16270 { ac_try
='test -s conftest.$ac_objext'
16271 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16272 (eval $ac_try) 2>&5
16274 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16275 (exit $ac_status); }; }; then
16278 echo "$as_me: failed program was:" >&5
16279 sed 's/^/| /' conftest.
$ac_ext >&5
16281 ac_lo
=`expr '(' $ac_mid ')' + 1`
16283 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
16286 ?
*) ac_cv_sizeof_int
=$ac_lo;;
16287 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (int), 77
16288 See \`config.log' for more details." >&5
16289 echo "$as_me: error: cannot compute sizeof (int), 77
16290 See \`config.log' for more details." >&2;}
16291 { (exit 1); exit 1; }; } ;;
16294 if test "$cross_compiling" = yes; then
16295 { { echo "$as_me:$LINENO: error: internal error: not reached in cross-compile" >&5
16296 echo "$as_me: error: internal error: not reached in cross-compile" >&2;}
16297 { (exit 1); exit 1; }; }
16299 cat >conftest.
$ac_ext <<_ACEOF
16302 cat confdefs.h
>>conftest.
$ac_ext
16303 cat >>conftest.
$ac_ext <<_ACEOF
16304 /* end confdefs.h. */
16305 $ac_includes_default
16306 long longval () { return (long) (sizeof (int)); }
16307 unsigned long ulongval () { return (long) (sizeof (int)); }
16309 #include <stdlib.h>
16314 FILE *f = fopen ("conftest.val", "w");
16317 if (((long) (sizeof (int))) < 0)
16319 long i = longval ();
16320 if (i != ((long) (sizeof (int))))
16322 fprintf (f, "%ld\n", i);
16326 unsigned long i = ulongval ();
16327 if (i != ((long) (sizeof (int))))
16329 fprintf (f, "%lu\n", i);
16331 exit (ferror (f) || fclose (f) != 0);
16337 rm -f conftest
$ac_exeext
16338 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
16339 (eval $ac_link) 2>&5
16341 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16342 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
16343 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16344 (eval $ac_try) 2>&5
16346 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16347 (exit $ac_status); }; }; then
16348 ac_cv_sizeof_int
=`cat conftest.val`
16350 echo "$as_me: program exited with status $ac_status" >&5
16351 echo "$as_me: failed program was:" >&5
16352 sed 's/^/| /' conftest.
$ac_ext >&5
16354 ( exit $ac_status )
16355 { { echo "$as_me:$LINENO: error: cannot compute sizeof (int), 77
16356 See \`config.log' for more details." >&5
16357 echo "$as_me: error: cannot compute sizeof (int), 77
16358 See \`config.log' for more details." >&2;}
16359 { (exit 1); exit 1; }; }
16361 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
16369 echo "$as_me:$LINENO: result: $ac_cv_sizeof_int" >&5
16370 echo "${ECHO_T}$ac_cv_sizeof_int" >&6
16371 cat >>confdefs.h
<<_ACEOF
16372 #define SIZEOF_INT $ac_cv_sizeof_int
16376 echo "$as_me:$LINENO: checking for long" >&5
16377 echo $ECHO_N "checking for long... $ECHO_C" >&6
16378 if test "${ac_cv_type_long+set}" = set; then
16379 echo $ECHO_N "(cached) $ECHO_C" >&6
16381 cat >conftest.
$ac_ext <<_ACEOF
16384 cat confdefs.h
>>conftest.
$ac_ext
16385 cat >>conftest.
$ac_ext <<_ACEOF
16386 /* end confdefs.h. */
16387 $ac_includes_default
16399 rm -f conftest.
$ac_objext
16400 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16401 (eval $ac_compile) 2>conftest.er1
16403 grep -v '^ *+' conftest.er1
>conftest.err
16405 cat conftest.err
>&5
16406 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16407 (exit $ac_status); } &&
16408 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
16409 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16410 (eval $ac_try) 2>&5
16412 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16413 (exit $ac_status); }; } &&
16414 { ac_try
='test -s conftest.$ac_objext'
16415 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16416 (eval $ac_try) 2>&5
16418 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16419 (exit $ac_status); }; }; then
16420 ac_cv_type_long
=yes
16422 echo "$as_me: failed program was:" >&5
16423 sed 's/^/| /' conftest.
$ac_ext >&5
16427 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
16429 echo "$as_me:$LINENO: result: $ac_cv_type_long" >&5
16430 echo "${ECHO_T}$ac_cv_type_long" >&6
16432 echo "$as_me:$LINENO: checking size of long" >&5
16433 echo $ECHO_N "checking size of long... $ECHO_C" >&6
16434 if test "${ac_cv_sizeof_long+set}" = set; then
16435 echo $ECHO_N "(cached) $ECHO_C" >&6
16437 if test "$ac_cv_type_long" = yes; then
16438 # The cast to unsigned long works around a bug in the HP C Compiler
16439 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
16440 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
16441 # This bug is HP SR number 8606223364.
16442 if test "$cross_compiling" = yes; then
16443 # Depending upon the size, compute the lo and hi bounds.
16444 cat >conftest.
$ac_ext <<_ACEOF
16447 cat confdefs.h
>>conftest.
$ac_ext
16448 cat >>conftest.
$ac_ext <<_ACEOF
16449 /* end confdefs.h. */
16450 $ac_includes_default
16454 static int test_array [1 - 2 * !(((long) (sizeof (long))) >= 0)];
16461 rm -f conftest.
$ac_objext
16462 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16463 (eval $ac_compile) 2>conftest.er1
16465 grep -v '^ *+' conftest.er1
>conftest.err
16467 cat conftest.err
>&5
16468 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16469 (exit $ac_status); } &&
16470 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
16471 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16472 (eval $ac_try) 2>&5
16474 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16475 (exit $ac_status); }; } &&
16476 { ac_try
='test -s conftest.$ac_objext'
16477 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16478 (eval $ac_try) 2>&5
16480 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16481 (exit $ac_status); }; }; then
16484 cat >conftest.
$ac_ext <<_ACEOF
16487 cat confdefs.h
>>conftest.
$ac_ext
16488 cat >>conftest.
$ac_ext <<_ACEOF
16489 /* end confdefs.h. */
16490 $ac_includes_default
16494 static int test_array [1 - 2 * !(((long) (sizeof (long))) <= $ac_mid)];
16501 rm -f conftest.
$ac_objext
16502 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16503 (eval $ac_compile) 2>conftest.er1
16505 grep -v '^ *+' conftest.er1
>conftest.err
16507 cat conftest.err
>&5
16508 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16509 (exit $ac_status); } &&
16510 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
16511 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16512 (eval $ac_try) 2>&5
16514 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16515 (exit $ac_status); }; } &&
16516 { ac_try
='test -s conftest.$ac_objext'
16517 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16518 (eval $ac_try) 2>&5
16520 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16521 (exit $ac_status); }; }; then
16522 ac_hi
=$ac_mid; break
16524 echo "$as_me: failed program was:" >&5
16525 sed 's/^/| /' conftest.
$ac_ext >&5
16527 ac_lo
=`expr $ac_mid + 1`
16528 if test $ac_lo -le $ac_mid; then
16532 ac_mid
=`expr 2 '*' $ac_mid + 1`
16534 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
16537 echo "$as_me: failed program was:" >&5
16538 sed 's/^/| /' conftest.
$ac_ext >&5
16540 cat >conftest.
$ac_ext <<_ACEOF
16543 cat confdefs.h
>>conftest.
$ac_ext
16544 cat >>conftest.
$ac_ext <<_ACEOF
16545 /* end confdefs.h. */
16546 $ac_includes_default
16550 static int test_array [1 - 2 * !(((long) (sizeof (long))) < 0)];
16557 rm -f conftest.
$ac_objext
16558 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16559 (eval $ac_compile) 2>conftest.er1
16561 grep -v '^ *+' conftest.er1
>conftest.err
16563 cat conftest.err
>&5
16564 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16565 (exit $ac_status); } &&
16566 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
16567 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16568 (eval $ac_try) 2>&5
16570 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16571 (exit $ac_status); }; } &&
16572 { ac_try
='test -s conftest.$ac_objext'
16573 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16574 (eval $ac_try) 2>&5
16576 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16577 (exit $ac_status); }; }; then
16580 cat >conftest.
$ac_ext <<_ACEOF
16583 cat confdefs.h
>>conftest.
$ac_ext
16584 cat >>conftest.
$ac_ext <<_ACEOF
16585 /* end confdefs.h. */
16586 $ac_includes_default
16590 static int test_array [1 - 2 * !(((long) (sizeof (long))) >= $ac_mid)];
16597 rm -f conftest.
$ac_objext
16598 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16599 (eval $ac_compile) 2>conftest.er1
16601 grep -v '^ *+' conftest.er1
>conftest.err
16603 cat conftest.err
>&5
16604 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16605 (exit $ac_status); } &&
16606 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
16607 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16608 (eval $ac_try) 2>&5
16610 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16611 (exit $ac_status); }; } &&
16612 { ac_try
='test -s conftest.$ac_objext'
16613 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16614 (eval $ac_try) 2>&5
16616 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16617 (exit $ac_status); }; }; then
16618 ac_lo
=$ac_mid; break
16620 echo "$as_me: failed program was:" >&5
16621 sed 's/^/| /' conftest.
$ac_ext >&5
16623 ac_hi
=`expr '(' $ac_mid ')' - 1`
16624 if test $ac_mid -le $ac_hi; then
16628 ac_mid
=`expr 2 '*' $ac_mid`
16630 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
16633 echo "$as_me: failed program was:" >&5
16634 sed 's/^/| /' conftest.
$ac_ext >&5
16638 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
16640 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
16641 # Binary search between lo and hi bounds.
16642 while test "x$ac_lo" != "x$ac_hi"; do
16643 ac_mid
=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
16644 cat >conftest.
$ac_ext <<_ACEOF
16647 cat confdefs.h
>>conftest.
$ac_ext
16648 cat >>conftest.
$ac_ext <<_ACEOF
16649 /* end confdefs.h. */
16650 $ac_includes_default
16654 static int test_array [1 - 2 * !(((long) (sizeof (long))) <= $ac_mid)];
16661 rm -f conftest.
$ac_objext
16662 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16663 (eval $ac_compile) 2>conftest.er1
16665 grep -v '^ *+' conftest.er1
>conftest.err
16667 cat conftest.err
>&5
16668 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16669 (exit $ac_status); } &&
16670 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
16671 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16672 (eval $ac_try) 2>&5
16674 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16675 (exit $ac_status); }; } &&
16676 { ac_try
='test -s conftest.$ac_objext'
16677 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16678 (eval $ac_try) 2>&5
16680 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16681 (exit $ac_status); }; }; then
16684 echo "$as_me: failed program was:" >&5
16685 sed 's/^/| /' conftest.
$ac_ext >&5
16687 ac_lo
=`expr '(' $ac_mid ')' + 1`
16689 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
16692 ?
*) ac_cv_sizeof_long
=$ac_lo;;
16693 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (long), 77
16694 See \`config.log' for more details." >&5
16695 echo "$as_me: error: cannot compute sizeof (long), 77
16696 See \`config.log' for more details." >&2;}
16697 { (exit 1); exit 1; }; } ;;
16700 if test "$cross_compiling" = yes; then
16701 { { echo "$as_me:$LINENO: error: internal error: not reached in cross-compile" >&5
16702 echo "$as_me: error: internal error: not reached in cross-compile" >&2;}
16703 { (exit 1); exit 1; }; }
16705 cat >conftest.
$ac_ext <<_ACEOF
16708 cat confdefs.h
>>conftest.
$ac_ext
16709 cat >>conftest.
$ac_ext <<_ACEOF
16710 /* end confdefs.h. */
16711 $ac_includes_default
16712 long longval () { return (long) (sizeof (long)); }
16713 unsigned long ulongval () { return (long) (sizeof (long)); }
16715 #include <stdlib.h>
16720 FILE *f = fopen ("conftest.val", "w");
16723 if (((long) (sizeof (long))) < 0)
16725 long i = longval ();
16726 if (i != ((long) (sizeof (long))))
16728 fprintf (f, "%ld\n", i);
16732 unsigned long i = ulongval ();
16733 if (i != ((long) (sizeof (long))))
16735 fprintf (f, "%lu\n", i);
16737 exit (ferror (f) || fclose (f) != 0);
16743 rm -f conftest
$ac_exeext
16744 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
16745 (eval $ac_link) 2>&5
16747 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16748 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
16749 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16750 (eval $ac_try) 2>&5
16752 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16753 (exit $ac_status); }; }; then
16754 ac_cv_sizeof_long
=`cat conftest.val`
16756 echo "$as_me: program exited with status $ac_status" >&5
16757 echo "$as_me: failed program was:" >&5
16758 sed 's/^/| /' conftest.
$ac_ext >&5
16760 ( exit $ac_status )
16761 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long), 77
16762 See \`config.log' for more details." >&5
16763 echo "$as_me: error: cannot compute sizeof (long), 77
16764 See \`config.log' for more details." >&2;}
16765 { (exit 1); exit 1; }; }
16767 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
16772 ac_cv_sizeof_long
=0
16775 echo "$as_me:$LINENO: result: $ac_cv_sizeof_long" >&5
16776 echo "${ECHO_T}$ac_cv_sizeof_long" >&6
16777 cat >>confdefs.h
<<_ACEOF
16778 #define SIZEOF_LONG $ac_cv_sizeof_long
16782 echo "$as_me:$LINENO: checking for void*" >&5
16783 echo $ECHO_N "checking for void*... $ECHO_C" >&6
16784 if test "${ac_cv_type_voidp+set}" = set; then
16785 echo $ECHO_N "(cached) $ECHO_C" >&6
16787 cat >conftest.
$ac_ext <<_ACEOF
16790 cat confdefs.h
>>conftest.
$ac_ext
16791 cat >>conftest.
$ac_ext <<_ACEOF
16792 /* end confdefs.h. */
16793 $ac_includes_default
16799 if (sizeof (void*))
16805 rm -f conftest.
$ac_objext
16806 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16807 (eval $ac_compile) 2>conftest.er1
16809 grep -v '^ *+' conftest.er1
>conftest.err
16811 cat conftest.err
>&5
16812 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16813 (exit $ac_status); } &&
16814 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
16815 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16816 (eval $ac_try) 2>&5
16818 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16819 (exit $ac_status); }; } &&
16820 { ac_try
='test -s conftest.$ac_objext'
16821 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16822 (eval $ac_try) 2>&5
16824 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16825 (exit $ac_status); }; }; then
16826 ac_cv_type_voidp
=yes
16828 echo "$as_me: failed program was:" >&5
16829 sed 's/^/| /' conftest.
$ac_ext >&5
16831 ac_cv_type_voidp
=no
16833 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
16835 echo "$as_me:$LINENO: result: $ac_cv_type_voidp" >&5
16836 echo "${ECHO_T}$ac_cv_type_voidp" >&6
16838 echo "$as_me:$LINENO: checking size of void*" >&5
16839 echo $ECHO_N "checking size of void*... $ECHO_C" >&6
16840 if test "${ac_cv_sizeof_voidp+set}" = set; then
16841 echo $ECHO_N "(cached) $ECHO_C" >&6
16843 if test "$ac_cv_type_voidp" = yes; then
16844 # The cast to unsigned long works around a bug in the HP C Compiler
16845 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
16846 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
16847 # This bug is HP SR number 8606223364.
16848 if test "$cross_compiling" = yes; then
16849 # Depending upon the size, compute the lo and hi bounds.
16850 cat >conftest.
$ac_ext <<_ACEOF
16853 cat confdefs.h
>>conftest.
$ac_ext
16854 cat >>conftest.
$ac_ext <<_ACEOF
16855 /* end confdefs.h. */
16856 $ac_includes_default
16860 static int test_array [1 - 2 * !(((long) (sizeof (void*))) >= 0)];
16867 rm -f conftest.
$ac_objext
16868 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16869 (eval $ac_compile) 2>conftest.er1
16871 grep -v '^ *+' conftest.er1
>conftest.err
16873 cat conftest.err
>&5
16874 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16875 (exit $ac_status); } &&
16876 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
16877 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16878 (eval $ac_try) 2>&5
16880 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16881 (exit $ac_status); }; } &&
16882 { ac_try
='test -s conftest.$ac_objext'
16883 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16884 (eval $ac_try) 2>&5
16886 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16887 (exit $ac_status); }; }; then
16890 cat >conftest.
$ac_ext <<_ACEOF
16893 cat confdefs.h
>>conftest.
$ac_ext
16894 cat >>conftest.
$ac_ext <<_ACEOF
16895 /* end confdefs.h. */
16896 $ac_includes_default
16900 static int test_array [1 - 2 * !(((long) (sizeof (void*))) <= $ac_mid)];
16907 rm -f conftest.
$ac_objext
16908 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16909 (eval $ac_compile) 2>conftest.er1
16911 grep -v '^ *+' conftest.er1
>conftest.err
16913 cat conftest.err
>&5
16914 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16915 (exit $ac_status); } &&
16916 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
16917 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16918 (eval $ac_try) 2>&5
16920 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16921 (exit $ac_status); }; } &&
16922 { ac_try
='test -s conftest.$ac_objext'
16923 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16924 (eval $ac_try) 2>&5
16926 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16927 (exit $ac_status); }; }; then
16928 ac_hi
=$ac_mid; break
16930 echo "$as_me: failed program was:" >&5
16931 sed 's/^/| /' conftest.
$ac_ext >&5
16933 ac_lo
=`expr $ac_mid + 1`
16934 if test $ac_lo -le $ac_mid; then
16938 ac_mid
=`expr 2 '*' $ac_mid + 1`
16940 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
16943 echo "$as_me: failed program was:" >&5
16944 sed 's/^/| /' conftest.
$ac_ext >&5
16946 cat >conftest.
$ac_ext <<_ACEOF
16949 cat confdefs.h
>>conftest.
$ac_ext
16950 cat >>conftest.
$ac_ext <<_ACEOF
16951 /* end confdefs.h. */
16952 $ac_includes_default
16956 static int test_array [1 - 2 * !(((long) (sizeof (void*))) < 0)];
16963 rm -f conftest.
$ac_objext
16964 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16965 (eval $ac_compile) 2>conftest.er1
16967 grep -v '^ *+' conftest.er1
>conftest.err
16969 cat conftest.err
>&5
16970 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16971 (exit $ac_status); } &&
16972 { ac_try
='test -z "$ac_c_werror_flag" || 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" || test ! -s conftest.err'
17013 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17014 (eval $ac_try) 2>&5
17016 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17017 (exit $ac_status); }; } &&
17018 { ac_try
='test -s conftest.$ac_objext'
17019 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17020 (eval $ac_try) 2>&5
17022 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17023 (exit $ac_status); }; }; then
17024 ac_lo
=$ac_mid; break
17026 echo "$as_me: failed program was:" >&5
17027 sed 's/^/| /' conftest.
$ac_ext >&5
17029 ac_hi
=`expr '(' $ac_mid ')' - 1`
17030 if test $ac_mid -le $ac_hi; then
17034 ac_mid
=`expr 2 '*' $ac_mid`
17036 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
17039 echo "$as_me: failed program was:" >&5
17040 sed 's/^/| /' conftest.
$ac_ext >&5
17044 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
17046 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
17047 # Binary search between lo and hi bounds.
17048 while test "x$ac_lo" != "x$ac_hi"; do
17049 ac_mid
=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
17050 cat >conftest.
$ac_ext <<_ACEOF
17053 cat confdefs.h
>>conftest.
$ac_ext
17054 cat >>conftest.
$ac_ext <<_ACEOF
17055 /* end confdefs.h. */
17056 $ac_includes_default
17060 static int test_array [1 - 2 * !(((long) (sizeof (void*))) <= $ac_mid)];
17067 rm -f conftest.
$ac_objext
17068 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17069 (eval $ac_compile) 2>conftest.er1
17071 grep -v '^ *+' conftest.er1
>conftest.err
17073 cat conftest.err
>&5
17074 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17075 (exit $ac_status); } &&
17076 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
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); }; } &&
17082 { ac_try
='test -s conftest.$ac_objext'
17083 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17084 (eval $ac_try) 2>&5
17086 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17087 (exit $ac_status); }; }; then
17090 echo "$as_me: failed program was:" >&5
17091 sed 's/^/| /' conftest.
$ac_ext >&5
17093 ac_lo
=`expr '(' $ac_mid ')' + 1`
17095 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
17098 ?
*) ac_cv_sizeof_voidp
=$ac_lo;;
17099 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (void*), 77
17100 See \`config.log' for more details." >&5
17101 echo "$as_me: error: cannot compute sizeof (void*), 77
17102 See \`config.log' for more details." >&2;}
17103 { (exit 1); exit 1; }; } ;;
17106 if test "$cross_compiling" = yes; then
17107 { { echo "$as_me:$LINENO: error: internal error: not reached in cross-compile" >&5
17108 echo "$as_me: error: internal error: not reached in cross-compile" >&2;}
17109 { (exit 1); exit 1; }; }
17111 cat >conftest.
$ac_ext <<_ACEOF
17114 cat confdefs.h
>>conftest.
$ac_ext
17115 cat >>conftest.
$ac_ext <<_ACEOF
17116 /* end confdefs.h. */
17117 $ac_includes_default
17118 long longval () { return (long) (sizeof (void*)); }
17119 unsigned long ulongval () { return (long) (sizeof (void*)); }
17121 #include <stdlib.h>
17126 FILE *f = fopen ("conftest.val", "w");
17129 if (((long) (sizeof (void*))) < 0)
17131 long i = longval ();
17132 if (i != ((long) (sizeof (void*))))
17134 fprintf (f, "%ld\n", i);
17138 unsigned long i = ulongval ();
17139 if (i != ((long) (sizeof (void*))))
17141 fprintf (f, "%lu\n", i);
17143 exit (ferror (f) || fclose (f) != 0);
17149 rm -f conftest
$ac_exeext
17150 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
17151 (eval $ac_link) 2>&5
17153 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17154 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
17155 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17156 (eval $ac_try) 2>&5
17158 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17159 (exit $ac_status); }; }; then
17160 ac_cv_sizeof_voidp
=`cat conftest.val`
17162 echo "$as_me: program exited with status $ac_status" >&5
17163 echo "$as_me: failed program was:" >&5
17164 sed 's/^/| /' conftest.
$ac_ext >&5
17166 ( exit $ac_status )
17167 { { echo "$as_me:$LINENO: error: cannot compute sizeof (void*), 77
17168 See \`config.log' for more details." >&5
17169 echo "$as_me: error: cannot compute sizeof (void*), 77
17170 See \`config.log' for more details." >&2;}
17171 { (exit 1); exit 1; }; }
17173 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
17178 ac_cv_sizeof_voidp
=0
17181 echo "$as_me:$LINENO: result: $ac_cv_sizeof_voidp" >&5
17182 echo "${ECHO_T}$ac_cv_sizeof_voidp" >&6
17183 cat >>confdefs.h
<<_ACEOF
17184 #define SIZEOF_VOIDP $ac_cv_sizeof_voidp
17188 ac_cv_char_data_model
=""
17189 ac_cv_char_data_model
="$ac_cv_char_data_model$ac_cv_sizeof_char"
17190 ac_cv_char_data_model
="$ac_cv_char_data_model$ac_cv_sizeof_short"
17191 ac_cv_char_data_model
="$ac_cv_char_data_model$ac_cv_sizeof_int"
17192 ac_cv_long_data_model
=""
17193 ac_cv_long_data_model
="$ac_cv_long_data_model$ac_cv_sizeof_int"
17194 ac_cv_long_data_model
="$ac_cv_long_data_model$ac_cv_sizeof_long"
17195 ac_cv_long_data_model
="$ac_cv_long_data_model$ac_cv_sizeof_voidp"
17196 echo "$as_me:$LINENO: checking data model" >&5
17197 echo $ECHO_N "checking data model... $ECHO_C" >&6
17198 case "$ac_cv_char_data_model/$ac_cv_long_data_model" in
17199 122/242) ac_cv_data_model
="IP16" ; n
="standard 16bit machine" ;;
17200 122/244) ac_cv_data_model
="LP32" ; n
="standard 32bit machine" ;;
17201 122/*) ac_cv_data_model
="i16" ; n
="unusual int16 model" ;;
17202 124/444) ac_cv_data_model
="ILP32" ; n
="standard 32bit unixish" ;;
17203 124/488) ac_cv_data_model
="LP64" ; n
="standard 64bit unixish" ;;
17204 124/448) ac_cv_data_model
="LLP64" ; n
="unusual 64bit unixish" ;;
17205 124/*) ac_cv_data_model
="i32" ; n
="unusual int32 model" ;;
17206 128/888) ac_cv_data_model
="ILP64" ; n
="unusual 64bit numeric" ;;
17207 128/*) ac_cv_data_model
="i64" ; n
="unusual int64 model" ;;
17208 222/*2) ac_cv_data_model
="DSP16" ; n
="strict 16bit dsptype" ;;
17209 333/*3) ac_cv_data_model
="DSP24" ; n
="strict 24bit dsptype" ;;
17210 444/*4) ac_cv_data_model
="DSP32" ; n
="strict 32bit dsptype" ;;
17211 666/*6) ac_cv_data_model
="DSP48" ; n
="strict 48bit dsptype" ;;
17212 888/*8) ac_cv_data_model
="DSP64" ; n
="strict 64bit dsptype" ;;
17213 222/*|
333/*|
444/*|
666/*|
888/*) :
17214 ac_cv_data_model
="iDSP" ; n
="unusual dsptype" ;;
17215 *) ac_cv_data_model
="none" ; n
="very unusual model" ;;
17217 echo "$as_me:$LINENO: result: $ac_cv_data_model ($ac_cv_long_data_model, $n)" >&5
17218 echo "${ECHO_T}$ac_cv_data_model ($ac_cv_long_data_model, $n)" >&6
17222 if test "_$ac_cv_header_stdint_x" != "_" ; then
17223 ac_cv_header_stdint
="$ac_cv_header_stdint_x"
17224 elif test "_$ac_cv_header_stdint_o" != "_" ; then
17225 ac_cv_header_stdint
="$ac_cv_header_stdint_o"
17226 elif test "_$ac_cv_header_stdint_u" != "_" ; then
17227 ac_cv_header_stdint
="$ac_cv_header_stdint_u"
17229 ac_cv_header_stdint
="stddef.h"
17232 echo "$as_me:$LINENO: checking for extra inttypes in chosen header" >&5
17233 echo $ECHO_N "checking for extra inttypes in chosen header... $ECHO_C" >&6
17234 echo "$as_me:$LINENO: result: ($ac_cv_header_stdint)" >&5
17235 echo "${ECHO_T}($ac_cv_header_stdint)" >&6
17236 unset ac_cv_type_int_least32_t
17237 unset ac_cv_type_int_fast32_t
17238 echo "$as_me:$LINENO: checking for int_least32_t" >&5
17239 echo $ECHO_N "checking for int_least32_t... $ECHO_C" >&6
17240 if test "${ac_cv_type_int_least32_t+set}" = set; then
17241 echo $ECHO_N "(cached) $ECHO_C" >&6
17243 cat >conftest.
$ac_ext <<_ACEOF
17246 cat confdefs.h
>>conftest.
$ac_ext
17247 cat >>conftest.
$ac_ext <<_ACEOF
17248 /* end confdefs.h. */
17249 #include <$ac_cv_header_stdint>
17254 if ((int_least32_t *) 0)
17256 if (sizeof (int_least32_t))
17262 rm -f conftest.
$ac_objext
17263 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17264 (eval $ac_compile) 2>conftest.er1
17266 grep -v '^ *+' conftest.er1
>conftest.err
17268 cat conftest.err
>&5
17269 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17270 (exit $ac_status); } &&
17271 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
17272 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17273 (eval $ac_try) 2>&5
17275 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17276 (exit $ac_status); }; } &&
17277 { ac_try
='test -s conftest.$ac_objext'
17278 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17279 (eval $ac_try) 2>&5
17281 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17282 (exit $ac_status); }; }; then
17283 ac_cv_type_int_least32_t
=yes
17285 echo "$as_me: failed program was:" >&5
17286 sed 's/^/| /' conftest.
$ac_ext >&5
17288 ac_cv_type_int_least32_t
=no
17290 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
17292 echo "$as_me:$LINENO: result: $ac_cv_type_int_least32_t" >&5
17293 echo "${ECHO_T}$ac_cv_type_int_least32_t" >&6
17295 echo "$as_me:$LINENO: checking for int_fast32_t" >&5
17296 echo $ECHO_N "checking for int_fast32_t... $ECHO_C" >&6
17297 if test "${ac_cv_type_int_fast32_t+set}" = set; then
17298 echo $ECHO_N "(cached) $ECHO_C" >&6
17300 cat >conftest.
$ac_ext <<_ACEOF
17303 cat confdefs.h
>>conftest.
$ac_ext
17304 cat >>conftest.
$ac_ext <<_ACEOF
17305 /* end confdefs.h. */
17306 #include<$ac_cv_header_stdint>
17311 if ((int_fast32_t *) 0)
17313 if (sizeof (int_fast32_t))
17319 rm -f conftest.
$ac_objext
17320 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17321 (eval $ac_compile) 2>conftest.er1
17323 grep -v '^ *+' conftest.er1
>conftest.err
17325 cat conftest.err
>&5
17326 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17327 (exit $ac_status); } &&
17328 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
17329 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17330 (eval $ac_try) 2>&5
17332 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17333 (exit $ac_status); }; } &&
17334 { ac_try
='test -s conftest.$ac_objext'
17335 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17336 (eval $ac_try) 2>&5
17338 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17339 (exit $ac_status); }; }; then
17340 ac_cv_type_int_fast32_t
=yes
17342 echo "$as_me: failed program was:" >&5
17343 sed 's/^/| /' conftest.
$ac_ext >&5
17345 ac_cv_type_int_fast32_t
=no
17347 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
17349 echo "$as_me:$LINENO: result: $ac_cv_type_int_fast32_t" >&5
17350 echo "${ECHO_T}$ac_cv_type_int_fast32_t" >&6
17352 echo "$as_me:$LINENO: checking for intmax_t" >&5
17353 echo $ECHO_N "checking for intmax_t... $ECHO_C" >&6
17354 if test "${ac_cv_type_intmax_t+set}" = set; then
17355 echo $ECHO_N "(cached) $ECHO_C" >&6
17357 cat >conftest.
$ac_ext <<_ACEOF
17360 cat confdefs.h
>>conftest.
$ac_ext
17361 cat >>conftest.
$ac_ext <<_ACEOF
17362 /* end confdefs.h. */
17363 #include <$ac_cv_header_stdint>
17368 if ((intmax_t *) 0)
17370 if (sizeof (intmax_t))
17376 rm -f conftest.
$ac_objext
17377 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17378 (eval $ac_compile) 2>conftest.er1
17380 grep -v '^ *+' conftest.er1
>conftest.err
17382 cat conftest.err
>&5
17383 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17384 (exit $ac_status); } &&
17385 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
17386 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17387 (eval $ac_try) 2>&5
17389 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17390 (exit $ac_status); }; } &&
17391 { ac_try
='test -s conftest.$ac_objext'
17392 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17393 (eval $ac_try) 2>&5
17395 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17396 (exit $ac_status); }; }; then
17397 ac_cv_type_intmax_t
=yes
17399 echo "$as_me: failed program was:" >&5
17400 sed 's/^/| /' conftest.
$ac_ext >&5
17402 ac_cv_type_intmax_t
=no
17404 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
17406 echo "$as_me:$LINENO: result: $ac_cv_type_intmax_t" >&5
17407 echo "${ECHO_T}$ac_cv_type_intmax_t" >&6
17410 fi # shortcircut to system "stdint.h"
17411 # ------------------ PREPARE VARIABLES ------------------------------
17412 if test "$GCC" = "yes" ; then
17413 ac_cv_stdint_message
="using gnu compiler "`$CC --version | head -1`
17415 ac_cv_stdint_message
="using $CC"
17418 echo "$as_me:$LINENO: result: make use of $ac_cv_header_stdint in $ac_stdint_h $ac_cv_stdint_result" >&5
17419 echo "${ECHO_T}make use of $ac_cv_header_stdint in $ac_stdint_h $ac_cv_stdint_result" >&6
17421 # ----------------- DONE inttypes.h checks START header -------------
17422 ac_config_commands
="$ac_config_commands $ac_stdint_h"
17426 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 examples/Makefile examples/Makefile.jawt"
17428 ac_config_commands
="$ac_config_commands gen-classlist"
17430 ac_config_commands
="$ac_config_commands copy-vmresources"
17432 cat >confcache
<<\_ACEOF
17433 # This file is a shell script that caches the results of configure
17434 # tests run on this system so they can be shared between configure
17435 # scripts and configure runs, see configure's option --config-cache.
17436 # It is not useful on other systems. If it contains results you don't
17437 # want to keep, you may remove or edit it.
17439 # config.status only pays attention to the cache file if you give it
17440 # the --recheck option to rerun configure.
17442 # `ac_cv_env_foo' variables (set or unset) will be overridden when
17443 # loading this file, other *unset* `ac_cv_foo' will be assigned the
17444 # following values.
17448 # The following way of writing the cache mishandles newlines in values,
17449 # but we know of no workaround that is simple, portable, and efficient.
17450 # So, don't put newlines in cache variables' values.
17451 # Ultrix sh set writes to stderr and can't be redirected directly,
17452 # and sets the high bit in the cache file unless we assign to the vars.
17455 case `(ac_space=' '; set | grep ac_space) 2>&1` in
17457 # `set' does not quote correctly, so add quotes (double-quote
17458 # substitution turns \\\\ into \\, and sed turns \\ into \).
17461 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
17464 # `set' quotes correctly as required by POSIX, so do not add quotes.
17466 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
17473 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
17475 /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
17477 if diff $cache_file confcache
>/dev
/null
2>&1; then :; else
17478 if test -w $cache_file; then
17479 test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
17480 cat confcache
>$cache_file
17482 echo "not updating unwritable cache $cache_file"
17487 test "x$prefix" = xNONE
&& prefix
=$ac_default_prefix
17488 # Let make expand exec_prefix.
17489 test "x$exec_prefix" = xNONE
&& exec_prefix
='${prefix}'
17491 # VPATH may cause trouble with some makes, so we remove $(srcdir),
17492 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
17493 # trailing colons and then remove the whole line if VPATH becomes empty
17494 # (actually we leave an empty line to preserve line numbers).
17495 if test "x$srcdir" = x.
; then
17496 ac_vpsub
='/^[ ]*VPATH[ ]*=/{
17497 s/:*\$(srcdir):*/:/;
17498 s/:*\${srcdir}:*/:/;
17500 s/^\([^=]*=[ ]*\):*/\1/;
17506 DEFS
=-DHAVE_CONFIG_H
17510 for ac_i
in : $LIBOBJS; do test "x$ac_i" = x
: && continue
17511 # 1. Remove the extension, and $U if already installed.
17512 ac_i
=`echo "$ac_i" |
17513 sed 's/\$U\././;s/\.o$//;s/\.obj$//'`
17515 ac_libobjs
="$ac_libobjs $ac_i\$U.$ac_objext"
17516 ac_ltlibobjs
="$ac_ltlibobjs $ac_i"'$U.lo'
17518 LIBOBJS
=$ac_libobjs
17520 LTLIBOBJS
=$ac_ltlibobjs
17523 if test -z "${CREATE_COLLECTIONS_TRUE}" && test -z "${CREATE_COLLECTIONS_FALSE}"; then
17524 { { echo "$as_me:$LINENO: error: conditional \"CREATE_COLLECTIONS\" was never defined.
17525 Usually this means the macro was only invoked conditionally." >&5
17526 echo "$as_me: error: conditional \"CREATE_COLLECTIONS\" was never defined.
17527 Usually this means the macro was only invoked conditionally." >&2;}
17528 { (exit 1); exit 1; }; }
17530 if test -z "${CREATE_JNI_LIBRARIES_TRUE}" && test -z "${CREATE_JNI_LIBRARIES_FALSE}"; then
17531 { { echo "$as_me:$LINENO: error: conditional \"CREATE_JNI_LIBRARIES\" was never defined.
17532 Usually this means the macro was only invoked conditionally." >&5
17533 echo "$as_me: error: conditional \"CREATE_JNI_LIBRARIES\" was never defined.
17534 Usually this means the macro was only invoked conditionally." >&2;}
17535 { (exit 1); exit 1; }; }
17537 if test -z "${CREATE_CORE_JNI_LIBRARIES_TRUE}" && test -z "${CREATE_CORE_JNI_LIBRARIES_FALSE}"; then
17538 { { echo "$as_me:$LINENO: error: conditional \"CREATE_CORE_JNI_LIBRARIES\" was never defined.
17539 Usually this means the macro was only invoked conditionally." >&5
17540 echo "$as_me: error: conditional \"CREATE_CORE_JNI_LIBRARIES\" was never defined.
17541 Usually this means the macro was only invoked conditionally." >&2;}
17542 { (exit 1); exit 1; }; }
17544 if test -z "${CREATE_XMLJ_LIBRARY_TRUE}" && test -z "${CREATE_XMLJ_LIBRARY_FALSE}"; then
17545 { { echo "$as_me:$LINENO: error: conditional \"CREATE_XMLJ_LIBRARY\" was never defined.
17546 Usually this means the macro was only invoked conditionally." >&5
17547 echo "$as_me: error: conditional \"CREATE_XMLJ_LIBRARY\" was never defined.
17548 Usually this means the macro was only invoked conditionally." >&2;}
17549 { (exit 1); exit 1; }; }
17551 if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
17552 { { echo "$as_me:$LINENO: error: conditional \"AMDEP\" was never defined.
17553 Usually this means the macro was only invoked conditionally." >&5
17554 echo "$as_me: error: conditional \"AMDEP\" was never defined.
17555 Usually this means the macro was only invoked conditionally." >&2;}
17556 { (exit 1); exit 1; }; }
17558 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
17559 { { echo "$as_me:$LINENO: error: conditional \"am__fastdepCC\" was never defined.
17560 Usually this means the macro was only invoked conditionally." >&5
17561 echo "$as_me: error: conditional \"am__fastdepCC\" was never defined.
17562 Usually this means the macro was only invoked conditionally." >&2;}
17563 { (exit 1); exit 1; }; }
17565 if test -z "${CREATE_ALSA_LIBRARIES_TRUE}" && test -z "${CREATE_ALSA_LIBRARIES_FALSE}"; then
17566 { { echo "$as_me:$LINENO: error: conditional \"CREATE_ALSA_LIBRARIES\" was never defined.
17567 Usually this means the macro was only invoked conditionally." >&5
17568 echo "$as_me: error: conditional \"CREATE_ALSA_LIBRARIES\" was never defined.
17569 Usually this means the macro was only invoked conditionally." >&2;}
17570 { (exit 1); exit 1; }; }
17572 if test -z "${CREATE_DSSI_LIBRARIES_TRUE}" && test -z "${CREATE_DSSI_LIBRARIES_FALSE}"; then
17573 { { echo "$as_me:$LINENO: error: conditional \"CREATE_DSSI_LIBRARIES\" was never defined.
17574 Usually this means the macro was only invoked conditionally." >&5
17575 echo "$as_me: error: conditional \"CREATE_DSSI_LIBRARIES\" was never defined.
17576 Usually this means the macro was only invoked conditionally." >&2;}
17577 { (exit 1); exit 1; }; }
17579 if test -z "${CREATE_GTK_PEER_LIBRARIES_TRUE}" && test -z "${CREATE_GTK_PEER_LIBRARIES_FALSE}"; then
17580 { { echo "$as_me:$LINENO: error: conditional \"CREATE_GTK_PEER_LIBRARIES\" was never defined.
17581 Usually this means the macro was only invoked conditionally." >&5
17582 echo "$as_me: error: conditional \"CREATE_GTK_PEER_LIBRARIES\" was never defined.
17583 Usually this means the macro was only invoked conditionally." >&2;}
17584 { (exit 1); exit 1; }; }
17586 if test -z "${GTK_CAIRO_TRUE}" && test -z "${GTK_CAIRO_FALSE}"; then
17587 { { echo "$as_me:$LINENO: error: conditional \"GTK_CAIRO\" was never defined.
17588 Usually this means the macro was only invoked conditionally." >&5
17589 echo "$as_me: error: conditional \"GTK_CAIRO\" was never defined.
17590 Usually this means the macro was only invoked conditionally." >&2;}
17591 { (exit 1); exit 1; }; }
17593 if test -z "${CREATE_QT_PEER_LIBRARIES_TRUE}" && test -z "${CREATE_QT_PEER_LIBRARIES_FALSE}"; then
17594 { { echo "$as_me:$LINENO: error: conditional \"CREATE_QT_PEER_LIBRARIES\" was never defined.
17595 Usually this means the macro was only invoked conditionally." >&5
17596 echo "$as_me: error: conditional \"CREATE_QT_PEER_LIBRARIES\" was never defined.
17597 Usually this means the macro was only invoked conditionally." >&2;}
17598 { (exit 1); exit 1; }; }
17600 if test -z "${CREATE_JNI_HEADERS_TRUE}" && test -z "${CREATE_JNI_HEADERS_FALSE}"; then
17601 { { echo "$as_me:$LINENO: error: conditional \"CREATE_JNI_HEADERS\" was never defined.
17602 Usually this means the macro was only invoked conditionally." >&5
17603 echo "$as_me: error: conditional \"CREATE_JNI_HEADERS\" was never defined.
17604 Usually this means the macro was only invoked conditionally." >&2;}
17605 { (exit 1); exit 1; }; }
17607 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
17608 { { echo "$as_me:$LINENO: error: conditional \"am__fastdepCC\" was never defined.
17609 Usually this means the macro was only invoked conditionally." >&5
17610 echo "$as_me: error: conditional \"am__fastdepCC\" was never defined.
17611 Usually this means the macro was only invoked conditionally." >&2;}
17612 { (exit 1); exit 1; }; }
17614 if test -z "${am__fastdepCXX_TRUE}" && test -z "${am__fastdepCXX_FALSE}"; then
17615 { { echo "$as_me:$LINENO: error: conditional \"am__fastdepCXX\" was never defined.
17616 Usually this means the macro was only invoked conditionally." >&5
17617 echo "$as_me: error: conditional \"am__fastdepCXX\" was never defined.
17618 Usually this means the macro was only invoked conditionally." >&2;}
17619 { (exit 1); exit 1; }; }
17621 if test -z "${USER_SPECIFIED_JAVAH_TRUE}" && test -z "${USER_SPECIFIED_JAVAH_FALSE}"; then
17622 { { echo "$as_me:$LINENO: error: conditional \"USER_SPECIFIED_JAVAH\" was never defined.
17623 Usually this means the macro was only invoked conditionally." >&5
17624 echo "$as_me: error: conditional \"USER_SPECIFIED_JAVAH\" was never defined.
17625 Usually this means the macro was only invoked conditionally." >&2;}
17626 { (exit 1); exit 1; }; }
17628 if test -z "${FOUND_GCJ_TRUE}" && test -z "${FOUND_GCJ_FALSE}"; then
17629 { { echo "$as_me:$LINENO: error: conditional \"FOUND_GCJ\" was never defined.
17630 Usually this means the macro was only invoked conditionally." >&5
17631 echo "$as_me: error: conditional \"FOUND_GCJ\" was never defined.
17632 Usually this means the macro was only invoked conditionally." >&2;}
17633 { (exit 1); exit 1; }; }
17635 if test -z "${FOUND_JIKES_TRUE}" && test -z "${FOUND_JIKES_FALSE}"; then
17636 { { echo "$as_me:$LINENO: error: conditional \"FOUND_JIKES\" was never defined.
17637 Usually this means the macro was only invoked conditionally." >&5
17638 echo "$as_me: error: conditional \"FOUND_JIKES\" was never defined.
17639 Usually this means the macro was only invoked conditionally." >&2;}
17640 { (exit 1); exit 1; }; }
17642 if test -z "${FOUND_ECJ_TRUE}" && test -z "${FOUND_ECJ_FALSE}"; then
17643 { { echo "$as_me:$LINENO: error: conditional \"FOUND_ECJ\" was never defined.
17644 Usually this means the macro was only invoked conditionally." >&5
17645 echo "$as_me: error: conditional \"FOUND_ECJ\" was never defined.
17646 Usually this means the macro was only invoked conditionally." >&2;}
17647 { (exit 1); exit 1; }; }
17649 if test -z "${FOUND_GCJ_TRUE}" && test -z "${FOUND_GCJ_FALSE}"; then
17650 { { echo "$as_me:$LINENO: error: conditional \"FOUND_GCJ\" was never defined.
17651 Usually this means the macro was only invoked conditionally." >&5
17652 echo "$as_me: error: conditional \"FOUND_GCJ\" was never defined.
17653 Usually this means the macro was only invoked conditionally." >&2;}
17654 { (exit 1); exit 1; }; }
17656 if test -z "${FOUND_JIKES_TRUE}" && test -z "${FOUND_JIKES_FALSE}"; then
17657 { { echo "$as_me:$LINENO: error: conditional \"FOUND_JIKES\" was never defined.
17658 Usually this means the macro was only invoked conditionally." >&5
17659 echo "$as_me: error: conditional \"FOUND_JIKES\" was never defined.
17660 Usually this means the macro was only invoked conditionally." >&2;}
17661 { (exit 1); exit 1; }; }
17663 if test -z "${FOUND_ECJ_TRUE}" && test -z "${FOUND_ECJ_FALSE}"; then
17664 { { echo "$as_me:$LINENO: error: conditional \"FOUND_ECJ\" was never defined.
17665 Usually this means the macro was only invoked conditionally." >&5
17666 echo "$as_me: error: conditional \"FOUND_ECJ\" was never defined.
17667 Usually this means the macro was only invoked conditionally." >&2;}
17668 { (exit 1); exit 1; }; }
17670 if test -z "${FOUND_KJC_TRUE}" && test -z "${FOUND_KJC_FALSE}"; then
17671 { { echo "$as_me:$LINENO: error: conditional \"FOUND_KJC\" was never defined.
17672 Usually this means the macro was only invoked conditionally." >&5
17673 echo "$as_me: error: conditional \"FOUND_KJC\" was never defined.
17674 Usually this means the macro was only invoked conditionally." >&2;}
17675 { (exit 1); exit 1; }; }
17677 if test -z "${FOUND_GCJX_TRUE}" && test -z "${FOUND_GCJX_FALSE}"; then
17678 { { echo "$as_me:$LINENO: error: conditional \"FOUND_GCJX\" was never defined.
17679 Usually this means the macro was only invoked conditionally." >&5
17680 echo "$as_me: error: conditional \"FOUND_GCJX\" was never defined.
17681 Usually this means the macro was only invoked conditionally." >&2;}
17682 { (exit 1); exit 1; }; }
17684 if test -z "${USER_SPECIFIED_CLASSLIB_TRUE}" && test -z "${USER_SPECIFIED_CLASSLIB_FALSE}"; then
17685 { { echo "$as_me:$LINENO: error: conditional \"USER_SPECIFIED_CLASSLIB\" was never defined.
17686 Usually this means the macro was only invoked conditionally." >&5
17687 echo "$as_me: error: conditional \"USER_SPECIFIED_CLASSLIB\" was never defined.
17688 Usually this means the macro was only invoked conditionally." >&2;}
17689 { (exit 1); exit 1; }; }
17691 if test -z "${MAINTAINER_MODE_TRUE}" && test -z "${MAINTAINER_MODE_FALSE}"; then
17692 { { echo "$as_me:$LINENO: error: conditional \"MAINTAINER_MODE\" was never defined.
17693 Usually this means the macro was only invoked conditionally." >&5
17694 echo "$as_me: error: conditional \"MAINTAINER_MODE\" was never defined.
17695 Usually this means the macro was only invoked conditionally." >&2;}
17696 { (exit 1); exit 1; }; }
17698 if test -z "${INSTALL_GLIBJ_ZIP_TRUE}" && test -z "${INSTALL_GLIBJ_ZIP_FALSE}"; then
17699 { { echo "$as_me:$LINENO: error: conditional \"INSTALL_GLIBJ_ZIP\" was never defined.
17700 Usually this means the macro was only invoked conditionally." >&5
17701 echo "$as_me: error: conditional \"INSTALL_GLIBJ_ZIP\" was never defined.
17702 Usually this means the macro was only invoked conditionally." >&2;}
17703 { (exit 1); exit 1; }; }
17705 if test -z "${INSTALL_CLASS_FILES_TRUE}" && test -z "${INSTALL_CLASS_FILES_FALSE}"; then
17706 { { echo "$as_me:$LINENO: error: conditional \"INSTALL_CLASS_FILES\" was never defined.
17707 Usually this means the macro was only invoked conditionally." >&5
17708 echo "$as_me: error: conditional \"INSTALL_CLASS_FILES\" was never defined.
17709 Usually this means the macro was only invoked conditionally." >&2;}
17710 { (exit 1); exit 1; }; }
17712 if test -z "${BUILD_CLASS_FILES_TRUE}" && test -z "${BUILD_CLASS_FILES_FALSE}"; then
17713 { { echo "$as_me:$LINENO: error: conditional \"BUILD_CLASS_FILES\" was never defined.
17714 Usually this means the macro was only invoked conditionally." >&5
17715 echo "$as_me: error: conditional \"BUILD_CLASS_FILES\" was never defined.
17716 Usually this means the macro was only invoked conditionally." >&2;}
17717 { (exit 1); exit 1; }; }
17719 if test -z "${CREATE_API_DOCS_TRUE}" && test -z "${CREATE_API_DOCS_FALSE}"; then
17720 { { echo "$as_me:$LINENO: error: conditional \"CREATE_API_DOCS\" was never defined.
17721 Usually this means the macro was only invoked conditionally." >&5
17722 echo "$as_me: error: conditional \"CREATE_API_DOCS\" was never defined.
17723 Usually this means the macro was only invoked conditionally." >&2;}
17724 { (exit 1); exit 1; }; }
17726 if test -z "${REGEN_PARSERS_TRUE}" && test -z "${REGEN_PARSERS_FALSE}"; then
17727 { { echo "$as_me:$LINENO: error: conditional \"REGEN_PARSERS\" was never defined.
17728 Usually this means the macro was only invoked conditionally." >&5
17729 echo "$as_me: error: conditional \"REGEN_PARSERS\" was never defined.
17730 Usually this means the macro was only invoked conditionally." >&2;}
17731 { (exit 1); exit 1; }; }
17734 : ${CONFIG_STATUS=./config.status}
17735 ac_clean_files_save
=$ac_clean_files
17736 ac_clean_files
="$ac_clean_files $CONFIG_STATUS"
17737 { echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
17738 echo "$as_me: creating $CONFIG_STATUS" >&6;}
17739 cat >$CONFIG_STATUS <<_ACEOF
17741 # Generated by $as_me.
17742 # Run this file to recreate the current configuration.
17743 # Compiler output produced by configure, useful for debugging
17744 # configure, is in config.log if it exists.
17747 ac_cs_recheck=false
17749 SHELL=\${CONFIG_SHELL-$SHELL}
17752 cat >>$CONFIG_STATUS <<\_ACEOF
17753 ## --------------------- ##
17754 ## M4sh Initialization. ##
17755 ## --------------------- ##
17757 # Be Bourne compatible
17758 if test -n "${ZSH_VERSION+set}" && (emulate sh
) >/dev
/null
2>&1; then
17761 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
17762 # is contrary to our usage. Disable this feature.
17763 alias -g '${1+"$@"}'='"$@"'
17764 elif test -n "${BASH_VERSION+set}" && (set -o posix
) >/dev
/null
2>&1; then
17767 DUALCASE
=1; export DUALCASE
# for MKS sh
17769 # Support unset when possible.
17770 if ( (MAIL
=60; unset MAIL
) ||
exit) >/dev
/null
2>&1; then
17777 # Work around bugs in pre-3.0 UWIN ksh.
17778 $as_unset ENV MAIL MAILPATH
17785 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
17786 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
17787 LC_TELEPHONE LC_TIME
17789 if (set +x
; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
17790 eval $as_var=C
; export $as_var
17796 # Required to use basename.
17797 if expr a
: '\(a\)' >/dev
/null
2>&1; then
17803 if (basename /) >/dev
/null
2>&1 && test "X`basename / 2>&1`" = "X/"; then
17804 as_basename
=basename
17810 # Name of the executable.
17811 as_me
=`$as_basename "$0" ||
17812 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
17813 X"$0" : 'X\(//\)$' \| \
17814 X"$0" : 'X\(/\)$' \| \
17815 . : '\(.\)' 2>/dev/null ||
17817 sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; }
17818 /^X\/\(\/\/\)$/{ s//\1/; q; }
17819 /^X\/\(\/\).*/{ s//\1/; q; }
17823 # PATH needs CR, and LINENO needs CR and PATH.
17824 # Avoid depending upon Character Ranges.
17825 as_cr_letters
='abcdefghijklmnopqrstuvwxyz'
17826 as_cr_LETTERS
='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
17827 as_cr_Letters
=$as_cr_letters$as_cr_LETTERS
17828 as_cr_digits
='0123456789'
17829 as_cr_alnum
=$as_cr_Letters$as_cr_digits
17831 # The user is always right.
17832 if test "${PATH_SEPARATOR+set}" != set; then
17833 echo "#! /bin/sh" >conf$$.sh
17834 echo "exit 0" >>conf$$.sh
17836 if (PATH
="/nonexistent;."; conf$$.sh
) >/dev
/null
2>&1; then
17845 as_lineno_1
=$LINENO
17846 as_lineno_2
=$LINENO
17847 as_lineno_3
=`(expr $as_lineno_1 + 1) 2>/dev/null`
17848 test "x$as_lineno_1" != "x$as_lineno_2" &&
17849 test "x$as_lineno_3" = "x$as_lineno_2" ||
{
17850 # Find who we are. Look in the path if we contain no path at all
17853 *[\\/]* ) as_myself
=$0 ;;
17854 *) as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
17855 for as_dir
in $PATH
17858 test -z "$as_dir" && as_dir
=.
17859 test -r "$as_dir/$0" && as_myself
=$as_dir/$0 && break
17864 # We did not find ourselves, most probably we were run as `sh COMMAND'
17865 # in which case we are not to be found in the path.
17866 if test "x$as_myself" = x
; then
17869 if test ! -f "$as_myself"; then
17870 { { echo "$as_me:$LINENO: error: cannot find myself; rerun with an absolute path" >&5
17871 echo "$as_me: error: cannot find myself; rerun with an absolute path" >&2;}
17872 { (exit 1); exit 1; }; }
17874 case $CONFIG_SHELL in
17876 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
17877 for as_dir
in /bin
$PATH_SEPARATOR/usr
/bin
$PATH_SEPARATOR$PATH
17880 test -z "$as_dir" && as_dir
=.
17881 for as_base
in sh bash ksh sh5
; do
17884 if ("$as_dir/$as_base" -c '
17885 as_lineno_1=$LINENO
17886 as_lineno_2=$LINENO
17887 as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
17888 test "x$as_lineno_1" != "x$as_lineno_2" &&
17889 test "x$as_lineno_3" = "x$as_lineno_2" ') 2>/dev
/null
; then
17890 $as_unset BASH_ENV ||
test "${BASH_ENV+set}" != set ||
{ BASH_ENV
=; export BASH_ENV
; }
17891 $as_unset ENV ||
test "${ENV+set}" != set ||
{ ENV
=; export ENV
; }
17892 CONFIG_SHELL
=$as_dir/$as_base
17893 export CONFIG_SHELL
17894 exec "$CONFIG_SHELL" "$0" ${1+"$@"}
17902 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
17903 # uniformly replaced by the line number. The first 'sed' inserts a
17904 # line-number line before each line; the second 'sed' does the real
17905 # work. The second script uses 'N' to pair each line-number line
17906 # with the numbered line, and appends trailing '-' during
17907 # substitution so that $LINENO is not a special case at line end.
17908 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
17909 # second 'sed' script. Blame Lee E. McMahon for sed's syntax. :-)
17910 sed '=' <$as_myself |
17915 s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3,
17918 s,^['$as_cr_digits']*\n,,
17919 ' >$as_me.lineno
&&
17920 chmod +x
$as_me.lineno ||
17921 { { echo "$as_me:$LINENO: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&5
17922 echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2;}
17923 { (exit 1); exit 1; }; }
17925 # Don't try to exec as it changes $[0], causing all sort of problems
17926 # (the dirname of $[0] is not the place where we might find the
17927 # original and so on. Autoconf is especially sensible to this).
17929 # Exit status is that of the last command.
17934 case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in
17935 *c
*,-n*) ECHO_N
= ECHO_C
='
17937 *c
*,* ) ECHO_N
=-n ECHO_C
= ECHO_T
= ;;
17938 *) ECHO_N
= ECHO_C
='\c' ECHO_T
= ;;
17941 if expr a
: '\(a\)' >/dev
/null
2>&1; then
17947 rm -f conf$$ conf$$.exe conf$$.
file
17949 if ln -s conf$$.
file conf$$
2>/dev
/null
; then
17950 # We could just check for DJGPP; but this test a) works b) is more generic
17951 # and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04).
17952 if test -f conf$$.exe
; then
17953 # Don't use ln at all; we don't have any links
17958 elif ln conf$$.
file conf$$
2>/dev
/null
; then
17963 rm -f conf$$ conf$$.exe conf$$.
file
17965 if mkdir
-p .
2>/dev
/null
; then
17968 test -d .
/-p && rmdir .
/-p
17972 as_executable_p
="test -f"
17974 # Sed expression to map a string onto a valid CPP name.
17975 as_tr_cpp
="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
17977 # Sed expression to map a string onto a valid variable name.
17978 as_tr_sh
="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
17982 # We need space, tab and new line, in precisely that order.
17992 # Open the log real soon, to keep \$[0] and so on meaningful, and to
17993 # report actual input values of CONFIG_FILES etc. instead of their
17994 # values after options handling. Logging --version etc. is OK.
17998 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
17999 ## Running $as_me. ##
18004 This file was extended by GNU Classpath $as_me 0.90, which was
18005 generated by GNU Autoconf 2.59. Invocation command line was
18007 CONFIG_FILES = $CONFIG_FILES
18008 CONFIG_HEADERS = $CONFIG_HEADERS
18009 CONFIG_LINKS = $CONFIG_LINKS
18010 CONFIG_COMMANDS = $CONFIG_COMMANDS
18014 echo "on `(hostname || uname -n) 2>/dev/null | sed 1q`" >&5
18018 # Files that config.status was made for.
18019 if test -n "$ac_config_files"; then
18020 echo "config_files=\"$ac_config_files\"" >>$CONFIG_STATUS
18023 if test -n "$ac_config_headers"; then
18024 echo "config_headers=\"$ac_config_headers\"" >>$CONFIG_STATUS
18027 if test -n "$ac_config_links"; then
18028 echo "config_links=\"$ac_config_links\"" >>$CONFIG_STATUS
18031 if test -n "$ac_config_commands"; then
18032 echo "config_commands=\"$ac_config_commands\"" >>$CONFIG_STATUS
18035 cat >>$CONFIG_STATUS <<\_ACEOF
18038 \`$as_me' instantiates files from templates according to the
18039 current configuration.
18041 Usage: $0 [OPTIONS] [FILE]...
18043 -h, --help print this help, then exit
18044 -V, --version print version number, then exit
18045 -q, --quiet do not print progress messages
18046 -d, --debug don't remove temporary files
18047 --recheck update $as_me by reconfiguring in the same conditions
18048 --file=FILE[:TEMPLATE]
18049 instantiate the configuration file FILE
18050 --header=FILE[:TEMPLATE]
18051 instantiate the configuration header FILE
18053 Configuration files:
18056 Configuration headers:
18059 Configuration links:
18062 Configuration commands:
18065 Report bugs to <bug-autoconf@gnu.org>."
18068 cat >>$CONFIG_STATUS <<_ACEOF
18070 GNU Classpath config.status 0.90
18071 configured by $0, generated by GNU Autoconf 2.59,
18072 with options \\"`echo "$ac_configure_args" | sed 's/[\\""\`\$]/\\\\&/g'`\\"
18074 Copyright (C) 2003 Free Software Foundation, Inc.
18075 This config.status script is free software; the Free Software Foundation
18076 gives unlimited permission to copy, distribute and modify it."
18081 cat >>$CONFIG_STATUS <<\_ACEOF
18082 # If no file are specified by the user, then we need to provide default
18083 # value. By we need to know if files were specified by the user.
18089 ac_option
=`expr "x$1" : 'x\([^=]*\)='`
18090 ac_optarg
=`expr "x$1" : 'x[^=]*=\(.*\)'`
18098 *) # This is not an option, so the user has probably given explicit
18101 ac_need_defaults
=false
;;
18105 # Handling of the options.
18107 cat >>$CONFIG_STATUS <<\_ACEOF
18108 -recheck |
--recheck |
--rechec |
--reche |
--rech |
--rec |
--re |
--r)
18110 --version |
--vers* |
-V )
18111 echo "$ac_cs_version"; exit 0 ;;
18113 # Conflict between --help and --header
18114 { { echo "$as_me:$LINENO: error: ambiguous option: $1
18115 Try \`$0 --help' for more information." >&5
18116 echo "$as_me: error: ambiguous option: $1
18117 Try \`$0 --help' for more information." >&2;}
18118 { (exit 1); exit 1; }; };;
18119 --help |
--hel |
-h )
18120 echo "$ac_cs_usage"; exit 0 ;;
18121 --debug |
--d* |
-d )
18123 --file |
--fil |
--fi |
--f )
18125 CONFIG_FILES
="$CONFIG_FILES $ac_optarg"
18126 ac_need_defaults
=false
;;
18127 --header |
--heade |
--head |
--hea )
18129 CONFIG_HEADERS
="$CONFIG_HEADERS $ac_optarg"
18130 ac_need_defaults
=false
;;
18131 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
18132 |
-silent |
--silent |
--silen |
--sile |
--sil |
--si |
--s)
18135 # This is an error.
18136 -*) { { echo "$as_me:$LINENO: error: unrecognized option: $1
18137 Try \`$0 --help' for more information." >&5
18138 echo "$as_me: error: unrecognized option: $1
18139 Try \`$0 --help' for more information." >&2;}
18140 { (exit 1); exit 1; }; } ;;
18142 *) ac_config_targets
="$ac_config_targets $1" ;;
18148 ac_configure_extra_args
=
18150 if $ac_cs_silent; then
18152 ac_configure_extra_args
="$ac_configure_extra_args --silent"
18156 cat >>$CONFIG_STATUS <<_ACEOF
18157 if \$ac_cs_recheck; then
18158 echo "running $SHELL $0 " $ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6
18159 exec $SHELL $0 $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
18164 cat >>$CONFIG_STATUS <<_ACEOF
18166 # INIT-COMMANDS section.
18169 AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
18170 # variables for create stdint.h replacement
18173 ac_stdint_h="$ac_stdint_h"
18174 _ac_stdint_h=`echo "_$PACKAGE-$ac_stdint_h" | $as_tr_cpp`
18175 ac_cv_stdint_message="$ac_cv_stdint_message"
18176 ac_cv_header_stdint_t="$ac_cv_header_stdint_t"
18177 ac_cv_header_stdint_x="$ac_cv_header_stdint_x"
18178 ac_cv_header_stdint_o="$ac_cv_header_stdint_o"
18179 ac_cv_header_stdint_u="$ac_cv_header_stdint_u"
18180 ac_cv_type_uint64_t="$ac_cv_type_uint64_t"
18181 ac_cv_type_u_int64_t="$ac_cv_type_u_int64_t"
18182 ac_cv_char_data_model="$ac_cv_char_data_model"
18183 ac_cv_long_data_model="$ac_cv_long_data_model"
18184 ac_cv_type_int_least32_t="$ac_cv_type_int_least32_t"
18185 ac_cv_type_int_fast32_t="$ac_cv_type_int_fast32_t"
18186 ac_cv_type_intmax_t="$ac_cv_type_intmax_t"
18193 cat >>$CONFIG_STATUS <<\_ACEOF
18194 for ac_config_target
in $ac_config_targets
18196 case "$ac_config_target" in
18197 # Handling of arguments.
18198 "lib/mkcollections.pl" ) CONFIG_FILES
="$CONFIG_FILES lib/mkcollections.pl" ;;
18199 "Makefile" ) CONFIG_FILES
="$CONFIG_FILES Makefile" ;;
18200 "doc/Makefile" ) CONFIG_FILES
="$CONFIG_FILES doc/Makefile" ;;
18201 "doc/api/Makefile" ) CONFIG_FILES
="$CONFIG_FILES doc/api/Makefile" ;;
18202 "external/Makefile" ) CONFIG_FILES
="$CONFIG_FILES external/Makefile" ;;
18203 "external/sax/Makefile" ) CONFIG_FILES
="$CONFIG_FILES external/sax/Makefile" ;;
18204 "external/w3c_dom/Makefile" ) CONFIG_FILES
="$CONFIG_FILES external/w3c_dom/Makefile" ;;
18205 "external/relaxngDatatype/Makefile" ) CONFIG_FILES
="$CONFIG_FILES external/relaxngDatatype/Makefile" ;;
18206 "gnu/classpath/Configuration.java" ) CONFIG_FILES
="$CONFIG_FILES gnu/classpath/Configuration.java" ;;
18207 "include/Makefile" ) CONFIG_FILES
="$CONFIG_FILES include/Makefile" ;;
18208 "native/Makefile" ) CONFIG_FILES
="$CONFIG_FILES native/Makefile" ;;
18209 "native/fdlibm/Makefile" ) CONFIG_FILES
="$CONFIG_FILES native/fdlibm/Makefile" ;;
18210 "native/jawt/Makefile" ) CONFIG_FILES
="$CONFIG_FILES native/jawt/Makefile" ;;
18211 "native/jni/Makefile" ) CONFIG_FILES
="$CONFIG_FILES native/jni/Makefile" ;;
18212 "native/jni/classpath/Makefile" ) CONFIG_FILES
="$CONFIG_FILES native/jni/classpath/Makefile" ;;
18213 "native/jni/java-io/Makefile" ) CONFIG_FILES
="$CONFIG_FILES native/jni/java-io/Makefile" ;;
18214 "native/jni/java-lang/Makefile" ) CONFIG_FILES
="$CONFIG_FILES native/jni/java-lang/Makefile" ;;
18215 "native/jni/java-net/Makefile" ) CONFIG_FILES
="$CONFIG_FILES native/jni/java-net/Makefile" ;;
18216 "native/jni/java-nio/Makefile" ) CONFIG_FILES
="$CONFIG_FILES native/jni/java-nio/Makefile" ;;
18217 "native/jni/java-util/Makefile" ) CONFIG_FILES
="$CONFIG_FILES native/jni/java-util/Makefile" ;;
18218 "native/jni/gtk-peer/Makefile" ) CONFIG_FILES
="$CONFIG_FILES native/jni/gtk-peer/Makefile" ;;
18219 "native/jni/qt-peer/Makefile" ) CONFIG_FILES
="$CONFIG_FILES native/jni/qt-peer/Makefile" ;;
18220 "native/jni/xmlj/Makefile" ) CONFIG_FILES
="$CONFIG_FILES native/jni/xmlj/Makefile" ;;
18221 "native/jni/midi-alsa/Makefile" ) CONFIG_FILES
="$CONFIG_FILES native/jni/midi-alsa/Makefile" ;;
18222 "native/jni/midi-dssi/Makefile" ) CONFIG_FILES
="$CONFIG_FILES native/jni/midi-dssi/Makefile" ;;
18223 "native/target/Makefile" ) CONFIG_FILES
="$CONFIG_FILES native/target/Makefile" ;;
18224 "native/target/Linux/Makefile" ) CONFIG_FILES
="$CONFIG_FILES native/target/Linux/Makefile" ;;
18225 "native/target/generic/Makefile" ) CONFIG_FILES
="$CONFIG_FILES native/target/generic/Makefile" ;;
18226 "resource/Makefile" ) CONFIG_FILES
="$CONFIG_FILES resource/Makefile" ;;
18227 "scripts/Makefile" ) CONFIG_FILES
="$CONFIG_FILES scripts/Makefile" ;;
18228 "scripts/classpath.spec" ) CONFIG_FILES
="$CONFIG_FILES scripts/classpath.spec" ;;
18229 "lib/Makefile" ) CONFIG_FILES
="$CONFIG_FILES lib/Makefile" ;;
18230 "lib/gen-classlist.sh" ) CONFIG_FILES
="$CONFIG_FILES lib/gen-classlist.sh" ;;
18231 "lib/copy-vmresources.sh" ) CONFIG_FILES
="$CONFIG_FILES lib/copy-vmresources.sh" ;;
18232 "tools/Makefile" ) CONFIG_FILES
="$CONFIG_FILES tools/Makefile" ;;
18233 "examples/Makefile" ) CONFIG_FILES
="$CONFIG_FILES examples/Makefile" ;;
18234 "examples/Makefile.jawt" ) CONFIG_FILES
="$CONFIG_FILES examples/Makefile.jawt" ;;
18235 "$ac_config_links_1" ) CONFIG_LINKS
="$CONFIG_LINKS $ac_config_links_1" ;;
18236 "depfiles" ) CONFIG_COMMANDS
="$CONFIG_COMMANDS depfiles" ;;
18237 "mkcollections.pl" ) CONFIG_COMMANDS
="$CONFIG_COMMANDS mkcollections.pl" ;;
18238 "$ac_stdint_h" ) CONFIG_COMMANDS
="$CONFIG_COMMANDS $ac_stdint_h" ;;
18239 "gen-classlist" ) CONFIG_COMMANDS
="$CONFIG_COMMANDS gen-classlist" ;;
18240 "copy-vmresources" ) CONFIG_COMMANDS
="$CONFIG_COMMANDS copy-vmresources" ;;
18241 "include/config.h" ) CONFIG_HEADERS
="$CONFIG_HEADERS include/config.h" ;;
18242 *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
18243 echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
18244 { (exit 1); exit 1; }; };;
18248 # If the user did not use the arguments to specify the items to instantiate,
18249 # then the envvar interface is used. Set only those that are not.
18250 # We use the long form for the default assignment because of an extremely
18251 # bizarre bug on SunOS 4.1.3.
18252 if $ac_need_defaults; then
18253 test "${CONFIG_FILES+set}" = set || CONFIG_FILES
=$config_files
18254 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS
=$config_headers
18255 test "${CONFIG_LINKS+set}" = set || CONFIG_LINKS
=$config_links
18256 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS
=$config_commands
18259 # Have a temporary directory for convenience. Make it in the build tree
18260 # simply because there is no reason to put it here, and in addition,
18261 # creating and moving files from /tmp can sometimes cause problems.
18262 # Create a temporary directory, and hook for its removal unless debugging.
18265 trap 'exit_status=$?; rm -rf $tmp && exit $exit_status' 0
18266 trap '{ (exit 1); exit 1; }' 1 2 13 15
18269 # Create a (secure) tmp directory for tmp files.
18272 tmp
=`(umask 077 && mktemp -d -q "./confstatXXXXXX") 2>/dev/null` &&
18273 test -n "$tmp" && test -d "$tmp"
18276 tmp
=.
/confstat$$
-$RANDOM
18277 (umask 077 && mkdir
$tmp)
18280 echo "$me: cannot create a temporary directory in ." >&2
18281 { (exit 1); exit 1; }
18286 cat >>$CONFIG_STATUS <<_ACEOF
18289 # CONFIG_FILES section.
18292 # No need to generate the scripts if there are no CONFIG_FILES.
18293 # This happens for instance when ./config.status config.h
18294 if test -n "\$CONFIG_FILES"; then
18295 # Protect against being on the right side of a sed subst in config.status.
18296 sed 's/,@/@@/; s/@,/@@/; s/,;t t\$/@;t t/; /@;t t\$/s/[\\\\&,]/\\\\&/g;
18297 s/@@/,@/; s/@@/@,/; s/@;t t\$/,;t t/' >\$tmp/subs.sed <<\\CEOF
18298 s,@SHELL@,$SHELL,;t t
18299 s,@PATH_SEPARATOR@,$PATH_SEPARATOR,;t t
18300 s,@PACKAGE_NAME@,$PACKAGE_NAME,;t t
18301 s,@PACKAGE_TARNAME@,$PACKAGE_TARNAME,;t t
18302 s,@PACKAGE_VERSION@,$PACKAGE_VERSION,;t t
18303 s,@PACKAGE_STRING@,$PACKAGE_STRING,;t t
18304 s,@PACKAGE_BUGREPORT@,$PACKAGE_BUGREPORT,;t t
18305 s,@exec_prefix@,$exec_prefix,;t t
18306 s,@prefix@,$prefix,;t t
18307 s,@program_transform_name@,$program_transform_name,;t t
18308 s,@bindir@,$bindir,;t t
18309 s,@sbindir@,$sbindir,;t t
18310 s,@libexecdir@,$libexecdir,;t t
18311 s,@datadir@,$datadir,;t t
18312 s,@sysconfdir@,$sysconfdir,;t t
18313 s,@sharedstatedir@,$sharedstatedir,;t t
18314 s,@localstatedir@,$localstatedir,;t t
18315 s,@libdir@,$libdir,;t t
18316 s,@includedir@,$includedir,;t t
18317 s,@oldincludedir@,$oldincludedir,;t t
18318 s,@infodir@,$infodir,;t t
18319 s,@mandir@,$mandir,;t t
18320 s,@build_alias@,$build_alias,;t t
18321 s,@host_alias@,$host_alias,;t t
18322 s,@target_alias@,$target_alias,;t t
18323 s,@DEFS@,$DEFS,;t t
18324 s,@ECHO_C@,$ECHO_C,;t t
18325 s,@ECHO_N@,$ECHO_N,;t t
18326 s,@ECHO_T@,$ECHO_T,;t t
18327 s,@LIBS@,$LIBS,;t t
18328 s,@build@,$build,;t t
18329 s,@build_cpu@,$build_cpu,;t t
18330 s,@build_vendor@,$build_vendor,;t t
18331 s,@build_os@,$build_os,;t t
18332 s,@host@,$host,;t t
18333 s,@host_cpu@,$host_cpu,;t t
18334 s,@host_vendor@,$host_vendor,;t t
18335 s,@host_os@,$host_os,;t t
18336 s,@target@,$target,;t t
18337 s,@target_cpu@,$target_cpu,;t t
18338 s,@target_vendor@,$target_vendor,;t t
18339 s,@target_os@,$target_os,;t t
18340 s,@LIBVERSION@,$LIBVERSION,;t t
18341 s,@CLASSPATH_MODULE@,$CLASSPATH_MODULE,;t t
18342 s,@INSTALL_PROGRAM@,$INSTALL_PROGRAM,;t t
18343 s,@INSTALL_SCRIPT@,$INSTALL_SCRIPT,;t t
18344 s,@INSTALL_DATA@,$INSTALL_DATA,;t t
18345 s,@CYGPATH_W@,$CYGPATH_W,;t t
18346 s,@PACKAGE@,$PACKAGE,;t t
18347 s,@VERSION@,$VERSION,;t t
18348 s,@ACLOCAL@,$ACLOCAL,;t t
18349 s,@AUTOCONF@,$AUTOCONF,;t t
18350 s,@AUTOMAKE@,$AUTOMAKE,;t t
18351 s,@AUTOHEADER@,$AUTOHEADER,;t t
18352 s,@MAKEINFO@,$MAKEINFO,;t t
18353 s,@install_sh@,$install_sh,;t t
18354 s,@STRIP@,$STRIP,;t t
18355 s,@ac_ct_STRIP@,$ac_ct_STRIP,;t t
18356 s,@INSTALL_STRIP_PROGRAM@,$INSTALL_STRIP_PROGRAM,;t t
18357 s,@mkdir_p@,$mkdir_p,;t t
18359 s,@SET_MAKE@,$SET_MAKE,;t t
18360 s,@am__leading_dot@,$am__leading_dot,;t t
18361 s,@AMTAR@,$AMTAR,;t t
18362 s,@am__tar@,$am__tar,;t t
18363 s,@am__untar@,$am__untar,;t t
18364 s,@CREATE_COLLECTIONS_TRUE@,$CREATE_COLLECTIONS_TRUE,;t t
18365 s,@CREATE_COLLECTIONS_FALSE@,$CREATE_COLLECTIONS_FALSE,;t t
18366 s,@CREATE_JNI_LIBRARIES_TRUE@,$CREATE_JNI_LIBRARIES_TRUE,;t t
18367 s,@CREATE_JNI_LIBRARIES_FALSE@,$CREATE_JNI_LIBRARIES_FALSE,;t t
18368 s,@CREATE_CORE_JNI_LIBRARIES_TRUE@,$CREATE_CORE_JNI_LIBRARIES_TRUE,;t t
18369 s,@CREATE_CORE_JNI_LIBRARIES_FALSE@,$CREATE_CORE_JNI_LIBRARIES_FALSE,;t t
18370 s,@default_toolkit@,$default_toolkit,;t t
18371 s,@CREATE_XMLJ_LIBRARY_TRUE@,$CREATE_XMLJ_LIBRARY_TRUE,;t t
18372 s,@CREATE_XMLJ_LIBRARY_FALSE@,$CREATE_XMLJ_LIBRARY_FALSE,;t t
18374 s,@CFLAGS@,$CFLAGS,;t t
18375 s,@LDFLAGS@,$LDFLAGS,;t t
18376 s,@CPPFLAGS@,$CPPFLAGS,;t t
18377 s,@ac_ct_CC@,$ac_ct_CC,;t t
18378 s,@EXEEXT@,$EXEEXT,;t t
18379 s,@OBJEXT@,$OBJEXT,;t t
18380 s,@DEPDIR@,$DEPDIR,;t t
18381 s,@am__include@,$am__include,;t t
18382 s,@am__quote@,$am__quote,;t t
18383 s,@AMDEP_TRUE@,$AMDEP_TRUE,;t t
18384 s,@AMDEP_FALSE@,$AMDEP_FALSE,;t t
18385 s,@AMDEPBACKSLASH@,$AMDEPBACKSLASH,;t t
18386 s,@CCDEPMODE@,$CCDEPMODE,;t t
18387 s,@am__fastdepCC_TRUE@,$am__fastdepCC_TRUE,;t t
18388 s,@am__fastdepCC_FALSE@,$am__fastdepCC_FALSE,;t t
18390 s,@EGREP@,$EGREP,;t t
18391 s,@CREATE_ALSA_LIBRARIES_TRUE@,$CREATE_ALSA_LIBRARIES_TRUE,;t t
18392 s,@CREATE_ALSA_LIBRARIES_FALSE@,$CREATE_ALSA_LIBRARIES_FALSE,;t t
18393 s,@CREATE_DSSI_LIBRARIES_TRUE@,$CREATE_DSSI_LIBRARIES_TRUE,;t t
18394 s,@CREATE_DSSI_LIBRARIES_FALSE@,$CREATE_DSSI_LIBRARIES_FALSE,;t t
18395 s,@CREATE_GTK_PEER_LIBRARIES_TRUE@,$CREATE_GTK_PEER_LIBRARIES_TRUE,;t t
18396 s,@CREATE_GTK_PEER_LIBRARIES_FALSE@,$CREATE_GTK_PEER_LIBRARIES_FALSE,;t t
18397 s,@GTK_CAIRO_ENABLED@,$GTK_CAIRO_ENABLED,;t t
18398 s,@GTK_CAIRO_TRUE@,$GTK_CAIRO_TRUE,;t t
18399 s,@GTK_CAIRO_FALSE@,$GTK_CAIRO_FALSE,;t t
18400 s,@CREATE_QT_PEER_LIBRARIES_TRUE@,$CREATE_QT_PEER_LIBRARIES_TRUE,;t t
18401 s,@CREATE_QT_PEER_LIBRARIES_FALSE@,$CREATE_QT_PEER_LIBRARIES_FALSE,;t t
18402 s,@nativelibdir@,$nativelibdir,;t t
18403 s,@glibjdir@,$glibjdir,;t t
18404 s,@CREATE_JNI_HEADERS_TRUE@,$CREATE_JNI_HEADERS_TRUE,;t t
18405 s,@CREATE_JNI_HEADERS_FALSE@,$CREATE_JNI_HEADERS_FALSE,;t t
18406 s,@LN_S@,$LN_S,;t t
18407 s,@RANLIB@,$RANLIB,;t t
18408 s,@ac_ct_RANLIB@,$ac_ct_RANLIB,;t t
18409 s,@LIBTOOL@,$LIBTOOL,;t t
18411 s,@CXXFLAGS@,$CXXFLAGS,;t t
18412 s,@ac_ct_CXX@,$ac_ct_CXX,;t t
18413 s,@CXXDEPMODE@,$CXXDEPMODE,;t t
18414 s,@am__fastdepCXX_TRUE@,$am__fastdepCXX_TRUE,;t t
18415 s,@am__fastdepCXX_FALSE@,$am__fastdepCXX_FALSE,;t t
18416 s,@CXXCPP@,$CXXCPP,;t t
18417 s,@PERL@,$PERL,;t t
18418 s,@COLLECTIONS_PREFIX@,$COLLECTIONS_PREFIX,;t t
18419 s,@LIBICONV@,$LIBICONV,;t t
18420 s,@LTLIBICONV@,$LTLIBICONV,;t t
18421 s,@WARNING_CFLAGS@,$WARNING_CFLAGS,;t t
18422 s,@STRICT_WARNING_CFLAGS@,$STRICT_WARNING_CFLAGS,;t t
18423 s,@ERROR_CFLAGS@,$ERROR_CFLAGS,;t t
18424 s,@PKG_CONFIG@,$PKG_CONFIG,;t t
18425 s,@XML_CFLAGS@,$XML_CFLAGS,;t t
18426 s,@XML_LIBS@,$XML_LIBS,;t t
18427 s,@XSLT_CFLAGS@,$XSLT_CFLAGS,;t t
18428 s,@XSLT_LIBS@,$XSLT_LIBS,;t t
18429 s,@X_CFLAGS@,$X_CFLAGS,;t t
18430 s,@X_PRE_LIBS@,$X_PRE_LIBS,;t t
18431 s,@X_LIBS@,$X_LIBS,;t t
18432 s,@X_EXTRA_LIBS@,$X_EXTRA_LIBS,;t t
18433 s,@GTK_CFLAGS@,$GTK_CFLAGS,;t t
18434 s,@GTK_LIBS@,$GTK_LIBS,;t t
18435 s,@CAIRO_CFLAGS@,$CAIRO_CFLAGS,;t t
18436 s,@CAIRO_LIBS@,$CAIRO_LIBS,;t t
18437 s,@FREETYPE2_CFLAGS@,$FREETYPE2_CFLAGS,;t t
18438 s,@FREETYPE2_LIBS@,$FREETYPE2_LIBS,;t t
18439 s,@PANGOFT2_CFLAGS@,$PANGOFT2_CFLAGS,;t t
18440 s,@PANGOFT2_LIBS@,$PANGOFT2_LIBS,;t t
18441 s,@QT_CFLAGS@,$QT_CFLAGS,;t t
18442 s,@QT_LIBS@,$QT_LIBS,;t t
18444 s,@USER_JAVAH@,$USER_JAVAH,;t t
18445 s,@USER_SPECIFIED_JAVAH_TRUE@,$USER_SPECIFIED_JAVAH_TRUE,;t t
18446 s,@USER_SPECIFIED_JAVAH_FALSE@,$USER_SPECIFIED_JAVAH_FALSE,;t t
18447 s,@CLASSPATH_INCLUDES@,$CLASSPATH_INCLUDES,;t t
18449 s,@JIKES@,$JIKES,;t t
18450 s,@JIKESENCODING@,$JIKESENCODING,;t t
18451 s,@JIKESWARNINGS@,$JIKESWARNINGS,;t t
18453 s,@GCJX@,$GCJX,;t t
18455 s,@FOUND_GCJ_TRUE@,$FOUND_GCJ_TRUE,;t t
18456 s,@FOUND_GCJ_FALSE@,$FOUND_GCJ_FALSE,;t t
18457 s,@FOUND_JIKES_TRUE@,$FOUND_JIKES_TRUE,;t t
18458 s,@FOUND_JIKES_FALSE@,$FOUND_JIKES_FALSE,;t t
18459 s,@FOUND_ECJ_TRUE@,$FOUND_ECJ_TRUE,;t t
18460 s,@FOUND_ECJ_FALSE@,$FOUND_ECJ_FALSE,;t t
18461 s,@FOUND_KJC_TRUE@,$FOUND_KJC_TRUE,;t t
18462 s,@FOUND_KJC_FALSE@,$FOUND_KJC_FALSE,;t t
18463 s,@FOUND_GCJX_TRUE@,$FOUND_GCJX_TRUE,;t t
18464 s,@FOUND_GCJX_FALSE@,$FOUND_GCJX_FALSE,;t t
18465 s,@USER_CLASSLIB@,$USER_CLASSLIB,;t t
18466 s,@USER_SPECIFIED_CLASSLIB_TRUE@,$USER_SPECIFIED_CLASSLIB_TRUE,;t t
18467 s,@USER_SPECIFIED_CLASSLIB_FALSE@,$USER_SPECIFIED_CLASSLIB_FALSE,;t t
18468 s,@vm_classes@,$vm_classes,;t t
18469 s,@MAINTAINER_MODE_TRUE@,$MAINTAINER_MODE_TRUE,;t t
18470 s,@MAINTAINER_MODE_FALSE@,$MAINTAINER_MODE_FALSE,;t t
18471 s,@MAINT@,$MAINT,;t t
18472 s,@LIBDEBUG@,$LIBDEBUG,;t t
18473 s,@INIT_LOAD_LIBRARY@,$INIT_LOAD_LIBRARY,;t t
18474 s,@JAVA_LANG_SYSTEM_EXPLICIT_INITIALIZATION@,$JAVA_LANG_SYSTEM_EXPLICIT_INITIALIZATION,;t t
18475 s,@REMOVE@,$REMOVE,;t t
18476 s,@MKDIR@,$MKDIR,;t t
18478 s,@DATE@,$DATE,;t t
18479 s,@FIND@,$FIND,;t t
18481 s,@FASTJAR@,$FASTJAR,;t t
18482 s,@INSTALL_GLIBJ_ZIP_TRUE@,$INSTALL_GLIBJ_ZIP_TRUE,;t t
18483 s,@INSTALL_GLIBJ_ZIP_FALSE@,$INSTALL_GLIBJ_ZIP_FALSE,;t t
18484 s,@INSTALL_CLASS_FILES_TRUE@,$INSTALL_CLASS_FILES_TRUE,;t t
18485 s,@INSTALL_CLASS_FILES_FALSE@,$INSTALL_CLASS_FILES_FALSE,;t t
18486 s,@BUILD_CLASS_FILES_TRUE@,$BUILD_CLASS_FILES_TRUE,;t t
18487 s,@BUILD_CLASS_FILES_FALSE@,$BUILD_CLASS_FILES_FALSE,;t t
18488 s,@EXAMPLESDIR@,$EXAMPLESDIR,;t t
18489 s,@GJDOC@,$GJDOC,;t t
18490 s,@CREATE_API_DOCS_TRUE@,$CREATE_API_DOCS_TRUE,;t t
18491 s,@CREATE_API_DOCS_FALSE@,$CREATE_API_DOCS_FALSE,;t t
18493 s,@JAY_SKELETON@,$JAY_SKELETON,;t t
18494 s,@REGEN_PARSERS_TRUE@,$REGEN_PARSERS_TRUE,;t t
18495 s,@REGEN_PARSERS_FALSE@,$REGEN_PARSERS_FALSE,;t t
18496 s,@LIBOBJS@,$LIBOBJS,;t t
18497 s,@LTLIBOBJS@,$LTLIBOBJS,;t t
18502 cat >>$CONFIG_STATUS <<\_ACEOF
18503 # Split the substitutions into bite-sized pieces for seds with
18504 # small command number limits, like on Digital OSF/1 and HP-UX.
18505 ac_max_sed_lines
=48
18506 ac_sed_frag
=1 # Number of current file.
18507 ac_beg
=1 # First line for current file.
18508 ac_end
=$ac_max_sed_lines # Line after last line for current file.
18511 while $ac_more_lines; do
18512 if test $ac_beg -gt 1; then
18513 sed "1,${ac_beg}d; ${ac_end}q" $tmp/subs.
sed >$tmp/subs.frag
18515 sed "${ac_end}q" $tmp/subs.
sed >$tmp/subs.frag
18517 if test ! -s $tmp/subs.frag
; then
18518 ac_more_lines
=false
18520 # The purpose of the label and of the branching condition is to
18521 # speed up the sed processing (if there are no `@' at all, there
18522 # is no need to browse any of the substitutions).
18523 # These are the two extra sed commands mentioned above.
18525 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b' && cat $tmp/subs.frag
) >$tmp/subs-
$ac_sed_frag.
sed
18526 if test -z "$ac_sed_cmds"; then
18527 ac_sed_cmds
="sed -f $tmp/subs-$ac_sed_frag.sed"
18529 ac_sed_cmds
="$ac_sed_cmds | sed -f $tmp/subs-$ac_sed_frag.sed"
18531 ac_sed_frag
=`expr $ac_sed_frag + 1`
18533 ac_end
=`expr $ac_end + $ac_max_sed_lines`
18536 if test -z "$ac_sed_cmds"; then
18539 fi # test -n "$CONFIG_FILES"
18542 cat >>$CONFIG_STATUS <<\_ACEOF
18543 for ac_file
in : $CONFIG_FILES; do test "x$ac_file" = x
: && continue
18544 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
18546 - |
*:- |
*:-:* ) # input from stdin
18548 ac_file_in
=`echo "$ac_file" | sed 's,[^:]*:,,'`
18549 ac_file
=`echo "$ac_file" | sed 's,:.*,,'` ;;
18550 *:* ) ac_file_in
=`echo "$ac_file" | sed 's,[^:]*:,,'`
18551 ac_file
=`echo "$ac_file" | sed 's,:.*,,'` ;;
18552 * ) ac_file_in
=$ac_file.
in ;;
18555 # Compute @srcdir@, @top_srcdir@, and @INSTALL@ for subdirectories.
18556 ac_dir
=`(dirname "$ac_file") 2>/dev/null ||
18557 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
18558 X"$ac_file" : 'X\(//\)[^/]' \| \
18559 X"$ac_file" : 'X\(//\)$' \| \
18560 X"$ac_file" : 'X\(/\)' \| \
18561 . : '\(.\)' 2>/dev/null ||
18563 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
18564 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
18565 /^X\(\/\/\)$/{ s//\1/; q; }
18566 /^X\(\/\).*/{ s//\1/; q; }
18568 { if $as_mkdir_p; then
18573 while test ! -d "$as_dir"; do
18574 as_dirs
="$as_dir $as_dirs"
18575 as_dir
=`(dirname "$as_dir") 2>/dev/null ||
18576 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
18577 X"$as_dir" : 'X\(//\)[^/]' \| \
18578 X"$as_dir" : 'X\(//\)$' \| \
18579 X"$as_dir" : 'X\(/\)' \| \
18580 . : '\(.\)' 2>/dev/null ||
18582 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
18583 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
18584 /^X\(\/\/\)$/{ s//\1/; q; }
18585 /^X\(\/\).*/{ s//\1/; q; }
18588 test ! -n "$as_dirs" || mkdir
$as_dirs
18589 fi ||
{ { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
18590 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
18591 { (exit 1); exit 1; }; }; }
18595 if test "$ac_dir" != .
; then
18596 ac_dir_suffix
=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
18597 # A "../" for each directory in $ac_dir_suffix.
18598 ac_top_builddir
=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
18600 ac_dir_suffix
= ac_top_builddir
=
18604 .
) # No --srcdir option. We are building in place.
18606 if test -z "$ac_top_builddir"; then
18609 ac_top_srcdir
=`echo $ac_top_builddir | sed 's,/$,,'`
18611 [\\/]* | ?
:[\\/]* ) # Absolute path.
18612 ac_srcdir
=$srcdir$ac_dir_suffix;
18613 ac_top_srcdir
=$srcdir ;;
18614 *) # Relative path.
18615 ac_srcdir
=$ac_top_builddir$srcdir$ac_dir_suffix
18616 ac_top_srcdir
=$ac_top_builddir$srcdir ;;
18619 # Do not use `cd foo && pwd` to compute absolute paths, because
18620 # the directories may not exist.
18622 .
) ac_abs_builddir
="$ac_dir";;
18625 .
) ac_abs_builddir
=`pwd`;;
18626 [\\/]* | ?
:[\\/]* ) ac_abs_builddir
="$ac_dir";;
18627 *) ac_abs_builddir
=`pwd`/"$ac_dir";;
18630 case $ac_abs_builddir in
18631 .
) ac_abs_top_builddir
=${ac_top_builddir}.
;;
18633 case ${ac_top_builddir}.
in
18634 .
) ac_abs_top_builddir
=$ac_abs_builddir;;
18635 [\\/]* | ?
:[\\/]* ) ac_abs_top_builddir
=${ac_top_builddir}.
;;
18636 *) ac_abs_top_builddir
=$ac_abs_builddir/${ac_top_builddir}.
;;
18639 case $ac_abs_builddir in
18640 .
) ac_abs_srcdir
=$ac_srcdir;;
18643 .
) ac_abs_srcdir
=$ac_abs_builddir;;
18644 [\\/]* | ?
:[\\/]* ) ac_abs_srcdir
=$ac_srcdir;;
18645 *) ac_abs_srcdir
=$ac_abs_builddir/$ac_srcdir;;
18648 case $ac_abs_builddir in
18649 .
) ac_abs_top_srcdir
=$ac_top_srcdir;;
18651 case $ac_top_srcdir in
18652 .
) ac_abs_top_srcdir
=$ac_abs_builddir;;
18653 [\\/]* | ?
:[\\/]* ) ac_abs_top_srcdir
=$ac_top_srcdir;;
18654 *) ac_abs_top_srcdir
=$ac_abs_builddir/$ac_top_srcdir;;
18660 [\\/$
]* | ?
:[\\/]* ) ac_INSTALL
=$INSTALL ;;
18661 *) ac_INSTALL
=$ac_top_builddir$INSTALL ;;
18664 # Let's still pretend it is `configure' which instantiates (i.e., don't
18665 # use $as_me), people would be surprised to read:
18666 # /* config.h. Generated by config.status. */
18667 if test x
"$ac_file" = x-
; then
18670 configure_input
="$ac_file. "
18672 configure_input
=$configure_input"Generated from `echo $ac_file_in |
18673 sed 's,.*/,,'` by configure."
18675 # First look for the input files in the build tree, otherwise in the
18677 ac_file_inputs
=`IFS=:
18678 for f in $ac_file_in; do
18680 -) echo $tmp/stdin ;;
18682 # Absolute (can't be DOS-style, as IFS=:)
18683 test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
18684 echo "$as_me: error: cannot find input file: $f" >&2;}
18685 { (exit 1); exit 1; }; }
18688 if test -f "$f"; then
18691 elif test -f "$srcdir/$f"; then
18696 { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
18697 echo "$as_me: error: cannot find input file: $f" >&2;}
18698 { (exit 1); exit 1; }; }
18701 done` ||
{ (exit 1); exit 1; }
18703 if test x
"$ac_file" != x-
; then
18704 { echo "$as_me:$LINENO: creating $ac_file" >&5
18705 echo "$as_me: creating $ac_file" >&6;}
18709 cat >>$CONFIG_STATUS <<_ACEOF
18713 cat >>$CONFIG_STATUS <<\_ACEOF
18715 /@
[a-zA-Z_
][a-zA-Z_0-9
]*@
/!b
18716 s
,@configure_input@
,$configure_input,;t t
18717 s
,@srcdir@
,$ac_srcdir,;t t
18718 s
,@abs_srcdir@
,$ac_abs_srcdir,;t t
18719 s
,@top_srcdir@
,$ac_top_srcdir,;t t
18720 s
,@abs_top_srcdir@
,$ac_abs_top_srcdir,;t t
18721 s
,@builddir@
,$ac_builddir,;t t
18722 s
,@abs_builddir@
,$ac_abs_builddir,;t t
18723 s
,@top_builddir@
,$ac_top_builddir,;t t
18724 s
,@abs_top_builddir@
,$ac_abs_top_builddir,;t t
18725 s
,@INSTALL@
,$ac_INSTALL,;t t
18726 " $ac_file_inputs | (eval "$ac_sed_cmds") >$tmp/out
18728 if test x"$ac_file" != x-; then
18729 mv $tmp/out $ac_file
18737 cat >>$CONFIG_STATUS <<\_ACEOF
18740 # CONFIG_HEADER section.
18743 # These sed commands are passed to sed as "A NAME B NAME C VALUE D
", where
18744 # NAME is the cpp macro being defined and VALUE is the value it is being given.
18746 # ac_d sets the value in "#define NAME VALUE" lines.
18747 ac_dA
='s,^\([ ]*\)#\([ ]*define[ ][ ]*\)'
18748 ac_dB
='[ ].*$,\1#\2'
18751 # ac_u turns "#undef NAME" without trailing blanks into "#define NAME VALUE".
18752 ac_uA
='s,^\([ ]*\)#\([ ]*\)undef\([ ][ ]*\)'
18753 ac_uB
='$,\1#\2define\3'
18757 for ac_file
in : $CONFIG_HEADERS; do test "x$ac_file" = x
: && continue
18758 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
18760 - |
*:- |
*:-:* ) # input from stdin
18762 ac_file_in
=`echo "$ac_file" | sed 's,[^:]*:,,'`
18763 ac_file
=`echo "$ac_file" | sed 's,:.*,,'` ;;
18764 *:* ) ac_file_in
=`echo "$ac_file" | sed 's,[^:]*:,,'`
18765 ac_file
=`echo "$ac_file" | sed 's,:.*,,'` ;;
18766 * ) ac_file_in
=$ac_file.
in ;;
18769 test x
"$ac_file" != x-
&& { echo "$as_me:$LINENO: creating $ac_file" >&5
18770 echo "$as_me: creating $ac_file" >&6;}
18772 # First look for the input files in the build tree, otherwise in the
18774 ac_file_inputs
=`IFS=:
18775 for f in $ac_file_in; do
18777 -) echo $tmp/stdin ;;
18779 # Absolute (can't be DOS-style, as IFS=:)
18780 test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
18781 echo "$as_me: error: cannot find input file: $f" >&2;}
18782 { (exit 1); exit 1; }; }
18783 # Do quote $f, to prevent DOS paths from being IFS'd.
18786 if test -f "$f"; then
18789 elif test -f "$srcdir/$f"; then
18794 { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
18795 echo "$as_me: error: cannot find input file: $f" >&2;}
18796 { (exit 1); exit 1; }; }
18799 done` ||
{ (exit 1); exit 1; }
18800 # Remove the trailing spaces.
18801 sed 's/[ ]*$//' $ac_file_inputs >$tmp/in
18805 # Transform confdefs.h into two sed scripts, `conftest.defines' and
18806 # `conftest.undefs', that substitutes the proper values into
18807 # config.h.in to produce config.h. The first handles `#define'
18808 # templates, and the second `#undef' templates.
18809 # And first: Protect against being on the right side of a sed subst in
18810 # config.status. Protect against being in an unquoted here document
18811 # in config.status.
18812 rm -f conftest.defines conftest.undefs
18813 # Using a here document instead of a string reduces the quoting nightmare.
18814 # Putting comments in sed scripts is not portable.
18816 # `end' is used to avoid that the second main sed command (meant for
18817 # 0-ary CPP macros) applies to n-ary macro definitions.
18818 # See the Autoconf documentation for `clear'.
18819 cat >confdef2sed.
sed <<\_ACEOF
18824 s,^[ ]*#[ ]*define[ ][ ]*\([^ (][^ (]*\)\(([^)]*)\)[ ]*\(.*\)$,${ac_dA}\1${ac_dB}\1\2${ac_dC}\3${ac_dD},gp
18826 s,^[ ]*#[ ]*define[ ][ ]*\([^ ][^ ]*\)[ ]*\(.*\)$,${ac_dA}\1${ac_dB}\1${ac_dC}\2${ac_dD},gp
18829 # If some macros were called several times there might be several times
18830 # the same #defines, which is useless. Nevertheless, we may not want to
18831 # sort them, since we want the *last* AC-DEFINE to be honored.
18832 uniq confdefs.h | sed -n -f confdef2sed.sed >conftest.defines
18833 sed 's/ac_d/ac_u/g' conftest.defines >conftest.undefs
18834 rm -f confdef2sed.sed
18836 # This sed command replaces #undef with comments. This is necessary, for
18837 # example, in the case of _POSIX_SOURCE, which is predefined and required
18838 # on some systems where configure will not decide to define it.
18839 cat >>conftest.undefs <<\_ACEOF
18840 s,^[ ]*#[ ]*undef[ ][ ]*[a-zA-Z_][a-zA-Z_0-9]*,/* & */,
18843 # Break up conftest.defines because some shells have a limit on the size
18844 # of here documents, and old seds have small limits too (100 cmds).
18845 echo ' # Handle all the #define templates only if necessary.' >>$CONFIG_STATUS
18846 echo ' if grep "^[ ]*#[ ]*define" $tmp/in >/dev/null; then' >>$CONFIG_STATUS
18847 echo ' # If there are no defines, we may have an empty if/fi' >>$CONFIG_STATUS
18848 echo ' :' >>$CONFIG_STATUS
18849 rm -f conftest.tail
18850 while grep . conftest.defines >/dev/null
18852 # Write a limited-size here document to $tmp/defines.sed.
18853 echo ' cat >$tmp/defines.sed <<CEOF' >>$CONFIG_STATUS
18854 # Speed up: don't consider the non `#define' lines.
18855 echo '/^[ ]*#[ ]*define/!b' >>$CONFIG_STATUS
18856 # Work around the forget-to-reset-the-flag bug.
18857 echo 't clr' >>$CONFIG_STATUS
18858 echo ': clr' >>$CONFIG_STATUS
18859 sed ${ac_max_here_lines}q conftest.defines
>>$CONFIG_STATUS
18861 sed -f $tmp/defines.sed $tmp/in >$tmp/out
18863 mv $tmp/out $tmp/in
18865 sed 1,${ac_max_here_lines}d conftest.defines
>conftest.
tail
18866 rm -f conftest.defines
18867 mv conftest.
tail conftest.defines
18869 rm -f conftest.defines
18870 echo ' fi # grep' >>$CONFIG_STATUS
18871 echo >>$CONFIG_STATUS
18873 # Break up conftest.undefs because some shells have a limit on the size
18874 # of here documents, and old seds have small limits too (100 cmds).
18875 echo ' # Handle all the #undef templates' >>$CONFIG_STATUS
18876 rm -f conftest.
tail
18877 while grep . conftest.undefs
>/dev
/null
18879 # Write a limited-size here document to $tmp/undefs.sed.
18880 echo ' cat >$tmp/undefs.sed <<CEOF' >>$CONFIG_STATUS
18881 # Speed up: don't consider the non
`#undef'
18882 echo '/^[ ]*#[ ]*undef/!b' >>$CONFIG_STATUS
18883 # Work around the forget-to-reset-the-flag bug.
18884 echo 't clr' >>$CONFIG_STATUS
18885 echo ': clr' >>$CONFIG_STATUS
18886 sed ${ac_max_here_lines}q conftest.undefs >>$CONFIG_STATUS
18888 sed -f $tmp/undefs.sed $tmp/in >$tmp/out
18890 mv $tmp/out $tmp/in
18892 sed 1,${ac_max_here_lines}d conftest.undefs >conftest.tail
18893 rm -f conftest.undefs
18894 mv conftest.tail conftest.undefs
18896 rm -f conftest.undefs
18898 cat >>$CONFIG_STATUS <<\_ACEOF
18899 # Let's still pretend it is `configure
' which instantiates (i.e., don't
18900 # use $as_me), people would be surprised to read:
18901 # /* config.h. Generated by config.status. */
18902 if test x
"$ac_file" = x-
; then
18903 echo "/* Generated by configure. */" >$tmp/config.h
18905 echo "/* $ac_file. Generated by configure. */" >$tmp/config.h
18907 cat $tmp/in >>$tmp/config.h
18909 if test x
"$ac_file" != x-
; then
18910 if diff $ac_file $tmp/config.h
>/dev
/null
2>&1; then
18911 { echo "$as_me:$LINENO: $ac_file is unchanged" >&5
18912 echo "$as_me: $ac_file is unchanged" >&6;}
18914 ac_dir
=`(dirname "$ac_file") 2>/dev/null ||
18915 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
18916 X"$ac_file" : 'X\(//\)[^/]' \| \
18917 X"$ac_file" : 'X\(//\)$' \| \
18918 X"$ac_file" : 'X\(/\)' \| \
18919 . : '\(.\)' 2>/dev/null ||
18921 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
18922 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
18923 /^X\(\/\/\)$/{ s//\1/; q; }
18924 /^X\(\/\).*/{ s//\1/; q; }
18926 { if $as_mkdir_p; then
18931 while test ! -d "$as_dir"; do
18932 as_dirs
="$as_dir $as_dirs"
18933 as_dir
=`(dirname "$as_dir") 2>/dev/null ||
18934 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
18935 X"$as_dir" : 'X\(//\)[^/]' \| \
18936 X"$as_dir" : 'X\(//\)$' \| \
18937 X"$as_dir" : 'X\(/\)' \| \
18938 . : '\(.\)' 2>/dev/null ||
18940 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
18941 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
18942 /^X\(\/\/\)$/{ s//\1/; q; }
18943 /^X\(\/\).*/{ s//\1/; q; }
18946 test ! -n "$as_dirs" || mkdir
$as_dirs
18947 fi ||
{ { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
18948 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
18949 { (exit 1); exit 1; }; }; }
18952 mv $tmp/config.h
$ac_file
18956 rm -f $tmp/config.h
18958 # Compute $ac_file's index in $config_headers.
18960 for _am_header
in $config_headers :; do
18961 case $_am_header in
18962 $ac_file |
$ac_file:* )
18965 _am_stamp_count
=`expr $_am_stamp_count + 1` ;;
18968 echo "timestamp for $ac_file" >`(dirname $ac_file) 2>/dev/null ||
18969 $as_expr X$ac_file : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
18970 X$ac_file : 'X\(//\)[^/]' \| \
18971 X$ac_file : 'X\(//\)$' \| \
18972 X$ac_file : 'X\(/\)' \| \
18973 . : '\(.\)' 2>/dev/null ||
18975 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
18976 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
18977 /^X\(\/\/\)$/{ s//\1/; q; }
18978 /^X\(\/\).*/{ s//\1/; q; }
18979 s/.*/./; q'`/stamp-h
$_am_stamp_count
18982 cat >>$CONFIG_STATUS <<\_ACEOF
18985 # CONFIG_LINKS section.
18988 for ac_file
in : $CONFIG_LINKS; do test "x$ac_file" = x
: && continue
18989 ac_dest
=`echo "$ac_file" | sed 's,:.*,,'`
18990 ac_source
=`echo "$ac_file" | sed 's,[^:]*:,,'`
18992 { echo "$as_me:$LINENO: linking $srcdir/$ac_source to $ac_dest" >&5
18993 echo "$as_me: linking $srcdir/$ac_source to $ac_dest" >&6;}
18995 if test ! -r $srcdir/$ac_source; then
18996 { { echo "$as_me:$LINENO: error: $srcdir/$ac_source: file not found" >&5
18997 echo "$as_me: error: $srcdir/$ac_source: file not found" >&2;}
18998 { (exit 1); exit 1; }; }
19002 # Make relative symlinks.
19003 ac_dest_dir
=`(dirname "$ac_dest") 2>/dev/null ||
19004 $as_expr X"$ac_dest" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
19005 X"$ac_dest" : 'X\(//\)[^/]' \| \
19006 X"$ac_dest" : 'X\(//\)$' \| \
19007 X"$ac_dest" : '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
19016 mkdir
-p "$ac_dest_dir"
19018 as_dir
="$ac_dest_dir"
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_dest_dir\"" >&5
19037 echo "$as_me: error: cannot create directory \"$ac_dest_dir\"" >&2;}
19038 { (exit 1); exit 1; }; }; }
19042 if test "$ac_dest_dir" != .
; then
19043 ac_dir_suffix
=/`echo "$ac_dest_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_dest_dir";;
19071 case "$ac_dest_dir" in
19072 .
) ac_abs_builddir
=`pwd`;;
19073 [\\/]* | ?
:[\\/]* ) ac_abs_builddir
="$ac_dest_dir";;
19074 *) ac_abs_builddir
=`pwd`/"$ac_dest_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_rel_source
=$srcdir/$ac_source ;;
19108 *) ac_rel_source
=$ac_top_builddir$srcdir/$ac_source ;;
19111 # Try a symlink, then a hard link, then a copy.
19112 ln -s $ac_rel_source $ac_dest 2>/dev
/null ||
19113 ln $srcdir/$ac_source $ac_dest 2>/dev
/null ||
19114 cp -p $srcdir/$ac_source $ac_dest ||
19115 { { echo "$as_me:$LINENO: error: cannot link or copy $srcdir/$ac_source to $ac_dest" >&5
19116 echo "$as_me: error: cannot link or copy $srcdir/$ac_source to $ac_dest" >&2;}
19117 { (exit 1); exit 1; }; }
19120 cat >>$CONFIG_STATUS <<\_ACEOF
19123 # CONFIG_COMMANDS section.
19125 for ac_file
in : $CONFIG_COMMANDS; do test "x$ac_file" = x
: && continue
19126 ac_dest
=`echo "$ac_file" | sed 's,:.*,,'`
19127 ac_source
=`echo "$ac_file" | sed 's,[^:]*:,,'`
19128 ac_dir
=`(dirname "$ac_dest") 2>/dev/null ||
19129 $as_expr X"$ac_dest" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
19130 X"$ac_dest" : 'X\(//\)[^/]' \| \
19131 X"$ac_dest" : 'X\(//\)$' \| \
19132 X"$ac_dest" : 'X\(/\)' \| \
19133 . : '\(.\)' 2>/dev/null ||
19135 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
19136 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
19137 /^X\(\/\/\)$/{ s//\1/; q; }
19138 /^X\(\/\).*/{ s//\1/; q; }
19140 { if $as_mkdir_p; then
19145 while test ! -d "$as_dir"; do
19146 as_dirs
="$as_dir $as_dirs"
19147 as_dir
=`(dirname "$as_dir") 2>/dev/null ||
19148 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
19149 X"$as_dir" : 'X\(//\)[^/]' \| \
19150 X"$as_dir" : 'X\(//\)$' \| \
19151 X"$as_dir" : 'X\(/\)' \| \
19152 . : '\(.\)' 2>/dev/null ||
19154 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
19155 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
19156 /^X\(\/\/\)$/{ s//\1/; q; }
19157 /^X\(\/\).*/{ s//\1/; q; }
19160 test ! -n "$as_dirs" || mkdir
$as_dirs
19161 fi ||
{ { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
19162 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
19163 { (exit 1); exit 1; }; }; }
19167 if test "$ac_dir" != .
; then
19168 ac_dir_suffix
=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
19169 # A "../" for each directory in $ac_dir_suffix.
19170 ac_top_builddir
=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
19172 ac_dir_suffix
= ac_top_builddir
=
19176 .
) # No --srcdir option. We are building in place.
19178 if test -z "$ac_top_builddir"; then
19181 ac_top_srcdir
=`echo $ac_top_builddir | sed 's,/$,,'`
19183 [\\/]* | ?
:[\\/]* ) # Absolute path.
19184 ac_srcdir
=$srcdir$ac_dir_suffix;
19185 ac_top_srcdir
=$srcdir ;;
19186 *) # Relative path.
19187 ac_srcdir
=$ac_top_builddir$srcdir$ac_dir_suffix
19188 ac_top_srcdir
=$ac_top_builddir$srcdir ;;
19191 # Do not use `cd foo && pwd` to compute absolute paths, because
19192 # the directories may not exist.
19194 .
) ac_abs_builddir
="$ac_dir";;
19197 .
) ac_abs_builddir
=`pwd`;;
19198 [\\/]* | ?
:[\\/]* ) ac_abs_builddir
="$ac_dir";;
19199 *) ac_abs_builddir
=`pwd`/"$ac_dir";;
19202 case $ac_abs_builddir in
19203 .
) ac_abs_top_builddir
=${ac_top_builddir}.
;;
19205 case ${ac_top_builddir}.
in
19206 .
) ac_abs_top_builddir
=$ac_abs_builddir;;
19207 [\\/]* | ?
:[\\/]* ) ac_abs_top_builddir
=${ac_top_builddir}.
;;
19208 *) ac_abs_top_builddir
=$ac_abs_builddir/${ac_top_builddir}.
;;
19211 case $ac_abs_builddir in
19212 .
) ac_abs_srcdir
=$ac_srcdir;;
19215 .
) ac_abs_srcdir
=$ac_abs_builddir;;
19216 [\\/]* | ?
:[\\/]* ) ac_abs_srcdir
=$ac_srcdir;;
19217 *) ac_abs_srcdir
=$ac_abs_builddir/$ac_srcdir;;
19220 case $ac_abs_builddir in
19221 .
) ac_abs_top_srcdir
=$ac_top_srcdir;;
19223 case $ac_top_srcdir in
19224 .
) ac_abs_top_srcdir
=$ac_abs_builddir;;
19225 [\\/]* | ?
:[\\/]* ) ac_abs_top_srcdir
=$ac_top_srcdir;;
19226 *) ac_abs_top_srcdir
=$ac_abs_builddir/$ac_top_srcdir;;
19231 { echo "$as_me:$LINENO: executing $ac_dest commands" >&5
19232 echo "$as_me: executing $ac_dest commands" >&6;}
19234 depfiles
) test x
"$AMDEP_TRUE" != x
"" ||
for mf
in $CONFIG_FILES; do
19235 # Strip MF so we end up with the name of the file.
19236 mf
=`echo "$mf" | sed -e 's/:.*$//'`
19237 # Check whether this is an Automake generated Makefile or not.
19238 # We used to match only the files named `Makefile.in', but
19239 # some people rename them; so instead we look at the file content.
19240 # Grep'ing the first line is not enough: some people post-process
19241 # each Makefile.in and add a new line on top of each file to say so.
19242 # So let's grep whole file.
19243 if grep '^#.*generated by automake' $mf > /dev
/null
2>&1; then
19244 dirpart
=`(dirname "$mf") 2>/dev/null ||
19245 $as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
19246 X"$mf" : 'X\(//\)[^/]' \| \
19247 X"$mf" : 'X\(//\)$' \| \
19248 X"$mf" : 'X\(/\)' \| \
19249 . : '\(.\)' 2>/dev/null ||
19251 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
19252 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
19253 /^X\(\/\/\)$/{ s//\1/; q; }
19254 /^X\(\/\).*/{ s//\1/; q; }
19259 # Extract the definition of DEPDIR, am__include, and am__quote
19260 # from the Makefile without running `make'.
19261 DEPDIR
=`sed -n 's/^DEPDIR = //p' < "$mf"`
19262 test -z "$DEPDIR" && continue
19263 am__include
=`sed -n 's/^am__include = //p' < "$mf"`
19264 test -z "am__include" && continue
19265 am__quote
=`sed -n 's/^am__quote = //p' < "$mf"`
19266 # When using ansi2knr, U may be empty or an underscore; expand it
19267 U
=`sed -n 's/^U = //p' < "$mf"`
19268 # Find all dependency output files, they are included files with
19269 # $(DEPDIR) in their names. We invoke sed twice because it is the
19270 # simplest approach to changing $(DEPDIR) to its actual value in the
19272 for file in `sed -n "
19273 s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
19274 sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do
19275 # Make sure the directory exists.
19276 test -f "$dirpart/$file" && continue
19277 fdir
=`(dirname "$file") 2>/dev/null ||
19278 $as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
19279 X"$file" : 'X\(//\)[^/]' \| \
19280 X"$file" : 'X\(//\)$' \| \
19281 X"$file" : 'X\(/\)' \| \
19282 . : '\(.\)' 2>/dev/null ||
19284 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
19285 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
19286 /^X\(\/\/\)$/{ s//\1/; q; }
19287 /^X\(\/\).*/{ s//\1/; q; }
19289 { if $as_mkdir_p; then
19290 mkdir
-p $dirpart/$fdir
19292 as_dir
=$dirpart/$fdir
19294 while test ! -d "$as_dir"; do
19295 as_dirs
="$as_dir $as_dirs"
19296 as_dir
=`(dirname "$as_dir") 2>/dev/null ||
19297 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
19298 X"$as_dir" : 'X\(//\)[^/]' \| \
19299 X"$as_dir" : 'X\(//\)$' \| \
19300 X"$as_dir" : 'X\(/\)' \| \
19301 . : '\(.\)' 2>/dev/null ||
19303 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
19304 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
19305 /^X\(\/\/\)$/{ s//\1/; q; }
19306 /^X\(\/\).*/{ s//\1/; q; }
19309 test ! -n "$as_dirs" || mkdir
$as_dirs
19310 fi ||
{ { echo "$as_me:$LINENO: error: cannot create directory $dirpart/$fdir" >&5
19311 echo "$as_me: error: cannot create directory $dirpart/$fdir" >&2;}
19312 { (exit 1); exit 1; }; }; }
19314 # echo "creating $dirpart/$file"
19315 echo '# dummy' > "$dirpart/$file"
19319 mkcollections.pl
) chmod 755 lib
/mkcollections.pl
;;
19321 { echo "$as_me:$LINENO: creating $ac_stdint_h : $_ac_stdint_h" >&5
19322 echo "$as_me: creating $ac_stdint_h : $_ac_stdint_h" >&6;}
19323 ac_stdint
=$tmp/_stdint.h
19325 echo "#ifndef" $_ac_stdint_h >$ac_stdint
19326 echo "#define" $_ac_stdint_h "1" >>$ac_stdint
19327 echo "#ifndef" _GENERATED_STDINT_H
>>$ac_stdint
19328 echo "#define" _GENERATED_STDINT_H
'"'$PACKAGE $VERSION'"' >>$ac_stdint
19329 echo "/* generated $ac_cv_stdint_message */" >>$ac_stdint
19330 if test "_$ac_cv_header_stdint_t" != "_" ; then
19331 echo "#define _STDINT_HAVE_STDINT_H" "1" >>$ac_stdint
19332 echo "#include <stdint.h>" >>$ac_stdint
19333 echo "#endif" >>$ac_stdint
19334 echo "#endif" >>$ac_stdint
19337 cat >>$ac_stdint <<STDINT_EOF
19339 /* ................... shortcircuit part ........................... */
19341 #if defined HAVE_STDINT_H || defined _STDINT_HAVE_STDINT_H
19342 #include <stdint.h>
19344 #include <stddef.h>
19346 /* .................... configured part ............................ */
19350 echo "/* whether we have a C99 compatible stdint header file */" >>$ac_stdint
19351 if test "_$ac_cv_header_stdint_x" != "_" ; then
19352 ac_header
="$ac_cv_header_stdint_x"
19353 echo "#define _STDINT_HEADER_INTPTR" '"'"$ac_header"'"' >>$ac_stdint
19355 echo "/* #undef _STDINT_HEADER_INTPTR */" >>$ac_stdint
19358 echo "/* whether we have a C96 compatible inttypes header file */" >>$ac_stdint
19359 if test "_$ac_cv_header_stdint_o" != "_" ; then
19360 ac_header
="$ac_cv_header_stdint_o"
19361 echo "#define _STDINT_HEADER_UINT32" '"'"$ac_header"'"' >>$ac_stdint
19363 echo "/* #undef _STDINT_HEADER_UINT32 */" >>$ac_stdint
19366 echo "/* whether we have a BSD compatible inet types header */" >>$ac_stdint
19367 if test "_$ac_cv_header_stdint_u" != "_" ; then
19368 ac_header
="$ac_cv_header_stdint_u"
19369 echo "#define _STDINT_HEADER_U_INT32" '"'"$ac_header"'"' >>$ac_stdint
19371 echo "/* #undef _STDINT_HEADER_U_INT32 */" >>$ac_stdint
19374 echo "" >>$ac_stdint
19376 if test "_$ac_header" != "_" ; then if test "$ac_header" != "stddef.h" ; then
19377 echo "#include <$ac_header>" >>$ac_stdint
19378 echo "" >>$ac_stdint
19381 echo "/* which 64bit typedef has been found */" >>$ac_stdint
19382 if test "$ac_cv_type_uint64_t" = "yes" ; then
19383 echo "#define _STDINT_HAVE_UINT64_T" "1" >>$ac_stdint
19385 echo "/* #undef _STDINT_HAVE_UINT64_T */" >>$ac_stdint
19387 if test "$ac_cv_type_u_int64_t" = "yes" ; then
19388 echo "#define _STDINT_HAVE_U_INT64_T" "1" >>$ac_stdint
19390 echo "/* #undef _STDINT_HAVE_U_INT64_T */" >>$ac_stdint
19392 echo "" >>$ac_stdint
19394 echo "/* which type model has been detected */" >>$ac_stdint
19395 if test "_$ac_cv_char_data_model" != "_" ; then
19396 echo "#define _STDINT_CHAR_MODEL" "$ac_cv_char_data_model" >>$ac_stdint
19397 echo "#define _STDINT_LONG_MODEL" "$ac_cv_long_data_model" >>$ac_stdint
19399 echo "/* #undef _STDINT_CHAR_MODEL // skipped */" >>$ac_stdint
19400 echo "/* #undef _STDINT_LONG_MODEL // skipped */" >>$ac_stdint
19402 echo "" >>$ac_stdint
19404 echo "/* whether int_least types were detected */" >>$ac_stdint
19405 if test "$ac_cv_type_int_least32_t" = "yes"; then
19406 echo "#define _STDINT_HAVE_INT_LEAST32_T" "1" >>$ac_stdint
19408 echo "/* #undef _STDINT_HAVE_INT_LEAST32_T */" >>$ac_stdint
19410 echo "/* whether int_fast types were detected */" >>$ac_stdint
19411 if test "$ac_cv_type_int_fast32_t" = "yes"; then
19412 echo "#define _STDINT_HAVE_INT_FAST32_T" "1" >>$ac_stdint
19414 echo "/* #undef _STDINT_HAVE_INT_FAST32_T */" >>$ac_stdint
19416 echo "/* whether intmax_t type was detected */" >>$ac_stdint
19417 if test "$ac_cv_type_intmax_t" = "yes"; then
19418 echo "#define _STDINT_HAVE_INTMAX_T" "1" >>$ac_stdint
19420 echo "/* #undef _STDINT_HAVE_INTMAX_T */" >>$ac_stdint
19422 echo "" >>$ac_stdint
19424 cat >>$ac_stdint <<STDINT_EOF
19425 /* .................... detections part ............................ */
19427 /* whether we need to define bitspecific types from compiler base types */
19428 #ifndef _STDINT_HEADER_INTPTR
19429 #ifndef _STDINT_HEADER_UINT32
19430 #ifndef _STDINT_HEADER_U_INT32
19431 #define _STDINT_NEED_INT_MODEL_T
19433 #define _STDINT_HAVE_U_INT_TYPES
19438 #ifdef _STDINT_HAVE_U_INT_TYPES
19439 #undef _STDINT_NEED_INT_MODEL_T
19442 #ifdef _STDINT_CHAR_MODEL
19443 #if _STDINT_CHAR_MODEL+0 == 122 || _STDINT_CHAR_MODEL+0 == 124
19444 #ifndef _STDINT_BYTE_MODEL
19445 #define _STDINT_BYTE_MODEL 12
19450 #ifndef _STDINT_HAVE_INT_LEAST32_T
19451 #define _STDINT_NEED_INT_LEAST_T
19454 #ifndef _STDINT_HAVE_INT_FAST32_T
19455 #define _STDINT_NEED_INT_FAST_T
19458 #ifndef _STDINT_HEADER_INTPTR
19459 #define _STDINT_NEED_INTPTR_T
19460 #ifndef _STDINT_HAVE_INTMAX_T
19461 #define _STDINT_NEED_INTMAX_T
19466 /* .................... definition part ............................ */
19468 /* some system headers have good uint64_t */
19469 #ifndef _HAVE_UINT64_T
19470 #if defined _STDINT_HAVE_UINT64_T || defined HAVE_UINT64_T
19471 #define _HAVE_UINT64_T
19472 #elif defined _STDINT_HAVE_U_INT64_T || defined HAVE_U_INT64_T
19473 #define _HAVE_UINT64_T
19474 typedef u_int64_t uint64_t;
19478 #ifndef _HAVE_UINT64_T
19479 /* .. here are some common heuristics using compiler runtime specifics */
19480 #if defined __STDC_VERSION__ && defined __STDC_VERSION__ >= 199901L
19481 #define _HAVE_UINT64_T
19482 #define _HAVE_LONGLONG_UINT64_T
19483 typedef long long int64_t;
19484 typedef unsigned long long uint64_t;
19486 #elif !defined __STRICT_ANSI__
19487 #if defined _MSC_VER || defined __WATCOMC__ || defined __BORLANDC__
19488 #define _HAVE_UINT64_T
19489 typedef __int64 int64_t;
19490 typedef unsigned __int64 uint64_t;
19492 #elif defined __GNUC__ || defined __MWERKS__ || defined __ELF__
19493 /* note: all ELF-systems seem to have loff-support which needs 64-bit */
19494 #if !defined _NO_LONGLONG
19495 #define _HAVE_UINT64_T
19496 #define _HAVE_LONGLONG_UINT64_T
19497 typedef long long int64_t;
19498 typedef unsigned long long uint64_t;
19501 #elif defined __alpha || (defined __mips && defined _ABIN32)
19502 #if !defined _NO_LONGLONG
19503 typedef long int64_t;
19504 typedef unsigned long uint64_t;
19506 /* compiler/cpu type to define int64_t */
19511 #if defined _STDINT_HAVE_U_INT_TYPES
19512 /* int8_t int16_t int32_t defined by inet code, redeclare the u_intXX types */
19513 typedef u_int8_t uint8_t;
19514 typedef u_int16_t uint16_t;
19515 typedef u_int32_t uint32_t;
19517 /* glibc compatibility */
19518 #ifndef __int8_t_defined
19519 #define __int8_t_defined
19523 #ifdef _STDINT_NEED_INT_MODEL_T
19524 /* we must guess all the basic types. Apart from byte-adressable system, */
19525 /* there a few 32-bit-only dsp-systems that we guard with BYTE_MODEL 8-} */
19526 /* (btw, those nibble-addressable systems are way off, or so we assume) */
19529 #if defined _STDINT_BYTE_MODEL
19530 #if _STDINT_LONG_MODEL+0 == 242
19531 /* 2:4:2 = IP16 = a normal 16-bit system */
19532 typedef unsigned char uint8_t;
19533 typedef unsigned short uint16_t;
19534 typedef unsigned long uint32_t;
19535 #ifndef __int8_t_defined
19536 #define __int8_t_defined
19537 typedef char int8_t;
19538 typedef short int16_t;
19539 typedef long int32_t;
19541 #elif _STDINT_LONG_MODEL+0 == 244 || _STDINT_LONG_MODEL == 444
19542 /* 2:4:4 = LP32 = a 32-bit system derived from a 16-bit */
19543 /* 4:4:4 = ILP32 = a normal 32-bit system */
19544 typedef unsigned char uint8_t;
19545 typedef unsigned short uint16_t;
19546 typedef unsigned int uint32_t;
19547 #ifndef __int8_t_defined
19548 #define __int8_t_defined
19549 typedef char int8_t;
19550 typedef short int16_t;
19551 typedef int int32_t;
19553 #elif _STDINT_LONG_MODEL+0 == 484 || _STDINT_LONG_MODEL+0 == 488
19554 /* 4:8:4 = IP32 = a 32-bit system prepared for 64-bit */
19555 /* 4:8:8 = LP64 = a normal 64-bit system */
19556 typedef unsigned char uint8_t;
19557 typedef unsigned short uint16_t;
19558 typedef unsigned int uint32_t;
19559 #ifndef __int8_t_defined
19560 #define __int8_t_defined
19561 typedef char int8_t;
19562 typedef short int16_t;
19563 typedef int int32_t;
19565 /* this system has a "long" of 64bit */
19566 #ifndef _HAVE_UINT64_T
19567 #define _HAVE_UINT64_T
19568 typedef unsigned long uint64_t;
19569 typedef long int64_t;
19571 #elif _STDINT_LONG_MODEL+0 == 448
19572 /* LLP64 a 64-bit system derived from a 32-bit system */
19573 typedef unsigned char uint8_t;
19574 typedef unsigned short uint16_t;
19575 typedef unsigned int uint32_t;
19576 #ifndef __int8_t_defined
19577 #define __int8_t_defined
19578 typedef char int8_t;
19579 typedef short int16_t;
19580 typedef int int32_t;
19582 /* assuming the system has a "long long" */
19583 #ifndef _HAVE_UINT64_T
19584 #define _HAVE_UINT64_T
19585 #define _HAVE_LONGLONG_UINT64_T
19586 typedef unsigned long long uint64_t;
19587 typedef long long int64_t;
19590 #define _STDINT_NO_INT32_T
19593 #define _STDINT_NO_INT8_T
19594 #define _STDINT_NO_INT32_T
19599 * quote from SunOS-5.8 sys/inttypes.h:
19600 * Use at your own risk. As of February 1996, the committee is squarely
19601 * behind the fixed sized types; the "least" and "fast" types are still being
19602 * discussed. The probability that the "fast" types may be removed before
19603 * the standard is finalized is high enough that they are not currently
19607 #if defined _STDINT_NEED_INT_LEAST_T
19608 typedef int8_t int_least8_t;
19609 typedef int16_t int_least16_t;
19610 typedef int32_t int_least32_t;
19611 #ifdef _HAVE_UINT64_T
19612 typedef int64_t int_least64_t;
19615 typedef uint8_t uint_least8_t;
19616 typedef uint16_t uint_least16_t;
19617 typedef uint32_t uint_least32_t;
19618 #ifdef _HAVE_UINT64_T
19619 typedef uint64_t uint_least64_t;
19624 #if defined _STDINT_NEED_INT_FAST_T
19625 typedef int8_t int_fast8_t;
19626 typedef int int_fast16_t;
19627 typedef int32_t int_fast32_t;
19628 #ifdef _HAVE_UINT64_T
19629 typedef int64_t int_fast64_t;
19632 typedef uint8_t uint_fast8_t;
19633 typedef unsigned uint_fast16_t;
19634 typedef uint32_t uint_fast32_t;
19635 #ifdef _HAVE_UINT64_T
19636 typedef uint64_t uint_fast64_t;
19641 #ifdef _STDINT_NEED_INTMAX_T
19642 #ifdef _HAVE_UINT64_T
19643 typedef int64_t intmax_t;
19644 typedef uint64_t uintmax_t;
19646 typedef long intmax_t;
19647 typedef unsigned long uintmax_t;
19651 #ifdef _STDINT_NEED_INTPTR_T
19652 #ifndef __intptr_t_defined
19653 #define __intptr_t_defined
19654 /* we encourage using "long" to store pointer values, never use "int" ! */
19655 #if _STDINT_LONG_MODEL+0 == 242 || _STDINT_LONG_MODEL+0 == 484
19656 typedef unsigned int uintptr_t;
19657 typedef int intptr_t;
19658 #elif _STDINT_LONG_MODEL+0 == 244 || _STDINT_LONG_MODEL+0 == 444
19659 typedef unsigned long uintptr_t;
19660 typedef long intptr_t;
19661 #elif _STDINT_LONG_MODEL+0 == 448 && defined _HAVE_UINT64_T
19662 typedef uint64_t uintptr_t;
19663 typedef int64_t intptr_t;
19664 #else /* matches typical system types ILP32 and LP64 - but not IP16 or LLP64 */
19665 typedef unsigned long uintptr_t;
19666 typedef long intptr_t;
19671 /* The ISO C99 standard specifies that in C++ implementations these
19672 should only be defined if explicitly requested. */
19673 #if !defined __cplusplus || defined __STDC_CONSTANT_MACROS
19677 # define INT8_C(c) c
19678 # define INT16_C(c) c
19679 # define INT32_C(c) c
19680 # ifdef _HAVE_LONGLONG_UINT64_T
19681 # define INT64_C(c) c ## L
19683 # define INT64_C(c) c ## LL
19687 # define UINT8_C(c) c ## U
19688 # define UINT16_C(c) c ## U
19689 # define UINT32_C(c) c ## U
19690 # ifdef _HAVE_LONGLONG_UINT64_T
19691 # define UINT64_C(c) c ## UL
19693 # define UINT64_C(c) c ## ULL
19696 /* Maximal type. */
19697 # ifdef _HAVE_LONGLONG_UINT64_T
19698 # define INTMAX_C(c) c ## L
19699 # define UINTMAX_C(c) c ## UL
19701 # define INTMAX_C(c) c ## LL
19702 # define UINTMAX_C(c) c ## ULL
19705 /* literalnumbers */
19709 /* These limits are merily those of a two complement byte-oriented system */
19711 /* Minimum of signed integral types. */
19712 # define INT8_MIN (-128)
19713 # define INT16_MIN (-32767-1)
19714 # define INT32_MIN (-2147483647-1)
19715 # define INT64_MIN (-__INT64_C(9223372036854775807)-1)
19716 /* Maximum of signed integral types. */
19717 # define INT8_MAX (127)
19718 # define INT16_MAX (32767)
19719 # define INT32_MAX (2147483647)
19720 # define INT64_MAX (__INT64_C(9223372036854775807))
19722 /* Maximum of unsigned integral types. */
19723 # define UINT8_MAX (255)
19724 # define UINT16_MAX (65535)
19725 # define UINT32_MAX (4294967295U)
19726 # define UINT64_MAX (__UINT64_C(18446744073709551615))
19728 /* Minimum of signed integral types having a minimum size. */
19729 # define INT_LEAST8_MIN INT8_MIN
19730 # define INT_LEAST16_MIN INT16_MIN
19731 # define INT_LEAST32_MIN INT32_MIN
19732 # define INT_LEAST64_MIN INT64_MIN
19733 /* Maximum of signed integral types having a minimum size. */
19734 # define INT_LEAST8_MAX INT8_MAX
19735 # define INT_LEAST16_MAX INT16_MAX
19736 # define INT_LEAST32_MAX INT32_MAX
19737 # define INT_LEAST64_MAX INT64_MAX
19739 /* Maximum of unsigned integral types having a minimum size. */
19740 # define UINT_LEAST8_MAX UINT8_MAX
19741 # define UINT_LEAST16_MAX UINT16_MAX
19742 # define UINT_LEAST32_MAX UINT32_MAX
19743 # define UINT_LEAST64_MAX UINT64_MAX
19752 if cmp -s $ac_stdint_h $ac_stdint 2>/dev
/null
; then
19753 { echo "$as_me:$LINENO: $ac_stdint_h is unchanged" >&5
19754 echo "$as_me: $ac_stdint_h is unchanged" >&6;}
19756 ac_dir
=`(dirname "$ac_stdint_h") 2>/dev/null ||
19757 $as_expr X"$ac_stdint_h" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
19758 X"$ac_stdint_h" : 'X\(//\)[^/]' \| \
19759 X"$ac_stdint_h" : 'X\(//\)$' \| \
19760 X"$ac_stdint_h" : 'X\(/\)' \| \
19761 . : '\(.\)' 2>/dev/null ||
19762 echo X"$ac_stdint_h" |
19763 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
19764 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
19765 /^X\(\/\/\)$/{ s//\1/; q; }
19766 /^X\(\/\).*/{ s//\1/; q; }
19768 { if $as_mkdir_p; then
19773 while test ! -d "$as_dir"; do
19774 as_dirs
="$as_dir $as_dirs"
19775 as_dir
=`(dirname "$as_dir") 2>/dev/null ||
19776 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
19777 X"$as_dir" : 'X\(//\)[^/]' \| \
19778 X"$as_dir" : 'X\(//\)$' \| \
19779 X"$as_dir" : 'X\(/\)' \| \
19780 . : '\(.\)' 2>/dev/null ||
19782 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
19783 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
19784 /^X\(\/\/\)$/{ s//\1/; q; }
19785 /^X\(\/\).*/{ s//\1/; q; }
19788 test ! -n "$as_dirs" || mkdir
$as_dirs
19789 fi ||
{ { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
19790 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
19791 { (exit 1); exit 1; }; }; }
19794 mv $ac_stdint $ac_stdint_h
19797 gen-classlist
) chmod 755 lib
/gen-classlist.sh
;;
19798 copy-vmresources
) chmod 755 lib
/copy-vmresources.sh
;;
19803 cat >>$CONFIG_STATUS <<\_ACEOF
19805 { (exit 0); exit 0; }
19807 chmod +x
$CONFIG_STATUS
19808 ac_clean_files
=$ac_clean_files_save
19811 # configure is writing to config.log, and then calls config.status.
19812 # config.status does its own redirection, appending to config.log.
19813 # Unfortunately, on DOS this fails, as config.log is still kept open
19814 # by configure, so config.status won't be able to write to it; its
19815 # output is simply discarded. So we exec the FD to /dev/null,
19816 # effectively closing config.log, so it can be properly (re)opened and
19817 # appended to by config.status. When coming back to configure, we
19818 # need to make the FD available again.
19819 if test "$no_create" != yes; then
19821 ac_config_status_args
=
19822 test "$silent" = yes &&
19823 ac_config_status_args
="$ac_config_status_args --quiet"
19825 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success
=false
19827 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
19828 # would make configure fail if this is the last instruction.
19829 $ac_cs_success ||
{ (exit 1); exit 1; }