2 # Guess values for system-dependent variables and create Makefiles.
3 # Generated by GNU Autoconf 2.59 for GNU Classpath 0.18.
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.18'
273 PACKAGE_STRING
='GNU Classpath 0.18'
274 PACKAGE_BUGREPORT
='classpath@gnu.org'
276 ac_unique_file
="java/lang/System.java"
277 ac_default_prefix
=/usr
/local
/classpath
278 # Factoring default headers for most tests.
279 ac_includes_default
="\
282 # include <sys/types.h>
285 # include <sys/stat.h>
296 # if !STDC_HEADERS && HAVE_MEMORY_H
302 # include <strings.h>
305 # include <inttypes.h>
315 ac_subst_vars
='SHELL PATH_SEPARATOR PACKAGE_NAME PACKAGE_TARNAME PACKAGE_VERSION PACKAGE_STRING PACKAGE_BUGREPORT exec_prefix prefix program_transform_name bindir sbindir libexecdir datadir sysconfdir sharedstatedir localstatedir libdir includedir oldincludedir infodir mandir build_alias host_alias target_alias DEFS ECHO_C ECHO_N ECHO_T LIBS build build_cpu build_vendor build_os host host_cpu host_vendor host_os target target_cpu target_vendor target_os LIBVERSION CLASSPATH_MODULE INSTALL_PROGRAM INSTALL_SCRIPT INSTALL_DATA CYGPATH_W PACKAGE VERSION ACLOCAL AUTOCONF AUTOMAKE AUTOHEADER MAKEINFO install_sh STRIP ac_ct_STRIP INSTALL_STRIP_PROGRAM mkdir_p AWK SET_MAKE am__leading_dot AMTAR am__tar am__untar CREATE_JNI_LIBRARIES_TRUE CREATE_JNI_LIBRARIES_FALSE CREATE_CORE_JNI_LIBRARIES_TRUE CREATE_CORE_JNI_LIBRARIES_FALSE default_toolkit CREATE_XMLJ_LIBRARY_TRUE CREATE_XMLJ_LIBRARY_FALSE CREATE_GTK_PEER_LIBRARIES_TRUE CREATE_GTK_PEER_LIBRARIES_FALSE GTK_CAIRO_ENABLED GTK_CAIRO_TRUE GTK_CAIRO_FALSE CREATE_QT_PEER_LIBRARIES_TRUE CREATE_QT_PEER_LIBRARIES_FALSE CREATE_JNI_HEADERS_TRUE CREATE_JNI_HEADERS_FALSE LN_S CC CFLAGS LDFLAGS CPPFLAGS ac_ct_CC EXEEXT OBJEXT DEPDIR am__include am__quote AMDEP_TRUE AMDEP_FALSE AMDEPBACKSLASH CCDEPMODE am__fastdepCC_TRUE am__fastdepCC_FALSE RANLIB ac_ct_RANLIB LIBTOOL CPP CXX CXXFLAGS ac_ct_CXX CXXDEPMODE am__fastdepCXX_TRUE am__fastdepCXX_FALSE CXXCPP EGREP LIBICONV LTLIBICONV WARNING_CFLAGS STRICT_WARNING_CFLAGS ERROR_CFLAGS PKG_CONFIG XML_CFLAGS XML_LIBS XSLT_CFLAGS XSLT_LIBS X_CFLAGS X_PRE_LIBS X_LIBS X_EXTRA_LIBS GTK_CFLAGS GTK_LIBS QT_CFLAGS QT_LIBS MOC CAIRO_CFLAGS CAIRO_LIBS PANGOFT2_CFLAGS PANGOFT2_LIBS USER_JAVAH USER_SPECIFIED_JAVAH_TRUE USER_SPECIFIED_JAVAH_FALSE CLASSPATH_INCLUDES GCJ JIKES JIKESENCODING KJC GCJX ECJ FOUND_GCJ_TRUE FOUND_GCJ_FALSE FOUND_JIKES_TRUE FOUND_JIKES_FALSE FOUND_ECJ_TRUE FOUND_ECJ_FALSE FOUND_KJC_TRUE FOUND_KJC_FALSE FOUND_GCJX_TRUE FOUND_GCJX_FALSE USER_CLASSLIB USER_SPECIFIED_CLASSLIB_TRUE USER_SPECIFIED_CLASSLIB_FALSE vm_classes MAINTAINER_MODE_TRUE MAINTAINER_MODE_FALSE MAINT LIBDEBUG INIT_LOAD_LIBRARY JAVA_LANG_SYSTEM_EXPLICIT_INITIALIZATION REMOVE MKDIR CP DATE FIND ZIP INSTALL_GLIBJ_ZIP_TRUE INSTALL_GLIBJ_ZIP_FALSE INSTALL_CLASS_FILES_TRUE INSTALL_CLASS_FILES_FALSE BUILD_CLASS_FILES_TRUE BUILD_CLASS_FILES_FALSE EXAMPLESDIR GJDOC CREATE_API_DOCS_TRUE CREATE_API_DOCS_FALSE JAY JAY_SKELETON REGEN_PARSERS_TRUE REGEN_PARSERS_FALSE LIBOBJS LTLIBOBJS'
318 # Initialize some variables set by options.
320 ac_init_version
=false
321 # The variables have the same names as the options, with
322 # dashes changed to underlines.
330 program_transform_name
=s
,x
,x
,
338 # Installation directory options.
339 # These are left unexpanded so users can "make install exec_prefix=/foo"
340 # and all the variables that are supposed to be based on exec_prefix
341 # by default will actually change.
342 # Use braces instead of parens because sh, perl, etc. also accept them.
343 bindir
='${exec_prefix}/bin'
344 sbindir
='${exec_prefix}/sbin'
345 libexecdir
='${exec_prefix}/libexec'
346 datadir
='${prefix}/share'
347 sysconfdir
='${prefix}/etc'
348 sharedstatedir
='${prefix}/com'
349 localstatedir
='${prefix}/var'
350 libdir
='${exec_prefix}/lib'
351 includedir
='${prefix}/include'
352 oldincludedir
='/usr/include'
353 infodir
='${prefix}/info'
354 mandir
='${prefix}/man'
359 # If the previous option needs an argument, assign it.
360 if test -n "$ac_prev"; then
361 eval "$ac_prev=\$ac_option"
366 ac_optarg
=`expr "x$ac_option" : 'x[^=]*=\(.*\)'`
368 # Accept the important Cygnus configure options, so we can diagnose typos.
372 -bindir |
--bindir |
--bindi |
--bind |
--bin |
--bi)
374 -bindir=* |
--bindir=* |
--bindi=* |
--bind=* |
--bin=* |
--bi=*)
377 -build |
--build |
--buil |
--bui |
--bu)
378 ac_prev
=build_alias
;;
379 -build=* |
--build=* |
--buil=* |
--bui=* |
--bu=*)
380 build_alias
=$ac_optarg ;;
382 -cache-file |
--cache-file |
--cache-fil |
--cache-fi \
383 |
--cache-f |
--cache- |
--cache |
--cach |
--cac |
--ca |
--c)
384 ac_prev
=cache_file
;;
385 -cache-file=* |
--cache-file=* |
--cache-fil=* |
--cache-fi=* \
386 |
--cache-f=* |
--cache-=* |
--cache=* |
--cach=* |
--cac=* |
--ca=* |
--c=*)
387 cache_file
=$ac_optarg ;;
390 cache_file
=config.cache
;;
392 -datadir |
--datadir |
--datadi |
--datad |
--data |
--dat |
--da)
394 -datadir=* |
--datadir=* |
--datadi=* |
--datad=* |
--data=* |
--dat=* \
396 datadir
=$ac_optarg ;;
398 -disable-* |
--disable-*)
399 ac_feature
=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
400 # Reject names that are not valid shell variable names.
401 expr "x$ac_feature" : ".*[^-_$as_cr_alnum]" >/dev
/null
&&
402 { echo "$as_me: error: invalid feature name: $ac_feature" >&2
403 { (exit 1); exit 1; }; }
404 ac_feature
=`echo $ac_feature | sed 's/-/_/g'`
405 eval "enable_$ac_feature=no" ;;
407 -enable-* |
--enable-*)
408 ac_feature
=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
409 # Reject names that are not valid shell variable names.
410 expr "x$ac_feature" : ".*[^-_$as_cr_alnum]" >/dev
/null
&&
411 { echo "$as_me: error: invalid feature name: $ac_feature" >&2
412 { (exit 1); exit 1; }; }
413 ac_feature
=`echo $ac_feature | sed 's/-/_/g'`
415 *=*) ac_optarg
=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`;;
418 eval "enable_$ac_feature='$ac_optarg'" ;;
420 -exec-prefix |
--exec_prefix |
--exec-prefix |
--exec-prefi \
421 |
--exec-pref |
--exec-pre |
--exec-pr |
--exec-p |
--exec- \
422 |
--exec |
--exe |
--ex)
423 ac_prev
=exec_prefix
;;
424 -exec-prefix=* |
--exec_prefix=* |
--exec-prefix=* |
--exec-prefi=* \
425 |
--exec-pref=* |
--exec-pre=* |
--exec-pr=* |
--exec-p=* |
--exec-=* \
426 |
--exec=* |
--exe=* |
--ex=*)
427 exec_prefix
=$ac_optarg ;;
429 -gas |
--gas |
--ga |
--g)
430 # Obsolete; use --with-gas.
433 -help |
--help |
--hel |
--he |
-h)
435 -help=r
* |
--help=r
* |
--hel=r
* |
--he=r
* |
-hr*)
436 ac_init_help
=recursive
;;
437 -help=s
* |
--help=s
* |
--hel=s
* |
--he=s
* |
-hs*)
438 ac_init_help
=short
;;
440 -host |
--host |
--hos |
--ho)
441 ac_prev
=host_alias
;;
442 -host=* |
--host=* |
--hos=* |
--ho=*)
443 host_alias
=$ac_optarg ;;
445 -includedir |
--includedir |
--includedi |
--included |
--include \
446 |
--includ |
--inclu |
--incl |
--inc)
447 ac_prev
=includedir
;;
448 -includedir=* |
--includedir=* |
--includedi=* |
--included=* |
--include=* \
449 |
--includ=* |
--inclu=* |
--incl=* |
--inc=*)
450 includedir
=$ac_optarg ;;
452 -infodir |
--infodir |
--infodi |
--infod |
--info |
--inf)
454 -infodir=* |
--infodir=* |
--infodi=* |
--infod=* |
--info=* |
--inf=*)
455 infodir
=$ac_optarg ;;
457 -libdir |
--libdir |
--libdi |
--libd)
459 -libdir=* |
--libdir=* |
--libdi=* |
--libd=*)
462 -libexecdir |
--libexecdir |
--libexecdi |
--libexecd |
--libexec \
463 |
--libexe |
--libex |
--libe)
464 ac_prev
=libexecdir
;;
465 -libexecdir=* |
--libexecdir=* |
--libexecdi=* |
--libexecd=* |
--libexec=* \
466 |
--libexe=* |
--libex=* |
--libe=*)
467 libexecdir
=$ac_optarg ;;
469 -localstatedir |
--localstatedir |
--localstatedi |
--localstated \
470 |
--localstate |
--localstat |
--localsta |
--localst \
471 |
--locals |
--local |
--loca |
--loc |
--lo)
472 ac_prev
=localstatedir
;;
473 -localstatedir=* |
--localstatedir=* |
--localstatedi=* |
--localstated=* \
474 |
--localstate=* |
--localstat=* |
--localsta=* |
--localst=* \
475 |
--locals=* |
--local=* |
--loca=* |
--loc=* |
--lo=*)
476 localstatedir
=$ac_optarg ;;
478 -mandir |
--mandir |
--mandi |
--mand |
--man |
--ma |
--m)
480 -mandir=* |
--mandir=* |
--mandi=* |
--mand=* |
--man=* |
--ma=* |
--m=*)
484 # Obsolete; use --without-fp.
487 -no-create |
--no-create |
--no-creat |
--no-crea |
--no-cre \
488 |
--no-cr |
--no-c |
-n)
491 -no-recursion |
--no-recursion |
--no-recursio |
--no-recursi \
492 |
--no-recurs |
--no-recur |
--no-recu |
--no-rec |
--no-re |
--no-r)
495 -oldincludedir |
--oldincludedir |
--oldincludedi |
--oldincluded \
496 |
--oldinclude |
--oldinclud |
--oldinclu |
--oldincl |
--oldinc \
497 |
--oldin |
--oldi |
--old |
--ol |
--o)
498 ac_prev
=oldincludedir
;;
499 -oldincludedir=* |
--oldincludedir=* |
--oldincludedi=* |
--oldincluded=* \
500 |
--oldinclude=* |
--oldinclud=* |
--oldinclu=* |
--oldincl=* |
--oldinc=* \
501 |
--oldin=* |
--oldi=* |
--old=* |
--ol=* |
--o=*)
502 oldincludedir
=$ac_optarg ;;
504 -prefix |
--prefix |
--prefi |
--pref |
--pre |
--pr |
--p)
506 -prefix=* |
--prefix=* |
--prefi=* |
--pref=* |
--pre=* |
--pr=* |
--p=*)
509 -program-prefix |
--program-prefix |
--program-prefi |
--program-pref \
510 |
--program-pre |
--program-pr |
--program-p)
511 ac_prev
=program_prefix
;;
512 -program-prefix=* |
--program-prefix=* |
--program-prefi=* \
513 |
--program-pref=* |
--program-pre=* |
--program-pr=* |
--program-p=*)
514 program_prefix
=$ac_optarg ;;
516 -program-suffix |
--program-suffix |
--program-suffi |
--program-suff \
517 |
--program-suf |
--program-su |
--program-s)
518 ac_prev
=program_suffix
;;
519 -program-suffix=* |
--program-suffix=* |
--program-suffi=* \
520 |
--program-suff=* |
--program-suf=* |
--program-su=* |
--program-s=*)
521 program_suffix
=$ac_optarg ;;
523 -program-transform-name |
--program-transform-name \
524 |
--program-transform-nam |
--program-transform-na \
525 |
--program-transform-n |
--program-transform- \
526 |
--program-transform |
--program-transfor \
527 |
--program-transfo |
--program-transf \
528 |
--program-trans |
--program-tran \
529 |
--progr-tra |
--program-tr |
--program-t)
530 ac_prev
=program_transform_name
;;
531 -program-transform-name=* |
--program-transform-name=* \
532 |
--program-transform-nam=* |
--program-transform-na=* \
533 |
--program-transform-n=* |
--program-transform-=* \
534 |
--program-transform=* |
--program-transfor=* \
535 |
--program-transfo=* |
--program-transf=* \
536 |
--program-trans=* |
--program-tran=* \
537 |
--progr-tra=* |
--program-tr=* |
--program-t=*)
538 program_transform_name
=$ac_optarg ;;
540 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
541 |
-silent |
--silent |
--silen |
--sile |
--sil)
544 -sbindir |
--sbindir |
--sbindi |
--sbind |
--sbin |
--sbi |
--sb)
546 -sbindir=* |
--sbindir=* |
--sbindi=* |
--sbind=* |
--sbin=* \
548 sbindir
=$ac_optarg ;;
550 -sharedstatedir |
--sharedstatedir |
--sharedstatedi \
551 |
--sharedstated |
--sharedstate |
--sharedstat |
--sharedsta \
552 |
--sharedst |
--shareds |
--shared |
--share |
--shar \
554 ac_prev
=sharedstatedir
;;
555 -sharedstatedir=* |
--sharedstatedir=* |
--sharedstatedi=* \
556 |
--sharedstated=* |
--sharedstate=* |
--sharedstat=* |
--sharedsta=* \
557 |
--sharedst=* |
--shareds=* |
--shared=* |
--share=* |
--shar=* \
559 sharedstatedir
=$ac_optarg ;;
561 -site |
--site |
--sit)
563 -site=* |
--site=* |
--sit=*)
566 -srcdir |
--srcdir |
--srcdi |
--srcd |
--src |
--sr)
568 -srcdir=* |
--srcdir=* |
--srcdi=* |
--srcd=* |
--src=* |
--sr=*)
571 -sysconfdir |
--sysconfdir |
--sysconfdi |
--sysconfd |
--sysconf \
572 |
--syscon |
--sysco |
--sysc |
--sys |
--sy)
573 ac_prev
=sysconfdir
;;
574 -sysconfdir=* |
--sysconfdir=* |
--sysconfdi=* |
--sysconfd=* |
--sysconf=* \
575 |
--syscon=* |
--sysco=* |
--sysc=* |
--sys=* |
--sy=*)
576 sysconfdir
=$ac_optarg ;;
578 -target |
--target |
--targe |
--targ |
--tar |
--ta |
--t)
579 ac_prev
=target_alias
;;
580 -target=* |
--target=* |
--targe=* |
--targ=* |
--tar=* |
--ta=* |
--t=*)
581 target_alias
=$ac_optarg ;;
583 -v |
-verbose |
--verbose |
--verbos |
--verbo |
--verb)
586 -version |
--version |
--versio |
--versi |
--vers |
-V)
590 ac_package
=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
591 # Reject names that are not valid shell variable names.
592 expr "x$ac_package" : ".*[^-_$as_cr_alnum]" >/dev
/null
&&
593 { echo "$as_me: error: invalid package name: $ac_package" >&2
594 { (exit 1); exit 1; }; }
595 ac_package
=`echo $ac_package| sed 's/-/_/g'`
597 *=*) ac_optarg
=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`;;
600 eval "with_$ac_package='$ac_optarg'" ;;
602 -without-* |
--without-*)
603 ac_package
=`expr "x$ac_option" : 'x-*without-\(.*\)'`
604 # Reject names that are not valid shell variable names.
605 expr "x$ac_package" : ".*[^-_$as_cr_alnum]" >/dev
/null
&&
606 { echo "$as_me: error: invalid package name: $ac_package" >&2
607 { (exit 1); exit 1; }; }
608 ac_package
=`echo $ac_package | sed 's/-/_/g'`
609 eval "with_$ac_package=no" ;;
612 # Obsolete; use --with-x.
615 -x-includes |
--x-includes |
--x-include |
--x-includ |
--x-inclu \
616 |
--x-incl |
--x-inc |
--x-in |
--x-i)
617 ac_prev
=x_includes
;;
618 -x-includes=* |
--x-includes=* |
--x-include=* |
--x-includ=* |
--x-inclu=* \
619 |
--x-incl=* |
--x-inc=* |
--x-in=* |
--x-i=*)
620 x_includes
=$ac_optarg ;;
622 -x-libraries |
--x-libraries |
--x-librarie |
--x-librari \
623 |
--x-librar |
--x-libra |
--x-libr |
--x-lib |
--x-li |
--x-l)
624 ac_prev
=x_libraries
;;
625 -x-libraries=* |
--x-libraries=* |
--x-librarie=* |
--x-librari=* \
626 |
--x-librar=* |
--x-libra=* |
--x-libr=* |
--x-lib=* |
--x-li=* |
--x-l=*)
627 x_libraries
=$ac_optarg ;;
629 -*) { echo "$as_me: error: unrecognized option: $ac_option
630 Try \`$0 --help' for more information." >&2
631 { (exit 1); exit 1; }; }
635 ac_envvar
=`expr "x$ac_option" : 'x\([^=]*\)='`
636 # Reject names that are not valid shell variable names.
637 expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev
/null
&&
638 { echo "$as_me: error: invalid variable name: $ac_envvar" >&2
639 { (exit 1); exit 1; }; }
640 ac_optarg
=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`
641 eval "$ac_envvar='$ac_optarg'"
645 # FIXME: should be removed in autoconf 3.0.
646 echo "$as_me: WARNING: you should use --build, --host, --target" >&2
647 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev
/null
&&
648 echo "$as_me: WARNING: invalid host type: $ac_option" >&2
649 : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
655 if test -n "$ac_prev"; then
656 ac_option
=--`echo $ac_prev | sed 's/_/-/g'`
657 { echo "$as_me: error: missing argument to $ac_option" >&2
658 { (exit 1); exit 1; }; }
661 # Be sure to have absolute paths.
662 for ac_var
in exec_prefix prefix
664 eval ac_val
=$
`echo $ac_var`
666 [\\/$
]* | ?
:[\\/]* | NONE |
'' ) ;;
667 *) { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
668 { (exit 1); exit 1; }; };;
672 # Be sure to have absolute paths.
673 for ac_var
in bindir sbindir libexecdir datadir sysconfdir sharedstatedir \
674 localstatedir libdir includedir oldincludedir infodir mandir
676 eval ac_val
=$
`echo $ac_var`
678 [\\/$
]* | ?
:[\\/]* ) ;;
679 *) { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
680 { (exit 1); exit 1; }; };;
684 # There might be people who depend on the old broken behavior: `$host'
685 # used to hold the argument of --host etc.
686 # FIXME: To remove some day.
691 # FIXME: To remove some day.
692 if test "x$host_alias" != x
; then
693 if test "x$build_alias" = x
; then
694 cross_compiling
=maybe
695 echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
696 If a cross compiler is detected then cross compile mode will be used." >&2
697 elif test "x$build_alias" != "x$host_alias"; then
703 test -n "$host_alias" && ac_tool_prefix
=$host_alias-
705 test "$silent" = yes && exec 6>/dev
/null
708 # Find the source files, if location was not specified.
709 if test -z "$srcdir"; then
710 ac_srcdir_defaulted
=yes
711 # Try the directory containing this script, then its parent.
712 ac_confdir
=`(dirname "$0") 2>/dev/null ||
713 $as_expr X"$0" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
714 X"$0" : 'X\(//\)[^/]' \| \
715 X"$0" : 'X\(//\)$' \| \
716 X"$0" : 'X\(/\)' \| \
717 . : '\(.\)' 2>/dev/null ||
719 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
720 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
721 /^X\(\/\/\)$/{ s//\1/; q; }
722 /^X\(\/\).*/{ s//\1/; q; }
725 if test ! -r $srcdir/$ac_unique_file; then
729 ac_srcdir_defaulted
=no
731 if test ! -r $srcdir/$ac_unique_file; then
732 if test "$ac_srcdir_defaulted" = yes; then
733 { echo "$as_me: error: cannot find sources ($ac_unique_file) in $ac_confdir or .." >&2
734 { (exit 1); exit 1; }; }
736 { echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2
737 { (exit 1); exit 1; }; }
740 (cd $srcdir && test -r .
/$ac_unique_file) 2>/dev
/null ||
741 { echo "$as_me: error: sources are in $srcdir, but \`cd $srcdir' does not work" >&2
742 { (exit 1); exit 1; }; }
743 srcdir
=`echo "$srcdir" | sed 's%\([^\\/]\)[\\/]*$%\1%'`
744 ac_env_build_alias_set
=${build_alias+set}
745 ac_env_build_alias_value
=$build_alias
746 ac_cv_env_build_alias_set
=${build_alias+set}
747 ac_cv_env_build_alias_value
=$build_alias
748 ac_env_host_alias_set
=${host_alias+set}
749 ac_env_host_alias_value
=$host_alias
750 ac_cv_env_host_alias_set
=${host_alias+set}
751 ac_cv_env_host_alias_value
=$host_alias
752 ac_env_target_alias_set
=${target_alias+set}
753 ac_env_target_alias_value
=$target_alias
754 ac_cv_env_target_alias_set
=${target_alias+set}
755 ac_cv_env_target_alias_value
=$target_alias
756 ac_env_CC_set
=${CC+set}
758 ac_cv_env_CC_set
=${CC+set}
759 ac_cv_env_CC_value
=$CC
760 ac_env_CFLAGS_set
=${CFLAGS+set}
761 ac_env_CFLAGS_value
=$CFLAGS
762 ac_cv_env_CFLAGS_set
=${CFLAGS+set}
763 ac_cv_env_CFLAGS_value
=$CFLAGS
764 ac_env_LDFLAGS_set
=${LDFLAGS+set}
765 ac_env_LDFLAGS_value
=$LDFLAGS
766 ac_cv_env_LDFLAGS_set
=${LDFLAGS+set}
767 ac_cv_env_LDFLAGS_value
=$LDFLAGS
768 ac_env_CPPFLAGS_set
=${CPPFLAGS+set}
769 ac_env_CPPFLAGS_value
=$CPPFLAGS
770 ac_cv_env_CPPFLAGS_set
=${CPPFLAGS+set}
771 ac_cv_env_CPPFLAGS_value
=$CPPFLAGS
772 ac_env_CPP_set
=${CPP+set}
773 ac_env_CPP_value
=$CPP
774 ac_cv_env_CPP_set
=${CPP+set}
775 ac_cv_env_CPP_value
=$CPP
776 ac_env_CXX_set
=${CXX+set}
777 ac_env_CXX_value
=$CXX
778 ac_cv_env_CXX_set
=${CXX+set}
779 ac_cv_env_CXX_value
=$CXX
780 ac_env_CXXFLAGS_set
=${CXXFLAGS+set}
781 ac_env_CXXFLAGS_value
=$CXXFLAGS
782 ac_cv_env_CXXFLAGS_set
=${CXXFLAGS+set}
783 ac_cv_env_CXXFLAGS_value
=$CXXFLAGS
784 ac_env_CXXCPP_set
=${CXXCPP+set}
785 ac_env_CXXCPP_value
=$CXXCPP
786 ac_cv_env_CXXCPP_set
=${CXXCPP+set}
787 ac_cv_env_CXXCPP_value
=$CXXCPP
790 # Report the --help message.
792 if test "$ac_init_help" = "long"; then
793 # Omit some internal or obsolete options to make the list less imposing.
794 # This message is too long to be a string in the A/UX 3.1 sh.
796 \`configure' configures GNU Classpath 0.18 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.18:";;
872 --disable-FEATURE do not include FEATURE
(same as
--enable-FEATURE=no
)
873 --enable-FEATURE[=ARG
] include FEATURE
[ARG
=yes]
874 --enable-jni compile JNI
source default
=yes
875 --enable-core-jni compile JNI sources
for core default
=yes
876 --disable-Werror whether to compile C code with
-Werror which turns
877 any compiler warning into a compilation failure
879 --enable-default-toolkit
880 fully qualified class name of default AWT toolkit
881 --enable-xmlj compile native libxml
/xslt library default
=no
882 --disable-gtk-peer compile GTK native peers
(disabled by
--disable-jni)
885 --enable-gtk-cairo build the cairo Graphics2D implementation on GTK
887 --enable-qt-peer compile Qt4 native peers
(disabled by
--disable-jni)
889 --enable-regen-headers automatically regenerate JNI headers default
=no
890 --enable-static=PKGS build static libraries default
=no
891 --enable-shared=PKGS build shared libraries default
=yes
892 --enable-fast-install=PKGS optimize
for fast installation default
=yes
893 --disable-dependency-tracking speeds up one-time build
894 --enable-dependency-tracking do not reject slow dependency extractors
895 --disable-libtool-lock avoid locking
(might
break parallel builds
)
896 --disable-rpath do not hardcode runtime library paths
897 --enable-maintainer-mode enable make rules and dependencies not useful
898 (and sometimes confusing
) to the casual installer
899 --enable-debug enable runtime debugging code
900 --enable-load-library enable to use JNI native methods default
=yes
901 --enable-java-lang-system-explicit-initialization
902 will the VM explicitly invoke java.lang.System
's
903 static initialization methods default=no
904 --enable-examples enable build of the examples default=yes
905 --enable-portable-native-sync
906 synchronize VM threads portably
909 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
910 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
911 --with-gnu-ld assume the C compiler uses GNU ld default=no
912 --with-pic try to use only PIC/non-PIC objects default=use both
913 --with-libiconv-prefix[=DIR] search for libiconv in DIR/include and DIR/lib
914 --without-libiconv-prefix don't search
for libiconv
in includedir and libdir
915 --with-x use the X Window System
916 --with-javah specify path or name of a javah-like program
917 --with-gcj bytecode compilation with gcj
918 --with-jikes bytecode compilation with jikes
919 --with-kjc bytecode compilation with kjc
920 --with-gcjx bytecode compilation with gcjx
921 --with-ecj bytecode compilation with ecj
922 --with-classpath specify path to a classes.
zip like
file
923 --with-vm-classes specify path to VM override
source files
924 --with-glibj define what to
install (zip|flat|both|none|build
)
926 --with-gjdoc generate documentation using gjdoc
(default is NO
)
927 --with-jay Regenerate the parsers with jay must be given the
928 path to the jay executable
930 Some influential environment variables
:
931 CC C compiler
command
932 CFLAGS C compiler flags
933 LDFLAGS linker flags
, e.g.
-L<lib dir
> if you have libraries
in a
934 nonstandard directory
<lib dir
>
935 CPPFLAGS C
/C
++ preprocessor flags
, e.g.
-I<include dir
> if you have
936 headers
in a nonstandard directory
<include dir
>
938 CXX C
++ compiler
command
939 CXXFLAGS C
++ compiler flags
940 CXXCPP C
++ preprocessor
942 Use these variables to override the choices made by
`configure' or to help
943 it to find libraries and programs with nonstandard names/locations.
945 Report bugs to <classpath@gnu.org>.
949 if test "$ac_init_help" = "recursive"; then
950 # If there are subdirs, report their specific --help.
952 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
953 test -d $ac_dir || continue
956 if test "$ac_dir" != .; then
957 ac_dir_suffix=/`echo "$ac_dir" |
sed 's,^\.[\\/],,'`
958 # A "../" for each directory in $ac_dir_suffix.
959 ac_top_builddir=`echo "$ac_dir_suffix" |
sed 's,/[^\\/]*,../,g'`
961 ac_dir_suffix= ac_top_builddir=
965 .) # No --srcdir option. We are building in place.
967 if test -z "$ac_top_builddir"; then
970 ac_top_srcdir=`echo $ac_top_builddir |
sed 's,/$,,'`
972 [\\/]* | ?:[\\/]* ) # Absolute path.
973 ac_srcdir=$srcdir$ac_dir_suffix;
974 ac_top_srcdir=$srcdir ;;
976 ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
977 ac_top_srcdir=$ac_top_builddir$srcdir ;;
980 # Do not use `cd foo
&& pwd` to compute absolute paths, because
981 # the directories may not exist.
983 .) ac_abs_builddir="$ac_dir";;
986 .) ac_abs_builddir=`pwd`;;
987 [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";;
988 *) ac_abs_builddir=`pwd`/"$ac_dir";;
991 case $ac_abs_builddir in
992 .) ac_abs_top_builddir=${ac_top_builddir}.;;
994 case ${ac_top_builddir}. in
995 .) ac_abs_top_builddir=$ac_abs_builddir;;
996 [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;;
997 *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;;
1000 case $ac_abs_builddir in
1001 .) ac_abs_srcdir=$ac_srcdir;;
1004 .) ac_abs_srcdir=$ac_abs_builddir;;
1005 [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
1006 *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;;
1009 case $ac_abs_builddir in
1010 .) ac_abs_top_srcdir=$ac_top_srcdir;;
1012 case $ac_top_srcdir in
1013 .) ac_abs_top_srcdir=$ac_abs_builddir;;
1014 [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;;
1015 *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;;
1020 # Check for guested configure; otherwise get Cygnus style configure.
1021 if test -f $ac_srcdir/configure.gnu; then
1023 $SHELL $ac_srcdir/configure.gnu --help=recursive
1024 elif test -f $ac_srcdir/configure; then
1026 $SHELL $ac_srcdir/configure --help=recursive
1027 elif test -f $ac_srcdir/configure.ac ||
1028 test -f $ac_srcdir/configure.in; then
1030 $ac_configure --help
1032 echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1038 test -n "$ac_init_help" && exit 0
1039 if $ac_init_version; then
1041 GNU Classpath configure 0.18
1042 generated by GNU Autoconf 2.59
1044 Copyright (C) 2003 Free Software Foundation, Inc.
1045 This configure script is free software; the Free Software Foundation
1046 gives unlimited permission to copy, distribute and modify it.
1052 This file contains any messages produced by compilers while
1053 running configure, to aid debugging if configure makes a mistake.
1055 It was created by GNU Classpath $as_me 0.18, which was
1056 generated by GNU Autoconf 2.59. Invocation command line was
1067 hostname = `(hostname || uname
-n) 2>/dev
/null |
sed 1q
`
1068 uname -m = `(uname
-m) 2>/dev
/null ||
echo unknown
`
1069 uname -r = `(uname
-r) 2>/dev
/null ||
echo unknown
`
1070 uname -s = `(uname
-s) 2>/dev
/null ||
echo unknown
`
1071 uname -v = `(uname
-v) 2>/dev
/null ||
echo unknown
`
1073 /usr/bin/uname -p = `(/usr
/bin
/uname
-p) 2>/dev
/null ||
echo unknown
`
1074 /bin/uname -X = `(/bin
/uname
-X) 2>/dev
/null ||
echo unknown
`
1076 /bin/arch = `(/bin
/arch
) 2>/dev
/null ||
echo unknown
`
1077 /usr/bin/arch -k = `(/usr
/bin
/arch
-k) 2>/dev
/null ||
echo unknown
`
1078 /usr/convex/getsysinfo = `(/usr
/convex
/getsysinfo
) 2>/dev
/null ||
echo unknown
`
1079 hostinfo = `(hostinfo
) 2>/dev
/null ||
echo unknown
`
1080 /bin/machine = `(/bin
/machine
) 2>/dev
/null ||
echo unknown
`
1081 /usr/bin/oslevel = `(/usr
/bin
/oslevel
) 2>/dev
/null ||
echo unknown
`
1082 /bin/universe = `(/bin
/universe
) 2>/dev
/null ||
echo unknown
`
1086 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1090 test -z "$as_dir" && as_dir=.
1091 echo "PATH: $as_dir"
1106 # Keep a trace of the command line.
1107 # Strip out --no-create and --no-recursion so they do not pile up.
1108 # Strip out --silent because we don't want to record it for future runs.
1109 # Also quote any args containing shell meta-characters.
1110 # Make two passes to allow for proper duplicate-argument suppression.
1115 ac_must_keep_next=false
1121 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
1122 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1123 | -silent | --silent | --silen | --sile | --sil)
1125 *" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
1126 ac_arg=`echo "$ac_arg" |
sed "s/'/'\\\\\\\\''/g"` ;;
1129 1) ac_configure_args0="$ac_configure_args0 '$ac_arg'" ;;
1131 ac_configure_args1="$ac_configure_args1 '$ac_arg'"
1132 if test $ac_must_keep_next = true; then
1133 ac_must_keep_next=false # Got value, back to normal.
1136 *=* | --config-cache | -C | -disable-* | --disable-* \
1137 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
1138 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
1139 | -with-* | --with-* | -without-* | --without-* | --x)
1140 case "$ac_configure_args0 " in
1141 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
1144 -* ) ac_must_keep_next=true ;;
1147 ac_configure_args="$ac_configure_args$ac_sep'$ac_arg'"
1148 # Get rid of the leading space.
1154 $as_unset ac_configure_args0 || test "${ac_configure_args0+set}" != set || { ac_configure_args0=; export ac_configure_args0; }
1155 $as_unset ac_configure_args1 || test "${ac_configure_args1+set}" != set || { ac_configure_args1=; export ac_configure_args1; }
1157 # When interrupted or exit'd, cleanup temporary files, and complete
1158 # config.log. We remove comments because anyway the quotes in there
1159 # would cause problems or look ugly.
1160 # WARNING: Be sure not to use single quotes in there, as some shells,
1161 # such as our DU 5.0 friend, will then `close
' the trap.
1162 trap 'exit_status
=$?
1163 # Save into config.log some information that might help in debugging.
1168 ## ---------------- ##
1169 ## Cache variables. ##
1170 ## ---------------- ##
1173 # The following way of writing the cache mishandles newlines in values,
1176 case `(ac_space='"'"' '"'"'; set | grep ac_space) 2>&1` in
1179 "s/'"'"'/'"'"'\\\\'"'"''"'"'/g;
1180 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='"'"'\\2'"'"'/p"
1184 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
1191 ## ----------------- ##
1192 ## Output variables. ##
1193 ## ----------------- ##
1196 for ac_var
in $ac_subst_vars
1198 eval ac_val
=$
`echo $ac_var`
1199 echo "$ac_var='"'"'$ac_val'"'"'"
1203 if test -n "$ac_subst_files"; then
1210 for ac_var
in $ac_subst_files
1212 eval ac_val
=$
`echo $ac_var`
1213 echo "$ac_var='"'"'$ac_val'"'"'"
1218 if test -s confdefs.h
; then
1225 sed "/^$/d" confdefs.h |
sort
1228 test "$ac_signal" != 0 &&
1229 echo "$as_me: caught signal $ac_signal"
1230 echo "$as_me: exit $exit_status"
1232 rm -f core
*.core
&&
1233 rm -rf conftest
* confdefs
* conf$$
* $ac_clean_files &&
1236 for ac_signal in 1 2 13 15; do
1237 trap 'ac_signal
='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
1241 # confdefs.h avoids OS command line length limits that DEFS can exceed.
1242 rm -rf conftest* confdefs.h
1243 # AIX cpp loses on an empty file, so make sure it contains at least a newline.
1246 # Predefined preprocessor variables.
1248 cat >>confdefs.h <<_ACEOF
1249 #define PACKAGE_NAME "$PACKAGE_NAME"
1253 cat >>confdefs.h <<_ACEOF
1254 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
1258 cat >>confdefs.h <<_ACEOF
1259 #define PACKAGE_VERSION "$PACKAGE_VERSION"
1263 cat >>confdefs.h <<_ACEOF
1264 #define PACKAGE_STRING "$PACKAGE_STRING"
1268 cat >>confdefs.h <<_ACEOF
1269 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
1273 # Let the site file select an alternate cache file if it wants to.
1274 # Prefer explicitly selected file to automatically selected ones.
1275 if test -z "$CONFIG_SITE"; then
1276 if test "x$prefix" != xNONE; then
1277 CONFIG_SITE="$prefix/share/config.site $prefix/etc/config.site"
1279 CONFIG_SITE="$ac_default_prefix/share/config.site $ac_default_prefix/etc/config.site"
1282 for ac_site_file in $CONFIG_SITE; do
1283 if test -r "$ac_site_file"; then
1284 { echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
1285 echo "$as_me: loading site script $ac_site_file" >&6;}
1286 sed 's
/^
/|
/' "$ac_site_file" >&5
1291 if test -r "$cache_file"; then
1292 # Some versions of bash will fail to source /dev/null (special
1293 # files actually), so we avoid doing that.
1294 if test -f "$cache_file"; then
1295 { echo "$as_me:$LINENO: loading cache $cache_file" >&5
1296 echo "$as_me: loading cache $cache_file" >&6;}
1298 [\\/]* | ?:[\\/]* ) . $cache_file;;
1299 *) . ./$cache_file;;
1303 { echo "$as_me:$LINENO: creating cache $cache_file" >&5
1304 echo "$as_me: creating cache $cache_file" >&6;}
1308 # Check that the precious variables saved in the cache have kept the same
1310 ac_cache_corrupted=false
1311 for ac_var in `(set) 2>&1 |
1312 sed -n 's
/^ac_env_\
([a-zA-Z_0-9
]*\
)_set
=.
*/\
1/p
'`; do
1313 eval ac_old_set=\$ac_cv_env_${ac_var}_set
1314 eval ac_new_set=\$ac_env_${ac_var}_set
1315 eval ac_old_val="\$ac_cv_env_${ac_var}_value"
1316 eval ac_new_val="\$ac_env_${ac_var}_value"
1317 case $ac_old_set,$ac_new_set in
1319 { echo "$as_me:$LINENO: error: \`$ac_var' was
set to \
`$ac_old_val' in the previous run" >&5
1320 echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run
" >&2;}
1321 ac_cache_corrupted=: ;;
1323 { echo "$as_me:$LINENO: error
: \
`$ac_var' was not set in the previous run" >&5
1324 echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
1325 ac_cache_corrupted=: ;;
1328 if test "x$ac_old_val" != "x$ac_new_val"; then
1329 { echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run
:" >&5
1330 echo "$as_me: error
: \
`$ac_var' has changed since the previous run:" >&2;}
1331 { echo "$as_me:$LINENO: former value: $ac_old_val" >&5
1332 echo "$as_me: former value: $ac_old_val" >&2;}
1333 { echo "$as_me:$LINENO: current value: $ac_new_val" >&5
1334 echo "$as_me: current value: $ac_new_val" >&2;}
1335 ac_cache_corrupted=:
1338 # Pass precious variables to config.status.
1339 if test "$ac_new_set" = set; then
1341 *" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
1342 ac_arg=$ac_var=`echo "$ac_new_val" |
sed "s/'/'\\\\\\\\''/g"` ;;
1343 *) ac_arg=$ac_var=$ac_new_val ;;
1345 case " $ac_configure_args " in
1346 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
1347 *) ac_configure_args="$ac_configure_args '$ac_arg'" ;;
1351 if $ac_cache_corrupted; then
1352 { echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5
1353 echo "$as_me: error: changes in the environment can compromise the build" >&2;}
1354 { { echo "$as_me:$LINENO: error: run \`make distclean
' and/or \`rm $cache_file' and start over
" >&5
1355 echo "$as_me: error
: run \
`make distclean' and/or \`rm $cache_file' and start over" >&2;}
1356 { (exit 1); exit 1; }; }
1360 ac_cpp='$CPP $CPPFLAGS'
1361 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
1362 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
1363 ac_compiler_gnu=$ac_cv_c_compiler_gnu
1394 for ac_dir in $srcdir $srcdir/.. $srcdir/../..; do
1395 if test -f $ac_dir/install-sh; then
1397 ac_install_sh="$ac_aux_dir/install-sh -c"
1399 elif test -f $ac_dir/install.sh; then
1401 ac_install_sh="$ac_aux_dir/install.sh -c"
1403 elif test -f $ac_dir/shtool; then
1405 ac_install_sh="$ac_aux_dir/shtool install -c"
1409 if test -z "$ac_aux_dir"; then
1410 { { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." >&5
1411 echo "$as_me: error: cannot find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." >&2;}
1412 { (exit 1); exit 1; }; }
1414 ac_config_guess="$SHELL $ac_aux_dir/config.guess"
1415 ac_config_sub="$SHELL $ac_aux_dir/config.sub"
1416 ac_configure="$SHELL $ac_aux_dir/configure" # This should be Cygnus configure.
1418 # Make sure we can run config.sub.
1419 $ac_config_sub sun4 >/dev/null 2>&1 ||
1420 { { echo "$as_me:$LINENO: error: cannot run $ac_config_sub" >&5
1421 echo "$as_me: error: cannot run $ac_config_sub" >&2;}
1422 { (exit 1); exit 1; }; }
1424 echo "$as_me:$LINENO: checking build system type" >&5
1425 echo $ECHO_N "checking build system type... $ECHO_C" >&6
1426 if test "${ac_cv_build+set}" = set; then
1427 echo $ECHO_N "(cached) $ECHO_C" >&6
1429 ac_cv_build_alias=$build_alias
1430 test -z "$ac_cv_build_alias" &&
1431 ac_cv_build_alias=`$ac_config_guess`
1432 test -z "$ac_cv_build_alias" &&
1433 { { echo "$as_me:$LINENO: error: cannot guess build type; you must specify one" >&5
1434 echo "$as_me: error: cannot guess build type; you must specify one" >&2;}
1435 { (exit 1); exit 1; }; }
1436 ac_cv_build=`$ac_config_sub $ac_cv_build_alias` ||
1437 { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_build_alias failed" >&5
1438 echo "$as_me: error: $ac_config_sub $ac_cv_build_alias failed" >&2;}
1439 { (exit 1); exit 1; }; }
1442 echo "$as_me:$LINENO: result: $ac_cv_build" >&5
1443 echo "${ECHO_T}$ac_cv_build" >&6
1445 build_cpu=`echo $ac_cv_build | sed 's
/^\
([^
-]*\
)-\
([^
-]*\
)-\
(.
*\
)$
/\
1/'`
1446 build_vendor=`echo $ac_cv_build | sed 's
/^\
([^
-]*\
)-\
([^
-]*\
)-\
(.
*\
)$
/\
2/'`
1447 build_os=`echo $ac_cv_build | sed 's
/^\
([^
-]*\
)-\
([^
-]*\
)-\
(.
*\
)$
/\
3/'`
1450 echo "$as_me:$LINENO: checking host system type" >&5
1451 echo $ECHO_N "checking host system type... $ECHO_C" >&6
1452 if test "${ac_cv_host+set}" = set; then
1453 echo $ECHO_N "(cached) $ECHO_C" >&6
1455 ac_cv_host_alias=$host_alias
1456 test -z "$ac_cv_host_alias" &&
1457 ac_cv_host_alias=$ac_cv_build_alias
1458 ac_cv_host=`$ac_config_sub $ac_cv_host_alias` ||
1459 { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_host_alias failed" >&5
1460 echo "$as_me: error: $ac_config_sub $ac_cv_host_alias failed" >&2;}
1461 { (exit 1); exit 1; }; }
1464 echo "$as_me:$LINENO: result: $ac_cv_host" >&5
1465 echo "${ECHO_T}$ac_cv_host" >&6
1467 host_cpu=`echo $ac_cv_host | sed 's
/^\
([^
-]*\
)-\
([^
-]*\
)-\
(.
*\
)$
/\
1/'`
1468 host_vendor=`echo $ac_cv_host | sed 's
/^\
([^
-]*\
)-\
([^
-]*\
)-\
(.
*\
)$
/\
2/'`
1469 host_os=`echo $ac_cv_host | sed 's
/^\
([^
-]*\
)-\
([^
-]*\
)-\
(.
*\
)$
/\
3/'`
1472 echo "$as_me:$LINENO: checking target system type" >&5
1473 echo $ECHO_N "checking target system type... $ECHO_C" >&6
1474 if test "${ac_cv_target+set}" = set; then
1475 echo $ECHO_N "(cached) $ECHO_C" >&6
1477 ac_cv_target_alias=$target_alias
1478 test "x$ac_cv_target_alias" = "x" &&
1479 ac_cv_target_alias=$ac_cv_host_alias
1480 ac_cv_target=`$ac_config_sub $ac_cv_target_alias` ||
1481 { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_target_alias failed" >&5
1482 echo "$as_me: error: $ac_config_sub $ac_cv_target_alias failed" >&2;}
1483 { (exit 1); exit 1; }; }
1486 echo "$as_me:$LINENO: result: $ac_cv_target" >&5
1487 echo "${ECHO_T}$ac_cv_target" >&6
1488 target=$ac_cv_target
1489 target_cpu=`echo $ac_cv_target | sed 's
/^\
([^
-]*\
)-\
([^
-]*\
)-\
(.
*\
)$
/\
1/'`
1490 target_vendor=`echo $ac_cv_target | sed 's
/^\
([^
-]*\
)-\
([^
-]*\
)-\
(.
*\
)$
/\
2/'`
1491 target_os=`echo $ac_cv_target | sed 's
/^\
([^
-]*\
)-\
([^
-]*\
)-\
(.
*\
)$
/\
3/'`
1494 # The aliases save the names the user supplied, while $host etc.
1495 # will get canonicalized.
1496 test -n "$target_alias" &&
1497 test "$program_prefix$program_suffix$program_transform_name" = \
1499 program_prefix=${target_alias}-
1501 if expr ${target_cpu} : '.
*86' > /dev/null; then target_cpu=x86; fi
1514 CLASSPATH_MODULE="${cp_module} -version-info ${LIBVERSION} -no-undefined"
1518 am__api_version="1.9"
1519 # Find a good install program. We prefer a C program (faster),
1520 # so one script is as good as another. But avoid the broken or
1521 # incompatible versions:
1522 # SysV /etc/install, /usr/sbin/install
1523 # SunOS /usr/etc/install
1524 # IRIX /sbin/install
1526 # AmigaOS /C/install, which installs bootblocks on floppy discs
1527 # AIX 4 /usr/bin/installbsd, which doesn't work without a
-g flag
1528 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
1529 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
1530 # OS/2's system install, which has a completely different semantic
1531 # ./install, which can be erroneously created by make from ./install.sh.
1532 echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
1533 echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6
1534 if test -z "$INSTALL"; then
1535 if test "${ac_cv_path_install+set}" = set; then
1536 echo $ECHO_N "(cached) $ECHO_C" >&6
1538 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
1542 test -z "$as_dir" && as_dir
=.
1543 # Account for people who put trailing slashes in PATH elements.
1545 .
/ | .
// |
/cC
/* | \
1546 /etc
/* |
/usr
/sbin
/* |
/usr
/etc
/* |
/sbin
/* |
/usr
/afsws
/bin
/* | \
1547 ?
:\\/os2
\\/install\\/* | ?
:\\/OS2
\\/INSTALL
\\/* | \
1550 # OSF1 and SCO ODT 3.0 have their own names for install.
1551 # Don't use installbsd from OSF since it installs stuff as root
1553 for ac_prog
in ginstall scoinst
install; do
1554 for ac_exec_ext
in '' $ac_executable_extensions; do
1555 if $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
1556 if test $ac_prog = install &&
1557 grep dspmsg
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
1558 # AIX install. It has an incompatible calling convention.
1560 elif test $ac_prog = install &&
1561 grep pwplus
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
1562 # program-specific install script used by HP pwplus--don't use.
1565 ac_cv_path_install
="$as_dir/$ac_prog$ac_exec_ext -c"
1577 if test "${ac_cv_path_install+set}" = set; then
1578 INSTALL
=$ac_cv_path_install
1580 # As a last resort, use the slow shell script. We don't cache a
1581 # path for INSTALL within a source directory, because that will
1582 # break other packages using the cache if that directory is
1583 # removed, or if the path is relative.
1584 INSTALL
=$ac_install_sh
1587 echo "$as_me:$LINENO: result: $INSTALL" >&5
1588 echo "${ECHO_T}$INSTALL" >&6
1590 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
1591 # It thinks the first close brace ends the variable substitution.
1592 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM
='${INSTALL}'
1594 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT
='${INSTALL}'
1596 test -z "$INSTALL_DATA" && INSTALL_DATA
='${INSTALL} -m 644'
1598 echo "$as_me:$LINENO: checking whether build environment is sane" >&5
1599 echo $ECHO_N "checking whether build environment is sane... $ECHO_C" >&6
1602 echo timestamp
> conftest.
file
1603 # Do `set' in a subshell so we don't clobber the current shell's
1604 # arguments. Must try -L first in case configure is actually a
1605 # symlink; some systems play weird games with the mod time of symlinks
1606 # (eg FreeBSD returns the mod time of the symlink's containing
1609 set X
`ls -Lt $srcdir/configure conftest.file 2> /dev/null`
1610 if test "$*" = "X"; then
1612 set X
`ls -t $srcdir/configure conftest.file`
1615 if test "$*" != "X $srcdir/configure conftest.file" \
1616 && test "$*" != "X conftest.file $srcdir/configure"; then
1618 # If neither matched, then we have a broken ls. This can happen
1619 # if, for instance, CONFIG_SHELL is bash and it inherits a
1620 # broken ls alias from the environment. This has actually
1621 # happened. Such a system could not be considered "sane".
1622 { { echo "$as_me:$LINENO: error: ls -t appears to fail. Make sure there is not a broken
1623 alias in your environment" >&5
1624 echo "$as_me: error: ls -t appears to fail. Make sure there is not a broken
1625 alias in your environment" >&2;}
1626 { (exit 1); exit 1; }; }
1629 test "$2" = conftest.
file
1635 { { echo "$as_me:$LINENO: error: newly created file is older than distributed files!
1636 Check your system clock" >&5
1637 echo "$as_me: error: newly created file is older than distributed files!
1638 Check your system clock" >&2;}
1639 { (exit 1); exit 1; }; }
1641 echo "$as_me:$LINENO: result: yes" >&5
1642 echo "${ECHO_T}yes" >&6
1643 test "$program_prefix" != NONE
&&
1644 program_transform_name
="s,^,$program_prefix,;$program_transform_name"
1645 # Use a double $ so make ignores it.
1646 test "$program_suffix" != NONE
&&
1647 program_transform_name
="s,\$,$program_suffix,;$program_transform_name"
1648 # Double any \ or $. echo might interpret backslashes.
1649 # By default was `s,x,x', remove it if useless.
1650 cat <<\_ACEOF
>conftest.
sed
1651 s
/[\\$
]/&&/g
;s
/;s
,x
,x
,$
//
1653 program_transform_name
=`echo $program_transform_name | sed -f conftest.sed`
1656 # expand $ac_aux_dir to an absolute path
1657 am_aux_dir
=`cd $ac_aux_dir && pwd`
1659 test x
"${MISSING+set}" = xset || MISSING
="\${SHELL} $am_aux_dir/missing"
1660 # Use eval to expand $SHELL
1661 if eval "$MISSING --run true"; then
1662 am_missing_run
="$MISSING --run "
1665 { echo "$as_me:$LINENO: WARNING: \`missing' script is too old or missing" >&5
1666 echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;}
1669 if mkdir
-p --version .
>/dev
/null
2>&1 && test ! -d .
/--version; then
1670 # We used to keeping the `.' as first argument, in order to
1671 # allow $(mkdir_p) to be used without argument. As in
1672 # $(mkdir_p) $(somedir)
1673 # where $(somedir) is conditionally defined. However this is wrong
1675 # 1. if the package is installed by a user who cannot write `.'
1676 # make install will fail,
1677 # 2. the above comment should most certainly read
1678 # $(mkdir_p) $(DESTDIR)$(somedir)
1679 # so it does not work when $(somedir) is undefined and
1680 # $(DESTDIR) is not.
1681 # To support the latter case, we have to write
1682 # test -z "$(somedir)" || $(mkdir_p) $(DESTDIR)$(somedir),
1683 # so the `.' trick is pointless.
1684 mkdir_p
='mkdir -p --'
1686 # On NextStep and OpenStep, the `mkdir' command does not
1687 # recognize any option. It will interpret all options as
1688 # directories to create, and then abort because `.' already
1690 for d
in .
/-p .
/--version;
1692 test -d $d && rmdir $d
1694 # $(mkinstalldirs) is defined by Automake if mkinstalldirs exists.
1695 if test -f "$ac_aux_dir/mkinstalldirs"; then
1696 mkdir_p
='$(mkinstalldirs)'
1698 mkdir_p
='$(install_sh) -d'
1702 for ac_prog
in gawk mawk nawk
awk
1704 # Extract the first word of "$ac_prog", so it can be a program name with args.
1705 set dummy
$ac_prog; ac_word
=$2
1706 echo "$as_me:$LINENO: checking for $ac_word" >&5
1707 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1708 if test "${ac_cv_prog_AWK+set}" = set; then
1709 echo $ECHO_N "(cached) $ECHO_C" >&6
1711 if test -n "$AWK"; then
1712 ac_cv_prog_AWK
="$AWK" # Let the user override the test.
1714 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
1718 test -z "$as_dir" && as_dir
=.
1719 for ac_exec_ext
in '' $ac_executable_extensions; do
1720 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1721 ac_cv_prog_AWK
="$ac_prog"
1722 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1731 if test -n "$AWK"; then
1732 echo "$as_me:$LINENO: result: $AWK" >&5
1733 echo "${ECHO_T}$AWK" >&6
1735 echo "$as_me:$LINENO: result: no" >&5
1736 echo "${ECHO_T}no" >&6
1739 test -n "$AWK" && break
1742 echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
1743 echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6
1744 set dummy
${MAKE-make}; ac_make
=`echo "$2" | sed 'y,:./+-,___p_,'`
1745 if eval "test \"\${ac_cv_prog_make_${ac_make}_set+set}\" = set"; then
1746 echo $ECHO_N "(cached) $ECHO_C" >&6
1748 cat >conftest.
make <<\_ACEOF
1750 @
echo 'ac_maketemp="$(MAKE)"'
1752 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
1753 eval `${MAKE-make} -f conftest.make 2>/dev/null | grep temp=`
1754 if test -n "$ac_maketemp"; then
1755 eval ac_cv_prog_make_
${ac_make}_set
=yes
1757 eval ac_cv_prog_make_
${ac_make}_set
=no
1761 if eval "test \"`echo '$ac_cv_prog_make_'${ac_make}_set`\" = yes"; then
1762 echo "$as_me:$LINENO: result: yes" >&5
1763 echo "${ECHO_T}yes" >&6
1766 echo "$as_me:$LINENO: result: no" >&5
1767 echo "${ECHO_T}no" >&6
1768 SET_MAKE
="MAKE=${MAKE-make}"
1771 rm -rf .tst
2>/dev
/null
1772 mkdir .tst
2>/dev
/null
1773 if test -d .tst
; then
1778 rmdir .tst
2>/dev
/null
1780 # test to see if srcdir already configured
1781 if test "`cd $srcdir && pwd`" != "`pwd`" &&
1782 test -f $srcdir/config.status
; then
1783 { { echo "$as_me:$LINENO: error: source directory already configured; run \"make distclean\" there first" >&5
1784 echo "$as_me: error: source directory already configured; run \"make distclean\" there first" >&2;}
1785 { (exit 1); exit 1; }; }
1788 # test whether we have cygpath
1789 if test -z "$CYGPATH_W"; then
1790 if (cygpath
--version) >/dev
/null
2>/dev
/null
; then
1791 CYGPATH_W
='cygpath -w'
1798 # Define the identity of the package.
1803 cat >>confdefs.h
<<_ACEOF
1804 #define PACKAGE "$PACKAGE"
1808 cat >>confdefs.h
<<_ACEOF
1809 #define VERSION "$VERSION"
1812 # Some tools Automake needs.
1814 ACLOCAL
=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
1817 AUTOCONF
=${AUTOCONF-"${am_missing_run}autoconf"}
1820 AUTOMAKE
=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
1823 AUTOHEADER
=${AUTOHEADER-"${am_missing_run}autoheader"}
1826 MAKEINFO
=${MAKEINFO-"${am_missing_run}makeinfo"}
1828 install_sh
=${install_sh-"$am_aux_dir/install-sh"}
1830 # Installed binaries are usually stripped using `strip' when the user
1831 # run `make install-strip'. However `strip' might not be the right
1832 # tool to use in cross-compilation environments, therefore Automake
1833 # will honor the `STRIP' environment variable to overrule this program.
1834 if test "$cross_compiling" != no
; then
1835 if test -n "$ac_tool_prefix"; then
1836 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
1837 set dummy
${ac_tool_prefix}strip
; ac_word
=$2
1838 echo "$as_me:$LINENO: checking for $ac_word" >&5
1839 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1840 if test "${ac_cv_prog_STRIP+set}" = set; then
1841 echo $ECHO_N "(cached) $ECHO_C" >&6
1843 if test -n "$STRIP"; then
1844 ac_cv_prog_STRIP
="$STRIP" # Let the user override the test.
1846 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
1850 test -z "$as_dir" && as_dir
=.
1851 for ac_exec_ext
in '' $ac_executable_extensions; do
1852 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1853 ac_cv_prog_STRIP
="${ac_tool_prefix}strip"
1854 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1862 STRIP
=$ac_cv_prog_STRIP
1863 if test -n "$STRIP"; then
1864 echo "$as_me:$LINENO: result: $STRIP" >&5
1865 echo "${ECHO_T}$STRIP" >&6
1867 echo "$as_me:$LINENO: result: no" >&5
1868 echo "${ECHO_T}no" >&6
1872 if test -z "$ac_cv_prog_STRIP"; then
1874 # Extract the first word of "strip", so it can be a program name with args.
1875 set dummy strip
; ac_word
=$2
1876 echo "$as_me:$LINENO: checking for $ac_word" >&5
1877 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1878 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
1879 echo $ECHO_N "(cached) $ECHO_C" >&6
1881 if test -n "$ac_ct_STRIP"; then
1882 ac_cv_prog_ac_ct_STRIP
="$ac_ct_STRIP" # Let the user override the test.
1884 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
1888 test -z "$as_dir" && as_dir
=.
1889 for ac_exec_ext
in '' $ac_executable_extensions; do
1890 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1891 ac_cv_prog_ac_ct_STRIP
="strip"
1892 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1898 test -z "$ac_cv_prog_ac_ct_STRIP" && ac_cv_prog_ac_ct_STRIP
=":"
1901 ac_ct_STRIP
=$ac_cv_prog_ac_ct_STRIP
1902 if test -n "$ac_ct_STRIP"; then
1903 echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
1904 echo "${ECHO_T}$ac_ct_STRIP" >&6
1906 echo "$as_me:$LINENO: result: no" >&5
1907 echo "${ECHO_T}no" >&6
1912 STRIP
="$ac_cv_prog_STRIP"
1916 INSTALL_STRIP_PROGRAM
="\${SHELL} \$(install_sh) -c -s"
1918 # We need awk for the "check" target. The system "awk" is bad on
1920 # Always define AMTAR for backward compatibility.
1922 AMTAR
=${AMTAR-"${am_missing_run}tar"}
1925 echo "$as_me:$LINENO: checking how to create a ustar tar archive" >&5
1926 echo $ECHO_N "checking how to create a ustar tar archive... $ECHO_C" >&6
1927 # Loop over all known methods to create a tar archive until one works.
1928 _am_tools
='gnutar plaintar pax cpio none'
1929 _am_tools
=${am_cv_prog_tar_ustar-$_am_tools}
1930 # Do not fold the above two line into one, because Tru64 sh and
1931 # Solaris sh will not grok spaces in the rhs of `-'.
1932 for _am_tool
in $_am_tools
1936 for _am_tar
in tar gnutar gtar
;
1938 { echo "$as_me:$LINENO: $_am_tar --version" >&5
1939 ($_am_tar --version) >&5 2>&5
1941 echo "$as_me:$LINENO: \$? = $ac_status" >&5
1942 (exit $ac_status); } && break
1944 am__tar
="$_am_tar --format=ustar -chf - "'"$$tardir"'
1945 am__tar_
="$_am_tar --format=ustar -chf - "'"$tardir"'
1946 am__untar
="$_am_tar -xf -"
1949 # Must skip GNU tar: if it does not support --format= it doesn't create
1950 # ustar tarball either.
1951 (tar --version) >/dev
/null
2>&1 && continue
1952 am__tar
='tar chf - "$$tardir"'
1953 am__tar_
='tar chf - "$tardir"'
1954 am__untar
='tar xf -'
1957 am__tar
='pax -L -x ustar -w "$$tardir"'
1958 am__tar_
='pax -L -x ustar -w "$tardir"'
1962 am__tar
='find "$$tardir" -print | cpio -o -H ustar -L'
1963 am__tar_
='find "$tardir" -print | cpio -o -H ustar -L'
1964 am__untar
='cpio -i -H ustar -d'
1973 # If the value was cached, stop now. We just wanted to have am__tar
1974 # and am__untar set.
1975 test -n "${am_cv_prog_tar_ustar}" && break
1977 # tar/untar a dummy directory, and stop if the command works
1980 echo GrepMe
> conftest.dir
/file
1981 { echo "$as_me:$LINENO: tardir=conftest.dir && eval $am__tar_ >conftest.tar" >&5
1982 (tardir
=conftest.dir
&& eval $am__tar_ >conftest.
tar) >&5 2>&5
1984 echo "$as_me:$LINENO: \$? = $ac_status" >&5
1985 (exit $ac_status); }
1987 if test -s conftest.
tar; then
1988 { echo "$as_me:$LINENO: $am__untar <conftest.tar" >&5
1989 ($am__untar <conftest.
tar) >&5 2>&5
1991 echo "$as_me:$LINENO: \$? = $ac_status" >&5
1992 (exit $ac_status); }
1993 grep GrepMe conftest.dir
/file >/dev
/null
2>&1 && break
1998 if test "${am_cv_prog_tar_ustar+set}" = set; then
1999 echo $ECHO_N "(cached) $ECHO_C" >&6
2001 am_cv_prog_tar_ustar
=$_am_tool
2004 echo "$as_me:$LINENO: result: $am_cv_prog_tar_ustar" >&5
2005 echo "${ECHO_T}$am_cv_prog_tar_ustar" >&6
2011 ac_config_headers
="$ac_config_headers include/config.h"
2015 # Check whether --enable-jni or --disable-jni was given.
2016 if test "${enable_jni+set}" = set; then
2017 enableval
="$enable_jni"
2018 case "${enableval}" in
2019 yes) COMPILE_JNI
=yes; COMPILE_JAVA
=yes ;;
2020 no
) COMPILE_JNI
=no
;;
2021 *) COMPILE_JNI
=yes; COMPILE_JAVA
=yes ;;
2028 if test "x${COMPILE_JNI}" = xyes
; then
2029 CREATE_JNI_LIBRARIES_TRUE
=
2030 CREATE_JNI_LIBRARIES_FALSE
='#'
2032 CREATE_JNI_LIBRARIES_TRUE
='#'
2033 CREATE_JNI_LIBRARIES_FALSE
=
2037 # Check whether --enable-core-jni or --disable-core-jni was given.
2038 if test "${enable_core_jni+set}" = set; then
2039 enableval
="$enable_core_jni"
2040 case "${enableval}" in
2041 yes) COMPILE_CORE_JNI
=yes; COMPILE_JAVA
=yes ;;
2042 no
) COMPILE_CORE_JNI
=no
;;
2043 *) COMPILE_CORE_JNI
=yes; COMPILE_JAVA
=yes ;;
2046 COMPILE_CORE_JNI
=yes
2050 if test "x${COMPILE_CORE_JNI}" = xyes
; then
2051 CREATE_CORE_JNI_LIBRARIES_TRUE
=
2052 CREATE_CORE_JNI_LIBRARIES_FALSE
='#'
2054 CREATE_CORE_JNI_LIBRARIES_TRUE
='#'
2055 CREATE_CORE_JNI_LIBRARIES_FALSE
=
2059 # Check whether --enable-Werror or --disable-Werror was given.
2060 if test "${enable_Werror+set}" = set; then
2061 enableval
="$enable_Werror"
2062 case "${enableval}" in
2063 yes) ENABLE_WERROR
=yes ;;
2064 no
) ENABLE_WERROR
=no
;;
2065 *) ENABLE_WERROR
=yes ;;
2071 # Check whether --enable-default-toolkit or --disable-default-toolkit was given.
2072 if test "${enable_default_toolkit+set}" = set; then
2073 enableval
="$enable_default_toolkit"
2076 default_toolkit
=$enable_default_toolkit
2077 if test "$default_toolkit" = ""; then
2078 default_toolkit
=gnu.java.awt.peer.gtk.GtkToolkit
2082 # Check whether --enable-xmlj or --disable-xmlj was given.
2083 if test "${enable_xmlj+set}" = set; then
2084 enableval
="$enable_xmlj"
2085 case "${enableval}" in
2086 yes) COMPILE_XMLJ
=yes ;;
2087 no
) COMPILE_XMLJ
=no
;;
2088 *) COMPILE_XMLJ
=no
;;
2095 if test "x${COMPILE_XMLJ}" = xyes
; then
2096 CREATE_XMLJ_LIBRARY_TRUE
=
2097 CREATE_XMLJ_LIBRARY_FALSE
='#'
2099 CREATE_XMLJ_LIBRARY_TRUE
='#'
2100 CREATE_XMLJ_LIBRARY_FALSE
=
2104 # Check whether --enable-gtk-peer or --disable-gtk-peer was given.
2105 if test "${enable_gtk_peer+set}" = set; then
2106 enableval
="$enable_gtk_peer"
2107 case "${enableval}" in
2108 yes) COMPILE_GTK_PEER
=yes ;;
2109 no
) COMPILE_GTK_PEER
=no
;;
2110 *) COMPILE_GTK_PEER
=yes ;;
2113 COMPILE_GTK_PEER
=yes
2117 if test "x${COMPILE_GTK_PEER}" = xyes
; then
2118 CREATE_GTK_PEER_LIBRARIES_TRUE
=
2119 CREATE_GTK_PEER_LIBRARIES_FALSE
='#'
2121 CREATE_GTK_PEER_LIBRARIES_TRUE
='#'
2122 CREATE_GTK_PEER_LIBRARIES_FALSE
=
2126 # Check whether --enable-gtk-peers or --disable-gtk-peers was given.
2127 if test "${enable_gtk_peers+set}" = set; then
2128 enableval
="$enable_gtk_peers"
2129 { { echo "$as_me:$LINENO: error: No --enable-gtk-peers (or --disable-gtk-peers) option; you want --enable-gtk-peer" >&5
2130 echo "$as_me: error: No --enable-gtk-peers (or --disable-gtk-peers) option; you want --enable-gtk-peer" >&2;}
2131 { (exit 1); exit 1; }; }
2134 # Check whether --enable-gtk-cairo or --disable-gtk-cairo was given.
2135 if test "${enable_gtk_cairo+set}" = set; then
2136 enableval
="$enable_gtk_cairo"
2137 case "${enableval}" in
2138 yes) GTK_CAIRO_ENABLED
=true
;;
2139 no
) GTK_CAIRO_ENABLED
=false
;;
2140 *) GTK_CAIRO_ENABLED
=true
;;
2143 GTK_CAIRO_ENABLED
=false
2146 if test "x${GTK_CAIRO_ENABLED}" = xtrue
; then
2148 cat >>confdefs.h
<<\_ACEOF
2155 if test "x${GTK_CAIRO_ENABLED}" = xtrue
; then
2164 # Check whether --enable-qt-peer or --disable-qt-peer was given.
2165 if test "${enable_qt_peer+set}" = set; then
2166 enableval
="$enable_qt_peer"
2167 case "${enableval}" in
2168 yes) COMPILE_QT_PEER
=yes ;;
2169 no
) COMPILE_QT_PEER
=no
;;
2170 *) COMPILE_QT_PEER
=yes ;;
2177 if test "x${COMPILE_QT_PEER}" = xyes
; then
2178 CREATE_QT_PEER_LIBRARIES_TRUE
=
2179 CREATE_QT_PEER_LIBRARIES_FALSE
='#'
2181 CREATE_QT_PEER_LIBRARIES_TRUE
='#'
2182 CREATE_QT_PEER_LIBRARIES_FALSE
=
2186 # Check whether --enable-regen-headers or --disable-regen-headers was given.
2187 if test "${enable_regen_headers+set}" = set; then
2188 enableval
="$enable_regen_headers"
2189 case "${enableval}" in
2190 yes) REGENERATE_JNI_HEADERS
=yes ;;
2191 no
) REGENERATE_JNI_HEADERS
=no
;;
2192 *) REGENERATE_JNI_HEADERS
=no
;;
2195 REGENERATE_JNI_HEADERS
=no
2199 if test "x${REGENERATE_JNI_HEADERS}" = xyes
; then
2200 CREATE_JNI_HEADERS_TRUE
=
2201 CREATE_JNI_HEADERS_FALSE
='#'
2203 CREATE_JNI_HEADERS_TRUE
='#'
2204 CREATE_JNI_HEADERS_FALSE
=
2208 echo "$as_me:$LINENO: checking whether ln -s works" >&5
2209 echo $ECHO_N "checking whether ln -s works... $ECHO_C" >&6
2211 if test "$LN_S" = "ln -s"; then
2212 echo "$as_me:$LINENO: result: yes" >&5
2213 echo "${ECHO_T}yes" >&6
2215 echo "$as_me:$LINENO: result: no, using $LN_S" >&5
2216 echo "${ECHO_T}no, using $LN_S" >&6
2219 # Find a good install program. We prefer a C program (faster),
2220 # so one script is as good as another. But avoid the broken or
2221 # incompatible versions:
2222 # SysV /etc/install, /usr/sbin/install
2223 # SunOS /usr/etc/install
2224 # IRIX /sbin/install
2226 # AmigaOS /C/install, which installs bootblocks on floppy discs
2227 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
2228 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
2229 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
2230 # OS/2's system install, which has a completely different semantic
2231 # ./install, which can be erroneously created by make from ./install.sh.
2232 echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
2233 echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6
2234 if test -z "$INSTALL"; then
2235 if test "${ac_cv_path_install+set}" = set; then
2236 echo $ECHO_N "(cached) $ECHO_C" >&6
2238 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2242 test -z "$as_dir" && as_dir
=.
2243 # Account for people who put trailing slashes in PATH elements.
2245 .
/ | .
// |
/cC
/* | \
2246 /etc
/* |
/usr
/sbin
/* |
/usr
/etc
/* |
/sbin
/* |
/usr
/afsws
/bin
/* | \
2247 ?
:\\/os2
\\/install\\/* | ?
:\\/OS2
\\/INSTALL
\\/* | \
2250 # OSF1 and SCO ODT 3.0 have their own names for install.
2251 # Don't use installbsd from OSF since it installs stuff as root
2253 for ac_prog
in ginstall scoinst
install; do
2254 for ac_exec_ext
in '' $ac_executable_extensions; do
2255 if $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
2256 if test $ac_prog = install &&
2257 grep dspmsg
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
2258 # AIX install. It has an incompatible calling convention.
2260 elif test $ac_prog = install &&
2261 grep pwplus
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
2262 # program-specific install script used by HP pwplus--don't use.
2265 ac_cv_path_install
="$as_dir/$ac_prog$ac_exec_ext -c"
2277 if test "${ac_cv_path_install+set}" = set; then
2278 INSTALL
=$ac_cv_path_install
2280 # As a last resort, use the slow shell script. We don't cache a
2281 # path for INSTALL within a source directory, because that will
2282 # break other packages using the cache if that directory is
2283 # removed, or if the path is relative.
2284 INSTALL
=$ac_install_sh
2287 echo "$as_me:$LINENO: result: $INSTALL" >&5
2288 echo "${ECHO_T}$INSTALL" >&6
2290 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
2291 # It thinks the first close brace ends the variable substitution.
2292 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM
='${INSTALL}'
2294 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT
='${INSTALL}'
2296 test -z "$INSTALL_DATA" && INSTALL_DATA
='${INSTALL} -m 644'
2302 # Check whether --enable-static or --disable-static was given.
2303 if test "${enable_static+set}" = set; then
2304 enableval
="$enable_static"
2305 p
=${PACKAGE-default}
2307 yes) enable_static
=yes ;;
2308 no
) enable_static
=no
;;
2311 # Look at the argument we got. We use all the common list separators.
2312 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
="${IFS}:,"
2313 for pkg
in $enableval; do
2314 if test "X$pkg" = "X$p"; then
2324 # Check whether --enable-shared or --disable-shared was given.
2325 if test "${enable_shared+set}" = set; then
2326 enableval
="$enable_shared"
2327 p
=${PACKAGE-default}
2329 yes) enable_shared
=yes ;;
2330 no
) enable_shared
=no
;;
2333 # Look at the argument we got. We use all the common list separators.
2334 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
="${IFS}:,"
2335 for pkg
in $enableval; do
2336 if test "X$pkg" = "X$p"; then
2346 # Check whether --enable-fast-install or --disable-fast-install was given.
2347 if test "${enable_fast_install+set}" = set; then
2348 enableval
="$enable_fast_install"
2349 p
=${PACKAGE-default}
2351 yes) enable_fast_install
=yes ;;
2352 no
) enable_fast_install
=no
;;
2354 enable_fast_install
=no
2355 # Look at the argument we got. We use all the common list separators.
2356 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
="${IFS}:,"
2357 for pkg
in $enableval; do
2358 if test "X$pkg" = "X$p"; then
2359 enable_fast_install
=yes
2366 enable_fast_install
=yes
2368 DEPDIR
="${am__leading_dot}deps"
2370 ac_config_commands
="$ac_config_commands depfiles"
2373 am_make
=${MAKE-make}
2374 cat > confinc
<< 'END'
2379 # If we don't find an include directive, just comment out the code.
2380 echo "$as_me:$LINENO: checking for style of include used by $am_make" >&5
2381 echo $ECHO_N "checking for style of include used by $am_make... $ECHO_C" >&6
2385 # First try GNU make style include.
2386 echo "include confinc" > confmf
2387 # We grep out `Entering directory' and `Leaving directory'
2388 # messages which can occur if `w' ends up in MAKEFLAGS.
2389 # In particular we don't look at `^make:' because GNU make might
2390 # be invoked under some other name (usually "gmake"), in which
2391 # case it prints its new name instead of `make'.
2392 if test "`$am_make -s -f confmf 2> /dev/null | grep -v 'ing directory'`" = "done"; then
2397 # Now try BSD make style include.
2398 if test "$am__include" = "#"; then
2399 echo '.include "confinc"' > confmf
2400 if test "`$am_make -s -f confmf 2> /dev/null`" = "done"; then
2401 am__include
=.include
2408 echo "$as_me:$LINENO: result: $_am_result" >&5
2409 echo "${ECHO_T}$_am_result" >&6
2410 rm -f confinc confmf
2412 # Check whether --enable-dependency-tracking or --disable-dependency-tracking was given.
2413 if test "${enable_dependency_tracking+set}" = set; then
2414 enableval
="$enable_dependency_tracking"
2417 if test "x$enable_dependency_tracking" != xno
; then
2418 am_depcomp
="$ac_aux_dir/depcomp"
2423 if test "x$enable_dependency_tracking" != xno; then
2434 ac_cpp
='$CPP $CPPFLAGS'
2435 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2436 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2437 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
2438 if test -n "$ac_tool_prefix"; then
2439 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
2440 set dummy
${ac_tool_prefix}gcc
; ac_word
=$2
2441 echo "$as_me:$LINENO: checking for $ac_word" >&5
2442 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2443 if test "${ac_cv_prog_CC+set}" = set; then
2444 echo $ECHO_N "(cached) $ECHO_C" >&6
2446 if test -n "$CC"; then
2447 ac_cv_prog_CC
="$CC" # Let the user override the test.
2449 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2453 test -z "$as_dir" && as_dir
=.
2454 for ac_exec_ext
in '' $ac_executable_extensions; do
2455 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2456 ac_cv_prog_CC
="${ac_tool_prefix}gcc"
2457 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2466 if test -n "$CC"; then
2467 echo "$as_me:$LINENO: result: $CC" >&5
2468 echo "${ECHO_T}$CC" >&6
2470 echo "$as_me:$LINENO: result: no" >&5
2471 echo "${ECHO_T}no" >&6
2475 if test -z "$ac_cv_prog_CC"; then
2477 # Extract the first word of "gcc", so it can be a program name with args.
2478 set dummy gcc
; ac_word
=$2
2479 echo "$as_me:$LINENO: checking for $ac_word" >&5
2480 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2481 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
2482 echo $ECHO_N "(cached) $ECHO_C" >&6
2484 if test -n "$ac_ct_CC"; then
2485 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
2487 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2491 test -z "$as_dir" && as_dir
=.
2492 for ac_exec_ext
in '' $ac_executable_extensions; do
2493 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2494 ac_cv_prog_ac_ct_CC
="gcc"
2495 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2503 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
2504 if test -n "$ac_ct_CC"; then
2505 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
2506 echo "${ECHO_T}$ac_ct_CC" >&6
2508 echo "$as_me:$LINENO: result: no" >&5
2509 echo "${ECHO_T}no" >&6
2517 if test -z "$CC"; then
2518 if test -n "$ac_tool_prefix"; then
2519 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
2520 set dummy
${ac_tool_prefix}cc
; ac_word
=$2
2521 echo "$as_me:$LINENO: checking for $ac_word" >&5
2522 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2523 if test "${ac_cv_prog_CC+set}" = set; then
2524 echo $ECHO_N "(cached) $ECHO_C" >&6
2526 if test -n "$CC"; then
2527 ac_cv_prog_CC
="$CC" # Let the user override the test.
2529 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2533 test -z "$as_dir" && as_dir
=.
2534 for ac_exec_ext
in '' $ac_executable_extensions; do
2535 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2536 ac_cv_prog_CC
="${ac_tool_prefix}cc"
2537 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2546 if test -n "$CC"; then
2547 echo "$as_me:$LINENO: result: $CC" >&5
2548 echo "${ECHO_T}$CC" >&6
2550 echo "$as_me:$LINENO: result: no" >&5
2551 echo "${ECHO_T}no" >&6
2555 if test -z "$ac_cv_prog_CC"; then
2557 # Extract the first word of "cc", so it can be a program name with args.
2558 set dummy cc
; ac_word
=$2
2559 echo "$as_me:$LINENO: checking for $ac_word" >&5
2560 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2561 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
2562 echo $ECHO_N "(cached) $ECHO_C" >&6
2564 if test -n "$ac_ct_CC"; then
2565 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
2567 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2571 test -z "$as_dir" && as_dir
=.
2572 for ac_exec_ext
in '' $ac_executable_extensions; do
2573 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2574 ac_cv_prog_ac_ct_CC
="cc"
2575 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2583 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
2584 if test -n "$ac_ct_CC"; then
2585 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
2586 echo "${ECHO_T}$ac_ct_CC" >&6
2588 echo "$as_me:$LINENO: result: no" >&5
2589 echo "${ECHO_T}no" >&6
2598 if test -z "$CC"; then
2599 # Extract the first word of "cc", so it can be a program name with args.
2600 set dummy cc
; ac_word
=$2
2601 echo "$as_me:$LINENO: checking for $ac_word" >&5
2602 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2603 if test "${ac_cv_prog_CC+set}" = set; then
2604 echo $ECHO_N "(cached) $ECHO_C" >&6
2606 if test -n "$CC"; then
2607 ac_cv_prog_CC
="$CC" # Let the user override the test.
2610 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2614 test -z "$as_dir" && as_dir
=.
2615 for ac_exec_ext
in '' $ac_executable_extensions; do
2616 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2617 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
2618 ac_prog_rejected
=yes
2622 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2628 if test $ac_prog_rejected = yes; then
2629 # We found a bogon in the path, so make sure we never use it.
2630 set dummy
$ac_cv_prog_CC
2632 if test $# != 0; then
2633 # We chose a different compiler from the bogus one.
2634 # However, it has the same basename, so the bogon will be chosen
2635 # first if we set CC to just the basename; use the full file name.
2637 ac_cv_prog_CC
="$as_dir/$ac_word${1+' '}$@"
2643 if test -n "$CC"; then
2644 echo "$as_me:$LINENO: result: $CC" >&5
2645 echo "${ECHO_T}$CC" >&6
2647 echo "$as_me:$LINENO: result: no" >&5
2648 echo "${ECHO_T}no" >&6
2652 if test -z "$CC"; then
2653 if test -n "$ac_tool_prefix"; then
2656 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
2657 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
2658 echo "$as_me:$LINENO: checking for $ac_word" >&5
2659 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2660 if test "${ac_cv_prog_CC+set}" = set; then
2661 echo $ECHO_N "(cached) $ECHO_C" >&6
2663 if test -n "$CC"; then
2664 ac_cv_prog_CC
="$CC" # Let the user override the test.
2666 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2670 test -z "$as_dir" && as_dir
=.
2671 for ac_exec_ext
in '' $ac_executable_extensions; do
2672 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2673 ac_cv_prog_CC
="$ac_tool_prefix$ac_prog"
2674 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2683 if test -n "$CC"; then
2684 echo "$as_me:$LINENO: result: $CC" >&5
2685 echo "${ECHO_T}$CC" >&6
2687 echo "$as_me:$LINENO: result: no" >&5
2688 echo "${ECHO_T}no" >&6
2691 test -n "$CC" && break
2694 if test -z "$CC"; then
2698 # Extract the first word of "$ac_prog", so it can be a program name with args.
2699 set dummy
$ac_prog; ac_word
=$2
2700 echo "$as_me:$LINENO: checking for $ac_word" >&5
2701 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2702 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
2703 echo $ECHO_N "(cached) $ECHO_C" >&6
2705 if test -n "$ac_ct_CC"; then
2706 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
2708 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2712 test -z "$as_dir" && as_dir
=.
2713 for ac_exec_ext
in '' $ac_executable_extensions; do
2714 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2715 ac_cv_prog_ac_ct_CC
="$ac_prog"
2716 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2724 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
2725 if test -n "$ac_ct_CC"; then
2726 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
2727 echo "${ECHO_T}$ac_ct_CC" >&6
2729 echo "$as_me:$LINENO: result: no" >&5
2730 echo "${ECHO_T}no" >&6
2733 test -n "$ac_ct_CC" && break
2742 test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
2743 See \`config.log' for more details." >&5
2744 echo "$as_me: error: no acceptable C compiler found in \$PATH
2745 See \`config.log' for more details." >&2;}
2746 { (exit 1); exit 1; }; }
2748 # Provide some information about the compiler.
2749 echo "$as_me:$LINENO:" \
2750 "checking for C compiler version" >&5
2751 ac_compiler
=`set X $ac_compile; echo $2`
2752 { (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5
2753 (eval $ac_compiler --version </dev
/null
>&5) 2>&5
2755 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2756 (exit $ac_status); }
2757 { (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5
2758 (eval $ac_compiler -v </dev
/null
>&5) 2>&5
2760 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2761 (exit $ac_status); }
2762 { (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5
2763 (eval $ac_compiler -V </dev
/null
>&5) 2>&5
2765 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2766 (exit $ac_status); }
2768 cat >conftest.
$ac_ext <<_ACEOF
2771 cat confdefs.h
>>conftest.
$ac_ext
2772 cat >>conftest.
$ac_ext <<_ACEOF
2773 /* end confdefs.h. */
2784 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
2785 (eval $ac_link) 2>&5
2787 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2788 (exit $ac_status); }; then
2794 if test x
$gcc_no_link = xyes
; then
2795 # Setting cross_compile will disable run tests; it will
2796 # also disable AC_CHECK_FILE but that's generally
2797 # correct if we can't link.
2801 cat >conftest.
$ac_ext <<_ACEOF
2804 cat confdefs.h
>>conftest.
$ac_ext
2805 cat >>conftest.
$ac_ext <<_ACEOF
2806 /* end confdefs.h. */
2816 ac_clean_files_save
=$ac_clean_files
2817 ac_clean_files
="$ac_clean_files a.out a.exe b.out"
2818 # Try to create an executable without -o first, disregard a.out.
2819 # It will help us diagnose broken compilers, and finding out an intuition
2821 echo "$as_me:$LINENO: checking for C compiler default output file name" >&5
2822 echo $ECHO_N "checking for C compiler default output file name... $ECHO_C" >&6
2823 ac_link_default
=`echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
2824 if { (eval echo "$as_me:$LINENO: \"$ac_link_default\"") >&5
2825 (eval $ac_link_default) 2>&5
2827 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2828 (exit $ac_status); }; then
2829 # Find the output, starting from the most likely. This scheme is
2830 # not robust to junk in `.', hence go to wildcards (a.*) only as a last
2833 # Be careful to initialize this variable, since it used to be cached.
2834 # Otherwise an old cache value of `no' led to `EXEEXT = no' in a Makefile.
2836 # b.out is created by i960 compilers.
2837 for ac_file
in a_out.exe a.exe conftest.exe a.out conftest a.
* conftest.
* b.out
2839 test -f "$ac_file" ||
continue
2841 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg |
*.o |
*.obj
)
2844 # This is the source file.
2847 # We found the default executable, but exeext='' is most
2851 ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
2852 # FIXME: I believe we export ac_cv_exeext for Libtool,
2853 # but it would be cool to find out if it's true. Does anybody
2854 # maintain Libtool? --akim.
2862 echo "$as_me: failed program was:" >&5
2863 sed 's/^/| /' conftest.
$ac_ext >&5
2865 { { echo "$as_me:$LINENO: error: C compiler cannot create executables
2866 See \`config.log' for more details." >&5
2867 echo "$as_me: error: C compiler cannot create executables
2868 See \`config.log' for more details." >&2;}
2869 { (exit 77); exit 77; }; }
2872 ac_exeext
=$ac_cv_exeext
2873 echo "$as_me:$LINENO: result: $ac_file" >&5
2874 echo "${ECHO_T}$ac_file" >&6
2876 # Check the compiler produces executables we can run. If not, either
2877 # the compiler is broken, or we cross compile.
2878 echo "$as_me:$LINENO: checking whether the C compiler works" >&5
2879 echo $ECHO_N "checking whether the C compiler works... $ECHO_C" >&6
2880 # FIXME: These cross compiler hacks should be removed for Autoconf 3.0
2881 # If not cross compiling, check that we can run a simple program.
2882 if test "$cross_compiling" != yes; then
2883 if { ac_try
='./$ac_file'
2884 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2887 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2888 (exit $ac_status); }; }; then
2891 if test "$cross_compiling" = maybe
; then
2894 { { echo "$as_me:$LINENO: error: cannot run C compiled programs.
2895 If you meant to cross compile, use \`--host'.
2896 See \`config.log' for more details." >&5
2897 echo "$as_me: error: cannot run C compiled programs.
2898 If you meant to cross compile, use \`--host'.
2899 See \`config.log' for more details." >&2;}
2900 { (exit 1); exit 1; }; }
2904 echo "$as_me:$LINENO: result: yes" >&5
2905 echo "${ECHO_T}yes" >&6
2907 rm -f a.out a.exe conftest
$ac_cv_exeext b.out
2908 ac_clean_files
=$ac_clean_files_save
2909 # Check the compiler produces executables we can run. If not, either
2910 # the compiler is broken, or we cross compile.
2911 echo "$as_me:$LINENO: checking whether we are cross compiling" >&5
2912 echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6
2913 echo "$as_me:$LINENO: result: $cross_compiling" >&5
2914 echo "${ECHO_T}$cross_compiling" >&6
2916 echo "$as_me:$LINENO: checking for suffix of executables" >&5
2917 echo $ECHO_N "checking for suffix of executables... $ECHO_C" >&6
2918 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
2919 (eval $ac_link) 2>&5
2921 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2922 (exit $ac_status); }; then
2923 # If both `conftest.exe' and `conftest' are `present' (well, observable)
2924 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
2925 # work properly (i.e., refer to `conftest.exe'), while it won't with
2927 for ac_file
in conftest.exe conftest conftest.
*; do
2928 test -f "$ac_file" ||
continue
2930 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg |
*.o |
*.obj
) ;;
2931 *.
* ) ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
2938 { { echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link
2939 See \`config.log' for more details." >&5
2940 echo "$as_me: error: cannot compute suffix of executables: cannot compile and link
2941 See \`config.log' for more details." >&2;}
2942 { (exit 1); exit 1; }; }
2945 rm -f conftest
$ac_cv_exeext
2946 echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
2947 echo "${ECHO_T}$ac_cv_exeext" >&6
2949 rm -f conftest.
$ac_ext
2950 EXEEXT
=$ac_cv_exeext
2953 echo "$as_me:$LINENO: checking for suffix of object files" >&5
2954 echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6
2955 if test "${ac_cv_objext+set}" = set; then
2956 echo $ECHO_N "(cached) $ECHO_C" >&6
2958 cat >conftest.
$ac_ext <<_ACEOF
2961 cat confdefs.h
>>conftest.
$ac_ext
2962 cat >>conftest.
$ac_ext <<_ACEOF
2963 /* end confdefs.h. */
2973 rm -f conftest.o conftest.obj
2974 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2975 (eval $ac_compile) 2>&5
2977 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2978 (exit $ac_status); }; then
2979 for ac_file
in `(ls conftest.o conftest.obj; ls conftest.*) 2>/dev/null`; do
2981 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg
) ;;
2982 *) ac_cv_objext
=`expr "$ac_file" : '.*\.\(.*\)'`
2987 echo "$as_me: failed program was:" >&5
2988 sed 's/^/| /' conftest.
$ac_ext >&5
2990 { { echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile
2991 See \`config.log' for more details." >&5
2992 echo "$as_me: error: cannot compute suffix of object files: cannot compile
2993 See \`config.log' for more details." >&2;}
2994 { (exit 1); exit 1; }; }
2997 rm -f conftest.
$ac_cv_objext conftest.
$ac_ext
2999 echo "$as_me:$LINENO: result: $ac_cv_objext" >&5
3000 echo "${ECHO_T}$ac_cv_objext" >&6
3001 OBJEXT
=$ac_cv_objext
3003 echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
3004 echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6
3005 if test "${ac_cv_c_compiler_gnu+set}" = set; then
3006 echo $ECHO_N "(cached) $ECHO_C" >&6
3008 cat >conftest.
$ac_ext <<_ACEOF
3011 cat confdefs.h
>>conftest.
$ac_ext
3012 cat >>conftest.
$ac_ext <<_ACEOF
3013 /* end confdefs.h. */
3026 rm -f conftest.
$ac_objext
3027 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3028 (eval $ac_compile) 2>conftest.er1
3030 grep -v '^ *+' conftest.er1
>conftest.err
3032 cat conftest.err
>&5
3033 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3034 (exit $ac_status); } &&
3035 { ac_try
='test -z "$ac_c_werror_flag"
3036 || test ! -s conftest.err'
3037 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3040 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3041 (exit $ac_status); }; } &&
3042 { ac_try
='test -s conftest.$ac_objext'
3043 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3046 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3047 (exit $ac_status); }; }; then
3050 echo "$as_me: failed program was:" >&5
3051 sed 's/^/| /' conftest.
$ac_ext >&5
3055 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
3056 ac_cv_c_compiler_gnu
=$ac_compiler_gnu
3059 echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
3060 echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6
3061 GCC
=`test $ac_compiler_gnu = yes && echo yes`
3062 ac_test_CFLAGS
=${CFLAGS+set}
3063 ac_save_CFLAGS
=$CFLAGS
3065 echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
3066 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6
3067 if test "${ac_cv_prog_cc_g+set}" = set; then
3068 echo $ECHO_N "(cached) $ECHO_C" >&6
3070 cat >conftest.
$ac_ext <<_ACEOF
3073 cat confdefs.h
>>conftest.
$ac_ext
3074 cat >>conftest.
$ac_ext <<_ACEOF
3075 /* end confdefs.h. */
3085 rm -f conftest.
$ac_objext
3086 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3087 (eval $ac_compile) 2>conftest.er1
3089 grep -v '^ *+' conftest.er1
>conftest.err
3091 cat conftest.err
>&5
3092 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3093 (exit $ac_status); } &&
3094 { ac_try
='test -z "$ac_c_werror_flag"
3095 || test ! -s conftest.err'
3096 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3099 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3100 (exit $ac_status); }; } &&
3101 { ac_try
='test -s conftest.$ac_objext'
3102 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3105 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3106 (exit $ac_status); }; }; then
3109 echo "$as_me: failed program was:" >&5
3110 sed 's/^/| /' conftest.
$ac_ext >&5
3114 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
3116 echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
3117 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6
3118 if test "$ac_test_CFLAGS" = set; then
3119 CFLAGS
=$ac_save_CFLAGS
3120 elif test $ac_cv_prog_cc_g = yes; then
3121 if test "$GCC" = yes; then
3127 if test "$GCC" = yes; then
3133 echo "$as_me:$LINENO: checking for $CC option to accept ANSI C" >&5
3134 echo $ECHO_N "checking for $CC option to accept ANSI C... $ECHO_C" >&6
3135 if test "${ac_cv_prog_cc_stdc+set}" = set; then
3136 echo $ECHO_N "(cached) $ECHO_C" >&6
3138 ac_cv_prog_cc_stdc
=no
3140 cat >conftest.
$ac_ext <<_ACEOF
3143 cat confdefs.h
>>conftest.
$ac_ext
3144 cat >>conftest.
$ac_ext <<_ACEOF
3145 /* end confdefs.h. */
3148 #include <sys/types.h>
3149 #include <sys/stat.h>
3150 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
3151 struct buf { int x; };
3152 FILE * (*rcsopen) (struct buf *, struct stat *, int);
3153 static char *e (p, i)
3159 static char *f (char * (*g) (char **, int), char **p, ...)
3164 s = g (p, va_arg (v,int));
3169 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
3170 function prototypes and stuff, but not '\xHH' hex character constants.
3171 These don't provoke an error unfortunately, instead are silently treated
3172 as 'x'. The following induces an error, until -std1 is added to get
3173 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
3174 array size at least. It's necessary to write '\x00'==0 to get something
3175 that's true only with -std1. */
3176 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
3178 int test (int i, double x);
3179 struct s1 {int (*f) (int a);};
3180 struct s2 {int (*f) (double a);};
3181 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
3187 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
3192 # Don't try gcc -ansi; that turns off useful extensions and
3193 # breaks some systems' header files.
3194 # AIX -qlanglvl=ansi
3195 # Ultrix and OSF/1 -std1
3196 # HP-UX 10.20 and later -Ae
3197 # HP-UX older versions -Aa -D_HPUX_SOURCE
3198 # SVR4 -Xc -D__EXTENSIONS__
3199 for ac_arg
in "" -qlanglvl=ansi
-std1 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
3201 CC
="$ac_save_CC $ac_arg"
3202 rm -f conftest.
$ac_objext
3203 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3204 (eval $ac_compile) 2>conftest.er1
3206 grep -v '^ *+' conftest.er1
>conftest.err
3208 cat conftest.err
>&5
3209 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3210 (exit $ac_status); } &&
3211 { ac_try
='test -z "$ac_c_werror_flag"
3212 || test ! -s conftest.err'
3213 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3216 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3217 (exit $ac_status); }; } &&
3218 { ac_try
='test -s conftest.$ac_objext'
3219 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3222 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3223 (exit $ac_status); }; }; then
3224 ac_cv_prog_cc_stdc
=$ac_arg
3227 echo "$as_me: failed program was:" >&5
3228 sed 's/^/| /' conftest.
$ac_ext >&5
3231 rm -f conftest.err conftest.
$ac_objext
3233 rm -f conftest.
$ac_ext conftest.
$ac_objext
3238 case "x$ac_cv_prog_cc_stdc" in
3240 echo "$as_me:$LINENO: result: none needed" >&5
3241 echo "${ECHO_T}none needed" >&6 ;;
3243 echo "$as_me:$LINENO: result: $ac_cv_prog_cc_stdc" >&5
3244 echo "${ECHO_T}$ac_cv_prog_cc_stdc" >&6
3245 CC
="$CC $ac_cv_prog_cc_stdc" ;;
3248 # Some people use a C++ compiler to compile C. Since we use `exit',
3249 # in C++ we need to declare it. In case someone uses the same compiler
3250 # for both compiling C and C++ we need to have the C++ compiler decide
3251 # the declaration of exit, since it's the most demanding environment.
3252 cat >conftest.
$ac_ext <<_ACEOF
3257 rm -f conftest.
$ac_objext
3258 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3259 (eval $ac_compile) 2>conftest.er1
3261 grep -v '^ *+' conftest.er1
>conftest.err
3263 cat conftest.err
>&5
3264 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3265 (exit $ac_status); } &&
3266 { ac_try
='test -z "$ac_c_werror_flag"
3267 || test ! -s conftest.err'
3268 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3271 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3272 (exit $ac_status); }; } &&
3273 { ac_try
='test -s conftest.$ac_objext'
3274 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3277 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3278 (exit $ac_status); }; }; then
3279 for ac_declaration
in \
3281 'extern "C" void std::exit (int) throw (); using std::exit;' \
3282 'extern "C" void std::exit (int); using std::exit;' \
3283 'extern "C" void exit (int) throw ();' \
3284 'extern "C" void exit (int);' \
3287 cat >conftest.
$ac_ext <<_ACEOF
3290 cat confdefs.h
>>conftest.
$ac_ext
3291 cat >>conftest.
$ac_ext <<_ACEOF
3292 /* end confdefs.h. */
3303 rm -f conftest.
$ac_objext
3304 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3305 (eval $ac_compile) 2>conftest.er1
3307 grep -v '^ *+' conftest.er1
>conftest.err
3309 cat conftest.err
>&5
3310 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3311 (exit $ac_status); } &&
3312 { ac_try
='test -z "$ac_c_werror_flag"
3313 || test ! -s conftest.err'
3314 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3317 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3318 (exit $ac_status); }; } &&
3319 { ac_try
='test -s conftest.$ac_objext'
3320 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3323 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3324 (exit $ac_status); }; }; then
3327 echo "$as_me: failed program was:" >&5
3328 sed 's/^/| /' conftest.
$ac_ext >&5
3332 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
3333 cat >conftest.
$ac_ext <<_ACEOF
3336 cat confdefs.h
>>conftest.
$ac_ext
3337 cat >>conftest.
$ac_ext <<_ACEOF
3338 /* end confdefs.h. */
3348 rm -f conftest.
$ac_objext
3349 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3350 (eval $ac_compile) 2>conftest.er1
3352 grep -v '^ *+' conftest.er1
>conftest.err
3354 cat conftest.err
>&5
3355 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3356 (exit $ac_status); } &&
3357 { ac_try
='test -z "$ac_c_werror_flag"
3358 || test ! -s conftest.err'
3359 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3362 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3363 (exit $ac_status); }; } &&
3364 { ac_try
='test -s conftest.$ac_objext'
3365 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3368 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3369 (exit $ac_status); }; }; then
3372 echo "$as_me: failed program was:" >&5
3373 sed 's/^/| /' conftest.
$ac_ext >&5
3376 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
3379 if test -n "$ac_declaration"; then
3380 echo '#ifdef __cplusplus' >>confdefs.h
3381 echo $ac_declaration >>confdefs.h
3382 echo '#endif' >>confdefs.h
3386 echo "$as_me: failed program was:" >&5
3387 sed 's/^/| /' conftest.
$ac_ext >&5
3390 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
3392 ac_cpp
='$CPP $CPPFLAGS'
3393 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3394 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3395 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
3397 depcc
="$CC" am_compiler_list
=
3399 echo "$as_me:$LINENO: checking dependency style of $depcc" >&5
3400 echo $ECHO_N "checking dependency style of $depcc... $ECHO_C" >&6
3401 if test "${am_cv_CC_dependencies_compiler_type+set}" = set; then
3402 echo $ECHO_N "(cached) $ECHO_C" >&6
3404 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
3405 # We make a subdir and do the tests there. Otherwise we can end up
3406 # making bogus files that we don't know about and never remove. For
3407 # instance it was reported that on HP-UX the gcc test will end up
3408 # making a dummy file named `D' -- because `-MD' means `put the output
3411 # Copy depcomp to subdir because otherwise we won't find it if we're
3412 # using a relative directory.
3413 cp "$am_depcomp" conftest.dir
3415 # We will build objects and dependencies in a subdirectory because
3416 # it helps to detect inapplicable dependency modes. For instance
3417 # both Tru64's cc and ICC support -MD to output dependencies as a
3418 # side effect of compilation, but ICC will put the dependencies in
3419 # the current directory while Tru64 will put them in the object
3423 am_cv_CC_dependencies_compiler_type
=none
3424 if test "$am_compiler_list" = ""; then
3425 am_compiler_list
=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
3427 for depmode
in $am_compiler_list; do
3428 # Setup a source with many dependencies, because some compilers
3429 # like to wrap large dependency lists on column 80 (with \), and
3430 # we should not choose a depcomp mode which is confused by this.
3432 # We need to recreate these files for each test, as the compiler may
3433 # overwrite some of them when testing with obscure command lines.
3434 # This happens at least with the AIX C compiler.
3436 for i
in 1 2 3 4 5 6; do
3437 echo '#include "conftst'$i'.h"' >> sub
/conftest.c
3438 # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
3439 # Solaris 8's {/usr,}/bin/sh.
3440 touch sub
/conftst
$i.h
3442 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
3446 # after this tag, mechanisms are not by side-effect, so they'll
3447 # only be used when explicitly requested
3448 if test "x$enable_dependency_tracking" = xyes
; then
3456 # We check with `-c' and `-o' for the sake of the "dashmstdout"
3457 # mode. It turns out that the SunPro C++ compiler does not properly
3458 # handle `-M -o', and we need to detect this.
3459 if depmode
=$depmode \
3460 source=sub
/conftest.c object
=sub
/conftest.
${OBJEXT-o} \
3461 depfile
=sub
/conftest.Po tmpdepfile
=sub
/conftest.TPo \
3462 $SHELL .
/depcomp
$depcc -c -o sub
/conftest.
${OBJEXT-o} sub
/conftest.c \
3463 >/dev
/null
2>conftest.err
&&
3464 grep sub
/conftst6.h sub
/conftest.Po
> /dev
/null
2>&1 &&
3465 grep sub
/conftest.
${OBJEXT-o} sub
/conftest.Po
> /dev
/null
2>&1 &&
3466 ${MAKE-make} -s -f confmf
> /dev
/null
2>&1; then
3467 # icc doesn't choke on unknown options, it will just issue warnings
3468 # or remarks (even with -Werror). So we grep stderr for any message
3469 # that says an option was ignored or not supported.
3470 # When given -MP, icc 7.0 and 7.1 complain thusly:
3471 # icc: Command line warning: ignoring option '-M'; no argument required
3472 # The diagnosis changed in icc 8.0:
3473 # icc: Command line remark: option '-MP' not supported
3474 if (grep 'ignoring option' conftest.err ||
3475 grep 'not supported' conftest.err
) >/dev
/null
2>&1; then :; else
3476 am_cv_CC_dependencies_compiler_type
=$depmode
3485 am_cv_CC_dependencies_compiler_type
=none
3489 echo "$as_me:$LINENO: result: $am_cv_CC_dependencies_compiler_type" >&5
3490 echo "${ECHO_T}$am_cv_CC_dependencies_compiler_type" >&6
3491 CCDEPMODE
=depmode
=$am_cv_CC_dependencies_compiler_type
3496 test "x$enable_dependency_tracking" != xno \
3497 && test "$am_cv_CC_dependencies_compiler_type" = gcc3
; then
3499 am__fastdepCC_FALSE
='#'
3501 am__fastdepCC_TRUE
='#'
3502 am__fastdepCC_FALSE
=
3507 # Check whether --with-gnu-ld or --without-gnu-ld was given.
3508 if test "${with_gnu_ld+set}" = set; then
3509 withval
="$with_gnu_ld"
3510 test "$withval" = no || with_gnu_ld
=yes
3515 if test "$GCC" = yes; then
3516 # Check if gcc -print-prog-name=ld gives a path.
3517 echo "$as_me:$LINENO: checking for ld used by GCC" >&5
3518 echo $ECHO_N "checking for ld used by GCC... $ECHO_C" >&6
3521 # gcc leaves a trailing carriage return which upsets mingw
3522 ac_prog
=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
3524 ac_prog
=`($CC -print-prog-name=ld) 2>&5` ;;
3527 # Accept absolute paths.
3528 [\\/]* |
[A-Za-z
]:[\\/]*)
3529 re_direlt
='/[^/][^/]*/\.\./'
3530 # Canonicalize the path of ld
3531 ac_prog
=`echo $ac_prog| sed 's%\\\\%/%g'`
3532 while echo $ac_prog |
grep "$re_direlt" > /dev
/null
2>&1; do
3533 ac_prog
=`echo $ac_prog| sed "s%$re_direlt%/%"`
3535 test -z "$LD" && LD
="$ac_prog"
3538 # If it fails, then pretend we aren't using GCC.
3542 # If it is relative, then search for the first ld in PATH.
3546 elif test "$with_gnu_ld" = yes; then
3547 echo "$as_me:$LINENO: checking for GNU ld" >&5
3548 echo $ECHO_N "checking for GNU ld... $ECHO_C" >&6
3550 echo "$as_me:$LINENO: checking for non-GNU ld" >&5
3551 echo $ECHO_N "checking for non-GNU ld... $ECHO_C" >&6
3553 if test "${lt_cv_path_LD+set}" = set; then
3554 echo $ECHO_N "(cached) $ECHO_C" >&6
3556 if test -z "$LD"; then
3557 IFS
="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}${PATH_SEPARATOR-:}"
3558 for ac_dir
in $PATH; do
3559 test -z "$ac_dir" && ac_dir
=.
3560 if test -f "$ac_dir/$ac_prog" ||
test -f "$ac_dir/$ac_prog$ac_exeext"; then
3561 lt_cv_path_LD
="$ac_dir/$ac_prog"
3562 # Check to see if the program is GNU ld. I'd rather use --version,
3563 # but apparently some GNU ld's only accept -v.
3564 # Break only if it was the GNU/non-GNU ld that we prefer.
3565 if "$lt_cv_path_LD" -v 2>&1 < /dev
/null |
egrep '(GNU|with BFD)' > /dev
/null
; then
3566 test "$with_gnu_ld" != no
&& break
3568 test "$with_gnu_ld" != yes && break
3574 lt_cv_path_LD
="$LD" # Let the user override the test with a path.
3579 if test -n "$LD"; then
3580 echo "$as_me:$LINENO: result: $LD" >&5
3581 echo "${ECHO_T}$LD" >&6
3583 echo "$as_me:$LINENO: result: no" >&5
3584 echo "${ECHO_T}no" >&6
3586 test -z "$LD" && { { echo "$as_me:$LINENO: error: no acceptable ld found in \$PATH" >&5
3587 echo "$as_me: error: no acceptable ld found in \$PATH" >&2;}
3588 { (exit 1); exit 1; }; }
3589 echo "$as_me:$LINENO: checking if the linker ($LD) is GNU ld" >&5
3590 echo $ECHO_N "checking if the linker ($LD) is GNU ld... $ECHO_C" >&6
3591 if test "${lt_cv_prog_gnu_ld+set}" = set; then
3592 echo $ECHO_N "(cached) $ECHO_C" >&6
3594 # I'd rather use --version here, but apparently some GNU ld's only accept -v.
3595 if $LD -v 2>&1 </dev
/null |
egrep '(GNU|with BFD)' 1>&5; then
3596 lt_cv_prog_gnu_ld
=yes
3598 lt_cv_prog_gnu_ld
=no
3601 echo "$as_me:$LINENO: result: $lt_cv_prog_gnu_ld" >&5
3602 echo "${ECHO_T}$lt_cv_prog_gnu_ld" >&6
3603 with_gnu_ld
=$lt_cv_prog_gnu_ld
3606 echo "$as_me:$LINENO: checking for $LD option to reload object files" >&5
3607 echo $ECHO_N "checking for $LD option to reload object files... $ECHO_C" >&6
3608 if test "${lt_cv_ld_reload_flag+set}" = set; then
3609 echo $ECHO_N "(cached) $ECHO_C" >&6
3611 lt_cv_ld_reload_flag
='-r'
3613 echo "$as_me:$LINENO: result: $lt_cv_ld_reload_flag" >&5
3614 echo "${ECHO_T}$lt_cv_ld_reload_flag" >&6
3615 reload_flag
=$lt_cv_ld_reload_flag
3616 test -n "$reload_flag" && reload_flag
=" $reload_flag"
3618 echo "$as_me:$LINENO: checking for BSD-compatible nm" >&5
3619 echo $ECHO_N "checking for BSD-compatible nm... $ECHO_C" >&6
3620 if test "${lt_cv_path_NM+set}" = set; then
3621 echo $ECHO_N "(cached) $ECHO_C" >&6
3623 if test -n "$NM"; then
3624 # Let the user override the test.
3627 IFS
="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}${PATH_SEPARATOR-:}"
3628 for ac_dir
in $PATH /usr
/ccs
/bin
/usr
/ucb
/bin
; do
3629 test -z "$ac_dir" && ac_dir
=.
3630 tmp_nm
=$ac_dir/${ac_tool_prefix}nm
3631 if test -f $tmp_nm ||
test -f $tmp_nm$ac_exeext ; then
3632 # Check to see if the nm accepts a BSD-compat flag.
3633 # Adding the `sed 1q' prevents false positives on HP-UX, which says:
3634 # nm: unknown option "B" ignored
3635 # Tru64's nm complains that /dev/null is an invalid object file
3636 if ($tmp_nm -B /dev
/null
2>&1 |
sed '1q'; exit 0) |
egrep '(/dev/null|Invalid file or object type)' >/dev
/null
; then
3637 lt_cv_path_NM
="$tmp_nm -B"
3639 elif ($tmp_nm -p /dev
/null
2>&1 |
sed '1q'; exit 0) |
egrep /dev
/null
>/dev
/null
; then
3640 lt_cv_path_NM
="$tmp_nm -p"
3643 lt_cv_path_NM
=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but
3644 continue # so that we can try to find one that supports BSD flags
3649 test -z "$lt_cv_path_NM" && lt_cv_path_NM
=nm
3654 echo "$as_me:$LINENO: result: $NM" >&5
3655 echo "${ECHO_T}$NM" >&6
3657 echo "$as_me:$LINENO: checking how to recognise dependant libraries" >&5
3658 echo $ECHO_N "checking how to recognise dependant libraries... $ECHO_C" >&6
3659 if test "${lt_cv_deplibs_check_method+set}" = set; then
3660 echo $ECHO_N "(cached) $ECHO_C" >&6
3662 lt_cv_file_magic_cmd
='$MAGIC_CMD'
3663 lt_cv_file_magic_test_file
=
3664 lt_cv_deplibs_check_method
='unknown'
3665 # Need to set the preceding variable on all platforms that support
3666 # interlibrary dependencies.
3667 # 'none' -- dependencies not supported.
3668 # `unknown' -- same as none, but documents that we really don't know.
3669 # 'pass_all' -- all dependencies passed with no checks.
3670 # 'test_compile' -- check by making test program.
3671 # 'file_magic [regex]' -- check by looking for files in library path
3672 # which responds to the $file_magic_cmd with a given egrep regex.
3673 # If you have `file' or equivalent on your system and you're not sure
3674 # whether `pass_all' will *always* work, you probably want this one.
3678 lt_cv_deplibs_check_method
=pass_all
3682 lt_cv_deplibs_check_method
=pass_all
3686 lt_cv_deplibs_check_method
='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib)'
3687 lt_cv_file_magic_cmd
='/usr/bin/file -L'
3688 lt_cv_file_magic_test_file
=/shlib
/libc.so
3691 cygwin
* | mingw
* |pw32
*)
3692 lt_cv_deplibs_check_method
='file_magic file format pei*-i386(.*architecture: i386)?'
3693 lt_cv_file_magic_cmd
='$OBJDUMP -f'
3696 darwin
* | rhapsody
*)
3697 # this will be overwritten by pass_all, but leave it in just in case
3698 lt_cv_deplibs_check_method
='file_magic Mach-O dynamically linked shared library'
3699 lt_cv_file_magic_cmd
='/usr/bin/file -L'
3701 rhapsody
* | darwin1.012
)
3702 lt_cv_file_magic_test_file
='/System/Library/Frameworks/System.framework/System'
3705 lt_cv_file_magic_test_file
='/usr/lib/libSystem.dylib'
3708 lt_cv_deplibs_check_method
=pass_all
3711 freebsd
* | kfreebsd
*-gnu)
3712 if echo __ELF__ |
$CC -E - |
grep __ELF__
> /dev
/null
; then
3715 # Not sure whether the presence of OpenBSD here was a mistake.
3716 # Let's accept both of them until this is cleared up.
3717 lt_cv_deplibs_check_method
='file_magic (FreeBSD|OpenBSD)/i[3-9]86 (compact )?demand paged shared library'
3718 lt_cv_file_magic_cmd
=/usr
/bin
/file
3719 lt_cv_file_magic_test_file
=`echo /usr/lib/libc.so.*`
3723 lt_cv_deplibs_check_method
=pass_all
3728 lt_cv_deplibs_check_method
=pass_all
3734 lt_cv_deplibs_check_method
='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9].[0-9]) shared library'
3735 lt_cv_file_magic_cmd
=/usr
/bin
/file
3736 lt_cv_file_magic_test_file
=/usr
/lib
/libc.sl
3739 lt_cv_deplibs_check_method
='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - IA64'
3740 lt_cv_file_magic_cmd
=/usr
/bin
/file
3741 lt_cv_file_magic_test_file
=/usr
/lib
/hpux32
/libc.so
3749 # this will be overridden with pass_all, but let us keep it just in case
3750 lt_cv_deplibs_check_method
="file_magic ELF 32-bit MSB dynamic lib MIPS - version 1"
3754 *-32|
*"-32 ") libmagic
=32-bit;;
3755 *-n32|
*"-n32 ") libmagic
=N32
;;
3756 *-64|
*"-64 ") libmagic
=64-bit;;
3757 *) libmagic
=never-match
;;
3759 # this will be overridden with pass_all, but let us keep it just in case
3760 lt_cv_deplibs_check_method
="file_magic ELF ${libmagic} MSB mips-[1234] dynamic lib MIPS - version 1"
3763 lt_cv_file_magic_test_file
=`echo /lib${libsuff}/libc.so*`
3764 lt_cv_deplibs_check_method
=pass_all
3767 # This must be Linux ELF.
3769 lt_cv_deplibs_check_method
=pass_all
3772 netbsd
* | knetbsd
*-gnu)
3773 if echo __ELF__ |
$CC -E - |
grep __ELF__
> /dev
/null
; then
3774 lt_cv_deplibs_check_method
='match_pattern /lib[^/\.]+\.so\.[0-9]+\.[0-9]+$'
3776 lt_cv_deplibs_check_method
='match_pattern /lib[^/\.]+\.so$'
3781 lt_cv_deplibs_check_method
='file_magic ELF [0-9][0-9]*-bit [ML]SB (executable|dynamic lib)'
3782 lt_cv_file_magic_cmd
=/usr
/bin
/file
3783 lt_cv_file_magic_test_file
=/usr
/lib
/libnls.so
3786 osf3
* | osf4
* | osf5
*)
3787 # this will be overridden with pass_all, but let us keep it just in case
3788 lt_cv_deplibs_check_method
='file_magic COFF format alpha shared library'
3789 lt_cv_file_magic_test_file
=/shlib
/libc.so
3790 lt_cv_deplibs_check_method
=pass_all
3794 lt_cv_deplibs_check_method
=pass_all
3798 lt_cv_deplibs_check_method
=pass_all
3799 lt_cv_file_magic_test_file
=/lib
/libc.so
3802 sysv5uw
[78]* | sysv4
*uw2
*)
3803 lt_cv_deplibs_check_method
=pass_all
3806 sysv4 | sysv4.2uw2
* | sysv4.3
* | sysv5
*)
3807 case $host_vendor in
3809 lt_cv_deplibs_check_method
=pass_all
3812 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]'
3813 lt_cv_file_magic_test_file
=`echo /usr/lib/libc.so*`
3820 echo "$as_me:$LINENO: result: $lt_cv_deplibs_check_method" >&5
3821 echo "${ECHO_T}$lt_cv_deplibs_check_method" >&6
3822 file_magic_cmd
=$lt_cv_file_magic_cmd
3823 deplibs_check_method
=$lt_cv_deplibs_check_method
3829 # Autoconf 2.13's AC_OBJEXT and AC_EXEEXT macros only works for C compilers!
3831 # find the maximum length of command line arguments
3832 echo "$as_me:$LINENO: checking the maximum length of command line arguments" >&5
3833 echo $ECHO_N "checking the maximum length of command line arguments... $ECHO_C" >&6
3834 if test "${lt_cv_sys_max_cmd_len+set}" = set; then
3835 echo $ECHO_N "(cached) $ECHO_C" >&6
3842 # On DJGPP, this test can blow up pretty badly due to problems in libc
3843 # (any single argument exceeding 2000 bytes causes a buffer overrun
3844 # during glob expansion). Even if it were fixed, the result of this
3845 # check would be larger than it should be.
3846 lt_cv_sys_max_cmd_len
=12288; # 12K is about right
3850 # On Win9x/ME, this test blows up -- it succeeds, but takes
3851 # about 5 minutes as the teststring grows exponentially.
3852 # Worse, since 9x/ME are not pre-emptively multitasking,
3853 # you end up with a "frozen" computer, even though with patience
3854 # the test eventually succeeds (with a max line length of 256k).
3855 # Instead, let's just punt: use the minimum linelength reported by
3856 # all of the supported platforms: 8192 (on NT/2K/XP).
3857 lt_cv_sys_max_cmd_len
=8192;
3861 # On AmigaOS with pdksh, this test takes hours, literally.
3862 # So we just punt and use a minimum line length of 8192.
3863 lt_cv_sys_max_cmd_len
=8192;
3866 netbsd
* | freebsd
* | openbsd
* | darwin
* | dragonfly
*)
3867 # This has been around since 386BSD, at least. Likely further.
3868 if test -x /sbin
/sysctl
; then
3869 lt_cv_sys_max_cmd_len
=`/sbin/sysctl -n kern.argmax`
3870 elif test -x /usr
/sbin
/sysctl
; then
3871 lt_cv_sys_max_cmd_len
=`/usr/sbin/sysctl -n kern.argmax`
3873 lt_cv_sys_max_cmd_len
=65536 # usable default for *BSD
3875 # And add a safety zone
3876 lt_cv_sys_max_cmd_len
=`expr $lt_cv_sys_max_cmd_len \/ 4`
3877 lt_cv_sys_max_cmd_len
=`expr $lt_cv_sys_max_cmd_len \* 3`
3883 if test -n "$lt_cv_sys_max_cmd_len" ; then
3884 echo "$as_me:$LINENO: result: $lt_cv_sys_max_cmd_len" >&5
3885 echo "${ECHO_T}$lt_cv_sys_max_cmd_len" >&6
3887 echo "$as_me:$LINENO: result: none" >&5
3888 echo "${ECHO_T}none" >&6
3892 # Only perform the check for file, if the check method requires it
3893 case $deplibs_check_method in
3895 if test "$file_magic_cmd" = '$MAGIC_CMD'; then
3896 echo "$as_me:$LINENO: checking for ${ac_tool_prefix}file" >&5
3897 echo $ECHO_N "checking for ${ac_tool_prefix}file... $ECHO_C" >&6
3898 if test "${lt_cv_path_MAGIC_CMD+set}" = set; then
3899 echo $ECHO_N "(cached) $ECHO_C" >&6
3903 lt_cv_path_MAGIC_CMD
="$MAGIC_CMD" # Let the user override the test with a path.
3906 lt_cv_path_MAGIC_CMD
="$MAGIC_CMD" # Let the user override the test with a dos path.
3909 ac_save_MAGIC_CMD
="$MAGIC_CMD"
3910 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
=":"
3911 ac_dummy
="/usr/bin:$PATH"
3912 for ac_dir
in $ac_dummy; do
3913 test -z "$ac_dir" && ac_dir
=.
3914 if test -f $ac_dir/${ac_tool_prefix}file; then
3915 lt_cv_path_MAGIC_CMD
="$ac_dir/${ac_tool_prefix}file"
3916 if test -n "$file_magic_test_file"; then
3917 case $deplibs_check_method in
3919 file_magic_regex
="`expr \"$deplibs_check_method\" : \"file_magic \(.*\)\"`"
3920 MAGIC_CMD
="$lt_cv_path_MAGIC_CMD"
3921 if eval $file_magic_cmd \
$file_magic_test_file 2> /dev
/null |
3922 egrep "$file_magic_regex" > /dev
/null
; then
3927 *** Warning: the command libtool uses to detect shared libraries,
3928 *** $file_magic_cmd, produces output that libtool cannot recognize.
3929 *** The result is that libtool may fail to recognize shared libraries
3930 *** as such. This will affect the creation of libtool libraries that
3931 *** depend on shared libraries, but programs linked with such libtool
3932 *** libraries will work regardless of this problem. Nevertheless, you
3933 *** may want to report the problem to your system manager and/or to
3934 *** bug-libtool@gnu.org
3944 MAGIC_CMD
="$ac_save_MAGIC_CMD"
3949 MAGIC_CMD
="$lt_cv_path_MAGIC_CMD"
3950 if test -n "$MAGIC_CMD"; then
3951 echo "$as_me:$LINENO: result: $MAGIC_CMD" >&5
3952 echo "${ECHO_T}$MAGIC_CMD" >&6
3954 echo "$as_me:$LINENO: result: no" >&5
3955 echo "${ECHO_T}no" >&6
3958 if test -z "$lt_cv_path_MAGIC_CMD"; then
3959 if test -n "$ac_tool_prefix"; then
3960 echo "$as_me:$LINENO: checking for file" >&5
3961 echo $ECHO_N "checking for file... $ECHO_C" >&6
3962 if test "${lt_cv_path_MAGIC_CMD+set}" = set; then
3963 echo $ECHO_N "(cached) $ECHO_C" >&6
3967 lt_cv_path_MAGIC_CMD
="$MAGIC_CMD" # Let the user override the test with a path.
3970 lt_cv_path_MAGIC_CMD
="$MAGIC_CMD" # Let the user override the test with a dos path.
3973 ac_save_MAGIC_CMD
="$MAGIC_CMD"
3974 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
=":"
3975 ac_dummy
="/usr/bin:$PATH"
3976 for ac_dir
in $ac_dummy; do
3977 test -z "$ac_dir" && ac_dir
=.
3978 if test -f $ac_dir/file; then
3979 lt_cv_path_MAGIC_CMD
="$ac_dir/file"
3980 if test -n "$file_magic_test_file"; then
3981 case $deplibs_check_method in
3983 file_magic_regex
="`expr \"$deplibs_check_method\" : \"file_magic \(.*\)\"`"
3984 MAGIC_CMD
="$lt_cv_path_MAGIC_CMD"
3985 if eval $file_magic_cmd \
$file_magic_test_file 2> /dev
/null |
3986 egrep "$file_magic_regex" > /dev
/null
; then
3991 *** Warning: the command libtool uses to detect shared libraries,
3992 *** $file_magic_cmd, produces output that libtool cannot recognize.
3993 *** The result is that libtool may fail to recognize shared libraries
3994 *** as such. This will affect the creation of libtool libraries that
3995 *** depend on shared libraries, but programs linked with such libtool
3996 *** libraries will work regardless of this problem. Nevertheless, you
3997 *** may want to report the problem to your system manager and/or to
3998 *** bug-libtool@gnu.org
4008 MAGIC_CMD
="$ac_save_MAGIC_CMD"
4013 MAGIC_CMD
="$lt_cv_path_MAGIC_CMD"
4014 if test -n "$MAGIC_CMD"; then
4015 echo "$as_me:$LINENO: result: $MAGIC_CMD" >&5
4016 echo "${ECHO_T}$MAGIC_CMD" >&6
4018 echo "$as_me:$LINENO: result: no" >&5
4019 echo "${ECHO_T}no" >&6
4031 if test -n "$ac_tool_prefix"; then
4032 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
4033 set dummy
${ac_tool_prefix}ranlib
; ac_word
=$2
4034 echo "$as_me:$LINENO: checking for $ac_word" >&5
4035 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
4036 if test "${ac_cv_prog_RANLIB+set}" = set; then
4037 echo $ECHO_N "(cached) $ECHO_C" >&6
4039 if test -n "$RANLIB"; then
4040 ac_cv_prog_RANLIB
="$RANLIB" # Let the user override the test.
4042 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4046 test -z "$as_dir" && as_dir
=.
4047 for ac_exec_ext
in '' $ac_executable_extensions; do
4048 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4049 ac_cv_prog_RANLIB
="${ac_tool_prefix}ranlib"
4050 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4058 RANLIB
=$ac_cv_prog_RANLIB
4059 if test -n "$RANLIB"; then
4060 echo "$as_me:$LINENO: result: $RANLIB" >&5
4061 echo "${ECHO_T}$RANLIB" >&6
4063 echo "$as_me:$LINENO: result: no" >&5
4064 echo "${ECHO_T}no" >&6
4068 if test -z "$ac_cv_prog_RANLIB"; then
4069 ac_ct_RANLIB
=$RANLIB
4070 # Extract the first word of "ranlib", so it can be a program name with args.
4071 set dummy ranlib
; ac_word
=$2
4072 echo "$as_me:$LINENO: checking for $ac_word" >&5
4073 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
4074 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
4075 echo $ECHO_N "(cached) $ECHO_C" >&6
4077 if test -n "$ac_ct_RANLIB"; then
4078 ac_cv_prog_ac_ct_RANLIB
="$ac_ct_RANLIB" # Let the user override the test.
4080 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4084 test -z "$as_dir" && as_dir
=.
4085 for ac_exec_ext
in '' $ac_executable_extensions; do
4086 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4087 ac_cv_prog_ac_ct_RANLIB
="ranlib"
4088 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4094 test -z "$ac_cv_prog_ac_ct_RANLIB" && ac_cv_prog_ac_ct_RANLIB
=":"
4097 ac_ct_RANLIB
=$ac_cv_prog_ac_ct_RANLIB
4098 if test -n "$ac_ct_RANLIB"; then
4099 echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
4100 echo "${ECHO_T}$ac_ct_RANLIB" >&6
4102 echo "$as_me:$LINENO: result: no" >&5
4103 echo "${ECHO_T}no" >&6
4106 RANLIB
=$ac_ct_RANLIB
4108 RANLIB
="$ac_cv_prog_RANLIB"
4111 if test -n "$ac_tool_prefix"; then
4112 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
4113 set dummy
${ac_tool_prefix}strip
; ac_word
=$2
4114 echo "$as_me:$LINENO: checking for $ac_word" >&5
4115 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
4116 if test "${ac_cv_prog_STRIP+set}" = set; then
4117 echo $ECHO_N "(cached) $ECHO_C" >&6
4119 if test -n "$STRIP"; then
4120 ac_cv_prog_STRIP
="$STRIP" # Let the user override the test.
4122 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4126 test -z "$as_dir" && as_dir
=.
4127 for ac_exec_ext
in '' $ac_executable_extensions; do
4128 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4129 ac_cv_prog_STRIP
="${ac_tool_prefix}strip"
4130 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4138 STRIP
=$ac_cv_prog_STRIP
4139 if test -n "$STRIP"; then
4140 echo "$as_me:$LINENO: result: $STRIP" >&5
4141 echo "${ECHO_T}$STRIP" >&6
4143 echo "$as_me:$LINENO: result: no" >&5
4144 echo "${ECHO_T}no" >&6
4148 if test -z "$ac_cv_prog_STRIP"; then
4150 # Extract the first word of "strip", so it can be a program name with args.
4151 set dummy strip
; ac_word
=$2
4152 echo "$as_me:$LINENO: checking for $ac_word" >&5
4153 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
4154 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
4155 echo $ECHO_N "(cached) $ECHO_C" >&6
4157 if test -n "$ac_ct_STRIP"; then
4158 ac_cv_prog_ac_ct_STRIP
="$ac_ct_STRIP" # Let the user override the test.
4160 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4164 test -z "$as_dir" && as_dir
=.
4165 for ac_exec_ext
in '' $ac_executable_extensions; do
4166 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4167 ac_cv_prog_ac_ct_STRIP
="strip"
4168 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4174 test -z "$ac_cv_prog_ac_ct_STRIP" && ac_cv_prog_ac_ct_STRIP
=":"
4177 ac_ct_STRIP
=$ac_cv_prog_ac_ct_STRIP
4178 if test -n "$ac_ct_STRIP"; then
4179 echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
4180 echo "${ECHO_T}$ac_ct_STRIP" >&6
4182 echo "$as_me:$LINENO: result: no" >&5
4183 echo "${ECHO_T}no" >&6
4188 STRIP
="$ac_cv_prog_STRIP"
4192 # Check for any special flags to pass to ltconfig.
4193 libtool_flags
="--cache-file=$cache_file"
4194 test "$enable_shared" = no
&& libtool_flags
="$libtool_flags --disable-shared"
4195 test "$enable_static" = no
&& libtool_flags
="$libtool_flags --disable-static"
4196 test "$enable_fast_install" = no
&& libtool_flags
="$libtool_flags --disable-fast-install"
4197 test "$GCC" = yes && libtool_flags
="$libtool_flags --with-gcc"
4198 test "$lt_cv_prog_gnu_ld" = yes && libtool_flags
="$libtool_flags --with-gnu-ld"
4201 # Check whether --enable-libtool-lock or --disable-libtool-lock was given.
4202 if test "${enable_libtool_lock+set}" = set; then
4203 enableval
="$enable_libtool_lock"
4206 test "x$enable_libtool_lock" = xno
&& libtool_flags
="$libtool_flags --disable-lock"
4207 test x
"$silent" = xyes
&& libtool_flags
="$libtool_flags --silent"
4210 # Check whether --with-pic or --without-pic was given.
4211 if test "${with_pic+set}" = set; then
4217 test x
"$pic_mode" = xyes
&& libtool_flags
="$libtool_flags --prefer-pic"
4218 test x
"$pic_mode" = xno
&& libtool_flags
="$libtool_flags --prefer-non-pic"
4220 # Some flags need to be propagated to the compiler or linker for good
4224 # Find out which ABI we are using.
4225 echo '#line 4225 "configure"' > conftest.
$ac_ext
4226 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4227 (eval $ac_compile) 2>&5
4229 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4230 (exit $ac_status); }; then
4231 if test "$lt_cv_prog_gnu_ld" = yes; then
4232 case `/usr/bin/file conftest.$ac_objext` in
4234 LD
="${LD-ld} -melf32bsmip"
4237 LD
="${LD-ld} -melf32bmipn32"
4240 LD
="${LD-ld} -melf64bmip"
4244 case `/usr/bin/file conftest.$ac_objext` in
4261 # Find out which ABI we are using.
4262 echo 'int i;' > conftest.
$ac_ext
4263 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4264 (eval $ac_compile) 2>&5
4266 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4267 (exit $ac_status); }; then
4268 case "`/usr/bin/file conftest.o`" in
4280 x86_64-
*linux
*|ppc
*-*linux
*|powerpc
*-*linux
*|s390
*-*linux
*|sparc
*-*linux
*)
4281 # Find out which ABI we are using.
4282 echo 'int i;' > conftest.
$ac_ext
4283 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4284 (eval $ac_compile) 2>&5
4286 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4287 (exit $ac_status); }; then
4288 case "`/usr/bin/file conftest.o`" in
4292 LD
="${LD-ld} -m elf_i386"
4294 ppc64-
*linux
*|powerpc64-
*linux
*)
4295 LD
="${LD-ld} -m elf32ppclinux"
4298 LD
="${LD-ld} -m elf_s390"
4301 LD
="${LD-ld} -m elf32_sparc"
4308 LD
="${LD-ld} -m elf_x86_64"
4310 ppc
*-*linux
*|powerpc
*-*linux
*)
4311 LD
="${LD-ld} -m elf64ppc"
4314 LD
="${LD-ld} -m elf64_s390"
4317 LD
="${LD-ld} -m elf64_sparc"
4327 # On SCO OpenServer 5, we need -belf to get full-featured binaries.
4328 SAVE_CFLAGS
="$CFLAGS"
4329 CFLAGS
="$CFLAGS -belf"
4330 echo "$as_me:$LINENO: checking whether the C compiler needs -belf" >&5
4331 echo $ECHO_N "checking whether the C compiler needs -belf... $ECHO_C" >&6
4332 if test "${lt_cv_cc_needs_belf+set}" = set; then
4333 echo $ECHO_N "(cached) $ECHO_C" >&6
4338 ac_cpp
='$CPP $CPPFLAGS'
4339 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4340 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4341 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
4343 if test x
$gcc_no_link = xyes
; then
4344 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
4345 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
4346 { (exit 1); exit 1; }; }
4348 cat >conftest.
$ac_ext <<_ACEOF
4351 cat confdefs.h
>>conftest.
$ac_ext
4352 cat >>conftest.
$ac_ext <<_ACEOF
4353 /* end confdefs.h. */
4363 rm -f conftest.
$ac_objext conftest
$ac_exeext
4364 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
4365 (eval $ac_link) 2>conftest.er1
4367 grep -v '^ *+' conftest.er1
>conftest.err
4369 cat conftest.err
>&5
4370 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4371 (exit $ac_status); } &&
4372 { ac_try
='test -z "$ac_c_werror_flag"
4373 || test ! -s conftest.err'
4374 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4377 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4378 (exit $ac_status); }; } &&
4379 { ac_try
='test -s conftest$ac_exeext'
4380 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4383 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4384 (exit $ac_status); }; }; then
4385 lt_cv_cc_needs_belf
=yes
4387 echo "$as_me: failed program was:" >&5
4388 sed 's/^/| /' conftest.
$ac_ext >&5
4390 lt_cv_cc_needs_belf
=no
4392 rm -f conftest.err conftest.
$ac_objext \
4393 conftest
$ac_exeext conftest.
$ac_ext
4395 ac_cpp
='$CPP $CPPFLAGS'
4396 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4397 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4398 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
4401 echo "$as_me:$LINENO: result: $lt_cv_cc_needs_belf" >&5
4402 echo "${ECHO_T}$lt_cv_cc_needs_belf" >&6
4403 if test x
"$lt_cv_cc_needs_belf" != x
"yes"; then
4404 # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
4405 CFLAGS
="$SAVE_CFLAGS"
4413 # Save cache, so that ltconfig can load it
4414 cat >confcache
<<\_ACEOF
4415 # This file is a shell script that caches the results of configure
4416 # tests run on this system so they can be shared between configure
4417 # scripts and configure runs, see configure's option --config-cache.
4418 # It is not useful on other systems. If it contains results you don't
4419 # want to keep, you may remove or edit it.
4421 # config.status only pays attention to the cache file if you give it
4422 # the --recheck option to rerun configure.
4424 # `ac_cv_env_foo' variables (set or unset) will be overridden when
4425 # loading this file, other *unset* `ac_cv_foo' will be assigned the
4430 # The following way of writing the cache mishandles newlines in values,
4431 # but we know of no workaround that is simple, portable, and efficient.
4432 # So, don't put newlines in cache variables' values.
4433 # Ultrix sh set writes to stderr and can't be redirected directly,
4434 # and sets the high bit in the cache file unless we assign to the vars.
4437 case `(ac_space=' '; set | grep ac_space) 2>&1` in
4439 # `set' does not quote correctly, so add quotes (double-quote
4440 # substitution turns \\\\ into \\, and sed turns \\ into \).
4443 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
4446 # `set' quotes correctly as required by POSIX, so do not add quotes.
4448 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
4455 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
4457 /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
4459 if diff $cache_file confcache
>/dev
/null
2>&1; then :; else
4460 if test -w $cache_file; then
4461 test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
4462 cat confcache
>$cache_file
4464 echo "not updating unwritable cache $cache_file"
4469 # Actually configure libtool. ac_aux_dir is where install-sh is found.
4470 AR
="$AR" LTCC
="$CC" CC
="$CC" CFLAGS
="$CFLAGS" CPPFLAGS
="$CPPFLAGS" \
4471 MAGIC_CMD
="$MAGIC_CMD" LD
="$LD" LDFLAGS
="$LDFLAGS" LIBS
="$LIBS" \
4472 LN_S
="$LN_S" NM
="$NM" RANLIB
="$RANLIB" STRIP
="$STRIP" \
4473 AS
="$AS" DLLTOOL
="$DLLTOOL" OBJDUMP
="$OBJDUMP" \
4474 objext
="$OBJEXT" exeext
="$EXEEXT" reload_flag
="$reload_flag" \
4475 deplibs_check_method
="$deplibs_check_method" file_magic_cmd
="$file_magic_cmd" \
4476 ${CONFIG_SHELL-/bin/sh} $ac_aux_dir/ltconfig
--no-reexec \
4477 $libtool_flags --no-verify --build="$build" $ac_aux_dir/ltmain.sh
$host \
4478 ||
{ { echo "$as_me:$LINENO: error: libtool configure failed" >&5
4479 echo "$as_me: error: libtool configure failed" >&2;}
4480 { (exit 1); exit 1; }; }
4482 # Reload cache, that may have been modified by ltconfig
4483 if test -r "$cache_file"; then
4484 # Some versions of bash will fail to source /dev/null (special
4485 # files actually), so we avoid doing that.
4486 if test -f "$cache_file"; then
4487 { echo "$as_me:$LINENO: loading cache $cache_file" >&5
4488 echo "$as_me: loading cache $cache_file" >&6;}
4490 [\\/]* | ?
:[\\/]* ) .
$cache_file;;
4491 *) . .
/$cache_file;;
4495 { echo "$as_me:$LINENO: creating cache $cache_file" >&5
4496 echo "$as_me: creating cache $cache_file" >&6;}
4501 # This can be used to rebuild libtool when needed
4502 LIBTOOL_DEPS
="$ac_aux_dir/ltconfig $ac_aux_dir/ltmain.sh $ac_aux_dir/ltcf-c.sh"
4504 # Always use our own libtool.
4505 LIBTOOL
='$(SHELL) $(top_builddir)/libtool'
4507 # Redirect the config.log output again, so that the ltconfig log is not
4508 # clobbered by the next message.
4509 exec 5>>.
/config.log
4517 ac_cpp
='$CPP $CPPFLAGS'
4518 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4519 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4520 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
4521 if test -n "$ac_tool_prefix"; then
4522 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
4523 set dummy
${ac_tool_prefix}gcc
; ac_word
=$2
4524 echo "$as_me:$LINENO: checking for $ac_word" >&5
4525 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
4526 if test "${ac_cv_prog_CC+set}" = set; then
4527 echo $ECHO_N "(cached) $ECHO_C" >&6
4529 if test -n "$CC"; then
4530 ac_cv_prog_CC
="$CC" # Let the user override the test.
4532 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4536 test -z "$as_dir" && as_dir
=.
4537 for ac_exec_ext
in '' $ac_executable_extensions; do
4538 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4539 ac_cv_prog_CC
="${ac_tool_prefix}gcc"
4540 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4549 if test -n "$CC"; then
4550 echo "$as_me:$LINENO: result: $CC" >&5
4551 echo "${ECHO_T}$CC" >&6
4553 echo "$as_me:$LINENO: result: no" >&5
4554 echo "${ECHO_T}no" >&6
4558 if test -z "$ac_cv_prog_CC"; then
4560 # Extract the first word of "gcc", so it can be a program name with args.
4561 set dummy gcc
; ac_word
=$2
4562 echo "$as_me:$LINENO: checking for $ac_word" >&5
4563 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
4564 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
4565 echo $ECHO_N "(cached) $ECHO_C" >&6
4567 if test -n "$ac_ct_CC"; then
4568 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
4570 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4574 test -z "$as_dir" && as_dir
=.
4575 for ac_exec_ext
in '' $ac_executable_extensions; do
4576 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4577 ac_cv_prog_ac_ct_CC
="gcc"
4578 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4586 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
4587 if test -n "$ac_ct_CC"; then
4588 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
4589 echo "${ECHO_T}$ac_ct_CC" >&6
4591 echo "$as_me:$LINENO: result: no" >&5
4592 echo "${ECHO_T}no" >&6
4600 if test -z "$CC"; then
4601 if test -n "$ac_tool_prefix"; then
4602 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
4603 set dummy
${ac_tool_prefix}cc
; ac_word
=$2
4604 echo "$as_me:$LINENO: checking for $ac_word" >&5
4605 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
4606 if test "${ac_cv_prog_CC+set}" = set; then
4607 echo $ECHO_N "(cached) $ECHO_C" >&6
4609 if test -n "$CC"; then
4610 ac_cv_prog_CC
="$CC" # Let the user override the test.
4612 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4616 test -z "$as_dir" && as_dir
=.
4617 for ac_exec_ext
in '' $ac_executable_extensions; do
4618 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4619 ac_cv_prog_CC
="${ac_tool_prefix}cc"
4620 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4629 if test -n "$CC"; then
4630 echo "$as_me:$LINENO: result: $CC" >&5
4631 echo "${ECHO_T}$CC" >&6
4633 echo "$as_me:$LINENO: result: no" >&5
4634 echo "${ECHO_T}no" >&6
4638 if test -z "$ac_cv_prog_CC"; then
4640 # Extract the first word of "cc", so it can be a program name with args.
4641 set dummy cc
; ac_word
=$2
4642 echo "$as_me:$LINENO: checking for $ac_word" >&5
4643 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
4644 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
4645 echo $ECHO_N "(cached) $ECHO_C" >&6
4647 if test -n "$ac_ct_CC"; then
4648 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
4650 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4654 test -z "$as_dir" && as_dir
=.
4655 for ac_exec_ext
in '' $ac_executable_extensions; do
4656 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4657 ac_cv_prog_ac_ct_CC
="cc"
4658 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4666 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
4667 if test -n "$ac_ct_CC"; then
4668 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
4669 echo "${ECHO_T}$ac_ct_CC" >&6
4671 echo "$as_me:$LINENO: result: no" >&5
4672 echo "${ECHO_T}no" >&6
4681 if test -z "$CC"; then
4682 # Extract the first word of "cc", so it can be a program name with args.
4683 set dummy cc
; ac_word
=$2
4684 echo "$as_me:$LINENO: checking for $ac_word" >&5
4685 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
4686 if test "${ac_cv_prog_CC+set}" = set; then
4687 echo $ECHO_N "(cached) $ECHO_C" >&6
4689 if test -n "$CC"; then
4690 ac_cv_prog_CC
="$CC" # Let the user override the test.
4693 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4697 test -z "$as_dir" && as_dir
=.
4698 for ac_exec_ext
in '' $ac_executable_extensions; do
4699 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4700 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
4701 ac_prog_rejected
=yes
4705 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4711 if test $ac_prog_rejected = yes; then
4712 # We found a bogon in the path, so make sure we never use it.
4713 set dummy
$ac_cv_prog_CC
4715 if test $# != 0; then
4716 # We chose a different compiler from the bogus one.
4717 # However, it has the same basename, so the bogon will be chosen
4718 # first if we set CC to just the basename; use the full file name.
4720 ac_cv_prog_CC
="$as_dir/$ac_word${1+' '}$@"
4726 if test -n "$CC"; then
4727 echo "$as_me:$LINENO: result: $CC" >&5
4728 echo "${ECHO_T}$CC" >&6
4730 echo "$as_me:$LINENO: result: no" >&5
4731 echo "${ECHO_T}no" >&6
4735 if test -z "$CC"; then
4736 if test -n "$ac_tool_prefix"; then
4739 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
4740 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
4741 echo "$as_me:$LINENO: checking for $ac_word" >&5
4742 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
4743 if test "${ac_cv_prog_CC+set}" = set; then
4744 echo $ECHO_N "(cached) $ECHO_C" >&6
4746 if test -n "$CC"; then
4747 ac_cv_prog_CC
="$CC" # Let the user override the test.
4749 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4753 test -z "$as_dir" && as_dir
=.
4754 for ac_exec_ext
in '' $ac_executable_extensions; do
4755 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4756 ac_cv_prog_CC
="$ac_tool_prefix$ac_prog"
4757 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4766 if test -n "$CC"; then
4767 echo "$as_me:$LINENO: result: $CC" >&5
4768 echo "${ECHO_T}$CC" >&6
4770 echo "$as_me:$LINENO: result: no" >&5
4771 echo "${ECHO_T}no" >&6
4774 test -n "$CC" && break
4777 if test -z "$CC"; then
4781 # Extract the first word of "$ac_prog", so it can be a program name with args.
4782 set dummy
$ac_prog; ac_word
=$2
4783 echo "$as_me:$LINENO: checking for $ac_word" >&5
4784 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
4785 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
4786 echo $ECHO_N "(cached) $ECHO_C" >&6
4788 if test -n "$ac_ct_CC"; then
4789 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
4791 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4795 test -z "$as_dir" && as_dir
=.
4796 for ac_exec_ext
in '' $ac_executable_extensions; do
4797 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4798 ac_cv_prog_ac_ct_CC
="$ac_prog"
4799 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4807 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
4808 if test -n "$ac_ct_CC"; then
4809 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
4810 echo "${ECHO_T}$ac_ct_CC" >&6
4812 echo "$as_me:$LINENO: result: no" >&5
4813 echo "${ECHO_T}no" >&6
4816 test -n "$ac_ct_CC" && break
4825 test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
4826 See \`config.log' for more details." >&5
4827 echo "$as_me: error: no acceptable C compiler found in \$PATH
4828 See \`config.log' for more details." >&2;}
4829 { (exit 1); exit 1; }; }
4831 # Provide some information about the compiler.
4832 echo "$as_me:$LINENO:" \
4833 "checking for C compiler version" >&5
4834 ac_compiler
=`set X $ac_compile; echo $2`
4835 { (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5
4836 (eval $ac_compiler --version </dev
/null
>&5) 2>&5
4838 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4839 (exit $ac_status); }
4840 { (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5
4841 (eval $ac_compiler -v </dev
/null
>&5) 2>&5
4843 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4844 (exit $ac_status); }
4845 { (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5
4846 (eval $ac_compiler -V </dev
/null
>&5) 2>&5
4848 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4849 (exit $ac_status); }
4851 echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
4852 echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6
4853 if test "${ac_cv_c_compiler_gnu+set}" = set; then
4854 echo $ECHO_N "(cached) $ECHO_C" >&6
4856 cat >conftest.
$ac_ext <<_ACEOF
4859 cat confdefs.h
>>conftest.
$ac_ext
4860 cat >>conftest.
$ac_ext <<_ACEOF
4861 /* end confdefs.h. */
4874 rm -f conftest.
$ac_objext
4875 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4876 (eval $ac_compile) 2>conftest.er1
4878 grep -v '^ *+' conftest.er1
>conftest.err
4880 cat conftest.err
>&5
4881 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4882 (exit $ac_status); } &&
4883 { ac_try
='test -z "$ac_c_werror_flag"
4884 || test ! -s conftest.err'
4885 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4888 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4889 (exit $ac_status); }; } &&
4890 { ac_try
='test -s conftest.$ac_objext'
4891 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4894 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4895 (exit $ac_status); }; }; then
4898 echo "$as_me: failed program was:" >&5
4899 sed 's/^/| /' conftest.
$ac_ext >&5
4903 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
4904 ac_cv_c_compiler_gnu
=$ac_compiler_gnu
4907 echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
4908 echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6
4909 GCC
=`test $ac_compiler_gnu = yes && echo yes`
4910 ac_test_CFLAGS
=${CFLAGS+set}
4911 ac_save_CFLAGS
=$CFLAGS
4913 echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
4914 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6
4915 if test "${ac_cv_prog_cc_g+set}" = set; then
4916 echo $ECHO_N "(cached) $ECHO_C" >&6
4918 cat >conftest.
$ac_ext <<_ACEOF
4921 cat confdefs.h
>>conftest.
$ac_ext
4922 cat >>conftest.
$ac_ext <<_ACEOF
4923 /* end confdefs.h. */
4933 rm -f conftest.
$ac_objext
4934 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4935 (eval $ac_compile) 2>conftest.er1
4937 grep -v '^ *+' conftest.er1
>conftest.err
4939 cat conftest.err
>&5
4940 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4941 (exit $ac_status); } &&
4942 { ac_try
='test -z "$ac_c_werror_flag"
4943 || test ! -s conftest.err'
4944 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4947 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4948 (exit $ac_status); }; } &&
4949 { ac_try
='test -s conftest.$ac_objext'
4950 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4953 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4954 (exit $ac_status); }; }; then
4957 echo "$as_me: failed program was:" >&5
4958 sed 's/^/| /' conftest.
$ac_ext >&5
4962 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
4964 echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
4965 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6
4966 if test "$ac_test_CFLAGS" = set; then
4967 CFLAGS
=$ac_save_CFLAGS
4968 elif test $ac_cv_prog_cc_g = yes; then
4969 if test "$GCC" = yes; then
4975 if test "$GCC" = yes; then
4981 echo "$as_me:$LINENO: checking for $CC option to accept ANSI C" >&5
4982 echo $ECHO_N "checking for $CC option to accept ANSI C... $ECHO_C" >&6
4983 if test "${ac_cv_prog_cc_stdc+set}" = set; then
4984 echo $ECHO_N "(cached) $ECHO_C" >&6
4986 ac_cv_prog_cc_stdc
=no
4988 cat >conftest.
$ac_ext <<_ACEOF
4991 cat confdefs.h
>>conftest.
$ac_ext
4992 cat >>conftest.
$ac_ext <<_ACEOF
4993 /* end confdefs.h. */
4996 #include <sys/types.h>
4997 #include <sys/stat.h>
4998 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
4999 struct buf { int x; };
5000 FILE * (*rcsopen) (struct buf *, struct stat *, int);
5001 static char *e (p, i)
5007 static char *f (char * (*g) (char **, int), char **p, ...)
5012 s = g (p, va_arg (v,int));
5017 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
5018 function prototypes and stuff, but not '\xHH' hex character constants.
5019 These don't provoke an error unfortunately, instead are silently treated
5020 as 'x'. The following induces an error, until -std1 is added to get
5021 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
5022 array size at least. It's necessary to write '\x00'==0 to get something
5023 that's true only with -std1. */
5024 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
5026 int test (int i, double x);
5027 struct s1 {int (*f) (int a);};
5028 struct s2 {int (*f) (double a);};
5029 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
5035 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
5040 # Don't try gcc -ansi; that turns off useful extensions and
5041 # breaks some systems' header files.
5042 # AIX -qlanglvl=ansi
5043 # Ultrix and OSF/1 -std1
5044 # HP-UX 10.20 and later -Ae
5045 # HP-UX older versions -Aa -D_HPUX_SOURCE
5046 # SVR4 -Xc -D__EXTENSIONS__
5047 for ac_arg
in "" -qlanglvl=ansi
-std1 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
5049 CC
="$ac_save_CC $ac_arg"
5050 rm -f conftest.
$ac_objext
5051 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5052 (eval $ac_compile) 2>conftest.er1
5054 grep -v '^ *+' conftest.er1
>conftest.err
5056 cat conftest.err
>&5
5057 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5058 (exit $ac_status); } &&
5059 { ac_try
='test -z "$ac_c_werror_flag"
5060 || test ! -s conftest.err'
5061 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5064 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5065 (exit $ac_status); }; } &&
5066 { ac_try
='test -s conftest.$ac_objext'
5067 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5070 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5071 (exit $ac_status); }; }; then
5072 ac_cv_prog_cc_stdc
=$ac_arg
5075 echo "$as_me: failed program was:" >&5
5076 sed 's/^/| /' conftest.
$ac_ext >&5
5079 rm -f conftest.err conftest.
$ac_objext
5081 rm -f conftest.
$ac_ext conftest.
$ac_objext
5086 case "x$ac_cv_prog_cc_stdc" in
5088 echo "$as_me:$LINENO: result: none needed" >&5
5089 echo "${ECHO_T}none needed" >&6 ;;
5091 echo "$as_me:$LINENO: result: $ac_cv_prog_cc_stdc" >&5
5092 echo "${ECHO_T}$ac_cv_prog_cc_stdc" >&6
5093 CC
="$CC $ac_cv_prog_cc_stdc" ;;
5096 # Some people use a C++ compiler to compile C. Since we use `exit',
5097 # in C++ we need to declare it. In case someone uses the same compiler
5098 # for both compiling C and C++ we need to have the C++ compiler decide
5099 # the declaration of exit, since it's the most demanding environment.
5100 cat >conftest.
$ac_ext <<_ACEOF
5105 rm -f conftest.
$ac_objext
5106 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5107 (eval $ac_compile) 2>conftest.er1
5109 grep -v '^ *+' conftest.er1
>conftest.err
5111 cat conftest.err
>&5
5112 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5113 (exit $ac_status); } &&
5114 { ac_try
='test -z "$ac_c_werror_flag"
5115 || test ! -s conftest.err'
5116 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5119 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5120 (exit $ac_status); }; } &&
5121 { ac_try
='test -s conftest.$ac_objext'
5122 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5125 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5126 (exit $ac_status); }; }; then
5127 for ac_declaration
in \
5129 'extern "C" void std::exit (int) throw (); using std::exit;' \
5130 'extern "C" void std::exit (int); using std::exit;' \
5131 'extern "C" void exit (int) throw ();' \
5132 'extern "C" void exit (int);' \
5135 cat >conftest.
$ac_ext <<_ACEOF
5138 cat confdefs.h
>>conftest.
$ac_ext
5139 cat >>conftest.
$ac_ext <<_ACEOF
5140 /* end confdefs.h. */
5151 rm -f conftest.
$ac_objext
5152 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5153 (eval $ac_compile) 2>conftest.er1
5155 grep -v '^ *+' conftest.er1
>conftest.err
5157 cat conftest.err
>&5
5158 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5159 (exit $ac_status); } &&
5160 { ac_try
='test -z "$ac_c_werror_flag"
5161 || test ! -s conftest.err'
5162 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5165 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5166 (exit $ac_status); }; } &&
5167 { ac_try
='test -s conftest.$ac_objext'
5168 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5171 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5172 (exit $ac_status); }; }; then
5175 echo "$as_me: failed program was:" >&5
5176 sed 's/^/| /' conftest.
$ac_ext >&5
5180 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
5181 cat >conftest.
$ac_ext <<_ACEOF
5184 cat confdefs.h
>>conftest.
$ac_ext
5185 cat >>conftest.
$ac_ext <<_ACEOF
5186 /* end confdefs.h. */
5196 rm -f conftest.
$ac_objext
5197 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5198 (eval $ac_compile) 2>conftest.er1
5200 grep -v '^ *+' conftest.er1
>conftest.err
5202 cat conftest.err
>&5
5203 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5204 (exit $ac_status); } &&
5205 { ac_try
='test -z "$ac_c_werror_flag"
5206 || test ! -s conftest.err'
5207 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5210 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5211 (exit $ac_status); }; } &&
5212 { ac_try
='test -s conftest.$ac_objext'
5213 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5216 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5217 (exit $ac_status); }; }; then
5220 echo "$as_me: failed program was:" >&5
5221 sed 's/^/| /' conftest.
$ac_ext >&5
5224 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
5227 if test -n "$ac_declaration"; then
5228 echo '#ifdef __cplusplus' >>confdefs.h
5229 echo $ac_declaration >>confdefs.h
5230 echo '#endif' >>confdefs.h
5234 echo "$as_me: failed program was:" >&5
5235 sed 's/^/| /' conftest.
$ac_ext >&5
5238 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
5240 ac_cpp
='$CPP $CPPFLAGS'
5241 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5242 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5243 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
5245 depcc
="$CC" am_compiler_list
=
5247 echo "$as_me:$LINENO: checking dependency style of $depcc" >&5
5248 echo $ECHO_N "checking dependency style of $depcc... $ECHO_C" >&6
5249 if test "${am_cv_CC_dependencies_compiler_type+set}" = set; then
5250 echo $ECHO_N "(cached) $ECHO_C" >&6
5252 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
5253 # We make a subdir and do the tests there. Otherwise we can end up
5254 # making bogus files that we don't know about and never remove. For
5255 # instance it was reported that on HP-UX the gcc test will end up
5256 # making a dummy file named `D' -- because `-MD' means `put the output
5259 # Copy depcomp to subdir because otherwise we won't find it if we're
5260 # using a relative directory.
5261 cp "$am_depcomp" conftest.dir
5263 # We will build objects and dependencies in a subdirectory because
5264 # it helps to detect inapplicable dependency modes. For instance
5265 # both Tru64's cc and ICC support -MD to output dependencies as a
5266 # side effect of compilation, but ICC will put the dependencies in
5267 # the current directory while Tru64 will put them in the object
5271 am_cv_CC_dependencies_compiler_type
=none
5272 if test "$am_compiler_list" = ""; then
5273 am_compiler_list
=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
5275 for depmode
in $am_compiler_list; do
5276 # Setup a source with many dependencies, because some compilers
5277 # like to wrap large dependency lists on column 80 (with \), and
5278 # we should not choose a depcomp mode which is confused by this.
5280 # We need to recreate these files for each test, as the compiler may
5281 # overwrite some of them when testing with obscure command lines.
5282 # This happens at least with the AIX C compiler.
5284 for i
in 1 2 3 4 5 6; do
5285 echo '#include "conftst'$i'.h"' >> sub
/conftest.c
5286 # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
5287 # Solaris 8's {/usr,}/bin/sh.
5288 touch sub
/conftst
$i.h
5290 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
5294 # after this tag, mechanisms are not by side-effect, so they'll
5295 # only be used when explicitly requested
5296 if test "x$enable_dependency_tracking" = xyes
; then
5304 # We check with `-c' and `-o' for the sake of the "dashmstdout"
5305 # mode. It turns out that the SunPro C++ compiler does not properly
5306 # handle `-M -o', and we need to detect this.
5307 if depmode
=$depmode \
5308 source=sub
/conftest.c object
=sub
/conftest.
${OBJEXT-o} \
5309 depfile
=sub
/conftest.Po tmpdepfile
=sub
/conftest.TPo \
5310 $SHELL .
/depcomp
$depcc -c -o sub
/conftest.
${OBJEXT-o} sub
/conftest.c \
5311 >/dev
/null
2>conftest.err
&&
5312 grep sub
/conftst6.h sub
/conftest.Po
> /dev
/null
2>&1 &&
5313 grep sub
/conftest.
${OBJEXT-o} sub
/conftest.Po
> /dev
/null
2>&1 &&
5314 ${MAKE-make} -s -f confmf
> /dev
/null
2>&1; then
5315 # icc doesn't choke on unknown options, it will just issue warnings
5316 # or remarks (even with -Werror). So we grep stderr for any message
5317 # that says an option was ignored or not supported.
5318 # When given -MP, icc 7.0 and 7.1 complain thusly:
5319 # icc: Command line warning: ignoring option '-M'; no argument required
5320 # The diagnosis changed in icc 8.0:
5321 # icc: Command line remark: option '-MP' not supported
5322 if (grep 'ignoring option' conftest.err ||
5323 grep 'not supported' conftest.err
) >/dev
/null
2>&1; then :; else
5324 am_cv_CC_dependencies_compiler_type
=$depmode
5333 am_cv_CC_dependencies_compiler_type
=none
5337 echo "$as_me:$LINENO: result: $am_cv_CC_dependencies_compiler_type" >&5
5338 echo "${ECHO_T}$am_cv_CC_dependencies_compiler_type" >&6
5339 CCDEPMODE
=depmode
=$am_cv_CC_dependencies_compiler_type
5344 test "x$enable_dependency_tracking" != xno \
5345 && test "$am_cv_CC_dependencies_compiler_type" = gcc3
; then
5347 am__fastdepCC_FALSE
='#'
5349 am__fastdepCC_TRUE
='#'
5350 am__fastdepCC_FALSE
=
5355 ac_cpp
='$CPP $CPPFLAGS'
5356 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5357 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5358 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
5359 echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5
5360 echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6
5361 # On Suns, sometimes $CPP names a directory.
5362 if test -n "$CPP" && test -d "$CPP"; then
5365 if test -z "$CPP"; then
5366 if test "${ac_cv_prog_CPP+set}" = set; then
5367 echo $ECHO_N "(cached) $ECHO_C" >&6
5369 # Double quotes because CPP needs to be expanded
5370 for CPP
in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
5373 for ac_c_preproc_warn_flag
in '' yes
5375 # Use a header file that comes with gcc, so configuring glibc
5376 # with a fresh cross-compiler works.
5377 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
5378 # <limits.h> exists even on freestanding compilers.
5379 # On the NeXT, cc -E runs the code through the compiler's parser,
5380 # not just through cpp. "Syntax error" is here to catch this case.
5381 cat >conftest.
$ac_ext <<_ACEOF
5384 cat confdefs.h
>>conftest.
$ac_ext
5385 cat >>conftest.
$ac_ext <<_ACEOF
5386 /* end confdefs.h. */
5388 # include <limits.h>
5390 # include <assert.h>
5394 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
5395 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
5397 grep -v '^ *+' conftest.er1
>conftest.err
5399 cat conftest.err
>&5
5400 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5401 (exit $ac_status); } >/dev
/null
; then
5402 if test -s conftest.err
; then
5403 ac_cpp_err
=$ac_c_preproc_warn_flag
5404 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
5411 if test -z "$ac_cpp_err"; then
5414 echo "$as_me: failed program was:" >&5
5415 sed 's/^/| /' conftest.
$ac_ext >&5
5417 # Broken: fails on valid input.
5420 rm -f conftest.err conftest.
$ac_ext
5422 # OK, works on sane cases. Now check whether non-existent headers
5423 # can be detected and how.
5424 cat >conftest.
$ac_ext <<_ACEOF
5427 cat confdefs.h
>>conftest.
$ac_ext
5428 cat >>conftest.
$ac_ext <<_ACEOF
5429 /* end confdefs.h. */
5430 #include <ac_nonexistent.h>
5432 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
5433 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
5435 grep -v '^ *+' conftest.er1
>conftest.err
5437 cat conftest.err
>&5
5438 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5439 (exit $ac_status); } >/dev
/null
; then
5440 if test -s conftest.err
; then
5441 ac_cpp_err
=$ac_c_preproc_warn_flag
5442 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
5449 if test -z "$ac_cpp_err"; then
5450 # Broken: success on invalid input.
5453 echo "$as_me: failed program was:" >&5
5454 sed 's/^/| /' conftest.
$ac_ext >&5
5456 # Passes both tests.
5460 rm -f conftest.err conftest.
$ac_ext
5463 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
5464 rm -f conftest.err conftest.
$ac_ext
5465 if $ac_preproc_ok; then
5477 echo "$as_me:$LINENO: result: $CPP" >&5
5478 echo "${ECHO_T}$CPP" >&6
5480 for ac_c_preproc_warn_flag
in '' yes
5482 # Use a header file that comes with gcc, so configuring glibc
5483 # with a fresh cross-compiler works.
5484 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
5485 # <limits.h> exists even on freestanding compilers.
5486 # On the NeXT, cc -E runs the code through the compiler's parser,
5487 # not just through cpp. "Syntax error" is here to catch this case.
5488 cat >conftest.
$ac_ext <<_ACEOF
5491 cat confdefs.h
>>conftest.
$ac_ext
5492 cat >>conftest.
$ac_ext <<_ACEOF
5493 /* end confdefs.h. */
5495 # include <limits.h>
5497 # include <assert.h>
5501 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
5502 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
5504 grep -v '^ *+' conftest.er1
>conftest.err
5506 cat conftest.err
>&5
5507 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5508 (exit $ac_status); } >/dev
/null
; then
5509 if test -s conftest.err
; then
5510 ac_cpp_err
=$ac_c_preproc_warn_flag
5511 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
5518 if test -z "$ac_cpp_err"; then
5521 echo "$as_me: failed program was:" >&5
5522 sed 's/^/| /' conftest.
$ac_ext >&5
5524 # Broken: fails on valid input.
5527 rm -f conftest.err conftest.
$ac_ext
5529 # OK, works on sane cases. Now check whether non-existent headers
5530 # can be detected and how.
5531 cat >conftest.
$ac_ext <<_ACEOF
5534 cat confdefs.h
>>conftest.
$ac_ext
5535 cat >>conftest.
$ac_ext <<_ACEOF
5536 /* end confdefs.h. */
5537 #include <ac_nonexistent.h>
5539 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
5540 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
5542 grep -v '^ *+' conftest.er1
>conftest.err
5544 cat conftest.err
>&5
5545 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5546 (exit $ac_status); } >/dev
/null
; then
5547 if test -s conftest.err
; then
5548 ac_cpp_err
=$ac_c_preproc_warn_flag
5549 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
5556 if test -z "$ac_cpp_err"; then
5557 # Broken: success on invalid input.
5560 echo "$as_me: failed program was:" >&5
5561 sed 's/^/| /' conftest.
$ac_ext >&5
5563 # Passes both tests.
5567 rm -f conftest.err conftest.
$ac_ext
5570 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
5571 rm -f conftest.err conftest.
$ac_ext
5572 if $ac_preproc_ok; then
5575 { { echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check
5576 See \`config.log' for more details." >&5
5577 echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check
5578 See \`config.log' for more details." >&2;}
5579 { (exit 1); exit 1; }; }
5583 ac_cpp
='$CPP $CPPFLAGS'
5584 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5585 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5586 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
5589 ac_cpp
='$CXXCPP $CPPFLAGS'
5590 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5591 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5592 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
5593 if test -n "$ac_tool_prefix"; then
5594 for ac_prog
in $CCC g
++ c
++ gpp aCC CC cxx cc
++ cl FCC KCC RCC xlC_r xlC
5596 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
5597 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
5598 echo "$as_me:$LINENO: checking for $ac_word" >&5
5599 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
5600 if test "${ac_cv_prog_CXX+set}" = set; then
5601 echo $ECHO_N "(cached) $ECHO_C" >&6
5603 if test -n "$CXX"; then
5604 ac_cv_prog_CXX
="$CXX" # Let the user override the test.
5606 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5610 test -z "$as_dir" && as_dir
=.
5611 for ac_exec_ext
in '' $ac_executable_extensions; do
5612 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5613 ac_cv_prog_CXX
="$ac_tool_prefix$ac_prog"
5614 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5623 if test -n "$CXX"; then
5624 echo "$as_me:$LINENO: result: $CXX" >&5
5625 echo "${ECHO_T}$CXX" >&6
5627 echo "$as_me:$LINENO: result: no" >&5
5628 echo "${ECHO_T}no" >&6
5631 test -n "$CXX" && break
5634 if test -z "$CXX"; then
5636 for ac_prog
in $CCC g
++ c
++ gpp aCC CC cxx cc
++ cl FCC KCC RCC xlC_r xlC
5638 # Extract the first word of "$ac_prog", so it can be a program name with args.
5639 set dummy
$ac_prog; ac_word
=$2
5640 echo "$as_me:$LINENO: checking for $ac_word" >&5
5641 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
5642 if test "${ac_cv_prog_ac_ct_CXX+set}" = set; then
5643 echo $ECHO_N "(cached) $ECHO_C" >&6
5645 if test -n "$ac_ct_CXX"; then
5646 ac_cv_prog_ac_ct_CXX
="$ac_ct_CXX" # Let the user override the test.
5648 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5652 test -z "$as_dir" && as_dir
=.
5653 for ac_exec_ext
in '' $ac_executable_extensions; do
5654 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5655 ac_cv_prog_ac_ct_CXX
="$ac_prog"
5656 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5664 ac_ct_CXX
=$ac_cv_prog_ac_ct_CXX
5665 if test -n "$ac_ct_CXX"; then
5666 echo "$as_me:$LINENO: result: $ac_ct_CXX" >&5
5667 echo "${ECHO_T}$ac_ct_CXX" >&6
5669 echo "$as_me:$LINENO: result: no" >&5
5670 echo "${ECHO_T}no" >&6
5673 test -n "$ac_ct_CXX" && break
5675 test -n "$ac_ct_CXX" || ac_ct_CXX
="g++"
5681 # Provide some information about the compiler.
5682 echo "$as_me:$LINENO:" \
5683 "checking for C++ compiler version" >&5
5684 ac_compiler
=`set X $ac_compile; echo $2`
5685 { (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5
5686 (eval $ac_compiler --version </dev
/null
>&5) 2>&5
5688 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5689 (exit $ac_status); }
5690 { (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5
5691 (eval $ac_compiler -v </dev
/null
>&5) 2>&5
5693 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5694 (exit $ac_status); }
5695 { (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5
5696 (eval $ac_compiler -V </dev
/null
>&5) 2>&5
5698 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5699 (exit $ac_status); }
5701 echo "$as_me:$LINENO: checking whether we are using the GNU C++ compiler" >&5
5702 echo $ECHO_N "checking whether we are using the GNU C++ compiler... $ECHO_C" >&6
5703 if test "${ac_cv_cxx_compiler_gnu+set}" = set; then
5704 echo $ECHO_N "(cached) $ECHO_C" >&6
5706 cat >conftest.
$ac_ext <<_ACEOF
5709 cat confdefs.h
>>conftest.
$ac_ext
5710 cat >>conftest.
$ac_ext <<_ACEOF
5711 /* end confdefs.h. */
5724 rm -f conftest.
$ac_objext
5725 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5726 (eval $ac_compile) 2>conftest.er1
5728 grep -v '^ *+' conftest.er1
>conftest.err
5730 cat conftest.err
>&5
5731 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5732 (exit $ac_status); } &&
5733 { ac_try
='test -z "$ac_cxx_werror_flag"
5734 || test ! -s conftest.err'
5735 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5738 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5739 (exit $ac_status); }; } &&
5740 { ac_try
='test -s conftest.$ac_objext'
5741 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5744 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5745 (exit $ac_status); }; }; then
5748 echo "$as_me: failed program was:" >&5
5749 sed 's/^/| /' conftest.
$ac_ext >&5
5753 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
5754 ac_cv_cxx_compiler_gnu
=$ac_compiler_gnu
5757 echo "$as_me:$LINENO: result: $ac_cv_cxx_compiler_gnu" >&5
5758 echo "${ECHO_T}$ac_cv_cxx_compiler_gnu" >&6
5759 GXX
=`test $ac_compiler_gnu = yes && echo yes`
5760 ac_test_CXXFLAGS
=${CXXFLAGS+set}
5761 ac_save_CXXFLAGS
=$CXXFLAGS
5763 echo "$as_me:$LINENO: checking whether $CXX accepts -g" >&5
5764 echo $ECHO_N "checking whether $CXX accepts -g... $ECHO_C" >&6
5765 if test "${ac_cv_prog_cxx_g+set}" = set; then
5766 echo $ECHO_N "(cached) $ECHO_C" >&6
5768 cat >conftest.
$ac_ext <<_ACEOF
5771 cat confdefs.h
>>conftest.
$ac_ext
5772 cat >>conftest.
$ac_ext <<_ACEOF
5773 /* end confdefs.h. */
5783 rm -f conftest.
$ac_objext
5784 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5785 (eval $ac_compile) 2>conftest.er1
5787 grep -v '^ *+' conftest.er1
>conftest.err
5789 cat conftest.err
>&5
5790 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5791 (exit $ac_status); } &&
5792 { ac_try
='test -z "$ac_cxx_werror_flag"
5793 || test ! -s conftest.err'
5794 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5797 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5798 (exit $ac_status); }; } &&
5799 { ac_try
='test -s conftest.$ac_objext'
5800 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5803 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5804 (exit $ac_status); }; }; then
5805 ac_cv_prog_cxx_g
=yes
5807 echo "$as_me: failed program was:" >&5
5808 sed 's/^/| /' conftest.
$ac_ext >&5
5812 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
5814 echo "$as_me:$LINENO: result: $ac_cv_prog_cxx_g" >&5
5815 echo "${ECHO_T}$ac_cv_prog_cxx_g" >&6
5816 if test "$ac_test_CXXFLAGS" = set; then
5817 CXXFLAGS
=$ac_save_CXXFLAGS
5818 elif test $ac_cv_prog_cxx_g = yes; then
5819 if test "$GXX" = yes; then
5825 if test "$GXX" = yes; then
5831 for ac_declaration
in \
5833 'extern "C" void std::exit (int) throw (); using std::exit;' \
5834 'extern "C" void std::exit (int); using std::exit;' \
5835 'extern "C" void exit (int) throw ();' \
5836 'extern "C" void exit (int);' \
5839 cat >conftest.
$ac_ext <<_ACEOF
5842 cat confdefs.h
>>conftest.
$ac_ext
5843 cat >>conftest.
$ac_ext <<_ACEOF
5844 /* end confdefs.h. */
5855 rm -f conftest.
$ac_objext
5856 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5857 (eval $ac_compile) 2>conftest.er1
5859 grep -v '^ *+' conftest.er1
>conftest.err
5861 cat conftest.err
>&5
5862 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5863 (exit $ac_status); } &&
5864 { ac_try
='test -z "$ac_cxx_werror_flag"
5865 || test ! -s conftest.err'
5866 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5869 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5870 (exit $ac_status); }; } &&
5871 { ac_try
='test -s conftest.$ac_objext'
5872 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5875 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5876 (exit $ac_status); }; }; then
5879 echo "$as_me: failed program was:" >&5
5880 sed 's/^/| /' conftest.
$ac_ext >&5
5884 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
5885 cat >conftest.
$ac_ext <<_ACEOF
5888 cat confdefs.h
>>conftest.
$ac_ext
5889 cat >>conftest.
$ac_ext <<_ACEOF
5890 /* end confdefs.h. */
5900 rm -f conftest.
$ac_objext
5901 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5902 (eval $ac_compile) 2>conftest.er1
5904 grep -v '^ *+' conftest.er1
>conftest.err
5906 cat conftest.err
>&5
5907 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5908 (exit $ac_status); } &&
5909 { ac_try
='test -z "$ac_cxx_werror_flag"
5910 || test ! -s conftest.err'
5911 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5914 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5915 (exit $ac_status); }; } &&
5916 { ac_try
='test -s conftest.$ac_objext'
5917 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5920 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5921 (exit $ac_status); }; }; then
5924 echo "$as_me: failed program was:" >&5
5925 sed 's/^/| /' conftest.
$ac_ext >&5
5928 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
5931 if test -n "$ac_declaration"; then
5932 echo '#ifdef __cplusplus' >>confdefs.h
5933 echo $ac_declaration >>confdefs.h
5934 echo '#endif' >>confdefs.h
5938 ac_cpp
='$CPP $CPPFLAGS'
5939 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5940 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5941 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
5943 depcc
="$CXX" am_compiler_list
=
5945 echo "$as_me:$LINENO: checking dependency style of $depcc" >&5
5946 echo $ECHO_N "checking dependency style of $depcc... $ECHO_C" >&6
5947 if test "${am_cv_CXX_dependencies_compiler_type+set}" = set; then
5948 echo $ECHO_N "(cached) $ECHO_C" >&6
5950 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
5951 # We make a subdir and do the tests there. Otherwise we can end up
5952 # making bogus files that we don't know about and never remove. For
5953 # instance it was reported that on HP-UX the gcc test will end up
5954 # making a dummy file named `D' -- because `-MD' means `put the output
5957 # Copy depcomp to subdir because otherwise we won't find it if we're
5958 # using a relative directory.
5959 cp "$am_depcomp" conftest.dir
5961 # We will build objects and dependencies in a subdirectory because
5962 # it helps to detect inapplicable dependency modes. For instance
5963 # both Tru64's cc and ICC support -MD to output dependencies as a
5964 # side effect of compilation, but ICC will put the dependencies in
5965 # the current directory while Tru64 will put them in the object
5969 am_cv_CXX_dependencies_compiler_type
=none
5970 if test "$am_compiler_list" = ""; then
5971 am_compiler_list
=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
5973 for depmode
in $am_compiler_list; do
5974 # Setup a source with many dependencies, because some compilers
5975 # like to wrap large dependency lists on column 80 (with \), and
5976 # we should not choose a depcomp mode which is confused by this.
5978 # We need to recreate these files for each test, as the compiler may
5979 # overwrite some of them when testing with obscure command lines.
5980 # This happens at least with the AIX C compiler.
5982 for i
in 1 2 3 4 5 6; do
5983 echo '#include "conftst'$i'.h"' >> sub
/conftest.c
5984 # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
5985 # Solaris 8's {/usr,}/bin/sh.
5986 touch sub
/conftst
$i.h
5988 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
5992 # after this tag, mechanisms are not by side-effect, so they'll
5993 # only be used when explicitly requested
5994 if test "x$enable_dependency_tracking" = xyes
; then
6002 # We check with `-c' and `-o' for the sake of the "dashmstdout"
6003 # mode. It turns out that the SunPro C++ compiler does not properly
6004 # handle `-M -o', and we need to detect this.
6005 if depmode
=$depmode \
6006 source=sub
/conftest.c object
=sub
/conftest.
${OBJEXT-o} \
6007 depfile
=sub
/conftest.Po tmpdepfile
=sub
/conftest.TPo \
6008 $SHELL .
/depcomp
$depcc -c -o sub
/conftest.
${OBJEXT-o} sub
/conftest.c \
6009 >/dev
/null
2>conftest.err
&&
6010 grep sub
/conftst6.h sub
/conftest.Po
> /dev
/null
2>&1 &&
6011 grep sub
/conftest.
${OBJEXT-o} sub
/conftest.Po
> /dev
/null
2>&1 &&
6012 ${MAKE-make} -s -f confmf
> /dev
/null
2>&1; then
6013 # icc doesn't choke on unknown options, it will just issue warnings
6014 # or remarks (even with -Werror). So we grep stderr for any message
6015 # that says an option was ignored or not supported.
6016 # When given -MP, icc 7.0 and 7.1 complain thusly:
6017 # icc: Command line warning: ignoring option '-M'; no argument required
6018 # The diagnosis changed in icc 8.0:
6019 # icc: Command line remark: option '-MP' not supported
6020 if (grep 'ignoring option' conftest.err ||
6021 grep 'not supported' conftest.err
) >/dev
/null
2>&1; then :; else
6022 am_cv_CXX_dependencies_compiler_type
=$depmode
6031 am_cv_CXX_dependencies_compiler_type
=none
6035 echo "$as_me:$LINENO: result: $am_cv_CXX_dependencies_compiler_type" >&5
6036 echo "${ECHO_T}$am_cv_CXX_dependencies_compiler_type" >&6
6037 CXXDEPMODE
=depmode
=$am_cv_CXX_dependencies_compiler_type
6042 test "x$enable_dependency_tracking" != xno \
6043 && test "$am_cv_CXX_dependencies_compiler_type" = gcc3
; then
6044 am__fastdepCXX_TRUE
=
6045 am__fastdepCXX_FALSE
='#'
6047 am__fastdepCXX_TRUE
='#'
6048 am__fastdepCXX_FALSE
=
6052 ac_cpp
='$CXXCPP $CPPFLAGS'
6053 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6054 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6055 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
6056 echo "$as_me:$LINENO: checking how to run the C++ preprocessor" >&5
6057 echo $ECHO_N "checking how to run the C++ preprocessor... $ECHO_C" >&6
6058 if test -z "$CXXCPP"; then
6059 if test "${ac_cv_prog_CXXCPP+set}" = set; then
6060 echo $ECHO_N "(cached) $ECHO_C" >&6
6062 # Double quotes because CXXCPP needs to be expanded
6063 for CXXCPP
in "$CXX -E" "/lib/cpp"
6066 for ac_cxx_preproc_warn_flag
in '' yes
6068 # Use a header file that comes with gcc, so configuring glibc
6069 # with a fresh cross-compiler works.
6070 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
6071 # <limits.h> exists even on freestanding compilers.
6072 # On the NeXT, cc -E runs the code through the compiler's parser,
6073 # not just through cpp. "Syntax error" is here to catch this case.
6074 cat >conftest.
$ac_ext <<_ACEOF
6077 cat confdefs.h
>>conftest.
$ac_ext
6078 cat >>conftest.
$ac_ext <<_ACEOF
6079 /* end confdefs.h. */
6081 # include <limits.h>
6083 # include <assert.h>
6087 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
6088 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
6090 grep -v '^ *+' conftest.er1
>conftest.err
6092 cat conftest.err
>&5
6093 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6094 (exit $ac_status); } >/dev
/null
; then
6095 if test -s conftest.err
; then
6096 ac_cpp_err
=$ac_cxx_preproc_warn_flag
6097 ac_cpp_err
=$ac_cpp_err$ac_cxx_werror_flag
6104 if test -z "$ac_cpp_err"; then
6107 echo "$as_me: failed program was:" >&5
6108 sed 's/^/| /' conftest.
$ac_ext >&5
6110 # Broken: fails on valid input.
6113 rm -f conftest.err conftest.
$ac_ext
6115 # OK, works on sane cases. Now check whether non-existent headers
6116 # can be detected and how.
6117 cat >conftest.
$ac_ext <<_ACEOF
6120 cat confdefs.h
>>conftest.
$ac_ext
6121 cat >>conftest.
$ac_ext <<_ACEOF
6122 /* end confdefs.h. */
6123 #include <ac_nonexistent.h>
6125 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
6126 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
6128 grep -v '^ *+' conftest.er1
>conftest.err
6130 cat conftest.err
>&5
6131 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6132 (exit $ac_status); } >/dev
/null
; then
6133 if test -s conftest.err
; then
6134 ac_cpp_err
=$ac_cxx_preproc_warn_flag
6135 ac_cpp_err
=$ac_cpp_err$ac_cxx_werror_flag
6142 if test -z "$ac_cpp_err"; then
6143 # Broken: success on invalid input.
6146 echo "$as_me: failed program was:" >&5
6147 sed 's/^/| /' conftest.
$ac_ext >&5
6149 # Passes both tests.
6153 rm -f conftest.err conftest.
$ac_ext
6156 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
6157 rm -f conftest.err conftest.
$ac_ext
6158 if $ac_preproc_ok; then
6163 ac_cv_prog_CXXCPP
=$CXXCPP
6166 CXXCPP
=$ac_cv_prog_CXXCPP
6168 ac_cv_prog_CXXCPP
=$CXXCPP
6170 echo "$as_me:$LINENO: result: $CXXCPP" >&5
6171 echo "${ECHO_T}$CXXCPP" >&6
6173 for ac_cxx_preproc_warn_flag
in '' yes
6175 # Use a header file that comes with gcc, so configuring glibc
6176 # with a fresh cross-compiler works.
6177 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
6178 # <limits.h> exists even on freestanding compilers.
6179 # On the NeXT, cc -E runs the code through the compiler's parser,
6180 # not just through cpp. "Syntax error" is here to catch this case.
6181 cat >conftest.
$ac_ext <<_ACEOF
6184 cat confdefs.h
>>conftest.
$ac_ext
6185 cat >>conftest.
$ac_ext <<_ACEOF
6186 /* end confdefs.h. */
6188 # include <limits.h>
6190 # include <assert.h>
6194 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
6195 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
6197 grep -v '^ *+' conftest.er1
>conftest.err
6199 cat conftest.err
>&5
6200 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6201 (exit $ac_status); } >/dev
/null
; then
6202 if test -s conftest.err
; then
6203 ac_cpp_err
=$ac_cxx_preproc_warn_flag
6204 ac_cpp_err
=$ac_cpp_err$ac_cxx_werror_flag
6211 if test -z "$ac_cpp_err"; then
6214 echo "$as_me: failed program was:" >&5
6215 sed 's/^/| /' conftest.
$ac_ext >&5
6217 # Broken: fails on valid input.
6220 rm -f conftest.err conftest.
$ac_ext
6222 # OK, works on sane cases. Now check whether non-existent headers
6223 # can be detected and how.
6224 cat >conftest.
$ac_ext <<_ACEOF
6227 cat confdefs.h
>>conftest.
$ac_ext
6228 cat >>conftest.
$ac_ext <<_ACEOF
6229 /* end confdefs.h. */
6230 #include <ac_nonexistent.h>
6232 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
6233 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
6235 grep -v '^ *+' conftest.er1
>conftest.err
6237 cat conftest.err
>&5
6238 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6239 (exit $ac_status); } >/dev
/null
; then
6240 if test -s conftest.err
; then
6241 ac_cpp_err
=$ac_cxx_preproc_warn_flag
6242 ac_cpp_err
=$ac_cpp_err$ac_cxx_werror_flag
6249 if test -z "$ac_cpp_err"; then
6250 # Broken: success on invalid input.
6253 echo "$as_me: failed program was:" >&5
6254 sed 's/^/| /' conftest.
$ac_ext >&5
6256 # Passes both tests.
6260 rm -f conftest.err conftest.
$ac_ext
6263 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
6264 rm -f conftest.err conftest.
$ac_ext
6265 if $ac_preproc_ok; then
6268 { { echo "$as_me:$LINENO: error: C++ preprocessor \"$CXXCPP\" fails sanity check
6269 See \`config.log' for more details." >&5
6270 echo "$as_me: error: C++ preprocessor \"$CXXCPP\" fails sanity check
6271 See \`config.log' for more details." >&2;}
6272 { (exit 1); exit 1; }; }
6276 ac_cpp
='$CPP $CPPFLAGS'
6277 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6278 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6279 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
6283 LIBTOOL_DEPS
=$LIBTOOL_DEPS" $ac_aux_dir/ltcf-cxx.sh"
6285 lt_save_CFLAGS
="$CFLAGS"
6286 AR
="$AR" LTCC
="$CC" CC
="$CXX" CXX
="$CXX" CFLAGS
="$CXXFLAGS" CPPFLAGS
="$CPPFLAGS" \
6287 MAGIC_CMD
="$MAGIC_CMD" LD
="$LD" LDFLAGS
="$LDFLAGS" LIBS
="$LIBS" \
6288 LN_S
="$LN_S" NM
="$NM" RANLIB
="$RANLIB" STRIP
="$STRIP" \
6289 AS
="$AS" DLLTOOL
="$DLLTOOL" OBJDUMP
="$OBJDUMP" \
6290 objext
="$OBJEXT" exeext
="$EXEEXT" reload_flag
="$reload_flag" \
6291 deplibs_check_method
="$deplibs_check_method" \
6292 file_magic_cmd
="$file_magic_cmd" \
6293 ${CONFIG_SHELL-/bin/sh} $ac_aux_dir/ltconfig
-o libtool
$libtool_flags \
6294 --build="$build" --add-tag=CXX
$ac_aux_dir/ltcf-cxx.sh
$host \
6295 ||
{ { echo "$as_me:$LINENO: error: libtool tag configuration failed" >&5
6296 echo "$as_me: error: libtool tag configuration failed" >&2;}
6297 { (exit 1); exit 1; }; }
6299 CFLAGS
="$lt_save_CFLAGS"
6301 # Redirect the config.log output again, so that the ltconfig log is not
6302 # clobbered by the next message.
6303 exec 5>>.
/config.log
6308 if test "x${COMPILE_JNI}" = xyes
; then
6310 echo "$as_me:$LINENO: checking for egrep" >&5
6311 echo $ECHO_N "checking for egrep... $ECHO_C" >&6
6312 if test "${ac_cv_prog_egrep+set}" = set; then
6313 echo $ECHO_N "(cached) $ECHO_C" >&6
6315 if echo a |
(grep -E '(a|b)') >/dev
/null
2>&1
6316 then ac_cv_prog_egrep
='grep -E'
6317 else ac_cv_prog_egrep
='egrep'
6320 echo "$as_me:$LINENO: result: $ac_cv_prog_egrep" >&5
6321 echo "${ECHO_T}$ac_cv_prog_egrep" >&6
6322 EGREP
=$ac_cv_prog_egrep
6325 echo "$as_me:$LINENO: checking for ANSI C header files" >&5
6326 echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6
6327 if test "${ac_cv_header_stdc+set}" = set; then
6328 echo $ECHO_N "(cached) $ECHO_C" >&6
6330 cat >conftest.
$ac_ext <<_ACEOF
6333 cat confdefs.h
>>conftest.
$ac_ext
6334 cat >>conftest.
$ac_ext <<_ACEOF
6335 /* end confdefs.h. */
6349 rm -f conftest.
$ac_objext
6350 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6351 (eval $ac_compile) 2>conftest.er1
6353 grep -v '^ *+' conftest.er1
>conftest.err
6355 cat conftest.err
>&5
6356 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6357 (exit $ac_status); } &&
6358 { ac_try
='test -z "$ac_c_werror_flag"
6359 || test ! -s conftest.err'
6360 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6363 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6364 (exit $ac_status); }; } &&
6365 { ac_try
='test -s conftest.$ac_objext'
6366 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6369 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6370 (exit $ac_status); }; }; then
6371 ac_cv_header_stdc
=yes
6373 echo "$as_me: failed program was:" >&5
6374 sed 's/^/| /' conftest.
$ac_ext >&5
6376 ac_cv_header_stdc
=no
6378 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
6380 if test $ac_cv_header_stdc = yes; then
6381 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
6382 cat >conftest.
$ac_ext <<_ACEOF
6385 cat confdefs.h
>>conftest.
$ac_ext
6386 cat >>conftest.
$ac_ext <<_ACEOF
6387 /* end confdefs.h. */
6391 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
6392 $EGREP "memchr" >/dev
/null
2>&1; then
6395 ac_cv_header_stdc
=no
6401 if test $ac_cv_header_stdc = yes; then
6402 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
6403 cat >conftest.
$ac_ext <<_ACEOF
6406 cat confdefs.h
>>conftest.
$ac_ext
6407 cat >>conftest.
$ac_ext <<_ACEOF
6408 /* end confdefs.h. */
6412 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
6413 $EGREP "free" >/dev
/null
2>&1; then
6416 ac_cv_header_stdc
=no
6422 if test $ac_cv_header_stdc = yes; then
6423 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
6424 if test "$cross_compiling" = yes; then
6427 cat >conftest.
$ac_ext <<_ACEOF
6430 cat confdefs.h
>>conftest.
$ac_ext
6431 cat >>conftest.
$ac_ext <<_ACEOF
6432 /* end confdefs.h. */
6434 #if ((' ' & 0x0FF) == 0x020)
6435 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
6436 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
6438 # define ISLOWER(c) \
6439 (('a' <= (c) && (c) <= 'i') \
6440 || ('j' <= (c) && (c) <= 'r') \
6441 || ('s' <= (c) && (c) <= 'z'))
6442 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
6445 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
6450 for (i = 0; i < 256; i++)
6451 if (XOR (islower (i), ISLOWER (i))
6452 || toupper (i) != TOUPPER (i))
6457 rm -f conftest
$ac_exeext
6458 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
6459 (eval $ac_link) 2>&5
6461 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6462 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
6463 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6466 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6467 (exit $ac_status); }; }; then
6470 echo "$as_me: program exited with status $ac_status" >&5
6471 echo "$as_me: failed program was:" >&5
6472 sed 's/^/| /' conftest.
$ac_ext >&5
6475 ac_cv_header_stdc
=no
6477 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
6481 echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
6482 echo "${ECHO_T}$ac_cv_header_stdc" >&6
6483 if test $ac_cv_header_stdc = yes; then
6485 cat >>confdefs.h
<<\_ACEOF
6486 #define STDC_HEADERS 1
6492 echo "$as_me:$LINENO: checking size of void *" >&5
6493 echo $ECHO_N "checking size of void *... $ECHO_C" >&6
6494 if test "${ac_cv_sizeof_void_p+set}" = set; then
6495 echo $ECHO_N "(cached) $ECHO_C" >&6
6497 for ac_size
in 4 8 1 2 16 12 ; do # List sizes in rough order of prevalence.
6498 cat >conftest.
$ac_ext <<_ACEOF
6501 cat confdefs.h
>>conftest.
$ac_ext
6502 cat >>conftest.
$ac_ext <<_ACEOF
6503 /* end confdefs.h. */
6504 #include "confdefs.h"
6505 #include <sys/types.h>
6511 switch (0) case 0: case (sizeof (void *) == $ac_size):;
6516 rm -f conftest.
$ac_objext
6517 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6518 (eval $ac_compile) 2>conftest.er1
6520 grep -v '^ *+' conftest.er1
>conftest.err
6522 cat conftest.err
>&5
6523 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6524 (exit $ac_status); } &&
6525 { ac_try
='test -z "$ac_c_werror_flag"
6526 || test ! -s conftest.err'
6527 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6530 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6531 (exit $ac_status); }; } &&
6532 { ac_try
='test -s conftest.$ac_objext'
6533 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6536 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6537 (exit $ac_status); }; }; then
6538 ac_cv_sizeof_void_p
=$ac_size
6540 echo "$as_me: failed program was:" >&5
6541 sed 's/^/| /' conftest.
$ac_ext >&5
6544 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
6545 if test x
$ac_cv_sizeof_void_p != x
; then break; fi
6550 if test x
$ac_cv_sizeof_void_p = x
; then
6551 { { echo "$as_me:$LINENO: error: cannot determine a size for void *" >&5
6552 echo "$as_me: error: cannot determine a size for void *" >&2;}
6553 { (exit 1); exit 1; }; }
6555 echo "$as_me:$LINENO: result: $ac_cv_sizeof_void_p" >&5
6556 echo "${ECHO_T}$ac_cv_sizeof_void_p" >&6
6558 cat >>confdefs.h
<<_ACEOF
6559 #define SIZEOF_VOID_P $ac_cv_sizeof_void_p
6564 echo "$as_me:$LINENO: checking whether byte ordering is bigendian" >&5
6565 echo $ECHO_N "checking whether byte ordering is bigendian... $ECHO_C" >&6
6566 if test "${ac_cv_c_bigendian+set}" = set; then
6567 echo $ECHO_N "(cached) $ECHO_C" >&6
6569 ac_cv_c_bigendian
=unknown
6570 # See if sys/param.h defines the BYTE_ORDER macro.
6571 cat >conftest.
$ac_ext <<_ACEOF
6574 cat confdefs.h
>>conftest.
$ac_ext
6575 cat >>conftest.
$ac_ext <<_ACEOF
6576 /* end confdefs.h. */
6577 #include <sys/types.h>
6578 #include <sys/param.h>
6583 #if !BYTE_ORDER || !BIG_ENDIAN || !LITTLE_ENDIAN
6590 rm -f conftest.
$ac_objext
6591 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6592 (eval $ac_compile) 2>conftest.er1
6594 grep -v '^ *+' conftest.er1
>conftest.err
6596 cat conftest.err
>&5
6597 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6598 (exit $ac_status); } &&
6599 { ac_try
='test -z "$ac_c_werror_flag"
6600 || test ! -s conftest.err'
6601 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6604 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6605 (exit $ac_status); }; } &&
6606 { ac_try
='test -s conftest.$ac_objext'
6607 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6610 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6611 (exit $ac_status); }; }; then
6612 # It does; now see whether it defined to BIG_ENDIAN or not.
6613 cat >conftest.
$ac_ext <<_ACEOF
6616 cat confdefs.h
>>conftest.
$ac_ext
6617 cat >>conftest.
$ac_ext <<_ACEOF
6618 /* end confdefs.h. */
6619 #include <sys/types.h>
6620 #include <sys/param.h>
6625 #if BYTE_ORDER != BIG_ENDIAN
6632 rm -f conftest.
$ac_objext
6633 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6634 (eval $ac_compile) 2>conftest.er1
6636 grep -v '^ *+' conftest.er1
>conftest.err
6638 cat conftest.err
>&5
6639 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6640 (exit $ac_status); } &&
6641 { ac_try
='test -z "$ac_c_werror_flag"
6642 || test ! -s conftest.err'
6643 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6646 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6647 (exit $ac_status); }; } &&
6648 { ac_try
='test -s conftest.$ac_objext'
6649 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6652 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6653 (exit $ac_status); }; }; then
6654 ac_cv_c_bigendian
=yes
6656 echo "$as_me: failed program was:" >&5
6657 sed 's/^/| /' conftest.
$ac_ext >&5
6659 ac_cv_c_bigendian
=no
6661 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
6663 echo "$as_me: failed program was:" >&5
6664 sed 's/^/| /' conftest.
$ac_ext >&5
6667 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
6668 if test $ac_cv_c_bigendian = unknown
; then
6669 if test "$cross_compiling" = yes; then
6670 echo $ac_n "cross-compiling... " 2>&6
6672 cat >conftest.
$ac_ext <<_ACEOF
6675 cat confdefs.h
>>conftest.
$ac_ext
6676 cat >>conftest.
$ac_ext <<_ACEOF
6677 /* end confdefs.h. */
6679 /* Are we little or big endian? From Harbison&Steele. */
6683 char c[sizeof (long)];
6686 exit (u.c[sizeof (long) - 1] == 1);
6689 rm -f conftest
$ac_exeext
6690 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
6691 (eval $ac_link) 2>&5
6693 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6694 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
6695 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6698 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6699 (exit $ac_status); }; }; then
6700 ac_cv_c_bigendian
=no
6702 echo "$as_me: program exited with status $ac_status" >&5
6703 echo "$as_me: failed program was:" >&5
6704 sed 's/^/| /' conftest.
$ac_ext >&5
6707 ac_cv_c_bigendian
=yes
6709 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
6713 echo "$as_me:$LINENO: result: $ac_cv_c_bigendian" >&5
6714 echo "${ECHO_T}$ac_cv_c_bigendian" >&6
6715 if test $ac_cv_c_bigendian = unknown
; then
6716 echo "$as_me:$LINENO: checking to probe for byte ordering" >&5
6717 echo $ECHO_N "checking to probe for byte ordering... $ECHO_C" >&6
6719 cat >conftest.c
<<EOF
6720 short ascii_mm[] = { 0x4249, 0x4765, 0x6E44, 0x6961, 0x6E53, 0x7953, 0 };
6721 short ascii_ii[] = { 0x694C, 0x5454, 0x656C, 0x6E45, 0x6944, 0x6E61, 0 };
6722 void _ascii() { char* s = (char*) ascii_mm; s = (char*) ascii_ii; }
6723 short ebcdic_ii[] = { 0x89D3, 0xE3E3, 0x8593, 0x95C5, 0x89C4, 0x9581, 0 };
6724 short ebcdic_mm[] = { 0xC2C9, 0xC785, 0x95C4, 0x8981, 0x95E2, 0xA8E2, 0 };
6725 void _ebcdic() { char* s = (char*) ebcdic_mm; s = (char*) ebcdic_ii; }
6726 int main() { _ascii (); _ebcdic (); return 0; }
6728 if test -f conftest.c
; then
6729 if ${CC-cc} ${CFLAGS} -c conftest.c
-o conftest.o
&& test -f conftest.o
; then
6730 if test `grep -l BIGenDianSyS conftest.o` ; then
6731 echo $ac_n ' big endian probe OK, ' 1>&6
6732 ac_cv_c_bigendian
=yes
6734 if test `grep -l LiTTleEnDian conftest.o` ; then
6735 echo $ac_n ' little endian probe OK, ' 1>&6
6736 if test $ac_cv_c_bigendian = yes ; then
6737 ac_cv_c_bigendian
=unknown
;
6739 ac_cv_c_bigendian
=no
6742 echo $ac_n 'guessing bigendian ... ' >&6
6745 echo "$as_me:$LINENO: result: $ac_cv_c_bigendian" >&5
6746 echo "${ECHO_T}$ac_cv_c_bigendian" >&6
6748 if test $ac_cv_c_bigendian = yes; then
6750 cat >>confdefs.h
<<\_ACEOF
6751 #define WORDS_BIGENDIAN 1
6755 cat >>confdefs.h
<<\_ACEOF
6756 #define HOST_WORDS_BIG_ENDIAN 1
6764 cat >>confdefs.h
<<_ACEOF
6765 #define BYTEORDER $BYTEORDER
6768 if test $ac_cv_c_bigendian = unknown
; then
6769 { { echo "$as_me:$LINENO: error: unknown endianess - sorry, please pre-set ac_cv_c_bigendian" >&5
6770 echo "$as_me: error: unknown endianess - sorry, please pre-set ac_cv_c_bigendian" >&2;}
6771 { (exit 1); exit 1; }; }
6775 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
6785 for ac_header
in sys
/types.h sys
/stat.h stdlib.h string.h memory.h
strings.h \
6786 inttypes.h stdint.h unistd.h
6788 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
6789 echo "$as_me:$LINENO: checking for $ac_header" >&5
6790 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
6791 if eval "test \"\${$as_ac_Header+set}\" = set"; then
6792 echo $ECHO_N "(cached) $ECHO_C" >&6
6794 cat >conftest.
$ac_ext <<_ACEOF
6797 cat confdefs.h
>>conftest.
$ac_ext
6798 cat >>conftest.
$ac_ext <<_ACEOF
6799 /* end confdefs.h. */
6800 $ac_includes_default
6802 #include <$ac_header>
6804 rm -f conftest.
$ac_objext
6805 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6806 (eval $ac_compile) 2>conftest.er1
6808 grep -v '^ *+' conftest.er1
>conftest.err
6810 cat conftest.err
>&5
6811 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6812 (exit $ac_status); } &&
6813 { ac_try
='test -z "$ac_c_werror_flag"
6814 || test ! -s conftest.err'
6815 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6818 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6819 (exit $ac_status); }; } &&
6820 { ac_try
='test -s conftest.$ac_objext'
6821 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6824 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6825 (exit $ac_status); }; }; then
6826 eval "$as_ac_Header=yes"
6828 echo "$as_me: failed program was:" >&5
6829 sed 's/^/| /' conftest.
$ac_ext >&5
6831 eval "$as_ac_Header=no"
6833 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
6835 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
6836 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
6837 if test `eval echo '${'$as_ac_Header'}'` = yes; then
6838 cat >>confdefs.h
<<_ACEOF
6839 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
6862 for ac_header
in unistd.h sys
/types.h sys
/config.h sys
/ioctl.h \
6864 inttypes.h stdint.h utime.h sys
/utime.h sys
/filio.h \
6871 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
6872 if eval "test \"\${$as_ac_Header+set}\" = set"; then
6873 echo "$as_me:$LINENO: checking for $ac_header" >&5
6874 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
6875 if eval "test \"\${$as_ac_Header+set}\" = set"; then
6876 echo $ECHO_N "(cached) $ECHO_C" >&6
6878 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
6879 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
6881 # Is the header compilable?
6882 echo "$as_me:$LINENO: checking $ac_header usability" >&5
6883 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
6884 cat >conftest.
$ac_ext <<_ACEOF
6887 cat confdefs.h
>>conftest.
$ac_ext
6888 cat >>conftest.
$ac_ext <<_ACEOF
6889 /* end confdefs.h. */
6890 $ac_includes_default
6891 #include <$ac_header>
6893 rm -f conftest.
$ac_objext
6894 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6895 (eval $ac_compile) 2>conftest.er1
6897 grep -v '^ *+' conftest.er1
>conftest.err
6899 cat conftest.err
>&5
6900 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6901 (exit $ac_status); } &&
6902 { ac_try
='test -z "$ac_c_werror_flag"
6903 || test ! -s conftest.err'
6904 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6907 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6908 (exit $ac_status); }; } &&
6909 { ac_try
='test -s conftest.$ac_objext'
6910 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6913 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6914 (exit $ac_status); }; }; then
6915 ac_header_compiler
=yes
6917 echo "$as_me: failed program was:" >&5
6918 sed 's/^/| /' conftest.
$ac_ext >&5
6920 ac_header_compiler
=no
6922 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
6923 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
6924 echo "${ECHO_T}$ac_header_compiler" >&6
6926 # Is the header present?
6927 echo "$as_me:$LINENO: checking $ac_header presence" >&5
6928 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
6929 cat >conftest.
$ac_ext <<_ACEOF
6932 cat confdefs.h
>>conftest.
$ac_ext
6933 cat >>conftest.
$ac_ext <<_ACEOF
6934 /* end confdefs.h. */
6935 #include <$ac_header>
6937 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
6938 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
6940 grep -v '^ *+' conftest.er1
>conftest.err
6942 cat conftest.err
>&5
6943 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6944 (exit $ac_status); } >/dev
/null
; then
6945 if test -s conftest.err
; then
6946 ac_cpp_err
=$ac_c_preproc_warn_flag
6947 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
6954 if test -z "$ac_cpp_err"; then
6955 ac_header_preproc
=yes
6957 echo "$as_me: failed program was:" >&5
6958 sed 's/^/| /' conftest.
$ac_ext >&5
6960 ac_header_preproc
=no
6962 rm -f conftest.err conftest.
$ac_ext
6963 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
6964 echo "${ECHO_T}$ac_header_preproc" >&6
6966 # So? What about this header?
6967 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
6969 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
6970 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
6971 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
6972 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
6973 ac_header_preproc
=yes
6976 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
6977 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
6978 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
6979 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
6980 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
6981 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
6982 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
6983 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
6984 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
6985 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
6986 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
6987 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
6990 ## -------------------------------- ##
6991 ## Report this to classpath@gnu.org ##
6992 ## -------------------------------- ##
6995 sed "s/^/$as_me: WARNING: /" >&2
6998 echo "$as_me:$LINENO: checking for $ac_header" >&5
6999 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
7000 if eval "test \"\${$as_ac_Header+set}\" = set"; then
7001 echo $ECHO_N "(cached) $ECHO_C" >&6
7003 eval "$as_ac_Header=\$ac_header_preproc"
7005 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
7006 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
7009 if test `eval echo '${'$as_ac_Header'}'` = yes; then
7010 cat >>confdefs.h
<<_ACEOF
7011 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
7019 cat >conftest.
$ac_ext <<_ACEOF
7022 cat confdefs.h
>>conftest.
$ac_ext
7023 cat >>conftest.
$ac_ext <<_ACEOF
7024 /* end confdefs.h. */
7028 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
7029 $EGREP "uint32_t" >/dev
/null
2>&1; then
7031 cat >>confdefs.h
<<\_ACEOF
7032 #define HAVE_INT32_DEFINED 1
7038 cat >conftest.
$ac_ext <<_ACEOF
7041 cat confdefs.h
>>conftest.
$ac_ext
7042 cat >>conftest.
$ac_ext <<_ACEOF
7043 /* end confdefs.h. */
7044 #include <inttypes.h>
7047 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
7048 $EGREP "uint32_t" >/dev
/null
2>&1; then
7050 cat >>confdefs.h
<<\_ACEOF
7051 #define HAVE_INT32_DEFINED 1
7057 cat >conftest.
$ac_ext <<_ACEOF
7060 cat confdefs.h
>>conftest.
$ac_ext
7061 cat >>conftest.
$ac_ext <<_ACEOF
7062 /* end confdefs.h. */
7063 #include <sys/types.h>
7066 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
7067 $EGREP "u_int32_t" >/dev
/null
2>&1; then
7069 cat >>confdefs.h
<<\_ACEOF
7070 #define HAVE_BSD_INT32_DEFINED 1
7076 cat >conftest.
$ac_ext <<_ACEOF
7079 cat confdefs.h
>>conftest.
$ac_ext
7080 cat >>conftest.
$ac_ext <<_ACEOF
7081 /* end confdefs.h. */
7082 #include <sys/config.h>
7085 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
7086 $EGREP "u_int32_t" >/dev
/null
2>&1; then
7088 cat >>confdefs.h
<<\_ACEOF
7089 #define HAVE_BSD_INT32_DEFINED 1
7137 for ac_func
in ftruncate fsync
select \
7138 gethostname socket strerror fork pipe execve open close \
7139 lseek fstat
read write htonl memset htons connect \
7140 getsockname getpeername
bind listen accept \
7141 recvfrom send sendto setsockopt getsockopt
time mktime \
7145 mmap munmap mincore msync madvise getpagesize sysconf
7147 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
7148 echo "$as_me:$LINENO: checking for $ac_func" >&5
7149 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
7150 if eval "test \"\${$as_ac_var+set}\" = set"; then
7151 echo $ECHO_N "(cached) $ECHO_C" >&6
7153 if test x
$gcc_no_link = xyes
; then
7154 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
7155 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
7156 { (exit 1); exit 1; }; }
7158 cat >conftest.
$ac_ext <<_ACEOF
7161 cat confdefs.h
>>conftest.
$ac_ext
7162 cat >>conftest.
$ac_ext <<_ACEOF
7163 /* end confdefs.h. */
7164 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
7165 For example, HP-UX 11i <limits.h> declares gettimeofday. */
7166 #define $ac_func innocuous_$ac_func
7168 /* System header to define __stub macros and hopefully few prototypes,
7169 which can conflict with char $ac_func (); below.
7170 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
7171 <limits.h> exists even on freestanding compilers. */
7174 # include <limits.h>
7176 # include <assert.h>
7181 /* Override any gcc2 internal prototype to avoid an error. */
7186 /* We use char because int might match the return type of a gcc2
7187 builtin and then its argument prototype would still apply. */
7189 /* The GNU C library defines this for functions which it implements
7190 to always fail with ENOSYS. Some functions are actually named
7191 something starting with __ and the normal name is an alias. */
7192 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
7195 char (*f) () = $ac_func;
7204 return f != $ac_func;
7209 rm -f conftest.
$ac_objext conftest
$ac_exeext
7210 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
7211 (eval $ac_link) 2>conftest.er1
7213 grep -v '^ *+' conftest.er1
>conftest.err
7215 cat conftest.err
>&5
7216 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7217 (exit $ac_status); } &&
7218 { ac_try
='test -z "$ac_c_werror_flag"
7219 || test ! -s conftest.err'
7220 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7223 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7224 (exit $ac_status); }; } &&
7225 { ac_try
='test -s conftest$ac_exeext'
7226 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7229 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7230 (exit $ac_status); }; }; then
7231 eval "$as_ac_var=yes"
7233 echo "$as_me: failed program was:" >&5
7234 sed 's/^/| /' conftest.
$ac_ext >&5
7236 eval "$as_ac_var=no"
7238 rm -f conftest.err conftest.
$ac_objext \
7239 conftest
$ac_exeext conftest.
$ac_ext
7241 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
7242 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
7243 if test `eval echo '${'$as_ac_var'}'` = yes; then
7244 cat >>confdefs.h
<<_ACEOF
7245 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
7252 echo "$as_me:$LINENO: checking whether time.h and sys/time.h may both be included" >&5
7253 echo $ECHO_N "checking whether time.h and sys/time.h may both be included... $ECHO_C" >&6
7254 if test "${ac_cv_header_time+set}" = set; then
7255 echo $ECHO_N "(cached) $ECHO_C" >&6
7257 cat >conftest.
$ac_ext <<_ACEOF
7260 cat confdefs.h
>>conftest.
$ac_ext
7261 cat >>conftest.
$ac_ext <<_ACEOF
7262 /* end confdefs.h. */
7263 #include <sys/types.h>
7264 #include <sys/time.h>
7270 if ((struct tm *) 0)
7276 rm -f conftest.
$ac_objext
7277 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7278 (eval $ac_compile) 2>conftest.er1
7280 grep -v '^ *+' conftest.er1
>conftest.err
7282 cat conftest.err
>&5
7283 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7284 (exit $ac_status); } &&
7285 { ac_try
='test -z "$ac_c_werror_flag"
7286 || test ! -s conftest.err'
7287 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7290 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7291 (exit $ac_status); }; } &&
7292 { ac_try
='test -s conftest.$ac_objext'
7293 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7296 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7297 (exit $ac_status); }; }; then
7298 ac_cv_header_time
=yes
7300 echo "$as_me: failed program was:" >&5
7301 sed 's/^/| /' conftest.
$ac_ext >&5
7303 ac_cv_header_time
=no
7305 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
7307 echo "$as_me:$LINENO: result: $ac_cv_header_time" >&5
7308 echo "${ECHO_T}$ac_cv_header_time" >&6
7309 if test $ac_cv_header_time = yes; then
7311 cat >>confdefs.h
<<\_ACEOF
7312 #define TIME_WITH_SYS_TIME 1
7317 echo "$as_me:$LINENO: checking whether struct tm is in sys/time.h or time.h" >&5
7318 echo $ECHO_N "checking whether struct tm is in sys/time.h or time.h... $ECHO_C" >&6
7319 if test "${ac_cv_struct_tm+set}" = set; then
7320 echo $ECHO_N "(cached) $ECHO_C" >&6
7322 cat >conftest.
$ac_ext <<_ACEOF
7325 cat confdefs.h
>>conftest.
$ac_ext
7326 cat >>conftest.
$ac_ext <<_ACEOF
7327 /* end confdefs.h. */
7328 #include <sys/types.h>
7334 struct tm *tp; tp->tm_sec;
7339 rm -f conftest.
$ac_objext
7340 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7341 (eval $ac_compile) 2>conftest.er1
7343 grep -v '^ *+' conftest.er1
>conftest.err
7345 cat conftest.err
>&5
7346 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7347 (exit $ac_status); } &&
7348 { ac_try
='test -z "$ac_c_werror_flag"
7349 || test ! -s conftest.err'
7350 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7353 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7354 (exit $ac_status); }; } &&
7355 { ac_try
='test -s conftest.$ac_objext'
7356 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7359 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7360 (exit $ac_status); }; }; then
7361 ac_cv_struct_tm
=time.h
7363 echo "$as_me: failed program was:" >&5
7364 sed 's/^/| /' conftest.
$ac_ext >&5
7366 ac_cv_struct_tm
=sys
/time.h
7368 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
7370 echo "$as_me:$LINENO: result: $ac_cv_struct_tm" >&5
7371 echo "${ECHO_T}$ac_cv_struct_tm" >&6
7372 if test $ac_cv_struct_tm = sys
/time.h
; then
7374 cat >>confdefs.h
<<\_ACEOF
7375 #define TM_IN_SYS_TIME 1
7380 echo "$as_me:$LINENO: checking for struct tm.tm_zone" >&5
7381 echo $ECHO_N "checking for struct tm.tm_zone... $ECHO_C" >&6
7382 if test "${ac_cv_member_struct_tm_tm_zone+set}" = set; then
7383 echo $ECHO_N "(cached) $ECHO_C" >&6
7385 cat >conftest.
$ac_ext <<_ACEOF
7388 cat confdefs.h
>>conftest.
$ac_ext
7389 cat >>conftest.
$ac_ext <<_ACEOF
7390 /* end confdefs.h. */
7391 #include <sys/types.h>
7392 #include <$ac_cv_struct_tm>
7398 static struct tm ac_aggr;
7399 if (ac_aggr.tm_zone)
7405 rm -f conftest.
$ac_objext
7406 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7407 (eval $ac_compile) 2>conftest.er1
7409 grep -v '^ *+' conftest.er1
>conftest.err
7411 cat conftest.err
>&5
7412 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7413 (exit $ac_status); } &&
7414 { ac_try
='test -z "$ac_c_werror_flag"
7415 || test ! -s conftest.err'
7416 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7419 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7420 (exit $ac_status); }; } &&
7421 { ac_try
='test -s conftest.$ac_objext'
7422 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7425 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7426 (exit $ac_status); }; }; then
7427 ac_cv_member_struct_tm_tm_zone
=yes
7429 echo "$as_me: failed program was:" >&5
7430 sed 's/^/| /' conftest.
$ac_ext >&5
7432 cat >conftest.
$ac_ext <<_ACEOF
7435 cat confdefs.h
>>conftest.
$ac_ext
7436 cat >>conftest.
$ac_ext <<_ACEOF
7437 /* end confdefs.h. */
7438 #include <sys/types.h>
7439 #include <$ac_cv_struct_tm>
7445 static struct tm ac_aggr;
7446 if (sizeof ac_aggr.tm_zone)
7452 rm -f conftest.
$ac_objext
7453 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7454 (eval $ac_compile) 2>conftest.er1
7456 grep -v '^ *+' conftest.er1
>conftest.err
7458 cat conftest.err
>&5
7459 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7460 (exit $ac_status); } &&
7461 { ac_try
='test -z "$ac_c_werror_flag"
7462 || test ! -s conftest.err'
7463 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7466 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7467 (exit $ac_status); }; } &&
7468 { ac_try
='test -s conftest.$ac_objext'
7469 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7472 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7473 (exit $ac_status); }; }; then
7474 ac_cv_member_struct_tm_tm_zone
=yes
7476 echo "$as_me: failed program was:" >&5
7477 sed 's/^/| /' conftest.
$ac_ext >&5
7479 ac_cv_member_struct_tm_tm_zone
=no
7481 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
7483 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
7485 echo "$as_me:$LINENO: result: $ac_cv_member_struct_tm_tm_zone" >&5
7486 echo "${ECHO_T}$ac_cv_member_struct_tm_tm_zone" >&6
7487 if test $ac_cv_member_struct_tm_tm_zone = yes; then
7489 cat >>confdefs.h
<<_ACEOF
7490 #define HAVE_STRUCT_TM_TM_ZONE 1
7496 if test "$ac_cv_member_struct_tm_tm_zone" = yes; then
7498 cat >>confdefs.h
<<\_ACEOF
7499 #define HAVE_TM_ZONE 1
7503 echo "$as_me:$LINENO: checking for tzname" >&5
7504 echo $ECHO_N "checking for tzname... $ECHO_C" >&6
7505 if test "${ac_cv_var_tzname+set}" = set; then
7506 echo $ECHO_N "(cached) $ECHO_C" >&6
7508 if test x
$gcc_no_link = xyes
; then
7509 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
7510 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
7511 { (exit 1); exit 1; }; }
7513 cat >conftest.
$ac_ext <<_ACEOF
7516 cat confdefs.h
>>conftest.
$ac_ext
7517 cat >>conftest.
$ac_ext <<_ACEOF
7518 /* end confdefs.h. */
7520 #ifndef tzname /* For SGI. */
7521 extern char *tzname[]; /* RS6000 and others reject char **tzname. */
7532 rm -f conftest.
$ac_objext conftest
$ac_exeext
7533 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
7534 (eval $ac_link) 2>conftest.er1
7536 grep -v '^ *+' conftest.er1
>conftest.err
7538 cat conftest.err
>&5
7539 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7540 (exit $ac_status); } &&
7541 { ac_try
='test -z "$ac_c_werror_flag"
7542 || test ! -s conftest.err'
7543 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7546 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7547 (exit $ac_status); }; } &&
7548 { ac_try
='test -s conftest$ac_exeext'
7549 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7552 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7553 (exit $ac_status); }; }; then
7554 ac_cv_var_tzname
=yes
7556 echo "$as_me: failed program was:" >&5
7557 sed 's/^/| /' conftest.
$ac_ext >&5
7561 rm -f conftest.err conftest.
$ac_objext \
7562 conftest
$ac_exeext conftest.
$ac_ext
7564 echo "$as_me:$LINENO: result: $ac_cv_var_tzname" >&5
7565 echo "${ECHO_T}$ac_cv_var_tzname" >&6
7566 if test $ac_cv_var_tzname = yes; then
7568 cat >>confdefs.h
<<\_ACEOF
7569 #define HAVE_TZNAME 1
7576 echo "$as_me:$LINENO: checking for tm_gmtoff in struct tm" >&5
7577 echo $ECHO_N "checking for tm_gmtoff in struct tm... $ECHO_C" >&6
7578 cat >conftest.
$ac_ext <<_ACEOF
7581 cat confdefs.h
>>conftest.
$ac_ext
7582 cat >>conftest.
$ac_ext <<_ACEOF
7583 /* end confdefs.h. */
7588 struct tm tim; tim.tm_gmtoff = 0;
7593 rm -f conftest.
$ac_objext
7594 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7595 (eval $ac_compile) 2>conftest.er1
7597 grep -v '^ *+' conftest.er1
>conftest.err
7599 cat conftest.err
>&5
7600 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7601 (exit $ac_status); } &&
7602 { ac_try
='test -z "$ac_c_werror_flag"
7603 || test ! -s conftest.err'
7604 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7607 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7608 (exit $ac_status); }; } &&
7609 { ac_try
='test -s conftest.$ac_objext'
7610 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7613 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7614 (exit $ac_status); }; }; then
7616 cat >>confdefs.h
<<\_ACEOF
7617 #define STRUCT_TM_HAS_GMTOFF 1
7620 echo "$as_me:$LINENO: result: yes" >&5
7621 echo "${ECHO_T}yes" >&6
7623 echo "$as_me: failed program was:" >&5
7624 sed 's/^/| /' conftest.
$ac_ext >&5
7626 echo "$as_me:$LINENO: result: no" >&5
7627 echo "${ECHO_T}no" >&6
7628 echo "$as_me:$LINENO: checking for global timezone variable" >&5
7629 echo $ECHO_N "checking for global timezone variable... $ECHO_C" >&6
7630 cat >conftest.
$ac_ext <<_ACEOF
7633 cat confdefs.h
>>conftest.
$ac_ext
7634 cat >>conftest.
$ac_ext <<_ACEOF
7635 /* end confdefs.h. */
7640 void i(){long z2 = 2*timezone;}
7645 rm -f conftest.
$ac_objext
7646 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7647 (eval $ac_compile) 2>conftest.er1
7649 grep -v '^ *+' conftest.er1
>conftest.err
7651 cat conftest.err
>&5
7652 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7653 (exit $ac_status); } &&
7654 { ac_try
='test -z "$ac_c_werror_flag"
7655 || test ! -s conftest.err'
7656 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7659 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7660 (exit $ac_status); }; } &&
7661 { ac_try
='test -s conftest.$ac_objext'
7662 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7665 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7666 (exit $ac_status); }; }; then
7668 cat >>confdefs.h
<<\_ACEOF
7669 #define HAVE_TIMEZONE 1
7672 echo "$as_me:$LINENO: result: yes" >&5
7673 echo "${ECHO_T}yes" >&6
7675 echo "$as_me: failed program was:" >&5
7676 sed 's/^/| /' conftest.
$ac_ext >&5
7678 echo "$as_me:$LINENO: result: no" >&5
7679 echo "${ECHO_T}no" >&6
7680 echo "$as_me:$LINENO: checking for global _timezone variable" >&5
7681 echo $ECHO_N "checking for global _timezone variable... $ECHO_C" >&6
7682 cat >conftest.
$ac_ext <<_ACEOF
7685 cat confdefs.h
>>conftest.
$ac_ext
7686 cat >>conftest.
$ac_ext <<_ACEOF
7687 /* end confdefs.h. */
7692 long z2 = _timezone;
7697 rm -f conftest.
$ac_objext
7698 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7699 (eval $ac_compile) 2>conftest.er1
7701 grep -v '^ *+' conftest.er1
>conftest.err
7703 cat conftest.err
>&5
7704 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7705 (exit $ac_status); } &&
7706 { ac_try
='test -z "$ac_c_werror_flag"
7707 || test ! -s conftest.err'
7708 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7711 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7712 (exit $ac_status); }; } &&
7713 { ac_try
='test -s conftest.$ac_objext'
7714 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7717 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7718 (exit $ac_status); }; }; then
7720 cat >>confdefs.h
<<\_ACEOF
7721 #define HAVE_UNDERSCORE_TIMEZONE 1
7724 echo "$as_me:$LINENO: result: yes" >&5
7725 echo "${ECHO_T}yes" >&6
7727 echo "$as_me: failed program was:" >&5
7728 sed 's/^/| /' conftest.
$ac_ext >&5
7730 echo "$as_me:$LINENO: result: no" >&5
7731 echo "${ECHO_T}no" >&6
7733 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
7735 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
7737 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
7739 echo "$as_me:$LINENO: checking for an ANSI C-conforming const" >&5
7740 echo $ECHO_N "checking for an ANSI C-conforming const... $ECHO_C" >&6
7741 if test "${ac_cv_c_const+set}" = set; then
7742 echo $ECHO_N "(cached) $ECHO_C" >&6
7744 cat >conftest.
$ac_ext <<_ACEOF
7747 cat confdefs.h
>>conftest.
$ac_ext
7748 cat >>conftest.
$ac_ext <<_ACEOF
7749 /* end confdefs.h. */
7754 /* FIXME: Include the comments suggested by Paul. */
7756 /* Ultrix mips cc rejects this. */
7757 typedef int charset[2];
7759 /* SunOS 4.1.1 cc rejects this. */
7760 char const *const *ccp;
7762 /* NEC SVR4.0.2 mips cc rejects this. */
7763 struct point {int x, y;};
7764 static struct point const zero = {0,0};
7765 /* AIX XL C 1.02.0.0 rejects this.
7766 It does not let you subtract one const X* pointer from another in
7767 an arm of an if-expression whose if-part is not a constant
7769 const char *g = "string";
7770 ccp = &g + (g ? g-g : 0);
7771 /* HPUX 7.0 cc rejects these. */
7774 ccp = (char const *const *) p;
7775 { /* SCO 3.2v4 cc rejects this. */
7777 char const *s = 0 ? (char *) 0 : (char const *) 0;
7781 { /* Someone thinks the Sun supposedly-ANSI compiler will reject this. */
7783 const int *foo = &x[0];
7786 { /* Sun SC1.0 ANSI compiler rejects this -- but not the above. */
7787 typedef const int *iptr;
7791 { /* AIX XL C 1.02.0.0 rejects this saying
7792 "k.c", line 2.27: 1506-025 (S) Operand must be a modifiable lvalue. */
7793 struct s { int j; const int *ap[3]; };
7794 struct s *b; b->j = 5;
7796 { /* ULTRIX-32 V3.1 (Rev 9) vcc rejects this */
7805 rm -f conftest.
$ac_objext
7806 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7807 (eval $ac_compile) 2>conftest.er1
7809 grep -v '^ *+' conftest.er1
>conftest.err
7811 cat conftest.err
>&5
7812 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7813 (exit $ac_status); } &&
7814 { ac_try
='test -z "$ac_c_werror_flag"
7815 || test ! -s conftest.err'
7816 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7819 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7820 (exit $ac_status); }; } &&
7821 { ac_try
='test -s conftest.$ac_objext'
7822 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7825 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7826 (exit $ac_status); }; }; then
7829 echo "$as_me: failed program was:" >&5
7830 sed 's/^/| /' conftest.
$ac_ext >&5
7834 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
7836 echo "$as_me:$LINENO: result: $ac_cv_c_const" >&5
7837 echo "${ECHO_T}$ac_cv_c_const" >&6
7838 if test $ac_cv_c_const = no
; then
7840 cat >>confdefs.h
<<\_ACEOF
7848 if test "X$prefix" = "XNONE"; then
7849 acl_final_prefix
="$ac_default_prefix"
7851 acl_final_prefix
="$prefix"
7853 if test "X$exec_prefix" = "XNONE"; then
7854 acl_final_exec_prefix
='${prefix}'
7856 acl_final_exec_prefix
="$exec_prefix"
7858 acl_save_prefix
="$prefix"
7859 prefix
="$acl_final_prefix"
7860 eval acl_final_exec_prefix
=\"$acl_final_exec_prefix\"
7861 prefix
="$acl_save_prefix"
7864 # Check whether --with-gnu-ld or --without-gnu-ld was given.
7865 if test "${with_gnu_ld+set}" = set; then
7866 withval
="$with_gnu_ld"
7867 test "$withval" = no || with_gnu_ld
=yes
7871 # Prepare PATH_SEPARATOR.
7872 # The user is always right.
7873 if test "${PATH_SEPARATOR+set}" != set; then
7874 echo "#! /bin/sh" >conf$$.sh
7875 echo "exit 0" >>conf$$.sh
7877 if (PATH
="/nonexistent;."; conf$$.sh
) >/dev
/null
2>&1; then
7885 if test "$GCC" = yes; then
7886 # Check if gcc -print-prog-name=ld gives a path.
7887 echo "$as_me:$LINENO: checking for ld used by GCC" >&5
7888 echo $ECHO_N "checking for ld used by GCC... $ECHO_C" >&6
7891 # gcc leaves a trailing carriage return which upsets mingw
7892 ac_prog
=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
7894 ac_prog
=`($CC -print-prog-name=ld) 2>&5` ;;
7897 # Accept absolute paths.
7898 [\\/]* |
[A-Za-z
]:[\\/]*)
7899 re_direlt
='/[^/][^/]*/\.\./'
7900 # Canonicalize the path of ld
7901 ac_prog
=`echo $ac_prog| sed 's%\\\\%/%g'`
7902 while echo $ac_prog |
grep "$re_direlt" > /dev
/null
2>&1; do
7903 ac_prog
=`echo $ac_prog| sed "s%$re_direlt%/%"`
7905 test -z "$LD" && LD
="$ac_prog"
7908 # If it fails, then pretend we aren't using GCC.
7912 # If it is relative, then search for the first ld in PATH.
7916 elif test "$with_gnu_ld" = yes; then
7917 echo "$as_me:$LINENO: checking for GNU ld" >&5
7918 echo $ECHO_N "checking for GNU ld... $ECHO_C" >&6
7920 echo "$as_me:$LINENO: checking for non-GNU ld" >&5
7921 echo $ECHO_N "checking for non-GNU ld... $ECHO_C" >&6
7923 if test "${acl_cv_path_LD+set}" = set; then
7924 echo $ECHO_N "(cached) $ECHO_C" >&6
7926 if test -z "$LD"; then
7927 IFS
="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}${PATH_SEPARATOR-:}"
7928 for ac_dir
in $PATH; do
7929 test -z "$ac_dir" && ac_dir
=.
7930 if test -f "$ac_dir/$ac_prog" ||
test -f "$ac_dir/$ac_prog$ac_exeext"; then
7931 acl_cv_path_LD
="$ac_dir/$ac_prog"
7932 # Check to see if the program is GNU ld. I'd rather use --version,
7933 # but apparently some GNU ld's only accept -v.
7934 # Break only if it was the GNU/non-GNU ld that we prefer.
7935 if "$acl_cv_path_LD" -v 2>&1 < /dev
/null |
egrep '(GNU|with BFD)' > /dev
/null
; then
7936 test "$with_gnu_ld" != no
&& break
7938 test "$with_gnu_ld" != yes && break
7944 acl_cv_path_LD
="$LD" # Let the user override the test with a path.
7948 LD
="$acl_cv_path_LD"
7949 if test -n "$LD"; then
7950 echo "$as_me:$LINENO: result: $LD" >&5
7951 echo "${ECHO_T}$LD" >&6
7953 echo "$as_me:$LINENO: result: no" >&5
7954 echo "${ECHO_T}no" >&6
7956 test -z "$LD" && { { echo "$as_me:$LINENO: error: no acceptable ld found in \$PATH" >&5
7957 echo "$as_me: error: no acceptable ld found in \$PATH" >&2;}
7958 { (exit 1); exit 1; }; }
7959 echo "$as_me:$LINENO: checking if the linker ($LD) is GNU ld" >&5
7960 echo $ECHO_N "checking if the linker ($LD) is GNU ld... $ECHO_C" >&6
7961 if test "${acl_cv_prog_gnu_ld+set}" = set; then
7962 echo $ECHO_N "(cached) $ECHO_C" >&6
7964 # I'd rather use --version here, but apparently some GNU ld's only accept -v.
7965 if $LD -v 2>&1 </dev
/null |
egrep '(GNU|with BFD)' 1>&5; then
7966 acl_cv_prog_gnu_ld
=yes
7968 acl_cv_prog_gnu_ld
=no
7971 echo "$as_me:$LINENO: result: $acl_cv_prog_gnu_ld" >&5
7972 echo "${ECHO_T}$acl_cv_prog_gnu_ld" >&6
7973 with_gnu_ld
=$acl_cv_prog_gnu_ld
7977 echo "$as_me:$LINENO: checking for shared library run path origin" >&5
7978 echo $ECHO_N "checking for shared library run path origin... $ECHO_C" >&6
7979 if test "${acl_cv_rpath+set}" = set; then
7980 echo $ECHO_N "(cached) $ECHO_C" >&6
7983 CC
="$CC" GCC
="$GCC" LDFLAGS
="$LDFLAGS" LD
="$LD" with_gnu_ld
="$with_gnu_ld" \
7984 ${CONFIG_SHELL-/bin/sh} "$ac_aux_dir/config.rpath" "$host" > conftest.sh
7990 echo "$as_me:$LINENO: result: $acl_cv_rpath" >&5
7991 echo "${ECHO_T}$acl_cv_rpath" >&6
7993 libext
="$acl_cv_libext"
7994 shlibext
="$acl_cv_shlibext"
7995 hardcode_libdir_flag_spec
="$acl_cv_hardcode_libdir_flag_spec"
7996 hardcode_libdir_separator
="$acl_cv_hardcode_libdir_separator"
7997 hardcode_direct
="$acl_cv_hardcode_direct"
7998 hardcode_minus_L
="$acl_cv_hardcode_minus_L"
7999 # Check whether --enable-rpath or --disable-rpath was given.
8000 if test "${enable_rpath+set}" = set; then
8001 enableval
="$enable_rpath"
8015 acl_save_prefix
="$prefix"
8016 prefix
="$acl_final_prefix"
8017 acl_save_exec_prefix
="$exec_prefix"
8018 exec_prefix
="$acl_final_exec_prefix"
8020 eval additional_includedir
=\"$includedir\"
8021 eval additional_libdir
=\"$libdir\"
8023 exec_prefix
="$acl_save_exec_prefix"
8024 prefix
="$acl_save_prefix"
8027 # Check whether --with-libiconv-prefix or --without-libiconv-prefix was given.
8028 if test "${with_libiconv_prefix+set}" = set; then
8029 withval
="$with_libiconv_prefix"
8031 if test "X$withval" = "Xno"; then
8034 if test "X$withval" = "X"; then
8036 acl_save_prefix
="$prefix"
8037 prefix
="$acl_final_prefix"
8038 acl_save_exec_prefix
="$exec_prefix"
8039 exec_prefix
="$acl_final_exec_prefix"
8041 eval additional_includedir
=\"$includedir\"
8042 eval additional_libdir
=\"$libdir\"
8044 exec_prefix
="$acl_save_exec_prefix"
8045 prefix
="$acl_save_prefix"
8048 additional_includedir
="$withval/include"
8049 additional_libdir
="$withval/lib"
8059 names_already_handled
=
8060 names_next_round
='iconv '
8061 while test -n "$names_next_round"; do
8062 names_this_round
="$names_next_round"
8064 for name
in $names_this_round; do
8066 for n
in $names_already_handled; do
8067 if test "$n" = "$name"; then
8072 if test -z "$already_handled"; then
8073 names_already_handled
="$names_already_handled $name"
8074 uppername
=`echo "$name" | sed -e 'y|abcdefghijklmnopqrstuvwxyz./-|ABCDEFGHIJKLMNOPQRSTUVWXYZ___|'`
8075 eval value
=\"\
$HAVE_LIB$uppername\"
8076 if test -n "$value"; then
8077 if test "$value" = yes; then
8078 eval value
=\"\
$LIB$uppername\"
8079 test -z "$value" || LIBICONV
="${LIBICONV}${LIBICONV:+ }$value"
8080 eval value
=\"\
$LTLIB$uppername\"
8081 test -z "$value" || LTLIBICONV
="${LTLIBICONV}${LTLIBICONV:+ }$value"
8090 if test $use_additional = yes; then
8091 if test -n "$shlibext" && test -f "$additional_libdir/lib$name.$shlibext"; then
8092 found_dir
="$additional_libdir"
8093 found_so
="$additional_libdir/lib$name.$shlibext"
8094 if test -f "$additional_libdir/lib$name.la"; then
8095 found_la
="$additional_libdir/lib$name.la"
8098 if test -f "$additional_libdir/lib$name.$libext"; then
8099 found_dir
="$additional_libdir"
8100 found_a
="$additional_libdir/lib$name.$libext"
8101 if test -f "$additional_libdir/lib$name.la"; then
8102 found_la
="$additional_libdir/lib$name.la"
8107 if test "X$found_dir" = "X"; then
8108 for x
in $LDFLAGS $LTLIBICONV; do
8110 acl_save_prefix
="$prefix"
8111 prefix
="$acl_final_prefix"
8112 acl_save_exec_prefix
="$exec_prefix"
8113 exec_prefix
="$acl_final_exec_prefix"
8115 exec_prefix
="$acl_save_exec_prefix"
8116 prefix
="$acl_save_prefix"
8120 dir
=`echo "X$x" | sed -e 's/^X-L//'`
8121 if test -n "$shlibext" && test -f "$dir/lib$name.$shlibext"; then
8123 found_so
="$dir/lib$name.$shlibext"
8124 if test -f "$dir/lib$name.la"; then
8125 found_la
="$dir/lib$name.la"
8128 if test -f "$dir/lib$name.$libext"; then
8130 found_a
="$dir/lib$name.$libext"
8131 if test -f "$dir/lib$name.la"; then
8132 found_la
="$dir/lib$name.la"
8138 if test "X$found_dir" != "X"; then
8143 if test "X$found_dir" != "X"; then
8144 LTLIBICONV
="${LTLIBICONV}${LTLIBICONV:+ }-L$found_dir -l$name"
8145 if test "X$found_so" != "X"; then
8146 if test "$enable_rpath" = no ||
test "X$found_dir" = "X/usr/lib"; then
8147 LIBICONV
="${LIBICONV}${LIBICONV:+ }$found_so"
8150 for x
in $ltrpathdirs; do
8151 if test "X$x" = "X$found_dir"; then
8156 if test -z "$haveit"; then
8157 ltrpathdirs
="$ltrpathdirs $found_dir"
8159 if test "$hardcode_direct" = yes; then
8160 LIBICONV
="${LIBICONV}${LIBICONV:+ }$found_so"
8162 if test -n "$hardcode_libdir_flag_spec" && test "$hardcode_minus_L" = no
; then
8163 LIBICONV
="${LIBICONV}${LIBICONV:+ }$found_so"
8165 for x
in $rpathdirs; do
8166 if test "X$x" = "X$found_dir"; then
8171 if test -z "$haveit"; then
8172 rpathdirs
="$rpathdirs $found_dir"
8176 for x
in $LDFLAGS $LIBICONV; do
8178 acl_save_prefix
="$prefix"
8179 prefix
="$acl_final_prefix"
8180 acl_save_exec_prefix
="$exec_prefix"
8181 exec_prefix
="$acl_final_exec_prefix"
8183 exec_prefix
="$acl_save_exec_prefix"
8184 prefix
="$acl_save_prefix"
8186 if test "X$x" = "X-L$found_dir"; then
8191 if test -z "$haveit"; then
8192 LIBICONV
="${LIBICONV}${LIBICONV:+ }-L$found_dir"
8194 if test "$hardcode_minus_L" != no
; then
8195 LIBICONV
="${LIBICONV}${LIBICONV:+ }$found_so"
8197 LIBICONV
="${LIBICONV}${LIBICONV:+ }-l$name"
8203 if test "X$found_a" != "X"; then
8204 LIBICONV
="${LIBICONV}${LIBICONV:+ }$found_a"
8206 LIBICONV
="${LIBICONV}${LIBICONV:+ }-L$found_dir -l$name"
8209 additional_includedir
=
8210 case "$found_dir" in
8212 basedir
=`echo "X$found_dir" | sed -e 's,^X,,' -e 's,/lib/*$,,'`
8213 additional_includedir
="$basedir/include"
8216 if test "X$additional_includedir" != "X"; then
8217 if test "X$additional_includedir" != "X/usr/include"; then
8219 if test "X$additional_includedir" = "X/usr/local/include"; then
8220 if test -n "$GCC"; then
8222 linux
*) haveit
=yes;;
8226 if test -z "$haveit"; then
8227 for x
in $CPPFLAGS $INCICONV; do
8229 acl_save_prefix
="$prefix"
8230 prefix
="$acl_final_prefix"
8231 acl_save_exec_prefix
="$exec_prefix"
8232 exec_prefix
="$acl_final_exec_prefix"
8234 exec_prefix
="$acl_save_exec_prefix"
8235 prefix
="$acl_save_prefix"
8237 if test "X$x" = "X-I$additional_includedir"; then
8242 if test -z "$haveit"; then
8243 if test -d "$additional_includedir"; then
8244 INCICONV
="${INCICONV}${INCICONV:+ }-I$additional_includedir"
8250 if test -n "$found_la"; then
8251 save_libdir
="$libdir"
8253 */* |
*\\*) .
"$found_la" ;;
8254 *) .
"./$found_la" ;;
8256 libdir
="$save_libdir"
8257 for dep
in $dependency_libs; do
8260 additional_libdir
=`echo "X$dep" | sed -e 's/^X-L//'`
8261 if test "X$additional_libdir" != "X/usr/lib"; then
8263 if test "X$additional_libdir" = "X/usr/local/lib"; then
8264 if test -n "$GCC"; then
8266 linux
*) haveit
=yes;;
8270 if test -z "$haveit"; then
8272 for x
in $LDFLAGS $LIBICONV; do
8274 acl_save_prefix
="$prefix"
8275 prefix
="$acl_final_prefix"
8276 acl_save_exec_prefix
="$exec_prefix"
8277 exec_prefix
="$acl_final_exec_prefix"
8279 exec_prefix
="$acl_save_exec_prefix"
8280 prefix
="$acl_save_prefix"
8282 if test "X$x" = "X-L$additional_libdir"; then
8287 if test -z "$haveit"; then
8288 if test -d "$additional_libdir"; then
8289 LIBICONV
="${LIBICONV}${LIBICONV:+ }-L$additional_libdir"
8293 for x
in $LDFLAGS $LTLIBICONV; do
8295 acl_save_prefix
="$prefix"
8296 prefix
="$acl_final_prefix"
8297 acl_save_exec_prefix
="$exec_prefix"
8298 exec_prefix
="$acl_final_exec_prefix"
8300 exec_prefix
="$acl_save_exec_prefix"
8301 prefix
="$acl_save_prefix"
8303 if test "X$x" = "X-L$additional_libdir"; then
8308 if test -z "$haveit"; then
8309 if test -d "$additional_libdir"; then
8310 LTLIBICONV
="${LTLIBICONV}${LTLIBICONV:+ }-L$additional_libdir"
8317 dir
=`echo "X$dep" | sed -e 's/^X-R//'`
8318 if test "$enable_rpath" != no
; then
8320 for x
in $rpathdirs; do
8321 if test "X$x" = "X$dir"; then
8326 if test -z "$haveit"; then
8327 rpathdirs
="$rpathdirs $dir"
8330 for x
in $ltrpathdirs; do
8331 if test "X$x" = "X$dir"; then
8336 if test -z "$haveit"; then
8337 ltrpathdirs
="$ltrpathdirs $dir"
8342 names_next_round
="$names_next_round "`echo "X$dep" | sed -e 's/^X-l//'`
8345 names_next_round
="$names_next_round "`echo "X$dep" | sed -e 's,^X.*/,,' -e 's,^lib,,' -e 's,\.la$,,'`
8348 LIBICONV
="${LIBICONV}${LIBICONV:+ }$dep"
8349 LTLIBICONV
="${LTLIBICONV}${LTLIBICONV:+ }$dep"
8355 LIBICONV
="${LIBICONV}${LIBICONV:+ }-l$name"
8356 LTLIBICONV
="${LTLIBICONV}${LTLIBICONV:+ }-l$name"
8362 if test "X$rpathdirs" != "X"; then
8363 if test -n "$hardcode_libdir_separator"; then
8365 for found_dir
in $rpathdirs; do
8366 alldirs
="${alldirs}${alldirs:+$hardcode_libdir_separator}$found_dir"
8368 acl_save_libdir
="$libdir"
8370 eval flag
=\"$hardcode_libdir_flag_spec\"
8371 libdir
="$acl_save_libdir"
8372 LIBICONV
="${LIBICONV}${LIBICONV:+ }$flag"
8374 for found_dir
in $rpathdirs; do
8375 acl_save_libdir
="$libdir"
8377 eval flag
=\"$hardcode_libdir_flag_spec\"
8378 libdir
="$acl_save_libdir"
8379 LIBICONV
="${LIBICONV}${LIBICONV:+ }$flag"
8383 if test "X$ltrpathdirs" != "X"; then
8384 for found_dir
in $ltrpathdirs; do
8385 LTLIBICONV
="${LTLIBICONV}${LTLIBICONV:+ }-R$found_dir"
8395 am_save_CPPFLAGS
="$CPPFLAGS"
8397 for element
in $INCICONV; do
8399 for x
in $CPPFLAGS; do
8401 acl_save_prefix
="$prefix"
8402 prefix
="$acl_final_prefix"
8403 acl_save_exec_prefix
="$exec_prefix"
8404 exec_prefix
="$acl_final_exec_prefix"
8406 exec_prefix
="$acl_save_exec_prefix"
8407 prefix
="$acl_save_prefix"
8409 if test "X$x" = "X$element"; then
8414 if test -z "$haveit"; then
8415 CPPFLAGS
="${CPPFLAGS}${CPPFLAGS:+ }$element"
8420 echo "$as_me:$LINENO: checking for iconv" >&5
8421 echo $ECHO_N "checking for iconv... $ECHO_C" >&6
8422 if test "${am_cv_func_iconv+set}" = set; then
8423 echo $ECHO_N "(cached) $ECHO_C" >&6
8426 am_cv_func_iconv
="no, consider installing GNU libiconv"
8428 if test x
$gcc_no_link = xyes
; then
8429 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
8430 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
8431 { (exit 1); exit 1; }; }
8433 cat >conftest.
$ac_ext <<_ACEOF
8436 cat confdefs.h
>>conftest.
$ac_ext
8437 cat >>conftest.
$ac_ext <<_ACEOF
8438 /* end confdefs.h. */
8444 iconv_t cd = iconv_open("","");
8445 iconv(cd,NULL,NULL,NULL,NULL);
8451 rm -f conftest.
$ac_objext conftest
$ac_exeext
8452 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8453 (eval $ac_link) 2>conftest.er1
8455 grep -v '^ *+' conftest.er1
>conftest.err
8457 cat conftest.err
>&5
8458 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8459 (exit $ac_status); } &&
8460 { ac_try
='test -z "$ac_c_werror_flag"
8461 || test ! -s conftest.err'
8462 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8465 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8466 (exit $ac_status); }; } &&
8467 { ac_try
='test -s conftest$ac_exeext'
8468 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8471 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8472 (exit $ac_status); }; }; then
8473 am_cv_func_iconv
=yes
8475 echo "$as_me: failed program was:" >&5
8476 sed 's/^/| /' conftest.
$ac_ext >&5
8479 rm -f conftest.err conftest.
$ac_objext \
8480 conftest
$ac_exeext conftest.
$ac_ext
8481 if test "$am_cv_func_iconv" != yes; then
8482 am_save_LIBS
="$LIBS"
8483 LIBS
="$LIBS $LIBICONV"
8484 if test x
$gcc_no_link = xyes
; then
8485 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
8486 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
8487 { (exit 1); exit 1; }; }
8489 cat >conftest.
$ac_ext <<_ACEOF
8492 cat confdefs.h
>>conftest.
$ac_ext
8493 cat >>conftest.
$ac_ext <<_ACEOF
8494 /* end confdefs.h. */
8500 iconv_t cd = iconv_open("","");
8501 iconv(cd,NULL,NULL,NULL,NULL);
8507 rm -f conftest.
$ac_objext conftest
$ac_exeext
8508 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8509 (eval $ac_link) 2>conftest.er1
8511 grep -v '^ *+' conftest.er1
>conftest.err
8513 cat conftest.err
>&5
8514 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8515 (exit $ac_status); } &&
8516 { ac_try
='test -z "$ac_c_werror_flag"
8517 || test ! -s conftest.err'
8518 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8521 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8522 (exit $ac_status); }; } &&
8523 { ac_try
='test -s conftest$ac_exeext'
8524 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8527 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8528 (exit $ac_status); }; }; then
8530 am_cv_func_iconv
=yes
8532 echo "$as_me: failed program was:" >&5
8533 sed 's/^/| /' conftest.
$ac_ext >&5
8536 rm -f conftest.err conftest.
$ac_objext \
8537 conftest
$ac_exeext conftest.
$ac_ext
8538 LIBS
="$am_save_LIBS"
8542 echo "$as_me:$LINENO: result: $am_cv_func_iconv" >&5
8543 echo "${ECHO_T}$am_cv_func_iconv" >&6
8544 if test "$am_cv_func_iconv" = yes; then
8546 cat >>confdefs.h
<<\_ACEOF
8547 #define HAVE_ICONV 1
8551 if test "$am_cv_lib_iconv" = yes; then
8552 echo "$as_me:$LINENO: checking how to link with libiconv" >&5
8553 echo $ECHO_N "checking how to link with libiconv... $ECHO_C" >&6
8554 echo "$as_me:$LINENO: result: $LIBICONV" >&5
8555 echo "${ECHO_T}$LIBICONV" >&6
8557 CPPFLAGS
="$am_save_CPPFLAGS"
8564 if test "$am_cv_func_iconv" = yes; then
8565 echo "$as_me:$LINENO: checking for iconv declaration" >&5
8566 echo $ECHO_N "checking for iconv declaration... $ECHO_C" >&6
8567 if test "${am_cv_proto_iconv+set}" = set; then
8568 echo $ECHO_N "(cached) $ECHO_C" >&6
8571 cat >conftest.
$ac_ext <<_ACEOF
8574 cat confdefs.h
>>conftest.
$ac_ext
8575 cat >>conftest.
$ac_ext <<_ACEOF
8576 /* end confdefs.h. */
8584 #if defined(__STDC__) || defined(__cplusplus)
8585 size_t iconv (iconv_t cd, char * *inbuf, size_t *inbytesleft, char * *outbuf, size_t *outbytesleft);
8598 rm -f conftest.
$ac_objext
8599 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
8600 (eval $ac_compile) 2>conftest.er1
8602 grep -v '^ *+' conftest.er1
>conftest.err
8604 cat conftest.err
>&5
8605 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8606 (exit $ac_status); } &&
8607 { ac_try
='test -z "$ac_c_werror_flag"
8608 || test ! -s conftest.err'
8609 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8612 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8613 (exit $ac_status); }; } &&
8614 { ac_try
='test -s conftest.$ac_objext'
8615 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8618 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8619 (exit $ac_status); }; }; then
8620 am_cv_proto_iconv_arg1
=""
8622 echo "$as_me: failed program was:" >&5
8623 sed 's/^/| /' conftest.
$ac_ext >&5
8625 am_cv_proto_iconv_arg1
="const"
8627 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
8628 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);"
8631 am_cv_proto_iconv
=`echo "$am_cv_proto_iconv" | tr -s ' ' | sed -e 's/( /(/'`
8632 echo "$as_me:$LINENO: result: ${ac_t:-
8633 }$am_cv_proto_iconv" >&5
8634 echo "${ECHO_T}${ac_t:-
8635 }$am_cv_proto_iconv" >&6
8637 cat >>confdefs.h
<<_ACEOF
8638 #define ICONV_CONST $am_cv_proto_iconv_arg1
8644 if test "x${GCC}" = xyes
; then
8646 WARNING_CFLAGS
='-pedantic -W -Wall -Wmissing-declarations -Wwrite-strings -Wmissing-prototypes -Wno-long-long'
8649 STRICT_WARNING_CFLAGS
=-Wstrict-prototypes
8653 if test "x${ENABLE_WERROR}" = xyes
; then
8654 ERROR_CFLAGS
='-Werror'
8659 if test "x${COMPILE_XMLJ}" = xyes
; then
8663 if test -z "$PKG_CONFIG"; then
8664 # Extract the first word of "pkg-config", so it can be a program name with args.
8665 set dummy pkg-config
; ac_word
=$2
8666 echo "$as_me:$LINENO: checking for $ac_word" >&5
8667 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
8668 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
8669 echo $ECHO_N "(cached) $ECHO_C" >&6
8673 ac_cv_path_PKG_CONFIG
="$PKG_CONFIG" # Let the user override the test with a path.
8676 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
8680 test -z "$as_dir" && as_dir
=.
8681 for ac_exec_ext
in '' $ac_executable_extensions; do
8682 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8683 ac_cv_path_PKG_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
8684 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
8690 test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG
="no"
8694 PKG_CONFIG
=$ac_cv_path_PKG_CONFIG
8696 if test -n "$PKG_CONFIG"; then
8697 echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
8698 echo "${ECHO_T}$PKG_CONFIG" >&6
8700 echo "$as_me:$LINENO: result: no" >&5
8701 echo "${ECHO_T}no" >&6
8706 if test "$PKG_CONFIG" = "no" ; then
8707 echo "*** The pkg-config script could not be found. Make sure it is"
8708 echo "*** in your path, or set the PKG_CONFIG environment variable"
8709 echo "*** to the full path to pkg-config."
8710 echo "*** Or see http://www.freedesktop.org/software/pkgconfig to get pkg-config."
8712 PKG_CONFIG_MIN_VERSION
=0.9.0
8713 if $PKG_CONFIG --atleast-pkgconfig-version $PKG_CONFIG_MIN_VERSION; then
8714 echo "$as_me:$LINENO: checking for libxml-2.0 >= 2.6.8" >&5
8715 echo $ECHO_N "checking for libxml-2.0 >= 2.6.8... $ECHO_C" >&6
8717 if $PKG_CONFIG --exists "libxml-2.0 >= 2.6.8" ; then
8718 echo "$as_me:$LINENO: result: yes" >&5
8719 echo "${ECHO_T}yes" >&6
8722 echo "$as_me:$LINENO: checking XML_CFLAGS" >&5
8723 echo $ECHO_N "checking XML_CFLAGS... $ECHO_C" >&6
8724 XML_CFLAGS
=`$PKG_CONFIG --cflags "libxml-2.0 >= 2.6.8"`
8725 echo "$as_me:$LINENO: result: $XML_CFLAGS" >&5
8726 echo "${ECHO_T}$XML_CFLAGS" >&6
8728 echo "$as_me:$LINENO: checking XML_LIBS" >&5
8729 echo $ECHO_N "checking XML_LIBS... $ECHO_C" >&6
8730 XML_LIBS
=`$PKG_CONFIG --libs "libxml-2.0 >= 2.6.8"`
8731 echo "$as_me:$LINENO: result: $XML_LIBS" >&5
8732 echo "${ECHO_T}$XML_LIBS" >&6
8736 ## If we have a custom action on failure, don't print errors, but
8737 ## do set a variable so people can do so.
8738 XML_PKG_ERRORS
=`$PKG_CONFIG --errors-to-stdout --print-errors "libxml-2.0 >= 2.6.8"`
8739 echo $XML_PKG_ERRORS
8745 echo "*** Your version of pkg-config is too old. You need version $PKG_CONFIG_MIN_VERSION or newer."
8746 echo "*** See http://www.freedesktop.org/software/pkgconfig"
8750 if test $succeeded = yes; then
8753 { { 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
8754 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;}
8755 { (exit 1); exit 1; }; }
8761 if test -z "$PKG_CONFIG"; then
8762 # Extract the first word of "pkg-config", so it can be a program name with args.
8763 set dummy pkg-config
; ac_word
=$2
8764 echo "$as_me:$LINENO: checking for $ac_word" >&5
8765 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
8766 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
8767 echo $ECHO_N "(cached) $ECHO_C" >&6
8771 ac_cv_path_PKG_CONFIG
="$PKG_CONFIG" # Let the user override the test with a path.
8774 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
8778 test -z "$as_dir" && as_dir
=.
8779 for ac_exec_ext
in '' $ac_executable_extensions; do
8780 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8781 ac_cv_path_PKG_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
8782 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
8788 test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG
="no"
8792 PKG_CONFIG
=$ac_cv_path_PKG_CONFIG
8794 if test -n "$PKG_CONFIG"; then
8795 echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
8796 echo "${ECHO_T}$PKG_CONFIG" >&6
8798 echo "$as_me:$LINENO: result: no" >&5
8799 echo "${ECHO_T}no" >&6
8804 if test "$PKG_CONFIG" = "no" ; then
8805 echo "*** The pkg-config script could not be found. Make sure it is"
8806 echo "*** in your path, or set the PKG_CONFIG environment variable"
8807 echo "*** to the full path to pkg-config."
8808 echo "*** Or see http://www.freedesktop.org/software/pkgconfig to get pkg-config."
8810 PKG_CONFIG_MIN_VERSION
=0.9.0
8811 if $PKG_CONFIG --atleast-pkgconfig-version $PKG_CONFIG_MIN_VERSION; then
8812 echo "$as_me:$LINENO: checking for libxslt >= 1.1.11" >&5
8813 echo $ECHO_N "checking for libxslt >= 1.1.11... $ECHO_C" >&6
8815 if $PKG_CONFIG --exists "libxslt >= 1.1.11" ; then
8816 echo "$as_me:$LINENO: result: yes" >&5
8817 echo "${ECHO_T}yes" >&6
8820 echo "$as_me:$LINENO: checking XSLT_CFLAGS" >&5
8821 echo $ECHO_N "checking XSLT_CFLAGS... $ECHO_C" >&6
8822 XSLT_CFLAGS
=`$PKG_CONFIG --cflags "libxslt >= 1.1.11"`
8823 echo "$as_me:$LINENO: result: $XSLT_CFLAGS" >&5
8824 echo "${ECHO_T}$XSLT_CFLAGS" >&6
8826 echo "$as_me:$LINENO: checking XSLT_LIBS" >&5
8827 echo $ECHO_N "checking XSLT_LIBS... $ECHO_C" >&6
8828 XSLT_LIBS
=`$PKG_CONFIG --libs "libxslt >= 1.1.11"`
8829 echo "$as_me:$LINENO: result: $XSLT_LIBS" >&5
8830 echo "${ECHO_T}$XSLT_LIBS" >&6
8834 ## If we have a custom action on failure, don't print errors, but
8835 ## do set a variable so people can do so.
8836 XSLT_PKG_ERRORS
=`$PKG_CONFIG --errors-to-stdout --print-errors "libxslt >= 1.1.11"`
8837 echo $XSLT_PKG_ERRORS
8843 echo "*** Your version of pkg-config is too old. You need version $PKG_CONFIG_MIN_VERSION or newer."
8844 echo "*** See http://www.freedesktop.org/software/pkgconfig"
8848 if test $succeeded = yes; then
8851 { { 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
8852 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;}
8853 { (exit 1); exit 1; }; }
8862 if test "x${COMPILE_GTK_PEER}" = xyes
; then
8863 echo "$as_me:$LINENO: checking for X" >&5
8864 echo $ECHO_N "checking for X... $ECHO_C" >&6
8867 # Check whether --with-x or --without-x was given.
8868 if test "${with_x+set}" = set; then
8872 # $have_x is `yes', `no', `disabled', or empty when we do not yet know.
8873 if test "x$with_x" = xno
; then
8874 # The user explicitly disabled X.
8877 if test "x$x_includes" != xNONE
&& test "x$x_libraries" != xNONE
; then
8878 # Both variables are already set.
8881 if test "${ac_cv_have_x+set}" = set; then
8882 echo $ECHO_N "(cached) $ECHO_C" >&6
8884 # One or both of the vars are not set, and there is no cached value.
8885 ac_x_includes
=no ac_x_libraries
=no
8887 if mkdir conftest.dir
; then
8889 # Make sure to not put "make" in the Imakefile rules, since we grep it out.
8890 cat >Imakefile
<<'_ACEOF'
8892 @echo 'ac_im_incroot="${INCROOT}"; ac_im_usrlibdir="${USRLIBDIR}"; ac_im_libdir="${LIBDIR}"'
8894 if (xmkmf
) >/dev
/null
2>/dev
/null
&& test -f Makefile
; then
8895 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
8896 eval `${MAKE-make} acfindx 2>/dev/null | grep -v make`
8897 # Open Windows xmkmf reportedly sets LIBDIR instead of USRLIBDIR.
8898 for ac_extension
in a so sl
; do
8899 if test ! -f $ac_im_usrlibdir/libX11.
$ac_extension &&
8900 test -f $ac_im_libdir/libX11.
$ac_extension; then
8901 ac_im_usrlibdir
=$ac_im_libdir; break
8904 # Screen out bogus values from the imake configuration. They are
8905 # bogus both because they are the default anyway, and because
8906 # using them would break gcc on systems where it needs fixed includes.
8907 case $ac_im_incroot in
8909 *) test -f "$ac_im_incroot/X11/Xos.h" && ac_x_includes
=$ac_im_incroot;;
8911 case $ac_im_usrlibdir in
8913 *) test -d "$ac_im_usrlibdir" && ac_x_libraries
=$ac_im_usrlibdir ;;
8920 # Standard set of common directories for X headers.
8921 # Check X11 before X11Rn because it is often a symlink to the current release.
8933 /usr/local/X11/include
8934 /usr/local/X11R6/include
8935 /usr/local/X11R5/include
8936 /usr/local/X11R4/include
8938 /usr/local/include/X11
8939 /usr/local/include/X11R6
8940 /usr/local/include/X11R5
8941 /usr/local/include/X11R4
8945 /usr/XFree86/include/X11
8949 /usr/unsupported/include
8951 /usr/local/x11r5/include
8952 /usr/lpp/Xamples/include
8954 /usr/openwin/include
8955 /usr/openwin/share/include'
8957 if test "$ac_x_includes" = no
; then
8958 # Guess where to find include files, by looking for Intrinsic.h.
8959 # First, try using that file with no special directory specified.
8960 cat >conftest.
$ac_ext <<_ACEOF
8963 cat confdefs.h
>>conftest.
$ac_ext
8964 cat >>conftest.
$ac_ext <<_ACEOF
8965 /* end confdefs.h. */
8966 #include <X11/Intrinsic.h>
8968 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
8969 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
8971 grep -v '^ *+' conftest.er1
>conftest.err
8973 cat conftest.err
>&5
8974 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8975 (exit $ac_status); } >/dev
/null
; then
8976 if test -s conftest.err
; then
8977 ac_cpp_err
=$ac_c_preproc_warn_flag
8978 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
8985 if test -z "$ac_cpp_err"; then
8986 # We can compile using X headers with no special include directory.
8989 echo "$as_me: failed program was:" >&5
8990 sed 's/^/| /' conftest.
$ac_ext >&5
8992 for ac_dir
in $ac_x_header_dirs; do
8993 if test -r "$ac_dir/X11/Intrinsic.h"; then
8994 ac_x_includes
=$ac_dir
8999 rm -f conftest.err conftest.
$ac_ext
9000 fi # $ac_x_includes = no
9002 if test "$ac_x_libraries" = no
; then
9003 # Check for the libraries.
9004 # See if we find them without any special options.
9005 # Don't add to $LIBS permanently.
9008 if test x
$gcc_no_link = xyes
; then
9009 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
9010 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
9011 { (exit 1); exit 1; }; }
9013 cat >conftest.
$ac_ext <<_ACEOF
9016 cat confdefs.h
>>conftest.
$ac_ext
9017 cat >>conftest.
$ac_ext <<_ACEOF
9018 /* end confdefs.h. */
9019 #include <X11/Intrinsic.h>
9028 rm -f conftest.
$ac_objext conftest
$ac_exeext
9029 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
9030 (eval $ac_link) 2>conftest.er1
9032 grep -v '^ *+' conftest.er1
>conftest.err
9034 cat conftest.err
>&5
9035 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9036 (exit $ac_status); } &&
9037 { ac_try
='test -z "$ac_c_werror_flag"
9038 || test ! -s conftest.err'
9039 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9042 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9043 (exit $ac_status); }; } &&
9044 { ac_try
='test -s conftest$ac_exeext'
9045 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9048 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9049 (exit $ac_status); }; }; then
9051 # We can link X programs with no special library path.
9054 echo "$as_me: failed program was:" >&5
9055 sed 's/^/| /' conftest.
$ac_ext >&5
9058 for ac_dir
in `echo "$ac_x_includes $ac_x_header_dirs" | sed s/include/lib/g`
9060 # Don't even attempt the hair of trying to link an X program!
9061 for ac_extension
in a so sl
; do
9062 if test -r $ac_dir/libXt.
$ac_extension; then
9063 ac_x_libraries
=$ac_dir
9069 rm -f conftest.err conftest.
$ac_objext \
9070 conftest
$ac_exeext conftest.
$ac_ext
9071 fi # $ac_x_libraries = no
9073 if test "$ac_x_includes" = no ||
test "$ac_x_libraries" = no
; then
9074 # Didn't find X anywhere. Cache the known absence of X.
9075 ac_cv_have_x
="have_x=no"
9077 # Record where we found X for the cache.
9078 ac_cv_have_x
="have_x=yes \
9079 ac_x_includes=$ac_x_includes ac_x_libraries=$ac_x_libraries"
9084 eval "$ac_cv_have_x"
9087 if test "$have_x" != yes; then
9088 echo "$as_me:$LINENO: result: $have_x" >&5
9089 echo "${ECHO_T}$have_x" >&6
9092 # If each of the values was on the command line, it overrides each guess.
9093 test "x$x_includes" = xNONE
&& x_includes
=$ac_x_includes
9094 test "x$x_libraries" = xNONE
&& x_libraries
=$ac_x_libraries
9095 # Update the cache value to reflect the command line values.
9096 ac_cv_have_x
="have_x=yes \
9097 ac_x_includes=$x_includes ac_x_libraries=$x_libraries"
9098 echo "$as_me:$LINENO: result: libraries $x_libraries, headers $x_includes" >&5
9099 echo "${ECHO_T}libraries $x_libraries, headers $x_includes" >&6
9102 if test "$no_x" = yes; then
9103 # Not all programs may use this symbol, but it does not hurt to define it.
9105 cat >>confdefs.h
<<\_ACEOF
9106 #define X_DISPLAY_MISSING 1
9109 X_CFLAGS
= X_PRE_LIBS
= X_LIBS
= X_EXTRA_LIBS
=
9111 if test -n "$x_includes"; then
9112 X_CFLAGS
="$X_CFLAGS -I$x_includes"
9115 # It would also be nice to do this for all -L options, not just this one.
9116 if test -n "$x_libraries"; then
9117 X_LIBS
="$X_LIBS -L$x_libraries"
9118 # For Solaris; some versions of Sun CC require a space after -R and
9119 # others require no space. Words are not sufficient . . . .
9120 case `(uname -sr) 2>/dev/null` in
9122 echo "$as_me:$LINENO: checking whether -R must be followed by a space" >&5
9123 echo $ECHO_N "checking whether -R must be followed by a space... $ECHO_C" >&6
9124 ac_xsave_LIBS
=$LIBS; LIBS
="$LIBS -R$x_libraries"
9125 if test x
$gcc_no_link = xyes
; then
9126 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
9127 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
9128 { (exit 1); exit 1; }; }
9130 cat >conftest.
$ac_ext <<_ACEOF
9133 cat confdefs.h
>>conftest.
$ac_ext
9134 cat >>conftest.
$ac_ext <<_ACEOF
9135 /* end confdefs.h. */
9145 rm -f conftest.
$ac_objext conftest
$ac_exeext
9146 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
9147 (eval $ac_link) 2>conftest.er1
9149 grep -v '^ *+' conftest.er1
>conftest.err
9151 cat conftest.err
>&5
9152 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9153 (exit $ac_status); } &&
9154 { ac_try
='test -z "$ac_c_werror_flag"
9155 || test ! -s conftest.err'
9156 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9159 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9160 (exit $ac_status); }; } &&
9161 { ac_try
='test -s conftest$ac_exeext'
9162 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9165 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9166 (exit $ac_status); }; }; then
9169 echo "$as_me: failed program was:" >&5
9170 sed 's/^/| /' conftest.
$ac_ext >&5
9174 rm -f conftest.err conftest.
$ac_objext \
9175 conftest
$ac_exeext conftest.
$ac_ext
9176 if test $ac_R_nospace = yes; then
9177 echo "$as_me:$LINENO: result: no" >&5
9178 echo "${ECHO_T}no" >&6
9179 X_LIBS
="$X_LIBS -R$x_libraries"
9181 LIBS
="$ac_xsave_LIBS -R $x_libraries"
9182 if test x
$gcc_no_link = xyes
; then
9183 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
9184 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
9185 { (exit 1); exit 1; }; }
9187 cat >conftest.
$ac_ext <<_ACEOF
9190 cat confdefs.h
>>conftest.
$ac_ext
9191 cat >>conftest.
$ac_ext <<_ACEOF
9192 /* end confdefs.h. */
9202 rm -f conftest.
$ac_objext conftest
$ac_exeext
9203 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
9204 (eval $ac_link) 2>conftest.er1
9206 grep -v '^ *+' conftest.er1
>conftest.err
9208 cat conftest.err
>&5
9209 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9210 (exit $ac_status); } &&
9211 { ac_try
='test -z "$ac_c_werror_flag"
9212 || test ! -s conftest.err'
9213 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9216 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9217 (exit $ac_status); }; } &&
9218 { ac_try
='test -s conftest$ac_exeext'
9219 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9222 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9223 (exit $ac_status); }; }; then
9226 echo "$as_me: failed program was:" >&5
9227 sed 's/^/| /' conftest.
$ac_ext >&5
9231 rm -f conftest.err conftest.
$ac_objext \
9232 conftest
$ac_exeext conftest.
$ac_ext
9233 if test $ac_R_space = yes; then
9234 echo "$as_me:$LINENO: result: yes" >&5
9235 echo "${ECHO_T}yes" >&6
9236 X_LIBS
="$X_LIBS -R $x_libraries"
9238 echo "$as_me:$LINENO: result: neither works" >&5
9239 echo "${ECHO_T}neither works" >&6
9246 # Check for system-dependent libraries X programs must link with.
9247 # Do this before checking for the system-independent R6 libraries
9248 # (-lICE), since we may need -lsocket or whatever for X linking.
9250 if test "$ISC" = yes; then
9251 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lnsl_s -linet"
9253 # Martyn Johnson says this is needed for Ultrix, if the X
9254 # libraries were built with DECnet support. And Karl Berry says
9255 # the Alpha needs dnet_stub (dnet does not exist).
9256 ac_xsave_LIBS
="$LIBS"; LIBS
="$LIBS $X_LIBS -lX11"
9257 if test x
$gcc_no_link = xyes
; then
9258 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
9259 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
9260 { (exit 1); exit 1; }; }
9262 cat >conftest.
$ac_ext <<_ACEOF
9265 cat confdefs.h
>>conftest.
$ac_ext
9266 cat >>conftest.
$ac_ext <<_ACEOF
9267 /* end confdefs.h. */
9269 /* Override any gcc2 internal prototype to avoid an error. */
9273 /* We use char because int might match the return type of a gcc2
9274 builtin and then its argument prototype would still apply. */
9275 char XOpenDisplay ();
9284 rm -f conftest.
$ac_objext conftest
$ac_exeext
9285 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
9286 (eval $ac_link) 2>conftest.er1
9288 grep -v '^ *+' conftest.er1
>conftest.err
9290 cat conftest.err
>&5
9291 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9292 (exit $ac_status); } &&
9293 { ac_try
='test -z "$ac_c_werror_flag"
9294 || test ! -s conftest.err'
9295 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9298 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9299 (exit $ac_status); }; } &&
9300 { ac_try
='test -s conftest$ac_exeext'
9301 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9304 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9305 (exit $ac_status); }; }; then
9308 echo "$as_me: failed program was:" >&5
9309 sed 's/^/| /' conftest.
$ac_ext >&5
9311 echo "$as_me:$LINENO: checking for dnet_ntoa in -ldnet" >&5
9312 echo $ECHO_N "checking for dnet_ntoa in -ldnet... $ECHO_C" >&6
9313 if test "${ac_cv_lib_dnet_dnet_ntoa+set}" = set; then
9314 echo $ECHO_N "(cached) $ECHO_C" >&6
9316 ac_check_lib_save_LIBS
=$LIBS
9318 if test x
$gcc_no_link = xyes
; then
9319 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
9320 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
9321 { (exit 1); exit 1; }; }
9323 cat >conftest.
$ac_ext <<_ACEOF
9326 cat confdefs.h
>>conftest.
$ac_ext
9327 cat >>conftest.
$ac_ext <<_ACEOF
9328 /* end confdefs.h. */
9330 /* Override any gcc2 internal prototype to avoid an error. */
9334 /* We use char because int might match the return type of a gcc2
9335 builtin and then its argument prototype would still apply. */
9345 rm -f conftest.
$ac_objext conftest
$ac_exeext
9346 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
9347 (eval $ac_link) 2>conftest.er1
9349 grep -v '^ *+' conftest.er1
>conftest.err
9351 cat conftest.err
>&5
9352 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9353 (exit $ac_status); } &&
9354 { ac_try
='test -z "$ac_c_werror_flag"
9355 || test ! -s conftest.err'
9356 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9359 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9360 (exit $ac_status); }; } &&
9361 { ac_try
='test -s conftest$ac_exeext'
9362 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9365 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9366 (exit $ac_status); }; }; then
9367 ac_cv_lib_dnet_dnet_ntoa
=yes
9369 echo "$as_me: failed program was:" >&5
9370 sed 's/^/| /' conftest.
$ac_ext >&5
9372 ac_cv_lib_dnet_dnet_ntoa
=no
9374 rm -f conftest.err conftest.
$ac_objext \
9375 conftest
$ac_exeext conftest.
$ac_ext
9376 LIBS
=$ac_check_lib_save_LIBS
9378 echo "$as_me:$LINENO: result: $ac_cv_lib_dnet_dnet_ntoa" >&5
9379 echo "${ECHO_T}$ac_cv_lib_dnet_dnet_ntoa" >&6
9380 if test $ac_cv_lib_dnet_dnet_ntoa = yes; then
9381 X_EXTRA_LIBS
="$X_EXTRA_LIBS -ldnet"
9384 if test $ac_cv_lib_dnet_dnet_ntoa = no
; then
9385 echo "$as_me:$LINENO: checking for dnet_ntoa in -ldnet_stub" >&5
9386 echo $ECHO_N "checking for dnet_ntoa in -ldnet_stub... $ECHO_C" >&6
9387 if test "${ac_cv_lib_dnet_stub_dnet_ntoa+set}" = set; then
9388 echo $ECHO_N "(cached) $ECHO_C" >&6
9390 ac_check_lib_save_LIBS
=$LIBS
9391 LIBS
="-ldnet_stub $LIBS"
9392 if test x
$gcc_no_link = xyes
; then
9393 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
9394 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
9395 { (exit 1); exit 1; }; }
9397 cat >conftest.
$ac_ext <<_ACEOF
9400 cat confdefs.h
>>conftest.
$ac_ext
9401 cat >>conftest.
$ac_ext <<_ACEOF
9402 /* end confdefs.h. */
9404 /* Override any gcc2 internal prototype to avoid an error. */
9408 /* We use char because int might match the return type of a gcc2
9409 builtin and then its argument prototype would still apply. */
9419 rm -f conftest.
$ac_objext conftest
$ac_exeext
9420 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
9421 (eval $ac_link) 2>conftest.er1
9423 grep -v '^ *+' conftest.er1
>conftest.err
9425 cat conftest.err
>&5
9426 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9427 (exit $ac_status); } &&
9428 { ac_try
='test -z "$ac_c_werror_flag"
9429 || test ! -s conftest.err'
9430 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9433 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9434 (exit $ac_status); }; } &&
9435 { ac_try
='test -s conftest$ac_exeext'
9436 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9439 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9440 (exit $ac_status); }; }; then
9441 ac_cv_lib_dnet_stub_dnet_ntoa
=yes
9443 echo "$as_me: failed program was:" >&5
9444 sed 's/^/| /' conftest.
$ac_ext >&5
9446 ac_cv_lib_dnet_stub_dnet_ntoa
=no
9448 rm -f conftest.err conftest.
$ac_objext \
9449 conftest
$ac_exeext conftest.
$ac_ext
9450 LIBS
=$ac_check_lib_save_LIBS
9452 echo "$as_me:$LINENO: result: $ac_cv_lib_dnet_stub_dnet_ntoa" >&5
9453 echo "${ECHO_T}$ac_cv_lib_dnet_stub_dnet_ntoa" >&6
9454 if test $ac_cv_lib_dnet_stub_dnet_ntoa = yes; then
9455 X_EXTRA_LIBS
="$X_EXTRA_LIBS -ldnet_stub"
9460 rm -f conftest.err conftest.
$ac_objext \
9461 conftest
$ac_exeext conftest.
$ac_ext
9462 LIBS
="$ac_xsave_LIBS"
9464 # msh@cis.ufl.edu says -lnsl (and -lsocket) are needed for his 386/AT,
9465 # to get the SysV transport functions.
9466 # Chad R. Larson says the Pyramis MIS-ES running DC/OSx (SVR4)
9468 # The nsl library prevents programs from opening the X display
9469 # on Irix 5.2, according to T.E. Dickey.
9470 # The functions gethostbyname, getservbyname, and inet_addr are
9471 # in -lbsd on LynxOS 3.0.1/i386, according to Lars Hecking.
9472 echo "$as_me:$LINENO: checking for gethostbyname" >&5
9473 echo $ECHO_N "checking for gethostbyname... $ECHO_C" >&6
9474 if test "${ac_cv_func_gethostbyname+set}" = set; then
9475 echo $ECHO_N "(cached) $ECHO_C" >&6
9477 if test x
$gcc_no_link = xyes
; then
9478 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
9479 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
9480 { (exit 1); exit 1; }; }
9482 cat >conftest.
$ac_ext <<_ACEOF
9485 cat confdefs.h
>>conftest.
$ac_ext
9486 cat >>conftest.
$ac_ext <<_ACEOF
9487 /* end confdefs.h. */
9488 /* Define gethostbyname to an innocuous variant, in case <limits.h> declares gethostbyname.
9489 For example, HP-UX 11i <limits.h> declares gettimeofday. */
9490 #define gethostbyname innocuous_gethostbyname
9492 /* System header to define __stub macros and hopefully few prototypes,
9493 which can conflict with char gethostbyname (); below.
9494 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
9495 <limits.h> exists even on freestanding compilers. */
9498 # include <limits.h>
9500 # include <assert.h>
9503 #undef gethostbyname
9505 /* Override any gcc2 internal prototype to avoid an error. */
9510 /* We use char because int might match the return type of a gcc2
9511 builtin and then its argument prototype would still apply. */
9512 char gethostbyname ();
9513 /* The GNU C library defines this for functions which it implements
9514 to always fail with ENOSYS. Some functions are actually named
9515 something starting with __ and the normal name is an alias. */
9516 #if defined (__stub_gethostbyname) || defined (__stub___gethostbyname)
9519 char (*f) () = gethostbyname;
9528 return f != gethostbyname;
9533 rm -f conftest.
$ac_objext conftest
$ac_exeext
9534 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
9535 (eval $ac_link) 2>conftest.er1
9537 grep -v '^ *+' conftest.er1
>conftest.err
9539 cat conftest.err
>&5
9540 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9541 (exit $ac_status); } &&
9542 { ac_try
='test -z "$ac_c_werror_flag"
9543 || test ! -s conftest.err'
9544 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9547 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9548 (exit $ac_status); }; } &&
9549 { ac_try
='test -s conftest$ac_exeext'
9550 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9553 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9554 (exit $ac_status); }; }; then
9555 ac_cv_func_gethostbyname
=yes
9557 echo "$as_me: failed program was:" >&5
9558 sed 's/^/| /' conftest.
$ac_ext >&5
9560 ac_cv_func_gethostbyname
=no
9562 rm -f conftest.err conftest.
$ac_objext \
9563 conftest
$ac_exeext conftest.
$ac_ext
9565 echo "$as_me:$LINENO: result: $ac_cv_func_gethostbyname" >&5
9566 echo "${ECHO_T}$ac_cv_func_gethostbyname" >&6
9568 if test $ac_cv_func_gethostbyname = no
; then
9569 echo "$as_me:$LINENO: checking for gethostbyname in -lnsl" >&5
9570 echo $ECHO_N "checking for gethostbyname in -lnsl... $ECHO_C" >&6
9571 if test "${ac_cv_lib_nsl_gethostbyname+set}" = set; then
9572 echo $ECHO_N "(cached) $ECHO_C" >&6
9574 ac_check_lib_save_LIBS
=$LIBS
9576 if test x
$gcc_no_link = xyes
; then
9577 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
9578 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
9579 { (exit 1); exit 1; }; }
9581 cat >conftest.
$ac_ext <<_ACEOF
9584 cat confdefs.h
>>conftest.
$ac_ext
9585 cat >>conftest.
$ac_ext <<_ACEOF
9586 /* end confdefs.h. */
9588 /* Override any gcc2 internal prototype to avoid an error. */
9592 /* We use char because int might match the return type of a gcc2
9593 builtin and then its argument prototype would still apply. */
9594 char gethostbyname ();
9603 rm -f conftest.
$ac_objext conftest
$ac_exeext
9604 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
9605 (eval $ac_link) 2>conftest.er1
9607 grep -v '^ *+' conftest.er1
>conftest.err
9609 cat conftest.err
>&5
9610 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9611 (exit $ac_status); } &&
9612 { ac_try
='test -z "$ac_c_werror_flag"
9613 || test ! -s conftest.err'
9614 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9617 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9618 (exit $ac_status); }; } &&
9619 { ac_try
='test -s conftest$ac_exeext'
9620 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9623 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9624 (exit $ac_status); }; }; then
9625 ac_cv_lib_nsl_gethostbyname
=yes
9627 echo "$as_me: failed program was:" >&5
9628 sed 's/^/| /' conftest.
$ac_ext >&5
9630 ac_cv_lib_nsl_gethostbyname
=no
9632 rm -f conftest.err conftest.
$ac_objext \
9633 conftest
$ac_exeext conftest.
$ac_ext
9634 LIBS
=$ac_check_lib_save_LIBS
9636 echo "$as_me:$LINENO: result: $ac_cv_lib_nsl_gethostbyname" >&5
9637 echo "${ECHO_T}$ac_cv_lib_nsl_gethostbyname" >&6
9638 if test $ac_cv_lib_nsl_gethostbyname = yes; then
9639 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lnsl"
9642 if test $ac_cv_lib_nsl_gethostbyname = no
; then
9643 echo "$as_me:$LINENO: checking for gethostbyname in -lbsd" >&5
9644 echo $ECHO_N "checking for gethostbyname in -lbsd... $ECHO_C" >&6
9645 if test "${ac_cv_lib_bsd_gethostbyname+set}" = set; then
9646 echo $ECHO_N "(cached) $ECHO_C" >&6
9648 ac_check_lib_save_LIBS
=$LIBS
9650 if test x
$gcc_no_link = xyes
; then
9651 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
9652 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
9653 { (exit 1); exit 1; }; }
9655 cat >conftest.
$ac_ext <<_ACEOF
9658 cat confdefs.h
>>conftest.
$ac_ext
9659 cat >>conftest.
$ac_ext <<_ACEOF
9660 /* end confdefs.h. */
9662 /* Override any gcc2 internal prototype to avoid an error. */
9666 /* We use char because int might match the return type of a gcc2
9667 builtin and then its argument prototype would still apply. */
9668 char gethostbyname ();
9677 rm -f conftest.
$ac_objext conftest
$ac_exeext
9678 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
9679 (eval $ac_link) 2>conftest.er1
9681 grep -v '^ *+' conftest.er1
>conftest.err
9683 cat conftest.err
>&5
9684 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9685 (exit $ac_status); } &&
9686 { ac_try
='test -z "$ac_c_werror_flag"
9687 || test ! -s conftest.err'
9688 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9691 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9692 (exit $ac_status); }; } &&
9693 { ac_try
='test -s conftest$ac_exeext'
9694 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9697 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9698 (exit $ac_status); }; }; then
9699 ac_cv_lib_bsd_gethostbyname
=yes
9701 echo "$as_me: failed program was:" >&5
9702 sed 's/^/| /' conftest.
$ac_ext >&5
9704 ac_cv_lib_bsd_gethostbyname
=no
9706 rm -f conftest.err conftest.
$ac_objext \
9707 conftest
$ac_exeext conftest.
$ac_ext
9708 LIBS
=$ac_check_lib_save_LIBS
9710 echo "$as_me:$LINENO: result: $ac_cv_lib_bsd_gethostbyname" >&5
9711 echo "${ECHO_T}$ac_cv_lib_bsd_gethostbyname" >&6
9712 if test $ac_cv_lib_bsd_gethostbyname = yes; then
9713 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lbsd"
9719 # lieder@skyler.mavd.honeywell.com says without -lsocket,
9720 # socket/setsockopt and other routines are undefined under SCO ODT
9721 # 2.0. But -lsocket is broken on IRIX 5.2 (and is not necessary
9722 # on later versions), says Simon Leinen: it contains gethostby*
9723 # variants that don't use the name server (or something). -lsocket
9724 # must be given before -lnsl if both are needed. We assume that
9725 # if connect needs -lnsl, so does gethostbyname.
9726 echo "$as_me:$LINENO: checking for connect" >&5
9727 echo $ECHO_N "checking for connect... $ECHO_C" >&6
9728 if test "${ac_cv_func_connect+set}" = set; then
9729 echo $ECHO_N "(cached) $ECHO_C" >&6
9731 if test x
$gcc_no_link = xyes
; then
9732 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
9733 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
9734 { (exit 1); exit 1; }; }
9736 cat >conftest.
$ac_ext <<_ACEOF
9739 cat confdefs.h
>>conftest.
$ac_ext
9740 cat >>conftest.
$ac_ext <<_ACEOF
9741 /* end confdefs.h. */
9742 /* Define connect to an innocuous variant, in case <limits.h> declares connect.
9743 For example, HP-UX 11i <limits.h> declares gettimeofday. */
9744 #define connect innocuous_connect
9746 /* System header to define __stub macros and hopefully few prototypes,
9747 which can conflict with char connect (); below.
9748 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
9749 <limits.h> exists even on freestanding compilers. */
9752 # include <limits.h>
9754 # include <assert.h>
9759 /* Override any gcc2 internal prototype to avoid an error. */
9764 /* We use char because int might match the return type of a gcc2
9765 builtin and then its argument prototype would still apply. */
9767 /* The GNU C library defines this for functions which it implements
9768 to always fail with ENOSYS. Some functions are actually named
9769 something starting with __ and the normal name is an alias. */
9770 #if defined (__stub_connect) || defined (__stub___connect)
9773 char (*f) () = connect;
9782 return f != connect;
9787 rm -f conftest.
$ac_objext conftest
$ac_exeext
9788 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
9789 (eval $ac_link) 2>conftest.er1
9791 grep -v '^ *+' conftest.er1
>conftest.err
9793 cat conftest.err
>&5
9794 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9795 (exit $ac_status); } &&
9796 { ac_try
='test -z "$ac_c_werror_flag"
9797 || test ! -s conftest.err'
9798 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9801 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9802 (exit $ac_status); }; } &&
9803 { ac_try
='test -s conftest$ac_exeext'
9804 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9807 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9808 (exit $ac_status); }; }; then
9809 ac_cv_func_connect
=yes
9811 echo "$as_me: failed program was:" >&5
9812 sed 's/^/| /' conftest.
$ac_ext >&5
9814 ac_cv_func_connect
=no
9816 rm -f conftest.err conftest.
$ac_objext \
9817 conftest
$ac_exeext conftest.
$ac_ext
9819 echo "$as_me:$LINENO: result: $ac_cv_func_connect" >&5
9820 echo "${ECHO_T}$ac_cv_func_connect" >&6
9822 if test $ac_cv_func_connect = no
; then
9823 echo "$as_me:$LINENO: checking for connect in -lsocket" >&5
9824 echo $ECHO_N "checking for connect in -lsocket... $ECHO_C" >&6
9825 if test "${ac_cv_lib_socket_connect+set}" = set; then
9826 echo $ECHO_N "(cached) $ECHO_C" >&6
9828 ac_check_lib_save_LIBS
=$LIBS
9829 LIBS
="-lsocket $X_EXTRA_LIBS $LIBS"
9830 if test x
$gcc_no_link = xyes
; then
9831 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
9832 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
9833 { (exit 1); exit 1; }; }
9835 cat >conftest.
$ac_ext <<_ACEOF
9838 cat confdefs.h
>>conftest.
$ac_ext
9839 cat >>conftest.
$ac_ext <<_ACEOF
9840 /* end confdefs.h. */
9842 /* Override any gcc2 internal prototype to avoid an error. */
9846 /* We use char because int might match the return type of a gcc2
9847 builtin and then its argument prototype would still apply. */
9857 rm -f conftest.
$ac_objext conftest
$ac_exeext
9858 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
9859 (eval $ac_link) 2>conftest.er1
9861 grep -v '^ *+' conftest.er1
>conftest.err
9863 cat conftest.err
>&5
9864 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9865 (exit $ac_status); } &&
9866 { ac_try
='test -z "$ac_c_werror_flag"
9867 || test ! -s conftest.err'
9868 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9871 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9872 (exit $ac_status); }; } &&
9873 { ac_try
='test -s conftest$ac_exeext'
9874 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9877 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9878 (exit $ac_status); }; }; then
9879 ac_cv_lib_socket_connect
=yes
9881 echo "$as_me: failed program was:" >&5
9882 sed 's/^/| /' conftest.
$ac_ext >&5
9884 ac_cv_lib_socket_connect
=no
9886 rm -f conftest.err conftest.
$ac_objext \
9887 conftest
$ac_exeext conftest.
$ac_ext
9888 LIBS
=$ac_check_lib_save_LIBS
9890 echo "$as_me:$LINENO: result: $ac_cv_lib_socket_connect" >&5
9891 echo "${ECHO_T}$ac_cv_lib_socket_connect" >&6
9892 if test $ac_cv_lib_socket_connect = yes; then
9893 X_EXTRA_LIBS
="-lsocket $X_EXTRA_LIBS"
9898 # Guillermo Gomez says -lposix is necessary on A/UX.
9899 echo "$as_me:$LINENO: checking for remove" >&5
9900 echo $ECHO_N "checking for remove... $ECHO_C" >&6
9901 if test "${ac_cv_func_remove+set}" = set; then
9902 echo $ECHO_N "(cached) $ECHO_C" >&6
9904 if test x
$gcc_no_link = xyes
; then
9905 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
9906 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
9907 { (exit 1); exit 1; }; }
9909 cat >conftest.
$ac_ext <<_ACEOF
9912 cat confdefs.h
>>conftest.
$ac_ext
9913 cat >>conftest.
$ac_ext <<_ACEOF
9914 /* end confdefs.h. */
9915 /* Define remove to an innocuous variant, in case <limits.h> declares remove.
9916 For example, HP-UX 11i <limits.h> declares gettimeofday. */
9917 #define remove innocuous_remove
9919 /* System header to define __stub macros and hopefully few prototypes,
9920 which can conflict with char remove (); below.
9921 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
9922 <limits.h> exists even on freestanding compilers. */
9925 # include <limits.h>
9927 # include <assert.h>
9932 /* Override any gcc2 internal prototype to avoid an error. */
9937 /* We use char because int might match the return type of a gcc2
9938 builtin and then its argument prototype would still apply. */
9940 /* The GNU C library defines this for functions which it implements
9941 to always fail with ENOSYS. Some functions are actually named
9942 something starting with __ and the normal name is an alias. */
9943 #if defined (__stub_remove) || defined (__stub___remove)
9946 char (*f) () = remove;
9960 rm -f conftest.
$ac_objext conftest
$ac_exeext
9961 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
9962 (eval $ac_link) 2>conftest.er1
9964 grep -v '^ *+' conftest.er1
>conftest.err
9966 cat conftest.err
>&5
9967 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9968 (exit $ac_status); } &&
9969 { ac_try
='test -z "$ac_c_werror_flag"
9970 || test ! -s conftest.err'
9971 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9974 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9975 (exit $ac_status); }; } &&
9976 { ac_try
='test -s conftest$ac_exeext'
9977 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9980 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9981 (exit $ac_status); }; }; then
9982 ac_cv_func_remove
=yes
9984 echo "$as_me: failed program was:" >&5
9985 sed 's/^/| /' conftest.
$ac_ext >&5
9987 ac_cv_func_remove
=no
9989 rm -f conftest.err conftest.
$ac_objext \
9990 conftest
$ac_exeext conftest.
$ac_ext
9992 echo "$as_me:$LINENO: result: $ac_cv_func_remove" >&5
9993 echo "${ECHO_T}$ac_cv_func_remove" >&6
9995 if test $ac_cv_func_remove = no
; then
9996 echo "$as_me:$LINENO: checking for remove in -lposix" >&5
9997 echo $ECHO_N "checking for remove in -lposix... $ECHO_C" >&6
9998 if test "${ac_cv_lib_posix_remove+set}" = set; then
9999 echo $ECHO_N "(cached) $ECHO_C" >&6
10001 ac_check_lib_save_LIBS
=$LIBS
10002 LIBS
="-lposix $LIBS"
10003 if test x
$gcc_no_link = xyes
; then
10004 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
10005 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
10006 { (exit 1); exit 1; }; }
10008 cat >conftest.
$ac_ext <<_ACEOF
10011 cat confdefs.h
>>conftest.
$ac_ext
10012 cat >>conftest.
$ac_ext <<_ACEOF
10013 /* end confdefs.h. */
10015 /* Override any gcc2 internal prototype to avoid an error. */
10019 /* We use char because int might match the return type of a gcc2
10020 builtin and then its argument prototype would still apply. */
10030 rm -f conftest.
$ac_objext conftest
$ac_exeext
10031 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10032 (eval $ac_link) 2>conftest.er1
10034 grep -v '^ *+' conftest.er1
>conftest.err
10036 cat conftest.err
>&5
10037 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10038 (exit $ac_status); } &&
10039 { ac_try
='test -z "$ac_c_werror_flag"
10040 || test ! -s conftest.err'
10041 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10042 (eval $ac_try) 2>&5
10044 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10045 (exit $ac_status); }; } &&
10046 { ac_try
='test -s conftest$ac_exeext'
10047 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10048 (eval $ac_try) 2>&5
10050 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10051 (exit $ac_status); }; }; then
10052 ac_cv_lib_posix_remove
=yes
10054 echo "$as_me: failed program was:" >&5
10055 sed 's/^/| /' conftest.
$ac_ext >&5
10057 ac_cv_lib_posix_remove
=no
10059 rm -f conftest.err conftest.
$ac_objext \
10060 conftest
$ac_exeext conftest.
$ac_ext
10061 LIBS
=$ac_check_lib_save_LIBS
10063 echo "$as_me:$LINENO: result: $ac_cv_lib_posix_remove" >&5
10064 echo "${ECHO_T}$ac_cv_lib_posix_remove" >&6
10065 if test $ac_cv_lib_posix_remove = yes; then
10066 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lposix"
10071 # BSDI BSD/OS 2.1 needs -lipc for XOpenDisplay.
10072 echo "$as_me:$LINENO: checking for shmat" >&5
10073 echo $ECHO_N "checking for shmat... $ECHO_C" >&6
10074 if test "${ac_cv_func_shmat+set}" = set; then
10075 echo $ECHO_N "(cached) $ECHO_C" >&6
10077 if test x
$gcc_no_link = xyes
; then
10078 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
10079 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
10080 { (exit 1); exit 1; }; }
10082 cat >conftest.
$ac_ext <<_ACEOF
10085 cat confdefs.h
>>conftest.
$ac_ext
10086 cat >>conftest.
$ac_ext <<_ACEOF
10087 /* end confdefs.h. */
10088 /* Define shmat to an innocuous variant, in case <limits.h> declares shmat.
10089 For example, HP-UX 11i <limits.h> declares gettimeofday. */
10090 #define shmat innocuous_shmat
10092 /* System header to define __stub macros and hopefully few prototypes,
10093 which can conflict with char shmat (); below.
10094 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
10095 <limits.h> exists even on freestanding compilers. */
10098 # include <limits.h>
10100 # include <assert.h>
10105 /* Override any gcc2 internal prototype to avoid an error. */
10110 /* We use char because int might match the return type of a gcc2
10111 builtin and then its argument prototype would still apply. */
10113 /* The GNU C library defines this for functions which it implements
10114 to always fail with ENOSYS. Some functions are actually named
10115 something starting with __ and the normal name is an alias. */
10116 #if defined (__stub_shmat) || defined (__stub___shmat)
10119 char (*f) () = shmat;
10133 rm -f conftest.
$ac_objext conftest
$ac_exeext
10134 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10135 (eval $ac_link) 2>conftest.er1
10137 grep -v '^ *+' conftest.er1
>conftest.err
10139 cat conftest.err
>&5
10140 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10141 (exit $ac_status); } &&
10142 { ac_try
='test -z "$ac_c_werror_flag"
10143 || test ! -s conftest.err'
10144 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10145 (eval $ac_try) 2>&5
10147 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10148 (exit $ac_status); }; } &&
10149 { ac_try
='test -s conftest$ac_exeext'
10150 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10151 (eval $ac_try) 2>&5
10153 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10154 (exit $ac_status); }; }; then
10155 ac_cv_func_shmat
=yes
10157 echo "$as_me: failed program was:" >&5
10158 sed 's/^/| /' conftest.
$ac_ext >&5
10160 ac_cv_func_shmat
=no
10162 rm -f conftest.err conftest.
$ac_objext \
10163 conftest
$ac_exeext conftest.
$ac_ext
10165 echo "$as_me:$LINENO: result: $ac_cv_func_shmat" >&5
10166 echo "${ECHO_T}$ac_cv_func_shmat" >&6
10168 if test $ac_cv_func_shmat = no
; then
10169 echo "$as_me:$LINENO: checking for shmat in -lipc" >&5
10170 echo $ECHO_N "checking for shmat in -lipc... $ECHO_C" >&6
10171 if test "${ac_cv_lib_ipc_shmat+set}" = set; then
10172 echo $ECHO_N "(cached) $ECHO_C" >&6
10174 ac_check_lib_save_LIBS
=$LIBS
10176 if test x
$gcc_no_link = xyes
; then
10177 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
10178 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
10179 { (exit 1); exit 1; }; }
10181 cat >conftest.
$ac_ext <<_ACEOF
10184 cat confdefs.h
>>conftest.
$ac_ext
10185 cat >>conftest.
$ac_ext <<_ACEOF
10186 /* end confdefs.h. */
10188 /* Override any gcc2 internal prototype to avoid an error. */
10192 /* We use char because int might match the return type of a gcc2
10193 builtin and then its argument prototype would still apply. */
10203 rm -f conftest.
$ac_objext conftest
$ac_exeext
10204 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10205 (eval $ac_link) 2>conftest.er1
10207 grep -v '^ *+' conftest.er1
>conftest.err
10209 cat conftest.err
>&5
10210 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10211 (exit $ac_status); } &&
10212 { ac_try
='test -z "$ac_c_werror_flag"
10213 || test ! -s conftest.err'
10214 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10215 (eval $ac_try) 2>&5
10217 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10218 (exit $ac_status); }; } &&
10219 { ac_try
='test -s conftest$ac_exeext'
10220 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10221 (eval $ac_try) 2>&5
10223 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10224 (exit $ac_status); }; }; then
10225 ac_cv_lib_ipc_shmat
=yes
10227 echo "$as_me: failed program was:" >&5
10228 sed 's/^/| /' conftest.
$ac_ext >&5
10230 ac_cv_lib_ipc_shmat
=no
10232 rm -f conftest.err conftest.
$ac_objext \
10233 conftest
$ac_exeext conftest.
$ac_ext
10234 LIBS
=$ac_check_lib_save_LIBS
10236 echo "$as_me:$LINENO: result: $ac_cv_lib_ipc_shmat" >&5
10237 echo "${ECHO_T}$ac_cv_lib_ipc_shmat" >&6
10238 if test $ac_cv_lib_ipc_shmat = yes; then
10239 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lipc"
10245 # Check for libraries that X11R6 Xt/Xaw programs need.
10246 ac_save_LDFLAGS
=$LDFLAGS
10247 test -n "$x_libraries" && LDFLAGS
="$LDFLAGS -L$x_libraries"
10248 # SM needs ICE to (dynamically) link under SunOS 4.x (so we have to
10249 # check for ICE first), but we must link in the order -lSM -lICE or
10250 # we get undefined symbols. So assume we have SM if we have ICE.
10251 # These have to be linked with before -lX11, unlike the other
10252 # libraries we check for below, so use a different variable.
10253 # John Interrante, Karl Berry
10254 echo "$as_me:$LINENO: checking for IceConnectionNumber in -lICE" >&5
10255 echo $ECHO_N "checking for IceConnectionNumber in -lICE... $ECHO_C" >&6
10256 if test "${ac_cv_lib_ICE_IceConnectionNumber+set}" = set; then
10257 echo $ECHO_N "(cached) $ECHO_C" >&6
10259 ac_check_lib_save_LIBS
=$LIBS
10260 LIBS
="-lICE $X_EXTRA_LIBS $LIBS"
10261 if test x
$gcc_no_link = xyes
; then
10262 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
10263 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
10264 { (exit 1); exit 1; }; }
10266 cat >conftest.
$ac_ext <<_ACEOF
10269 cat confdefs.h
>>conftest.
$ac_ext
10270 cat >>conftest.
$ac_ext <<_ACEOF
10271 /* end confdefs.h. */
10273 /* Override any gcc2 internal prototype to avoid an error. */
10277 /* We use char because int might match the return type of a gcc2
10278 builtin and then its argument prototype would still apply. */
10279 char IceConnectionNumber ();
10283 IceConnectionNumber ();
10288 rm -f conftest.
$ac_objext conftest
$ac_exeext
10289 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10290 (eval $ac_link) 2>conftest.er1
10292 grep -v '^ *+' conftest.er1
>conftest.err
10294 cat conftest.err
>&5
10295 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10296 (exit $ac_status); } &&
10297 { ac_try
='test -z "$ac_c_werror_flag"
10298 || test ! -s conftest.err'
10299 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10300 (eval $ac_try) 2>&5
10302 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10303 (exit $ac_status); }; } &&
10304 { ac_try
='test -s conftest$ac_exeext'
10305 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10306 (eval $ac_try) 2>&5
10308 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10309 (exit $ac_status); }; }; then
10310 ac_cv_lib_ICE_IceConnectionNumber
=yes
10312 echo "$as_me: failed program was:" >&5
10313 sed 's/^/| /' conftest.
$ac_ext >&5
10315 ac_cv_lib_ICE_IceConnectionNumber
=no
10317 rm -f conftest.err conftest.
$ac_objext \
10318 conftest
$ac_exeext conftest.
$ac_ext
10319 LIBS
=$ac_check_lib_save_LIBS
10321 echo "$as_me:$LINENO: result: $ac_cv_lib_ICE_IceConnectionNumber" >&5
10322 echo "${ECHO_T}$ac_cv_lib_ICE_IceConnectionNumber" >&6
10323 if test $ac_cv_lib_ICE_IceConnectionNumber = yes; then
10324 X_PRE_LIBS
="$X_PRE_LIBS -lSM -lICE"
10327 LDFLAGS
=$ac_save_LDFLAGS
10331 if test "$no_x" = yes; then
10332 { { echo "$as_me:$LINENO: error: GTK+ peers requested but no X library available" >&5
10333 echo "$as_me: error: GTK+ peers requested but no X library available" >&2;}
10334 { (exit 1); exit 1; }; }
10336 echo "$as_me:$LINENO: checking for XTestQueryExtension in -lXtst" >&5
10337 echo $ECHO_N "checking for XTestQueryExtension in -lXtst... $ECHO_C" >&6
10338 if test "${ac_cv_lib_Xtst_XTestQueryExtension+set}" = set; then
10339 echo $ECHO_N "(cached) $ECHO_C" >&6
10341 ac_check_lib_save_LIBS
=$LIBS
10342 LIBS
="-lXtst ${X_LIBS} $LIBS"
10343 if test x
$gcc_no_link = xyes
; then
10344 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
10345 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
10346 { (exit 1); exit 1; }; }
10348 cat >conftest.
$ac_ext <<_ACEOF
10351 cat confdefs.h
>>conftest.
$ac_ext
10352 cat >>conftest.
$ac_ext <<_ACEOF
10353 /* end confdefs.h. */
10355 /* Override any gcc2 internal prototype to avoid an error. */
10359 /* We use char because int might match the return type of a gcc2
10360 builtin and then its argument prototype would still apply. */
10361 char XTestQueryExtension ();
10365 XTestQueryExtension ();
10370 rm -f conftest.
$ac_objext conftest
$ac_exeext
10371 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10372 (eval $ac_link) 2>conftest.er1
10374 grep -v '^ *+' conftest.er1
>conftest.err
10376 cat conftest.err
>&5
10377 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10378 (exit $ac_status); } &&
10379 { ac_try
='test -z "$ac_c_werror_flag"
10380 || test ! -s conftest.err'
10381 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10382 (eval $ac_try) 2>&5
10384 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10385 (exit $ac_status); }; } &&
10386 { ac_try
='test -s conftest$ac_exeext'
10387 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10388 (eval $ac_try) 2>&5
10390 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10391 (exit $ac_status); }; }; then
10392 ac_cv_lib_Xtst_XTestQueryExtension
=yes
10394 echo "$as_me: failed program was:" >&5
10395 sed 's/^/| /' conftest.
$ac_ext >&5
10397 ac_cv_lib_Xtst_XTestQueryExtension
=no
10399 rm -f conftest.err conftest.
$ac_objext \
10400 conftest
$ac_exeext conftest.
$ac_ext
10401 LIBS
=$ac_check_lib_save_LIBS
10403 echo "$as_me:$LINENO: result: $ac_cv_lib_Xtst_XTestQueryExtension" >&5
10404 echo "${ECHO_T}$ac_cv_lib_Xtst_XTestQueryExtension" >&6
10405 if test $ac_cv_lib_Xtst_XTestQueryExtension = yes; then
10408 { { echo "$as_me:$LINENO: error: libXtst NOT found, required for GdkRobot" >&5
10409 echo "$as_me: error: libXtst NOT found, required for GdkRobot" >&2;}
10410 { (exit 1); exit 1; }; }
10416 if test -z "$PKG_CONFIG"; then
10417 # Extract the first word of "pkg-config", so it can be a program name with args.
10418 set dummy pkg-config
; ac_word
=$2
10419 echo "$as_me:$LINENO: checking for $ac_word" >&5
10420 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
10421 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
10422 echo $ECHO_N "(cached) $ECHO_C" >&6
10424 case $PKG_CONFIG in
10426 ac_cv_path_PKG_CONFIG
="$PKG_CONFIG" # Let the user override the test with a path.
10429 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
10430 for as_dir
in $PATH
10433 test -z "$as_dir" && as_dir
=.
10434 for ac_exec_ext
in '' $ac_executable_extensions; do
10435 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
10436 ac_cv_path_PKG_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
10437 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
10443 test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG
="no"
10447 PKG_CONFIG
=$ac_cv_path_PKG_CONFIG
10449 if test -n "$PKG_CONFIG"; then
10450 echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
10451 echo "${ECHO_T}$PKG_CONFIG" >&6
10453 echo "$as_me:$LINENO: result: no" >&5
10454 echo "${ECHO_T}no" >&6
10459 if test "$PKG_CONFIG" = "no" ; then
10460 echo "*** The pkg-config script could not be found. Make sure it is"
10461 echo "*** in your path, or set the PKG_CONFIG environment variable"
10462 echo "*** to the full path to pkg-config."
10463 echo "*** Or see http://www.freedesktop.org/software/pkgconfig to get pkg-config."
10465 PKG_CONFIG_MIN_VERSION
=0.9.0
10466 if $PKG_CONFIG --atleast-pkgconfig-version $PKG_CONFIG_MIN_VERSION; then
10467 echo "$as_me:$LINENO: checking for gtk+-2.0 >= 2.4 gthread-2.0 >= 2.2 gdk-pixbuf-2.0" >&5
10468 echo $ECHO_N "checking for gtk+-2.0 >= 2.4 gthread-2.0 >= 2.2 gdk-pixbuf-2.0... $ECHO_C" >&6
10470 if $PKG_CONFIG --exists "gtk+-2.0 >= 2.4 gthread-2.0 >= 2.2 gdk-pixbuf-2.0" ; then
10471 echo "$as_me:$LINENO: result: yes" >&5
10472 echo "${ECHO_T}yes" >&6
10475 echo "$as_me:$LINENO: checking GTK_CFLAGS" >&5
10476 echo $ECHO_N "checking GTK_CFLAGS... $ECHO_C" >&6
10477 GTK_CFLAGS
=`$PKG_CONFIG --cflags "gtk+-2.0 >= 2.4 gthread-2.0 >= 2.2 gdk-pixbuf-2.0"`
10478 echo "$as_me:$LINENO: result: $GTK_CFLAGS" >&5
10479 echo "${ECHO_T}$GTK_CFLAGS" >&6
10481 echo "$as_me:$LINENO: checking GTK_LIBS" >&5
10482 echo $ECHO_N "checking GTK_LIBS... $ECHO_C" >&6
10483 GTK_LIBS
=`$PKG_CONFIG --libs "gtk+-2.0 >= 2.4 gthread-2.0 >= 2.2 gdk-pixbuf-2.0"`
10484 echo "$as_me:$LINENO: result: $GTK_LIBS" >&5
10485 echo "${ECHO_T}$GTK_LIBS" >&6
10489 ## If we have a custom action on failure, don't print errors, but
10490 ## do set a variable so people can do so.
10491 GTK_PKG_ERRORS
=`$PKG_CONFIG --errors-to-stdout --print-errors "gtk+-2.0 >= 2.4 gthread-2.0 >= 2.2 gdk-pixbuf-2.0"`
10492 echo $GTK_PKG_ERRORS
10498 echo "*** Your version of pkg-config is too old. You need version $PKG_CONFIG_MIN_VERSION or newer."
10499 echo "*** See http://www.freedesktop.org/software/pkgconfig"
10503 if test $succeeded = yes; then
10506 { { 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
10507 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;}
10508 { (exit 1); exit 1; }; }
10515 if test "x${COMPILE_QT_PEER}" = xyes
; then
10519 if test -z "$PKG_CONFIG"; then
10520 # Extract the first word of "pkg-config", so it can be a program name with args.
10521 set dummy pkg-config
; ac_word
=$2
10522 echo "$as_me:$LINENO: checking for $ac_word" >&5
10523 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
10524 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
10525 echo $ECHO_N "(cached) $ECHO_C" >&6
10527 case $PKG_CONFIG in
10529 ac_cv_path_PKG_CONFIG
="$PKG_CONFIG" # Let the user override the test with a path.
10532 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
10533 for as_dir
in $PATH
10536 test -z "$as_dir" && as_dir
=.
10537 for ac_exec_ext
in '' $ac_executable_extensions; do
10538 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
10539 ac_cv_path_PKG_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
10540 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
10546 test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG
="no"
10550 PKG_CONFIG
=$ac_cv_path_PKG_CONFIG
10552 if test -n "$PKG_CONFIG"; then
10553 echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
10554 echo "${ECHO_T}$PKG_CONFIG" >&6
10556 echo "$as_me:$LINENO: result: no" >&5
10557 echo "${ECHO_T}no" >&6
10562 if test "$PKG_CONFIG" = "no" ; then
10563 echo "*** The pkg-config script could not be found. Make sure it is"
10564 echo "*** in your path, or set the PKG_CONFIG environment variable"
10565 echo "*** to the full path to pkg-config."
10566 echo "*** Or see http://www.freedesktop.org/software/pkgconfig to get pkg-config."
10568 PKG_CONFIG_MIN_VERSION
=0.9.0
10569 if $PKG_CONFIG --atleast-pkgconfig-version $PKG_CONFIG_MIN_VERSION; then
10570 echo "$as_me:$LINENO: checking for QtGui >= 4.0.1" >&5
10571 echo $ECHO_N "checking for QtGui >= 4.0.1... $ECHO_C" >&6
10573 if $PKG_CONFIG --exists "QtGui >= 4.0.1" ; then
10574 echo "$as_me:$LINENO: result: yes" >&5
10575 echo "${ECHO_T}yes" >&6
10578 echo "$as_me:$LINENO: checking QT_CFLAGS" >&5
10579 echo $ECHO_N "checking QT_CFLAGS... $ECHO_C" >&6
10580 QT_CFLAGS
=`$PKG_CONFIG --cflags "QtGui >= 4.0.1"`
10581 echo "$as_me:$LINENO: result: $QT_CFLAGS" >&5
10582 echo "${ECHO_T}$QT_CFLAGS" >&6
10584 echo "$as_me:$LINENO: checking QT_LIBS" >&5
10585 echo $ECHO_N "checking QT_LIBS... $ECHO_C" >&6
10586 QT_LIBS
=`$PKG_CONFIG --libs "QtGui >= 4.0.1"`
10587 echo "$as_me:$LINENO: result: $QT_LIBS" >&5
10588 echo "${ECHO_T}$QT_LIBS" >&6
10592 ## If we have a custom action on failure, don't print errors, but
10593 ## do set a variable so people can do so.
10594 QT_PKG_ERRORS
=`$PKG_CONFIG --errors-to-stdout --print-errors "QtGui >= 4.0.1"`
10595 echo $QT_PKG_ERRORS
10601 echo "*** Your version of pkg-config is too old. You need version $PKG_CONFIG_MIN_VERSION or newer."
10602 echo "*** See http://www.freedesktop.org/software/pkgconfig"
10606 if test $succeeded = yes; then
10609 { { echo "$as_me:$LINENO: error: Library requirements (QtGui >= 4.0.1) 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
10610 echo "$as_me: error: Library requirements (QtGui >= 4.0.1) 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;}
10611 { (exit 1); exit 1; }; }
10614 QT_INCLUDE_DIR
=$
($PKG_CONFIG --variable=includedir QtGui
)
10615 EXTRA_QT_INCLUDE_DIR
="$QT_INCLUDE_DIR/Qt"
10616 as_ac_File
=`echo "ac_cv_file_$QT_INCLUDE_DIR/QWidget" | $as_tr_sh`
10617 echo "$as_me:$LINENO: checking for $QT_INCLUDE_DIR/QWidget" >&5
10618 echo $ECHO_N "checking for $QT_INCLUDE_DIR/QWidget... $ECHO_C" >&6
10619 if eval "test \"\${$as_ac_File+set}\" = set"; then
10620 echo $ECHO_N "(cached) $ECHO_C" >&6
10622 test "$cross_compiling" = yes &&
10623 { { echo "$as_me:$LINENO: error: cannot check for file existence when cross compiling" >&5
10624 echo "$as_me: error: cannot check for file existence when cross compiling" >&2;}
10625 { (exit 1); exit 1; }; }
10626 if test -r "$QT_INCLUDE_DIR/QWidget"; then
10627 eval "$as_ac_File=yes"
10629 eval "$as_ac_File=no"
10632 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_File'}'`" >&5
10633 echo "${ECHO_T}`eval echo '${'$as_ac_File'}'`" >&6
10634 if test `eval echo '${'$as_ac_File'}'` = yes; then
10635 { echo "$as_me:$LINENO: No extra QT_INCLUDE_DIR needed" >&5
10636 echo "$as_me: No extra QT_INCLUDE_DIR needed" >&6;}
10638 as_ac_File
=`echo "ac_cv_file_$EXTRA_QT_INCLUDE_DIR/QWidget" | $as_tr_sh`
10639 echo "$as_me:$LINENO: checking for $EXTRA_QT_INCLUDE_DIR/QWidget" >&5
10640 echo $ECHO_N "checking for $EXTRA_QT_INCLUDE_DIR/QWidget... $ECHO_C" >&6
10641 if eval "test \"\${$as_ac_File+set}\" = set"; then
10642 echo $ECHO_N "(cached) $ECHO_C" >&6
10644 test "$cross_compiling" = yes &&
10645 { { echo "$as_me:$LINENO: error: cannot check for file existence when cross compiling" >&5
10646 echo "$as_me: error: cannot check for file existence when cross compiling" >&2;}
10647 { (exit 1); exit 1; }; }
10648 if test -r "$EXTRA_QT_INCLUDE_DIR/QWidget"; then
10649 eval "$as_ac_File=yes"
10651 eval "$as_ac_File=no"
10654 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_File'}'`" >&5
10655 echo "${ECHO_T}`eval echo '${'$as_ac_File'}'`" >&6
10656 if test `eval echo '${'$as_ac_File'}'` = yes; then
10657 QT_CFLAGS
="$QT_CFLAGS -I$EXTRA_QT_INCLUDE_DIR"
10659 { echo "$as_me:$LINENO: WARNING: QWidget not found" >&5
10660 echo "$as_me: WARNING: QWidget not found" >&2;}
10665 { echo "$as_me:$LINENO: Set QT_CFLAGS... $QT_CFLAGS" >&5
10666 echo "$as_me: Set QT_CFLAGS... $QT_CFLAGS" >&6;}
10667 # Extract the first word of "moc", so it can be a program name with args.
10668 set dummy moc
; ac_word
=$2
10669 echo "$as_me:$LINENO: checking for $ac_word" >&5
10670 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
10671 if test "${ac_cv_prog_MOC+set}" = set; then
10672 echo $ECHO_N "(cached) $ECHO_C" >&6
10674 if test -n "$MOC"; then
10675 ac_cv_prog_MOC
="$MOC" # Let the user override the test.
10677 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
10678 for as_dir
in $PATH
10681 test -z "$as_dir" && as_dir
=.
10682 for ac_exec_ext
in '' $ac_executable_extensions; do
10683 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
10684 ac_cv_prog_MOC
="moc"
10685 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
10693 MOC
=$ac_cv_prog_MOC
10694 if test -n "$MOC"; then
10695 echo "$as_me:$LINENO: result: $MOC" >&5
10696 echo "${ECHO_T}$MOC" >&6
10698 echo "$as_me:$LINENO: result: no" >&5
10699 echo "${ECHO_T}no" >&6
10706 if test "x${enable_gtk_cairo}" = xyes
; then
10710 if test -z "$PKG_CONFIG"; then
10711 # Extract the first word of "pkg-config", so it can be a program name with args.
10712 set dummy pkg-config
; ac_word
=$2
10713 echo "$as_me:$LINENO: checking for $ac_word" >&5
10714 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
10715 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
10716 echo $ECHO_N "(cached) $ECHO_C" >&6
10718 case $PKG_CONFIG in
10720 ac_cv_path_PKG_CONFIG
="$PKG_CONFIG" # Let the user override the test with a path.
10723 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
10724 for as_dir
in $PATH
10727 test -z "$as_dir" && as_dir
=.
10728 for ac_exec_ext
in '' $ac_executable_extensions; do
10729 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
10730 ac_cv_path_PKG_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
10731 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
10737 test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG
="no"
10741 PKG_CONFIG
=$ac_cv_path_PKG_CONFIG
10743 if test -n "$PKG_CONFIG"; then
10744 echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
10745 echo "${ECHO_T}$PKG_CONFIG" >&6
10747 echo "$as_me:$LINENO: result: no" >&5
10748 echo "${ECHO_T}no" >&6
10753 if test "$PKG_CONFIG" = "no" ; then
10754 echo "*** The pkg-config script could not be found. Make sure it is"
10755 echo "*** in your path, or set the PKG_CONFIG environment variable"
10756 echo "*** to the full path to pkg-config."
10757 echo "*** Or see http://www.freedesktop.org/software/pkgconfig to get pkg-config."
10759 PKG_CONFIG_MIN_VERSION
=0.9.0
10760 if $PKG_CONFIG --atleast-pkgconfig-version $PKG_CONFIG_MIN_VERSION; then
10761 echo "$as_me:$LINENO: checking for cairo >= 0.5.0" >&5
10762 echo $ECHO_N "checking for cairo >= 0.5.0... $ECHO_C" >&6
10764 if $PKG_CONFIG --exists "cairo >= 0.5.0" ; then
10765 echo "$as_me:$LINENO: result: yes" >&5
10766 echo "${ECHO_T}yes" >&6
10769 echo "$as_me:$LINENO: checking CAIRO_CFLAGS" >&5
10770 echo $ECHO_N "checking CAIRO_CFLAGS... $ECHO_C" >&6
10771 CAIRO_CFLAGS
=`$PKG_CONFIG --cflags "cairo >= 0.5.0"`
10772 echo "$as_me:$LINENO: result: $CAIRO_CFLAGS" >&5
10773 echo "${ECHO_T}$CAIRO_CFLAGS" >&6
10775 echo "$as_me:$LINENO: checking CAIRO_LIBS" >&5
10776 echo $ECHO_N "checking CAIRO_LIBS... $ECHO_C" >&6
10777 CAIRO_LIBS
=`$PKG_CONFIG --libs "cairo >= 0.5.0"`
10778 echo "$as_me:$LINENO: result: $CAIRO_LIBS" >&5
10779 echo "${ECHO_T}$CAIRO_LIBS" >&6
10783 ## If we have a custom action on failure, don't print errors, but
10784 ## do set a variable so people can do so.
10785 CAIRO_PKG_ERRORS
=`$PKG_CONFIG --errors-to-stdout --print-errors "cairo >= 0.5.0"`
10786 echo $CAIRO_PKG_ERRORS
10792 echo "*** Your version of pkg-config is too old. You need version $PKG_CONFIG_MIN_VERSION or newer."
10793 echo "*** See http://www.freedesktop.org/software/pkgconfig"
10797 if test $succeeded = yes; then
10800 { { 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
10801 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;}
10802 { (exit 1); exit 1; }; }
10808 if test -z "$PKG_CONFIG"; then
10809 # Extract the first word of "pkg-config", so it can be a program name with args.
10810 set dummy pkg-config
; ac_word
=$2
10811 echo "$as_me:$LINENO: checking for $ac_word" >&5
10812 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
10813 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
10814 echo $ECHO_N "(cached) $ECHO_C" >&6
10816 case $PKG_CONFIG in
10818 ac_cv_path_PKG_CONFIG
="$PKG_CONFIG" # Let the user override the test with a path.
10821 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
10822 for as_dir
in $PATH
10825 test -z "$as_dir" && as_dir
=.
10826 for ac_exec_ext
in '' $ac_executable_extensions; do
10827 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
10828 ac_cv_path_PKG_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
10829 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
10835 test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG
="no"
10839 PKG_CONFIG
=$ac_cv_path_PKG_CONFIG
10841 if test -n "$PKG_CONFIG"; then
10842 echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
10843 echo "${ECHO_T}$PKG_CONFIG" >&6
10845 echo "$as_me:$LINENO: result: no" >&5
10846 echo "${ECHO_T}no" >&6
10851 if test "$PKG_CONFIG" = "no" ; then
10852 echo "*** The pkg-config script could not be found. Make sure it is"
10853 echo "*** in your path, or set the PKG_CONFIG environment variable"
10854 echo "*** to the full path to pkg-config."
10855 echo "*** Or see http://www.freedesktop.org/software/pkgconfig to get pkg-config."
10857 PKG_CONFIG_MIN_VERSION
=0.9.0
10858 if $PKG_CONFIG --atleast-pkgconfig-version $PKG_CONFIG_MIN_VERSION; then
10859 echo "$as_me:$LINENO: checking for pangoft2" >&5
10860 echo $ECHO_N "checking for pangoft2... $ECHO_C" >&6
10862 if $PKG_CONFIG --exists "pangoft2" ; then
10863 echo "$as_me:$LINENO: result: yes" >&5
10864 echo "${ECHO_T}yes" >&6
10867 echo "$as_me:$LINENO: checking PANGOFT2_CFLAGS" >&5
10868 echo $ECHO_N "checking PANGOFT2_CFLAGS... $ECHO_C" >&6
10869 PANGOFT2_CFLAGS
=`$PKG_CONFIG --cflags "pangoft2"`
10870 echo "$as_me:$LINENO: result: $PANGOFT2_CFLAGS" >&5
10871 echo "${ECHO_T}$PANGOFT2_CFLAGS" >&6
10873 echo "$as_me:$LINENO: checking PANGOFT2_LIBS" >&5
10874 echo $ECHO_N "checking PANGOFT2_LIBS... $ECHO_C" >&6
10875 PANGOFT2_LIBS
=`$PKG_CONFIG --libs "pangoft2"`
10876 echo "$as_me:$LINENO: result: $PANGOFT2_LIBS" >&5
10877 echo "${ECHO_T}$PANGOFT2_LIBS" >&6
10881 ## If we have a custom action on failure, don't print errors, but
10882 ## do set a variable so people can do so.
10883 PANGOFT2_PKG_ERRORS
=`$PKG_CONFIG --errors-to-stdout --print-errors "pangoft2"`
10884 echo $PANGOFT2_PKG_ERRORS
10890 echo "*** Your version of pkg-config is too old. You need version $PKG_CONFIG_MIN_VERSION or newer."
10891 echo "*** See http://www.freedesktop.org/software/pkgconfig"
10895 if test $succeeded = yes; then
10898 { { 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
10899 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;}
10900 { (exit 1); exit 1; }; }
10912 # Check whether --with-javah or --without-javah was given.
10913 if test "${with_javah+set}" = set; then
10914 withval
="$with_javah"
10916 if test "x${withval}" != x && test "x${withval}" != xyes && test "x${withval}" != xno
; then
10918 if test "x${withval}" != x
; then
10919 if test -f "${withval}"; then
10920 USER_JAVAH
="${withval}"
10922 # Extract the first word of ""${withval}"", so it can be a program name with args.
10923 set dummy
"${withval}"; ac_word
=$2
10924 echo "$as_me:$LINENO: checking for $ac_word" >&5
10925 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
10926 if test "${ac_cv_path_USER_JAVAH+set}" = set; then
10927 echo $ECHO_N "(cached) $ECHO_C" >&6
10929 case $USER_JAVAH in
10931 ac_cv_path_USER_JAVAH
="$USER_JAVAH" # Let the user override the test with a path.
10934 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
10935 for as_dir
in $PATH
10938 test -z "$as_dir" && as_dir
=.
10939 for ac_exec_ext
in '' $ac_executable_extensions; do
10940 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
10941 ac_cv_path_USER_JAVAH
="$as_dir/$ac_word$ac_exec_ext"
10942 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
10951 USER_JAVAH
=$ac_cv_path_USER_JAVAH
10953 if test -n "$USER_JAVAH"; then
10954 echo "$as_me:$LINENO: result: $USER_JAVAH" >&5
10955 echo "${ECHO_T}$USER_JAVAH" >&6
10957 echo "$as_me:$LINENO: result: no" >&5
10958 echo "${ECHO_T}no" >&6
10963 for javah_name
in gcjh javah
; do
10964 # Extract the first word of ""$javah_name"", so it can be a program name with args.
10965 set dummy
"$javah_name"; ac_word
=$2
10966 echo "$as_me:$LINENO: checking for $ac_word" >&5
10967 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
10968 if test "${ac_cv_path_USER_JAVAH+set}" = set; then
10969 echo $ECHO_N "(cached) $ECHO_C" >&6
10971 case $USER_JAVAH in
10973 ac_cv_path_USER_JAVAH
="$USER_JAVAH" # Let the user override the test with a path.
10976 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
10977 for as_dir
in $PATH
10980 test -z "$as_dir" && as_dir
=.
10981 for ac_exec_ext
in '' $ac_executable_extensions; do
10982 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
10983 ac_cv_path_USER_JAVAH
="$as_dir/$ac_word$ac_exec_ext"
10984 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
10993 USER_JAVAH
=$ac_cv_path_USER_JAVAH
10995 if test -n "$USER_JAVAH"; then
10996 echo "$as_me:$LINENO: result: $USER_JAVAH" >&5
10997 echo "${ECHO_T}$USER_JAVAH" >&6
10999 echo "$as_me:$LINENO: result: no" >&5
11000 echo "${ECHO_T}no" >&6
11003 if test "x${USER_JAVAH}" != x
; then
11009 # if test "x${USER_JAVAH}" = x; then
11010 # echo "configure: cannot find javah" 1>&2
11016 if test "x" != x
; then
11017 if test -f ""; then
11020 # Extract the first word of """", so it can be a program name with args.
11021 set dummy
""; ac_word
=$2
11022 echo "$as_me:$LINENO: checking for $ac_word" >&5
11023 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
11024 if test "${ac_cv_path_USER_JAVAH+set}" = set; then
11025 echo $ECHO_N "(cached) $ECHO_C" >&6
11027 case $USER_JAVAH in
11029 ac_cv_path_USER_JAVAH
="$USER_JAVAH" # Let the user override the test with a path.
11032 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
11033 for as_dir
in $PATH
11036 test -z "$as_dir" && as_dir
=.
11037 for ac_exec_ext
in '' $ac_executable_extensions; do
11038 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
11039 ac_cv_path_USER_JAVAH
="$as_dir/$ac_word$ac_exec_ext"
11040 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
11049 USER_JAVAH
=$ac_cv_path_USER_JAVAH
11051 if test -n "$USER_JAVAH"; then
11052 echo "$as_me:$LINENO: result: $USER_JAVAH" >&5
11053 echo "${ECHO_T}$USER_JAVAH" >&6
11055 echo "$as_me:$LINENO: result: no" >&5
11056 echo "${ECHO_T}no" >&6
11061 for javah_name
in gcjh javah
; do
11062 # Extract the first word of ""$javah_name"", so it can be a program name with args.
11063 set dummy
"$javah_name"; ac_word
=$2
11064 echo "$as_me:$LINENO: checking for $ac_word" >&5
11065 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
11066 if test "${ac_cv_path_USER_JAVAH+set}" = set; then
11067 echo $ECHO_N "(cached) $ECHO_C" >&6
11069 case $USER_JAVAH in
11071 ac_cv_path_USER_JAVAH
="$USER_JAVAH" # Let the user override the test with a path.
11074 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
11075 for as_dir
in $PATH
11078 test -z "$as_dir" && as_dir
=.
11079 for ac_exec_ext
in '' $ac_executable_extensions; do
11080 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
11081 ac_cv_path_USER_JAVAH
="$as_dir/$ac_word$ac_exec_ext"
11082 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
11091 USER_JAVAH
=$ac_cv_path_USER_JAVAH
11093 if test -n "$USER_JAVAH"; then
11094 echo "$as_me:$LINENO: result: $USER_JAVAH" >&5
11095 echo "${ECHO_T}$USER_JAVAH" >&6
11097 echo "$as_me:$LINENO: result: no" >&5
11098 echo "${ECHO_T}no" >&6
11101 if test "x${USER_JAVAH}" != x
; then
11107 # if test "x${USER_JAVAH}" = x; then
11108 # echo "configure: cannot find javah" 1>&2
11117 if test "x" != x
; then
11118 if test -f ""; then
11121 # Extract the first word of """", so it can be a program name with args.
11122 set dummy
""; ac_word
=$2
11123 echo "$as_me:$LINENO: checking for $ac_word" >&5
11124 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
11125 if test "${ac_cv_path_USER_JAVAH+set}" = set; then
11126 echo $ECHO_N "(cached) $ECHO_C" >&6
11128 case $USER_JAVAH in
11130 ac_cv_path_USER_JAVAH
="$USER_JAVAH" # Let the user override the test with a path.
11133 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
11134 for as_dir
in $PATH
11137 test -z "$as_dir" && as_dir
=.
11138 for ac_exec_ext
in '' $ac_executable_extensions; do
11139 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
11140 ac_cv_path_USER_JAVAH
="$as_dir/$ac_word$ac_exec_ext"
11141 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
11150 USER_JAVAH
=$ac_cv_path_USER_JAVAH
11152 if test -n "$USER_JAVAH"; then
11153 echo "$as_me:$LINENO: result: $USER_JAVAH" >&5
11154 echo "${ECHO_T}$USER_JAVAH" >&6
11156 echo "$as_me:$LINENO: result: no" >&5
11157 echo "${ECHO_T}no" >&6
11162 for javah_name
in gcjh javah
; do
11163 # Extract the first word of ""$javah_name"", so it can be a program name with args.
11164 set dummy
"$javah_name"; ac_word
=$2
11165 echo "$as_me:$LINENO: checking for $ac_word" >&5
11166 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
11167 if test "${ac_cv_path_USER_JAVAH+set}" = set; then
11168 echo $ECHO_N "(cached) $ECHO_C" >&6
11170 case $USER_JAVAH in
11172 ac_cv_path_USER_JAVAH
="$USER_JAVAH" # Let the user override the test with a path.
11175 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
11176 for as_dir
in $PATH
11179 test -z "$as_dir" && as_dir
=.
11180 for ac_exec_ext
in '' $ac_executable_extensions; do
11181 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
11182 ac_cv_path_USER_JAVAH
="$as_dir/$ac_word$ac_exec_ext"
11183 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
11192 USER_JAVAH
=$ac_cv_path_USER_JAVAH
11194 if test -n "$USER_JAVAH"; then
11195 echo "$as_me:$LINENO: result: $USER_JAVAH" >&5
11196 echo "${ECHO_T}$USER_JAVAH" >&6
11198 echo "$as_me:$LINENO: result: no" >&5
11199 echo "${ECHO_T}no" >&6
11202 if test "x${USER_JAVAH}" != x
; then
11208 # if test "x${USER_JAVAH}" = x; then
11209 # echo "configure: cannot find javah" 1>&2
11217 if test "x${USER_JAVAH}" != x
; then
11218 USER_SPECIFIED_JAVAH_TRUE
=
11219 USER_SPECIFIED_JAVAH_FALSE
='#'
11221 USER_SPECIFIED_JAVAH_TRUE
='#'
11222 USER_SPECIFIED_JAVAH_FALSE
=
11228 CLASSPATH_INCLUDES
="-I\$(top_srcdir)/include -I\$(top_srcdir)/native/jni/classpath -I\$(top_srcdir)/native/target/Linux -I\$(top_srcdir)/native/target/generic"
11231 if test "x${COMPILE_JNI}" = xyes
; then
11232 echo "$as_me:$LINENO: checking jni_md.h support" >&5
11233 echo $ECHO_N "checking jni_md.h support... $ECHO_C" >&6
11234 if test -f ${srcdir}/include/jni_md-${target_cpu}-${target_os}.h
; then
11235 echo "$as_me:$LINENO: result: yes" >&5
11236 echo "${ECHO_T}yes" >&6
11239 target_os
=linux-gnu
11240 { echo "$as_me:$LINENO: WARNING: no" >&5
11241 echo "$as_me: WARNING: no" >&2;}
11243 ac_sources
="include/jni_md-${target_cpu}-${target_os}.h"
11244 ac_dests
="include/jni_md.h"
11245 while test -n "$ac_sources"; do
11246 set $ac_dests; ac_dest
=$1; shift; ac_dests
=$
*
11247 set $ac_sources; ac_source
=$1; shift; ac_sources
=$
*
11248 ac_config_links_1
="$ac_config_links_1 $ac_dest:$ac_source"
11250 ac_config_links
="$ac_config_links $ac_config_links_1"
11255 user_specified_javac
=
11259 # Check whether --with-gcj or --without-gcj was given.
11260 if test "${with_gcj+set}" = set; then
11261 withval
="$with_gcj"
11263 if test "x${withval}" != x && test "x${withval}" != xyes && test "x${withval}" != xno
; then
11265 if test "x${withval}" != x
; then
11266 if test -f "${withval}"; then
11269 # Extract the first word of ""${withval}"", so it can be a program name with args.
11270 set dummy
"${withval}"; ac_word
=$2
11271 echo "$as_me:$LINENO: checking for $ac_word" >&5
11272 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
11273 if test "${ac_cv_path_GCJ+set}" = set; then
11274 echo $ECHO_N "(cached) $ECHO_C" >&6
11278 ac_cv_path_GCJ
="$GCJ" # Let the user override the test with a path.
11281 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
11282 for as_dir
in $PATH
11285 test -z "$as_dir" && as_dir
=.
11286 for ac_exec_ext
in '' $ac_executable_extensions; do
11287 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
11288 ac_cv_path_GCJ
="$as_dir/$ac_word$ac_exec_ext"
11289 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
11298 GCJ
=$ac_cv_path_GCJ
11300 if test -n "$GCJ"; then
11301 echo "$as_me:$LINENO: result: $GCJ" >&5
11302 echo "${ECHO_T}$GCJ" >&6
11304 echo "$as_me:$LINENO: result: no" >&5
11305 echo "${ECHO_T}no" >&6
11310 # Extract the first word of ""gcj"", so it can be a program name with args.
11311 set dummy
"gcj"; ac_word
=$2
11312 echo "$as_me:$LINENO: checking for $ac_word" >&5
11313 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
11314 if test "${ac_cv_path_GCJ+set}" = set; then
11315 echo $ECHO_N "(cached) $ECHO_C" >&6
11319 ac_cv_path_GCJ
="$GCJ" # Let the user override the test with a path.
11322 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
11323 for as_dir
in $PATH
11326 test -z "$as_dir" && as_dir
=.
11327 for ac_exec_ext
in '' $ac_executable_extensions; do
11328 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
11329 ac_cv_path_GCJ
="$as_dir/$ac_word$ac_exec_ext"
11330 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
11339 GCJ
=$ac_cv_path_GCJ
11341 if test -n "$GCJ"; then
11342 echo "$as_me:$LINENO: result: $GCJ" >&5
11343 echo "${ECHO_T}$GCJ" >&6
11345 echo "$as_me:$LINENO: result: no" >&5
11346 echo "${ECHO_T}no" >&6
11351 if test "x$GCJ" != x
; then
11352 ## GCC version 2 puts out version messages that looked like:
11355 ## GCC version 3 puts out version messages like:
11357 ## Copyright (C) 2003 Free Software Foundation, Inc.
11358 ## This is free software; see the source for copying conditions. There is NO
11359 ## warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
11360 echo "$as_me:$LINENO: checking gcj version" >&5
11361 echo $ECHO_N "checking gcj version... $ECHO_C" >&6
11362 ## Take the output from gcj --version and extract just the version number
11363 ## into GCJ_VERSION.
11364 ## (we need to do this to be compatible with both GCC 2 and GCC 3 version
11367 ## First, we get rid of everything before the first number on that line.
11368 ## Assume that the first number on that line is the start of the
11371 ## Second, while we're at it, go ahead and get rid of the first character
11372 ## that is not part of a version number (i.e., is neither a digit nor
11375 ## Third, quit, so that we won't process the second and subsequent lines.
11376 GCJ_VERSION
=`$GCJ --version | sed -e 's/^[^0-9]*//' -e 's/[^.0-9][^.0-9]*//' -e 'q'`
11377 GCJ_VERSION_MAJOR
=`echo "$GCJ_VERSION" | cut -d '.' -f 1`
11378 GCJ_VERSION_MINOR
=`echo "$GCJ_VERSION" | cut -d '.' -f 2`
11380 if expr "$GCJ_VERSION_MAJOR" \
< 3 > /dev
/null
; then
11383 if expr "$GCJ_VERSION_MAJOR" = 3 > /dev
/null
; then
11384 if expr "$GCJ_VERSION_MINOR" \
< 3; then
11388 if test "x$GCJ" != x
; then
11389 echo "$as_me:$LINENO: result: $GCJ_VERSION" >&5
11390 echo "${ECHO_T}$GCJ_VERSION" >&6
11392 { echo "$as_me:$LINENO: WARNING: $GCJ_VERSION: gcj 3.3 or higher required" >&5
11393 echo "$as_me: WARNING: $GCJ_VERSION: gcj 3.3 or higher required" >&2;}
11398 if test "x${withval}" != xno
; then
11400 if test "x" != x
; then
11401 if test -f ""; then
11404 # Extract the first word of """", so it can be a program name with args.
11405 set dummy
""; ac_word
=$2
11406 echo "$as_me:$LINENO: checking for $ac_word" >&5
11407 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
11408 if test "${ac_cv_path_GCJ+set}" = set; then
11409 echo $ECHO_N "(cached) $ECHO_C" >&6
11413 ac_cv_path_GCJ
="$GCJ" # Let the user override the test with a path.
11416 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
11417 for as_dir
in $PATH
11420 test -z "$as_dir" && as_dir
=.
11421 for ac_exec_ext
in '' $ac_executable_extensions; do
11422 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
11423 ac_cv_path_GCJ
="$as_dir/$ac_word$ac_exec_ext"
11424 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
11433 GCJ
=$ac_cv_path_GCJ
11435 if test -n "$GCJ"; then
11436 echo "$as_me:$LINENO: result: $GCJ" >&5
11437 echo "${ECHO_T}$GCJ" >&6
11439 echo "$as_me:$LINENO: result: no" >&5
11440 echo "${ECHO_T}no" >&6
11445 # Extract the first word of ""gcj"", so it can be a program name with args.
11446 set dummy
"gcj"; ac_word
=$2
11447 echo "$as_me:$LINENO: checking for $ac_word" >&5
11448 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
11449 if test "${ac_cv_path_GCJ+set}" = set; then
11450 echo $ECHO_N "(cached) $ECHO_C" >&6
11454 ac_cv_path_GCJ
="$GCJ" # Let the user override the test with a path.
11457 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
11458 for as_dir
in $PATH
11461 test -z "$as_dir" && as_dir
=.
11462 for ac_exec_ext
in '' $ac_executable_extensions; do
11463 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
11464 ac_cv_path_GCJ
="$as_dir/$ac_word$ac_exec_ext"
11465 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
11474 GCJ
=$ac_cv_path_GCJ
11476 if test -n "$GCJ"; then
11477 echo "$as_me:$LINENO: result: $GCJ" >&5
11478 echo "${ECHO_T}$GCJ" >&6
11480 echo "$as_me:$LINENO: result: no" >&5
11481 echo "${ECHO_T}no" >&6
11486 if test "x$GCJ" != x
; then
11487 ## GCC version 2 puts out version messages that looked like:
11490 ## GCC version 3 puts out version messages like:
11492 ## Copyright (C) 2003 Free Software Foundation, Inc.
11493 ## This is free software; see the source for copying conditions. There is NO
11494 ## warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
11495 echo "$as_me:$LINENO: checking gcj version" >&5
11496 echo $ECHO_N "checking gcj version... $ECHO_C" >&6
11497 ## Take the output from gcj --version and extract just the version number
11498 ## into GCJ_VERSION.
11499 ## (we need to do this to be compatible with both GCC 2 and GCC 3 version
11502 ## First, we get rid of everything before the first number on that line.
11503 ## Assume that the first number on that line is the start of the
11506 ## Second, while we're at it, go ahead and get rid of the first character
11507 ## that is not part of a version number (i.e., is neither a digit nor
11510 ## Third, quit, so that we won't process the second and subsequent lines.
11511 GCJ_VERSION
=`$GCJ --version | sed -e 's/^[^0-9]*//' -e 's/[^.0-9][^.0-9]*//' -e 'q'`
11512 GCJ_VERSION_MAJOR
=`echo "$GCJ_VERSION" | cut -d '.' -f 1`
11513 GCJ_VERSION_MINOR
=`echo "$GCJ_VERSION" | cut -d '.' -f 2`
11515 if expr "$GCJ_VERSION_MAJOR" \
< 3 > /dev
/null
; then
11518 if expr "$GCJ_VERSION_MAJOR" = 3 > /dev
/null
; then
11519 if expr "$GCJ_VERSION_MINOR" \
< 3; then
11523 if test "x$GCJ" != x
; then
11524 echo "$as_me:$LINENO: result: $GCJ_VERSION" >&5
11525 echo "${ECHO_T}$GCJ_VERSION" >&6
11527 { echo "$as_me:$LINENO: WARNING: $GCJ_VERSION: gcj 3.3 or higher required" >&5
11528 echo "$as_me: WARNING: $GCJ_VERSION: gcj 3.3 or higher required" >&2;}
11534 user_specified_javac
=gcj
11539 if test "x" != x
; then
11540 if test -f ""; then
11543 # Extract the first word of """", so it can be a program name with args.
11544 set dummy
""; ac_word
=$2
11545 echo "$as_me:$LINENO: checking for $ac_word" >&5
11546 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
11547 if test "${ac_cv_path_GCJ+set}" = set; then
11548 echo $ECHO_N "(cached) $ECHO_C" >&6
11552 ac_cv_path_GCJ
="$GCJ" # Let the user override the test with a path.
11555 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
11556 for as_dir
in $PATH
11559 test -z "$as_dir" && as_dir
=.
11560 for ac_exec_ext
in '' $ac_executable_extensions; do
11561 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
11562 ac_cv_path_GCJ
="$as_dir/$ac_word$ac_exec_ext"
11563 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
11572 GCJ
=$ac_cv_path_GCJ
11574 if test -n "$GCJ"; then
11575 echo "$as_me:$LINENO: result: $GCJ" >&5
11576 echo "${ECHO_T}$GCJ" >&6
11578 echo "$as_me:$LINENO: result: no" >&5
11579 echo "${ECHO_T}no" >&6
11584 # Extract the first word of ""gcj"", so it can be a program name with args.
11585 set dummy
"gcj"; ac_word
=$2
11586 echo "$as_me:$LINENO: checking for $ac_word" >&5
11587 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
11588 if test "${ac_cv_path_GCJ+set}" = set; then
11589 echo $ECHO_N "(cached) $ECHO_C" >&6
11593 ac_cv_path_GCJ
="$GCJ" # Let the user override the test with a path.
11596 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
11597 for as_dir
in $PATH
11600 test -z "$as_dir" && as_dir
=.
11601 for ac_exec_ext
in '' $ac_executable_extensions; do
11602 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
11603 ac_cv_path_GCJ
="$as_dir/$ac_word$ac_exec_ext"
11604 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
11613 GCJ
=$ac_cv_path_GCJ
11615 if test -n "$GCJ"; then
11616 echo "$as_me:$LINENO: result: $GCJ" >&5
11617 echo "${ECHO_T}$GCJ" >&6
11619 echo "$as_me:$LINENO: result: no" >&5
11620 echo "${ECHO_T}no" >&6
11625 if test "x$GCJ" != x
; then
11626 ## GCC version 2 puts out version messages that looked like:
11629 ## GCC version 3 puts out version messages like:
11631 ## Copyright (C) 2003 Free Software Foundation, Inc.
11632 ## This is free software; see the source for copying conditions. There is NO
11633 ## warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
11634 echo "$as_me:$LINENO: checking gcj version" >&5
11635 echo $ECHO_N "checking gcj version... $ECHO_C" >&6
11636 ## Take the output from gcj --version and extract just the version number
11637 ## into GCJ_VERSION.
11638 ## (we need to do this to be compatible with both GCC 2 and GCC 3 version
11641 ## First, we get rid of everything before the first number on that line.
11642 ## Assume that the first number on that line is the start of the
11645 ## Second, while we're at it, go ahead and get rid of the first character
11646 ## that is not part of a version number (i.e., is neither a digit nor
11649 ## Third, quit, so that we won't process the second and subsequent lines.
11650 GCJ_VERSION
=`$GCJ --version | sed -e 's/^[^0-9]*//' -e 's/[^.0-9][^.0-9]*//' -e 'q'`
11651 GCJ_VERSION_MAJOR
=`echo "$GCJ_VERSION" | cut -d '.' -f 1`
11652 GCJ_VERSION_MINOR
=`echo "$GCJ_VERSION" | cut -d '.' -f 2`
11654 if expr "$GCJ_VERSION_MAJOR" \
< 3 > /dev
/null
; then
11657 if expr "$GCJ_VERSION_MAJOR" = 3 > /dev
/null
; then
11658 if expr "$GCJ_VERSION_MINOR" \
< 3; then
11662 if test "x$GCJ" != x
; then
11663 echo "$as_me:$LINENO: result: $GCJ_VERSION" >&5
11664 echo "${ECHO_T}$GCJ_VERSION" >&6
11666 { echo "$as_me:$LINENO: WARNING: $GCJ_VERSION: gcj 3.3 or higher required" >&5
11667 echo "$as_me: WARNING: $GCJ_VERSION: gcj 3.3 or higher required" >&2;}
11677 # Check whether --with-jikes or --without-jikes was given.
11678 if test "${with_jikes+set}" = set; then
11679 withval
="$with_jikes"
11681 if test "x${withval}" != x && test "x${withval}" != xyes && test "x${withval}" != xno
; then
11683 if test "x${withval}" != x
; then
11684 if test -f "${withval}"; then
11687 # Extract the first word of ""${withval}"", so it can be a program name with args.
11688 set dummy
"${withval}"; ac_word
=$2
11689 echo "$as_me:$LINENO: checking for $ac_word" >&5
11690 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
11691 if test "${ac_cv_path_JIKES+set}" = set; then
11692 echo $ECHO_N "(cached) $ECHO_C" >&6
11696 ac_cv_path_JIKES
="$JIKES" # Let the user override the test with a path.
11699 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
11700 for as_dir
in $PATH
11703 test -z "$as_dir" && as_dir
=.
11704 for ac_exec_ext
in '' $ac_executable_extensions; do
11705 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
11706 ac_cv_path_JIKES
="$as_dir/$ac_word$ac_exec_ext"
11707 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
11716 JIKES
=$ac_cv_path_JIKES
11718 if test -n "$JIKES"; then
11719 echo "$as_me:$LINENO: result: $JIKES" >&5
11720 echo "${ECHO_T}$JIKES" >&6
11722 echo "$as_me:$LINENO: result: no" >&5
11723 echo "${ECHO_T}no" >&6
11728 # Extract the first word of ""jikes"", so it can be a program name with args.
11729 set dummy
"jikes"; ac_word
=$2
11730 echo "$as_me:$LINENO: checking for $ac_word" >&5
11731 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
11732 if test "${ac_cv_path_JIKES+set}" = set; then
11733 echo $ECHO_N "(cached) $ECHO_C" >&6
11737 ac_cv_path_JIKES
="$JIKES" # Let the user override the test with a path.
11740 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
11741 for as_dir
in $PATH
11744 test -z "$as_dir" && as_dir
=.
11745 for ac_exec_ext
in '' $ac_executable_extensions; do
11746 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
11747 ac_cv_path_JIKES
="$as_dir/$ac_word$ac_exec_ext"
11748 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
11757 JIKES
=$ac_cv_path_JIKES
11759 if test -n "$JIKES"; then
11760 echo "$as_me:$LINENO: result: $JIKES" >&5
11761 echo "${ECHO_T}$JIKES" >&6
11763 echo "$as_me:$LINENO: result: no" >&5
11764 echo "${ECHO_T}no" >&6
11768 if test "x$JIKES" != "x"; then
11769 echo "$as_me:$LINENO: checking jikes version" >&5
11770 echo $ECHO_N "checking jikes version... $ECHO_C" >&6
11771 JIKES_VERSION
=`$JIKES --version | awk '/^Jikes Compiler/' | cut -d ' ' -f 5`
11772 JIKES_VERSION_MAJOR
=`echo "$JIKES_VERSION" | cut -d '.' -f 1`
11773 JIKES_VERSION_MINOR
=`echo "$JIKES_VERSION" | cut -d '.' -f 2`
11774 if expr "$JIKES_VERSION_MAJOR" = 1 > /dev
/null
; then
11775 if expr "$JIKES_VERSION_MINOR" \
< 19 > /dev
/null
; then
11779 if test "x$JIKES" != "x"; then
11780 echo "$as_me:$LINENO: result: $JIKES_VERSION" >&5
11781 echo "${ECHO_T}$JIKES_VERSION" >&6
11783 { echo "$as_me:$LINENO: WARNING: $JIKES_VERSION: jikes 1.19 or higher required" >&5
11784 echo "$as_me: WARNING: $JIKES_VERSION: jikes 1.19 or higher required" >&2;}
11788 if test -n "`$JIKES --help 2>&1 | grep encoding`"; then
11789 JIKESENCODING
='-encoding UTF-8'
11795 if test "x${withval}" != xno
; then
11797 if test "x" != x
; then
11798 if test -f ""; then
11801 # Extract the first word of """", so it can be a program name with args.
11802 set dummy
""; ac_word
=$2
11803 echo "$as_me:$LINENO: checking for $ac_word" >&5
11804 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
11805 if test "${ac_cv_path_JIKES+set}" = set; then
11806 echo $ECHO_N "(cached) $ECHO_C" >&6
11810 ac_cv_path_JIKES
="$JIKES" # Let the user override the test with a path.
11813 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
11814 for as_dir
in $PATH
11817 test -z "$as_dir" && as_dir
=.
11818 for ac_exec_ext
in '' $ac_executable_extensions; do
11819 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
11820 ac_cv_path_JIKES
="$as_dir/$ac_word$ac_exec_ext"
11821 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
11830 JIKES
=$ac_cv_path_JIKES
11832 if test -n "$JIKES"; then
11833 echo "$as_me:$LINENO: result: $JIKES" >&5
11834 echo "${ECHO_T}$JIKES" >&6
11836 echo "$as_me:$LINENO: result: no" >&5
11837 echo "${ECHO_T}no" >&6
11842 # Extract the first word of ""jikes"", so it can be a program name with args.
11843 set dummy
"jikes"; ac_word
=$2
11844 echo "$as_me:$LINENO: checking for $ac_word" >&5
11845 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
11846 if test "${ac_cv_path_JIKES+set}" = set; then
11847 echo $ECHO_N "(cached) $ECHO_C" >&6
11851 ac_cv_path_JIKES
="$JIKES" # Let the user override the test with a path.
11854 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
11855 for as_dir
in $PATH
11858 test -z "$as_dir" && as_dir
=.
11859 for ac_exec_ext
in '' $ac_executable_extensions; do
11860 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
11861 ac_cv_path_JIKES
="$as_dir/$ac_word$ac_exec_ext"
11862 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
11871 JIKES
=$ac_cv_path_JIKES
11873 if test -n "$JIKES"; then
11874 echo "$as_me:$LINENO: result: $JIKES" >&5
11875 echo "${ECHO_T}$JIKES" >&6
11877 echo "$as_me:$LINENO: result: no" >&5
11878 echo "${ECHO_T}no" >&6
11882 if test "x$JIKES" != "x"; then
11883 echo "$as_me:$LINENO: checking jikes version" >&5
11884 echo $ECHO_N "checking jikes version... $ECHO_C" >&6
11885 JIKES_VERSION
=`$JIKES --version | awk '/^Jikes Compiler/' | cut -d ' ' -f 5`
11886 JIKES_VERSION_MAJOR
=`echo "$JIKES_VERSION" | cut -d '.' -f 1`
11887 JIKES_VERSION_MINOR
=`echo "$JIKES_VERSION" | cut -d '.' -f 2`
11888 if expr "$JIKES_VERSION_MAJOR" = 1 > /dev
/null
; then
11889 if expr "$JIKES_VERSION_MINOR" \
< 19 > /dev
/null
; then
11893 if test "x$JIKES" != "x"; then
11894 echo "$as_me:$LINENO: result: $JIKES_VERSION" >&5
11895 echo "${ECHO_T}$JIKES_VERSION" >&6
11897 { echo "$as_me:$LINENO: WARNING: $JIKES_VERSION: jikes 1.19 or higher required" >&5
11898 echo "$as_me: WARNING: $JIKES_VERSION: jikes 1.19 or higher required" >&2;}
11902 if test -n "`$JIKES --help 2>&1 | grep encoding`"; then
11903 JIKESENCODING
='-encoding UTF-8'
11910 user_specified_javac
=jikes
11915 if test "x" != x
; then
11916 if test -f ""; then
11919 # Extract the first word of """", so it can be a program name with args.
11920 set dummy
""; ac_word
=$2
11921 echo "$as_me:$LINENO: checking for $ac_word" >&5
11922 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
11923 if test "${ac_cv_path_JIKES+set}" = set; then
11924 echo $ECHO_N "(cached) $ECHO_C" >&6
11928 ac_cv_path_JIKES
="$JIKES" # Let the user override the test with a path.
11931 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
11932 for as_dir
in $PATH
11935 test -z "$as_dir" && as_dir
=.
11936 for ac_exec_ext
in '' $ac_executable_extensions; do
11937 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
11938 ac_cv_path_JIKES
="$as_dir/$ac_word$ac_exec_ext"
11939 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
11948 JIKES
=$ac_cv_path_JIKES
11950 if test -n "$JIKES"; then
11951 echo "$as_me:$LINENO: result: $JIKES" >&5
11952 echo "${ECHO_T}$JIKES" >&6
11954 echo "$as_me:$LINENO: result: no" >&5
11955 echo "${ECHO_T}no" >&6
11960 # Extract the first word of ""jikes"", so it can be a program name with args.
11961 set dummy
"jikes"; ac_word
=$2
11962 echo "$as_me:$LINENO: checking for $ac_word" >&5
11963 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
11964 if test "${ac_cv_path_JIKES+set}" = set; then
11965 echo $ECHO_N "(cached) $ECHO_C" >&6
11969 ac_cv_path_JIKES
="$JIKES" # Let the user override the test with a path.
11972 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
11973 for as_dir
in $PATH
11976 test -z "$as_dir" && as_dir
=.
11977 for ac_exec_ext
in '' $ac_executable_extensions; do
11978 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
11979 ac_cv_path_JIKES
="$as_dir/$ac_word$ac_exec_ext"
11980 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
11989 JIKES
=$ac_cv_path_JIKES
11991 if test -n "$JIKES"; then
11992 echo "$as_me:$LINENO: result: $JIKES" >&5
11993 echo "${ECHO_T}$JIKES" >&6
11995 echo "$as_me:$LINENO: result: no" >&5
11996 echo "${ECHO_T}no" >&6
12000 if test "x$JIKES" != "x"; then
12001 echo "$as_me:$LINENO: checking jikes version" >&5
12002 echo $ECHO_N "checking jikes version... $ECHO_C" >&6
12003 JIKES_VERSION
=`$JIKES --version | awk '/^Jikes Compiler/' | cut -d ' ' -f 5`
12004 JIKES_VERSION_MAJOR
=`echo "$JIKES_VERSION" | cut -d '.' -f 1`
12005 JIKES_VERSION_MINOR
=`echo "$JIKES_VERSION" | cut -d '.' -f 2`
12006 if expr "$JIKES_VERSION_MAJOR" = 1 > /dev
/null
; then
12007 if expr "$JIKES_VERSION_MINOR" \
< 19 > /dev
/null
; then
12011 if test "x$JIKES" != "x"; then
12012 echo "$as_me:$LINENO: result: $JIKES_VERSION" >&5
12013 echo "${ECHO_T}$JIKES_VERSION" >&6
12015 { echo "$as_me:$LINENO: WARNING: $JIKES_VERSION: jikes 1.19 or higher required" >&5
12016 echo "$as_me: WARNING: $JIKES_VERSION: jikes 1.19 or higher required" >&2;}
12020 if test -n "`$JIKES --help 2>&1 | grep encoding`"; then
12021 JIKESENCODING
='-encoding UTF-8'
12032 # Check whether --with-kjc or --without-kjc was given.
12033 if test "${with_kjc+set}" = set; then
12034 withval
="$with_kjc"
12036 if test "x${withval}" != x && test "x${withval}" != xyes && test "x${withval}" != xno
; then
12038 if test "x${withval}" != x
; then
12039 if test -f "${withval}"; then
12042 # Extract the first word of ""${withval}"", so it can be a program name with args.
12043 set dummy
"${withval}"; ac_word
=$2
12044 echo "$as_me:$LINENO: checking for $ac_word" >&5
12045 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
12046 if test "${ac_cv_path_KJC+set}" = set; then
12047 echo $ECHO_N "(cached) $ECHO_C" >&6
12051 ac_cv_path_KJC
="$KJC" # Let the user override the test with a path.
12054 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
12055 for as_dir
in $PATH
12058 test -z "$as_dir" && as_dir
=.
12059 for ac_exec_ext
in '' $ac_executable_extensions; do
12060 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
12061 ac_cv_path_KJC
="$as_dir/$ac_word$ac_exec_ext"
12062 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
12071 KJC
=$ac_cv_path_KJC
12073 if test -n "$KJC"; then
12074 echo "$as_me:$LINENO: result: $KJC" >&5
12075 echo "${ECHO_T}$KJC" >&6
12077 echo "$as_me:$LINENO: result: no" >&5
12078 echo "${ECHO_T}no" >&6
12083 # Extract the first word of ""kJC"", so it can be a program name with args.
12084 set dummy
"kJC"; ac_word
=$2
12085 echo "$as_me:$LINENO: checking for $ac_word" >&5
12086 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
12087 if test "${ac_cv_path_KJC+set}" = set; then
12088 echo $ECHO_N "(cached) $ECHO_C" >&6
12092 ac_cv_path_KJC
="$KJC" # Let the user override the test with a path.
12095 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
12096 for as_dir
in $PATH
12099 test -z "$as_dir" && as_dir
=.
12100 for ac_exec_ext
in '' $ac_executable_extensions; do
12101 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
12102 ac_cv_path_KJC
="$as_dir/$ac_word$ac_exec_ext"
12103 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
12112 KJC
=$ac_cv_path_KJC
12114 if test -n "$KJC"; then
12115 echo "$as_me:$LINENO: result: $KJC" >&5
12116 echo "${ECHO_T}$KJC" >&6
12118 echo "$as_me:$LINENO: result: no" >&5
12119 echo "${ECHO_T}no" >&6
12125 if test "x${withval}" != xno
; then
12127 if test "x" != x
; then
12128 if test -f ""; then
12131 # Extract the first word of """", so it can be a program name with args.
12132 set dummy
""; ac_word
=$2
12133 echo "$as_me:$LINENO: checking for $ac_word" >&5
12134 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
12135 if test "${ac_cv_path_KJC+set}" = set; then
12136 echo $ECHO_N "(cached) $ECHO_C" >&6
12140 ac_cv_path_KJC
="$KJC" # Let the user override the test with a path.
12143 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
12144 for as_dir
in $PATH
12147 test -z "$as_dir" && as_dir
=.
12148 for ac_exec_ext
in '' $ac_executable_extensions; do
12149 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
12150 ac_cv_path_KJC
="$as_dir/$ac_word$ac_exec_ext"
12151 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
12160 KJC
=$ac_cv_path_KJC
12162 if test -n "$KJC"; then
12163 echo "$as_me:$LINENO: result: $KJC" >&5
12164 echo "${ECHO_T}$KJC" >&6
12166 echo "$as_me:$LINENO: result: no" >&5
12167 echo "${ECHO_T}no" >&6
12172 # Extract the first word of ""kJC"", so it can be a program name with args.
12173 set dummy
"kJC"; ac_word
=$2
12174 echo "$as_me:$LINENO: checking for $ac_word" >&5
12175 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
12176 if test "${ac_cv_path_KJC+set}" = set; then
12177 echo $ECHO_N "(cached) $ECHO_C" >&6
12181 ac_cv_path_KJC
="$KJC" # Let the user override the test with a path.
12184 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
12185 for as_dir
in $PATH
12188 test -z "$as_dir" && as_dir
=.
12189 for ac_exec_ext
in '' $ac_executable_extensions; do
12190 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
12191 ac_cv_path_KJC
="$as_dir/$ac_word$ac_exec_ext"
12192 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
12201 KJC
=$ac_cv_path_KJC
12203 if test -n "$KJC"; then
12204 echo "$as_me:$LINENO: result: $KJC" >&5
12205 echo "${ECHO_T}$KJC" >&6
12207 echo "$as_me:$LINENO: result: no" >&5
12208 echo "${ECHO_T}no" >&6
12215 user_specified_javac
=kjc
12220 if test "x" != x
; then
12221 if test -f ""; then
12224 # Extract the first word of """", so it can be a program name with args.
12225 set dummy
""; ac_word
=$2
12226 echo "$as_me:$LINENO: checking for $ac_word" >&5
12227 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
12228 if test "${ac_cv_path_KJC+set}" = set; then
12229 echo $ECHO_N "(cached) $ECHO_C" >&6
12233 ac_cv_path_KJC
="$KJC" # Let the user override the test with a path.
12236 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
12237 for as_dir
in $PATH
12240 test -z "$as_dir" && as_dir
=.
12241 for ac_exec_ext
in '' $ac_executable_extensions; do
12242 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
12243 ac_cv_path_KJC
="$as_dir/$ac_word$ac_exec_ext"
12244 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
12253 KJC
=$ac_cv_path_KJC
12255 if test -n "$KJC"; then
12256 echo "$as_me:$LINENO: result: $KJC" >&5
12257 echo "${ECHO_T}$KJC" >&6
12259 echo "$as_me:$LINENO: result: no" >&5
12260 echo "${ECHO_T}no" >&6
12265 # Extract the first word of ""kJC"", so it can be a program name with args.
12266 set dummy
"kJC"; ac_word
=$2
12267 echo "$as_me:$LINENO: checking for $ac_word" >&5
12268 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
12269 if test "${ac_cv_path_KJC+set}" = set; then
12270 echo $ECHO_N "(cached) $ECHO_C" >&6
12274 ac_cv_path_KJC
="$KJC" # Let the user override the test with a path.
12277 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
12278 for as_dir
in $PATH
12281 test -z "$as_dir" && as_dir
=.
12282 for ac_exec_ext
in '' $ac_executable_extensions; do
12283 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
12284 ac_cv_path_KJC
="$as_dir/$ac_word$ac_exec_ext"
12285 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
12294 KJC
=$ac_cv_path_KJC
12296 if test -n "$KJC"; then
12297 echo "$as_me:$LINENO: result: $KJC" >&5
12298 echo "${ECHO_T}$KJC" >&6
12300 echo "$as_me:$LINENO: result: no" >&5
12301 echo "${ECHO_T}no" >&6
12312 # Check whether --with-gcjx or --without-gcjx was given.
12313 if test "${with_gcjx+set}" = set; then
12314 withval
="$with_gcjx"
12316 if test "x${withval}" != x && test "x${withval}" != xyes && test "x${withval}" != xno
; then
12318 if test "x${withval}" != x
; then
12319 if test -f "${withval}"; then
12322 # Extract the first word of ""${withval}"", so it can be a program name with args.
12323 set dummy
"${withval}"; ac_word
=$2
12324 echo "$as_me:$LINENO: checking for $ac_word" >&5
12325 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
12326 if test "${ac_cv_path_GCJX+set}" = set; then
12327 echo $ECHO_N "(cached) $ECHO_C" >&6
12331 ac_cv_path_GCJX
="$GCJX" # Let the user override the test with a path.
12334 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
12335 for as_dir
in $PATH
12338 test -z "$as_dir" && as_dir
=.
12339 for ac_exec_ext
in '' $ac_executable_extensions; do
12340 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
12341 ac_cv_path_GCJX
="$as_dir/$ac_word$ac_exec_ext"
12342 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
12351 GCJX
=$ac_cv_path_GCJX
12353 if test -n "$GCJX"; then
12354 echo "$as_me:$LINENO: result: $GCJX" >&5
12355 echo "${ECHO_T}$GCJX" >&6
12357 echo "$as_me:$LINENO: result: no" >&5
12358 echo "${ECHO_T}no" >&6
12363 # Extract the first word of ""gcjx"", so it can be a program name with args.
12364 set dummy
"gcjx"; ac_word
=$2
12365 echo "$as_me:$LINENO: checking for $ac_word" >&5
12366 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
12367 if test "${ac_cv_path_GCJX+set}" = set; then
12368 echo $ECHO_N "(cached) $ECHO_C" >&6
12372 ac_cv_path_GCJX
="$GCJX" # Let the user override the test with a path.
12375 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
12376 for as_dir
in $PATH
12379 test -z "$as_dir" && as_dir
=.
12380 for ac_exec_ext
in '' $ac_executable_extensions; do
12381 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
12382 ac_cv_path_GCJX
="$as_dir/$ac_word$ac_exec_ext"
12383 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
12392 GCJX
=$ac_cv_path_GCJX
12394 if test -n "$GCJX"; then
12395 echo "$as_me:$LINENO: result: $GCJX" >&5
12396 echo "${ECHO_T}$GCJX" >&6
12398 echo "$as_me:$LINENO: result: no" >&5
12399 echo "${ECHO_T}no" >&6
12405 if test "x${withval}" != xno
; then
12407 if test "x" != x
; then
12408 if test -f ""; then
12411 # Extract the first word of """", so it can be a program name with args.
12412 set dummy
""; ac_word
=$2
12413 echo "$as_me:$LINENO: checking for $ac_word" >&5
12414 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
12415 if test "${ac_cv_path_GCJX+set}" = set; then
12416 echo $ECHO_N "(cached) $ECHO_C" >&6
12420 ac_cv_path_GCJX
="$GCJX" # Let the user override the test with a path.
12423 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
12424 for as_dir
in $PATH
12427 test -z "$as_dir" && as_dir
=.
12428 for ac_exec_ext
in '' $ac_executable_extensions; do
12429 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
12430 ac_cv_path_GCJX
="$as_dir/$ac_word$ac_exec_ext"
12431 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
12440 GCJX
=$ac_cv_path_GCJX
12442 if test -n "$GCJX"; then
12443 echo "$as_me:$LINENO: result: $GCJX" >&5
12444 echo "${ECHO_T}$GCJX" >&6
12446 echo "$as_me:$LINENO: result: no" >&5
12447 echo "${ECHO_T}no" >&6
12452 # Extract the first word of ""gcjx"", so it can be a program name with args.
12453 set dummy
"gcjx"; ac_word
=$2
12454 echo "$as_me:$LINENO: checking for $ac_word" >&5
12455 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
12456 if test "${ac_cv_path_GCJX+set}" = set; then
12457 echo $ECHO_N "(cached) $ECHO_C" >&6
12461 ac_cv_path_GCJX
="$GCJX" # Let the user override the test with a path.
12464 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
12465 for as_dir
in $PATH
12468 test -z "$as_dir" && as_dir
=.
12469 for ac_exec_ext
in '' $ac_executable_extensions; do
12470 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
12471 ac_cv_path_GCJX
="$as_dir/$ac_word$ac_exec_ext"
12472 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
12481 GCJX
=$ac_cv_path_GCJX
12483 if test -n "$GCJX"; then
12484 echo "$as_me:$LINENO: result: $GCJX" >&5
12485 echo "${ECHO_T}$GCJX" >&6
12487 echo "$as_me:$LINENO: result: no" >&5
12488 echo "${ECHO_T}no" >&6
12495 user_specified_javac
=gcjx
12500 if test "x" != x
; then
12501 if test -f ""; then
12504 # Extract the first word of """", so it can be a program name with args.
12505 set dummy
""; ac_word
=$2
12506 echo "$as_me:$LINENO: checking for $ac_word" >&5
12507 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
12508 if test "${ac_cv_path_GCJX+set}" = set; then
12509 echo $ECHO_N "(cached) $ECHO_C" >&6
12513 ac_cv_path_GCJX
="$GCJX" # Let the user override the test with a path.
12516 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
12517 for as_dir
in $PATH
12520 test -z "$as_dir" && as_dir
=.
12521 for ac_exec_ext
in '' $ac_executable_extensions; do
12522 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
12523 ac_cv_path_GCJX
="$as_dir/$ac_word$ac_exec_ext"
12524 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
12533 GCJX
=$ac_cv_path_GCJX
12535 if test -n "$GCJX"; then
12536 echo "$as_me:$LINENO: result: $GCJX" >&5
12537 echo "${ECHO_T}$GCJX" >&6
12539 echo "$as_me:$LINENO: result: no" >&5
12540 echo "${ECHO_T}no" >&6
12545 # Extract the first word of ""gcjx"", so it can be a program name with args.
12546 set dummy
"gcjx"; ac_word
=$2
12547 echo "$as_me:$LINENO: checking for $ac_word" >&5
12548 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
12549 if test "${ac_cv_path_GCJX+set}" = set; then
12550 echo $ECHO_N "(cached) $ECHO_C" >&6
12554 ac_cv_path_GCJX
="$GCJX" # Let the user override the test with a path.
12557 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
12558 for as_dir
in $PATH
12561 test -z "$as_dir" && as_dir
=.
12562 for ac_exec_ext
in '' $ac_executable_extensions; do
12563 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
12564 ac_cv_path_GCJX
="$as_dir/$ac_word$ac_exec_ext"
12565 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
12574 GCJX
=$ac_cv_path_GCJX
12576 if test -n "$GCJX"; then
12577 echo "$as_me:$LINENO: result: $GCJX" >&5
12578 echo "${ECHO_T}$GCJX" >&6
12580 echo "$as_me:$LINENO: result: no" >&5
12581 echo "${ECHO_T}no" >&6
12592 # Check whether --with-ecj or --without-ecj was given.
12593 if test "${with_ecj+set}" = set; then
12594 withval
="$with_ecj"
12596 if test "x${withval}" != x && test "x${withval}" != xyes && test "x${withval}" != xno
; then
12598 if test "x${withval}" != x
; then
12599 if test -f "${withval}"; then
12602 # Extract the first word of ""${withval}"", so it can be a program name with args.
12603 set dummy
"${withval}"; ac_word
=$2
12604 echo "$as_me:$LINENO: checking for $ac_word" >&5
12605 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
12606 if test "${ac_cv_path_ECJ+set}" = set; then
12607 echo $ECHO_N "(cached) $ECHO_C" >&6
12611 ac_cv_path_ECJ
="$ECJ" # Let the user override the test with a path.
12614 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
12615 for as_dir
in $PATH
12618 test -z "$as_dir" && as_dir
=.
12619 for ac_exec_ext
in '' $ac_executable_extensions; do
12620 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
12621 ac_cv_path_ECJ
="$as_dir/$ac_word$ac_exec_ext"
12622 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
12631 ECJ
=$ac_cv_path_ECJ
12633 if test -n "$ECJ"; then
12634 echo "$as_me:$LINENO: result: $ECJ" >&5
12635 echo "${ECHO_T}$ECJ" >&6
12637 echo "$as_me:$LINENO: result: no" >&5
12638 echo "${ECHO_T}no" >&6
12643 # Extract the first word of ""ecj"", so it can be a program name with args.
12644 set dummy
"ecj"; ac_word
=$2
12645 echo "$as_me:$LINENO: checking for $ac_word" >&5
12646 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
12647 if test "${ac_cv_path_ECJ+set}" = set; then
12648 echo $ECHO_N "(cached) $ECHO_C" >&6
12652 ac_cv_path_ECJ
="$ECJ" # Let the user override the test with a path.
12655 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
12656 for as_dir
in $PATH
12659 test -z "$as_dir" && as_dir
=.
12660 for ac_exec_ext
in '' $ac_executable_extensions; do
12661 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
12662 ac_cv_path_ECJ
="$as_dir/$ac_word$ac_exec_ext"
12663 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
12672 ECJ
=$ac_cv_path_ECJ
12674 if test -n "$ECJ"; then
12675 echo "$as_me:$LINENO: result: $ECJ" >&5
12676 echo "${ECHO_T}$ECJ" >&6
12678 echo "$as_me:$LINENO: result: no" >&5
12679 echo "${ECHO_T}no" >&6
12685 if test "x${withval}" != xno
; then
12687 if test "x" != x
; then
12688 if test -f ""; then
12691 # Extract the first word of """", so it can be a program name with args.
12692 set dummy
""; ac_word
=$2
12693 echo "$as_me:$LINENO: checking for $ac_word" >&5
12694 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
12695 if test "${ac_cv_path_ECJ+set}" = set; then
12696 echo $ECHO_N "(cached) $ECHO_C" >&6
12700 ac_cv_path_ECJ
="$ECJ" # Let the user override the test with a path.
12703 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
12704 for as_dir
in $PATH
12707 test -z "$as_dir" && as_dir
=.
12708 for ac_exec_ext
in '' $ac_executable_extensions; do
12709 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
12710 ac_cv_path_ECJ
="$as_dir/$ac_word$ac_exec_ext"
12711 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
12720 ECJ
=$ac_cv_path_ECJ
12722 if test -n "$ECJ"; then
12723 echo "$as_me:$LINENO: result: $ECJ" >&5
12724 echo "${ECHO_T}$ECJ" >&6
12726 echo "$as_me:$LINENO: result: no" >&5
12727 echo "${ECHO_T}no" >&6
12732 # Extract the first word of ""ecj"", so it can be a program name with args.
12733 set dummy
"ecj"; ac_word
=$2
12734 echo "$as_me:$LINENO: checking for $ac_word" >&5
12735 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
12736 if test "${ac_cv_path_ECJ+set}" = set; then
12737 echo $ECHO_N "(cached) $ECHO_C" >&6
12741 ac_cv_path_ECJ
="$ECJ" # Let the user override the test with a path.
12744 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
12745 for as_dir
in $PATH
12748 test -z "$as_dir" && as_dir
=.
12749 for ac_exec_ext
in '' $ac_executable_extensions; do
12750 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
12751 ac_cv_path_ECJ
="$as_dir/$ac_word$ac_exec_ext"
12752 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
12761 ECJ
=$ac_cv_path_ECJ
12763 if test -n "$ECJ"; then
12764 echo "$as_me:$LINENO: result: $ECJ" >&5
12765 echo "${ECHO_T}$ECJ" >&6
12767 echo "$as_me:$LINENO: result: no" >&5
12768 echo "${ECHO_T}no" >&6
12775 user_specified_javac
=ecj
12780 if test "x" != x
; then
12781 if test -f ""; then
12784 # Extract the first word of """", so it can be a program name with args.
12785 set dummy
""; ac_word
=$2
12786 echo "$as_me:$LINENO: checking for $ac_word" >&5
12787 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
12788 if test "${ac_cv_path_ECJ+set}" = set; then
12789 echo $ECHO_N "(cached) $ECHO_C" >&6
12793 ac_cv_path_ECJ
="$ECJ" # Let the user override the test with a path.
12796 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
12797 for as_dir
in $PATH
12800 test -z "$as_dir" && as_dir
=.
12801 for ac_exec_ext
in '' $ac_executable_extensions; do
12802 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
12803 ac_cv_path_ECJ
="$as_dir/$ac_word$ac_exec_ext"
12804 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
12813 ECJ
=$ac_cv_path_ECJ
12815 if test -n "$ECJ"; then
12816 echo "$as_me:$LINENO: result: $ECJ" >&5
12817 echo "${ECHO_T}$ECJ" >&6
12819 echo "$as_me:$LINENO: result: no" >&5
12820 echo "${ECHO_T}no" >&6
12825 # Extract the first word of ""ecj"", so it can be a program name with args.
12826 set dummy
"ecj"; ac_word
=$2
12827 echo "$as_me:$LINENO: checking for $ac_word" >&5
12828 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
12829 if test "${ac_cv_path_ECJ+set}" = set; then
12830 echo $ECHO_N "(cached) $ECHO_C" >&6
12834 ac_cv_path_ECJ
="$ECJ" # Let the user override the test with a path.
12837 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
12838 for as_dir
in $PATH
12841 test -z "$as_dir" && as_dir
=.
12842 for ac_exec_ext
in '' $ac_executable_extensions; do
12843 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
12844 ac_cv_path_ECJ
="$as_dir/$ac_word$ac_exec_ext"
12845 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
12854 ECJ
=$ac_cv_path_ECJ
12856 if test -n "$ECJ"; then
12857 echo "$as_me:$LINENO: result: $ECJ" >&5
12858 echo "${ECHO_T}$ECJ" >&6
12860 echo "$as_me:$LINENO: result: no" >&5
12861 echo "${ECHO_T}no" >&6
12871 if test "x${user_specified_javac}" = x
; then
12874 if test "x${GCJ}" != x
; then
12876 FOUND_GCJ_FALSE
='#'
12884 if test "x${JIKES}" != x
; then
12886 FOUND_JIKES_FALSE
='#'
12888 FOUND_JIKES_TRUE
='#'
12894 if test "x${ECJ}" != x
; then
12896 FOUND_ECJ_FALSE
='#'
12905 if test "x${user_specified_javac}" = xgcj
; then
12907 FOUND_GCJ_FALSE
='#'
12915 if test "x${user_specified_javac}" = xjikes
; then
12917 FOUND_JIKES_FALSE
='#'
12919 FOUND_JIKES_TRUE
='#'
12925 if test "x${user_specified_javac}" = xecj
; then
12927 FOUND_ECJ_FALSE
='#'
12936 if test "x${user_specified_javac}" = xkjc
; then
12938 FOUND_KJC_FALSE
='#'
12946 if test "x${user_specified_javac}" = xgcjx
; then
12948 FOUND_GCJX_FALSE
='#'
12950 FOUND_GCJX_TRUE
='#'
12955 if test "x${GCJ}" = x && test "x${JIKES}" = x && test "x${user_specified_javac}" != xkjc && test "x${user_specified_javac}" != xgcjx
; then
12956 # FIXME: use autoconf error function
12957 echo "configure: cannot find javac, try --with-gcj, --with-jikes, --with-kjc, or --with-gcjx" 1>&2
12964 # Check whether --with-classpath or --without-classpath was given.
12965 if test "${with_classpath+set}" = set; then
12966 withval
="$with_classpath"
12968 if test "x${withval}" = xyes
; then
12969 # set user classpath to CLASSPATH from env
12970 echo "$as_me:$LINENO: checking for classlib" >&5
12971 echo $ECHO_N "checking for classlib... $ECHO_C" >&6
12972 USER_CLASSLIB
=${CLASSPATH}
12974 echo "$as_me:$LINENO: result: ${USER_CLASSLIB}" >&5
12975 echo "${ECHO_T}${USER_CLASSLIB}" >&6
12976 conditional_with_classlib
=true
12977 elif test "x${withval}" != x
&& test "x${withval}" != xno
; then
12978 # set user classpath to specified value
12979 echo "$as_me:$LINENO: checking for classlib" >&5
12980 echo $ECHO_N "checking for classlib... $ECHO_C" >&6
12981 USER_CLASSLIB
=${withval}
12983 echo "$as_me:$LINENO: result: ${withval}" >&5
12984 echo "${ECHO_T}${withval}" >&6
12985 conditional_with_classlib
=true
12989 conditional_with_classlib
=false
12993 if test "x${conditional_with_classlib}" = xtrue
; then
12994 USER_SPECIFIED_CLASSLIB_TRUE
=
12995 USER_SPECIFIED_CLASSLIB_FALSE
='#'
12997 USER_SPECIFIED_CLASSLIB_TRUE
='#'
12998 USER_SPECIFIED_CLASSLIB_FALSE
=
13003 # Check whether --with-vm-classes or --without-vm-classes was given.
13004 if test "${with_vm_classes+set}" = set; then
13005 withval
="$with_vm_classes"
13006 vm_classes
="$with_vm_classes"
13008 vm_classes
='${top_srcdir}/vm/reference'
13013 echo "$as_me:$LINENO: checking whether to enable maintainer-specific portions of Makefiles" >&5
13014 echo $ECHO_N "checking whether to enable maintainer-specific portions of Makefiles... $ECHO_C" >&6
13015 # Check whether --enable-maintainer-mode or --disable-maintainer-mode was given.
13016 if test "${enable_maintainer_mode+set}" = set; then
13017 enableval
="$enable_maintainer_mode"
13018 USE_MAINTAINER_MODE
=$enableval
13020 USE_MAINTAINER_MODE
=no
13022 echo "$as_me:$LINENO: result: $USE_MAINTAINER_MODE" >&5
13023 echo "${ECHO_T}$USE_MAINTAINER_MODE" >&6
13026 if test $USE_MAINTAINER_MODE = yes; then
13027 MAINTAINER_MODE_TRUE
=
13028 MAINTAINER_MODE_FALSE
='#'
13030 MAINTAINER_MODE_TRUE
='#'
13031 MAINTAINER_MODE_FALSE
=
13034 MAINT
=$MAINTAINER_MODE_TRUE
13038 # Check whether --enable-debug or --disable-debug was given.
13039 if test "${enable_debug+set}" = set; then
13040 enableval
="$enable_debug"
13041 case "${enableval}" in
13045 cat >>confdefs.h
<<\_ACEOF
13050 no
) LIBDEBUG
="false" ;;
13051 *) { { echo "$as_me:$LINENO: error: bad value ${enableval} for --enable-debug" >&5
13052 echo "$as_me: error: bad value ${enableval} for --enable-debug" >&2;}
13053 { (exit 1); exit 1; }; } ;;
13060 # Check whether --enable-load-library or --disable-load-library was given.
13061 if test "${enable_load_library+set}" = set; then
13062 enableval
="$enable_load_library"
13063 case "${enableval}" in
13064 yes) INIT_LOAD_LIBRARY
="true" ;;
13065 no
) INIT_LOAD_LIBRARY
="false" ;;
13066 *) { { echo "$as_me:$LINENO: error: bad value ${enableval} for --enable-load-library" >&5
13067 echo "$as_me: error: bad value ${enableval} for --enable-load-library" >&2;}
13068 { (exit 1); exit 1; }; } ;;
13071 INIT_LOAD_LIBRARY
="true"
13076 # Check whether --enable-java-lang-system-explicit-initialization or --disable-java-lang-system-explicit-initialization was given.
13077 if test "${enable_java_lang_system_explicit_initialization+set}" = set; then
13078 enableval
="$enable_java_lang_system_explicit_initialization"
13079 case "${enableval}" in
13080 yes|true
) JAVA_LANG_SYSTEM_EXPLICIT_INITIALIZATION
="true" ;;
13081 no|false
) JAVA_LANG_SYSTEM_EXPLICIT_INITIALIZATION
="false" ;;
13082 *) { { echo "$as_me:$LINENO: error: bad value ${enableval} for --enable-java-lang-system-explicit-initialization" >&5
13083 echo "$as_me: error: bad value ${enableval} for --enable-java-lang-system-explicit-initialization" >&2;}
13084 { (exit 1); exit 1; }; } ;;
13087 JAVA_LANG_SYSTEM_EXPLICIT_INITIALIZATION
="false"
13095 # Extract the first word of "mkdir", so it can be a program name with args.
13096 set dummy mkdir
; ac_word
=$2
13097 echo "$as_me:$LINENO: checking for $ac_word" >&5
13098 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
13099 if test "${ac_cv_path_MKDIR+set}" = set; then
13100 echo $ECHO_N "(cached) $ECHO_C" >&6
13104 ac_cv_path_MKDIR
="$MKDIR" # Let the user override the test with a path.
13107 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
13108 for as_dir
in $PATH
13111 test -z "$as_dir" && as_dir
=.
13112 for ac_exec_ext
in '' $ac_executable_extensions; do
13113 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
13114 ac_cv_path_MKDIR
="$as_dir/$ac_word$ac_exec_ext"
13115 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
13124 MKDIR
=$ac_cv_path_MKDIR
13126 if test -n "$MKDIR"; then
13127 echo "$as_me:$LINENO: result: $MKDIR" >&5
13128 echo "${ECHO_T}$MKDIR" >&6
13130 echo "$as_me:$LINENO: result: no" >&5
13131 echo "${ECHO_T}no" >&6
13134 # Extract the first word of "cp", so it can be a program name with args.
13135 set dummy
cp; ac_word
=$2
13136 echo "$as_me:$LINENO: checking for $ac_word" >&5
13137 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
13138 if test "${ac_cv_path_CP+set}" = set; then
13139 echo $ECHO_N "(cached) $ECHO_C" >&6
13143 ac_cv_path_CP
="$CP" # Let the user override the test with a path.
13146 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
13147 for as_dir
in $PATH
13150 test -z "$as_dir" && as_dir
=.
13151 for ac_exec_ext
in '' $ac_executable_extensions; do
13152 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
13153 ac_cv_path_CP
="$as_dir/$ac_word$ac_exec_ext"
13154 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
13165 if test -n "$CP"; then
13166 echo "$as_me:$LINENO: result: $CP" >&5
13167 echo "${ECHO_T}$CP" >&6
13169 echo "$as_me:$LINENO: result: no" >&5
13170 echo "${ECHO_T}no" >&6
13173 # Extract the first word of "date", so it can be a program name with args.
13174 set dummy
date; ac_word
=$2
13175 echo "$as_me:$LINENO: checking for $ac_word" >&5
13176 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
13177 if test "${ac_cv_path_DATE+set}" = set; then
13178 echo $ECHO_N "(cached) $ECHO_C" >&6
13182 ac_cv_path_DATE
="$DATE" # Let the user override the test with a path.
13185 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
13186 for as_dir
in $PATH
13189 test -z "$as_dir" && as_dir
=.
13190 for ac_exec_ext
in '' $ac_executable_extensions; do
13191 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
13192 ac_cv_path_DATE
="$as_dir/$ac_word$ac_exec_ext"
13193 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
13202 DATE
=$ac_cv_path_DATE
13204 if test -n "$DATE"; then
13205 echo "$as_me:$LINENO: result: $DATE" >&5
13206 echo "${ECHO_T}$DATE" >&6
13208 echo "$as_me:$LINENO: result: no" >&5
13209 echo "${ECHO_T}no" >&6
13213 # Extract the first word of "find", so it can be a program name with args.
13214 set dummy
find; ac_word
=$2
13215 echo "$as_me:$LINENO: checking for $ac_word" >&5
13216 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
13217 if test "${ac_cv_path_FIND+set}" = set; then
13218 echo $ECHO_N "(cached) $ECHO_C" >&6
13222 ac_cv_path_FIND
="$FIND" # Let the user override the test with a path.
13225 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
13226 for as_dir
in $PATH
13229 test -z "$as_dir" && as_dir
=.
13230 for ac_exec_ext
in '' $ac_executable_extensions; do
13231 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
13232 ac_cv_path_FIND
="$as_dir/$ac_word$ac_exec_ext"
13233 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
13242 FIND
=$ac_cv_path_FIND
13244 if test -n "$FIND"; then
13245 echo "$as_me:$LINENO: result: $FIND" >&5
13246 echo "${ECHO_T}$FIND" >&6
13248 echo "$as_me:$LINENO: result: no" >&5
13249 echo "${ECHO_T}no" >&6
13254 # Extract the first word of "zip", so it can be a program name with args.
13255 set dummy
zip; ac_word
=$2
13256 echo "$as_me:$LINENO: checking for $ac_word" >&5
13257 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
13258 if test "${ac_cv_path_ZIP+set}" = set; then
13259 echo $ECHO_N "(cached) $ECHO_C" >&6
13263 ac_cv_path_ZIP
="$ZIP" # Let the user override the test with a path.
13266 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
13267 for as_dir
in $PATH
13270 test -z "$as_dir" && as_dir
=.
13271 for ac_exec_ext
in '' $ac_executable_extensions; do
13272 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
13273 ac_cv_path_ZIP
="$as_dir/$ac_word$ac_exec_ext"
13274 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
13283 ZIP
=$ac_cv_path_ZIP
13285 if test -n "$ZIP"; then
13286 echo "$as_me:$LINENO: result: $ZIP" >&5
13287 echo "${ECHO_T}$ZIP" >&6
13289 echo "$as_me:$LINENO: result: no" >&5
13290 echo "${ECHO_T}no" >&6
13294 # Check whether --with-glibj or --without-glibj was given.
13295 if test "${with_glibj+set}" = set; then
13296 withval
="$with_glibj"
13298 if test "x${withval}" = xyes ||
test "x${withval}" = xzip
; then
13299 install_class_files
=no
13300 build_class_files
=yes
13302 elif test "x${withval}" = xboth
; then
13303 install_class_files
=yes
13304 build_class_files
=yes
13306 elif test "x${withval}" = xflat
; then
13307 install_class_files
=yes
13308 build_class_files
=yes
13310 elif test "x${withval}" = xno ||
test "x${withval}" = xnone
; then
13311 install_class_files
=no
13312 build_class_files
=no
13314 elif test "x${withval}" = xbuild
; then
13315 install_class_files
=no
13316 build_class_files
=yes
13319 { { echo "$as_me:$LINENO: error: unknown value given to --with-glibj" >&5
13320 echo "$as_me: error: unknown value given to --with-glibj" >&2;}
13321 { (exit 1); exit 1; }; }
13326 install_class_files
=no
13332 if test "x${use_zip}" = xyes
; then
13333 INSTALL_GLIBJ_ZIP_TRUE
=
13334 INSTALL_GLIBJ_ZIP_FALSE
='#'
13336 INSTALL_GLIBJ_ZIP_TRUE
='#'
13337 INSTALL_GLIBJ_ZIP_FALSE
=
13342 if test "x${install_class_files}" = xyes
; then
13343 INSTALL_CLASS_FILES_TRUE
=
13344 INSTALL_CLASS_FILES_FALSE
='#'
13346 INSTALL_CLASS_FILES_TRUE
='#'
13347 INSTALL_CLASS_FILES_FALSE
=
13352 if test "x${build_class_files}" = xyes
; then
13353 BUILD_CLASS_FILES_TRUE
=
13354 BUILD_CLASS_FILES_FALSE
='#'
13356 BUILD_CLASS_FILES_TRUE
='#'
13357 BUILD_CLASS_FILES_FALSE
=
13361 # Check whether --enable-examples or --disable-examples was given.
13362 if test "${enable_examples+set}" = set; then
13363 enableval
="$enable_examples"
13364 case "${enableval}" in
13365 yes) EXAMPLESDIR
="examples" ;;
13366 no
) EXAMPLESDIR
="" ;;
13367 *) { { echo "$as_me:$LINENO: error: bad value ${enableval} for --enable-examples" >&5
13368 echo "$as_me: error: bad value ${enableval} for --enable-examples" >&2;}
13369 { (exit 1); exit 1; }; } ;;
13372 EXAMPLESDIR
="examples"
13374 if test "x${use_zip}" = xno
&& test "x${install_class_files}" = xno
; then
13382 # Check whether --with-gjdoc or --without-gjdoc was given.
13383 if test "${with_gjdoc+set}" = set; then
13384 withval
="$with_gjdoc"
13385 if test "x${withval}" = xno
; then
13387 elif test "x${withval}" = xyes
-o "x{withval}" = x
; then
13389 # Extract the first word of "gjdoc", so it can be a program name with args.
13390 set dummy gjdoc
; ac_word
=$2
13391 echo "$as_me:$LINENO: checking for $ac_word" >&5
13392 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
13393 if test "${ac_cv_path_GJDOC+set}" = set; then
13394 echo $ECHO_N "(cached) $ECHO_C" >&6
13398 ac_cv_path_GJDOC
="$GJDOC" # Let the user override the test with a path.
13401 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
13402 for as_dir
in $PATH
13405 test -z "$as_dir" && as_dir
=.
13406 for ac_exec_ext
in '' $ac_executable_extensions; do
13407 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
13408 ac_cv_path_GJDOC
="$as_dir/$ac_word$ac_exec_ext"
13409 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
13415 test -z "$ac_cv_path_GJDOC" && ac_cv_path_GJDOC
=""no
""
13419 GJDOC
=$ac_cv_path_GJDOC
13421 if test -n "$GJDOC"; then
13422 echo "$as_me:$LINENO: result: $GJDOC" >&5
13423 echo "${ECHO_T}$GJDOC" >&6
13425 echo "$as_me:$LINENO: result: no" >&5
13426 echo "${ECHO_T}no" >&6
13429 if test "x${GJDOC}" = xno
; then
13430 { { echo "$as_me:$LINENO: error: \"gjdoc executable not found\"" >&5
13431 echo "$as_me: error: \"gjdoc executable not found\"" >&2;}
13432 { (exit 1); exit 1; }; };
13437 as_ac_File
=`echo "ac_cv_file_${GJDOC}" | $as_tr_sh`
13438 echo "$as_me:$LINENO: checking for ${GJDOC}" >&5
13439 echo $ECHO_N "checking for ${GJDOC}... $ECHO_C" >&6
13440 if eval "test \"\${$as_ac_File+set}\" = set"; then
13441 echo $ECHO_N "(cached) $ECHO_C" >&6
13443 test "$cross_compiling" = yes &&
13444 { { echo "$as_me:$LINENO: error: cannot check for file existence when cross compiling" >&5
13445 echo "$as_me: error: cannot check for file existence when cross compiling" >&2;}
13446 { (exit 1); exit 1; }; }
13447 if test -r "${GJDOC}"; then
13448 eval "$as_ac_File=yes"
13450 eval "$as_ac_File=no"
13453 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_File'}'`" >&5
13454 echo "${ECHO_T}`eval echo '${'$as_ac_File'}'`" >&6
13455 if test `eval echo '${'$as_ac_File'}'` = yes; then
13458 { { echo "$as_me:$LINENO: error: \"Cannot use ${withval} as gjdoc executable since it doesn't exist\"" >&5
13459 echo "$as_me: error: \"Cannot use ${withval} as gjdoc executable since it doesn't exist\"" >&2;}
13460 { (exit 1); exit 1; }; }
13470 if test "x${WITH_GJDOC}" = xyes
; then
13471 CREATE_API_DOCS_TRUE
=
13472 CREATE_API_DOCS_FALSE
='#'
13474 CREATE_API_DOCS_TRUE
='#'
13475 CREATE_API_DOCS_FALSE
=
13482 # Check whether --with-jay or --without-jay was given.
13483 if test "${with_jay+set}" = set; then
13484 withval
="$with_jay"
13486 if test -d "${withval}"; then
13487 JAY_DIR_PATH
="${withval}"
13488 # Extract the first word of "jay", so it can be a program name with args.
13489 set dummy jay
; ac_word
=$2
13490 echo "$as_me:$LINENO: checking for $ac_word" >&5
13491 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
13492 if test "${ac_cv_path_JAY+set}" = set; then
13493 echo $ECHO_N "(cached) $ECHO_C" >&6
13497 ac_cv_path_JAY
="$JAY" # Let the user override the test with a path.
13500 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
13501 for as_dir
in ${JAY_DIR_PATH}
13504 test -z "$as_dir" && as_dir
=.
13505 for ac_exec_ext
in '' $ac_executable_extensions; do
13506 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
13507 ac_cv_path_JAY
="$as_dir/$ac_word$ac_exec_ext"
13508 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
13514 test -z "$ac_cv_path_JAY" && ac_cv_path_JAY
=""no
""
13518 JAY
=$ac_cv_path_JAY
13520 if test -n "$JAY"; then
13521 echo "$as_me:$LINENO: result: $JAY" >&5
13522 echo "${ECHO_T}$JAY" >&6
13524 echo "$as_me:$LINENO: result: no" >&5
13525 echo "${ECHO_T}no" >&6
13528 if test "x${JAY}" = xno
; then
13529 { { echo "$as_me:$LINENO: error: \"jay executable not found\"" >&5
13530 echo "$as_me: error: \"jay executable not found\"" >&2;}
13531 { (exit 1); exit 1; }; };
13534 JAY_DIR_PATH
=$
(dirname "${withval}")
13538 JAY_SKELETON
="${JAY_DIR_PATH}/skeleton"
13539 as_ac_File
=`echo "ac_cv_file_${JAY_SKELETON}" | $as_tr_sh`
13540 echo "$as_me:$LINENO: checking for ${JAY_SKELETON}" >&5
13541 echo $ECHO_N "checking for ${JAY_SKELETON}... $ECHO_C" >&6
13542 if eval "test \"\${$as_ac_File+set}\" = set"; then
13543 echo $ECHO_N "(cached) $ECHO_C" >&6
13545 test "$cross_compiling" = yes &&
13546 { { echo "$as_me:$LINENO: error: cannot check for file existence when cross compiling" >&5
13547 echo "$as_me: error: cannot check for file existence when cross compiling" >&2;}
13548 { (exit 1); exit 1; }; }
13549 if test -r "${JAY_SKELETON}"; then
13550 eval "$as_ac_File=yes"
13552 eval "$as_ac_File=no"
13555 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_File'}'`" >&5
13556 echo "${ECHO_T}`eval echo '${'$as_ac_File'}'`" >&6
13557 if test `eval echo '${'$as_ac_File'}'` = yes; then
13560 { { echo "$as_me:$LINENO: error: \"Expected skeleton file in $(dirname ${withval})\"" >&5
13561 echo "$as_me: error: \"Expected skeleton file in $(dirname ${withval})\"" >&2;}
13562 { (exit 1); exit 1; }; }
13574 if test "x${JAY_FOUND}" = xyes
; then
13575 REGEN_PARSERS_TRUE
=
13576 REGEN_PARSERS_FALSE
='#'
13578 REGEN_PARSERS_TRUE
='#'
13579 REGEN_PARSERS_FALSE
=
13584 # Check whether --enable-portable-native-sync or --disable-portable-native-sync was given.
13585 if test "${enable_portable_native_sync+set}" = set; then
13586 enableval
="$enable_portable_native_sync"
13587 case "${enableval}" in
13590 cat >>confdefs.h
<<\_ACEOF
13591 #define PORTABLE_NATIVE_SYNC 1
13597 { { echo "$as_me:$LINENO: error: bad value ${enableval} for --enable-portable-native-sync" >&5
13598 echo "$as_me: error: bad value ${enableval} for --enable-portable-native-sync" >&2;}
13599 { (exit 1); exit 1; }; }
13604 ac_config_files
="$ac_config_files Makefile doc/Makefile doc/api/Makefile external/Makefile external/sax/Makefile external/w3c_dom/Makefile gnu/classpath/Configuration.java include/Makefile native/Makefile native/fdlibm/Makefile native/jawt/Makefile native/jni/Makefile native/jni/classpath/Makefile native/jni/java-io/Makefile native/jni/java-lang/Makefile native/jni/java-net/Makefile native/jni/java-nio/Makefile native/jni/java-util/Makefile native/jni/gtk-peer/Makefile native/jni/qt-peer/Makefile native/jni/xmlj/Makefile native/target/Makefile native/target/Linux/Makefile native/target/generic/Makefile resource/Makefile scripts/Makefile scripts/classpath.spec lib/Makefile lib/gen-classlist.sh examples/Makefile examples/Makefile.jawt"
13606 ac_config_commands
="$ac_config_commands gen-classlist"
13608 cat >confcache
<<\_ACEOF
13609 # This file is a shell script that caches the results of configure
13610 # tests run on this system so they can be shared between configure
13611 # scripts and configure runs, see configure's option --config-cache.
13612 # It is not useful on other systems. If it contains results you don't
13613 # want to keep, you may remove or edit it.
13615 # config.status only pays attention to the cache file if you give it
13616 # the --recheck option to rerun configure.
13618 # `ac_cv_env_foo' variables (set or unset) will be overridden when
13619 # loading this file, other *unset* `ac_cv_foo' will be assigned the
13620 # following values.
13624 # The following way of writing the cache mishandles newlines in values,
13625 # but we know of no workaround that is simple, portable, and efficient.
13626 # So, don't put newlines in cache variables' values.
13627 # Ultrix sh set writes to stderr and can't be redirected directly,
13628 # and sets the high bit in the cache file unless we assign to the vars.
13631 case `(ac_space=' '; set | grep ac_space) 2>&1` in
13633 # `set' does not quote correctly, so add quotes (double-quote
13634 # substitution turns \\\\ into \\, and sed turns \\ into \).
13637 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
13640 # `set' quotes correctly as required by POSIX, so do not add quotes.
13642 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
13649 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
13651 /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
13653 if diff $cache_file confcache
>/dev
/null
2>&1; then :; else
13654 if test -w $cache_file; then
13655 test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
13656 cat confcache
>$cache_file
13658 echo "not updating unwritable cache $cache_file"
13663 test "x$prefix" = xNONE
&& prefix
=$ac_default_prefix
13664 # Let make expand exec_prefix.
13665 test "x$exec_prefix" = xNONE
&& exec_prefix
='${prefix}'
13667 # VPATH may cause trouble with some makes, so we remove $(srcdir),
13668 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
13669 # trailing colons and then remove the whole line if VPATH becomes empty
13670 # (actually we leave an empty line to preserve line numbers).
13671 if test "x$srcdir" = x.
; then
13672 ac_vpsub
='/^[ ]*VPATH[ ]*=/{
13673 s/:*\$(srcdir):*/:/;
13674 s/:*\${srcdir}:*/:/;
13676 s/^\([^=]*=[ ]*\):*/\1/;
13682 DEFS
=-DHAVE_CONFIG_H
13686 for ac_i
in : $LIBOBJS; do test "x$ac_i" = x
: && continue
13687 # 1. Remove the extension, and $U if already installed.
13688 ac_i
=`echo "$ac_i" |
13689 sed 's/\$U\././;s/\.o$//;s/\.obj$//'`
13691 ac_libobjs
="$ac_libobjs $ac_i\$U.$ac_objext"
13692 ac_ltlibobjs
="$ac_ltlibobjs $ac_i"'$U.lo'
13694 LIBOBJS
=$ac_libobjs
13696 LTLIBOBJS
=$ac_ltlibobjs
13699 if test -z "${CREATE_JNI_LIBRARIES_TRUE}" && test -z "${CREATE_JNI_LIBRARIES_FALSE}"; then
13700 { { echo "$as_me:$LINENO: error: conditional \"CREATE_JNI_LIBRARIES\" was never defined.
13701 Usually this means the macro was only invoked conditionally." >&5
13702 echo "$as_me: error: conditional \"CREATE_JNI_LIBRARIES\" was never defined.
13703 Usually this means the macro was only invoked conditionally." >&2;}
13704 { (exit 1); exit 1; }; }
13706 if test -z "${CREATE_CORE_JNI_LIBRARIES_TRUE}" && test -z "${CREATE_CORE_JNI_LIBRARIES_FALSE}"; then
13707 { { echo "$as_me:$LINENO: error: conditional \"CREATE_CORE_JNI_LIBRARIES\" was never defined.
13708 Usually this means the macro was only invoked conditionally." >&5
13709 echo "$as_me: error: conditional \"CREATE_CORE_JNI_LIBRARIES\" was never defined.
13710 Usually this means the macro was only invoked conditionally." >&2;}
13711 { (exit 1); exit 1; }; }
13713 if test -z "${CREATE_XMLJ_LIBRARY_TRUE}" && test -z "${CREATE_XMLJ_LIBRARY_FALSE}"; then
13714 { { echo "$as_me:$LINENO: error: conditional \"CREATE_XMLJ_LIBRARY\" was never defined.
13715 Usually this means the macro was only invoked conditionally." >&5
13716 echo "$as_me: error: conditional \"CREATE_XMLJ_LIBRARY\" was never defined.
13717 Usually this means the macro was only invoked conditionally." >&2;}
13718 { (exit 1); exit 1; }; }
13720 if test -z "${CREATE_GTK_PEER_LIBRARIES_TRUE}" && test -z "${CREATE_GTK_PEER_LIBRARIES_FALSE}"; then
13721 { { echo "$as_me:$LINENO: error: conditional \"CREATE_GTK_PEER_LIBRARIES\" was never defined.
13722 Usually this means the macro was only invoked conditionally." >&5
13723 echo "$as_me: error: conditional \"CREATE_GTK_PEER_LIBRARIES\" was never defined.
13724 Usually this means the macro was only invoked conditionally." >&2;}
13725 { (exit 1); exit 1; }; }
13727 if test -z "${GTK_CAIRO_TRUE}" && test -z "${GTK_CAIRO_FALSE}"; then
13728 { { echo "$as_me:$LINENO: error: conditional \"GTK_CAIRO\" was never defined.
13729 Usually this means the macro was only invoked conditionally." >&5
13730 echo "$as_me: error: conditional \"GTK_CAIRO\" was never defined.
13731 Usually this means the macro was only invoked conditionally." >&2;}
13732 { (exit 1); exit 1; }; }
13734 if test -z "${CREATE_QT_PEER_LIBRARIES_TRUE}" && test -z "${CREATE_QT_PEER_LIBRARIES_FALSE}"; then
13735 { { echo "$as_me:$LINENO: error: conditional \"CREATE_QT_PEER_LIBRARIES\" was never defined.
13736 Usually this means the macro was only invoked conditionally." >&5
13737 echo "$as_me: error: conditional \"CREATE_QT_PEER_LIBRARIES\" was never defined.
13738 Usually this means the macro was only invoked conditionally." >&2;}
13739 { (exit 1); exit 1; }; }
13741 if test -z "${CREATE_JNI_HEADERS_TRUE}" && test -z "${CREATE_JNI_HEADERS_FALSE}"; then
13742 { { echo "$as_me:$LINENO: error: conditional \"CREATE_JNI_HEADERS\" was never defined.
13743 Usually this means the macro was only invoked conditionally." >&5
13744 echo "$as_me: error: conditional \"CREATE_JNI_HEADERS\" was never defined.
13745 Usually this means the macro was only invoked conditionally." >&2;}
13746 { (exit 1); exit 1; }; }
13748 if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
13749 { { echo "$as_me:$LINENO: error: conditional \"AMDEP\" was never defined.
13750 Usually this means the macro was only invoked conditionally." >&5
13751 echo "$as_me: error: conditional \"AMDEP\" was never defined.
13752 Usually this means the macro was only invoked conditionally." >&2;}
13753 { (exit 1); exit 1; }; }
13755 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
13756 { { echo "$as_me:$LINENO: error: conditional \"am__fastdepCC\" was never defined.
13757 Usually this means the macro was only invoked conditionally." >&5
13758 echo "$as_me: error: conditional \"am__fastdepCC\" was never defined.
13759 Usually this means the macro was only invoked conditionally." >&2;}
13760 { (exit 1); exit 1; }; }
13762 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
13763 { { echo "$as_me:$LINENO: error: conditional \"am__fastdepCC\" was never defined.
13764 Usually this means the macro was only invoked conditionally." >&5
13765 echo "$as_me: error: conditional \"am__fastdepCC\" was never defined.
13766 Usually this means the macro was only invoked conditionally." >&2;}
13767 { (exit 1); exit 1; }; }
13769 if test -z "${am__fastdepCXX_TRUE}" && test -z "${am__fastdepCXX_FALSE}"; then
13770 { { echo "$as_me:$LINENO: error: conditional \"am__fastdepCXX\" was never defined.
13771 Usually this means the macro was only invoked conditionally." >&5
13772 echo "$as_me: error: conditional \"am__fastdepCXX\" was never defined.
13773 Usually this means the macro was only invoked conditionally." >&2;}
13774 { (exit 1); exit 1; }; }
13776 if test -z "${USER_SPECIFIED_JAVAH_TRUE}" && test -z "${USER_SPECIFIED_JAVAH_FALSE}"; then
13777 { { echo "$as_me:$LINENO: error: conditional \"USER_SPECIFIED_JAVAH\" was never defined.
13778 Usually this means the macro was only invoked conditionally." >&5
13779 echo "$as_me: error: conditional \"USER_SPECIFIED_JAVAH\" was never defined.
13780 Usually this means the macro was only invoked conditionally." >&2;}
13781 { (exit 1); exit 1; }; }
13783 if test -z "${FOUND_GCJ_TRUE}" && test -z "${FOUND_GCJ_FALSE}"; then
13784 { { echo "$as_me:$LINENO: error: conditional \"FOUND_GCJ\" was never defined.
13785 Usually this means the macro was only invoked conditionally." >&5
13786 echo "$as_me: error: conditional \"FOUND_GCJ\" was never defined.
13787 Usually this means the macro was only invoked conditionally." >&2;}
13788 { (exit 1); exit 1; }; }
13790 if test -z "${FOUND_JIKES_TRUE}" && test -z "${FOUND_JIKES_FALSE}"; then
13791 { { echo "$as_me:$LINENO: error: conditional \"FOUND_JIKES\" was never defined.
13792 Usually this means the macro was only invoked conditionally." >&5
13793 echo "$as_me: error: conditional \"FOUND_JIKES\" was never defined.
13794 Usually this means the macro was only invoked conditionally." >&2;}
13795 { (exit 1); exit 1; }; }
13797 if test -z "${FOUND_ECJ_TRUE}" && test -z "${FOUND_ECJ_FALSE}"; then
13798 { { echo "$as_me:$LINENO: error: conditional \"FOUND_ECJ\" was never defined.
13799 Usually this means the macro was only invoked conditionally." >&5
13800 echo "$as_me: error: conditional \"FOUND_ECJ\" was never defined.
13801 Usually this means the macro was only invoked conditionally." >&2;}
13802 { (exit 1); exit 1; }; }
13804 if test -z "${FOUND_GCJ_TRUE}" && test -z "${FOUND_GCJ_FALSE}"; then
13805 { { echo "$as_me:$LINENO: error: conditional \"FOUND_GCJ\" was never defined.
13806 Usually this means the macro was only invoked conditionally." >&5
13807 echo "$as_me: error: conditional \"FOUND_GCJ\" was never defined.
13808 Usually this means the macro was only invoked conditionally." >&2;}
13809 { (exit 1); exit 1; }; }
13811 if test -z "${FOUND_JIKES_TRUE}" && test -z "${FOUND_JIKES_FALSE}"; then
13812 { { echo "$as_me:$LINENO: error: conditional \"FOUND_JIKES\" was never defined.
13813 Usually this means the macro was only invoked conditionally." >&5
13814 echo "$as_me: error: conditional \"FOUND_JIKES\" was never defined.
13815 Usually this means the macro was only invoked conditionally." >&2;}
13816 { (exit 1); exit 1; }; }
13818 if test -z "${FOUND_ECJ_TRUE}" && test -z "${FOUND_ECJ_FALSE}"; then
13819 { { echo "$as_me:$LINENO: error: conditional \"FOUND_ECJ\" was never defined.
13820 Usually this means the macro was only invoked conditionally." >&5
13821 echo "$as_me: error: conditional \"FOUND_ECJ\" was never defined.
13822 Usually this means the macro was only invoked conditionally." >&2;}
13823 { (exit 1); exit 1; }; }
13825 if test -z "${FOUND_KJC_TRUE}" && test -z "${FOUND_KJC_FALSE}"; then
13826 { { echo "$as_me:$LINENO: error: conditional \"FOUND_KJC\" was never defined.
13827 Usually this means the macro was only invoked conditionally." >&5
13828 echo "$as_me: error: conditional \"FOUND_KJC\" was never defined.
13829 Usually this means the macro was only invoked conditionally." >&2;}
13830 { (exit 1); exit 1; }; }
13832 if test -z "${FOUND_GCJX_TRUE}" && test -z "${FOUND_GCJX_FALSE}"; then
13833 { { echo "$as_me:$LINENO: error: conditional \"FOUND_GCJX\" was never defined.
13834 Usually this means the macro was only invoked conditionally." >&5
13835 echo "$as_me: error: conditional \"FOUND_GCJX\" was never defined.
13836 Usually this means the macro was only invoked conditionally." >&2;}
13837 { (exit 1); exit 1; }; }
13839 if test -z "${USER_SPECIFIED_CLASSLIB_TRUE}" && test -z "${USER_SPECIFIED_CLASSLIB_FALSE}"; then
13840 { { echo "$as_me:$LINENO: error: conditional \"USER_SPECIFIED_CLASSLIB\" was never defined.
13841 Usually this means the macro was only invoked conditionally." >&5
13842 echo "$as_me: error: conditional \"USER_SPECIFIED_CLASSLIB\" was never defined.
13843 Usually this means the macro was only invoked conditionally." >&2;}
13844 { (exit 1); exit 1; }; }
13846 if test -z "${MAINTAINER_MODE_TRUE}" && test -z "${MAINTAINER_MODE_FALSE}"; then
13847 { { echo "$as_me:$LINENO: error: conditional \"MAINTAINER_MODE\" was never defined.
13848 Usually this means the macro was only invoked conditionally." >&5
13849 echo "$as_me: error: conditional \"MAINTAINER_MODE\" was never defined.
13850 Usually this means the macro was only invoked conditionally." >&2;}
13851 { (exit 1); exit 1; }; }
13853 if test -z "${INSTALL_GLIBJ_ZIP_TRUE}" && test -z "${INSTALL_GLIBJ_ZIP_FALSE}"; then
13854 { { echo "$as_me:$LINENO: error: conditional \"INSTALL_GLIBJ_ZIP\" was never defined.
13855 Usually this means the macro was only invoked conditionally." >&5
13856 echo "$as_me: error: conditional \"INSTALL_GLIBJ_ZIP\" was never defined.
13857 Usually this means the macro was only invoked conditionally." >&2;}
13858 { (exit 1); exit 1; }; }
13860 if test -z "${INSTALL_CLASS_FILES_TRUE}" && test -z "${INSTALL_CLASS_FILES_FALSE}"; then
13861 { { echo "$as_me:$LINENO: error: conditional \"INSTALL_CLASS_FILES\" was never defined.
13862 Usually this means the macro was only invoked conditionally." >&5
13863 echo "$as_me: error: conditional \"INSTALL_CLASS_FILES\" was never defined.
13864 Usually this means the macro was only invoked conditionally." >&2;}
13865 { (exit 1); exit 1; }; }
13867 if test -z "${BUILD_CLASS_FILES_TRUE}" && test -z "${BUILD_CLASS_FILES_FALSE}"; then
13868 { { echo "$as_me:$LINENO: error: conditional \"BUILD_CLASS_FILES\" was never defined.
13869 Usually this means the macro was only invoked conditionally." >&5
13870 echo "$as_me: error: conditional \"BUILD_CLASS_FILES\" was never defined.
13871 Usually this means the macro was only invoked conditionally." >&2;}
13872 { (exit 1); exit 1; }; }
13874 if test -z "${CREATE_API_DOCS_TRUE}" && test -z "${CREATE_API_DOCS_FALSE}"; then
13875 { { echo "$as_me:$LINENO: error: conditional \"CREATE_API_DOCS\" was never defined.
13876 Usually this means the macro was only invoked conditionally." >&5
13877 echo "$as_me: error: conditional \"CREATE_API_DOCS\" was never defined.
13878 Usually this means the macro was only invoked conditionally." >&2;}
13879 { (exit 1); exit 1; }; }
13881 if test -z "${REGEN_PARSERS_TRUE}" && test -z "${REGEN_PARSERS_FALSE}"; then
13882 { { echo "$as_me:$LINENO: error: conditional \"REGEN_PARSERS\" was never defined.
13883 Usually this means the macro was only invoked conditionally." >&5
13884 echo "$as_me: error: conditional \"REGEN_PARSERS\" was never defined.
13885 Usually this means the macro was only invoked conditionally." >&2;}
13886 { (exit 1); exit 1; }; }
13889 : ${CONFIG_STATUS=./config.status}
13890 ac_clean_files_save
=$ac_clean_files
13891 ac_clean_files
="$ac_clean_files $CONFIG_STATUS"
13892 { echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
13893 echo "$as_me: creating $CONFIG_STATUS" >&6;}
13894 cat >$CONFIG_STATUS <<_ACEOF
13896 # Generated by $as_me.
13897 # Run this file to recreate the current configuration.
13898 # Compiler output produced by configure, useful for debugging
13899 # configure, is in config.log if it exists.
13902 ac_cs_recheck=false
13904 SHELL=\${CONFIG_SHELL-$SHELL}
13907 cat >>$CONFIG_STATUS <<\_ACEOF
13908 ## --------------------- ##
13909 ## M4sh Initialization. ##
13910 ## --------------------- ##
13912 # Be Bourne compatible
13913 if test -n "${ZSH_VERSION+set}" && (emulate sh
) >/dev
/null
2>&1; then
13916 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
13917 # is contrary to our usage. Disable this feature.
13918 alias -g '${1+"$@"}'='"$@"'
13919 elif test -n "${BASH_VERSION+set}" && (set -o posix
) >/dev
/null
2>&1; then
13922 DUALCASE
=1; export DUALCASE
# for MKS sh
13924 # Support unset when possible.
13925 if ( (MAIL
=60; unset MAIL
) ||
exit) >/dev
/null
2>&1; then
13932 # Work around bugs in pre-3.0 UWIN ksh.
13933 $as_unset ENV MAIL MAILPATH
13940 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
13941 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
13942 LC_TELEPHONE LC_TIME
13944 if (set +x
; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
13945 eval $as_var=C
; export $as_var
13951 # Required to use basename.
13952 if expr a
: '\(a\)' >/dev
/null
2>&1; then
13958 if (basename /) >/dev
/null
2>&1 && test "X`basename / 2>&1`" = "X/"; then
13959 as_basename
=basename
13965 # Name of the executable.
13966 as_me
=`$as_basename "$0" ||
13967 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
13968 X"$0" : 'X\(//\)$' \| \
13969 X"$0" : 'X\(/\)$' \| \
13970 . : '\(.\)' 2>/dev/null ||
13972 sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; }
13973 /^X\/\(\/\/\)$/{ s//\1/; q; }
13974 /^X\/\(\/\).*/{ s//\1/; q; }
13978 # PATH needs CR, and LINENO needs CR and PATH.
13979 # Avoid depending upon Character Ranges.
13980 as_cr_letters
='abcdefghijklmnopqrstuvwxyz'
13981 as_cr_LETTERS
='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
13982 as_cr_Letters
=$as_cr_letters$as_cr_LETTERS
13983 as_cr_digits
='0123456789'
13984 as_cr_alnum
=$as_cr_Letters$as_cr_digits
13986 # The user is always right.
13987 if test "${PATH_SEPARATOR+set}" != set; then
13988 echo "#! /bin/sh" >conf$$.sh
13989 echo "exit 0" >>conf$$.sh
13991 if (PATH
="/nonexistent;."; conf$$.sh
) >/dev
/null
2>&1; then
14000 as_lineno_1
=$LINENO
14001 as_lineno_2
=$LINENO
14002 as_lineno_3
=`(expr $as_lineno_1 + 1) 2>/dev/null`
14003 test "x$as_lineno_1" != "x$as_lineno_2" &&
14004 test "x$as_lineno_3" = "x$as_lineno_2" ||
{
14005 # Find who we are. Look in the path if we contain no path at all
14008 *[\\/]* ) as_myself
=$0 ;;
14009 *) as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
14010 for as_dir
in $PATH
14013 test -z "$as_dir" && as_dir
=.
14014 test -r "$as_dir/$0" && as_myself
=$as_dir/$0 && break
14019 # We did not find ourselves, most probably we were run as `sh COMMAND'
14020 # in which case we are not to be found in the path.
14021 if test "x$as_myself" = x
; then
14024 if test ! -f "$as_myself"; then
14025 { { echo "$as_me:$LINENO: error: cannot find myself; rerun with an absolute path" >&5
14026 echo "$as_me: error: cannot find myself; rerun with an absolute path" >&2;}
14027 { (exit 1); exit 1; }; }
14029 case $CONFIG_SHELL in
14031 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
14032 for as_dir
in /bin
$PATH_SEPARATOR/usr
/bin
$PATH_SEPARATOR$PATH
14035 test -z "$as_dir" && as_dir
=.
14036 for as_base
in sh bash ksh sh5
; do
14039 if ("$as_dir/$as_base" -c '
14040 as_lineno_1=$LINENO
14041 as_lineno_2=$LINENO
14042 as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
14043 test "x$as_lineno_1" != "x$as_lineno_2" &&
14044 test "x$as_lineno_3" = "x$as_lineno_2" ') 2>/dev
/null
; then
14045 $as_unset BASH_ENV ||
test "${BASH_ENV+set}" != set ||
{ BASH_ENV
=; export BASH_ENV
; }
14046 $as_unset ENV ||
test "${ENV+set}" != set ||
{ ENV
=; export ENV
; }
14047 CONFIG_SHELL
=$as_dir/$as_base
14048 export CONFIG_SHELL
14049 exec "$CONFIG_SHELL" "$0" ${1+"$@"}
14057 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
14058 # uniformly replaced by the line number. The first 'sed' inserts a
14059 # line-number line before each line; the second 'sed' does the real
14060 # work. The second script uses 'N' to pair each line-number line
14061 # with the numbered line, and appends trailing '-' during
14062 # substitution so that $LINENO is not a special case at line end.
14063 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
14064 # second 'sed' script. Blame Lee E. McMahon for sed's syntax. :-)
14065 sed '=' <$as_myself |
14070 s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3,
14073 s,^['$as_cr_digits']*\n,,
14074 ' >$as_me.lineno
&&
14075 chmod +x
$as_me.lineno ||
14076 { { echo "$as_me:$LINENO: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&5
14077 echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2;}
14078 { (exit 1); exit 1; }; }
14080 # Don't try to exec as it changes $[0], causing all sort of problems
14081 # (the dirname of $[0] is not the place where we might find the
14082 # original and so on. Autoconf is especially sensible to this).
14084 # Exit status is that of the last command.
14089 case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in
14090 *c
*,-n*) ECHO_N
= ECHO_C
='
14092 *c
*,* ) ECHO_N
=-n ECHO_C
= ECHO_T
= ;;
14093 *) ECHO_N
= ECHO_C
='\c' ECHO_T
= ;;
14096 if expr a
: '\(a\)' >/dev
/null
2>&1; then
14102 rm -f conf$$ conf$$.exe conf$$.
file
14104 if ln -s conf$$.
file conf$$
2>/dev
/null
; then
14105 # We could just check for DJGPP; but this test a) works b) is more generic
14106 # and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04).
14107 if test -f conf$$.exe
; then
14108 # Don't use ln at all; we don't have any links
14113 elif ln conf$$.
file conf$$
2>/dev
/null
; then
14118 rm -f conf$$ conf$$.exe conf$$.
file
14120 if mkdir
-p .
2>/dev
/null
; then
14123 test -d .
/-p && rmdir .
/-p
14127 as_executable_p
="test -f"
14129 # Sed expression to map a string onto a valid CPP name.
14130 as_tr_cpp
="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
14132 # Sed expression to map a string onto a valid variable name.
14133 as_tr_sh
="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
14137 # We need space, tab and new line, in precisely that order.
14147 # Open the log real soon, to keep \$[0] and so on meaningful, and to
14148 # report actual input values of CONFIG_FILES etc. instead of their
14149 # values after options handling. Logging --version etc. is OK.
14153 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
14154 ## Running $as_me. ##
14159 This file was extended by GNU Classpath $as_me 0.18, which was
14160 generated by GNU Autoconf 2.59. Invocation command line was
14162 CONFIG_FILES = $CONFIG_FILES
14163 CONFIG_HEADERS = $CONFIG_HEADERS
14164 CONFIG_LINKS = $CONFIG_LINKS
14165 CONFIG_COMMANDS = $CONFIG_COMMANDS
14169 echo "on `(hostname || uname -n) 2>/dev/null | sed 1q`" >&5
14173 # Files that config.status was made for.
14174 if test -n "$ac_config_files"; then
14175 echo "config_files=\"$ac_config_files\"" >>$CONFIG_STATUS
14178 if test -n "$ac_config_headers"; then
14179 echo "config_headers=\"$ac_config_headers\"" >>$CONFIG_STATUS
14182 if test -n "$ac_config_links"; then
14183 echo "config_links=\"$ac_config_links\"" >>$CONFIG_STATUS
14186 if test -n "$ac_config_commands"; then
14187 echo "config_commands=\"$ac_config_commands\"" >>$CONFIG_STATUS
14190 cat >>$CONFIG_STATUS <<\_ACEOF
14193 \`$as_me' instantiates files from templates according to the
14194 current configuration.
14196 Usage: $0 [OPTIONS] [FILE]...
14198 -h, --help print this help, then exit
14199 -V, --version print version number, then exit
14200 -q, --quiet do not print progress messages
14201 -d, --debug don't remove temporary files
14202 --recheck update $as_me by reconfiguring in the same conditions
14203 --file=FILE[:TEMPLATE]
14204 instantiate the configuration file FILE
14205 --header=FILE[:TEMPLATE]
14206 instantiate the configuration header FILE
14208 Configuration files:
14211 Configuration headers:
14214 Configuration links:
14217 Configuration commands:
14220 Report bugs to <bug-autoconf@gnu.org>."
14223 cat >>$CONFIG_STATUS <<_ACEOF
14225 GNU Classpath config.status 0.18
14226 configured by $0, generated by GNU Autoconf 2.59,
14227 with options \\"`echo "$ac_configure_args" | sed 's/[\\""\`\$]/\\\\&/g'`\\"
14229 Copyright (C) 2003 Free Software Foundation, Inc.
14230 This config.status script is free software; the Free Software Foundation
14231 gives unlimited permission to copy, distribute and modify it."
14236 cat >>$CONFIG_STATUS <<\_ACEOF
14237 # If no file are specified by the user, then we need to provide default
14238 # value. By we need to know if files were specified by the user.
14244 ac_option
=`expr "x$1" : 'x\([^=]*\)='`
14245 ac_optarg
=`expr "x$1" : 'x[^=]*=\(.*\)'`
14253 *) # This is not an option, so the user has probably given explicit
14256 ac_need_defaults
=false
;;
14260 # Handling of the options.
14262 cat >>$CONFIG_STATUS <<\_ACEOF
14263 -recheck |
--recheck |
--rechec |
--reche |
--rech |
--rec |
--re |
--r)
14265 --version |
--vers* |
-V )
14266 echo "$ac_cs_version"; exit 0 ;;
14268 # Conflict between --help and --header
14269 { { echo "$as_me:$LINENO: error: ambiguous option: $1
14270 Try \`$0 --help' for more information." >&5
14271 echo "$as_me: error: ambiguous option: $1
14272 Try \`$0 --help' for more information." >&2;}
14273 { (exit 1); exit 1; }; };;
14274 --help |
--hel |
-h )
14275 echo "$ac_cs_usage"; exit 0 ;;
14276 --debug |
--d* |
-d )
14278 --file |
--fil |
--fi |
--f )
14280 CONFIG_FILES
="$CONFIG_FILES $ac_optarg"
14281 ac_need_defaults
=false
;;
14282 --header |
--heade |
--head |
--hea )
14284 CONFIG_HEADERS
="$CONFIG_HEADERS $ac_optarg"
14285 ac_need_defaults
=false
;;
14286 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
14287 |
-silent |
--silent |
--silen |
--sile |
--sil |
--si |
--s)
14290 # This is an error.
14291 -*) { { echo "$as_me:$LINENO: error: unrecognized option: $1
14292 Try \`$0 --help' for more information." >&5
14293 echo "$as_me: error: unrecognized option: $1
14294 Try \`$0 --help' for more information." >&2;}
14295 { (exit 1); exit 1; }; } ;;
14297 *) ac_config_targets
="$ac_config_targets $1" ;;
14303 ac_configure_extra_args
=
14305 if $ac_cs_silent; then
14307 ac_configure_extra_args
="$ac_configure_extra_args --silent"
14311 cat >>$CONFIG_STATUS <<_ACEOF
14312 if \$ac_cs_recheck; then
14313 echo "running $SHELL $0 " $ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6
14314 exec $SHELL $0 $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
14319 cat >>$CONFIG_STATUS <<_ACEOF
14321 # INIT-COMMANDS section.
14324 AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
14330 cat >>$CONFIG_STATUS <<\_ACEOF
14331 for ac_config_target
in $ac_config_targets
14333 case "$ac_config_target" in
14334 # Handling of arguments.
14335 "Makefile" ) CONFIG_FILES
="$CONFIG_FILES Makefile" ;;
14336 "doc/Makefile" ) CONFIG_FILES
="$CONFIG_FILES doc/Makefile" ;;
14337 "doc/api/Makefile" ) CONFIG_FILES
="$CONFIG_FILES doc/api/Makefile" ;;
14338 "external/Makefile" ) CONFIG_FILES
="$CONFIG_FILES external/Makefile" ;;
14339 "external/sax/Makefile" ) CONFIG_FILES
="$CONFIG_FILES external/sax/Makefile" ;;
14340 "external/w3c_dom/Makefile" ) CONFIG_FILES
="$CONFIG_FILES external/w3c_dom/Makefile" ;;
14341 "gnu/classpath/Configuration.java" ) CONFIG_FILES
="$CONFIG_FILES gnu/classpath/Configuration.java" ;;
14342 "include/Makefile" ) CONFIG_FILES
="$CONFIG_FILES include/Makefile" ;;
14343 "native/Makefile" ) CONFIG_FILES
="$CONFIG_FILES native/Makefile" ;;
14344 "native/fdlibm/Makefile" ) CONFIG_FILES
="$CONFIG_FILES native/fdlibm/Makefile" ;;
14345 "native/jawt/Makefile" ) CONFIG_FILES
="$CONFIG_FILES native/jawt/Makefile" ;;
14346 "native/jni/Makefile" ) CONFIG_FILES
="$CONFIG_FILES native/jni/Makefile" ;;
14347 "native/jni/classpath/Makefile" ) CONFIG_FILES
="$CONFIG_FILES native/jni/classpath/Makefile" ;;
14348 "native/jni/java-io/Makefile" ) CONFIG_FILES
="$CONFIG_FILES native/jni/java-io/Makefile" ;;
14349 "native/jni/java-lang/Makefile" ) CONFIG_FILES
="$CONFIG_FILES native/jni/java-lang/Makefile" ;;
14350 "native/jni/java-net/Makefile" ) CONFIG_FILES
="$CONFIG_FILES native/jni/java-net/Makefile" ;;
14351 "native/jni/java-nio/Makefile" ) CONFIG_FILES
="$CONFIG_FILES native/jni/java-nio/Makefile" ;;
14352 "native/jni/java-util/Makefile" ) CONFIG_FILES
="$CONFIG_FILES native/jni/java-util/Makefile" ;;
14353 "native/jni/gtk-peer/Makefile" ) CONFIG_FILES
="$CONFIG_FILES native/jni/gtk-peer/Makefile" ;;
14354 "native/jni/qt-peer/Makefile" ) CONFIG_FILES
="$CONFIG_FILES native/jni/qt-peer/Makefile" ;;
14355 "native/jni/xmlj/Makefile" ) CONFIG_FILES
="$CONFIG_FILES native/jni/xmlj/Makefile" ;;
14356 "native/target/Makefile" ) CONFIG_FILES
="$CONFIG_FILES native/target/Makefile" ;;
14357 "native/target/Linux/Makefile" ) CONFIG_FILES
="$CONFIG_FILES native/target/Linux/Makefile" ;;
14358 "native/target/generic/Makefile" ) CONFIG_FILES
="$CONFIG_FILES native/target/generic/Makefile" ;;
14359 "resource/Makefile" ) CONFIG_FILES
="$CONFIG_FILES resource/Makefile" ;;
14360 "scripts/Makefile" ) CONFIG_FILES
="$CONFIG_FILES scripts/Makefile" ;;
14361 "scripts/classpath.spec" ) CONFIG_FILES
="$CONFIG_FILES scripts/classpath.spec" ;;
14362 "lib/Makefile" ) CONFIG_FILES
="$CONFIG_FILES lib/Makefile" ;;
14363 "lib/gen-classlist.sh" ) CONFIG_FILES
="$CONFIG_FILES lib/gen-classlist.sh" ;;
14364 "examples/Makefile" ) CONFIG_FILES
="$CONFIG_FILES examples/Makefile" ;;
14365 "examples/Makefile.jawt" ) CONFIG_FILES
="$CONFIG_FILES examples/Makefile.jawt" ;;
14366 "$ac_config_links_1" ) CONFIG_LINKS
="$CONFIG_LINKS $ac_config_links_1" ;;
14367 "depfiles" ) CONFIG_COMMANDS
="$CONFIG_COMMANDS depfiles" ;;
14368 "gen-classlist" ) CONFIG_COMMANDS
="$CONFIG_COMMANDS gen-classlist" ;;
14369 "include/config.h" ) CONFIG_HEADERS
="$CONFIG_HEADERS include/config.h" ;;
14370 *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
14371 echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
14372 { (exit 1); exit 1; }; };;
14376 # If the user did not use the arguments to specify the items to instantiate,
14377 # then the envvar interface is used. Set only those that are not.
14378 # We use the long form for the default assignment because of an extremely
14379 # bizarre bug on SunOS 4.1.3.
14380 if $ac_need_defaults; then
14381 test "${CONFIG_FILES+set}" = set || CONFIG_FILES
=$config_files
14382 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS
=$config_headers
14383 test "${CONFIG_LINKS+set}" = set || CONFIG_LINKS
=$config_links
14384 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS
=$config_commands
14387 # Have a temporary directory for convenience. Make it in the build tree
14388 # simply because there is no reason to put it here, and in addition,
14389 # creating and moving files from /tmp can sometimes cause problems.
14390 # Create a temporary directory, and hook for its removal unless debugging.
14393 trap 'exit_status=$?; rm -rf $tmp && exit $exit_status' 0
14394 trap '{ (exit 1); exit 1; }' 1 2 13 15
14397 # Create a (secure) tmp directory for tmp files.
14400 tmp
=`(umask 077 && mktemp -d -q "./confstatXXXXXX") 2>/dev/null` &&
14401 test -n "$tmp" && test -d "$tmp"
14404 tmp
=.
/confstat$$
-$RANDOM
14405 (umask 077 && mkdir
$tmp)
14408 echo "$me: cannot create a temporary directory in ." >&2
14409 { (exit 1); exit 1; }
14414 cat >>$CONFIG_STATUS <<_ACEOF
14417 # CONFIG_FILES section.
14420 # No need to generate the scripts if there are no CONFIG_FILES.
14421 # This happens for instance when ./config.status config.h
14422 if test -n "\$CONFIG_FILES"; then
14423 # Protect against being on the right side of a sed subst in config.status.
14424 sed 's/,@/@@/; s/@,/@@/; s/,;t t\$/@;t t/; /@;t t\$/s/[\\\\&,]/\\\\&/g;
14425 s/@@/,@/; s/@@/@,/; s/@;t t\$/,;t t/' >\$tmp/subs.sed <<\\CEOF
14426 s,@SHELL@,$SHELL,;t t
14427 s,@PATH_SEPARATOR@,$PATH_SEPARATOR,;t t
14428 s,@PACKAGE_NAME@,$PACKAGE_NAME,;t t
14429 s,@PACKAGE_TARNAME@,$PACKAGE_TARNAME,;t t
14430 s,@PACKAGE_VERSION@,$PACKAGE_VERSION,;t t
14431 s,@PACKAGE_STRING@,$PACKAGE_STRING,;t t
14432 s,@PACKAGE_BUGREPORT@,$PACKAGE_BUGREPORT,;t t
14433 s,@exec_prefix@,$exec_prefix,;t t
14434 s,@prefix@,$prefix,;t t
14435 s,@program_transform_name@,$program_transform_name,;t t
14436 s,@bindir@,$bindir,;t t
14437 s,@sbindir@,$sbindir,;t t
14438 s,@libexecdir@,$libexecdir,;t t
14439 s,@datadir@,$datadir,;t t
14440 s,@sysconfdir@,$sysconfdir,;t t
14441 s,@sharedstatedir@,$sharedstatedir,;t t
14442 s,@localstatedir@,$localstatedir,;t t
14443 s,@libdir@,$libdir,;t t
14444 s,@includedir@,$includedir,;t t
14445 s,@oldincludedir@,$oldincludedir,;t t
14446 s,@infodir@,$infodir,;t t
14447 s,@mandir@,$mandir,;t t
14448 s,@build_alias@,$build_alias,;t t
14449 s,@host_alias@,$host_alias,;t t
14450 s,@target_alias@,$target_alias,;t t
14451 s,@DEFS@,$DEFS,;t t
14452 s,@ECHO_C@,$ECHO_C,;t t
14453 s,@ECHO_N@,$ECHO_N,;t t
14454 s,@ECHO_T@,$ECHO_T,;t t
14455 s,@LIBS@,$LIBS,;t t
14456 s,@build@,$build,;t t
14457 s,@build_cpu@,$build_cpu,;t t
14458 s,@build_vendor@,$build_vendor,;t t
14459 s,@build_os@,$build_os,;t t
14460 s,@host@,$host,;t t
14461 s,@host_cpu@,$host_cpu,;t t
14462 s,@host_vendor@,$host_vendor,;t t
14463 s,@host_os@,$host_os,;t t
14464 s,@target@,$target,;t t
14465 s,@target_cpu@,$target_cpu,;t t
14466 s,@target_vendor@,$target_vendor,;t t
14467 s,@target_os@,$target_os,;t t
14468 s,@LIBVERSION@,$LIBVERSION,;t t
14469 s,@CLASSPATH_MODULE@,$CLASSPATH_MODULE,;t t
14470 s,@INSTALL_PROGRAM@,$INSTALL_PROGRAM,;t t
14471 s,@INSTALL_SCRIPT@,$INSTALL_SCRIPT,;t t
14472 s,@INSTALL_DATA@,$INSTALL_DATA,;t t
14473 s,@CYGPATH_W@,$CYGPATH_W,;t t
14474 s,@PACKAGE@,$PACKAGE,;t t
14475 s,@VERSION@,$VERSION,;t t
14476 s,@ACLOCAL@,$ACLOCAL,;t t
14477 s,@AUTOCONF@,$AUTOCONF,;t t
14478 s,@AUTOMAKE@,$AUTOMAKE,;t t
14479 s,@AUTOHEADER@,$AUTOHEADER,;t t
14480 s,@MAKEINFO@,$MAKEINFO,;t t
14481 s,@install_sh@,$install_sh,;t t
14482 s,@STRIP@,$STRIP,;t t
14483 s,@ac_ct_STRIP@,$ac_ct_STRIP,;t t
14484 s,@INSTALL_STRIP_PROGRAM@,$INSTALL_STRIP_PROGRAM,;t t
14485 s,@mkdir_p@,$mkdir_p,;t t
14487 s,@SET_MAKE@,$SET_MAKE,;t t
14488 s,@am__leading_dot@,$am__leading_dot,;t t
14489 s,@AMTAR@,$AMTAR,;t t
14490 s,@am__tar@,$am__tar,;t t
14491 s,@am__untar@,$am__untar,;t t
14492 s,@CREATE_JNI_LIBRARIES_TRUE@,$CREATE_JNI_LIBRARIES_TRUE,;t t
14493 s,@CREATE_JNI_LIBRARIES_FALSE@,$CREATE_JNI_LIBRARIES_FALSE,;t t
14494 s,@CREATE_CORE_JNI_LIBRARIES_TRUE@,$CREATE_CORE_JNI_LIBRARIES_TRUE,;t t
14495 s,@CREATE_CORE_JNI_LIBRARIES_FALSE@,$CREATE_CORE_JNI_LIBRARIES_FALSE,;t t
14496 s,@default_toolkit@,$default_toolkit,;t t
14497 s,@CREATE_XMLJ_LIBRARY_TRUE@,$CREATE_XMLJ_LIBRARY_TRUE,;t t
14498 s,@CREATE_XMLJ_LIBRARY_FALSE@,$CREATE_XMLJ_LIBRARY_FALSE,;t t
14499 s,@CREATE_GTK_PEER_LIBRARIES_TRUE@,$CREATE_GTK_PEER_LIBRARIES_TRUE,;t t
14500 s,@CREATE_GTK_PEER_LIBRARIES_FALSE@,$CREATE_GTK_PEER_LIBRARIES_FALSE,;t t
14501 s,@GTK_CAIRO_ENABLED@,$GTK_CAIRO_ENABLED,;t t
14502 s,@GTK_CAIRO_TRUE@,$GTK_CAIRO_TRUE,;t t
14503 s,@GTK_CAIRO_FALSE@,$GTK_CAIRO_FALSE,;t t
14504 s,@CREATE_QT_PEER_LIBRARIES_TRUE@,$CREATE_QT_PEER_LIBRARIES_TRUE,;t t
14505 s,@CREATE_QT_PEER_LIBRARIES_FALSE@,$CREATE_QT_PEER_LIBRARIES_FALSE,;t t
14506 s,@CREATE_JNI_HEADERS_TRUE@,$CREATE_JNI_HEADERS_TRUE,;t t
14507 s,@CREATE_JNI_HEADERS_FALSE@,$CREATE_JNI_HEADERS_FALSE,;t t
14508 s,@LN_S@,$LN_S,;t t
14510 s,@CFLAGS@,$CFLAGS,;t t
14511 s,@LDFLAGS@,$LDFLAGS,;t t
14512 s,@CPPFLAGS@,$CPPFLAGS,;t t
14513 s,@ac_ct_CC@,$ac_ct_CC,;t t
14514 s,@EXEEXT@,$EXEEXT,;t t
14515 s,@OBJEXT@,$OBJEXT,;t t
14516 s,@DEPDIR@,$DEPDIR,;t t
14517 s,@am__include@,$am__include,;t t
14518 s,@am__quote@,$am__quote,;t t
14519 s,@AMDEP_TRUE@,$AMDEP_TRUE,;t t
14520 s,@AMDEP_FALSE@,$AMDEP_FALSE,;t t
14521 s,@AMDEPBACKSLASH@,$AMDEPBACKSLASH,;t t
14522 s,@CCDEPMODE@,$CCDEPMODE,;t t
14523 s,@am__fastdepCC_TRUE@,$am__fastdepCC_TRUE,;t t
14524 s,@am__fastdepCC_FALSE@,$am__fastdepCC_FALSE,;t t
14525 s,@RANLIB@,$RANLIB,;t t
14526 s,@ac_ct_RANLIB@,$ac_ct_RANLIB,;t t
14527 s,@LIBTOOL@,$LIBTOOL,;t t
14530 s,@CXXFLAGS@,$CXXFLAGS,;t t
14531 s,@ac_ct_CXX@,$ac_ct_CXX,;t t
14532 s,@CXXDEPMODE@,$CXXDEPMODE,;t t
14533 s,@am__fastdepCXX_TRUE@,$am__fastdepCXX_TRUE,;t t
14534 s,@am__fastdepCXX_FALSE@,$am__fastdepCXX_FALSE,;t t
14535 s,@CXXCPP@,$CXXCPP,;t t
14536 s,@EGREP@,$EGREP,;t t
14537 s,@LIBICONV@,$LIBICONV,;t t
14538 s,@LTLIBICONV@,$LTLIBICONV,;t t
14539 s,@WARNING_CFLAGS@,$WARNING_CFLAGS,;t t
14540 s,@STRICT_WARNING_CFLAGS@,$STRICT_WARNING_CFLAGS,;t t
14541 s,@ERROR_CFLAGS@,$ERROR_CFLAGS,;t t
14542 s,@PKG_CONFIG@,$PKG_CONFIG,;t t
14543 s,@XML_CFLAGS@,$XML_CFLAGS,;t t
14544 s,@XML_LIBS@,$XML_LIBS,;t t
14545 s,@XSLT_CFLAGS@,$XSLT_CFLAGS,;t t
14546 s,@XSLT_LIBS@,$XSLT_LIBS,;t t
14547 s,@X_CFLAGS@,$X_CFLAGS,;t t
14548 s,@X_PRE_LIBS@,$X_PRE_LIBS,;t t
14549 s,@X_LIBS@,$X_LIBS,;t t
14550 s,@X_EXTRA_LIBS@,$X_EXTRA_LIBS,;t t
14551 s,@GTK_CFLAGS@,$GTK_CFLAGS,;t t
14552 s,@GTK_LIBS@,$GTK_LIBS,;t t
14553 s,@QT_CFLAGS@,$QT_CFLAGS,;t t
14554 s,@QT_LIBS@,$QT_LIBS,;t t
14556 s,@CAIRO_CFLAGS@,$CAIRO_CFLAGS,;t t
14557 s,@CAIRO_LIBS@,$CAIRO_LIBS,;t t
14558 s,@PANGOFT2_CFLAGS@,$PANGOFT2_CFLAGS,;t t
14559 s,@PANGOFT2_LIBS@,$PANGOFT2_LIBS,;t t
14560 s,@USER_JAVAH@,$USER_JAVAH,;t t
14561 s,@USER_SPECIFIED_JAVAH_TRUE@,$USER_SPECIFIED_JAVAH_TRUE,;t t
14562 s,@USER_SPECIFIED_JAVAH_FALSE@,$USER_SPECIFIED_JAVAH_FALSE,;t t
14563 s,@CLASSPATH_INCLUDES@,$CLASSPATH_INCLUDES,;t t
14565 s,@JIKES@,$JIKES,;t t
14566 s,@JIKESENCODING@,$JIKESENCODING,;t t
14568 s,@GCJX@,$GCJX,;t t
14570 s,@FOUND_GCJ_TRUE@,$FOUND_GCJ_TRUE,;t t
14571 s,@FOUND_GCJ_FALSE@,$FOUND_GCJ_FALSE,;t t
14572 s,@FOUND_JIKES_TRUE@,$FOUND_JIKES_TRUE,;t t
14573 s,@FOUND_JIKES_FALSE@,$FOUND_JIKES_FALSE,;t t
14574 s,@FOUND_ECJ_TRUE@,$FOUND_ECJ_TRUE,;t t
14575 s,@FOUND_ECJ_FALSE@,$FOUND_ECJ_FALSE,;t t
14576 s,@FOUND_KJC_TRUE@,$FOUND_KJC_TRUE,;t t
14577 s,@FOUND_KJC_FALSE@,$FOUND_KJC_FALSE,;t t
14578 s,@FOUND_GCJX_TRUE@,$FOUND_GCJX_TRUE,;t t
14579 s,@FOUND_GCJX_FALSE@,$FOUND_GCJX_FALSE,;t t
14580 s,@USER_CLASSLIB@,$USER_CLASSLIB,;t t
14581 s,@USER_SPECIFIED_CLASSLIB_TRUE@,$USER_SPECIFIED_CLASSLIB_TRUE,;t t
14582 s,@USER_SPECIFIED_CLASSLIB_FALSE@,$USER_SPECIFIED_CLASSLIB_FALSE,;t t
14583 s,@vm_classes@,$vm_classes,;t t
14584 s,@MAINTAINER_MODE_TRUE@,$MAINTAINER_MODE_TRUE,;t t
14585 s,@MAINTAINER_MODE_FALSE@,$MAINTAINER_MODE_FALSE,;t t
14586 s,@MAINT@,$MAINT,;t t
14587 s,@LIBDEBUG@,$LIBDEBUG,;t t
14588 s,@INIT_LOAD_LIBRARY@,$INIT_LOAD_LIBRARY,;t t
14589 s,@JAVA_LANG_SYSTEM_EXPLICIT_INITIALIZATION@,$JAVA_LANG_SYSTEM_EXPLICIT_INITIALIZATION,;t t
14590 s,@REMOVE@,$REMOVE,;t t
14591 s,@MKDIR@,$MKDIR,;t t
14593 s,@DATE@,$DATE,;t t
14594 s,@FIND@,$FIND,;t t
14596 s,@INSTALL_GLIBJ_ZIP_TRUE@,$INSTALL_GLIBJ_ZIP_TRUE,;t t
14597 s,@INSTALL_GLIBJ_ZIP_FALSE@,$INSTALL_GLIBJ_ZIP_FALSE,;t t
14598 s,@INSTALL_CLASS_FILES_TRUE@,$INSTALL_CLASS_FILES_TRUE,;t t
14599 s,@INSTALL_CLASS_FILES_FALSE@,$INSTALL_CLASS_FILES_FALSE,;t t
14600 s,@BUILD_CLASS_FILES_TRUE@,$BUILD_CLASS_FILES_TRUE,;t t
14601 s,@BUILD_CLASS_FILES_FALSE@,$BUILD_CLASS_FILES_FALSE,;t t
14602 s,@EXAMPLESDIR@,$EXAMPLESDIR,;t t
14603 s,@GJDOC@,$GJDOC,;t t
14604 s,@CREATE_API_DOCS_TRUE@,$CREATE_API_DOCS_TRUE,;t t
14605 s,@CREATE_API_DOCS_FALSE@,$CREATE_API_DOCS_FALSE,;t t
14607 s,@JAY_SKELETON@,$JAY_SKELETON,;t t
14608 s,@REGEN_PARSERS_TRUE@,$REGEN_PARSERS_TRUE,;t t
14609 s,@REGEN_PARSERS_FALSE@,$REGEN_PARSERS_FALSE,;t t
14610 s,@LIBOBJS@,$LIBOBJS,;t t
14611 s,@LTLIBOBJS@,$LTLIBOBJS,;t t
14616 cat >>$CONFIG_STATUS <<\_ACEOF
14617 # Split the substitutions into bite-sized pieces for seds with
14618 # small command number limits, like on Digital OSF/1 and HP-UX.
14619 ac_max_sed_lines
=48
14620 ac_sed_frag
=1 # Number of current file.
14621 ac_beg
=1 # First line for current file.
14622 ac_end
=$ac_max_sed_lines # Line after last line for current file.
14625 while $ac_more_lines; do
14626 if test $ac_beg -gt 1; then
14627 sed "1,${ac_beg}d; ${ac_end}q" $tmp/subs.
sed >$tmp/subs.frag
14629 sed "${ac_end}q" $tmp/subs.
sed >$tmp/subs.frag
14631 if test ! -s $tmp/subs.frag
; then
14632 ac_more_lines
=false
14634 # The purpose of the label and of the branching condition is to
14635 # speed up the sed processing (if there are no `@' at all, there
14636 # is no need to browse any of the substitutions).
14637 # These are the two extra sed commands mentioned above.
14639 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b' && cat $tmp/subs.frag
) >$tmp/subs-
$ac_sed_frag.
sed
14640 if test -z "$ac_sed_cmds"; then
14641 ac_sed_cmds
="sed -f $tmp/subs-$ac_sed_frag.sed"
14643 ac_sed_cmds
="$ac_sed_cmds | sed -f $tmp/subs-$ac_sed_frag.sed"
14645 ac_sed_frag
=`expr $ac_sed_frag + 1`
14647 ac_end
=`expr $ac_end + $ac_max_sed_lines`
14650 if test -z "$ac_sed_cmds"; then
14653 fi # test -n "$CONFIG_FILES"
14656 cat >>$CONFIG_STATUS <<\_ACEOF
14657 for ac_file
in : $CONFIG_FILES; do test "x$ac_file" = x
: && continue
14658 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
14660 - |
*:- |
*:-:* ) # input from stdin
14662 ac_file_in
=`echo "$ac_file" | sed 's,[^:]*:,,'`
14663 ac_file
=`echo "$ac_file" | sed 's,:.*,,'` ;;
14664 *:* ) ac_file_in
=`echo "$ac_file" | sed 's,[^:]*:,,'`
14665 ac_file
=`echo "$ac_file" | sed 's,:.*,,'` ;;
14666 * ) ac_file_in
=$ac_file.
in ;;
14669 # Compute @srcdir@, @top_srcdir@, and @INSTALL@ for subdirectories.
14670 ac_dir
=`(dirname "$ac_file") 2>/dev/null ||
14671 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
14672 X"$ac_file" : 'X\(//\)[^/]' \| \
14673 X"$ac_file" : 'X\(//\)$' \| \
14674 X"$ac_file" : 'X\(/\)' \| \
14675 . : '\(.\)' 2>/dev/null ||
14677 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
14678 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
14679 /^X\(\/\/\)$/{ s//\1/; q; }
14680 /^X\(\/\).*/{ s//\1/; q; }
14682 { if $as_mkdir_p; then
14687 while test ! -d "$as_dir"; do
14688 as_dirs
="$as_dir $as_dirs"
14689 as_dir
=`(dirname "$as_dir") 2>/dev/null ||
14690 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
14691 X"$as_dir" : 'X\(//\)[^/]' \| \
14692 X"$as_dir" : 'X\(//\)$' \| \
14693 X"$as_dir" : 'X\(/\)' \| \
14694 . : '\(.\)' 2>/dev/null ||
14696 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
14697 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
14698 /^X\(\/\/\)$/{ s//\1/; q; }
14699 /^X\(\/\).*/{ s//\1/; q; }
14702 test ! -n "$as_dirs" || mkdir
$as_dirs
14703 fi ||
{ { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
14704 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
14705 { (exit 1); exit 1; }; }; }
14709 if test "$ac_dir" != .
; then
14710 ac_dir_suffix
=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
14711 # A "../" for each directory in $ac_dir_suffix.
14712 ac_top_builddir
=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
14714 ac_dir_suffix
= ac_top_builddir
=
14718 .
) # No --srcdir option. We are building in place.
14720 if test -z "$ac_top_builddir"; then
14723 ac_top_srcdir
=`echo $ac_top_builddir | sed 's,/$,,'`
14725 [\\/]* | ?
:[\\/]* ) # Absolute path.
14726 ac_srcdir
=$srcdir$ac_dir_suffix;
14727 ac_top_srcdir
=$srcdir ;;
14728 *) # Relative path.
14729 ac_srcdir
=$ac_top_builddir$srcdir$ac_dir_suffix
14730 ac_top_srcdir
=$ac_top_builddir$srcdir ;;
14733 # Do not use `cd foo && pwd` to compute absolute paths, because
14734 # the directories may not exist.
14736 .
) ac_abs_builddir
="$ac_dir";;
14739 .
) ac_abs_builddir
=`pwd`;;
14740 [\\/]* | ?
:[\\/]* ) ac_abs_builddir
="$ac_dir";;
14741 *) ac_abs_builddir
=`pwd`/"$ac_dir";;
14744 case $ac_abs_builddir in
14745 .
) ac_abs_top_builddir
=${ac_top_builddir}.
;;
14747 case ${ac_top_builddir}.
in
14748 .
) ac_abs_top_builddir
=$ac_abs_builddir;;
14749 [\\/]* | ?
:[\\/]* ) ac_abs_top_builddir
=${ac_top_builddir}.
;;
14750 *) ac_abs_top_builddir
=$ac_abs_builddir/${ac_top_builddir}.
;;
14753 case $ac_abs_builddir in
14754 .
) ac_abs_srcdir
=$ac_srcdir;;
14757 .
) ac_abs_srcdir
=$ac_abs_builddir;;
14758 [\\/]* | ?
:[\\/]* ) ac_abs_srcdir
=$ac_srcdir;;
14759 *) ac_abs_srcdir
=$ac_abs_builddir/$ac_srcdir;;
14762 case $ac_abs_builddir in
14763 .
) ac_abs_top_srcdir
=$ac_top_srcdir;;
14765 case $ac_top_srcdir in
14766 .
) ac_abs_top_srcdir
=$ac_abs_builddir;;
14767 [\\/]* | ?
:[\\/]* ) ac_abs_top_srcdir
=$ac_top_srcdir;;
14768 *) ac_abs_top_srcdir
=$ac_abs_builddir/$ac_top_srcdir;;
14774 [\\/$
]* | ?
:[\\/]* ) ac_INSTALL
=$INSTALL ;;
14775 *) ac_INSTALL
=$ac_top_builddir$INSTALL ;;
14778 if test x
"$ac_file" != x-
; then
14779 { echo "$as_me:$LINENO: creating $ac_file" >&5
14780 echo "$as_me: creating $ac_file" >&6;}
14783 # Let's still pretend it is `configure' which instantiates (i.e., don't
14784 # use $as_me), people would be surprised to read:
14785 # /* config.h. Generated by config.status. */
14786 if test x
"$ac_file" = x-
; then
14789 configure_input
="$ac_file. "
14791 configure_input
=$configure_input"Generated from `echo $ac_file_in |
14792 sed 's,.*/,,'` by configure."
14794 # First look for the input files in the build tree, otherwise in the
14796 ac_file_inputs
=`IFS=:
14797 for f in $ac_file_in; do
14799 -) echo $tmp/stdin ;;
14801 # Absolute (can't be DOS-style, as IFS=:)
14802 test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
14803 echo "$as_me: error: cannot find input file: $f" >&2;}
14804 { (exit 1); exit 1; }; }
14807 if test -f "$f"; then
14810 elif test -f "$srcdir/$f"; then
14815 { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
14816 echo "$as_me: error: cannot find input file: $f" >&2;}
14817 { (exit 1); exit 1; }; }
14820 done` ||
{ (exit 1); exit 1; }
14822 cat >>$CONFIG_STATUS <<_ACEOF
14826 cat >>$CONFIG_STATUS <<\_ACEOF
14828 /@
[a-zA-Z_
][a-zA-Z_0-9
]*@
/!b
14829 s
,@configure_input@
,$configure_input,;t t
14830 s
,@srcdir@
,$ac_srcdir,;t t
14831 s
,@abs_srcdir@
,$ac_abs_srcdir,;t t
14832 s
,@top_srcdir@
,$ac_top_srcdir,;t t
14833 s
,@abs_top_srcdir@
,$ac_abs_top_srcdir,;t t
14834 s
,@builddir@
,$ac_builddir,;t t
14835 s
,@abs_builddir@
,$ac_abs_builddir,;t t
14836 s
,@top_builddir@
,$ac_top_builddir,;t t
14837 s
,@abs_top_builddir@
,$ac_abs_top_builddir,;t t
14838 s
,@INSTALL@
,$ac_INSTALL,;t t
14839 " $ac_file_inputs | (eval "$ac_sed_cmds") >$tmp/out
14841 if test x"$ac_file" != x-; then
14842 mv $tmp/out $ac_file
14850 cat >>$CONFIG_STATUS <<\_ACEOF
14853 # CONFIG_HEADER section.
14856 # These sed commands are passed to sed as "A NAME B NAME C VALUE D
", where
14857 # NAME is the cpp macro being defined and VALUE is the value it is being given.
14859 # ac_d sets the value in "#define NAME VALUE" lines.
14860 ac_dA
='s,^\([ ]*\)#\([ ]*define[ ][ ]*\)'
14861 ac_dB
='[ ].*$,\1#\2'
14864 # ac_u turns "#undef NAME" without trailing blanks into "#define NAME VALUE".
14865 ac_uA
='s,^\([ ]*\)#\([ ]*\)undef\([ ][ ]*\)'
14866 ac_uB
='$,\1#\2define\3'
14870 for ac_file
in : $CONFIG_HEADERS; do test "x$ac_file" = x
: && continue
14871 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
14873 - |
*:- |
*:-:* ) # input from stdin
14875 ac_file_in
=`echo "$ac_file" | sed 's,[^:]*:,,'`
14876 ac_file
=`echo "$ac_file" | sed 's,:.*,,'` ;;
14877 *:* ) ac_file_in
=`echo "$ac_file" | sed 's,[^:]*:,,'`
14878 ac_file
=`echo "$ac_file" | sed 's,:.*,,'` ;;
14879 * ) ac_file_in
=$ac_file.
in ;;
14882 test x
"$ac_file" != x-
&& { echo "$as_me:$LINENO: creating $ac_file" >&5
14883 echo "$as_me: creating $ac_file" >&6;}
14885 # First look for the input files in the build tree, otherwise in the
14887 ac_file_inputs
=`IFS=:
14888 for f in $ac_file_in; do
14890 -) echo $tmp/stdin ;;
14892 # Absolute (can't be DOS-style, as IFS=:)
14893 test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
14894 echo "$as_me: error: cannot find input file: $f" >&2;}
14895 { (exit 1); exit 1; }; }
14896 # Do quote $f, to prevent DOS paths from being IFS'd.
14899 if test -f "$f"; then
14902 elif test -f "$srcdir/$f"; then
14907 { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
14908 echo "$as_me: error: cannot find input file: $f" >&2;}
14909 { (exit 1); exit 1; }; }
14912 done` ||
{ (exit 1); exit 1; }
14913 # Remove the trailing spaces.
14914 sed 's/[ ]*$//' $ac_file_inputs >$tmp/in
14918 # Transform confdefs.h into two sed scripts, `conftest.defines' and
14919 # `conftest.undefs', that substitutes the proper values into
14920 # config.h.in to produce config.h. The first handles `#define'
14921 # templates, and the second `#undef' templates.
14922 # And first: Protect against being on the right side of a sed subst in
14923 # config.status. Protect against being in an unquoted here document
14924 # in config.status.
14925 rm -f conftest.defines conftest.undefs
14926 # Using a here document instead of a string reduces the quoting nightmare.
14927 # Putting comments in sed scripts is not portable.
14929 # `end' is used to avoid that the second main sed command (meant for
14930 # 0-ary CPP macros) applies to n-ary macro definitions.
14931 # See the Autoconf documentation for `clear'.
14932 cat >confdef2sed.
sed <<\_ACEOF
14937 s,^[ ]*#[ ]*define[ ][ ]*\([^ (][^ (]*\)\(([^)]*)\)[ ]*\(.*\)$,${ac_dA}\1${ac_dB}\1\2${ac_dC}\3${ac_dD},gp
14939 s,^[ ]*#[ ]*define[ ][ ]*\([^ ][^ ]*\)[ ]*\(.*\)$,${ac_dA}\1${ac_dB}\1${ac_dC}\2${ac_dD},gp
14942 # If some macros were called several times there might be several times
14943 # the same #defines, which is useless. Nevertheless, we may not want to
14944 # sort them, since we want the *last* AC-DEFINE to be honored.
14945 uniq confdefs.h | sed -n -f confdef2sed.sed >conftest.defines
14946 sed 's/ac_d/ac_u/g' conftest.defines >conftest.undefs
14947 rm -f confdef2sed.sed
14949 # This sed command replaces #undef with comments. This is necessary, for
14950 # example, in the case of _POSIX_SOURCE, which is predefined and required
14951 # on some systems where configure will not decide to define it.
14952 cat >>conftest.undefs <<\_ACEOF
14953 s,^[ ]*#[ ]*undef[ ][ ]*[a-zA-Z_][a-zA-Z_0-9]*,/* & */,
14956 # Break up conftest.defines because some shells have a limit on the size
14957 # of here documents, and old seds have small limits too (100 cmds).
14958 echo ' # Handle all the #define templates only if necessary.' >>$CONFIG_STATUS
14959 echo ' if grep "^[ ]*#[ ]*define" $tmp/in >/dev/null; then' >>$CONFIG_STATUS
14960 echo ' # If there are no defines, we may have an empty if/fi' >>$CONFIG_STATUS
14961 echo ' :' >>$CONFIG_STATUS
14962 rm -f conftest.tail
14963 while grep . conftest.defines >/dev/null
14965 # Write a limited-size here document to $tmp/defines.sed.
14966 echo ' cat >$tmp/defines.sed <<CEOF' >>$CONFIG_STATUS
14967 # Speed up: don't consider the non `#define' lines.
14968 echo '/^[ ]*#[ ]*define/!b' >>$CONFIG_STATUS
14969 # Work around the forget-to-reset-the-flag bug.
14970 echo 't clr' >>$CONFIG_STATUS
14971 echo ': clr' >>$CONFIG_STATUS
14972 sed ${ac_max_here_lines}q conftest.defines
>>$CONFIG_STATUS
14974 sed -f $tmp/defines.sed $tmp/in >$tmp/out
14976 mv $tmp/out $tmp/in
14978 sed 1,${ac_max_here_lines}d conftest.defines
>conftest.
tail
14979 rm -f conftest.defines
14980 mv conftest.
tail conftest.defines
14982 rm -f conftest.defines
14983 echo ' fi # grep' >>$CONFIG_STATUS
14984 echo >>$CONFIG_STATUS
14986 # Break up conftest.undefs because some shells have a limit on the size
14987 # of here documents, and old seds have small limits too (100 cmds).
14988 echo ' # Handle all the #undef templates' >>$CONFIG_STATUS
14989 rm -f conftest.
tail
14990 while grep . conftest.undefs
>/dev
/null
14992 # Write a limited-size here document to $tmp/undefs.sed.
14993 echo ' cat >$tmp/undefs.sed <<CEOF' >>$CONFIG_STATUS
14994 # Speed up: don't consider the non
`#undef'
14995 echo '/^[ ]*#[ ]*undef/!b' >>$CONFIG_STATUS
14996 # Work around the forget-to-reset-the-flag bug.
14997 echo 't clr' >>$CONFIG_STATUS
14998 echo ': clr' >>$CONFIG_STATUS
14999 sed ${ac_max_here_lines}q conftest.undefs >>$CONFIG_STATUS
15001 sed -f $tmp/undefs.sed $tmp/in >$tmp/out
15003 mv $tmp/out $tmp/in
15005 sed 1,${ac_max_here_lines}d conftest.undefs >conftest.tail
15006 rm -f conftest.undefs
15007 mv conftest.tail conftest.undefs
15009 rm -f conftest.undefs
15011 cat >>$CONFIG_STATUS <<\_ACEOF
15012 # Let's still pretend it is `configure
' which instantiates (i.e., don't
15013 # use $as_me), people would be surprised to read:
15014 # /* config.h. Generated by config.status. */
15015 if test x
"$ac_file" = x-
; then
15016 echo "/* Generated by configure. */" >$tmp/config.h
15018 echo "/* $ac_file. Generated by configure. */" >$tmp/config.h
15020 cat $tmp/in >>$tmp/config.h
15022 if test x
"$ac_file" != x-
; then
15023 if diff $ac_file $tmp/config.h
>/dev
/null
2>&1; then
15024 { echo "$as_me:$LINENO: $ac_file is unchanged" >&5
15025 echo "$as_me: $ac_file is unchanged" >&6;}
15027 ac_dir
=`(dirname "$ac_file") 2>/dev/null ||
15028 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
15029 X"$ac_file" : 'X\(//\)[^/]' \| \
15030 X"$ac_file" : 'X\(//\)$' \| \
15031 X"$ac_file" : 'X\(/\)' \| \
15032 . : '\(.\)' 2>/dev/null ||
15034 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
15035 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
15036 /^X\(\/\/\)$/{ s//\1/; q; }
15037 /^X\(\/\).*/{ s//\1/; q; }
15039 { if $as_mkdir_p; then
15044 while test ! -d "$as_dir"; do
15045 as_dirs
="$as_dir $as_dirs"
15046 as_dir
=`(dirname "$as_dir") 2>/dev/null ||
15047 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
15048 X"$as_dir" : 'X\(//\)[^/]' \| \
15049 X"$as_dir" : 'X\(//\)$' \| \
15050 X"$as_dir" : 'X\(/\)' \| \
15051 . : '\(.\)' 2>/dev/null ||
15053 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
15054 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
15055 /^X\(\/\/\)$/{ s//\1/; q; }
15056 /^X\(\/\).*/{ s//\1/; q; }
15059 test ! -n "$as_dirs" || mkdir
$as_dirs
15060 fi ||
{ { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
15061 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
15062 { (exit 1); exit 1; }; }; }
15065 mv $tmp/config.h
$ac_file
15069 rm -f $tmp/config.h
15071 # Compute $ac_file's index in $config_headers.
15073 for _am_header
in $config_headers :; do
15074 case $_am_header in
15075 $ac_file |
$ac_file:* )
15078 _am_stamp_count
=`expr $_am_stamp_count + 1` ;;
15081 echo "timestamp for $ac_file" >`(dirname $ac_file) 2>/dev/null ||
15082 $as_expr X$ac_file : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
15083 X$ac_file : 'X\(//\)[^/]' \| \
15084 X$ac_file : 'X\(//\)$' \| \
15085 X$ac_file : 'X\(/\)' \| \
15086 . : '\(.\)' 2>/dev/null ||
15088 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
15089 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
15090 /^X\(\/\/\)$/{ s//\1/; q; }
15091 /^X\(\/\).*/{ s//\1/; q; }
15092 s/.*/./; q'`/stamp-h
$_am_stamp_count
15095 cat >>$CONFIG_STATUS <<\_ACEOF
15098 # CONFIG_LINKS section.
15101 for ac_file
in : $CONFIG_LINKS; do test "x$ac_file" = x
: && continue
15102 ac_dest
=`echo "$ac_file" | sed 's,:.*,,'`
15103 ac_source
=`echo "$ac_file" | sed 's,[^:]*:,,'`
15105 { echo "$as_me:$LINENO: linking $srcdir/$ac_source to $ac_dest" >&5
15106 echo "$as_me: linking $srcdir/$ac_source to $ac_dest" >&6;}
15108 if test ! -r $srcdir/$ac_source; then
15109 { { echo "$as_me:$LINENO: error: $srcdir/$ac_source: file not found" >&5
15110 echo "$as_me: error: $srcdir/$ac_source: file not found" >&2;}
15111 { (exit 1); exit 1; }; }
15115 # Make relative symlinks.
15116 ac_dest_dir
=`(dirname "$ac_dest") 2>/dev/null ||
15117 $as_expr X"$ac_dest" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
15118 X"$ac_dest" : 'X\(//\)[^/]' \| \
15119 X"$ac_dest" : 'X\(//\)$' \| \
15120 X"$ac_dest" : 'X\(/\)' \| \
15121 . : '\(.\)' 2>/dev/null ||
15123 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
15124 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
15125 /^X\(\/\/\)$/{ s//\1/; q; }
15126 /^X\(\/\).*/{ s//\1/; q; }
15128 { if $as_mkdir_p; then
15129 mkdir
-p "$ac_dest_dir"
15131 as_dir
="$ac_dest_dir"
15133 while test ! -d "$as_dir"; do
15134 as_dirs
="$as_dir $as_dirs"
15135 as_dir
=`(dirname "$as_dir") 2>/dev/null ||
15136 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
15137 X"$as_dir" : 'X\(//\)[^/]' \| \
15138 X"$as_dir" : 'X\(//\)$' \| \
15139 X"$as_dir" : 'X\(/\)' \| \
15140 . : '\(.\)' 2>/dev/null ||
15142 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
15143 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
15144 /^X\(\/\/\)$/{ s//\1/; q; }
15145 /^X\(\/\).*/{ s//\1/; q; }
15148 test ! -n "$as_dirs" || mkdir
$as_dirs
15149 fi ||
{ { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dest_dir\"" >&5
15150 echo "$as_me: error: cannot create directory \"$ac_dest_dir\"" >&2;}
15151 { (exit 1); exit 1; }; }; }
15155 if test "$ac_dest_dir" != .
; then
15156 ac_dir_suffix
=/`echo "$ac_dest_dir" | sed 's,^\.[\\/],,'`
15157 # A "../" for each directory in $ac_dir_suffix.
15158 ac_top_builddir
=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
15160 ac_dir_suffix
= ac_top_builddir
=
15164 .
) # No --srcdir option. We are building in place.
15166 if test -z "$ac_top_builddir"; then
15169 ac_top_srcdir
=`echo $ac_top_builddir | sed 's,/$,,'`
15171 [\\/]* | ?
:[\\/]* ) # Absolute path.
15172 ac_srcdir
=$srcdir$ac_dir_suffix;
15173 ac_top_srcdir
=$srcdir ;;
15174 *) # Relative path.
15175 ac_srcdir
=$ac_top_builddir$srcdir$ac_dir_suffix
15176 ac_top_srcdir
=$ac_top_builddir$srcdir ;;
15179 # Do not use `cd foo && pwd` to compute absolute paths, because
15180 # the directories may not exist.
15182 .
) ac_abs_builddir
="$ac_dest_dir";;
15184 case "$ac_dest_dir" in
15185 .
) ac_abs_builddir
=`pwd`;;
15186 [\\/]* | ?
:[\\/]* ) ac_abs_builddir
="$ac_dest_dir";;
15187 *) ac_abs_builddir
=`pwd`/"$ac_dest_dir";;
15190 case $ac_abs_builddir in
15191 .
) ac_abs_top_builddir
=${ac_top_builddir}.
;;
15193 case ${ac_top_builddir}.
in
15194 .
) ac_abs_top_builddir
=$ac_abs_builddir;;
15195 [\\/]* | ?
:[\\/]* ) ac_abs_top_builddir
=${ac_top_builddir}.
;;
15196 *) ac_abs_top_builddir
=$ac_abs_builddir/${ac_top_builddir}.
;;
15199 case $ac_abs_builddir in
15200 .
) ac_abs_srcdir
=$ac_srcdir;;
15203 .
) ac_abs_srcdir
=$ac_abs_builddir;;
15204 [\\/]* | ?
:[\\/]* ) ac_abs_srcdir
=$ac_srcdir;;
15205 *) ac_abs_srcdir
=$ac_abs_builddir/$ac_srcdir;;
15208 case $ac_abs_builddir in
15209 .
) ac_abs_top_srcdir
=$ac_top_srcdir;;
15211 case $ac_top_srcdir in
15212 .
) ac_abs_top_srcdir
=$ac_abs_builddir;;
15213 [\\/]* | ?
:[\\/]* ) ac_abs_top_srcdir
=$ac_top_srcdir;;
15214 *) ac_abs_top_srcdir
=$ac_abs_builddir/$ac_top_srcdir;;
15220 [\\/$
]* | ?
:[\\/]* ) ac_rel_source
=$srcdir/$ac_source ;;
15221 *) ac_rel_source
=$ac_top_builddir$srcdir/$ac_source ;;
15224 # Try a symlink, then a hard link, then a copy.
15225 ln -s $ac_rel_source $ac_dest 2>/dev
/null ||
15226 ln $srcdir/$ac_source $ac_dest 2>/dev
/null ||
15227 cp -p $srcdir/$ac_source $ac_dest ||
15228 { { echo "$as_me:$LINENO: error: cannot link or copy $srcdir/$ac_source to $ac_dest" >&5
15229 echo "$as_me: error: cannot link or copy $srcdir/$ac_source to $ac_dest" >&2;}
15230 { (exit 1); exit 1; }; }
15233 cat >>$CONFIG_STATUS <<\_ACEOF
15236 # CONFIG_COMMANDS section.
15238 for ac_file
in : $CONFIG_COMMANDS; do test "x$ac_file" = x
: && continue
15239 ac_dest
=`echo "$ac_file" | sed 's,:.*,,'`
15240 ac_source
=`echo "$ac_file" | sed 's,[^:]*:,,'`
15241 ac_dir
=`(dirname "$ac_dest") 2>/dev/null ||
15242 $as_expr X"$ac_dest" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
15243 X"$ac_dest" : 'X\(//\)[^/]' \| \
15244 X"$ac_dest" : 'X\(//\)$' \| \
15245 X"$ac_dest" : 'X\(/\)' \| \
15246 . : '\(.\)' 2>/dev/null ||
15248 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
15249 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
15250 /^X\(\/\/\)$/{ s//\1/; q; }
15251 /^X\(\/\).*/{ s//\1/; q; }
15253 { if $as_mkdir_p; then
15258 while test ! -d "$as_dir"; do
15259 as_dirs
="$as_dir $as_dirs"
15260 as_dir
=`(dirname "$as_dir") 2>/dev/null ||
15261 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
15262 X"$as_dir" : 'X\(//\)[^/]' \| \
15263 X"$as_dir" : 'X\(//\)$' \| \
15264 X"$as_dir" : 'X\(/\)' \| \
15265 . : '\(.\)' 2>/dev/null ||
15267 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
15268 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
15269 /^X\(\/\/\)$/{ s//\1/; q; }
15270 /^X\(\/\).*/{ s//\1/; q; }
15273 test ! -n "$as_dirs" || mkdir
$as_dirs
15274 fi ||
{ { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
15275 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
15276 { (exit 1); exit 1; }; }; }
15280 if test "$ac_dir" != .
; then
15281 ac_dir_suffix
=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
15282 # A "../" for each directory in $ac_dir_suffix.
15283 ac_top_builddir
=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
15285 ac_dir_suffix
= ac_top_builddir
=
15289 .
) # No --srcdir option. We are building in place.
15291 if test -z "$ac_top_builddir"; then
15294 ac_top_srcdir
=`echo $ac_top_builddir | sed 's,/$,,'`
15296 [\\/]* | ?
:[\\/]* ) # Absolute path.
15297 ac_srcdir
=$srcdir$ac_dir_suffix;
15298 ac_top_srcdir
=$srcdir ;;
15299 *) # Relative path.
15300 ac_srcdir
=$ac_top_builddir$srcdir$ac_dir_suffix
15301 ac_top_srcdir
=$ac_top_builddir$srcdir ;;
15304 # Do not use `cd foo && pwd` to compute absolute paths, because
15305 # the directories may not exist.
15307 .
) ac_abs_builddir
="$ac_dir";;
15310 .
) ac_abs_builddir
=`pwd`;;
15311 [\\/]* | ?
:[\\/]* ) ac_abs_builddir
="$ac_dir";;
15312 *) ac_abs_builddir
=`pwd`/"$ac_dir";;
15315 case $ac_abs_builddir in
15316 .
) ac_abs_top_builddir
=${ac_top_builddir}.
;;
15318 case ${ac_top_builddir}.
in
15319 .
) ac_abs_top_builddir
=$ac_abs_builddir;;
15320 [\\/]* | ?
:[\\/]* ) ac_abs_top_builddir
=${ac_top_builddir}.
;;
15321 *) ac_abs_top_builddir
=$ac_abs_builddir/${ac_top_builddir}.
;;
15324 case $ac_abs_builddir in
15325 .
) ac_abs_srcdir
=$ac_srcdir;;
15328 .
) ac_abs_srcdir
=$ac_abs_builddir;;
15329 [\\/]* | ?
:[\\/]* ) ac_abs_srcdir
=$ac_srcdir;;
15330 *) ac_abs_srcdir
=$ac_abs_builddir/$ac_srcdir;;
15333 case $ac_abs_builddir in
15334 .
) ac_abs_top_srcdir
=$ac_top_srcdir;;
15336 case $ac_top_srcdir in
15337 .
) ac_abs_top_srcdir
=$ac_abs_builddir;;
15338 [\\/]* | ?
:[\\/]* ) ac_abs_top_srcdir
=$ac_top_srcdir;;
15339 *) ac_abs_top_srcdir
=$ac_abs_builddir/$ac_top_srcdir;;
15344 { echo "$as_me:$LINENO: executing $ac_dest commands" >&5
15345 echo "$as_me: executing $ac_dest commands" >&6;}
15347 depfiles
) test x
"$AMDEP_TRUE" != x
"" ||
for mf
in $CONFIG_FILES; do
15348 # Strip MF so we end up with the name of the file.
15349 mf
=`echo "$mf" | sed -e 's/:.*$//'`
15350 # Check whether this is an Automake generated Makefile or not.
15351 # We used to match only the files named `Makefile.in', but
15352 # some people rename them; so instead we look at the file content.
15353 # Grep'ing the first line is not enough: some people post-process
15354 # each Makefile.in and add a new line on top of each file to say so.
15355 # So let's grep whole file.
15356 if grep '^#.*generated by automake' $mf > /dev
/null
2>&1; then
15357 dirpart
=`(dirname "$mf") 2>/dev/null ||
15358 $as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
15359 X"$mf" : 'X\(//\)[^/]' \| \
15360 X"$mf" : 'X\(//\)$' \| \
15361 X"$mf" : 'X\(/\)' \| \
15362 . : '\(.\)' 2>/dev/null ||
15364 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
15365 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
15366 /^X\(\/\/\)$/{ s//\1/; q; }
15367 /^X\(\/\).*/{ s//\1/; q; }
15372 # Extract the definition of DEPDIR, am__include, and am__quote
15373 # from the Makefile without running `make'.
15374 DEPDIR
=`sed -n 's/^DEPDIR = //p' < "$mf"`
15375 test -z "$DEPDIR" && continue
15376 am__include
=`sed -n 's/^am__include = //p' < "$mf"`
15377 test -z "am__include" && continue
15378 am__quote
=`sed -n 's/^am__quote = //p' < "$mf"`
15379 # When using ansi2knr, U may be empty or an underscore; expand it
15380 U
=`sed -n 's/^U = //p' < "$mf"`
15381 # Find all dependency output files, they are included files with
15382 # $(DEPDIR) in their names. We invoke sed twice because it is the
15383 # simplest approach to changing $(DEPDIR) to its actual value in the
15385 for file in `sed -n "
15386 s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
15387 sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do
15388 # Make sure the directory exists.
15389 test -f "$dirpart/$file" && continue
15390 fdir
=`(dirname "$file") 2>/dev/null ||
15391 $as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
15392 X"$file" : 'X\(//\)[^/]' \| \
15393 X"$file" : 'X\(//\)$' \| \
15394 X"$file" : 'X\(/\)' \| \
15395 . : '\(.\)' 2>/dev/null ||
15397 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
15398 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
15399 /^X\(\/\/\)$/{ s//\1/; q; }
15400 /^X\(\/\).*/{ s//\1/; q; }
15402 { if $as_mkdir_p; then
15403 mkdir
-p $dirpart/$fdir
15405 as_dir
=$dirpart/$fdir
15407 while test ! -d "$as_dir"; do
15408 as_dirs
="$as_dir $as_dirs"
15409 as_dir
=`(dirname "$as_dir") 2>/dev/null ||
15410 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
15411 X"$as_dir" : 'X\(//\)[^/]' \| \
15412 X"$as_dir" : 'X\(//\)$' \| \
15413 X"$as_dir" : 'X\(/\)' \| \
15414 . : '\(.\)' 2>/dev/null ||
15416 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
15417 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
15418 /^X\(\/\/\)$/{ s//\1/; q; }
15419 /^X\(\/\).*/{ s//\1/; q; }
15422 test ! -n "$as_dirs" || mkdir
$as_dirs
15423 fi ||
{ { echo "$as_me:$LINENO: error: cannot create directory $dirpart/$fdir" >&5
15424 echo "$as_me: error: cannot create directory $dirpart/$fdir" >&2;}
15425 { (exit 1); exit 1; }; }; }
15427 # echo "creating $dirpart/$file"
15428 echo '# dummy' > "$dirpart/$file"
15432 gen-classlist
) chmod 755 lib
/gen-classlist.sh
;;
15437 cat >>$CONFIG_STATUS <<\_ACEOF
15439 { (exit 0); exit 0; }
15441 chmod +x
$CONFIG_STATUS
15442 ac_clean_files
=$ac_clean_files_save
15445 # configure is writing to config.log, and then calls config.status.
15446 # config.status does its own redirection, appending to config.log.
15447 # Unfortunately, on DOS this fails, as config.log is still kept open
15448 # by configure, so config.status won't be able to write to it; its
15449 # output is simply discarded. So we exec the FD to /dev/null,
15450 # effectively closing config.log, so it can be properly (re)opened and
15451 # appended to by config.status. When coming back to configure, we
15452 # need to make the FD available again.
15453 if test "$no_create" != yes; then
15455 ac_config_status_args
=
15456 test "$silent" = yes &&
15457 ac_config_status_args
="$ac_config_status_args --quiet"
15459 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success
=false
15461 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
15462 # would make configure fail if this is the last instruction.
15463 $ac_cs_success ||
{ (exit 1); exit 1; }